Skip to content
This repository has been archived by the owner on Oct 28, 2019. It is now read-only.

Releases: SteelAlloy/secure-rm

0.14.0

15 Aug 10:47
fdcc8f4
Compare
Choose a tag to compare
0.14.0 Pre-release
Pre-release

[0.14.0] - 2019-08-15

Added

  • Changelog.
  • Promises support.
  • options argument in srm function:
    • options <Object> (optional) :
      • method <String> : ID of the method (default: 'secure');
      • customMethod <Function> : your own method to remove a file (if specified, priority over method);
      • maxBusyTries <Number> : number of retries if an error occur;
      • disableGlob <Boolean> : allow or not file globbing (default: true).
  • CLI args accordingly.

Changed

  • Methods IDs are now textual rather than numerical.
  • Args for srm(path, methodID) are now srm(path, options).
  • Updated documentation.