From ea6f9f1e7db2ea2fff679f783fe96a22a03a4afd Mon Sep 17 00:00:00 2001 From: syuilo Date: Thu, 30 Mar 2023 13:46:25 +0900 Subject: [PATCH] tweak misskey-js config --- packages/misskey-js/.swcrc | 23 ++ .../{jest.config.ts => jest.config.cjs} | 4 +- packages/misskey-js/package.json | 28 +- pnpm-lock.yaml | 313 +++--------------- 4 files changed, 82 insertions(+), 286 deletions(-) create mode 100644 packages/misskey-js/.swcrc rename packages/misskey-js/{jest.config.ts => jest.config.cjs} (99%) diff --git a/packages/misskey-js/.swcrc b/packages/misskey-js/.swcrc new file mode 100644 index 000000000..0504a2d38 --- /dev/null +++ b/packages/misskey-js/.swcrc @@ -0,0 +1,23 @@ +{ + "$schema": "https://json.schemastore.org/swcrc", + "jsc": { + "parser": { + "syntax": "typescript", + "dynamicImport": true, + "decorators": true + }, + "transform": { + "legacyDecorator": true, + "decoratorMetadata": true + }, + "experimental": { + "keepImportAssertions": true + }, + "baseUrl": "src", + "paths": { + "@/*": ["*"] + }, + "target": "es2022" + }, + "minify": false +} diff --git a/packages/misskey-js/jest.config.ts b/packages/misskey-js/jest.config.cjs similarity index 99% rename from packages/misskey-js/jest.config.ts rename to packages/misskey-js/jest.config.cjs index 6d7eeddfe..e5a74170e 100644 --- a/packages/misskey-js/jest.config.ts +++ b/packages/misskey-js/jest.config.cjs @@ -3,7 +3,7 @@ * https://jestjs.io/docs/en/configuration.html */ -export default { +module.exports = { // All imported modules in your tests should be mocked automatically // automock: false, @@ -174,7 +174,7 @@ export default { // A map from regular expressions to paths to transformers transform: { - "^.+\\.(ts|tsx)$": "ts-jest" + "^.+\\.(t|j)sx?$": ["@swc/jest"], }, // An array of regexp pattern strings that are matched against all source file paths, matched files will skip transformation diff --git a/packages/misskey-js/package.json b/packages/misskey-js/package.json index 89472bf85..a4b835a4d 100644 --- a/packages/misskey-js/package.json +++ b/packages/misskey-js/package.json @@ -5,43 +5,43 @@ "main": "./built/index.js", "types": "./built/index.d.ts", "scripts": { - "build": "tsc", - "tsc": "tsc", + "build": "swc src -d built -D", "tsd": "tsd", "api": "pnpm api-extractor run --local --verbose", "api-prod": "pnpm api-extractor run --verbose", - "lint": "eslint . --ext .js,.jsx,.ts,.tsx", + "eslint": "eslint . --ext .js,.jsx,.ts,.tsx", + "typecheck": "tsc --noEmit", + "lint": "pnpm typecheck && pnpm eslint", "jest": "jest --coverage --detectOpenHandles", - "test": "pnpm jest && pnpm tsd", - "eslint": "pnpm lint", - "typecheck": "tsc --noEmit" + "test": "pnpm jest && pnpm tsd" }, "repository": { "type": "git", "url": "git+https://github.com/misskey-dev/misskey.js.git" }, "devDependencies": { - "@microsoft/api-extractor": "^7.19.3", - "@types/jest": "^29.5.0", + "@microsoft/api-extractor": "7.34.4", + "@types/jest": "29.5.0", "@types/node": "18.15.11", "@typescript-eslint/eslint-plugin": "5.57.0", "@typescript-eslint/parser": "5.57.0", + "@swc/jest": "0.2.24", "eslint": "8.37.0", "jest": "^29.5.0", "jest-fetch-mock": "^3.0.3", - "jest-websocket-mock": "^2.2.1", - "mock-socket": "^9.0.8", - "ts-jest": "^29.0.5", - "ts-node": "10.4.0", - "tsd": "^0.19.1", + "jest-websocket-mock": "2.4.0", + "mock-socket": "9.2.1", + "tsd": "0.28.1", "typescript": "5.0.2" }, "files": [ "built" ], "dependencies": { + "@swc/cli": "0.1.62", + "@swc/core": "1.3.42", "autobind-decorator": "^2.4.0", - "eventemitter3": "^4.0.7", + "eventemitter3": "5.0.0", "reconnecting-websocket": "^4.4.0" } } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 4c7ce67c9..7c5648814 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -583,41 +583,43 @@ importers: packages/misskey-js: specifiers: - '@microsoft/api-extractor': ^7.19.3 - '@types/jest': ^29.5.0 + '@microsoft/api-extractor': 7.34.4 + '@swc/cli': 0.1.62 + '@swc/core': 1.3.42 + '@swc/jest': 0.2.24 + '@types/jest': 29.5.0 '@types/node': 18.15.11 '@typescript-eslint/eslint-plugin': 5.57.0 '@typescript-eslint/parser': 5.57.0 autobind-decorator: ^2.4.0 eslint: 8.37.0 - eventemitter3: ^4.0.7 + eventemitter3: 5.0.0 jest: ^29.5.0 jest-fetch-mock: ^3.0.3 - jest-websocket-mock: ^2.2.1 - mock-socket: ^9.0.8 + jest-websocket-mock: 2.4.0 + mock-socket: 9.2.1 reconnecting-websocket: ^4.4.0 - ts-jest: ^29.0.5 - ts-node: 10.4.0 - tsd: ^0.19.1 + tsd: 0.28.1 typescript: 5.0.2 dependencies: + '@swc/cli': 0.1.62_@swc+core@1.3.42 + '@swc/core': 1.3.42 autobind-decorator: 2.4.0 - eventemitter3: 4.0.7 + eventemitter3: 5.0.0 reconnecting-websocket: 4.4.0 devDependencies: '@microsoft/api-extractor': 7.34.4_@types+node@18.15.11 + '@swc/jest': 0.2.24_@swc+core@1.3.42 '@types/jest': 29.5.0 '@types/node': 18.15.11 '@typescript-eslint/eslint-plugin': 5.57.0_s5k7qbmvzkal3edwy7gcxmnteu '@typescript-eslint/parser': 5.57.0_bcnce6t2n5ss3lv2getliffzhq eslint: 8.37.0 - jest: 29.5.0_mhctpqqk2vq4mqhtnomhsukqkq + jest: 29.5.0_@types+node@18.15.11 jest-fetch-mock: 3.0.3 jest-websocket-mock: 2.4.0 mock-socket: 9.2.1 - ts-jest: 29.0.5_44ttdtjaknnkcgzh5px4h2qxl4 - ts-node: 10.4.0_qj46uwwzcluhgvra3n2zhrviru - tsd: 0.19.1 + tsd: 0.28.1 typescript: 5.0.2 packages/sw: @@ -2075,18 +2077,6 @@ packages: resolution: {integrity: sha512-RJu5IWzH6vcygwLsx9KEqzwjnEqApPkSFViMzxCRbe0IuAXt2ZlSUmYKgLFZY+YJIdaZ+/P7PwiUcZ7GYH3Msw==} dev: false - /@cspotcode/source-map-consumer/0.8.0: - resolution: {integrity: sha512-41qniHzTU8yAGbCp04ohlmSrZf8bkf/iJsl3V0dRGsQN/5GFfx+LbCSsCpp2gqrqjTVg/K6O8ycoV35JIwAzAg==} - engines: {node: '>= 12'} - dev: true - - /@cspotcode/source-map-support/0.7.0: - resolution: {integrity: sha512-X4xqRHqN8ACt2aHVe51OxeA2HjbcL4MqFqXkrmQszJ1NOUuUu5u6Vqx/0lZSVNku7velL5FC/s5uEAj1lsBMhA==} - engines: {node: '>=12'} - dependencies: - '@cspotcode/source-map-consumer': 0.8.0 - dev: true - /@cypress/request/2.88.11: resolution: {integrity: sha512-M83/wfQ1EkspjkE2lNWNV5ui2Cv7UCv1swW1DqljahbzLVWltcsexQh8jYtuS/vzFXP+HySntGM83ZXA9fn17w==} engines: {node: '>= 6'} @@ -2580,48 +2570,6 @@ packages: - ts-node dev: true - /@jest/core/29.5.0_ts-node@10.4.0: - resolution: {integrity: sha512-28UzQc7ulUrOQw1IsN/kv1QES3q2kkbl/wGslyhAclqZ/8cMdB5M68BffkIdSJgKBUt50d3hbwJ92XESlE7LiQ==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - peerDependencies: - node-notifier: ^8.0.1 || ^9.0.0 || ^10.0.0 - peerDependenciesMeta: - node-notifier: - optional: true - dependencies: - '@jest/console': 29.5.0 - '@jest/reporters': 29.5.0 - '@jest/test-result': 29.5.0 - '@jest/transform': 29.5.0 - '@jest/types': 29.5.0 - '@types/node': 18.15.11 - ansi-escapes: 4.3.2 - chalk: 4.1.2 - ci-info: 3.7.1 - exit: 0.1.2 - graceful-fs: 4.2.10 - jest-changed-files: 29.5.0 - jest-config: 29.5.0_mhctpqqk2vq4mqhtnomhsukqkq - jest-haste-map: 29.5.0 - jest-message-util: 29.5.0 - jest-regex-util: 29.4.3 - jest-resolve: 29.5.0 - jest-resolve-dependencies: 29.5.0 - jest-runner: 29.5.0 - jest-runtime: 29.5.0 - jest-snapshot: 29.5.0 - jest-util: 29.5.0 - jest-validate: 29.5.0 - jest-watcher: 29.5.0 - micromatch: 4.0.5 - pretty-format: 29.5.0 - slash: 3.0.0 - strip-ansi: 6.0.1 - transitivePeerDependencies: - - supports-color - - ts-node - dev: true - /@jest/create-cache-key-function/27.5.1: resolution: {integrity: sha512-dmH1yW+makpTSURTy8VzdUwFnfQh1G8R+DxO2Ho2FFmBbKFEVm+3jWdvFhE2VqB/LATCTokkP0dotjyQyw5/AQ==} engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} @@ -3336,6 +3284,26 @@ packages: source-map: 0.7.4 dev: false + /@swc/cli/0.1.62_@swc+core@1.3.42: + resolution: {integrity: sha512-kOFLjKY3XH1DWLfXL1/B5MizeNorHR8wHKEi92S/Zi9Md/AK17KSqR8MgyRJ6C1fhKHvbBCl8wboyKAFXStkYw==} + engines: {node: '>= 12.13'} + hasBin: true + peerDependencies: + '@swc/core': ^1.2.66 + chokidar: ^3.5.1 + peerDependenciesMeta: + chokidar: + optional: true + dependencies: + '@mole-inc/bin-wrapper': 8.0.1 + '@swc/core': 1.3.42 + commander: 7.2.0 + fast-glob: 3.2.12 + semver: 7.3.8 + slash: 3.0.0 + source-map: 0.7.4 + dev: false + /@swc/core-android-arm64/1.3.11: resolution: {integrity: sha512-M7FamR3kFpVTyTw73FzKcOZmS7/TWHX75eqtwBTaU9fW4shf0KTLr/h9DnMxNKAnwUMeub/lqlINUe5EKFIKwQ==} engines: {node: '>=10'} @@ -3641,25 +3609,8 @@ packages: engines: {node: '>= 10'} dev: false - /@tsconfig/node10/1.0.9: - resolution: {integrity: sha512-jNsYVVxU8v5g43Erja32laIDHXeoNvFEpX33OK4d6hljo3jDhCBDhx5dhCCTMWUojscpAagGiRkBKxpdl9fxqA==} - dev: true - - /@tsconfig/node12/1.0.11: - resolution: {integrity: sha512-cqefuRsh12pWyGsIoBKJA9luFu3mRxCA+ORZvA4ktLSzIuCUtWVxGIuXigEwO5/ywWFMZ2QEGKWvkZG1zDMTag==} - dev: true - - /@tsconfig/node14/1.0.3: - resolution: {integrity: sha512-ysT8mhdixWK6Hw3i1V2AeRqZ5WfXg1G43mqoYlM2nc6388Fq5jcXyr5mRsqViLx/GJYdoL0bfXD8nmF+Zn/Iow==} - dev: true - - /@tsconfig/node16/1.0.3: - resolution: {integrity: sha512-yOlFc+7UtL/89t2ZhjPvvB/DeAr3r+Dq58IgzsFkOAvVC6NMJXmCGjbptdXdR9qsX7pKcTL+s87FtYREi2dEEQ==} - dev: true - - /@tsd/typescript/4.5.5: - resolution: {integrity: sha512-TxQ9QiUT94ZjKu++ta/iwTMVHsix4ApohnaHPTSd58WQuTjPIELP0tUYcW7lT6psz7yZiU4eRw+X4v/XV830Sw==} - hasBin: true + /@tsd/typescript/5.0.2: + resolution: {integrity: sha512-UgFiSalbDaWrkMBQv8rHetnlwj3HVZtJo6i2aGLe50I6XdlPZFdGRfM2GOaP+i3Tm6p+YcyEql3yoi3ZPs/6Pw==} dev: true /@types/accepts/1.3.5: @@ -4777,10 +4728,6 @@ packages: readable-stream: 3.6.0 dev: false - /arg/4.1.3: - resolution: {integrity: sha512-58S9QDqG0Xx27YwPSt9fJxivjYl432YCwfDMfZ+71RAqUrZef7LrKQZ3LHLOwCS4FLNBplP533Zx895SeOCHvA==} - dev: true - /arg/5.0.2: resolution: {integrity: sha512-PYjyFOLKQ9y57JvQ6QLo8dAgNqswh8M1RMJYdQduT6xbWSgK36P/Z/v+p888pM69jMMfS8Xd8F6I1kQ/I9HUGg==} dev: true @@ -5328,13 +5275,6 @@ packages: update-browserslist-db: 1.0.10_browserslist@4.21.4 dev: true - /bs-logger/0.2.6: - resolution: {integrity: sha512-pd8DCoxmbgc7hyPKOvxtqNcjYoOsABPQdcCUjGp3d42VR2CX1ORhk2A87oqqu5R1kk+76nsxZupkmyd+MVtCog==} - engines: {node: '>= 6'} - dependencies: - fast-json-stable-stringify: 2.1.0 - dev: true - /bser/2.1.1: resolution: {integrity: sha512-gQxTNE/GAfIIrmHLUE3oJyp5FO6HRBfhjnw4/wMmA63ZGDJnWBmgY/lyQBpnDUkGmAhbSe39tx2d/iTOAfglwQ==} dependencies: @@ -6157,10 +6097,6 @@ packages: readable-stream: 3.6.0 dev: false - /create-require/1.1.1: - resolution: {integrity: sha512-dcKFX3jn0MpIaXjisoRvexIJVEKzaq7z2rZKxf+MSr9TkdmHmsU4m2lcLojrj/FHl8mk5VxMmYA+ftRkP/3oKQ==} - dev: true - /cron-parser/4.7.1: resolution: {integrity: sha512-WguFaoQ0hQ61SgsCZLHUcNbAvlK0lypKXu62ARguefYmjzaOXIVRNrAmyXzabTwUn4sQvQLkk6bjH+ipGfw8bA==} engines: {node: '>=12.0.0'} @@ -6654,11 +6590,6 @@ packages: engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} dev: true - /diff/4.0.2: - resolution: {integrity: sha512-58lmxKSA4BNyLz+HHMUzlOEpg09FV+ev6ZMe3vJihgdxzgcwZ8VoEEPmALCZG9LmqfVoNMMKpttIYTVG6uDY7A==} - engines: {node: '>=0.3.1'} - dev: true - /diff/5.1.0: resolution: {integrity: sha512-D+mk+qE8VC/PAUrlAU34N+VfXev0ghe5ywmpqrawphmVZc1bEfn56uo9qpyGp1p4xpzOHkSW4ztBd6L7Xx4ACw==} engines: {node: '>=0.3.1'} @@ -9660,34 +9591,6 @@ packages: - ts-node dev: true - /jest-cli/29.5.0_mhctpqqk2vq4mqhtnomhsukqkq: - resolution: {integrity: sha512-L1KcP1l4HtfwdxXNFCL5bmUbLQiKrakMUriBEcc1Vfz6gx31ORKdreuWvmQVBit+1ss9NNR3yxjwfwzZNdQXJw==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - hasBin: true - peerDependencies: - node-notifier: ^8.0.1 || ^9.0.0 || ^10.0.0 - peerDependenciesMeta: - node-notifier: - optional: true - dependencies: - '@jest/core': 29.5.0_ts-node@10.4.0 - '@jest/test-result': 29.5.0 - '@jest/types': 29.5.0 - chalk: 4.1.2 - exit: 0.1.2 - graceful-fs: 4.2.10 - import-local: 3.1.0 - jest-config: 29.5.0_mhctpqqk2vq4mqhtnomhsukqkq - jest-util: 29.5.0 - jest-validate: 29.5.0 - prompts: 2.4.2 - yargs: 17.6.2 - transitivePeerDependencies: - - '@types/node' - - supports-color - - ts-node - dev: true - /jest-config/29.5.0_@types+node@18.15.11: resolution: {integrity: sha512-kvDUKBnNJPNBmFFOhDbm59iu1Fii1Q6SxyhXfvylq3UTHbg6o7j/g8k2dZyXWLvfdKB1vAPxNZnMgtKJcmu3kA==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} @@ -9727,46 +9630,6 @@ packages: - supports-color dev: true - /jest-config/29.5.0_mhctpqqk2vq4mqhtnomhsukqkq: - resolution: {integrity: sha512-kvDUKBnNJPNBmFFOhDbm59iu1Fii1Q6SxyhXfvylq3UTHbg6o7j/g8k2dZyXWLvfdKB1vAPxNZnMgtKJcmu3kA==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - peerDependencies: - '@types/node': '*' - ts-node: '>=9.0.0' - peerDependenciesMeta: - '@types/node': - optional: true - ts-node: - optional: true - dependencies: - '@babel/core': 7.20.12 - '@jest/test-sequencer': 29.5.0 - '@jest/types': 29.5.0 - '@types/node': 18.15.11 - babel-jest: 29.5.0_@babel+core@7.20.12 - chalk: 4.1.2 - ci-info: 3.7.1 - deepmerge: 4.2.2 - glob: 7.2.3 - graceful-fs: 4.2.10 - jest-circus: 29.5.0 - jest-environment-node: 29.5.0 - jest-get-type: 29.4.3 - jest-regex-util: 29.4.3 - jest-resolve: 29.5.0 - jest-runner: 29.5.0 - jest-util: 29.5.0 - jest-validate: 29.5.0 - micromatch: 4.0.5 - parse-json: 5.2.0 - pretty-format: 29.5.0 - slash: 3.0.0 - strip-json-comments: 3.1.1 - ts-node: 10.4.0_qj46uwwzcluhgvra3n2zhrviru - transitivePeerDependencies: - - supports-color - dev: true - /jest-diff/28.1.3: resolution: {integrity: sha512-8RqP1B/OXzjjTWkqMX67iqgwBVJRgCyKD3L9nq+6ZqJMdvjE8RgHktqZ6jNrkdMT+dJuYNI3rhQpxaz7drJHfw==} engines: {node: ^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0} @@ -10104,26 +9967,6 @@ packages: - ts-node dev: true - /jest/29.5.0_mhctpqqk2vq4mqhtnomhsukqkq: - resolution: {integrity: sha512-juMg3he2uru1QoXX078zTa7pO85QyB9xajZc6bU+d9yEGwrKX6+vGmJQ3UdVZsvTEUARIdObzH68QItim6OSSQ==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - hasBin: true - peerDependencies: - node-notifier: ^8.0.1 || ^9.0.0 || ^10.0.0 - peerDependenciesMeta: - node-notifier: - optional: true - dependencies: - '@jest/core': 29.5.0_ts-node@10.4.0 - '@jest/types': 29.5.0 - import-local: 3.1.0 - jest-cli: 29.5.0_mhctpqqk2vq4mqhtnomhsukqkq - transitivePeerDependencies: - - '@types/node' - - supports-color - - ts-node - dev: true - /jju/1.4.0: resolution: {integrity: sha512-8wb9Yw966OSxApiCt0K3yNJL8pnNeIv+OEq2YMidz4FKP6nonSRoOXc80iXY4JaN2FC11B9qsNmDsm+ZOfMROA==} dev: true @@ -10603,6 +10446,7 @@ packages: /lodash.memoize/4.1.2: resolution: {integrity: sha512-t7j+NzmgnQzTAYXcsHYLgimltOV1MXHtlOWf6GjL9Kj8GK5FInw5JotxvbOs+IvV1/Dzo04/fCGfLVs7aXb4Ag==} + dev: false /lodash.merge/4.6.2: resolution: {integrity: sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==} @@ -10706,10 +10550,6 @@ packages: dependencies: semver: 6.3.0 - /make-error/1.3.6: - resolution: {integrity: sha512-s8UhlNe7vPKomQhC1qFelMokr/Sc3AgNbso3n74mVPA5LTZwkB9NlXf4XPamLxJE8h0gh73rM94xvwRT2CVInw==} - dev: true - /make-fetch-happen/10.2.1: resolution: {integrity: sha512-NgOPbRiaQM10DYXvN3/hhGVI2M5MtITFryzBGxHM5p4wnFxsVCbxkrBrDsk+EZ5OB4jEOT7AjDxtdF+KVEFT7w==} engines: {node: ^12.13.0 || ^14.15.0 || >=16.0.0} @@ -14355,69 +14195,6 @@ packages: escape-string-regexp: 5.0.0 dev: false - /ts-jest/29.0.5_44ttdtjaknnkcgzh5px4h2qxl4: - resolution: {integrity: sha512-PL3UciSgIpQ7f6XjVOmbi96vmDHUqAyqDr8YxzopDqX3kfgYtX1cuNeBjP+L9sFXi6nzsGGA6R3fP3DDDJyrxA==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - hasBin: true - peerDependencies: - '@babel/core': '>=7.0.0-beta.0 <8' - '@jest/types': ^29.0.0 - babel-jest: ^29.0.0 - esbuild: '*' - jest: ^29.0.0 - typescript: '>=4.3' - peerDependenciesMeta: - '@babel/core': - optional: true - '@jest/types': - optional: true - babel-jest: - optional: true - esbuild: - optional: true - dependencies: - bs-logger: 0.2.6 - fast-json-stable-stringify: 2.1.0 - jest: 29.5.0_mhctpqqk2vq4mqhtnomhsukqkq - jest-util: 29.5.0 - json5: 2.2.3 - lodash.memoize: 4.1.2 - make-error: 1.3.6 - semver: 7.3.8 - typescript: 5.0.2 - yargs-parser: 21.1.1 - dev: true - - /ts-node/10.4.0_qj46uwwzcluhgvra3n2zhrviru: - resolution: {integrity: sha512-g0FlPvvCXSIO1JDF6S232P5jPYqBkRL9qly81ZgAOSU7rwI0stphCgd2kLiCrU9DjQCrJMWEqcNSjQL02s6d8A==} - 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.9 - '@tsconfig/node12': 1.0.11 - '@tsconfig/node14': 1.0.3 - '@tsconfig/node16': 1.0.3 - '@types/node': 18.15.11 - acorn: 8.8.2 - 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 - yn: 3.1.1 - dev: true - /tsc-alias/1.8.5: resolution: {integrity: sha512-Y3ka0olwSRdbHPyX5kXhYY2aoBKuT53DFdeY+PpQUR4hg5M/b8eIRmC8dL4FBdd0wT366iWc6iDUUGe6QwI7mg==} hasBin: true @@ -14448,14 +14225,15 @@ packages: strip-bom: 3.0.0 dev: false - /tsd/0.19.1: - resolution: {integrity: sha512-pSwchclr+ADdxlahRUQXUrdAIOjXx1T1PQV+fLfVLuo/S4z+T00YU84fH8iPlZxyA2pWgJjo42BG1p9SDb4NOw==} - engines: {node: '>=12'} + /tsd/0.28.1: + resolution: {integrity: sha512-FeYrfJ05QgEMW/qOukNCr4fAJHww4SaKnivAXRv4g5kj4FeLpNV7zH4dorzB9zAfVX4wmA7zWu/wQf7kkcvfbw==} + engines: {node: '>=14.16'} hasBin: true dependencies: - '@tsd/typescript': 4.5.5 + '@tsd/typescript': 5.0.2 eslint-formatter-pretty: 4.1.0 globby: 11.1.0 + jest-diff: 29.5.0 meow: 9.0.0 path-exists: 4.0.0 read-pkg-up: 7.0.1 @@ -15555,11 +15333,6 @@ packages: fd-slicer: 1.1.0 dev: true - /yn/3.1.1: - resolution: {integrity: sha512-Ux4ygGWsu2c7isFWe8Yu1YluJmqVhxqK2cLXNQA5AcC3QfbGNpM7fu0Y8b/z16pXLnFxZYvWhd3fhBY9DLmC6Q==} - engines: {node: '>=6'} - dev: true - /yocto-queue/0.1.0: resolution: {integrity: sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==} engines: {node: '>=10'}