ipfs-shipyard / ipfs-deploy

Zero-Config CLI to Deploy Static Websites to IPFS
Other
1.16k stars 123 forks source link

chore(deps): bump ipfs-http-client from 39.0.2 to 40.0.0 #117

Closed dependabot-preview[bot] closed 4 years ago

dependabot-preview[bot] commented 4 years ago

Bumps ipfs-http-client from 39.0.2 to 40.0.0.

Release notes *Sourced from [ipfs-http-client's releases](https://github.com/ipfs/js-ipfs-http-client/releases).* > ## v40.0.0 > > > ### Code Refactoring > > * async await roundup ([#1173](https://github-redirect.dependabot.com/ipfs/js-ipfs-http-client/issues/1173)) ([3e5967a](https://github.com/ipfs/js-ipfs-http-client/commit/3e5967a)), closes [#1103](https://github-redirect.dependabot.com/ipfs/js-ipfs-http-client/issues/1103) > * convert config API to async await ([#1155](https://github-redirect.dependabot.com/ipfs/js-ipfs-http-client/issues/1155)) ([621973c](https://github.com/ipfs/js-ipfs-http-client/commit/621973c)) > * move files to root level ([#1150](https://github-redirect.dependabot.com/ipfs/js-ipfs-http-client/issues/1150)) ([559a97d](https://github.com/ipfs/js-ipfs-http-client/commit/559a97d)) > > > ### Features > > * support name.resolve of peerid as cid ([#1145](https://github-redirect.dependabot.com/ipfs/js-ipfs-http-client/issues/1145)) ([2d9afc8](https://github.com/ipfs/js-ipfs-http-client/commit/2d9afc8)) > > > ### Reverts > > * chore: update multiaddr to version 7.2.0 ([#1136](https://github-redirect.dependabot.com/ipfs/js-ipfs-http-client/issues/1136)) ([#1143](https://github-redirect.dependabot.com/ipfs/js-ipfs-http-client/issues/1143)) ([4131d09](https://github.com/ipfs/js-ipfs-http-client/commit/4131d09)) > > > ### BREAKING CHANGES > > * The `log.tail` method now returns an async iterator that yields log messages. Use it like: > ```js > for await (const message of ipfs.log.tail()) { > console.log(message) > } > ``` > * The response to a call to `log.level` now returns an object that has camel cased keys. i.e. `Message` and `Error` properties have changed to `message` and `error`. > * Dropped support for go-ipfs <= 0.4.4 in `swarm.peers` response. > * The signature for `ipfs.mount` has changed from `ipfs.mount([ipfsPath], [ipnsPath])` to `ipfs.mount([options])`. Where `options` is an optional object that may contain two boolean properties `ipfsPath` and `ipnsPath`. The response object has also changed to be camel case. See https://docs.ipfs.io/reference/api/http/#api-v0-mount. > * Default ping `count` of 1 in client has been removed. The default ping count is now whatever the IPFS node defaults it to (currently 10). If you specifically need 1 ping message then please pass `count: 1` in options for `ipfs.ping()`. > * Multi parameter constructor options are no longer supported. To create a new IPFS HTTP client, pass a single parameter to the constructor. The parameter can be one of: > * String, formatted as one of: > * Multiaddr e.g. /ip4/127.0.0.1/tcp/5001 > * URL e.g. http://127.0.0.1:5001 > * [Multiaddr](https://www.npmjs.com/package/multiaddr) instance > * Object, in format of either: > * Address and path e.g. `{ apiAddr: '/ip4/127.0.0.1/tcp/5001': apiPath: '/api/v0' }` (Note: `apiAddr` can also be a string in URL form or a Multiaddr instance) > * Node.js style address e.g. `{ host: '127.0.0.1', port: 5001, protocol: 'http' }` > * Errors returned from request failures are now all [`HTTPError`](https://github.com/sindresorhus/ky/blob/c0d9d2bb07e4c122a08f019b39e9c55a4c9324f3/index.js#L117-L123)s which carry a `response` property. This is a [`Response`](https://developer.mozilla.org/en-US/docs/Web/API/Response) that can be used to inspect _all_ information relating to the HTTP response. This means that the `err.status` or `err.statusCode` property should now be accessed via `err.response.status`. > * files in `src/files-regular` have moved to `src`. The `src/files-mfs` directory has been renamed to `src/files`. If you were previously requiring files from these directories e.g. `require('ipfs-http-client/src/files-regular/add')` then please be aware that they have moved. > >
Changelog *Sourced from [ipfs-http-client's changelog](https://github.com/ipfs/js-ipfs-http-client/blob/master/CHANGELOG.md).* > # [40.0.0](https://github.com/ipfs/js-ipfs-http-client/compare/v39.0.2...v40.0.0) (2019-11-22) > > > ### Code Refactoring > > * async await roundup ([#1173](https://github-redirect.dependabot.com/ipfs/js-ipfs-http-client/issues/1173)) ([3e5967a](https://github.com/ipfs/js-ipfs-http-client/commit/3e5967a)), closes [#1103](https://github-redirect.dependabot.com/ipfs/js-ipfs-http-client/issues/1103) > * convert config API to async await ([#1155](https://github-redirect.dependabot.com/ipfs/js-ipfs-http-client/issues/1155)) ([621973c](https://github.com/ipfs/js-ipfs-http-client/commit/621973c)) > * move files to root level ([#1150](https://github-redirect.dependabot.com/ipfs/js-ipfs-http-client/issues/1150)) ([559a97d](https://github.com/ipfs/js-ipfs-http-client/commit/559a97d)) > > > ### Features > > * support name.resolve of peerid as cid ([#1145](https://github-redirect.dependabot.com/ipfs/js-ipfs-http-client/issues/1145)) ([2d9afc8](https://github.com/ipfs/js-ipfs-http-client/commit/2d9afc8)) > > > ### Reverts > > * chore: update multiaddr to version 7.2.0 ([#1136](https://github-redirect.dependabot.com/ipfs/js-ipfs-http-client/issues/1136)) ([#1143](https://github-redirect.dependabot.com/ipfs/js-ipfs-http-client/issues/1143)) ([4131d09](https://github.com/ipfs/js-ipfs-http-client/commit/4131d09)) > > > ### BREAKING CHANGES > > * The `log.tail` method now returns an async iterator that yields log messages. Use it like: > ```js > for await (const message of ipfs.log.tail()) { > console.log(message) > } > ``` > * The response to a call to `log.level` now returns an object that has camel cased keys. i.e. `Message` and `Error` properties have changed to `message` and `error`. > * Dropped support for go-ipfs <= 0.4.4 in `swarm.peers` response. > * The signature for `ipfs.mount` has changed from `ipfs.mount([ipfsPath], [ipnsPath])` to `ipfs.mount([options])`. Where `options` is an optional object that may contain two boolean properties `ipfsPath` and `ipnsPath`. The response object has also changed to be camel case. See https://docs.ipfs.io/reference/api/http/#api-v0-mount. > * Default ping `count` of 1 in client has been removed. The default ping count is now whatever the IPFS node defaults it to (currently 10). If you specifically need 1 ping message then please pass `count: 1` in options for `ipfs.ping()`. > * Multi parameter constructor options are no longer supported. To create a new IPFS HTTP client, pass a single parameter to the constructor. The parameter can be one of: > * String, formatted as one of: > * Multiaddr e.g. /ip4/127.0.0.1/tcp/5001 > * URL e.g. http://127.0.0.1:5001 > * [Multiaddr](https://www.npmjs.com/package/multiaddr) instance > * Object, in format of either: > * Address and path e.g. `{ apiAddr: '/ip4/127.0.0.1/tcp/5001': apiPath: '/api/v0' }` (Note: `apiAddr` can also be a string in URL form or a Multiaddr instance) > * Node.js style address e.g. `{ host: '127.0.0.1', port: 5001, protocol: 'http' }` > * Errors returned from request failures are now all [`HTTPError`](https://github.com/sindresorhus/ky/blob/c0d9d2bb07e4c122a08f019b39e9c55a4c9324f3/index.js#L117-L123)s which carry a `response` property. This is a [`Response`](https://developer.mozilla.org/en-US/docs/Web/API/Response) that can be used to inspect _all_ information relating to the HTTP response. This means that the `err.status` or `err.statusCode` property should now be accessed via `err.response.status`. > * files in `src/files-regular` have moved to `src`. The `src/files-mfs` directory has been renamed to `src/files`. If you were previously requiring files from these directories e.g. `require('ipfs-http-client/src/files-regular/add')` then please be aware that they have moved. > > > >
Commits - [`79ff532`](https://github.com/ipfs/js-ipfs-http-client/commit/79ff53241e0b72730eb94a2b5a1793a33c97c687) chore: release version v40.0.0 - [`496811b`](https://github.com/ipfs/js-ipfs-http-client/commit/496811b2ead8377227ec872dd256cc6c09c38356) chore: update contributors - [`3e5967a`](https://github.com/ipfs/js-ipfs-http-client/commit/3e5967af8e456517485c8a7536792107c0ed6e63) refactor: async await roundup ([#1173](https://github-redirect.dependabot.com/ipfs/js-ipfs-http-client/issues/1173)) - [`fc73da7`](https://github.com/ipfs/js-ipfs-http-client/commit/fc73da74496621abb264bc45f933333b2eda4a0f) refactor: convert object.* and files.* API methods to async/await ([#1160](https://github-redirect.dependabot.com/ipfs/js-ipfs-http-client/issues/1160)) - [`8b48d57`](https://github.com/ipfs/js-ipfs-http-client/commit/8b48d57a106968b3d766939cb1ed3b6bc3365d14) refactor: convert pin API to async/await ([#1168](https://github-redirect.dependabot.com/ipfs/js-ipfs-http-client/issues/1168)) - [`12b7a2e`](https://github.com/ipfs/js-ipfs-http-client/commit/12b7a2e6a98569d6a9ca4c3c01c6c74646a50102) refactor: switch tar-stream for it-tar ([#1161](https://github-redirect.dependabot.com/ipfs/js-ipfs-http-client/issues/1161)) - [`0e01187`](https://github.com/ipfs/js-ipfs-http-client/commit/0e011873747f9d8754d26ca21792df865fda8b1e) refactor: convert diag API to async/await ([#1157](https://github-redirect.dependabot.com/ipfs/js-ipfs-http-client/issues/1157)) - [`5110423`](https://github.com/ipfs/js-ipfs-http-client/commit/5110423663f19eb8259de9718be909e2f3921de4) refactor: convert dht API to async/await ([#1156](https://github-redirect.dependabot.com/ipfs/js-ipfs-http-client/issues/1156)) - [`621973c`](https://github.com/ipfs/js-ipfs-http-client/commit/621973c99916b4829e59aaf0fb67101284facfae) refactor: convert config API to async await ([#1155](https://github-redirect.dependabot.com/ipfs/js-ipfs-http-client/issues/1155)) - [`14c5b9e`](https://github.com/ipfs/js-ipfs-http-client/commit/14c5b9efdc1ba1dd08f2ce4e6bc3f4210648fdc5) refactor: convert bootstrap API to async/await ([#1154](https://github-redirect.dependabot.com/ipfs/js-ipfs-http-client/issues/1154)) - Additional commits viewable in [compare view](https://github.com/ipfs/js-ipfs-http-client/compare/v39.0.2...v40.0.0)


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Pull request limits (per update run and/or open at any time) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired)
dependabot-preview[bot] commented 4 years ago

Superseded by #118.