native-url
native-url copied to clipboard
.format mismatch with URL
Expected Behavior
require('url').format(new URL('http://hello/world#'))
// "http://hello/world#"
Actual Behavior
require('native-url').format(new URL('http://hello/world#'))
// "http://hello/world"
Specifications
- Version: 0.3.4
- Platform: node.js