vite 6.0.0-beta.5 → 6.0.0-beta.7
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 +4 -300
- package/dist/client/client.mjs +23 -16
- package/dist/node/chunks/{dep-DUrICmHV.js → dep-BLM335V-.js} +13 -13
- package/dist/node/chunks/{dep-jvFrlYpX.js → dep-C35rJP-t.js} +6 -192
- package/dist/node/chunks/{dep-BW_D9zgJ.js → dep-Vd7gFLqj.js} +10123 -23062
- package/dist/node/cli.js +8 -7
- package/dist/node/index.d.ts +131 -265
- package/dist/node/index.js +5 -4
- package/dist/node/module-runner.js +11 -5
- package/dist/node-cjs/publicUtils.cjs +12 -5
- package/package.json +25 -16
- package/types/{cssPreprocessorOptions.d.ts → internal/cssPreprocessorOptions.d.ts} +23 -3
- package/types/internal/lightningcssOptions.d.ts +18 -0
package/LICENSE.md
CHANGED
@@ -418,29 +418,6 @@ Repositories: chalk/ansi-regex, sindresorhus/bundle-name, sindresorhus/default-b
|
|
418
418
|
|
419
419
|
---------------------------------------
|
420
420
|
|
421
|
-
## anymatch
|
422
|
-
License: ISC
|
423
|
-
By: Elan Shanker
|
424
|
-
Repository: https://github.com/micromatch/anymatch
|
425
|
-
|
426
|
-
> The ISC License
|
427
|
-
>
|
428
|
-
> Copyright (c) 2019 Elan Shanker, Paul Miller (https://paulmillr.com)
|
429
|
-
>
|
430
|
-
> Permission to use, copy, modify, and/or distribute this software for any
|
431
|
-
> purpose with or without fee is hereby granted, provided that the above
|
432
|
-
> copyright notice and this permission notice appear in all copies.
|
433
|
-
>
|
434
|
-
> THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
|
435
|
-
> WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
|
436
|
-
> MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
|
437
|
-
> ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
438
|
-
> WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
439
|
-
> ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
|
440
|
-
> IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
441
|
-
|
442
|
-
---------------------------------------
|
443
|
-
|
444
421
|
## artichokie
|
445
422
|
License: MIT
|
446
423
|
By: sapphi-red, Evan You
|
@@ -471,91 +448,6 @@ Repository: git+https://github.com/sapphi-red/artichokie.git
|
|
471
448
|
|
472
449
|
---------------------------------------
|
473
450
|
|
474
|
-
## astring
|
475
|
-
License: MIT
|
476
|
-
By: David Bonnet
|
477
|
-
Repository: https://github.com/davidbonnet/astring.git
|
478
|
-
|
479
|
-
> Copyright (c) 2015, David Bonnet <david@bonnet.cc>
|
480
|
-
>
|
481
|
-
> Permission is hereby granted, free of charge, to any person obtaining a copy
|
482
|
-
> of this software and associated documentation files (the "Software"), to deal
|
483
|
-
> in the Software without restriction, including without limitation the rights
|
484
|
-
> to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
485
|
-
> copies of the Software, and to permit persons to whom the Software is
|
486
|
-
> furnished to do so, subject to the following conditions:
|
487
|
-
>
|
488
|
-
> The above copyright notice and this permission notice shall be included in
|
489
|
-
> all copies or substantial portions of the Software.
|
490
|
-
>
|
491
|
-
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
492
|
-
> IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
493
|
-
> FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
494
|
-
> AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
495
|
-
> LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
496
|
-
> OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
497
|
-
> THE SOFTWARE.
|
498
|
-
|
499
|
-
---------------------------------------
|
500
|
-
|
501
|
-
## binary-extensions, is-binary-path
|
502
|
-
License: MIT
|
503
|
-
By: Sindre Sorhus
|
504
|
-
Repositories: sindresorhus/binary-extensions, sindresorhus/is-binary-path
|
505
|
-
|
506
|
-
> MIT License
|
507
|
-
>
|
508
|
-
> Copyright (c) 2019 Sindre Sorhus <sindresorhus@gmail.com> (https://sindresorhus.com), Paul Miller (https://paulmillr.com)
|
509
|
-
>
|
510
|
-
> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
511
|
-
>
|
512
|
-
> The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
513
|
-
>
|
514
|
-
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
515
|
-
|
516
|
-
---------------------------------------
|
517
|
-
|
518
|
-
## braces, fill-range, is-number, micromatch
|
519
|
-
License: MIT
|
520
|
-
By: Jon Schlinkert, Brian Woodward, Elan Shanker, Eugene Sharygin, hemanth.hm
|
521
|
-
Repository: micromatch/braces
|
522
|
-
|
523
|
-
License: MIT
|
524
|
-
By: Jon Schlinkert, Edo Rivai, Paul Miller, Rouven Weßling
|
525
|
-
Repository: jonschlinkert/fill-range
|
526
|
-
|
527
|
-
License: MIT
|
528
|
-
By: Jon Schlinkert, Olsten Larck, Rouven Weßling
|
529
|
-
Repository: jonschlinkert/is-number
|
530
|
-
|
531
|
-
License: MIT
|
532
|
-
By: Jon Schlinkert, Amila Welihinda, Bogdan Chadkin, Brian Woodward, Devon Govett, Elan Shanker, Fabrício Matté, Martin Kolárik, Olsten Larck, Paul Miller, Tom Byrer, Tyler Akins, Peter Bright, Kuba Juszczyk
|
533
|
-
Repository: micromatch/micromatch
|
534
|
-
|
535
|
-
> The MIT License (MIT)
|
536
|
-
>
|
537
|
-
> Copyright (c) 2014-present, Jon Schlinkert.
|
538
|
-
>
|
539
|
-
> Permission is hereby granted, free of charge, to any person obtaining a copy
|
540
|
-
> of this software and associated documentation files (the "Software"), to deal
|
541
|
-
> in the Software without restriction, including without limitation the rights
|
542
|
-
> to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
543
|
-
> copies of the Software, and to permit persons to whom the Software is
|
544
|
-
> furnished to do so, subject to the following conditions:
|
545
|
-
>
|
546
|
-
> The above copyright notice and this permission notice shall be included in
|
547
|
-
> all copies or substantial portions of the Software.
|
548
|
-
>
|
549
|
-
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
550
|
-
> IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
551
|
-
> FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
552
|
-
> AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
553
|
-
> LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
554
|
-
> OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
555
|
-
> THE SOFTWARE.
|
556
|
-
|
557
|
-
---------------------------------------
|
558
|
-
|
559
451
|
## cac
|
560
452
|
License: MIT
|
561
453
|
By: egoist
|
@@ -587,12 +479,12 @@ Repository: egoist/cac
|
|
587
479
|
|
588
480
|
## chokidar
|
589
481
|
License: MIT
|
590
|
-
By: Paul Miller
|
482
|
+
By: Paul Miller
|
591
483
|
Repository: git+https://github.com/paulmillr/chokidar.git
|
592
484
|
|
593
485
|
> The MIT License (MIT)
|
594
486
|
>
|
595
|
-
> Copyright (c) 2012
|
487
|
+
> Copyright (c) 2012 Paul Miller (https://paulmillr.com), Elan Shanker
|
596
488
|
>
|
597
489
|
> Permission is hereby granted, free of charge, to any person obtaining a copy
|
598
490
|
> of this software and associated documentation files (the “Software”), to deal
|
@@ -1186,29 +1078,6 @@ Repository: git+https://github.com/css-modules/generic-names.git
|
|
1186
1078
|
|
1187
1079
|
---------------------------------------
|
1188
1080
|
|
1189
|
-
## glob-parent
|
1190
|
-
License: ISC
|
1191
|
-
By: Gulp Team, Elan Shanker, Blaine Bublitz
|
1192
|
-
Repository: gulpjs/glob-parent
|
1193
|
-
|
1194
|
-
> The ISC License
|
1195
|
-
>
|
1196
|
-
> Copyright (c) 2015, 2019 Elan Shanker
|
1197
|
-
>
|
1198
|
-
> Permission to use, copy, modify, and/or distribute this software for any
|
1199
|
-
> purpose with or without fee is hereby granted, provided that the above
|
1200
|
-
> copyright notice and this permission notice appear in all copies.
|
1201
|
-
>
|
1202
|
-
> THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
|
1203
|
-
> WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
|
1204
|
-
> MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
|
1205
|
-
> ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
1206
|
-
> WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
1207
|
-
> ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
|
1208
|
-
> IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
1209
|
-
|
1210
|
-
---------------------------------------
|
1211
|
-
|
1212
1081
|
## http-proxy
|
1213
1082
|
License: MIT
|
1214
1083
|
By: Charlie Robbins, jcrugzz <jcrugzz@gmail.com>
|
@@ -1253,64 +1122,6 @@ Repository: git+https://github.com/css-modules/icss-utils.git
|
|
1253
1122
|
|
1254
1123
|
---------------------------------------
|
1255
1124
|
|
1256
|
-
## is-extglob
|
1257
|
-
License: MIT
|
1258
|
-
By: Jon Schlinkert
|
1259
|
-
Repository: jonschlinkert/is-extglob
|
1260
|
-
|
1261
|
-
> The MIT License (MIT)
|
1262
|
-
>
|
1263
|
-
> Copyright (c) 2014-2016, Jon Schlinkert
|
1264
|
-
>
|
1265
|
-
> Permission is hereby granted, free of charge, to any person obtaining a copy
|
1266
|
-
> of this software and associated documentation files (the "Software"), to deal
|
1267
|
-
> in the Software without restriction, including without limitation the rights
|
1268
|
-
> to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
1269
|
-
> copies of the Software, and to permit persons to whom the Software is
|
1270
|
-
> furnished to do so, subject to the following conditions:
|
1271
|
-
>
|
1272
|
-
> The above copyright notice and this permission notice shall be included in
|
1273
|
-
> all copies or substantial portions of the Software.
|
1274
|
-
>
|
1275
|
-
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
1276
|
-
> IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
1277
|
-
> FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
1278
|
-
> AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
1279
|
-
> LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
1280
|
-
> OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
1281
|
-
> THE SOFTWARE.
|
1282
|
-
|
1283
|
-
---------------------------------------
|
1284
|
-
|
1285
|
-
## is-glob
|
1286
|
-
License: MIT
|
1287
|
-
By: Jon Schlinkert, Brian Woodward, Daniel Perez
|
1288
|
-
Repository: micromatch/is-glob
|
1289
|
-
|
1290
|
-
> The MIT License (MIT)
|
1291
|
-
>
|
1292
|
-
> Copyright (c) 2014-2017, Jon Schlinkert.
|
1293
|
-
>
|
1294
|
-
> Permission is hereby granted, free of charge, to any person obtaining a copy
|
1295
|
-
> of this software and associated documentation files (the "Software"), to deal
|
1296
|
-
> in the Software without restriction, including without limitation the rights
|
1297
|
-
> to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
1298
|
-
> copies of the Software, and to permit persons to whom the Software is
|
1299
|
-
> furnished to do so, subject to the following conditions:
|
1300
|
-
>
|
1301
|
-
> The above copyright notice and this permission notice shall be included in
|
1302
|
-
> all copies or substantial portions of the Software.
|
1303
|
-
>
|
1304
|
-
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
1305
|
-
> IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
1306
|
-
> FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
1307
|
-
> AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
1308
|
-
> LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
1309
|
-
> OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
1310
|
-
> THE SOFTWARE.
|
1311
|
-
|
1312
|
-
---------------------------------------
|
1313
|
-
|
1314
1125
|
## is-reference
|
1315
1126
|
License: MIT
|
1316
1127
|
By: Rich Harris
|
@@ -1611,39 +1422,10 @@ Repository: vercel/ms
|
|
1611
1422
|
|
1612
1423
|
---------------------------------------
|
1613
1424
|
|
1614
|
-
##
|
1615
|
-
License: MIT
|
1616
|
-
By: Jon Schlinkert, Blaine Bublitz
|
1617
|
-
Repository: jonschlinkert/normalize-path
|
1618
|
-
|
1619
|
-
> The MIT License (MIT)
|
1620
|
-
>
|
1621
|
-
> Copyright (c) 2014-2018, Jon Schlinkert.
|
1622
|
-
>
|
1623
|
-
> Permission is hereby granted, free of charge, to any person obtaining a copy
|
1624
|
-
> of this software and associated documentation files (the "Software"), to deal
|
1625
|
-
> in the Software without restriction, including without limitation the rights
|
1626
|
-
> to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
1627
|
-
> copies of the Software, and to permit persons to whom the Software is
|
1628
|
-
> furnished to do so, subject to the following conditions:
|
1629
|
-
>
|
1630
|
-
> The above copyright notice and this permission notice shall be included in
|
1631
|
-
> all copies or substantial portions of the Software.
|
1632
|
-
>
|
1633
|
-
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
1634
|
-
> IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
1635
|
-
> FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
1636
|
-
> AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
1637
|
-
> LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
1638
|
-
> OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
1639
|
-
> THE SOFTWARE.
|
1640
|
-
|
1641
|
-
---------------------------------------
|
1642
|
-
|
1643
|
-
## object-assign, pify
|
1425
|
+
## object-assign
|
1644
1426
|
License: MIT
|
1645
1427
|
By: Sindre Sorhus
|
1646
|
-
|
1428
|
+
Repository: sindresorhus/object-assign
|
1647
1429
|
|
1648
1430
|
> The MIT License (MIT)
|
1649
1431
|
>
|
@@ -2056,34 +1838,6 @@ Repository: https://github.com/TrySound/postcss-value-parser.git
|
|
2056
1838
|
|
2057
1839
|
---------------------------------------
|
2058
1840
|
|
2059
|
-
## read-cache
|
2060
|
-
License: MIT
|
2061
|
-
By: Bogdan Chadkin
|
2062
|
-
Repository: git+https://github.com/TrySound/read-cache.git
|
2063
|
-
|
2064
|
-
> The MIT License (MIT)
|
2065
|
-
>
|
2066
|
-
> Copyright 2016 Bogdan Chadkin <trysound@yandex.ru>
|
2067
|
-
>
|
2068
|
-
> Permission is hereby granted, free of charge, to any person obtaining a copy of
|
2069
|
-
> this software and associated documentation files (the "Software"), to deal in
|
2070
|
-
> the Software without restriction, including without limitation the rights to
|
2071
|
-
> use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
2072
|
-
> the Software, and to permit persons to whom the Software is furnished to do so,
|
2073
|
-
> subject to the following conditions:
|
2074
|
-
>
|
2075
|
-
> The above copyright notice and this permission notice shall be included in all
|
2076
|
-
> copies or substantial portions of the Software.
|
2077
|
-
>
|
2078
|
-
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
2079
|
-
> IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
2080
|
-
> FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
2081
|
-
> COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
2082
|
-
> IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
2083
|
-
> CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
2084
|
-
|
2085
|
-
---------------------------------------
|
2086
|
-
|
2087
1841
|
## readdirp
|
2088
1842
|
License: MIT
|
2089
1843
|
By: Thorsten Lorenz, Paul Miller
|
@@ -2290,35 +2044,6 @@ Repository: git+https://github.com/SuperchupuDev/tinyglobby.git
|
|
2290
2044
|
|
2291
2045
|
---------------------------------------
|
2292
2046
|
|
2293
|
-
## to-regex-range
|
2294
|
-
License: MIT
|
2295
|
-
By: Jon Schlinkert, Rouven Weßling
|
2296
|
-
Repository: micromatch/to-regex-range
|
2297
|
-
|
2298
|
-
> The MIT License (MIT)
|
2299
|
-
>
|
2300
|
-
> Copyright (c) 2015-present, Jon Schlinkert.
|
2301
|
-
>
|
2302
|
-
> Permission is hereby granted, free of charge, to any person obtaining a copy
|
2303
|
-
> of this software and associated documentation files (the "Software"), to deal
|
2304
|
-
> in the Software without restriction, including without limitation the rights
|
2305
|
-
> to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
2306
|
-
> copies of the Software, and to permit persons to whom the Software is
|
2307
|
-
> furnished to do so, subject to the following conditions:
|
2308
|
-
>
|
2309
|
-
> The above copyright notice and this permission notice shall be included in
|
2310
|
-
> all copies or substantial portions of the Software.
|
2311
|
-
>
|
2312
|
-
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
2313
|
-
> IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
2314
|
-
> FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
2315
|
-
> AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
2316
|
-
> LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
2317
|
-
> OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
2318
|
-
> THE SOFTWARE.
|
2319
|
-
|
2320
|
-
---------------------------------------
|
2321
|
-
|
2322
2047
|
## tsconfck
|
2323
2048
|
License: MIT
|
2324
2049
|
By: dominikg
|
@@ -2518,24 +2243,3 @@ Repository: git+https://github.com/websockets/ws.git
|
|
2518
2243
|
> COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
2519
2244
|
> IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
2520
2245
|
> CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
2521
|
-
|
2522
|
-
---------------------------------------
|
2523
|
-
|
2524
|
-
## yaml
|
2525
|
-
License: ISC
|
2526
|
-
By: Eemeli Aro
|
2527
|
-
Repository: github:eemeli/yaml
|
2528
|
-
|
2529
|
-
> Copyright Eemeli Aro <eemeli@gmail.com>
|
2530
|
-
>
|
2531
|
-
> Permission to use, copy, modify, and/or distribute this software for any purpose
|
2532
|
-
> with or without fee is hereby granted, provided that the above copyright notice
|
2533
|
-
> and this permission notice appear in all copies.
|
2534
|
-
>
|
2535
|
-
> THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
2536
|
-
> REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
|
2537
|
-
> FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
2538
|
-
> INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS
|
2539
|
-
> OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
|
2540
|
-
> TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF
|
2541
|
-
> THIS SOFTWARE.
|
package/dist/client/client.mjs
CHANGED
@@ -730,22 +730,29 @@ function hasErrorOverlay() {
|
|
730
730
|
return document.querySelectorAll(overlayId).length;
|
731
731
|
}
|
732
732
|
async function waitForSuccessfulPing(socketProtocol2, hostAndPath, ms = 1e3) {
|
733
|
-
|
734
|
-
|
735
|
-
|
736
|
-
|
737
|
-
|
738
|
-
|
739
|
-
|
740
|
-
|
741
|
-
|
742
|
-
|
743
|
-
|
744
|
-
|
745
|
-
|
746
|
-
|
747
|
-
|
748
|
-
|
733
|
+
async function ping() {
|
734
|
+
const socket2 = new WebSocket(
|
735
|
+
`${socketProtocol2}://${hostAndPath}`,
|
736
|
+
"vite-ping"
|
737
|
+
);
|
738
|
+
return new Promise((resolve) => {
|
739
|
+
function onOpen() {
|
740
|
+
resolve(true);
|
741
|
+
close();
|
742
|
+
}
|
743
|
+
function onError() {
|
744
|
+
resolve(false);
|
745
|
+
close();
|
746
|
+
}
|
747
|
+
function close() {
|
748
|
+
socket2.removeEventListener("open", onOpen);
|
749
|
+
socket2.removeEventListener("error", onError);
|
750
|
+
socket2.close();
|
751
|
+
}
|
752
|
+
socket2.addEventListener("open", onOpen);
|
753
|
+
socket2.addEventListener("error", onError);
|
754
|
+
});
|
755
|
+
}
|
749
756
|
if (await ping()) {
|
750
757
|
return;
|
751
758
|
}
|
@@ -1,9 +1,9 @@
|
|
1
|
-
import { M as commonjsGlobal, L as getDefaultExportFromCjs } from './dep-
|
2
|
-
import require$$0$
|
3
|
-
import require$$0
|
4
|
-
import
|
1
|
+
import { M as commonjsGlobal, L as getDefaultExportFromCjs } from './dep-Vd7gFLqj.js';
|
2
|
+
import require$$0$1 from 'fs';
|
3
|
+
import require$$0 from 'postcss';
|
4
|
+
import sysPath__default from 'path';
|
5
5
|
import require$$3 from 'crypto';
|
6
|
-
import require$$
|
6
|
+
import require$$1 from 'util';
|
7
7
|
import { r as requireLib } from './dep-mtw2NpNs.js';
|
8
8
|
|
9
9
|
import { createRequire as __cjs_createRequire } from 'node:module';
|
@@ -1126,9 +1126,9 @@ function requireFileSystemLoader () {
|
|
1126
1126
|
});
|
1127
1127
|
FileSystemLoader.default = void 0;
|
1128
1128
|
|
1129
|
-
var _postcss = _interopRequireDefault(require$$0
|
1129
|
+
var _postcss = _interopRequireDefault(require$$0);
|
1130
1130
|
|
1131
|
-
var _path = _interopRequireDefault(
|
1131
|
+
var _path = _interopRequireDefault(sysPath__default);
|
1132
1132
|
|
1133
1133
|
var _Parser = _interopRequireDefault(requireParser$1());
|
1134
1134
|
|
@@ -2157,7 +2157,7 @@ function requireInterpolateName () {
|
|
2157
2157
|
if (hasRequiredInterpolateName) return interpolateName_1;
|
2158
2158
|
hasRequiredInterpolateName = 1;
|
2159
2159
|
|
2160
|
-
const path =
|
2160
|
+
const path = sysPath__default;
|
2161
2161
|
const getHashDigest = requireGetHashDigest();
|
2162
2162
|
|
2163
2163
|
function interpolateName(loaderContext, name, options = {}) {
|
@@ -2282,7 +2282,7 @@ function requireGenericNames () {
|
|
2282
2282
|
hasRequiredGenericNames = 1;
|
2283
2283
|
|
2284
2284
|
var interpolateName = requireInterpolateName();
|
2285
|
-
var path =
|
2285
|
+
var path = sysPath__default;
|
2286
2286
|
|
2287
2287
|
/**
|
2288
2288
|
* @param {string} pattern
|
@@ -3631,7 +3631,7 @@ function requireNode () {
|
|
3631
3631
|
* For Node.js, simply re-export the core `util.deprecate` function.
|
3632
3632
|
*/
|
3633
3633
|
|
3634
|
-
node = require$$
|
3634
|
+
node = require$$1.deprecate;
|
3635
3635
|
return node;
|
3636
3636
|
}
|
3637
3637
|
|
@@ -5030,7 +5030,7 @@ function requireParser () {
|
|
5030
5030
|
}
|
5031
5031
|
// We need to decide between a space that's a descendant combinator and meaningless whitespace at the end of a selector.
|
5032
5032
|
var nextSigTokenPos = this.locateNextMeaningfulToken(this.position);
|
5033
|
-
if (nextSigTokenPos < 0 || this.tokens[nextSigTokenPos][_tokenize.FIELDS.TYPE] === tokens.comma) {
|
5033
|
+
if (nextSigTokenPos < 0 || this.tokens[nextSigTokenPos][_tokenize.FIELDS.TYPE] === tokens.comma || this.tokens[nextSigTokenPos][_tokenize.FIELDS.TYPE] === tokens.closeParenthesis) {
|
5034
5034
|
var nodes = this.parseWhitespaceEquivalentTokens(nextSigTokenPos);
|
5035
5035
|
if (nodes.length > 0) {
|
5036
5036
|
var last = this.current.last;
|
@@ -7079,7 +7079,7 @@ function requirePluginFactory () {
|
|
7079
7079
|
});
|
7080
7080
|
pluginFactory.makePlugin = makePlugin;
|
7081
7081
|
|
7082
|
-
var _postcss = _interopRequireDefault(require$$0
|
7082
|
+
var _postcss = _interopRequireDefault(require$$0);
|
7083
7083
|
|
7084
7084
|
var _unquote = _interopRequireDefault(requireUnquote());
|
7085
7085
|
|
@@ -7188,7 +7188,7 @@ function requireBuild () {
|
|
7188
7188
|
if (hasRequiredBuild) return build.exports;
|
7189
7189
|
hasRequiredBuild = 1;
|
7190
7190
|
|
7191
|
-
var _fs = require$$0$
|
7191
|
+
var _fs = require$$0$1;
|
7192
7192
|
|
7193
7193
|
var _fs2 = requireFs();
|
7194
7194
|
|