@merkur/plugin-css-scrambler 0.27.0 → 0.29.0
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/lib/index.cjs +1 -1
- package/lib/index.es9.cjs +1 -1
- package/lib/index.js +1 -1
- package/package.json +8 -8
package/lib/index.cjs
CHANGED
|
@@ -64,7 +64,7 @@ function scramblerFactory(hashingTable) {
|
|
|
64
64
|
}
|
|
65
65
|
|
|
66
66
|
return (widget, ...args) => {
|
|
67
|
-
const classNamesSource = classnames__default[
|
|
67
|
+
const classNamesSource = classnames__default["default"](...args);
|
|
68
68
|
if (!hashingTable) {
|
|
69
69
|
return {
|
|
70
70
|
className: classNamesSource,
|
package/lib/index.es9.cjs
CHANGED
package/lib/index.js
CHANGED
|
@@ -64,7 +64,7 @@ function scramblerFactory(hashingTable) {
|
|
|
64
64
|
}
|
|
65
65
|
|
|
66
66
|
return (widget, ...args) => {
|
|
67
|
-
const classNamesSource = classnames__default[
|
|
67
|
+
const classNamesSource = classnames__default["default"](...args);
|
|
68
68
|
if (!hashingTable) {
|
|
69
69
|
return {
|
|
70
70
|
className: classNamesSource,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@merkur/plugin-css-scrambler",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.29.0",
|
|
4
4
|
"description": "Merkur plugin for scrambling CSS classes.",
|
|
5
5
|
"main": "lib/index",
|
|
6
6
|
"module": "lib/index",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"scripts": {
|
|
30
30
|
"preversion": "npm test",
|
|
31
31
|
"test": "../../node_modules/.bin/jest --no-watchman -c ./jest.config.js",
|
|
32
|
-
"test:es:version": "../../node_modules/.bin/es-check es5 ./lib/index.es5.js && ../../node_modules/.bin/es-check
|
|
32
|
+
"test:es:version": "../../node_modules/.bin/es-check es5 ./lib/index.es5.js && ../../node_modules/.bin/es-check es11 ./lib/index.mjs --module && ../../node_modules/.bin/es-check es9 ./lib/index.es9.mjs --module && ../../node_modules/.bin/es-check es9 ./lib/index.es9.cjs --module",
|
|
33
33
|
"build": "node_modules/.bin/rollup -c",
|
|
34
34
|
"prepare": "npm run build"
|
|
35
35
|
},
|
|
@@ -55,16 +55,16 @@
|
|
|
55
55
|
"homepage": "https://merkur.js.org/",
|
|
56
56
|
"devDependencies": {
|
|
57
57
|
"@merkur/core": "^0.23.12",
|
|
58
|
-
"rollup": "^2.
|
|
58
|
+
"rollup": "^2.70.2"
|
|
59
59
|
},
|
|
60
60
|
"peerDependencies": {
|
|
61
|
-
"@merkur/core": "
|
|
62
|
-
"postcss": "^8.
|
|
63
|
-
"postcss-loader": "^6.
|
|
61
|
+
"@merkur/core": "*",
|
|
62
|
+
"postcss": "^8.4.12",
|
|
63
|
+
"postcss-loader": "^6.2.1"
|
|
64
64
|
},
|
|
65
65
|
"dependencies": {
|
|
66
66
|
"classnames": "^2.3.1",
|
|
67
|
-
"postcss-selector-parser": "^6.0.
|
|
67
|
+
"postcss-selector-parser": "^6.0.10"
|
|
68
68
|
},
|
|
69
|
-
"gitHead": "
|
|
69
|
+
"gitHead": "ddc13f0ef4d1b18a02461011dae5df49d55f03a6"
|
|
70
70
|
}
|