easyeda 0.0.285 → 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.
@@ -9691,6 +9691,7 @@ var isDiodeCategoryComponent = (betterEasy) => {
9691
9691
  // lib/websafe/convert-to-typescript-component/category-value-contains-led.ts
9692
9692
  var categoryValueContainsLed = (value) => {
9693
9693
  if (typeof value === "string") {
9694
+ if (/(^|[^a-z])leds?\s+drivers?([^a-z]|$)/i.test(value)) return false;
9694
9695
  return /(^|[^a-z])leds?([^a-z]|$)/i.test(value) || /light[-\s]?emitting\s+diodes?/i.test(value);
9695
9696
  }
9696
9697
  if (Array.isArray(value)) {