@tscircuit/core 0.0.2136 → 0.0.2138

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 +3 -5
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -17143,7 +17143,7 @@ var NormalComponent_doInitialMissingManufacturerPartNumberWarning = (component)
17143
17143
  const hasSupplierPartNumber = Object.values(
17144
17144
  sourceComponent.supplier_part_numbers ?? {}
17145
17145
  ).some((partNumbers) => partNumbers?.some((partNumber) => partNumber.trim()));
17146
- if (drcChecksDisabled || component.props.doNotPlace || sourceComponent.manufacturer_part_number?.trim() || hasSupplierPartNumber) {
17146
+ if (drcChecksDisabled || component.props.doNotPlace || sourceComponent.ftype === "simple_resistor" || sourceComponent.ftype === "simple_capacitor" || sourceComponent.ftype === "simple_inductor" || sourceComponent.manufacturer_part_number?.trim() || hasSupplierPartNumber) {
17147
17147
  if (existingWarning) {
17148
17148
  db2.source_missing_manufacturer_part_number_warning.delete(
17149
17149
  existingWarning.source_missing_manufacturer_part_number_warning_id
@@ -118433,7 +118433,7 @@ var RoutingPhasePreparationError = class extends Error {
118433
118433
  var package_default = {
118434
118434
  name: "@tscircuit/core",
118435
118435
  type: "module",
118436
- version: "0.0.2135",
118436
+ version: "0.0.2137",
118437
118437
  types: "dist/index.d.ts",
118438
118438
  main: "dist/index.js",
118439
118439
  module: "dist/index.js",
@@ -120645,9 +120645,7 @@ var Group5 = class extends NormalComponent {
120645
120645
  );
120646
120646
  simpleRouteJson.allowViaInPad = phaseAutorouterConfig.allowViaInPad;
120647
120647
  const getPrecomputedRoutingResult = usesPreviousStageOutput ? void 0 : routingPhasePlan.getPrecomputedRoutingResult;
120648
- const preflightRoutingCheckPolicy = this.getInheritedProperty(
120649
- "preflightRoutingCheckPolicy"
120650
- );
120648
+ const preflightRoutingCheckPolicy = this.getInheritedProperty("preflightRoutingCheckPolicy") ?? "basic";
120651
120649
  if (routingPhasePlan.isImplicitRemainingPhase && phaseStageIndex === 0 && this.getInheritedProperty("routeRemaining") === void 0 && (preflightRoutingCheckPolicy === "basic" || preflightRoutingCheckPolicy === "conservative") && simpleRouteJson.connections.length > 50) {
120652
120650
  skippedRemainingPhases.add(routingPhasePlan);
120653
120651
  db2.pcb_autorouting_error.insert({
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tscircuit/core",
3
3
  "type": "module",
4
- "version": "0.0.2136",
4
+ "version": "0.0.2138",
5
5
  "types": "dist/index.d.ts",
6
6
  "main": "dist/index.js",
7
7
  "module": "dist/index.js",
@@ -39,7 +39,7 @@
39
39
  "@tscircuit/bus-lanes-solver": "https://jscdn.tscircuit.com/@tscircuit/bus-lanes-solver/0.0.21.tgz",
40
40
  "@tscircuit/cableprinter": "^0.0.6",
41
41
  "@tscircuit/capacity-autorouter": "^0.0.974",
42
- "@tscircuit/checks": "^0.0.248",
42
+ "@tscircuit/checks": "^0.0.249",
43
43
  "@tscircuit/circuit-json-util": "^0.0.121",
44
44
  "@tscircuit/common": "^0.0.20",
45
45
  "@tscircuit/copper-pour-solver": "^0.0.67",