From 53a32e60803cbb52a573c6be790b5524b69d5733 Mon Sep 17 00:00:00 2001 From: Luc Patiny Date: Thu, 14 Nov 2024 15:50:05 +0100 Subject: [PATCH] chore: update dependencies --- eslint.config.mjs | 10 ++++------ package.json | 25 +++++++++++-------------- 2 files changed, 15 insertions(+), 20 deletions(-) diff --git a/eslint.config.mjs b/eslint.config.mjs index 6320c85..5dfea35 100644 --- a/eslint.config.mjs +++ b/eslint.config.mjs @@ -1,15 +1,13 @@ import cheminfo from 'eslint-config-cheminfo'; -import globals from 'globals'; export default [ ...cheminfo, { languageOptions: { globals: { - ...globals.node, + __dirname: 'readonly', }, }, - rules: { - } - } -] \ No newline at end of file + rules: {}, + }, +]; diff --git a/package.json b/package.json index 58cad43..0e0bbf4 100644 --- a/package.json +++ b/package.json @@ -16,7 +16,7 @@ "prepack": "rollup -c", "prettier": "prettier --check src", "prettier-write": "prettier --write src", - "test": "npm run test-coverage && npm run eslint", + "test": "npm run test-coverage && npm run eslint && npm run prettier", "test-coverage": "vitest run --coverage", "test-only": "vitest run" }, @@ -31,30 +31,27 @@ "url": "https://github.com/cheminfo/spectra-processor/issues" }, "homepage": "https://github.com/cheminfo/spectra-processor#readme", - "jest": { - "testEnvironment": "node" - }, "devDependencies": { - "@babel/plugin-transform-modules-commonjs": "^7.25.7", - "@vitest/coverage-v8": "^2.1.2", + "@babel/plugin-transform-modules-commonjs": "^7.25.9", + "@vitest/coverage-v8": "^2.1.5", "cheminfo-build": "^1.2.0", "codecov": "^3.8.3", - "eslint": "^9.12.0", + "eslint": "^9.14.0", "eslint-config-cheminfo": "^12.0.1", "jest-matcher-deep-close-to": "^3.0.2", "prettier": "^3.3.3", - "rollup": "^4.24.0" + "rollup": "^4.26.0" }, "dependencies": { - "chroma-js": "^3.1.1", + "chroma-js": "^3.1.2", "is-any-array": "^2.0.1", - "jcampconverter": "^9.6.4", - "ml-matrix": "^6.11.1", + "jcampconverter": "^10.0.1", + "ml-matrix": "^6.12.0", "ml-pca": "^4.1.1", - "ml-signal-processing": "^1.1.0", - "ml-spectra-processing": "^14.5.3", + "ml-signal-processing": "^1.2.0", + "ml-spectra-processing": "^14.6.2", "object-hash": "^3.0.0", - "vitest": "^2.1.2", + "vitest": "^2.1.5", "xy-parser": "^5.0.5" } }