whatwg-url 4.1.0 → 4.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/.eslintignore CHANGED
@@ -1,3 +1,4 @@
1
1
  /test/web-platform-tests/**
2
2
  /lib/url-state-machine.js
3
3
  /lib/URL.js
4
+ /coverage/**
@@ -1,30 +1,21 @@
1
1
  {
2
- "version": "0.2.0",
3
- "configurations": [
4
- {
5
- "name": "Launch",
6
- "type": "node",
7
- "request": "launch",
8
- "program": "test.js",
9
- "stopOnEntry": false,
10
- "args": [],
11
- "cwd": ".",
12
- "runtimeExecutable": null,
13
- "runtimeArgs": [
14
- "--nolazy"
15
- ],
16
- "env": {
17
- "NODE_ENV": "development"
18
- },
19
- "externalConsole": false,
20
- "sourceMaps": false,
21
- "outDir": null
22
- },
23
- {
24
- "name": "Attach",
25
- "type": "node",
26
- "request": "attach",
27
- "port": 5858
28
- }
29
- ]
2
+ // Use IntelliSense to learn about possible Node.js debug attributes.
3
+ // Hover to view descriptions of existing attributes.
4
+ // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
5
+ "version": "0.2.0",
6
+ "configurations": [
7
+ {
8
+ "type": "node",
9
+ "request": "launch",
10
+ "name": "Launch Program",
11
+ "program": "${workspaceRoot}\\test.js",
12
+ "cwd": "${workspaceRoot}"
13
+ },
14
+ {
15
+ "type": "node",
16
+ "request": "attach",
17
+ "name": "Attach to Process",
18
+ "port": 5858
19
+ }
20
+ ]
30
21
  }
package/README.md CHANGED
@@ -4,7 +4,7 @@ whatwg-url is a full implementation of the WHATWG [URL Standard](https://url.spe
4
4
 
5
5
  ## Current Status
6
6
 
7
- whatwg-url is currently up to date with the URL spec up to commit [e322a8](https://github.com/whatwg/url/tree/e322a8a79246b3f7c026bc9e705f22f069d1bde6).
7
+ whatwg-url is currently up to date with the URL spec up to commit [9b2eb1](https://github.com/whatwg/url/commit/9b2eb10eb8436adaf6620b1864b25442152f205b).
8
8
 
9
9
  ## API
10
10
 
@@ -23,7 +23,8 @@ The following methods are exported for use by places like jsdom that need to imp
23
23
  - [Serialize an integer](https://url.spec.whatwg.org/#serialize-an-integer): `serializeInteger(number)`
24
24
  - [Origin](https://url.spec.whatwg.org/#concept-url-origin) [Unicode serializer](https://html.spec.whatwg.org/multipage/browsers.html#unicode-serialisation-of-an-origin): `serializeURLToUnicodeOrigin(urlRecord)`
25
25
  - [Set the username](https://url.spec.whatwg.org/#set-the-username): `setTheUsername(urlRecord, usernameString)`
26
- - [Set the password](https://url.spec.whatwg.org/#set-the-password): `setThePassword(urlRecord, passwordString)`.
26
+ - [Set the password](https://url.spec.whatwg.org/#set-the-password): `setThePassword(urlRecord, passwordString)`
27
+ - [Cannot have a username/password/port](https://url.spec.whatwg.org/#cannot-have-a-username-password-port): `cannotHaveAUsernamePasswordPort(urlRecord)`
27
28
 
28
29
  The `stateOverride` parameter is one of the following strings:
29
30