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.0.4 to 1.1.0

3

CHANGELOG.md
# Change Log
## [v1.0.4](https://github.com/feathersjs/authentication-local/tree/v1.0.4) (2018-01-03)
[Full Changelog](https://github.com/feathersjs/authentication-local/compare/v1.0.3...v1.0.4)
## [v1.0.3](https://github.com/feathersjs/authentication-local/tree/v1.0.3) (2018-01-03)

@@ -4,0 +7,0 @@ [Full Changelog](https://github.com/feathersjs/authentication-local/compare/v1.0.2...v1.0.3)

8

lib/hooks/protect.js

@@ -6,3 +6,7 @@ const omit = require('lodash.omit');

const result = context.dispatch || context.result;
const o = current => omit(current, fields);
const o = current => {
const data = typeof current.toJSON === 'function'
? current.toJSON() : current;
return omit(data, fields);
};

@@ -15,3 +19,3 @@ if (!result) {

context.dispatch = result.map(o);
} else if (result.data) {
} else if (result.data && context.method === 'find') {
context.dispatch = Object.assign({}, result, {

@@ -18,0 +22,0 @@ data: result.data.map(o)

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

@@ -61,3 +61,3 @@ "main": "lib/",

"@feathersjs/authentication": "^2.0.0",
"@feathersjs/authentication-jwt": "^1.0.0",
"@feathersjs/authentication-jwt": "^2.0.0",
"@feathersjs/express": "^1.0.0",

@@ -70,3 +70,3 @@ "@feathersjs/feathers": "^3.0.0",

"istanbul": "^1.1.0-alpha.1",
"mocha": "^4.0.0",
"mocha": "^5.0.0",
"semistandard": "^12.0.0",

@@ -73,0 +73,0 @@ "sinon": "^4.0.0",

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