update node modules
This commit is contained in:
2
node_modules/data-urls/LICENSE.txt
generated
vendored
2
node_modules/data-urls/LICENSE.txt
generated
vendored
@@ -1,4 +1,4 @@
|
||||
Copyright © 2017–2018 Domenic Denicola <d@domenic.me>
|
||||
Copyright © 2017–2020 Domenic Denicola <d@domenic.me>
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
||||
|
||||
|
6
node_modules/data-urls/README.md
generated
vendored
6
node_modules/data-urls/README.md
generated
vendored
@@ -3,7 +3,7 @@
|
||||
This package helps you parse `data:` URLs [according to the WHATWG Fetch Standard](https://fetch.spec.whatwg.org/#data-urls):
|
||||
|
||||
```js
|
||||
const parseDataURL = require("data-url");
|
||||
const parseDataURL = require("data-urls");
|
||||
|
||||
const textExample = parseDataURL("data:,Hello%2C%20World!");
|
||||
console.log(textExample.mimeType.toString()); // "text/plain;charset=US-ASCII"
|
||||
@@ -37,7 +37,7 @@ Because Node.js's `Buffer.prototype.toString()` assumes a UTF-8 encoding, simply
|
||||
A more complete decoding example would use the [whatwg-encoding](https://www.npmjs.com/package/whatwg-encoding) package as follows:
|
||||
|
||||
```js
|
||||
const parseDataURL = require("data-url");
|
||||
const parseDataURL = require("data-urls");
|
||||
const { labelToName, decode } = require("whatwg-encoding");
|
||||
|
||||
const dataURL = parseDataURL(arbitraryString);
|
||||
@@ -55,7 +55,7 @@ If you are using the [whatwg-url](https://github.com/jsdom/whatwg-url) package,
|
||||
|
||||
```js
|
||||
const { parseURL } = require("whatwg-url");
|
||||
const dataURLFromURLRecord = require("data-url").fromURLRecord;
|
||||
const dataURLFromURLRecord = require("data-urls").fromURLRecord;
|
||||
|
||||
const urlRecord = parseURL("data:,Hello%2C%20World!");
|
||||
const dataURL = dataURLFromURLRecord(urlRecord);
|
||||
|
45
node_modules/data-urls/package.json
generated
vendored
45
node_modules/data-urls/package.json
generated
vendored
@@ -1,33 +1,27 @@
|
||||
{
|
||||
"_args": [
|
||||
[
|
||||
"data-urls@1.1.0",
|
||||
"D:\\Projects\\vanillajs-seed"
|
||||
]
|
||||
],
|
||||
"_development": true,
|
||||
"_from": "data-urls@1.1.0",
|
||||
"_id": "data-urls@1.1.0",
|
||||
"_from": "data-urls@^2.0.0",
|
||||
"_id": "data-urls@2.0.0",
|
||||
"_inBundle": false,
|
||||
"_integrity": "sha512-YTWYI9se1P55u58gL5GkQHW4P6VJBJ5iBT+B5a7i2Tjadhv52paJG0qHX4A0OR6/t52odI64KP2YvFpkDOi3eQ==",
|
||||
"_integrity": "sha512-X5eWTSXO/BJmpdIKCRuKUgSCgAN0OwliVK3yPKbwIWU1Tdw5BRajxlzMidvh+gwko9AfQ9zIj52pzF91Q3YAvQ==",
|
||||
"_location": "/data-urls",
|
||||
"_phantomChildren": {},
|
||||
"_requested": {
|
||||
"type": "version",
|
||||
"type": "range",
|
||||
"registry": true,
|
||||
"raw": "data-urls@1.1.0",
|
||||
"raw": "data-urls@^2.0.0",
|
||||
"name": "data-urls",
|
||||
"escapedName": "data-urls",
|
||||
"rawSpec": "1.1.0",
|
||||
"rawSpec": "^2.0.0",
|
||||
"saveSpec": null,
|
||||
"fetchSpec": "1.1.0"
|
||||
"fetchSpec": "^2.0.0"
|
||||
},
|
||||
"_requiredBy": [
|
||||
"/jsdom"
|
||||
],
|
||||
"_resolved": "https://registry.npmjs.org/data-urls/-/data-urls-1.1.0.tgz",
|
||||
"_spec": "1.1.0",
|
||||
"_where": "D:\\Projects\\vanillajs-seed",
|
||||
"_resolved": "https://registry.npmjs.org/data-urls/-/data-urls-2.0.0.tgz",
|
||||
"_shasum": "156485a72963a970f5d5821aaf642bef2bf2db9b",
|
||||
"_spec": "data-urls@^2.0.0",
|
||||
"_where": "D:\\Projects\\vanillajs-seed\\node_modules\\jsdom",
|
||||
"author": {
|
||||
"name": "Domenic Denicola",
|
||||
"email": "d@domenic.me",
|
||||
@@ -36,17 +30,22 @@
|
||||
"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"
|
||||
"abab": "^2.0.3",
|
||||
"whatwg-mimetype": "^2.3.0",
|
||||
"whatwg-url": "^8.0.0"
|
||||
},
|
||||
"deprecated": false,
|
||||
"description": "Parses data: URLs",
|
||||
"devDependencies": {
|
||||
"eslint": "^5.7.0",
|
||||
"jest": "^23.6.0",
|
||||
"eslint": "^6.8.0",
|
||||
"jest": "^24.9.0",
|
||||
"request": "^2.88.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=10"
|
||||
},
|
||||
"files": [
|
||||
"lib/"
|
||||
],
|
||||
@@ -86,5 +85,5 @@
|
||||
"pretest": "node scripts/get-latest-platform-tests.js",
|
||||
"test": "jest"
|
||||
},
|
||||
"version": "1.1.0"
|
||||
"version": "2.0.0"
|
||||
}
|
||||
|
Reference in New Issue
Block a user