@pnpm/resolving.resolver-base 1100.5.4 → 1101.0.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,23 @@
1
1
  # @pnpm/resolver-base
2
2
 
3
+ ## 1101.0.0
4
+
5
+ ### Major Changes
6
+
7
+ - Renamed the `PinnedVersion` type to `RangeSpecStyle` and the `pinnedVersion` option fields to `rangeSpecStyle`: the value selects the operator a specifier is saved with, not a pin. `whichVersionIsPinned` is now `inferRangeSpecStyle`, and the new `rangeSpecGranularity` helper collapses the `exact` spelling to its `patch` range width. `@pnpm/types` keeps `PinnedVersion` as a deprecated alias of `RangeSpecStyle`. The rename itself changes no CLI behavior; the `=`-pin handling is described in its own changesets.
8
+
9
+ ### Patch Changes
10
+
11
+ - Updated dependencies:
12
+ - @pnpm/types@1101.8.0
13
+
14
+ ## 1100.5.5
15
+
16
+ ### Patch Changes
17
+
18
+ - Updated dependencies:
19
+ - @pnpm/types@1101.7.0
20
+
3
21
  ## 1100.5.4
4
22
 
5
23
  ### Patch Changes
package/lib/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import type { DependencyManifest, PackageManifest, PackageVersionPolicy, PinnedVersion, PkgResolutionId, ProjectRootDir, SupportedArchitectures, TrustPolicy } from '@pnpm/types';
1
+ import type { DependencyManifest, PackageManifest, PackageVersionPolicy, PkgResolutionId, ProjectRootDir, RangeSpecStyle, SupportedArchitectures, TrustPolicy } from '@pnpm/types';
2
2
  export { type PkgResolutionId };
3
3
  /**
4
4
  * tarball hosted remotely
@@ -247,7 +247,7 @@ export interface ResolveOptions {
247
247
  updateChecksums?: boolean;
248
248
  injectWorkspacePackages?: boolean;
249
249
  calcSpecifier?: boolean;
250
- pinnedVersion?: PinnedVersion;
250
+ rangeSpecStyle?: RangeSpecStyle;
251
251
  currentPkg?: {
252
252
  id: PkgResolutionId;
253
253
  name?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pnpm/resolving.resolver-base",
3
- "version": "1100.5.4",
3
+ "version": "1101.0.0",
4
4
  "description": "Types for pnpm-compatible resolvers",
5
5
  "keywords": [
6
6
  "pnpm",
@@ -28,11 +28,11 @@
28
28
  "!*.map"
29
29
  ],
30
30
  "dependencies": {
31
- "@pnpm/types": "1101.6.0"
31
+ "@pnpm/types": "1101.8.0"
32
32
  },
33
33
  "devDependencies": {
34
34
  "@jest/globals": "30.4.1",
35
- "@pnpm/resolving.resolver-base": "1100.5.4"
35
+ "@pnpm/resolving.resolver-base": "1101.0.0"
36
36
  },
37
37
  "engines": {
38
38
  "node": ">=22.13"