vite 6.0.0-alpha.9 → 6.0.0-beta.1

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 CHANGED
@@ -25,7 +25,7 @@ SOFTWARE.
25
25
 
26
26
  # Licenses of bundled dependencies
27
27
  The published Vite artifact additionally contains code with the following licenses:
28
- Apache-2.0, BSD-2-Clause, CC0-1.0, ISC, MIT
28
+ Apache-2.0, BSD-2-Clause, BlueOak-1.0.0, CC0-1.0, ISC, MIT
29
29
 
30
30
  # Bundled dependencies:
31
31
  ## @ampproject/remapping
@@ -587,64 +587,6 @@ Repository: rollup/plugins
587
587
 
588
588
  ---------------------------------------
589
589
 
590
- ## acorn
591
- License: MIT
592
- By: Marijn Haverbeke, Ingvar Stepanyan, Adrian Heine
593
- Repository: https://github.com/acornjs/acorn.git
594
-
595
- > MIT License
596
- >
597
- > Copyright (C) 2012-2022 by various contributors (see AUTHORS)
598
- >
599
- > Permission is hereby granted, free of charge, to any person obtaining a copy
600
- > of this software and associated documentation files (the "Software"), to deal
601
- > in the Software without restriction, including without limitation the rights
602
- > to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
603
- > copies of the Software, and to permit persons to whom the Software is
604
- > furnished to do so, subject to the following conditions:
605
- >
606
- > The above copyright notice and this permission notice shall be included in
607
- > all copies or substantial portions of the Software.
608
- >
609
- > THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
610
- > IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
611
- > FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
612
- > AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
613
- > LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
614
- > OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
615
- > THE SOFTWARE.
616
-
617
- ---------------------------------------
618
-
619
- ## acorn-walk
620
- License: MIT
621
- By: Marijn Haverbeke, Ingvar Stepanyan, Adrian Heine
622
- Repository: https://github.com/acornjs/acorn.git
623
-
624
- > MIT License
625
- >
626
- > Copyright (C) 2012-2020 by various contributors (see AUTHORS)
627
- >
628
- > Permission is hereby granted, free of charge, to any person obtaining a copy
629
- > of this software and associated documentation files (the "Software"), to deal
630
- > in the Software without restriction, including without limitation the rights
631
- > to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
632
- > copies of the Software, and to permit persons to whom the Software is
633
- > furnished to do so, subject to the following conditions:
634
- >
635
- > The above copyright notice and this permission notice shall be included in
636
- > all copies or substantial portions of the Software.
637
- >
638
- > THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
639
- > IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
640
- > FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
641
- > AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
642
- > LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
643
- > OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
644
- > THE SOFTWARE.
645
-
646
- ---------------------------------------
647
-
648
590
  ## ansi-regex
649
591
  License: MIT
650
592
  By: Sindre Sorhus
@@ -824,7 +766,7 @@ Repository: micromatch/braces
824
766
 
825
767
  > The MIT License (MIT)
826
768
  >
827
- > Copyright (c) 2014-2018, Jon Schlinkert.
769
+ > Copyright (c) 2014-present, Jon Schlinkert.
828
770
  >
829
771
  > Permission is hereby granted, free of charge, to any person obtaining a copy
830
772
  > of this software and associated documentation files (the "Software"), to deal
@@ -1528,57 +1470,6 @@ Repository: git@github.com:follow-redirects/follow-redirects.git
1528
1470
 
1529
1471
  ---------------------------------------
1530
1472
 
