nuxt-community / feed-module

Everyone deserves RSS, ATOM and JSON feeds!
MIT License
226 stars 36 forks source link

Remove usage of deprecated dependency async-cache #113

Open tex0l opened 1 year ago

tex0l commented 1 year ago

Hi!

I get this deprecation warning:

npm WARN deprecated async-cache@1.1.0: No longer maintained. Use [lru-cache](http://npm.im/lru-cache) version 7.6 or higher, and provide an asynchronous `fetchMethod` option.

It comes from (partly) this module.

manniL commented 1 year ago

PR welcome 👍🏻

schehata commented 1 year ago

I prepared this quick PR, but I wasn't able to test it locally. I am not quite sure about the async-cache callback against leu-cache. hopefully when the GitHub action is approved we can check if the tests pass.