react-msaview-cli 6.2.3 → 6.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +6 -0
  2. package/package.json +6 -3
package/README.md CHANGED
@@ -20,6 +20,12 @@ Nothing else for `export-svg` and `interpro`. `interproscan` needs a backend to
20
20
  scan with — the EBI web API (the default, no install), or Docker, Singularity,
21
21
  or a local InterProScan (see [interproscan](#interproscan)).
22
22
 
23
+ `export-svg` draws the alignment background as one embedded image when
24
+ [@napi-rs/canvas](https://www.npmjs.com/package/@napi-rs/canvas) is present. It
25
+ is an optional dependency with prebuilt binaries, so a normal install brings it
26
+ in; on a platform it does not cover, the export still works and draws a
27
+ rectangle per cell instead, which is much larger and slower for big alignments.
28
+
23
29
  ## Setup
24
30
 
25
31
  ```bash
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-msaview-cli",
3
- "version": "6.2.3",
3
+ "version": "6.4.0",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "repository": {
@@ -28,8 +28,11 @@
28
28
  "mobx-react": "^10.0.0",
29
29
  "react": "^19.2.8",
30
30
  "react-dom": "^19.2.8",
31
- "msa-parsers": "6.2.3",
32
- "react-msaview": "6.2.3"
31
+ "msa-parsers": "6.4.0",
32
+ "react-msaview": "6.4.0"
33
+ },
34
+ "optionalDependencies": {
35
+ "@napi-rs/canvas": "^1.0.8"
33
36
  },
34
37
  "scripts": {
35
38
  "clean": "node --eval \"fs.rmSync('dist',{recursive:true,force:true})\" --input-type=module",