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.6.1 to 0.6.2

7

index.js

@@ -34,2 +34,9 @@ /*

var match = /^%CSSURL\[%(.*?)%\]CSSURL%$/.exec(str);
var idx = match[1].indexOf("?");
if(idx < 0) idx = match[1].indexOf("#");
if(idx >= 0) {
// in cases like url('webfont.eot?#iefix')
var url = JSON.parse("\"" + match[1].substr(0, idx) + "\"");
return "\"+require(" + JSON.stringify(urlToRequire(url)) + ")+\"" + match[1].substr(idx);
}
var url = JSON.parse("\"" + match[1] + "\"");

@@ -36,0 +43,0 @@ return "\"+require(" + JSON.stringify(urlToRequire(url)) + ")+\"";

2

package.json
{
"name": "css-loader",
"version": "0.6.1",
"version": "0.6.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