René's URL Explorer Experiment


Title: module: fix error message about importing names from cjs · nodejs/node@84a5e6c · GitHub

Open Graph Title: module: fix error message about importing names from cjs · nodejs/node@84a5e6c

X Title: module: fix error message about importing names from cjs · nodejs/node@84a5e6c

Description: Node.js JavaScript runtime ✨🐢🚀✨. Contribute to nodejs/node development by creating an account on GitHub.

Open Graph Description: When importing specific names from a CJS module, and renaming them using `as`, the example fix in the error message erroneously contains the keyword `as` in the destructuring variable declaration. ...

X Description: When importing specific names from a CJS module, and renaming them using `as`, the example fix in the error message erroneously contains the keyword `as` in the destructuring variable declaration. ...

Opengraph URL: /nodejs/node/commit/84a5e6cec81024f21749d99d8abc1506ef710553

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/commit/:name(/*path)
route-controllercommit
route-actionshow
fetch-noncev2:a3850514-61ce-d351-fe12-cc24dd692341
current-catalog-service-hashf3abb0cc802f3d7b95fc8762b94bdcb13bf39634c40c357301c4aa1d67a256fb
request-idC026:2780A3:12A32CC:19A842F:696A90E5
html-safe-noncece6f004dc0d8aca58651905268ea770a68ed06a577d4d926d5fda5ce4fc5c797
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMDI2OjI3ODBBMzoxMkEzMkNDOjE5QTg0MkY6Njk2QTkwRTUiLCJ2aXNpdG9yX2lkIjoiNjI3MzUzNjEyMjYwNDM5MjY3NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmaccba98f1ebc0fcc58497f3654da2b077c54a8bdc5c57f07bb3f5544180be3aa66
hovercard-subject-tagrepository:27193779
github-keyboard-shortcutsrepository,commits,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///commit/show
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/nodejs/node/commit/84a5e6cec8
twitter:imagehttps://opengraph.githubassets.com/3a42e1a92b08006e74d1266ea034008ebb5e56b5512b17c80f1699f3436f149b/nodejs/node/commit/84a5e6cec81024f21749d99d8abc1506ef710553
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/3a42e1a92b08006e74d1266ea034008ebb5e56b5512b17c80f1699f3436f149b/nodejs/node/commit/84a5e6cec81024f21749d99d8abc1506ef710553
og:image:altWhen importing specific names from a CJS module, and renaming them using `as`, the example fix in the error message erroneously contains the keyword `as` in the destructuring variable declaration. ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:updated_time1593277346
hostnamegithub.com
expected-hostnamegithub.com
None4dd496afc954da9c207b2d9fbe86e3074619f565754aa1d9274aec30d9e5b8d7
turbo-cache-controlno-cache
go-importgithub.com/nodejs/node git https://github.com/nodejs/node.git
octolytics-dimension-user_id9950313
octolytics-dimension-user_loginnodejs
octolytics-dimension-repository_id27193779
octolytics-dimension-repository_nwonodejs/node
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id27193779
octolytics-dimension-repository_network_root_nwonodejs/node
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
release31496a13b80a2f6ad77d6c617ee2255a3545b539
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/nodejs/node/commit/84a5e6cec8#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fnodejs%2Fnode%2Fcommit%2F84a5e6cec8
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
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
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
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%2Fnodejs%2Fnode%2Fcommit%2F84a5e6cec8
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%2Fcommit%2Fshow&source=header-repo&source_repo=nodejs%2Fnode
Reloadhttps://github.com/nodejs/node/commit/84a5e6cec8
Reloadhttps://github.com/nodejs/node/commit/84a5e6cec8
Reloadhttps://github.com/nodejs/node/commit/84a5e6cec8
nodejs https://github.com/nodejs
nodehttps://github.com/nodejs/node
Please reload this pagehttps://github.com/nodejs/node/commit/84a5e6cec8
Notifications https://github.com/login?return_to=%2Fnodejs%2Fnode
Fork 34.4k https://github.com/login?return_to=%2Fnodejs%2Fnode
Star 115k https://github.com/login?return_to=%2Fnodejs%2Fnode
Code https://github.com/nodejs/node
Issues 1.7k https://github.com/nodejs/node/issues
Pull requests 693 https://github.com/nodejs/node/pulls
Actions https://github.com/nodejs/node/actions
Projects 3 https://github.com/nodejs/node/projects
Security Uh oh! There was an error while loading. Please reload this page. https://github.com/nodejs/node/security
Please reload this pagehttps://github.com/nodejs/node/commit/84a5e6cec8
Insights https://github.com/nodejs/node/pulse
Code https://github.com/nodejs/node
Issues https://github.com/nodejs/node/issues
Pull requests https://github.com/nodejs/node/pulls
Actions https://github.com/nodejs/node/actions
Projects https://github.com/nodejs/node/projects
Security https://github.com/nodejs/node/security
Insights https://github.com/nodejs/node/pulse
Browse fileshttps://github.com/nodejs/node/tree/84a5e6cec81024f21749d99d8abc1506ef710553
https://github.com/nodejs/node/tree/84a5e6cec81024f21749d99d8abc1506ef710553
fabiosantoscodehttps://github.com/nodejs/node/commits?author=fabiosantoscode
codebyterehttps://github.com/nodejs/node/commits?author=codebytere
#33882https://github.com/nodejs/node/pull/33882
122d2b5https://github.com/nodejs/node/commit/122d2b5c024836b43d14226e2d9aa3c322a75c34
module_job.jshttps://github.com/nodejs/node/commit/84a5e6cec8#diff-96737fe4ad6eeaa04f6a92ff3d6c51e31b0145292df8e3cd044d77a5851acc6c
test-esm-cjs-named-error.mjshttps://github.com/nodejs/node/commit/84a5e6cec8#diff-7d57c5f9b5a77128d443e653d6e7fc945287665ba45123d67060e0deba941b97
renamed-import.mjshttps://github.com/nodejs/node/commit/84a5e6cec8#diff-3bcfd773e6ea3362ecb5b476c5464ba1fd630ae240dc096c02c85b9431201dc0
‎lib/internal/modules/esm/module_job.js‎https://github.com/nodejs/node/commit/84a5e6cec8#diff-96737fe4ad6eeaa04f6a92ff3d6c51e31b0145292df8e3cd044d77a5851acc6c
‎test/es-module/test-esm-cjs-named-error.mjs‎https://github.com/nodejs/node/commit/84a5e6cec8#diff-7d57c5f9b5a77128d443e653d6e7fc945287665ba45123d67060e0deba941b97
‎test/fixtures/es-modules/package-cjs-named-error/renamed-import.mjs‎https://github.com/nodejs/node/commit/84a5e6cec8#diff-3bcfd773e6ea3362ecb5b476c5464ba1fd630ae240dc096c02c85b9431201dc0
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.