diff --git a/.svglintrc.js b/.svglintrc.js index bff2a28fc..6d5651447 100644 --- a/.svglintrc.js +++ b/.svglintrc.js @@ -3,7 +3,7 @@ const fs = require('fs'); const data = require("./_data/simple-icons.json"); const { htmlFriendlyToTitle } = require("./scripts/utils.js"); const svgpath = require("svgpath"); -const { svgPathBbox } = require("svg-path-bbox"); +const svgPathBbox = require("svg-path-bbox"); const parsePath = require("svg-path-segments"); const svgRegexp = /^.*<\/title><path d=".*"\/><\/svg>\r?\n?$/; diff --git a/package-lock.json b/package-lock.json index da653444f..31737222c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -5198,9 +5198,9 @@ } }, "svg-path-bbox": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/svg-path-bbox/-/svg-path-bbox-0.2.0.tgz", - "integrity": "sha512-ZW33BQS+XDkwNQ3z1XMTDceNhaiu3s+GUpuVbavgTHS8epw24OtmMorLXpG6q6S4imxhg1ZpCQ7nLwSPqUuMEg==", + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/svg-path-bbox/-/svg-path-bbox-1.0.0.tgz", + "integrity": "sha512-U2uBpPswQzQ7hsvMGCSaJM59Vu3TrQ1OBPGFsQPkV6QzixVCyANBbhVqYk/QUd6nhOXtik0695/IQg6D5sRKoA==", "dev": true, "requires": { "svgpath": "^2.3.0" diff --git a/package.json b/package.json index 86a01cdb2..8d9b75ea0 100644 --- a/package.json +++ b/package.json @@ -23,7 +23,7 @@ "jest-diff": "26.6.2", "jsonschema": "1.4.0", "npm-run-all": "4.1.5", - "svg-path-bbox": "0.2.0", + "svg-path-bbox": "1.0.0", "svg-path-segments": "0.1.8", "svglint": "1.0.7", "svgo": "2.3.0",