@pnpm/deps.inspection.commands 1100.3.5 → 1100.3.7

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.
@@ -41,7 +41,7 @@ export async function fetchPackageInfo(opts, packageSpec) {
41
41
  fetchWarnTimeoutMs: 10000,
42
42
  }, packageName, {
43
43
  registry,
44
- authHeaderValue: getAuthHeader(registry),
44
+ authHeaderValue: getAuthHeader(registry, { pkgName: packageName }),
45
45
  fullMetadata: true,
46
46
  });
47
47
  if (fetchResult.notModified) {
package/lib/view/index.js CHANGED
@@ -168,7 +168,7 @@ export async function handler(opts, params) {
168
168
  function formatBytes(bytes) {
169
169
  if (bytes === 0)
170
170
  return '0 B';
171
- const k = 1024;
171
+ const k = 1000;
172
172
  const sizes = ['B', 'kB', 'MB', 'GB', 'TB', 'PB'];
173
173
  const i = Math.min(Math.floor(Math.log(bytes) / Math.log(k)), sizes.length - 1);
174
174
  return Math.round((bytes / Math.pow(k, i)) * 100) / 100 + ' ' + sizes[i];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pnpm/deps.inspection.commands",
3
- "version": "1100.3.5",
3
+ "version": "1100.3.7",
4
4
  "description": "The list, ll, why, and outdated commands of pnpm",
5
5
  "keywords": [
6
6
  "pnpm",
@@ -33,51 +33,51 @@
33
33
  "@zkochan/table": "^2.0.1",
34
34
  "chalk": "^5.6.2",
35
35
  "hosted-git-info": "npm:@pnpm/hosted-git-info@1.0.0",
36
- "open": "^7.4.2",
36
+ "open": "^11.0.0",
37
37
  "ramda": "npm:@pnpm/ramda@0.28.1",
38
38
  "render-help": "^2.0.0",
39
- "@pnpm/cli.common-cli-options-help": "1100.0.2",
40
39
  "@pnpm/cli.command": "1100.0.1",
41
- "@pnpm/cli.utils": "1101.0.10",
42
- "@pnpm/config.reader": "1101.7.0",
43
40
  "@pnpm/config.matcher": "1100.0.1",
44
- "@pnpm/deps.inspection.peers-checker": "1100.0.13",
45
- "@pnpm/deps.inspection.list": "1100.0.16",
46
- "@pnpm/config.pick-registry-for-package": "1100.0.8",
47
- "@pnpm/deps.inspection.peers-issues-renderer": "1100.0.5",
48
- "@pnpm/deps.inspection.outdated": "1100.1.6",
49
- "@pnpm/network.auth-header": "1101.1.1",
50
- "@pnpm/global.packages": "1100.0.7",
51
- "@pnpm/global.commands": "1100.0.26",
52
- "@pnpm/installing.modules-yaml": "1100.0.8",
41
+ "@pnpm/cli.utils": "1101.0.12",
42
+ "@pnpm/config.pick-registry-for-package": "1100.0.9",
43
+ "@pnpm/config.reader": "1101.9.0",
44
+ "@pnpm/cli.common-cli-options-help": "1100.0.2",
45
+ "@pnpm/deps.inspection.list": "1100.0.18",
46
+ "@pnpm/deps.inspection.outdated": "1100.1.8",
47
+ "@pnpm/deps.inspection.peers-issues-renderer": "1100.0.6",
48
+ "@pnpm/global.packages": "1100.0.8",
49
+ "@pnpm/global.commands": "1100.0.28",
50
+ "@pnpm/deps.inspection.peers-checker": "1100.0.14",
53
51
  "@pnpm/error": "1100.0.0",
52
+ "@pnpm/network.auth-header": "1101.1.2",
53
+ "@pnpm/installing.modules-yaml": "1100.0.9",
54
+ "@pnpm/lockfile.fs": "1100.1.5",
55
+ "@pnpm/network.fetch": "1100.1.3",
56
+ "@pnpm/resolving.registry.types": "1100.1.3",
57
+ "@pnpm/resolving.npm-resolver": "1102.0.0",
54
58
  "@pnpm/store.path": "1100.0.1",
55
- "@pnpm/resolving.npm-resolver": "1101.5.1",
56
- "@pnpm/types": "1101.3.1",
57
- "@pnpm/resolving.default-resolver": "1100.3.6",
58
- "@pnpm/network.fetch": "1100.1.1",
59
- "@pnpm/resolving.registry.types": "1100.1.2",
60
- "@pnpm/lockfile.fs": "1100.1.4"
59
+ "@pnpm/types": "1101.3.2",
60
+ "@pnpm/resolving.default-resolver": "1100.3.8"
61
61
  },
62
62
  "peerDependencies": {
63
- "@pnpm/logger": "^1001.0.1"
63
+ "@pnpm/logger": "^1100.0.0"
64
64
  },
65
65
  "devDependencies": {
66
- "@jest/globals": "30.3.0",
66
+ "@jest/globals": "30.4.1",
67
67
  "@types/hosted-git-info": "^3.0.5",
68
68
  "@types/ramda": "0.31.1",
69
- "@types/zkochan__table": "npm:@types/table@6.0.0",
69
+ "@types/zkochan__table": "npm:@types/table@6.3.2",
70
70
  "execa": "npm:safe-execa@0.3.0",
71
71
  "symlink-dir": "^10.0.1",
72
72
  "write-yaml-file": "^6.0.0",
73
- "@pnpm/constants": "1100.0.0",
74
- "@pnpm/installing.commands": "1100.7.3",
75
- "@pnpm/deps.inspection.commands": "1100.3.5",
76
- "@pnpm/testing.registry-mock": "1100.0.4",
73
+ "@pnpm/installing.commands": "1100.9.0",
74
+ "@pnpm/deps.inspection.commands": "1100.3.7",
77
75
  "@pnpm/test-fixtures": "1100.0.0",
78
- "@pnpm/prepare": "1100.0.14",
79
- "@pnpm/testing.command-defaults": "1100.0.4",
80
- "@pnpm/workspace.projects-filter": "1100.0.19"
76
+ "@pnpm/prepare": "1100.0.16",
77
+ "@pnpm/constants": "1100.0.0",
78
+ "@pnpm/testing.command-defaults": "1100.0.6",
79
+ "@pnpm/workspace.projects-filter": "1100.0.21",
80
+ "@pnpm/testing.registry-mock": "1100.0.6"
81
81
  },
82
82
  "engines": {
83
83
  "node": ">=22.13"