From a0d91e721c66e0abaa4cf1911153ced7378ab444 Mon Sep 17 00:00:00 2001 From: allartk Date: Wed, 16 Sep 2020 10:50:58 +0200 Subject: [PATCH 1/5] Add leaflet as devdep, --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 53e1ce83..8b018dc1 100644 --- a/package.json +++ b/package.json @@ -53,7 +53,8 @@ "rollup": "^1.32.1", "rollup-plugin-commonjs": "^10.1.0", "rollup-plugin-node-resolve": "^5.2.0", - "sinon": "^7.5.0" + "sinon": "^7.5.0", + "leaflet": "^1.6.0" }, "dependencies": { "idb": "^4.0.5" From 94924b36bd071a728aae3d1574b0b9ce72cc5df3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philippe=20Rivi=C3=A8re?= Date: Wed, 16 Sep 2020 22:15:37 +0200 Subject: [PATCH 2/5] typos --- docs/api.md | 6 +++--- index.js | 4 ++-- src/ControlSaveTiles.js | 12 +++++------- 3 files changed, 10 insertions(+), 12 deletions(-) diff --git a/docs/api.md b/docs/api.md index d02096d5..2e8f4db5 100644 --- a/docs/api.md +++ b/docs/api.md @@ -230,9 +230,9 @@ Shows control on map to save tiles ```js const controlSaveTiles = L.control.savetiles(baseLayer, { zoomlevels: [13, 16], // optional zoomlevels to save, default current zoomlevel -confirm(layer, succescallback) { +confirm(layer, successCallback) { if (window.confirm(`Save ${layer._tilesforSave.length}`)) { - succescallback(); + successCallback(); } }, confirmRemoval(layer, successCallback) { @@ -381,7 +381,7 @@ Leaflet control | [options.saveText] | string | html for save button, default + | | [options.rmText] | string | html for remove button, deflault - | | [options.maxZoom] | number | maximum zoom level that will be reached when saving tiles with saveWhatYouSee. Default 19 | -| [options.parallel] | number | parralel downloads (default 50) | +| [options.parallel] | number | parallel downloads (default 50) | | [options.saveWhatYouSee] | boolean | save the tiles that you see on screen plus deeper zooms, ignores zoomLevels options. Default false | | [options.confirm] | function | function called before confirm, default null. Args of function are ControlStatus and callback. | | [options.confirmRemoval] | function | function called before confirm, default null | diff --git a/index.js b/index.js index 783fe14b..aad96429 100644 --- a/index.js +++ b/index.js @@ -33,10 +33,10 @@ const baseLayer = L.tileLayer // add buttons to save tiles in area viewed const control = L.control.savetiles(baseLayer, { zoomlevels: [13, 16], // optional zoomlevels to save, default current zoomlevel - confirm(layer, succescallback) { + confirm(layer, successCallback) { // eslint-disable-next-line no-alert if (window.confirm(`Save ${layer._tilesforSave.length}`)) { - succescallback(); + successCallback(); } }, confirmRemoval(layer, successCallback) { diff --git a/src/ControlSaveTiles.js b/src/ControlSaveTiles.js index 050e4b34..d1eb59f5 100644 --- a/src/ControlSaveTiles.js +++ b/src/ControlSaveTiles.js @@ -25,9 +25,9 @@ import { * @example * const controlSaveTiles = L.control.savetiles(baseLayer, { * zoomlevels: [13, 16], // optional zoomlevels to save, default current zoomlevel - * confirm(layer, succescallback) { + * confirm(layer, successCallback) { * if (window.confirm(`Save ${layer._tilesforSave.length}`)) { - * succescallback(); + * successCallback(); * } * }, * confirmRemoval(layer, successCallback) { @@ -173,7 +173,7 @@ const ControlSaveTiles = L.Control.extend( tiles = tiles.concat(this._baseLayer.getTileUrls(bounds, zoomlevels[i])); } this._resetStatus(tiles); - const succescallback = async () => { + const successCallback = async () => { this._baseLayer.fire('savestart', this.status); const loader = () => { if (tiles.length === 0) { @@ -188,9 +188,9 @@ const ControlSaveTiles = L.Control.extend( } }; if (this.options.confirm) { - this.options.confirm(this.status, succescallback); + this.options.confirm(this.status, successCallback); } else { - succescallback(); + successCallback(); } }, /** @@ -269,14 +269,12 @@ const ControlSaveTiles = L.Control.extend( }, ); - /** * Leaflet control * @external "L.control" * @see {@link https://leafletjs.com/reference-1.6.0.html#control|Control} */ - /** * @function external:"L.control".savetiles * @param {object} baseLayer {@link http://leafletjs.com/reference-1.2.0.html#tilelayer} From dacbd62b31fb11e6f708bbce03724aa322b133f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philippe=20Rivi=C3=A8re?= Date: Mon, 28 Sep 2020 12:49:00 +0200 Subject: [PATCH 3/5] await download If I'm not mistaken, since the parallelism awaits for _loadTile to resolve, _loadTile should await on downloadTile before returning. (I've needed this change to create a progress bar.) --- src/ControlSaveTiles.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ControlSaveTiles.js b/src/ControlSaveTiles.js index d1eb59f5..0d9762f7 100644 --- a/src/ControlSaveTiles.js +++ b/src/ControlSaveTiles.js @@ -215,7 +215,7 @@ const ControlSaveTiles = L.Control.extend( _loadTile: async function _loadTile(jtile) { const self = this; const tile = jtile; - downloadTile(tile.url).then((blob) => { + await downloadTile(tile.url).then((blob) => { self.status.lengthLoaded += 1; self._saveTile(tile, blob); self._baseLayer.fire('loadtileend', self.status); @@ -284,7 +284,7 @@ const ControlSaveTiles = L.Control.extend( * @property {string} [options.rmText] html for remove button, deflault - * @property {number} [options.maxZoom] maximum zoom level that will be reached * when saving tiles with saveWhatYouSee. Default 19 - * @property {number} [options.parallel] parralel downloads (default 50) + * @property {number} [options.parallel] parallel downloads (default 50) * @property {boolean} [options.saveWhatYouSee] save the tiles that you see * on screen plus deeper zooms, ignores zoomLevels options. Default false * @property {function} [options.confirm] function called before confirm, default null. From 293e60e47428bafd71e4f381eb67ce1131d29fb8 Mon Sep 17 00:00:00 2001 From: Allart Kooiman Date: Tue, 24 Nov 2020 09:59:15 +0100 Subject: [PATCH 4/5] update doc refs #65 --- docs/api.md | 22 ++++++++++------------ src/TileManager.js | 22 ++++++++++++++-------- src/index.js | 11 ++++++++++- 3 files changed, 34 insertions(+), 21 deletions(-) diff --git a/docs/api.md b/docs/api.md index 2e8f4db5..d1e2f68f 100644 --- a/docs/api.md +++ b/docs/api.md @@ -4,7 +4,6 @@
TileManager

Api methods used in control and layer For advanced usage

-
import * from 'leaflet.offline/TileManager';
@@ -42,14 +41,10 @@ ans saving tiles. Used internal and as object for events.

## TileManager Api methods used in control and layer For advanced usage -```js -import * from 'leaflet.offline/TileManager'; -``` * [TileManager](#module_TileManager) * _static_ - * [.getStorageLength()](#module_TileManager.getStorageLength) ⇒ Promise.<Number> * [.getStorageInfo(urlTemplate)](#module_TileManager.getStorageInfo) ⇒ Promise.<Array.<tileInfo>> * [.downloadTile(tileUrl)](#module_TileManager.downloadTile) ⇒ Promise.<blob> * [.saveTile(tileInfo, blob)](#module_TileManager.saveTile) ⇒ Promise @@ -60,13 +55,8 @@ import * from 'leaflet.offline/TileManager'; * [.getTile(key)](#module_TileManager.getTile) ⇒ Promise.<Blob> * [.truncate()](#module_TileManager.truncate) ⇒ Promise * _inner_ - * [~tileInfo](#module_TileManager..tileInfo) : Object - - + * [~tileInfo](#module_TileManager..tileInfo) ⇒ Promise.<Number> -### TileManager.getStorageLength() ⇒ Promise.<Number> -**Kind**: static method of [TileManager](#module_TileManager) -**Returns**: Promise.<Number> - get number of store tiles ### TileManager.getStorageInfo(urlTemplate) ⇒ Promise.<Array.<tileInfo>> @@ -78,6 +68,7 @@ import * from 'leaflet.offline/TileManager'; **Example** ```js +import { getStorageInfo } from 'leaflet.offline' getStorageInfo('https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png') ``` @@ -91,6 +82,7 @@ getStorageInfo('https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png') **Example** ```js +import { downloadTile } from 'leaflet.offline' downloadTile(tileInfo.url).then(blob => saveTile(tileInfo, blob)) ``` @@ -192,8 +184,9 @@ Remove everything **Kind**: static method of [TileManager](#module_TileManager) -### TileManager~tileInfo : Object +### TileManager~tileInfo ⇒ Promise.<Number> **Kind**: inner typedef of [TileManager](#module_TileManager) +**Returns**: Promise.<Number> - get number of store tiles **Properties** | Name | Type | Description | @@ -205,6 +198,11 @@ Remove everything | y | string | top point coord of tile | | z | string | tile zoomlevel | +**Example** +```js +import { getStorageLength } from 'leaflet.offline' +getStorageLength().then(i => console.log(i + 'tiles in storage')) +``` ## ControlSaveTiles diff --git a/src/TileManager.js b/src/TileManager.js index 142f6701..6c7c0e25 100644 --- a/src/TileManager.js +++ b/src/TileManager.js @@ -1,9 +1,7 @@ /** * Api methods used in control and layer * For advanced usage - * ```js - * import * from 'leaflet.offline/TileManager'; - * ``` + * * @module TileManager * */ @@ -31,6 +29,11 @@ const dbPromise = openDB('leaflet.offline', 2, { /** * + * @example + * ```js + * import { getStorageLength } from 'leaflet.offline' + * getStorageLength().then(i => console.log(i + 'tiles in storage')) + * ``` * @typedef {Object} tileInfo * @property {string} key storage key * @property {string} url resolved url @@ -38,9 +41,6 @@ const dbPromise = openDB('leaflet.offline', 2, { * @property {string} x left point of tile * @property {string} y top point coord of tile * @property {string} z tile zoomlevel - */ - -/** * @return {Promise} get number of store tiles */ export async function getStorageLength() { @@ -49,8 +49,10 @@ export async function getStorageLength() { /** * @example + * ```js + * import { getStorageInfo } from 'leaflet.offline' * getStorageInfo('https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png') - * + * ``` * @param {string} urlTemplate * * @return {Promise} @@ -66,8 +68,10 @@ export async function getStorageInfo(urlTemplate) { /** * @example + * ```js + * import { downloadTile } from 'leaflet.offline' * downloadTile(tileInfo.url).then(blob => saveTile(tileInfo, blob)) - * + * ``` * @param {string} tileUrl * @return {Promise} */ @@ -83,7 +87,9 @@ export async function downloadTile(tileUrl) { * TODO validate tileinfo props? * * @example + * ```js * saveTile(tileInfo, blob).then(() => console.log(`saved tile from ${tileInfo.url}`)) + * ``` * * @param {tileInfo} tileInfo * @param {Blob} blob diff --git a/src/index.js b/src/index.js index bafe1c03..67da6b59 100644 --- a/src/index.js +++ b/src/index.js @@ -7,8 +7,17 @@ import { getStoredTilesAsJson, removeTile, truncate, + downloadTile, + saveTile, } from './TileManager'; export { - getStorageInfo, getTileUrls, getStorageLength, truncate, getStoredTilesAsJson, removeTile, + downloadTile, + getStorageInfo, + getTileUrls, + getStorageLength, + truncate, + getStoredTilesAsJson, + removeTile, + saveTile, }; From 0af23f12b31209613222832f7be792168687da4c Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sat, 8 May 2021 18:53:27 +0000 Subject: [PATCH 5/5] Bump handlebars from 4.7.3 to 4.7.7 Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.7.3 to 4.7.7. - [Release notes](https://github.com/wycats/handlebars.js/releases) - [Changelog](https://github.com/handlebars-lang/handlebars.js/blob/master/release-notes.md) - [Commits](https://github.com/wycats/handlebars.js/compare/v4.7.3...v4.7.7) Signed-off-by: dependabot[bot] --- package-lock.json | 86 +++++++++++++++++++++++++++++++++++++++++------ 1 file changed, 76 insertions(+), 10 deletions(-) diff --git a/package-lock.json b/package-lock.json index 068f126d..9596e9e7 100644 --- a/package-lock.json +++ b/package-lock.json @@ -253,6 +253,7 @@ }, "ansi-styles": { "version": "2.2.1", + "resolved": false, "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=", "dev": true }, @@ -814,6 +815,7 @@ }, "async-each": { "version": "1.0.1", + "resolved": false, "integrity": "sha1-GdOGodntxufByF04iu28xW0zYC0=", "dev": true }, @@ -1175,6 +1177,7 @@ }, "builtin-modules": { "version": "1.1.1", + "resolved": false, "integrity": "sha1-Jw8HbFpywC9bZaR9+Uxf46J4iS8=", "dev": true }, @@ -1263,6 +1266,7 @@ }, "chalk": { "version": "1.1.3", + "resolved": false, "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=", "dev": true, "requires": { @@ -1536,6 +1540,7 @@ }, "code-point-at": { "version": "1.1.0", + "resolved": false, "integrity": "sha1-DQcLTQQ6W+ozovGkDi7bPZpMz3c=", "dev": true }, @@ -1561,6 +1566,7 @@ }, "color-convert": { "version": "1.9.0", + "resolved": false, "integrity": "sha1-Gsz5fdc5uYO/mU1W/sj5WFNkG3o=", "dev": true, "requires": { @@ -1569,6 +1575,7 @@ }, "color-name": { "version": "1.1.3", + "resolved": false, "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=", "dev": true }, @@ -1689,6 +1696,7 @@ }, "concat-map": { "version": "0.0.1", + "resolved": false, "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=", "dev": true }, @@ -1759,6 +1767,7 @@ }, "core-util-is": { "version": "1.0.2", + "resolved": false, "integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac=", "dev": true }, @@ -2163,6 +2172,7 @@ }, "error-ex": { "version": "1.3.1", + "resolved": false, "integrity": "sha1-+FWobOYa3E6GIcPNoh56dhLDqNw=", "dev": true, "requires": { @@ -2214,6 +2224,7 @@ }, "escape-string-regexp": { "version": "1.0.5", + "resolved": false, "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=", "dev": true }, @@ -2978,6 +2989,7 @@ }, "foreach": { "version": "2.0.5", + "resolved": false, "integrity": "sha1-C+4AUBiusmDQo6865ljdATbsG5k=", "dev": true }, @@ -3665,6 +3677,7 @@ }, "graceful-fs": { "version": "4.1.11", + "resolved": false, "integrity": "sha1-Dovf5NHduIVNZOBOp8AOKgJuVlg=", "dev": true }, @@ -3675,21 +3688,22 @@ "dev": true }, "handlebars": { - "version": "4.7.3", - "resolved": "https://registry.npmjs.org/handlebars/-/handlebars-4.7.3.tgz", - "integrity": "sha512-SRGwSYuNfx8DwHD/6InAPzD6RgeruWLT+B8e8a7gGs8FWgHzlExpTFMEq2IA6QpAfOClpKHy6+8IqTjeBCu6Kg==", + "version": "4.7.7", + "resolved": "https://registry.npmjs.org/handlebars/-/handlebars-4.7.7.tgz", + "integrity": "sha512-aAcXm5OAfE/8IXkcZvCepKU3VzW1/39Fb5ZuqMtgI/hT8X2YgoMvBY5dLhq/cpOvw7Lk1nK/UF71aLG/ZnVYRA==", "dev": true, "requires": { + "minimist": "^1.2.5", "neo-async": "^2.6.0", - "optimist": "^0.6.1", "source-map": "^0.6.1", - "uglify-js": "^3.1.4" + "uglify-js": "^3.1.4", + "wordwrap": "^1.0.0" }, "dependencies": { - "source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "minimist": { + "version": "1.2.5", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.5.tgz", + "integrity": "sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==", "dev": true } } @@ -3705,6 +3719,7 @@ }, "has-ansi": { "version": "2.0.0", + "resolved": false, "integrity": "sha1-NPUEnOHs3ysGSa8+8k5F7TVBbZE=", "dev": true, "requires": { @@ -3814,6 +3829,7 @@ }, "hosted-git-info": { "version": "2.5.0", + "resolved": false, "integrity": "sha1-bWDjSzq7yDEwYsO3mO+NkBoHrzw=", "dev": true }, @@ -4060,6 +4076,7 @@ }, "inherits": { "version": "2.0.3", + "resolved": false, "integrity": "sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4=", "dev": true }, @@ -4202,11 +4219,13 @@ }, "is-arrayish": { "version": "0.2.1", + "resolved": false, "integrity": "sha1-d8mYQFJ6qOyxqLppe4BkWnqSap0=", "dev": true }, "is-binary-path": { "version": "1.0.1", + "resolved": false, "integrity": "sha1-dfFmQrSA8YenEcgUFh/TpKdlWJg=", "dev": true, "requires": { @@ -4221,6 +4240,7 @@ }, "is-builtin-module": { "version": "1.0.0", + "resolved": false, "integrity": "sha1-VAVy0096wxGfj3bDDLwbHgN6/74=", "dev": true, "requires": { @@ -4277,6 +4297,7 @@ }, "is-extendable": { "version": "0.1.1", + "resolved": false, "integrity": "sha1-YrEQ4omkcUGOPsNqYX1HLjAd/Ik=", "dev": true }, @@ -4288,6 +4309,7 @@ }, "is-fullwidth-code-point": { "version": "1.0.0", + "resolved": false, "integrity": "sha1-754xOG8DGn8NZDr4L95QxFfvAMs=", "dev": true, "requires": { @@ -4453,6 +4475,7 @@ }, "isexe": { "version": "1.1.2", + "resolved": false, "integrity": "sha1-NvPiLmB1CSD15yQaR2qMakInWtA=", "dev": true }, @@ -5040,7 +5063,8 @@ "leaflet": { "version": "1.6.0", "resolved": "https://registry.npmjs.org/leaflet/-/leaflet-1.6.0.tgz", - "integrity": "sha512-CPkhyqWUKZKFJ6K8umN5/D2wrJ2+/8UIpXppY7QDnUZW5bZL5+SEI2J7GBpwh4LIupOKqbNSQXgqmrEJopHVNQ==" + "integrity": "sha512-CPkhyqWUKZKFJ6K8umN5/D2wrJ2+/8UIpXppY7QDnUZW5bZL5+SEI2J7GBpwh4LIupOKqbNSQXgqmrEJopHVNQ==", + "dev": true }, "leaflet.vectorgrid": { "version": "1.3.0", @@ -5392,6 +5416,7 @@ }, "locate-path": { "version": "2.0.0", + "resolved": false, "integrity": "sha1-K1aLJl7slExtnA3pw9u7ygNUzY4=", "dev": true, "requires": { @@ -5792,6 +5817,7 @@ }, "minimist": { "version": "1.2.0", + "resolved": false, "integrity": "sha1-o1AIsg9BOD7sH7kU9M1d95omQoQ=", "dev": true }, @@ -6237,6 +6263,7 @@ }, "normalize-package-data": { "version": "2.4.0", + "resolved": false, "integrity": "sha1-EvlaMH1YNSB1oEkHuErIvpisAS8=", "dev": true, "requires": { @@ -6395,6 +6422,7 @@ }, "number-is-nan": { "version": "1.0.1", + "resolved": false, "integrity": "sha1-CXtgK1NCKlIsGvuHkDGDNpQaAR0=", "dev": true }, @@ -6477,6 +6505,7 @@ }, "object-keys": { "version": "1.0.11", + "resolved": false, "integrity": "sha1-xUYBd4rVYPEULODgG8yotW0TQm0=", "dev": true }, @@ -6978,6 +7007,7 @@ }, "p-locate": { "version": "2.0.0", + "resolved": false, "integrity": "sha1-IKAQOyIqcMj9OcwuWAaA893l7EM=", "dev": true, "requires": { @@ -7010,6 +7040,7 @@ }, "parse-json": { "version": "2.2.0", + "resolved": false, "integrity": "sha1-9ID0BDTvgHQfhGkJn43qGPVaTck=", "dev": true, "requires": { @@ -7063,6 +7094,7 @@ }, "path-is-absolute": { "version": "1.0.1", + "resolved": false, "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=", "dev": true }, @@ -7136,16 +7168,19 @@ }, "pify": { "version": "2.3.0", + "resolved": false, "integrity": "sha1-7RQaasBDqEnqWISY59yosVMw6Qw=", "dev": true }, "pinkie": { "version": "2.0.4", + "resolved": false, "integrity": "sha1-clVrgM+g1IqXToDnckjoDtT3+HA=", "dev": true }, "pinkie-promise": { "version": "2.0.1", + "resolved": false, "integrity": "sha1-ITXW36ejWMBprJsXh3YogihFD/o=", "dev": true, "requires": { @@ -7229,6 +7264,7 @@ }, "pseudomap": { "version": "1.0.2", + "resolved": false, "integrity": "sha1-8FKijacOYYkX7wqKw0wa5aaChrM=", "dev": true }, @@ -7474,11 +7510,13 @@ }, "repeat-element": { "version": "1.1.2", + "resolved": false, "integrity": "sha1-7wiaF40Ug7quTZPrmLT55OEdmQo=", "dev": true }, "repeat-string": { "version": "1.6.1", + "resolved": false, "integrity": "sha1-jcrkcOHIirwtYA//Sndihtp15jc=", "dev": true }, @@ -7747,6 +7785,7 @@ }, "semver": { "version": "4.3.6", + "resolved": false, "integrity": "sha1-MAvG4OhjdPe6YQaLWx7NV/xlMto=", "dev": true }, @@ -7920,6 +7959,7 @@ }, "shebang-command": { "version": "1.2.0", + "resolved": false, "integrity": "sha1-RKrGW2lbAzmJaMOfNj/uXer98eo=", "dev": true, "requires": { @@ -7928,6 +7968,7 @@ }, "shebang-regex": { "version": "1.0.0", + "resolved": false, "integrity": "sha1-2kL0l0DAtC2yypcoVxyxkMmO/qM=", "dev": true }, @@ -8347,6 +8388,12 @@ } } }, + "source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "dev": true + }, "source-map-resolve": { "version": "0.5.1", "resolved": "https://registry.npmjs.org/source-map-resolve/-/source-map-resolve-0.5.1.tgz", @@ -8374,6 +8421,7 @@ }, "spdx-correct": { "version": "1.0.2", + "resolved": false, "integrity": "sha1-SzBz2TP/UfORLwOsVRlJikFQ20A=", "dev": true, "requires": { @@ -8382,11 +8430,13 @@ }, "spdx-expression-parse": { "version": "1.0.4", + "resolved": false, "integrity": "sha1-m98vIOH0DtRH++JzJmGR/O1RYmw=", "dev": true }, "spdx-license-ids": { "version": "1.2.2", + "resolved": false, "integrity": "sha1-yd96NCRZSt5r0RkA1ZZpbcBrrFc=", "dev": true }, @@ -8401,6 +8451,7 @@ }, "sprintf-js": { "version": "1.0.3", + "resolved": false, "integrity": "sha1-BOaSb2YolTVPPdAVIDYzuFcpfiw=", "dev": true }, @@ -8591,6 +8642,7 @@ }, "string-width": { "version": "1.0.2", + "resolved": false, "integrity": "sha1-EYvfW4zcUaKn5w0hHgfisLmxB9M=", "dev": true, "requires": { @@ -8898,6 +8950,7 @@ }, "strip-ansi": { "version": "3.0.1", + "resolved": false, "integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=", "dev": true, "requires": { @@ -8924,6 +8977,7 @@ }, "supports-color": { "version": "2.0.0", + "resolved": false, "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=", "dev": true }, @@ -9060,6 +9114,7 @@ }, "through": { "version": "2.3.8", + "resolved": false, "integrity": "sha1-DdTJ/6q8NXlgsbckEV1+Doai4fU=", "dev": true }, @@ -9452,6 +9507,7 @@ }, "util-deprecate": { "version": "1.0.2", + "resolved": false, "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=", "dev": true }, @@ -9469,6 +9525,7 @@ }, "validate-npm-package-license": { "version": "3.0.1", + "resolved": false, "integrity": "sha1-KAS6vnEq0zeUWaz74kdGqywwP7w=", "dev": true, "requires": { @@ -9505,6 +9562,7 @@ }, "which": { "version": "1.2.12", + "resolved": false, "integrity": "sha1-3me15FAmnxlJCe8j7OTr5Bb6EZI=", "dev": true, "requires": { @@ -9544,6 +9602,12 @@ "integrity": "sha512-Hz/mrNwitNRh/HUAtM/VT/5VH+ygD6DV7mYKZAtHOrbs8U7lvPS6xf7EJKMF0uW1KJCl0H701g3ZGus+muE5vQ==", "dev": true }, + "wordwrap": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/wordwrap/-/wordwrap-1.0.0.tgz", + "integrity": "sha1-J1hIEIkUVqQXHI0CJkQa3pDLyus=", + "dev": true + }, "wordwrapjs": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/wordwrapjs/-/wordwrapjs-3.0.0.tgz", @@ -9556,6 +9620,7 @@ }, "wrap-ansi": { "version": "2.1.0", + "resolved": false, "integrity": "sha1-2Pw9KE3QV5T+hJc8rs3Rz4JP3YU=", "dev": true, "requires": { @@ -9607,6 +9672,7 @@ }, "yallist": { "version": "2.1.2", + "resolved": false, "integrity": "sha1-HBH5IY8HYImkfdUS+TxmmaaoHVI=", "dev": true },