easyeda 0.0.382 → 0.0.383

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.
@@ -21671,7 +21671,8 @@ var isInductorComponent = (betterEasy) => {
21671
21671
  const componentParameters = betterEasy.dataStr.head.c_para;
21672
21672
  const packageName = componentParameters.package;
21673
21673
  const value = componentParameters.Value;
21674
- return packageName?.toUpperCase().startsWith("IND-") === true && typeof value === "string" && inductancePattern.test(value.trim());
21674
+ const hasInductorIdentity = componentParameters.pre?.toUpperCase() === "L?" || packageName?.toUpperCase().startsWith("IND-") === true;
21675
+ return hasInductorIdentity && typeof value === "string" && inductancePattern.test(value.trim());
21675
21676
  };
21676
21677
 
21677
21678
  // lib/websafe/convert-to-typescript-component/is-micro-usb-connector-component.ts