Commit graph

64 commits

Author SHA1 Message Date
Kibana Machine
b3f9c35760
[8.15] chore(NA): remove usage of re2 and replace it with a non native module (#188134) (#188366)
# Backport

This will backport the following commits from `main` to `8.15`:
- [chore(NA): remove usage of re2 and replace it with a non native
module (#188134)](https://github.com/elastic/kibana/pull/188134)

<!--- Backport version: 9.4.3 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Tiago
Costa","email":"tiago.costa@elastic.co"},"sourceCommit":{"committedDate":"2024-07-15T19:33:28Z","message":"chore(NA):
remove usage of re2 and replace it with a non native module
(#188134)\n\nThis PR removes the usage of the native module version of
`re2` and\r\nreplaces it with a js port called `re2js`.\r\nIt also ends
our usage of native node modules in production and it\r\nremoves the
task from the build as well. Further steps will be taken\r\nalong our
strategy to avoid future usages of native node modules in
prod\r\nenvironments.","sha":"3c338a82c2d6d59c91f0f3b74f725231c69c5b13","branchLabelMapping":{"^v8.16.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["chore","Team:Operations","release_note:skip","backport:all-open","v8.16.0"],"title":"chore(NA):
remove usage of re2 and replace it with a non native
module","number":188134,"url":"https://github.com/elastic/kibana/pull/188134","mergeCommit":{"message":"chore(NA):
remove usage of re2 and replace it with a non native module
(#188134)\n\nThis PR removes the usage of the native module version of
`re2` and\r\nreplaces it with a js port called `re2js`.\r\nIt also ends
our usage of native node modules in production and it\r\nremoves the
task from the build as well. Further steps will be taken\r\nalong our
strategy to avoid future usages of native node modules in
prod\r\nenvironments.","sha":"3c338a82c2d6d59c91f0f3b74f725231c69c5b13"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.16.0","branchLabelMappingKey":"^v8.16.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/188134","number":188134,"mergeCommit":{"message":"chore(NA):
remove usage of re2 and replace it with a non native module
(#188134)\n\nThis PR removes the usage of the native module version of
`re2` and\r\nreplaces it with a js port called `re2js`.\r\nIt also ends
our usage of native node modules in production and it\r\nremoves the
task from the build as well. Further steps will be taken\r\nalong our
strategy to avoid future usages of native node modules in
prod\r\nenvironments.","sha":"3c338a82c2d6d59c91f0f3b74f725231c69c5b13"}}]}]
BACKPORT-->

Co-authored-by: Tiago Costa <tiago.costa@elastic.co>
2024-07-15 22:11:46 +01:00
Alejandro Fernández Haro
5cc881cec2
fix(renovate): remove "prCreation":"not-pending" (#187027) 2024-06-26 17:15:26 -07:00
Alejandro Fernández Haro
a46ea29bbd
chore(launchdarkly): Update renovate rule (#186979) 2024-06-26 09:08:57 -07:00
Paulo Henrique
cb11a1b004
[Cloud Security] Adding MSW for mocking server responses in React integration tests (#184555)
## Summary

It closes #183977

This PR introduces the MSW library into Kibana and setups for MSW usage
with Jest for integration testing of React components in the Cloud
Security Posture plugin.

It also adds the setup for the initial
[handlers](https://mswjs.io/docs/concepts/request-handler/), and
configures a test for the `<NoFindingsStates/>` components using MSW to
exemplify how the library works.

### Problem Statement

Currently, integration tests for React components that interact with the
server are hard to write and maintain, as they often require mocking
functions implementation and responses, this can lead to tests that do
not accurately verify the intended functionality and can be hard to
maintain as the implementation of the functions changes.

This leads to situations our team faces now, where due to the difficult
maintainability of integration tests, we rely much more on End-to-End
tests, and maintaining those many End-to-End comes with its own set of
tradeoffs, as oftentimes End-to-End tests are detected by the CI as
failing or flaky, and as flakiness can happen in End-to-end tests due to
its nature of multiple integrated systems, this concept proposes that
it's better to reserve End-to-end tests for the features in the most
critical path and tests that test multiple integrated systems as those
will benefit most of the end-to-end testing. For all the other tests we
should focus on unit and integration tests.

### How MSW works

MSW is a library that allows you to mock server responses in your tests,
it works by intercepting the requests made by the client and returning
the mocked responses, this way we can test how the client behaves in
different states of the lifecycle such as loading, error, and success.

This proposes that we should use MSW to enhance our integration tests,
and give preference to writing integration tests over End-to-End tests
whenever possible, but this doesn't mean that we should stop writing
end-to-end tests, as end-to-end tests are still important for the
features in the most critical path and tests that tests multiple
integrated systems.


### MSW Diagram

Here's a diagram that shows how MSW works with Jest tests:

```mermaid
%%{init:{'themeCSS':' g:nth-of-type(3) rect.actor { fill: #eee; };g:nth-of-type(7) rect.actor { fill: #eee; };'}}%%

sequenceDiagram
    participant ReactComponent as React Component
    participant API as API
    participant MSW as MSW Mock Server
    participant Jest as Jest Test

    Jest->>ReactComponent: Setup component test and mock providers
    Jest->>MSW: Setup Mock Server
    Note over Jest,MSW: start listening for requests
    activate MSW
    ReactComponent->>API: Make API Call
    Note over ReactComponent,API: loading state
    activate API
    MSW-->>API: Intercepts API Call
    deactivate API
    alt is success
        MSW-->>ReactComponent: Send Mocked success Response
    else is error
        MSW-->>ReactComponent: Send Mocked error Response
    end
    deactivate MSW
    ReactComponent-->>Jest: Receive Mocked data and render
```


### Documentation

- Refer to this [PR](https://github.com/elastic/security-team/pull/9624)
containing the documentation of how MSW works and how to use it.
- Refer to this
[presentation](https://docs.google.com/presentation/d/1KYtBaeDMZrpoU5lnKASm8GvCxhrXVqMKxWgR-Xvaxzc/edit#slide=id.g11f0f180654_1_0)
to understand the main motivations behind this proposal.

### How to test it


```
yarn test:jest x-pack/plugins/cloud_security_posture/public/components/no_findings_states.test.tsx

```


### Screenshot


![image](f0673be2-f087-42b5-8ed6-42ce3159e378)


Intercepted requests logged with `{debug: true}`:


![image](b512d486-8a2a-422e-bf26-3c6b60a8c6d2)

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2024-06-18 11:08:01 -07:00
Alejandro Fernández Haro
cb825d046a
Upgrade LaunchDarkly clients (#185884) 2024-06-11 01:38:48 +02:00
Nick Partridge
eaed27c14b
Update renovate config (#184785)
- Replace the `extends` config from the deprecated `config:base` to
`config:recommended`.
- Removes global defaults from top-level group and applies the
`prCreation` and `stabilityDays` options only to non-elastic dependency
groups.
- Replaces deprecated `stabilityDays` option with new
[`minimumReleaseAge`](https://docs.renovatebot.com/configuration-options/#minimumreleaseage).
- Replaces all `matchPackage*` options to `matchDep*` options.
- Format entire config file with prettier.
2024-06-05 10:57:53 -07:00
Sander Philipse
95eb12cc45
[Search] Renaming the search frontend group (#184565)
## Summary

This renames the enterprise-search-frontend group to search-kibana to
better align with what our group actually does.
2024-06-03 13:14:49 -07:00
Drew Tate
c4ef9bdccf
[ES|QL] generate function validation tests (#183343)
## Summary

Close https://github.com/elastic/kibana/issues/182390


### To test

You can test all aspects of the script by first making some changes to
`packages/kbn-esql-validation-autocomplete/src/validation/validation.test.ts`
- delete several tests from an existing function describe block ("block
1"—except don't choose "date_diff" since it has a bunch of custom tests)
- delete another function describe block completely ("block 2")
- change the expected result of several of the tests in a third function
describe block ("block 3")

Then, run `yarn maketests` from within
`packages/kbn-esql-validation-autocomplete`

**Expected result**
- Block 1 should have the deleted tests restored
- Block 2 should be restored entirely (though it may be moved in the
tests file)
- Block 3 should be untouched

### Checklist

- [x]
[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)
was added for features that require explanation or tutorials
- [x] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios

---------

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2024-05-16 16:06:16 +02:00
Larry Gregory
d38cf12fca
Bump @redocly/cli to version 1.12.0 (#182744)
## Summary

Bump @redocly/cli to version `1.12.0`.

[Changelog](https://redocly.com/docs/cli/changelog/)
2024-05-08 10:10:04 -04:00
Larry Gregory
40a1641357
Migrate from listr to listr2 (#182683)
## Summary

Migrates CLI tasks from `listr` to `listr2`. The former hasn't been
updated in a long time, and the community has moved on to `listr2`.

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2024-05-07 07:30:42 -04:00
Aleh Zasypkin
c8d7f42b2b
chore: bump ejs from 3.1.8 to 3.1.10. (#182331)
## Summary

Bump `ejs` from `3.1.8` to `3.1.10`. While looking at other packages
that depend on `ejs` noticed `apidoc-markdown` that is only used by ML
team, so assigned ownership in Rennovate as well (cc @elastic/ml-ui).

```shell
npm ls ejs
kibana@8.15.0 /kibana
├─┬ apidoc-markdown@7.3.2
│ └── ejs@3.1.10 deduped
└── ejs@3.1.10
```
2024-05-02 12:33:25 +02:00
Sid
bccb0cd4ba
Upgrade nodemailer dependency 6.6.2 -> 6.9.9 (#176487)
Update nodemailer production dependency (6.6.2 -> 6.9.9)

Nodemailer changelog: 
- Fixing GHSA:
https://github.com/nodemailer/nodemailer/blob/master/CHANGELOG.md#699-2024-02-01
- Update hotmail/outlook well known service
https://github.com/nodemailer/nodemailer/blob/master/CHANGELOG.md#673-2022-03-21

---------

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2024-03-19 17:00:55 +01:00
Elena Stoeva
dbf017ba31
Rename Management team name in codeowners file (#178626)
The AppEx Management team was recently renamed on GitHub from
`platform-deployment-management` to `kibana-management`. This PR updates
the Codeowners file and all references to the team name.

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2024-03-18 15:46:31 +00:00
Jean-Louis Leysens
613d25238b
[HTTP] Assert subset of CSP directives for serverless (#178411)
## Summary

On serverless tests it would be useful to assert that a base set of CSP
directives and values are present.

## Test

Followed instructions in ./x-pack/test_serverless/README.md

## Notes

- Added new dev dependency `content-security-policy-parser` to ease
comparison of CSP directives
2024-03-12 07:44:29 -07:00
Thomas Watson
5315f93b9c
Remove unused Renovate config package rule (#176819) 2024-02-14 08:51:52 +01:00
Thomas Watson
7ef1ca70a6
Clean up branch names in Renovate config (#176370) 2024-02-13 02:54:19 -07:00
Nathan L Smith
5b25191153
Remove Infra Monitoring UI team (#175745)
This team no longer exists and this removes all references to the team
in Kibana.
2024-01-30 13:33:57 -06:00
Patryk Kopyciński
d4be2a33ac
Replace deprecated node-sass with sass #2 (#173942)
## Summary

The previous PR https://github.com/elastic/kibana/pull/161813 was
reverted due to the broken webpack config

eef1afcd59

---------

Co-authored-by: Tiago Costa <tiago.costa@elastic.co>
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Jon <jon@elastic.co>
2023-12-28 10:35:17 -06:00
Jonathan Budzenski
3def20e8dc Revert "Replace deprecated node-sass with sass (#161813)"
This reverts commit 87d5d6be26.
2023-12-21 09:59:08 -06:00
Patryk Kopyciński
87d5d6be26
Replace deprecated node-sass with sass (#161813)
## Summary

https://sass-lang.com/blog/libsass-is-deprecated/

Most of the changes related to 
https://sass-lang.com/documentation/breaking-changes/slash-div/

---------

Co-authored-by: Tiago Costa <tiago.costa@elastic.co>
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2023-12-21 12:51:58 +01:00
Brad White
daffee89f9
[chore] Adjust Renovate settings for Storybook (#172032)
## Summary

This is a continuation of #171453 to stop package updates in #169655 due
to Storybook V7 breaking changes. `@storybook/testing-react` uses
different versioning than other `@storybook/*` packages, so requires a
new rule. Also adjusts the default labelling for Storybook PRs.
2023-11-27 16:14:39 -08:00
Brad White
d392473d90
[chore] Restrict Storybook version for Renovate (#171453)
Renovate bot keeps updating Storybook in #169655 to 7.x which has
[significant breaking
changes](https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#from-version-65x-to-700),
CI failures, and requires Webpack 5. This upgrade will require a human
due to how our SB is setup.

[Renovate
Docs](https://docs.renovatebot.com/configuration-options/#allowedversions)
2023-11-21 14:43:15 -07:00
Alejandro Fernández Haro
91c8506ece
[LaunchDarkly] Add renovate (#169516) 2023-10-23 17:55:53 +02:00
Jeramy Soucy
5d328feb7f
Upgrade zod@3.21.4→3.22.3 (#168041)
## Summary

Upgrades `zod` from v3.21.4 to v3.22.3.
2023-10-06 09:41:06 -07:00
Patryk Kopyciński
924664fc79
Bump cypress@13.3.0 (#162383)
## Summary

Bump Cypress-related dependencies to the latest versions and update
`renovate.json` to do it automatically in the future

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Gloria Hornero <gloria.hornero@elastic.co>
2023-10-01 10:55:01 +02:00
Kurt
70c7fc571b
Upgrade openpgp 5.3.0 to 5.10.1 (#165526)
## Summary

Upgrade `openpgp` from `5.3.0` to `5.10.1`

Commit log:
https://github.com/openpgpjs/openpgpjs/compare/v5.3.0...v5.10.1

There is an incompatibility of `Uint8Array` when using Jest/JSDom with
the TextEncoder/TextDecoder from node `util`.

`https://github.com/kayahr/text-encoding` has been added as a
`devDependency` so it can be used in the polyfill. It provides a working
TextEncoder/Decoder for our Jest tests.

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2023-09-18 08:31:16 -04:00
Thom Heymann
0fa2223cff
Remove deprecated styles and components from static error pages (#165513)
Resolves #160122

## Summary

Remove deprecated styles and components from static error pages

## Screenshot

<img width="696" alt="Screenshot 2023-09-01 at 19 45 13"
src="575deadf-9efd-4e63-8752-df5b69de5bd1">

## Testing

- Create a user without any roles and try to login

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2023-09-05 07:12:30 -07:00
Alejandro Fernández Haro
4b88b10b0f
[Logger] Strip ANSI escape codes from the message (#164337)
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2023-08-25 11:53:57 +02:00
Jeramy Soucy
d076300a52
Upgrades protobufjs 6.11.3 -> 7.2.4 (#161407)
Upgrades protobufjs from 6.11.3 to 7.2.4 via...
- @grpc/grpc-js 1.6.7 -> 1.6.8
- @opentelemetry/exporter-metrics-otlp-grpc 0.30.0 -> 0.34.0

Upgrades for compatibility...
- @opentelemetry/api-metrics 0.30.0 -> 0.31.0
- @opentelemetry/exporter-prometheus 0.30.0 -> 0.31.0
- @opentelemetry/sdk-metrics-base 0.30.0 -> 0.31.0
2023-07-13 08:51:55 -04:00
Karl Godard
0a5b4233d1
Session view and k8s dashboard fixes (#154982)
## Summary

- fixes some issues in session_view wrt to logs-cloud_defend.process*
data.
- added a 'collapse all' children feature. with sticky scroll session
leader!
- k8s dashboard session table: user.name -> user.id (id is more likely
to be set for both endpoint and cloud-defend)
- Fixed a major bug when 'searching within terminal'. If a process is
highlighted it would cause kibana to blow up.
- session view handling of session leader user info improved.
- codeowners updated. awp-viz -> sec-cloudnative-integrations
- a badge will be added to the selector header when it's not in used by
a response flow

### Screenshots

![image](https://user-images.githubusercontent.com/16198204/232567236-98e57a3a-913c-4a25-8271-e1ee138b25dd.png)

Sticky session leader demo:
https://www.loom.com/share/b039e48fdfd647b291f293d643339660

### Checklist

Delete any items that are not applicable to this PR.

- [x] Any text added follows [EUI's writing
guidelines](https://elastic.github.io/eui/#/guidelines/writing), uses
sentence case text and includes [i18n
support](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)
- [x]
[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)
was added for features that require explanation or tutorials
- [x] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2023-04-17 16:22:28 -07:00
Jon
be71713035
Upgrade typescript-eslint to 5.54.0 (#152358)
We're seeing infrequent but reliable build failures due to parse errors
when linting -
https://buildkite.com/elastic/kibana-on-merge/builds/27649#01869780-fb18-4a4d-990e-b8d5a05a701a/225-792.

Looking into bug fixes upstream.
2023-03-23 10:52:41 -05:00
Thomas Watson
5fa79fc9b3
Remove @loaders.gl/polyfills dev-dependency (#151287) 2023-02-15 15:03:37 +01:00
Jon
78947c4c6f
Upgrade terser to 5.16.1 (#149702)
Also updates our renovate config to track this. Plan on adding a few
more build related dependencies.
2023-02-06 12:52:01 -07:00
Kurt
de4e53d712
Upgrade jsonwebtoken from 8 to 9 (#148128)
## Summary

Upgrading the `jsonwebtoken` library used in
`cloud_integration/cloud_chat` plugin from v8.5 to v9.0

## Migration
After reviewing the affected code it looks like this upgrade shouldn't
cause any breaking changes. Please see the v8 --> v9 migration guide
[here](https://github.com/auth0/node-jsonwebtoken/wiki/Migration-Notes:-v8-to-v9)

## Questions for reviewers
- What is the size and type of `secret` that we are passing into
`generateSignedJwt`?

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Clint Andrew Hall <clint.hall@elastic.co>
2023-01-24 12:32:44 -05:00
Karl Godard
0b19cfafa3
Custom fleet policy UX for new integration (cloud defend v1) (#147300)
## Summary

New Kibana plugin created for an integration called "Cloud defend for
containers" which will have a corresponding agent service which can
proactively block and alert on executable creation or modification in a
running container.

This plugin is purely in place to configure the fleet policy UX around
this new integration. For now we have added a yaml editor as a custom
input to our integration. The monaco-yaml libary was added to allow
support for JSON schema validation support for yaml.

Integration PR is up, and a work in progress: (waiting on some content
for the doc page)
https://github.com/elastic/integrations/pull/4680

### Screenshot


![image](https://user-images.githubusercontent.com/16198204/207160791-73e11e05-953b-42ba-b4dd-a4904bd95451.png)

### Checklist

Delete any items that are not applicable to this PR.

- [x] Any text added follows [EUI's writing
guidelines](https://elastic.github.io/eui/#/guidelines/writing), uses
sentence case text and includes [i18n
support](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)
- [x] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios
- [ ] Any UI touched in this PR is usable by keyboard only (learn more
about [keyboard accessibility](https://webaim.org/techniques/keyboard/))
- [ ] Any UI touched in this PR does not create any new axe failures
(run axe in browser:
[FF](https://addons.mozilla.org/en-US/firefox/addon/axe-devtools/),
[Chrome](https://chrome.google.com/webstore/detail/axe-web-accessibility-tes/lhdoppojpmngadmnindnejefpokejbdd?hl=en-US))
- [x] This renders correctly on smaller devices using a responsive
layout. (You can test this [in your
browser](https://www.browserstack.com/guide/responsive-testing-on-local-server))
- [x] This was checked for [cross-browser
compatibility](https://www.elastic.co/support/matrix#matrix_browsers)

Co-authored-by: Karl Godard <karlgodard@elastic.co>
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2022-12-19 17:37:39 -07:00
Felix Stürmer
eb75937130
[Logs UI] Implement log stream page state as a state machine (#145234)
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Kerry Gallagher <kerry.gallagher@elastic.co>
closes https://github.com/elastic/kibana/issues/145131
2022-12-13 17:50:36 +01:00
Jonathan Budzenski
d40e0f79a3
Upgrade node-sass to 8.0.0 (#145355)
This is needed for Node 18.

https://github.com/sass/node-sass/releases/tag/v8.0.0

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-12-08 10:04:57 -06:00
renovate[bot]
fba0aca193
Update jest (main) (#146599)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[@types/jest](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/jest)
([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped)) |
[`29.2.0` ->
`29.2.3`](https://renovatebot.com/diffs/npm/@types%2fjest/29.2.0/29.2.3)
|
[![age](https://badges.renovateapi.com/packages/npm/@types%2fjest/29.2.3/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/@types%2fjest/29.2.3/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/@types%2fjest/29.2.3/compatibility-slim/29.2.0)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/@types%2fjest/29.2.3/confidence-slim/29.2.0)](https://docs.renovatebot.com/merge-confidence/)
|
| [babel-jest](https://togithub.com/facebook/jest) | [`^29.2.2` ->
`^29.3.1`](https://renovatebot.com/diffs/npm/babel-jest/29.3.1/29.3.1) |
[![age](https://badges.renovateapi.com/packages/npm/babel-jest/29.3.1/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/babel-jest/29.3.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/babel-jest/29.3.1/compatibility-slim/29.3.1)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/babel-jest/29.3.1/confidence-slim/29.3.1)](https://docs.renovatebot.com/merge-confidence/)
|

---

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

👻 **Immortal**: This PR will be recreated if closed unmerged. Get
[config help](https://togithub.com/renovatebot/renovate/discussions) if
that's undesired.

---

- [ ] <!-- 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://app.renovatebot.com/dashboard#github/elastic/kibana).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC40MC4yIiwidXBkYXRlZEluVmVyIjoiMzQuNDAuMiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jonathan Budzenski <jon@elastic.co>
2022-12-06 14:56:59 -06:00
Jonathan Budzenski
8038127a0e
Add jest to renovate config (#145877)
This adds a renovate config for core jest packages, but skips a few jest
related libraries. They need to be updated separately and then added to
the config. jest-styled-components breaks a bunch of snapshots, for
example.
2022-11-29 09:23:32 -06:00
Joe Reuter
15c12bdd39
Rename all vis-editors and datavis to visualizations (#144589)
* rename all the vis-editors

* rename datavis to visualizations
2022-11-05 19:16:20 -04:00
Joseph Crail
c888aca9b4
[Profiling] Move additional flamegraph calculations into UI (#142415)
* Remove total and sampled traces from API

* Remove Samples array from flamegraph API

These values are redundant with CountInclusive so could be removed
without issue.

* Remove totalCount and eventsIndex

These values are no longer needed.

* Remove samples from callee tree

* Refactor columnar view model into separate file

* Add more lazy-loaded flamegraph calculations

* Fix spacing in frame label

* Remove frame information API

* Improve test coverage

* Fix type error

* Replace fnv-plus with custom 64-bit FNV1-a

* Add exceptions for linting errors

* Add workaround for frame type truncation bug

* Replace prior workaround for truncation bug

This fix supercedes the prior workaround and addresses the truncation at
its source.

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-10-05 06:10:38 -07:00
Thomas Watson
db931bf60e
Update renovate.json with new backport labels (#141954)
Use `backport:all-open` instead of the deprecated `auto-backport` label.
2022-09-27 12:03:40 -04:00
Karl Godard
9a77d2408c
[Terminal Output] tty toggle now shows number of bytes in tooltip, if no output we disa… (#141174)
* tty toggle now shows number of bytes in tooltip, if no output we disable button (instead of hide)

* fixed tests

Co-authored-by: Karl Godard <karlgodard@elastic.co>
2022-09-20 19:06:09 -07:00
Dario Gieselaar
b66cf585ca
[Profiling] Add Profiling application (#140722)
Co-authored-by: Joseph Crail <jbcrail@gmail.com>
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Dario Gieselaar <dario.gieselaar@elastic.co>
Co-authored-by: Joseph Crail <joseph.crail@elastic.co>
Co-authored-by: Stephanie Boomsma <stephanieboomsma@optimyze.cloud>
Co-authored-by: inge4pres <fgualazzi@gmail.com>
Co-authored-by: inge4pres <francesco.gualazzi@elastic.co>
Co-authored-by: Francesco Gualazzi <inge4pres@users.noreply.github.com>
Co-authored-by: Tim Rühsen <tim.ruhsen@elastic.co>
Co-authored-by: Tim Rühsen <tim.ruehsen@gmx.de>
2022-09-15 19:24:41 +02:00
renovate[bot]
66f6d5972c
Update dependency @elastic/charts to v48 (main) (#139859)
* Update dependency @elastic/charts to v48

* Update renovate.json

* fix: switch to a 2 layer time axis instead of 3

* test: update test with new layers count

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Nick Partridge <nick.ryan.partridge@gmail.com>
Co-authored-by: Robert Monfera <monfera@users.noreply.github.com>
Co-authored-by: Marco Vettorello <marco.vettorello@elastic.co>
2022-09-06 09:25:32 -07:00
Sander Philipse
9307cacf7d
Bump redux (4.2.0), reselect (4.1.6), @reduxjs/toolkit (1.7.2), redux-thunk (2.4.1) and immer (9.0.15) (#138818)
* Upgrade Redux to 4.2.0 and Reselect to 4.1.6

* Fix typing in timelines TypedUseSelectorHook

* Upgrade reduxjs-toolkit and fix types

* Upgrade more dependencies and fix types

* [CI] Auto-commit changed files from 'node scripts/eslint --no-cache --fix'

* Undo unnecessary type fixes

* Add renovate.json config for redux

* Add caret to @reduxjs/toolkit version

* Update package.json

Co-authored-by: Patryk Kopyciński <contact@patrykkopycinski.com>

* Update package.json

Co-authored-by: Patryk Kopyciński <contact@patrykkopycinski.com>

* Update package.json

Co-authored-by: Patryk Kopyciński <contact@patrykkopycinski.com>

* yarn bootstrap

* Ts-ignore failing types in presentation_util redux_embeddables

* Downgrade @reduxjs/toolkit to 1.7.2

* Undo ts-ignores in redux-embeddables

* Remove CombinedState comment

* Rebase onto main

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Patryk Kopyciński <contact@patrykkopycinski.com>
2022-08-25 17:39:50 +02:00
Patryk Kopyciński
8f9bfe17b5
Bump react-hook-form (#139229)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-08-23 15:24:18 +02:00
Patryk Kopyciński
a5ef5916a3
Bump react-query@4 (#137429) 2022-08-21 14:43:44 +02:00
Patryk Kopyciński
f0325b2f7d
Renovate react-query (#136480) 2022-07-18 17:57:28 +02:00
Aleh Zasypkin
9ea8730886
Introduce user profiles (#132522)
Co-authored-by: Thom Heymann <thom.heymann@elastic.co>
2022-06-09 08:07:00 +02:00