@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,45 +1,45 @@
1
1
  {
2
- "bias": -4.965569972991943,
2
+ "bias": -4.965570449829102,
3
3
  "coeffs": [
4
4
  [
5
5
  "otp--attrMFA",
6
- 4.788483619689941
6
+ 4.7884840965271
7
7
  ],
8
8
  [
9
9
  "otp--attrOTP",
10
- 1.0581910610198975
10
+ 1.0581914186477661
11
11
  ],
12
12
  [
13
13
  "otp--autocompleteOTC",
14
- 3.723384141921997
14
+ 3.723384380340576
15
15
  ],
16
16
  [
17
17
  "otp--fieldCC",
18
- -3.029210329055786
18
+ -3.029210090637207
19
19
  ],
20
20
  [
21
21
  "otp--fieldIdentity",
22
- -4.196938514709473
22
+ -4.1969380378723145
23
23
  ],
24
24
  [
25
25
  "otp--formAuthenticator",
26
- 9.273712158203125
26
+ 9.273713111877441
27
27
  ],
28
28
  [
29
29
  "otp--formComplexity",
30
- -4.522850513458252
30
+ -4.52285099029541
31
31
  ],
32
32
  [
33
33
  "otp--formMFA",
34
- 1.5632493495941162
34
+ 1.5632495880126953
35
35
  ],
36
36
  [
37
37
  "otp--idMatch",
38
- 6.893336772918701
38
+ 6.893337249755859
39
39
  ],
40
40
  [
41
41
  "otp--labelAuthenticator",
42
- 3.155949354171753
42
+ 3.155949592590332
43
43
  ],
44
44
  [
45
45
  "otp--labelMFA",
@@ -51,39 +51,39 @@
51
51
  ],
52
52
  [
53
53
  "otp--nameMatch",
54
- -0.3335433006286621
54
+ -0.3335433602333069
55
55
  ],
56
56
  [
57
57
  "otp--numericMode",
58
- -0.022599132731556892
58
+ -0.022599589079618454
59
59
  ],
60
60
  [
61
61
  "otp--outlierAutocomplete",
62
- -2.734318971633911
62
+ -2.7343192100524902
63
63
  ],
64
64
  [
65
65
  "otp--outlierEmailMatchScaled",
66
- -4.023244380950928
66
+ -4.023244857788086
67
67
  ],
68
68
  [
69
69
  "otp--outlierField",
70
- -6.48042631149292
70
+ -6.480426788330078
71
71
  ],
72
72
  [
73
73
  "otp--outlierForm",
74
- 3.0551769733428955
74
+ 3.0551772117614746
75
75
  ],
76
76
  [
77
77
  "otp--outlierHeadings",
78
- -7.6843647956848145
78
+ -7.684365272521973
79
79
  ],
80
80
  [
81
81
  "otp--outlierInputCount",
82
- -6.027187347412109
82
+ -6.027187824249268
83
83
  ],
84
84
  [
85
85
  "otp--outlierLink",
86
- -3.3877320289611816
86
+ -3.3877322673797607
87
87
  ],
88
88
  [
89
89
  "otp--outlierMaxLength",
@@ -91,19 +91,19 @@
91
91
  ],
92
92
  [
93
93
  "otp--outlierSearch",
94
- -8.413530349731445
94
+ -8.413531303405762
95
95
  ],
96
96
  [
97
97
  "otp--patternOTP",
98
- 4.295940399169922
98
+ 4.2959394454956055
99
99
  ],
100
100
  [
101
101
  "otp--siblingOfInterest",
102
- 1.3552659749984741
102
+ 1.3552664518356323
103
103
  ],
104
104
  [
105
105
  "otp--singleInput",
106
- 0.24302175641059875
106
+ 0.2430218756198883
107
107
  ],
108
108
  [
109
109
  "otp--textAuthenticator",
@@ -111,7 +111,7 @@
111
111
  ],
112
112
  [
113
113
  "otp--textMFA",
114
- 1.531465768814087
114
+ 1.5314662456512451
115
115
  ]
116
116
  ]
117
117
  }
