ionic-team / ionic-team/rollup-plugin-node-polyfills
Fix deprecated package dependency
- Dominant language
- JavaScript
- Stars
- 142
- Forks
- 65
- PR merge metrics
- No merged PRs in 30d
Description
Great work creating this plugin to help us use Node libs in Stencil. 🎉
But it would be good to update package dependencies from https://www.npmjs.com/package/rollup-plugin-node-polyfills?activeTab=dependencies
```
warning rollup-plugin-node-polyfills > rollup-plugin-inject@3.0.2: This package has been deprecated and is no longer maintained. Please use @rollup/plugin-inject.
```
I checked my `package-lock.json` and found:
```JSON
"rollup-plugin-node-polyfills": {
"version": "0.2.1",
"resolved": "https://registry.npmjs.org/rollup-plugin-node-polyfills/-/rollup-plugin-node-polyfills-0.2.1.tgz",
"integrity": "sha512-4kCrKPTJ6sK4/gLL/U5QzVT8cxJcofO0OU74tnB19F40cmuAKSzH5/siithxlofFEjwvw1YAhPmbvGNA6jEroA==",
"dev": true,
"requires": {
"rollup-plugin-inject": "^3.0.0"
}
},
```
It would be great to change to use ` @rollup/plugin-inject`
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by inspecting package-lock.json and the package dependency declarations that bring in rollup-plugin-inject. Check the npm dependency tree for the deprecation warning, update the dependency to @rollup/plugin-inject, and verify that installation completes without the warning.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, rollup
- Domain
- build-system, tooling
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100