circuit-to-svg 0.0.340 → 0.0.342

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -3725,7 +3725,8 @@ function createSvgObjectsFromPcbCourtyardRect(pcbCourtyardRect, ctx) {
3725
3725
  class: `pcb-courtyard-rect pcb-courtyard-${layer}`,
3726
3726
  "data-pcb-courtyard-rect-id": pcb_courtyard_rect_id,
3727
3727
  "data-type": "pcb_courtyard_rect",
3728
- "data-pcb-layer": layer
3728
+ "data-pcb-layer": layer,
3729
+ "stroke-linejoin": "round"
3729
3730
  };
3730
3731
  if (typeof ccw_rotation === "number" && ccw_rotation !== 0) {
3731
3732
  attributes.transform = `translate(${transformedX} ${transformedY}) rotate(${-ccw_rotation})`;
@@ -3777,7 +3778,8 @@ function createSvgObjectsFromPcbCourtyardPolygon(pcbCourtyardPolygon, ctx) {
3777
3778
  "data-pcb-layer": layer,
3778
3779
  fill: "none",
3779
3780
  stroke: strokeColor,
3780
- "stroke-width": transformedStrokeWidth.toString()
3781
+ "stroke-width": transformedStrokeWidth.toString(),
3782
+ "stroke-linejoin": "round"
3781
3783
  };
3782
3784
  const svgObject = {
3783
3785
  name: "polygon",
@@ -3815,7 +3817,8 @@ function createSvgObjectsFromPcbCourtyardOutline(pcbCourtyardOutline, ctx) {
3815
3817
  "data-pcb-layer": layer,
3816
3818
  fill: "none",
3817
3819
  stroke: strokeColor,
3818
- "stroke-width": transformedStrokeWidth.toString()
3820
+ "stroke-width": transformedStrokeWidth.toString(),
3821
+ "stroke-linejoin": "round"
3819
3822
  };
3820
3823
  const svgObject = {
3821
3824
  name: "polygon",
@@ -6625,7 +6628,7 @@ function getSoftwareUsedString(circuitJson) {
6625
6628
  var package_default = {
6626
6629
  name: "circuit-to-svg",
6627
6630
  type: "module",
6628
- version: "0.0.339",
6631
+ version: "0.0.341",
6629
6632
  description: "Convert Circuit JSON to SVG",
6630
6633
  main: "dist/index.js",
6631
6634
  files: [