Socket
Socket
Sign inDemoInstall

bookshelf-secure-password

Package Overview
Dependencies
71
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 4.0.0 to 5.0.0

2

lib/secure-password.js

@@ -21,3 +21,3 @@ 'use strict'

*/
Bookshelf.plugin('virtuals')
Bookshelf.plugin('bookshelf-virtuals-plugin')

@@ -24,0 +24,0 @@ /**

{
"name": "bookshelf-secure-password",
"version": "4.0.0",
"version": "5.0.0",
"description": "A Bookshelf.js plugin for handling secure passwords",

@@ -37,2 +37,3 @@ "main": "lib/secure-password.js",

"bookshelf": "^0.15.1",
"bookshelf-virtuals-plugin": "^0.1.1",
"chai": "^4.2.0",

@@ -39,0 +40,0 @@ "coveralls": "^3.0.6",

@@ -118,3 +118,3 @@ # bookshelf-secure-password

* BCrypt requires that passwords are 72 characters maximum (it ignores characters after 72).
* This library enables the built-in `virtuals` plugin on Bookshelf for the virtual `password` field.
* This library enables the `bookshelf-virtuals-plugin` plugin on Bookshelf for the virtual `password` field.
* Passing a `null` value to the password will clear the `password_digest`.

@@ -121,0 +121,0 @@ * Passing `undefined` or a zero-length string to the password will leave the `password_digest` as-is

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