absolute-version / commit-and-tag-version

Fork of the excellent standard-version. Automate versioning and CHANGELOG generation, with semver.org and conventionalcommits.org :trophy:
ISC License
388 stars 39 forks source link

deprecated warning in deps #49

Closed Mister-Hope closed 1 year ago

Mister-Hope commented 1 year ago
stringify-package@1.0.1: This module is not used anymore, and has been replaced by @npmcli/package-json

I want to avoid deprecation warning from standard-version to this one, but your package is still showing some warnings, could you use the replaced one?

TimothyJones commented 1 year ago

Sure thing! I’ll take a look

TimothyJones commented 1 year ago

This is a little fiddly, as the new one is not a drop in replacement (the API for @npmcli/package-json is now async, whereas the previous one was synchronous - along with a couple of other changes).

I'll be able to set aside some time in early jan for this. If you'd like a fix sooner, PRs are very welcome - I can easily review and release.

Merfoo commented 1 year ago

Hi @TimothyJones, I've created a PR to address this issue. Let me know if you think the PR is a suitable solution to the issue.

TimothyJones commented 1 year ago

Love it! Thank you so much.

I added a comment. if you could sort out the license, then I'll get it merged and released asap.

TimothyJones commented 1 year ago

Released in 11.2.1, thanks again.