Skip to content

Commit

Permalink
Update dependencies (#117)
Browse files Browse the repository at this point in the history
  • Loading branch information
mondeja authored Mar 13, 2024
1 parent 5683e6a commit bd1dca4
Show file tree
Hide file tree
Showing 9 changed files with 4,167 additions and 2,892 deletions.
6 changes: 2 additions & 4 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,10 @@
"sourceType": "module",
"requireConfigFile": false
},
"plugins": ["@typescript-eslint", "prettier"],
"plugins": ["@typescript-eslint"],
"extends": [
"eslint:recommended",
"prettier",
"plugin:@typescript-eslint/recommended",
"plugin:prettier/recommended"
"plugin:@typescript-eslint/recommended"
],
"rules": { "no-console": ["error", { "allow": ["time", "timeEnd"] }] }
}
2 changes: 1 addition & 1 deletion dist/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export declare type BBox = [minX: number, minY: number, maxX: number, maxY: number];
export type BBox = [minX: number, minY: number, maxX: number, maxY: number];
/**
* Compute bounding boxes of SVG paths.
* @param {String} d SVG path for which their bounding box will be computed.
Expand Down
4 changes: 2 additions & 2 deletions dist/index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"use strict";
exports.__esModule = true;
Object.defineProperty(exports, "__esModule", { value: true });
// WARNING: This file is autogenerated, edit lib/index.template.ts
var svgPath = require("svgpath");
// Precision for consider cubic polynom as quadratic one
Expand Down Expand Up @@ -163,4 +163,4 @@ function svgPathBbox(d) {
}, true);
return [min[0], min[1], max[0], max[1]];
}
exports["default"] = svgPathBbox;
exports.default = svgPathBbox;
Loading

0 comments on commit bd1dca4

Please sign in to comment.