Socket
Socket
Sign inDemoInstall

css-loader

Package Overview
Dependencies
Maintainers
1
Versions
152
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

css-loader - npm Package Compare versions

Comparing version 0.1.1 to 0.1.2

8

index.js

@@ -20,3 +20,3 @@ /*

}
result.push("require(" + JSON.stringify(__filename) + " + \"!\" + " + JSON.stringify(imp.url) + ")");
result.push("require(" + JSON.stringify(__filename) + " + \"!\" + " + JSON.stringify(urlToRequire(imp.url)) + ")");
if(imp.media.length > 0) {

@@ -31,2 +31,8 @@ result.push(JSON.stringify("}"));

function urlToRequire(url) {
if(/^~/.test(url))
return url.substring(1);
else
return "./"+url;
}
function extractImports(tree) {

@@ -33,0 +39,0 @@ var results = [];

2

package.json
{
"name": "css-loader",
"version": "0.1.1",
"version": "0.1.2",
"author": "Tobias Koppers @sokra",

@@ -5,0 +5,0 @@ "description": "css 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