vite 5.3.4 → 5.3.6
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 +44 -0
- package/dist/node/chunks/{dep-CrWVpuYf.js → dep-D-7KCb9p.js} +32 -2
- package/dist/node/chunks/{dep-D8YhmIY-.js → dep-D1AKSjGu.js} +2015 -2633
- package/dist/node/chunks/{dep-CCo80PNg.js → dep-DYrHORU3.js} +10 -14
- package/dist/node/chunks/{dep-CMeK12d_.js → dep-UNy-OeA0.js} +1 -1
- package/dist/node/cli.js +5 -5
- package/dist/node/index.d.ts +3 -3
- package/dist/node/index.js +2 -2
- package/dist/node-cjs/publicUtils.cjs +10 -17
- package/package.json +6 -6
package/LICENSE.md
CHANGED
@@ -1006,6 +1006,27 @@ License: MIT
|
|
1006
1006
|
By: Mathias Bynens
|
1007
1007
|
Repository: https://github.com/mathiasbynens/cssesc.git
|
1008
1008
|
|
1009
|
+
> Copyright Mathias Bynens <https://mathiasbynens.be/>
|
1010
|
+
>
|
1011
|
+
> Permission is hereby granted, free of charge, to any person obtaining
|
1012
|
+
> a copy of this software and associated documentation files (the
|
1013
|
+
> "Software"), to deal in the Software without restriction, including
|
1014
|
+
> without limitation the rights to use, copy, modify, merge, publish,
|
1015
|
+
> distribute, sublicense, and/or sell copies of the Software, and to
|
1016
|
+
> permit persons to whom the Software is furnished to do so, subject to
|
1017
|
+
> the following conditions:
|
1018
|
+
>
|
1019
|
+
> The above copyright notice and this permission notice shall be
|
1020
|
+
> included in all copies or substantial portions of the Software.
|
1021
|
+
>
|
1022
|
+
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
1023
|
+
> EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
1024
|
+
> MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
1025
|
+
> NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
1026
|
+
> LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
1027
|
+
> OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
1028
|
+
> WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
1029
|
+
|
1009
1030
|
---------------------------------------
|
1010
1031
|
|
1011
1032
|
## debug
|
@@ -2660,6 +2681,29 @@ License: MIT
|
|
2660
2681
|
By: Ben Briggs, Chris Eppstein
|
2661
2682
|
Repository: postcss/postcss-selector-parser
|
2662
2683
|
|
2684
|
+
> Copyright (c) Ben Briggs <beneb.info@gmail.com> (http://beneb.info)
|
2685
|
+
>
|
2686
|
+
> Permission is hereby granted, free of charge, to any person
|
2687
|
+
> obtaining a copy of this software and associated documentation
|
2688
|
+
> files (the "Software"), to deal in the Software without
|
2689
|
+
> restriction, including without limitation the rights to use,
|
2690
|
+
> copy, modify, merge, publish, distribute, sublicense, and/or sell
|
2691
|
+
> copies of the Software, and to permit persons to whom the
|
2692
|
+
> Software is furnished to do so, subject to the following
|
2693
|
+
> conditions:
|
2694
|
+
>
|
2695
|
+
> The above copyright notice and this permission notice shall be
|
2696
|
+
> included in all copies or substantial portions of the Software.
|
2697
|
+
>
|
2698
|
+
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
2699
|
+
> EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
|
2700
|
+
> OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
2701
|
+
> NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
|
2702
|
+
> HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
2703
|
+
> WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
2704
|
+
> FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
2705
|
+
> OTHER DEALINGS IN THE SOFTWARE.
|
2706
|
+
|
2663
2707
|
---------------------------------------
|
2664
2708
|
|
2665
2709
|
## postcss-value-parser
|
@@ -371,13 +371,16 @@ var CharCodes;
|
|
371
371
|
(function (CharCodes) {
|
372
372
|
CharCodes[CharCodes["NUM"] = 35] = "NUM";
|
373
373
|
CharCodes[CharCodes["SEMI"] = 59] = "SEMI";
|
374
|
+
CharCodes[CharCodes["EQUALS"] = 61] = "EQUALS";
|
374
375
|
CharCodes[CharCodes["ZERO"] = 48] = "ZERO";
|
375
376
|
CharCodes[CharCodes["NINE"] = 57] = "NINE";
|
376
377
|
CharCodes[CharCodes["LOWER_A"] = 97] = "LOWER_A";
|
377
378
|
CharCodes[CharCodes["LOWER_F"] = 102] = "LOWER_F";
|
378
379
|
CharCodes[CharCodes["LOWER_X"] = 120] = "LOWER_X";
|
379
|
-
|
380
|
-
CharCodes[CharCodes["
|
380
|
+
CharCodes[CharCodes["LOWER_Z"] = 122] = "LOWER_Z";
|
381
|
+
CharCodes[CharCodes["UPPER_A"] = 65] = "UPPER_A";
|
382
|
+
CharCodes[CharCodes["UPPER_F"] = 70] = "UPPER_F";
|
383
|
+
CharCodes[CharCodes["UPPER_Z"] = 90] = "UPPER_Z";
|
381
384
|
})(CharCodes || (CharCodes = {}));
|
382
385
|
var BinTrieFlags;
|
383
386
|
(function (BinTrieFlags) {
|
@@ -385,6 +388,33 @@ var BinTrieFlags;
|
|
385
388
|
BinTrieFlags[BinTrieFlags["BRANCH_LENGTH"] = 16256] = "BRANCH_LENGTH";
|
386
389
|
BinTrieFlags[BinTrieFlags["JUMP_TABLE"] = 127] = "JUMP_TABLE";
|
387
390
|
})(BinTrieFlags || (BinTrieFlags = {}));
|
391
|
+
var EntityDecoderState;
|
392
|
+
(function (EntityDecoderState) {
|
393
|
+
EntityDecoderState[EntityDecoderState["EntityStart"] = 0] = "EntityStart";
|
394
|
+
EntityDecoderState[EntityDecoderState["NumericStart"] = 1] = "NumericStart";
|
395
|
+
EntityDecoderState[EntityDecoderState["NumericDecimal"] = 2] = "NumericDecimal";
|
396
|
+
EntityDecoderState[EntityDecoderState["NumericHex"] = 3] = "NumericHex";
|
397
|
+
EntityDecoderState[EntityDecoderState["NamedEntity"] = 4] = "NamedEntity";
|
398
|
+
})(EntityDecoderState || (EntityDecoderState = {}));
|
399
|
+
var DecodingMode;
|
400
|
+
(function (DecodingMode) {
|
401
|
+
/** Entities in text nodes that can end with any character. */
|
402
|
+
DecodingMode[DecodingMode["Legacy"] = 0] = "Legacy";
|
403
|
+
/** Only allow entities terminated with a semicolon. */
|
404
|
+
DecodingMode[DecodingMode["Strict"] = 1] = "Strict";
|
405
|
+
/** Entities in attributes have limitations on ending characters. */
|
406
|
+
DecodingMode[DecodingMode["Attribute"] = 2] = "Attribute";
|
407
|
+
})(DecodingMode || (DecodingMode = {}));
|
408
|
+
/**
|
409
|
+
* Determines the branch of the current node that is taken given the current
|
410
|
+
* character. This function is used to traverse the trie.
|
411
|
+
*
|
412
|
+
* @param decodeTree The trie.
|
413
|
+
* @param current The current node.
|
414
|
+
* @param nodeIdx The index right after the current node and its value.
|
415
|
+
* @param char The current character.
|
416
|
+
* @returns The index of the next node, or -1 if no branch is taken.
|
417
|
+
*/
|
388
418
|
function determineBranch(decodeTree, current, nodeIdx, char) {
|
389
419
|
const branchCount = (current & BinTrieFlags.BRANCH_LENGTH) >> 7;
|
390
420
|
const jumpOffset = current & BinTrieFlags.JUMP_TABLE;
|