deepwalker
Advanced tools
Comparing version 1.0.8 to 1.0.9
@@ -65,8 +65,15 @@ type Deepwalker = { | ||
...el, | ||
value: { | ||
...el.value, | ||
...Object.fromEntries( | ||
el.dimensions.map((dim: any, i: number) => [names[i], dim]) | ||
), | ||
}, | ||
value: Array.isArray(el.value) | ||
? { | ||
values: el.value, | ||
...Object.fromEntries( | ||
el.dimensions.map((dim: any, i: number) => [names[i], dim]) | ||
), | ||
} | ||
: { | ||
...el.value, | ||
...Object.fromEntries( | ||
el.dimensions.map((dim: any, i: number) => [names[i], dim]) | ||
), | ||
}, | ||
}; | ||
@@ -126,3 +133,3 @@ }) | ||
}; | ||
toString = function (this: any, transformer: any) { | ||
toString = function (this: any, transformer?: any): string { | ||
if (!this.result || this.result.length == 0) return ""; | ||
@@ -129,0 +136,0 @@ return transformer(createResultsObject(this.result)); |
{ | ||
"name": "deepwalker", | ||
"version": "1.0.8", | ||
"version": "1.0.9", | ||
"description": "", | ||
"main": "deepwalker.js", | ||
"main": "deepwalker.ts", | ||
"types": "deepwalker.ts", | ||
@@ -7,0 +7,0 @@ "scripts": { |
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
10828
6
352