mb21 / panwriter

Markdown editor with pandoc integration and paginated preview.
https://PanWriter.com
GNU General Public License v3.0
1.07k stars 52 forks source link

Bump terser from 5.10.0 to 5.22.0 #150

Closed dependabot[bot] closed 1 year ago

dependabot[bot] commented 1 year ago

Bumps terser from 5.10.0 to 5.22.0.

Changelog

Sourced from terser's changelog.

v5.22.0

  • Do not unsafely shorten expressions like a?.toString() when they're conditional.
  • Avoid running drop_unused in nodes that aren't scopes. Fixes a rare crash.
  • When 'module' is enabled, assume strict mode when figuring out scopes.

v5.21.0

  • Do not inline functions that would be retained in the toplevel (as this would cause code duplication).
  • Fix precedence of arrow function and ternary operator when formatting output.

v5.20.0

  • Passing minify() zero files will now throw a clean exception (#1450)
  • drop_console supports passing in an array of console.* method names (#1445)
  • New DOM properties from the WebGPU API have been added for use in the property mangler (#1436)
  • Internal code simplification (#1437)

v5.19.4

  • Prevent creating very deeply nested ternaries from a long list of if..return
  • Prevent inlining classes into other functions, to avoid constructors being compared.

v5.19.3

  • Fix side effect detection of optional?.chains.
  • Add roundRect to domprops.js (#1426)

v5.19.2

  • fix performance hit from avoiding HTML comments in the output

v5.19.1

  • Better avoid outputting </script> and HTML comments.
  • Fix unused variables in class static blocks not being dropped correctly.
  • Fix sourcemap names of methods that are async or static

v5.19.0

  • Allow /*@__MANGLE_PROP__*/ annotation in object.property, in addition to property declarations.

v5.18.2

  • Stop using recursion in hoisted defuns fix.

v5.18.1

  • Fix major performance issue caused by hoisted defuns' scopes bugfix.

v5.18.0

  • Add new /*@__MANGLE_PROP__*/ annotation, to mark properties that should be mangled.

v5.17.7

  • Update some dependencies
  • Add consistent sorting for v RegExp flag
  • Add inert DOM attribute to domprops

v5.17.6

  • Fixes to mozilla AST input and output, for class properties, private properties and static blocks

... (truncated)

Commits
  • f7163e2 5.22.0
  • 7c3460b update changelog
  • 4086d5b do not unsafely shorten expressions like a?.toString() when they're condition...
  • e0e5b7e Avoid running drop_unused in nodes that aren't scopes. Closes #1457
  • 1a99798 when 'module' is enabled, assume strict mode when figuring out scopes. Closes...
  • 0e1ab2b fix changelog
  • 88f9bb7 5.21.0
  • c04bc15 update changelog
  • 1e111a2 refactor: move global_defs to its own file
  • 766a8b1 add parens to disambiguate precedence between arrow function and ternary oper...
  • 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 show ignore conditions` will show all of the ignore conditions of the specified dependency - `@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) You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/mb21/panwriter/network/alerts).