From 45c0b70150b92291e15328c2b1bbae9f8eba8d4d Mon Sep 17 00:00:00 2001 From: umaranis Date: Fri, 9 Feb 2024 07:20:54 +1100 Subject: [PATCH] build: add @types/node package --- demos/playground/package.json | 1 + pnpm-lock.yaml | 84 +++++++++++++++++++---------------- 2 files changed, 46 insertions(+), 39 deletions(-) diff --git a/demos/playground/package.json b/demos/playground/package.json index 2e7a3d2..d070ba3 100644 --- a/demos/playground/package.json +++ b/demos/playground/package.json @@ -67,6 +67,7 @@ "@size-limit/preset-app": "^8.2.6", "@sveltejs/vite-plugin-svelte": "^2.4.1", "@tsconfig/svelte": "^4.0.1", + "@types/node": "^20.11.16", "@typescript-eslint/eslint-plugin": "^5.59.1", "@typescript-eslint/parser": "^5.59.1", "concurrently": "^8.0.1", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index e8c6c76..2429001 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -50,7 +50,7 @@ importers: version: 5.1.3 vite: specifier: ^4.3.1 - version: 4.3.9 + version: 4.3.9(@types/node@20.11.16) demos/playground: dependencies: @@ -76,6 +76,9 @@ importers: '@tsconfig/svelte': specifier: ^4.0.1 version: 4.0.1 + '@types/node': + specifier: ^20.11.16 + version: 20.11.16 '@typescript-eslint/eslint-plugin': specifier: ^5.59.1 version: 5.59.11(@typescript-eslint/parser@5.59.11)(eslint@8.43.0)(typescript@5.1.3) @@ -132,7 +135,7 @@ importers: version: 9.0.0 vite: specifier: ^4.3.1 - version: 4.3.9 + version: 4.3.9(@types/node@20.11.16) demos/richtext-editor: dependencies: @@ -178,7 +181,7 @@ importers: version: 5.1.3 vite: specifier: ^4.3.1 - version: 4.3.9 + version: 4.3.9(@types/node@20.11.16) demos/sveltekit: dependencies: @@ -212,7 +215,7 @@ importers: version: 5.1.3 vite: specifier: ^4.3.1 - version: 4.3.9 + version: 4.3.9(@types/node@20.11.16) packages/svelte-lexical: dependencies: @@ -1926,7 +1929,7 @@ packages: engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} dependencies: '@jest/types': 29.5.0 - '@types/node': 20.3.1 + '@types/node': 20.11.16 chalk: 4.1.2 jest-message-util: 29.5.0 jest-util: 29.5.0 @@ -1947,14 +1950,14 @@ packages: '@jest/test-result': 29.5.0 '@jest/transform': 29.5.0 '@jest/types': 29.5.0 - '@types/node': 20.3.1 + '@types/node': 20.11.16 ansi-escapes: 4.3.2 chalk: 4.1.2 ci-info: 3.8.0 exit: 0.1.2 graceful-fs: 4.2.11 jest-changed-files: 29.5.0 - jest-config: 29.5.0(@types/node@20.3.1) + jest-config: 29.5.0(@types/node@20.11.16) jest-haste-map: 29.5.0 jest-message-util: 29.5.0 jest-regex-util: 29.4.3 @@ -1981,7 +1984,7 @@ packages: dependencies: '@jest/fake-timers': 29.5.0 '@jest/types': 29.5.0 - '@types/node': 20.3.1 + '@types/node': 20.11.16 jest-mock: 29.5.0 dev: true @@ -2008,7 +2011,7 @@ packages: dependencies: '@jest/types': 29.5.0 '@sinonjs/fake-timers': 10.1.0 - '@types/node': 20.3.1 + '@types/node': 20.11.16 jest-message-util: 29.5.0 jest-mock: 29.5.0 jest-util: 29.5.0 @@ -2041,7 +2044,7 @@ packages: '@jest/transform': 29.5.0 '@jest/types': 29.5.0 '@jridgewell/trace-mapping': 0.3.18 - '@types/node': 20.3.1 + '@types/node': 20.11.16 chalk: 4.1.2 collect-v8-coverage: 1.0.1 exit: 0.1.2 @@ -2129,7 +2132,7 @@ packages: '@jest/schemas': 29.4.3 '@types/istanbul-lib-coverage': 2.0.4 '@types/istanbul-reports': 3.0.1 - '@types/node': 20.3.1 + '@types/node': 20.11.16 '@types/yargs': 17.0.24 chalk: 4.1.2 dev: true @@ -2363,7 +2366,7 @@ packages: engines: {node: '>=16'} hasBin: true dependencies: - '@types/node': 20.4.2 + '@types/node': 20.11.16 playwright-core: 1.36.1 optionalDependencies: fsevents: 2.3.2 @@ -2562,7 +2565,7 @@ packages: sirv: 2.0.3 svelte: 4.2.8 undici: 5.22.1 - vite: 4.3.9 + vite: 4.3.9(@types/node@20.11.16) transitivePeerDependencies: - supports-color dev: true @@ -2578,7 +2581,7 @@ packages: '@sveltejs/vite-plugin-svelte': 2.4.2(svelte@4.2.8)(vite@4.3.9) debug: 4.3.4 svelte: 4.2.8 - vite: 4.3.9 + vite: 4.3.9(@types/node@20.11.16) transitivePeerDependencies: - supports-color dev: true @@ -2597,7 +2600,7 @@ packages: magic-string: 0.30.5 svelte: 4.2.8 svelte-hmr: 0.15.2(svelte@4.2.8) - vite: 4.3.9 + vite: 4.3.9(@types/node@20.11.16) vitefu: 0.2.4(vite@4.3.9) transitivePeerDependencies: - supports-color @@ -2694,7 +2697,7 @@ packages: /@types/graceful-fs@4.1.6: resolution: {integrity: sha512-Sig0SNORX9fdW+bQuTEovKj3uHcUL6LQKbCrrqb1X7J6/ReAbhCXRAhc+SMejhLELFj2QcyuxmUooZ4bt5ReSw==} dependencies: - '@types/node': 20.3.1 + '@types/node': 20.11.16 dev: true /@types/istanbul-lib-coverage@2.0.4: @@ -2723,7 +2726,7 @@ packages: /@types/jsdom@20.0.1: resolution: {integrity: sha512-d0r18sZPmMQr1eG35u12FZfhIXNrnsPU/g5wvRKCUf/tOGilKKwYMYGqh33BNR6ba+2gkHw1EUiHoN3mn7E5IQ==} dependencies: - '@types/node': 20.3.1 + '@types/node': 20.11.16 '@types/tough-cookie': 4.0.2 parse5: 7.1.2 dev: true @@ -2746,12 +2749,10 @@ packages: resolution: {integrity: sha512-Hwx9EUgdwf2GLarOjQp5ZH8ZmblzcbTBC2wtQWNKARBSxM9ezRIAUpeDTgoQRAFB0+8CNWXVA9+MaSOzOF3nPg==} dev: true - /@types/node@20.3.1: - resolution: {integrity: sha512-EhcH/wvidPy1WeML3TtYFGR83UzjxeWRen9V402T8aUGYsCHOmfoisV3ZSg03gAFIbLq8TnWOJ0f4cALtnSEUg==} - dev: true - - /@types/node@20.4.2: - resolution: {integrity: sha512-Dd0BYtWgnWJKwO1jkmTrzofjK2QXXcai0dmtzvIBhcA+RsG5h8R3xlyta0kGOZRNfL9GuRtb1knmPEhQrePCEw==} + /@types/node@20.11.16: + resolution: {integrity: sha512-gKb0enTmRCzXSSUJDq6/sPcqrfCv2mkkG6Jt/clpn5eiCbKTY+SgZUxo+p8ZKMof5dCp9vHQUAB7wOUTod22wQ==} + dependencies: + undici-types: 5.26.5 dev: true /@types/prettier@2.7.3: @@ -2797,7 +2798,7 @@ packages: resolution: {integrity: sha512-oJoftv0LSuaDZE3Le4DbKX+KS9G36NzOeSap90UIK0yMA/NhKJhqlSGtNDORNRaIbQfzjXDrQa0ytJ6mNRGz/Q==} requiresBuild: true dependencies: - '@types/node': 20.4.2 + '@types/node': 20.11.16 dev: true optional: true @@ -5203,7 +5204,7 @@ packages: '@jest/expect': 29.5.0 '@jest/test-result': 29.5.0 '@jest/types': 29.5.0 - '@types/node': 20.3.1 + '@types/node': 20.11.16 chalk: 4.1.2 co: 4.6.0 dedent: 0.7.0 @@ -5240,7 +5241,7 @@ packages: exit: 0.1.2 graceful-fs: 4.2.11 import-local: 3.1.0 - jest-config: 29.5.0(@types/node@20.3.1) + jest-config: 29.5.0(@types/node@20.11.16) jest-util: 29.5.0 jest-validate: 29.5.0 prompts: 2.4.2 @@ -5251,7 +5252,7 @@ packages: - ts-node dev: true - /jest-config@29.5.0(@types/node@20.3.1): + /jest-config@29.5.0(@types/node@20.11.16): resolution: {integrity: sha512-kvDUKBnNJPNBmFFOhDbm59iu1Fii1Q6SxyhXfvylq3UTHbg6o7j/g8k2dZyXWLvfdKB1vAPxNZnMgtKJcmu3kA==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} peerDependencies: @@ -5266,7 +5267,7 @@ packages: '@babel/core': 7.22.5 '@jest/test-sequencer': 29.5.0 '@jest/types': 29.5.0 - '@types/node': 20.3.1 + '@types/node': 20.11.16 babel-jest: 29.5.0(@babel/core@7.22.5) chalk: 4.1.2 ci-info: 3.8.0 @@ -5331,7 +5332,7 @@ packages: '@jest/fake-timers': 29.5.0 '@jest/types': 29.5.0 '@types/jsdom': 20.0.1 - '@types/node': 20.3.1 + '@types/node': 20.11.16 jest-mock: 29.5.0 jest-util: 29.5.0 jsdom: 20.0.3 @@ -5348,7 +5349,7 @@ packages: '@jest/environment': 29.5.0 '@jest/fake-timers': 29.5.0 '@jest/types': 29.5.0 - '@types/node': 20.3.1 + '@types/node': 20.11.16 jest-mock: 29.5.0 jest-util: 29.5.0 dev: true @@ -5364,7 +5365,7 @@ packages: dependencies: '@jest/types': 29.5.0 '@types/graceful-fs': 4.1.6 - '@types/node': 20.3.1 + '@types/node': 20.11.16 anymatch: 3.1.3 fb-watchman: 2.0.2 graceful-fs: 4.2.11 @@ -5415,7 +5416,7 @@ packages: engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} dependencies: '@jest/types': 29.5.0 - '@types/node': 20.3.1 + '@types/node': 20.11.16 jest-util: 29.5.0 dev: true @@ -5470,7 +5471,7 @@ packages: '@jest/test-result': 29.5.0 '@jest/transform': 29.5.0 '@jest/types': 29.5.0 - '@types/node': 20.3.1 + '@types/node': 20.11.16 chalk: 4.1.2 emittery: 0.13.1 graceful-fs: 4.2.11 @@ -5501,7 +5502,7 @@ packages: '@jest/test-result': 29.5.0 '@jest/transform': 29.5.0 '@jest/types': 29.5.0 - '@types/node': 20.3.1 + '@types/node': 20.11.16 chalk: 4.1.2 cjs-module-lexer: 1.2.3 collect-v8-coverage: 1.0.1 @@ -5556,7 +5557,7 @@ packages: engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} dependencies: '@jest/types': 29.5.0 - '@types/node': 20.3.1 + '@types/node': 20.11.16 chalk: 4.1.2 ci-info: 3.8.0 graceful-fs: 4.2.11 @@ -5581,7 +5582,7 @@ packages: dependencies: '@jest/test-result': 29.5.0 '@jest/types': 29.5.0 - '@types/node': 20.3.1 + '@types/node': 20.11.16 ansi-escapes: 4.3.2 chalk: 4.1.2 emittery: 0.13.1 @@ -5593,7 +5594,7 @@ packages: resolution: {integrity: sha512-NcrQnevGoSp4b5kg+akIpthoAFHxPBcb5P6mYPY0fUNT+sSvmtu6jlkEle3anczUKIKEbMxFimk9oTP/tpIPgA==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} dependencies: - '@types/node': 20.3.1 + '@types/node': 20.11.16 jest-util: 29.5.0 merge-stream: 2.0.0 supports-color: 8.1.1 @@ -7584,6 +7585,10 @@ packages: through: 2.3.8 dev: true + /undici-types@5.26.5: + resolution: {integrity: sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==} + dev: true + /undici@5.22.1: resolution: {integrity: sha512-Ji2IJhFXZY0x/0tVBXeQwgPlLWw13GVzpsWPQ3rV50IFMMof2I55PZZxtm4P6iNq+L5znYN9nSTAq0ZyE6lSJw==} engines: {node: '>=14.0'} @@ -7671,7 +7676,7 @@ packages: engines: {node: '>= 0.8'} dev: true - /vite@4.3.9: + /vite@4.3.9(@types/node@20.11.16): resolution: {integrity: sha512-qsTNZjO9NoJNW7KnOrgYwczm0WctJ8m/yqYAMAK9Lxt4SoySUfS5S8ia9K7JHpa3KEeMfyF8LoJ3c5NeBJy6pg==} engines: {node: ^14.18.0 || >=16.0.0} hasBin: true @@ -7696,6 +7701,7 @@ packages: terser: optional: true dependencies: + '@types/node': 20.11.16 esbuild: 0.17.19 postcss: 8.4.26 rollup: 3.26.2 @@ -7711,7 +7717,7 @@ packages: vite: optional: true dependencies: - vite: 4.3.9 + vite: 4.3.9(@types/node@20.11.16) dev: true /w3c-xmlserializer@4.0.0: