Socket
Socket
Sign inDemoInstall

@webassemblyjs/helper-wasm-section

Package Overview
Dependencies
4
Maintainers
1
Versions
81
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.1.1 to 1.1.2-y.0

7

lib/create.js

@@ -46,3 +46,8 @@ "use strict";

if (lastSection == null) {
start = uint8Buffer.length;
/**
* It's the first section
*/
start = 8
/* wasm header size */
;
end = start;

@@ -49,0 +54,0 @@ } else {

@@ -52,2 +52,5 @@ "use strict";

case "TypeInstruction":
return "type";
default:

@@ -54,0 +57,0 @@ throw new Error("Unsupported input in getSectionForNode: " + JSON.stringify(n.type));

12

package.json
{
"name": "@webassemblyjs/helper-wasm-section",
"version": "1.1.1",
"version": "1.1.2-y.0",
"description": "",

@@ -19,10 +19,10 @@ "main": "lib/index.js",

"dependencies": {
"@webassemblyjs/ast": "1.1.1",
"@webassemblyjs/helper-buffer": "1.1.1",
"@webassemblyjs/helper-wasm-bytecode": "1.1.1",
"@webassemblyjs/wasm-gen": "1.1.1"
"@webassemblyjs/ast": "1.1.2-y.0",
"@webassemblyjs/helper-buffer": "1.1.2-y.0",
"@webassemblyjs/helper-wasm-bytecode": "1.1.2-y.0",
"@webassemblyjs/wasm-gen": "1.1.2-y.0"
},
"devDependencies": {
"@webassemblyjs/wasm-parser": "1.1.1"
"@webassemblyjs/wasm-parser": "1.1.2-y.0"
}
}

@@ -47,3 +47,6 @@ // @flow

if (lastSection == null) {
start = uint8Buffer.length;
/**
* It's the first section
*/
start = 8 /* wasm header size */;
end = start;

@@ -50,0 +53,0 @@ } else {

@@ -21,2 +21,5 @@ // @flow

case "TypeInstruction":
return "type";
default:

@@ -23,0 +26,0 @@ throw new Error(

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc