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

feathers-authentication

Package Overview
Dependencies
Maintainers
3
Versions
64
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

feathers-authentication - npm Package Compare versions

Comparing version 0.3.3 to 0.3.4

4

lib/hooks/require-admin-to-set-admin.js

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

function requireAdminToSetAdmin() {
var adminField = arguments.length <= 0 || arguments[0] === undefined ? 'admin' : arguments[0];
var options = arguments.length <= 0 || arguments[0] === undefined ? {} : arguments[0];

@@ -24,3 +24,3 @@ options = Object.assign({}, defaults, options);

if (hook.params.user && !hook.params.user[options.adminField] && hook.params.provider) {
delete hook.data[adminField];
delete hook.data[options.adminField];
}

@@ -27,0 +27,0 @@ };

{
"name": "feathers-authentication",
"description": "Add Authentication to your FeathersJS app.",
"version": "0.3.3",
"version": "0.3.4",
"homepage": "https://github.com/feathersjs/feathers-authentication",

@@ -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