tscircuit 0.0.826-libonly → 0.0.827-libonly
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/dist/browser.min.js +2 -2
- package/dist/webworker.min.js +1 -1
- package/package.json +4 -4
package/dist/webworker.min.js
CHANGED
|
@@ -391,7 +391,7 @@ ${u.join(" -> ")}`)}if(!t.fsMap[a])throw Zh("fsPath not found in fsMap:",a),new
|
|
|
391
391
|
|
|
392
392
|
${t.logger.stringifyLogs()}`);return{content:await d.text(),error:null}}).catch(d=>({error:d,content:null}));if(a)throw console.error("Error fetching npm import",e,a),a;let c=rEt(o),l=Ao(c),u=Nx(s);for(let d of u)i[d]||await pu(d,t,n+1,{cwd:l});let h=o1(s,c||e);try{let d=ru(h,i,l).exports;i[e]=d,i[c]=d,i[o]=d}catch(d){throw new Error(`Eval npm package error for "${e}": ${d.message}
|
|
393
393
|
|
|
394
|
-
${t.logger.stringifyLogs()}`)}}var fW=Xt(wn(),1),dW=(0,fW.default)("tsci:eval:import-eval-path");async function pu(e,t,n=0,i={}){dW("importEvalPath called with:",{importName:e,depth:n,opts:i}),t.logger.info(`importEvalPath("${e}", {cwd: "${i.cwd}", depth: ${n}})`),dW(`${" ".repeat(n)}\u27A1\uFE0F`,e);let{preSuppliedImports:r}=t;if(r[e]){t.logger.info(`Import "${e}" in preSuppliedImports[1]`);return}if(e.startsWith("./")&&r[e.slice(2)]){t.logger.info(`Import "${e}" in preSuppliedImports[2]`);return}if(n>
|
|
394
|
+
${t.logger.stringifyLogs()}`)}}var fW=Xt(wn(),1),dW=(0,fW.default)("tsci:eval:import-eval-path");async function pu(e,t,n=0,i={}){dW("importEvalPath called with:",{importName:e,depth:n,opts:i}),t.logger.info(`importEvalPath("${e}", {cwd: "${i.cwd}", depth: ${n}})`),dW(`${" ".repeat(n)}\u27A1\uFE0F`,e);let{preSuppliedImports:r}=t;if(r[e]){t.logger.info(`Import "${e}" in preSuppliedImports[1]`);return}if(e.startsWith("./")&&r[e.slice(2)]){t.logger.info(`Import "${e}" in preSuppliedImports[2]`);return}if(n>30)throw new Error(`Max depth for imports reached (30) Import Path: ${t.importStack.join(" -> ")}`);if(e.startsWith("/npm/")){let c=e.replace(/^\/npm\//,"").replace(/\/\+esm$/,"");t.logger.info(`importNpmPackage("${c}")`),await XC(c,t,n);let l=r[c];l&&(r[e]=l);return}let o=vm(e,t.fsMap,i.cwd,{tsConfig:t.tsConfig});if(o){t.logger.info(`importLocalFile("${o}")`),await m2(o,t,n),e!==o&&(r[e]=r[o]);return}let s=t.tsConfig??xm(t.fsMap);if(!t.tsConfig&&s&&(t.tsConfig=s),OG(e,s))throw new Error(`Import "${e}" matches a tsconfig path alias but could not be resolved to an existing file${i.cwd?` from directory "${i.cwd}"`:""}
|
|
395
395
|
|
|
396
396
|
${t.logger.stringifyLogs()}`);let a=_2(e,t.fsMap,i.cwd||"");if(a)return t.logger.info(`resolvedNodeModulePath="${a}"`),t.logger.info(`importNodeModule("${e}")`),pW(e,t,n);if(e.startsWith("@tsci/"))return t.logger.info(`importSnippet("${e}")`),lW(e,t,n);if(!e.startsWith(".")&&!e.startsWith("/"))return t.logger.info(`importNpmPackage("${e}")`),XC(e,t,n);throw new Error(`Unresolved import "${e}" ${i.cwd?`from directory "${i.cwd}"`:""}
|
|
397
397
|
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"main": "dist/index.js",
|
|
4
4
|
"types": "dist/index.d.ts",
|
|
5
5
|
"type": "module",
|
|
6
|
-
"version": "0.0.
|
|
6
|
+
"version": "0.0.827-libonly",
|
|
7
7
|
"repository": {
|
|
8
8
|
"type": "git",
|
|
9
9
|
"url": "https://github.com/tscircuit/tscircuit"
|
|
@@ -45,8 +45,8 @@
|
|
|
45
45
|
"@tscircuit/checks": "^0.0.85",
|
|
46
46
|
"@tscircuit/circuit-json-flex": "^0.0.3",
|
|
47
47
|
"@tscircuit/circuit-json-util": "^0.0.72",
|
|
48
|
-
"@tscircuit/core": "^0.0.
|
|
49
|
-
"@tscircuit/eval": "^0.0.
|
|
48
|
+
"@tscircuit/core": "^0.0.838",
|
|
49
|
+
"@tscircuit/eval": "^0.0.442",
|
|
50
50
|
"@tscircuit/footprinter": "^0.0.236",
|
|
51
51
|
"@tscircuit/infgrid-ijump-astar": "^0.0.33",
|
|
52
52
|
"@tscircuit/matchpack": "^0.0.16",
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
"@tscircuit/miniflex": "^0.0.4",
|
|
55
55
|
"@tscircuit/ngspice-spice-engine": "^0.0.2",
|
|
56
56
|
"@tscircuit/props": "^0.0.384",
|
|
57
|
-
"@tscircuit/runframe": "^0.0.
|
|
57
|
+
"@tscircuit/runframe": "^0.0.1174",
|
|
58
58
|
"@tscircuit/schematic-match-adapt": "^0.0.16",
|
|
59
59
|
"@tscircuit/schematic-trace-solver": "^0.0.41",
|
|
60
60
|
"@tscircuit/simple-3d-svg": "^0.0.41",
|