All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Default standard when none is provided. (Tests are now a priority)
- Default standard when none is provided.
- Bumped eslint-utils from 1.4.0 to 1.4.2
- Dependabot.
- CLI support. See secure-rm-cli
- Unused packages.
- Code coverage.
- The CLI is deprecated, it moved over
secure-rm-cli
.
- End message when the process is finished.
- Types definitions.
- Mute argument in cli.
- New badges in readme.
- Travis Continuous Integration.
- All JavaScript files have been converted to TypeScript files.
- 'Method' is now 'standard' in the cli and in the lib.
- Custom standard has changed. See the doc.
- CLI will be ported in its own package.
- Comments on every file.
- Error recap at the end of the process.
- Command line tool bugs with paths.
Release of 1.0.0 (stable API) (messed up 1.0.0 on npm so it's 1.0.1)
- More tests.
- Documentation:
- Windows advice.
- Beautified the whole.
- Changelog.
- Promises support.
options
argument insrm
function:options
<Object> (optional) :method
<String> : ID of the method (default: 'secure');customMethod
<Function> : your own method to remove a file (if specified, priority overmethod
);maxBusyTries
<Number> : number of retries if an error occur;disableGlob
<Boolean> : allow or not file globbing (default: true).
- CLI args accordingly.
- Methods IDs are now textual rather than numerical.
- Args for
srm(path, methodID)
are nowsrm(path, options)
. - Updated documentation.