Skip to content

Commit

Permalink
1.1.2
Browse files Browse the repository at this point in the history
Took 9 minutes
  • Loading branch information
erikyo committed Apr 8, 2024
1 parent f530491 commit 15c345a
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 4 deletions.
14 changes: 12 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "squashify",
"version": "1.1.0",
"version": "1.1.2",
"description": "A Node.js command-line tool and script to compress and optimize images, using different algorithms to reduce file size",
"license": "LGPL-3.0-or-later",
"contributors": [
Expand Down Expand Up @@ -73,6 +73,7 @@
"@types/ini": "^4.1.0",
"@types/node": "^20.11.30",
"@types/prompts": "^2.4.9",
"@types/xml2js": "^0.4.14",
"@typescript-eslint/eslint-plugin": "^6.21.0",
"@vitest/coverage-v8": "^1.4.0",
"eslint": "^8.57.0",
Expand Down
2 changes: 1 addition & 1 deletion src/encodeSvg.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ async function getSVGMetadata(svgString: string): Promise<{
metadata: SVGMetadata;
itemCount: number;
}> {
return new Promise((resolve, reject) => {
return await new Promise((resolve, reject) => {
parseString(svgString, (err, result) => {
if (err) {
reject(err);
Expand Down

0 comments on commit 15c345a

Please sign in to comment.