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 <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Ruben Bridgewater <[email protected]>
  • Loading branch information
lpinca authored and MylesBorins committed Oct 3, 2017
1 parent c5db39e commit 7f56d24
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 7f56d24

Please sign in to comment.