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.6.0 to 0.6.1

32

dist/index.js

@@ -0,1 +1,2 @@

"use strict";
var __defProp = Object.defineProperty;

@@ -30,2 +31,3 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;

var import_is_what6 = require("is-what");
var import_getorset_anything = require("getorset-anything");
var import_vue = require("vue");

@@ -194,3 +196,6 @@ var import_core2 = require("@magnetarjs/core");

return;
insertActionFactory(data, Vue3StoreOptions2)({
insertActionFactory(
data,
Vue3StoreOptions2
)({
payload: _payload,

@@ -223,3 +228,6 @@ collectionPath,

const _docId = docId || `${meta.id}`;
insertActionFactory(data, Vue3StoreOptions2)({
insertActionFactory(
data,
Vue3StoreOptions2
)({
payload: payload2,

@@ -236,3 +244,6 @@ collectionPath,

const _docId = docId || `${meta.id}`;
insertActionFactory(data, Vue3StoreOptions2)({
insertActionFactory(
data,
Vue3StoreOptions2
)({
payload: payload2,

@@ -250,3 +261,6 @@ collectionPath,

const [_cPath, _dId] = collectionPathDocIdToDelete;
deleteActionFactory(data, Vue3StoreOptions2)({
deleteActionFactory(
data,
Vue3StoreOptions2
)({
payload: void 0,

@@ -295,8 +309,6 @@ collectionPath: _cPath,

const backupCollectionMap = dataBackups[collectionPath];
if (!backupCollectionMap.has(docId))
backupCollectionMap.set(docId, []);
const docBackup = (0, import_copy_anything.copy)(data[collectionPath].get(docId));
const arr = backupCollectionMap.get(docId);
if (docBackup && arr)
arr.push(docBackup);
const arr = (0, import_getorset_anything.mapGetOrSet)(backupCollectionMap, docId, () => []);
const foundDoc = data[collectionPath].get(docId);
if (foundDoc)
arr.push((0, import_copy_anything.copy)(foundDoc));
};

@@ -303,0 +315,0 @@ const restoreBackup = (collectionPath, docId) => {

{
"name": "@magnetarjs/plugin-vue3",
"version": "0.6.0",
"version": "0.6.1",
"sideEffects": false,

@@ -26,13 +26,14 @@ "description": "Magnetar plugin vue3",

"dependencies": {
"@magnetarjs/core": "0.6.0",
"@magnetarjs/utils": "0.6.0",
"copy-anything": "^2.0.3",
"filter-anything": "^2.2.1",
"@magnetarjs/core": "0.6.1",
"@magnetarjs/utils": "0.6.1",
"copy-anything": "^2.0.6",
"filter-anything": "^2.2.4",
"getorset-anything": "^0.0.2",
"is-what": "^3.14.1",
"merge-anything": "^4.0.2",
"path-to-prop": "1.0.0",
"merge-anything": "^4.0.5",
"path-to-prop": "1.0.2",
"ts-toolbelt": "^9.6.0"
},
"devDependencies": {
"@magnetarjs/test-utils": "0.6.0",
"@magnetarjs/test-utils": "0.6.1",
"vue": "^3.2.26"

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