- Linting: Use new preference for "object"; fix @example code; bad @returns
- npm: Update devDepsmaster
parent
8d179aee0c
commit
d5ef6c5619
23
.eslintrc.js
23
.eslintrc.js
|
@ -63,20 +63,6 @@ module.exports = {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
overrides: [
|
overrides: [
|
||||||
// Remove this rule when fully migrated to eslint-plugin-jsdoc: https://github.com/gajus/eslint-plugin-jsdoc/issues/107
|
|
||||||
// These would otherwise currently break because of these issues:
|
|
||||||
// 1. `event:` https://github.com/eslint/doctrine/issues/221
|
|
||||||
// 1. `@implements`/`@augments`/`@extends`/`@override`: https://github.com/eslint/doctrine/issues/222
|
|
||||||
{
|
|
||||||
files: [
|
|
||||||
"test/utilities_test.js", "editor/svg-editor.js", "editor/svgcanvas.js",
|
|
||||||
"editor/coords.js",
|
|
||||||
"editor/extensions/ext-eyedropper.js", "editor/extensions/ext-webappfind.js"
|
|
||||||
],
|
|
||||||
rules: {
|
|
||||||
"valid-jsdoc": "off"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
// Locales have no need for importing outside of SVG-Edit
|
// Locales have no need for importing outside of SVG-Edit
|
||||||
{
|
{
|
||||||
files: [
|
files: [
|
||||||
|
@ -126,7 +112,10 @@ module.exports = {
|
||||||
"padded-blocks": ["off"],
|
"padded-blocks": ["off"],
|
||||||
"import/unambiguous": ["off"],
|
"import/unambiguous": ["off"],
|
||||||
"import/no-unresolved": ["off"],
|
"import/no-unresolved": ["off"],
|
||||||
"node/no-missing-import": ["off"]
|
"node/no-missing-import": ["off"],
|
||||||
|
"no-multi-spaces": "off",
|
||||||
|
// Disable until may fix https://github.com/gajus/eslint-plugin-jsdoc/issues/211
|
||||||
|
"indent": "off"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
// Dis-apply Node rules mistakenly giving errors with browser files,
|
// Dis-apply Node rules mistakenly giving errors with browser files,
|
||||||
|
@ -194,6 +183,8 @@ module.exports = {
|
||||||
}],
|
}],
|
||||||
"unicorn/prefer-query-selector": "off",
|
"unicorn/prefer-query-selector": "off",
|
||||||
"unicorn/prefer-node-append": "off",
|
"unicorn/prefer-node-append": "off",
|
||||||
"unicorn/no-zero-fractions": "off"
|
"unicorn/no-zero-fractions": "off",
|
||||||
|
// Disable until ash-nazg removes
|
||||||
|
"valid-jsdoc": "off"
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
|
@ -973,7 +973,7 @@ var canvg = (function (exports) {
|
||||||
};
|
};
|
||||||
/**
|
/**
|
||||||
* @param {module:canvg.CanvgOptions} opts
|
* @param {module:canvg.CanvgOptions} opts
|
||||||
* @returns {Object}
|
* @returns {object}
|
||||||
* @todo Flesh out exactly what object is returned here (after updating to latest and reincluding our changes here and those of StackBlur)
|
* @todo Flesh out exactly what object is returned here (after updating to latest and reincluding our changes here and those of StackBlur)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -4364,7 +4364,7 @@ var canvg = (function (exports) {
|
||||||
* @param {Float} width
|
* @param {Float} width
|
||||||
* @param {Float} height
|
* @param {Float} height
|
||||||
* @param {Integer} rgba
|
* @param {Integer} rgba
|
||||||
* @returns {void}
|
* @returns {Integer}
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -973,7 +973,7 @@ var svgEditorExtension_server_moinsave = (function () {
|
||||||
};
|
};
|
||||||
/**
|
/**
|
||||||
* @param {module:canvg.CanvgOptions} opts
|
* @param {module:canvg.CanvgOptions} opts
|
||||||
* @returns {Object}
|
* @returns {object}
|
||||||
* @todo Flesh out exactly what object is returned here (after updating to latest and reincluding our changes here and those of StackBlur)
|
* @todo Flesh out exactly what object is returned here (after updating to latest and reincluding our changes here and those of StackBlur)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -4364,7 +4364,7 @@ var svgEditorExtension_server_moinsave = (function () {
|
||||||
* @param {Float} width
|
* @param {Float} width
|
||||||
* @param {Float} height
|
* @param {Float} height
|
||||||
* @param {Integer} rgba
|
* @param {Integer} rgba
|
||||||
* @returns {void}
|
* @returns {Integer}
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -973,7 +973,7 @@ var svgEditorExtension_server_opensave = (function () {
|
||||||
};
|
};
|
||||||
/**
|
/**
|
||||||
* @param {module:canvg.CanvgOptions} opts
|
* @param {module:canvg.CanvgOptions} opts
|
||||||
* @returns {Object}
|
* @returns {object}
|
||||||
* @todo Flesh out exactly what object is returned here (after updating to latest and reincluding our changes here and those of StackBlur)
|
* @todo Flesh out exactly what object is returned here (after updating to latest and reincluding our changes here and those of StackBlur)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -4364,7 +4364,7 @@ var svgEditorExtension_server_opensave = (function () {
|
||||||
* @param {Float} width
|
* @param {Float} width
|
||||||
* @param {Float} height
|
* @param {Float} height
|
||||||
* @param {Integer} rgba
|
* @param {Integer} rgba
|
||||||
* @returns {void}
|
* @returns {Integer}
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
@ -4886,7 +4886,7 @@ var svgEditorExtension_server_opensave = (function () {
|
||||||
/**
|
/**
|
||||||
* Submit the form, empty its contents for reuse and show
|
* Submit the form, empty its contents for reuse and show
|
||||||
* uploading message.
|
* uploading message.
|
||||||
* @returns {void}
|
* @returns {Promise<void>}
|
||||||
*/
|
*/
|
||||||
|
|
||||||
function submit() {
|
function submit() {
|
||||||
|
|
|
@ -3009,7 +3009,7 @@
|
||||||
/**
|
/**
|
||||||
* Shows results after query submission.
|
* Shows results after query submission.
|
||||||
* @param {string} url
|
* @param {string} url
|
||||||
* @returns {void}
|
* @returns {Promise<void>}
|
||||||
*/
|
*/
|
||||||
|
|
||||||
function processResults(_x) {
|
function processResults(_x) {
|
||||||
|
|
|
@ -6073,7 +6073,7 @@ function () {
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* @param {Integer} y
|
* @param {Integer} y
|
||||||
* @returns {void}
|
* @returns {Path}
|
||||||
*/
|
*/
|
||||||
|
|
||||||
}, {
|
}, {
|
||||||
|
@ -9779,9 +9779,9 @@ var $$4 = jQuery;
|
||||||
* an existing group element or, with three parameters, will create a new layer group element.
|
* an existing group element or, with three parameters, will create a new layer group element.
|
||||||
*
|
*
|
||||||
* @example
|
* @example
|
||||||
* new Layer('name', group); // Use the existing group for this layer.
|
* const l1 = new Layer('name', group); // Use the existing group for this layer.
|
||||||
* new Layer('name', group, svgElem); // Create a new group and add it to the DOM after group.
|
* const l2 = new Layer('name', group, svgElem); // Create a new group and add it to the DOM after group.
|
||||||
* new Layer('name', null, svgElem); // Create a new group and add it to the DOM as the last layer.
|
* const l3 = new Layer('name', null, svgElem); // Create a new group and add it to the DOM as the last layer.
|
||||||
* @memberof module:layer
|
* @memberof module:layer
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -29149,8 +29149,9 @@ editor.loadContentAndPrefs = function () {
|
||||||
|
|
||||||
if (editor.storage && ( // Cookies do not have enough available memory to hold large documents
|
if (editor.storage && ( // Cookies do not have enough available memory to hold large documents
|
||||||
curConfig.forceStorage || !curConfig.noStorageOnLoad && document.cookie.match(/(?:^|;\s*)svgeditstore=prefsAndContent/))) {
|
curConfig.forceStorage || !curConfig.noStorageOnLoad && document.cookie.match(/(?:^|;\s*)svgeditstore=prefsAndContent/))) {
|
||||||
var name = 'svgedit-' + curConfig.canvasName;
|
var _name = 'svgedit-' + curConfig.canvasName;
|
||||||
var cached = editor.storage.getItem(name);
|
|
||||||
|
var cached = editor.storage.getItem(_name);
|
||||||
|
|
||||||
if (cached) {
|
if (cached) {
|
||||||
editor.loadFromString(cached);
|
editor.loadFromString(cached);
|
||||||
|
@ -29357,7 +29358,7 @@ editor.setCustomHandlers = function (opts) {
|
||||||
|
|
||||||
|
|
||||||
editor.randomizeIds = function (arg) {
|
editor.randomizeIds = function (arg) {
|
||||||
return svgCanvas.randomizeIds(arg);
|
svgCanvas.randomizeIds(arg);
|
||||||
};
|
};
|
||||||
/**
|
/**
|
||||||
* Auto-run after a Promise microtask.
|
* Auto-run after a Promise microtask.
|
||||||
|
@ -29578,7 +29579,7 @@ editor.init = function () {
|
||||||
var _ref6 = _asyncToGenerator(
|
var _ref6 = _asyncToGenerator(
|
||||||
/*#__PURE__*/
|
/*#__PURE__*/
|
||||||
regeneratorRuntime.mark(function _callee2(extname) {
|
regeneratorRuntime.mark(function _callee2(extname) {
|
||||||
var extName, url, imported, _imported$name, name, init, importLocale;
|
var extName, url, imported, _imported$name, _name2, init, importLocale;
|
||||||
|
|
||||||
return regeneratorRuntime.wrap(function _callee2$(_context2) {
|
return regeneratorRuntime.wrap(function _callee2$(_context2) {
|
||||||
while (1) {
|
while (1) {
|
||||||
|
@ -29612,12 +29613,12 @@ editor.init = function () {
|
||||||
|
|
||||||
case 7:
|
case 7:
|
||||||
imported = _context2.sent;
|
imported = _context2.sent;
|
||||||
_imported$name = imported.name, name = _imported$name === void 0 ? extName[1] : _imported$name, init = imported.init;
|
_imported$name = imported.name, _name2 = _imported$name === void 0 ? extName[1] : _imported$name, init = imported.init;
|
||||||
importLocale = getImportLocale({
|
importLocale = getImportLocale({
|
||||||
defaultLang: langParam,
|
defaultLang: langParam,
|
||||||
defaultName: name
|
defaultName: _name2
|
||||||
});
|
});
|
||||||
return _context2.abrupt("return", editor.addExtension(name, init && init.bind(editor), {
|
return _context2.abrupt("return", editor.addExtension(_name2, init && init.bind(editor), {
|
||||||
$: $$b,
|
$: $$b,
|
||||||
importLocale: importLocale
|
importLocale: importLocale
|
||||||
}));
|
}));
|
||||||
|
@ -30423,12 +30424,13 @@ editor.init = function () {
|
||||||
var layer = svgCanvas.getCurrentDrawing().getNumLayers(); // we get the layers in the reverse z-order (the layer rendered on top is listed first)
|
var layer = svgCanvas.getCurrentDrawing().getNumLayers(); // we get the layers in the reverse z-order (the layer rendered on top is listed first)
|
||||||
|
|
||||||
while (layer--) {
|
while (layer--) {
|
||||||
var name = drawing.getLayerName(layer);
|
var _name3 = drawing.getLayerName(layer);
|
||||||
var layerTr = $$b('<tr class="layer">').toggleClass('layersel', name === currentLayerName);
|
|
||||||
var layerVis = $$b('<td class="layervis">').toggleClass('layerinvis', !drawing.getLayerVisibility(name));
|
var layerTr = $$b('<tr class="layer">').toggleClass('layersel', _name3 === currentLayerName);
|
||||||
var layerName = $$b('<td class="layername">' + name + '</td>');
|
var layerVis = $$b('<td class="layervis">').toggleClass('layerinvis', !drawing.getLayerVisibility(_name3));
|
||||||
|
var layerName = $$b('<td class="layername">' + _name3 + '</td>');
|
||||||
layerlist.append(layerTr.append(layerVis, layerName));
|
layerlist.append(layerTr.append(layerVis, layerName));
|
||||||
selLayerNames.append('<option value="' + name + '">' + name + '</option>');
|
selLayerNames.append('<option value="' + _name3 + '">' + _name3 + '</option>');
|
||||||
}
|
}
|
||||||
|
|
||||||
if (icon !== undefined) {
|
if (icon !== undefined) {
|
||||||
|
@ -31798,7 +31800,7 @@ editor.init = function () {
|
||||||
/**
|
/**
|
||||||
* Clicking the icon in flyout should set this set's icon.
|
* Clicking the icon in flyout should set this set's icon.
|
||||||
* @param {Event} ev
|
* @param {Event} ev
|
||||||
* @returns {void}
|
* @returns {boolean}
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
@ -31916,7 +31918,7 @@ editor.init = function () {
|
||||||
/**
|
/**
|
||||||
* @param {string} id
|
* @param {string} id
|
||||||
* @param {external:jQuery} child
|
* @param {external:jQuery} child
|
||||||
* @returns {void}
|
* @returns {external:jQuery}
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
@ -34149,7 +34151,7 @@ editor.init = function () {
|
||||||
/**
|
/**
|
||||||
* Save user preferences based on current values in the UI.
|
* Save user preferences based on current values in the UI.
|
||||||
* @function module:SVGEditor.savePreferences
|
* @function module:SVGEditor.savePreferences
|
||||||
* @returns {void}
|
* @returns {Promise<void>}
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
@ -34730,7 +34732,7 @@ editor.init = function () {
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @returns {void}
|
* @returns {Promise<void>}
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -6079,7 +6079,7 @@
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* @param {Integer} y
|
* @param {Integer} y
|
||||||
* @returns {void}
|
* @returns {Path}
|
||||||
*/
|
*/
|
||||||
|
|
||||||
}, {
|
}, {
|
||||||
|
@ -9785,9 +9785,9 @@
|
||||||
* an existing group element or, with three parameters, will create a new layer group element.
|
* an existing group element or, with three parameters, will create a new layer group element.
|
||||||
*
|
*
|
||||||
* @example
|
* @example
|
||||||
* new Layer('name', group); // Use the existing group for this layer.
|
* const l1 = new Layer('name', group); // Use the existing group for this layer.
|
||||||
* new Layer('name', group, svgElem); // Create a new group and add it to the DOM after group.
|
* const l2 = new Layer('name', group, svgElem); // Create a new group and add it to the DOM after group.
|
||||||
* new Layer('name', null, svgElem); // Create a new group and add it to the DOM as the last layer.
|
* const l3 = new Layer('name', null, svgElem); // Create a new group and add it to the DOM as the last layer.
|
||||||
* @memberof module:layer
|
* @memberof module:layer
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -29155,8 +29155,9 @@
|
||||||
|
|
||||||
if (editor.storage && ( // Cookies do not have enough available memory to hold large documents
|
if (editor.storage && ( // Cookies do not have enough available memory to hold large documents
|
||||||
curConfig.forceStorage || !curConfig.noStorageOnLoad && document.cookie.match(/(?:^|;\s*)svgeditstore=prefsAndContent/))) {
|
curConfig.forceStorage || !curConfig.noStorageOnLoad && document.cookie.match(/(?:^|;\s*)svgeditstore=prefsAndContent/))) {
|
||||||
var name = 'svgedit-' + curConfig.canvasName;
|
var _name = 'svgedit-' + curConfig.canvasName;
|
||||||
var cached = editor.storage.getItem(name);
|
|
||||||
|
var cached = editor.storage.getItem(_name);
|
||||||
|
|
||||||
if (cached) {
|
if (cached) {
|
||||||
editor.loadFromString(cached);
|
editor.loadFromString(cached);
|
||||||
|
@ -29363,7 +29364,7 @@
|
||||||
|
|
||||||
|
|
||||||
editor.randomizeIds = function (arg) {
|
editor.randomizeIds = function (arg) {
|
||||||
return svgCanvas.randomizeIds(arg);
|
svgCanvas.randomizeIds(arg);
|
||||||
};
|
};
|
||||||
/**
|
/**
|
||||||
* Auto-run after a Promise microtask.
|
* Auto-run after a Promise microtask.
|
||||||
|
@ -29584,7 +29585,7 @@
|
||||||
var _ref6 = _asyncToGenerator(
|
var _ref6 = _asyncToGenerator(
|
||||||
/*#__PURE__*/
|
/*#__PURE__*/
|
||||||
regeneratorRuntime.mark(function _callee2(extname) {
|
regeneratorRuntime.mark(function _callee2(extname) {
|
||||||
var extName, url, imported, _imported$name, name, init, importLocale;
|
var extName, url, imported, _imported$name, _name2, init, importLocale;
|
||||||
|
|
||||||
return regeneratorRuntime.wrap(function _callee2$(_context2) {
|
return regeneratorRuntime.wrap(function _callee2$(_context2) {
|
||||||
while (1) {
|
while (1) {
|
||||||
|
@ -29618,12 +29619,12 @@
|
||||||
|
|
||||||
case 7:
|
case 7:
|
||||||
imported = _context2.sent;
|
imported = _context2.sent;
|
||||||
_imported$name = imported.name, name = _imported$name === void 0 ? extName[1] : _imported$name, init = imported.init;
|
_imported$name = imported.name, _name2 = _imported$name === void 0 ? extName[1] : _imported$name, init = imported.init;
|
||||||
importLocale = getImportLocale({
|
importLocale = getImportLocale({
|
||||||
defaultLang: langParam,
|
defaultLang: langParam,
|
||||||
defaultName: name
|
defaultName: _name2
|
||||||
});
|
});
|
||||||
return _context2.abrupt("return", editor.addExtension(name, init && init.bind(editor), {
|
return _context2.abrupt("return", editor.addExtension(_name2, init && init.bind(editor), {
|
||||||
$: $$b,
|
$: $$b,
|
||||||
importLocale: importLocale
|
importLocale: importLocale
|
||||||
}));
|
}));
|
||||||
|
@ -30429,12 +30430,13 @@
|
||||||
var layer = svgCanvas.getCurrentDrawing().getNumLayers(); // we get the layers in the reverse z-order (the layer rendered on top is listed first)
|
var layer = svgCanvas.getCurrentDrawing().getNumLayers(); // we get the layers in the reverse z-order (the layer rendered on top is listed first)
|
||||||
|
|
||||||
while (layer--) {
|
while (layer--) {
|
||||||
var name = drawing.getLayerName(layer);
|
var _name3 = drawing.getLayerName(layer);
|
||||||
var layerTr = $$b('<tr class="layer">').toggleClass('layersel', name === currentLayerName);
|
|
||||||
var layerVis = $$b('<td class="layervis">').toggleClass('layerinvis', !drawing.getLayerVisibility(name));
|
var layerTr = $$b('<tr class="layer">').toggleClass('layersel', _name3 === currentLayerName);
|
||||||
var layerName = $$b('<td class="layername">' + name + '</td>');
|
var layerVis = $$b('<td class="layervis">').toggleClass('layerinvis', !drawing.getLayerVisibility(_name3));
|
||||||
|
var layerName = $$b('<td class="layername">' + _name3 + '</td>');
|
||||||
layerlist.append(layerTr.append(layerVis, layerName));
|
layerlist.append(layerTr.append(layerVis, layerName));
|
||||||
selLayerNames.append('<option value="' + name + '">' + name + '</option>');
|
selLayerNames.append('<option value="' + _name3 + '">' + _name3 + '</option>');
|
||||||
}
|
}
|
||||||
|
|
||||||
if (icon !== undefined) {
|
if (icon !== undefined) {
|
||||||
|
@ -31804,7 +31806,7 @@
|
||||||
/**
|
/**
|
||||||
* Clicking the icon in flyout should set this set's icon.
|
* Clicking the icon in flyout should set this set's icon.
|
||||||
* @param {Event} ev
|
* @param {Event} ev
|
||||||
* @returns {void}
|
* @returns {boolean}
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
@ -31922,7 +31924,7 @@
|
||||||
/**
|
/**
|
||||||
* @param {string} id
|
* @param {string} id
|
||||||
* @param {external:jQuery} child
|
* @param {external:jQuery} child
|
||||||
* @returns {void}
|
* @returns {external:jQuery}
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
@ -34155,7 +34157,7 @@
|
||||||
/**
|
/**
|
||||||
* Save user preferences based on current values in the UI.
|
* Save user preferences based on current values in the UI.
|
||||||
* @function module:SVGEditor.savePreferences
|
* @function module:SVGEditor.savePreferences
|
||||||
* @returns {void}
|
* @returns {Promise<void>}
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
@ -34736,7 +34738,7 @@
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @returns {void}
|
* @returns {Promise<void>}
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -6145,7 +6145,7 @@ var SvgCanvas = (function () {
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* @param {Integer} y
|
* @param {Integer} y
|
||||||
* @returns {void}
|
* @returns {Path}
|
||||||
*/
|
*/
|
||||||
|
|
||||||
}, {
|
}, {
|
||||||
|
@ -9346,9 +9346,9 @@ var SvgCanvas = (function () {
|
||||||
* an existing group element or, with three parameters, will create a new layer group element.
|
* an existing group element or, with three parameters, will create a new layer group element.
|
||||||
*
|
*
|
||||||
* @example
|
* @example
|
||||||
* new Layer('name', group); // Use the existing group for this layer.
|
* const l1 = new Layer('name', group); // Use the existing group for this layer.
|
||||||
* new Layer('name', group, svgElem); // Create a new group and add it to the DOM after group.
|
* const l2 = new Layer('name', group, svgElem); // Create a new group and add it to the DOM after group.
|
||||||
* new Layer('name', null, svgElem); // Create a new group and add it to the DOM as the last layer.
|
* const l3 = new Layer('name', null, svgElem); // Create a new group and add it to the DOM as the last layer.
|
||||||
* @memberof module:layer
|
* @memberof module:layer
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -92,7 +92,7 @@ export const canvg = function (target, s, opts) {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param {module:canvg.CanvgOptions} opts
|
* @param {module:canvg.CanvgOptions} opts
|
||||||
* @returns {Object}
|
* @returns {object}
|
||||||
* @todo Flesh out exactly what object is returned here (after updating to latest and reincluding our changes here and those of StackBlur)
|
* @todo Flesh out exactly what object is returned here (after updating to latest and reincluding our changes here and those of StackBlur)
|
||||||
*/
|
*/
|
||||||
function build (opts) {
|
function build (opts) {
|
||||||
|
@ -2599,7 +2599,7 @@ function build (opts) {
|
||||||
* @param {Float} width
|
* @param {Float} width
|
||||||
* @param {Float} height
|
* @param {Float} height
|
||||||
* @param {Integer} rgba
|
* @param {Integer} rgba
|
||||||
* @returns {void}
|
* @returns {Integer}
|
||||||
*/
|
*/
|
||||||
function imGet (img, x, y, width, height, rgba) {
|
function imGet (img, x, y, width, height, rgba) {
|
||||||
return img[y * width * 4 + x * 4 + rgba];
|
return img[y * width * 4 + x * 4 + rgba];
|
||||||
|
|
|
@ -93,7 +93,6 @@ function getMessageListener (t) {
|
||||||
* General usage:
|
* General usage:
|
||||||
* - Have an iframe somewhere pointing to a version of svg-edit > r1000.
|
* - Have an iframe somewhere pointing to a version of svg-edit > r1000.
|
||||||
* @example
|
* @example
|
||||||
|
|
||||||
// Initialize the magic with:
|
// Initialize the magic with:
|
||||||
const svgCanvas = new EmbeddedSVGEdit(window.frames.svgedit);
|
const svgCanvas = new EmbeddedSVGEdit(window.frames.svgedit);
|
||||||
|
|
||||||
|
@ -101,10 +100,10 @@ const svgCanvas = new EmbeddedSVGEdit(window.frames.svgedit);
|
||||||
svgCanvas.setSvgString('string');
|
svgCanvas.setSvgString('string');
|
||||||
|
|
||||||
// Or if a callback is needed:
|
// Or if a callback is needed:
|
||||||
svgCanvas.setSvgString('string')(function(data, error){
|
svgCanvas.setSvgString('string')(function (data, error) {
|
||||||
if (error){
|
if (error) {
|
||||||
// There was an error
|
// There was an error
|
||||||
} else{
|
} else {
|
||||||
// Handle data
|
// Handle data
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
@ -121,10 +120,12 @@ svgCanvas.setSvgString('string')(function(data, error){
|
||||||
// the SVG editor on the same domain and reference the
|
// the SVG editor on the same domain and reference the
|
||||||
// JavaScript methods on the frame itself.
|
// JavaScript methods on the frame itself.
|
||||||
|
|
||||||
// The only other difference is
|
// The only other difference is when handling returns:
|
||||||
// when handling returns: the callback notation is used instead.
|
// the callback notation is used instead.
|
||||||
const blah = new EmbeddedSVGEdit(window.frames.svgedit);
|
const blah = new EmbeddedSVGEdit(window.frames.svgedit);
|
||||||
blah.clearSelection('woot', 'blah', 1337, [1, 2, 3, 4, 5, 'moo'], -42, {a: 'tree',b:6, c: 9})(function(){console.log('GET DATA',arguments)})
|
blah.clearSelection('woot', 'blah', 1337, [1, 2, 3, 4, 5, 'moo'], -42, {
|
||||||
|
a: 'tree', b: 6, c: 9
|
||||||
|
})(function () { console.log('GET DATA', args); });
|
||||||
*
|
*
|
||||||
* @memberof module:EmbeddedSVGEdit
|
* @memberof module:EmbeddedSVGEdit
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -147,7 +147,7 @@ export default {
|
||||||
/**
|
/**
|
||||||
* @param {string} id
|
* @param {string} id
|
||||||
* @param {""|"\\nomarker"|"nomarker"|"leftarrow"|"rightarrow"|"textmarker"|"forwardslash"|"reverseslash"|"verticalslash"|"box"|"star"|"xmark"|"triangle"|"mcircle"} val
|
* @param {""|"\\nomarker"|"nomarker"|"leftarrow"|"rightarrow"|"textmarker"|"forwardslash"|"reverseslash"|"verticalslash"|"box"|"star"|"xmark"|"triangle"|"mcircle"} val
|
||||||
* @returns {void}
|
* @returns {SVGMarkerElement}
|
||||||
*/
|
*/
|
||||||
function addMarker (id, val) {
|
function addMarker (id, val) {
|
||||||
const txtBoxBg = '#ffffff';
|
const txtBoxBg = '#ffffff';
|
||||||
|
@ -443,7 +443,7 @@ export default {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param {"nomarker"|"leftarrow"|"rightarrow"|"textmarker"|"forwardslash"|"reverseslash"|"verticalslash"|"box"|"star"|"xmark"|"triangle"|"mcircle"} id
|
* @param {"nomarker"|"leftarrow"|"rightarrow"|"textmarker"|"forwardslash"|"reverseslash"|"verticalslash"|"box"|"star"|"xmark"|"triangle"|"mcircle"} id
|
||||||
* @returns {void}
|
* @returns {string}
|
||||||
*/
|
*/
|
||||||
function getTitle (id) {
|
function getTitle (id) {
|
||||||
const {langList} = strings;
|
const {langList} = strings;
|
||||||
|
|
|
@ -118,7 +118,7 @@ export default {
|
||||||
/**
|
/**
|
||||||
* @param {string} id
|
* @param {string} id
|
||||||
* @param {""|"\\nomarker"|"nomarker"|"leftarrow"|"rightarrow"|"textmarker"|"textmarker_top"|"textmarker_bottom"|"forwardslash"|"reverseslash"|"verticalslash"|"box"|"star"|"xmark"|"triangle"|"mcircle"} val
|
* @param {""|"\\nomarker"|"nomarker"|"leftarrow"|"rightarrow"|"textmarker"|"textmarker_top"|"textmarker_bottom"|"forwardslash"|"reverseslash"|"verticalslash"|"box"|"star"|"xmark"|"triangle"|"mcircle"} val
|
||||||
* @returns {void}
|
* @returns {SVGMarkerElement}
|
||||||
*/
|
*/
|
||||||
function addMarker (id, val) {
|
function addMarker (id, val) {
|
||||||
let marker = svgCanvas.getElem(id);
|
let marker = svgCanvas.getElem(id);
|
||||||
|
@ -251,7 +251,7 @@ export default {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param {"nomarker"|"leftarrow"|"rightarrow"|"textmarker"|"forwardslash"|"reverseslash"|"verticalslash"|"box"|"star"|"xmark"|"triangle"|"mcircle"} id
|
* @param {"nomarker"|"leftarrow"|"rightarrow"|"textmarker"|"forwardslash"|"reverseslash"|"verticalslash"|"box"|"star"|"xmark"|"triangle"|"mcircle"} id
|
||||||
* @returns {void}
|
* @returns {string}
|
||||||
*/
|
*/
|
||||||
function getTitle (id) {
|
function getTitle (id) {
|
||||||
const {langList} = strings;
|
const {langList} = strings;
|
||||||
|
|
|
@ -226,7 +226,7 @@ export default {
|
||||||
/**
|
/**
|
||||||
* Submit the form, empty its contents for reuse and show
|
* Submit the form, empty its contents for reuse and show
|
||||||
* uploading message.
|
* uploading message.
|
||||||
* @returns {void}
|
* @returns {Promise<void>}
|
||||||
*/
|
*/
|
||||||
async function submit () {
|
async function submit () {
|
||||||
// This submits the form, which returns the file data using `svgEditor.processFile()`
|
// This submits the form, which returns the file data using `svgEditor.processFile()`
|
||||||
|
|
|
@ -11,7 +11,7 @@ const jsVoid = 'javascript: void(0);'; // eslint-disable-line no-script-url
|
||||||
/**
|
/**
|
||||||
* Shows results after query submission.
|
* Shows results after query submission.
|
||||||
* @param {string} url
|
* @param {string} url
|
||||||
* @returns {void}
|
* @returns {Promise<void>}
|
||||||
*/
|
*/
|
||||||
async function processResults (url) {
|
async function processResults (url) {
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -17,9 +17,9 @@ const $ = jQuery;
|
||||||
* an existing group element or, with three parameters, will create a new layer group element.
|
* an existing group element or, with three parameters, will create a new layer group element.
|
||||||
*
|
*
|
||||||
* @example
|
* @example
|
||||||
* new Layer('name', group); // Use the existing group for this layer.
|
* const l1 = new Layer('name', group); // Use the existing group for this layer.
|
||||||
* new Layer('name', group, svgElem); // Create a new group and add it to the DOM after group.
|
* const l2 = new Layer('name', group, svgElem); // Create a new group and add it to the DOM after group.
|
||||||
* new Layer('name', null, svgElem); // Create a new group and add it to the DOM as the last layer.
|
* const l3 = new Layer('name', null, svgElem); // Create a new group and add it to the DOM as the last layer.
|
||||||
* @memberof module:layer
|
* @memberof module:layer
|
||||||
*/
|
*/
|
||||||
class Layer {
|
class Layer {
|
||||||
|
|
|
@ -1109,7 +1109,7 @@ export class Path {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param {Integer} y
|
* @param {Integer} y
|
||||||
* @returns {void}
|
* @returns {Path}
|
||||||
*/
|
*/
|
||||||
show (y) {
|
show (y) {
|
||||||
// Shows this path's segment grips
|
// Shows this path's segment grips
|
||||||
|
|
|
@ -644,7 +644,7 @@ editor.setCustomHandlers = function (opts) {
|
||||||
* @returns {void}
|
* @returns {void}
|
||||||
*/
|
*/
|
||||||
editor.randomizeIds = function (arg) {
|
editor.randomizeIds = function (arg) {
|
||||||
return svgCanvas.randomizeIds(arg);
|
svgCanvas.randomizeIds(arg);
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -2861,7 +2861,7 @@ editor.init = function () {
|
||||||
/**
|
/**
|
||||||
* Clicking the icon in flyout should set this set's icon.
|
* Clicking the icon in flyout should set this set's icon.
|
||||||
* @param {Event} ev
|
* @param {Event} ev
|
||||||
* @returns {void}
|
* @returns {boolean}
|
||||||
*/
|
*/
|
||||||
const flyoutAction = function (ev) {
|
const flyoutAction = function (ev) {
|
||||||
let options = opts;
|
let options = opts;
|
||||||
|
@ -2964,7 +2964,7 @@ editor.init = function () {
|
||||||
/**
|
/**
|
||||||
* @param {string} id
|
* @param {string} id
|
||||||
* @param {external:jQuery} child
|
* @param {external:jQuery} child
|
||||||
* @returns {void}
|
* @returns {external:jQuery}
|
||||||
*/
|
*/
|
||||||
const makeFlyoutHolder = function (id, child) {
|
const makeFlyoutHolder = function (id, child) {
|
||||||
const div = $('<div>', {
|
const div = $('<div>', {
|
||||||
|
@ -4824,7 +4824,7 @@ editor.init = function () {
|
||||||
/**
|
/**
|
||||||
* Save user preferences based on current values in the UI.
|
* Save user preferences based on current values in the UI.
|
||||||
* @function module:SVGEditor.savePreferences
|
* @function module:SVGEditor.savePreferences
|
||||||
* @returns {void}
|
* @returns {Promise<void>}
|
||||||
*/
|
*/
|
||||||
const savePreferences = editor.savePreferences = async function () {
|
const savePreferences = editor.savePreferences = async function () {
|
||||||
// Set background
|
// Set background
|
||||||
|
@ -5294,7 +5294,7 @@ editor.init = function () {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @returns {void}
|
* @returns {Promise<void>}
|
||||||
*/
|
*/
|
||||||
async function cloneLayer () {
|
async function cloneLayer () {
|
||||||
const name = svgCanvas.getCurrentDrawing().getCurrentLayerName() + ' copy';
|
const name = svgCanvas.getCurrentDrawing().getCurrentLayerName() + ' copy';
|
||||||
|
|
|
@ -26,10 +26,10 @@
|
||||||
* This should only be used for objects known to be potentially arbitrary in form.
|
* This should only be used for objects known to be potentially arbitrary in form.
|
||||||
* For those whose determination has not yet been made, simply use type `object`
|
* For those whose determination has not yet been made, simply use type `object`
|
||||||
* (or type `?` if it may also be a primitive).
|
* (or type `?` if it may also be a primitive).
|
||||||
* @typedef {Object} ArbitraryObject
|
* @typedef {object} ArbitraryObject
|
||||||
*/
|
*/
|
||||||
/**
|
/**
|
||||||
* @typedef {Object} ArbitraryModule
|
* @typedef {object} ArbitraryModule
|
||||||
*/
|
*/
|
||||||
/**
|
/**
|
||||||
* This should only be used for objects known to be potentially arbitrary in form,
|
* This should only be used for objects known to be potentially arbitrary in form,
|
||||||
|
|
|
@ -6076,7 +6076,7 @@
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* @param {Integer} y
|
* @param {Integer} y
|
||||||
* @returns {void}
|
* @returns {Path}
|
||||||
*/
|
*/
|
||||||
|
|
||||||
}, {
|
}, {
|
||||||
|
@ -9782,9 +9782,9 @@
|
||||||
* an existing group element or, with three parameters, will create a new layer group element.
|
* an existing group element or, with three parameters, will create a new layer group element.
|
||||||
*
|
*
|
||||||
* @example
|
* @example
|
||||||
* new Layer('name', group); // Use the existing group for this layer.
|
* const l1 = new Layer('name', group); // Use the existing group for this layer.
|
||||||
* new Layer('name', group, svgElem); // Create a new group and add it to the DOM after group.
|
* const l2 = new Layer('name', group, svgElem); // Create a new group and add it to the DOM after group.
|
||||||
* new Layer('name', null, svgElem); // Create a new group and add it to the DOM as the last layer.
|
* const l3 = new Layer('name', null, svgElem); // Create a new group and add it to the DOM as the last layer.
|
||||||
* @memberof module:layer
|
* @memberof module:layer
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -29152,8 +29152,9 @@
|
||||||
|
|
||||||
if (editor.storage && ( // Cookies do not have enough available memory to hold large documents
|
if (editor.storage && ( // Cookies do not have enough available memory to hold large documents
|
||||||
curConfig.forceStorage || !curConfig.noStorageOnLoad && document.cookie.match(/(?:^|;\s*)svgeditstore=prefsAndContent/))) {
|
curConfig.forceStorage || !curConfig.noStorageOnLoad && document.cookie.match(/(?:^|;\s*)svgeditstore=prefsAndContent/))) {
|
||||||
var name = 'svgedit-' + curConfig.canvasName;
|
var _name = 'svgedit-' + curConfig.canvasName;
|
||||||
var cached = editor.storage.getItem(name);
|
|
||||||
|
var cached = editor.storage.getItem(_name);
|
||||||
|
|
||||||
if (cached) {
|
if (cached) {
|
||||||
editor.loadFromString(cached);
|
editor.loadFromString(cached);
|
||||||
|
@ -29360,7 +29361,7 @@
|
||||||
|
|
||||||
|
|
||||||
editor.randomizeIds = function (arg) {
|
editor.randomizeIds = function (arg) {
|
||||||
return svgCanvas.randomizeIds(arg);
|
svgCanvas.randomizeIds(arg);
|
||||||
};
|
};
|
||||||
/**
|
/**
|
||||||
* Auto-run after a Promise microtask.
|
* Auto-run after a Promise microtask.
|
||||||
|
@ -29581,7 +29582,7 @@
|
||||||
var _ref6 = _asyncToGenerator(
|
var _ref6 = _asyncToGenerator(
|
||||||
/*#__PURE__*/
|
/*#__PURE__*/
|
||||||
regeneratorRuntime.mark(function _callee2(extname) {
|
regeneratorRuntime.mark(function _callee2(extname) {
|
||||||
var extName, url, imported, _imported$name, name, init, importLocale;
|
var extName, url, imported, _imported$name, _name2, init, importLocale;
|
||||||
|
|
||||||
return regeneratorRuntime.wrap(function _callee2$(_context2) {
|
return regeneratorRuntime.wrap(function _callee2$(_context2) {
|
||||||
while (1) {
|
while (1) {
|
||||||
|
@ -29615,12 +29616,12 @@
|
||||||
|
|
||||||
case 7:
|
case 7:
|
||||||
imported = _context2.sent;
|
imported = _context2.sent;
|
||||||
_imported$name = imported.name, name = _imported$name === void 0 ? extName[1] : _imported$name, init = imported.init;
|
_imported$name = imported.name, _name2 = _imported$name === void 0 ? extName[1] : _imported$name, init = imported.init;
|
||||||
importLocale = getImportLocale({
|
importLocale = getImportLocale({
|
||||||
defaultLang: langParam,
|
defaultLang: langParam,
|
||||||
defaultName: name
|
defaultName: _name2
|
||||||
});
|
});
|
||||||
return _context2.abrupt("return", editor.addExtension(name, init && init.bind(editor), {
|
return _context2.abrupt("return", editor.addExtension(_name2, init && init.bind(editor), {
|
||||||
$: $$b,
|
$: $$b,
|
||||||
importLocale: importLocale
|
importLocale: importLocale
|
||||||
}));
|
}));
|
||||||
|
@ -30426,12 +30427,13 @@
|
||||||
var layer = svgCanvas.getCurrentDrawing().getNumLayers(); // we get the layers in the reverse z-order (the layer rendered on top is listed first)
|
var layer = svgCanvas.getCurrentDrawing().getNumLayers(); // we get the layers in the reverse z-order (the layer rendered on top is listed first)
|
||||||
|
|
||||||
while (layer--) {
|
while (layer--) {
|
||||||
var name = drawing.getLayerName(layer);
|
var _name3 = drawing.getLayerName(layer);
|
||||||
var layerTr = $$b('<tr class="layer">').toggleClass('layersel', name === currentLayerName);
|
|
||||||
var layerVis = $$b('<td class="layervis">').toggleClass('layerinvis', !drawing.getLayerVisibility(name));
|
var layerTr = $$b('<tr class="layer">').toggleClass('layersel', _name3 === currentLayerName);
|
||||||
var layerName = $$b('<td class="layername">' + name + '</td>');
|
var layerVis = $$b('<td class="layervis">').toggleClass('layerinvis', !drawing.getLayerVisibility(_name3));
|
||||||
|
var layerName = $$b('<td class="layername">' + _name3 + '</td>');
|
||||||
layerlist.append(layerTr.append(layerVis, layerName));
|
layerlist.append(layerTr.append(layerVis, layerName));
|
||||||
selLayerNames.append('<option value="' + name + '">' + name + '</option>');
|
selLayerNames.append('<option value="' + _name3 + '">' + _name3 + '</option>');
|
||||||
}
|
}
|
||||||
|
|
||||||
if (icon !== undefined) {
|
if (icon !== undefined) {
|
||||||
|
@ -31801,7 +31803,7 @@
|
||||||
/**
|
/**
|
||||||
* Clicking the icon in flyout should set this set's icon.
|
* Clicking the icon in flyout should set this set's icon.
|
||||||
* @param {Event} ev
|
* @param {Event} ev
|
||||||
* @returns {void}
|
* @returns {boolean}
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
@ -31919,7 +31921,7 @@
|
||||||
/**
|
/**
|
||||||
* @param {string} id
|
* @param {string} id
|
||||||
* @param {external:jQuery} child
|
* @param {external:jQuery} child
|
||||||
* @returns {void}
|
* @returns {external:jQuery}
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
@ -34152,7 +34154,7 @@
|
||||||
/**
|
/**
|
||||||
* Save user preferences based on current values in the UI.
|
* Save user preferences based on current values in the UI.
|
||||||
* @function module:SVGEditor.savePreferences
|
* @function module:SVGEditor.savePreferences
|
||||||
* @returns {void}
|
* @returns {Promise<void>}
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
@ -34733,7 +34735,7 @@
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @returns {void}
|
* @returns {Promise<void>}
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -90,8 +90,8 @@ function reduceFalseMatches (file, res) {
|
||||||
return ![
|
return ![
|
||||||
'* @typedef {number} Float',
|
'* @typedef {number} Float',
|
||||||
'* @typedef {*} ArbitraryCallbackResult',
|
'* @typedef {*} ArbitraryCallbackResult',
|
||||||
'* @typedef {Object} ArbitraryObject',
|
'* @typedef {object} ArbitraryObject',
|
||||||
'* @typedef {Object} ArbitraryModule',
|
'* @typedef {object} ArbitraryModule',
|
||||||
'* @typedef {Array} GenericArray',
|
'* @typedef {Array} GenericArray',
|
||||||
'* @typedef {*} Any',
|
'* @typedef {*} Any',
|
||||||
'* @param {...*} args Signature dependent on the function'
|
'* @param {...*} args Signature dependent on the function'
|
||||||
|
|
|
@ -14,17 +14,17 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"@babel/core": {
|
"@babel/core": {
|
||||||
"version": "7.4.4",
|
"version": "7.4.5",
|
||||||
"resolved": "https://registry.npmjs.org/@babel/core/-/core-7.4.4.tgz",
|
"resolved": "https://registry.npmjs.org/@babel/core/-/core-7.4.5.tgz",
|
||||||
"integrity": "sha512-lQgGX3FPRgbz2SKmhMtYgJvVzGZrmjaF4apZ2bLwofAKiSjxU0drPh4S/VasyYXwaTs+A1gvQ45BN8SQJzHsQQ==",
|
"integrity": "sha512-OvjIh6aqXtlsA8ujtGKfC7LYWksYSX8yQcM8Ay3LuvVeQ63lcOKgoZWVqcpFwkd29aYU9rVx7jxhfhiEDV9MZA==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"requires": {
|
"requires": {
|
||||||
"@babel/code-frame": "^7.0.0",
|
"@babel/code-frame": "^7.0.0",
|
||||||
"@babel/generator": "^7.4.4",
|
"@babel/generator": "^7.4.4",
|
||||||
"@babel/helpers": "^7.4.4",
|
"@babel/helpers": "^7.4.4",
|
||||||
"@babel/parser": "^7.4.4",
|
"@babel/parser": "^7.4.5",
|
||||||
"@babel/template": "^7.4.4",
|
"@babel/template": "^7.4.4",
|
||||||
"@babel/traverse": "^7.4.4",
|
"@babel/traverse": "^7.4.5",
|
||||||
"@babel/types": "^7.4.4",
|
"@babel/types": "^7.4.4",
|
||||||
"convert-source-map": "^1.1.0",
|
"convert-source-map": "^1.1.0",
|
||||||
"debug": "^4.1.0",
|
"debug": "^4.1.0",
|
||||||
|
@ -58,9 +58,9 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"@babel/parser": {
|
"@babel/parser": {
|
||||||
"version": "7.4.4",
|
"version": "7.4.5",
|
||||||
"resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.4.4.tgz",
|
"resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.4.5.tgz",
|
||||||
"integrity": "sha512-5pCS4mOsL+ANsFZGdvNLybx4wtqAZJ0MJjMHxvzI3bvIsz6sQvzW8XX92EYIkiPtIvcfG3Aj+Ir5VNyjnZhP7w==",
|
"integrity": "sha512-9mUqkL1FF5T7f0WDFfAoDdiMVPWsdD1gZYzSnaXsxUCUqzuch/8of9G3VUSNiZmMBoRxT3neyVsqeiL/ZPcjew==",
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"@babel/template": {
|
"@babel/template": {
|
||||||
|
@ -75,16 +75,16 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"@babel/traverse": {
|
"@babel/traverse": {
|
||||||
"version": "7.4.4",
|
"version": "7.4.5",
|
||||||
"resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.4.4.tgz",
|
"resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.4.5.tgz",
|
||||||
"integrity": "sha512-Gw6qqkw/e6AGzlyj9KnkabJX7VcubqPtkUQVAwkc0wUMldr3A/hezNB3Rc5eIvId95iSGkGIOe5hh1kMKf951A==",
|
"integrity": "sha512-Vc+qjynwkjRmIFGxy0KYoPj4FdVDxLej89kMHFsWScq999uX+pwcX4v9mWRjW0KcAYTPAuVQl2LKP1wEVLsp+A==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"requires": {
|
"requires": {
|
||||||
"@babel/code-frame": "^7.0.0",
|
"@babel/code-frame": "^7.0.0",
|
||||||
"@babel/generator": "^7.4.4",
|
"@babel/generator": "^7.4.4",
|
||||||
"@babel/helper-function-name": "^7.1.0",
|
"@babel/helper-function-name": "^7.1.0",
|
||||||
"@babel/helper-split-export-declaration": "^7.4.4",
|
"@babel/helper-split-export-declaration": "^7.4.4",
|
||||||
"@babel/parser": "^7.4.4",
|
"@babel/parser": "^7.4.5",
|
||||||
"@babel/types": "^7.4.4",
|
"@babel/types": "^7.4.4",
|
||||||
"debug": "^4.1.0",
|
"debug": "^4.1.0",
|
||||||
"globals": "^11.1.0",
|
"globals": "^11.1.0",
|
||||||
|
@ -192,22 +192,22 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"@babel/parser": {
|
"@babel/parser": {
|
||||||
"version": "7.4.4",
|
"version": "7.4.5",
|
||||||
"resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.4.4.tgz",
|
"resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.4.5.tgz",
|
||||||
"integrity": "sha512-5pCS4mOsL+ANsFZGdvNLybx4wtqAZJ0MJjMHxvzI3bvIsz6sQvzW8XX92EYIkiPtIvcfG3Aj+Ir5VNyjnZhP7w==",
|
"integrity": "sha512-9mUqkL1FF5T7f0WDFfAoDdiMVPWsdD1gZYzSnaXsxUCUqzuch/8of9G3VUSNiZmMBoRxT3neyVsqeiL/ZPcjew==",
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"@babel/traverse": {
|
"@babel/traverse": {
|
||||||
"version": "7.4.4",
|
"version": "7.4.5",
|
||||||
"resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.4.4.tgz",
|
"resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.4.5.tgz",
|
||||||
"integrity": "sha512-Gw6qqkw/e6AGzlyj9KnkabJX7VcubqPtkUQVAwkc0wUMldr3A/hezNB3Rc5eIvId95iSGkGIOe5hh1kMKf951A==",
|
"integrity": "sha512-Vc+qjynwkjRmIFGxy0KYoPj4FdVDxLej89kMHFsWScq999uX+pwcX4v9mWRjW0KcAYTPAuVQl2LKP1wEVLsp+A==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"requires": {
|
"requires": {
|
||||||
"@babel/code-frame": "^7.0.0",
|
"@babel/code-frame": "^7.0.0",
|
||||||
"@babel/generator": "^7.4.4",
|
"@babel/generator": "^7.4.4",
|
||||||
"@babel/helper-function-name": "^7.1.0",
|
"@babel/helper-function-name": "^7.1.0",
|
||||||
"@babel/helper-split-export-declaration": "^7.4.4",
|
"@babel/helper-split-export-declaration": "^7.4.4",
|
||||||
"@babel/parser": "^7.4.4",
|
"@babel/parser": "^7.4.5",
|
||||||
"@babel/types": "^7.4.4",
|
"@babel/types": "^7.4.4",
|
||||||
"debug": "^4.1.0",
|
"debug": "^4.1.0",
|
||||||
"globals": "^11.1.0",
|
"globals": "^11.1.0",
|
||||||
|
@ -455,22 +455,22 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"@babel/parser": {
|
"@babel/parser": {
|
||||||
"version": "7.4.4",
|
"version": "7.4.5",
|
||||||
"resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.4.4.tgz",
|
"resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.4.5.tgz",
|
||||||
"integrity": "sha512-5pCS4mOsL+ANsFZGdvNLybx4wtqAZJ0MJjMHxvzI3bvIsz6sQvzW8XX92EYIkiPtIvcfG3Aj+Ir5VNyjnZhP7w==",
|
"integrity": "sha512-9mUqkL1FF5T7f0WDFfAoDdiMVPWsdD1gZYzSnaXsxUCUqzuch/8of9G3VUSNiZmMBoRxT3neyVsqeiL/ZPcjew==",
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"@babel/traverse": {
|
"@babel/traverse": {
|
||||||
"version": "7.4.4",
|
"version": "7.4.5",
|
||||||
"resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.4.4.tgz",
|
"resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.4.5.tgz",
|
||||||
"integrity": "sha512-Gw6qqkw/e6AGzlyj9KnkabJX7VcubqPtkUQVAwkc0wUMldr3A/hezNB3Rc5eIvId95iSGkGIOe5hh1kMKf951A==",
|
"integrity": "sha512-Vc+qjynwkjRmIFGxy0KYoPj4FdVDxLej89kMHFsWScq999uX+pwcX4v9mWRjW0KcAYTPAuVQl2LKP1wEVLsp+A==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"requires": {
|
"requires": {
|
||||||
"@babel/code-frame": "^7.0.0",
|
"@babel/code-frame": "^7.0.0",
|
||||||
"@babel/generator": "^7.4.4",
|
"@babel/generator": "^7.4.4",
|
||||||
"@babel/helper-function-name": "^7.1.0",
|
"@babel/helper-function-name": "^7.1.0",
|
||||||
"@babel/helper-split-export-declaration": "^7.4.4",
|
"@babel/helper-split-export-declaration": "^7.4.4",
|
||||||
"@babel/parser": "^7.4.4",
|
"@babel/parser": "^7.4.5",
|
||||||
"@babel/types": "^7.4.4",
|
"@babel/types": "^7.4.4",
|
||||||
"debug": "^4.1.0",
|
"debug": "^4.1.0",
|
||||||
"globals": "^11.1.0",
|
"globals": "^11.1.0",
|
||||||
|
@ -577,9 +577,9 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"@babel/parser": {
|
"@babel/parser": {
|
||||||
"version": "7.4.4",
|
"version": "7.4.5",
|
||||||
"resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.4.4.tgz",
|
"resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.4.5.tgz",
|
||||||
"integrity": "sha512-5pCS4mOsL+ANsFZGdvNLybx4wtqAZJ0MJjMHxvzI3bvIsz6sQvzW8XX92EYIkiPtIvcfG3Aj+Ir5VNyjnZhP7w==",
|
"integrity": "sha512-9mUqkL1FF5T7f0WDFfAoDdiMVPWsdD1gZYzSnaXsxUCUqzuch/8of9G3VUSNiZmMBoRxT3neyVsqeiL/ZPcjew==",
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"@babel/template": {
|
"@babel/template": {
|
||||||
|
@ -594,16 +594,16 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"@babel/traverse": {
|
"@babel/traverse": {
|
||||||
"version": "7.4.4",
|
"version": "7.4.5",
|
||||||
"resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.4.4.tgz",
|
"resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.4.5.tgz",
|
||||||
"integrity": "sha512-Gw6qqkw/e6AGzlyj9KnkabJX7VcubqPtkUQVAwkc0wUMldr3A/hezNB3Rc5eIvId95iSGkGIOe5hh1kMKf951A==",
|
"integrity": "sha512-Vc+qjynwkjRmIFGxy0KYoPj4FdVDxLej89kMHFsWScq999uX+pwcX4v9mWRjW0KcAYTPAuVQl2LKP1wEVLsp+A==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"requires": {
|
"requires": {
|
||||||
"@babel/code-frame": "^7.0.0",
|
"@babel/code-frame": "^7.0.0",
|
||||||
"@babel/generator": "^7.4.4",
|
"@babel/generator": "^7.4.4",
|
||||||
"@babel/helper-function-name": "^7.1.0",
|
"@babel/helper-function-name": "^7.1.0",
|
||||||
"@babel/helper-split-export-declaration": "^7.4.4",
|
"@babel/helper-split-export-declaration": "^7.4.4",
|
||||||
"@babel/parser": "^7.4.4",
|
"@babel/parser": "^7.4.5",
|
||||||
"@babel/types": "^7.4.4",
|
"@babel/types": "^7.4.4",
|
||||||
"debug": "^4.1.0",
|
"debug": "^4.1.0",
|
||||||
"globals": "^11.1.0",
|
"globals": "^11.1.0",
|
||||||
|
@ -644,15 +644,16 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"@babel/node": {
|
"@babel/node": {
|
||||||
"version": "7.2.2",
|
"version": "7.4.5",
|
||||||
"resolved": "https://registry.npmjs.org/@babel/node/-/node-7.2.2.tgz",
|
"resolved": "https://registry.npmjs.org/@babel/node/-/node-7.4.5.tgz",
|
||||||
"integrity": "sha512-jPqgTycE26uFsuWpLika9Ohz9dmLQHWjOnMNxBOjYb1HXO+eLKxEr5FfKSXH/tBvFwwaw+pzke3gagnurGOfCA==",
|
"integrity": "sha512-nDXPT0KwYMycDHhFG9wKlkipCR+iXzzoX9bD2aF2UABLhQ13AKhNi5Y61W8ASGPPll/7p9GrHesmlOgTUJVcfw==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"requires": {
|
"requires": {
|
||||||
"@babel/polyfill": "^7.0.0",
|
"@babel/polyfill": "^7.0.0",
|
||||||
"@babel/register": "^7.0.0",
|
"@babel/register": "^7.0.0",
|
||||||
"commander": "^2.8.1",
|
"commander": "^2.8.1",
|
||||||
"lodash": "^4.17.10",
|
"lodash": "^4.17.11",
|
||||||
|
"node-environment-flags": "^1.0.5",
|
||||||
"v8flags": "^3.1.1"
|
"v8flags": "^3.1.1"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -954,12 +955,20 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"@babel/plugin-transform-named-capturing-groups-regex": {
|
"@babel/plugin-transform-named-capturing-groups-regex": {
|
||||||
"version": "7.4.4",
|
"version": "7.4.5",
|
||||||
"resolved": "https://registry.npmjs.org/@babel/plugin-transform-named-capturing-groups-regex/-/plugin-transform-named-capturing-groups-regex-7.4.4.tgz",
|
"resolved": "https://registry.npmjs.org/@babel/plugin-transform-named-capturing-groups-regex/-/plugin-transform-named-capturing-groups-regex-7.4.5.tgz",
|
||||||
"integrity": "sha512-Ki+Y9nXBlKfhD+LXaRS7v95TtTGYRAf9Y1rTDiE75zf8YQz4GDaWRXosMfJBXxnk88mGFjWdCRIeqDbon7spYA==",
|
"integrity": "sha512-z7+2IsWafTBbjNsOxU/Iv5CvTJlr5w4+HGu1HovKYTtgJ362f7kBcQglkfmlspKKZ3bgrbSGvLfNx++ZJgCWsg==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"requires": {
|
"requires": {
|
||||||
"regexp-tree": "^0.1.0"
|
"regexp-tree": "^0.1.6"
|
||||||
|
},
|
||||||
|
"dependencies": {
|
||||||
|
"regexp-tree": {
|
||||||
|
"version": "0.1.10",
|
||||||
|
"resolved": "https://registry.npmjs.org/regexp-tree/-/regexp-tree-0.1.10.tgz",
|
||||||
|
"integrity": "sha512-K1qVSbcedffwuIslMwpe6vGlj+ZXRnGkvjAtFHfDZZZuEdA/h0dxljAPu9vhUo6Rrx2U2AwJ+nSQ6hK+lrP5MQ==",
|
||||||
|
"dev": true
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"@babel/plugin-transform-new-target": {
|
"@babel/plugin-transform-new-target": {
|
||||||
|
@ -1002,12 +1011,12 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"@babel/plugin-transform-regenerator": {
|
"@babel/plugin-transform-regenerator": {
|
||||||
"version": "7.4.4",
|
"version": "7.4.5",
|
||||||
"resolved": "https://registry.npmjs.org/@babel/plugin-transform-regenerator/-/plugin-transform-regenerator-7.4.4.tgz",
|
"resolved": "https://registry.npmjs.org/@babel/plugin-transform-regenerator/-/plugin-transform-regenerator-7.4.5.tgz",
|
||||||
"integrity": "sha512-Zz3w+pX1SI0KMIiqshFZkwnVGUhDZzpX2vtPzfJBKQQq8WsP/Xy9DNdELWivxcKOCX/Pywge4SiEaPaLtoDT4g==",
|
"integrity": "sha512-gBKRh5qAaCWntnd09S8QC7r3auLCqq5DI6O0DlfoyDjslSBVqBibrMdsqO+Uhmx3+BlOmE/Kw1HFxmGbv0N9dA==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"requires": {
|
"requires": {
|
||||||
"regenerator-transform": "^0.13.4"
|
"regenerator-transform": "^0.14.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"@babel/plugin-transform-reserved-words": {
|
"@babel/plugin-transform-reserved-words": {
|
||||||
|
@ -1088,9 +1097,9 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"@babel/preset-env": {
|
"@babel/preset-env": {
|
||||||
"version": "7.4.4",
|
"version": "7.4.5",
|
||||||
"resolved": "https://registry.npmjs.org/@babel/preset-env/-/preset-env-7.4.4.tgz",
|
"resolved": "https://registry.npmjs.org/@babel/preset-env/-/preset-env-7.4.5.tgz",
|
||||||
"integrity": "sha512-FU1H+ACWqZZqfw1x2G1tgtSSYSfxJLkpaUQL37CenULFARDo+h4xJoVHzRoHbK+85ViLciuI7ME4WTIhFRBBlw==",
|
"integrity": "sha512-f2yNVXM+FsR5V8UwcFeIHzHWgnhXg3NpRmy0ADvALpnhB0SLbCvrCRr4BLOUYbQNLS+Z0Yer46x9dJXpXewI7w==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"requires": {
|
"requires": {
|
||||||
"@babel/helper-module-imports": "^7.0.0",
|
"@babel/helper-module-imports": "^7.0.0",
|
||||||
|
@ -1122,12 +1131,12 @@
|
||||||
"@babel/plugin-transform-modules-commonjs": "^7.4.4",
|
"@babel/plugin-transform-modules-commonjs": "^7.4.4",
|
||||||
"@babel/plugin-transform-modules-systemjs": "^7.4.4",
|
"@babel/plugin-transform-modules-systemjs": "^7.4.4",
|
||||||
"@babel/plugin-transform-modules-umd": "^7.2.0",
|
"@babel/plugin-transform-modules-umd": "^7.2.0",
|
||||||
"@babel/plugin-transform-named-capturing-groups-regex": "^7.4.4",
|
"@babel/plugin-transform-named-capturing-groups-regex": "^7.4.5",
|
||||||
"@babel/plugin-transform-new-target": "^7.4.4",
|
"@babel/plugin-transform-new-target": "^7.4.4",
|
||||||
"@babel/plugin-transform-object-super": "^7.2.0",
|
"@babel/plugin-transform-object-super": "^7.2.0",
|
||||||
"@babel/plugin-transform-parameters": "^7.4.4",
|
"@babel/plugin-transform-parameters": "^7.4.4",
|
||||||
"@babel/plugin-transform-property-literals": "^7.2.0",
|
"@babel/plugin-transform-property-literals": "^7.2.0",
|
||||||
"@babel/plugin-transform-regenerator": "^7.4.4",
|
"@babel/plugin-transform-regenerator": "^7.4.5",
|
||||||
"@babel/plugin-transform-reserved-words": "^7.2.0",
|
"@babel/plugin-transform-reserved-words": "^7.2.0",
|
||||||
"@babel/plugin-transform-shorthand-properties": "^7.2.0",
|
"@babel/plugin-transform-shorthand-properties": "^7.2.0",
|
||||||
"@babel/plugin-transform-spread": "^7.2.0",
|
"@babel/plugin-transform-spread": "^7.2.0",
|
||||||
|
@ -1136,8 +1145,8 @@
|
||||||
"@babel/plugin-transform-typeof-symbol": "^7.2.0",
|
"@babel/plugin-transform-typeof-symbol": "^7.2.0",
|
||||||
"@babel/plugin-transform-unicode-regex": "^7.4.4",
|
"@babel/plugin-transform-unicode-regex": "^7.4.4",
|
||||||
"@babel/types": "^7.4.4",
|
"@babel/types": "^7.4.4",
|
||||||
"browserslist": "^4.5.2",
|
"browserslist": "^4.6.0",
|
||||||
"core-js-compat": "^3.0.0",
|
"core-js-compat": "^3.1.1",
|
||||||
"invariant": "^2.2.2",
|
"invariant": "^2.2.2",
|
||||||
"js-levenshtein": "^1.1.3",
|
"js-levenshtein": "^1.1.3",
|
||||||
"semver": "^5.5.0"
|
"semver": "^5.5.0"
|
||||||
|
@ -1153,22 +1162,61 @@
|
||||||
"lodash": "^4.17.11",
|
"lodash": "^4.17.11",
|
||||||
"to-fast-properties": "^2.0.0"
|
"to-fast-properties": "^2.0.0"
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"browserslist": {
|
||||||
|
"version": "4.6.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.6.0.tgz",
|
||||||
|
"integrity": "sha512-Jk0YFwXBuMOOol8n6FhgkDzn3mY9PYLYGk29zybF05SbRTsMgPqmTNeQQhOghCxq5oFqAXE3u4sYddr4C0uRhg==",
|
||||||
|
"dev": true,
|
||||||
|
"requires": {
|
||||||
|
"caniuse-lite": "^1.0.30000967",
|
||||||
|
"electron-to-chromium": "^1.3.133",
|
||||||
|
"node-releases": "^1.1.19"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"caniuse-lite": {
|
||||||
|
"version": "1.0.30000971",
|
||||||
|
"resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30000971.tgz",
|
||||||
|
"integrity": "sha512-TQFYFhRS0O5rdsmSbF1Wn+16latXYsQJat66f7S7lizXW1PVpWJeZw9wqqVLIjuxDRz7s7xRUj13QCfd8hKn6g==",
|
||||||
|
"dev": true
|
||||||
|
},
|
||||||
|
"electron-to-chromium": {
|
||||||
|
"version": "1.3.136",
|
||||||
|
"resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.136.tgz",
|
||||||
|
"integrity": "sha512-xHkYkbEi4kI+2w5v6yBGCQTRXL7N0PWscygTFZu/1bArnPSo2WR9xjdw4m06RR4J5PncrWJcuOVv+MAG2mK5JQ==",
|
||||||
|
"dev": true
|
||||||
|
},
|
||||||
|
"node-releases": {
|
||||||
|
"version": "1.1.20",
|
||||||
|
"resolved": "https://registry.npmjs.org/node-releases/-/node-releases-1.1.20.tgz",
|
||||||
|
"integrity": "sha512-YnC3NemTLgzOkQTmR4+0yl/7pIsXZcfWXoquNp0Dql03GQ+CYURhnjUDFsSJxpX/Q9nw8lAjLFdnACQoKs6h5w==",
|
||||||
|
"dev": true,
|
||||||
|
"requires": {
|
||||||
|
"semver": "^5.3.0"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"@babel/register": {
|
"@babel/register": {
|
||||||
"version": "7.0.0",
|
"version": "7.4.4",
|
||||||
"resolved": "https://registry.npmjs.org/@babel/register/-/register-7.0.0.tgz",
|
"resolved": "https://registry.npmjs.org/@babel/register/-/register-7.4.4.tgz",
|
||||||
"integrity": "sha512-f/+CRmaCe7rVEvcvPvxeA8j5aJhHC3aJie7YuqcMDhUOuyWLA7J/aNrTaHIzoWPEhpHA54mec4Mm8fv8KBlv3g==",
|
"integrity": "sha512-sn51H88GRa00+ZoMqCVgOphmswG4b7mhf9VOB0LUBAieykq2GnRFerlN+JQkO/ntT7wz4jaHNSRPg9IdMPEUkA==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"requires": {
|
"requires": {
|
||||||
"core-js": "^2.5.7",
|
"core-js": "^3.0.0",
|
||||||
"find-cache-dir": "^1.0.0",
|
"find-cache-dir": "^2.0.0",
|
||||||
"home-or-tmp": "^3.0.0",
|
"lodash": "^4.17.11",
|
||||||
"lodash": "^4.17.10",
|
|
||||||
"mkdirp": "^0.5.1",
|
"mkdirp": "^0.5.1",
|
||||||
"pirates": "^4.0.0",
|
"pirates": "^4.0.0",
|
||||||
"source-map-support": "^0.5.9"
|
"source-map-support": "^0.5.9"
|
||||||
|
},
|
||||||
|
"dependencies": {
|
||||||
|
"core-js": {
|
||||||
|
"version": "3.1.2",
|
||||||
|
"resolved": "https://registry.npmjs.org/core-js/-/core-js-3.1.2.tgz",
|
||||||
|
"integrity": "sha512-3poRGjbu56leCtZCZCzCgQ7GcKOflDFnjWIepaPFUsM0IXUBrne10sl3aa2Bkcz3+FjRdIxBe9dAMhIJmEnQNA==",
|
||||||
|
"dev": true
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"@babel/runtime": {
|
"@babel/runtime": {
|
||||||
|
@ -3325,44 +3373,49 @@
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"core-js-bundle": {
|
"core-js-bundle": {
|
||||||
"version": "3.1.1",
|
"version": "3.1.2",
|
||||||
"resolved": "https://registry.npmjs.org/core-js-bundle/-/core-js-bundle-3.1.1.tgz",
|
"resolved": "https://registry.npmjs.org/core-js-bundle/-/core-js-bundle-3.1.2.tgz",
|
||||||
"integrity": "sha512-1V4gR+n2H8KCKyBUjJl7FIZIIF/TreqPerSxoFo/iY9iJyqVOOg0QnkxQdRaZKbre+XT/be3+9rvHoc7u2blmg==",
|
"integrity": "sha512-aCCJ++1ye48FGbJGTqD1Zx+N2WVbfwP1DxKEqVRX3b0lMxLdH4C+eAMtSQAMojiOhw2tkZJIWHP+APRFW/mNiw==",
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"core-js-compat": {
|
"core-js-compat": {
|
||||||
"version": "3.0.1",
|
"version": "3.1.2",
|
||||||
"resolved": "https://registry.npmjs.org/core-js-compat/-/core-js-compat-3.0.1.tgz",
|
"resolved": "https://registry.npmjs.org/core-js-compat/-/core-js-compat-3.1.2.tgz",
|
||||||
"integrity": "sha512-2pC3e+Ht/1/gD7Sim/sqzvRplMiRnFQVlPpDVaHtY9l7zZP7knamr3VRD6NyGfHd84MrDC0tAM9ulNxYMW0T3g==",
|
"integrity": "sha512-X0Ch5f6itrHxhg5HSJucX6nNLNAGr+jq+biBh6nPGc3YAWz2a8p/ZIZY8cUkDzSRNG54omAuu3hoEF8qZbu/6Q==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"requires": {
|
"requires": {
|
||||||
"browserslist": "^4.5.4",
|
"browserslist": "^4.6.0",
|
||||||
"core-js": "3.0.1",
|
"core-js-pure": "3.1.2",
|
||||||
"core-js-pure": "3.0.1",
|
|
||||||
"semver": "^6.0.0"
|
"semver": "^6.0.0"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"browserslist": {
|
"browserslist": {
|
||||||
"version": "4.5.5",
|
"version": "4.6.0",
|
||||||
"resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.5.5.tgz",
|
"resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.6.0.tgz",
|
||||||
"integrity": "sha512-0QFO1r/2c792Ohkit5XI8Cm8pDtZxgNl2H6HU4mHrpYz7314pEYcsAVVatM0l/YmxPnEzh9VygXouj4gkFUTKA==",
|
"integrity": "sha512-Jk0YFwXBuMOOol8n6FhgkDzn3mY9PYLYGk29zybF05SbRTsMgPqmTNeQQhOghCxq5oFqAXE3u4sYddr4C0uRhg==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"requires": {
|
"requires": {
|
||||||
"caniuse-lite": "^1.0.30000960",
|
"caniuse-lite": "^1.0.30000967",
|
||||||
"electron-to-chromium": "^1.3.124",
|
"electron-to-chromium": "^1.3.133",
|
||||||
"node-releases": "^1.1.14"
|
"node-releases": "^1.1.19"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"core-js": {
|
"caniuse-lite": {
|
||||||
"version": "3.0.1",
|
"version": "1.0.30000971",
|
||||||
"resolved": "https://registry.npmjs.org/core-js/-/core-js-3.0.1.tgz",
|
"resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30000971.tgz",
|
||||||
"integrity": "sha512-sco40rF+2KlE0ROMvydjkrVMMG1vYilP2ALoRXcYR4obqbYIuV3Bg+51GEDW+HF8n7NRA+iaA4qD0nD9lo9mew==",
|
"integrity": "sha512-TQFYFhRS0O5rdsmSbF1Wn+16latXYsQJat66f7S7lizXW1PVpWJeZw9wqqVLIjuxDRz7s7xRUj13QCfd8hKn6g==",
|
||||||
|
"dev": true
|
||||||
|
},
|
||||||
|
"electron-to-chromium": {
|
||||||
|
"version": "1.3.136",
|
||||||
|
"resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.136.tgz",
|
||||||
|
"integrity": "sha512-xHkYkbEi4kI+2w5v6yBGCQTRXL7N0PWscygTFZu/1bArnPSo2WR9xjdw4m06RR4J5PncrWJcuOVv+MAG2mK5JQ==",
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"node-releases": {
|
"node-releases": {
|
||||||
"version": "1.1.17",
|
"version": "1.1.20",
|
||||||
"resolved": "https://registry.npmjs.org/node-releases/-/node-releases-1.1.17.tgz",
|
"resolved": "https://registry.npmjs.org/node-releases/-/node-releases-1.1.20.tgz",
|
||||||
"integrity": "sha512-/SCjetyta1m7YXLgtACZGDYJdCSIBAWorDWkGCGZlydP2Ll7J48l7j/JxNYZ+xsgSPbWfdulVS/aY+GdjUsQ7Q==",
|
"integrity": "sha512-YnC3NemTLgzOkQTmR4+0yl/7pIsXZcfWXoquNp0Dql03GQ+CYURhnjUDFsSJxpX/Q9nw8lAjLFdnACQoKs6h5w==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"requires": {
|
"requires": {
|
||||||
"semver": "^5.3.0"
|
"semver": "^5.3.0"
|
||||||
|
@ -3385,9 +3438,9 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"core-js-pure": {
|
"core-js-pure": {
|
||||||
"version": "3.0.1",
|
"version": "3.1.2",
|
||||||
"resolved": "https://registry.npmjs.org/core-js-pure/-/core-js-pure-3.0.1.tgz",
|
"resolved": "https://registry.npmjs.org/core-js-pure/-/core-js-pure-3.1.2.tgz",
|
||||||
"integrity": "sha512-mSxeQ6IghKW3MoyF4cz19GJ1cMm7761ON+WObSyLfTu/Jn3x7w4NwNFnrZxgl4MTSvYYepVLNuRtlB4loMwJ5g==",
|
"integrity": "sha512-5ckIdBF26B3ldK9PM177y2ZcATP2oweam9RskHSoqfZCrJ2As6wVg8zJ1zTriFsZf6clj/N1ThDFRGaomMsh9w==",
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"core-util-is": {
|
"core-util-is": {
|
||||||
|
@ -4125,9 +4178,9 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"eslint-plugin-jsdoc": {
|
"eslint-plugin-jsdoc": {
|
||||||
"version": "5.0.2",
|
"version": "6.0.2",
|
||||||
"resolved": "https://registry.npmjs.org/eslint-plugin-jsdoc/-/eslint-plugin-jsdoc-5.0.2.tgz",
|
"resolved": "https://registry.npmjs.org/eslint-plugin-jsdoc/-/eslint-plugin-jsdoc-6.0.2.tgz",
|
||||||
"integrity": "sha512-ACSu4NEEG5KZK7liCZz9jm5f5hFHcCL29zsN0RTixIZe1kuZOVO3oVbvnpe6o/U/3h9dMLJ42Yhe6umBS6aO7A==",
|
"integrity": "sha512-cW1LMP8AWKdy6qPUXSgx1GfwNGQoroCSUeXkz7VBuavPsvKk4UvCY3pBUhcPRWvmc9MydTco+vqfj+/KBCysaQ==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"requires": {
|
"requires": {
|
||||||
"comment-parser": "^0.5.4",
|
"comment-parser": "^0.5.4",
|
||||||
|
@ -4671,14 +4724,84 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"find-cache-dir": {
|
"find-cache-dir": {
|
||||||
"version": "1.0.0",
|
"version": "2.1.0",
|
||||||
"resolved": "https://registry.npmjs.org/find-cache-dir/-/find-cache-dir-1.0.0.tgz",
|
"resolved": "https://registry.npmjs.org/find-cache-dir/-/find-cache-dir-2.1.0.tgz",
|
||||||
"integrity": "sha1-kojj6ePMN0hxfTnq3hfPcfww7m8=",
|
"integrity": "sha512-Tq6PixE0w/VMFfCgbONnkiQIVol/JJL7nRMi20fqzA4NRs9AfeqMGeRdPi3wIhYkxjeBaWh2rxwapn5Tu3IqOQ==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"requires": {
|
"requires": {
|
||||||
"commondir": "^1.0.1",
|
"commondir": "^1.0.1",
|
||||||
"make-dir": "^1.0.0",
|
"make-dir": "^2.0.0",
|
||||||
"pkg-dir": "^2.0.0"
|
"pkg-dir": "^3.0.0"
|
||||||
|
},
|
||||||
|
"dependencies": {
|
||||||
|
"find-up": {
|
||||||
|
"version": "3.0.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/find-up/-/find-up-3.0.0.tgz",
|
||||||
|
"integrity": "sha512-1yD6RmLI1XBfxugvORwlck6f75tYL+iR0jqwsOrOxMZyGYqUuDhJ0l4AXdO1iX/FTs9cBAMEk1gWSEx1kSbylg==",
|
||||||
|
"dev": true,
|
||||||
|
"requires": {
|
||||||
|
"locate-path": "^3.0.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"locate-path": {
|
||||||
|
"version": "3.0.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/locate-path/-/locate-path-3.0.0.tgz",
|
||||||
|
"integrity": "sha512-7AO748wWnIhNqAuaty2ZWHkQHRSNfPVIsPIfwEOWO22AmaoVrWavlOcMR5nzTLNYvp36X220/maaRsrec1G65A==",
|
||||||
|
"dev": true,
|
||||||
|
"requires": {
|
||||||
|
"p-locate": "^3.0.0",
|
||||||
|
"path-exists": "^3.0.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"make-dir": {
|
||||||
|
"version": "2.1.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/make-dir/-/make-dir-2.1.0.tgz",
|
||||||
|
"integrity": "sha512-LS9X+dc8KLxXCb8dni79fLIIUA5VyZoyjSMCwTluaXA0o27cCK0bhXkpgw+sTXVpPy/lSO57ilRixqk0vDmtRA==",
|
||||||
|
"dev": true,
|
||||||
|
"requires": {
|
||||||
|
"pify": "^4.0.1",
|
||||||
|
"semver": "^5.6.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"p-limit": {
|
||||||
|
"version": "2.2.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.2.0.tgz",
|
||||||
|
"integrity": "sha512-pZbTJpoUsCzV48Mc9Nh51VbwO0X9cuPFE8gYwx9BTCt9SF8/b7Zljd2fVgOxhIF/HDTKgpVzs+GPhyKfjLLFRQ==",
|
||||||
|
"dev": true,
|
||||||
|
"requires": {
|
||||||
|
"p-try": "^2.0.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"p-locate": {
|
||||||
|
"version": "3.0.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/p-locate/-/p-locate-3.0.0.tgz",
|
||||||
|
"integrity": "sha512-x+12w/To+4GFfgJhBEpiDcLozRJGegY+Ei7/z0tSLkMmxGZNybVMSfWj9aJn8Z5Fc7dBUNJOOVgPv2H7IwulSQ==",
|
||||||
|
"dev": true,
|
||||||
|
"requires": {
|
||||||
|
"p-limit": "^2.0.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"p-try": {
|
||||||
|
"version": "2.2.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz",
|
||||||
|
"integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==",
|
||||||
|
"dev": true
|
||||||
|
},
|
||||||
|
"pify": {
|
||||||
|
"version": "4.0.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/pify/-/pify-4.0.1.tgz",
|
||||||
|
"integrity": "sha512-uB80kBFb/tfd68bVleG9T5GGsGPjJrLAUpR5PZIrhBnIaRTQRjqdJSsIKkOP6OAIFbj7GOrcudc5pNjZ+geV2g==",
|
||||||
|
"dev": true
|
||||||
|
},
|
||||||
|
"pkg-dir": {
|
||||||
|
"version": "3.0.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-3.0.0.tgz",
|
||||||
|
"integrity": "sha512-/E57AYkoeQ25qkxMj5PBOVgF8Kiu/h7cYS30Z5+R7WaiCCBfLq58ZI/dSeaEKb9WVJV5n/03QwrN3IeWIFllvw==",
|
||||||
|
"dev": true,
|
||||||
|
"requires": {
|
||||||
|
"find-up": "^3.0.0"
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"find-in-files": {
|
"find-in-files": {
|
||||||
|
@ -5561,16 +5684,10 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"home-or-tmp": {
|
|
||||||
"version": "3.0.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/home-or-tmp/-/home-or-tmp-3.0.0.tgz",
|
|
||||||
"integrity": "sha1-V6j+JM8zzdUkhgoVgh3cJchmcfs=",
|
|
||||||
"dev": true
|
|
||||||
},
|
|
||||||
"homedir-polyfill": {
|
"homedir-polyfill": {
|
||||||
"version": "1.0.1",
|
"version": "1.0.3",
|
||||||
"resolved": "https://registry.npmjs.org/homedir-polyfill/-/homedir-polyfill-1.0.1.tgz",
|
"resolved": "https://registry.npmjs.org/homedir-polyfill/-/homedir-polyfill-1.0.3.tgz",
|
||||||
"integrity": "sha1-TCu8inWJmP7r9e1oWA921GdotLw=",
|
"integrity": "sha512-eSmmWE5bZTK2Nou4g0AI3zZ9rswp7GRKoKXS1BLUkvPviOqs4YTN1djQIqrXy9k5gEtdLPy86JjRwsNM9tnDcA==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"requires": {
|
"requires": {
|
||||||
"parse-passwd": "^1.0.0"
|
"parse-passwd": "^1.0.0"
|
||||||
|
@ -6203,9 +6320,9 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"jest-worker": {
|
"jest-worker": {
|
||||||
"version": "24.0.0",
|
"version": "24.6.0",
|
||||||
"resolved": "https://registry.npmjs.org/jest-worker/-/jest-worker-24.0.0.tgz",
|
"resolved": "https://registry.npmjs.org/jest-worker/-/jest-worker-24.6.0.tgz",
|
||||||
"integrity": "sha512-s64/OThpfQvoCeHG963MiEZOAAxu8kHsaL/rCMF7lpdzo7vgF0CtPml9hfguOMgykgH/eOm4jFP4ibfHLruytg==",
|
"integrity": "sha512-jDwgW5W9qGNvpI1tNnvajh0a5IE/PuGLFmHk6aR/BZFz8tSgGw17GsDPXAJ6p91IvYDjOw8GpFbvvZGAK+DPQQ==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"requires": {
|
"requires": {
|
||||||
"merge-stream": "^1.0.1",
|
"merge-stream": "^1.0.1",
|
||||||
|
@ -7076,6 +7193,24 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"node-environment-flags": {
|
||||||
|
"version": "1.0.5",
|
||||||
|
"resolved": "https://registry.npmjs.org/node-environment-flags/-/node-environment-flags-1.0.5.tgz",
|
||||||
|
"integrity": "sha512-VNYPRfGfmZLx0Ye20jWzHUjyTW/c+6Wq+iLhDzUI4XmhrDd9l/FozXV3F2xOaXjvp0co0+v1YSR3CMP6g+VvLQ==",
|
||||||
|
"dev": true,
|
||||||
|
"requires": {
|
||||||
|
"object.getownpropertydescriptors": "^2.0.3",
|
||||||
|
"semver": "^5.7.0"
|
||||||
|
},
|
||||||
|
"dependencies": {
|
||||||
|
"semver": {
|
||||||
|
"version": "5.7.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/semver/-/semver-5.7.0.tgz",
|
||||||
|
"integrity": "sha512-Ya52jSX2u7QKghxeoFGpLwCtGlt7j0oY9DYb5apt9nPlJ42ID+ulTXESnt/qAQcoSERyZ5sl3LDIOw0nAn/5DA==",
|
||||||
|
"dev": true
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"node-modules-regexp": {
|
"node-modules-regexp": {
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"resolved": "https://registry.npmjs.org/node-modules-regexp/-/node-modules-regexp-1.0.0.tgz",
|
"resolved": "https://registry.npmjs.org/node-modules-regexp/-/node-modules-regexp-1.0.0.tgz",
|
||||||
|
@ -7255,6 +7390,16 @@
|
||||||
"has": "^1.0.3"
|
"has": "^1.0.3"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"object.getownpropertydescriptors": {
|
||||||
|
"version": "2.0.3",
|
||||||
|
"resolved": "https://registry.npmjs.org/object.getownpropertydescriptors/-/object.getownpropertydescriptors-2.0.3.tgz",
|
||||||
|
"integrity": "sha1-h1jIRvW0B62rDyNuCYbxSwUcqhY=",
|
||||||
|
"dev": true,
|
||||||
|
"requires": {
|
||||||
|
"define-properties": "^1.1.2",
|
||||||
|
"es-abstract": "^1.5.1"
|
||||||
|
}
|
||||||
|
},
|
||||||
"object.pick": {
|
"object.pick": {
|
||||||
"version": "1.3.0",
|
"version": "1.3.0",
|
||||||
"resolved": "https://registry.npmjs.org/object.pick/-/object.pick-1.3.0.tgz",
|
"resolved": "https://registry.npmjs.org/object.pick/-/object.pick-1.3.0.tgz",
|
||||||
|
@ -7446,6 +7591,12 @@
|
||||||
"integrity": "sha1-zDPSTVJeCZpTiMAzbG4yuRYGCeA=",
|
"integrity": "sha1-zDPSTVJeCZpTiMAzbG4yuRYGCeA=",
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
|
"path-exists": {
|
||||||
|
"version": "3.0.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz",
|
||||||
|
"integrity": "sha1-zg6+ql94yxiSXqfYENe1mwEP1RU=",
|
||||||
|
"dev": true
|
||||||
|
},
|
||||||
"path-is-absolute": {
|
"path-is-absolute": {
|
||||||
"version": "1.0.1",
|
"version": "1.0.1",
|
||||||
"resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz",
|
"resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz",
|
||||||
|
@ -7820,9 +7971,9 @@
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"regenerate-unicode-properties": {
|
"regenerate-unicode-properties": {
|
||||||
"version": "8.0.2",
|
"version": "8.1.0",
|
||||||
"resolved": "https://registry.npmjs.org/regenerate-unicode-properties/-/regenerate-unicode-properties-8.0.2.tgz",
|
"resolved": "https://registry.npmjs.org/regenerate-unicode-properties/-/regenerate-unicode-properties-8.1.0.tgz",
|
||||||
"integrity": "sha512-SbA/iNrBUf6Pv2zU8Ekv1Qbhv92yxL4hiDa2siuxs4KKn4oOoMDHXjAf7+Nz9qinUQ46B1LcWEi/PhJfPWpZWQ==",
|
"integrity": "sha512-LGZzkgtLY79GeXLm8Dp0BVLdQlWICzBnJz/ipWUgo59qBaZ+BHtq51P2q1uVZlppMuUAT37SDk39qUbjTWB7bA==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"requires": {
|
"requires": {
|
||||||
"regenerate": "^1.4.0"
|
"regenerate": "^1.4.0"
|
||||||
|
@ -7835,9 +7986,9 @@
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"regenerator-transform": {
|
"regenerator-transform": {
|
||||||
"version": "0.13.4",
|
"version": "0.14.0",
|
||||||
"resolved": "https://registry.npmjs.org/regenerator-transform/-/regenerator-transform-0.13.4.tgz",
|
"resolved": "https://registry.npmjs.org/regenerator-transform/-/regenerator-transform-0.14.0.tgz",
|
||||||
"integrity": "sha512-T0QMBjK3J0MtxjPmdIMXm72Wvj2Abb0Bd4HADdfijwMdoIsyQZ6fWC7kDFhk2YinBBEMZDL7Y7wh0J1sGx3S4A==",
|
"integrity": "sha512-rtOelq4Cawlbmq9xuMR5gdFmv7ku/sFoB7sRiywx7aq53bc52b4j6zvH7Te1Vt/X2YveDKnCGUbioieU7FEL3w==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"requires": {
|
"requires": {
|
||||||
"private": "^0.1.6"
|
"private": "^0.1.6"
|
||||||
|
@ -8221,15 +8372,15 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"rollup-plugin-terser": {
|
"rollup-plugin-terser": {
|
||||||
"version": "4.0.4",
|
"version": "5.0.0",
|
||||||
"resolved": "https://registry.npmjs.org/rollup-plugin-terser/-/rollup-plugin-terser-4.0.4.tgz",
|
"resolved": "https://registry.npmjs.org/rollup-plugin-terser/-/rollup-plugin-terser-5.0.0.tgz",
|
||||||
"integrity": "sha512-wPANT5XKVJJ8RDUN0+wIr7UPd0lIXBo4UdJ59VmlPCtlFsE20AM+14pe+tk7YunCsWEiuzkDBY3QIkSCjtrPXg==",
|
"integrity": "sha512-W+jJ4opYnlmNyVW0vtRufs+EGf68BIJ7bnOazgz8mgz8pA9lUyrEifAhPs5y9M16wFeAyBGaRjKip4dnFBtXaw==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"requires": {
|
"requires": {
|
||||||
"@babel/code-frame": "^7.0.0",
|
"@babel/code-frame": "^7.0.0",
|
||||||
"jest-worker": "^24.0.0",
|
"jest-worker": "^24.6.0",
|
||||||
"serialize-javascript": "^1.6.1",
|
"serialize-javascript": "^1.7.0",
|
||||||
"terser": "^3.14.1"
|
"terser": "^4.0.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"rollup-pluginutils": {
|
"rollup-pluginutils": {
|
||||||
|
@ -8306,9 +8457,9 @@
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"serialize-javascript": {
|
"serialize-javascript": {
|
||||||
"version": "1.6.1",
|
"version": "1.7.0",
|
||||||
"resolved": "https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-1.6.1.tgz",
|
"resolved": "https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-1.7.0.tgz",
|
||||||
"integrity": "sha512-A5MOagrPFga4YaKQSWHryl7AXvbQkEqpw4NNYMTNYUNV51bA8ABHgYFpqKx+YFFrw59xMV1qGH1R4AgoNIVgCw==",
|
"integrity": "sha512-ke8UG8ulpFOxO8f8gRYabHQe/ZntKlcig2Mp+8+URDP1D8vJZ0KUt7LYo07q25Z/+JVSgpr/cui9PIp5H6/+nA==",
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"set-value": {
|
"set-value": {
|
||||||
|
@ -8853,22 +9004,16 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"terser": {
|
"terser": {
|
||||||
"version": "3.16.1",
|
"version": "4.0.0",
|
||||||
"resolved": "https://registry.npmjs.org/terser/-/terser-3.16.1.tgz",
|
"resolved": "https://registry.npmjs.org/terser/-/terser-4.0.0.tgz",
|
||||||
"integrity": "sha512-JDJjgleBROeek2iBcSNzOHLKsB/MdDf+E/BOAJ0Tk9r7p9/fVobfv7LMJ/g/k3v9SXdmjZnIlFd5nfn/Rt0Xow==",
|
"integrity": "sha512-dOapGTU0hETFl1tCo4t56FN+2jffoKyER9qBGoUFyZ6y7WLoKT0bF+lAYi6B6YsILcGF3q1C2FBh8QcKSCgkgA==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"requires": {
|
"requires": {
|
||||||
"commander": "~2.17.1",
|
"commander": "^2.19.0",
|
||||||
"source-map": "~0.6.1",
|
"source-map": "~0.6.1",
|
||||||
"source-map-support": "~0.5.9"
|
"source-map-support": "~0.5.10"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"commander": {
|
|
||||||
"version": "2.17.1",
|
|
||||||
"resolved": "https://registry.npmjs.org/commander/-/commander-2.17.1.tgz",
|
|
||||||
"integrity": "sha512-wPMUt6FnH2yzG95SA6mzjQOEKUU3aLaDEmzs1ti+1E9h+CsrZghRlqEM/EJ4KscsQVG8uNN4uVreUeT8+drlgg==",
|
|
||||||
"dev": true
|
|
||||||
},
|
|
||||||
"source-map": {
|
"source-map": {
|
||||||
"version": "0.6.1",
|
"version": "0.6.1",
|
||||||
"resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",
|
"resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",
|
||||||
|
@ -9945,9 +10090,9 @@
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"v8flags": {
|
"v8flags": {
|
||||||
"version": "3.1.2",
|
"version": "3.1.3",
|
||||||
"resolved": "https://registry.npmjs.org/v8flags/-/v8flags-3.1.2.tgz",
|
"resolved": "https://registry.npmjs.org/v8flags/-/v8flags-3.1.3.tgz",
|
||||||
"integrity": "sha512-MtivA7GF24yMPte9Rp/BWGCYQNaUj86zeYxV/x2RRJMKagImbbv3u8iJC57lNhWLPcGLJmHcHmFWkNsplbbLWw==",
|
"integrity": "sha512-amh9CCg3ZxkzQ48Mhcb8iX7xpAfYJgePHxWMQCBWECpOSqJUXgY26ncA61UTV0BkPqfhcy6mzwCIoP4ygxpW8w==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"requires": {
|
"requires": {
|
||||||
"homedir-polyfill": "^1.0.1"
|
"homedir-polyfill": "^1.0.1"
|
||||||
|
|
12
package.json
12
package.json
|
@ -77,21 +77,21 @@
|
||||||
],
|
],
|
||||||
"dependencies": {},
|
"dependencies": {},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@babel/core": "^7.4.4",
|
"@babel/core": "^7.4.5",
|
||||||
"@babel/node": "^7.2.2",
|
"@babel/node": "^7.4.5",
|
||||||
"@babel/plugin-transform-modules-commonjs": "^7.4.4",
|
"@babel/plugin-transform-modules-commonjs": "^7.4.4",
|
||||||
"@babel/preset-env": "^7.4.4",
|
"@babel/preset-env": "^7.4.5",
|
||||||
"@mysticatea/eslint-plugin": "^10.0.3",
|
"@mysticatea/eslint-plugin": "^10.0.3",
|
||||||
"axe-testcafe": "^1.1.0",
|
"axe-testcafe": "^1.1.0",
|
||||||
"babel-plugin-transform-object-rest-spread": "^7.0.0-beta.3",
|
"babel-plugin-transform-object-rest-spread": "^7.0.0-beta.3",
|
||||||
"core-js-bundle": "^3.1.1",
|
"core-js-bundle": "^3.1.2",
|
||||||
"eslint": "5.16.0",
|
"eslint": "5.16.0",
|
||||||
"eslint-config-ash-nazg": "4.0.0",
|
"eslint-config-ash-nazg": "4.0.0",
|
||||||
"eslint-config-standard": "12.0.0",
|
"eslint-config-standard": "12.0.0",
|
||||||
"eslint-plugin-compat": "^3.1.1",
|
"eslint-plugin-compat": "^3.1.1",
|
||||||
"eslint-plugin-eslint-comments": "^3.1.1",
|
"eslint-plugin-eslint-comments": "^3.1.1",
|
||||||
"eslint-plugin-import": "2.17.2",
|
"eslint-plugin-import": "2.17.2",
|
||||||
"eslint-plugin-jsdoc": "^5.0.2",
|
"eslint-plugin-jsdoc": "^6.0.2",
|
||||||
"eslint-plugin-markdown": "^1.0.0",
|
"eslint-plugin-markdown": "^1.0.0",
|
||||||
"eslint-plugin-no-use-extend-native": "^0.4.0",
|
"eslint-plugin-no-use-extend-native": "^0.4.0",
|
||||||
"eslint-plugin-node": "9.0.1",
|
"eslint-plugin-node": "9.0.1",
|
||||||
|
@ -117,7 +117,7 @@
|
||||||
"rollup": "1.12.3",
|
"rollup": "1.12.3",
|
||||||
"rollup-plugin-babel": "^4.3.2",
|
"rollup-plugin-babel": "^4.3.2",
|
||||||
"rollup-plugin-re": "^1.0.7",
|
"rollup-plugin-re": "^1.0.7",
|
||||||
"rollup-plugin-terser": "^4.0.4",
|
"rollup-plugin-terser": "^5.0.0",
|
||||||
"sinon": "^7.3.2",
|
"sinon": "^7.3.2",
|
||||||
"sinon-test": "^2.4.0",
|
"sinon-test": "^2.4.0",
|
||||||
"stackblur-canvas": "^2.2.0",
|
"stackblur-canvas": "^2.2.0",
|
||||||
|
|
|
@ -6076,7 +6076,7 @@
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* @param {Integer} y
|
* @param {Integer} y
|
||||||
* @returns {void}
|
* @returns {Path}
|
||||||
*/
|
*/
|
||||||
|
|
||||||
}, {
|
}, {
|
||||||
|
@ -9782,9 +9782,9 @@
|
||||||
* an existing group element or, with three parameters, will create a new layer group element.
|
* an existing group element or, with three parameters, will create a new layer group element.
|
||||||
*
|
*
|
||||||
* @example
|
* @example
|
||||||
* new Layer('name', group); // Use the existing group for this layer.
|
* const l1 = new Layer('name', group); // Use the existing group for this layer.
|
||||||
* new Layer('name', group, svgElem); // Create a new group and add it to the DOM after group.
|
* const l2 = new Layer('name', group, svgElem); // Create a new group and add it to the DOM after group.
|
||||||
* new Layer('name', null, svgElem); // Create a new group and add it to the DOM as the last layer.
|
* const l3 = new Layer('name', null, svgElem); // Create a new group and add it to the DOM as the last layer.
|
||||||
* @memberof module:layer
|
* @memberof module:layer
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -29152,8 +29152,9 @@
|
||||||
|
|
||||||
if (editor.storage && ( // Cookies do not have enough available memory to hold large documents
|
if (editor.storage && ( // Cookies do not have enough available memory to hold large documents
|
||||||
curConfig.forceStorage || !curConfig.noStorageOnLoad && document.cookie.match(/(?:^|;\s*)svgeditstore=prefsAndContent/))) {
|
curConfig.forceStorage || !curConfig.noStorageOnLoad && document.cookie.match(/(?:^|;\s*)svgeditstore=prefsAndContent/))) {
|
||||||
var name = 'svgedit-' + curConfig.canvasName;
|
var _name = 'svgedit-' + curConfig.canvasName;
|
||||||
var cached = editor.storage.getItem(name);
|
|
||||||
|
var cached = editor.storage.getItem(_name);
|
||||||
|
|
||||||
if (cached) {
|
if (cached) {
|
||||||
editor.loadFromString(cached);
|
editor.loadFromString(cached);
|
||||||
|
@ -29360,7 +29361,7 @@
|
||||||
|
|
||||||
|
|
||||||
editor.randomizeIds = function (arg) {
|
editor.randomizeIds = function (arg) {
|
||||||
return svgCanvas.randomizeIds(arg);
|
svgCanvas.randomizeIds(arg);
|
||||||
};
|
};
|
||||||
/**
|
/**
|
||||||
* Auto-run after a Promise microtask.
|
* Auto-run after a Promise microtask.
|
||||||
|
@ -29581,7 +29582,7 @@
|
||||||
var _ref6 = _asyncToGenerator(
|
var _ref6 = _asyncToGenerator(
|
||||||
/*#__PURE__*/
|
/*#__PURE__*/
|
||||||
regeneratorRuntime.mark(function _callee2(extname) {
|
regeneratorRuntime.mark(function _callee2(extname) {
|
||||||
var extName, url, imported, _imported$name, name, init, importLocale;
|
var extName, url, imported, _imported$name, _name2, init, importLocale;
|
||||||
|
|
||||||
return regeneratorRuntime.wrap(function _callee2$(_context2) {
|
return regeneratorRuntime.wrap(function _callee2$(_context2) {
|
||||||
while (1) {
|
while (1) {
|
||||||
|
@ -29615,12 +29616,12 @@
|
||||||
|
|
||||||
case 7:
|
case 7:
|
||||||
imported = _context2.sent;
|
imported = _context2.sent;
|
||||||
_imported$name = imported.name, name = _imported$name === void 0 ? extName[1] : _imported$name, init = imported.init;
|
_imported$name = imported.name, _name2 = _imported$name === void 0 ? extName[1] : _imported$name, init = imported.init;
|
||||||
importLocale = getImportLocale({
|
importLocale = getImportLocale({
|
||||||
defaultLang: langParam,
|
defaultLang: langParam,
|
||||||
defaultName: name
|
defaultName: _name2
|
||||||
});
|
});
|
||||||
return _context2.abrupt("return", editor.addExtension(name, init && init.bind(editor), {
|
return _context2.abrupt("return", editor.addExtension(_name2, init && init.bind(editor), {
|
||||||
$: $$b,
|
$: $$b,
|
||||||
importLocale: importLocale
|
importLocale: importLocale
|
||||||
}));
|
}));
|
||||||
|
@ -30426,12 +30427,13 @@
|
||||||
var layer = svgCanvas.getCurrentDrawing().getNumLayers(); // we get the layers in the reverse z-order (the layer rendered on top is listed first)
|
var layer = svgCanvas.getCurrentDrawing().getNumLayers(); // we get the layers in the reverse z-order (the layer rendered on top is listed first)
|
||||||
|
|
||||||
while (layer--) {
|
while (layer--) {
|
||||||
var name = drawing.getLayerName(layer);
|
var _name3 = drawing.getLayerName(layer);
|
||||||
var layerTr = $$b('<tr class="layer">').toggleClass('layersel', name === currentLayerName);
|
|
||||||
var layerVis = $$b('<td class="layervis">').toggleClass('layerinvis', !drawing.getLayerVisibility(name));
|
var layerTr = $$b('<tr class="layer">').toggleClass('layersel', _name3 === currentLayerName);
|
||||||
var layerName = $$b('<td class="layername">' + name + '</td>');
|
var layerVis = $$b('<td class="layervis">').toggleClass('layerinvis', !drawing.getLayerVisibility(_name3));
|
||||||
|
var layerName = $$b('<td class="layername">' + _name3 + '</td>');
|
||||||
layerlist.append(layerTr.append(layerVis, layerName));
|
layerlist.append(layerTr.append(layerVis, layerName));
|
||||||
selLayerNames.append('<option value="' + name + '">' + name + '</option>');
|
selLayerNames.append('<option value="' + _name3 + '">' + _name3 + '</option>');
|
||||||
}
|
}
|
||||||
|
|
||||||
if (icon !== undefined) {
|
if (icon !== undefined) {
|
||||||
|
@ -31801,7 +31803,7 @@
|
||||||
/**
|
/**
|
||||||
* Clicking the icon in flyout should set this set's icon.
|
* Clicking the icon in flyout should set this set's icon.
|
||||||
* @param {Event} ev
|
* @param {Event} ev
|
||||||
* @returns {void}
|
* @returns {boolean}
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
@ -31919,7 +31921,7 @@
|
||||||
/**
|
/**
|
||||||
* @param {string} id
|
* @param {string} id
|
||||||
* @param {external:jQuery} child
|
* @param {external:jQuery} child
|
||||||
* @returns {void}
|
* @returns {external:jQuery}
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
@ -34152,7 +34154,7 @@
|
||||||
/**
|
/**
|
||||||
* Save user preferences based on current values in the UI.
|
* Save user preferences based on current values in the UI.
|
||||||
* @function module:SVGEditor.savePreferences
|
* @function module:SVGEditor.savePreferences
|
||||||
* @returns {void}
|
* @returns {Promise<void>}
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
@ -34733,7 +34735,7 @@
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @returns {void}
|
* @returns {Promise<void>}
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue