From 6194a77a221b37b8abbf3a5ce2811e44046b4f1b Mon Sep 17 00:00:00 2001 From: mtyszczak <mateusz.tyszczak@gmail.com> Date: Tue, 5 Nov 2024 12:10:00 +0100 Subject: [PATCH] Update ESLint to support new flat config --- .eslintignore | 6 - .eslintrc.cjs | 230 ---------- .gitlab-ci.yml | 2 +- .lintstagedrc | 2 +- __tests__/assets/jest-helper.ts | 13 +- __tests__/detailed/bot_events.ts | 49 ++- eslint.config.js | 141 ++++++ package.json | 21 +- playwright.config.ts | 8 +- pnpm-lock.yaml | 715 ++++++++++++++++--------------- rollup.config.js | 19 +- 11 files changed, 585 insertions(+), 621 deletions(-) delete mode 100644 .eslintignore delete mode 100644 .eslintrc.cjs create mode 100644 eslint.config.js diff --git a/.eslintignore b/.eslintignore deleted file mode 100644 index 6bfcf22..0000000 --- a/.eslintignore +++ /dev/null @@ -1,6 +0,0 @@ -node_modules -dist - -__tests__ -webpack.config.js -.eslintrc.js diff --git a/.eslintrc.cjs b/.eslintrc.cjs deleted file mode 100644 index 2b07f52..0000000 --- a/.eslintrc.cjs +++ /dev/null @@ -1,230 +0,0 @@ -module.exports = { - root: true, - parser: "@typescript-eslint/parser", - plugins: [ - "@typescript-eslint", - "import" - ], - extends: [ - "eslint:recommended", - "plugin:@typescript-eslint/recommended" - ], - env: { - browser: true, - node: false, - commonjs: true, - es6: true - }, - parserOptions: { - ecmaVersion: 6, - sourceType: "script", - allowReserved: false, - ecmaFeatures: { - globalReturn: false, - impliedStrict: true, - jsx: false - } - }, - rules: { - // Possible problems - "no-constructor-return": 1, - "array-callback-return": 1, - "no-promise-executor-return": 1, - "no-unreachable-loop": 1, - "require-atomic-updates": 1, - "no-duplicate-imports": 2, - "no-template-curly-in-string": 2, - "no-unused-private-class-members": 2, - - "@typescript-eslint/no-unused-vars": [ 1, { argsIgnorePattern: "^_", varsIgnorePattern: "^_" } ], - "@typescript-eslint/explicit-member-accessibility": 2, - "@typescript-eslint/explicit-function-return-type": 2, - "@typescript-eslint/no-non-null-assertion": 0, - "@typescript-eslint/no-inferrable-types": 0, - - // Suggestions - "@typescript-eslint/no-namespace": 0, - "@typescript-eslint/no-explicit-any": 0, - "camelcase": 0, - "capitalized-comments": 1, - "dot-notation": 1, - "multiline-comment-style": 1, - "no-bitwise": 1, - "no-div-regex": 1, - "no-else-return": 1, - "no-extend-native": 1, - "no-extra-label": 1, - "no-floating-decimal": 1, - "no-label-var": 1, - "no-labels": 1, - "no-lone-blocks": 1, - "no-lonely-if": 1, - "no-new": 1, - "no-negated-condition": 1, - "no-shadow": 0, - "@typescript-eslint/no-extra-semi": 0, - "@typescript-eslint/no-empty-function": 0, - "prefer-destructuring": 1, - "prefer-template": 1, - "curly": [ 1, "multi" ], - "default-case": [ 1, { commentPattern: "^[sS]kip\\sdefault" } ], - "@typescript-eslint/no-shadow": 2, - "consistent-return": 0, - "consistent-this": 2, - "eqeqeq": 2, - "func-name-matching": 2, - "func-names": 2, - "grouped-accessor-pairs": 2, - "init-declarations": 0, - "no-array-constructor": 2, - "no-caller": 2, - "no-console": 1, - "no-eval": 2, - "no-implied-eval": 2, - "no-extra-bind": 2, - "no-implicit-globals": 2, - "no-mixed-operators": 2, - "no-multi-str": 2, - "no-new-wrappers": 2, - "no-new-object": 2, - "no-new-func": 2, - "no-proto": 2, - "no-return-await": 2, - "no-throw-literal": 2, - "no-unneeded-ternary": 2, - "no-unused-expressions": 2, - "no-useless-call": 2, - "no-useless-computed-key": 2, - "no-useless-concat": 2, - "no-useless-rename": 2, - "no-useless-return": 2, - "no-var": 2, - "prefer-const": 2, - "prefer-numeric-literals": 2, - "prefer-object-has-own": 2, - "prefer-object-spread": 2, - "prefer-promise-reject-errors": 2, - "prefer-regex-literals": 2, - "prefer-rest-params": 2, - "prefer-spread": 2, - "require-await": 2, - "symbol-description": 2, - "yoda": 2, - "spaced-comment": [ 2, "always" ], - "operator-assignment": [ 2, "always" ], - "func-style": [ 2, "expression" ], - "no-return-assign": [ 2, "except-parens" ], - "no-sequences": [ 2, "allowInParentheses" ], - "quote-props": [ 2, "consistent-as-needed" ], - "prefer-arrow-callback": [ 2, { allowNamedFunctions: true } ], - "object-shorthand": [ 2, "always", { avoidQuotes: true } ], - "no-restricted-exports": [ 2, { restrictedNamedExports: [ "default" ] } ], - "no-restricted-syntax": [ 2, "WithStatement" ], - "id-length": [ 2, { min: 2, max: 30, exceptionPatterns: [ "[ei-l]" ] } ], - - "@typescript-eslint/typedef": [ - 2, - { - arrayDestructuring: false, - objectDestructuring: false, - arrowParameter: false, - memberVariableDeclaration: true, - parameter: true, - propertyDeclaration: true, - variableDeclaration: false, - variableDeclarationIgnoreFunction: true - } - ], - - // Layout and formatting - "eol-last": 1, - "no-multiple-empty-lines": 1, - "rest-spread-spacing": 1, - "semi": 1, - "space-before-blocks": 1, - "wrap-regex": 1, - "space-infix-ops": 1, - "space-before-function-paren": [ 1, "never" ], - "array-bracket-spacing": [ 1, "always" ], - "block-spacing": [ 1, "always" ], - "arrow-parens": [ 1, "as-needed" ], - "function-call-argument-newline": [ 1, "consistent" ], - "array-bracket-newline": [ 1, "consistent" ], - "array-element-newline": [ 1, "consistent" ], - "max-len": [ 1, { code: 160 } ], - "arrow-spacing": [ 1, { before: true, after: true } ], - "semi-spacing": [ 1, { before: false, after: true } ], - "keyword-spacing": [ 1, { before: true, after: false, overrides: { - import: { after: true }, - export: { after: true }, - from: { after: true }, - const: { after: true }, - try: { after: true }, - catch: { after: true }, - do: { after: true }, - async: { after: true }, - return: { after: true }, - default: { after: true }, - finally: { after: true } - } } ], - "computed-property-spacing": [ 1, "never", { enforceForClassMembers: false } ], - "comma-dangle": 2, - "comma-spacing": 2, - "space-unary-ops": 2, - "switch-colon-spacing": 2, - "generator-star-spacing": 2, - "implicit-arrow-linebreak": 2, - "linebreak-style": 2, - "lines-between-class-members": 2, - "new-parens": 2, - "no-tabs": 2, - "no-trailing-spaces": 2, - "no-whitespace-before-property": 2, - "no-empty": [ 2, { allowEmptyCatch: true } ], - "indent": [ 2, 2 ], - "semi-style": [ 2, "last" ], - "comma-style": [ 2, "last" ], - "unicode-bom": [ 2, "never" ], - "operator-linebreak": [ 2, "before" ], - "yield-star-spacing": [ 2, "before" ], - "wrap-iife": [ 2, "inside" ], - "quotes": [ 2, "double" ], - "newline-per-chained-call": [ 2, { ignoreChainWithDepth: 2 } ], - "key-spacing": [ 2, { beforeColon: false, mode: "minimum" } ], - "brace-style": [ 2, "1tbs", { allowSingleLine: true } ], - "padding-line-between-statements": [ 2, { blankLine: "always", prev: "*", next: "return" } ], - - "import/no-webpack-loader-syntax": 1, - "import/no-self-import": 2, - "import/no-cycle": 2, - "import/no-useless-path-segments": 2, - "import/no-relative-parent-imports": 1, - "import/no-relative-packages": 1, - "import/export": 2, - "import/no-named-as-default": 1, - "import/no-named-as-default-member": 1, - "import/no-deprecated": 1, - "import/no-extraneous-dependencies": 1, - "import/no-mutable-exports": 2, - "import/no-unused-modules": 1, - "import/unambiguous": 2, - "import/no-commonjs": 1, - "import/no-amd": 1, - "import/no-import-module-exports": 1, - "import/no-unassigned-import": 0, - "import/newline-after-import": 2, - "import/first": 2, - "import/exports-last": 0, - "import/no-duplicates": 2, - "import/no-namespace": 0, - "import/order": [ - 2, - { - alphabetize: { - order: "asc", - caseInsensitive: true - } - } - ] - } -}; diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 0c88882..e6e65a0 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -23,7 +23,7 @@ lint: stage: .pre extends: .npm_based_job_base script: - - npm run lint + - npm run lint-ci build: stage: build diff --git a/.lintstagedrc b/.lintstagedrc index fe275ac..c78dfd4 100644 --- a/.lintstagedrc +++ b/.lintstagedrc @@ -1,3 +1,3 @@ { - "*.ts": "eslint" + "*.{ts,js}": "eslint --max-warnings 0" } diff --git a/__tests__/assets/jest-helper.ts b/__tests__/assets/jest-helper.ts index dcd4d6e..cff9630 100644 --- a/__tests__/assets/jest-helper.ts +++ b/__tests__/assets/jest-helper.ts @@ -30,12 +30,13 @@ const envTestFor = <GlobalType extends IWorkerBeeGlobals>( const runner = async<R, Args extends any[]>(checkEqual: boolean, fn: TWorkerBeeTestCallable<R, Args>, ...args: Args): Promise<R> => { - const webData = await page.evaluate(async({ args, globalFunction, webFn, customConfig }) => { + const webData = await page.evaluate(async({ args: pageArgs, globalFunction: globalFn, webFn }) => { + /* eslint-disable no-eval */ eval(`window.webEvalFn = ${webFn};`); - return (window as Window & typeof globalThis & { webEvalFn: Function }).webEvalFn(await globalThis[globalFunction]("web"), ...args); - }, { args, globalFunction: globalFunction.name, webFn: fn.toString(), customConfig: globalThis.config }); - let nodeData = await fn(await (globalFunction as Function)("node"), ...args); + return (window as Window & typeof globalThis & { webEvalFn: (...args: any[]) => any }).webEvalFn(await globalThis[globalFn]("web"), ...pageArgs); + }, { args, globalFunction: globalFunction.name, webFn: fn.toString() }); + let nodeData = await fn(await (globalFunction as (...args: any[]) => any)("node"), ...args); if(typeof nodeData === "object") // Remove prototype data from the node result to match webData nodeData = JSON.parse(JSON.stringify(nodeData)); @@ -46,7 +47,7 @@ const envTestFor = <GlobalType extends IWorkerBeeGlobals>( return webData; }; - const using = function<R, Args extends any[]>(fn: TWorkerBeeTestCallable<R, Args>, ...args: Args) { + const using = function<R, Args extends any[]>(fn: TWorkerBeeTestCallable<R, Args>, ...args: Args): Promise<R> { return runner.bind(undefined, true)(fn as any, ...args); }; using.dynamic = runner.bind(undefined, false); @@ -55,7 +56,7 @@ const envTestFor = <GlobalType extends IWorkerBeeGlobals>( }; export const test = base.extend<IWorkerBeeTest>({ - workerbeeTest: async({ page }, use) => { + workerbeeTest: ({ page }, use) => { use(envTestFor(page, createTestFor)); } }); diff --git a/__tests__/detailed/bot_events.ts b/__tests__/detailed/bot_events.ts index 582357f..c436322 100644 --- a/__tests__/detailed/bot_events.ts +++ b/__tests__/detailed/bot_events.ts @@ -1,8 +1,10 @@ +/* eslint-disable no-console */ +import type { ApiAccount } from "@hiveio/wax"; import { expect } from "@playwright/test"; import { ChromiumBrowser, ConsoleMessage, chromium } from "playwright"; -import type { IBlockData } from "../../src/interfaces"; import type { IStartConfiguration } from "../../src/bot"; +import type { IBlockData } from "../../src/interfaces"; import { test } from "../assets/jest-helper"; @@ -25,18 +27,20 @@ test.describe("WorkerBee Bot events test", () => { await page.goto("http://localhost:8080/__tests__/assets/test.html", { waitUntil: "load" }); }); - test("Allow to pass explicit chain", async ({ workerbeeTest }) => { - const explicitChainTest = await workerbeeTest(async ({ WorkerBee }) => { + test("Allow to pass explicit chain", async({ workerbeeTest }) => { + const explicitChainTest = await workerbeeTest(async({ WorkerBee }) => { - /// Prepare helper WorkerBee instance just to provide IHiveChainInterface instance. - /// It is a problem in PW tests to reference whole wax, since its dependencies need to be declared at importmap in test.html + /* + * Prepare helper WorkerBee instance just to provide IHiveChainInterface instance. + * It is a problem in PW tests to reference whole wax, since its dependencies need to be declared at importmap in test.html + */ const customWaxConfig = { apiEndpoint: "https://api.openhive.network", chainId: "badf00d" }; const customConfig: IStartConfiguration = { chainOptions: customWaxConfig }; const chainOwner = new WorkerBee(customConfig); - /// call start just to initialize chain member in WorkerBee object. + // Call start just to initialize chain member in WorkerBee object. await chainOwner.start(); - /// stop does not affect chain property, so we can avoid making ineffective api calls. + // Stop does not affect chain property, so we can avoid making ineffective api calls. await chainOwner.stop(); const localChain = chainOwner.chain; @@ -45,7 +49,7 @@ test.describe("WorkerBee Bot events test", () => { await bot.start(); - /// validate endpoints to easily check that instances match + // Validate endpoints to easily check that instances match const validChainInstance = bot.chain !== undefined && localChain !== undefined && bot.chain.endpointUrl === localChain.endpointUrl; await bot.delete(); @@ -67,7 +71,7 @@ test.describe("WorkerBee Bot events test", () => { }); test("Should call proper events", async({ workerbeeTest }) => { - const handlersCalled = await workerbeeTest(async({ WorkerBee }) => { + const result = await workerbeeTest(async({ WorkerBee }) => { const bot = new WorkerBee(); bot.on("error", console.error); @@ -82,11 +86,11 @@ test.describe("WorkerBee Bot events test", () => { return handlersCalled; }); - expect(handlersCalled).toStrictEqual(2); + expect(result).toStrictEqual(2); }); test("Should be able to parse at least 2 blocks from the remote", async({ workerbeeTest }) => { - const blocksParsed = await workerbeeTest.dynamic(async({ WorkerBee }, HIVE_BLOCK_INTERVAL) => { + const result = await workerbeeTest.dynamic(async({ WorkerBee }, hiveBlockInterval) => { const bot = new WorkerBee(); bot.on("error", console.error); @@ -99,7 +103,7 @@ test.describe("WorkerBee Bot events test", () => { await bot.start(); await Promise.race([ - new Promise(res => { setTimeout(res, HIVE_BLOCK_INTERVAL * 4); }), + new Promise(res => { setTimeout(res, hiveBlockInterval * 4); }), new Promise<void>(res => { bot.on("stop", res); }) @@ -111,17 +115,18 @@ test.describe("WorkerBee Bot events test", () => { return blocksParsed; }, HIVE_BLOCK_INTERVAL); - expect(blocksParsed).toBeGreaterThanOrEqual(1); + expect(result).toBeGreaterThanOrEqual(1); }); test("Should be able to use async iterator on bot", async({ workerbeeTest }) => { - const blocksParsed = await workerbeeTest.dynamic(async({ WorkerBee }, HIVE_BLOCK_INTERVAL) => { + const result = await workerbeeTest.dynamic(async({ WorkerBee }, hiveBlockInterval) => { const bot = new WorkerBee(); bot.on("error", console.error); let blocksParsed = 0; await Promise.race([ + /* eslint-disable-next-line no-async-promise-executor */ new Promise<void>(async res => { await bot.start(); @@ -135,7 +140,7 @@ test.describe("WorkerBee Bot events test", () => { res(); }), - new Promise(res => { setTimeout(res, HIVE_BLOCK_INTERVAL * 4); }) + new Promise(res => { setTimeout(res, hiveBlockInterval * 4); }) ]); await bot.stop(); @@ -144,15 +149,16 @@ test.describe("WorkerBee Bot events test", () => { return blocksParsed; }, HIVE_BLOCK_INTERVAL); - expect(blocksParsed).toBeGreaterThanOrEqual(1); + expect(result).toBeGreaterThanOrEqual(1); }); test("Should be able to use block observer", async({ workerbeeTest }) => { - await workerbeeTest(async({ WorkerBee }, HIVE_BLOCK_INTERVAL) => { + await workerbeeTest(async({ WorkerBee }, hiveBlockInterval) => { const bot = new WorkerBee(); bot.on("error", console.error); await Promise.race([ + /* eslint-disable-next-line no-async-promise-executor */ new Promise<void>(async res => { await bot.start(); @@ -170,7 +176,7 @@ test.describe("WorkerBee Bot events test", () => { } }); }), - new Promise(res => { setTimeout(res, HIVE_BLOCK_INTERVAL * 4); }) + new Promise(res => { setTimeout(res, hiveBlockInterval * 4); }) ]); await bot.stop(); @@ -179,11 +185,12 @@ test.describe("WorkerBee Bot events test", () => { }); test("Should be able to use full manabar regeneration time observer", async({ workerbeeTest }) => { - await workerbeeTest(async({ WorkerBee }, HIVE_BLOCK_INTERVAL) => { + await workerbeeTest(async({ WorkerBee }, hiveBlockInterval) => { const bot = new WorkerBee(); bot.on("error", console.error); await Promise.race([ + /* eslint-disable-next-line no-async-promise-executor */ new Promise<void>(async res => { await bot.start(); @@ -191,14 +198,14 @@ test.describe("WorkerBee Bot events test", () => { const observer = bot.observe.accountFullManabar("initminer"); observer.subscribe({ - next(acc) { + next(acc: ApiAccount) { console.info(`Account has full manabar: ${acc.voting_manabar.current_mana}`); res(); } }); }), - new Promise(res => { setTimeout(res, HIVE_BLOCK_INTERVAL * 4); }) + new Promise(res => { setTimeout(res, hiveBlockInterval * 4); }) ]); await bot.stop(); diff --git a/eslint.config.js b/eslint.config.js new file mode 100644 index 0000000..3f2059b --- /dev/null +++ b/eslint.config.js @@ -0,0 +1,141 @@ +import path from "node:path"; +import { fileURLToPath } from "node:url"; +import { fixupPluginRules } from "@eslint/compat"; +import { FlatCompat } from "@eslint/eslintrc"; +import js from "@eslint/js"; +import typescriptEslint from "@typescript-eslint/eslint-plugin"; +import tsParser from "@typescript-eslint/parser"; +import _import from "eslint-plugin-import"; +import globals from "globals"; + +const __filename = fileURLToPath(import.meta.url); +const __dirname = path.dirname(__filename); +const compat = new FlatCompat({ + baseDirectory: __dirname, + recommendedConfig: js.configs.recommended, + allConfig: js.configs.all +}); + +export default [ { + ignores: [ + "**/node_modules", + "**/dist", + "examples" + ] +}, ...compat.extends("eslint:recommended"), { + plugins: { + import: fixupPluginRules(_import) + }, + languageOptions: { + globals: { + ...globals.browser, + ...globals.node, + ...globals.es2020 + }, + ecmaVersion: 11, + sourceType: "module", + }, + + rules: { + "require-atomic-updates": 1, + "no-unused-private-class-members": 1, + "capitalized-comments": 1, + "multiline-comment-style": 1, + "no-else-return": 1, + "curly": [ 1, "multi" ], + "default-case": [ 1, { + commentPattern: "^[sS]kip\\sdefault" + } ], + "consistent-return": 0, + "consistent-this": 2, + "no-console": 1, + "no-eval": 2, + "no-extra-bind": 2, + "no-useless-return": 2, + "no-var": 2, + "prefer-const": 2, + "prefer-object-spread": 2, + "prefer-spread": 2, + "require-await": 2, + "func-style": [ 2, "expression" ], + "quote-props": [ 2, "consistent-as-needed" ], + "no-restricted-syntax": [ 2, "WithStatement" ], + "id-length": [ 2, { + min: 2, + max: 30, + exceptionPatterns: [ "[ei-l]" ] + } ], + "eol-last": 1, + "no-multiple-empty-lines": 1, + "max-len": [ 1, { + code: 160 + } ], + "comma-spacing": 2, + "linebreak-style": 2, + "no-tabs": 2, + "no-trailing-spaces": 2, + "indent": [ 2, 2 ], + "semi-style": [ 2, "last" ], + "comma-style": [ 2, "last" ], + "quotes": [ 2, "double" ], + "brace-style": [ 2, "1tbs", { + allowSingleLine: true + } ], + "import/no-self-import": 2, + "import/no-cycle": 2, + "import/export": 2, + "import/no-unused-modules": 1, + "import/no-commonjs": 1, + "import/newline-after-import": 2, + "import/first": 2, + "import/no-duplicates": 2, + "import/order": [ 2, { + alphabetize: { + order: "asc", + caseInsensitive: true + } + } ], + // Those will be handled later in the TypeScript section + "no-redeclare": 0, + "no-undef": 0 + } +}, { + files: [ "**/*.ts" ], + plugins: { + "@typescript-eslint": typescriptEslint + }, + languageOptions: { + globals: { + ...globals.browser, + ...globals.node, + ...globals.es2020 + }, + parser: tsParser, + ecmaVersion: 11, + sourceType: "module" + }, + rules: { + ...typescriptEslint.configs.recommended.rules, + "@typescript-eslint/no-unused-vars": [ 1, { + argsIgnorePattern: "^_", + varsIgnorePattern: "^_" + } ], + "@typescript-eslint/explicit-member-accessibility": 2, + "@typescript-eslint/explicit-function-return-type": 2, + "@typescript-eslint/no-non-null-assertion": 0, + "@typescript-eslint/no-inferrable-types": 0, + "@typescript-eslint/no-explicit-any": 0, + "@typescript-eslint/typedef": [ 2, { + arrayDestructuring: false, + objectDestructuring: false, + arrowParameter: false, + memberVariableDeclaration: true, + parameter: true, + propertyDeclaration: true, + variableDeclaration: false, + variableDeclarationIgnoreFunction: true + } ], + "@typescript-eslint/no-extra-semi": 0, + "@typescript-eslint/no-empty-function": 0 + } +} ]; diff --git a/package.json b/package.json index 967e460..3df1033 100644 --- a/package.json +++ b/package.json @@ -20,7 +20,8 @@ "license": "SEE LICENSE IN LICENSE.md", "private": false, "scripts": { - "lint": "eslint src --ext .js,.ts --max-warnings=0 --ignore-pattern *.d.ts --fix", + "lint": "npm run lint-ci -- --fix", + "lint-ci": "eslint --max-warnings=0", "postinstall": "ls-engines && husky", "build": "tsc", "postbuild": "rollup -c", @@ -35,17 +36,21 @@ "dist/bundle/index.js" ], "devDependencies": { + "@eslint/compat": "^1.2.2", + "@eslint/eslintrc": "^3.1.0", + "@eslint/js": "^9.14.0", "@playwright/test": "^1.39.0", "@rollup/plugin-commonjs": "^27.0.0", "@rollup/plugin-node-resolve": "^15.3.0", "@types/events": "^3.0.3", "@types/node": "^18.19.50", - "@typescript-eslint/eslint-plugin": "^6.11.0", - "@typescript-eslint/parser": "^6.11.0", + "@typescript-eslint/eslint-plugin": "^8.13.0", + "@typescript-eslint/parser": "^8.13.0", "buffer": "^5.5.0||^6.0.0", "dotenv": "^16.3.1", - "eslint": "^8.5.0", - "eslint-plugin-import": "^2.26.0", + "eslint": "^9.14.0", + "eslint-plugin-import": "^2.31.0", + "globals": "^15.12.0", "http-server": "^14.1.1", "husky": "^9.1.5", "lint-staged": "^15.2.2", @@ -73,6 +78,12 @@ "engines": { "node": ">= 18" }, + "devEngines": { + "runtime": { + "name": "node", + "version": "^18.18.0 || ^20.9.0 || >=21.1.0" + } + }, "publishConfig": { "registry": "https://RegistryPlaceholder", "tag": "DistTagPlaceholder" diff --git a/playwright.config.ts b/playwright.config.ts index 50678e1..a7a71a6 100644 --- a/playwright.config.ts +++ b/playwright.config.ts @@ -1,10 +1,10 @@ // This is a workaround for https://github.com/microsoft/playwright/issues/18282#issuecomment-1612266345 -import { defineConfig } from '@playwright/test'; +import { defineConfig } from "@playwright/test"; export default defineConfig({ reporter: [ - ['junit', { outputFile: 'results.xml' }], - ['json', { outputFile: 'results.json' }] + [ "junit", { outputFile: "results.xml" } ], + [ "json", { outputFile: "results.json" } ] ], projects: [ { @@ -14,6 +14,6 @@ export default defineConfig({ ], // Run your local dev server before starting the tests webServer: { - command: 'npx http-server' + command: "npx http-server" } }); diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index a731cdb..29378a2 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -21,6 +21,15 @@ importers: specifier: ^7.8.1 version: 7.8.1 devDependencies: + '@eslint/compat': + specifier: ^1.2.2 + version: 1.2.2(eslint@9.14.0) + '@eslint/eslintrc': + specifier: ^3.1.0 + version: 3.1.0 + '@eslint/js': + specifier: ^9.14.0 + version: 9.14.0 '@playwright/test': specifier: ^1.39.0 version: 1.39.0 @@ -37,11 +46,11 @@ importers: specifier: ^18.19.50 version: 18.19.50 '@typescript-eslint/eslint-plugin': - specifier: ^6.11.0 - version: 6.11.0(@typescript-eslint/parser@6.11.0(eslint@8.5.0)(typescript@5.2.2))(eslint@8.5.0)(typescript@5.2.2) + specifier: ^8.13.0 + version: 8.13.0(@typescript-eslint/parser@8.13.0(eslint@9.14.0)(typescript@5.2.2))(eslint@9.14.0)(typescript@5.2.2) '@typescript-eslint/parser': - specifier: ^6.11.0 - version: 6.11.0(eslint@8.5.0)(typescript@5.2.2) + specifier: ^8.13.0 + version: 8.13.0(eslint@9.14.0)(typescript@5.2.2) buffer: specifier: ^5.5.0||^6.0.0 version: 6.0.3 @@ -49,11 +58,14 @@ importers: specifier: ^16.3.1 version: 16.3.1 eslint: - specifier: ^8.5.0 - version: 8.5.0 + specifier: ^9.14.0 + version: 9.14.0 eslint-plugin-import: - specifier: ^2.26.0 - version: 2.26.0(@typescript-eslint/parser@6.11.0(eslint@8.5.0)(typescript@5.2.2))(eslint@8.5.0) + specifier: ^2.31.0 + version: 2.31.0(@typescript-eslint/parser@8.13.0(eslint@9.14.0)(typescript@5.2.2))(eslint@9.14.0) + globals: + specifier: ^15.12.0 + version: 15.12.0 http-server: specifier: ^14.1.1 version: 14.1.1 @@ -118,9 +130,42 @@ packages: resolution: {integrity: sha512-Cu96Sd2By9mCNTx2iyKOmq10v22jUVQv0lQnlGNy16oE9589yE+QADPbrMGCkA51cKZSg3Pu/aTJVTGfL/qjUA==} engines: {node: ^12.0.0 || ^14.0.0 || >=16.0.0} - '@eslint/eslintrc@1.4.1': - resolution: {integrity: sha512-XXrH9Uarn0stsyldqDYq8r++mROmWRI1xKMXa640Bb//SY1+ECYX6VzT6Lcx5frD0V30XieqJ0oX9I2Xj5aoMA==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + '@eslint-community/regexpp@4.12.1': + resolution: {integrity: sha512-CCZCDJuduB9OUkFkY2IgppNZMi2lBQgD2qzwXkEia16cge2pijY/aXi96CJMquDMn3nJdlPV1A5KrJEXwfLNzQ==} + engines: {node: ^12.0.0 || ^14.0.0 || >=16.0.0} + + '@eslint/compat@1.2.2': + resolution: {integrity: sha512-jhgiIrsw+tRfcBQ4BFl2C3vCrIUw2trCY0cnDvGZpwTtKCEDmZhAtMfrEUP/KpnwM6PrO0T+Ltm+ccW74olG3Q==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + peerDependencies: + eslint: ^9.10.0 + peerDependenciesMeta: + eslint: + optional: true + + '@eslint/config-array@0.18.0': + resolution: {integrity: sha512-fTxvnS1sRMu3+JjXwJG0j/i4RT9u4qJ+lqS/yCGap4lH4zZGzQ7tu+xZqQmcMZq5OBZDL4QRxQzRjkWcGt8IVw==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + + '@eslint/core@0.7.0': + resolution: {integrity: sha512-xp5Jirz5DyPYlPiKat8jaq0EmYvDXKKpzTbxXMpT9eqlRJkRKIz9AGMdlvYjih+im+QlhWrpvVjl8IPC/lHlUw==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + + '@eslint/eslintrc@3.1.0': + resolution: {integrity: sha512-4Bfj15dVJdoy3RfZmmo86RK1Fwzn6SstsvK9JS+BaVKqC6QQQQyXekNaC+g+LKNgkQ+2VhGAzm6hO40AhMR3zQ==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + + '@eslint/js@9.14.0': + resolution: {integrity: sha512-pFoEtFWCPyDOl+C6Ift+wC7Ro89otjigCf5vcuWqWgqNSQbRrpjSvdeE6ofLz4dHmyxD5f7gIdGT4+p36L6Twg==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + + '@eslint/object-schema@2.1.4': + resolution: {integrity: sha512-BsWiH1yFGjXXS2yvrf5LyuoSIIbPrGUWob917o+BTKuZ7qJdxX8aJLRxs1fS9n6r7vESrq1OUqb68dANcFXuQQ==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + + '@eslint/plugin-kit@0.2.2': + resolution: {integrity: sha512-CXtq5nR4Su+2I47WPOlWud98Y5Lv8Kyxp2ukhgFx/eW6Blm18VXJO5WuQylPugRo8nbluoi6GvvxBLqHcvqUUw==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} '@gar/promisify@1.1.3': resolution: {integrity: sha512-k2Ty1JcVojjJFwrg/ThKi2ujJ7XNLYaFGNB/bWT9wGR+oSMJHMa5w+CUq6p/pVrKeNNgA7pCqEcjSnHVoqJQFw==} @@ -133,14 +178,25 @@ packages: resolution: {integrity: sha1-zIoajnS/Ct89scl0F/b1jtpk6hs=, tarball: https://gitlab.syncad.com/api/v4/projects/419/packages/npm/@hiveio/wax/-/@hiveio/wax-1.27.6-rc6.tgz} engines: {node: '>= 18'} - '@humanwhocodes/config-array@0.9.5': - resolution: {integrity: sha512-ObyMyWxZiCu/yTisA7uzx81s40xR2fD5Cg/2Kq7G02ajkNubJf6BopgDTmDyc3U7sXpNKM8cYOw7s7Tyr+DnCw==} - engines: {node: '>=10.10.0'} - deprecated: Use @eslint/config-array instead + '@humanfs/core@0.19.1': + resolution: {integrity: sha512-5DyQ4+1JEUzejeK1JGICcideyfUbGixgS9jNgex5nqkW+cY7WZhxBigmieN5Qnw9ZosSNVC9KQKyb+GUaGyKUA==} + engines: {node: '>=18.18.0'} - '@humanwhocodes/object-schema@1.2.1': - resolution: {integrity: sha512-ZnQMnLV4e7hDlUvw8H+U8ASL02SS2Gn6+9Ac3wGGLIe7+je2AeAOxPY+izIPJDfFDb7eDjev0Us8MO1iFRN8hA==} - deprecated: Use @eslint/object-schema instead + '@humanfs/node@0.16.6': + resolution: {integrity: sha512-YuI2ZHQL78Q5HbhDiBA1X4LmYdXCKCMQIfw0pw7piHJwyREFebJUvrQN4cMssyES6x+vfUbx1CIpaQUKYdQZOw==} + engines: {node: '>=18.18.0'} + + '@humanwhocodes/module-importer@1.0.1': + resolution: {integrity: sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA==} + engines: {node: '>=12.22'} + + '@humanwhocodes/retry@0.3.1': + resolution: {integrity: sha512-JBxkERygn7Bv/GbN5Rv8Ul6LVknS+5Bp6RgDC/O8gEBU/yeH5Ui5C/OlWrTb6qct7LjjfT6Re2NxB0ln0yYybA==} + engines: {node: '>=18.18'} + + '@humanwhocodes/retry@0.4.0': + resolution: {integrity: sha512-xnRgu9DxZbkWak/te3fcytNyp8MTbuiZIaueg2rgEvBuN55n04nwLYLU9TX/VVlusc9L2ZNXi99nUFNkHXtr5g==} + engines: {node: '>=18.18'} '@isaacs/cliui@8.0.2': resolution: {integrity: sha512-O8jcjabXaleOG9DQ0+ARXWZBTfnP4WNAqzuiJK7ll44AmxGKv/J2M4TPjxjY3znBCfvBXFzucm1twdyFybFqEA==} @@ -352,6 +408,9 @@ packages: cpu: [x64] os: [win32] + '@rtsao/scc@1.1.0': + resolution: {integrity: sha512-zt6OdqaDoOnJ1ZYsCYGt9YmWzDXl4vQdKTyJev62gFhRGKdx7mcT54V9KIjg+d2wi9EXsPvAPKe7i7WjfVWB8g==} + '@sigstore/bundle@1.1.0': resolution: {integrity: sha512-PFutXEy0SmQxYI4texPw3dd2KewuNqv7OuK1ZFtY2fM754yhvG2KdgwIhRnoEE2uHdtdGNQ8s0lb94dW9sELog==} engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} @@ -401,69 +460,65 @@ packages: '@types/resolve@1.20.2': resolution: {integrity: sha512-60BCwRFOZCQhDncwQdxxeOEEkbc5dIMccYLwbxsS4TUNeVECQ/pBJ0j09mrHOl/JJvpRPGwO9SvE4nR2Nb/a4Q==} - '@types/semver@7.5.5': - resolution: {integrity: sha512-+d+WYC1BxJ6yVOgUgzK8gWvp5qF8ssV5r4nsDcZWKRWcDQLQ619tvWAxJQYGgBrO1MnLJC7a5GtiYsAoQ47dJg==} - '@types/validator@13.11.7': resolution: {integrity: sha512-q0JomTsJ2I5Mv7dhHhQLGjMvX0JJm5dyZ1DXQySIUzU1UlwzB8bt+R6+LODUbz0UDIOvEzGc28tk27gBJw2N8Q==} - '@typescript-eslint/eslint-plugin@6.11.0': - resolution: {integrity: sha512-uXnpZDc4VRjY4iuypDBKzW1rz9T5YBBK0snMn8MaTSNd2kMlj50LnLBABELjJiOL5YHk7ZD8hbSpI9ubzqYI0w==} - engines: {node: ^16.0.0 || >=18.0.0} + '@typescript-eslint/eslint-plugin@8.13.0': + resolution: {integrity: sha512-nQtBLiZYMUPkclSeC3id+x4uVd1SGtHuElTxL++SfP47jR0zfkZBJHc+gL4qPsgTuypz0k8Y2GheaDYn6Gy3rg==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: - '@typescript-eslint/parser': ^6.0.0 || ^6.0.0-alpha - eslint: ^7.0.0 || ^8.0.0 + '@typescript-eslint/parser': ^8.0.0 || ^8.0.0-alpha.0 + eslint: ^8.57.0 || ^9.0.0 typescript: '*' peerDependenciesMeta: typescript: optional: true - '@typescript-eslint/parser@6.11.0': - resolution: {integrity: sha512-+whEdjk+d5do5nxfxx73oanLL9ghKO3EwM9kBCkUtWMRwWuPaFv9ScuqlYfQ6pAD6ZiJhky7TZ2ZYhrMsfMxVQ==} - engines: {node: ^16.0.0 || >=18.0.0} + '@typescript-eslint/parser@8.13.0': + resolution: {integrity: sha512-w0xp+xGg8u/nONcGw1UXAr6cjCPU1w0XVyBs6Zqaj5eLmxkKQAByTdV/uGgNN5tVvN/kKpoQlP2cL7R+ajZZIQ==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: - eslint: ^7.0.0 || ^8.0.0 + eslint: ^8.57.0 || ^9.0.0 typescript: '*' peerDependenciesMeta: typescript: optional: true - '@typescript-eslint/scope-manager@6.11.0': - resolution: {integrity: sha512-0A8KoVvIURG4uhxAdjSaxy8RdRE//HztaZdG8KiHLP8WOXSk0vlF7Pvogv+vlJA5Rnjj/wDcFENvDaHb+gKd1A==} - engines: {node: ^16.0.0 || >=18.0.0} + '@typescript-eslint/scope-manager@8.13.0': + resolution: {integrity: sha512-XsGWww0odcUT0gJoBZ1DeulY1+jkaHUciUq4jKNv4cpInbvvrtDoyBH9rE/n2V29wQJPk8iCH1wipra9BhmiMA==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} - '@typescript-eslint/type-utils@6.11.0': - resolution: {integrity: sha512-nA4IOXwZtqBjIoYrJcYxLRO+F9ri+leVGoJcMW1uqr4r1Hq7vW5cyWrA43lFbpRvQ9XgNrnfLpIkO3i1emDBIA==} - engines: {node: ^16.0.0 || >=18.0.0} + '@typescript-eslint/type-utils@8.13.0': + resolution: {integrity: sha512-Rqnn6xXTR316fP4D2pohZenJnp+NwQ1mo7/JM+J1LWZENSLkJI8ID8QNtlvFeb0HnFSK94D6q0cnMX6SbE5/vA==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: - eslint: ^7.0.0 || ^8.0.0 typescript: '*' peerDependenciesMeta: typescript: optional: true - '@typescript-eslint/types@6.11.0': - resolution: {integrity: sha512-ZbEzuD4DwEJxwPqhv3QULlRj8KYTAnNsXxmfuUXFCxZmO6CF2gM/y+ugBSAQhrqaJL3M+oe4owdWunaHM6beqA==} - engines: {node: ^16.0.0 || >=18.0.0} + '@typescript-eslint/types@8.13.0': + resolution: {integrity: sha512-4cyFErJetFLckcThRUFdReWJjVsPCqyBlJTi6IDEpc1GWCIIZRFxVppjWLIMcQhNGhdWJJRYFHpHoDWvMlDzng==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} - '@typescript-eslint/typescript-estree@6.11.0': - resolution: {integrity: sha512-Aezzv1o2tWJwvZhedzvD5Yv7+Lpu1by/U1LZ5gLc4tCx8jUmuSCMioPFRjliN/6SJIvY6HpTtJIWubKuYYYesQ==} - engines: {node: ^16.0.0 || >=18.0.0} + '@typescript-eslint/typescript-estree@8.13.0': + resolution: {integrity: sha512-v7SCIGmVsRK2Cy/LTLGN22uea6SaUIlpBcO/gnMGT/7zPtxp90bphcGf4fyrCQl3ZtiBKqVTG32hb668oIYy1g==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: typescript: '*' peerDependenciesMeta: typescript: optional: true - '@typescript-eslint/utils@6.11.0': - resolution: {integrity: sha512-p23ibf68fxoZy605dc0dQAEoUsoiNoP3MD9WQGiHLDuTSOuqoTsa4oAy+h3KDkTcxbbfOtUjb9h3Ta0gT4ug2g==} - engines: {node: ^16.0.0 || >=18.0.0} + '@typescript-eslint/utils@8.13.0': + resolution: {integrity: sha512-A1EeYOND6Uv250nybnLZapeXpYMl8tkzYUxqmoKAWnI4sei3ihf2XdZVd+vVOmHGcp3t+P7yRrNsyyiXTvShFQ==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: - eslint: ^7.0.0 || ^8.0.0 + eslint: ^8.57.0 || ^9.0.0 - '@typescript-eslint/visitor-keys@6.11.0': - resolution: {integrity: sha512-+SUN/W7WjBr05uRxPggJPSzyB8zUpaYo2hByKasWbqr3PM8AXfZt8UHdNpBS1v9SA62qnSSMF3380SwDqqprgQ==} - engines: {node: ^16.0.0 || >=18.0.0} + '@typescript-eslint/visitor-keys@8.13.0': + resolution: {integrity: sha512-7N/+lztJqH4Mrf0lb10R/CbI1EaAMMGyF5y0oJvFoAhafwgiRA7TXyd8TFn8FC8k5y2dTsYogg238qavRGNnlw==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} abbrev@1.1.1: resolution: {integrity: sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==} @@ -477,8 +532,8 @@ packages: peerDependencies: acorn: ^6.0.0 || ^7.0.0 || ^8.0.0 - acorn@8.11.2: - resolution: {integrity: sha512-nc0Axzp/0FILLEVsm4fNwLCwMttvhEI263QtVPQcbpfZZ3ts0hLsZGOpE6czNlid7CJ9MlyH8reXkpsf3YUY4w==} + acorn@8.14.0: + resolution: {integrity: sha512-cl669nCJTZBsL97OF4kUQm5g5hC2uihk0NxY3WENAC0TYdILVkAyHymAntgxGkl7K+t0cXIrH5siy5S4XkFycA==} engines: {node: '>=0.4.0'} hasBin: true @@ -500,10 +555,6 @@ packages: ajv@8.17.1: resolution: {integrity: sha512-B/gBuNg5SiMTrPkC+A2+cW0RszwxYmn6VYxB/inlBStS5nx6xHIt/ehKRhIMhqusl7a8LjQoZnjCs5vhwxOQ1g==} - ansi-colors@4.1.3: - resolution: {integrity: sha512-/6w/C21Pm1A7aZitlI5Ni/2J6FFQN8i1Cvz3kHABAAbw93v/NlvKdVOqz7CCWz/3iv/JplRSEEZ83XION15ovw==} - engines: {node: '>=6'} - ansi-escapes@6.2.1: resolution: {integrity: sha512-4nJ3yixlEthEJ9Rk4vPcdBRkZvQZlYyu8j4/Mqz5sgIkddmEnH2Yj2ZrnP9S3tQOvSNRUIgVNF/1yPpRAGNRig==} engines: {node: '>=14.16'} @@ -550,18 +601,22 @@ packages: resolution: {integrity: sha512-ahC5W1xgou+KTXix4sAO8Ki12Q+jf4i0+tmk3sC+zgcynshkHxzpXdImBehiUYKKKDwvfFiJl1tZt6ewscS1Mg==} engines: {node: '>= 0.4'} - array-includes@3.1.7: - resolution: {integrity: sha512-dlcsNBIiWhPkHdOEEKnehA+RNUWDc4UqFtnIXU4uuYDPtA4LDkr7qip2p0VvFAEXNDr0yWZ9PJyIRiGjRLQzwQ==} + array-includes@3.1.8: + resolution: {integrity: sha512-itaWrbYbqpGXkGhZPGUulwnhVf5Hpy1xiCFsGqyIGglbBxmG5vSjxQen3/WGOjPpNEv1RtBLKxbmVXm8HpJStQ==} engines: {node: '>= 0.4'} - array-union@2.1.0: - resolution: {integrity: sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==} - engines: {node: '>=8'} + array.prototype.findlastindex@1.2.5: + resolution: {integrity: sha512-zfETvRFA8o7EiNn++N5f/kaCw221hrpGsDmcpndVupkPzEc1Wuf3VgC0qby1BbHs7f5DVYjgtEU2LLh5bqeGfQ==} + engines: {node: '>= 0.4'} array.prototype.flat@1.3.2: resolution: {integrity: sha512-djYB+Zx2vLewY8RWlNCUdHjDXs2XOgm602S9E7P/UpHgfeHL00cRiIF+IN/G/aUJ7kGPb6yO/ErDI5V2s8iycA==} engines: {node: '>= 0.4'} + array.prototype.flatmap@1.3.2: + resolution: {integrity: sha512-Ewyx0c9PmpcsByhSW4r+9zDU7sGjFc86qf/kKtuSCRdhfbk0SNLLkaT5qvcHnRGgc5NP/ly/y+qkXkqONX54CQ==} + engines: {node: '>= 0.4'} + array.prototype.map@1.0.7: resolution: {integrity: sha512-XpcFfLoBEAhezrrNw1V+yLXkE7M6uR7xJEsxbG6c/V9v043qurwVJB9r9UTnoSioFDoz1i1VOydpWGmJpfVZbg==} engines: {node: '>= 0.4'} @@ -790,18 +845,10 @@ packages: delegates@1.0.0: resolution: {integrity: sha512-bd2L678uiWATM6m5Z1VzNCErI3jiGzt6HGY8OVICs40JQq/HALfbyNJmp0UDakEY4pMMaN0Ly5om/B1VI/+xfQ==} - dir-glob@3.0.1: - resolution: {integrity: sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA==} - engines: {node: '>=8'} - doctrine@2.1.0: resolution: {integrity: sha512-35mSku4ZXK0vfCuHEDAwt55dg2jNajHZ1odvF+8SSr82EsZY4QmXfuWso8oEd8zRhVObSN18aM0CjSdoBX7zIw==} engines: {node: '>=0.10.0'} - doctrine@3.0.0: - resolution: {integrity: sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w==} - engines: {node: '>=6.0.0'} - dotenv@16.3.1: resolution: {integrity: sha512-IPzF4w4/Rd94bA9imS68tZBaYyBWSCE47V1RGuMrB94iyTOIEwRmVL2x/4An+6mETpLrKJ5hQkB8W4kFAadeIQ==} engines: {node: '>=12'} @@ -821,10 +868,6 @@ packages: encoding@0.1.13: resolution: {integrity: sha512-ETBauow1T35Y/WZMkio9jiM0Z5xjHHmJ4XmjZOq1l/dXz3lr2sRn87nJy20RupqSh1F2m3HHPSp8ShIPQJrJ3A==} - enquirer@2.4.1: - resolution: {integrity: sha512-rRqJg/6gd538VHvR3PSrdRBb/1Vy2YfzHqzvbhGIQpDRKIa4FgV/54b5Q1xYSxOOwKvjXweS26E0Q+nAMwp2pQ==} - engines: {node: '>=8.6'} - env-paths@2.2.1: resolution: {integrity: sha512-+h1lkLKhZMTYjog1VEpJNG7NZJWcuc2DDk/qsqSTRRCOXiLjeQ1d1/udrUGhqMxUgAlwKNZ0cf2uqan5GLuS2A==} engines: {node: '>=6'} @@ -884,8 +927,8 @@ packages: eslint-import-resolver-node@0.3.9: resolution: {integrity: sha512-WFj2isz22JahUv+B788TlO3N6zL3nNJGU8CcZbPZvVEkBPaJdCV4vy5wyghty5ROFbCRnm132v8BScu5/1BQ8g==} - eslint-module-utils@2.8.0: - resolution: {integrity: sha512-aWajIYfsqCKRDgUfjEXNN/JlrzauMuSEy5sbd7WXbtW3EH6A6MpwEh42c7qD+MqQo9QMJ6fWLAeIJynx0g6OAw==} + eslint-module-utils@2.12.0: + resolution: {integrity: sha512-wALZ0HFoytlyh/1+4wuZ9FJCD/leWHQzzrxJ8+rebyReSLk7LApMyd3WJaLVoN+D5+WIdJyDK1c6JnE65V4Zyg==} engines: {node: '>=4'} peerDependencies: '@typescript-eslint/parser': '*' @@ -905,42 +948,41 @@ packages: eslint-import-resolver-webpack: optional: true - eslint-plugin-import@2.26.0: - resolution: {integrity: sha512-hYfi3FXaM8WPLf4S1cikh/r4IxnO6zrhZbEGz2b660EJRbuxgpDS5gkCuYgGWg2xxh2rBuIr4Pvhve/7c31koA==} + eslint-plugin-import@2.31.0: + resolution: {integrity: sha512-ixmkI62Rbc2/w8Vfxyh1jQRTdRTF52VxwRVHl/ykPAmqG+Nb7/kNn+byLP0LxPgI7zWA16Jt82SybJInmMia3A==} engines: {node: '>=4'} peerDependencies: '@typescript-eslint/parser': '*' - eslint: ^2 || ^3 || ^4 || ^5 || ^6 || ^7.2.0 || ^8 + eslint: ^2 || ^3 || ^4 || ^5 || ^6 || ^7.2.0 || ^8 || ^9 peerDependenciesMeta: '@typescript-eslint/parser': optional: true - eslint-scope@7.2.2: - resolution: {integrity: sha512-dOt21O7lTMhDM+X9mB4GX+DZrZtCUJPL/wlcTqxyrx5IvO0IYtILdtrQGQp+8n5S0gwSVmOf9NQrjMOgfQZlIg==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - - eslint-utils@3.0.0: - resolution: {integrity: sha512-uuQC43IGctw68pJA1RgbQS8/NP7rch6Cwd4j3ZBtgo4/8Flj4eGE7ZYSZRN3iq5pVUv6GPdW5Z1RFleo84uLDA==} - engines: {node: ^10.0.0 || ^12.0.0 || >= 14.0.0} - peerDependencies: - eslint: '>=5' - - eslint-visitor-keys@2.1.0: - resolution: {integrity: sha512-0rSmRBzXgDzIsD6mGdJgevzgezI534Cer5L/vyMX0kHzT/jiB43jRhd9YUlMGYLQy2zprNmoT8qasCGtY+QaKw==} - engines: {node: '>=10'} + eslint-scope@8.2.0: + resolution: {integrity: sha512-PHlWUfG6lvPc3yvP5A4PNyBL1W8fkDUccmI21JUu/+GKZBoH/W5u6usENXUrWFRsyoW5ACUjFGgAFQp5gUlb/A==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} eslint-visitor-keys@3.4.3: resolution: {integrity: sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - eslint@8.5.0: - resolution: {integrity: sha512-tVGSkgNbOfiHyVte8bCM8OmX+xG9PzVG/B4UCF60zx7j61WIVY/AqJECDgpLD4DbbESD0e174gOg3ZlrX15GDg==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + eslint-visitor-keys@4.2.0: + resolution: {integrity: sha512-UyLnSehNt62FFhSwjZlHmeokpRK59rcz29j+F1/aDgbkbRTk7wIc9XzdoasMUbRNKDM0qQt/+BJ4BrpFeABemw==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + + eslint@9.14.0: + resolution: {integrity: sha512-c2FHsVBr87lnUtjP4Yhvk4yEhKrQavGafRA/Se1ouse8PfbfC/Qh9Mxa00yWsZRlqeUB9raXip0aiiUZkgnr9g==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} hasBin: true + peerDependencies: + jiti: '*' + peerDependenciesMeta: + jiti: + optional: true - espree@9.6.1: - resolution: {integrity: sha512-oruZaFkjorTpF32kDSI5/75ViwGeZginGGy2NoOSg3Q9bnwlnmDm4HLnkl0RE3n+njDXR037aY1+x58Z/zFdwQ==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + espree@10.3.0: + resolution: {integrity: sha512-0QYC8b24HWY8zjRnDTL6RiHfDbAWn63qb4LMj1Z4b076A4une81+z03Kg7l7mn/48PUTqoLptSXez8oknU8Clg==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} esquery@1.5.0: resolution: {integrity: sha512-YQLXUplAwJgCydQ78IMJywZCceoqk1oH01OERdSAJc/7U2AylwjhSCLDEtqwg811idIS/9fIU5GjG73IgjKMVg==} @@ -1000,17 +1042,21 @@ packages: fastq@1.15.0: resolution: {integrity: sha512-wBrocU2LCXXa+lWBt8RoIRD89Fi8OdABODa/kEnyeyjS5aZO5/GNvI5sEINADqP/h8M29UHTHUb53sUu5Ihqdw==} - file-entry-cache@6.0.1: - resolution: {integrity: sha512-7Gps/XWymbLk2QLYK4NzpMOrYjMhdIxXuIvy2QBsLE6ljuodKvdkWs/cpyJJ3CVIVpH0Oi1Hvg1ovbMzLdFBBg==} - engines: {node: ^10.12.0 || >=12.0.0} + file-entry-cache@8.0.0: + resolution: {integrity: sha512-XXTUwCvisa5oacNGRP9SfNtYBNAMi+RPwBFmblZEF7N7swHYQS6/Zfk7SRwx4D5j3CH211YNRco1DEMNVfZCnQ==} + engines: {node: '>=16.0.0'} fill-range@7.0.1: resolution: {integrity: sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==} engines: {node: '>=8'} - flat-cache@3.2.0: - resolution: {integrity: sha512-CYcENa+FtcUKLmhhqyctpclsq7QF38pKjZHsGNiSQF5r4FtoKDWabFDl3hzaEQMvT1LHEysw5twgLvpYYb4vbw==} - engines: {node: ^10.12.0 || >=12.0.0} + find-up@5.0.0: + resolution: {integrity: sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==} + engines: {node: '>=10'} + + flat-cache@4.0.1: + resolution: {integrity: sha512-f7ccFPK3SXFHpx15UIGyRJ/FJQctuKZ0zVuN3frBo4HnK3cay9VEW0R6yPYFHC0AgqhukPzKjq22t5DmAyqGyw==} + engines: {node: '>=16'} flatted@3.2.9: resolution: {integrity: sha512-36yxDn5H7OFZQla0/jFJmbIKTdZAQHngCedGxiMmpNfEZM0sdEeT+WczLQrjK6D7o2aiyLYDnkw0R3JK0Qv1RQ==} @@ -1059,9 +1105,6 @@ packages: resolution: {integrity: sha512-Z5kx79swU5P27WEayXM1tBi5Ze/lbIyiNgU3qyXUOf9b2rgXYyF9Dy9Cx+IQv/Lc8WCG6L82zwUPpSS9hGehIg==} engines: {node: '>= 0.4'} - functional-red-black-tree@1.0.1: - resolution: {integrity: sha512-dsKNQNdj6xA3T+QlADDA7mOSlX0qiMINjn0cgr+eGHGsbSHzTabcIogz2+p/iqP1Xs6EP/sS2SbqH+brGTbq0g==} - functions-have-names@1.2.3: resolution: {integrity: sha512-xckBUXyTIqT97tq2x2AMb+g163b5JFysYk0x4qxNFwbfQkmNZoiRHb6sPzI9/QV33WeuvVYBUIiD4NzNIyqaRQ==} @@ -1131,18 +1174,18 @@ packages: engines: {node: '>=12'} deprecated: Glob versions prior to v9 are no longer supported - globals@13.23.0: - resolution: {integrity: sha512-XAmF0RjlrjY23MA51q3HltdlGxUpXPvg0GioKiD9X6HD28iMjo2dKC8Vqwm7lne4GNr78+RHTfliktR6ZH09wA==} - engines: {node: '>=8'} + globals@14.0.0: + resolution: {integrity: sha512-oahGvuMGQlPw/ivIYBjVSrWAfWLBeku5tpPE2fOPLi+WHffIWbuh2tCjhyQhTBPMf5E9jDEH4FOmTYgYwbKwtQ==} + engines: {node: '>=18'} + + globals@15.12.0: + resolution: {integrity: sha512-1+gLErljJFhbOVyaetcwJiJ4+eLe45S2E7P5UiZ9xGfeq3ATQf5DOv9G7MH3gGbKQLkzmNh2DxfZwLdw+j6oTQ==} + engines: {node: '>=18'} globalthis@1.0.3: resolution: {integrity: sha512-sFdI5LyBiNTHjRd7cGPWapiHWMOXKyuBNX/cWJ3NfzrZQVa8GI/8cofCl74AOVqq9W5kNmguTIzJ/1s2gyI9wA==} engines: {node: '>= 0.4'} - globby@11.1.0: - resolution: {integrity: sha512-jhIXaOzy1sb8IyocaruWSn1TjmnBVs8Ayhcy83rmxNJ8q2uWKCAj3CnJY+KpGSXCueAPc0i05kVvVKtP1t9S3g==} - engines: {node: '>=10'} - gopd@1.0.1: resolution: {integrity: sha512-d65bNlIadxvpb/A2abVdlqKqV563juRnZ1Wtk6s1sIR8uNsXR70xqIzVqxVf1eTqDunwT2MkczEeaezCKTZhwA==} @@ -1188,10 +1231,6 @@ packages: has-unicode@2.0.1: resolution: {integrity: sha512-8Rf9Y83NBReMnx0gFzA8JImQACstCYWUplepDa9xprwwtmgEZUF0h/i5xSA625zB/I37EtrswSST6OXxwaaIJQ==} - has@1.0.4: - resolution: {integrity: sha512-qdSAmqLF6209RFj4VVItywPMbm3vWylknmB3nvNiUIs72xAimcM8nVYxYr7ncvZq5qzk9MKIZR8ijqD/1QuYjQ==} - engines: {node: '>= 0.4.0'} - hasown@2.0.0: resolution: {integrity: sha512-vUptKVTpIJhcczKBbgnS+RtcuYMB8+oNzPK2/Hp3hanz8JmpATdmmgLgSaadVREkDm+e2giHwY3ZRkyjSIDDFA==} engines: {node: '>= 0.4'} @@ -1255,14 +1294,14 @@ packages: resolution: {integrity: sha512-VuuG0wCnjhnylG1ABXT3dAuIpTNDs/G8jlpmwXY03fXoXy/8ZK8/T+hMzt8L4WnrLCJgdybqgPagnF/f97cg3A==} engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} - ignore@4.0.6: - resolution: {integrity: sha512-cyFDKrqc/YdcWFniJhzI42+AzS+gNwmUzOSFcRCQYwySuBBBy/KjuxWLZ/FHEH6Moq1NizMOBWyTcv8O4OZIMg==} - engines: {node: '>= 4'} - ignore@5.3.0: resolution: {integrity: sha512-g7dmpshy+gD7mh88OC9NwSGTKoc3kyLAZQRU1mt53Aw/vnvfXnbC+F/7F7QoYVKbV+KNvJx8wArewKy1vXMtlg==} engines: {node: '>= 4'} + ignore@5.3.2: + resolution: {integrity: sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g==} + engines: {node: '>= 4'} + import-fresh@3.3.0: resolution: {integrity: sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==} engines: {node: '>=6'} @@ -1322,6 +1361,10 @@ packages: is-core-module@2.13.1: resolution: {integrity: sha512-hHrIjvZsftOsvKSn2TRYl63zvxsgE0K+0mYMoH6gD4omR5IWB2KynivBQczo3+wF1cCkjzvptnI9Q0sPU66ilw==} + is-core-module@2.15.1: + resolution: {integrity: sha512-z0vtXSwucUJtANQWldhbtbt7BnL0vxiFjIdDLAatwhDYty2bad6s+rijD6Ri4YuYJubLzIJLUidCh09e1djEVQ==} + engines: {node: '>= 0.4'} + is-data-view@1.0.1: resolution: {integrity: sha512-AHkaJrsUVW6wq6JS8y3JnM/GJF/9cf+k20+iDzlSaJrinEo5+7vRiteOSwBhHRiAyQATN1AmY4hwzxJKPmYf+w==} engines: {node: '>= 0.4'} @@ -1511,6 +1554,10 @@ packages: resolution: {integrity: sha512-ovJXBXkKGfq+CwmKTjluEqFi3p4h8xvkxGQQAQan22YCgef4KZ1mKGjzfGh6PL6AW5Csw0QiQPNuQyH+6Xk3hA==} engines: {node: '>=18.0.0'} + locate-path@6.0.0: + resolution: {integrity: sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==} + engines: {node: '>=10'} + lockfile-info@1.0.0: resolution: {integrity: sha512-tEOP9TZNK9RGXDUnDYCAe39jUUleHONjabKQwJ5Q59LCwEOP4LhpELnVtSgcNcH3D8RbRCC/1zX7vpqtf/I7lA==} engines: {node: '>= 8'} @@ -1534,10 +1581,6 @@ packages: lru-cache@10.4.3: resolution: {integrity: sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ==} - lru-cache@6.0.0: - resolution: {integrity: sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==} - engines: {node: '>=10'} - lru-cache@7.18.3: resolution: {integrity: sha512-jumlc0BIUrS3qJGgIkWZsyfAM7NCWiBcCDhnd+3NNM5KbBmLTgHVfWBcg6W+rLUsIpzpERPsvwUP7CckAQSOoA==} engines: {node: '>=12'} @@ -1768,10 +1811,6 @@ packages: resolution: {integrity: sha512-+Lhy3TQTuzXI5hevh8sBGqbmurHbbIjAi0Z4S63nthVLmLxfbj4T54a4CfZrXIrt9iP4mVAPYMo/v99taj3wjQ==} engines: {node: '>= 0.4'} - object.values@1.1.7: - resolution: {integrity: sha512-aU6xnDFYT3x17e/f0IiiwlGPTy2jzMySGfUB4fq6z7CV8l85CWHDk5ErhyhpfDHhrOMwGFhSQkhMGHaIotA6Ng==} - engines: {node: '>= 0.4'} - object.values@1.2.0: resolution: {integrity: sha512-yBYjY9QX2hnRmZHAjG/f13MzmBzxzYgQhFrke06TTyKY5zSTEqkOeukBzIdVA3j3ulu8Qa3MbVFShV7T2RmGtQ==} engines: {node: '>= 0.4'} @@ -1795,6 +1834,14 @@ packages: resolution: {integrity: sha512-JjCoypp+jKn1ttEFExxhetCKeJt9zhAgAve5FXHixTvFDW/5aEktX9bufBKLRRMdU7bNtpLfcGu94B3cdEJgjg==} engines: {node: '>= 0.8.0'} + p-limit@3.1.0: + resolution: {integrity: sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==} + engines: {node: '>=10'} + + p-locate@5.0.0: + resolution: {integrity: sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==} + engines: {node: '>=10'} + p-map@4.0.0: resolution: {integrity: sha512-/bjOqmgETBYB5BoEeGVea8dmvHb2m9GLy1E9W43yeyfP6QQCZGFNa+XRceJEuDB6zqr+gKpIAmlLebMpykw/MQ==} engines: {node: '>=10'} @@ -1815,6 +1862,10 @@ packages: resolution: {integrity: sha512-01TvEktc68vwbJOtWZluyWeVGWjP+bZwXtPDMQVbBKzbJ/vZBif0L69KH1+cHv1SZ6e0FKLvjyHe8mqsIqYOmw==} engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} + path-exists@4.0.0: + resolution: {integrity: sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==} + engines: {node: '>=8'} + path-is-absolute@1.0.1: resolution: {integrity: sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==} engines: {node: '>=0.10.0'} @@ -1834,10 +1885,6 @@ packages: resolution: {integrity: sha512-Xa4Nw17FS9ApQFJ9umLiJS4orGjm7ZzwUrwamcGQuHSzDyth9boKDaycYdDcZDuqYATXw4HFXgaqWTctW/v1HA==} engines: {node: '>=16 || 14 >=14.18'} - path-type@4.0.0: - resolution: {integrity: sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==} - engines: {node: '>=8'} - picocolors@1.1.1: resolution: {integrity: sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==} @@ -1884,10 +1931,6 @@ packages: resolution: {integrity: sha512-cdGef/drWFoydD1JsMzuFf8100nZl+GT+yacc2bEced5f9Rjk4z+WtFUTBu9PhOi9j/jfmBPu0mMEY4wIdAF8A==} engines: {node: '>= 0.6.0'} - progress@2.0.3: - resolution: {integrity: sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA==} - engines: {node: '>=0.4.0'} - promise-all-reject-late@1.0.1: resolution: {integrity: sha512-vuf0Lf0lOxyQREH7GDIOUMLS7kz+gs8i6B+Yi8dC68a2sychGrHTJYghMBD6k7eUcH0H5P73EckCA48xijWqXw==} @@ -1960,10 +2003,6 @@ packages: resolution: {integrity: sha512-vqlC04+RQoFalODCbCumG2xIOvapzVMHwsyIGM/SIE8fRhFFsXeH8/QQ+s0T0kDAhKc4k30s73/0ydkHQz6HlQ==} engines: {node: '>= 0.4'} - regexpp@3.2.0: - resolution: {integrity: sha512-pq2bWo9mVD43nbts2wGv17XLiNLya+GklZ8kaDLV2Z08gDCsGpnKn9BFMepvWuHCbyVvY7J5o5+BVvoQbmlJLg==} - engines: {node: '>=8'} - require-directory@2.1.1: resolution: {integrity: sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==} engines: {node: '>=0.10.0'} @@ -2048,9 +2087,8 @@ packages: secure-compare@3.0.1: resolution: {integrity: sha512-AckIIV90rPDcBcglUwXPF3kg0P0qmPsPXAj6BBEENQE1p5yA1xfmDJzfi1Tappj37Pv2mVbKpL3Z1T+Nn7k1Qw==} - semver@7.5.4: - resolution: {integrity: sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==} - engines: {node: '>=10'} + semver@6.3.1: + resolution: {integrity: sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==} hasBin: true semver@7.6.3: @@ -2103,10 +2141,6 @@ packages: engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} hasBin: true - slash@3.0.0: - resolution: {integrity: sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==} - engines: {node: '>=8'} - slice-ansi@4.0.0: resolution: {integrity: sha512-qMCMfhY040cVHT43K9BFygqYbUPFZKHOg7K73mtTWJRb8pyP3fzf4Ixd5SzdEJQ6MRUg/WBnOLxghZtKKurENQ==} engines: {node: '>=10'} @@ -2245,14 +2279,14 @@ packages: resolution: {integrity: sha512-gcANaAnd2QDZFmHFEOF4k7uc1J/6a6z3DJMd/QwEyxLoKGiptJRwid582r7QIsFlFMIZ3SnxfS52S4hm2DHkuQ==} engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} - ts-api-utils@1.0.3: - resolution: {integrity: sha512-wNMeqtMz5NtwpT/UZGY5alT+VoKdSsOOP/kqHFcUW1P/VRhH2wJ48+DN2WwUliNbQ976ETwDL0Ifd2VVvgonvg==} - engines: {node: '>=16.13.0'} + ts-api-utils@1.4.0: + resolution: {integrity: sha512-032cPxaEKwM+GT3vA5JXNzIaizx388rhsSW79vGRNGXfRRAdEAn2mvk36PvK5HnOchyWZ7afLEXqYCvPCrzuzQ==} + engines: {node: '>=16'} peerDependencies: typescript: '>=4.2.0' - tsconfig-paths@3.14.2: - resolution: {integrity: sha512-o/9iXgCYc5L/JxCHPe3Hvh8Q/2xm5Z+p18PESBU6Ff33695QnCHBEjcytY2q19ua7Mbl/DavtBOLq+oG0RCL+g==} + tsconfig-paths@3.15.0: + resolution: {integrity: sha512-2Ac2RgzDe/cn48GvOe3M+o82pEFewD3UPbyoUHHdKasHwJKjds4fLXWf/Ux5kATBKN20oaFGu+jbElp1pos0mg==} tslib@2.6.2: resolution: {integrity: sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==} @@ -2265,10 +2299,6 @@ packages: resolution: {integrity: sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==} engines: {node: '>= 0.8.0'} - type-fest@0.20.2: - resolution: {integrity: sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==} - engines: {node: '>=10'} - typed-array-buffer@1.0.0: resolution: {integrity: sha512-Y8KTSIglk9OZEr8zywiIHG/kmQ7KWyjseXs1CbSo8vC42w7hg2HgYTxSWwP0+is7bWDc1H+Fo026CpHFwm8tkw==} engines: {node: '>= 0.4'} @@ -2357,9 +2387,6 @@ packages: util-deprecate@1.0.2: resolution: {integrity: sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==} - v8-compile-cache@2.4.0: - resolution: {integrity: sha512-ocyWc3bAHBB/guyqJQVI5o4BZkPhznPYUG2ea80Gond/BgNWpap8TOmLSeeQG7bnh2KMISxskdADG59j7zruhw==} - validate-npm-package-license@3.0.4: resolution: {integrity: sha512-DpKm2Ui/xN7/HQKCtpZxoRWBhZ9Z0kqtygG8XCgNQ8ZlDnxuQmWhj566j8fN4Cu3/JmbhsDo7fcAJq4s9h27Ew==} @@ -2446,6 +2473,10 @@ packages: resolution: {integrity: sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w==} engines: {node: '>=12'} + yocto-queue@0.1.0: + resolution: {integrity: sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==} + engines: {node: '>=10'} + snapshots: '@aashutoshrathi/word-wrap@1.2.6': {} @@ -2460,19 +2491,35 @@ snapshots: '@babel/helper-validator-identifier@7.25.9': optional: true - '@eslint-community/eslint-utils@4.4.0(eslint@8.5.0)': + '@eslint-community/eslint-utils@4.4.0(eslint@9.14.0)': dependencies: - eslint: 8.5.0 + eslint: 9.14.0 eslint-visitor-keys: 3.4.3 '@eslint-community/regexpp@4.10.0': {} - '@eslint/eslintrc@1.4.1': + '@eslint-community/regexpp@4.12.1': {} + + '@eslint/compat@1.2.2(eslint@9.14.0)': + optionalDependencies: + eslint: 9.14.0 + + '@eslint/config-array@0.18.0': + dependencies: + '@eslint/object-schema': 2.1.4 + debug: 4.3.4 + minimatch: 3.1.2 + transitivePeerDependencies: + - supports-color + + '@eslint/core@0.7.0': {} + + '@eslint/eslintrc@3.1.0': dependencies: ajv: 6.12.6 debug: 4.3.4 - espree: 9.6.1 - globals: 13.23.0 + espree: 10.3.0 + globals: 14.0.0 ignore: 5.3.0 import-fresh: 3.3.0 js-yaml: 4.1.0 @@ -2481,6 +2528,14 @@ snapshots: transitivePeerDependencies: - supports-color + '@eslint/js@9.14.0': {} + + '@eslint/object-schema@2.1.4': {} + + '@eslint/plugin-kit@0.2.2': + dependencies: + levn: 0.4.1 + '@gar/promisify@1.1.3': {} '@hiveio/beekeeper@1.27.6-rc4': {} @@ -2494,15 +2549,18 @@ snapshots: long: 5.2.3 reflect-metadata: 0.1.14 - '@humanwhocodes/config-array@0.9.5': + '@humanfs/core@0.19.1': {} + + '@humanfs/node@0.16.6': dependencies: - '@humanwhocodes/object-schema': 1.2.1 - debug: 4.3.4 - minimatch: 3.1.2 - transitivePeerDependencies: - - supports-color + '@humanfs/core': 0.19.1 + '@humanwhocodes/retry': 0.3.1 + + '@humanwhocodes/module-importer@1.0.1': {} - '@humanwhocodes/object-schema@1.2.1': {} + '@humanwhocodes/retry@0.3.1': {} + + '@humanwhocodes/retry@0.4.0': {} '@isaacs/cliui@8.0.2': dependencies: @@ -2744,6 +2802,8 @@ snapshots: '@rollup/rollup-win32-x64-msvc@4.24.4': optional: true + '@rtsao/scc@1.1.0': {} + '@sigstore/bundle@1.1.0': dependencies: '@sigstore/protobuf-specs': 0.2.1 @@ -2790,104 +2850,98 @@ snapshots: '@types/resolve@1.20.2': {} - '@types/semver@7.5.5': {} - '@types/validator@13.11.7': {} - '@typescript-eslint/eslint-plugin@6.11.0(@typescript-eslint/parser@6.11.0(eslint@8.5.0)(typescript@5.2.2))(eslint@8.5.0)(typescript@5.2.2)': + '@typescript-eslint/eslint-plugin@8.13.0(@typescript-eslint/parser@8.13.0(eslint@9.14.0)(typescript@5.2.2))(eslint@9.14.0)(typescript@5.2.2)': dependencies: '@eslint-community/regexpp': 4.10.0 - '@typescript-eslint/parser': 6.11.0(eslint@8.5.0)(typescript@5.2.2) - '@typescript-eslint/scope-manager': 6.11.0 - '@typescript-eslint/type-utils': 6.11.0(eslint@8.5.0)(typescript@5.2.2) - '@typescript-eslint/utils': 6.11.0(eslint@8.5.0)(typescript@5.2.2) - '@typescript-eslint/visitor-keys': 6.11.0 - debug: 4.3.4 - eslint: 8.5.0 + '@typescript-eslint/parser': 8.13.0(eslint@9.14.0)(typescript@5.2.2) + '@typescript-eslint/scope-manager': 8.13.0 + '@typescript-eslint/type-utils': 8.13.0(eslint@9.14.0)(typescript@5.2.2) + '@typescript-eslint/utils': 8.13.0(eslint@9.14.0)(typescript@5.2.2) + '@typescript-eslint/visitor-keys': 8.13.0 + eslint: 9.14.0 graphemer: 1.4.0 - ignore: 5.3.0 + ignore: 5.3.2 natural-compare: 1.4.0 - semver: 7.5.4 - ts-api-utils: 1.0.3(typescript@5.2.2) + ts-api-utils: 1.4.0(typescript@5.2.2) optionalDependencies: typescript: 5.2.2 transitivePeerDependencies: - supports-color - '@typescript-eslint/parser@6.11.0(eslint@8.5.0)(typescript@5.2.2)': + '@typescript-eslint/parser@8.13.0(eslint@9.14.0)(typescript@5.2.2)': dependencies: - '@typescript-eslint/scope-manager': 6.11.0 - '@typescript-eslint/types': 6.11.0 - '@typescript-eslint/typescript-estree': 6.11.0(typescript@5.2.2) - '@typescript-eslint/visitor-keys': 6.11.0 + '@typescript-eslint/scope-manager': 8.13.0 + '@typescript-eslint/types': 8.13.0 + '@typescript-eslint/typescript-estree': 8.13.0(typescript@5.2.2) + '@typescript-eslint/visitor-keys': 8.13.0 debug: 4.3.4 - eslint: 8.5.0 + eslint: 9.14.0 optionalDependencies: typescript: 5.2.2 transitivePeerDependencies: - supports-color - '@typescript-eslint/scope-manager@6.11.0': + '@typescript-eslint/scope-manager@8.13.0': dependencies: - '@typescript-eslint/types': 6.11.0 - '@typescript-eslint/visitor-keys': 6.11.0 + '@typescript-eslint/types': 8.13.0 + '@typescript-eslint/visitor-keys': 8.13.0 - '@typescript-eslint/type-utils@6.11.0(eslint@8.5.0)(typescript@5.2.2)': + '@typescript-eslint/type-utils@8.13.0(eslint@9.14.0)(typescript@5.2.2)': dependencies: - '@typescript-eslint/typescript-estree': 6.11.0(typescript@5.2.2) - '@typescript-eslint/utils': 6.11.0(eslint@8.5.0)(typescript@5.2.2) + '@typescript-eslint/typescript-estree': 8.13.0(typescript@5.2.2) + '@typescript-eslint/utils': 8.13.0(eslint@9.14.0)(typescript@5.2.2) debug: 4.3.4 - eslint: 8.5.0 - ts-api-utils: 1.0.3(typescript@5.2.2) + ts-api-utils: 1.4.0(typescript@5.2.2) optionalDependencies: typescript: 5.2.2 transitivePeerDependencies: + - eslint - supports-color - '@typescript-eslint/types@6.11.0': {} + '@typescript-eslint/types@8.13.0': {} - '@typescript-eslint/typescript-estree@6.11.0(typescript@5.2.2)': + '@typescript-eslint/typescript-estree@8.13.0(typescript@5.2.2)': dependencies: - '@typescript-eslint/types': 6.11.0 - '@typescript-eslint/visitor-keys': 6.11.0 + '@typescript-eslint/types': 8.13.0 + '@typescript-eslint/visitor-keys': 8.13.0 debug: 4.3.4 - globby: 11.1.0 + fast-glob: 3.3.2 is-glob: 4.0.3 - semver: 7.5.4 - ts-api-utils: 1.0.3(typescript@5.2.2) + minimatch: 9.0.5 + semver: 7.6.3 + ts-api-utils: 1.4.0(typescript@5.2.2) optionalDependencies: typescript: 5.2.2 transitivePeerDependencies: - supports-color - '@typescript-eslint/utils@6.11.0(eslint@8.5.0)(typescript@5.2.2)': + '@typescript-eslint/utils@8.13.0(eslint@9.14.0)(typescript@5.2.2)': dependencies: - '@eslint-community/eslint-utils': 4.4.0(eslint@8.5.0) - '@types/json-schema': 7.0.15 - '@types/semver': 7.5.5 - '@typescript-eslint/scope-manager': 6.11.0 - '@typescript-eslint/types': 6.11.0 - '@typescript-eslint/typescript-estree': 6.11.0(typescript@5.2.2) - eslint: 8.5.0 - semver: 7.5.4 + '@eslint-community/eslint-utils': 4.4.0(eslint@9.14.0) + '@typescript-eslint/scope-manager': 8.13.0 + '@typescript-eslint/types': 8.13.0 + '@typescript-eslint/typescript-estree': 8.13.0(typescript@5.2.2) + eslint: 9.14.0 transitivePeerDependencies: - supports-color - typescript - '@typescript-eslint/visitor-keys@6.11.0': + '@typescript-eslint/visitor-keys@8.13.0': dependencies: - '@typescript-eslint/types': 6.11.0 + '@typescript-eslint/types': 8.13.0 eslint-visitor-keys: 3.4.3 abbrev@1.1.1: {} abbrev@2.0.0: {} - acorn-jsx@5.3.2(acorn@8.11.2): + acorn-jsx@5.3.2(acorn@8.14.0): dependencies: - acorn: 8.11.2 + acorn: 8.14.0 - acorn@8.11.2: {} + acorn@8.14.0: {} agent-base@6.0.2: dependencies: @@ -2918,8 +2972,6 @@ snapshots: json-schema-traverse: 1.0.0 require-from-string: 2.0.2 - ansi-colors@4.1.3: {} - ansi-escapes@6.2.1: {} ansi-regex@5.0.1: {} @@ -2955,15 +3007,23 @@ snapshots: call-bind: 1.0.7 is-array-buffer: 3.0.4 - array-includes@3.1.7: + array-includes@3.1.8: dependencies: - call-bind: 1.0.5 + call-bind: 1.0.7 define-properties: 1.2.1 - es-abstract: 1.22.3 - get-intrinsic: 1.2.2 + es-abstract: 1.23.3 + es-object-atoms: 1.0.0 + get-intrinsic: 1.2.4 is-string: 1.0.7 - array-union@2.1.0: {} + array.prototype.findlastindex@1.2.5: + dependencies: + call-bind: 1.0.7 + define-properties: 1.2.1 + es-abstract: 1.23.3 + es-errors: 1.3.0 + es-object-atoms: 1.0.0 + es-shim-unscopables: 1.0.2 array.prototype.flat@1.3.2: dependencies: @@ -2972,6 +3032,13 @@ snapshots: es-abstract: 1.22.3 es-shim-unscopables: 1.0.2 + array.prototype.flatmap@1.3.2: + dependencies: + call-bind: 1.0.7 + define-properties: 1.2.1 + es-abstract: 1.23.3 + es-shim-unscopables: 1.0.2 + array.prototype.map@1.0.7: dependencies: call-bind: 1.0.7 @@ -3241,18 +3308,10 @@ snapshots: delegates@1.0.0: {} - dir-glob@3.0.1: - dependencies: - path-type: 4.0.0 - doctrine@2.1.0: dependencies: esutils: 2.0.3 - doctrine@3.0.0: - dependencies: - esutils: 2.0.3 - dotenv@16.3.1: {} eastasianwidth@0.2.0: {} @@ -3268,11 +3327,6 @@ snapshots: iconv-lite: 0.6.3 optional: true - enquirer@2.4.1: - dependencies: - ansi-colors: 4.1.3 - strip-ansi: 6.0.1 - env-paths@2.2.1: {} err-code@2.0.3: {} @@ -3421,106 +3475,104 @@ snapshots: eslint-import-resolver-node@0.3.9: dependencies: debug: 3.2.7 - is-core-module: 2.13.1 + is-core-module: 2.15.1 resolve: 1.22.8 transitivePeerDependencies: - supports-color - eslint-module-utils@2.8.0(@typescript-eslint/parser@6.11.0(eslint@8.5.0)(typescript@5.2.2))(eslint-import-resolver-node@0.3.9)(eslint@8.5.0): + eslint-module-utils@2.12.0(@typescript-eslint/parser@8.13.0(eslint@9.14.0)(typescript@5.2.2))(eslint-import-resolver-node@0.3.9)(eslint@9.14.0): dependencies: debug: 3.2.7 optionalDependencies: - '@typescript-eslint/parser': 6.11.0(eslint@8.5.0)(typescript@5.2.2) - eslint: 8.5.0 + '@typescript-eslint/parser': 8.13.0(eslint@9.14.0)(typescript@5.2.2) + eslint: 9.14.0 eslint-import-resolver-node: 0.3.9 transitivePeerDependencies: - supports-color - eslint-plugin-import@2.26.0(@typescript-eslint/parser@6.11.0(eslint@8.5.0)(typescript@5.2.2))(eslint@8.5.0): + eslint-plugin-import@2.31.0(@typescript-eslint/parser@8.13.0(eslint@9.14.0)(typescript@5.2.2))(eslint@9.14.0): dependencies: - array-includes: 3.1.7 + '@rtsao/scc': 1.1.0 + array-includes: 3.1.8 + array.prototype.findlastindex: 1.2.5 array.prototype.flat: 1.3.2 - debug: 2.6.9 + array.prototype.flatmap: 1.3.2 + debug: 3.2.7 doctrine: 2.1.0 - eslint: 8.5.0 + eslint: 9.14.0 eslint-import-resolver-node: 0.3.9 - eslint-module-utils: 2.8.0(@typescript-eslint/parser@6.11.0(eslint@8.5.0)(typescript@5.2.2))(eslint-import-resolver-node@0.3.9)(eslint@8.5.0) - has: 1.0.4 - is-core-module: 2.13.1 + eslint-module-utils: 2.12.0(@typescript-eslint/parser@8.13.0(eslint@9.14.0)(typescript@5.2.2))(eslint-import-resolver-node@0.3.9)(eslint@9.14.0) + hasown: 2.0.2 + is-core-module: 2.15.1 is-glob: 4.0.3 minimatch: 3.1.2 - object.values: 1.1.7 - resolve: 1.22.8 - tsconfig-paths: 3.14.2 + object.fromentries: 2.0.8 + object.groupby: 1.0.3 + object.values: 1.2.0 + semver: 6.3.1 + string.prototype.trimend: 1.0.8 + tsconfig-paths: 3.15.0 optionalDependencies: - '@typescript-eslint/parser': 6.11.0(eslint@8.5.0)(typescript@5.2.2) + '@typescript-eslint/parser': 8.13.0(eslint@9.14.0)(typescript@5.2.2) transitivePeerDependencies: - eslint-import-resolver-typescript - eslint-import-resolver-webpack - supports-color - eslint-scope@7.2.2: + eslint-scope@8.2.0: dependencies: esrecurse: 4.3.0 estraverse: 5.3.0 - eslint-utils@3.0.0(eslint@8.5.0): - dependencies: - eslint: 8.5.0 - eslint-visitor-keys: 2.1.0 - - eslint-visitor-keys@2.1.0: {} - eslint-visitor-keys@3.4.3: {} - eslint@8.5.0: + eslint-visitor-keys@4.2.0: {} + + eslint@9.14.0: dependencies: - '@eslint/eslintrc': 1.4.1 - '@humanwhocodes/config-array': 0.9.5 + '@eslint-community/eslint-utils': 4.4.0(eslint@9.14.0) + '@eslint-community/regexpp': 4.12.1 + '@eslint/config-array': 0.18.0 + '@eslint/core': 0.7.0 + '@eslint/eslintrc': 3.1.0 + '@eslint/js': 9.14.0 + '@eslint/plugin-kit': 0.2.2 + '@humanfs/node': 0.16.6 + '@humanwhocodes/module-importer': 1.0.1 + '@humanwhocodes/retry': 0.4.0 + '@types/estree': 1.0.6 + '@types/json-schema': 7.0.15 ajv: 6.12.6 chalk: 4.1.2 cross-spawn: 7.0.3 debug: 4.3.4 - doctrine: 3.0.0 - enquirer: 2.4.1 escape-string-regexp: 4.0.0 - eslint-scope: 7.2.2 - eslint-utils: 3.0.0(eslint@8.5.0) - eslint-visitor-keys: 3.4.3 - espree: 9.6.1 + eslint-scope: 8.2.0 + eslint-visitor-keys: 4.2.0 + espree: 10.3.0 esquery: 1.5.0 esutils: 2.0.3 fast-deep-equal: 3.1.3 - file-entry-cache: 6.0.1 - functional-red-black-tree: 1.0.1 + file-entry-cache: 8.0.0 + find-up: 5.0.0 glob-parent: 6.0.2 - globals: 13.23.0 - ignore: 4.0.6 - import-fresh: 3.3.0 + ignore: 5.3.0 imurmurhash: 0.1.4 is-glob: 4.0.3 - js-yaml: 4.1.0 json-stable-stringify-without-jsonify: 1.0.1 - levn: 0.4.1 lodash.merge: 4.6.2 minimatch: 3.1.2 natural-compare: 1.4.0 optionator: 0.9.3 - progress: 2.0.3 - regexpp: 3.2.0 - semver: 7.5.4 - strip-ansi: 6.0.1 - strip-json-comments: 3.1.1 text-table: 0.2.0 - v8-compile-cache: 2.4.0 transitivePeerDependencies: - supports-color - espree@9.6.1: + espree@10.3.0: dependencies: - acorn: 8.11.2 - acorn-jsx: 5.3.2(acorn@8.11.2) - eslint-visitor-keys: 3.4.3 + acorn: 8.14.0 + acorn-jsx: 5.3.2(acorn@8.14.0) + eslint-visitor-keys: 4.2.0 esquery@1.5.0: dependencies: @@ -3578,19 +3630,23 @@ snapshots: dependencies: reusify: 1.0.4 - file-entry-cache@6.0.1: + file-entry-cache@8.0.0: dependencies: - flat-cache: 3.2.0 + flat-cache: 4.0.1 fill-range@7.0.1: dependencies: to-regex-range: 5.0.1 - flat-cache@3.2.0: + find-up@5.0.0: + dependencies: + locate-path: 6.0.0 + path-exists: 4.0.0 + + flat-cache@4.0.1: dependencies: flatted: 3.2.9 keyv: 4.5.4 - rimraf: 3.0.2 flatted@3.2.9: {} @@ -3630,8 +3686,6 @@ snapshots: es-abstract: 1.22.3 functions-have-names: 1.2.3 - functional-red-black-tree@1.0.1: {} - functions-have-names@1.2.3: {} gauge@4.0.4: @@ -3741,23 +3795,14 @@ snapshots: minimatch: 5.1.6 once: 1.4.0 - globals@13.23.0: - dependencies: - type-fest: 0.20.2 + globals@14.0.0: {} + + globals@15.12.0: {} globalthis@1.0.3: dependencies: define-properties: 1.2.1 - globby@11.1.0: - dependencies: - array-union: 2.1.0 - dir-glob: 3.0.1 - fast-glob: 3.3.2 - ignore: 5.3.0 - merge2: 1.4.1 - slash: 3.0.0 - gopd@1.0.1: dependencies: get-intrinsic: 1.2.2 @@ -3794,8 +3839,6 @@ snapshots: has-unicode@2.0.1: {} - has@1.0.4: {} - hasown@2.0.0: dependencies: function-bind: 1.1.2 @@ -3876,10 +3919,10 @@ snapshots: dependencies: minimatch: 9.0.5 - ignore@4.0.6: {} - ignore@5.3.0: {} + ignore@5.3.2: {} + import-fresh@3.3.0: dependencies: parent-module: 1.0.1 @@ -3946,6 +3989,10 @@ snapshots: dependencies: hasown: 2.0.0 + is-core-module@2.15.1: + dependencies: + hasown: 2.0.2 + is-data-view@1.0.1: dependencies: is-typed-array: 1.1.13 @@ -4128,6 +4175,10 @@ snapshots: rfdc: 1.3.1 wrap-ansi: 9.0.0 + locate-path@6.0.0: + dependencies: + p-locate: 5.0.0 + lockfile-info@1.0.0: dependencies: call-bind: 1.0.5 @@ -4150,10 +4201,6 @@ snapshots: lru-cache@10.4.3: {} - lru-cache@6.0.0: - dependencies: - yallist: 4.0.0 - lru-cache@7.18.3: {} ls-engines@0.9.3: @@ -4458,12 +4505,6 @@ snapshots: define-properties: 1.2.1 es-abstract: 1.23.3 - object.values@1.1.7: - dependencies: - call-bind: 1.0.5 - define-properties: 1.2.1 - es-abstract: 1.22.3 - object.values@1.2.0: dependencies: call-bind: 1.0.7 @@ -4493,6 +4534,14 @@ snapshots: prelude-ls: 1.2.1 type-check: 0.4.0 + p-limit@3.1.0: + dependencies: + yocto-queue: 0.1.0 + + p-locate@5.0.0: + dependencies: + p-limit: 3.1.0 + p-map@4.0.0: dependencies: aggregate-error: 3.1.0 @@ -4533,6 +4582,8 @@ snapshots: just-diff: 6.0.2 just-diff-apply: 5.5.0 + path-exists@4.0.0: {} + path-is-absolute@1.0.1: {} path-key@3.1.1: {} @@ -4546,8 +4597,6 @@ snapshots: lru-cache: 10.4.3 minipass: 7.1.2 - path-type@4.0.0: {} - picocolors@1.1.1: optional: true @@ -4584,8 +4633,6 @@ snapshots: process@0.11.10: {} - progress@2.0.3: {} - promise-all-reject-late@1.0.1: {} promise-call-limit@1.0.2: {} @@ -4662,8 +4709,6 @@ snapshots: es-errors: 1.3.0 set-function-name: 2.0.2 - regexpp@3.2.0: {} - require-directory@2.1.1: {} require-from-string@2.0.2: {} @@ -4767,9 +4812,7 @@ snapshots: secure-compare@3.0.1: {} - semver@7.5.4: - dependencies: - lru-cache: 6.0.0 + semver@6.3.1: {} semver@7.6.3: {} @@ -4837,8 +4880,6 @@ snapshots: transitivePeerDependencies: - supports-color - slash@3.0.0: {} - slice-ansi@4.0.0: dependencies: ansi-styles: 4.3.0 @@ -5004,11 +5045,11 @@ snapshots: treeverse@3.0.0: {} - ts-api-utils@1.0.3(typescript@5.2.2): + ts-api-utils@1.4.0(typescript@5.2.2): dependencies: typescript: 5.2.2 - tsconfig-paths@3.14.2: + tsconfig-paths@3.15.0: dependencies: '@types/json5': 0.0.29 json5: 1.0.2 @@ -5029,8 +5070,6 @@ snapshots: dependencies: prelude-ls: 1.2.1 - type-fest@0.20.2: {} - typed-array-buffer@1.0.0: dependencies: call-bind: 1.0.5 @@ -5145,8 +5184,6 @@ snapshots: util-deprecate@1.0.2: {} - v8-compile-cache@2.4.0: {} - validate-npm-package-license@3.0.4: dependencies: spdx-correct: 3.2.0 @@ -5244,3 +5281,5 @@ snapshots: string-width: 4.2.3 y18n: 5.0.8 yargs-parser: 21.1.1 + + yocto-queue@0.1.0: {} diff --git a/rollup.config.js b/rollup.config.js index 846745a..d1195ac 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -1,14 +1,15 @@ -import dts from 'rollup-plugin-dts'; -import { nodeResolve } from '@rollup/plugin-node-resolve'; -import commonjs from '@rollup/plugin-commonjs'; + +import commonjs from "@rollup/plugin-commonjs"; +import { nodeResolve } from "@rollup/plugin-node-resolve"; +import dts from "rollup-plugin-dts"; const commonConfiguration = (packEntire = false) => ([ { - input: `dist/index.js`, + input: "dist/index.js", output: { - format: 'es', - name: 'workerbee', - file: `dist/bundle/${packEntire ? 'web-full' : 'index'}.js` + format: "es", + name: "workerbee", + file: `dist/bundle/${packEntire ? "web-full" : "index"}.js` }, plugins: [ nodeResolve({ @@ -19,9 +20,9 @@ const commonConfiguration = (packEntire = false) => ([ commonjs() ] }, { - input: `dist/index.d.ts`, + input: "dist/index.d.ts", output: [ - { file: `dist/bundle/${packEntire ? 'web-full' : 'index'}.d.ts`, format: "es" } + { file: `dist/bundle/${packEntire ? "web-full" : "index"}.d.ts`, format: "es" } ], plugins: [ dts() -- GitLab