Skip to content

Commit

Permalink
fix: update dependencies and remove default export in dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
lpatiny committed May 16, 2024
1 parent a021468 commit 60c79cb
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 22 deletions.
16 changes: 8 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,16 +41,16 @@
},
"homepage": "https://github.com/mljs/regression-simple-linear#readme",
"devDependencies": {
"@vitest/coverage-v8": "^0.34.1",
"eslint": "^8.47.0",
"eslint-config-cheminfo-typescript": "^12.0.4",
"@vitest/coverage-v8": "^1.6.0",
"eslint": "^8.57.0",
"eslint-config-cheminfo-typescript": "^12.4.0",
"prettier": "^3.0.1",
"rimraf": "^5.0.1",
"typescript": "^5.1.6",
"vitest": "^0.34.1"
"rimraf": "^5.0.7",
"typescript": "^5.4.5",
"vitest": "^1.6.0"
},
"dependencies": {
"cheminfo-types": "^1.7.2",
"ml-regression-base": "^3.0.0"
"cheminfo-types": "^1.7.3",
"ml-regression-base": "^4.0.0"
}
}
3 changes: 2 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import type { NumberArray } from 'cheminfo-types';
import BaseRegression, {
import {
BaseRegression,
checkArrayLength,
maybeToPrecision,
} from 'ml-regression-base';
Expand Down
27 changes: 14 additions & 13 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
{
"compilerOptions": {
"allowJs": true,
"checkJs":true,
"esModuleInterop": true,
"moduleResolution": "node",
"outDir": "lib",
"sourceMap": true,
"strict": true,
"target": "es2020",
"noImplicitAny": false
},
"include": ["./src/**/*"]
}
"compilerOptions": {
"allowJs": true,
"checkJs": true,
"esModuleInterop": true,
"skipLibCheck": true,
"moduleResolution": "node",
"outDir": "lib",
"sourceMap": true,
"strict": true,
"target": "es2020",
"noImplicitAny": false
},
"include": ["./src/**/*"]
}

0 comments on commit 60c79cb

Please sign in to comment.