From 0a306f61b6207ff65fb71bb985ac29431ff9f156 Mon Sep 17 00:00:00 2001 From: Sean Ferguson Date: Sun, 23 Jun 2024 02:53:55 -0400 Subject: [PATCH] v4.14.0: bump deps, overlay onCallback support w/ cancel removal support --- package.json | 12 +- src/components/overlay-container.ts | 36 ++-- src/components/toast-helpers.ts | 2 +- yarn.lock | 270 +++++++++++++++------------- 4 files changed, 176 insertions(+), 144 deletions(-) diff --git a/package.json b/package.json index 833c807..a31bdb7 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@signal24/vue-foundation", "type": "module", - "version": "4.13.9", + "version": "4.14.0", "description": "Common components, directives, and helpers for Vue 3 apps", "module": "./dist/vue-foundation.es.js", "exports": { @@ -52,16 +52,16 @@ "@types/node": "^20.10.5", "@types/uuid": "^9.0.7", "@vitejs/plugin-vue": "^5.0.0", - "@vue/eslint-config-prettier": "^8.0.0", - "@vue/eslint-config-typescript": "^12.0.0", + "@vue/eslint-config-prettier": "^9.0.0", + "@vue/eslint-config-typescript": "^13.0.0", "@vue/test-utils": "^2.4.3", "@vue/tsconfig": "^0.5.1", "cypress": "^13.6.2", "date-fns": "^3.0.6", "eslint": "^8.56.0", - "eslint-plugin-cypress": "^2.15.1", - "eslint-plugin-simple-import-sort": "^10.0.0", - "eslint-plugin-unused-imports": "^3.0.0", + "eslint-plugin-cypress": "^3.3.0", + "eslint-plugin-simple-import-sort": "^12.1.0", + "eslint-plugin-unused-imports": "^4.0.0", "eslint-plugin-vue": "^9.19.2", "jsdom": "^23.0.1", "lodash": "^4.17.21", diff --git a/src/components/overlay-container.ts b/src/components/overlay-container.ts index fcbb961..85003f3 100644 --- a/src/components/overlay-container.ts +++ b/src/components/overlay-container.ts @@ -19,21 +19,22 @@ import { import OverlayAnchor from './overlay-anchor.vue'; import type { OverlayAnchorOptions } from './overlay-types'; -interface OverlayOptions { +interface OverlayOptions> { anchor?: OverlayAnchorOptions; + onCallback?: (result: R) => void | Promise; } -export interface OverlayInjection { +export interface OverlayInjection> { id: string; component: OverlayComponentUnwrapped; props: OverlayComponentProps; - options: OverlayOptions; + options: OverlayOptions; vnode: VNode; wrapperVnode?: VNode; } let overlayCount = 0; -const OverlayInjections: OverlayInjection[] = reactive([]); +const OverlayInjections: OverlayInjection[] = reactive([]); export const OverlayContainer = defineComponent({ setup() { @@ -92,11 +93,11 @@ type ComponentReturn = OverlayComponentProps exte export type AnyComponentPublicInstance = { $?: ComponentInternalInstance }; -export function createOverlayInjection( +export function createOverlayInjection>( component: C, props: OverlayComponentProps, - options?: OverlayOptions -): OverlayInjection { + options?: OverlayOptions +): OverlayInjection { // create or reconfigure the existing overlay target // re-injecting every time keeps the overlay container at the very end of the DOM const targetEl = document.getElementById('vf-overlay-target') ?? document.createElement('div'); @@ -110,7 +111,7 @@ export function createOverlayInjection( const wrapperVnode = options?.anchor ? h(OverlayAnchor, { overlayId, anchor: options.anchor }, () => [vnode]) : undefined; // todo: dunno what's going on with types here - const injection: OverlayInjection = { + const injection: OverlayInjection = { id: overlayId, component: rawComponent as any, props, @@ -152,7 +153,7 @@ export function dismissOverlayInjectionById(id: string) { return false; } -export function removeOverlayInjection(injection: OverlayInjection) { +export function removeOverlayInjection(injection: OverlayInjection) { const index = OverlayInjections.indexOf(injection); if (index >= 0) { OverlayInjections.splice(index, 1); @@ -162,11 +163,22 @@ export function removeOverlayInjection(injection: OverlayInjection) { export async function presentOverlay>( component: C, props: Omit, 'callback'>, - options?: OverlayOptions + options?: OverlayOptions ): Promise { return new Promise(resolve => { - let overlayInjection: OverlayInjection | null = null; - const callback = (result: R) => { + let overlayInjection: OverlayInjection | null = null; + const callback = async (result: R) => { + if (options?.onCallback) { + const hookResult = options.onCallback(result); + if (typeof hookResult === 'object' && 'then' in hookResult && typeof hookResult.then === 'function') { + // ^ hack for ZoneAwarePromise + const hookResultValue = await hookResult; + if (hookResultValue === false) { + return; + } + } + } + removeOverlayInjection(overlayInjection!); resolve(result); }; diff --git a/src/components/toast-helpers.ts b/src/components/toast-helpers.ts index ae8c635..4d428cd 100644 --- a/src/components/toast-helpers.ts +++ b/src/components/toast-helpers.ts @@ -2,7 +2,7 @@ import { createOverlayInjection, type OverlayInjection, removeOverlayInjection } import Toast, { type IToastOptions } from './toast.vue'; export function showToast(options: IToastOptions) { - const injection: OverlayInjection = createOverlayInjection(Toast, { + const injection: OverlayInjection = createOverlayInjection(Toast, { ...options, callback: () => removeOverlayInjection(injection) }); diff --git a/yarn.lock b/yarn.lock index 2ae789a..2df772b 100644 --- a/yarn.lock +++ b/yarn.lock @@ -273,7 +273,14 @@ __metadata: languageName: node linkType: hard -"@eslint-community/regexpp@npm:^4.5.1, @eslint-community/regexpp@npm:^4.6.1": +"@eslint-community/regexpp@npm:^4.10.0": + version: 4.10.1 + resolution: "@eslint-community/regexpp@npm:4.10.1" + checksum: f59376025d0c91dd9fdf18d33941df499292a3ecba3e9889c360f3f6590197d30755604588786cdca0f9030be315a26b206014af4b65c0ff85b4ec49043de780 + languageName: node + linkType: hard + +"@eslint-community/regexpp@npm:^4.6.1": version: 4.10.0 resolution: "@eslint-community/regexpp@npm:4.10.0" checksum: c5f60ef1f1ea7649fa7af0e80a5a79f64b55a8a8fa5086de4727eb4c86c652aedee407a9c143b8995d2c0b2d75c1222bec9ba5d73dbfc1f314550554f0979ef4 @@ -610,16 +617,16 @@ __metadata: "@types/node": "npm:^20.10.5" "@types/uuid": "npm:^9.0.7" "@vitejs/plugin-vue": "npm:^5.0.0" - "@vue/eslint-config-prettier": "npm:^8.0.0" - "@vue/eslint-config-typescript": "npm:^12.0.0" + "@vue/eslint-config-prettier": "npm:^9.0.0" + "@vue/eslint-config-typescript": "npm:^13.0.0" "@vue/test-utils": "npm:^2.4.3" "@vue/tsconfig": "npm:^0.5.1" cypress: "npm:^13.6.2" date-fns: "npm:^3.0.6" eslint: "npm:^8.56.0" - eslint-plugin-cypress: "npm:^2.15.1" - eslint-plugin-simple-import-sort: "npm:^10.0.0" - eslint-plugin-unused-imports: "npm:^3.0.0" + eslint-plugin-cypress: "npm:^3.3.0" + eslint-plugin-simple-import-sort: "npm:^12.1.0" + eslint-plugin-unused-imports: "npm:^4.0.0" eslint-plugin-vue: "npm:^9.19.2" jsdom: "npm:^23.0.1" lodash: "npm:^4.17.21" @@ -683,7 +690,7 @@ __metadata: languageName: node linkType: hard -"@types/json-schema@npm:*, @types/json-schema@npm:^7.0.12, @types/json-schema@npm:^7.0.6": +"@types/json-schema@npm:*, @types/json-schema@npm:^7.0.6": version: 7.0.15 resolution: "@types/json-schema@npm:7.0.15" checksum: a996a745e6c5d60292f36731dd41341339d4eeed8180bb09226e5c8d23759067692b1d88e5d91d72ee83dfc00d3aca8e7bd43ea120516c17922cbcb7c3e252db @@ -715,13 +722,6 @@ __metadata: languageName: node linkType: hard -"@types/semver@npm:^7.5.0": - version: 7.5.6 - resolution: "@types/semver@npm:7.5.6" - checksum: 196dc32db5f68cbcde2e6a42bb4aa5cbb100fa2b7bd9c8c82faaaf3e03fbe063e205dbb4f03c7cdf53da2edb70a0d34c9f2e601b54281b377eb8dc1743226acd - languageName: node - linkType: hard - "@types/sinonjs__fake-timers@npm:8.1.1": version: 8.1.1 resolution: "@types/sinonjs__fake-timers@npm:8.1.1" @@ -759,126 +759,121 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/eslint-plugin@npm:^6.7.0": - version: 6.16.0 - resolution: "@typescript-eslint/eslint-plugin@npm:6.16.0" +"@typescript-eslint/eslint-plugin@npm:^7.1.1": + version: 7.13.1 + resolution: "@typescript-eslint/eslint-plugin@npm:7.13.1" dependencies: - "@eslint-community/regexpp": "npm:^4.5.1" - "@typescript-eslint/scope-manager": "npm:6.16.0" - "@typescript-eslint/type-utils": "npm:6.16.0" - "@typescript-eslint/utils": "npm:6.16.0" - "@typescript-eslint/visitor-keys": "npm:6.16.0" - debug: "npm:^4.3.4" + "@eslint-community/regexpp": "npm:^4.10.0" + "@typescript-eslint/scope-manager": "npm:7.13.1" + "@typescript-eslint/type-utils": "npm:7.13.1" + "@typescript-eslint/utils": "npm:7.13.1" + "@typescript-eslint/visitor-keys": "npm:7.13.1" graphemer: "npm:^1.4.0" - ignore: "npm:^5.2.4" + ignore: "npm:^5.3.1" natural-compare: "npm:^1.4.0" - semver: "npm:^7.5.4" - ts-api-utils: "npm:^1.0.1" + ts-api-utils: "npm:^1.3.0" peerDependencies: - "@typescript-eslint/parser": ^6.0.0 || ^6.0.0-alpha - eslint: ^7.0.0 || ^8.0.0 + "@typescript-eslint/parser": ^7.0.0 + eslint: ^8.56.0 peerDependenciesMeta: typescript: optional: true - checksum: c8a68e0953d8b94f6b85d3a82090e61e670bcb0945cbee4d741321c56db727429ad47c48b8403ad1dab3b0842689bd2d4b85c99b76c51ac4f5be7f5f61c4c314 + checksum: 6677f9c090a25978e4e20c24d67365ad89ca1208ebd2bb103d3f1e15a7deea22dea538e9f61f3a3d4f03a741179acf58c02ad7d03f805aceabb78929a8dc1908 languageName: node linkType: hard -"@typescript-eslint/parser@npm:^6.7.0": - version: 6.16.0 - resolution: "@typescript-eslint/parser@npm:6.16.0" +"@typescript-eslint/parser@npm:^7.1.1": + version: 7.13.1 + resolution: "@typescript-eslint/parser@npm:7.13.1" dependencies: - "@typescript-eslint/scope-manager": "npm:6.16.0" - "@typescript-eslint/types": "npm:6.16.0" - "@typescript-eslint/typescript-estree": "npm:6.16.0" - "@typescript-eslint/visitor-keys": "npm:6.16.0" + "@typescript-eslint/scope-manager": "npm:7.13.1" + "@typescript-eslint/types": "npm:7.13.1" + "@typescript-eslint/typescript-estree": "npm:7.13.1" + "@typescript-eslint/visitor-keys": "npm:7.13.1" debug: "npm:^4.3.4" peerDependencies: - eslint: ^7.0.0 || ^8.0.0 + eslint: ^8.56.0 peerDependenciesMeta: typescript: optional: true - checksum: 9d573d14df4ec661dccaca785223a8a330d64f50a9279ff9170b1da22198ff91b9afa3ee7d3d7127c0cbc148c86831e76b33fc5b47d630799e98940ef666bfe0 + checksum: 455d067bfb81fa3d133c75ebc4d8d7f2de5001441585f5b58dc8b0d4380d7397dc3745e11a9299d596dfa581265fdcdea6c28b2ddd2d3b542869c851ecd52fcd languageName: node linkType: hard -"@typescript-eslint/scope-manager@npm:6.16.0": - version: 6.16.0 - resolution: "@typescript-eslint/scope-manager@npm:6.16.0" +"@typescript-eslint/scope-manager@npm:7.13.1": + version: 7.13.1 + resolution: "@typescript-eslint/scope-manager@npm:7.13.1" dependencies: - "@typescript-eslint/types": "npm:6.16.0" - "@typescript-eslint/visitor-keys": "npm:6.16.0" - checksum: 3b275e528d19f4f36c4acd6cb872b5f004175512dce30cef0ac7a9121bb23d21e5e0f4b62658dbfea2b15851e7fa930372696f25a6c87492f863171ab56f5364 + "@typescript-eslint/types": "npm:7.13.1" + "@typescript-eslint/visitor-keys": "npm:7.13.1" + checksum: 3d8770bf9c89e7a07e54efbc3dac6df02c0ce49d49575076111ac663566c90cbb852f06c94a311db7c0aec1fab0417f3ef6e601b3852aa30bed75c65f4f076f4 languageName: node linkType: hard -"@typescript-eslint/type-utils@npm:6.16.0": - version: 6.16.0 - resolution: "@typescript-eslint/type-utils@npm:6.16.0" +"@typescript-eslint/type-utils@npm:7.13.1": + version: 7.13.1 + resolution: "@typescript-eslint/type-utils@npm:7.13.1" dependencies: - "@typescript-eslint/typescript-estree": "npm:6.16.0" - "@typescript-eslint/utils": "npm:6.16.0" + "@typescript-eslint/typescript-estree": "npm:7.13.1" + "@typescript-eslint/utils": "npm:7.13.1" debug: "npm:^4.3.4" - ts-api-utils: "npm:^1.0.1" + ts-api-utils: "npm:^1.3.0" peerDependencies: - eslint: ^7.0.0 || ^8.0.0 + eslint: ^8.56.0 peerDependenciesMeta: typescript: optional: true - checksum: a5339cc1375d12411fcb242249143b28401fb18890bb2a1cff5275ba946affb4a2066cd8203e83ac383bd9d791a79ea6ee1cbf7a30deed5c832ed002897bbf82 + checksum: c02305dccb0b2c7dcc9249230078c83e851ee589f93e08eb6cdc0b4c38d78d85ef4996631ac427836ee9d0a868ac031417feb74a6e4d0600096f41ca3c0e99a0 languageName: node linkType: hard -"@typescript-eslint/types@npm:6.16.0": - version: 6.16.0 - resolution: "@typescript-eslint/types@npm:6.16.0" - checksum: 74d9a8b7fd1b85fd1824295c92bc2f506148e450c9897f65ddaa089091017df4e25676c5b098b75c8f00529b84492f303a6b1870bb0ffee83997081325891d53 +"@typescript-eslint/types@npm:7.13.1": + version: 7.13.1 + resolution: "@typescript-eslint/types@npm:7.13.1" + checksum: 38a01004e11259e457ae2fd02300ef362a3268a8fc70addfbf1508e2edcaca72da2f0f8771e42c1cb9f191c1f754af583cdcaebd830c8e3c3f796dcf30d3c3a8 languageName: node linkType: hard -"@typescript-eslint/typescript-estree@npm:6.16.0": - version: 6.16.0 - resolution: "@typescript-eslint/typescript-estree@npm:6.16.0" +"@typescript-eslint/typescript-estree@npm:7.13.1": + version: 7.13.1 + resolution: "@typescript-eslint/typescript-estree@npm:7.13.1" dependencies: - "@typescript-eslint/types": "npm:6.16.0" - "@typescript-eslint/visitor-keys": "npm:6.16.0" + "@typescript-eslint/types": "npm:7.13.1" + "@typescript-eslint/visitor-keys": "npm:7.13.1" debug: "npm:^4.3.4" globby: "npm:^11.1.0" is-glob: "npm:^4.0.3" - minimatch: "npm:9.0.3" - semver: "npm:^7.5.4" - ts-api-utils: "npm:^1.0.1" + minimatch: "npm:^9.0.4" + semver: "npm:^7.6.0" + ts-api-utils: "npm:^1.3.0" peerDependenciesMeta: typescript: optional: true - checksum: c7109e90b40b3c8f1042beb7f1a7a97eeba3b6a903acd82df4947900d68bd31d04b530a190c099666c5ca4886efc162de7b42de754a44b189e41237210797d9e + checksum: bd5c8951ae79e8eacd05ff100def02926c633045a1a54426f98f20b4ca31c485968af3226dd7939934dfaf36a6b5fcb3386948e2a7d763ddee2db905ac187ebc languageName: node linkType: hard -"@typescript-eslint/utils@npm:6.16.0": - version: 6.16.0 - resolution: "@typescript-eslint/utils@npm:6.16.0" +"@typescript-eslint/utils@npm:7.13.1": + version: 7.13.1 + resolution: "@typescript-eslint/utils@npm:7.13.1" dependencies: "@eslint-community/eslint-utils": "npm:^4.4.0" - "@types/json-schema": "npm:^7.0.12" - "@types/semver": "npm:^7.5.0" - "@typescript-eslint/scope-manager": "npm:6.16.0" - "@typescript-eslint/types": "npm:6.16.0" - "@typescript-eslint/typescript-estree": "npm:6.16.0" - semver: "npm:^7.5.4" + "@typescript-eslint/scope-manager": "npm:7.13.1" + "@typescript-eslint/types": "npm:7.13.1" + "@typescript-eslint/typescript-estree": "npm:7.13.1" peerDependencies: - eslint: ^7.0.0 || ^8.0.0 - checksum: 586c4c0e1ca249daf9958f0d88df3af010a7592a19db1a7dc198754542b584314896536fe56ea9c93dd0ddd531154e7697002643d46e24a8d3a459721a626e91 + eslint: ^8.56.0 + checksum: d2f6be42a80608ed265b34a5f6a0c97dc0b627d53b91e83d87c7d67541cb5b3c038e7320026b4ad8dfafe1ac07a0554efa8fe7673f54d74b68c253d6f9519bb6 languageName: node linkType: hard -"@typescript-eslint/visitor-keys@npm:6.16.0": - version: 6.16.0 - resolution: "@typescript-eslint/visitor-keys@npm:6.16.0" +"@typescript-eslint/visitor-keys@npm:7.13.1": + version: 7.13.1 + resolution: "@typescript-eslint/visitor-keys@npm:7.13.1" dependencies: - "@typescript-eslint/types": "npm:6.16.0" - eslint-visitor-keys: "npm:^3.4.1" - checksum: 13c4d90355e288eac432d2845e37bb2acc03dab6d8568564558c1914a9aa44352f2a7ff29d0f50e0b3e68d66cca5f27b2732af5ff193b82571b4366309842880 + "@typescript-eslint/types": "npm:7.13.1" + eslint-visitor-keys: "npm:^3.4.3" + checksum: 23c1bb896173cadfb33e3801420a70aa2f0481384caa3b534b04f7920acdb9d8f7d635fcaf1f8c7fc78ebce71b8f2435391608d120091761ad2e2c00eb870832 languageName: node linkType: hard @@ -1052,34 +1047,34 @@ __metadata: languageName: node linkType: hard -"@vue/eslint-config-prettier@npm:^8.0.0": - version: 8.0.0 - resolution: "@vue/eslint-config-prettier@npm:8.0.0" +"@vue/eslint-config-prettier@npm:^9.0.0": + version: 9.0.0 + resolution: "@vue/eslint-config-prettier@npm:9.0.0" dependencies: - eslint-config-prettier: "npm:^8.8.0" + eslint-config-prettier: "npm:^9.0.0" eslint-plugin-prettier: "npm:^5.0.0" peerDependencies: eslint: ">= 8.0.0" prettier: ">= 3.0.0" - checksum: 136a301f811f3d2d3aa7f3f36836dcf0c5e8ffe12c51ac1aa6252092c1e022c51e1f23b3217f6efb5bbf7f3b4750118952abe69b28ab671740d628882b9aa247 + checksum: 465fe43e7a4f3181e73298df55cc5ba1de4e4349b6d859ef38e52f82406a0eac938809721b3a0f026b56ae533d51b45c4a2ecb6112d78e8d6e6ee3ca0892bba6 languageName: node linkType: hard -"@vue/eslint-config-typescript@npm:^12.0.0": - version: 12.0.0 - resolution: "@vue/eslint-config-typescript@npm:12.0.0" +"@vue/eslint-config-typescript@npm:^13.0.0": + version: 13.0.0 + resolution: "@vue/eslint-config-typescript@npm:13.0.0" dependencies: - "@typescript-eslint/eslint-plugin": "npm:^6.7.0" - "@typescript-eslint/parser": "npm:^6.7.0" + "@typescript-eslint/eslint-plugin": "npm:^7.1.1" + "@typescript-eslint/parser": "npm:^7.1.1" vue-eslint-parser: "npm:^9.3.1" peerDependencies: - eslint: ^6.2.0 || ^7.0.0 || ^8.0.0 + eslint: ^8.56.0 eslint-plugin-vue: ^9.0.0 - typescript: "*" + typescript: ">=4.7.4" peerDependenciesMeta: typescript: optional: true - checksum: 3edb549c5d0ee7049e8c49c69fca5272df53376fba66afd7cf3e088c89dfc154ccb9406ac9729c275e643f93ff5ae6d4b35fbd7b808517dd02c3488ab9392d64 + checksum: a960e1157f805e38837107ae8d2a6d280cf8f7cc3fa9ab492e10f52622085076637ee92438ca473c4e3305097448417f66c0d6cbf6130b731dbac9189e4566ca languageName: node linkType: hard @@ -2198,25 +2193,25 @@ __metadata: languageName: node linkType: hard -"eslint-config-prettier@npm:^8.8.0": - version: 8.10.0 - resolution: "eslint-config-prettier@npm:8.10.0" +"eslint-config-prettier@npm:^9.0.0": + version: 9.1.0 + resolution: "eslint-config-prettier@npm:9.1.0" peerDependencies: eslint: ">=7.0.0" bin: eslint-config-prettier: bin/cli.js - checksum: 19f8c497d9bdc111a17a61b25ded97217be3755bbc4714477dfe535ed539dddcaf42ef5cf8bb97908b058260cf89a3d7c565cb0be31096cbcd39f4c2fa5fe43c + checksum: 6d332694b36bc9ac6fdb18d3ca2f6ac42afa2ad61f0493e89226950a7091e38981b66bac2b47ba39d15b73fff2cd32c78b850a9cf9eed9ca9a96bfb2f3a2f10d languageName: node linkType: hard -"eslint-plugin-cypress@npm:^2.15.1": - version: 2.15.1 - resolution: "eslint-plugin-cypress@npm:2.15.1" +"eslint-plugin-cypress@npm:^3.3.0": + version: 3.3.0 + resolution: "eslint-plugin-cypress@npm:3.3.0" dependencies: globals: "npm:^13.20.0" peerDependencies: - eslint: ">= 3.2.1" - checksum: f404adf415ef6b986d3480397a26eb73976a9156bbf786f2d22b8df28bbf0e50d4b3c699caefd230f0de9d6e8850596ab1bcc471b173aede05373d2a5ae3c624 + eslint: ">=7" + checksum: d149f853c7a57527b204475159c447da2c21aaca44cf602fea9ced45a1cc795d469bff8db14cc9502744ea9b3dbba7363e6ea8391140c7f7f324e2bac7a7031d languageName: node linkType: hard @@ -2240,27 +2235,27 @@ __metadata: languageName: node linkType: hard -"eslint-plugin-simple-import-sort@npm:^10.0.0": - version: 10.0.0 - resolution: "eslint-plugin-simple-import-sort@npm:10.0.0" +"eslint-plugin-simple-import-sort@npm:^12.1.0": + version: 12.1.0 + resolution: "eslint-plugin-simple-import-sort@npm:12.1.0" peerDependencies: eslint: ">=5.0.0" - checksum: 1ae0814d23816d51d010cfbc5ee0a0dde8d825a3093876b2e8219a0562d53f4d4794508551e503ebe2ea98904cb35204dbe54dfbf9d7fc8b8e3ea25c52aa68ac + checksum: 11e963683216e190b09bb6834b6978ca71d438d9413c52495e92493b0a68fc10268d7fd5815814496ab02fe7c018e4d5fd82866bf3ed5f95cff69628ca741102 languageName: node linkType: hard -"eslint-plugin-unused-imports@npm:^3.0.0": - version: 3.0.0 - resolution: "eslint-plugin-unused-imports@npm:3.0.0" +"eslint-plugin-unused-imports@npm:^4.0.0": + version: 4.0.0 + resolution: "eslint-plugin-unused-imports@npm:4.0.0" dependencies: eslint-rule-composer: "npm:^0.3.0" peerDependencies: - "@typescript-eslint/eslint-plugin": ^6.0.0 - eslint: ^8.0.0 + "@typescript-eslint/eslint-plugin": 8 + eslint: 9 peerDependenciesMeta: "@typescript-eslint/eslint-plugin": optional: true - checksum: b1a5f3359e6191e6edbb71480242b1f830f4ffe20778fb9df8e6045ac2bf98211206b104cbfecb3a204b1963cf11decbd28c925ce908068d81959bc037a521ea + checksum: 0ed81fc64279d01d2e207fdb7a4482af127a37c4889fcbdf4237664567ecce0f0b9bfaec90f2041b876a2a50f7ab321ff91bb5afdebe718a0dd0b120f587fd74 languageName: node linkType: hard @@ -3086,13 +3081,20 @@ __metadata: languageName: node linkType: hard -"ignore@npm:^5.2.0, ignore@npm:^5.2.4": +"ignore@npm:^5.2.0": version: 5.3.0 resolution: "ignore@npm:5.3.0" checksum: dc06bea5c23aae65d0725a957a0638b57e235ae4568dda51ca142053ed2c352de7e3bc93a69b2b32ac31966a1952e9a93c5ef2e2ab7c6b06aef9808f6b55b571 languageName: node linkType: hard +"ignore@npm:^5.3.1": + version: 5.3.1 + resolution: "ignore@npm:5.3.1" + checksum: 703f7f45ffb2a27fb2c5a8db0c32e7dee66b33a225d28e8db4e1be6474795f606686a6e3bcc50e1aa12f2042db4c9d4a7d60af3250511de74620fbed052ea4cd + languageName: node + linkType: hard + "immutable@npm:^4.0.0": version: 4.3.4 resolution: "immutable@npm:4.3.4" @@ -3694,7 +3696,16 @@ __metadata: languageName: node linkType: hard -"minimatch@npm:9.0.3, minimatch@npm:^9.0.1, minimatch@npm:^9.0.3": +"minimatch@npm:^3.0.5, minimatch@npm:^3.1.1, minimatch@npm:^3.1.2": + version: 3.1.2 + resolution: "minimatch@npm:3.1.2" + dependencies: + brace-expansion: "npm:^1.1.7" + checksum: 0262810a8fc2e72cca45d6fd86bd349eee435eb95ac6aa45c9ea2180e7ee875ef44c32b55b5973ceabe95ea12682f6e3725cbb63d7a2d1da3ae1163c8b210311 + languageName: node + linkType: hard + +"minimatch@npm:^9.0.1, minimatch@npm:^9.0.3": version: 9.0.3 resolution: "minimatch@npm:9.0.3" dependencies: @@ -3703,12 +3714,12 @@ __metadata: languageName: node linkType: hard -"minimatch@npm:^3.0.5, minimatch@npm:^3.1.1, minimatch@npm:^3.1.2": - version: 3.1.2 - resolution: "minimatch@npm:3.1.2" +"minimatch@npm:^9.0.4": + version: 9.0.4 + resolution: "minimatch@npm:9.0.4" dependencies: - brace-expansion: "npm:^1.1.7" - checksum: 0262810a8fc2e72cca45d6fd86bd349eee435eb95ac6aa45c9ea2180e7ee875ef44c32b55b5973ceabe95ea12682f6e3725cbb63d7a2d1da3ae1163c8b210311 + brace-expansion: "npm:^2.0.1" + checksum: 2c16f21f50e64922864e560ff97c587d15fd491f65d92a677a344e970fe62aafdbeafe648965fa96d33c061b4d0eabfe0213466203dd793367e7f28658cf6414 languageName: node linkType: hard @@ -4565,6 +4576,15 @@ __metadata: languageName: node linkType: hard +"semver@npm:^7.6.0": + version: 7.6.2 + resolution: "semver@npm:7.6.2" + bin: + semver: bin/semver.js + checksum: 97d3441e97ace8be4b1976433d1c32658f6afaff09f143e52c593bae7eef33de19e3e369c88bd985ce1042c6f441c80c6803078d1de2a9988080b66684cbb30c + languageName: node + linkType: hard + "set-function-length@npm:^1.1.1": version: 1.1.1 resolution: "set-function-length@npm:1.1.1" @@ -4985,12 +5005,12 @@ __metadata: languageName: node linkType: hard -"ts-api-utils@npm:^1.0.1": - version: 1.0.3 - resolution: "ts-api-utils@npm:1.0.3" +"ts-api-utils@npm:^1.3.0": + version: 1.3.0 + resolution: "ts-api-utils@npm:1.3.0" peerDependencies: typescript: ">=4.2.0" - checksum: 9408338819c3aca2a709f0bc54e3f874227901506cacb1163612a6c8a43df224174feb965a5eafdae16f66fc68fd7bfee8d3275d0fa73fbb8699e03ed26520c9 + checksum: f54a0ba9ed56ce66baea90a3fa087a484002e807f28a8ccb2d070c75e76bde64bd0f6dce98b3802834156306050871b67eec325cb4e918015a360a3f0868c77c languageName: node linkType: hard