diff --git a/e2e-tests/adapters/package.json b/e2e-tests/adapters/package.json
index ce195953c5614..dd4fe3c63676b 100644
--- a/e2e-tests/adapters/package.json
+++ b/e2e-tests/adapters/package.json
@@ -30,7 +30,7 @@
     "cross-env": "^7.0.3",
     "cypress": "^12.14.0",
     "gatsby-cypress": "^3.11.0",
-    "netlify-cli": "^15.8.0",
+    "netlify-cli": "^17.2.2",
     "npm-run-all": "^4.1.5",
     "start-server-and-test": "^2.0.0",
     "typescript": "^5.1.6"
diff --git a/e2e-tests/contentful/package.json b/e2e-tests/contentful/package.json
index 43ae2ca9f442c..2bfd137971fd9 100644
--- a/e2e-tests/contentful/package.json
+++ b/e2e-tests/contentful/package.json
@@ -19,12 +19,12 @@
   },
   "devDependencies": {
     "@cypress/snapshot": "^2.1.7",
-    "@simonsmith/cypress-image-snapshot": "^6.1.1",
+    "@simonsmith/cypress-image-snapshot": "^9.0.1",
     "@types/simonsmith__cypress-image-snapshot": "npm:@types/cypress-image-snapshot",
     "cross-env": "^7.0.3",
     "cypress": "^12.16.0",
     "gatsby-cypress": "next",
-    "prettier": "^2.8.8",
+    "prettier": "^3.0.3",
     "srcset": "^5.0.0",
     "start-server-and-test": "^2.0.0",
     "typescript": "^5.1.6"
diff --git a/e2e-tests/development-runtime/package.json b/e2e-tests/development-runtime/package.json
index 67b50a26995d1..754910c99fdec 100644
--- a/e2e-tests/development-runtime/package.json
+++ b/e2e-tests/development-runtime/package.json
@@ -60,8 +60,8 @@
   },
   "devDependencies": {
     "@playwright/test": "^1.35.1",
-    "@simonsmith/cypress-image-snapshot": "^6.1.1",
-    "@testing-library/cypress": "^9.0.0",
+    "@simonsmith/cypress-image-snapshot": "^9.0.1",
+    "@testing-library/cypress": "^10.0.1",
     "@types/simonsmith__cypress-image-snapshot": "npm:@types/cypress-image-snapshot",
     "cross-env": "^7.0.3",
     "cypress": "^12.16.0",
@@ -70,7 +70,7 @@
     "gatsby-core-utils": "next",
     "gatsby-cypress": "next",
     "is-ci": "^3.0.1",
-    "prettier": "^2.8.8",
+    "prettier": "^3.0.3",
     "start-server-and-test": "^2.0.0",
     "typescript": "^5.1.6",
     "yargs": "^17.7.2"
diff --git a/e2e-tests/mdx/package.json b/e2e-tests/mdx/package.json
index 9c21fccedf239..50a4d5ec65c35 100644
--- a/e2e-tests/mdx/package.json
+++ b/e2e-tests/mdx/package.json
@@ -4,7 +4,7 @@
   "version": "1.0.0",
   "dependencies": {
     "@emotion/react": "^11.11.1",
-    "@mdx-js/react": "^2.3.0",
+    "@mdx-js/react": "^3.0.0",
     "@sindresorhus/slugify": "^2.2.1",
     "cypress": "^12.16.0",
     "fs-extra": "^11.1.1",
@@ -17,8 +17,8 @@
     "gatsby-source-filesystem": "next",
     "react": "^18.2.0",
     "react-dom": "^18.2.0",
-    "rehype-slug": "^5.1.0",
-    "remark-gfm": "^3.0.1",
+    "rehype-slug": "^6.0.0",
+    "remark-gfm": "^4.0.0",
     "theme-ui": "^0.16.0"
   },
   "keywords": [
@@ -47,7 +47,7 @@
     "cross-env": "^7.0.3",
     "gatsby-cypress": "next",
     "is-ci": "^3.0.1",
-    "prettier": "^2.8.8",
+    "prettier": "^3.0.3",
     "start-server-and-test": "^2.0.0",
     "typescript": "^5.1.6"
   }
diff --git a/e2e-tests/path-prefix/package.json b/e2e-tests/path-prefix/package.json
index 8b08c3edd3708..0046464387bb9 100644
--- a/e2e-tests/path-prefix/package.json
+++ b/e2e-tests/path-prefix/package.json
@@ -38,14 +38,14 @@
     "cy:run": "node ../../scripts/cypress-run-with-conditional-record-flag.js --browser chrome --e2e"
   },
   "devDependencies": {
-    "cpy-cli": "^4.2.0",
+    "cpy-cli": "^5.0.0",
     "cross-env": "^7.0.3",
     "del-cli": "^5.0.0",
     "gatsby-cypress": "next",
     "is-ci": "^3.0.1",
     "make-dir-cli": "^3.1.0",
     "npm-run-all": "^4.1.5",
-    "prettier": "^2.8.8",
+    "prettier": "^3.0.3",
     "start-server-and-test": "^2.0.0",
     "typescript": "^5.1.6",
     "wait-on": "^7.0.1"
diff --git a/e2e-tests/production-runtime/package.json b/e2e-tests/production-runtime/package.json
index 79a1752c76a79..1005695b9dbce 100644
--- a/e2e-tests/production-runtime/package.json
+++ b/e2e-tests/production-runtime/package.json
@@ -61,7 +61,7 @@
     "fs-extra": "^11.1.1",
     "gatsby-core-utils": "next",
     "is-ci": "^3.0.1",
-    "prettier": "^2.8.8",
+    "prettier": "^3.0.3",
     "start-server-and-test": "^2.0.0",
     "typescript": "^5.1.6"
   },
