@tscircuit/footprinter 0.0.350 → 0.0.351
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 +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -11048,7 +11048,7 @@ function isNotNull(value) {
|
|
|
11048
11048
|
|
|
11049
11049
|
// src/footprinter.ts
|
|
11050
11050
|
var normalizeDefinition = (def) => {
|
|
11051
|
-
return def.trim().replace(/^sot23-(\d+)(?=_|$)/i, "sot23_$1").replace(/^sot-223-(\d+)(?=_|$)/i, "sot223_$1").replace(/^to-220f-(\d+)(?=_|$)/i, "to220f_$1").replace(/^jst_(ph|sh|zh)_(\d+)(?=_|$)/i, "jst$2_$1");
|
|
11051
|
+
return def.trim().replace(/^pinheader(?=[\d_]|$)/i, "pinrow").replace(/^sot23-(\d+)(?=_|$)/i, "sot23_$1").replace(/^sot-223-(\d+)(?=_|$)/i, "sot223_$1").replace(/^to-220f-(\d+)(?=_|$)/i, "to220f_$1").replace(/^jst_(ph|sh|zh)_(\d+)(?=_|$)/i, "jst$2_$1");
|
|
11052
11052
|
};
|
|
11053
11053
|
var string2 = (def) => {
|
|
11054
11054
|
let fp2 = footprinter();
|