easyeda 0.0.284 → 0.0.286

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.283",
3531
+ version: "0.0.285",
3532
3532
  files: [
3533
3533
  "dist"
3534
3534
  ],
@@ -9409,6 +9409,7 @@ var isDiodeCategoryComponent = (betterEasy) => {
9409
9409
  // lib/websafe/convert-to-typescript-component/category-value-contains-led.ts
9410
9410
  var categoryValueContainsLed = (value) => {
9411
9411
  if (typeof value === "string") {
9412
+ if (/(^|[^a-z])leds?\s+drivers?([^a-z]|$)/i.test(value)) return false;
9412
9413
  return /(^|[^a-z])leds?([^a-z]|$)/i.test(value) || /light[-\s]?emitting\s+diodes?/i.test(value);
9413
9414
  }
9414
9415
  if (Array.isArray(value)) {