diff --git a/packages/x6/src/__tests__/graph/index.test.ts b/packages/x6/src/__tests__/graph/index.test.ts new file mode 100644 index 00000000000..a100a5267d7 --- /dev/null +++ b/packages/x6/src/__tests__/graph/index.test.ts @@ -0,0 +1,16 @@ +import { Graph } from '../../graph' + +describe('Graph', () => { + it('should return graph', () => { + const graph = new Graph({ + container: document.getElementById('container'), + width: 800, + height: 600, + background: { + color: '#F2F7FA', + }, + }) + + return graph + }) +}) diff --git a/packages/x6/src/graph/options.ts b/packages/x6/src/graph/options.ts index 67faa5fd3d5..d7f2c217be7 100644 --- a/packages/x6/src/graph/options.ts +++ b/packages/x6/src/graph/options.ts @@ -70,7 +70,11 @@ export namespace Options { embedding: boolean | Partial } - export interface Manual extends Partial, Partial { + type NullablePartial = { [P in keyof T]?: T[P] | undefined | null } + + export interface Manual + extends NullablePartial, + Partial { grid?: | boolean | number diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index b8e8c376eb0..1adbd3f161d 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -337,10 +337,10 @@ importers: version: 8.36.0 eslint-config-umi: specifier: ^1.4.0 - version: 1.6.0(@typescript-eslint/eslint-plugin@5.55.0(@typescript-eslint/parser@2.34.0(eslint@8.36.0)(typescript@3.7.2))(eslint@8.36.0)(typescript@3.7.2))(@typescript-eslint/parser@2.34.0(eslint@8.36.0)(typescript@3.7.2))(babel-eslint@10.0.2(eslint@8.36.0))(eslint-plugin-flowtype@8.0.3(@babel/plugin-syntax-flow@7.18.6(@babel/core@7.4.5))(@babel/plugin-transform-react-jsx@7.21.0(@babel/core@7.4.5))(eslint@8.36.0))(eslint-plugin-import@2.27.5(@typescript-eslint/parser@2.34.0(eslint@8.36.0)(typescript@3.7.2))(eslint@8.36.0))(eslint-plugin-jsx-a11y@6.7.1(eslint@8.36.0))(eslint-plugin-react-hooks@1.6.0(eslint@8.36.0))(eslint-plugin-react@7.32.2(eslint@8.36.0))(eslint@8.36.0)(typescript@3.7.2) + version: 1.6.0(@typescript-eslint/eslint-plugin@5.55.0(@typescript-eslint/parser@2.34.0(eslint@8.36.0)(typescript@3.7.2))(eslint@8.36.0)(typescript@3.7.2))(@typescript-eslint/parser@2.34.0(eslint@8.36.0)(typescript@3.7.2))(babel-eslint@10.0.2(eslint@8.36.0))(eslint-plugin-flowtype@8.0.3(@babel/plugin-syntax-flow@7.18.6(@babel/core@7.21.3))(@babel/plugin-transform-react-jsx@7.21.0(@babel/core@7.21.3))(eslint@8.36.0))(eslint-plugin-import@2.27.5(@typescript-eslint/parser@2.34.0(eslint@8.36.0)(typescript@3.7.2))(eslint@8.36.0))(eslint-plugin-jsx-a11y@6.7.1(eslint@8.36.0))(eslint-plugin-react-hooks@1.6.0(eslint@8.36.0))(eslint-plugin-react@7.32.2(eslint@8.36.0))(eslint@8.36.0)(typescript@3.7.2) eslint-plugin-flowtype: specifier: ^8.0.3 - version: 8.0.3(@babel/plugin-syntax-flow@7.18.6(@babel/core@7.4.5))(@babel/plugin-transform-react-jsx@7.21.0(@babel/core@7.4.5))(eslint@8.36.0) + version: 8.0.3(@babel/plugin-syntax-flow@7.18.6(@babel/core@7.21.3))(@babel/plugin-transform-react-jsx@7.21.0(@babel/core@7.21.3))(eslint@8.36.0) eslint-plugin-import: specifier: ^2.22.1 version: 2.27.5(@typescript-eslint/parser@2.34.0(eslint@8.36.0)(typescript@3.7.2))(eslint@8.36.0) @@ -355,10 +355,10 @@ importers: version: 16.14.0(react@18.2.0) umi: specifier: ^2.9.0 - version: 2.13.18(@typescript-eslint/eslint-plugin@5.55.0(@typescript-eslint/parser@2.34.0(eslint@8.36.0)(typescript@3.7.2))(eslint@8.36.0)(typescript@3.7.2))(@typescript-eslint/parser@2.34.0(eslint@8.36.0)(typescript@3.7.2))(encoding@0.1.13)(eslint@8.36.0)(react@18.2.0)(typescript@3.7.2)(webpack@4.41.1) + version: 2.13.18(@typescript-eslint/eslint-plugin@5.55.0(@typescript-eslint/parser@2.34.0(eslint@8.36.0)(typescript@3.7.2))(eslint@8.36.0)(typescript@3.7.2))(@typescript-eslint/parser@2.34.0(eslint@5.16.0)(typescript@3.7.2))(encoding@0.1.13)(eslint@8.36.0)(react@18.2.0)(typescript@3.7.2)(webpack@4.41.1) umi-plugin-react: specifier: ^1.8.0 - version: 1.15.9(react-dom@18.2.0(react@18.2.0))(react-router@5.1.2(react@18.2.0))(react@18.2.0)(redbox-react@1.6.0(react-dom@18.2.0(react@18.2.0))(react@18.2.0)) + version: 1.15.9(react-dom@18.2.0(react@18.2.0))(react-router@5.1.2(react@16.14.0))(react@18.2.0)(redbox-react@1.6.0(react-dom@18.2.0(react@18.2.0))(react@18.2.0)) umi-types: specifier: ^0.3.0 version: 0.3.17 @@ -29245,11 +29245,6 @@ snapshots: '@babel/core': 7.21.3 '@babel/helper-plugin-utils': 7.20.2 - '@babel/plugin-syntax-flow@7.18.6(@babel/core@7.4.5)': - dependencies: - '@babel/core': 7.4.5 - '@babel/helper-plugin-utils': 7.20.2 - '@babel/plugin-syntax-function-bind@7.18.6(@babel/core@7.4.5)': dependencies: '@babel/core': 7.4.5 @@ -32487,7 +32482,7 @@ snapshots: '@typescript-eslint/eslint-plugin@5.55.0(@typescript-eslint/parser@2.34.0(eslint@8.36.0)(typescript@3.7.2))(eslint@8.36.0)(typescript@3.7.2)': dependencies: '@eslint-community/regexpp': 4.4.0 - '@typescript-eslint/parser': 2.34.0(eslint@8.36.0)(typescript@3.7.2) + '@typescript-eslint/parser': 2.34.0(eslint@5.16.0)(typescript@3.7.2) '@typescript-eslint/scope-manager': 5.55.0 '@typescript-eslint/type-utils': 5.55.0(eslint@8.36.0)(typescript@3.7.2) '@typescript-eslint/utils': 5.55.0(eslint@8.36.0)(typescript@3.7.2) @@ -32540,17 +32535,6 @@ snapshots: - supports-color - typescript - '@typescript-eslint/experimental-utils@2.34.0(eslint@8.36.0)(typescript@3.7.2)': - dependencies: - '@types/json-schema': 7.0.11 - '@typescript-eslint/typescript-estree': 2.34.0(typescript@3.7.2) - eslint: 8.36.0 - eslint-scope: 5.1.1 - eslint-utils: 2.1.0 - transitivePeerDependencies: - - supports-color - - typescript - '@typescript-eslint/parser@1.13.0(eslint@5.16.0)': dependencies: '@types/eslint-visitor-keys': 1.0.0 @@ -32571,18 +32555,6 @@ snapshots: transitivePeerDependencies: - supports-color - '@typescript-eslint/parser@2.34.0(eslint@8.36.0)(typescript@3.7.2)': - dependencies: - '@types/eslint-visitor-keys': 1.0.0 - '@typescript-eslint/experimental-utils': 2.34.0(eslint@8.36.0)(typescript@3.7.2) - '@typescript-eslint/typescript-estree': 2.34.0(typescript@3.7.2) - eslint: 8.36.0 - eslint-visitor-keys: 1.3.0 - optionalDependencies: - typescript: 3.7.2 - transitivePeerDependencies: - - supports-color - '@typescript-eslint/parser@5.48.1(eslint@8.36.0)(typescript@4.9.5)': dependencies: '@typescript-eslint/scope-manager': 5.48.1 @@ -32886,15 +32858,15 @@ snapshots: '@typescript-eslint/eslint-plugin': 1.13.0(@typescript-eslint/parser@2.34.0(eslint@5.16.0)(typescript@3.7.2))(eslint@5.16.0)(typescript@3.7.2) '@typescript-eslint/parser': 2.34.0(eslint@5.16.0)(typescript@3.7.2) eslint: 5.16.0 - eslint-config-airbnb: 17.1.1(eslint-plugin-import@2.27.5(@typescript-eslint/parser@2.34.0(eslint@5.16.0)(typescript@3.7.2))(eslint@5.16.0))(eslint-plugin-jsx-a11y@6.7.1(eslint@5.16.0))(eslint-plugin-react@7.13.0(eslint@5.16.0))(eslint@5.16.0) - eslint-config-airbnb-base: 13.2.0(eslint-plugin-import@2.27.5(@typescript-eslint/parser@2.34.0(eslint@5.16.0)(typescript@3.7.2))(eslint@5.16.0))(eslint@5.16.0) - eslint-config-airbnb-typescript: 4.0.1(eslint-plugin-import@2.27.5(@typescript-eslint/parser@2.34.0(eslint@5.16.0)(typescript@3.7.2))(eslint@5.16.0))(eslint-plugin-jsx-a11y@6.7.1(eslint@5.16.0))(eslint-plugin-react@7.13.0(eslint@5.16.0))(eslint@5.16.0) + eslint-config-airbnb: 17.1.1(eslint-plugin-import@2.27.5(@typescript-eslint/parser@2.34.0(eslint@8.36.0)(typescript@3.7.2))(eslint@5.16.0))(eslint-plugin-jsx-a11y@6.7.1(eslint@5.16.0))(eslint-plugin-react@7.13.0(eslint@5.16.0))(eslint@5.16.0) + eslint-config-airbnb-base: 13.2.0(eslint-plugin-import@2.27.5(@typescript-eslint/parser@2.34.0(eslint@8.36.0)(typescript@3.7.2))(eslint@5.16.0))(eslint@5.16.0) + eslint-config-airbnb-typescript: 4.0.1(eslint-plugin-import@2.27.5(@typescript-eslint/parser@2.34.0(eslint@8.36.0)(typescript@3.7.2))(eslint@5.16.0))(eslint-plugin-jsx-a11y@6.7.1(eslint@5.16.0))(eslint-plugin-react@7.13.0(eslint@5.16.0))(eslint@5.16.0) eslint-config-prettier: 4.3.0(eslint@5.16.0) eslint-formatter-pretty: 2.1.1 eslint-plugin-babel: 5.3.1(eslint@5.16.0) eslint-plugin-compat: 3.13.0(eslint@5.16.0) eslint-plugin-eslint-comments: 3.2.0(eslint@5.16.0) - eslint-plugin-import: 2.27.5(@typescript-eslint/parser@2.34.0(eslint@5.16.0)(typescript@3.7.2))(eslint@5.16.0) + eslint-plugin-import: 2.27.5(@typescript-eslint/parser@2.34.0(eslint@8.36.0)(typescript@3.7.2))(eslint@5.16.0) eslint-plugin-jest: 22.21.0(eslint@5.16.0) eslint-plugin-jsx-a11y: 6.7.1(eslint@5.16.0) eslint-plugin-markdown: 1.0.2 @@ -35574,7 +35546,7 @@ snapshots: prop-types: 15.8.1 react: 18.2.0 react-redux: 7.2.9(react-dom@18.2.0(react@18.2.0))(react@18.2.0) - react-router: 5.1.2(react@18.2.0) + react-router: 5.1.2(react@16.14.0) redux: 4.2.1 seamless-immutable: 7.1.4 @@ -37130,11 +37102,11 @@ snapshots: lodash.get: 4.4.2 lodash.zip: 4.2.0 - eslint-config-airbnb-base@13.2.0(eslint-plugin-import@2.27.5(@typescript-eslint/parser@2.34.0(eslint@5.16.0)(typescript@3.7.2))(eslint@5.16.0))(eslint@5.16.0): + eslint-config-airbnb-base@13.2.0(eslint-plugin-import@2.27.5(@typescript-eslint/parser@2.34.0(eslint@8.36.0)(typescript@3.7.2))(eslint@5.16.0))(eslint@5.16.0): dependencies: confusing-browser-globals: 1.0.11 eslint: 5.16.0 - eslint-plugin-import: 2.27.5(@typescript-eslint/parser@2.34.0(eslint@5.16.0)(typescript@3.7.2))(eslint@5.16.0) + eslint-plugin-import: 2.27.5(@typescript-eslint/parser@2.34.0(eslint@8.36.0)(typescript@3.7.2))(eslint@5.16.0) object.assign: 4.1.4 object.entries: 1.1.6 @@ -37147,22 +37119,22 @@ snapshots: object.entries: 1.1.6 semver: 6.3.0 - eslint-config-airbnb-typescript@4.0.1(eslint-plugin-import@2.27.5(@typescript-eslint/parser@2.34.0(eslint@5.16.0)(typescript@3.7.2))(eslint@5.16.0))(eslint-plugin-jsx-a11y@6.7.1(eslint@5.16.0))(eslint-plugin-react@7.13.0(eslint@5.16.0))(eslint@5.16.0): + eslint-config-airbnb-typescript@4.0.1(eslint-plugin-import@2.27.5(@typescript-eslint/parser@2.34.0(eslint@8.36.0)(typescript@3.7.2))(eslint@5.16.0))(eslint-plugin-jsx-a11y@6.7.1(eslint@5.16.0))(eslint-plugin-react@7.13.0(eslint@5.16.0))(eslint@5.16.0): dependencies: '@typescript-eslint/parser': 1.13.0(eslint@5.16.0) - eslint-config-airbnb: 17.1.1(eslint-plugin-import@2.27.5(@typescript-eslint/parser@2.34.0(eslint@5.16.0)(typescript@3.7.2))(eslint@5.16.0))(eslint-plugin-jsx-a11y@6.7.1(eslint@5.16.0))(eslint-plugin-react@7.13.0(eslint@5.16.0))(eslint@5.16.0) - eslint-config-airbnb-base: 13.2.0(eslint-plugin-import@2.27.5(@typescript-eslint/parser@2.34.0(eslint@5.16.0)(typescript@3.7.2))(eslint@5.16.0))(eslint@5.16.0) + eslint-config-airbnb: 17.1.1(eslint-plugin-import@2.27.5(@typescript-eslint/parser@2.34.0(eslint@8.36.0)(typescript@3.7.2))(eslint@5.16.0))(eslint-plugin-jsx-a11y@6.7.1(eslint@5.16.0))(eslint-plugin-react@7.13.0(eslint@5.16.0))(eslint@5.16.0) + eslint-config-airbnb-base: 13.2.0(eslint-plugin-import@2.27.5(@typescript-eslint/parser@2.34.0(eslint@8.36.0)(typescript@3.7.2))(eslint@5.16.0))(eslint@5.16.0) transitivePeerDependencies: - eslint - eslint-plugin-import - eslint-plugin-jsx-a11y - eslint-plugin-react - eslint-config-airbnb@17.1.1(eslint-plugin-import@2.27.5(@typescript-eslint/parser@2.34.0(eslint@5.16.0)(typescript@3.7.2))(eslint@5.16.0))(eslint-plugin-jsx-a11y@6.7.1(eslint@5.16.0))(eslint-plugin-react@7.13.0(eslint@5.16.0))(eslint@5.16.0): + eslint-config-airbnb@17.1.1(eslint-plugin-import@2.27.5(@typescript-eslint/parser@2.34.0(eslint@8.36.0)(typescript@3.7.2))(eslint@5.16.0))(eslint-plugin-jsx-a11y@6.7.1(eslint@5.16.0))(eslint-plugin-react@7.13.0(eslint@5.16.0))(eslint@5.16.0): dependencies: eslint: 5.16.0 - eslint-config-airbnb-base: 13.2.0(eslint-plugin-import@2.27.5(@typescript-eslint/parser@2.34.0(eslint@5.16.0)(typescript@3.7.2))(eslint@5.16.0))(eslint@5.16.0) - eslint-plugin-import: 2.27.5(@typescript-eslint/parser@2.34.0(eslint@5.16.0)(typescript@3.7.2))(eslint@5.16.0) + eslint-config-airbnb-base: 13.2.0(eslint-plugin-import@2.27.5(@typescript-eslint/parser@2.34.0(eslint@8.36.0)(typescript@3.7.2))(eslint@5.16.0))(eslint@5.16.0) + eslint-plugin-import: 2.27.5(@typescript-eslint/parser@2.34.0(eslint@8.36.0)(typescript@3.7.2))(eslint@5.16.0) eslint-plugin-jsx-a11y: 6.7.1(eslint@5.16.0) eslint-plugin-react: 7.13.0(eslint@5.16.0) object.assign: 4.1.4 @@ -37180,7 +37152,7 @@ snapshots: eslint-config-react-app@5.0.2(@typescript-eslint/eslint-plugin@5.55.0(@typescript-eslint/parser@2.34.0(eslint@8.36.0)(typescript@3.7.2))(eslint@8.36.0)(typescript@3.7.2))(@typescript-eslint/parser@2.34.0(eslint@8.36.0)(typescript@3.7.2))(babel-eslint@10.0.2(eslint@5.16.0))(eslint-plugin-flowtype@2.50.3(eslint@5.16.0))(eslint-plugin-import@2.17.3(@typescript-eslint/parser@2.34.0(eslint@8.36.0)(typescript@3.7.2))(eslint@5.16.0))(eslint-plugin-jsx-a11y@6.2.1(eslint@5.16.0))(eslint-plugin-react-hooks@1.6.0(eslint@5.16.0))(eslint-plugin-react@7.13.0(eslint@5.16.0))(eslint@5.16.0)(typescript@3.7.2): dependencies: '@typescript-eslint/eslint-plugin': 5.55.0(@typescript-eslint/parser@2.34.0(eslint@8.36.0)(typescript@3.7.2))(eslint@8.36.0)(typescript@3.7.2) - '@typescript-eslint/parser': 2.34.0(eslint@8.36.0)(typescript@3.7.2) + '@typescript-eslint/parser': 2.34.0(eslint@5.16.0)(typescript@3.7.2) babel-eslint: 10.0.2(eslint@5.16.0) confusing-browser-globals: 1.0.11 eslint: 5.16.0 @@ -37192,18 +37164,18 @@ snapshots: optionalDependencies: typescript: 3.7.2 - eslint-config-react-app@5.0.2(@typescript-eslint/eslint-plugin@5.55.0(@typescript-eslint/parser@2.34.0(eslint@8.36.0)(typescript@3.7.2))(eslint@8.36.0)(typescript@3.7.2))(@typescript-eslint/parser@2.34.0(eslint@8.36.0)(typescript@3.7.2))(babel-eslint@10.0.2(eslint@8.36.0))(eslint-plugin-flowtype@8.0.3(@babel/plugin-syntax-flow@7.18.6(@babel/core@7.4.5))(@babel/plugin-transform-react-jsx@7.21.0(@babel/core@7.4.5))(eslint@8.36.0))(eslint-plugin-import@2.27.5(@typescript-eslint/parser@2.34.0(eslint@8.36.0)(typescript@3.7.2))(eslint@8.36.0))(eslint-plugin-jsx-a11y@6.7.1(eslint@8.36.0))(eslint-plugin-react-hooks@1.6.0(eslint@8.36.0))(eslint-plugin-react@7.32.2(eslint@8.36.0))(eslint@8.36.0)(typescript@3.7.2): + eslint-config-react-app@5.0.2(@typescript-eslint/eslint-plugin@5.55.0(@typescript-eslint/parser@2.34.0(eslint@8.36.0)(typescript@3.7.2))(eslint@8.36.0)(typescript@3.7.2))(@typescript-eslint/parser@2.34.0(eslint@8.36.0)(typescript@3.7.2))(babel-eslint@10.0.2(eslint@8.36.0))(eslint-plugin-flowtype@8.0.3(@babel/plugin-syntax-flow@7.18.6(@babel/core@7.21.3))(@babel/plugin-transform-react-jsx@7.21.0(@babel/core@7.21.3))(eslint@8.36.0))(eslint-plugin-import@2.27.5(@typescript-eslint/parser@2.34.0(eslint@8.36.0)(typescript@3.7.2))(eslint@8.36.0))(eslint-plugin-jsx-a11y@6.7.1(eslint@8.36.0))(eslint-plugin-react-hooks@1.6.0(eslint@8.36.0))(eslint-plugin-react@7.32.2(eslint@8.36.0))(eslint@8.36.0)(typescript@3.7.2): dependencies: '@typescript-eslint/eslint-plugin': 5.55.0(@typescript-eslint/parser@2.34.0(eslint@8.36.0)(typescript@3.7.2))(eslint@8.36.0)(typescript@3.7.2) - '@typescript-eslint/parser': 2.34.0(eslint@8.36.0)(typescript@3.7.2) + '@typescript-eslint/parser': 2.34.0(eslint@5.16.0)(typescript@3.7.2) babel-eslint: 10.0.2(eslint@8.36.0) confusing-browser-globals: 1.0.11 eslint: 8.36.0 - eslint-plugin-flowtype: 8.0.3(@babel/plugin-syntax-flow@7.18.6(@babel/core@7.4.5))(@babel/plugin-transform-react-jsx@7.21.0(@babel/core@7.4.5))(eslint@8.36.0) + eslint-plugin-flowtype: 8.0.3(@babel/plugin-syntax-flow@7.18.6(@babel/core@7.21.3))(@babel/plugin-transform-react-jsx@7.21.0(@babel/core@7.21.3))(eslint@8.36.0) eslint-plugin-import: 2.27.5(@typescript-eslint/parser@2.34.0(eslint@8.36.0)(typescript@3.7.2))(eslint@8.36.0) eslint-plugin-jsx-a11y: 6.7.1(eslint@8.36.0) eslint-plugin-react: 7.32.2(eslint@8.36.0) - eslint-plugin-react-hooks: 1.6.0(eslint@8.36.0) + eslint-plugin-react-hooks: 1.6.0(eslint@5.16.0) optionalDependencies: typescript: 3.7.2 @@ -37222,14 +37194,14 @@ snapshots: - eslint - typescript - eslint-config-umi@1.6.0(@typescript-eslint/eslint-plugin@5.55.0(@typescript-eslint/parser@2.34.0(eslint@8.36.0)(typescript@3.7.2))(eslint@8.36.0)(typescript@3.7.2))(@typescript-eslint/parser@2.34.0(eslint@8.36.0)(typescript@3.7.2))(babel-eslint@10.0.2(eslint@8.36.0))(eslint-plugin-flowtype@8.0.3(@babel/plugin-syntax-flow@7.18.6(@babel/core@7.4.5))(@babel/plugin-transform-react-jsx@7.21.0(@babel/core@7.4.5))(eslint@8.36.0))(eslint-plugin-import@2.27.5(@typescript-eslint/parser@2.34.0(eslint@8.36.0)(typescript@3.7.2))(eslint@8.36.0))(eslint-plugin-jsx-a11y@6.7.1(eslint@8.36.0))(eslint-plugin-react-hooks@1.6.0(eslint@8.36.0))(eslint-plugin-react@7.32.2(eslint@8.36.0))(eslint@8.36.0)(typescript@3.7.2): + eslint-config-umi@1.6.0(@typescript-eslint/eslint-plugin@5.55.0(@typescript-eslint/parser@2.34.0(eslint@8.36.0)(typescript@3.7.2))(eslint@8.36.0)(typescript@3.7.2))(@typescript-eslint/parser@2.34.0(eslint@8.36.0)(typescript@3.7.2))(babel-eslint@10.0.2(eslint@8.36.0))(eslint-plugin-flowtype@8.0.3(@babel/plugin-syntax-flow@7.18.6(@babel/core@7.21.3))(@babel/plugin-transform-react-jsx@7.21.0(@babel/core@7.21.3))(eslint@8.36.0))(eslint-plugin-import@2.27.5(@typescript-eslint/parser@2.34.0(eslint@8.36.0)(typescript@3.7.2))(eslint@8.36.0))(eslint-plugin-jsx-a11y@6.7.1(eslint@8.36.0))(eslint-plugin-react-hooks@1.6.0(eslint@8.36.0))(eslint-plugin-react@7.32.2(eslint@8.36.0))(eslint@8.36.0)(typescript@3.7.2): dependencies: - eslint-config-react-app: 5.0.2(@typescript-eslint/eslint-plugin@5.55.0(@typescript-eslint/parser@2.34.0(eslint@8.36.0)(typescript@3.7.2))(eslint@8.36.0)(typescript@3.7.2))(@typescript-eslint/parser@2.34.0(eslint@8.36.0)(typescript@3.7.2))(babel-eslint@10.0.2(eslint@8.36.0))(eslint-plugin-flowtype@8.0.3(@babel/plugin-syntax-flow@7.18.6(@babel/core@7.4.5))(@babel/plugin-transform-react-jsx@7.21.0(@babel/core@7.4.5))(eslint@8.36.0))(eslint-plugin-import@2.27.5(@typescript-eslint/parser@2.34.0(eslint@8.36.0)(typescript@3.7.2))(eslint@8.36.0))(eslint-plugin-jsx-a11y@6.7.1(eslint@8.36.0))(eslint-plugin-react-hooks@1.6.0(eslint@8.36.0))(eslint-plugin-react@7.32.2(eslint@8.36.0))(eslint@8.36.0)(typescript@3.7.2) - eslint-plugin-flowtype: 8.0.3(@babel/plugin-syntax-flow@7.18.6(@babel/core@7.4.5))(@babel/plugin-transform-react-jsx@7.21.0(@babel/core@7.4.5))(eslint@8.36.0) + eslint-config-react-app: 5.0.2(@typescript-eslint/eslint-plugin@5.55.0(@typescript-eslint/parser@2.34.0(eslint@8.36.0)(typescript@3.7.2))(eslint@8.36.0)(typescript@3.7.2))(@typescript-eslint/parser@2.34.0(eslint@8.36.0)(typescript@3.7.2))(babel-eslint@10.0.2(eslint@8.36.0))(eslint-plugin-flowtype@8.0.3(@babel/plugin-syntax-flow@7.18.6(@babel/core@7.21.3))(@babel/plugin-transform-react-jsx@7.21.0(@babel/core@7.21.3))(eslint@8.36.0))(eslint-plugin-import@2.27.5(@typescript-eslint/parser@2.34.0(eslint@8.36.0)(typescript@3.7.2))(eslint@8.36.0))(eslint-plugin-jsx-a11y@6.7.1(eslint@8.36.0))(eslint-plugin-react-hooks@1.6.0(eslint@8.36.0))(eslint-plugin-react@7.32.2(eslint@8.36.0))(eslint@8.36.0)(typescript@3.7.2) + eslint-plugin-flowtype: 8.0.3(@babel/plugin-syntax-flow@7.18.6(@babel/core@7.21.3))(@babel/plugin-transform-react-jsx@7.21.0(@babel/core@7.21.3))(eslint@8.36.0) eslint-plugin-import: 2.27.5(@typescript-eslint/parser@2.34.0(eslint@8.36.0)(typescript@3.7.2))(eslint@8.36.0) eslint-plugin-jsx-a11y: 6.7.1(eslint@8.36.0) eslint-plugin-react: 7.32.2(eslint@8.36.0) - eslint-plugin-react-hooks: 1.6.0(eslint@8.36.0) + eslint-plugin-react-hooks: 1.6.0(eslint@5.16.0) transitivePeerDependencies: - '@typescript-eslint/eslint-plugin' - '@typescript-eslint/parser' @@ -37265,21 +37237,11 @@ snapshots: rimraf: 2.6.3 webpack: 4.41.1 - eslint-module-utils@2.7.4(@typescript-eslint/parser@2.34.0(eslint@5.16.0)(typescript@3.7.2))(eslint-import-resolver-node@0.3.7)(eslint@5.16.0): - dependencies: - debug: 3.2.7(supports-color@6.1.0) - optionalDependencies: - '@typescript-eslint/parser': 2.34.0(eslint@5.16.0)(typescript@3.7.2) - eslint: 5.16.0 - eslint-import-resolver-node: 0.3.7 - transitivePeerDependencies: - - supports-color - eslint-module-utils@2.7.4(@typescript-eslint/parser@2.34.0(eslint@8.36.0)(typescript@3.7.2))(eslint-import-resolver-node@0.3.7)(eslint@5.16.0): dependencies: debug: 3.2.7(supports-color@6.1.0) optionalDependencies: - '@typescript-eslint/parser': 2.34.0(eslint@8.36.0)(typescript@3.7.2) + '@typescript-eslint/parser': 2.34.0(eslint@5.16.0)(typescript@3.7.2) eslint: 5.16.0 eslint-import-resolver-node: 0.3.7 transitivePeerDependencies: @@ -37289,7 +37251,7 @@ snapshots: dependencies: debug: 3.2.7(supports-color@6.1.0) optionalDependencies: - '@typescript-eslint/parser': 2.34.0(eslint@8.36.0)(typescript@3.7.2) + '@typescript-eslint/parser': 2.34.0(eslint@5.16.0)(typescript@3.7.2) eslint: 8.36.0 eslint-import-resolver-node: 0.3.7 transitivePeerDependencies: @@ -37347,14 +37309,6 @@ snapshots: lodash: 4.17.21 string-natural-compare: 3.0.1 - eslint-plugin-flowtype@8.0.3(@babel/plugin-syntax-flow@7.18.6(@babel/core@7.4.5))(@babel/plugin-transform-react-jsx@7.21.0(@babel/core@7.4.5))(eslint@8.36.0): - dependencies: - '@babel/plugin-syntax-flow': 7.18.6(@babel/core@7.4.5) - '@babel/plugin-transform-react-jsx': 7.21.0(@babel/core@7.4.5) - eslint: 8.36.0 - lodash: 4.17.21 - string-natural-compare: 3.0.1 - eslint-plugin-import@2.17.3(@typescript-eslint/parser@2.34.0(eslint@8.36.0)(typescript@3.7.2))(eslint@5.16.0): dependencies: array-includes: 3.1.6 @@ -37370,13 +37324,13 @@ snapshots: read-pkg-up: 2.0.0 resolve: 1.22.1 optionalDependencies: - '@typescript-eslint/parser': 2.34.0(eslint@8.36.0)(typescript@3.7.2) + '@typescript-eslint/parser': 2.34.0(eslint@5.16.0)(typescript@3.7.2) transitivePeerDependencies: - eslint-import-resolver-typescript - eslint-import-resolver-webpack - supports-color - eslint-plugin-import@2.27.5(@typescript-eslint/parser@2.34.0(eslint@5.16.0)(typescript@3.7.2))(eslint@5.16.0): + eslint-plugin-import@2.27.5(@typescript-eslint/parser@2.34.0(eslint@8.36.0)(typescript@3.7.2))(eslint@5.16.0): dependencies: array-includes: 3.1.6 array.prototype.flat: 1.3.1 @@ -37385,7 +37339,7 @@ snapshots: doctrine: 2.1.0 eslint: 5.16.0 eslint-import-resolver-node: 0.3.7 - eslint-module-utils: 2.7.4(@typescript-eslint/parser@2.34.0(eslint@5.16.0)(typescript@3.7.2))(eslint-import-resolver-node@0.3.7)(eslint@5.16.0) + eslint-module-utils: 2.7.4(@typescript-eslint/parser@2.34.0(eslint@8.36.0)(typescript@3.7.2))(eslint-import-resolver-node@0.3.7)(eslint@5.16.0) has: 1.0.3 is-core-module: 2.11.0 is-glob: 4.0.3 @@ -37420,7 +37374,7 @@ snapshots: semver: 6.3.0 tsconfig-paths: 3.14.2 optionalDependencies: - '@typescript-eslint/parser': 2.34.0(eslint@8.36.0)(typescript@3.7.2) + '@typescript-eslint/parser': 2.34.0(eslint@5.16.0)(typescript@3.7.2) transitivePeerDependencies: - eslint-import-resolver-typescript - eslint-import-resolver-webpack @@ -37554,10 +37508,6 @@ snapshots: dependencies: eslint: 5.16.0 - eslint-plugin-react-hooks@1.6.0(eslint@8.36.0): - dependencies: - eslint: 8.36.0 - eslint-plugin-react-hooks@4.6.0(eslint@8.36.0): dependencies: eslint: 8.36.0 @@ -42271,13 +42221,6 @@ snapshots: react: 16.14.0 tiny-warning: 1.0.3 - mini-create-react-context@0.3.3(prop-types@15.8.1)(react@18.2.0): - dependencies: - '@babel/runtime': 7.22.6 - prop-types: 15.8.1 - react: 18.2.0 - tiny-warning: 1.0.3 - mini-css-extract-plugin@0.7.0(webpack@4.41.1): dependencies: loader-utils: 1.2.3 @@ -43661,7 +43604,7 @@ snapshots: dependencies: htmlparser2: 3.10.1 postcss: 7.0.39 - postcss-syntax: 0.36.2(postcss-html@0.36.0(postcss-syntax@0.36.2(postcss-less@6.0.0(postcss@8.4.31))(postcss@8.4.31))(postcss@7.0.39))(postcss-jsx@0.36.4(postcss-syntax@0.36.2(postcss-less@6.0.0(postcss@8.4.31))(postcss@8.4.31))(postcss@7.0.39))(postcss-less@3.1.4)(postcss-markdown@0.36.0(postcss-syntax@0.36.2(postcss-less@6.0.0(postcss@8.4.31))(postcss@8.4.31))(postcss@7.0.39))(postcss-scss@2.1.1)(postcss@7.0.39) + postcss-syntax: 0.36.2(postcss-html@0.36.0(postcss-syntax@0.36.2(postcss-less@6.0.0(postcss@8.4.31))(postcss@8.4.31))(postcss@7.0.39))(postcss-jsx@0.36.4)(postcss-less@3.1.4)(postcss-markdown@0.36.0)(postcss-scss@2.1.1)(postcss@7.0.39) postcss-html@0.36.0(postcss-syntax@0.36.2)(postcss@7.0.39): dependencies: @@ -43682,7 +43625,7 @@ snapshots: dependencies: '@babel/core': 7.21.3 postcss: 7.0.39 - postcss-syntax: 0.36.2(postcss-html@0.36.0(postcss-syntax@0.36.2(postcss-less@6.0.0(postcss@8.4.31))(postcss@8.4.31))(postcss@7.0.39))(postcss-jsx@0.36.4(postcss-syntax@0.36.2(postcss-less@6.0.0(postcss@8.4.31))(postcss@8.4.31))(postcss@7.0.39))(postcss-less@3.1.4)(postcss-markdown@0.36.0(postcss-syntax@0.36.2(postcss-less@6.0.0(postcss@8.4.31))(postcss@8.4.31))(postcss@7.0.39))(postcss-scss@2.1.1)(postcss@7.0.39) + postcss-syntax: 0.36.2(postcss-html@0.36.0(postcss-syntax@0.36.2(postcss-less@6.0.0(postcss@8.4.31))(postcss@8.4.31))(postcss@7.0.39))(postcss-jsx@0.36.4)(postcss-less@3.1.4)(postcss-markdown@0.36.0)(postcss-scss@2.1.1)(postcss@7.0.39) transitivePeerDependencies: - supports-color @@ -43735,7 +43678,7 @@ snapshots: postcss-markdown@0.36.0(postcss-syntax@0.36.2(postcss-less@6.0.0(postcss@8.4.31))(postcss@8.4.31))(postcss@7.0.39): dependencies: postcss: 7.0.39 - postcss-syntax: 0.36.2(postcss-html@0.36.0(postcss-syntax@0.36.2(postcss-less@6.0.0(postcss@8.4.31))(postcss@8.4.31))(postcss@7.0.39))(postcss-jsx@0.36.4(postcss-syntax@0.36.2(postcss-less@6.0.0(postcss@8.4.31))(postcss@8.4.31))(postcss@7.0.39))(postcss-less@3.1.4)(postcss-markdown@0.36.0(postcss-syntax@0.36.2(postcss-less@6.0.0(postcss@8.4.31))(postcss@8.4.31))(postcss@7.0.39))(postcss-scss@2.1.1)(postcss@7.0.39) + postcss-syntax: 0.36.2(postcss-html@0.36.0(postcss-syntax@0.36.2(postcss-less@6.0.0(postcss@8.4.31))(postcss@8.4.31))(postcss@7.0.39))(postcss-jsx@0.36.4)(postcss-less@3.1.4)(postcss-markdown@0.36.0)(postcss-scss@2.1.1)(postcss@7.0.39) remark: 10.0.1 unist-util-find-all-after: 1.0.5 @@ -44227,7 +44170,7 @@ snapshots: postcss-value-parser: 4.2.0 svgo: 2.8.0 - postcss-syntax@0.36.2(postcss-html@0.36.0(postcss-syntax@0.36.2(postcss-less@6.0.0(postcss@8.4.31))(postcss@8.4.31))(postcss@7.0.39))(postcss-jsx@0.36.4(postcss-syntax@0.36.2(postcss-less@6.0.0(postcss@8.4.31))(postcss@8.4.31))(postcss@7.0.39))(postcss-less@3.1.4)(postcss-markdown@0.36.0(postcss-syntax@0.36.2(postcss-less@6.0.0(postcss@8.4.31))(postcss@8.4.31))(postcss@7.0.39))(postcss-scss@2.1.1)(postcss@7.0.39): + postcss-syntax@0.36.2(postcss-html@0.36.0(postcss-syntax@0.36.2(postcss-less@6.0.0(postcss@8.4.31))(postcss@8.4.31))(postcss@7.0.39))(postcss-jsx@0.36.4)(postcss-less@3.1.4)(postcss-markdown@0.36.0)(postcss-scss@2.1.1)(postcss@7.0.39): dependencies: postcss: 7.0.39 optionalDependencies: @@ -46825,20 +46768,6 @@ snapshots: tiny-invariant: 1.3.1 tiny-warning: 1.0.3 - react-router@5.1.2(react@18.2.0): - dependencies: - '@babel/runtime': 7.22.6 - history: 4.10.1 - hoist-non-react-statics: 3.3.2 - loose-envify: 1.4.0 - mini-create-react-context: 0.3.3(prop-types@15.8.1)(react@18.2.0) - path-to-regexp: 1.7.0 - prop-types: 15.8.1 - react: 18.2.0 - react-is: 16.13.1 - tiny-invariant: 1.3.1 - tiny-warning: 1.0.3 - react-router@5.3.4(react@18.2.0): dependencies: '@babel/runtime': 7.22.6 @@ -49015,7 +48944,7 @@ snapshots: postcss-sass: 0.3.5 postcss-scss: 2.1.1 postcss-selector-parser: 3.1.2 - postcss-syntax: 0.36.2(postcss-html@0.36.0(postcss-syntax@0.36.2(postcss-less@6.0.0(postcss@8.4.31))(postcss@8.4.31))(postcss@7.0.39))(postcss-jsx@0.36.4(postcss-syntax@0.36.2(postcss-less@6.0.0(postcss@8.4.31))(postcss@8.4.31))(postcss@7.0.39))(postcss-less@3.1.4)(postcss-markdown@0.36.0(postcss-syntax@0.36.2(postcss-less@6.0.0(postcss@8.4.31))(postcss@8.4.31))(postcss@7.0.39))(postcss-scss@2.1.1)(postcss@7.0.39) + postcss-syntax: 0.36.2(postcss-html@0.36.0(postcss-syntax@0.36.2(postcss-less@6.0.0(postcss@8.4.31))(postcss@8.4.31))(postcss@7.0.39))(postcss-jsx@0.36.4)(postcss-less@3.1.4)(postcss-markdown@0.36.0)(postcss-scss@2.1.1)(postcss@7.0.39) postcss-value-parser: 3.3.1 resolve-from: 4.0.0 signal-exit: 3.0.7 @@ -49676,7 +49605,7 @@ snapshots: webpack-sources: 1.4.3 worker-farm: 1.7.0 - umi-build-dev@1.18.9(@babel/core@7.4.5)(@typescript-eslint/eslint-plugin@5.55.0(@typescript-eslint/parser@2.34.0(eslint@8.36.0)(typescript@3.7.2))(eslint@8.36.0)(typescript@3.7.2))(@typescript-eslint/parser@2.34.0(eslint@8.36.0)(typescript@3.7.2))(encoding@0.1.13)(typescript@3.7.2): + umi-build-dev@1.18.9(@babel/core@7.4.5)(@typescript-eslint/eslint-plugin@5.55.0(@typescript-eslint/parser@2.34.0(eslint@8.36.0)(typescript@3.7.2))(eslint@8.36.0)(typescript@3.7.2))(@typescript-eslint/parser@2.34.0(eslint@5.16.0)(typescript@3.7.2))(encoding@0.1.13)(typescript@3.7.2): dependencies: '@babel/code-frame': 7.0.0 '@babel/generator': 7.4.4 @@ -49823,7 +49752,7 @@ snapshots: transitivePeerDependencies: - supports-color - umi-plugin-dva@1.11.4(react-dom@18.2.0(react@18.2.0))(react-router@5.1.2(react@18.2.0))(react@18.2.0)(redbox-react@1.6.0(react-dom@18.2.0(react@18.2.0))(react@18.2.0)): + umi-plugin-dva@1.11.4(react-dom@18.2.0(react@18.2.0))(react-router@5.1.2(react@16.14.0))(react@18.2.0)(redbox-react@1.6.0(react-dom@18.2.0(react@18.2.0))(react@18.2.0)): dependencies: babel-plugin-dva-hmr: 0.4.2(redbox-react@1.6.0(react-dom@18.2.0(react@18.2.0))(react@18.2.0)) dva: 2.6.0-beta.22(react-dom@18.2.0(react@18.2.0))(react-router@5.1.2(react@18.2.0))(react@18.2.0) @@ -49870,7 +49799,7 @@ snapshots: umi-utils: 1.4.2 url-polyfill: 1.1.3 - umi-plugin-react@1.15.9(react-dom@18.2.0(react@18.2.0))(react-router@5.1.2(react@18.2.0))(react@18.2.0)(redbox-react@1.6.0(react-dom@18.2.0(react@18.2.0))(react@18.2.0)): + umi-plugin-react@1.15.9(react-dom@18.2.0(react@18.2.0))(react-router@5.1.2(react@16.14.0))(react@18.2.0)(redbox-react@1.6.0(react-dom@18.2.0(react@18.2.0))(react@18.2.0)): dependencies: antd: 3.26.20(react-dom@18.2.0(react@18.2.0))(react@18.2.0) antd-mobile: 2.3.4(react-dom@18.2.0(react@18.2.0))(react@18.2.0) @@ -49882,7 +49811,7 @@ snapshots: preact-compat: 3.19.0(preact@8.4.2) register-service-worker: 1.6.2 umi-plugin-dll: 1.6.1 - umi-plugin-dva: 1.11.4(react-dom@18.2.0(react@18.2.0))(react-router@5.1.2(react@18.2.0))(react@18.2.0)(redbox-react@1.6.0(react-dom@18.2.0(react@18.2.0))(react@18.2.0)) + umi-plugin-dva: 1.11.4(react-dom@18.2.0(react@18.2.0))(react-router@5.1.2(react@16.14.0))(react@18.2.0)(redbox-react@1.6.0(react-dom@18.2.0(react@18.2.0))(react@18.2.0)) umi-plugin-hd: 1.7.0 umi-plugin-locale: 2.11.7(react@18.2.0) umi-plugin-polyfills: 1.4.2 @@ -49991,7 +49920,7 @@ snapshots: dependencies: less-vars-to-js: 1.3.0 - umi-ui@1.5.11(@babel/core@7.4.5)(@typescript-eslint/eslint-plugin@5.55.0(@typescript-eslint/parser@2.34.0(eslint@8.36.0)(typescript@3.7.2))(eslint@8.36.0)(typescript@3.7.2))(@typescript-eslint/parser@2.34.0(eslint@8.36.0)(typescript@3.7.2))(encoding@0.1.13)(eslint@8.36.0)(typescript@3.7.2)(webpack@4.41.1): + umi-ui@1.5.11(@babel/core@7.4.5)(@typescript-eslint/eslint-plugin@5.55.0(@typescript-eslint/parser@2.34.0(eslint@8.36.0)(typescript@3.7.2))(eslint@8.36.0)(typescript@3.7.2))(@typescript-eslint/parser@2.34.0(eslint@5.16.0)(typescript@3.7.2))(encoding@0.1.13)(eslint@8.36.0)(typescript@3.7.2)(webpack@4.41.1): dependencies: '@umijs/launch-editor': 1.0.1 binary-mirror-config: 1.20.3 @@ -50015,7 +49944,7 @@ snapshots: rimraf: 3.0.0 semver: 6.3.0 sockjs: 0.3.19 - umi-build-dev: 1.18.9(@babel/core@7.4.5)(@typescript-eslint/eslint-plugin@5.55.0(@typescript-eslint/parser@2.34.0(eslint@8.36.0)(typescript@3.7.2))(eslint@8.36.0)(typescript@3.7.2))(@typescript-eslint/parser@2.34.0(eslint@8.36.0)(typescript@3.7.2))(encoding@0.1.13)(typescript@3.7.2) + umi-build-dev: 1.18.9(@babel/core@7.4.5)(@typescript-eslint/eslint-plugin@5.55.0(@typescript-eslint/parser@2.34.0(eslint@8.36.0)(typescript@3.7.2))(eslint@8.36.0)(typescript@3.7.2))(@typescript-eslint/parser@2.34.0(eslint@5.16.0)(typescript@3.7.2))(encoding@0.1.13)(typescript@3.7.2) umi-ui-theme: 1.2.4 user-home: 2.0.0 transitivePeerDependencies: @@ -50098,7 +50027,7 @@ snapshots: - bufferutil - utf-8-validate - umi@2.13.18(@typescript-eslint/eslint-plugin@5.55.0(@typescript-eslint/parser@2.34.0(eslint@8.36.0)(typescript@3.7.2))(eslint@8.36.0)(typescript@3.7.2))(@typescript-eslint/parser@2.34.0(eslint@8.36.0)(typescript@3.7.2))(encoding@0.1.13)(eslint@8.36.0)(react@18.2.0)(typescript@3.7.2)(webpack@4.41.1): + umi@2.13.18(@typescript-eslint/eslint-plugin@5.55.0(@typescript-eslint/parser@2.34.0(eslint@8.36.0)(typescript@3.7.2))(eslint@8.36.0)(typescript@3.7.2))(@typescript-eslint/parser@2.34.0(eslint@5.16.0)(typescript@3.7.2))(encoding@0.1.13)(eslint@8.36.0)(react@18.2.0)(typescript@3.7.2)(webpack@4.41.1): dependencies: '@babel/core': 7.4.5 '@babel/runtime': 7.4.5 @@ -50113,9 +50042,9 @@ snapshots: resolve-cwd: 3.0.0 semver: 6.1.1 signale: 1.4.0 - umi-build-dev: 1.18.9(@babel/core@7.4.5)(@typescript-eslint/eslint-plugin@5.55.0(@typescript-eslint/parser@2.34.0(eslint@8.36.0)(typescript@3.7.2))(eslint@8.36.0)(typescript@3.7.2))(@typescript-eslint/parser@2.34.0(eslint@8.36.0)(typescript@3.7.2))(encoding@0.1.13)(typescript@3.7.2) + umi-build-dev: 1.18.9(@babel/core@7.4.5)(@typescript-eslint/eslint-plugin@5.55.0(@typescript-eslint/parser@2.34.0(eslint@8.36.0)(typescript@3.7.2))(eslint@8.36.0)(typescript@3.7.2))(@typescript-eslint/parser@2.34.0(eslint@5.16.0)(typescript@3.7.2))(encoding@0.1.13)(typescript@3.7.2) umi-core: 1.9.10(@babel/core@7.4.5) - umi-ui: 1.5.11(@babel/core@7.4.5)(@typescript-eslint/eslint-plugin@5.55.0(@typescript-eslint/parser@2.34.0(eslint@8.36.0)(typescript@3.7.2))(eslint@8.36.0)(typescript@3.7.2))(@typescript-eslint/parser@2.34.0(eslint@8.36.0)(typescript@3.7.2))(encoding@0.1.13)(eslint@8.36.0)(typescript@3.7.2)(webpack@4.41.1) + umi-ui: 1.5.11(@babel/core@7.4.5)(@typescript-eslint/eslint-plugin@5.55.0(@typescript-eslint/parser@2.34.0(eslint@8.36.0)(typescript@3.7.2))(eslint@8.36.0)(typescript@3.7.2))(@typescript-eslint/parser@2.34.0(eslint@5.16.0)(typescript@3.7.2))(encoding@0.1.13)(eslint@8.36.0)(typescript@3.7.2)(webpack@4.41.1) umi-utils: 1.7.3 update-notifier: 3.0.0 yargs-parser: 13.1.1