Skip to content
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

fix(router): Remove usage of Object.values to avoid the need for a … #40370

Closed
wants to merge 1 commit into from

Conversation

atscott
Copy link
Contributor

@atscott atscott commented Jan 9, 2021

…polyfill

Object.values is not supported in IE11 without a polyfill. The quickest,
most straightfoward fix for this is to simply use Object.keys instead.
We may want to consider including the polyfill in the CLI in the future
or just wait until IE11 support is dropped before using
Object.values.

Fixes #40372

…polyfill

`Object.values` is not supported in IE11 without a polyfill. The quickest,
most straightfoward fix for this is to simply use `Object.keys` instead.
We may want to consider including the polyfill in the CLI in the future
or just wait until IE11 support is dropped before using
`Object.values`.
@atscott atscott added area: router target: patch This PR is targeted for the next patch release labels Jan 9, 2021
@ngbot ngbot bot modified the milestone: Backlog Jan 9, 2021
@google-cla google-cla bot added the cla: yes label Jan 9, 2021
@kyliau kyliau added the action: merge The PR is ready for merge by the caretaker label Jan 9, 2021
@atscott
Copy link
Contributor Author

atscott commented Jan 9, 2021

presubmit

@destus90
Copy link
Contributor

destus90 commented Jan 9, 2021

Should close #40372

atscott added a commit that referenced this pull request Jan 10, 2021
…polyfill (#40370)

`Object.values` is not supported in IE11 without a polyfill. The quickest,
most straightfoward fix for this is to simply use `Object.keys` instead.
We may want to consider including the polyfill in the CLI in the future
or just wait until IE11 support is dropped before using
`Object.values`.

PR Close #40370
@atscott atscott closed this in 74175f8 Jan 10, 2021
@destus90
Copy link
Contributor

@atscott seems that the CLI recently added the needed polyfill for Object.values
angular/angular-cli@76b023e#diff-2bd8646aee54640579cdfd7cced2ca8e3bb1080ea8e848067b81606a98178edfR36

@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Feb 14, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
action: merge The PR is ready for merge by the caretaker area: router cla: yes target: patch This PR is targeted for the next patch release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Angular 11.0.6 and 11.0.7: Componentless routes broken in IE11 when navigating
3 participants