Skip to content

Commit cb60c71

Browse files
committed
chore: update dependencies
1 parent be9b34a commit cb60c71

22 files changed

+64
-64
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,11 @@
4646
"ml-xsadd": "^3.0.1"
4747
},
4848
"devDependencies": {
49-
"@types/node": "^24.3.1",
49+
"@types/node": "^24.5.2",
5050
"@vitest/coverage-v8": "^3.2.4",
5151
"@zakodium/tsconfig": "^1.0.2",
5252
"cheminfo-build": "^1.3.1",
53-
"eslint": "^9.35.0",
53+
"eslint": "^9.36.0",
5454
"eslint-config-cheminfo-typescript": "^20.0.0",
5555
"jest-matcher-deep-close-to": "^3.0.2",
5656
"ml-spectra-fitting": "^5.0.1",

src/__tests__/index.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { expect, test } from 'vitest';
22

33
import * as SpectraProcessing from '../index.ts';
44

5-
test('test existence of exported functions', () => {
5+
test('existence of exported functions', () => {
66
const exports = Object.keys(SpectraProcessing);
77

88
expect(exports).toMatchSnapshot();

src/matrix/__tests__/matrixAutoCorrelation.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ test('simple', () => {
1414
expect(result[1]).toBeCloseTo(-1, 10);
1515
});
1616

17-
test('test matrixAutoCorrelation too small', () => {
17+
test('matrixAutoCorrelation too small', () => {
1818
const matrix = [[0]];
1919

2020
expect(() => matrixAutoCorrelation(matrix)).toThrow(

src/matrix/__tests__/matrixBoxPlot.test.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { expect, test } from 'vitest';
22

33
import { matrixBoxPlot } from '../matrixBoxPlot.ts';
44

5-
test('test matrixBoxPlot even', () => {
5+
test('matrixBoxPlot even', () => {
66
const matrix = [
77
[0, 0],
88
[1, 10],
@@ -27,7 +27,7 @@ test('test matrixBoxPlot even', () => {
2727
});
2828
});
2929

30-
test('test matrixBoxPlot even small', () => {
30+
test('matrixBoxPlot even small', () => {
3131
const matrix = [[0], [1], [2], [3], [4], [5]];
3232

3333
expect(matrixBoxPlot(matrix)).toStrictEqual({
@@ -39,7 +39,7 @@ test('test matrixBoxPlot even small', () => {
3939
});
4040
});
4141

42-
test('test matrixBoxPlot odd', () => {
42+
test('matrixBoxPlot odd', () => {
4343
const matrix = [[0], [1], [2], [3], [4], [5], [6], [7], [8], [9], [10]];
4444

4545
expect(matrixBoxPlot(matrix)).toStrictEqual({
@@ -51,7 +51,7 @@ test('test matrixBoxPlot odd', () => {
5151
});
5252
});
5353

54-
test('test matrixBoxPlot odd small', () => {
54+
test('matrixBoxPlot odd small', () => {
5555
const matrix = [[0], [1], [2], [3], [4]];
5656

5757
expect(matrixBoxPlot(matrix)).toStrictEqual({
@@ -63,7 +63,7 @@ test('test matrixBoxPlot odd small', () => {
6363
});
6464
});
6565

66-
test('test matrixBoxPlot too small', () => {
66+
test('matrixBoxPlot too small', () => {
6767
const matrix = [[0], [1], [2], [4]];
6868

6969
expect(() => matrixBoxPlot(matrix)).toThrow(

src/reim/__tests__/reimAbsolute.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { expect, test } from 'vitest';
22

33
import { reimAbsolute } from '../reimAbsolute.ts';
44

5-
test('test reimAbsolute', () => {
5+
test('reimAbsolute', () => {
66
const re = [0, 3, 6];
77
const im = [0, 4, 8];
88
const result = reimAbsolute({ re, im });

src/reim/__tests__/reimFFT.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { expect, test } from 'vitest';
22

33
import { reimFFT } from '../reimFFT.ts';
44

5-
test('test reimFFT', () => {
5+
test('reimFFT', () => {
66
const re = Float64Array.from([0, 3, 6, 5]);
77
const im = Float64Array.from([0, 4, 8, 3]);
88
const transformed = reimFFT({ re, im }, { applyZeroShift: true });

src/reim/__tests__/reimPhaseCorrection.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ const data = {
107107
],
108108
};
109109

110-
test('test reimPhaseCorrection even', () => {
110+
test('reimPhaseCorrection even', () => {
111111
const re = [0, 1, 2, 3];
112112
const im = [0, 1, 2, 3];
113113
const result = reimPhaseCorrection({ re, im }, 0, 0);

src/reim/__tests__/reimZeroFilling.test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { expect, test } from 'vitest';
22

33
import { reimZeroFilling } from '../reimZeroFilling.ts';
44

5-
test('test xreimZeroFilling over', () => {
5+
test('xreimZeroFilling over', () => {
66
const re = [0, 1, 2, 3];
77
const im = [4, 5, 6, 7];
88
const result = reimZeroFilling({ re, im }, 6);
@@ -16,7 +16,7 @@ test('test xreimZeroFilling over', () => {
1616
});
1717
});
1818

19-
test('test xreimZeroFilling equal', () => {
19+
test('xreimZeroFilling equal', () => {
2020
const re = [0, 1, 2, 3];
2121
const im = [4, 5, 6, 7];
2222
const result = reimZeroFilling({ re, im }, 4);
@@ -29,7 +29,7 @@ test('test xreimZeroFilling equal', () => {
2929
});
3030
});
3131

32-
test('test xreimZeroFilling under', () => {
32+
test('xreimZeroFilling under', () => {
3333
const re = [0, 1, 2, 3];
3434
const im = [4, 5, 6, 7];
3535
const result = reimZeroFilling({ re, im }, 2);

src/x/__tests__/xAdd.test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { expect, test } from 'vitest';
22

33
import { xAdd } from '../xAdd.ts';
44

5-
test('test xAdd of 2 vectors', () => {
5+
test('xAdd of 2 vectors', () => {
66
const array1 = [10, 11, 12, 13, 14];
77
const array2 = [5, 4, 3, 2, 1];
88

@@ -11,15 +11,15 @@ test('test xAdd of 2 vectors', () => {
1111
);
1212
});
1313

14-
test('test xAdd of 2 a constant', () => {
14+
test('xAdd of 2 a constant', () => {
1515
const array1 = [10, 11, 12, 13, 14];
1616

1717
expect(xAdd(array1, 5)).toStrictEqual(
1818
Float64Array.from([15, 16, 17, 18, 19]),
1919
);
2020
});
2121

22-
test('test xAdd of array and floatarray', () => {
22+
test('xAdd of array and floatarray', () => {
2323
const array1 = [10, 11, 12, 13, 14];
2424
const array2 = new Float64Array([5, 4, 3, 2, 1]);
2525

src/x/__tests__/xBoxPlot.test.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ test('basic even', () => {
4141
});
4242
});
4343

44-
test('test xBoxPlot even', () => {
44+
test('xBoxPlot even', () => {
4545
const array = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11];
4646

4747
expect(xBoxPlot(array)).toStrictEqual({
@@ -53,7 +53,7 @@ test('test xBoxPlot even', () => {
5353
});
5454
});
5555

56-
test('test xBoxPlot even small', () => {
56+
test('xBoxPlot even small', () => {
5757
const array = [0, 1, 2, 3, 4, 5];
5858

5959
expect(xBoxPlot(array)).toStrictEqual({
@@ -65,7 +65,7 @@ test('test xBoxPlot even small', () => {
6565
});
6666
});
6767

68-
test('test xBoxPlot odd', () => {
68+
test('xBoxPlot odd', () => {
6969
const array = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10];
7070

7171
expect(xBoxPlot(array)).toStrictEqual({
@@ -77,7 +77,7 @@ test('test xBoxPlot odd', () => {
7777
});
7878
});
7979

80-
test('test xBoxPlot odd small', () => {
80+
test('xBoxPlot odd small', () => {
8181
const array = [0, 1, 2, 3, 4];
8282

8383
expect(xBoxPlot(array)).toStrictEqual({
@@ -89,13 +89,13 @@ test('test xBoxPlot odd small', () => {
8989
});
9090
});
9191

92-
test('test xBoxPlot too small', () => {
92+
test('xBoxPlot too small', () => {
9393
const array: number[] = [];
9494

9595
expect(() => xBoxPlot(array)).toThrow('input must not be empty');
9696
});
9797

98-
test('test xBoxPlot with one element', () => {
98+
test('xBoxPlot with one element', () => {
9999
const array = [42];
100100

101101
expect(xBoxPlot(array)).toStrictEqual({
@@ -107,7 +107,7 @@ test('test xBoxPlot with one element', () => {
107107
});
108108
});
109109

110-
test('test xBoxPlot with 2 elements', () => {
110+
test('xBoxPlot with 2 elements', () => {
111111
const array = [40, 44];
112112
const result = xBoxPlot(array);
113113

@@ -120,7 +120,7 @@ test('test xBoxPlot with 2 elements', () => {
120120
});
121121
});
122122

123-
test('test xBoxPlot with 3 elements', () => {
123+
test('xBoxPlot with 3 elements', () => {
124124
const array = [44, 40, 42];
125125
const result = xBoxPlot(array);
126126

0 commit comments

Comments
 (0)