File tree 1 file changed +17
-0
lines changed
1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -57,6 +57,10 @@ path.posix.basename('/tmp/myfile.html');
57
57
## path.basename(path[ , ext] )
58
58
<!-- YAML
59
59
added: v0.1.25
60
+ changes:
61
+ - version: v6.0.0
62
+ pr-url: https://github.com/nodejs/node/pull/5348
63
+ description: Passing a non-string as the `path` argument will throw now.
60
64
-->
61
65
62
66
* ` path ` {String}
@@ -114,6 +118,10 @@ process.env.PATH.split(path.delimiter)
114
118
## path.dirname(path)
115
119
<!-- YAML
116
120
added: v0.1.16
121
+ changes:
122
+ - version: v6.0.0
123
+ pr-url: https://github.com/nodejs/node/pull/5348
124
+ description: Passing a non-string as the `path` argument will throw now.
117
125
-->
118
126
119
127
* ` path ` {String}
@@ -134,6 +142,10 @@ A [`TypeError`][] is thrown if `path` is not a string.
134
142
## path.extname(path)
135
143
<!-- YAML
136
144
added: v0.1.25
145
+ changes:
146
+ - version: v6.0.0
147
+ pr-url: https://github.com/nodejs/node/pull/5348
148
+ description: Passing a non-string as the `path` argument will throw now.
137
149
-->
138
150
139
151
* ` path ` {String}
@@ -408,6 +420,11 @@ of the `path` methods.
408
420
## path.relative(from, to)
409
421
<!-- YAML
410
422
added: v0.5.0
423
+ changes:
424
+ - version: v6.8.0
425
+ pr-url: https://github.com/nodejs/node/pull/8523
426
+ description: On Windows, the leading slashes for UNC paths are now included
427
+ in the return value.
411
428
-->
412
429
413
430
* ` from ` {String}
You can’t perform that action at this time.
0 commit comments