Title: (zone.js) Promise.any is undefined · Issue #44393 · angular/angular · GitHub
Open Graph Title: (zone.js) Promise.any is undefined · Issue #44393 · angular/angular
X Title: (zone.js) Promise.any is undefined · Issue #44393 · angular/angular
Description: Which @angular/* package(s) are the source of the bug? core, platform-browser Is this a regression? No Description Browsers started to support ES2021 Promise.any Zone.js Does not support it. Seems like that zone.js overrides the native P...
Open Graph Description: Which @angular/* package(s) are the source of the bug? core, platform-browser Is this a regression? No Description Browsers started to support ES2021 Promise.any Zone.js Does not support it. Seems ...
X Description: Which @angular/* package(s) are the source of the bug? core, platform-browser Is this a regression? No Description Browsers started to support ES2021 Promise.any Zone.js Does not support it. Seems ...
Opengraph URL: https://github.com/angular/angular/issues/44393
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"(zone.js) Promise.any is undefined","articleBody":"### Which @angular/* package(s) are the source of the bug?\r\n\r\ncore, platform-browser\r\n\r\n### Is this a regression?\r\n\r\nNo\r\n\r\n### Description\r\n\r\nBrowsers started to support ES2021 Promise.any\r\nZone.js Does not support it.\r\nSeems like that zone.js overrides the native Promise and does not implement the static `any` method. \r\nhttps://github.com/angular/angular/blob/a92a89b0eb127a59d7e071502b5850e57618ec2d/packages/zone.js/lib/common/promise.ts#L286\r\n\r\nhttps://kangax.github.io/compat-table/es2016plus/\r\nhttps://caniuse.com/?search=Promise.any\r\nhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise/any\r\n```\r\nPromise.all\r\n ƒ all(values) {\r\n return ZoneAwarePromise.allWithCallback(values);\r\n }\r\nPromise.any\r\n undefined\r\n```\r\n\r\n### Please provide a link to a minimal reproduction of the bug\r\n\r\n_No response_\r\n\r\n### Please provide the exception or error you saw\r\n\r\n```true\r\nPromise.any()\r\nVM201:1 Uncaught TypeError: Promise.any is not a function\r\n at \u003canonymous>:1:9\r\n(anonymous) @ VM201:1\r\n```\r\n\r\n\r\n### Please provide the environment you discovered this bug in (run `ng version`)\r\n\r\n```true\r\nPackage Version\r\n---------------------------------------------------------\r\n@angular-devkit/architect 0.1300.4\r\n@angular-devkit/build-angular 13.0.4\r\n@angular-devkit/core 13.0.4\r\n@angular-devkit/schematics 13.0.4\r\n@angular/cli 13.0.4\r\n@schematics/angular 13.0.4\r\nrxjs 7.4.0\r\ntypescript 4.4.4\r\n```\r\n\r\n\r\n### Anything else?\r\n\r\n_No response_","author":{"url":"https://github.com/tiberiuzuld","@type":"Person","name":"tiberiuzuld"},"datePublished":"2021-12-07T15:35:00Z","url":"https://github.com/angular/angular/issues/44393"}
| react-profiling | 0 |
| react-import-map | react,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-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:0c756b48-2e51-bd8f-bcd9-a3edd60cf25f |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | AC2A:1F2D:229119:2BE2B1:6B00FCCD |
| html-safe-nonce | c019bee9a904230bc11629955a51ff04d6b10b5630b1e41d6606194bbab0948a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQzJBOjFGMkQ6MjI5MTE5OjJCRTJCMTo2QjAwRkNDRCIsInZpc2l0b3JfaWQiOiI3NjU3NDk2NDE2NDQ0NTQ2MjU0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | a0de74493f8d76e153875d134f2137f760f47b086a282e3bb4376d910e538c47 |
| hovercard-subject-tag | issue:1073493773 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/angular/angular/44393/issue_layout |
| twitter:image | https://opengraph.githubassets.com/04c6d4490a0be28c2a07e565bc61bc8bdfdb9defb0ecc23a05bd54105be74c9e/angular/angular/issues/44393 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/04c6d4490a0be28c2a07e565bc61bc8bdfdb9defb0ecc23a05bd54105be74c9e/angular/angular/issues/44393 |
| og:image:alt | Which @angular/* package(s) are the source of the bug? core, platform-browser Is this a regression? No Description Browsers started to support ES2021 Promise.any Zone.js Does not support it. Seems ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | tiberiuzuld |
| hostname | github.com |
| expected-hostname | github.com |
| None | e208d86428ec00a57ade75058166297440e8128a01e5287c31a53dc042bbf187 |
| turbo-cache-control | no-preview |
| go-import | github.com/angular/angular git https://github.com/angular/angular.git |
| octolytics-dimension-user_id | 139426 |
| octolytics-dimension-user_login | angular |
| octolytics-dimension-repository_id | 24195339 |
| octolytics-dimension-repository_nwo | angular/angular |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 24195339 |
| octolytics-dimension-repository_network_root_nwo | angular/angular |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 7dafd017fb7809a839c443dba08622af38e63c09 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width