@tscircuit/core 0.0.1895 → 0.0.1897

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 -5
  2. package/package.json +3 -3
package/dist/index.js CHANGED
@@ -42377,8 +42377,11 @@ function validatePlanStructure(params) {
42377
42377
  plan,
42378
42378
  issues
42379
42379
  });
42380
- if (traceSegments.length !== plan.segments.length || traceSegments.some((segment2, index) => {
42381
- const declared = plan.segments[index];
42380
+ const declaredTraceSegments = plan.segments.filter(
42381
+ (segment2) => distance9(segment2.start, segment2.end) > EPSILON23
42382
+ );
42383
+ if (traceSegments.length !== declaredTraceSegments.length || traceSegments.some((segment2, index) => {
42384
+ const declared = declaredTraceSegments[index];
42382
42385
  return !declared || segment2.layer !== declared.layer || Math.abs(segment2.width - declared.width) > EPSILON23 || !pointsMatch3(segment2.start, declared.start) || !pointsMatch3(segment2.end, declared.end);
42383
42386
  })) {
42384
42387
  addIssue2(
@@ -61701,7 +61704,7 @@ function Group_getRoutingPhasePlans(group) {
61701
61704
  var package_default = {
61702
61705
  name: "@tscircuit/core",
61703
61706
  type: "module",
61704
- version: "0.0.1894",
61707
+ version: "0.0.1896",
61705
61708
  types: "dist/index.d.ts",
61706
61709
  main: "dist/index.js",
61707
61710
  module: "dist/index.js",
@@ -61741,7 +61744,7 @@ var package_default = {
61741
61744
  "@tscircuit/common": "^0.0.20",
61742
61745
  "@tscircuit/copper-pour-solver": "^0.0.54",
61743
61746
  "@tscircuit/create-fdm-enclosure": "0.0.4",
61744
- "@tscircuit/fanout-solver": "0.0.73",
61747
+ "@tscircuit/fanout-solver": "0.0.74",
61745
61748
  "@tscircuit/footprinter": "^0.0.426",
61746
61749
  "@tscircuit/image-utils": "^0.0.8",
61747
61750
  "@tscircuit/implicit-copper-pour-solver": "github:tscircuit/implicit-copper-pour-solver#a5cbbda0cd65fd4707c5c1af25779837c25aba92",
@@ -61775,7 +61778,7 @@ var package_default = {
61775
61778
  "circuit-json-to-connectivity-map": "^0.0.30",
61776
61779
  "circuit-json-to-gltf": "^0.0.124",
61777
61780
  "circuit-json-to-spice": "^0.0.45",
61778
- "circuit-to-svg": "^0.0.413",
61781
+ "circuit-to-svg": "^0.0.416",
61779
61782
  concurrently: "^9.1.2",
61780
61783
  "connectivity-map": "^1.0.0",
61781
61784
  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.1895",
4
+ "version": "0.0.1897",
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/common": "^0.0.20",
42
42
  "@tscircuit/copper-pour-solver": "^0.0.54",
43
43
  "@tscircuit/create-fdm-enclosure": "0.0.4",
44
- "@tscircuit/fanout-solver": "0.0.73",
44
+ "@tscircuit/fanout-solver": "0.0.74",
45
45
  "@tscircuit/footprinter": "^0.0.426",
46
46
  "@tscircuit/image-utils": "^0.0.8",
47
47
  "@tscircuit/implicit-copper-pour-solver": "github:tscircuit/implicit-copper-pour-solver#a5cbbda0cd65fd4707c5c1af25779837c25aba92",
@@ -75,7 +75,7 @@
75
75
  "circuit-json-to-connectivity-map": "^0.0.30",
76
76
  "circuit-json-to-gltf": "^0.0.124",
77
77
  "circuit-json-to-spice": "^0.0.45",
78
- "circuit-to-svg": "^0.0.413",
78
+ "circuit-to-svg": "^0.0.416",
79
79
  "concurrently": "^9.1.2",
80
80
  "connectivity-map": "^1.0.0",
81
81
  "debug": "^4.3.6",