diff --git a/package.json b/package.json index 486b66c..c00e59e 100644 --- a/package.json +++ b/package.json @@ -93,7 +93,7 @@ "textlint": "^12.1.1", "ts-jest": "^27.1.3", "ts-node": "^10.5.0", - "typescript": "^4.5.5" + "typescript": "^5.0.0" }, "engines": { "node": ">=16" diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index d498426..4ecdf67 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -54,10 +54,10 @@ importers: textlint: ^12.1.1 ts-jest: ^27.1.3 ts-node: ^10.5.0 - typescript: ^4.5.5 + typescript: ^5.0.0 dependencies: '@anolilab/babel-preset': 5.0.1_@babel+core@7.17.5 - '@anolilab/eslint-config': 3.0.1_d90b8612583f40c143549c092075193f + '@anolilab/eslint-config': 3.0.1_20dac4741d4da373fd965830296a8ffd '@anolilab/prettier-config': 3.0.0_prettier@2.5.1 '@anolilab/semantic-release-preset': 2.0.1_semantic-release@19.0.2 '@anolilab/textlint-config': 4.0.0_textlint@12.1.1 @@ -77,15 +77,15 @@ importers: '@types/jest': 27.4.1 '@types/jest-axe': 3.5.3 '@types/node': 17.0.21 - '@typescript-eslint/eslint-plugin': 5.13.0_3a0304e4216f58c7e1135459c8d18e32 - '@typescript-eslint/parser': 5.13.0_eslint@7.32.0+typescript@4.6.2 + '@typescript-eslint/eslint-plugin': 5.13.0_ac78ac05047aa6524f118c5c0baeeb08 + '@typescript-eslint/parser': 5.13.0_eslint@7.32.0+typescript@5.0.2 babel-loader: 8.2.3_@babel+core@7.17.5 browserslist-config-anolilab: 3.0.1 commitizen: 4.2.4 cross-env: 7.0.3 diffable-html: 5.0.0 eslint: 7.32.0 - eslint-plugin-jest: 26.1.1_1e5bd67ba845b6c99495a9a6936b3692 + eslint-plugin-jest: 26.1.1_aec2faf4a766c64db477718587cf03b7 eslint-plugin-node: 11.1.0_eslint@7.32.0 husky: 7.0.4 is-ci: 3.0.1 @@ -104,9 +104,9 @@ importers: snapshot-diff: 0.10.0_jest@27.5.1 sort-package-json: 1.54.0 textlint: 12.1.1 - ts-jest: 27.1.3_c53d1ca518b3b945a0cb74482cae0a36 - ts-node: 10.5.0_e79e62fe450383fd2d418267dc75e645 - typescript: 4.6.2 + ts-jest: 27.1.3_2e058638db0b2fe14a4833ffd778bef0 + ts-node: 10.5.0_d78975b130c63ed7d4fcfadd42906e84 + typescript: 5.0.2 packages/prisma-schema-reader: specifiers: @@ -186,14 +186,14 @@ packages: - supports-color dev: false - /@anolilab/eslint-config/3.0.1_d90b8612583f40c143549c092075193f: + /@anolilab/eslint-config/3.0.1_20dac4741d4da373fd965830296a8ffd: resolution: {integrity: sha512-cdzpE4hDHFRgmNYIqUk4ADcbyfgMSzzQb+fzkZzZKFtw8GL/bAefyfxQ7UBCFsb/8ybQ5tx4rZvBUlhP2/Yp2g==} engines: {node: '>=16'} requiresBuild: true peerDependencies: eslint: ^7.32.0 dependencies: - '@rushstack/eslint-plugin-security': 0.2.4_eslint@7.32.0+typescript@4.6.2 + '@rushstack/eslint-plugin-security': 0.2.4_eslint@7.32.0+typescript@5.0.2 confusing-browser-globals: 1.0.11 eslint: 7.32.0 eslint-import-resolver-node: 0.3.6 @@ -216,11 +216,11 @@ packages: read-pkg-up: 7.0.1 semver: 7.3.5 optionalDependencies: - '@typescript-eslint/eslint-plugin': 5.13.0_3a0304e4216f58c7e1135459c8d18e32 - '@typescript-eslint/parser': 5.13.0_eslint@7.32.0+typescript@4.6.2 + '@typescript-eslint/eslint-plugin': 5.13.0_ac78ac05047aa6524f118c5c0baeeb08 + '@typescript-eslint/parser': 5.13.0_eslint@7.32.0+typescript@5.0.2 eslint-plugin-babel: 5.3.1_eslint@7.32.0 eslint-plugin-cypress: 2.12.1_eslint@7.32.0 - eslint-plugin-jest: 26.1.1_1e5bd67ba845b6c99495a9a6936b3692 + eslint-plugin-jest: 26.1.1_aec2faf4a766c64db477718587cf03b7 eslint-plugin-jest-async: 1.0.3 eslint-plugin-jest-dom: 4.0.1_eslint@7.32.0 eslint-plugin-jest-formatting: 3.1.0_eslint@7.32.0 @@ -233,8 +233,8 @@ packages: eslint-plugin-react: 7.29.2_eslint@7.32.0 eslint-plugin-react-hooks: 4.3.0_eslint@7.32.0 eslint-plugin-react-redux: 4.0.0_eslint@7.32.0 - eslint-plugin-testing-library: 5.0.5_eslint@7.32.0+typescript@4.6.2 - eslint-plugin-typescript-sort-keys: 2.1.0_3a0304e4216f58c7e1135459c8d18e32 + eslint-plugin-testing-library: 5.0.5_eslint@7.32.0+typescript@5.0.2 + eslint-plugin-typescript-sort-keys: 2.1.0_ac78ac05047aa6524f118c5c0baeeb08 transitivePeerDependencies: - eslint-import-resolver-typescript - eslint-import-resolver-webpack @@ -2664,13 +2664,13 @@ packages: rollup: 2.68.0 dev: false - /@rushstack/eslint-plugin-security/0.2.4_eslint@7.32.0+typescript@4.6.2: + /@rushstack/eslint-plugin-security/0.2.4_eslint@7.32.0+typescript@5.0.2: resolution: {integrity: sha512-MWvM7H4vTNHXIY/SFcFSVgObj5UD0GftBM8UcIE1vXrPwdVYXDgDYXrSXdx7scWS4LYKPLBVoB3v6/Trhm2wug==} peerDependencies: eslint: ^6.0.0 || ^7.0.0 || ^8.0.0 dependencies: '@rushstack/tree-pattern': 0.2.2 - '@typescript-eslint/experimental-utils': 5.3.1_eslint@7.32.0+typescript@4.6.2 + '@typescript-eslint/experimental-utils': 5.3.1_eslint@7.32.0+typescript@5.0.2 eslint: 7.32.0 transitivePeerDependencies: - supports-color @@ -3491,7 +3491,7 @@ packages: '@types/yargs-parser': 20.2.1 dev: false - /@typescript-eslint/eslint-plugin/5.13.0_3a0304e4216f58c7e1135459c8d18e32: + /@typescript-eslint/eslint-plugin/5.13.0_ac78ac05047aa6524f118c5c0baeeb08: resolution: {integrity: sha512-vLktb2Uec81fxm/cfz2Hd6QaWOs8qdmVAZXLdOBX6JFJDhf6oDZpMzZ4/LZ6SFM/5DgDcxIMIvy3F+O9yZBuiQ==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: @@ -3502,29 +3502,29 @@ packages: typescript: optional: true dependencies: - '@typescript-eslint/parser': 5.13.0_eslint@7.32.0+typescript@4.6.2 + '@typescript-eslint/parser': 5.13.0_eslint@7.32.0+typescript@5.0.2 '@typescript-eslint/scope-manager': 5.13.0 - '@typescript-eslint/type-utils': 5.13.0_eslint@7.32.0+typescript@4.6.2 - '@typescript-eslint/utils': 5.13.0_eslint@7.32.0+typescript@4.6.2 + '@typescript-eslint/type-utils': 5.13.0_eslint@7.32.0+typescript@5.0.2 + '@typescript-eslint/utils': 5.13.0_eslint@7.32.0+typescript@5.0.2 debug: 4.3.3 eslint: 7.32.0 functional-red-black-tree: 1.0.1 ignore: 5.2.0 regexpp: 3.2.0 semver: 7.3.5 - tsutils: 3.21.0_typescript@4.6.2 - typescript: 4.6.2 + tsutils: 3.21.0_typescript@5.0.2 + typescript: 5.0.2 transitivePeerDependencies: - supports-color dev: false - /@typescript-eslint/experimental-utils/5.13.0_eslint@7.32.0+typescript@4.6.2: + /@typescript-eslint/experimental-utils/5.13.0_eslint@7.32.0+typescript@5.0.2: resolution: {integrity: sha512-A0btJxjB9gH6yJsARONe5xd0ykgj1+0fO1TRWoUBn2hT3haWiZeh4f1FILKW0z/9OBchT5zCOz3hiJfRK/vumA==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: eslint: ^6.0.0 || ^7.0.0 || ^8.0.0 dependencies: - '@typescript-eslint/utils': 5.13.0_eslint@7.32.0+typescript@4.6.2 + '@typescript-eslint/utils': 5.13.0_eslint@7.32.0+typescript@5.0.2 eslint: 7.32.0 transitivePeerDependencies: - supports-color @@ -3532,7 +3532,7 @@ packages: dev: false optional: true - /@typescript-eslint/experimental-utils/5.3.1_eslint@7.32.0+typescript@4.6.2: + /@typescript-eslint/experimental-utils/5.3.1_eslint@7.32.0+typescript@5.0.2: resolution: {integrity: sha512-RgFn5asjZ5daUhbK5Sp0peq0SSMytqcrkNfU4pnDma2D8P3ElZ6JbYjY8IMSFfZAJ0f3x3tnO3vXHweYg0g59w==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: @@ -3541,7 +3541,7 @@ packages: '@types/json-schema': 7.0.9 '@typescript-eslint/scope-manager': 5.3.1 '@typescript-eslint/types': 5.3.1 - '@typescript-eslint/typescript-estree': 5.3.1_typescript@4.6.2 + '@typescript-eslint/typescript-estree': 5.3.1_typescript@5.0.2 eslint: 7.32.0 eslint-scope: 5.1.1 eslint-utils: 3.0.0_eslint@7.32.0 @@ -3550,7 +3550,7 @@ packages: - typescript dev: false - /@typescript-eslint/parser/5.13.0_eslint@7.32.0+typescript@4.6.2: + /@typescript-eslint/parser/5.13.0_eslint@7.32.0+typescript@5.0.2: resolution: {integrity: sha512-GdrU4GvBE29tm2RqWOM0P5QfCtgCyN4hXICj/X9ibKED16136l9ZpoJvCL5pSKtmJzA+NRDzQ312wWMejCVVfg==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: @@ -3562,10 +3562,10 @@ packages: dependencies: '@typescript-eslint/scope-manager': 5.13.0 '@typescript-eslint/types': 5.13.0 - '@typescript-eslint/typescript-estree': 5.13.0_typescript@4.6.2 + '@typescript-eslint/typescript-estree': 5.13.0_typescript@5.0.2 debug: 4.3.3 eslint: 7.32.0 - typescript: 4.6.2 + typescript: 5.0.2 transitivePeerDependencies: - supports-color dev: false @@ -3586,7 +3586,7 @@ packages: '@typescript-eslint/visitor-keys': 5.3.1 dev: false - /@typescript-eslint/type-utils/5.13.0_eslint@7.32.0+typescript@4.6.2: + /@typescript-eslint/type-utils/5.13.0_eslint@7.32.0+typescript@5.0.2: resolution: {integrity: sha512-/nz7qFizaBM1SuqAKb7GLkcNn2buRdDgZraXlkhz+vUGiN1NZ9LzkA595tHHeduAiS2MsHqMNhE2zNzGdw43Yg==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: @@ -3596,11 +3596,11 @@ packages: typescript: optional: true dependencies: - '@typescript-eslint/utils': 5.13.0_eslint@7.32.0+typescript@4.6.2 + '@typescript-eslint/utils': 5.13.0_eslint@7.32.0+typescript@5.0.2 debug: 4.3.3 eslint: 7.32.0 - tsutils: 3.21.0_typescript@4.6.2 - typescript: 4.6.2 + tsutils: 3.21.0_typescript@5.0.2 + typescript: 5.0.2 transitivePeerDependencies: - supports-color dev: false @@ -3615,7 +3615,7 @@ packages: engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} dev: false - /@typescript-eslint/typescript-estree/5.13.0_typescript@4.6.2: + /@typescript-eslint/typescript-estree/5.13.0_typescript@5.0.2: resolution: {integrity: sha512-Q9cQow0DeLjnp5DuEDjLZ6JIkwGx3oYZe+BfcNuw/POhtpcxMTy18Icl6BJqTSd+3ftsrfuVb7mNHRZf7xiaNA==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: @@ -3630,13 +3630,13 @@ packages: globby: 11.1.0 is-glob: 4.0.3 semver: 7.3.5 - tsutils: 3.21.0_typescript@4.6.2 - typescript: 4.6.2 + tsutils: 3.21.0_typescript@5.0.2 + typescript: 5.0.2 transitivePeerDependencies: - supports-color dev: false - /@typescript-eslint/typescript-estree/5.3.1_typescript@4.6.2: + /@typescript-eslint/typescript-estree/5.3.1_typescript@5.0.2: resolution: {integrity: sha512-PwFbh/PKDVo/Wct6N3w+E4rLZxUDgsoII/GrWM2A62ETOzJd4M6s0Mu7w4CWsZraTbaC5UQI+dLeyOIFF1PquQ==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: @@ -3651,13 +3651,13 @@ packages: globby: 11.1.0 is-glob: 4.0.3 semver: 7.3.5 - tsutils: 3.21.0_typescript@4.6.2 - typescript: 4.6.2 + tsutils: 3.21.0_typescript@5.0.2 + typescript: 5.0.2 transitivePeerDependencies: - supports-color dev: false - /@typescript-eslint/utils/5.13.0_eslint@7.32.0+typescript@4.6.2: + /@typescript-eslint/utils/5.13.0_eslint@7.32.0+typescript@5.0.2: resolution: {integrity: sha512-+9oHlPWYNl6AwwoEt5TQryEHwiKRVjz7Vk6kaBeD3/kwHE5YqTGHtm/JZY8Bo9ITOeKutFaXnBlMgSATMJALUQ==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: @@ -3666,7 +3666,7 @@ packages: '@types/json-schema': 7.0.9 '@typescript-eslint/scope-manager': 5.13.0 '@typescript-eslint/types': 5.13.0 - '@typescript-eslint/typescript-estree': 5.13.0_typescript@4.6.2 + '@typescript-eslint/typescript-estree': 5.13.0_typescript@5.0.2 eslint: 7.32.0 eslint-scope: 5.1.1 eslint-utils: 3.0.0_eslint@7.32.0 @@ -5583,7 +5583,7 @@ packages: eslint-import-resolver-webpack: optional: true dependencies: - '@typescript-eslint/parser': 5.13.0_eslint@7.32.0+typescript@4.6.2 + '@typescript-eslint/parser': 5.13.0_eslint@7.32.0+typescript@5.0.2 debug: 3.2.7 eslint-import-resolver-node: 0.3.6 find-up: 2.1.0 @@ -5663,7 +5663,7 @@ packages: '@typescript-eslint/parser': optional: true dependencies: - '@typescript-eslint/parser': 5.13.0_eslint@7.32.0+typescript@4.6.2 + '@typescript-eslint/parser': 5.13.0_eslint@7.32.0+typescript@5.0.2 array-includes: 3.1.4 array.prototype.flat: 1.2.5 debug: 2.6.9 @@ -5718,7 +5718,7 @@ packages: dev: false optional: true - /eslint-plugin-jest/26.1.1_1e5bd67ba845b6c99495a9a6936b3692: + /eslint-plugin-jest/26.1.1_aec2faf4a766c64db477718587cf03b7: resolution: {integrity: sha512-HRKOuPi5ADhza4ZBK5ufyNXy28bXXkib87w+pQqdvBhSTsamndh6sIAKPAUl8y0/n9jSWBdTPslrwtKWqkp8dA==} engines: {node: ^12.13.0 || ^14.15.0 || >=16.0.0} peerDependencies: @@ -5731,8 +5731,8 @@ packages: jest: optional: true dependencies: - '@typescript-eslint/eslint-plugin': 5.13.0_3a0304e4216f58c7e1135459c8d18e32 - '@typescript-eslint/utils': 5.13.0_eslint@7.32.0+typescript@4.6.2 + '@typescript-eslint/eslint-plugin': 5.13.0_ac78ac05047aa6524f118c5c0baeeb08 + '@typescript-eslint/utils': 5.13.0_eslint@7.32.0+typescript@5.0.2 eslint: 7.32.0 jest: 27.5.1_ts-node@10.5.0 transitivePeerDependencies: @@ -5958,14 +5958,14 @@ packages: requireindex: 1.2.0 dev: false - /eslint-plugin-testing-library/5.0.5_eslint@7.32.0+typescript@4.6.2: + /eslint-plugin-testing-library/5.0.5_eslint@7.32.0+typescript@5.0.2: resolution: {integrity: sha512-0j355vJpJCE/2g+aayIgJRUB6jBVqpD5ztMLGcadR1PgrgGPnPxN1HJuOAsAAwiMo27GwRnpJB8KOQzyNuNZrw==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0, npm: '>=6'} requiresBuild: true peerDependencies: eslint: ^7.5.0 || ^8.0.0 dependencies: - '@typescript-eslint/utils': 5.13.0_eslint@7.32.0+typescript@4.6.2 + '@typescript-eslint/utils': 5.13.0_eslint@7.32.0+typescript@5.0.2 eslint: 7.32.0 transitivePeerDependencies: - supports-color @@ -5973,7 +5973,7 @@ packages: dev: false optional: true - /eslint-plugin-typescript-sort-keys/2.1.0_3a0304e4216f58c7e1135459c8d18e32: + /eslint-plugin-typescript-sort-keys/2.1.0_ac78ac05047aa6524f118c5c0baeeb08: resolution: {integrity: sha512-ET7ABypdz19m47QnKynzNfWPi4CTNQ5jQQC1X5d0gojIwblkbGiCa5IilsqzBTmqxZ0yXDqKBO/GBkBFQCOFsg==} engines: {node: 10 - 12 || >= 13.9} requiresBuild: true @@ -5982,12 +5982,12 @@ packages: eslint: ^5 || ^6 || ^7 || ^8 typescript: ^3 || ^4 dependencies: - '@typescript-eslint/experimental-utils': 5.13.0_eslint@7.32.0+typescript@4.6.2 - '@typescript-eslint/parser': 5.13.0_eslint@7.32.0+typescript@4.6.2 + '@typescript-eslint/experimental-utils': 5.13.0_eslint@7.32.0+typescript@5.0.2 + '@typescript-eslint/parser': 5.13.0_eslint@7.32.0+typescript@5.0.2 eslint: 7.32.0 json-schema: 0.4.0 natural-compare-lite: 1.4.0 - typescript: 4.6.2 + typescript: 5.0.2 transitivePeerDependencies: - supports-color dev: false @@ -7828,7 +7828,7 @@ packages: pretty-format: 27.5.1 slash: 3.0.0 strip-json-comments: 3.1.1 - ts-node: 10.5.0_e79e62fe450383fd2d418267dc75e645 + ts-node: 10.5.0_d78975b130c63ed7d4fcfadd42906e84 transitivePeerDependencies: - bufferutil - canvas @@ -12078,7 +12078,7 @@ packages: resolution: {integrity: sha1-z95vq9ctY+V5fPqrhzq76OcA6RI=} dev: false - /ts-jest/27.1.3_c53d1ca518b3b945a0cb74482cae0a36: + /ts-jest/27.1.3_2e058638db0b2fe14a4833ffd778bef0: resolution: {integrity: sha512-6Nlura7s6uM9BVUAoqLH7JHyMXjz8gluryjpPXxr3IxZdAXnU6FhjvVLHFtfd1vsE1p8zD1OJfskkc0jhTSnkA==} engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} hasBin: true @@ -12109,10 +12109,41 @@ packages: lodash.memoize: 4.1.2 make-error: 1.3.6 semver: 7.3.5 - typescript: 4.6.2 + typescript: 5.0.2 yargs-parser: 20.2.9 dev: false + /ts-node/10.5.0_d78975b130c63ed7d4fcfadd42906e84: + resolution: {integrity: sha512-6kEJKwVxAJ35W4akuiysfKwKmjkbYxwQMTBaAxo9KKAx/Yd26mPUyhGz3ji+EsJoAgrLqVsYHNuuYwQe22lbtw==} + hasBin: true + peerDependencies: + '@swc/core': '>=1.2.50' + '@swc/wasm': '>=1.2.50' + '@types/node': '*' + typescript: '>=2.7' + peerDependenciesMeta: + '@swc/core': + optional: true + '@swc/wasm': + optional: true + dependencies: + '@cspotcode/source-map-support': 0.7.0 + '@tsconfig/node10': 1.0.8 + '@tsconfig/node12': 1.0.9 + '@tsconfig/node14': 1.0.1 + '@tsconfig/node16': 1.0.2 + '@types/node': 17.0.21 + acorn: 8.7.0 + acorn-walk: 8.2.0 + arg: 4.1.3 + create-require: 1.1.1 + diff: 4.0.2 + make-error: 1.3.6 + typescript: 5.0.2 + v8-compile-cache-lib: 3.0.0 + yn: 3.1.1 + dev: false + /ts-node/10.5.0_e79e62fe450383fd2d418267dc75e645: resolution: {integrity: sha512-6kEJKwVxAJ35W4akuiysfKwKmjkbYxwQMTBaAxo9KKAx/Yd26mPUyhGz3ji+EsJoAgrLqVsYHNuuYwQe22lbtw==} hasBin: true @@ -12161,14 +12192,14 @@ packages: resolution: {integrity: sha512-77EbyPPpMz+FRFRuAFlWMtmgUWGe9UOG2Z25NqCwiIjRhOf5iKGuzSe5P2w1laq+FkRy4p+PCuVkJSGkzTEKVw==} dev: false - /tsutils/3.21.0_typescript@4.6.2: + /tsutils/3.21.0_typescript@5.0.2: resolution: {integrity: sha512-mHKK3iUXL+3UF6xL5k0PEhKRUBKPBCv/+RkEOpjRWxxx27KKRBmmA60A9pgOUvMi8GKhRMPEmjBRPzs2W7O1OA==} engines: {node: '>= 6'} peerDependencies: typescript: '>=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta' dependencies: tslib: 1.14.1 - typescript: 4.6.2 + typescript: 5.0.2 dev: false /txt-ast-traverse/1.2.1: @@ -12250,6 +12281,12 @@ packages: engines: {node: '>=4.2.0'} hasBin: true + /typescript/5.0.2: + resolution: {integrity: sha512-wVORMBGO/FAs/++blGNeAVdbNKtIh1rbBL2EyQ1+J9lClJ93KiiKe8PmFIVdXhHcyv44SL9oglmfeSsndo0jRw==} + engines: {node: '>=12.20'} + hasBin: true + dev: false + /uglify-js/3.15.2: resolution: {integrity: sha512-peeoTk3hSwYdoc9nrdiEJk+gx1ALCtTjdYuKSXMTDqq7n1W7dHPqWDdSi+BPL0ni2YMeHD7hKUSdbj3TZauY2A==} engines: {node: '>=0.8.0'}