Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

datastore-level

Package Overview
Dependencies
Maintainers
2
Versions
48
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

datastore-level - npm Package Compare versions

Comparing version 0.6.0 to 0.7.0

.appveyor.yml

10

CHANGELOG.md

@@ -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)

51

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc