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.

Fixes: nodejs#15453
  • Loading branch information
lpinca committed Sep 29, 2017
1 parent f30820f commit e8c9a93
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 e8c9a93

Please sign in to comment.