1
0
mirror of https://github.com/S2-/minifyfromhtml.git synced 2025-08-02 20:00:05 +02:00

use terser and clean-css directly

create a sourcemap as well by default
This commit is contained in:
s2
2020-02-13 15:39:37 +01:00
parent db9b32db65
commit a4b62da0ba
535 changed files with 33708 additions and 63052 deletions

9
node_modules/whatwg-url/README.md generated vendored
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":

13
node_modules/whatwg-url/package.json generated vendored
View File

@@ -1,8 +1,8 @@
{
"_from": "whatwg-url@^7.0.0",
"_id": "whatwg-url@7.0.0",
"_id": "whatwg-url@7.1.0",
"_inBundle": false,
"_integrity": "sha512-37GeVSIJ3kn1JgKyjiYNmSLP1yzbpb29jdmwBSgkD9h40/hyrR/OifpVUndji3tmwGgD8qpw7iQu3RSbCrBpsQ==",
"_integrity": "sha512-WUu7Rg1DroM7oQvGWfOiAK21n74Gg+T4elXEQYkOhtyLeWiJFoOGLXPKI/9gzIie9CtwVLm8wtw6YJdKyxSjeg==",
"_location": "/whatwg-url",
"_phantomChildren": {},
"_requested": {
@@ -19,8 +19,8 @@
"/data-urls",
"/jsdom"
],
"_resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-7.0.0.tgz",
"_shasum": "fde926fa54a599f3adf82dff25a9f7be02dc6edd",
"_resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-7.1.0.tgz",
"_shasum": "c2c492f1eca612988efd3d2266be1b9fc6170d06",
"_spec": "whatwg-url@^7.0.0",
"_where": "F:\\projects\\p\\minifyfromhtml\\node_modules\\jsdom",
"author": {
@@ -42,10 +42,9 @@
"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": [
@@ -87,5 +86,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"
}