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

Update from upstream #3

Merged
merged 455 commits into from
Jun 3, 2024
Merged

Update from upstream #3

merged 455 commits into from
Jun 3, 2024

Conversation

ribrdb
Copy link

@ribrdb ribrdb commented May 31, 2024

Update closure-library
Re-generate declarations
Update BUILD files

wenbozhu and others added 30 commits September 16, 2022 17:03
PiperOrigin-RevId: 474932132
Change-Id: I5cc9b0671ced956bceebd16ea51089c8b19153bb
RELNOTES: Implement toString in UrlLike return value for IE.

PiperOrigin-RevId: 475399562
Change-Id: Ib0437faf9422290cd5350e8fa8d5ac4193f40d5c
…s not intended for external usage.

RELNOTES: n/a

PiperOrigin-RevId: 477160918
Change-Id: I2e6db0bc2e7222ebfd1c75e2cba92e9fb226e1ea
RELNOTES: n/a

PiperOrigin-RevId: 477496665
Change-Id: I4d803a7736b95fceb9acec67d80f16d626f29ebc
…surface to no longer be gated by USE_CLIENT_HINTS define, as the API surface is new / opt-in.

RELNOTES: n/a

PiperOrigin-RevId: 477547578
Change-Id: Id2fc78b4f3447d04ef99a22e45d354d7e80182c8
… encounters a multi-byte character in `goog.DEBUG` mode. We will flip the default to `true` in the near future.

RELNOTES: `goog.crypt.stringToByteArray` (along with `base64.encodeString` and `hash32.encodeString`) will now throw asynchronously on multi-byte characters in development.
PiperOrigin-RevId: 477778082
Change-Id: I968b138e02424f76ef7af65c32c7c474d79879ff
RELNOTES:n/a

PiperOrigin-RevId: 479432370
Change-Id: Ia02331078bdbac54d04ff887a3a324ae113c9247
…goog.DEBUG` is true

This should prevent the possibility of flaky tests due to the async-throw only sometimes causing test failure, and it should catch possible issues more reliably.

RELNOTES: n/a
PiperOrigin-RevId: 479574546
Change-Id: I487f0ee249f3cfa07e98085015bdcd0783e1f239
RELNOTES: n/a

PiperOrigin-RevId: 479656645
Change-Id: If112d7acdebadd77f9022fe692631a446d7d9d57
RELNOTES:n/a

PiperOrigin-RevId: 479704586
Change-Id: I52dd1a5d1c4aeed57e03d8f98a3df77785bae49b
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3.1.0.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](actions/checkout@v2...v3.1.0)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Recommends using a recommended templating system instead like Lit.

PiperOrigin-RevId: 480075003
Change-Id: I162d39bd4dc3abd9f374c2a2eeb77bbbba7bab32
RELNOTES: n/a
PiperOrigin-RevId: 480230116
Change-Id: I97458db75179f1db3002fd206ea0b555c1f72bf2
PiperOrigin-RevId: 482001956
Change-Id: I35d59e52c026a2c07bebb5b0fd7a4072a6ef8932
https://w3c.github.io/csswg-drafts/css-easing/#funcdef-step-easing-function-steps

RELNOTES: Add steps to SafeStyle list of allowed functions
PiperOrigin-RevId: 482386586
Change-Id: I3dc1ca86cf5f0493c41f96495b212f3dfe72f94a
…actions/checkout-3.1.0

PiperOrigin-RevId: 482558878
Change-Id: I58160f8f6ae5f8dd7a827e6b1f11e2e6a125a177
…s-document DOM elegantly, preventing false positives that can be thrown with other assertion patterns.

RELNOTES: Update asserts in `goog.dom` to follow `goog.asserts.dom` guidance.

PiperOrigin-RevId: 482903790
Change-Id: I3c75bc000dc16237668d24e4a6f1eb062a520ced
RELNOTES: n/a

PiperOrigin-RevId: 483718913
Change-Id: If85f881bf2d9f95f5eb0f0bbe2fc5f94c0a19f43
RELNOTES: n/a

PiperOrigin-RevId: 483737078
Change-Id: I1ebaadaa4c9825178d228d5cf939c7644b25fb78
…ovides better stack trace debugging in Chrome developer tools.

https://developer.chrome.com/blog/devtools-modern-web-debugging/#linked-stack-traces
RELNOTES: n/a
PiperOrigin-RevId: 484072872
Change-Id: Icb068a52a1e8eb82fa0b5d6ce5581317b5ad756d
RELNOTES: n/a

PiperOrigin-RevId: 484095164
Change-Id: I9c3318d4125278d49695a20bdb0169047dd9fa37
RELNOTES: n/a

PiperOrigin-RevId: 484180759
Change-Id: Ia01b32eaae07784ebb467e864907786deedb7e73
RELNOTES: n/a

PiperOrigin-RevId: 484527627
Change-Id: Ic25d2b9a1711aeeb7b5372804fa6bd21f1d1055d
RELNOTES: Drop support for IE10

PiperOrigin-RevId: 484648225
Change-Id: Ia035e0be683b0c2e4028c46d821826c720e80dfa
RELNOTES: n/a

PiperOrigin-RevId: 485906511
Change-Id: I8bba9ee9d61b76eb1a2e0868864a3956e04585b6
RELNOTES: n/a

PiperOrigin-RevId: 486677339
Change-Id: Id429a5a9a5344b63d538fc20ef16588257454cc6
RELNOTES: n/a

PiperOrigin-RevId: 486732913
Change-Id: Ie177107da55a561c43c1d2c927f46b132bed9eb1
RELNOTES: n/a

PiperOrigin-RevId: 486962142
Change-Id: I7e7fa986f96f1ee9cc4aa97f84967e641382c7d2
RELNOTES: n/a

PiperOrigin-RevId: 487127109
Change-Id: Ibc4bc9cbd3f21988a4b4d6317ad23c9a8c1114dd
Unfortunately, most usages are in ES5 files, so we need to migrate those to modern language syntax first.

RELNOTES: n/a
PiperOrigin-RevId: 487130287
Change-Id: I85a8c21f1b87988fbcd6c31196297409e9830b2a
Closure Team and others added 21 commits October 16, 2023 15:33
RELNOTES: Fix return type of bidi.estimateDirection making it non-nullable

PiperOrigin-RevId: 573947967
Change-Id: Iff685319dabb8704215ea2f7db59abf89d9346c2
…sts.

RELNOTES: n/a

PiperOrigin-RevId: 574288521
Change-Id: If59764144aceae20276903632938975ba00fa83e
PiperOrigin-RevId: 574468394
Change-Id: Ib2a0fb1070e89df6f3632f7276bfd806d8d9f19a
…layouts and treats it as a character key for FF.

The close bracket key on US keyboard layouts corresponds to
the +/* key on DE keyboard layouts (the same physical key on
the keyboard produces different outputs depending on keyboard layout).
Firefox sends a unique keycode for this (171), which differs from the
keycode sent by Chrome (221). (See:
https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/keyCode)

RELNOTES:Added a keycodes.js constant for the +/* key in Firefox for DE keyboard layouts.
PiperOrigin-RevId: 574474491
Change-Id: Iefdcefa8f4d860c61ffd9e648dc553e871d14fb1
RELNOTES: Updates the deprecation warnings on dom.safe.

PiperOrigin-RevId: 574809450
Change-Id: Ie3c7bfd8fcba43b414b30a5777e46ae4ee37f71e
…ce loads.

RELNOTES: n/a

PiperOrigin-RevId: 575162808
Change-Id: I555c1d86b3ef7c8fa297931bbb057ad44eba5f99
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.0 to 4.1.1.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](actions/checkout@8ade135...b4ffde6)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
RELNOTES: Update role enum keys

PiperOrigin-RevId: 575900017
Change-Id: I477493598ec367f133710c074ee9d87cbf5fbae0
…ages.

RELNOTES: n/a
PiperOrigin-RevId: 575901895
Change-Id: Icf8bca3ca01c124302327034d3d692ee77235d98
Closes google#1210.

RELNOTES: n/a
PiperOrigin-RevId: 575941312
Change-Id: Id164b177e155d8512a1b1f597d17edc2eef5e9c6
…`Const{}` around.

RELNOTES: Const toString returns the plain value.

PiperOrigin-RevId: 576168661
Change-Id: I8a65845e5d01a4ff72506bef565bad1b0ee0665d
…e them.

RELNOTES[INC]: goog.editor.BrowserFeature values that were constants were removed.

PiperOrigin-RevId: 576244611
Change-Id: If680ba7aed31fce903b3c98829ce6cb71ecc3f08
…actions/checkout-4.1.1

PiperOrigin-RevId: 576911331
Change-Id: Ia712d6d0e051c8ead21852f3fcf3d4ab3c679c89
RELNOTES[INC]: Remove X11 references from goog.userAgent

PiperOrigin-RevId: 577272544
Change-Id: Ie721bc14089ebdf7040b44301d671406cd0099f6
RELNOTES: Closure Library is now in maintenance mode. See google#1214
PiperOrigin-RevId: 578610862
Change-Id: I0cf1711a76ad2cf61ad50a88a9699a1859b218e9
RELNOTES: n/a
PiperOrigin-RevId: 578661214
Change-Id: I00135c54a9557df71ea35c9d81dc1e695477749e
RELNOTES: n/a

PiperOrigin-RevId: 578901815
Change-Id: Ifc4357edd504cdb30224e64bfb7fbde9a05b6cd7
Remove unused declarations.
@lukfugl
Copy link
Member

lukfugl commented Jun 3, 2024

In the penultimate commit, most of the build file changes (aside from adding the //closure:goog closure_js_librarytarget and simple reformattings) are to _add_.clutz.d.tsfiles, but the other changes in the commit are to remove some.clutz.d.ts` files from the repo. Just confirming that intentional. I assume the removed files were ones we'd generated for sources that no longer exist?

@ribrdb
Copy link
Author

ribrdb commented Jun 3, 2024

Right, they're either files we previously generated where the js file is now deleted, or they go with files that weren't actually included in BUILD files (e.g. test data files with a .js extension)

@ribrdb ribrdb merged commit 75e2be6 into master Jun 3, 2024
ribrdb added a commit that referenced this pull request Sep 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.