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

Update dependency terser to ^5.26.0 (main) #173226

Merged
merged 3 commits into from
Dec 18, 2023
Merged

Update dependency terser to ^5.26.0 (main) #173226

merged 3 commits into from
Dec 18, 2023

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Dec 12, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
terser (source) ^5.16.5 -> ^5.26.0 age adoption passing confidence

Release Notes

terser/terser (terser)

v5.26.0

Compare Source

  • Do not take the /*#__PURE__*/ annotation into account when the side_effects compress option is off.
  • The preserve_annotations option now automatically opts annotation comments in, instead of requiring the comments option to be configured for this.
  • Refuse to parse empty parenthesized expressions (())

v5.25.0

Compare Source

  • Regex properties added to reserved property mangler (#​1471)
  • pure_new option added to drop unused new expressions.

v5.24.0

Compare Source

  • Improve formatting performance in V8 by keeping a small work string and a large output string

v5.23.0

Compare Source

  • When top_retain will keep a variable assignment around, inline the assignee when it's shorter than the name (#​1434)
  • Remove empty class static {} blocks.

v5.22.0

Compare Source

  • 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

Compare Source

  • 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

Compare Source

  • 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

Compare Source

  • 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

Compare Source

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

v5.19.2

Compare Source

  • fix performance hit from avoiding HTML comments in the output

v5.19.1

Compare Source

  • 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

Compare Source

  • Allow /*@&#8203;__MANGLE_PROP__*/ annotation in object.property, in addition to property declarations.

v5.18.2

Compare Source

  • Stop using recursion in hoisted defuns fix.

v5.18.1

Compare Source

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

v5.18.0

Compare Source

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

v5.17.7

Compare Source

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

v5.17.6

Compare Source

  • Fixes to mozilla AST input and output, for class properties, private properties and static blocks
  • Fix outputting a shorthand property in quotes when safari10 and ecma=2015 options are enabled
  • configurable and enumerable, used in Object.defineProperty, added to domprops (#​1393)

v5.17.5

Compare Source

  • Take into account the non-deferred bits of a class, such as static properties, while dropping unused code.

v5.17.4

Compare Source

  • Fix crash when trying to negate a class (!class{})
  • Avoid outputting comments between yield/await and its argument
  • Fix detection of left-hand-side of assignment, to avoid optimizing it like any other expression in some edge cases

v5.17.3

Compare Source

  • Fix issue with trimming a static class property's contents accessing the class as this.

v5.17.2

Compare Source

  • Be less conservative when detecting use-before-definition of var in hoisted functions.
  • Support unusual (but perfectly valid) initializers of for-in and for-of loops.
  • Fix issue where hoisted function would be dropped if it was after a continue statement

v5.17.1

Compare Source

  • Fix evaluating .length when the source array might've been mutated

v5.17.0

Compare Source

  • Drop vestigial = undefined default argument in IIFE calls (#​1366)
  • Evaluate known arrays' .length property when statically determinable
  • Add @__KEY__ annotation to mangle string literals (#​1365)

v5.16.9

Compare Source

  • Fix parentheses in output of optional chains (a?.b) (#​1374)
  • More documentation on source maps (#​1368)
  • New lhs_constants option, allowing to stop Terser from swapping comparison operands (#​1361)

v5.16.8

Compare Source

  • Become even less conservative around function definitions for reduce_vars
  • Fix parsing context of import.meta expressions such that method calls are allowed

v5.16.6

Compare Source

  • Become less conservative with analyzing function definitions for reduce_vars
  • Parse import.meta as a real AST node and not an object.property

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot added release_note:skip Skip the PR/issue when compiling release notes Team:Operations Team label for Operations Team labels Dec 12, 2023
@renovate renovate bot requested a review from a team December 12, 2023 21:56
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-operations (Team:Operations)

@renovate renovate bot force-pushed the renovate/main-minify branch from 63b03a7 to 8c9008d Compare December 14, 2023 14:55
@renovate renovate bot changed the title Update dependency terser to ^5.25.0 (main) Update dependency terser to ^5.26.0 (main) Dec 14, 2023
@jbudz
Copy link
Member

jbudz commented Dec 18, 2023

@elasticmachine run elasticsearch-ci/docs

Copy link
Contributor Author

renovate bot commented Dec 18, 2023

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

Warning: custom changes will be lost.

@kibana-ci
Copy link
Collaborator

💚 Build Succeeded

Metrics [docs]

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
aiAssistantManagementObservability 71.1KB 71.1KB -5.0B
aiAssistantManagementSelection 50.1KB 50.1KB -2.0B
aiops 390.2KB 388.4KB -1.9KB
alerting 89.1KB 89.0KB -103.0B
apm 3.7MB 3.7MB -1.5KB
canvas 1013.9KB 1013.7KB -206.0B
cases 443.9KB 443.8KB -42.0B
charts 9.8KB 9.8KB -7.0B
cloudExperiments 52.4KB 52.4KB -11.0B
cloudSecurityPosture 451.7KB 451.7KB -27.0B
console 405.0KB 404.9KB -34.0B
controls 198.2KB 197.7KB -572.0B
core 146.9KB 146.9KB +8.0B
crossClusterReplication 146.4KB 146.4KB -10.0B
dashboard 377.2KB 376.6KB -576.0B
dataViewFieldEditor 173.6KB 173.6KB -8.0B
dataVisualizer 618.7KB 617.6KB -1.2KB
discover 593.8KB 593.2KB -648.0B
enterpriseSearch 2.7MB 2.7MB -448.0B
eventAnnotationListing 196.9KB 196.8KB -148.0B
exploratoryView 203.6KB 203.6KB -18.0B
expressionHeatmap 26.7KB 26.5KB -152.0B
expressionPartitionVis 40.9KB 40.9KB -12.0B
expressionTagcloud 23.2KB 23.2KB -12.0B
filesManagement 90.0KB 89.9KB -142.0B
fileUpload 957.5KB 956.5KB -945.0B
fleet 1.2MB 1.2MB -600.0B
graph 387.9KB 387.3KB -596.0B
home 178.6KB 178.6KB -17.0B
indexManagement 585.3KB 585.2KB -118.0B
infra 1.9MB 1.9MB -592.0B
kubernetesSecurity 38.6KB 38.6KB -22.0B
lens 1.4MB 1.4MB -529.0B
links 25.3KB 24.9KB -447.0B
logExplorer 966.1KB 966.0KB -100.0B
management 75.2KB 74.8KB -452.0B
maps 2.9MB 2.9MB -855.0B
ml 3.6MB 3.6MB -1.7KB
monitoring 462.5KB 462.3KB -258.0B
observability 1.1MB 1.1MB -1.9KB
observabilityAIAssistant 153.9KB 153.9KB -22.0B
observabilityLogExplorer 138.0KB 137.3KB -771.0B
observabilityOnboarding 243.7KB 243.4KB -336.0B
osquery 1.0MB 1.0MB -73.0B
presentationUtil 82.5KB 82.1KB -394.0B
profiling 375.6KB 375.6KB -27.0B
securitySolution 13.1MB 13.1MB -2.9KB
securitySolutionServerless 361.2KB 361.1KB -35.0B
serverlessSearch 377.2KB 376.9KB -216.0B
sessionView 392.0KB 392.0KB -8.0B
snapshotRestore 259.9KB 259.8KB -51.0B
spaces 174.9KB 174.9KB +6.0B
stackConnectors 548.0KB 548.0KB -10.0B
synthetics 866.5KB 866.4KB -92.0B
textBasedLanguages 152.9KB 152.9KB -27.0B
threatIntelligence 56.7KB 56.7KB -4.0B
transform 403.9KB 403.0KB -990.0B
triggersActionsUi 1.4MB 1.4MB -33.0B
unifiedHistogram 51.1KB 51.0KB -60.0B
unifiedSearch 215.4KB 213.7KB -1.7KB
uptime 480.7KB 480.4KB -306.0B
ux 170.6KB 170.5KB -112.0B
visDefaultEditor 141.0KB 141.0KB -78.0B
visTypeHeatmap 9.8KB 9.8KB -8.0B
visTypeTimeseries 511.8KB 511.8KB -18.0B
visTypeVega 1.8MB 1.8MB -365.0B
visTypeVislib 339.7KB 339.7KB -6.0B
visualizations 268.3KB 267.8KB -517.0B
total -25.8KB

Page load bundle

Size of the bundles that are downloaded on every page load. Target size is below 100kb

id before after diff
assetManager 2.8KB 2.8KB -15.0B
bfetch 6.9KB 6.8KB -24.0B
cloudLinks 16.0KB 15.6KB -446.0B
data 411.0KB 410.6KB -399.0B
datasetQuality 35.2KB 35.2KB -22.0B
dataViewEditor 12.9KB 12.5KB -477.0B
dataViewFieldEditor 25.4KB 25.1KB -390.0B
dataViewManagement 4.9KB 4.9KB -12.0B
embeddable 78.7KB 78.2KB -481.0B
esUiShared 155.9KB 155.9KB -11.0B
eventAnnotation 19.7KB 19.7KB -23.0B
exploratoryView 44.6KB 44.6KB -2.0B
fieldFormats 63.3KB 63.3KB -26.0B
files 10.6KB 10.1KB -476.0B
infra 103.2KB 103.2KB -12.0B
interactiveSetup 61.3KB 61.0KB -252.0B
kbnUiSharedDeps-npmDll 6.2MB 6.2MB -2.2KB
kbnUiSharedDeps-srcJs 2.3MB 2.3MB -4.0KB
kibanaReact 42.2KB 41.8KB -404.0B
logExplorer 39.4KB 39.0KB -394.0B
logsShared 221.1KB 220.8KB -304.0B
logstash 14.0KB 14.0KB -3.0B
maps 47.0KB 47.0KB -8.0B
ml 78.6KB 78.6KB -8.0B
osquery 51.3KB 51.2KB -17.0B
savedObjects 22.3KB 22.3KB -8.0B
savedObjectsTagging 20.4KB 20.4KB -10.0B
screenshotting 7.4KB 7.1KB -314.0B
security 70.4KB 70.1KB -266.0B
share 52.4KB 52.4KB -26.0B
stackConnectors 43.1KB 43.1KB -34.0B
triggersActionsUi 106.2KB 106.1KB -10.0B
uiActions 19.8KB 19.8KB -4.0B
visTypeVislib 12.5KB 12.5KB -17.0B
total -10.9KB
Unknown metric groups

miscellaneous assets size

id before after diff
maps 665.3KB 665.3KB -3.0B
visTypeVega 503.5KB 503.5KB -3.0B
total -6.0B

History

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

@jbudz jbudz merged commit edfb2d9 into main Dec 18, 2023
34 checks passed
@jbudz jbudz deleted the renovate/main-minify branch December 18, 2023 20:26
@kibanamachine kibanamachine added v8.13.0 backport:skip This commit does not require backporting labels Dec 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport:skip This commit does not require backporting release_note:skip Skip the PR/issue when compiling release notes Team:Operations Team label for Operations Team v8.13.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants