-
Notifications
You must be signed in to change notification settings - Fork 552
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix new Buffer
deprecation warning by updating dependency
#552
Comments
We could probably go to 3.x without problem, unfortunately going beyond that would be a breaking change from our side. That being said, us passing |
In case you want to go ahead with the upgrade after all, I recently upgraded Inquirer.js from version 3 to 6 in Maybe the pull request is good reference: |
Nice! The problem we have here is that we simply pass |
Thanks for considering this; I've never used |
I think it’s time for us to release a new 2.x version with some deprecation
warnings about specific items. Then 3.x will just be a bigger breaking
change release than we’d anticipated. IMO it is worth it at this point.
…--
Jim ForCy
On August 20, 2018 at 6:27:19 AM, Linus Unnebäck ***@***.***) wrote:
We could probably go to 3.x without problem, unfortunately going beyond
that would be a breaking change from our side.
That being said, us passing inquirer to the adapter is deprecated, so we
could probably create a breaking change that removes it 🙌
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#552 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAGpiqplZGfITce-fcv4zuUZjWaXPIc6ks5uSp0XgaJpZM4WC7Va>
.
|
cz-cli/src/commitizen/commit.js Line 48 in 247d2c4
I'd be happy with a PR that removes const inquirer = {
prompt () {
throw new Error('Being passed an instance of `inquirer` from `cz-cli` is removed, please depend on `inquirer` directly')
}
// all other methods...
} |
Sounds good |
Right now, it seems this project uses a very old version of
inquirer
. What would it take to upgrade that? The main reason I care is because this seems to be blocking resolution of an annoying deprecation warning when usingyarn
with Node >= 10 because it usescommitizen#inquirer#external-editor#chardet
(v0.4.2, which usesnew Buffer(...)
-- v0.7.0 updates toBuffer.alloc(...)
, but it's not getting used because hereinquirer
is pinned to 1.2.3).It looks like these are the breaking changes between 1.x and 6.x:
The text was updated successfully, but these errors were encountered: