Closure Compiler v20230228 released

27 views
Skip to first unread message

Jan Kühle

unread,
Mar 2, 2023, 5:16:17 AM3/2/23
to Closure Compiler Discuss
Downloads:
Maven: http://search.maven.org/#search%7Cga%7C1%7Ca%3A%22closure-compiler%22
NPM: https://www.npmjs.com/package/google-closure-compiler

Release Notes:
https://github.com/google/closure-compiler/wiki/Releases

February 28th, 2023 (v20230228)
  • Deleted CodingConvention::isInlinableFunction. The standard way of preventing inlining for a function is now the @noinline annotation in JSDoc.

  • Don't register types mismatch if actual type satisfies any of required union's alternates

  • Add externs for maps api v3.52

  • A for-of loop transpiled down to ES5 should throw a TypeError if the object to be iterated has neither a Symbol.iterator property nor a length property.

  • Allow @nosideeffects in function jsdoc outside of externs, and use it as a signal in PureFunctionIdentifier to treat the function as pure.

  • Prevent mutations to ReadonlyArrays.

  • Correct the name of SourceBuffer mode property from externs.

  • Fix behavior of Array.prototype.flat() and Array.prototype.flatMap() for sparse arrays.

Reply all
Reply to author
Forward
0 new messages