raszi/node-tmp
### [`v0.2.0`](https://togithub.com/raszi/node-tmp/blob/master/CHANGELOG.md#tmp-v020)
[Compare Source](https://togithub.com/raszi/node-tmp/compare/v0.1.0...v0.2.0)
- drop support for node version < v8.17.0
**_BREAKING CHANGE_**
node versions < v8.17.0 are no longer supported.
- [#216](https://togithub.com/raszi/node-tmp/issues/216)
**_BREAKING CHANGE_**
SIGINT handler has been removed.
Users must install their own SIGINT handler and call process.exit() so that tmp's process
exit handler can do the cleanup.
A simple handler would be
process.on('SIGINT', process.exit);
- [#156](https://togithub.com/raszi/node-tmp/issues/156)
**_BREAKING CHANGE_**
template option no longer accepts arbitrary paths. all paths must be relative to os.tmpdir().
the template option can point to an absolute path that is located under os.tmpdir().
this can now be used in conjunction with the dir option.
- [#207](https://togithub.com/raszi/node-tmp/issues/TBD)
**_BREAKING CHANGE_**
dir option no longer accepts arbitrary paths. all paths must be relative to os.tmpdir().
the dir option can point to an absolute path that is located under os.tmpdir().
- [#218](https://togithub.com/raszi/node-tmp/issues/TBD)
**_BREAKING CHANGE_**
name option no longer accepts arbitrary paths. name must no longer contain a path and will always be made relative
to the current os.tmpdir() and the optional dir option.
- [#197](https://togithub.com/raszi/node-tmp/issues/197)
**_BUG FIX_**
sync cleanup callback must be returned when using the sync API functions.
fs.rmdirSync() must not be called with a second parameter that is a function.
- [#176](https://togithub.com/raszi/node-tmp/issues/176)
**_BUG FIX_**
fail early if no os.tmpdir() was specified.
previous versions of Electron did return undefined when calling os.tmpdir().
\_getTmpDir() now tries to resolve the path returned by os.tmpdir().
now using rimraf for removing directory trees.
- [#246](https://togithub.com/raszi/node-tmp/issues/246)
**_BUG FIX_**
os.tmpdir() might return a value that includes single or double quotes,
similarly so the dir option, the template option and the name option
- [#240](https://togithub.com/raszi/node-tmp/issues/240)
**_DOCUMENTATION_**
better documentation for `tmp.setGracefulCleanup()`.
- [#206](https://togithub.com/raszi/node-tmp/issues/206)
**_DOCUMENTATION_**
document name option.
- [#236](https://togithub.com/raszi/node-tmp/issues/236)
**_DOCUMENTATION_**
document discardDescriptor option.
- [#237](https://togithub.com/raszi/node-tmp/issues/237)
**_DOCUMENTATION_**
document detachDescriptor option.
- [#238](https://togithub.com/raszi/node-tmp/issues/238)
**_DOCUMENTATION_**
document mode option.
- [#175](https://togithub.com/raszi/node-tmp/issues/175)
**_DOCUMENTATION_**
document unsafeCleanup option.
##### Miscellaneous
- stabilized tests
- general clean up
- update jsdoc
Renovate configuration
:date: Schedule: At any time (no schedule defined).
:vertical_traffic_light: Automerge: Disabled by config. Please merge this manually once you are satisfied.
:recycle: Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
:no_bell: Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR contains the following updates:
0.1.0
->0.2.0
Release Notes
raszi/node-tmp
### [`v0.2.0`](https://togithub.com/raszi/node-tmp/blob/master/CHANGELOG.md#tmp-v020) [Compare Source](https://togithub.com/raszi/node-tmp/compare/v0.1.0...v0.2.0) - drop support for node version < v8.17.0 **_BREAKING CHANGE_** node versions < v8.17.0 are no longer supported. - [#216](https://togithub.com/raszi/node-tmp/issues/216) **_BREAKING CHANGE_** SIGINT handler has been removed. Users must install their own SIGINT handler and call process.exit() so that tmp's process exit handler can do the cleanup. A simple handler would be process.on('SIGINT', process.exit); - [#156](https://togithub.com/raszi/node-tmp/issues/156) **_BREAKING CHANGE_** template option no longer accepts arbitrary paths. all paths must be relative to os.tmpdir(). the template option can point to an absolute path that is located under os.tmpdir(). this can now be used in conjunction with the dir option. - [#207](https://togithub.com/raszi/node-tmp/issues/TBD) **_BREAKING CHANGE_** dir option no longer accepts arbitrary paths. all paths must be relative to os.tmpdir(). the dir option can point to an absolute path that is located under os.tmpdir(). - [#218](https://togithub.com/raszi/node-tmp/issues/TBD) **_BREAKING CHANGE_** name option no longer accepts arbitrary paths. name must no longer contain a path and will always be made relative to the current os.tmpdir() and the optional dir option. - [#197](https://togithub.com/raszi/node-tmp/issues/197) **_BUG FIX_** sync cleanup callback must be returned when using the sync API functions. fs.rmdirSync() must not be called with a second parameter that is a function. - [#176](https://togithub.com/raszi/node-tmp/issues/176) **_BUG FIX_** fail early if no os.tmpdir() was specified. previous versions of Electron did return undefined when calling os.tmpdir(). \_getTmpDir() now tries to resolve the path returned by os.tmpdir(). now using rimraf for removing directory trees. - [#246](https://togithub.com/raszi/node-tmp/issues/246) **_BUG FIX_** os.tmpdir() might return a value that includes single or double quotes, similarly so the dir option, the template option and the name option - [#240](https://togithub.com/raszi/node-tmp/issues/240) **_DOCUMENTATION_** better documentation for `tmp.setGracefulCleanup()`. - [#206](https://togithub.com/raszi/node-tmp/issues/206) **_DOCUMENTATION_** document name option. - [#236](https://togithub.com/raszi/node-tmp/issues/236) **_DOCUMENTATION_** document discardDescriptor option. - [#237](https://togithub.com/raszi/node-tmp/issues/237) **_DOCUMENTATION_** document detachDescriptor option. - [#238](https://togithub.com/raszi/node-tmp/issues/238) **_DOCUMENTATION_** document mode option. - [#175](https://togithub.com/raszi/node-tmp/issues/175) **_DOCUMENTATION_** document unsafeCleanup option. ##### Miscellaneous - stabilized tests - general clean up - update jsdocRenovate configuration
:date: Schedule: At any time (no schedule defined).
:vertical_traffic_light: Automerge: Disabled by config. Please merge this manually once you are satisfied.
:recycle: Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
:no_bell: Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by WhiteSource Renovate. View repository job log here.