@vue/shared
Advanced tools
Comparing version 3.2.0-beta.5 to 3.2.0-beta.6
@@ -391,3 +391,7 @@ 'use strict'; | ||
const replacer = (_key, val) => { | ||
if (isMap(val)) { | ||
// can't use isRef here since @vue/shared has no deps | ||
if (val && val.__v_isRef) { | ||
return replacer(_key, val.value); | ||
} | ||
else if (isMap(val)) { | ||
return { | ||
@@ -394,0 +398,0 @@ [`Map(${val.size})`]: [...val.entries()].reduce((entries, [key, val]) => { |
@@ -391,3 +391,7 @@ 'use strict'; | ||
const replacer = (_key, val) => { | ||
if (isMap(val)) { | ||
// can't use isRef here since @vue/shared has no deps | ||
if (val && val.__v_isRef) { | ||
return replacer(_key, val.value); | ||
} | ||
else if (isMap(val)) { | ||
return { | ||
@@ -394,0 +398,0 @@ [`Map(${val.size})`]: [...val.entries()].reduce((entries, [key, val]) => { |
@@ -387,3 +387,7 @@ /** | ||
const replacer = (_key, val) => { | ||
if (isMap(val)) { | ||
// can't use isRef here since @vue/shared has no deps | ||
if (val && val.__v_isRef) { | ||
return replacer(_key, val.value); | ||
} | ||
else if (isMap(val)) { | ||
return { | ||
@@ -390,0 +394,0 @@ [`Map(${val.size})`]: [...val.entries()].reduce((entries, [key, val]) => { |
{ | ||
"name": "@vue/shared", | ||
"version": "3.2.0-beta.5", | ||
"version": "3.2.0-beta.6", | ||
"description": "internal utils shared across @vue packages", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
76640
1941