developit / microbundle

📦 Zero-configuration bundler for tiny modules.
https://npm.im/microbundle
MIT License
8k stars 361 forks source link

Outdated dependencies #1025

Open kyr0 opened 1 year ago

kyr0 commented 1 year ago

Actual:

warning microbundle > rollup-plugin-terser@7.0.2: This package has been deprecated and is no longer maintained. Please use @rollup/plugin-terser
warning microbundle > @rollup/plugin-commonjs > magic-string > sourcemap-codec@1.4.8: Please use @jridgewell/sourcemap-codec instead
warning microbundle > rollup-plugin-postcss > cssnano > cssnano-preset-default > postcss-svgo > svgo > stable@0.1.8: Modern JS already guarantees Array#sort() is a stable sort, so this library is deprecated. See the compatibility table on MDN: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort#browser_compatibility

Expected:

Doesn't use deprecated and no longer maintained / outdated packages.

Would PRs be accepted that fix the reported outdated packages? I see 21 PRs in queue.

Thanks and best

rschristian commented 1 year ago

Not really a queue per se; 21 are open, but some are drafts and/or unmergable (proof of concepts, half-baked ideas, etc.). If you're willing to submit a PR though I'll certainly take a peek!

It's quite possible some of those deprecated packages are impossible to avoid as we don't depend directly upon them.

nikku commented 7 months ago

Any update? Feels odd that using this microlibrary yields a substantial amount of warnings:

> npm install -D microbundle
npm WARN deprecated @babel/plugin-proposal-class-properties@7.12.1: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-class-properties instead.
npm WARN deprecated stable@0.1.8: Modern JS already guarantees Array#sort() is a stable sort, so this library is deprecated. See the compatibility table on MDN: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort#browser_compatibility
npm WARN deprecated rollup-plugin-terser@7.0.2: This package has been deprecated and is no longer maintained. Please use @rollup/plugin-terser
npm WARN deprecated sourcemap-codec@1.4.8: Please use @jridgewell/sourcemap-codec instead
rschristian commented 7 months ago

None of those warnings are an issue.

Feel free to contribute fixes if you have them but at the moment this library has rock-solid stability so it's not high on my list of things to do.