Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bump #80

Merged
merged 2 commits into from May 19, 2023
Merged

bump #80

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
7 changes: 3 additions & 4 deletions benchmark/package.json
Expand Up @@ -13,13 +13,12 @@
"benny": "^3.7.1",
"envinfo": "^7.8.1",
"node-fetch": "^3.1.0",
"sharp": "^0.29.3",
"svg2img": "^0.9.4",
"svg2png-wasm": "link:.."
"sharp": "^0.32.1",
"svg2img": "^1.0.0-beta.2",
"svg2png-wasm": "workspace:.."
},
"devDependencies": {
"@types/envinfo": "^7.8.1",
"@types/sharp": "^0.29.5",
"esbuild": "^0.14.10",
"typescript": "^4.5.4"
}
Expand Down
5 changes: 2 additions & 3 deletions benchmark/src/renderer/index.ts
@@ -1,5 +1,5 @@
import sharp from './sharp';
// import svg2img from './svg2img';
import svg2img from './svg2img';
import svg2pngWasm from './svg2png-wasm';
import resvgjs from './resvg-js';
import resvg from './resvg';
Expand All @@ -13,8 +13,7 @@ export const rendererMap: {
'resvg-js': resvgjs,
resvg,
sharp,
// disabled due to throwing
// svg2img,
svg2img,
};
export type RendererName = keyof typeof rendererMap;
export default rendererMap;
3 changes: 2 additions & 1 deletion package.json
Expand Up @@ -89,5 +89,6 @@
"vitest": "^0.9.4",
"wasm-pack": "^0.10.2"
},
"type": "module"
"type": "module",
"packageManager": "pnpm@8.5.1"
}