@tscircuit/core 0.0.638 → 0.0.640
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/index.js +6 -8
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -8000,8 +8000,6 @@ function convertTreeToInputProblem(tree, db, group) {
|
|
|
8000
8000
|
const problem = {
|
|
8001
8001
|
chipMap: {},
|
|
8002
8002
|
chipPinMap: {},
|
|
8003
|
-
groupMap: {},
|
|
8004
|
-
groupPinMap: {},
|
|
8005
8003
|
netMap: {},
|
|
8006
8004
|
pinStrongConnMap: {},
|
|
8007
8005
|
netConnMap: {},
|
|
@@ -12767,7 +12765,7 @@ import { identity as identity5 } from "transformation-matrix";
|
|
|
12767
12765
|
var package_default = {
|
|
12768
12766
|
name: "@tscircuit/core",
|
|
12769
12767
|
type: "module",
|
|
12770
|
-
version: "0.0.
|
|
12768
|
+
version: "0.0.639",
|
|
12771
12769
|
types: "dist/index.d.ts",
|
|
12772
12770
|
main: "dist/index.js",
|
|
12773
12771
|
module: "dist/index.js",
|
|
@@ -12797,7 +12795,7 @@ var package_default = {
|
|
|
12797
12795
|
"@tscircuit/import-snippet": "^0.0.4",
|
|
12798
12796
|
"@tscircuit/infgrid-ijump-astar": "^0.0.33",
|
|
12799
12797
|
"@tscircuit/log-soup": "^1.0.2",
|
|
12800
|
-
"@tscircuit/matchpack": "^0.0.
|
|
12798
|
+
"@tscircuit/matchpack": "^0.0.9",
|
|
12801
12799
|
"@tscircuit/math-utils": "^0.0.18",
|
|
12802
12800
|
"@tscircuit/miniflex": "^0.0.4",
|
|
12803
12801
|
"@tscircuit/props": "^0.0.287",
|
|
@@ -12855,7 +12853,7 @@ var package_default = {
|
|
|
12855
12853
|
dependencies: {
|
|
12856
12854
|
"@flatten-js/core": "^1.6.2",
|
|
12857
12855
|
"@lume/kiwi": "^0.4.3",
|
|
12858
|
-
"calculate-packing": "0.0.
|
|
12856
|
+
"calculate-packing": "0.0.28",
|
|
12859
12857
|
"css-select": "5.1.0",
|
|
12860
12858
|
"format-si-unit": "^0.0.3",
|
|
12861
12859
|
nanoid: "^5.0.7",
|
|
@@ -13036,11 +13034,11 @@ var RootCircuit = class {
|
|
|
13036
13034
|
);
|
|
13037
13035
|
}
|
|
13038
13036
|
getClientOrigin() {
|
|
13039
|
-
if (typeof window !== "undefined") {
|
|
13037
|
+
if (typeof window !== "undefined" && window.location) {
|
|
13040
13038
|
return window.location.origin;
|
|
13041
13039
|
}
|
|
13042
|
-
if (typeof self !== "undefined") {
|
|
13043
|
-
return self.origin;
|
|
13040
|
+
if (typeof self !== "undefined" && self.location) {
|
|
13041
|
+
return self.location.origin;
|
|
13044
13042
|
}
|
|
13045
13043
|
return "";
|
|
13046
13044
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tscircuit/core",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.640",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"module": "dist/index.js",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"@tscircuit/import-snippet": "^0.0.4",
|
|
32
32
|
"@tscircuit/infgrid-ijump-astar": "^0.0.33",
|
|
33
33
|
"@tscircuit/log-soup": "^1.0.2",
|
|
34
|
-
"@tscircuit/matchpack": "^0.0.
|
|
34
|
+
"@tscircuit/matchpack": "^0.0.9",
|
|
35
35
|
"@tscircuit/math-utils": "^0.0.18",
|
|
36
36
|
"@tscircuit/miniflex": "^0.0.4",
|
|
37
37
|
"@tscircuit/props": "^0.0.287",
|
|
@@ -89,7 +89,7 @@
|
|
|
89
89
|
"dependencies": {
|
|
90
90
|
"@flatten-js/core": "^1.6.2",
|
|
91
91
|
"@lume/kiwi": "^0.4.3",
|
|
92
|
-
"calculate-packing": "0.0.
|
|
92
|
+
"calculate-packing": "0.0.28",
|
|
93
93
|
"css-select": "5.1.0",
|
|
94
94
|
"format-si-unit": "^0.0.3",
|
|
95
95
|
"nanoid": "^5.0.7",
|