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

mini-css-extract-plugin

Package Overview
Dependencies
Maintainers
5
Versions
79
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.2 to 2.4.3

2

dist/index.js

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

});
exports.default = exports.pluginSymbol = exports.pluginName = void 0;
exports.pluginSymbol = exports.pluginName = exports.default = void 0;

@@ -9,0 +9,0 @@ var _schemaUtils = require("schema-utils");

@@ -6,4 +6,4 @@ "use strict";

});
exports.default = _default;
exports.pitch = pitch;
exports.default = _default;

@@ -10,0 +10,0 @@ var _path = _interopRequireDefault(require("path"));

@@ -6,9 +6,9 @@ "use strict";

});
exports.trueFn = trueFn;
exports.SINGLE_DOT_PATH_SEGMENT = exports.MODULE_TYPE = exports.AUTO_PUBLIC_PATH = exports.ABSOLUTE_PUBLIC_PATH = void 0;
exports.compareModulesByIdentifier = compareModulesByIdentifier;
exports.evalModuleCode = evalModuleCode;
exports.findModuleById = findModuleById;
exports.evalModuleCode = evalModuleCode;
exports.compareModulesByIdentifier = compareModulesByIdentifier;
exports.getUndoPath = getUndoPath;
exports.stringifyRequest = stringifyRequest;
exports.getUndoPath = getUndoPath;
exports.SINGLE_DOT_PATH_SEGMENT = exports.ABSOLUTE_PUBLIC_PATH = exports.AUTO_PUBLIC_PATH = exports.MODULE_TYPE = void 0;
exports.trueFn = trueFn;

@@ -91,5 +91,10 @@ var _module = _interopRequireDefault(require("module"));

return RELATIVE_PATH_REGEXP.test(str);
}
} // TODO simplify for the next major release
function stringifyRequest(loaderContext, request) {
if (typeof loaderContext.utils !== "undefined" && typeof loaderContext.utils.contextify === "function") {
return JSON.stringify(loaderContext.utils.contextify(loaderContext.context, request));
}
const splitted = request.split("!");

@@ -96,0 +101,0 @@ const {

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

@@ -69,3 +69,3 @@ "license": "MIT",

"jest": "^27.0.6",
"jsdom": "^17.0.0",
"jsdom": "^18.0.0",
"lint-staged": "^11.1.1",

@@ -78,3 +78,3 @@ "memfs": "^3.0.2",

"standard-version": "^9.3.0",
"webpack": "^5.57.0",
"webpack": "^5.58.1",
"webpack-cli": "^4.7.2",

@@ -81,0 +81,0 @@ "webpack-dev-server": "^4.0.0"

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