@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,17 +1,17 @@
1
1
  {
2
- "bias": -1.317725658416748,
2
+ "bias": -1.3177260160446167,
3
3
  "coeffs": [
4
4
  [
5
5
  "password-change--visibleFieldsCountScaled",
6
- -0.21080531179904938
6
+ -0.21080537140369415
7
7
  ],
8
8
  [
9
9
  "password-change--visibleInputsCountScaled",
10
- -0.3794768452644348
10
+ -0.37947672605514526
11
11
  ],
12
12
  [
13
13
  "password-change--fieldsetsCountScaled",
14
- 0.34059518575668335
14
+ 0.3405952453613281
15
15
  ],
16
16
  [
17
17
  "password-change--textsCountScaled",
@@ -23,35 +23,35 @@
23
23
  ],
24
24
  [
25
25
  "password-change--selectsCountScaled",
26
- -0.41383597254753113
26
+ -0.41383591294288635
27
27
  ],
28
28
  [
29
29
  "password-change--disabledCountScaled",
30
- -1.2835944289690815e-05
30
+ -1.283594701817492e-05
31
31
  ],
32
32
  [
33
33
  "password-change--radiosCountScaled",
34
- -2.568479537963867
34
+ -2.568479299545288
35
35
  ],
36
36
  [
37
37
  "password-change--readOnlyCountScaled",
38
- -2.1948537826538086
38
+ -2.1948535442352295
39
39
  ],
40
40
  [
41
41
  "password-change--formComplexityScaled",
42
- -0.42950722575187683
42
+ -0.4295070767402649
43
43
  ],
44
44
  [
45
45
  "password-change--visibleIdentifiersCountScaled",
46
- -1.1606924533843994
46
+ -1.160692572593689
47
47
  ],
48
48
  [
49
49
  "password-change--hiddenIdentifiersCountScaled",
50
- -1.3011547327041626
50
+ -1.301154613494873
51
51
  ],
52
52
  [
53
53
  "password-change--usernamesCountScaled",
54
- -1.5563488006591797
54
+ -1.5563485622406006
55
55
  ],
56
56
  [
57
57
  "password-change--emailsCountScaled",
@@ -59,15 +59,15 @@
59
59
  ],
60
60
  [
61
61
  "password-change--hiddenCountScaled",
62
- 0.13291537761688232
62
+ 0.13291533291339874
63
63
  ],
64
64
  [
65
65
  "password-change--hiddenPasswordsCountScaled",
66
- -0.5678784847259521
66
+ -0.5678786039352417
67
67
  ],
68
68
  [
69
69
  "password-change--submitsCountScaled",
70
- 0.2010057121515274
70
+ 0.201005756855011
71
71
  ],
72
72
  [
73
73
  "password-change--identitiesCountScaled",
@@ -75,7 +75,7 @@
75
75
  ],
76
76
  [
77
77
  "password-change--ccsCountScaled",
78
- -0.5090059041976929
78
+ -0.5090060234069824
79
79
  ],
80
80
  [
81
81
  "password-change--hasTels",
@@ -83,15 +83,15 @@
83
83
  ],
84
84
  [
85
85
  "password-change--hasOAuth",
86
- -1.138687014579773
86
+ -1.1386868953704834
87
87
  ],
88
88
  [
89
89
  "password-change--hasCaptchas",
90
- -0.8732293248176575
90
+ -0.8732292652130127
91
91
  ],
92
92
  [
93
93
  "password-change--hasFiles",
94
- -0.009154300205409527
94
+ -0.009154298342764378
95
95
  ],
96
96
  [
97
97
  "password-change--hasDate",
@@ -99,7 +99,7 @@
99
99
  ],
100
100
  [
101
101
  "password-change--hasNumber",
102
- -0.48628270626068115
102
+ -0.4862827658653259
103
103
  ],
104
104
  [
105
105
  "password-change--oneVisibleField",
@@ -107,23 +107,23 @@
107
107
  ],
108
108
  [
109
109
  "password-change--twoVisibleFields",
110
- -0.5263844728469849
110
+ -0.5263843536376953
111
111
  ],
112
112
  [
113
113
  "password-change--threeOrMoreVisibleFields",
114
- -0.0987958237528801
114
+ -0.09879575669765472
115
115
  ],
116
116
  [
117
117
  "password-change--noPasswords",
118
- -2.220906972885132
118
+ -2.220907211303711
119
119
  ],
120
120
  [
121
121
  "password-change--onePassword",
122
- -1.0874865055084229
122
+ -1.0874863862991333
123
123
  ],
124
124
  [
125
125
  "password-change--twoPasswords",
126
- 0.43684470653533936
126
+ 0.43684449791908264
127
127
  ],
128
128
  [
129
129
  "password-change--threeOrMorePasswords",
@@ -131,11 +131,11 @@
131
131
  ],
132
132
  [
133
133
  "password-change--noIdentifiers",
134
- -0.10996023565530777
134
+ -0.10995984822511673
135
135
  ],
136
136
  [
137
137
  "password-change--oneIdentifier",
138
- -1.4527708292007446
138
+ -1.452770471572876
139
139
  ],
140
140
  [
141
141
  "password-change--twoIdentifiers",
@@ -143,7 +143,7 @@
143
143
  ],
144
144
  [
145
145
  "password-change--threeOrMoreIdentifiers",
146
- -0.5995724201202393
146
+ -0.5995723605155945
147
147
  ],
148
148
  [
149
149
  "password-change--autofocusedIsIdentifier",
@@ -151,7 +151,7 @@
151
151
  ],
152
152
  [
153
153
  "password-change--autofocusedIsPassword",
154
- -1.5753828287124634
154
+ -1.5753824710845947
155
155
  ],
156
156
  [
157
157
  "password-change--visibleRatio",
@@ -159,11 +159,11 @@
159
159
  ],
160
160
  [
161
161
  "password-change--inputRatio",
162
- -1.354972004890442
162
+ -1.3549718856811523
163
163
  ],
164
164
  [
165
165
  "password-change--hiddenRatio",
166
- 1.231801986694336
166
+ 1.2318017482757568
167
167
  ],
168
168
  [
169
169
  "password-change--identifierRatio",
@@ -171,7 +171,7 @@
171
171
  ],
172
172
  [
173
173
  "password-change--emailRatio",
174
- -1.0367224216461182
174
+ -1.0367226600646973
175
175
  ],
176
176
  [
177
177
  "password-change--usernameRatio",
@@ -179,23 +179,23 @@
179
179
  ],
180
180
  [
181
181
  "password-change--passwordRatio",
182
- 2.048884630203247
182
+ 2.0488839149475098
183
183
  ],
184
184
  [
185
185
  "password-change--disabledRatio",
186
- -3.544039645930752e-05
186
+ -3.544038918334991e-05
187
187
  ],
188
188
  [
189
189
  "password-change--requiredRatio",
190
- 0.2819277048110962
190
+ 0.2819276750087738
191
191
  ],
192
192
  [
193
193
  "password-change--checkboxRatio",
194
- 0.3580682575702667
194
+ 0.35806819796562195
195
195
  ],
196
196
  [
197
197
  "password-change--hiddenIdentifierRatio",
198
- -1.4996641874313354
198
+ -1.499664545059204
199
199
  ],
200
200
  [
201
201
  "password-change--hiddenPasswordRatio",
@@ -207,7 +207,7 @@
207
207
  ],
208
208
  [
209
209
  "password-change--formTextLogin",
210
- -0.0002807428827509284
210
+ -0.00028074285364709795
211
211
  ],
212
212
  [
213
213
  "password-change--formAttrsLogin",
@@ -227,7 +227,7 @@
227
227
  ],
228
228
  [
229
229
  "password-change--troubleLink",
230
- -0.505922257900238
230
+ -0.5059223175048828
231
231
  ],
232
232
  [
233
233
  "password-change--submitLogin",
@@ -235,11 +235,11 @@
235
235
  ],
236
236
  [
237
237
  "password-change--pageRegister",
238
- -0.43224841356277466
238
+ -0.4322483241558075
239
239
  ],
240
240
  [
241
241
  "password-change--formTextRegister",
242
- -2.767477838006016e-07
242
+ -2.7674764169205446e-07
243
243
  ],
244
244
  [
245
245
  "password-change--formAttrsRegister",
@@ -247,11 +247,11 @@
247
247
  ],
248
248
  [
249
249
  "password-change--headingsRegister",
250
- -4.5509843826293945
250
+ -4.550984859466553
251
251
  ],
252
252
  [
253
253
  "password-change--layoutRegister",
254
- -0.48621928691864014
254
+ -0.48621922731399536
255
255
  ],
256
256
  [
257
257
  "password-change--pwNewRegister",
@@ -259,19 +259,19 @@
259
259
  ],
260
260
  [
261
261
  "password-change--pwConfirmRegister",
262
- 0.18275943398475647
262
+ 0.18275952339172363
263
263
  ],
264
264
  [
265
265
  "password-change--submitRegister",
266
- -2.4953696727752686
266
+ -2.4953694343566895
267
267
  ],
268
268
  [
269
269
  "password-change--TOSRef",
270
- -0.0869380310177803
270
+ -0.08693806827068329
271
271
  ],
272
272
  [
273
273
  "password-change--pagePwReset",
274
- 0.8516339063644409
274
+ 0.8516338467597961
275
275
  ],
276
276
  [
277
277
  "password-change--formTextPwReset",
@@ -283,7 +283,7 @@
283
283
  ],
284
284
  [
285
285
  "password-change--headingsPwReset",
286
- 0.8395712971687317
286
+ 0.8395711779594421
287
287
  ],
288
288
  [
289
289
  "password-change--layoutPwReset",
@@ -299,19 +299,19 @@
299
299
  ],
300
300
  [
301
301
  "password-change--formAttrsRecovery",
302
- -0.5712954998016357
302
+ -0.5712955594062805
303
303
  ],
304
304
  [
305
305
  "password-change--headingsRecovery",
306
- -0.4508117437362671
306
+ -0.4508116841316223
307
307
  ],
308
308
  [
309
309
  "password-change--layoutRecovery",
310
- -0.3146156668663025
310
+ -0.31461572647094727
311
311
  ],
312
312
  [
313
313
  "password-change--identifierRecovery",
314
- -0.29010623693466187
314
+ -0.2901061773300171
315
315
  ],
316
316
  [
317
317
  "password-change--submitRecovery",
@@ -319,7 +319,7 @@
319
319
  ],
320
320
  [
321
321
  "password-change--formTextMFA",
322
- -0.890845537185669
322
+ -0.8908454775810242
323
323
  ],
324
324
  [
325
325
  "password-change--formAttrsMFA",
@@ -327,7 +327,7 @@
327
327
  ],
328
328
  [
329
329
  "password-change--inputsMFA",
330
- -0.7224538922309875
330
+ -0.7224538326263428
331
331
  ],
332
332
  [
333
333
  "password-change--newsletterForm",
@@ -343,7 +343,7 @@
343
343
  ],
344
344
  [
345
345
  "password-change--multiAuthForm",
346
- -0.564978301525116
346
+ -0.5649782419204712
347
347
  ],
348
348
  [
349
349
  "password-change--multistepForm,multiAuthForm",
@@ -351,7 +351,7 @@
351
351
  ],
352
352
  [
353
353
  "password-change--visibleRatio,visibleFieldsCountScaled",
354
- -0.7013124227523804
354
+ -0.7013123631477356
355
355
  ],
356
356
  [
357
357
  "password-change--visibleRatio,visibleIdentifiersCountScaled",
@@ -359,15 +359,15 @@
359
359
  ],
360
360
  [
361
361
  "password-change--visibleRatio,visiblePasswordsCountScaled",
362
- -0.13744992017745972
362
+ -0.13744965195655823
363
363
  ],
364
364
  [
365
365
  "password-change--visibleRatio,hiddenIdentifiersCountScaled",
366
- -0.18700893223285675
366
+ -0.18700890243053436
367
367
  ],
368
368
  [
369
369
  "password-change--visibleRatio,hiddenPasswordsCountScaled",
370
- -0.31140270829200745
370
+ -0.3114027678966522
371
371
  ],
372
372
  [
373
373
  "password-change--visibleRatio,multiAuthForm",
@@ -375,7 +375,7 @@
375
375
  ],
376
376
  [
377
377
  "password-change--visibleRatio,multistepForm",
378
- -2.331655979156494
378
+ -2.3316562175750732
379
379
  ],
380
380
  [
381
381
  "password-change--identifierRatio,visibleFieldsCountScaled",
@@ -387,15 +387,15 @@
387
387
  ],
388
388
  [
389
389
  "password-change--identifierRatio,visiblePasswordsCountScaled",
390
- -1.636335015296936
390
+ -1.6363351345062256
391
391
  ],
392
392
  [
393
393
  "password-change--identifierRatio,hiddenIdentifiersCountScaled",
394
- -0.34702029824256897
394
+ -0.3470202684402466
395
395
  ],
396
396
  [
397
397
  "password-change--identifierRatio,hiddenPasswordsCountScaled",
398
- -0.5297760367393494
398
+ -0.5297760963439941
399
399
  ],
400
400
  [
401
401
  "password-change--identifierRatio,multiAuthForm",
@@ -411,15 +411,15 @@
411
411
  ],
412
412
  [
413
413
  "password-change--passwordRatio,visibleIdentifiersCountScaled",
414
- -1.45478093624115
414
+ -1.454781174659729
415
415
  ],
416
416
  [
417
417
  "password-change--passwordRatio,visiblePasswordsCountScaled",
418
- 2.5386955738067627
418
+ 2.538696050643921
419
419
  ],
420
420
  [
421
421
  "password-change--passwordRatio,hiddenIdentifiersCountScaled",
422
- -1.5068111419677734
422
+ -1.5068113803863525
423
423
  ],
424
424
  [
425
425
  "password-change--passwordRatio,hiddenPasswordsCountScaled",
@@ -431,7 +431,7 @@
431
431
  ],
432
432
  [
433
433
  "password-change--passwordRatio,multistepForm",
434
- -0.6057165861129761
434
+ -0.6057164669036865
435
435
  ],
436
436
  [
437
437
  "password-change--requiredRatio,visibleFieldsCountScaled",
@@ -443,23 +443,23 @@
443
443
  ],
444
444
  [
445
445
  "password-change--requiredRatio,visiblePasswordsCountScaled",
446
- 0.9341356754302979
446
+ 0.9341357946395874
447
447
  ],
448
448
  [
449
449
  "password-change--requiredRatio,hiddenIdentifiersCountScaled",
450
- -0.9665895700454712
450
+ -0.9665896892547607
451
451
  ],
452
452
  [
453
453
  "password-change--requiredRatio,hiddenPasswordsCountScaled",
454
- -0.9109416007995605
454
+ -0.9109416604042053
455
455
  ],
456
456
  [
457
457
  "password-change--requiredRatio,multiAuthForm",
458
- -0.2318475842475891
458
+ -0.23184755444526672
459
459
  ],
460
460
  [
461
461
  "password-change--requiredRatio,multistepForm",
462
- -0.02457130327820778
462
+ -0.024571271613240242
463
463
  ]
464
464
  ]
465
465
  }
