@pnpm/deps.inspection.commands 1100.1.11 → 1100.1.13
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/lib/outdated/outdated.js +4 -4
- package/package.json +17 -17
package/lib/outdated/outdated.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { stripVTControlCharacters as stripAnsi } from 'node:util';
|
|
2
2
|
import { FILTERING, OPTIONS, UNIVERSAL_OPTIONS } from '@pnpm/cli.common-cli-options-help';
|
|
3
3
|
import { docsUrl, readDepNameCompletions, readProjectManifestOnly, TABLE_OPTIONS, } from '@pnpm/cli.utils';
|
|
4
|
-
import colorizeSemverDiff from '@pnpm/colorize-semver-diff';
|
|
4
|
+
import { colorizeSemverDiff } from '@pnpm/colorize-semver-diff';
|
|
5
5
|
import { types as allTypes } from '@pnpm/config.reader';
|
|
6
6
|
import { outdatedDepsOfProjects, } from '@pnpm/deps.inspection.outdated';
|
|
7
7
|
import { PnpmError } from '@pnpm/error';
|
|
8
8
|
import { scanGlobalPackages } from '@pnpm/global.packages';
|
|
9
|
-
import semverDiff from '@pnpm/semver-diff';
|
|
9
|
+
import { semverDiff } from '@pnpm/semver-diff';
|
|
10
10
|
import { table } from '@zkochan/table';
|
|
11
11
|
import chalk from 'chalk';
|
|
12
12
|
import { pick, sortWith } from 'ramda';
|
|
@@ -270,7 +270,7 @@ export function toOutdatedWithVersionDiff(outdated) {
|
|
|
270
270
|
if (outdated.latestManifest != null) {
|
|
271
271
|
return {
|
|
272
272
|
...outdated,
|
|
273
|
-
...semverDiff
|
|
273
|
+
...semverDiff(outdated.wanted, outdated.latestManifest.version),
|
|
274
274
|
};
|
|
275
275
|
}
|
|
276
276
|
return {
|
|
@@ -300,7 +300,7 @@ export function renderLatest(outdatedPkg) {
|
|
|
300
300
|
? chalk.redBright.bold('Deprecated')
|
|
301
301
|
: latestManifest.version;
|
|
302
302
|
}
|
|
303
|
-
const versionText = colorizeSemverDiff
|
|
303
|
+
const versionText = colorizeSemverDiff({ change, diff });
|
|
304
304
|
if (latestManifest.deprecated) {
|
|
305
305
|
return `${versionText} ${chalk.redBright('(deprecated)')}`;
|
|
306
306
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pnpm/deps.inspection.commands",
|
|
3
|
-
"version": "1100.1.
|
|
3
|
+
"version": "1100.1.13",
|
|
4
4
|
"description": "The list, ll, why, and outdated commands of pnpm",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pnpm",
|
|
@@ -24,9 +24,9 @@
|
|
|
24
24
|
"!*.map"
|
|
25
25
|
],
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@pnpm/colorize-semver-diff": "^
|
|
27
|
+
"@pnpm/colorize-semver-diff": "^2.0.0",
|
|
28
28
|
"@pnpm/npm-package-arg": "^2.0.0",
|
|
29
|
-
"@pnpm/semver-diff": "^
|
|
29
|
+
"@pnpm/semver-diff": "^2.0.0",
|
|
30
30
|
"@zkochan/table": "^2.0.1",
|
|
31
31
|
"chalk": "^5.6.2",
|
|
32
32
|
"open": "^7.4.2",
|
|
@@ -37,22 +37,22 @@
|
|
|
37
37
|
"@pnpm/cli.utils": "1101.0.2",
|
|
38
38
|
"@pnpm/config.matcher": "1100.0.1",
|
|
39
39
|
"@pnpm/config.pick-registry-for-package": "1100.0.2",
|
|
40
|
-
"@pnpm/config.reader": "1101.2.
|
|
41
|
-
"@pnpm/deps.inspection.
|
|
42
|
-
"@pnpm/deps.inspection.
|
|
43
|
-
"@pnpm/deps.inspection.peers-checker": "1100.0.
|
|
40
|
+
"@pnpm/config.reader": "1101.2.2",
|
|
41
|
+
"@pnpm/deps.inspection.outdated": "1100.0.12",
|
|
42
|
+
"@pnpm/deps.inspection.list": "1100.0.8",
|
|
43
|
+
"@pnpm/deps.inspection.peers-checker": "1100.0.6",
|
|
44
44
|
"@pnpm/deps.inspection.peers-issues-renderer": "1100.0.0",
|
|
45
|
+
"@pnpm/global.commands": "1100.0.14",
|
|
45
46
|
"@pnpm/error": "1100.0.0",
|
|
46
|
-
"@pnpm/global.commands": "1100.0.12",
|
|
47
47
|
"@pnpm/global.packages": "1100.0.2",
|
|
48
|
-
"@pnpm/
|
|
49
|
-
"@pnpm/lockfile.fs": "1100.0.5",
|
|
48
|
+
"@pnpm/lockfile.fs": "1100.0.6",
|
|
50
49
|
"@pnpm/network.auth-header": "1100.0.1",
|
|
50
|
+
"@pnpm/installing.modules-yaml": "1100.0.3",
|
|
51
51
|
"@pnpm/network.fetch": "1100.0.2",
|
|
52
|
-
"@pnpm/resolving.
|
|
53
|
-
"@pnpm/resolving.
|
|
54
|
-
"@pnpm/resolving.registry.types": "1100.0.2",
|
|
52
|
+
"@pnpm/resolving.npm-resolver": "1101.0.3",
|
|
53
|
+
"@pnpm/resolving.default-resolver": "1100.0.11",
|
|
55
54
|
"@pnpm/store.path": "1100.0.1",
|
|
55
|
+
"@pnpm/resolving.registry.types": "1100.0.2",
|
|
56
56
|
"@pnpm/types": "1101.0.0"
|
|
57
57
|
},
|
|
58
58
|
"peerDependencies": {
|
|
@@ -67,12 +67,12 @@
|
|
|
67
67
|
"symlink-dir": "^10.0.1",
|
|
68
68
|
"write-yaml-file": "^6.0.0",
|
|
69
69
|
"@pnpm/constants": "1100.0.0",
|
|
70
|
-
"@pnpm/deps.inspection.commands": "1100.1.
|
|
71
|
-
"@pnpm/installing.commands": "1100.1.
|
|
72
|
-
"@pnpm/prepare": "1100.0.
|
|
70
|
+
"@pnpm/deps.inspection.commands": "1100.1.13",
|
|
71
|
+
"@pnpm/installing.commands": "1100.1.12",
|
|
72
|
+
"@pnpm/prepare": "1100.0.6",
|
|
73
73
|
"@pnpm/test-fixtures": "1100.0.0",
|
|
74
74
|
"@pnpm/testing.command-defaults": "1100.0.1",
|
|
75
|
-
"@pnpm/workspace.projects-filter": "1100.0.
|
|
75
|
+
"@pnpm/workspace.projects-filter": "1100.0.9"
|
|
76
76
|
},
|
|
77
77
|
"engines": {
|
|
78
78
|
"node": ">=22.13"
|