diff --git a/package.json b/package.json index fba8cb01..6da0aadc 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "private": true, - "packageManager": "pnpm@8.6.2", + "packageManager": "pnpm@8.6.3", "scripts": { "build": "pnpm run -r build", "test": "vitest", @@ -18,7 +18,7 @@ "@rollup/plugin-babel": "^6.0.3", "@types/babel__core": "^7.20.1", "@types/node": "^20.3.1", - "@typescript-eslint/eslint-plugin": "^5.59.11", + "@typescript-eslint/eslint-plugin": "^5.60.0", "@vitest/coverage-v8": "^0.32.2", "bumpp": "^9.1.1", "eslint": "^8.43.0", diff --git a/packages/babel-plugin-jsx/package.json b/packages/babel-plugin-jsx/package.json index b4050518..ea605253 100644 --- a/packages/babel-plugin-jsx/package.json +++ b/packages/babel-plugin-jsx/package.json @@ -40,7 +40,7 @@ "@types/babel__traverse": "^7.20.1", "@types/svg-tags": "^1.0.0", "@vue/runtime-dom": "^3.3.4", - "@vue/test-utils": "^2.3.2", + "@vue/test-utils": "^2.4.0", "regenerator-runtime": "^0.13.11", "vue": "^3.3.4" }, diff --git a/packages/babel-plugin-jsx/test/index.test.tsx b/packages/babel-plugin-jsx/test/index.test.tsx index 162c7933..f136224f 100644 --- a/packages/babel-plugin-jsx/test/index.test.tsx +++ b/packages/babel-plugin-jsx/test/index.test.tsx @@ -429,32 +429,34 @@ describe('variables outside slots', () => { }); test('forwarded', async () => { - const wrapper = mount({ - data() { - return { - val: 0, - }; - }, - methods: { - inc() { - this.val += 1; + const wrapper = mount( + defineComponent({ + data() { + return { + val: 0, + }; }, - }, - render() { - const attrs = { - innerHTML: `${this.val}`, - }; - const textarea =