@samitouri / QOS-React / commits / 4e6aa42773
Fork 0

The library for web and native user interfaces.

Upgrade to typescript 5.4.3

This PR makes all packages share the same typescript version and updates us to latest versions of typescript, ts-node, typescript-eslint/eslint-plugin and typescript-eslint/parser. I also noticed that the tsconfig we were extending (node18-strictest) was deprecated, so I switched us over to one that's more up to date. Also had to make a couple of small changes to the playground so that continues to build correctly.

Lauren Tan committed Apr 2, 2024 at 10:32 UTC 4e6aa4277329dc41a8970751bcce0a1fdc107840
20 files changed +172 -187
compiler/apps/playground/components/Editor/EditorImpl.tsx
+3 -3
@@ -13,14 +13,14 @@ import {
13 CompilerErrorDetail,
14 Effect,
15 ErrorSeverity,
16 - Hook,
16 parseConfigPragma,
17 printHIR,
18 printReactiveFunction,
19 run,
20 ValueKind,
22 -} from "babel-plugin-react-forget";
23 -import { ReactFunctionType } from "babel-plugin-react-forget/dist/HIR/Environment";
21 + type Hook,
22 +} from "babel-plugin-react-forget/src";
23 +import { type ReactFunctionType } from "babel-plugin-react-forget/src/HIR/Environment";
24 import clsx from "clsx";
25 import invariant from "invariant";
26 import { useSnackbar } from "notistack";
compiler/apps/playground/components/Editor/Input.tsx
+4 -4
@@ -9,8 +9,8 @@
9 * Copyright (c) Facebook, Inc. and its affiliates.
10 */
11
12 -import MonacoEditor, { type Monaco, loader } from "@monaco-editor/react";
13 -import { CompilerErrorDetail } from "babel-plugin-react-forget";
12 +import MonacoEditor, { loader, type Monaco } from "@monaco-editor/react";
13 +import { CompilerErrorDetail } from "babel-plugin-react-forget/src";
14 import invariant from "invariant";
15 import type { editor } from "monaco-editor";
16 import * as monaco from "monaco-editor";
@@ -22,7 +22,7 @@ import { monacoOptions } from "./monacoOptions";
22 // @ts-ignore
23 import React$Types from "../../node_modules/@types/react/index.d.ts";
24
25 -loader.config({ monaco});
25 +loader.config({ monaco });
26
27 type Props = {
28 errors: CompilerErrorDetail[];
@@ -79,7 +79,7 @@ export default function Input({ errors }: Props) {
79 allowSyntheticDefaultImports: true,
80 };
81 monaco.languages.typescript.javascriptDefaults.setCompilerOptions(
82 - tscOptions
82 + tscOptions,
83 );
84 monaco.languages.typescript.typescriptDefaults.setCompilerOptions({
85 ...tscOptions,
compiler/apps/playground/components/Editor/Output.tsx
+1 -1
@@ -13,7 +13,7 @@ import {
13 InformationCircleIcon,
14 } from "@heroicons/react/outline";
15 import MonacoEditor, { DiffEditor } from "@monaco-editor/react";
16 -import { type CompilerError } from "babel-plugin-react-forget";
16 +import { type CompilerError } from "babel-plugin-react-forget/src";
17 import parserBabel from "prettier/plugins/babel";
18 import * as prettierPluginEstree from "prettier/plugins/estree";
19 import * as prettier from "prettier/standalone";
compiler/apps/playground/lib/forgetMonacoDiagnostics.ts
+8 -5
@@ -10,12 +10,15 @@
10 */
11
12 import { Monaco } from "@monaco-editor/react";
13 -import { CompilerErrorDetail, ErrorSeverity } from "babel-plugin-react-forget";
13 +import {
14 + CompilerErrorDetail,
15 + ErrorSeverity,
16 +} from "babel-plugin-react-forget/src";
17 import { MarkerSeverity, type editor } from "monaco-editor";
18
19 function mapForgetSeverityToMonaco(
20 level: ErrorSeverity,
18 - monaco: Monaco
21 + monaco: Monaco,
22 ): MarkerSeverity {
23 switch (level) {
24 case ErrorSeverity.Todo:
@@ -27,7 +30,7 @@ function mapForgetSeverityToMonaco(
30
31 function mapForgetDiagnosticToMonacoMarker(
32 detail: CompilerErrorDetail,
30 - monaco: Monaco
33 + monaco: Monaco,
34 ): editor.IMarkerData | null {
35 if (detail.loc == null || typeof detail.loc === "symbol") {
36 return null;
@@ -71,7 +74,7 @@ export function renderForgetMarkers({
74 marker.startLineNumber,
75 marker.startColumn,
76 marker.endLineNumber,
74 - marker.endColumn
77 + marker.endColumn,
78 ),
79 options: {
80 isWholeLine: true,
@@ -84,7 +87,7 @@ export function renderForgetMarkers({
87 monaco.editor.setModelMarkers(model, "owner", []);
88 decorations = model.deltaDecorations(
89 model.getAllDecorations().map((d) => d.id),
87 - []
90 + [],
91 );
92 }
93 }
compiler/apps/playground/package.json
+1 -2
@@ -45,8 +45,7 @@
45 "eslint-config-next": "^13.5.6",
46 "monaco-editor-webpack-plugin": "^7.1.0",
47 "postcss": "^8.4.19",
48 - "tailwindcss": "^3.2.4",
49 - "typescript": "^5.1.0"
48 + "tailwindcss": "^3.2.4"
49 },
50 "resolutions": {
51 "./**/@babel/parser": "7.7.4",
compiler/package.json
+3 -1
@@ -29,6 +29,8 @@
29 },
30 "dependencies": {},
31 "devDependencies": {
32 - "concurrently": "^7.4.0"
32 + "concurrently": "^7.4.0",
33 + "typescript": "^5.4.3",
34 + "@tsconfig/strictest": "^2.0.5"
35 }
36 }
compiler/packages/babel-plugin-react-forget/package.json
+4 -5
@@ -10,7 +10,7 @@
10 "scripts": {
11 "build": "rimraf dist && rollup --config --bundleConfigAsCjs",
12 "test": "yarn snap:ci",
13 - "jest": "tsc && ts-node node_modules/.bin/jest",
13 + "jest": "yarn build && ts-node node_modules/.bin/jest",
14 "snap": "node ../snap/dist/main.js",
15 "snap:build": "yarn workspace snap run build",
16 "snap:ci": "yarn snap:build && yarn snap",
@@ -44,8 +44,8 @@
44 "@types/invariant": "^2.2.35",
45 "@types/jest": "^29.0.3",
46 "@types/node": "^18.7.18",
47 - "@typescript-eslint/eslint-plugin": "^5.51.0",
48 - "@typescript-eslint/parser": "^5.51.0",
47 + "@typescript-eslint/eslint-plugin": "^7.4.0",
48 + "@typescript-eslint/parser": "^7.4.0",
49 "babel-jest": "^29.0.3",
50 "babel-plugin-fbt": "^1.0.0",
51 "babel-plugin-fbt-runtime": "^1.0.0",
@@ -61,8 +61,7 @@
61 "rimraf": "^3.0.2",
62 "rollup-plugin-license": "^3.2.0",
63 "ts-jest": "^29.1.1",
64 - "ts-node": "^10.9.1",
65 - "typescript": "^5.1.0"
64 + "ts-node": "^10.9.2"
65 },
66 "resolutions": {
67 "./**/@babel/parser": "7.7.4",
compiler/packages/babel-plugin-react-forget/src/Entrypoint/Options.ts
+2 -2
@@ -188,7 +188,7 @@ export function parsePluginOptions(obj: unknown): PluginOptions {
188 if (obj == null || typeof obj !== "object") {
189 return defaultOptions;
190 }
191 - let parsedOptions: Partial<PluginOptions> = Object.create(null);
191 + const parsedOptions = Object.create(null);
192 for (const [key, value] of Object.entries(obj)) {
193 if (isCompilerFlag(key)) {
194 parsedOptions[key] = value;
@@ -197,6 +197,6 @@ export function parsePluginOptions(obj: unknown): PluginOptions {
197 return { ...defaultOptions, ...parsedOptions };
198 }
199
200 -function isCompilerFlag(s: string): s is keyof typeof defaultOptions {
200 +function isCompilerFlag(s: string): s is keyof PluginOptions {
201 return Object.prototype.hasOwnProperty.call(defaultOptions, s);
202 }
compiler/packages/babel-plugin-react-forget/src/HIR/index.ts
+3 -3
@@ -12,11 +12,11 @@ export { lower } from "./BuildHIR";
12 export { computeDominatorTree, computePostDominatorTree } from "./Dominator";
13 export {
14 Environment,
15 - EnvironmentConfig,
16 - ExternalFunction,
17 - Hook,
15 parseConfigPragma,
16 validateEnvironmentConfig,
17 + type EnvironmentConfig,
18 + type ExternalFunction,
19 + type Hook,
20 } from "./Environment";
21 export * from "./HIR";
22 export {
compiler/packages/babel-plugin-react-forget/src/ReactiveScopes/index.ts
+1 -1
@@ -35,7 +35,7 @@ export { pruneUnusedScopes } from "./PruneUnusedScopes";
35 export { renameVariables } from "./RenameVariables";
36 export {
37 ReactiveFunctionTransform,
38 - Transformed,
38 eachReactiveValueOperand,
39 visitReactiveFunction,
40 + type Transformed,
41 } from "./visitors";
compiler/packages/babel-plugin-react-forget/src/index.ts
+6 -6
@@ -12,23 +12,23 @@ export {
12 ErrorSeverity,
13 } from "./CompilerError";
14 export {
15 - CompilerPipelineValue,
16 - PluginOptions,
15 compileFn as compile,
16 compileProgram,
17 parsePluginOptions,
18 run,
19 + type CompilerPipelineValue,
20 + type PluginOptions,
21 } from "./Entrypoint";
22 export {
23 Effect,
24 - EnvironmentConfig,
25 - ExternalFunction,
26 - Hook,
27 - SourceLocation,
24 ValueKind,
25 parseConfigPragma,
26 printHIR,
27 validateEnvironmentConfig,
28 + type EnvironmentConfig,
29 + type ExternalFunction,
30 + type Hook,
31 + type SourceLocation,
32 } from "./HIR";
33 export { printReactiveFunction } from "./ReactiveScopes";
34
compiler/packages/babel-plugin-react-forget/tsconfig.json
+13 -3
@@ -1,7 +1,8 @@
1 {
2 - "extends": "@tsconfig/node18-strictest/tsconfig.json",
2 + "extends": "@tsconfig/strictest/tsconfig.json",
3 "compilerOptions": {
4 - "moduleResolution": "NodeNext",
4 + "module": "ES2015",
5 + "moduleResolution": "Bundler",
6 "declaration": true,
7 "declarationDir": "./dist",
8 "declarationMap": false,
@@ -26,5 +27,14 @@
27 ],
28 "include": [
29 "src/**/*.ts"
29 - ]
30 + ],
31 + "ts-node": {
32 + "transpileOnly": true,
33 + // these options are overrides used only by ts-node
34 + // same as the --compilerOptions flag and the TS_NODE_COMPILER_OPTIONS environment variable
35 + "compilerOptions": {
36 + "module": "NodeNext",
37 + "moduleResolution": "NodeNext",
38 + }
39 + }
40 }
compiler/packages/eslint-plugin-react-compiler/tsconfig.json
+3 -1
@@ -1,6 +1,8 @@
1 {
2 - "extends": "@tsconfig/node18-strictest/tsconfig.json",
2 + "extends": "@tsconfig/strictest/tsconfig.json",
3 "compilerOptions": {
4 + "module": "ES2015",
5 + "moduleResolution": "Bundler",
6 "rootDir": "../",
7 "noEmit": true,
8 "jsx": "react-jsxdev",
compiler/packages/make-read-only-util/package.json
+1 -2
@@ -19,7 +19,6 @@
19 "jest": "^28.1.3",
20 "prettier": "2.8.8",
21 "ts-jest": "^28.0.7",
22 - "ts-node": "^10.9.1",
23 - "typescript": "^5.1.0"
22 + "ts-node": "^10.9.2"
23 }
24 }
compiler/packages/make-read-only-util/tsconfig.json
+1 -1
@@ -1,5 +1,5 @@
1 {
2 - "extends": "@tsconfig/node18-strictest/tsconfig.json",
2 + "extends": "@tsconfig/strictest/tsconfig.json",
3 "compilerOptions": {
4 "declaration": true,
5 "outDir": "dist",
compiler/packages/react-forget-runtime/tsconfig.json
+2 -1
@@ -1,6 +1,7 @@
1 {
2 - "extends": "@tsconfig/node18-strictest/tsconfig.json",
2 + "extends": "@tsconfig/strictest/tsconfig.json",
3 "compilerOptions": {
4 + "module": "CommonJS",
5 "declaration": true,
6 "outDir": "dist",
7 "jsx": "react-jsxdev",
compiler/packages/snap/package.json
+2 -3
@@ -36,7 +36,6 @@
36 "react": "^0.0.0-experimental-493f72b0a-20230727",
37 "react-dom": "^0.0.0-experimental-493f72b0a-20230727",
38 "readline": "^1.3.0",
39 - "typescript": "^5.1.0",
39 "yargs": "^17.7.1"
40 },
41 "devDependencies": {
@@ -50,8 +49,8 @@
49 "@types/fbt": "^1.0.4",
50 "@types/glob": "^8.1.0",
51 "@types/node": "^18.7.18",
53 - "@typescript-eslint/eslint-plugin": "^5.51.0",
54 - "@typescript-eslint/parser": "^5.51.0",
52 + "@typescript-eslint/eslint-plugin": "^7.4.0",
53 + "@typescript-eslint/parser": "^7.4.0",
54 "prettier": "2.8.8",
55 "rimraf": "^3.0.2"
56 },
compiler/packages/snap/src/runner-watch.ts
+4 -1
@@ -19,7 +19,10 @@ export function watchSrc(
19 const createProgram = ts.createSemanticDiagnosticsBuilderProgram;
20 const host = ts.createWatchCompilerHost(
21 configPath,
22 - {},
22 + ts.convertCompilerOptionsFromJson(
23 + { module: "commonjs", outDir: "dist" },
24 + "."
25 + ).options,
26 ts.sys,
27 createProgram,
28 () => {}, // we manually report errors in afterProgramCreate
compiler/packages/snap/tsconfig.json
+4 -6
@@ -1,9 +1,12 @@
1 {
2 - "extends": "@tsconfig/node18-strictest/tsconfig.json",
2 + "extends": "@tsconfig/strictest/tsconfig.json",
3 "compilerOptions": {
4 + "module": "NodeNext",
5 + "moduleResolution": "NodeNext",
6 "declaration": true,
7 "outDir": "dist",
8 "jsx": "react-jsxdev",
9 + "lib": ["ES2022"],
10
11 // weaken strictness from preset
12 "importsNotUsedAsValues": "remove",
@@ -17,9 +20,4 @@
20 },
21 "exclude": ["node_modules"],
22 "include": ["src/**/*.ts"],
20 - "references": [
21 - {
22 - "path": "../babel-plugin-react-forget"
23 - }
24 - ]
23 }
compiler/yarn.lock
+106 -136
@@ -1643,7 +1643,7 @@
1643 dependencies:
1644 "@jridgewell/trace-mapping" "0.3.9"
1645
1646 -"@eslint-community/eslint-utils@^4.2.0":
1646 +"@eslint-community/eslint-utils@^4.2.0", "@eslint-community/eslint-utils@^4.4.0":
1647 version "4.4.0"
1648 resolved "https://registry.yarnpkg.com/@eslint-community/eslint-utils/-/eslint-utils-4.4.0.tgz#a23514e8fb9af1269d5f7788aa556798d61c6b59"
1649 integrity sha512-1/sA4dwrzBAyeUoQ6oxahHKmrZvsnLCg4RfxW3ZFGGmQkSNQPFNLV9CUEFQP1x9EYXHTo5p6xdhZM1Ne9p/AfA==
@@ -1655,7 +1655,7 @@
1655 resolved "https://registry.yarnpkg.com/@eslint-community/regexpp/-/regexpp-4.5.1.tgz#cdd35dce4fa1a89a4fd42b1599eb35b3af408884"
1656 integrity sha512-Z5ba73P98O1KUYCCJTUeVpja9RcGoMdncZ6T49FCUl2lN38JtCJ+3WgIDBv0AuY4WChU5PmtJmOCTlN6FZTFKQ==
1657
1658 -"@eslint-community/regexpp@^4.6.1":
1658 +"@eslint-community/regexpp@^4.5.1", "@eslint-community/regexpp@^4.6.1":
1659 version "4.10.0"
1660 resolved "https://registry.yarnpkg.com/@eslint-community/regexpp/-/regexpp-4.10.0.tgz#548f6de556857c8bb73bbee70c35dc82a2e74d63"
1661 integrity sha512-Cu96Sd2By9mCNTx2iyKOmq10v22jUVQv0lQnlGNy16oE9589yE+QADPbrMGCkA51cKZSg3Pu/aTJVTGfL/qjUA==
@@ -2722,6 +2722,11 @@
2722 resolved "https://registry.yarnpkg.com/@tsconfig/node18-strictest/-/node18-strictest-1.0.0.tgz#d7c49f29ef95c47182995bd2bfcf8c177512a8de"
2723 integrity sha512-bOuNKwO4Fzbt+Su5wqI9zNHwx5C25gLnutwVQA1sBZk0cW8UjVPVcwzIUhJIIJDUx7zDEbAwdCD2HfvIsV8dYg==
2724
2725 +"@tsconfig/strictest@^2.0.5":
2726 + version "2.0.5"
2727 + resolved "https://registry.yarnpkg.com/@tsconfig/strictest/-/strictest-2.0.5.tgz#2cbc67f207ba87fdec2a84ad79b1708cf4edd93b"
2728 + integrity sha512-ec4tjL2Rr0pkZ5hww65c+EEPYwxOi4Ryv+0MtjeaSQRJyq322Q27eOQiFbuNgw2hpL4hB1/W/HBGk3VKS43osg==
2729 +
2730 "@types/aria-query@^4.2.0":
2731 version "4.2.2"
2732 resolved "https://registry.yarnpkg.com/@types/aria-query/-/aria-query-4.2.2.tgz#ed4e0ad92306a704f9fb132a0cfcf77486dbe2bc"
@@ -2857,16 +2862,11 @@
2862 "@types/tough-cookie" "*"
2863 parse5 "^7.0.0"
2864
2860 -"@types/json-schema@*":
2865 +"@types/json-schema@*", "@types/json-schema@^7.0.12":
2866 version "7.0.15"
2867 resolved "https://registry.yarnpkg.com/@types/json-schema/-/json-schema-7.0.15.tgz#596a1747233694d50f6ad8a7869fcb6f56cf5841"
2868 integrity sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==
2869
2865 -"@types/json-schema@^7.0.9":
2866 - version "7.0.11"
2867 - resolved "https://registry.yarnpkg.com/@types/json-schema/-/json-schema-7.0.11.tgz#d421b6c527a3037f7c84433fd2c4229e016863d3"
2868 - integrity sha512-wOuvG1SN4Us4rez+tylwwwCV1psiNVOkJeM3AUWUNWg/jDQY2+HE/444y5gc+jBmRqASOm2Oeh5c1axHobwRKQ==
2869 -
2870 "@types/json5@^0.0.29":
2871 version "0.0.29"
2872 resolved "https://registry.yarnpkg.com/@types/json5/-/json5-0.0.29.tgz#ee28707ae94e11d2b827bcbe5270bcea7f3e71ee"
@@ -2949,10 +2949,10 @@
2949 resolved "https://registry.yarnpkg.com/@types/scheduler/-/scheduler-0.16.2.tgz#1a62f89525723dde24ba1b01b092bf5df8ad4d39"
2950 integrity sha512-hppQEBDmlwhFAXKJX2KnWLYu5yMfi91yazPb2l+lbJiwW+wdo1gNeRA+3RgNSO39WYX2euey41KEwnqesU2Jew==
2951
2952 -"@types/semver@^7.3.12":
2953 - version "7.3.13"
2954 - resolved "https://registry.yarnpkg.com/@types/semver/-/semver-7.3.13.tgz#da4bfd73f49bd541d28920ab0e2bf0ee80f71c91"
2955 - integrity sha512-21cFJr9z3g5dW8B0CVI9g2O9beqaThGQ6ZFBqHfwhzLDKUxaqTIy3vnfah/UPkfOiF2pLq+tGz+W8RyCskuslw==
2952 +"@types/semver@^7.5.0":
2953 + version "7.5.8"
2954 + resolved "https://registry.yarnpkg.com/@types/semver/-/semver-7.5.8.tgz#8268a8c57a3e4abd25c165ecd36237db7948a55e"
2955 + integrity sha512-I8EUhyrgfLrcTkzV3TSsGyl1tSuPrEDzr0yd5m90UgNxQkyDXULk3b6MlQqTCpZpNtWe1K0hzclnZkTcLBe2UQ==
2956
2957 "@types/stack-utils@^2.0.0":
2958 version "2.0.1"
@@ -2983,21 +2983,22 @@
2983 dependencies:
2984 "@types/yargs-parser" "*"
2985
2986 -"@typescript-eslint/eslint-plugin@^5.51.0":
2987 - version "5.51.0"
2988 - resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.51.0.tgz#da3f2819633061ced84bb82c53bba45a6fe9963a"
2989 - integrity sha512-wcAwhEWm1RgNd7dxD/o+nnLW8oH+6RK1OGnmbmkj/GGoDPV1WWMVP0FXYQBivKHdwM1pwii3bt//RC62EriIUQ==
2986 +"@typescript-eslint/eslint-plugin@^7.4.0":
2987 + version "7.4.0"
2988 + resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-7.4.0.tgz#de61c3083842fc6ac889d2fc83c9a96b55ab8328"
2989 + integrity sha512-yHMQ/oFaM7HZdVrVm/M2WHaNPgyuJH4WelkSVEWSSsir34kxW2kDJCxlXRhhGWEsMN0WAW/vLpKfKVcm8k+MPw==
2990 dependencies:
2991 - "@typescript-eslint/scope-manager" "5.51.0"
2992 - "@typescript-eslint/type-utils" "5.51.0"
2993 - "@typescript-eslint/utils" "5.51.0"
2991 + "@eslint-community/regexpp" "^4.5.1"
2992 + "@typescript-eslint/scope-manager" "7.4.0"
2993 + "@typescript-eslint/type-utils" "7.4.0"
2994 + "@typescript-eslint/utils" "7.4.0"
2995 + "@typescript-eslint/visitor-keys" "7.4.0"
2996 debug "^4.3.4"
2995 - grapheme-splitter "^1.0.4"
2996 - ignore "^5.2.0"
2997 - natural-compare-lite "^1.4.0"
2998 - regexpp "^3.2.0"
2999 - semver "^7.3.7"
3000 - tsutils "^3.21.0"
2997 + graphemer "^1.4.0"
2998 + ignore "^5.2.4"
2999 + natural-compare "^1.4.0"
3000 + semver "^7.5.4"
3001 + ts-api-utils "^1.0.1"
3002
3003 "@typescript-eslint/parser@^5.4.2 || ^6.0.0":
3004 version "6.8.0"
@@ -3010,24 +3011,17 @@
3011 "@typescript-eslint/visitor-keys" "6.8.0"
3012 debug "^4.3.4"
3013
3013 -"@typescript-eslint/parser@^5.51.0":
3014 - version "5.51.0"
3015 - resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-5.51.0.tgz#2d74626652096d966ef107f44b9479f02f51f271"
3016 - integrity sha512-fEV0R9gGmfpDeRzJXn+fGQKcl0inIeYobmmUWijZh9zA7bxJ8clPhV9up2ZQzATxAiFAECqPQyMDB4o4B81AaA==
3014 +"@typescript-eslint/parser@^7.4.0":
3015 + version "7.4.0"
3016 + resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-7.4.0.tgz#540f4321de1e52b886c0fa68628af1459954c1f1"
3017 + integrity sha512-ZvKHxHLusweEUVwrGRXXUVzFgnWhigo4JurEj0dGF1tbcGh6buL+ejDdjxOQxv6ytcY1uhun1p2sm8iWStlgLQ==
3018 dependencies:
3018 - "@typescript-eslint/scope-manager" "5.51.0"
3019 - "@typescript-eslint/types" "5.51.0"
3020 - "@typescript-eslint/typescript-estree" "5.51.0"
3019 + "@typescript-eslint/scope-manager" "7.4.0"
3020 + "@typescript-eslint/types" "7.4.0"
3021 + "@typescript-eslint/typescript-estree" "7.4.0"
3022 + "@typescript-eslint/visitor-keys" "7.4.0"
3023 debug "^4.3.4"
3024
3023 -"@typescript-eslint/scope-manager@5.51.0":
3024 - version "5.51.0"
3025 - resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-5.51.0.tgz#ad3e3c2ecf762d9a4196c0fbfe19b142ac498990"
3026 - integrity sha512-gNpxRdlx5qw3yaHA0SFuTjW4rxeYhpHxt491PEcKF8Z6zpq0kMhe0Tolxt0qjlojS+/wArSDlj/LtE69xUJphQ==
3027 - dependencies:
3028 - "@typescript-eslint/types" "5.51.0"
3029 - "@typescript-eslint/visitor-keys" "5.51.0"
3030 -
3025 "@typescript-eslint/scope-manager@6.8.0":
3026 version "6.8.0"
3027 resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-6.8.0.tgz#5cac7977385cde068ab30686889dd59879811efd"
@@ -3036,38 +3030,33 @@
3030 "@typescript-eslint/types" "6.8.0"
3031 "@typescript-eslint/visitor-keys" "6.8.0"
3032
3039 -"@typescript-eslint/type-utils@5.51.0":
3040 - version "5.51.0"
3041 - resolved "https://registry.yarnpkg.com/@typescript-eslint/type-utils/-/type-utils-5.51.0.tgz#7af48005531700b62a20963501d47dfb27095988"
3042 - integrity sha512-QHC5KKyfV8sNSyHqfNa0UbTbJ6caB8uhcx2hYcWVvJAZYJRBo5HyyZfzMdRx8nvS+GyMg56fugMzzWnojREuQQ==
3033 +"@typescript-eslint/scope-manager@7.4.0":
3034 + version "7.4.0"
3035 + resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-7.4.0.tgz#acfc69261f10ece7bf7ece1734f1713392c3655f"
3036 + integrity sha512-68VqENG5HK27ypafqLVs8qO+RkNc7TezCduYrx8YJpXq2QGZ30vmNZGJJJC48+MVn4G2dCV8m5ZTVnzRexTVtw==
3037 dependencies:
3044 - "@typescript-eslint/typescript-estree" "5.51.0"
3045 - "@typescript-eslint/utils" "5.51.0"
3046 - debug "^4.3.4"
3047 - tsutils "^3.21.0"
3038 + "@typescript-eslint/types" "7.4.0"
3039 + "@typescript-eslint/visitor-keys" "7.4.0"
3040
3049 -"@typescript-eslint/types@5.51.0":
3050 - version "5.51.0"
3051 - resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-5.51.0.tgz#e7c1622f46c7eea7e12bbf1edfb496d4dec37c90"
3052 - integrity sha512-SqOn0ANn/v6hFn0kjvLwiDi4AzR++CBZz0NV5AnusT2/3y32jdc0G4woXPWHCumWtUXZKPAS27/9vziSsC9jnw==
3041 +"@typescript-eslint/type-utils@7.4.0":
3042 + version "7.4.0"
3043 + resolved "https://registry.yarnpkg.com/@typescript-eslint/type-utils/-/type-utils-7.4.0.tgz#cfcaab21bcca441c57da5d3a1153555e39028cbd"
3044 + integrity sha512-247ETeHgr9WTRMqHbbQdzwzhuyaJ8dPTuyuUEMANqzMRB1rj/9qFIuIXK7l0FX9i9FXbHeBQl/4uz6mYuCE7Aw==
3045 + dependencies:
3046 + "@typescript-eslint/typescript-estree" "7.4.0"
3047 + "@typescript-eslint/utils" "7.4.0"
3048 + debug "^4.3.4"
3049 + ts-api-utils "^1.0.1"
3050
3051 "@typescript-eslint/types@6.8.0":
3052 version "6.8.0"
3053 resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-6.8.0.tgz#1ab5d4fe1d613e3f65f6684026ade6b94f7e3ded"
3054 integrity sha512-p5qOxSum7W3k+llc7owEStXlGmSl8FcGvhYt8Vjy7FqEnmkCVlM3P57XQEGj58oqaBWDQXbJDZxwUWMS/EAPNQ==
3055
3059 -"@typescript-eslint/typescript-estree@5.51.0":
3060 - version "5.51.0"
3061 - resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-5.51.0.tgz#0ec8170d7247a892c2b21845b06c11eb0718f8de"
3062 - integrity sha512-TSkNupHvNRkoH9FMA3w7TazVFcBPveAAmb7Sz+kArY6sLT86PA5Vx80cKlYmd8m3Ha2SwofM1KwraF24lM9FvA==
3063 - dependencies:
3064 - "@typescript-eslint/types" "5.51.0"
3065 - "@typescript-eslint/visitor-keys" "5.51.0"
3066 - debug "^4.3.4"
3067 - globby "^11.1.0"
3068 - is-glob "^4.0.3"
3069 - semver "^7.3.7"
3070 - tsutils "^3.21.0"
3056 +"@typescript-eslint/types@7.4.0":
3057 + version "7.4.0"
3058 + resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-7.4.0.tgz#ee9dafa75c99eaee49de6dcc9348b45d354419b6"
3059 + integrity sha512-mjQopsbffzJskos5B4HmbsadSJQWaRK0UxqQ7GuNA9Ga4bEKeiO6b2DnB6cM6bpc8lemaPseh0H9B/wyg+J7rw==
3060
3061 "@typescript-eslint/typescript-estree@6.8.0":
3062 version "6.8.0"
@@ -3082,27 +3071,32 @@
3071 semver "^7.5.4"
3072 ts-api-utils "^1.0.1"
3073
3085 -"@typescript-eslint/utils@5.51.0":
3086 - version "5.51.0"
3087 - resolved "https://registry.yarnpkg.com/@typescript-eslint/utils/-/utils-5.51.0.tgz#074f4fabd5b12afe9c8aa6fdee881c050f8b4d47"
3088 - integrity sha512-76qs+5KWcaatmwtwsDJvBk4H76RJQBFe+Gext0EfJdC3Vd2kpY2Pf//OHHzHp84Ciw0/rYoGTDnIAr3uWhhJYw==
3089 - dependencies:
3090 - "@types/json-schema" "^7.0.9"
3091 - "@types/semver" "^7.3.12"
3092 - "@typescript-eslint/scope-manager" "5.51.0"
3093 - "@typescript-eslint/types" "5.51.0"
3094 - "@typescript-eslint/typescript-estree" "5.51.0"
3095 - eslint-scope "^5.1.1"
3096 - eslint-utils "^3.0.0"
3097 - semver "^7.3.7"
3098 -
3099 -"@typescript-eslint/visitor-keys@5.51.0":
3100 - version "5.51.0"
3101 - resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-5.51.0.tgz#c0147dd9a36c0de758aaebd5b48cae1ec59eba87"
3102 - integrity sha512-Oh2+eTdjHjOFjKA27sxESlA87YPSOJafGCR0md5oeMdh1ZcCfAGCIOL216uTBAkAIptvLIfKQhl7lHxMJet4GQ==
3074 +"@typescript-eslint/typescript-estree@7.4.0":
3075 + version "7.4.0"
3076 + resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-7.4.0.tgz#12dbcb4624d952f72c10a9f4431284fca24624f4"
3077 + integrity sha512-A99j5AYoME/UBQ1ucEbbMEmGkN7SE0BvZFreSnTd1luq7yulcHdyGamZKizU7canpGDWGJ+Q6ZA9SyQobipePg==
3078 dependencies:
3104 - "@typescript-eslint/types" "5.51.0"
3105 - eslint-visitor-keys "^3.3.0"
3079 + "@typescript-eslint/types" "7.4.0"
3080 + "@typescript-eslint/visitor-keys" "7.4.0"
3081 + debug "^4.3.4"
3082 + globby "^11.1.0"
3083 + is-glob "^4.0.3"
3084 + minimatch "9.0.3"
3085 + semver "^7.5.4"
3086 + ts-api-utils "^1.0.1"
3087 +
3088 +"@typescript-eslint/utils@7.4.0":
3089 + version "7.4.0"
3090 + resolved "https://registry.yarnpkg.com/@typescript-eslint/utils/-/utils-7.4.0.tgz#d889a0630cab88bddedaf7c845c64a00576257bd"
3091 + integrity sha512-NQt9QLM4Tt8qrlBVY9lkMYzfYtNz8/6qwZg8pI3cMGlPnj6mOpRxxAm7BMJN9K0AiY+1BwJ5lVC650YJqYOuNg==
3092 + dependencies:
3093 + "@eslint-community/eslint-utils" "^4.4.0"
3094 + "@types/json-schema" "^7.0.12"
3095 + "@types/semver" "^7.5.0"
3096 + "@typescript-eslint/scope-manager" "7.4.0"
3097 + "@typescript-eslint/types" "7.4.0"
3098 + "@typescript-eslint/typescript-estree" "7.4.0"
3099 + semver "^7.5.4"
3100
3101 "@typescript-eslint/visitor-keys@6.8.0":
3102 version "6.8.0"
@@ -3112,6 +3106,14 @@
3106 "@typescript-eslint/types" "6.8.0"
3107 eslint-visitor-keys "^3.4.1"
3108
3109 +"@typescript-eslint/visitor-keys@7.4.0":
3110 + version "7.4.0"
3111 + resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-7.4.0.tgz#0c8ff2c1f8a6fe8d7d1a57ebbd4a638e86a60a94"
3112 + integrity sha512-0zkC7YM0iX5Y41homUUeW1CHtZR01K3ybjM1l6QczoMuay0XKtrb93kv95AxUGwdjGr64nNqnOCwmEl616N8CA==
3113 + dependencies:
3114 + "@typescript-eslint/types" "7.4.0"
3115 + eslint-visitor-keys "^3.4.1"
3116 +
3117 "@ungap/structured-clone@^1.2.0":
3118 version "1.2.0"
3119 resolved "https://registry.yarnpkg.com/@ungap/structured-clone/-/structured-clone-1.2.0.tgz#756641adb587851b5ccb3e095daf27ae581c8406"
@@ -4641,14 +4643,6 @@ eslint-plugin-react@^7.33.2:
4643 semver "^6.3.1"
4644 string.prototype.matchall "^4.0.8"
4645
4644 -eslint-scope@^5.1.1:
4645 - version "5.1.1"
4646 - resolved "https://registry.yarnpkg.com/eslint-scope/-/eslint-scope-5.1.1.tgz#e786e59a66cb92b3f6c1fb0d508aab174848f48c"
4647 - integrity sha512-2NxwbF/hZ0KpepYN0cNbo+FN6XoK7GaHlQhgx/hIZl6Va0bF45RQOOwhLIy8lQDbuCiadSLCBnH2CFYquit5bw==
4648 - dependencies:
4649 - esrecurse "^4.3.0"
4650 - estraverse "^4.1.1"
4651 -
4646 eslint-scope@^7.1.1, eslint-scope@^7.2.2:
4647 version "7.2.2"
4648 resolved "https://registry.yarnpkg.com/eslint-scope/-/eslint-scope-7.2.2.tgz#deb4f92563390f32006894af62a22dba1c46423f"
@@ -4863,11 +4857,6 @@ esrecurse@^4.3.0:
4857 dependencies:
4858 estraverse "^5.2.0"
4859
4866 -estraverse@^4.1.1:
4867 - version "4.3.0"
4868 - resolved "https://registry.yarnpkg.com/estraverse/-/estraverse-4.3.0.tgz#398ad3f3c5a24948be7725e83d11a7de28cdbd1d"
4869 - integrity sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==
4870 -
4860 estraverse@^5.1.0, estraverse@^5.2.0, estraverse@^5.3.0:
4861 version "5.3.0"
4862 resolved "https://registry.yarnpkg.com/estraverse/-/estraverse-5.3.0.tgz#2eea5290702f26ab8fe5370370ff86c965d21123"
@@ -5563,6 +5552,11 @@ ignore@^5.2.0:
5552 resolved "https://registry.yarnpkg.com/ignore/-/ignore-5.2.0.tgz#6d3bac8fa7fe0d45d9f9be7bac2fc279577e345a"
5553 integrity sha512-CmxgYGiEPCLhfLnpPp1MoRmifwEIOgjcHXxOBjv7mY96c+eWScsOP9c112ZyLdWHi0FxHjI+4uVhKYp/gcdRmQ==
5554
5555 +ignore@^5.2.4:
5556 + version "5.3.1"
5557 + resolved "https://registry.yarnpkg.com/ignore/-/ignore-5.3.1.tgz#5073e554cd42c5b33b394375f538b8593e34d4ef"
5558 + integrity sha512-5Fytz/IraMjqpwfd34ke28PTVMjZjJG2MPn5t7OE4eUCUNf8BAa7b5WUS9/Qvr6mwOQS7Mk6vdsMno5he+T8Xw==
5559 +
5560 import-fresh@^3.0.0, import-fresh@^3.2.1:
5561 version "3.3.0"
5562 resolved "https://registry.yarnpkg.com/import-fresh/-/import-fresh-3.3.0.tgz#37162c25fcb9ebaa2e6e53d5b4d88ce17d9e0c2b"
@@ -7430,6 +7424,13 @@ mimic-fn@^4.0.0:
7424 resolved "https://registry.yarnpkg.com/mimic-fn/-/mimic-fn-4.0.0.tgz#60a90550d5cb0b239cca65d893b1a53b29871ecc"
7425 integrity sha512-vqiC06CuhBTUdZH+RYl8sFrL096vA45Ok5ISO6sE/Mr1jRbGH4Csnhi8f3wKVl7x8mO4Au7Ir9D3Oyv1VYMFJw==
7426
7427 +minimatch@9.0.3, minimatch@^9.0.1:
7428 + version "9.0.3"
7429 + resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-9.0.3.tgz#a6e00c3de44c3a542bfaae70abfc22420a6da825"
7430 + integrity sha512-RHiac9mvaRw0x3AYRgDC1CxAP7HTcNrrECeA8YYJeWnpo+2Q5CegtZjaotWTWxDG3UeGA1coE05iH1mPjT/2mg==
7431 + dependencies:
7432 + brace-expansion "^2.0.1"
7433 +
7434 minimatch@^3.0.4, minimatch@^3.0.5, minimatch@^3.1.1, minimatch@^3.1.2:
7435 version "3.1.2"
7436 resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.1.2.tgz#19cd194bfd3e428f049a70817c038d89ab4be35b"
@@ -7444,13 +7445,6 @@ minimatch@^5.0.1:
7445 dependencies:
7446 brace-expansion "^2.0.1"
7447
7447 -minimatch@^9.0.1:
7448 - version "9.0.3"
7449 - resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-9.0.3.tgz#a6e00c3de44c3a542bfaae70abfc22420a6da825"
7450 - integrity sha512-RHiac9mvaRw0x3AYRgDC1CxAP7HTcNrrECeA8YYJeWnpo+2Q5CegtZjaotWTWxDG3UeGA1coE05iH1mPjT/2mg==
7451 - dependencies:
7452 - brace-expansion "^2.0.1"
7453 -
7448 minimist@^1.2.0:
7449 version "1.2.8"
7450 resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.8.tgz#c1a464e7693302e082a075cee0c057741ac4772c"
@@ -7512,11 +7506,6 @@ nanoid@^3.3.6:
7506 resolved "https://registry.yarnpkg.com/nanoid/-/nanoid-3.3.6.tgz#443380c856d6e9f9824267d960b4236ad583ea4c"
7507 integrity sha512-BGcqMMJuToF7i1rt+2PWSNVnWIkGCU78jBG3RxO/bZlnZPK2Cmi2QaffxGO/2RvWi9sL+FAiRiXMgsyxQ1DIDA==
7508
7515 -natural-compare-lite@^1.4.0:
7516 - version "1.4.0"
7517 - resolved "https://registry.yarnpkg.com/natural-compare-lite/-/natural-compare-lite-1.4.0.tgz#17b09581988979fddafe0201e931ba933c96cbb4"
7518 - integrity sha512-Tj+HTDSJJKaZnfiuw+iaF9skdPpTo2GtEly5JHnWV/hfv2Qj/9RKsGISQtLh2ox3l5EAGw487hnBee0sIJ6v2g==
7519 -
7509 natural-compare@^1.4.0:
7510 version "1.4.0"
7511 resolved "https://registry.yarnpkg.com/natural-compare/-/natural-compare-1.4.0.tgz#4abebfeed7541f2c27acfb29bdbbd15c8d5ba4f7"
@@ -8486,13 +8475,6 @@ semver@^6.3.1:
8475 resolved "https://registry.yarnpkg.com/semver/-/semver-6.3.1.tgz#556d2ef8689146e46dcea4bfdd095f3434dffcb4"
8476 integrity sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==
8477
8489 -semver@^7.3.7:
8490 - version "7.3.8"
8491 - resolved "https://registry.yarnpkg.com/semver/-/semver-7.3.8.tgz#07a78feafb3f7b32347d725e33de7e2a2df67798"
8492 - integrity sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A==
8493 - dependencies:
8494 - lru-cache "^6.0.0"
8495 -
8478 semver@^7.5.3, semver@^7.5.4:
8479 version "7.5.4"
8480 resolved "https://registry.yarnpkg.com/semver/-/semver-7.5.4.tgz#483986ec4ed38e1c6c48c34894a9182dbff68a6e"
@@ -9069,10 +9051,10 @@ ts-jest@^29.1.1:
9051 semver "^7.5.3"
9052 yargs-parser "^21.0.1"
9053
9072 -ts-node@^10.9.1:
9073 - version "10.9.1"
9074 - resolved "https://registry.yarnpkg.com/ts-node/-/ts-node-10.9.1.tgz#e73de9102958af9e1f0b168a6ff320e25adcff4b"
9075 - integrity sha512-NtVysVPkxxrwFGUUxGYhfux8k78pQB3JqYBXlLRZgdGUqTO5wU/UyHop5p70iEbGhB7q5KmiZiU0Y3KlJrScEw==
9054 +ts-node@^10.9.2:
9055 + version "10.9.2"
9056 + resolved "https://registry.yarnpkg.com/ts-node/-/ts-node-10.9.2.tgz#70f021c9e185bccdca820e26dc413805c101c71f"
9057 + integrity sha512-f0FFpIdcHgn8zcPSbf1dRevwt047YMnaiJM3u2w2RewrB+fob/zePZcrOyQoLMMO7aBIddLcQIEK5dYjkLnGrQ==
9058 dependencies:
9059 "@cspotcode/source-map-support" "^0.8.0"
9060 "@tsconfig/node10" "^1.0.7"
@@ -9098,23 +9080,11 @@ tsconfig-paths@^3.14.2:
9080 minimist "^1.2.6"
9081 strip-bom "^3.0.0"
9082
9101 -tslib@^1.8.1:
9102 - version "1.14.1"
9103 - resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.14.1.tgz#cf2d38bdc34a134bcaf1091c41f6619e2f672d00"
9104 - integrity sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==
9105 -
9083 tslib@^2.1.0, tslib@^2.4.0, tslib@^2.5.0:
9084 version "2.5.2"
9085 resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.5.2.tgz#1b6f07185c881557b0ffa84b111a0106989e8338"
9086 integrity sha512-5svOrSA2w3iGFDs1HibEVBGbDrAY82bFQ3HZ3ixB+88nsbsWQoKqDRb5UBYAUPEzbBn6dAp5gRNXglySbx1MlA==
9087
9111 -tsutils@^3.21.0:
9112 - version "3.21.0"
9113 - resolved "https://registry.yarnpkg.com/tsutils/-/tsutils-3.21.0.tgz#b48717d394cea6c1e096983eed58e9d61715b623"
9114 - integrity sha512-mHKK3iUXL+3UF6xL5k0PEhKRUBKPBCv/+RkEOpjRWxxx27KKRBmmA60A9pgOUvMi8GKhRMPEmjBRPzs2W7O1OA==
9115 - dependencies:
9116 - tslib "^1.8.1"
9117 -
9088 type-check@^0.4.0, type-check@~0.4.0:
9089 version "0.4.0"
9090 resolved "https://registry.yarnpkg.com/type-check/-/type-check-0.4.0.tgz#07b8203bfa7056c0657050e3ccd2c37730bab8f1"
@@ -9183,10 +9153,10 @@ typed-array-length@^1.0.4:
9153 for-each "^0.3.3"
9154 is-typed-array "^1.1.9"
9155
9186 -typescript@^5.1.0:
9187 - version "5.1.3"
9188 - resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.1.3.tgz#8d84219244a6b40b6fb2b33cc1c062f715b9e826"
9189 - integrity sha512-XH627E9vkeqhlZFQuL+UsyAXEnibT0kWR2FWONlr4sTjvxyJYnyefgrkyECLzM5NenmKzRAy2rR/OlYLA1HkZw==
9156 +typescript@^5.4.3:
9157 + version "5.4.3"
9158 + resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.4.3.tgz#5c6fedd4c87bee01cd7a528a30145521f8e0feff"
9159 + integrity sha512-KrPd3PKaCLr78MalgiwJnA25Nm8HAmdwN3mYUYZgG/wizIo9EainNVQI9/yDavtVFRN2h3k8uf3GLHuhDMgEHg==
9160
9161 unbox-primitive@^1.0.2:
9162 version "1.0.2"