kibana/packages/kbn-std/index.ts
Pierre Gayvallet 83abc6e3c0
[uiSettings] always use the latest config document to create the new one (#159649)
## Summary

Fix https://github.com/elastic/kibana/issues/159646

Fix the config creation-from-previous-one logic by always using the
latest config for the new version's creation


## Release Note

Fix a bug that could cause old Kibana deployments to loose their
uiSettings after an upgrade

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2023-06-19 00:09:27 -07:00

32 lines
1.3 KiB
TypeScript

/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License
* 2.0 and the Server Side Public License, v 1; you may not use this file except
* in compliance with, at your election, the Elastic License 2.0 or the Server
* Side Public License, v 1.
*/
export { assertNever } from './src/assert_never';
export type { Freezable } from './src/deep_freeze';
export { deepFreeze } from './src/deep_freeze';
export { get } from './src/get';
export { mapToObject } from './src/map_to_object';
export { merge } from './src/merge';
export { pick } from './src/pick';
export { withTimeout, isPromise } from './src/promise';
export type { URLMeaningfulParts } from './src/url';
export { isRelativeUrl, modifyUrl, getUrlOrigin } from './src/url';
export { unset } from './src/unset';
export { getFlattenedObject } from './src/get_flattened_object';
export { ensureNoUnsafeProperties } from './src/ensure_no_unsafe_properties';
export {
map$,
mapWithLimit$,
asyncMap,
asyncMapWithLimit,
asyncForEach,
asyncForEachWithLimit,
} from './src/iteration';
export { ensureDeepObject } from './src/ensure_deep_object';
export { Semaphore } from './src/semaphore';
export { stripVersionQualifier } from './src/strip_version_qualifier';