@pnpm/registry-access.commands 1100.2.11 → 1100.2.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/ping.d.ts CHANGED
@@ -1,10 +1,9 @@
1
1
  import { type CreateFetchFromRegistryOptions } from '@pnpm/network.fetch';
2
- import type { Registries, RegistryConfig } from '@pnpm/types';
2
+ import type { RegistryConfig } from '@pnpm/types';
3
3
  export declare function cliOptionsTypes(): Record<string, unknown>;
4
4
  export declare function rcOptionsTypes(): Record<string, unknown>;
5
5
  export interface PingOptions extends CreateFetchFromRegistryOptions {
6
6
  registry?: string;
7
- registries?: Registries;
8
7
  configByUri?: Record<string, RegistryConfig>;
9
8
  }
10
9
  export declare const commandNames: string[];
package/lib/ping.js CHANGED
@@ -33,7 +33,7 @@ export function help() {
33
33
  });
34
34
  }
35
35
  export async function handler(opts) {
36
- const registryUrl = opts.registry ?? opts.registries?.default ?? 'https://registry.npmjs.org/';
36
+ const registryUrl = opts.registry ?? 'https://registry.npmjs.org/';
37
37
  const normalizedRegistryUrl = registryUrl.endsWith('/') ? registryUrl : `${registryUrl}/`;
38
38
  const pingUrlObject = new URL('./-/ping', normalizedRegistryUrl);
39
39
  pingUrlObject.searchParams.set('write', 'true');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pnpm/registry-access.commands",
3
- "version": "1100.2.11",
3
+ "version": "1100.2.13",
4
4
  "description": "Commands for managing packages on the registry",
5
5
  "keywords": [
6
6
  "pnpm",
@@ -29,14 +29,14 @@
29
29
  "ramda": "npm:@pnpm/ramda@0.28.1",
30
30
  "render-help": "^2.0.0",
31
31
  "semver": "^7.7.2",
32
- "@pnpm/config.reader": "1101.3.1",
33
- "@pnpm/config.pick-registry-for-package": "1100.0.3",
32
+ "@pnpm/config.pick-registry-for-package": "1100.0.4",
33
+ "@pnpm/config.reader": "1101.3.3",
34
+ "@pnpm/cli.utils": "1101.0.6",
34
35
  "@pnpm/error": "1100.0.0",
35
- "@pnpm/resolving.registry.types": "1100.0.3",
36
- "@pnpm/network.auth-header": "1100.0.2",
37
- "@pnpm/types": "1101.1.0",
38
- "@pnpm/cli.utils": "1101.0.4",
39
- "@pnpm/network.fetch": "1100.0.4"
36
+ "@pnpm/network.auth-header": "1100.0.3",
37
+ "@pnpm/network.fetch": "1100.0.6",
38
+ "@pnpm/types": "1101.1.1",
39
+ "@pnpm/resolving.registry.types": "1100.0.4"
40
40
  },
41
41
  "devDependencies": {
42
42
  "@jest/globals": "30.3.0",
@@ -44,11 +44,11 @@
44
44
  "@types/ramda": "0.31.1",
45
45
  "@types/semver": "7.7.1",
46
46
  "execa": "npm:safe-execa@0.3.0",
47
- "@pnpm/prepare": "1100.0.8",
48
- "@pnpm/registry-access.commands": "1100.2.11",
49
- "@pnpm/testing.mock-agent": "1100.0.4",
50
- "@pnpm/releasing.commands": "1100.2.14",
51
- "@pnpm/testing.command-defaults": "1100.0.1"
47
+ "@pnpm/registry-access.commands": "1100.2.13",
48
+ "@pnpm/prepare": "1100.0.10",
49
+ "@pnpm/releasing.commands": "1100.2.16",
50
+ "@pnpm/testing.command-defaults": "1100.0.1",
51
+ "@pnpm/testing.mock-agent": "1100.0.6"
52
52
  },
53
53
  "engines": {
54
54
  "node": ">=22.13"