Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

⬆️ Bump terser from 4.6.4 to 5.7.1 #458

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dependabot-preview[bot]
Copy link

Bumps terser from 4.6.4 to 5.7.1.

Changelog

Sourced from terser's changelog.

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

  • Added top-level await
  • Beautify option has been removed in #895
  • Private properties, getters and setters have been added in #913 and some more commits
  • Docs improvements: #896, #903, #916

v5.5.1

  • Fixed object properties with unicode surrogates on safari.

v5.5.0

  • Fixed crash when inlining uninitialized variable into template string.
  • The sourcemap for dist was removed for being too large.

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.

... (truncated)

Commits
  • d3d924f 5.7.1
  • f45230a skip test
  • a4154e9 update changelog
  • 6d08df9 do not collapse vars/assigns which have a chain on their right hand side. Clo...
  • e9d32ee pass compressor to is_undefined
  • 6f04338 remove expansions from objects when we know the value being expanded is nulli...
  • bfc332c fix broken names output. Closes #994
  • 2835581 fix missing compressor argument in is_nullish and is_undefined
  • 215db3c fix: missing compressor arg in optimize AST_VarDef (#1009)
  • 60a74bb fix: private class element access equality (#1015)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually 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)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Pull request limits (per update run and/or open at any time)
  • Automerge options (never/patch/minor, and dev/runtime dependencies)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants