object-scan
Advanced tools
Comparing version 18.3.4 to 18.3.5
@@ -23,3 +23,3 @@ import { toPath } from '../generic/helper.js'; | ||
let maxLeafIndex = -1; | ||
let maxLeafMath = false; | ||
let maxLeafMatch = false; | ||
let idx = searches.length; | ||
@@ -31,8 +31,8 @@ // eslint-disable-next-line no-plusplus | ||
maxLeafIndex = index; | ||
maxLeafMath = match; | ||
maxLeafMatch = match; | ||
} | ||
} | ||
return maxLeafMath; | ||
return maxLeafMatch; | ||
}; | ||
export const formatPath = (input, ctx) => (ctx.joined ? toPath(input) : [...input]); |
{ | ||
"name": "object-scan", | ||
"type": "module", | ||
"version": "18.3.4", | ||
"version": "18.3.5", | ||
"description": "Traverse object hierarchies using matching and callbacks.", | ||
@@ -13,3 +13,2 @@ "main": "lib/index.js", | ||
"test": "yarn run clean && yarn run gardener && yarn run test-simple", | ||
"coveralls": "node ./node_modules/coveralls/bin/coveralls.js < ./coverage/lcov.info", | ||
"semantic-release": "yarn run build-clean && npx semantic-release", | ||
@@ -44,3 +43,6 @@ "gardener": "node gardener.js", | ||
"path", | ||
"filter" | ||
"filter", | ||
"jsonpath", | ||
"jmespath", | ||
"xpath" | ||
], | ||
@@ -54,26 +56,29 @@ "author": "Lukas Siemon", | ||
"devDependencies": { | ||
"@babel/core": "7.18.5", | ||
"@babel/eslint-parser": "7.18.2", | ||
"@babel/register": "7.17.7", | ||
"@babel/core": "7.18.9", | ||
"@babel/eslint-parser": "7.18.9", | ||
"@babel/register": "7.18.9", | ||
"@blackflux/eslint-plugin-rules": "2.1.0", | ||
"@blackflux/robo-config-plugin": "7.8.8", | ||
"@blackflux/robo-config-plugin": "7.9.5", | ||
"@vercel/ncc": "0.34.0", | ||
"c8": "7.11.3", | ||
"chai": "4.3.6", | ||
"coveralls": "3.1.1", | ||
"diff": "5.1.0", | ||
"diff2html": "3.4.17", | ||
"eslint": "8.18.0", | ||
"eslint": "8.20.0", | ||
"eslint-config-airbnb-base": "15.0.0", | ||
"eslint-plugin-import": "2.26.0", | ||
"eslint-plugin-json": "3.1.0", | ||
"eslint-plugin-markdown": "2.2.1", | ||
"eslint-plugin-markdown": "3.0.0", | ||
"eslint-plugin-mocha": "10.0.5", | ||
"github-slugger": "1.4.0", | ||
"jmespath": "0.16.0", | ||
"joi-strict": "2.0.1", | ||
"js-gardener": "3.0.5", | ||
"json-stringify-pretty-compact": "4.0.0", | ||
"jsonpath": "1.1.1", | ||
"jsonpath-plus": "7.0.0", | ||
"lodash.isequal": "4.5.0", | ||
"mustache": "4.2.0", | ||
"node-tdd": "3.4.2", | ||
"object-scan": "18.3.2", | ||
"object-scan": "18.3.4", | ||
"smart-fs": "3.0.1", | ||
@@ -80,0 +85,0 @@ "stringify-object": "4.0.1", |
Sorry, the diff of this file is too big to display
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
133764
1491
30