diff --git a/package.json b/package.json index 93f8bb2..b5a4e23 100644 --- a/package.json +++ b/package.json @@ -41,7 +41,7 @@ "example": "tsx test/example.ts" }, "peerDependencies": { - "typescript": "^4.9.4", + "typescript": "^4.9.4 || ^5.0.2", "zod": "^3" }, "devDependencies": { @@ -52,7 +52,7 @@ "npm-run-all": "4.1.5", "tsup": "6.7.0", "tsx": "3.12.6", - "typescript": "4.9.4", + "typescript": "5.0.3", "vite": "4.2.1", "vitest": "0.29.8", "zod": "3.21.4" diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index fabe0f2..a36789d 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -3,7 +3,7 @@ lockfileVersion: '6.0' devDependencies: '@sachinraja/eslint-config': specifier: 0.2.0 - version: 0.2.0(eslint@8.37.0)(typescript@4.9.4) + version: 0.2.0(eslint@8.37.0)(typescript@5.0.3) '@types/node': specifier: 18.15.11 version: 18.15.11 @@ -18,13 +18,13 @@ devDependencies: version: 4.1.5 tsup: specifier: 6.7.0 - version: 6.7.0(typescript@4.9.4) + version: 6.7.0(typescript@5.0.3) tsx: specifier: 3.12.6 version: 3.12.6 typescript: - specifier: 4.9.4 - version: 4.9.4 + specifier: 5.0.3 + version: 5.0.3 vite: specifier: 4.2.1 version: 4.2.1(@types/node@18.15.11) @@ -373,7 +373,7 @@ packages: fastq: 1.13.0 dev: true - /@sachinraja/eslint-config@0.2.0(eslint@8.37.0)(typescript@4.9.4): + /@sachinraja/eslint-config@0.2.0(eslint@8.37.0)(typescript@5.0.3): resolution: {integrity: sha512-ZzZqfzp4aY9clHDIpBcjcP1ib8bcTBxdDSczhmVSqVvGMrZOlGsbGowTOgfnBa4NRJsNCyN7mU4Lxn/k0D8vyQ==} peerDependencies: '@types/eslint': ^8 @@ -382,8 +382,8 @@ packages: '@types/eslint': optional: true dependencies: - '@typescript-eslint/eslint-plugin': 5.42.1(@typescript-eslint/parser@5.42.1)(eslint@8.37.0)(typescript@4.9.4) - '@typescript-eslint/parser': 5.42.1(eslint@8.37.0)(typescript@4.9.4) + '@typescript-eslint/eslint-plugin': 5.42.1(@typescript-eslint/parser@5.42.1)(eslint@8.37.0)(typescript@5.0.3) + '@typescript-eslint/parser': 5.42.1(eslint@8.37.0)(typescript@5.0.3) eslint: 8.37.0 eslint-config-prettier: 8.5.0(eslint@8.37.0) eslint-plugin-unicorn: 44.0.2(eslint@8.37.0) @@ -418,7 +418,7 @@ packages: resolution: {integrity: sha512-WwA1MW0++RfXmCr12xeYOOC5baSC9mSb0ZqCquFzKhcoF4TvHu5MKOuXsncgZcpVFhB1pXd5hZmM0ryAoCp12A==} dev: true - /@typescript-eslint/eslint-plugin@5.42.1(@typescript-eslint/parser@5.42.1)(eslint@8.37.0)(typescript@4.9.4): + /@typescript-eslint/eslint-plugin@5.42.1(@typescript-eslint/parser@5.42.1)(eslint@8.37.0)(typescript@5.0.3): resolution: {integrity: sha512-LyR6x784JCiJ1j6sH5Y0K6cdExqCCm8DJUTcwG5ThNXJj/G8o5E56u5EdG4SLy+bZAwZBswC+GYn3eGdttBVCg==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: @@ -429,23 +429,23 @@ packages: typescript: optional: true dependencies: - '@typescript-eslint/parser': 5.42.1(eslint@8.37.0)(typescript@4.9.4) + '@typescript-eslint/parser': 5.42.1(eslint@8.37.0)(typescript@5.0.3) '@typescript-eslint/scope-manager': 5.42.1 - '@typescript-eslint/type-utils': 5.42.1(eslint@8.37.0)(typescript@4.9.4) - '@typescript-eslint/utils': 5.42.1(eslint@8.37.0)(typescript@4.9.4) + '@typescript-eslint/type-utils': 5.42.1(eslint@8.37.0)(typescript@5.0.3) + '@typescript-eslint/utils': 5.42.1(eslint@8.37.0)(typescript@5.0.3) debug: 4.3.4 eslint: 8.37.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.4) - typescript: 4.9.4 + tsutils: 3.21.0(typescript@5.0.3) + typescript: 5.0.3 transitivePeerDependencies: - supports-color dev: true - /@typescript-eslint/parser@5.42.1(eslint@8.37.0)(typescript@4.9.4): + /@typescript-eslint/parser@5.42.1(eslint@8.37.0)(typescript@5.0.3): resolution: {integrity: sha512-kAV+NiNBWVQDY9gDJDToTE/NO8BHi4f6b7zTsVAJoTkmB/zlfOpiEVBzHOKtlgTndCKe8vj9F/PuolemZSh50Q==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: @@ -457,10 +457,10 @@ packages: dependencies: '@typescript-eslint/scope-manager': 5.42.1 '@typescript-eslint/types': 5.42.1 - '@typescript-eslint/typescript-estree': 5.42.1(typescript@4.9.4) + '@typescript-eslint/typescript-estree': 5.42.1(typescript@5.0.3) debug: 4.3.4 eslint: 8.37.0 - typescript: 4.9.4 + typescript: 5.0.3 transitivePeerDependencies: - supports-color dev: true @@ -473,7 +473,7 @@ packages: '@typescript-eslint/visitor-keys': 5.42.1 dev: true - /@typescript-eslint/type-utils@5.42.1(eslint@8.37.0)(typescript@4.9.4): + /@typescript-eslint/type-utils@5.42.1(eslint@8.37.0)(typescript@5.0.3): resolution: {integrity: sha512-WWiMChneex5w4xPIX56SSnQQo0tEOy5ZV2dqmj8Z371LJ0E+aymWD25JQ/l4FOuuX+Q49A7pzh/CGIQflxMVXg==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: @@ -483,12 +483,12 @@ packages: typescript: optional: true dependencies: - '@typescript-eslint/typescript-estree': 5.42.1(typescript@4.9.4) - '@typescript-eslint/utils': 5.42.1(eslint@8.37.0)(typescript@4.9.4) + '@typescript-eslint/typescript-estree': 5.42.1(typescript@5.0.3) + '@typescript-eslint/utils': 5.42.1(eslint@8.37.0)(typescript@5.0.3) debug: 4.3.4 eslint: 8.37.0 - tsutils: 3.21.0(typescript@4.9.4) - typescript: 4.9.4 + tsutils: 3.21.0(typescript@5.0.3) + typescript: 5.0.3 transitivePeerDependencies: - supports-color dev: true @@ -498,7 +498,7 @@ packages: engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} dev: true - /@typescript-eslint/typescript-estree@5.42.1(typescript@4.9.4): + /@typescript-eslint/typescript-estree@5.42.1(typescript@5.0.3): resolution: {integrity: sha512-qElc0bDOuO0B8wDhhW4mYVgi/LZL+igPwXtV87n69/kYC/7NG3MES0jHxJNCr4EP7kY1XVsRy8C/u3DYeTKQmw==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: @@ -513,13 +513,13 @@ packages: globby: 11.1.0 is-glob: 4.0.3 semver: 7.3.8 - tsutils: 3.21.0(typescript@4.9.4) - typescript: 4.9.4 + tsutils: 3.21.0(typescript@5.0.3) + typescript: 5.0.3 transitivePeerDependencies: - supports-color dev: true - /@typescript-eslint/utils@5.42.1(eslint@8.37.0)(typescript@4.9.4): + /@typescript-eslint/utils@5.42.1(eslint@8.37.0)(typescript@5.0.3): resolution: {integrity: sha512-Gxvf12xSp3iYZd/fLqiQRD4uKZjDNR01bQ+j8zvhPjpsZ4HmvEFL/tC4amGNyxN9Rq+iqvpHLhlqx6KTxz9ZyQ==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: @@ -529,7 +529,7 @@ packages: '@types/semver': 7.3.12 '@typescript-eslint/scope-manager': 5.42.1 '@typescript-eslint/types': 5.42.1 - '@typescript-eslint/typescript-estree': 5.42.1(typescript@4.9.4) + '@typescript-eslint/typescript-estree': 5.42.1(typescript@5.0.3) eslint: 8.37.0 eslint-scope: 5.1.1 eslint-utils: 3.0.0(eslint@8.37.0) @@ -2832,7 +2832,7 @@ packages: resolution: {integrity: sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==} dev: true - /tsup@6.7.0(typescript@4.9.4): + /tsup@6.7.0(typescript@5.0.3): resolution: {integrity: sha512-L3o8hGkaHnu5TdJns+mCqFsDBo83bJ44rlK7e6VdanIvpea4ArPcU3swWGsLVbXak1PqQx/V+SSmFPujBK+zEQ==} engines: {node: '>=14.18'} hasBin: true @@ -2862,20 +2862,20 @@ packages: source-map: 0.8.0-beta.0 sucrase: 3.20.3 tree-kill: 1.2.2 - typescript: 4.9.4 + typescript: 5.0.3 transitivePeerDependencies: - supports-color - ts-node dev: true - /tsutils@3.21.0(typescript@4.9.4): + /tsutils@3.21.0(typescript@5.0.3): 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.4 + typescript: 5.0.3 dev: true /tsx@3.12.6: @@ -2924,9 +2924,9 @@ packages: is-typed-array: 1.1.10 dev: true - /typescript@4.9.4: - resolution: {integrity: sha512-Uz+dTXYzxXXbsFpM86Wh3dKCxrQqUcVMxwU54orwlJjOpO3ao8L7j5lH+dWfTwgCwIuM9GQ2kvVotzYJMXTBZg==} - engines: {node: '>=4.2.0'} + /typescript@5.0.3: + resolution: {integrity: sha512-xv8mOEDnigb/tN9PSMTwSEqAnUvkoXMQlicOb0IUVDBSQCgBSaAAROUZYy2IcUy5qU6XajK5jjjO7TMWqBTKZA==} + engines: {node: '>=12.20'} hasBin: true dev: true