@tscircuit/core 0.0.1451 → 0.0.1452

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 +4 -3
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -14897,6 +14897,7 @@ var NormalComponent3 = class extends PrimitiveComponent2 {
14897
14897
 
14898
14898
  // lib/components/normal-components/Board.ts
14899
14899
  import {
14900
+ dedupePcbDrcErrors,
14900
14901
  runAllNetlistChecks,
14901
14902
  runAllPinSpecificationChecks,
14902
14903
  runAllPlacementChecks,
@@ -22810,7 +22811,7 @@ function Group_getRoutingPhasePlans(group) {
22810
22811
  var package_default = {
22811
22812
  name: "@tscircuit/core",
22812
22813
  type: "module",
22813
- version: "0.0.1450",
22814
+ version: "0.0.1451",
22814
22815
  types: "dist/index.d.ts",
22815
22816
  main: "dist/index.js",
22816
22817
  module: "dist/index.js",
@@ -22844,7 +22845,7 @@ var package_default = {
22844
22845
  "@tscircuit/alphabet": "0.0.25",
22845
22846
  "@tscircuit/breakout-point-solver": "github:tscircuit/breakout-point-solver#bac9629",
22846
22847
  "@tscircuit/capacity-autorouter": "^0.0.670",
22847
- "@tscircuit/checks": "0.0.143",
22848
+ "@tscircuit/checks": "0.0.144",
22848
22849
  "@tscircuit/circuit-json-util": "^0.0.97",
22849
22850
  "@tscircuit/common": "^0.0.20",
22850
22851
  "@tscircuit/copper-pour-solver": "0.0.39",
@@ -27390,7 +27391,7 @@ var Board = class extends Group {
27390
27391
  }
27391
27392
  }
27392
27393
  const checkResults = await Promise.all(checksToRun);
27393
- db.insertAll(checkResults.flat());
27394
+ db.insertAll(dedupePcbDrcErrors(checkResults.flat()));
27394
27395
  };
27395
27396
  const subcircuit = db.subtree({ subcircuit_id: this.subcircuit_id });
27396
27397
  const subcircuitCircuitJson = subcircuit.toArray();
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tscircuit/core",
3
3
  "type": "module",
4
- "version": "0.0.1451",
4
+ "version": "0.0.1452",
5
5
  "types": "dist/index.d.ts",
6
6
  "main": "dist/index.js",
7
7
  "module": "dist/index.js",
@@ -35,7 +35,7 @@
35
35
  "@tscircuit/alphabet": "0.0.25",
36
36
  "@tscircuit/breakout-point-solver": "github:tscircuit/breakout-point-solver#bac9629",
37
37
  "@tscircuit/capacity-autorouter": "^0.0.670",
38
- "@tscircuit/checks": "0.0.143",
38
+ "@tscircuit/checks": "0.0.144",
39
39
  "@tscircuit/circuit-json-util": "^0.0.97",
40
40
  "@tscircuit/common": "^0.0.20",
41
41
  "@tscircuit/copper-pour-solver": "0.0.39",