diff --git a/democracy/desktop/package.json b/democracy/desktop/package.json index 0336c2f2..b92fa7c5 100644 --- a/democracy/desktop/package.json +++ b/democracy/desktop/package.json @@ -30,7 +30,7 @@ "dayjs": "1.11.10", "graphql": "16.8.1", "lodash-es": "4.17.21", - "next": "12.3.4", + "next": "14.1.1", "next-seo": "5.15.0", "react": "17.0.2", "react-chartjs-2": "4.3.1", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 4783c9e4..0f0bf069 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -349,11 +349,11 @@ importers: specifier: 4.17.21 version: 4.17.21 next: - specifier: 12.3.4 - version: 12.3.4(react-dom@17.0.2(react@17.0.2))(react@17.0.2) + specifier: 14.1.1 + version: 14.1.1(react-dom@17.0.2(react@17.0.2))(react@17.0.2) next-seo: specifier: 5.15.0 - version: 5.15.0(next@12.3.4(react-dom@17.0.2(react@17.0.2))(react@17.0.2))(react-dom@17.0.2(react@17.0.2))(react@17.0.2) + version: 5.15.0(next@14.1.1(react-dom@17.0.2(react@17.0.2))(react@17.0.2))(react-dom@17.0.2(react@17.0.2))(react@17.0.2) react: specifier: 17.0.2 version: 17.0.2 @@ -2975,8 +2975,8 @@ packages: '@next/bundle-analyzer@12.3.4': resolution: {integrity: sha512-eKjgRICzbLTmod0UnJcArFVs5uEAiuZwB6NCf84m+btW7jdylUVoOYf1wi5tA14xk5L9Lho7Prm6/XJ8gxYzfQ==} - '@next/env@12.3.4': - resolution: {integrity: sha512-H/69Lc5Q02dq3o+dxxy5O/oNxFsZpdL6WREtOOtOM1B/weonIwDXkekr1KV5DPVPr12IHFPrMrcJQ6bgPMfn7A==} + '@next/env@14.1.1': + resolution: {integrity: sha512-7CnQyD5G8shHxQIIg3c7/pSeYFeMhsNbpU/bmvH7ZnDql7mNRgg8O2JZrhrc/soFnfBnKP4/xXNiiSIPn2w8gA==} '@next/env@14.2.2': resolution: {integrity: sha512-sk72qRfM1Q90XZWYRoJKu/UWlTgihrASiYw/scb15u+tyzcze3bOuJ/UV6TBOQEeUaxOkRqGeuGUdiiuxc5oqw==} @@ -2987,20 +2987,8 @@ packages: '@next/eslint-plugin-next@14.1.4': resolution: {integrity: sha512-n4zYNLSyCo0Ln5b7qxqQeQ34OZKXwgbdcx6kmkQbywr+0k6M3Vinft0T72R6CDAcDrne2IAgSud4uWCzFgc5HA==} - '@next/swc-android-arm-eabi@12.3.4': - resolution: {integrity: sha512-cM42Cw6V4Bz/2+j/xIzO8nK/Q3Ly+VSlZJTa1vHzsocJRYz8KT6MrreXaci2++SIZCF1rVRCDgAg5PpqRibdIA==} - engines: {node: '>= 10'} - cpu: [arm] - os: [android] - - '@next/swc-android-arm64@12.3.4': - resolution: {integrity: sha512-5jf0dTBjL+rabWjGj3eghpLUxCukRhBcEJgwLedewEA/LJk2HyqCvGIwj5rH+iwmq1llCWbOky2dO3pVljrapg==} - engines: {node: '>= 10'} - cpu: [arm64] - os: [android] - - '@next/swc-darwin-arm64@12.3.4': - resolution: {integrity: sha512-DqsSTd3FRjQUR6ao0E1e2OlOcrF5br+uegcEGPVonKYJpcr0MJrtYmPxd4v5T6UCJZ+XzydF7eQo5wdGvSZAyA==} + '@next/swc-darwin-arm64@14.1.1': + resolution: {integrity: sha512-yDjSFKQKTIjyT7cFv+DqQfW5jsD+tVxXTckSe1KIouKk75t1qZmj/mV3wzdmFb0XHVGtyRjDMulfVG8uCKemOQ==} engines: {node: '>= 10'} cpu: [arm64] os: [darwin] @@ -3011,8 +2999,8 @@ packages: cpu: [arm64] os: [darwin] - '@next/swc-darwin-x64@12.3.4': - resolution: {integrity: sha512-PPF7tbWD4k0dJ2EcUSnOsaOJ5rhT3rlEt/3LhZUGiYNL8KvoqczFrETlUx0cUYaXe11dRA3F80Hpt727QIwByQ==} + '@next/swc-darwin-x64@14.1.1': + resolution: {integrity: sha512-KCQmBL0CmFmN8D64FHIZVD9I4ugQsDBBEJKiblXGgwn7wBCSe8N4Dx47sdzl4JAg39IkSN5NNrr8AniXLMb3aw==} engines: {node: '>= 10'} cpu: [x64] os: [darwin] @@ -3023,20 +3011,8 @@ packages: cpu: [x64] os: [darwin] - '@next/swc-freebsd-x64@12.3.4': - resolution: {integrity: sha512-KM9JXRXi/U2PUM928z7l4tnfQ9u8bTco/jb939pdFUHqc28V43Ohd31MmZD1QzEK4aFlMRaIBQOWQZh4D/E5lQ==} - engines: {node: '>= 10'} - cpu: [x64] - os: [freebsd] - - '@next/swc-linux-arm-gnueabihf@12.3.4': - resolution: {integrity: sha512-3zqD3pO+z5CZyxtKDTnOJ2XgFFRUBciOox6EWkoZvJfc9zcidNAQxuwonUeNts6Xbm8Wtm5YGIRC0x+12YH7kw==} - engines: {node: '>= 10'} - cpu: [arm] - os: [linux] - - '@next/swc-linux-arm64-gnu@12.3.4': - resolution: {integrity: sha512-kiX0vgJGMZVv+oo1QuObaYulXNvdH/IINmvdZnVzMO/jic/B8EEIGlZ8Bgvw8LCjH3zNVPO3mGrdMvnEEPEhKA==} + '@next/swc-linux-arm64-gnu@14.1.1': + resolution: {integrity: sha512-YDQfbWyW0JMKhJf/T4eyFr4b3tceTorQ5w2n7I0mNVTFOvu6CGEzfwT3RSAQGTi/FFMTFcuspPec/7dFHuP7Eg==} engines: {node: '>= 10'} cpu: [arm64] os: [linux] @@ -3047,8 +3023,8 @@ packages: cpu: [arm64] os: [linux] - '@next/swc-linux-arm64-musl@12.3.4': - resolution: {integrity: sha512-EETZPa1juczrKLWk5okoW2hv7D7WvonU+Cf2CgsSoxgsYbUCZ1voOpL4JZTOb6IbKMDo6ja+SbY0vzXZBUMvkQ==} + '@next/swc-linux-arm64-musl@14.1.1': + resolution: {integrity: sha512-fiuN/OG6sNGRN/bRFxRvV5LyzLB8gaL8cbDH5o3mEiVwfcMzyE5T//ilMmaTrnA8HLMS6hoz4cHOu6Qcp9vxgQ==} engines: {node: '>= 10'} cpu: [arm64] os: [linux] @@ -3059,8 +3035,8 @@ packages: cpu: [arm64] os: [linux] - '@next/swc-linux-x64-gnu@12.3.4': - resolution: {integrity: sha512-4csPbRbfZbuWOk3ATyWcvVFdD9/Rsdq5YHKvRuEni68OCLkfy4f+4I9OBpyK1SKJ00Cih16NJbHE+k+ljPPpag==} + '@next/swc-linux-x64-gnu@14.1.1': + resolution: {integrity: sha512-rv6AAdEXoezjbdfp3ouMuVqeLjE1Bin0AuE6qxE6V9g3Giz5/R3xpocHoAi7CufRR+lnkuUjRBn05SYJ83oKNQ==} engines: {node: '>= 10'} cpu: [x64] os: [linux] @@ -3071,8 +3047,8 @@ packages: cpu: [x64] os: [linux] - '@next/swc-linux-x64-musl@12.3.4': - resolution: {integrity: sha512-YeBmI+63Ro75SUiL/QXEVXQ19T++58aI/IINOyhpsRL1LKdyfK/35iilraZEFz9bLQrwy1LYAR5lK200A9Gjbg==} + '@next/swc-linux-x64-musl@14.1.1': + resolution: {integrity: sha512-YAZLGsaNeChSrpz/G7MxO3TIBLaMN8QWMr3X8bt6rCvKovwU7GqQlDu99WdvF33kI8ZahvcdbFsy4jAFzFX7og==} engines: {node: '>= 10'} cpu: [x64] os: [linux] @@ -3083,8 +3059,8 @@ packages: cpu: [x64] os: [linux] - '@next/swc-win32-arm64-msvc@12.3.4': - resolution: {integrity: sha512-Sd0qFUJv8Tj0PukAYbCCDbmXcMkbIuhnTeHm9m4ZGjCf6kt7E/RMs55Pd3R5ePjOkN7dJEuxYBehawTR/aPDSQ==} + '@next/swc-win32-arm64-msvc@14.1.1': + resolution: {integrity: sha512-1L4mUYPBMvVDMZg1inUYyPvFSduot0g73hgfD9CODgbr4xiTYe0VOMTZzaRqYJYBA9mana0x4eaAaypmWo1r5A==} engines: {node: '>= 10'} cpu: [arm64] os: [win32] @@ -3095,8 +3071,8 @@ packages: cpu: [arm64] os: [win32] - '@next/swc-win32-ia32-msvc@12.3.4': - resolution: {integrity: sha512-rt/vv/vg/ZGGkrkKcuJ0LyliRdbskQU+91bje+PgoYmxTZf/tYs6IfbmgudBJk6gH3QnjHWbkphDdRQrseRefQ==} + '@next/swc-win32-ia32-msvc@14.1.1': + resolution: {integrity: sha512-jvIE9tsuj9vpbbXlR5YxrghRfMuG0Qm/nZ/1KDHc+y6FpnZ/apsgh+G6t15vefU0zp3WSpTMIdXRUsNl/7RSuw==} engines: {node: '>= 10'} cpu: [ia32] os: [win32] @@ -3107,8 +3083,8 @@ packages: cpu: [ia32] os: [win32] - '@next/swc-win32-x64-msvc@12.3.4': - resolution: {integrity: sha512-DQ20JEfTBZAgF8QCjYfJhv2/279M6onxFjdG/+5B0Cyj00/EdBxiWb2eGGFgQhrBbNv/lsvzFbbi0Ptf8Vw/bg==} + '@next/swc-win32-x64-msvc@14.1.1': + resolution: {integrity: sha512-S6K6EHDU5+1KrBDLko7/c1MNy/Ya73pIAmvKeFwsF4RmBFJSO7/7YeD4FnZ4iBdzE69PpQ4sOMU9ORKeNuxe8A==} engines: {node: '>= 10'} cpu: [x64] os: [win32] @@ -3571,8 +3547,8 @@ packages: '@swc/counter@0.1.3': resolution: {integrity: sha512-e2BR4lsJkkRlKZ/qCHPw9ZaSxc0MVUd7gtbtaB7aMvHeJVYe8sOB8DBZkP2DtISHGSku9sCK6T6cnY0CtXrOCQ==} - '@swc/helpers@0.4.11': - resolution: {integrity: sha512-rEUrBSGIoSFuYxwBYtlUFMlE2CwGhmW+w9355/5oduSw8e5h2+Tj4UrAGNNgP9915++wj5vkQo0UuOBqOAq4nw==} + '@swc/helpers@0.5.2': + resolution: {integrity: sha512-E4KcWTpoLHqwPHLxidpOqQbcrZVgi0rsmmZXUle1jXmJfuIf/UWpczUJ7MZZ5tlxytgJXyp0w4PGkkeLiuIdZw==} '@swc/helpers@0.5.5': resolution: {integrity: sha512-KGYxvIOXcceOAbEk4bi/dVLEK9z8sZ0uBB3Il5b1rhfClSpcX0yfRO0KmTkqR2cnQDymwLB+25ZyMzICg/cm/A==} @@ -8416,20 +8392,17 @@ packages: react: '>=16.0.0' react-dom: '>=16.0.0' - next@12.3.4: - resolution: {integrity: sha512-VcyMJUtLZBGzLKo3oMxrEF0stxh8HwuW976pAzlHhI3t8qJ4SROjCrSh1T24bhrbjw55wfZXAbXPGwPt5FLRfQ==} - engines: {node: '>=12.22.0'} + next@14.1.1: + resolution: {integrity: sha512-McrGJqlGSHeaz2yTRPkEucxQKe5Zq7uPwyeHNmJaZNY4wx9E9QdxmTp310agFRoMuIYgQrCrT3petg13fSVOww==} + engines: {node: '>=18.17.0'} hasBin: true peerDependencies: - fibers: '>= 3.1.0' - node-sass: ^6.0.0 || ^7.0.0 - react: ^17.0.2 || ^18.0.0-0 - react-dom: ^17.0.2 || ^18.0.0-0 + '@opentelemetry/api': ^1.1.0 + react: ^18.2.0 + react-dom: ^18.2.0 sass: ^1.3.0 peerDependenciesMeta: - fibers: - optional: true - node-sass: + '@opentelemetry/api': optional: true sass: optional: true @@ -9139,10 +9112,6 @@ packages: postcss-value-parser@4.2.0: resolution: {integrity: sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ==} - postcss@8.4.14: - resolution: {integrity: sha512-E398TUmfAYFPBSdzgeieK2Y1+1cpdxJx8yXbK/m57nRhKSmk1GB2tO4lbLBtlkfPQTDKfe4Xqv1ASWPpayPEig==} - engines: {node: ^10 || ^12 || >=14} - postcss@8.4.31: resolution: {integrity: sha512-PS08Iboia9mts/2ygV3eLpY5ghnUcfLV/EXTOW1E2qYxJKGGBUtNjN76FYHnMs36RmARn41bC0AZmn+rR0OVpQ==} engines: {node: ^10 || ^12 || >=14} @@ -10366,19 +10335,6 @@ packages: react: '>= 16.8.0' react-dom: '>= 16.8.0' - styled-jsx@5.0.7: - resolution: {integrity: sha512-b3sUzamS086YLRuvnaDigdAewz1/EFYlHpYBP5mZovKEdQQOIIYq8lApylub3HHZ6xFjV051kkGU7cudJmrXEA==} - engines: {node: '>= 12.0.0'} - peerDependencies: - '@babel/core': '*' - babel-plugin-macros: '*' - react: '>= 16.8.0 || 17.x.x || ^18.0.0-0' - peerDependenciesMeta: - '@babel/core': - optional: true - babel-plugin-macros: - optional: true - styled-jsx@5.1.1: resolution: {integrity: sha512-pW7uC1l4mBZ8ugbiZrcIsiIvVx1UmTfw7UkC3Um2tmfUq9Bhk8IiyEIPl6F8agHgjzku6j0xQEZbfA5uSgSaCw==} engines: {node: '>= 12.0.0'} @@ -11096,11 +11052,6 @@ packages: urlpattern-polyfill@9.0.0: resolution: {integrity: sha512-WHN8KDQblxd32odxeIgo83rdVDE2bvdkb86it7bMhYZwWKJz0+O0RK/eZiHYnM+zgt/U7hAHOlCQGfjjvSkw2g==} - use-sync-external-store@1.2.0: - resolution: {integrity: sha512-eEgnFxGQ1Ife9bzYs6VLi8/4X6CObHMw9Qr9tPY43iKwsPw8xE8+EFsf/2cFZ5S3esXgpWgtSCtLNS41F+sKPA==} - peerDependencies: - react: ^16.8.0 || ^17.0.0 || ^18.0.0 - util-deprecate@1.0.2: resolution: {integrity: sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==} @@ -13824,7 +13775,7 @@ snapshots: - bufferutil - utf-8-validate - '@next/env@12.3.4': {} + '@next/env@14.1.1': {} '@next/env@14.2.2': {} @@ -13836,67 +13787,55 @@ snapshots: dependencies: glob: 10.3.10 - '@next/swc-android-arm-eabi@12.3.4': - optional: true - - '@next/swc-android-arm64@12.3.4': - optional: true - - '@next/swc-darwin-arm64@12.3.4': + '@next/swc-darwin-arm64@14.1.1': optional: true '@next/swc-darwin-arm64@14.2.2': optional: true - '@next/swc-darwin-x64@12.3.4': + '@next/swc-darwin-x64@14.1.1': optional: true '@next/swc-darwin-x64@14.2.2': optional: true - '@next/swc-freebsd-x64@12.3.4': - optional: true - - '@next/swc-linux-arm-gnueabihf@12.3.4': - optional: true - - '@next/swc-linux-arm64-gnu@12.3.4': + '@next/swc-linux-arm64-gnu@14.1.1': optional: true '@next/swc-linux-arm64-gnu@14.2.2': optional: true - '@next/swc-linux-arm64-musl@12.3.4': + '@next/swc-linux-arm64-musl@14.1.1': optional: true '@next/swc-linux-arm64-musl@14.2.2': optional: true - '@next/swc-linux-x64-gnu@12.3.4': + '@next/swc-linux-x64-gnu@14.1.1': optional: true '@next/swc-linux-x64-gnu@14.2.2': optional: true - '@next/swc-linux-x64-musl@12.3.4': + '@next/swc-linux-x64-musl@14.1.1': optional: true '@next/swc-linux-x64-musl@14.2.2': optional: true - '@next/swc-win32-arm64-msvc@12.3.4': + '@next/swc-win32-arm64-msvc@14.1.1': optional: true '@next/swc-win32-arm64-msvc@14.2.2': optional: true - '@next/swc-win32-ia32-msvc@12.3.4': + '@next/swc-win32-ia32-msvc@14.1.1': optional: true '@next/swc-win32-ia32-msvc@14.2.2': optional: true - '@next/swc-win32-x64-msvc@12.3.4': + '@next/swc-win32-x64-msvc@14.1.1': optional: true '@next/swc-win32-x64-msvc@14.2.2': @@ -14373,7 +14312,7 @@ snapshots: '@swc/counter@0.1.3': {} - '@swc/helpers@0.4.11': + '@swc/helpers@0.5.2': dependencies: tslib: 2.6.2 @@ -21068,36 +21007,33 @@ snapshots: react-dom: 18.2.0(react@18.2.0) uuid: 8.3.2 - next-seo@5.15.0(next@12.3.4(react-dom@17.0.2(react@17.0.2))(react@17.0.2))(react-dom@17.0.2(react@17.0.2))(react@17.0.2): + next-seo@5.15.0(next@14.1.1(react-dom@17.0.2(react@17.0.2))(react@17.0.2))(react-dom@17.0.2(react@17.0.2))(react@17.0.2): dependencies: - next: 12.3.4(react-dom@17.0.2(react@17.0.2))(react@17.0.2) + next: 14.1.1(react-dom@17.0.2(react@17.0.2))(react@17.0.2) react: 17.0.2 react-dom: 17.0.2(react@17.0.2) - next@12.3.4(react-dom@17.0.2(react@17.0.2))(react@17.0.2): + next@14.1.1(react-dom@17.0.2(react@17.0.2))(react@17.0.2): dependencies: - '@next/env': 12.3.4 - '@swc/helpers': 0.4.11 + '@next/env': 14.1.1 + '@swc/helpers': 0.5.2 + busboy: 1.6.0 caniuse-lite: 1.0.30001607 - postcss: 8.4.14 + graceful-fs: 4.2.11 + postcss: 8.4.31 react: 17.0.2 react-dom: 17.0.2(react@17.0.2) - styled-jsx: 5.0.7(react@17.0.2) - use-sync-external-store: 1.2.0(react@17.0.2) + styled-jsx: 5.1.1(react@17.0.2) optionalDependencies: - '@next/swc-android-arm-eabi': 12.3.4 - '@next/swc-android-arm64': 12.3.4 - '@next/swc-darwin-arm64': 12.3.4 - '@next/swc-darwin-x64': 12.3.4 - '@next/swc-freebsd-x64': 12.3.4 - '@next/swc-linux-arm-gnueabihf': 12.3.4 - '@next/swc-linux-arm64-gnu': 12.3.4 - '@next/swc-linux-arm64-musl': 12.3.4 - '@next/swc-linux-x64-gnu': 12.3.4 - '@next/swc-linux-x64-musl': 12.3.4 - '@next/swc-win32-arm64-msvc': 12.3.4 - '@next/swc-win32-ia32-msvc': 12.3.4 - '@next/swc-win32-x64-msvc': 12.3.4 + '@next/swc-darwin-arm64': 14.1.1 + '@next/swc-darwin-x64': 14.1.1 + '@next/swc-linux-arm64-gnu': 14.1.1 + '@next/swc-linux-arm64-musl': 14.1.1 + '@next/swc-linux-x64-gnu': 14.1.1 + '@next/swc-linux-x64-musl': 14.1.1 + '@next/swc-win32-arm64-msvc': 14.1.1 + '@next/swc-win32-ia32-msvc': 14.1.1 + '@next/swc-win32-x64-msvc': 14.1.1 transitivePeerDependencies: - '@babel/core' - babel-plugin-macros @@ -21865,12 +21801,6 @@ snapshots: postcss-value-parser@4.2.0: {} - postcss@8.4.14: - dependencies: - nanoid: 3.3.7 - picocolors: 1.0.0 - source-map-js: 1.2.0 - postcss@8.4.31: dependencies: nanoid: 3.3.7 @@ -23367,10 +23297,6 @@ snapshots: stylis: 4.3.1 tslib: 2.5.0 - styled-jsx@5.0.7(react@17.0.2): - dependencies: - react: 17.0.2 - styled-jsx@5.1.1(@babel/core@7.24.4)(react@18.2.0): dependencies: client-only: 0.0.1 @@ -23378,6 +23304,11 @@ snapshots: optionalDependencies: '@babel/core': 7.24.4 + styled-jsx@5.1.1(react@17.0.2): + dependencies: + client-only: 0.0.1 + react: 17.0.2 + stylehacks@5.1.1(postcss@8.4.31): dependencies: browserslist: 4.23.0 @@ -24516,10 +24447,6 @@ snapshots: urlpattern-polyfill@9.0.0: {} - use-sync-external-store@1.2.0(react@17.0.2): - dependencies: - react: 17.0.2 - util-deprecate@1.0.2: {} util.promisify@1.1.1: