This commit is contained in:
David Kale
2020-09-08 13:25:36 -04:00
parent e4246d2b5b
commit 91fcbb0108
4227 changed files with 416837 additions and 457884 deletions

View File

@@ -4,7 +4,7 @@ whatwg-url is a full implementation of the WHATWG [URL Standard](https://url.spe
## Specification conformance
whatwg-url is currently up to date with the URL spec up to commit [6ef17eb](https://github.com/whatwg/url/commit/6ef17ebe1220a7e7c0cfff0785017502ee18808b).
whatwg-url is currently up to date with the URL spec up to commit [7ae1c69](https://github.com/whatwg/url/commit/7ae1c691c96f0d82fafa24c33aa1e8df9ffbf2bc).
For `file:` URLs, whose [origin is left unspecified](https://url.spec.whatwg.org/#concept-url-origin), whatwg-url chooses to use a new opaque origin (which serializes to `"null"`).
@@ -89,3 +89,10 @@ To build and run the live viewer:
npm run build-live-viewer
Serve the contents of the `live-viewer` directory using any web server.
## Supporting whatwg-url
The jsdom project (including whatwg-url) is a community-driven project maintained by a team of [volunteers](https://github.com/orgs/jsdom/people). You could support us by:
- [Getting professional support for whatwg-url](https://tidelift.com/subscription/pkg/npm-whatwg-url?utm_source=npm-whatwg-url&utm_medium=referral&utm_campaign=readme) as part of a Tidelift subscription. Tidelift helps making open source sustainable for us while giving teams assurances for maintenance, licensing, and security.
- Contributing directly to the project.

View File

@@ -8,7 +8,6 @@ const { percentEncode, percentDecode } = require("./urlencoded");
const specialSchemes = {
ftp: 21,
file: null,
gopher: 70,
http: 80,
https: 443,
ws: 80,
@@ -1233,7 +1232,6 @@ module.exports.serializeURLOrigin = function (url) {
return "null";
}
case "ftp":
case "gopher":
case "http":
case "https":
case "ws":

View File

@@ -1,33 +1,27 @@
{
"_args": [
[
"whatwg-url@7.0.0",
"/Users/pjquirk/Source/GitHub/actions/labeler"
]
],
"_development": true,
"_from": "whatwg-url@7.0.0",
"_id": "whatwg-url@7.0.0",
"_from": "whatwg-url@^7.0.0",
"_id": "whatwg-url@7.1.0",
"_inBundle": false,
"_integrity": "sha512-37GeVSIJ3kn1JgKyjiYNmSLP1yzbpb29jdmwBSgkD9h40/hyrR/OifpVUndji3tmwGgD8qpw7iQu3RSbCrBpsQ==",
"_integrity": "sha512-WUu7Rg1DroM7oQvGWfOiAK21n74Gg+T4elXEQYkOhtyLeWiJFoOGLXPKI/9gzIie9CtwVLm8wtw6YJdKyxSjeg==",
"_location": "/data-urls/whatwg-url",
"_phantomChildren": {},
"_requested": {
"type": "version",
"type": "range",
"registry": true,
"raw": "whatwg-url@7.0.0",
"raw": "whatwg-url@^7.0.0",
"name": "whatwg-url",
"escapedName": "whatwg-url",
"rawSpec": "7.0.0",
"rawSpec": "^7.0.0",
"saveSpec": null,
"fetchSpec": "7.0.0"
"fetchSpec": "^7.0.0"
},
"_requiredBy": [
"/data-urls"
],
"_resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-7.0.0.tgz",
"_spec": "7.0.0",
"_where": "/Users/pjquirk/Source/GitHub/actions/labeler",
"_resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-7.1.0.tgz",
"_shasum": "c2c492f1eca612988efd3d2266be1b9fc6170d06",
"_spec": "whatwg-url@^7.0.0",
"_where": "/Users/dakale/dev/GitHub/actions/labeler/node_modules/data-urls",
"author": {
"name": "Sebastian Mayr",
"email": "github@smayr.name"
@@ -35,20 +29,21 @@
"bugs": {
"url": "https://github.com/jsdom/whatwg-url/issues"
},
"bundleDependencies": false,
"dependencies": {
"lodash.sortby": "^4.7.0",
"tr46": "^1.0.1",
"webidl-conversions": "^4.0.2"
},
"deprecated": false,
"description": "An implementation of the WHATWG URL Standard's URL API and parsing machinery",
"devDependencies": {
"browserify": "^16.2.2",
"domexception": "^1.0.1",
"eslint": "^5.4.0",
"got": "^9.2.2",
"jest": "^23.5.0",
"jsdom": "^11.12.0",
"recast": "^0.15.3",
"request": "^2.88.0",
"webidl2js": "^9.0.1"
},
"files": [
@@ -90,5 +85,5 @@
"pretest": "node scripts/get-latest-platform-tests.js && node scripts/transform.js && node scripts/convert-idl.js",
"test": "jest"
},
"version": "7.0.0"
"version": "7.1.0"
}

24
node_modules/data-urls/package.json generated vendored
View File

@@ -1,12 +1,5 @@
{
"_args": [
[
"data-urls@1.1.0",
"/Users/pjquirk/Source/GitHub/actions/labeler"
]
],
"_development": true,
"_from": "data-urls@1.1.0",
"_from": "data-urls@^1.0.0",
"_id": "data-urls@1.1.0",
"_inBundle": false,
"_integrity": "sha512-YTWYI9se1P55u58gL5GkQHW4P6VJBJ5iBT+B5a7i2Tjadhv52paJG0qHX4A0OR6/t52odI64KP2YvFpkDOi3eQ==",
@@ -17,21 +10,22 @@
"webidl-conversions": "4.0.2"
},
"_requested": {
"type": "version",
"type": "range",
"registry": true,
"raw": "data-urls@1.1.0",
"raw": "data-urls@^1.0.0",
"name": "data-urls",
"escapedName": "data-urls",
"rawSpec": "1.1.0",
"rawSpec": "^1.0.0",
"saveSpec": null,
"fetchSpec": "1.1.0"
"fetchSpec": "^1.0.0"
},
"_requiredBy": [
"/jsdom"
],
"_resolved": "https://registry.npmjs.org/data-urls/-/data-urls-1.1.0.tgz",
"_spec": "1.1.0",
"_where": "/Users/pjquirk/Source/GitHub/actions/labeler",
"_shasum": "15ee0582baa5e22bb59c77140da8f9c76963bbfe",
"_spec": "data-urls@^1.0.0",
"_where": "/Users/dakale/dev/GitHub/actions/labeler/node_modules/jsdom",
"author": {
"name": "Domenic Denicola",
"email": "d@domenic.me",
@@ -40,11 +34,13 @@
"bugs": {
"url": "https://github.com/jsdom/data-urls/issues"
},
"bundleDependencies": false,
"dependencies": {
"abab": "^2.0.0",
"whatwg-mimetype": "^2.2.0",
"whatwg-url": "^7.0.0"
},
"deprecated": false,
"description": "Parses data: URLs",
"devDependencies": {
"eslint": "^5.7.0",