Socket
Socket
Sign inDemoInstall

imports-loader

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

imports-loader - npm Package Compare versions

Comparing version 0.6.4 to 0.6.5

4

index.js

@@ -33,3 +33,3 @@ /*

var prefix = HEADER + imports.join("\n") + "\n\n";
var postfix = postfixes.join("\n");
var postfix = "\n" + postfixes.join("\n");
if(sourceMap) {

@@ -47,2 +47,2 @@ var currentRequest = loaderUtils.getCurrentRequest(this);

return prefix + content + postfix;
}
}
{
"name": "imports-loader",
"version": "0.6.4",
"version": "0.6.5",
"author": "Tobias Koppers @sokra",

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

@@ -57,3 +57,3 @@ # imports loader for webpack

{
test: require.resolve("some-module")
test: require.resolve("some-module"),
loader: "imports?this=>window"

@@ -60,0 +60,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