immediate-chunk-store
Advanced tools
Comparing version 1.0.1 to 1.0.2
@@ -7,3 +7,5 @@ module.exports = ImmediateStore | ||
this.store = store | ||
if (!this.store) throw new Error('First argument must be a chunk length') | ||
if (!this.store || !this.store.get || !this.store.put) { | ||
throw new Error('First argument must be abstract-chunk-store compliant') | ||
} | ||
@@ -10,0 +12,0 @@ this.mem = [] |
{ | ||
"name": "immediate-chunk-store", | ||
"description": "Immediate put/get for any abstract-chunk-store compliant store", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"author": { | ||
@@ -6,0 +6,0 @@ "name": "Feross Aboukhadijeh", |
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
6032
72