@@ -3,7 +3,7 @@
3
3
  "coeffs": [
4
4
  [
5
5
  "password--attrConfirm",
6
- -2.803439140319824
6
+ -2.803438663482666
7
7
  ],
8
8
  [
9
9
  "password--attrCreate",
@@ -11,7 +11,7 @@
11
11
  ],
12
12
  [
13
13
  "password--attrCurrent",
14
- 2.4272873401641846
14
+ 2.4272871017456055
15
15
  ],
16
16
  [
17
17
  "password--attrReset",
@@ -19,23 +19,23 @@
19
19
  ],
20
20
  [
21
21
  "password--autocompleteCurrent",
22
- 1.4347083568572998
22
+ 1.4347084760665894
23
23
  ],
24
24
  [
25
25
  "password--autocompleteNew",
26
- -6.174221992492676
26
+ -6.174221515655518
27
27
  ],
28
28
  [
29
29
  "password--autocompleteOTP",
30
- -1.934494137763977
30
+ -1.9344943761825562
31
31
  ],
32
32
  [
33
33
  "password--autocompleteOff",
34
- -1.9959003925323486
34
+ -1.9959006309509277
35
35
  ],
36
36
  [
37
37
  "password--fieldCC",
38
- -2.5282342433929443
38
+ -2.5282344818115234
39
39
  ],
40
40
  [
41
41
  "password--fieldExotic",
@@ -51,11 +51,11 @@
51
51
  ],
52
52
  [
53
53
  "password--fieldRegister",
54
- -9.024020195007324
54
+ -9.02402114868164
55
55
  ],
56
56
  [
57
57
  "password--labelConfirm",
58
- -1.5682286024093628
58
+ -1.5682287216186523
59
59
  ],
60
60
  [
61
61
  "password--labelCreate",
@@ -63,23 +63,23 @@
63
63
  ],
64
64
  [
65
65
  "password--labelCurrent",
66
- 2.943845272064209
66
+ 2.94384503364563
67
67
  ],
68
68
  [
69
69
  "password--nextPwConfirm",
70
- -5.163945198059082
70
+ -5.163944721221924
71
71
  ],
72
72
  [
73
73
  "password--nextPwCurrent",
74
- -0.000736462592612952
74
+ -0.0007364622433669865
75
75
  ],
76
76
  [
77
77
  "password--nextPwField",
78
- -2.317049264907837
78
+ -2.317049741744995
79
79
  ],
80
80
  [
81
81
  "password--nextPwNew",
82
- 3.5548434257507324
82
+ 3.5548439025878906
83
83
  ],
84
84
  [
85
85
  "password--passwordOutlier",
@@ -87,7 +87,7 @@
87
87
  ],
88
88
  [
89
89
  "password--prevPwCurrent",
90
- -1.4101133346557617
90
+ -1.4101135730743408
91
91
  ],
92
92
  [
93
93
  "password--prevPwField",
@@ -95,19 +95,19 @@
95
95
  ],
96
96
  [
97
97
  "password--prevPwNew",
98
- -2.841886043548584
98
+ -2.841886281967163
99
99
  ],
100
100
  [
101
101
  "password--textConfirm",
102
- -0.9127426743507385
102
+ -0.9127426147460938
103
103
  ],
104
104
  [
105
105
  "password--textCreate",
106
- -4.549152851104736
106
+ -4.5491533279418945
107
107
  ],
108
108
  [
109
109
  "password--textCurrent",
110
- 0.5577603578567505
110
+ 0.5577602386474609
111
111
  ],
112
112
  [
113
113
  "password--fieldLogin,autocompleteNew",
@@ -115,19 +115,19 @@
115
115
  ],
116
116
  [
117
117
  "password--fieldLogin,maybeNew",
118
- 1.4597893953323364
118
+ 1.4597889184951782
119
119
  ],
120
120
  [
121
121
  "password--fieldRegister,autocompleteCurrent",
122
- -2.2519829273223877
122
+ -2.2519826889038086
123
123
  ],
124
124
  [
125
125
  "password--fieldRegister,maybeCurrent",
126
- -0.1014399453997612
126
+ -0.10143989324569702
127
127
  ],
128
128
  [
129
129
  "password--prevPwCurrent,nextPwNew",
130
- -1.3695014715194702
130
+ -1.3695017099380493
131
131
  ]
132
132
  ]
133
133
  }