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

feathers-authentication-management

Package Overview
Dependencies
Maintainers
1
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

feathers-authentication-management - npm Package Compare versions

Comparing version 0.1.2 to 0.1.3

47

CHANGELOG.md

@@ -1,5 +0,44 @@

# Notable changes to feathers-authentication-management
# Change Log
## 0.0.0
- Refactored feathers-service-verify-reset.
- Remove deprecated features in feathers-service-verify-reset.
## [Unreleased](https://github.com/feathersjs/feathers-authentication-management/tree/HEAD)
[Full Changelog](https://github.com/feathersjs/feathers-authentication-management/compare/v0.1.2...HEAD)
**Closed issues:**
- Make app.authenticate\({ type: 'local', email, password }\) more secure [\#10](https://github.com/feathersjs/feathers-authentication-management/issues/10)
**Merged pull requests:**
- Safe cloning user object for further serialization [\#11](https://github.com/feathersjs/feathers-authentication-management/pull/11) ([chrisbujok](https://github.com/chrisbujok))
## [v0.1.2](https://github.com/feathersjs/feathers-authentication-management/tree/v0.1.2) (2016-12-20)
[Full Changelog](https://github.com/feathersjs/feathers-authentication-management/compare/v0.1.1...v0.1.2)
## [v0.1.1](https://github.com/feathersjs/feathers-authentication-management/tree/v0.1.1) (2016-12-20)
[Full Changelog](https://github.com/feathersjs/feathers-authentication-management/compare/v0.1.0...v0.1.1)
**Merged pull requests:**
- Update README [\#9](https://github.com/feathersjs/feathers-authentication-management/pull/9) ([eddyystop](https://github.com/eddyystop))
## [v0.1.0](https://github.com/feathersjs/feathers-authentication-management/tree/v0.1.0) (2016-12-18)
[Full Changelog](https://github.com/feathersjs/feathers-authentication-management/compare/v0.0.2...v0.1.0)
**Closed issues:**
- oops, where can I find the docs? [\#7](https://github.com/feathersjs/feathers-authentication-management/issues/7)
- update package on npm [\#6](https://github.com/feathersjs/feathers-authentication-management/issues/6)
- Support multiple ways of communicating with user [\#1](https://github.com/feathersjs/feathers-authentication-management/issues/1)
**Merged pull requests:**
- Removed duplicate documentation from README [\#5](https://github.com/feathersjs/feathers-authentication-management/pull/5) ([eddyystop](https://github.com/eddyystop))
## [v0.0.2](https://github.com/feathersjs/feathers-authentication-management/tree/v0.0.2) (2016-11-21)
[Full Changelog](https://github.com/feathersjs/feathers-authentication-management/compare/v0.0.1...v0.0.2)
## [v0.0.1](https://github.com/feathersjs/feathers-authentication-management/tree/v0.0.1) (2016-11-21)
\* *This Change Log was automatically generated by [github_changelog_generator](https://github.com/skywinder/Github-Changelog-Generator)*

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

var sanitizeUserForClient = function sanitizeUserForClient(user) {
var user1 = Object.assign({}, user);
var user1 = cloneObject(user);

@@ -149,3 +149,3 @@ delete user1.password;

var sanitizeUserForNotifier = function sanitizeUserForNotifier(user) {
var user1 = Object.assign({}, user);
var user1 = cloneObject(user);
delete user1.password;

@@ -155,2 +155,30 @@ return user1;

/**
* Returns new object with values cloned from the original object. Some objects
* (like Sequelize or MongoDB model instances) contain circular references
* and cause TypeError when trying to JSON.stringify() them. They may contain
* custom toJSON() or toObject() method which allows to serialize them safely.
* Object.assign() does not clone these methods, so the purpose of this method
* is to use result of custom toJSON() or toObject() (if accessible)
* for Object.assign(), but only in case of serialization failure.
*
* @param {Object?} obj - Object to clone
* @returns {Object} Cloned object
*/
var cloneObject = function cloneObject(obj) {
var obj1 = obj;
if (typeof obj.toJSON === 'function' || typeof obj.toObject === 'function') {
try {
JSON.stringify(Object.assign({}, obj1));
} catch (e) {
debug('Object is not serializable');
obj1 = obj1.toJSON ? obj1.toJSON() : obj1.toObject();
}
}
return Object.assign({}, obj1);
};
var notifier = function notifier(optionsNotifier, type, user, notifierOptions) {

@@ -157,0 +185,0 @@ debug('notifier', type);

2

package.json
{
"name": "feathers-authentication-management",
"description": "Adds sign up verification, forgotten password reset, and other capabilities to local feathers-authentication ",
"version": "0.1.2",
"version": "0.1.3",
"homepage": "https://github.com/feathersjs/feathers-authentication-management",

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

@@ -10,3 +10,3 @@ ## feathers-authentication-management

> Adds sign up verification, forgotten password reset, and other capabilities to local
[`feathers-authentication`](http://docs.feathersjs.com/authentication/local.html).
[`feathers-authentication`](https://docs.feathersjs.com/v/auk/authentication/management.html).

@@ -38,3 +38,3 @@ This repo work with either the v1.0 rewrite of `feathers-authentication` or with v0.7.

Refer to [Feathersjs documentation](https://docs.feathersjs.com).
Refer to [Feathersjs documentation](https://docs.feathersjs.com/v/auk/authentication/management.html).

@@ -51,2 +51,2 @@ `feathers-authentication-management` is part of the `Auk` release of Feathersjs.

MIT. See LICENSE.
MIT. See LICENSE.
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