@webassemblyjs/wasm-parser
Advanced tools
Comparing version 1.1.0 to 1.1.1
@@ -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 @@ |
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
80602
2409
+ Added@webassemblyjs/ast@1.1.1(transitive)
+ Added@webassemblyjs/helper-leb128@1.1.1(transitive)
+ Added@webassemblyjs/helper-wasm-bytecode@1.1.1(transitive)
+ Added@webassemblyjs/wast-parser@1.1.1(transitive)
+ Addedwebassemblyjs@1.1.1(transitive)
- Removed@webassemblyjs/ast@1.1.0(transitive)
- Removed@webassemblyjs/helper-leb128@1.1.0(transitive)
- Removed@webassemblyjs/helper-wasm-bytecode@1.1.0(transitive)
- Removed@webassemblyjs/wast-parser@1.1.0(transitive)
- Removedwebassemblyjs@1.1.0(transitive)
Updated@webassemblyjs/ast@1.1.1
Updatedwebassemblyjs@1.1.1