Skip to content

Commit

Permalink
doc: add changelogs for path
Browse files Browse the repository at this point in the history
PR-URL: #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>
  • Loading branch information
addaleax committed Feb 24, 2017
1 parent ac10a3b commit c1477b9
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions doc/api/path.md
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down Expand Up @@ -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}
Expand All @@ -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}
Expand Down Expand Up @@ -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}
Expand Down

0 comments on commit c1477b9

Please sign in to comment.