Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@accounts/password

Package Overview
Dependencies
Maintainers
6
Versions
139
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@accounts/password - npm Package Compare versions

Comparing version 0.1.0-beta.14 to 0.1.0-beta.15

coverage/lcov-report/accounts-password.ts.html

1044

coverage/coverage-final.json

@@ -1,1042 +0,4 @@

{
"/Users/leo/dev/accounts-js/accounts/packages/password/src/accounts-password.ts": {
"path": "/Users/leo/dev/accounts-js/accounts/packages/password/src/accounts-password.ts",
"statementMap": {
"0": { "start": { "line": 1, "column": 0 }, "end": { "line": 1, "column": 96 } },
"1": { "start": { "line": 4, "column": 0 }, "end": { "line": 4, "column": 74 } },
"2": { "start": { "line": 5, "column": 0 }, "end": { "line": 5, "column": 89 } },
"3": { "start": { "line": 6, "column": 0 }, "end": { "line": 6, "column": 81 } },
"4": { "start": { "line": 12, "column": 0 }, "end": { "line": 12, "column": 41 } },
"5": { "start": { "line": 26, "column": 23 }, "end": { "line": 43, "column": 1 } },
"6": { "start": { "line": 31, "column": 20 }, "end": { "line": 31, "column": 65 } },
"7": { "start": { "line": 32, "column": 4 }, "end": { "line": 32, "column": 28 } },
"8": { "start": { "line": 35, "column": 20 }, "end": { "line": 35, "column": 38 } },
"9": { "start": { "line": 36, "column": 4 }, "end": { "line": 36, "column": 19 } },
"10": { "start": { "line": 39, "column": 26 }, "end": { "line": 39, "column": 50 } },
"11": { "start": { "line": 40, "column": 20 }, "end": { "line": 40, "column": 88 } },
"12": { "start": { "line": 41, "column": 4 }, "end": { "line": 41, "column": 28 } },
"13": { "start": { "line": 45, "column": 0 }, "end": { "line": 415, "column": 0 } },
"14": { "start": { "line": 52, "column": 14 }, "end": { "line": 52, "column": 51 } },
"15": { "start": { "line": 46, "column": 9 }, "end": { "line": 46, "column": 34 } },
"16": { "start": { "line": 53, "column": 4 }, "end": { "line": 53, "column": 53 } },
"17": { "start": { "line": 54, "column": 4 }, "end": { "line": 54, "column": 54 } },
"18": { "start": { "line": 57, "column": 9 }, "end": { "line": 60, "column": 3 } },
"19": { "start": { "line": 58, "column": 4 }, "end": { "line": 58, "column": 20 } },
"20": { "start": { "line": 59, "column": 4 }, "end": { "line": 59, "column": 35 } },
"21": { "start": { "line": 62, "column": 15 }, "end": { "line": 79, "column": 3 } },
"22": { "start": { "line": 63, "column": 12 }, "end": { "line": 63, "column": 44 } },
"23": { "start": { "line": 64, "column": 4 }, "end": { "line": 66, "column": 5 } },
"24": { "start": { "line": 65, "column": 6 }, "end": { "line": 65, "column": 64 } },
"25": { "start": { "line": 67, "column": 4 }, "end": { "line": 69, "column": 5 } },
"26": { "start": { "line": 68, "column": 6 }, "end": { "line": 68, "column": 38 } },
"27": { "start": { "line": 71, "column": 22 }, "end": { "line": 71, "column": 70 } },
"28": { "start": { "line": 71, "column": 10 }, "end": { "line": 71, "column": 70 } },
"29": { "start": { "line": 74, "column": 8 }, "end": { "line": 74, "column": 48 } },
"30": { "start": { "line": 75, "column": 6 }, "end": { "line": 75, "column": 56 } },
"31": { "start": { "line": 75, "column": 6 }, "end": { "line": 75, "column": 57 } },
"32": { "start": { "line": 78, "column": 4 }, "end": { "line": 78, "column": 21 } },
"33": { "start": { "line": 86, "column": 9 }, "end": { "line": 88, "column": 3 } },
"34": { "start": { "line": 87, "column": 4 }, "end": { "line": 87, "column": 42 } },
"35": { "start": { "line": 95, "column": 9 }, "end": { "line": 97, "column": 3 } },
"36": { "start": { "line": 96, "column": 4 }, "end": { "line": 96, "column": 48 } },
"37": { "start": { "line": 108, "column": 9 }, "end": { "line": 111, "column": 3 } },
"38": { "start": { "line": 110, "column": 4 }, "end": { "line": 110, "column": 56 } },
"39": { "start": { "line": 120, "column": 9 }, "end": { "line": 122, "column": 3 } },
"40": { "start": { "line": 121, "column": 4 }, "end": { "line": 121, "column": 46 } },
"41": { "start": { "line": 129, "column": 15 }, "end": { "line": 150, "column": 3 } },
"42": { "start": { "line": 130, "column": 17 }, "end": { "line": 130, "column": 70 } },
"43": { "start": { "line": 130, "column": 10 }, "end": { "line": 130, "column": 70 } },
"44": { "start": { "line": 131, "column": 4 }, "end": { "line": 133, "column": 5 } },
"45": { "start": { "line": 132, "column": 6 }, "end": { "line": 132, "column": 51 } },
"46": { "start": { "line": 135, "column": 10 }, "end": { "line": 139, "column": 6 } },
"47": { "start": { "line": 140, "column": 10 }, "end": { "line": 140, "column": 88 } },
"48": { "start": { "line": 140, "column": 69 }, "end": { "line": 140, "column": 86 } },
"49": { "start": { "line": 141, "column": 4 }, "end": { "line": 143, "column": 5 } },
"50": { "start": { "line": 142, "column": 6 }, "end": { "line": 142, "column": 51 } },
"51": { "start": { "line": 145, "column": 10 }, "end": { "line": 145, "column": 97 } },
"52": { "start": { "line": 145, "column": 62 }, "end": { "line": 145, "column": 95 } },
"53": { "start": { "line": 146, "column": 4 }, "end": { "line": 148, "column": 5 } },
"54": { "start": { "line": 147, "column": 6 }, "end": { "line": 147, "column": 66 } },
"55": { "start": { "line": 149, "column": 4 }, "end": { "line": 149, "column": 59 } },
"56": { "start": { "line": 149, "column": 4 }, "end": { "line": 149, "column": 60 } },
"57": { "start": { "line": 158, "column": 15 }, "end": { "line": 188, "column": 3 } },
"58": { "start": { "line": 159, "column": 17 }, "end": { "line": 159, "column": 66 } },
"59": { "start": { "line": 159, "column": 10 }, "end": { "line": 159, "column": 66 } },
"60": { "start": { "line": 160, "column": 4 }, "end": { "line": 162, "column": 5 } },
"61": { "start": { "line": 161, "column": 6 }, "end": { "line": 161, "column": 53 } },
"62": { "start": { "line": 165, "column": 10 }, "end": { "line": 165, "column": 84 } },
"63": { "start": { "line": 166, "column": 10 }, "end": { "line": 166, "column": 91 } },
"64": { "start": { "line": 166, "column": 72 }, "end": { "line": 166, "column": 89 } },
"65": { "start": { "line": 168, "column": 4 }, "end": { "line": 170, "column": 5 } },
"66": { "start": { "line": 169, "column": 6 }, "end": { "line": 169, "column": 53 } },
"67": { "start": { "line": 172, "column": 10 }, "end": { "line": 172, "column": 37 } },
"68": { "start": { "line": 173, "column": 4 }, "end": { "line": 175, "column": 5 } },
"69": { "start": { "line": 173, "column": 53 }, "end": { "line": 173, "column": 66 } },
"70": { "start": { "line": 174, "column": 6 }, "end": { "line": 174, "column": 57 } },
"71": { "start": { "line": 177, "column": 21 }, "end": { "line": 177, "column": 66 } },
"72": { "start": { "line": 177, "column": 10 }, "end": { "line": 177, "column": 66 } },
"73": { "start": { "line": 179, "column": 4 }, "end": { "line": 179, "column": 86 } },
"74": { "start": { "line": 179, "column": 4 }, "end": { "line": 179, "column": 87 } },
"75": { "start": { "line": 182, "column": 8 }, "end": { "line": 182, "column": 52 } },
"76": { "start": { "line": 183, "column": 6 }, "end": { "line": 183, "column": 66 } },
"77": { "start": { "line": 183, "column": 6 }, "end": { "line": 183, "column": 67 } },
"78": { "start": { "line": 187, "column": 4 }, "end": { "line": 187, "column": 43 } },
"79": { "start": { "line": 196, "column": 15 }, "end": { "line": 199, "column": 3 } },
"80": { "start": { "line": 197, "column": 21 }, "end": { "line": 197, "column": 54 } },
"81": { "start": { "line": 197, "column": 10 }, "end": { "line": 197, "column": 54 } },
"82": { "start": { "line": 198, "column": 4 }, "end": { "line": 198, "column": 49 } },
"83": { "start": { "line": 208, "column": 15 }, "end": { "line": 212, "column": 3 } },
"84": { "start": { "line": 209, "column": 22 }, "end": { "line": 209, "column": 83 } },
"85": { "start": { "line": 209, "column": 10 }, "end": { "line": 209, "column": 83 } },
"86": { "start": { "line": 210, "column": 21 }, "end": { "line": 210, "column": 54 } },
"87": { "start": { "line": 210, "column": 10 }, "end": { "line": 210, "column": 54 } },
"88": { "start": { "line": 211, "column": 4 }, "end": { "line": 211, "column": 49 } },
"89": { "start": { "line": 221, "column": 15 }, "end": { "line": 247, "column": 3 } },
"90": { "start": { "line": 222, "column": 4 }, "end": { "line": 224, "column": 5 } },
"91": { "start": { "line": 223, "column": 6 }, "end": { "line": 223, "column": 39 } },
"92": { "start": { "line": 225, "column": 17 }, "end": { "line": 225, "column": 55 } },
"93": { "start": { "line": 225, "column": 10 }, "end": { "line": 225, "column": 55 } },
"94": { "start": { "line": 226, "column": 4 }, "end": { "line": 228, "column": 5 } },
"95": { "start": { "line": 227, "column": 6 }, "end": { "line": 227, "column": 40 } },
"96": { "start": { "line": 230, "column": 10 }, "end": { "line": 230, "column": 37 } },
"97": { "start": { "line": 231, "column": 4 }, "end": { "line": 233, "column": 5 } },
"98": { "start": { "line": 231, "column": 50 }, "end": { "line": 231, "column": 63 } },
"99": { "start": { "line": 232, "column": 6 }, "end": { "line": 232, "column": 56 } },
"100": { "start": { "line": 234, "column": 10 }, "end": { "line": 234, "column": 40 } },
"101": { "start": { "line": 235, "column": 4 }, "end": { "line": 235, "column": 68 } },
"102": { "start": { "line": 235, "column": 4 }, "end": { "line": 235, "column": 69 } },
"103": { "start": { "line": 237, "column": 10 }, "end": { "line": 244, "column": 6 } },
"104": { "start": { "line": 246, "column": 4 }, "end": { "line": 246, "column": 57 } },
"105": { "start": { "line": 246, "column": 4 }, "end": { "line": 246, "column": 58 } },
"106": { "start": { "line": 256, "column": 15 }, "end": { "line": 278, "column": 3 } },
"107": { "start": { "line": 257, "column": 4 }, "end": { "line": 259, "column": 5 } },
"108": { "start": { "line": 258, "column": 6 }, "end": { "line": 258, "column": 39 } },
"109": { "start": { "line": 260, "column": 17 }, "end": { "line": 260, "column": 55 } },
"110": { "start": { "line": 260, "column": 10 }, "end": { "line": 260, "column": 55 } },
"111": { "start": { "line": 261, "column": 4 }, "end": { "line": 263, "column": 5 } },
"112": { "start": { "line": 262, "column": 6 }, "end": { "line": 262, "column": 40 } },
"113": { "start": { "line": 264, "column": 4 }, "end": { "line": 264, "column": 47 } },
"114": { "start": { "line": 265, "column": 10 }, "end": { "line": 265, "column": 40 } },
"115": { "start": { "line": 266, "column": 4 }, "end": { "line": 266, "column": 64 } },
"116": { "start": { "line": 266, "column": 4 }, "end": { "line": 266, "column": 65 } },
"117": { "start": { "line": 268, "column": 10 }, "end": { "line": 275, "column": 6 } },
"118": { "start": { "line": 277, "column": 4 }, "end": { "line": 277, "column": 57 } },
"119": { "start": { "line": 277, "column": 4 }, "end": { "line": 277, "column": 58 } },
"120": { "start": { "line": 288, "column": 15 }, "end": { "line": 307, "column": 3 } },
"121": { "start": { "line": 289, "column": 17 }, "end": { "line": 289, "column": 55 } },
"122": { "start": { "line": 289, "column": 10 }, "end": { "line": 289, "column": 55 } },
"123": { "start": { "line": 290, "column": 4 }, "end": { "line": 292, "column": 5 } },
"124": { "start": { "line": 291, "column": 6 }, "end": { "line": 291, "column": 40 } },
"125": { "start": { "line": 293, "column": 4 }, "end": { "line": 293, "column": 47 } },
"126": { "start": { "line": 294, "column": 10 }, "end": { "line": 294, "column": 40 } },
"127": { "start": { "line": 295, "column": 4 }, "end": { "line": 295, "column": 74 } },
"128": { "start": { "line": 295, "column": 4 }, "end": { "line": 295, "column": 75 } },
"129": { "start": { "line": 297, "column": 10 }, "end": { "line": 304, "column": 6 } },
"130": { "start": { "line": 306, "column": 4 }, "end": { "line": 306, "column": 54 } },
"131": { "start": { "line": 306, "column": 4 }, "end": { "line": 306, "column": 55 } },
"132": { "start": { "line": 314, "column": 15 }, "end": { "line": 348, "column": 3 } },
"133": { "start": { "line": 315, "column": 4 }, "end": { "line": 317, "column": 5 } },
"134": { "start": { "line": 316, "column": 6 }, "end": { "line": 316, "column": 55 } },
"135": { "start": { "line": 319, "column": 8 }, "end": { "line": 319, "column": 21 } },
"136": { "start": { "line": 319, "column": 26 }, "end": { "line": 319, "column": 73 } },
"137": { "start": { "line": 319, "column": 25 }, "end": { "line": 319, "column": 74 } },
"138": { "start": { "line": 319, "column": 4 }, "end": { "line": 321, "column": 5 } },
"139": { "start": { "line": 320, "column": 6 }, "end": { "line": 320, "column": 49 } },
"140": { "start": { "line": 323, "column": 8 }, "end": { "line": 323, "column": 18 } },
"141": { "start": { "line": 323, "column": 23 }, "end": { "line": 323, "column": 64 } },
"142": { "start": { "line": 323, "column": 22 }, "end": { "line": 323, "column": 65 } },
"143": { "start": { "line": 323, "column": 4 }, "end": { "line": 325, "column": 5 } },
"144": { "start": { "line": 324, "column": 6 }, "end": { "line": 324, "column": 46 } },
"145": { "start": { "line": 328, "column": 8 }, "end": { "line": 328, "column": 21 } },
"146": { "start": { "line": 329, "column": 6 }, "end": { "line": 331, "column": 7 } },
"147": { "start": { "line": 330, "column": 8 }, "end": { "line": 330, "column": 44 } },
"148": { "start": { "line": 332, "column": 17 }, "end": { "line": 332, "column": 64 } },
"149": { "start": { "line": 332, "column": 6 }, "end": { "line": 332, "column": 65 } },
"150": { "start": { "line": 335, "column": 10 }, "end": { "line": 340, "column": 6 } },
"151": { "start": { "line": 342, "column": 12 }, "end": { "line": 342, "column": 45 } },
"152": { "start": { "line": 343, "column": 8 }, "end": { "line": 343, "column": 35 } },
"153": { "start": { "line": 343, "column": 40 }, "end": { "line": 343, "column": 81 } },
"154": { "start": { "line": 343, "column": 39 }, "end": { "line": 343, "column": 81 } },
"155": { "start": { "line": 343, "column": 4 }, "end": { "line": 345, "column": 5 } },
"156": { "start": { "line": 344, "column": 6 }, "end": { "line": 344, "column": 38 } },
"157": { "start": { "line": 347, "column": 4 }, "end": { "line": 347, "column": 50 } },
"158": { "start": { "line": 350, "column": 16 }, "end": { "line": 389, "column": 3 } },
"159": { "start": { "line": 354, "column": 10 }, "end": { "line": 356, "column": 45 } },
"160": { "start": { "line": 360, "column": 8 }, "end": { "line": 360, "column": 10 } },
"161": { "start": { "line": 362, "column": 18 }, "end": { "line": 362, "column": 48 } },
"162": { "start": { "line": 362, "column": 6 }, "end": { "line": 362, "column": 49 } },
"163": { "start": { "line": 363, "column": 15 }, "end": { "line": 363, "column": 23 } },
"164": { "start": { "line": 365, "column": 18 }, "end": { "line": 365, "column": 60 } },
"165": { "start": { "line": 365, "column": 6 }, "end": { "line": 365, "column": 61 } },
"166": { "start": { "line": 366, "column": 15 }, "end": { "line": 366, "column": 20 } },
"167": { "start": { "line": 368, "column": 18 }, "end": { "line": 368, "column": 54 } },
"168": { "start": { "line": 368, "column": 6 }, "end": { "line": 368, "column": 55 } },
"169": { "start": { "line": 371, "column": 4 }, "end": { "line": 373, "column": 5 } },
"170": { "start": { "line": 372, "column": 6 }, "end": { "line": 372, "column": 40 } },
"171": { "start": { "line": 375, "column": 17 }, "end": { "line": 375, "column": 61 } },
"172": { "start": { "line": 375, "column": 10 }, "end": { "line": 375, "column": 61 } },
"173": { "start": { "line": 376, "column": 4 }, "end": { "line": 378, "column": 5 } },
"174": { "start": { "line": 377, "column": 6 }, "end": { "line": 377, "column": 50 } },
"175": { "start": { "line": 380, "column": 10 }, "end": { "line": 380, "column": 61 } },
"176": { "start": { "line": 381, "column": 10 }, "end": { "line": 381, "column": 87 } },
"177": { "start": { "line": 382, "column": 28 }, "end": { "line": 382, "column": 60 } },
"178": { "start": { "line": 382, "column": 10 }, "end": { "line": 382, "column": 60 } },
"179": { "start": { "line": 384, "column": 4 }, "end": { "line": 386, "column": 5 } },
"180": { "start": { "line": 385, "column": 6 }, "end": { "line": 385, "column": 44 } },
"181": { "start": { "line": 388, "column": 4 }, "end": { "line": 388, "column": 21 } },
"182": { "start": { "line": 391, "column": 16 }, "end": { "line": 395, "column": 3 } },
"183": { "start": { "line": 392, "column": 10 }, "end": { "line": 392, "column": 61 } },
"184": { "start": { "line": 393, "column": 10 }, "end": { "line": 393, "column": 97 } },
"185": { "start": { "line": 394, "column": 4 }, "end": { "line": 394, "column": 42 } },
"186": { "start": { "line": 403, "column": 10 }, "end": { "line": 414, "column": 3 } },
"187": { "start": { "line": 403, "column": 31 }, "end": { "line": 403, "column": 35 } },
"188": { "start": { "line": 403, "column": 37 }, "end": { "line": 403, "column": 45 } },
"189": { "start": { "line": 403, "column": 47 }, "end": { "line": 403, "column": 52 } },
"190": { "start": { "line": 403, "column": 54 }, "end": { "line": 403, "column": 56 } },
"191": { "start": { "line": 404, "column": 4 }, "end": { "line": 412, "column": 5 } },
"192": { "start": { "line": 405, "column": 6 }, "end": { "line": 411, "column": 7 } },
"193": { "start": { "line": 406, "column": 8 }, "end": { "line": 406, "column": 21 } },
"194": { "start": { "line": 407, "column": 8 }, "end": { "line": 407, "column": 24 } },
"195": { "start": { "line": 409, "column": 8 }, "end": { "line": 409, "column": 24 } },
"196": { "start": { "line": 410, "column": 8 }, "end": { "line": 410, "column": 21 } },
"197": { "start": { "line": 413, "column": 4 }, "end": { "line": 413, "column": 35 } },
"198": { "start": { "line": 415, "column": 0 }, "end": { "line": 415, "column": 1 } }
},
"fnMap": {
"0": {
"name": "(anonymous_13)",
"decl": { "start": { "line": 30, "column": 2 }, "end": { "line": 30, "column": 15 } },
"loc": { "start": { "line": 30, "column": 30 }, "end": { "line": 33, "column": 3 } }
},
"1": {
"name": "(anonymous_14)",
"decl": { "start": { "line": 34, "column": 2 }, "end": { "line": 34, "column": 18 } },
"loc": { "start": { "line": 34, "column": 42 }, "end": { "line": 37, "column": 3 } }
},
"2": {
"name": "(anonymous_15)",
"decl": { "start": { "line": 38, "column": 2 }, "end": { "line": 38, "column": 18 } },
"loc": { "start": { "line": 38, "column": 36 }, "end": { "line": 42, "column": 3 } }
},
"3": {
"name": "(anonymous_16)",
"decl": { "start": { "line": 45, "column": 0 }, "end": { "line": null, "column": -1 } },
"loc": { "start": { "line": 45, "column": 0 }, "end": { "line": 45, "column": -1 } }
},
"4": {
"name": "AccountsPassword",
"decl": { "start": { "line": 52, "column": 2 }, "end": { "line": 52, "column": 13 } },
"loc": { "start": { "line": 52, "column": 51 }, "end": { "line": 55, "column": 3 } }
},
"5": {
"name": "(anonymous_18)",
"decl": { "start": { "line": 57, "column": 2 }, "end": { "line": 57, "column": 17 } },
"loc": { "start": { "line": 57, "column": 42 }, "end": { "line": 60, "column": 3 } }
},
"6": {
"name": "(anonymous_19)",
"decl": { "start": { "line": 62, "column": 2 }, "end": { "line": 62, "column": 27 } },
"loc": { "start": { "line": 62, "column": 53 }, "end": { "line": 79, "column": 3 } }
},
"7": {
"name": "(anonymous_22)",
"decl": { "start": { "line": 86, "column": 2 }, "end": { "line": 86, "column": 24 } },
"loc": { "start": { "line": 86, "column": 38 }, "end": { "line": 88, "column": 3 } }
},
"8": {
"name": "(anonymous_23)",
"decl": { "start": { "line": 95, "column": 2 }, "end": { "line": 95, "column": 27 } },
"loc": { "start": { "line": 95, "column": 44 }, "end": { "line": 97, "column": 3 } }
},
"9": {
"name": "(anonymous_24)",
"decl": { "start": { "line": 108, "column": 2 }, "end": { "line": 108, "column": 17 } },
"loc": { "start": { "line": 108, "column": 69 }, "end": { "line": 111, "column": 3 } }
},
"10": {
"name": "(anonymous_25)",
"decl": { "start": { "line": 120, "column": 2 }, "end": { "line": 120, "column": 20 } },
"loc": { "start": { "line": 120, "column": 50 }, "end": { "line": 122, "column": 3 } }
},
"11": {
"name": "(anonymous_26)",
"decl": { "start": { "line": 129, "column": 2 }, "end": { "line": 129, "column": 26 } },
"loc": { "start": { "line": 129, "column": 40 }, "end": { "line": 150, "column": 3 } }
},
"12": {
"name": "(anonymous_29)",
"decl": { "start": { "line": 140, "column": 49 }, "end": { "line": 140, "column": 49 } },
"loc": { "start": { "line": 140, "column": 64 }, "end": { "line": 140, "column": 86 } }
},
"13": {
"name": "(anonymous_30)",
"decl": { "start": { "line": 145, "column": 42 }, "end": { "line": 145, "column": 42 } },
"loc": { "start": { "line": 145, "column": 57 }, "end": { "line": 145, "column": 95 } }
},
"14": {
"name": "(anonymous_31)",
"decl": { "start": { "line": 158, "column": 2 }, "end": { "line": 158, "column": 28 } },
"loc": { "start": { "line": 158, "column": 69 }, "end": { "line": 188, "column": 3 } }
},
"15": {
"name": "(anonymous_34)",
"decl": { "start": { "line": 166, "column": 67 }, "end": { "line": 166, "column": 66 } },
"loc": { "start": { "line": 166, "column": 68 }, "end": { "line": 166, "column": 89 } }
},
"16": {
"name": "(anonymous_35)",
"decl": { "start": { "line": 173, "column": 29 }, "end": { "line": 173, "column": 29 } },
"loc": { "start": { "line": 173, "column": 48 }, "end": { "line": 173, "column": 66 } }
},
"17": {
"name": "(anonymous_36)",
"decl": { "start": { "line": 196, "column": 2 }, "end": { "line": 196, "column": 26 } },
"loc": { "start": { "line": 196, "column": 62 }, "end": { "line": 199, "column": 3 } }
},
"18": {
"name": "(anonymous_39)",
"decl": { "start": { "line": 208, "column": 2 }, "end": { "line": 208, "column": 29 } },
"loc": { "start": { "line": 208, "column": 86 }, "end": { "line": 212, "column": 3 } }
},
"19": {
"name": "(anonymous_42)",
"decl": { "start": { "line": 221, "column": 2 }, "end": { "line": 221, "column": 36 } },
"loc": { "start": { "line": 221, "column": 52 }, "end": { "line": 247, "column": 3 } }
},
"20": {
"name": "(anonymous_45)",
"decl": { "start": { "line": 231, "column": 41 }, "end": { "line": 231, "column": 40 } },
"loc": { "start": { "line": 231, "column": 46 }, "end": { "line": 231, "column": 63 } }
},
"21": {
"name": "(anonymous_46)",
"decl": { "start": { "line": 256, "column": 2 }, "end": { "line": 256, "column": 37 } },
"loc": { "start": { "line": 256, "column": 53 }, "end": { "line": 278, "column": 3 } }
},
"22": {
"name": "(anonymous_49)",
"decl": { "start": { "line": 288, "column": 2 }, "end": { "line": 288, "column": 34 } },
"loc": { "start": { "line": 288, "column": 50 }, "end": { "line": 307, "column": 3 } }
},
"23": {
"name": "(anonymous_52)",
"decl": { "start": { "line": 314, "column": 2 }, "end": { "line": 314, "column": 25 } },
"loc": { "start": { "line": 314, "column": 54 }, "end": { "line": 348, "column": 3 } }
},
"24": {
"name": "(anonymous_55)",
"decl": { "start": { "line": 350, "column": 2 }, "end": { "line": 351, "column": 3 } },
"loc": { "start": { "line": 352, "column": 26 }, "end": { "line": 389, "column": 3 } }
},
"25": {
"name": "(anonymous_58)",
"decl": { "start": { "line": 391, "column": 2 }, "end": { "line": 391, "column": 37 } },
"loc": { "start": { "line": 391, "column": 60 }, "end": { "line": 395, "column": 3 } }
},
"26": {
"name": "(anonymous_61)",
"decl": { "start": { "line": 403, "column": 2 }, "end": { "line": 403, "column": 28 } },
"loc": { "start": { "line": 403, "column": 63 }, "end": { "line": 414, "column": 3 } }
}
},
"branchMap": {
"0": {
"loc": { "start": { "line": 31, "column": 20 }, "end": { "line": 31, "column": 47 } },
"type": "binary-expr",
"locations": [
{ "start": { "line": 31, "column": 20 }, "end": { "line": 31, "column": 47 } },
{ "start": { "line": 31, "column": 51 }, "end": { "line": 31, "column": 65 } }
]
},
"1": {
"loc": { "start": { "line": 31, "column": 34 }, "end": { "line": 31, "column": 39 } },
"type": "binary-expr",
"locations": [
{ "start": { "line": 31, "column": 34 }, "end": { "line": 31, "column": 39 } },
{ "start": { "line": 31, "column": 43 }, "end": { "line": 31, "column": 45 } }
]
},
"2": {
"loc": { "start": { "line": 40, "column": 20 }, "end": { "line": 40, "column": 28 } },
"type": "binary-expr",
"locations": [
{ "start": { "line": 40, "column": 20 }, "end": { "line": 40, "column": 28 } },
{ "start": { "line": 40, "column": 32 }, "end": { "line": 40, "column": 56 } },
{ "start": { "line": 40, "column": 60 }, "end": { "line": 40, "column": 88 } }
]
},
"3": {
"loc": { "start": { "line": 52, "column": 14 }, "end": { "line": 52, "column": 51 } },
"type": "if",
"locations": [
{ "start": { "line": 52, "column": 14 }, "end": { "line": 52, "column": 51 } },
{ "start": { "line": 52, "column": 14 }, "end": { "line": 52, "column": 51 } }
]
},
"4": {
"loc": { "start": { "line": 64, "column": 4 }, "end": { "line": 66, "column": 5 } },
"type": "if",
"locations": [
{ "start": { "line": 64, "column": 4 }, "end": { "line": 66, "column": 5 } },
{ "start": { "line": 64, "column": 4 }, "end": { "line": 66, "column": 5 } }
]
},
"5": {
"loc": { "start": { "line": 64, "column": 8 }, "end": { "line": 64, "column": 13 } },
"type": "binary-expr",
"locations": [
{ "start": { "line": 64, "column": 8 }, "end": { "line": 64, "column": 13 } },
{ "start": { "line": 64, "column": 17 }, "end": { "line": 64, "column": 26 } }
]
},
"6": {
"loc": { "start": { "line": 67, "column": 4 }, "end": { "line": 69, "column": 5 } },
"type": "if",
"locations": [
{ "start": { "line": 67, "column": 4 }, "end": { "line": 69, "column": 5 } },
{ "start": { "line": 67, "column": 4 }, "end": { "line": 69, "column": 5 } }
]
},
"7": {
"loc": { "start": { "line": 67, "column": 9 }, "end": { "line": 67, "column": 24 } },
"type": "binary-expr",
"locations": [
{ "start": { "line": 67, "column": 9 }, "end": { "line": 67, "column": 24 } },
{ "start": { "line": 67, "column": 28 }, "end": { "line": 67, "column": 48 } },
{ "start": { "line": 67, "column": 53 }, "end": { "line": 67, "column": 72 } }
]
},
"8": {
"loc": { "start": { "line": 131, "column": 4 }, "end": { "line": 133, "column": 5 } },
"type": "if",
"locations": [
{ "start": { "line": 131, "column": 4 }, "end": { "line": 133, "column": 5 } },
{ "start": { "line": 131, "column": 4 }, "end": { "line": 133, "column": 5 } }
]
},
"9": {
"loc": { "start": { "line": 141, "column": 4 }, "end": { "line": 143, "column": 5 } },
"type": "if",
"locations": [
{ "start": { "line": 141, "column": 4 }, "end": { "line": 143, "column": 5 } },
{ "start": { "line": 141, "column": 4 }, "end": { "line": 143, "column": 5 } }
]
},
"10": {
"loc": { "start": { "line": 146, "column": 4 }, "end": { "line": 148, "column": 5 } },
"type": "if",
"locations": [
{ "start": { "line": 146, "column": 4 }, "end": { "line": 148, "column": 5 } },
{ "start": { "line": 146, "column": 4 }, "end": { "line": 148, "column": 5 } }
]
},
"11": {
"loc": { "start": { "line": 160, "column": 4 }, "end": { "line": 162, "column": 5 } },
"type": "if",
"locations": [
{ "start": { "line": 160, "column": 4 }, "end": { "line": 162, "column": 5 } },
{ "start": { "line": 160, "column": 4 }, "end": { "line": 162, "column": 5 } }
]
},
"12": {
"loc": { "start": { "line": 168, "column": 4 }, "end": { "line": 170, "column": 5 } },
"type": "if",
"locations": [
{ "start": { "line": 168, "column": 4 }, "end": { "line": 170, "column": 5 } },
{ "start": { "line": 168, "column": 4 }, "end": { "line": 170, "column": 5 } }
]
},
"13": {
"loc": { "start": { "line": 172, "column": 19 }, "end": { "line": 172, "column": 30 } },
"type": "binary-expr",
"locations": [
{ "start": { "line": 172, "column": 19 }, "end": { "line": 172, "column": 30 } },
{ "start": { "line": 172, "column": 34 }, "end": { "line": 172, "column": 36 } }
]
},
"14": {
"loc": { "start": { "line": 173, "column": 4 }, "end": { "line": 175, "column": 5 } },
"type": "if",
"locations": [
{ "start": { "line": 173, "column": 4 }, "end": { "line": 175, "column": 5 } },
{ "start": { "line": 173, "column": 4 }, "end": { "line": 175, "column": 5 } }
]
},
"15": {
"loc": { "start": { "line": 222, "column": 4 }, "end": { "line": 224, "column": 5 } },
"type": "if",
"locations": [
{ "start": { "line": 222, "column": 4 }, "end": { "line": 224, "column": 5 } },
{ "start": { "line": 222, "column": 4 }, "end": { "line": 224, "column": 5 } }
]
},
"16": {
"loc": { "start": { "line": 226, "column": 4 }, "end": { "line": 228, "column": 5 } },
"type": "if",
"locations": [
{ "start": { "line": 226, "column": 4 }, "end": { "line": 228, "column": 5 } },
{ "start": { "line": 226, "column": 4 }, "end": { "line": 228, "column": 5 } }
]
},
"17": {
"loc": { "start": { "line": 230, "column": 19 }, "end": { "line": 230, "column": 30 } },
"type": "binary-expr",
"locations": [
{ "start": { "line": 230, "column": 19 }, "end": { "line": 230, "column": 30 } },
{ "start": { "line": 230, "column": 34 }, "end": { "line": 230, "column": 36 } }
]
},
"18": {
"loc": { "start": { "line": 231, "column": 4 }, "end": { "line": 233, "column": 5 } },
"type": "if",
"locations": [
{ "start": { "line": 231, "column": 4 }, "end": { "line": 233, "column": 5 } },
{ "start": { "line": 231, "column": 4 }, "end": { "line": 233, "column": 5 } }
]
},
"19": {
"loc": { "start": { "line": 231, "column": 8 }, "end": { "line": 231, "column": 16 } },
"type": "binary-expr",
"locations": [
{ "start": { "line": 231, "column": 8 }, "end": { "line": 231, "column": 16 } },
{ "start": { "line": 231, "column": 20 }, "end": { "line": 231, "column": 74 } }
]
},
"20": {
"loc": { "start": { "line": 257, "column": 4 }, "end": { "line": 259, "column": 5 } },
"type": "if",
"locations": [
{ "start": { "line": 257, "column": 4 }, "end": { "line": 259, "column": 5 } },
{ "start": { "line": 257, "column": 4 }, "end": { "line": 259, "column": 5 } }
]
},
"21": {
"loc": { "start": { "line": 261, "column": 4 }, "end": { "line": 263, "column": 5 } },
"type": "if",
"locations": [
{ "start": { "line": 261, "column": 4 }, "end": { "line": 263, "column": 5 } },
{ "start": { "line": 261, "column": 4 }, "end": { "line": 263, "column": 5 } }
]
},
"22": {
"loc": { "start": { "line": 290, "column": 4 }, "end": { "line": 292, "column": 5 } },
"type": "if",
"locations": [
{ "start": { "line": 290, "column": 4 }, "end": { "line": 292, "column": 5 } },
{ "start": { "line": 290, "column": 4 }, "end": { "line": 292, "column": 5 } }
]
},
"23": {
"loc": { "start": { "line": 315, "column": 4 }, "end": { "line": 317, "column": 5 } },
"type": "if",
"locations": [
{ "start": { "line": 315, "column": 4 }, "end": { "line": 317, "column": 5 } },
{ "start": { "line": 315, "column": 4 }, "end": { "line": 317, "column": 5 } }
]
},
"24": {
"loc": { "start": { "line": 315, "column": 8 }, "end": { "line": 315, "column": 53 } },
"type": "binary-expr",
"locations": [
{ "start": { "line": 315, "column": 8 }, "end": { "line": 315, "column": 53 } },
{ "start": { "line": 315, "column": 57 }, "end": { "line": 315, "column": 96 } }
]
},
"25": {
"loc": { "start": { "line": 319, "column": 4 }, "end": { "line": 321, "column": 5 } },
"type": "if",
"locations": [
{ "start": { "line": 319, "column": 4 }, "end": { "line": 321, "column": 5 } },
{ "start": { "line": 319, "column": 4 }, "end": { "line": 321, "column": 5 } }
]
},
"26": {
"loc": { "start": { "line": 323, "column": 4 }, "end": { "line": 325, "column": 5 } },
"type": "if",
"locations": [
{ "start": { "line": 323, "column": 4 }, "end": { "line": 325, "column": 5 } },
{ "start": { "line": 323, "column": 4 }, "end": { "line": 325, "column": 5 } }
]
},
"27": {
"loc": { "start": { "line": 329, "column": 6 }, "end": { "line": 331, "column": 7 } },
"type": "if",
"locations": [
{ "start": { "line": 329, "column": 6 }, "end": { "line": 331, "column": 7 } },
{ "start": { "line": 329, "column": 6 }, "end": { "line": 331, "column": 7 } }
]
},
"28": {
"loc": { "start": { "line": 337, "column": 13 }, "end": { "line": 337, "column": 23 } },
"type": "binary-expr",
"locations": [
{ "start": { "line": 337, "column": 13 }, "end": { "line": 337, "column": 23 } },
{ "start": { "line": 337, "column": 27 }, "end": { "line": 337, "column": 51 } }
]
},
"29": {
"loc": { "start": { "line": 343, "column": 4 }, "end": { "line": 345, "column": 5 } },
"type": "if",
"locations": [
{ "start": { "line": 343, "column": 4 }, "end": { "line": 345, "column": 5 } },
{ "start": { "line": 343, "column": 4 }, "end": { "line": 345, "column": 5 } }
]
},
"30": {
"loc": { "start": { "line": 355, "column": 8 }, "end": { "line": 355, "column": 41 } },
"type": "cond-expr",
"locations": [
{ "start": { "line": 355, "column": 8 }, "end": { "line": 355, "column": 41 } },
{ "start": { "line": 356, "column": 8 }, "end": { "line": 356, "column": 44 } }
]
},
"31": {
"loc": { "start": { "line": 371, "column": 4 }, "end": { "line": 373, "column": 5 } },
"type": "if",
"locations": [
{ "start": { "line": 371, "column": 4 }, "end": { "line": 373, "column": 5 } },
{ "start": { "line": 371, "column": 4 }, "end": { "line": 373, "column": 5 } }
]
},
"32": {
"loc": { "start": { "line": 376, "column": 4 }, "end": { "line": 378, "column": 5 } },
"type": "if",
"locations": [
{ "start": { "line": 376, "column": 4 }, "end": { "line": 378, "column": 5 } },
{ "start": { "line": 376, "column": 4 }, "end": { "line": 378, "column": 5 } }
]
},
"33": {
"loc": { "start": { "line": 381, "column": 38 }, "end": { "line": 381, "column": 75 } },
"type": "cond-expr",
"locations": [
{ "start": { "line": 381, "column": 38 }, "end": { "line": 381, "column": 75 } },
{ "start": { "line": 381, "column": 78 }, "end": { "line": 381, "column": 86 } }
]
},
"34": {
"loc": { "start": { "line": 384, "column": 4 }, "end": { "line": 386, "column": 5 } },
"type": "if",
"locations": [
{ "start": { "line": 384, "column": 4 }, "end": { "line": 386, "column": 5 } },
{ "start": { "line": 384, "column": 4 }, "end": { "line": 386, "column": 5 } }
]
},
"35": {
"loc": { "start": { "line": 393, "column": 48 }, "end": { "line": 393, "column": 85 } },
"type": "cond-expr",
"locations": [
{ "start": { "line": 393, "column": 48 }, "end": { "line": 393, "column": 85 } },
{ "start": { "line": 393, "column": 88 }, "end": { "line": 393, "column": 96 } }
]
},
"36": {
"loc": { "start": { "line": 404, "column": 4 }, "end": { "line": 412, "column": 5 } },
"type": "if",
"locations": [
{ "start": { "line": 404, "column": 4 }, "end": { "line": 412, "column": 5 } },
{ "start": { "line": 404, "column": 4 }, "end": { "line": 412, "column": 5 } }
]
},
"37": {
"loc": { "start": { "line": 404, "column": 8 }, "end": { "line": 404, "column": 12 } },
"type": "binary-expr",
"locations": [
{ "start": { "line": 404, "column": 8 }, "end": { "line": 404, "column": 12 } },
{ "start": { "line": 404, "column": 16 }, "end": { "line": 404, "column": 25 } },
{ "start": { "line": 404, "column": 29 }, "end": { "line": 404, "column": 35 } }
]
},
"38": {
"loc": { "start": { "line": 405, "column": 6 }, "end": { "line": 411, "column": 7 } },
"type": "if",
"locations": [
{ "start": { "line": 405, "column": 6 }, "end": { "line": 411, "column": 7 } },
{ "start": { "line": 405, "column": 6 }, "end": { "line": 411, "column": 7 } }
]
}
},
"s": {
"0": 2,
"1": 2,
"2": 2,
"3": 2,
"4": 2,
"5": 2,
"6": 4,
"7": 4,
"8": 2,
"9": 2,
"10": 5,
"11": 5,
"12": 5,
"13": 2,
"14": 3,
"15": 3,
"16": 3,
"17": 3,
"18": 2,
"19": 30,
"20": 30,
"21": 2,
"22": 6,
"23": 6,
"24": 1,
"25": 5,
"26": 1,
"27": 4,
"28": 4,
"29": 1,
"30": 0,
"31": 0,
"32": 1,
"33": 2,
"34": 1,
"35": 2,
"36": 1,
"37": 2,
"38": 1,
"39": 2,
"40": 1,
"41": 2,
"42": 4,
"43": 4,
"44": 4,
"45": 1,
"46": 3,
"47": 3,
"48": 2,
"49": 3,
"50": 1,
"51": 2,
"52": 1,
"53": 2,
"54": 1,
"55": 1,
"56": 1,
"57": 2,
"58": 5,
"59": 5,
"60": 5,
"61": 1,
"62": 4,
"63": 4,
"64": 4,
"65": 4,
"66": 1,
"67": 3,
"68": 3,
"69": 2,
"70": 1,
"71": 2,
"72": 2,
"73": 2,
"74": 2,
"75": 1,
"76": 1,
"77": 1,
"78": 2,
"79": 2,
"80": 1,
"81": 1,
"82": 1,
"83": 2,
"84": 1,
"85": 1,
"86": 1,
"87": 1,
"88": 1,
"89": 2,
"90": 5,
"91": 1,
"92": 4,
"93": 4,
"94": 4,
"95": 1,
"96": 3,
"97": 3,
"98": 4,
"99": 1,
"100": 2,
"101": 2,
"102": 2,
"103": 2,
"104": 2,
"105": 2,
"106": 2,
"107": 3,
"108": 1,
"109": 2,
"110": 2,
"111": 2,
"112": 1,
"113": 1,
"114": 1,
"115": 1,
"116": 1,
"117": 1,
"118": 1,
"119": 1,
"120": 2,
"121": 2,
"122": 2,
"123": 2,
"124": 1,
"125": 1,
"126": 1,
"127": 1,
"128": 1,
"129": 1,
"130": 1,
"131": 1,
"132": 2,
"133": 5,
"134": 1,
"135": 7,
"136": 1,
"137": 1,
"138": 4,
"139": 1,
"140": 3,
"141": 3,
"142": 3,
"143": 3,
"144": 1,
"145": 0,
"146": 2,
"147": 0,
"148": 2,
"149": 2,
"150": 2,
"151": 2,
"152": 3,
"153": 1,
"154": 1,
"155": 2,
"156": 1,
"157": 1,
"158": 2,
"159": 3,
"160": 3,
"161": 0,
"162": 0,
"163": 3,
"164": 0,
"165": 0,
"166": 0,
"167": 3,
"168": 3,
"169": 3,
"170": 1,
"171": 2,
"172": 2,
"173": 2,
"174": 1,
"175": 1,
"176": 1,
"177": 1,
"178": 1,
"179": 1,
"180": 1,
"181": 0,
"182": 2,
"183": 4,
"184": 4,
"185": 4,
"186": 2,
"187": 3,
"188": 3,
"189": 3,
"190": 3,
"191": 3,
"192": 3,
"193": 3,
"194": 3,
"195": 0,
"196": 0,
"197": 3,
"198": 2
},
"f": {
"0": 4,
"1": 2,
"2": 5,
"3": 2,
"4": 3,
"5": 30,
"6": 6,
"7": 1,
"8": 1,
"9": 1,
"10": 1,
"11": 4,
"12": 2,
"13": 1,
"14": 5,
"15": 4,
"16": 2,
"17": 1,
"18": 1,
"19": 5,
"20": 4,
"21": 3,
"22": 2,
"23": 5,
"24": 3,
"25": 4,
"26": 3
},
"b": {
"0": [4, 3],
"1": [4, 1],
"2": [5, 1, 1],
"3": [0, 3],
"4": [1, 5],
"5": [6, 5],
"6": [1, 4],
"7": [5, 0, 5],
"8": [1, 3],
"9": [1, 2],
"10": [1, 1],
"11": [1, 4],
"12": [1, 3],
"13": [3, 0],
"14": [1, 2],
"15": [1, 4],
"16": [1, 3],
"17": [3, 1],
"18": [1, 2],
"19": [3, 3],
"20": [1, 2],
"21": [1, 1],
"22": [1, 1],
"23": [1, 4],
"24": [5, 4],
"25": [1, 3],
"26": [1, 2],
"27": [0, 2],
"28": [2, 2],
"29": [1, 1],
"30": [3, 0],
"31": [1, 2],
"32": [1, 1],
"33": [0, 1],
"34": [1, 0],
"35": [0, 4],
"36": [3, 0],
"37": [3, 3, 3],
"38": [3, 0]
}
},
"/Users/leo/dev/accounts-js/accounts/packages/password/src/index.ts": {
"path": "/Users/leo/dev/accounts-js/accounts/packages/password/src/index.ts",
"statementMap": {
"0": { "start": { "line": 1, "column": 0 }, "end": { "line": 1, "column": 50 } },
"1": { "start": { "line": 4, "column": 9 }, "end": { "line": 4, "column": 25 } },
"2": { "start": { "line": 3, "column": 0 }, "end": { "line": 3, "column": 32 } }
},
"fnMap": {},
"branchMap": {},
"s": { "0": 2, "1": 2, "2": 2 },
"f": {},
"b": {}
},
"/Users/leo/dev/accounts-js/accounts/packages/password/src/utils/encryption.ts": {
"path": "/Users/leo/dev/accounts-js/accounts/packages/password/src/utils/encryption.ts",
"statementMap": {
"0": { "start": { "line": 1, "column": 0 }, "end": { "line": 23, "column": -1 } },
"1": { "start": { "line": 1, "column": 0 }, "end": { "line": 1, "column": 34 } },
"2": { "start": { "line": 2, "column": 0 }, "end": { "line": 2, "column": 32 } },
"3": { "start": { "line": 5, "column": 13 }, "end": { "line": 9, "column": 2 } },
"4": { "start": { "line": 6, "column": 15 }, "end": { "line": 6, "column": 39 } },
"5": { "start": { "line": 6, "column": 8 }, "end": { "line": 6, "column": 39 } },
"6": { "start": { "line": 7, "column": 15 }, "end": { "line": 7, "column": 48 } },
"7": { "start": { "line": 7, "column": 8 }, "end": { "line": 7, "column": 48 } },
"8": { "start": { "line": 8, "column": 2 }, "end": { "line": 8, "column": 14 } },
"9": { "start": { "line": 11, "column": 13 }, "end": { "line": 19, "column": 2 } },
"10": { "start": { "line": 12, "column": 2 }, "end": { "line": 16, "column": 3 } },
"11": { "start": { "line": 13, "column": 17 }, "end": { "line": 13, "column": 45 } },
"12": { "start": { "line": 14, "column": 4 }, "end": { "line": 14, "column": 26 } },
"13": { "start": { "line": 15, "column": 4 }, "end": { "line": 15, "column": 30 } },
"14": { "start": { "line": 18, "column": 2 }, "end": { "line": 18, "column": 25 } },
"15": { "start": { "line": 21, "column": 13 }, "end": { "line": 22, "column": 33 } },
"16": { "start": { "line": 22, "column": 2 }, "end": { "line": 22, "column": 32 } }
},
"fnMap": {
"0": {
"name": "(anonymous_12)",
"decl": { "start": { "line": 5, "column": 30 }, "end": { "line": 5, "column": 36 } },
"loc": { "start": { "line": 5, "column": 53 }, "end": { "line": 9, "column": 1 } }
},
"1": {
"name": "(anonymous_15)",
"decl": { "start": { "line": 11, "column": 28 }, "end": { "line": 11, "column": 28 } },
"loc": { "start": { "line": 11, "column": 70 }, "end": { "line": 19, "column": 1 } }
},
"2": {
"name": "(anonymous_16)",
"decl": { "start": { "line": 21, "column": 30 }, "end": { "line": 21, "column": 36 } },
"loc": { "start": { "line": 21, "column": 67 }, "end": { "line": 22, "column": 32 } }
}
},
"branchMap": {
"0": {
"loc": { "start": { "line": 12, "column": 2 }, "end": { "line": 16, "column": 3 } },
"type": "if",
"locations": [
{ "start": { "line": 12, "column": 2 }, "end": { "line": 16, "column": 3 } },
{ "start": { "line": 12, "column": 2 }, "end": { "line": 16, "column": 3 } }
]
}
},
"s": {
"0": 3,
"1": 3,
"2": 3,
"3": 3,
"4": 8,
"5": 8,
"6": 8,
"7": 8,
"8": 8,
"9": 3,
"10": 2,
"11": 1,
"12": 1,
"13": 1,
"14": 1,
"15": 3,
"16": 2
},
"f": { "0": 8, "1": 2, "2": 2 },
"b": { "0": [1, 1] }
},
"/Users/leo/dev/accounts-js/accounts/packages/password/src/utils/isEmail.ts": {
"path": "/Users/leo/dev/accounts-js/accounts/packages/password/src/utils/isEmail.ts",
"statementMap": {
"0": { "start": { "line": 1, "column": 13 }, "end": { "line": 4, "column": 2 } },
"1": { "start": { "line": 2, "column": 13 }, "end": { "line": 2, "column": 168 } },
"2": { "start": { "line": 3, "column": 2 }, "end": { "line": 3, "column": 33 } }
},
"fnMap": {
"0": {
"name": "(anonymous_0)",
"decl": { "start": { "line": 1, "column": 23 }, "end": { "line": 1, "column": 23 } },
"loc": { "start": { "line": 1, "column": 38 }, "end": { "line": 4, "column": 1 } }
}
},
"branchMap": {
"0": {
"loc": { "start": { "line": 3, "column": 9 }, "end": { "line": 3, "column": 14 } },
"type": "binary-expr",
"locations": [
{ "start": { "line": 3, "column": 9 }, "end": { "line": 3, "column": 14 } },
{ "start": { "line": 3, "column": 18 }, "end": { "line": 3, "column": 32 } }
]
}
},
"s": { "0": 2, "1": 6, "2": 6 },
"f": { "0": 6 },
"b": { "0": [6, 6] }
}
{"/Users/davidy/work/accounts/accounts/packages/password/src/accounts-password.ts": {"path":"/Users/davidy/work/accounts/accounts/packages/password/src/accounts-password.ts","statementMap":{"0":{"start":{"line":1,"column":0},"end":{"line":10,"column":15}},"1":{"start":{"line":19,"column":0},"end":{"line":24,"column":25}},"2":{"start":{"line":25,"column":0},"end":{"line":25,"column":62}},"3":{"start":{"line":26,"column":0},"end":{"line":26,"column":75}},"4":{"start":{"line":33,"column":13},"end":{"line":36,"column":2}},"5":{"start":{"line":34,"column":13},"end":{"line":34,"column":168}},"6":{"start":{"line":35,"column":2},"end":{"line":35,"column":33}},"7":{"start":{"line":49,"column":23},"end":{"line":67,"column":1}},"8":{"start":{"line":54,"column":20},"end":{"line":54,"column":65}},"9":{"start":{"line":55,"column":4},"end":{"line":55,"column":28}},"10":{"start":{"line":58,"column":20},"end":{"line":58,"column":38}},"11":{"start":{"line":59,"column":4},"end":{"line":59,"column":19}},"12":{"start":{"line":62,"column":26},"end":{"line":62,"column":50}},"13":{"start":{"line":64,"column":6},"end":{"line":64,"column":74}},"14":{"start":{"line":65,"column":4},"end":{"line":65,"column":28}},"15":{"start":{"line":69,"column":0},"end":{"line":457,"column":0}},"16":{"start":{"line":75,"column":14},"end":{"line":75,"column":51}},"17":{"start":{"line":70,"column":9},"end":{"line":70,"column":34}},"18":{"start":{"line":76,"column":4},"end":{"line":76,"column":53}},"19":{"start":{"line":79,"column":9},"end":{"line":81,"column":3}},"20":{"start":{"line":80,"column":4},"end":{"line":80,"column":20}},"21":{"start":{"line":83,"column":15},"end":{"line":109,"column":3}},"22":{"start":{"line":86,"column":12},"end":{"line":86,"column":38}},"23":{"start":{"line":87,"column":4},"end":{"line":89,"column":5}},"24":{"start":{"line":88,"column":6},"end":{"line":88,"column":64}},"25":{"start":{"line":90,"column":4},"end":{"line":92,"column":5}},"26":{"start":{"line":91,"column":6},"end":{"line":91,"column":38}},"27":{"start":{"line":102,"column":16},"end":{"line":102,"column":64}},"28":{"start":{"line":102,"column":4},"end":{"line":102,"column":65}},"29":{"start":{"line":104,"column":4},"end":{"line":106,"column":5}},"30":{"start":{"line":105,"column":6},"end":{"line":105,"column":40}},"31":{"start":{"line":108,"column":4},"end":{"line":108,"column":21}},"32":{"start":{"line":116,"column":9},"end":{"line":118,"column":3}},"33":{"start":{"line":117,"column":4},"end":{"line":117,"column":42}},"34":{"start":{"line":125,"column":9},"end":{"line":127,"column":3}},"35":{"start":{"line":126,"column":4},"end":{"line":126,"column":48}},"36":{"start":{"line":138,"column":9},"end":{"line":144,"column":3}},"37":{"start":{"line":143,"column":4},"end":{"line":143,"column":56}},"38":{"start":{"line":153,"column":9},"end":{"line":155,"column":3}},"39":{"start":{"line":154,"column":4},"end":{"line":154,"column":46}},"40":{"start":{"line":162,"column":15},"end":{"line":189,"column":3}},"41":{"start":{"line":163,"column":17},"end":{"line":163,"column":70}},"42":{"start":{"line":163,"column":10},"end":{"line":163,"column":70}},"43":{"start":{"line":164,"column":4},"end":{"line":166,"column":5}},"44":{"start":{"line":165,"column":6},"end":{"line":165,"column":51}},"45":{"start":{"line":168,"column":10},"end":{"line":172,"column":6}},"46":{"start":{"line":173,"column":10},"end":{"line":176,"column":6}},"47":{"start":{"line":175,"column":26},"end":{"line":175,"column":43}},"48":{"start":{"line":177,"column":4},"end":{"line":179,"column":5}},"49":{"start":{"line":178,"column":6},"end":{"line":178,"column":51}},"50":{"start":{"line":181,"column":10},"end":{"line":184,"column":6}},"51":{"start":{"line":183,"column":26},"end":{"line":183,"column":59}},"52":{"start":{"line":185,"column":4},"end":{"line":187,"column":5}},"53":{"start":{"line":186,"column":6},"end":{"line":186,"column":66}},"54":{"start":{"line":188,"column":4},"end":{"line":188,"column":59}},"55":{"start":{"line":188,"column":4},"end":{"line":188,"column":60}},"56":{"start":{"line":197,"column":15},"end":{"line":234,"column":3}},"57":{"start":{"line":201,"column":17},"end":{"line":201,"column":66}},"58":{"start":{"line":201,"column":10},"end":{"line":201,"column":66}},"59":{"start":{"line":202,"column":4},"end":{"line":204,"column":5}},"60":{"start":{"line":203,"column":6},"end":{"line":203,"column":53}},"61":{"start":{"line":207,"column":10},"end":{"line":207,"column":69}},"62":{"start":{"line":208,"column":10},"end":{"line":208,"column":71}},"63":{"start":{"line":208,"column":52},"end":{"line":208,"column":69}},"64":{"start":{"line":210,"column":4},"end":{"line":212,"column":5}},"65":{"start":{"line":211,"column":6},"end":{"line":211,"column":53}},"66":{"start":{"line":214,"column":10},"end":{"line":214,"column":37}},"67":{"start":{"line":215,"column":4},"end":{"line":222,"column":5}},"68":{"start":{"line":217,"column":43},"end":{"line":217,"column":56}},"69":{"start":{"line":221,"column":6},"end":{"line":221,"column":57}},"70":{"start":{"line":224,"column":21},"end":{"line":224,"column":66}},"71":{"start":{"line":224,"column":10},"end":{"line":224,"column":66}},"72":{"start":{"line":226,"column":4},"end":{"line":231,"column":5}},"73":{"start":{"line":226,"column":4},"end":{"line":231,"column":6}},"74":{"start":{"line":233,"column":4},"end":{"line":233,"column":43}},"75":{"start":{"line":242,"column":15},"end":{"line":245,"column":3}},"76":{"start":{"line":243,"column":21},"end":{"line":243,"column":54}},"77":{"start":{"line":243,"column":10},"end":{"line":243,"column":54}},"78":{"start":{"line":244,"column":4},"end":{"line":244,"column":49}},"79":{"start":{"line":254,"column":15},"end":{"line":280,"column":3}},"80":{"start":{"line":255,"column":4},"end":{"line":257,"column":5}},"81":{"start":{"line":256,"column":6},"end":{"line":256,"column":39}},"82":{"start":{"line":258,"column":17},"end":{"line":258,"column":55}},"83":{"start":{"line":258,"column":10},"end":{"line":258,"column":55}},"84":{"start":{"line":259,"column":4},"end":{"line":261,"column":5}},"85":{"start":{"line":260,"column":6},"end":{"line":260,"column":40}},"86":{"start":{"line":263,"column":10},"end":{"line":263,"column":37}},"87":{"start":{"line":264,"column":4},"end":{"line":266,"column":5}},"88":{"start":{"line":264,"column":50},"end":{"line":264,"column":63}},"89":{"start":{"line":265,"column":6},"end":{"line":265,"column":56}},"90":{"start":{"line":267,"column":10},"end":{"line":267,"column":40}},"91":{"start":{"line":268,"column":4},"end":{"line":268,"column":68}},"92":{"start":{"line":268,"column":4},"end":{"line":268,"column":69}},"93":{"start":{"line":270,"column":10},"end":{"line":277,"column":6}},"94":{"start":{"line":279,"column":4},"end":{"line":279,"column":55}},"95":{"start":{"line":279,"column":4},"end":{"line":279,"column":56}},"96":{"start":{"line":289,"column":15},"end":{"line":311,"column":3}},"97":{"start":{"line":290,"column":4},"end":{"line":292,"column":5}},"98":{"start":{"line":291,"column":6},"end":{"line":291,"column":39}},"99":{"start":{"line":293,"column":17},"end":{"line":293,"column":55}},"100":{"start":{"line":293,"column":10},"end":{"line":293,"column":55}},"101":{"start":{"line":294,"column":4},"end":{"line":296,"column":5}},"102":{"start":{"line":295,"column":6},"end":{"line":295,"column":40}},"103":{"start":{"line":297,"column":4},"end":{"line":297,"column":47}},"104":{"start":{"line":298,"column":10},"end":{"line":298,"column":40}},"105":{"start":{"line":299,"column":4},"end":{"line":299,"column":64}},"106":{"start":{"line":299,"column":4},"end":{"line":299,"column":65}},"107":{"start":{"line":301,"column":10},"end":{"line":308,"column":6}},"108":{"start":{"line":310,"column":4},"end":{"line":310,"column":55}},"109":{"start":{"line":310,"column":4},"end":{"line":310,"column":56}},"110":{"start":{"line":320,"column":15},"end":{"line":339,"column":3}},"111":{"start":{"line":321,"column":17},"end":{"line":321,"column":55}},"112":{"start":{"line":321,"column":10},"end":{"line":321,"column":55}},"113":{"start":{"line":322,"column":4},"end":{"line":324,"column":5}},"114":{"start":{"line":323,"column":6},"end":{"line":323,"column":40}},"115":{"start":{"line":325,"column":4},"end":{"line":325,"column":47}},"116":{"start":{"line":326,"column":10},"end":{"line":326,"column":40}},"117":{"start":{"line":327,"column":4},"end":{"line":327,"column":74}},"118":{"start":{"line":327,"column":4},"end":{"line":327,"column":75}},"119":{"start":{"line":329,"column":10},"end":{"line":336,"column":6}},"120":{"start":{"line":338,"column":4},"end":{"line":338,"column":52}},"121":{"start":{"line":338,"column":4},"end":{"line":338,"column":53}},"122":{"start":{"line":346,"column":15},"end":{"line":386,"column":3}},"123":{"start":{"line":347,"column":4},"end":{"line":352,"column":5}},"124":{"start":{"line":351,"column":6},"end":{"line":351,"column":55}},"125":{"start":{"line":354,"column":8},"end":{"line":354,"column":21}},"126":{"start":{"line":354,"column":26},"end":{"line":354,"column":73}},"127":{"start":{"line":354,"column":25},"end":{"line":354,"column":74}},"128":{"start":{"line":354,"column":4},"end":{"line":356,"column":5}},"129":{"start":{"line":355,"column":6},"end":{"line":355,"column":49}},"130":{"start":{"line":358,"column":8},"end":{"line":358,"column":18}},"131":{"start":{"line":358,"column":23},"end":{"line":358,"column":64}},"132":{"start":{"line":358,"column":22},"end":{"line":358,"column":65}},"133":{"start":{"line":358,"column":4},"end":{"line":360,"column":5}},"134":{"start":{"line":359,"column":6},"end":{"line":359,"column":46}},"135":{"start":{"line":363,"column":8},"end":{"line":363,"column":21}},"136":{"start":{"line":364,"column":6},"end":{"line":366,"column":7}},"137":{"start":{"line":365,"column":8},"end":{"line":365,"column":44}},"138":{"start":{"line":367,"column":17},"end":{"line":367,"column":64}},"139":{"start":{"line":367,"column":6},"end":{"line":367,"column":65}},"140":{"start":{"line":370,"column":10},"end":{"line":375,"column":6}},"141":{"start":{"line":377,"column":12},"end":{"line":377,"column":45}},"142":{"start":{"line":379,"column":6},"end":{"line":379,"column":33}},"143":{"start":{"line":380,"column":7},"end":{"line":380,"column":48}},"144":{"start":{"line":380,"column":6},"end":{"line":380,"column":48}},"145":{"start":{"line":378,"column":4},"end":{"line":383,"column":5}},"146":{"start":{"line":382,"column":6},"end":{"line":382,"column":38}},"147":{"start":{"line":385,"column":4},"end":{"line":385,"column":50}},"148":{"start":{"line":388,"column":16},"end":{"line":429,"column":3}},"149":{"start":{"line":392,"column":10},"end":{"line":394,"column":45}},"150":{"start":{"line":398,"column":8},"end":{"line":398,"column":10}},"151":{"start":{"line":400,"column":18},"end":{"line":400,"column":48}},"152":{"start":{"line":400,"column":6},"end":{"line":400,"column":49}},"153":{"start":{"line":401,"column":15},"end":{"line":401,"column":23}},"154":{"start":{"line":403,"column":18},"end":{"line":403,"column":60}},"155":{"start":{"line":403,"column":6},"end":{"line":403,"column":61}},"156":{"start":{"line":404,"column":15},"end":{"line":404,"column":20}},"157":{"start":{"line":406,"column":18},"end":{"line":406,"column":54}},"158":{"start":{"line":406,"column":6},"end":{"line":406,"column":55}},"159":{"start":{"line":409,"column":4},"end":{"line":411,"column":5}},"160":{"start":{"line":410,"column":6},"end":{"line":410,"column":40}},"161":{"start":{"line":413,"column":17},"end":{"line":413,"column":61}},"162":{"start":{"line":413,"column":10},"end":{"line":413,"column":61}},"163":{"start":{"line":414,"column":4},"end":{"line":416,"column":5}},"164":{"start":{"line":415,"column":6},"end":{"line":415,"column":50}},"165":{"start":{"line":418,"column":10},"end":{"line":418,"column":61}},"166":{"start":{"line":419,"column":10},"end":{"line":421,"column":17}},"167":{"start":{"line":422,"column":28},"end":{"line":422,"column":60}},"168":{"start":{"line":422,"column":10},"end":{"line":422,"column":60}},"169":{"start":{"line":424,"column":4},"end":{"line":426,"column":5}},"170":{"start":{"line":425,"column":6},"end":{"line":425,"column":44}},"171":{"start":{"line":428,"column":4},"end":{"line":428,"column":21}},"172":{"start":{"line":431,"column":16},"end":{"line":437,"column":3}},"173":{"start":{"line":432,"column":10},"end":{"line":432,"column":61}},"174":{"start":{"line":433,"column":10},"end":{"line":435,"column":17}},"175":{"start":{"line":436,"column":4},"end":{"line":436,"column":42}},"176":{"start":{"line":445,"column":10},"end":{"line":456,"column":3}},"177":{"start":{"line":445,"column":31},"end":{"line":445,"column":35}},"178":{"start":{"line":445,"column":37},"end":{"line":445,"column":45}},"179":{"start":{"line":445,"column":47},"end":{"line":445,"column":52}},"180":{"start":{"line":445,"column":54},"end":{"line":445,"column":56}},"181":{"start":{"line":446,"column":4},"end":{"line":454,"column":5}},"182":{"start":{"line":447,"column":6},"end":{"line":453,"column":7}},"183":{"start":{"line":448,"column":8},"end":{"line":448,"column":21}},"184":{"start":{"line":449,"column":8},"end":{"line":449,"column":24}},"185":{"start":{"line":451,"column":8},"end":{"line":451,"column":24}},"186":{"start":{"line":452,"column":8},"end":{"line":452,"column":21}},"187":{"start":{"line":455,"column":4},"end":{"line":455,"column":35}},"188":{"start":{"line":457,"column":0},"end":{"line":457,"column":1}}},"fnMap":{"0":{"name":"(anonymous_13)","decl":{"start":{"line":33,"column":23},"end":{"line":33,"column":23}},"loc":{"start":{"line":33,"column":38},"end":{"line":36,"column":1}}},"1":{"name":"(anonymous_14)","decl":{"start":{"line":53,"column":2},"end":{"line":53,"column":15}},"loc":{"start":{"line":53,"column":30},"end":{"line":56,"column":3}}},"2":{"name":"(anonymous_15)","decl":{"start":{"line":57,"column":2},"end":{"line":57,"column":18}},"loc":{"start":{"line":57,"column":42},"end":{"line":60,"column":3}}},"3":{"name":"(anonymous_16)","decl":{"start":{"line":61,"column":2},"end":{"line":61,"column":18}},"loc":{"start":{"line":61,"column":36},"end":{"line":66,"column":3}}},"4":{"name":"(anonymous_17)","decl":{"start":{"line":69,"column":0},"end":{"line":null,"column":-1}},"loc":{"start":{"line":69,"column":0},"end":{"line":69,"column":-1}}},"5":{"name":"AccountsPassword","decl":{"start":{"line":75,"column":2},"end":{"line":75,"column":13}},"loc":{"start":{"line":75,"column":51},"end":{"line":77,"column":3}}},"6":{"name":"(anonymous_19)","decl":{"start":{"line":79,"column":2},"end":{"line":79,"column":17}},"loc":{"start":{"line":79,"column":36},"end":{"line":81,"column":3}}},"7":{"name":"(anonymous_20)","decl":{"start":{"line":83,"column":2},"end":{"line":84,"column":3}},"loc":{"start":{"line":84,"column":29},"end":{"line":109,"column":3}}},"8":{"name":"(anonymous_23)","decl":{"start":{"line":116,"column":2},"end":{"line":116,"column":24}},"loc":{"start":{"line":116,"column":38},"end":{"line":118,"column":3}}},"9":{"name":"(anonymous_24)","decl":{"start":{"line":125,"column":2},"end":{"line":125,"column":27}},"loc":{"start":{"line":125,"column":44},"end":{"line":127,"column":3}}},"10":{"name":"(anonymous_25)","decl":{"start":{"line":138,"column":2},"end":{"line":139,"column":3}},"loc":{"start":{"line":141,"column":21},"end":{"line":144,"column":3}}},"11":{"name":"(anonymous_26)","decl":{"start":{"line":153,"column":2},"end":{"line":153,"column":20}},"loc":{"start":{"line":153,"column":50},"end":{"line":155,"column":3}}},"12":{"name":"(anonymous_27)","decl":{"start":{"line":162,"column":2},"end":{"line":162,"column":26}},"loc":{"start":{"line":162,"column":40},"end":{"line":189,"column":3}}},"13":{"name":"(anonymous_30)","decl":{"start":{"line":175,"column":6},"end":{"line":175,"column":6}},"loc":{"start":{"line":175,"column":21},"end":{"line":175,"column":43}}},"14":{"name":"(anonymous_31)","decl":{"start":{"line":183,"column":6},"end":{"line":183,"column":6}},"loc":{"start":{"line":183,"column":21},"end":{"line":183,"column":59}}},"15":{"name":"(anonymous_32)","decl":{"start":{"line":197,"column":2},"end":{"line":198,"column":3}},"loc":{"start":{"line":199,"column":29},"end":{"line":234,"column":3}}},"16":{"name":"(anonymous_35)","decl":{"start":{"line":208,"column":47},"end":{"line":208,"column":46}},"loc":{"start":{"line":208,"column":48},"end":{"line":208,"column":69}}},"17":{"name":"(anonymous_36)","decl":{"start":{"line":217,"column":19},"end":{"line":217,"column":19}},"loc":{"start":{"line":217,"column":38},"end":{"line":217,"column":56}}},"18":{"name":"(anonymous_37)","decl":{"start":{"line":242,"column":2},"end":{"line":242,"column":26}},"loc":{"start":{"line":242,"column":62},"end":{"line":245,"column":3}}},"19":{"name":"(anonymous_40)","decl":{"start":{"line":254,"column":2},"end":{"line":254,"column":36}},"loc":{"start":{"line":254,"column":52},"end":{"line":280,"column":3}}},"20":{"name":"(anonymous_43)","decl":{"start":{"line":264,"column":41},"end":{"line":264,"column":40}},"loc":{"start":{"line":264,"column":46},"end":{"line":264,"column":63}}},"21":{"name":"(anonymous_44)","decl":{"start":{"line":289,"column":2},"end":{"line":289,"column":37}},"loc":{"start":{"line":289,"column":53},"end":{"line":311,"column":3}}},"22":{"name":"(anonymous_47)","decl":{"start":{"line":320,"column":2},"end":{"line":320,"column":34}},"loc":{"start":{"line":320,"column":50},"end":{"line":339,"column":3}}},"23":{"name":"(anonymous_50)","decl":{"start":{"line":346,"column":2},"end":{"line":346,"column":25}},"loc":{"start":{"line":346,"column":54},"end":{"line":386,"column":3}}},"24":{"name":"(anonymous_53)","decl":{"start":{"line":388,"column":2},"end":{"line":389,"column":3}},"loc":{"start":{"line":390,"column":26},"end":{"line":429,"column":3}}},"25":{"name":"(anonymous_56)","decl":{"start":{"line":431,"column":2},"end":{"line":431,"column":37}},"loc":{"start":{"line":431,"column":60},"end":{"line":437,"column":3}}},"26":{"name":"(anonymous_59)","decl":{"start":{"line":445,"column":2},"end":{"line":445,"column":28}},"loc":{"start":{"line":445,"column":63},"end":{"line":456,"column":3}}}},"branchMap":{"0":{"loc":{"start":{"line":35,"column":9},"end":{"line":35,"column":14}},"type":"binary-expr","locations":[{"start":{"line":35,"column":9},"end":{"line":35,"column":14}},{"start":{"line":35,"column":18},"end":{"line":35,"column":32}}]},"1":{"loc":{"start":{"line":54,"column":20},"end":{"line":54,"column":47}},"type":"binary-expr","locations":[{"start":{"line":54,"column":20},"end":{"line":54,"column":47}},{"start":{"line":54,"column":51},"end":{"line":54,"column":65}}]},"2":{"loc":{"start":{"line":54,"column":34},"end":{"line":54,"column":39}},"type":"binary-expr","locations":[{"start":{"line":54,"column":34},"end":{"line":54,"column":39}},{"start":{"line":54,"column":43},"end":{"line":54,"column":45}}]},"3":{"loc":{"start":{"line":64,"column":6},"end":{"line":64,"column":14}},"type":"binary-expr","locations":[{"start":{"line":64,"column":6},"end":{"line":64,"column":14}},{"start":{"line":64,"column":18},"end":{"line":64,"column":42}},{"start":{"line":64,"column":46},"end":{"line":64,"column":74}}]},"4":{"loc":{"start":{"line":75,"column":14},"end":{"line":75,"column":51}},"type":"if","locations":[{"start":{"line":75,"column":14},"end":{"line":75,"column":51}},{"start":{"line":75,"column":14},"end":{"line":75,"column":51}}]},"5":{"loc":{"start":{"line":87,"column":4},"end":{"line":89,"column":5}},"type":"if","locations":[{"start":{"line":87,"column":4},"end":{"line":89,"column":5}},{"start":{"line":87,"column":4},"end":{"line":89,"column":5}}]},"6":{"loc":{"start":{"line":87,"column":8},"end":{"line":87,"column":13}},"type":"binary-expr","locations":[{"start":{"line":87,"column":8},"end":{"line":87,"column":13}},{"start":{"line":87,"column":17},"end":{"line":87,"column":26}}]},"7":{"loc":{"start":{"line":90,"column":4},"end":{"line":92,"column":5}},"type":"if","locations":[{"start":{"line":90,"column":4},"end":{"line":92,"column":5}},{"start":{"line":90,"column":4},"end":{"line":92,"column":5}}]},"8":{"loc":{"start":{"line":90,"column":9},"end":{"line":90,"column":24}},"type":"binary-expr","locations":[{"start":{"line":90,"column":9},"end":{"line":90,"column":24}},{"start":{"line":90,"column":28},"end":{"line":90,"column":48}},{"start":{"line":90,"column":53},"end":{"line":90,"column":72}}]},"9":{"loc":{"start":{"line":104,"column":4},"end":{"line":106,"column":5}},"type":"if","locations":[{"start":{"line":104,"column":4},"end":{"line":106,"column":5}},{"start":{"line":104,"column":4},"end":{"line":106,"column":5}}]},"10":{"loc":{"start":{"line":164,"column":4},"end":{"line":166,"column":5}},"type":"if","locations":[{"start":{"line":164,"column":4},"end":{"line":166,"column":5}},{"start":{"line":164,"column":4},"end":{"line":166,"column":5}}]},"11":{"loc":{"start":{"line":177,"column":4},"end":{"line":179,"column":5}},"type":"if","locations":[{"start":{"line":177,"column":4},"end":{"line":179,"column":5}},{"start":{"line":177,"column":4},"end":{"line":179,"column":5}}]},"12":{"loc":{"start":{"line":185,"column":4},"end":{"line":187,"column":5}},"type":"if","locations":[{"start":{"line":185,"column":4},"end":{"line":187,"column":5}},{"start":{"line":185,"column":4},"end":{"line":187,"column":5}}]},"13":{"loc":{"start":{"line":202,"column":4},"end":{"line":204,"column":5}},"type":"if","locations":[{"start":{"line":202,"column":4},"end":{"line":204,"column":5}},{"start":{"line":202,"column":4},"end":{"line":204,"column":5}}]},"14":{"loc":{"start":{"line":210,"column":4},"end":{"line":212,"column":5}},"type":"if","locations":[{"start":{"line":210,"column":4},"end":{"line":212,"column":5}},{"start":{"line":210,"column":4},"end":{"line":212,"column":5}}]},"15":{"loc":{"start":{"line":214,"column":19},"end":{"line":214,"column":30}},"type":"binary-expr","locations":[{"start":{"line":214,"column":19},"end":{"line":214,"column":30}},{"start":{"line":214,"column":34},"end":{"line":214,"column":36}}]},"16":{"loc":{"start":{"line":215,"column":4},"end":{"line":222,"column":5}},"type":"if","locations":[{"start":{"line":215,"column":4},"end":{"line":222,"column":5}},{"start":{"line":215,"column":4},"end":{"line":222,"column":5}}]},"17":{"loc":{"start":{"line":255,"column":4},"end":{"line":257,"column":5}},"type":"if","locations":[{"start":{"line":255,"column":4},"end":{"line":257,"column":5}},{"start":{"line":255,"column":4},"end":{"line":257,"column":5}}]},"18":{"loc":{"start":{"line":259,"column":4},"end":{"line":261,"column":5}},"type":"if","locations":[{"start":{"line":259,"column":4},"end":{"line":261,"column":5}},{"start":{"line":259,"column":4},"end":{"line":261,"column":5}}]},"19":{"loc":{"start":{"line":263,"column":19},"end":{"line":263,"column":30}},"type":"binary-expr","locations":[{"start":{"line":263,"column":19},"end":{"line":263,"column":30}},{"start":{"line":263,"column":34},"end":{"line":263,"column":36}}]},"20":{"loc":{"start":{"line":264,"column":4},"end":{"line":266,"column":5}},"type":"if","locations":[{"start":{"line":264,"column":4},"end":{"line":266,"column":5}},{"start":{"line":264,"column":4},"end":{"line":266,"column":5}}]},"21":{"loc":{"start":{"line":264,"column":8},"end":{"line":264,"column":16}},"type":"binary-expr","locations":[{"start":{"line":264,"column":8},"end":{"line":264,"column":16}},{"start":{"line":264,"column":20},"end":{"line":264,"column":74}}]},"22":{"loc":{"start":{"line":290,"column":4},"end":{"line":292,"column":5}},"type":"if","locations":[{"start":{"line":290,"column":4},"end":{"line":292,"column":5}},{"start":{"line":290,"column":4},"end":{"line":292,"column":5}}]},"23":{"loc":{"start":{"line":294,"column":4},"end":{"line":296,"column":5}},"type":"if","locations":[{"start":{"line":294,"column":4},"end":{"line":296,"column":5}},{"start":{"line":294,"column":4},"end":{"line":296,"column":5}}]},"24":{"loc":{"start":{"line":322,"column":4},"end":{"line":324,"column":5}},"type":"if","locations":[{"start":{"line":322,"column":4},"end":{"line":324,"column":5}},{"start":{"line":322,"column":4},"end":{"line":324,"column":5}}]},"25":{"loc":{"start":{"line":347,"column":4},"end":{"line":352,"column":5}},"type":"if","locations":[{"start":{"line":347,"column":4},"end":{"line":352,"column":5}},{"start":{"line":347,"column":4},"end":{"line":352,"column":5}}]},"26":{"loc":{"start":{"line":348,"column":6},"end":{"line":348,"column":51}},"type":"binary-expr","locations":[{"start":{"line":348,"column":6},"end":{"line":348,"column":51}},{"start":{"line":349,"column":6},"end":{"line":350,"column":4}}]},"27":{"loc":{"start":{"line":354,"column":4},"end":{"line":356,"column":5}},"type":"if","locations":[{"start":{"line":354,"column":4},"end":{"line":356,"column":5}},{"start":{"line":354,"column":4},"end":{"line":356,"column":5}}]},"28":{"loc":{"start":{"line":358,"column":4},"end":{"line":360,"column":5}},"type":"if","locations":[{"start":{"line":358,"column":4},"end":{"line":360,"column":5}},{"start":{"line":358,"column":4},"end":{"line":360,"column":5}}]},"29":{"loc":{"start":{"line":364,"column":6},"end":{"line":366,"column":7}},"type":"if","locations":[{"start":{"line":364,"column":6},"end":{"line":366,"column":7}},{"start":{"line":364,"column":6},"end":{"line":366,"column":7}}]},"30":{"loc":{"start":{"line":372,"column":13},"end":{"line":372,"column":23}},"type":"binary-expr","locations":[{"start":{"line":372,"column":13},"end":{"line":372,"column":23}},{"start":{"line":372,"column":27},"end":{"line":372,"column":51}}]},"31":{"loc":{"start":{"line":378,"column":4},"end":{"line":383,"column":5}},"type":"if","locations":[{"start":{"line":378,"column":4},"end":{"line":383,"column":5}},{"start":{"line":378,"column":4},"end":{"line":383,"column":5}}]},"32":{"loc":{"start":{"line":393,"column":8},"end":{"line":393,"column":41}},"type":"cond-expr","locations":[{"start":{"line":393,"column":8},"end":{"line":393,"column":41}},{"start":{"line":394,"column":8},"end":{"line":394,"column":44}}]},"33":{"loc":{"start":{"line":409,"column":4},"end":{"line":411,"column":5}},"type":"if","locations":[{"start":{"line":409,"column":4},"end":{"line":411,"column":5}},{"start":{"line":409,"column":4},"end":{"line":411,"column":5}}]},"34":{"loc":{"start":{"line":414,"column":4},"end":{"line":416,"column":5}},"type":"if","locations":[{"start":{"line":414,"column":4},"end":{"line":416,"column":5}},{"start":{"line":414,"column":4},"end":{"line":416,"column":5}}]},"35":{"loc":{"start":{"line":420,"column":8},"end":{"line":420,"column":45}},"type":"cond-expr","locations":[{"start":{"line":420,"column":8},"end":{"line":420,"column":45}},{"start":{"line":421,"column":8},"end":{"line":421,"column":16}}]},"36":{"loc":{"start":{"line":424,"column":4},"end":{"line":426,"column":5}},"type":"if","locations":[{"start":{"line":424,"column":4},"end":{"line":426,"column":5}},{"start":{"line":424,"column":4},"end":{"line":426,"column":5}}]},"37":{"loc":{"start":{"line":434,"column":8},"end":{"line":434,"column":45}},"type":"cond-expr","locations":[{"start":{"line":434,"column":8},"end":{"line":434,"column":45}},{"start":{"line":435,"column":8},"end":{"line":435,"column":16}}]},"38":{"loc":{"start":{"line":446,"column":4},"end":{"line":454,"column":5}},"type":"if","locations":[{"start":{"line":446,"column":4},"end":{"line":454,"column":5}},{"start":{"line":446,"column":4},"end":{"line":454,"column":5}}]},"39":{"loc":{"start":{"line":446,"column":8},"end":{"line":446,"column":12}},"type":"binary-expr","locations":[{"start":{"line":446,"column":8},"end":{"line":446,"column":12}},{"start":{"line":446,"column":16},"end":{"line":446,"column":25}},{"start":{"line":446,"column":29},"end":{"line":446,"column":35}}]},"40":{"loc":{"start":{"line":447,"column":6},"end":{"line":453,"column":7}},"type":"if","locations":[{"start":{"line":447,"column":6},"end":{"line":453,"column":7}},{"start":{"line":447,"column":6},"end":{"line":453,"column":7}}]}},"s":{"0":2,"1":2,"2":2,"3":2,"4":2,"5":6,"6":6,"7":2,"8":4,"9":4,"10":2,"11":2,"12":5,"13":5,"14":5,"15":2,"16":4,"17":4,"18":4,"19":2,"20":28,"21":2,"22":7,"23":7,"24":1,"25":6,"26":1,"27":5,"28":5,"29":2,"30":1,"31":1,"32":2,"33":1,"34":2,"35":1,"36":2,"37":1,"38":2,"39":1,"40":2,"41":4,"42":4,"43":4,"44":1,"45":3,"46":3,"47":2,"48":3,"49":1,"50":2,"51":1,"52":2,"53":1,"54":1,"55":1,"56":2,"57":4,"58":4,"59":4,"60":1,"61":3,"62":3,"63":3,"64":3,"65":1,"66":2,"67":2,"68":1,"69":1,"70":1,"71":1,"72":1,"73":1,"74":1,"75":2,"76":1,"77":1,"78":1,"79":2,"80":5,"81":1,"82":4,"83":4,"84":4,"85":1,"86":3,"87":3,"88":4,"89":1,"90":2,"91":2,"92":2,"93":2,"94":2,"95":2,"96":2,"97":3,"98":1,"99":2,"100":2,"101":2,"102":1,"103":1,"104":1,"105":1,"106":1,"107":1,"108":1,"109":1,"110":2,"111":2,"112":2,"113":2,"114":1,"115":1,"116":1,"117":1,"118":1,"119":1,"120":1,"121":1,"122":2,"123":5,"124":1,"125":7,"126":1,"127":1,"128":4,"129":1,"130":3,"131":3,"132":3,"133":3,"134":1,"135":0,"136":2,"137":0,"138":2,"139":2,"140":2,"141":2,"142":3,"143":1,"144":1,"145":2,"146":1,"147":1,"148":2,"149":3,"150":3,"151":0,"152":0,"153":3,"154":0,"155":0,"156":0,"157":3,"158":3,"159":3,"160":1,"161":2,"162":2,"163":2,"164":1,"165":1,"166":1,"167":1,"168":1,"169":1,"170":1,"171":0,"172":2,"173":3,"174":3,"175":3,"176":2,"177":3,"178":3,"179":3,"180":3,"181":3,"182":3,"183":3,"184":3,"185":0,"186":0,"187":3,"188":2},"f":{"0":6,"1":4,"2":2,"3":5,"4":2,"5":4,"6":28,"7":7,"8":1,"9":1,"10":1,"11":1,"12":4,"13":2,"14":1,"15":4,"16":3,"17":1,"18":1,"19":5,"20":4,"21":3,"22":2,"23":5,"24":3,"25":3,"26":3},"b":{"0":[6,6],"1":[4,3],"2":[4,1],"3":[5,1,1],"4":[0,4],"5":[1,6],"6":[7,6],"7":[1,5],"8":[6,0,6],"9":[1,1],"10":[1,3],"11":[1,2],"12":[1,1],"13":[1,3],"14":[1,2],"15":[2,0],"16":[1,1],"17":[1,4],"18":[1,3],"19":[3,1],"20":[1,2],"21":[3,3],"22":[1,2],"23":[1,1],"24":[1,1],"25":[1,4],"26":[5,4],"27":[1,3],"28":[1,2],"29":[0,2],"30":[2,2],"31":[1,1],"32":[3,0],"33":[1,2],"34":[1,1],"35":[0,1],"36":[1,0],"37":[0,3],"38":[3,0],"39":[3,3,3],"40":[3,0]}}
,"/Users/davidy/work/accounts/accounts/packages/password/src/encryption.ts": {"path":"/Users/davidy/work/accounts/accounts/packages/password/src/encryption.ts","statementMap":{"0":{"start":{"line":1,"column":0},"end":{"line":25,"column":-1}},"1":{"start":{"line":1,"column":0},"end":{"line":1,"column":34}},"2":{"start":{"line":2,"column":0},"end":{"line":2,"column":32}},"3":{"start":{"line":5,"column":13},"end":{"line":9,"column":2}},"4":{"start":{"line":6,"column":15},"end":{"line":6,"column":39}},"5":{"start":{"line":6,"column":8},"end":{"line":6,"column":39}},"6":{"start":{"line":7,"column":15},"end":{"line":7,"column":48}},"7":{"start":{"line":7,"column":8},"end":{"line":7,"column":48}},"8":{"start":{"line":8,"column":2},"end":{"line":8,"column":14}},"9":{"start":{"line":11,"column":13},"end":{"line":19,"column":2}},"10":{"start":{"line":12,"column":2},"end":{"line":16,"column":3}},"11":{"start":{"line":13,"column":17},"end":{"line":13,"column":45}},"12":{"start":{"line":14,"column":4},"end":{"line":14,"column":26}},"13":{"start":{"line":15,"column":4},"end":{"line":15,"column":30}},"14":{"start":{"line":18,"column":2},"end":{"line":18,"column":25}},"15":{"start":{"line":21,"column":13},"end":{"line":24,"column":54}},"16":{"start":{"line":24,"column":23},"end":{"line":24,"column":53}}},"fnMap":{"0":{"name":"(anonymous_12)","decl":{"start":{"line":5,"column":30},"end":{"line":5,"column":36}},"loc":{"start":{"line":5,"column":53},"end":{"line":9,"column":1}}},"1":{"name":"(anonymous_15)","decl":{"start":{"line":11,"column":28},"end":{"line":11,"column":28}},"loc":{"start":{"line":11,"column":70},"end":{"line":19,"column":1}}},"2":{"name":"(anonymous_16)","decl":{"start":{"line":21,"column":30},"end":{"line":22,"column":1}},"loc":{"start":{"line":23,"column":14},"end":{"line":24,"column":53}}}},"branchMap":{"0":{"loc":{"start":{"line":12,"column":2},"end":{"line":16,"column":3}},"type":"if","locations":[{"start":{"line":12,"column":2},"end":{"line":16,"column":3}},{"start":{"line":12,"column":2},"end":{"line":16,"column":3}}]}},"s":{"0":3,"1":3,"2":3,"3":3,"4":6,"5":6,"6":6,"7":6,"8":6,"9":3,"10":2,"11":1,"12":1,"13":1,"14":1,"15":3,"16":2},"f":{"0":6,"1":2,"2":2},"b":{"0":[1,1]}}
,"/Users/davidy/work/accounts/accounts/packages/password/src/index.ts": {"path":"/Users/davidy/work/accounts/accounts/packages/password/src/index.ts","statementMap":{"0":{"start":{"line":1,"column":0},"end":{"line":1,"column":50}},"1":{"start":{"line":4,"column":9},"end":{"line":4,"column":25}},"2":{"start":{"line":3,"column":0},"end":{"line":3,"column":32}}},"fnMap":{},"branchMap":{},"s":{"0":2,"1":2,"2":2},"f":{},"b":{}}
}

@@ -1,3 +0,2 @@

import { CreateUser, User, DatabaseInterface, AuthenticationService } from '@accounts/types';
import { HashAlgorithm } from '@accounts/common';
import { CreateUser, User, DatabaseInterface, AuthenticationService, HashAlgorithm } from '@accounts/types';
import { TwoFactor, AccountsTwoFactorOptions } from '@accounts/two-factor';

@@ -115,4 +114,4 @@ import { AccountsServer } from '@accounts/server';

createUser(user: PasswordCreateUserType): Promise<string>;
private passwordAuthenticator(user, password);
private hashAndBcryptPassword(password);
private passwordAuthenticator;
private hashAndBcryptPassword;
/**

@@ -124,3 +123,3 @@ * Given a username, user and/or email figure out the username and/or email.

*/
private toUsernameAndEmail({user, username, email, id});
private toUsernameAndEmail;
}

