René's URL Explorer Experiment


Title: fix: keep nested file: deps and re-resolve changed git refs by owlstronaut · Pull Request #9523 · npm/cli · GitHub

Open Graph Title: fix: keep nested file: deps and re-resolve changed git refs by owlstronaut · Pull Request #9523 · npm/cli

X Title: fix: keep nested file: deps and re-resolve changed git refs by owlstronaut · Pull Request #9523 · npm/cli

Description: the package manager for JavaScript. Contribute to npm/cli development by creating an account on GitHub.

Open Graph Description: The lockfile pruning added in 11.15.0 dropped every extraneous node outside node_modules to remove stale workspace entries. This also removed legitimate nested entries for a file: dependency that i...

X Description: The lockfile pruning added in 11.15.0 dropped every extraneous node outside node_modules to remove stale workspace entries. This also removed legitimate nested entries for a file: dependency that i...

Opengraph URL: https://github.com/npm/cli/pull/9523

X: @github

direct link

Domain: github.com

route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:cb87ddcb-e914-a7c6-8130-d33c3e35e927
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idA26C:1070C6:B9CCF:F8B0B:6A4C1F08
html-safe-nonce4092e4551de76084b93aa140b8169f4598e4566980ab2add6bc16a9475fa8ecf
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMjZDOjEwNzBDNjpCOUNDRjpGOEIwQjo2QTRDMUYwOCIsInZpc2l0b3JfaWQiOiI4MzU5MTczMjI1MTA0Mjg1NDQ4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac90e79d1962d568d330af1e49db454ed82b17dfe1fd0413c45c27948f8e7d550a
hovercard-subject-tagpull_request:3833416320
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/npm/cli/9523/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/a5889e31182229320cebf2343f8de5b2c03e120cc82a00ad74b371bb89fa8b7a/npm/cli/pull/9523
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/a5889e31182229320cebf2343f8de5b2c03e120cc82a00ad74b371bb89fa8b7a/npm/cli/pull/9523
og:image:altThe lockfile pruning added in 11.15.0 dropped every extraneous node outside node_modules to remove stale workspace entries. This also removed legitimate nested entries for a file: dependency that i...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameowlstronaut
hostnamegithub.com
expected-hostnamegithub.com
None1b6b16d04026f131a36d57e3b01d0f4d26a51800edf48bf5ed0256e0ac905511
turbo-cache-controlno-cache
go-importgithub.com/npm/cli git https://github.com/npm/cli.git
octolytics-dimension-user_id6078720
octolytics-dimension-user_loginnpm
octolytics-dimension-repository_id139910229
octolytics-dimension-repository_nwonpm/cli
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id139910229
octolytics-dimension-repository_network_root_nwonpm/cli
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasef95fb36c72adc940ff991c03531114b2245658d0
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/npm/cli/pull/9523#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fnpm%2Fcli%2Fpull%2F9523
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fnpm%2Fcli%2Fpull%2F9523
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=npm%2Fcli
Reloadhttps://github.com/npm/cli/pull/9523
Reloadhttps://github.com/npm/cli/pull/9523
Reloadhttps://github.com/npm/cli/pull/9523
Please reload this pagehttps://github.com/npm/cli/pull/9523
npm https://github.com/npm
clihttps://github.com/npm/cli
Notifications https://github.com/login?return_to=%2Fnpm%2Fcli
Fork 4.5k https://github.com/login?return_to=%2Fnpm%2Fcli
Star 9.9k https://github.com/login?return_to=%2Fnpm%2Fcli
Code https://github.com/npm/cli
Issues 570 https://github.com/npm/cli/issues
Pull requests 67 https://github.com/npm/cli/pulls
Actions https://github.com/npm/cli/actions
Wiki https://github.com/npm/cli/wiki
Security and quality 5 https://github.com/npm/cli/security
Insights https://github.com/npm/cli/pulse
Code https://github.com/npm/cli
Issues https://github.com/npm/cli/issues
Pull requests https://github.com/npm/cli/pulls
Actions https://github.com/npm/cli/actions
Wiki https://github.com/npm/cli/wiki
Security and quality https://github.com/npm/cli/security
Insights https://github.com/npm/cli/pulse
owlstronauthttps://github.com/owlstronaut
latesthttps://github.com/npm/cli/tree/latest
fix/9433-nested-file-dep-lockfilehttps://github.com/npm/cli/tree/fix/9433-nested-file-dep-lockfile
Conversationhttps://github.com/npm/cli/pull/9523
Commits2 (2)https://github.com/npm/cli/pull/9523/commits
Checkshttps://github.com/npm/cli/pull/9523/checks
Files changedhttps://github.com/npm/cli/pull/9523/files
fix: keep nested file: deps and re-resolve changed git refshttps://github.com/npm/cli/pull/9523#top
owlstronauthttps://github.com/owlstronaut
latesthttps://github.com/npm/cli/tree/latest
fix/9433-nested-file-dep-lockfilehttps://github.com/npm/cli/tree/fix/9433-nested-file-dep-lockfile
https://github.com/owlstronaut
owlstronauthttps://github.com/owlstronaut
Jun 9, 2026https://github.com/npm/cli/pull/9523#issue-4624210129
Please reload this pagehttps://github.com/npm/cli/pull/9523
#9433https://github.com/npm/cli/issues/9433
#9486https://github.com/npm/cli/issues/9486
#9524https://github.com/npm/cli/pull/9524
Please reload this pagehttps://github.com/npm/cli/pull/9523
https://github.com/owlstronaut
fix: keep nested file: dep entries in package-lock.jsonhttps://github.com/npm/cli/pull/9523/commits/5cd26fb84c683850dbba3a575675f810a00fc532
5cd26fbhttps://github.com/npm/cli/pull/9523/commits/5cd26fb84c683850dbba3a575675f810a00fc532
https://github.com/owlstronaut
owlstronauthttps://github.com/owlstronaut
backport:v11 https://github.com/npm/cli/issues?q=state%3Aopen%20label%3Abackport%3Av11
Jun 9, 2026https://github.com/npm/cli/pull/9523#event-26535811612
https://github.com/owlstronaut
owlstronauthttps://github.com/owlstronaut
June 9, 2026 17:43https://github.com/npm/cli/pull/9523#event-26535980822
https://github.com/owlstronaut
owlstronauthttps://github.com/owlstronaut
code ownershttps://github.com/npm/cli/blob/9b5c7b0c8ea47823156111d27800aa6e741c7a2c/.github/CODEOWNERS#L3
June 9, 2026 17:43https://github.com/npm/cli/pull/9523#event-26535981282
https://github.com/manzoorwanijk
manzoorwanijkhttps://github.com/manzoorwanijk
Jun 9, 2026 https://github.com/npm/cli/pull/9523#pullrequestreview-4461216841
View reviewed changes https://github.com/npm/cli/pull/9523/files/5cd26fb84c683850dbba3a575675f810a00fc532
workspaces/arborist/lib/shrinkwrap.jshttps://github.com/npm/cli/pull/9523/files/5cd26fb84c683850dbba3a575675f810a00fc532#diff-72bfba0c222893dc9cbb7e176e3a0b055b81a6899813cdfa617b86faacd1f96c
manzoorwanijkhttps://github.com/manzoorwanijk
Jun 9, 2026https://github.com/npm/cli/pull/9523#discussion_r3382818917
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
#9330https://github.com/npm/cli/pull/9330
Please reload this pagehttps://github.com/npm/cli/pull/9523
https://github.com/owlstronaut
owlstronauthttps://github.com/owlstronaut
force-pushedhttps://github.com/npm/cli/compare/06cfb41c37704647c71fd854acf1679483457bd7..d9eeec93827909274da1d0dce25608a768cc4e5e
06cfb41https://github.com/npm/cli/commit/06cfb41c37704647c71fd854acf1679483457bd7
d9eeec9https://github.com/npm/cli/commit/d9eeec93827909274da1d0dce25608a768cc4e5e
Compare https://github.com/npm/cli/compare/06cfb41c37704647c71fd854acf1679483457bd7..d9eeec93827909274da1d0dce25608a768cc4e5e
June 9, 2026 18:49https://github.com/npm/cli/pull/9523#event-26538418539
https://github.com/owlstronaut
fix: re-resolve git deps when package.json tag or branch changeshttps://github.com/npm/cli/pull/9523/commits/de72e81f342faa3c0ac9b98a599045ab368614de
de72e81https://github.com/npm/cli/pull/9523/commits/de72e81f342faa3c0ac9b98a599045ab368614de
https://github.com/owlstronaut
owlstronauthttps://github.com/owlstronaut
force-pushedhttps://github.com/npm/cli/compare/d9eeec93827909274da1d0dce25608a768cc4e5e..de72e81f342faa3c0ac9b98a599045ab368614de
d9eeec9https://github.com/npm/cli/commit/d9eeec93827909274da1d0dce25608a768cc4e5e
de72e81https://github.com/npm/cli/commit/de72e81f342faa3c0ac9b98a599045ab368614de
Compare https://github.com/npm/cli/compare/d9eeec93827909274da1d0dce25608a768cc4e5e..de72e81f342faa3c0ac9b98a599045ab368614de
June 9, 2026 18:56https://github.com/npm/cli/pull/9523#event-26538680716
https://github.com/nishantms
nishantmshttps://github.com/nishantms
Jun 10, 2026 https://github.com/npm/cli/pull/9523#pullrequestreview-4466463024
View reviewed changes https://github.com/npm/cli/pull/9523/files/de72e81f342faa3c0ac9b98a599045ab368614de
workspaces/arborist/lib/dep-valid.jshttps://github.com/npm/cli/pull/9523/files/de72e81f342faa3c0ac9b98a599045ab368614de#diff-d171fe58adf84507ba87be985b21b21e5d4185db2a07c272f640ee90edc7fa81
Please reload this pagehttps://github.com/npm/cli/pull/9523
https://github.com/nishantms
nishantmshttps://github.com/nishantms
Jun 10, 2026 https://github.com/npm/cli/pull/9523#pullrequestreview-4466488809
View reviewed changes https://github.com/npm/cli/pull/9523/files/de72e81f342faa3c0ac9b98a599045ab368614de
https://github.com/owlstronaut
owlstronauthttps://github.com/owlstronaut
Jun 10, 2026https://github.com/npm/cli/pull/9523#event-26579393733
https://github.com/owlstronaut
owlstronauthttps://github.com/owlstronaut
fc6268ahttps://github.com/npm/cli/commit/fc6268ab7fa4ce1dcaefd6cd470a1f73eb192565
Jun 10, 2026https://github.com/npm/cli/pull/9523#event-26579459977
Please reload this pagehttps://github.com/npm/cli/pull/9523
https://github.com/owlstronaut
owlstronauthttps://github.com/owlstronaut
June 10, 2026 14:30https://github.com/npm/cli/pull/9523#event-26579462493
https://github.com/owlstronaut
owlstronauthttps://github.com/owlstronaut
Jun 10, 2026 https://github.com/npm/cli/pull/9523#ref-pullrequest-4624618230
fix: re-resolve git deps when package.json tag or branch changes #9524 https://github.com/npm/cli/pull/9524
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Jun 10, 2026 https://github.com/npm/cli/pull/9523#ref-pullrequest-4632205757
fix: keep nested file: deps and re-resolve changed git refs #9530 https://github.com/npm/cli/pull/9530
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Jun 10, 2026https://github.com/npm/cli/pull/9523#issuecomment-4671330125
#9530https://github.com/npm/cli/pull/9530
Please reload this pagehttps://github.com/npm/cli/pull/9523
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Jun 9, 2026 https://github.com/npm/cli/pull/9523#ref-pullrequest-4495999677
chore: release 12.0.0-pre.1 #9387 https://github.com/npm/cli/pull/9387
owlstronauthttps://github.com/owlstronaut
Jun 10, 2026 https://github.com/npm/cli/pull/9523#ref-commit-fc5573a
https://github.com/apps/github-actions
https://github.com/owlstronaut
fix: keep nested file: deps and re-resolve changed git refs (https://github.com/npm/cli/commit/fc5573a790bbcbad0c4e8934c279cbaa3340090a
#9530https://github.com/npm/cli/pull/9530
)https://github.com/npm/cli/commit/fc5573a790bbcbad0c4e8934c279cbaa3340090a
fc5573ahttps://github.com/npm/cli/commit/fc5573a790bbcbad0c4e8934c279cbaa3340090a
#9523https://github.com/npm/cli/pull/9523
https://github.co/hiddenchars
https://github.com/npm/cli/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fnpm%2Fcli%2Fpull%2F9523
https://github.com/nishantms
nishantms https://github.com/nishantms
https://github.com/npm/cli/pull/9523/files/de72e81f342faa3c0ac9b98a599045ab368614de
https://github.com/manzoorwanijk
manzoorwanijk https://github.com/manzoorwanijk
https://github.com/npm/cli/pull/9523/files/5cd26fb84c683850dbba3a575675f810a00fc532
backport:v11 https://github.com/npm/cli/issues?q=state%3Aopen%20label%3Abackport%3Av11
[BUG] npm install ignores tag/branch changes to git dependencies in package.json https://github.com/npm/cli/issues/9486
[BUG] npm ci after npm install fails for file-based dependencies https://github.com/npm/cli/issues/9433
Please reload this pagehttps://github.com/npm/cli/pull/9523
https://github.com/owlstronaut
https://github.com/manzoorwanijk
https://github.com/nishantms
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.