geometrix 1.0.24 → 1.0.26
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 +5 -5
- package/package.json +7 -7
package/dist/index.js
CHANGED
|
@@ -1786,7 +1786,7 @@ var Contour = class _Contour extends AContour {
|
|
|
1786
1786
|
/** @internal */
|
|
1787
1787
|
addSegStroke() {
|
|
1788
1788
|
if (this.points.length !== 1) {
|
|
1789
|
-
throw `err554: contour addSegStroke with unexpected points.length ${this.points.length}`;
|
|
1789
|
+
throw `err554: contour addSegStroke at segment ${this.segments.length} with unexpected points.length ${this.points.length}`;
|
|
1790
1790
|
}
|
|
1791
1791
|
const p1 = this.points.pop();
|
|
1792
1792
|
if (p1 !== void 0) {
|
|
@@ -1818,7 +1818,7 @@ var Contour = class _Contour extends AContour {
|
|
|
1818
1818
|
}
|
|
1819
1819
|
addSegArc(iRadius, iLarge, iCcw) {
|
|
1820
1820
|
if (this.points.length !== 1) {
|
|
1821
|
-
throw `err954: contour addSegArc with unexpected points.length ${this.points.length}`;
|
|
1821
|
+
throw `err954: contour addSegArc at segment ${this.segments.length} with unexpected points.length ${this.points.length}`;
|
|
1822
1822
|
}
|
|
1823
1823
|
const p1 = this.points.pop();
|
|
1824
1824
|
if (p1 !== void 0) {
|
|
@@ -1845,7 +1845,7 @@ var Contour = class _Contour extends AContour {
|
|
|
1845
1845
|
}
|
|
1846
1846
|
addSegArc2() {
|
|
1847
1847
|
if (this.points.length !== 2) {
|
|
1848
|
-
throw `err958: contour addSegArc2 with unexpected points.length ${this.points.length}`;
|
|
1848
|
+
throw `err958: contour addSegArc2 at segment ${this.segments.length} with unexpected points.length ${this.points.length}`;
|
|
1849
1849
|
}
|
|
1850
1850
|
const p2 = this.points.pop();
|
|
1851
1851
|
const p1 = this.points.pop();
|
|
@@ -1878,7 +1878,7 @@ var Contour = class _Contour extends AContour {
|
|
|
1878
1878
|
}
|
|
1879
1879
|
addSegArc3(iTangentAngle1, firstNlast) {
|
|
1880
1880
|
if (this.points.length !== 1) {
|
|
1881
|
-
throw `err914: contour addSegArc3 with unexpected points.length ${this.points.length}`;
|
|
1881
|
+
throw `err914: contour addSegArc3 at segment ${this.segments.length} with unexpected points.length ${this.points.length}`;
|
|
1882
1882
|
}
|
|
1883
1883
|
const p1 = this.points.pop();
|
|
1884
1884
|
if (p1 !== void 0) {
|
|
@@ -1915,7 +1915,7 @@ var Contour = class _Contour extends AContour {
|
|
|
1915
1915
|
}
|
|
1916
1916
|
addSeg2Arcs(ita1, ita2) {
|
|
1917
1917
|
if (this.points.length !== 1) {
|
|
1918
|
-
throw `err214: contour addSeg2Arcs with unexpected points.length ${this.points.length}`;
|
|
1918
|
+
throw `err214: contour addSeg2Arcs at segment ${this.segments.length} with unexpected points.length ${this.points.length}`;
|
|
1919
1919
|
}
|
|
1920
1920
|
const p1 = this.points.pop();
|
|
1921
1921
|
if (p1 !== void 0) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "geometrix",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.26",
|
|
4
4
|
"description": "The 2D geometry engine of the parametrix",
|
|
5
5
|
"private": false,
|
|
6
6
|
"repository": {
|
|
@@ -63,21 +63,21 @@
|
|
|
63
63
|
"clean": "rimraf dist node_modules"
|
|
64
64
|
},
|
|
65
65
|
"dependencies": {
|
|
66
|
-
"@zip.js/zip.js": "^2.
|
|
66
|
+
"@zip.js/zip.js": "^2.8.8",
|
|
67
67
|
"json5": "^2.2.3"
|
|
68
68
|
},
|
|
69
69
|
"devDependencies": {
|
|
70
70
|
"@eslint/js": "^9.10.0",
|
|
71
71
|
"@types/eslint__js": "^8.42.3",
|
|
72
|
-
"@types/node": "^24.2
|
|
73
|
-
"eslint": "^9.
|
|
72
|
+
"@types/node": "^24.9.2",
|
|
73
|
+
"eslint": "^9.38.0",
|
|
74
74
|
"eslint-config-prettier": "^10.1.8",
|
|
75
75
|
"npm-run-all2": "^8.0.4",
|
|
76
76
|
"prettier": "^3.6.2",
|
|
77
77
|
"rimraf": "^6.0.1",
|
|
78
78
|
"tsup": "^8.5.0",
|
|
79
|
-
"typescript": "^5.9.
|
|
80
|
-
"typescript-eslint": "^8.
|
|
81
|
-
"vitest": "^
|
|
79
|
+
"typescript": "^5.9.3",
|
|
80
|
+
"typescript-eslint": "^8.46.2",
|
|
81
|
+
"vitest": "^4.0.5"
|
|
82
82
|
}
|
|
83
83
|
}
|