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

@feathersjs/authentication-local

Package Overview
Dependencies
Maintainers
4
Versions
130
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@feathersjs/authentication-local - npm Package Compare versions

Comparing version 1.2.0 to 1.2.1

7

CHANGELOG.md
# Change Log
## [v1.2.0](https://github.com/feathersjs/authentication-local/tree/v1.2.0) (2018-05-02)
[Full Changelog](https://github.com/feathersjs/authentication-local/compare/v1.1.3...v1.2.0)
**Merged pull requests:**
- added support for nested password fields option in hash password hook [\#64](https://github.com/feathersjs/authentication-local/pull/64) ([ThePesta](https://github.com/ThePesta))
## [v1.1.3](https://github.com/feathersjs/authentication-local/tree/v1.1.3) (2018-04-20)

@@ -4,0 +11,0 @@ [Full Changelog](https://github.com/feathersjs/authentication-local/compare/v1.1.2...v1.1.3)

6

lib/hooks/hash-password.js
const hasher = require('../utils/hash');
const { merge, get, set } = require('lodash');
const { merge, get, set, cloneDeep } = require('lodash');
const Debug = require('debug');

@@ -42,3 +42,5 @@

if (password) {
return hashPw(password).then(hashedPassword => set(item, field, hashedPassword));
return hashPw(password).then(hashedPassword =>
set(cloneDeep(item), field, hashedPassword)
);
}

@@ -45,0 +47,0 @@

{
"name": "@feathersjs/authentication-local",
"description": "Local authentication strategy for @feathers/authentication",
"version": "1.2.0",
"version": "1.2.1",
"homepage": "https://github.com/feathersjs/authentication-local",

@@ -6,0 +6,0 @@ "main": "lib/",

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