Skip to content

Commit

Permalink
chore(deps): bump vue to 3.2
Browse files Browse the repository at this point in the history
  • Loading branch information
xanf committed Aug 27, 2021
1 parent df43338 commit 86fb3ef
Show file tree
Hide file tree
Showing 5 changed files with 49 additions and 98 deletions.
9 changes: 5 additions & 4 deletions package.json
Expand Up @@ -23,9 +23,9 @@
"@types/node": "16.7.1",
"@types/pretty": "^2.0.0",
"@vue/babel-plugin-jsx": "^1.0.6",
"@vue/compat": "^3.1.5",
"@vue/compiler-dom": "^3.1.4",
"@vue/compiler-sfc": "3.1.5",
"@vue/compat": "3.2.4",
"@vue/compiler-dom": "3.2.4",
"@vue/compiler-sfc": "3.2.4",
"babel-jest": "^26.6.3",
"babel-preset-jest": "^27.0.6",
"husky": "^7.0.1",
Expand All @@ -39,9 +39,10 @@
"rollup": "^2.56.3",
"rollup-plugin-typescript2": "^0.30.0",
"ts-jest": "25.3.1",
"tslib": "^2.3.1",
"typescript": "^4.3.5",
"vitepress": "^0.16.1",
"vue": "3.1.5",
"vue": "3.2.4",
"vue-class-component": "^8.0.0-rc.1",
"vue-jest": "^5.0.0-alpha.10",
"vue-router": "^4.0.11",
Expand Down
5 changes: 3 additions & 2 deletions src/stubs.ts
Expand Up @@ -8,6 +8,7 @@ import {
defineComponent,
VNodeTypes,
ConcreteComponent,
DefineComponent,
ComponentPropsOptions
} from 'vue'
import { hyphenate } from './utils/vueShared'
Expand Down Expand Up @@ -41,7 +42,7 @@ export const createStub = ({
name,
propsDeclaration,
renderStubDefaultSlot
}: StubOptions): ComponentOptions => {
}: StubOptions) => {
const anonName = 'anonymous-stub'
const tag = name ? `${hyphenate(name)}-stub` : anonName

Expand All @@ -57,7 +58,7 @@ export const createStub = ({
})
}

