object-scan
Advanced tools
Comparing version 18.1.1 to 18.1.2
@@ -1,2 +0,2 @@ | ||
const { assert } = console; | ||
import assert from '../generic/assert.js'; | ||
@@ -3,0 +3,0 @@ export default (opts) => { |
@@ -0,1 +1,2 @@ | ||
import assert from '../generic/assert.js'; | ||
import { | ||
@@ -9,4 +10,2 @@ getWildcard, excludedBy, traversedBy, | ||
const { assert } = console; | ||
const formatPath = (input, ctx) => (ctx.joined ? toPath(input) : [...input]); | ||
@@ -13,0 +12,0 @@ |
@@ -0,1 +1,2 @@ | ||
import assert from '../generic/assert.js'; | ||
import { defineProperty } from '../generic/helper.js'; | ||
@@ -5,4 +6,2 @@ import { Wildcard } from './wildcard.js'; | ||
const { assert } = console; | ||
const IS_EXCLUDED = Symbol('is-excluded'); | ||
@@ -9,0 +8,0 @@ const markExcluded = (input) => defineProperty(input, IS_EXCLUDED, true); |
@@ -0,1 +1,2 @@ | ||
import assert from './generic/assert.js'; | ||
import { compile } from './core/compiler.js'; | ||
@@ -5,4 +6,2 @@ import find from './core/find.js'; | ||
const { assert } = console; | ||
export default (needles, opts = {}) => { | ||
@@ -9,0 +8,0 @@ assert(Array.isArray(needles)); |
{ | ||
"name": "object-scan", | ||
"type": "module", | ||
"version": "18.1.1", | ||
"version": "18.1.2", | ||
"description": "Traverse object hierarchies using matching and callbacks.", | ||
@@ -9,3 +9,3 @@ "main": "lib/index.js", | ||
"clean": "rm -rf lib", | ||
"build": "cp -rf ./src ./lib", | ||
"build": "cp -rf ./src ./lib && ncc build -m -o lib && mv lib/index.js lib/index.min.js && cp src/index.js lib/index.js && rm lib/package.json", | ||
"build-clean": "yarn run clean && yarn run build", | ||
@@ -23,3 +23,4 @@ "test-simple": "c8 mocha --experimental-loader=./test/hot.js \"./test/**/*.spec.js\"", | ||
"i": "yarn install --frozen-lockfile", | ||
"it": "yarn run i && yarn run t" | ||
"it": "yarn run i && yarn run t", | ||
"ncc-analyze": "yarn clean && ncc build -m -s -o lib && npx source-map-explorer lib/index.js --only-mapped --html source.html && yarn clean" | ||
}, | ||
@@ -57,3 +58,4 @@ "repository": { | ||
"@blackflux/eslint-plugin-rules": "2.1.0", | ||
"@blackflux/robo-config-plugin": "7.8.2", | ||
"@blackflux/robo-config-plugin": "7.8.5", | ||
"@vercel/ncc": "0.34.0", | ||
"c8": "7.11.3", | ||
@@ -76,3 +78,3 @@ "chai": "4.3.6", | ||
"node-tdd": "3.4.1", | ||
"object-scan": "18.1.0", | ||
"object-scan": "18.1.1", | ||
"smart-fs": "3.0.1", | ||
@@ -79,0 +81,0 @@ "stringify-object": "4.0.1", |
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
82117
16
904
27