Skip to content

Commit ea46311

Browse files
committed
feature #1379 Add support for babel-loader ^10.0.0 (Kocal)
This PR was merged into the main branch. Discussion ---------- Add support for babel-loader ^10.0.0 | Q | A | ------------- | --- | Bug fix? | no | New feature? | yes <!-- please update CHANGELOG.md file --> | Deprecations? | no <!-- please update CHANGELOG.md file --> | Issues | Fix #... <!-- prefix each issue number with "Fix #", no need to create an issue if none exists, explain below instead --> | License | MIT <!-- Replace this notice by a description of your feature/bugfix. This will help reviewers and should be a good start for the documentation. Additionally (see https://symfony.com/releases): - Always add tests and ensure they pass. - Features and deprecations must be submitted against the latest branch. - For new features, provide some code snippets to help understand usage. - Changelog entry should follow https://symfony.com/doc/current/contributing/code/conventions.html#writing-a-changelog-entry - Never break backward compatibility. --> Commits ------- 305e07a Add support for babel-loader ^10.0.0
2 parents 8e91ffa + 305e07a commit ea46311

File tree

3 files changed

+31
-75
lines changed

3 files changed

+31
-75
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
## 5.2.0
44

55
* Add support for Webpack CLI ^6.0 by @Kocal in https://github.com/symfony/webpack-encore/pull/1367
6+
* Add support for babel-loader ^10.0
67

