Socket
Socket
Sign inDemoInstall

email-verification

Package Overview
Dependencies
58
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.1.7 to 0.1.8

5

index.js

@@ -111,6 +111,3 @@ "use strict";

// create a TTL
if (tempUserSchemaObject.hasOwnProperty('createdAt'))
tempUserSchemaObject.createdAt.expires = options.expirationTime;
else
tempUserSchemaObject.createdAt = {expires: options.expirationTime, type: Date, default: Date.now};
tempUserSchemaObject.createdAt = {type: Date, expires: options.expirationTime.toString() + 's', default: Date.now};

@@ -117,0 +114,0 @@ tempUserSchema = mongoose.Schema(tempUserSchemaObject);

2

package.json
{
"name": "email-verification",
"version": "0.1.7",
"version": "0.1.8",
"description": "Verify email sign-up using MongoDB.",

@@ -5,0 +5,0 @@ "main": "index.js",

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc