easyeda 0.0.232 → 0.0.233

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.
@@ -68,7 +68,7 @@ import {
68
68
  translate,
69
69
  unknown_error_finding_part,
70
70
  voltage
71
- } from "./chunk-U5UUPCU3.js";
71
+ } from "./chunk-CGLWJURY.js";
72
72
 
73
73
  // node_modules/ms/index.js
74
74
  var require_ms = __commonJS({
@@ -80630,10 +80630,13 @@ var convertEasyEdaJsonToCircuitJson = (easyEdaJson, { useModelCdn, shouldRecente
80630
80630
  if (e2.type === "pcb_cutout") {
80631
80631
  if (e2.shape === "polygon") {
80632
80632
  e2.points = e2.points.map((p2) => applyToPoint(matrix2, p2));
80633
- } else if (e2.shape === "path") {
80634
- e2.route = e2.route.map((p2) => applyToPoint(matrix2, p2));
80635
80633
  } else if (e2.shape === "circle" || e2.shape === "rect") {
80636
80634
  e2.center = applyToPoint(matrix2, e2.center);
80635
+ } else if ("route" in e2) {
80636
+ const cutoutPath = e2;
80637
+ cutoutPath.route = cutoutPath.route.map(
80638
+ (p2) => applyToPoint(matrix2, p2)
80639
+ );
80637
80640
  }
80638
80641
  } else if (e2.type === "pcb_smtpad" && e2.shape === "polygon") {
80639
80642
  e2.points = e2.points.map((p2) => applyToPoint(matrix2, p2));