Skip to content
This repository has been archived by the owner on Feb 12, 2024. It is now read-only.

chore: update deps #2961

Merged
merged 4 commits into from
Mar 30, 2020
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
2 changes: 1 addition & 1 deletion examples/running-multiple-nodes/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const IPFS = require('ipfs')
const execa = require('execa')
const os = require('os')
const path = require('path')
const nanoid = require('nanoid')
const { nanoid } = require('nanoid')
const {
waitForOutput
} = require('test-ipfs-example/utils')
Expand Down
8 changes: 4 additions & 4 deletions packages/interface-ipfs-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"chai": "^4.2.0",
"chai-as-promised": "^7.1.1",
"chai-subset": "^1.6.0",
"cids": "^0.7.3",
"cids": "^0.8.0",
"delay": "^4.3.0",
"dirty-chai": "^2.0.1",
"ipfs-block": "^0.8.1",
Expand All @@ -48,16 +48,16 @@
"it-last": "^1.0.1",
"it-pushable": "^1.3.1",
"multiaddr": "^7.2.1",
"multibase": "^0.6.0",
"multibase": "^0.7.0",
"multihashes": "^0.4.14",
"multihashing-async": "^0.8.0",
"nanoid": "^2.1.11",
"nanoid": "^3.0.2",
"peer-id": "^0.13.5",
"readable-stream": "^3.4.0",
"temp-write": "^4.0.0"
},
"devDependencies": {
"aegir": "21.3.0",
"aegir": "21.4.5",
"ipfsd-ctl": "^3.0.0"
},
"contributors": [
Expand Down
2 changes: 1 addition & 1 deletion packages/interface-ipfs-core/src/block/rm.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
'use strict'

const { getDescribe, getIt, expect } = require('../utils/mocha')
const nanoid = require('nanoid')
const { nanoid } = require('nanoid')
const all = require('it-all')

/** @typedef { import("ipfsd-ctl/src/factory") } Factory */
Expand Down
2 changes: 1 addition & 1 deletion packages/interface-ipfs-core/src/dht/get.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* eslint-env mocha */
'use strict'

const nanoid = require('nanoid')
const { nanoid } = require('nanoid')
const { getDescribe, getIt, expect } = require('../utils/mocha')

/** @typedef { import("ipfsd-ctl/src/factory") } Factory */
Expand Down
2 changes: 1 addition & 1 deletion packages/interface-ipfs-core/src/files/chmod.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* eslint-env mocha */
'use strict'

const nanoid = require('nanoid')
const { nanoid } = require('nanoid')
const { getDescribe, getIt, expect } = require('../utils/mocha')
const isShardAtPath = require('../utils/is-shard-at-path')

Expand Down
2 changes: 1 addition & 1 deletion packages/interface-ipfs-core/src/files/cp.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* eslint-env mocha */
'use strict'

const nanoid = require('nanoid')
const { nanoid } = require('nanoid')
const all = require('it-all')
const concat = require('it-concat')
const { fixtures } = require('../utils')
Expand Down
2 changes: 1 addition & 1 deletion packages/interface-ipfs-core/src/files/flush.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* eslint-env mocha */
'use strict'

const nanoid = require('nanoid')
const { nanoid } = require('nanoid')
const { getDescribe, getIt, expect } = require('../utils/mocha')

/** @typedef { import("ipfsd-ctl/src/factory") } Factory */
Expand Down
2 changes: 1 addition & 1 deletion packages/interface-ipfs-core/src/files/mkdir.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* eslint-env mocha */
'use strict'

const nanoid = require('nanoid')
const { nanoid } = require('nanoid')
const { getDescribe, getIt, expect } = require('../utils/mocha')
const multihash = require('multihashes')
const createShardedDirectory = require('../utils/create-sharded-directory')
Expand Down
2 changes: 1 addition & 1 deletion packages/interface-ipfs-core/src/files/rm.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* eslint-env mocha */
'use strict'

const nanoid = require('nanoid')
const { nanoid } = require('nanoid')
const { getDescribe, getIt, expect } = require('../utils/mocha')
const createShardedDirectory = require('../utils/create-sharded-directory')
const createTwoShards = require('../utils/create-two-shards')
Expand Down
2 changes: 1 addition & 1 deletion packages/interface-ipfs-core/src/files/stat.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* eslint-env mocha */
'use strict'

const nanoid = require('nanoid')
const { nanoid } = require('nanoid')
const all = require('it-all')
const { fixtures } = require('../utils')
const { getDescribe, getIt, expect } = require('../utils/mocha')
Expand Down
2 changes: 1 addition & 1 deletion packages/interface-ipfs-core/src/files/touch.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* eslint-env mocha */
'use strict'

const nanoid = require('nanoid')
const { nanoid } = require('nanoid')
const { getDescribe, getIt, expect } = require('../utils/mocha')
const delay = require('delay')
const concat = require('it-concat')
Expand Down
2 changes: 1 addition & 1 deletion packages/interface-ipfs-core/src/files/write.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* eslint-env mocha */
'use strict'

const nanoid = require('nanoid')
const { nanoid } = require('nanoid')
const { getDescribe, getIt, expect } = require('../utils/mocha')
const { isNode } = require('ipfs-utils/src/env')
const multihash = require('multihashes')
Expand Down
2 changes: 1 addition & 1 deletion packages/interface-ipfs-core/src/key/export.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* eslint-env mocha */
'use strict'

const nanoid = require('nanoid')
const { nanoid } = require('nanoid')
const { getDescribe, getIt, expect } = require('../utils/mocha')

/** @typedef { import("ipfsd-ctl/src/factory") } Factory */
Expand Down
2 changes: 1 addition & 1 deletion packages/interface-ipfs-core/src/key/gen.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* eslint-env mocha */
'use strict'

const nanoid = require('nanoid')
const { nanoid } = require('nanoid')
const { getDescribe, getIt, expect } = require('../utils/mocha')

/** @typedef { import("ipfsd-ctl/src/factory") } Factory */
Expand Down
2 changes: 1 addition & 1 deletion packages/interface-ipfs-core/src/key/import.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* eslint-env mocha */
'use strict'

const nanoid = require('nanoid')
const { nanoid } = require('nanoid')
const { getDescribe, getIt, expect } = require('../utils/mocha')

/** @typedef { import("ipfsd-ctl/src/factory") } Factory */
Expand Down
2 changes: 1 addition & 1 deletion packages/interface-ipfs-core/src/key/list.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* eslint-env mocha */
'use strict'

const nanoid = require('nanoid')
const { nanoid } = require('nanoid')
const { getDescribe, getIt, expect } = require('../utils/mocha')

/** @typedef { import("ipfsd-ctl/src/factory") } Factory */
Expand Down
2 changes: 1 addition & 1 deletion packages/interface-ipfs-core/src/key/rename.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* eslint-env mocha */
'use strict'

const nanoid = require('nanoid')
const { nanoid } = require('nanoid')
const { getDescribe, getIt, expect } = require('../utils/mocha')

/** @typedef { import("ipfsd-ctl/src/factory") } Factory */
Expand Down
2 changes: 1 addition & 1 deletion packages/interface-ipfs-core/src/key/rm.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* eslint-env mocha */
'use strict'

const nanoid = require('nanoid')
const { nanoid } = require('nanoid')
const { getDescribe, getIt, expect } = require('../utils/mocha')

/** @typedef { import("ipfsd-ctl/src/factory") } Factory */
Expand Down
2 changes: 1 addition & 1 deletion packages/interface-ipfs-core/src/miscellaneous/resolve.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

const isIpfs = require('is-ipfs')
const loadFixture = require('aegir/fixtures')
const nanoid = require('nanoid')
const { nanoid } = require('nanoid')
const multibase = require('multibase')
const { getDescribe, getIt, expect } = require('../utils/mocha')
const all = require('it-all')
Expand Down
2 changes: 1 addition & 1 deletion packages/interface-ipfs-core/src/name/publish.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* eslint-env mocha */
'use strict'

const nanoid = require('nanoid')
const { nanoid } = require('nanoid')

const { fixture } = require('./utils')
const { getDescribe, getIt, expect } = require('../utils/mocha')
Expand Down
2 changes: 1 addition & 1 deletion packages/interface-ipfs-core/src/object/data.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* eslint-env mocha */
'use strict'

const nanoid = require('nanoid')
const { nanoid } = require('nanoid')
const { getDescribe, getIt, expect } = require('../utils/mocha')

/** @typedef { import("ipfsd-ctl/src/factory") } Factory */
Expand Down
2 changes: 1 addition & 1 deletion packages/interface-ipfs-core/src/object/get.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

const dagPB = require('ipld-dag-pb')
const DAGNode = dagPB.DAGNode
const nanoid = require('nanoid')
const { nanoid } = require('nanoid')
const { getDescribe, getIt, expect } = require('../utils/mocha')
const UnixFs = require('ipfs-unixfs')
const randomBytes = require('iso-random-stream/src/random')
Expand Down
2 changes: 1 addition & 1 deletion packages/interface-ipfs-core/src/object/links.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

const dagPB = require('ipld-dag-pb')
const DAGNode = dagPB.DAGNode
const nanoid = require('nanoid')
const { nanoid } = require('nanoid')
const { getDescribe, getIt, expect } = require('../utils/mocha')
const { asDAGLink } = require('./utils')
const all = require('it-all')
Expand Down
2 changes: 1 addition & 1 deletion packages/interface-ipfs-core/src/object/put.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

const dagPB = require('ipld-dag-pb')
const DAGNode = dagPB.DAGNode
const nanoid = require('nanoid')
const { nanoid } = require('nanoid')
const { getDescribe, getIt, expect } = require('../utils/mocha')
const { asDAGLink } = require('./utils')

Expand Down
2 changes: 1 addition & 1 deletion packages/interface-ipfs-core/src/pubsub/publish.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* eslint-env mocha */
'use strict'

const nanoid = require('nanoid')
const { nanoid } = require('nanoid')
const { getTopic } = require('./utils')
const { getDescribe, getIt } = require('../utils/mocha')

Expand Down
2 changes: 1 addition & 1 deletion packages/interface-ipfs-core/src/pubsub/utils.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use strict'

const nanoid = require('nanoid')
const { nanoid } = require('nanoid')
const delay = require('delay')

async function waitForPeers (ipfs, topic, peersToWait, waitForMs) {
Expand Down
2 changes: 0 additions & 2 deletions packages/ipfs-core-utils/.aegir.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,9 @@ let echo
module.exports = {
hooks: {
pre: async () => {
console.info('starting echo server')
echo = await echoServer()
},
post: async () => {
console.info('stopping echo server')
await echo.stop()
}
}
Expand Down
2 changes: 1 addition & 1 deletion packages/ipfs-core-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"ipfs-utils": "^1.0.0"
},
"devDependencies": {
"aegir": "21.3.0",
"aegir": "21.4.5",
"chai": "^4.2.0",
"chai-as-promised": "^7.1.1",
"delay": "^4.3.0",
Expand Down
10 changes: 5 additions & 5 deletions packages/ipfs-http-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"bignumber.js": "^9.0.0",
"bs58": "^4.0.1",
"buffer": "^5.4.2",
"cids": "^0.7.3",
"cids": "^0.8.0",
"debug": "^4.1.0",
"form-data": "^3.0.0",
"ipfs-block": "^0.8.1",
Expand All @@ -58,16 +58,16 @@
"merge-options": "^2.0.0",
"multiaddr": "^7.2.1",
"multiaddr-to-uri": "^5.1.0",
"multibase": "^0.6.0",
"multibase": "^0.7.0",
"multicodec": "^1.0.0",
"multihashes": "^0.4.14",
"nanoid": "^2.1.11",
"nanoid": "^3.0.2",
"node-fetch": "^2.6.0",
"parse-duration": "^0.1.2",
"stream-to-it": "^0.2.0"
},
"devDependencies": {
"aegir": "21.3.0",
"aegir": "21.4.5",
"browser-process-platform": "^0.1.1",
"cross-env": "^7.0.0",
"go-ipfs-dep": "0.4.23-3",
Expand All @@ -76,7 +76,7 @@
"it-all": "^1.0.1",
"it-concat": "^1.0.0",
"it-pipe": "^1.1.0",
"nock": "^11.7.2"
"nock": "^12.0.3"
},
"engines": {
"node": ">=10.3.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/ipfs-http-client/src/lib/multipart-request.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

const normaliseInput = require('ipfs-core-utils/src/files/normalise-input')
const toStream = require('./to-stream')
const nanoid = require('nanoid')
const { nanoid } = require('nanoid')
const modeToString = require('../lib/mode-to-string')
const mtimeToObject = require('../lib/mtime-to-object')

Expand Down
Loading