@tscircuit/core 0.0.1246 → 0.0.1247
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 +8 -4
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -19202,9 +19202,13 @@ function getExistingPcbTracesForReroute(group) {
|
|
|
19202
19202
|
function addPossibleReplacementSourceTraceId(sourceTraceIds, value) {
|
|
19203
19203
|
if (typeof value !== "string" || value.length === 0) return;
|
|
19204
19204
|
sourceTraceIds.add(value);
|
|
19205
|
-
const
|
|
19206
|
-
|
|
19207
|
-
sourceTraceIds.add(
|
|
19205
|
+
for (const connectionNamePart of value.split("__")) {
|
|
19206
|
+
if (connectionNamePart.length === 0) continue;
|
|
19207
|
+
sourceTraceIds.add(connectionNamePart);
|
|
19208
|
+
const rerouteSuffixIndex = connectionNamePart.indexOf("_reroute_");
|
|
19209
|
+
if (rerouteSuffixIndex > 0) {
|
|
19210
|
+
sourceTraceIds.add(connectionNamePart.slice(0, rerouteSuffixIndex));
|
|
19211
|
+
}
|
|
19208
19212
|
}
|
|
19209
19213
|
}
|
|
19210
19214
|
function deleteExistingPcbTracesReplacedBy({
|
|
@@ -21243,7 +21247,7 @@ import { identity as identity5 } from "transformation-matrix";
|
|
|
21243
21247
|
var package_default = {
|
|
21244
21248
|
name: "@tscircuit/core",
|
|
21245
21249
|
type: "module",
|
|
21246
|
-
version: "0.0.
|
|
21250
|
+
version: "0.0.1246",
|
|
21247
21251
|
types: "dist/index.d.ts",
|
|
21248
21252
|
main: "dist/index.js",
|
|
21249
21253
|
module: "dist/index.js",
|