@tscircuit/core 0.0.2303 → 0.0.2305
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 +7 -3
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -159360,7 +159360,7 @@ var RoutingPhasePreparationError = class extends Error {
|
|
|
159360
159360
|
var package_default = {
|
|
159361
159361
|
name: "@tscircuit/core",
|
|
159362
159362
|
type: "module",
|
|
159363
|
-
version: "0.0.
|
|
159363
|
+
version: "0.0.2304",
|
|
159364
159364
|
types: "dist/index.d.ts",
|
|
159365
159365
|
main: "dist/index.js",
|
|
159366
159366
|
module: "dist/index.js",
|
|
@@ -159400,7 +159400,7 @@ var package_default = {
|
|
|
159400
159400
|
"@tscircuit/bga-fanout-solver": "github:tscircuit/bga-fanout-solver#247c835cb8d69b65e53891dcf869731079415b39",
|
|
159401
159401
|
"@tscircuit/bus-lanes-solver": "https://jscdn.tscircuit.com/@tscircuit/bus-lanes-solver/0.0.49.tgz",
|
|
159402
159402
|
"@tscircuit/cableprinter": "^0.0.6",
|
|
159403
|
-
"@tscircuit/capacity-autorouter": "^0.0.
|
|
159403
|
+
"@tscircuit/capacity-autorouter": "^0.0.1061",
|
|
159404
159404
|
"@tscircuit/checks": "^0.0.270",
|
|
159405
159405
|
"@tscircuit/circuit-json-util": "^0.0.128",
|
|
159406
159406
|
"@tscircuit/common": "^0.0.20",
|
|
@@ -161466,6 +161466,7 @@ var Group5 = class extends NormalComponent {
|
|
|
161466
161466
|
});
|
|
161467
161467
|
}
|
|
161468
161468
|
const outputTestPoints = [];
|
|
161469
|
+
let routingError;
|
|
161469
161470
|
const outputTraces = [];
|
|
161470
161471
|
const outputJumpers = [];
|
|
161471
161472
|
const pcbTraceIdsToDelete = /* @__PURE__ */ new Set();
|
|
@@ -161762,6 +161763,7 @@ var Group5 = class extends NormalComponent {
|
|
|
161762
161763
|
debug13(
|
|
161763
161764
|
`[${this.getString()}] local autorouting error: ${event.error.message}`
|
|
161764
161765
|
);
|
|
161766
|
+
routingError = event.error;
|
|
161765
161767
|
reject(event.error);
|
|
161766
161768
|
});
|
|
161767
161769
|
}
|
|
@@ -162077,7 +162079,8 @@ var Group5 = class extends NormalComponent {
|
|
|
162077
162079
|
},
|
|
162078
162080
|
simpleRouteJson
|
|
162079
162081
|
});
|
|
162080
|
-
throw error;
|
|
162082
|
+
if (outputTraces.length === 0 || !routingError) throw error;
|
|
162083
|
+
break;
|
|
162081
162084
|
} finally {
|
|
162082
162085
|
autorouter?.stop();
|
|
162083
162086
|
}
|
|
@@ -162089,6 +162092,7 @@ var Group5 = class extends NormalComponent {
|
|
|
162089
162092
|
pcb_trace_ids_to_be_replaced: [...pcbTraceIdsToDelete]
|
|
162090
162093
|
};
|
|
162091
162094
|
this._markDirty("PcbTraceRender");
|
|
162095
|
+
if (routingError) throw routingError;
|
|
162092
162096
|
}
|
|
162093
162097
|
_startAsyncAutorouting() {
|
|
162094
162098
|
if (this._hasStartedAsyncAutorouting) return;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tscircuit/core",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.2305",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"module": "dist/index.js",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"@tscircuit/bga-fanout-solver": "github:tscircuit/bga-fanout-solver#247c835cb8d69b65e53891dcf869731079415b39",
|
|
42
42
|
"@tscircuit/bus-lanes-solver": "https://jscdn.tscircuit.com/@tscircuit/bus-lanes-solver/0.0.49.tgz",
|
|
43
43
|
"@tscircuit/cableprinter": "^0.0.6",
|
|
44
|
-
"@tscircuit/capacity-autorouter": "^0.0.
|
|
44
|
+
"@tscircuit/capacity-autorouter": "^0.0.1061",
|
|
45
45
|
"@tscircuit/checks": "^0.0.270",
|
|
46
46
|
"@tscircuit/circuit-json-util": "^0.0.128",
|
|
47
47
|
"@tscircuit/common": "^0.0.20",
|