diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index ba6bae8..23bec8c 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -24,7 +24,7 @@ jobs: strategy: fail-fast: false matrix: - ts: [5.4.x, 5.5.x] + ts: [5.0.x, 5.1.x, 5.2.x, 5.3.x, 5.4.x, 5.5.x] steps: - uses: actions/checkout@v4 - uses: pnpm/action-setup@v4 diff --git a/package.json b/package.json index 12e3610..07e3dfe 100644 --- a/package.json +++ b/package.json @@ -71,7 +71,7 @@ "node": "^18.19 || ^20.6 || >=22" }, "peerDependencies": { - "typescript": ">=5.4" + "typescript": ">=5.0" }, "peerDependenciesMeta": { "typescript": { diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 643f1f4..fa5e57a 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -41,19 +41,19 @@ importers: devDependencies: '@aomex/console': specifier: ^3.4.0 - version: 3.4.0(@aomex/core@3.4.0(@types/node@20.14.10)(typescript@5.5.3)) + version: 3.4.0(@aomex/core@3.4.0(@types/node@20.14.10)(typescript@5.6.3)) '@aomex/core': specifier: ^3.4.0 - version: 3.4.0(@types/node@20.14.10)(typescript@5.5.3) + version: 3.4.0(@types/node@20.14.10)(typescript@5.6.3) '@aomex/openapi': specifier: ^3.4.0 - version: 3.4.0(@aomex/console@3.4.0(@aomex/core@3.4.0(@types/node@20.14.10)(typescript@5.5.3)))(@aomex/core@3.4.0(@types/node@20.14.10)(typescript@5.5.3))(@aomex/web@3.4.0(@aomex/core@3.4.0(@types/node@20.14.10)(typescript@5.5.3)))(encoding@0.1.13) + version: 3.4.0(@aomex/console@3.4.0(@aomex/core@3.4.0(@types/node@20.14.10)(typescript@5.6.3)))(@aomex/core@3.4.0(@types/node@20.14.10)(typescript@5.6.3))(@aomex/web@3.4.0(@aomex/core@3.4.0(@types/node@20.14.10)(typescript@5.6.3)))(encoding@0.1.13) '@aomex/web': specifier: ^3.4.0 - version: 3.4.0(@aomex/core@3.4.0(@types/node@20.14.10)(typescript@5.5.3)) + version: 3.4.0(@aomex/core@3.4.0(@types/node@20.14.10)(typescript@5.6.3)) '@commitlint/cli': specifier: ^19.3.0 - version: 19.3.0(@types/node@20.14.10)(typescript@5.5.3) + version: 19.3.0(@types/node@20.14.10)(typescript@5.6.3) '@commitlint/config-conventional': specifier: ^19.2.2 version: 19.2.2 @@ -62,7 +62,7 @@ importers: version: 3.4.12 '@release-it/conventional-changelog': specifier: ^8.0.1 - version: 8.0.1(release-it@17.6.0(typescript@5.5.3)) + version: 8.0.1(release-it@17.6.0(typescript@5.6.3)) '@tarojs/taro': specifier: ^3.6.34 version: 3.6.34(@tarojs/helper@3.6.34)(@tarojs/runtime@3.6.34(@tarojs/shared@3.6.34))(postcss@8.4.47) @@ -95,13 +95,13 @@ importers: version: 1.2.1 release-it: specifier: ^17.6.0 - version: 17.6.0(typescript@5.5.3) + version: 17.6.0(typescript@5.6.3) tsup: specifier: ^8.1.0 - version: 8.1.0(@swc/core@1.3.96)(postcss@8.4.47)(typescript@5.5.3) + version: 8.1.0(@swc/core@1.3.96)(postcss@8.4.47)(typescript@5.6.3) typescript: specifier: ^5.5.3 - version: 5.5.3 + version: 5.6.3 vitest: specifier: ^2.0.3 version: 2.0.3(@types/node@20.14.10) @@ -4581,8 +4581,8 @@ packages: typedarray@0.0.6: resolution: {integrity: sha512-/aCDEGatGvZ2BIk+HmLf4ifCJFwvKFNb9/JeZPMulfgFracn9QFcAf5GO8B/mweUjSoblS5In0cWhqpfs/5PQA==} - typescript@5.5.3: - resolution: {integrity: sha512-/hreyEujaB0w76zKo6717l3L0o/qEUtRgdvUBvlkhoWeOVMjMuHNHk0BRBzikzuGDqNmPQbg5ifMEqsHLiIUcQ==} + typescript@5.6.3: + resolution: {integrity: sha512-hjcS1mhfuyi4WW8IWtjP7brDrG2cuDZukyrYrSauoXGNgx0S7zceP07adYkJycEr56BOUTNPzbInooiN3fn1qw==} engines: {node: '>=14.17'} hasBin: true @@ -4853,9 +4853,9 @@ snapshots: '@jridgewell/gen-mapping': 0.3.5 '@jridgewell/trace-mapping': 0.3.25 - '@aomex/console@3.4.0(@aomex/core@3.4.0(@types/node@20.14.10)(typescript@5.5.3))': + '@aomex/console@3.4.0(@aomex/core@3.4.0(@types/node@20.14.10)(typescript@5.6.3))': dependencies: - '@aomex/core': 3.4.0(@types/node@20.14.10)(typescript@5.5.3) + '@aomex/core': 3.4.0(@types/node@20.14.10)(typescript@5.6.3) '@aomex/internal-file-import': 3.4.0 '@aomex/internal-tools': 3.4.0 ansi-escapes: 7.0.0 @@ -4869,7 +4869,7 @@ snapshots: yargs: 17.7.2 yargs-parser: 21.1.1 - '@aomex/core@3.4.0(@types/node@20.14.10)(typescript@5.5.3)': + '@aomex/core@3.4.0(@types/node@20.14.10)(typescript@5.6.3)': dependencies: '@aomex/internal-tools': 3.4.0 '@i18nx/node': 0.2.1 @@ -4877,7 +4877,7 @@ snapshots: email-validator: 2.0.4 luxon: 3.5.0 openapi-types: 12.1.3 - typescript: 5.5.3 + typescript: 5.6.3 '@aomex/internal-file-import@3.4.0': dependencies: @@ -4888,24 +4888,24 @@ snapshots: '@types/bytes': 3.1.4 bytes: 3.1.2 - '@aomex/openapi@3.4.0(@aomex/console@3.4.0(@aomex/core@3.4.0(@types/node@20.14.10)(typescript@5.5.3)))(@aomex/core@3.4.0(@types/node@20.14.10)(typescript@5.5.3))(@aomex/web@3.4.0(@aomex/core@3.4.0(@types/node@20.14.10)(typescript@5.5.3)))(encoding@0.1.13)': + '@aomex/openapi@3.4.0(@aomex/console@3.4.0(@aomex/core@3.4.0(@types/node@20.14.10)(typescript@5.6.3)))(@aomex/core@3.4.0(@types/node@20.14.10)(typescript@5.6.3))(@aomex/web@3.4.0(@aomex/core@3.4.0(@types/node@20.14.10)(typescript@5.6.3)))(encoding@0.1.13)': dependencies: - '@aomex/core': 3.4.0(@types/node@20.14.10)(typescript@5.5.3) + '@aomex/core': 3.4.0(@types/node@20.14.10)(typescript@5.6.3) '@aomex/internal-file-import': 3.4.0 '@aomex/internal-tools': 3.4.0 - '@aomex/web': 3.4.0(@aomex/core@3.4.0(@types/node@20.14.10)(typescript@5.5.3)) + '@aomex/web': 3.4.0(@aomex/core@3.4.0(@types/node@20.14.10)(typescript@5.6.3)) '@stoplight/spectral-core': 1.18.3(encoding@0.1.13) '@stoplight/spectral-rulesets': 1.19.1(encoding@0.1.13) lodash.snakecase: 4.1.1 yaml: 2.4.5 optionalDependencies: - '@aomex/console': 3.4.0(@aomex/core@3.4.0(@types/node@20.14.10)(typescript@5.5.3)) + '@aomex/console': 3.4.0(@aomex/core@3.4.0(@types/node@20.14.10)(typescript@5.6.3)) transitivePeerDependencies: - encoding - '@aomex/web@3.4.0(@aomex/core@3.4.0(@types/node@20.14.10)(typescript@5.5.3))': + '@aomex/web@3.4.0(@aomex/core@3.4.0(@types/node@20.14.10)(typescript@5.6.3))': dependencies: - '@aomex/core': 3.4.0(@types/node@20.14.10)(typescript@5.5.3) + '@aomex/core': 3.4.0(@types/node@20.14.10)(typescript@5.6.3) '@aomex/internal-file-import': 3.4.0 '@aomex/internal-tools': 3.4.0 '@types/accepts': 1.3.7 @@ -5803,11 +5803,11 @@ snapshots: '@bcoe/v8-coverage@0.2.3': {} - '@commitlint/cli@19.3.0(@types/node@20.14.10)(typescript@5.5.3)': + '@commitlint/cli@19.3.0(@types/node@20.14.10)(typescript@5.6.3)': dependencies: '@commitlint/format': 19.3.0 '@commitlint/lint': 19.2.2 - '@commitlint/load': 19.2.0(@types/node@20.14.10)(typescript@5.5.3) + '@commitlint/load': 19.2.0(@types/node@20.14.10)(typescript@5.6.3) '@commitlint/read': 19.2.1 '@commitlint/types': 19.0.3 execa: 8.0.1 @@ -5854,15 +5854,15 @@ snapshots: '@commitlint/rules': 19.0.3 '@commitlint/types': 19.0.3 - '@commitlint/load@19.2.0(@types/node@20.14.10)(typescript@5.5.3)': + '@commitlint/load@19.2.0(@types/node@20.14.10)(typescript@5.6.3)': dependencies: '@commitlint/config-validator': 19.0.3 '@commitlint/execute-rule': 19.0.0 '@commitlint/resolve-extends': 19.1.0 '@commitlint/types': 19.0.3 chalk: 5.3.0 - cosmiconfig: 9.0.0(typescript@5.5.3) - cosmiconfig-typescript-loader: 5.0.0(@types/node@20.14.10)(cosmiconfig@9.0.0(typescript@5.5.3))(typescript@5.5.3) + cosmiconfig: 9.0.0(typescript@5.6.3) + cosmiconfig-typescript-loader: 5.0.0(@types/node@20.14.10)(cosmiconfig@9.0.0(typescript@5.6.3))(typescript@5.6.3) lodash.isplainobject: 4.0.6 lodash.merge: 4.6.2 lodash.uniq: 4.5.0 @@ -6406,12 +6406,12 @@ snapshots: '@pnpm/network.ca-file': 1.0.2 config-chain: 1.1.13 - '@release-it/conventional-changelog@8.0.1(release-it@17.6.0(typescript@5.5.3))': + '@release-it/conventional-changelog@8.0.1(release-it@17.6.0(typescript@5.6.3))': dependencies: concat-stream: 2.0.0 conventional-changelog: 5.1.0 conventional-recommended-bump: 9.0.0 - release-it: 17.6.0(typescript@5.5.3) + release-it: 17.6.0(typescript@5.6.3) semver: 7.6.0 '@rollup/rollup-android-arm-eabi@4.13.0': @@ -7324,21 +7324,21 @@ snapshots: dependencies: browserslist: 4.23.2 - cosmiconfig-typescript-loader@5.0.0(@types/node@20.14.10)(cosmiconfig@9.0.0(typescript@5.5.3))(typescript@5.5.3): + cosmiconfig-typescript-loader@5.0.0(@types/node@20.14.10)(cosmiconfig@9.0.0(typescript@5.6.3))(typescript@5.6.3): dependencies: '@types/node': 20.14.10 - cosmiconfig: 9.0.0(typescript@5.5.3) + cosmiconfig: 9.0.0(typescript@5.6.3) jiti: 1.21.0 - typescript: 5.5.3 + typescript: 5.6.3 - cosmiconfig@9.0.0(typescript@5.5.3): + cosmiconfig@9.0.0(typescript@5.6.3): dependencies: env-paths: 2.2.1 import-fresh: 3.3.0 js-yaml: 4.1.0 parse-json: 5.2.0 optionalDependencies: - typescript: 5.5.3 + typescript: 5.6.3 cross-spawn@7.0.3: dependencies: @@ -9001,13 +9001,13 @@ snapshots: dependencies: jsesc: 0.5.0 - release-it@17.6.0(typescript@5.5.3): + release-it@17.6.0(typescript@5.6.3): dependencies: '@iarna/toml': 2.2.5 '@octokit/rest': 20.1.1 async-retry: 1.3.3 chalk: 5.3.0 - cosmiconfig: 9.0.0(typescript@5.5.3) + cosmiconfig: 9.0.0(typescript@5.6.3) execa: 8.0.1 git-url-parse: 14.0.0 globby: 14.0.2 @@ -9418,7 +9418,7 @@ snapshots: tslib@2.6.3: {} - tsup@8.1.0(@swc/core@1.3.96)(postcss@8.4.47)(typescript@5.5.3): + tsup@8.1.0(@swc/core@1.3.96)(postcss@8.4.47)(typescript@5.6.3): dependencies: bundle-require: 4.0.2(esbuild@0.21.4) cac: 6.7.14 @@ -9437,7 +9437,7 @@ snapshots: optionalDependencies: '@swc/core': 1.3.96 postcss: 8.4.47 - typescript: 5.5.3 + typescript: 5.6.3 transitivePeerDependencies: - supports-color - ts-node @@ -9509,7 +9509,7 @@ snapshots: typedarray@0.0.6: {} - typescript@5.5.3: {} + typescript@5.6.3: {} uglify-js@3.19.0: optional: true