Repository navigation
[pull] main from pnpm:main - #465
Merged
Merged
Conversation
Both utilities lived in the pnpm/components Bit workspace, where their component names collide with same-named components elsewhere in the Bit registry. Move the code here and publish it under new names: `@pnpm/util.lex-comparator` -> `@pnpm/text.ordinal-comparator` `@pnpm/config.nerf-dart` -> `@pnpm/config.registry-auth-key` The new names describe what the utilities do: the comparator is ordinal rather than locale-aware, and the mapped URL is the key that registry settings are stored under in `.npmrc`. The exported functions keep their names, so consumers only change their import specifiers. Implementations and tests are carried over unchanged. The rationale from the components' docs pages moves into doc comments: why `localeCompare` cannot be used for values compared across machines, and where `nerfDart` originates. No pacquet counterpart is needed. The Rust stack has its own implementations of both and no user-visible behavior changes.
The lockfile pinned `@types/[email protected]` as the hoisted optional peer of every `@inquirer/prompts` consumer, next to the `22.20.1` the workspace catalog pins with `^22.19.19`. That is the bug 71a4934 fixed: `getHoistableOptionalPeers` used to maximize over every version in the graph instead of bounding its candidates by the workspace root's own specifier, so an optional peer declared as `*` pulled in the newest version any importer had resolved. The entries came in with 7f81da3, six days after that fix landed, because the install that wrote them ran pnpm 12.0.0-alpha.21 — published before the fix — rather than the pinned 12.0.0-beta.2. Replaying that commit's inputs with alpha.21 reproduces its lockfile byte for byte, while beta.1, beta.2, and the TypeScript CLI at 11.18.0 all produce `22.20.1`. So every full re-resolution rewrites those 80 lines, and unrelated pull requests pick the correction up as soon as one of their manifest changes forces one — in #13535 it accounts for most of the lockfile diff. Re-resolving here keeps it out of the next PR that touches a manifest. No product code changes: the resolver fix is already in.
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 : )