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
  • !35062

Bump terser from 5.1.0 to 5.9.0

  • Review changes

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

Created by: dependabot[bot]

Bumps terser from 5.1.0 to 5.9.0.

Changelog

Sourced from terser's changelog.

v5.9.0

  • Collapsing switch cases with the same bodies (even if they're not next to each other) (#1070).
  • Fix evaluation of optional chain expressions (#1062)
  • Fix mangling collision in ESM exports (#1063)
  • Fix issue with mutating function objects after a second pass (#1047)
  • Fix for inlining object spread { ...obj } (#1071)
  • Typescript typings fix (#1069)

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

... (truncated)

Commits
  • 3202410 5.9.0
  • dbeb358 update changelog
  • 8430c66 collapsing switch cases with same bodies, when not lined in a row (#1070)
  • 8dea529 Fix compress/eval of optional chains (#1062)
  • 38bef40 Fix collisions between original property and mangled property (#1063)
  • 0479921 fix: functions may be compressed mistakenly if passes=2 (#1047)
  • c8fa225 Fix inlining object spread properties (#1071)
  • c4fcdcc Fix missing nth_identifier default in minify() (#1069)
  • d88d610 5.8.0
  • 86ea74d update changelog
  • 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.9.0