Update 'svg-path-bbox' to v1.0.0 (#5846)

Co-authored-by: Peter Noble <petershaggynoble@gmail.com>
This commit is contained in:
Álvaro Mondéjar 2021-06-03 21:15:21 +02:00 committed by GitHub
parent 28022c0181
commit 8dc6c821d6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 5 deletions

View File

@ -3,7 +3,7 @@ const fs = require('fs');
const data = require("./_data/simple-icons.json"); const data = require("./_data/simple-icons.json");
const { htmlFriendlyToTitle } = require("./scripts/utils.js"); const { htmlFriendlyToTitle } = require("./scripts/utils.js");
const svgpath = require("svgpath"); const svgpath = require("svgpath");
const { svgPathBbox } = require("svg-path-bbox"); const svgPathBbox = require("svg-path-bbox");
const parsePath = require("svg-path-segments"); const parsePath = require("svg-path-segments");
const svgRegexp = /^<svg( [^\s]*=".*"){3}><title>.*<\/title><path d=".*"\/><\/svg>\r?\n?$/; const svgRegexp = /^<svg( [^\s]*=".*"){3}><title>.*<\/title><path d=".*"\/><\/svg>\r?\n?$/;

6
package-lock.json generated
View File

@ -5198,9 +5198,9 @@
} }
}, },
"svg-path-bbox": { "svg-path-bbox": {
"version": "0.2.0", "version": "1.0.0",
"resolved": "https://registry.npmjs.org/svg-path-bbox/-/svg-path-bbox-0.2.0.tgz", "resolved": "https://registry.npmjs.org/svg-path-bbox/-/svg-path-bbox-1.0.0.tgz",
"integrity": "sha512-ZW33BQS+XDkwNQ3z1XMTDceNhaiu3s+GUpuVbavgTHS8epw24OtmMorLXpG6q6S4imxhg1ZpCQ7nLwSPqUuMEg==", "integrity": "sha512-U2uBpPswQzQ7hsvMGCSaJM59Vu3TrQ1OBPGFsQPkV6QzixVCyANBbhVqYk/QUd6nhOXtik0695/IQg6D5sRKoA==",
"dev": true, "dev": true,
"requires": { "requires": {
"svgpath": "^2.3.0" "svgpath": "^2.3.0"

View File

@ -23,7 +23,7 @@
"jest-diff": "26.6.2", "jest-diff": "26.6.2",
"jsonschema": "1.4.0", "jsonschema": "1.4.0",
"npm-run-all": "4.1.5", "npm-run-all": "4.1.5",
"svg-path-bbox": "0.2.0", "svg-path-bbox": "1.0.0",
"svg-path-segments": "0.1.8", "svg-path-segments": "0.1.8",
"svglint": "1.0.7", "svglint": "1.0.7",
"svgo": "2.3.0", "svgo": "2.3.0",