@vltpkg/spec 1.3.7 → 1.4.0
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/dist/browser.d.ts +2 -0
- package/dist/browser.js +2 -1
- package/package.json +3 -3
package/dist/browser.d.ts
CHANGED
|
@@ -40,6 +40,8 @@ export declare const defaultScopeRegistries: {
|
|
|
40
40
|
'@jsr': string;
|
|
41
41
|
};
|
|
42
42
|
export declare const getOptions: (options?: SpecOptions) => SpecOptionsFilled;
|
|
43
|
+
/** Spec prefixes handled natively, not usable as alias names. */
|
|
44
|
+
export declare const builtinProtocols: ReadonlySet<string>;
|
|
43
45
|
/**
|
|
44
46
|
* Injects the Node.js dependencies into the Spec class.
|
|
45
47
|
*/
|
package/dist/browser.js
CHANGED
|
@@ -70,7 +70,8 @@ export const getOptions = (options) => ({
|
|
|
70
70
|
// RFC3986 scheme chars minus `.`, min 2 chars. Excludes windows drive
|
|
71
71
|
// letters (`C:/x`) and hostnames (`notgithub.com:user/repo`).
|
|
72
72
|
const protocolRE = /^([a-zA-Z][a-zA-Z0-9+-]+):/;
|
|
73
|
-
|
|
73
|
+
/** Spec prefixes handled natively, not usable as alias names. */
|
|
74
|
+
export const builtinProtocols = new Set([
|
|
74
75
|
'catalog',
|
|
75
76
|
'workspace',
|
|
76
77
|
'registry',
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vltpkg/spec",
|
|
3
3
|
"description": "Package specifier library",
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.4.0",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "git+https://github.com/vltpkg/vltpkg.git",
|
|
@@ -13,8 +13,8 @@
|
|
|
13
13
|
"url": "http://vlt.sh"
|
|
14
14
|
},
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@vltpkg/error-cause": "1.
|
|
17
|
-
"@vltpkg/semver": "1.
|
|
16
|
+
"@vltpkg/error-cause": "1.4.0",
|
|
17
|
+
"@vltpkg/semver": "1.4.0"
|
|
18
18
|
},
|
|
19
19
|
"devDependencies": {
|
|
20
20
|
"@eslint/js": "^9.39.1",
|