ipfs-repo-migrations
Advanced tools
Comparing version 13.0.3 to 14.0.0
@@ -7,3 +7,3 @@ /** @type {Migration} */ | ||
export type Blockstore = import('interface-blockstore').Blockstore; | ||
export type CIDVersion = import('multiformats/cid').CIDVersion; | ||
export type CIDVersion = import('multiformats/cid').Version; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -6,3 +6,3 @@ /** | ||
*/ | ||
export function loadSet(blockstore: Blockstore, rootNode: PBNode, name: string): AsyncGenerator<CID, void, undefined>; | ||
export function loadSet(blockstore: Blockstore, rootNode: PBNode, name: string): AsyncGenerator<CID<any, number, number, import("multiformats/cid").Version>, void, undefined>; | ||
/** | ||
@@ -16,3 +16,3 @@ * @param {Blockstore} blockstore | ||
Tsize: number; | ||
Hash: CID; | ||
Hash: CID<unknown, 112, 18, 0>; | ||
}>; | ||
@@ -19,0 +19,0 @@ export type Datastore = import('interface-datastore').Datastore; |
@@ -8,3 +8,3 @@ /** | ||
export const MAX_ITEMS: 8192; | ||
export const EMPTY_KEY: CID; | ||
export const EMPTY_KEY: CID<unknown, number, number, import("multiformats").Version>; | ||
export namespace PinTypes { | ||
@@ -11,0 +11,0 @@ const direct: string; |
{ | ||
"name": "ipfs-repo-migrations", | ||
"version": "13.0.3", | ||
"version": "14.0.0", | ||
"description": "Migration framework for versioning of JS IPFS Repo", | ||
@@ -38,8 +38,2 @@ "license": "Apache-2.0 OR MIT", | ||
"dist/src/*/index" | ||
], | ||
"migrations/*": [ | ||
"*", | ||
"dist/*", | ||
"dist/migrations/*", | ||
"dist/migrations/*/index" | ||
] | ||
@@ -51,3 +45,2 @@ } | ||
"dist", | ||
"migrations", | ||
"!dist/test", | ||
@@ -176,3 +169,3 @@ "!**/*.tsbuildinfo" | ||
"dependencies": { | ||
"@ipld/dag-pb": "^2.1.0", | ||
"@ipld/dag-pb": "^3.0.0", | ||
"@multiformats/multiaddr": "^11.0.0", | ||
@@ -185,12 +178,11 @@ "cborg": "^1.3.4", | ||
"interface-datastore": "^7.0.0", | ||
"it-length": "^1.0.1", | ||
"multiformats": "^9.0.4", | ||
"it-length": "^2.0.0", | ||
"multiformats": "^10.0.1", | ||
"protobufjs": "^7.0.0", | ||
"uint8arrays": "^3.0.0", | ||
"uint8arrays": "^4.0.2", | ||
"varint": "^6.0.0" | ||
}, | ||
"devDependencies": { | ||
"@ipld/car": "^4.1.4", | ||
"@ipld/car": "^5.0.0", | ||
"@types/debug": "^4.1.5", | ||
"@types/rimraf": "^3.0.2", | ||
"@types/varint": "^6.0.0", | ||
@@ -200,7 +192,6 @@ "aegir": "^37.5.0", | ||
"blockstore-core": "^2.0.0", | ||
"blockstore-datastore-adapter": "^3.0.1", | ||
"blockstore-datastore-adapter": "^4.0.0", | ||
"datastore-fs": "^8.0.0", | ||
"datastore-level": "^9.0.0", | ||
"datastore-s3": "^10.0.0", | ||
"protobufjs-cli": "^1.0.0", | ||
"just-safe-set": "^4.1.1", | ||
@@ -210,3 +201,3 @@ "level-5": "npm:level@^5.0.0", | ||
"npm-run-all": "^4.1.5", | ||
"rimraf": "^3.0.2", | ||
"protobufjs-cli": "^1.0.0", | ||
"sinon": "^14.0.0" | ||
@@ -213,0 +204,0 @@ }, |
# ipfs-repo-migrations <!-- omit in toc --> | ||
[![ipfs.io](https://img.shields.io/badge/project-IPFS-blue.svg?style=flat-square)](http://ipfs.io) | ||
[![IRC](https://img.shields.io/badge/freenode-%23ipfs-blue.svg?style=flat-square)](http://webchat.freenode.net/?channels=%23ipfs) | ||
[![Discord](https://img.shields.io/discord/806902334369824788?style=flat-square)](https://discord.gg/ipfs) | ||
[![ipfs.tech](https://img.shields.io/badge/project-IPFS-blue.svg?style=flat-square)](https://ipfs.tech) | ||
[![Discuss](https://img.shields.io/discourse/https/discuss.ipfs.tech/posts.svg?style=flat-square)](https://discuss.ipfs.tech) | ||
[![codecov](https://img.shields.io/codecov/c/github/ipfs/js-ipfs-repo.svg?style=flat-square)](https://codecov.io/gh/ipfs/js-ipfs-repo) | ||
@@ -14,3 +13,2 @@ [![CI](https://img.shields.io/github/workflow/status/ipfs/js-ipfs-repo/test%20&%20maybe%20release/master?style=flat-square)](https://github.com/ipfs/js-ipfs-repo/actions/workflows/js-test-and-release.yml) | ||
- [Install](#install) | ||
- [Lead Maintainer <!-- omit in toc -->](#lead-maintainer----omit-in-toc---) | ||
- [Background](#background) | ||
@@ -42,5 +40,4 @@ - [Use in Node.js](#use-in-nodejs) | ||
- [Module versioning notes](#module-versioning-notes) | ||
- [License](#license) | ||
- [Contribute](#contribute) | ||
- [License](#license) | ||
- [Contribute](#contribute-1) | ||
@@ -55,6 +52,2 @@ ## Install | ||
## Lead Maintainer <!-- omit in toc --> | ||
[Alex Potsides](http://github.com/achingbrain) | ||
## Background | ||
@@ -306,13 +299,2 @@ | ||
## Contribute | ||
There are some ways you can make this module better: | ||
- Consult our [open issues](https://github.com/ipfs/js-ipfs-repo/issues) and take on one of them | ||
- Help our tests reach 100% coverage! | ||
This repository falls under the IPFS [Code of Conduct](https://github.com/ipfs/community/blob/master/code-of-conduct.md). | ||
[![](https://cdn.rawgit.com/jbenet/contribute-ipfs-gif/master/img/contribute.gif)](https://github.com/ipfs/community/blob/master/CONTRIBUTING.md) | ||
## License | ||
@@ -327,6 +309,10 @@ | ||
Feel free to join in. All welcome. Open an [issue](https://github.com/ipfs/js-ipfs-unixfs-importer/issues)! | ||
Contributions welcome! Please check out [the issues](https://github.com/ipfs/js-ipfs-repo/issues). | ||
This repository falls under the IPFS [Code of Conduct](https://github.com/ipfs/community/blob/master/code-of-conduct.md). | ||
Also see our [contributing document](https://github.com/ipfs/community/blob/master/CONTRIBUTING_JS.md) for more information on how we work, and about contributing in general. | ||
Please be aware that all interactions related to this repo are subject to the IPFS [Code of Conduct](https://github.com/ipfs/community/blob/master/code-of-conduct.md). | ||
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions. | ||
[![](https://cdn.rawgit.com/jbenet/contribute-ipfs-gif/master/img/contribute.gif)](https://github.com/ipfs/community/blob/master/CONTRIBUTING.md) |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
16
189791
38
1375
314
1
+ Added@ipld/dag-pb@3.0.2(transitive)
+ Addedit-length@2.0.1(transitive)
- Removed@ipld/dag-pb@2.1.18(transitive)
- Removedit-length@1.0.4(transitive)
- Removedmultiformats@9.9.0(transitive)
- Removeduint8arrays@3.1.1(transitive)
Updated@ipld/dag-pb@^3.0.0
Updatedit-length@^2.0.0
Updatedmultiformats@^10.0.1
Updateduint8arrays@^4.0.2