René's URL Explorer Experiment


Title: `*.cjs` extension files served as text/plain · Issue #355 · unpkg/unpkg · GitHub

Open Graph Title: `*.cjs` extension files served as text/plain · Issue #355 · unpkg/unpkg

X Title: `*.cjs` extension files served as text/plain · Issue #355 · unpkg/unpkg

Description: Modern Node.js modules can be served as ESMs or CommonJS modules. These are differentiated either by their package.json, or by the extension of the file. It appears that unpkg properly serves .mjs files, but seems to treat *.cjs files as...

Open Graph Description: Modern Node.js modules can be served as ESMs or CommonJS modules. These are differentiated either by their package.json, or by the extension of the file. It appears that unpkg properly serves .mjs ...

X Description: Modern Node.js modules can be served as ESMs or CommonJS modules. These are differentiated either by their package.json, or by the extension of the file. It appears that unpkg properly serves .mjs ...

Opengraph URL: https://github.com/unpkg/unpkg/issues/355

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"`*.cjs` extension files served as text/plain","articleBody":"Modern Node.js modules can be served as ESMs or CommonJS modules. These are differentiated either by their `package.json`, or by the extension of the file. It appears that `unpkg` properly serves `.mjs` files, but seems to treat [`*.cjs` files as plaintext](https://nodejs.org/api/modules.html#enabling) incorrectly.\r\n\r\nInstead of `text/plain`, the `content-type` of `.cjs` files should be `application/javascript`.\r\n\r\nNode's documentation can serve as reference for the honoring of these files: https://nodejs.org/api/modules.html#enabling","author":{"url":"https://github.com/Swivelgames","@type":"Person","name":"Swivelgames"},"datePublished":"2023-03-15T04:15:21.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":11},"url":"https://github.com/355/unpkg/issues/355"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:2bd9ec63-28db-a3d8-7b21-c58da86cee6a
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idA502:512E3:27129E4:3644BCD:6A4EF86D
html-safe-nonce9cc2c6a82f09e4cf908a6a0b958a4850d7d4fdbe515f49ac63e44876063a4229
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNTAyOjUxMkUzOjI3MTI5RTQ6MzY0NEJDRDo2QTRFRjg2RCIsInZpc2l0b3JfaWQiOiI1OTU5MDYyODA5MDk0MzIyMjg1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac578a96745dce5175a2a8578b9cbfca0a082a9f7064bc7ece59e31c6752907c59
hovercard-subject-tagissue:1624709554
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/unpkg/unpkg/355/issue_layout
twitter:imagehttps://opengraph.githubassets.com/69f8ba4bd1ecb28121bee16f6a19385c30c9f8226ba05c016be63220b2bb413b/unpkg/unpkg/issues/355
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/69f8ba4bd1ecb28121bee16f6a19385c30c9f8226ba05c016be63220b2bb413b/unpkg/unpkg/issues/355
og:image:altModern Node.js modules can be served as ESMs or CommonJS modules. These are differentiated either by their package.json, or by the extension of the file. It appears that unpkg properly serves .mjs ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameSwivelgames
hostnamegithub.com
expected-hostnamegithub.com
Noneb92d11c0aa4a77d54ef4af1078b6a15fb5a70a215b30c4ecf28889d5a8e656d9
turbo-cache-controlno-preview
go-importgithub.com/unpkg/unpkg git https://github.com/unpkg/unpkg.git
octolytics-dimension-user_id16924415
octolytics-dimension-user_loginunpkg
octolytics-dimension-repository_id52242422
octolytics-dimension-repository_nwounpkg/unpkg
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id52242422
octolytics-dimension-repository_network_root_nwounpkg/unpkg
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
release2b8f23afb982271f1b22258a94aede67a6b77760
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/unpkg/unpkg/issues/355#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Funpkg%2Funpkg%2Fissues%2F355
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/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/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/enterprise/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%2Funpkg%2Funpkg%2Fissues%2F355
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%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=unpkg%2Funpkg
Reloadhttps://github.com/unpkg/unpkg/issues/355
Reloadhttps://github.com/unpkg/unpkg/issues/355
Reloadhttps://github.com/unpkg/unpkg/issues/355
Please reload this pagehttps://github.com/unpkg/unpkg/issues/355
unpkg https://github.com/unpkg
unpkghttps://github.com/unpkg/unpkg
Notifications https://github.com/login?return_to=%2Funpkg%2Funpkg
Fork 332 https://github.com/login?return_to=%2Funpkg%2Funpkg
Star 3.4k https://github.com/login?return_to=%2Funpkg%2Funpkg
Code https://github.com/unpkg/unpkg
Issues 45 https://github.com/unpkg/unpkg/issues
Pull requests 0 https://github.com/unpkg/unpkg/pulls
Actions https://github.com/unpkg/unpkg/actions
Security and quality 0 https://github.com/unpkg/unpkg/security
Insights https://github.com/unpkg/unpkg/pulse
Code https://github.com/unpkg/unpkg
Issues https://github.com/unpkg/unpkg/issues
Pull requests https://github.com/unpkg/unpkg/pulls
Actions https://github.com/unpkg/unpkg/actions
Security and quality https://github.com/unpkg/unpkg/security
Insights https://github.com/unpkg/unpkg/pulse
*.cjs extension files served as text/plainhttps://github.com/unpkg/unpkg/issues/355#top
https://github.com/Swivelgames
Swivelgameshttps://github.com/Swivelgames
on Mar 15, 2023https://github.com/unpkg/unpkg/issues/355#issue-1624709554
*.cjs files as plaintexthttps://nodejs.org/api/modules.html#enabling
https://nodejs.org/api/modules.html#enablinghttps://nodejs.org/api/modules.html#enabling
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.