Skip to content

Commit

Permalink
esinstall, jsdoc. npm audit, bump package versions.
Browse files Browse the repository at this point in the history
  • Loading branch information
paretoman committed Mar 31, 2024
1 parent 7f8af21 commit 5447fcb
Show file tree
Hide file tree
Showing 8 changed files with 396 additions and 508 deletions.
302 changes: 96 additions & 206 deletions package-lock.json

Large diffs are not rendered by default.

11 changes: 5 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,13 +62,13 @@
"d3-delaunay": "^6.0.2",
"d3-geo": "^3.0.1",
"d3-polygon": "^3.0.1",
"esinstall": "^1.1.7",
"esinstall": "^0.3.7",
"eslint": "^8.7.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-plugin-import": "^2.25.4",
"eslint-plugin-jsdoc": "^48.2.1",
"jest": "^29.7.0",
"jsdoc": "^3.6.10",
"jsdoc": "^4.0.2",
"mocha": "^10.3.0",
"parcel": "^2.4.1",
"process": "^0.11.10",
Expand Down Expand Up @@ -117,8 +117,7 @@
"src/*",
"src/compute/*"
],
"engines" : {
"node" : ">=16.0.0"
}

"engines": {
"node": ">=16.0.0"
}
}
2 changes: 1 addition & 1 deletion web_modules/@mithrandirii/canvas2svg.js
Original file line number Diff line number Diff line change
Expand Up @@ -1288,4 +1288,4 @@

var ctx$1 = ctx;

export default ctx$1;
export { ctx$1 as default };
3 changes: 1 addition & 2 deletions web_modules/@tweenjs/tweenjs.js
Original file line number Diff line number Diff line change
Expand Up @@ -1026,5 +1026,4 @@ var exports = {
update: update,
};

export default exports;
export { Easing, Group, Interpolation, Sequence, Tween, VERSION, add, getAll, nextId, now$1 as now, remove, removeAll, update };
export { Easing, Group, Interpolation, Sequence, Tween, VERSION, add, exports as default, getAll, nextId, now$1 as now, remove, removeAll, update };
14 changes: 7 additions & 7 deletions web_modules/d3-delaunay.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const epsilon = 1.1102230246251565e-16;
const epsilon$1 = 1.1102230246251565e-16;
const splitter = 134217729;
const resulterrbound = (3 + 8 * epsilon) * epsilon;
const resulterrbound = (3 + 8 * epsilon$1) * epsilon$1;

// fast_expansion_sum_zeroelim routine from oritinal code
function sum(elen, e, flen, f, h) {
Expand Down Expand Up @@ -85,9 +85,9 @@ function vec(n) {
return new Float64Array(n);
}

const ccwerrboundA = (3 + 16 * epsilon) * epsilon;
const ccwerrboundB = (2 + 12 * epsilon) * epsilon;
const ccwerrboundC = (9 + 64 * epsilon) * epsilon * epsilon;
const ccwerrboundA = (3 + 16 * epsilon$1) * epsilon$1;
const ccwerrboundB = (2 + 12 * epsilon$1) * epsilon$1;
const ccwerrboundC = (9 + 64 * epsilon$1) * epsilon$1 * epsilon$1;

const B = vec(4);
const C1 = vec(8);
Expand Down Expand Up @@ -742,7 +742,7 @@ function defaultGetY(p) {
return p[1];
}

const epsilon$1 = 1e-6;
const epsilon = 1e-6;

class Path {
constructor() {
Expand All @@ -768,7 +768,7 @@ class Path {
const y0 = y;
if (r < 0) throw new Error("negative radius");
if (this._x1 === null) this._ += `M${x0},${y0}`;
else if (Math.abs(this._x1 - x0) > epsilon$1 || Math.abs(this._y1 - y0) > epsilon$1) this._ += "L" + x0 + "," + y0;
else if (Math.abs(this._x1 - x0) > epsilon || Math.abs(this._y1 - y0) > epsilon) this._ += "L" + x0 + "," + y0;
if (!r) return;
this._ += `A${r},${r},0,1,1,${x - r},${y}A${r},${r},0,1,1,${this._x1 = x0},${this._y1 = y0}`;
}
Expand Down

0 comments on commit 5447fcb

Please sign in to comment.