-
Notifications
You must be signed in to change notification settings - Fork 26.3k
docs(zone.js): update zone.js bundle doc since the APF change #37919
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
packages/zone.js/README.md
Outdated
@@ -73,17 +82,18 @@ And here are the additional optional patches not included in the main zone.js bu | |||
|webapis-rtc-peer-connection.js|patch for `RTCPeerConnection APIs`| | |||
|webapis-shadydom.js|patch for `Shady DOM APIs`| | |||
|zone-bluebird.js|patch for `Bluebird APIs`| | |||
|zone-error.js|patch for `Error Global Object`, supports remove `Zone StackTrace`| | |||
|zone-error.js|patch for `Error Global Object`, supports removing `Zone StackTrace`| |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is it removing Error support or adding? I would think it would add error support, so the text is confusing.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, it is confusing, I have updated the text to
|`zone-error.js`|patch for `Error Global Object`, supports adding zone information to stack frame, and also removing unrelated stack frames from `zone.js` internally|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
69c771a48e contains my fixes
packages/zone.js/README.md
Outdated
|zone-evergreen.js|the bundle for evergreen browsers, doesn't include the `patch` for `legacy` browsers such as `IE` or old versions of `Firefox/Safari`| | ||
|zone-legacy.js|the patch bundle for legacy browsers, only includes the `patch` for `legacy` browsers such as `IE` or old versions of `Firefox/Safari`. This bundle must be loaded after `zone-evergreen.js`, **`zone.js`=`zone-evergreen.js` + `zone-legacy.js`**| | ||
|zone-testing.js|the bundle for zone testing support, including `jasmine/mocha` support and `async/fakeAsync/sync` test utilities| | ||
|zone.js|the default bundle, contains the most used APIs such as `setTimeout/Promise/EventTarget...`, it also supports differential loading by importing this bundle using `import zone.js`, that means in legacy browsers it includes some additional patches| |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what additional patches does it include in legacy?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Now there are two patches in legacy
bundle.
- the old Web Components
registerElement
patch. - some old browsers not support
EventTarget
interface, so we have to patch all the APIs such asHTMLElement
one by one.
69c771a
to
3331585
Compare
Since the PR angular#36540 change the zone.js bundles to Angular Package Format, the bundle name/location are changed, so this PR updated the `README.md` doc for the zone bundles. Also add the recent added new bundles `zone-patch-message-port` doc.
3331585
to
f45fa5b
Compare
…r#37919) Since the PR angular#36540 change the zone.js bundles to Angular Package Format, the bundle name/location are changed, so this PR updated the `README.md` doc for the zone bundles. Also add the recent added new bundles `zone-patch-message-port` doc. PR Close angular#37919
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
…r#37919) Since the PR angular#36540 change the zone.js bundles to Angular Package Format, the bundle name/location are changed, so this PR updated the `README.md` doc for the zone bundles. Also add the recent added new bundles `zone-patch-message-port` doc. PR Close angular#37919
Since the PR #36540 change the zone.js bundles to Angular Package Format, the
bundle name/location are changed, so this PR updated the
README.md
doc for thezone bundles.
Also add the recent added new bundles
zone-patch-message-port
doc.PR Checklist
Please check if your PR fulfills the following requirements:
PR Type
What kind of change does this PR introduce?