From 0bd4bdc60bf4c18a2cb90becf3240a4b02d06ba1 Mon Sep 17 00:00:00 2001 From: rushabhcodes Date: Fri, 21 Nov 2025 19:34:35 +0530 Subject: [PATCH] fix: update SOT89 dimensions and snapshots for consistency --- src/fn/sot89.ts | 2 +- tests/__snapshots__/sot89_3.snap.svg | 2 +- tests/__snapshots__/sot89_5.snap.svg | 2 +- tests/kicad-parity/__snapshots__/sot89.snap.svg | 2 +- tests/kicad-parity/__snapshots__/sot89_5.snap.svg | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/fn/sot89.ts b/src/fn/sot89.ts index 6dc89d36..0fbc6ab3 100644 --- a/src/fn/sot89.ts +++ b/src/fn/sot89.ts @@ -7,7 +7,7 @@ import { base_def } from "../helpers/zod/base_def" export const sot89_def = base_def.extend({ fn: z.string(), num_pins: z.union([z.literal(3), z.literal(5)]).default(3), - w: z.string().default("4.20mm"), + w: z.string().default("4.00mm"), h: z.string().default("4.80mm"), pl: z.string().default("1.3mm"), pw: z.string().default("0.9mm"), diff --git a/tests/__snapshots__/sot89_3.snap.svg b/tests/__snapshots__/sot89_3.snap.svg index 86be4dc6..90f7b202 100644 --- a/tests/__snapshots__/sot89_3.snap.svg +++ b/tests/__snapshots__/sot89_3.snap.svg @@ -1 +1 @@ -{REF} \ No newline at end of file +{REF} \ No newline at end of file diff --git a/tests/__snapshots__/sot89_5.snap.svg b/tests/__snapshots__/sot89_5.snap.svg index 320b02f1..59d69475 100644 --- a/tests/__snapshots__/sot89_5.snap.svg +++ b/tests/__snapshots__/sot89_5.snap.svg @@ -1 +1 @@ -{REF} \ No newline at end of file +{REF} \ No newline at end of file diff --git a/tests/kicad-parity/__snapshots__/sot89.snap.svg b/tests/kicad-parity/__snapshots__/sot89.snap.svg index 70fd98c4..0c932369 100644 --- a/tests/kicad-parity/__snapshots__/sot89.snap.svg +++ b/tests/kicad-parity/__snapshots__/sot89.snap.svg @@ -1 +1 @@ -{REF}Diff: 0.00% \ No newline at end of file +{REF}Diff: 0.00% \ No newline at end of file diff --git a/tests/kicad-parity/__snapshots__/sot89_5.snap.svg b/tests/kicad-parity/__snapshots__/sot89_5.snap.svg index 928c583c..54c09a69 100644 --- a/tests/kicad-parity/__snapshots__/sot89_5.snap.svg +++ b/tests/kicad-parity/__snapshots__/sot89_5.snap.svg @@ -1 +1 @@ -{REF}Diff: 0.00% \ No newline at end of file +{REF}Diff: 0.00% \ No newline at end of file