diff options
| author | Anna Henningsen <anna@addaleax.net> | 2017-02-21 23:38:46 +0100 |
|---|---|---|
| committer | Anna Henningsen <anna@addaleax.net> | 2017-02-24 02:06:31 +0100 |
| commit | fb395975eff589fb1d8d7badd08ef0eb14077555 (patch) | |
| tree | 780b429d53ec099891c469ee928e48a06de31fd9 /doc/api/path.md | |
| parent | ebb2d99a10b82fc8ed23caa2923d7e983e4e58c8 (diff) | |
| download | node-new-fb395975eff589fb1d8d7badd08ef0eb14077555.tar.gz | |
doc: add changelogs for path
PR-URL: https://github.com/nodejs/node/pull/11489
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
Reviewed-By: Roman Reiss <me@silverwind.io>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Italo A. Casas <me@italoacasas.com>
Diffstat (limited to 'doc/api/path.md')
| -rw-r--r-- | doc/api/path.md | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/doc/api/path.md b/doc/api/path.md index df65616b6c..f284c50059 100644 --- a/doc/api/path.md +++ b/doc/api/path.md @@ -57,6 +57,10 @@ path.posix.basename('/tmp/myfile.html'); ## path.basename(path[, ext]) <!-- YAML added: v0.1.25 +changes: + - version: v6.0.0 + pr-url: https://github.com/nodejs/node/pull/5348 + description: Passing a non-string as the `path` argument will throw now. --> * `path` {String} @@ -114,6 +118,10 @@ process.env.PATH.split(path.delimiter) ## path.dirname(path) <!-- YAML added: v0.1.16 +changes: + - version: v6.0.0 + pr-url: https://github.com/nodejs/node/pull/5348 + description: Passing a non-string as the `path` argument will throw now. --> * `path` {String} @@ -134,6 +142,10 @@ A [`TypeError`][] is thrown if `path` is not a string. ## path.extname(path) <!-- YAML added: v0.1.25 +changes: + - version: v6.0.0 + pr-url: https://github.com/nodejs/node/pull/5348 + description: Passing a non-string as the `path` argument will throw now. --> * `path` {String} @@ -408,6 +420,11 @@ of the `path` methods. ## path.relative(from, to) <!-- YAML added: v0.5.0 +changes: + - version: v6.8.0 + pr-url: https://github.com/nodejs/node/pull/8523 + description: On Windows, the leading slashes for UNC paths are now included + in the return value. --> * `from` {String} |
