Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@webassemblyjs/wasm-edit

Package Overview
Dependencies
Maintainers
1
Versions
84
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@webassemblyjs/wasm-edit - npm Package Compare versions

Comparing version 1.1.2-y.5 to 1.1.2-y.6

6

lib/index.js

@@ -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 @@ }

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc