css-loader 6.7.2 → 6.7.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -162,7 +162,7 @@ module.exports = {
162
162
  return false;
163
163
  }
164
164
 
165
- // Don't handle images under root-relatve /external_images/
165
+ // Don't handle images under root-relative /external_images/
166
166
  if (/^\/external_images\//.test(path)) {
167
167
  return false;
168
168
  }
@@ -481,7 +481,7 @@ To import from multiple modules use multiple `composes:` rules.
481
481
 
482
482
  ```css
483
483
  :local(.className) {
484
- composes: edit hightlight from "./edit.css";
484
+ composes: edit highlight from "./edit.css";
485
485
  composes: button from "module/button.css";
486
486
  composes: classFromThisModule;
487
487
  background: red;
@@ -10,10 +10,7 @@ module.exports = function (item) {
10
10
  var base64 = btoa(unescape(encodeURIComponent(JSON.stringify(cssMapping))));
11
11
  var data = "sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(base64);
12
12
  var sourceMapping = "/*# ".concat(data, " */");
13
- var sourceURLs = cssMapping.sources.map(function (source) {
14
- return "/*# sourceURL=".concat(cssMapping.sourceRoot || "").concat(source, " */");
15
- });
16
- return [content].concat(sourceURLs).concat([sourceMapping]).join("\n");
13
+ return [content].concat([sourceMapping]).join("\n");
17
14
  }
18
15
  return [content].join("\n");
19
16
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "css-loader",
3
- "version": "6.7.2",
3
+ "version": "6.7.3",
4
4
  "description": "css loader module for webpack",
5
5
  "license": "MIT",
6
6
  "repository": "webpack-contrib/css-loader",
@@ -26,6 +26,7 @@
26
26
  "security": "npm audit --production",
27
27
  "lint:prettier": "prettier --list-different .",
28
28
  "lint:js": "eslint --cache .",
29
+ "lint:spelling": "cspell \"**/*.*\"",
29
30
  "lint": "npm-run-all -l -p \"lint:**\"",
30
31
  "test:only": "cross-env NODE_ENV=test jest",
31
32
  "test:watch": "npm run test:only -- --watch",
@@ -43,7 +44,7 @@
43
44
  },
44
45
  "dependencies": {
45
46
  "icss-utils": "^5.1.0",
46
- "postcss": "^8.4.18",
47
+ "postcss": "^8.4.19",
47
48
  "postcss-modules-extract-imports": "^3.0.0",
48
49
  "postcss-modules-local-by-default": "^4.0.0",
49
50
  "postcss-modules-scope": "^3.0.0",
@@ -53,17 +54,18 @@
53
54
  },
54
55
  "devDependencies": {
55
56
  "@babel/cli": "^7.19.3",
56
- "@babel/core": "^7.19.6",
57
- "@babel/preset-env": "^7.19.4",
57
+ "@babel/core": "^7.20.5",
58
+ "@babel/preset-env": "^7.20.2",
58
59
  "@commitlint/cli": "^16.3.0",
59
60
  "@commitlint/config-conventional": "^16.2.4",
60
61
  "@webpack-contrib/eslint-config-webpack": "^3.0.0",
61
62
  "babel-jest": "^28.1.3",
62
63
  "cross-env": "^7.0.3",
64
+ "cspell": "^6.15.1",
63
65
  "del": "^6.1.1",
64
66
  "del-cli": "^4.0.1",
65
67
  "es-check": "^7.0.1",
66
- "eslint": "^8.26.0",
68
+ "eslint": "^8.28.0",
67
69
  "eslint-config-prettier": "^8.5.0",
68
70
  "eslint-plugin-import": "^2.26.0",
69
71
  "file-loader": "^6.2.0",
@@ -73,13 +75,13 @@
73
75
  "less": "^4.1.3",
74
76
  "less-loader": "^10.0.1",
75
77
  "lint-staged": "^12.5.0",
76
- "memfs": "^3.4.9",
77
- "mini-css-extract-plugin": "^2.6.1",
78
+ "memfs": "^3.4.12",
79
+ "mini-css-extract-plugin": "^2.7.1",
78
80
  "npm-run-all": "^4.1.5",
79
81
  "postcss-loader": "^6.2.1",
80
- "postcss-preset-env": "^7.8.2",
81
- "prettier": "^2.7.1",
82
- "sass": "^1.55.0",
82
+ "postcss-preset-env": "^7.8.3",
83
+ "prettier": "^2.8.0",
84
+ "sass": "^1.56.1",
83
85
  "sass-loader": "^12.6.0",
84
86
  "standard-version": "^9.5.0",
85
87
  "strip-ansi": "^6.0.0",
@@ -87,7 +89,7 @@
87
89
  "stylus": "^0.56.0",
88
90
  "stylus-loader": "^6.1.0",
89
91
  "url-loader": "^4.1.1",
90
- "webpack": "^5.74.0"
92
+ "webpack": "^5.75.0"
91
93
  },
92
94
  "keywords": [
93
95
  "webpack",