@tscircuit/parts-engine 0.0.14 → 0.0.15

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.
package/bun.lock CHANGED
@@ -5,11 +5,11 @@
5
5
  "": {
6
6
  "name": "@tscircuit/parts-engine",
7
7
  "dependencies": {
8
- "easyeda": "^0.0.253",
8
+ "easyeda": "^0.0.256",
9
9
  },
10
10
  "devDependencies": {
11
11
  "@biomejs/biome": "^1.9.4",
12
- "@tscircuit/props": "^0.0.500",
12
+ "@tscircuit/props": "^0.0.502",
13
13
  "@types/bun": "latest",
14
14
  "circuit-json": "^0.0.406",
15
15
  "tsup": "^8.4.0",
@@ -142,7 +142,7 @@
142
142
 
143
143
  "@rollup/rollup-win32-x64-msvc": ["@rollup/rollup-win32-x64-msvc@4.40.0", "", { "os": "win32", "cpu": "x64" }, "sha512-lpPE1cLfP5oPzVjKMx10pgBmKELQnFJXHgvtHCtuJWOv8MxqdEIMNtgHgBFf7Ea2/7EuVwa9fodWUfXAlXZLZQ=="],
144
144
 
145
- "@tscircuit/props": ["@tscircuit/props@0.0.500", "", { "peerDependencies": { "circuit-json": "*", "react": "*", "zod": "*" } }, "sha512-WHQfU9mrHTOwOA/qA1nMQKzU1+umWIcEppjoAOE/k+nV11izq6n8CemQZgdzen0mqnfmVn2eX9APAkwiTTApdg=="],
145
+ "@tscircuit/props": ["@tscircuit/props@0.0.502", "", { "peerDependencies": { "circuit-json": "*", "react": "*", "zod": "*" } }, "sha512-0Nf/2etrIGV5hYLqOQQWtlEMW5fFzUmNVK7QcmGi/R485mEpupRYAzsCt2qnNb9PAs51w4WUS2QtGJreaFjmqA=="],
146
146
 
147
147
  "@types/bun": ["@types/bun@1.2.10", "", { "dependencies": { "bun-types": "1.2.10" } }, "sha512-eilv6WFM3M0c9ztJt7/g80BDusK98z/FrFwseZgT4bXCq2vPhXD4z8R3oddmAn+R/Nmz9vBn4kweJKmGTZj+lg=="],
148
148
 
@@ -184,7 +184,7 @@
184
184
 
185
185
  "eastasianwidth": ["eastasianwidth@0.2.0", "", {}, "sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA=="],
186
186
 
187
- "easyeda": ["easyeda@0.0.253", "", { "peerDependencies": { "typescript": "^5.5.2", "zod": "3" }, "bin": { "easyeda-converter": "dist/main.cjs", "easyeda": "dist/main.cjs" } }, "sha512-kB39WFoZxAmfQ3nETPj7yUq5PbPKUGEVtrVToAuKMQZimC2JJR61k6UsoK0QSk+q1R6RsfWj4v8tKHXXZ97UfQ=="],
187
+ "easyeda": ["easyeda@0.0.256", "", { "peerDependencies": { "typescript": "^5.5.2", "zod": "3" }, "bin": { "easyeda-converter": "dist/main.cjs", "easyeda": "dist/main.cjs" } }, "sha512-+tAJepTalUhj0A8uCH0ERqI9LQAychghMzNntd3v4hatxwzYP8zHuqIVDit32N5nKgW3TSP2UQ+EDbxeEemtPQ=="],
188
188
 
189
189
  "emoji-regex": ["emoji-regex@9.2.2", "", {}, "sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg=="],
190
190
 
@@ -4,7 +4,7 @@ import {
4
4
  fetchEasyEDAComponent,
5
5
  EasyEdaJsonSchema,
6
6
  convertEasyEdaJsonToCircuitJson,
7
- } from "easyeda"
7
+ } from "easyeda/browser"
8
8
 
9
9
  export const cache = new Map<string, any>()
10
10
 
package/package.json CHANGED
@@ -1,14 +1,14 @@
1
1
  {
2
2
  "name": "@tscircuit/parts-engine",
3
- "version": "0.0.14",
3
+ "version": "0.0.15",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "dependencies": {
7
- "easyeda": "^0.0.253"
7
+ "easyeda": "^0.0.256"
8
8
  },
9
9
  "devDependencies": {
10
10
  "@biomejs/biome": "^1.9.4",
11
- "@tscircuit/props": "^0.0.500",
11
+ "@tscircuit/props": "^0.0.502",
12
12
  "@types/bun": "latest",
13
13
  "circuit-json": "^0.0.406",
14
14
  "tsup": "^8.4.0"
@@ -30,4 +30,4 @@ test("fetchPartCircuitJson works with manufacturerPartNumber (TYPE-C-31-M-12)",
30
30
  const types = result!.map((el: any) => el.type)
31
31
  expect(types.filter((t: string) => t === "pcb_smtpad").length).toBe(12)
32
32
  expect(types.filter((t: string) => t === "pcb_plated_hole").length).toBe(4)
33
- }, 100000)
33
+ }, 20000)