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>
This commit is contained in:
parent
ebb2d99a10
commit
fb395975ef
@ -57,6 +57,10 @@ path.posix.basename('/tmp/myfile.html');
|
|||||||
## path.basename(path[, ext])
|
## path.basename(path[, ext])
|
||||||
<!-- YAML
|
<!-- YAML
|
||||||
added: v0.1.25
|
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}
|
* `path` {String}
|
||||||
@ -114,6 +118,10 @@ process.env.PATH.split(path.delimiter)
|
|||||||
## path.dirname(path)
|
## path.dirname(path)
|
||||||
<!-- YAML
|
<!-- YAML
|
||||||
added: v0.1.16
|
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}
|
* `path` {String}
|
||||||
@ -134,6 +142,10 @@ A [`TypeError`][] is thrown if `path` is not a string.
|
|||||||
## path.extname(path)
|
## path.extname(path)
|
||||||
<!-- YAML
|
<!-- YAML
|
||||||
added: v0.1.25
|
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}
|
* `path` {String}
|
||||||
@ -408,6 +420,11 @@ of the `path` methods.
|
|||||||
## path.relative(from, to)
|
## path.relative(from, to)
|
||||||
<!-- YAML
|
<!-- YAML
|
||||||
added: v0.5.0
|
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}
|
* `from` {String}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user