Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
N
next.js
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Alex
next.js
Commits
2d01e12b
Unverified
Commit
2d01e12b
authored
Oct 15, 2025
by
Niklas Mischkulnig
Committed by
GitHub
Oct 15, 2025
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix url-imports test (#84922)
It fetches itself from github
parent
43c6ccfd
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
12 additions
and
10 deletions
+12
-10
lock.json
test/e2e/url-imports/next.lock/lock.json
+5
-5
css.module.css
test/e2e/url-imports/pages/css.module.css
+1
-1
image.js
test/e2e/url-imports/pages/image.js
+1
-1
ssg.js
test/e2e/url-imports/pages/ssg.js
+1
-1
ssr.js
test/e2e/url-imports/pages/ssr.js
+1
-1
static.js
test/e2e/url-imports/pages/static.js
+1
-1
next-server-nft.test.ts
test/production/next-server-nft/next-server-nft.test.ts
+2
-0
No files found.
test/e2e/url-imports/next.lock/lock.json
View file @
2d01e12b
...
@@ -15,10 +15,10 @@
...
@@ -15,10 +15,10 @@
"integrity"
:
"sha512-orh6tVnh1jjxWNNLduiv0pUcW0guzwTmy52JQGdz4D2LL2IgIlJaC0w4+YBtIBXa2kKGho839WgGAK0sC0Folw=="
,
"integrity"
:
"sha512-orh6tVnh1jjxWNNLduiv0pUcW0guzwTmy52JQGdz4D2LL2IgIlJaC0w4+YBtIBXa2kKGho839WgGAK0sC0Folw=="
,
"contentType"
:
"application/javascript; charset=UTF-8"
"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/
e2e/url-imports
/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/
e2e/url-imports
/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/
e2e/url-imports
/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/
e2e/url-imports
/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?_=static"
:
"no-cache"
,
"version"
:
1
"version"
:
1
}
}
test/e2e/url-imports/pages/css.module.css
View file @
2d01e12b
.main
{
.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
;
background-size
:
contain
;
width
:
300px
;
width
:
300px
;
height
:
300px
;
height
:
300px
;
...
...
test/e2e/url-imports/pages/image.js
View file @
2d01e12b
import
Image
from
'next/image'
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
()
=>
(
export
default
()
=>
(
<
div
>
<
div
>
...
...
test/e2e/url-imports/pages/ssg.js
View file @
2d01e12b
import
value
from
'http://localhost:12345/value1.js'
import
value
from
'http://localhost:12345/value1.js'
const
url
=
new
URL
(
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
import
.
meta
.
url
)
)
...
...
test/e2e/url-imports/pages/ssr.js
View file @
2d01e12b
import
value
from
'http://localhost:12345/value2.js'
import
value
from
'http://localhost:12345/value2.js'
const
url
=
new
URL
(
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
import
.
meta
.
url
)
)
...
...
test/e2e/url-imports/pages/static.js
View file @
2d01e12b
import
value
from
'http://localhost:12345/value3.js'
import
value
from
'http://localhost:12345/value3.js'
const
url
=
new
URL
(
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
import
.
meta
.
url
)
)
...
...
test/production/next-server-nft/next-server-nft.test.ts
View file @
2d01e12b
...
@@ -151,6 +151,7 @@ const isReact18 = parseInt(process.env.NEXT_TEST_REACT_VERSION) === 18
...
@@ -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.development.js",
"/node_modules/next/dist/compiled/react-is/cjs/react-is.production.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/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/send/index.js",
"/node_modules/next/dist/compiled/source-map/source-map.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/stacktrace-parser/stack-trace-parser.cjs.js",
...
@@ -239,6 +240,7 @@ const isReact18 = parseInt(process.env.NEXT_TEST_REACT_VERSION) === 18
...
@@ -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/index.js",
"/node_modules/next/dist/compiled/babel/code-frame.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/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/source-map/source-map.js",
"/node_modules/next/dist/compiled/stacktrace-parser/stack-trace-parser.cjs.js",
"/node_modules/next/dist/compiled/stacktrace-parser/stack-trace-parser.cjs.js",
"/node_modules/next/dist/compiled/ws/index.js",
"/node_modules/next/dist/compiled/ws/index.js",
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment