uuid-mongodb
Advanced tools
Comparing version 2.4.0 to 2.4.1
import { Binary } from "mongodb"; | ||
export type MUUID = Binary; | ||
export type Mode = { | ||
v1: () => MUUID, | ||
v4: () => MUUID, | ||
from: (uuid: string | Binary) => MUUID, | ||
mode: Mode | ||
} | ||
@@ -8,2 +14,2 @@ export const v1: () => MUUID; | ||
export const from: (uuid: string | Binary) => MUUID; | ||
export const mode: (mode: 'canonical'| 'relaxed') => { v1, v4, from, mode}; | ||
export const mode: (mode: 'canonical'| 'relaxed') => Mode; |
{ | ||
"name": "uuid-mongodb", | ||
"version": "2.4.0", | ||
"version": "2.4.1", | ||
"description": "Generates and parses MongoDB BSON UUIDs. Plays nicely with others including the MongoDB native driver and Mongoose.", | ||
@@ -27,3 +27,3 @@ "main": "lib/index.js", | ||
"dependencies": { | ||
"uuid": "^8.3.1" | ||
"uuid": "^8.3.2" | ||
}, | ||
@@ -34,5 +34,5 @@ "peerDependencies": { | ||
"devDependencies": { | ||
"eslint": "^7.14.0", | ||
"eslint-config-prettier": "^6.15.0", | ||
"eslint-plugin-prettier": "^3.1.4", | ||
"eslint": "^7.16.0", | ||
"eslint-config-prettier": "^7.1.0", | ||
"eslint-plugin-prettier": "^3.3.0", | ||
"mocha": "^8.2.1", | ||
@@ -39,0 +39,0 @@ "mongodb": "^3.6.3", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
13917
126
Updateduuid@^8.3.2