-
-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* **Breaking Change:** All packages now require Node.js version 12.20.0 or newer * Support UTF-8 characters in SVG * Support SVG dimensions (width, height) that use `pt` units * Add `rounding` API and CLI option to control how dimensions are rounded (defaults to `"round"`) * Fix [CVE-2021-23631](https://nvd.nist.gov/vuln/detail/CVE-2021-23631) by improving input validation * `quality` CLI option for JPEG not passed correctly [#65](#65) * Bump dependencies (incl. major for Puppeteer) * Bump devDependencies * Skip inconsistent tests
- Loading branch information
Showing
100 changed files
with
263 additions
and
139 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,41 @@ | ||
node_modules/ | ||
packages/*/node_modules/ | ||
# Environment | ||
.env* | ||
|
||
# Compiled output | ||
/node_modules | ||
/packages/*/node_modules | ||
|
||
# Logs | ||
*.log | ||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
lerna-debug.log* | ||
|
||
# OS | ||
.DS_Store | ||
Thumbs.db | ||
|
||
# Linting | ||
/.eslintcache | ||
|
||
# Tests | ||
/coverage | ||
/.nyc_output | ||
/packages/*/test/fixtures/actual | ||
|
||
# IDEs and editors | ||
/.idea | ||
.project | ||
.classpath | ||
.c9/ | ||
*.launch | ||
.settings/ | ||
*.sublime-workspace | ||
|
||
# IDE - VSCode | ||
.vscode/* | ||
!.vscode/settings.json | ||
!.vscode/tasks.json | ||
!.vscode/launch.json | ||
!.vscode/extensions.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
# Authors ordered by first contribution | ||
|
||
* Alasdair Mercer <mercer.alasdair@gmail.com> | ||
* neocotic <https://github.com/neocotic> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"lerna": "3.4.3", | ||
"version": "0.5.0", | ||
"lerna": "4.0.0", | ||
"version": "0.6.0", | ||
"packages": [ | ||
"packages/*" | ||
], | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,14 @@ | ||
{ | ||
"name": "convert-svg-core", | ||
"version": "0.5.0", | ||
"version": "0.6.0", | ||
"description": "Supports converting SVG into another format using headless Chromium", | ||
"homepage": "https://github.com/neocotic/convert-svg", | ||
"bugs": { | ||
"url": "https://github.com/neocotic/convert-svg/issues" | ||
}, | ||
"author": { | ||
"name": "Alasdair Mercer", | ||
"email": "[email protected]", | ||
"url": "https://neocotic.com" | ||
"name": "neocotic", | ||
"url": "https://github.com/neocotic" | ||
}, | ||
"funding": [ | ||
{ | ||
|
@@ -35,23 +34,24 @@ | |
"url": "https://github.com/neocotic/convert-svg.git" | ||
}, | ||
"dependencies": { | ||
"chalk": "^2.4.1", | ||
"commander": "^2.19.0", | ||
"file-url": "^2.0.2", | ||
"get-stdin": "^6.0.0", | ||
"glob": "^7.1.3", | ||
"chalk": "^4.1.2", | ||
"cheerio": "^0.22.0", | ||
"commander": "^9.2.0", | ||
"file-url": "^3.0.0", | ||
"get-stdin": "^8.0.0", | ||
"glob": "^8.0.1", | ||
"lodash.omit": "^4.5.0", | ||
"lodash.pick": "^4.4.0", | ||
"pollock": "^0.2.0", | ||
"puppeteer": "^1.10.0", | ||
"tmp": "0.0.33" | ||
"puppeteer": "^13.7.0", | ||
"tmp": "^0.2.1" | ||
}, | ||
"devDependencies": { | ||
"mocha": "^5.2.0", | ||
"sinon": "^7.1.1" | ||
"mocha": "^9.2.2", | ||
"sinon": "^13.0.2" | ||
}, | ||
"main": "src/index.js", | ||
"engines": { | ||
"node": ">=8" | ||
"node": "^12.20.0 || >=14" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.