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.9 to 0.0.10-alpha.b575b352

lib/config.js

3

lib-es6/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,

@@ -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);
};

@@ -128,3 +128,3 @@ (function webpackUniversalModuleDefinition(root, factory) {

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

@@ -140,3 +140,3 @@

var isValid = username && !(0, _lodash.isEmpty)((0, _lodash.trim)(username)) && usernameRegex.test(username);
return isValid;
return Boolean(isValid);
};

@@ -317,4 +317,2 @@

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

@@ -327,3 +325,2 @@ siteUrl: 'http://localhost:3000',

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

@@ -330,0 +327,0 @@ passwordEnrollTokenExpirationInDays: 30,

{
"name": "@accounts/common",
"version": "0.0.9",
"version": "0.0.10-alpha.b575b352",
"description": "Fullstack authentication and accounts-management",

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

"flow:gen": "flow gen-flow-files ./src/index.js > ./lib/index.js.flow",
"flow:prepublish": "for i in `ls ./src/*.js`; do cp $i `echo $i | sed \"s/src/lib-es6/g\" | sed \"s/js/js\\.flow/g\"`; done",
"flow:prepublish": "npm run flow:cplib && npm run flow:cplibes6",
"flow:cplib": "for i in `ls ./src/*.js`; do cp $i `echo $i | sed \"s/src/lib/g\" | sed \"s/js/js\\.flow/g\"`; done",
"flow:cplibes6": "for i in `ls ./src/*.js`; do cp $i `echo $i | sed \"s/src/lib-es6/g\" | sed \"s/js/js\\.flow/g\"`; done",
"coverage": "npm run testonly -- --coverage",

@@ -25,0 +27,0 @@ "coveralls": "cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage"

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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