1531
- ## fs.realpath
1532
- License: ISC
1533
- By: Isaac Z. Schlueter
1534
- Repository: git+https://github.com/isaacs/fs.realpath.git
1535
-
1536
- > The ISC License
1537
- >
1538
- > Copyright (c) Isaac Z. Schlueter and Contributors
1539
- >
1540
- > Permission to use, copy, modify, and/or distribute this software for any
1541
- > purpose with or without fee is hereby granted, provided that the above
1542
- > copyright notice and this permission notice appear in all copies.
1543
- >
1544
- > THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
1545
- > WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
1546
- > MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
1547
- > ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
1548
- > WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
1549
- > ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
1550
- > IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
1551
- >
1552
- > ----
1553
- >
1554
- > This library bundles a version of the `fs.realpath` and `fs.realpathSync`
1555
- > methods from Node.js v0.10 under the terms of the Node.js MIT license.
1556
- >
1557
- > Node's license follows, also included at the header of `old.js` which contains
1558
- > the licensed code:
1559
- >
1560
- > Copyright Joyent, Inc. and other Node contributors.
1561
- >
1562
- > Permission is hereby granted, free of charge, to any person obtaining a
1563
- > copy of this software and associated documentation files (the "Software"),
1564
- > to deal in the Software without restriction, including without limitation
1565
- > the rights to use, copy, modify, merge, publish, distribute, sublicense,
1566
- > and/or sell copies of the Software, and to permit persons to whom the
1567
- > Software is furnished to do so, subject to the following conditions:
1568
- >
1569
- > The above copyright notice and this permission notice shall be included in
1570
- > all copies or substantial portions of the Software.
1571
- >
1572
- > THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
1573
- > IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
1574
- > FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
1575
- > AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
1576
- > LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
1577
- > FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
1578
- > DEALINGS IN THE SOFTWARE.
1579
-
1580
- ---------------------------------------
1581
-
1582
1473
  ## generic-names
1583
1474
  License: MIT
1584
1475
  By: Alexey Litvinov
@@ -1615,7 +1506,7 @@ Repository: git://github.com/isaacs/node-glob.git
1615
1506
 
1616
1507
  > The ISC License
1617
1508
  >
1618
- > Copyright (c) 2009-2022 Isaac Z. Schlueter and Contributors
1509
+ > Copyright (c) 2009-2023 Isaac Z. Schlueter and Contributors
1619
1510
  >
1620
1511
  > Permission to use, copy, modify, and/or distribute this software for any
1621
1512
  > purpose with or without fee is hereby granted, provided that the above
@@ -1698,51 +1589,6 @@ Repository: git+https://github.com/css-modules/icss-utils.git
1698
1589
 
1699
1590
  ---------------------------------------
1700
1591
 
1701
- ## inflight
1702
- License: ISC
1703
- By: Isaac Z. Schlueter
1704
- Repository: https://github.com/npm/inflight.git
1705
-
1706
- > The ISC License
1707
- >
1708
- > Copyright (c) Isaac Z. Schlueter
1709
- >
1710
- > Permission to use, copy, modify, and/or distribute this software for any
1711
- > purpose with or without fee is hereby granted, provided that the above
1712
- > copyright notice and this permission notice appear in all copies.
1713
- >
1714
- > THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
1715
- > WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
1716
- > MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
1717
- > ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
1718
- > WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
1719
- > ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
1720
- > IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
1721
-
1722
- ---------------------------------------
1723
-
1724
- ## inherits
1725
- License: ISC
1726
- Repository: git://github.com/isaacs/inherits
1727
-
1728
- > The ISC License
1729
- >
1730
- > Copyright (c) Isaac Z. Schlueter
1731
- >
1732
- > Permission to use, copy, modify, and/or distribute this software for any
1733
- > purpose with or without fee is hereby granted, provided that the above
1734
- > copyright notice and this permission notice appear in all copies.
1735
- >
1736
- > THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
1737
- > REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
1738
- > FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
1739
- > INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
1740
- > LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
1741
- > OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
1742
- > PERFORMANCE OF THIS SOFTWARE.
1743
-
1744
- ---------------------------------------
1745
-
1746
1592
  ## is-binary-path
1747
1593
  License: MIT
1748
1594
  By: Sindre Sorhus
@@ -2110,6 +1956,29 @@ Repository: lodash/lodash
2110
1956
 
2111
1957
  ---------------------------------------
2112
1958
 
1959
+ ## lru-cache
1960
+ License: ISC
1961
+ By: Isaac Z. Schlueter
1962
+ Repository: git://github.com/isaacs/node-lru-cache.git
1963
+
1964
+ > The ISC License
1965
+ >
1966
+ > Copyright (c) 2010-2023 Isaac Z. Schlueter and Contributors
1967
+ >
1968
+ > Permission to use, copy, modify, and/or distribute this software for any
1969
+ > purpose with or without fee is hereby granted, provided that the above
1970
+ > copyright notice and this permission notice appear in all copies.
1971
+ >
1972
+ > THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
1973
+ > WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
1974
+ > MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
1975
+ > ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
1976
+ > WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
1977
+ > ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
1978
+ > IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
1979
+
1980
+ ---------------------------------------
1981
+
2113
1982
  ## magic-string
