Skip to content

Cherry-picking commits from master to patch (9.0.x) - #34960

Closed
AndrewKushnir wants to merge 3 commits into
angular:9.0.xfrom
AndrewKushnir:cherry-picked-commits-to-patch
Closed

AndrewKushnir wants to merge 3 commits into
angular:9.0.xfrom
AndrewKushnir:cherry-picked-commits-to-patch

Conversation

@AndrewKushnir

Copy link
Copy Markdown
Contributor

This PR contains a set of commits that landed in master only, but should've been merged into patch branch as well.

PR Type

What kind of change does this PR introduce?

  • Other... Please describe: cherry-picking commits from master to patch branch.

Does this PR introduce a breaking change?

  • Yes
  • No

`String.fromCharCode`'s type signature requires a regular `number[]`.

PR Close angular#34817
Previously, create_angular_testing_module would export a mutable `let`
binding. The binding is already exporting using an accessor function
though, so the export on the let variable seems like an accidental
oversight.

This is functionally equivalent, but makes it easier for module
optimizers such as Closure Compiler to track down side effects and prune
modules.

PR Close angular#34232
Previously, browser_util would export a mutable `let` binding that was
initialized as a side-effect of `BrowserDetection.setup()`. This change
refactors the mutable binding into a `const` binding that is immediately
initialized in its initialized.

This is functionally equivalent, but makes it easier for module
optimizers such as Closure Compiler to track down side effects and prune
modules. It is also arguably cleaner to read (no worries about later
changes to the apparently mutable but effectively const binding).

PR Close angular#34207
@AndrewKushnir AndrewKushnir added action: review The PR is still awaiting reviews from at least one requested reviewer PR target: patch-only labels Jan 24, 2020
@AndrewKushnir
AndrewKushnir requested review from a team January 24, 2020 20:29
@googlebot

Copy link
Copy Markdown

All (the pull request submitter and all commit authors) CLAs are signed, but one or more commits were authored or co-authored by someone other than the pull request submitter.

We need to confirm that all authors are ok with their commits being contributed to this project. Please have them confirm that by leaving a comment that contains only @googlebot I consent. in this pull request.

Note to project maintainer: There may be cases where the author cannot leave a comment, or the comment is not properly detected as consent. In those cases, you can manually confirm consent of the commit author(s), and set the cla label to yes (if enabled on your project).

ℹ️ Googlers: Go here for more info.

@googlebot

Copy link
Copy Markdown

A Googler has manually verified that the CLAs look good.

(Googler, please make sure the reason for overriding the CLA status is clearly documented in these comments.)

ℹ️ Googlers: Go here for more info.

@IgorMinar IgorMinar left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgmt - global approval

@AndrewKushnir AndrewKushnir added action: merge The PR is ready for merge by the caretaker and removed action: review The PR is still awaiting reviews from at least one requested reviewer labels Jan 24, 2020
AndrewKushnir pushed a commit that referenced this pull request Jan 24, 2020
`String.fromCharCode`'s type signature requires a regular `number[]`.

PR Close #34817

PR Close #34960
AndrewKushnir pushed a commit that referenced this pull request Jan 24, 2020
Previously, create_angular_testing_module would export a mutable `let`
binding. The binding is already exporting using an accessor function
though, so the export on the let variable seems like an accidental
oversight.

This is functionally equivalent, but makes it easier for module
optimizers such as Closure Compiler to track down side effects and prune
modules.

PR Close #34232

PR Close #34960
AndrewKushnir pushed a commit that referenced this pull request Jan 24, 2020
Previously, browser_util would export a mutable `let` binding that was
initialized as a side-effect of `BrowserDetection.setup()`. This change
refactors the mutable binding into a `const` binding that is immediately
initialized in its initialized.

This is functionally equivalent, but makes it easier for module
optimizers such as Closure Compiler to track down side effects and prune
modules. It is also arguably cleaner to read (no worries about later
changes to the apparently mutable but effectively const binding).

PR Close #34207

PR Close #34960
@AndrewKushnir

Copy link
Copy Markdown
Contributor Author

This PR is now merged to patch branch (9.0.x).

@angular-automatic-lock-bot

Copy link
Copy Markdown

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 24, 2020
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 cla: yes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants