Skip to content
This repository was archived by the owner on Mar 23, 2023. It is now read-only.

Commit 5aa1202

Browse files
authored
chore: update deps (#69)
1 parent 929ab13 commit 5aa1202

File tree

3 files changed

+25
-8
lines changed

3 files changed

+25
-8
lines changed

.aegir.js

+17-5
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,22 @@
11
'use strict'
22

3+
const path = require('path')
4+
5+
/** @type {import('aegir').Options["build"]["config"]} */
6+
const esbuild = {
7+
inject: [path.join(__dirname, './scripts/node-globals.js')]
8+
}
9+
10+
/** @type {import('aegir').PartialOptions} */
311
module.exports = {
4-
webpack: {
5-
node: {
6-
// this is needed until level stops using node buffers in browser code
7-
Buffer: true
12+
build: {
13+
bundlesizeMax: '65KB'
14+
},
15+
test: {
16+
browser: {
17+
config: {
18+
buildConfig: esbuild
19+
}
820
}
921
}
10-
}
22+
}

package.json

+6-3
Original file line numberDiff line numberDiff line change
@@ -43,16 +43,19 @@
4343
"homepage": "https://github.com/ipfs/js-datastore-level#readme",
4444
"dependencies": {
4545
"datastore-core": "^3.0.0",
46-
"interface-datastore": "^3.0.3",
46+
"interface-datastore": "^3.0.6",
4747
"level": "^6.0.1"
4848
},
4949
"devDependencies": {
50-
"aegir": "^30.3.0",
50+
"aegir": "^33.1.0",
51+
"assert": "^2.0.0",
52+
"buffer": "^6.0.3",
5153
"chai": "^4.2.0",
5254
"cids": "^1.1.5",
5355
"dirty-chai": "^2.0.1",
5456
"level-mem": "^5.0.1",
55-
"rimraf": "^3.0.0"
57+
"rimraf": "^3.0.0",
58+
"util": "^0.12.3"
5659
},
5760
"eslintConfig": {
5861
"extends": "ipfs"

scripts/node-globals.js

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
// @ts-nocheck
2+
export const { Buffer } = require('buffer')

0 commit comments

Comments
 (0)