@furystack/security 6.0.10 → 6.0.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@furystack/security",
3
- "version": "6.0.10",
3
+ "version": "6.0.11",
4
4
  "description": "Security, password management and authorization related stuff for FuryStack",
5
5
  "type": "module",
6
6
  "scripts": {
@@ -35,14 +35,14 @@
35
35
  "url": "https://github.com/furystack/furystack/issues"
36
36
  },
37
37
  "dependencies": {
38
- "@furystack/core": "^15.0.10",
39
- "@furystack/inject": "^12.0.8"
38
+ "@furystack/core": "^15.0.11",
39
+ "@furystack/inject": "^12.0.9"
40
40
  },
41
41
  "homepage": "https://github.com/furystack/furystack",
42
42
  "devDependencies": {
43
- "@furystack/utils": "^8.0.7",
44
- "@types/node": "^22.9.3",
43
+ "@furystack/utils": "^8.0.8",
44
+ "@types/node": "^22.10.2",
45
45
  "typescript": "^5.7.2",
46
- "vitest": "^2.1.5"
46
+ "vitest": "^2.1.8"
47
47
  }
48
48
  }
@@ -11,15 +11,15 @@ import { SecurityPolicyManager } from './security-policy-manager.js'
11
11
  @Injectable({ lifetime: 'singleton' })
12
12
  export class PasswordAuthenticator {
13
13
  @Injected((injector) => injector.getInstance(StoreManager).getStoreFor(PasswordCredential, 'userName'))
14
- private declare readonly passwordStore: PhysicalStore<PasswordCredential, 'userName'>
14
+ declare private readonly passwordStore: PhysicalStore<PasswordCredential, 'userName'>
15
15
 
16
16
  @Injected((injector) => injector.getInstance(StoreManager).getStoreFor(PasswordResetToken, 'token'))
17
- private declare readonly tokenStore: PhysicalStore<PasswordResetToken, 'token'>
17
+ declare private readonly tokenStore: PhysicalStore<PasswordResetToken, 'token'>
18
18
 
19
19
  @Injected(function (this: PasswordAuthenticator, injector) {
20
20
  return injector.getInstance(this.policyManager.policy.hasher)
21
21
  })
22
- public declare readonly hasher: PasswordHasher
22
+ declare public readonly hasher: PasswordHasher
23
23
 
24
24
  /**
25
25
  * @param userName The User's unique name
@@ -100,5 +100,5 @@ export class PasswordAuthenticator {
100
100
  }
101
101
 
102
102
  @Injected(SecurityPolicyManager)
103
- public declare policyManager: SecurityPolicyManager
103
+ declare public policyManager: SecurityPolicyManager
104
104
  }
@@ -47,5 +47,5 @@ export class SecurityPolicyManager {
47
47
  }
48
48
 
49
49
  @Injected(SecurityPolicy)
50
- public declare readonly policy: SecurityPolicy
50
+ declare public readonly policy: SecurityPolicy
51
51
  }