Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Feb 12, 2024. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
47 commits
Select commit Hold shift + click to select a range
582be49
feat: store pins in datastore instead of a DAG
achingbrain Mar 3, 2020
b65c94b
chore: revert update of ipfs-repo in mfs dev deps
achingbrain Mar 4, 2020
a8e1a06
chore: fix interop tests
achingbrain Mar 5, 2020
6ff3a10
chore: dedupe pinning tests
achingbrain Mar 5, 2020
e9ab233
chore: fix up http tests
achingbrain Mar 5, 2020
68345b2
feat: new api
achingbrain Mar 6, 2020
1d304db
fix: handle invalid paths in http routes
achingbrain Mar 6, 2020
8aeb819
chore: fix up tests
achingbrain Mar 6, 2020
ab70c18
chore: responding to pr comments
achingbrain Mar 10, 2020
1185cb9
chore: responding to pr comments
achingbrain Mar 10, 2020
d213521
Merge remote-tracking branch 'origin/master' into refactor/store-pins…
achingbrain Jun 30, 2020
591b7f2
chore: fix tests
achingbrain Jun 30, 2020
b534a61
Merge remote-tracking branch 'origin/master' into refactor/store-pins…
achingbrain Jul 2, 2020
96399fd
chore: fix tests
achingbrain Jul 3, 2020
af90886
Merge remote-tracking branch 'origin/master' into refactor/store-pins…
achingbrain Jul 21, 2020
d89a330
chore: split pin.add and pin.rm into pin.addAll and pin.rmAll
achingbrain Jul 21, 2020
b8a2640
chore: fix tests
achingbrain Jul 21, 2020
00e3671
chore: fix more tests
achingbrain Jul 21, 2020
c98b50c
chore: make depth infinity for recursive pins
achingbrain Jul 21, 2020
d4f3796
chore: keep multihash prefix for key
achingbrain Jul 21, 2020
692664d
chore: correct multihash
achingbrain Jul 21, 2020
2864906
Merge remote-tracking branch 'origin/master' into refactor/store-pins…
achingbrain Aug 5, 2020
94204f8
chore: updating deps
achingbrain Aug 10, 2020
ea82cf9
chore: update deps
achingbrain Aug 11, 2020
8a1d959
Merge remote-tracking branch 'origin/master' into refactor/store-pins…
achingbrain Aug 12, 2020
e8c2543
chore: replace node buffers with uint8arrays
achingbrain Aug 14, 2020
0d3a1a1
chore: add missing dep
achingbrain Aug 15, 2020
aa591c7
chore: add missing deps
achingbrain Aug 15, 2020
86bcd70
chore: fix up normalisation tests
achingbrain Aug 15, 2020
cdd80ef
chore: fix typo
achingbrain Aug 15, 2020
bfc74d6
chore: fix failing test
achingbrain Aug 15, 2020
173905f
chore: fix pubsub tests
achingbrain Aug 15, 2020
d072a40
chore: remove unused dep
achingbrain Aug 15, 2020
5879a49
chore: fix failing test
achingbrain Aug 15, 2020
caf8ba5
chore: use base64pad and print migration progress
achingbrain Aug 15, 2020
50ad0f2
chore: fix object data
achingbrain Aug 15, 2020
903e2cf
chore: fix base string
achingbrain Aug 15, 2020
ba5c29b
chore: fix failing tests
achingbrain Aug 16, 2020
5ad0906
chore: fix up examples
achingbrain Aug 16, 2020
a73ec06
chore: fix circuit relay test
achingbrain Aug 16, 2020
a069f4c
chore: ignore invalid messages
achingbrain Aug 17, 2020
b2a73f7
chore: update ipfs-utils version
achingbrain Aug 24, 2020
27d1866
chore: update dep versions
achingbrain Aug 24, 2020
ce097df
Merge remote-tracking branch 'origin/master' into refactor/store-pins…
achingbrain Aug 24, 2020
6efcc3a
chore: stringify ipns record properly
achingbrain Aug 24, 2020
2cff1c8
chore: update dep version
achingbrain Aug 24, 2020
8914194
Merge remote-tracking branch 'origin/master' into refactor/store-pins…
achingbrain Aug 24, 2020
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
Prev Previous commit
Next Next commit
chore: fix failing tests
  • Loading branch information
