Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

webassemblyjs

Package Overview
Dependencies
Maintainers
1
Versions
96
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

webassemblyjs - npm Package Compare versions

Comparing version 1.2.1 to 1.2.2

lib/compiler/validation/import-order.js

3

lib/compiler/validation/index.js

@@ -12,2 +12,4 @@ "use strict";

var _importOrder = _interopRequireDefault(require("./import-order"));
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

@@ -21,2 +23,3 @@

errors.push.apply(errors, _toConsumableArray((0, _mutGlobal.default)(ast)));
errors.push.apply(errors, _toConsumableArray((0, _importOrder.default)(ast)));

@@ -23,0 +26,0 @@ if (errors.length !== 0) {

8

package.json
{
"name": "webassemblyjs",
"version": "1.2.1",
"version": "1.2.2",
"keywords": [

@@ -21,5 +21,5 @@ "webassembly",

"dependencies": {
"@webassemblyjs/ast": "1.2.1",
"@webassemblyjs/wasm-parser": "1.2.1",
"@webassemblyjs/wast-parser": "1.2.1",
"@webassemblyjs/ast": "1.2.2",
"@webassemblyjs/wasm-parser": "1.2.2",
"@webassemblyjs/wast-parser": "1.2.2",
"long": "^3.2.0",

@@ -26,0 +26,0 @@ "webassembly-floating-point-hex-parser": "0.1.2"

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

import mutGlobalValidate from "./mut-global";
import importOrderValidate from "./import-order";

@@ -12,2 +13,3 @@ export default function validateAST(ast: Program) {

errors.push(...mutGlobalValidate(ast));
errors.push(...importOrderValidate(ast));

@@ -14,0 +16,0 @@ if (errors.length !== 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