Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

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.9.0 to 0.9.1

4

index.js

@@ -47,4 +47,4 @@ /*

var match = /^%CSSURL\[%(["']?(.*?)["']?)%\]CSSURL%$/.exec(JSON.parse('"' + str + '"'));
var url = loaderUtils.parseString(match[2]);
if(!loaderUtils.isUrlRequest(match[2], root)) return JSON.stringify(match[1]).replace(/^"|"$/g, "");
var url = loaderUtils.parseString(match[1]);
if(!loaderUtils.isUrlRequest(url, root)) return JSON.stringify(match[1]).replace(/^"|"$/g, "");
var idx = url.indexOf("?#");

@@ -51,0 +51,0 @@ if(idx < 0) idx = url.indexOf("#");

{
"name": "css-loader",
"version": "0.9.0",
"version": "0.9.1",
"author": "Tobias Koppers @sokra",

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

@@ -20,3 +20,3 @@ # css loader for webpack

To be combatible to existing css files:
To be compatible with existing css files:
* `url(image.png)` => `require("./image.png")`

@@ -23,0 +23,0 @@ * `url(~module/image.png)` => `require("module/image.png")`

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