@protontech/autofill 0.0.35481761 → 0.0.36026908

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 (47) hide show
  1. package/features/v1/abstract.field.d.ts +38 -38
  2. package/features/v1/field-predicates.d.ts +8 -0
  3. package/features/v1/field-predicates.js +42 -0
  4. package/features/v1/field.email.d.ts +1169 -1169
  5. package/features/v1/field.otp.d.ts +23826 -23826
  6. package/features/v1/field.password.d.ts +33195 -33195
  7. package/features/v1/field.username-hidden.d.ts +337 -337
  8. package/features/v1/field.username.d.ts +14189 -14189
  9. package/features/v1/fields.sorted.gen.d.ts +482 -482
  10. package/features/v1/forms.sorted.gen.d.ts +245 -245
  11. package/features/v1/index.d.ts +1772 -1772
  12. package/models/perceptron/params/email-model.json +4 -4
  13. package/models/perceptron/params/login-model.json +84 -84
  14. package/models/perceptron/params/new-password-model.json +16 -16
  15. package/models/perceptron/params/otp-model.json +25 -25
  16. package/models/perceptron/params/password-change-model.json +74 -74
  17. package/models/perceptron/params/password-model.json +19 -19
  18. package/models/perceptron/params/recovery-model.json +82 -82
  19. package/models/perceptron/params/register-model.json +97 -97
  20. package/models/perceptron/params/username-hidden-model.json +8 -8
  21. package/models/perceptron/params/username-model.json +6 -6
  22. package/package.json +3 -3
  23. package/rules/v1/index.js +3 -3
  24. package/utils/credit-card.d.ts +0 -1
  25. package/utils/credit-card.js +2 -9
  26. package/utils/field.d.ts +4 -5
  27. package/utils/field.js +6 -17
  28. package/utils/identity.d.ts +0 -2
  29. package/utils/identity.js +2 -23
  30. package/dictionary/generate.d.ts +0 -1
  31. package/dictionary/generate.js +0 -51
  32. package/features/feature.spec.d.ts +0 -1
  33. package/features/feature.spec.js +0 -108
  34. package/features/v1/index.spec.d.ts +0 -1
  35. package/features/v1/index.spec.js +0 -44
  36. package/scripts/gen-sorted-features.d.ts +0 -1
  37. package/scripts/gen-sorted-features.js +0 -128
  38. package/utils/credit-card.samples.spec.d.ts +0 -1
  39. package/utils/credit-card.samples.spec.js +0 -452
  40. package/utils/credit-card.spec.d.ts +0 -1
  41. package/utils/credit-card.spec.js +0 -296
  42. package/utils/identity.samples.spec.d.ts +0 -1
  43. package/utils/identity.samples.spec.js +0 -28
  44. package/utils/re.spec.d.ts +0 -1
  45. package/utils/re.spec.js +0 -62
  46. package/utils/shadow-dom.spec.d.ts +0 -1
  47. package/utils/shadow-dom.spec.js +0 -215
