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/index.js
CHANGED
|
@@ -18066,7 +18066,8 @@ var isInductorComponent = (betterEasy) => {
|
|
|
18066
18066
|
const componentParameters = betterEasy.dataStr.head.c_para;
|
|
18067
18067
|
const packageName = componentParameters.package;
|
|
18068
18068
|
const value = componentParameters.Value;
|
|
18069
|
-
|
|
18069
|
+
const hasInductorIdentity = componentParameters.pre?.toUpperCase() === "L?" || packageName?.toUpperCase().startsWith("IND-") === true;
|
|
18070
|
+
return hasInductorIdentity && typeof value === "string" && inductancePattern.test(value.trim());
|
|
18070
18071
|
};
|
|
18071
18072
|
|
|
18072
18073
|
// lib/websafe/convert-to-typescript-component/is-micro-usb-connector-component.ts
|