From 5a25165e661576890d775049d1c15f09bc664179 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 22 Jun 2023 15:21:41 +0800 Subject: [PATCH] chore(deps): update all non-major dependencies (#615) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: 三咲智子 Kevin Deng --- package.json | 4 +- packages/babel-plugin-jsx/package.json | 2 +- packages/babel-plugin-jsx/test/index.test.tsx | 52 +++--- .../babel-plugin-jsx/test/v-model.test.tsx | 174 ++++++++++-------- .../babel-plugin-jsx/test/v-models.test.tsx | 82 +++++---- pnpm-lock.yaml | 97 +++++++--- 6 files changed, 243 insertions(+), 168 deletions(-) diff --git a/package.json b/package.json index fba8cb0..6da0aad 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 b405051..ea60525 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 162c793..f136224 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 =