easyeda 0.0.303 → 0.0.304

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/main.cjs CHANGED
@@ -3528,7 +3528,7 @@ var import_promises = __toESM(require("fs/promises"), 1);
3528
3528
  var package_default = {
3529
3529
  name: "easyeda",
3530
3530
  type: "module",
3531
- version: "0.0.302",
3531
+ version: "0.0.303",
3532
3532
  files: [
3533
3533
  "dist"
3534
3534
  ],
@@ -11110,7 +11110,9 @@ var generateFootprintTsx = (circuitJson, options = {}) => {
11110
11110
  `<hole pcbX="${mmStr(hole.x)}" pcbY="${mmStr(hole.y)}" diameter="${mmStr(hole.hole_diameter)}" />`
11111
11111
  );
11112
11112
  } else if (hole.hole_shape === "oval") {
11113
- console.warn("Unhandled oval hole in conversion (needs implementation)");
11113
+ elementStrings.push(
11114
+ `<hole pcbX="${mmStr(hole.x)}" pcbY="${mmStr(hole.y)}" width="${mmStr(hole.hole_width)}" height="${mmStr(hole.hole_height)}" shape="oval" />`
11115
+ );
11114
11116
  }
11115
11117
  }
11116
11118
  for (const platedHole of platedHoles) {