mini-css-extract-plugin
Advanced tools
Comparing version 2.4.2 to 2.4.3
@@ -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" |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
90728
1366