@magnetarjs/plugin-vue3
Advanced tools
Comparing version 0.1.23 to 0.1.24
@@ -12,2 +12,3 @@ 'use strict'; | ||
var fastSort = require('fast-sort'); | ||
var utils = require('@magnetarjs/utils'); | ||
@@ -233,3 +234,3 @@ function writeActionFactory(data, Vue3StoreOptions, actionName, makeBackup) { | ||
const [fieldPath, operator, expectedValue] = whereQuery; | ||
const valueAtFieldPath = pathToProp.getProp(docData, fieldPath); | ||
const valueAtFieldPath = utils.parseValueForFilters(pathToProp.getProp(docData, fieldPath)); | ||
let passes = false; | ||
@@ -236,0 +237,0 @@ switch (operator) { |
@@ -8,2 +8,3 @@ import { copy } from 'copy-anything'; | ||
import { sort } from 'fast-sort'; | ||
import { parseValueForFilters } from '@magnetarjs/utils'; | ||
@@ -229,3 +230,3 @@ function writeActionFactory(data, Vue3StoreOptions, actionName, makeBackup) { | ||
const [fieldPath, operator, expectedValue] = whereQuery; | ||
const valueAtFieldPath = getProp(docData, fieldPath); | ||
const valueAtFieldPath = parseValueForFilters(getProp(docData, fieldPath)); | ||
let passes = false; | ||
@@ -232,0 +233,0 @@ switch (operator) { |
{ | ||
"name": "@magnetarjs/plugin-vue3", | ||
"version": "0.1.23", | ||
"version": "0.1.24", | ||
"sideEffects": false, | ||
@@ -24,3 +24,4 @@ "description": "Magnetar plugin vue3", | ||
"dependencies": { | ||
"@magnetarjs/core": "^0.3.4", | ||
"@magnetarjs/core": "^0.3.5", | ||
"@magnetarjs/utils": "^0.1.23", | ||
"copy-anything": "^2.0.3", | ||
@@ -35,3 +36,3 @@ "fast-sort": "^3.1.1", | ||
"devDependencies": { | ||
"@magnetarjs/test-utils": "^0.1.15", | ||
"@magnetarjs/test-utils": "^0.1.16", | ||
"vue": "^3.2.26" | ||
@@ -82,3 +83,3 @@ }, | ||
}, | ||
"gitHead": "70b87a09e7ac0e0166008ba063484562a74d2330" | ||
"gitHead": "a07b7b0bd09341394ac94c9627650d813052d15a" | ||
} |
@@ -5,2 +5,3 @@ import { Clauses } from '@magnetarjs/core' | ||
import { sort, ISortByObjectSorter } from 'fast-sort' | ||
import { parseValueForFilters } from '@magnetarjs/utils' | ||
@@ -26,3 +27,3 @@ /** | ||
const [fieldPath, operator, expectedValue] = whereQuery | ||
const valueAtFieldPath = getProp(docData, fieldPath) as any | ||
const valueAtFieldPath = parseValueForFilters(getProp(docData, fieldPath) as any) | ||
let passes = false | ||
@@ -29,0 +30,0 @@ switch (operator) { |
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
98382
2339
10
+ Added@magnetarjs/utils@^0.1.23
+ Added@magnetarjs/utils@0.1.25(transitive)
Updated@magnetarjs/core@^0.3.5