René's URL Explorer Experiment


Title: Convert loader to ESM by dcodeIO · Pull Request #1313 · AssemblyScript/assemblyscript · GitHub

Open Graph Title: Convert loader to ESM by dcodeIO · Pull Request #1313 · AssemblyScript/assemblyscript

X Title: Convert loader to ESM by dcodeIO · Pull Request #1313 · AssemblyScript/assemblyscript

Description: This PR converts the loader to ESM format so it is more easily usable both on the web and under node.js. I stumbled over this while working on the new website and its editor, where I need a little hack to make the loader work. Of course that'd be easily fixable by appending an AMD/CommonJS shim, which I considered first, but with #1306 being a thing now (see for context) I figured that I can as well initiate the switch to ESM at the loader. Thoughts? :) I've read the contributing guidelines

Open Graph Description: This PR converts the loader to ESM format so it is more easily usable both on the web and under node.js. I stumbled over this while working on the new website and its editor, where I need a little ...

X Description: This PR converts the loader to ESM format so it is more easily usable both on the web and under node.js. I stumbled over this while working on the new website and its editor, where I need a little ...

Opengraph URL: https://github.com/AssemblyScript/assemblyscript/pull/1313

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/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:eda817d3-1c38-7eac-4a07-cc9ec45e3b99
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idAB38:11EACE:1E0E54:292B2D:6B00BFDF
html-safe-nonce05f7095e98e92b7a40c52f66ad36325b092cf747dc4ff8792ed7cc87549ebbdf
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQjM4OjExRUFDRToxRTBFNTQ6MjkyQjJEOjZCMDBCRkRGIiwidmlzaXRvcl9pZCI6IjEyNjc4NDA5ODg1NjM0MjMxOTkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmaca53c1ea63f3ce8f7d7e2a757a68d2d99b46b54b8f576f0290991a21878888899
hovercard-subject-tagpull_request:427452769
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///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/AssemblyScript/assemblyscript/pull/1313/files
twitter:imagehttps://avatars.githubusercontent.com/u/1136893?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/1136893?s=400&v=4
og:image:altThis PR converts the loader to ESM format so it is more easily usable both on the web and under node.js. I stumbled over this while working on the new website and its editor, where I need a little ...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None93edd3bebc4afb7ce711ee74cb5d2a95927850b082a4d43e212222389cb1c415
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/AssemblyScript/assemblyscript git https://github.com/AssemblyScript/assemblyscript.git
octolytics-dimension-user_id28916798
octolytics-dimension-user_loginAssemblyScript
octolytics-dimension-repository_id105138356
octolytics-dimension-repository_nwoAssemblyScript/assemblyscript
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id105138356
octolytics-dimension-repository_network_root_nwoAssemblyScript/assemblyscript
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release1fee81a280ea86312b69448e261b418189bfd5b5
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/AssemblyScript/assemblyscript/pull/1313/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FAssemblyScript%2Fassemblyscript%2Fpull%2F1313%2Ffiles
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%2FAssemblyScript%2Fassemblyscript%2Fpull%2F1313%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=AssemblyScript%2Fassemblyscript
Reloadhttps://github.com/AssemblyScript/assemblyscript/pull/1313/files
Reloadhttps://github.com/AssemblyScript/assemblyscript/pull/1313/files
Reloadhttps://github.com/AssemblyScript/assemblyscript/pull/1313/files
AssemblyScripthttps://github.com/AssemblyScript
assemblyscripthttps://github.com/AssemblyScript/assemblyscript
Codehttps://github.com/AssemblyScript/assemblyscript
Issues196 (196)https://github.com/AssemblyScript/assemblyscript/issues
Pull requests24 (24)https://github.com/AssemblyScript/assemblyscript/pulls
Actionshttps://github.com/AssemblyScript/assemblyscript/actions
Wikihttps://github.com/AssemblyScript/assemblyscript/wiki
Security and qualityhttps://github.com/AssemblyScript/assemblyscript/security
Insightshttps://github.com/AssemblyScript/assemblyscript/insights
Sign up for GitHub https://github.com/signup?return_to=%2FAssemblyScript%2Fassemblyscript%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2FAssemblyScript%2Fassemblyscript%2Fissues%2Fnew%2Fchoose
dcodeIOhttps://github.com/dcodeIO
masterhttps://github.com/AssemblyScript/assemblyscript/tree/master
esm-loaderhttps://github.com/AssemblyScript/assemblyscript/tree/esm-loader
Conversation 7 https://github.com/AssemblyScript/assemblyscript/pull/1313
Commits 4 https://github.com/AssemblyScript/assemblyscript/pull/1313/commits
Checks 0 https://github.com/AssemblyScript/assemblyscript/pull/1313/checks
Files changed https://github.com/AssemblyScript/assemblyscript/pull/1313/files
Please reload this pagehttps://github.com/AssemblyScript/assemblyscript/pull/1313/files
Convert loader to ESM https://github.com/AssemblyScript/assemblyscript/pull/1313/files#top
Show all changes 4 commits https://github.com/AssemblyScript/assemblyscript/pull/1313/files
510ddda Convert loader to ESM dcodeIO Jun 3, 2020 https://github.com/AssemblyScript/assemblyscript/pull/1313/commits/510ddda758e38f6a9a66409727921b185491defb
40004bd try esm2umd dcodeIO Jun 4, 2020 https://github.com/AssemblyScript/assemblyscript/pull/1313/commits/40004bdb929307abb2952f3238150076d5a937ac
d9a8d8f jsDelivr doesn't like .cjs dcodeIO Jun 4, 2020 https://github.com/AssemblyScript/assemblyscript/pull/1313/commits/d9a8d8fd85434d4bb0c0d77e732c1d916bef67b7
a5acd48 be nice dcodeIO Jun 4, 2020 https://github.com/AssemblyScript/assemblyscript/pull/1313/commits/a5acd48612568a439937fce1cfbf76b7fac0e479
Clear filters https://github.com/AssemblyScript/assemblyscript/pull/1313/files
Please reload this pagehttps://github.com/AssemblyScript/assemblyscript/pull/1313/files
Please reload this pagehttps://github.com/AssemblyScript/assemblyscript/pull/1313/files
.eslintrc.js https://github.com/AssemblyScript/assemblyscript/pull/1313/files#diff-e2954b558f2aa82baff0e30964490d12942e0e251c1aa56c3294de6ec67b7cf5
index.d.ts https://github.com/AssemblyScript/assemblyscript/pull/1313/files#diff-3a62eb5590c2ee4dfe0156a9214425b7d3755bf98ff8d95e6cc6a978c567cf1f
index.js https://github.com/AssemblyScript/assemblyscript/pull/1313/files#diff-05ea19c38727a0314a536ca64b40a4fb00924bac7ffddff6a7bc3e5ac47510c4
package.json https://github.com/AssemblyScript/assemblyscript/pull/1313/files#diff-09152558de2fc497a3bc6edf48ab6e9d6b4322795c77cc69c669307fa6163a36
index.js https://github.com/AssemblyScript/assemblyscript/pull/1313/files#diff-70d4aaeb58b178571ccf7934ed829675e6f70459a9b7936c1dc38ca639ef16b0
index.js https://github.com/AssemblyScript/assemblyscript/pull/1313/files#diff-80076491a511759c50fdf4fa1545ad325240e3ea3376246dea312b2d460f3542
package.json https://github.com/AssemblyScript/assemblyscript/pull/1313/files#diff-d8f2d42eb06a5dc32cc5ee53ea9124d0a4c100f3eebecc58166d5a87da71145e
package.json https://github.com/AssemblyScript/assemblyscript/pull/1313/files#diff-7ae45ad102eab3b6d7e7896acd08c427a9b25b346470d7bc6507b6481575d519
index.js https://github.com/AssemblyScript/assemblyscript/pull/1313/files#diff-2180ad1cecbee2ff20148398d5989ef0547b0dc38c46b06017035d4a302a5b03
package.json https://github.com/AssemblyScript/assemblyscript/pull/1313/files#diff-6a975c09867d61e7b8cf3f40f46441e7c695a1237178fd339aa90339df638240
.eslintrc.jshttps://github.com/AssemblyScript/assemblyscript/pull/1313/files#diff-e2954b558f2aa82baff0e30964490d12942e0e251c1aa56c3294de6ec67b7cf5
View file https://github.com/AssemblyScript/assemblyscript/blob/a5acd48612568a439937fce1cfbf76b7fac0e479/.eslintrc.js
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/AssemblyScript/assemblyscript/pull/1313/{{ revealButtonHref }}
https://github.com/AssemblyScript/assemblyscript/pull/1313/files#diff-e2954b558f2aa82baff0e30964490d12942e0e251c1aa56c3294de6ec67b7cf5
https://github.com/AssemblyScript/assemblyscript/pull/1313/files#diff-e2954b558f2aa82baff0e30964490d12942e0e251c1aa56c3294de6ec67b7cf5
lib/loader/index.d.tshttps://github.com/AssemblyScript/assemblyscript/pull/1313/files#diff-3a62eb5590c2ee4dfe0156a9214425b7d3755bf98ff8d95e6cc6a978c567cf1f
View file https://github.com/AssemblyScript/assemblyscript/blob/a5acd48612568a439937fce1cfbf76b7fac0e479/lib/loader/index.d.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/AssemblyScript/assemblyscript/pull/1313/{{ revealButtonHref }}
https://github.com/AssemblyScript/assemblyscript/pull/1313/files#diff-3a62eb5590c2ee4dfe0156a9214425b7d3755bf98ff8d95e6cc6a978c567cf1f
https://github.com/AssemblyScript/assemblyscript/pull/1313/files#diff-3a62eb5590c2ee4dfe0156a9214425b7d3755bf98ff8d95e6cc6a978c567cf1f
lib/loader/index.jshttps://github.com/AssemblyScript/assemblyscript/pull/1313/files#diff-05ea19c38727a0314a536ca64b40a4fb00924bac7ffddff6a7bc3e5ac47510c4
View file https://github.com/AssemblyScript/assemblyscript/blob/a5acd48612568a439937fce1cfbf76b7fac0e479/lib/loader/index.js
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/AssemblyScript/assemblyscript/pull/1313/{{ revealButtonHref }}
https://github.com/AssemblyScript/assemblyscript/pull/1313/files#diff-05ea19c38727a0314a536ca64b40a4fb00924bac7ffddff6a7bc3e5ac47510c4
https://github.com/AssemblyScript/assemblyscript/pull/1313/files#diff-05ea19c38727a0314a536ca64b40a4fb00924bac7ffddff6a7bc3e5ac47510c4
https://github.com/AssemblyScript/assemblyscript/pull/1313/files#diff-05ea19c38727a0314a536ca64b40a4fb00924bac7ffddff6a7bc3e5ac47510c4
https://github.com/AssemblyScript/assemblyscript/pull/1313/files#diff-05ea19c38727a0314a536ca64b40a4fb00924bac7ffddff6a7bc3e5ac47510c4
https://github.com/AssemblyScript/assemblyscript/pull/1313/files#diff-05ea19c38727a0314a536ca64b40a4fb00924bac7ffddff6a7bc3e5ac47510c4
https://github.com/AssemblyScript/assemblyscript/pull/1313/files#diff-05ea19c38727a0314a536ca64b40a4fb00924bac7ffddff6a7bc3e5ac47510c4
lib/loader/package.jsonhttps://github.com/AssemblyScript/assemblyscript/pull/1313/files#diff-09152558de2fc497a3bc6edf48ab6e9d6b4322795c77cc69c669307fa6163a36
View file https://github.com/AssemblyScript/assemblyscript/blob/a5acd48612568a439937fce1cfbf76b7fac0e479/lib/loader/package.json
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/AssemblyScript/assemblyscript/pull/1313/{{ revealButtonHref }}
https://github.com/AssemblyScript/assemblyscript/pull/1313/files#diff-09152558de2fc497a3bc6edf48ab6e9d6b4322795c77cc69c669307fa6163a36
lib/loader/tests/index.jshttps://github.com/AssemblyScript/assemblyscript/pull/1313/files#diff-70d4aaeb58b178571ccf7934ed829675e6f70459a9b7936c1dc38ca639ef16b0
View file https://github.com/AssemblyScript/assemblyscript/blob/a5acd48612568a439937fce1cfbf76b7fac0e479/lib/loader/tests/index.js
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/AssemblyScript/assemblyscript/pull/1313/{{ revealButtonHref }}
https://github.com/AssemblyScript/assemblyscript/pull/1313/files#diff-70d4aaeb58b178571ccf7934ed829675e6f70459a9b7936c1dc38ca639ef16b0
https://github.com/AssemblyScript/assemblyscript/pull/1313/files#diff-70d4aaeb58b178571ccf7934ed829675e6f70459a9b7936c1dc38ca639ef16b0
Please reload this pagehttps://github.com/AssemblyScript/assemblyscript/pull/1313/files
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.