René's URL Explorer Experiment


Title: fix: preserve inherited OLDPWD when importing ShellJS by maxitoon · Pull Request #1282 · shelljs/shelljs · GitHub

Open Graph Title: fix: preserve inherited OLDPWD when importing ShellJS by maxitoon · Pull Request #1282 · shelljs/shelljs

X Title: fix: preserve inherited OLDPWD when importing ShellJS by maxitoon · Pull Request #1282 · shelljs/shelljs

Description: :shell: Portable Unix shell commands for Node.js. Contribute to shelljs/shelljs development by creating an account on GitHub.

Open Graph Description: Fixes #1030. Importing ShellJS currently deletes process.env.OLDPWD, even when it was supplied by the caller. This changes the importing application's environment and can break consumers such a...

X Description: Fixes #1030. Importing ShellJS currently deletes process.env.OLDPWD, even when it was supplied by the caller. This changes the importing application's environment and can break consumers su...

Opengraph URL: https://github.com/shelljs/shelljs/pull/1282

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
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:69583982-a8a0-b21a-4b08-745bb86007eb
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id9B5E:A69D:481318:64E90A:6B007308
html-safe-noncec736d749cbff613d805b5a4b3bde72c4d86ffb45f578453d63ba0c91c06c7ba7
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5QjVFOkE2OUQ6NDgxMzE4OjY0RTkwQTo2QjAwNzMwOCIsInZpc2l0b3JfaWQiOiIyOTY3MTg4MTY1NTEwNTkxMjQwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacf6c2c01dea60c927874031082e084ca18f92e3b2db8c8a168e8e1263d96599cf
hovercard-subject-tagpull_request:4816004664
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/shelljs/shelljs/1282/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/2283628abaa073b0defe5de70026ab28a22dac4ead0813727259a118ee1612d7/shelljs/shelljs/pull/1282
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/2283628abaa073b0defe5de70026ab28a22dac4ead0813727259a118ee1612d7/shelljs/shelljs/pull/1282
og:image:altFixes #1030. Importing ShellJS currently deletes process.env.OLDPWD, even when it was supplied by the caller. This changes the importing application's environment and can break consumers such a...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamemaxitoon
hostnamegithub.com
expected-hostnamegithub.com
None75c2b65dd205f26961d0c29afed1a8d0bb7cca9f05780571dfd1ef93eb539d16
turbo-cache-controlno-cache
go-importgithub.com/shelljs/shelljs git https://github.com/shelljs/shelljs.git
octolytics-dimension-user_id14236201
octolytics-dimension-user_loginshelljs
octolytics-dimension-repository_id3604157
octolytics-dimension-repository_nwoshelljs/shelljs
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id3604157
octolytics-dimension-repository_network_root_nwoshelljs/shelljs
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
release84e563eb4b55f8fa102f325f117533cee9e3df4a
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/shelljs/shelljs/pull/1282#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fshelljs%2Fshelljs%2Fpull%2F1282
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
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
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://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/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fshelljs%2Fshelljs%2Fpull%2F1282
Sign uphttps://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=shelljs%2Fshelljs
Reloadhttps://github.com/shelljs/shelljs/pull/1282
Reloadhttps://github.com/shelljs/shelljs/pull/1282
Reloadhttps://github.com/shelljs/shelljs/pull/1282
shelljshttps://github.com/shelljs
shelljshttps://github.com/shelljs/shelljs
Codehttps://github.com/shelljs/shelljs
Issues87 (87)https://github.com/shelljs/shelljs/issues
Pull requests41 (41)https://github.com/shelljs/shelljs/pulls
Actionshttps://github.com/shelljs/shelljs/actions
Projectshttps://github.com/shelljs/shelljs/projects
Wikihttps://github.com/shelljs/shelljs/wiki
Security and quality1 (1)https://github.com/shelljs/shelljs/security
Insightshttps://github.com/shelljs/shelljs/insights
https://github.com/shelljs/shelljs
maxitoonhttps://github.com/maxitoon
shelljs:mainhttps://github.com/shelljs/shelljs/tree/main
maxitoon:fix/preserve-inherited-oldpwdhttps://github.com/maxitoon/shelljs/tree/fix/preserve-inherited-oldpwd
Conversationhttps://github.com/shelljs/shelljs/pull/1282
Commits2 (2)https://github.com/shelljs/shelljs/pull/1282/commits
Checkshttps://github.com/shelljs/shelljs/pull/1282/checks
Files changedhttps://github.com/shelljs/shelljs/pull/1282/files
fix: preserve inherited OLDPWD when importing ShellJShttps://github.com/shelljs/shelljs/pull/1282#top
maxitoonhttps://github.com/maxitoon
shelljs:mainhttps://github.com/shelljs/shelljs/tree/main
maxitoon:fix/preserve-inherited-oldpwdhttps://github.com/maxitoon/shelljs/tree/fix/preserve-inherited-oldpwd
https://github.com/maxitoon
maxitoonhttps://github.com/maxitoon
Oct 11, 2026https://github.com/shelljs/shelljs/pull/1282#issue-5797251581
#1030https://github.com/shelljs/shelljs/issues/1030
Please reload this pagehttps://github.com/shelljs/shelljs/pull/1282
https://github.com/maxitoon
fix: preserve inherited OLDPWD when importing ShellJShttps://github.com/shelljs/shelljs/pull/1282/commits/58dd28147bad49d2f846f113db22df2aac044c61
58dd281https://github.com/shelljs/shelljs/pull/1282/commits/58dd28147bad49d2f846f113db22df2aac044c61
https://github.com/nfischer
nfischerhttps://github.com/nfischer
Oct 14, 2026 https://github.com/shelljs/shelljs/pull/1282#pullrequestreview-5511986596
View reviewed changes https://github.com/shelljs/shelljs/pull/1282/files/58dd28147bad49d2f846f113db22df2aac044c61
test/env.jshttps://github.com/shelljs/shelljs/pull/1282/files/58dd28147bad49d2f846f113db22df2aac044c61#diff-34a28570c06c02ce73f2131b7052458c3b7bb6987436b6d66709dd355f1a201e
nfischerhttps://github.com/nfischer
Oct 14, 2026https://github.com/shelljs/shelljs/pull/1282#discussion_r4265807942
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/shelljs/shelljs/pull/1282
test/cd.jshttps://github.com/shelljs/shelljs/pull/1282/files/58dd28147bad49d2f846f113db22df2aac044c61#diff-62fd5528898b5ced809533bace68e83fed6a0b9ee42863215797b397e96e8b0c
nfischerhttps://github.com/nfischer
Oct 14, 2026https://github.com/shelljs/shelljs/pull/1282#discussion_r4265813072
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/shelljs/shelljs/pull/1282
https://github.com/maxitoon
maxitoonhttps://github.com/maxitoon
Oct 14, 2026https://github.com/shelljs/shelljs/pull/1282#issuecomment-6171426163
Please reload this pagehttps://github.com/shelljs/shelljs/pull/1282
126b239https://github.com/shelljs/shelljs/commit/126b2399e29725a9a87d3a0afe35909cbcbc82f9
Please reload this pagehttps://github.com/shelljs/shelljs/pull/1282
https://github.com/maxitoon
test: make inherited OLDPWD cases explicit and isolatedhttps://github.com/shelljs/shelljs/pull/1282/commits/126b2399e29725a9a87d3a0afe35909cbcbc82f9
126b239https://github.com/shelljs/shelljs/pull/1282/commits/126b2399e29725a9a87d3a0afe35909cbcbc82f9
https://github.co/hiddenchars
https://github.com/shelljs/shelljs/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%2Fshelljs%2Fshelljs%2Fpull%2F1282
https://github.com/nfischer
nfischer https://github.com/nfischer
https://github.com/shelljs/shelljs/pull/1282/files/58dd28147bad49d2f846f113db22df2aac044c61
Please reload this pagehttps://github.com/shelljs/shelljs/pull/1282
Deletion of OLDPWD env variable creates error with webpack https://github.com/shelljs/shelljs/issues/1030
Please reload this pagehttps://github.com/shelljs/shelljs/pull/1282
https://github.com/maxitoon
https://github.com/nfischer
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.