path: reduce type checking on some methods by cjihrig · Pull Request #1216 · nodejs/node
a465840 added strict type checking for the methods in the path module. However, dirname(), basename(), and extname() actually had some undocumented uses in the wild. This commit loosens the type checking on those methods.
added a commit that referenced this pull request
Mar 20, 2015
rvagg
mentioned this pull request
rvagg added a commit that referenced this pull request
Mar 20, 2015Notable Changes: * path: New type-checking on path.resolve() <#1153> uncovered some edge-cases being relied upon in the wild, most notably path.dirname(undefined). Type-checking has been loosened for path.dirname(), path.basename(), and path.extname(), (Colin Ihrig) <#1216>. * querystring: Internal optimizations in querystring.parse() and querystring.stringify() <#847> prevented Number literals from being properly converted via querystring.escape() <#1208>, exposing a blind-spot in the test suite. The bug and the tests have now been fixed (Jeremiah Senkpiel) <#1213>.
This was referenced
Apr 24, 2023This was referenced
Apr 26, 2023This was referenced
Apr 27, 2023This was referenced
Jul 8, 2023This was referenced
Nov 30, 2023This was referenced
Nov 30, 2023This was referenced
Dec 1, 2023This was referenced
Dec 2, 2023This was referenced
Dec 2, 2023This was referenced
Dec 3, 2023This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters