Comparing version 1.0.5 to 1.0.6
{ | ||
"name": "level-js", | ||
"version": "1.0.5", | ||
"version": "1.0.6", | ||
"description": "leveldown/leveldb library for browsers using IndexedDB", | ||
@@ -26,3 +26,3 @@ "main": "index.js", | ||
"idb-wrapper": "1.2.0", | ||
"abstract-leveldown": "~0.7.1", | ||
"abstract-leveldown": "git://github.com/rvagg/node-abstract-leveldown.git", | ||
"levelup": "~0.9.0", | ||
@@ -29,0 +29,0 @@ "isbuffer": "0.0.0" |
13
test.js
@@ -7,6 +7,11 @@ var tape = require('tape') | ||
, testCommon = require('./testCommon') | ||
, testBuffer = new Uint8Array(1) | ||
testBuffer[0] = '☃' | ||
var str = 'foo' | ||
var testBuffer = new ArrayBuffer(str.length * 2) | ||
var bufView = new Uint16Array(testBuffer); | ||
for (var i = 0, strLen = str.length; i < strLen; i++) { | ||
bufView[i] = str.charCodeAt(i) | ||
} | ||
/*** compatibility with basic LevelDOWN API ***/ | ||
@@ -21,6 +26,6 @@ | ||
require('abstract-leveldown/abstract/put-get-del-test').all(factory, tape, testCommon, testBuffer) | ||
require('abstract-leveldown/abstract/batch-test').all(factory, tape, testCommon) | ||
require('abstract-leveldown/abstract/chained-batch-test').all(factory, tape, testCommon) | ||
// require('abstract-leveldown/abstract/batch-test').all(factory, tape, testCommon) | ||
// require('abstract-leveldown/abstract/chained-batch-test').all(factory, tape, testCommon) | ||
require('abstract-leveldown/abstract/close-test').close(factory, tape, testCommon) | ||
require('abstract-leveldown/abstract/iterator-test').all(factory, tape, testCommon) | ||
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
Git dependency
Supply chain riskContains a dependency which resolves to a remote git URL. Dependencies fetched from git URLs are not immutable can be used to inject untrusted code or reduce the likelihood of a reproducible install.
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
16586
329
1
- Removedabstract-leveldown@0.7.4(transitive)
Updatedabstract-leveldown@git://github.com/rvagg/node-abstract-leveldown.git