Skip to content
This repository was archived by the owner on Oct 19, 2020. It is now read-only.

Latest commit

 

History

History
51 lines (42 loc) · 1.45 KB

File metadata and controls

51 lines (42 loc) · 1.45 KB

Refactor

Bugs

Features

  • Use haveibeenpwned API
  • Add Bloom Filter module?

Doing

Done

  • Import JSON using FFI
  • Inject Periods dictionary into Periods module
  • Remove safe from CharacterSet parsing
  • Use BigInt for Periods
  • Add checks module
    • Add to Main
  • Shouldn't convert things into lists every run - need to cache passed in lists
  • Tidy up reduce in NamedNumber
    • Shouldn't hard-code 2
    • Tidy up code generally
  • Use NonEmpty lists to throw errors/avoid maybes
  • Main.setup should throw an error rather than returning a Maybe
  • Remove Maybes from findLast?

    Use NonEmpty for lists

  • Period conks out if more than a year's worth of seconds and calcsPerSecond is less than 1

    Store everything in yoctoseconds?

  • Final output values need to be in JS native formats
  • Should output highest security level found
  • More tests for Main
    • Check errors
  • Should throw an error if time comes back as Nothing in Main
  • Handles Instant and Infinity

    Should handle Infinity and Instant results somehow

    • Instant
    • Infinity
  • Use Symbol for Instantly/Forever
  • Return null instead of empty strings from Main
  • Should accept Checks dictionary and output message properly
  • Should accept values for "Forever"/"Instantly"
    • Add config
    • Remove Constant stuff
  • Use Internal modules to separate testing entry points
  • Tidy up Main
    • ParseConfig module
    • Calculations config