Skip to content
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 Node.js 12 compatibility #229

Merged
merged 1 commit into from Mar 2, 2021
Merged

Fix Node.js 12 compatibility #229

merged 1 commit into from Mar 2, 2021

Conversation

alan-agius4
Copy link
Contributor

Nullish coalescing operator was only introduced in Node.JS 14

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Nullish_Coalescing_Operator
https://nodejs.org/uk/blog/release/v14.0.0/

Hence, this package is currently not compatible with Node.JS 12

@sindresorhus sindresorhus changed the title fix: remove nullish coalescing operator to support Node.JS 12 Fix Node.js 12 compatibility Mar 2, 2021
@sindresorhus sindresorhus merged commit 71777b1 into sindresorhus:main Mar 2, 2021
@alan-agius4 alan-agius4 deleted the patch-1 branch March 2, 2021 14:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants