@tscircuit/footprinter 0.0.192 → 0.0.194
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 +2 -2
package/dist/index.js
CHANGED
|
@@ -6950,7 +6950,7 @@ function isNotNull(value) {
|
|
|
6950
6950
|
// src/footprinter.ts
|
|
6951
6951
|
var string2 = (def) => {
|
|
6952
6952
|
let fp2 = footprinter();
|
|
6953
|
-
const modifiedDef =
|
|
6953
|
+
const modifiedDef = def.replace(/^((?:\d{4}|\d{5}))(?=$|_)/, "res$1");
|
|
6954
6954
|
const def_parts = modifiedDef.split("_").map((s) => {
|
|
6955
6955
|
const m = s.match(/([a-z]+)([\(\d\.\+\?].*)?/);
|
|
6956
6956
|
const [_, fn, v] = m ?? [];
|