Socket
Socket
Sign inDemoInstall

@webassemblyjs/wast-parser

Package Overview
Dependencies
12
Maintainers
1
Versions
86
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.5.7 to 1.5.8

21

lib/grammar.js

@@ -1280,17 +1280,16 @@ "use strict";

function parseFuncResult() {
var results = []; // type is optional
var results = [];
if (token.type === tokens.closeParen) {
return results;
}
while (token.type !== tokens.closeParen) {
if (token.type !== tokens.valtype) {
throw function () {
return new Error("\n" + (0, _helperCodeFrame.codeFrameFromSource)(source, token.loc) + "\n" + "Unexpected token in func result" + ", given " + tokenToString(token));
}();
}
if (token.type !== tokens.valtype) {
throw function () {
return new Error("\n" + (0, _helperCodeFrame.codeFrameFromSource)(source, token.loc) + "\n" + "Unexpected token in func result" + ", given " + tokenToString(token));
}();
var valtype = token.value;
eatToken();
results.push(valtype);
}
var valtype = token.value;
eatToken();
results.push(valtype);
return results;

@@ -1297,0 +1296,0 @@ }

{
"name": "@webassemblyjs/wast-parser",
"version": "1.5.7",
"version": "1.5.8",
"description": "WebAssembly text format parser",

@@ -20,7 +20,7 @@ "keywords": [

"dependencies": {
"@webassemblyjs/ast": "1.5.7",
"@webassemblyjs/floating-point-hex-parser": "1.5.7",
"@webassemblyjs/helper-api-error": "1.5.7",
"@webassemblyjs/helper-code-frame": "1.5.7",
"@webassemblyjs/helper-fsm": "1.5.7",
"@webassemblyjs/ast": "1.5.8",
"@webassemblyjs/floating-point-hex-parser": "1.5.8",
"@webassemblyjs/helper-api-error": "1.5.8",
"@webassemblyjs/helper-code-frame": "1.5.8",
"@webassemblyjs/helper-fsm": "1.5.8",
"long": "^3.2.0",

@@ -30,3 +30,3 @@ "mamacro": "^0.0.3"

"devDependencies": {
"@webassemblyjs/helper-test-framework": "1.5.7"
"@webassemblyjs/helper-test-framework": "1.5.8"
},

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

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc