@sqrzro/auth 4.0.0-alpha.0 → 4.0.0-alpha.10

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.
Files changed (69) hide show
  1. package/.turbo/turbo-build.log +1 -1
  2. package/.turbo/turbo-dev.log +624 -10
  3. package/dist/components/Auth/index.d.ts +5 -4
  4. package/dist/components/Auth/index.js +6 -6
  5. package/dist/components/Password/index.d.ts +4 -3
  6. package/dist/components/Password/index.js +4 -4
  7. package/dist/components/PasswordComplexityFormField/index.d.ts +8 -0
  8. package/dist/components/PasswordComplexityFormField/index.js +10 -0
  9. package/dist/components/PasswordComplexityInput/index.d.ts +5 -0
  10. package/dist/components/PasswordComplexityInput/index.js +9 -0
  11. package/dist/extend-repository.d.ts +0 -0
  12. package/dist/extend-repository.js +1 -0
  13. package/dist/forms/LoginForm/index.d.ts +2 -1
  14. package/dist/forms/LoginForm/index.js +2 -2
  15. package/dist/forms/LoginForm/server.js +6 -2
  16. package/dist/forms/PasswordForm/index.d.ts +7 -1
  17. package/dist/forms/PasswordForm/index.js +19 -4
  18. package/dist/forms/PasswordForm/server.js +9 -6
  19. package/dist/forms/PasswordResetForm/index.d.ts +3 -2
  20. package/dist/forms/PasswordResetForm/index.js +6 -4
  21. package/dist/forms/PasswordResetForm/server.js +10 -7
  22. package/dist/get-auth-proxy.d.ts +6 -0
  23. package/dist/get-auth-proxy.js +17 -0
  24. package/dist/handle-auth-proxy.d.ts +5 -0
  25. package/dist/handle-auth-proxy.js +14 -0
  26. package/dist/index.d.ts +3 -1
  27. package/dist/index.js +1 -1
  28. package/dist/interfaces.d.ts +6 -0
  29. package/dist/mail/PasswordMail.d.ts +5 -0
  30. package/dist/mail/PasswordMail.js +6 -0
  31. package/dist/rules/complexity.d.ts +4 -0
  32. package/dist/rules/complexity.js +9 -0
  33. package/dist/rules/password.d.ts +3 -0
  34. package/dist/rules/password.js +6 -0
  35. package/dist/utility/create-complexity-schema.d.ts +4 -0
  36. package/dist/utility/create-complexity-schema.js +22 -0
  37. package/dist/utility/create-password-schema.d.ts +0 -0
  38. package/dist/utility/create-password-schema.js +1 -0
  39. package/dist/utility/get-complexity.d.ts +3 -0
  40. package/dist/utility/get-complexity.js +10 -0
  41. package/dist/utility/interfaces.d.ts +12 -0
  42. package/dist/utility/interfaces.js +8 -0
  43. package/dist/utility/lang.d.ts +2 -0
  44. package/dist/utility/lang.js +9 -0
  45. package/dist/utility/validate-complexity.d.ts +3 -0
  46. package/dist/utility/validate-complexity.js +33 -0
  47. package/dist/utility/validate-password-complexity.d.ts +14 -0
  48. package/dist/utility/validate-password-complexity.js +65 -0
  49. package/package.json +8 -7
  50. package/src/components/Auth/index.tsx +18 -13
  51. package/src/components/Password/index.tsx +12 -7
  52. package/src/components/PasswordComplexityFormField/index.tsx +34 -0
  53. package/src/forms/LoginForm/index.tsx +10 -4
  54. package/src/forms/LoginForm/server.ts +11 -3
  55. package/src/forms/PasswordForm/index.tsx +88 -8
  56. package/src/forms/PasswordForm/server.ts +13 -7
  57. package/src/forms/PasswordResetForm/index.tsx +17 -6
  58. package/src/forms/PasswordResetForm/server.ts +12 -8
  59. package/src/get-auth-proxy.ts +34 -0
  60. package/src/index.ts +5 -1
  61. package/src/interfaces.ts +9 -1
  62. package/src/mail/PasswordMail.tsx +16 -0
  63. package/src/rules/complexity.ts +14 -0
  64. package/src/utility/create-complexity-schema.ts +44 -0
  65. package/src/utility/get-complexity.ts +14 -0
  66. package/src/utility/interfaces.ts +11 -0
  67. package/src/utility/lang.ts +14 -0
  68. package/src/utility/validate-complexity.ts +53 -0
  69. package/src/handle-proxy.ts +0 -23
@@ -1,12 +1,54 @@
1
1
 
2
- > @sqrzro/auth@2.0.0-r19.14 dev /Users/richard/Sites/@sqrzro/sqrzro/packages/auth
2
+ > @sqrzro/auth@4.0.0-alpha.9 dev /Users/richard/Sites/@sqrzro/sqrzro/packages/auth
3
3
  > tsc --watch
4
4
 
5
- [10:06:07 AM] Starting compilation in watch mode...
5
+ [12:13:00 PM] Starting compilation in watch mode...
6
6
 
7
- [10:06:11 AM] Found 0 errors. Watching for file changes.
7
+ src/utility/lang.ts:1:30 - error TS7016: Could not find a declaration file for module '@sqrzro/utility'. '/Users/richard/Sites/@sqrzro/sqrzro/packages/utility/dist/index.js' implicitly has an 'any' type.
8
+ Try `npm i --save-dev @types/sqrzro__utility` if it exists or add a new declaration (.d.ts) file containing `declare module '@sqrzro/utility';`
8
9
 
