diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index bcdfee0..42d7405 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -12,6 +12,7 @@ jobs: strategy: matrix: ts-version: + - "5.0" - "4.9" - "4.8" - "4.7" diff --git a/package.json b/package.json index fa28d1b..98f7c02 100644 --- a/package.json +++ b/package.json @@ -42,7 +42,7 @@ "eslint-plugin-unused-imports": "^2.0.0", "npm-run-all": "^4.1.5", "prettier": "^2.8.0", - "typescript": "^4.9.5", + "typescript": "^5.0.4", "uvu": "^0.5.6", "watchlist": "^0.3.1" }, diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 462d17c..cfa1fac 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -3,12 +3,12 @@ lockfileVersion: '6.0' dependencies: '@typescript-eslint/utils': specifier: ^5.44.0 - version: 5.44.0(eslint@8.28.0)(typescript@4.9.5) + version: 5.44.0(eslint@8.28.0)(typescript@5.0.4) devDependencies: '@swc-node/register': specifier: ^1.5.4 - version: 1.5.4(@swc/core@1.3.19)(typescript@4.9.5) + version: 1.5.4(@swc/core@1.3.19)(typescript@5.0.4) '@swc/cli': specifier: ^0.1.62 version: 0.1.62(@swc/core@1.3.19) @@ -20,10 +20,10 @@ devDependencies: version: 17.0.45 '@typescript-eslint/eslint-plugin': specifier: ^5.44.0 - version: 5.44.0(@typescript-eslint/parser@5.44.0)(eslint@8.28.0)(typescript@4.9.5) + version: 5.44.0(@typescript-eslint/parser@5.44.0)(eslint@8.28.0)(typescript@5.0.4) '@typescript-eslint/parser': specifier: ^5.44.0 - version: 5.44.0(eslint@8.28.0)(typescript@4.9.5) + version: 5.44.0(eslint@8.28.0)(typescript@5.0.4) '@typescript-eslint/types': specifier: ^5.44.0 version: 5.44.0 @@ -43,8 +43,8 @@ devDependencies: specifier: ^2.8.0 version: 2.8.0 typescript: - specifier: ^4.9.5 - version: 4.9.5 + specifier: ^5.0.4 + version: 5.0.4 uvu: specifier: ^0.5.6 version: 0.5.6 @@ -133,7 +133,7 @@ packages: '@swc/core': 1.3.19 dev: true - /@swc-node/register@1.5.4(@swc/core@1.3.19)(typescript@4.9.5): + /@swc-node/register@1.5.4(@swc/core@1.3.19)(typescript@5.0.4): resolution: {integrity: sha512-cM5/A63bO6qLUFC4gcBnOlQO5yd8ObSdFUIp7sXf11Oq5mPVAnJy2DqjbWMUsqUaHuNk+lOIt76ie4DEseUIyA==} peerDependencies: '@swc/core': '>= 1.3' @@ -146,7 +146,7 @@ packages: debug: 4.3.4 pirates: 4.0.5 tslib: 2.4.1 - typescript: 4.9.5 + typescript: 5.0.4 transitivePeerDependencies: - supports-color dev: true @@ -332,7 +332,7 @@ packages: /@types/semver@7.3.13: resolution: {integrity: sha512-21cFJr9z3g5dW8B0CVI9g2O9beqaThGQ6ZFBqHfwhzLDKUxaqTIy3vnfah/UPkfOiF2pLq+tGz+W8RyCskuslw==} - /@typescript-eslint/eslint-plugin@5.44.0(@typescript-eslint/parser@5.44.0)(eslint@8.28.0)(typescript@4.9.5): + /@typescript-eslint/eslint-plugin@5.44.0(@typescript-eslint/parser@5.44.0)(eslint@8.28.0)(typescript@5.0.4): resolution: {integrity: sha512-j5ULd7FmmekcyWeArx+i8x7sdRHzAtXTkmDPthE4amxZOWKFK7bomoJ4r7PJ8K7PoMzD16U8MmuZFAonr1ERvw==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: @@ -343,23 +343,23 @@ packages: typescript: optional: true dependencies: - '@typescript-eslint/parser': 5.44.0(eslint@8.28.0)(typescript@4.9.5) + '@typescript-eslint/parser': 5.44.0(eslint@8.28.0)(typescript@5.0.4) '@typescript-eslint/scope-manager': 5.44.0 - '@typescript-eslint/type-utils': 5.44.0(eslint@8.28.0)(typescript@4.9.5) - '@typescript-eslint/utils': 5.44.0(eslint@8.28.0)(typescript@4.9.5) + '@typescript-eslint/type-utils': 5.44.0(eslint@8.28.0)(typescript@5.0.4) + '@typescript-eslint/utils': 5.44.0(eslint@8.28.0)(typescript@5.0.4) debug: 4.3.4 eslint: 8.28.0 ignore: 5.2.0 natural-compare-lite: 1.4.0 regexpp: 3.2.0 semver: 7.3.8 - tsutils: 3.21.0(typescript@4.9.5) - typescript: 4.9.5 + tsutils: 3.21.0(typescript@5.0.4) + typescript: 5.0.4 transitivePeerDependencies: - supports-color dev: true - /@typescript-eslint/parser@5.44.0(eslint@8.28.0)(typescript@4.9.5): + /@typescript-eslint/parser@5.44.0(eslint@8.28.0)(typescript@5.0.4): resolution: {integrity: sha512-H7LCqbZnKqkkgQHaKLGC6KUjt3pjJDx8ETDqmwncyb6PuoigYajyAwBGz08VU/l86dZWZgI4zm5k2VaKqayYyA==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: @@ -371,10 +371,10 @@ packages: dependencies: '@typescript-eslint/scope-manager': 5.44.0 '@typescript-eslint/types': 5.44.0 - '@typescript-eslint/typescript-estree': 5.44.0(typescript@4.9.5) + '@typescript-eslint/typescript-estree': 5.44.0(typescript@5.0.4) debug: 4.3.4 eslint: 8.28.0 - typescript: 4.9.5 + typescript: 5.0.4 transitivePeerDependencies: - supports-color dev: true @@ -386,7 +386,7 @@ packages: '@typescript-eslint/types': 5.44.0 '@typescript-eslint/visitor-keys': 5.44.0 - /@typescript-eslint/type-utils@5.44.0(eslint@8.28.0)(typescript@4.9.5): + /@typescript-eslint/type-utils@5.44.0(eslint@8.28.0)(typescript@5.0.4): resolution: {integrity: sha512-A1u0Yo5wZxkXPQ7/noGkRhV4J9opcymcr31XQtOzcc5nO/IHN2E2TPMECKWYpM3e6olWEM63fq/BaL1wEYnt/w==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: @@ -396,12 +396,12 @@ packages: typescript: optional: true dependencies: - '@typescript-eslint/typescript-estree': 5.44.0(typescript@4.9.5) - '@typescript-eslint/utils': 5.44.0(eslint@8.28.0)(typescript@4.9.5) + '@typescript-eslint/typescript-estree': 5.44.0(typescript@5.0.4) + '@typescript-eslint/utils': 5.44.0(eslint@8.28.0)(typescript@5.0.4) debug: 4.3.4 eslint: 8.28.0 - tsutils: 3.21.0(typescript@4.9.5) - typescript: 4.9.5 + tsutils: 3.21.0(typescript@5.0.4) + typescript: 5.0.4 transitivePeerDependencies: - supports-color dev: true @@ -410,7 +410,7 @@ packages: resolution: {integrity: sha512-Tp+zDnHmGk4qKR1l+Y1rBvpjpm5tGXX339eAlRBDg+kgZkz9Bw+pqi4dyseOZMsGuSH69fYfPJCBKBrbPCxYFQ==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - /@typescript-eslint/typescript-estree@5.44.0(typescript@4.9.5): + /@typescript-eslint/typescript-estree@5.44.0(typescript@5.0.4): resolution: {integrity: sha512-M6Jr+RM7M5zeRj2maSfsZK2660HKAJawv4Ud0xT+yauyvgrsHu276VtXlKDFnEmhG+nVEd0fYZNXGoAgxwDWJw==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: @@ -425,12 +425,12 @@ packages: globby: 11.1.0 is-glob: 4.0.3 semver: 7.3.8 - tsutils: 3.21.0(typescript@4.9.5) - typescript: 4.9.5 + tsutils: 3.21.0(typescript@5.0.4) + typescript: 5.0.4 transitivePeerDependencies: - supports-color - /@typescript-eslint/utils@5.44.0(eslint@8.28.0)(typescript@4.9.5): + /@typescript-eslint/utils@5.44.0(eslint@8.28.0)(typescript@5.0.4): resolution: {integrity: sha512-fMzA8LLQ189gaBjS0MZszw5HBdZgVwxVFShCO3QN+ws3GlPkcy9YuS3U4wkT6su0w+Byjq3mS3uamy9HE4Yfjw==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: @@ -440,7 +440,7 @@ packages: '@types/semver': 7.3.13 '@typescript-eslint/scope-manager': 5.44.0 '@typescript-eslint/types': 5.44.0 - '@typescript-eslint/typescript-estree': 5.44.0(typescript@4.9.5) + '@typescript-eslint/typescript-estree': 5.44.0(typescript@5.0.4) eslint: 8.28.0 eslint-scope: 5.1.1 eslint-utils: 3.0.0(eslint@8.28.0) @@ -806,7 +806,7 @@ packages: '@typescript-eslint/eslint-plugin': optional: true dependencies: - '@typescript-eslint/eslint-plugin': 5.44.0(@typescript-eslint/parser@5.44.0)(eslint@8.28.0)(typescript@4.9.5) + '@typescript-eslint/eslint-plugin': 5.44.0(@typescript-eslint/parser@5.44.0)(eslint@8.28.0)(typescript@5.0.4) eslint: 8.28.0 eslint-rule-composer: 0.3.0 dev: true @@ -2093,14 +2093,14 @@ packages: resolution: {integrity: sha512-tGyy4dAjRIEwI7BzsB0lynWgOpfqjUdq91XXAlIWD2OwKBH7oCl/GZG/HT4BOHrTlPMOASlMQ7veyTqpmRcrNA==} dev: true - /tsutils@3.21.0(typescript@4.9.5): + /tsutils@3.21.0(typescript@5.0.4): 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.9.5 + typescript: 5.0.4 /type-check@0.4.0: resolution: {integrity: sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==} @@ -2112,9 +2112,9 @@ packages: resolution: {integrity: sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==} engines: {node: '>=10'} - /typescript@4.9.5: - resolution: {integrity: sha512-1FXk9E2Hm+QzZQ7z+McJiHL4NW1F2EzMu9Nq9i3zAaGqibafqYwCVU6WyWAuyQRRzOlxou8xZSyXLEN8oKj24g==} - engines: {node: '>=4.2.0'} + /typescript@5.0.4: + resolution: {integrity: sha512-cW9T5W9xY37cc+jfEnaUvX91foxtHkza3Nw3wkoF4sSlKn0MONdkdEndig/qPBWXNkmplh3NzayQzCiHM4/hqw==} + engines: {node: '>=12.20'} hasBin: true /unbox-primitive@1.0.2: