Skip to content

Commit

Permalink
refactored the code
Browse files Browse the repository at this point in the history
  • Loading branch information
auralshin committed Jun 16, 2023
1 parent f2fd39c commit 5b70b8a
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 3 deletions.
2 changes: 1 addition & 1 deletion index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import mongoose, {
SchemaOptions,
AnyObject,
} from "mongoose";
import { v4 as uuidv4, validate as uuidValidate } from "uuid";
import { validate as uuidValidate } from "uuid";
import { Buffer } from "buffer";

class UUIDSchemaType extends Schema.Types.UUID {
Expand Down
13 changes: 11 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
"bson": "^5.3.0",
"mongoose": "^7.3.0",
"util": "^0.12.5",
"uuid": "^9.0.0",
"uuid-parse": "^1.1.0"
},
"devDependencies": {
Expand Down

0 comments on commit 5b70b8a

Please sign in to comment.