@pnpm/resolving.resolver-base 1100.3.0 → 1100.4.0

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.
Files changed (2) hide show
  1. package/lib/index.d.ts +9 -0
  2. package/package.json +7 -4
package/lib/index.d.ts CHANGED
@@ -88,9 +88,17 @@ export type ResolutionVerification = {
88
88
  * across registries) name it the same and share the cache slot.
89
89
  */
90
90
  export interface ResolutionVerifier {
91
+ /**
92
+ * `ctx.nonSemverVersion` is set when the lockfile entry is keyed by a
93
+ * non-semver reference (URL tarball, git, etc.) rather than a registry
94
+ * `name@version`. Verifiers that only police registry entries use it to
95
+ * skip deliberate non-registry deps, which can still carry a semver
96
+ * `version` copied from the resolved manifest.
97
+ */
91
98
  verify: (resolution: Resolution, ctx: {
92
99
  name: string;
93
100
  version: string;
101
+ nonSemverVersion?: string;
94
102
  }) => Promise<ResolutionVerification>;
95
103
  /**
96
104
  * Snapshot of the policy fields this verifier enforces. Merged with
@@ -216,6 +224,7 @@ export interface ResolveOptions {
216
224
  preferWorkspacePackages?: boolean;
217
225
  workspacePackages?: WorkspacePackages;
218
226
  update?: false | 'compatible' | 'latest';
227
+ updateChecksums?: boolean;
219
228
  injectWorkspacePackages?: boolean;
220
229
  calcSpecifier?: boolean;
221
230
  pinnedVersion?: PinnedVersion;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pnpm/resolving.resolver-base",
3
- "version": "1100.3.0",
3
+ "version": "1100.4.0",
4
4
  "description": "Types for pnpm-compatible resolvers",
5
5
  "keywords": [
6
6
  "pnpm",
@@ -9,7 +9,10 @@
9
9
  ],
10
10
  "license": "MIT",
11
11
  "funding": "https://opencollective.com/pnpm",
12
- "repository": "https://github.com/pnpm/pnpm/tree/main/resolving/resolver-base",
12
+ "repository": {
13
+ "type": "git",
14
+ "url": "https://github.com/pnpm/pnpm/tree/main/resolving/resolver-base"
15
+ },
13
16
  "homepage": "https://github.com/pnpm/pnpm/tree/main/resolving/resolver-base#readme",
14
17
  "bugs": {
15
18
  "url": "https://github.com/pnpm/pnpm/issues"
@@ -25,10 +28,10 @@
25
28
  "!*.map"
26
29
  ],
27
30
  "dependencies": {
28
- "@pnpm/types": "1101.1.1"
31
+ "@pnpm/types": "1101.3.0"
29
32
  },
30
33
  "devDependencies": {
31
- "@pnpm/resolving.resolver-base": "1100.3.0"
34
+ "@pnpm/resolving.resolver-base": "1100.4.0"
32
35
  },
33
36
  "engines": {
34
37
  "node": ">=22.13"