Closed
Description
Older browsers do not support substr(-1) and this makes url unusable in older browsers. I have been using this polyfill in my libraries to get around it but IMO, we should fix this in the browserify dep.
https://github.com/tommymessbauer/substr-polyfill/blob/master/index.js
The core node.js team rejected the change on the grounds that node is not meant to support browsers.
nodejs/node-v0.x-archive#6745
I have a PR coming...
Metadata
Metadata
Assignees
Labels
No labels