From c257c6c450656df6624bece9d90177105a8356d1 Mon Sep 17 00:00:00 2001 From: "hash-worker[bot]" <180894564+hash-worker[bot]@users.noreply.github.com> Date: Tue, 17 Dec 2024 16:43:48 +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 | 126 +++++++++--------- 4 files changed, 63 insertions(+), 69 deletions(-) diff --git a/apps/hash-frontend/package.json b/apps/hash-frontend/package.json index 16ef5155615..f9b7bfabae1 100644 --- a/apps/hash-frontend/package.json +++ b/apps/hash-frontend/package.json @@ -86,7 +86,7 @@ "marked": "4.3.0", "material-ui-popup-state": "4.1.0", "millify": "6.1.0", - "next": "13.5.5", + "next": "14.2.15", "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 ddc4e587613..91a17a5300a 100644 --- a/apps/hashdotdev/package.json +++ b/apps/hashdotdev/package.json @@ -43,7 +43,7 @@ "katex": "0.16.17", "md5": "2.3.0", "mock-block-dock": "0.0.21", - "next": "13.5.5", + "next": "14.2.15", "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 7d6fb6cc46a..a2a3a7a8822 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.17.0", "graphql": "16.10.0", - "next": "13.5.5", + "next": "14.2.15", "prettier": "3.4.2", "react": "18.2.0", "rimraf": "6.0.1", diff --git a/yarn.lock b/yarn.lock index fc0b794c62c..757bcc83940 100644 --- a/yarn.lock +++ b/yarn.lock @@ -558,7 +558,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.15" next-seo: "npm:6.6.0" nextjs-progressbar: "npm:0.0.16" notistack: "npm:2.0.8" @@ -767,7 +767,7 @@ __metadata: katex: "npm:0.16.17" md5: "npm:2.3.0" mock-block-dock: "npm:0.0.21" - next: "npm:13.5.5" + next: "npm:14.2.15" next-mdx-remote: "npm:4.4.1" next-seo: "npm:6.6.0" nextjs-progressbar: "npm:0.0.16" @@ -9209,7 +9209,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.2.15" pluralize: "npm:8.0.0" prettier: "npm:3.4.2" prosemirror-commands: "npm:1.3.1" @@ -9916,10 +9916,10 @@ __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.2.15": + version: 14.2.15 + resolution: "@next/env@npm:14.2.15" + checksum: 10c0/b1af95941bd7e080276af0901512c8c56b4e157402d2d913feca435c6a6f01130c9f322cca67e5c2b1ca160f54f6c0c4913fb8a3201812a5bb62dbdccae6f8fa languageName: node linkType: hard @@ -9939,9 +9939,9 @@ __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.2.15": + version: 14.2.15 + resolution: "@next/swc-darwin-arm64@npm:14.2.15" conditions: os=darwin & cpu=arm64 languageName: node linkType: hard @@ -9953,9 +9953,9 @@ __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.2.15": + version: 14.2.15 + resolution: "@next/swc-darwin-x64@npm:14.2.15" conditions: os=darwin & cpu=x64 languageName: node linkType: hard @@ -9967,9 +9967,9 @@ __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.2.15": + version: 14.2.15 + resolution: "@next/swc-linux-arm64-gnu@npm:14.2.15" conditions: os=linux & cpu=arm64 & libc=glibc languageName: node linkType: hard @@ -9981,9 +9981,9 @@ __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.2.15": + version: 14.2.15 + resolution: "@next/swc-linux-arm64-musl@npm:14.2.15" conditions: os=linux & cpu=arm64 & libc=musl languageName: node linkType: hard @@ -9995,9 +9995,9 @@ __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.2.15": + version: 14.2.15 + resolution: "@next/swc-linux-x64-gnu@npm:14.2.15" conditions: os=linux & cpu=x64 & libc=glibc languageName: node linkType: hard @@ -10009,9 +10009,9 @@ __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.2.15": + version: 14.2.15 + resolution: "@next/swc-linux-x64-musl@npm:14.2.15" conditions: os=linux & cpu=x64 & libc=musl languageName: node linkType: hard @@ -10023,9 +10023,9 @@ __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.2.15": + version: 14.2.15 + resolution: "@next/swc-win32-arm64-msvc@npm:14.2.15" conditions: os=win32 & cpu=arm64 languageName: node linkType: hard @@ -10037,16 +10037,16 @@ __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.2.15": + version: 14.2.15 + resolution: "@next/swc-win32-ia32-msvc@npm:14.2.15" 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-x64-msvc@npm:14.2.15": + version: 14.2.15 + resolution: "@next/swc-win32-x64-msvc@npm:14.2.15" conditions: os=win32 & cpu=x64 languageName: node linkType: hard @@ -16016,12 +16016,13 @@ __metadata: languageName: node linkType: hard -"@swc/helpers@npm:0.5.2": - version: 0.5.2 - resolution: "@swc/helpers@npm:0.5.2" +"@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/b6fa49bcf6c00571d0eb7837b163f8609960d4d77538160585e27ed167361e9776bd6e5eb9646ffac2fb4d43c58df9ca50dab9d96ab097e6591bc82a75fd1164 + checksum: 10c0/21a9b9cfe7e00865f9c9f3eb4c1cc5b397143464f7abee76a2c5366e591e06b0155b5aac93fe8269ef8d548df253f6fd931e9ddfc0fd12efd405f90f45506e7d languageName: node linkType: hard @@ -21948,7 +21949,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 @@ -36502,28 +36503,29 @@ __metadata: languageName: node linkType: hard -"next@npm:13.5.5": - version: 13.5.5 - resolution: "next@npm:13.5.5" +"next@npm:14.2.15": + version: 14.2.15 + resolution: "next@npm:14.2.15" 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" - "@swc/helpers": "npm:0.5.2" + "@next/env": "npm:14.2.15" + "@next/swc-darwin-arm64": "npm:14.2.15" + "@next/swc-darwin-x64": "npm:14.2.15" + "@next/swc-linux-arm64-gnu": "npm:14.2.15" + "@next/swc-linux-arm64-musl": "npm:14.2.15" + "@next/swc-linux-x64-gnu": "npm:14.2.15" + "@next/swc-linux-x64-musl": "npm:14.2.15" + "@next/swc-win32-arm64-msvc": "npm:14.2.15" + "@next/swc-win32-ia32-msvc": "npm:14.2.15" + "@next/swc-win32-x64-msvc": "npm:14.2.15" + "@swc/helpers": "npm:0.5.5" 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 + "@playwright/test": ^1.41.2 react: ^18.2.0 react-dom: ^18.2.0 sass: ^1.3.0 @@ -36549,11 +36551,13 @@ __metadata: peerDependenciesMeta: "@opentelemetry/api": optional: true + "@playwright/test": + optional: true sass: optional: true bin: next: dist/bin/next - checksum: 10c0/21d8546a4941ef43fb4b8cde7cd62cceee13f27b34a92bbc48daf10943485bebb9e5af3c06c95dd3d8a483d0d05faa675eaba81c85e063ff1cf2bd5092d5e720 + checksum: 10c0/45d02c5a42f70cdbb8fba7a91f602d1852119f85cf5886d01d17e839ef096d42986ac17fe6356ed6e481548035e4eabff13b12818bf3ee38c11f488df579a8b0 languageName: node linkType: hard @@ -47240,16 +47244,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"