v20201102
版本发布时间: 2020-11-18 07:58:35
google/closure-library最新发布版本:v20230802(2023-08-11 01:43:27)
New Additions
- Add
goog.log.getAllLoggers
. (0fe1819f31602e70d79eb330bf5968580171ac0b) - Add goog.dom.safe.createContextualFragment. (d263cd05f2a357dc2f4f8581234a9fb05d2b91b7)
- Introduce goog.functions.UNDEFINED and goog.functions.EMPTY (28a10aed8e1de1b451090936317a97402cf62f20)
Backwards Incompatible Changes
- Tighten strictness in Closure Library functions in goog.provide files. (ea7f68e32fdb34b5f87b3500068108e647206249)
- Improve error message for failing to load a module. (7c2fc019b68e4abab50c7b1b47c6a7876fa13c61)
- Removing Safari 10 Workarounds in debug loader. (b46b6bfb42e36406d33ca67021e43e89c4dd18d3)
Other Changes
- base.js now logs but does not throw on missing goog.requires. (21ae79153d7cfa80ecafef56440e561c80758a01)
- Allow Trusted Types in loading resources. (39e9faa62c2723a334e3bb1e4163271ee16f6f58)
- Make code Trusted Types compatible, take 2. (7e12ddc096735395747de23a1449581f485db733)
- Add proper support for
Infinity
fornumericValueToString
andstringToNumericValue
. (e9d776cf16243e7f60677ec77893c1501bdd9bd7) - Add browser detection for ES2019 and ES2020. (89d98af23a0461acf32d4dee3807f5e8389dbaed)