@@ -1,17 +1,17 @@
1
1
  {
2
- "bias": -1.3177260160446167,
2
+ "bias": -1.317725658416748,
3
3
  "coeffs": [
4
4
  [
5
5
  "password-change--visibleFieldsCountScaled",
6
- -0.21080537140369415
6
+ -0.21080532670021057
7
7
  ],
8
8
  [
9
9
  "password-change--visibleInputsCountScaled",
10
- -0.37947672605514526
10
+ -0.3794768154621124
11
11
  ],
12
12
  [
13
13
  "password-change--fieldsetsCountScaled",
14
- 0.3405952453613281
14
+ 0.34059518575668335
15
15
  ],
16
16
  [
17
17
  "password-change--textsCountScaled",
@@ -19,19 +19,19 @@
19
19
  ],
20
20
  [
21
21
  "password-change--textareasCountScaled",
22
- -0.6031239628791809
22
+ -0.6031240224838257
23
23
  ],
24
24
  [
25
25
  "password-change--selectsCountScaled",
26
- -0.41383591294288635
26
+ -0.41383594274520874
27
27
  ],
28
28
  [
29
29
  "password-change--disabledCountScaled",
30
- -1.283594701817492e-05
30
+ -1.2835949746659026e-05
31
31
  ],
32
32
  [
33
33
  "password-change--radiosCountScaled",
34
- -2.568479299545288
34
+ -2.568479537963867
35
35
  ],
36
36
  [
37
37
  "password-change--readOnlyCountScaled",
@@ -39,15 +39,15 @@
39
39
  ],
40
40
  [
41
41
  "password-change--formComplexityScaled",
42
- -0.4295070767402649
42
+ -0.4295071065425873
43
43
  ],
44
44
  [
45
45
  "password-change--visibleIdentifiersCountScaled",
46
- -1.160692572593689
46
+ -1.1606924533843994
47
47
  ],
48
48
  [
49
49
  "password-change--hiddenIdentifiersCountScaled",
50
- -1.301154613494873
50
+ -1.3011544942855835
51
51
  ],
52
52
  [
53
53
  "password-change--usernamesCountScaled",
@@ -55,11 +55,11 @@
55
55
  ],
56
56
  [
57
57
  "password-change--emailsCountScaled",
58
- -1.2611477375030518
58
+ -1.2611479759216309
59
59
  ],
60
60
  [
61
61
  "password-change--hiddenCountScaled",
62
- 0.13291533291339874
62
+ 0.13291551172733307
63
63
  ],
64
64
  [
65
65
  "password-change--hiddenPasswordsCountScaled",
@@ -67,7 +67,7 @@
67
67
  ],
68
68
  [
69
69
  "password-change--submitsCountScaled",
70
- 0.201005756855011
70
+ 0.2010057121515274
71
71
  ],
72
72
  [
73
73
  "password-change--identitiesCountScaled",
@@ -91,7 +91,7 @@
91
91
  ],
92
92
  [
93
93
  "password-change--hasFiles",
94
- -0.009154298342764378
94
+ -0.009154299274086952
95
95
  ],
96
96
  [
97
97
  "password-change--hasDate",
@@ -107,15 +107,15 @@
107
107
  ],
108
108
  [
109
109
  "password-change--twoVisibleFields",
110
- -0.5263843536376953
110
+ -0.5263842940330505
111
111
  ],
112
112
  [
113
113
  "password-change--threeOrMoreVisibleFields",
114
- -0.09879575669765472
114
+ -0.09879591315984726
115
115
  ],
116
116
  [
117
117
  "password-change--noPasswords",
118
- -2.220907211303711
118
+ -2.220906972885132
119
119
  ],
120
120
  [
121
121
  "password-change--onePassword",
@@ -123,7 +123,7 @@
123
123
  ],
124
124
  [
125
125
  "password-change--twoPasswords",
126
- 0.43684449791908264
126
+ 0.43684452772140503
127
127
  ],
128
128
  [
129
129
  "password-change--threeOrMorePasswords",
@@ -131,11 +131,11 @@
131
131
  ],
132
132
  [
133
133
  "password-change--noIdentifiers",
134
- -0.10995984822511673
134
+ -0.10995984077453613
135
135
  ],
136
136
  [
137
137
  "password-change--oneIdentifier",
138
- -1.452770471572876
138
+ -1.4527708292007446
139
139
  ],
140
140
  [
141
141
  "password-change--twoIdentifiers",
@@ -143,15 +143,15 @@
143
143
  ],
144
144
  [
145
145
  "password-change--threeOrMoreIdentifiers",
146
- -0.5995723605155945
146
+ -0.5995724201202393
147
147
  ],
148
148
  [
149
149
  "password-change--autofocusedIsIdentifier",
150
- -1.2017908096313477
150
+ -1.201790690422058
151
151
  ],
152
152
  [
153
153
  "password-change--autofocusedIsPassword",
154
- -1.5753824710845947
154
+ -1.5753825902938843
155
155
  ],
156
156
  [
157
157
  "password-change--visibleRatio",
@@ -159,11 +159,11 @@
159
159
  ],
160
160
  [
161
161
  "password-change--inputRatio",
162
- -1.3549718856811523
162
+ -1.354972004890442
163
163
  ],
164
164
  [
165
165
  "password-change--hiddenRatio",
166
- 1.2318017482757568
166
+ 1.2318016290664673
167
167
  ],
168
168
  [
169
169
  "password-change--identifierRatio",
@@ -171,7 +171,7 @@
171
171
  ],
172
172
  [
173
173
  "password-change--emailRatio",
174
- -1.0367226600646973
174
+ -1.0367227792739868
175
175
  ],
176
176
  [
177
177
  "password-change--usernameRatio",
@@ -179,19 +179,19 @@
179
179
  ],
180
180
  [
181
181
  "password-change--passwordRatio",
182
- 2.0488839149475098
182
+ 2.0488836765289307
183
183
  ],
184
184
  [
185
185
  "password-change--disabledRatio",
186
- -3.544038918334991e-05
186
+ -3.544040009728633e-05
187
187
  ],
188
188
  [
189
189
  "password-change--requiredRatio",
190
- 0.2819276750087738
190
+ 0.28192776441574097
191
191
  ],
192
192
  [
193
193
  "password-change--checkboxRatio",
194
- 0.35806819796562195
194
+ 0.3580681085586548
195
195
  ],
196
196
  [
197
197
  "password-change--hiddenIdentifierRatio",
@@ -199,7 +199,7 @@
199
199
  ],
200
200
  [
201
201
  "password-change--hiddenPasswordRatio",
202
- -0.5603635311126709
202
+ -0.5603634715080261
203
203
  ],
204
204
  [
205
205
  "password-change--pageLogin",
@@ -211,7 +211,7 @@
211
211
  ],
212
212
  [
213
213
  "password-change--formAttrsLogin",
214
- -1.0774983167648315
214
+ -1.077498197555542
215
215
  ],
216
216
  [
217
217
  "password-change--headingsLogin",
@@ -223,35 +223,35 @@
223
223
  ],
224
224
  [
225
225
  "password-change--rememberMeCheckbox",
226
- -0.49536681175231934
226
+ -0.49536675214767456
227
227
  ],
228
228
  [
229
229
  "password-change--troubleLink",
230
- -0.5059223175048828
230
+ -0.505922257900238
231
231
  ],
232
232
  [
233
233
  "password-change--submitLogin",
234
- -1.538442611694336
234
+ -1.5384427309036255
235
235
  ],
236
236
  [
237
237
  "password-change--pageRegister",
238
- -0.4322483241558075
238
+ -0.43224838376045227
239
239
  ],
240
240
  [
241
241
  "password-change--formTextRegister",
242
- -2.7674764169205446e-07
242
+ -2.7674755642692617e-07
243
243
  ],
244
244
  [
245
245
  "password-change--formAttrsRegister",
246
- -3.545875072479248
246
+ -3.545875310897827
247
247
  ],
248
248
  [
249
249
  "password-change--headingsRegister",
250
- -4.550984859466553
250
+ -4.5509843826293945
251
251
  ],
252
252
  [
253
253
  "password-change--layoutRegister",
254
- -0.48621922731399536
254
+ -0.48621928691864014
255
255
  ],
256
256
  [
257
257
  "password-change--pwNewRegister",
@@ -259,7 +259,7 @@
259
259
  ],
260
260
  [
261
261
  "password-change--pwConfirmRegister",
262
- 0.18275952339172363
262
+ 0.18275941908359528
263
263
  ],
264
264
  [
265
265
  "password-change--submitRegister",
@@ -267,15 +267,15 @@
267
267
  ],
268
268
  [
269
269
  "password-change--TOSRef",
270
- -0.08693806827068329
270
+ -0.08693802356719971
271
271
  ],
272
272
  [
273
273
  "password-change--pagePwReset",
274
- 0.8516338467597961
274
+ 0.8516339659690857
275
275
  ],
276
276
  [
277
277
  "password-change--formTextPwReset",
278
- 0.11514020711183548
278
+ 0.1151401624083519
279
279
  ],
280
280
  [
281
281
  "password-change--formAttrsPwReset",
@@ -283,11 +283,11 @@
283
283
  ],
284
284
  [
285
285
  "password-change--headingsPwReset",
286
- 0.8395711779594421
286
+ 0.8395712375640869
287
287
  ],
288
288
  [
289
289
  "password-change--layoutPwReset",
290
- 3.9594016075134277
290
+ 3.9594013690948486
291
291
  ],
292
292
  [
293
293
  "password-change--pageRecovery",
@@ -303,19 +303,19 @@
303
303
  ],
304
304
  [
305
305
  "password-change--headingsRecovery",
306
- -0.4508116841316223
306
+ -0.4508117437362671
307
307
  ],
308
308
  [
309
309
  "password-change--layoutRecovery",
310
- -0.31461572647094727
310
+ -0.3146156966686249
311
311
  ],
312
312
  [
313
313
  "password-change--identifierRecovery",
314
- -0.2901061773300171
314
+ -0.29010623693466187
315
315
  ],
316
316
  [
317
317
  "password-change--submitRecovery",
318
- 1.8364182710647583
318
+ 1.8364183902740479
319
319
  ],
320
320
  [
321
321
  "password-change--formTextMFA",
@@ -327,7 +327,7 @@
327
327
  ],
328
328
  [
329
329
  "password-change--inputsMFA",
330
- -0.7224538326263428
330
+ -0.7224538922309875
331
331
  ],
332
332
  [
333
333
  "password-change--newsletterForm",
@@ -335,23 +335,23 @@
335
335
  ],
336
336
  [
337
337
  "password-change--searchForm",
338
- -1.184194803237915
338
+ -1.1841949224472046
339
339
  ],
340
340
  [
341
341
  "password-change--multistepForm",
342
- -0.8734709024429321
342
+ -0.8734707832336426
343
343
  ],
344
344
  [
345
345
  "password-change--multiAuthForm",
346
- -0.5649782419204712
346
+ -0.564978301525116
347
347
  ],
348
348
  [
349
349
  "password-change--multistepForm,multiAuthForm",
350
- -0.252063512802124
350
+ -0.25206348299980164
351
351
  ],
352
352
  [
353
353
  "password-change--visibleRatio,visibleFieldsCountScaled",
354
- -0.7013123631477356
354
+ -0.701312243938446
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.13744965195655823
362
+ -0.13744959235191345
363
363
  ],
364
364
  [
365
365
  "password-change--visibleRatio,hiddenIdentifiersCountScaled",
366
- -0.18700890243053436
366
+ -0.18700896203517914
367
367
  ],
368
368
  [
369
369
  "password-change--visibleRatio,hiddenPasswordsCountScaled",
370
- -0.3114027678966522
370
+ -0.311402827501297
371
371
  ],
372
372
  [
373
373
  "password-change--visibleRatio,multiAuthForm",
@@ -375,11 +375,11 @@
375
375
  ],
376
376
  [
377
377
  "password-change--visibleRatio,multistepForm",
378
- -2.3316562175750732
378
+ -2.3316564559936523
379
379
  ],
380
380
  [
381
381
  "password-change--identifierRatio,visibleFieldsCountScaled",
382
- -1.153236985206604
382
+ -1.1532371044158936
383
383
  ],
384
384
  [
385
385
  "password-change--identifierRatio,visibleIdentifiersCountScaled",
@@ -387,7 +387,7 @@
387
387
  ],
388
388
  [
389
389
  "password-change--identifierRatio,visiblePasswordsCountScaled",
390
- -1.6363351345062256
390
+ -1.636335015296936
391
391
  ],
392
392
  [
393
393
  "password-change--identifierRatio,hiddenIdentifiersCountScaled",
@@ -395,7 +395,7 @@
395
395
  ],
396
396
  [
397
397
  "password-change--identifierRatio,hiddenPasswordsCountScaled",
398
- -0.5297760963439941
398
+ -0.5297760367393494
399
399
  ],
400
400
  [
401
401
  "password-change--identifierRatio,multiAuthForm",
@@ -407,7 +407,7 @@
407
407
  ],
408
408
  [
409
409
  "password-change--passwordRatio,visibleFieldsCountScaled",
410
- 1.7638397216796875
410
+ 1.763839840888977
411
411
  ],
412
412
  [
413
413
  "password-change--passwordRatio,visibleIdentifiersCountScaled",
@@ -419,11 +419,11 @@
419
419
  ],
420
420
  [
421
421
  "password-change--passwordRatio,hiddenIdentifiersCountScaled",
422
- -1.5068113803863525
422
+ -1.5068111419677734
423
423
  ],
424
424
  [
425
425
  "password-change--passwordRatio,hiddenPasswordsCountScaled",
426
- -0.1728202849626541
426
+ -0.1728203147649765
427
427
  ],
428
428
  [
429
429
  "password-change--passwordRatio,multiAuthForm",
@@ -431,11 +431,11 @@
431
431
  ],
432
432
  [
433
433
  "password-change--passwordRatio,multistepForm",
434
- -0.6057164669036865
434
+ -0.6057165861129761
435
435
  ],
436
436
  [
437
437
  "password-change--requiredRatio,visibleFieldsCountScaled",
438
- -0.6770942211151123
438
+ -0.6770943999290466
439
439
  ],
440
440
  [
441
441
  "password-change--requiredRatio,visibleIdentifiersCountScaled",
@@ -443,23 +443,23 @@
443
443
  ],
444
444
  [
445
445
  "password-change--requiredRatio,visiblePasswordsCountScaled",
446
- 0.9341357946395874
446
+ 0.9341356158256531
447
447
  ],
448
448
  [
449
449
  "password-change--requiredRatio,hiddenIdentifiersCountScaled",
450
- -0.9665896892547607
450
+ -0.9665895104408264
451
451
  ],
452
452
  [
453
453
  "password-change--requiredRatio,hiddenPasswordsCountScaled",
454
- -0.9109416604042053
454
+ -0.9109416007995605
455
455
  ],
456
456
  [
457
457
  "password-change--requiredRatio,multiAuthForm",
458
- -0.23184755444526672
458
+ -0.23184752464294434
459
459
  ],
460
460
  [
461
461
  "password-change--requiredRatio,multistepForm",
462
- -0.024571271613240242
462
+ -0.024571172893047333
463
463
  ]
464
464
  ]
465
465
  }