@magnetarjs/plugin-vue3
Advanced tools
Comparing version 0.1.4 to 0.1.6
@@ -363,3 +363,3 @@ 'use strict'; | ||
} | ||
else if (docId) { | ||
else if (docId && isWhat.isPlainObject(initialData)) { | ||
if (dataCollectionMap.has(docId)) | ||
@@ -366,0 +366,0 @@ return; |
import { copy } from 'copy-anything'; | ||
import { pick } from 'filter-anything'; | ||
import { isFullString, isNumber, isArray, isString } from 'is-what'; | ||
import { isFullString, isNumber, isArray, isString, isPlainObject } from 'is-what'; | ||
import { reactive } from 'vue'; | ||
@@ -359,3 +359,3 @@ import { merge } from 'merge-anything'; | ||
} | ||
else if (docId) { | ||
else if (docId && isPlainObject(initialData)) { | ||
if (dataCollectionMap.has(docId)) | ||
@@ -362,0 +362,0 @@ return; |
{ | ||
"name": "@magnetarjs/plugin-vue3", | ||
"version": "0.1.4", | ||
"version": "0.1.6", | ||
"sideEffects": false, | ||
@@ -20,8 +20,8 @@ "description": "Magnetar plugin vue3", | ||
"peerDependencies": { | ||
"vue": "^3.2.13" | ||
"vue": "^3.2.19" | ||
}, | ||
"dependencies": { | ||
"@magnetarjs/core": "^0.2.0", | ||
"@magnetarjs/core": "^0.2.2", | ||
"copy-anything": "^2.0.3", | ||
"fast-sort": "^3.0.2", | ||
"fast-sort": "^3.0.3", | ||
"filter-anything": "^2.2.1", | ||
@@ -34,5 +34,5 @@ "is-what": "^3.14.1", | ||
"devDependencies": { | ||
"@magnetarjs/test-utils": "^0.1.1", | ||
"@magnetarjs/test-utils": "^0.1.3", | ||
"ava": "^3.15.0", | ||
"vue": "^3.2.13" | ||
"vue": "^3.2.19" | ||
}, | ||
@@ -82,3 +82,3 @@ "keywords": [ | ||
}, | ||
"gitHead": "448ad93374face6e7308c1ac0b3bd4f6cd96b59a" | ||
"gitHead": "4751cb51a6820e1f53a9954cf71a7585ad095c26" | ||
} |
import { copy } from 'copy-anything' | ||
import { pick } from 'filter-anything' | ||
import { isArray } from 'is-what' | ||
import { isArray, isPlainObject } from 'is-what' | ||
import { reactive } from 'vue' | ||
@@ -114,3 +114,3 @@ import { | ||
} | ||
} else if (docId) { | ||
} else if (docId && isPlainObject(initialData)) { | ||
if (dataCollectionMap.has(docId)) return | ||
@@ -117,0 +117,0 @@ dataCollectionMap.set(docId, initialData) |
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
96775
30
Updated@magnetarjs/core@^0.2.2
Updatedfast-sort@^3.0.3