const createTransitionStub = ({ name }: StubOptions): ComponentOptions => {
const createTransitionStub = ({ name }: StubOptions) => {
const render = (ctx: ComponentPublicInstance) => {
return h(name, {}, ctx.$slots)
}
Expand Down
3 changes: 2 additions & 1 deletion tests/emit.spec.ts
@@ -1,4 +1,5 @@
import {
DefineComponent,
defineComponent,
FunctionalComponent,
getCurrentInstance,
Expand Down Expand Up @@ -322,7 +323,7 @@ describe('emitted', () => {
expect(wrapper.emitted('foo')).toHaveLength(1)
})

it.each([EmitsEventSFC, EmitsEventScriptSetup])(
it.each([EmitsEventSFC, EmitsEventScriptSetup] as DefineComponent[])(
'captures emitted events',
async (component) => {
const wrapper = mount(component)
Expand Down
6 changes: 3 additions & 3 deletions tests/mountingOptions/global.stubs.spec.ts
Expand Up @@ -22,7 +22,7 @@ describe('mounting options: stubs', () => {
return h('p')
}
}
const Component: ComponentOptions = {
const Component = {
render() {
return h(() => [h('div'), h(Foo)])
}
Expand Down Expand Up @@ -131,7 +131,7 @@ describe('mounting options: stubs', () => {
return h('p')
}
}
const Component: ComponentOptions = {
const Component = {
render() {
return h(() => [h('div'), h(Foo)])
}
Expand Down Expand Up @@ -283,7 +283,7 @@ describe('mounting options: stubs', () => {
return h('p')
}
}
const Component: ComponentOptions = {
const Component = {
render() {
return h(() => [h(Foo), h(Bar)])
}
Expand Down
124 changes: 36 additions & 88 deletions yarn.lock
Expand Up @@ -1719,21 +1719,10 @@
html-tags "^3.1.0"
svg-tags "^1.0.0"

"@vue/compat@^3.1.5":
version "3.1.5"
resolved "https://registry.yarnpkg.com/@vue/compat/-/compat-3.1.5.tgz#2d2e4be1ec502f111ca9f4af0d6dc648adebc5fa"
integrity sha512-i+XNDN7oa/fvGElA548a2YkNQAuV2KImxX0h4uxL0lyRwSbWYBW8Zc5KYxOFs8F3MsiS2EXX3JqaTOpCut/tRQ==

"@vue/compiler-core@3.1.5":
version "3.1.5"
resolved "https://registry.yarnpkg.com/@vue/compiler-core/-/compiler-core-3.1.5.tgz#298f905b6065d6d81ff63756f98c60876b393c87"
integrity sha512-TXBhFinoBaXKDykJzY26UEuQU1K07FOp/0Ie+OXySqqk0bS0ZO7Xvl7UmiTUPYcLrWbxWBR7Bs/y55AI0MNc2Q==
dependencies:
"@babel/parser" "^7.12.0"
"@babel/types" "^7.12.0"
"@vue/shared" "3.1.5"
estree-walker "^2.0.1"
source-map "^0.6.1"
"@vue/compat@3.2.4":
version "3.2.4"
resolved "https://registry.yarnpkg.com/@vue/compat/-/compat-3.2.4.tgz#d5a30b7ce40e0f3333b6d28262ab7a5977861364"
integrity sha512-u/VQmEp5/Zsov4mCEV46jz4IIlsaQM/VyNE3m75g9gziwK8J6iiMT0xSvJsouNwFKIXggkAHfYeL/J3p+cObzQ==

"@vue/compiler-core@3.2.2":
version "3.2.2"
Expand All @@ -1746,14 +1735,6 @@
estree-walker "^2.0.1"
source-map "^0.6.1"

"@vue/compiler-dom@3.1.5", "@vue/compiler-dom@^3.1.4":
version "3.1.5"
resolved "https://registry.yarnpkg.com/@vue/compiler-dom/-/compiler-dom-3.1.5.tgz#cbb97020c62a5faa3fbc2a97916bd98041ac9856"
integrity sha512-ZsL3jqJ52OjGU/YiT/9XiuZAmWClKInZM2aFJh9gnsAPqOrj2JIELMbkIFpVKR/CrVO/f2VxfPiiQdQTr65jcQ==
dependencies:
"@vue/compiler-core" "3.1.5"
"@vue/shared" "3.1.5"

"@vue/compiler-dom@3.2.2", "@vue/compiler-dom@^3.2.2":
version "3.2.2"
resolved "https://registry.yarnpkg.com/@vue/compiler-dom/-/compiler-dom-3.2.2.tgz#26e198498746c53047c3744d26fc95e670692ab7"
Expand All @@ -1762,18 +1743,26 @@
"@vue/compiler-core" "3.2.2"
"@vue/shared" "3.2.2"

"@vue/compiler-sfc@3.1.5":
version "3.1.5"
resolved "https://registry.yarnpkg.com/@vue/compiler-sfc/-/compiler-sfc-3.1.5.tgz#e61e54f3a963b0f4a8e523fbb8632390dc52b0d6"
integrity sha512-mtMY6xMvZeSRx9MTa1+NgJWndrkzVTdJ1pQAmAKQuxyb5LsHVvrgP7kcQFvxPHVpLVTORbTJWHaiqoKrJvi1iA==
"@vue/compiler-dom@3.2.4":
version "3.2.4"
resolved "https://registry.yarnpkg.com/@vue/compiler-dom/-/compiler-dom-3.2.4.tgz#3a43de243eba127abbe57e796a0b969d2df78c08"
integrity sha512-uj1nwO4794fw2YsYas5QT+FU/YGrXbS0Qk+1c7Kp1kV7idhZIghWLTjyvYibpGoseFbYLPd+sW2/noJG5H04EQ==
dependencies:
"@vue/compiler-core" "3.2.4"
"@vue/shared" "3.2.4"

"@vue/compiler-sfc@3.2.4", "@vue/compiler-sfc@^3.2.1":
version "3.2.4"
resolved "https://registry.yarnpkg.com/@vue/compiler-sfc/-/compiler-sfc-3.2.4.tgz#9807868cc950291f163c3930a81bb16e870df097"
integrity sha512-GM+ouDdDzhqgkLmBH4bgq4kiZxJQArSppJiZHWHIx9XRaefHLmc1LBNPmN8ivm4SVfi2i7M2t9k8ZnjsScgzPQ==
dependencies:
"@babel/parser" "^7.13.9"
"@babel/types" "^7.13.0"
"@types/estree" "^0.0.48"
"@vue/compiler-core" "3.1.5"
"@vue/compiler-dom" "3.1.5"
"@vue/compiler-ssr" "3.1.5"
"@vue/shared" "3.1.5"
"@vue/compiler-core" "3.2.4"
"@vue/compiler-dom" "3.2.4"
"@vue/compiler-ssr" "3.2.4"
"@vue/shared" "3.2.4"
consolidate "^0.16.0"
estree-walker "^2.0.1"
hash-sum "^2.0.0"
Expand All @@ -1785,7 +1774,7 @@
postcss-selector-parser "^6.0.4"
source-map "^0.6.1"

"@vue/compiler-sfc@^3.2.1", "@vue/compiler-sfc@^3.2.2":
"@vue/compiler-sfc@^3.2.2":
version "3.2.2"
resolved "https://registry.yarnpkg.com/@vue/compiler-sfc/-/compiler-sfc-3.2.2.tgz#5b7b13b07689be8e4880d856f72d1be500785be9"
integrity sha512-hrtqpQ5L6IPn5v7yVRo7uvLcQxv0z1+KBjZBWMBOcrXz4t+PKUxU/SWd6Tl9T8FDmYlunzKUh6lcx+2CLo6f5A==
Expand All @@ -1808,14 +1797,6 @@
postcss-selector-parser "^6.0.4"
source-map "^0.6.1"

"@vue/compiler-ssr@3.1.5":
version "3.1.5"
resolved "https://registry.yarnpkg.com/@vue/compiler-ssr/-/compiler-ssr-3.1.5.tgz#f068652774293256a1e53084bed48a67682df9d2"
integrity sha512-CU5N7Di/a4lyJ18LGJxJYZS2a8PlLdWpWHX9p/XcsjT2TngMpj3QvHVRkuik2u8QrIDZ8OpYmTyj1WDNsOV+Dg==
dependencies:
"@vue/compiler-dom" "3.1.5"
"@vue/shared" "3.1.5"

"@vue/compiler-ssr@3.2.2":
version "3.2.2"
resolved "https://registry.yarnpkg.com/@vue/compiler-ssr/-/compiler-ssr-3.2.2.tgz#633bb8e01f00a969c35ca12db32be7fe4c7185a9"
Expand All @@ -1829,28 +1810,13 @@
resolved "https://registry.yarnpkg.com/@vue/devtools-api/-/devtools-api-6.0.0-beta.14.tgz#6ed2d6f8d66a9256c9ad04bfff08309ba87b9723"
integrity sha512-44fPrrN1cqcs6bFkT0C+yxTM6PZXLbR+ESh1U1j8UD22yO04gXvxH62HApMjLbS3WqJO/iCNC+CYT+evPQh2EQ==

"@vue/reactivity@3.1.5":
version "3.1.5"
resolved "https://registry.yarnpkg.com/@vue/reactivity/-/reactivity-3.1.5.tgz#dbec4d9557f7c8f25c2635db1e23a78a729eb991"
integrity sha512-1tdfLmNjWG6t/CsPldh+foumYFo3cpyCHgBYQ34ylaMsJ+SNHQ1kApMIa8jN+i593zQuaw3AdWH0nJTARzCFhg==
dependencies:
"@vue/shared" "3.1.5"

"@vue/reactivity@3.2.2", "@vue/reactivity@^3.2.2":
version "3.2.2"
resolved "https://registry.yarnpkg.com/@vue/reactivity/-/reactivity-3.2.2.tgz#d37011a68395e038a3cf5256af52d48c591b06b6"
integrity sha512-IHjhtmrhK6dzacj/EnLQDWOaA3HuzzVk6w84qgV8EpS4uWGIJXiRalMRg6XvGW2ykJvIl3pLsF0aBFlTMRiLOA==
dependencies:
"@vue/shared" "3.2.2"

"@vue/runtime-core@3.1.5":
version "3.1.5"
resolved "https://registry.yarnpkg.com/@vue/runtime-core/-/runtime-core-3.1.5.tgz#a545b7f146092929cb5e833e85439150f17ac87b"
integrity sha512-YQbG5cBktN1RowQDKA22itmvQ+b40f0WgQ6CXK4VYoYICAiAfu6Cc14777ve8zp1rJRGtk5oIeS149TOculrTg==
dependencies:
"@vue/reactivity" "3.1.5"
"@vue/shared" "3.1.5"

"@vue/runtime-core@3.2.2":
version "3.2.2"
resolved "https://registry.yarnpkg.com/@vue/runtime-core/-/runtime-core-3.2.2.tgz#b9a7250783de19dd8dd6febf008084b0f9144586"
Expand All @@ -1859,15 +1825,6 @@
"@vue/reactivity" "3.2.2"
"@vue/shared" "3.2.2"

"@vue/runtime-dom@3.1.5":
version "3.1.5"
resolved "https://registry.yarnpkg.com/@vue/runtime-dom/-/runtime-dom-3.1.5.tgz#4fa28947d408aa368fa17ea0edc1beb9af1472a1"
integrity sha512-tNcf3JhVR0RfW0kw1p8xZgv30nvX8Y9rsz7eiQ0dHe273sfoCngAG0y4GvMaY4Xd8FsjUwFedd4suQ8Lu8meXg==
dependencies:
"@vue/runtime-core" "3.1.5"
"@vue/shared" "3.1.5"
csstype "^2.6.8"

"@vue/runtime-dom@3.2.2":
version "3.2.2"
resolved "https://registry.yarnpkg.com/@vue/runtime-dom/-/runtime-dom-3.2.2.tgz#6d0da23ed1cfc702477f4b8c5dc4f9335c94e119"
Expand All @@ -1885,11 +1842,6 @@
"@vue/compiler-ssr" "3.2.2"
"@vue/shared" "3.2.2"

"@vue/shared@3.1.5":
version "3.1.5"
resolved "https://registry.yarnpkg.com/@vue/shared/-/shared-3.1.5.tgz#74ee3aad995d0a3996a6bb9533d4d280514ede03"
integrity sha512-oJ4F3TnvpXaQwZJNF3ZK+kLPHKarDmJjJ6jyzVNDKH9md1dptjC7lWR//jrGuLdek/U6iltWxqAnYOu8gCiOvA==

"@vue/shared@3.2.2", "@vue/shared@^3.2.2":
version "3.2.2"
resolved "https://registry.yarnpkg.com/@vue/shared/-/shared-3.2.2.tgz#6104185ebd57af5a14ac51c1f491b2205fc24054"
Expand Down Expand Up @@ -6625,6 +6577,11 @@ tslib@^1.9.0:
resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.11.1.tgz#eb15d128827fbee2841549e171f45ed338ac7e35"
integrity sha512-aZW88SY8kQbU7gpV19lN24LtXh/yD4ZZg6qieAJDDg+YBsJcSmLGK9QpnUjAKVG/xefmvJGd1WUmfpT/g6AJGA==

tslib@^2.3.1:
version "2.3.1"
resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.3.1.tgz#e8a335add5ceae51aa261d32a490158ef042ef01"
integrity sha512-77EbyPPpMz+FRFRuAFlWMtmgUWGe9UOG2Z25NqCwiIjRhOf5iKGuzSe5P2w1laq+FkRy4p+PCuVkJSGkzTEKVw==

tunnel-agent@^0.6.0:
version "0.6.0"
resolved "https://registry.yarnpkg.com/tunnel-agent/-/tunnel-agent-0.6.0.tgz#27a5dea06b36b04a0a9966774b290868f0fc40fd"
Expand Down Expand Up @@ -6672,9 +6629,9 @@ typedarray-to-buffer@^3.1.5:
is-typedarray "^1.0.0"

typescript@^4.3.5:
version "4.3.5"
resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.3.5.tgz#4d1c37cc16e893973c45a06886b7113234f119f4"
integrity sha512-DqQgihaQ9cUrskJo9kIyW/+g0Vxsk8cDtZ52a3NGh0YNTfpUSArXSohyUGnvbPazEPLu398C0UxmKSOrPumUzA==
version "4.4.2"
resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.4.2.tgz#6d618640d430e3569a1dfb44f7d7e600ced3ee86"
integrity sha512-gzP+t5W4hdy4c+68bfcv0t400HVJMMd2+H9B7gae1nQlBzCqvrXX+6GL/b3GAgyTH966pzrZ70/fRjwAtZksSQ==

uc.micro@^1.0.1, uc.micro@^1.0.5:
version "1.0.6"
Expand Down Expand Up @@ -7010,23 +6967,14 @@ vue-tsc@0.3.0:
dependencies:
vscode-vue-languageservice "^0.27.0"

vue@3.1.5:
version "3.1.5"
resolved "https://registry.yarnpkg.com/vue/-/vue-3.1.5.tgz#12879b11d0685ee4478c8869551799630a52f9fe"
integrity sha512-Ho7HNb1nfDoO+HVb6qYZgeaobt1XbY6KXFe4HGs1b9X6RhkWG/113n4/SrtM1LUclM6OrP/Se5aPHHvAPG1iVQ==
dependencies:
"@vue/compiler-dom" "3.1.5"
"@vue/runtime-dom" "3.1.5"
"@vue/shared" "3.1.5"

vue@^3.2.1:
version "3.2.2"
resolved "https://registry.yarnpkg.com/vue/-/vue-3.2.2.tgz#11715cb71a02baefd0f6e6552dc623680eb1bf32"
integrity sha512-D/LuzAV30CgNJYGyNheE/VUs5N4toL2IgmS6c9qeOxvyh0xyn4exyRqizpXIrsvfx34zG9x5gCI2tdRHCGvF9w==
vue@3.2.4, vue@^3.2.1:
version "3.2.4"
resolved "https://registry.yarnpkg.com/vue/-/vue-3.2.4.tgz#d94d88675e41c050d3a722d0848a7063b5e87a60"
integrity sha512-rNCFmoewm8IwmTK0nj3ysKq53iRpNEFKoBJ4inar6tIh7Oj7juubS39RI8UI+VE7x+Cs2z6PBsadtZu7z2qppg==
dependencies:
"@vue/compiler-dom" "3.2.2"
"@vue/runtime-dom" "3.2.2"
"@vue/shared" "3.2.2"
"@vue/compiler-dom" "3.2.4"
"@vue/runtime-dom" "3.2.4"
"@vue/shared" "3.2.4"

vuex@^4.0.2:
version "4.0.2"
Expand Down

0 comments on commit 86fb3ef

Please sign in to comment.