9
- [10:06:14 AM] File change detected. Starting incremental compilation...
10
+ 1 import { formatPlural } from '@sqrzro/utility';
11
+    ~~~~~~~~~~~~~~~~~
12
+
13
+ src/utility/validate-complexity.ts:1:37 - error TS7016: Could not find a declaration file for module '@sqrzro/utility'. '/Users/richard/Sites/@sqrzro/sqrzro/packages/utility/dist/index.js' implicitly has an 'any' type.
14
+ Try `npm i --save-dev @types/sqrzro__utility` if it exists or add a new declaration (.d.ts) file containing `declare module '@sqrzro/utility';`
15
+
16
+ 1 import { getEntries, getKeys } from '@sqrzro/utility';
17
+    ~~~~~~~~~~~~~~~~~
18
+
19
+ src/utility/validate-complexity.ts:13:41 - error TS7031: Binding element 'key' implicitly has an 'any' type.
20
+
21
+ 13 return getEntries(complexity).map(([key, value]) => ({
22
+    ~~~
23
+
24
+ src/utility/validate-complexity.ts:13:46 - error TS7031: Binding element 'value' implicitly has an 'any' type.
25
+
26
+ 13 return getEntries(complexity).map(([key, value]) => ({
27
+    ~~~~~
28
+
29
+ src/utility/validate-complexity.ts:15:16 - error TS7053: Element implicitly has an 'any' type because expression of type 'any' can't be used to index type 'Record<PasswordComplexityKey, (value?: number | undefined) => string>'.
30
+
31
+ 15 value: complexities[key](value),
32
+    ~~~~~~~~~~~~~~~~~
33
+
34
+ src/utility/validate-complexity.ts:29:41 - error TS7031: Binding element 'key' implicitly has an 'any' type.
35
+
36
+ 29 return getEntries(complexity).map(([key, value]) => ({
37
+    ~~~
38
+
39
+ src/utility/validate-complexity.ts:29:46 - error TS7031: Binding element 'value' implicitly has an 'any' type.
40
+
41
+ 29 return getEntries(complexity).map(([key, value]) => ({
42
+    ~~~~~
43
+
44
+ src/utility/validate-complexity.ts:31:16 - error TS7053: Element implicitly has an 'any' type because expression of type 'any' can't be used to index type 'Record<PasswordComplexityKey, (value?: number | undefined) => string>'.
45
+
46
+ 31 value: complexities[key](value),
47
+    ~~~~~~~~~~~~~~~~~
48
+
49
+ [12:13:03 PM] Found 8 errors. Watching for file changes.
50
+
51
+ [12:13:06 PM] File change detected. Starting incremental compilation...
10
52
 
11
53
  src/components/LogoutButton/server.ts:3:31 - error TS7016: Could not find a declaration file for module '@sqrzro/server/auth'. '/Users/richard/Sites/@sqrzro/sqrzro/packages/server/dist/auth/index.js' implicitly has an 'any' type.
12
54
  Try `npm i --save-dev @types/sqrzro__server` if it exists or add a new declaration (.d.ts) file containing `declare module '@sqrzro/server/auth';`
@@ -32,6 +74,12 @@
32
74
  4 import { FormResponse, submitForm } from '@sqrzro/server/forms';
33
75
     ~~~~~~~~~~~~~~~~~~~~~~
34
76
 
77
+ src/forms/LoginForm/server.ts:5:21 - error TS7016: Could not find a declaration file for module '@sqrzro/server/utility'. '/Users/richard/Sites/@sqrzro/sqrzro/packages/server/dist/utility/index.js' implicitly has an 'any' type.
78
+ Try `npm i --save-dev @types/sqrzro__server` if it exists or add a new declaration (.d.ts) file containing `declare module '@sqrzro/server/utility';`
79
+
80
+ 5 import { log } from '@sqrzro/server/utility';
81
+    ~~~~~~~~~~~~~~~~~~~~~~~~
82
+
35
83
  src/forms/PasswordForm/server.ts:3:29 - error TS7016: Could not find a declaration file for module '@sqrzro/server/auth'. '/Users/richard/Sites/@sqrzro/sqrzro/packages/server/dist/auth/index.js' implicitly has an 'any' type.
36
84
  Try `npm i --save-dev @types/sqrzro__server` if it exists or add a new declaration (.d.ts) file containing `declare module '@sqrzro/server/auth';`
37
85
 
@@ -44,6 +92,12 @@
44
92
  4 import { FormResponse, submitForm } from '@sqrzro/server/forms';
45
93
     ~~~~~~~~~~~~~~~~~~~~~~
46
94
 
95
+ src/forms/PasswordForm/server.ts:5:26 - error TS7016: Could not find a declaration file for module '@sqrzro/server/mail'. '/Users/richard/Sites/@sqrzro/sqrzro/packages/server/dist/mail/index.js' implicitly has an 'any' type.
96
+ Try `npm i --save-dev @types/sqrzro__server` if it exists or add a new declaration (.d.ts) file containing `declare module '@sqrzro/server/mail';`
97
+
98
+ 5 import { sendMail } from '@sqrzro/server/mail';
99
+    ~~~~~~~~~~~~~~~~~~~~~
100
+
47
101
  src/forms/PasswordResetForm/server.ts:3:41 - error TS7016: Could not find a declaration file for module '@sqrzro/server/auth'. '/Users/richard/Sites/@sqrzro/sqrzro/packages/server/dist/auth/index.js' implicitly has an 'any' type.
48
102
  Try `npm i --save-dev @types/sqrzro__server` if it exists or add a new declaration (.d.ts) file containing `declare module '@sqrzro/server/auth';`
49
103
 
@@ -56,16 +110,576 @@
56
110
  4 import { FormResponse, submitForm } from '@sqrzro/server/forms';
57
111
     ~~~~~~~~~~~~~~~~~~~~~~
58
112
 
59
- src/handle-proxy.ts:1:33 - error TS7016: Could not find a declaration file for module '@sqrzro/server/auth'. '/Users/richard/Sites/@sqrzro/sqrzro/packages/server/dist/auth/index.js' implicitly has an 'any' type.
113
+ src/get-auth-proxy.ts:1:34 - error TS7016: Could not find a declaration file for module '@sqrzro/server/auth'. '/Users/richard/Sites/@sqrzro/sqrzro/packages/server/dist/auth/index.js' implicitly has an 'any' type.
60
114
  Try `npm i --save-dev @types/sqrzro__server` if it exists or add a new declaration (.d.ts) file containing `declare module '@sqrzro/server/auth';`
61
115
 
62
- 1 import { validateSession } from '@sqrzro/server/auth';
63
-    ~~~~~~~~~~~~~~~~~~~~~
116
+ 1 import type { AuthSession } from '@sqrzro/server/auth';
117
+    ~~~~~~~~~~~~~~~~~~~~~
118
+
119
+ src/get-auth-proxy.ts:2:36 - error TS7016: Could not find a declaration file for module '@sqrzro/server/proxy'. '/Users/richard/Sites/@sqrzro/sqrzro/packages/server/dist/proxy/index.js' implicitly has an 'any' type.
120
+ Try `npm i --save-dev @types/sqrzro__server` if it exists or add a new declaration (.d.ts) file containing `declare module '@sqrzro/server/proxy';`
121
+
122
+ 2 import type { ProxyRedirect } from '@sqrzro/server/proxy';
123
+    ~~~~~~~~~~~~~~~~~~~~~~
124
+
125
+ src/mail/PasswordMail.tsx:1:28 - error TS7016: Could not find a declaration file for module '@sqrzro/server/mail'. '/Users/richard/Sites/@sqrzro/sqrzro/packages/server/dist/mail/index.js' implicitly has an 'any' type.
126
+ Try `npm i --save-dev @types/sqrzro__server` if it exists or add a new declaration (.d.ts) file containing `declare module '@sqrzro/server/mail';`
127
+
128
+ 1 import { createMail } from '@sqrzro/server/mail';
129
+    ~~~~~~~~~~~~~~~~~~~~~
130
+
131
+ src/utility/lang.ts:1:30 - error TS7016: Could not find a declaration file for module '@sqrzro/utility'. '/Users/richard/Sites/@sqrzro/sqrzro/packages/utility/dist/index.js' implicitly has an 'any' type.
132
+ Try `npm i --save-dev @types/sqrzro__utility` if it exists or add a new declaration (.d.ts) file containing `declare module '@sqrzro/utility';`
133
+
134
+ 1 import { formatPlural } from '@sqrzro/utility';
135
+    ~~~~~~~~~~~~~~~~~
136
+
137
+ src/utility/validate-complexity.ts:1:37 - error TS7016: Could not find a declaration file for module '@sqrzro/utility'. '/Users/richard/Sites/@sqrzro/sqrzro/packages/utility/dist/index.js' implicitly has an 'any' type.
138
+ Try `npm i --save-dev @types/sqrzro__utility` if it exists or add a new declaration (.d.ts) file containing `declare module '@sqrzro/utility';`
139
+
140
+ 1 import { getEntries, getKeys } from '@sqrzro/utility';
141
+    ~~~~~~~~~~~~~~~~~
142
+
143
+ src/utility/validate-complexity.ts:13:41 - error TS7031: Binding element 'key' implicitly has an 'any' type.
144
+
145
+ 13 return getEntries(complexity).map(([key, value]) => ({
146
+    ~~~
147
+
148
+ src/utility/validate-complexity.ts:13:46 - error TS7031: Binding element 'value' implicitly has an 'any' type.
149
+
150
+ 13 return getEntries(complexity).map(([key, value]) => ({
151
+    ~~~~~
152
+
153
+ src/utility/validate-complexity.ts:15:16 - error TS7053: Element implicitly has an 'any' type because expression of type 'any' can't be used to index type 'Record<PasswordComplexityKey, (value?: number | undefined) => string>'.
154
+
155
+ 15 value: complexities[key](value),
156
+    ~~~~~~~~~~~~~~~~~
157
+
158
+ src/utility/validate-complexity.ts:29:41 - error TS7031: Binding element 'key' implicitly has an 'any' type.
159
+
160
+ 29 return getEntries(complexity).map(([key, value]) => ({
161
+    ~~~
162
+
163
+ src/utility/validate-complexity.ts:29:46 - error TS7031: Binding element 'value' implicitly has an 'any' type.
164
+
165
+ 29 return getEntries(complexity).map(([key, value]) => ({
166
+    ~~~~~
167
+
168
+ src/utility/validate-complexity.ts:31:16 - error TS7053: Element implicitly has an 'any' type because expression of type 'any' can't be used to index type 'Record<PasswordComplexityKey, (value?: number | undefined) => string>'.
169
+
170
+ 31 value: complexities[key](value),
171
+    ~~~~~~~~~~~~~~~~~
172
+
173
+ [12:13:06 PM] Found 21 errors. Watching for file changes.
174
+
175
+ [12:13:10 PM] File change detected. Starting incremental compilation...
176
+
177
+ src/utility/lang.ts:1:30 - error TS7016: Could not find a declaration file for module '@sqrzro/utility'. '/Users/richard/Sites/@sqrzro/sqrzro/packages/utility/dist/index.js' implicitly has an 'any' type.
178
+ Try `npm i --save-dev @types/sqrzro__utility` if it exists or add a new declaration (.d.ts) file containing `declare module '@sqrzro/utility';`
179
+
180
+ 1 import { formatPlural } from '@sqrzro/utility';
181
+    ~~~~~~~~~~~~~~~~~
182
+
183
+ src/utility/validate-complexity.ts:1:37 - error TS7016: Could not find a declaration file for module '@sqrzro/utility'. '/Users/richard/Sites/@sqrzro/sqrzro/packages/utility/dist/index.js' implicitly has an 'any' type.
184
+ Try `npm i --save-dev @types/sqrzro__utility` if it exists or add a new declaration (.d.ts) file containing `declare module '@sqrzro/utility';`
185
+
186
+ 1 import { getEntries, getKeys } from '@sqrzro/utility';
187
+    ~~~~~~~~~~~~~~~~~
188
+
189
+ src/utility/validate-complexity.ts:13:41 - error TS7031: Binding element 'key' implicitly has an 'any' type.
190
+
191
+ 13 return getEntries(complexity).map(([key, value]) => ({
192
+    ~~~
193
+
194
+ src/utility/validate-complexity.ts:13:46 - error TS7031: Binding element 'value' implicitly has an 'any' type.
195
+
196
+ 13 return getEntries(complexity).map(([key, value]) => ({
197
+    ~~~~~
198
+
199
+ src/utility/validate-complexity.ts:15:16 - error TS7053: Element implicitly has an 'any' type because expression of type 'any' can't be used to index type 'Record<PasswordComplexityKey, (value?: number | undefined) => string>'.
200
+
201
+ 15 value: complexities[key](value),
202
+    ~~~~~~~~~~~~~~~~~
203
+
204
+ src/utility/validate-complexity.ts:29:41 - error TS7031: Binding element 'key' implicitly has an 'any' type.
205
+
206
+ 29 return getEntries(complexity).map(([key, value]) => ({
207
+    ~~~
208
+
209
+ src/utility/validate-complexity.ts:29:46 - error TS7031: Binding element 'value' implicitly has an 'any' type.
210
+
211
+ 29 return getEntries(complexity).map(([key, value]) => ({
212
+    ~~~~~
213
+
214
+ src/utility/validate-complexity.ts:31:16 - error TS7053: Element implicitly has an 'any' type because expression of type 'any' can't be used to index type 'Record<PasswordComplexityKey, (value?: number | undefined) => string>'.
215
+
216
+ 31 value: complexities[key](value),
217
+    ~~~~~~~~~~~~~~~~~
218
+
219
+ [12:13:10 PM] Found 8 errors. Watching for file changes.
220
+
221
+ [12:14:48 PM] File change detected. Starting incremental compilation...
222
+
223
+ src/utility/lang.ts:1:30 - error TS7016: Could not find a declaration file for module '@sqrzro/utility'. '/Users/richard/Sites/@sqrzro/sqrzro/packages/utility/dist/index.js' implicitly has an 'any' type.
224
+ Try `npm i --save-dev @types/sqrzro__utility` if it exists or add a new declaration (.d.ts) file containing `declare module '@sqrzro/utility';`
225
+
226
+ 1 import { formatPlural } from '@sqrzro/utility';
227
+    ~~~~~~~~~~~~~~~~~
228
+
229
+ src/utility/validate-complexity.ts:1:37 - error TS7016: Could not find a declaration file for module '@sqrzro/utility'. '/Users/richard/Sites/@sqrzro/sqrzro/packages/utility/dist/index.js' implicitly has an 'any' type.
230
+ Try `npm i --save-dev @types/sqrzro__utility` if it exists or add a new declaration (.d.ts) file containing `declare module '@sqrzro/utility';`
231
+
232
+ 1 import { getEntries, getKeys } from '@sqrzro/utility';
233
+    ~~~~~~~~~~~~~~~~~
234
+
235
+ src/utility/validate-complexity.ts:13:41 - error TS7031: Binding element 'key' implicitly has an 'any' type.
236
+
237
+ 13 return getEntries(complexity).map(([key, value]) => ({
238
+    ~~~
239
+
240
+ src/utility/validate-complexity.ts:13:46 - error TS7031: Binding element 'value' implicitly has an 'any' type.
241
+
242
+ 13 return getEntries(complexity).map(([key, value]) => ({
243
+    ~~~~~
244
+
245
+ src/utility/validate-complexity.ts:15:16 - error TS7053: Element implicitly has an 'any' type because expression of type 'any' can't be used to index type 'Record<PasswordComplexityKey, (value?: number | undefined) => string>'.
246
+
247
+ 15 value: complexities[key](value),
248
+    ~~~~~~~~~~~~~~~~~
249
+
250
+ src/utility/validate-complexity.ts:29:41 - error TS7031: Binding element 'key' implicitly has an 'any' type.
251
+
252
+ 29 return getEntries(complexity).map(([key, value]) => ({
253
+    ~~~
254
+
255
+ src/utility/validate-complexity.ts:29:46 - error TS7031: Binding element 'value' implicitly has an 'any' type.
256
+
257
+ 29 return getEntries(complexity).map(([key, value]) => ({
258
+    ~~~~~
259
+
260
+ src/utility/validate-complexity.ts:31:16 - error TS7053: Element implicitly has an 'any' type because expression of type 'any' can't be used to index type 'Record<PasswordComplexityKey, (value?: number | undefined) => string>'.
261
+
262
+ 31 value: complexities[key](value),
263
+    ~~~~~~~~~~~~~~~~~
264
+
265
+ [12:14:48 PM] Found 8 errors. Watching for file changes.
266
+
267
+ [12:14:53 PM] File change detected. Starting incremental compilation...
268
+
269
+ src/utility/lang.ts:1:30 - error TS7016: Could not find a declaration file for module '@sqrzro/utility'. '/Users/richard/Sites/@sqrzro/sqrzro/packages/utility/dist/index.js' implicitly has an 'any' type.
270
+ Try `npm i --save-dev @types/sqrzro__utility` if it exists or add a new declaration (.d.ts) file containing `declare module '@sqrzro/utility';`
271
+
272
+ 1 import { formatPlural } from '@sqrzro/utility';
273
+    ~~~~~~~~~~~~~~~~~
274
+
275
+ src/utility/validate-complexity.ts:1:37 - error TS7016: Could not find a declaration file for module '@sqrzro/utility'. '/Users/richard/Sites/@sqrzro/sqrzro/packages/utility/dist/index.js' implicitly has an 'any' type.
276
+ Try `npm i --save-dev @types/sqrzro__utility` if it exists or add a new declaration (.d.ts) file containing `declare module '@sqrzro/utility';`
277
+
278
+ 1 import { getEntries, getKeys } from '@sqrzro/utility';
279
+    ~~~~~~~~~~~~~~~~~
280
+
281
+ src/utility/validate-complexity.ts:13:41 - error TS7031: Binding element 'key' implicitly has an 'any' type.
282
+
283
+ 13 return getEntries(complexity).map(([key, value]) => ({
284
+    ~~~
285
+
286
+ src/utility/validate-complexity.ts:13:46 - error TS7031: Binding element 'value' implicitly has an 'any' type.
287
+
288
+ 13 return getEntries(complexity).map(([key, value]) => ({
289
+    ~~~~~
290
+
291
+ src/utility/validate-complexity.ts:15:16 - error TS7053: Element implicitly has an 'any' type because expression of type 'any' can't be used to index type 'Record<PasswordComplexityKey, (value?: number | undefined) => string>'.
292
+
293
+ 15 value: complexities[key](value),
294
+    ~~~~~~~~~~~~~~~~~
295
+
296
+ src/utility/validate-complexity.ts:29:41 - error TS7031: Binding element 'key' implicitly has an 'any' type.
297
+
298
+ 29 return getEntries(complexity).map(([key, value]) => ({
299
+    ~~~
300
+
301
+ src/utility/validate-complexity.ts:29:46 - error TS7031: Binding element 'value' implicitly has an 'any' type.
302
+
303
+ 29 return getEntries(complexity).map(([key, value]) => ({
304
+    ~~~~~
305
+
306
+ src/utility/validate-complexity.ts:31:16 - error TS7053: Element implicitly has an 'any' type because expression of type 'any' can't be used to index type 'Record<PasswordComplexityKey, (value?: number | undefined) => string>'.
307
+
308
+ 31 value: complexities[key](value),
309
+    ~~~~~~~~~~~~~~~~~
310
+
311
+ [12:14:53 PM] Found 8 errors. Watching for file changes.
312
+
313
+ [12:15:49 PM] File change detected. Starting incremental compilation...
314
+
315
+ src/utility/lang.ts:1:30 - error TS7016: Could not find a declaration file for module '@sqrzro/utility'. '/Users/richard/Sites/@sqrzro/sqrzro/packages/utility/dist/index.js' implicitly has an 'any' type.
316
+ Try `npm i --save-dev @types/sqrzro__utility` if it exists or add a new declaration (.d.ts) file containing `declare module '@sqrzro/utility';`
317
+
318
+ 1 import { formatPlural } from '@sqrzro/utility';
319
+    ~~~~~~~~~~~~~~~~~
320
+
321
+ src/utility/validate-complexity.ts:1:37 - error TS7016: Could not find a declaration file for module '@sqrzro/utility'. '/Users/richard/Sites/@sqrzro/sqrzro/packages/utility/dist/index.js' implicitly has an 'any' type.
322
+ Try `npm i --save-dev @types/sqrzro__utility` if it exists or add a new declaration (.d.ts) file containing `declare module '@sqrzro/utility';`
323
+
324
+ 1 import { getEntries, getKeys } from '@sqrzro/utility';
325
+    ~~~~~~~~~~~~~~~~~
326
+
327
+ src/utility/validate-complexity.ts:13:41 - error TS7031: Binding element 'key' implicitly has an 'any' type.
328
+
329
+ 13 return getEntries(complexity).map(([key, value]) => ({
330
+    ~~~
331
+
332
+ src/utility/validate-complexity.ts:13:46 - error TS7031: Binding element 'value' implicitly has an 'any' type.
333
+
334
+ 13 return getEntries(complexity).map(([key, value]) => ({
335
+    ~~~~~
336
+
337
+ src/utility/validate-complexity.ts:15:16 - error TS7053: Element implicitly has an 'any' type because expression of type 'any' can't be used to index type 'Record<PasswordComplexityKey, (value?: number | undefined) => string>'.
338
+
339
+ 15 value: complexities[key](value),
340
+    ~~~~~~~~~~~~~~~~~
341
+
342
+ src/utility/validate-complexity.ts:29:41 - error TS7031: Binding element 'key' implicitly has an 'any' type.
343
+
344
+ 29 return getEntries(complexity).map(([key, value]) => ({
345
+    ~~~
346
+
347
+ src/utility/validate-complexity.ts:29:46 - error TS7031: Binding element 'value' implicitly has an 'any' type.
348
+
349
+ 29 return getEntries(complexity).map(([key, value]) => ({
350
+    ~~~~~
351
+
352
+ src/utility/validate-complexity.ts:31:16 - error TS7053: Element implicitly has an 'any' type because expression of type 'any' can't be used to index type 'Record<PasswordComplexityKey, (value?: number | undefined) => string>'.
353
+
354
+ 31 value: complexities[key](value),
355
+    ~~~~~~~~~~~~~~~~~
356
+
357
+ [12:15:49 PM] Found 8 errors. Watching for file changes.
358
+
359
+ [12:19:33 PM] File change detected. Starting incremental compilation...
360
+
361
+ src/utility/lang.ts:1:30 - error TS7016: Could not find a declaration file for module '@sqrzro/utility'. '/Users/richard/Sites/@sqrzro/sqrzro/packages/utility/dist/index.js' implicitly has an 'any' type.
362
+ Try `npm i --save-dev @types/sqrzro__utility` if it exists or add a new declaration (.d.ts) file containing `declare module '@sqrzro/utility';`
363
+
364
+ 1 import { formatPlural } from '@sqrzro/utility';
365
+    ~~~~~~~~~~~~~~~~~
366
+
367
+ src/utility/validate-complexity.ts:1:37 - error TS7016: Could not find a declaration file for module '@sqrzro/utility'. '/Users/richard/Sites/@sqrzro/sqrzro/packages/utility/dist/index.js' implicitly has an 'any' type.
368
+ Try `npm i --save-dev @types/sqrzro__utility` if it exists or add a new declaration (.d.ts) file containing `declare module '@sqrzro/utility';`
369
+
370
+ 1 import { getEntries, getKeys } from '@sqrzro/utility';
371
+    ~~~~~~~~~~~~~~~~~
372
+
373
+ src/utility/validate-complexity.ts:13:41 - error TS7031: Binding element 'key' implicitly has an 'any' type.
374
+
375
+ 13 return getEntries(complexity).map(([key, value]) => ({
376
+    ~~~
377
+
378
+ src/utility/validate-complexity.ts:13:46 - error TS7031: Binding element 'value' implicitly has an 'any' type.
379
+
380
+ 13 return getEntries(complexity).map(([key, value]) => ({
381
+    ~~~~~
382
+
383
+ src/utility/validate-complexity.ts:15:16 - error TS7053: Element implicitly has an 'any' type because expression of type 'any' can't be used to index type 'Record<PasswordComplexityKey, (value?: number | undefined) => string>'.
384
+
385
+ 15 value: complexities[key](value),
386
+    ~~~~~~~~~~~~~~~~~
387
+
388
+ src/utility/validate-complexity.ts:29:41 - error TS7031: Binding element 'key' implicitly has an 'any' type.
389
+
390
+ 29 return getEntries(complexity).map(([key, value]) => ({
391
+    ~~~
392
+
393
+ src/utility/validate-complexity.ts:29:46 - error TS7031: Binding element 'value' implicitly has an 'any' type.
394
+
395
+ 29 return getEntries(complexity).map(([key, value]) => ({
396
+    ~~~~~
397
+
398
+ src/utility/validate-complexity.ts:31:16 - error TS7053: Element implicitly has an 'any' type because expression of type 'any' can't be used to index type 'Record<PasswordComplexityKey, (value?: number | undefined) => string>'.
399
+
400
+ 31 value: complexities[key](value),
401
+    ~~~~~~~~~~~~~~~~~
402
+
403
+ [12:19:33 PM] Found 8 errors. Watching for file changes.
404
+
405
+ [12:19:52 PM] File change detected. Starting incremental compilation...
406
+
407
+ src/utility/lang.ts:1:30 - error TS7016: Could not find a declaration file for module '@sqrzro/utility'. '/Users/richard/Sites/@sqrzro/sqrzro/packages/utility/dist/index.js' implicitly has an 'any' type.
408
+ Try `npm i --save-dev @types/sqrzro__utility` if it exists or add a new declaration (.d.ts) file containing `declare module '@sqrzro/utility';`
409
+
410
+ 1 import { formatPlural } from '@sqrzro/utility';
411
+    ~~~~~~~~~~~~~~~~~
412
+
413
+ src/utility/validate-complexity.ts:1:37 - error TS7016: Could not find a declaration file for module '@sqrzro/utility'. '/Users/richard/Sites/@sqrzro/sqrzro/packages/utility/dist/index.js' implicitly has an 'any' type.
414
+ Try `npm i --save-dev @types/sqrzro__utility` if it exists or add a new declaration (.d.ts) file containing `declare module '@sqrzro/utility';`
415
+
416
+ 1 import { getEntries, getKeys } from '@sqrzro/utility';
417
+    ~~~~~~~~~~~~~~~~~
418
+
419
+ src/utility/validate-complexity.ts:13:41 - error TS7031: Binding element 'key' implicitly has an 'any' type.
420
+
421
+ 13 return getEntries(complexity).map(([key, value]) => ({
422
+    ~~~
423
+
424
+ src/utility/validate-complexity.ts:13:46 - error TS7031: Binding element 'value' implicitly has an 'any' type.
425
+
426
+ 13 return getEntries(complexity).map(([key, value]) => ({
427
+    ~~~~~
428
+
429
+ src/utility/validate-complexity.ts:15:16 - error TS7053: Element implicitly has an 'any' type because expression of type 'any' can't be used to index type 'Record<PasswordComplexityKey, (value?: number | undefined) => string>'.
430
+
431
+ 15 value: complexities[key](value),
432
+    ~~~~~~~~~~~~~~~~~
433
+
434
+ src/utility/validate-complexity.ts:29:41 - error TS7031: Binding element 'key' implicitly has an 'any' type.
435
+
436
+ 29 return getEntries(complexity).map(([key, value]) => ({
437
+    ~~~
438
+
439
+ src/utility/validate-complexity.ts:29:46 - error TS7031: Binding element 'value' implicitly has an 'any' type.
440
+
441
+ 29 return getEntries(complexity).map(([key, value]) => ({
442
+    ~~~~~
443
+
444
+ src/utility/validate-complexity.ts:31:16 - error TS7053: Element implicitly has an 'any' type because expression of type 'any' can't be used to index type 'Record<PasswordComplexityKey, (value?: number | undefined) => string>'.
445
+
446
+ 31 value: complexities[key](value),
447
+    ~~~~~~~~~~~~~~~~~
448
+
449
+ [12:19:52 PM] Found 8 errors. Watching for file changes.
450
+
451
+ [12:22:13 PM] File change detected. Starting incremental compilation...
452
+
453
+ src/utility/lang.ts:1:30 - error TS7016: Could not find a declaration file for module '@sqrzro/utility'. '/Users/richard/Sites/@sqrzro/sqrzro/packages/utility/dist/index.js' implicitly has an 'any' type.
454
+ Try `npm i --save-dev @types/sqrzro__utility` if it exists or add a new declaration (.d.ts) file containing `declare module '@sqrzro/utility';`
455
+
456
+ 1 import { formatPlural } from '@sqrzro/utility';
457
+    ~~~~~~~~~~~~~~~~~
458
+
459
+ src/utility/validate-complexity.ts:1:37 - error TS7016: Could not find a declaration file for module '@sqrzro/utility'. '/Users/richard/Sites/@sqrzro/sqrzro/packages/utility/dist/index.js' implicitly has an 'any' type.
460
+ Try `npm i --save-dev @types/sqrzro__utility` if it exists or add a new declaration (.d.ts) file containing `declare module '@sqrzro/utility';`
461
+
462
+ 1 import { getEntries, getKeys } from '@sqrzro/utility';
463
+    ~~~~~~~~~~~~~~~~~
464
+
465
+ src/utility/validate-complexity.ts:13:41 - error TS7031: Binding element 'key' implicitly has an 'any' type.
466
+
467
+ 13 return getEntries(complexity).map(([key, value]) => ({
468
+    ~~~
469
+
470
+ src/utility/validate-complexity.ts:13:46 - error TS7031: Binding element 'value' implicitly has an 'any' type.
471
+
472
+ 13 return getEntries(complexity).map(([key, value]) => ({
473
+    ~~~~~
474
+
475
+ src/utility/validate-complexity.ts:15:16 - error TS7053: Element implicitly has an 'any' type because expression of type 'any' can't be used to index type 'Record<PasswordComplexityKey, (value?: number | undefined) => string>'.
476
+
477
+ 15 value: complexities[key](value),
478
+    ~~~~~~~~~~~~~~~~~
479
+
480
+ src/utility/validate-complexity.ts:29:41 - error TS7031: Binding element 'key' implicitly has an 'any' type.
481
+
482
+ 29 return getEntries(complexity).map(([key, value]) => ({
483
+    ~~~
484
+
485
+ src/utility/validate-complexity.ts:29:46 - error TS7031: Binding element 'value' implicitly has an 'any' type.
486
+
487
+ 29 return getEntries(complexity).map(([key, value]) => ({
488
+    ~~~~~
489
+
490
+ src/utility/validate-complexity.ts:31:16 - error TS7053: Element implicitly has an 'any' type because expression of type 'any' can't be used to index type 'Record<PasswordComplexityKey, (value?: number | undefined) => string>'.
491
+
492
+ 31 value: complexities[key](value),
493
+    ~~~~~~~~~~~~~~~~~
494
+
495
+ [12:22:13 PM] Found 8 errors. Watching for file changes.
496
+
497
+ [12:22:47 PM] File change detected. Starting incremental compilation...
498
+
499
+ src/utility/lang.ts:1:30 - error TS7016: Could not find a declaration file for module '@sqrzro/utility'. '/Users/richard/Sites/@sqrzro/sqrzro/packages/utility/dist/index.js' implicitly has an 'any' type.
500
+ Try `npm i --save-dev @types/sqrzro__utility` if it exists or add a new declaration (.d.ts) file containing `declare module '@sqrzro/utility';`
501
+
502
+ 1 import { formatPlural } from '@sqrzro/utility';
503
+    ~~~~~~~~~~~~~~~~~
504
+
505
+ src/utility/validate-complexity.ts:1:37 - error TS7016: Could not find a declaration file for module '@sqrzro/utility'. '/Users/richard/Sites/@sqrzro/sqrzro/packages/utility/dist/index.js' implicitly has an 'any' type.
506
+ Try `npm i --save-dev @types/sqrzro__utility` if it exists or add a new declaration (.d.ts) file containing `declare module '@sqrzro/utility';`
507
+
508
+ 1 import { getEntries, getKeys } from '@sqrzro/utility';
509
+    ~~~~~~~~~~~~~~~~~
510
+
511
+ src/utility/validate-complexity.ts:13:41 - error TS7031: Binding element 'key' implicitly has an 'any' type.
512
+
513
+ 13 return getEntries(complexity).map(([key, value]) => ({
514
+    ~~~
515
+
516
+ src/utility/validate-complexity.ts:13:46 - error TS7031: Binding element 'value' implicitly has an 'any' type.
517
+
518
+ 13 return getEntries(complexity).map(([key, value]) => ({
519
+    ~~~~~
520
+
521
+ src/utility/validate-complexity.ts:15:16 - error TS7053: Element implicitly has an 'any' type because expression of type 'any' can't be used to index type 'Record<PasswordComplexityKey, (value?: number | undefined) => string>'.
522
+
523
+ 15 value: complexities[key](value),
524
+    ~~~~~~~~~~~~~~~~~
525
+
526
+ src/utility/validate-complexity.ts:29:41 - error TS7031: Binding element 'key' implicitly has an 'any' type.
527
+
528
+ 29 return getEntries(complexity).map(([key, value]) => ({
529
+    ~~~
530
+
531
+ src/utility/validate-complexity.ts:29:46 - error TS7031: Binding element 'value' implicitly has an 'any' type.
532
+
533
+ 29 return getEntries(complexity).map(([key, value]) => ({
534
+    ~~~~~
535
+
536
+ src/utility/validate-complexity.ts:31:16 - error TS7053: Element implicitly has an 'any' type because expression of type 'any' can't be used to index type 'Record<PasswordComplexityKey, (value?: number | undefined) => string>'.
537
+
538
+ 31 value: complexities[key](value),
539
+    ~~~~~~~~~~~~~~~~~
540
+
541
+ [12:22:47 PM] Found 8 errors. Watching for file changes.
542
+
543
+ [12:22:54 PM] File change detected. Starting incremental compilation...
544
+
545
+ src/utility/lang.ts:1:30 - error TS7016: Could not find a declaration file for module '@sqrzro/utility'. '/Users/richard/Sites/@sqrzro/sqrzro/packages/utility/dist/index.js' implicitly has an 'any' type.
546
+ Try `npm i --save-dev @types/sqrzro__utility` if it exists or add a new declaration (.d.ts) file containing `declare module '@sqrzro/utility';`
547
+
548
+ 1 import { formatPlural } from '@sqrzro/utility';
549
+    ~~~~~~~~~~~~~~~~~
550
+
551
+ src/utility/validate-complexity.ts:1:37 - error TS7016: Could not find a declaration file for module '@sqrzro/utility'. '/Users/richard/Sites/@sqrzro/sqrzro/packages/utility/dist/index.js' implicitly has an 'any' type.
552
+ Try `npm i --save-dev @types/sqrzro__utility` if it exists or add a new declaration (.d.ts) file containing `declare module '@sqrzro/utility';`
553
+
554
+ 1 import { getEntries, getKeys } from '@sqrzro/utility';
555
+    ~~~~~~~~~~~~~~~~~
556
+
557
+ src/utility/validate-complexity.ts:13:41 - error TS7031: Binding element 'key' implicitly has an 'any' type.
558
+
559
+ 13 return getEntries(complexity).map(([key, value]) => ({
560
+    ~~~
561
+
562
+ src/utility/validate-complexity.ts:13:46 - error TS7031: Binding element 'value' implicitly has an 'any' type.
563
+
564
+ 13 return getEntries(complexity).map(([key, value]) => ({
565
+    ~~~~~
566
+
567
+ src/utility/validate-complexity.ts:15:16 - error TS7053: Element implicitly has an 'any' type because expression of type 'any' can't be used to index type 'Record<PasswordComplexityKey, (value?: number | undefined) => string>'.
568
+
569
+ 15 value: complexities[key](value),
570
+    ~~~~~~~~~~~~~~~~~
571
+
572
+ src/utility/validate-complexity.ts:29:41 - error TS7031: Binding element 'key' implicitly has an 'any' type.
573
+
574
+ 29 return getEntries(complexity).map(([key, value]) => ({
575
+    ~~~
576
+
577
+ src/utility/validate-complexity.ts:29:46 - error TS7031: Binding element 'value' implicitly has an 'any' type.
578
+
579
+ 29 return getEntries(complexity).map(([key, value]) => ({
580
+    ~~~~~
581
+
582
+ src/utility/validate-complexity.ts:31:16 - error TS7053: Element implicitly has an 'any' type because expression of type 'any' can't be used to index type 'Record<PasswordComplexityKey, (value?: number | undefined) => string>'.
583
+
584
+ 31 value: complexities[key](value),
585
+    ~~~~~~~~~~~~~~~~~
586
+
587
+ [12:22:54 PM] Found 8 errors. Watching for file changes.
588
+
589
+ [12:42:08 PM] File change detected. Starting incremental compilation...
590
+
591
+ src/utility/lang.ts:1:30 - error TS7016: Could not find a declaration file for module '@sqrzro/utility'. '/Users/richard/Sites/@sqrzro/sqrzro/packages/utility/dist/index.js' implicitly has an 'any' type.
592
+ Try `npm i --save-dev @types/sqrzro__utility` if it exists or add a new declaration (.d.ts) file containing `declare module '@sqrzro/utility';`
593
+
594
+ 1 import { formatPlural } from '@sqrzro/utility';
595
+    ~~~~~~~~~~~~~~~~~
596
+
597
+ src/utility/validate-complexity.ts:1:37 - error TS7016: Could not find a declaration file for module '@sqrzro/utility'. '/Users/richard/Sites/@sqrzro/sqrzro/packages/utility/dist/index.js' implicitly has an 'any' type.
598
+ Try `npm i --save-dev @types/sqrzro__utility` if it exists or add a new declaration (.d.ts) file containing `declare module '@sqrzro/utility';`
599
+
600
+ 1 import { getEntries, getKeys } from '@sqrzro/utility';
601
+    ~~~~~~~~~~~~~~~~~
602
+
603
+ src/utility/validate-complexity.ts:13:41 - error TS7031: Binding element 'key' implicitly has an 'any' type.
604
+
605
+ 13 return getEntries(complexity).map(([key, value]) => ({
606
+    ~~~
607
+
608
+ src/utility/validate-complexity.ts:13:46 - error TS7031: Binding element 'value' implicitly has an 'any' type.
609
+
610
+ 13 return getEntries(complexity).map(([key, value]) => ({
611
+    ~~~~~
612
+
613
+ src/utility/validate-complexity.ts:15:16 - error TS7053: Element implicitly has an 'any' type because expression of type 'any' can't be used to index type 'Record<PasswordComplexityKey, (value?: number | undefined) => string>'.
614
+
615
+ 15 value: complexities[key](value),
616
+    ~~~~~~~~~~~~~~~~~
617
+
618
+ src/utility/validate-complexity.ts:29:41 - error TS7031: Binding element 'key' implicitly has an 'any' type.
619
+
620
+ 29 return getEntries(complexity).map(([key, value]) => ({
621
+    ~~~
622
+
623
+ src/utility/validate-complexity.ts:29:46 - error TS7031: Binding element 'value' implicitly has an 'any' type.
624
+
625
+ 29 return getEntries(complexity).map(([key, value]) => ({
626
+    ~~~~~
627
+
628
+ src/utility/validate-complexity.ts:31:16 - error TS7053: Element implicitly has an 'any' type because expression of type 'any' can't be used to index type 'Record<PasswordComplexityKey, (value?: number | undefined) => string>'.
629
+
630
+ 31 value: complexities[key](value),
631
+    ~~~~~~~~~~~~~~~~~
632
+
633
+ [12:42:08 PM] Found 8 errors. Watching for file changes.
634
+
635
+ [12:42:53 PM] File change detected. Starting incremental compilation...
636
+
637
+ src/utility/lang.ts:1:30 - error TS7016: Could not find a declaration file for module '@sqrzro/utility'. '/Users/richard/Sites/@sqrzro/sqrzro/packages/utility/dist/index.js' implicitly has an 'any' type.
638
+ Try `npm i --save-dev @types/sqrzro__utility` if it exists or add a new declaration (.d.ts) file containing `declare module '@sqrzro/utility';`
639
+
640
+ 1 import { formatPlural } from '@sqrzro/utility';
641
+    ~~~~~~~~~~~~~~~~~
642
+
643
+ src/utility/validate-complexity.ts:1:37 - error TS7016: Could not find a declaration file for module '@sqrzro/utility'. '/Users/richard/Sites/@sqrzro/sqrzro/packages/utility/dist/index.js' implicitly has an 'any' type.
644
+ Try `npm i --save-dev @types/sqrzro__utility` if it exists or add a new declaration (.d.ts) file containing `declare module '@sqrzro/utility';`
645
+
646
+ 1 import { getEntries, getKeys } from '@sqrzro/utility';
647
+    ~~~~~~~~~~~~~~~~~
648
+
649
+ src/utility/validate-complexity.ts:13:41 - error TS7031: Binding element 'key' implicitly has an 'any' type.
650
+
651
+ 13 return getEntries(complexity).map(([key, value]) => ({
652
+    ~~~
653
+
654
+ src/utility/validate-complexity.ts:13:46 - error TS7031: Binding element 'value' implicitly has an 'any' type.
655
+
656
+ 13 return getEntries(complexity).map(([key, value]) => ({
657
+    ~~~~~
658
+
659
+ src/utility/validate-complexity.ts:15:16 - error TS7053: Element implicitly has an 'any' type because expression of type 'any' can't be used to index type 'Record<PasswordComplexityKey, (value?: number | undefined) => string>'.
660
+
661
+ 15 value: complexities[key](value),
662
+    ~~~~~~~~~~~~~~~~~
663
+
664
+ src/utility/validate-complexity.ts:29:41 - error TS7031: Binding element 'key' implicitly has an 'any' type.
665
+
666
+ 29 return getEntries(complexity).map(([key, value]) => ({
667
+    ~~~
668
+
669
+ src/utility/validate-complexity.ts:29:46 - error TS7031: Binding element 'value' implicitly has an 'any' type.
670
+
671
+ 29 return getEntries(complexity).map(([key, value]) => ({
672
+    ~~~~~
673
+
674
+ src/utility/validate-complexity.ts:31:16 - error TS7053: Element implicitly has an 'any' type because expression of type 'any' can't be used to index type 'Record<PasswordComplexityKey, (value?: number | undefined) => string>'.
675
+
676
+ 31 value: complexities[key](value),
677
+    ~~~~~~~~~~~~~~~~~
64
678
 
65
- [10:06:14 AM] Found 9 errors. Watching for file changes.
679
+ [12:42:53 PM] Found 8 errors. Watching for file changes.
66
680
 
67
- [10:06:16 AM] File change detected. Starting incremental compilation...
681
+ [12:42:59 PM] File change detected. Starting incremental compilation...
68
682
 
69
- [10:06:17 AM] Found 0 errors. Watching for file changes.
683
+ [12:42:59 PM] Found 0 errors. Watching for file changes.
70
684
 
71
685
   ELIFECYCLE  Command failed.