chore: bump deps
This commit is contained in:
parent
73f8cae465
commit
84b24a71f0
@ -16,7 +16,8 @@ module.exports = {
|
|||||||
__COMPAT__: true,
|
__COMPAT__: true,
|
||||||
'ts-jest': {
|
'ts-jest': {
|
||||||
tsconfig: {
|
tsconfig: {
|
||||||
target: 'esnext'
|
target: 'esnext',
|
||||||
|
sourceMap: true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -33,9 +33,9 @@
|
|||||||
"homepage": "https://github.com/vuejs/vue-next/tree/master/packages/compiler-core#readme",
|
"homepage": "https://github.com/vuejs/vue-next/tree/master/packages/compiler-core#readme",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@vue/shared": "3.2.4",
|
"@vue/shared": "3.2.4",
|
||||||
"@babel/parser": "^7.12.0",
|
"@babel/parser": "^7.15.0",
|
||||||
"@babel/types": "^7.12.0",
|
"@babel/types": "^7.15.0",
|
||||||
"estree-walker": "^2.0.1",
|
"estree-walker": "^2.0.2",
|
||||||
"source-map": "^0.6.1"
|
"source-map": "^0.6.1"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
import {
|
import {
|
||||||
|
isReferenced,
|
||||||
Identifier,
|
Identifier,
|
||||||
Node,
|
Node,
|
||||||
isReferenced,
|
|
||||||
Function,
|
Function,
|
||||||
ObjectProperty
|
ObjectProperty
|
||||||
} from '@babel/types'
|
} from '@babel/types'
|
||||||
|
@ -31,15 +31,15 @@
|
|||||||
},
|
},
|
||||||
"homepage": "https://github.com/vuejs/vue-next/tree/master/packages/compiler-sfc#readme",
|
"homepage": "https://github.com/vuejs/vue-next/tree/master/packages/compiler-sfc#readme",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@babel/parser": "^7.13.9",
|
"@babel/parser": "^7.15.0",
|
||||||
"@babel/types": "^7.13.0",
|
"@babel/types": "^7.15.0",
|
||||||
"@types/estree": "^0.0.48",
|
"@types/estree": "^0.0.48",
|
||||||
"@vue/compiler-core": "3.2.4",
|
"@vue/compiler-core": "3.2.4",
|
||||||
"@vue/compiler-dom": "3.2.4",
|
"@vue/compiler-dom": "3.2.4",
|
||||||
"@vue/compiler-ssr": "3.2.4",
|
"@vue/compiler-ssr": "3.2.4",
|
||||||
"@vue/shared": "3.2.4",
|
"@vue/shared": "3.2.4",
|
||||||
"consolidate": "^0.16.0",
|
"consolidate": "^0.16.0",
|
||||||
"estree-walker": "^2.0.1",
|
"estree-walker": "^2.0.2",
|
||||||
"hash-sum": "^2.0.0",
|
"hash-sum": "^2.0.0",
|
||||||
"lru-cache": "^5.1.1",
|
"lru-cache": "^5.1.1",
|
||||||
"magic-string": "^0.25.7",
|
"magic-string": "^0.25.7",
|
||||||
|
@ -1752,10 +1752,15 @@ function extractEventNames(
|
|||||||
) {
|
) {
|
||||||
const typeNode = eventName.typeAnnotation.typeAnnotation
|
const typeNode = eventName.typeAnnotation.typeAnnotation
|
||||||
if (typeNode.type === 'TSLiteralType') {
|
if (typeNode.type === 'TSLiteralType') {
|
||||||
emits.add(String(typeNode.literal.value))
|
if (typeNode.literal.type !== 'UnaryExpression') {
|
||||||
|
emits.add(String(typeNode.literal.value))
|
||||||
|
}
|
||||||
} else if (typeNode.type === 'TSUnionType') {
|
} else if (typeNode.type === 'TSUnionType') {
|
||||||
for (const t of typeNode.types) {
|
for (const t of typeNode.types) {
|
||||||
if (t.type === 'TSLiteralType') {
|
if (
|
||||||
|
t.type === 'TSLiteralType' &&
|
||||||
|
t.literal.type !== 'UnaryExpression'
|
||||||
|
) {
|
||||||
emits.add(String(t.literal.value))
|
emits.add(String(t.literal.value))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -81,7 +81,7 @@ function createConfig(format, output, plugins = []) {
|
|||||||
process.exit(1)
|
process.exit(1)
|
||||||
}
|
}
|
||||||
|
|
||||||
output.exports = 'auto'
|
output.exports = 'named'
|
||||||
output.sourcemap = !!process.env.SOURCE_MAP
|
output.sourcemap = !!process.env.SOURCE_MAP
|
||||||
output.externalLiveBindings = false
|
output.externalLiveBindings = false
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user