From 91db66c6112fc3a9f4892ee0517d8e8e8304dafb Mon Sep 17 00:00:00 2001
From: Niklas Mischkulnig <4586894+mischnic@users.noreply.github.com>
Date: Wed, 15 Oct 2025 13:00:13 -0700
Subject: [PATCH 1/2] Fix url-imports test
---
test/e2e/url-imports/next.lock/lock.json | 10 +++++-----
test/e2e/url-imports/pages/css.module.css | 2 +-
test/e2e/url-imports/pages/image.js | 2 +-
test/e2e/url-imports/pages/ssg.js | 2 +-
test/e2e/url-imports/pages/ssr.js | 2 +-
test/e2e/url-imports/pages/static.js | 2 +-
6 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/test/e2e/url-imports/next.lock/lock.json b/test/e2e/url-imports/next.lock/lock.json
index 0a99ed025efbc..f1ec8d7d8c451 100644
--- a/test/e2e/url-imports/next.lock/lock.json
+++ b/test/e2e/url-imports/next.lock/lock.json
@@ -15,10 +15,10 @@
"integrity": "sha512-orh6tVnh1jjxWNNLduiv0pUcW0guzwTmy52JQGdz4D2LL2IgIlJaC0w4+YBtIBXa2kKGho839WgGAK0sC0Folw==",
"contentType": "application/javascript; charset=UTF-8"
},
- "https://github.com/vercel/next.js/raw/canary/test/integration/url/public/vercel.png": "no-cache",
- "https://github.com/vercel/next.js/raw/canary/test/integration/url/public/vercel.png?_=image": "no-cache",
- "https://github.com/vercel/next.js/raw/canary/test/integration/url/public/vercel.png?_=ssg": "no-cache",
- "https://github.com/vercel/next.js/raw/canary/test/integration/url/public/vercel.png?_=ssr": "no-cache",
- "https://github.com/vercel/next.js/raw/canary/test/integration/url/public/vercel.png?_=static": "no-cache",
+ "https://github.com/vercel/next.js/raw/canary/test/e2e/url-imports/public/vercel.png": "no-cache",
+ "https://github.com/vercel/next.js/raw/canary/test/e2e/url-imports/public/vercel.png?_=image": "no-cache",
+ "https://github.com/vercel/next.js/raw/canary/test/e2e/url-imports/public/vercel.png?_=ssg": "no-cache",
+ "https://github.com/vercel/next.js/raw/canary/test/e2e/url-imports/public/vercel.png?_=ssr": "no-cache",
+ "https://github.com/vercel/next.js/raw/canary/test/e2e/url-imports/public/vercel.png?_=static": "no-cache",
"version": 1
}
diff --git a/test/e2e/url-imports/pages/css.module.css b/test/e2e/url-imports/pages/css.module.css
index 68792e4aa13bd..3f2ceb4945dc9 100644
--- a/test/e2e/url-imports/pages/css.module.css
+++ b/test/e2e/url-imports/pages/css.module.css
@@ -1,5 +1,5 @@
.main {
- background: url('https://github.com/vercel/next.js/raw/canary/test/integration/url/public/vercel.png');
+ background: url('https://github.com/vercel/next.js/raw/canary/test/e2e/url-imports/public/vercel.png');
background-size: contain;
width: 300px;
height: 300px;
diff --git a/test/e2e/url-imports/pages/image.js b/test/e2e/url-imports/pages/image.js
index c483ae1ae10cd..9d595097eb5e0 100644
--- a/test/e2e/url-imports/pages/image.js
+++ b/test/e2e/url-imports/pages/image.js
@@ -1,5 +1,5 @@
import Image from 'next/image'
-import logo from 'https://github.com/vercel/next.js/raw/canary/test/integration/url/public/vercel.png?_=image'
+import logo from 'https://github.com/vercel/next.js/raw/canary/test/e2e/url-imports/public/vercel.png?_=image'
export default () => (
diff --git a/test/e2e/url-imports/pages/ssg.js b/test/e2e/url-imports/pages/ssg.js
index 55b22c7db9937..688668861eea8 100644
--- a/test/e2e/url-imports/pages/ssg.js
+++ b/test/e2e/url-imports/pages/ssg.js
@@ -1,7 +1,7 @@
import value from 'http://localhost:12345/value1.js'
const url = new URL(
- 'https://github.com/vercel/next.js/raw/canary/test/integration/url/public/vercel.png?_=ssg',
+ 'https://github.com/vercel/next.js/raw/canary/test/e2e/url-imports/public/vercel.png?_=ssg',
import.meta.url
)
diff --git a/test/e2e/url-imports/pages/ssr.js b/test/e2e/url-imports/pages/ssr.js
index 79738631474fc..078edb3b15082 100644
--- a/test/e2e/url-imports/pages/ssr.js
+++ b/test/e2e/url-imports/pages/ssr.js
@@ -1,7 +1,7 @@
import value from 'http://localhost:12345/value2.js'
const url = new URL(
- 'https://github.com/vercel/next.js/raw/canary/test/integration/url/public/vercel.png?_=ssr',
+ 'https://github.com/vercel/next.js/raw/canary/test/e2e/url-imports/public/vercel.png?_=ssr',
import.meta.url
)
diff --git a/test/e2e/url-imports/pages/static.js b/test/e2e/url-imports/pages/static.js
index bf632d54dc49d..7edb5c55e694c 100644
--- a/test/e2e/url-imports/pages/static.js
+++ b/test/e2e/url-imports/pages/static.js
@@ -1,7 +1,7 @@
import value from 'http://localhost:12345/value3.js'
const url = new URL(
- 'https://github.com/vercel/next.js/raw/canary/test/integration/url/public/vercel.png?_=static',
+ 'https://github.com/vercel/next.js/raw/canary/test/e2e/url-imports/public/vercel.png?_=static',
import.meta.url
)
From 269fd8061b70f96b8e4320f002bb5028271303b7 Mon Sep 17 00:00:00 2001
From: Niklas Mischkulnig <4586894+mischnic@users.noreply.github.com>
Date: Wed, 15 Oct 2025 14:50:16 -0700
Subject: [PATCH 2/2] Update snapshot
---
test/production/next-server-nft/next-server-nft.test.ts | 2 ++
1 file changed, 2 insertions(+)
diff --git a/test/production/next-server-nft/next-server-nft.test.ts b/test/production/next-server-nft/next-server-nft.test.ts
index ea49dc5a59732..e36610285ebd7 100644
--- a/test/production/next-server-nft/next-server-nft.test.ts
+++ b/test/production/next-server-nft/next-server-nft.test.ts
@@ -151,6 +151,7 @@ const isReact18 = parseInt(process.env.NEXT_TEST_REACT_VERSION) === 18
"/node_modules/next/dist/compiled/react-is/cjs/react-is.development.js",
"/node_modules/next/dist/compiled/react-is/cjs/react-is.production.js",
"/node_modules/next/dist/compiled/react-is/index.js",
+ "/node_modules/next/dist/compiled/safe-stable-stringify/index.js",
"/node_modules/next/dist/compiled/send/index.js",
"/node_modules/next/dist/compiled/source-map/source-map.js",
"/node_modules/next/dist/compiled/stacktrace-parser/stack-trace-parser.cjs.js",
@@ -239,6 +240,7 @@ const isReact18 = parseInt(process.env.NEXT_TEST_REACT_VERSION) === 18
"/node_modules/next/dist/compiled/babel-code-frame/index.js",
"/node_modules/next/dist/compiled/babel/code-frame.js",
"/node_modules/next/dist/compiled/next-server/server.runtime.prod.js",
+ "/node_modules/next/dist/compiled/safe-stable-stringify/index.js",
"/node_modules/next/dist/compiled/source-map/source-map.js",
"/node_modules/next/dist/compiled/stacktrace-parser/stack-trace-parser.cjs.js",
"/node_modules/next/dist/compiled/ws/index.js",