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

Bump terser from 5.1.0 to 5.4.0

  • Review changes

  • Download
  • Email patches
  • Plain diff
Closed Administrator requested to merge dependabot/npm_and_yarn/terser-5.4.0 into main Nov 17, 2020
  • Overview 0
  • Commits 1
  • Pipelines 0
  • Changes 2

Created by: dependabot[bot]

Bumps terser from 5.1.0 to 5.4.0.

Changelog

Sourced from terser's changelog.

v5.4.0

  • Logical assignment
  • Change let x = undefined to just let x
  • Removed some optimizations for template strings, placing them behind unsafe options. Reason: adding strings is not equivalent to template strings, due to valueOf differences.
  • The AST_Token class was slimmed down in order to use less memory.

v5.3.8

  • Restore node 13 support

v5.3.7

Hotfix release, fixes package.json "engines" syntax

v5.3.6

  • Fixed parentheses when outputting ?? mixed with || and &&
  • Improved hygiene of the symbol generator

v5.3.5

  • Avoid moving named functions into default exports.
  • Enabled transform() for chain expressions. This allows AST transformers to reach inside chain expressions.

v5.3.4

  • Fixed a crash when hoisting (with hoist_vars) a destructuring variable declaration

v5.3.3

  • source-map library has been updated, bringing memory usage and CPU time improvements when reading input source maps (the SourceMapConsumer is now WASM based).
  • The wrap_func_args option now also wraps arrow functions, as opposed to only function expressions.

v5.3.2

  • Prevented spread operations from being expanded when the expanded array/object contains getters, setters, or array holes.
  • Fixed very slow self-recursion in some cases of removing extraneous parentheses from + operations.

v5.3.1

  • An issue with destructuring declarations when pure_getters is enabled has been fixed
  • Fixed a crash when chain expressions need to be shallowly compared
  • Made inlining functions more conservative to make sure a function that contains a reference to itself isn't moved into a place that can create multiple instances of itself.

v5.3.0

  • Fixed a crash when compressing object spreads in some cases
  • Fixed compiletime evaluation of optional chains (caused typeof a?.b to always return "object")
  • domprops has been updated to contain every single possible prop

... (truncated)

Commits
  • 5c6681c 5.4.0
  • 37e432e update changelog
  • 83c027e improve memory usage by slimming down AST_Token class
  • a5983c3 add jsdelivr example to README
  • a05601e add markers for generating website
  • 4faa537 gate some template string transforms behind 'unsafe' option. Closes #863
  • 36349ec remove undefined initialization. Closes #869
  • 73e6536 build before testing
  • 5907df8 implement logical assignment
  • 77dc12c 5.3.8
  • 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.4.0