From d740042e1cc3634294bf31ed67119b3acfe837c3 Mon Sep 17 00:00:00 2001 From: "elastic-renovate-prod[bot]" <174716857+elastic-renovate-prod[bot]@users.noreply.github.com> Date: Tue, 21 Jan 2025 11:13:54 +0100 Subject: [PATCH] Update platform security modules (main) (#206227) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ### Manual update 2025-01-14: uuid v11 contains breaking changes. uuid will be bumped to v10 instead. ### This PR contains the following updates: | Package | Type | Update | Change | Pending | |---|---|---|---|---| | [@types/js-yaml](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/js-yaml) ([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/js-yaml)) | devDependencies | patch | [`^4.0.5` -> `^4.0.9`](https://renovatebot.com/diffs/npm/@types%2fjs-yaml/4.0.5/4.0.9) | | | [@types/lodash](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/lodash) ([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/lodash)) | devDependencies | patch | [`^4.17.13` -> `^4.17.14`](https://renovatebot.com/diffs/npm/@types%2flodash/4.17.13/4.17.14) | | | [@types/object-hash](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/object-hash) ([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/object-hash)) | devDependencies | major | [`^1.3.0` -> `^3.0.6`](https://renovatebot.com/diffs/npm/@types%2fobject-hash/1.3.0/3.0.6) | | | [@types/uuid](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/uuid) ([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/uuid)) | devDependencies | major | [`^9.0.0` -> `^10.0.0`](https://renovatebot.com/diffs/npm/@types%2fuuid/9.0.0/10.0.0) | | | [dependency-cruiser](https://togithub.com/sverweij/dependency-cruiser) | devDependencies | minor | [`^16.4.2` -> `^16.8.0`](https://renovatebot.com/diffs/npm/dependency-cruiser/16.4.2/16.8.0) | `16.9.0` | | [fast-deep-equal](https://togithub.com/epoberezkin/fast-deep-equal) | dependencies | patch | [`^3.1.1` -> `^3.1.3`](https://renovatebot.com/diffs/npm/fast-deep-equal/3.1.3/3.1.3) | | | [minimist](https://togithub.com/minimistjs/minimist) | devDependencies | patch | [`^1.2.6` -> `^1.2.8`](https://renovatebot.com/diffs/npm/minimist/1.2.8/1.2.8) | | | [object-hash](https://togithub.com/puleos/object-hash) | dependencies | major | [`^1.3.1` -> `^3.0.0`](https://renovatebot.com/diffs/npm/object-hash/1.3.1/3.0.0) | | | [uuid](https://togithub.com/uuidjs/uuid) | dependencies | major | [~~`9.0.0` -> `11.0.3`~~](https://renovatebot.com/diffs/npm/uuid/9.0.0/11.0.3)`9.0.0` -> `10.0.0` | ~~`11.0.5` (+1)~~ | --- ### Release Notes
sverweij/dependency-cruiser (dependency-cruiser) ### [`v16.8.0`](https://togithub.com/sverweij/dependency-cruiser/releases/tag/v16.8.0) [Compare Source](https://togithub.com/sverweij/dependency-cruiser/compare/v16.7.0...v16.8.0) #### โœจ features - [`dd81580`](https://togithub.com/sverweij/dependency-cruiser/commit/dd815802) feat: enables matching transitive dependencies in 'required' rules ([#​975](https://togithub.com/sverweij/dependency-cruiser/issues/975)) - thanks to [@​ThiagoMaia1](https://togithub.com/ThiagoMaia1) for suggesting and testing the feature #### ๐Ÿ› fixes - [`7bcabe7`](https://togithub.com/sverweij/dependency-cruiser/commit/7bcabe70) refactor: simplifies a few boolean expressions - the dependency bump below ([`20a7a2f`](https://togithub.com/sverweij/dependency-cruiser/commit/20a7a2f1)) also bumped `watskeburt` to latest, which makes both the `--affected` cli option and the cache work better on ms-windows and other ms-dos based operating systems. #### ๐Ÿ‘ท maintenance - [`20a7a2f`](https://togithub.com/sverweij/dependency-cruiser/commit/20a7a2f1) build(npm): updates external dependencies #### ๐Ÿงน chores - [`fdbb72a`](https://togithub.com/sverweij/dependency-cruiser/commit/fdbb72a1) chore(configs): makes 'unlimited' config inherit individual options from the base config - [`8595b73`](https://togithub.com/sverweij/dependency-cruiser/commit/8595b73d) chore(tools): adds a script that prints a readable AST from any tsc-readable file - [`476c956`](https://togithub.com/sverweij/dependency-cruiser/commit/476c9562) chore(npm): updates external devDependencies ### [`v16.7.0`](https://togithub.com/sverweij/dependency-cruiser/releases/tag/v16.7.0) [Compare Source](https://togithub.com/sverweij/dependency-cruiser/compare/v16.6.0...v16.7.0) #### โœจ feature: recognize type imports in jsdoc Dependency-cruiser now has the ability to recognize imports in jsdoc - both the new ones [introduced in TS5.5](https://devblogs.microsoft.com/typescript/announcing-typescript-5-5/#the-jsdoc-import-tag) (e.g. `/** @​import { something } from "blah"; */`), as well as the [older ones](https://www.typescriptlang.org/docs/handbook/jsdoc-supported-types.html#import-types) (e.g. `/** @​type {import('blah').something} */`). It's behind [an option](https://togithub.com/sverweij/dependency-cruiser/blob/main/doc/options-reference.md#detectjsdocimports-detect-dependencies-in-jsdoc-comments) so it will only detect them if you want it to. Thanks to [@​louwers](https://togithub.com/louwers) for raising the associated issue and testing a very early version of PR [#​965](https://togithub.com/sverweij/dependency-cruiser/issues/965) - See [detectJSDocImports: detect dependencies in JSDoc comments](https://togithub.com/sverweij/dependency-cruiser/blob/main/doc/options-reference.md#detectjsdocimports-detect-dependencies-in-jsdoc-comments) in the options references for more information and some of the caveats (a.o. *really* needs the TypeScript compiler) - The PR's also grew the [dependencyTypes](https://togithub.com/sverweij/dependency-cruiser/blob/main/doc/rules-reference.md#ok---unknown-npm-unknown-undetermined---im-officially-weirded-out---whats-that-about) `jsdoc`, `jsdoc-bracket-import` and `jsdoc-import-tag` for use in your rules. commits: - [`09e9e41`](https://togithub.com/sverweij/dependency-cruiser/commit/09e9e415) feat(extract): adds recognition of jsdoc `@import` type imports ([#​965](https://togithub.com/sverweij/dependency-cruiser/issues/965)) - [`0d49477`](https://togithub.com/sverweij/dependency-cruiser/commit/0d494774) feat(extract): adds recognition of the 'classic' jsdoc 'bracket' imports ([#​969](https://togithub.com/sverweij/dependency-cruiser/issues/969)) - [`fedead6`](https://togithub.com/sverweij/dependency-cruiser/commit/fedead65) feat(init): adds question to enable detection of jsdoc imports ([#​970](https://togithub.com/sverweij/dependency-cruiser/issues/970)) #### ๐Ÿ› fixes - [`09ae707`](https://togithub.com/sverweij/dependency-cruiser/commit/09ae707e) fix(npm): shortens the message in the (only) distributed script #### ๐Ÿ‘ท maintenance - [`aae6edd`](https://togithub.com/sverweij/dependency-cruiser/commit/aae6eddf)/ [`b5bfe76`](https://togithub.com/sverweij/dependency-cruiser/commit/b5bfe76a) refactor: addresses small linting issues - [`2d2b0e5`](https://togithub.com/sverweij/dependency-cruiser/commit/2d2b0e5d) refactor(resolve): uses Maps for the context maps - [`79e1aa1`](https://togithub.com/sverweij/dependency-cruiser/commit/79e1aa19) build(npm): updates external dependencies - [`09ae707`](https://togithub.com/sverweij/dependency-cruiser/commit/09ae707e) fix(npm): shortens the message in the (only) distributed script #### ๐Ÿงน chores - [`8a288dd`](https://togithub.com/sverweij/dependency-cruiser/commit/8a288dda) chore: migrates to eslint 9 & flat config ([#​968](https://togithub.com/sverweij/dependency-cruiser/issues/968)) - [`69b59b6`](https://togithub.com/sverweij/dependency-cruiser/commit/69b59b69) chore: makes ci use node 23 instead of 22 - [`78960d3`](https://togithub.com/sverweij/dependency-cruiser/commit/78960d37) build(npm): adds svgo to devDependencies ### [`v16.6.0`](https://togithub.com/sverweij/dependency-cruiser/releases/tag/v16.6.0) [Compare Source](https://togithub.com/sverweij/dependency-cruiser/compare/v16.5.0...v16.6.0) #### โœจ features - [`b473be5`](https://togithub.com/sverweij/dependency-cruiser/commit/b473be5b) feat: adds support for svelte 5 ([#​963](https://togithub.com/sverweij/dependency-cruiser/issues/963)) #### ๐Ÿ‘ท maintenance - [`7683e90`](https://togithub.com/sverweij/dependency-cruiser/commit/7683e904) fix(extract): removes extraneous capturing group from a regular expression - [`65f2748`](https://togithub.com/sverweij/dependency-cruiser/commit/65f27486) build(npm): updates external dependencies ### [`v16.5.0`](https://togithub.com/sverweij/dependency-cruiser/releases/tag/v16.5.0) [Compare Source](https://togithub.com/sverweij/dependency-cruiser/compare/v16.4.2...v16.5.0) #### โœจ features - [`802ff6f`](https://togithub.com/sverweij/dependency-cruiser/commit/802ff6fa) feat(cli): expands the info displayed in --info ([#​959](https://togithub.com/sverweij/dependency-cruiser/issues/959)) #### ๐Ÿ“– documentation - [`1ca77ec`](https://togithub.com/sverweij/dependency-cruiser/commit/1ca77ec0) doc(FAQ): corrects a typo - [`8269857`](https://togithub.com/sverweij/dependency-cruiser/commit/82698571) doc(cli): clarify when using --max-depth is a good idea (*never, that's when* ๐Ÿ˜„) #### ๐Ÿ‘ท maintenance - [`9453f20`](https://togithub.com/sverweij/dependency-cruiser/commit/9453f201) build(npm): updates external dependencies
puleos/object-hash (object-hash) ### [`v3.0.0`](https://togithub.com/puleos/object-hash/compare/v2.2.0...v3.0.0) [Compare Source](https://togithub.com/puleos/object-hash/compare/v2.2.0...v3.0.0) ### [`v2.2.0`](https://togithub.com/puleos/object-hash/compare/v2.1.1...v2.2.0) [Compare Source](https://togithub.com/puleos/object-hash/compare/v2.1.1...v2.2.0) ### [`v2.1.1`](https://togithub.com/puleos/object-hash/compare/f61b9a5d584158abc3e31c29d2b1fa3d74772677...v2.1.1) [Compare Source](https://togithub.com/puleos/object-hash/compare/f61b9a5d584158abc3e31c29d2b1fa3d74772677...v2.1.1) ### [`v2.1.0`](https://togithub.com/puleos/object-hash/compare/v2.0.3...f61b9a5d584158abc3e31c29d2b1fa3d74772677) [Compare Source](https://togithub.com/puleos/object-hash/compare/v2.0.3...f61b9a5d584158abc3e31c29d2b1fa3d74772677) ### [`v2.0.3`](https://togithub.com/puleos/object-hash/compare/v2.0.2...v2.0.3) [Compare Source](https://togithub.com/puleos/object-hash/compare/v2.0.2...v2.0.3) ### [`v2.0.2`](https://togithub.com/puleos/object-hash/compare/v2.0.1...v2.0.2) [Compare Source](https://togithub.com/puleos/object-hash/compare/v2.0.1...v2.0.2) ### [`v2.0.1`](https://togithub.com/puleos/object-hash/compare/v2.0.0...v2.0.1) [Compare Source](https://togithub.com/puleos/object-hash/compare/v2.0.0...v2.0.1) ### [`v2.0.0`](https://togithub.com/puleos/object-hash/compare/v1.3.1...v2.0.0) [Compare Source](https://togithub.com/puleos/object-hash/compare/v1.3.1...v2.0.0)
uuidjs/uuid (uuid) ### [`v11.0.3`](https://togithub.com/uuidjs/uuid/blob/HEAD/CHANGELOG.md#1103-2024-11-04) [Compare Source](https://togithub.com/uuidjs/uuid/compare/v11.0.2...v11.0.3) ##### Bug Fixes - apply stricter typing to the v\* signatures ([#​831](https://togithub.com/uuidjs/uuid/issues/831)) ([c2d3fed](https://togithub.com/uuidjs/uuid/commit/c2d3fed22cfd47c22c8f22f6154abb5060648ce5)) - export internal uuid types ([#​833](https://togithub.com/uuidjs/uuid/issues/833)) ([341edf4](https://togithub.com/uuidjs/uuid/commit/341edf444ced63708ba336285dbec29443523939)) - remove sourcemaps ([#​827](https://togithub.com/uuidjs/uuid/issues/827)) ([b93ea10](https://togithub.com/uuidjs/uuid/commit/b93ea101af7382053032d4fb61cc85599d6c7216)) - revert "simplify type for v3 and v5" ([#​835](https://togithub.com/uuidjs/uuid/issues/835)) ([e2dee69](https://togithub.com/uuidjs/uuid/commit/e2dee691e95aba854a892d2507d8cd9f009bf61d)) ### [`v11.0.2`](https://togithub.com/uuidjs/uuid/blob/HEAD/CHANGELOG.md#1102-2024-10-28) [Compare Source](https://togithub.com/uuidjs/uuid/compare/v11.0.1...v11.0.2) ##### Bug Fixes - remove wrapper.mjs ([#​822](https://togithub.com/uuidjs/uuid/issues/822)) ([6683ad3](https://togithub.com/uuidjs/uuid/commit/6683ad38b048375b451eac1194960f24ba20e0ca)) ### [`v11.0.1`](https://togithub.com/uuidjs/uuid/blob/HEAD/CHANGELOG.md#1101-2024-10-27) [Compare Source](https://togithub.com/uuidjs/uuid/compare/v11.0.0...v11.0.1) ##### Bug Fixes - restore package.json#browser field ([#​817](https://togithub.com/uuidjs/uuid/issues/817)) ([ae8f386](https://togithub.com/uuidjs/uuid/commit/ae8f38657bca0ee053bf29c88c006b1ea05af1b5)) ### [`v11.0.0`](https://togithub.com/uuidjs/uuid/blob/HEAD/CHANGELOG.md#1100-2024-10-26) [Compare Source](https://togithub.com/uuidjs/uuid/compare/v10.0.0...v11.0.0) ##### โš  BREAKING CHANGES - refactor v1 internal state and options logic ([#​780](https://togithub.com/uuidjs/uuid/issues/780)) - refactor v7 internal state and options logic, fixes [#​764](https://togithub.com/uuidjs/uuid/issues/764) ([#​779](https://togithub.com/uuidjs/uuid/issues/779)) - Port to TypeScript, closes [#​762](https://togithub.com/uuidjs/uuid/issues/762) ([#​763](https://togithub.com/uuidjs/uuid/issues/763)) - update node support matrix (only support node 16-20) ([#​750](https://togithub.com/uuidjs/uuid/issues/750)) ##### Features - Port to TypeScript, closes [#​762](https://togithub.com/uuidjs/uuid/issues/762) ([#​763](https://togithub.com/uuidjs/uuid/issues/763)) ([1e0f987](https://togithub.com/uuidjs/uuid/commit/1e0f9870db864ca93f7a69db0d468b5e1b7605e7)) - update node support matrix (only support node 16-20) ([#​750](https://togithub.com/uuidjs/uuid/issues/750)) ([883b163](https://togithub.com/uuidjs/uuid/commit/883b163b9ab9d6655bfbd8a35e61a3c71674dfe1)) ##### Bug Fixes - missing v7 expectations in browser spec ([#​751](https://togithub.com/uuidjs/uuid/issues/751)) ([f54a866](https://togithub.com/uuidjs/uuid/commit/f54a866cedb2b3b96581157c1f4ac935a0b11411)) - refactor v1 internal state and options logic ([#​780](https://togithub.com/uuidjs/uuid/issues/780)) ([031b3d3](https://togithub.com/uuidjs/uuid/commit/031b3d3d738bc6694501ac0a37152b95ed500989)) - refactor v7 internal state and options logic, fixes [#​764](https://togithub.com/uuidjs/uuid/issues/764) ([#​779](https://togithub.com/uuidjs/uuid/issues/779)) ([9dbd1cd](https://togithub.com/uuidjs/uuid/commit/9dbd1cd4177c43fcaac961a3b16fb2d044c9940a)) - remove v4 options default assignment preventing native.randomUUID from being used ([#​786](https://togithub.com/uuidjs/uuid/issues/786)) ([afe6232](https://togithub.com/uuidjs/uuid/commit/afe62323c4408a824755a39d7b971a8ae06f7199)), closes [#​763](https://togithub.com/uuidjs/uuid/issues/763) - seq_hi shift for byte 6 ([#​775](https://togithub.com/uuidjs/uuid/issues/775)) ([1d532ca](https://togithub.com/uuidjs/uuid/commit/1d532ca374f181932a24a83fa98f71a5bd4f3e96)) - tsconfig module type ([#​778](https://togithub.com/uuidjs/uuid/issues/778)) ([7eff835](https://togithub.com/uuidjs/uuid/commit/7eff835cba334ad418f57768c00d15b918a9b419)) ### [`v10.0.0`](https://togithub.com/uuidjs/uuid/blob/HEAD/CHANGELOG.md#1000-2024-06-07) [Compare Source](https://togithub.com/uuidjs/uuid/compare/v9.0.1...v10.0.0) ##### โš  BREAKING CHANGES - update node support (drop node@12, node@14, add node@20) ([#​750](https://togithub.com/uuidjs/uuid/issues/750)) ##### Features - support support rfc9562 MAX uuid (new in RFC9562) ([#​714](https://togithub.com/uuidjs/uuid/issues/714)) ([0385cd3](https://togithub.com/uuidjs/uuid/commit/0385cd3f18ae9920678b2849932fa7a9d9aee7d0)) - support rfc9562 v6 uuids ([#​754](https://togithub.com/uuidjs/uuid/issues/754)) ([c4ed13e](https://togithub.com/uuidjs/uuid/commit/c4ed13e7159d87c9e42a349bdd9dc955f1af46b6)) - support rfc9562 v7 uuids ([#​681](https://togithub.com/uuidjs/uuid/issues/681)) ([db76a12](https://togithub.com/uuidjs/uuid/commit/db76a1284760c441438f50a57924b322dae08891)) - update node support matrix (only support node 16-20) ([#​750](https://togithub.com/uuidjs/uuid/issues/750)) ([883b163](https://togithub.com/uuidjs/uuid/commit/883b163b9ab9d6655bfbd8a35e61a3c71674dfe1)) - support rfc9562 v8 uuids ([#​759](https://togithub.com/uuidjs/uuid/issues/759)) ([35a5342](https://togithub.com/uuidjs/uuid/commit/35a53428202657e402e6b4aa68f56c08194541bf)) ##### Bug Fixes - revert "perf: remove superfluous call to toLowerCase ([#​677](https://togithub.com/uuidjs/uuid/issues/677))" ([#​738](https://togithub.com/uuidjs/uuid/issues/738)) ([e267b90](https://togithub.com/uuidjs/uuid/commit/e267b9073df1d0ce119ee53c0487fe76acb2be37)) ### [`v9.0.1`](https://togithub.com/uuidjs/uuid/blob/HEAD/CHANGELOG.md#901-2023-09-12) [Compare Source](https://togithub.com/uuidjs/uuid/compare/v9.0.0...v9.0.1) ##### build - Fix CI to work with Node.js 20.x
--- ### 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. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://togithub.com/renovatebot/renovate). --------- Co-authored-by: elastic-renovate-prod[bot] <174716857+elastic-renovate-prod[bot]@users.noreply.github.com> Co-authored-by: Jeramy Soucy --- .buildkite/package-lock.json | 14 +-- .buildkite/package.json | 2 +- package.json | 16 +-- .../fields_metadata/common/hashed_cache.ts | 2 +- .../logs_explorer/common/hashed_cache.ts | 2 +- yarn.lock | 106 +++++++++--------- 6 files changed, 68 insertions(+), 74 deletions(-) diff --git a/.buildkite/package-lock.json b/.buildkite/package-lock.json index 077986e3d636b..e9017b545e468 100644 --- a/.buildkite/package-lock.json +++ b/.buildkite/package-lock.json @@ -17,7 +17,7 @@ }, "devDependencies": { "@types/chai": "^4.3.3", - "@types/js-yaml": "^4.0.5", + "@types/js-yaml": "^4.0.9", "@types/minimatch": "^3.0.5", "@types/mocha": "^10.0.1", "@types/node": "^15.12.2", @@ -354,9 +354,9 @@ "dev": true }, "node_modules/@types/js-yaml": { - "version": "4.0.5", - "resolved": "https://registry.npmjs.org/@types/js-yaml/-/js-yaml-4.0.5.tgz", - "integrity": "sha512-FhpRzf927MNQdRZP0J5DLIdTXhjLYzeUTmLAu69mnVksLH9CJY3IuSeEgbKUki7GQZm0WqDkGzyxju2EZGD2wA==", + "version": "4.0.9", + "resolved": "https://registry.npmjs.org/@types/js-yaml/-/js-yaml-4.0.9.tgz", + "integrity": "sha512-k4MGaQl5TGo/iipqb2UDG2UwjXziSWkh0uysQelTlJpX1qGlpUZYm8PnO4DxG1qBomtJUdYJ6qR6xdIah10JLg==", "dev": true }, "node_modules/@types/minimatch": { @@ -2215,9 +2215,9 @@ "dev": true }, "@types/js-yaml": { - "version": "4.0.5", - "resolved": "https://registry.npmjs.org/@types/js-yaml/-/js-yaml-4.0.5.tgz", - "integrity": "sha512-FhpRzf927MNQdRZP0J5DLIdTXhjLYzeUTmLAu69mnVksLH9CJY3IuSeEgbKUki7GQZm0WqDkGzyxju2EZGD2wA==", + "version": "4.0.9", + "resolved": "https://registry.npmjs.org/@types/js-yaml/-/js-yaml-4.0.9.tgz", + "integrity": "sha512-k4MGaQl5TGo/iipqb2UDG2UwjXziSWkh0uysQelTlJpX1qGlpUZYm8PnO4DxG1qBomtJUdYJ6qR6xdIah10JLg==", "dev": true }, "@types/minimatch": { diff --git a/.buildkite/package.json b/.buildkite/package.json index 9edd3b330b0ed..3c7fe28d0c064 100644 --- a/.buildkite/package.json +++ b/.buildkite/package.json @@ -19,7 +19,7 @@ }, "devDependencies": { "@types/chai": "^4.3.3", - "@types/js-yaml": "^4.0.5", + "@types/js-yaml": "^4.0.9", "@types/minimatch": "^3.0.5", "@types/mocha": "^10.0.1", "@types/node": "^15.12.2", diff --git a/package.json b/package.json index 620f377d8db65..41e90a038fc47 100644 --- a/package.json +++ b/package.json @@ -1118,7 +1118,7 @@ "expiry-js": "0.1.7", "exponential-backoff": "^3.1.1", "extract-zip": "^2.0.1", - "fast-deep-equal": "^3.1.1", + "fast-deep-equal": "^3.1.3", "fast-glob": "^3.3.2", "fastest-levenshtein": "^1.0.16", "fflate": "^0.6.9", @@ -1187,7 +1187,7 @@ "nodemailer": "^6.9.15", "normalize-path": "^3.0.0", "nunjucks": "^3.2.4", - "object-hash": "^1.3.1", + "object-hash": "^3.0.0", "object-path-immutable": "^3.1.1", "openai": "^4.72.0", "openpgp": "5.10.1", @@ -1277,7 +1277,7 @@ "use-resize-observer": "^9.1.0", "usng.js": "^0.4.5", "utility-types": "^3.10.0", - "uuid": "9.0.0", + "uuid": "10.0.0", "vega": "^5.24.0", "vega-interpreter": "^1.0.4", "vega-lite": "^5.5.0", @@ -1610,7 +1610,7 @@ "@types/jsonwebtoken": "^9.0.0", "@types/license-checker": "15.0.0", "@types/loader-utils": "^2.0.3", - "@types/lodash": "^4.17.10", + "@types/lodash": "^4.17.14", "@types/lru-cache": "^5.1.0", "@types/lz-string": "^1.3.34", "@types/mapbox__vector-tile": "1.3.0", @@ -1630,7 +1630,7 @@ "@types/nodemailer": "^6.4.0", "@types/normalize-path": "^3.0.0", "@types/nunjucks": "^3.2.6", - "@types/object-hash": "^1.3.0", + "@types/object-hash": "^3.0.6", "@types/opn": "^5.1.0", "@types/ora": "^1.3.5", "@types/papaparse": "^5.0.3", @@ -1668,7 +1668,7 @@ "@types/tinycolor2": "^1.4.1", "@types/tough-cookie": "^4.0.5", "@types/type-detect": "^4.0.1", - "@types/uuid": "^9.0.0", + "@types/uuid": "^10.0.0", "@types/vinyl": "^2.0.4", "@types/vinyl-fs": "^3.0.2", "@types/watchpack": "^1.1.5", @@ -1723,7 +1723,7 @@ "cypress-recurse": "^1.35.2", "date-fns": "^2.29.3", "dependency-check": "^4.1.0", - "dependency-cruiser": "^16.4.2", + "dependency-cruiser": "^16.8.0", "ejs": "^3.1.10", "enzyme": "^3.11.0", "enzyme-to-json": "^3.6.2", @@ -1788,7 +1788,7 @@ "marge": "^1.0.1", "micromatch": "^4.0.8", "mini-css-extract-plugin": "1.1.0", - "minimist": "^1.2.6", + "minimist": "^1.2.8", "mocha": "^10.3.0", "mocha-junit-reporter": "^2.0.2", "mocha-multi-reporters": "^1.5.1", diff --git a/x-pack/platform/plugins/shared/fields_metadata/common/hashed_cache.ts b/x-pack/platform/plugins/shared/fields_metadata/common/hashed_cache.ts index c46e34224d4d6..26ee0bf602121 100644 --- a/x-pack/platform/plugins/shared/fields_metadata/common/hashed_cache.ts +++ b/x-pack/platform/plugins/shared/fields_metadata/common/hashed_cache.ts @@ -14,7 +14,7 @@ export interface IHashedCache { reset(): void; } -export class HashedCache { +export class HashedCache { private cache: LRUCache; constructor(options: LRUCache.Options = { max: 500 }) { diff --git a/x-pack/solutions/observability/plugins/logs_explorer/common/hashed_cache.ts b/x-pack/solutions/observability/plugins/logs_explorer/common/hashed_cache.ts index 4b5ac5c614472..0cb68f0b31cc1 100644 --- a/x-pack/solutions/observability/plugins/logs_explorer/common/hashed_cache.ts +++ b/x-pack/solutions/observability/plugins/logs_explorer/common/hashed_cache.ts @@ -13,7 +13,7 @@ export interface IHashedCache { reset(): void; } -export class HashedCache { +export class HashedCache { private cache: LRUCache; constructor(options: LRUCache.Options = { max: 500 }) { diff --git a/yarn.lock b/yarn.lock index b8310e96879b3..d2ade24226f4e 100644 --- a/yarn.lock +++ b/yarn.lock @@ -11891,15 +11891,10 @@ resolved "https://registry.yarnpkg.com/@types/lodash/-/lodash-4.14.184.tgz#23f96cd2a21a28e106dc24d825d4aa966de7a9fe" integrity sha512-RoZphVtHbxPZizt4IcILciSWiC6dcn+eZ8oX9IWEYfDMcocdd42f7NPI6fQj+6zI8y4E0L7gu2pcZKLGTRaV9Q== -"@types/lodash@^4.14.202": - version "4.17.0" - resolved "https://registry.yarnpkg.com/@types/lodash/-/lodash-4.17.0.tgz#d774355e41f372d5350a4d0714abb48194a489c3" - integrity sha512-t7dhREVv6dbNj0q17X12j7yDG4bD/DHYX7o5/DbDxobP0HnGPgpRz2Ej77aL7TZT3DSw13fqUTj8J4mMnqa7WA== - -"@types/lodash@^4.17.0", "@types/lodash@^4.17.10": - version "4.17.13" - resolved "https://registry.yarnpkg.com/@types/lodash/-/lodash-4.17.13.tgz#786e2d67cfd95e32862143abe7463a7f90c300eb" - integrity sha512-lfx+dftrEZcdBPczf9d0Qv0x+j/rfNCMuC6OcfXmO8gkfeNAY88PgKUbvG56whcN23gc27yenwF6oJZXGFpYxg== +"@types/lodash@^4.14.202", "@types/lodash@^4.17.0", "@types/lodash@^4.17.14": + version "4.17.14" + resolved "https://registry.yarnpkg.com/@types/lodash/-/lodash-4.17.14.tgz#bafc053533f4cdc5fcc9635af46a963c1f3deaff" + integrity sha512-jsxagdikDiDBeIRaPYtArcT8my4tN1og7MtMRquFT3XNA6axxyHDRUemqDz/taRDdOUn0GnGHRCuff4q48sW9A== "@types/long@^4.0.1": version "4.0.2" @@ -12099,12 +12094,10 @@ resolved "https://registry.yarnpkg.com/@types/nunjucks/-/nunjucks-3.2.6.tgz#6d6e0363719545df8b9a024279902edf68b2caa9" integrity sha512-pHiGtf83na1nCzliuAdq8GowYiXvH5l931xZ0YEHaLMNFgynpEqx+IPStlu7UaDkehfvl01e4x/9Tpwhy7Ue3w== -"@types/object-hash@^1.3.0": - version "1.3.0" - resolved "https://registry.yarnpkg.com/@types/object-hash/-/object-hash-1.3.0.tgz#b20db2074129f71829d61ff404e618c4ac3d73cf" - integrity sha512-il4NIe4jTx4lfhkKaksmmGHw5EsVkO8sHWkpJHM9m59r1dtsVadLSrJqdE8zU74NENDAsR3oLIOlooRAXlPLNA== - dependencies: - "@types/node" "*" +"@types/object-hash@^3.0.6": + version "3.0.6" + resolved "https://registry.yarnpkg.com/@types/object-hash/-/object-hash-3.0.6.tgz#25c052428199d374ef723b7b0ed44b5bfe1b3029" + integrity sha512-fOBV8C1FIu2ELinoILQ+ApxcUKz4ngq+IWUYrxSGjXzzjUALijilampwkMgEtJ+h2njAW3pi853QpzNVCHB73w== "@types/opn@^5.1.0": version "5.1.0" @@ -12588,11 +12581,6 @@ resolved "https://registry.yarnpkg.com/@types/uuid/-/uuid-10.0.0.tgz#e9c07fe50da0f53dc24970cca94d619ff03f6f6d" integrity sha512-7gqG38EyHgyP1S+7+xomFtL+ZNHcKv6DwNaCZmJmo1vgMugyF3TCnXVg4t1uk89mLNwnLtnY3TpOpCOyp1/xHQ== -"@types/uuid@^9.0.0": - version "9.0.0" - resolved "https://registry.yarnpkg.com/@types/uuid/-/uuid-9.0.0.tgz#53ef263e5239728b56096b0a869595135b7952d2" - integrity sha512-kr90f+ERiQtKWMz5rP32ltJ/BtULDI5RVO0uavn1HQUOwjx0R1h0rnDYNL0CepF1zL5bSY6FISAfd9tOdDhU5Q== - "@types/uuid@^9.0.1": version "9.0.8" resolved "https://registry.yarnpkg.com/@types/uuid/-/uuid-9.0.8.tgz#7545ba4fc3c003d6c756f651f3bf163d8f0f29ba" @@ -13295,7 +13283,7 @@ acorn@^7.0.0, acorn@^7.4.1: resolved "https://registry.yarnpkg.com/acorn/-/acorn-7.4.1.tgz#feaed255973d2e77555b83dbc08851a6c63520fa" integrity sha512-nQyp0o1/mNdbTO1PO6kHkwSrmgZ0MT/jCCpNiwbUjGoRN4dlBhqJtoQuCnEOKzgTVwg0ZWiCoQy6SxMebQVh8A== -acorn@^8.0.4, acorn@^8.1.0, acorn@^8.11.0, acorn@^8.12.1, acorn@^8.14.0, acorn@^8.4.1, acorn@^8.8.0, acorn@^8.8.2, acorn@^8.9.0: +acorn@^8.0.4, acorn@^8.1.0, acorn@^8.11.0, acorn@^8.14.0, acorn@^8.4.1, acorn@^8.8.0, acorn@^8.8.2, acorn@^8.9.0: version "8.14.0" resolved "https://registry.yarnpkg.com/acorn/-/acorn-8.14.0.tgz#063e2c70cac5fb4f6467f0b11152e04c682795b0" integrity sha512-cl669nCJTZBsL97OF4kUQm5g5hC2uihk0NxY3WENAC0TYdILVkAyHymAntgxGkl7K+t0cXIrH5siy5S4XkFycA== @@ -15742,6 +15730,11 @@ commander@^12.1.0: resolved "https://registry.yarnpkg.com/commander/-/commander-12.1.0.tgz#01423b36f501259fdaac4d0e4d60c96c991585d3" integrity sha512-Vw8qHK3bZM9y/P10u3Vib8o/DdkvA2OtPtZvD871QKjy74Wj1WSKFILMPRPSdUSx5RFK1arlJzEtA4PkFgnbuA== +commander@^13.0.0: + version "13.0.0" + resolved "https://registry.yarnpkg.com/commander/-/commander-13.0.0.tgz#1b161f60ee3ceb8074583a0f95359a4f8701845c" + integrity sha512-oPYleIY8wmTVzkvQq10AEok6YcTC4sRUBl8F9gVuwchGVUCTbl/vhLTaQqutuuySYOsu8YTgV+OxKc/8Yvx+mQ== + commander@^4.1.1: version "4.1.1" resolved "https://registry.yarnpkg.com/commander/-/commander-4.1.1.tgz#9fd602bd936294e9e9ef46a3f4d6964044b18068" @@ -17186,33 +17179,33 @@ dependency-check@^4.1.0: read-package-json "^2.0.10" resolve "^1.1.7" -dependency-cruiser@^16.4.2: - version "16.4.2" - resolved "https://registry.yarnpkg.com/dependency-cruiser/-/dependency-cruiser-16.4.2.tgz#586487e1ac355912a0ad2310b830b63054733e01" - integrity sha512-mQZM95WwIvKzYYdj+1RgIBuJ6qbr1cfyzTt62dDJVrWAShfhV9IEkG/Xv4S2iD5sT+Gt3oFWyZjwNufAhcbtWA== +dependency-cruiser@^16.8.0: + version "16.9.0" + resolved "https://registry.yarnpkg.com/dependency-cruiser/-/dependency-cruiser-16.9.0.tgz#3273881daa3613fe8a00639f26a044ec6004afa0" + integrity sha512-Gc/xHNOBq1nk5i7FPCuexCD0m2OXB/WEfiSHfNYQaQaHZiZltnl5Ixp/ZG38Jvi8aEhKBQTHV4Aw6gmR7rWlOw== dependencies: - acorn "^8.12.1" + acorn "^8.14.0" acorn-jsx "^5.3.2" acorn-jsx-walk "^2.0.0" acorn-loose "^8.4.0" acorn-walk "^8.3.4" ajv "^8.17.1" - commander "^12.1.0" - enhanced-resolve "^5.17.1" - ignore "^6.0.2" + commander "^13.0.0" + enhanced-resolve "^5.18.0" + ignore "^7.0.0" interpret "^3.1.1" is-installed-globally "^1.0.0" json5 "^2.2.3" memoize "^10.0.0" - picocolors "^1.1.0" + picocolors "^1.1.1" picomatch "^4.0.2" prompts "^2.4.2" rechoir "^0.8.0" safe-regex "^2.1.1" semver "^7.6.3" teamcity-service-messages "^0.1.14" - tsconfig-paths-webpack-plugin "^4.1.0" - watskeburt "^4.1.0" + tsconfig-paths-webpack-plugin "^4.2.0" + watskeburt "^4.2.2" dependency-tree@^10.0.9: version "10.0.9" @@ -17857,10 +17850,10 @@ enhanced-resolve@^4.5.0: memory-fs "^0.5.0" tapable "^1.0.0" -enhanced-resolve@^5.14.1, enhanced-resolve@^5.17.1, enhanced-resolve@^5.7.0: - version "5.17.1" - resolved "https://registry.yarnpkg.com/enhanced-resolve/-/enhanced-resolve-5.17.1.tgz#67bfbbcc2f81d511be77d686a90267ef7f898a15" - integrity sha512-LMHl3dXhTcfv8gM4kEzIUeTQ+7fpdA0l2tUf34BddXPkz2A5xJ5L/Pchd5BL6rdccM9QGvu0sWZzK1Z1t4wwyg== +enhanced-resolve@^5.14.1, enhanced-resolve@^5.17.1, enhanced-resolve@^5.18.0, enhanced-resolve@^5.7.0: + version "5.18.0" + resolved "https://registry.yarnpkg.com/enhanced-resolve/-/enhanced-resolve-5.18.0.tgz#91eb1db193896b9801251eeff1c6980278b1e404" + integrity sha512-0/r0MySGYG8YqlayBZ6MuCfECmHFdJ5qyPh8s8wa5Hnm6SaFLSK1VYCbj+NKp090Nm1caZhD+QTnmxO7esYGyQ== dependencies: graceful-fs "^4.2.4" tapable "^2.2.0" @@ -21017,10 +21010,10 @@ ignore@^5.0.5, ignore@^5.1.1, ignore@^5.2.0, ignore@^5.2.1, ignore@^5.3.0: resolved "https://registry.yarnpkg.com/ignore/-/ignore-5.3.2.tgz#3cd40e729f3643fd87cb04e50bf0eb722bc596f5" integrity sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g== -ignore@^6.0.2: - version "6.0.2" - resolved "https://registry.yarnpkg.com/ignore/-/ignore-6.0.2.tgz#77cccb72a55796af1b6d2f9eb14fa326d24f4283" - integrity sha512-InwqeHHN2XpumIkMvpl/DCJVrAHgCsG5+cn1XlnLWGwtZBm8QJfSusItfrwx81CTp5agNZqpKU2J/ccC5nGT4A== +ignore@^7.0.0: + version "7.0.0" + resolved "https://registry.yarnpkg.com/ignore/-/ignore-7.0.0.tgz#52da780b009bd0845d1f9dd4d8ae6a7569ae73c4" + integrity sha512-lcX8PNQygAa22u/0BysEY8VhaFRzlOkvdlKczDPnJvrkJD1EuqzEky5VYYKM2iySIuaVIDv9N190DfSreSLw2A== immediate@~3.0.5: version "3.0.6" @@ -25389,11 +25382,16 @@ object-filter-sequence@^1.0.0: resolved "https://registry.yarnpkg.com/object-filter-sequence/-/object-filter-sequence-1.0.0.tgz#10bb05402fff100082b80d7e83991b10db411692" integrity sha512-CsubGNxhIEChNY4cXYuA6KXafztzHqzLLZ/y3Kasf3A+sa3lL9thq3z+7o0pZqzEinjXT6lXDPAfVWI59dUyzQ== -object-hash@^1.3.0, object-hash@^1.3.1: +object-hash@^1.3.0: version "1.3.1" resolved "https://registry.yarnpkg.com/object-hash/-/object-hash-1.3.1.tgz#fde452098a951cb145f039bb7d455449ddc126df" integrity sha512-OSuu/pU4ENM9kmREg0BdNrUDIl1heYa4mBZacJc+vVWz4GtAwu7jO8s4AIt2aGRUTqxykpWzI3Oqnsm13tTMDA== +object-hash@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/object-hash/-/object-hash-3.0.0.tgz#73f97f753e7baffc0e2cc9d6e079079744ac82e9" + integrity sha512-RSn9F68PjH9HqtltsSnqYC1XXoWe9Bju5+213R98cNGttag9q9yAOTzdbsqvIa7aNm5WffBZFpWYr2aWrklWAw== + object-identity-map@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/object-identity-map/-/object-identity-map-1.0.2.tgz#2b4213a4285ca3a8cd2e696782c9964f887524e7" @@ -30834,7 +30832,7 @@ tapable@^1.0.0, tapable@^1.1.3: resolved "https://registry.yarnpkg.com/tapable/-/tapable-1.1.3.tgz#a1fccc06b58db61fd7a45da2da44f5f3a3e67ba2" integrity sha512-4WK/bYZmj8xLr+HUCODHGF1ZFzsYffasLUgEiMBY4fgtltdO6B4WJtlSbPaDTLpYTcGVwM2qLnFTICEcNxs3kA== -tapable@^2.1.1, tapable@^2.2.0: +tapable@^2.1.1, tapable@^2.2.0, tapable@^2.2.1: version "2.2.1" resolved "https://registry.yarnpkg.com/tapable/-/tapable-2.2.1.tgz#1967a73ef4060a82f12ab96af86d52fdb76eeca0" integrity sha512-GNzQvQTOIP6RyTfE2Qxb8ZVlNmw0n88vp1szwWRimP02mnTsx3Wtn5qRdqY9w2XduFNUgvOwhNnQsjwCp+kqaQ== @@ -31455,13 +31453,14 @@ ts-pnp@^1.1.6: resolved "https://registry.yarnpkg.com/ts-pnp/-/ts-pnp-1.2.0.tgz#a500ad084b0798f1c3071af391e65912c86bca92" integrity sha512-csd+vJOb/gkzvcCHgTGSChYpy5f1/XKNsmvBGO4JXS+z1v2HobugDz4s1IeFXM3wZB44uczs+eazB5Q/ccdhQw== -tsconfig-paths-webpack-plugin@^4.1.0: - version "4.1.0" - resolved "https://registry.yarnpkg.com/tsconfig-paths-webpack-plugin/-/tsconfig-paths-webpack-plugin-4.1.0.tgz#3c6892c5e7319c146eee1e7302ed9e6f2be4f763" - integrity sha512-xWFISjviPydmtmgeUAuXp4N1fky+VCtfhOkDUFIv5ea7p4wuTomI4QTrXvFBX2S4jZsmyTSrStQl+E+4w+RzxA== +tsconfig-paths-webpack-plugin@^4.2.0: + version "4.2.0" + resolved "https://registry.yarnpkg.com/tsconfig-paths-webpack-plugin/-/tsconfig-paths-webpack-plugin-4.2.0.tgz#f7459a8ed1dd4cf66ad787aefc3d37fff3cf07fc" + integrity sha512-zbem3rfRS8BgeNK50Zz5SIQgXzLafiHjOwUAvk/38/o1jHn/V5QAgVUcz884or7WYcPaH3N2CIfUc2u0ul7UcA== dependencies: chalk "^4.1.0" enhanced-resolve "^5.7.0" + tapable "^2.2.1" tsconfig-paths "^4.1.2" tsconfig-paths@^3.14.2: @@ -32210,12 +32209,7 @@ uuid-browser@^3.1.0: resolved "https://registry.yarnpkg.com/uuid-browser/-/uuid-browser-3.1.0.tgz#0f05a40aef74f9e5951e20efbf44b11871e56410" integrity sha1-DwWkCu90+eWVHiDvv0SxGHHlZBA= -uuid@9.0.0: - version "9.0.0" - resolved "https://registry.yarnpkg.com/uuid/-/uuid-9.0.0.tgz#592f550650024a38ceb0c562f2f6aa435761efb5" - integrity sha512-MXcSTerfPa4uqyzStbRoTgt5XIe3x5+42+q1sDuy3R5MDk66URdLMOZe5aPX/SQd+kuYAh0FdP/pO28IkQyTeg== - -uuid@^10.0.0: +uuid@10.0.0, uuid@^10.0.0: version "10.0.0" resolved "https://registry.yarnpkg.com/uuid/-/uuid-10.0.0.tgz#5a95aa454e6e002725c79055fd42aaba30ca6294" integrity sha512-8XkAphELsDnEGrDxUOHB3RGvXz6TeuYSGEZBOjtTtPm2lwhGBjLgOzLHB63IUWfBpNucQjND6d3AOudO+H3RWQ== @@ -32846,10 +32840,10 @@ watchpack@^2.2.0, watchpack@^2.4.1: glob-to-regexp "^0.4.1" graceful-fs "^4.1.2" -watskeburt@^4.1.0: - version "4.1.0" - resolved "https://registry.yarnpkg.com/watskeburt/-/watskeburt-4.1.0.tgz#3c0227669be646a97424b631164b1afe3d4d5344" - integrity sha512-KkY5H51ajqy9HYYI+u9SIURcWnqeVVhdH0I+ab6aXPGHfZYxgRCwnR6Lm3+TYB6jJVt5jFqw4GAKmwf1zHmGQw== +watskeburt@^4.2.2: + version "4.2.2" + resolved "https://registry.yarnpkg.com/watskeburt/-/watskeburt-4.2.2.tgz#e24f0afc40b7ecf511bf24c285b91dee2df4f4a5" + integrity sha512-AOCg1UYxWpiHW1tUwqpJau8vzarZYTtzl2uu99UptBmbzx6kOzCGMfRLF6KIRX4PYekmryn89MzxlRNkL66YyA== wbuf@^1.1.0, wbuf@^1.7.3: version "1.7.3"