mljs / ml

Machine learning tools in JavaScript
MIT License
2.63k stars 210 forks source link

feat: update dependencies #186

Closed lpatiny closed 1 month ago

lpatiny commented 1 month ago

I try to update ml-regression but I have an error that I don't understand.

https://github.com/mljs/ml/actions/runs/11368355314/job/31623274269?pr=186#step:6:16

@targos Could you help me ?

targos commented 1 month ago

The bug is in the regression package:

> require('ml-regression')
Uncaught TypeError: Class extends value #<Object> is not a constructor or null
    at Object.<anonymous> (/Users/mzasso/git/mljs/ml/node_modules/ml-regression/lib/index.js:23:35)
targos commented 1 month ago

It's fixed in https://github.com/mljs/regression/commit/a498858f68b0f900fdfec1de666838f45bdc0be8