8000 feat: Angular 20 by NathanWalker · Pull Request #151 · NativeScript/angular · GitHub
[go: up one dir, main page]

Skip to content

feat: Angular 20 #151

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

Merged
merged 16 commits into from
Jun 1, 2025
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
chore: move queueMicrotask polyfill to angular polyfills
  • Loading branch information
edusperoni committed May 21, 2025
commit 749f1f30529ee8cfb64980b7ec221c3f0f88d827
4 changes: 4 additions & 0 deletions packages/angular/polyfills/src/index.ts
8DF2
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,7 @@ if (typeof AbortController === 'undefined') {
if (typeof AbortSignal === 'undefined') {
global.AbortSignal = AbortSignal;
}

if (typeof queueMicrotask === 'undefined') {
global.queueMicrotask = (cb) => Promise.resolve().then(cb);
}
4 changes: 0 additions & 4 deletions packages/zone-js/dist/pre-zone-polyfills.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,3 @@ export const disabledPatches = [
for (const patch of disabledPatches) {
global[`__Zone_disable_${patch}`] = true;
}

if (typeof queueMicrotask === 'undefined') {
global.queueMicrotask = (cb) => Promise.resolve().then(cb);
}
0