From 8dc6c821d6447d20cbb8fe751e0cc78a20b35387 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=81lvaro=20Mond=C3=A9jar?= Date: Thu, 3 Jun 2021 21:15:21 +0200 Subject: [PATCH] Update 'svg-path-bbox' to v1.0.0 (#5846) Co-authored-by: Peter Noble --- .svglintrc.js | 2 +- package-lock.json | 6 +++--- package.json | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) 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",