@@ -1,13 +1,13 @@
1
1
  {
2
- "bias": 3.1635043621063232,
2
+ "bias": 3.1635046005249023,
3
3
  "coeffs": [
4
4
  [
5
5
  "password--attrConfirm",
6
- -2.803438663482666
6
+ -2.803438901901245
7
7
  ],
8
8
  [
9
9
  "password--attrCreate",
10
- -1.1989846229553223
10
+ -1.1989847421646118
11
11
  ],
12
12
  [
13
13
  "password--attrCurrent",
@@ -19,23 +19,23 @@
19
19
  ],
20
20
  [
21
21
  "password--autocompleteCurrent",
22
- 1.4347084760665894
22
+ 1.4347083568572998
23
23
  ],
24
24
  [
25
25
  "password--autocompleteNew",
26
- -6.174221515655518
26
+ -6.174221992492676
27
27
  ],
28
28
  [
29
29
  "password--autocompleteOTP",
30
- -1.9344943761825562
30
+ -1.934494137763977
31
31
  ],
32
32
  [
33
33
  "password--autocompleteOff",
34
- -1.9959006309509277
34
+ -1.9959005117416382
35
35
  ],
36
36
  [
37
37
  "password--fieldCC",
38
- -2.5282344818115234
38
+ -2.5282342433929443
39
39
  ],
40
40
  [
41
41
  "password--fieldExotic",
@@ -51,7 +51,7 @@
51
51
  ],
52
52
  [
53
53
  "password--fieldRegister",
54
- -9.02402114868164
54
+ -9.024020195007324
55
55
  ],
56
56
  [
57
57
  "password--labelConfirm",
@@ -67,19 +67,19 @@
67
67
  ],
68
68
  [
69
69
  "password--nextPwConfirm",
70
- -5.163944721221924
70
+ -5.163945198059082
71
71
  ],
72
72
  [
73
73
  "password--nextPwCurrent",
74
- -0.0007364622433669865
74
+ -0.0007364624761976302
75
75
  ],
76
76
  [
77
77
  "password--nextPwField",
78
- -2.317049741744995
78
+ -2.317049264907837
79
79
  ],
80
80
  [
81
81
  "password--nextPwNew",
82
- 3.5548439025878906
82
+ 3.5548441410064697
83
83
  ],
84
84
  [
85
85
  "password--passwordOutlier",
@@ -103,27 +103,27 @@
103
103
  ],
104
104
  [
105
105
  "password--textCreate",
106
- -4.5491533279418945
106
+ -4.549152851104736
107
107
  ],
108
108
  [
109
109
  "password--textCurrent",
110
- 0.5577602386474609
110
+ 0.5577601194381714
111
111
  ],
112
112
  [
113
113
  "password--fieldLogin,autocompleteNew",
114
- 1.904007077217102
114
+ 1.9040071964263916
115
115
  ],
116
116
  [
117
117
  "password--fieldLogin,maybeNew",
118
- 1.4597889184951782
118
+ 1.4597891569137573
119
119
  ],
120
120
  [
121
121
  "password--fieldRegister,autocompleteCurrent",
122
- -2.2519826889038086
122
+ -2.251983165740967
123
123
  ],
124
124
  [
125
125
  "password--fieldRegister,maybeCurrent",
126
- -0.10143989324569702
126
+ -0.1014399304986
127
127
  ],
128
128
  [
129
129
  "password--prevPwCurrent,nextPwNew",
@@ -1,5 +1,5 @@
1
1
  {
2
- "bias": -2.4607725143432617,
2
+ "bias": -2.4607722759246826,
3
3
  "coeffs": [
4
4
  [
5
5
  "recovery--visibleFieldsCountScaled",
@@ -7,19 +7,19 @@
7
7
  ],
8
8
  [
9
9
  "recovery--visibleInputsCountScaled",
10
- 1.4415721893310547
10
+ 1.441571831703186
11
11
  ],
12
12
  [
13
13
  "recovery--fieldsetsCountScaled",
14
- 3.919451951980591
14
+ 3.91945219039917
15
15
  ],
16
16
  [
17
17
  "recovery--textsCountScaled",
18
- 0.21768727898597717
18
+ 0.2176874428987503
19
19
  ],
20
20
  [
21
21
  "recovery--textareasCountScaled",
22
- -10.481021881103516
22
+ -10.481019973754883
23
23
  ],
24
24
  [
25
25
  "recovery--selectsCountScaled",
@@ -27,23 +27,23 @@
27
27
  ],
28
28
  [
29
29
  "recovery--disabledCountScaled",
30
- -0.09392392635345459
30
+ -0.0939239040017128
31
31
  ],
32
32
  [
33
33
  "recovery--radiosCountScaled",
34
- -1.8658277988433838
34
+ -1.8658274412155151
35
35
  ],
36
36
  [
37
37
  "recovery--readOnlyCountScaled",
38
- 6.996588230133057
38
+ 6.996588706970215
39
39
  ],
40
40
  [
41
41
  "recovery--formComplexityScaled",
42
- -7.132519245147705
42
+ -7.1325201988220215
43
43
  ],
44
44
  [
45
45
  "recovery--visibleIdentifiersCountScaled",
46
- -1.231680989265442
46
+ -1.231679916381836
47
47
  ],
48
48
  [
49
49
  "recovery--hiddenIdentifiersCountScaled",
@@ -51,11 +51,11 @@
51
51
  ],
52
52
  [
53
53
  "recovery--usernamesCountScaled",
54
- 1.7767404317855835
54
+ 1.7767406702041626
55
55
  ],
56
56
  [
57
57
  "recovery--emailsCountScaled",
58
- 0.7306363582611084
58
+ 0.7306361794471741
59
59
  ],
60
60
  [
61
61
  "recovery--hiddenCountScaled",
@@ -63,35 +63,35 @@
63
63
  ],
64
64
  [
65
65
  "recovery--hiddenPasswordsCountScaled",
66
- -4.441102981567383
66
+ -4.441102504730225
67
67
  ],
68
68
  [
69
69
  "recovery--submitsCountScaled",
70
- 0.7697610259056091
70
+ 0.7697605490684509
71
71
  ],
72
72
  [
73
73
  "recovery--identitiesCountScaled",
74
- -2.4982998371124268
74
+ -2.4982995986938477
75
75
  ],
76
76
  [
77
77
  "recovery--ccsCountScaled",
78
- -0.8428022265434265
78
+ -0.8428019881248474
79
79
  ],
80
80
  [
81
81
  "recovery--hasTels",
82
- -1.1201075315475464
82
+ -1.1201080083847046
83
83
  ],
84
84
  [
85
85
  "recovery--hasOAuth",
86
- -2.8689560890197754
86
+ -2.8689558506011963
87
87
  ],
88
88
  [
89
89
  "recovery--hasCaptchas",
90
- 8.954608917236328
90
+ 8.954607963562012
91
91
  ],
92
92
  [
93
93
  "recovery--hasFiles",
94
- -12.78432559967041
94
+ -12.784329414367676
95
95
  ],
96
96
  [
97
97
  "recovery--hasDate",
@@ -99,15 +99,15 @@
99
99
  ],
100
100
  [
101
101
  "recovery--hasNumber",
102
- -0.9297001361846924
102
+ -0.9297001957893372
103
103
  ],
104
104
  [
105
105
  "recovery--oneVisibleField",
106
- 0.42706742882728577
106
+ 0.42706745862960815
107
107
  ],
108
108
  [
109
109
  "recovery--twoVisibleFields",
110
- -6.208212852478027
110
+ -6.208212375640869
111
111
  ],
112
112
  [
113
113
  "recovery--threeOrMoreVisibleFields",
@@ -115,15 +115,15 @@
115
115
  ],
116
116
  [
117
117
  "recovery--noPasswords",
118
- 0.2389945685863495
118
+ 0.2389945089817047
119
119
  ],
120
120
  [
121
121
  "recovery--onePassword",
122
- -6.254555702209473
122
+ -6.2545552253723145
123
123
  ],
124
124
  [
125
125
  "recovery--twoPasswords",
126
- -1.347701072692871
126
+ -1.3477009534835815
127
127
  ],
128
128
  [
129
129
  "recovery--threeOrMorePasswords",
@@ -131,19 +131,19 @@
131
131
  ],
132
132
  [
133
133
  "recovery--noIdentifiers",
134
- -5.244648456573486
134
+ -5.24464750289917
135
135
  ],
136
136
  [
137
137
  "recovery--oneIdentifier",
138
- -1.5370243787765503
138
+ -1.537023901939392
139
139
  ],
140
140
  [
141
141
  "recovery--twoIdentifiers",
142
- 3.2623369693756104
142
+ 3.2623372077941895
143
143
  ],
144
144
  [
145
145
  "recovery--threeOrMoreIdentifiers",
146
- -2.516976833343506
146
+ -2.516977310180664
147
147
  ],
148
148
  [
149
149
  "recovery--autofocusedIsIdentifier",
@@ -151,27 +151,27 @@
151
151
  ],
152
152
  [
153
153
  "recovery--autofocusedIsPassword",
154
- -0.030006583780050278
154
+ -0.030006591230630875
155
155
  ],
156
156
  [
157
157
  "recovery--visibleRatio",
158
- -1.1183397769927979
158
+ -1.1183401346206665
159
159
  ],
160
160
  [
161
161
  "recovery--inputRatio",
162
- -2.737773895263672
162
+ -2.73777437210083
163
163
  ],
164
164
  [
165
165
  "recovery--hiddenRatio",
166
- 2.3140666484832764
166
+ 2.3140668869018555
167
167
  ],
168
168
  [
169
169
  "recovery--identifierRatio",
170
- -3.8864946365356445
170
+ -3.88649582862854
171
171
  ],
172
172
  [
173
173
  "recovery--emailRatio",
174
- 7.425757884979248
174
+ 7.425758361816406
175
175
  ],
176
176
  [
177
177
  "recovery--usernameRatio",
@@ -179,35 +179,35 @@
179
179
  ],
180
180
  [
181
181
  "recovery--passwordRatio",
182
- -4.6713690757751465
182
+ -4.671370029449463
183
183
  ],
184
184
  [
185
185
  "recovery--disabledRatio",
186
- -0.11529175192117691
186
+ -0.11529173702001572
187
187
  ],
188
188
  [
189
189
  "recovery--requiredRatio",
190
- -0.8672488331794739
190
+ -0.8672487139701843
191
191
  ],
192
192
  [
193
193
  "recovery--checkboxRatio",
194
- -15.014094352722168
194
+ -15.014095306396484
195
195
  ],
196
196
  [
197
197
  "recovery--hiddenIdentifierRatio",
198
- 0.06713701784610748
198
+ 0.06713645160198212
199
199
  ],
200
200
  [
201
201
  "recovery--hiddenPasswordRatio",
202
- -7.677776336669922
202
+ -7.6777753829956055
203
203
  ],
204
204
  [
205
205
  "recovery--pageLogin",
206
- 0.24683316051959991
206
+ 0.2468331754207611
207
207
  ],
208
208
  [
209
209
  "recovery--formTextLogin",
210
- -1.3089785170450341e-05
210
+ -1.3089786079945043e-05
211
211
  ],
212
212
  [
213
213
  "recovery--formAttrsLogin",
@@ -215,15 +215,15 @@
215
215
  ],
216
216
  [
217
217
  "recovery--headingsLogin",
218
- -0.5963064432144165
218
+ -0.5963063836097717
219
219
  ],
220
220
  [
221
221
  "recovery--layoutLogin",
222
- 0.043930117040872574
222
+ 0.043929893523454666
223
223
  ],
224
224
  [
225
225
  "recovery--rememberMeCheckbox",
226
- -1.5976446866989136
226
+ -1.5976450443267822
227
227
  ],
228
228
  [
229
229
  "recovery--troubleLink",
@@ -231,15 +231,15 @@
231
231
  ],
232
232
  [
233
233
  "recovery--submitLogin",
234
- 0.43999922275543213
234
+ 0.43999919295310974
235
235
  ],
236
236
  [
237
237
  "recovery--pageRegister",
238
- -1.7381529808044434
238
+ -1.738153100013733
239
239
  ],
240
240
  [
241
241
  "recovery--formTextRegister",
242
- -0.004387961234897375
242
+ -0.004387964028865099
243
243
  ],
244
244
  [
245
245
  "recovery--formAttrsRegister",
@@ -247,7 +247,7 @@
247
247
  ],
248
248
  [
249
249
  "recovery--headingsRegister",
250
- -1.0486259460449219
250
+ -1.048626184463501
251
251
  ],
252
252
  [
253
253
  "recovery--layoutRegister",
@@ -263,23 +263,23 @@
263
263
  ],
264
264
  [
265
265
  "recovery--submitRegister",
266
- -1.0909039974212646
266
+ -1.0909041166305542
267
267
  ],
268
268
  [
269
269
  "recovery--TOSRef",
270
- -5.986724376678467
270
+ -5.98672342300415
271
271
  ],
272
272
  [
273
273
  "recovery--pagePwReset",
274
- -2.2017836570739746
274
+ -2.2017838954925537
275
275
  ],
276
276
  [
277
277
  "recovery--formTextPwReset",
278
- -2.070408118015621e-05
278
+ -2.070406662824098e-05
279
279
  ],
280
280
  [
281
281
  "recovery--formAttrsPwReset",
282
- 2.4164793491363525
282
+ 2.4164788722991943
283
283
  ],
284
284
  [
285
285
  "recovery--headingsPwReset",
@@ -287,7 +287,7 @@
287
287
  ],
288
288
  [
289
289
  "recovery--layoutPwReset",
290
- 0.041829440742731094
290
+ 0.04182944446802139
291
291
  ],
292
292
  [
293
293
  "recovery--pageRecovery",
@@ -299,11 +299,11 @@
299
299
  ],
300
300
  [
301
301
  "recovery--formAttrsRecovery",
302
- 2.614874839782715
302
+ 2.614875078201294
303
303
  ],
304
304
  [
305
305
  "recovery--headingsRecovery",
306
- 5.727958679199219
306
+ 5.727959156036377
307
307
  ],
308
308
  [
309
309
  "recovery--layoutRecovery",
@@ -311,7 +311,7 @@
311
311
  ],
312
312
  [
313
313
  "recovery--identifierRecovery",
314
- 7.586392879486084
314
+ 7.5863938331604
315
315
  ],
316
316
  [
317
317
  "recovery--submitRecovery",
@@ -319,11 +319,11 @@
319
319
  ],
320
320
  [
321
321
  "recovery--formTextMFA",
322
- 0.8953113555908203
322
+ 0.8953112959861755
323
323
  ],
324
324
  [
325
325
  "recovery--formAttrsMFA",
326
- 2.2436530590057373
326
+ 2.243652820587158
327
327
  ],
328
328
  [
329
329
  "recovery--inputsMFA",
@@ -339,11 +339,11 @@
339
339
  ],
340
340
  [
341
341
  "recovery--multistepForm",
342
- -2.6774566173553467
342
+ -2.677457094192505
343
343
  ],
344
344
  [
345
345
  "recovery--multiAuthForm",
346
- -1.987401008605957
346
+ -1.9874006509780884
347
347
  ],
348
348
  [
349
349
  "recovery--multistepForm,multiAuthForm",
@@ -351,19 +351,19 @@
351
351
  ],
352
352
  [
353
353
  "recovery--visibleRatio,visibleFieldsCountScaled",
354
- 1.7915035486221313
354
+ 1.7915043830871582
355
355
  ],
356
356
  [
357
357
  "recovery--visibleRatio,visibleIdentifiersCountScaled",
358
- -0.9494101405143738
358
+ -0.9494097828865051
359
359
  ],
360
360
  [
361
361
  "recovery--visibleRatio,visiblePasswordsCountScaled",
362
- -3.1869843006134033
362
+ -3.1869845390319824
363
363
  ],
364
364
  [
365
365
  "recovery--visibleRatio,hiddenIdentifiersCountScaled",
366
- 1.0118019580841064
366
+ 1.0118021965026855
367
367
  ],
368
368
  [
369
369
  "recovery--visibleRatio,hiddenPasswordsCountScaled",
@@ -371,7 +371,7 @@
371
371
  ],
372
372
  [
373
373
  "recovery--visibleRatio,multiAuthForm",
374
- -1.530393123626709
374
+ -1.5303926467895508
375
375
  ],
376
376
  [
377
377
  "recovery--visibleRatio,multistepForm",
@@ -379,11 +379,11 @@
379
379
  ],
380
380
  [
381
381
  "recovery--identifierRatio,visibleFieldsCountScaled",
382
- 4.780976295471191
382
+ 4.780975341796875
383
383
  ],
384
384
  [
385
385
  "recovery--identifierRatio,visibleIdentifiersCountScaled",
386
- -4.398955821990967
386
+ -4.39895486831665
387
387
  ],
388
388
  [
389
389
  "recovery--identifierRatio,visiblePasswordsCountScaled",
@@ -391,7 +391,7 @@
391
391
  ],
392
392
  [
393
393
  "recovery--identifierRatio,hiddenIdentifiersCountScaled",
394
- 2.6882448196411133
394
+ 2.688244342803955
395
395
  ],
396
396
  [
397
397
  "recovery--identifierRatio,hiddenPasswordsCountScaled",
@@ -411,7 +411,7 @@
411
411
  ],
412
412
  [
413
413
  "recovery--passwordRatio,visibleIdentifiersCountScaled",
414
- -4.520315170288086
414
+ -4.520314693450928
415
415
  ],
416
416
  [
417
417
  "recovery--passwordRatio,visiblePasswordsCountScaled",
@@ -419,39 +419,39 @@
419
419
  ],
420
420
  [
421
421
  "recovery--passwordRatio,hiddenIdentifiersCountScaled",
422
- -1.0072404146194458
422
+ -1.0072405338287354
423
423
  ],
424
424
  [
425
425
  "recovery--passwordRatio,hiddenPasswordsCountScaled",
426
- -3.0029605113668367e-05
426
+ -3.0029603294678964e-05
427
427
  ],
428
428
  [
429
429
  "recovery--passwordRatio,multiAuthForm",
430
- -0.36907464265823364
430
+ -0.3690747320652008
431
431
  ],
432
432
  [
433
433
  "recovery--passwordRatio,multistepForm",
434
- 0.3724293112754822
434
+ 0.37242913246154785
435
435
  ],
436
436
  [
437
437
  "recovery--requiredRatio,visibleFieldsCountScaled",
438
- -3.152287483215332
438
+ -3.152287244796753
439
439
  ],
440
440
  [
441
441
  "recovery--requiredRatio,visibleIdentifiersCountScaled",
442
- -0.7932915091514587
442
+ -0.7932918667793274
443
443
  ],
444
444
  [
445
445
  "recovery--requiredRatio,visiblePasswordsCountScaled",
446
- -1.220094084739685
446
+ -1.2200944423675537
447
447
  ],
448
448
  [
449
449
  "recovery--requiredRatio,hiddenIdentifiersCountScaled",
450
- -6.920215606689453
450
+ -6.920216083526611
451
451
  ],
452
452
  [
453
453
  "recovery--requiredRatio,hiddenPasswordsCountScaled",
454
- -0.0003239401848986745
454
+ -0.00032394021400250494
455
455
  ],
456
456
  [
457
457
  "recovery--requiredRatio,multiAuthForm",