Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
29642fc
update jsdoc
silkentrance Feb 3, 2020
7b77436
add changelog
silkentrance Feb 3, 2020
19febe2
remove SIGINT listener, simplify EXIT listener
silkentrance Feb 3, 2020
05d1b43
update jsdoc
silkentrance Feb 3, 2020
78c72ef
fix tests, remove obsolete tests, add missing SIGINT handlers
silkentrance Feb 3, 2020
f3005fc
update jsdoc
silkentrance Feb 3, 2020
327eb83
include node v13 in builds
silkentrance Feb 3, 2020
bcb43a0
update documentation
silkentrance Feb 3, 2020
5195a26
add contributors to package.json
silkentrance Feb 3, 2020
b63cb58
fix #213 tmp.file must not unlink file when discarding the file descr…
silkentrance Feb 3, 2020
1746331
update jsdoc
silkentrance Feb 3, 2020
9500e10
update jsdoc
silkentrance Feb 4, 2020
7ee5bdd
fix #156 #207 #218 #176 #236 #237 #238
silkentrance Feb 7, 2020
ba70579
code cleanup - remove reference to process.bindings
silkentrance Feb 7, 2020
f3c3ab8
code cleanup - replace var by let or const
silkentrance Feb 7, 2020
be9df6f
code cleanup - prefix private functions with an underscore, move all …
silkentrance Feb 7, 2020
5cfca26
limit minimum node version to v8.17.0 - otherwise eslint will fail
silkentrance Feb 7, 2020
4a144b4
code cleanup - remove documentation on old node version error code an…
silkentrance Feb 7, 2020
0664e9a
code cleanup - better error handling
silkentrance Feb 7, 2020
486205b
fix #240
silkentrance Feb 7, 2020
5110e94
fix regression - os.constants.errno are different from what WIN32 act…
silkentrance Feb 7, 2020
2c80c6d
regression - tmp name included a trailing hyphen if no postfix was given
silkentrance Feb 8, 2020
c7028f2
cleanup code
silkentrance Apr 8, 2020
c8823e5
fix #246: remove any double quotes or single quotes from os.tmpdir al…
silkentrance Apr 8, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
code cleanup - remove documentation on old node version error code an…
…d errno
  • Loading branch information
silkentrance committed Feb 7, 2020
commit 4a144b4d6a6a55ff15c47b6e62a1efdd7cbe2a1f
13 changes: 0 additions & 13 deletions lib/tmp.js
Original file line number Diff line number Diff line change
Expand Up @@ -604,22 +604,9 @@ function _isENOENT(error) {
* error.code {string}
* error.errno {string|number} any numerical value will be negated
*
* - Node >= 6.0 < 7.0:
* error.code {string}
* error.errno {number} negated
*
* - Node >= 4.0 < 6.0: introduces SystemError
* error.code {string}
* error.errno {number} negated
*
* - Node >= 0.10 < 4.0:
* error.code {number} negated
* error.errno n/a
*
* @private
*/
function _isExpectedError(error, code, errno) {
// TODO stop handling old node behaviour
return error.code === code || error.code === errno;
}

Expand Down