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.
- package/dist/browser/index.js +2 -1
- package/dist/browser/index.js.map +1 -1
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/dist/main.cjs +3 -2
- package/dist/main.cjs.map +1 -1
- package/package.json +1 -1
package/dist/browser/index.js
CHANGED
|
@@ -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
|
-
|
|
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
|