Your window into the Elastic Stack
Find a file
renovate[bot] edfb2d9481
Update dependency terser to ^5.26.0 (main) (#173226)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [terser](https://terser.org)
([source](https://togithub.com/terser/terser)) | [`^5.16.5` ->
`^5.26.0`](https://renovatebot.com/diffs/npm/terser/5.16.5/5.26.0) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/terser/5.26.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/terser/5.26.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/terser/5.16.5/5.26.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/terser/5.16.5/5.26.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>terser/terser (terser)</summary>

###
[`v5.26.0`](https://togithub.com/terser/terser/blob/HEAD/CHANGELOG.md#v5260)

[Compare
Source](https://togithub.com/terser/terser/compare/v5.25.0...v5.26.0)

- 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`](https://togithub.com/terser/terser/blob/HEAD/CHANGELOG.md#v5250)

[Compare
Source](https://togithub.com/terser/terser/compare/v5.24.0...v5.25.0)

- Regex properties added to reserved property mangler
([#&#8203;1471](https://togithub.com/terser/terser/issues/1471))
-   `pure_new` option added to drop unused `new` expressions.

###
[`v5.24.0`](https://togithub.com/terser/terser/blob/HEAD/CHANGELOG.md#v5240)

[Compare
Source](https://togithub.com/terser/terser/compare/v5.23.0...v5.24.0)

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

###
[`v5.23.0`](https://togithub.com/terser/terser/blob/HEAD/CHANGELOG.md#v5230)

[Compare
Source](https://togithub.com/terser/terser/compare/v5.22.0...v5.23.0)

- When top_retain will keep a variable assignment around, inline the
assignee when it's shorter than the name
([#&#8203;1434](https://togithub.com/terser/terser/issues/1434))
-   Remove empty class `static {}` blocks.

###
[`v5.22.0`](https://togithub.com/terser/terser/blob/HEAD/CHANGELOG.md#v5220)

[Compare
Source](https://togithub.com/terser/terser/compare/v5.21.0...v5.22.0)

- Do not `unsafe`ly 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`](https://togithub.com/terser/terser/blob/HEAD/CHANGELOG.md#v5210)

[Compare
Source](https://togithub.com/terser/terser/compare/v5.20.0...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`](https://togithub.com/terser/terser/blob/HEAD/CHANGELOG.md#v5200)

[Compare
Source](https://togithub.com/terser/terser/compare/v5.19.4...v5.20.0)

- Passing `minify()` zero files will now throw a clean exception
([#&#8203;1450](https://togithub.com/terser/terser/issues/1450))
- `drop_console` supports passing in an array of `console.*` method
names ([#&#8203;1445](https://togithub.com/terser/terser/issues/1445))
- New DOM properties from the WebGPU API have been added for use in the
property mangler
([#&#8203;1436](https://togithub.com/terser/terser/issues/1436))
- Internal code simplification
([#&#8203;1437](https://togithub.com/terser/terser/issues/1437))

###
[`v5.19.4`](https://togithub.com/terser/terser/blob/HEAD/CHANGELOG.md#v5194)

[Compare
Source](https://togithub.com/terser/terser/compare/v5.19.3...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`](https://togithub.com/terser/terser/blob/HEAD/CHANGELOG.md#v5193)

[Compare
Source](https://togithub.com/terser/terser/compare/v5.19.2...v5.19.3)

-   Fix side effect detection of `optional?.chains`.
- Add roundRect to domprops.js
([#&#8203;1426](https://togithub.com/terser/terser/issues/1426))

###
[`v5.19.2`](https://togithub.com/terser/terser/blob/HEAD/CHANGELOG.md#v5192)

[Compare
Source](https://togithub.com/terser/terser/compare/v5.19.1...v5.19.2)

-   fix performance hit from avoiding HTML comments in the output

###
[`v5.19.1`](https://togithub.com/terser/terser/blob/HEAD/CHANGELOG.md#v5191)

[Compare
Source](https://togithub.com/terser/terser/compare/v5.19.0...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`](https://togithub.com/terser/terser/blob/HEAD/CHANGELOG.md#v5190)

[Compare
Source](https://togithub.com/terser/terser/compare/v5.18.2...v5.19.0)

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

###
[`v5.18.2`](https://togithub.com/terser/terser/blob/HEAD/CHANGELOG.md#v5182)

[Compare
Source](https://togithub.com/terser/terser/compare/v5.18.1...v5.18.2)

-   Stop using recursion in hoisted defuns fix.

###
[`v5.18.1`](https://togithub.com/terser/terser/blob/HEAD/CHANGELOG.md#v5181)

[Compare
Source](https://togithub.com/terser/terser/compare/v5.18.0...v5.18.1)

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

###
[`v5.18.0`](https://togithub.com/terser/terser/blob/HEAD/CHANGELOG.md#v5180)

[Compare
Source](https://togithub.com/terser/terser/compare/v5.17.7...v5.18.0)

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

###
[`v5.17.7`](https://togithub.com/terser/terser/blob/HEAD/CHANGELOG.md#v5177)

[Compare
Source](https://togithub.com/terser/terser/compare/v5.17.6...v5.17.7)

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

###
[`v5.17.6`](https://togithub.com/terser/terser/blob/HEAD/CHANGELOG.md#v5176)

[Compare
Source](https://togithub.com/terser/terser/compare/v5.17.5...v5.17.6)

- 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
([#&#8203;1393](https://togithub.com/terser/terser/issues/1393))

###
[`v5.17.5`](https://togithub.com/terser/terser/blob/HEAD/CHANGELOG.md#v5175)

[Compare
Source](https://togithub.com/terser/terser/compare/v5.17.4...v5.17.5)

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

###
[`v5.17.4`](https://togithub.com/terser/terser/blob/HEAD/CHANGELOG.md#v5174)

[Compare
Source](https://togithub.com/terser/terser/compare/v5.17.3...v5.17.4)

-   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`](https://togithub.com/terser/terser/blob/HEAD/CHANGELOG.md#v5173)

[Compare
Source](https://togithub.com/terser/terser/compare/v5.17.2...v5.17.3)

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

###
[`v5.17.2`](https://togithub.com/terser/terser/blob/HEAD/CHANGELOG.md#v5172)

[Compare
Source](https://togithub.com/terser/terser/compare/v5.17.1...v5.17.2)

- 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`](https://togithub.com/terser/terser/blob/HEAD/CHANGELOG.md#v5171)

[Compare
Source](https://togithub.com/terser/terser/compare/v5.17.0...v5.17.1)

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

###
[`v5.17.0`](https://togithub.com/terser/terser/blob/HEAD/CHANGELOG.md#v5170)

[Compare
Source](https://togithub.com/terser/terser/compare/v5.16.9...v5.17.0)

- Drop vestigial `= undefined` default argument in IIFE calls
([#&#8203;1366](https://togithub.com/terser/terser/issues/1366))
- Evaluate known arrays' `.length` property when statically determinable
- Add `@__KEY__` annotation to mangle string literals
([#&#8203;1365](https://togithub.com/terser/terser/issues/1365))

###
[`v5.16.9`](https://togithub.com/terser/terser/blob/HEAD/CHANGELOG.md#v5169)

[Compare
Source](https://togithub.com/terser/terser/compare/v5.16.8...v5.16.9)

- Fix parentheses in output of optional chains (`a?.b`)
([#&#8203;1374](https://togithub.com/terser/terser/issues/1374))
- More documentation on source maps
([#&#8203;1368](https://togithub.com/terser/terser/issues/1368))
- New `lhs_constants` option, allowing to stop Terser from swapping
comparison operands
([#&#8203;1361](https://togithub.com/terser/terser/issues/1361))

###
[`v5.16.8`](https://togithub.com/terser/terser/blob/HEAD/CHANGELOG.md#v5168)

[Compare
Source](https://togithub.com/terser/terser/compare/v5.16.6...v5.16.8)

- 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`](https://togithub.com/terser/terser/blob/HEAD/CHANGELOG.md#v5166)

[Compare
Source](https://togithub.com/terser/terser/compare/v5.16.5...v5.16.6)

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

</details>

---

### 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.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/elastic/kibana).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy44Ny4yIiwidXBkYXRlZEluVmVyIjoiMzcuOTMuMSIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jonathan Budzenski <jon@elastic.co>
2023-12-18 14:26:55 -06:00
.buildkite [Index Management] Fix broken jest tests (#173029) 2023-12-18 17:21:28 +01:00
.ci [Ops] Switch to using the migrated secret paths for vault secrets (#172175) 2023-12-06 10:40:44 +01:00
.github [FTR] Move retryOnStale service to shared location (#173394) 2023-12-18 17:47:10 +00:00
api_docs [api-docs] 2023-12-18 Daily api_docs build (#173488) 2023-12-18 01:09:06 -05:00
config Allow using JWT credentials to grant API keys. (#172444) 2023-12-04 20:07:41 +01:00
dev_docs Consolidate shared ux team dev docs (#172966) 2023-12-11 15:20:23 +01:00
docs [DOCS] Add 'secrets' to Fleet settings page (#172637) 2023-12-14 11:01:26 -05:00
examples Upgrade EUI to v91.0.0 (with backports) (#170716) 2023-12-18 11:15:15 -06:00
kbn_pm chore(NA): exit early with link for docs when using kbn_pm on windows (#139745) 2023-02-10 15:38:29 +00:00
legacy_rfcs rename @elastic/* packages to @kbn/* (#138957) 2022-08-18 08:54:42 -07:00
licenses
packages [FTR] Move retryOnStale service to shared location (#173394) 2023-12-18 17:47:10 +00:00
plugins
scripts Add script to check test file code ownership (#173411) 2023-12-18 17:41:39 +01:00
src Upgrade EUI to v91.0.0 (with backports) (#170716) 2023-12-18 11:15:15 -06:00
test [FTR] Move retryOnStale service to shared location (#173394) 2023-12-18 17:47:10 +00:00
typings Upgrade EUI to v88.3.0 (#166676) 2023-09-20 08:03:02 -05:00
vars [RAM] Alert table all column fix 2 (#161054) 2023-07-07 09:57:22 -06:00
x-pack [Alert Details] Update alert status for untracked alerts (#173520) 2023-12-18 12:32:51 -07:00
.backportrc.json chore(NA): adds 8.13 into backportrc (#172748) 2023-12-07 05:00:59 +00:00
.bazelignore Bazel config maintenance (#135442) 2022-07-05 10:20:26 -05:00
.bazeliskversion chore(NA): upgrade bazelisk into v1.11.0 (#125070) 2022-02-09 20:43:57 +00:00
.bazelrc chore(NA): use new and more performant BuildBuddy servers (#130350) 2022-04-18 02:01:38 +01:00
.bazelrc.common Transpile packages on demand, validate all TS projects (#146212) 2022-12-22 19:00:29 -06:00
.bazelversion chore(NA): revert bazel upgrade for v5.2.0 (#135096) 2022-06-24 03:57:21 +01:00
.browserslistrc
.editorconfig .editorconfig MDX files should follow the same rules as MD (#96942) 2021-04-13 11:40:42 -04:00
.eslintignore [NOTICE.txt] Fix notices for Gainsight and FullStory (#146004) 2023-01-13 14:49:43 +01:00
.eslintrc.js [Security Solution] [Elastic AI Assistant] Retrieval Augmented Generation (RAG) for Alerts (#172542) 2023-12-06 00:56:04 -05:00
.gitattributes
.gitignore [FTR] add service to test user roles on serverless (#170417) 2023-12-04 12:09:05 -07:00
.i18nrc.json @kbn/search-errors package (#171563) 2023-12-07 10:39:19 -07:00
.node-version Revert "Upgrade to Node.js 20 (#162696)" 2023-11-21 07:15:23 -06:00
.npmrc
.nvmrc Revert "Upgrade to Node.js 20 (#162696)" 2023-11-21 07:15:23 -06:00
.prettierignore
.prettierrc
.stylelintignore chore(NA): stop grouping bazel out symlink folders (#96066) 2021-04-01 14:16:14 -05:00
.stylelintrc Bump stylelint to ^14 (#136693) 2022-07-20 10:11:00 -05:00
.telemetryrc.json [Telemetry] Fix telemetry-tools TS parser for packages (#149819) 2023-01-31 04:09:09 +03:00
.yarnrc chore(NA): manage npm dependencies within bazel (#92864) 2021-03-03 12:37:20 -05:00
BUILD.bazel Transpile packages on demand, validate all TS projects (#146212) 2022-12-22 19:00:29 -06:00
catalog-info.yaml [ci] Add sonarqube scan pipeline (#172524) 2023-12-05 11:58:14 -06:00
CODE_OF_CONDUCT.md Add CODE_OF_CONDUCT.md (#87439) 2021-02-23 09:01:51 +01:00
CONTRIBUTING.md Update doc slugs to improve analytic tracking, move to appropriate folders (#113630) 2021-10-04 13:36:45 -04:00
FAQ.md Fix small typos in the root md files (#134609) 2022-06-23 09:36:11 -05:00
fleet_packages.json fleet: upgrade universal profiling integrations (#172432) 2023-12-04 15:59:09 +01:00
github_checks_reporter.json
Jenkinsfile [CI] Disable tracked branch jobs in Jenkins, enable reporting in Buildkite (#112604) 2021-09-21 11:31:15 -04:00
kibana.d.ts fix all violations 2022-04-16 01:37:30 -05:00
LICENSE.txt
nav-kibana-dev.docnav.json Consolidate shared ux team dev docs (#172966) 2023-12-11 15:20:23 +01:00
NOTICE.txt [FullStory] Update snippet (#153570) 2023-04-18 04:06:05 -07:00
package.json Update dependency terser to ^5.26.0 (main) (#173226) 2023-12-18 14:26:55 -06:00
preinstall_check.js Always throw error objects - never strings (#171498) 2023-11-20 09:23:16 -05:00
README.md [README] Update version Compatibility with Elasticsearch (#116040) 2022-01-10 10:31:21 -05:00
renovate.json [chore] Adjust Renovate settings for Storybook (#172032) 2023-11-27 16:14:39 -08:00
RISK_MATRIX.mdx Add "Risk Matrix" section to the PR template (#100649) 2021-06-02 14:43:47 +02:00
SECURITY.md
STYLEGUIDE.mdx [styleguide] update path to scss theme (#140742) 2022-09-15 10:41:14 -04:00
tsconfig.base.json [FTR] Move retryOnStale service to shared location (#173394) 2023-12-18 17:47:10 +00:00
tsconfig.browser.json
tsconfig.browser_bazel.json [build_ts_refs] improve caches, allow building a subset of projects (#107981) 2021-08-10 22:12:45 -07:00
tsconfig.json Transpile packages on demand, validate all TS projects (#146212) 2022-12-22 19:00:29 -06:00
TYPESCRIPT.md Fix small typos in the root md files (#134609) 2022-06-23 09:36:11 -05:00
versions.json chore(NA): update versions after v7.17.17 bump (#173211) 2023-12-13 21:28:58 +00:00
WORKSPACE.bazel Revert "Upgrade to Node.js 20 (#162696)" 2023-11-21 07:15:23 -06:00
yarn.lock Update dependency terser to ^5.26.0 (main) (#173226) 2023-12-18 14:26:55 -06:00

Kibana

Kibana is your window into the Elastic Stack. Specifically, it's a browser-based analytics and search dashboard for Elasticsearch.

Getting Started

If you just want to try Kibana out, check out the Elastic Stack Getting Started Page to give it a whirl.

If you're interested in diving a bit deeper and getting a taste of Kibana's capabilities, head over to the Kibana Getting Started Page.

Using a Kibana Release

If you want to use a Kibana release in production, give it a test run, or just play around:

Building and Running Kibana, and/or Contributing Code

You might want to build Kibana locally to contribute some code, test out the latest features, or try out an open PR:

Documentation

Visit Elastic.co for the full Kibana documentation.

For information about building the documentation, see the README in elastic/docs.

Version Compatibility with Elasticsearch

Ideally, you should be running Elasticsearch and Kibana with matching version numbers. If your Elasticsearch has an older version number or a newer major number than Kibana, then Kibana will fail to run. If Elasticsearch has a newer minor or patch number than Kibana, then the Kibana Server will log a warning.

Note: The version numbers below are only examples, meant to illustrate the relationships between different types of version numbers.

Situation Example Kibana version Example ES version Outcome
Versions are the same. 7.15.1 7.15.1 💚 OK
ES patch number is newer. 7.15.0 7.15.1 ⚠️ Logged warning
ES minor number is newer. 7.14.2 7.15.0 ⚠️ Logged warning
ES major number is newer. 7.15.1 8.0.0 🚫 Fatal error
ES patch number is older. 7.15.1 7.15.0 ⚠️ Logged warning
ES minor number is older. 7.15.1 7.14.2 🚫 Fatal error
ES major number is older. 8.0.0 7.15.1 🚫 Fatal error

Questions? Problems? Suggestions?

  • If you've found a bug or want to request a feature, please create a GitHub Issue. Please check to make sure someone else hasn't already created an issue for the same topic.
  • Need help using Kibana? Ask away on our Kibana Discuss Forum and a fellow community member or Elastic engineer will be glad to help you out.