mirror of
				https://github.com/vuejs/babel-plugin-jsx.git
				synced 2025-11-01 01:42:21 +08:00 
			
		
		
		
	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:
		| @@ -23,7 +23,7 @@ | |||||||
|     "dist" |     "dist" | ||||||
|   ], |   ], | ||||||
|   "dependencies": { |   "dependencies": { | ||||||
|     "@babel/helper-module-imports": "^7.22.15", |     "@babel/helper-module-imports": "~7.22.15", | ||||||
|     "@babel/helper-plugin-utils": "^7.22.5", |     "@babel/helper-plugin-utils": "^7.22.5", | ||||||
|     "@babel/plugin-syntax-jsx": "^7.23.3", |     "@babel/plugin-syntax-jsx": "^7.23.3", | ||||||
|     "@babel/template": "^7.23.9", |     "@babel/template": "^7.23.9", | ||||||
|   | |||||||
| @@ -44,7 +44,7 @@ | |||||||
|   }, |   }, | ||||||
|   "dependencies": { |   "dependencies": { | ||||||
|     "@babel/code-frame": "^7.23.5", |     "@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/helper-plugin-utils": "^7.22.5", | ||||||
|     "@babel/parser": "^7.23.9", |     "@babel/parser": "^7.23.9", | ||||||
|     "@vue/compiler-sfc": "^3.4.15" |     "@vue/compiler-sfc": "^3.4.15" | ||||||
|   | |||||||
							
								
								
									
										4
									
								
								pnpm-lock.yaml
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										4
									
								
								pnpm-lock.yaml
									
									
									
										generated
									
									
									
								
							| @@ -71,7 +71,7 @@ importers: | |||||||
|   packages/babel-plugin-jsx: |   packages/babel-plugin-jsx: | ||||||
|     dependencies: |     dependencies: | ||||||
|       '@babel/helper-module-imports': |       '@babel/helper-module-imports': | ||||||
|         specifier: ^7.22.15 |         specifier: ~7.22.15 | ||||||
|         version: 7.22.15 |         version: 7.22.15 | ||||||
|       '@babel/helper-plugin-utils': |       '@babel/helper-plugin-utils': | ||||||
|         specifier: ^7.22.5 |         specifier: ^7.22.5 | ||||||
| @@ -138,7 +138,7 @@ importers: | |||||||
|         specifier: ^7.23.5 |         specifier: ^7.23.5 | ||||||
|         version: 7.23.5 |         version: 7.23.5 | ||||||
|       '@babel/helper-module-imports': |       '@babel/helper-module-imports': | ||||||
|         specifier: ^7.22.15 |         specifier: ~7.22.15 | ||||||
|         version: 7.22.15 |         version: 7.22.15 | ||||||
|       '@babel/helper-plugin-utils': |       '@babel/helper-plugin-utils': | ||||||
|         specifier: ^7.22.5 |         specifier: ^7.22.5 | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user