nuxt-modules / algolia

🔎 Algolia module for Nuxt
https://algolia.nuxtjs.org/
MIT License
185 stars 32 forks source link

npm WARN deprecated rollup-plugin-inject@3.0.2: This package has been deprecated and is no longer maintained. Please use @rollup/plugin-inject. #177

Closed Laureatus closed 10 months ago

Laureatus commented 10 months ago

Version

@nuxtjs/algolia: v1.9.0 nuxt: v3.7.4

Steps to reproduce

npm install

What is Expected?

No npm deprecation warnings are visible. The deprecated module rollup-plugin-inject@3.0.2 should be replaced with @rollup/plugin-inject

What is actually happening?

Algolia v1.9.0 is currently using the deprecated module rollup-plugin-inject@3.0.2

Baroshem commented 10 months ago

Hey, thanks for finding this issue. Would you be interested in creating a fix for it? :)

Laureatus commented 10 months ago

Related to this Issue is also the following npm deprecation warning: npm WARN deprecated sourcemap-codec@1.4.8: Please use @jridgewell/sourcemap-codec instead

Since sourcemap-codec is a dependency of rollup-plugin-inject replacing the module could resolve this issue too.

Laureatus commented 10 months ago

Just saw that rollup-plugin-node-polyfill which has the dependencies rollup-plugin-inject and sourcemap-codec was removed in https://github.com/nuxt-modules/algolia/pull/162. After the release of a new Version, the modules causing the deprecation warnings won't be a part of algolia anymore. Because of that, I'm closing this issue.

Baroshem commented 10 months ago

I see. Thanks for that!