]> git.ipfire.org Git - thirdparty/vuejs/pinia.git/commitdiff
chore: up vue beta
authorEduardo San Martin Morote <posva13@gmail.com>
Thu, 22 Jul 2021 08:25:45 +0000 (10:25 +0200)
committerEduardo San Martin Morote <posva13@gmail.com>
Thu, 22 Jul 2021 08:25:45 +0000 (10:25 +0200)
playground/src/stores/nasa.ts
src/devtools/plugin.ts
yarn.lock

index 8225a44d22f2d6decf784cabacd7a306d4eb9d06..705d712a2e822b70d080184c33d90bee4b988b85 100644 (file)
@@ -26,10 +26,9 @@ export const useNasaStore = defineStore('nasa-pod-swrv', () => {
     () => `nasa-pod-${currentDate.value}`,
     () => getNASAPOD(currentDate.value),
     {
-      refreshInterval: 0,
-      ttl: 0,
+      // refreshInterval: 0,
+      // ttl: 0,
       revalidateOnFocus: false,
-      cache: new LocalStorageCache(),
     }
   )
 
index 28a1d6ddc94127637f49659026c8125d09d3d312..d8d59bc7378c973025a03b1d0ccfc02074cc3a83 100644 (file)
@@ -426,10 +426,10 @@ export function devtoolsPlugin<
       Object.keys(options.actions)
     )
 
-    const originalHotUpdate = store.hotUpdate
+    const originalHotUpdate = store._hotUpdate
 
     // Upgrade the HMR to also update the new actions
