microbundle icon indicating copy to clipboard operation
microbundle copied to clipboard

Outdated dependencies

Open kyr0 opened this issue 2 years ago • 3 comments

Actual:

warning microbundle > [email protected]: This package has been deprecated and is no longer maintained. Please use @rollup/plugin-terser
warning microbundle > @rollup/plugin-commonjs > magic-string > [email protected]: Please use @jridgewell/sourcemap-codec instead
warning microbundle > rollup-plugin-postcss > cssnano > cssnano-preset-default > postcss-svgo > svgo > [email protected]: 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

kyr0 avatar Feb 06 '23 16:02 kyr0

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.

rschristian avatar Feb 18 '23 09:02 rschristian

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

> npm install -D microbundle
npm WARN deprecated @babel/[email protected]: 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 [email protected]: 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 [email protected]: This package has been deprecated and is no longer maintained. Please use @rollup/plugin-terser
npm WARN deprecated [email protected]: Please use @jridgewell/sourcemap-codec instead

nikku avatar Dec 14 '23 13:12 nikku

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.

rschristian avatar Dec 14 '23 15:12 rschristian