Closed AlexBroadbent closed 2 months ago
The use of eval
comes from the node-depd
dependency https://github.com/expressjs/response-time/blob/master/index.js#L16
which adds the deprecation warning message.
~@dougwilson @UlisesGascon version 2.0 of depd
stops using eval. Is it worth updating the library? I can prepare a fix for it if you want.~
~Also if the package is deprecated I think it should be marked as so in npm with npm-deprecate~
Update
I misunderstood when I quickly read the code. It is not the package that is deprecated but and old way of passing the digits
option. I've prepared a PR to update the dependency
I am happy to do a release for it if you prepare the PR with the upgrade/removal and an additional PR to migrate from Travis to GitHub Actions.
Otherwise, we can deprecate the package. It seems like the package is still in use with 366,737 downloads per week.
Version: 2.3.2