Socket
Socket
Sign inDemoInstall

script-loader

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

script-loader - npm Package Compare versions

Comparing version 0.3.0 to 0.3.1

10

index.js

@@ -13,4 +13,12 @@ /*

"(require(" +
JSON.stringify("raw" + rawJs) + "))";
JSON.stringify("raw" + rawJs) + ")" +
(this.debug ?
"+" +
JSON.stringify(
"\n\n// SCRIPT-LOADER FOOTER\n//@ sourceURL=script:///" +
encodeURI(rawJs.replace(/^!/, "")).replace(/%5C|%2F/g, "/").replace(/\?/, "%3F").replace(/^\//, "")
) :
"") +
")";
}
module.exports.seperable = true;

2

package.json
{
"name": "script-loader",
"version": "0.3.0",
"version": "0.3.1",
"author": "Tobias Koppers @sokra",

@@ -5,0 +5,0 @@ "description": "script loader module for webpack",

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