@furystack/security
Advanced tools
Comparing version 3.0.1 to 3.0.2
@@ -1,4 +0,4 @@ | ||
export * from './password-complexity-error'; | ||
export * from './unauthenticated-error'; | ||
export * from './password-complexity-error'; | ||
export * from './password-complexity-error.js'; | ||
export * from './unauthenticated-error.js'; | ||
export * from './password-complexity-error.js'; | ||
//# sourceMappingURL=index.js.map |
@@ -1,2 +0,2 @@ | ||
import { SecurityPolicy } from './security-policy'; | ||
import { SecurityPolicy } from './security-policy.js'; | ||
/** | ||
@@ -3,0 +3,0 @@ * Sets up the @furystack/security with the provided settings |
@@ -1,9 +0,9 @@ | ||
export * from './crypto-password-hasher'; | ||
export * from './errors'; | ||
export * from './models'; | ||
export * from './password-authenticator'; | ||
export * from './password-complexity-rules'; | ||
export * from './password-hasher'; | ||
export * from './security-policy-manager'; | ||
export * from './helpers'; | ||
export * from './crypto-password-hasher.js'; | ||
export * from './errors/index.js'; | ||
export * from './models/index.js'; | ||
export * from './password-authenticator.js'; | ||
export * from './password-complexity-rules/index.js'; | ||
export * from './password-hasher.js'; | ||
export * from './security-policy-manager.js'; | ||
export * from './helpers.js'; | ||
//# sourceMappingURL=index.js.map |
@@ -1,6 +0,6 @@ | ||
export * from './password-check-result'; | ||
export * from './password-complexity-result'; | ||
export * from './password-complexity-rule'; | ||
export * from './password-credential'; | ||
export * from './password-reset-token'; | ||
export * from './password-check-result.js'; | ||
export * from './password-complexity-result.js'; | ||
export * from './password-complexity-rule.js'; | ||
export * from './password-credential.js'; | ||
export * from './password-reset-token.js'; | ||
//# sourceMappingURL=index.js.map |
@@ -12,6 +12,6 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { | ||
import { Injectable, Injected, Injector } from '@furystack/inject'; | ||
import { SecurityPolicyManager } from './security-policy-manager'; | ||
import { UnauthenticatedError } from './errors'; | ||
import { PasswordCredential, PasswordResetToken } from './models'; | ||
import { PasswordComplexityError } from './errors/password-complexity-error'; | ||
import { SecurityPolicyManager } from './security-policy-manager.js'; | ||
import { UnauthenticatedError } from './errors/index.js'; | ||
import { PasswordCredential, PasswordResetToken } from './models/index.js'; | ||
import { PasswordComplexityError } from './errors/password-complexity-error.js'; | ||
let PasswordAuthenticator = class PasswordAuthenticator { | ||
@@ -18,0 +18,0 @@ constructor() { |
@@ -1,5 +0,5 @@ | ||
export * from './contains-lowercase'; | ||
export * from './contains-uppercase'; | ||
export * from './max-length'; | ||
export * from './min-length'; | ||
export * from './contains-lowercase.js'; | ||
export * from './contains-uppercase.js'; | ||
export * from './max-length.js'; | ||
export * from './min-length.js'; | ||
//# sourceMappingURL=index.js.map |
@@ -11,3 +11,3 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { | ||
import { Injectable, Injected } from '@furystack/inject'; | ||
import { SecurityPolicy } from './security-policy'; | ||
import { SecurityPolicy } from './security-policy.js'; | ||
let SecurityPolicyManager = class SecurityPolicyManager { | ||
@@ -14,0 +14,0 @@ /** |
@@ -8,3 +8,3 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { | ||
import { Injectable } from '@furystack/inject'; | ||
import { CryptoPasswordHasher } from './crypto-password-hasher'; | ||
import { CryptoPasswordHasher } from './crypto-password-hasher.js'; | ||
let SecurityPolicy = class SecurityPolicy { | ||
@@ -11,0 +11,0 @@ constructor() { |
{ | ||
"name": "@furystack/security", | ||
"version": "3.0.1", | ||
"version": "3.0.2", | ||
"description": "Security, password management and authorization related stuff for FuryStack", | ||
@@ -13,12 +13,3 @@ "type": "module", | ||
".": { | ||
"import": "./esm/index.js", | ||
"types": "./types/index.d.ts" | ||
}, | ||
"./package.json": "./package.json" | ||
}, | ||
"typesVersions": { | ||
"*": { | ||
"*": [ | ||
"types/*" | ||
] | ||
"import": "./esm/index.js" | ||
} | ||
@@ -48,9 +39,9 @@ }, | ||
"dependencies": { | ||
"@furystack/core": "^12.0.1", | ||
"@furystack/inject": "^8.0.1", | ||
"@furystack/utils": "^4.0.1" | ||
"@furystack/core": "^12.0.2", | ||
"@furystack/inject": "^8.0.2", | ||
"@furystack/utils": "^4.0.2" | ||
}, | ||
"homepage": "https://github.com/furystack/furystack", | ||
"devDependencies": { | ||
"@types/node": "^18.15.11", | ||
"@types/node": "^18.16.2", | ||
"typescript": "^5.0.4", | ||
@@ -57,0 +48,0 @@ "vitest": "^0.30.1" |
import { Injectable } from '@furystack/inject' | ||
import type { PasswordHasher } from './password-hasher' | ||
import type { PasswordHasher } from './password-hasher.js' | ||
import { randomBytes, pbkdf2 } from 'crypto' | ||
import type { PasswordCheckResult, PasswordCredential } from './models' | ||
import type { PasswordCheckResult, PasswordCredential } from './models/index.js' | ||
@@ -6,0 +6,0 @@ @Injectable({ lifetime: 'singleton' }) |
@@ -1,3 +0,3 @@ | ||
export * from './password-complexity-error' | ||
export * from './unauthenticated-error' | ||
export * from './password-complexity-error' | ||
export * from './password-complexity-error.js' | ||
export * from './unauthenticated-error.js' | ||
export * from './password-complexity-error.js' |
import type { Injector } from '@furystack/inject' | ||
import { SecurityPolicy } from './security-policy' | ||
import { SecurityPolicy } from './security-policy.js' | ||
@@ -4,0 +4,0 @@ /** |
@@ -1,9 +0,9 @@ | ||
export * from './crypto-password-hasher' | ||
export * from './errors' | ||
export * from './models' | ||
export * from './password-authenticator' | ||
export * from './password-complexity-rules' | ||
export * from './password-hasher' | ||
export * from './security-policy-manager' | ||
export * from './crypto-password-hasher.js' | ||
export * from './errors/index.js' | ||
export * from './models/index.js' | ||
export * from './password-authenticator.js' | ||
export * from './password-complexity-rules/index.js' | ||
export * from './password-hasher.js' | ||
export * from './security-policy-manager.js' | ||
export * from './helpers' | ||
export * from './helpers.js' |
@@ -1,5 +0,5 @@ | ||
export * from './password-check-result' | ||
export * from './password-complexity-result' | ||
export * from './password-complexity-rule' | ||
export * from './password-credential' | ||
export * from './password-reset-token' | ||
export * from './password-check-result.js' | ||
export * from './password-complexity-result.js' | ||
export * from './password-complexity-rule.js' | ||
export * from './password-credential.js' | ||
export * from './password-reset-token.js' |
@@ -1,2 +0,2 @@ | ||
import type { PasswordComplexityResult } from './password-complexity-result' | ||
import type { PasswordComplexityResult } from './password-complexity-result.js' | ||
@@ -3,0 +3,0 @@ export interface PasswordComplexityRule { |
import { StoreManager } from '@furystack/core' | ||
import { Injectable, Injected, Injector } from '@furystack/inject' | ||
import { SecurityPolicyManager } from './security-policy-manager' | ||
import { UnauthenticatedError } from './errors' | ||
import type { PasswordCheckResult } from './models' | ||
import { PasswordCredential, PasswordResetToken } from './models' | ||
import { PasswordComplexityError } from './errors/password-complexity-error' | ||
import { SecurityPolicyManager } from './security-policy-manager.js' | ||
import { UnauthenticatedError } from './errors/index.js' | ||
import type { PasswordCheckResult } from './models/index.js' | ||
import { PasswordCredential, PasswordResetToken } from './models/index.js' | ||
import { PasswordComplexityError } from './errors/password-complexity-error.js' | ||
@@ -9,0 +9,0 @@ @Injectable({ lifetime: 'singleton' }) |
@@ -1,2 +0,2 @@ | ||
import type { PasswordComplexityRule } from '../models' | ||
import type { PasswordComplexityRule } from '../models/password-complexity-rule.js' | ||
@@ -3,0 +3,0 @@ /** |
@@ -1,2 +0,2 @@ | ||
import type { PasswordComplexityRule } from '../models' | ||
import type { PasswordComplexityRule } from '../models/password-complexity-rule.js' | ||
@@ -3,0 +3,0 @@ /** |
@@ -1,4 +0,4 @@ | ||
export * from './contains-lowercase' | ||
export * from './contains-uppercase' | ||
export * from './max-length' | ||
export * from './min-length' | ||
export * from './contains-lowercase.js' | ||
export * from './contains-uppercase.js' | ||
export * from './max-length.js' | ||
export * from './min-length.js' |
@@ -1,2 +0,2 @@ | ||
import type { PasswordComplexityRule } from '../models' | ||
import type { PasswordComplexityRule } from '../models/password-complexity-rule.js' | ||
@@ -3,0 +3,0 @@ /** |
@@ -1,2 +0,2 @@ | ||
import type { PasswordComplexityRule } from '../models' | ||
import type { PasswordComplexityRule } from '../models/password-complexity-rule.js' | ||
@@ -3,0 +3,0 @@ /** |
import { Injectable } from '@furystack/inject' | ||
import type { PasswordCheckResult, PasswordCredential } from './models' | ||
import type { PasswordCheckResult, PasswordCredential } from './models/index.js' | ||
@@ -4,0 +4,0 @@ @Injectable({ lifetime: 'singleton' }) |
import { Injectable, Injected } from '@furystack/inject' | ||
import type { PasswordCredential, PasswordResetToken } from './models' | ||
import { SecurityPolicy } from './security-policy' | ||
import type { PasswordCredential, PasswordResetToken } from './models/index.js' | ||
import { SecurityPolicy } from './security-policy.js' | ||
@@ -5,0 +5,0 @@ @Injectable({ lifetime: 'singleton' }) |
import type { Constructable } from '@furystack/inject' | ||
import { Injectable } from '@furystack/inject' | ||
import { CryptoPasswordHasher } from './crypto-password-hasher' | ||
import type { PasswordComplexityRule } from './models' | ||
import type { PasswordHasher } from './password-hasher' | ||
import { CryptoPasswordHasher } from './crypto-password-hasher.js' | ||
import type { PasswordComplexityRule } from './models/password-complexity-rule.js' | ||
import type { PasswordHasher } from './password-hasher.js' | ||
@@ -7,0 +7,0 @@ @Injectable({ lifetime: 'singleton' }) |
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
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
103118
Updated@furystack/core@^12.0.2
Updated@furystack/inject@^8.0.2
Updated@furystack/utils@^4.0.2