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/index.js CHANGED
@@ -5828,6 +5828,7 @@ var isDiodeCategoryComponent = (betterEasy) => {
5828
5828
  // lib/websafe/convert-to-typescript-component/category-value-contains-led.ts
5829
5829
  var categoryValueContainsLed = (value) => {
5830
5830
  if (typeof value === "string") {
5831
+ if (/(^|[^a-z])leds?\s+drivers?([^a-z]|$)/i.test(value)) return false;
5831
5832
  return /(^|[^a-z])leds?([^a-z]|$)/i.test(value) || /light[-\s]?emitting\s+diodes?/i.test(value);
5832
5833
  }
5833
5834
  if (Array.isArray(value)) {