@tscircuit/core 0.0.1366 → 0.0.1368
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 +11 -3
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -5476,6 +5476,14 @@ var Trace3 = class extends PrimitiveComponent2 {
|
|
|
5476
5476
|
min_trace_thickness: this._getExplicitTraceThickness()
|
|
5477
5477
|
});
|
|
5478
5478
|
this.source_trace_id = trace.source_trace_id;
|
|
5479
|
+
if (!props.name) {
|
|
5480
|
+
db.source_unnamed_trace_warning.insert({
|
|
5481
|
+
message: `${this.getString()} is missing a name. Add a name prop to make the trace easier to identify.`,
|
|
5482
|
+
source_trace_id: trace.source_trace_id,
|
|
5483
|
+
subcircuit_id: this.getSubcircuit()?.subcircuit_id ?? void 0,
|
|
5484
|
+
warning_type: "source_unnamed_trace_warning"
|
|
5485
|
+
});
|
|
5486
|
+
}
|
|
5479
5487
|
}
|
|
5480
5488
|
_insertErrorIfTraceIsOutsideBoard(mergedRoute, ports) {
|
|
5481
5489
|
const { db } = this.root;
|
|
@@ -24359,7 +24367,7 @@ import { identity as identity5 } from "transformation-matrix";
|
|
|
24359
24367
|
var package_default = {
|
|
24360
24368
|
name: "@tscircuit/core",
|
|
24361
24369
|
type: "module",
|
|
24362
|
-
version: "0.0.
|
|
24370
|
+
version: "0.0.1367",
|
|
24363
24371
|
types: "dist/index.d.ts",
|
|
24364
24372
|
main: "dist/index.js",
|
|
24365
24373
|
module: "dist/index.js",
|
|
@@ -24422,13 +24430,13 @@ var package_default = {
|
|
|
24422
24430
|
"bun-match-svg": "0.0.12",
|
|
24423
24431
|
"calculate-elbow": "^0.0.12",
|
|
24424
24432
|
"chokidar-cli": "^3.0.0",
|
|
24425
|
-
"circuit-json": "^0.0.
|
|
24433
|
+
"circuit-json": "^0.0.443",
|
|
24426
24434
|
"circuit-json-to-bpc": "^0.0.13",
|
|
24427
24435
|
"circuit-json-to-connectivity-map": "^0.0.23",
|
|
24428
24436
|
"circuit-json-to-gltf": "^0.0.105",
|
|
24429
24437
|
"circuit-json-to-simple-3d": "^0.0.9",
|
|
24430
24438
|
"circuit-json-to-spice": "^0.0.40",
|
|
24431
|
-
"circuit-to-svg": "^0.0.
|
|
24439
|
+
"circuit-to-svg": "^0.0.367",
|
|
24432
24440
|
concurrently: "^9.1.2",
|
|
24433
24441
|
"connectivity-map": "^1.0.0",
|
|
24434
24442
|
debug: "^4.3.6",
|
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.1368",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"module": "dist/index.js",
|
|
@@ -64,13 +64,13 @@
|
|
|
64
64
|
"bun-match-svg": "0.0.12",
|
|
65
65
|
"calculate-elbow": "^0.0.12",
|
|
66
66
|
"chokidar-cli": "^3.0.0",
|
|
67
|
-
"circuit-json": "^0.0.
|
|
67
|
+
"circuit-json": "^0.0.443",
|
|
68
68
|
"circuit-json-to-bpc": "^0.0.13",
|
|
69
69
|
"circuit-json-to-connectivity-map": "^0.0.23",
|
|
70
70
|
"circuit-json-to-gltf": "^0.0.105",
|
|
71
71
|
"circuit-json-to-simple-3d": "^0.0.9",
|
|
72
72
|
"circuit-json-to-spice": "^0.0.40",
|
|
73
|
-
"circuit-to-svg": "^0.0.
|
|
73
|
+
"circuit-to-svg": "^0.0.367",
|
|
74
74
|
"concurrently": "^9.1.2",
|
|
75
75
|
"connectivity-map": "^1.0.0",
|
|
76
76
|
"debug": "^4.3.6",
|