🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Sign inDemoInstall
Socket

css-loader

Package Overview
Dependencies
Maintainers
7
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

to
5.1.4

7

CHANGELOG.md

@@ -5,2 +5,9 @@ # Changelog

### [5.1.4](https://github.com/webpack-contrib/css-loader/compare/v5.1.3...v5.1.4) (2021-03-24)
### Bug Fixes
* crash with thread-loader ([#1281](https://github.com/webpack-contrib/css-loader/issues/1281)) ([7095a7c](https://github.com/webpack-contrib/css-loader/commit/7095a7ca7d985d5447aed80cf3e41a4f8c19b954))
### [5.1.3](https://github.com/webpack-contrib/css-loader/compare/v5.1.2...v5.1.3) (2021-03-15)

@@ -7,0 +14,0 @@

4

dist/utils.js

@@ -92,3 +92,3 @@ "use strict";

if (loaderContext._module.matchResource) {
if (loaderContext._module && loaderContext._module.matchResource) {
relativeMatchResource = `${normalizePath( // eslint-disable-next-line no-underscore-dangle

@@ -149,3 +149,3 @@ _path.default.relative(options.context, loaderContext._module.matchResource))}\x00`;

const resourcePath = // eslint-disable-next-line no-underscore-dangle
loaderContext._module.matchResource || loaderContext.resourcePath;
loaderContext._module && loaderContext._module.matchResource || loaderContext.resourcePath;
let isIcss;

@@ -152,0 +152,0 @@

{
"name": "css-loader",
"version": "5.1.3",
"version": "5.1.4",
"description": "css loader module for webpack",

@@ -5,0 +5,0 @@ "license": "MIT",