@pnpm/lockfile.fs 1100.2.0 → 1100.2.1

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,11 @@
1
1
  # @pnpm/lockfile-file
2
2
 
3
+ ## 1100.2.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Changing `autoInstallPeers`, `dedupePeers`, `peersSuffixMaxLength`, `excludeLinksFromLockfile`, or `injectWorkspacePackages` no longer re-resolves the dependency graph when the lockfile proves the setting cannot affect it: no package or project declares a peer dependency for the peer settings, and no project depends on a directory or on another workspace project for the link and injection settings. The new setting is recorded in `pnpm-lock.yaml` and the install proceeds from the existing resolution. Every other case still falls back to a full resolution.
8
+
3
9
  ## 1100.2.0
4
10
 
5
11
  ### Minor Changes
@@ -43,7 +43,7 @@ export function convertToLockfileFile(lockfile) {
43
43
  newLockfile.settings = omit(['peersSuffixMaxLength'], newLockfile.settings);
44
44
  }
45
45
  if (newLockfile.settings?.injectWorkspacePackages === false) {
46
- delete newLockfile.settings.injectWorkspacePackages;
46
+ newLockfile.settings = omit(['injectWorkspacePackages'], newLockfile.settings);
47
47
  }
48
48
  return normalizeLockfile(newLockfile);
49
49
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pnpm/lockfile.fs",
3
- "version": "1100.2.0",
3
+ "version": "1100.2.1",
4
4
  "description": "Read/write pnpm-lock.yaml files",
5
5
  "keywords": [
6
6
  "pnpm",
@@ -52,12 +52,12 @@
52
52
  },
53
53
  "devDependencies": {
54
54
  "@jest/globals": "30.4.1",
55
- "@pnpm/lockfile.fs": "1100.2.0",
55
+ "@pnpm/lockfile.fs": "1100.2.1",
56
56
  "@pnpm/logger": "1100.0.0",
57
57
  "@types/js-yaml": "^4.0.9",
58
58
  "@types/normalize-path": "^3.0.2",
59
59
  "@types/ramda": "0.32.0",
60
- "@types/semver": "7.7.1",
60
+ "@types/semver": "7.8.0",
61
61
  "@types/write-file-atomic": "^4.0.3",
62
62
  "tempy": "3.0.0",
63
63
  "write-yaml-file": "^6.0.0",