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
b9242077
Unverified
Commit
b9242077
authored
May 29, 2021
by
JJ Kasper
Committed by
GitHub
May 29, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update to latest webpack 5 and webpack-sources (#25558)
parent
a38167f2
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
1153 additions
and
974 deletions
+1153
-974
package.json
packages/next/bundles/package.json
+2
-2
yarn.lock
packages/next/bundles/yarn.lock
+16
-17
index.js
packages/next/compiled/webpack-sources2/index.js
+1
-1
bundle5.js
packages/next/compiled/webpack/bundle5.js
+1133
-953
index.test.js
test/integration/build-output/test/index.test.js
+1
-1
No files found.
packages/next/bundles/package.json
View file @
b9242077
{
{
"dependencies"
:
{
"dependencies"
:
{
"schema-utils3"
:
"npm:schema-utils@3.0.0"
,
"schema-utils3"
:
"npm:schema-utils@3.0.0"
,
"webpack-sources2"
:
"npm:webpack-sources@2.
2
.0"
,
"webpack-sources2"
:
"npm:webpack-sources@2.
3
.0"
,
"webpack5"
:
"npm:webpack@5"
"webpack5"
:
"npm:webpack@5
.38.1
"
},
},
"resolutions"
:
{
"resolutions"
:
{
"browserslist"
:
"4.16.6"
,
"browserslist"
:
"4.16.6"
,
...
...
packages/next/bundles/yarn.lock
View file @
b9242077
...
@@ -243,7 +243,7 @@ escalade@^3.1.1:
...
@@ -243,7 +243,7 @@ escalade@^3.1.1:
resolved "https://registry.yarnpkg.com/escalade/-/escalade-3.1.1.tgz#d8cfdc7000965c5a0174b4a82eaa5c0552742e40"
resolved "https://registry.yarnpkg.com/escalade/-/escalade-3.1.1.tgz#d8cfdc7000965c5a0174b4a82eaa5c0552742e40"
integrity sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==
integrity sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==
eslint-scope@
^
5.1.1:
eslint-scope@5.1.1:
version "5.1.1"
version "5.1.1"
resolved "https://registry.yarnpkg.com/eslint-scope/-/eslint-scope-5.1.1.tgz#e786e59a66cb92b3f6c1fb0d508aab174848f48c"
resolved "https://registry.yarnpkg.com/eslint-scope/-/eslint-scope-5.1.1.tgz#e786e59a66cb92b3f6c1fb0d508aab174848f48c"
integrity sha512-2NxwbF/hZ0KpepYN0cNbo+FN6XoK7GaHlQhgx/hIZl6Va0bF45RQOOwhLIy8lQDbuCiadSLCBnH2CFYquit5bw==
integrity sha512-2NxwbF/hZ0KpepYN0cNbo+FN6XoK7GaHlQhgx/hIZl6Va0bF45RQOOwhLIy8lQDbuCiadSLCBnH2CFYquit5bw==
...
@@ -453,27 +453,26 @@ uri-js@^4.2.2:
...
@@ -453,27 +453,26 @@ uri-js@^4.2.2:
dependencies:
dependencies:
punycode "^2.1.0"
punycode "^2.1.0"
watchpack@^2.
0
.0:
watchpack@^2.
2
.0:
version "2.
1.1
"
version "2.
2.0
"
resolved "https://registry.yarnpkg.com/watchpack/-/watchpack-2.
1.1.tgz#e99630550fca07df9f90a06056987baa40a689c7
"
resolved "https://registry.yarnpkg.com/watchpack/-/watchpack-2.
2.0.tgz#47d78f5415fe550ecd740f99fe2882323a58b1ce
"
integrity sha512-
Oo7LXCmc1eE1AjyuSBmtC3+Wy4HcV8PxWh2kP6fOl8yTlNS7r0K9l1ao2lrrUza7V39Y3D/BbJgY8VeSlc5JKw
==
integrity sha512-
up4YAn/XHgZHIxFBVCdlMiWDj6WaLKpwVeGQk2I5thdYxF/KmF0aaz6TfJZ/hfl1h/XlcDr7k1KH7ThDagpFaA
==
dependencies:
dependencies:
glob-to-regexp "^0.4.1"
glob-to-regexp "^0.4.1"
graceful-fs "^4.1.2"
graceful-fs "^4.1.2"
"webpack-sources2@npm:webpack-sources@2.2.0", webpack-sources@^2.1.1:
"webpack-sources2@npm:webpack-sources@2.3.0", webpack-sources@^2.3.0:
name webpack-sources2
version "2.3.0"
version "2.2.0"
resolved "https://registry.yarnpkg.com/webpack-sources/-/webpack-sources-2.3.0.tgz#9ed2de69b25143a4c18847586ad9eccb19278cfa"
resolved "https://registry.yarnpkg.com/webpack-sources/-/webpack-sources-2.2.0.tgz#058926f39e3d443193b6c31547229806ffd02bac"
integrity sha512-WyOdtwSvOML1kbgtXbTDnEW0jkJ7hZr/bDByIwszhWd/4XX1A3XMkrbFMsuH4+/MfLlZCUzlAdg4r7jaGKEIgQ==
integrity sha512-bQsA24JLwcnWGArOKUxYKhX3Mz/nK1Xf6hxullKERyktjNMC4x8koOeaDNTA2fEJ09BdWLbM/iTW0ithREUP0w==
dependencies:
dependencies:
source-list-map "^2.0.1"
source-list-map "^2.0.1"
source-map "^0.6.1"
source-map "^0.6.1"
"webpack5@npm:webpack@5":
"webpack5@npm:webpack@5
.38.1
":
version "5.3
7.0
"
version "5.3
8.1
"
resolved "https://registry.yarnpkg.com/webpack/-/webpack-5.3
7.0.tgz#2ab00f613faf494504eb2beef278dab7493cc39d
"
resolved "https://registry.yarnpkg.com/webpack/-/webpack-5.3
8.1.tgz#5224c7f24c18e729268d3e3bc97240d6e880258e
"
integrity sha512-
yvdhgcI6QkQkDe1hINBAJ1UNevqNGTVaCkD2SSJcB8rcrNNl922RI8i2DXUAuNfANoxwsiXXEA4ZPZI9q2oGLA
==
integrity sha512-
OqRmYD1OJbHZph6RUMD93GcCZy4Z4wC0ele4FXyYF0J6AxO1vOSuIlU1hkS/lDlR9CDYBz64MZRmdbdnFFoT2g
==
dependencies:
dependencies:
"@types/eslint-scope" "^3.7.0"
"@types/eslint-scope" "^3.7.0"
"@types/estree" "^0.0.47"
"@types/estree" "^0.0.47"
...
@@ -485,7 +484,7 @@ watchpack@^2.0.0:
...
@@ -485,7 +484,7 @@ watchpack@^2.0.0:
chrome-trace-event "^1.0.2"
chrome-trace-event "^1.0.2"
enhanced-resolve "^5.8.0"
enhanced-resolve "^5.8.0"
es-module-lexer "^0.4.0"
es-module-lexer "^0.4.0"
eslint-scope "
^
5.1.1"
eslint-scope "5.1.1"
events "^3.2.0"
events "^3.2.0"
glob-to-regexp "^0.4.1"
glob-to-regexp "^0.4.1"
graceful-fs "^4.2.4"
graceful-fs "^4.2.4"
...
@@ -496,8 +495,8 @@ watchpack@^2.0.0:
...
@@ -496,8 +495,8 @@ watchpack@^2.0.0:
schema-utils "^3.0.0"
schema-utils "^3.0.0"
tapable "^2.1.1"
tapable "^2.1.1"
terser-webpack-plugin "^5.1.1"
terser-webpack-plugin "^5.1.1"
watchpack "^2.
0
.0"
watchpack "^2.
2
.0"
webpack-sources "^2.
1.1
"
webpack-sources "^2.
3.0
"
yocto-queue@^0.1.0:
yocto-queue@^0.1.0:
version "0.1.0"
version "0.1.0"
...
...
packages/next/compiled/webpack-sources2/index.js
View file @
b9242077
This diff is collapsed.
Click to expand it.
packages/next/compiled/webpack/bundle5.js
View file @
b9242077
This diff is collapsed.
Click to expand it.
test/integration/build-output/test/index.test.js
View file @
b9242077
...
@@ -149,7 +149,7 @@ describe('Build Output', () => {
...
@@ -149,7 +149,7 @@ describe('Build Output', () => {
true
true
)
)
expect
(
parseFloat
(
mainSize
)).
toBeCloseTo
(
gz
?
19.4
:
60.
4
,
1
)
expect
(
parseFloat
(
mainSize
)).
toBeCloseTo
(
gz
?
19.4
:
60.
5
,
1
)
expect
(
mainSize
.
endsWith
(
'kB'
)).
toBe
(
true
)
expect
(
mainSize
.
endsWith
(
'kB'
)).
toBe
(
true
)
expect
(
parseFloat
(
frameworkSize
)).
toBeCloseTo
(
gz
?
42.0
:
130
,
1
)
expect
(
parseFloat
(
frameworkSize
)).
toBeCloseTo
(
gz
?
42.0
:
130
,
1
)
...
...
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