@vltpkg/spec 0.0.0-17 → 0.0.0-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/dist/esm/index.d.ts +2 -3
- package/dist/esm/index.d.ts.map +1 -1
- package/dist/esm/index.js +4 -3
- package/dist/esm/index.js.map +1 -1
- package/package.json +3 -3
package/dist/esm/index.d.ts
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import type { InspectOptions } from 'node:util';
|
|
2
|
-
import { defaultRegistry, defaultRegistries, defaultGitHosts, defaultGitHostArchives, defaultScopeRegistries, defaultJsrRegistries, getOptions, gitHostWebsites, kCustomInspect, Spec as BrowserSpec } from './browser.ts';
|
|
3
2
|
import type { SpecLike } from './browser.ts';
|
|
4
|
-
|
|
5
|
-
export * from './
|
|
3
|
+
import { Spec as BrowserSpec, kCustomInspect } from './browser.ts';
|
|
4
|
+
export * from './browser.ts';
|
|
6
5
|
export declare class Spec extends BrowserSpec implements SpecLike<Spec> {
|
|
7
6
|
[kCustomInspect](_depth?: number, options?: InspectOptions): string;
|
|
8
7
|
}
|
package/dist/esm/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,WAAW,CAAA;AAC/C,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,WAAW,CAAA;AAC/C,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAA;AAC5C,OAAO,EAAE,IAAI,IAAI,WAAW,EAAE,cAAc,EAAE,MAAM,cAAc,CAAA;AAGlE,cAAc,cAAc,CAAA;AAG5B,qBAAa,IAAK,SAAQ,WAAY,YAAW,QAAQ,CAAC,IAAI,CAAC;IAC7D,CAAC,cAAc,CAAC,CACd,MAAM,CAAC,EAAE,MAAM,EACf,OAAO,CAAC,EAAE,cAAc,GACvB,MAAM;CAWV"}
|
package/dist/esm/index.js
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { homedir } from 'node:os';
|
|
2
2
|
import { isAbsolute, join, resolve, win32 as winPath, } from 'node:path';
|
|
3
3
|
import { inspect } from 'node:util';
|
|
4
|
-
import {
|
|
5
|
-
|
|
6
|
-
export * from "./
|
|
4
|
+
import { Spec as BrowserSpec, kCustomInspect } from "./browser.js";
|
|
5
|
+
// eslint-disable-next-line import/export
|
|
6
|
+
export * from "./browser.js";
|
|
7
|
+
// eslint-disable-next-line import/export
|
|
7
8
|
export class Spec extends BrowserSpec {
|
|
8
9
|
[kCustomInspect](_depth, options) {
|
|
9
10
|
const str = inspect(Object.fromEntries(Object.entries(this).filter(([k, v]) => {
|
package/dist/esm/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,SAAS,CAAA;AACjC,OAAO,EACL,UAAU,EACV,IAAI,EACJ,OAAO,EACP,KAAK,IAAI,OAAO,GACjB,MAAM,WAAW,CAAA;AAClB,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,SAAS,CAAA;AACjC,OAAO,EACL,UAAU,EACV,IAAI,EACJ,OAAO,EACP,KAAK,IAAI,OAAO,GACjB,MAAM,WAAW,CAAA;AAClB,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA;AAGnC,OAAO,EAAE,IAAI,IAAI,WAAW,EAAE,cAAc,EAAE,MAAM,cAAc,CAAA;AAElE,yCAAyC;AACzC,cAAc,cAAc,CAAA;AAE5B,yCAAyC;AACzC,MAAM,OAAO,IAAK,SAAQ,WAAW;IACnC,CAAC,cAAc,CAAC,CACd,MAAe,EACf,OAAwB;QAExB,MAAM,GAAG,GAAG,OAAO,CACjB,MAAM,CAAC,WAAW,CAChB,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,EAAE,EAAE;YACrC,OAAO,CAAC,KAAK,SAAS,IAAI,CAAC,KAAK,SAAS,CAAA;QAC3C,CAAC,CAAC,CACH,EACD,OAAO,CACR,CAAA;QACD,OAAO,qBAAqB,GAAG,EAAE,CAAA;IACnC,CAAC;CACF;AAED,IAAI,CAAC,kBAAkB,GAAG;IACxB,OAAO;IACP,UAAU;IACV,IAAI;IACJ,OAAO;IACP,OAAO;CACR,CAAA","sourcesContent":["import { homedir } from 'node:os'\nimport {\n isAbsolute,\n join,\n resolve,\n win32 as winPath,\n} from 'node:path'\nimport { inspect } from 'node:util'\nimport type { InspectOptions } from 'node:util'\nimport type { SpecLike } from './browser.ts'\nimport { Spec as BrowserSpec, kCustomInspect } from './browser.ts'\n\n// eslint-disable-next-line import/export\nexport * from './browser.ts'\n\n// eslint-disable-next-line import/export\nexport class Spec extends BrowserSpec implements SpecLike<Spec> {\n [kCustomInspect](\n _depth?: number,\n options?: InspectOptions,\n ): string {\n const str = inspect(\n Object.fromEntries(\n Object.entries(this).filter(([k, v]) => {\n return k !== 'options' && v !== undefined\n }),\n ),\n options,\n )\n return `@vltpkg/spec.Spec ${str}`\n }\n}\n\nSpec.nodejsDependencies = {\n homedir,\n isAbsolute,\n join,\n resolve,\n winPath,\n}\n"]}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vltpkg/spec",
|
|
3
3
|
"description": "Package specifier library",
|
|
4
|
-
"version": "0.0.0-
|
|
4
|
+
"version": "0.0.0-19",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "git+https://github.com/vltpkg/vltpkg.git",
|
|
@@ -20,8 +20,8 @@
|
|
|
20
20
|
}
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@vltpkg/error-cause": "0.0.0-
|
|
24
|
-
"@vltpkg/semver": "0.0.0-
|
|
23
|
+
"@vltpkg/error-cause": "0.0.0-19",
|
|
24
|
+
"@vltpkg/semver": "0.0.0-19"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
27
|
"@eslint/js": "^9.28.0",
|