Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

uuid-mongodb

Package Overview
Dependencies
Maintainers
1
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

uuid-mongodb - npm Package Compare versions

Comparing version 2.4.0 to 2.4.1

8

lib/index.d.ts
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;

10

package.json
{
"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",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc