pnpm 12.16.0 → 12.16.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,29 @@
1
1
  # pnpm
2
2
 
3
+ ## 12.16.1
4
+
5
+ This release fixes `pnpm install` hanging on a cold store in workspaces that install Cargo crates, and `pnpm pack` shipping a file that `files` excludes by name.
6
+
7
+ ### Patch Changes
8
+
9
+ - `pnpm install` no longer hangs on a cold store in a workspace that also installs Cargo crates or a Rust toolchain.
10
+
11
+ - `pnpm pack` and `pnpm publish` now apply a `files` entry that names a file after the glob and directory entries, as npm does. A file excluded by name, such as `!dist/index.js`, stays out even when a later `dist/**` matches it. A file named by its path, such as `lib/secret.js`, ships even when a later `!lib/*.js` matches it.
12
+
13
+ - `pnpm install` no longer leaves a broken symlink in an injected workspace dependency when the package links to a file outside its published files and pnpm imports by hardlink. Installing a git dependency now skips internal directory symlinks when importing its files into the store.
14
+
15
+ - `pnpm install` now relinks a command that a workspace project renames into the projects that depend on it when `sharedWorkspaceLockfile` is `false` [pnpm/tasks#224](https://github.com/pnpm/tasks/issues/224).
16
+
17
+ - `pnpm install` and `pnpm rebuild` now refresh privately hoisted `.bin` shims in `node_modules/.pnpm/node_modules/.bin` after a dependency build replaces a script target with a native executable [#17402](https://github.com/pnpm/pnpm/issues/17402).
18
+
19
+ - `pnpm install` now reads a package's manifest to decide its peer dependencies when it updates an existing lockfile, as it does when it resolves from scratch.
20
+
21
+ - Commands, `pnpm --version`, `pnpm self-update`, and invocations with unknown flags now apply the same `packageManager` and `devEngines.packageManager` settings when switching to the pinned pnpm version or recording it in `pnpm-lock.yaml`. `--config.<key>` flags and `lockfileDir` now reach the version switch and lockfile sync on every entry point. Unreadable settings in `pnpm-workspace.yaml` or the global `config.yaml` that do not affect the pin decision no longer block the version switch [pnpm/tasks#222](https://github.com/pnpm/tasks/issues/222).
22
+
23
+ - pnpm now accepts the `--cache-dir <dir>` flag, as in `pnpm install --cache-dir /tmp/pnpm-cache` [#17422](https://github.com/pnpm/pnpm/issues/17422).
24
+
25
+ - When the version or range given to `pnpm unpublish` matches every published version, the error now says so and shows the same command with `--force`. Before, the error suggested running `pnpm unpublish <pkg>@<version>`, the command that had just failed.
26
+
3
27
  ## 12.16.0
4
28
 
5
29
  This release adds a global `--env-file` flag, updates to a symlinked `pnpm-lock.yaml`, and `pnpm setup --no-modify-path`. It also fixes two security issues, in zstd decompression and in signing.
@@ -1,9 +1,9 @@
1
1
  {
2
- "lastValidatedTimestamp": 1793056271147,
2
+ "lastValidatedTimestamp": 1793108148932,
3
3
  "projects": {
4
4
  "/home/runner/_work/pnpm/pnpm/pnpm/npm/pnpm/temp-deploy": {
5
5
  "name": "pacquet",
6
- "version": "12.16.0",
6
+ "version": "12.16.1",
7
7
  "hasModulesDir": true
8
8
  }
9
9
  },
@@ -162,24 +162,24 @@
162
162
  ]
163
163
  },
164
164
  "validation": {
165
- "recordedAtNs": 1793056271147939960,
165
+ "recordedAtNs": 1793108148932732288,
166
166
  "files": {
167
167
  "/home/runner/_work/pnpm/pnpm/pnpm/npm/pnpm/temp-deploy/../../../../.config/pnpm/patches/graceful-fs@4.2.11.patch": {
168
- "mtimeNs": 1793056246659933047,
169
- "ctimeNs": 1793056246659933047,
168
+ "mtimeNs": 1793108123320725018,
169
+ "ctimeNs": 1793108123320725018,
170
170
  "size": 671,
171
171
  "digest": "68ebc232025360cb3dcd3081f4067f4e"
172
172
  },
173
173
  "/home/runner/_work/pnpm/pnpm/pnpm/npm/pnpm/temp-deploy/pnpm-lock.yaml": {
174
- "mtimeNs": 1793056270911939892,
175
- "ctimeNs": 1793056270911939892,
174
+ "mtimeNs": 1793108148656732208,
175
+ "ctimeNs": 1793108148656732208,
176
176
  "size": 6001,
177
177
  "digest": "b251eb0d29c262f40cbf984a99f53fb8"
178
178
  }
179
179
  },
180
180
  "lockfile": "b251eb0d29c262f40cbf984a99f53fb8",
181
181
  "manifests": {
182
- ".": "a63c0e1d8404c2358f7d9facea066bbc"
182
+ ".": "48a2e9f48c9ba15435360444fd678acc"
183
183
  }
184
184
  }
185
185
  }
package/package.json CHANGED
@@ -9,7 +9,7 @@
9
9
  "./dist/node_modules/node-gyp/gyp/gyp"
10
10
  ]
11
11
  },
12
- "version": "12.16.0",
12
+ "version": "12.16.1",
13
13
  "description": "Fast, disk space efficient package manager",
14
14
  "keywords": [
15
15
  "pnpm",
@@ -46,20 +46,20 @@
46
46
  "THIRD-PARTY-NOTICES.md"
47
47
  ],
48
48
  "optionalDependencies": {
49
- "@pnpm/exe.win32-x64": "12.16.0",
50
- "@pnpm/exe.win32-arm64": "12.16.0",
51
- "@pnpm/exe.darwin-x64": "12.16.0",
52
- "@pnpm/exe.darwin-arm64": "12.16.0",
53
- "@pnpm/exe.linux-x64": "12.16.0",
54
- "@pnpm/exe.linux-arm64": "12.16.0",
55
- "@pnpm/exe.linux-riscv64": "12.16.0",
56
- "@pnpm/exe.linux-ppc64": "12.16.0",
57
- "@pnpm/exe.linux-s390x": "12.16.0",
58
- "@pnpm/exe.linux-x64-musl": "12.16.0",
59
- "@pnpm/exe.linux-arm64-musl": "12.16.0",
60
- "@pnpm/exe.freebsd-x64": "12.16.0",
61
- "@pnpm/exe.android-arm64": "12.16.0",
62
- "@pnpm/exe.android-x64": "12.16.0"
49
+ "@pnpm/exe.win32-x64": "12.16.1",
50
+ "@pnpm/exe.win32-arm64": "12.16.1",
51
+ "@pnpm/exe.darwin-x64": "12.16.1",
52
+ "@pnpm/exe.darwin-arm64": "12.16.1",
53
+ "@pnpm/exe.linux-x64": "12.16.1",
54
+ "@pnpm/exe.linux-arm64": "12.16.1",
55
+ "@pnpm/exe.linux-riscv64": "12.16.1",
56
+ "@pnpm/exe.linux-ppc64": "12.16.1",
57
+ "@pnpm/exe.linux-s390x": "12.16.1",
58
+ "@pnpm/exe.linux-x64-musl": "12.16.1",
59
+ "@pnpm/exe.linux-arm64-musl": "12.16.1",
60
+ "@pnpm/exe.freebsd-x64": "12.16.1",
61
+ "@pnpm/exe.android-arm64": "12.16.1",
62
+ "@pnpm/exe.android-x64": "12.16.1"
63
63
  },
64
64
  "scripts": {
65
65
  "preinstall": "node install.js",