2114
1983
  License: MIT
2115
1984
  By: Rich Harris
@@ -2205,6 +2074,29 @@ Repository: git://github.com/isaacs/minimatch.git
2205
2074
 
2206
2075
  ---------------------------------------
2207
2076
 
2077
+ ## minipass
2078
+ License: ISC
2079
+ By: Isaac Z. Schlueter
2080
+ Repository: https://github.com/isaacs/minipass
2081
+
2082
+ > The ISC License
2083
+ >
2084
+ > Copyright (c) 2017-2023 npm, Inc., Isaac Z. Schlueter, and Contributors
2085
+ >
2086
+ > Permission to use, copy, modify, and/or distribute this software for any
2087
+ > purpose with or without fee is hereby granted, provided that the above
2088
+ > copyright notice and this permission notice appear in all copies.
2089
+ >
2090
+ > THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
2091
+ > WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
2092
+ > MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
2093
+ > ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
2094
+ > WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
2095
+ > ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
2096
+ > IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
2097
+
2098
+ ---------------------------------------
2099
+
2208
2100
  ## mlly
2209
2101
  License: MIT
2210
2102
  Repository: unjs/mlly
@@ -2264,11 +2156,11 @@ Repository: lukeed/mrmime
2264
2156
 
2265
2157
  ## ms
2266
2158
  License: MIT
2267
- Repository: zeit/ms
2159
+ Repository: vercel/ms
2268
2160
 
2269
2161
  > The MIT License (MIT)
2270
2162
  >
2271
- > Copyright (c) 2016 Zeit, Inc.
2163
+ > Copyright (c) 2020 Vercel, Inc.
2272
2164
  >
2273
2165
  > Permission is hereby granted, free of charge, to any person obtaining a copy
2274
2166
  > of this software and associated documentation files (the "Software"), to deal
@@ -2379,29 +2271,6 @@ Repository: jshttp/on-finished
2379
2271
 
2380
2272
  ---------------------------------------
2381
2273
 
2382
- ## once
2383
- License: ISC
2384
- By: Isaac Z. Schlueter
2385
- Repository: git://github.com/isaacs/once
2386
-
2387
- > The ISC License
2388
- >
2389
- > Copyright (c) Isaac Z. Schlueter and Contributors
2390
- >
2391
- > Permission to use, copy, modify, and/or distribute this software for any
2392
- > purpose with or without fee is hereby granted, provided that the above
2393
- > copyright notice and this permission notice appear in all copies.
2394
- >
2395
- > THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
2396
- > WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
2397
- > MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
2398
- > ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
2399
- > WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
2400
- > ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
2401
- > IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
2402
-
2403
- ---------------------------------------
2404
-
2405
2274
  ## open
2406
2275
  License: MIT
2407
2276
  By: Sindre Sorhus
@@ -2494,6 +2363,69 @@ Repository: sindresorhus/path-key
2494
2363
 
2495
2364
  ---------------------------------------
2496
2365
 
