@webassemblyjs/wasm-edit
Advanced tools
Comparing version 1.1.2-y.5 to 1.1.2-y.6
@@ -13,2 +13,4 @@ "use strict"; | ||
var _clone = require("@webassemblyjs/ast/lib/clone"); | ||
var _apply = require("./apply"); | ||
@@ -39,3 +41,3 @@ | ||
function before(type, path) { | ||
nodeBefore = (0, _ast.cloneNode)(path.node); | ||
nodeBefore = (0, _clone.cloneNode)(path.node); | ||
} | ||
@@ -48,4 +50,2 @@ | ||
nodesToUpdate.push([nodeBefore, path.node]); | ||
} else { | ||
console.log(hashNode(nodeBefore), hashNode(path.node)); | ||
} | ||
@@ -52,0 +52,0 @@ } |
{ | ||
"name": "@webassemblyjs/wasm-edit", | ||
"version": "1.1.2-y.5", | ||
"version": "1.1.2-y.6", | ||
"description": "", | ||
@@ -19,9 +19,9 @@ "main": "lib/index.js", | ||
"dependencies": { | ||
"@webassemblyjs/ast": "1.1.2-y.5", | ||
"@webassemblyjs/helper-buffer": "1.1.2-y.5", | ||
"@webassemblyjs/helper-wasm-bytecode": "1.1.2-y.5", | ||
"@webassemblyjs/helper-wasm-section": "1.1.2-y.5", | ||
"@webassemblyjs/wasm-gen": "1.1.2-y.5", | ||
"@webassemblyjs/wasm-parser": "1.1.2-y.5" | ||
"@webassemblyjs/ast": "1.1.2-y.6", | ||
"@webassemblyjs/helper-buffer": "1.1.2-y.6", | ||
"@webassemblyjs/helper-wasm-bytecode": "1.1.2-y.6", | ||
"@webassemblyjs/helper-wasm-section": "1.1.2-y.6", | ||
"@webassemblyjs/wasm-gen": "1.1.2-y.6", | ||
"@webassemblyjs/wasm-parser": "1.1.2-y.6" | ||
} | ||
} |
// @flow | ||
import { decode } from "@webassemblyjs/wasm-parser"; | ||
import { cloneNode, traverseWithHooks } from "@webassemblyjs/ast"; | ||
import { traverseWithHooks } from "@webassemblyjs/ast"; | ||
import { cloneNode } from "@webassemblyjs/ast/lib/clone"; | ||
import { | ||
@@ -46,4 +47,2 @@ applyToNodeToDelete, | ||
nodesToUpdate.push([nodeBefore, path.node]); | ||
} else { | ||
console.log(hashNode(nodeBefore), hashNode(path.node)); | ||
} | ||
@@ -50,0 +49,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
3
17280
423
+ Added@webassemblyjs/ast@1.1.2-y.6(transitive)
+ Added@webassemblyjs/helper-buffer@1.1.2-y.6(transitive)
+ Added@webassemblyjs/helper-leb128@1.1.2-y.6(transitive)
+ Added@webassemblyjs/helper-wasm-bytecode@1.1.2-y.6(transitive)
+ Added@webassemblyjs/helper-wasm-section@1.1.2-y.6(transitive)
+ Added@webassemblyjs/wasm-gen@1.1.2-y.6(transitive)
+ Added@webassemblyjs/wasm-parser@1.1.2-y.6(transitive)
+ Added@webassemblyjs/wast-parser@1.1.2-y.6(transitive)
+ Addedwebassemblyjs@1.1.2-y.6(transitive)
- Removed@webassemblyjs/ast@1.1.2-y.5(transitive)
- Removed@webassemblyjs/helper-buffer@1.1.2-y.5(transitive)
- Removed@webassemblyjs/helper-leb128@1.1.2-y.5(transitive)
- Removed@webassemblyjs/helper-wasm-bytecode@1.1.2-y.5(transitive)
- Removed@webassemblyjs/helper-wasm-section@1.1.2-y.5(transitive)
- Removed@webassemblyjs/wasm-gen@1.1.2-y.5(transitive)
- Removed@webassemblyjs/wasm-parser@1.1.2-y.5(transitive)
- Removed@webassemblyjs/wast-parser@1.1.2-y.5(transitive)
- Removedwebassemblyjs@1.1.2-y.5(transitive)
Updated@webassemblyjs/ast@1.1.2-y.6