fix: pin @babel/helper-module-imports to ~7.22.15, workaround for babel regression

https://github.com/babel/babel/pull/16349 seems to have caused a
regression in this plugin, leading to https://github.com/vuejs/core/issues/10549
This commit is contained in:
Haoqun Jiang 2024-03-20 00:30:56 +08:00
parent b4f9f1b81e
commit f916afa2ef
No known key found for this signature in database
GPG Key ID: BC1665FD8DE94CD5
3 changed files with 4 additions and 4 deletions

View File

@ -23,7 +23,7 @@
"dist"
],
"dependencies": {
"@babel/helper-module-imports": "^7.22.15",
"@babel/helper-module-imports": "~7.22.15",
"@babel/helper-plugin-utils": "^7.22.5",
"@babel/plugin-syntax-jsx": "^7.23.3",
"@babel/template": "^7.23.9",

View File

@ -44,7 +44,7 @@
},
"dependencies": {
"@babel/code-frame": "^7.23.5",
"@babel/helper-module-imports": "^7.22.15",
"@babel/helper-module-imports": "~7.22.15",
"@babel/helper-plugin-utils": "^7.22.5",
"@babel/parser": "^7.23.9",
"@vue/compiler-sfc": "^3.4.15"

View File

@ -71,7 +71,7 @@ importers:
packages/babel-plugin-jsx:
dependencies:
'@babel/helper-module-imports':
specifier: ^7.22.15
specifier: ~7.22.15
version: 7.22.15
'@babel/helper-plugin-utils':
specifier: ^7.22.5
@ -138,7 +138,7 @@ importers:
specifier: ^7.23.5
version: 7.23.5
'@babel/helper-module-imports':
specifier: ^7.22.15
specifier: ~7.22.15
version: 7.22.15
'@babel/helper-plugin-utils':
specifier: ^7.22.5