diff --git a/package.json b/package.json index 64937fd4..774de016 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,7 @@ }, "dependencies": { "@tailwindcss/forms": "^0.5.6", - "@types/node": "^20.6.2", + "@types/node": "^20.6.3", "@types/react": "18.2.22", "@types/react-dom": "18.2.7", "@typescript-eslint/eslint-plugin": "^6.7.2", @@ -30,7 +30,7 @@ "react": "18.2.0", "react-dom": "18.2.0", "react-icons": "^4.11.0", - "sonner": "^0.7.4", + "sonner": "^1.0.3", "tailwindcss": "3.3.3", "ts-exif-parser": "^0.2.2", "typescript": "5.2.2" diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 68c52e09..4ab47a8b 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -2,7 +2,7 @@ lockfileVersion: 5.4 specifiers: '@tailwindcss/forms': ^0.5.6 - '@types/node': ^20.6.2 + '@types/node': ^20.6.3 '@types/react': 18.2.22 '@types/react-dom': 18.2.7 '@typescript-eslint/eslint-plugin': ^6.7.2 @@ -24,14 +24,14 @@ specifiers: react: 18.2.0 react-dom: 18.2.0 react-icons: ^4.11.0 - sonner: ^0.7.4 + sonner: ^1.0.3 tailwindcss: 3.3.3 ts-exif-parser: ^0.2.2 typescript: 5.2.2 dependencies: '@tailwindcss/forms': 0.5.6_tailwindcss@3.3.3 - '@types/node': 20.6.2 + '@types/node': 20.6.3 '@types/react': 18.2.22 '@types/react-dom': 18.2.7 '@typescript-eslint/eslint-plugin': 6.7.2_ojtszseoihgstv5sdp7hbt6z6y @@ -53,7 +53,7 @@ dependencies: react: 18.2.0 react-dom: 18.2.0_react@18.2.0 react-icons: 4.11.0_react@18.2.0 - sonner: 0.7.4_biqbaboplfbrettd7655fr4n2y + sonner: 1.0.3_biqbaboplfbrettd7655fr4n2y tailwindcss: 3.3.3 ts-exif-parser: 0.2.2 typescript: 5.2.2 @@ -90,20 +90,20 @@ packages: resolution: {integrity: sha512-XktuhWlJ5g+3TJXc5upd9Ks1HutSArik6jf2eAjYFyIOf4ej3RN+184cZbzDvbPnuTJIUhPKKJE3cIsYTiAT3w==} engines: {node: '>=6.9.0'} dependencies: - '@babel/highlight': 7.22.13 + '@babel/highlight': 7.22.20 chalk: 2.4.2 dev: false - /@babel/helper-validator-identifier/7.22.15: - resolution: {integrity: sha512-4E/F9IIEi8WR94324mbDUMo074YTheJmd7eZF5vITTeYchqAi6sYXRLHUVsmkdmY4QjfKTcB2jB7dVP3NaBElQ==} + /@babel/helper-validator-identifier/7.22.20: + resolution: {integrity: sha512-Y4OZ+ytlatR8AI+8KZfKuL5urKp7qey08ha31L8b3BwewJAoJamTzyvxPR/5D+KkdJCGPq/+8TukHBlY10FX9A==} engines: {node: '>=6.9.0'} dev: false - /@babel/highlight/7.22.13: - resolution: {integrity: sha512-C/BaXcnnvBCmHTpz/VGZ8jgtE2aYlW4hxDhseJAWZb7gqGM/qtCK6iZUb0TyKFf7BOUsBH7Q7fkRsDRhg1XklQ==} + /@babel/highlight/7.22.20: + resolution: {integrity: sha512-dkdMCN3py0+ksCgYmGG8jKeGA/8Tk+gJwSYYlFGxG5lmhfKNoAy004YpLxpS1W2J8m/EK2Ew+yOs9pVRwO89mg==} engines: {node: '>=6.9.0'} dependencies: - '@babel/helper-validator-identifier': 7.22.15 + '@babel/helper-validator-identifier': 7.22.20 chalk: 2.4.2 js-tokens: 4.0.0 dev: false @@ -191,7 +191,7 @@ packages: dependencies: '@jest/fake-timers': 29.7.0 '@jest/types': 29.6.3 - '@types/node': 20.6.2 + '@types/node': 20.6.3 jest-mock: 29.7.0 dev: false @@ -201,7 +201,7 @@ packages: dependencies: '@jest/types': 29.6.3 '@sinonjs/fake-timers': 10.3.0 - '@types/node': 20.6.2 + '@types/node': 20.6.3 jest-message-util: 29.7.0 jest-mock: 29.7.0 jest-util: 29.7.0 @@ -221,7 +221,7 @@ packages: '@jest/schemas': 29.6.3 '@types/istanbul-lib-coverage': 2.0.4 '@types/istanbul-reports': 3.0.1 - '@types/node': 20.6.2 + '@types/node': 20.6.3 '@types/yargs': 17.0.24 chalk: 4.1.2 dev: false @@ -378,8 +378,8 @@ packages: resolution: {integrity: sha512-dhPeilub1NuIG0X5Kvhh9lH4iW3ZsHlnzwgwbOlgwQ2wG1IqFzsgHqmKPk3WzsdWAeaxKJxgM0+W433RmN45GA==} dev: false - /@rushstack/eslint-patch/1.3.3: - resolution: {integrity: sha512-0xd7qez0AQ+MbHatZTlI1gu5vkG8r7MYRUJAHPAHJBmGLs16zpkrpAVLvjQKQOqaXPDUBwOiJzNc00znHSCVBw==} + /@rushstack/eslint-patch/1.4.0: + resolution: {integrity: sha512-cEjvTPU32OM9lUFegJagO0mRnIn+rbqrG89vV8/xLnLFX0DoR0r1oy5IlTga71Q7uT3Qus7qm7wgeiMT/+Irlg==} dev: false /@sinclair/typebox/0.27.8: @@ -437,33 +437,33 @@ packages: /@types/jsdom/20.0.1: resolution: {integrity: sha512-d0r18sZPmMQr1eG35u12FZfhIXNrnsPU/g5wvRKCUf/tOGilKKwYMYGqh33BNR6ba+2gkHw1EUiHoN3mn7E5IQ==} dependencies: - '@types/node': 20.6.2 + '@types/node': 20.6.3 '@types/tough-cookie': 4.0.3 parse5: 7.1.2 dev: false - /@types/json-schema/7.0.12: - resolution: {integrity: sha512-Hr5Jfhc9eYOQNPYO5WLDq/n4jqijdHNlDXjuAQkkt+mWdQR+XJToOHrsD4cPaMXpn6KO7y2+wM8AZEs8VpBLVA==} + /@types/json-schema/7.0.13: + resolution: {integrity: sha512-RbSSoHliUbnXj3ny0CNFOoxrIDV6SUGyStHsvDqosw6CkdPV8TtWGlfecuK4ToyMEAql6pzNxgCFKanovUzlgQ==} dev: false /@types/json5/0.0.29: resolution: {integrity: sha512-dRLjCWHYg4oaA77cxO64oO+7JwCwnIzkZPdrrC71jQmQtlhM556pwKo5bUzqvZndkVbeFLIIi+9TC40JNF5hNQ==} dev: false - /@types/node/20.6.2: - resolution: {integrity: sha512-Y+/1vGBHV/cYk6OI1Na/LHzwnlNCAfU3ZNGrc1LdRe/LAIbdDPTTv/HU3M7yXN448aTVDq3eKRm2cg7iKLb8gw==} + /@types/node/20.6.3: + resolution: {integrity: sha512-HksnYH4Ljr4VQgEy2lTStbCKv/P590tmPe5HqOnv9Gprffgv5WXAY+Y5Gqniu0GGqeTCUdBnzC3QSrzPkBkAMA==} dev: false /@types/pg/8.6.6: resolution: {integrity: sha512-O2xNmXebtwVekJDD+02udOncjVcMZQuTEQEMpKJ0ZRf5E7/9JJX3izhKUcUifBkyKpljyUM6BTgy2trmviKlpw==} dependencies: - '@types/node': 20.6.2 + '@types/node': 20.6.3 pg-protocol: 1.6.0 pg-types: 2.2.0 dev: false - /@types/prop-types/15.7.5: - resolution: {integrity: sha512-JCB8C6SnDoQf0cNycqd/35A7MjcnK+ZTqE7judS6o7utxUCg6imJg3QK2qzHKszlTjcj2cn+NwMB2i96ubpj7w==} + /@types/prop-types/15.7.6: + resolution: {integrity: sha512-RK/kBbYOQQHLYj9Z95eh7S6t7gq4Ojt/NT8HTk8bWVhA5DaF+5SMnxHKkP4gPNN3wAZkKP+VjAf0ebtYzf+fxg==} dev: false /@types/react-dom/18.2.7: @@ -475,7 +475,7 @@ packages: /@types/react/18.2.22: resolution: {integrity: sha512-60fLTOLqzarLED2O3UQImc/lsNRgG0jE/a1mPW9KjMemY0LMITWEsbS4VvZ4p6rorEHd5YKxxmMKSDK505GHpA==} dependencies: - '@types/prop-types': 15.7.5 + '@types/prop-types': 15.7.6 '@types/scheduler': 0.16.3 csstype: 3.1.2 dev: false @@ -484,8 +484,8 @@ packages: resolution: {integrity: sha512-5cJ8CB4yAx7BH1oMvdU0Jh9lrEXyPkar6F9G/ERswkCuvP4KQZfZkSjcMbAICCpQTN4OuZn8tz0HiKv9TGZgrQ==} dev: false - /@types/semver/7.5.1: - resolution: {integrity: sha512-cJRQXpObxfNKkFAZbJl2yjWtJCqELQIdShsogr1d2MilP8dKD9TE/nEKHkJgUNHdGKCQaf9HbIynuV2csLGVLg==} + /@types/semver/7.5.2: + resolution: {integrity: sha512-7aqorHYgdNO4DM36stTiGO3DvKoex9TQRwsJU6vMaFGyqpBA1MNZkz+PG3gaNUPpTAOYhT1WR7M1JyA3fbS9Cw==} dev: false /@types/stack-utils/2.0.1: @@ -617,8 +617,8 @@ packages: eslint: ^7.0.0 || ^8.0.0 dependencies: '@eslint-community/eslint-utils': 4.4.0_eslint@8.49.0 - '@types/json-schema': 7.0.12 - '@types/semver': 7.5.1 + '@types/json-schema': 7.0.13 + '@types/semver': 7.5.2 '@typescript-eslint/scope-manager': 6.7.2 '@typescript-eslint/types': 6.7.2 '@typescript-eslint/typescript-estree': 6.7.2_typescript@5.2.2 @@ -775,7 +775,7 @@ packages: dependencies: call-bind: 1.0.2 define-properties: 1.2.1 - es-abstract: 1.22.1 + es-abstract: 1.22.2 get-intrinsic: 1.2.1 is-string: 1.0.7 dev: false @@ -791,7 +791,7 @@ packages: dependencies: call-bind: 1.0.2 define-properties: 1.2.1 - es-abstract: 1.22.1 + es-abstract: 1.22.2 es-shim-unscopables: 1.0.0 get-intrinsic: 1.2.1 dev: false @@ -802,7 +802,7 @@ packages: dependencies: call-bind: 1.0.2 define-properties: 1.2.1 - es-abstract: 1.22.1 + es-abstract: 1.22.2 es-shim-unscopables: 1.0.0 dev: false @@ -812,7 +812,7 @@ packages: dependencies: call-bind: 1.0.2 define-properties: 1.2.1 - es-abstract: 1.22.1 + es-abstract: 1.22.2 es-shim-unscopables: 1.0.0 dev: false @@ -821,7 +821,7 @@ packages: dependencies: call-bind: 1.0.2 define-properties: 1.2.1 - es-abstract: 1.22.1 + es-abstract: 1.22.2 es-shim-unscopables: 1.0.0 get-intrinsic: 1.2.1 dev: false @@ -833,7 +833,7 @@ packages: array-buffer-byte-length: 1.0.0 call-bind: 1.0.2 define-properties: 1.2.1 - es-abstract: 1.22.1 + es-abstract: 1.22.2 get-intrinsic: 1.2.1 is-array-buffer: 3.0.2 is-shared-array-buffer: 1.0.2 @@ -861,7 +861,7 @@ packages: postcss: ^8.1.0 dependencies: browserslist: 4.21.10 - caniuse-lite: 1.0.30001534 + caniuse-lite: 1.0.30001538 fraction.js: 4.3.6 normalize-range: 0.1.2 picocolors: 1.0.0 @@ -913,8 +913,8 @@ packages: engines: {node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7} hasBin: true dependencies: - caniuse-lite: 1.0.30001534 - electron-to-chromium: 1.4.520 + caniuse-lite: 1.0.30001538 + electron-to-chromium: 1.4.525 node-releases: 2.0.13 update-browserslist-db: 1.0.11_browserslist@4.21.10 dev: false @@ -966,8 +966,8 @@ packages: engines: {node: '>=16'} dev: false - /caniuse-lite/1.0.30001534: - resolution: {integrity: sha512-vlPVrhsCS7XaSh2VvWluIQEzVhefrUQcEsQWSS5A5V+dM07uv1qHeQzAOTGIMy9i3e9bH15+muvI/UHojVgS/Q==} + /caniuse-lite/1.0.30001538: + resolution: {integrity: sha512-HWJnhnID+0YMtGlzcp3T9drmBJUVDchPJ08tpUGFLs9CYlwWPH2uLgpHn8fND5pCgXVtnGS3H4QR9XLMHVNkHw==} dev: false /chalk/2.4.2: @@ -1202,8 +1202,8 @@ packages: webidl-conversions: 7.0.0 dev: false - /electron-to-chromium/1.4.520: - resolution: {integrity: sha512-Frfus2VpYADsrh1lB3v/ft/WVFlVzOIm+Q0p7U7VqHI6qr7NWHYKe+Wif3W50n7JAFoBsWVsoU0+qDks6WQ60g==} + /electron-to-chromium/1.4.525: + resolution: {integrity: sha512-GIZ620hDK4YmIqAWkscG4W6RwY6gOx1y5J6f4JUQwctiJrqH2oxZYU4mXHi35oV32tr630UcepBzSBGJ/WYcZA==} dev: false /emoji-regex/9.2.2: @@ -1223,8 +1223,8 @@ packages: engines: {node: '>=0.12'} dev: false - /es-abstract/1.22.1: - resolution: {integrity: sha512-ioRRcXMO6OFyRpyzV3kE1IIBd4WG5/kltnzdxSCqoP8CMGs/Li+M1uF5o7lOkZVFjDs+NLesthnF66Pg/0q0Lw==} + /es-abstract/1.22.2: + resolution: {integrity: sha512-YoxfFcDmhjOgWPWsV13+2RNjq1F6UQnfs+8TftwNqtzlmFzEXvlUwdrNrYeaizfjQzRMxkZ6ElWMOJIFKdVqwA==} engines: {node: '>= 0.4'} dependencies: array-buffer-byte-length: 1.0.0 @@ -1268,13 +1268,13 @@ packages: which-typed-array: 1.1.11 dev: false - /es-iterator-helpers/1.0.14: - resolution: {integrity: sha512-JgtVnwiuoRuzLvqelrvN3Xu7H9bu2ap/kQ2CrM62iidP8SKuD99rWU3CJy++s7IVL2qb/AjXPGR/E7i9ngd/Cw==} + /es-iterator-helpers/1.0.15: + resolution: {integrity: sha512-GhoY8uYqd6iwUl2kgjTm4CZAf6oo5mHK7BPqx3rKgx893YSsy0LGHV6gfqqQvZt/8xM8xeOnfXBCfqclMKkJ5g==} dependencies: asynciterator.prototype: 1.0.0 call-bind: 1.0.2 define-properties: 1.2.1 - es-abstract: 1.22.1 + es-abstract: 1.22.2 es-set-tostringtag: 2.0.1 function-bind: 1.1.1 get-intrinsic: 1.2.1 @@ -1283,7 +1283,7 @@ packages: has-proto: 1.0.1 has-symbols: 1.0.3 internal-slot: 1.0.5 - iterator.prototype: 1.1.1 + iterator.prototype: 1.1.2 safe-array-concat: 1.0.1 dev: false @@ -1353,7 +1353,7 @@ packages: optional: true dependencies: '@next/eslint-plugin-next': 13.5.1 - '@rushstack/eslint-patch': 1.3.3 + '@rushstack/eslint-patch': 1.4.0 '@typescript-eslint/parser': 6.7.2_rngtr6f3b25lvetpihwplgecf4 eslint: 8.49.0 eslint-import-resolver-node: 0.3.9 @@ -1373,7 +1373,7 @@ packages: dependencies: debug: 3.2.7 is-core-module: 2.13.0 - resolve: 1.22.4 + resolve: 1.22.6 transitivePeerDependencies: - supports-color dev: false @@ -1510,7 +1510,7 @@ packages: array.prototype.flatmap: 1.3.2 array.prototype.tosorted: 1.1.2 doctrine: 2.1.0 - es-iterator-helpers: 1.0.14 + es-iterator-helpers: 1.0.15 eslint: 8.49.0 estraverse: 5.3.0 jsx-ast-utils: 3.3.5 @@ -1678,13 +1678,13 @@ packages: resolution: {integrity: sha512-OHx4Qwrrt0E4jEIcI5/Xb+f+QmJYNj2rrK8wiIdQOIrB9WrrJL8cjZvXdXuBTkkEwEqLycb5BeZDV1o2i9bTew==} engines: {node: '>=12.0.0'} dependencies: - flatted: 3.2.7 + flatted: 3.2.9 keyv: 4.5.3 rimraf: 3.0.2 dev: false - /flatted/3.2.7: - resolution: {integrity: sha512-5nqDSxl8nn5BSNxyR3n4I6eDmbolI6WT+QqR547RwxQapgjQBmtktdP+HTBb/a/zLsbzERTONyUB5pefh5TtjQ==} + /flatted/3.2.9: + resolution: {integrity: sha512-36yxDn5H7OFZQla0/jFJmbIKTdZAQHngCedGxiMmpNfEZM0sdEeT+WczLQrjK6D7o2aiyLYDnkw0R3JK0Qv1RQ==} dev: false /for-each/0.3.3: @@ -1746,7 +1746,7 @@ packages: dependencies: call-bind: 1.0.2 define-properties: 1.2.1 - es-abstract: 1.22.1 + es-abstract: 1.22.2 functions-have-names: 1.2.3 dev: false @@ -2158,13 +2158,14 @@ packages: resolution: {integrity: sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==} dev: false - /iterator.prototype/1.1.1: - resolution: {integrity: sha512-9E+nePc8C9cnQldmNl6bgpTY6zI4OPRZd97fhJ/iVZ1GifIUDVV5F6x1nEDqpe8KaMEZGT4xgrwKQDxXnjOIZQ==} + /iterator.prototype/1.1.2: + resolution: {integrity: sha512-DR33HMMr8EzwuRL8Y9D3u2BMj8+RqSE850jfGu59kS7tbmPLzGkZmVSfyCFSDxuZiEY6Rzt3T2NA/qU+NwVj1w==} dependencies: define-properties: 1.2.1 get-intrinsic: 1.2.1 has-symbols: 1.0.3 reflect.getprototypeof: 1.0.4 + set-function-name: 2.0.1 dev: false /jest-environment-jsdom/29.7.0: @@ -2180,7 +2181,7 @@ packages: '@jest/fake-timers': 29.7.0 '@jest/types': 29.6.3 '@types/jsdom': 20.0.1 - '@types/node': 20.6.2 + '@types/node': 20.6.3 jest-mock: 29.7.0 jest-util: 29.7.0 jsdom: 20.0.3 @@ -2210,7 +2211,7 @@ packages: engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} dependencies: '@jest/types': 29.6.3 - '@types/node': 20.6.2 + '@types/node': 20.6.3 jest-util: 29.7.0 dev: false @@ -2219,7 +2220,7 @@ packages: engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} dependencies: '@jest/types': 29.6.3 - '@types/node': 20.6.2 + '@types/node': 20.6.3 chalk: 4.1.2 ci-info: 3.8.0 graceful-fs: 4.2.11 @@ -2279,7 +2280,7 @@ packages: whatwg-encoding: 2.0.0 whatwg-mimetype: 3.0.0 whatwg-url: 11.0.0 - ws: 8.14.1 + ws: 8.14.2 xml-name-validator: 4.0.0 transitivePeerDependencies: - bufferutil @@ -2496,7 +2497,7 @@ packages: '@next/env': 13.5.1 '@swc/helpers': 0.5.2 busboy: 1.6.0 - caniuse-lite: 1.0.30001534 + caniuse-lite: 1.0.30001538 postcss: 8.4.14 react: 18.2.0 react-dom: 18.2.0_react@18.2.0 @@ -2580,7 +2581,7 @@ packages: dependencies: call-bind: 1.0.2 define-properties: 1.2.1 - es-abstract: 1.22.1 + es-abstract: 1.22.2 dev: false /object.fromentries/2.0.7: @@ -2589,7 +2590,7 @@ packages: dependencies: call-bind: 1.0.2 define-properties: 1.2.1 - es-abstract: 1.22.1 + es-abstract: 1.22.2 dev: false /object.groupby/1.0.1: @@ -2597,7 +2598,7 @@ packages: dependencies: call-bind: 1.0.2 define-properties: 1.2.1 - es-abstract: 1.22.1 + es-abstract: 1.22.2 get-intrinsic: 1.2.1 dev: false @@ -2605,7 +2606,7 @@ packages: resolution: {integrity: sha512-fFI4VcYpRHvSLXxP7yiZOMAd331cPfd2p7PFDVbgUsYOfCT3tICVqXWngbjr4m49OvsBwUBQ6O2uQoJvy3RexA==} dependencies: define-properties: 1.2.1 - es-abstract: 1.22.1 + es-abstract: 1.22.2 dev: false /object.values/1.1.7: @@ -2614,7 +2615,7 @@ packages: dependencies: call-bind: 1.0.2 define-properties: 1.2.1 - es-abstract: 1.22.1 + es-abstract: 1.22.2 dev: false /once/1.4.0: @@ -2734,7 +2735,7 @@ packages: postcss: 8.4.30 postcss-value-parser: 4.2.0 read-cache: 1.0.0 - resolve: 1.22.4 + resolve: 1.22.6 dev: false /postcss-js/4.0.1_postcss@8.4.30: @@ -2939,7 +2940,7 @@ packages: dependencies: call-bind: 1.0.2 define-properties: 1.2.1 - es-abstract: 1.22.1 + es-abstract: 1.22.2 get-intrinsic: 1.2.1 globalthis: 1.0.3 which-builtin-type: 1.1.3 @@ -2971,8 +2972,8 @@ packages: resolution: {integrity: sha512-seS2Tj26TBVOC2NIc2rOe2y2ZO7efxITtLZcGSOnHHNOQ7CkiUBfw0Iw2ck6xkIhPwLhKNLS8BO+hEpngQlqzw==} dev: false - /resolve/1.22.4: - resolution: {integrity: sha512-PXNdCiPqDqeUou+w1C2eTQbNfxKSuMxqTCuvlmmMsk1NWHL5fRrhY6Pl0qEYYc6+QqGClco1Qj8XnjPego4wfg==} + /resolve/1.22.6: + resolution: {integrity: sha512-njhxM7mV12JfufShqGy3Rz8j11RPdLy4xi15UurGJeoHLfJpVXKdh3ueuOqbYUcDZnffr6X739JBo5LzyahEsw==} hasBin: true dependencies: is-core-module: 2.13.0 @@ -3093,8 +3094,8 @@ packages: engines: {node: '>=8'} dev: false - /sonner/0.7.4_biqbaboplfbrettd7655fr4n2y: - resolution: {integrity: sha512-xRVYOCTAxJge7hRGSwu7q+gIS9B2csuOZw8yNEaXe/qlncft5a7UmkttGNb4LOGu79rAB/GJ6JQbUMpJNf51Nw==} + /sonner/1.0.3_biqbaboplfbrettd7655fr4n2y: + resolution: {integrity: sha512-hBoA2zKuYW3lUnpx4K0vAn8j77YuYiwvP9sLQfieNS2pd5FkT20sMyPTDJnl9S+5T27ZJbwQRPiujwvDBwhZQg==} peerDependencies: react: ^18.0.0 react-dom: ^18.0.0 @@ -3132,7 +3133,7 @@ packages: dependencies: call-bind: 1.0.2 define-properties: 1.2.1 - es-abstract: 1.22.1 + es-abstract: 1.22.2 get-intrinsic: 1.2.1 has-symbols: 1.0.3 internal-slot: 1.0.5 @@ -3147,7 +3148,7 @@ packages: dependencies: call-bind: 1.0.2 define-properties: 1.2.1 - es-abstract: 1.22.1 + es-abstract: 1.22.2 dev: false /string.prototype.trimend/1.0.7: @@ -3155,7 +3156,7 @@ packages: dependencies: call-bind: 1.0.2 define-properties: 1.2.1 - es-abstract: 1.22.1 + es-abstract: 1.22.2 dev: false /string.prototype.trimstart/1.0.7: @@ -3163,7 +3164,7 @@ packages: dependencies: call-bind: 1.0.2 define-properties: 1.2.1 - es-abstract: 1.22.1 + es-abstract: 1.22.2 dev: false /strip-ansi/6.0.1: @@ -3262,7 +3263,7 @@ packages: postcss-load-config: 4.0.1_postcss@8.4.30 postcss-nested: 6.0.1_postcss@8.4.30 postcss-selector-parser: 6.0.13 - resolve: 1.22.4 + resolve: 1.22.6 sucrase: 3.34.0 transitivePeerDependencies: - ts-node @@ -3569,19 +3570,6 @@ packages: resolution: {integrity: sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==} dev: false - /ws/8.14.1: - resolution: {integrity: sha512-4OOseMUq8AzRBI/7SLMUwO+FEDnguetSk7KMb1sHwvF2w2Wv5Hoj0nlifx8vtGsftE/jWHojPy8sMMzYLJ2G/A==} - engines: {node: '>=10.0.0'} - peerDependencies: - bufferutil: ^4.0.1 - utf-8-validate: '>=5.0.2' - peerDependenciesMeta: - bufferutil: - optional: true - utf-8-validate: - optional: true - dev: false - /ws/8.14.1_2adebc2xdjqbcvbjxkodkhadp4: resolution: {integrity: sha512-4OOseMUq8AzRBI/7SLMUwO+FEDnguetSk7KMb1sHwvF2w2Wv5Hoj0nlifx8vtGsftE/jWHojPy8sMMzYLJ2G/A==} engines: {node: '>=10.0.0'} @@ -3598,6 +3586,19 @@ packages: utf-8-validate: 6.0.3 dev: false + /ws/8.14.2: + resolution: {integrity: sha512-wEBG1ftX4jcglPxgFCMJmZ2PLtSbJ2Peg6TmpJFTbe9GZYOQCDPdMYu/Tm0/bGZkw8paZnJY45J4K2PZrLYq8g==} + engines: {node: '>=10.0.0'} + peerDependencies: + bufferutil: ^4.0.1 + utf-8-validate: '>=5.0.2' + peerDependenciesMeta: + bufferutil: + optional: true + utf-8-validate: + optional: true + dev: false + /xml-name-validator/4.0.0: resolution: {integrity: sha512-ICP2e+jsHvAj2E2lIHxa5tjXRlKDJo4IdvPvCXbXQGdzSfmSpNVyIKMvoZHjDY9DP0zV17iI85o90vRFXNccRw==} engines: {node: '>=12'} diff --git a/src/app/layout.tsx b/src/app/layout.tsx index 79ce5152..64e68e36 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -6,7 +6,7 @@ import { BASE_URL, SITE_DESCRIPTION, SITE_TITLE } from '@/site/config'; import StateProvider from '@/state/AppStateProvider'; import ThemeProviderClient from '@/site/ThemeProviderClient'; import Nav from '@/components/Nav'; -import ToasterClient from '@/components/ToasterClient'; +import ToasterWithThemes from '@/components/ToasterWithThemes'; import '../site/globals.css'; @@ -77,7 +77,7 @@ export default function RootLayout({ - + diff --git a/src/components/ToasterClient.tsx b/src/components/ToasterWithThemes.tsx similarity index 83% rename from src/components/ToasterClient.tsx rename to src/components/ToasterWithThemes.tsx index a12b7581..63d0782f 100644 --- a/src/components/ToasterClient.tsx +++ b/src/components/ToasterWithThemes.tsx @@ -3,7 +3,7 @@ import { useTheme } from 'next-themes'; import { Toaster } from 'sonner'; -export default function ToasterClient() { +export default function ToasterWithThemes() { const { theme } = useTheme(); return ( ); -} \ No newline at end of file +}