Repository navigation
[pull] main from pnpm:main - #339
Merged
Merged
Conversation
Bumps [which](https://github.com/harryfei/which-rs) from 8.0.2 to 8.0.3. - [Release notes](https://github.com/harryfei/which-rs/releases) - [Changelog](https://github.com/harryfei/which-rs/blob/master/CHANGELOG.md) - [Commits](harryfei/which-rs@8.0.2...8.0.3) --- updated-dependencies: - dependency-name: which dependency-version: 8.0.3 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [ignore](https://github.com/BurntSushi/ripgrep) from 0.4.25 to 0.4.26. - [Release notes](https://github.com/BurntSushi/ripgrep/releases) - [Changelog](https://github.com/BurntSushi/ripgrep/blob/master/CHANGELOG.md) - [Commits](BurntSushi/ripgrep@ignore-0.4.25...ignore-0.4.26) --- updated-dependencies: - dependency-name: ignore dependency-version: 0.4.26 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…-store is toggled on (#12494) When a project transitions from non-GVS to GVS mode, hoisted symlinks at `node_modules/.pnpm/node_modules/<dep>` still pointed into `node_modules/.pnpm/<depPath>/node_modules/<dep>`. The `symlinkHoistedDependency` function only checked `isSubdir(virtualStoreDir, ...)` — with GVS active, `virtualStoreDir` is `storeDir/links`, so these old symlinks were classified as "external" and silently skipped. Added `internalPnpmDir` (derived from `path.dirname(privateHoistedModulesDir)`) as a second check. Symlinks under `node_modules/.pnpm/` are now recognized as pnpm-internal and correctly replaced, matching the pattern in `safeIsInnerLink`. The broader TypeScript type inference breakage (#9739) also has an architectural dimension: when TypeScript follows a symlink to storeDir/links/<hash>/, Node's module resolution walk-up never reaches node_modules/. This is the same root cause as #12437 (packages from links store can't resolve transitive deps) and requires a separate architectural fix. Closes #9739 --------- Co-authored-by: Zoltan Kochan <[email protected]>
…l-url + canonical-URL helper (#12513) Add @pnpm/resolving.tarball-url, which builds and recognizes the canonical npm tarball URL of a package. It vendors getNpmTarballUrl (previously the external get-npm-tarball-url dependency) and adds isCanonicalRegistryTarballUrl. @pnpm/lockfile.utils (toLockfileResolution, pkgSnapshotToResolution) and @pnpm/installing.env-installer now import from the new package; the private copy of the canonical check in toLockfileResolution is removed, and the external get-npm-tarball-url dependency and its catalog entry are dropped. The vendored getNpmTarballUrl is byte-for-byte equivalent to [email protected], so the fetch paths that use it are unchanged. Two correctness fixes are folded in while consolidating the logic: - the scoped-package unescape now handles uppercase %2F as well as %2f (percent-encoding is case-insensitive), so canonical scoped URLs are not needlessly persisted; - protocol-insensitive comparison strips only a leading http(s):// scheme via regex instead of splitting on the first :// (which could truncate a URL containing a later :// and yield a false-positive "canonical" match). Both fixes are mirrored in the pacquet port (is_canonical_registry_tarball_url in pacquet/crates/lockfile/src/resolution.rs) so the two stacks omit the same canonical scoped registry URLs from the lockfile, with matching regression tests. --------- Co-authored-by: Zoltan Kochan <[email protected]>
…n the retry callback (#12517) A non-retryable error code (e.g. SELF_SIGNED_CERT_IN_CHAIN) was thrown inside the detached op.attempt callback, so the governing promise never settled: the caller hung and the throw surfaced as an unhandled rejection that crashed the process. Reject the promise instead, mirroring the retries-exhausted path right below it. Co-authored-by: Claude <[email protected]> Co-authored-by: Zoltan Kochan <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
See Commits and Changes for more details.
Created by
pull[bot] (v2.0.0-alpha.4)
Can you help keep this open source service alive? 💖 Please sponsor : )