mirror of
				https://github.com/vuejs/babel-plugin-jsx.git
				synced 2025-10-31 09:22:19 +08:00 
			
		
		
		
	chore(deps): update all non-major dependencies (#678)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
This commit is contained in:
		| @@ -24,25 +24,25 @@ | ||||
|   ], | ||||
|   "dependencies": { | ||||
|     "@babel/helper-module-imports": "^7.22.15", | ||||
|     "@babel/plugin-syntax-jsx": "^7.22.5", | ||||
|     "@babel/plugin-syntax-jsx": "^7.23.3", | ||||
|     "@babel/template": "^7.22.15", | ||||
|     "@babel/traverse": "^7.23.2", | ||||
|     "@babel/types": "^7.23.0", | ||||
|     "@babel/traverse": "^7.23.7", | ||||
|     "@babel/types": "^7.23.6", | ||||
|     "@vue/babel-helper-vue-transform-on": "workspace:^", | ||||
|     "camelcase": "^6.3.0", | ||||
|     "html-tags": "^3.3.1", | ||||
|     "svg-tags": "^1.0.0" | ||||
|   }, | ||||
|   "devDependencies": { | ||||
|     "@babel/core": "^7.23.2", | ||||
|     "@babel/preset-env": "^7.23.2", | ||||
|     "@types/babel__template": "^7.4.3", | ||||
|     "@types/babel__traverse": "^7.20.3", | ||||
|     "@types/svg-tags": "^1.0.1", | ||||
|     "@vue/runtime-dom": "^3.3.7", | ||||
|     "@vue/test-utils": "^2.4.1", | ||||
|     "regenerator-runtime": "^0.14.0", | ||||
|     "vue": "^3.3.7" | ||||
|     "@babel/core": "^7.23.7", | ||||
|     "@babel/preset-env": "^7.23.8", | ||||
|     "@types/babel__template": "^7.4.4", | ||||
|     "@types/babel__traverse": "^7.20.5", | ||||
|     "@types/svg-tags": "^1.0.2", | ||||
|     "@vue/runtime-dom": "^3.4.11", | ||||
|     "@vue/test-utils": "^2.4.3", | ||||
|     "regenerator-runtime": "^0.14.1", | ||||
|     "vue": "^3.4.11" | ||||
|   }, | ||||
|   "peerDependencies": { | ||||
|     "@babel/core": "^7.0.0-0" | ||||
|   | ||||
| @@ -80,8 +80,8 @@ export const transformJSXMemberExpression = ( | ||||
|         path.get('object') as NodePath<t.JSXMemberExpression> | ||||
|       ) | ||||
|     : t.isJSXIdentifier(objectPath) | ||||
|     ? t.identifier(objectPath.name) | ||||
|     : t.nullLiteral(); | ||||
|       ? t.identifier(objectPath.name) | ||||
|       : t.nullLiteral(); | ||||
|   const transformedProperty = t.identifier(propertyPath.name); | ||||
|   return t.memberExpression(transformedObject, transformedProperty); | ||||
| }; | ||||
| @@ -106,12 +106,12 @@ export const getTag = ( | ||||
|       return name === FRAGMENT | ||||
|         ? createIdentifier(state, FRAGMENT) | ||||
|         : path.scope.hasBinding(name) | ||||
|         ? t.identifier(name) | ||||
|         : state.opts.isCustomElement?.(name) | ||||
|         ? t.stringLiteral(name) | ||||
|         : t.callExpression(createIdentifier(state, 'resolveComponent'), [ | ||||
|             t.stringLiteral(name), | ||||
|           ]); | ||||
|           ? t.identifier(name) | ||||
|           : state.opts.isCustomElement?.(name) | ||||
|             ? t.stringLiteral(name) | ||||
|             : t.callExpression(createIdentifier(state, 'resolveComponent'), [ | ||||
|                 t.stringLiteral(name), | ||||
|               ]); | ||||
|     } | ||||
|  | ||||
|     return t.stringLiteral(name); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user