Skip to content

Switch to terser gem to replace uglifier

What does this MR do?

Switch to terser gem to replace uglifier gem which uses terser js library instead of unmaintained uglifyjs library.

See !43265 (closed) for a background. Updating to newer versions of uglifier fails and the bug is marked will not fix. Projects like webpack already switched to terser by default.

Screenshots

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team

Merge request reports

Loading