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

update node modules

This commit is contained in:
s2
2019-03-29 15:56:41 +01:00
parent f114871153
commit 89c32fb4e6
8347 changed files with 390123 additions and 159877 deletions

2
node_modules/data-urls/README.md generated vendored
View File

@@ -32,7 +32,7 @@ As shown in the examples above, both of these have useful `toString()` methods f
### A word of caution on string decoding
Because Node.js's `Buffer.prototype.toString()` assumes a UTF-8 encoding, simply doing `dataURL.body.toString()` may not work correctly if the `data:` URLs contents were not originally written in UTF-8. This includes if the encoding is "US-ASCII", [aka windows-1252](https://encoding.spec.whatwg.org/#names-and-labels), which is notable for being the default in many cases.
Because Node.js's `Buffer.prototype.toString()` assumes a UTF-8 encoding, simply doing `dataURL.body.toString()` may not work correctly if the `data:` URL's contents were not originally written in UTF-8. This includes if the encoding is "US-ASCII", [aka windows-1252](https://encoding.spec.whatwg.org/#names-and-labels), which is notable for being the default in many cases.
A more complete decoding example would use the [whatwg-encoding](https://www.npmjs.com/package/whatwg-encoding) package as follows:

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

@@ -1,27 +1,27 @@
{
"_from": "data-urls@^1.0.0",
"_id": "data-urls@1.0.0",
"_from": "data-urls@^1.1.0",
"_id": "data-urls@1.1.0",
"_inBundle": false,
"_integrity": "sha512-ai40PPQR0Fn1lD2PPie79CibnlMN2AYiDhwFX/rZHVsxbs5kNJSjegqXIprhouGXlRdEnfybva7kqRGnB6mypA==",
"_integrity": "sha512-YTWYI9se1P55u58gL5GkQHW4P6VJBJ5iBT+B5a7i2Tjadhv52paJG0qHX4A0OR6/t52odI64KP2YvFpkDOi3eQ==",
"_location": "/data-urls",
"_phantomChildren": {},
"_requested": {
"type": "range",
"registry": true,
"raw": "data-urls@^1.0.0",
"raw": "data-urls@^1.1.0",
"name": "data-urls",
"escapedName": "data-urls",
"rawSpec": "^1.0.0",
"rawSpec": "^1.1.0",
"saveSpec": null,
"fetchSpec": "^1.0.0"
"fetchSpec": "^1.1.0"
},
"_requiredBy": [
"/jsdom"
],
"_resolved": "https://registry.npmjs.org/data-urls/-/data-urls-1.0.0.tgz",
"_shasum": "24802de4e81c298ea8a9388bb0d8e461c774684f",
"_spec": "data-urls@^1.0.0",
"_where": "/home/s2/Documents/Code/minifyfromhtml/node_modules/jsdom",
"_resolved": "https://registry.npmjs.org/data-urls/-/data-urls-1.1.0.tgz",
"_shasum": "15ee0582baa5e22bb59c77140da8f9c76963bbfe",
"_spec": "data-urls@^1.1.0",
"_where": "E:\\projects\\p\\minifyfromhtml\\node_modules\\jsdom",
"author": {
"name": "Domenic Denicola",
"email": "d@domenic.me",
@@ -32,16 +32,16 @@
},
"bundleDependencies": false,
"dependencies": {
"abab": "^1.0.4",
"whatwg-mimetype": "^2.0.0",
"whatwg-url": "^6.4.0"
"abab": "^2.0.0",
"whatwg-mimetype": "^2.2.0",
"whatwg-url": "^7.0.0"
},
"deprecated": false,
"description": "Parses data: URLs",
"devDependencies": {
"eslint": "^4.13.0",
"jest": "^21.2.1",
"request": "^2.83.0"
"eslint": "^5.7.0",
"jest": "^23.6.0",
"request": "^2.88.0"
},
"files": [
"lib/"
@@ -56,6 +56,9 @@
"testEnvironment": "node",
"testMatch": [
"<rootDir>/test/**/*.js"
],
"coveragePathIgnorePatterns": [
"<rootDir>/node_modules/(?!(abab/lib/atob.js))"
]
},
"keywords": [
@@ -79,5 +82,5 @@
"pretest": "node scripts/get-latest-platform-tests.js",
"test": "jest"
},
"version": "1.0.0"
"version": "1.1.0"
}