@magnetarjs/plugin-vue3
Advanced tools
Comparing version 0.0.14 to 0.0.15
@@ -11,8 +11,4 @@ 'use strict'; | ||
var pathToProp = require('path-to-prop'); | ||
var sort = require('fast-sort'); | ||
var fastSort = require('fast-sort'); | ||
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; } | ||
var sort__default = /*#__PURE__*/_interopDefaultLegacy(sort); | ||
function writeActionFactory(data, Vue3StoreOptions, actionName, makeBackup) { | ||
@@ -256,3 +252,3 @@ return function ({ payload, collectionPath, docId, pluginModuleConfig, }) { | ||
}, []); | ||
const entriesOrdered = orderBy.length ? sort__default['default'](entries).by(by) : entries; | ||
const entriesOrdered = orderBy.length ? fastSort.sort(entries).by(by) : entries; | ||
// limit | ||
@@ -259,0 +255,0 @@ const entriesLimited = isWhat.isNumber(limit) ? entriesOrdered.slice(0, limit) : entriesOrdered; |
@@ -7,3 +7,3 @@ import { copy } from 'copy-anything'; | ||
import { getProp } from 'path-to-prop'; | ||
import sort from 'fast-sort'; | ||
import { sort } from 'fast-sort'; | ||
@@ -10,0 +10,0 @@ function writeActionFactory(data, Vue3StoreOptions, actionName, makeBackup) { |
{ | ||
"name": "@magnetarjs/plugin-vue3", | ||
"version": "0.0.14", | ||
"version": "0.0.15", | ||
"sideEffects": false, | ||
@@ -12,4 +12,4 @@ "description": "Magnetar plugin vue3", | ||
"test-and-build": "npm run test && npm run build", | ||
"test": "ava --verbose", | ||
"test--only": "ava --verbose --match='*only:*'", | ||
"test": "ava", | ||
"test--only": "ava --match='*only:*'", | ||
"rollup": "rimraf dist && rimraf types && rollup -c build.js" | ||
@@ -21,8 +21,8 @@ }, | ||
"peerDependencies": { | ||
"vue": "3.0.7" | ||
"vue": "3.0.11" | ||
}, | ||
"dependencies": { | ||
"@magnetarjs/core": "^0.0.17", | ||
"@magnetarjs/core": "^0.0.18", | ||
"copy-anything": "^2.0.3", | ||
"fast-sort": "^2.2.0", | ||
"fast-sort": "^3.0.1", | ||
"filter-anything": "^2.2.1", | ||
@@ -35,5 +35,5 @@ "is-what": "^3.14.1", | ||
"devDependencies": { | ||
"@magnetarjs/test-utils": "^0.0.8", | ||
"@magnetarjs/test-utils": "^0.0.9", | ||
"ava": "^3.15.0", | ||
"vue": "3.0.7" | ||
"vue": "3.0.11" | ||
}, | ||
@@ -83,3 +83,3 @@ "keywords": [ | ||
}, | ||
"gitHead": "f7a673ab4aeaaee8b0599c78a10c241846e688db" | ||
"gitHead": "219612ce9ddaa585f3eb888249dcaacb0208e0e5" | ||
} |
import { Clauses } from '@magnetarjs/core' | ||
import { isNumber, isArray } from 'is-what' | ||
import { getProp } from 'path-to-prop' | ||
import sort from 'fast-sort' | ||
import { ISortByObjectSorter } from 'fast-sort' | ||
import { sort, ISortByObjectSorter } from 'fast-sort' | ||
@@ -7,0 +6,0 @@ /** |
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
93764
2262
+ Added@magnetarjs/core@0.0.18(transitive)
+ Added@vue/compiler-core@3.0.11(transitive)
+ Added@vue/compiler-dom@3.0.11(transitive)
+ Added@vue/reactivity@3.0.11(transitive)
+ Added@vue/runtime-core@3.0.11(transitive)
+ Added@vue/runtime-dom@3.0.11(transitive)
+ Added@vue/shared@3.0.11(transitive)
+ Addedfast-sort@3.4.1(transitive)
+ Addedvue@3.0.11(transitive)
- Removed@magnetarjs/core@0.0.17(transitive)
- Removed@vue/compiler-core@3.0.7(transitive)
- Removed@vue/compiler-dom@3.0.7(transitive)
- Removed@vue/reactivity@3.0.7(transitive)
- Removed@vue/runtime-core@3.0.7(transitive)
- Removed@vue/runtime-dom@3.0.7(transitive)
- Removed@vue/shared@3.0.7(transitive)
- Removedfast-sort@2.2.0(transitive)
- Removedvue@3.0.7(transitive)
Updated@magnetarjs/core@^0.0.18
Updatedfast-sort@^3.0.1