René's URL Explorer Experiment


Title: module: better error for named exports from cjs · nodejs/node@ad86807 · GitHub

Open Graph Title: module: better error for named exports from cjs · nodejs/node@ad86807

X Title: module: better error for named exports from cjs · nodejs/node@ad86807

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

Open Graph Description: We do not support importing named exports from a CJS module. This change decorates the error message for missing named exports in the case where the module being imported is expected to be CJS by t...

X Description: We do not support importing named exports from a CJS module. This change decorates the error message for missing named exports in the case where the module being imported is expected to be CJS by t...

Opengraph URL: /nodejs/node/commit/ad8680773e7cfecf6c90b97e055eb92dd886c667

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf
route-pattern/:user_id/:repository/commit/:name(/*path)
route-controllercommit
route-actionshow
fetch-noncev2:4943a397-e609-b153-694e-56bead7311f9
current-catalog-service-hashf3abb0cc802f3d7b95fc8762b94bdcb13bf39634c40c357301c4aa1d67a256fb
request-idAF6C:39A2F9:53A4F9:6FE12C:6AED1A6B
html-safe-nonce02e5c100c4d5133e8bcb8b712fd8f2747dba7f6bc64b7b51ddc1e8fb27c7854e
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRjZDOjM5QTJGOTo1M0E0Rjk6NkZFMTJDOjZBRUQxQTZCIiwidmlzaXRvcl9pZCI6IjM5Mjk3NDUzNTUwNzM5ODUxMzIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacd07f4f3858d5de0b7cb7c5765f97723ec4bf8a3bec7b118832e2da9045fa946f
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/ad8680773e
twitter:imagehttps://opengraph.githubassets.com/1191d0726b58e5f3a82c3b8537a526e7474f5306abeab6df9b47cd6e63325572/nodejs/node/commit/ad8680773e7cfecf6c90b97e055eb92dd886c667
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/1191d0726b58e5f3a82c3b8537a526e7474f5306abeab6df9b47cd6e63325572/nodejs/node/commit/ad8680773e7cfecf6c90b97e055eb92dd886c667
og:image:altWe do not support importing named exports from a CJS module. This change decorates the error message for missing named exports in the case where the module being imported is expected to be CJS by t...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:updated_time1589216194
hostnamegithub.com
expected-hostnamegithub.com
None120085d0bcec1f427e3ab45302c8b95f873d26ad21984dc86d62ab2c10158f41
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
releasee12fd03aa775dceadc5a793c3a0791e43ca256bb
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namecommits

Links:

Skip to contenthttps://github.com/nodejs/node/commit/ad8680773e#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fnodejs%2Fnode%2Fcommit%2Fad8680773e
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%2Fnodejs%2Fnode%2Fcommit%2Fad8680773e
Sign uphttps://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/ad8680773e
Reloadhttps://github.com/nodejs/node/commit/ad8680773e
Reloadhttps://github.com/nodejs/node/commit/ad8680773e
nodejshttps://github.com/nodejs
nodehttps://github.com/nodejs/node
Codehttps://github.com/nodejs/node
Issues655 (655)https://github.com/nodejs/node/issues
Pull requests666 (666)https://github.com/nodejs/node/pulls
Actionshttps://github.com/nodejs/node/actions
Projectshttps://github.com/nodejs/node/projects
Security and qualityhttps://github.com/nodejs/node/security
Insightshttps://github.com/nodejs/node/pulse
https://github.com/nodejs/node
Browse fileshttps://github.com/nodejs/node/tree/ad8680773e7cfecf6c90b97e055eb92dd886c667
https://github.com/nodejs/node/tree/ad8680773e7cfecf6c90b97e055eb92dd886c667
MylesBorinshttps://github.com/nodejs/node/commits?author=MylesBorins
codebyterehttps://github.com/nodejs/node/commits?author=codebytere
#33256https://github.com/nodejs/node/pull/33256
0cbee57https://github.com/nodejs/node/commit/0cbee57109d3104815ff3233800249401bc6eba2
module_job.jshttps://github.com/nodejs/node/commit/ad8680773e#diff-96737fe4ad6eeaa04f6a92ff3d6c51e31b0145292df8e3cd044d77a5851acc6c
test-esm-cjs-named-error.mjshttps://github.com/nodejs/node/commit/ad8680773e#diff-7d57c5f9b5a77128d443e653d6e7fc945287665ba45123d67060e0deba941b97
bare-import-double.mjshttps://github.com/nodejs/node/commit/ad8680773e#diff-9c95a31807197f4f57b2e7f011f99b5be9b44f0ecc22a7112ef292ed65e9baa9
bare-import-single.mjshttps://github.com/nodejs/node/commit/ad8680773e#diff-7a7d6155e22faabb45dffe9f3cc9585303737a3b06d4eee37c14aea13d1572f0
double-quote.mjshttps://github.com/nodejs/node/commit/ad8680773e#diff-9246a7a21d342b2c4671a9fe60fa8a2125cdfe414e4689c119dec07524bd29b3
escaped-single-quote.mjshttps://github.com/nodejs/node/commit/ad8680773e#diff-cab8d5777fd1cdd5922204a3519df46403d9e9fe41e176dbdb8fedb72904b242
fail.cjshttps://github.com/nodejs/node/commit/ad8680773e#diff-7c1dd7202e907265fd43595662ca90372c8f4e892d77cec49d7ecc47cc017ed2
json-hack.mjshttps://github.com/nodejs/node/commit/ad8680773e#diff-09dec79b89c85a4152de3eebc17132fdc4702f0c224726f92b3b871cccb8fe61
fail.jshttps://github.com/nodejs/node/commit/ad8680773e#diff-ca5ed256cbfcea20e08ce34c24e3eff748c61803bde409b5621a8b90b2e0c318
package.jsonhttps://github.com/nodejs/node/commit/ad8680773e#diff-537b34adad64cf9173a1c244732a3f681fb6a9f37a9df534a16d724518720437
index.jshttps://github.com/nodejs/node/commit/ad8680773e#diff-221e8900d0d38a46095b64491ae3be42f4e0bc4bb5f7dfa27e8e9b66fefb79dd
package.jsonhttps://github.com/nodejs/node/commit/ad8680773e#diff-9a8cc3a5bc974950ca0fcb368fe6c2ce1ab0eacfe7624a79b46dbbae58d6020c
oh'no.cjshttps://github.com/nodejs/node/commit/ad8680773e#diff-e5bc7d067a34b381179bcc14e46f0624940e2b88750d65c5b8392ea81b3b3d23
package.jsonhttps://github.com/nodejs/node/commit/ad8680773e#diff-0d971a6dccf22b26b542f2e63e36b1be9e413f847994f31af369fbc13cb24633
single-quote.mjshttps://github.com/nodejs/node/commit/ad8680773e#diff-9d0cacdea5c40749db0f5eca56d0e386a6f40b87d5b65f2d7483e3dcc0bc3bd1
‎lib/internal/modules/esm/module_job.js‎https://github.com/nodejs/node/commit/ad8680773e#diff-96737fe4ad6eeaa04f6a92ff3d6c51e31b0145292df8e3cd044d77a5851acc6c
‎test/es-module/test-esm-cjs-named-error.mjs‎https://github.com/nodejs/node/commit/ad8680773e#diff-7d57c5f9b5a77128d443e653d6e7fc945287665ba45123d67060e0deba941b97
‎test/fixtures/es-modules/package-cjs-named-error/bare-import-double.mjs‎https://github.com/nodejs/node/commit/ad8680773e#diff-9c95a31807197f4f57b2e7f011f99b5be9b44f0ecc22a7112ef292ed65e9baa9
‎test/fixtures/es-modules/package-cjs-named-error/bare-import-single.mjs‎https://github.com/nodejs/node/commit/ad8680773e#diff-7a7d6155e22faabb45dffe9f3cc9585303737a3b06d4eee37c14aea13d1572f0
‎test/fixtures/es-modules/package-cjs-named-error/double-quote.mjs‎https://github.com/nodejs/node/commit/ad8680773e#diff-9246a7a21d342b2c4671a9fe60fa8a2125cdfe414e4689c119dec07524bd29b3
‎test/fixtures/es-modules/package-cjs-named-error/escaped-single-quote.mjs‎https://github.com/nodejs/node/commit/ad8680773e#diff-cab8d5777fd1cdd5922204a3519df46403d9e9fe41e176dbdb8fedb72904b242
‎test/fixtures/es-modules/package-cjs-named-error/fail.cjs‎https://github.com/nodejs/node/commit/ad8680773e#diff-7c1dd7202e907265fd43595662ca90372c8f4e892d77cec49d7ecc47cc017ed2
‎test/fixtures/es-modules/package-cjs-named-error/json-hack.mjs‎https://github.com/nodejs/node/commit/ad8680773e#diff-09dec79b89c85a4152de3eebc17132fdc4702f0c224726f92b3b871cccb8fe61
‎test/fixtures/es-modules/package-cjs-named-error/json-hack/fail.js‎https://github.com/nodejs/node/commit/ad8680773e#diff-ca5ed256cbfcea20e08ce34c24e3eff748c61803bde409b5621a8b90b2e0c318
‎test/fixtures/es-modules/package-cjs-named-error/json-hack/package.json‎https://github.com/nodejs/node/commit/ad8680773e#diff-537b34adad64cf9173a1c244732a3f681fb6a9f37a9df534a16d724518720437
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.