Skip to content

Commit

Permalink
doc: update fs.utimes{,Sync} changelog
Browse files Browse the repository at this point in the history
Specify that `NaN`, `Infinity`, and `-Infinity` are no longer valid
values for the `atime` and `mtime` arguments.

PR-URL: #15680
Fixes: #15453
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
  • Loading branch information
lpinca authored and MylesBorins committed Oct 11, 2017
1 parent df271f4 commit db0ba97
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions doc/api/fs.md
Original file line number Diff line number Diff line change
Expand Up @@ -2339,6 +2339,10 @@ and `fs.unwatchFile()` when possible.
<!-- YAML
added: v0.4.2
changes:
- version: v8.0.0
pr-url: https://github.com/nodejs/node/pull/11919
description: `NaN`, `Infinity`, and `-Infinity` are no longer valid time
specifiers.
- version: v7.6.0
pr-url: https://github.com/nodejs/node/pull/10739
description: The `path` parameter can be a WHATWG `URL` object using `file:`
Expand Down Expand Up @@ -2371,6 +2375,10 @@ The `atime` and `mtime` arguments follow these rules:
<!-- YAML
added: v0.4.2
changes:
- version: v8.0.0
pr-url: https://github.com/nodejs/node/pull/11919
description: `NaN`, `Infinity`, and `-Infinity` are no longer valid time
specifiers.
- version: v7.6.0
pr-url: https://github.com/nodejs/node/pull/10739
description: The `path` parameter can be a WHATWG `URL` object using `file:`
Expand Down

0 comments on commit db0ba97

Please sign in to comment.