datastore-level
Advanced tools
Comparing version 0.6.0 to 0.7.0
@@ -0,1 +1,11 @@ | ||
<a name="0.7.0"></a> | ||
# [0.7.0](https://github.com/ipfs/js-datastore-level/compare/v0.6.0...v0.7.0) (2017-11-06) | ||
### Bug Fixes | ||
* Windows interop ([#4](https://github.com/ipfs/js-datastore-level/issues/4)) ([5d67042](https://github.com/ipfs/js-datastore-level/commit/5d67042)) | ||
<a name="0.6.0"></a> | ||
@@ -2,0 +12,0 @@ # [0.6.0](https://github.com/ipfs/js-datastore-level/compare/v0.5.0...v0.6.0) (2017-07-23) |
{ | ||
"name": "datastore-level", | ||
"version": "0.6.0", | ||
"version": "0.7.0", | ||
"description": "Datastore implementation with level(up|down) backend", | ||
"main": "src/index.js", | ||
"scripts": { | ||
"lint": "aegir-lint", | ||
"build": "aegir-build", | ||
"test": "aegir-test", | ||
"lint": "aegir lint", | ||
"build": "aegir build", | ||
"test": "aegir test", | ||
"flow": "flow", | ||
"test:node": "aegir-test --env node", | ||
"test:browser": "aegir-test --env browser", | ||
"release": "aegir-release --docs", | ||
"release-minor": "aegir-release --type minor --docs", | ||
"release-major": "aegir-release --type major --docs", | ||
"coverage": "aegir-coverage", | ||
"coverage-publish": "aegir-coverage publish", | ||
"docs": "aegir-docs" | ||
"test:node": "aegir test --target node", | ||
"test:browser": "aegir test --target browser", | ||
"release": "aegir release --docs", | ||
"release-minor": "aegir release --type minor --docs", | ||
"release-major": "aegir release --type major --docs", | ||
"coverage": "aegir coverage", | ||
"coverage-publish": "aegir coverage --provider coveralls", | ||
"docs": "aegir docs" | ||
}, | ||
@@ -40,23 +40,24 @@ "repository": { | ||
"dependencies": { | ||
"datastore-core": "^0.3.0", | ||
"interface-datastore": "^0.3.0", | ||
"datastore-core": "~0.4.0", | ||
"interface-datastore": "~0.4.1", | ||
"level-js": "^2.2.4", | ||
"leveldown": "^1.7.2", | ||
"levelup": "^1.3.8", | ||
"pull-stream": "^3.6.0" | ||
"leveldown": "^1.9.0", | ||
"levelup": "^1.3.9", | ||
"pull-stream": "^3.6.1" | ||
}, | ||
"devDependencies": { | ||
"aegir": "^11.0.2", | ||
"aegir": "^12.1.3", | ||
"async": "^2.5.0", | ||
"chai": "^4.1.0", | ||
"cids": "^0.5.1", | ||
"chai": "^4.1.2", | ||
"cids": "~0.5.2", | ||
"dirty-chai": "^2.0.1", | ||
"flow-bin": "^0.51.0", | ||
"memdown": "^1.2.4", | ||
"rimraf": "^2.6.1" | ||
"flow-bin": "^0.58.0", | ||
"memdown": "^1.4.1", | ||
"rimraf": "^2.6.2" | ||
}, | ||
"contributors": [ | ||
"David Dias <daviddias.p@gmail.com>", | ||
"Friedel Ziegelmayer <dignifiedquire@gmail.com>" | ||
"Friedel Ziegelmayer <dignifiedquire@gmail.com>", | ||
"Richard Schneider <makaretu@gmail.com>" | ||
] | ||
} | ||
} |
@@ -27,3 +27,3 @@ /* @flow */ | ||
constructor (path /* : string */, opts /* : ?LevelOptions */) { | ||
this.db = levelup(path, Object.assign(opts || {}, { | ||
this.db = levelup(path, Object.assign({}, opts, { | ||
compression: false, // same default as go | ||
@@ -126,3 +126,3 @@ valueEncoding: 'binary' | ||
if (values) { | ||
res.value = new Buffer(value) | ||
res.value = Buffer.from(value) | ||
} | ||
@@ -154,3 +154,2 @@ | ||
let i = 0 | ||
// $FlowFixMe | ||
tasks.push(pull.filter(() => i++ >= q.offset)) | ||
@@ -157,0 +156,0 @@ } |
@@ -64,6 +64,5 @@ /* @flow */ | ||
pull.map((e) => { | ||
console.log('=======') | ||
console.log(e) | ||
console.log(e.key.toBuffer().toString()) | ||
// console.log('=======') | ||
// console.log(e) | ||
// console.log(e.key.toBuffer().toString()) | ||
return new CID(1, 'dag-cbor', e.key.toBuffer()) | ||
@@ -70,0 +69,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
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
181559
59
2795
1
+ Addeddatastore-core@0.4.0(transitive)
+ Addedinterface-datastore@0.4.2(transitive)
- Removedasn1.js@1.0.35.4.1(transitive)
- Removedbase-x@3.0.10(transitive)
- Removedbase64-js@1.5.1(transitive)
- Removedbindings@1.5.0(transitive)
- Removedbip66@1.1.5(transitive)
- Removedblakejs@1.2.1(transitive)
- Removedbn.js@1.3.04.12.1(transitive)
- Removedbrorand@1.1.0(transitive)
- Removedbrowserify-aes@1.2.0(transitive)
- Removedbuffer@5.7.1(transitive)
- Removedbuffer-xor@1.0.3(transitive)
- Removedcipher-base@1.0.4(transitive)
- Removedcreate-hash@1.2.0(transitive)
- Removedcreate-hmac@1.1.7(transitive)
- Removeddatastore-core@0.3.0(transitive)
- Removeddrbg.js@1.0.1(transitive)
- Removedelliptic@6.6.1(transitive)
- Removedevp_bytestokey@1.0.3(transitive)
- Removedfile-uri-to-path@1.0.0(transitive)
- Removedhash-base@3.1.0(transitive)
- Removedhash.js@1.1.7(transitive)
- Removedhmac-drbg@1.0.1(transitive)
- Removedieee754@1.2.1(transitive)
- Removedinterface-datastore@0.3.1(transitive)
- Removedis-promise@1.0.1(transitive)
- Removedjs-sha3@0.7.00.8.0(transitive)
- Removedkeypair@1.0.4(transitive)
- Removedlibp2p-crypto@0.10.4(transitive)
- Removedlibp2p-crypto-secp256k1@0.2.3(transitive)
- Removedmd5.js@1.3.5(transitive)
- Removedminimalistic-assert@1.0.1(transitive)
- Removedminimalistic-crypto-utils@1.0.1(transitive)
- Removedmultibase@0.7.0(transitive)
- Removedmultihashes@0.4.21(transitive)
- Removedmultihashing-async@0.4.80.5.2(transitive)
- Removedmurmurhash3js@3.0.1(transitive)
- Removednan@2.22.0(transitive)
- Removednodeify@1.0.1(transitive)
- Removedobject-assign@2.1.1(transitive)
- Removedoptimist@0.3.7(transitive)
- Removedpem-jwk@1.5.1(transitive)
- Removedpromise@1.3.0(transitive)
- Removedprotocol-buffers-schema@3.6.0(transitive)
- Removedprotons@1.2.1(transitive)
- Removedreadable-stream@3.6.2(transitive)
- Removedripemd160@2.0.2(transitive)
- Removedrsa-pem-to-jwk@1.1.3(transitive)
- Removedrsa-unpack@0.0.6(transitive)
- Removedsafe-buffer@5.2.1(transitive)
- Removedsafer-buffer@2.1.2(transitive)
- Removedsecp256k1@3.8.1(transitive)
- Removedsha.js@2.4.11(transitive)
- Removedsigned-varint@2.0.1(transitive)
- Removedstring_decoder@1.3.0(transitive)
- Removedtweetnacl@1.0.3(transitive)
- Removedvarint@5.0.2(transitive)
- Removedwordwrap@0.0.3(transitive)
Updateddatastore-core@~0.4.0
Updatedinterface-datastore@~0.4.1
Updatedleveldown@^1.9.0
Updatedlevelup@^1.3.9
Updatedpull-stream@^3.6.1