@@ -1,5 +0,5 @@

import { CreateUserType } from '@accounts/common';
import { CreateUser } from '@accounts/types';
import { PasswordType } from './password-type';
export interface PasswordCreateUserType extends CreateUserType {
export interface PasswordCreateUserType extends CreateUser {
password: PasswordType;
}

@@ -1,7 +0,7 @@

import { LoginUserIdentityType } from '@accounts/common';
import { LoginUserIdentity } from '@accounts/types';
import { PasswordType } from './password-type';
export interface PasswordLoginType {
user: string | LoginUserIdentityType;
user: string | LoginUserIdentity;
password: PasswordType;
code?: string;
}

@@ -1,2 +0,2 @@

import { HashAlgorithm } from '@accounts/common';
import { HashAlgorithm } from '@accounts/types';
export declare type PasswordType = string | {

@@ -3,0 +3,0 @@ digest: string;

{
"name": "@accounts/password",
"version": "0.1.0-beta.14",
"version": "0.1.0-beta.15",
"license": "MIT",

@@ -28,3 +28,3 @@ "main": "lib/index.js",

"dependencies": {
"@accounts/two-factor": "^0.1.0-beta.14",
"@accounts/two-factor": "^0.1.0-beta.15",
"bcryptjs": "^2.4.3",

@@ -34,5 +34,4 @@ "lodash": "^4.17.4"

"devDependencies": {
"@accounts/common": "^0.1.0-beta.14",
"@accounts/server": "^0.1.0-beta.14",
"@accounts/types": "^0.1.0-beta.14",
"@accounts/server": "^0.1.0-beta.15",
"@accounts/types": "^0.1.0-beta.15",
"@types/bcryptjs": "2.4.1",

@@ -46,5 +45,4 @@ "@types/jest": "22.2.3",

"peerDependencies": {
"@accounts/common": "^0.1.0-beta.0",
"@accounts/server": "^0.1.0-beta.0"
}
}

@@ -5,3 +5,3 @@ import { trim, isEmpty, isFunction, isString, isPlainObject, find, includes } from 'lodash';

User,
Login,
LoginUserIdentity,
EmailRecord,

@@ -11,4 +11,4 @@ TokenRecord,

AuthenticationService,
HashAlgorithm,
} from '@accounts/types';
import { HashAlgorithm } from '@accounts/common';
import { TwoFactor, AccountsTwoFactorOptions, getUserTwoFactorService } from '@accounts/two-factor';

@@ -361,3 +361,6 @@ import { AccountsServer, generateRandomToken, getFirstUserEmail } from '@accounts/server';

private async passwordAuthenticator(user: string | Login, password: PasswordType): Promise<User> {
private async passwordAuthenticator(
user: string | LoginUserIdentity,
password: PasswordType
): Promise<User> {
const { username, email, id } = isString(user)

@@ -364,0 +367,0 @@ ? this.toUsernameAndEmail({ user })

@@ -1,6 +0,6 @@

import { CreateUserType } from '@accounts/common';
import { CreateUser } from '@accounts/types';
import { PasswordType } from './password-type';
export interface PasswordCreateUserType extends CreateUserType {
export interface PasswordCreateUserType extends CreateUser {
password: PasswordType;
}

@@ -1,6 +0,6 @@

import { LoginUserIdentityType } from '@accounts/common';
import { LoginUserIdentity } from '@accounts/types';
import { PasswordType } from './password-type';
export interface PasswordLoginType {
user: string | LoginUserIdentityType;
user: string | LoginUserIdentity;
password: PasswordType;

@@ -7,0 +7,0 @@ // 2FA code

@@ -1,2 +0,2 @@

import { HashAlgorithm } from '@accounts/common';
import { HashAlgorithm } from '@accounts/types';

@@ -3,0 +3,0 @@ export type PasswordType =

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc