@pnpm/plugin-commands-patching 5.0.7 → 5.0.9

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/patch.d.ts CHANGED
@@ -5,7 +5,7 @@ import path from 'path';
5
5
  import { type Config } from '@pnpm/config';
6
6
  import { type LogBase } from '@pnpm/logger';
7
7
  import { type CreateStoreControllerOptions } from '@pnpm/store-connection-manager';
8
- export declare function rcOptionsTypes(): Pick<Partial<Record<"registry" | "tag" | "key" | "user-agent" | "ca" | "cert" | "dev" | "optional" | "force" | "color" | "global" | "save" | "production" | "depth" | "offline" | "loglevel" | "only" | "globalconfig" | "userconfig" | "proxy" | "local-address" | "ignore-scripts" | "dry-run" | "save-prod" | "save-dev" | "save-optional" | "script-shell" | "fetch-retries" | "fetch-retry-factor" | "fetch-retry-mintimeout" | "fetch-retry-maxtimeout" | "save-exact" | "save-prefix" | "scripts-prepend-node-path" | "engine-strict" | "node-version" | "unsafe-perm" | "prefer-offline" | "https-proxy" | "no-proxy" | "strict-ssl" | "package-lock", any>> & {
8
+ export declare function rcOptionsTypes(): Pick<Partial<Record<"color" | "global" | "save" | "production" | "force" | "depth" | "offline" | "registry" | "optional" | "loglevel" | "only" | "dev" | "cert" | "key" | "ca" | "tag" | "globalconfig" | "userconfig" | "user-agent" | "proxy" | "local-address" | "ignore-scripts" | "dry-run" | "save-prod" | "save-dev" | "save-optional" | "script-shell" | "fetch-retries" | "fetch-retry-factor" | "fetch-retry-mintimeout" | "fetch-retry-maxtimeout" | "save-exact" | "save-prefix" | "scripts-prepend-node-path" | "engine-strict" | "node-version" | "unsafe-perm" | "prefer-offline" | "https-proxy" | "no-proxy" | "strict-ssl" | "package-lock", any>> & {
9
9
  access: (string | null)[];
10
10
  'allow-same-version': BooleanConstructor;
11
11
  'always-auth': BooleanConstructor;
@@ -42,7 +42,7 @@ export declare function rcOptionsTypes(): Pick<Partial<Record<"registry" | "tag"
42
42
  global: BooleanConstructor;
43
43
  globalconfig: path.PlatformPath;
44
44
  'global-style': BooleanConstructor;
45
- group: (StringConstructor | NumberConstructor)[];
45
+ group: (NumberConstructor | StringConstructor)[];
46
46
  'https-proxy': (typeof import("url") | null)[];
47
47
  'user-agent': StringConstructor;
48
48
  'ham-it-up': BooleanConstructor;
@@ -117,7 +117,7 @@ export declare function rcOptionsTypes(): Pick<Partial<Record<"registry" | "tag"
117
117
  unicode: BooleanConstructor;
118
118
  'unsafe-perm': BooleanConstructor;
119
119
  usage: BooleanConstructor;
120
- user: (StringConstructor | NumberConstructor)[];
120
+ user: (NumberConstructor | StringConstructor)[];
121
121
  userconfig: path.PlatformPath;
122
122
  umask: () => void;
123
123
  version: BooleanConstructor;
@@ -5,7 +5,7 @@ import path from 'path';
5
5
  import { type Config } from '@pnpm/config';
6
6
  import { install } from '@pnpm/plugin-commands-installation';
7
7
  export declare const rcOptionsTypes: typeof cliOptionsTypes;
8
- export declare function cliOptionsTypes(): Pick<Partial<Record<"registry" | "tag" | "key" | "user-agent" | "ca" | "cert" | "dev" | "optional" | "force" | "color" | "global" | "save" | "production" | "depth" | "offline" | "loglevel" | "only" | "globalconfig" | "userconfig" | "proxy" | "local-address" | "ignore-scripts" | "dry-run" | "save-prod" | "save-dev" | "save-optional" | "script-shell" | "fetch-retries" | "fetch-retry-factor" | "fetch-retry-mintimeout" | "fetch-retry-maxtimeout" | "save-exact" | "save-prefix" | "scripts-prepend-node-path" | "engine-strict" | "node-version" | "unsafe-perm" | "prefer-offline" | "https-proxy" | "no-proxy" | "strict-ssl" | "package-lock", any>> & {
8
+ export declare function cliOptionsTypes(): Pick<Partial<Record<"color" | "global" | "save" | "production" | "force" | "depth" | "offline" | "registry" | "optional" | "loglevel" | "only" | "dev" | "cert" | "key" | "ca" | "tag" | "globalconfig" | "userconfig" | "user-agent" | "proxy" | "local-address" | "ignore-scripts" | "dry-run" | "save-prod" | "save-dev" | "save-optional" | "script-shell" | "fetch-retries" | "fetch-retry-factor" | "fetch-retry-mintimeout" | "fetch-retry-maxtimeout" | "save-exact" | "save-prefix" | "scripts-prepend-node-path" | "engine-strict" | "node-version" | "unsafe-perm" | "prefer-offline" | "https-proxy" | "no-proxy" | "strict-ssl" | "package-lock", any>> & {
9
9
  access: (string | null)[];
10
10
  'allow-same-version': BooleanConstructor;
11
11
  'always-auth': BooleanConstructor;
@@ -42,7 +42,7 @@ export declare function cliOptionsTypes(): Pick<Partial<Record<"registry" | "tag
42
42
  global: BooleanConstructor;
43
43
  globalconfig: path.PlatformPath;
44
44
  'global-style': BooleanConstructor;
45
- group: (StringConstructor | NumberConstructor)[];
45
+ group: (NumberConstructor | StringConstructor)[];
46
46
  'https-proxy': (typeof import("url") | null)[];
47
47
  'user-agent': StringConstructor;
48
48
  'ham-it-up': BooleanConstructor;
@@ -117,7 +117,7 @@ export declare function cliOptionsTypes(): Pick<Partial<Record<"registry" | "tag
117
117
  unicode: BooleanConstructor;
118
118
  'unsafe-perm': BooleanConstructor;
119
119
  usage: BooleanConstructor;
120
- user: (StringConstructor | NumberConstructor)[];
120
+ user: (NumberConstructor | StringConstructor)[];
121
121
  userconfig: path.PlatformPath;
122
122
  umask: () => void;
123
123
  version: BooleanConstructor;
@@ -4,7 +4,7 @@
4
4
  import path from 'path';
5
5
  import { install } from '@pnpm/plugin-commands-installation';
6
6
  import { type Config } from '@pnpm/config';
7
- export declare function rcOptionsTypes(): Pick<Partial<Record<"registry" | "tag" | "key" | "user-agent" | "ca" | "cert" | "dev" | "optional" | "force" | "color" | "global" | "save" | "production" | "depth" | "offline" | "loglevel" | "only" | "globalconfig" | "userconfig" | "proxy" | "local-address" | "ignore-scripts" | "dry-run" | "save-prod" | "save-dev" | "save-optional" | "script-shell" | "fetch-retries" | "fetch-retry-factor" | "fetch-retry-mintimeout" | "fetch-retry-maxtimeout" | "save-exact" | "save-prefix" | "scripts-prepend-node-path" | "engine-strict" | "node-version" | "unsafe-perm" | "prefer-offline" | "https-proxy" | "no-proxy" | "strict-ssl" | "package-lock", any>> & {
7
+ export declare function rcOptionsTypes(): Pick<Partial<Record<"color" | "global" | "save" | "production" | "force" | "depth" | "offline" | "registry" | "optional" | "loglevel" | "only" | "dev" | "cert" | "key" | "ca" | "tag" | "globalconfig" | "userconfig" | "user-agent" | "proxy" | "local-address" | "ignore-scripts" | "dry-run" | "save-prod" | "save-dev" | "save-optional" | "script-shell" | "fetch-retries" | "fetch-retry-factor" | "fetch-retry-mintimeout" | "fetch-retry-maxtimeout" | "save-exact" | "save-prefix" | "scripts-prepend-node-path" | "engine-strict" | "node-version" | "unsafe-perm" | "prefer-offline" | "https-proxy" | "no-proxy" | "strict-ssl" | "package-lock", any>> & {
8
8
  access: (string | null)[];
9
9
  'allow-same-version': BooleanConstructor;
10
10
  'always-auth': BooleanConstructor;
@@ -41,7 +41,7 @@ export declare function rcOptionsTypes(): Pick<Partial<Record<"registry" | "tag"
41
41
  global: BooleanConstructor;
42
42
  globalconfig: path.PlatformPath;
43
43
  'global-style': BooleanConstructor;
44
- group: (StringConstructor | NumberConstructor)[];
44
+ group: (NumberConstructor | StringConstructor)[];
45
45
  'https-proxy': (typeof import("url") | null)[];
46
46
  'user-agent': StringConstructor;
47
47
  'ham-it-up': BooleanConstructor;
@@ -116,7 +116,7 @@ export declare function rcOptionsTypes(): Pick<Partial<Record<"registry" | "tag"
116
116
  unicode: BooleanConstructor;
117
117
  'unsafe-perm': BooleanConstructor;
118
118
  usage: BooleanConstructor;
119
- user: (StringConstructor | NumberConstructor)[];
119
+ user: (NumberConstructor | StringConstructor)[];
120
120
  userconfig: path.PlatformPath;
121
121
  umask: () => void;
122
122
  version: BooleanConstructor;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pnpm/plugin-commands-patching",
3
- "version": "5.0.7",
3
+ "version": "5.0.9",
4
4
  "description": "Commands for creating patches",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",
@@ -28,9 +28,9 @@
28
28
  "@types/ramda": "0.28.20",
29
29
  "@types/semver": "7.5.3",
30
30
  "write-yaml-file": "^5.0.0",
31
- "@pnpm/filter-workspace-packages": "7.2.2",
32
- "@pnpm/plugin-commands-patching": "5.0.7",
31
+ "@pnpm/filter-workspace-packages": "7.2.4",
33
32
  "@pnpm/prepare": "0.0.85",
33
+ "@pnpm/plugin-commands-patching": "5.0.9",
34
34
  "@pnpm/test-fixtures": "0.1.15"
35
35
  },
36
36
  "dependencies": {
@@ -44,22 +44,22 @@
44
44
  "safe-execa": "^0.1.3",
45
45
  "semver": "^7.5.4",
46
46
  "tempy": "^1.0.1",
47
- "@pnpm/cli-utils": "2.1.2",
48
47
  "@pnpm/config": "20.1.2",
48
+ "@pnpm/cli-utils": "2.1.2",
49
49
  "@pnpm/constants": "7.1.1",
50
50
  "@pnpm/error": "5.0.2",
51
51
  "@pnpm/fs.packlist": "1.0.2",
52
- "@pnpm/lockfile-file": "8.1.4",
53
52
  "@pnpm/lockfile-utils": "9.0.1",
54
- "@pnpm/modules-yaml": "12.1.4",
55
53
  "@pnpm/parse-wanted-dependency": "5.0.0",
56
- "@pnpm/patching.apply-patch": "2.0.5",
57
54
  "@pnpm/pick-fetcher": "2.0.1",
55
+ "@pnpm/patching.apply-patch": "2.0.5",
58
56
  "@pnpm/pick-registry-for-package": "5.0.4",
59
- "@pnpm/plugin-commands-installation": "14.0.7",
57
+ "@pnpm/lockfile-file": "8.1.4",
58
+ "@pnpm/modules-yaml": "12.1.4",
59
+ "@pnpm/plugin-commands-installation": "14.0.9",
60
+ "@pnpm/store-connection-manager": "7.0.16",
60
61
  "@pnpm/read-package-json": "8.0.5",
61
- "@pnpm/read-project-manifest": "5.0.8",
62
- "@pnpm/store-connection-manager": "7.0.14"
62
+ "@pnpm/read-project-manifest": "5.0.8"
63
63
  },
64
64
  "peerDependencies": {
65
65
  "@pnpm/logger": "^5.0.0"