native-url icon indicating copy to clipboard operation
native-url copied to clipboard

Node's url module implemented using the built-in URL API.

Results 20 native-url issues
Sort by recently updated
recently updated
newest added

WHATWG URL API has been implemented since v7 but global `URL` constructor was added later as part of v10 release. - [x] Tests pass - [ ] Appropriate changes to...

I wanted to ask about this package activity. * There are no tests so it isn’t clear how close this package matches the spec. Would you consider accepting PR which...

## Expected Behavior I expected TypeScript to not complain since there are built-in declarations ## Actual Behavior TypeScript throws an error ``` main.ts:1:17 - error TS2306: File 'G:/experiments/node_modules/native-url/third_party/url.d.ts' is not...

Hi there, I couldn't find a `SECURITY.md` in your repository and so am not sure how to best contact you privately to disclose the security issue. Can you add a...

Hi guys, Quick question on actually your entire 3rd party directory, but I'll start with url.d.ts. Can you tell me where it came from? Who wrote it? What version of...

Fixes #34 > It's a good idea to open an issue first for discussion. - [ ] Tests pass - [ ] Appropriate changes to README are included in PR

## Expected Behavior I expected 'native-url' to be a drop-in replacement for the URL class available in Node for files that are used in the web browser only. ## Actual...

## Expected Behavior When the username is empty and a password is available, the returned value of `auth` should align with output from Node's `url` module. ```js const url =...

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

`native-url` exposes methods thorugh named exports. To get default Node `url` behavior you would need to import entire module contents ```js import * as url from 'native-url'; // or 'url'...