wasmparser
Advanced tools
Comparing version 0.16.0 to 0.16.1
@@ -712,2 +712,5 @@ "use strict"; | ||
{ | ||
// Table index might be omitted and defaults to 0. | ||
if (operator.tableIndex === 0 && operator.destinationIndex === 0) | ||
break; | ||
var tableName = this._nameResolver.getTableName(operator.tableIndex, true); | ||
@@ -720,2 +723,7 @@ var destinationName = this._nameResolver.getTableName(operator.destinationIndex, true); | ||
{ | ||
// Table index might be omitted and defaults to 0. | ||
if (operator.tableIndex === 0) { | ||
this.appendBuffer(" " + operator.segmentIndex); | ||
break; | ||
} | ||
var tableName = this._nameResolver.getTableName(operator.tableIndex, true); | ||
@@ -722,0 +730,0 @@ this.appendBuffer(" " + operator.segmentIndex + " " + tableName); |
@@ -669,2 +669,5 @@ /* Copyright 2016 Mozilla Foundation | ||
{ | ||
// Table index might be omitted and defaults to 0. | ||
if (operator.tableIndex === 0 && operator.destinationIndex === 0) | ||
break; | ||
let tableName = this._nameResolver.getTableName(operator.tableIndex, true); | ||
@@ -677,2 +680,7 @@ let destinationName = this._nameResolver.getTableName(operator.destinationIndex, true); | ||
{ | ||
// Table index might be omitted and defaults to 0. | ||
if (operator.tableIndex === 0) { | ||
this.appendBuffer(` ${operator.segmentIndex}`); | ||
break; | ||
} | ||
let tableName = this._nameResolver.getTableName(operator.tableIndex, true); | ||
@@ -679,0 +687,0 @@ this.appendBuffer(` ${operator.segmentIndex} ${tableName}`); |
{ | ||
"name": "wasmparser", | ||
"version": "0.16.0", | ||
"version": "0.16.1", | ||
"description": "Binary WebAssembly file parser.", | ||
@@ -5,0 +5,0 @@ "main": "dist/cjs/index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
745282
11176