78
## 5.1.0
89

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"homepage": "https://github.com/symfony/webpack-encore",
2929
"dependencies": {
3030
"@nuxt/friendly-errors-webpack-plugin": "^2.5.1",
31-
"babel-loader": "^9.1.3",
31+
"babel-loader": "^9.1.3 || ^10.0.0",
3232
"css-loader": "^7.1.0",
3333
"css-minimizer-webpack-plugin": "^7.0.0",
3434
"fastest-levenshtein": "^1.0.16",

yarn.lock

Lines changed: 29 additions & 74 deletions
Original file line numberDiff line numberDiff line change
@@ -1232,20 +1232,35 @@
12321232
resolved "https://registry.yarnpkg.com/@jsonjoy.com/base64/-/base64-1.1.2.tgz#cf8ea9dcb849b81c95f14fc0aaa151c6b54d2578"
12331233
integrity sha512-q6XAnWQDIMA3+FTiOYajoYqySkO+JSat0ytXGSuRdq9uXE7o92gzuQwQM14xaCRlBLGq3v5miDGC4vkVTn54xA==
12341234

1235+
"@jsonjoy.com/buffers@^1.0.0":
1236+
version "1.0.0"
1237+
resolved "https://registry.yarnpkg.com/@jsonjoy.com/buffers/-/buffers-1.0.0.tgz#ade6895b7d3883d70f87b5743efaa12c71dfef7a"
1238+
integrity sha512-NDigYR3PHqCnQLXYyoLbnEdzMMvzeiCWo1KOut7Q0CoIqg9tUAPKJ1iq/2nFhc5kZtexzutNY0LFjdwWL3Dw3Q==
1239+
12351240
"@jsonjoy.com/json-pack@^1.0.3":
1236-
version "1.4.0"
1237-
resolved "https://registry.yarnpkg.com/@jsonjoy.com/json-pack/-/json-pack-1.4.0.tgz#9ec96358c50c89398f3fff533a59fefb57337826"
1238-
integrity sha512-Akn8XZqN3xO9YGcgvIiTauBBXTP92QSvw6EcGha+p5nm7brhbwvev5gw4fi+ouLGrBpfPpb72+S5pxl4mkMIGQ==
1241+
version "1.7.0"
1242+
resolved "https://registry.yarnpkg.com/@jsonjoy.com/json-pack/-/json-pack-1.7.0.tgz#43b86091fcdf4b53e32ef5309fc203396dffa40a"
1243+
integrity sha512-XHjFn3QhP8uMak/Mm+0W+f7XPBk1f10LWe1Ba/IoOtd+tRJtNU4m9g5UJpJESVQMousq9BdBNNDNqOFiRnyj5g==
12391244
dependencies:
12401245
"@jsonjoy.com/base64" "^1.1.1"
1246+
"@jsonjoy.com/json-pointer" "^1.0.1"
12411247
"@jsonjoy.com/util" "^1.1.2"
12421248
hyperdyperid "^1.2.0"
12431249
thingies "^1.20.0"
12441250

1251+
"@jsonjoy.com/json-pointer@^1.0.1":
1252+
version "1.0.1"
1253+
resolved "https://registry.yarnpkg.com/@jsonjoy.com/json-pointer/-/json-pointer-1.0.1.tgz#3b710158e8a212708a2886ea5e38d92e2ea4f4a0"
1254+
integrity sha512-tJpwQfuBuxqZlyoJOSZcqf7OUmiYQ6MiPNmOv4KbZdXE/DdvBSSAwhos0zIlJU/AXxC8XpuO8p08bh2fIl+RKA==
1255+
dependencies:
1256+
"@jsonjoy.com/util" "^1.3.0"
1257+
12451258
"@jsonjoy.com/util@^1.1.2", "@jsonjoy.com/util@^1.3.0":
1246-
version "1.8.0"
1247-
resolved "https://registry.yarnpkg.com/@jsonjoy.com/util/-/util-1.8.0.tgz#3b5d276f8c7ebab0599d92a81c829e4874920ec8"
1248-
integrity sha512-HeR0JQNEdBozt+FrfyM5T0X3R+fIN0D+BRDkxPP5o41fTWzHfeZEqtK16aTW8haU+h+SG7XYq9PP5kobvOmkSA==
1259+
version "1.8.1"
1260+
resolved "https://registry.yarnpkg.com/@jsonjoy.com/util/-/util-1.8.1.tgz#62387224001e59ded1ca3744b88b44cdb808e7f9"
1261+
integrity sha512-26hOMkQx15sYBpt/bCK3/S7Bep8vMy+VKGBhWQax7GXYd+mwP5mc0HNX5oqLws/JQZ9GRjn9rvXoDbcq1OC2xA==
1262+
dependencies:
1263+
"@jsonjoy.com/buffers" "^1.0.0"
12491264

12501265
"@leichtgewicht/ip-codec@^2.0.1":
12511266
version "2.0.5"
@@ -2270,13 +2285,12 @@ b4a@^1.6.4:
22702285
resolved "https://registry.yarnpkg.com/b4a/-/b4a-1.6.6.tgz#a4cc349a3851987c3c4ac2d7785c18744f6da9ba"
22712286
integrity sha512-5Tk1HLk6b6ctmjIkAcU/Ujv/1WqiDl0F0JdRCR80VsOcUlHcu7pWeWRlOqQLHfDEsVx9YH/aif5AG4ehoCtTmg==
22722287

2273-
babel-loader@^9.1.3:
2274-
version "9.1.3"
2275-
resolved "https://registry.yarnpkg.com/babel-loader/-/babel-loader-9.1.3.tgz#3d0e01b4e69760cc694ee306fe16d358aa1c6f9a"
2276-
integrity sha512-xG3ST4DglodGf8qSwv0MdeWLhrDsw/32QMdTO5T1ZIp9gQur0HkCyFs7Awskr10JKXFXwpAhiCuYX5oGXnRGbw==
2288+
"babel-loader@^9.1.3 || ^10.0.0":
2289+
version "10.0.0"
2290+
resolved "https://registry.yarnpkg.com/babel-loader/-/babel-loader-10.0.0.tgz#b9743714c0e1e084b3e4adef3cd5faee33089977"
2291+
integrity sha512-z8jt+EdS61AMw22nSfoNJAZ0vrtmhPRVi6ghL3rCeRZI8cdNYFiV5xeV3HbE7rlZZNmGH8BVccwWt8/ED0QOHA==
22772292
dependencies:
2278-
find-cache-dir "^4.0.0"
2279-
schema-utils "^4.0.0"
2293+
find-up "^5.0.0"
22802294

22812295
babel-plugin-polyfill-corejs2@^0.4.10:
22822296
version "0.4.11"
@@ -2731,11 +2745,6 @@ [email protected]:
27312745
resolved "https://registry.yarnpkg.com/comment-parser/-/comment-parser-1.4.1.tgz#bdafead37961ac079be11eb7ec65c4d021eaf9cc"
27322746
integrity sha512-buhp5kePrmda3vhc5B9t7pUQXAb2Tnd0qgpkIhPhkHXxJpiPJ11H0ZEU0oBpJ2QztSbzG/ZxMj/CHsYJqRHmyg==
27332747

2734-
common-path-prefix@^3.0.0:
2735-
version "3.0.0"
2736-
resolved "https://registry.yarnpkg.com/common-path-prefix/-/common-path-prefix-3.0.0.tgz#7d007a7e07c58c4b4d5f433131a19141b29f11e0"
2737-
integrity sha512-QE33hToZseCH3jS0qN96O/bSh3kaw/h+Tq7ngyY9eWDUnTlTNUyqfqvCXioLe5Na5jFsL78ra/wuBU4iuEgd4w==
2738-
27392748
compressible@~2.0.18:
27402749
version "2.0.18"
27412750
resolved "https://registry.yarnpkg.com/compressible/-/compressible-2.0.18.tgz#af53cca6b070d4c3c0750fbd77286a6d7cc46fba"
@@ -4016,14 +4025,6 @@ [email protected]:
40164025
statuses "2.0.1"
40174026
unpipe "~1.0.0"
40184027

4019-
find-cache-dir@^4.0.0:
4020-
version "4.0.0"
4021-
resolved "https://registry.yarnpkg.com/find-cache-dir/-/find-cache-dir-4.0.0.tgz#a30ee0448f81a3990708f6453633c733e2f6eec2"
4022-
integrity sha512-9ZonPT4ZAK4a+1pUPVPZJapbi7O5qbbJPdYw/NOQWZZbVLdDTYM3A4R9z/DpAM08IDaFGsvPgiGZ82WEwUDWjg==
4023-
dependencies:
4024-
common-path-prefix "^3.0.0"
4025-
pkg-dir "^7.0.0"
4026-
40274028
find-up@^4.0.0:
40284029
version "4.1.0"
40294030
resolved "https://registry.yarnpkg.com/find-up/-/find-up-4.1.0.tgz#97afe7d6cdc0bc5928584b7c8d7b16e8a9aa5d19"
@@ -4040,14 +4041,6 @@ find-up@^5.0.0:
40404041
locate-path "^6.0.0"
40414042
path-exists "^4.0.0"
40424043

4043-
find-up@^6.3.0:
4044-
version "6.3.0"
4045-
resolved "https://registry.yarnpkg.com/find-up/-/find-up-6.3.0.tgz#2abab3d3280b2dc7ac10199ef324c4e002c8c790"
4046-
integrity sha512-v2ZsoEuVHYy8ZIlYqwPe/39Cy+cFDzp4dXPaxNvkEuouymu+2Jbz0PxpKarJHYJTmv2HWT3O382qY8l4jMWthw==
4047-
dependencies:
4048-
locate-path "^7.1.0"
4049-
path-exists "^5.0.0"
4050-
40514044
flat-cache@^4.0.0:
40524045
version "4.0.1"
40534046
resolved "https://registry.yarnpkg.com/flat-cache/-/flat-cache-4.0.1.tgz#0ece39fcb14ee012f4b0410bd33dd9c1f011127c"
@@ -5337,13 +5330,6 @@ locate-path@^6.0.0:
53375330
dependencies:
53385331
p-locate "^5.0.0"
53395332

5340-
locate-path@^7.1.0:
5341-
version "7.2.0"
5342-
resolved "https://registry.yarnpkg.com/locate-path/-/locate-path-7.2.0.tgz#69cb1779bd90b35ab1e771e1f2f89a202c2a8a8a"
5343-
integrity sha512-gvVijfZvn7R+2qyPX8mAuKcFGDf6Nc61GdvGafQsHL0sBIxfKzA+usWn4GFC/bk+QdwPUD4kWFJLhElipq+0VA==
5344-
dependencies:
5345-
p-locate "^6.0.0"
5346-
53475333
lodash.debounce@^4.0.8:
53485334
version "4.0.8"
53495335
resolved "https://registry.yarnpkg.com/lodash.debounce/-/lodash.debounce-4.0.8.tgz#82d79bff30a67c4005ffd5e2515300ad9ca4d7af"
@@ -5456,9 +5442,9 @@ memfs@^3.4.1:
54565442
fs-monkey "^1.0.4"
54575443

54585444
memfs@^4.6.0:
5459-
version "4.26.0"
5460-
resolved "https://registry.yarnpkg.com/memfs/-/memfs-4.26.0.tgz#cef86c93fd579883c9b375c0bcd93f84f7ab3427"
5461-
integrity sha512-2ZtDVcPolyWmuriS7S2cuE20jK5QWgP+qNuZ3cZzch+/6sY0mnHgVvf2YLQKKR4Cl4MW0nJsoZuUPOkQwp0+JQ==
5445+
version "4.34.0"
5446+
resolved "https://registry.yarnpkg.com/memfs/-/memfs-4.34.0.tgz#02c420db08a802b5bf9a8e41df0ca281e0d5107d"
5447+
integrity sha512-grcxk6xaTzKOJggz8H+rjN7IMPvMZkH3VbRzjOqfGUUqCrdKStCvD77pvpArqZQzyiNB1HWRmyijzmLQlyQyfw==
54625448
dependencies:
54635449
"@jsonjoy.com/json-pack" "^1.0.3"
54645450
"@jsonjoy.com/util" "^1.3.0"
@@ -5851,13 +5837,6 @@ p-limit@^3.0.2:
58515837
dependencies:
58525838
yocto-queue "^0.1.0"
58535839

5854-
p-limit@^4.0.0:
5855-
version "4.0.0"
5856-
resolved "https://registry.yarnpkg.com/p-limit/-/p-limit-4.0.0.tgz#914af6544ed32bfa54670b061cafcbd04984b644"
5857-
integrity sha512-5b0R4txpzjPWVw/cXXUResoD4hb6U/x9BH08L7nw+GN1sezDzPdxeRvpc9c433fZhBan/wusjbCsqwqm4EIBIQ==
5858-
dependencies:
5859-
yocto-queue "^1.0.0"
5860-
58615840
p-locate@^4.1.0:
58625841
version "4.1.0"
58635842
resolved "https://registry.yarnpkg.com/p-locate/-/p-locate-4.1.0.tgz#a3428bb7088b3a60292f66919278b7c297ad4f07"
@@ -5872,13 +5851,6 @@ p-locate@^5.0.0:
58725851
dependencies:
58735852
p-limit "^3.0.2"
58745853

5875-
p-locate@^6.0.0:
5876-
version "6.0.0"
5877-
resolved "https://registry.yarnpkg.com/p-locate/-/p-locate-6.0.0.tgz#3da9a49d4934b901089dca3302fa65dc5a05c04f"
5878-
integrity sha512-wPrq66Llhl7/4AGC6I+cqxT07LhXvWL08LNXz1fENOw0Ap4sRZZ/gZpTTJ5jpurzzzfS2W/Ge9BY3LgLjCShcw==
5879-
dependencies:
5880-
p-limit "^4.0.0"
5881-
58825854
p-retry@^6.2.0:
58835855
version "6.2.1"
58845856
resolved "https://registry.yarnpkg.com/p-retry/-/p-retry-6.2.1.tgz#81828f8dc61c6ef5a800585491572cc9892703af"
@@ -5959,11 +5931,6 @@ path-exists@^4.0.0:
59595931
resolved "https://registry.yarnpkg.com/path-exists/-/path-exists-4.0.0.tgz#513bdbe2d3b95d7762e8c1137efa195c6c61b5b3"
59605932
integrity sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==
59615933

5962-
path-exists@^5.0.0:
5963-
version "5.0.0"
5964-
resolved "https://registry.yarnpkg.com/path-exists/-/path-exists-5.0.0.tgz#a6aad9489200b21fab31e49cf09277e5116fb9e7"
5965-
integrity sha512-RjhtfwJOxzcFmNOi6ltcbcu4Iu+FL3zEj83dk4kAS+fVpTxXLO1b38RvJgT/0QwvV/L3aY9TAnyv0EOqW4GoMQ==
5966-
59675934
path-is-absolute@^1.0.0:
59685935
version "1.0.1"
59695936
resolved "https://registry.yarnpkg.com/path-is-absolute/-/path-is-absolute-1.0.1.tgz#174b9268735534ffbc7ace6bf53a5a9e1b5c5f5f"
@@ -6045,13 +6012,6 @@ pkg-dir@^4.2.0:
60456012
dependencies:
60466013
find-up "^4.0.0"
60476014

6048-
pkg-dir@^7.0.0:
6049-
version "7.0.0"
6050-
resolved "https://registry.yarnpkg.com/pkg-dir/-/pkg-dir-7.0.0.tgz#8f0c08d6df4476756c5ff29b3282d0bab7517d11"
6051-
integrity sha512-Ie9z/WINcxxLp27BKOCHGde4ITq9UklYKDzVo1nhk5sqGEXU3FpkwP5GM2voTGJkGd9B3Otl+Q4uwSOeSUtOBA==
6052-
dependencies:
6053-
find-up "^6.3.0"
6054-
60556015
portfinder@^1.0.28:
60566016
version "1.0.32"
60576017
resolved "https://registry.yarnpkg.com/portfinder/-/portfinder-1.0.32.tgz#2fe1b9e58389712429dc2bea5beb2146146c7f81"
@@ -8232,11 +8192,6 @@ yocto-queue@^0.1.0:
82328192
resolved "https://registry.yarnpkg.com/yocto-queue/-/yocto-queue-0.1.0.tgz#0294eb3dee05028d31ee1a5fa2c556a6aaf10a1b"
82338193
integrity sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==
82348194

8235-
yocto-queue@^1.0.0:
8236-
version "1.1.1"
8237-
resolved "https://registry.yarnpkg.com/yocto-queue/-/yocto-queue-1.1.1.tgz#fef65ce3ac9f8a32ceac5a634f74e17e5b232110"
8238-
integrity sha512-b4JR1PFR10y1mKjhHY9LaGo6tmrgjit7hxVIeAmyMw3jegXR4dhYqLaQF5zMXZxY7tLpMyJeLjr1C4rLmkVe8g==
8239-
82408195
zod@^3.24.1:
82418196
version "3.24.2"
82428197
resolved "https://registry.yarnpkg.com/zod/-/zod-3.24.2.tgz#8efa74126287c675e92f46871cfc8d15c34372b3"

0 commit comments

Comments
 (0)