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

Update isValid method to match the bson node library #46

Merged
merged 2 commits into from
Jan 20, 2022

Conversation

MrEmanuel
Copy link
Contributor

The bson node library recently updated the ObjectID.isValid method.
This PR updates the method to match those changes.

The bson library method can be seen here, at line 293: https://github.com/mongodb/js-bson/blob/master/src/objectid.ts

The bson node library recently updated the `ObjectID.isValid` method. 
This PR updates the method to match those changes. 

The bson library method can be seen here, at line 293: https://github.com/mongodb/js-bson/blob/master/src/objectid.ts
Fixed Typo.
@niftylettuce niftylettuce merged commit 5006541 into cabinjs:master Jan 20, 2022
@niftylettuce
Copy link
Collaborator

Does this also fix #39 and #45? Can we add tests? @MrEmanuel

@niftylettuce
Copy link
Collaborator

Let me know @MrEmanuel

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.

2 participants