achingbrain committed Aug 16, 2020
commit ba5c29bd03d3d5f0c13ba7de36119d2af8660dd4
4 changes: 2 additions & 2 deletions examples/browser-exchange-files/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@
"browserify": "^16.2.3",
"execa": "^4.0.0",
"http-server": "^0.11.1",
"ipfs-http-client": "^46.0.0"
"ipfs-http-client": "^46.0.0",
"uint8arrays": "^1.1.0"
},
"dependencies": {
"ipfs": "^0.49.0",
"it-all": "^1.0.1",
"it-last": "^1.0.1",
"test-ipfs-example": "^2.0.3"
},
"browser": {
Expand Down
1 change: 1 addition & 0 deletions examples/browser-exchange-files/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ const {
} = require('test-ipfs-example/utils')
const pkg = require('./package.json')
const webRTCStarSigServer = require('libp2p-webrtc-star/src/sig-server')
const uint8ArrayToString = require('uint8arrays/to-string')

const FILE_CONTENT = 'A file with some content'

Expand Down
1 change: 1 addition & 0 deletions examples/ipfs-101/1.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
const IPFS = require('ipfs')
const all = require('it-all')
const uint8ArrayConcat = require('uint8arrays/concat')
const uint8ArrayFromString = require('uint8arrays/from-string')

async function main () {
const node = await IPFS.create()
Expand Down
3 changes: 2 additions & 1 deletion examples/ipfs-101/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
"license": "MIT",
"dependencies": {
"ipfs": "^0.49.0",
"it-all": "^1.0.1"
"it-all": "^1.0.1",
"uint8arrays": "^1.1.0"
},
"devDependencies": {
"test-ipfs-example": "^2.0.3"
Expand Down
3 changes: 2 additions & 1 deletion examples/test-ipfs-example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
"fs-extra": "^8.1.0",
"http-server": "^0.11.1",
"nightwatch": "^1.2.4",
"which": "^2.0.1"
"which": "^2.0.1",
"uint8arrays": "^1.1.0"
}
}
4 changes: 2 additions & 2 deletions packages/ipfs-core-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@
},
"license": "MIT",
"dependencies": {
"blob-to-it": "0.0.1",
"browser-readablestream-to-it": "0.0.1",
"blob-to-it": "0.0.2",
"browser-readablestream-to-it": "0.0.2",
"cids": "^1.0.0",
"err-code": "^2.0.0",
"ipfs-utils": "ipfs/js-ipfs-utils#revert-54-xhr",
Expand Down
2 changes: 1 addition & 1 deletion packages/ipfs-message-port-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"dep-check": "aegir dep-check"
},
"dependencies": {
"browser-readablestream-to-it": "0.0.1",
"browser-readablestream-to-it": "0.0.2",
"cids": "^1.0.0"
},
"devDependencies": {
Expand Down
2 changes: 2 additions & 0 deletions packages/ipfs-message-port-client/src/core.js
Original file line number Diff line number Diff line change
Expand Up @@ -367,6 +367,8 @@ const encodeFileContent = (content, transfer) => {
return content
} else if (content instanceof Blob) {
return content
} else if (typeof content === 'string') {
return content
} else {
const iterable = asIterable(content)
if (iterable) {
Expand Down
4 changes: 2 additions & 2 deletions packages/ipfs-message-port-client/test/interface.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ describe('interface-ipfs-core tests', () => {
reason: 'ipfs.object.get is not implemented'
},
{
name: 'should cat with a Buffer multihash',
reason: 'Passing CID as Buffer is not supported'
name: 'should cat with a Uint8Array multihash',
reason: 'Passing CID as Uint8Array is not supported'
},
{
name: 'should add from a HTTP URL',
Expand Down