Browse Source

doc: update fs.utimes{,Sync} changelog

Specify that `NaN`, `Infinity`, and `-Infinity` are no longer valid
values for the `atime` and `mtime` arguments.

PR-URL: https://github.com/nodejs/node/pull/15680
Fixes: https://github.com/nodejs/node/issues/15453
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
v9.x-staging
Luigi Pinca 7 years ago
committed by Ruben Bridgewater
parent
commit
c8a21436c9
No known key found for this signature in database GPG Key ID: F07496B3EB3C1762
  1. 8
      doc/api/fs.md

8
doc/api/fs.md

@ -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:`
@ -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:`

Loading…
Cancel
Save