@protontech/autofill 0.0.35059265 → 0.0.35481761

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 (44) hide show
  1. package/features/feature.d.ts +13 -2
  2. package/features/feature.js +37 -15
  3. package/features/feature.spec.js +56 -7
  4. package/features/v1/abstract.field.d.ts +8377 -406
  5. package/features/v1/abstract.field.js +24 -24
  6. package/features/v1/abstract.form.d.ts +3428 -14
  7. package/features/v1/abstract.form.js +197 -197
  8. package/features/v1/field.email.d.ts +3421 -0
  9. package/features/v1/field.email.js +7 -7
  10. package/features/v1/field.otp.d.ts +71178 -0
  11. package/features/v1/field.otp.js +42 -42
  12. package/features/v1/field.password.d.ts +99166 -0
  13. package/features/v1/field.password.js +42 -42
  14. package/features/v1/field.username-hidden.d.ts +908 -0
  15. package/features/v1/field.username-hidden.js +7 -7
  16. package/features/v1/field.username.d.ts +42382 -0
  17. package/features/v1/field.username.js +11 -11
  18. package/features/v1/fields.sorted.gen.d.ts +1441 -0
  19. package/features/v1/fields.sorted.gen.js +344 -0
  20. package/features/v1/forms.sorted.gen.d.ts +734 -0
  21. package/features/v1/forms.sorted.gen.js +334 -0
  22. package/features/v1/index.d.ts +5305 -12
  23. package/features/v1/index.js +7 -11
  24. package/features/v1/index.spec.js +34 -20
  25. package/models/perceptron/params/login-model.json +91 -91
  26. package/models/perceptron/params/new-password-model.json +21 -21
  27. package/models/perceptron/params/otp-model.json +29 -29
  28. package/models/perceptron/params/password-change-model.json +72 -72
  29. package/models/perceptron/params/password-model.json +23 -23
  30. package/models/perceptron/params/recovery-model.json +81 -81
  31. package/models/perceptron/params/register-model.json +99 -99
  32. package/models/perceptron/params/username-hidden-model.json +10 -10
  33. package/models/perceptron/params/username-model.json +7 -7
  34. package/models/random_forest/params/otp-model.json +306 -366
  35. package/package.json +3 -3
  36. package/rules/v1/index.js +2 -2
  37. package/scripts/gen-sorted-features.js +125 -29
  38. package/types/index.d.ts +2 -1
  39. package/utils/fathom.d.ts +1 -2
  40. package/utils/fathom.js +2 -2
  41. package/features/registry.d.ts +0 -3
  42. package/features/registry.js +0 -9
  43. package/features/sorted.gen.d.ts +0 -14
  44. package/features/sorted.gen.js +0 -22
