Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: update uint8arrays #28

Merged
merged 1 commit into from
Aug 20, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions packages/interface-blockstore-tests/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,13 @@
},
"homepage": "https://github.com/ipfs/js-ipfs-interfaces/tree/master/packages/interface-blockstore-tests#readme",
"dependencies": {
"aegir": "^33.1.2",
"aegir": "^35.0.0",
"interface-blockstore": "^0.2.1",
"it-all": "^1.0.2",
"it-drain": "^1.0.1",
"it-length": "^1.0.2",
"multiformats": "^9.1.0",
"uint8arrays": "^2.1.5"
"uint8arrays": "^3.0.0"
},
"eslintConfig": {
"extends": "ipfs"
Expand Down
2 changes: 1 addition & 1 deletion packages/interface-blockstore-tests/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
const { expect } = require('aegir/utils/chai')
const all = require('it-all')
const drain = require('it-drain')
const uint8ArrayFromString = require('uint8arrays/from-string')
const { fromString: uint8ArrayFromString } = require('uint8arrays/from-string')
const { CID } = require('multiformats/cid')
const { sha256 } = require('multiformats/hashes/sha2')
const raw = require('multiformats/codecs/raw')
Expand Down
2 changes: 1 addition & 1 deletion packages/interface-blockstore/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,6 @@
"multiformats": "^9.0.4"
},
"devDependencies": {
"aegir": "^33.1.2"
"aegir": "^35.0.0"
}
}
4 changes: 2 additions & 2 deletions packages/interface-datastore-tests/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,12 @@
},
"homepage": "https://github.com/ipfs/js-ipfs-interfaces/tree/master/packages/interface-datastore-tests#readme",
"dependencies": {
"aegir": "^33.1.2",
"aegir": "^35.0.0",
"interface-datastore": "^5.1.1",
"iso-random-stream": "^2.0.0",
"it-all": "^1.0.2",
"it-drain": "^1.0.1",
"uint8arrays": "^2.1.5"
"uint8arrays": "^3.0.0"
},
"eslintConfig": {
"extends": "ipfs"
Expand Down
2 changes: 1 addition & 1 deletion packages/interface-datastore-tests/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const { randomBytes } = require('iso-random-stream')
const { expect } = require('aegir/utils/chai')
const all = require('it-all')
const drain = require('it-drain')
const uint8ArrayFromString = require('uint8arrays/from-string')
const { fromString: uint8ArrayFromString } = require('uint8arrays/from-string')
const { Key } = require('interface-datastore')

/**
Expand Down
7 changes: 4 additions & 3 deletions packages/interface-datastore/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,9 @@
},
"homepage": "https://github.com/ipfs/js-ipfs-interfaces/tree/master/packages/interface-datastore#readme",
"devDependencies": {
"aegir": "^33.1.2",
"it-map": "^1.0.5"
"aegir": "^35.0.0",
"it-map": "^1.0.5",
"util": "^0.12.4"
},
"dependencies": {
"err-code": "^3.0.1",
Expand All @@ -43,7 +44,7 @@
"it-filter": "^1.0.2",
"it-take": "^1.0.1",
"nanoid": "^3.0.2",
"uint8arrays": "^2.1.5"
"uint8arrays": "^3.0.0"
},
"eslintConfig": {
"extends": "ipfs"
Expand Down
4 changes: 2 additions & 2 deletions packages/interface-datastore/src/key.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

const { nanoid } = require('nanoid')

const uint8ArrayToString = require('uint8arrays/to-string')
const uint8ArrayFromString = require('uint8arrays/from-string')
const { toString: uint8ArrayToString } = require('uint8arrays/to-string')
const { fromString: uint8ArrayFromString } = require('uint8arrays/from-string')

const pathSepS = '/'
const pathSepB = new TextEncoder().encode(pathSepS)
Expand Down
2 changes: 1 addition & 1 deletion packages/interface-store/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@
"url": "git+https://github.com/ipfs/js-ipfs-interfaces.git"
},
"devDependencies": {
"aegir": "^33.1.2"
"aegir": "^35.0.0"
}
}