René's URL Explorer Experiment


Title: zone.js: zone lost inside requireJS (AMD) module · Issue #38516 · angular/angular · GitHub

Open Graph Title: zone.js: zone lost inside requireJS (AMD) module · Issue #38516 · angular/angular

X Title: zone.js: zone lost inside requireJS (AMD) module · Issue #38516 · angular/angular

Description: 🐞 bug report Affected Package The issue is caused by package @angular/packages/zone.js Is this a regression? Yes, worked in 0.9.1 Description When loading modules using requireJS, the zone is lost. 🔬 Minimal Reproduction The following in...

Open Graph Description: 🐞 bug report Affected Package The issue is caused by package @angular/packages/zone.js Is this a regression? Yes, worked in 0.9.1 Description When loading modules using requireJS, the zone is lost....

X Description: 🐞 bug report Affected Package The issue is caused by package @angular/packages/zone.js Is this a regression? Yes, worked in 0.9.1 Description When loading modules using requireJS, the zone is lost....

Opengraph URL: https://github.com/angular/angular/issues/38516

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"zone.js: zone lost inside requireJS (AMD) module","articleBody":"# 🐞 bug report\r\n\r\n### Affected Package\r\nThe issue is caused by package @angular/packages/zone.js\r\n\r\n### Is this a regression?\r\nYes, worked in 0.9.1\r\n\r\n### Description\r\nWhen loading modules using requireJS, the zone is lost.\r\n\r\n## 🔬 Minimal Reproduction\r\nThe following \u003cbody> in index.html, which should also include zone.js\r\n\u003cpre>\u003ccode>\r\n  \u003cscript src=\"zone.js\">\u003c/script>\r\n  \u003cscript src=\"../node_modules/requirejs/require.js\">\u003c/script>\r\n  \u003cscript>\r\n  function testOne () {\r\n    Zone.current.fork({name:'one-zone'})\r\n      .run(() => new Promise((resolve) => {\r\n        // load one.js\r\n        requirejs(['one'], (one) => {\r\n          one();\r\n          resolve(one);\r\n        });\r\n      }));\r\n  }\r\n\r\n  // bootstrap\r\n  Zone.current.fork({ name: 'main' }).run(testOne);\r\n  \u003c/script>\r\n\u003c/body>`\r\n\u003c/code>\u003c/pre>\r\n\r\nthe entire contents of one.js, in the same folder of index.html\r\n\u003cpre>\u003ccode>\r\nconsole.log('outside module \"one\" : ' + window.Zone.current.name); \r\ndefine(() => {\r\n    console.log('module \"one\": ' + window.Zone.current.name); \r\n    return () => {\r\n        console.log('module \"one\" function: ' + window.Zone.current.name); \r\n    }\r\n});\r\n\u003c/code>\u003c/pre>\r\n\r\nIn 0.10.X, all three console.logs report the name of the zone as the `\u003croot>`, and not my `one-zone`.\r\n\r\nWith 0.9.1, I see the following:\r\n```\r\noutside module \"one\" : \u003croot>\r\nmodule \"one\": one-zone\r\nmodule \"one\" function: one-zone\r\n```\r\n\r\n## 🌍  Your Environment\r\n\r\n**Angular Version:**\r\n\u003cpre>\u003ccode>\r\nangular: 10.1.0-next.6\r\nzone.js: 0.10.3\r\nrequirejs: 2.3.6\r\n\u003c/code>\u003c/pre>\r\n","author":{"url":"https://github.com/mblout","@type":"Person","name":"mblout"},"datePublished":"2020-08-18T18:19:53Z","url":"https://github.com/angular/angular/issues/38516"}

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/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:1203ad7d-0e2f-982a-a2c4-1e867ddbe938
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idE2AA:2454CC:1DBEB1C:25B6D18:6B0161FA
html-safe-nonce4f62e376a49b443ae1ef8d6527460f3717ce70b7275ea92073adc0420d15ea93
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMkFBOjI0NTRDQzoxREJFQjFDOjI1QjZEMTg6NkIwMTYxRkEiLCJ2aXNpdG9yX2lkIjoiMjA2Njg2MTg1NjYwOTM2MjQyNiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac2cd24d81f1cdbd37223c864d3eac001da7c597bb1d1a0a1c2b7bee40df6a63cf
hovercard-subject-tagissue:681240529
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/angular/angular/38516/issue_layout
twitter:imagehttps://opengraph.githubassets.com/a896aed2919ed695cc0b62c1b3dab9a1e7f38fa5c92313ccc2882f6ba325a9e3/angular/angular/issues/38516
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/a896aed2919ed695cc0b62c1b3dab9a1e7f38fa5c92313ccc2882f6ba325a9e3/angular/angular/issues/38516
og:image:alt🐞 bug report Affected Package The issue is caused by package @angular/packages/zone.js Is this a regression? Yes, worked in 0.9.1 Description When loading modules using requireJS, the zone is lost....
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamemblout
hostnamegithub.com
expected-hostnamegithub.com
Nonecc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c
turbo-cache-controlno-preview
go-importgithub.com/angular/angular git https://github.com/angular/angular.git
octolytics-dimension-user_id139426
octolytics-dimension-user_loginangular
octolytics-dimension-repository_id24195339
octolytics-dimension-repository_nwoangular/angular
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id24195339
octolytics-dimension-repository_network_root_nwoangular/angular
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
release8c77c9e8439031ad54c75a250694842892f693e1
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/angular/angular/issues/38516#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fangular%2Fangular%2Fissues%2F38516
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%2Fangular%2Fangular%2Fissues%2F38516
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%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=angular%2Fangular
Reloadhttps://github.com/angular/angular/issues/38516
Reloadhttps://github.com/angular/angular/issues/38516
Reloadhttps://github.com/angular/angular/issues/38516
angularhttps://github.com/angular
angularhttps://github.com/angular/angular
Codehttps://github.com/angular/angular
Issues836 (836)https://github.com/angular/angular/issues
Pull requests141 (141)https://github.com/angular/angular/pulls
Discussionshttps://github.com/angular/angular/discussions
Actionshttps://github.com/angular/angular/actions
Projectshttps://github.com/angular/angular/projects
Security and quality40 (40)https://github.com/angular/angular/security
Insightshttps://github.com/angular/angular/insights
https://github.com/angular/angular
New issuehttps://github.com/login?return_to=https://github.com/angular/angular/issues/38516
New issuehttps://github.com/login?return_to=https://github.com/angular/angular/issues/38516
zone.js: zone lost inside requireJS (AMD) modulehttps://github.com/angular/angular/issues/38516#top
https://github.com/JiaLiPassion
P2The issue is important to a large percentage of users, with a workaroundhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22P2%22
area: zonesIssues related to zone.jshttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22area%3A%20zones%22
regressionIndicates than the issue relates to something that worked in a previous versionhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22regression%22
state: confirmedhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22state%3A%20confirmed%22
type: bug/fixhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22type%3A%20bug%2Ffix%22
Backloghttps://github.com/angular/angular/milestone/82
https://github.com/mblout
mblouthttps://github.com/mblout
on Aug 18, 2020https://github.com/angular/angular/issues/38516#issue-681240529
sonukapoorhttps://github.com/sonukapoor
area: zonesIssues related to zone.jshttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22area%3A%20zones%22
on Aug 18, 2020https://github.com/angular/angular/issues/38516#event-3668041168
ngbothttps://github.com/apps/ngbot
needsTriagehttps://github.com/angular/angular/milestone/83
on Aug 18, 2020https://github.com/angular/angular/issues/38516#event-3668041233
JiaLiPassionhttps://github.com/JiaLiPassion
on Aug 19, 2020https://github.com/angular/angular/issues/38516#event-3669209307
JiaLiPassionhttps://github.com/JiaLiPassion
type: bug/fixhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22type%3A%20bug%2Ffix%22
regressionIndicates than the issue relates to something that worked in a previous versionhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22regression%22
state: confirmedhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22state%3A%20confirmed%22
on Aug 19, 2020https://github.com/angular/angular/issues/38516#event-3669210844
JiaLiPassionhttps://github.com/JiaLiPassion
on Aug 19, 2020https://github.com/angular/angular/issues/38516#event-3670280118
fix(zone.js): zone.js package.json should not include files/directori…https://github.com/JiaLiPassion/angular/commit/5e81a9c606960497035fa400349e902ba7ae50f3
5e81a9chttps://github.com/JiaLiPassion/angular/commit/5e81a9c606960497035fa400349e902ba7ae50f3
atscotthttps://github.com/atscott
on Aug 19, 2020https://github.com/angular/angular/issues/38516#event-3671589576
fix(zone.js): zone.js package.json should not include files/directori…https://github.com/angular/angular/commit/6b662d10c131217047d3ffb097c98204e231a4bc
6b662d1https://github.com/angular/angular/commit/6b662d10c131217047d3ffb097c98204e231a4bc
https://github.com/JoostK
JoostKhttps://github.com/JoostK
on Aug 19, 2020https://github.com/angular/angular/issues/38516#issuecomment-676535192
@JiaLiPassionhttps://github.com/JiaLiPassion
https://github.com/JiaLiPassion
JiaLiPassionhttps://github.com/JiaLiPassion
on Aug 19, 2020https://github.com/angular/angular/issues/38516#issuecomment-676536657
@JoostKhttps://github.com/JoostK
https://github.com/mhevery
mheveryhttps://github.com/mhevery
on Aug 19, 2020https://github.com/angular/angular/issues/38516#issuecomment-676557036
release: cut the zone.js-0.11.1 release by mhevery · Pull Request #38537 · angular/angularhttps://github.com/angular/angular/pull/38537
mheveryhttps://github.com/mhevery
completedhttps://github.com/angular/angular/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Aug 19, 2020https://github.com/angular/angular/issues/38516#event-3671877168
https://github.com/JiaLiPassion
JiaLiPassionhttps://github.com/JiaLiPassion
on Aug 19, 2020https://github.com/angular/angular/issues/38516#issuecomment-676557979
JiaLiPassionhttps://github.com/JiaLiPassion
on Aug 19, 2020https://github.com/angular/angular/issues/38516#event-3671882099
subratpalhar92https://github.com/subratpalhar92
on Aug 29, 2020https://github.com/angular/angular/issues/38516#event-3706700806
fix(zone.js): zone.js package.json should not include files/directori…https://github.com/SUBRATPALHAR-ALL-JAVASCRIPT/angular/commit/caba9308bb2e50f6b454afaedd1e79b929aa6876
caba930https://github.com/SUBRATPALHAR-ALL-JAVASCRIPT/angular/commit/caba9308bb2e50f6b454afaedd1e79b929aa6876
profanishttps://github.com/profanis
on Sep 5, 2020https://github.com/angular/angular/issues/38516#event-3732916917
fix(zone.js): zone.js package.json should not include files/directori…https://github.com/profanis/angular/commit/c38efcb823f909b717d00a80d21a4e34b8aeb86f
c38efcbhttps://github.com/profanis/angular/commit/c38efcb823f909b717d00a80d21a4e34b8aeb86f
jelbournhttps://github.com/jelbourn
P2The issue is important to a large percentage of users, with a workaroundhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22P2%22
on Oct 1, 2020https://github.com/angular/angular/issues/38516#event-3830177905
ngbothttps://github.com/apps/ngbot
needsTriagehttps://github.com/angular/angular/milestone/83
Backloghttps://github.com/angular/angular/milestone/82
on Oct 1, 2020https://github.com/angular/angular/issues/38516#event-3830178014
https://github.com/JiaLiPassion
JiaLiPassionhttps://github.com/JiaLiPassion
on Oct 19, 2020https://github.com/angular/angular/issues/38516#issuecomment-711553025
@mblouthttps://github.com/mblout
https://github.com/mblout
mblouthttps://github.com/mblout
on Oct 20, 2020https://github.com/angular/angular/issues/38516#issuecomment-712759224
mblouthttps://github.com/mblout
completedhttps://github.com/angular/angular/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Oct 20, 2020https://github.com/angular/angular/issues/38516#event-3897942179
https://github.com/apps/angular-automatic-lock-bot
angular-automatic-lock-bothttps://github.com/apps/angular-automatic-lock-bot
on Nov 20, 2020https://github.com/angular/angular/issues/38516#issuecomment-731268806
automatic conversation locking policyhttps://github.com/angular/angular/blob/8f24bc9443b3872fe095d9f7f77b308a361a13b4/docs/GITHUB_PROCESS.md#conversation-locking
angular-automatic-lock-bothttps://github.com/apps/angular-automatic-lock-bot
on Nov 20, 2020https://github.com/angular/angular/issues/38516#event-4021694689
Sign up for freehttps://github.com/signup?return_to=https://github.com/angular/angular/issues/38516
Sign in to commenthttps://github.com/login?return_to=https://github.com/angular/angular/issues/38516
JiaLiPassionhttps://github.com/JiaLiPassion
P2The issue is important to a large percentage of users, with a workaroundhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22P2%22
area: zonesIssues related to zone.jshttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22area%3A%20zones%22
regressionIndicates than the issue relates to something that worked in a previous versionhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22regression%22
state: confirmedhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22state%3A%20confirmed%22
type: bug/fixhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22type%3A%20bug%2Ffix%22
BacklogNo due datehttps://github.com/angular/angular/milestone/82
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.