Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • B bootstrap
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 263
    • Issues 263
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 114
    • Merge requests 114
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Bootstrap
  • bootstrap
  • Merge requests
  • !34972

Bump terser from 5.1.0 to 5.8.0

  • Review changes

  • Download
  • Email patches
  • Plain diff
Closed Administrator requested to merge dependabot/npm_and_yarn/terser-5.8.0 into main Sep 14, 2021
  • Overview 2
  • Commits 2
  • Pipelines 0
  • Changes 2

Created by: dependabot[bot]

Bumps terser from 5.1.0 to 5.8.0.

Changelog

Sourced from terser's changelog.

v5.8.0

  • Fixed shadowing variables while moving code in some cases (#1065)
  • Stop mangling computed & quoted properties when keep_quoted is enabled.
  • Fix for mangling private getter/setter and .#private access (#1060, #1068)
  • Array.from has a new optimization when the unsafe option is set (#737)
  • Mangle/propmangle let you generate your own identifiers through the nth_identifier option (#1061)
  • More optimizations to switch statements (#1044)

v5.7.2

  • Fixed issues with compressing functions defined in global_defs option (#1036)
  • New recipe for using Terser in gulp was added to RECIPES.md (#1035)
  • Fixed issues with ?? and ?. (#1045)
  • Future reserved words such as package no longer require you to disable strict mode to be used as names.
  • Refactored huge compressor file into multiple more focused files.
  • Avoided unparenthesized in operator in some for loops (it breaks parsing because of for..in loops)
  • Improved documentation (#1021, #1025)
  • More type definitions (#1021)

v5.7.1

  • Avoided collapsing assignments together if it would place a chain assignment on the left hand side, which is invalid syntax (a?.b = c)
  • Removed undefined from object expansions ({ ...void 0 } -> {})
  • Fix crash when checking if something is nullish or undefined (#1009)
  • Fixed comparison of private class properties (#1015)
  • Minor performance improvements (#993)
  • Fixed scope of function defs in strict mode (they are block scoped)

v5.7.0

  • Several compile-time evaluation and inlining fixes
  • Allow reduce_funcs to be disabled again.
  • Add spidermonkey options to parse and format (#974)
  • Accept {get = "default val"} and {set = "default val"} in destructuring arguments.
  • Change package.json export map to help require.resolve (#971)
  • Improve docs
  • Fix export default of an anonymous class with extends

v5.6.1

  • Mark assignments to the .prototype of a class as pure
  • Parenthesize await on the left of ** (while accepting legacy non-parenthesised input)
  • Avoided outputting NUL bytes in optimized RegExps, to stop the output from breaking other tools
  • Added exports to domprops (#939)
  • Fixed a crash when spreading ...this
  • Fixed the computed size of arrow functions, which improves their inlining

v5.6.0

... (truncated)

Commits
  • d88d610 5.8.0
  • 86ea74d update changelog
  • 1ea299b update dependencies
  • f8a1f89 collapse_vars: fix inlining expr into scope with shadowed var (#1065)
  • 438806d Create README.md
  • 3409eb6 Don't mangle computed properties with keep_quoted (#1058)
  • 748e3a6 Fix mangling nested dothash expressions (#1068)
  • e6312f4 Fix private getter/setter mangling (#1060)
  • f04077c Add ability to grep for test compress test case (#1061)
  • d3fb5b0 Added Array.from unsafe optimization (#747)
  • Additional commits viewable in compare view

Dependabot compatibility score

You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: dependabot/npm_and_yarn/terser-5.8.0