From 090e9688c7118f0cbcb7fc21820d1b240c60d5ac Mon Sep 17 00:00:00 2001 From: "hash-worker[bot]" <180894564+hash-worker[bot]@users.noreply.github.com> Date: Wed, 11 Dec 2024 13:16:15 +0000 Subject: [PATCH] Update npm package `next` to v14 [SECURITY] --- apps/hash-frontend/package.json | 2 +- apps/hashdotdev/package.json | 2 +- .../@local/hash-isomorphic-utils/package.json | 2 +- yarn.lock | 250 +++++++++++++----- 4 files changed, 192 insertions(+), 64 deletions(-) diff --git a/apps/hash-frontend/package.json b/apps/hash-frontend/package.json index 6ae5ea31513..da8f5341b53 100644 --- a/apps/hash-frontend/package.json +++ b/apps/hash-frontend/package.json @@ -87,7 +87,7 @@ "marked": "4.3.0", "material-ui-popup-state": "4.1.0", "millify": "6.1.0", - "next": "13.5.5", + "next": "14.2.7", "next-seo": "6.6.0", "nextjs-progressbar": "0.0.16", "notistack": "2.0.8", diff --git a/apps/hashdotdev/package.json b/apps/hashdotdev/package.json index 4c177b02cd2..4ab6676c6cf 100644 --- a/apps/hashdotdev/package.json +++ b/apps/hashdotdev/package.json @@ -43,7 +43,7 @@ "katex": "0.16.14", "md5": "2.3.0", "mock-block-dock": "0.0.21", - "next": "13.5.5", + "next": "14.2.7", "next-mdx-remote": "4.4.1", "next-seo": "6.6.0", "nextjs-progressbar": "0.0.16", diff --git a/libs/@local/hash-isomorphic-utils/package.json b/libs/@local/hash-isomorphic-utils/package.json index a1dccf0b42a..12f60910ec8 100644 --- a/libs/@local/hash-isomorphic-utils/package.json +++ b/libs/@local/hash-isomorphic-utils/package.json @@ -69,7 +69,7 @@ "@vitest/coverage-istanbul": "2.1.8", "eslint": "9.16.0", "graphql": "16.9.0", - "next": "13.5.5", + "next": "14.1.1", "prettier": "3.4.2", "react": "18.2.0", "rimraf": "6.0.1", diff --git a/yarn.lock b/yarn.lock index 660d7206cf8..8023e6d62a5 100644 --- a/yarn.lock +++ b/yarn.lock @@ -577,7 +577,7 @@ __metadata: marked: "npm:4.3.0" material-ui-popup-state: "npm:4.1.0" millify: "npm:6.1.0" - next: "npm:13.5.5" + next: "npm:14.2.7" next-seo: "npm:6.6.0" nextjs-progressbar: "npm:0.0.16" notistack: "npm:2.0.8" @@ -786,7 +786,7 @@ __metadata: katex: "npm:0.16.14" md5: "npm:2.3.0" mock-block-dock: "npm:0.0.21" - next: "npm:13.5.5" + next: "npm:14.2.7" next-mdx-remote: "npm:4.4.1" next-seo: "npm:6.6.0" nextjs-progressbar: "npm:0.0.16" @@ -8855,7 +8855,7 @@ __metadata: immer: "npm:9.0.21" jsonschema: "npm:1.4.1" lodash-es: "npm:4.17.21" - next: "npm:13.5.5" + next: "npm:14.1.1" pluralize: "npm:8.0.0" prettier: "npm:3.4.2" prosemirror-commands: "npm:1.3.1" @@ -9562,10 +9562,17 @@ __metadata: languageName: node linkType: hard -"@next/env@npm:13.5.5": - version: 13.5.5 - resolution: "@next/env@npm:13.5.5" - checksum: 10c0/6d206625c78c223fdeea6c19a56d88be5e46e85a9651d7a8027957bf42f1504e8f4129083a3ce46b3dd83ec5666bfec38e06eed3d84228a68f4533e63a1255a6 +"@next/env@npm:14.1.1": + version: 14.1.1 + resolution: "@next/env@npm:14.1.1" + checksum: 10c0/81f7ff4f5b295c7f73d5cfeceda387626fa3e30fe75c53021168ff525470e8d52598ee4f8bb924af0903a52c44b5779e6e4c26fbdd102a3fdfaa03c08fd2bdde + languageName: node + linkType: hard + +"@next/env@npm:14.2.7": + version: 14.2.7 + resolution: "@next/env@npm:14.2.7" + checksum: 10c0/1cda023007acda4d47036a25fba0e039d9b2df9c3770651dc289207e0537506675546c02b5b574fe92bb1adc1c887d948d5cb630673aa572754278b82d150b7e languageName: node linkType: hard @@ -9585,9 +9592,16 @@ __metadata: languageName: node linkType: hard -"@next/swc-darwin-arm64@npm:13.5.5": - version: 13.5.5 - resolution: "@next/swc-darwin-arm64@npm:13.5.5" +"@next/swc-darwin-arm64@npm:14.1.1": + version: 14.1.1 + resolution: "@next/swc-darwin-arm64@npm:14.1.1" + conditions: os=darwin & cpu=arm64 + languageName: node + linkType: hard + +"@next/swc-darwin-arm64@npm:14.2.7": + version: 14.2.7 + resolution: "@next/swc-darwin-arm64@npm:14.2.7" conditions: os=darwin & cpu=arm64 languageName: node linkType: hard @@ -9599,9 +9613,16 @@ __metadata: languageName: node linkType: hard -"@next/swc-darwin-x64@npm:13.5.5": - version: 13.5.5 - resolution: "@next/swc-darwin-x64@npm:13.5.5" +"@next/swc-darwin-x64@npm:14.1.1": + version: 14.1.1 + resolution: "@next/swc-darwin-x64@npm:14.1.1" + conditions: os=darwin & cpu=x64 + languageName: node + linkType: hard + +"@next/swc-darwin-x64@npm:14.2.7": + version: 14.2.7 + resolution: "@next/swc-darwin-x64@npm:14.2.7" conditions: os=darwin & cpu=x64 languageName: node linkType: hard @@ -9613,9 +9634,16 @@ __metadata: languageName: node linkType: hard -"@next/swc-linux-arm64-gnu@npm:13.5.5": - version: 13.5.5 - resolution: "@next/swc-linux-arm64-gnu@npm:13.5.5" +"@next/swc-linux-arm64-gnu@npm:14.1.1": + version: 14.1.1 + resolution: "@next/swc-linux-arm64-gnu@npm:14.1.1" + conditions: os=linux & cpu=arm64 & libc=glibc + languageName: node + linkType: hard + +"@next/swc-linux-arm64-gnu@npm:14.2.7": + version: 14.2.7 + resolution: "@next/swc-linux-arm64-gnu@npm:14.2.7" conditions: os=linux & cpu=arm64 & libc=glibc languageName: node linkType: hard @@ -9627,9 +9655,16 @@ __metadata: languageName: node linkType: hard -"@next/swc-linux-arm64-musl@npm:13.5.5": - version: 13.5.5 - resolution: "@next/swc-linux-arm64-musl@npm:13.5.5" +"@next/swc-linux-arm64-musl@npm:14.1.1": + version: 14.1.1 + resolution: "@next/swc-linux-arm64-musl@npm:14.1.1" + conditions: os=linux & cpu=arm64 & libc=musl + languageName: node + linkType: hard + +"@next/swc-linux-arm64-musl@npm:14.2.7": + version: 14.2.7 + resolution: "@next/swc-linux-arm64-musl@npm:14.2.7" conditions: os=linux & cpu=arm64 & libc=musl languageName: node linkType: hard @@ -9641,9 +9676,16 @@ __metadata: languageName: node linkType: hard -"@next/swc-linux-x64-gnu@npm:13.5.5": - version: 13.5.5 - resolution: "@next/swc-linux-x64-gnu@npm:13.5.5" +"@next/swc-linux-x64-gnu@npm:14.1.1": + version: 14.1.1 + resolution: "@next/swc-linux-x64-gnu@npm:14.1.1" + conditions: os=linux & cpu=x64 & libc=glibc + languageName: node + linkType: hard + +"@next/swc-linux-x64-gnu@npm:14.2.7": + version: 14.2.7 + resolution: "@next/swc-linux-x64-gnu@npm:14.2.7" conditions: os=linux & cpu=x64 & libc=glibc languageName: node linkType: hard @@ -9655,9 +9697,16 @@ __metadata: languageName: node linkType: hard -"@next/swc-linux-x64-musl@npm:13.5.5": - version: 13.5.5 - resolution: "@next/swc-linux-x64-musl@npm:13.5.5" +"@next/swc-linux-x64-musl@npm:14.1.1": + version: 14.1.1 + resolution: "@next/swc-linux-x64-musl@npm:14.1.1" + conditions: os=linux & cpu=x64 & libc=musl + languageName: node + linkType: hard + +"@next/swc-linux-x64-musl@npm:14.2.7": + version: 14.2.7 + resolution: "@next/swc-linux-x64-musl@npm:14.2.7" conditions: os=linux & cpu=x64 & libc=musl languageName: node linkType: hard @@ -9669,9 +9718,16 @@ __metadata: languageName: node linkType: hard -"@next/swc-win32-arm64-msvc@npm:13.5.5": - version: 13.5.5 - resolution: "@next/swc-win32-arm64-msvc@npm:13.5.5" +"@next/swc-win32-arm64-msvc@npm:14.1.1": + version: 14.1.1 + resolution: "@next/swc-win32-arm64-msvc@npm:14.1.1" + conditions: os=win32 & cpu=arm64 + languageName: node + linkType: hard + +"@next/swc-win32-arm64-msvc@npm:14.2.7": + version: 14.2.7 + resolution: "@next/swc-win32-arm64-msvc@npm:14.2.7" conditions: os=win32 & cpu=arm64 languageName: node linkType: hard @@ -9683,16 +9739,30 @@ __metadata: languageName: node linkType: hard -"@next/swc-win32-ia32-msvc@npm:13.5.5": - version: 13.5.5 - resolution: "@next/swc-win32-ia32-msvc@npm:13.5.5" +"@next/swc-win32-ia32-msvc@npm:14.1.1": + version: 14.1.1 + resolution: "@next/swc-win32-ia32-msvc@npm:14.1.1" conditions: os=win32 & cpu=ia32 languageName: node linkType: hard -"@next/swc-win32-x64-msvc@npm:13.5.5": - version: 13.5.5 - resolution: "@next/swc-win32-x64-msvc@npm:13.5.5" +"@next/swc-win32-ia32-msvc@npm:14.2.7": + version: 14.2.7 + resolution: "@next/swc-win32-ia32-msvc@npm:14.2.7" + conditions: os=win32 & cpu=ia32 + languageName: node + linkType: hard + +"@next/swc-win32-x64-msvc@npm:14.1.1": + version: 14.1.1 + resolution: "@next/swc-win32-x64-msvc@npm:14.1.1" + conditions: os=win32 & cpu=x64 + languageName: node + linkType: hard + +"@next/swc-win32-x64-msvc@npm:14.2.7": + version: 14.2.7 + resolution: "@next/swc-win32-x64-msvc@npm:14.2.7" conditions: os=win32 & cpu=x64 languageName: node linkType: hard @@ -15654,6 +15724,16 @@ __metadata: languageName: node linkType: hard +"@swc/helpers@npm:0.5.5": + version: 0.5.5 + resolution: "@swc/helpers@npm:0.5.5" + dependencies: + "@swc/counter": "npm:^0.1.3" + tslib: "npm:^2.4.0" + checksum: 10c0/21a9b9cfe7e00865f9c9f3eb4c1cc5b397143464f7abee76a2c5366e591e06b0155b5aac93fe8269ef8d548df253f6fd931e9ddfc0fd12efd405f90f45506e7d + languageName: node + linkType: hard + "@swc/types@npm:^0.1.17": version: 0.1.17 resolution: "@swc/types@npm:0.1.17" @@ -21605,7 +21685,7 @@ __metadata: languageName: node linkType: hard -"caniuse-lite@npm:^1.0.30001406, caniuse-lite@npm:^1.0.30001579, caniuse-lite@npm:^1.0.30001669": +"caniuse-lite@npm:^1.0.30001579, caniuse-lite@npm:^1.0.30001669": version: 1.0.30001684 resolution: "caniuse-lite@npm:1.0.30001684" checksum: 10c0/446485ca3d9caf408a339a44636a86a2b119ec247492393ae661cd93dccd6668401dd2dfec1e149be4e44563cd1e23351b44453a52fa2c2f19e2bf3287c865f6 @@ -36238,26 +36318,26 @@ __metadata: languageName: node linkType: hard -"next@npm:13.5.5": - version: 13.5.5 - resolution: "next@npm:13.5.5" +"next@npm:14.1.1": + version: 14.1.1 + resolution: "next@npm:14.1.1" dependencies: - "@next/env": "npm:13.5.5" - "@next/swc-darwin-arm64": "npm:13.5.5" - "@next/swc-darwin-x64": "npm:13.5.5" - "@next/swc-linux-arm64-gnu": "npm:13.5.5" - "@next/swc-linux-arm64-musl": "npm:13.5.5" - "@next/swc-linux-x64-gnu": "npm:13.5.5" - "@next/swc-linux-x64-musl": "npm:13.5.5" - "@next/swc-win32-arm64-msvc": "npm:13.5.5" - "@next/swc-win32-ia32-msvc": "npm:13.5.5" - "@next/swc-win32-x64-msvc": "npm:13.5.5" + "@next/env": "npm:14.1.1" + "@next/swc-darwin-arm64": "npm:14.1.1" + "@next/swc-darwin-x64": "npm:14.1.1" + "@next/swc-linux-arm64-gnu": "npm:14.1.1" + "@next/swc-linux-arm64-musl": "npm:14.1.1" + "@next/swc-linux-x64-gnu": "npm:14.1.1" + "@next/swc-linux-x64-musl": "npm:14.1.1" + "@next/swc-win32-arm64-msvc": "npm:14.1.1" + "@next/swc-win32-ia32-msvc": "npm:14.1.1" + "@next/swc-win32-x64-msvc": "npm:14.1.1" "@swc/helpers": "npm:0.5.2" busboy: "npm:1.6.0" - caniuse-lite: "npm:^1.0.30001406" + caniuse-lite: "npm:^1.0.30001579" + graceful-fs: "npm:^4.2.11" postcss: "npm:8.4.31" styled-jsx: "npm:5.1.1" - watchpack: "npm:2.4.0" peerDependencies: "@opentelemetry/api": ^1.1.0 react: ^18.2.0 @@ -36289,7 +36369,65 @@ __metadata: optional: true bin: next: dist/bin/next - checksum: 10c0/21d8546a4941ef43fb4b8cde7cd62cceee13f27b34a92bbc48daf10943485bebb9e5af3c06c95dd3d8a483d0d05faa675eaba81c85e063ff1cf2bd5092d5e720 + checksum: 10c0/8c808ec0861604a176fc6a4f58a7a3c50ef9201fc63e16fab88390cfcb30f2accf92add0600ab83d0d13cfdf4ef3a72b03b828bf255c4a999bad071aba6c071d + languageName: node + linkType: hard + +"next@npm:14.2.7": + version: 14.2.7 + resolution: "next@npm:14.2.7" + dependencies: + "@next/env": "npm:14.2.7" + "@next/swc-darwin-arm64": "npm:14.2.7" + "@next/swc-darwin-x64": "npm:14.2.7" + "@next/swc-linux-arm64-gnu": "npm:14.2.7" + "@next/swc-linux-arm64-musl": "npm:14.2.7" + "@next/swc-linux-x64-gnu": "npm:14.2.7" + "@next/swc-linux-x64-musl": "npm:14.2.7" + "@next/swc-win32-arm64-msvc": "npm:14.2.7" + "@next/swc-win32-ia32-msvc": "npm:14.2.7" + "@next/swc-win32-x64-msvc": "npm:14.2.7" + "@swc/helpers": "npm:0.5.5" + busboy: "npm:1.6.0" + caniuse-lite: "npm:^1.0.30001579" + graceful-fs: "npm:^4.2.11" + postcss: "npm:8.4.31" + styled-jsx: "npm:5.1.1" + peerDependencies: + "@opentelemetry/api": ^1.1.0 + "@playwright/test": ^1.41.2 + react: ^18.2.0 + react-dom: ^18.2.0 + sass: ^1.3.0 + dependenciesMeta: + "@next/swc-darwin-arm64": + optional: true + "@next/swc-darwin-x64": + optional: true + "@next/swc-linux-arm64-gnu": + optional: true + "@next/swc-linux-arm64-musl": + optional: true + "@next/swc-linux-x64-gnu": + optional: true + "@next/swc-linux-x64-musl": + optional: true + "@next/swc-win32-arm64-msvc": + optional: true + "@next/swc-win32-ia32-msvc": + optional: true + "@next/swc-win32-x64-msvc": + optional: true + peerDependenciesMeta: + "@opentelemetry/api": + optional: true + "@playwright/test": + optional: true + sass: + optional: true + bin: + next: dist/bin/next + checksum: 10c0/661ff5196f671d68ece76f3003d049848163cb21a946fe71673225e56f82726f647a1869085f010869a778e56dd601b9065221031823562aeb92026677f8a5fd languageName: node linkType: hard @@ -47050,16 +47188,6 @@ __metadata: languageName: node linkType: hard -"watchpack@npm:2.4.0": - version: 2.4.0 - resolution: "watchpack@npm:2.4.0" - dependencies: - glob-to-regexp: "npm:^0.4.1" - graceful-fs: "npm:^4.1.2" - checksum: 10c0/c5e35f9fb9338d31d2141d9835643c0f49b5f9c521440bb648181059e5940d93dd8ed856aa8a33fbcdd4e121dad63c7e8c15c063cf485429cd9d427be197fe62 - languageName: node - linkType: hard - "watchpack@npm:^2.2.0, watchpack@npm:^2.4.1": version: 2.4.2 resolution: "watchpack@npm:2.4.2"