This repository has been archived by the owner on Aug 1, 2024. It is now read-only.
Closure Library v20190929
New Additions
- New, deprecated MockClock.prototype.unmockDateNow method to ease mocking Date.now with MockClock.
- Add an options parameter to goog.net.Cookies#set and allow setting the SameSite value.
- SafeStyle now supports cubic-bezier.
Other Changes
- goog.ui.PopupDatePicker now uses AnchoredViewportPosition instead of AnchoredPosition.
- Prevent exceptions generating error event on Safari
- goog.mixin and goog.object.extend are deprecated in favor of Object.assign.
- Allow delegates with constructor parameters.
- Improved stack information for cancel().
- Fix a possible bug regarding loss of precision by casting array indexes to 32-bit signed integers with the use of bitwise operators. Array indexes can go all the way up to 2^32-1. https://tc39\.es/ecma262/\#array-index
- Deprecated some base.js methods that can be replaced with one-liners.