clustal-js 2.0.2 → 2.0.5

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.
package/README.md CHANGED
@@ -1,9 +1,10 @@
1
- [![NPM version](https://img.shields.io/npm/v/@gmod/bam.svg?style=flat-square)](https://npmjs.org/package/@gmod/bam)
1
+ [![NPM version](https://img.shields.io/npm/v/clustal-js.svg?style=flat-square)](https://npmjs.org/package/clustal-js)
2
2
  [![Build Status](https://img.shields.io/github/actions/workflow/status/cmdcolin/clustal-js/push.yml?branch=master)](https://github.com/cmdcolin/clustal-js/actions?query=branch%3Amaster+workflow%3APush+)
3
3
 
4
4
  # clustal-js
5
5
 
6
- This parses clustal output format
6
+ This parses CLUSTAL (multiple sequence aligner) output format files (sometimes
7
+ called .aln)
7
8
 
8
9
  ## Usage
9
10
 
package/dist/index.d.ts CHANGED
@@ -9,7 +9,7 @@ export declare function parseClustalIter(arr: Iterator<string>): {
9
9
  version: string;
10
10
  };
11
11
  };
12
- interface Row {
12
+ export interface Row {
13
13
  id: string;
14
14
  seq: string;
15
15
  }
@@ -32,4 +32,3 @@ export declare function parsePairwise(contents: string): {
32
32
  consensus: string;
33
33
  alns: [Row, Row];
34
34
  };
35
- export {};
package/esm/index.d.ts CHANGED
@@ -9,7 +9,7 @@ export declare function parseClustalIter(arr: Iterator<string>): {
9
9
  version: string;
10
10
  };
11
11
  };
12
- interface Row {
12
+ export interface Row {
13
13
  id: string;
14
14
  seq: string;
15
15
  }
@@ -32,4 +32,3 @@ export declare function parsePairwise(contents: string): {
32
32
  consensus: string;
33
33
  alns: [Row, Row];
34
34
  };
35
- export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "clustal-js",
3
- "version": "2.0.2",
3
+ "version": "2.0.5",
4
4
  "main": "dist/index.js",
5
5
  "module": "esm/index.js",
6
6
  "repository": "cmdcolin/clustal-js",
@@ -11,22 +11,20 @@
11
11
  ],
12
12
  "license": "MIT",
13
13
  "devDependencies": {
14
- "@types/jest": "^29.5.12",
15
14
  "@types/node": "^22.0.0",
16
15
  "@typescript-eslint/eslint-plugin": "^8.1.0",
17
16
  "@typescript-eslint/parser": "^8.1.0",
18
17
  "eslint": "^9.9.0",
19
18
  "eslint-plugin-unicorn": "^55.0.0",
20
- "jest": "^29.7.0",
21
19
  "prettier": "^3.2.5",
22
20
  "rimraf": "^6.0.1",
23
- "ts-jest": "^29.2.4",
24
21
  "typescript": "^5.3.3",
25
- "typescript-eslint": "^8.1.0"
22
+ "typescript-eslint": "^8.1.0",
23
+ "vitest": "^2.0.5"
26
24
  },
27
25
  "scripts": {
28
26
  "clean": "rimraf dist esm",
29
- "test": "jest",
27
+ "test": "vitest run",
30
28
  "lint": "eslint --report-unused-disable-directives --max-warnings 0",
31
29
  "build": "npm run build:esm && npm run build:es5",
32
30
  "build:esm": "tsc --target es2018 --outDir esm",
package/src/index.ts CHANGED
@@ -24,7 +24,7 @@ export function parseClustalIter(arr: Iterator<string>) {
24
24
  return { consensus, alns, header }
25
25
  }
26
26
 
27
- interface Row {
27
+ export interface Row {
28
28
  id: string
29
29
  seq: string
30
30
  }