Comparing version 1.1.1 to 1.1.2
23
index.js
@@ -64,7 +64,9 @@ module.exports = Level | ||
var op | ||
, i | ||
, copiedOp | ||
, modified = [] | ||
var i | ||
var k | ||
var copiedOp | ||
var currentOp | ||
var modified = [] | ||
for (i=0; i < array.length; i++) { | ||
for (i = 0; i < array.length; i++) { | ||
copiedOp = {} | ||
@@ -115,14 +117,1 @@ currentOp = array[i] | ||
} | ||
function ArrayBufferToString(buf) { | ||
return String.fromCharCode.apply(null, new Uint16Array(buf)) | ||
} | ||
function StringToArrayBuffer(str) { | ||
var buf = new ArrayBuffer(str.length * 2) // 2 bytes for each char | ||
var bufView = new Uint16Array(buf) | ||
for (var i = 0, strLen = str.length; i < strLen; i++) { | ||
bufView[i] = str.charCodeAt(i) | ||
} | ||
return buf | ||
} |
{ | ||
"name": "level-js", | ||
"version": "1.1.1", | ||
"version": "1.1.2", | ||
"description": "leveldown/leveldb library for browsers using IndexedDB", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
17696
361