postcss-normalize-unicode 8.0.2 → 8.0.4
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/package.json +8 -5
- package/src/index.js +12 -13
- package/types/index.d.ts.map +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "postcss-normalize-unicode",
|
|
3
|
-
"version": "8.0.
|
|
3
|
+
"version": "8.0.4",
|
|
4
4
|
"description": "Normalize unicode-range descriptors, and can convert to wildcard ranges.",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": {
|
|
@@ -37,10 +37,10 @@
|
|
|
37
37
|
},
|
|
38
38
|
"repository": {
|
|
39
39
|
"type": "git",
|
|
40
|
-
"url": "cssnano/cssnano"
|
|
40
|
+
"url": "git+https://github.com/cssnano/cssnano.git"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"browserslist": "^4.28.
|
|
43
|
+
"browserslist": "^4.28.8",
|
|
44
44
|
"postcss-value-parser": "^4.2.0"
|
|
45
45
|
},
|
|
46
46
|
"bugs": {
|
|
@@ -50,9 +50,12 @@
|
|
|
50
50
|
"node": "^22.11.0 || ^24.11.0 || >=26.0"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
|
-
"postcss": "^8.5.
|
|
53
|
+
"postcss": "^8.5.26"
|
|
54
54
|
},
|
|
55
55
|
"peerDependencies": {
|
|
56
|
-
"postcss": "^8.5.
|
|
56
|
+
"postcss": "^8.5.26"
|
|
57
|
+
},
|
|
58
|
+
"scripts": {
|
|
59
|
+
"test": "node --test"
|
|
57
60
|
}
|
|
58
61
|
}
|
package/src/index.js
CHANGED
|
@@ -60,18 +60,6 @@ function mergeRangeBounds(left, right) {
|
|
|
60
60
|
}
|
|
61
61
|
}
|
|
62
62
|
|
|
63
|
-
/**
|
|
64
|
-
* IE and Edge before 16 version ignore the unicode-range if the 'U' is lowercase
|
|
65
|
-
*
|
|
66
|
-
* https://caniuse.com/#search=unicode-range
|
|
67
|
-
*
|
|
68
|
-
* @param {string} browser
|
|
69
|
-
* @return {boolean}
|
|
70
|
-
*/
|
|
71
|
-
function hasLowerCaseUPrefixBug(browser) {
|
|
72
|
-
return getBrowsersList('ie <=11, edge <= 15').includes(browser);
|
|
73
|
-
}
|
|
74
|
-
|
|
75
63
|
/**
|
|
76
64
|
* @param {string} value
|
|
77
65
|
* @return {string}
|
|
@@ -115,7 +103,18 @@ function pluginCreator(/** @type {Options} */ opts = {}) {
|
|
|
115
103
|
const browsers = getBrowsersList(null, opts, stats, from, file, env);
|
|
116
104
|
|
|
117
105
|
const cache = new Map();
|
|
118
|
-
|
|
106
|
+
/**
|
|
107
|
+
* IE and Edge before 16 version ignore the unicode-range if the 'U' is
|
|
108
|
+
* lowercase
|
|
109
|
+
*
|
|
110
|
+
* https://caniuse.com/#search=unicode-range
|
|
111
|
+
*/
|
|
112
|
+
const lowerCaseUPrefixBugBrowsers = new Set(
|
|
113
|
+
getBrowsersList('ie <=11, edge <= 15')
|
|
114
|
+
);
|
|
115
|
+
const isLegacy = !new Set(browsers).isDisjointFrom(
|
|
116
|
+
lowerCaseUPrefixBugBrowsers
|
|
117
|
+
);
|
|
119
118
|
|
|
120
119
|
return {
|
|
121
120
|
/**
|
package/types/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.js"],"names":[],"mappings":";;AAKI,OAAQ,KAAA,YAAY,MAAM,cAAc,CAAA;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.js"],"names":[],"mappings":";;AAKI,OAAQ,KAAA,YAAY,MAAM,cAAc,CAAA;AA8EzC,YAAwD,mBAAmB,GAAjE;IAAE,oBAAoB,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;CAAE,CAAqB;AAC3E,YAAgE,mBAAmB,GAAzE,IAAI,CAAC,YAAY,CAAC,OAAO,EAAE,OAAO,GAAG,MAAM,GAAG,KAAK,CAAC,CAAqB;AACnF,YAAqD,OAAO,GAAlD,mBAAmB,GAAG,mBAAmB,CAAS"}
|