@@ -1,5 +1,5 @@
1
1
  {
2
- "bias": -2.4607717990875244,
2
+ "bias": -2.4607725143432617,
3
3
  "coeffs": [
4
4
  [
5
5
  "recovery--visibleFieldsCountScaled",
@@ -7,15 +7,15 @@
7
7
  ],
8
8
  [
9
9
  "recovery--visibleInputsCountScaled",
10
- 1.4415719509124756
10
+ 1.4415721893310547
11
11
  ],
12
12
  [
13
13
  "recovery--fieldsetsCountScaled",
14
- 3.91945219039917
14
+ 3.919451951980591
15
15
  ],
16
16
  [
17
17
  "recovery--textsCountScaled",
18
- 0.21768750250339508
18
+ 0.21768727898597717
19
19
  ],
20
20
  [
21
21
  "recovery--textareasCountScaled",
@@ -27,19 +27,19 @@
27
27
  ],
28
28
  [
29
29
  "recovery--disabledCountScaled",
30
- -0.0939238965511322
30
+ -0.09392392635345459
31
31
  ],
32
32
  [
33
33
  "recovery--radiosCountScaled",
34
- -1.865826964378357
34
+ -1.8658277988433838
35
35
  ],
36
36
  [
37
37
  "recovery--readOnlyCountScaled",
38
- 6.996588706970215
38
+ 6.996588230133057
39
39
  ],
40
40
  [
41
41
  "recovery--formComplexityScaled",
42
- -7.132519721984863
42
+ -7.132519245147705
43
43
  ],
44
44
  [
45
45
  "recovery--visibleIdentifiersCountScaled",
@@ -47,19 +47,19 @@
47
47
  ],
48
48
  [
49
49
  "recovery--hiddenIdentifiersCountScaled",
50
- -3.241222381591797
50
+ -3.241222620010376
51
51
  ],
52
52
  [
53
53
  "recovery--usernamesCountScaled",
54
- 1.7767406702041626
54
+ 1.7767404317855835
55
55
  ],
56
56
  [
57
57
  "recovery--emailsCountScaled",
58
- 0.7306357026100159
58
+ 0.7306363582611084
59
59
  ],
60
60
  [
61
61
  "recovery--hiddenCountScaled",
62
- 3.7756569385528564
62
+ 3.7756564617156982
63
63
  ],
64
64
  [
65
65
  "recovery--hiddenPasswordsCountScaled",
@@ -67,11 +67,11 @@
67
67
  ],
68
68
  [
69
69
  "recovery--submitsCountScaled",
70
- 0.7697613835334778
70
+ 0.7697610259056091
71
71
  ],
72
72
  [
73
73
  "recovery--identitiesCountScaled",
74
- -2.4982993602752686
74
+ -2.4982998371124268
75
75
  ],
76
76
  [
77
77
  "recovery--ccsCountScaled",
@@ -79,11 +79,11 @@
79
79
  ],
80
80
  [
81
81
  "recovery--hasTels",
82
- -1.1201077699661255
82
+ -1.1201075315475464
83
83
  ],
84
84
  [
85
85
  "recovery--hasOAuth",
86
- -2.8689558506011963
86
+ -2.8689560890197754
87
87
  ],
88
88
  [
89
89
  "recovery--hasCaptchas",
@@ -91,7 +91,7 @@
91
91
  ],
92
92
  [
93
93
  "recovery--hasFiles",
94
- -12.784327507019043
94
+ -12.78432559967041
95
95
  ],
96
96
  [
97
97
  "recovery--hasDate",
@@ -103,19 +103,19 @@
103
103
  ],
104
104
  [
105
105
  "recovery--oneVisibleField",
106
- 0.4270676076412201
106
+ 0.42706742882728577
107
107
  ],
108
108
  [
109
109
  "recovery--twoVisibleFields",
110
- -6.208211421966553
110
+ -6.208212852478027
111
111
  ],
112
112
  [
113
113
  "recovery--threeOrMoreVisibleFields",
114
- -1.7739923000335693
114
+ -1.7739934921264648
115
115
  ],
116
116
  [
117
117
  "recovery--noPasswords",
118
- 0.23899470269680023
118
+ 0.2389945685863495
119
119
  ],
120
120
  [
121
121
  "recovery--onePassword",
@@ -123,11 +123,11 @@
123
123
  ],
124
124
  [
125
125
  "recovery--twoPasswords",
126
- -1.3477011919021606
126
+ -1.347701072692871
127
127
  ],
128
128
  [
129
129
  "recovery--threeOrMorePasswords",
130
- -0.2142723798751831
130
+ -0.2142724245786667
131
131
  ],
132
132
  [
133
133
  "recovery--noIdentifiers",
@@ -135,35 +135,35 @@
135
135
  ],
136
136
  [
137
137
  "recovery--oneIdentifier",
138
- -1.537024974822998
138
+ -1.5370243787765503
139
139
  ],
140
140
  [
141
141
  "recovery--twoIdentifiers",
142
- 3.262336015701294
142
+ 3.2623369693756104
143
143
  ],
144
144
  [
145
145
  "recovery--threeOrMoreIdentifiers",
146
- -2.5169777870178223
146
+ -2.516976833343506
147
147
  ],
148
148
  [
149
149
  "recovery--autofocusedIsIdentifier",
150
- 1.0344570875167847
150
+ 1.0344569683074951
151
151
  ],
152
152
  [
153
153
  "recovery--autofocusedIsPassword",
154
- -0.030006591230630875
154
+ -0.030006583780050278
155
155
  ],
156
156
  [
157
157
  "recovery--visibleRatio",
158
- -1.1183395385742188
158
+ -1.1183397769927979
159
159
  ],
160
160
  [
161
161
  "recovery--inputRatio",
162
- -2.7377750873565674
162
+ -2.737773895263672
163
163
  ],
164
164
  [
165
165
  "recovery--hiddenRatio",
166
- 2.3140668869018555
166
+ 2.3140666484832764
167
167
  ],
168
168
  [
169
169
  "recovery--identifierRatio",
@@ -171,15 +171,15 @@
171
171
  ],
172
172
  [
173
173
  "recovery--emailRatio",
174
- 7.4257588386535645
174
+ 7.425757884979248
175
175
  ],
176
176
  [
177
177
  "recovery--usernameRatio",
178
- 1.4872337579727173
178
+ 1.487234115600586
179
179
  ],
180
180
  [
181
181
  "recovery--passwordRatio",
182
- -4.671369552612305
182
+ -4.6713690757751465
183
183
  ],
184
184
  [
185
185
  "recovery--disabledRatio",
@@ -187,7 +187,7 @@
187
187
  ],
188
188
  [
189
189
  "recovery--requiredRatio",
190
- -0.86724853515625
190
+ -0.8672488331794739
191
191
  ],
192
192
  [
193
193
  "recovery--checkboxRatio",
@@ -195,7 +195,7 @@
195
195
  ],
196
196
  [
197
197
  "recovery--hiddenIdentifierRatio",
198
- 0.06713663786649704
198
+ 0.06713701784610748
199
199
  ],
200
200
  [
201
201
  "recovery--hiddenPasswordRatio",
@@ -203,39 +203,39 @@
203
203
  ],
204
204
  [
205
205
  "recovery--pageLogin",
206
- 0.24683326482772827
206
+ 0.24683316051959991
207
207
  ],
208
208
  [
209
209
  "recovery--formTextLogin",
210
- -1.3089790627418552e-05
210
+ -1.3089785170450341e-05
211
211
  ],
212
212
  [
213
213
  "recovery--formAttrsLogin",
214
- 1.5605207681655884
214
+ 1.560520887374878
215
215
  ],
216
216
  [
217
217
  "recovery--headingsLogin",
218
- -0.5963063836097717
218
+ -0.5963064432144165
219
219
  ],
220
220
  [
221
221
  "recovery--layoutLogin",
222
- 0.043930038809776306
222
+ 0.043930117040872574
223
223
  ],
224
224
  [
225
225
  "recovery--rememberMeCheckbox",
226
- -1.5976449251174927
226
+ -1.5976446866989136
227
227
  ],
228
228
  [
229
229
  "recovery--troubleLink",
230
- 3.233335256576538
230
+ 3.233335494995117
231
231
  ],
232
232
  [
233
233
  "recovery--submitLogin",
234
- 0.43999943137168884
234
+ 0.43999922275543213
235
235
  ],
236
236
  [
237
237
  "recovery--pageRegister",
238
- -1.7381528615951538
238
+ -1.7381529808044434
239
239
  ],
240
240
  [
241
241
  "recovery--formTextRegister",
@@ -255,7 +255,7 @@
255
255
  ],
256
256
  [
257
257
  "recovery--pwNewRegister",
258
- -1.2929311990737915
258
+ -1.292931318283081
259
259
  ],
260
260
  [
261
261
  "recovery--pwConfirmRegister",
@@ -271,11 +271,11 @@
271
271
  ],
272
272
  [
273
273
  "recovery--pagePwReset",
274
- -2.201784133911133
274
+ -2.2017836570739746
275
275
  ],
276
276
  [
277
277
  "recovery--formTextPwReset",
278
- -2.0704079361166805e-05
278
+ -2.070408118015621e-05
279
279
  ],
280
280
  [
281
281
  "recovery--formAttrsPwReset",
@@ -283,7 +283,7 @@
283
283
  ],
284
284
  [
285
285
  "recovery--headingsPwReset",
286
- 4.336867332458496
286
+ 4.336867809295654
287
287
  ],
288
288
  [
289
289
  "recovery--layoutPwReset",
@@ -291,7 +291,7 @@
291
291
  ],
292
292
  [
293
293
  "recovery--pageRecovery",
294
- 5.971342086791992
294
+ 5.971341609954834
295
295
  ],
296
296
  [
297
297
  "recovery--formTextRecovery",
@@ -303,27 +303,27 @@
303
303
  ],
304
304
  [
305
305
  "recovery--headingsRecovery",
306
- 5.727959156036377
306
+ 5.727958679199219
307
307
  ],
308
308
  [
309
309
  "recovery--layoutRecovery",
310
- 2.1721584796905518
310
+ 2.1721582412719727
311
311
  ],
312
312
  [
313
313
  "recovery--identifierRecovery",
314
- 7.586393356323242
314
+ 7.586392879486084
315
315
  ],
316
316
  [
317
317
  "recovery--submitRecovery",
318
- 7.611932277679443
318
+ 7.611932754516602
319
319
  ],
320
320
  [
321
321
  "recovery--formTextMFA",
322
- 0.8953114151954651
322
+ 0.8953113555908203
323
323
  ],
324
324
  [
325
325
  "recovery--formAttrsMFA",
326
- 2.243652820587158
326
+ 2.2436530590057373
327
327
  ],
328
328
  [
329
329
  "recovery--inputsMFA",
@@ -331,7 +331,7 @@
331
331
  ],
332
332
  [
333
333
  "recovery--newsletterForm",
334
- -5.093679428100586
334
+ -5.093678951263428
335
335
  ],
336
336
  [
337
337
  "recovery--searchForm",
@@ -339,51 +339,51 @@
339
339
  ],
340
340
  [
341
341
  "recovery--multistepForm",
342
- -2.677456855773926
342
+ -2.6774566173553467
343
343
  ],
344
344
  [
345
345
  "recovery--multiAuthForm",
346
- -1.9874008893966675
346
+ -1.987401008605957
347
347
  ],
348
348
  [
349
349
  "recovery--multistepForm,multiAuthForm",
350
- -1.3790804147720337
350
+ -1.3790802955627441
351
351
  ],
352
352
  [
353
353
  "recovery--visibleRatio,visibleFieldsCountScaled",
354
- 1.791504144668579
354
+ 1.7915035486221313
355
355
  ],
356
356
  [
357
357
  "recovery--visibleRatio,visibleIdentifiersCountScaled",
358
- -0.9494104981422424
358
+ -0.9494101405143738
359
359
  ],
360
360
  [
361
361
  "recovery--visibleRatio,visiblePasswordsCountScaled",
362
- -3.1869845390319824
362
+ -3.1869843006134033
363
363
  ],
364
364
  [
365
365
  "recovery--visibleRatio,hiddenIdentifiersCountScaled",
366
- 1.0118012428283691
366
+ 1.0118019580841064
367
367
  ],
368
368
  [
369
369
  "recovery--visibleRatio,hiddenPasswordsCountScaled",
370
- -0.8004611730575562
370
+ -0.8004611134529114
371
371
  ],
372
372
  [
373
373
  "recovery--visibleRatio,multiAuthForm",
374
- -1.5303930044174194
374
+ -1.530393123626709
375
375
  ],
376
376
  [
377
377
  "recovery--visibleRatio,multistepForm",
378
- 0.6369627118110657
378
+ 0.636962890625
379
379
  ],
380
380
  [
381
381
  "recovery--identifierRatio,visibleFieldsCountScaled",
382
- 4.780974864959717
382
+ 4.780976295471191
383
383
  ],
384
384
  [
385
385
  "recovery--identifierRatio,visibleIdentifiersCountScaled",
386
- -4.398955345153809
386
+ -4.398955821990967
387
387
  ],
388
388
  [
389
389
  "recovery--identifierRatio,visiblePasswordsCountScaled",
@@ -391,7 +391,7 @@
391
391
  ],
392
392
  [
393
393
  "recovery--identifierRatio,hiddenIdentifiersCountScaled",
394
- 2.6882450580596924
394
+ 2.6882448196411133
395
395
  ],
396
396
  [
397
397
  "recovery--identifierRatio,hiddenPasswordsCountScaled",
@@ -403,35 +403,35 @@
403
403
  ],
404
404
  [
405
405
  "recovery--identifierRatio,multistepForm",
406
- 4.3962883949279785
406
+ 4.39628791809082
407
407
  ],
408
408
  [
409
409
  "recovery--passwordRatio,visibleFieldsCountScaled",
410
- -3.164785623550415
410
+ -3.164785385131836
411
411
  ],
412
412
  [
413
413
  "recovery--passwordRatio,visibleIdentifiersCountScaled",
414
- -4.5203142166137695
414
+ -4.520315170288086
415
415
  ],
416
416
  [
417
417
  "recovery--passwordRatio,visiblePasswordsCountScaled",
418
- -3.8674509525299072
418
+ -3.867450714111328
419
419
  ],
420
420
  [
421
421
  "recovery--passwordRatio,hiddenIdentifiersCountScaled",
422
- -1.0072402954101562
422
+ -1.0072404146194458
423
423
  ],
424
424
  [
425
425
  "recovery--passwordRatio,hiddenPasswordsCountScaled",
426
- -3.002960693265777e-05
426
+ -3.0029605113668367e-05
427
427
  ],
428
428
  [
429
429
  "recovery--passwordRatio,multiAuthForm",
430
- -0.3690747618675232
430
+ -0.36907464265823364
431
431
  ],
432
432
  [
433
433
  "recovery--passwordRatio,multistepForm",
434
- 0.37242934107780457
434
+ 0.3724293112754822
435
435
  ],
436
436
  [
437
437
  "recovery--requiredRatio,visibleFieldsCountScaled",
@@ -439,7 +439,7 @@
439
439
  ],
440
440
  [
441
441
  "recovery--requiredRatio,visibleIdentifiersCountScaled",
442
- -0.7932919859886169
442
+ -0.7932915091514587
443
443
  ],
444
444
  [
445
445
  "recovery--requiredRatio,visiblePasswordsCountScaled",
@@ -447,7 +447,7 @@
447
447
  ],
448
448
  [
449
449
  "recovery--requiredRatio,hiddenIdentifiersCountScaled",
450
- -6.920216083526611
450
+ -6.920215606689453
451
451
  ],
452
452
  [
453
453
  "recovery--requiredRatio,hiddenPasswordsCountScaled",
@@ -455,7 +455,7 @@
455
455
  ],
456
456
  [
457
457
  "recovery--requiredRatio,multiAuthForm",
458
- -0.2028079777956009
458
+ -0.2028079479932785
459
459
  ],
460
460
  [
461
461
  "recovery--requiredRatio,multistepForm",