File tree Expand file tree Collapse file tree 7 files changed +154
-197
lines changed Expand file tree Collapse file tree 7 files changed +154
-197
lines changed Original file line number Diff line number Diff line change 56
56
"node" : " >=16.11.0"
57
57
},
58
58
"devDependencies" : {
59
- "@babel/parser" : " ^7.21.3 " ,
60
- "@babel/types" : " ^7.21.3 " ,
59
+ "@babel/parser" : " ^7.22.7 " ,
60
+ "@babel/types" : " ^7.22.5 " ,
61
61
"@rollup/plugin-alias" : " ^4.0.3" ,
62
62
"@rollup/plugin-commonjs" : " ^24.0.1" ,
63
63
"@rollup/plugin-json" : " ^6.0.0" ,
Original file line number Diff line number Diff line change 32
32
},
33
33
"homepage" : " https://github.com/vuejs/core/tree/main/packages/compiler-core#readme" ,
34
34
"dependencies" : {
35
- "@babel/parser" : " ^7.21.3 " ,
35
+ "@babel/parser" : " ^7.22.7 " ,
36
36
"@vue/shared" : " 3.3.4" ,
37
37
"estree-walker" : " ^2.0.2" ,
38
38
"source-map-js" : " ^1.0.2"
39
39
},
40
40
"devDependencies" : {
41
- "@babel/types" : " ^7.21.3 "
41
+ "@babel/types" : " ^7.22.5 "
42
42
}
43
43
}
Original file line number Diff line number Diff line change 32
32
},
33
33
"homepage" : " https://github.com/vuejs/core/tree/main/packages/compiler-sfc#readme" ,
34
34
"dependencies" : {
35
- "@babel/parser" : " ^7.20.15 " ,
35
+ "@babel/parser" : " ^7.22.7 " ,
36
36
"@vue/compiler-core" : " 3.3.4" ,
37
37
"@vue/compiler-dom" : " 3.3.4" ,
38
38
"@vue/compiler-ssr" : " 3.3.4" ,
44
44
"source-map-js" : " ^1.0.2"
45
45
},
46
46
"devDependencies" : {
47
- "@babel/types" : " ^7.21.3 " ,
47
+ "@babel/types" : " ^7.22.5 " ,
48
48
"@types/estree" : " ^0.0.48" ,
49
49
"@types/lru-cache" : " ^5.1.0" ,
50
50
"@vue/consolidate" : " ^0.17.3" ,
Original file line number Diff line number Diff line change @@ -163,7 +163,10 @@ export function resolveParserPlugins(
163
163
userPlugins = userPlugins . filter ( p => p !== 'jsx' )
164
164
}
165
165
if ( lang === 'ts' || lang === 'tsx' ) {
166
- plugins . push ( [ 'typescript' , { dts } ] )
166
+ plugins . push (
167
+ [ 'typescript' , { dts } ] ,
168
+ [ 'importAttributes' , { deprecatedAssertSyntax : true } ]
169
+ )
167
170
if ( ! plugins . includes ( 'decorators' ) ) {
168
171
plugins . push ( 'decorators-legacy' )
169
172
}
Original file line number Diff line number Diff line change 28
28
},
29
29
"homepage" : " https://github.com/vuejs/core/tree/dev/packages/reactivity-transform#readme" ,
30
30
"dependencies" : {
31
- "@babel/parser" : " ^7.20.15 " ,
31
+ "@babel/parser" : " ^7.22.7 " ,
32
32
"@vue/compiler-core" : " 3.3.4" ,
33
33
"@vue/shared" : " 3.3.4" ,
34
34
"estree-walker" : " ^2.0.2" ,
35
35
"magic-string" : " ^0.30.0"
36
36
},
37
37
"devDependencies" : {
38
- "@babel/core" : " ^7.21.3 " ,
39
- "@babel/types" : " ^7.21.3 "
38
+ "@babel/core" : " ^7.22.9 " ,
39
+ "@babel/types" : " ^7.22.5 "
40
40
}
41
41
}
Original file line number Diff line number Diff line change 38
38
},
39
39
"homepage" : " https://github.com/vuejs/core/tree/main/packages/vue-compat#readme" ,
40
40
"dependencies" : {
41
- "@babel/parser" : " ^7.21.3 " ,
41
+ "@babel/parser" : " ^7.22.7 " ,
42
42
"estree-walker" : " ^2.0.2" ,
43
43
"source-map-js" : " ^1.0.2"
44
44
},
You can’t perform that action at this time.
0 commit comments