@webassemblyjs/helper-buffer
Advanced tools
Comparing version 1.7.0-0 to 1.7.0-1
function _toConsumableArray(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = new Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } else { return Array.from(arr); } } | ||
var debug = require("debug")("webassemblyjs:wasm"); | ||
function concatUint8Arrays() { | ||
@@ -32,7 +30,3 @@ for (var _len = arguments.length, arrays = new Array(_len), _key = 0; _key < _len; _key++) { | ||
var beforeBytes = buffer.slice(0, startLoc); | ||
var afterBytes = buffer.slice(endLoc, buffer.length); | ||
debug("overrideBytesInBuffer start=%d end=%d newBytes=%s", startLoc, endLoc, // $FlowIgnore | ||
newBytes.map(function (dec) { | ||
return dec.toString("16"); | ||
}).join()); // replacement is empty, we can omit it | ||
var afterBytes = buffer.slice(endLoc, buffer.length); // replacement is empty, we can omit it | ||
@@ -39,0 +33,0 @@ if (newBytes.length === 0) { |
@@ -12,4 +12,2 @@ "use strict"; | ||
var debug = require("debug")("webassemblyjs:wasm"); | ||
function concatUint8Arrays() { | ||
@@ -42,7 +40,3 @@ for (var _len = arguments.length, arrays = new Array(_len), _key = 0; _key < _len; _key++) { | ||
var beforeBytes = buffer.slice(0, startLoc); | ||
var afterBytes = buffer.slice(endLoc, buffer.length); | ||
debug("overrideBytesInBuffer start=%d end=%d newBytes=%s", startLoc, endLoc, // $FlowIgnore | ||
newBytes.map(function (dec) { | ||
return dec.toString("16"); | ||
}).join()); // replacement is empty, we can omit it | ||
var afterBytes = buffer.slice(endLoc, buffer.length); // replacement is empty, we can omit it | ||
@@ -49,0 +43,0 @@ if (newBytes.length === 0) { |
{ | ||
"name": "@webassemblyjs/helper-buffer", | ||
"version": "1.7.0-0", | ||
"version": "1.7.0-1", | ||
"description": "Buffer manipulation utility", | ||
@@ -20,8 +20,5 @@ "main": "lib/index.js", | ||
"devDependencies": { | ||
"@webassemblyjs/wasm-parser": "1.7.0-0", | ||
"@webassemblyjs/wasm-parser": "1.7.0-1", | ||
"jest-diff": "^22.4.0" | ||
}, | ||
"dependencies": { | ||
"debug": "^3.1.0" | ||
} | ||
} |
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
0
7554
222
- Removeddebug@^3.1.0
- Removeddebug@3.2.7(transitive)
- Removedms@2.1.3(transitive)