@magnetarjs/plugin-vue3
Advanced tools
Comparing version 0.5.11 to 0.5.12
@@ -29,3 +29,3 @@ var __defProp = Object.defineProperty; | ||
var import_filter_anything = require("filter-anything"); | ||
var import_is_what5 = require("is-what"); | ||
var import_is_what6 = require("is-what"); | ||
var import_vue = require("vue"); | ||
@@ -142,2 +142,3 @@ var import_core2 = require("@magnetarjs/core"); | ||
// src/actions/fetch.ts | ||
var import_is_what4 = require("is-what"); | ||
var import_core = require("@magnetarjs/core"); | ||
@@ -197,3 +198,3 @@ function fetchActionFactory(data, Vue3StoreOptions2) { | ||
collectionPath, | ||
docId, | ||
docId: docId || ((0, import_is_what4.isFullString)(meta.id) || (0, import_is_what4.isNumber)(meta.id) ? `${meta.id}` : void 0), | ||
actionConfig, | ||
@@ -208,3 +209,3 @@ pluginModuleConfig | ||
// src/actions/stream.ts | ||
var import_is_what4 = require("is-what"); | ||
var import_is_what5 = require("is-what"); | ||
function streamActionFactory(data, Vue3StoreOptions2) { | ||
@@ -247,3 +248,3 @@ return function({ | ||
return; | ||
const collectionPathDocIdToDelete = (0, import_is_what4.isFullString)(docId) ? [collectionPath, docId] : (0, import_is_what4.isString)(payload2) ? [collectionPath, payload2] : [collectionPath, meta.id]; | ||
const collectionPathDocIdToDelete = (0, import_is_what5.isFullString)(docId) ? [collectionPath, docId] : (0, import_is_what5.isString)(payload2) ? [collectionPath, payload2] : [collectionPath, meta.id]; | ||
const [_cPath, _dId] = collectionPathDocIdToDelete; | ||
@@ -334,3 +335,3 @@ deleteActionFactory(data, Vue3StoreOptions2)({ | ||
return; | ||
if (!docId && (0, import_is_what5.isArray)(initialData)) { | ||
if (!docId && (0, import_is_what6.isArray)(initialData)) { | ||
if (dataCollectionMap.size > 0) | ||
@@ -341,3 +342,3 @@ return; | ||
} | ||
} else if (docId && (0, import_is_what5.isPlainObject)(initialData)) { | ||
} else if (docId && (0, import_is_what6.isPlainObject)(initialData)) { | ||
if (dataCollectionMap.has(docId)) | ||
@@ -344,0 +345,0 @@ return; |
{ | ||
"name": "@magnetarjs/plugin-vue3", | ||
"version": "0.5.11", | ||
"version": "0.5.12", | ||
"sideEffects": false, | ||
@@ -26,4 +26,4 @@ "description": "Magnetar plugin vue3", | ||
"dependencies": { | ||
"@magnetarjs/core": "0.5.11", | ||
"@magnetarjs/utils": "0.5.11", | ||
"@magnetarjs/core": "0.5.12", | ||
"@magnetarjs/utils": "0.5.12", | ||
"copy-anything": "^2.0.3", | ||
@@ -37,3 +37,3 @@ "filter-anything": "^2.2.1", | ||
"devDependencies": { | ||
"@magnetarjs/test-utils": "0.5.11", | ||
"@magnetarjs/test-utils": "0.5.12", | ||
"vue": "^3.2.26" | ||
@@ -40,0 +40,0 @@ }, |
Sorry, the diff of this file is not supported yet
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
68742
1618
+ Added@magnetarjs/core@0.5.12(transitive)
+ Added@magnetarjs/utils@0.5.12(transitive)
- Removed@magnetarjs/core@0.5.11(transitive)
- Removed@magnetarjs/utils@0.5.11(transitive)
Updated@magnetarjs/core@0.5.12
Updated@magnetarjs/utils@0.5.12