-    toRaw(store).hotUpdate = function (newStore) {
+    toRaw(store)._hotUpdate = function (newStore) {
       originalHotUpdate.apply(this, arguments as any)
       patchActionForGrouping(
         // @ts-expect-error: can cast the store...
index 1c80fc1d16556c323dba59b7148c41a439bdace8..72345c211a6adb4113f392f4257ac6bd8b2419fe 100644 (file)
--- a/yarn.lock
+++ b/yarn.lock
     estree-walker "^2.0.1"
     source-map "^0.6.1"
 
-"@vue/compiler-core@3.2.0-beta.3":
-  version "3.2.0-beta.3"
-  resolved "https://registry.yarnpkg.com/@vue/compiler-core/-/compiler-core-3.2.0-beta.3.tgz#3a10628c6bb4d4b5df28bcdb6522a6c7702fc152"
-  integrity sha512-Uyu7xT3z3D8+1ZWDuFtoMoRIPj665Vp7BlULi4TuthXTteKtDy8rygqCV2TAuKJS6APY96NZxRyWd3wlO2qDOw==
+"@vue/compiler-core@3.2.0-beta.4":
+  version "3.2.0-beta.4"
+  resolved "https://registry.yarnpkg.com/@vue/compiler-core/-/compiler-core-3.2.0-beta.4.tgz#5cc738e4ba6e63cf859d5f1e136b60f1b55ccb46"
+  integrity sha512-AStaT3fehyb0SYYjiRCxrxyI8lFyzE2Hg8CB8Hf6SM05lONUCileI9Gu3Z8Z+iyho/HL9Z2JhZs47VPpR4z0iA==
   dependencies:
     "@babel/parser" "^7.12.0"
     "@babel/types" "^7.12.0"
-    "@vue/shared" "3.2.0-beta.3"
+    "@vue/shared" "3.2.0-beta.4"
     estree-walker "^2.0.1"
     source-map "^0.6.1"
 
     "@vue/compiler-core" "3.1.5"
     "@vue/shared" "3.1.5"
 
-"@vue/compiler-dom@3.2.0-beta.3":
-  version "3.2.0-beta.3"
-  resolved "https://registry.yarnpkg.com/@vue/compiler-dom/-/compiler-dom-3.2.0-beta.3.tgz#4fc64ad7ce708e2821800200d58f089aa4481b41"
-  integrity sha512-scpBC68ZLGSU61W8xUJE97kZFZsrBZwaZtUy59dXFGrlIQtRd2HzyjCrXgLFgvYnlQLXPqaYpo5dJ1z1yNo2GQ==
+"@vue/compiler-dom@3.2.0-beta.4":
+  version "3.2.0-beta.4"
+  resolved "https://registry.yarnpkg.com/@vue/compiler-dom/-/compiler-dom-3.2.0-beta.4.tgz#1c0bdf84ec2c4db4da32f65773d902e0324541dd"
+  integrity sha512-Vtql3zHmkGOfEg6j5NdrofMV3CmkeVlyyzMS3Rg144H98L2QnGRCiRiPhse7TrSyxP8mJtBsq+Ury6M4yi8K8g==
   dependencies:
-    "@vue/compiler-core" "3.2.0-beta.3"
-    "@vue/shared" "3.2.0-beta.3"
+    "@vue/compiler-core" "3.2.0-beta.4"
+    "@vue/shared" "3.2.0-beta.4"
 
 "@vue/compiler-sfc@^3.1.1":
   version "3.1.5"
     source-map "^0.6.1"
 
 "@vue/compiler-sfc@^3.2.0-beta.1":
-  version "3.2.0-beta.3"
-  resolved "https://registry.yarnpkg.com/@vue/compiler-sfc/-/compiler-sfc-3.2.0-beta.3.tgz#8199e8166a6721e7554d0d8446f8ff3752a45492"
-  integrity sha512-M50steBwRJiAYvCvVe1kFiab9Gj+NBZTpO6rRaXSWEvptv9blIdpdFiPFzGUhKB65/xGbdj3fyUN9fzXkIjrwA==
+  version "3.2.0-beta.4"
+  resolved "https://registry.yarnpkg.com/@vue/compiler-sfc/-/compiler-sfc-3.2.0-beta.4.tgz#ad1de09c8ce3beb4c23f764fbf71b43a8fe455c7"
+  integrity sha512-aj3tz+1qjyl9TVsNBIVgtydMJdhGjOej49tTRCgEM4HSmJF3zFZalF03D8lvJSX4V9tlFyBVI3D69e1+YGqDlw==
   dependencies:
     "@babel/parser" "^7.13.9"
     "@babel/types" "^7.13.0"
     "@types/estree" "^0.0.48"
-    "@vue/compiler-core" "3.2.0-beta.3"
-    "@vue/compiler-dom" "3.2.0-beta.3"
-    "@vue/compiler-ssr" "3.2.0-beta.3"
-    "@vue/shared" "3.2.0-beta.3"
+    "@vue/compiler-core" "3.2.0-beta.4"
+    "@vue/compiler-dom" "3.2.0-beta.4"
+    "@vue/compiler-ssr" "3.2.0-beta.4"
+    "@vue/shared" "3.2.0-beta.4"
     consolidate "^0.16.0"
     estree-walker "^2.0.1"
     hash-sum "^2.0.0"
     "@vue/compiler-dom" "3.1.5"
     "@vue/shared" "3.1.5"
 
-"@vue/compiler-ssr@3.2.0-beta.3":
-  version "3.2.0-beta.3"
-  resolved "https://registry.yarnpkg.com/@vue/compiler-ssr/-/compiler-ssr-3.2.0-beta.3.tgz#88106c28f915a17131652eace2032f8d70b05734"
-  integrity sha512-FVE9RfuNG6YyIo8vTO2yy4ibAkK+Ks+6qcLS2bzuoQbMHNXxWwI041ll8crHR9jlRjPF0u/Ng3Blf1PbT1+yRA==
+"@vue/compiler-ssr@3.2.0-beta.4":
+  version "3.2.0-beta.4"
+  resolved "https://registry.yarnpkg.com/@vue/compiler-ssr/-/compiler-ssr-3.2.0-beta.4.tgz#2112faeca659f44fee1188c7a43d05546df8c10a"
+  integrity sha512-+Qcx2c02suic9Sloz+fXsQULntSCSOaUfARQKfh73FknSuY3FtT/66MVz4WcI19WCOlQ+9VhZiA9KYrdRgS2/g==
   dependencies:
-    "@vue/compiler-dom" "3.2.0-beta.3"
-    "@vue/shared" "3.2.0-beta.3"
+    "@vue/compiler-dom" "3.2.0-beta.4"
+    "@vue/shared" "3.2.0-beta.4"
 
 "@vue/devtools-api@^6.0.0-beta.14", "@vue/devtools-api@^6.0.0-beta.15":
   version "6.0.0-beta.15"
   dependencies:
     "@vue/shared" "3.1.5"
 
-"@vue/reactivity@3.2.0-beta.3":
-  version "3.2.0-beta.3"
-  resolved "https://registry.yarnpkg.com/@vue/reactivity/-/reactivity-3.2.0-beta.3.tgz#0255cbedbb03f269ee03edbe8af71d9f77a095e7"
-  integrity sha512-Q+7cOgc5gHtY6I+0A6VXNOvOtuKQPHBLIGfGek3LwVDG5MpCY5Wt50u4mMEgiJafjKSgiGYctycWEBzmcI/Jtg==
+"@vue/reactivity@3.2.0-beta.4":
+  version "3.2.0-beta.4"
+  resolved "https://registry.yarnpkg.com/@vue/reactivity/-/reactivity-3.2.0-beta.4.tgz#3f1f593fa196d2f306ae62091fe05868e269873f"
+  integrity sha512-0ICucYc4ldgF6CmLxApfm+Y2gn1B8sLpjDFBO9/p4RzSKW4G3IakWlyENO6uukeixuOeLj4Tvp6rCjhMSqa8qA==
   dependencies:
-    "@vue/shared" "3.2.0-beta.3"
+    "@vue/shared" "3.2.0-beta.4"
 
 "@vue/runtime-core@3.1.5":
   version "3.1.5"
     "@vue/reactivity" "3.1.5"
     "@vue/shared" "3.1.5"
 
-"@vue/runtime-core@3.2.0-beta.3":
-  version "3.2.0-beta.3"
-  resolved "https://registry.yarnpkg.com/@vue/runtime-core/-/runtime-core-3.2.0-beta.3.tgz#47656922aa3fb21e4e7a09ce4f2e780c8c417bf2"
-  integrity sha512-lTv/t+gMbtIIve3QMC8qAPiGml+IZrb0TBnoIKALVnMqvPzmKIxao4stMd30WGgKoZz0DGDiPp8oyKW4XlR48Q==
+"@vue/runtime-core@3.2.0-beta.4":
+  version "3.2.0-beta.4"
+  resolved "https://registry.yarnpkg.com/@vue/runtime-core/-/runtime-core-3.2.0-beta.4.tgz#e80761fe9777aece946c8a54673365b37691483c"
+  integrity sha512-t/2+1mEBSD3DiHwlHNyNM6cjvN/po5FqaOtoyLm+z+Nt4ohWvn8F/61ZGzKTnwZFW3S+kDVsVK0BsSYEkxlEnA==
   dependencies:
-    "@vue/reactivity" "3.2.0-beta.3"
-    "@vue/shared" "3.2.0-beta.3"
+    "@vue/reactivity" "3.2.0-beta.4"
+    "@vue/shared" "3.2.0-beta.4"
 
 "@vue/runtime-dom@3.1.5":
   version "3.1.5"
     "@vue/shared" "3.1.5"
     csstype "^2.6.8"
 
-"@vue/runtime-dom@3.2.0-beta.3":
-  version "3.2.0-beta.3"
-  resolved "https://registry.yarnpkg.com/@vue/runtime-dom/-/runtime-dom-3.2.0-beta.3.tgz#f2ae21092b059011696603ae3a58a83b663f670d"
-  integrity sha512-EYweuBiZfMT9Bady4X3kkIvF+Xtnde4id5RO0CrbmRj5A0s4a4Yh4PQlLLh5FHBswsRyGfTTbcx218pEcP1/Ig==
+"@vue/runtime-dom@3.2.0-beta.4":
+  version "3.2.0-beta.4"
+  resolved "https://registry.yarnpkg.com/@vue/runtime-dom/-/runtime-dom-3.2.0-beta.4.tgz#ce90ecd2a9535fbdfe1a8bb7197063b24656fa93"
+  integrity sha512-QcoGD5unHSyw3o63KbQzp5QZk5gYfKBw/Z489pQOwZW8xWnAeX2SFbVBh/39BZy2vYy7qutJoiaUo/VPDujOPA==
   dependencies:
-    "@vue/runtime-core" "3.2.0-beta.3"
-    "@vue/shared" "3.2.0-beta.3"
+    "@vue/runtime-core" "3.2.0-beta.4"
+    "@vue/shared" "3.2.0-beta.4"
     csstype "^2.6.8"
 
 "@vue/server-renderer@^3.1.1":
     "@vue/shared" "3.1.5"
 
 "@vue/server-renderer@^3.2.0-beta.1":
-  version "3.2.0-beta.3"
-  resolved "https://registry.yarnpkg.com/@vue/server-renderer/-/server-renderer-3.2.0-beta.3.tgz#a0e29fce1f89f2e91713e4330623ce5193da06b7"
-  integrity sha512-XRIGCOjB7ITQdVHSI9B8SBRdeJI1nReQFwcmbR75SUUnVpN9YzDPNjOMxkEcMj5q52V5z/y0y8Byxjs1+nHPNg==
+  version "3.2.0-beta.4"
+  resolved "https://registry.yarnpkg.com/@vue/server-renderer/-/server-renderer-3.2.0-beta.4.tgz#6207146b1d0c39b02055d2c21959b99628d262b0"
+  integrity sha512-l/N/2HthEs+JOvHsWWJqVlqpjK3uygwzMpoyQBkC5AzvwInwLNnPhRIwLOwZwQk4zsgUc4arNT3BRDTSbq0aLw==
   dependencies:
-    "@vue/compiler-ssr" "3.2.0-beta.3"
-    "@vue/shared" "3.2.0-beta.3"
+    "@vue/compiler-ssr" "3.2.0-beta.4"
+    "@vue/shared" "3.2.0-beta.4"
 
 "@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.0-beta.3":
-  version "3.2.0-beta.3"
-  resolved "https://registry.yarnpkg.com/@vue/shared/-/shared-3.2.0-beta.3.tgz#043c5a4d3bc9676508557e9199c625995cf14929"
-  integrity sha512-IzJBLNwh2CDTbVqQt979f5rczw9Uib97RkaGckmUGuC9bAG1sw/EXskrxc87p8xxaiI70LdVHnOhriprfKjmMw==
+"@vue/shared@3.2.0-beta.4":
+  version "3.2.0-beta.4"
+  resolved "https://registry.yarnpkg.com/@vue/shared/-/shared-3.2.0-beta.4.tgz#ade5973291798177b90367d663319fc4e6d4172f"
+  integrity sha512-eKPlvlQtWw+tuJSIHUg+/8f/wQt4oGDHCZ9HbAIKOPlzuaIqrIOKwP2pDZQeHUAkjs+G8QaqguiI9qKzOQ5fWQ==
 
 "@vue/test-utils@^2.0.0-rc.10":
   version "2.0.0-rc.10"
@@ -4688,7 +4688,16 @@ postcss-value-parser@^4.1.0:
   resolved "https://registry.yarnpkg.com/postcss-value-parser/-/postcss-value-parser-4.1.0.tgz#443f6a20ced6481a2bda4fa8532a6e55d789a2cb"
   integrity sha512-97DXOFbQJhk71ne5/Mt6cOu6yxsSfM0QGQyl0L25Gca4yGWEGJaig7l7gbCX623VqTBNGLRLaVUCnNkcedlRSQ==
 
-postcss@^8.1.10, postcss@^8.3.5:
+postcss@^8.1.10:
+  version "8.3.6"
+  resolved "https://registry.yarnpkg.com/postcss/-/postcss-8.3.6.tgz#2730dd76a97969f37f53b9a6096197be311cc4ea"
+  integrity sha512-wG1cc/JhRgdqB6WHEuyLTedf3KIRuD0hG6ldkFEZNCjRxiC+3i6kkWUUbiJQayP28iwG35cEmAbe98585BYV0A==
+  dependencies:
+    colorette "^1.2.2"
+    nanoid "^3.1.23"
+    source-map-js "^0.6.2"
+
+postcss@^8.3.5:
   version "8.3.5"
   resolved "https://registry.yarnpkg.com/postcss/-/postcss-8.3.5.tgz#982216b113412bc20a86289e91eb994952a5b709"
   integrity sha512-NxTuJocUhYGsMiMFHDUkmjSKT3EdH4/WbGF6GCi1NDGk+vbcUTun4fpbOqaPtD8IIsztA2ilZm2DhYCuyN58gA==
@@ -5912,13 +5921,13 @@ vue@^3.1.1:
     "@vue/shared" "3.1.5"
 
 vue@^3.2.0-beta.1:
-  version "3.2.0-beta.3"
-  resolved "https://registry.yarnpkg.com/vue/-/vue-3.2.0-beta.3.tgz#b9f160feead916290a9c4ed68a58be44e03ad6ef"
-  integrity sha512-gj/MvCM4JljS6FWtmw0zdgxMA7one26yImMuIhbuJINYR5s+pdIITOhwB769+zb6jqJ1kPULBpcsDXpg4Ms72w==
+  version "3.2.0-beta.4"
+  resolved "https://registry.yarnpkg.com/vue/-/vue-3.2.0-beta.4.tgz#62c676f627cdce3b3b7d9e1c3c756c26445dff58"
+  integrity sha512-w5yV/L+W4YuErS1mf1NnXXZU52pQ/PfhUhG3PTpf5PSClRkZinj77pASPPtyaqBAWWCjyxwR39hqG+9VKmV74Q==
   dependencies:
-    "@vue/compiler-dom" "3.2.0-beta.3"
-    "@vue/runtime-dom" "3.2.0-beta.3"
-    "@vue/shared" "3.2.0-beta.3"
+    "@vue/compiler-dom" "3.2.0-beta.4"
+    "@vue/runtime-dom" "3.2.0-beta.4"
+    "@vue/shared" "3.2.0-beta.4"
 
 w3c-hr-time@^1.0.2:
   version "1.0.2"