From 31623a672ac64e4b11231e895f8bb5b82c86aaa8 Mon Sep 17 00:00:00 2001 From: Joel-David Date: Wed, 3 Jan 2024 14:58:28 +0800 Subject: [PATCH] revert ts --- package.json | 2 +- pnpm-lock.yaml | 72 +++++++++++++++++++++++--------------------------- 2 files changed, 34 insertions(+), 40 deletions(-) diff --git a/package.json b/package.json index 2261baf..8a0bfeb 100644 --- a/package.json +++ b/package.json @@ -22,7 +22,7 @@ "@stickyjs/turbo": "workspace:*", "@stickyjs/typescript": "workspace:*", "turbo": "1.10.14", - "typescript": "5.2.2" + "typescript": "4.9.5" }, "packageManager": "pnpm@8.6.2", "engines": { diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index a8c740f..ef6700e 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -24,8 +24,8 @@ importers: specifier: 1.10.14 version: 1.10.14 typescript: - specifier: 5.2.2 - version: 5.2.2 + specifier: 4.9.5 + version: 4.9.5 packages/docs: devDependencies: @@ -37,10 +37,10 @@ importers: dependencies: '@typescript-eslint/eslint-plugin': specifier: ^6.17.0 - version: 6.17.0(@typescript-eslint/parser@6.17.0)(eslint@8.56.0)(typescript@5.2.2) + version: 6.17.0(@typescript-eslint/parser@6.17.0)(eslint@8.56.0)(typescript@4.9.5) '@typescript-eslint/parser': specifier: ^6.17.0 - version: 6.17.0(eslint@8.56.0)(typescript@5.2.2) + version: 6.17.0(eslint@8.56.0)(typescript@4.9.5) eslint: specifier: ^8.56.0 version: 8.56.0 @@ -85,7 +85,7 @@ importers: version: 4.0.2(jest@29.7.0) ts-jest: specifier: 29.1.1 - version: 29.1.1(@babel/core@7.18.13)(jest@29.7.0)(typescript@5.2.2) + version: 29.1.1(@babel/core@7.18.13)(jest@29.7.0)(typescript@4.9.5) wait-for-expect: specifier: ^3.0.2 version: 3.0.2 @@ -1280,7 +1280,7 @@ packages: '@types/yargs-parser': 21.0.0 dev: false - /@typescript-eslint/eslint-plugin@6.17.0(@typescript-eslint/parser@6.17.0)(eslint@8.56.0)(typescript@5.2.2): + /@typescript-eslint/eslint-plugin@6.17.0(@typescript-eslint/parser@6.17.0)(eslint@8.56.0)(typescript@4.9.5): resolution: {integrity: sha512-Vih/4xLXmY7V490dGwBQJTpIZxH4ZFH6eCVmQ4RFkB+wmaCTDAx4dtgoWwMNGKLkqRY1L6rPqzEbjorRnDo4rQ==} engines: {node: ^16.0.0 || >=18.0.0} peerDependencies: @@ -1292,10 +1292,10 @@ packages: optional: true dependencies: '@eslint-community/regexpp': 4.6.2 - '@typescript-eslint/parser': 6.17.0(eslint@8.56.0)(typescript@5.2.2) + '@typescript-eslint/parser': 6.17.0(eslint@8.56.0)(typescript@4.9.5) '@typescript-eslint/scope-manager': 6.17.0 - '@typescript-eslint/type-utils': 6.17.0(eslint@8.56.0)(typescript@5.2.2) - '@typescript-eslint/utils': 6.17.0(eslint@8.56.0)(typescript@5.2.2) + '@typescript-eslint/type-utils': 6.17.0(eslint@8.56.0)(typescript@4.9.5) + '@typescript-eslint/utils': 6.17.0(eslint@8.56.0)(typescript@4.9.5) '@typescript-eslint/visitor-keys': 6.17.0 debug: 4.3.4 eslint: 8.56.0 @@ -1303,13 +1303,13 @@ packages: ignore: 5.2.4 natural-compare: 1.4.0 semver: 7.5.4 - ts-api-utils: 1.0.1(typescript@5.2.2) - typescript: 5.2.2 + ts-api-utils: 1.0.1(typescript@4.9.5) + typescript: 4.9.5 transitivePeerDependencies: - supports-color dev: false - /@typescript-eslint/parser@6.17.0(eslint@8.56.0)(typescript@5.2.2): + /@typescript-eslint/parser@6.17.0(eslint@8.56.0)(typescript@4.9.5): resolution: {integrity: sha512-C4bBaX2orvhK+LlwrY8oWGmSl4WolCfYm513gEccdWZj0CwGadbIADb0FtVEcI+WzUyjyoBj2JRP8g25E6IB8A==} engines: {node: ^16.0.0 || >=18.0.0} peerDependencies: @@ -1321,11 +1321,11 @@ packages: dependencies: '@typescript-eslint/scope-manager': 6.17.0 '@typescript-eslint/types': 6.17.0 - '@typescript-eslint/typescript-estree': 6.17.0(typescript@5.2.2) + '@typescript-eslint/typescript-estree': 6.17.0(typescript@4.9.5) '@typescript-eslint/visitor-keys': 6.17.0 debug: 4.3.4 eslint: 8.56.0 - typescript: 5.2.2 + typescript: 4.9.5 transitivePeerDependencies: - supports-color dev: false @@ -1338,7 +1338,7 @@ packages: '@typescript-eslint/visitor-keys': 6.17.0 dev: false - /@typescript-eslint/type-utils@6.17.0(eslint@8.56.0)(typescript@5.2.2): + /@typescript-eslint/type-utils@6.17.0(eslint@8.56.0)(typescript@4.9.5): resolution: {integrity: sha512-hDXcWmnbtn4P2B37ka3nil3yi3VCQO2QEB9gBiHJmQp5wmyQWqnjA85+ZcE8c4FqnaB6lBwMrPkgd4aBYz3iNg==} engines: {node: ^16.0.0 || >=18.0.0} peerDependencies: @@ -1348,12 +1348,12 @@ packages: typescript: optional: true dependencies: - '@typescript-eslint/typescript-estree': 6.17.0(typescript@5.2.2) - '@typescript-eslint/utils': 6.17.0(eslint@8.56.0)(typescript@5.2.2) + '@typescript-eslint/typescript-estree': 6.17.0(typescript@4.9.5) + '@typescript-eslint/utils': 6.17.0(eslint@8.56.0)(typescript@4.9.5) debug: 4.3.4 eslint: 8.56.0 - ts-api-utils: 1.0.1(typescript@5.2.2) - typescript: 5.2.2 + ts-api-utils: 1.0.1(typescript@4.9.5) + typescript: 4.9.5 transitivePeerDependencies: - supports-color dev: false @@ -1363,7 +1363,7 @@ packages: engines: {node: ^16.0.0 || >=18.0.0} dev: false - /@typescript-eslint/typescript-estree@6.17.0(typescript@5.2.2): + /@typescript-eslint/typescript-estree@6.17.0(typescript@4.9.5): resolution: {integrity: sha512-gVQe+SLdNPfjlJn5VNGhlOhrXz4cajwFd5kAgWtZ9dCZf4XJf8xmgCTLIqec7aha3JwgLI2CK6GY1043FRxZwg==} engines: {node: ^16.0.0 || >=18.0.0} peerDependencies: @@ -1379,13 +1379,13 @@ packages: is-glob: 4.0.3 minimatch: 9.0.3 semver: 7.5.4 - ts-api-utils: 1.0.1(typescript@5.2.2) - typescript: 5.2.2 + ts-api-utils: 1.0.1(typescript@4.9.5) + typescript: 4.9.5 transitivePeerDependencies: - supports-color dev: false - /@typescript-eslint/utils@6.17.0(eslint@8.56.0)(typescript@5.2.2): + /@typescript-eslint/utils@6.17.0(eslint@8.56.0)(typescript@4.9.5): resolution: {integrity: sha512-LofsSPjN/ITNkzV47hxas2JCsNCEnGhVvocfyOcLzT9c/tSZE7SfhS/iWtzP1lKNOEfLhRTZz6xqI8N2RzweSQ==} engines: {node: ^16.0.0 || >=18.0.0} peerDependencies: @@ -1396,7 +1396,7 @@ packages: '@types/semver': 7.5.0 '@typescript-eslint/scope-manager': 6.17.0 '@typescript-eslint/types': 6.17.0 - '@typescript-eslint/typescript-estree': 6.17.0(typescript@5.2.2) + '@typescript-eslint/typescript-estree': 6.17.0(typescript@4.9.5) eslint: 8.56.0 semver: 7.5.4 transitivePeerDependencies: @@ -2388,8 +2388,8 @@ packages: eslint: ^7.32.0 || ^8.2.0 eslint-plugin-import: ^2.25.3 dependencies: - '@typescript-eslint/eslint-plugin': 6.17.0(@typescript-eslint/parser@6.17.0)(eslint@8.56.0)(typescript@5.2.2) - '@typescript-eslint/parser': 6.17.0(eslint@8.56.0)(typescript@5.2.2) + '@typescript-eslint/eslint-plugin': 6.17.0(@typescript-eslint/parser@6.17.0)(eslint@8.56.0)(typescript@4.9.5) + '@typescript-eslint/parser': 6.17.0(eslint@8.56.0)(typescript@4.9.5) eslint: 8.56.0 eslint-config-airbnb-base: 15.0.0(eslint-plugin-import@2.29.1)(eslint@8.56.0) eslint-plugin-import: 2.29.1(@typescript-eslint/parser@6.17.0)(eslint@8.56.0) @@ -2435,7 +2435,7 @@ packages: eslint-import-resolver-webpack: optional: true dependencies: - '@typescript-eslint/parser': 6.17.0(eslint@8.56.0)(typescript@5.2.2) + '@typescript-eslint/parser': 6.17.0(eslint@8.56.0)(typescript@4.9.5) debug: 3.2.7 eslint: 8.56.0 eslint-import-resolver-node: 0.3.9 @@ -2470,7 +2470,7 @@ packages: '@typescript-eslint/parser': optional: true dependencies: - '@typescript-eslint/parser': 6.17.0(eslint@8.56.0)(typescript@5.2.2) + '@typescript-eslint/parser': 6.17.0(eslint@8.56.0)(typescript@4.9.5) array-includes: 3.1.7 array.prototype.findlastindex: 1.2.3 array.prototype.flat: 1.3.2 @@ -2518,7 +2518,7 @@ packages: '@typescript-eslint/eslint-plugin': optional: true dependencies: - '@typescript-eslint/eslint-plugin': 6.17.0(@typescript-eslint/parser@6.17.0)(eslint@8.56.0)(typescript@5.2.2) + '@typescript-eslint/eslint-plugin': 6.17.0(@typescript-eslint/parser@6.17.0)(eslint@8.56.0)(typescript@4.9.5) eslint: 8.56.0 eslint-rule-composer: 0.3.0 dev: false @@ -5858,16 +5858,16 @@ packages: resolution: {integrity: sha512-AqTiAOLcj85xS7vQ8QkAV41hPDIJ71XJB4RCUrzo/1GM2CQwhkJGaf9Hgr7BOugMRpgGUrqRg/DrBDl4H40+8g==} dev: true - /ts-api-utils@1.0.1(typescript@5.2.2): + /ts-api-utils@1.0.1(typescript@4.9.5): resolution: {integrity: sha512-lC/RGlPmwdrIBFTX59wwNzqh7aR2otPNPR/5brHZm/XKFYKsfqxihXUe9pU3JI+3vGkl+vyCoNNnPhJn3aLK1A==} engines: {node: '>=16.13.0'} peerDependencies: typescript: '>=4.2.0' dependencies: - typescript: 5.2.2 + typescript: 4.9.5 dev: false - /ts-jest@29.1.1(@babel/core@7.18.13)(jest@29.7.0)(typescript@5.2.2): + /ts-jest@29.1.1(@babel/core@7.18.13)(jest@29.7.0)(typescript@4.9.5): resolution: {integrity: sha512-D6xjnnbP17cC85nliwGiL+tpoKN0StpgE0TeOjXQTU6MVCfsB4v7aW05CgQ/1OywGb0x/oy9hHFnN+sczTiRaA==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} hasBin: true @@ -5897,7 +5897,7 @@ packages: lodash.memoize: 4.1.2 make-error: 1.3.6 semver: 7.5.3 - typescript: 5.2.2 + typescript: 4.9.5 yargs-parser: 21.1.1 dev: false @@ -6055,12 +6055,6 @@ packages: resolution: {integrity: sha512-1FXk9E2Hm+QzZQ7z+McJiHL4NW1F2EzMu9Nq9i3zAaGqibafqYwCVU6WyWAuyQRRzOlxou8xZSyXLEN8oKj24g==} engines: {node: '>=4.2.0'} hasBin: true - dev: false - - /typescript@5.2.2: - resolution: {integrity: sha512-mI4WrpHsbCIcwT9cF4FZvr80QUeKvsUsUvKDoR+X/7XHQH98xYD8YHZg7ANtz2GtZt/CBq2QJ0thkGJMHfqc1w==} - engines: {node: '>=14.17'} - hasBin: true /unbox-primitive@1.0.2: resolution: {integrity: sha512-61pPlCD9h51VoreyJ0BReideM3MDKMKnh6+V9L08331ipq6Q8OFXZYiqP6n/tbHx4s5I9uRhcye6BrbkizkBDw==}