vite 8.2.0 → 8.2.2
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/LICENSE.md +1 -1
- package/dist/client/bundledDevClient.mjs +393 -27
- package/dist/client/client.mjs +20 -14
- package/dist/node/chunks/build.js +98 -88
- package/dist/node/chunks/dist.js +62 -114
- package/dist/node/chunks/node.js +1053 -898
- package/dist/node/chunks/postcss-import.js +23 -25
- package/dist/node/index.d.ts +71 -56
- package/dist/node/module-runner.d.ts +13 -13
- package/dist/node/module-runner.js +30 -20
- package/package.json +16 -16
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ft as __commonJSMin, pt as __require } from "./node.js";
|
|
2
2
|
import { t as require_lib } from "./lib.js";
|
|
3
|
-
//#region ../../node_modules/.pnpm/postcss-modules@9.0.1_postcss@8.5.
|
|
3
|
+
//#region ../../node_modules/.pnpm/postcss-modules@9.0.1_postcss@8.5.26/node_modules/postcss-modules/build/fs.js
|
|
4
4
|
var require_fs = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
function _export(target, all) {
|
|
@@ -34,7 +34,7 @@ var require_fs = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
34
34
|
}
|
|
35
35
|
}));
|
|
36
36
|
//#endregion
|
|
37
|
-
//#region ../../node_modules/.pnpm/postcss-modules@9.0.1_postcss@8.5.
|
|
37
|
+
//#region ../../node_modules/.pnpm/postcss-modules@9.0.1_postcss@8.5.26/node_modules/postcss-modules/build/unquote.js
|
|
38
38
|
var require_unquote = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
39
39
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
40
40
|
Object.defineProperty(exports, "default", {
|
|
@@ -52,7 +52,7 @@ var require_unquote = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
52
52
|
}
|
|
53
53
|
}));
|
|
54
54
|
//#endregion
|
|
55
|
-
//#region ../../node_modules/.pnpm/icss-utils@5.1.0_postcss@8.5.
|
|
55
|
+
//#region ../../node_modules/.pnpm/icss-utils@5.1.0_postcss@8.5.26/node_modules/icss-utils/src/replaceValueSymbols.js
|
|
56
56
|
var require_replaceValueSymbols = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
57
57
|
const matchValueName = /[$]?[\w-]+/g;
|
|
58
58
|
const replaceValueSymbols = (value, replacements) => {
|
|
@@ -69,7 +69,7 @@ var require_replaceValueSymbols = /* @__PURE__ */ __commonJSMin(((exports, modul
|
|
|
69
69
|
module.exports = replaceValueSymbols;
|
|
70
70
|
}));
|
|
71
71
|
//#endregion
|
|
72
|
-
//#region ../../node_modules/.pnpm/icss-utils@5.1.0_postcss@8.5.
|
|
72
|
+
//#region ../../node_modules/.pnpm/icss-utils@5.1.0_postcss@8.5.26/node_modules/icss-utils/src/replaceSymbols.js
|
|
73
73
|
var require_replaceSymbols = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
74
74
|
const replaceValueSymbols = require_replaceValueSymbols();
|
|
75
75
|
const replaceSymbols = (css, replacements) => {
|
|
@@ -82,7 +82,7 @@ var require_replaceSymbols = /* @__PURE__ */ __commonJSMin(((exports, module) =>
|
|
|
82
82
|
module.exports = replaceSymbols;
|
|
83
83
|
}));
|
|
84
84
|
//#endregion
|
|
85
|
-
//#region ../../node_modules/.pnpm/icss-utils@5.1.0_postcss@8.5.
|
|
85
|
+
//#region ../../node_modules/.pnpm/icss-utils@5.1.0_postcss@8.5.26/node_modules/icss-utils/src/extractICSS.js
|
|
86
86
|
var require_extractICSS = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
87
87
|
const importPattern = /^:import\(("[^"]*"|'[^']*'|[^"']+)\)$/;
|
|
88
88
|
const balancedQuotes = /^("[^"]*"|'[^']*'|[^"']+)$/;
|
|
@@ -136,7 +136,7 @@ var require_extractICSS = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
136
136
|
module.exports = extractICSS;
|
|
137
137
|
}));
|
|
138
138
|
//#endregion
|
|
139
|
-
//#region ../../node_modules/.pnpm/icss-utils@5.1.0_postcss@8.5.
|
|
139
|
+
//#region ../../node_modules/.pnpm/icss-utils@5.1.0_postcss@8.5.26/node_modules/icss-utils/src/createICSSRules.js
|
|
140
140
|
var require_createICSSRules = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
141
141
|
const createImports = (imports, postcss, mode = "rule") => {
|
|
142
142
|
return Object.keys(imports).map((path) => {
|
|
@@ -180,7 +180,7 @@ var require_createICSSRules = /* @__PURE__ */ __commonJSMin(((exports, module) =
|
|
|
180
180
|
module.exports = createICSSRules;
|
|
181
181
|
}));
|
|
182
182
|
//#endregion
|
|
183
|
-
//#region ../../node_modules/.pnpm/icss-utils@5.1.0_postcss@8.5.
|
|
183
|
+
//#region ../../node_modules/.pnpm/icss-utils@5.1.0_postcss@8.5.26/node_modules/icss-utils/src/index.js
|
|
184
184
|
var require_src$4 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
185
185
|
module.exports = {
|
|
186
186
|
replaceValueSymbols: require_replaceValueSymbols(),
|
|
@@ -190,7 +190,7 @@ var require_src$4 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
190
190
|
};
|
|
191
191
|
}));
|
|
192
192
|
//#endregion
|
|
193
|
-
//#region ../../node_modules/.pnpm/postcss-modules@9.0.1_postcss@8.5.
|
|
193
|
+
//#region ../../node_modules/.pnpm/postcss-modules@9.0.1_postcss@8.5.26/node_modules/postcss-modules/build/Parser.js
|
|
194
194
|
var require_Parser = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
195
195
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
196
196
|
Object.defineProperty(exports, "default", {
|
|
@@ -262,7 +262,7 @@ var require_Parser = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
262
262
|
};
|
|
263
263
|
}));
|
|
264
264
|
//#endregion
|
|
265
|
-
//#region ../../node_modules/.pnpm/postcss-modules@9.0.1_postcss@8.5.
|
|
265
|
+
//#region ../../node_modules/.pnpm/postcss-modules@9.0.1_postcss@8.5.26/node_modules/postcss-modules/build/saveJSON.js
|
|
266
266
|
var require_saveJSON = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
267
267
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
268
268
|
Object.defineProperty(exports, "default", {
|
|
@@ -944,7 +944,7 @@ var require_lodash_camelcase = /* @__PURE__ */ __commonJSMin(((exports, module)
|
|
|
944
944
|
module.exports = camelCase;
|
|
945
945
|
}));
|
|
946
946
|
//#endregion
|
|
947
|
-
//#region ../../node_modules/.pnpm/postcss-modules@9.0.1_postcss@8.5.
|
|
947
|
+
//#region ../../node_modules/.pnpm/postcss-modules@9.0.1_postcss@8.5.26/node_modules/postcss-modules/build/localsConvention.js
|
|
948
948
|
var require_localsConvention = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
949
949
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
950
950
|
Object.defineProperty(exports, "makeLocalsConventionReducer", {
|
|
@@ -992,16 +992,14 @@ var require_localsConvention = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
992
992
|
tokens[className] = value;
|
|
993
993
|
tokens[dashesCamelCase(className)] = value;
|
|
994
994
|
break;
|
|
995
|
-
case "dashesOnly":
|
|
996
|
-
tokens[dashesCamelCase(className)] = value;
|
|
997
|
-
break;
|
|
995
|
+
case "dashesOnly": tokens[dashesCamelCase(className)] = value;
|
|
998
996
|
}
|
|
999
997
|
return tokens;
|
|
1000
998
|
};
|
|
1001
999
|
}
|
|
1002
1000
|
}));
|
|
1003
1001
|
//#endregion
|
|
1004
|
-
//#region ../../node_modules/.pnpm/postcss-modules@9.0.1_postcss@8.5.
|
|
1002
|
+
//#region ../../node_modules/.pnpm/postcss-modules@9.0.1_postcss@8.5.26/node_modules/postcss-modules/build/FileSystemLoader.js
|
|
1005
1003
|
var require_FileSystemLoader = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
1006
1004
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1007
1005
|
Object.defineProperty(exports, "default", {
|
|
@@ -1090,7 +1088,7 @@ var require_FileSystemLoader = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
1090
1088
|
};
|
|
1091
1089
|
}));
|
|
1092
1090
|
//#endregion
|
|
1093
|
-
//#region ../../node_modules/.pnpm/postcss-modules-extract-imports@3.1.0_postcss@8.5.
|
|
1091
|
+
//#region ../../node_modules/.pnpm/postcss-modules-extract-imports@3.1.0_postcss@8.5.26/node_modules/postcss-modules-extract-imports/src/topologicalSort.js
|
|
1094
1092
|
var require_topologicalSort = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
1095
1093
|
const PERMANENT_MARKER = 2;
|
|
1096
1094
|
const TEMPORARY_MARKER = 1;
|
|
@@ -1129,7 +1127,7 @@ var require_topologicalSort = /* @__PURE__ */ __commonJSMin(((exports, module) =
|
|
|
1129
1127
|
module.exports = topologicalSort;
|
|
1130
1128
|
}));
|
|
1131
1129
|
//#endregion
|
|
1132
|
-
//#region ../../node_modules/.pnpm/postcss-modules-extract-imports@3.1.0_postcss@8.5.
|
|
1130
|
+
//#region ../../node_modules/.pnpm/postcss-modules-extract-imports@3.1.0_postcss@8.5.26/node_modules/postcss-modules-extract-imports/src/index.js
|
|
1133
1131
|
var require_src$3 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
1134
1132
|
const topologicalSort = require_topologicalSort();
|
|
1135
1133
|
const matchImports = /^(.+?)\s+from\s+(?:"([^"]+)"|'([^']+)'|(global))$/;
|
|
@@ -1262,7 +1260,7 @@ var require_src$3 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
1262
1260
|
//#endregion
|
|
1263
1261
|
//#region ../../node_modules/.pnpm/loader-utils@3.3.1/node_modules/loader-utils/lib/hash/wasm-hash.js
|
|
1264
1262
|
var require_wasm_hash = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
1265
|
-
const MAX_SHORT_STRING = Math.floor(
|
|
1263
|
+
const MAX_SHORT_STRING = Math.floor(16368) & -4;
|
|
1266
1264
|
var WasmHash = class {
|
|
1267
1265
|
/**
|
|
1268
1266
|
* @param {WebAssembly.Instance} instance wasm instance
|
|
@@ -1309,28 +1307,29 @@ var require_wasm_hash = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
1309
1307
|
_updateWithShortString(data, encoding) {
|
|
1310
1308
|
const { exports: exports$3, buffered, mem, chunkSize } = this;
|
|
1311
1309
|
let endPos;
|
|
1312
|
-
if (data.length < 70)
|
|
1313
|
-
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
|
|
1323
|
-
|
|
1310
|
+
if (data.length < 70) {
|
|
1311
|
+
if (!encoding || encoding === "utf-8" || encoding === "utf8") {
|
|
1312
|
+
endPos = buffered;
|
|
1313
|
+
for (let i = 0; i < data.length; i++) {
|
|
1314
|
+
const cc = data.charCodeAt(i);
|
|
1315
|
+
if (cc < 128) mem[endPos++] = cc;
|
|
1316
|
+
else if (cc < 2048) {
|
|
1317
|
+
mem[endPos] = cc >> 6 | 192;
|
|
1318
|
+
mem[endPos + 1] = cc & 63 | 128;
|
|
1319
|
+
endPos += 2;
|
|
1320
|
+
} else {
|
|
1321
|
+
endPos += mem.write(data.slice(i), endPos, encoding);
|
|
1322
|
+
break;
|
|
1323
|
+
}
|
|
1324
1324
|
}
|
|
1325
|
-
}
|
|
1326
|
-
|
|
1327
|
-
|
|
1328
|
-
|
|
1329
|
-
|
|
1330
|
-
|
|
1331
|
-
}
|
|
1325
|
+
} else if (encoding === "latin1") {
|
|
1326
|
+
endPos = buffered;
|
|
1327
|
+
for (let i = 0; i < data.length; i++) {
|
|
1328
|
+
const cc = data.charCodeAt(i);
|
|
1329
|
+
mem[endPos++] = cc;
|
|
1330
|
+
}
|
|
1331
|
+
} else endPos = buffered + mem.write(data, buffered, encoding);
|
|
1332
1332
|
} else endPos = buffered + mem.write(data, buffered, encoding);
|
|
1333
|
-
else endPos = buffered + mem.write(data, buffered, encoding);
|
|
1334
1333
|
if (endPos < chunkSize) this.buffered = endPos;
|
|
1335
1334
|
else {
|
|
1336
1335
|
const l = endPos & ~(this.chunkSize - 1);
|
|
@@ -1425,11 +1424,12 @@ var require_BatchedHash = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
1425
1424
|
this.hash.update(this.string, this.encoding);
|
|
1426
1425
|
this.string = void 0;
|
|
1427
1426
|
}
|
|
1428
|
-
if (typeof data === "string")
|
|
1429
|
-
|
|
1430
|
-
|
|
1431
|
-
|
|
1432
|
-
|
|
1427
|
+
if (typeof data === "string") {
|
|
1428
|
+
if (data.length < MAX_SHORT_STRING && (!inputEncoding || !inputEncoding.startsWith("ba"))) {
|
|
1429
|
+
this.string = data;
|
|
1430
|
+
this.encoding = inputEncoding;
|
|
1431
|
+
} else this.hash.update(data, inputEncoding);
|
|
1432
|
+
} else this.hash.update(data);
|
|
1433
1433
|
return this;
|
|
1434
1434
|
}
|
|
1435
1435
|
/**
|
|
@@ -2422,9 +2422,10 @@ var require_cssesc = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
2422
2422
|
else counter--;
|
|
2423
2423
|
}
|
|
2424
2424
|
value = "\\" + codePoint.toString(16).toUpperCase() + " ";
|
|
2425
|
-
} else if (options.escapeEverything)
|
|
2426
|
-
|
|
2427
|
-
|
|
2425
|
+
} else if (options.escapeEverything) {
|
|
2426
|
+
if (regexAnySingleEscape.test(character)) value = "\\" + character;
|
|
2427
|
+
else value = "\\" + codePoint.toString(16).toUpperCase() + " ";
|
|
2428
|
+
} else if (/[\t\n\f\r\x0B]/.test(character)) value = "\\" + codePoint.toString(16).toUpperCase() + " ";
|
|
2428
2429
|
else if (character == "\\" || !isIdentifier && (character == "\"" && quote == character || character == "'" && quote == character) || isIdentifier && regexSingleEscape.test(character)) value = "\\" + character;
|
|
2429
2430
|
else value = character;
|
|
2430
2431
|
output += value;
|
|
@@ -3072,7 +3073,20 @@ var require_attribute = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
3072
3073
|
get: function get() {
|
|
3073
3074
|
return this._value;
|
|
3074
3075
|
},
|
|
3075
|
-
set:
|
|
3076
|
+
set:
|
|
3077
|
+
/**
|
|
3078
|
+
* Before 3.0, the value had to be set to an escaped value including any wrapped
|
|
3079
|
+
* quote marks. In 3.0, the semantics of `Attribute.value` changed so that the value
|
|
3080
|
+
* is unescaped during parsing and any quote marks are removed.
|
|
3081
|
+
*
|
|
3082
|
+
* Because the ambiguity of this semantic change, if you set `attr.value = newValue`,
|
|
3083
|
+
* a deprecation warning is raised when the new value contains any characters that would
|
|
3084
|
+
* require escaping (including if it contains wrapped quotes).
|
|
3085
|
+
*
|
|
3086
|
+
* Instead, you should call `attr.setValue(newValue, opts)` and pass options that describe
|
|
3087
|
+
* how the new value is quoted.
|
|
3088
|
+
*/
|
|
3089
|
+
function set(v) {
|
|
3076
3090
|
if (this._constructed) {
|
|
3077
3091
|
var _unescapeValue2 = unescapeValue(v), deprecatedUsage = _unescapeValue2.deprecatedUsage, unescaped = _unescapeValue2.unescaped, quoteMark = _unescapeValue2.quoteMark;
|
|
3078
3092
|
if (deprecatedUsage) warnOfDeprecatedValueAssignment();
|
|
@@ -3484,7 +3498,6 @@ var require_tokenize = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
3484
3498
|
endColumn = next - offset;
|
|
3485
3499
|
}
|
|
3486
3500
|
end = next + 1;
|
|
3487
|
-
break;
|
|
3488
3501
|
}
|
|
3489
3502
|
tokens.push([
|
|
3490
3503
|
tokenType,
|
|
@@ -3823,18 +3836,19 @@ var require_parser = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
3823
3836
|
spaceAfterMeaningfulToken = false;
|
|
3824
3837
|
break;
|
|
3825
3838
|
case tokens.comment:
|
|
3826
|
-
if (lastAdded)
|
|
3827
|
-
|
|
3828
|
-
|
|
3829
|
-
|
|
3830
|
-
|
|
3831
|
-
|
|
3832
|
-
|
|
3833
|
-
|
|
3834
|
-
|
|
3835
|
-
|
|
3836
|
-
|
|
3837
|
-
|
|
3839
|
+
if (lastAdded) {
|
|
3840
|
+
if (spaceAfterMeaningfulToken || next && next[_tokenize.FIELDS.TYPE] === tokens.space || lastAdded === "insensitive") {
|
|
3841
|
+
var lastComment = (0, _util.getProp)(node, "spaces", lastAdded, "after") || "";
|
|
3842
|
+
var rawLastComment = (0, _util.getProp)(node, "raws", "spaces", lastAdded, "after") || lastComment;
|
|
3843
|
+
(0, _util.ensureObject)(node, "raws", "spaces", lastAdded);
|
|
3844
|
+
node.raws.spaces[lastAdded].after = rawLastComment + content;
|
|
3845
|
+
} else {
|
|
3846
|
+
var lastValue = node[lastAdded] || "";
|
|
3847
|
+
var rawLastValue = (0, _util.getProp)(node, "raws", lastAdded) || lastValue;
|
|
3848
|
+
(0, _util.ensureObject)(node, "raws");
|
|
3849
|
+
node.raws[lastAdded] = rawLastValue + content;
|
|
3850
|
+
}
|
|
3851
|
+
} else commentBefore = commentBefore + content;
|
|
3838
3852
|
break;
|
|
3839
3853
|
default: return this.error("Unexpected \"" + content + "\" found.", { index: token[_tokenize.FIELDS.START_POS] });
|
|
3840
3854
|
}
|
|
@@ -4640,7 +4654,7 @@ var require_dist = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
4640
4654
|
module.exports = exports.default;
|
|
4641
4655
|
}));
|
|
4642
4656
|
//#endregion
|
|
4643
|
-
//#region ../../node_modules/.pnpm/postcss-modules-local-by-default@4.2.0_postcss@8.5.
|
|
4657
|
+
//#region ../../node_modules/.pnpm/postcss-modules-local-by-default@4.2.0_postcss@8.5.26/node_modules/postcss-modules-local-by-default/src/index.js
|
|
4644
4658
|
var require_src$2 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
4645
4659
|
const selectorParser = require_dist();
|
|
4646
4660
|
const valueParser = require_lib();
|
|
@@ -4834,22 +4848,18 @@ var require_src$2 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
4834
4848
|
}
|
|
4835
4849
|
}
|
|
4836
4850
|
break;
|
|
4837
|
-
case "function":
|
|
4838
|
-
if (
|
|
4839
|
-
|
|
4840
|
-
|
|
4841
|
-
|
|
4842
|
-
|
|
4843
|
-
|
|
4844
|
-
|
|
4845
|
-
|
|
4846
|
-
|
|
4847
|
-
|
|
4848
|
-
|
|
4849
|
-
}
|
|
4850
|
-
nestedNode.value = newUrl;
|
|
4851
|
-
});
|
|
4852
|
-
break;
|
|
4851
|
+
case "function": if (context.options && context.options.rewriteUrl && node.value.toLowerCase() === "url") node.nodes.map((nestedNode) => {
|
|
4852
|
+
if (nestedNode.type !== "string" && nestedNode.type !== "word") return;
|
|
4853
|
+
let newUrl = context.options.rewriteUrl(context.global, nestedNode.value);
|
|
4854
|
+
switch (nestedNode.type) {
|
|
4855
|
+
case "string":
|
|
4856
|
+
if (nestedNode.quote === "'") newUrl = newUrl.replace(/(\\)/g, "\\$1").replace(/'/g, "\\'");
|
|
4857
|
+
if (nestedNode.quote === "\"") newUrl = newUrl.replace(/(\\)/g, "\\$1").replace(/"/g, "\\\"");
|
|
4858
|
+
break;
|
|
4859
|
+
case "word": newUrl = newUrl.replace(/("|'|\)|\\)/g, "\\$1");
|
|
4860
|
+
}
|
|
4861
|
+
nestedNode.value = newUrl;
|
|
4862
|
+
});
|
|
4853
4863
|
}
|
|
4854
4864
|
return node;
|
|
4855
4865
|
}
|
|
@@ -4926,10 +4936,12 @@ var require_src$2 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
4926
4936
|
} else if (node.type !== "word") return;
|
|
4927
4937
|
const value = node.type === "word" ? node.value.toLowerCase() : null;
|
|
4928
4938
|
let shouldParseAnimationName = false;
|
|
4929
|
-
if (value && validIdent.test(value))
|
|
4930
|
-
|
|
4931
|
-
|
|
4932
|
-
|
|
4939
|
+
if (value && validIdent.test(value)) {
|
|
4940
|
+
if ("$" + value in animationKeywords) {
|
|
4941
|
+
parsedAnimationKeywords["$" + value] = "$" + value in parsedAnimationKeywords ? parsedAnimationKeywords["$" + value] + 1 : 0;
|
|
4942
|
+
shouldParseAnimationName = parsedAnimationKeywords["$" + value] >= animationKeywords["$" + value];
|
|
4943
|
+
} else shouldParseAnimationName = true;
|
|
4944
|
+
}
|
|
4933
4945
|
return localizeDeclNode(node, {
|
|
4934
4946
|
options: context.options,
|
|
4935
4947
|
global: context.global,
|
|
@@ -5038,7 +5050,7 @@ var require_src$2 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
5038
5050
|
module.exports.postcss = true;
|
|
5039
5051
|
}));
|
|
5040
5052
|
//#endregion
|
|
5041
|
-
//#region ../../node_modules/.pnpm/postcss-modules-scope@3.2.1_postcss@8.5.
|
|
5053
|
+
//#region ../../node_modules/.pnpm/postcss-modules-scope@3.2.1_postcss@8.5.26/node_modules/postcss-modules-scope/src/index.js
|
|
5042
5054
|
var require_src$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
5043
5055
|
const selectorParser = require_dist();
|
|
5044
5056
|
const hasOwnProperty = Object.prototype.hasOwnProperty;
|
|
@@ -5114,9 +5126,7 @@ var require_src$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
5114
5126
|
node.each((item) => traverseNode(item));
|
|
5115
5127
|
break;
|
|
5116
5128
|
case "id":
|
|
5117
|
-
case "class":
|
|
5118
|
-
if (exportGlobals) exports$1[node.value] = [node.value];
|
|
5119
|
-
break;
|
|
5129
|
+
case "class": if (exportGlobals) exports$1[node.value] = [node.value];
|
|
5120
5130
|
}
|
|
5121
5131
|
return node;
|
|
5122
5132
|
}
|
|
@@ -5218,7 +5228,7 @@ var require_string_hash = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
5218
5228
|
module.exports = hash;
|
|
5219
5229
|
}));
|
|
5220
5230
|
//#endregion
|
|
5221
|
-
//#region ../../node_modules/.pnpm/postcss-modules-values@4.0.0_postcss@8.5.
|
|
5231
|
+
//#region ../../node_modules/.pnpm/postcss-modules-values@4.0.0_postcss@8.5.26/node_modules/postcss-modules-values/src/index.js
|
|
5222
5232
|
var require_src = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
5223
5233
|
const ICSSUtils = require_src$4();
|
|
5224
5234
|
const matchImports = /^(.+?|\([\s\S]+?\))\s+from\s+("[^"]*"|'[^']*'|[\w-]+)$/;
|
|
@@ -5305,7 +5315,7 @@ var require_src = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
5305
5315
|
module.exports.postcss = true;
|
|
5306
5316
|
}));
|
|
5307
5317
|
//#endregion
|
|
5308
|
-
//#region ../../node_modules/.pnpm/postcss-modules@9.0.1_postcss@8.5.
|
|
5318
|
+
//#region ../../node_modules/.pnpm/postcss-modules@9.0.1_postcss@8.5.26/node_modules/postcss-modules/build/scoping.js
|
|
5309
5319
|
var require_scoping = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
5310
5320
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5311
5321
|
function _export(target, all) {
|
|
@@ -5384,7 +5394,7 @@ var require_scoping = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
5384
5394
|
}
|
|
5385
5395
|
}));
|
|
5386
5396
|
//#endregion
|
|
5387
|
-
//#region ../../node_modules/.pnpm/postcss-modules@9.0.1_postcss@8.5.
|
|
5397
|
+
//#region ../../node_modules/.pnpm/postcss-modules@9.0.1_postcss@8.5.26/node_modules/postcss-modules/build/pluginFactory.js
|
|
5388
5398
|
var require_pluginFactory = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
5389
5399
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5390
5400
|
Object.defineProperty(exports, "makePlugin", {
|
|
@@ -5466,7 +5476,7 @@ var require_pluginFactory = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
5466
5476
|
}
|
|
5467
5477
|
}));
|
|
5468
5478
|
//#endregion
|
|
5469
|
-
//#region ../../node_modules/.pnpm/postcss-modules@9.0.1_postcss@8.5.
|
|
5479
|
+
//#region ../../node_modules/.pnpm/postcss-modules@9.0.1_postcss@8.5.26/node_modules/postcss-modules/build/index.js
|
|
5470
5480
|
var require_build = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
5471
5481
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5472
5482
|
const _fs = __require("fs");
|