vite 3.2.0-beta.1 → 3.2.0-beta.3
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 +82 -29
- package/bin/openChrome.applescript +32 -23
- package/dist/node/chunks/{dep-34b5a6bf.js → dep-5fd8eb18.js} +1993 -267
- package/dist/node/chunks/{dep-39e6741e.js → dep-9deb2354.js} +0 -0
- package/dist/node/chunks/{dep-46ac452b.js → dep-ea6d21e3.js} +1 -1
- package/dist/node/cli.js +19 -7
- package/dist/node/constants.js +1 -1
- package/dist/node/index.d.ts +9 -3
- package/dist/node/index.js +4 -3
- package/dist/node-cjs/publicUtils.cjs +1 -1
- package/package.json +10 -9
package/LICENSE.md
CHANGED
|
@@ -1651,6 +1651,88 @@ Repository: git+https://github.com/css-modules/icss-utils.git
|
|
|
1651
1651
|
|
|
1652
1652
|
---------------------------------------
|
|
1653
1653
|
|
|
1654
|
+
## import-meta-resolve
|
|
1655
|
+
License: MIT
|
|
1656
|
+
By: Titus Wormer
|
|
1657
|
+
Repository: wooorm/import-meta-resolve
|
|
1658
|
+
|
|
1659
|
+
> (The MIT License)
|
|
1660
|
+
>
|
|
1661
|
+
> Copyright (c) 2021 Titus Wormer <mailto:tituswormer@gmail.com>
|
|
1662
|
+
>
|
|
1663
|
+
> Permission is hereby granted, free of charge, to any person obtaining
|
|
1664
|
+
> a copy of this software and associated documentation files (the
|
|
1665
|
+
> 'Software'), to deal in the Software without restriction, including
|
|
1666
|
+
> without limitation the rights to use, copy, modify, merge, publish,
|
|
1667
|
+
> distribute, sublicense, and/or sell copies of the Software, and to
|
|
1668
|
+
> permit persons to whom the Software is furnished to do so, subject to
|
|
1669
|
+
> the following conditions:
|
|
1670
|
+
>
|
|
1671
|
+
> The above copyright notice and this permission notice shall be
|
|
1672
|
+
> included in all copies or substantial portions of the Software.
|
|
1673
|
+
>
|
|
1674
|
+
> THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
|
|
1675
|
+
> EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
1676
|
+
> MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
1677
|
+
> IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
1678
|
+
> CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
1679
|
+
> TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
1680
|
+
> SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
1681
|
+
>
|
|
1682
|
+
> ---
|
|
1683
|
+
>
|
|
1684
|
+
> This is a derivative work based on:
|
|
1685
|
+
> <https://github.com/nodejs/node>.
|
|
1686
|
+
> Which is licensed:
|
|
1687
|
+
>
|
|
1688
|
+
> """
|
|
1689
|
+
> Copyright Node.js contributors. All rights reserved.
|
|
1690
|
+
>
|
|
1691
|
+
> Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
1692
|
+
> of this software and associated documentation files (the "Software"), to
|
|
1693
|
+
> deal in the Software without restriction, including without limitation the
|
|
1694
|
+
> rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
|
1695
|
+
> sell copies of the Software, and to permit persons to whom the Software is
|
|
1696
|
+
> furnished to do so, subject to the following conditions:
|
|
1697
|
+
>
|
|
1698
|
+
> The above copyright notice and this permission notice shall be included in
|
|
1699
|
+
> all copies or substantial portions of the Software.
|
|
1700
|
+
>
|
|
1701
|
+
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
1702
|
+
> IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
1703
|
+
> FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
1704
|
+
> AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
1705
|
+
> LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
1706
|
+
> FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
|
1707
|
+
> IN THE SOFTWARE.
|
|
1708
|
+
> """
|
|
1709
|
+
>
|
|
1710
|
+
> This license applies to parts of Node.js originating from the
|
|
1711
|
+
> https://github.com/joyent/node repository:
|
|
1712
|
+
>
|
|
1713
|
+
> """
|
|
1714
|
+
> Copyright Joyent, Inc. and other Node contributors. All rights reserved.
|
|
1715
|
+
> Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
1716
|
+
> of this software and associated documentation files (the "Software"), to
|
|
1717
|
+
> deal in the Software without restriction, including without limitation the
|
|
1718
|
+
> rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
|
1719
|
+
> sell copies of the Software, and to permit persons to whom the Software is
|
|
1720
|
+
> furnished to do so, subject to the following conditions:
|
|
1721
|
+
>
|
|
1722
|
+
> The above copyright notice and this permission notice shall be included in
|
|
1723
|
+
> all copies or substantial portions of the Software.
|
|
1724
|
+
>
|
|
1725
|
+
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
1726
|
+
> IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
1727
|
+
> FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
1728
|
+
> AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
1729
|
+
> LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
1730
|
+
> FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
|
1731
|
+
> IN THE SOFTWARE.
|
|
1732
|
+
> """
|
|
1733
|
+
|
|
1734
|
+
---------------------------------------
|
|
1735
|
+
|
|
1654
1736
|
## inflight
|
|
1655
1737
|
License: ISC
|
|
1656
1738
|
By: Isaac Z. Schlueter
|
|
@@ -2951,35 +3033,6 @@ Repository: git://github.com/feross/run-parallel.git
|
|
|
2951
3033
|
|
|
2952
3034
|
---------------------------------------
|
|
2953
3035
|
|
|
2954
|
-
## safe-buffer
|
|
2955
|
-
License: MIT
|
|
2956
|
-
By: Feross Aboukhadijeh
|
|
2957
|
-
Repository: git://github.com/feross/safe-buffer.git
|
|
2958
|
-
|
|
2959
|
-
> The MIT License (MIT)
|
|
2960
|
-
>
|
|
2961
|
-
> Copyright (c) Feross Aboukhadijeh
|
|
2962
|
-
>
|
|
2963
|
-
> Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
2964
|
-
> of this software and associated documentation files (the "Software"), to deal
|
|
2965
|
-
> in the Software without restriction, including without limitation the rights
|
|
2966
|
-
> to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
2967
|
-
> copies of the Software, and to permit persons to whom the Software is
|
|
2968
|
-
> furnished to do so, subject to the following conditions:
|
|
2969
|
-
>
|
|
2970
|
-
> The above copyright notice and this permission notice shall be included in
|
|
2971
|
-
> all copies or substantial portions of the Software.
|
|
2972
|
-
>
|
|
2973
|
-
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
2974
|
-
> IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
2975
|
-
> FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
2976
|
-
> AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
2977
|
-
> LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
2978
|
-
> OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
2979
|
-
> THE SOFTWARE.
|
|
2980
|
-
|
|
2981
|
-
---------------------------------------
|
|
2982
|
-
|
|
2983
3036
|
## shebang-command
|
|
2984
3037
|
License: MIT
|
|
2985
3038
|
By: Kevin Mårtensson
|
|
@@ -9,12 +9,19 @@ https://github.com/facebookincubator/create-react-app/blob/master/LICENSE
|
|
|
9
9
|
property targetTab: null
|
|
10
10
|
property targetTabIndex: -1
|
|
11
11
|
property targetWindow: null
|
|
12
|
+
property theProgram: "Google Chrome"
|
|
12
13
|
|
|
13
14
|
on run argv
|
|
14
15
|
set theURL to item 1 of argv
|
|
15
16
|
|
|
16
|
-
|
|
17
|
-
|
|
17
|
+
-- Allow requested program to be optional,
|
|
18
|
+
-- default to Google Chrome
|
|
19
|
+
if (count of argv) > 1 then
|
|
20
|
+
set theProgram to item 2 of argv
|
|
21
|
+
end if
|
|
22
|
+
|
|
23
|
+
using terms from application "Google Chrome"
|
|
24
|
+
tell application theProgram
|
|
18
25
|
|
|
19
26
|
if (count every window) = 0 then
|
|
20
27
|
make new window
|
|
@@ -51,7 +58,7 @@ on run argv
|
|
|
51
58
|
make new tab with properties {URL:theURL}
|
|
52
59
|
end tell
|
|
53
60
|
end tell
|
|
54
|
-
end
|
|
61
|
+
end using terms from
|
|
55
62
|
end run
|
|
56
63
|
|
|
57
64
|
-- Function:
|
|
@@ -59,28 +66,30 @@ end run
|
|
|
59
66
|
-- if found, store tab, index, and window in properties
|
|
60
67
|
-- (properties were declared on top of file)
|
|
61
68
|
on lookupTabWithUrl(lookupUrl)
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
69
|
+
using terms from application "Google Chrome"
|
|
70
|
+
tell application theProgram
|
|
71
|
+
-- Find a tab with the given url
|
|
72
|
+
set found to false
|
|
73
|
+
set theTabIndex to -1
|
|
74
|
+
repeat with theWindow in every window
|
|
75
|
+
set theTabIndex to 0
|
|
76
|
+
repeat with theTab in every tab of theWindow
|
|
77
|
+
set theTabIndex to theTabIndex + 1
|
|
78
|
+
if (theTab's URL as string) contains lookupUrl then
|
|
79
|
+
-- assign tab, tab index, and window to properties
|
|
80
|
+
set targetTab to theTab
|
|
81
|
+
set targetTabIndex to theTabIndex
|
|
82
|
+
set targetWindow to theWindow
|
|
83
|
+
set found to true
|
|
84
|
+
exit repeat
|
|
85
|
+
end if
|
|
86
|
+
end repeat
|
|
87
|
+
|
|
88
|
+
if found then
|
|
76
89
|
exit repeat
|
|
77
90
|
end if
|
|
78
91
|
end repeat
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
exit repeat
|
|
82
|
-
end if
|
|
83
|
-
end repeat
|
|
84
|
-
end tell
|
|
92
|
+
end tell
|
|
93
|
+
end using terms from
|
|
85
94
|
return found
|
|
86
95
|
end lookupTabWithUrl
|