diff --git a/e2e-tests/themes/development-runtime/package.json b/e2e-tests/themes/development-runtime/package.json
index c9e1234d5dbfb..85d6091ced233 100644
--- a/e2e-tests/themes/development-runtime/package.json
+++ b/e2e-tests/themes/development-runtime/package.json
@@ -30,7 +30,7 @@
     "cypress": "^12.16.0",
     "gatsby-cypress": "next",
     "is-ci": "^3.0.1",
-    "prettier": "^2.8.8",
+    "prettier": "^3.0.3",
     "start-server-and-test": "^2.0.0",
     "typescript": "^5.1.6"
   },
diff --git a/e2e-tests/themes/gatsby-theme-about/package.json b/e2e-tests/themes/gatsby-theme-about/package.json
index c69d09373d1d6..704869e076779 100644
--- a/e2e-tests/themes/gatsby-theme-about/package.json
+++ b/e2e-tests/themes/gatsby-theme-about/package.json
@@ -18,14 +18,14 @@
   },
   "homepage": "https://github.com/gatsbyjs/gatsby/tree/master/e2e-tests/themes/gatsby-theme-about#readme",
   "dependencies": {
-    "@mdx-js/react": "^2.3.0",
+    "@mdx-js/react": "^3.0.0",
     "gatsby": "next",
     "gatsby-plugin-mdx": "next",
     "gatsby-plugin-page-creator": "next",
     "gatsby-source-filesystem": "next"
   },
   "devDependencies": {
-    "prettier": "2.8.8"
+    "prettier": "3.0.3"
   },
   "peerDependencies": {
     "react": "^18.0.0 || ^0.0.0",
diff --git a/e2e-tests/themes/production-runtime/package.json b/e2e-tests/themes/production-runtime/package.json
index 62487d74d4914..fb800d0000c41 100644
--- a/e2e-tests/themes/production-runtime/package.json
+++ b/e2e-tests/themes/production-runtime/package.json
@@ -27,7 +27,7 @@
     "cypress": "^12.16.0",
     "gatsby-cypress": "next",
     "is-ci": "^3.0.1",
-    "prettier": "^2.8.8",
+    "prettier": "^3.0.3",
     "start-server-and-test": "^2.0.0",
     "typescript": "^5.1.6"
   },
diff --git a/e2e-tests/trailing-slash/package.json b/e2e-tests/trailing-slash/package.json
index 92a8918fdeb93..ce93b384de87b 100644
--- a/e2e-tests/trailing-slash/package.json
+++ b/e2e-tests/trailing-slash/package.json
@@ -35,7 +35,7 @@
     "cross-env": "^7.0.3",
     "gatsby-cypress": "next",
     "npm-run-all": "^4.1.5",
-    "prettier": "^2.8.8",
+    "prettier": "^3.0.3",
     "start-server-and-test": "^2.0.0",
     "typescript": "^5.1.6"
   }
diff --git a/e2e-tests/visual-regression/package.json b/e2e-tests/visual-regression/package.json
index a3c2bac89e3ab..2635e56b76327 100644
--- a/e2e-tests/visual-regression/package.json
+++ b/e2e-tests/visual-regression/package.json
@@ -4,7 +4,7 @@
   "version": "1.0.0",
   "author": "Kyle Mathews <mathews.kyle@gmail.com>",
   "dependencies": {
-    "@simonsmith/cypress-image-snapshot": "^6.1.1",
+    "@simonsmith/cypress-image-snapshot": "^9.0.1",
     "cypress": "^12.16.0",
     "gatsby": "next",
     "gatsby-plugin-image": "next",
@@ -36,7 +36,7 @@
     "cypress-junit-reporter": "^1.3.1",
     "gatsby-cypress": "next",
     "is-ci": "^3.0.1",
-    "prettier": "^2.8.8",
+    "prettier": "^3.0.3",
     "start-server-and-test": "^2.0.0",
     "typescript": "^5.1.6"
   },