kibana/packages/kbn-std
Jean-Louis Leysens 104111b178
[7.17] Config loader: remove unecessary properties (#154902) (#155028)
# Backport

This will backport the following commits from `main` to `7.17`:
- [Config loader: remove unecessary properties
(#154902)](https://github.com/elastic/kibana/pull/154902)

<!--- Backport version: 8.9.7 -->

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

<!--BACKPORT [{"author":{"name":"Pierre
Gayvallet","email":"pierre.gayvallet@elastic.co"},"sourceCommit":{"committedDate":"2023-04-13T16:16:51Z","message":"Config
loader: remove unecessary properties (#154902)\n\n- Updates the logic of
`ensureDeepObject` to remove unnecessary\r\nproperties when expanding
the object\r\n- We had three versions of this helper, centralized it
within `@kbn/std`\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"b75d89a2d86c976d60144f8c57b1d415b2f35ac3","branchLabelMapping":{"^v8.8.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Core","release_note:skip","backport:prev-minor","v8.8.0","v8.7.1"],"number":154902,"url":"https://github.com/elastic/kibana/pull/154902","mergeCommit":{"message":"Config
loader: remove unecessary properties (#154902)\n\n- Updates the logic of
`ensureDeepObject` to remove unnecessary\r\nproperties when expanding
the object\r\n- We had three versions of this helper, centralized it
within `@kbn/std`\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"b75d89a2d86c976d60144f8c57b1d415b2f35ac3"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.8.0","labelRegex":"^v8.8.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/154902","number":154902,"mergeCommit":{"message":"Config
loader: remove unecessary properties (#154902)\n\n- Updates the logic of
`ensureDeepObject` to remove unnecessary\r\nproperties when expanding
the object\r\n- We had three versions of this helper, centralized it
within `@kbn/std`\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"b75d89a2d86c976d60144f8c57b1d415b2f35ac3"}},{"branch":"8.7","label":"v8.7.1","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/155006","number":155006,"state":"MERGED","mergeCommit":{"sha":"d9fbe142bf2a6ca7a3ef7260e2683e26a56ae846","message":"[8.7]
Config loader: remove unecessary properties (#154902) (#155006)\n\n#
Backport\n\nThis will backport the following commits from `main` to
`8.7`:\n- [Config loader: remove unecessary
properties\n(#154902)](https://github.com/elastic/kibana/pull/154902)\n\n<!---
Backport version: 8.9.7 -->\n\n### Questions ?\nPlease refer to the
[Backport
tool\ndocumentation](https://github.com/sqren/backport)\n\n<!--BACKPORT
[{\"author\":{\"name\":\"Pierre\nGayvallet\",\"email\":\"pierre.gayvallet@elastic.co\"},\"sourceCommit\":{\"committedDate\":\"2023-04-13T16:16:51Z\",\"message\":\"Config\nloader:
remove unecessary properties (#154902)\\n\\n- Updates the logic
of\n`ensureDeepObject` to remove unnecessary\\r\\nproperties when
expanding\nthe object\\r\\n- We had three versions of this helper,
centralized it\nwithin
`@kbn/std`\\r\\n\\r\\n---------\\r\\n\\r\\nCo-authored-by:
kibanamachine\n<42973632+kibanamachine@users.noreply.github.com>\",\"sha\":\"b75d89a2d86c976d60144f8c57b1d415b2f35ac3\",\"branchLabelMapping\":{\"^v8.8.0$\":\"main\",\"^v(\\\\d+).(\\\\d+).\\\\d+$\":\"$1.$2\"}},\"sourcePullRequest\":{\"labels\":[\"Team:Core\",\"release_note:skip\",\"backport:prev-minor\",\"v8.8.0\"],\"number\":154902,\"url\":\"https://github.com/elastic/kibana/pull/154902\",\"mergeCommit\":{\"message\":\"Config\nloader:
remove unecessary properties (#154902)\\n\\n- Updates the logic
of\n`ensureDeepObject` to remove unnecessary\\r\\nproperties when
expanding\nthe object\\r\\n- We had three versions of this helper,
centralized it\nwithin
`@kbn/std`\\r\\n\\r\\n---------\\r\\n\\r\\nCo-authored-by:
kibanamachine\n<42973632+kibanamachine@users.noreply.github.com>\",\"sha\":\"b75d89a2d86c976d60144f8c57b1d415b2f35ac3\"}},\"sourceBranch\":\"main\",\"suggestedTargetBranches\":[],\"targetPullRequestStates\":[{\"branch\":\"main\",\"label\":\"v8.8.0\",\"labelRegex\":\"^v8.8.0$\",\"isSourceBranch\":true,\"state\":\"MERGED\",\"url\":\"https://github.com/elastic/kibana/pull/154902\",\"number\":154902,\"mergeCommit\":{\"message\":\"Config\nloader:
remove unecessary properties (#154902)\\n\\n- Updates the logic
of\n`ensureDeepObject` to remove unnecessary\\r\\nproperties when
expanding\nthe object\\r\\n- We had three versions of this helper,
centralized it\nwithin
`@kbn/std`\\r\\n\\r\\n---------\\r\\n\\r\\nCo-authored-by:
kibanamachine\n<42973632+kibanamachine@users.noreply.github.com>\",\"sha\":\"b75d89a2d86c976d60144f8c57b1d415b2f35ac3\"}}]}]\nBACKPORT-->\n\nCo-authored-by:
Pierre Gayvallet <pierre.gayvallet@elastic.co>"}}]}] BACKPORT-->

---------

Co-authored-by: Pierre Gayvallet <pierre.gayvallet@elastic.co>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2023-04-17 11:28:49 -07:00
..
src [7.17] Config loader: remove unecessary properties (#154902) (#155028) 2023-04-17 11:28:49 -07:00
BUILD.bazel [7.x] [eslint] add rule to forbid async forEach bodies (#111637) (#112178) 2021-09-14 20:33:48 -04:00
jest.config.js [7.x] Elastic License 2.0 (#90192) 2021-02-03 18:39:13 -08:00
package.json chore(NA): moving @kbn/std to babel transpiler (#107177) (#107212) 2021-07-29 19:53:30 +00:00
README.md Create the @kbn/std package (#77329) (#77477) 2020-09-15 17:15:39 +02:00
tsconfig.json [build_ts_refs] improve caches, allow building a subset of projects (#107981) (#108139) 2021-08-11 05:08:54 -04:00

@kbn/std — Kibana standard library

This package is a set of utilities that can be used both on server-side and client-side.