From 7dcd6201391772365053ab4f6ecf936f3726c369 Mon Sep 17 00:00:00 2001 From: achingbrain Date: Thu, 1 Apr 2021 19:06:03 +0100 Subject: [PATCH 1/3] chore: fix types Not sure why the compiler doesn't pick up things like this. --- packages/ipfs-core-types/package.json | 1 + packages/ipfs-core-types/src/block/index.d.ts | 2 +- packages/ipfs-core-types/src/config/index.d.ts | 2 +- packages/ipfs-core-types/src/dag/index.d.ts | 2 +- packages/ipfs-core-types/src/files/index.d.ts | 11 +++++------ packages/ipfs-core-types/src/index.d.ts | 2 -- packages/ipfs-core-types/src/pin/index.d.ts | 2 -- packages/ipfs-core-types/src/root.d.ts | 10 +++++----- packages/ipfs-core-types/src/stats/index.d.ts | 2 +- packages/ipfs-core-types/src/swarm/index.d.ts | 2 +- packages/ipfs-core-types/src/utils.d.ts | 1 - packages/ipfs-http-client/package.json | 1 + packages/ipfs-http-client/src/lib/core.js | 5 ++--- packages/ipfs-http-client/src/lib/ipld-formats.js | 4 ++-- packages/ipfs-http-client/src/types.d.ts | 5 +++-- 15 files changed, 24 insertions(+), 28 deletions(-) diff --git a/packages/ipfs-core-types/package.json b/packages/ipfs-core-types/package.json index c3e1fe718d..4ac0f3025a 100644 --- a/packages/ipfs-core-types/package.json +++ b/packages/ipfs-core-types/package.json @@ -29,6 +29,7 @@ "license": "(Apache-2.0 OR MIT)", "dependencies": { "cids": "^1.1.5", + "ipld": "^0.29.0", "multiaddr": "^8.0.0", "multibase": "^4.0.2" }, diff --git a/packages/ipfs-core-types/src/block/index.d.ts b/packages/ipfs-core-types/src/block/index.d.ts index 3035ac8910..65bc5e3401 100644 --- a/packages/ipfs-core-types/src/block/index.d.ts +++ b/packages/ipfs-core-types/src/block/index.d.ts @@ -1,4 +1,4 @@ -import { AbortOptions, PreloadOptions } from '../utils' +import { AbortOptions, PreloadOptions, IPFSPath } from '../utils' import CID, { CIDVersion } from 'cids' import Block from 'ipld-block' import { CodecName } from 'multicodec' diff --git a/packages/ipfs-core-types/src/config/index.d.ts b/packages/ipfs-core-types/src/config/index.d.ts index d5a543a9bf..a1de611046 100644 --- a/packages/ipfs-core-types/src/config/index.d.ts +++ b/packages/ipfs-core-types/src/config/index.d.ts @@ -107,7 +107,7 @@ export interface DEK { export interface PubsubConfig { PubSubRouter?: 'gossipsub' | 'floodsub' - Enabled?: booleam + Enabled?: boolean } export interface SwarmConfig { diff --git a/packages/ipfs-core-types/src/dag/index.d.ts b/packages/ipfs-core-types/src/dag/index.d.ts index 4214f55b6c..fa8bbdd961 100644 --- a/packages/ipfs-core-types/src/dag/index.d.ts +++ b/packages/ipfs-core-types/src/dag/index.d.ts @@ -1,5 +1,5 @@ import { AbortOptions, PreloadOptions, IPFSPath } from '../utils' -import CID from 'cids' +import CID, { CIDVersion } from 'cids' import { CodecName } from 'multicodec' import { HashName } from 'multihashes' diff --git a/packages/ipfs-core-types/src/files/index.d.ts b/packages/ipfs-core-types/src/files/index.d.ts index ac735b0d83..08ee4fa1d3 100644 --- a/packages/ipfs-core-types/src/files/index.d.ts +++ b/packages/ipfs-core-types/src/files/index.d.ts @@ -1,9 +1,8 @@ import { AbortOptions, IPFSPath } from '../utils' -import { ToMTime } from './files' import CID, { CIDVersion } from 'cids' import { CodecName } from 'multicodec' import { HashName } from 'multihashes' -import { Mtime } from 'ipfs-unixfs' +import { Mtime, MtimeLike } from 'ipfs-unixfs' import type { AddProgressFn } from '../root' export interface API { @@ -105,7 +104,7 @@ export interface API { * // Hello, World! * ``` */ - read: (ipfsPath: IPFSPath, options?: ResolveOptions & OptionExtension) => AsyncIterable + read: (ipfsPath: IPFSPath, options?: ReadOptions & OptionExtension) => AsyncIterable /** * Write to an MFS path @@ -260,7 +259,7 @@ export interface MkdirOptions extends MFSOptions, AbortOptions { /** * A Date object, an object with { secs, nsecs } properties where secs is the number of seconds since (positive) or before (negative) the Unix Epoch began and nsecs is the number of nanoseconds since the last full second, or the output of process.hrtime() */ - mtime?: ToMTime + mtime?: MtimeLike /** * The hash algorithm to use for any updated entries @@ -351,7 +350,7 @@ export interface TouchOptions extends MFSOptions, AbortOptions { /** * A Date object, an object with { secs, nsecs } properties where secs is the number of seconds since (positive) or before (negative) the Unix Epoch began and nsecs is the number of nanoseconds since the last full second, or the output of process.hrtime() */ - mtime?: ToMTime + mtime?: MtimeLike /** * The hash algorithm to use for any updated entries @@ -442,7 +441,7 @@ export interface WriteOptions extends MFSOptions, AbortOptions { /** * A Date object, an object with { secs, nsecs } properties where secs is the number of seconds since (positive) or before (negative) the Unix Epoch began and nsecs is the number of nanoseconds since the last full second, or the output of process.hrtime() */ - mtime?: ToMTime + mtime?: MtimeLike /** * The hash algorithm to use for any updated entries diff --git a/packages/ipfs-core-types/src/index.d.ts b/packages/ipfs-core-types/src/index.d.ts index edfa19e338..ea1e19a98a 100644 --- a/packages/ipfs-core-types/src/index.d.ts +++ b/packages/ipfs-core-types/src/index.d.ts @@ -45,8 +45,6 @@ export interface IPFS extends RootAPI { } export type { - IPFS, - AbortOptions, Await, AwaitIterable diff --git a/packages/ipfs-core-types/src/pin/index.d.ts b/packages/ipfs-core-types/src/pin/index.d.ts index 378996b305..8072d32371 100644 --- a/packages/ipfs-core-types/src/pin/index.d.ts +++ b/packages/ipfs-core-types/src/pin/index.d.ts @@ -113,8 +113,6 @@ export interface AddOptions extends AbortOptions { } export interface AddAllOptions extends AbortOptions { - lock?: boolean - /** * Whether to preload all blocks pinned during this operation */ diff --git a/packages/ipfs-core-types/src/root.d.ts b/packages/ipfs-core-types/src/root.d.ts index 6499817235..f6293a6374 100644 --- a/packages/ipfs-core-types/src/root.d.ts +++ b/packages/ipfs-core-types/src/root.d.ts @@ -1,8 +1,8 @@ -import type { AbortOptions, PreloadOptions, IPFSPath, ImportSource, ToEntry } from './utils' -import type CID, { CIDVersion } from 'cids' -import type { Mtime } from 'ipfs-unixfs' -import type Multiaddr from 'multiaddr' -import type { BaseName } from 'multibase' +import { AbortOptions, PreloadOptions, IPFSPath, ImportSource, ToEntry } from './utils' +import CID, { CIDVersion } from 'cids' +import { Mtime } from 'ipfs-unixfs' +import Multiaddr from 'multiaddr' +import { BaseName } from 'multibase' export interface API { /** diff --git a/packages/ipfs-core-types/src/stats/index.d.ts b/packages/ipfs-core-types/src/stats/index.d.ts index 49ce7154a4..828617c950 100644 --- a/packages/ipfs-core-types/src/stats/index.d.ts +++ b/packages/ipfs-core-types/src/stats/index.d.ts @@ -1,7 +1,7 @@ import type { AbortOptions } from '../utils' import { API as BitswapAPI } from '../bitswap' import { API as RepoAPI } from '../repo' -import type CID from 'cid' +import type CID from 'cids' export interface API { bitswap: BitswapAPI["stat"] diff --git a/packages/ipfs-core-types/src/swarm/index.d.ts b/packages/ipfs-core-types/src/swarm/index.d.ts index be0befcd0a..ea2508f2bd 100644 --- a/packages/ipfs-core-types/src/swarm/index.d.ts +++ b/packages/ipfs-core-types/src/swarm/index.d.ts @@ -1,7 +1,7 @@ import type { AbortOptions } from '../utils' import { API as BitswapAPI } from '../bitswap' import { API as RepoAPI } from '../repo' -import type CID from 'cid' +import type CID from 'cids' import type Multiaddr from 'multiaddr' export interface API { diff --git a/packages/ipfs-core-types/src/utils.d.ts b/packages/ipfs-core-types/src/utils.d.ts index 6b667bd8b6..67540e17bc 100644 --- a/packages/ipfs-core-types/src/utils.d.ts +++ b/packages/ipfs-core-types/src/utils.d.ts @@ -1,5 +1,4 @@ import CID from 'cids' -import { AwaitIterable } from './utils' import { Mtime, MtimeLike } from 'ipfs-unixfs' export type Entry|Blob> = diff --git a/packages/ipfs-http-client/package.json b/packages/ipfs-http-client/package.json index 0f89d79cbb..de0bf69eb4 100644 --- a/packages/ipfs-http-client/package.json +++ b/packages/ipfs-http-client/package.json @@ -53,6 +53,7 @@ "ipfs-core-utils": "^0.7.2", "ipfs-unixfs": "^4.0.1", "ipfs-utils": "^6.0.4", + "ipld": "^0.29.0", "ipld-block": "^0.11.0", "ipld-dag-cbor": "^0.18.0", "ipld-dag-pb": "^0.22.0", diff --git a/packages/ipfs-http-client/src/lib/core.js b/packages/ipfs-http-client/src/lib/core.js index 744b143c72..2aafe8149c 100644 --- a/packages/ipfs-http-client/src/lib/core.js +++ b/packages/ipfs-http-client/src/lib/core.js @@ -15,8 +15,8 @@ const DEFAULT_HOST = isBrowser || isWebWorker ? location.hostname : 'localhost' const DEFAULT_PORT = isBrowser || isWebWorker ? location.port : '5001' /** - * @typedef {import('electron-fetch').Response} Response - * @typedef {import('ipfs-utils/dist/types/electron-fetch').Request} Request + * @typedef {import('ipfs-utils/dist/types/native-fetch').Response} Response + * @typedef {import('ipfs-utils/dist/types/native-fetch').Request} Request * @typedef {import('ipfs-utils/src/types').HTTPOptions} HTTPOptions * @typedef {import('../types').Options} Options */ @@ -188,7 +188,6 @@ class Client extends HTTP { /** * @param {string | Request} resource * @param {HTTPOptions} options - * @returns {Promise} */ this.fetch = (resource, options = {}) => { if (typeof resource === 'string' && !resource.startsWith('/')) { diff --git a/packages/ipfs-http-client/src/lib/ipld-formats.js b/packages/ipfs-http-client/src/lib/ipld-formats.js index 235fc9b7e1..ffcb753c18 100644 --- a/packages/ipfs-http-client/src/lib/ipld-formats.js +++ b/packages/ipfs-http-client/src/lib/ipld-formats.js @@ -45,8 +45,8 @@ module.exports = ({ formats = [], loadFormat = noop } = {}) => { * @param {import('multicodec').CodecName} codec - The code to load the format for */ const loadResolver = async (codec) => { - // @ts-ignore - codec is a string and not a CodecName - const number = multicodec.getNumber(codec) + const number = multicodec.getCodeFromName(codec) + // @ts-ignore wat const format = configuredFormats[number] || await loadFormat(codec) if (!format) { diff --git a/packages/ipfs-http-client/src/types.d.ts b/packages/ipfs-http-client/src/types.d.ts index 557d2637d7..037fa68b01 100644 --- a/packages/ipfs-http-client/src/types.d.ts +++ b/packages/ipfs-http-client/src/types.d.ts @@ -2,13 +2,14 @@ import { Format as IPLDFormat } from 'interface-ipld-format' import { LoadFormatFn } from 'ipld' import { Agent as HttpAgent } from 'http' import { Agent as HttpsAgent } from 'https' +import Multiaddr from 'multiaddr' export interface Options { host?: string port?: number protocol?: string headers?: Headers | Record - timeout?: number | sttring + timeout?: number | string apiPath?: string url?: URL|string|Multiaddr ipld?: IPLDOptions @@ -16,7 +17,7 @@ export interface Options { } export interface IPLDOptions { - formats?: IPLDFormat[] + formats?: IPLDFormat[] loadFormat?: LoadFormatFn } From 6024d894c7e482f8c525ef1cd01f31e79242e2e8 Mon Sep 17 00:00:00 2001 From: achingbrain Date: Thu, 1 Apr 2021 19:16:37 +0100 Subject: [PATCH 2/3] chore: add dep ignore as it is for the types --- packages/ipfs-http-client/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/ipfs-http-client/package.json b/packages/ipfs-http-client/package.json index de0bf69eb4..54b2d7dff4 100644 --- a/packages/ipfs-http-client/package.json +++ b/packages/ipfs-http-client/package.json @@ -41,7 +41,7 @@ "lint": "aegir lint", "coverage": "npx nyc -r html npm run test:node -- --bail", "clean": "rimraf ./dist", - "dep-check": "aegir dep-check -i ipfs-core -i rimraf -i ipfs-core-types -i abort-controller" + "dep-check": "aegir dep-check -i ipfs-core -i rimraf -i ipfs-core-types -i abort-controller -i ipld" }, "dependencies": { "abort-controller": "^3.0.0", From 5825c1591af6e8f46bd340e6500b4fe16a17300b Mon Sep 17 00:00:00 2001 From: achingbrain Date: Tue, 6 Apr 2021 17:12:41 +0100 Subject: [PATCH 3/3] chore: fix examples --- examples/browser-create-react-app/package.json | 8 ++++---- examples/browser-http-client-upload-file/package.json | 6 +++--- examples/browser-http-client-upload-file/src/App.js | 4 ++-- examples/browser-ipns-publish/package.json | 4 ++-- examples/browser-parceljs/package.json | 2 +- examples/browser-video-streaming/index.html | 4 ++-- examples/browser-webpack/package.json | 4 ++-- examples/circuit-relaying/package.json | 6 +++--- examples/custom-ipld-formats/package.json | 2 +- examples/custom-libp2p/package.json | 2 +- examples/http-client-browser-pubsub/package.json | 2 +- examples/http-client-bundle-webpack/package.json | 8 ++++---- examples/http-client-name-api/package.json | 4 ++-- examples/ipfs-client-add-files/package.json | 4 ++-- examples/traverse-ipld-graphs/package.json | 4 ++-- packages/interface-ipfs-core/package.json | 4 ++-- packages/ipfs-cli/package.json | 4 ++-- packages/ipfs-core-types/package.json | 2 +- packages/ipfs-core-utils/package.json | 2 +- packages/ipfs-core/package.json | 4 ++-- packages/ipfs-grpc-client/package.json | 2 +- packages/ipfs-http-client/package.json | 4 ++-- packages/ipfs-http-gateway/package.json | 2 +- packages/ipfs-http-server/package.json | 2 +- packages/ipfs-message-port-protocol/package.json | 2 +- packages/ipfs-message-port-server/package.json | 2 +- 26 files changed, 47 insertions(+), 47 deletions(-) diff --git a/examples/browser-create-react-app/package.json b/examples/browser-create-react-app/package.json index 9d84c3f53c..39892d8be8 100644 --- a/examples/browser-create-react-app/package.json +++ b/examples/browser-create-react-app/package.json @@ -3,11 +3,11 @@ "version": "1.0.0", "private": true, "dependencies": { - "dot-prop": "^5.0.0", + "dot-prop": "^6.0.1", "ipfs": "^0.54.4", - "ipfs-css": "^0.13.1", - "react": "^16.8.6", - "react-dom": "^16.8.6", + "ipfs-css": "^1.3.0", + "react": "^17.0.2", + "react-dom": "^17.0.2", "react-scripts": "^4.0.3", "tachyons": "^4.11.1" }, diff --git a/examples/browser-http-client-upload-file/package.json b/examples/browser-http-client-upload-file/package.json index 72cbe42151..cab2f0dbc9 100644 --- a/examples/browser-http-client-upload-file/package.json +++ b/examples/browser-http-client-upload-file/package.json @@ -19,9 +19,9 @@ }, "devDependencies": { "ipfs": "^0.54.4", - "parcel": "next", - "react": "^16.8.6", - "react-dom": "^16.8.6", + "parcel": "2.0.0-beta.2", + "react": "^17.0.2", + "react-dom": "^17.0.2", "rimraf": "^3.0.2", "test-ipfs-example": "^3.0.0" }, diff --git a/examples/browser-http-client-upload-file/src/App.js b/examples/browser-http-client-upload-file/src/App.js index 19eba88d1b..852d963830 100644 --- a/examples/browser-http-client-upload-file/src/App.js +++ b/examples/browser-http-client-upload-file/src/App.js @@ -2,7 +2,7 @@ 'use strict' const React = require('react') -const { create: ipfsClient } = require('ipfs-http-client') +const { create: ipfsHttpClient } = require('ipfs-http-client') class App extends React.Component { constructor () { @@ -73,7 +73,7 @@ class App extends React.Component { async connect () { this.setState({ - ipfs: ipfsClient(this.multiaddr.current.value) + ipfs: ipfsHttpClient(this.multiaddr.current.value) }) } diff --git a/examples/browser-ipns-publish/package.json b/examples/browser-ipns-publish/package.json index 5e0e57bddd..2b60a4cbcd 100644 --- a/examples/browser-ipns-publish/package.json +++ b/examples/browser-ipns-publish/package.json @@ -25,11 +25,11 @@ "last 2 versions and not dead and > 2%" ], "devDependencies": { - "delay": "^4.4.0", + "delay": "^5.0.0", "execa": "^5.0.0", "ipfsd-ctl": "^8.0.0", "go-ipfs": "0.8.0", - "parcel": "next", + "parcel": "2.0.0-beta.2", "path": "^0.12.7", "test-ipfs-example": "^3.0.0" }, diff --git a/examples/browser-parceljs/package.json b/examples/browser-parceljs/package.json index 985c4a78e6..4eea6d5870 100644 --- a/examples/browser-parceljs/package.json +++ b/examples/browser-parceljs/package.json @@ -21,7 +21,7 @@ "ipfs": "^0.54.4" }, "devDependencies": { - "parcel": "next", + "parcel": "2.0.0-beta.2", "rimraf": "^3.0.2", "standard": "^16.0.3", "test-ipfs-example": "^3.0.0" diff --git a/examples/browser-video-streaming/index.html b/examples/browser-video-streaming/index.html index d79b5f5474..a86482a382 100644 --- a/examples/browser-video-streaming/index.html +++ b/examples/browser-video-streaming/index.html @@ -2,8 +2,8 @@ - - + + diff --git a/examples/browser-webpack/package.json b/examples/browser-webpack/package.json index 53f6ab8315..614bce7a05 100644 --- a/examples/browser-webpack/package.json +++ b/examples/browser-webpack/package.json @@ -18,8 +18,8 @@ "babel-loader": "^8.2.2", "copy-webpack-plugin": "^8.1.0", "node-polyfill-webpack-plugin": "^1.0.3", - "react": "^17.0.1", - "react-dom": "^17.0.1", + "react": "^17.0.2", + "react-dom": "^17.0.2", "react-hot-loader": "^4.12.21", "rimraf": "^3.0.2", "stream-browserify": "^3.0.0", diff --git a/examples/circuit-relaying/package.json b/examples/circuit-relaying/package.json index c9b10a0858..fcc17438f6 100644 --- a/examples/circuit-relaying/package.json +++ b/examples/circuit-relaying/package.json @@ -14,7 +14,7 @@ "author": "Dmitriy Ryajov ", "license": "MIT", "dependencies": { - "delay": "^4.4.0", + "delay": "^5.0.0", "ipfs": "^0.54.4", "ipfs-pubsub-room": "^2.0.1", "libp2p-websockets": "^0.15.1", @@ -22,9 +22,9 @@ }, "devDependencies": { "execa": "^5.0.0", - "ipfs-css": "^0.13.1", + "ipfs-css": "^1.3.0", "ipfs-http-client": "^49.0.4", - "parcel": "next", + "parcel": "2.0.0-beta.2", "rimraf": "^3.0.2", "tachyons": "^4.11.1", "test-ipfs-example": "^3.0.0" diff --git a/examples/custom-ipld-formats/package.json b/examples/custom-ipld-formats/package.json index b48f4901f7..7377db532f 100644 --- a/examples/custom-ipld-formats/package.json +++ b/examples/custom-ipld-formats/package.json @@ -11,7 +11,7 @@ "test-ipfs-example": "^3.0.0" }, "dependencies": { - "cids": "^1.1.5", + "cids": "^1.1.6", "ipfs-daemon": "^0.5.4", "ipfs-core": "^0.5.4", "ipfs-http-client": "^49.0.4", diff --git a/examples/custom-libp2p/package.json b/examples/custom-libp2p/package.json index ffbe35e0ce..1c0095b8e2 100644 --- a/examples/custom-libp2p/package.json +++ b/examples/custom-libp2p/package.json @@ -13,7 +13,7 @@ "ipfs": "^0.54.4", "libp2p": "^0.30.12", "libp2p-bootstrap": "^0.12.1", - "libp2p-kad-dht": "^0.20.1", + "libp2p-kad-dht": "^0.21.0", "libp2p-mdns": "^0.15.0", "libp2p-mplex": "^0.10.0", "libp2p-noise": "^2.0.1", diff --git a/examples/http-client-browser-pubsub/package.json b/examples/http-client-browser-pubsub/package.json index 9694895a34..fac560f9f6 100644 --- a/examples/http-client-browser-pubsub/package.json +++ b/examples/http-client-browser-pubsub/package.json @@ -22,7 +22,7 @@ "go-ipfs": "0.8.0", "ipfs": "^0.54.4", "ipfsd-ctl": "^8.0.0", - "parcel": "next", + "parcel": "2.0.0-beta.2", "test-ipfs-example": "^3.0.0" } } diff --git a/examples/http-client-bundle-webpack/package.json b/examples/http-client-bundle-webpack/package.json index e4d6451561..f27f147c7c 100644 --- a/examples/http-client-bundle-webpack/package.json +++ b/examples/http-client-bundle-webpack/package.json @@ -14,13 +14,13 @@ "keywords": [], "dependencies": { "ipfs-http-client": "^49.0.4", - "react": "^16.8.6", - "react-dom": "^16.8.6" + "react": "^17.0.2", + "react-dom": "^17.0.2" }, "devDependencies": { - "@babel/core": "^7.13.10", + "@babel/core": "^7.13.14", "@babel/preset-env": "^7.13.12", - "@babel/preset-react": "^7.12.13", + "@babel/preset-react": "^7.13.13", "babel-loader": "^8.2.2", "copy-webpack-plugin": "^8.1.0", "execa": "^5.0.0", diff --git a/examples/http-client-name-api/package.json b/examples/http-client-name-api/package.json index a26751ec20..3d291d9e39 100644 --- a/examples/http-client-name-api/package.json +++ b/examples/http-client-name-api/package.json @@ -6,7 +6,7 @@ "private": true, "scripts": { "clean": "rimraf ./dist", - "build": "parcel build index.html --no-scope-hoist", + "build": "parcel build index.html", "start": "parcel index.html -p 8888", "test": "test-ipfs-example" }, @@ -19,7 +19,7 @@ "execa": "^5.0.0", "go-ipfs": "0.8.0", "ipfsd-ctl": "^8.0.0", - "parcel": "next", + "parcel": "2.0.0-beta.2", "rimraf": "^3.0.2", "test-ipfs-example": "^3.0.0" }, diff --git a/examples/ipfs-client-add-files/package.json b/examples/ipfs-client-add-files/package.json index 9fd2b9a0a7..1b5dbb2fe1 100644 --- a/examples/ipfs-client-add-files/package.json +++ b/examples/ipfs-client-add-files/package.json @@ -6,7 +6,7 @@ "private": true, "scripts": { "clean": "rimraf ./dist", - "build": "parcel build index.html --no-scope-hoist", + "build": "parcel build index.html", "start": "parcel index.html -p 8888", "test": "test-ipfs-example" }, @@ -17,7 +17,7 @@ "execa": "^5.0.0", "ipfs": "^0.54.4", "ipfsd-ctl": "^8.0.0", - "parcel": "next", + "parcel": "2.0.0-beta.2", "rimraf": "^3.0.2", "test-ipfs-example": "^3.0.0" }, diff --git a/examples/traverse-ipld-graphs/package.json b/examples/traverse-ipld-graphs/package.json index 0eeaac3e1f..95e068a8bd 100644 --- a/examples/traverse-ipld-graphs/package.json +++ b/examples/traverse-ipld-graphs/package.json @@ -13,10 +13,10 @@ "test-ipfs-example": "^3.0.0" }, "dependencies": { - "cids": "^1.1.5", + "cids": "^1.1.6", "ipfs": "^0.54.4", "ipld-block": "^0.11.0", - "ipld-dag-pb": "^0.22.0", + "ipld-dag-pb": "^0.22.1", "ipld-git": "^0.6.1", "ipld-ethereum": "^5.0.1", "multihashing-async": "^2.1.2" diff --git a/packages/interface-ipfs-core/package.json b/packages/interface-ipfs-core/package.json index b6234d657a..1493d99773 100644 --- a/packages/interface-ipfs-core/package.json +++ b/packages/interface-ipfs-core/package.json @@ -41,7 +41,7 @@ "chai": "^4.2.0", "chai-as-promised": "^7.1.1", "chai-subset": "^1.6.0", - "cids": "^1.1.5", + "cids": "^1.1.6", "delay": "^5.0.0", "dirty-chai": "^2.0.1", "err-code": "^3.0.1", @@ -50,7 +50,7 @@ "ipfs-utils": "^6.0.4", "ipld-block": "^0.11.0", "ipld-dag-cbor": "^0.18.0", - "ipld-dag-pb": "^0.22.0", + "ipld-dag-pb": "^0.22.1", "ipns": "^0.10.0", "is-ipfs": "^4.0.0", "iso-random-stream": "^1.1.1", diff --git a/packages/ipfs-cli/package.json b/packages/ipfs-cli/package.json index 50b2011f69..4359a3ecf0 100644 --- a/packages/ipfs-cli/package.json +++ b/packages/ipfs-cli/package.json @@ -32,7 +32,7 @@ "dependencies": { "byteman": "^1.3.5", "cid-tool": "^1.0.0", - "cids": "^1.1.5", + "cids": "^1.1.6", "debug": "^4.1.1", "err-code": "^3.0.1", "execa": "^5.0.0", @@ -45,7 +45,7 @@ "ipfs-repo": "^9.0.0", "ipfs-utils": "^6.0.4", "ipld-dag-cbor": "^0.18.0", - "ipld-dag-pb": "^0.22.0", + "ipld-dag-pb": "^0.22.1", "it-all": "^1.0.4", "it-concat": "^1.0.3", "it-first": "^1.0.4", diff --git a/packages/ipfs-core-types/package.json b/packages/ipfs-core-types/package.json index 4ac0f3025a..a57b69dfac 100644 --- a/packages/ipfs-core-types/package.json +++ b/packages/ipfs-core-types/package.json @@ -28,7 +28,7 @@ ], "license": "(Apache-2.0 OR MIT)", "dependencies": { - "cids": "^1.1.5", + "cids": "^1.1.6", "ipld": "^0.29.0", "multiaddr": "^8.0.0", "multibase": "^4.0.2" diff --git a/packages/ipfs-core-utils/package.json b/packages/ipfs-core-utils/package.json index d0e9ce4147..7b7e89a6fe 100644 --- a/packages/ipfs-core-utils/package.json +++ b/packages/ipfs-core-utils/package.json @@ -44,7 +44,7 @@ "any-signal": "^2.1.2", "blob-to-it": "^1.0.1", "browser-readablestream-to-it": "^1.0.1", - "cids": "^1.1.5", + "cids": "^1.1.6", "err-code": "^3.0.1", "ipfs-core-types": "^0.3.1", "ipfs-unixfs": "^4.0.1", diff --git a/packages/ipfs-core/package.json b/packages/ipfs-core/package.json index a3e1acba42..8f26e64c8e 100644 --- a/packages/ipfs-core/package.json +++ b/packages/ipfs-core/package.json @@ -60,7 +60,7 @@ "abort-controller": "^3.0.0", "array-shuffle": "^2.0.0", "cborg": "^1.2.1", - "cids": "^1.1.5", + "cids": "^1.1.6", "dag-cbor-links": "^2.0.0", "datastore-core": "^3.0.0", "datastore-pubsub": "^0.5.0", @@ -82,7 +82,7 @@ "ipld": "^0.29.0", "ipld-block": "^0.11.0", "ipld-dag-cbor": "^0.18.0", - "ipld-dag-pb": "^0.22.0", + "ipld-dag-pb": "^0.22.1", "ipld-raw": "^7.0.0", "ipns": "^0.10.0", "is-domain-name": "^1.0.1", diff --git a/packages/ipfs-grpc-client/package.json b/packages/ipfs-grpc-client/package.json index c227bbcda6..5017992e13 100644 --- a/packages/ipfs-grpc-client/package.json +++ b/packages/ipfs-grpc-client/package.json @@ -34,7 +34,7 @@ "dependencies": { "@improbable-eng/grpc-web": "^0.13.0", "change-case": "^4.1.1", - "cids": "^1.1.5", + "cids": "^1.1.6", "debug": "^4.1.1", "err-code": "^3.0.1", "ipfs-core-types": "^0.3.1", diff --git a/packages/ipfs-http-client/package.json b/packages/ipfs-http-client/package.json index 54b2d7dff4..f00443eb66 100644 --- a/packages/ipfs-http-client/package.json +++ b/packages/ipfs-http-client/package.json @@ -46,7 +46,7 @@ "dependencies": { "abort-controller": "^3.0.0", "any-signal": "^2.1.2", - "cids": "^1.1.5", + "cids": "^1.1.6", "debug": "^4.1.1", "form-data": "^4.0.0", "ipfs-core-types": "^0.3.1", @@ -56,7 +56,7 @@ "ipld": "^0.29.0", "ipld-block": "^0.11.0", "ipld-dag-cbor": "^0.18.0", - "ipld-dag-pb": "^0.22.0", + "ipld-dag-pb": "^0.22.1", "ipld-raw": "^7.0.0", "it-last": "^1.0.4", "it-map": "^1.0.4", diff --git a/packages/ipfs-http-gateway/package.json b/packages/ipfs-http-gateway/package.json index 35ca193438..3f529e89ce 100644 --- a/packages/ipfs-http-gateway/package.json +++ b/packages/ipfs-http-gateway/package.json @@ -44,7 +44,7 @@ "@hapi/ammo": "^5.0.1", "@hapi/boom": "^9.1.0", "@hapi/hapi": "^20.0.0", - "cids": "^1.1.5", + "cids": "^1.1.6", "debug": "^4.1.1", "hapi-pino": "^8.3.0", "ipfs-core-types": "^0.3.1", diff --git a/packages/ipfs-http-server/package.json b/packages/ipfs-http-server/package.json index 77e99bb607..577bc560d0 100644 --- a/packages/ipfs-http-server/package.json +++ b/packages/ipfs-http-server/package.json @@ -34,7 +34,7 @@ "@hapi/content": "^5.0.2", "@hapi/hapi": "^20.0.0", "abort-controller": "^3.0.0", - "cids": "^1.1.5", + "cids": "^1.1.6", "debug": "^4.1.1", "dlv": "^1.1.3", "err-code": "^3.0.1", diff --git a/packages/ipfs-message-port-protocol/package.json b/packages/ipfs-message-port-protocol/package.json index 97bfb9425e..65bae65635 100644 --- a/packages/ipfs-message-port-protocol/package.json +++ b/packages/ipfs-message-port-protocol/package.json @@ -46,7 +46,7 @@ "dep-check": "aegir dep-check -i rimraf -i ipfs-core-types" }, "dependencies": { - "cids": "^1.1.5", + "cids": "^1.1.6", "ipfs-core-types": "^0.3.1", "ipld-block": "^0.11.0" }, diff --git a/packages/ipfs-message-port-server/package.json b/packages/ipfs-message-port-server/package.json index c25693a3aa..cf37bded06 100644 --- a/packages/ipfs-message-port-server/package.json +++ b/packages/ipfs-message-port-server/package.json @@ -44,7 +44,7 @@ }, "devDependencies": { "aegir": "^32.1.0", - "cids": "^1.1.5", + "cids": "^1.1.6", "rimraf": "^3.0.2" }, "engines": {