vite 6.0.0-alpha.18 → 6.0.0-alpha.19
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 +111 -144
- package/client.d.ts +4 -0
- package/dist/client/client.mjs +614 -612
- package/dist/client/env.mjs +18 -24
- package/dist/node/chunks/{dep-DXWVQosX.js → dep-BWEMV5Th.js} +49165 -46447
- package/dist/node/chunks/{dep-CrWVpuYf.js → dep-D-7KCb9p.js} +32 -2
- package/dist/node/chunks/{dep-70g8Z1cd.js → dep-MbEgMyUv.js} +10 -14
- package/dist/node/chunks/{dep-DlhHXrzk.js → dep-bCS_cgqC.js} +1 -1
- package/dist/node/cli.js +253 -263
- package/dist/node/constants.js +105 -108
- package/dist/node/index.d.ts +75 -74
- package/dist/node/index.js +125 -143
- package/dist/node/module-runner.d.ts +3 -0
- package/dist/node/module-runner.js +173 -108
- package/dist/node-cjs/publicUtils.cjs +536 -606
- package/package.json +16 -17
- package/dist/client/client.mjs.map +0 -1
- package/dist/client/env.mjs.map +0 -1
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
|
@@ -1470,57 +1470,6 @@ Repository: git@github.com:follow-redirects/follow-redirects.git
|
|
1470
1470
|
|
1471
1471
|
---------------------------------------
|
1472
1472
|
|
1473
|
-
## fs.realpath
|
1474
|
-
License: ISC
|
1475
|
-
By: Isaac Z. Schlueter
|
1476
|
-
Repository: git+https://github.com/isaacs/fs.realpath.git
|
1477
|
-
|
1478
|
-
> The ISC License
|
1479
|
-
>
|
1480
|
-
> Copyright (c) Isaac Z. Schlueter and Contributors
|
1481
|
-
>
|
1482
|
-
> Permission to use, copy, modify, and/or distribute this software for any
|
1483
|
-
> purpose with or without fee is hereby granted, provided that the above
|
1484
|
-
> copyright notice and this permission notice appear in all copies.
|
1485
|
-
>
|
1486
|
-
> THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
|
1487
|
-
> WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
|
1488
|
-
> MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
|
1489
|
-
> ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
1490
|
-
> WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
1491
|
-
> ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
|
1492
|
-
> IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
1493
|
-
>
|
1494
|
-
> ----
|
1495
|
-
>
|
1496
|
-
> This library bundles a version of the `fs.realpath` and `fs.realpathSync`
|
1497
|
-
> methods from Node.js v0.10 under the terms of the Node.js MIT license.
|
1498
|
-
>
|
1499
|
-
> Node's license follows, also included at the header of `old.js` which contains
|
1500
|
-
> the licensed code:
|
1501
|
-
>
|
1502
|
-
> Copyright Joyent, Inc. and other Node contributors.
|
1503
|
-
>
|
1504
|
-
> Permission is hereby granted, free of charge, to any person obtaining a
|
1505
|
-
> copy of this software and associated documentation files (the "Software"),
|
1506
|
-
> to deal in the Software without restriction, including without limitation
|
1507
|
-
> the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
1508
|
-
> and/or sell copies of the Software, and to permit persons to whom the
|
1509
|
-
> Software is furnished to do so, subject to the following conditions:
|
1510
|
-
>
|
1511
|
-
> The above copyright notice and this permission notice shall be included in
|
1512
|
-
> all copies or substantial portions of the Software.
|
1513
|
-
>
|
1514
|
-
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
1515
|
-
> IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
1516
|
-
> FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
1517
|
-
> AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
1518
|
-
> LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
1519
|
-
> FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
1520
|
-
> DEALINGS IN THE SOFTWARE.
|
1521
|
-
|
1522
|
-
---------------------------------------
|
1523
|
-
|
1524
1473
|
## generic-names
|
1525
1474
|
License: MIT
|
1526
1475
|
By: Alexey Litvinov
|
@@ -1557,7 +1506,7 @@ Repository: git://github.com/isaacs/node-glob.git
|
|
1557
1506
|
|
1558
1507
|
> The ISC License
|
1559
1508
|
>
|
1560
|
-
> Copyright (c) 2009-
|
1509
|
+
> Copyright (c) 2009-2023 Isaac Z. Schlueter and Contributors
|
1561
1510
|
>
|
1562
1511
|
> Permission to use, copy, modify, and/or distribute this software for any
|
1563
1512
|
> purpose with or without fee is hereby granted, provided that the above
|
@@ -1640,51 +1589,6 @@ Repository: git+https://github.com/css-modules/icss-utils.git
|
|
1640
1589
|
|
1641
1590
|
---------------------------------------
|
1642
1591
|
|
1643
|
-
## inflight
|
1644
|
-
License: ISC
|
1645
|
-
By: Isaac Z. Schlueter
|
1646
|
-
Repository: https://github.com/npm/inflight.git
|
1647
|
-
|
1648
|
-
> The ISC License
|
1649
|
-
>
|
1650
|
-
> Copyright (c) Isaac Z. Schlueter
|
1651
|
-
>
|
1652
|
-
> Permission to use, copy, modify, and/or distribute this software for any
|
1653
|
-
> purpose with or without fee is hereby granted, provided that the above
|
1654
|
-
> copyright notice and this permission notice appear in all copies.
|
1655
|
-
>
|
1656
|
-
> THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
|
1657
|
-
> WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
|
1658
|
-
> MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
|
1659
|
-
> ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
1660
|
-
> WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
1661
|
-
> ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
|
1662
|
-
> IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
1663
|
-
|
1664
|
-
---------------------------------------
|
1665
|
-
|
1666
|
-
## inherits
|
1667
|
-
License: ISC
|
1668
|
-
Repository: git://github.com/isaacs/inherits
|
1669
|
-
|
1670
|
-
> The ISC License
|
1671
|
-
>
|
1672
|
-
> Copyright (c) Isaac Z. Schlueter
|
1673
|
-
>
|
1674
|
-
> Permission to use, copy, modify, and/or distribute this software for any
|
1675
|
-
> purpose with or without fee is hereby granted, provided that the above
|
1676
|
-
> copyright notice and this permission notice appear in all copies.
|
1677
|
-
>
|
1678
|
-
> THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
1679
|
-
> REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
|
1680
|
-
> FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
1681
|
-
> INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
1682
|
-
> LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
1683
|
-
> OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
1684
|
-
> PERFORMANCE OF THIS SOFTWARE.
|
1685
|
-
|
1686
|
-
---------------------------------------
|
1687
|
-
|
1688
1592
|
## is-binary-path
|
1689
1593
|
License: MIT
|
1690
1594
|
By: Sindre Sorhus
|
@@ -2052,6 +1956,29 @@ Repository: lodash/lodash
|
|
2052
1956
|
|
2053
1957
|
---------------------------------------
|
2054
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
|
+
|
2055
1982
|
## magic-string
|
2056
1983
|
License: MIT
|
2057
1984
|
By: Rich Harris
|
@@ -2147,6 +2074,29 @@ Repository: git://github.com/isaacs/minimatch.git
|
|
2147
2074
|
|
2148
2075
|
---------------------------------------
|
2149
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
|
+
|
2150
2100
|
## mlly
|
2151
2101
|
License: MIT
|
2152
2102
|
Repository: unjs/mlly
|
@@ -2321,29 +2271,6 @@ Repository: jshttp/on-finished
|
|
2321
2271
|
|
2322
2272
|
---------------------------------------
|
2323
2273
|
|
2324
|
-
## once
|
2325
|
-
License: ISC
|
2326
|
-
By: Isaac Z. Schlueter
|
2327
|
-
Repository: git://github.com/isaacs/once
|
2328
|
-
|
2329
|
-
> The ISC License
|
2330
|
-
>
|
2331
|
-
> Copyright (c) Isaac Z. Schlueter and Contributors
|
2332
|
-
>
|
2333
|
-
> Permission to use, copy, modify, and/or distribute this software for any
|
2334
|
-
> purpose with or without fee is hereby granted, provided that the above
|
2335
|
-
> copyright notice and this permission notice appear in all copies.
|
2336
|
-
>
|
2337
|
-
> THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
|
2338
|
-
> WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
|
2339
|
-
> MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
|
2340
|
-
> ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
2341
|
-
> WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
2342
|
-
> ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
|
2343
|
-
> IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
2344
|
-
|
2345
|
-
---------------------------------------
|
2346
|
-
|
2347
2274
|
## open
|
2348
2275
|
License: MIT
|
2349
2276
|
By: Sindre Sorhus
|
@@ -2436,6 +2363,69 @@ Repository: sindresorhus/path-key
|
|
2436
2363
|
|
2437
2364
|
---------------------------------------
|
2438
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
|
+
|
2439
2429
|
## periscopic
|
2440
2430
|
License: MIT
|
2441
2431
|
Repository: Rich-Harris/periscopic
|
@@ -3385,29 +3375,6 @@ Repository: git://github.com/isaacs/node-which.git
|
|
3385
3375
|
|
3386
3376
|
---------------------------------------
|
3387
3377
|
|
3388
|
-
## wrappy
|
3389
|
-
License: ISC
|
3390
|
-
By: Isaac Z. Schlueter
|
3391
|
-
Repository: https://github.com/npm/wrappy
|
3392
|
-
|
3393
|
-
> The ISC License
|
3394
|
-
>
|
3395
|
-
> Copyright (c) Isaac Z. Schlueter and Contributors
|
3396
|
-
>
|
3397
|
-
> Permission to use, copy, modify, and/or distribute this software for any
|
3398
|
-
> purpose with or without fee is hereby granted, provided that the above
|
3399
|
-
> copyright notice and this permission notice appear in all copies.
|
3400
|
-
>
|
3401
|
-
> THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
|
3402
|
-
> WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
|
3403
|
-
> MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
|
3404
|
-
> ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
3405
|
-
> WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
3406
|
-
> ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
|
3407
|
-
> IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
3408
|
-
|
3409
|
-
---------------------------------------
|
3410
|
-
|
3411
3378
|
## ws
|
3412
3379
|
License: MIT
|
3413
3380
|
By: Einar Otto Stangvik
|