Socket
Socket
Sign inDemoInstall

css-loader

Package Overview
Dependencies
8
Maintainers
1
Versions
152
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.6.5 to 0.6.6

16

index.js

@@ -22,9 +22,13 @@ /*

imports.forEach(function(imp) {
if(imp.media.length > 0) {
result.push(JSON.stringify("@media " + imp.media.join("") + "{"));
if(/^data:|^(https?:)?\/\//.test(imp.url)) {
result.push(JSON.stringify("@import url(" + imp.url + ")" + imp.media.join("") + ";"));
} else {
if(imp.media.length > 0) {
result.push(JSON.stringify("@media " + imp.media.join("") + "{"));
}
result.push("require(" + JSON.stringify("!" + __filename + "!" + urlToRequire(imp.url)) + ")");
if(imp.media.length > 0) {
result.push(JSON.stringify("}"));
}
}
result.push("require(" + JSON.stringify("!" + __filename + "!" + urlToRequire(imp.url)) + ")");
if(imp.media.length > 0) {
result.push(JSON.stringify("}"));
}
});

@@ -31,0 +35,0 @@ }

{
"name": "css-loader",
"version": "0.6.5",
"version": "0.6.6",
"author": "Tobias Koppers @sokra",

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

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc