Skip to content

Commit 694dd8b

Browse files
committed
feat!: update dependencies and use ml-signal-processing
1 parent 4715e47 commit 694dd8b

4 files changed

Lines changed: 11 additions & 11 deletions

File tree

package.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -35,21 +35,21 @@
3535
"testEnvironment": "node"
3636
},
3737
"devDependencies": {
38-
"@babel/plugin-transform-modules-commonjs": "^7.17.7",
39-
"@types/jest": "^27.4.1",
38+
"@babel/plugin-transform-modules-commonjs": "^7.17.9",
39+
"@types/jest": "^27.5.0",
4040
"cheminfo-build": "^1.1.11",
4141
"codecov": "^3.8.2",
42-
"eslint": "^8.11.0",
42+
"eslint": "^8.15.0",
4343
"eslint-config-cheminfo": "^7.3.0",
4444
"esm": "^3.2.25",
45-
"jest": "^27.5.1",
45+
"jest": "^28.1.0",
4646
"jest-matcher-deep-close-to": "^3.0.2",
47-
"prettier": "^2.6.1",
48-
"rollup": "^2.70.1"
47+
"prettier": "^2.6.2",
48+
"rollup": "^2.72.1"
4949
},
5050
"dependencies": {
51-
"common-spectrum": "0.44.0",
52-
"ml-spectra-processing": "^11.1.0",
51+
"common-spectrum": "1.0.2",
52+
"ml-spectra-processing": "^11.6.0",
5353
"spc-parser": "^0.5.2",
5454
"wdf-parser": "^0.2.1"
5555
},

src/__tests__/index.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,5 @@ test('fromJcamp', () => {
1313

1414
const spectrum = analysis.getSpectrum();
1515
const peaks = autoPeakPicking(spectrum);
16-
expect(peaks).toHaveLength(11);
16+
expect(peaks).toHaveLength(38);
1717
});

src/from/fromSPC.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { parse } from 'spc-parser';
22

3-
import { Analysis } from '../index.js';
3+
import { Analysis } from 'common-spectrum';
44

55
export function fromSPC(arrayBuffer) {
66
let analysis = new Analysis();

src/from/fromWDF.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { parse } from 'wdf-parser';
22

3-
import { Analysis } from '../index.js';
3+
import { Analysis } from 'common-spectrum';
44

55
export function fromWDF(arrayBuffer) {
66
let analysis = new Analysis();

0 commit comments

Comments
 (0)