From aa488e46ba370d8e7f9aa178c46504653a4767f8 Mon Sep 17 00:00:00 2001 From: Anh Le Date: Mon, 23 Aug 2021 21:21:32 +0700 Subject: [PATCH] :bug: fix lost peer deps --- README.md | 2 +- docs/change-log.md | 2 +- package.json | 4 +++- yarn.lock | 57 ++++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 62 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index c3a9ab3..dbf5fe6 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ That's why `vue-tiny-validate` was born. - Easy. Come with familiar API and coherent documentation. - Tiny. Only **3.4KB** minified. **1.4KB** gzipped. - Flexible. Full control over everything. -- Fully functional. Sync validation, async validation, etc supported.\ +- Fully functional. Sync validation, async validation, etc supported. - Compatible. Works with both Vue 2.6 and Vue 3. ## Usage diff --git a/docs/change-log.md b/docs/change-log.md index 0c30d7c..2830240 100644 --- a/docs/change-log.md +++ b/docs/change-log.md @@ -1,4 +1,4 @@ -## 0.2.3 +## 0.2.4 - Fix `result` value is **touched** / **dirtied** before finishing test. diff --git a/package.json b/package.json index 9eed922..e59dbdd 100644 --- a/package.json +++ b/package.json @@ -63,11 +63,13 @@ "vite": "^2.3.5", "vite-plugin-windicss": "^1.0.4", "vitepress": "^0.15.3", + "vue": "^3.2.4", "vue-jest": "^5.0.0-alpha.10", "windicss": "^3.1.3" }, "peerDependencies": { - "@vue/composition-api": "^1.0.0-rc.1" + "@vue/composition-api": "^1.0.0-rc.1", + "vue": ">= 2.6 || >=3.0.0" }, "peerDependenciesMeta": { "@vue/composition-api": { diff --git a/yarn.lock b/yarn.lock index b2db9b0..862ee3d 100644 --- a/yarn.lock +++ b/yarn.lock @@ -997,6 +997,17 @@ estree-walker "^2.0.1" source-map "^0.6.1" +"@vue/compiler-core@3.2.4": + version "3.2.4" + resolved "https://registry.yarnpkg.com/@vue/compiler-core/-/compiler-core-3.2.4.tgz#a98d295771998c1e8dccc4ee3d52feb14b02aea9" + integrity sha512-c8NuQq7mUXXxA4iqD5VUKpyVeklK53+DMbojYMyZ0VPPrb0BUWrZWFiqSDT+MFDv0f6Hv3QuLiHWb1BWMXBbrw== + dependencies: + "@babel/parser" "^7.12.0" + "@babel/types" "^7.12.0" + "@vue/shared" "3.2.4" + estree-walker "^2.0.1" + source-map "^0.6.1" + "@vue/compiler-dom@3.0.11": version "3.0.11" resolved "https://registry.yarnpkg.com/@vue/compiler-dom/-/compiler-dom-3.0.11.tgz#b15fc1c909371fd671746020ba55b5dab4a730ee" @@ -1013,6 +1024,14 @@ "@vue/compiler-core" "3.1.1" "@vue/shared" "3.1.1" +"@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.0.5": version "3.0.11" resolved "https://registry.yarnpkg.com/@vue/compiler-sfc/-/compiler-sfc-3.0.11.tgz#cd8ca2154b88967b521f5ad3b10f5f8b6b665679" @@ -1087,6 +1106,13 @@ dependencies: "@vue/shared" "3.1.1" +"@vue/reactivity@3.2.4": + version "3.2.4" + resolved "https://registry.yarnpkg.com/@vue/reactivity/-/reactivity-3.2.4.tgz#a020ad7e50f674219a07764b105b5922e61597ea" + integrity sha512-ljWTR0hr8Tn09hM2tlmWxZzCBPlgGLnq/k8K8X6EcJhtV+C8OzFySnbWqMWataojbrQOocThwsC8awKthSl2uQ== + dependencies: + "@vue/shared" "3.2.4" + "@vue/runtime-core@3.0.11": version "3.0.11" resolved "https://registry.yarnpkg.com/@vue/runtime-core/-/runtime-core-3.0.11.tgz#c52dfc6acf3215493623552c1c2919080c562e44" @@ -1103,6 +1129,14 @@ "@vue/reactivity" "3.1.1" "@vue/shared" "3.1.1" +"@vue/runtime-core@3.2.4": + version "3.2.4" + resolved "https://registry.yarnpkg.com/@vue/runtime-core/-/runtime-core-3.2.4.tgz#da5dde3dc1e48df99dd31ea9a972f5c02acdc3f5" + integrity sha512-W6PtEOs8P8jKYPo3JwaMAozZQivxInUleGfNwI2pK1t8ZLZIxn4kAf7p4VF4jJdQB8SZBzpfWdLUc06j7IOmpQ== + dependencies: + "@vue/reactivity" "3.2.4" + "@vue/shared" "3.2.4" + "@vue/runtime-dom@3.0.11": version "3.0.11" resolved "https://registry.yarnpkg.com/@vue/runtime-dom/-/runtime-dom-3.0.11.tgz#7a552df21907942721feb6961c418e222a699337" @@ -1121,6 +1155,15 @@ "@vue/shared" "3.1.1" csstype "^2.6.8" +"@vue/runtime-dom@3.2.4": + version "3.2.4" + resolved "https://registry.yarnpkg.com/@vue/runtime-dom/-/runtime-dom-3.2.4.tgz#1025595f2ae99a12fe0e1e6bce8df6761efec24b" + integrity sha512-HcVtLyn2SGwsf6BFPwkvDPDOhOqkOKcfHDpBp5R1coX+qMsOFrY8lJnGXIY+JnxqFjND00E9+u+lq5cs/W7ooA== + dependencies: + "@vue/runtime-core" "3.2.4" + "@vue/shared" "3.2.4" + csstype "^2.6.8" + "@vue/server-renderer@^3.1.1": version "3.1.1" resolved "https://registry.yarnpkg.com/@vue/server-renderer/-/server-renderer-3.1.1.tgz#aaf687ae3699f485e33d8b732e6ce17e43071685" @@ -1139,6 +1182,11 @@ resolved "https://registry.yarnpkg.com/@vue/shared/-/shared-3.1.1.tgz#2287cfc3dc20e5b20aeb65c2c3a56533bdca801c" integrity sha512-g+4pzAw7PYSjARtLBoDq6DmcblX8i9KJHSCnyM5VDDFFifUaUT9iHbFpOF/KOizQ9f7QAqU2JH3Y6aXjzUMhVA== +"@vue/shared@3.2.4": + version "3.2.4" + resolved "https://registry.yarnpkg.com/@vue/shared/-/shared-3.2.4.tgz#ba2a09527afff27b28d08f921b4a597e9504ca7a" + integrity sha512-j2j1MRmjalVKr3YBTxl/BClSIc8UQ8NnPpLYclxerK65JIowI4O7n8O8lElveEtEoHxy1d7BelPUDI0Q4bumqg== + "@vue/test-utils@^2.0.0-rc.9": version "2.0.0-rc.9" resolved "https://registry.yarnpkg.com/@vue/test-utils/-/test-utils-2.0.0-rc.9.tgz#b3f817d710a1d0ae2084143520c9d8d3c552bfa6" @@ -5673,6 +5721,15 @@ vue@^3.1.1: "@vue/runtime-dom" "3.1.1" "@vue/shared" "3.1.1" +vue@^3.2.4: + 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.4" + "@vue/runtime-dom" "3.2.4" + "@vue/shared" "3.2.4" + w3c-hr-time@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/w3c-hr-time/-/w3c-hr-time-1.0.2.tgz#0a89cdf5cc15822df9c360543676963e0cc308cd"