gerber-plotter
Advanced tools
Comparing version 4.2.1 to 4.2.2
@@ -6,2 +6,13 @@ # Change Log | ||
## [4.2.2](https://github.com/tracespace/tracespace/compare/v4.2.1...v4.2.2) (2020-10-13) | ||
### Bug Fixes | ||
* **parser,plotter:** resolve issues with macro parsing and plotting ([#346](https://github.com/tracespace/tracespace/issues/346)) ([09d4a28](https://github.com/tracespace/tracespace/commit/09d4a28)), closes [#345](https://github.com/tracespace/tracespace/issues/345) | ||
## [4.2.1](https://github.com/tracespace/tracespace/compare/v4.2.0...v4.2.1) (2020-04-30) | ||
@@ -8,0 +19,0 @@ |
@@ -242,10 +242,14 @@ // returns a pad shape array given a tool definition | ||
var value = block[key] | ||
result[key] = resolveValue(value) | ||
return result | ||
if (isFunction(value)) { | ||
result[key] = value(mods) | ||
} else { | ||
result[key] = value | ||
function resolveValue(v) { | ||
if (Array.isArray(v)) { | ||
return v.map(resolveValue) | ||
} else if (isFunction(v)) { | ||
return v(mods) | ||
} else { | ||
return v | ||
} | ||
} | ||
return result | ||
}, {}) | ||
@@ -252,0 +256,0 @@ } |
{ | ||
"name": "gerber-plotter", | ||
"version": "4.2.1", | ||
"version": "4.2.2", | ||
"description": "Streaming Gerber / NC drill layer image plotter", | ||
@@ -44,3 +44,3 @@ "main": "index.js", | ||
}, | ||
"gitHead": "71020e5ec5a2b87c781f9becf18758aa15444ba3" | ||
"gitHead": "c3690c37fc17cdc3d15ce034e30e09bc084fffe1" | ||
} |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
Unidentified License
License(Experimental) Something that seems like a license was found, but its contents could not be matched with a known license.
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
612166
3936
1
80