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

as-loader

Package Overview
Dependencies
Maintainers
1
Versions
46
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

as-loader - npm Package Compare versions

Comparing version 0.9.0--canary.24.8923fde.0 to 0.9.0

3

loader/index.js

@@ -62,3 +62,4 @@ "use strict";

// when user imports wasm with webassembly type, it's not possible to pass env
runtime: ((_a = module.type) === null || _a === void 0 ? void 0 : _a.startsWith("webassembly")) ? "stub" : "incremental", exportRuntime: !((_b = module.type) === null || _b === void 0 ? void 0 : _b.startsWith("webassembly")), debug: this.mode === "development", optimizeLevel: 3, shrinkLevel: 1, noAssert: this.mode === "production" }, userAscOptions);
runtime: ((_a = module.type) === null || _a === void 0 ? void 0 : _a.startsWith("webassembly")) ? "stub" : "incremental", exportRuntime: !((_b = module.type) === null || _b === void 0 ? void 0 : _b.startsWith("webassembly")) &&
userAscOptions.exportRuntime !== "stub", debug: this.mode === "development", optimizeLevel: 3, shrinkLevel: 1, noAssert: this.mode === "production" }, userAscOptions);
if (!SUPPORTED_EXTENSIONS.some(function (extension) { return name.endsWith(extension); })) {

@@ -65,0 +66,0 @@ throw new Error("Unsupported extension in name: \"" + name + "\" option in as-loader. " +

{
"name": "as-loader",
"version": "0.9.0--canary.24.8923fde.0",
"version": "0.9.0",
"description": "AssemblyScript loader for webpack",

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

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