Skip to content

Commit

Permalink
chore: update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
lpatiny committed Nov 2, 2024
1 parent 1f4bcf0 commit ab74e7e
Show file tree
Hide file tree
Showing 10 changed files with 36 additions and 17 deletions.
6 changes: 0 additions & 6 deletions .eslintrc.yml

This file was deleted.

13 changes: 13 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import cheminfo from 'eslint-config-cheminfo/base';
import globals from 'globals';

export default [
...cheminfo,
{
languageOptions: {
globals: {
...globals.node,
},
},
},
];
21 changes: 11 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
"prettier": "prettier --check src",
"prettier-write": "prettier --write src",
"test": "npm run test-coverage && npm run eslint && npm run prettier",
"test-coverage": "jest --coverage",
"test-only": "jest"
"test-coverage": "vitest run --coverage",
"test-only": "vitest"
},
"repository": {
"type": "git",
Expand All @@ -43,17 +43,18 @@
},
"homepage": "https://github.com/cheminfo/sdf-parser",
"devDependencies": {
"@babel/plugin-transform-modules-commonjs": "^7.24.1",
"@types/jest": "^29.5.12",
"@babel/plugin-transform-modules-commonjs": "^7.25.9",
"@types/jest": "^29.5.14",
"@vitest/coverage-v8": "^2.1.4",
"babel-eslint": "^10.1.0",
"callback-stream": "^1.1.0",
"cheminfo-build": "^1.2.0",
"eslint": "^8.36.0",
"eslint-config-cheminfo": "^9.2.0",
"filelist-utils": "^1.11.0",
"jest": "^29.7.0",
"openchemlib": "^8.9.0",
"prettier": "^3.2.5"
"eslint": "^9.14.0",
"eslint-config-cheminfo": "^12.0.1",
"filelist-utils": "^1.11.2",
"openchemlib": "^8.16.0",
"prettier": "^3.3.3",
"vitest": "^2.1.4"
},
"dependencies": {
"dynamic-typing": "^1.0.1",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html

exports[`should parse sdf files without EOL in the EOF 1`] = `
[
Expand Down
2 changes: 2 additions & 0 deletions src/__tests__/checkOptions.test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
import fs from 'fs';

import { describe, it, expect } from 'vitest';

import { parse } from '..';

let sdf = fs.readFileSync(`${__dirname}/test.sdf`, 'utf-8');
Expand Down
2 changes: 2 additions & 0 deletions src/__tests__/checkUndefined.test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
import fs from 'fs';

import { describe, it, expect } from 'vitest';

import { parse } from '..';

let sdf = fs.readFileSync(`${__dirname}/test.sdf`, 'utf-8');
Expand Down
2 changes: 2 additions & 0 deletions src/__tests__/getEntriesBoundaries.test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
import fs from 'fs';

import { test, expect } from 'vitest';

import { getEntriesBoundaries } from '../getEntriesBoundaries';

let sdf0 = fs.readFileSync(`${__dirname}/test.sdf`, 'utf-8');
Expand Down
2 changes: 2 additions & 0 deletions src/__tests__/index.test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
import fs from 'fs';

import { describe, it, expect } from 'vitest';

import { parse } from '..';

let sdf = fs.readFileSync(`${__dirname}/test.sdf`, 'utf-8');
Expand Down
1 change: 1 addition & 0 deletions src/__tests__/iterator.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import { join } from 'path';
import { createGunzip } from 'zlib';

import { fileCollectionFromPath } from 'filelist-utils';
import { test, expect } from 'vitest';

import { iterator } from '../iterator';

Expand Down
2 changes: 2 additions & 0 deletions src/__tests__/notWellFormatted.test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
import fs from 'fs';

import { describe, it, expect } from 'vitest';

import { parse } from '..';

describe('SDF Parser of non well formatted file', () => {
Expand Down

0 comments on commit ab74e7e

Please sign in to comment.