New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@accounts/common

Package Overview
Dependencies
Maintainers
5
Versions
93
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@accounts/common - npm Package Compare versions

Comparing version 0.0.11 to 0.0.12-alpha.5e7e66f0

3

lib/config.js

@@ -9,4 +9,2 @@ 'use strict';

// eslint-disable-next-line import/no-named-as-default
exports.default = {

@@ -19,3 +17,2 @@ siteUrl: 'http://localhost:3000',

restrictCreationByEmailDomain: null,
loginExpirationInDays: 90,
passwordResetTokenExpirationInDays: 3,

@@ -22,0 +19,0 @@ passwordEnrollTokenExpirationInDays: 30,

4

lib/validators.js

@@ -18,3 +18,3 @@ 'use strict';

var isValid = !(0, _lodash.isEmpty)((0, _lodash.trim)(email || '')) && isEmail(email);
return isValid;
return Boolean(isValid);
};

@@ -30,3 +30,3 @@

var isValid = username && !(0, _lodash.isEmpty)((0, _lodash.trim)(username)) && usernameRegex.test(username);
return isValid;
return Boolean(isValid);
};
{
"name": "@accounts/common",
"version": "0.0.11",
"version": "0.0.12-alpha.5e7e66f0",
"description": "Fullstack authentication and accounts-management",

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

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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