@accounts/two-factor
Advanced tools
Comparing version 0.1.0-beta.7 to 0.1.0-beta.8
@@ -1,4 +0,4 @@ | ||
{"/Users/leo/dev/accounts-js/accounts/packages/two-factor/src/errors.ts": {"path":"/Users/leo/dev/accounts-js/accounts/packages/two-factor/src/errors.ts","statementMap":{"0":{"start":{"line":1,"column":13},"end":{"line":7,"column":2}}},"fnMap":{},"branchMap":{},"s":{"0":3},"f":{},"b":{}} | ||
,"/Users/leo/dev/accounts-js/accounts/packages/two-factor/src/index.ts": {"path":"/Users/leo/dev/accounts-js/accounts/packages/two-factor/src/index.ts","statementMap":{"0":{"start":{"line":1,"column":0},"end":{"line":1,"column":66}},"1":{"start":{"line":1,"column":9},"end":{"line":1,"column":18}},"2":{"start":{"line":1,"column":20},"end":{"line":1,"column":44}}},"fnMap":{},"branchMap":{},"s":{"0":1,"1":1,"2":1},"f":{},"b":{}} | ||
,"/Users/leo/dev/accounts-js/accounts/packages/two-factor/src/two-factor.ts": {"path":"/Users/leo/dev/accounts-js/accounts/packages/two-factor/src/two-factor.ts","statementMap":{"0":{"start":{"line":1,"column":0},"end":{"line":1,"column":38}},"1":{"start":{"line":4,"column":0},"end":{"line":4,"column":33}},"2":{"start":{"line":18,"column":23},"end":{"line":21,"column":1}},"3":{"start":{"line":23,"column":0},"end":{"line":152,"column":0}},"4":{"start":{"line":28,"column":14},"end":{"line":28,"column":52}},"5":{"start":{"line":28,"column":2},"end":{"line":30,"column":2}},"6":{"start":{"line":26,"column":10},"end":{"line":26,"column":37}},"7":{"start":{"line":42,"column":9},"end":{"line":44,"column":4}},"8":{"start":{"line":43,"column":4},"end":{"line":43,"column":43}},"9":{"start":{"line":29,"column":4},"end":{"line":29,"column":53}},"10":{"start":{"line":35,"column":9},"end":{"line":37,"column":3}},"11":{"start":{"line":36,"column":4},"end":{"line":36,"column":20}},"12":{"start":{"line":49,"column":15},"end":{"line":69,"column":3}},"13":{"start":{"line":50,"column":4},"end":{"line":52,"column":5}},"14":{"start":{"line":51,"column":6},"end":{"line":51,"column":43}},"15":{"start":{"line":54,"column":10},"end":{"line":54,"column":55}},"16":{"start":{"line":56,"column":4},"end":{"line":58,"column":5}},"17":{"start":{"line":57,"column":6},"end":{"line":57,"column":50}},"18":{"start":{"line":59,"column":4},"end":{"line":68,"column":5}},"19":{"start":{"line":67,"column":6},"end":{"line":67,"column":46}},"20":{"start":{"line":74,"column":9},"end":{"line":79,"column":3}},"21":{"start":{"line":75,"column":4},"end":{"line":78,"column":7}},"22":{"start":{"line":86,"column":15},"end":{"line":120,"column":3}},"23":{"start":{"line":91,"column":4},"end":{"line":93,"column":5}},"24":{"start":{"line":92,"column":6},"end":{"line":92,"column":43}},"25":{"start":{"line":95,"column":17},"end":{"line":95,"column":51}},"26":{"start":{"line":95,"column":10},"end":{"line":95,"column":51}},"27":{"start":{"line":96,"column":4},"end":{"line":98,"column":5}},"28":{"start":{"line":97,"column":6},"end":{"line":97,"column":43}},"29":{"start":{"line":99,"column":8},"end":{"line":99,"column":53}},"30":{"start":{"line":101,"column":4},"end":{"line":103,"column":5}},"31":{"start":{"line":102,"column":6},"end":{"line":102,"column":54}},"32":{"start":{"line":106,"column":6},"end":{"line":111,"column":8}},"33":{"start":{"line":113,"column":6},"end":{"line":115,"column":8}},"34":{"start":{"line":116,"column":6},"end":{"line":116,"column":74}},"35":{"start":{"line":116,"column":6},"end":{"line":116,"column":75}},"36":{"start":{"line":118,"column":6},"end":{"line":118,"column":46}},"37":{"start":{"line":125,"column":15},"end":{"line":151,"column":3}},"38":{"start":{"line":126,"column":4},"end":{"line":128,"column":5}},"39":{"start":{"line":127,"column":6},"end":{"line":127,"column":43}},"40":{"start":{"line":130,"column":17},"end":{"line":130,"column":51}},"41":{"start":{"line":130,"column":10},"end":{"line":130,"column":51}},"42":{"start":{"line":131,"column":4},"end":{"line":133,"column":5}},"43":{"start":{"line":132,"column":6},"end":{"line":132,"column":43}},"44":{"start":{"line":134,"column":10},"end":{"line":134,"column":55}},"45":{"start":{"line":136,"column":4},"end":{"line":138,"column":5}},"46":{"start":{"line":137,"column":6},"end":{"line":137,"column":50}},"47":{"start":{"line":139,"column":4},"end":{"line":150,"column":5}},"48":{"start":{"line":147,"column":6},"end":{"line":147,"column":53}},"49":{"start":{"line":149,"column":6},"end":{"line":149,"column":46}},"50":{"start":{"line":152,"column":0},"end":{"line":152,"column":1}},"51":{"start":{"line":23,"column":13},"end":{"line":23,"column":22}}},"fnMap":{"0":{"name":"(anonymous_13)","decl":{"start":{"line":23,"column":0},"end":{"line":null,"column":-1}},"loc":{"start":{"line":23,"column":0},"end":{"line":23,"column":-1}}},"1":{"name":"TwoFactor","decl":{"start":{"line":28,"column":2},"end":{"line":28,"column":13}},"loc":{"start":{"line":28,"column":52},"end":{"line":30,"column":3}}},"2":{"name":"(anonymous_15)","decl":{"start":{"line":42,"column":26},"end":{"line":42,"column":26}},"loc":{"start":{"line":42,"column":47},"end":{"line":44,"column":3}}},"3":{"name":"(anonymous_16)","decl":{"start":{"line":35,"column":2},"end":{"line":35,"column":17}},"loc":{"start":{"line":35,"column":36},"end":{"line":37,"column":3}}},"4":{"name":"(anonymous_17)","decl":{"start":{"line":49,"column":2},"end":{"line":49,"column":27}},"loc":{"start":{"line":49,"column":62},"end":{"line":69,"column":3}}},"5":{"name":"(anonymous_20)","decl":{"start":{"line":74,"column":2},"end":{"line":null,"column":-1}},"loc":{"start":{"line":74,"column":2},"end":{"line":79,"column":3}}},"6":{"name":"(anonymous_21)","decl":{"start":{"line":86,"column":2},"end":{"line":87,"column":3}},"loc":{"start":{"line":89,"column":16},"end":{"line":120,"column":3}}},"7":{"name":"(anonymous_24)","decl":{"start":{"line":125,"column":2},"end":{"line":125,"column":20}},"loc":{"start":{"line":125,"column":49},"end":{"line":151,"column":3}}}},"branchMap":{"0":{"loc":{"start":{"line":28,"column":14},"end":{"line":28,"column":52}},"type":"if","locations":[{"start":{"line":28,"column":14},"end":{"line":28,"column":52}},{"start":{"line":28,"column":14},"end":{"line":28,"column":52}}]},"1":{"loc":{"start":{"line":50,"column":4},"end":{"line":52,"column":5}},"type":"if","locations":[{"start":{"line":50,"column":4},"end":{"line":52,"column":5}},{"start":{"line":50,"column":4},"end":{"line":52,"column":5}}]},"2":{"loc":{"start":{"line":56,"column":4},"end":{"line":58,"column":5}},"type":"if","locations":[{"start":{"line":56,"column":4},"end":{"line":58,"column":5}},{"start":{"line":56,"column":4},"end":{"line":58,"column":5}}]},"3":{"loc":{"start":{"line":59,"column":4},"end":{"line":68,"column":5}},"type":"if","locations":[{"start":{"line":59,"column":4},"end":{"line":68,"column":5}},{"start":{"line":59,"column":4},"end":{"line":68,"column":5}}]},"4":{"loc":{"start":{"line":91,"column":4},"end":{"line":93,"column":5}},"type":"if","locations":[{"start":{"line":91,"column":4},"end":{"line":93,"column":5}},{"start":{"line":91,"column":4},"end":{"line":93,"column":5}}]},"5":{"loc":{"start":{"line":96,"column":4},"end":{"line":98,"column":5}},"type":"if","locations":[{"start":{"line":96,"column":4},"end":{"line":98,"column":5}},{"start":{"line":96,"column":4},"end":{"line":98,"column":5}}]},"6":{"loc":{"start":{"line":101,"column":4},"end":{"line":103,"column":5}},"type":"if","locations":[{"start":{"line":101,"column":4},"end":{"line":103,"column":5}},{"start":{"line":101,"column":4},"end":{"line":103,"column":5}}]},"7":{"loc":{"start":{"line":126,"column":4},"end":{"line":128,"column":5}},"type":"if","locations":[{"start":{"line":126,"column":4},"end":{"line":128,"column":5}},{"start":{"line":126,"column":4},"end":{"line":128,"column":5}}]},"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":136,"column":4},"end":{"line":138,"column":5}},"type":"if","locations":[{"start":{"line":136,"column":4},"end":{"line":138,"column":5}},{"start":{"line":136,"column":4},"end":{"line":138,"column":5}}]},"10":{"loc":{"start":{"line":139,"column":4},"end":{"line":150,"column":5}},"type":"if","locations":[{"start":{"line":139,"column":4},"end":{"line":150,"column":5}},{"start":{"line":139,"column":4},"end":{"line":150,"column":5}}]}},"s":{"0":2,"1":2,"2":2,"3":2,"4":1,"5":1,"6":1,"7":1,"8":9,"9":1,"10":2,"11":1,"12":2,"13":4,"14":1,"15":3,"16":3,"17":1,"18":2,"19":1,"20":2,"21":5,"22":2,"23":5,"24":1,"25":4,"26":4,"27":4,"28":1,"29":3,"30":3,"31":1,"32":1,"33":1,"34":1,"35":1,"36":1,"37":2,"38":5,"39":1,"40":4,"41":4,"42":4,"43":1,"44":3,"45":3,"46":1,"47":2,"48":1,"49":1,"50":2,"51":2},"f":{"0":2,"1":1,"2":9,"3":1,"4":4,"5":5,"6":5,"7":5},"b":{"0":[0,1],"1":[1,3],"2":[1,2],"3":[1,1],"4":[1,4],"5":[1,3],"6":[1,2],"7":[1,4],"8":[1,3],"9":[1,2],"10":[1,1]}} | ||
{"/Users/tim/workspace/accounts/packages/two-factor/src/errors.ts": {"path":"/Users/tim/workspace/accounts/packages/two-factor/src/errors.ts","statementMap":{"0":{"start":{"line":1,"column":13},"end":{"line":7,"column":2}}},"fnMap":{},"branchMap":{},"s":{"0":3},"f":{},"b":{}} | ||
,"/Users/tim/workspace/accounts/packages/two-factor/src/index.ts": {"path":"/Users/tim/workspace/accounts/packages/two-factor/src/index.ts","statementMap":{"0":{"start":{"line":1,"column":0},"end":{"line":1,"column":66}},"1":{"start":{"line":1,"column":9},"end":{"line":1,"column":18}},"2":{"start":{"line":1,"column":20},"end":{"line":1,"column":44}}},"fnMap":{},"branchMap":{},"s":{"0":1,"1":1,"2":1},"f":{},"b":{}} | ||
,"/Users/tim/workspace/accounts/packages/two-factor/src/two-factor.ts": {"path":"/Users/tim/workspace/accounts/packages/two-factor/src/two-factor.ts","statementMap":{"0":{"start":{"line":1,"column":0},"end":{"line":1,"column":38}},"1":{"start":{"line":3,"column":0},"end":{"line":3,"column":33}},"2":{"start":{"line":17,"column":23},"end":{"line":20,"column":1}},"3":{"start":{"line":22,"column":0},"end":{"line":147,"column":0}},"4":{"start":{"line":27,"column":14},"end":{"line":27,"column":52}},"5":{"start":{"line":27,"column":2},"end":{"line":29,"column":2}},"6":{"start":{"line":25,"column":10},"end":{"line":25,"column":37}},"7":{"start":{"line":41,"column":9},"end":{"line":43,"column":4}},"8":{"start":{"line":42,"column":4},"end":{"line":42,"column":43}},"9":{"start":{"line":28,"column":4},"end":{"line":28,"column":53}},"10":{"start":{"line":34,"column":9},"end":{"line":36,"column":3}},"11":{"start":{"line":35,"column":4},"end":{"line":35,"column":20}},"12":{"start":{"line":48,"column":15},"end":{"line":68,"column":3}},"13":{"start":{"line":49,"column":4},"end":{"line":51,"column":5}},"14":{"start":{"line":50,"column":6},"end":{"line":50,"column":43}},"15":{"start":{"line":53,"column":10},"end":{"line":53,"column":55}},"16":{"start":{"line":55,"column":4},"end":{"line":57,"column":5}},"17":{"start":{"line":56,"column":6},"end":{"line":56,"column":50}},"18":{"start":{"line":58,"column":4},"end":{"line":67,"column":5}},"19":{"start":{"line":66,"column":6},"end":{"line":66,"column":46}},"20":{"start":{"line":73,"column":9},"end":{"line":78,"column":3}},"21":{"start":{"line":74,"column":4},"end":{"line":77,"column":7}},"22":{"start":{"line":85,"column":15},"end":{"line":115,"column":3}},"23":{"start":{"line":86,"column":4},"end":{"line":88,"column":5}},"24":{"start":{"line":87,"column":6},"end":{"line":87,"column":43}},"25":{"start":{"line":90,"column":17},"end":{"line":90,"column":51}},"26":{"start":{"line":90,"column":10},"end":{"line":90,"column":51}},"27":{"start":{"line":91,"column":4},"end":{"line":93,"column":5}},"28":{"start":{"line":92,"column":6},"end":{"line":92,"column":43}},"29":{"start":{"line":94,"column":8},"end":{"line":94,"column":53}},"30":{"start":{"line":96,"column":4},"end":{"line":98,"column":5}},"31":{"start":{"line":97,"column":6},"end":{"line":97,"column":54}},"32":{"start":{"line":101,"column":6},"end":{"line":106,"column":8}},"33":{"start":{"line":108,"column":6},"end":{"line":110,"column":8}},"34":{"start":{"line":111,"column":6},"end":{"line":111,"column":74}},"35":{"start":{"line":111,"column":6},"end":{"line":111,"column":75}},"36":{"start":{"line":113,"column":6},"end":{"line":113,"column":46}},"37":{"start":{"line":120,"column":15},"end":{"line":146,"column":3}},"38":{"start":{"line":121,"column":4},"end":{"line":123,"column":5}},"39":{"start":{"line":122,"column":6},"end":{"line":122,"column":43}},"40":{"start":{"line":125,"column":17},"end":{"line":125,"column":51}},"41":{"start":{"line":125,"column":10},"end":{"line":125,"column":51}},"42":{"start":{"line":126,"column":4},"end":{"line":128,"column":5}},"43":{"start":{"line":127,"column":6},"end":{"line":127,"column":43}},"44":{"start":{"line":129,"column":10},"end":{"line":129,"column":55}},"45":{"start":{"line":131,"column":4},"end":{"line":133,"column":5}},"46":{"start":{"line":132,"column":6},"end":{"line":132,"column":50}},"47":{"start":{"line":134,"column":4},"end":{"line":145,"column":5}},"48":{"start":{"line":142,"column":6},"end":{"line":142,"column":53}},"49":{"start":{"line":144,"column":6},"end":{"line":144,"column":46}},"50":{"start":{"line":147,"column":0},"end":{"line":147,"column":1}},"51":{"start":{"line":22,"column":13},"end":{"line":22,"column":22}}},"fnMap":{"0":{"name":"(anonymous_13)","decl":{"start":{"line":22,"column":0},"end":{"line":null,"column":-1}},"loc":{"start":{"line":22,"column":0},"end":{"line":22,"column":-1}}},"1":{"name":"TwoFactor","decl":{"start":{"line":27,"column":2},"end":{"line":27,"column":13}},"loc":{"start":{"line":27,"column":52},"end":{"line":29,"column":3}}},"2":{"name":"(anonymous_15)","decl":{"start":{"line":41,"column":26},"end":{"line":41,"column":26}},"loc":{"start":{"line":41,"column":37},"end":{"line":43,"column":3}}},"3":{"name":"(anonymous_16)","decl":{"start":{"line":34,"column":2},"end":{"line":34,"column":17}},"loc":{"start":{"line":34,"column":42},"end":{"line":36,"column":3}}},"4":{"name":"(anonymous_17)","decl":{"start":{"line":48,"column":2},"end":{"line":48,"column":27}},"loc":{"start":{"line":48,"column":52},"end":{"line":68,"column":3}}},"5":{"name":"(anonymous_20)","decl":{"start":{"line":73,"column":2},"end":{"line":null,"column":-1}},"loc":{"start":{"line":73,"column":2},"end":{"line":78,"column":3}}},"6":{"name":"(anonymous_21)","decl":{"start":{"line":85,"column":2},"end":{"line":85,"column":18}},"loc":{"start":{"line":85,"column":70},"end":{"line":115,"column":3}}},"7":{"name":"(anonymous_24)","decl":{"start":{"line":120,"column":2},"end":{"line":120,"column":20}},"loc":{"start":{"line":120,"column":49},"end":{"line":146,"column":3}}}},"branchMap":{"0":{"loc":{"start":{"line":27,"column":14},"end":{"line":27,"column":52}},"type":"if","locations":[{"start":{"line":27,"column":14},"end":{"line":27,"column":52}},{"start":{"line":27,"column":14},"end":{"line":27,"column":52}}]},"1":{"loc":{"start":{"line":49,"column":4},"end":{"line":51,"column":5}},"type":"if","locations":[{"start":{"line":49,"column":4},"end":{"line":51,"column":5}},{"start":{"line":49,"column":4},"end":{"line":51,"column":5}}]},"2":{"loc":{"start":{"line":55,"column":4},"end":{"line":57,"column":5}},"type":"if","locations":[{"start":{"line":55,"column":4},"end":{"line":57,"column":5}},{"start":{"line":55,"column":4},"end":{"line":57,"column":5}}]},"3":{"loc":{"start":{"line":58,"column":4},"end":{"line":67,"column":5}},"type":"if","locations":[{"start":{"line":58,"column":4},"end":{"line":67,"column":5}},{"start":{"line":58,"column":4},"end":{"line":67,"column":5}}]},"4":{"loc":{"start":{"line":86,"column":4},"end":{"line":88,"column":5}},"type":"if","locations":[{"start":{"line":86,"column":4},"end":{"line":88,"column":5}},{"start":{"line":86,"column":4},"end":{"line":88,"column":5}}]},"5":{"loc":{"start":{"line":91,"column":4},"end":{"line":93,"column":5}},"type":"if","locations":[{"start":{"line":91,"column":4},"end":{"line":93,"column":5}},{"start":{"line":91,"column":4},"end":{"line":93,"column":5}}]},"6":{"loc":{"start":{"line":96,"column":4},"end":{"line":98,"column":5}},"type":"if","locations":[{"start":{"line":96,"column":4},"end":{"line":98,"column":5}},{"start":{"line":96,"column":4},"end":{"line":98,"column":5}}]},"7":{"loc":{"start":{"line":121,"column":4},"end":{"line":123,"column":5}},"type":"if","locations":[{"start":{"line":121,"column":4},"end":{"line":123,"column":5}},{"start":{"line":121,"column":4},"end":{"line":123,"column":5}}]},"8":{"loc":{"start":{"line":126,"column":4},"end":{"line":128,"column":5}},"type":"if","locations":[{"start":{"line":126,"column":4},"end":{"line":128,"column":5}},{"start":{"line":126,"column":4},"end":{"line":128,"column":5}}]},"9":{"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}}]},"10":{"loc":{"start":{"line":134,"column":4},"end":{"line":145,"column":5}},"type":"if","locations":[{"start":{"line":134,"column":4},"end":{"line":145,"column":5}},{"start":{"line":134,"column":4},"end":{"line":145,"column":5}}]}},"s":{"0":2,"1":2,"2":2,"3":2,"4":1,"5":1,"6":1,"7":1,"8":9,"9":1,"10":2,"11":1,"12":2,"13":4,"14":1,"15":3,"16":3,"17":1,"18":2,"19":1,"20":2,"21":5,"22":2,"23":5,"24":1,"25":4,"26":4,"27":4,"28":1,"29":3,"30":3,"31":1,"32":1,"33":1,"34":1,"35":1,"36":1,"37":2,"38":5,"39":1,"40":4,"41":4,"42":4,"43":1,"44":3,"45":3,"46":1,"47":2,"48":1,"49":1,"50":2,"51":2},"f":{"0":2,"1":1,"2":9,"3":1,"4":4,"5":5,"6":5,"7":5},"b":{"0":[0,1],"1":[1,3],"2":[1,2],"3":[1,1],"4":[1,4],"5":[1,3],"6":[1,2],"7":[1,4],"8":[1,3],"9":[1,2],"10":[1,1]}} | ||
} |
{ | ||
"name": "@accounts/two-factor", | ||
"version": "0.1.0-beta.7", | ||
"version": "0.1.0-beta.8", | ||
"license": "MIT", | ||
@@ -31,3 +31,3 @@ "main": "lib/index.js", | ||
"dependencies": { | ||
"@accounts/types": "^0.1.0-beta.7", | ||
"@accounts/types": "^0.1.0-beta.8", | ||
"@types/speakeasy": "2.0.2", | ||
@@ -34,0 +34,0 @@ "speakeasy": "^2.0.0" |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
92084
1
14