hamt-sharding
Advanced tools
Comparing version 2.0.0 to 2.0.1
@@ -0,1 +1,5 @@ | ||
## [2.0.1](https://github.com/ipfs-shipyard/js-hamt-sharding/compare/v2.0.0...v2.0.1) (2021-08-23) | ||
# [2.0.0](https://github.com/ipfs-shipyard/js-hamt-sharding/compare/v1.0.0...v2.0.0) (2021-02-18) | ||
@@ -2,0 +6,0 @@ |
@@ -159,3 +159,3 @@ export = Bucket; | ||
}; | ||
type InfiniteHash = import("./consumable-hash").InfiniteHash; | ||
type InfiniteHash = import('./consumable-hash').InfiniteHash; | ||
/** | ||
@@ -170,6 +170,3 @@ * <T> | ||
}; | ||
type UserBucketOptions = { | ||
hashFn: (value: Uint8Array) => Promise<Uint8Array>; | ||
bits?: number | undefined; | ||
}; | ||
type UserBucketOptions = import('../').UserBucketOptions; | ||
//# sourceMappingURL=bucket.d.ts.map |
{ | ||
"name": "hamt-sharding", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"description": "JavaScript implementation of sharding using hash array mapped tries", | ||
@@ -10,3 +10,3 @@ "leadMaintainer": "Alex Potsides <alex.potsides@protocol.ai>", | ||
"prepare": "aegir build --no-bundle", | ||
"lint": "aegir lint", | ||
"lint": "aegir ts -p check && aegir lint", | ||
"release": "aegir release", | ||
@@ -36,8 +36,10 @@ "release-minor": "aegir release --type minor", | ||
"devDependencies": { | ||
"aegir": "^30.3.0", | ||
"multihashing-async": "^2.1.0" | ||
"aegir": "^35.0.2", | ||
"it-length": "^1.0.3", | ||
"multihashing-async": "^2.1.0", | ||
"util": "^0.12.4" | ||
}, | ||
"dependencies": { | ||
"sparse-array": "^1.3.1", | ||
"uint8arrays": "^2.1.2" | ||
"uint8arrays": "^3.0.0" | ||
}, | ||
@@ -44,0 +46,0 @@ "contributors": [ |
@@ -5,3 +5,3 @@ 'use strict' | ||
const SparseArray = require('sparse-array') | ||
const uint8ArrayFromString = require('uint8arrays/from-string') | ||
const { fromString: uint8ArrayFromString } = require('uint8arrays/from-string') | ||
@@ -8,0 +8,0 @@ /** |
'use strict' | ||
const ConsumableBuffer = require('./consumable-buffer') | ||
const uint8ArrayConcat = require('uint8arrays/concat') | ||
const { concat: uint8ArrayConcat } = require('uint8arrays/concat') | ||
@@ -6,0 +6,0 @@ /** |
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
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
462568
1
4
1096
+ Addeduint8arrays@3.1.1(transitive)
- Removeduint8arrays@2.1.10(transitive)
Updateduint8arrays@^3.0.0