GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |
GeezerVison is showing github.com — fix(arborist): match allowScripts keys for local paths by martinrrm · Pull Request #9914 · npm/cli Conversation
Contributor
SummaryFixes Arborist stores a resolved Windows file source in this form: However,
The existing matcher compared Changes• Match local file and directory sources against The implementation intentionally does not globally normalize path separators. On POSIX systems, a backslash can be a literal filename character, so replacing every The change also does not modify dependency resolution, lockfile generation, fetching, linking, or Security considerationsLocal file and tarball dependencies continue to require an exact source identity. This change does not: • Match local packages by their self-reported name or version. This preserves the manifest-confusion protections in TestingAdded regression coverage for: • Backslash and forward-slash absolute Windows keys matching the same local tarball. The focused Arborist matcher, policy-writer, and prune tests pass locally. Native Windows path and UNC behavior is covered by platform-specific tests and will run in the repository's Windows CI matrix. Fixes #9900
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactionsCo-authored-by: Copilot <[email protected]> Co-authored-by: Copilot <[email protected]>
reggi
approved these changes
Uh oh!
There was an error while loading. Please reload this page.
Merged
This was referenced
Contributor
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
reggi
pushed a commit
that referenced
this pull request
Backport of #9914 to `release/v11`. Co-authored-by: martin <[email protected]> Co-authored-by: Copilot <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ReviewersUh oh!
There was an error while loading. Please reload this page. AssigneesNo one assignedLabelsProjectsMilestoneNo milestoneDevelopmentSuccessfully merging this pull request may close these issues. [BUG] allowScripts does not work for local tarball on WindowsUh oh!
There was an error while loading. Please reload this page. 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. | |
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |