@tscircuit/footprinter 0.0.334 → 0.0.335
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
|
@@ -10580,7 +10580,7 @@ function isNotNull(value) {
|
|
|
10580
10580
|
|
|
10581
10581
|
// src/footprinter.ts
|
|
10582
10582
|
var normalizeDefinition = (def) => {
|
|
10583
|
-
return def.trim().replace(/^sot-223-(\d+)(?=_|$)/i, "sot223_$1").replace(/^to-220f-(\d+)(?=_|$)/i, "to220f_$1").replace(/^jst_(ph|sh|zh)_(\d+)(?=_|$)/i, "jst$2_$1");
|
|
10583
|
+
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");
|
|
10584
10584
|
};
|
|
10585
10585
|
var string2 = (def) => {
|
|
10586
10586
|
let fp2 = footprinter();
|