Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@magnetarjs/plugin-vue3

Package Overview
Dependencies
Maintainers
2
Versions
150
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@magnetarjs/plugin-vue3 - npm Package Compare versions

Comparing version 0.5.11 to 0.5.12

13

dist/index.js

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc