From 97031b4ca108288fa4fe096068eab3cdad26b5a6 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 1 Jun 2022 20:29:55 +0000 Subject: [PATCH] build(deps): bump lru-cache and @types/lru-cache in /web/ui Bumps [lru-cache](https://github.com/isaacs/node-lru-cache) and [@types/lru-cache](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/lru-cache). These dependencies needed to be updated together. Updates `lru-cache` from 6.0.0 to 7.10.1 - [Release notes](https://github.com/isaacs/node-lru-cache/releases) - [Changelog](https://github.com/isaacs/node-lru-cache/blob/main/CHANGELOG.md) - [Commits](https://github.com/isaacs/node-lru-cache/compare/v6.0.0...v7.10.1) Updates `@types/lru-cache` from 5.1.1 to 7.10.10 - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/lru-cache) --- updated-dependencies: - dependency-name: lru-cache dependency-type: direct:production update-type: version-update:semver-major - dependency-name: "@types/lru-cache" dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- web/ui/module/codemirror-promql/package.json | 4 +- web/ui/package-lock.json | 54 +++++++++++++++----- 2 files changed, 42 insertions(+), 16 deletions(-) diff --git a/web/ui/module/codemirror-promql/package.json b/web/ui/module/codemirror-promql/package.json index fc9837f9de01..940a43f5daad 100644 --- a/web/ui/module/codemirror-promql/package.json +++ b/web/ui/module/codemirror-promql/package.json @@ -30,7 +30,7 @@ "homepage": "https://github.com/prometheus/prometheus/blob/main/web/ui/module/codemirror-promql/README.md", "dependencies": { "lezer-promql": "0.23.0", - "lru-cache": "^6.0.0" + "lru-cache": "^7.10.1" }, "devDependencies": { "@codemirror/autocomplete": "^0.19.15", @@ -41,7 +41,7 @@ "@codemirror/view": "^0.19.48", "@lezer/common": "^0.15.12", "@lezer/lr": "^0.15.8", - "@types/lru-cache": "^5.1.1", + "@types/lru-cache": "^7.10.10", "isomorphic-fetch": "^3.0.0", "nock": "^13.2.4" }, diff --git a/web/ui/package-lock.json b/web/ui/package-lock.json index 151912d9e576..086446251804 100644 --- a/web/ui/package-lock.json +++ b/web/ui/package-lock.json @@ -31,7 +31,7 @@ "license": "Apache-2.0", "dependencies": { "lezer-promql": "0.23.0", - "lru-cache": "^6.0.0" + "lru-cache": "^7.10.1" }, "devDependencies": { "@codemirror/autocomplete": "^0.19.15", @@ -42,7 +42,7 @@ "@codemirror/view": "^0.19.48", "@lezer/common": "^0.15.12", "@lezer/lr": "^0.15.8", - "@types/lru-cache": "^5.1.1", + "@types/lru-cache": "^7.10.10", "isomorphic-fetch": "^3.0.0", "nock": "^13.2.4" }, @@ -59,6 +59,14 @@ "@lezer/common": "^0.15.12" } }, + "module/codemirror-promql/node_modules/lru-cache": { + "version": "7.10.1", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-7.10.1.tgz", + "integrity": "sha512-BQuhQxPuRl79J5zSXRP+uNzPOyZw2oFI9JLRQ80XswSvg21KMKNtQza9eF42rfI/3Z40RvzBdXgziEkudzjo8A==", + "engines": { + "node": ">=12" + } + }, "module/lezer-promql": { "version": "0.23.0", "license": "Apache-2.0", @@ -3814,10 +3822,14 @@ "dev": true }, "node_modules/@types/lru-cache": { - "version": "5.1.1", - "resolved": "https://registry.npmjs.org/@types/lru-cache/-/lru-cache-5.1.1.tgz", - "integrity": "sha512-ssE3Vlrys7sdIzs5LOxCzTVMsU7i9oa/IaW92wF32JFb3CVczqOkru2xspuKczHEbG3nvmPY7IFqVmGGHdNbYw==", - "dev": true + "version": "7.10.10", + "resolved": "https://registry.npmjs.org/@types/lru-cache/-/lru-cache-7.10.10.tgz", + "integrity": "sha512-nEpVRPWW9EBmx2SCfNn3ClYxPL7IktPX12HhIoSc/H5mMjdeW3+YsXIpseLQ2xF35+OcpwKQbEUw5VtqE4PDNA==", + "deprecated": "This is a stub types definition. lru-cache provides its own type definitions, so you do not need this installed.", + "dev": true, + "dependencies": { + "lru-cache": "*" + } }, "node_modules/@types/mime": { "version": "1.3.2", @@ -10933,6 +10945,7 @@ "version": "6.0.0", "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", + "dev": true, "dependencies": { "yallist": "^4.0.0" }, @@ -17259,7 +17272,8 @@ "node_modules/yallist": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", - "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==" + "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", + "dev": true }, "node_modules/yaml": { "version": "1.10.2", @@ -20138,10 +20152,13 @@ "dev": true }, "@types/lru-cache": { - "version": "5.1.1", - "resolved": "https://registry.npmjs.org/@types/lru-cache/-/lru-cache-5.1.1.tgz", - "integrity": "sha512-ssE3Vlrys7sdIzs5LOxCzTVMsU7i9oa/IaW92wF32JFb3CVczqOkru2xspuKczHEbG3nvmPY7IFqVmGGHdNbYw==", - "dev": true + "version": "7.10.10", + "resolved": "https://registry.npmjs.org/@types/lru-cache/-/lru-cache-7.10.10.tgz", + "integrity": "sha512-nEpVRPWW9EBmx2SCfNn3ClYxPL7IktPX12HhIoSc/H5mMjdeW3+YsXIpseLQ2xF35+OcpwKQbEUw5VtqE4PDNA==", + "dev": true, + "requires": { + "lru-cache": "*" + } }, "@types/mime": { "version": "1.3.2", @@ -21741,11 +21758,18 @@ "@codemirror/view": "^0.19.48", "@lezer/common": "^0.15.12", "@lezer/lr": "^0.15.8", - "@types/lru-cache": "^5.1.1", + "@types/lru-cache": "^7.10.10", "isomorphic-fetch": "^3.0.0", "lezer-promql": "0.23.0", - "lru-cache": "^6.0.0", + "lru-cache": "^7.10.1", "nock": "^13.2.4" + }, + "dependencies": { + "lru-cache": { + "version": "7.10.1", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-7.10.1.tgz", + "integrity": "sha512-BQuhQxPuRl79J5zSXRP+uNzPOyZw2oFI9JLRQ80XswSvg21KMKNtQza9eF42rfI/3Z40RvzBdXgziEkudzjo8A==" + } } }, "collect-v8-coverage": { @@ -25650,6 +25674,7 @@ "version": "6.0.0", "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", + "dev": true, "requires": { "yallist": "^4.0.0" } @@ -30339,7 +30364,8 @@ "yallist": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", - "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==" + "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", + "dev": true }, "yaml": { "version": "1.10.2",