Skip to content

Commit

Permalink
Merge pull request #80 from ssssota/bumpup-20230519
Browse files Browse the repository at this point in the history
bump
  • Loading branch information
ssssota committed May 19, 2023
2 parents ac24e86 + bf84d39 commit 2bfb632
Show file tree
Hide file tree
Showing 4 changed files with 1,944 additions and 1,683 deletions.
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"
}

0 comments on commit 2bfb632

Please sign in to comment.