2366
+ ## path-scurry
2367
+ License: BlueOak-1.0.0
2368
+ By: Isaac Z. Schlueter
2369
+ Repository: git+https://github.com/isaacs/path-scurry
2370
+
2371
+ > # Blue Oak Model License
2372
+ >
2373
+ > Version 1.0.0
2374
+ >
2375
+ > ## Purpose
2376
+ >
2377
+ > This license gives everyone as much permission to work with
2378
+ > this software as possible, while protecting contributors
2379
+ > from liability.
2380
+ >
2381
+ > ## Acceptance
2382
+ >
2383
+ > In order to receive this license, you must agree to its
2384
+ > rules. The rules of this license are both obligations
2385
+ > under that agreement and conditions to your license.
2386
+ > You must not do anything with this software that triggers
2387
+ > a rule that you cannot or will not follow.
2388
+ >
2389
+ > ## Copyright
2390
+ >
2391
+ > Each contributor licenses you to do everything with this
2392
+ > software that would otherwise infringe that contributor's
2393
+ > copyright in it.
2394
+ >
2395
+ > ## Notices
2396
+ >
2397
+ > You must ensure that everyone who gets a copy of
2398
+ > any part of this software from you, with or without
2399
+ > changes, also gets the text of this license or a link to
2400
+ > <https://blueoakcouncil.org/license/1.0.0>.
2401
+ >
2402
+ > ## Excuse
2403
+ >
2404
+ > If anyone notifies you in writing that you have not
2405
+ > complied with [Notices](#notices), you can keep your
2406
+ > license by taking all practical steps to comply within 30
2407
+ > days after the notice. If you do not do so, your license
2408
+ > ends immediately.
2409
+ >
2410
+ > ## Patent
2411
+ >
2412
+ > Each contributor licenses you to do everything with this
2413
+ > software that would otherwise infringe any patent claims
2414
+ > they can license or become able to license.
2415
+ >
2416
+ > ## Reliability
2417
+ >
2418
+ > No contributor can revoke this license.
2419
+ >
2420
+ > ## No Liability
2421
+ >
2422
+ > ***As far as the law allows, this software comes as is,
2423
+ > without any warranty or condition, and no contributor
2424
+ > will be liable to anyone for any damages related to this
2425
+ > software or this license, under any kind of legal claim.***
2426
+
2427
+ ---------------------------------------
2428
+
2497
2429
  ## periscopic
2498
2430
  License: MIT
2499
2431
  Repository: Rich-Harris/periscopic
@@ -2515,7 +2447,7 @@ Repository: alexeyraspopov/picocolors
2515
2447
 
2516
2448
  > ISC License
2517
2449
  >
2518
- > Copyright (c) 2021 Alexey Raspopov, Kostiantyn Denysov, Anton Verinov
2450
+ > Copyright (c) 2021-2024 Oleksii Raspopov, Kostiantyn Denysov, Anton Verinov
2519
2451
  >
2520
2452
  > Permission to use, copy, modify, and/or distribute this software for any
2521
2453
  > purpose with or without fee is hereby granted, provided that the above
@@ -3443,29 +3375,6 @@ Repository: git://github.com/isaacs/node-which.git
3443
3375
 
3444
3376
  ---------------------------------------
3445
3377
 
3446
- ## wrappy
3447
- License: ISC
3448
- By: Isaac Z. Schlueter
3449
- Repository: https://github.com/npm/wrappy
3450
-
3451
- > The ISC License
3452
- >
3453
- > Copyright (c) Isaac Z. Schlueter and Contributors
3454
- >
3455
- > Permission to use, copy, modify, and/or distribute this software for any
3456
- > purpose with or without fee is hereby granted, provided that the above
3457
- > copyright notice and this permission notice appear in all copies.
3458
- >
3459
- > THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
3460
- > WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
3461
- > MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
3462
- > ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
3463
- > WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
3464
- > ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
3465
- > IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
3466
-
3467
- ---------------------------------------
3468
-
3469
3378
  ## ws
3470
3379
  License: MIT
3471
3380
  By: Einar Otto Stangvik
package/bin/vite.js CHANGED
@@ -5,7 +5,7 @@ if (!import.meta.url.includes('node_modules')) {
5
5
  try {
6
6
  // only available as dev dependency
7
7
  await import('source-map-support').then((r) => r.default.install())
8
- } catch (e) {}
8
+ } catch {}
9
9
  }
10
10
 
11
11
  global.__vite_start_time = performance.now()
package/client.d.ts CHANGED
@@ -54,6 +54,10 @@ declare module '*.apng' {
54
54
  const src: string
55
55
  export default src
56
56
  }
57
+ declare module '*.bmp' {
58
+ const src: string
59
+ export default src
60
+ }
57
61
  declare module '*.png' {
58
62
  const src: string
59
63
  export default src
@@ -242,3 +246,11 @@ declare module '*?inline' {
242
246
  const src: string
243
247
  export default src
244
248
  }
249
+
250
+ declare interface VitePreloadErrorEvent extends Event {
251
+ payload: Error
252
+ }
253
+
254
+ declare interface WindowEventMap {
255
+ 'vite:preloadError': VitePreloadErrorEvent
256
+ }