@webassemblyjs/wasm-edit
Advanced tools
Comparing version 1.7.0-0 to 1.7.1-0
@@ -5,3 +5,5 @@ import { decode } from "@webassemblyjs/wasm-parser"; | ||
import { shrinkPaddedLEB128 } from "@webassemblyjs/wasm-opt"; | ||
import constants from "@webassemblyjs/helper-wasm-bytecode"; | ||
var constants = require("@webassemblyjs/helper-wasm-bytecode"); | ||
import { applyOperations } from "./apply"; | ||
@@ -8,0 +10,0 @@ |
@@ -19,7 +19,5 @@ "use strict"; | ||
var _helperWasmBytecode = _interopRequireDefault(require("@webassemblyjs/helper-wasm-bytecode")); | ||
var _apply = require("./apply"); | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
var constants = require("@webassemblyjs/helper-wasm-bytecode"); | ||
@@ -37,9 +35,7 @@ function hashNode(node) { | ||
nodes.sort(function (a, b) { | ||
var sectionA = _helperWasmBytecode.default.getSectionForNode(a); | ||
var sectionA = constants.getSectionForNode(a); | ||
var sectionB = constants.getSectionForNode(b); | ||
var aId = constants.sections[sectionA]; | ||
var bId = constants.sections[sectionB]; | ||
var sectionB = _helperWasmBytecode.default.getSectionForNode(b); | ||
var aId = _helperWasmBytecode.default.sections[sectionA]; | ||
var bId = _helperWasmBytecode.default.sections[sectionB]; | ||
if (typeof aId !== "number" || typeof bId !== "number") { | ||
@@ -46,0 +42,0 @@ throw new Error("Section id not found"); |
{ | ||
"name": "@webassemblyjs/wasm-edit", | ||
"version": "1.7.0-0", | ||
"version": "1.7.1-0", | ||
"description": "", | ||
@@ -20,15 +20,15 @@ "main": "lib/index.js", | ||
"dependencies": { | ||
"@webassemblyjs/ast": "1.7.0-0", | ||
"@webassemblyjs/helper-buffer": "1.7.0-0", | ||
"@webassemblyjs/helper-wasm-bytecode": "1.7.0-0", | ||
"@webassemblyjs/helper-wasm-section": "1.7.0-0", | ||
"@webassemblyjs/wasm-gen": "1.7.0-0", | ||
"@webassemblyjs/wasm-opt": "1.7.0-0", | ||
"@webassemblyjs/wasm-parser": "1.7.0-0", | ||
"@webassemblyjs/wast-printer": "1.7.0-0", | ||
"@webassemblyjs/ast": "1.7.1-0", | ||
"@webassemblyjs/helper-buffer": "1.7.1-0", | ||
"@webassemblyjs/helper-wasm-bytecode": "1.7.1-0", | ||
"@webassemblyjs/helper-wasm-section": "1.7.1-0", | ||
"@webassemblyjs/wasm-gen": "1.7.1-0", | ||
"@webassemblyjs/wasm-opt": "1.7.1-0", | ||
"@webassemblyjs/wasm-parser": "1.7.1-0", | ||
"@webassemblyjs/wast-printer": "1.7.1-0", | ||
"debug": "^3.1.0" | ||
}, | ||
"devDependencies": { | ||
"@webassemblyjs/helper-test-framework": "1.7.0-0" | ||
"@webassemblyjs/helper-test-framework": "1.7.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
25562
615
+ Added@webassemblyjs/ast@1.7.1-0(transitive)
+ Added@webassemblyjs/floating-point-hex-parser@1.7.1-0(transitive)
+ Added@webassemblyjs/helper-api-error@1.7.1-0(transitive)
+ Added@webassemblyjs/helper-buffer@1.7.1-0(transitive)
+ Added@webassemblyjs/helper-code-frame@1.7.1-0(transitive)
+ Added@webassemblyjs/helper-fsm@1.7.1-0(transitive)
+ Added@webassemblyjs/helper-module-context@1.7.1-0(transitive)
+ Added@webassemblyjs/helper-wasm-bytecode@1.7.1-0(transitive)
+ Added@webassemblyjs/helper-wasm-section@1.7.1-0(transitive)
+ Added@webassemblyjs/ieee754@1.7.1-0(transitive)
+ Added@webassemblyjs/leb128@1.7.1-0(transitive)
+ Added@webassemblyjs/utf8@1.7.1-0(transitive)
+ Added@webassemblyjs/wasm-gen@1.7.1-0(transitive)
+ Added@webassemblyjs/wasm-opt@1.7.1-0(transitive)
+ Added@webassemblyjs/wasm-parser@1.7.1-0(transitive)
+ Added@webassemblyjs/wast-parser@1.7.1-0(transitive)
+ Added@webassemblyjs/wast-printer@1.7.1-0(transitive)
- Removed@webassemblyjs/ast@1.7.0-0(transitive)
- Removed@webassemblyjs/floating-point-hex-parser@1.7.0-0(transitive)
- Removed@webassemblyjs/helper-api-error@1.7.0-0(transitive)
- Removed@webassemblyjs/helper-buffer@1.7.0-0(transitive)
- Removed@webassemblyjs/helper-code-frame@1.7.0-0(transitive)
- Removed@webassemblyjs/helper-fsm@1.7.0-0(transitive)
- Removed@webassemblyjs/helper-module-context@1.7.0-0(transitive)
- Removed@webassemblyjs/helper-wasm-bytecode@1.7.0-0(transitive)
- Removed@webassemblyjs/helper-wasm-section@1.7.0-0(transitive)
- Removed@webassemblyjs/ieee754@1.7.0-0(transitive)
- Removed@webassemblyjs/leb128@1.7.0-0(transitive)
- Removed@webassemblyjs/utf8@1.7.0-0(transitive)
- Removed@webassemblyjs/wasm-gen@1.7.0-0(transitive)
- Removed@webassemblyjs/wasm-opt@1.7.0-0(transitive)
- Removed@webassemblyjs/wasm-parser@1.7.0-0(transitive)
- Removed@webassemblyjs/wast-parser@1.7.0-0(transitive)
- Removed@webassemblyjs/wast-printer@1.7.0-0(transitive)
Updated@webassemblyjs/ast@1.7.1-0