diff --git a/.eslintignore b/.eslintignore deleted file mode 100644 index af7d74e73..000000000 --- a/.eslintignore +++ /dev/null @@ -1,3 +0,0 @@ -packages/server/src/types.ts -packages/types/src/index.ts -transform-graphql-jest-28-shim.cjs diff --git a/.eslintrc.json b/.eslintrc.json deleted file mode 100644 index 69f7cdd82..000000000 --- a/.eslintrc.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "env": { - "browser": true, - "es6": true, - "jest": true, - "node": true - }, - "extends": [ - "eslint:recommended", - "plugin:@typescript-eslint/recommended", - "plugin:@typescript-eslint/recommended-requiring-type-checking", - "plugin:react/recommended", - "prettier" - ], - "parser": "@typescript-eslint/parser", - "parserOptions": { - "project": ["tsconfig.json"] - }, - "plugins": ["@typescript-eslint", "import", "react"], - "rules": { - // eslint - "no-duplicate-imports": "error", - "no-unused-vars": "off", - "no-console": "error", - - // @typescript-eslint/eslint-plugin - "@typescript-eslint/ban-ts-comment": "warn", - "@typescript-eslint/consistent-type-definitions": ["error", "interface"], - "@typescript-eslint/explicit-module-boundary-types": "off", - "@typescript-eslint/no-empty-function": "off", - "@typescript-eslint/no-extraneous-class": "error", - "@typescript-eslint/no-parameter-properties": "off", - "@typescript-eslint/no-this-alias": "warn", - "@typescript-eslint/no-unused-vars": [ - "error", - { "argsIgnorePattern": "^_" } - ], - "@typescript-eslint/no-use-before-define": [ - "error", - { - "classes": false, - "functions": false, - "typedefs": false - } - ], - "@typescript-eslint/no-useless-constructor": "error", - "@typescript-eslint/prefer-ts-expect-error": "error", - - // eslint-plugin-import - "import/export": "error", - "import/extensions": ["error", "never", { "json": "always" }], - "import/first": "error", - "import/newline-after-import": "error", - "import/no-absolute-path": "error", - "import/no-commonjs": "error", - "import/no-cycle": "error", - "import/no-default-export": "error", - "import/no-deprecated": "error", - "import/no-internal-modules": [ - "error", - { - "allow": [ - "@pact-foundation/pact/src/dsl/matchers", - "msw/node", - "msw/lib/**", - "mysql2/promise", - "io-ts/lib/*", - "io-ts-types/lib/*", - "fp-ts/lib/*", - "ts-jest/utils", - "@apollo/server/plugin/disabled", - "@apollo/server/express4" - ] - } - ], - "import/no-mutable-exports": "error", - "import/no-self-import": "error", - "import/no-unassigned-import": "error", - "import/no-useless-path-segments": [ - "error", - { - "noUselessIndex": true - } - ], - "import/order": [ - "error", - { - "alphabetize": { - "order": "asc" - }, - "groups": [ - ["builtin", "external", "internal"], - ["parent", "sibling", "index", "unknown"] - ], - "newlines-between": "always" - } - ], - - // eslint-plugin-react - "react/jsx-boolean-value": "error", - "react/jsx-curly-brace-presence": "error", - "react/prop-types": "off" - }, - "settings": { - "react": { - "pragma": "h", - "version": "16.8" - } - }, - "overrides": [ - { - "files": [ - "__fixtures__/**/*", - "__tests-pacts__/**/*", - "__tests__/**/*", - "jest.setup.ts", - "jest.setup-pacts.ts" - ], - "rules": { - "@typescript-eslint/no-non-null-assertion": "off", - "import/no-extraneous-dependencies": "off" - } - } - ] -} diff --git a/.yarn/cache/@eslint-community-regexpp-npm-4.11.1-37bbb67aaa-6986685529.zip b/.yarn/cache/@eslint-community-regexpp-npm-4.11.1-37bbb67aaa-6986685529.zip deleted file mode 100644 index 9ffdb6b8a..000000000 Binary files a/.yarn/cache/@eslint-community-regexpp-npm-4.11.1-37bbb67aaa-6986685529.zip and /dev/null differ diff --git a/.yarn/cache/@eslint-community-regexpp-npm-4.12.1-ef4ab5217e-0d628680e2.zip b/.yarn/cache/@eslint-community-regexpp-npm-4.12.1-ef4ab5217e-0d628680e2.zip new file mode 100644 index 000000000..b6785b5b3 Binary files /dev/null and b/.yarn/cache/@eslint-community-regexpp-npm-4.12.1-ef4ab5217e-0d628680e2.zip differ diff --git a/.yarn/cache/@eslint-compat-npm-1.2.2-37456f3e5d-02708de14b.zip b/.yarn/cache/@eslint-compat-npm-1.2.2-37456f3e5d-02708de14b.zip new file mode 100644 index 000000000..81f0cc8d0 Binary files /dev/null and b/.yarn/cache/@eslint-compat-npm-1.2.2-37456f3e5d-02708de14b.zip differ diff --git a/.yarn/cache/@eslint-config-array-npm-0.18.0-bb4bc4e301-5ff748e178.zip b/.yarn/cache/@eslint-config-array-npm-0.18.0-bb4bc4e301-5ff748e178.zip new file mode 100644 index 000000000..6aaf02557 Binary files /dev/null and b/.yarn/cache/@eslint-config-array-npm-0.18.0-bb4bc4e301-5ff748e178.zip differ diff --git a/.yarn/cache/@eslint-core-npm-0.7.0-55f1b6f05c-91d4aa2805.zip b/.yarn/cache/@eslint-core-npm-0.7.0-55f1b6f05c-91d4aa2805.zip new file mode 100644 index 000000000..99c88a4dd Binary files /dev/null and b/.yarn/cache/@eslint-core-npm-0.7.0-55f1b6f05c-91d4aa2805.zip differ diff --git a/.yarn/cache/@eslint-eslintrc-npm-2.1.4-1ff4b5f908-10957c7592.zip b/.yarn/cache/@eslint-eslintrc-npm-2.1.4-1ff4b5f908-10957c7592.zip deleted file mode 100644 index 58788ff7a..000000000 Binary files a/.yarn/cache/@eslint-eslintrc-npm-2.1.4-1ff4b5f908-10957c7592.zip and /dev/null differ diff --git a/.yarn/cache/@eslint-eslintrc-npm-3.1.0-3837a202e2-b0a9bbd98c.zip b/.yarn/cache/@eslint-eslintrc-npm-3.1.0-3837a202e2-b0a9bbd98c.zip new file mode 100644 index 000000000..4435df3ea Binary files /dev/null and b/.yarn/cache/@eslint-eslintrc-npm-3.1.0-3837a202e2-b0a9bbd98c.zip differ diff --git a/.yarn/cache/@eslint-js-npm-8.57.1-dec269f278-2afb77454c.zip b/.yarn/cache/@eslint-js-npm-8.57.1-dec269f278-2afb77454c.zip deleted file mode 100644 index a13886030..000000000 Binary files a/.yarn/cache/@eslint-js-npm-8.57.1-dec269f278-2afb77454c.zip and /dev/null differ diff --git a/.yarn/cache/@eslint-js-npm-9.14.0-778d6db19a-727767d3c8.zip b/.yarn/cache/@eslint-js-npm-9.14.0-778d6db19a-727767d3c8.zip new file mode 100644 index 000000000..0db78b81d Binary files /dev/null and b/.yarn/cache/@eslint-js-npm-9.14.0-778d6db19a-727767d3c8.zip differ diff --git a/.yarn/cache/@eslint-object-schema-npm-2.1.4-0546250476-5a03094115.zip b/.yarn/cache/@eslint-object-schema-npm-2.1.4-0546250476-5a03094115.zip new file mode 100644 index 000000000..2ca0a2109 Binary files /dev/null and b/.yarn/cache/@eslint-object-schema-npm-2.1.4-0546250476-5a03094115.zip differ diff --git a/.yarn/cache/@eslint-plugin-kit-npm-0.2.2-5e32e77841-08935d81f5.zip b/.yarn/cache/@eslint-plugin-kit-npm-0.2.2-5e32e77841-08935d81f5.zip new file mode 100644 index 000000000..fca6575c8 Binary files /dev/null and b/.yarn/cache/@eslint-plugin-kit-npm-0.2.2-5e32e77841-08935d81f5.zip differ diff --git a/.yarn/cache/@humanfs-core-npm-0.19.1-e2e7aaeb6e-611e054514.zip b/.yarn/cache/@humanfs-core-npm-0.19.1-e2e7aaeb6e-611e054514.zip new file mode 100644 index 000000000..a14c26465 Binary files /dev/null and b/.yarn/cache/@humanfs-core-npm-0.19.1-e2e7aaeb6e-611e054514.zip differ diff --git a/.yarn/cache/@humanfs-node-npm-0.16.6-6ee2cad587-f9cb52bb23.zip b/.yarn/cache/@humanfs-node-npm-0.16.6-6ee2cad587-f9cb52bb23.zip new file mode 100644 index 000000000..04ec4b6d1 Binary files /dev/null and b/.yarn/cache/@humanfs-node-npm-0.16.6-6ee2cad587-f9cb52bb23.zip differ diff --git a/.yarn/cache/@humanwhocodes-config-array-npm-0.13.0-843095a032-eae69ff913.zip b/.yarn/cache/@humanwhocodes-config-array-npm-0.13.0-843095a032-eae69ff913.zip deleted file mode 100644 index e31bdc558..000000000 Binary files a/.yarn/cache/@humanwhocodes-config-array-npm-0.13.0-843095a032-eae69ff913.zip and /dev/null differ diff --git a/.yarn/cache/@humanwhocodes-object-schema-npm-2.0.3-4f0e508cd9-d3b78f6c58.zip b/.yarn/cache/@humanwhocodes-object-schema-npm-2.0.3-4f0e508cd9-d3b78f6c58.zip deleted file mode 100644 index 2946e1662..000000000 Binary files a/.yarn/cache/@humanwhocodes-object-schema-npm-2.0.3-4f0e508cd9-d3b78f6c58.zip and /dev/null differ diff --git a/.yarn/cache/@humanwhocodes-retry-npm-0.3.1-9d87bf92c6-7e5517bb51.zip b/.yarn/cache/@humanwhocodes-retry-npm-0.3.1-9d87bf92c6-7e5517bb51.zip new file mode 100644 index 000000000..8421b8cb2 Binary files /dev/null and b/.yarn/cache/@humanwhocodes-retry-npm-0.3.1-9d87bf92c6-7e5517bb51.zip differ diff --git a/.yarn/cache/@humanwhocodes-retry-npm-0.4.1-44b0ee0d64-f11167c28e.zip b/.yarn/cache/@humanwhocodes-retry-npm-0.4.1-44b0ee0d64-f11167c28e.zip new file mode 100644 index 000000000..c62091dff Binary files /dev/null and b/.yarn/cache/@humanwhocodes-retry-npm-0.4.1-44b0ee0d64-f11167c28e.zip differ diff --git a/.yarn/cache/@types-estree-npm-1.0.6-b5e23f2ea2-8825d6e729.zip b/.yarn/cache/@types-estree-npm-1.0.6-b5e23f2ea2-8825d6e729.zip new file mode 100644 index 000000000..95bab1b05 Binary files /dev/null and b/.yarn/cache/@types-estree-npm-1.0.6-b5e23f2ea2-8825d6e729.zip differ diff --git a/.yarn/cache/@ungap-structured-clone-npm-1.2.0-648f0b82e0-4f656b7b46.zip b/.yarn/cache/@ungap-structured-clone-npm-1.2.0-648f0b82e0-4f656b7b46.zip deleted file mode 100644 index 598a36e08..000000000 Binary files a/.yarn/cache/@ungap-structured-clone-npm-1.2.0-648f0b82e0-4f656b7b46.zip and /dev/null differ diff --git a/.yarn/cache/acorn-npm-8.12.1-610871d57c-677880034a.zip b/.yarn/cache/acorn-npm-8.12.1-610871d57c-677880034a.zip deleted file mode 100644 index 1a2fdaa5e..000000000 Binary files a/.yarn/cache/acorn-npm-8.12.1-610871d57c-677880034a.zip and /dev/null differ diff --git a/.yarn/cache/acorn-npm-8.14.0-dc46f61424-8755074ba5.zip b/.yarn/cache/acorn-npm-8.14.0-dc46f61424-8755074ba5.zip new file mode 100644 index 000000000..e2f4f77ef Binary files /dev/null and b/.yarn/cache/acorn-npm-8.14.0-dc46f61424-8755074ba5.zip differ diff --git a/.yarn/cache/eslint-module-utils-npm-2.12.0-120238a0bc-be3ac52e09.zip b/.yarn/cache/eslint-module-utils-npm-2.12.0-120238a0bc-be3ac52e09.zip new file mode 100644 index 000000000..e89171c2b Binary files /dev/null and b/.yarn/cache/eslint-module-utils-npm-2.12.0-120238a0bc-be3ac52e09.zip differ diff --git a/.yarn/cache/eslint-npm-8.57.1-dd20287a5a-e2489bb7f8.zip b/.yarn/cache/eslint-npm-8.57.1-dd20287a5a-e2489bb7f8.zip deleted file mode 100644 index c58b85cfc..000000000 Binary files a/.yarn/cache/eslint-npm-8.57.1-dd20287a5a-e2489bb7f8.zip and /dev/null differ diff --git a/.yarn/cache/eslint-npm-9.14.0-04ed57b338-1b54112da2.zip b/.yarn/cache/eslint-npm-9.14.0-04ed57b338-1b54112da2.zip new file mode 100644 index 000000000..4e46a4e02 Binary files /dev/null and b/.yarn/cache/eslint-npm-9.14.0-04ed57b338-1b54112da2.zip differ diff --git a/.yarn/cache/eslint-plugin-import-npm-2.31.0-3c7ca668cd-b1d2ac268b.zip b/.yarn/cache/eslint-plugin-import-npm-2.31.0-3c7ca668cd-b1d2ac268b.zip new file mode 100644 index 000000000..c748ff7b2 Binary files /dev/null and b/.yarn/cache/eslint-plugin-import-npm-2.31.0-3c7ca668cd-b1d2ac268b.zip differ diff --git a/.yarn/cache/eslint-scope-npm-7.2.2-53cb0df8e8-ec97dbf5fb.zip b/.yarn/cache/eslint-scope-npm-7.2.2-53cb0df8e8-ec97dbf5fb.zip deleted file mode 100644 index 29b002eb9..000000000 Binary files a/.yarn/cache/eslint-scope-npm-7.2.2-53cb0df8e8-ec97dbf5fb.zip and /dev/null differ diff --git a/.yarn/cache/eslint-scope-npm-8.2.0-d74e314c9e-750eff4672.zip b/.yarn/cache/eslint-scope-npm-8.2.0-d74e314c9e-750eff4672.zip new file mode 100644 index 000000000..7ff47ecc1 Binary files /dev/null and b/.yarn/cache/eslint-scope-npm-8.2.0-d74e314c9e-750eff4672.zip differ diff --git a/.yarn/cache/eslint-visitor-keys-npm-4.2.0-a591434af3-779c604672.zip b/.yarn/cache/eslint-visitor-keys-npm-4.2.0-a591434af3-779c604672.zip new file mode 100644 index 000000000..29abd6d3c Binary files /dev/null and b/.yarn/cache/eslint-visitor-keys-npm-4.2.0-a591434af3-779c604672.zip differ diff --git a/.yarn/cache/espree-npm-10.3.0-e5b10052f5-63e8030ff5.zip b/.yarn/cache/espree-npm-10.3.0-e5b10052f5-63e8030ff5.zip new file mode 100644 index 000000000..904d8d6ea Binary files /dev/null and b/.yarn/cache/espree-npm-10.3.0-e5b10052f5-63e8030ff5.zip differ diff --git a/.yarn/cache/espree-npm-9.6.1-a50722a5a9-eb8c149c7a.zip b/.yarn/cache/espree-npm-9.6.1-a50722a5a9-eb8c149c7a.zip deleted file mode 100644 index 0014c0574..000000000 Binary files a/.yarn/cache/espree-npm-9.6.1-a50722a5a9-eb8c149c7a.zip and /dev/null differ diff --git a/.yarn/cache/file-entry-cache-npm-6.0.1-31965cf0af-f49701feaa.zip b/.yarn/cache/file-entry-cache-npm-6.0.1-31965cf0af-f49701feaa.zip deleted file mode 100644 index 3748d0b2d..000000000 Binary files a/.yarn/cache/file-entry-cache-npm-6.0.1-31965cf0af-f49701feaa.zip and /dev/null differ diff --git a/.yarn/cache/file-entry-cache-npm-8.0.0-5b09d19a83-f67802d333.zip b/.yarn/cache/file-entry-cache-npm-8.0.0-5b09d19a83-f67802d333.zip new file mode 100644 index 000000000..97687a842 Binary files /dev/null and b/.yarn/cache/file-entry-cache-npm-8.0.0-5b09d19a83-f67802d333.zip differ diff --git a/.yarn/cache/flat-cache-npm-3.2.0-9a887f084e-e7e0f59801.zip b/.yarn/cache/flat-cache-npm-3.2.0-9a887f084e-e7e0f59801.zip deleted file mode 100644 index a9fe34793..000000000 Binary files a/.yarn/cache/flat-cache-npm-3.2.0-9a887f084e-e7e0f59801.zip and /dev/null differ diff --git a/.yarn/cache/flat-cache-npm-4.0.1-12bf2455f7-899fc86bf6.zip b/.yarn/cache/flat-cache-npm-4.0.1-12bf2455f7-899fc86bf6.zip new file mode 100644 index 000000000..3b159ec31 Binary files /dev/null and b/.yarn/cache/flat-cache-npm-4.0.1-12bf2455f7-899fc86bf6.zip differ diff --git a/.yarn/cache/globals-npm-13.24.0-cc7713139c-56066ef058.zip b/.yarn/cache/globals-npm-13.24.0-cc7713139c-56066ef058.zip deleted file mode 100644 index c8cb0244a..000000000 Binary files a/.yarn/cache/globals-npm-13.24.0-cc7713139c-56066ef058.zip and /dev/null differ diff --git a/.yarn/cache/globals-npm-14.0.0-5fc3d8d5da-534b821673.zip b/.yarn/cache/globals-npm-14.0.0-5fc3d8d5da-534b821673.zip new file mode 100644 index 000000000..15200cd2b Binary files /dev/null and b/.yarn/cache/globals-npm-14.0.0-5fc3d8d5da-534b821673.zip differ diff --git a/.yarn/cache/globals-npm-15.12.0-998488f877-2a134cc876.zip b/.yarn/cache/globals-npm-15.12.0-998488f877-2a134cc876.zip new file mode 100644 index 000000000..f8cbdd561 Binary files /dev/null and b/.yarn/cache/globals-npm-15.12.0-998488f877-2a134cc876.zip differ diff --git a/.yarn/cache/is-path-inside-npm-3.0.3-2ea0ef44fd-abd50f0618.zip b/.yarn/cache/is-path-inside-npm-3.0.3-2ea0ef44fd-abd50f0618.zip deleted file mode 100644 index 27f29d70b..000000000 Binary files a/.yarn/cache/is-path-inside-npm-3.0.3-2ea0ef44fd-abd50f0618.zip and /dev/null differ diff --git a/.yarn/cache/type-fest-npm-0.20.2-b36432617f-4fb3272df2.zip b/.yarn/cache/type-fest-npm-0.20.2-b36432617f-4fb3272df2.zip deleted file mode 100644 index 8222fdcc3..000000000 Binary files a/.yarn/cache/type-fest-npm-0.20.2-b36432617f-4fb3272df2.zip and /dev/null differ diff --git a/esbuild-transformer.js b/esbuild-transformer.js index f8d779d13..249a88283 100644 --- a/esbuild-transformer.js +++ b/esbuild-transformer.js @@ -18,5 +18,4 @@ async function processAsync(src, filename) { } } -// eslint-disable-next-line import/no-default-export export default { processAsync } diff --git a/eslint.config.mjs b/eslint.config.mjs new file mode 100644 index 000000000..e9e1a31c0 --- /dev/null +++ b/eslint.config.mjs @@ -0,0 +1,177 @@ +import typescriptEslint from '@typescript-eslint/eslint-plugin' +import _import from 'eslint-plugin-import' +import react from 'eslint-plugin-react' +import { fixupPluginRules } from '@eslint/compat' +import globals from 'globals' +import tsParser from '@typescript-eslint/parser' +import path from 'node:path' +import { fileURLToPath } from 'node:url' +import js from '@eslint/js' +import { FlatCompat } from '@eslint/eslintrc' + +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: [ + 'packages/server/src/types.ts', + 'packages/types/src/index.ts', + '**/transform-graphql-jest-28-shim.cjs', + ], + }, + ...compat.extends( + 'eslint:recommended', + 'plugin:@typescript-eslint/recommended', + 'plugin:@typescript-eslint/recommended-requiring-type-checking', + 'plugin:react/recommended', + 'prettier', + ), + { + plugins: { + '@typescript-eslint': typescriptEslint, + import: fixupPluginRules(_import), + react, + }, + + languageOptions: { + globals: { + ...globals.browser, + ...globals.jest, + ...globals.node, + }, + + parser: tsParser, + ecmaVersion: 5, + sourceType: 'commonjs', + + parserOptions: { + project: ['tsconfig.json'], + }, + }, + + settings: { + react: { + pragma: 'h', + version: '16.8', + }, + }, + + rules: { + 'no-duplicate-imports': 'error', + 'no-unused-vars': 'off', + 'no-console': 'error', + '@typescript-eslint/ban-ts-comment': 'warn', + '@typescript-eslint/consistent-type-definitions': ['error', 'interface'], + '@typescript-eslint/explicit-module-boundary-types': 'off', + '@typescript-eslint/no-empty-function': 'off', + '@typescript-eslint/no-extraneous-class': 'error', + '@typescript-eslint/no-parameter-properties': 'off', + '@typescript-eslint/no-this-alias': 'warn', + + '@typescript-eslint/no-unused-vars': [ + 'error', + { + argsIgnorePattern: '^_', + }, + ], + + '@typescript-eslint/no-use-before-define': [ + 'error', + { + classes: false, + functions: false, + typedefs: false, + }, + ], + + '@typescript-eslint/no-useless-constructor': 'error', + '@typescript-eslint/prefer-ts-expect-error': 'error', + 'import/export': 'error', + + 'import/extensions': [ + 'error', + 'never', + { + json: 'always', + }, + ], + + 'import/first': 'error', + 'import/newline-after-import': 'error', + 'import/no-absolute-path': 'error', + 'import/no-commonjs': 'error', + 'import/no-cycle': 'error', + 'import/no-default-export': 'error', + 'import/no-deprecated': 'error', + + 'import/no-internal-modules': [ + 'error', + { + allow: [ + '@pact-foundation/pact/src/dsl/matchers', + 'msw/node', + 'msw/lib/**', + 'mysql2/promise', + 'io-ts/lib/*', + 'io-ts-types/lib/*', + 'fp-ts/lib/*', + 'ts-jest/utils', + '@apollo/server/plugin/disabled', + '@apollo/server/express4', + ], + }, + ], + + 'import/no-mutable-exports': 'error', + 'import/no-self-import': 'error', + 'import/no-unassigned-import': 'error', + + 'import/no-useless-path-segments': [ + 'error', + { + noUselessIndex: true, + }, + ], + + 'import/order': [ + 'error', + { + alphabetize: { + order: 'asc', + }, + + groups: [ + ['builtin', 'external', 'internal'], + ['parent', 'sibling', 'index', 'unknown'], + ], + + 'newlines-between': 'always', + }, + ], + + 'react/jsx-boolean-value': 'error', + 'react/jsx-curly-brace-presence': 'error', + 'react/prop-types': 'off', + }, + }, + { + files: [ + '__fixtures__/**/*', + '__tests-pacts__/**/*', + '__tests__/**/*', + '**/jest.setup.ts', + '**/jest.setup-pacts.ts', + ], + + rules: { + '@typescript-eslint/no-non-null-assertion': 'off', + 'import/no-extraneous-dependencies': 'off', + }, + }, +] diff --git a/jest.config.js b/jest.config.js index 267dabb7c..9c3bb81f3 100644 --- a/jest.config.js +++ b/jest.config.js @@ -1,4 +1,3 @@ -// eslint-disable-next-line import/no-default-export export default { modulePaths: ['/packages'], moduleNameMapper: { diff --git a/package.json b/package.json index 2e3779e16..a9571aa11 100644 --- a/package.json +++ b/package.json @@ -89,6 +89,9 @@ "graphql": "^16.9.0" }, "devDependencies": { + "@eslint/compat": "^1.2.2", + "@eslint/eslintrc": "^3.1.0", + "@eslint/js": "^9.14.0", "@luckycatfactory/esbuild-graphql-loader": "^3.8.1", "@tsconfig/node20": "^20.1.4", "@types/jest": "^29.5.12", @@ -98,10 +101,11 @@ "default-import": "^2.0.1", "depcheck": "^1.4.7", "esbuild": "^0.24.0", - "eslint": "^8.57.0", + "eslint": "^9.14.0", "eslint-config-prettier": "^9.1.0", - "eslint-plugin-import": "^2.30.0", + "eslint-plugin-import": "^2.31.0", "eslint-plugin-react": "^7.35.2", + "globals": "^15.12.0", "graphql-tag": "^2.12.6", "jest": "^29.7.0", "jest-transform-graphql": "^2.1.0", diff --git a/packages/server/src/schema/authorization/roles.ts b/packages/server/src/schema/authorization/roles.ts index e9e6a9e93..9d087339f 100644 --- a/packages/server/src/schema/authorization/roles.ts +++ b/packages/server/src/schema/authorization/roles.ts @@ -137,7 +137,6 @@ export function getRolesWithInheritance(initialRoles: Role[] = []): Role[] { const allRoles: Role[] = [] const queue = [...initialRoles] - // eslint-disable-next-line no-constant-condition while (true) { const role = queue.pop() if (!role) return allRoles diff --git a/packages/server/src/typings.d.ts b/packages/server/src/typings.d.ts index 732b16ef6..d8b741e14 100644 --- a/packages/server/src/typings.d.ts +++ b/packages/server/src/typings.d.ts @@ -13,6 +13,5 @@ declare module '*.graphql' { import { DocumentNode } from 'graphql' const node: DocumentNode - // eslint-disable-next-line import/no-default-export export default node } diff --git a/yarn.lock b/yarn.lock index 4200c3e1d..c6ced7f2f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2166,34 +2166,80 @@ __metadata: languageName: node linkType: hard -"@eslint-community/regexpp@npm:^4.6.1": - version: 4.11.1 - resolution: "@eslint-community/regexpp@npm:4.11.1" - checksum: 6986685529d30e33c2640973c3d8e7ddd31bef3cc8cb10ad54ddc1dea12680779a2c23a45562aa1462c488137a3570e672d122fac7da22d82294382d915cec70 +"@eslint-community/regexpp@npm:^4.12.1": + version: 4.12.1 + resolution: "@eslint-community/regexpp@npm:4.12.1" + checksum: 0d628680e204bc316d545b4993d3658427ca404ae646ce541fcc65306b8c712c340e5e573e30fb9f85f4855c0c5f6dca9868931f2fcced06417fbe1a0c6cd2d6 languageName: node linkType: hard -"@eslint/eslintrc@npm:^2.1.4": - version: 2.1.4 - resolution: "@eslint/eslintrc@npm:2.1.4" +"@eslint/compat@npm:^1.2.2": + version: 1.2.2 + resolution: "@eslint/compat@npm:1.2.2" + peerDependencies: + eslint: ^9.10.0 + peerDependenciesMeta: + eslint: + optional: true + checksum: 02708de14b32870f44b4fbb78d1bf9e7fb8741a3038bcaea91239a161a0884b676b4c9b5a2346a145d76981710427f5a2d56f65e5bc0579bd288286e88f43ee2 + languageName: node + linkType: hard + +"@eslint/config-array@npm:^0.18.0": + version: 0.18.0 + resolution: "@eslint/config-array@npm:0.18.0" + dependencies: + "@eslint/object-schema": ^2.1.4 + debug: ^4.3.1 + minimatch: ^3.1.2 + checksum: 5ff748e1788745bfb3160c3b3151d62a7c054e336e9fe8069e86cfa6106f3abbd59b24f1253122268295f98c66803e9a7b23d7f947a8c00f62d2060cc44bc7fc + languageName: node + linkType: hard + +"@eslint/core@npm:^0.7.0": + version: 0.7.0 + resolution: "@eslint/core@npm:0.7.0" + checksum: 91d4aa2805f356fb0bba693411deab91590472666e22c9c03304ba03b288b74403a5e120db16d0926ea94281e15563a8d4d519cd1e565d514e2d5015a84b8575 + languageName: node + linkType: hard + +"@eslint/eslintrc@npm:^3.1.0": + version: 3.1.0 + resolution: "@eslint/eslintrc@npm:3.1.0" dependencies: ajv: ^6.12.4 debug: ^4.3.2 - espree: ^9.6.0 - globals: ^13.19.0 + espree: ^10.0.1 + globals: ^14.0.0 ignore: ^5.2.0 import-fresh: ^3.2.1 js-yaml: ^4.1.0 minimatch: ^3.1.2 strip-json-comments: ^3.1.1 - checksum: 10957c7592b20ca0089262d8c2a8accbad14b4f6507e35416c32ee6b4dbf9cad67dfb77096bbd405405e9ada2b107f3797fe94362e1c55e0b09d6e90dd149127 + checksum: b0a9bbd98c8b9e0f4d975b042ff9b874dde722b20834ea2ff46551c3de740d4f10f56c449b790ef34d7f82147cbddfc22b004a43cc885dbc2664bb134766b5e4 + languageName: node + linkType: hard + +"@eslint/js@npm:9.14.0, @eslint/js@npm:^9.14.0": + version: 9.14.0 + resolution: "@eslint/js@npm:9.14.0" + checksum: 727767d3c80bf88e08565af10cc3732ca0d272c729bbd39043722a203eea289ec6149ab42d977d2d28a81d99329dceeed091b70db37b868e6659913a0840e17b + languageName: node + linkType: hard + +"@eslint/object-schema@npm:^2.1.4": + version: 2.1.4 + resolution: "@eslint/object-schema@npm:2.1.4" + checksum: 5a03094115bcdab7991dbbc5d17a9713f394cebb4b44d3eaf990d7487b9b8e1877b817997334ab40be52e299a0384595c6f6ba91b389901e5e1d21efda779271 languageName: node linkType: hard -"@eslint/js@npm:8.57.1": - version: 8.57.1 - resolution: "@eslint/js@npm:8.57.1" - checksum: 2afb77454c06e8316793d2e8e79a0154854d35e6782a1217da274ca60b5044d2c69d6091155234ed0551a1e408f86f09dd4ece02752c59568fa403e60611e880 +"@eslint/plugin-kit@npm:^0.2.0": + version: 0.2.2 + resolution: "@eslint/plugin-kit@npm:0.2.2" + dependencies: + levn: ^0.4.1 + checksum: 08935d81f59f8b2ccc6df1e2517684d6cb9911390e210dacd861be60a000224b0b2f5aa9364ff78e4b14152d1d777aa621f587479aae07d0670b2e14a5a18ef6 languageName: node linkType: hard @@ -2938,14 +2984,20 @@ __metadata: languageName: node linkType: hard -"@humanwhocodes/config-array@npm:^0.13.0": - version: 0.13.0 - resolution: "@humanwhocodes/config-array@npm:0.13.0" +"@humanfs/core@npm:^0.19.1": + version: 0.19.1 + resolution: "@humanfs/core@npm:0.19.1" + checksum: 611e0545146f55ddfdd5c20239cfb7911f9d0e28258787c4fc1a1f6214250830c9367aaaeace0096ed90b6739bee1e9c52ad5ba8adaf74ab8b449119303babfe + languageName: node + linkType: hard + +"@humanfs/node@npm:^0.16.6": + version: 0.16.6 + resolution: "@humanfs/node@npm:0.16.6" dependencies: - "@humanwhocodes/object-schema": ^2.0.3 - debug: ^4.3.1 - minimatch: ^3.0.5 - checksum: eae69ff9134025dd2924f0b430eb324981494be26f0fddd267a33c28711c4db643242cf9fddf7dadb9d16c96b54b2d2c073e60a56477df86e0173149313bd5d6 + "@humanfs/core": ^0.19.1 + "@humanwhocodes/retry": ^0.3.0 + checksum: f9cb52bb235f8b9c6fcff43a7e500669a38f8d6ce26593404a9b56365a1644e0ed60c720dc65ff6a696b1f85f3563ab055bb554ec8674f2559085ba840e47710 languageName: node linkType: hard @@ -2956,10 +3008,17 @@ __metadata: languageName: node linkType: hard -"@humanwhocodes/object-schema@npm:^2.0.3": - version: 2.0.3 - resolution: "@humanwhocodes/object-schema@npm:2.0.3" - checksum: d3b78f6c5831888c6ecc899df0d03bcc25d46f3ad26a11d7ea52944dc36a35ef543fad965322174238d677a43d5c694434f6607532cff7077062513ad7022631 +"@humanwhocodes/retry@npm:^0.3.0": + version: 0.3.1 + resolution: "@humanwhocodes/retry@npm:0.3.1" + checksum: 7e5517bb51dbea3e02ab6cacef59a8f4b0ca023fc4b0b8cbc40de0ad29f46edd50b897c6e7fba79366a0217e3f48e2da8975056f6c35cfe19d9cc48f1d03c1dd + languageName: node + linkType: hard + +"@humanwhocodes/retry@npm:^0.4.0": + version: 0.4.1 + resolution: "@humanwhocodes/retry@npm:0.4.1" + checksum: f11167c28e8266faba470fd273cbaafe2827523492bc18c5623015adb7ed66f46b2e542e3d756fed9ca614300249267814220c2f5f03a59e07fdfa64fc14ad52 languageName: node linkType: hard @@ -3779,7 +3838,7 @@ __metadata: languageName: node linkType: hard -"@nodelib/fs.walk@npm:^1.2.3, @nodelib/fs.walk@npm:^1.2.8": +"@nodelib/fs.walk@npm:^1.2.3": version: 1.2.8 resolution: "@nodelib/fs.walk@npm:1.2.8" dependencies: @@ -5048,6 +5107,9 @@ __metadata: version: 0.0.0-use.local resolution: "@serlo/api.serlo.org-workspace@workspace:." dependencies: + "@eslint/compat": ^1.2.2 + "@eslint/eslintrc": ^3.1.0 + "@eslint/js": ^9.14.0 "@luckycatfactory/esbuild-graphql-loader": ^3.8.1 "@tsconfig/node20": ^20.1.4 "@types/jest": ^29.5.12 @@ -5057,10 +5119,11 @@ __metadata: default-import: ^2.0.1 depcheck: ^1.4.7 esbuild: ^0.24.0 - eslint: ^8.57.0 + eslint: ^9.14.0 eslint-config-prettier: ^9.1.0 - eslint-plugin-import: ^2.30.0 + eslint-plugin-import: ^2.31.0 eslint-plugin-react: ^7.35.2 + globals: ^15.12.0 graphql: ^16.9.0 graphql-tag: ^2.12.6 jest: ^29.7.0 @@ -5509,6 +5572,13 @@ __metadata: languageName: node linkType: hard +"@types/estree@npm:^1.0.6": + version: 1.0.6 + resolution: "@types/estree@npm:1.0.6" + checksum: 8825d6e729e16445d9a1dd2fb1db2edc5ed400799064cd4d028150701031af012ba30d6d03fe9df40f4d7a437d0de6d2b256020152b7b09bde9f2e420afdffd9 + languageName: node + linkType: hard + "@types/express-serve-static-core@npm:^4.17.30, @types/express-serve-static-core@npm:^4.17.33": version: 4.19.3 resolution: "@types/express-serve-static-core@npm:4.19.3" @@ -5620,7 +5690,7 @@ __metadata: languageName: node linkType: hard -"@types/json-schema@npm:^7.0.3": +"@types/json-schema@npm:^7.0.15, @types/json-schema@npm:^7.0.3": version: 7.0.15 resolution: "@types/json-schema@npm:7.0.15" checksum: 97ed0cb44d4070aecea772b7b2e2ed971e10c81ec87dd4ecc160322ffa55ff330dace1793489540e3e318d90942064bb697cc0f8989391797792d919737b3b98 @@ -6189,13 +6259,6 @@ __metadata: languageName: node linkType: hard -"@ungap/structured-clone@npm:^1.2.0": - version: 1.2.0 - resolution: "@ungap/structured-clone@npm:1.2.0" - checksum: 4f656b7b4672f2ce6e272f2427d8b0824ed11546a601d8d5412b9d7704e83db38a8d9f402ecdf2b9063fc164af842ad0ec4a55819f621ed7e7ea4d1efcc74524 - languageName: node - linkType: hard - "@vue/compiler-core@npm:3.4.27": version: 3.4.27 resolution: "@vue/compiler-core@npm:3.4.27" @@ -6438,21 +6501,21 @@ __metadata: languageName: node linkType: hard -"acorn@npm:^8.4.1, acorn@npm:^8.5.0, acorn@npm:^8.8.2": - version: 8.11.3 - resolution: "acorn@npm:8.11.3" +"acorn@npm:^8.14.0": + version: 8.14.0 + resolution: "acorn@npm:8.14.0" bin: acorn: bin/acorn - checksum: 76d8e7d559512566b43ab4aadc374f11f563f0a9e21626dd59cb2888444e9445923ae9f3699972767f18af61df89cd89f5eaaf772d1327b055b45cb829b4a88c + checksum: 8755074ba55fff94e84e81c72f1013c2d9c78e973c31231c8ae505a5f966859baf654bddd75046bffd73ce816b149298977fff5077a3033dedba0ae2aad152d4 languageName: node linkType: hard -"acorn@npm:^8.9.0": - version: 8.12.1 - resolution: "acorn@npm:8.12.1" +"acorn@npm:^8.4.1, acorn@npm:^8.5.0, acorn@npm:^8.8.2": + version: 8.11.3 + resolution: "acorn@npm:8.11.3" bin: acorn: bin/acorn - checksum: 677880034aee5bdf7434cc2d25b641d7bedb0b5ef47868a78dadabedccf58e1c5457526d9d8249cd253f2df087e081c3fe7d903b448d8e19e5131a3065b83c07 + checksum: 76d8e7d559512566b43ab4aadc374f11f563f0a9e21626dd59cb2888444e9445923ae9f3699972767f18af61df89cd89f5eaaf772d1327b055b45cb829b4a88c languageName: node linkType: hard @@ -9796,6 +9859,18 @@ __metadata: languageName: node linkType: hard +"eslint-module-utils@npm:^2.12.0": + version: 2.12.0 + resolution: "eslint-module-utils@npm:2.12.0" + dependencies: + debug: ^3.2.7 + peerDependenciesMeta: + eslint: + optional: true + checksum: be3ac52e0971c6f46daeb1a7e760e45c7c45f820c8cc211799f85f10f04ccbf7afc17039165d56cb2da7f7ca9cec2b3a777013cddf0b976784b37eb9efa24180 + languageName: node + linkType: hard + "eslint-module-utils@npm:^2.9.0": version: 2.11.0 resolution: "eslint-module-utils@npm:2.11.0" @@ -9819,7 +9894,7 @@ __metadata: languageName: node linkType: hard -"eslint-plugin-import@npm:^2.18.2, eslint-plugin-import@npm:^2.30.0": +"eslint-plugin-import@npm:^2.18.2": version: 2.30.0 resolution: "eslint-plugin-import@npm:2.30.0" dependencies: @@ -9847,6 +9922,35 @@ __metadata: languageName: node linkType: hard +"eslint-plugin-import@npm:^2.31.0": + version: 2.31.0 + resolution: "eslint-plugin-import@npm:2.31.0" + dependencies: + "@rtsao/scc": ^1.1.0 + array-includes: ^3.1.8 + array.prototype.findlastindex: ^1.2.5 + array.prototype.flat: ^1.3.2 + array.prototype.flatmap: ^1.3.2 + debug: ^3.2.7 + doctrine: ^2.1.0 + eslint-import-resolver-node: ^0.3.9 + eslint-module-utils: ^2.12.0 + hasown: ^2.0.2 + is-core-module: ^2.15.1 + is-glob: ^4.0.3 + minimatch: ^3.1.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 + peerDependencies: + eslint: ^2 || ^3 || ^4 || ^5 || ^6 || ^7.2.0 || ^8 || ^9 + checksum: b1d2ac268b3582ff1af2a72a2c476eae4d250c100f2e335b6e102036e4a35efa530b80ec578dfc36761fabb34a635b9bf5ab071abe9d4404a4bb054fdf22d415 + languageName: node + linkType: hard + "eslint-plugin-jsx-a11y@npm:^6.2.3": version: 6.8.0 resolution: "eslint-plugin-jsx-a11y@npm:6.8.0" @@ -9935,13 +10039,13 @@ __metadata: languageName: node linkType: hard -"eslint-scope@npm:^7.2.2": - version: 7.2.2 - resolution: "eslint-scope@npm:7.2.2" +"eslint-scope@npm:^8.2.0": + version: 8.2.0 + resolution: "eslint-scope@npm:8.2.0" dependencies: esrecurse: ^4.3.0 estraverse: ^5.2.0 - checksum: ec97dbf5fb04b94e8f4c5a91a7f0a6dd3c55e46bfc7bbcd0e3138c3a76977570e02ed89a1810c778dcd72072ff0e9621ba1379b4babe53921d71e2e4486fda3e + checksum: 750eff4672ca2bf274ec0d1bbeae08aadd53c1907d5c6aff5564d8e047a5f49afa8ae6eee333cab637fd3ebcab2141659d8f2f040f6fdc982b0f61f8bf03136f languageName: node linkType: hard @@ -9970,13 +10074,20 @@ __metadata: languageName: node linkType: hard -"eslint-visitor-keys@npm:^3.3.0, eslint-visitor-keys@npm:^3.4.1, eslint-visitor-keys@npm:^3.4.3": +"eslint-visitor-keys@npm:^3.3.0, eslint-visitor-keys@npm:^3.4.3": version: 3.4.3 resolution: "eslint-visitor-keys@npm:3.4.3" checksum: 36e9ef87fca698b6fd7ca5ca35d7b2b6eeaaf106572e2f7fd31c12d3bfdaccdb587bba6d3621067e5aece31c8c3a348b93922ab8f7b2cbc6aaab5e1d89040c60 languageName: node linkType: hard +"eslint-visitor-keys@npm:^4.2.0": + version: 4.2.0 + resolution: "eslint-visitor-keys@npm:4.2.0" + checksum: 779c604672b570bb4da84cef32f6abb085ac78379779c1122d7879eade8bb38ae715645324597cf23232d03cef06032c9844d25c73625bc282a5bfd30247e5b5 + languageName: node + linkType: hard + "eslint@npm:^6.1.0": version: 6.8.0 resolution: "eslint@npm:6.8.0" @@ -10024,51 +10135,64 @@ __metadata: languageName: node linkType: hard -"eslint@npm:^8.57.0": - version: 8.57.1 - resolution: "eslint@npm:8.57.1" +"eslint@npm:^9.14.0": + version: 9.14.0 + resolution: "eslint@npm:9.14.0" dependencies: "@eslint-community/eslint-utils": ^4.2.0 - "@eslint-community/regexpp": ^4.6.1 - "@eslint/eslintrc": ^2.1.4 - "@eslint/js": 8.57.1 - "@humanwhocodes/config-array": ^0.13.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.0 + "@humanfs/node": ^0.16.6 "@humanwhocodes/module-importer": ^1.0.1 - "@nodelib/fs.walk": ^1.2.8 - "@ungap/structured-clone": ^1.2.0 + "@humanwhocodes/retry": ^0.4.0 + "@types/estree": ^1.0.6 + "@types/json-schema": ^7.0.15 ajv: ^6.12.4 chalk: ^4.0.0 cross-spawn: ^7.0.2 debug: ^4.3.2 - doctrine: ^3.0.0 escape-string-regexp: ^4.0.0 - eslint-scope: ^7.2.2 - eslint-visitor-keys: ^3.4.3 - espree: ^9.6.1 - esquery: ^1.4.2 + eslint-scope: ^8.2.0 + eslint-visitor-keys: ^4.2.0 + espree: ^10.3.0 + esquery: ^1.5.0 esutils: ^2.0.2 fast-deep-equal: ^3.1.3 - file-entry-cache: ^6.0.1 + file-entry-cache: ^8.0.0 find-up: ^5.0.0 glob-parent: ^6.0.2 - globals: ^13.19.0 - graphemer: ^1.4.0 ignore: ^5.2.0 imurmurhash: ^0.1.4 is-glob: ^4.0.0 - is-path-inside: ^3.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 - strip-ansi: ^6.0.1 text-table: ^0.2.0 + peerDependencies: + jiti: "*" + peerDependenciesMeta: + jiti: + optional: true bin: eslint: bin/eslint.js - checksum: e2489bb7f86dd2011967759a09164e65744ef7688c310bc990612fc26953f34cc391872807486b15c06833bdff737726a23e9b4cdba5de144c311377dc41d91b + checksum: 1b54112da245f4175fbcf31ea5f71da38dda1bb8f5d645f3b2420035a4310949fda57af14ca7f7992e36374da8c06b94bf20ec8bda64a09409d818aefd0bf09c + languageName: node + linkType: hard + +"espree@npm:^10.0.1, espree@npm:^10.3.0": + version: 10.3.0 + resolution: "espree@npm:10.3.0" + dependencies: + acorn: ^8.14.0 + acorn-jsx: ^5.3.2 + eslint-visitor-keys: ^4.2.0 + checksum: 63e8030ff5a98cea7f8b3e3a1487c998665e28d674af08b9b3100ed991670eb3cbb0e308c4548c79e03762753838fbe530c783f17309450d6b47a889fee72bef languageName: node linkType: hard @@ -10083,17 +10207,6 @@ __metadata: languageName: node linkType: hard -"espree@npm:^9.6.0, espree@npm:^9.6.1": - version: 9.6.1 - resolution: "espree@npm:9.6.1" - dependencies: - acorn: ^8.9.0 - acorn-jsx: ^5.3.2 - eslint-visitor-keys: ^3.4.1 - checksum: eb8c149c7a2a77b3f33a5af80c10875c3abd65450f60b8af6db1bfcfa8f101e21c1e56a561c6dc13b848e18148d43469e7cd208506238554fb5395a9ea5a1ab9 - languageName: node - linkType: hard - "esprima@npm:^4.0.0, esprima@npm:^4.0.1": version: 4.0.1 resolution: "esprima@npm:4.0.1" @@ -10113,7 +10226,7 @@ __metadata: languageName: node linkType: hard -"esquery@npm:^1.4.2": +"esquery@npm:^1.5.0": version: 1.6.0 resolution: "esquery@npm:1.6.0" dependencies: @@ -10614,12 +10727,12 @@ __metadata: languageName: node linkType: hard -"file-entry-cache@npm:^6.0.1": - version: 6.0.1 - resolution: "file-entry-cache@npm:6.0.1" +"file-entry-cache@npm:^8.0.0": + version: 8.0.0 + resolution: "file-entry-cache@npm:8.0.0" dependencies: - flat-cache: ^3.0.4 - checksum: f49701feaa6314c8127c3c2f6173cfefff17612f5ed2daaafc6da13b5c91fd43e3b2a58fd0d63f9f94478a501b167615931e7200e31485e320f74a33885a9c74 + flat-cache: ^4.0.0 + checksum: f67802d3334809048c69b3d458f672e1b6d26daefda701761c81f203b80149c35dea04d78ea4238969dd617678e530876722a0634c43031a0957f10cc3ed190f languageName: node linkType: hard @@ -10741,14 +10854,13 @@ __metadata: languageName: node linkType: hard -"flat-cache@npm:^3.0.4": - version: 3.2.0 - resolution: "flat-cache@npm:3.2.0" +"flat-cache@npm:^4.0.0": + version: 4.0.1 + resolution: "flat-cache@npm:4.0.1" dependencies: flatted: ^3.2.9 - keyv: ^4.5.3 - rimraf: ^3.0.2 - checksum: e7e0f59801e288b54bee5cb9681e9ee21ee28ef309f886b312c9d08415b79fc0f24ac842f84356ce80f47d6a53de62197ce0e6e148dc42d5db005992e2a756ec + keyv: ^4.5.4 + checksum: 899fc86bf6df093547d76e7bfaeb900824b869d7d457d02e9b8aae24836f0a99fbad79328cfd6415ee8908f180699bf259dc7614f793447cb14f707caf5996f6 languageName: node linkType: hard @@ -11374,12 +11486,17 @@ __metadata: languageName: node linkType: hard -"globals@npm:^13.19.0": - version: 13.24.0 - resolution: "globals@npm:13.24.0" - dependencies: - type-fest: ^0.20.2 - checksum: 56066ef058f6867c04ff203b8a44c15b038346a62efbc3060052a1016be9f56f4cf0b2cd45b74b22b81e521a889fc7786c73691b0549c2f3a6e825b3d394f43c +"globals@npm:^14.0.0": + version: 14.0.0 + resolution: "globals@npm:14.0.0" + checksum: 534b8216736a5425737f59f6e6a5c7f386254560c9f41d24a9227d60ee3ad4a9e82c5b85def0e212e9d92162f83a92544be4c7fd4c902cb913736c10e08237ac + languageName: node + linkType: hard + +"globals@npm:^15.12.0": + version: 15.12.0 + resolution: "globals@npm:15.12.0" + checksum: 2a134cc876dd73192489561e3c85be348dc1408fef043ebef605cdc437f64cd2fc922268db02e3348683d05d06bed10fb1c3653b3d4399a204a7ecd59e742a07 languageName: node linkType: hard @@ -12534,13 +12651,6 @@ __metadata: languageName: node linkType: hard -"is-path-inside@npm:^3.0.3": - version: 3.0.3 - resolution: "is-path-inside@npm:3.0.3" - checksum: abd50f06186a052b349c15e55b182326f1936c89a78bf6c8f2b707412517c097ce04bc49a0ca221787bc44e1049f51f09a2ffb63d22899051988d3a618ba13e9 - languageName: node - linkType: hard - "is-plain-obj@npm:^1.0.0, is-plain-obj@npm:^1.1.0": version: 1.1.0 resolution: "is-plain-obj@npm:1.1.0" @@ -14218,7 +14328,7 @@ __metadata: languageName: node linkType: hard -"keyv@npm:^4.5.3": +"keyv@npm:^4.5.4": version: 4.5.4 resolution: "keyv@npm:4.5.4" dependencies: @@ -15061,7 +15171,7 @@ __metadata: languageName: node linkType: hard -"minimatch@npm:^3.0.4, minimatch@npm:^3.0.5, minimatch@npm:^3.1.1, minimatch@npm:^3.1.2": +"minimatch@npm:^3.0.4, minimatch@npm:^3.1.1, minimatch@npm:^3.1.2": version: 3.1.2 resolution: "minimatch@npm:3.1.2" dependencies: @@ -18010,7 +18120,7 @@ __metadata: languageName: node linkType: hard -"rimraf@npm:^3.0.0, rimraf@npm:^3.0.2": +"rimraf@npm:^3.0.0": version: 3.0.2 resolution: "rimraf@npm:3.0.2" dependencies: @@ -20026,13 +20136,6 @@ __metadata: languageName: node linkType: hard -"type-fest@npm:^0.20.2": - version: 0.20.2 - resolution: "type-fest@npm:0.20.2" - checksum: 4fb3272df21ad1c552486f8a2f8e115c09a521ad7a8db3d56d53718d0c907b62c6e9141ba5f584af3f6830d0872c521357e512381f24f7c44acae583ad517d73 - languageName: node - linkType: hard - "type-fest@npm:^0.21.3": version: 0.21.3 resolution: "type-fest@npm:0.21.3"