@tscircuit/core 0.0.757 → 0.0.759

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.
Files changed (2) hide show
  1. package/dist/index.js +8 -3
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -12634,7 +12634,8 @@ var Group6 = class extends NormalComponent3 {
12634
12634
  import {
12635
12635
  checkEachPcbPortConnectedToPcbTraces,
12636
12636
  checkEachPcbTraceNonOverlapping,
12637
- checkPcbComponentsOutOfBoard
12637
+ checkPcbComponentsOutOfBoard,
12638
+ checkPcbTracesOutOfBoard
12638
12639
  } from "@tscircuit/checks";
12639
12640
  var getRoundedRectOutline = (width, height, radius) => {
12640
12641
  const r = Math.min(radius, width / 2, height / 2);
@@ -12892,6 +12893,10 @@ var Board = class extends Group6 {
12892
12893
  for (const error of pcbComponentOutsideErrors) {
12893
12894
  db.pcb_component_outside_board_error.insert(error);
12894
12895
  }
12896
+ const pcbTracesOutOfBoardErrors = checkPcbTracesOutOfBoard(db.toArray());
12897
+ for (const error of pcbTracesOutOfBoardErrors) {
12898
+ db.pcb_trace_error.insert(error);
12899
+ }
12895
12900
  }
12896
12901
  _emitRenderLifecycleEvent(phase, startOrEnd) {
12897
12902
  super._emitRenderLifecycleEvent(phase, startOrEnd);
@@ -15811,7 +15816,7 @@ import { identity as identity6 } from "transformation-matrix";
15811
15816
  var package_default = {
15812
15817
  name: "@tscircuit/core",
15813
15818
  type: "module",
15814
- version: "0.0.756",
15819
+ version: "0.0.758",
15815
15820
  types: "dist/index.d.ts",
15816
15821
  main: "dist/index.js",
15817
15822
  module: "dist/index.js",
@@ -15841,7 +15846,7 @@ var package_default = {
15841
15846
  devDependencies: {
15842
15847
  "@biomejs/biome": "^1.8.3",
15843
15848
  "@tscircuit/capacity-autorouter": "^0.0.123",
15844
- "@tscircuit/checks": "^0.0.75",
15849
+ "@tscircuit/checks": "^0.0.79",
15845
15850
  "@tscircuit/circuit-json-util": "^0.0.67",
15846
15851
  "@tscircuit/footprinter": "^0.0.236",
15847
15852
  "@tscircuit/import-snippet": "^0.0.4",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tscircuit/core",
3
3
  "type": "module",
4
- "version": "0.0.757",
4
+ "version": "0.0.759",
5
5
  "types": "dist/index.d.ts",
6
6
  "main": "dist/index.js",
7
7
  "module": "dist/index.js",
@@ -31,7 +31,7 @@
31
31
  "devDependencies": {
32
32
  "@biomejs/biome": "^1.8.3",
33
33
  "@tscircuit/capacity-autorouter": "^0.0.123",
34
- "@tscircuit/checks": "^0.0.75",
34
+ "@tscircuit/checks": "^0.0.79",
35
35
  "@tscircuit/circuit-json-util": "^0.0.67",
36
36
  "@tscircuit/footprinter": "^0.0.236",
37
37
  "@tscircuit/import-snippet": "^0.0.4",