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

chore: Upgrade uuid to v8.1.0 #44

Merged
merged 1 commit into from
May 28, 2020
Merged

Conversation

qgerome
Copy link
Contributor

@qgerome qgerome commented May 27, 2020

I've upgraded uuid while keeping the compliancy with ES5.1.

Closes #40

index.js Outdated
@@ -4,7 +4,7 @@
*/

var anyBase = require('any-base');
var uuidV4 = require('uuid/v4');
var { v4: uuidV4 } = require('uuid');
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Destructuring is an ES6 feature. To be ES5 compliant, it would need to be something like:

var uuidV4 = require('uuid').v4;

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh sorry, I forgot to change that -_-'

@oculus42 oculus42 merged commit 23701ac into oculus42:master May 28, 2020
@oculus42 oculus42 mentioned this pull request May 28, 2020
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.

DeprecationWarning
2 participants