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 5.0.0-pre.2 to 5.0.0-pre.3

16

CHANGELOG.md

@@ -6,2 +6,18 @@ # Change Log

# [5.0.0-pre.3](https://github.com/feathersjs/feathers/compare/v5.0.0-pre.2...v5.0.0-pre.3) (2021-04-21)
### Bug Fixes
* **typescript:** Improve TypeScript backwards compatibility ([#2310](https://github.com/feathersjs/feathers/issues/2310)) ([f33be73](https://github.com/feathersjs/feathers/commit/f33be73fc46a533efb15df9aab0658e3240d3897))
### Features
* **dependencies:** Remove direct debug dependency ([#2296](https://github.com/feathersjs/feathers/issues/2296)) ([501d416](https://github.com/feathersjs/feathers/commit/501d4164d30c6a126906dc640cdfdc82207ba34a))
# [5.0.0-pre.2](https://github.com/feathersjs/feathers/compare/v5.0.0-beta.1...v5.0.0-pre.2) (2021-04-06)

@@ -8,0 +24,0 @@

4

lib/hooks/hash-password.js

@@ -19,4 +19,4 @@ "use strict";

const errors_1 = require("@feathersjs/errors");
const debug_1 = __importDefault(require("debug"));
const debug = debug_1.default('@feathersjs/authentication-local/hooks/hash-password');
const commons_1 = require("@feathersjs/commons");
const debug = commons_1.createDebug('@feathersjs/authentication-local/hooks/hash-password');
function hashPassword(field, options = {}) {

@@ -23,0 +23,0 @@ if (!field) {

@@ -20,6 +20,6 @@ "use strict";

const omit_1 = __importDefault(require("lodash/omit"));
const debug_1 = __importDefault(require("debug"));
const errors_1 = require("@feathersjs/errors");
const authentication_1 = require("@feathersjs/authentication");
const debug = debug_1.default('@feathersjs/authentication-local/strategy');
const commons_1 = require("@feathersjs/commons");
const debug = commons_1.createDebug('@feathersjs/authentication-local/strategy');
class LocalStrategy extends authentication_1.AuthenticationBaseStrategy {

@@ -26,0 +26,0 @@ verifyConfiguration() {

{
"name": "@feathersjs/authentication-local",
"description": "Local authentication strategy for @feathers/authentication",
"version": "5.0.0-pre.2",
"version": "5.0.0-pre.3",
"homepage": "https://feathersjs.com",

@@ -55,11 +55,11 @@ "main": "lib/",

"dependencies": {
"@feathersjs/authentication": "^5.0.0-pre.2",
"@feathersjs/errors": "^5.0.0-pre.2",
"@feathersjs/feathers": "^5.0.0-pre.2",
"@feathersjs/authentication": "^5.0.0-pre.3",
"@feathersjs/commons": "^5.0.0-pre.3",
"@feathersjs/errors": "^5.0.0-pre.3",
"@feathersjs/feathers": "^5.0.0-pre.3",
"bcryptjs": "^2.4.3",
"debug": "^4.3.1",
"lodash": "^4.17.21"
},
"devDependencies": {
"@feathersjs/adapter-memory": "^5.0.0-pre.2",
"@feathersjs/adapter-memory": "^5.0.0-pre.3",
"@types/bcryptjs": "^2.4.2",

@@ -69,9 +69,9 @@ "@types/debug": "^4.1.5",

"@types/mocha": "^8.2.2",
"@types/node": "^14.14.37",
"@types/node": "^14.14.41",
"mocha": "^8.3.2",
"shx": "^0.3.3",
"ts-node": "^9.1.1",
"typescript": "^4.2.3"
"typescript": "^4.2.4"
},
"gitHead": "6e1f888dc5b612d2d77653177622e3f66245a0fb"
"gitHead": "d332eaca9945aab0c222413a7e46cec1c0601648"
}

@@ -5,7 +5,7 @@ import get from 'lodash/get';

import { BadRequest } from '@feathersjs/errors';
import Debug from 'debug';
import { createDebug } from '@feathersjs/commons';
import { HookContext } from '@feathersjs/feathers';
import { LocalStrategy } from '../strategy';
const debug = Debug('@feathersjs/authentication-local/hooks/hash-password');
const debug = createDebug('@feathersjs/authentication-local/hooks/hash-password');

@@ -12,0 +12,0 @@ export interface HashPasswordOptions {

@@ -5,3 +5,2 @@ /* eslint-disable @typescript-eslint/no-unused-vars */

import omit from 'lodash/omit';
import Debug from 'debug';
import { NotAuthenticated } from '@feathersjs/errors';

@@ -12,4 +11,5 @@ import { Query, Params } from '@feathersjs/feathers';

} from '@feathersjs/authentication';
import { createDebug } from '@feathersjs/commons';
const debug = Debug('@feathersjs/authentication-local/strategy');
const debug = createDebug('@feathersjs/authentication-local/strategy');

@@ -16,0 +16,0 @@ export class LocalStrategy extends AuthenticationBaseStrategy {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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