@accounts/password
Advanced tools
Comparing version 0.1.0-alpha.55f51f1c to 0.1.0-alpha.5b339220
@@ -289,4 +289,5 @@ import { set } from 'lodash'; | ||
const email = 'john.doe@gmail.com'; | ||
const verifiedEmail = 'john.doe2@gmail.com'; | ||
const validUser = { | ||
emails: [{ address: email }], | ||
emails: [{ address: email }, { address: verifiedEmail, verified: true }], | ||
}; | ||
@@ -330,3 +331,3 @@ const invalidUser = {}; | ||
set(password.server, 'options.emailTemplates', {}); | ||
await password.sendVerificationEmail(); | ||
await password.sendVerificationEmail(verifiedEmail); | ||
expect(addEmailVerificationToken.mock.calls[0].length).toBe(3); | ||
@@ -333,0 +334,0 @@ expect(prepareMail.mock.calls[0].length).toBe(6); |
@@ -1,4 +0,4 @@ | ||
{"/Users/leo/dev/github/js-accounts/accounts/packages/password/src/accounts-password.ts": {"path":"/Users/leo/dev/github/js-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":23,"column":25}},"2":{"start":{"line":24,"column":0},"end":{"line":24,"column":62}},"3":{"start":{"line":25,"column":0},"end":{"line":25,"column":75}},"4":{"start":{"line":32,"column":13},"end":{"line":35,"column":2}},"5":{"start":{"line":33,"column":13},"end":{"line":33,"column":168}},"6":{"start":{"line":34,"column":2},"end":{"line":34,"column":33}},"7":{"start":{"line":48,"column":23},"end":{"line":66,"column":1}},"8":{"start":{"line":53,"column":20},"end":{"line":53,"column":65}},"9":{"start":{"line":54,"column":4},"end":{"line":54,"column":28}},"10":{"start":{"line":57,"column":20},"end":{"line":57,"column":38}},"11":{"start":{"line":58,"column":4},"end":{"line":58,"column":19}},"12":{"start":{"line":61,"column":26},"end":{"line":61,"column":50}},"13":{"start":{"line":63,"column":6},"end":{"line":63,"column":74}},"14":{"start":{"line":64,"column":4},"end":{"line":64,"column":28}},"15":{"start":{"line":68,"column":0},"end":{"line":448,"column":0}},"16":{"start":{"line":75,"column":4},"end":{"line":75,"column":53}},"17":{"start":{"line":78,"column":15},"end":{"line":104,"column":3}},"18":{"start":{"line":81,"column":12},"end":{"line":81,"column":38}},"19":{"start":{"line":82,"column":4},"end":{"line":84,"column":5}},"20":{"start":{"line":83,"column":6},"end":{"line":83,"column":64}},"21":{"start":{"line":85,"column":4},"end":{"line":87,"column":5}},"22":{"start":{"line":86,"column":6},"end":{"line":86,"column":38}},"23":{"start":{"line":97,"column":16},"end":{"line":97,"column":64}},"24":{"start":{"line":97,"column":4},"end":{"line":97,"column":65}},"25":{"start":{"line":99,"column":4},"end":{"line":101,"column":5}},"26":{"start":{"line":100,"column":6},"end":{"line":100,"column":40}},"27":{"start":{"line":103,"column":4},"end":{"line":103,"column":21}},"28":{"start":{"line":111,"column":9},"end":{"line":113,"column":3}},"29":{"start":{"line":112,"column":4},"end":{"line":112,"column":42}},"30":{"start":{"line":120,"column":9},"end":{"line":122,"column":3}},"31":{"start":{"line":121,"column":4},"end":{"line":121,"column":48}},"32":{"start":{"line":133,"column":9},"end":{"line":139,"column":3}},"33":{"start":{"line":138,"column":4},"end":{"line":138,"column":56}},"34":{"start":{"line":148,"column":9},"end":{"line":150,"column":3}},"35":{"start":{"line":149,"column":4},"end":{"line":149,"column":46}},"36":{"start":{"line":157,"column":15},"end":{"line":184,"column":3}},"37":{"start":{"line":158,"column":17},"end":{"line":158,"column":70}},"38":{"start":{"line":158,"column":10},"end":{"line":158,"column":70}},"39":{"start":{"line":159,"column":4},"end":{"line":161,"column":5}},"40":{"start":{"line":160,"column":6},"end":{"line":160,"column":51}},"41":{"start":{"line":163,"column":10},"end":{"line":167,"column":6}},"42":{"start":{"line":168,"column":10},"end":{"line":171,"column":6}},"43":{"start":{"line":170,"column":26},"end":{"line":170,"column":43}},"44":{"start":{"line":172,"column":4},"end":{"line":174,"column":5}},"45":{"start":{"line":173,"column":6},"end":{"line":173,"column":51}},"46":{"start":{"line":176,"column":10},"end":{"line":179,"column":6}},"47":{"start":{"line":178,"column":26},"end":{"line":178,"column":59}},"48":{"start":{"line":180,"column":4},"end":{"line":182,"column":5}},"49":{"start":{"line":181,"column":6},"end":{"line":181,"column":66}},"50":{"start":{"line":183,"column":4},"end":{"line":183,"column":59}},"51":{"start":{"line":183,"column":4},"end":{"line":183,"column":60}},"52":{"start":{"line":192,"column":15},"end":{"line":229,"column":3}},"53":{"start":{"line":196,"column":17},"end":{"line":196,"column":66}},"54":{"start":{"line":196,"column":10},"end":{"line":196,"column":66}},"55":{"start":{"line":197,"column":4},"end":{"line":199,"column":5}},"56":{"start":{"line":198,"column":6},"end":{"line":198,"column":53}},"57":{"start":{"line":202,"column":10},"end":{"line":202,"column":69}},"58":{"start":{"line":203,"column":10},"end":{"line":203,"column":71}},"59":{"start":{"line":203,"column":52},"end":{"line":203,"column":69}},"60":{"start":{"line":205,"column":4},"end":{"line":207,"column":5}},"61":{"start":{"line":206,"column":6},"end":{"line":206,"column":53}},"62":{"start":{"line":209,"column":10},"end":{"line":209,"column":37}},"63":{"start":{"line":210,"column":4},"end":{"line":217,"column":5}},"64":{"start":{"line":212,"column":43},"end":{"line":212,"column":56}},"65":{"start":{"line":216,"column":6},"end":{"line":216,"column":57}},"66":{"start":{"line":219,"column":21},"end":{"line":219,"column":66}},"67":{"start":{"line":219,"column":10},"end":{"line":219,"column":66}},"68":{"start":{"line":221,"column":4},"end":{"line":226,"column":5}},"69":{"start":{"line":221,"column":4},"end":{"line":226,"column":6}},"70":{"start":{"line":228,"column":4},"end":{"line":228,"column":43}},"71":{"start":{"line":237,"column":15},"end":{"line":240,"column":3}},"72":{"start":{"line":238,"column":21},"end":{"line":238,"column":54}},"73":{"start":{"line":238,"column":10},"end":{"line":238,"column":54}},"74":{"start":{"line":239,"column":4},"end":{"line":239,"column":49}},"75":{"start":{"line":249,"column":15},"end":{"line":277,"column":3}},"76":{"start":{"line":250,"column":17},"end":{"line":250,"column":55}},"77":{"start":{"line":250,"column":10},"end":{"line":250,"column":55}},"78":{"start":{"line":251,"column":4},"end":{"line":253,"column":5}},"79":{"start":{"line":252,"column":6},"end":{"line":252,"column":40}},"80":{"start":{"line":255,"column":4},"end":{"line":258,"column":5}},"81":{"start":{"line":256,"column":12},"end":{"line":256,"column":56}},"82":{"start":{"line":256,"column":43},"end":{"line":256,"column":54}},"83":{"start":{"line":257,"column":6},"end":{"line":257,"column":39}},"84":{"start":{"line":260,"column":10},"end":{"line":260,"column":37}},"85":{"start":{"line":261,"column":4},"end":{"line":263,"column":5}},"86":{"start":{"line":261,"column":50},"end":{"line":261,"column":63}},"87":{"start":{"line":262,"column":6},"end":{"line":262,"column":56}},"88":{"start":{"line":264,"column":10},"end":{"line":264,"column":40}},"89":{"start":{"line":265,"column":4},"end":{"line":265,"column":68}},"90":{"start":{"line":265,"column":4},"end":{"line":265,"column":69}},"91":{"start":{"line":267,"column":10},"end":{"line":274,"column":6}},"92":{"start":{"line":276,"column":4},"end":{"line":276,"column":55}},"93":{"start":{"line":276,"column":4},"end":{"line":276,"column":56}},"94":{"start":{"line":286,"column":15},"end":{"line":305,"column":3}},"95":{"start":{"line":287,"column":17},"end":{"line":287,"column":55}},"96":{"start":{"line":287,"column":10},"end":{"line":287,"column":55}},"97":{"start":{"line":288,"column":4},"end":{"line":290,"column":5}},"98":{"start":{"line":289,"column":6},"end":{"line":289,"column":40}},"99":{"start":{"line":291,"column":4},"end":{"line":291,"column":47}},"100":{"start":{"line":292,"column":10},"end":{"line":292,"column":40}},"101":{"start":{"line":293,"column":4},"end":{"line":293,"column":64}},"102":{"start":{"line":293,"column":4},"end":{"line":293,"column":65}},"103":{"start":{"line":295,"column":10},"end":{"line":302,"column":6}},"104":{"start":{"line":304,"column":4},"end":{"line":304,"column":55}},"105":{"start":{"line":304,"column":4},"end":{"line":304,"column":56}},"106":{"start":{"line":314,"column":15},"end":{"line":333,"column":3}},"107":{"start":{"line":315,"column":17},"end":{"line":315,"column":55}},"108":{"start":{"line":315,"column":10},"end":{"line":315,"column":55}},"109":{"start":{"line":316,"column":4},"end":{"line":318,"column":5}},"110":{"start":{"line":317,"column":6},"end":{"line":317,"column":40}},"111":{"start":{"line":319,"column":4},"end":{"line":319,"column":47}},"112":{"start":{"line":320,"column":10},"end":{"line":320,"column":40}},"113":{"start":{"line":321,"column":4},"end":{"line":321,"column":74}},"114":{"start":{"line":321,"column":4},"end":{"line":321,"column":75}},"115":{"start":{"line":323,"column":10},"end":{"line":330,"column":6}},"116":{"start":{"line":332,"column":4},"end":{"line":332,"column":52}},"117":{"start":{"line":332,"column":4},"end":{"line":332,"column":53}},"118":{"start":{"line":340,"column":15},"end":{"line":377,"column":3}},"119":{"start":{"line":341,"column":4},"end":{"line":346,"column":5}},"120":{"start":{"line":345,"column":6},"end":{"line":345,"column":55}},"121":{"start":{"line":348,"column":8},"end":{"line":348,"column":21}},"122":{"start":{"line":348,"column":26},"end":{"line":348,"column":73}},"123":{"start":{"line":348,"column":25},"end":{"line":348,"column":74}},"124":{"start":{"line":348,"column":4},"end":{"line":350,"column":5}},"125":{"start":{"line":349,"column":6},"end":{"line":349,"column":49}},"126":{"start":{"line":352,"column":8},"end":{"line":352,"column":18}},"127":{"start":{"line":352,"column":23},"end":{"line":352,"column":64}},"128":{"start":{"line":352,"column":22},"end":{"line":352,"column":65}},"129":{"start":{"line":352,"column":4},"end":{"line":354,"column":5}},"130":{"start":{"line":353,"column":6},"end":{"line":353,"column":46}},"131":{"start":{"line":357,"column":8},"end":{"line":357,"column":21}},"132":{"start":{"line":358,"column":17},"end":{"line":358,"column":64}},"133":{"start":{"line":358,"column":6},"end":{"line":358,"column":65}},"134":{"start":{"line":361,"column":10},"end":{"line":366,"column":6}},"135":{"start":{"line":368,"column":12},"end":{"line":368,"column":45}},"136":{"start":{"line":370,"column":6},"end":{"line":370,"column":33}},"137":{"start":{"line":371,"column":7},"end":{"line":371,"column":48}},"138":{"start":{"line":371,"column":6},"end":{"line":371,"column":48}},"139":{"start":{"line":369,"column":4},"end":{"line":374,"column":5}},"140":{"start":{"line":373,"column":6},"end":{"line":373,"column":38}},"141":{"start":{"line":376,"column":4},"end":{"line":376,"column":50}},"142":{"start":{"line":379,"column":16},"end":{"line":420,"column":3}},"143":{"start":{"line":383,"column":10},"end":{"line":385,"column":45}},"144":{"start":{"line":389,"column":8},"end":{"line":389,"column":10}},"145":{"start":{"line":391,"column":18},"end":{"line":391,"column":48}},"146":{"start":{"line":391,"column":6},"end":{"line":391,"column":49}},"147":{"start":{"line":392,"column":15},"end":{"line":392,"column":23}},"148":{"start":{"line":394,"column":18},"end":{"line":394,"column":60}},"149":{"start":{"line":394,"column":6},"end":{"line":394,"column":61}},"150":{"start":{"line":395,"column":15},"end":{"line":395,"column":20}},"151":{"start":{"line":397,"column":18},"end":{"line":397,"column":54}},"152":{"start":{"line":397,"column":6},"end":{"line":397,"column":55}},"153":{"start":{"line":400,"column":4},"end":{"line":402,"column":5}},"154":{"start":{"line":401,"column":6},"end":{"line":401,"column":40}},"155":{"start":{"line":404,"column":17},"end":{"line":404,"column":61}},"156":{"start":{"line":404,"column":10},"end":{"line":404,"column":61}},"157":{"start":{"line":405,"column":4},"end":{"line":407,"column":5}},"158":{"start":{"line":406,"column":6},"end":{"line":406,"column":50}},"159":{"start":{"line":409,"column":10},"end":{"line":409,"column":61}},"160":{"start":{"line":410,"column":10},"end":{"line":412,"column":17}},"161":{"start":{"line":413,"column":28},"end":{"line":413,"column":60}},"162":{"start":{"line":413,"column":10},"end":{"line":413,"column":60}},"163":{"start":{"line":415,"column":4},"end":{"line":417,"column":5}},"164":{"start":{"line":416,"column":6},"end":{"line":416,"column":44}},"165":{"start":{"line":419,"column":4},"end":{"line":419,"column":21}},"166":{"start":{"line":422,"column":16},"end":{"line":428,"column":3}},"167":{"start":{"line":423,"column":10},"end":{"line":423,"column":61}},"168":{"start":{"line":424,"column":10},"end":{"line":426,"column":17}},"169":{"start":{"line":427,"column":4},"end":{"line":427,"column":42}},"170":{"start":{"line":436,"column":10},"end":{"line":447,"column":3}},"171":{"start":{"line":436,"column":31},"end":{"line":436,"column":35}},"172":{"start":{"line":436,"column":37},"end":{"line":436,"column":45}},"173":{"start":{"line":436,"column":47},"end":{"line":436,"column":52}},"174":{"start":{"line":436,"column":54},"end":{"line":436,"column":56}},"175":{"start":{"line":437,"column":4},"end":{"line":445,"column":5}},"176":{"start":{"line":438,"column":6},"end":{"line":444,"column":7}},"177":{"start":{"line":439,"column":8},"end":{"line":439,"column":21}},"178":{"start":{"line":440,"column":8},"end":{"line":440,"column":24}},"179":{"start":{"line":442,"column":8},"end":{"line":442,"column":24}},"180":{"start":{"line":443,"column":8},"end":{"line":443,"column":21}},"181":{"start":{"line":446,"column":4},"end":{"line":446,"column":35}},"182":{"start":{"line":448,"column":0},"end":{"line":448,"column":1}}},"fnMap":{"0":{"name":"(anonymous_13)","decl":{"start":{"line":32,"column":23},"end":{"line":32,"column":23}},"loc":{"start":{"line":32,"column":38},"end":{"line":35,"column":1}}},"1":{"name":"(anonymous_14)","decl":{"start":{"line":52,"column":2},"end":{"line":52,"column":15}},"loc":{"start":{"line":52,"column":30},"end":{"line":55,"column":3}}},"2":{"name":"(anonymous_15)","decl":{"start":{"line":56,"column":2},"end":{"line":56,"column":18}},"loc":{"start":{"line":56,"column":36},"end":{"line":59,"column":3}}},"3":{"name":"(anonymous_16)","decl":{"start":{"line":60,"column":2},"end":{"line":60,"column":18}},"loc":{"start":{"line":60,"column":36},"end":{"line":65,"column":3}}},"4":{"name":"(anonymous_17)","decl":{"start":{"line":68,"column":0},"end":{"line":null,"column":-1}},"loc":{"start":{"line":68,"column":0},"end":{"line":68,"column":-1}}},"5":{"name":"AccountsPassword","decl":{"start":{"line":74,"column":2},"end":{"line":74,"column":13}},"loc":{"start":{"line":74,"column":46},"end":{"line":76,"column":3}}},"6":{"name":"(anonymous_19)","decl":{"start":{"line":78,"column":2},"end":{"line":79,"column":3}},"loc":{"start":{"line":79,"column":29},"end":{"line":104,"column":3}}},"7":{"name":"(anonymous_22)","decl":{"start":{"line":111,"column":2},"end":{"line":111,"column":24}},"loc":{"start":{"line":111,"column":38},"end":{"line":113,"column":3}}},"8":{"name":"(anonymous_23)","decl":{"start":{"line":120,"column":2},"end":{"line":120,"column":27}},"loc":{"start":{"line":120,"column":44},"end":{"line":122,"column":3}}},"9":{"name":"(anonymous_24)","decl":{"start":{"line":133,"column":2},"end":{"line":134,"column":3}},"loc":{"start":{"line":136,"column":21},"end":{"line":139,"column":3}}},"10":{"name":"(anonymous_25)","decl":{"start":{"line":148,"column":2},"end":{"line":148,"column":20}},"loc":{"start":{"line":148,"column":50},"end":{"line":150,"column":3}}},"11":{"name":"(anonymous_26)","decl":{"start":{"line":157,"column":2},"end":{"line":157,"column":26}},"loc":{"start":{"line":157,"column":40},"end":{"line":184,"column":3}}},"12":{"name":"(anonymous_29)","decl":{"start":{"line":170,"column":6},"end":{"line":170,"column":6}},"loc":{"start":{"line":170,"column":21},"end":{"line":170,"column":43}}},"13":{"name":"(anonymous_30)","decl":{"start":{"line":178,"column":6},"end":{"line":178,"column":6}},"loc":{"start":{"line":178,"column":21},"end":{"line":178,"column":59}}},"14":{"name":"(anonymous_31)","decl":{"start":{"line":192,"column":2},"end":{"line":193,"column":3}},"loc":{"start":{"line":194,"column":29},"end":{"line":229,"column":3}}},"15":{"name":"(anonymous_34)","decl":{"start":{"line":203,"column":47},"end":{"line":203,"column":46}},"loc":{"start":{"line":203,"column":48},"end":{"line":203,"column":69}}},"16":{"name":"(anonymous_35)","decl":{"start":{"line":212,"column":19},"end":{"line":212,"column":19}},"loc":{"start":{"line":212,"column":38},"end":{"line":212,"column":56}}},"17":{"name":"(anonymous_36)","decl":{"start":{"line":237,"column":2},"end":{"line":237,"column":26}},"loc":{"start":{"line":237,"column":62},"end":{"line":240,"column":3}}},"18":{"name":"(anonymous_39)","decl":{"start":{"line":249,"column":2},"end":{"line":249,"column":36}},"loc":{"start":{"line":249,"column":53},"end":{"line":277,"column":3}}},"19":{"name":"(anonymous_42)","decl":{"start":{"line":256,"column":38},"end":{"line":256,"column":37}},"loc":{"start":{"line":256,"column":39},"end":{"line":256,"column":54}}},"20":{"name":"(anonymous_43)","decl":{"start":{"line":261,"column":41},"end":{"line":261,"column":40}},"loc":{"start":{"line":261,"column":46},"end":{"line":261,"column":63}}},"21":{"name":"(anonymous_44)","decl":{"start":{"line":286,"column":2},"end":{"line":286,"column":37}},"loc":{"start":{"line":286,"column":53},"end":{"line":305,"column":3}}},"22":{"name":"(anonymous_47)","decl":{"start":{"line":314,"column":2},"end":{"line":314,"column":34}},"loc":{"start":{"line":314,"column":50},"end":{"line":333,"column":3}}},"23":{"name":"(anonymous_50)","decl":{"start":{"line":340,"column":2},"end":{"line":340,"column":25}},"loc":{"start":{"line":340,"column":54},"end":{"line":377,"column":3}}},"24":{"name":"(anonymous_53)","decl":{"start":{"line":379,"column":2},"end":{"line":380,"column":3}},"loc":{"start":{"line":381,"column":26},"end":{"line":420,"column":3}}},"25":{"name":"(anonymous_56)","decl":{"start":{"line":422,"column":2},"end":{"line":422,"column":37}},"loc":{"start":{"line":422,"column":60},"end":{"line":428,"column":3}}},"26":{"name":"(anonymous_59)","decl":{"start":{"line":436,"column":2},"end":{"line":436,"column":28}},"loc":{"start":{"line":436,"column":63},"end":{"line":447,"column":3}}}},"branchMap":{"0":{"loc":{"start":{"line":34,"column":9},"end":{"line":34,"column":14}},"type":"binary-expr","locations":[{"start":{"line":34,"column":9},"end":{"line":34,"column":14}},{"start":{"line":34,"column":18},"end":{"line":34,"column":32}}]},"1":{"loc":{"start":{"line":53,"column":20},"end":{"line":53,"column":47}},"type":"binary-expr","locations":[{"start":{"line":53,"column":20},"end":{"line":53,"column":47}},{"start":{"line":53,"column":51},"end":{"line":53,"column":65}}]},"2":{"loc":{"start":{"line":53,"column":34},"end":{"line":53,"column":39}},"type":"binary-expr","locations":[{"start":{"line":53,"column":34},"end":{"line":53,"column":39}},{"start":{"line":53,"column":43},"end":{"line":53,"column":45}}]},"3":{"loc":{"start":{"line":63,"column":6},"end":{"line":63,"column":14}},"type":"binary-expr","locations":[{"start":{"line":63,"column":6},"end":{"line":63,"column":14}},{"start":{"line":63,"column":18},"end":{"line":63,"column":42}},{"start":{"line":63,"column":46},"end":{"line":63,"column":74}}]},"4":{"loc":{"start":{"line":82,"column":4},"end":{"line":84,"column":5}},"type":"if","locations":[{"start":{"line":82,"column":4},"end":{"line":84,"column":5}},{"start":{"line":82,"column":4},"end":{"line":84,"column":5}}]},"5":{"loc":{"start":{"line":82,"column":8},"end":{"line":82,"column":13}},"type":"binary-expr","locations":[{"start":{"line":82,"column":8},"end":{"line":82,"column":13}},{"start":{"line":82,"column":17},"end":{"line":82,"column":26}}]},"6":{"loc":{"start":{"line":85,"column":4},"end":{"line":87,"column":5}},"type":"if","locations":[{"start":{"line":85,"column":4},"end":{"line":87,"column":5}},{"start":{"line":85,"column":4},"end":{"line":87,"column":5}}]},"7":{"loc":{"start":{"line":85,"column":9},"end":{"line":85,"column":24}},"type":"binary-expr","locations":[{"start":{"line":85,"column":9},"end":{"line":85,"column":24}},{"start":{"line":85,"column":28},"end":{"line":85,"column":48}},{"start":{"line":85,"column":53},"end":{"line":85,"column":72}}]},"8":{"loc":{"start":{"line":99,"column":4},"end":{"line":101,"column":5}},"type":"if","locations":[{"start":{"line":99,"column":4},"end":{"line":101,"column":5}},{"start":{"line":99,"column":4},"end":{"line":101,"column":5}}]},"9":{"loc":{"start":{"line":159,"column":4},"end":{"line":161,"column":5}},"type":"if","locations":[{"start":{"line":159,"column":4},"end":{"line":161,"column":5}},{"start":{"line":159,"column":4},"end":{"line":161,"column":5}}]},"10":{"loc":{"start":{"line":172,"column":4},"end":{"line":174,"column":5}},"type":"if","locations":[{"start":{"line":172,"column":4},"end":{"line":174,"column":5}},{"start":{"line":172,"column":4},"end":{"line":174,"column":5}}]},"11":{"loc":{"start":{"line":180,"column":4},"end":{"line":182,"column":5}},"type":"if","locations":[{"start":{"line":180,"column":4},"end":{"line":182,"column":5}},{"start":{"line":180,"column":4},"end":{"line":182,"column":5}}]},"12":{"loc":{"start":{"line":197,"column":4},"end":{"line":199,"column":5}},"type":"if","locations":[{"start":{"line":197,"column":4},"end":{"line":199,"column":5}},{"start":{"line":197,"column":4},"end":{"line":199,"column":5}}]},"13":{"loc":{"start":{"line":205,"column":4},"end":{"line":207,"column":5}},"type":"if","locations":[{"start":{"line":205,"column":4},"end":{"line":207,"column":5}},{"start":{"line":205,"column":4},"end":{"line":207,"column":5}}]},"14":{"loc":{"start":{"line":209,"column":19},"end":{"line":209,"column":30}},"type":"binary-expr","locations":[{"start":{"line":209,"column":19},"end":{"line":209,"column":30}},{"start":{"line":209,"column":34},"end":{"line":209,"column":36}}]},"15":{"loc":{"start":{"line":210,"column":4},"end":{"line":217,"column":5}},"type":"if","locations":[{"start":{"line":210,"column":4},"end":{"line":217,"column":5}},{"start":{"line":210,"column":4},"end":{"line":217,"column":5}}]},"16":{"loc":{"start":{"line":251,"column":4},"end":{"line":253,"column":5}},"type":"if","locations":[{"start":{"line":251,"column":4},"end":{"line":253,"column":5}},{"start":{"line":251,"column":4},"end":{"line":253,"column":5}}]},"17":{"loc":{"start":{"line":255,"column":4},"end":{"line":258,"column":5}},"type":"if","locations":[{"start":{"line":255,"column":4},"end":{"line":258,"column":5}},{"start":{"line":255,"column":4},"end":{"line":258,"column":5}}]},"18":{"loc":{"start":{"line":257,"column":16},"end":{"line":257,"column":21}},"type":"binary-expr","locations":[{"start":{"line":257,"column":16},"end":{"line":257,"column":21}},{"start":{"line":257,"column":25},"end":{"line":257,"column":38}}]},"19":{"loc":{"start":{"line":260,"column":19},"end":{"line":260,"column":30}},"type":"binary-expr","locations":[{"start":{"line":260,"column":19},"end":{"line":260,"column":30}},{"start":{"line":260,"column":34},"end":{"line":260,"column":36}}]},"20":{"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}}]},"21":{"loc":{"start":{"line":261,"column":8},"end":{"line":261,"column":16}},"type":"binary-expr","locations":[{"start":{"line":261,"column":8},"end":{"line":261,"column":16}},{"start":{"line":261,"column":20},"end":{"line":261,"column":74}}]},"22":{"loc":{"start":{"line":288,"column":4},"end":{"line":290,"column":5}},"type":"if","locations":[{"start":{"line":288,"column":4},"end":{"line":290,"column":5}},{"start":{"line":288,"column":4},"end":{"line":290,"column":5}}]},"23":{"loc":{"start":{"line":316,"column":4},"end":{"line":318,"column":5}},"type":"if","locations":[{"start":{"line":316,"column":4},"end":{"line":318,"column":5}},{"start":{"line":316,"column":4},"end":{"line":318,"column":5}}]},"24":{"loc":{"start":{"line":341,"column":4},"end":{"line":346,"column":5}},"type":"if","locations":[{"start":{"line":341,"column":4},"end":{"line":346,"column":5}},{"start":{"line":341,"column":4},"end":{"line":346,"column":5}}]},"25":{"loc":{"start":{"line":342,"column":6},"end":{"line":342,"column":51}},"type":"binary-expr","locations":[{"start":{"line":342,"column":6},"end":{"line":342,"column":51}},{"start":{"line":343,"column":6},"end":{"line":344,"column":4}}]},"26":{"loc":{"start":{"line":348,"column":4},"end":{"line":350,"column":5}},"type":"if","locations":[{"start":{"line":348,"column":4},"end":{"line":350,"column":5}},{"start":{"line":348,"column":4},"end":{"line":350,"column":5}}]},"27":{"loc":{"start":{"line":352,"column":4},"end":{"line":354,"column":5}},"type":"if","locations":[{"start":{"line":352,"column":4},"end":{"line":354,"column":5}},{"start":{"line":352,"column":4},"end":{"line":354,"column":5}}]},"28":{"loc":{"start":{"line":363,"column":13},"end":{"line":363,"column":23}},"type":"binary-expr","locations":[{"start":{"line":363,"column":13},"end":{"line":363,"column":23}},{"start":{"line":363,"column":27},"end":{"line":363,"column":51}}]},"29":{"loc":{"start":{"line":369,"column":4},"end":{"line":374,"column":5}},"type":"if","locations":[{"start":{"line":369,"column":4},"end":{"line":374,"column":5}},{"start":{"line":369,"column":4},"end":{"line":374,"column":5}}]},"30":{"loc":{"start":{"line":384,"column":8},"end":{"line":384,"column":41}},"type":"cond-expr","locations":[{"start":{"line":384,"column":8},"end":{"line":384,"column":41}},{"start":{"line":385,"column":8},"end":{"line":385,"column":44}}]},"31":{"loc":{"start":{"line":400,"column":4},"end":{"line":402,"column":5}},"type":"if","locations":[{"start":{"line":400,"column":4},"end":{"line":402,"column":5}},{"start":{"line":400,"column":4},"end":{"line":402,"column":5}}]},"32":{"loc":{"start":{"line":405,"column":4},"end":{"line":407,"column":5}},"type":"if","locations":[{"start":{"line":405,"column":4},"end":{"line":407,"column":5}},{"start":{"line":405,"column":4},"end":{"line":407,"column":5}}]},"33":{"loc":{"start":{"line":411,"column":8},"end":{"line":411,"column":45}},"type":"cond-expr","locations":[{"start":{"line":411,"column":8},"end":{"line":411,"column":45}},{"start":{"line":412,"column":8},"end":{"line":412,"column":16}}]},"34":{"loc":{"start":{"line":415,"column":4},"end":{"line":417,"column":5}},"type":"if","locations":[{"start":{"line":415,"column":4},"end":{"line":417,"column":5}},{"start":{"line":415,"column":4},"end":{"line":417,"column":5}}]},"35":{"loc":{"start":{"line":425,"column":8},"end":{"line":425,"column":45}},"type":"cond-expr","locations":[{"start":{"line":425,"column":8},"end":{"line":425,"column":45}},{"start":{"line":426,"column":8},"end":{"line":426,"column":16}}]},"36":{"loc":{"start":{"line":437,"column":4},"end":{"line":445,"column":5}},"type":"if","locations":[{"start":{"line":437,"column":4},"end":{"line":445,"column":5}},{"start":{"line":437,"column":4},"end":{"line":445,"column":5}}]},"37":{"loc":{"start":{"line":437,"column":8},"end":{"line":437,"column":12}},"type":"binary-expr","locations":[{"start":{"line":437,"column":8},"end":{"line":437,"column":12}},{"start":{"line":437,"column":16},"end":{"line":437,"column":25}},{"start":{"line":437,"column":29},"end":{"line":437,"column":35}}]},"38":{"loc":{"start":{"line":438,"column":6},"end":{"line":444,"column":7}},"type":"if","locations":[{"start":{"line":438,"column":6},"end":{"line":444,"column":7}},{"start":{"line":438,"column":6},"end":{"line":444,"column":7}}]}},"s":{"0":1,"1":1,"2":1,"3":1,"4":1,"5":6,"6":6,"7":1,"8":4,"9":4,"10":0,"11":0,"12":5,"13":5,"14":5,"15":1,"16":4,"17":1,"18":7,"19":7,"20":1,"21":6,"22":1,"23":5,"24":5,"25":2,"26":1,"27":1,"28":1,"29":1,"30":1,"31":1,"32":1,"33":1,"34":1,"35":1,"36":1,"37":4,"38":4,"39":4,"40":1,"41":3,"42":3,"43":2,"44":3,"45":1,"46":2,"47":1,"48":2,"49":1,"50":1,"51":1,"52":1,"53":4,"54":4,"55":4,"56":1,"57":3,"58":3,"59":3,"60":3,"61":1,"62":2,"63":2,"64":1,"65":1,"66":1,"67":1,"68":1,"69":1,"70":1,"71":1,"72":1,"73":1,"74":1,"75":1,"76":4,"77":4,"78":4,"79":1,"80":3,"81":1,"82":1,"83":1,"84":3,"85":3,"86":2,"87":1,"88":2,"89":2,"90":2,"91":2,"92":2,"93":2,"94":1,"95":2,"96":2,"97":2,"98":1,"99":1,"100":1,"101":1,"102":1,"103":1,"104":1,"105":1,"106":1,"107":2,"108":2,"109":2,"110":1,"111":1,"112":1,"113":1,"114":1,"115":1,"116":1,"117":1,"118":1,"119":5,"120":1,"121":7,"122":1,"123":1,"124":4,"125":1,"126":3,"127":3,"128":3,"129":3,"130":1,"131":0,"132":2,"133":2,"134":2,"135":2,"136":3,"137":1,"138":1,"139":2,"140":1,"141":1,"142":1,"143":3,"144":3,"145":0,"146":0,"147":3,"148":0,"149":0,"150":0,"151":3,"152":3,"153":3,"154":1,"155":2,"156":2,"157":2,"158":1,"159":1,"160":1,"161":1,"162":1,"163":1,"164":1,"165":0,"166":1,"167":3,"168":3,"169":3,"170":1,"171":3,"172":3,"173":3,"174":3,"175":3,"176":3,"177":3,"178":3,"179":0,"180":0,"181":3,"182":1},"f":{"0":6,"1":4,"2":0,"3":5,"4":1,"5":4,"6":7,"7":1,"8":1,"9":1,"10":1,"11":4,"12":2,"13":1,"14":4,"15":3,"16":1,"17":1,"18":4,"19":1,"20":2,"21":2,"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":[1,6],"5":[7,6],"6":[1,5],"7":[6,0,6],"8":[1,1],"9":[1,3],"10":[1,2],"11":[1,1],"12":[1,3],"13":[1,2],"14":[2,0],"15":[1,1],"16":[1,3],"17":[1,2],"18":[1,1],"19":[3,1],"20":[1,2],"21":[3,3],"22":[1,1],"23":[1,1],"24":[1,4],"25":[5,4],"26":[1,3],"27":[1,2],"28":[2,2],"29":[1,1],"30":[3,0],"31":[1,2],"32":[1,1],"33":[0,1],"34":[1,0],"35":[0,3],"36":[3,0],"37":[3,3,3],"38":[3,0]}} | ||
{"/Users/leo/dev/github/js-accounts/accounts/packages/password/src/accounts-password.ts": {"path":"/Users/leo/dev/github/js-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":23,"column":25}},"2":{"start":{"line":24,"column":0},"end":{"line":24,"column":62}},"3":{"start":{"line":25,"column":0},"end":{"line":25,"column":75}},"4":{"start":{"line":32,"column":13},"end":{"line":35,"column":2}},"5":{"start":{"line":33,"column":13},"end":{"line":33,"column":168}},"6":{"start":{"line":34,"column":2},"end":{"line":34,"column":33}},"7":{"start":{"line":48,"column":23},"end":{"line":66,"column":1}},"8":{"start":{"line":53,"column":20},"end":{"line":53,"column":65}},"9":{"start":{"line":54,"column":4},"end":{"line":54,"column":28}},"10":{"start":{"line":57,"column":20},"end":{"line":57,"column":38}},"11":{"start":{"line":58,"column":4},"end":{"line":58,"column":19}},"12":{"start":{"line":61,"column":26},"end":{"line":61,"column":50}},"13":{"start":{"line":63,"column":6},"end":{"line":63,"column":74}},"14":{"start":{"line":64,"column":4},"end":{"line":64,"column":28}},"15":{"start":{"line":68,"column":0},"end":{"line":449,"column":0}},"16":{"start":{"line":75,"column":4},"end":{"line":75,"column":53}},"17":{"start":{"line":78,"column":15},"end":{"line":104,"column":3}},"18":{"start":{"line":81,"column":12},"end":{"line":81,"column":38}},"19":{"start":{"line":82,"column":4},"end":{"line":84,"column":5}},"20":{"start":{"line":83,"column":6},"end":{"line":83,"column":64}},"21":{"start":{"line":85,"column":4},"end":{"line":87,"column":5}},"22":{"start":{"line":86,"column":6},"end":{"line":86,"column":38}},"23":{"start":{"line":97,"column":16},"end":{"line":97,"column":64}},"24":{"start":{"line":97,"column":4},"end":{"line":97,"column":65}},"25":{"start":{"line":99,"column":4},"end":{"line":101,"column":5}},"26":{"start":{"line":100,"column":6},"end":{"line":100,"column":40}},"27":{"start":{"line":103,"column":4},"end":{"line":103,"column":21}},"28":{"start":{"line":111,"column":9},"end":{"line":113,"column":3}},"29":{"start":{"line":112,"column":4},"end":{"line":112,"column":42}},"30":{"start":{"line":120,"column":9},"end":{"line":122,"column":3}},"31":{"start":{"line":121,"column":4},"end":{"line":121,"column":48}},"32":{"start":{"line":133,"column":9},"end":{"line":139,"column":3}},"33":{"start":{"line":138,"column":4},"end":{"line":138,"column":56}},"34":{"start":{"line":148,"column":9},"end":{"line":150,"column":3}},"35":{"start":{"line":149,"column":4},"end":{"line":149,"column":46}},"36":{"start":{"line":157,"column":15},"end":{"line":184,"column":3}},"37":{"start":{"line":158,"column":17},"end":{"line":158,"column":70}},"38":{"start":{"line":158,"column":10},"end":{"line":158,"column":70}},"39":{"start":{"line":159,"column":4},"end":{"line":161,"column":5}},"40":{"start":{"line":160,"column":6},"end":{"line":160,"column":51}},"41":{"start":{"line":163,"column":10},"end":{"line":167,"column":6}},"42":{"start":{"line":168,"column":10},"end":{"line":171,"column":6}},"43":{"start":{"line":170,"column":26},"end":{"line":170,"column":43}},"44":{"start":{"line":172,"column":4},"end":{"line":174,"column":5}},"45":{"start":{"line":173,"column":6},"end":{"line":173,"column":51}},"46":{"start":{"line":176,"column":10},"end":{"line":179,"column":6}},"47":{"start":{"line":178,"column":26},"end":{"line":178,"column":59}},"48":{"start":{"line":180,"column":4},"end":{"line":182,"column":5}},"49":{"start":{"line":181,"column":6},"end":{"line":181,"column":66}},"50":{"start":{"line":183,"column":4},"end":{"line":183,"column":59}},"51":{"start":{"line":183,"column":4},"end":{"line":183,"column":60}},"52":{"start":{"line":192,"column":15},"end":{"line":229,"column":3}},"53":{"start":{"line":196,"column":17},"end":{"line":196,"column":66}},"54":{"start":{"line":196,"column":10},"end":{"line":196,"column":66}},"55":{"start":{"line":197,"column":4},"end":{"line":199,"column":5}},"56":{"start":{"line":198,"column":6},"end":{"line":198,"column":53}},"57":{"start":{"line":202,"column":10},"end":{"line":202,"column":69}},"58":{"start":{"line":203,"column":10},"end":{"line":203,"column":71}},"59":{"start":{"line":203,"column":52},"end":{"line":203,"column":69}},"60":{"start":{"line":205,"column":4},"end":{"line":207,"column":5}},"61":{"start":{"line":206,"column":6},"end":{"line":206,"column":53}},"62":{"start":{"line":209,"column":10},"end":{"line":209,"column":37}},"63":{"start":{"line":210,"column":4},"end":{"line":217,"column":5}},"64":{"start":{"line":212,"column":43},"end":{"line":212,"column":56}},"65":{"start":{"line":216,"column":6},"end":{"line":216,"column":57}},"66":{"start":{"line":219,"column":21},"end":{"line":219,"column":66}},"67":{"start":{"line":219,"column":10},"end":{"line":219,"column":66}},"68":{"start":{"line":221,"column":4},"end":{"line":226,"column":5}},"69":{"start":{"line":221,"column":4},"end":{"line":226,"column":6}},"70":{"start":{"line":228,"column":4},"end":{"line":228,"column":43}},"71":{"start":{"line":237,"column":15},"end":{"line":240,"column":3}},"72":{"start":{"line":238,"column":21},"end":{"line":238,"column":54}},"73":{"start":{"line":238,"column":10},"end":{"line":238,"column":54}},"74":{"start":{"line":239,"column":4},"end":{"line":239,"column":49}},"75":{"start":{"line":249,"column":15},"end":{"line":275,"column":3}},"76":{"start":{"line":250,"column":4},"end":{"line":252,"column":5}},"77":{"start":{"line":251,"column":6},"end":{"line":251,"column":39}},"78":{"start":{"line":253,"column":17},"end":{"line":253,"column":55}},"79":{"start":{"line":253,"column":10},"end":{"line":253,"column":55}},"80":{"start":{"line":254,"column":4},"end":{"line":256,"column":5}},"81":{"start":{"line":255,"column":6},"end":{"line":255,"column":40}},"82":{"start":{"line":258,"column":10},"end":{"line":258,"column":37}},"83":{"start":{"line":259,"column":4},"end":{"line":261,"column":5}},"84":{"start":{"line":259,"column":50},"end":{"line":259,"column":63}},"85":{"start":{"line":260,"column":6},"end":{"line":260,"column":56}},"86":{"start":{"line":262,"column":10},"end":{"line":262,"column":40}},"87":{"start":{"line":263,"column":4},"end":{"line":263,"column":68}},"88":{"start":{"line":263,"column":4},"end":{"line":263,"column":69}},"89":{"start":{"line":265,"column":10},"end":{"line":272,"column":6}},"90":{"start":{"line":274,"column":4},"end":{"line":274,"column":55}},"91":{"start":{"line":274,"column":4},"end":{"line":274,"column":56}},"92":{"start":{"line":284,"column":15},"end":{"line":306,"column":3}},"93":{"start":{"line":285,"column":4},"end":{"line":287,"column":5}},"94":{"start":{"line":286,"column":6},"end":{"line":286,"column":39}},"95":{"start":{"line":288,"column":17},"end":{"line":288,"column":55}},"96":{"start":{"line":288,"column":10},"end":{"line":288,"column":55}},"97":{"start":{"line":289,"column":4},"end":{"line":291,"column":5}},"98":{"start":{"line":290,"column":6},"end":{"line":290,"column":40}},"99":{"start":{"line":292,"column":4},"end":{"line":292,"column":47}},"100":{"start":{"line":293,"column":10},"end":{"line":293,"column":40}},"101":{"start":{"line":294,"column":4},"end":{"line":294,"column":64}},"102":{"start":{"line":294,"column":4},"end":{"line":294,"column":65}},"103":{"start":{"line":296,"column":10},"end":{"line":303,"column":6}},"104":{"start":{"line":305,"column":4},"end":{"line":305,"column":55}},"105":{"start":{"line":305,"column":4},"end":{"line":305,"column":56}},"106":{"start":{"line":315,"column":15},"end":{"line":334,"column":3}},"107":{"start":{"line":316,"column":17},"end":{"line":316,"column":55}},"108":{"start":{"line":316,"column":10},"end":{"line":316,"column":55}},"109":{"start":{"line":317,"column":4},"end":{"line":319,"column":5}},"110":{"start":{"line":318,"column":6},"end":{"line":318,"column":40}},"111":{"start":{"line":320,"column":4},"end":{"line":320,"column":47}},"112":{"start":{"line":321,"column":10},"end":{"line":321,"column":40}},"113":{"start":{"line":322,"column":4},"end":{"line":322,"column":74}},"114":{"start":{"line":322,"column":4},"end":{"line":322,"column":75}},"115":{"start":{"line":324,"column":10},"end":{"line":331,"column":6}},"116":{"start":{"line":333,"column":4},"end":{"line":333,"column":52}},"117":{"start":{"line":333,"column":4},"end":{"line":333,"column":53}},"118":{"start":{"line":341,"column":15},"end":{"line":378,"column":3}},"119":{"start":{"line":342,"column":4},"end":{"line":347,"column":5}},"120":{"start":{"line":346,"column":6},"end":{"line":346,"column":55}},"121":{"start":{"line":349,"column":8},"end":{"line":349,"column":21}},"122":{"start":{"line":349,"column":26},"end":{"line":349,"column":73}},"123":{"start":{"line":349,"column":25},"end":{"line":349,"column":74}},"124":{"start":{"line":349,"column":4},"end":{"line":351,"column":5}},"125":{"start":{"line":350,"column":6},"end":{"line":350,"column":49}},"126":{"start":{"line":353,"column":8},"end":{"line":353,"column":18}},"127":{"start":{"line":353,"column":23},"end":{"line":353,"column":64}},"128":{"start":{"line":353,"column":22},"end":{"line":353,"column":65}},"129":{"start":{"line":353,"column":4},"end":{"line":355,"column":5}},"130":{"start":{"line":354,"column":6},"end":{"line":354,"column":46}},"131":{"start":{"line":358,"column":8},"end":{"line":358,"column":21}},"132":{"start":{"line":359,"column":17},"end":{"line":359,"column":64}},"133":{"start":{"line":359,"column":6},"end":{"line":359,"column":65}},"134":{"start":{"line":362,"column":10},"end":{"line":367,"column":6}},"135":{"start":{"line":369,"column":12},"end":{"line":369,"column":45}},"136":{"start":{"line":371,"column":6},"end":{"line":371,"column":33}},"137":{"start":{"line":372,"column":7},"end":{"line":372,"column":48}},"138":{"start":{"line":372,"column":6},"end":{"line":372,"column":48}},"139":{"start":{"line":370,"column":4},"end":{"line":375,"column":5}},"140":{"start":{"line":374,"column":6},"end":{"line":374,"column":38}},"141":{"start":{"line":377,"column":4},"end":{"line":377,"column":50}},"142":{"start":{"line":380,"column":16},"end":{"line":421,"column":3}},"143":{"start":{"line":384,"column":10},"end":{"line":386,"column":45}},"144":{"start":{"line":390,"column":8},"end":{"line":390,"column":10}},"145":{"start":{"line":392,"column":18},"end":{"line":392,"column":48}},"146":{"start":{"line":392,"column":6},"end":{"line":392,"column":49}},"147":{"start":{"line":393,"column":15},"end":{"line":393,"column":23}},"148":{"start":{"line":395,"column":18},"end":{"line":395,"column":60}},"149":{"start":{"line":395,"column":6},"end":{"line":395,"column":61}},"150":{"start":{"line":396,"column":15},"end":{"line":396,"column":20}},"151":{"start":{"line":398,"column":18},"end":{"line":398,"column":54}},"152":{"start":{"line":398,"column":6},"end":{"line":398,"column":55}},"153":{"start":{"line":401,"column":4},"end":{"line":403,"column":5}},"154":{"start":{"line":402,"column":6},"end":{"line":402,"column":40}},"155":{"start":{"line":405,"column":17},"end":{"line":405,"column":61}},"156":{"start":{"line":405,"column":10},"end":{"line":405,"column":61}},"157":{"start":{"line":406,"column":4},"end":{"line":408,"column":5}},"158":{"start":{"line":407,"column":6},"end":{"line":407,"column":50}},"159":{"start":{"line":410,"column":10},"end":{"line":410,"column":61}},"160":{"start":{"line":411,"column":10},"end":{"line":413,"column":17}},"161":{"start":{"line":414,"column":28},"end":{"line":414,"column":60}},"162":{"start":{"line":414,"column":10},"end":{"line":414,"column":60}},"163":{"start":{"line":416,"column":4},"end":{"line":418,"column":5}},"164":{"start":{"line":417,"column":6},"end":{"line":417,"column":44}},"165":{"start":{"line":420,"column":4},"end":{"line":420,"column":21}},"166":{"start":{"line":423,"column":16},"end":{"line":429,"column":3}},"167":{"start":{"line":424,"column":10},"end":{"line":424,"column":61}},"168":{"start":{"line":425,"column":10},"end":{"line":427,"column":17}},"169":{"start":{"line":428,"column":4},"end":{"line":428,"column":42}},"170":{"start":{"line":437,"column":10},"end":{"line":448,"column":3}},"171":{"start":{"line":437,"column":31},"end":{"line":437,"column":35}},"172":{"start":{"line":437,"column":37},"end":{"line":437,"column":45}},"173":{"start":{"line":437,"column":47},"end":{"line":437,"column":52}},"174":{"start":{"line":437,"column":54},"end":{"line":437,"column":56}},"175":{"start":{"line":438,"column":4},"end":{"line":446,"column":5}},"176":{"start":{"line":439,"column":6},"end":{"line":445,"column":7}},"177":{"start":{"line":440,"column":8},"end":{"line":440,"column":21}},"178":{"start":{"line":441,"column":8},"end":{"line":441,"column":24}},"179":{"start":{"line":443,"column":8},"end":{"line":443,"column":24}},"180":{"start":{"line":444,"column":8},"end":{"line":444,"column":21}},"181":{"start":{"line":447,"column":4},"end":{"line":447,"column":35}},"182":{"start":{"line":449,"column":0},"end":{"line":449,"column":1}}},"fnMap":{"0":{"name":"(anonymous_13)","decl":{"start":{"line":32,"column":23},"end":{"line":32,"column":23}},"loc":{"start":{"line":32,"column":38},"end":{"line":35,"column":1}}},"1":{"name":"(anonymous_14)","decl":{"start":{"line":52,"column":2},"end":{"line":52,"column":15}},"loc":{"start":{"line":52,"column":30},"end":{"line":55,"column":3}}},"2":{"name":"(anonymous_15)","decl":{"start":{"line":56,"column":2},"end":{"line":56,"column":18}},"loc":{"start":{"line":56,"column":36},"end":{"line":59,"column":3}}},"3":{"name":"(anonymous_16)","decl":{"start":{"line":60,"column":2},"end":{"line":60,"column":18}},"loc":{"start":{"line":60,"column":36},"end":{"line":65,"column":3}}},"4":{"name":"(anonymous_17)","decl":{"start":{"line":68,"column":0},"end":{"line":null,"column":-1}},"loc":{"start":{"line":68,"column":0},"end":{"line":68,"column":-1}}},"5":{"name":"AccountsPassword","decl":{"start":{"line":74,"column":2},"end":{"line":74,"column":13}},"loc":{"start":{"line":74,"column":46},"end":{"line":76,"column":3}}},"6":{"name":"(anonymous_19)","decl":{"start":{"line":78,"column":2},"end":{"line":79,"column":3}},"loc":{"start":{"line":79,"column":29},"end":{"line":104,"column":3}}},"7":{"name":"(anonymous_22)","decl":{"start":{"line":111,"column":2},"end":{"line":111,"column":24}},"loc":{"start":{"line":111,"column":38},"end":{"line":113,"column":3}}},"8":{"name":"(anonymous_23)","decl":{"start":{"line":120,"column":2},"end":{"line":120,"column":27}},"loc":{"start":{"line":120,"column":44},"end":{"line":122,"column":3}}},"9":{"name":"(anonymous_24)","decl":{"start":{"line":133,"column":2},"end":{"line":134,"column":3}},"loc":{"start":{"line":136,"column":21},"end":{"line":139,"column":3}}},"10":{"name":"(anonymous_25)","decl":{"start":{"line":148,"column":2},"end":{"line":148,"column":20}},"loc":{"start":{"line":148,"column":50},"end":{"line":150,"column":3}}},"11":{"name":"(anonymous_26)","decl":{"start":{"line":157,"column":2},"end":{"line":157,"column":26}},"loc":{"start":{"line":157,"column":40},"end":{"line":184,"column":3}}},"12":{"name":"(anonymous_29)","decl":{"start":{"line":170,"column":6},"end":{"line":170,"column":6}},"loc":{"start":{"line":170,"column":21},"end":{"line":170,"column":43}}},"13":{"name":"(anonymous_30)","decl":{"start":{"line":178,"column":6},"end":{"line":178,"column":6}},"loc":{"start":{"line":178,"column":21},"end":{"line":178,"column":59}}},"14":{"name":"(anonymous_31)","decl":{"start":{"line":192,"column":2},"end":{"line":193,"column":3}},"loc":{"start":{"line":194,"column":29},"end":{"line":229,"column":3}}},"15":{"name":"(anonymous_34)","decl":{"start":{"line":203,"column":47},"end":{"line":203,"column":46}},"loc":{"start":{"line":203,"column":48},"end":{"line":203,"column":69}}},"16":{"name":"(anonymous_35)","decl":{"start":{"line":212,"column":19},"end":{"line":212,"column":19}},"loc":{"start":{"line":212,"column":38},"end":{"line":212,"column":56}}},"17":{"name":"(anonymous_36)","decl":{"start":{"line":237,"column":2},"end":{"line":237,"column":26}},"loc":{"start":{"line":237,"column":62},"end":{"line":240,"column":3}}},"18":{"name":"(anonymous_39)","decl":{"start":{"line":249,"column":2},"end":{"line":249,"column":36}},"loc":{"start":{"line":249,"column":52},"end":{"line":275,"column":3}}},"19":{"name":"(anonymous_42)","decl":{"start":{"line":259,"column":41},"end":{"line":259,"column":40}},"loc":{"start":{"line":259,"column":46},"end":{"line":259,"column":63}}},"20":{"name":"(anonymous_43)","decl":{"start":{"line":284,"column":2},"end":{"line":284,"column":37}},"loc":{"start":{"line":284,"column":53},"end":{"line":306,"column":3}}},"21":{"name":"(anonymous_46)","decl":{"start":{"line":315,"column":2},"end":{"line":315,"column":34}},"loc":{"start":{"line":315,"column":50},"end":{"line":334,"column":3}}},"22":{"name":"(anonymous_49)","decl":{"start":{"line":341,"column":2},"end":{"line":341,"column":25}},"loc":{"start":{"line":341,"column":54},"end":{"line":378,"column":3}}},"23":{"name":"(anonymous_52)","decl":{"start":{"line":380,"column":2},"end":{"line":381,"column":3}},"loc":{"start":{"line":382,"column":26},"end":{"line":421,"column":3}}},"24":{"name":"(anonymous_55)","decl":{"start":{"line":423,"column":2},"end":{"line":423,"column":37}},"loc":{"start":{"line":423,"column":60},"end":{"line":429,"column":3}}},"25":{"name":"(anonymous_58)","decl":{"start":{"line":437,"column":2},"end":{"line":437,"column":28}},"loc":{"start":{"line":437,"column":63},"end":{"line":448,"column":3}}}},"branchMap":{"0":{"loc":{"start":{"line":34,"column":9},"end":{"line":34,"column":14}},"type":"binary-expr","locations":[{"start":{"line":34,"column":9},"end":{"line":34,"column":14}},{"start":{"line":34,"column":18},"end":{"line":34,"column":32}}]},"1":{"loc":{"start":{"line":53,"column":20},"end":{"line":53,"column":47}},"type":"binary-expr","locations":[{"start":{"line":53,"column":20},"end":{"line":53,"column":47}},{"start":{"line":53,"column":51},"end":{"line":53,"column":65}}]},"2":{"loc":{"start":{"line":53,"column":34},"end":{"line":53,"column":39}},"type":"binary-expr","locations":[{"start":{"line":53,"column":34},"end":{"line":53,"column":39}},{"start":{"line":53,"column":43},"end":{"line":53,"column":45}}]},"3":{"loc":{"start":{"line":63,"column":6},"end":{"line":63,"column":14}},"type":"binary-expr","locations":[{"start":{"line":63,"column":6},"end":{"line":63,"column":14}},{"start":{"line":63,"column":18},"end":{"line":63,"column":42}},{"start":{"line":63,"column":46},"end":{"line":63,"column":74}}]},"4":{"loc":{"start":{"line":82,"column":4},"end":{"line":84,"column":5}},"type":"if","locations":[{"start":{"line":82,"column":4},"end":{"line":84,"column":5}},{"start":{"line":82,"column":4},"end":{"line":84,"column":5}}]},"5":{"loc":{"start":{"line":82,"column":8},"end":{"line":82,"column":13}},"type":"binary-expr","locations":[{"start":{"line":82,"column":8},"end":{"line":82,"column":13}},{"start":{"line":82,"column":17},"end":{"line":82,"column":26}}]},"6":{"loc":{"start":{"line":85,"column":4},"end":{"line":87,"column":5}},"type":"if","locations":[{"start":{"line":85,"column":4},"end":{"line":87,"column":5}},{"start":{"line":85,"column":4},"end":{"line":87,"column":5}}]},"7":{"loc":{"start":{"line":85,"column":9},"end":{"line":85,"column":24}},"type":"binary-expr","locations":[{"start":{"line":85,"column":9},"end":{"line":85,"column":24}},{"start":{"line":85,"column":28},"end":{"line":85,"column":48}},{"start":{"line":85,"column":53},"end":{"line":85,"column":72}}]},"8":{"loc":{"start":{"line":99,"column":4},"end":{"line":101,"column":5}},"type":"if","locations":[{"start":{"line":99,"column":4},"end":{"line":101,"column":5}},{"start":{"line":99,"column":4},"end":{"line":101,"column":5}}]},"9":{"loc":{"start":{"line":159,"column":4},"end":{"line":161,"column":5}},"type":"if","locations":[{"start":{"line":159,"column":4},"end":{"line":161,"column":5}},{"start":{"line":159,"column":4},"end":{"line":161,"column":5}}]},"10":{"loc":{"start":{"line":172,"column":4},"end":{"line":174,"column":5}},"type":"if","locations":[{"start":{"line":172,"column":4},"end":{"line":174,"column":5}},{"start":{"line":172,"column":4},"end":{"line":174,"column":5}}]},"11":{"loc":{"start":{"line":180,"column":4},"end":{"line":182,"column":5}},"type":"if","locations":[{"start":{"line":180,"column":4},"end":{"line":182,"column":5}},{"start":{"line":180,"column":4},"end":{"line":182,"column":5}}]},"12":{"loc":{"start":{"line":197,"column":4},"end":{"line":199,"column":5}},"type":"if","locations":[{"start":{"line":197,"column":4},"end":{"line":199,"column":5}},{"start":{"line":197,"column":4},"end":{"line":199,"column":5}}]},"13":{"loc":{"start":{"line":205,"column":4},"end":{"line":207,"column":5}},"type":"if","locations":[{"start":{"line":205,"column":4},"end":{"line":207,"column":5}},{"start":{"line":205,"column":4},"end":{"line":207,"column":5}}]},"14":{"loc":{"start":{"line":209,"column":19},"end":{"line":209,"column":30}},"type":"binary-expr","locations":[{"start":{"line":209,"column":19},"end":{"line":209,"column":30}},{"start":{"line":209,"column":34},"end":{"line":209,"column":36}}]},"15":{"loc":{"start":{"line":210,"column":4},"end":{"line":217,"column":5}},"type":"if","locations":[{"start":{"line":210,"column":4},"end":{"line":217,"column":5}},{"start":{"line":210,"column":4},"end":{"line":217,"column":5}}]},"16":{"loc":{"start":{"line":250,"column":4},"end":{"line":252,"column":5}},"type":"if","locations":[{"start":{"line":250,"column":4},"end":{"line":252,"column":5}},{"start":{"line":250,"column":4},"end":{"line":252,"column":5}}]},"17":{"loc":{"start":{"line":254,"column":4},"end":{"line":256,"column":5}},"type":"if","locations":[{"start":{"line":254,"column":4},"end":{"line":256,"column":5}},{"start":{"line":254,"column":4},"end":{"line":256,"column":5}}]},"18":{"loc":{"start":{"line":258,"column":19},"end":{"line":258,"column":30}},"type":"binary-expr","locations":[{"start":{"line":258,"column":19},"end":{"line":258,"column":30}},{"start":{"line":258,"column":34},"end":{"line":258,"column":36}}]},"19":{"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}}]},"20":{"loc":{"start":{"line":259,"column":8},"end":{"line":259,"column":16}},"type":"binary-expr","locations":[{"start":{"line":259,"column":8},"end":{"line":259,"column":16}},{"start":{"line":259,"column":20},"end":{"line":259,"column":74}}]},"21":{"loc":{"start":{"line":285,"column":4},"end":{"line":287,"column":5}},"type":"if","locations":[{"start":{"line":285,"column":4},"end":{"line":287,"column":5}},{"start":{"line":285,"column":4},"end":{"line":287,"column":5}}]},"22":{"loc":{"start":{"line":289,"column":4},"end":{"line":291,"column":5}},"type":"if","locations":[{"start":{"line":289,"column":4},"end":{"line":291,"column":5}},{"start":{"line":289,"column":4},"end":{"line":291,"column":5}}]},"23":{"loc":{"start":{"line":317,"column":4},"end":{"line":319,"column":5}},"type":"if","locations":[{"start":{"line":317,"column":4},"end":{"line":319,"column":5}},{"start":{"line":317,"column":4},"end":{"line":319,"column":5}}]},"24":{"loc":{"start":{"line":342,"column":4},"end":{"line":347,"column":5}},"type":"if","locations":[{"start":{"line":342,"column":4},"end":{"line":347,"column":5}},{"start":{"line":342,"column":4},"end":{"line":347,"column":5}}]},"25":{"loc":{"start":{"line":343,"column":6},"end":{"line":343,"column":51}},"type":"binary-expr","locations":[{"start":{"line":343,"column":6},"end":{"line":343,"column":51}},{"start":{"line":344,"column":6},"end":{"line":345,"column":4}}]},"26":{"loc":{"start":{"line":349,"column":4},"end":{"line":351,"column":5}},"type":"if","locations":[{"start":{"line":349,"column":4},"end":{"line":351,"column":5}},{"start":{"line":349,"column":4},"end":{"line":351,"column":5}}]},"27":{"loc":{"start":{"line":353,"column":4},"end":{"line":355,"column":5}},"type":"if","locations":[{"start":{"line":353,"column":4},"end":{"line":355,"column":5}},{"start":{"line":353,"column":4},"end":{"line":355,"column":5}}]},"28":{"loc":{"start":{"line":364,"column":13},"end":{"line":364,"column":23}},"type":"binary-expr","locations":[{"start":{"line":364,"column":13},"end":{"line":364,"column":23}},{"start":{"line":364,"column":27},"end":{"line":364,"column":51}}]},"29":{"loc":{"start":{"line":370,"column":4},"end":{"line":375,"column":5}},"type":"if","locations":[{"start":{"line":370,"column":4},"end":{"line":375,"column":5}},{"start":{"line":370,"column":4},"end":{"line":375,"column":5}}]},"30":{"loc":{"start":{"line":385,"column":8},"end":{"line":385,"column":41}},"type":"cond-expr","locations":[{"start":{"line":385,"column":8},"end":{"line":385,"column":41}},{"start":{"line":386,"column":8},"end":{"line":386,"column":44}}]},"31":{"loc":{"start":{"line":401,"column":4},"end":{"line":403,"column":5}},"type":"if","locations":[{"start":{"line":401,"column":4},"end":{"line":403,"column":5}},{"start":{"line":401,"column":4},"end":{"line":403,"column":5}}]},"32":{"loc":{"start":{"line":406,"column":4},"end":{"line":408,"column":5}},"type":"if","locations":[{"start":{"line":406,"column":4},"end":{"line":408,"column":5}},{"start":{"line":406,"column":4},"end":{"line":408,"column":5}}]},"33":{"loc":{"start":{"line":412,"column":8},"end":{"line":412,"column":45}},"type":"cond-expr","locations":[{"start":{"line":412,"column":8},"end":{"line":412,"column":45}},{"start":{"line":413,"column":8},"end":{"line":413,"column":16}}]},"34":{"loc":{"start":{"line":416,"column":4},"end":{"line":418,"column":5}},"type":"if","locations":[{"start":{"line":416,"column":4},"end":{"line":418,"column":5}},{"start":{"line":416,"column":4},"end":{"line":418,"column":5}}]},"35":{"loc":{"start":{"line":426,"column":8},"end":{"line":426,"column":45}},"type":"cond-expr","locations":[{"start":{"line":426,"column":8},"end":{"line":426,"column":45}},{"start":{"line":427,"column":8},"end":{"line":427,"column":16}}]},"36":{"loc":{"start":{"line":438,"column":4},"end":{"line":446,"column":5}},"type":"if","locations":[{"start":{"line":438,"column":4},"end":{"line":446,"column":5}},{"start":{"line":438,"column":4},"end":{"line":446,"column":5}}]},"37":{"loc":{"start":{"line":438,"column":8},"end":{"line":438,"column":12}},"type":"binary-expr","locations":[{"start":{"line":438,"column":8},"end":{"line":438,"column":12}},{"start":{"line":438,"column":16},"end":{"line":438,"column":25}},{"start":{"line":438,"column":29},"end":{"line":438,"column":35}}]},"38":{"loc":{"start":{"line":439,"column":6},"end":{"line":445,"column":7}},"type":"if","locations":[{"start":{"line":439,"column":6},"end":{"line":445,"column":7}},{"start":{"line":439,"column":6},"end":{"line":445,"column":7}}]}},"s":{"0":1,"1":1,"2":1,"3":1,"4":1,"5":6,"6":6,"7":1,"8":4,"9":4,"10":0,"11":0,"12":5,"13":5,"14":5,"15":1,"16":4,"17":1,"18":7,"19":7,"20":1,"21":6,"22":1,"23":5,"24":5,"25":2,"26":1,"27":1,"28":1,"29":1,"30":1,"31":1,"32":1,"33":1,"34":1,"35":1,"36":1,"37":4,"38":4,"39":4,"40":1,"41":3,"42":3,"43":2,"44":3,"45":1,"46":2,"47":1,"48":2,"49":1,"50":1,"51":1,"52":1,"53":4,"54":4,"55":4,"56":1,"57":3,"58":3,"59":3,"60":3,"61":1,"62":2,"63":2,"64":1,"65":1,"66":1,"67":1,"68":1,"69":1,"70":1,"71":1,"72":1,"73":1,"74":1,"75":1,"76":4,"77":0,"78":4,"79":4,"80":4,"81":1,"82":3,"83":3,"84":4,"85":1,"86":2,"87":2,"88":2,"89":2,"90":2,"91":2,"92":1,"93":2,"94":0,"95":2,"96":2,"97":2,"98":1,"99":1,"100":1,"101":1,"102":1,"103":1,"104":1,"105":1,"106":1,"107":2,"108":2,"109":2,"110":1,"111":1,"112":1,"113":1,"114":1,"115":1,"116":1,"117":1,"118":1,"119":5,"120":1,"121":7,"122":1,"123":1,"124":4,"125":1,"126":3,"127":3,"128":3,"129":3,"130":1,"131":0,"132":2,"133":2,"134":2,"135":2,"136":3,"137":1,"138":1,"139":2,"140":1,"141":1,"142":1,"143":3,"144":3,"145":0,"146":0,"147":3,"148":0,"149":0,"150":0,"151":3,"152":3,"153":3,"154":1,"155":2,"156":2,"157":2,"158":1,"159":1,"160":1,"161":1,"162":1,"163":1,"164":1,"165":0,"166":1,"167":3,"168":3,"169":3,"170":1,"171":3,"172":3,"173":3,"174":3,"175":3,"176":3,"177":3,"178":3,"179":0,"180":0,"181":3,"182":1},"f":{"0":6,"1":4,"2":0,"3":5,"4":1,"5":4,"6":7,"7":1,"8":1,"9":1,"10":1,"11":4,"12":2,"13":1,"14":4,"15":3,"16":1,"17":1,"18":4,"19":4,"20":2,"21":2,"22":5,"23":3,"24":3,"25":3},"b":{"0":[6,6],"1":[4,3],"2":[4,1],"3":[5,1,1],"4":[1,6],"5":[7,6],"6":[1,5],"7":[6,0,6],"8":[1,1],"9":[1,3],"10":[1,2],"11":[1,1],"12":[1,3],"13":[1,2],"14":[2,0],"15":[1,1],"16":[0,4],"17":[1,3],"18":[3,1],"19":[1,2],"20":[3,3],"21":[0,2],"22":[1,1],"23":[1,1],"24":[1,4],"25":[5,4],"26":[1,3],"27":[1,2],"28":[2,2],"29":[1,1],"30":[3,0],"31":[1,2],"32":[1,1],"33":[0,1],"34":[1,0],"35":[0,3],"36":[3,0],"37":[3,3,3],"38":[3,0]}} | ||
,"/Users/leo/dev/github/js-accounts/accounts/packages/password/src/encryption.ts": {"path":"/Users/leo/dev/github/js-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":1,"1":1,"2":1,"3":1,"4":4,"5":4,"6":4,"7":4,"8":4,"9":1,"10":0,"11":0,"12":0,"13":0,"14":0,"15":1,"16":1},"f":{"0":4,"1":0,"2":1},"b":{"0":[0,0]}} | ||
,"/Users/leo/dev/github/js-accounts/accounts/packages/password/src/index.ts": {"path":"/Users/leo/dev/github/js-accounts/accounts/packages/password/src/index.ts","statementMap":{"0":{"start":{"line":1,"column":0},"end":{"line":1,"column":50}},"1":{"start":{"line":3,"column":9},"end":{"line":3,"column":25}}},"fnMap":{},"branchMap":{},"s":{"0":1,"1":1},"f":{},"b":{}} | ||
} |
@@ -222,3 +222,7 @@ "use strict"; | ||
switch (_a.label) { | ||
case 0: return [4, this.db.findUserByEmail(address)]; | ||
case 0: | ||
if (!address) { | ||
throw new Error('Invalid email'); | ||
} | ||
return [4, this.db.findUserByEmail(address)]; | ||
case 1: | ||
@@ -225,0 +229,0 @@ user = _a.sent(); |
{ | ||
"name": "@accounts/password", | ||
"version": "0.1.0-alpha.55f51f1c", | ||
"version": "0.1.0-alpha.5b339220", | ||
"license": "MIT", | ||
@@ -32,11 +32,11 @@ "main": "lib/index.js", | ||
"devDependencies": { | ||
"@accounts/common": "^0.1.0-alpha.55f51f1c", | ||
"@accounts/server": "^0.1.0-alpha.55f51f1c", | ||
"@accounts/common": "^0.1.0-alpha.5b339220", | ||
"@accounts/server": "^0.1.0-alpha.5b339220", | ||
"@types/bcryptjs": "^2.4.0", | ||
"@types/lodash": "^4.14.66" | ||
"@types/lodash": "^4.14.81" | ||
}, | ||
"peerDependencies": { | ||
"@accounts/common": "^0.1.0-alpha.55f51f1c", | ||
"@accounts/server": "^0.1.0-alpha.55f51f1c" | ||
"@accounts/common": "^0.1.0-alpha.5b339220", | ||
"@accounts/server": "^0.1.0-alpha.5b339220" | ||
} | ||
} |
@@ -285,2 +285,5 @@ import { | ||
public async sendResetPasswordEmail(address: string): Promise<void> { | ||
if (!address) { | ||
throw new Error('Invalid email'); | ||
} | ||
const user = await this.db.findUserByEmail(address); | ||
@@ -287,0 +290,0 @@ if (!user) { |
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
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
208962
1987
0