@pnpm/resolving.default-resolver 1100.3.4 → 1100.3.6

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/index.d.ts CHANGED
@@ -30,9 +30,9 @@ export type ResolutionVerifierFactoryOptions = Pick<ResolverFactoryOptions, 'cac
30
30
  };
31
31
  /**
32
32
  * Companion to {@link createResolver}. Collects the resolver-specific
33
- * verifier factories (today: npm) into a list. Returns an empty array
34
- * when no policy is active callers can cheaply decide whether to
35
- * iterate at all by checking `verifiers.length`.
33
+ * verifier factories (today: npm) into a list. The npm verifier is
34
+ * always present it enforces the tarball-URL binding regardless of
35
+ * policy configuration so the list is non-empty.
36
36
  *
37
37
  * Future protocols (jsr, git, attestation, etc.) plug in here by pushing
38
38
  * their own `ResolutionVerifier` onto the list. Each verifier handles
package/lib/index.js CHANGED
@@ -95,9 +95,9 @@ export function createResolver(fetchFromRegistry, getAuthHeader, pnpmOpts) {
95
95
  }
96
96
  /**
97
97
  * Companion to {@link createResolver}. Collects the resolver-specific
98
- * verifier factories (today: npm) into a list. Returns an empty array
99
- * when no policy is active callers can cheaply decide whether to
100
- * iterate at all by checking `verifiers.length`.
98
+ * verifier factories (today: npm) into a list. The npm verifier is
99
+ * always present it enforces the tarball-URL binding regardless of
100
+ * policy configuration so the list is non-empty.
101
101
  *
102
102
  * Future protocols (jsr, git, attestation, etc.) plug in here by pushing
103
103
  * their own `ResolutionVerifier` onto the list. Each verifier handles
@@ -130,8 +130,7 @@ export function createResolutionVerifiers(fetchFromRegistry, opts) {
130
130
  metaCache: opts.metaCache,
131
131
  now: opts.now,
132
132
  });
133
- if (npmVerifier)
134
- verifiers.push(npmVerifier);
133
+ verifiers.push(npmVerifier);
135
134
  return verifiers;
136
135
  }
137
136
  //# sourceMappingURL=index.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pnpm/resolving.default-resolver",
3
- "version": "1100.3.4",
3
+ "version": "1100.3.6",
4
4
  "description": "pnpm's default package resolver",
5
5
  "keywords": [
6
6
  "pnpm",
@@ -10,7 +10,10 @@
10
10
  ],
11
11
  "license": "MIT",
12
12
  "funding": "https://opencollective.com/pnpm",
13
- "repository": "https://github.com/pnpm/pnpm/tree/main/resolving/default-resolver",
13
+ "repository": {
14
+ "type": "git",
15
+ "url": "https://github.com/pnpm/pnpm/tree/main/resolving/default-resolver"
16
+ },
14
17
  "homepage": "https://github.com/pnpm/pnpm/tree/main/resolving/default-resolver#readme",
15
18
  "bugs": {
16
19
  "url": "https://github.com/pnpm/pnpm/issues"
@@ -26,30 +29,30 @@
26
29
  "!*.map"
27
30
  ],
28
31
  "dependencies": {
29
- "@pnpm/engine.runtime.bun-resolver": "1101.1.4",
30
- "@pnpm/engine.runtime.node-resolver": "1101.1.3",
31
- "@pnpm/engine.runtime.deno-resolver": "1101.1.4",
32
+ "@pnpm/engine.runtime.bun-resolver": "1101.1.6",
33
+ "@pnpm/engine.runtime.deno-resolver": "1101.1.6",
34
+ "@pnpm/engine.runtime.node-resolver": "1101.1.5",
32
35
  "@pnpm/error": "1100.0.0",
33
36
  "@pnpm/fetching.types": "1100.0.1",
34
- "@pnpm/hooks.types": "1100.0.9",
35
- "@pnpm/resolving.git-resolver": "1100.1.2",
36
- "@pnpm/network.auth-header": "1101.0.0",
37
- "@pnpm/resolving.local-resolver": "1101.1.2",
38
- "@pnpm/resolving.resolver-base": "1100.3.1",
39
- "@pnpm/resolving.tarball-resolver": "1100.1.1",
40
- "@pnpm/resolving.npm-resolver": "1101.4.0",
41
- "@pnpm/types": "1101.2.0"
37
+ "@pnpm/hooks.types": "1100.0.11",
38
+ "@pnpm/network.auth-header": "1101.1.1",
39
+ "@pnpm/resolving.git-resolver": "1100.1.4",
40
+ "@pnpm/resolving.local-resolver": "1101.1.4",
41
+ "@pnpm/resolving.npm-resolver": "1101.5.1",
42
+ "@pnpm/resolving.resolver-base": "1100.4.1",
43
+ "@pnpm/resolving.tarball-resolver": "1100.1.3",
44
+ "@pnpm/types": "1101.3.1"
42
45
  },
43
46
  "devDependencies": {
44
47
  "@jest/globals": "30.3.0",
45
48
  "load-json-file": "^7.0.1",
46
49
  "tempy": "3.0.0",
47
- "@pnpm/fetching.fetcher-base": "1100.1.6",
48
- "@pnpm/fetching.tarball-fetcher": "1101.0.11",
49
- "@pnpm/resolving.default-resolver": "1100.3.4",
50
- "@pnpm/network.fetch": "1100.0.8",
50
+ "@pnpm/fetching.fetcher-base": "1100.1.8",
51
+ "@pnpm/network.fetch": "1100.1.1",
52
+ "@pnpm/resolving.default-resolver": "1100.3.6",
53
+ "@pnpm/fetching.tarball-fetcher": "1101.0.13",
51
54
  "@pnpm/store.cafs-types": "1100.0.1",
52
- "@pnpm/testing.mock-agent": "1100.0.8"
55
+ "@pnpm/testing.mock-agent": "1101.0.1"
53
56
  },
54
57
  "engines": {
55
58
  "node": ">=22.13"