@randajan/jet-core
Advanced tools
Comparing version 2.1.6 to 2.1.7
@@ -340,7 +340,8 @@ var __defProp = Object.defineProperty; | ||
const df = getDefByInst(any); | ||
dir = String.jet.to(dir, "."); | ||
if (df && df.entries) { | ||
return _each(df, any, fce, deep, defs_default.isRunnable(deep), String.jet.to(dir, "."), flat); | ||
return _each(df, any, fce, deep, defs_default.isRunnable(deep), dir, flat); | ||
} | ||
; | ||
const val = fce ? fce(any, "", "", "") : df.copy ? df.copy(any) : any; | ||
const val = fce ? fce(any, dir, "", dir) : df.copy ? df.copy(any) : any; | ||
if (flat && val !== void 0) { | ||
@@ -366,4 +367,7 @@ flat.push(val); | ||
var digOut = (any, path, def) => { | ||
const pa = String.jet.to(path, ".").split("."); | ||
for (let p of pa) { | ||
path = String.jet.to(path, "."); | ||
if (!path) { | ||
return any; | ||
} | ||
for (let p of path.split(".")) { | ||
if ((any = defs_default.get(any, p, false)) == null) { | ||
@@ -370,0 +374,0 @@ return def; |
{ | ||
"name": "@randajan/jet-core", | ||
"version": "2.1.6", | ||
"version": "2.1.7", | ||
"description": "Ecosystem of types and related usefull tools.", | ||
@@ -5,0 +5,0 @@ "repository": "randajan/jet-core", |
Sorry, the diff of this file is not supported yet
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
116913
1098