Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@furystack/security

Package Overview
Dependencies
Maintainers
1
Versions
70
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@furystack/security - npm Package Compare versions

Comparing version 3.0.5 to 3.0.6

3

esm/crypto-password-hasher.js

@@ -9,3 +9,3 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {

import { randomBytes, pbkdf2 } from 'crypto';
let CryptoPasswordHasher = class CryptoPasswordHasher {
export let CryptoPasswordHasher = class CryptoPasswordHasher {
constructor() {

@@ -41,3 +41,2 @@ this.iterations = 1000;

], CryptoPasswordHasher);
export { CryptoPasswordHasher };
//# sourceMappingURL=crypto-password-hasher.js.map

@@ -16,3 +16,3 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {

import { PasswordComplexityError } from './errors/password-complexity-error.js';
let PasswordAuthenticator = class PasswordAuthenticator {
export let PasswordAuthenticator = class PasswordAuthenticator {
constructor() {

@@ -103,3 +103,2 @@ this.getPasswordStore = () => this.injector.getInstance(StoreManager).getStoreFor(PasswordCredential, 'userName');

], PasswordAuthenticator);
export { PasswordAuthenticator };
//# sourceMappingURL=password-authenticator.js.map

@@ -8,3 +8,3 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {

import { Injectable } from '@furystack/inject';
let PasswordHasher = class PasswordHasher {
export let PasswordHasher = class PasswordHasher {
createCredential(_userName, _password) {

@@ -20,3 +20,2 @@ throw Error('Set up hasher - TODO');

], PasswordHasher);
export { PasswordHasher };
//# sourceMappingURL=password-hasher.js.map

@@ -12,3 +12,3 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {

import { SecurityPolicy } from './security-policy.js';
let SecurityPolicyManager = class SecurityPolicyManager {
export let SecurityPolicyManager = class SecurityPolicyManager {
/**

@@ -57,3 +57,2 @@ * @param password The Plain password string

], SecurityPolicyManager);
export { SecurityPolicyManager };
//# sourceMappingURL=security-policy-manager.js.map

@@ -9,3 +9,3 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {

import { CryptoPasswordHasher } from './crypto-password-hasher.js';
let SecurityPolicy = class SecurityPolicy {
export let SecurityPolicy = class SecurityPolicy {
constructor() {

@@ -37,3 +37,2 @@ /**

], SecurityPolicy);
export { SecurityPolicy };
//# sourceMappingURL=security-policy.js.map
{
"name": "@furystack/security",
"version": "3.0.5",
"version": "3.0.6",
"description": "Security, password management and authorization related stuff for FuryStack",

@@ -38,12 +38,12 @@ "type": "module",

"dependencies": {
"@furystack/core": "^12.0.5",
"@furystack/inject": "^8.0.5",
"@furystack/utils": "^4.0.5"
"@furystack/core": "^12.0.6",
"@furystack/inject": "^8.0.6",
"@furystack/utils": "^4.0.6"
},
"homepage": "https://github.com/furystack/furystack",
"devDependencies": {
"@types/node": "^20.2.5",
"typescript": "^5.0.4",
"vitest": "^0.31.4"
"@types/node": "^20.4.2",
"typescript": "^5.1.6",
"vitest": "^0.33.0"
}
}

@@ -6,5 +6,8 @@ export class PasswordComplexityError extends Error {

*/
constructor(public readonly result: Array<{ message: string; rule: string }>, message?: string) {
constructor(
public readonly result: Array<{ message: string; rule: string }>,
message?: string,
) {
super(message)
}
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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