autoprefixer 10.4.23 → 10.4.25
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.
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
{
|
|
2
|
+
"permissions": {
|
|
3
|
+
"allow": [
|
|
4
|
+
"mcp__acp__Bash",
|
|
5
|
+
"mcp__acp__Edit",
|
|
6
|
+
"mcp__acp__Write",
|
|
7
|
+
"WebFetch(domain:github.com)",
|
|
8
|
+
"Bash(*)",
|
|
9
|
+
"Bash(NODE_V8_COVERAGE=/tmp/cov-test node:*)",
|
|
10
|
+
"Bash(NODE_V8_COVERAGE=./.coverage node ./node_modules/uvu/bin.js:*)",
|
|
11
|
+
"Bash(node scripts/coverage.js:*)",
|
|
12
|
+
"Bash(NODE_V8_COVERAGE=./.coverage node scripts/coverage.js:*)",
|
|
13
|
+
"WebFetch(domain:electrovir.com)"
|
|
14
|
+
]
|
|
15
|
+
}
|
|
16
|
+
}
|
package/lib/hacks/gradient.js
CHANGED
|
@@ -338,6 +338,9 @@ class Gradient extends Value {
|
|
|
338
338
|
) {
|
|
339
339
|
return false
|
|
340
340
|
}
|
|
341
|
+
if (string.includes('var(')) {
|
|
342
|
+
return false
|
|
343
|
+
}
|
|
341
344
|
|
|
342
345
|
let params = [[]]
|
|
343
346
|
for (let i of nodes) {
|
|
@@ -352,7 +355,7 @@ class Gradient extends Value {
|
|
|
352
355
|
|
|
353
356
|
node.nodes = []
|
|
354
357
|
for (let param of params) {
|
|
355
|
-
node.nodes
|
|
358
|
+
node.nodes.push(...param)
|
|
356
359
|
}
|
|
357
360
|
|
|
358
361
|
node.nodes.unshift(
|
package/lib/hacks/grid-utils.js
CHANGED
|
@@ -135,13 +135,14 @@ exports.prefixTrackValue = prefixTrackValue
|
|
|
135
135
|
function prefixTrackValue({ gap, value }) {
|
|
136
136
|
let result = parser(value).nodes.reduce((nodes, node) => {
|
|
137
137
|
if (node.type === 'function' && node.value === 'repeat') {
|
|
138
|
-
|
|
138
|
+
nodes.push({
|
|
139
139
|
type: 'word',
|
|
140
140
|
value: transformRepeat(node, { gap })
|
|
141
141
|
})
|
|
142
|
+
return nodes
|
|
142
143
|
}
|
|
143
144
|
if (gap && node.type === 'space') {
|
|
144
|
-
|
|
145
|
+
nodes.push(
|
|
145
146
|
{
|
|
146
147
|
type: 'space',
|
|
147
148
|
value: ' '
|
|
@@ -152,8 +153,10 @@ function prefixTrackValue({ gap, value }) {
|
|
|
152
153
|
},
|
|
153
154
|
node
|
|
154
155
|
)
|
|
156
|
+
return nodes
|
|
155
157
|
}
|
|
156
|
-
|
|
158
|
+
nodes.push(node)
|
|
159
|
+
return nodes
|
|
157
160
|
}, [])
|
|
158
161
|
|
|
159
162
|
return parser.stringify(result)
|
|
@@ -1046,7 +1049,8 @@ function normalizeRowColumn(str) {
|
|
|
1046
1049
|
if (node.type === 'space') {
|
|
1047
1050
|
return result
|
|
1048
1051
|
}
|
|
1049
|
-
|
|
1052
|
+
result.push(parser.stringify(node))
|
|
1053
|
+
return result
|
|
1050
1054
|
}, [])
|
|
1051
1055
|
|
|
1052
1056
|
return normalized
|
package/lib/transition.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "autoprefixer",
|
|
3
|
-
"version": "10.4.
|
|
3
|
+
"version": "10.4.25",
|
|
4
4
|
"description": "Parse CSS and add vendor prefixes to CSS rules using values from the Can I Use website",
|
|
5
5
|
"engines": {
|
|
6
6
|
"node": "^10 || ^12 || >=14"
|
|
@@ -40,9 +40,14 @@
|
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
42
|
"browserslist": "^4.28.1",
|
|
43
|
-
"caniuse-lite": "^1.0.
|
|
43
|
+
"caniuse-lite": "^1.0.30001774",
|
|
44
44
|
"fraction.js": "^5.3.4",
|
|
45
45
|
"picocolors": "^1.1.1",
|
|
46
46
|
"postcss-value-parser": "^4.2.0"
|
|
47
|
+
},
|
|
48
|
+
"pnpm": {
|
|
49
|
+
"patchedDependencies": {
|
|
50
|
+
"yargs@17.7.2": "patches/yargs@17.7.2.patch"
|
|
51
|
+
}
|
|
47
52
|
}
|
|
48
53
|
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
diff --git a/browser.d.ts b/browser.d.ts
|
|
2
|
+
deleted file mode 100644
|
|
3
|
+
index 21f3fc69190b574ab8456514d3da1972afa53973..0000000000000000000000000000000000000000
|
|
4
|
+
diff --git a/package.json b/package.json
|
|
5
|
+
index 389cc6b064b5f888e7f9d718f5440feabdce57ad..c1ae265542ad386fa2214914b0186ade81dd6ee2 100644
|
|
6
|
+
--- a/package.json
|
|
7
|
+
+++ b/package.json
|
|
8
|
+
@@ -20,13 +20,10 @@
|
|
9
|
+
"import": "./browser.mjs",
|
|
10
|
+
"types": "./browser.d.ts"
|
|
11
|
+
},
|
|
12
|
+
- "./yargs": [
|
|
13
|
+
- {
|
|
14
|
+
- "import": "./yargs.mjs",
|
|
15
|
+
- "require": "./yargs"
|
|
16
|
+
- },
|
|
17
|
+
- "./yargs"
|
|
18
|
+
- ]
|
|
19
|
+
+ "./yargs": {
|
|
20
|
+
+ "require": "./index.cjs",
|
|
21
|
+
+ "import": "./yargs.mjs"
|
|
22
|
+
+ }
|
|
23
|
+
},
|
|
24
|
+
"type": "module",
|
|
25
|
+
"module": "./index.mjs",
|