mirror of
https://github.com/vuejs/babel-plugin-jsx.git
synced 2024-11-10 09:39:14 +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:
parent
62947451b3
commit
436868d9f9
20
package.json
20
package.json
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "vue-jsx-monorepo",
|
"name": "vue-jsx-monorepo",
|
||||||
"private": true,
|
"private": true,
|
||||||
"packageManager": "pnpm@8.10.0",
|
"packageManager": "pnpm@8.14.1",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "pnpm run -r build",
|
"build": "pnpm run -r build",
|
||||||
"test": "vitest",
|
"test": "vitest",
|
||||||
@ -17,18 +17,18 @@
|
|||||||
],
|
],
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@rollup/plugin-babel": "^6.0.4",
|
"@rollup/plugin-babel": "^6.0.4",
|
||||||
"@types/babel__core": "^7.20.3",
|
"@types/babel__core": "^7.20.5",
|
||||||
"@types/node": "^20.8.9",
|
"@types/node": "^20.11.0",
|
||||||
"@typescript-eslint/eslint-plugin": "^6.9.0",
|
"@typescript-eslint/eslint-plugin": "^6.18.1",
|
||||||
"@vitest/coverage-v8": "^0.34.6",
|
"@vitest/coverage-v8": "^0.34.6",
|
||||||
"bumpp": "^9.2.0",
|
"bumpp": "^9.2.1",
|
||||||
"eslint": "^8.52.0",
|
"eslint": "^8.56.0",
|
||||||
"eslint-config-prettier": "^9.0.0",
|
"eslint-config-prettier": "^9.1.0",
|
||||||
"eslint-plugin-import": "^2.29.0",
|
"eslint-plugin-import": "^2.29.1",
|
||||||
"jsdom": "^22.1.0",
|
"jsdom": "^22.1.0",
|
||||||
"prettier": "^3.0.3",
|
"prettier": "^3.2.0",
|
||||||
"tsup": "^8.0.1",
|
"tsup": "^8.0.1",
|
||||||
"typescript": "^5.2.2",
|
"typescript": "^5.3.3",
|
||||||
"vite": "^5.0.11",
|
"vite": "^5.0.11",
|
||||||
"vitest": "^0.34.6"
|
"vitest": "^0.34.6"
|
||||||
},
|
},
|
||||||
|
@ -24,25 +24,25 @@
|
|||||||
],
|
],
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@babel/helper-module-imports": "^7.22.15",
|
"@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/template": "^7.22.15",
|
||||||
"@babel/traverse": "^7.23.2",
|
"@babel/traverse": "^7.23.7",
|
||||||
"@babel/types": "^7.23.0",
|
"@babel/types": "^7.23.6",
|
||||||
"@vue/babel-helper-vue-transform-on": "workspace:^",
|
"@vue/babel-helper-vue-transform-on": "workspace:^",
|
||||||
"camelcase": "^6.3.0",
|
"camelcase": "^6.3.0",
|
||||||
"html-tags": "^3.3.1",
|
"html-tags": "^3.3.1",
|
||||||
"svg-tags": "^1.0.0"
|
"svg-tags": "^1.0.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@babel/core": "^7.23.2",
|
"@babel/core": "^7.23.7",
|
||||||
"@babel/preset-env": "^7.23.2",
|
"@babel/preset-env": "^7.23.8",
|
||||||
"@types/babel__template": "^7.4.3",
|
"@types/babel__template": "^7.4.4",
|
||||||
"@types/babel__traverse": "^7.20.3",
|
"@types/babel__traverse": "^7.20.5",
|
||||||
"@types/svg-tags": "^1.0.1",
|
"@types/svg-tags": "^1.0.2",
|
||||||
"@vue/runtime-dom": "^3.3.7",
|
"@vue/runtime-dom": "^3.4.11",
|
||||||
"@vue/test-utils": "^2.4.1",
|
"@vue/test-utils": "^2.4.3",
|
||||||
"regenerator-runtime": "^0.14.0",
|
"regenerator-runtime": "^0.14.1",
|
||||||
"vue": "^3.3.7"
|
"vue": "^3.4.11"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"@babel/core": "^7.0.0-0"
|
"@babel/core": "^7.0.0-0"
|
||||||
|
@ -80,8 +80,8 @@ export const transformJSXMemberExpression = (
|
|||||||
path.get('object') as NodePath<t.JSXMemberExpression>
|
path.get('object') as NodePath<t.JSXMemberExpression>
|
||||||
)
|
)
|
||||||
: t.isJSXIdentifier(objectPath)
|
: t.isJSXIdentifier(objectPath)
|
||||||
? t.identifier(objectPath.name)
|
? t.identifier(objectPath.name)
|
||||||
: t.nullLiteral();
|
: t.nullLiteral();
|
||||||
const transformedProperty = t.identifier(propertyPath.name);
|
const transformedProperty = t.identifier(propertyPath.name);
|
||||||
return t.memberExpression(transformedObject, transformedProperty);
|
return t.memberExpression(transformedObject, transformedProperty);
|
||||||
};
|
};
|
||||||
@ -106,12 +106,12 @@ export const getTag = (
|
|||||||
return name === FRAGMENT
|
return name === FRAGMENT
|
||||||
? createIdentifier(state, FRAGMENT)
|
? createIdentifier(state, FRAGMENT)
|
||||||
: path.scope.hasBinding(name)
|
: path.scope.hasBinding(name)
|
||||||
? t.identifier(name)
|
? t.identifier(name)
|
||||||
: state.opts.isCustomElement?.(name)
|
: state.opts.isCustomElement?.(name)
|
||||||
? t.stringLiteral(name)
|
? t.stringLiteral(name)
|
||||||
: t.callExpression(createIdentifier(state, 'resolveComponent'), [
|
: t.callExpression(createIdentifier(state, 'resolveComponent'), [
|
||||||
t.stringLiteral(name),
|
t.stringLiteral(name),
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
|
||||||
return t.stringLiteral(name);
|
return t.stringLiteral(name);
|
||||||
|
@ -9,12 +9,12 @@
|
|||||||
"preview": "vite preview"
|
"preview": "vite preview"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@babel/core": "^7.23.2",
|
"@babel/core": "^7.23.7",
|
||||||
"@vue/babel-plugin-jsx": "workspace:*",
|
"@vue/babel-plugin-jsx": "workspace:*",
|
||||||
"monaco-editor": "^0.44.0",
|
"monaco-editor": "^0.45.0",
|
||||||
"vue": "^3.3.7"
|
"vue": "^3.4.11"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"vite-plugin-node-polyfills": "^0.15.0"
|
"vite-plugin-node-polyfills": "^0.19.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
1640
pnpm-lock.yaml
1640
pnpm-lock.yaml
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user