@vltpkg/vsr 0.0.0-26 → 0.0.0-27
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 +10 -114
- package/dist/README.md +1 -0
- package/dist/assets/public/favicon.ico +0 -0
- package/dist/assets/public/fonts/courier-bold-italic.ttf +0 -0
- package/dist/assets/public/fonts/courier-bold.ttf +0 -0
- package/dist/assets/public/fonts/courier-italic.ttf +0 -0
- package/dist/assets/public/fonts/courier-regular.ttf +0 -0
- package/dist/assets/public/fonts/geist-mono.ttf +0 -0
- package/dist/assets/public/fonts/inter.ttf +0 -0
- package/dist/assets/public/index.html +70 -0
- package/dist/assets/public/index.js +1300 -0
- package/dist/assets/public/index.js.map +7 -0
- package/dist/assets/public/main.css +1 -0
- package/dist/bin/vsr.js +771 -0
- package/dist/index.js +28283 -0
- package/dist/index.js.map +8 -0
- package/package.json +6 -49
- package/DEPLOY.md +0 -163
- package/config.ts +0 -221
- package/drizzle.config.js +0 -40
- package/info/COMPARISONS.md +0 -37
- package/info/CONFIGURATION.md +0 -143
- package/info/CONTRIBUTING.md +0 -32
- package/info/DATABASE_SETUP.md +0 -108
- package/info/GRANULAR_ACCESS_TOKENS.md +0 -160
- package/info/PROJECT_STRUCTURE.md +0 -291
- package/info/ROADMAP.md +0 -27
- package/info/SUPPORT.md +0 -39
- package/info/TESTING.md +0 -301
- package/info/USER_SUPPORT.md +0 -31
- package/scripts/build-assets.js +0 -31
- package/scripts/build-bin.js +0 -62
- package/scripts/prepack.js +0 -27
- package/src/bin/vsr.ts +0 -484
- package/src/db/client.ts +0 -590
- package/src/db/migrations/0000_faulty_ricochet.sql +0 -14
- package/src/db/migrations/0000_initial.sql +0 -29
- package/src/db/migrations/0001_uuid_validation.sql +0 -35
- package/src/db/migrations/0001_wealthy_magdalene.sql +0 -7
- package/src/db/migrations/drop.sql +0 -3
- package/src/db/migrations/meta/0000_snapshot.json +0 -104
- package/src/db/migrations/meta/0001_snapshot.json +0 -155
- package/src/db/migrations/meta/_journal.json +0 -20
- package/src/db/schema.ts +0 -43
- package/src/index.ts +0 -434
- package/src/middleware/config.ts +0 -79
- package/src/middleware/telemetry.ts +0 -43
- package/src/queue/index.ts +0 -97
- package/src/routes/access.ts +0 -852
- package/src/routes/docs.ts +0 -63
- package/src/routes/misc.ts +0 -469
- package/src/routes/packages.ts +0 -2823
- package/src/routes/ping.ts +0 -39
- package/src/routes/search.ts +0 -131
- package/src/routes/static.ts +0 -74
- package/src/routes/tokens.ts +0 -259
- package/src/routes/users.ts +0 -68
- package/src/utils/auth.ts +0 -202
- package/src/utils/cache.ts +0 -587
- package/src/utils/config.ts +0 -50
- package/src/utils/database.ts +0 -69
- package/src/utils/docs.ts +0 -146
- package/src/utils/packages.ts +0 -453
- package/src/utils/response.ts +0 -125
- package/src/utils/routes.ts +0 -64
- package/src/utils/spa.ts +0 -52
- package/src/utils/tracing.ts +0 -52
- package/src/utils/upstream.ts +0 -172
- package/test/access.test.ts +0 -705
- package/test/audit.test.ts +0 -828
- package/test/dashboard.test.ts +0 -693
- package/test/dist-tags.test.ts +0 -678
- package/test/manifest.test.ts +0 -436
- package/test/packument.test.ts +0 -530
- package/test/ping.test.ts +0 -41
- package/test/search.test.ts +0 -472
- package/test/setup.ts +0 -130
- package/test/static.test.ts +0 -646
- package/test/tokens.test.ts +0 -389
- package/test/utils/auth.test.ts +0 -214
- package/test/utils/packages.test.ts +0 -235
- package/test/utils/response.test.ts +0 -184
- package/test/whoami.test.ts +0 -119
- package/tsconfig.json +0 -16
- package/tsconfig.worker.json +0 -3
- package/typedoc.mjs +0 -2
- package/types.ts +0 -598
- package/vitest.config.ts +0 -25
- package/vlt.json.example +0 -56
- package/wrangler.json +0 -65
- /package/{src → dist}/assets/public/images/bg.png +0 -0
- /package/{src → dist}/assets/public/images/clients/logo-bun.png +0 -0
- /package/{src → dist}/assets/public/images/clients/logo-deno.png +0 -0
- /package/{src → dist}/assets/public/images/clients/logo-npm.png +0 -0
- /package/{src → dist}/assets/public/images/clients/logo-pnpm.png +0 -0
- /package/{src → dist}/assets/public/images/clients/logo-vlt.png +0 -0
- /package/{src → dist}/assets/public/images/clients/logo-yarn.png +0 -0
- /package/{src → dist}/assets/public/images/favicon/apple-touch-icon.png +0 -0
- /package/{src → dist}/assets/public/images/favicon/favicon-96x96.png +0 -0
- /package/{src → dist}/assets/public/images/favicon/favicon.ico +0 -0
- /package/{src → dist}/assets/public/images/favicon/favicon.svg +0 -0
- /package/{src → dist}/assets/public/images/favicon/site.webmanifest +0 -0
- /package/{src → dist}/assets/public/images/favicon/web-app-manifest-192x192.png +0 -0
- /package/{src → dist}/assets/public/images/favicon/web-app-manifest-512x512.png +0 -0
- /package/{src → dist}/assets/public/styles/styles.css +0 -0
- /package/{src → dist}/bin/demo/package.json +0 -0
- /package/{src → dist}/bin/demo/vlt.json +0 -0
package/LICENSE
CHANGED
|
@@ -1,119 +1,15 @@
|
|
|
1
|
-
|
|
1
|
+
Copyright (c) vlt technology, Inc.
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
|
|
6
|
+
2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
|
|
7
|
+
Subject to the terms and conditions of this license, each copyright holder and contributor hereby grants to those receiving rights under this license a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except for failure to satisfy the conditions of this license) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer this software, where such license applies only to those patent claims, already acquired or hereafter acquired, licensable by such copyright holder or contributor that are necessarily infringed by:
|
|
6
8
|
|
|
7
|
-
|
|
9
|
+
(a) their Contribution(s) (the licensed copyrights of copyright holders and non-copyrightable additions of contributors, in source or binary form) alone; or
|
|
10
|
+
(b) combination of their Contribution(s) with the work of authorship to which such Contribution(s) was added by such copyright holder or contributor, if, at the time the Contribution is added, such addition causes such combination to be necessarily infringed. The patent license shall not apply to any other combinations which include the Contribution.
|
|
11
|
+
Except as expressly stated above, no rights or licenses from any copyright holder or contributor is granted under this license, whether expressly, by implication, estoppel or otherwise.
|
|
8
12
|
|
|
9
|
-
|
|
13
|
+
DISCLAIMER
|
|
10
14
|
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
### Licensor ("We")
|
|
14
|
-
|
|
15
|
-
The party offering the Software under these Terms and Conditions.
|
|
16
|
-
|
|
17
|
-
### The Software
|
|
18
|
-
|
|
19
|
-
The "Software" is each version of the software that we make available
|
|
20
|
-
under these Terms and Conditions, as indicated by our inclusion of
|
|
21
|
-
these Terms and Conditions with the Software.
|
|
22
|
-
|
|
23
|
-
### License Grant
|
|
24
|
-
|
|
25
|
-
Subject to your compliance with this License Grant and the Patents,
|
|
26
|
-
Redistribution and Trademark clauses below, we hereby grant you the
|
|
27
|
-
right to use, copy, modify, create derivative works, publicly perform,
|
|
28
|
-
publicly display and redistribute the Software for any Permitted
|
|
29
|
-
Purpose identified below.
|
|
30
|
-
|
|
31
|
-
### Permitted Purpose
|
|
32
|
-
|
|
33
|
-
A Permitted Purpose is any purpose other than a Competing Use. A
|
|
34
|
-
Competing Use means making the Software available to others in a
|
|
35
|
-
commercial product or service that:
|
|
36
|
-
|
|
37
|
-
1. substitutes for the Software;
|
|
38
|
-
|
|
39
|
-
2. substitutes for any other product or service we offer using the
|
|
40
|
-
Software that exists as of the date we make the Software available;
|
|
41
|
-
or
|
|
42
|
-
|
|
43
|
-
3. offers the same or substantially similar functionality as the
|
|
44
|
-
Software.
|
|
45
|
-
|
|
46
|
-
Permitted Purposes specifically include using the Software:
|
|
47
|
-
|
|
48
|
-
1. for your internal use and access;
|
|
49
|
-
|
|
50
|
-
2. for non-commercial education;
|
|
51
|
-
|
|
52
|
-
3. for non-commercial research; and
|
|
53
|
-
|
|
54
|
-
4. in connection with professional services that you provide to a
|
|
55
|
-
licensee using the Software in accordance with these Terms and
|
|
56
|
-
Conditions.
|
|
57
|
-
|
|
58
|
-
### Patents
|
|
59
|
-
|
|
60
|
-
To the extent your use for a Permitted Purpose would necessarily
|
|
61
|
-
infringe our patents, the license grant above includes a license under
|
|
62
|
-
our patents. If you make a claim against any party that the Software
|
|
63
|
-
infringes or contributes to the infringement of any patent, then your
|
|
64
|
-
patent license to the Software ends immediately.
|
|
65
|
-
|
|
66
|
-
### Redistribution
|
|
67
|
-
|
|
68
|
-
The Terms and Conditions apply to all copies, modifications and
|
|
69
|
-
derivatives of the Software.
|
|
70
|
-
|
|
71
|
-
If you redistribute any copies, modifications or derivatives of the
|
|
72
|
-
Software, you must include a copy of or a link to these Terms and
|
|
73
|
-
Conditions and not remove any copyright notices provided in or with
|
|
74
|
-
the Software.
|
|
75
|
-
|
|
76
|
-
### Disclaimer
|
|
77
|
-
|
|
78
|
-
THE SOFTWARE IS PROVIDED "AS IS" AND WITHOUT WARRANTIES OF ANY KIND,
|
|
79
|
-
EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION WARRANTIES OF FITNESS
|
|
80
|
-
FOR A PARTICULAR PURPOSE, MERCHANTABILITY, TITLE OR NON-INFRINGEMENT.
|
|
81
|
-
|
|
82
|
-
IN NO EVENT WILL WE HAVE ANY LIABILITY TO YOU ARISING OUT OF OR
|
|
83
|
-
RELATED TO THE SOFTWARE, INCLUDING INDIRECT, SPECIAL, INCIDENTAL OR
|
|
84
|
-
CONSEQUENTIAL DAMAGES, EVEN IF WE HAVE BEEN INFORMED OF THEIR
|
|
85
|
-
POSSIBILITY IN ADVANCE.
|
|
86
|
-
|
|
87
|
-
### Trademarks
|
|
88
|
-
|
|
89
|
-
Except for displaying the License Details and identifying us as the
|
|
90
|
-
origin of the Software, you have no right under these Terms and
|
|
91
|
-
Conditions to use our trademarks, trade names, service marks or
|
|
92
|
-
product names.
|
|
93
|
-
|
|
94
|
-
## Grant of Future License
|
|
95
|
-
|
|
96
|
-
We hereby irrevocably grant you an additional license to use the
|
|
97
|
-
Software under the MIT license that is effective on the second
|
|
98
|
-
anniversary of the date we make the Software available. On or after
|
|
99
|
-
that date, you may use the Software under the MIT license, in which
|
|
100
|
-
case the following will apply:
|
|
101
|
-
|
|
102
|
-
Permission is hereby granted, free of charge, to any person obtaining
|
|
103
|
-
a copy of this software and associated documentation files (the
|
|
104
|
-
"Software"), to deal in the Software without restriction, including
|
|
105
|
-
without limitation the rights to use, copy, modify, merge, publish,
|
|
106
|
-
distribute, sublicense, and/or sell copies of the Software, and to
|
|
107
|
-
permit persons to whom the Software is furnished to do so, subject to
|
|
108
|
-
the following conditions:
|
|
109
|
-
|
|
110
|
-
The above copyright notice and this permission notice shall be
|
|
111
|
-
included in all copies or substantial portions of the Software.
|
|
112
|
-
|
|
113
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
114
|
-
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
115
|
-
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
116
|
-
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
117
|
-
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
118
|
-
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
119
|
-
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
15
|
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
package/dist/README.md
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
This folder contains the built output assets for the worker "vsr" generated at 2025-09-04T01:54:21.292Z.
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
<!doctype html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<!-- The first thing in any HTML file should be the charset -->
|
|
5
|
+
<meta charset="utf-8" />
|
|
6
|
+
|
|
7
|
+
<!-- Make the page mobile compatible -->
|
|
8
|
+
<meta
|
|
9
|
+
name="viewport"
|
|
10
|
+
content="width=device-width, initial-scale=1" />
|
|
11
|
+
|
|
12
|
+
<!-- Allow installing the app to the homescreen -->
|
|
13
|
+
<meta name="mobile-web-app-capable" content="yes" />
|
|
14
|
+
|
|
15
|
+
<link rel="icon" href="/favicon.ico" />
|
|
16
|
+
<link rel="stylesheet" href="/main.css" />
|
|
17
|
+
<link
|
|
18
|
+
rel="preload"
|
|
19
|
+
href="/fonts/inter.ttf"
|
|
20
|
+
as="font"
|
|
21
|
+
type="font/ttf"
|
|
22
|
+
crossorigin="anonymous" />
|
|
23
|
+
<link
|
|
24
|
+
rel="preload"
|
|
25
|
+
href="/fonts/geist-mono.ttf"
|
|
26
|
+
as="font"
|
|
27
|
+
type="font/ttf"
|
|
28
|
+
crossorigin="anonymous" />
|
|
29
|
+
<link
|
|
30
|
+
rel="preload"
|
|
31
|
+
href="/fonts/courier-regular.ttf"
|
|
32
|
+
as="font"
|
|
33
|
+
type="font/ttf"
|
|
34
|
+
crossorigin="anonymous" />
|
|
35
|
+
<link
|
|
36
|
+
rel="preload"
|
|
37
|
+
href="/fonts/courier-bold.ttf"
|
|
38
|
+
as="font"
|
|
39
|
+
type="font/ttf"
|
|
40
|
+
crossorigin="anonymous" />
|
|
41
|
+
<link
|
|
42
|
+
rel="preload"
|
|
43
|
+
href="/fonts/courier-italic.ttf"
|
|
44
|
+
as="font"
|
|
45
|
+
type="font/ttf"
|
|
46
|
+
crossorigin="anonymous" />
|
|
47
|
+
<link
|
|
48
|
+
rel="preload"
|
|
49
|
+
href="/fonts/courier-bold-italic.ttf"
|
|
50
|
+
as="font"
|
|
51
|
+
type="font/ttf"
|
|
52
|
+
crossorigin="anonymous" />
|
|
53
|
+
<title>vlt | Explorer</title>
|
|
54
|
+
</head>
|
|
55
|
+
|
|
56
|
+
<body>
|
|
57
|
+
<!-- Display a message if JS has been disabled on the browser. -->
|
|
58
|
+
<noscript
|
|
59
|
+
>If you're seeing this message, that means
|
|
60
|
+
<strong>JavaScript has been disabled on your browser</strong>,
|
|
61
|
+
please <strong>enable JS</strong> to make this app
|
|
62
|
+
work.</noscript
|
|
63
|
+
>
|
|
64
|
+
|
|
65
|
+
<!-- The app hooks into this div -->
|
|
66
|
+
<div id="app"></div>
|
|
67
|
+
|
|
68
|
+
<script src="/index.js"></script>
|
|
69
|
+
</body>
|
|
70
|
+
</html>
|