Skip to content

Commit d78e4e4

Browse files
committed
chore: upgrade vue
1 parent b93b00f commit d78e4e4

File tree

3 files changed

+41
-41
lines changed

3 files changed

+41
-41
lines changed

packages/babel-plugin-resolve-type/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
"@babel/helper-module-imports": "^7.22.5",
3939
"@babel/helper-plugin-utils": "^7.22.5",
4040
"@babel/parser": "^7.22.11",
41-
"@vue/compiler-sfc": "npm:@vue/compiler-sfc-canary@minor"
41+
"@vue/compiler-sfc": "^3.4.15"
4242
},
4343
"devDependencies": {
4444
"@babel/core": "^7.22.11",

packages/babel-plugin-resolve-type/test/__snapshots__/resolve-type.test.tsx.snap

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -43,22 +43,22 @@ exports[`resolve type > defineComponent scope > w/o import 1`] = `
4343
exports[`resolve type > infer component name > identifier options 1`] = `
4444
"import { defineComponent } from 'vue';
4545
const Foo = defineComponent(() => {}, {
46-
name: \\"Foo\\",
46+
name: "Foo",
4747
...opts
4848
});"
4949
`;
5050

5151
exports[`resolve type > infer component name > no options 1`] = `
5252
"import { defineComponent } from 'vue';
5353
const Foo = defineComponent(() => {}, {
54-
name: \\"Foo\\"
54+
name: "Foo"
5555
});"
5656
`;
5757

5858
exports[`resolve type > infer component name > object options 1`] = `
5959
"import { defineComponent } from 'vue';
6060
const Foo = defineComponent(() => {}, {
61-
name: \\"Foo\\",
61+
name: "Foo",
6262
foo: 'bar'
6363
});"
6464
`;
@@ -79,7 +79,7 @@ defineComponent((props, {
7979
emit('change');
8080
return () => {};
8181
}, {
82-
emits: [\\"change\\", \\"click\\"]
82+
emits: ["change", "click"]
8383
});"
8484
`;
8585

@@ -113,15 +113,15 @@ defineComponent((props: Props & Props2) => {
113113
`;
114114
115115
exports[`resolve type > runtime props > with dynamic default value 1`] = `
116-
"import { _mergeDefaults } from \\"vue\\";
116+
"import { _mergeDefaults } from "vue";
117117
import { defineComponent, h } from 'vue';
118118
const defaults = {};
119119
defineComponent((props: {
120120
msg?: string;
121121
} = defaults) => {
122122
return () => h('div', props.msg);
123123
}, {
124-
props: _mergeDefaults({
124+
props: /*#__PURE__*/_mergeDefaults({
125125
msg: {
126126
type: String,
127127
required: false

pnpm-lock.yaml

Lines changed: 34 additions & 34 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)