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

broccoli-rust2wasm

Package Overview
Dependencies
Maintainers
8
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

broccoli-rust2wasm - npm Package Compare versions

Comparing version 0.3.1 to 0.3.2

8

dist/lib/plugin.js

@@ -101,5 +101,7 @@ "use strict";

return `${toBuffer}
export default async (imports) =>
const mod = await WebAssembly.compile(${deserialized});
return (await WebAssembly.instantiate(mod, imports)).exports;`;
export default (imports) => {
return WebAssembly.compile(${deserialized})
.then((mod) => WebAssembly.instantiate(mod, imports))
.then((m) => m.exports)
}`;
}

@@ -106,0 +108,0 @@ else {

{
"name": "broccoli-rust2wasm",
"version": "0.3.1",
"version": "0.3.2",
"description": "broccoli plugin to build rust to wasm",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

Sorry, the diff of this file is not supported yet

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