Socket
Socket
Sign inDemoInstall

@webassemblyjs/wasm-parser

Package Overview
Dependencies
Maintainers
1
Versions
86
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@webassemblyjs/wasm-parser - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1

4

lib/decoder.js

@@ -911,2 +911,3 @@ "use strict";

function parseStartSection() {
var startLoc = getPosition();
var u32 = readU32();

@@ -916,3 +917,4 @@ var startFuncIndex = u32.value;

dump([startFuncIndex], "index");
return t.start(t.indexLiteral(startFuncIndex));
var endLoc = getPosition();
return t.withLoc(t.start(t.indexLiteral(startFuncIndex)), endLoc, startLoc);
} // https://webassembly.github.io/spec/binary/modules.html#data-section

@@ -919,0 +921,0 @@

{
"name": "@webassemblyjs/wasm-parser",
"version": "1.1.0",
"version": "1.1.1",
"keywords": [

@@ -19,7 +19,7 @@ "webassembly",

"dependencies": {
"@webassemblyjs/ast": "1.1.0",
"@webassemblyjs/helper-leb128": "1.1.0",
"@webassemblyjs/helper-wasm-bytecode": "1.1.0",
"@webassemblyjs/wasm-parser": "1.1.0",
"webassemblyjs": "1.1.0"
"@webassemblyjs/ast": "1.1.1",
"@webassemblyjs/helper-leb128": "1.1.1",
"@webassemblyjs/helper-wasm-bytecode": "1.1.1",
"@webassemblyjs/wasm-parser": "1.1.1",
"webassemblyjs": "1.1.1"
},

@@ -26,0 +26,0 @@ "repository": {

@@ -1058,2 +1058,4 @@ // @flow

function parseStartSection() {
const startLoc = getPosition();
const u32 = readU32();

@@ -1065,3 +1067,5 @@ const startFuncIndex = u32.value;

return t.start(t.indexLiteral(startFuncIndex));
const endLoc = getPosition();
return t.withLoc(t.start(t.indexLiteral(startFuncIndex)), endLoc, startLoc);
}

@@ -1068,0 +1072,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