diff --git a/.nvmrc b/.nvmrc index 020fc41..7af24b7 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -v20.12.1 +22.11.0 diff --git a/package.json b/package.json index 520645f..aab6a34 100644 --- a/package.json +++ b/package.json @@ -48,7 +48,7 @@ "@testing-library/react": "^16.0.0", "@types/canvas-confetti": "^1.6.4", "@types/jest": "^29.5.12", - "@types/node": "20.11.30", + "@types/node": "22.8.7", "@types/react": "18.2.73", "@types/react-dom": "18.2.23", "@types/react-no-ssr": "^1.1.7", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 6601c5f..206ab7a 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -85,8 +85,8 @@ importers: specifier: ^29.5.12 version: 29.5.13 '@types/node': - specifier: 20.11.30 - version: 20.11.30 + specifier: 22.8.7 + version: 22.8.7 '@types/react': specifier: 18.2.73 version: 18.2.73 @@ -119,7 +119,7 @@ importers: version: 2.29.1(@typescript-eslint/parser@6.21.0(eslint@9.10.0)(typescript@5.4.5))(eslint-import-resolver-typescript@3.6.1)(eslint@9.10.0) jest: specifier: ^29.7.0 - version: 29.7.0(@types/node@20.11.30)(babel-plugin-macros@3.1.0) + version: 29.7.0(@types/node@22.8.7)(babel-plugin-macros@3.1.0) jest-environment-jsdom: specifier: ^29.7.0 version: 29.7.0 @@ -1389,8 +1389,8 @@ packages: '@types/lodash@4.17.0': resolution: {integrity: sha512-t7dhREVv6dbNj0q17X12j7yDG4bD/DHYX7o5/DbDxobP0HnGPgpRz2Ej77aL7TZT3DSw13fqUTj8J4mMnqa7WA==} - '@types/node@20.11.30': - resolution: {integrity: sha512-dHM6ZxwlmuZaRmUPfv1p+KrdD1Dci04FbdEm/9wEMouFqxYoFl5aMkt0VMAUtYRQDyYvD41WJLukhq/ha3YuTw==} + '@types/node@22.8.7': + resolution: {integrity: sha512-LidcG+2UeYIWcMuMUpBKOnryBWG/rnmOHQR5apjn8myTQcx3rinFRn7DcIFhMnS0PPFSC6OafdIKEad0lj6U0Q==} '@types/parse-json@4.0.2': resolution: {integrity: sha512-dISoDXWWQwUquiKsyZ4Ng+HX2KsPL7LyHKHQwgGFEA3IaKac4Obd+h2a/a6waisAoepJlBcx9paWqjA8/HVjCw==} @@ -3485,8 +3485,8 @@ packages: unbox-primitive@1.0.2: resolution: {integrity: sha512-61pPlCD9h51VoreyJ0BReideM3MDKMKnh6+V9L08331ipq6Q8OFXZYiqP6n/tbHx4s5I9uRhcye6BrbkizkBDw==} - undici-types@5.26.5: - resolution: {integrity: sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==} + undici-types@6.19.8: + resolution: {integrity: sha512-ve2KP6f/JnbPBFyobGHuerC9g1FYGn/F8n1LWTwNxCEzd6IfqTwUQcNXgEtmmQ6DlRrC1hrSrBnCZPokRrDHjw==} universalify@0.2.0: resolution: {integrity: sha512-CJ1QgKmNg3CwvAv/kOFmtnEN05f0D/cn9QntgNOQlQF9dgvVTHj3t+8JPdjqawCHk7V/KA+fbUqzZ9XWhcqPUg==} @@ -4835,7 +4835,7 @@ snapshots: '@jest/console@29.7.0': dependencies: '@jest/types': 29.6.3 - '@types/node': 20.11.30 + '@types/node': 22.8.7 chalk: 4.1.2 jest-message-util: 29.7.0 jest-util: 29.7.0 @@ -4848,14 +4848,14 @@ snapshots: '@jest/test-result': 29.7.0 '@jest/transform': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 20.11.30 + '@types/node': 22.8.7 ansi-escapes: 4.3.2 chalk: 4.1.2 ci-info: 3.9.0 exit: 0.1.2 graceful-fs: 4.2.11 jest-changed-files: 29.7.0 - jest-config: 29.7.0(@types/node@20.11.30)(babel-plugin-macros@3.1.0) + jest-config: 29.7.0(@types/node@22.8.7)(babel-plugin-macros@3.1.0) jest-haste-map: 29.7.0 jest-message-util: 29.7.0 jest-regex-util: 29.6.3 @@ -4880,7 +4880,7 @@ snapshots: dependencies: '@jest/fake-timers': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 20.11.30 + '@types/node': 22.8.7 jest-mock: 29.7.0 '@jest/expect-utils@29.7.0': @@ -4898,7 +4898,7 @@ snapshots: dependencies: '@jest/types': 29.6.3 '@sinonjs/fake-timers': 10.3.0 - '@types/node': 20.11.30 + '@types/node': 22.8.7 jest-message-util: 29.7.0 jest-mock: 29.7.0 jest-util: 29.7.0 @@ -4920,7 +4920,7 @@ snapshots: '@jest/transform': 29.7.0 '@jest/types': 29.6.3 '@jridgewell/trace-mapping': 0.3.25 - '@types/node': 20.11.30 + '@types/node': 22.8.7 chalk: 4.1.2 collect-v8-coverage: 1.0.2 exit: 0.1.2 @@ -4990,7 +4990,7 @@ snapshots: '@jest/schemas': 29.6.3 '@types/istanbul-lib-coverage': 2.0.6 '@types/istanbul-reports': 3.0.4 - '@types/node': 20.11.30 + '@types/node': 22.8.7 '@types/yargs': 17.0.32 chalk: 4.1.2 @@ -5181,7 +5181,7 @@ snapshots: '@types/graceful-fs@4.1.9': dependencies: - '@types/node': 20.11.30 + '@types/node': 22.8.7 '@types/istanbul-lib-coverage@2.0.6': {} @@ -5200,7 +5200,7 @@ snapshots: '@types/jsdom@20.0.1': dependencies: - '@types/node': 20.11.30 + '@types/node': 22.8.7 '@types/tough-cookie': 4.0.5 parse5: 7.1.2 @@ -5212,9 +5212,9 @@ snapshots: '@types/lodash@4.17.0': {} - '@types/node@20.11.30': + '@types/node@22.8.7': dependencies: - undici-types: 5.26.5 + undici-types: 6.19.8 '@types/parse-json@4.0.2': {} @@ -5241,7 +5241,7 @@ snapshots: '@types/ws@8.5.10': dependencies: - '@types/node': 20.11.30 + '@types/node': 22.8.7 '@types/yargs-parser@21.0.3': {} @@ -5657,13 +5657,13 @@ snapshots: path-type: 4.0.0 yaml: 1.10.2 - create-jest@29.7.0(@types/node@20.11.30)(babel-plugin-macros@3.1.0): + create-jest@29.7.0(@types/node@22.8.7)(babel-plugin-macros@3.1.0): dependencies: '@jest/types': 29.6.3 chalk: 4.1.2 exit: 0.1.2 graceful-fs: 4.2.11 - jest-config: 29.7.0(@types/node@20.11.30)(babel-plugin-macros@3.1.0) + jest-config: 29.7.0(@types/node@22.8.7)(babel-plugin-macros@3.1.0) jest-util: 29.7.0 prompts: 2.4.2 transitivePeerDependencies: @@ -6599,7 +6599,7 @@ snapshots: '@jest/expect': 29.7.0 '@jest/test-result': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 20.11.30 + '@types/node': 22.8.7 chalk: 4.1.2 co: 4.6.0 dedent: 1.5.1(babel-plugin-macros@3.1.0) @@ -6619,16 +6619,16 @@ snapshots: - babel-plugin-macros - supports-color - jest-cli@29.7.0(@types/node@20.11.30)(babel-plugin-macros@3.1.0): + jest-cli@29.7.0(@types/node@22.8.7)(babel-plugin-macros@3.1.0): dependencies: '@jest/core': 29.7.0(babel-plugin-macros@3.1.0) '@jest/test-result': 29.7.0 '@jest/types': 29.6.3 chalk: 4.1.2 - create-jest: 29.7.0(@types/node@20.11.30)(babel-plugin-macros@3.1.0) + create-jest: 29.7.0(@types/node@22.8.7)(babel-plugin-macros@3.1.0) exit: 0.1.2 import-local: 3.1.0 - jest-config: 29.7.0(@types/node@20.11.30)(babel-plugin-macros@3.1.0) + jest-config: 29.7.0(@types/node@22.8.7)(babel-plugin-macros@3.1.0) jest-util: 29.7.0 jest-validate: 29.7.0 yargs: 17.7.2 @@ -6638,7 +6638,7 @@ snapshots: - supports-color - ts-node - jest-config@29.7.0(@types/node@20.11.30)(babel-plugin-macros@3.1.0): + jest-config@29.7.0(@types/node@22.8.7)(babel-plugin-macros@3.1.0): dependencies: '@babel/core': 7.24.4 '@jest/test-sequencer': 29.7.0 @@ -6663,7 +6663,7 @@ snapshots: slash: 3.0.0 strip-json-comments: 3.1.1 optionalDependencies: - '@types/node': 20.11.30 + '@types/node': 22.8.7 transitivePeerDependencies: - babel-plugin-macros - supports-color @@ -6693,7 +6693,7 @@ snapshots: '@jest/fake-timers': 29.7.0 '@jest/types': 29.6.3 '@types/jsdom': 20.0.1 - '@types/node': 20.11.30 + '@types/node': 22.8.7 jest-mock: 29.7.0 jest-util: 29.7.0 jsdom: 20.0.3 @@ -6707,7 +6707,7 @@ snapshots: '@jest/environment': 29.7.0 '@jest/fake-timers': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 20.11.30 + '@types/node': 22.8.7 jest-mock: 29.7.0 jest-util: 29.7.0 @@ -6717,7 +6717,7 @@ snapshots: dependencies: '@jest/types': 29.6.3 '@types/graceful-fs': 4.1.9 - '@types/node': 20.11.30 + '@types/node': 22.8.7 anymatch: 3.1.3 fb-watchman: 2.0.2 graceful-fs: 4.2.11 @@ -6758,7 +6758,7 @@ snapshots: jest-mock@29.7.0: dependencies: '@jest/types': 29.6.3 - '@types/node': 20.11.30 + '@types/node': 22.8.7 jest-util: 29.7.0 jest-pnp-resolver@1.2.3(jest-resolve@29.7.0): @@ -6793,7 +6793,7 @@ snapshots: '@jest/test-result': 29.7.0 '@jest/transform': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 20.11.30 + '@types/node': 22.8.7 chalk: 4.1.2 emittery: 0.13.1 graceful-fs: 4.2.11 @@ -6821,7 +6821,7 @@ snapshots: '@jest/test-result': 29.7.0 '@jest/transform': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 20.11.30 + '@types/node': 22.8.7 chalk: 4.1.2 cjs-module-lexer: 1.2.3 collect-v8-coverage: 1.0.2 @@ -6867,7 +6867,7 @@ snapshots: jest-util@29.7.0: dependencies: '@jest/types': 29.6.3 - '@types/node': 20.11.30 + '@types/node': 22.8.7 chalk: 4.1.2 ci-info: 3.9.0 graceful-fs: 4.2.11 @@ -6886,7 +6886,7 @@ snapshots: dependencies: '@jest/test-result': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 20.11.30 + '@types/node': 22.8.7 ansi-escapes: 4.3.2 chalk: 4.1.2 emittery: 0.13.1 @@ -6895,17 +6895,17 @@ snapshots: jest-worker@29.7.0: dependencies: - '@types/node': 20.11.30 + '@types/node': 22.8.7 jest-util: 29.7.0 merge-stream: 2.0.0 supports-color: 8.1.1 - jest@29.7.0(@types/node@20.11.30)(babel-plugin-macros@3.1.0): + jest@29.7.0(@types/node@22.8.7)(babel-plugin-macros@3.1.0): dependencies: '@jest/core': 29.7.0(babel-plugin-macros@3.1.0) '@jest/types': 29.6.3 import-local: 3.1.0 - jest-cli: 29.7.0(@types/node@20.11.30)(babel-plugin-macros@3.1.0) + jest-cli: 29.7.0(@types/node@22.8.7)(babel-plugin-macros@3.1.0) transitivePeerDependencies: - '@types/node' - babel-plugin-macros @@ -7729,7 +7729,7 @@ snapshots: has-symbols: 1.0.3 which-boxed-primitive: 1.0.2 - undici-types@5.26.5: {} + undici-types@6.19.8: {} universalify@0.2.0: {}