Socket
Socket
Sign inDemoInstall

mini-css-extract-plugin

Package Overview
Dependencies
Maintainers
3
Versions
78
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mini-css-extract-plugin - npm Package Compare versions

Comparing version 2.4.3 to 2.4.4

2

dist/index.js

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

return referencedChunk.canBeInitial() ? this.options.filename : this.options.chunkFilename;
}, true));
}));
compilation.addRuntimeModule(chunk, new CssLoadingRuntimeModule(set, this.runtimeOptions));

@@ -584,0 +584,0 @@ };

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

if (typeof loaderContext.utils !== "undefined" && typeof loaderContext.utils.contextify === "function") {
return JSON.stringify(loaderContext.utils.contextify(loaderContext.context, request));
return JSON.stringify(loaderContext.utils.contextify(loaderContext.context || loaderContext.rootContext, request));
}

@@ -98,0 +98,0 @@

{
"name": "mini-css-extract-plugin",
"version": "2.4.3",
"version": "2.4.4",
"description": "extracts CSS into separate files",

@@ -51,7 +51,7 @@ "license": "MIT",

"@babel/core": "^7.14.6",
"@babel/eslint-parser": "^7.16.0",
"@babel/preset-env": "^7.14.9",
"@commitlint/cli": "^13.1.0",
"@commitlint/config-conventional": "^13.1.0",
"@commitlint/cli": "^14.1.0",
"@commitlint/config-conventional": "^14.1.0",
"@webpack-contrib/eslint-config-webpack": "^3.0.0",
"babel-eslint": "^10.1.0",
"babel-jest": "^27.0.6",

@@ -64,3 +64,3 @@ "bootstrap": "^4.6.0",

"es-check": "^6.0.0",
"eslint": "^7.30.0",
"eslint": "^8.1.0",
"eslint-config-prettier": "^8.1.0",

@@ -67,0 +67,0 @@ "eslint-plugin-import": "^2.23.4",

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