Skip to content

Commit

Permalink
[8.x] Update LaunchDarkly (main) (#198163) (#198598)
Browse files Browse the repository at this point in the history
# Backport

This will backport the following commits from `main` to `8.x`:
- [Update LaunchDarkly (main)
(#198163)](#198163)

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

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

<!--BACKPORT
[{"author":{"name":"elastic-renovate-prod[bot]","email":"174716857+elastic-renovate-prod[bot]@users.noreply.github.com"},"sourceCommit":{"committedDate":"2024-10-31T18:08:16Z","message":"Update
LaunchDarkly (main) (#198163)\n\nThis PR contains the following
updates:\r\n\r\n| Package | Type | Update | Change
|\r\n|---|---|---|---|\r\n|\r\n[@launchdarkly/node-server-sdk](https://togithub.com/launchdarkly/js-core/tree/main/packages/sdk/server-node)\r\n([source](https://togithub.com/launchdarkly/js-core))
| dependencies |\r\npatch | [`^9.6.1`
->\r\n`^9.7.0`](https://renovatebot.com/diffs/npm/@launchdarkly%2fnode-server-sdk/9.7.0/9.7.0)\r\n|\r\n|\r\n[launchdarkly-js-client-sdk](https://togithub.com/launchdarkly/js-client-sdk)\r\n|
dependencies | minor | [`^3.4.0`
->\r\n`^3.5.0`](https://renovatebot.com/diffs/npm/launchdarkly-js-client-sdk/3.4.0/3.5.0)\r\n|\r\n\r\n---\r\n\r\n###
Release
Notes\r\n\r\n<details>\r\n<summary>launchdarkly/js-client-sdk\r\n(launchdarkly-js-client-sdk)</summary>\r\n\r\n###\r\n[`v3.5.0`](https://togithub.com/launchdarkly/js-client-sdk/blob/HEAD/CHANGELOG.md#350-2024-10-18)\r\n\r\n[Compare\r\nSource](https://togithub.com/launchdarkly/js-client-sdk/compare/3.4.0...3.5.0)\r\n\r\n#####
Features\r\n\r\n- Add support for client-side prerequisite
events.\r\n([#&#8203;306](https://togithub.com/launchdarkly/js-client-sdk/issues/306))\r\n([fe51da0](https://togithub.com/launchdarkly/js-client-sdk/commit/fe51da0c2b974fb9b4d5fe99ad46cea35993a704))\r\n\r\n</details>\r\n\r\n---\r\n\r\n###
Configuration\r\n\r\n📅 **Schedule**: Branch creation - At any time (no
schedule defined),\r\nAutomerge - At any time (no schedule
defined).\r\n\r\n🚦 **Automerge**: Disabled by config. Please merge this
manually once you\r\nare satisfied.\r\n\r\n♻ **Rebasing**: Whenever PR
becomes conflicted, or you tick the\r\nrebase/retry checkbox.\r\n\r\n👻
**Immortal**: This PR will be recreated if closed unmerged.
Get\r\n[config
help](https://togithub.com/renovatebot/renovate/discussions)
if\r\nthat's undesired.\r\n\r\n---\r\n\r\n- [ ] <!-- rebase-check -->If
you want to rebase/retry this PR, check\r\nthis
box\r\n\r\n---\r\n\r\nThis PR has been generated by
[Renovate\r\nBot](https://togithub.com/renovatebot/renovate).\r\n\r\n<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MjUuMSIsInVwZGF0ZWRJblZlciI6IjM3LjQyNS4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJUZWFtOkNvcmUiLCJUZWFtOlNlY3VyaXR5IiwiYmFja3BvcnQ6cHJldi1taW5vciIsInJlbGVhc2Vfbm90ZTpza2lwIl19-->\r\n\r\n---------\r\n\r\nCo-authored-by:
elastic-renovate-prod[bot]
<174716857+elastic-renovate-prod[bot]@users.noreply.github.com>\r\nCo-authored-by:
Alex Szabo
<[email protected]>","sha":"d1531e351e3eedb83100d2c8710b4a8ef283f22f","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Core","Team:Security","release_note:skip","v9.0.0","backport:prev-minor"],"title":"Update
LaunchDarkly
(main)","number":198163,"url":"https://github.com/elastic/kibana/pull/198163","mergeCommit":{"message":"Update
LaunchDarkly (main) (#198163)\n\nThis PR contains the following
updates:\r\n\r\n| Package | Type | Update | Change
|\r\n|---|---|---|---|\r\n|\r\n[@launchdarkly/node-server-sdk](https://togithub.com/launchdarkly/js-core/tree/main/packages/sdk/server-node)\r\n([source](https://togithub.com/launchdarkly/js-core))
| dependencies |\r\npatch | [`^9.6.1`
->\r\n`^9.7.0`](https://renovatebot.com/diffs/npm/@launchdarkly%2fnode-server-sdk/9.7.0/9.7.0)\r\n|\r\n|\r\n[launchdarkly-js-client-sdk](https://togithub.com/launchdarkly/js-client-sdk)\r\n|
dependencies | minor | [`^3.4.0`
->\r\n`^3.5.0`](https://renovatebot.com/diffs/npm/launchdarkly-js-client-sdk/3.4.0/3.5.0)\r\n|\r\n\r\n---\r\n\r\n###
Release
Notes\r\n\r\n<details>\r\n<summary>launchdarkly/js-client-sdk\r\n(launchdarkly-js-client-sdk)</summary>\r\n\r\n###\r\n[`v3.5.0`](https://togithub.com/launchdarkly/js-client-sdk/blob/HEAD/CHANGELOG.md#350-2024-10-18)\r\n\r\n[Compare\r\nSource](https://togithub.com/launchdarkly/js-client-sdk/compare/3.4.0...3.5.0)\r\n\r\n#####
Features\r\n\r\n- Add support for client-side prerequisite
events.\r\n([#&#8203;306](https://togithub.com/launchdarkly/js-client-sdk/issues/306))\r\n([fe51da0](https://togithub.com/launchdarkly/js-client-sdk/commit/fe51da0c2b974fb9b4d5fe99ad46cea35993a704))\r\n\r\n</details>\r\n\r\n---\r\n\r\n###
Configuration\r\n\r\n📅 **Schedule**: Branch creation - At any time (no
schedule defined),\r\nAutomerge - At any time (no schedule
defined).\r\n\r\n🚦 **Automerge**: Disabled by config. Please merge this
manually once you\r\nare satisfied.\r\n\r\n♻ **Rebasing**: Whenever PR
becomes conflicted, or you tick the\r\nrebase/retry checkbox.\r\n\r\n👻
**Immortal**: This PR will be recreated if closed unmerged.
Get\r\n[config
help](https://togithub.com/renovatebot/renovate/discussions)
if\r\nthat's undesired.\r\n\r\n---\r\n\r\n- [ ] <!-- rebase-check -->If
you want to rebase/retry this PR, check\r\nthis
box\r\n\r\n---\r\n\r\nThis PR has been generated by
[Renovate\r\nBot](https://togithub.com/renovatebot/renovate).\r\n\r\n<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MjUuMSIsInVwZGF0ZWRJblZlciI6IjM3LjQyNS4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJUZWFtOkNvcmUiLCJUZWFtOlNlY3VyaXR5IiwiYmFja3BvcnQ6cHJldi1taW5vciIsInJlbGVhc2Vfbm90ZTpza2lwIl19-->\r\n\r\n---------\r\n\r\nCo-authored-by:
elastic-renovate-prod[bot]
<174716857+elastic-renovate-prod[bot]@users.noreply.github.com>\r\nCo-authored-by:
Alex Szabo
<[email protected]>","sha":"d1531e351e3eedb83100d2c8710b4a8ef283f22f"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/198163","number":198163,"mergeCommit":{"message":"Update
LaunchDarkly (main) (#198163)\n\nThis PR contains the following
updates:\r\n\r\n| Package | Type | Update | Change
|\r\n|---|---|---|---|\r\n|\r\n[@launchdarkly/node-server-sdk](https://togithub.com/launchdarkly/js-core/tree/main/packages/sdk/server-node)\r\n([source](https://togithub.com/launchdarkly/js-core))
| dependencies |\r\npatch | [`^9.6.1`
->\r\n`^9.7.0`](https://renovatebot.com/diffs/npm/@launchdarkly%2fnode-server-sdk/9.7.0/9.7.0)\r\n|\r\n|\r\n[launchdarkly-js-client-sdk](https://togithub.com/launchdarkly/js-client-sdk)\r\n|
dependencies | minor | [`^3.4.0`
->\r\n`^3.5.0`](https://renovatebot.com/diffs/npm/launchdarkly-js-client-sdk/3.4.0/3.5.0)\r\n|\r\n\r\n---\r\n\r\n###
Release
Notes\r\n\r\n<details>\r\n<summary>launchdarkly/js-client-sdk\r\n(launchdarkly-js-client-sdk)</summary>\r\n\r\n###\r\n[`v3.5.0`](https://togithub.com/launchdarkly/js-client-sdk/blob/HEAD/CHANGELOG.md#350-2024-10-18)\r\n\r\n[Compare\r\nSource](https://togithub.com/launchdarkly/js-client-sdk/compare/3.4.0...3.5.0)\r\n\r\n#####
Features\r\n\r\n- Add support for client-side prerequisite
events.\r\n([#&#8203;306](https://togithub.com/launchdarkly/js-client-sdk/issues/306))\r\n([fe51da0](https://togithub.com/launchdarkly/js-client-sdk/commit/fe51da0c2b974fb9b4d5fe99ad46cea35993a704))\r\n\r\n</details>\r\n\r\n---\r\n\r\n###
Configuration\r\n\r\n📅 **Schedule**: Branch creation - At any time (no
schedule defined),\r\nAutomerge - At any time (no schedule
defined).\r\n\r\n🚦 **Automerge**: Disabled by config. Please merge this
manually once you\r\nare satisfied.\r\n\r\n♻ **Rebasing**: Whenever PR
becomes conflicted, or you tick the\r\nrebase/retry checkbox.\r\n\r\n👻
**Immortal**: This PR will be recreated if closed unmerged.
Get\r\n[config
help](https://togithub.com/renovatebot/renovate/discussions)
if\r\nthat's undesired.\r\n\r\n---\r\n\r\n- [ ] <!-- rebase-check -->If
you want to rebase/retry this PR, check\r\nthis
box\r\n\r\n---\r\n\r\nThis PR has been generated by
[Renovate\r\nBot](https://togithub.com/renovatebot/renovate).\r\n\r\n<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MjUuMSIsInVwZGF0ZWRJblZlciI6IjM3LjQyNS4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJUZWFtOkNvcmUiLCJUZWFtOlNlY3VyaXR5IiwiYmFja3BvcnQ6cHJldi1taW5vciIsInJlbGVhc2Vfbm90ZTpza2lwIl19-->\r\n\r\n---------\r\n\r\nCo-authored-by:
elastic-renovate-prod[bot]
<174716857+elastic-renovate-prod[bot]@users.noreply.github.com>\r\nCo-authored-by:
Alex Szabo
<[email protected]>","sha":"d1531e351e3eedb83100d2c8710b4a8ef283f22f"}}]}]
BACKPORT-->

Co-authored-by: elastic-renovate-prod[bot] <174716857+elastic-renovate-prod[bot]@users.noreply.github.com>
  • Loading branch information
1 parent 7486f9d commit e853b2b
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 12 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -1016,7 +1016,7 @@
"@langchain/langgraph": "0.0.34",
"@langchain/openai": "^0.1.3",
"@langtrase/trace-attributes": "^3.0.8",
"@launchdarkly/node-server-sdk": "^9.6.1",
"@launchdarkly/node-server-sdk": "^9.7.0",
"@launchdarkly/openfeature-node-server": "^1.0.0",
"@loaders.gl/core": "^3.4.7",
"@loaders.gl/json": "^3.4.7",
Expand Down Expand Up @@ -1159,7 +1159,7 @@
"kea": "^2.6.0",
"langchain": "^0.2.11",
"langsmith": "^0.1.55",
"launchdarkly-js-client-sdk": "^3.4.0",
"launchdarkly-js-client-sdk": "^3.5.0",
"load-json-file": "^6.2.0",
"lodash": "^4.17.21",
"lru-cache": "^4.1.5",
Expand Down
8 changes: 8 additions & 0 deletions packages/kbn-optimizer/src/worker/webpack.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -280,6 +280,14 @@ export function getWebpackConfig(
plugins: ['@babel/plugin-transform-logical-assignment-operators'],
},
},
{
test: /node_modules[\/\\]launchdarkly[^\/\\]+[\/\\].*.js$/,
loaders: 'babel-loader',
options: {
envName: worker.dist ? 'production' : 'development',
presets: [BABEL_PRESET],
},
},
{
test: /\.(html|md|txt|tmpl)$/,
use: {
Expand Down
20 changes: 10 additions & 10 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -7429,7 +7429,7 @@
"@launchdarkly/js-sdk-common" "2.11.0"
semver "7.5.4"

"@launchdarkly/node-server-sdk@^9.6.1":
"@launchdarkly/node-server-sdk@^9.7.0":
version "9.7.0"
resolved "https://registry.yarnpkg.com/@launchdarkly/node-server-sdk/-/node-server-sdk-9.7.0.tgz#87223c2d3ab5fc7186065a0974960c94f73573ad"
integrity sha512-ABOsjcjH9pFdyG1m5++lhP+ngxfx4GMcIfgTp0iSPncuh0dMxCCWSx831gbhxR9M+f2x4EnsQ9HEdwnmwktb9g==
Expand Down Expand Up @@ -22190,18 +22190,18 @@ [email protected]:
resolved "https://registry.yarnpkg.com/launchdarkly-eventsource/-/launchdarkly-eventsource-2.0.3.tgz#8a7b8da5538153f438f7d452b1c87643d900f984"
integrity sha512-VhFjppK7jXlcEKaS7bxdoibB5j01NKyeDR7a8XfssdDGNWCTsbF0/5IExSmPi44eDncPhkoPNxlSZhEZvrbD5w==

launchdarkly-js-client-sdk@^3.4.0:
version "3.4.0"
resolved "https://registry.yarnpkg.com/launchdarkly-js-client-sdk/-/launchdarkly-js-client-sdk-3.4.0.tgz#5b5959b548edac8a0f368eb40b079d942573d37b"
integrity sha512-3v1jKy1RECT0SG/3SGlyRO32vweoNxvWiJuIChRh/Zhk98cHpANuwameXVhwJ4WEDNZJTur73baaKAyatSP46A==
launchdarkly-js-client-sdk@^3.5.0:
version "3.5.0"
resolved "https://registry.yarnpkg.com/launchdarkly-js-client-sdk/-/launchdarkly-js-client-sdk-3.5.0.tgz#cb0e3d6fc21e56750aa86fcaf75733d7f510946f"
integrity sha512-3dgxC9S8K2ix6qjdArjZGOJPtAytgfQTuE+vWgjWJK7725rpYbuqbHghIFr5B0+WyWyVBYANldjWd1JdtYLwsw==
dependencies:
escape-string-regexp "^4.0.0"
launchdarkly-js-sdk-common "5.3.0"
launchdarkly-js-sdk-common "5.4.0"

launchdarkly-js-sdk-common@5.3.0:
version "5.3.0"
resolved "https://registry.yarnpkg.com/launchdarkly-js-sdk-common/-/launchdarkly-js-sdk-common-5.3.0.tgz#336a54843f5ba3541632e10014e49dff45d41674"
integrity sha512-NI5wFF8qhjtpRb4KelGdnwNIOf/boLlbLiseV7uf1jxSeoM/L30DAz87RT8VhYCSGCo4LedGILQFednI/MKFkA==
launchdarkly-js-sdk-common@5.4.0:
version "5.4.0"
resolved "https://registry.yarnpkg.com/launchdarkly-js-sdk-common/-/launchdarkly-js-sdk-common-5.4.0.tgz#c9787daebe0b583b01d2334218524ea142c85001"
integrity sha512-Kb3SDcB6S0HUpFNBZgtEt0YUV/fVkyg+gODfaOCJQ0Y0ApxLKNmmJBZOrPE2qIdzw536u4BqEjtaJdqJWCEElg==
dependencies:
base64-js "^1.3.0"
fast-deep-equal "^2.0.1"
Expand Down

0 comments on commit e853b2b

Please sign in to comment.