@pnpm/outdated 1001.0.13 → 1001.0.15
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.
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import { type ClientOptions, type ResolveFunction } from '@pnpm/client';
|
|
2
|
-
import { type DependencyManifest
|
|
2
|
+
import { type DependencyManifest } from '@pnpm/types';
|
|
3
3
|
interface GetManifestOpts {
|
|
4
4
|
dir: string;
|
|
5
5
|
lockfileDir: string;
|
|
6
6
|
rawConfig: object;
|
|
7
|
-
registries: Registries;
|
|
8
7
|
}
|
|
9
8
|
export type ManifestGetterOptions = Omit<ClientOptions, 'authConfig'> & GetManifestOpts & {
|
|
10
9
|
fullMetadata: boolean;
|
|
@@ -3,7 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.createManifestGetter = createManifestGetter;
|
|
4
4
|
exports.getManifest = getManifest;
|
|
5
5
|
const client_1 = require("@pnpm/client");
|
|
6
|
-
const pick_registry_for_package_1 = require("@pnpm/pick-registry-for-package");
|
|
7
6
|
function createManifestGetter(opts) {
|
|
8
7
|
const { resolve } = (0, client_1.createResolver)({ ...opts, authConfig: opts.rawConfig });
|
|
9
8
|
return getManifest.bind(null, resolve, opts);
|
|
@@ -13,7 +12,6 @@ async function getManifest(resolve, opts, packageName, pref) {
|
|
|
13
12
|
lockfileDir: opts.lockfileDir,
|
|
14
13
|
preferredVersions: {},
|
|
15
14
|
projectDir: opts.dir,
|
|
16
|
-
registry: (0, pick_registry_for_package_1.pickRegistryForPackage)(opts.registries, packageName, pref),
|
|
17
15
|
});
|
|
18
16
|
return resolution?.manifest ?? null;
|
|
19
17
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createManifestGetter.js","sourceRoot":"","sources":["../src/createManifestGetter.ts"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"createManifestGetter.js","sourceRoot":"","sources":["../src/createManifestGetter.ts"],"names":[],"mappings":";;AAiBA,oDAKC;AAED,kCAYC;AApCD,yCAIqB;AAarB,SAAgB,oBAAoB,CAClC,IAA2B;IAE3B,MAAM,EAAE,OAAO,EAAE,GAAG,IAAA,uBAAc,EAAC,EAAE,GAAG,IAAI,EAAE,UAAU,EAAE,IAAI,CAAC,SAAS,EAAE,CAAC,CAAA;IAC3E,OAAO,WAAW,CAAC,IAAI,CAAC,IAAI,EAAE,OAAO,EAAE,IAAI,CAAC,CAAA;AAC9C,CAAC;AAEM,KAAK,UAAU,WAAW,CAC/B,OAAwB,EACxB,IAAqB,EACrB,WAAmB,EACnB,IAAY;IAEZ,MAAM,UAAU,GAAG,MAAM,OAAO,CAAC,EAAE,KAAK,EAAE,WAAW,EAAE,IAAI,EAAE,EAAE;QAC7D,WAAW,EAAE,IAAI,CAAC,WAAW;QAC7B,iBAAiB,EAAE,EAAE;QACrB,UAAU,EAAE,IAAI,CAAC,GAAG;KACrB,CAAC,CAAA;IACF,OAAO,UAAU,EAAE,QAAQ,IAAI,IAAI,CAAA;AACrC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pnpm/outdated",
|
|
3
|
-
"version": "1001.0.
|
|
3
|
+
"version": "1001.0.15",
|
|
4
4
|
"description": "Check for outdated packages",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pnpm",
|
|
@@ -28,20 +28,20 @@
|
|
|
28
28
|
"semver": "^7.7.1",
|
|
29
29
|
"@pnpm/catalogs.resolver": "1000.0.2",
|
|
30
30
|
"@pnpm/catalogs.types": "1000.0.0",
|
|
31
|
-
"@pnpm/client": "1000.0.12",
|
|
32
31
|
"@pnpm/constants": "1001.1.0",
|
|
32
|
+
"@pnpm/client": "1000.0.14",
|
|
33
33
|
"@pnpm/error": "1000.0.2",
|
|
34
|
-
"@pnpm/dependency-path": "1000.0.
|
|
35
|
-
"@pnpm/
|
|
36
|
-
"@pnpm/lockfile.
|
|
37
|
-
"@pnpm/lockfile.utils": "1001.0.6",
|
|
34
|
+
"@pnpm/dependency-path": "1000.0.7",
|
|
35
|
+
"@pnpm/lockfile.fs": "1001.1.9",
|
|
36
|
+
"@pnpm/lockfile.utils": "1001.0.8",
|
|
38
37
|
"@pnpm/matcher": "1000.0.0",
|
|
39
|
-
"@pnpm/
|
|
40
|
-
"@pnpm/manifest-utils": "1000.0.
|
|
41
|
-
"@pnpm/
|
|
38
|
+
"@pnpm/hooks.read-package-hook": "1000.0.8",
|
|
39
|
+
"@pnpm/manifest-utils": "1000.0.8",
|
|
40
|
+
"@pnpm/modules-yaml": "1000.3.1",
|
|
41
|
+
"@pnpm/npm-resolver": "1002.0.0",
|
|
42
42
|
"@pnpm/parse-overrides": "1000.0.2",
|
|
43
|
-
"@pnpm/pick-registry-for-package": "1000.0.
|
|
44
|
-
"@pnpm/types": "1000.
|
|
43
|
+
"@pnpm/pick-registry-for-package": "1000.0.6",
|
|
44
|
+
"@pnpm/types": "1000.4.0"
|
|
45
45
|
},
|
|
46
46
|
"peerDependencies": {
|
|
47
47
|
"@pnpm/logger": ">=5.1.0 <1001.0.0"
|
|
@@ -49,20 +49,20 @@
|
|
|
49
49
|
"devDependencies": {
|
|
50
50
|
"@types/ramda": "0.29.12",
|
|
51
51
|
"@types/semver": "7.5.3",
|
|
52
|
-
"@pnpm/outdated": "1001.0.13",
|
|
53
52
|
"@pnpm/logger": "1000.0.0",
|
|
54
|
-
"@pnpm/
|
|
53
|
+
"@pnpm/outdated": "1001.0.15",
|
|
54
|
+
"@pnpm/resolver-base": "1001.0.0"
|
|
55
55
|
},
|
|
56
56
|
"engines": {
|
|
57
57
|
"node": ">=18.12"
|
|
58
58
|
},
|
|
59
59
|
"jest": {
|
|
60
|
-
"preset": "@pnpm/jest-config"
|
|
60
|
+
"preset": "@pnpm/jest-config/with-registry"
|
|
61
61
|
},
|
|
62
62
|
"scripts": {
|
|
63
63
|
"test": "pnpm run compile && pnpm run _test",
|
|
64
64
|
"lint": "eslint \"src/**/*.ts\" \"test/**/*.ts\"",
|
|
65
|
-
"_test": "
|
|
65
|
+
"_test": "jest",
|
|
66
66
|
"compile": "tsc --build && pnpm run lint --fix"
|
|
67
67
|
}
|
|
68
68
|
}
|