From 61c654fdb2f7ce2ba20354a7d94c3b03e0f73646 Mon Sep 17 00:00:00 2001 From: Brett Zamir Date: Tue, 2 Mar 2021 08:39:05 +0800 Subject: [PATCH] - Linting: As per latest ash-nazg - npm: Update devDeps. - npm: Bump to 5.0.4 --- .eslintrc.js | 41 +- .npmignore | 1 + CHANGES.md | 10 + README.md | 9 +- dist/index-browser-esm.js | 2 +- dist/index-browser-esm.min.js | 2 +- dist/index-browser-esm.min.js.map | 2 +- dist/index-browser-umd.js | 2 +- dist/index-browser-umd.min.js | 2 +- dist/index-browser-umd.min.js.map | 2 +- package.json | 40 +- pnpm-lock.yaml | 1838 ++++++++++++++--------------- rollup.config.js | 1 - 13 files changed, 951 insertions(+), 1001 deletions(-) diff --git a/.eslintrc.js b/.eslintrc.js index 660ba33..a92f784 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -1,10 +1,7 @@ 'use strict'; + module.exports = { - extends: ['ash-nazg/sauron-node'], - parserOptions: { - ecmaVersion: 2020, - sourceType: 'module' - }, + extends: ['ash-nazg/sauron-node-overrides'], settings: { polyfills: [ 'Array.isArray', @@ -21,21 +18,15 @@ module.exports = { ] }, overrides: [ - { - files: ['.eslintrc.js', '.mocharc.js'], - extends: ['plugin:node/recommended-script'], - rules: { - 'import/no-commonjs': 'off', - 'import/ambiguous': 'off' - } - }, { files: ['src/jsonpath-node.js', 'test-helpers/node-env.js'], - // Apparent bug with `overrides` necessitating this - globals: { - require: 'readonly', - run: 'readonly', - module: 'readonly' + env: { + mocha: true + }, + // ESLint doesn't seem to remember this + parserOptions: { + ecmaVersion: 2020, + sourceType: 'module' }, rules: { 'node/no-unsupported-features/es-syntax': ['error', { @@ -46,13 +37,16 @@ module.exports = { } }, { - files: ['*.md'], + files: ['*.md/*.js', '*.md/*.html'], rules: { 'import/unambiguous': 0, 'import/no-commonjs': 0, 'import/no-unresolved': ['error', { ignore: ['jsonpath-plus'] }], + 'no-multiple-empty-lines': ['error', { + max: 1, maxEOF: 2, maxBOF: 2 + }], 'no-undef': 0, 'no-unused-vars': ['error', { varsIgnorePattern: 'json|result' @@ -64,9 +58,12 @@ module.exports = { 'node/no-missing-require': ['error', { allowModules: ['jsonpath-plus'] }], - 'node/no-missing-import': ['error', { - allowModules: ['jsonpath-plus'] - }] + // Unfortunately, with the new processor approach, the filename + // is now README.md so our paths must be `../`. However, even + // with that, eslint-plugin-node is not friendly to such + // imports, so we disable + 'node/no-missing-import': 'off', + 'node/no-unpublished-import': 'off' } }, { diff --git a/.npmignore b/.npmignore index 408ffab..b65d899 100644 --- a/.npmignore +++ b/.npmignore @@ -17,3 +17,4 @@ mocha-multi-reporters.json .github .nojekyll ignore +pnpm-lock.yaml diff --git a/CHANGES.md b/CHANGES.md index 9a4e591..6cd52f8 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,5 +1,15 @@ # CHANGES for jsonpath-plus +## 5.0.4 (2021-03-02) + +- Fix: allow falsey at values in filter (now may require checking for + presence of `@` in some cases); fixes #136 +- Docs: Add old missing release info (reconciling with GitHub releases) +- Docs: Update README to reflect 1.2.0 was not a released version (subsume + release details into 2.0.0) +- Linting: As per latest ash-nazg +- npm: Update devDeps. + ## 5.0.3 (2021-02-06) - Fix: Add package exports for browser and umd (#145) (@gjvoosten) diff --git a/README.md b/README.md index 7f02920..0bad7a5 100644 --- a/README.md +++ b/README.md @@ -89,7 +89,7 @@ magic is necessary: ``` @@ -101,8 +101,11 @@ You may also use ES6 Module imports (for modern browsers): ```html ``` diff --git a/dist/index-browser-esm.js b/dist/index-browser-esm.js index 15ec668..c98c8a0 100644 --- a/dist/index-browser-esm.js +++ b/dist/index-browser-esm.js @@ -57,7 +57,7 @@ function _isNativeReflectConstruct() { if (typeof Proxy === "function") return true; try { - Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); + Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; diff --git a/dist/index-browser-esm.min.js b/dist/index-browser-esm.min.js index 2bfcc98..4af3c65 100644 --- a/dist/index-browser-esm.min.js +++ b/dist/index-browser-esm.min.js @@ -1,2 +1,2 @@ -function t(r){return(t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(r)}function r(t){return(r=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function e(t,r){return(e=Object.setPrototypeOf||function(t,r){return t.__proto__=r,t})(t,r)}function n(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}function a(t,r,o){return(a=n()?Reflect.construct:function(t,r,n){var a=[null];a.push.apply(a,r);var o=new(Function.bind.apply(t,a));return n&&e(o,n.prototype),o}).apply(null,arguments)}function o(t){var n="function"==typeof Map?new Map:void 0;return(o=function(t){if(null===t||(o=t,-1===Function.toString.call(o).indexOf("[native code]")))return t;var o;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==n){if(n.has(t))return n.get(t);n.set(t,u)}function u(){return a(t,arguments,r(this).constructor)}return u.prototype=Object.create(t.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),e(u,t)})(t)}function u(t,r){return!r||"object"!=typeof r&&"function"!=typeof r?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):r}function i(t){return function(t){if(Array.isArray(t))return l(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||c(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function c(t,r){if(t){if("string"==typeof t)return l(t,r);var e=Object.prototype.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?l(t,r):void 0}}function l(t,r){(null==r||r>t.length)&&(r=t.length);for(var e=0,n=new Array(r);e1&&p.shift(),this._hasParentSelector=null;var h=this._trace(p,e,["$"],u,i,n).filter((function(t){return t&&!t.isParentSelector}));return h.length?l||1!==h.length||h[0].hasArrExpr?h.reduce((function(t,r){var e=o._getPreferredOutput(r);return c&&Array.isArray(e)?t=t.concat(e):t.push(e),t}),[]):this._getPreferredOutput(h[0]):l?[]:void 0}},y.prototype._getPreferredOutput=function(t){var r=this.currResultType;switch(r){case"all":var e=Array.isArray(t.path)?t.path:y.toPathArray(t.path);return t.pointer=y.toPointer(e),t.path="string"==typeof t.path?t.path:y.toPathString(t.path),t;case"value":case"parent":case"parentProperty":return t[r];case"path":return y.toPathString(t[r]);case"pointer":return y.toPointer(t.path);default:throw new TypeError("Unknown result type")}},y.prototype._handleCallback=function(t,r,e){if(r){var n=this._getPreferredOutput(t);t.path="string"==typeof t.path?t.path:y.toPathString(t.path),r(n,e,t)}},y.prototype._trace=function(r,e,n,a,o,u,i,l){var f,y=this;if(!r.length)return f={path:n,value:e,parent:a,parentProperty:o,hasArrExpr:i},this._handleCallback(f,u,"value"),f;var v=r[0],b=r.slice(1),F=[];function d(t){Array.isArray(t)?t.forEach((function(t){F.push(t)})):F.push(t)}if(("string"!=typeof v||l)&&e&&s.call(e,v))d(this._trace(b,e[v],p(n,v),e,v,u,i));else if("*"===v)this._walk(v,b,e,n,a,o,u,(function(t,r,e,n,a,o,u,i){d(y._trace(h(t,e),n,a,o,u,i,!0,!0))}));else if(".."===v)d(this._trace(b,e,n,a,o,u,i)),this._walk(v,b,e,n,a,o,u,(function(r,e,n,a,o,u,i,c){"object"===t(a[r])&&d(y._trace(h(e,n),a[r],p(o,r),a,r,c,!0))}));else{if("^"===v)return this._hasParentSelector=!0,{path:n.slice(0,-1),expr:b,isParentSelector:!0};if("~"===v)return f={path:p(n,v),value:o,parent:a,parentProperty:null},this._handleCallback(f,u,"property"),f;if("$"===v)d(this._trace(b,e,n,null,null,u,i));else if(/^(\x2D?[0-9]*):(\x2D?[0-9]*):?([0-9]*)$/.test(v))d(this._slice(v,b,e,n,a,o,u));else if(0===v.indexOf("?(")){if(this.currPreventEval)throw new Error("Eval [?(expr)] prevented in JSONPath expression.");this._walk(v,b,e,n,a,o,u,(function(t,r,e,n,a,o,u,i){y._eval(r.replace(/^\?\(((?:[\0-\t\x0B\f\x0E-\u2027\u202A-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*?)\)$/,"$1"),n[t],t,a,o,u)&&d(y._trace(h(t,e),n,a,o,u,i,!0))}))}else if("("===v[0]){if(this.currPreventEval)throw new Error("Eval [(expr)] prevented in JSONPath expression.");d(this._trace(h(this._eval(v,e,n[n.length-1],n.slice(0,-1),a,o),b),e,n,a,o,u,i))}else if("@"===v[0]){var g=!1,_=v.slice(1,-2);switch(_){case"scalar":e&&["object","function"].includes(t(e))||(g=!0);break;case"boolean":case"string":case"undefined":case"function":t(e)===_&&(g=!0);break;case"integer":!Number.isFinite(e)||e%1||(g=!0);break;case"number":Number.isFinite(e)&&(g=!0);break;case"nonFinite":"number"!=typeof e||Number.isFinite(e)||(g=!0);break;case"object":e&&t(e)===_&&(g=!0);break;case"array":Array.isArray(e)&&(g=!0);break;case"other":g=this.currOtherTypeCallback(e,n,a,o);break;case"null":null===e&&(g=!0);break;default:throw new TypeError("Unknown value type "+_)}if(g)return f={path:n,value:e,parent:a,parentProperty:o},this._handleCallback(f,u,"value"),f}else if("`"===v[0]&&e&&s.call(e,v.slice(1))){var w=v.slice(1);d(this._trace(b,e[w],p(n,w),e,w,u,i,!0))}else if(v.includes(",")){var m,D=function(t,r){var e;if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(e=c(t))||r&&t&&"number"==typeof t.length){e&&(t=e);var n=0,a=function(){};return{s:a,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,u=!0,i=!1;return{s:function(){e=t[Symbol.iterator]()},n:function(){var t=e.next();return u=t.done,t},e:function(t){i=!0,o=t},f:function(){try{u||null==e.return||e.return()}finally{if(i)throw o}}}}(v.split(","));try{for(D.s();!(m=D.n()).done;){var P=m.value;d(this._trace(h(P,b),e,n,a,o,u,!0))}}catch(t){D.e(t)}finally{D.f()}}else!l&&e&&s.call(e,v)&&d(this._trace(b,e[v],p(n,v),e,v,u,i,!0))}if(this._hasParentSelector)for(var S=0;S-1?t.slice(0,c+1)+" return "+t.slice(c+1):" return "+t;return a(Function,i(e).concat([l])).apply(void 0,i(o))}};export{y as JSONPath}; +function t(r){return(t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(r)}function r(t){return(r=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function e(t,r){return(e=Object.setPrototypeOf||function(t,r){return t.__proto__=r,t})(t,r)}function n(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}function a(t,r,o){return(a=n()?Reflect.construct:function(t,r,n){var a=[null];a.push.apply(a,r);var o=new(Function.bind.apply(t,a));return n&&e(o,n.prototype),o}).apply(null,arguments)}function o(t){var n="function"==typeof Map?new Map:void 0;return(o=function(t){if(null===t||(o=t,-1===Function.toString.call(o).indexOf("[native code]")))return t;var o;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==n){if(n.has(t))return n.get(t);n.set(t,u)}function u(){return a(t,arguments,r(this).constructor)}return u.prototype=Object.create(t.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),e(u,t)})(t)}function u(t,r){return!r||"object"!=typeof r&&"function"!=typeof r?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):r}function i(t){return function(t){if(Array.isArray(t))return l(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||c(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function c(t,r){if(t){if("string"==typeof t)return l(t,r);var e=Object.prototype.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?l(t,r):void 0}}function l(t,r){(null==r||r>t.length)&&(r=t.length);for(var e=0,n=new Array(r);e1&&p.shift(),this._hasParentSelector=null;var h=this._trace(p,e,["$"],u,i,n).filter((function(t){return t&&!t.isParentSelector}));return h.length?l||1!==h.length||h[0].hasArrExpr?h.reduce((function(t,r){var e=o._getPreferredOutput(r);return c&&Array.isArray(e)?t=t.concat(e):t.push(e),t}),[]):this._getPreferredOutput(h[0]):l?[]:void 0}},y.prototype._getPreferredOutput=function(t){var r=this.currResultType;switch(r){case"all":var e=Array.isArray(t.path)?t.path:y.toPathArray(t.path);return t.pointer=y.toPointer(e),t.path="string"==typeof t.path?t.path:y.toPathString(t.path),t;case"value":case"parent":case"parentProperty":return t[r];case"path":return y.toPathString(t[r]);case"pointer":return y.toPointer(t.path);default:throw new TypeError("Unknown result type")}},y.prototype._handleCallback=function(t,r,e){if(r){var n=this._getPreferredOutput(t);t.path="string"==typeof t.path?t.path:y.toPathString(t.path),r(n,e,t)}},y.prototype._trace=function(r,e,n,a,o,u,i,l){var f,y=this;if(!r.length)return f={path:n,value:e,parent:a,parentProperty:o,hasArrExpr:i},this._handleCallback(f,u,"value"),f;var v=r[0],b=r.slice(1),F=[];function d(t){Array.isArray(t)?t.forEach((function(t){F.push(t)})):F.push(t)}if(("string"!=typeof v||l)&&e&&s.call(e,v))d(this._trace(b,e[v],p(n,v),e,v,u,i));else if("*"===v)this._walk(v,b,e,n,a,o,u,(function(t,r,e,n,a,o,u,i){d(y._trace(h(t,e),n,a,o,u,i,!0,!0))}));else if(".."===v)d(this._trace(b,e,n,a,o,u,i)),this._walk(v,b,e,n,a,o,u,(function(r,e,n,a,o,u,i,c){"object"===t(a[r])&&d(y._trace(h(e,n),a[r],p(o,r),a,r,c,!0))}));else{if("^"===v)return this._hasParentSelector=!0,{path:n.slice(0,-1),expr:b,isParentSelector:!0};if("~"===v)return f={path:p(n,v),value:o,parent:a,parentProperty:null},this._handleCallback(f,u,"property"),f;if("$"===v)d(this._trace(b,e,n,null,null,u,i));else if(/^(\x2D?[0-9]*):(\x2D?[0-9]*):?([0-9]*)$/.test(v))d(this._slice(v,b,e,n,a,o,u));else if(0===v.indexOf("?(")){if(this.currPreventEval)throw new Error("Eval [?(expr)] prevented in JSONPath expression.");this._walk(v,b,e,n,a,o,u,(function(t,r,e,n,a,o,u,i){y._eval(r.replace(/^\?\(((?:[\0-\t\x0B\f\x0E-\u2027\u202A-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*?)\)$/,"$1"),n[t],t,a,o,u)&&d(y._trace(h(t,e),n,a,o,u,i,!0))}))}else if("("===v[0]){if(this.currPreventEval)throw new Error("Eval [(expr)] prevented in JSONPath expression.");d(this._trace(h(this._eval(v,e,n[n.length-1],n.slice(0,-1),a,o),b),e,n,a,o,u,i))}else if("@"===v[0]){var g=!1,_=v.slice(1,-2);switch(_){case"scalar":e&&["object","function"].includes(t(e))||(g=!0);break;case"boolean":case"string":case"undefined":case"function":t(e)===_&&(g=!0);break;case"integer":!Number.isFinite(e)||e%1||(g=!0);break;case"number":Number.isFinite(e)&&(g=!0);break;case"nonFinite":"number"!=typeof e||Number.isFinite(e)||(g=!0);break;case"object":e&&t(e)===_&&(g=!0);break;case"array":Array.isArray(e)&&(g=!0);break;case"other":g=this.currOtherTypeCallback(e,n,a,o);break;case"null":null===e&&(g=!0);break;default:throw new TypeError("Unknown value type "+_)}if(g)return f={path:n,value:e,parent:a,parentProperty:o},this._handleCallback(f,u,"value"),f}else if("`"===v[0]&&e&&s.call(e,v.slice(1))){var w=v.slice(1);d(this._trace(b,e[w],p(n,w),e,w,u,i,!0))}else if(v.includes(",")){var m,D=function(t,r){var e;if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(e=c(t))||r&&t&&"number"==typeof t.length){e&&(t=e);var n=0,a=function(){};return{s:a,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,u=!0,i=!1;return{s:function(){e=t[Symbol.iterator]()},n:function(){var t=e.next();return u=t.done,t},e:function(t){i=!0,o=t},f:function(){try{u||null==e.return||e.return()}finally{if(i)throw o}}}}(v.split(","));try{for(D.s();!(m=D.n()).done;){var P=m.value;d(this._trace(h(P,b),e,n,a,o,u,!0))}}catch(t){D.e(t)}finally{D.f()}}else!l&&e&&s.call(e,v)&&d(this._trace(b,e[v],p(n,v),e,v,u,i,!0))}if(this._hasParentSelector)for(var x=0;x-1?t.slice(0,c+1)+" return "+t.slice(c+1):" return "+t;return a(Function,i(e).concat([l])).apply(void 0,i(o))}};export{y as JSONPath}; //# sourceMappingURL=index-browser-esm.min.js.map diff --git a/dist/index-browser-esm.min.js.map b/dist/index-browser-esm.min.js.map index cd01f05..2899773 100644 --- a/dist/index-browser-esm.min.js.map +++ b/dist/index-browser-esm.min.js.map @@ -1 +1 @@ -{"version":3,"file":"index-browser-esm.min.js","sources":["../src/jsonpath.js","../src/jsonpath-browser.js"],"sourcesContent":["/* eslint-disable unicorn/prefer-spread -- IIRC, Babel's performance\n with this not good */\nconst {hasOwnProperty: hasOwnProp} = Object.prototype;\n\n/**\n* @typedef {null|boolean|number|string|PlainObject|GenericArray} JSONObject\n*/\n\n/**\n * Copies array and then pushes item into it.\n * @param {GenericArray} arr Array to copy and into which to push\n * @param {any} item Array item to add (to end)\n * @returns {GenericArray} Copy of the original array\n */\nfunction push (arr, item) {\n arr = arr.slice();\n arr.push(item);\n return arr;\n}\n/**\n * Copies array and then unshifts item into it.\n * @param {any} item Array item to add (to beginning)\n * @param {GenericArray} arr Array to copy and into which to unshift\n * @returns {GenericArray} Copy of the original array\n */\nfunction unshift (item, arr) {\n arr = arr.slice();\n arr.unshift(item);\n return arr;\n}\n\n/**\n * Caught when JSONPath is used without `new` but rethrown if with `new`\n * @extends Error\n */\nclass NewError extends Error {\n /**\n * @param {any} value The evaluated scalar value\n */\n constructor (value) {\n super(\n 'JSONPath should not be called with \"new\" (it prevents return ' +\n 'of (unwrapped) scalar values)'\n );\n this.avoidNew = true;\n this.value = value;\n this.name = 'NewError';\n }\n}\n\n/**\n* @typedef {PlainObject} ReturnObject\n* @property {string} path\n* @property {JSONObject} value\n* @property {PlainObject|GenericArray} parent\n* @property {string} parentProperty\n*/\n\n/**\n* @callback JSONPathCallback\n* @param {string|PlainObject} preferredOutput\n* @param {\"value\"|\"property\"} type\n* @param {ReturnObject} fullRetObj\n* @returns {void}\n*/\n\n/**\n* @callback OtherTypeCallback\n* @param {JSONObject} val\n* @param {string} path\n* @param {PlainObject|GenericArray} parent\n* @param {string} parentPropName\n* @returns {boolean}\n*/\n\n/* eslint-disable max-len -- Can make multiline type after https://github.com/syavorsky/comment-parser/issues/109 */\n/**\n * @typedef {PlainObject} JSONPathOptions\n * @property {JSON} json\n * @property {string|string[]} path\n * @property {\"value\"|\"path\"|\"pointer\"|\"parent\"|\"parentProperty\"|\"all\"} [resultType=\"value\"]\n * @property {boolean} [flatten=false]\n * @property {boolean} [wrap=true]\n * @property {PlainObject} [sandbox={}]\n * @property {boolean} [preventEval=false]\n * @property {PlainObject|GenericArray|null} [parent=null]\n * @property {string|null} [parentProperty=null]\n * @property {JSONPathCallback} [callback]\n * @property {OtherTypeCallback} [otherTypeCallback] Defaults to\n * function which throws on encountering `@other`\n * @property {boolean} [autostart=true]\n */\n/* eslint-enable max-len -- Can make multiline type after https://github.com/syavorsky/comment-parser/issues/109 */\n\n/**\n * @param {string|JSONPathOptions} opts If a string, will be treated as `expr`\n * @param {string} [expr] JSON path to evaluate\n * @param {JSON} [obj] JSON object to evaluate against\n * @param {JSONPathCallback} [callback] Passed 3 arguments: 1) desired payload\n * per `resultType`, 2) `\"value\"|\"property\"`, 3) Full returned object with\n * all payloads\n * @param {OtherTypeCallback} [otherTypeCallback] If `@other()` is at the end\n * of one's query, this will be invoked with the value of the item, its\n * path, its parent, and its parent's property name, and it should return\n * a boolean indicating whether the supplied value belongs to the \"other\"\n * type or not (or it may handle transformations and return `false`).\n * @returns {JSONPath}\n * @class\n */\nfunction JSONPath (opts, expr, obj, callback, otherTypeCallback) {\n // eslint-disable-next-line no-restricted-syntax\n if (!(this instanceof JSONPath)) {\n try {\n return new JSONPath(opts, expr, obj, callback, otherTypeCallback);\n } catch (e) {\n if (!e.avoidNew) {\n throw e;\n }\n return e.value;\n }\n }\n\n if (typeof opts === 'string') {\n otherTypeCallback = callback;\n callback = obj;\n obj = expr;\n expr = opts;\n opts = null;\n }\n const optObj = opts && typeof opts === 'object';\n opts = opts || {};\n this.json = opts.json || obj;\n this.path = opts.path || expr;\n this.resultType = opts.resultType || 'value';\n this.flatten = opts.flatten || false;\n this.wrap = hasOwnProp.call(opts, 'wrap') ? opts.wrap : true;\n this.sandbox = opts.sandbox || {};\n this.preventEval = opts.preventEval || false;\n this.parent = opts.parent || null;\n this.parentProperty = opts.parentProperty || null;\n this.callback = opts.callback || callback || null;\n this.otherTypeCallback = opts.otherTypeCallback ||\n otherTypeCallback ||\n function () {\n throw new TypeError(\n 'You must supply an otherTypeCallback callback option ' +\n 'with the @other() operator.'\n );\n };\n\n if (opts.autostart !== false) {\n const args = {\n path: (optObj ? opts.path : expr)\n };\n if (!optObj) {\n args.json = obj;\n } else if ('json' in opts) {\n args.json = opts.json;\n }\n const ret = this.evaluate(args);\n if (!ret || typeof ret !== 'object') {\n throw new NewError(ret);\n }\n return ret;\n }\n}\n\n// PUBLIC METHODS\nJSONPath.prototype.evaluate = function (\n expr, json, callback, otherTypeCallback\n) {\n let currParent = this.parent,\n currParentProperty = this.parentProperty;\n let {flatten, wrap} = this;\n\n this.currResultType = this.resultType;\n this.currPreventEval = this.preventEval;\n this.currSandbox = this.sandbox;\n callback = callback || this.callback;\n this.currOtherTypeCallback = otherTypeCallback || this.otherTypeCallback;\n\n json = json || this.json;\n expr = expr || this.path;\n if (expr && typeof expr === 'object' && !Array.isArray(expr)) {\n if (!expr.path && expr.path !== '') {\n throw new TypeError(\n 'You must supply a \"path\" property when providing an object ' +\n 'argument to JSONPath.evaluate().'\n );\n }\n if (!(hasOwnProp.call(expr, 'json'))) {\n throw new TypeError(\n 'You must supply a \"json\" property when providing an object ' +\n 'argument to JSONPath.evaluate().'\n );\n }\n ({json} = expr);\n flatten = hasOwnProp.call(expr, 'flatten') ? expr.flatten : flatten;\n this.currResultType = hasOwnProp.call(expr, 'resultType')\n ? expr.resultType\n : this.currResultType;\n this.currSandbox = hasOwnProp.call(expr, 'sandbox')\n ? expr.sandbox\n : this.currSandbox;\n wrap = hasOwnProp.call(expr, 'wrap') ? expr.wrap : wrap;\n this.currPreventEval = hasOwnProp.call(expr, 'preventEval')\n ? expr.preventEval\n : this.currPreventEval;\n callback = hasOwnProp.call(expr, 'callback') ? expr.callback : callback;\n this.currOtherTypeCallback = hasOwnProp.call(expr, 'otherTypeCallback')\n ? expr.otherTypeCallback\n : this.currOtherTypeCallback;\n currParent = hasOwnProp.call(expr, 'parent') ? expr.parent : currParent;\n currParentProperty = hasOwnProp.call(expr, 'parentProperty')\n ? expr.parentProperty\n : currParentProperty;\n expr = expr.path;\n }\n currParent = currParent || null;\n currParentProperty = currParentProperty || null;\n\n if (Array.isArray(expr)) {\n expr = JSONPath.toPathString(expr);\n }\n if ((!expr && expr !== '') || !json) {\n return undefined;\n }\n\n const exprList = JSONPath.toPathArray(expr);\n if (exprList[0] === '$' && exprList.length > 1) { exprList.shift(); }\n this._hasParentSelector = null;\n const result = this\n ._trace(\n exprList, json, ['$'], currParent, currParentProperty, callback\n )\n .filter(function (ea) { return ea && !ea.isParentSelector; });\n\n if (!result.length) { return wrap ? [] : undefined; }\n if (!wrap && result.length === 1 && !result[0].hasArrExpr) {\n return this._getPreferredOutput(result[0]);\n }\n return result.reduce((rslt, ea) => {\n const valOrPath = this._getPreferredOutput(ea);\n if (flatten && Array.isArray(valOrPath)) {\n rslt = rslt.concat(valOrPath);\n } else {\n rslt.push(valOrPath);\n }\n return rslt;\n }, []);\n};\n\n// PRIVATE METHODS\n\nJSONPath.prototype._getPreferredOutput = function (ea) {\n const resultType = this.currResultType;\n switch (resultType) {\n case 'all': {\n const path = Array.isArray(ea.path)\n ? ea.path\n : JSONPath.toPathArray(ea.path);\n ea.pointer = JSONPath.toPointer(path);\n ea.path = typeof ea.path === 'string'\n ? ea.path\n : JSONPath.toPathString(ea.path);\n return ea;\n } case 'value': case 'parent': case 'parentProperty':\n return ea[resultType];\n case 'path':\n return JSONPath.toPathString(ea[resultType]);\n case 'pointer':\n return JSONPath.toPointer(ea.path);\n default:\n throw new TypeError('Unknown result type');\n }\n};\n\nJSONPath.prototype._handleCallback = function (fullRetObj, callback, type) {\n if (callback) {\n const preferredOutput = this._getPreferredOutput(fullRetObj);\n fullRetObj.path = typeof fullRetObj.path === 'string'\n ? fullRetObj.path\n : JSONPath.toPathString(fullRetObj.path);\n // eslint-disable-next-line node/callback-return\n callback(preferredOutput, type, fullRetObj);\n }\n};\n\n/**\n *\n * @param {string} expr\n * @param {JSONObject} val\n * @param {string} path\n * @param {PlainObject|GenericArray} parent\n * @param {string} parentPropName\n * @param {JSONPathCallback} callback\n * @param {boolean} hasArrExpr\n * @param {boolean} literalPriority\n * @returns {ReturnObject|ReturnObject[]}\n */\nJSONPath.prototype._trace = function (\n expr, val, path, parent, parentPropName, callback, hasArrExpr,\n literalPriority\n) {\n // No expr to follow? return path and value as the result of\n // this trace branch\n let retObj;\n if (!expr.length) {\n retObj = {\n path,\n value: val,\n parent,\n parentProperty: parentPropName,\n hasArrExpr\n };\n this._handleCallback(retObj, callback, 'value');\n return retObj;\n }\n\n const loc = expr[0], x = expr.slice(1);\n\n // We need to gather the return value of recursive trace calls in order to\n // do the parent sel computation.\n const ret = [];\n /**\n *\n * @param {ReturnObject|ReturnObject[]} elems\n * @returns {void}\n */\n function addRet (elems) {\n if (Array.isArray(elems)) {\n // This was causing excessive stack size in Node (with or\n // without Babel) against our performance test:\n // `ret.push(...elems);`\n elems.forEach((t) => {\n ret.push(t);\n });\n } else {\n ret.push(elems);\n }\n }\n if ((typeof loc !== 'string' || literalPriority) && val &&\n hasOwnProp.call(val, loc)\n ) { // simple case--directly follow property\n addRet(this._trace(x, val[loc], push(path, loc), val, loc, callback,\n hasArrExpr));\n } else if (loc === '*') { // all child properties\n this._walk(\n loc, x, val, path, parent, parentPropName, callback,\n (m, l, _x, v, p, par, pr, cb) => {\n addRet(this._trace(unshift(m, _x), v, p, par, pr, cb,\n true, true));\n }\n );\n } else if (loc === '..') { // all descendent parent properties\n // Check remaining expression with val's immediate children\n addRet(\n this._trace(x, val, path, parent, parentPropName, callback,\n hasArrExpr)\n );\n this._walk(\n loc, x, val, path, parent, parentPropName, callback,\n (m, l, _x, v, p, par, pr, cb) => {\n // We don't join m and x here because we only want parents,\n // not scalar values\n if (typeof v[m] === 'object') {\n // Keep going with recursive descent on val's\n // object children\n addRet(this._trace(\n unshift(l, _x), v[m], push(p, m), v, m, cb, true\n ));\n }\n }\n );\n // The parent sel computation is handled in the frame above using the\n // ancestor object of val\n } else if (loc === '^') {\n // This is not a final endpoint, so we do not invoke the callback here\n this._hasParentSelector = true;\n return {\n path: path.slice(0, -1),\n expr: x,\n isParentSelector: true\n };\n } else if (loc === '~') { // property name\n retObj = {\n path: push(path, loc),\n value: parentPropName,\n parent,\n parentProperty: null\n };\n this._handleCallback(retObj, callback, 'property');\n return retObj;\n } else if (loc === '$') { // root only\n addRet(this._trace(x, val, path, null, null, callback, hasArrExpr));\n } else if ((/^(-?\\d*):(-?\\d*):?(\\d*)$/u).test(loc)) { // [start:end:step] Python slice syntax\n addRet(\n this._slice(loc, x, val, path, parent, parentPropName, callback)\n );\n } else if (loc.indexOf('?(') === 0) { // [?(expr)] (filtering)\n if (this.currPreventEval) {\n throw new Error('Eval [?(expr)] prevented in JSONPath expression.');\n }\n this._walk(\n loc, x, val, path, parent, parentPropName, callback,\n (m, l, _x, v, p, par, pr, cb) => {\n if (this._eval(l.replace(/^\\?\\((.*?)\\)$/u, '$1'), v[m], m, p, par, pr)) {\n addRet(this._trace(unshift(m, _x), v, p, par, pr, cb,\n true));\n }\n }\n );\n } else if (loc[0] === '(') { // [(expr)] (dynamic property/index)\n if (this.currPreventEval) {\n throw new Error('Eval [(expr)] prevented in JSONPath expression.');\n }\n // As this will resolve to a property name (but we don't know it\n // yet), property and parent information is relative to the\n // parent of the property to which this expression will resolve\n addRet(this._trace(unshift(\n this._eval(\n loc, val, path[path.length - 1],\n path.slice(0, -1), parent, parentPropName\n ),\n x\n ), val, path, parent, parentPropName, callback, hasArrExpr));\n } else if (loc[0] === '@') { // value type: @boolean(), etc.\n let addType = false;\n const valueType = loc.slice(1, -2);\n switch (valueType) {\n case 'scalar':\n if (!val || !(['object', 'function'].includes(typeof val))) {\n addType = true;\n }\n break;\n case 'boolean': case 'string': case 'undefined': case 'function':\n // eslint-disable-next-line valid-typeof\n if (typeof val === valueType) {\n addType = true;\n }\n break;\n case 'integer':\n if (Number.isFinite(val) && !(val % 1)) {\n addType = true;\n }\n break;\n case 'number':\n if (Number.isFinite(val)) {\n addType = true;\n }\n break;\n case 'nonFinite':\n if (typeof val === 'number' && !Number.isFinite(val)) {\n addType = true;\n }\n break;\n case 'object':\n // eslint-disable-next-line valid-typeof\n if (val && typeof val === valueType) {\n addType = true;\n }\n break;\n case 'array':\n if (Array.isArray(val)) {\n addType = true;\n }\n break;\n case 'other':\n addType = this.currOtherTypeCallback(\n val, path, parent, parentPropName\n );\n break;\n case 'null':\n if (val === null) {\n addType = true;\n }\n break;\n /* istanbul ignore next */\n default:\n throw new TypeError('Unknown value type ' + valueType);\n }\n if (addType) {\n retObj = {path, value: val, parent, parentProperty: parentPropName};\n this._handleCallback(retObj, callback, 'value');\n return retObj;\n }\n // `-escaped property\n } else if (loc[0] === '`' && val && hasOwnProp.call(val, loc.slice(1))) {\n const locProp = loc.slice(1);\n addRet(this._trace(\n x, val[locProp], push(path, locProp), val, locProp, callback,\n hasArrExpr, true\n ));\n } else if (loc.includes(',')) { // [name1,name2,...]\n const parts = loc.split(',');\n for (const part of parts) {\n addRet(this._trace(\n unshift(part, x), val, path, parent, parentPropName, callback,\n true\n ));\n }\n // simple case--directly follow property\n } else if (\n !literalPriority && val && hasOwnProp.call(val, loc)\n ) {\n addRet(\n this._trace(x, val[loc], push(path, loc), val, loc, callback,\n hasArrExpr, true)\n );\n }\n\n // We check the resulting values for parent selections. For parent\n // selections we discard the value object and continue the trace with the\n // current val object\n if (this._hasParentSelector) {\n for (let t = 0; t < ret.length; t++) {\n const rett = ret[t];\n if (rett && rett.isParentSelector) {\n const tmp = this._trace(\n rett.expr, val, rett.path, parent, parentPropName, callback,\n hasArrExpr\n );\n if (Array.isArray(tmp)) {\n ret[t] = tmp[0];\n const tl = tmp.length;\n for (let tt = 1; tt < tl; tt++) {\n t++;\n ret.splice(t, 0, tmp[tt]);\n }\n } else {\n ret[t] = tmp;\n }\n }\n }\n }\n return ret;\n};\n\nJSONPath.prototype._walk = function (\n loc, expr, val, path, parent, parentPropName, callback, f\n) {\n if (Array.isArray(val)) {\n const n = val.length;\n for (let i = 0; i < n; i++) {\n f(i, loc, expr, val, path, parent, parentPropName, callback);\n }\n } else if (val && typeof val === 'object') {\n Object.keys(val).forEach((m) => {\n f(m, loc, expr, val, path, parent, parentPropName, callback);\n });\n }\n};\n\nJSONPath.prototype._slice = function (\n loc, expr, val, path, parent, parentPropName, callback\n) {\n if (!Array.isArray(val)) { return undefined; }\n const len = val.length, parts = loc.split(':'),\n step = (parts[2] && Number.parseInt(parts[2])) || 1;\n let start = (parts[0] && Number.parseInt(parts[0])) || 0,\n end = (parts[1] && Number.parseInt(parts[1])) || len;\n start = (start < 0) ? Math.max(0, start + len) : Math.min(len, start);\n end = (end < 0) ? Math.max(0, end + len) : Math.min(len, end);\n const ret = [];\n for (let i = start; i < end; i += step) {\n const tmp = this._trace(\n unshift(i, expr), val, path, parent, parentPropName, callback, true\n );\n // Should only be possible to be an array here since first part of\n // ``unshift(i, expr)` passed in above would not be empty, nor `~`,\n // nor begin with `@` (as could return objects)\n // This was causing excessive stack size in Node (with or\n // without Babel) against our performance test: `ret.push(...tmp);`\n tmp.forEach((t) => {\n ret.push(t);\n });\n }\n return ret;\n};\n\nJSONPath.prototype._eval = function (\n code, _v, _vname, path, parent, parentPropName\n) {\n if (code.includes('@parentProperty')) {\n this.currSandbox._$_parentProperty = parentPropName;\n code = code.replace(/@parentProperty/gu, '_$_parentProperty');\n }\n if (code.includes('@parent')) {\n this.currSandbox._$_parent = parent;\n code = code.replace(/@parent/gu, '_$_parent');\n }\n if (code.includes('@property')) {\n this.currSandbox._$_property = _vname;\n code = code.replace(/@property/gu, '_$_property');\n }\n if (code.includes('@path')) {\n this.currSandbox._$_path = JSONPath.toPathString(path.concat([_vname]));\n code = code.replace(/@path/gu, '_$_path');\n }\n if (code.includes('@root')) {\n this.currSandbox._$_root = this.json;\n code = code.replace(/@root/gu, '_$_root');\n }\n if ((/@([.\\s)[])/u).test(code)) {\n this.currSandbox._$_v = _v;\n code = code.replace(/@([.\\s)[])/gu, '_$_v$1');\n }\n try {\n return this.vm.runInNewContext(code, this.currSandbox);\n } catch (e) {\n // eslint-disable-next-line no-console\n console.log(e);\n throw new Error('jsonPath: ' + e.message + ': ' + code);\n }\n};\n\n// PUBLIC CLASS PROPERTIES AND METHODS\n\n// Could store the cache object itself\nJSONPath.cache = {};\n\n/**\n * @param {string[]} pathArr Array to convert\n * @returns {string} The path string\n */\nJSONPath.toPathString = function (pathArr) {\n const x = pathArr, n = x.length;\n let p = '$';\n for (let i = 1; i < n; i++) {\n if (!(/^(~|\\^|@.*?\\(\\))$/u).test(x[i])) {\n p += (/^[0-9*]+$/u).test(x[i]) ? ('[' + x[i] + ']') : (\"['\" + x[i] + \"']\");\n }\n }\n return p;\n};\n\n/**\n * @param {string} pointer JSON Path\n * @returns {string} JSON Pointer\n */\nJSONPath.toPointer = function (pointer) {\n const x = pointer, n = x.length;\n let p = '';\n for (let i = 1; i < n; i++) {\n if (!(/^(~|\\^|@.*?\\(\\))$/u).test(x[i])) {\n p += '/' + x[i].toString()\n .replace(/~/gu, '~0')\n .replace(/\\//gu, '~1');\n }\n }\n return p;\n};\n\n/**\n * @param {string} expr Expression to convert\n * @returns {string[]}\n */\nJSONPath.toPathArray = function (expr) {\n const {cache} = JSONPath;\n if (cache[expr]) { return cache[expr].concat(); }\n const subx = [];\n const normalized = expr\n // Properties\n .replace(\n /@(?:null|boolean|number|string|integer|undefined|nonFinite|scalar|array|object|function|other)\\(\\)/gu,\n ';$&;'\n )\n // Parenthetical evaluations (filtering and otherwise), directly\n // within brackets or single quotes\n .replace(/[['](\\??\\(.*?\\))[\\]']/gu, function ($0, $1) {\n return '[#' + (subx.push($1) - 1) + ']';\n })\n // Escape periods and tildes within properties\n .replace(/\\['([^'\\]]*)'\\]/gu, function ($0, prop) {\n return \"['\" + prop\n .replace(/\\./gu, '%@%')\n .replace(/~/gu, '%%@@%%') +\n \"']\";\n })\n // Properties operator\n .replace(/~/gu, ';~;')\n // Split by property boundaries\n .replace(/'?\\.'?(?![^[]*\\])|\\['?/gu, ';')\n // Reinsert periods within properties\n .replace(/%@%/gu, '.')\n // Reinsert tildes within properties\n .replace(/%%@@%%/gu, '~')\n // Parent\n .replace(/(?:;)?(\\^+)(?:;)?/gu, function ($0, ups) {\n return ';' + ups.split('').join(';') + ';';\n })\n // Descendents\n .replace(/;;;|;;/gu, ';..;')\n // Remove trailing\n .replace(/;$|'?\\]|'$/gu, '');\n\n const exprList = normalized.split(';').map(function (exp) {\n const match = exp.match(/#(\\d+)/u);\n return !match || !match[1] ? exp : subx[match[1]];\n });\n cache[expr] = exprList;\n return cache[expr];\n};\n\nexport {JSONPath};\n","import {JSONPath} from './jsonpath.js';\n\n/**\n* @callback ConditionCallback\n* @param {any} item\n* @returns {boolean}\n*/\n\n/**\n * Copy items out of one array into another.\n * @param {GenericArray} source Array with items to copy\n * @param {GenericArray} target Array to which to copy\n * @param {ConditionCallback} conditionCb Callback passed the current item;\n * will move item if evaluates to `true`\n * @returns {void}\n */\nconst moveToAnotherArray = function (source, target, conditionCb) {\n const il = source.length;\n for (let i = 0; i < il; i++) {\n const item = source[i];\n if (conditionCb(item)) {\n target.push(source.splice(i--, 1)[0]);\n }\n }\n};\n\nJSONPath.prototype.vm = {\n /**\n * @param {string} expr Expression to evaluate\n * @param {PlainObject} context Object whose items will be added\n * to evaluation\n * @returns {any} Result of evaluated code\n */\n runInNewContext (expr, context) {\n const keys = Object.keys(context);\n const funcs = [];\n moveToAnotherArray(keys, funcs, (key) => {\n return typeof context[key] === 'function';\n });\n const values = keys.map((vr, i) => {\n return context[vr];\n });\n\n const funcString = funcs.reduce((s, func) => {\n let fString = context[func].toString();\n if (!(/function/u).test(fString)) {\n fString = 'function ' + fString;\n }\n return 'var ' + func + '=' + fString + ';' + s;\n }, '');\n\n expr = funcString + expr;\n\n // Mitigate http://perfectionkills.com/global-eval-what-are-the-options/#new_function\n if (!(/(['\"])use strict\\1/u).test(expr) &&\n !keys.includes('arguments')\n ) {\n expr = 'var arguments = undefined;' + expr;\n }\n\n // Remove last semi so `return` will be inserted before\n // the previous one instead, allowing for the return\n // of a bare ending expression\n expr = expr.replace(/;\\s*$/u, '');\n\n // Insert `return`\n const lastStatementEnd = expr.lastIndexOf(';');\n const code = (lastStatementEnd > -1\n ? expr.slice(0, lastStatementEnd + 1) +\n ' return ' + expr.slice(lastStatementEnd + 1)\n : ' return ' + expr);\n\n // eslint-disable-next-line no-new-func\n return (new Function(...keys, code))(...values);\n }\n};\n\nexport {JSONPath};\n"],"names":["hasOwnProp","Object","prototype","hasOwnProperty","push","arr","item","slice","unshift","NewError","Error","value","avoidNew","name","JSONPath","opts","expr","obj","callback","otherTypeCallback","this","e","optObj","_typeof","json","path","resultType","flatten","wrap","call","sandbox","preventEval","parent","parentProperty","TypeError","autostart","args","ret","evaluate","currParent","currParentProperty","currResultType","currPreventEval","currSandbox","currOtherTypeCallback","Array","isArray","toPathString","exprList","toPathArray","length","shift","_hasParentSelector","result","_trace","filter","ea","isParentSelector","hasArrExpr","reduce","rslt","valOrPath","_this2","_getPreferredOutput","concat","undefined","pointer","toPointer","_handleCallback","fullRetObj","type","preferredOutput","val","parentPropName","literalPriority","retObj","loc","x","addRet","elems","forEach","t","_walk","m","l","_x","v","p","par","pr","cb","_this3","test","_slice","indexOf","_eval","replace","addType","valueType","includes","Number","isFinite","locProp","split","part","rett","tmp","tl","tt","splice","f","n","i","keys","len","parts","step","parseInt","start","end","Math","max","min","code","_v","_vname","_$_parentProperty","_$_parent","_$_property","_$_path","_$_root","_$_v","vm","runInNewContext","console","log","message","cache","pathArr","toString","subx","$0","$1","prop","ups","join","map","exp","match","context","funcs","source","target","conditionCb","il","moveToAnotherArray","key","values","vr","funcString","s","func","fString","lastStatementEnd","lastIndexOf","_construct","Function"],"mappings":"+wEAEuB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mB1C,EAAMqC,GAAO,SAACM,SACE,mBAAjBP,EAAQO,UAEpBC,EAAS5C,EAAKiC,KAAI,SAACY,EAAI9C,UAClBqC,EAAQS,MAGbC,EAAaT,EAAM3F,QAAO,SAACqG,EAAGC,OAC5BC,EAAUb,EAAQY,GAAMtB,iBACtB,WAAa/C,KAAKsE,KACpBA,EAAU,YAAcA,GAErB,OAASD,EAAO,IAAMC,EAAU,IAAMF,IAC9C,IAKG,qBAAuBpE,KAH7B5E,EAAO+I,EAAa/I,IAIfiG,EAAKd,SAAS,eAEfnF,EAAO,6BAA+BA,OASpCmJ,GAHNnJ,EAAOA,EAAKgF,QAAQ,yEAAU,KAGAoE,YAAY,KACpCzC,EAAQwC,GAAoB,EAC5BnJ,EAAKT,MAAM,EAAG4J,EAAmB,GAC/B,WAAanJ,EAAKT,MAAM4J,EAAmB,GAC7C,WAAanJ,SAGZqJ,EAAKC,WAAYrD,WAAMU,oBAAUkC"} \ No newline at end of file +{"version":3,"file":"index-browser-esm.min.js","sources":["../src/jsonpath.js","../src/jsonpath-browser.js"],"sourcesContent":["/* eslint-disable unicorn/prefer-spread -- IIRC, Babel's performance\n with this not good */\nconst {hasOwnProperty: hasOwnProp} = Object.prototype;\n\n/**\n* @typedef {null|boolean|number|string|PlainObject|GenericArray} JSONObject\n*/\n\n/**\n * Copies array and then pushes item into it.\n * @param {GenericArray} arr Array to copy and into which to push\n * @param {any} item Array item to add (to end)\n * @returns {GenericArray} Copy of the original array\n */\nfunction push (arr, item) {\n arr = arr.slice();\n arr.push(item);\n return arr;\n}\n/**\n * Copies array and then unshifts item into it.\n * @param {any} item Array item to add (to beginning)\n * @param {GenericArray} arr Array to copy and into which to unshift\n * @returns {GenericArray} Copy of the original array\n */\nfunction unshift (item, arr) {\n arr = arr.slice();\n arr.unshift(item);\n return arr;\n}\n\n/**\n * Caught when JSONPath is used without `new` but rethrown if with `new`\n * @extends Error\n */\nclass NewError extends Error {\n /**\n * @param {any} value The evaluated scalar value\n */\n constructor (value) {\n super(\n 'JSONPath should not be called with \"new\" (it prevents return ' +\n 'of (unwrapped) scalar values)'\n );\n this.avoidNew = true;\n this.value = value;\n this.name = 'NewError';\n }\n}\n\n/**\n* @typedef {PlainObject} ReturnObject\n* @property {string} path\n* @property {JSONObject} value\n* @property {PlainObject|GenericArray} parent\n* @property {string} parentProperty\n*/\n\n/**\n* @callback JSONPathCallback\n* @param {string|PlainObject} preferredOutput\n* @param {\"value\"|\"property\"} type\n* @param {ReturnObject} fullRetObj\n* @returns {void}\n*/\n\n/**\n* @callback OtherTypeCallback\n* @param {JSONObject} val\n* @param {string} path\n* @param {PlainObject|GenericArray} parent\n* @param {string} parentPropName\n* @returns {boolean}\n*/\n\n/* eslint-disable max-len -- Can make multiline type after https://github.com/syavorsky/comment-parser/issues/109 */\n/**\n * @typedef {PlainObject} JSONPathOptions\n * @property {JSON} json\n * @property {string|string[]} path\n * @property {\"value\"|\"path\"|\"pointer\"|\"parent\"|\"parentProperty\"|\"all\"} [resultType=\"value\"]\n * @property {boolean} [flatten=false]\n * @property {boolean} [wrap=true]\n * @property {PlainObject} [sandbox={}]\n * @property {boolean} [preventEval=false]\n * @property {PlainObject|GenericArray|null} [parent=null]\n * @property {string|null} [parentProperty=null]\n * @property {JSONPathCallback} [callback]\n * @property {OtherTypeCallback} [otherTypeCallback] Defaults to\n * function which throws on encountering `@other`\n * @property {boolean} [autostart=true]\n */\n/* eslint-enable max-len -- Can make multiline type after https://github.com/syavorsky/comment-parser/issues/109 */\n\n/**\n * @param {string|JSONPathOptions} opts If a string, will be treated as `expr`\n * @param {string} [expr] JSON path to evaluate\n * @param {JSON} [obj] JSON object to evaluate against\n * @param {JSONPathCallback} [callback] Passed 3 arguments: 1) desired payload\n * per `resultType`, 2) `\"value\"|\"property\"`, 3) Full returned object with\n * all payloads\n * @param {OtherTypeCallback} [otherTypeCallback] If `@other()` is at the end\n * of one's query, this will be invoked with the value of the item, its\n * path, its parent, and its parent's property name, and it should return\n * a boolean indicating whether the supplied value belongs to the \"other\"\n * type or not (or it may handle transformations and return `false`).\n * @returns {JSONPath}\n * @class\n */\nfunction JSONPath (opts, expr, obj, callback, otherTypeCallback) {\n // eslint-disable-next-line no-restricted-syntax\n if (!(this instanceof JSONPath)) {\n try {\n return new JSONPath(opts, expr, obj, callback, otherTypeCallback);\n } catch (e) {\n if (!e.avoidNew) {\n throw e;\n }\n return e.value;\n }\n }\n\n if (typeof opts === 'string') {\n otherTypeCallback = callback;\n callback = obj;\n obj = expr;\n expr = opts;\n opts = null;\n }\n const optObj = opts && typeof opts === 'object';\n opts = opts || {};\n this.json = opts.json || obj;\n this.path = opts.path || expr;\n this.resultType = opts.resultType || 'value';\n this.flatten = opts.flatten || false;\n this.wrap = hasOwnProp.call(opts, 'wrap') ? opts.wrap : true;\n this.sandbox = opts.sandbox || {};\n this.preventEval = opts.preventEval || false;\n this.parent = opts.parent || null;\n this.parentProperty = opts.parentProperty || null;\n this.callback = opts.callback || callback || null;\n this.otherTypeCallback = opts.otherTypeCallback ||\n otherTypeCallback ||\n function () {\n throw new TypeError(\n 'You must supply an otherTypeCallback callback option ' +\n 'with the @other() operator.'\n );\n };\n\n if (opts.autostart !== false) {\n const args = {\n path: (optObj ? opts.path : expr)\n };\n if (!optObj) {\n args.json = obj;\n } else if ('json' in opts) {\n args.json = opts.json;\n }\n const ret = this.evaluate(args);\n if (!ret || typeof ret !== 'object') {\n throw new NewError(ret);\n }\n return ret;\n }\n}\n\n// PUBLIC METHODS\nJSONPath.prototype.evaluate = function (\n expr, json, callback, otherTypeCallback\n) {\n let currParent = this.parent,\n currParentProperty = this.parentProperty;\n let {flatten, wrap} = this;\n\n this.currResultType = this.resultType;\n this.currPreventEval = this.preventEval;\n this.currSandbox = this.sandbox;\n callback = callback || this.callback;\n this.currOtherTypeCallback = otherTypeCallback || this.otherTypeCallback;\n\n json = json || this.json;\n expr = expr || this.path;\n if (expr && typeof expr === 'object' && !Array.isArray(expr)) {\n if (!expr.path && expr.path !== '') {\n throw new TypeError(\n 'You must supply a \"path\" property when providing an object ' +\n 'argument to JSONPath.evaluate().'\n );\n }\n if (!(hasOwnProp.call(expr, 'json'))) {\n throw new TypeError(\n 'You must supply a \"json\" property when providing an object ' +\n 'argument to JSONPath.evaluate().'\n );\n }\n ({json} = expr);\n flatten = hasOwnProp.call(expr, 'flatten') ? expr.flatten : flatten;\n this.currResultType = hasOwnProp.call(expr, 'resultType')\n ? expr.resultType\n : this.currResultType;\n this.currSandbox = hasOwnProp.call(expr, 'sandbox')\n ? expr.sandbox\n : this.currSandbox;\n wrap = hasOwnProp.call(expr, 'wrap') ? expr.wrap : wrap;\n this.currPreventEval = hasOwnProp.call(expr, 'preventEval')\n ? expr.preventEval\n : this.currPreventEval;\n callback = hasOwnProp.call(expr, 'callback') ? expr.callback : callback;\n this.currOtherTypeCallback = hasOwnProp.call(expr, 'otherTypeCallback')\n ? expr.otherTypeCallback\n : this.currOtherTypeCallback;\n currParent = hasOwnProp.call(expr, 'parent') ? expr.parent : currParent;\n currParentProperty = hasOwnProp.call(expr, 'parentProperty')\n ? expr.parentProperty\n : currParentProperty;\n expr = expr.path;\n }\n currParent = currParent || null;\n currParentProperty = currParentProperty || null;\n\n if (Array.isArray(expr)) {\n expr = JSONPath.toPathString(expr);\n }\n if ((!expr && expr !== '') || !json) {\n return undefined;\n }\n\n const exprList = JSONPath.toPathArray(expr);\n if (exprList[0] === '$' && exprList.length > 1) { exprList.shift(); }\n this._hasParentSelector = null;\n const result = this\n ._trace(\n exprList, json, ['$'], currParent, currParentProperty, callback\n )\n .filter(function (ea) { return ea && !ea.isParentSelector; });\n\n if (!result.length) { return wrap ? [] : undefined; }\n if (!wrap && result.length === 1 && !result[0].hasArrExpr) {\n return this._getPreferredOutput(result[0]);\n }\n return result.reduce((rslt, ea) => {\n const valOrPath = this._getPreferredOutput(ea);\n if (flatten && Array.isArray(valOrPath)) {\n rslt = rslt.concat(valOrPath);\n } else {\n rslt.push(valOrPath);\n }\n return rslt;\n }, []);\n};\n\n// PRIVATE METHODS\n\nJSONPath.prototype._getPreferredOutput = function (ea) {\n const resultType = this.currResultType;\n switch (resultType) {\n case 'all': {\n const path = Array.isArray(ea.path)\n ? ea.path\n : JSONPath.toPathArray(ea.path);\n ea.pointer = JSONPath.toPointer(path);\n ea.path = typeof ea.path === 'string'\n ? ea.path\n : JSONPath.toPathString(ea.path);\n return ea;\n } case 'value': case 'parent': case 'parentProperty':\n return ea[resultType];\n case 'path':\n return JSONPath.toPathString(ea[resultType]);\n case 'pointer':\n return JSONPath.toPointer(ea.path);\n default:\n throw new TypeError('Unknown result type');\n }\n};\n\nJSONPath.prototype._handleCallback = function (fullRetObj, callback, type) {\n if (callback) {\n const preferredOutput = this._getPreferredOutput(fullRetObj);\n fullRetObj.path = typeof fullRetObj.path === 'string'\n ? fullRetObj.path\n : JSONPath.toPathString(fullRetObj.path);\n // eslint-disable-next-line node/callback-return\n callback(preferredOutput, type, fullRetObj);\n }\n};\n\n/**\n *\n * @param {string} expr\n * @param {JSONObject} val\n * @param {string} path\n * @param {PlainObject|GenericArray} parent\n * @param {string} parentPropName\n * @param {JSONPathCallback} callback\n * @param {boolean} hasArrExpr\n * @param {boolean} literalPriority\n * @returns {ReturnObject|ReturnObject[]}\n */\nJSONPath.prototype._trace = function (\n expr, val, path, parent, parentPropName, callback, hasArrExpr,\n literalPriority\n) {\n // No expr to follow? return path and value as the result of\n // this trace branch\n let retObj;\n if (!expr.length) {\n retObj = {\n path,\n value: val,\n parent,\n parentProperty: parentPropName,\n hasArrExpr\n };\n this._handleCallback(retObj, callback, 'value');\n return retObj;\n }\n\n const loc = expr[0], x = expr.slice(1);\n\n // We need to gather the return value of recursive trace calls in order to\n // do the parent sel computation.\n const ret = [];\n /**\n *\n * @param {ReturnObject|ReturnObject[]} elems\n * @returns {void}\n */\n function addRet (elems) {\n if (Array.isArray(elems)) {\n // This was causing excessive stack size in Node (with or\n // without Babel) against our performance test:\n // `ret.push(...elems);`\n elems.forEach((t) => {\n ret.push(t);\n });\n } else {\n ret.push(elems);\n }\n }\n if ((typeof loc !== 'string' || literalPriority) && val &&\n hasOwnProp.call(val, loc)\n ) { // simple case--directly follow property\n addRet(this._trace(x, val[loc], push(path, loc), val, loc, callback,\n hasArrExpr));\n } else if (loc === '*') { // all child properties\n this._walk(\n loc, x, val, path, parent, parentPropName, callback,\n (m, l, _x, v, p, par, pr, cb) => {\n addRet(this._trace(unshift(m, _x), v, p, par, pr, cb,\n true, true));\n }\n );\n } else if (loc === '..') { // all descendent parent properties\n // Check remaining expression with val's immediate children\n addRet(\n this._trace(x, val, path, parent, parentPropName, callback,\n hasArrExpr)\n );\n this._walk(\n loc, x, val, path, parent, parentPropName, callback,\n (m, l, _x, v, p, par, pr, cb) => {\n // We don't join m and x here because we only want parents,\n // not scalar values\n if (typeof v[m] === 'object') {\n // Keep going with recursive descent on val's\n // object children\n addRet(this._trace(\n unshift(l, _x), v[m], push(p, m), v, m, cb, true\n ));\n }\n }\n );\n // The parent sel computation is handled in the frame above using the\n // ancestor object of val\n } else if (loc === '^') {\n // This is not a final endpoint, so we do not invoke the callback here\n this._hasParentSelector = true;\n return {\n path: path.slice(0, -1),\n expr: x,\n isParentSelector: true\n };\n } else if (loc === '~') { // property name\n retObj = {\n path: push(path, loc),\n value: parentPropName,\n parent,\n parentProperty: null\n };\n this._handleCallback(retObj, callback, 'property');\n return retObj;\n } else if (loc === '$') { // root only\n addRet(this._trace(x, val, path, null, null, callback, hasArrExpr));\n } else if ((/^(-?\\d*):(-?\\d*):?(\\d*)$/u).test(loc)) { // [start:end:step] Python slice syntax\n addRet(\n this._slice(loc, x, val, path, parent, parentPropName, callback)\n );\n } else if (loc.indexOf('?(') === 0) { // [?(expr)] (filtering)\n if (this.currPreventEval) {\n throw new Error('Eval [?(expr)] prevented in JSONPath expression.');\n }\n this._walk(\n loc, x, val, path, parent, parentPropName, callback,\n (m, l, _x, v, p, par, pr, cb) => {\n if (this._eval(l.replace(/^\\?\\((.*?)\\)$/u, '$1'), v[m], m, p, par, pr)) {\n addRet(this._trace(unshift(m, _x), v, p, par, pr, cb,\n true));\n }\n }\n );\n } else if (loc[0] === '(') { // [(expr)] (dynamic property/index)\n if (this.currPreventEval) {\n throw new Error('Eval [(expr)] prevented in JSONPath expression.');\n }\n // As this will resolve to a property name (but we don't know it\n // yet), property and parent information is relative to the\n // parent of the property to which this expression will resolve\n addRet(this._trace(unshift(\n this._eval(\n loc, val, path[path.length - 1],\n path.slice(0, -1), parent, parentPropName\n ),\n x\n ), val, path, parent, parentPropName, callback, hasArrExpr));\n } else if (loc[0] === '@') { // value type: @boolean(), etc.\n let addType = false;\n const valueType = loc.slice(1, -2);\n switch (valueType) {\n case 'scalar':\n if (!val || !(['object', 'function'].includes(typeof val))) {\n addType = true;\n }\n break;\n case 'boolean': case 'string': case 'undefined': case 'function':\n // eslint-disable-next-line valid-typeof\n if (typeof val === valueType) {\n addType = true;\n }\n break;\n case 'integer':\n if (Number.isFinite(val) && !(val % 1)) {\n addType = true;\n }\n break;\n case 'number':\n if (Number.isFinite(val)) {\n addType = true;\n }\n break;\n case 'nonFinite':\n if (typeof val === 'number' && !Number.isFinite(val)) {\n addType = true;\n }\n break;\n case 'object':\n // eslint-disable-next-line valid-typeof\n if (val && typeof val === valueType) {\n addType = true;\n }\n break;\n case 'array':\n if (Array.isArray(val)) {\n addType = true;\n }\n break;\n case 'other':\n addType = this.currOtherTypeCallback(\n val, path, parent, parentPropName\n );\n break;\n case 'null':\n if (val === null) {\n addType = true;\n }\n break;\n /* istanbul ignore next */\n default:\n throw new TypeError('Unknown value type ' + valueType);\n }\n if (addType) {\n retObj = {path, value: val, parent, parentProperty: parentPropName};\n this._handleCallback(retObj, callback, 'value');\n return retObj;\n }\n // `-escaped property\n } else if (loc[0] === '`' && val && hasOwnProp.call(val, loc.slice(1))) {\n const locProp = loc.slice(1);\n addRet(this._trace(\n x, val[locProp], push(path, locProp), val, locProp, callback,\n hasArrExpr, true\n ));\n } else if (loc.includes(',')) { // [name1,name2,...]\n const parts = loc.split(',');\n for (const part of parts) {\n addRet(this._trace(\n unshift(part, x), val, path, parent, parentPropName, callback,\n true\n ));\n }\n // simple case--directly follow property\n } else if (\n !literalPriority && val && hasOwnProp.call(val, loc)\n ) {\n addRet(\n this._trace(x, val[loc], push(path, loc), val, loc, callback,\n hasArrExpr, true)\n );\n }\n\n // We check the resulting values for parent selections. For parent\n // selections we discard the value object and continue the trace with the\n // current val object\n if (this._hasParentSelector) {\n for (let t = 0; t < ret.length; t++) {\n const rett = ret[t];\n if (rett && rett.isParentSelector) {\n const tmp = this._trace(\n rett.expr, val, rett.path, parent, parentPropName, callback,\n hasArrExpr\n );\n if (Array.isArray(tmp)) {\n ret[t] = tmp[0];\n const tl = tmp.length;\n for (let tt = 1; tt < tl; tt++) {\n t++;\n ret.splice(t, 0, tmp[tt]);\n }\n } else {\n ret[t] = tmp;\n }\n }\n }\n }\n return ret;\n};\n\nJSONPath.prototype._walk = function (\n loc, expr, val, path, parent, parentPropName, callback, f\n) {\n if (Array.isArray(val)) {\n const n = val.length;\n for (let i = 0; i < n; i++) {\n f(i, loc, expr, val, path, parent, parentPropName, callback);\n }\n } else if (val && typeof val === 'object') {\n Object.keys(val).forEach((m) => {\n f(m, loc, expr, val, path, parent, parentPropName, callback);\n });\n }\n};\n\nJSONPath.prototype._slice = function (\n loc, expr, val, path, parent, parentPropName, callback\n) {\n if (!Array.isArray(val)) { return undefined; }\n const len = val.length, parts = loc.split(':'),\n step = (parts[2] && Number.parseInt(parts[2])) || 1;\n let start = (parts[0] && Number.parseInt(parts[0])) || 0,\n end = (parts[1] && Number.parseInt(parts[1])) || len;\n start = (start < 0) ? Math.max(0, start + len) : Math.min(len, start);\n end = (end < 0) ? Math.max(0, end + len) : Math.min(len, end);\n const ret = [];\n for (let i = start; i < end; i += step) {\n const tmp = this._trace(\n unshift(i, expr), val, path, parent, parentPropName, callback, true\n );\n // Should only be possible to be an array here since first part of\n // ``unshift(i, expr)` passed in above would not be empty, nor `~`,\n // nor begin with `@` (as could return objects)\n // This was causing excessive stack size in Node (with or\n // without Babel) against our performance test: `ret.push(...tmp);`\n tmp.forEach((t) => {\n ret.push(t);\n });\n }\n return ret;\n};\n\nJSONPath.prototype._eval = function (\n code, _v, _vname, path, parent, parentPropName\n) {\n if (code.includes('@parentProperty')) {\n this.currSandbox._$_parentProperty = parentPropName;\n code = code.replace(/@parentProperty/gu, '_$_parentProperty');\n }\n if (code.includes('@parent')) {\n this.currSandbox._$_parent = parent;\n code = code.replace(/@parent/gu, '_$_parent');\n }\n if (code.includes('@property')) {\n this.currSandbox._$_property = _vname;\n code = code.replace(/@property/gu, '_$_property');\n }\n if (code.includes('@path')) {\n this.currSandbox._$_path = JSONPath.toPathString(path.concat([_vname]));\n code = code.replace(/@path/gu, '_$_path');\n }\n if (code.includes('@root')) {\n this.currSandbox._$_root = this.json;\n code = code.replace(/@root/gu, '_$_root');\n }\n if ((/@([.\\s)[])/u).test(code)) {\n this.currSandbox._$_v = _v;\n code = code.replace(/@([.\\s)[])/gu, '_$_v$1');\n }\n try {\n return this.vm.runInNewContext(code, this.currSandbox);\n } catch (e) {\n // eslint-disable-next-line no-console\n console.log(e);\n throw new Error('jsonPath: ' + e.message + ': ' + code);\n }\n};\n\n// PUBLIC CLASS PROPERTIES AND METHODS\n\n// Could store the cache object itself\nJSONPath.cache = {};\n\n/**\n * @param {string[]} pathArr Array to convert\n * @returns {string} The path string\n */\nJSONPath.toPathString = function (pathArr) {\n const x = pathArr, n = x.length;\n let p = '$';\n for (let i = 1; i < n; i++) {\n if (!(/^(~|\\^|@.*?\\(\\))$/u).test(x[i])) {\n p += (/^[0-9*]+$/u).test(x[i]) ? ('[' + x[i] + ']') : (\"['\" + x[i] + \"']\");\n }\n }\n return p;\n};\n\n/**\n * @param {string} pointer JSON Path\n * @returns {string} JSON Pointer\n */\nJSONPath.toPointer = function (pointer) {\n const x = pointer, n = x.length;\n let p = '';\n for (let i = 1; i < n; i++) {\n if (!(/^(~|\\^|@.*?\\(\\))$/u).test(x[i])) {\n p += '/' + x[i].toString()\n .replace(/~/gu, '~0')\n .replace(/\\//gu, '~1');\n }\n }\n return p;\n};\n\n/**\n * @param {string} expr Expression to convert\n * @returns {string[]}\n */\nJSONPath.toPathArray = function (expr) {\n const {cache} = JSONPath;\n if (cache[expr]) { return cache[expr].concat(); }\n const subx = [];\n const normalized = expr\n // Properties\n .replace(\n /@(?:null|boolean|number|string|integer|undefined|nonFinite|scalar|array|object|function|other)\\(\\)/gu,\n ';$&;'\n )\n // Parenthetical evaluations (filtering and otherwise), directly\n // within brackets or single quotes\n .replace(/[['](\\??\\(.*?\\))[\\]']/gu, function ($0, $1) {\n return '[#' + (subx.push($1) - 1) + ']';\n })\n // Escape periods and tildes within properties\n .replace(/\\['([^'\\]]*)'\\]/gu, function ($0, prop) {\n return \"['\" + prop\n .replace(/\\./gu, '%@%')\n .replace(/~/gu, '%%@@%%') +\n \"']\";\n })\n // Properties operator\n .replace(/~/gu, ';~;')\n // Split by property boundaries\n .replace(/'?\\.'?(?![^[]*\\])|\\['?/gu, ';')\n // Reinsert periods within properties\n .replace(/%@%/gu, '.')\n // Reinsert tildes within properties\n .replace(/%%@@%%/gu, '~')\n // Parent\n .replace(/(?:;)?(\\^+)(?:;)?/gu, function ($0, ups) {\n return ';' + ups.split('').join(';') + ';';\n })\n // Descendents\n .replace(/;;;|;;/gu, ';..;')\n // Remove trailing\n .replace(/;$|'?\\]|'$/gu, '');\n\n const exprList = normalized.split(';').map(function (exp) {\n const match = exp.match(/#(\\d+)/u);\n return !match || !match[1] ? exp : subx[match[1]];\n });\n cache[expr] = exprList;\n return cache[expr];\n};\n\nexport {JSONPath};\n","import {JSONPath} from './jsonpath.js';\n\n/**\n* @callback ConditionCallback\n* @param {any} item\n* @returns {boolean}\n*/\n\n/**\n * Copy items out of one array into another.\n * @param {GenericArray} source Array with items to copy\n * @param {GenericArray} target Array to which to copy\n * @param {ConditionCallback} conditionCb Callback passed the current item;\n * will move item if evaluates to `true`\n * @returns {void}\n */\nconst moveToAnotherArray = function (source, target, conditionCb) {\n const il = source.length;\n for (let i = 0; i < il; i++) {\n const item = source[i];\n if (conditionCb(item)) {\n target.push(source.splice(i--, 1)[0]);\n }\n }\n};\n\nJSONPath.prototype.vm = {\n /**\n * @param {string} expr Expression to evaluate\n * @param {PlainObject} context Object whose items will be added\n * to evaluation\n * @returns {any} Result of evaluated code\n */\n runInNewContext (expr, context) {\n const keys = Object.keys(context);\n const funcs = [];\n moveToAnotherArray(keys, funcs, (key) => {\n return typeof context[key] === 'function';\n });\n const values = keys.map((vr, i) => {\n return context[vr];\n });\n\n const funcString = funcs.reduce((s, func) => {\n let fString = context[func].toString();\n if (!(/function/u).test(fString)) {\n fString = 'function ' + fString;\n }\n return 'var ' + func + '=' + fString + ';' + s;\n }, '');\n\n expr = funcString + expr;\n\n // Mitigate http://perfectionkills.com/global-eval-what-are-the-options/#new_function\n if (!(/(['\"])use strict\\1/u).test(expr) &&\n !keys.includes('arguments')\n ) {\n expr = 'var arguments = undefined;' + expr;\n }\n\n // Remove last semi so `return` will be inserted before\n // the previous one instead, allowing for the return\n // of a bare ending expression\n expr = expr.replace(/;\\s*$/u, '');\n\n // Insert `return`\n const lastStatementEnd = expr.lastIndexOf(';');\n const code = (lastStatementEnd > -1\n ? expr.slice(0, lastStatementEnd + 1) +\n ' return ' + expr.slice(lastStatementEnd + 1)\n : ' return ' + expr);\n\n // eslint-disable-next-line no-new-func\n return (new Function(...keys, code))(...values);\n }\n};\n\nexport {JSONPath};\n"],"names":["hasOwnProp","Object","prototype","hasOwnProperty","push","arr","item","slice","unshift","NewError","Error","value","avoidNew","name","JSONPath","opts","expr","obj","callback","otherTypeCallback","this","e","optObj","_typeof","json","path","resultType","flatten","wrap","call","sandbox","preventEval","parent","parentProperty","TypeError","autostart","args","ret","evaluate","currParent","currParentProperty","currResultType","currPreventEval","currSandbox","currOtherTypeCallback","Array","isArray","toPathString","exprList","toPathArray","length","shift","_hasParentSelector","result","_trace","filter","ea","isParentSelector","hasArrExpr","reduce","rslt","valOrPath","_this2","_getPreferredOutput","concat","undefined","pointer","toPointer","_handleCallback","fullRetObj","type","preferredOutput","val","parentPropName","literalPriority","retObj","loc","x","addRet","elems","forEach","t","_walk","m","l","_x","v","p","par","pr","cb","_this3","test","_slice","indexOf","_eval","replace","addType","valueType","includes","Number","isFinite","locProp","split","part","rett","tmp","tl","tt","splice","f","n","i","keys","len","parts","step","parseInt","start","end","Math","max","min","code","_v","_vname","_$_parentProperty","_$_parent","_$_property","_$_path","_$_root","_$_v","vm","runInNewContext","console","log","message","cache","pathArr","toString","subx","$0","$1","prop","ups","join","map","exp","match","context","funcs","source","target","conditionCb","il","moveToAnotherArray","key","values","vr","funcString","s","func","fString","lastStatementEnd","lastIndexOf","_construct","Function"],"mappings":"oxEAEuBA,EAAcC,OAAOC,UAArCC,eAYP,SAASC,EAAMC,EAAKC,UAChBD,EAAMA,EAAIE,SACNH,KAAKE,GACFD,EAQX,SAASG,EAASF,EAAMD,UACpBA,EAAMA,EAAIE,SACNC,QAAQF,GACLD,MAOLI,sPAAiBC,qLAINC,oIAEL,+FAGCC,UAAW,IACXD,MAAQA,IACRE,KAAO,yBA+DpB,SAASC,EAAUC,EAAMC,EAAMC,EAAKC,EAAUC,QAEpCC,gBAAgBN,cAEP,IAAIA,EAASC,EAAMC,EAAMC,EAAKC,EAAUC,GACjD,MAAOE,OACAA,EAAET,eACGS,SAEHA,EAAEV,MAIG,iBAATI,IACPI,EAAoBD,EACpBA,EAAWD,EACXA,EAAMD,EACNA,EAAOD,EACPA,EAAO,UAELO,EAASP,GAAwB,WAAhBQ,EAAOR,MAC9BA,EAAOA,GAAQ,QACVS,KAAOT,EAAKS,MAAQP,OACpBQ,KAAOV,EAAKU,MAAQT,OACpBU,WAAaX,EAAKW,YAAc,aAChCC,QAAUZ,EAAKY,UAAW,OAC1BC,MAAO5B,EAAW6B,KAAKd,EAAM,SAAUA,EAAKa,UAC5CE,QAAUf,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MAAM,IAAI0C,KAAK,KAAO,OAG1CjD,QAAQ,UAAY,QAEpBA,QAAQ,cAAgB,IAEDO,MAAM,KAAK2C,KAAI,SAAUC,OAC3CC,EAAQD,EAAIC,MAAM,oBAChBA,GAAUA,EAAM,GAAWR,EAAKQ,EAAM,IAAjBD,YAEjCV,EAAMzH,GAAQgC,EACPyF,EAAMzH,ICnqBjBF,EAASZ,UAAUkI,GAAK,CAOpBC,yBAAiBrH,EAAMqI,OACbpC,EAAOhH,OAAOgH,KAAKoC,GACnBC,EAAQ,IAnBK,SAAUC,EAAQC,EAAQC,WAC3CC,EAAKH,EAAOrG,OACT8D,EAAI,EAAGA,EAAI0C,EAAI1C,IAEhByC,EADSF,EAAOvC,KAEhBwC,EAAOpJ,KAAKmJ,EAAO1C,OAAOG,IAAK,GAAG,IAetC2C,CAAmB1C,EAAMqC,GAAO,SAACM,SACE,mBAAjBP,EAAQO,UAEpBC,EAAS5C,EAAKiC,KAAI,SAACY,EAAI9C,UAClBqC,EAAQS,MAGbC,EAAaT,EAAM3F,QAAO,SAACqG,EAAGC,OAC5BC,EAAUb,EAAQY,GAAMtB,iBACtB,WAAa/C,KAAKsE,KACpBA,EAAU,YAAcA,GAErB,OAASD,EAAO,IAAMC,EAAU,IAAMF,IAC9C,IAKG,qBAAuBpE,KAH7B5E,EAAO+I,EAAa/I,IAIfiG,EAAKd,SAAS,eAEfnF,EAAO,6BAA+BA,OASpCmJ,GAHNnJ,EAAOA,EAAKgF,QAAQ,yEAAU,KAGAoE,YAAY,KACpCzC,EAAQwC,GAAoB,EAC5BnJ,EAAKT,MAAM,EAAG4J,EAAmB,GAC/B,WAAanJ,EAAKT,MAAM4J,EAAmB,GAC7C,WAAanJ,SAGZqJ,EAAKC,WAAYrD,WAAMU,oBAAUkC"} \ No newline at end of file diff --git a/dist/index-browser-umd.js b/dist/index-browser-umd.js index 6bffddd..07e29eb 100644 --- a/dist/index-browser-umd.js +++ b/dist/index-browser-umd.js @@ -63,7 +63,7 @@ if (typeof Proxy === "function") return true; try { - Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); + Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; diff --git a/dist/index-browser-umd.min.js b/dist/index-browser-umd.min.js index 7b9ef90..e2420e7 100644 --- a/dist/index-browser-umd.min.js +++ b/dist/index-browser-umd.min.js @@ -1,2 +1,2 @@ -!function(t,r){"object"==typeof exports&&"undefined"!=typeof module?r(exports):"function"==typeof define&&define.amd?define(["exports"],r):r((t="undefined"!=typeof globalThis?globalThis:t||self).JSONPath={})}(this,(function(t){"use strict";function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function e(t){return(e=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function n(t,r){return(n=Object.setPrototypeOf||function(t,r){return t.__proto__=r,t})(t,r)}function a(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}function o(t,r,e){return(o=a()?Reflect.construct:function(t,r,e){var a=[null];a.push.apply(a,r);var o=new(Function.bind.apply(t,a));return e&&n(o,e.prototype),o}).apply(null,arguments)}function u(t){var r="function"==typeof Map?new Map:void 0;return(u=function(t){if(null===t||(a=t,-1===Function.toString.call(a).indexOf("[native code]")))return t;var a;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==r){if(r.has(t))return r.get(t);r.set(t,u)}function u(){return o(t,arguments,e(this).constructor)}return u.prototype=Object.create(t.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),n(u,t)})(t)}function i(t,r){return!r||"object"!=typeof r&&"function"!=typeof r?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):r}function c(t){return function(t){if(Array.isArray(t))return s(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||l(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function l(t,r){if(t){if("string"==typeof t)return s(t,r);var e=Object.prototype.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?s(t,r):void 0}}function s(t,r){(null==r||r>t.length)&&(r=t.length);for(var e=0,n=new Array(r);e1&&s.shift(),this._hasParentSelector=null;var h=this._trace(s,e,["$"],u,i,n).filter((function(t){return t&&!t.isParentSelector}));return h.length?l||1!==h.length||h[0].hasArrExpr?h.reduce((function(t,r){var e=o._getPreferredOutput(r);return c&&Array.isArray(e)?t=t.concat(e):t.push(e),t}),[]):this._getPreferredOutput(h[0]):l?[]:void 0}},v.prototype._getPreferredOutput=function(t){var r=this.currResultType;switch(r){case"all":var e=Array.isArray(t.path)?t.path:v.toPathArray(t.path);return t.pointer=v.toPointer(e),t.path="string"==typeof t.path?t.path:v.toPathString(t.path),t;case"value":case"parent":case"parentProperty":return t[r];case"path":return v.toPathString(t[r]);case"pointer":return v.toPointer(t.path);default:throw new TypeError("Unknown result type")}},v.prototype._handleCallback=function(t,r,e){if(r){var n=this._getPreferredOutput(t);t.path="string"==typeof t.path?t.path:v.toPathString(t.path),r(n,e,t)}},v.prototype._trace=function(t,e,n,a,o,u,i,c){var s,y=this;if(!t.length)return s={path:n,value:e,parent:a,parentProperty:o,hasArrExpr:i},this._handleCallback(s,u,"value"),s;var v=t[0],b=t.slice(1),F=[];function d(t){Array.isArray(t)?t.forEach((function(t){F.push(t)})):F.push(t)}if(("string"!=typeof v||c)&&e&&p.call(e,v))d(this._trace(b,e[v],h(n,v),e,v,u,i));else if("*"===v)this._walk(v,b,e,n,a,o,u,(function(t,r,e,n,a,o,u,i){d(y._trace(f(t,e),n,a,o,u,i,!0,!0))}));else if(".."===v)d(this._trace(b,e,n,a,o,u,i)),this._walk(v,b,e,n,a,o,u,(function(t,e,n,a,o,u,i,c){"object"===r(a[t])&&d(y._trace(f(e,n),a[t],h(o,t),a,t,c,!0))}));else{if("^"===v)return this._hasParentSelector=!0,{path:n.slice(0,-1),expr:b,isParentSelector:!0};if("~"===v)return s={path:h(n,v),value:o,parent:a,parentProperty:null},this._handleCallback(s,u,"property"),s;if("$"===v)d(this._trace(b,e,n,null,null,u,i));else if(/^(\x2D?[0-9]*):(\x2D?[0-9]*):?([0-9]*)$/.test(v))d(this._slice(v,b,e,n,a,o,u));else if(0===v.indexOf("?(")){if(this.currPreventEval)throw new Error("Eval [?(expr)] prevented in JSONPath expression.");this._walk(v,b,e,n,a,o,u,(function(t,r,e,n,a,o,u,i){y._eval(r.replace(/^\?\(((?:[\0-\t\x0B\f\x0E-\u2027\u202A-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*?)\)$/,"$1"),n[t],t,a,o,u)&&d(y._trace(f(t,e),n,a,o,u,i,!0))}))}else if("("===v[0]){if(this.currPreventEval)throw new Error("Eval [(expr)] prevented in JSONPath expression.");d(this._trace(f(this._eval(v,e,n[n.length-1],n.slice(0,-1),a,o),b),e,n,a,o,u,i))}else if("@"===v[0]){var g=!1,_=v.slice(1,-2);switch(_){case"scalar":e&&["object","function"].includes(r(e))||(g=!0);break;case"boolean":case"string":case"undefined":case"function":r(e)===_&&(g=!0);break;case"integer":!Number.isFinite(e)||e%1||(g=!0);break;case"number":Number.isFinite(e)&&(g=!0);break;case"nonFinite":"number"!=typeof e||Number.isFinite(e)||(g=!0);break;case"object":e&&r(e)===_&&(g=!0);break;case"array":Array.isArray(e)&&(g=!0);break;case"other":g=this.currOtherTypeCallback(e,n,a,o);break;case"null":null===e&&(g=!0);break;default:throw new TypeError("Unknown value type "+_)}if(g)return s={path:n,value:e,parent:a,parentProperty:o},this._handleCallback(s,u,"value"),s}else if("`"===v[0]&&e&&p.call(e,v.slice(1))){var w=v.slice(1);d(this._trace(b,e[w],h(n,w),e,w,u,i,!0))}else if(v.includes(",")){var m,D=function(t,r){var e;if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(e=l(t))||r&&t&&"number"==typeof t.length){e&&(t=e);var n=0,a=function(){};return{s:a,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,u=!0,i=!1;return{s:function(){e=t[Symbol.iterator]()},n:function(){var t=e.next();return u=t.done,t},e:function(t){i=!0,o=t},f:function(){try{u||null==e.return||e.return()}finally{if(i)throw o}}}}(v.split(","));try{for(D.s();!(m=D.n()).done;){var P=m.value;d(this._trace(f(P,b),e,n,a,o,u,!0))}}catch(t){D.e(t)}finally{D.f()}}else!c&&e&&p.call(e,v)&&d(this._trace(b,e[v],h(n,v),e,v,u,i,!0))}if(this._hasParentSelector)for(var S=0;S-1?t.slice(0,i+1)+" return "+t.slice(i+1):" return "+t;return o(Function,c(e).concat([l])).apply(void 0,c(a))}},t.JSONPath=v,Object.defineProperty(t,"__esModule",{value:!0})})); +!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e((t="undefined"!=typeof globalThis?globalThis:t||self).JSONPath={})}(this,(function(t){"use strict";function e(t){return(e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function r(t){return(r=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function n(t,e){return(n=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function a(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}function o(t,e,r){return(o=a()?Reflect.construct:function(t,e,r){var a=[null];a.push.apply(a,e);var o=new(Function.bind.apply(t,a));return r&&n(o,r.prototype),o}).apply(null,arguments)}function u(t){var e="function"==typeof Map?new Map:void 0;return(u=function(t){if(null===t||(a=t,-1===Function.toString.call(a).indexOf("[native code]")))return t;var a;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==e){if(e.has(t))return e.get(t);e.set(t,u)}function u(){return o(t,arguments,r(this).constructor)}return u.prototype=Object.create(t.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),n(u,t)})(t)}function i(t,e){return!e||"object"!=typeof e&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function c(t){return function(t){if(Array.isArray(t))return s(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||l(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function l(t,e){if(t){if("string"==typeof t)return s(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?s(t,e):void 0}}function s(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r1&&s.shift(),this._hasParentSelector=null;var f=this._trace(s,r,["$"],u,i,n).filter((function(t){return t&&!t.isParentSelector}));return f.length?l||1!==f.length||f[0].hasArrExpr?f.reduce((function(t,e){var r=o._getPreferredOutput(e);return c&&Array.isArray(r)?t=t.concat(r):t.push(r),t}),[]):this._getPreferredOutput(f[0]):l?[]:void 0}},v.prototype._getPreferredOutput=function(t){var e=this.currResultType;switch(e){case"all":var r=Array.isArray(t.path)?t.path:v.toPathArray(t.path);return t.pointer=v.toPointer(r),t.path="string"==typeof t.path?t.path:v.toPathString(t.path),t;case"value":case"parent":case"parentProperty":return t[e];case"path":return v.toPathString(t[e]);case"pointer":return v.toPointer(t.path);default:throw new TypeError("Unknown result type")}},v.prototype._handleCallback=function(t,e,r){if(e){var n=this._getPreferredOutput(t);t.path="string"==typeof t.path?t.path:v.toPathString(t.path),e(n,r,t)}},v.prototype._trace=function(t,r,n,a,o,u,i,c){var s,y=this;if(!t.length)return s={path:n,value:r,parent:a,parentProperty:o,hasArrExpr:i},this._handleCallback(s,u,"value"),s;var v=t[0],b=t.slice(1),F=[];function d(t){Array.isArray(t)?t.forEach((function(t){F.push(t)})):F.push(t)}if(("string"!=typeof v||c)&&r&&p.call(r,v))d(this._trace(b,r[v],f(n,v),r,v,u,i));else if("*"===v)this._walk(v,b,r,n,a,o,u,(function(t,e,r,n,a,o,u,i){d(y._trace(h(t,r),n,a,o,u,i,!0,!0))}));else if(".."===v)d(this._trace(b,r,n,a,o,u,i)),this._walk(v,b,r,n,a,o,u,(function(t,r,n,a,o,u,i,c){"object"===e(a[t])&&d(y._trace(h(r,n),a[t],f(o,t),a,t,c,!0))}));else{if("^"===v)return this._hasParentSelector=!0,{path:n.slice(0,-1),expr:b,isParentSelector:!0};if("~"===v)return s={path:f(n,v),value:o,parent:a,parentProperty:null},this._handleCallback(s,u,"property"),s;if("$"===v)d(this._trace(b,r,n,null,null,u,i));else if(/^(\x2D?[0-9]*):(\x2D?[0-9]*):?([0-9]*)$/.test(v))d(this._slice(v,b,r,n,a,o,u));else if(0===v.indexOf("?(")){if(this.currPreventEval)throw new Error("Eval [?(expr)] prevented in JSONPath expression.");this._walk(v,b,r,n,a,o,u,(function(t,e,r,n,a,o,u,i){y._eval(e.replace(/^\?\(((?:[\0-\t\x0B\f\x0E-\u2027\u202A-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*?)\)$/,"$1"),n[t],t,a,o,u)&&d(y._trace(h(t,r),n,a,o,u,i,!0))}))}else if("("===v[0]){if(this.currPreventEval)throw new Error("Eval [(expr)] prevented in JSONPath expression.");d(this._trace(h(this._eval(v,r,n[n.length-1],n.slice(0,-1),a,o),b),r,n,a,o,u,i))}else if("@"===v[0]){var g=!1,_=v.slice(1,-2);switch(_){case"scalar":r&&["object","function"].includes(e(r))||(g=!0);break;case"boolean":case"string":case"undefined":case"function":e(r)===_&&(g=!0);break;case"integer":!Number.isFinite(r)||r%1||(g=!0);break;case"number":Number.isFinite(r)&&(g=!0);break;case"nonFinite":"number"!=typeof r||Number.isFinite(r)||(g=!0);break;case"object":r&&e(r)===_&&(g=!0);break;case"array":Array.isArray(r)&&(g=!0);break;case"other":g=this.currOtherTypeCallback(r,n,a,o);break;case"null":null===r&&(g=!0);break;default:throw new TypeError("Unknown value type "+_)}if(g)return s={path:n,value:r,parent:a,parentProperty:o},this._handleCallback(s,u,"value"),s}else if("`"===v[0]&&r&&p.call(r,v.slice(1))){var w=v.slice(1);d(this._trace(b,r[w],f(n,w),r,w,u,i,!0))}else if(v.includes(",")){var m,P=function(t,e){var r;if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(r=l(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,a=function(){};return{s:a,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,u=!0,i=!1;return{s:function(){r=t[Symbol.iterator]()},n:function(){var t=r.next();return u=t.done,t},e:function(t){i=!0,o=t},f:function(){try{u||null==r.return||r.return()}finally{if(i)throw o}}}}(v.split(","));try{for(P.s();!(m=P.n()).done;){var D=m.value;d(this._trace(h(D,b),r,n,a,o,u,!0))}}catch(t){P.e(t)}finally{P.f()}}else!c&&r&&p.call(r,v)&&d(this._trace(b,r[v],f(n,v),r,v,u,i,!0))}if(this._hasParentSelector)for(var x=0;x-1?t.slice(0,i+1)+" return "+t.slice(i+1):" return "+t;return o(Function,c(r).concat([l])).apply(void 0,c(a))}},t.JSONPath=v,Object.defineProperty(t,"__esModule",{value:!0})})); //# sourceMappingURL=index-browser-umd.min.js.map diff --git a/dist/index-browser-umd.min.js.map b/dist/index-browser-umd.min.js.map index 15c6de1..32bd0d1 100644 --- a/dist/index-browser-umd.min.js.map +++ b/dist/index-browser-umd.min.js.map @@ -1 +1 @@ -{"version":3,"file":"index-browser-umd.min.js","sources":["../src/jsonpath.js","../src/jsonpath-browser.js"],"sourcesContent":["/* eslint-disable unicorn/prefer-spread -- IIRC, Babel's performance\n with this not good */\nconst {hasOwnProperty: hasOwnProp} = Object.prototype;\n\n/**\n* @typedef {null|boolean|number|string|PlainObject|GenericArray} JSONObject\n*/\n\n/**\n * Copies array and then pushes item into it.\n * @param {GenericArray} arr Array to copy and into which to push\n * @param {any} item Array item to add (to end)\n * @returns {GenericArray} Copy of the original array\n */\nfunction push (arr, item) {\n arr = arr.slice();\n arr.push(item);\n return arr;\n}\n/**\n * Copies array and then unshifts item into it.\n * @param {any} item Array item to add (to beginning)\n * @param {GenericArray} arr Array to copy and into which to unshift\n * @returns {GenericArray} Copy of the original array\n */\nfunction unshift (item, arr) {\n arr = arr.slice();\n arr.unshift(item);\n return arr;\n}\n\n/**\n * Caught when JSONPath is used without `new` but rethrown if with `new`\n * @extends Error\n */\nclass NewError extends Error {\n /**\n * @param {any} value The evaluated scalar value\n */\n constructor (value) {\n super(\n 'JSONPath should not be called with \"new\" (it prevents return ' +\n 'of (unwrapped) scalar values)'\n );\n this.avoidNew = true;\n this.value = value;\n this.name = 'NewError';\n }\n}\n\n/**\n* @typedef {PlainObject} ReturnObject\n* @property {string} path\n* @property {JSONObject} value\n* @property {PlainObject|GenericArray} parent\n* @property {string} parentProperty\n*/\n\n/**\n* @callback JSONPathCallback\n* @param {string|PlainObject} preferredOutput\n* @param {\"value\"|\"property\"} type\n* @param {ReturnObject} fullRetObj\n* @returns {void}\n*/\n\n/**\n* @callback OtherTypeCallback\n* @param {JSONObject} val\n* @param {string} path\n* @param {PlainObject|GenericArray} parent\n* @param {string} parentPropName\n* @returns {boolean}\n*/\n\n/* eslint-disable max-len -- Can make multiline type after https://github.com/syavorsky/comment-parser/issues/109 */\n/**\n * @typedef {PlainObject} JSONPathOptions\n * @property {JSON} json\n * @property {string|string[]} path\n * @property {\"value\"|\"path\"|\"pointer\"|\"parent\"|\"parentProperty\"|\"all\"} [resultType=\"value\"]\n * @property {boolean} [flatten=false]\n * @property {boolean} [wrap=true]\n * @property {PlainObject} [sandbox={}]\n * @property {boolean} [preventEval=false]\n * @property {PlainObject|GenericArray|null} [parent=null]\n * @property {string|null} [parentProperty=null]\n * @property {JSONPathCallback} [callback]\n * @property {OtherTypeCallback} [otherTypeCallback] Defaults to\n * function which throws on encountering `@other`\n * @property {boolean} [autostart=true]\n */\n/* eslint-enable max-len -- Can make multiline type after https://github.com/syavorsky/comment-parser/issues/109 */\n\n/**\n * @param {string|JSONPathOptions} opts If a string, will be treated as `expr`\n * @param {string} [expr] JSON path to evaluate\n * @param {JSON} [obj] JSON object to evaluate against\n * @param {JSONPathCallback} [callback] Passed 3 arguments: 1) desired payload\n * per `resultType`, 2) `\"value\"|\"property\"`, 3) Full returned object with\n * all payloads\n * @param {OtherTypeCallback} [otherTypeCallback] If `@other()` is at the end\n * of one's query, this will be invoked with the value of the item, its\n * path, its parent, and its parent's property name, and it should return\n * a boolean indicating whether the supplied value belongs to the \"other\"\n * type or not (or it may handle transformations and return `false`).\n * @returns {JSONPath}\n * @class\n */\nfunction JSONPath (opts, expr, obj, callback, otherTypeCallback) {\n // eslint-disable-next-line no-restricted-syntax\n if (!(this instanceof JSONPath)) {\n try {\n return new JSONPath(opts, expr, obj, callback, otherTypeCallback);\n } catch (e) {\n if (!e.avoidNew) {\n throw e;\n }\n return e.value;\n }\n }\n\n if (typeof opts === 'string') {\n otherTypeCallback = callback;\n callback = obj;\n obj = expr;\n expr = opts;\n opts = null;\n }\n const optObj = opts && typeof opts === 'object';\n opts = opts || {};\n this.json = opts.json || obj;\n this.path = opts.path || expr;\n this.resultType = opts.resultType || 'value';\n this.flatten = opts.flatten || false;\n this.wrap = hasOwnProp.call(opts, 'wrap') ? opts.wrap : true;\n this.sandbox = opts.sandbox || {};\n this.preventEval = opts.preventEval || false;\n this.parent = opts.parent || null;\n this.parentProperty = opts.parentProperty || null;\n this.callback = opts.callback || callback || null;\n this.otherTypeCallback = opts.otherTypeCallback ||\n otherTypeCallback ||\n function () {\n throw new TypeError(\n 'You must supply an otherTypeCallback callback option ' +\n 'with the @other() operator.'\n );\n };\n\n if (opts.autostart !== false) {\n const args = {\n path: (optObj ? opts.path : expr)\n };\n if (!optObj) {\n args.json = obj;\n } else if ('json' in opts) {\n args.json = opts.json;\n }\n const ret = this.evaluate(args);\n if (!ret || typeof ret !== 'object') {\n throw new NewError(ret);\n }\n return ret;\n }\n}\n\n// PUBLIC METHODS\nJSONPath.prototype.evaluate = function (\n expr, json, callback, otherTypeCallback\n) {\n let currParent = this.parent,\n currParentProperty = this.parentProperty;\n let {flatten, wrap} = this;\n\n this.currResultType = this.resultType;\n this.currPreventEval = this.preventEval;\n this.currSandbox = this.sandbox;\n callback = callback || this.callback;\n this.currOtherTypeCallback = otherTypeCallback || this.otherTypeCallback;\n\n json = json || this.json;\n expr = expr || this.path;\n if (expr && typeof expr === 'object' && !Array.isArray(expr)) {\n if (!expr.path && expr.path !== '') {\n throw new TypeError(\n 'You must supply a \"path\" property when providing an object ' +\n 'argument to JSONPath.evaluate().'\n );\n }\n if (!(hasOwnProp.call(expr, 'json'))) {\n throw new TypeError(\n 'You must supply a \"json\" property when providing an object ' +\n 'argument to JSONPath.evaluate().'\n );\n }\n ({json} = expr);\n flatten = hasOwnProp.call(expr, 'flatten') ? expr.flatten : flatten;\n this.currResultType = hasOwnProp.call(expr, 'resultType')\n ? expr.resultType\n : this.currResultType;\n this.currSandbox = hasOwnProp.call(expr, 'sandbox')\n ? expr.sandbox\n : this.currSandbox;\n wrap = hasOwnProp.call(expr, 'wrap') ? expr.wrap : wrap;\n this.currPreventEval = hasOwnProp.call(expr, 'preventEval')\n ? expr.preventEval\n : this.currPreventEval;\n callback = hasOwnProp.call(expr, 'callback') ? expr.callback : callback;\n this.currOtherTypeCallback = hasOwnProp.call(expr, 'otherTypeCallback')\n ? expr.otherTypeCallback\n : this.currOtherTypeCallback;\n currParent = hasOwnProp.call(expr, 'parent') ? expr.parent : currParent;\n currParentProperty = hasOwnProp.call(expr, 'parentProperty')\n ? expr.parentProperty\n : currParentProperty;\n expr = expr.path;\n }\n currParent = currParent || null;\n currParentProperty = currParentProperty || null;\n\n if (Array.isArray(expr)) {\n expr = JSONPath.toPathString(expr);\n }\n if ((!expr && expr !== '') || !json) {\n return undefined;\n }\n\n const exprList = JSONPath.toPathArray(expr);\n if (exprList[0] === '$' && exprList.length > 1) { exprList.shift(); }\n this._hasParentSelector = null;\n const result = this\n ._trace(\n exprList, json, ['$'], currParent, currParentProperty, callback\n )\n .filter(function (ea) { return ea && !ea.isParentSelector; });\n\n if (!result.length) { return wrap ? [] : undefined; }\n if (!wrap && result.length === 1 && !result[0].hasArrExpr) {\n return this._getPreferredOutput(result[0]);\n }\n return result.reduce((rslt, ea) => {\n const valOrPath = this._getPreferredOutput(ea);\n if (flatten && Array.isArray(valOrPath)) {\n rslt = rslt.concat(valOrPath);\n } else {\n rslt.push(valOrPath);\n }\n return rslt;\n }, []);\n};\n\n// PRIVATE METHODS\n\nJSONPath.prototype._getPreferredOutput = function (ea) {\n const resultType = this.currResultType;\n switch (resultType) {\n case 'all': {\n const path = Array.isArray(ea.path)\n ? ea.path\n : JSONPath.toPathArray(ea.path);\n ea.pointer = JSONPath.toPointer(path);\n ea.path = typeof ea.path === 'string'\n ? ea.path\n : JSONPath.toPathString(ea.path);\n return ea;\n } case 'value': case 'parent': case 'parentProperty':\n return ea[resultType];\n case 'path':\n return JSONPath.toPathString(ea[resultType]);\n case 'pointer':\n return JSONPath.toPointer(ea.path);\n default:\n throw new TypeError('Unknown result type');\n }\n};\n\nJSONPath.prototype._handleCallback = function (fullRetObj, callback, type) {\n if (callback) {\n const preferredOutput = this._getPreferredOutput(fullRetObj);\n fullRetObj.path = typeof fullRetObj.path === 'string'\n ? fullRetObj.path\n : JSONPath.toPathString(fullRetObj.path);\n // eslint-disable-next-line node/callback-return\n callback(preferredOutput, type, fullRetObj);\n }\n};\n\n/**\n *\n * @param {string} expr\n * @param {JSONObject} val\n * @param {string} path\n * @param {PlainObject|GenericArray} parent\n * @param {string} parentPropName\n * @param {JSONPathCallback} callback\n * @param {boolean} hasArrExpr\n * @param {boolean} literalPriority\n * @returns {ReturnObject|ReturnObject[]}\n */\nJSONPath.prototype._trace = function (\n expr, val, path, parent, parentPropName, callback, hasArrExpr,\n literalPriority\n) {\n // No expr to follow? return path and value as the result of\n // this trace branch\n let retObj;\n if (!expr.length) {\n retObj = {\n path,\n value: val,\n parent,\n parentProperty: parentPropName,\n hasArrExpr\n };\n this._handleCallback(retObj, callback, 'value');\n return retObj;\n }\n\n const loc = expr[0], x = expr.slice(1);\n\n // We need to gather the return value of recursive trace calls in order to\n // do the parent sel computation.\n const ret = [];\n /**\n *\n * @param {ReturnObject|ReturnObject[]} elems\n * @returns {void}\n */\n function addRet (elems) {\n if (Array.isArray(elems)) {\n // This was causing excessive stack size in Node (with or\n // without Babel) against our performance test:\n // `ret.push(...elems);`\n elems.forEach((t) => {\n ret.push(t);\n });\n } else {\n ret.push(elems);\n }\n }\n if ((typeof loc !== 'string' || literalPriority) && val &&\n hasOwnProp.call(val, loc)\n ) { // simple case--directly follow property\n addRet(this._trace(x, val[loc], push(path, loc), val, loc, callback,\n hasArrExpr));\n } else if (loc === '*') { // all child properties\n this._walk(\n loc, x, val, path, parent, parentPropName, callback,\n (m, l, _x, v, p, par, pr, cb) => {\n addRet(this._trace(unshift(m, _x), v, p, par, pr, cb,\n true, true));\n }\n );\n } else if (loc === '..') { // all descendent parent properties\n // Check remaining expression with val's immediate children\n addRet(\n this._trace(x, val, path, parent, parentPropName, callback,\n hasArrExpr)\n );\n this._walk(\n loc, x, val, path, parent, parentPropName, callback,\n (m, l, _x, v, p, par, pr, cb) => {\n // We don't join m and x here because we only want parents,\n // not scalar values\n if (typeof v[m] === 'object') {\n // Keep going with recursive descent on val's\n // object children\n addRet(this._trace(\n unshift(l, _x), v[m], push(p, m), v, m, cb, true\n ));\n }\n }\n );\n // The parent sel computation is handled in the frame above using the\n // ancestor object of val\n } else if (loc === '^') {\n // This is not a final endpoint, so we do not invoke the callback here\n this._hasParentSelector = true;\n return {\n path: path.slice(0, -1),\n expr: x,\n isParentSelector: true\n };\n } else if (loc === '~') { // property name\n retObj = {\n path: push(path, loc),\n value: parentPropName,\n parent,\n parentProperty: null\n };\n this._handleCallback(retObj, callback, 'property');\n return retObj;\n } else if (loc === '$') { // root only\n addRet(this._trace(x, val, path, null, null, callback, hasArrExpr));\n } else if ((/^(-?\\d*):(-?\\d*):?(\\d*)$/u).test(loc)) { // [start:end:step] Python slice syntax\n addRet(\n this._slice(loc, x, val, path, parent, parentPropName, callback)\n );\n } else if (loc.indexOf('?(') === 0) { // [?(expr)] (filtering)\n if (this.currPreventEval) {\n throw new Error('Eval [?(expr)] prevented in JSONPath expression.');\n }\n this._walk(\n loc, x, val, path, parent, parentPropName, callback,\n (m, l, _x, v, p, par, pr, cb) => {\n if (this._eval(l.replace(/^\\?\\((.*?)\\)$/u, '$1'), v[m], m, p, par, pr)) {\n addRet(this._trace(unshift(m, _x), v, p, par, pr, cb,\n true));\n }\n }\n );\n } else if (loc[0] === '(') { // [(expr)] (dynamic property/index)\n if (this.currPreventEval) {\n throw new Error('Eval [(expr)] prevented in JSONPath expression.');\n }\n // As this will resolve to a property name (but we don't know it\n // yet), property and parent information is relative to the\n // parent of the property to which this expression will resolve\n addRet(this._trace(unshift(\n this._eval(\n loc, val, path[path.length - 1],\n path.slice(0, -1), parent, parentPropName\n ),\n x\n ), val, path, parent, parentPropName, callback, hasArrExpr));\n } else if (loc[0] === '@') { // value type: @boolean(), etc.\n let addType = false;\n const valueType = loc.slice(1, -2);\n switch (valueType) {\n case 'scalar':\n if (!val || !(['object', 'function'].includes(typeof val))) {\n addType = true;\n }\n break;\n case 'boolean': case 'string': case 'undefined': case 'function':\n // eslint-disable-next-line valid-typeof\n if (typeof val === valueType) {\n addType = true;\n }\n break;\n case 'integer':\n if (Number.isFinite(val) && !(val % 1)) {\n addType = true;\n }\n break;\n case 'number':\n if (Number.isFinite(val)) {\n addType = true;\n }\n break;\n case 'nonFinite':\n if (typeof val === 'number' && !Number.isFinite(val)) {\n addType = true;\n }\n break;\n case 'object':\n // eslint-disable-next-line valid-typeof\n if (val && typeof val === valueType) {\n addType = true;\n }\n break;\n case 'array':\n if (Array.isArray(val)) {\n addType = true;\n }\n break;\n case 'other':\n addType = this.currOtherTypeCallback(\n val, path, parent, parentPropName\n );\n break;\n case 'null':\n if (val === null) {\n addType = true;\n }\n break;\n /* istanbul ignore next */\n default:\n throw new TypeError('Unknown value type ' + valueType);\n }\n if (addType) {\n retObj = {path, value: val, parent, parentProperty: parentPropName};\n this._handleCallback(retObj, callback, 'value');\n return retObj;\n }\n // `-escaped property\n } else if (loc[0] === '`' && val && hasOwnProp.call(val, loc.slice(1))) {\n const locProp = loc.slice(1);\n addRet(this._trace(\n x, val[locProp], push(path, locProp), val, locProp, callback,\n hasArrExpr, true\n ));\n } else if (loc.includes(',')) { // [name1,name2,...]\n const parts = loc.split(',');\n for (const part of parts) {\n addRet(this._trace(\n unshift(part, x), val, path, parent, parentPropName, callback,\n true\n ));\n }\n // simple case--directly follow property\n } else if (\n !literalPriority && val && hasOwnProp.call(val, loc)\n ) {\n addRet(\n this._trace(x, val[loc], push(path, loc), val, loc, callback,\n hasArrExpr, true)\n );\n }\n\n // We check the resulting values for parent selections. For parent\n // selections we discard the value object and continue the trace with the\n // current val object\n if (this._hasParentSelector) {\n for (let t = 0; t < ret.length; t++) {\n const rett = ret[t];\n if (rett && rett.isParentSelector) {\n const tmp = this._trace(\n rett.expr, val, rett.path, parent, parentPropName, callback,\n hasArrExpr\n );\n if (Array.isArray(tmp)) {\n ret[t] = tmp[0];\n const tl = tmp.length;\n for (let tt = 1; tt < tl; tt++) {\n t++;\n ret.splice(t, 0, tmp[tt]);\n }\n } else {\n ret[t] = tmp;\n }\n }\n }\n }\n return ret;\n};\n\nJSONPath.prototype._walk = function (\n loc, expr, val, path, parent, parentPropName, callback, f\n) {\n if (Array.isArray(val)) {\n const n = val.length;\n for (let i = 0; i < n; i++) {\n f(i, loc, expr, val, path, parent, parentPropName, callback);\n }\n } else if (val && typeof val === 'object') {\n Object.keys(val).forEach((m) => {\n f(m, loc, expr, val, path, parent, parentPropName, callback);\n });\n }\n};\n\nJSONPath.prototype._slice = function (\n loc, expr, val, path, parent, parentPropName, callback\n) {\n if (!Array.isArray(val)) { return undefined; }\n const len = val.length, parts = loc.split(':'),\n step = (parts[2] && Number.parseInt(parts[2])) || 1;\n let start = (parts[0] && Number.parseInt(parts[0])) || 0,\n end = (parts[1] && Number.parseInt(parts[1])) || len;\n start = (start < 0) ? Math.max(0, start + len) : Math.min(len, start);\n end = (end < 0) ? Math.max(0, end + len) : Math.min(len, end);\n const ret = [];\n for (let i = start; i < end; i += step) {\n const tmp = this._trace(\n unshift(i, expr), val, path, parent, parentPropName, callback, true\n );\n // Should only be possible to be an array here since first part of\n // ``unshift(i, expr)` passed in above would not be empty, nor `~`,\n // nor begin with `@` (as could return objects)\n // This was causing excessive stack size in Node (with or\n // without Babel) against our performance test: `ret.push(...tmp);`\n tmp.forEach((t) => {\n ret.push(t);\n });\n }\n return ret;\n};\n\nJSONPath.prototype._eval = function (\n code, _v, _vname, path, parent, parentPropName\n) {\n if (code.includes('@parentProperty')) {\n this.currSandbox._$_parentProperty = parentPropName;\n code = code.replace(/@parentProperty/gu, '_$_parentProperty');\n }\n if (code.includes('@parent')) {\n this.currSandbox._$_parent = parent;\n code = code.replace(/@parent/gu, '_$_parent');\n }\n if (code.includes('@property')) {\n this.currSandbox._$_property = _vname;\n code = code.replace(/@property/gu, '_$_property');\n }\n if (code.includes('@path')) {\n this.currSandbox._$_path = JSONPath.toPathString(path.concat([_vname]));\n code = code.replace(/@path/gu, '_$_path');\n }\n if (code.includes('@root')) {\n this.currSandbox._$_root = this.json;\n code = code.replace(/@root/gu, '_$_root');\n }\n if ((/@([.\\s)[])/u).test(code)) {\n this.currSandbox._$_v = _v;\n code = code.replace(/@([.\\s)[])/gu, '_$_v$1');\n }\n try {\n return this.vm.runInNewContext(code, this.currSandbox);\n } catch (e) {\n // eslint-disable-next-line no-console\n console.log(e);\n throw new Error('jsonPath: ' + e.message + ': ' + code);\n }\n};\n\n// PUBLIC CLASS PROPERTIES AND METHODS\n\n// Could store the cache object itself\nJSONPath.cache = {};\n\n/**\n * @param {string[]} pathArr Array to convert\n * @returns {string} The path string\n */\nJSONPath.toPathString = function (pathArr) {\n const x = pathArr, n = x.length;\n let p = '$';\n for (let i = 1; i < n; i++) {\n if (!(/^(~|\\^|@.*?\\(\\))$/u).test(x[i])) {\n p += (/^[0-9*]+$/u).test(x[i]) ? ('[' + x[i] + ']') : (\"['\" + x[i] + \"']\");\n }\n }\n return p;\n};\n\n/**\n * @param {string} pointer JSON Path\n * @returns {string} JSON Pointer\n */\nJSONPath.toPointer = function (pointer) {\n const x = pointer, n = x.length;\n let p = '';\n for (let i = 1; i < n; i++) {\n if (!(/^(~|\\^|@.*?\\(\\))$/u).test(x[i])) {\n p += '/' + x[i].toString()\n .replace(/~/gu, '~0')\n .replace(/\\//gu, '~1');\n }\n }\n return p;\n};\n\n/**\n * @param {string} expr Expression to convert\n * @returns {string[]}\n */\nJSONPath.toPathArray = function (expr) {\n const {cache} = JSONPath;\n if (cache[expr]) { return cache[expr].concat(); }\n const subx = [];\n const normalized = expr\n // Properties\n .replace(\n /@(?:null|boolean|number|string|integer|undefined|nonFinite|scalar|array|object|function|other)\\(\\)/gu,\n ';$&;'\n )\n // Parenthetical evaluations (filtering and otherwise), directly\n // within brackets or single quotes\n .replace(/[['](\\??\\(.*?\\))[\\]']/gu, function ($0, $1) {\n return '[#' + (subx.push($1) - 1) + ']';\n })\n // Escape periods and tildes within properties\n .replace(/\\['([^'\\]]*)'\\]/gu, function ($0, prop) {\n return \"['\" + prop\n .replace(/\\./gu, '%@%')\n .replace(/~/gu, '%%@@%%') +\n \"']\";\n })\n // Properties operator\n .replace(/~/gu, ';~;')\n // Split by property boundaries\n .replace(/'?\\.'?(?![^[]*\\])|\\['?/gu, ';')\n // Reinsert periods within properties\n .replace(/%@%/gu, '.')\n // Reinsert tildes within properties\n .replace(/%%@@%%/gu, '~')\n // Parent\n .replace(/(?:;)?(\\^+)(?:;)?/gu, function ($0, ups) {\n return ';' + ups.split('').join(';') + ';';\n })\n // Descendents\n .replace(/;;;|;;/gu, ';..;')\n // Remove trailing\n .replace(/;$|'?\\]|'$/gu, '');\n\n const exprList = normalized.split(';').map(function (exp) {\n const match = exp.match(/#(\\d+)/u);\n return !match || !match[1] ? exp : subx[match[1]];\n });\n cache[expr] = exprList;\n return cache[expr];\n};\n\nexport {JSONPath};\n","import {JSONPath} from './jsonpath.js';\n\n/**\n* @callback ConditionCallback\n* @param {any} item\n* @returns {boolean}\n*/\n\n/**\n * Copy items out of one array into another.\n * @param {GenericArray} source Array with items to copy\n * @param {GenericArray} target Array to which to copy\n * @param {ConditionCallback} conditionCb Callback passed the current item;\n * will move item if evaluates to `true`\n * @returns {void}\n */\nconst moveToAnotherArray = function (source, target, conditionCb) {\n const il = source.length;\n for (let i = 0; i < il; i++) {\n const item = source[i];\n if (conditionCb(item)) {\n target.push(source.splice(i--, 1)[0]);\n }\n }\n};\n\nJSONPath.prototype.vm = {\n /**\n * @param {string} expr Expression to evaluate\n * @param {PlainObject} context Object whose items will be added\n * to evaluation\n * @returns {any} Result of evaluated code\n */\n runInNewContext (expr, context) {\n const keys = Object.keys(context);\n const funcs = [];\n moveToAnotherArray(keys, funcs, (key) => {\n return typeof context[key] === 'function';\n });\n const values = keys.map((vr, i) => {\n return context[vr];\n });\n\n const funcString = funcs.reduce((s, func) => {\n let fString = context[func].toString();\n if (!(/function/u).test(fString)) {\n fString = 'function ' + fString;\n }\n return 'var ' + func + '=' + fString + ';' + s;\n }, '');\n\n expr = funcString + expr;\n\n // Mitigate http://perfectionkills.com/global-eval-what-are-the-options/#new_function\n if (!(/(['\"])use strict\\1/u).test(expr) &&\n !keys.includes('arguments')\n ) {\n expr = 'var arguments = undefined;' + expr;\n }\n\n // Remove last semi so `return` will be inserted before\n // the previous one instead, allowing for the return\n // of a bare ending expression\n expr = expr.replace(/;\\s*$/u, '');\n\n // Insert `return`\n const lastStatementEnd = expr.lastIndexOf(';');\n const code = (lastStatementEnd > -1\n ? expr.slice(0, lastStatementEnd + 1) +\n ' return ' + expr.slice(lastStatementEnd + 1)\n : ' return ' + expr);\n\n // eslint-disable-next-line no-new-func\n return (new Function(...keys, code))(...values);\n }\n};\n\nexport {JSONPath};\n"],"names":["hasOwnProp","Object","prototype","hasOwnProperty","push","arr","item","slice","unshift","NewError","value","avoidNew","name","Error","JSONPath","opts","expr","obj","callback","otherTypeCallback","this","e","optObj","_typeof","json","path","resultType","flatten","wrap","call","sandbox","preventEval","parent","parentProperty","TypeError","autostart","args","ret","evaluate","currParent","currParentProperty","currResultType","currPreventEval","currSandbox","currOtherTypeCallback","Array","isArray","toPathString","exprList","toPathArray","length","shift","_hasParentSelector","result","_trace","filter","ea","isParentSelector","hasArrExpr","reduce","rslt","valOrPath","_this2","_getPreferredOutput","concat","undefined","pointer","toPointer","_handleCallback","fullRetObj","type","preferredOutput","val","parentPropName","literalPriority","retObj","loc","x","addRet","elems","forEach","t","_walk","m","l","_x","v","p","par","pr","cb","_this3","test","_slice","indexOf","_eval","replace","addType","valueType","includes","Number","isFinite","locProp","split","part","rett","tmp","tl","tt","splice","f","n","i","keys","len","parts","step","parseInt","start","end","Math","max","min","code","_v","_vname","_$_parentProperty","_$_parent","_$_property","_$_path","_$_root","_$_v","vm","runInNewContext","console","log","message","cache","pathArr","toString","subx","$0","$1","prop","ups","join","map","exp","match","context","funcs","source","target","conditionCb","il","moveToAnotherArray","key","values","vr","funcString","s","func","fString","lastStatementEnd","lastIndexOf","_construct","Function"],"mappings":"+/EAEuBA,EAAcC,OAAOC,UAArCC,eAYP,SAASC,EAAMC,EAAKC,UAChBD,EAAMA,EAAIE,SACNH,KAAKE,GACFD,EAQX,SAASG,EAASF,EAAMD,UACpBA,EAAMA,EAAIE,SACNC,QAAQF,GACLD,MAOLI,oaAIWC,oIAEL,+FAGCC,UAAW,IACXD,MAAQA,IACRE,KAAO,yBAXGC,QA0EvB,SAASC,EAAUC,EAAMC,EAAMC,EAAKC,EAAUC,QAEpCC,gBAAgBN,cAEP,IAAIA,EAASC,EAAMC,EAAMC,EAAKC,EAAUC,GACjD,MAAOE,OACAA,EAAEV,eACGU,SAEHA,EAAEX,MAIG,iBAATK,IACPI,EAAoBD,EACpBA,EAAWD,EACXA,EAAMD,EACNA,EAAOD,EACPA,EAAO,UAELO,EAASP,GAAwB,WAAhBQ,EAAOR,MAC9BA,EAAOA,GAAQ,QACVS,KAAOT,EAAKS,MAAQP,OACpBQ,KAAOV,EAAKU,MAAQT,OACpBU,WAAaX,EAAKW,YAAc,aAChCC,QAAUZ,EAAKY,UAAW,OAC1BC,MAAO5B,EAAW6B,KAAKd,EAAM,SAAUA,EAAKa,UAC5CE,QAAUf,EAAKe,SAAW,QAC1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AK,KAAO,OAG1CjD,QAAQ,UAAY,QAEpBA,QAAQ,cAAgB,IAEDO,MAAM,KAAK2C,KAAI,SAAUC,OAC3CC,EAAQD,EAAIC,MAAM,oBAChBA,GAAUA,EAAM,GAAWR,EAAKQ,EAAM,IAAjBD,YAEjCV,EAAMzH,GAAQgC,EACPyF,EAAMzH,ICnqBjBF,EAASZ,UAAUkI,GAAK,CAOpBC,yBAAiBrH,EAAMqI,OACbpC,EAAOhH,OAAOgH,KAAKoC,GACnBC,EAAQ,IAnBK,SAAUC,EAAQC,EAAQC,WAC3CC,EAAKH,EAAOrG,OACT8D,EAAI,EAAGA,EAAI0C,EAAI1C,IAEhByC,EADSF,EAAOvC,KAEhBwC,EAAOpJ,KAAKmJ,EAAO1C,OAAOG,IAAK,GAAG,IAetC2C,CAAmB1C,EAAMqC,GAAO,SAACM,SACE,mBAAjBP,EAAQO,UAEpBC,EAAS5C,EAAKiC,KAAI,SAACY,EAAI9C,UAClBqC,EAAQS,MAGbC,EAAaT,EAAM3F,QAAO,SAACqG,EAAGC,OAC5BC,EAAUb,EAAQY,GAAMtB,iBACtB,WAAa/C,KAAKsE,KACpBA,EAAU,YAAcA,GAErB,OAASD,EAAO,IAAMC,EAAU,IAAMF,IAC9C,IAKG,qBAAuBpE,KAH7B5E,EAAO+I,EAAa/I,IAIfiG,EAAKd,SAAS,eAEfnF,EAAO,6BAA+BA,OASpCmJ,GAHNnJ,EAAOA,EAAKgF,QAAQ,yEAAU,KAGAoE,YAAY,KACpCzC,EAAQwC,GAAoB,EAC5BnJ,EAAKT,MAAM,EAAG4J,EAAmB,GAC/B,WAAanJ,EAAKT,MAAM4J,EAAmB,GAC7C,WAAanJ,SAGZqJ,EAAKC,WAAYrD,WAAMU,oBAAUkC"} \ No newline at end of file +{"version":3,"file":"index-browser-umd.min.js","sources":["../src/jsonpath.js","../src/jsonpath-browser.js"],"sourcesContent":["/* eslint-disable unicorn/prefer-spread -- IIRC, Babel's performance\n with this not good */\nconst {hasOwnProperty: hasOwnProp} = Object.prototype;\n\n/**\n* @typedef {null|boolean|number|string|PlainObject|GenericArray} JSONObject\n*/\n\n/**\n * Copies array and then pushes item into it.\n * @param {GenericArray} arr Array to copy and into which to push\n * @param {any} item Array item to add (to end)\n * @returns {GenericArray} Copy of the original array\n */\nfunction push (arr, item) {\n arr = arr.slice();\n arr.push(item);\n return arr;\n}\n/**\n * Copies array and then unshifts item into it.\n * @param {any} item Array item to add (to beginning)\n * @param {GenericArray} arr Array to copy and into which to unshift\n * @returns {GenericArray} Copy of the original array\n */\nfunction unshift (item, arr) {\n arr = arr.slice();\n arr.unshift(item);\n return arr;\n}\n\n/**\n * Caught when JSONPath is used without `new` but rethrown if with `new`\n * @extends Error\n */\nclass NewError extends Error {\n /**\n * @param {any} value The evaluated scalar value\n */\n constructor (value) {\n super(\n 'JSONPath should not be called with \"new\" (it prevents return ' +\n 'of (unwrapped) scalar values)'\n );\n this.avoidNew = true;\n this.value = value;\n this.name = 'NewError';\n }\n}\n\n/**\n* @typedef {PlainObject} ReturnObject\n* @property {string} path\n* @property {JSONObject} value\n* @property {PlainObject|GenericArray} parent\n* @property {string} parentProperty\n*/\n\n/**\n* @callback JSONPathCallback\n* @param {string|PlainObject} preferredOutput\n* @param {\"value\"|\"property\"} type\n* @param {ReturnObject} fullRetObj\n* @returns {void}\n*/\n\n/**\n* @callback OtherTypeCallback\n* @param {JSONObject} val\n* @param {string} path\n* @param {PlainObject|GenericArray} parent\n* @param {string} parentPropName\n* @returns {boolean}\n*/\n\n/* eslint-disable max-len -- Can make multiline type after https://github.com/syavorsky/comment-parser/issues/109 */\n/**\n * @typedef {PlainObject} JSONPathOptions\n * @property {JSON} json\n * @property {string|string[]} path\n * @property {\"value\"|\"path\"|\"pointer\"|\"parent\"|\"parentProperty\"|\"all\"} [resultType=\"value\"]\n * @property {boolean} [flatten=false]\n * @property {boolean} [wrap=true]\n * @property {PlainObject} [sandbox={}]\n * @property {boolean} [preventEval=false]\n * @property {PlainObject|GenericArray|null} [parent=null]\n * @property {string|null} [parentProperty=null]\n * @property {JSONPathCallback} [callback]\n * @property {OtherTypeCallback} [otherTypeCallback] Defaults to\n * function which throws on encountering `@other`\n * @property {boolean} [autostart=true]\n */\n/* eslint-enable max-len -- Can make multiline type after https://github.com/syavorsky/comment-parser/issues/109 */\n\n/**\n * @param {string|JSONPathOptions} opts If a string, will be treated as `expr`\n * @param {string} [expr] JSON path to evaluate\n * @param {JSON} [obj] JSON object to evaluate against\n * @param {JSONPathCallback} [callback] Passed 3 arguments: 1) desired payload\n * per `resultType`, 2) `\"value\"|\"property\"`, 3) Full returned object with\n * all payloads\n * @param {OtherTypeCallback} [otherTypeCallback] If `@other()` is at the end\n * of one's query, this will be invoked with the value of the item, its\n * path, its parent, and its parent's property name, and it should return\n * a boolean indicating whether the supplied value belongs to the \"other\"\n * type or not (or it may handle transformations and return `false`).\n * @returns {JSONPath}\n * @class\n */\nfunction JSONPath (opts, expr, obj, callback, otherTypeCallback) {\n // eslint-disable-next-line no-restricted-syntax\n if (!(this instanceof JSONPath)) {\n try {\n return new JSONPath(opts, expr, obj, callback, otherTypeCallback);\n } catch (e) {\n if (!e.avoidNew) {\n throw e;\n }\n return e.value;\n }\n }\n\n if (typeof opts === 'string') {\n otherTypeCallback = callback;\n callback = obj;\n obj = expr;\n expr = opts;\n opts = null;\n }\n const optObj = opts && typeof opts === 'object';\n opts = opts || {};\n this.json = opts.json || obj;\n this.path = opts.path || expr;\n this.resultType = opts.resultType || 'value';\n this.flatten = opts.flatten || false;\n this.wrap = hasOwnProp.call(opts, 'wrap') ? opts.wrap : true;\n this.sandbox = opts.sandbox || {};\n this.preventEval = opts.preventEval || false;\n this.parent = opts.parent || null;\n this.parentProperty = opts.parentProperty || null;\n this.callback = opts.callback || callback || null;\n this.otherTypeCallback = opts.otherTypeCallback ||\n otherTypeCallback ||\n function () {\n throw new TypeError(\n 'You must supply an otherTypeCallback callback option ' +\n 'with the @other() operator.'\n );\n };\n\n if (opts.autostart !== false) {\n const args = {\n path: (optObj ? opts.path : expr)\n };\n if (!optObj) {\n args.json = obj;\n } else if ('json' in opts) {\n args.json = opts.json;\n }\n const ret = this.evaluate(args);\n if (!ret || typeof ret !== 'object') {\n throw new NewError(ret);\n }\n return ret;\n }\n}\n\n// PUBLIC METHODS\nJSONPath.prototype.evaluate = function (\n expr, json, callback, otherTypeCallback\n) {\n let currParent = this.parent,\n currParentProperty = this.parentProperty;\n let {flatten, wrap} = this;\n\n this.currResultType = this.resultType;\n this.currPreventEval = this.preventEval;\n this.currSandbox = this.sandbox;\n callback = callback || this.callback;\n this.currOtherTypeCallback = otherTypeCallback || this.otherTypeCallback;\n\n json = json || this.json;\n expr = expr || this.path;\n if (expr && typeof expr === 'object' && !Array.isArray(expr)) {\n if (!expr.path && expr.path !== '') {\n throw new TypeError(\n 'You must supply a \"path\" property when providing an object ' +\n 'argument to JSONPath.evaluate().'\n );\n }\n if (!(hasOwnProp.call(expr, 'json'))) {\n throw new TypeError(\n 'You must supply a \"json\" property when providing an object ' +\n 'argument to JSONPath.evaluate().'\n );\n }\n ({json} = expr);\n flatten = hasOwnProp.call(expr, 'flatten') ? expr.flatten : flatten;\n this.currResultType = hasOwnProp.call(expr, 'resultType')\n ? expr.resultType\n : this.currResultType;\n this.currSandbox = hasOwnProp.call(expr, 'sandbox')\n ? expr.sandbox\n : this.currSandbox;\n wrap = hasOwnProp.call(expr, 'wrap') ? expr.wrap : wrap;\n this.currPreventEval = hasOwnProp.call(expr, 'preventEval')\n ? expr.preventEval\n : this.currPreventEval;\n callback = hasOwnProp.call(expr, 'callback') ? expr.callback : callback;\n this.currOtherTypeCallback = hasOwnProp.call(expr, 'otherTypeCallback')\n ? expr.otherTypeCallback\n : this.currOtherTypeCallback;\n currParent = hasOwnProp.call(expr, 'parent') ? expr.parent : currParent;\n currParentProperty = hasOwnProp.call(expr, 'parentProperty')\n ? expr.parentProperty\n : currParentProperty;\n expr = expr.path;\n }\n currParent = currParent || null;\n currParentProperty = currParentProperty || null;\n\n if (Array.isArray(expr)) {\n expr = JSONPath.toPathString(expr);\n }\n if ((!expr && expr !== '') || !json) {\n return undefined;\n }\n\n const exprList = JSONPath.toPathArray(expr);\n if (exprList[0] === '$' && exprList.length > 1) { exprList.shift(); }\n this._hasParentSelector = null;\n const result = this\n ._trace(\n exprList, json, ['$'], currParent, currParentProperty, callback\n )\n .filter(function (ea) { return ea && !ea.isParentSelector; });\n\n if (!result.length) { return wrap ? [] : undefined; }\n if (!wrap && result.length === 1 && !result[0].hasArrExpr) {\n return this._getPreferredOutput(result[0]);\n }\n return result.reduce((rslt, ea) => {\n const valOrPath = this._getPreferredOutput(ea);\n if (flatten && Array.isArray(valOrPath)) {\n rslt = rslt.concat(valOrPath);\n } else {\n rslt.push(valOrPath);\n }\n return rslt;\n }, []);\n};\n\n// PRIVATE METHODS\n\nJSONPath.prototype._getPreferredOutput = function (ea) {\n const resultType = this.currResultType;\n switch (resultType) {\n case 'all': {\n const path = Array.isArray(ea.path)\n ? ea.path\n : JSONPath.toPathArray(ea.path);\n ea.pointer = JSONPath.toPointer(path);\n ea.path = typeof ea.path === 'string'\n ? ea.path\n : JSONPath.toPathString(ea.path);\n return ea;\n } case 'value': case 'parent': case 'parentProperty':\n return ea[resultType];\n case 'path':\n return JSONPath.toPathString(ea[resultType]);\n case 'pointer':\n return JSONPath.toPointer(ea.path);\n default:\n throw new TypeError('Unknown result type');\n }\n};\n\nJSONPath.prototype._handleCallback = function (fullRetObj, callback, type) {\n if (callback) {\n const preferredOutput = this._getPreferredOutput(fullRetObj);\n fullRetObj.path = typeof fullRetObj.path === 'string'\n ? fullRetObj.path\n : JSONPath.toPathString(fullRetObj.path);\n // eslint-disable-next-line node/callback-return\n callback(preferredOutput, type, fullRetObj);\n }\n};\n\n/**\n *\n * @param {string} expr\n * @param {JSONObject} val\n * @param {string} path\n * @param {PlainObject|GenericArray} parent\n * @param {string} parentPropName\n * @param {JSONPathCallback} callback\n * @param {boolean} hasArrExpr\n * @param {boolean} literalPriority\n * @returns {ReturnObject|ReturnObject[]}\n */\nJSONPath.prototype._trace = function (\n expr, val, path, parent, parentPropName, callback, hasArrExpr,\n literalPriority\n) {\n // No expr to follow? return path and value as the result of\n // this trace branch\n let retObj;\n if (!expr.length) {\n retObj = {\n path,\n value: val,\n parent,\n parentProperty: parentPropName,\n hasArrExpr\n };\n this._handleCallback(retObj, callback, 'value');\n return retObj;\n }\n\n const loc = expr[0], x = expr.slice(1);\n\n // We need to gather the return value of recursive trace calls in order to\n // do the parent sel computation.\n const ret = [];\n /**\n *\n * @param {ReturnObject|ReturnObject[]} elems\n * @returns {void}\n */\n function addRet (elems) {\n if (Array.isArray(elems)) {\n // This was causing excessive stack size in Node (with or\n // without Babel) against our performance test:\n // `ret.push(...elems);`\n elems.forEach((t) => {\n ret.push(t);\n });\n } else {\n ret.push(elems);\n }\n }\n if ((typeof loc !== 'string' || literalPriority) && val &&\n hasOwnProp.call(val, loc)\n ) { // simple case--directly follow property\n addRet(this._trace(x, val[loc], push(path, loc), val, loc, callback,\n hasArrExpr));\n } else if (loc === '*') { // all child properties\n this._walk(\n loc, x, val, path, parent, parentPropName, callback,\n (m, l, _x, v, p, par, pr, cb) => {\n addRet(this._trace(unshift(m, _x), v, p, par, pr, cb,\n true, true));\n }\n );\n } else if (loc === '..') { // all descendent parent properties\n // Check remaining expression with val's immediate children\n addRet(\n this._trace(x, val, path, parent, parentPropName, callback,\n hasArrExpr)\n );\n this._walk(\n loc, x, val, path, parent, parentPropName, callback,\n (m, l, _x, v, p, par, pr, cb) => {\n // We don't join m and x here because we only want parents,\n // not scalar values\n if (typeof v[m] === 'object') {\n // Keep going with recursive descent on val's\n // object children\n addRet(this._trace(\n unshift(l, _x), v[m], push(p, m), v, m, cb, true\n ));\n }\n }\n );\n // The parent sel computation is handled in the frame above using the\n // ancestor object of val\n } else if (loc === '^') {\n // This is not a final endpoint, so we do not invoke the callback here\n this._hasParentSelector = true;\n return {\n path: path.slice(0, -1),\n expr: x,\n isParentSelector: true\n };\n } else if (loc === '~') { // property name\n retObj = {\n path: push(path, loc),\n value: parentPropName,\n parent,\n parentProperty: null\n };\n this._handleCallback(retObj, callback, 'property');\n return retObj;\n } else if (loc === '$') { // root only\n addRet(this._trace(x, val, path, null, null, callback, hasArrExpr));\n } else if ((/^(-?\\d*):(-?\\d*):?(\\d*)$/u).test(loc)) { // [start:end:step] Python slice syntax\n addRet(\n this._slice(loc, x, val, path, parent, parentPropName, callback)\n );\n } else if (loc.indexOf('?(') === 0) { // [?(expr)] (filtering)\n if (this.currPreventEval) {\n throw new Error('Eval [?(expr)] prevented in JSONPath expression.');\n }\n this._walk(\n loc, x, val, path, parent, parentPropName, callback,\n (m, l, _x, v, p, par, pr, cb) => {\n if (this._eval(l.replace(/^\\?\\((.*?)\\)$/u, '$1'), v[m], m, p, par, pr)) {\n addRet(this._trace(unshift(m, _x), v, p, par, pr, cb,\n true));\n }\n }\n );\n } else if (loc[0] === '(') { // [(expr)] (dynamic property/index)\n if (this.currPreventEval) {\n throw new Error('Eval [(expr)] prevented in JSONPath expression.');\n }\n // As this will resolve to a property name (but we don't know it\n // yet), property and parent information is relative to the\n // parent of the property to which this expression will resolve\n addRet(this._trace(unshift(\n this._eval(\n loc, val, path[path.length - 1],\n path.slice(0, -1), parent, parentPropName\n ),\n x\n ), val, path, parent, parentPropName, callback, hasArrExpr));\n } else if (loc[0] === '@') { // value type: @boolean(), etc.\n let addType = false;\n const valueType = loc.slice(1, -2);\n switch (valueType) {\n case 'scalar':\n if (!val || !(['object', 'function'].includes(typeof val))) {\n addType = true;\n }\n break;\n case 'boolean': case 'string': case 'undefined': case 'function':\n // eslint-disable-next-line valid-typeof\n if (typeof val === valueType) {\n addType = true;\n }\n break;\n case 'integer':\n if (Number.isFinite(val) && !(val % 1)) {\n addType = true;\n }\n break;\n case 'number':\n if (Number.isFinite(val)) {\n addType = true;\n }\n break;\n case 'nonFinite':\n if (typeof val === 'number' && !Number.isFinite(val)) {\n addType = true;\n }\n break;\n case 'object':\n // eslint-disable-next-line valid-typeof\n if (val && typeof val === valueType) {\n addType = true;\n }\n break;\n case 'array':\n if (Array.isArray(val)) {\n addType = true;\n }\n break;\n case 'other':\n addType = this.currOtherTypeCallback(\n val, path, parent, parentPropName\n );\n break;\n case 'null':\n if (val === null) {\n addType = true;\n }\n break;\n /* istanbul ignore next */\n default:\n throw new TypeError('Unknown value type ' + valueType);\n }\n if (addType) {\n retObj = {path, value: val, parent, parentProperty: parentPropName};\n this._handleCallback(retObj, callback, 'value');\n return retObj;\n }\n // `-escaped property\n } else if (loc[0] === '`' && val && hasOwnProp.call(val, loc.slice(1))) {\n const locProp = loc.slice(1);\n addRet(this._trace(\n x, val[locProp], push(path, locProp), val, locProp, callback,\n hasArrExpr, true\n ));\n } else if (loc.includes(',')) { // [name1,name2,...]\n const parts = loc.split(',');\n for (const part of parts) {\n addRet(this._trace(\n unshift(part, x), val, path, parent, parentPropName, callback,\n true\n ));\n }\n // simple case--directly follow property\n } else if (\n !literalPriority && val && hasOwnProp.call(val, loc)\n ) {\n addRet(\n this._trace(x, val[loc], push(path, loc), val, loc, callback,\n hasArrExpr, true)\n );\n }\n\n // We check the resulting values for parent selections. For parent\n // selections we discard the value object and continue the trace with the\n // current val object\n if (this._hasParentSelector) {\n for (let t = 0; t < ret.length; t++) {\n const rett = ret[t];\n if (rett && rett.isParentSelector) {\n const tmp = this._trace(\n rett.expr, val, rett.path, parent, parentPropName, callback,\n hasArrExpr\n );\n if (Array.isArray(tmp)) {\n ret[t] = tmp[0];\n const tl = tmp.length;\n for (let tt = 1; tt < tl; tt++) {\n t++;\n ret.splice(t, 0, tmp[tt]);\n }\n } else {\n ret[t] = tmp;\n }\n }\n }\n }\n return ret;\n};\n\nJSONPath.prototype._walk = function (\n loc, expr, val, path, parent, parentPropName, callback, f\n) {\n if (Array.isArray(val)) {\n const n = val.length;\n for (let i = 0; i < n; i++) {\n f(i, loc, expr, val, path, parent, parentPropName, callback);\n }\n } else if (val && typeof val === 'object') {\n Object.keys(val).forEach((m) => {\n f(m, loc, expr, val, path, parent, parentPropName, callback);\n });\n }\n};\n\nJSONPath.prototype._slice = function (\n loc, expr, val, path, parent, parentPropName, callback\n) {\n if (!Array.isArray(val)) { return undefined; }\n const len = val.length, parts = loc.split(':'),\n step = (parts[2] && Number.parseInt(parts[2])) || 1;\n let start = (parts[0] && Number.parseInt(parts[0])) || 0,\n end = (parts[1] && Number.parseInt(parts[1])) || len;\n start = (start < 0) ? Math.max(0, start + len) : Math.min(len, start);\n end = (end < 0) ? Math.max(0, end + len) : Math.min(len, end);\n const ret = [];\n for (let i = start; i < end; i += step) {\n const tmp = this._trace(\n unshift(i, expr), val, path, parent, parentPropName, callback, true\n );\n // Should only be possible to be an array here since first part of\n // ``unshift(i, expr)` passed in above would not be empty, nor `~`,\n // nor begin with `@` (as could return objects)\n // This was causing excessive stack size in Node (with or\n // without Babel) against our performance test: `ret.push(...tmp);`\n tmp.forEach((t) => {\n ret.push(t);\n });\n }\n return ret;\n};\n\nJSONPath.prototype._eval = function (\n code, _v, _vname, path, parent, parentPropName\n) {\n if (code.includes('@parentProperty')) {\n this.currSandbox._$_parentProperty = parentPropName;\n code = code.replace(/@parentProperty/gu, '_$_parentProperty');\n }\n if (code.includes('@parent')) {\n this.currSandbox._$_parent = parent;\n code = code.replace(/@parent/gu, '_$_parent');\n }\n if (code.includes('@property')) {\n this.currSandbox._$_property = _vname;\n code = code.replace(/@property/gu, '_$_property');\n }\n if (code.includes('@path')) {\n this.currSandbox._$_path = JSONPath.toPathString(path.concat([_vname]));\n code = code.replace(/@path/gu, '_$_path');\n }\n if (code.includes('@root')) {\n this.currSandbox._$_root = this.json;\n code = code.replace(/@root/gu, '_$_root');\n }\n if ((/@([.\\s)[])/u).test(code)) {\n this.currSandbox._$_v = _v;\n code = code.replace(/@([.\\s)[])/gu, '_$_v$1');\n }\n try {\n return this.vm.runInNewContext(code, this.currSandbox);\n } catch (e) {\n // eslint-disable-next-line no-console\n console.log(e);\n throw new Error('jsonPath: ' + e.message + ': ' + code);\n }\n};\n\n// PUBLIC CLASS PROPERTIES AND METHODS\n\n// Could store the cache object itself\nJSONPath.cache = {};\n\n/**\n * @param {string[]} pathArr Array to convert\n * @returns {string} The path string\n */\nJSONPath.toPathString = function (pathArr) {\n const x = pathArr, n = x.length;\n let p = '$';\n for (let i = 1; i < n; i++) {\n if (!(/^(~|\\^|@.*?\\(\\))$/u).test(x[i])) {\n p += (/^[0-9*]+$/u).test(x[i]) ? ('[' + x[i] + ']') : (\"['\" + x[i] + \"']\");\n }\n }\n return p;\n};\n\n/**\n * @param {string} pointer JSON Path\n * @returns {string} JSON Pointer\n */\nJSONPath.toPointer = function (pointer) {\n const x = pointer, n = x.length;\n let p = '';\n for (let i = 1; i < n; i++) {\n if (!(/^(~|\\^|@.*?\\(\\))$/u).test(x[i])) {\n p += '/' + x[i].toString()\n .replace(/~/gu, '~0')\n .replace(/\\//gu, '~1');\n }\n }\n return p;\n};\n\n/**\n * @param {string} expr Expression to convert\n * @returns {string[]}\n */\nJSONPath.toPathArray = function (expr) {\n const {cache} = JSONPath;\n if (cache[expr]) { return cache[expr].concat(); }\n const subx = [];\n const normalized = expr\n // Properties\n .replace(\n /@(?:null|boolean|number|string|integer|undefined|nonFinite|scalar|array|object|function|other)\\(\\)/gu,\n ';$&;'\n )\n // Parenthetical evaluations (filtering and otherwise), directly\n // within brackets or single quotes\n .replace(/[['](\\??\\(.*?\\))[\\]']/gu, function ($0, $1) {\n return '[#' + (subx.push($1) - 1) + ']';\n })\n // Escape periods and tildes within properties\n .replace(/\\['([^'\\]]*)'\\]/gu, function ($0, prop) {\n return \"['\" + prop\n .replace(/\\./gu, '%@%')\n .replace(/~/gu, '%%@@%%') +\n \"']\";\n })\n // Properties operator\n .replace(/~/gu, ';~;')\n // Split by property boundaries\n .replace(/'?\\.'?(?![^[]*\\])|\\['?/gu, ';')\n // Reinsert periods within properties\n .replace(/%@%/gu, '.')\n // Reinsert tildes within properties\n .replace(/%%@@%%/gu, '~')\n // Parent\n .replace(/(?:;)?(\\^+)(?:;)?/gu, function ($0, ups) {\n return ';' + ups.split('').join(';') + ';';\n })\n // Descendents\n .replace(/;;;|;;/gu, ';..;')\n // Remove trailing\n .replace(/;$|'?\\]|'$/gu, '');\n\n const exprList = normalized.split(';').map(function (exp) {\n const match = exp.match(/#(\\d+)/u);\n return !match || !match[1] ? exp : subx[match[1]];\n });\n cache[expr] = exprList;\n return cache[expr];\n};\n\nexport {JSONPath};\n","import {JSONPath} from './jsonpath.js';\n\n/**\n* @callback ConditionCallback\n* @param {any} item\n* @returns {boolean}\n*/\n\n/**\n * Copy items out of one array into another.\n * @param {GenericArray} source Array with items to copy\n * @param {GenericArray} target Array to which to copy\n * @param {ConditionCallback} conditionCb Callback passed the current item;\n * will move item if evaluates to `true`\n * @returns {void}\n */\nconst moveToAnotherArray = function (source, target, conditionCb) {\n const il = source.length;\n for (let i = 0; i < il; i++) {\n const item = source[i];\n if (conditionCb(item)) {\n target.push(source.splice(i--, 1)[0]);\n }\n }\n};\n\nJSONPath.prototype.vm = {\n /**\n * @param {string} expr Expression to evaluate\n * @param {PlainObject} context Object whose items will be added\n * to evaluation\n * @returns {any} Result of evaluated code\n */\n runInNewContext (expr, context) {\n const keys = Object.keys(context);\n const funcs = [];\n moveToAnotherArray(keys, funcs, (key) => {\n return typeof context[key] === 'function';\n });\n const values = keys.map((vr, i) => {\n return context[vr];\n });\n\n const funcString = funcs.reduce((s, func) => {\n let fString = context[func].toString();\n if (!(/function/u).test(fString)) {\n fString = 'function ' + fString;\n }\n return 'var ' + func + '=' + fString + ';' + s;\n }, '');\n\n expr = funcString + expr;\n\n // Mitigate http://perfectionkills.com/global-eval-what-are-the-options/#new_function\n if (!(/(['\"])use strict\\1/u).test(expr) &&\n !keys.includes('arguments')\n ) {\n expr = 'var arguments = undefined;' + expr;\n }\n\n // Remove last semi so `return` will be inserted before\n // the previous one instead, allowing for the return\n // of a bare ending expression\n expr = expr.replace(/;\\s*$/u, '');\n\n // Insert `return`\n const lastStatementEnd = expr.lastIndexOf(';');\n const code = (lastStatementEnd > -1\n ? expr.slice(0, lastStatementEnd + 1) +\n ' return ' + expr.slice(lastStatementEnd + 1)\n : ' return ' + expr);\n\n // eslint-disable-next-line no-new-func\n return (new Function(...keys, code))(...values);\n }\n};\n\nexport {JSONPath};\n"],"names":["hasOwnProp","Object","prototype","hasOwnProperty","push","arr","item","slice","unshift","NewError","value","avoidNew","name","Error","JSONPath","opts","expr","obj","callback","otherTypeCallback","this","e","optObj","_typeof","json","path","resultType","flatten","wrap","call","sandbox","preventEval","parent","parentProperty","TypeError","autostart","args","ret","evaluate","currParent","currParentProperty","currResultType","currPreventEval","currSandbox","currOtherTypeCallback","Array","isArray","toPathString","exprList","toPathArray","length","shift","_hasParentSelector","result","_trace","filter","ea","isParentSelector","hasArrExpr","reduce","rslt","valOrPath","_this2","_getPreferredOutput","concat","undefined","pointer","toPointer","_handleCallback","fullRetObj","type","preferredOutput","val","parentPropName","literalPriority","retObj","loc","x","addRet","elems","forEach","t","_walk","m","l","_x","v","p","par","pr","cb","_this3","test","_slice","indexOf","_eval","replace","addType","valueType","includes","Number","isFinite","locProp","split","part","rett","tmp","tl","tt","splice","f","n","i","keys","len","parts","step","parseInt","start","end","Math","max","min","code","_v","_vname","_$_parentProperty","_$_parent","_$_property","_$_path","_$_root","_$_v","vm","runInNewContext","console","log","message","cache","pathArr","toString","subx","$0","$1","prop","ups","join","map","exp","match","context","funcs","source","target","conditionCb","il","moveToAnotherArray","key","values","vr","funcString","s","func","fString","lastStatementEnd","lastIndexOf","_construct","Function"],"mappings":"ogFAEuBA,EAAcC,OAAOC,UAArCC,eAYP,SAASC,EAAMC,EAAKC,UAChBD,EAAMA,EAAIE,SACNH,KAAKE,GACFD,EAQX,SAASG,EAASF,EAAMD,UACpBA,EAAMA,EAAIE,SACNC,QAAQF,GACLD,MAOLI,oaAIWC,oIAEL,+FAGCC,UAAW,IACXD,MAAQA,IACRE,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A,EAAU,YAAcA,GAErB,OAASD,EAAO,IAAMC,EAAU,IAAMF,IAC9C,IAKG,qBAAuBpE,KAH7B5E,EAAO+I,EAAa/I,IAIfiG,EAAKd,SAAS,eAEfnF,EAAO,6BAA+BA,OASpCmJ,GAHNnJ,EAAOA,EAAKgF,QAAQ,yEAAU,KAGAoE,YAAY,KACpCzC,EAAQwC,GAAoB,EAC5BnJ,EAAKT,MAAM,EAAG4J,EAAmB,GAC/B,WAAanJ,EAAKT,MAAM4J,EAAmB,GAC7C,WAAanJ,SAGZqJ,EAAKC,WAAYrD,WAAMU,oBAAUkC"} \ No newline at end of file diff --git a/package.json b/package.json index c878aea..ec99406 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "author": "Stefan Goessner", "name": "jsonpath-plus", - "version": "5.0.3", + "version": "5.0.4", "main": "dist/index-node-cjs.js", "exports": { ".": { @@ -57,15 +57,15 @@ }, "dependencies": {}, "devDependencies": { - "@babel/core": "^7.12.13", - "@babel/preset-env": "^7.12.13", - "@mysticatea/eslint-plugin": "^13.0.0", - "@rollup/plugin-babel": "^5.2.3", + "@babel/core": "^7.13.8", + "@babel/preset-env": "^7.13.9", + "@brettz9/eslint-plugin": "^1.0.3", + "@rollup/plugin-babel": "^5.3.0", "chai": "^4.3.0", - "core-js-bundle": "^3.8.3", + "core-js-bundle": "^3.9.1", "coveradge": "^0.6.0", - "eslint": "^7.19.0", - "eslint-config-ash-nazg": "^26.1.0", + "eslint": "^7.21.0", + "eslint-config-ash-nazg": "^29.8.1", "eslint-config-standard": "^16.0.2", "eslint-plugin-array-func": "^3.1.7", "eslint-plugin-chai-expect": "^2.2.0", @@ -74,30 +74,30 @@ "eslint-plugin-eslint-comments": "^3.2.0", "eslint-plugin-html": "^6.1.1", "eslint-plugin-import": "^2.22.1", - "eslint-plugin-jsdoc": "^31.6.0", - "eslint-plugin-markdown": "^1.0.2", + "eslint-plugin-jsdoc": "^32.2.0", + "eslint-plugin-markdown": "^2.0.0", "eslint-plugin-no-unsanitized": "^3.1.4", "eslint-plugin-no-use-extend-native": "^0.5.0", "eslint-plugin-node": "^11.1.0", - "eslint-plugin-promise": "^4.2.1", - "eslint-plugin-radar": "^0.2.0", + "eslint-plugin-promise": "^4.3.1", + "eslint-plugin-radar": "^0.2.1", "eslint-plugin-standard": "^4.1.0", - "eslint-plugin-unicorn": "^27.0.0", + "eslint-plugin-unicorn": "^28.0.2", "esm": "^3.2.25", + "http-server": "^0.12.3", "license-badger": "^0.18.0", - "mocha": "^8.2.1", + "mocha": "^8.3.0", "mocha-badge-generator": "^0.9.0", "mocha-multi-reporters": "^1.5.1", - "node-static": "^0.7.11", "nyc": "^15.1.0", "open-cli": "^6.0.1", "remark-cli": "^9.0.0", "remark-lint-code-block-style": "^2.0.1", "remark-lint-ordered-list-marker-value": "^2.0.1", - "rollup": "2.38.5", + "rollup": "2.40.0", "rollup-plugin-terser": "^7.0.2", - "typedoc": "^0.20.21", - "typescript": "^4.1.3" + "typedoc": "^0.20.28", + "typescript": "^4.2.2" }, "keywords": [ "json", @@ -127,7 +127,7 @@ ] }, "scripts": { - "prepublishOnly": "npm run license-badges", + "prepublishOnly": "pnpm i && echo 'reenable this when may be working for pnpm: npm run license-badges'", "license-badge": "license-badger --corrections --uncategorizedLicenseTemplate \"\\${license} (\\${name} (\\${version}))\" --filteredTypes=nonempty --textTemplate \"License types\n(project, deps, and bundled devDeps)\" --packageJson --production badges/licenses-badge.svg", "license-badge-dev": "license-badger --corrections --filteredTypes=nonempty --textTemplate \"License types\n(all devDeps)\" --allDevelopment badges/licenses-badge-dev.svg", "license-badges": "npm run license-badge && npm run license-badge-dev", @@ -138,7 +138,7 @@ "coverage-badge": "coveradge badges/coverage-badge.svg", "node-import-test": "node --experimental-modules demo/node-import-test.mjs", "open": "open-cli http://localhost:8084/demo/ && npm start", - "start": "static -p 8084", + "start": "http-server -p 8084", "typescript": "tsc -p src", "mocha": "mocha --require esm --require test-helpers/node-env.js --reporter-options configFile=mocha-multi-reporters.json test", "nyc": "rm -Rf ./coverage && rm -Rf ./node_modules/.cache && nyc --all npm run mocha && npm run coverage-badge", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 647e65b..47637c1 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -1,57 +1,63 @@ devDependencies: - '@babel/core': 7.12.13 - '@babel/preset-env': 7.12.13_@babel+core@7.12.13 - '@mysticatea/eslint-plugin': 13.0.0_eslint@7.19.0+typescript@4.1.3 - '@rollup/plugin-babel': 5.2.3_1f903a72618ad74452faa64db67abf44 + '@babel/core': 7.13.8 + '@babel/preset-env': 7.13.9_@babel+core@7.13.8 + '@brettz9/eslint-plugin': 1.0.3_eslint@7.21.0 + '@rollup/plugin-babel': 5.3.0_@babel+core@7.13.8+rollup@2.40.0 chai: 4.3.0 - core-js-bundle: 3.8.3 + core-js-bundle: 3.9.1 coveradge: 0.6.0 - eslint: 7.19.0 - eslint-config-ash-nazg: 26.1.0_ac27ae1f3f6967be634b66903d01ed75 - eslint-config-standard: 16.0.2_ffdc1e077188607525eea745ddf73e4e - eslint-plugin-array-func: 3.1.7_eslint@7.19.0 - eslint-plugin-chai-expect: 2.2.0_eslint@7.19.0 - eslint-plugin-chai-friendly: 0.6.0_eslint@7.19.0 - eslint-plugin-compat: 3.9.0_eslint@7.19.0 - eslint-plugin-eslint-comments: 3.2.0_eslint@7.19.0 + eslint: 7.21.0 + eslint-config-ash-nazg: 29.8.1_0e91e73d939ed9bdb271a07142381760 + eslint-config-standard: 16.0.2_2d485f4f2bf2333d84b92b3b62864e21 + eslint-plugin-array-func: 3.1.7_eslint@7.21.0 + eslint-plugin-chai-expect: 2.2.0_eslint@7.21.0 + eslint-plugin-chai-friendly: 0.6.0_eslint@7.21.0 + eslint-plugin-compat: 3.9.0_eslint@7.21.0 + eslint-plugin-eslint-comments: 3.2.0_eslint@7.21.0 eslint-plugin-html: 6.1.1 - eslint-plugin-import: 2.22.1_eslint@7.19.0 - eslint-plugin-jsdoc: 31.6.0_eslint@7.19.0 - eslint-plugin-markdown: 1.0.2 - eslint-plugin-no-unsanitized: 3.1.4_eslint@7.19.0 + eslint-plugin-import: 2.22.1_eslint@7.21.0 + eslint-plugin-jsdoc: 32.2.0_eslint@7.21.0 + eslint-plugin-markdown: 2.0.0_eslint@7.21.0 + eslint-plugin-no-unsanitized: 3.1.4_eslint@7.21.0 eslint-plugin-no-use-extend-native: 0.5.0 - eslint-plugin-node: 11.1.0_eslint@7.19.0 - eslint-plugin-promise: 4.2.1 - eslint-plugin-radar: 0.2.0_eslint@7.19.0 - eslint-plugin-standard: 4.1.0_eslint@7.19.0 - eslint-plugin-unicorn: 27.0.0_eslint@7.19.0 + eslint-plugin-node: 11.1.0_eslint@7.21.0 + eslint-plugin-promise: 4.3.1 + eslint-plugin-radar: 0.2.1_eslint@7.21.0 + eslint-plugin-standard: 4.1.0_eslint@7.21.0 + eslint-plugin-unicorn: 28.0.2_eslint@7.21.0 esm: 3.2.25 + http-server: 0.12.3 license-badger: 0.18.0 - mocha: 8.2.1 + mocha: 8.3.0 mocha-badge-generator: 0.9.0 - mocha-multi-reporters: 1.5.1_mocha@8.2.1 - node-static: 0.7.11 + mocha-multi-reporters: 1.5.1_mocha@8.3.0 nyc: 15.1.0 open-cli: 6.0.1 remark-cli: 9.0.0 remark-lint-code-block-style: 2.0.1 remark-lint-ordered-list-marker-value: 2.0.1 - rollup: 2.38.5 - rollup-plugin-terser: 7.0.2_rollup@2.38.5 - typedoc: 0.20.21_typescript@4.1.3 - typescript: 4.1.3 + rollup: 2.40.0 + rollup-plugin-terser: 7.0.2_rollup@2.40.0 + typedoc: 0.20.28_typescript@4.2.2 + typescript: 4.2.2 lockfileVersion: 5.2 packages: + /@babel/code-frame/7.12.11: + dependencies: + '@babel/highlight': 7.12.13 + dev: true + resolution: + integrity: sha512-Zt1yodBx1UcyiePMSkWnU4hPqhwq7hGi2nFL1LeA3EUl+q2LQx16MISgJ0+z7dnmgvP9QtIleuETGOiOH1RcIw== /@babel/code-frame/7.12.13: dependencies: '@babel/highlight': 7.12.13 dev: true resolution: integrity: sha512-HV1Cm0Q3ZrpCR93tkWOYiuYIgLxZXZFVG2VgK+MBWjUqZTundupbfx2aXarXuw5Ko5aMcjtJgbSs4vUGBS5v6g== - /@babel/compat-data/7.12.13: + /@babel/compat-data/7.13.8: dev: true resolution: - integrity: sha512-U/hshG5R+SIoW7HVWIdmy1cB7s3ki+r3FpyEZiCgpi4tFgPnX/vynY80ZGSASOIrUM6O7VxOgCZgdt7h97bUGg== + integrity: sha512-EaI33z19T4qN3xLXsGf48M2cDqa6ei9tPZlfLdb2HC+e/cFtREiRd8hdSqDbwdLB0/+gLwqJmCYASH0z2bUdog== /@babel/core/7.12.13: dependencies: '@babel/code-frame': 7.12.13 @@ -74,6 +80,29 @@ packages: node: '>=6.9.0' resolution: integrity: sha512-BQKE9kXkPlXHPeqissfxo0lySWJcYdEP0hdtJOH/iJfDdhOCcgtNCjftCJg3qqauB4h+lz2N6ixM++b9DN1Tcw== + /@babel/core/7.13.8: + dependencies: + '@babel/code-frame': 7.12.13 + '@babel/generator': 7.13.9 + '@babel/helper-compilation-targets': 7.13.8_@babel+core@7.13.8 + '@babel/helper-module-transforms': 7.13.0 + '@babel/helpers': 7.13.0 + '@babel/parser': 7.13.9 + '@babel/template': 7.12.13 + '@babel/traverse': 7.13.0 + '@babel/types': 7.13.0 + convert-source-map: 1.7.0 + debug: 4.3.1 + gensync: 1.0.0-beta.2 + json5: 2.2.0 + lodash: 4.17.21 + semver: 6.3.0 + source-map: 0.5.7 + dev: true + engines: + node: '>=6.9.0' + resolution: + integrity: sha512-oYapIySGw1zGhEFRd6lzWNLWFX2s5dA/jm+Pw/+59ZdXtjyIuwlXbrId22Md0rgZVop+aVoqow2riXhBLNyuQg== /@babel/generator/7.12.15: dependencies: '@babel/types': 7.12.13 @@ -82,47 +111,55 @@ packages: dev: true resolution: integrity: sha512-6F2xHxBiFXWNSGb7vyCUTBF8RCLY66rS0zEPcP8t/nQyXjha5EuK4z7H5o7fWG8B4M7y6mqVWq1J+1PuwRhecQ== + /@babel/generator/7.13.9: + dependencies: + '@babel/types': 7.13.0 + jsesc: 2.5.2 + source-map: 0.5.7 + dev: true + resolution: + integrity: sha512-mHOOmY0Axl/JCTkxTU6Lf5sWOg/v8nUa+Xkt4zMTftX0wqmb6Sh7J8gvcehBw7q0AhrhAR+FDacKjCZ2X8K+Sw== /@babel/helper-annotate-as-pure/7.12.13: dependencies: - '@babel/types': 7.12.13 + '@babel/types': 7.13.0 dev: true resolution: integrity: sha512-7YXfX5wQ5aYM/BOlbSccHDbuXXFPxeoUmfWtz8le2yTkTZc+BxsiEnENFoi2SlmA8ewDkG2LgIMIVzzn2h8kfw== /@babel/helper-builder-binary-assignment-operator-visitor/7.12.13: dependencies: '@babel/helper-explode-assignable-expression': 7.12.13 - '@babel/types': 7.12.13 + '@babel/types': 7.13.0 dev: true resolution: integrity: sha512-CZOv9tGphhDRlVjVkAgm8Nhklm9RzSmWpX2my+t7Ua/KT616pEzXsQCjinzvkRvHWJ9itO4f296efroX23XCMA== - /@babel/helper-compilation-targets/7.12.13_@babel+core@7.12.13: + /@babel/helper-compilation-targets/7.13.8_@babel+core@7.13.8: dependencies: - '@babel/compat-data': 7.12.13 - '@babel/core': 7.12.13 - '@babel/helper-validator-option': 7.12.11 + '@babel/compat-data': 7.13.8 + '@babel/core': 7.13.8 + '@babel/helper-validator-option': 7.12.17 browserslist: 4.16.3 - semver: 5.7.1 + semver: 6.3.0 dev: true peerDependencies: '@babel/core': ^7.0.0 resolution: - integrity: sha512-dXof20y/6wB5HnLOGyLh/gobsMvDNoekcC+8MCV2iaTd5JemhFkPD73QB+tK3iFC9P0xJC73B6MvKkyUfS9cCw== - /@babel/helper-create-class-features-plugin/7.12.13_@babel+core@7.12.13: + integrity: sha512-pBljUGC1y3xKLn1nrx2eAhurLMA8OqBtBP/JwG4U8skN7kf8/aqwwxpV1N6T0e7r6+7uNitIa/fUxPFagSXp3A== + /@babel/helper-create-class-features-plugin/7.13.8_@babel+core@7.13.8: dependencies: - '@babel/core': 7.12.13 + '@babel/core': 7.13.8 '@babel/helper-function-name': 7.12.13 - '@babel/helper-member-expression-to-functions': 7.12.13 + '@babel/helper-member-expression-to-functions': 7.13.0 '@babel/helper-optimise-call-expression': 7.12.13 - '@babel/helper-replace-supers': 7.12.13 + '@babel/helper-replace-supers': 7.13.0 '@babel/helper-split-export-declaration': 7.12.13 dev: true peerDependencies: '@babel/core': ^7.0.0 resolution: - integrity: sha512-Vs/e9wv7rakKYeywsmEBSRC9KtmE7Px+YBlESekLeJOF0zbGUicGfXSNi3o+tfXSNS48U/7K9mIOOCR79Cl3+Q== - /@babel/helper-create-regexp-features-plugin/7.12.13_@babel+core@7.12.13: + integrity: sha512-qioaRrKHQbn4hkRKDHbnuQ6kAxmmOF+kzKGnIfxPK4j2rckSJCpKzr/SSTlohSCiE3uAQpNDJ9FIh4baeE8W+w== + /@babel/helper-create-regexp-features-plugin/7.12.13_@babel+core@7.13.8: dependencies: - '@babel/core': 7.12.13 + '@babel/core': 7.13.8 '@babel/helper-annotate-as-pure': 7.12.13 regexpu-core: 4.7.1 dev: true @@ -130,9 +167,25 @@ packages: '@babel/core': ^7.0.0 resolution: integrity: sha512-XC+kiA0J3at6E85dL5UnCYfVOcIZ834QcAY0TIpgUVnz0zDzg+0TtvZTnJ4g9L1dPRGe30Qi03XCIS4tYCLtqw== + /@babel/helper-define-polyfill-provider/0.1.4_@babel+core@7.13.8: + dependencies: + '@babel/core': 7.13.8 + '@babel/helper-compilation-targets': 7.13.8_@babel+core@7.13.8 + '@babel/helper-module-imports': 7.12.13 + '@babel/helper-plugin-utils': 7.13.0 + '@babel/traverse': 7.13.0 + debug: 4.3.1 + lodash.debounce: 4.0.8 + resolve: 1.19.0 + semver: 6.3.0 + dev: true + peerDependencies: + '@babel/core': ^7.4.0-0 + resolution: + integrity: sha512-K5V2GaQZ1gpB+FTXM4AFVG2p1zzhm67n9wrQCJYNzvuLzQybhJyftW7qeDd2uUxPDNdl5Rkon1rOAeUeNDZ28Q== /@babel/helper-explode-assignable-expression/7.12.13: dependencies: - '@babel/types': 7.12.13 + '@babel/types': 7.13.0 dev: true resolution: integrity: sha512-5loeRNvMo9mx1dA/d6yNi+YiKziJZFylZnCo1nmFF4qPU4yJ14abhWESuSMQSlQxWdxdOFzxXjk/PpfudTtYyw== @@ -140,31 +193,38 @@ packages: dependencies: '@babel/helper-get-function-arity': 7.12.13 '@babel/template': 7.12.13 - '@babel/types': 7.12.13 + '@babel/types': 7.13.0 dev: true resolution: integrity: sha512-TZvmPn0UOqmvi5G4vvw0qZTpVptGkB1GL61R6lKvrSdIxGm5Pky7Q3fpKiIkQCAtRCBUwB0PaThlx9vebCDSwA== /@babel/helper-get-function-arity/7.12.13: dependencies: - '@babel/types': 7.12.13 + '@babel/types': 7.13.0 dev: true resolution: integrity: sha512-DjEVzQNz5LICkzN0REdpD5prGoidvbdYk1BVgRUOINaWJP2t6avB27X1guXK1kXNrX0WMfsrm1A/ZBthYuIMQg== - /@babel/helper-hoist-variables/7.12.13: + /@babel/helper-hoist-variables/7.13.0: dependencies: - '@babel/types': 7.12.13 + '@babel/traverse': 7.13.0 + '@babel/types': 7.13.0 dev: true resolution: - integrity: sha512-KSC5XSj5HreRhYQtZ3cnSnQwDzgnbdUDEFsxkN0m6Q3WrCRt72xrnZ8+h+pX7YxM7hr87zIO3a/v5p/H3TrnVw== + integrity: sha512-0kBzvXiIKfsCA0y6cFEIJf4OdzfpRuNk4+YTeHZpGGc666SATFKTz6sRncwFnQk7/ugJ4dSrCj6iJuvW4Qwr2g== /@babel/helper-member-expression-to-functions/7.12.13: dependencies: '@babel/types': 7.12.13 dev: true resolution: integrity: sha512-B+7nN0gIL8FZ8SvMcF+EPyB21KnCcZHQZFczCxbiNGV/O0rsrSBlWGLzmtBJ3GMjSVMIm4lpFhR+VdVBuIsUcQ== + /@babel/helper-member-expression-to-functions/7.13.0: + dependencies: + '@babel/types': 7.13.0 + dev: true + resolution: + integrity: sha512-yvRf8Ivk62JwisqV1rFRMxiSMDGnN6KH1/mDMmIrij4jztpQNRoHqqMG3U6apYbGRPJpgPalhva9Yd06HlUxJQ== /@babel/helper-module-imports/7.12.13: dependencies: - '@babel/types': 7.12.13 + '@babel/types': 7.13.0 dev: true resolution: integrity: sha512-NGmfvRp9Rqxy0uHSSVP+SRIW1q31a7Ji10cLBcqSDUngGentY4FRiHOFZFE1CLU5eiL0oE8reH7Tg1y99TDM/g== @@ -182,24 +242,38 @@ packages: dev: true resolution: integrity: sha512-acKF7EjqOR67ASIlDTupwkKM1eUisNAjaSduo5Cz+793ikfnpe7p4Q7B7EWU2PCoSTPWsQkR7hRUWEIZPiVLGA== + /@babel/helper-module-transforms/7.13.0: + dependencies: + '@babel/helper-module-imports': 7.12.13 + '@babel/helper-replace-supers': 7.13.0 + '@babel/helper-simple-access': 7.12.13 + '@babel/helper-split-export-declaration': 7.12.13 + '@babel/helper-validator-identifier': 7.12.11 + '@babel/template': 7.12.13 + '@babel/traverse': 7.13.0 + '@babel/types': 7.13.0 + lodash: 4.17.21 + dev: true + resolution: + integrity: sha512-Ls8/VBwH577+pw7Ku1QkUWIyRRNHpYlts7+qSqBBFCW3I8QteB9DxfcZ5YJpOwH6Ihe/wn8ch7fMGOP1OhEIvw== /@babel/helper-optimise-call-expression/7.12.13: dependencies: - '@babel/types': 7.12.13 + '@babel/types': 7.13.0 dev: true resolution: integrity: sha512-BdWQhoVJkp6nVjB7nkFWcn43dkprYauqtk++Py2eaf/GRDFm5BxRqEIZCiHlZUGAVmtwKcsVL1dC68WmzeFmiA== - /@babel/helper-plugin-utils/7.12.13: + /@babel/helper-plugin-utils/7.13.0: dev: true resolution: - integrity: sha512-C+10MXCXJLiR6IeG9+Wiejt9jmtFpxUc3MQqCmPY8hfCjyUGl9kT+B2okzEZrtykiwrc4dbCPdDoz0A/HQbDaA== - /@babel/helper-remap-async-to-generator/7.12.13: + integrity: sha512-ZPafIPSwzUlAoWT8DKs1W2VyF2gOWthGd5NGFMsBcMMol+ZhK+EQY/e6V96poa6PA/Bh+C9plWN0hXO1uB8AfQ== + /@babel/helper-remap-async-to-generator/7.13.0: dependencies: '@babel/helper-annotate-as-pure': 7.12.13 - '@babel/helper-wrap-function': 7.12.13 - '@babel/types': 7.12.13 + '@babel/helper-wrap-function': 7.13.0 + '@babel/types': 7.13.0 dev: true resolution: - integrity: sha512-Qa6PU9vNcj1NZacZZI1Mvwt+gXDH6CTfgAkSjeRMLE8HxtDK76+YDId6NQR+z7Rgd5arhD2cIbS74r0SxD6PDA== + integrity: sha512-pUQpFBE9JvC9lrQbpX0TmeNIy5s7GnZjna2lhhcHC7DzgBs6fWn722Y5cfwgrtrqc7NAJwMvOa0mKhq6XaE4jg== /@babel/helper-replace-supers/7.12.13: dependencies: '@babel/helper-member-expression-to-functions': 7.12.13 @@ -209,21 +283,30 @@ packages: dev: true resolution: integrity: sha512-pctAOIAMVStI2TMLhozPKbf5yTEXc0OJa0eENheb4w09SrgOWEs+P4nTOZYJQCqs8JlErGLDPDJTiGIp3ygbLg== + /@babel/helper-replace-supers/7.13.0: + dependencies: + '@babel/helper-member-expression-to-functions': 7.13.0 + '@babel/helper-optimise-call-expression': 7.12.13 + '@babel/traverse': 7.13.0 + '@babel/types': 7.13.0 + dev: true + resolution: + integrity: sha512-Segd5me1+Pz+rmN/NFBOplMbZG3SqRJOBlY+mA0SxAv6rjj7zJqr1AVr3SfzUVTLCv7ZLU5FycOM/SBGuLPbZw== /@babel/helper-simple-access/7.12.13: dependencies: - '@babel/types': 7.12.13 + '@babel/types': 7.13.0 dev: true resolution: integrity: sha512-0ski5dyYIHEfwpWGx5GPWhH35j342JaflmCeQmsPWcrOQDtCN6C1zKAVRFVbK53lPW2c9TsuLLSUDf0tIGJ5hA== /@babel/helper-skip-transparent-expression-wrappers/7.12.1: dependencies: - '@babel/types': 7.12.13 + '@babel/types': 7.13.0 dev: true resolution: integrity: sha512-Mf5AUuhG1/OCChOJ/HcADmvcHM42WJockombn8ATJG3OnyiSxBK/Mm5x78BQWvmtXZKHgbjdGL2kin/HOLlZGA== /@babel/helper-split-export-declaration/7.12.13: dependencies: - '@babel/types': 7.12.13 + '@babel/types': 7.13.0 dev: true resolution: integrity: sha512-tCJDltF83htUtXx5NLcaDqRmknv652ZWCHyoTETf1CXYJdPC7nohZohjUgieXhv0hTJdRf2FjDueFehdNucpzg== @@ -231,19 +314,19 @@ packages: dev: true resolution: integrity: sha512-np/lG3uARFybkoHokJUmf1QfEvRVCPbmQeUQpKow5cQ3xWrV9i3rUHodKDJPQfTVX61qKi+UdYk8kik84n7XOw== - /@babel/helper-validator-option/7.12.11: + /@babel/helper-validator-option/7.12.17: dev: true resolution: - integrity: sha512-TBFCyj939mFSdeX7U7DDj32WtzYY7fDcalgq8v3fBZMNOJQNn7nOYzMaUCiPxPYfCup69mtIpqlKgMZLvQ8Xhw== - /@babel/helper-wrap-function/7.12.13: + integrity: sha512-TopkMDmLzq8ngChwRlyjR6raKD6gMSae4JdYDB8bByKreQgG0RBTuKe9LRxW3wFtUnjxOPRKBDwEH6Mg5KeDfw== + /@babel/helper-wrap-function/7.13.0: dependencies: '@babel/helper-function-name': 7.12.13 '@babel/template': 7.12.13 - '@babel/traverse': 7.12.13 - '@babel/types': 7.12.13 + '@babel/traverse': 7.13.0 + '@babel/types': 7.13.0 dev: true resolution: - integrity: sha512-t0aZFEmBJ1LojdtJnhOaQEVejnzYhyjWHSsNSNo8vOYRbAJNh6r6GQF7pd36SqG7OKGbn+AewVQ/0IfYfIuGdw== + integrity: sha512-1UX9F7K3BS42fI6qd2A4BjKzgGjToscyZTdp1DjknHLCIvpgne6918io+aL5LXFcER/8QWiwpoY902pVEqgTXA== /@babel/helpers/7.12.13: dependencies: '@babel/template': 7.12.13 @@ -252,6 +335,14 @@ packages: dev: true resolution: integrity: sha512-oohVzLRZ3GQEk4Cjhfs9YkJA4TdIDTObdBEZGrd6F/T0GPSnuV6l22eMcxlvcvzVIPH3VTtxbseudM1zIE+rPQ== + /@babel/helpers/7.13.0: + dependencies: + '@babel/template': 7.12.13 + '@babel/traverse': 7.13.0 + '@babel/types': 7.13.0 + dev: true + resolution: + integrity: sha512-aan1MeFPxFacZeSz6Ld7YZo5aPuqnKlD7+HZY75xQsueczFccP9A7V05+oe0XpLwHK3oLorPe9eaAUljL7WEaQ== /@babel/highlight/7.12.13: dependencies: '@babel/helper-validator-identifier': 7.12.11 @@ -267,134 +358,143 @@ packages: hasBin: true resolution: integrity: sha512-AQBOU2Z9kWwSZMd6lNjCX0GUgFonL1wAM1db8L8PMk9UDaGsRCArBkU4Sc+UCM3AE4hjbXx+h58Lb3QT4oRmrA== - /@babel/plugin-proposal-async-generator-functions/7.12.13_@babel+core@7.12.13: + /@babel/parser/7.13.9: + dev: true + engines: + node: '>=6.0.0' + hasBin: true + resolution: + integrity: sha512-nEUfRiARCcaVo3ny3ZQjURjHQZUo/JkEw7rLlSZy/psWGnvwXFtPcr6jb7Yb41DVW5LTe6KRq9LGleRNsg1Frw== + /@babel/plugin-proposal-async-generator-functions/7.13.8_@babel+core@7.13.8: dependencies: - '@babel/core': 7.12.13 - '@babel/helper-plugin-utils': 7.12.13 - '@babel/helper-remap-async-to-generator': 7.12.13 - '@babel/plugin-syntax-async-generators': 7.8.4_@babel+core@7.12.13 + '@babel/core': 7.13.8 + '@babel/helper-plugin-utils': 7.13.0 + '@babel/helper-remap-async-to-generator': 7.13.0 + '@babel/plugin-syntax-async-generators': 7.8.4_@babel+core@7.13.8 dev: true peerDependencies: '@babel/core': ^7.0.0-0 resolution: - integrity: sha512-1KH46Hx4WqP77f978+5Ye/VUbuwQld2hph70yaw2hXS2v7ER2f3nlpNMu909HO2rbvP0NKLlMVDPh9KXklVMhA== - /@babel/plugin-proposal-class-properties/7.12.13_@babel+core@7.12.13: + integrity: sha512-rPBnhj+WgoSmgq+4gQUtXx/vOcU+UYtjy1AA/aeD61Hwj410fwYyqfUcRP3lR8ucgliVJL/G7sXcNUecC75IXA== + /@babel/plugin-proposal-class-properties/7.13.0_@babel+core@7.13.8: dependencies: - '@babel/core': 7.12.13 - '@babel/helper-create-class-features-plugin': 7.12.13_@babel+core@7.12.13 - '@babel/helper-plugin-utils': 7.12.13 + '@babel/core': 7.13.8 + '@babel/helper-create-class-features-plugin': 7.13.8_@babel+core@7.13.8 + '@babel/helper-plugin-utils': 7.13.0 dev: true peerDependencies: '@babel/core': ^7.0.0-0 resolution: - integrity: sha512-8SCJ0Ddrpwv4T7Gwb33EmW1V9PY5lggTO+A8WjyIwxrSHDUyBw4MtF96ifn1n8H806YlxbVCoKXbbmzD6RD+cA== - /@babel/plugin-proposal-dynamic-import/7.12.1_@babel+core@7.12.13: + integrity: sha512-KnTDjFNC1g+45ka0myZNvSBFLhNCLN+GeGYLDEA8Oq7MZ6yMgfLoIRh86GRT0FjtJhZw8JyUskP9uvj5pHM9Zg== + /@babel/plugin-proposal-dynamic-import/7.13.8_@babel+core@7.13.8: dependencies: - '@babel/core': 7.12.13 - '@babel/helper-plugin-utils': 7.12.13 - '@babel/plugin-syntax-dynamic-import': 7.8.3_@babel+core@7.12.13 + '@babel/core': 7.13.8 + '@babel/helper-plugin-utils': 7.13.0 + '@babel/plugin-syntax-dynamic-import': 7.8.3_@babel+core@7.13.8 dev: true peerDependencies: '@babel/core': ^7.0.0-0 resolution: - integrity: sha512-a4rhUSZFuq5W8/OO8H7BL5zspjnc1FLd9hlOxIK/f7qG4a0qsqk8uvF/ywgBA8/OmjsapjpvaEOYItfGG1qIvQ== - /@babel/plugin-proposal-export-namespace-from/7.12.13_@babel+core@7.12.13: + integrity: sha512-ONWKj0H6+wIRCkZi9zSbZtE/r73uOhMVHh256ys0UzfM7I3d4n+spZNWjOnJv2gzopumP2Wxi186vI8N0Y2JyQ== + /@babel/plugin-proposal-export-namespace-from/7.12.13_@babel+core@7.13.8: dependencies: - '@babel/core': 7.12.13 - '@babel/helper-plugin-utils': 7.12.13 - '@babel/plugin-syntax-export-namespace-from': 7.8.3_@babel+core@7.12.13 + '@babel/core': 7.13.8 + '@babel/helper-plugin-utils': 7.13.0 + '@babel/plugin-syntax-export-namespace-from': 7.8.3_@babel+core@7.13.8 dev: true peerDependencies: '@babel/core': ^7.0.0-0 resolution: integrity: sha512-INAgtFo4OnLN3Y/j0VwAgw3HDXcDtX+C/erMvWzuV9v71r7urb6iyMXu7eM9IgLr1ElLlOkaHjJ0SbCmdOQ3Iw== - /@babel/plugin-proposal-json-strings/7.12.13_@babel+core@7.12.13: + /@babel/plugin-proposal-json-strings/7.13.8_@babel+core@7.13.8: dependencies: - '@babel/core': 7.12.13 - '@babel/helper-plugin-utils': 7.12.13 - '@babel/plugin-syntax-json-strings': 7.8.3_@babel+core@7.12.13 + '@babel/core': 7.13.8 + '@babel/helper-plugin-utils': 7.13.0 + '@babel/plugin-syntax-json-strings': 7.8.3_@babel+core@7.13.8 dev: true peerDependencies: '@babel/core': ^7.0.0-0 resolution: - integrity: sha512-v9eEi4GiORDg8x+Dmi5r8ibOe0VXoKDeNPYcTTxdGN4eOWikrJfDJCJrr1l5gKGvsNyGJbrfMftC2dTL6oz7pg== - /@babel/plugin-proposal-logical-assignment-operators/7.12.13_@babel+core@7.12.13: + integrity: sha512-w4zOPKUFPX1mgvTmL/fcEqy34hrQ1CRcGxdphBc6snDnnqJ47EZDIyop6IwXzAC8G916hsIuXB2ZMBCExC5k7Q== + /@babel/plugin-proposal-logical-assignment-operators/7.13.8_@babel+core@7.13.8: dependencies: - '@babel/core': 7.12.13 - '@babel/helper-plugin-utils': 7.12.13 - '@babel/plugin-syntax-logical-assignment-operators': 7.10.4_@babel+core@7.12.13 + '@babel/core': 7.13.8 + '@babel/helper-plugin-utils': 7.13.0 + '@babel/plugin-syntax-logical-assignment-operators': 7.10.4_@babel+core@7.13.8 dev: true peerDependencies: '@babel/core': ^7.0.0-0 resolution: - integrity: sha512-fqmiD3Lz7jVdK6kabeSr1PZlWSUVqSitmHEe3Z00dtGTKieWnX9beafvavc32kjORa5Bai4QNHgFDwWJP+WtSQ== - /@babel/plugin-proposal-nullish-coalescing-operator/7.12.13_@babel+core@7.12.13: + integrity: sha512-aul6znYB4N4HGweImqKn59Su9RS8lbUIqxtXTOcAGtNIDczoEFv+l1EhmX8rUBp3G1jMjKJm8m0jXVp63ZpS4A== + /@babel/plugin-proposal-nullish-coalescing-operator/7.13.8_@babel+core@7.13.8: dependencies: - '@babel/core': 7.12.13 - '@babel/helper-plugin-utils': 7.12.13 - '@babel/plugin-syntax-nullish-coalescing-operator': 7.8.3_@babel+core@7.12.13 + '@babel/core': 7.13.8 + '@babel/helper-plugin-utils': 7.13.0 + '@babel/plugin-syntax-nullish-coalescing-operator': 7.8.3_@babel+core@7.13.8 dev: true peerDependencies: '@babel/core': ^7.0.0-0 resolution: - integrity: sha512-Qoxpy+OxhDBI5kRqliJFAl4uWXk3Bn24WeFstPH0iLymFehSAUR8MHpqU7njyXv/qbo7oN6yTy5bfCmXdKpo1Q== - /@babel/plugin-proposal-numeric-separator/7.12.13_@babel+core@7.12.13: + integrity: sha512-iePlDPBn//UhxExyS9KyeYU7RM9WScAG+D3Hhno0PLJebAEpDZMocbDe64eqynhNAnwz/vZoL/q/QB2T1OH39A== + /@babel/plugin-proposal-numeric-separator/7.12.13_@babel+core@7.13.8: dependencies: - '@babel/core': 7.12.13 - '@babel/helper-plugin-utils': 7.12.13 - '@babel/plugin-syntax-numeric-separator': 7.10.4_@babel+core@7.12.13 + '@babel/core': 7.13.8 + '@babel/helper-plugin-utils': 7.13.0 + '@babel/plugin-syntax-numeric-separator': 7.10.4_@babel+core@7.13.8 dev: true peerDependencies: '@babel/core': ^7.0.0-0 resolution: integrity: sha512-O1jFia9R8BUCl3ZGB7eitaAPu62TXJRHn7rh+ojNERCFyqRwJMTmhz+tJ+k0CwI6CLjX/ee4qW74FSqlq9I35w== - /@babel/plugin-proposal-object-rest-spread/7.12.13_@babel+core@7.12.13: + /@babel/plugin-proposal-object-rest-spread/7.13.8_@babel+core@7.13.8: dependencies: - '@babel/core': 7.12.13 - '@babel/helper-plugin-utils': 7.12.13 - '@babel/plugin-syntax-object-rest-spread': 7.8.3_@babel+core@7.12.13 - '@babel/plugin-transform-parameters': 7.12.13_@babel+core@7.12.13 + '@babel/compat-data': 7.13.8 + '@babel/core': 7.13.8 + '@babel/helper-compilation-targets': 7.13.8_@babel+core@7.13.8 + '@babel/helper-plugin-utils': 7.13.0 + '@babel/plugin-syntax-object-rest-spread': 7.8.3_@babel+core@7.13.8 + '@babel/plugin-transform-parameters': 7.13.0_@babel+core@7.13.8 dev: true peerDependencies: '@babel/core': ^7.0.0-0 resolution: - integrity: sha512-WvA1okB/0OS/N3Ldb3sziSrXg6sRphsBgqiccfcQq7woEn5wQLNX82Oc4PlaFcdwcWHuQXAtb8ftbS8Fbsg/sg== - /@babel/plugin-proposal-optional-catch-binding/7.12.13_@babel+core@7.12.13: + integrity: sha512-DhB2EuB1Ih7S3/IRX5AFVgZ16k3EzfRbq97CxAVI1KSYcW+lexV8VZb7G7L8zuPVSdQMRn0kiBpf/Yzu9ZKH0g== + /@babel/plugin-proposal-optional-catch-binding/7.13.8_@babel+core@7.13.8: dependencies: - '@babel/core': 7.12.13 - '@babel/helper-plugin-utils': 7.12.13 - '@babel/plugin-syntax-optional-catch-binding': 7.8.3_@babel+core@7.12.13 + '@babel/core': 7.13.8 + '@babel/helper-plugin-utils': 7.13.0 + '@babel/plugin-syntax-optional-catch-binding': 7.8.3_@babel+core@7.13.8 dev: true peerDependencies: '@babel/core': ^7.0.0-0 resolution: - integrity: sha512-9+MIm6msl9sHWg58NvqpNpLtuFbmpFYk37x8kgnGzAHvX35E1FyAwSUt5hIkSoWJFSAH+iwU8bJ4fcD1zKXOzg== - /@babel/plugin-proposal-optional-chaining/7.12.13_@babel+core@7.12.13: + integrity: sha512-0wS/4DUF1CuTmGo+NiaHfHcVSeSLj5S3e6RivPTg/2k3wOv3jO35tZ6/ZWsQhQMvdgI7CwphjQa/ccarLymHVA== + /@babel/plugin-proposal-optional-chaining/7.13.8_@babel+core@7.13.8: dependencies: - '@babel/core': 7.12.13 - '@babel/helper-plugin-utils': 7.12.13 + '@babel/core': 7.13.8 + '@babel/helper-plugin-utils': 7.13.0 '@babel/helper-skip-transparent-expression-wrappers': 7.12.1 - '@babel/plugin-syntax-optional-chaining': 7.8.3_@babel+core@7.12.13 + '@babel/plugin-syntax-optional-chaining': 7.8.3_@babel+core@7.13.8 dev: true peerDependencies: '@babel/core': ^7.0.0-0 resolution: - integrity: sha512-0ZwjGfTcnZqyV3y9DSD1Yk3ebp+sIUpT2YDqP8hovzaNZnQq2Kd7PEqa6iOIUDBXBt7Jl3P7YAcEIL5Pz8u09Q== - /@babel/plugin-proposal-private-methods/7.12.13_@babel+core@7.12.13: + integrity: sha512-hpbBwbTgd7Cz1QryvwJZRo1U0k1q8uyBmeXOSQUjdg/A2TASkhR/rz7AyqZ/kS8kbpsNA80rOYbxySBJAqmhhQ== + /@babel/plugin-proposal-private-methods/7.13.0_@babel+core@7.13.8: dependencies: - '@babel/core': 7.12.13 - '@babel/helper-create-class-features-plugin': 7.12.13_@babel+core@7.12.13 - '@babel/helper-plugin-utils': 7.12.13 + '@babel/core': 7.13.8 + '@babel/helper-create-class-features-plugin': 7.13.8_@babel+core@7.13.8 + '@babel/helper-plugin-utils': 7.13.0 dev: true peerDependencies: '@babel/core': ^7.0.0-0 resolution: - integrity: sha512-sV0V57uUwpauixvR7s2o75LmwJI6JECwm5oPUY5beZB1nBl2i37hc7CJGqB5G+58fur5Y6ugvl3LRONk5x34rg== - /@babel/plugin-proposal-unicode-property-regex/7.12.13_@babel+core@7.12.13: + integrity: sha512-MXyyKQd9inhx1kDYPkFRVOBXQ20ES8Pto3T7UZ92xj2mY0EVD8oAVzeyYuVfy/mxAdTSIayOvg+aVzcHV2bn6Q== + /@babel/plugin-proposal-unicode-property-regex/7.12.13_@babel+core@7.13.8: dependencies: - '@babel/core': 7.12.13 - '@babel/helper-create-regexp-features-plugin': 7.12.13_@babel+core@7.12.13 - '@babel/helper-plugin-utils': 7.12.13 + '@babel/core': 7.13.8 + '@babel/helper-create-regexp-features-plugin': 7.12.13_@babel+core@7.13.8 + '@babel/helper-plugin-utils': 7.13.0 dev: true engines: node: '>=4' @@ -402,507 +502,509 @@ packages: '@babel/core': ^7.0.0-0 resolution: integrity: sha512-XyJmZidNfofEkqFV5VC/bLabGmO5QzenPO/YOfGuEbgU+2sSwMmio3YLb4WtBgcmmdwZHyVyv8on77IUjQ5Gvg== - /@babel/plugin-syntax-async-generators/7.8.4_@babel+core@7.12.13: + /@babel/plugin-syntax-async-generators/7.8.4_@babel+core@7.13.8: dependencies: - '@babel/core': 7.12.13 - '@babel/helper-plugin-utils': 7.12.13 + '@babel/core': 7.13.8 + '@babel/helper-plugin-utils': 7.13.0 dev: true peerDependencies: '@babel/core': ^7.0.0-0 resolution: integrity: sha512-tycmZxkGfZaxhMRbXlPXuVFpdWlXpir2W4AMhSJgRKzk/eDlIXOhb2LHWoLpDF7TEHylV5zNhykX6KAgHJmTNw== - /@babel/plugin-syntax-class-properties/7.12.13_@babel+core@7.12.13: + /@babel/plugin-syntax-class-properties/7.12.13_@babel+core@7.13.8: dependencies: - '@babel/core': 7.12.13 - '@babel/helper-plugin-utils': 7.12.13 + '@babel/core': 7.13.8 + '@babel/helper-plugin-utils': 7.13.0 dev: true peerDependencies: '@babel/core': ^7.0.0-0 resolution: integrity: sha512-fm4idjKla0YahUNgFNLCB0qySdsoPiZP3iQE3rky0mBUtMZ23yDJ9SJdg6dXTSDnulOVqiF3Hgr9nbXvXTQZYA== - /@babel/plugin-syntax-dynamic-import/7.8.3_@babel+core@7.12.13: + /@babel/plugin-syntax-dynamic-import/7.8.3_@babel+core@7.13.8: dependencies: - '@babel/core': 7.12.13 - '@babel/helper-plugin-utils': 7.12.13 + '@babel/core': 7.13.8 + '@babel/helper-plugin-utils': 7.13.0 dev: true peerDependencies: '@babel/core': ^7.0.0-0 resolution: integrity: sha512-5gdGbFon+PszYzqs83S3E5mpi7/y/8M9eC90MRTZfduQOYW76ig6SOSPNe41IG5LoP3FGBn2N0RjVDSQiS94kQ== - /@babel/plugin-syntax-export-namespace-from/7.8.3_@babel+core@7.12.13: + /@babel/plugin-syntax-export-namespace-from/7.8.3_@babel+core@7.13.8: dependencies: - '@babel/core': 7.12.13 - '@babel/helper-plugin-utils': 7.12.13 + '@babel/core': 7.13.8 + '@babel/helper-plugin-utils': 7.13.0 dev: true peerDependencies: '@babel/core': ^7.0.0-0 resolution: integrity: sha512-MXf5laXo6c1IbEbegDmzGPwGNTsHZmEy6QGznu5Sh2UCWvueywb2ee+CCE4zQiZstxU9BMoQO9i6zUFSY0Kj0Q== - /@babel/plugin-syntax-json-strings/7.8.3_@babel+core@7.12.13: + /@babel/plugin-syntax-json-strings/7.8.3_@babel+core@7.13.8: dependencies: - '@babel/core': 7.12.13 - '@babel/helper-plugin-utils': 7.12.13 + '@babel/core': 7.13.8 + '@babel/helper-plugin-utils': 7.13.0 dev: true peerDependencies: '@babel/core': ^7.0.0-0 resolution: integrity: sha512-lY6kdGpWHvjoe2vk4WrAapEuBR69EMxZl+RoGRhrFGNYVK8mOPAW8VfbT/ZgrFbXlDNiiaxQnAtgVCZ6jv30EA== - /@babel/plugin-syntax-logical-assignment-operators/7.10.4_@babel+core@7.12.13: + /@babel/plugin-syntax-logical-assignment-operators/7.10.4_@babel+core@7.13.8: dependencies: - '@babel/core': 7.12.13 - '@babel/helper-plugin-utils': 7.12.13 + '@babel/core': 7.13.8 + '@babel/helper-plugin-utils': 7.13.0 dev: true peerDependencies: '@babel/core': ^7.0.0-0 resolution: integrity: sha512-d8waShlpFDinQ5MtvGU9xDAOzKH47+FFoney2baFIoMr952hKOLp1HR7VszoZvOsV/4+RRszNY7D17ba0te0ig== - /@babel/plugin-syntax-nullish-coalescing-operator/7.8.3_@babel+core@7.12.13: + /@babel/plugin-syntax-nullish-coalescing-operator/7.8.3_@babel+core@7.13.8: dependencies: - '@babel/core': 7.12.13 - '@babel/helper-plugin-utils': 7.12.13 + '@babel/core': 7.13.8 + '@babel/helper-plugin-utils': 7.13.0 dev: true peerDependencies: '@babel/core': ^7.0.0-0 resolution: integrity: sha512-aSff4zPII1u2QD7y+F8oDsz19ew4IGEJg9SVW+bqwpwtfFleiQDMdzA/R+UlWDzfnHFCxxleFT0PMIrR36XLNQ== - /@babel/plugin-syntax-numeric-separator/7.10.4_@babel+core@7.12.13: + /@babel/plugin-syntax-numeric-separator/7.10.4_@babel+core@7.13.8: dependencies: - '@babel/core': 7.12.13 - '@babel/helper-plugin-utils': 7.12.13 + '@babel/core': 7.13.8 + '@babel/helper-plugin-utils': 7.13.0 dev: true peerDependencies: '@babel/core': ^7.0.0-0 resolution: integrity: sha512-9H6YdfkcK/uOnY/K7/aA2xpzaAgkQn37yzWUMRK7OaPOqOpGS1+n0H5hxT9AUw9EsSjPW8SVyMJwYRtWs3X3ug== - /@babel/plugin-syntax-object-rest-spread/7.8.3_@babel+core@7.12.13: + /@babel/plugin-syntax-object-rest-spread/7.8.3_@babel+core@7.13.8: dependencies: - '@babel/core': 7.12.13 - '@babel/helper-plugin-utils': 7.12.13 + '@babel/core': 7.13.8 + '@babel/helper-plugin-utils': 7.13.0 dev: true peerDependencies: '@babel/core': ^7.0.0-0 resolution: integrity: sha512-XoqMijGZb9y3y2XskN+P1wUGiVwWZ5JmoDRwx5+3GmEplNyVM2s2Dg8ILFQm8rWM48orGy5YpI5Bl8U1y7ydlA== - /@babel/plugin-syntax-optional-catch-binding/7.8.3_@babel+core@7.12.13: + /@babel/plugin-syntax-optional-catch-binding/7.8.3_@babel+core@7.13.8: dependencies: - '@babel/core': 7.12.13 - '@babel/helper-plugin-utils': 7.12.13 + '@babel/core': 7.13.8 + '@babel/helper-plugin-utils': 7.13.0 dev: true peerDependencies: '@babel/core': ^7.0.0-0 resolution: integrity: sha512-6VPD0Pc1lpTqw0aKoeRTMiB+kWhAoT24PA+ksWSBrFtl5SIRVpZlwN3NNPQjehA2E/91FV3RjLWoVTglWcSV3Q== - /@babel/plugin-syntax-optional-chaining/7.8.3_@babel+core@7.12.13: + /@babel/plugin-syntax-optional-chaining/7.8.3_@babel+core@7.13.8: dependencies: - '@babel/core': 7.12.13 - '@babel/helper-plugin-utils': 7.12.13 + '@babel/core': 7.13.8 + '@babel/helper-plugin-utils': 7.13.0 dev: true peerDependencies: '@babel/core': ^7.0.0-0 resolution: integrity: sha512-KoK9ErH1MBlCPxV0VANkXW2/dw4vlbGDrFgz8bmUsBGYkFRcbRwMh6cIJubdPrkxRwuGdtCk0v/wPTKbQgBjkg== - /@babel/plugin-syntax-top-level-await/7.12.13_@babel+core@7.12.13: + /@babel/plugin-syntax-top-level-await/7.12.13_@babel+core@7.13.8: dependencies: - '@babel/core': 7.12.13 - '@babel/helper-plugin-utils': 7.12.13 + '@babel/core': 7.13.8 + '@babel/helper-plugin-utils': 7.13.0 dev: true peerDependencies: '@babel/core': ^7.0.0-0 resolution: integrity: sha512-A81F9pDwyS7yM//KwbCSDqy3Uj4NMIurtplxphWxoYtNPov7cJsDkAFNNyVlIZ3jwGycVsurZ+LtOA8gZ376iQ== - /@babel/plugin-transform-arrow-functions/7.12.13_@babel+core@7.12.13: + /@babel/plugin-transform-arrow-functions/7.13.0_@babel+core@7.13.8: dependencies: - '@babel/core': 7.12.13 - '@babel/helper-plugin-utils': 7.12.13 + '@babel/core': 7.13.8 + '@babel/helper-plugin-utils': 7.13.0 dev: true peerDependencies: '@babel/core': ^7.0.0-0 resolution: - integrity: sha512-tBtuN6qtCTd+iHzVZVOMNp+L04iIJBpqkdY42tWbmjIT5wvR2kx7gxMBsyhQtFzHwBbyGi9h8J8r9HgnOpQHxg== - /@babel/plugin-transform-async-to-generator/7.12.13_@babel+core@7.12.13: + integrity: sha512-96lgJagobeVmazXFaDrbmCLQxBysKu7U6Do3mLsx27gf5Dk85ezysrs2BZUpXD703U/Su1xTBDxxar2oa4jAGg== + /@babel/plugin-transform-async-to-generator/7.13.0_@babel+core@7.13.8: dependencies: - '@babel/core': 7.12.13 + '@babel/core': 7.13.8 '@babel/helper-module-imports': 7.12.13 - '@babel/helper-plugin-utils': 7.12.13 - '@babel/helper-remap-async-to-generator': 7.12.13 + '@babel/helper-plugin-utils': 7.13.0 + '@babel/helper-remap-async-to-generator': 7.13.0 dev: true peerDependencies: '@babel/core': ^7.0.0-0 resolution: - integrity: sha512-psM9QHcHaDr+HZpRuJcE1PXESuGWSCcbiGFFhhwfzdbTxaGDVzuVtdNYliAwcRo3GFg0Bc8MmI+AvIGYIJG04A== - /@babel/plugin-transform-block-scoped-functions/7.12.13_@babel+core@7.12.13: + integrity: sha512-3j6E004Dx0K3eGmhxVJxwwI89CTJrce7lg3UrtFuDAVQ/2+SJ/h/aSFOeE6/n0WB1GsOffsJp6MnPQNQ8nmwhg== + /@babel/plugin-transform-block-scoped-functions/7.12.13_@babel+core@7.13.8: dependencies: - '@babel/core': 7.12.13 - '@babel/helper-plugin-utils': 7.12.13 + '@babel/core': 7.13.8 + '@babel/helper-plugin-utils': 7.13.0 dev: true peerDependencies: '@babel/core': ^7.0.0-0 resolution: integrity: sha512-zNyFqbc3kI/fVpqwfqkg6RvBgFpC4J18aKKMmv7KdQ/1GgREapSJAykLMVNwfRGO3BtHj3YQZl8kxCXPcVMVeg== - /@babel/plugin-transform-block-scoping/7.12.13_@babel+core@7.12.13: + /@babel/plugin-transform-block-scoping/7.12.13_@babel+core@7.13.8: dependencies: - '@babel/core': 7.12.13 - '@babel/helper-plugin-utils': 7.12.13 + '@babel/core': 7.13.8 + '@babel/helper-plugin-utils': 7.13.0 dev: true peerDependencies: '@babel/core': ^7.0.0-0 resolution: integrity: sha512-Pxwe0iqWJX4fOOM2kEZeUuAxHMWb9nK+9oh5d11bsLoB0xMg+mkDpt0eYuDZB7ETrY9bbcVlKUGTOGWy7BHsMQ== - /@babel/plugin-transform-classes/7.12.13_@babel+core@7.12.13: + /@babel/plugin-transform-classes/7.13.0_@babel+core@7.13.8: dependencies: - '@babel/core': 7.12.13 + '@babel/core': 7.13.8 '@babel/helper-annotate-as-pure': 7.12.13 '@babel/helper-function-name': 7.12.13 '@babel/helper-optimise-call-expression': 7.12.13 - '@babel/helper-plugin-utils': 7.12.13 - '@babel/helper-replace-supers': 7.12.13 + '@babel/helper-plugin-utils': 7.13.0 + '@babel/helper-replace-supers': 7.13.0 '@babel/helper-split-export-declaration': 7.12.13 globals: 11.12.0 dev: true peerDependencies: '@babel/core': ^7.0.0-0 resolution: - integrity: sha512-cqZlMlhCC1rVnxE5ZGMtIb896ijL90xppMiuWXcwcOAuFczynpd3KYemb91XFFPi3wJSe/OcrX9lXoowatkkxA== - /@babel/plugin-transform-computed-properties/7.12.13_@babel+core@7.12.13: + integrity: sha512-9BtHCPUARyVH1oXGcSJD3YpsqRLROJx5ZNP6tN5vnk17N0SVf9WCtf8Nuh1CFmgByKKAIMstitKduoCmsaDK5g== + /@babel/plugin-transform-computed-properties/7.13.0_@babel+core@7.13.8: dependencies: - '@babel/core': 7.12.13 - '@babel/helper-plugin-utils': 7.12.13 + '@babel/core': 7.13.8 + '@babel/helper-plugin-utils': 7.13.0 dev: true peerDependencies: '@babel/core': ^7.0.0-0 resolution: - integrity: sha512-dDfuROUPGK1mTtLKyDPUavmj2b6kFu82SmgpztBFEO974KMjJT+Ytj3/oWsTUMBmgPcp9J5Pc1SlcAYRpJ2hRA== - /@babel/plugin-transform-destructuring/7.12.13_@babel+core@7.12.13: + integrity: sha512-RRqTYTeZkZAz8WbieLTvKUEUxZlUTdmL5KGMyZj7FnMfLNKV4+r5549aORG/mgojRmFlQMJDUupwAMiF2Q7OUg== + /@babel/plugin-transform-destructuring/7.13.0_@babel+core@7.13.8: dependencies: - '@babel/core': 7.12.13 - '@babel/helper-plugin-utils': 7.12.13 + '@babel/core': 7.13.8 + '@babel/helper-plugin-utils': 7.13.0 dev: true peerDependencies: '@babel/core': ^7.0.0-0 resolution: - integrity: sha512-Dn83KykIFzjhA3FDPA1z4N+yfF3btDGhjnJwxIj0T43tP0flCujnU8fKgEkf0C1biIpSv9NZegPBQ1J6jYkwvQ== - /@babel/plugin-transform-dotall-regex/7.12.13_@babel+core@7.12.13: + integrity: sha512-zym5em7tePoNT9s964c0/KU3JPPnuq7VhIxPRefJ4/s82cD+q1mgKfuGRDMCPL0HTyKz4dISuQlCusfgCJ86HA== + /@babel/plugin-transform-dotall-regex/7.12.13_@babel+core@7.13.8: dependencies: - '@babel/core': 7.12.13 - '@babel/helper-create-regexp-features-plugin': 7.12.13_@babel+core@7.12.13 - '@babel/helper-plugin-utils': 7.12.13 + '@babel/core': 7.13.8 + '@babel/helper-create-regexp-features-plugin': 7.12.13_@babel+core@7.13.8 + '@babel/helper-plugin-utils': 7.13.0 dev: true peerDependencies: '@babel/core': ^7.0.0-0 resolution: integrity: sha512-foDrozE65ZFdUC2OfgeOCrEPTxdB3yjqxpXh8CH+ipd9CHd4s/iq81kcUpyH8ACGNEPdFqbtzfgzbT/ZGlbDeQ== - /@babel/plugin-transform-duplicate-keys/7.12.13_@babel+core@7.12.13: + /@babel/plugin-transform-duplicate-keys/7.12.13_@babel+core@7.13.8: dependencies: - '@babel/core': 7.12.13 - '@babel/helper-plugin-utils': 7.12.13 + '@babel/core': 7.13.8 + '@babel/helper-plugin-utils': 7.13.0 dev: true peerDependencies: '@babel/core': ^7.0.0-0 resolution: integrity: sha512-NfADJiiHdhLBW3pulJlJI2NB0t4cci4WTZ8FtdIuNc2+8pslXdPtRRAEWqUY+m9kNOk2eRYbTAOipAxlrOcwwQ== - /@babel/plugin-transform-exponentiation-operator/7.12.13_@babel+core@7.12.13: + /@babel/plugin-transform-exponentiation-operator/7.12.13_@babel+core@7.13.8: dependencies: - '@babel/core': 7.12.13 + '@babel/core': 7.13.8 '@babel/helper-builder-binary-assignment-operator-visitor': 7.12.13 - '@babel/helper-plugin-utils': 7.12.13 + '@babel/helper-plugin-utils': 7.13.0 dev: true peerDependencies: '@babel/core': ^7.0.0-0 resolution: integrity: sha512-fbUelkM1apvqez/yYx1/oICVnGo2KM5s63mhGylrmXUxK/IAXSIf87QIxVfZldWf4QsOafY6vV3bX8aMHSvNrA== - /@babel/plugin-transform-for-of/7.12.13_@babel+core@7.12.13: + /@babel/plugin-transform-for-of/7.13.0_@babel+core@7.13.8: dependencies: - '@babel/core': 7.12.13 - '@babel/helper-plugin-utils': 7.12.13 + '@babel/core': 7.13.8 + '@babel/helper-plugin-utils': 7.13.0 dev: true peerDependencies: '@babel/core': ^7.0.0-0 resolution: - integrity: sha512-xCbdgSzXYmHGyVX3+BsQjcd4hv4vA/FDy7Kc8eOpzKmBBPEOTurt0w5fCRQaGl+GSBORKgJdstQ1rHl4jbNseQ== - /@babel/plugin-transform-function-name/7.12.13_@babel+core@7.12.13: + integrity: sha512-IHKT00mwUVYE0zzbkDgNRP6SRzvfGCYsOxIRz8KsiaaHCcT9BWIkO+H9QRJseHBLOGBZkHUdHiqj6r0POsdytg== + /@babel/plugin-transform-function-name/7.12.13_@babel+core@7.13.8: dependencies: - '@babel/core': 7.12.13 + '@babel/core': 7.13.8 '@babel/helper-function-name': 7.12.13 - '@babel/helper-plugin-utils': 7.12.13 + '@babel/helper-plugin-utils': 7.13.0 dev: true peerDependencies: '@babel/core': ^7.0.0-0 resolution: integrity: sha512-6K7gZycG0cmIwwF7uMK/ZqeCikCGVBdyP2J5SKNCXO5EOHcqi+z7Jwf8AmyDNcBgxET8DrEtCt/mPKPyAzXyqQ== - /@babel/plugin-transform-literals/7.12.13_@babel+core@7.12.13: + /@babel/plugin-transform-literals/7.12.13_@babel+core@7.13.8: dependencies: - '@babel/core': 7.12.13 - '@babel/helper-plugin-utils': 7.12.13 + '@babel/core': 7.13.8 + '@babel/helper-plugin-utils': 7.13.0 dev: true peerDependencies: '@babel/core': ^7.0.0-0 resolution: integrity: sha512-FW+WPjSR7hiUxMcKqyNjP05tQ2kmBCdpEpZHY1ARm96tGQCCBvXKnpjILtDplUnJ/eHZ0lALLM+d2lMFSpYJrQ== - /@babel/plugin-transform-member-expression-literals/7.12.13_@babel+core@7.12.13: + /@babel/plugin-transform-member-expression-literals/7.12.13_@babel+core@7.13.8: dependencies: - '@babel/core': 7.12.13 - '@babel/helper-plugin-utils': 7.12.13 + '@babel/core': 7.13.8 + '@babel/helper-plugin-utils': 7.13.0 dev: true peerDependencies: '@babel/core': ^7.0.0-0 resolution: integrity: sha512-kxLkOsg8yir4YeEPHLuO2tXP9R/gTjpuTOjshqSpELUN3ZAg2jfDnKUvzzJxObun38sw3wm4Uu69sX/zA7iRvg== - /@babel/plugin-transform-modules-amd/7.12.13_@babel+core@7.12.13: + /@babel/plugin-transform-modules-amd/7.13.0_@babel+core@7.13.8: dependencies: - '@babel/core': 7.12.13 - '@babel/helper-module-transforms': 7.12.13 - '@babel/helper-plugin-utils': 7.12.13 + '@babel/core': 7.13.8 + '@babel/helper-module-transforms': 7.13.0 + '@babel/helper-plugin-utils': 7.13.0 babel-plugin-dynamic-import-node: 2.3.3 dev: true peerDependencies: '@babel/core': ^7.0.0-0 resolution: - integrity: sha512-JHLOU0o81m5UqG0Ulz/fPC68/v+UTuGTWaZBUwpEk1fYQ1D9LfKV6MPn4ttJKqRo5Lm460fkzjLTL4EHvCprvA== - /@babel/plugin-transform-modules-commonjs/7.12.13_@babel+core@7.12.13: + integrity: sha512-EKy/E2NHhY/6Vw5d1k3rgoobftcNUmp9fGjb9XZwQLtTctsRBOTRO7RHHxfIky1ogMN5BxN7p9uMA3SzPfotMQ== + /@babel/plugin-transform-modules-commonjs/7.13.8_@babel+core@7.13.8: dependencies: - '@babel/core': 7.12.13 - '@babel/helper-module-transforms': 7.12.13 - '@babel/helper-plugin-utils': 7.12.13 + '@babel/core': 7.13.8 + '@babel/helper-module-transforms': 7.13.0 + '@babel/helper-plugin-utils': 7.13.0 '@babel/helper-simple-access': 7.12.13 babel-plugin-dynamic-import-node: 2.3.3 dev: true peerDependencies: '@babel/core': ^7.0.0-0 resolution: - integrity: sha512-OGQoeVXVi1259HjuoDnsQMlMkT9UkZT9TpXAsqWplS/M0N1g3TJAn/ByOCeQu7mfjc5WpSsRU+jV1Hd89ts0kQ== - /@babel/plugin-transform-modules-systemjs/7.12.13_@babel+core@7.12.13: + integrity: sha512-9QiOx4MEGglfYZ4XOnU79OHr6vIWUakIj9b4mioN8eQIoEh+pf5p/zEB36JpDFWA12nNMiRf7bfoRvl9Rn79Bw== + /@babel/plugin-transform-modules-systemjs/7.13.8_@babel+core@7.13.8: dependencies: - '@babel/core': 7.12.13 - '@babel/helper-hoist-variables': 7.12.13 - '@babel/helper-module-transforms': 7.12.13 - '@babel/helper-plugin-utils': 7.12.13 + '@babel/core': 7.13.8 + '@babel/helper-hoist-variables': 7.13.0 + '@babel/helper-module-transforms': 7.13.0 + '@babel/helper-plugin-utils': 7.13.0 '@babel/helper-validator-identifier': 7.12.11 babel-plugin-dynamic-import-node: 2.3.3 dev: true peerDependencies: '@babel/core': ^7.0.0-0 resolution: - integrity: sha512-aHfVjhZ8QekaNF/5aNdStCGzwTbU7SI5hUybBKlMzqIMC7w7Ho8hx5a4R/DkTHfRfLwHGGxSpFt9BfxKCoXKoA== - /@babel/plugin-transform-modules-umd/7.12.13_@babel+core@7.12.13: + integrity: sha512-hwqctPYjhM6cWvVIlOIe27jCIBgHCsdH2xCJVAYQm7V5yTMoilbVMi9f6wKg0rpQAOn6ZG4AOyvCqFF/hUh6+A== + /@babel/plugin-transform-modules-umd/7.13.0_@babel+core@7.13.8: dependencies: - '@babel/core': 7.12.13 - '@babel/helper-module-transforms': 7.12.13 - '@babel/helper-plugin-utils': 7.12.13 + '@babel/core': 7.13.8 + '@babel/helper-module-transforms': 7.13.0 + '@babel/helper-plugin-utils': 7.13.0 dev: true peerDependencies: '@babel/core': ^7.0.0-0 resolution: - integrity: sha512-BgZndyABRML4z6ibpi7Z98m4EVLFI9tVsZDADC14AElFaNHHBcJIovflJ6wtCqFxwy2YJ1tJhGRsr0yLPKoN+w== - /@babel/plugin-transform-named-capturing-groups-regex/7.12.13_@babel+core@7.12.13: + integrity: sha512-D/ILzAh6uyvkWjKKyFE/W0FzWwasv6vPTSqPcjxFqn6QpX3u8DjRVliq4F2BamO2Wee/om06Vyy+vPkNrd4wxw== + /@babel/plugin-transform-named-capturing-groups-regex/7.12.13_@babel+core@7.13.8: dependencies: - '@babel/core': 7.12.13 - '@babel/helper-create-regexp-features-plugin': 7.12.13_@babel+core@7.12.13 + '@babel/core': 7.13.8 + '@babel/helper-create-regexp-features-plugin': 7.12.13_@babel+core@7.13.8 dev: true peerDependencies: '@babel/core': ^7.0.0 resolution: integrity: sha512-Xsm8P2hr5hAxyYblrfACXpQKdQbx4m2df9/ZZSQ8MAhsadw06+jW7s9zsSw6he+mJZXRlVMyEnVktJo4zjk1WA== - /@babel/plugin-transform-new-target/7.12.13_@babel+core@7.12.13: + /@babel/plugin-transform-new-target/7.12.13_@babel+core@7.13.8: dependencies: - '@babel/core': 7.12.13 - '@babel/helper-plugin-utils': 7.12.13 + '@babel/core': 7.13.8 + '@babel/helper-plugin-utils': 7.13.0 dev: true peerDependencies: '@babel/core': ^7.0.0-0 resolution: integrity: sha512-/KY2hbLxrG5GTQ9zzZSc3xWiOy379pIETEhbtzwZcw9rvuaVV4Fqy7BYGYOWZnaoXIQYbbJ0ziXLa/sKcGCYEQ== - /@babel/plugin-transform-object-super/7.12.13_@babel+core@7.12.13: + /@babel/plugin-transform-object-super/7.12.13_@babel+core@7.13.8: dependencies: - '@babel/core': 7.12.13 - '@babel/helper-plugin-utils': 7.12.13 - '@babel/helper-replace-supers': 7.12.13 + '@babel/core': 7.13.8 + '@babel/helper-plugin-utils': 7.13.0 + '@babel/helper-replace-supers': 7.13.0 dev: true peerDependencies: '@babel/core': ^7.0.0-0 resolution: integrity: sha512-JzYIcj3XtYspZDV8j9ulnoMPZZnF/Cj0LUxPOjR89BdBVx+zYJI9MdMIlUZjbXDX+6YVeS6I3e8op+qQ3BYBoQ== - /@babel/plugin-transform-parameters/7.12.13_@babel+core@7.12.13: + /@babel/plugin-transform-parameters/7.13.0_@babel+core@7.13.8: dependencies: - '@babel/core': 7.12.13 - '@babel/helper-plugin-utils': 7.12.13 + '@babel/core': 7.13.8 + '@babel/helper-plugin-utils': 7.13.0 dev: true peerDependencies: '@babel/core': ^7.0.0-0 resolution: - integrity: sha512-e7QqwZalNiBRHCpJg/P8s/VJeSRYgmtWySs1JwvfwPqhBbiWfOcHDKdeAi6oAyIimoKWBlwc8oTgbZHdhCoVZA== - /@babel/plugin-transform-property-literals/7.12.13_@babel+core@7.12.13: + integrity: sha512-Jt8k/h/mIwE2JFEOb3lURoY5C85ETcYPnbuAJ96zRBzh1XHtQZfs62ChZ6EP22QlC8c7Xqr9q+e1SU5qttwwjw== + /@babel/plugin-transform-property-literals/7.12.13_@babel+core@7.13.8: dependencies: - '@babel/core': 7.12.13 - '@babel/helper-plugin-utils': 7.12.13 + '@babel/core': 7.13.8 + '@babel/helper-plugin-utils': 7.13.0 dev: true peerDependencies: '@babel/core': ^7.0.0-0 resolution: integrity: sha512-nqVigwVan+lR+g8Fj8Exl0UQX2kymtjcWfMOYM1vTYEKujeyv2SkMgazf2qNcK7l4SDiKyTA/nHCPqL4e2zo1A== - /@babel/plugin-transform-regenerator/7.12.13_@babel+core@7.12.13: + /@babel/plugin-transform-regenerator/7.12.13_@babel+core@7.13.8: dependencies: - '@babel/core': 7.12.13 + '@babel/core': 7.13.8 regenerator-transform: 0.14.5 dev: true peerDependencies: '@babel/core': ^7.0.0-0 resolution: integrity: sha512-lxb2ZAvSLyJ2PEe47hoGWPmW22v7CtSl9jW8mingV4H2sEX/JOcrAj2nPuGWi56ERUm2bUpjKzONAuT6HCn2EA== - /@babel/plugin-transform-reserved-words/7.12.13_@babel+core@7.12.13: + /@babel/plugin-transform-reserved-words/7.12.13_@babel+core@7.13.8: dependencies: - '@babel/core': 7.12.13 - '@babel/helper-plugin-utils': 7.12.13 + '@babel/core': 7.13.8 + '@babel/helper-plugin-utils': 7.13.0 dev: true peerDependencies: '@babel/core': ^7.0.0-0 resolution: integrity: sha512-xhUPzDXxZN1QfiOy/I5tyye+TRz6lA7z6xaT4CLOjPRMVg1ldRf0LHw0TDBpYL4vG78556WuHdyO9oi5UmzZBg== - /@babel/plugin-transform-shorthand-properties/7.12.13_@babel+core@7.12.13: + /@babel/plugin-transform-shorthand-properties/7.12.13_@babel+core@7.13.8: dependencies: - '@babel/core': 7.12.13 - '@babel/helper-plugin-utils': 7.12.13 + '@babel/core': 7.13.8 + '@babel/helper-plugin-utils': 7.13.0 dev: true peerDependencies: '@babel/core': ^7.0.0-0 resolution: integrity: sha512-xpL49pqPnLtf0tVluuqvzWIgLEhuPpZzvs2yabUHSKRNlN7ScYU7aMlmavOeyXJZKgZKQRBlh8rHbKiJDraTSw== - /@babel/plugin-transform-spread/7.12.13_@babel+core@7.12.13: + /@babel/plugin-transform-spread/7.13.0_@babel+core@7.13.8: dependencies: - '@babel/core': 7.12.13 - '@babel/helper-plugin-utils': 7.12.13 + '@babel/core': 7.13.8 + '@babel/helper-plugin-utils': 7.13.0 '@babel/helper-skip-transparent-expression-wrappers': 7.12.1 dev: true peerDependencies: '@babel/core': ^7.0.0-0 resolution: - integrity: sha512-dUCrqPIowjqk5pXsx1zPftSq4sT0aCeZVAxhdgs3AMgyaDmoUT0G+5h3Dzja27t76aUEIJWlFgPJqJ/d4dbTtg== - /@babel/plugin-transform-sticky-regex/7.12.13_@babel+core@7.12.13: + integrity: sha512-V6vkiXijjzYeFmQTr3dBxPtZYLPcUfY34DebOU27jIl2M/Y8Egm52Hw82CSjjPqd54GTlJs5x+CR7HeNr24ckg== + /@babel/plugin-transform-sticky-regex/7.12.13_@babel+core@7.13.8: dependencies: - '@babel/core': 7.12.13 - '@babel/helper-plugin-utils': 7.12.13 + '@babel/core': 7.13.8 + '@babel/helper-plugin-utils': 7.13.0 dev: true peerDependencies: '@babel/core': ^7.0.0-0 resolution: integrity: sha512-Jc3JSaaWT8+fr7GRvQP02fKDsYk4K/lYwWq38r/UGfaxo89ajud321NH28KRQ7xy1Ybc0VUE5Pz8psjNNDUglg== - /@babel/plugin-transform-template-literals/7.12.13_@babel+core@7.12.13: + /@babel/plugin-transform-template-literals/7.13.0_@babel+core@7.13.8: dependencies: - '@babel/core': 7.12.13 - '@babel/helper-plugin-utils': 7.12.13 + '@babel/core': 7.13.8 + '@babel/helper-plugin-utils': 7.13.0 dev: true peerDependencies: '@babel/core': ^7.0.0-0 resolution: - integrity: sha512-arIKlWYUgmNsF28EyfmiQHJLJFlAJNYkuQO10jL46ggjBpeb2re1P9K9YGxNJB45BqTbaslVysXDYm/g3sN/Qg== - /@babel/plugin-transform-typeof-symbol/7.12.13_@babel+core@7.12.13: + integrity: sha512-d67umW6nlfmr1iehCcBv69eSUSySk1EsIS8aTDX4Xo9qajAh6mYtcl4kJrBkGXuxZPEgVr7RVfAvNW6YQkd4Mw== + /@babel/plugin-transform-typeof-symbol/7.12.13_@babel+core@7.13.8: dependencies: - '@babel/core': 7.12.13 - '@babel/helper-plugin-utils': 7.12.13 + '@babel/core': 7.13.8 + '@babel/helper-plugin-utils': 7.13.0 dev: true peerDependencies: '@babel/core': ^7.0.0-0 resolution: integrity: sha512-eKv/LmUJpMnu4npgfvs3LiHhJua5fo/CysENxa45YCQXZwKnGCQKAg87bvoqSW1fFT+HA32l03Qxsm8ouTY3ZQ== - /@babel/plugin-transform-unicode-escapes/7.12.13_@babel+core@7.12.13: + /@babel/plugin-transform-unicode-escapes/7.12.13_@babel+core@7.13.8: dependencies: - '@babel/core': 7.12.13 - '@babel/helper-plugin-utils': 7.12.13 + '@babel/core': 7.13.8 + '@babel/helper-plugin-utils': 7.13.0 dev: true peerDependencies: '@babel/core': ^7.0.0-0 resolution: integrity: sha512-0bHEkdwJ/sN/ikBHfSmOXPypN/beiGqjo+o4/5K+vxEFNPRPdImhviPakMKG4x96l85emoa0Z6cDflsdBusZbw== - /@babel/plugin-transform-unicode-regex/7.12.13_@babel+core@7.12.13: + /@babel/plugin-transform-unicode-regex/7.12.13_@babel+core@7.13.8: dependencies: - '@babel/core': 7.12.13 - '@babel/helper-create-regexp-features-plugin': 7.12.13_@babel+core@7.12.13 - '@babel/helper-plugin-utils': 7.12.13 + '@babel/core': 7.13.8 + '@babel/helper-create-regexp-features-plugin': 7.12.13_@babel+core@7.13.8 + '@babel/helper-plugin-utils': 7.13.0 dev: true peerDependencies: '@babel/core': ^7.0.0-0 resolution: integrity: sha512-mDRzSNY7/zopwisPZ5kM9XKCfhchqIYwAKRERtEnhYscZB79VRekuRSoYbN0+KVe3y8+q1h6A4svXtP7N+UoCA== - /@babel/preset-env/7.12.13_@babel+core@7.12.13: - dependencies: - '@babel/compat-data': 7.12.13 - '@babel/core': 7.12.13 - '@babel/helper-compilation-targets': 7.12.13_@babel+core@7.12.13 - '@babel/helper-module-imports': 7.12.13 - '@babel/helper-plugin-utils': 7.12.13 - '@babel/helper-validator-option': 7.12.11 - '@babel/plugin-proposal-async-generator-functions': 7.12.13_@babel+core@7.12.13 - '@babel/plugin-proposal-class-properties': 7.12.13_@babel+core@7.12.13 - '@babel/plugin-proposal-dynamic-import': 7.12.1_@babel+core@7.12.13 - '@babel/plugin-proposal-export-namespace-from': 7.12.13_@babel+core@7.12.13 - '@babel/plugin-proposal-json-strings': 7.12.13_@babel+core@7.12.13 - '@babel/plugin-proposal-logical-assignment-operators': 7.12.13_@babel+core@7.12.13 - '@babel/plugin-proposal-nullish-coalescing-operator': 7.12.13_@babel+core@7.12.13 - '@babel/plugin-proposal-numeric-separator': 7.12.13_@babel+core@7.12.13 - '@babel/plugin-proposal-object-rest-spread': 7.12.13_@babel+core@7.12.13 - '@babel/plugin-proposal-optional-catch-binding': 7.12.13_@babel+core@7.12.13 - '@babel/plugin-proposal-optional-chaining': 7.12.13_@babel+core@7.12.13 - '@babel/plugin-proposal-private-methods': 7.12.13_@babel+core@7.12.13 - '@babel/plugin-proposal-unicode-property-regex': 7.12.13_@babel+core@7.12.13 - '@babel/plugin-syntax-async-generators': 7.8.4_@babel+core@7.12.13 - '@babel/plugin-syntax-class-properties': 7.12.13_@babel+core@7.12.13 - '@babel/plugin-syntax-dynamic-import': 7.8.3_@babel+core@7.12.13 - '@babel/plugin-syntax-export-namespace-from': 7.8.3_@babel+core@7.12.13 - '@babel/plugin-syntax-json-strings': 7.8.3_@babel+core@7.12.13 - '@babel/plugin-syntax-logical-assignment-operators': 7.10.4_@babel+core@7.12.13 - '@babel/plugin-syntax-nullish-coalescing-operator': 7.8.3_@babel+core@7.12.13 - '@babel/plugin-syntax-numeric-separator': 7.10.4_@babel+core@7.12.13 - '@babel/plugin-syntax-object-rest-spread': 7.8.3_@babel+core@7.12.13 - '@babel/plugin-syntax-optional-catch-binding': 7.8.3_@babel+core@7.12.13 - '@babel/plugin-syntax-optional-chaining': 7.8.3_@babel+core@7.12.13 - '@babel/plugin-syntax-top-level-await': 7.12.13_@babel+core@7.12.13 - '@babel/plugin-transform-arrow-functions': 7.12.13_@babel+core@7.12.13 - '@babel/plugin-transform-async-to-generator': 7.12.13_@babel+core@7.12.13 - '@babel/plugin-transform-block-scoped-functions': 7.12.13_@babel+core@7.12.13 - '@babel/plugin-transform-block-scoping': 7.12.13_@babel+core@7.12.13 - '@babel/plugin-transform-classes': 7.12.13_@babel+core@7.12.13 - '@babel/plugin-transform-computed-properties': 7.12.13_@babel+core@7.12.13 - '@babel/plugin-transform-destructuring': 7.12.13_@babel+core@7.12.13 - '@babel/plugin-transform-dotall-regex': 7.12.13_@babel+core@7.12.13 - '@babel/plugin-transform-duplicate-keys': 7.12.13_@babel+core@7.12.13 - '@babel/plugin-transform-exponentiation-operator': 7.12.13_@babel+core@7.12.13 - '@babel/plugin-transform-for-of': 7.12.13_@babel+core@7.12.13 - '@babel/plugin-transform-function-name': 7.12.13_@babel+core@7.12.13 - '@babel/plugin-transform-literals': 7.12.13_@babel+core@7.12.13 - '@babel/plugin-transform-member-expression-literals': 7.12.13_@babel+core@7.12.13 - '@babel/plugin-transform-modules-amd': 7.12.13_@babel+core@7.12.13 - '@babel/plugin-transform-modules-commonjs': 7.12.13_@babel+core@7.12.13 - '@babel/plugin-transform-modules-systemjs': 7.12.13_@babel+core@7.12.13 - '@babel/plugin-transform-modules-umd': 7.12.13_@babel+core@7.12.13 - '@babel/plugin-transform-named-capturing-groups-regex': 7.12.13_@babel+core@7.12.13 - '@babel/plugin-transform-new-target': 7.12.13_@babel+core@7.12.13 - '@babel/plugin-transform-object-super': 7.12.13_@babel+core@7.12.13 - '@babel/plugin-transform-parameters': 7.12.13_@babel+core@7.12.13 - '@babel/plugin-transform-property-literals': 7.12.13_@babel+core@7.12.13 - '@babel/plugin-transform-regenerator': 7.12.13_@babel+core@7.12.13 - '@babel/plugin-transform-reserved-words': 7.12.13_@babel+core@7.12.13 - '@babel/plugin-transform-shorthand-properties': 7.12.13_@babel+core@7.12.13 - '@babel/plugin-transform-spread': 7.12.13_@babel+core@7.12.13 - '@babel/plugin-transform-sticky-regex': 7.12.13_@babel+core@7.12.13 - '@babel/plugin-transform-template-literals': 7.12.13_@babel+core@7.12.13 - '@babel/plugin-transform-typeof-symbol': 7.12.13_@babel+core@7.12.13 - '@babel/plugin-transform-unicode-escapes': 7.12.13_@babel+core@7.12.13 - '@babel/plugin-transform-unicode-regex': 7.12.13_@babel+core@7.12.13 - '@babel/preset-modules': 0.1.4_@babel+core@7.12.13 - '@babel/types': 7.12.13 - core-js-compat: 3.8.3 - semver: 5.7.1 + /@babel/preset-env/7.13.9_@babel+core@7.13.8: + dependencies: + '@babel/compat-data': 7.13.8 + '@babel/core': 7.13.8 + '@babel/helper-compilation-targets': 7.13.8_@babel+core@7.13.8 + '@babel/helper-plugin-utils': 7.13.0 + '@babel/helper-validator-option': 7.12.17 + '@babel/plugin-proposal-async-generator-functions': 7.13.8_@babel+core@7.13.8 + '@babel/plugin-proposal-class-properties': 7.13.0_@babel+core@7.13.8 + '@babel/plugin-proposal-dynamic-import': 7.13.8_@babel+core@7.13.8 + '@babel/plugin-proposal-export-namespace-from': 7.12.13_@babel+core@7.13.8 + '@babel/plugin-proposal-json-strings': 7.13.8_@babel+core@7.13.8 + '@babel/plugin-proposal-logical-assignment-operators': 7.13.8_@babel+core@7.13.8 + '@babel/plugin-proposal-nullish-coalescing-operator': 7.13.8_@babel+core@7.13.8 + '@babel/plugin-proposal-numeric-separator': 7.12.13_@babel+core@7.13.8 + '@babel/plugin-proposal-object-rest-spread': 7.13.8_@babel+core@7.13.8 + '@babel/plugin-proposal-optional-catch-binding': 7.13.8_@babel+core@7.13.8 + '@babel/plugin-proposal-optional-chaining': 7.13.8_@babel+core@7.13.8 + '@babel/plugin-proposal-private-methods': 7.13.0_@babel+core@7.13.8 + '@babel/plugin-proposal-unicode-property-regex': 7.12.13_@babel+core@7.13.8 + '@babel/plugin-syntax-async-generators': 7.8.4_@babel+core@7.13.8 + '@babel/plugin-syntax-class-properties': 7.12.13_@babel+core@7.13.8 + '@babel/plugin-syntax-dynamic-import': 7.8.3_@babel+core@7.13.8 + '@babel/plugin-syntax-export-namespace-from': 7.8.3_@babel+core@7.13.8 + '@babel/plugin-syntax-json-strings': 7.8.3_@babel+core@7.13.8 + '@babel/plugin-syntax-logical-assignment-operators': 7.10.4_@babel+core@7.13.8 + '@babel/plugin-syntax-nullish-coalescing-operator': 7.8.3_@babel+core@7.13.8 + '@babel/plugin-syntax-numeric-separator': 7.10.4_@babel+core@7.13.8 + '@babel/plugin-syntax-object-rest-spread': 7.8.3_@babel+core@7.13.8 + '@babel/plugin-syntax-optional-catch-binding': 7.8.3_@babel+core@7.13.8 + '@babel/plugin-syntax-optional-chaining': 7.8.3_@babel+core@7.13.8 + '@babel/plugin-syntax-top-level-await': 7.12.13_@babel+core@7.13.8 + '@babel/plugin-transform-arrow-functions': 7.13.0_@babel+core@7.13.8 + '@babel/plugin-transform-async-to-generator': 7.13.0_@babel+core@7.13.8 + '@babel/plugin-transform-block-scoped-functions': 7.12.13_@babel+core@7.13.8 + '@babel/plugin-transform-block-scoping': 7.12.13_@babel+core@7.13.8 + '@babel/plugin-transform-classes': 7.13.0_@babel+core@7.13.8 + '@babel/plugin-transform-computed-properties': 7.13.0_@babel+core@7.13.8 + '@babel/plugin-transform-destructuring': 7.13.0_@babel+core@7.13.8 + '@babel/plugin-transform-dotall-regex': 7.12.13_@babel+core@7.13.8 + '@babel/plugin-transform-duplicate-keys': 7.12.13_@babel+core@7.13.8 + '@babel/plugin-transform-exponentiation-operator': 7.12.13_@babel+core@7.13.8 + '@babel/plugin-transform-for-of': 7.13.0_@babel+core@7.13.8 + '@babel/plugin-transform-function-name': 7.12.13_@babel+core@7.13.8 + '@babel/plugin-transform-literals': 7.12.13_@babel+core@7.13.8 + '@babel/plugin-transform-member-expression-literals': 7.12.13_@babel+core@7.13.8 + '@babel/plugin-transform-modules-amd': 7.13.0_@babel+core@7.13.8 + '@babel/plugin-transform-modules-commonjs': 7.13.8_@babel+core@7.13.8 + '@babel/plugin-transform-modules-systemjs': 7.13.8_@babel+core@7.13.8 + '@babel/plugin-transform-modules-umd': 7.13.0_@babel+core@7.13.8 + '@babel/plugin-transform-named-capturing-groups-regex': 7.12.13_@babel+core@7.13.8 + '@babel/plugin-transform-new-target': 7.12.13_@babel+core@7.13.8 + '@babel/plugin-transform-object-super': 7.12.13_@babel+core@7.13.8 + '@babel/plugin-transform-parameters': 7.13.0_@babel+core@7.13.8 + '@babel/plugin-transform-property-literals': 7.12.13_@babel+core@7.13.8 + '@babel/plugin-transform-regenerator': 7.12.13_@babel+core@7.13.8 + '@babel/plugin-transform-reserved-words': 7.12.13_@babel+core@7.13.8 + '@babel/plugin-transform-shorthand-properties': 7.12.13_@babel+core@7.13.8 + '@babel/plugin-transform-spread': 7.13.0_@babel+core@7.13.8 + '@babel/plugin-transform-sticky-regex': 7.12.13_@babel+core@7.13.8 + '@babel/plugin-transform-template-literals': 7.13.0_@babel+core@7.13.8 + '@babel/plugin-transform-typeof-symbol': 7.12.13_@babel+core@7.13.8 + '@babel/plugin-transform-unicode-escapes': 7.12.13_@babel+core@7.13.8 + '@babel/plugin-transform-unicode-regex': 7.12.13_@babel+core@7.13.8 + '@babel/preset-modules': 0.1.4_@babel+core@7.13.8 + '@babel/types': 7.13.0 + babel-plugin-polyfill-corejs2: 0.1.8_@babel+core@7.13.8 + babel-plugin-polyfill-corejs3: 0.1.6_@babel+core@7.13.8 + babel-plugin-polyfill-regenerator: 0.1.5_@babel+core@7.13.8 + core-js-compat: 3.9.1 + semver: 6.3.0 dev: true peerDependencies: '@babel/core': ^7.0.0-0 resolution: - integrity: sha512-JUVlizG8SoFTz4LmVUL8++aVwzwxcvey3N0j1tRbMAXVEy95uQ/cnEkmEKHN00Bwq4voAV3imQGnQvpkLAxsrw== - /@babel/preset-modules/0.1.4_@babel+core@7.12.13: + integrity: sha512-mcsHUlh2rIhViqMG823JpscLMesRt3QbMsv1+jhopXEb3W2wXvQ9QoiOlZI9ZbR3XqPtaFpZwEZKYqGJnGMZTQ== + /@babel/preset-modules/0.1.4_@babel+core@7.13.8: dependencies: - '@babel/core': 7.12.13 - '@babel/helper-plugin-utils': 7.12.13 - '@babel/plugin-proposal-unicode-property-regex': 7.12.13_@babel+core@7.12.13 - '@babel/plugin-transform-dotall-regex': 7.12.13_@babel+core@7.12.13 - '@babel/types': 7.12.13 + '@babel/core': 7.13.8 + '@babel/helper-plugin-utils': 7.13.0 + '@babel/plugin-proposal-unicode-property-regex': 7.12.13_@babel+core@7.13.8 + '@babel/plugin-transform-dotall-regex': 7.12.13_@babel+core@7.13.8 + '@babel/types': 7.13.0 esutils: 2.0.3 dev: true peerDependencies: @@ -918,8 +1020,8 @@ packages: /@babel/template/7.12.13: dependencies: '@babel/code-frame': 7.12.13 - '@babel/parser': 7.12.15 - '@babel/types': 7.12.13 + '@babel/parser': 7.13.9 + '@babel/types': 7.13.0 dev: true resolution: integrity: sha512-/7xxiGA57xMo/P2GVvdEumr8ONhFOhfgq2ihK3h1e6THqzTAkHbkXgB0xI9yeTfIUoH3+oAeHhqm/I43OTbbjA== @@ -937,6 +1039,20 @@ packages: dev: true resolution: integrity: sha512-3Zb4w7eE/OslI0fTp8c7b286/cQps3+vdLW3UcwC8VSJC6GbKn55aeVVu2QJNuCDoeKyptLOFrPq8WqZZBodyA== + /@babel/traverse/7.13.0: + dependencies: + '@babel/code-frame': 7.12.13 + '@babel/generator': 7.13.9 + '@babel/helper-function-name': 7.12.13 + '@babel/helper-split-export-declaration': 7.12.13 + '@babel/parser': 7.13.9 + '@babel/types': 7.13.0 + debug: 4.3.1 + globals: 11.12.0 + lodash: 4.17.21 + dev: true + resolution: + integrity: sha512-xys5xi5JEhzC3RzEmSGrs/b3pJW/o87SypZ+G/PhaE7uqVQNv/jlmVIBXuoh5atqQ434LfXV+sf23Oxj0bchJQ== /@babel/types/7.12.13: dependencies: '@babel/helper-validator-identifier': 7.12.11 @@ -945,11 +1061,29 @@ packages: dev: true resolution: integrity: sha512-oKrdZTld2im1z8bDwTOQvUbxKwE+854zc16qWZQlcTqMN00pWxHQ4ZeOq0yDMnisOpRykH2/5Qqcrk/OlbAjiQ== + /@babel/types/7.13.0: + dependencies: + '@babel/helper-validator-identifier': 7.12.11 + lodash: 4.17.21 + to-fast-properties: 2.0.0 + dev: true + resolution: + integrity: sha512-hE+HE8rnG1Z6Wzo+MhaKE5lM5eMx71T4EHJgku2E3xIfaULhDcxiiRxUYgwX8qwP1BBSlag+TdGOt6JAidIZTA== /@blueoak/list/1.0.2: dev: true resolution: integrity: sha512-KyqT0kkdxgbGys9mvo/1Mgdt/LGvUFPCZIK9pWPIfOM2mYzMDd/eVYy4sMP1YqvVI129k0alxRyM53H2MAs/Nw== - /@eslint/eslintrc/0.3.0: + /@brettz9/eslint-plugin/1.0.3_eslint@7.21.0: + dependencies: + eslint: 7.21.0 + dev: true + engines: + node: '>=10.0.0' + peerDependencies: + eslint: '>=7.20.0' + resolution: + integrity: sha512-2ESGw4oZJ5IvkFitzRXzfdUY8hzSPSanQ8i+adzWMQPK7jxxUHkZ6GEslOd7GjHFZIcwqc1xVXVU0itf8zYFGA== + /@eslint/eslintrc/0.4.0: dependencies: ajv: 6.12.6 debug: 4.3.1 @@ -958,14 +1092,13 @@ packages: ignore: 4.0.6 import-fresh: 3.3.0 js-yaml: 3.14.1 - lodash: 4.17.20 minimatch: 3.0.4 strip-json-comments: 3.1.1 dev: true engines: node: ^10.12.0 || >=12.0.0 resolution: - integrity: sha512-1JTKgrOKAHVivSvOYw+sJOunkBjUOvjqWk1DPja7ZFhIS2mX/4EgTT8M7eTK9jrKhL/FvXXEbQwIs3pg1xp3dg== + integrity: sha512-2ZPCc+uNbjV5ERJr+aKSPRwZgKd2z11x0EgLvb1PURmUrn9QNRXFqje0Ldq454PfAVyaJYyrDvvIKSFP4NnBog== /@istanbuljs/load-nyc-config/1.1.0: dependencies: camelcase: 5.3.1 @@ -992,26 +1125,6 @@ packages: node: '>=10.0.0' resolution: integrity: sha512-GeeM827DlzFFidn1eKkMBiqXFD2oLsnZbaiGhByPl0vcapsRzUL+t9hDoov1swc9rB2jw64R+ihtzC8qOE9wXw== - /@mysticatea/eslint-plugin/13.0.0_eslint@7.19.0+typescript@4.1.3: - dependencies: - '@typescript-eslint/eslint-plugin': 2.6.1_83a54954014c7b44edc1455af056d3ef - '@typescript-eslint/parser': 2.6.1_eslint@7.19.0+typescript@4.1.3 - eslint: 7.19.0 - eslint-plugin-eslint-comments: 3.1.2_eslint@7.19.0 - eslint-plugin-eslint-plugin: 2.1.0_eslint@7.19.0 - eslint-plugin-node: 10.0.0_eslint@7.19.0 - eslint-plugin-prettier: 3.1.4_eslint@7.19.0+prettier@1.19.1 - eslint-plugin-vue: 6.0.2_eslint@7.19.0 - prettier: 1.19.1 - vue-eslint-parser: 7.4.1_eslint@7.19.0 - dev: true - engines: - node: '>=8.10.0' - peerDependencies: - eslint: '>=6.6.0' - typescript: '*' - resolution: - integrity: sha512-L0FAKWY+P46aYMacZolyuXJOcg9B5N6HvlB/vr5k+FRVGqaeciayH6YD5hOhgusyUUqgC776RVjtIMeumNVjQQ== /@nodelib/fs.scandir/2.1.4: dependencies: '@nodelib/fs.stat': 2.0.4 @@ -1036,12 +1149,12 @@ packages: node: '>= 8' resolution: integrity: sha512-8Broas6vTtW4GIXTAHDoE32hnN2M5ykgCpWGbuXHQ15vEMqr23pB76e/GZcYsZCHALv50ktd24qhEyKr6wBtow== - /@rollup/plugin-babel/5.2.3_1f903a72618ad74452faa64db67abf44: + /@rollup/plugin-babel/5.3.0_@babel+core@7.13.8+rollup@2.40.0: dependencies: - '@babel/core': 7.12.13 + '@babel/core': 7.13.8 '@babel/helper-module-imports': 7.12.13 - '@rollup/pluginutils': 3.1.0_rollup@2.38.5 - rollup: 2.38.5 + '@rollup/pluginutils': 3.1.0_rollup@2.40.0 + rollup: 2.40.0 dev: true engines: node: '>= 10.0.0' @@ -1053,13 +1166,13 @@ packages: '@types/babel__core': optional: true resolution: - integrity: sha512-DOMc7nx6y5xFi86AotrFssQqCen6CxYn+zts5KSI879d4n1hggSb4TH3mjVgG17Vc3lZziWWfcXzrEmVdzPMdw== - /@rollup/pluginutils/3.1.0_rollup@2.38.5: + integrity: sha512-9uIC8HZOnVLrLHxayq/PTzw+uS25E14KPUBh5ktF+18Mjo5yK0ToMMx6epY0uEgkjwJw0aBW4x2horYXh8juWw== + /@rollup/pluginutils/3.1.0_rollup@2.40.0: dependencies: '@types/estree': 0.0.39 estree-walker: 1.0.1 picomatch: 2.2.2 - rollup: 2.38.5 + rollup: 2.40.0 dev: true engines: node: '>= 8.0.0' @@ -1089,18 +1202,10 @@ packages: dev: true resolution: integrity: sha512-Q1y515GcOdTHgagaVFhHnIFQ38ygs/kmxdNpvpou+raI9UO3YZcHDngBSYKQklcKlvA7iuQlmIKbzvmxcOE9CQ== - /@types/eslint-visitor-keys/1.0.0: - dev: true - resolution: - integrity: sha512-OCutwjDZ4aFS6PB1UZ988C4YgwlBHJd6wCeQqaLdmadZ/7e+w79+hbMUFC1QXDNCmdyoRfAFdm0RypzwR+Qpag== /@types/estree/0.0.39: dev: true resolution: integrity: sha512-EYNwp3bU+98cpU4lAWYYL7Zz+2gryWH1qbdDTidVd6hkiR6weksdbMadyXKXNPEkQFhXM+hVO9ZygomHXp+AIw== - /@types/json-schema/7.0.7: - dev: true - resolution: - integrity: sha512-cxWFQVseBm6O9Gbw1IWb8r6OS4OhSt3hPZLkFApLjM8TEXROBuQGLAH2i2gZpcXdLBIrpXuTDhH7Vbm1iXmNGA== /@types/json5/0.0.29: dev: true resolution: @@ -1131,88 +1236,10 @@ packages: dev: true resolution: integrity: sha512-FvUupuM3rlRsRtCN+fDudtmytGO6iHJuuRKS1Ss0pG5z8oX0diNEw94UEL7hgDbpN94rgaK5R7sWm6RrSkZuAQ== - /@typescript-eslint/eslint-plugin/2.6.1_83a54954014c7b44edc1455af056d3ef: - dependencies: - '@typescript-eslint/experimental-utils': 2.6.1_eslint@7.19.0+typescript@4.1.3 - '@typescript-eslint/parser': 2.6.1_eslint@7.19.0+typescript@4.1.3 - eslint: 7.19.0 - eslint-utils: 1.4.3 - functional-red-black-tree: 1.0.1 - regexpp: 2.0.1 - tsutils: 3.20.0_typescript@4.1.3 - typescript: 4.1.3 - dev: true - engines: - node: ^8.10.0 || ^10.13.0 || >=11.10.1 - peerDependencies: - '@typescript-eslint/parser': ^2.0.0 - eslint: ^5.0.0 || ^6.0.0 - typescript: '*' - peerDependenciesMeta: - typescript: - optional: true - resolution: - integrity: sha512-Z0rddsGqioKbvqfohg7BwkFC3PuNLsB+GE9QkFza7tiDzuHoy0y823Y+oGNDzxNZrYyLjqkZtCTl4vCqOmEN4g== - /@typescript-eslint/experimental-utils/2.6.1_eslint@7.19.0+typescript@4.1.3: - dependencies: - '@types/json-schema': 7.0.7 - '@typescript-eslint/typescript-estree': 2.6.1_typescript@4.1.3 - eslint: 7.19.0 - eslint-scope: 5.1.1 - dev: true - engines: - node: ^8.10.0 || ^10.13.0 || >=11.10.1 - peerDependencies: - eslint: '*' - typescript: '*' - resolution: - integrity: sha512-EVrrUhl5yBt7fC7c62lWmriq4MIc49zpN3JmrKqfiFXPXCM5ErfEcZYfKOhZXkW6MBjFcJ5kGZqu1b+lyyExUw== - /@typescript-eslint/parser/2.6.1_eslint@7.19.0+typescript@4.1.3: - dependencies: - '@types/eslint-visitor-keys': 1.0.0 - '@typescript-eslint/experimental-utils': 2.6.1_eslint@7.19.0+typescript@4.1.3 - '@typescript-eslint/typescript-estree': 2.6.1_typescript@4.1.3 - eslint: 7.19.0 - eslint-visitor-keys: 1.3.0 - dev: true - engines: - node: ^8.10.0 || ^10.13.0 || >=11.10.1 - peerDependencies: - eslint: ^5.0.0 || ^6.0.0 - typescript: '*' - resolution: - integrity: sha512-PDPkUkZ4c7yA+FWqigjwf3ngPUgoLaGjMlFh6TRtbjhqxFBnkElDfckSjm98q9cMr4xRzZ15VrS/xKm6QHYf0w== - /@typescript-eslint/typescript-estree/2.6.1_typescript@4.1.3: - dependencies: - debug: 4.3.1 - glob: 7.1.6 - is-glob: 4.0.1 - lodash.unescape: 4.0.1 - semver: 6.3.0 - tsutils: 3.20.0_typescript@4.1.3 - typescript: 4.1.3 - dev: true - engines: - node: ^8.10.0 || ^10.13.0 || >=11.10.1 - peerDependencies: - typescript: '*' - peerDependenciesMeta: - typescript: - optional: true - resolution: - integrity: sha512-+sTnssW6bcbDZKE8Ce7VV6LdzkQz2Bxk7jzk1J8H1rovoTxnm6iXvYIyncvNsaB/kBCOM63j/LNJfm27bNdUoA== /@ungap/promise-all-settled/1.1.2: dev: true resolution: integrity: sha512-sL/cEvJWAnClXw0wHk85/2L0G6Sj8UB0Ctc1TEMbKSsmpRosqhwj9gWgFRZSrBr2f9tiXISwNhCPmlfqUqyb9Q== - /acorn-jsx/5.3.1_acorn@6.4.2: - dependencies: - acorn: 6.4.2 - dev: true - peerDependencies: - acorn: ^6.0.0 || ^7.0.0 || ^8.0.0 - resolution: - integrity: sha512-K0Ptm/47OKfQRpNQ2J/oIN/3QYiK6FwW+eJbILhsdxh2WTLdl+30o8aGdTbm5JbffpFFAg/g+zi1E+jvJha5ng== /acorn-jsx/5.3.1_acorn@7.4.1: dependencies: acorn: 7.4.1 @@ -1221,13 +1248,6 @@ packages: acorn: ^6.0.0 || ^7.0.0 || ^8.0.0 resolution: integrity: sha512-K0Ptm/47OKfQRpNQ2J/oIN/3QYiK6FwW+eJbILhsdxh2WTLdl+30o8aGdTbm5JbffpFFAg/g+zi1E+jvJha5ng== - /acorn/6.4.2: - dev: true - engines: - node: '>=0.4.0' - hasBin: true - resolution: - integrity: sha512-XtGIhXwF8YM8bJhGxG5kXgjkEuNGLTkoYqVE+KMR+aspr4KGYmKYg7yUe3KghyQ9yheNwLnjmzh/7+gfDBmHCQ== /acorn/7.4.1: dev: true engines: @@ -1341,6 +1361,10 @@ packages: dev: true resolution: integrity: sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg== + /argparse/2.0.1: + dev: true + resolution: + integrity: sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q== /array-back/3.1.0: dev: true engines: @@ -1411,19 +1435,25 @@ packages: node: '>=8' resolution: integrity: sha512-Z7tMw1ytTXt5jqMcOP+OQteU1VuNK9Y02uuJtKQ1Sv69jXQKKg5cibLwGJow8yzZP+eAc18EmLGPal0bp36rvQ== + /async/2.6.3: + dependencies: + lodash: 4.17.21 + dev: true + resolution: + integrity: sha512-zflvls11DCy+dQWzTW2dzuilv8Z5X/pjfmZOWba6TNIVDm+2UDaJmXSOXlasHKfNBs8oo3M0aT50fDEWfKZjXg== /at-least-node/1.0.0: dev: true engines: node: '>= 4.0.0' resolution: integrity: sha512-+q/t7Ekv1EDY2l6Gda6LLiX14rU9TV20Wa3ofeQmwPFZbOMo9DXrLbOjFaaclkXKWidIaopwAObQDqwWtGUjqg== - /babel-eslint/10.1.0_eslint@7.19.0: + /babel-eslint/10.1.0_eslint@7.21.0: dependencies: '@babel/code-frame': 7.12.13 - '@babel/parser': 7.12.15 - '@babel/traverse': 7.12.13 - '@babel/types': 7.12.13 - eslint: 7.19.0 + '@babel/parser': 7.13.9 + '@babel/traverse': 7.13.0 + '@babel/types': 7.13.0 + eslint: 7.21.0 eslint-visitor-keys: 1.3.0 resolve: 1.19.0 deprecated: babel-eslint is now @babel/eslint-parser. This package will no longer receive updates. @@ -1440,6 +1470,36 @@ packages: dev: true resolution: integrity: sha512-jZVI+s9Zg3IqA/kdi0i6UDCybUI3aSBLnglhYbSSjKlV7yF1F/5LWv8MakQmvYpnbJDS6fcBL2KzHSxNCMtWSQ== + /babel-plugin-polyfill-corejs2/0.1.8_@babel+core@7.13.8: + dependencies: + '@babel/compat-data': 7.13.8 + '@babel/core': 7.13.8 + '@babel/helper-define-polyfill-provider': 0.1.4_@babel+core@7.13.8 + semver: 6.3.0 + dev: true + peerDependencies: + '@babel/core': ^7.0.0-0 + resolution: + integrity: sha512-kB5/xNR9GYDuRmVlL9EGfdKBSUVI/9xAU7PCahA/1hbC2Jbmks9dlBBYjHF9IHMNY2jV/G2lIG7z0tJIW27Rog== + /babel-plugin-polyfill-corejs3/0.1.6_@babel+core@7.13.8: + dependencies: + '@babel/core': 7.13.8 + '@babel/helper-define-polyfill-provider': 0.1.4_@babel+core@7.13.8 + core-js-compat: 3.9.1 + dev: true + peerDependencies: + '@babel/core': ^7.0.0-0 + resolution: + integrity: sha512-IkYhCxPrjrUWigEmkMDXYzM5iblzKCdCD8cZrSAkQOyhhJm26DcG+Mxbx13QT//Olkpkg/AlRdT2L+Ww4Ciphw== + /babel-plugin-polyfill-regenerator/0.1.5_@babel+core@7.13.8: + dependencies: + '@babel/core': 7.13.8 + '@babel/helper-define-polyfill-provider': 0.1.4_@babel+core@7.13.8 + dev: true + peerDependencies: + '@babel/core': ^7.0.0-0 + resolution: + integrity: sha512-EyhBA6uN94W97lR7ecQVTvH9F5tIIdEw3ZqHuU4zekMlW82k5cXNXniiB7PRxQm06BqAjVr4sDT1mOy4RcphIA== /badge-up/3.0.0: dependencies: css-color-names: 1.0.1 @@ -1458,6 +1518,12 @@ packages: dev: true resolution: integrity: sha1-ibTRmasr7kneFk6gK4nORi1xt2c= + /basic-auth/1.1.0: + dev: true + engines: + node: '>= 0.6' + resolution: + integrity: sha1-RSIe5Cn37h5QNb4/UVM/HN/SmIQ= /binary-extensions/2.2.0: dev: true engines: @@ -1644,22 +1710,6 @@ packages: dev: true resolution: integrity: sha1-V00xLt2Iu13YkS6Sht1sCu1KrII= - /chokidar/3.4.3: - dependencies: - anymatch: 3.1.1 - braces: 3.0.2 - glob-parent: 5.1.1 - is-binary-path: 2.1.0 - is-glob: 4.0.1 - normalize-path: 3.0.0 - readdirp: 3.5.0 - dev: true - engines: - node: '>= 8.10.0' - optionalDependencies: - fsevents: 2.1.3 - resolution: - integrity: sha512-DtM3g7juCXQxFVSNPNByEC2+NImtBuxQQvWlHunpJIS5Ocr0lG306cC7FCi7cEA0fzmybPUIl4txBIobk1gGOQ== /chokidar/3.5.1: dependencies: anymatch: 3.1.1 @@ -1723,14 +1773,6 @@ packages: dev: true resolution: integrity: sha512-GRMWDxpOB6Dgk2E5Uo+3eEBvtOOlimMmpbFiKuLFnQzYDavtLFY3K5ona41jgN/WdRZtG7utuVSVTL4HbZHGkw== - /cliui/5.0.0: - dependencies: - string-width: 3.1.0 - strip-ansi: 5.2.0 - wrap-ansi: 5.1.0 - dev: true - resolution: - integrity: sha512-PYeGSEmmHM6zvoef2w8TPzlrnNpXIjTipYK780YswmIP9vjxmd6Y2a3CB2Ks6/AU8NHjZugXvo8w3oWM2qnwXA== /cliui/6.0.0: dependencies: string-width: 4.2.0 @@ -1739,6 +1781,14 @@ packages: dev: true resolution: integrity: sha512-t6wbgtoCXvAzst7QgXxJYqPt0usEfbgQdftEPbLL/cvv6HPE5VgvqCuAIDR0NgU52ds6rFwqrgakNLrHEjCbrQ== + /cliui/7.0.4: + dependencies: + string-width: 4.2.0 + strip-ansi: 6.0.0 + wrap-ansi: 7.0.0 + dev: true + resolution: + integrity: sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ== /clone-response/1.0.2: dependencies: mimic-response: 1.0.1 @@ -1831,12 +1881,12 @@ packages: dev: true resolution: integrity: sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ== - /comment-parser/1.1.1: + /comment-parser/1.1.2: dev: true engines: node: '>= 10.0.0' resolution: - integrity: sha512-vue7cRi1ZO5/72FJ+wZ5+siTSBlUv3ZksTk8bWD2IkaA6obitzMZP3yI65azTJLckwmi8lxfPP5Sd9oGuZ8e2g== + integrity: sha512-AOdq0i8ghZudnYv8RUnHrhTgafUGs61Rdz9jemU5x2lnZwAWyOq7vySo626K59e1fVKH1xSRorJwPVRLSWOoAQ== /commondir/1.0.1: dev: true resolution: @@ -1881,18 +1931,18 @@ packages: dev: true resolution: integrity: sha512-4FJkXzKXEDB1snCFZlLP4gpC3JILicCpGbzG9f9G7tGqGCzETQ2hWPrcinA9oU4wtf2biUaEH5065UnMeR33oA== - /core-js-bundle/3.8.3: + /core-js-bundle/3.9.1: dev: true requiresBuild: true resolution: - integrity: sha512-6qO6XcxGqPqCpv9wkNlhUe113Nbkw82lfeJJLDLojPbcSRBfzHWJT8T7z9sGCeYPr5dtBM10xSs6NOVjxi35rQ== - /core-js-compat/3.8.3: + integrity: sha512-PXvt22/UnyegAVHKa17wZe8PqKCHmkNAV9ifEUy2ntnvA08NmFybuWr561W/ARaDYk512LsfiscPlX81tPeBeA== + /core-js-compat/3.9.1: dependencies: browserslist: 4.16.3 semver: 7.0.0 dev: true resolution: - integrity: sha512-1sCb0wBXnBIL16pfFG1Gkvei6UzvKyTNYpiC41yrdjEv0UoJoq9E/abTMzyYJ6JpTkAj15dLjbqifIzEBDVvog== + integrity: sha512-jXAirMQxrkbiiLsCx9bQPJFA6llDadKMpYrBJQJ3/c4/vsPP/fAf29h24tviRlvwUL6AmY5CHLu2GvjuYviQqA== /core-js/3.8.3: dev: true requiresBuild: true @@ -1904,6 +1954,12 @@ packages: dev: true resolution: integrity: sha512-nvbNpK/aYCbztZWGi9adIPqR+ZcQmZTWNT7eMYLvkaVGroN1nTHiVuuNPl7pK6ZNx1mvDztlRBJtfUdrVwKJ5A== + /corser/2.0.1: + dev: true + engines: + node: '>= 0.4.0' + resolution: + integrity: sha1-jtolLsqrWEDc2XXOuQ2TcMgZ/4c= /coveradge/0.6.0: dependencies: '@istanbuljs/load-nyc-config': 1.1.0 @@ -1996,11 +2052,15 @@ packages: dev: true resolution: integrity: sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA== - /debug/4.2.0_supports-color@7.2.0: + /debug/3.2.7: + dependencies: + ms: 2.1.3 + dev: true + resolution: + integrity: sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ== + /debug/4.3.1: dependencies: ms: 2.1.2 - supports-color: 7.2.0 - deprecated: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797) dev: true engines: node: '>=6.0' @@ -2010,10 +2070,11 @@ packages: supports-color: optional: true resolution: - integrity: sha512-IX2ncY78vDTjZMFUdmsvIRFY2Cf4FnD0wRs+nQwJU8Lu99/tPFdb0VybiiMTPe3I6rQmwsqQqRBvxU+bZ/I8sg== - /debug/4.3.1: + integrity: sha512-doEwdvm4PCeK4K3RQN2ZC2BYUBaxwLARCqZmMjtF8a51J2Rb0xpVloFRnCODwqjpwnAoao4pelN8l3RJdv3gRQ== + /debug/4.3.1_supports-color@8.1.1: dependencies: ms: 2.1.2 + supports-color: 8.1.1 dev: true engines: node: '>=6.0' @@ -2102,12 +2163,12 @@ packages: dev: true resolution: integrity: sha1-f3Qt4Gb8dIvI24IFad3c5Jvw1FY= - /diff/4.0.2: + /diff/5.0.0: dev: true engines: node: '>=0.3.1' resolution: - integrity: sha512-58lmxKSA4BNyLz+HHMUzlOEpg09FV+ev6ZMe3vJihgdxzgcwZ8VoEEPmALCZG9LmqfVoNMMKpttIYTVG6uDY7A== + integrity: sha512-/VTCrvm5Z0JGty/BWHljh+BAiw3IK+2j87NGMu8Nwc/f48WoDAC395uomO9ZD117ZOBaHmkX1oyLvkVM/aIT3w== /docopt/0.6.2: dev: true engines: @@ -2204,6 +2265,16 @@ packages: dev: true resolution: integrity: sha1-7gHdHKwO08vH/b6jfcCo8c4ALOI= + /ecstatic/3.3.2: + dependencies: + he: 1.2.0 + mime: 1.6.0 + minimist: 1.2.5 + url-join: 2.0.5 + dev: true + hasBin: true + resolution: + integrity: sha512-fLf9l1hnwrHI2xn9mEDT7KIi22UDqA2jaCwyCbSUJh9a1V+LEUSL/JO/6TIz/QyuBURWUHrFL5Kg2TtO1bkkog== /electron-to-chromium/1.3.655: dev: true resolution: @@ -2353,56 +2424,55 @@ packages: node: '>=10' resolution: integrity: sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA== - /eslint-config-ash-nazg/26.1.0_ac27ae1f3f6967be634b66903d01ed75: - dependencies: - '@mysticatea/eslint-plugin': 13.0.0_eslint@7.19.0+typescript@4.1.3 - eslint: 7.19.0 - eslint-config-standard: 16.0.2_ffdc1e077188607525eea745ddf73e4e - eslint-plugin-array-func: 3.1.7_eslint@7.19.0 - eslint-plugin-compat: 3.9.0_eslint@7.19.0 - eslint-plugin-eslint-comments: 3.2.0_eslint@7.19.0 + /eslint-config-ash-nazg/29.8.1_0e91e73d939ed9bdb271a07142381760: + dependencies: + '@brettz9/eslint-plugin': 1.0.3_eslint@7.21.0 + eslint: 7.21.0 + eslint-config-standard: 16.0.2_2d485f4f2bf2333d84b92b3b62864e21 + eslint-plugin-array-func: 3.1.7_eslint@7.21.0 + eslint-plugin-compat: 3.9.0_eslint@7.21.0 + eslint-plugin-eslint-comments: 3.2.0_eslint@7.21.0 eslint-plugin-html: 6.1.1 - eslint-plugin-import: 2.22.1_eslint@7.19.0 - eslint-plugin-jsdoc: 31.6.0_eslint@7.19.0 - eslint-plugin-markdown: 1.0.2 - eslint-plugin-no-unsanitized: 3.1.4_eslint@7.19.0 + eslint-plugin-import: 2.22.1_eslint@7.21.0 + eslint-plugin-jsdoc: 32.2.0_eslint@7.21.0 + eslint-plugin-markdown: 2.0.0_eslint@7.21.0 + eslint-plugin-no-unsanitized: 3.1.4_eslint@7.21.0 eslint-plugin-no-use-extend-native: 0.5.0 - eslint-plugin-node: 11.1.0_eslint@7.19.0 - eslint-plugin-promise: 4.2.1 - eslint-plugin-radar: 0.2.0_eslint@7.19.0 - eslint-plugin-standard: 4.1.0_eslint@7.19.0 - eslint-plugin-unicorn: 27.0.0_eslint@7.19.0 - typescript: 4.1.3 + eslint-plugin-node: 11.1.0_eslint@7.21.0 + eslint-plugin-promise: 4.3.1 + eslint-plugin-radar: 0.2.1_eslint@7.21.0 + eslint-plugin-standard: 4.1.0_eslint@7.21.0 + eslint-plugin-unicorn: 28.0.2_eslint@7.21.0 + semver: 7.3.4 dev: true engines: - node: '>=8.10.0' + node: '>=10.0.0' peerDependencies: - '@mysticatea/eslint-plugin': ^13.0.0 - eslint: ^7.19.0 + '@brettz9/eslint-plugin': ^1.0.3 + eslint: ^7.20.0 eslint-config-standard: ^16.0.2 eslint-plugin-array-func: ^3.1.7 eslint-plugin-compat: ^3.9.0 eslint-plugin-eslint-comments: ^3.2.0 eslint-plugin-html: ^6.1.1 eslint-plugin-import: ^2.22.1 - eslint-plugin-jsdoc: ^31.6.0 - eslint-plugin-markdown: ^1.0.2 + eslint-plugin-jsdoc: ^32.2.0 + eslint-plugin-markdown: ^2.0.0 eslint-plugin-no-unsanitized: ^3.1.4 eslint-plugin-no-use-extend-native: ^0.5.0 eslint-plugin-node: ^11.1.0 - eslint-plugin-promise: ^4.2.1 - eslint-plugin-radar: ^0.2.0 + eslint-plugin-promise: ^4.3.1 + eslint-plugin-radar: ^0.2.1 eslint-plugin-standard: ^4.1.0 - eslint-plugin-unicorn: ^27.0.0 - typescript: ^4.1.3 + eslint-plugin-unicorn: ^28.0.2 resolution: - integrity: sha512-6J31x2iMRSKLJc4i65ewa8WWPHswj1MDqo+Lu0L9uzrktbcWNZ2CUx2zIZ0CxDenqAwpSWA2ibulf+ErqoPwDw== - /eslint-config-standard/16.0.2_ffdc1e077188607525eea745ddf73e4e: + integrity: sha512-Os9qVVKfpG9uSkOq9T6qYcez0uyxxFlT6W02hSw9wO6hGtV3sZygrqT2K/jKdScXttkb11GqZWbZUozwIoau/w== + /eslint-config-standard/16.0.2_2d485f4f2bf2333d84b92b3b62864e21: dependencies: - eslint: 7.19.0 - eslint-plugin-import: 2.22.1_eslint@7.19.0 - eslint-plugin-node: 11.1.0_eslint@7.19.0 - eslint-plugin-promise: 4.2.1 + eslint: 7.21.0 + eslint-plugin-import: 2.22.1_eslint@7.21.0 + eslint-plugin-node: 11.1.0_eslint@7.21.0 + eslint-plugin-promise: 4.3.1 dev: true peerDependencies: eslint: ^7.12.1 @@ -2427,9 +2497,9 @@ packages: node: '>=4' resolution: integrity: sha512-6j9xxegbqe8/kZY8cYpcp0xhbK0EgJlg3g9mib3/miLaExuuwc3n5UEfSnU6hWMbT0FAYVvDbL9RrRgpUeQIvA== - /eslint-plugin-array-func/3.1.7_eslint@7.19.0: + /eslint-plugin-array-func/3.1.7_eslint@7.21.0: dependencies: - eslint: 7.19.0 + eslint: 7.21.0 dev: true engines: node: '>= 6.8.0' @@ -2437,9 +2507,9 @@ packages: eslint: '>=3.0.0' resolution: integrity: sha512-fB5TBICjHSTGToNTbCCgR8zsngpUkoCM31EMh/M/NEAyNg90i5rUuG0dnNNBML2n0BzM0nBE3sPvo2SEWf6jlA== - /eslint-plugin-chai-expect/2.2.0_eslint@7.19.0: + /eslint-plugin-chai-expect/2.2.0_eslint@7.21.0: dependencies: - eslint: 7.19.0 + eslint: 7.21.0 dev: true engines: node: 6.* || 8.* || >= 10.* @@ -2447,9 +2517,9 @@ packages: eslint: '>=2.0.0 <= 7.x' resolution: integrity: sha512-ExTJKhgeYMfY8wDj3UiZmgpMKJOUHGNHmWMlxT49JUDB1vTnw0sSNfXJSxnX+LcebyBD/gudXzjzD136WqPJrQ== - /eslint-plugin-chai-friendly/0.6.0_eslint@7.19.0: + /eslint-plugin-chai-friendly/0.6.0_eslint@7.21.0: dependencies: - eslint: 7.19.0 + eslint: 7.21.0 dev: true engines: node: '>=0.10.0' @@ -2457,14 +2527,14 @@ packages: eslint: '>=3.0.0' resolution: integrity: sha512-Uvvv1gkbRGp/qfN15B0kQyQWg+oFA8buDSqrwmW3egNSk/FpqH2MjQqKOuKwmEL6w4QIQrIjDp+gg6kGGmD3oQ== - /eslint-plugin-compat/3.9.0_eslint@7.19.0: + /eslint-plugin-compat/3.9.0_eslint@7.21.0: dependencies: '@mdn/browser-compat-data': 2.0.7 ast-metadata-inferer: 0.4.0 browserslist: 4.16.3 caniuse-lite: 1.0.30001185 core-js: 3.8.3 - eslint: 7.19.0 + eslint: 7.21.0 find-up: 4.1.0 lodash.memoize: 4.1.2 semver: 7.3.2 @@ -2475,46 +2545,22 @@ packages: eslint: ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 resolution: integrity: sha512-lt3l5PHFHVEYSZ5zijcoYvtQJPsBifRiH5N0Et57KwVu7l/yxmHhSG6VJiLMa/lXrg93Qu8049RNQOMn0+yJBg== - /eslint-plugin-es/2.0.0_eslint@7.19.0: + /eslint-plugin-es/3.0.1_eslint@7.21.0: dependencies: - eslint: 7.19.0 - eslint-utils: 1.4.3 - regexpp: 3.1.0 - dev: true - engines: - node: '>=8.10.0' - peerDependencies: - eslint: '>=4.19.1' - resolution: - integrity: sha512-f6fceVtg27BR02EYnBhgWLFQfK6bN4Ll0nQFrBHOlCsAyxeZkn0NHns5O0YZOPrV1B3ramd6cgFwaoFLcSkwEQ== - /eslint-plugin-es/3.0.1_eslint@7.19.0: - dependencies: - eslint: 7.19.0 + eslint: 7.21.0 eslint-utils: 2.1.0 - regexpp: 3.1.0 - dev: true - engines: - node: '>=8.10.0' - peerDependencies: - eslint: '>=4.19.1' - resolution: - integrity: sha512-GUmAsJaN4Fc7Gbtl8uOBlayo2DqhwWvEzykMHSCZHU3XdJ+NSzzZcVhXh3VxX5icqQ+oQdIEawXX8xkR3mIFmQ== - /eslint-plugin-eslint-comments/3.1.2_eslint@7.19.0: - dependencies: - escape-string-regexp: 1.0.5 - eslint: 7.19.0 - ignore: 5.1.8 + regexpp: 3.1.0 dev: true engines: - node: '>=6.5.0' + node: '>=8.10.0' peerDependencies: eslint: '>=4.19.1' resolution: - integrity: sha512-QexaqrNeteFfRTad96W+Vi4Zj1KFbkHHNMMaHZEYcovKav6gdomyGzaxSDSL3GoIyUOo078wRAdYlu1caiauIQ== - /eslint-plugin-eslint-comments/3.2.0_eslint@7.19.0: + integrity: sha512-GUmAsJaN4Fc7Gbtl8uOBlayo2DqhwWvEzykMHSCZHU3XdJ+NSzzZcVhXh3VxX5icqQ+oQdIEawXX8xkR3mIFmQ== + /eslint-plugin-eslint-comments/3.2.0_eslint@7.21.0: dependencies: escape-string-regexp: 1.0.5 - eslint: 7.19.0 + eslint: 7.21.0 ignore: 5.1.8 dev: true engines: @@ -2523,30 +2569,20 @@ packages: eslint: '>=4.19.1' resolution: integrity: sha512-0jkOl0hfojIHHmEHgmNdqv4fmh7300NdpA9FFpF7zaoLvB/QeXOGNLIo86oAveJFrfB1p05kC8hpEMHM8DwWVQ== - /eslint-plugin-eslint-plugin/2.1.0_eslint@7.19.0: - dependencies: - eslint: 7.19.0 - dev: true - engines: - node: ^6.14.0 || ^8.10.0 || >=9.10.0 - peerDependencies: - eslint: '>=5.0.0' - resolution: - integrity: sha512-kT3A/ZJftt28gbl/Cv04qezb/NQ1dwYIbi8lyf806XMxkus7DvOVCLIfTXMrorp322Pnoez7+zabXH29tADIDg== /eslint-plugin-html/6.1.1: dependencies: htmlparser2: 5.0.1 dev: true resolution: integrity: sha512-JSe3ZDb7feKMnQM27XWGeoIjvP4oWQMJD9GZ6wW67J7/plVL87NK72RBwlvfc3tTZiYUchHhxAwtgEd1GdofDA== - /eslint-plugin-import/2.22.1_eslint@7.19.0: + /eslint-plugin-import/2.22.1_eslint@7.21.0: dependencies: array-includes: 3.1.2 array.prototype.flat: 1.2.4 contains-path: 0.1.0 debug: 2.6.9 doctrine: 1.5.0 - eslint: 7.19.0 + eslint: 7.21.0 eslint-import-resolver-node: 0.3.4 eslint-module-utils: 2.6.0 has: 1.0.3 @@ -2562,13 +2598,13 @@ packages: eslint: ^2 || ^3 || ^4 || ^5 || ^6 || ^7.2.0 resolution: integrity: sha512-8K7JjINHOpH64ozkAhpT3sd+FswIZTfMZTjdx052pnWrgRCVfp8op9tbjpAk3DdUeI/Ba4C8OjdC0r90erHEOw== - /eslint-plugin-jsdoc/31.6.0_eslint@7.19.0: + /eslint-plugin-jsdoc/32.2.0_eslint@7.21.0: dependencies: - comment-parser: 1.1.1 + comment-parser: 1.1.2 debug: 4.3.1 - eslint: 7.19.0 + eslint: 7.21.0 jsdoctypeparser: 9.0.0 - lodash: 4.17.20 + lodash: 4.17.21 regextras: 0.7.1 semver: 7.3.4 spdx-expression-parse: 3.0.1 @@ -2578,20 +2614,22 @@ packages: peerDependencies: eslint: ^6.0.0 || ^7.0.0 resolution: - integrity: sha512-kYhdW+BXHij9n12oHvAC27oDHKEFITz1YJP/C0NPtb+gsGJWxejh5B6dEmmj6oLYOsmNvuCVkdIcqYOyabP2QA== - /eslint-plugin-markdown/1.0.2: + integrity: sha512-ikeVeF3JVmzjcmGd04OZK0rXjgiw46TWtNX+OhyF2jQlw3w1CAU1vyAyLv8PZcIjp7WxP4N20Vg1CI9bp/52dw== + /eslint-plugin-markdown/2.0.0_eslint@7.21.0: dependencies: - object-assign: 4.1.1 + eslint: 7.21.0 remark-parse: 5.0.0 unified: 6.2.0 dev: true engines: - node: ^6.14.0 || ^8.10.0 || >=9.10.0 + node: ^8.10.0 || ^10.12.0 || >= 12.0.0 + peerDependencies: + eslint: '>=6.0.0' resolution: - integrity: sha512-BfvXKsO0K+zvdarNc801jsE/NTLmig4oKhZ1U3aSUgTf2dB/US5+CrfGxMsCK2Ki1vS1R3HPok+uYpufFndhzw== - /eslint-plugin-no-unsanitized/3.1.4_eslint@7.19.0: + integrity: sha512-zt10JoexHeJFMTE5egDcetAJ34bn5k/92s0wAuRZfhDAyI0ryEj+O91JL2CbBExajie6BE5L63y47dN1Sbp6mQ== + /eslint-plugin-no-unsanitized/3.1.4_eslint@7.21.0: dependencies: - eslint: 7.19.0 + eslint: 7.21.0 dev: true peerDependencies: eslint: ^5 || ^6 || ^7 @@ -2608,26 +2646,10 @@ packages: node: '>=6.0.0' resolution: integrity: sha512-dBNjs8hor8rJgeXLH4HTut5eD3RGWf9JUsadIfuL7UosVQ/dnvOKwxEcRrXrFxrMZ8llUVWT+hOimxJABsAUzQ== - /eslint-plugin-node/10.0.0_eslint@7.19.0: - dependencies: - eslint: 7.19.0 - eslint-plugin-es: 2.0.0_eslint@7.19.0 - eslint-utils: 1.4.3 - ignore: 5.1.8 - minimatch: 3.0.4 - resolve: 1.19.0 - semver: 6.3.0 - dev: true - engines: - node: '>=8.10.0' - peerDependencies: - eslint: '>=5.16.0' - resolution: - integrity: sha512-1CSyM/QCjs6PXaT18+zuAXsjXGIGo5Rw630rSKwokSs2jrYURQc4R5JZpoanNCqwNmepg+0eZ9L7YiRUJb8jiQ== - /eslint-plugin-node/11.1.0_eslint@7.19.0: + /eslint-plugin-node/11.1.0_eslint@7.21.0: dependencies: - eslint: 7.19.0 - eslint-plugin-es: 3.0.1_eslint@7.19.0 + eslint: 7.21.0 + eslint-plugin-es: 3.0.1_eslint@7.21.0 eslint-utils: 2.1.0 ignore: 5.1.8 minimatch: 3.0.4 @@ -2640,52 +2662,40 @@ packages: eslint: '>=5.16.0' resolution: integrity: sha512-oUwtPJ1W0SKD0Tr+wqu92c5xuCeQqB3hSCHasn/ZgjFdA9iDGNkNf2Zi9ztY7X+hNuMib23LNGRm6+uN+KLE3g== - /eslint-plugin-prettier/3.1.4_eslint@7.19.0+prettier@1.19.1: - dependencies: - eslint: 7.19.0 - prettier: 1.19.1 - prettier-linter-helpers: 1.0.0 - dev: true - engines: - node: '>=6.0.0' - peerDependencies: - eslint: '>=5.0.0' - prettier: '>=1.13.0' - resolution: - integrity: sha512-jZDa8z76klRqo+TdGDTFJSavwbnWK2ZpqGKNZ+VvweMW516pDUMmQ2koXvxEE4JhzNvTv+radye/bWGBmA6jmg== - /eslint-plugin-promise/4.2.1: + /eslint-plugin-promise/4.3.1: dev: true engines: node: '>=6' resolution: - integrity: sha512-VoM09vT7bfA7D+upt+FjeBO5eHIJQBUWki1aPvB+vbNiHS3+oGIJGIeyBtKQTME6UPXXy3vV07OL1tHd3ANuDw== - /eslint-plugin-radar/0.2.0_eslint@7.19.0: + integrity: sha512-bY2sGqyptzFBDLh/GMbAxfdJC+b0f23ME63FOE4+Jao0oZ3E1LEwFtWJX/1pGMJLiTtrSSern2CRM/g+dfc0eQ== + /eslint-plugin-radar/0.2.1_eslint@7.21.0: dependencies: - eslint: 7.19.0 + eslint: 7.21.0 dev: true engines: node: '>=10' peerDependencies: eslint: '>= 3.0.0 <= 7.x.x' resolution: - integrity: sha512-RBNiybDcXvMhW2Yo0AIfgr4Fz6cLiTrqFJXuA5r9MuKOkNXl74zuP79b2+sL5GsgrUxxpDBi3g+9GkAILnC9eQ== - /eslint-plugin-standard/4.1.0_eslint@7.19.0: + integrity: sha512-aOc1MK6ddL45X6mS6zEqFIKy/c/qnwjhNycDecaFMw5acUsD744ZCZf2cG7yxLhMv71mBSwr6pZdu+26+Zzk5A== + /eslint-plugin-standard/4.1.0_eslint@7.21.0: dependencies: - eslint: 7.19.0 + eslint: 7.21.0 dev: true peerDependencies: eslint: '>=5.0.0' resolution: integrity: sha512-ZL7+QRixjTR6/528YNGyDotyffm5OQst/sGxKDwGb9Uqs4In5Egi4+jbobhqJoyoCM6/7v/1A5fhQ7ScMtDjaQ== - /eslint-plugin-unicorn/27.0.0_eslint@7.19.0: + /eslint-plugin-unicorn/28.0.2_eslint@7.21.0: dependencies: ci-info: 2.0.0 clean-regexp: 1.0.0 - eslint: 7.19.0 - eslint-template-visitor: 2.2.2_eslint@7.19.0 + eslint: 7.21.0 + eslint-template-visitor: 2.2.2_eslint@7.21.0 eslint-utils: 2.1.0 + eslint-visitor-keys: 2.0.0 import-modules: 2.1.0 - lodash: 4.17.20 + lodash: 4.17.21 pluralize: 8.0.0 read-pkg-up: 7.0.1 regexp-tree: 0.1.23 @@ -2698,27 +2708,7 @@ packages: peerDependencies: eslint: '>=7.17.0' resolution: - integrity: sha512-uUvlueTa4SpkvLjbkqx08JbB0tY6XxOAa8vlfwbTzITfVNy3go3QzPCus49fO5M/mfooOuraIDVkaqan/pLAHg== - /eslint-plugin-vue/6.0.2_eslint@7.19.0: - dependencies: - eslint: 7.19.0 - vue-eslint-parser: 6.0.5_eslint@7.19.0 - dev: true - engines: - node: '>=8.10' - peerDependencies: - eslint: ^5.0.0 || ^6.0.0 - resolution: - integrity: sha512-LF0AeuCjzTe+enkvvtvKClG3iYZwMKE3M6yEUZruUHNolLwqGqbEULzvMmojr+8KlMl//Ya1k7dKVt4HFASKfw== - /eslint-scope/4.0.3: - dependencies: - esrecurse: 4.3.0 - estraverse: 4.3.0 - dev: true - engines: - node: '>=4.0.0' - resolution: - integrity: sha512-p7VutNr1O/QrxysMo3E45FjYDTeXBy0iTltPFNSqKAIfjDSXC+4dj+qfyuD8bfAXrW/y6lW3O76VaYNPKfpKrg== + integrity: sha512-k4AoFP7n8/oq6lBXkdc9Flid6vw2B8j7aXFCxgzJCyKvmaKrCUFb1TFPhG9eSJQFZowqmymMPRtl8oo9NKLUbw== /eslint-scope/5.1.1: dependencies: esrecurse: 4.3.0 @@ -2728,10 +2718,10 @@ packages: node: '>=8.0.0' resolution: integrity: sha512-2NxwbF/hZ0KpepYN0cNbo+FN6XoK7GaHlQhgx/hIZl6Va0bF45RQOOwhLIy8lQDbuCiadSLCBnH2CFYquit5bw== - /eslint-template-visitor/2.2.2_eslint@7.19.0: + /eslint-template-visitor/2.2.2_eslint@7.21.0: dependencies: - babel-eslint: 10.1.0_eslint@7.19.0 - eslint: 7.19.0 + babel-eslint: 10.1.0_eslint@7.21.0 + eslint: 7.21.0 eslint-visitor-keys: 2.0.0 esquery: 1.4.0 multimap: 1.1.0 @@ -2740,14 +2730,6 @@ packages: eslint: '>=7.0.0' resolution: integrity: sha512-SkcLjzKw3JjKTWHacRDeLBa2gxb600zbCKTkXj/V97QnZ9yxkknoPL8vc8PFueqbFXP7mYNTQzjCjcMpTRdRaA== - /eslint-utils/1.4.3: - dependencies: - eslint-visitor-keys: 1.3.0 - dev: true - engines: - node: '>=6' - resolution: - integrity: sha512-fbBN5W2xdY45KulGXmLHZ3c3FHfVYmKg0IrAKGOkT/464PQsx2UeIzfz1RmEci+KLm1bBaAzZAh8+/E+XAeZ8Q== /eslint-utils/2.1.0: dependencies: eslint-visitor-keys: 1.3.0 @@ -2768,10 +2750,10 @@ packages: node: '>=10' resolution: integrity: sha512-QudtT6av5WXels9WjIM7qz1XD1cWGvX4gGXvp/zBn9nXG02D0utdU3Em2m/QjTnrsk6bBjmCygl3rmj118msQQ== - /eslint/7.19.0: + /eslint/7.21.0: dependencies: - '@babel/code-frame': 7.12.13 - '@eslint/eslintrc': 0.3.0 + '@babel/code-frame': 7.12.11 + '@eslint/eslintrc': 0.4.0 ajv: 6.12.6 chalk: 4.1.0 cross-spawn: 7.0.3 @@ -2784,7 +2766,7 @@ packages: espree: 7.3.1 esquery: 1.4.0 esutils: 2.0.3 - file-entry-cache: 6.0.0 + file-entry-cache: 6.0.1 functional-red-black-tree: 1.0.1 glob-parent: 5.1.1 globals: 12.4.0 @@ -2795,7 +2777,7 @@ packages: js-yaml: 3.14.1 json-stable-stringify-without-jsonify: 1.0.1 levn: 0.4.1 - lodash: 4.17.20 + lodash: 4.17.21 minimatch: 3.0.4 natural-compare: 1.4.0 optionator: 0.9.1 @@ -2812,7 +2794,7 @@ packages: node: ^10.12.0 || >=12.0.0 hasBin: true resolution: - integrity: sha512-CGlMgJY56JZ9ZSYhJuhow61lMPPjUzWmChFya71Z/jilVos7mR/jPgaEfVGgMBY5DshbKdG8Ezb8FDCHcoMEMg== + integrity: sha512-W2aJbXpMNofUp0ztQaF40fveSsJBjlSCSWpy//gzfTvwC+USs/nceBrKmlJOiM8r1bLwP2EuYkCqArn/6QTIgg== /esm/3.2.25: dev: true engines: @@ -2826,26 +2808,6 @@ packages: dev: true resolution: integrity: sha1-xmhJIp+RRk3t4uDUAgHtar9l8qw= - /espree/5.0.1: - dependencies: - acorn: 6.4.2 - acorn-jsx: 5.3.1_acorn@6.4.2 - eslint-visitor-keys: 1.3.0 - dev: true - engines: - node: '>=6.0.0' - resolution: - integrity: sha512-qWAZcWh4XE/RwzLJejfcofscgMc9CamR6Tn1+XRXNzrvUSSbiAjGOI/fggztjIi7y9VLPqnICMIPiGyr8JaZ0A== - /espree/6.2.1: - dependencies: - acorn: 7.4.1 - acorn-jsx: 5.3.1_acorn@7.4.1 - eslint-visitor-keys: 1.3.0 - dev: true - engines: - node: '>=6.0.0' - resolution: - integrity: sha512-ysCxRQY3WaXJz9tdbWOwuWr5Y/XrPTGX9Kiz3yoUXwW0VZ4w30HTkQLaGx/+ttFjF8i+ACbArnB4ce68a9m5hw== /espree/7.3.1: dependencies: acorn: 7.4.1 @@ -2901,6 +2863,10 @@ packages: node: '>=0.10.0' resolution: integrity: sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g== + /eventemitter3/4.0.7: + dev: true + resolution: + integrity: sha512-8guHBZCwKnFhYdHr2ysuRWErTwhoN2X8XELRlrRwpmfeY2jjuUN4taQMsULKUVo1K4DvZl+0pgfyoysHxvmvEw== /ext/1.4.0: dependencies: type: 2.1.0 @@ -2925,10 +2891,6 @@ packages: dev: true resolution: integrity: sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q== - /fast-diff/1.2.0: - dev: true - resolution: - integrity: sha512-xJuoT5+L99XlZ8twedaRf6Ax2TgQVxvgZOYoPKqZufmJib0tL2tegPBOZb1pVNgIhlqDlA0eO0c3wBvQcmzx4w== /fast-glob/3.2.5: dependencies: '@nodelib/fs.stat': 2.0.4 @@ -2982,14 +2944,14 @@ packages: node: '>=8' resolution: integrity: sha512-yaduQFRKLXYOGgEn6AZau90j3ggSOyiqXU0F9JZfeXYhNa+Jk4X+s45A2zg5jns87GAFa34BBm2kXw4XpNcbdg== - /file-entry-cache/6.0.0: + /file-entry-cache/6.0.1: dependencies: flat-cache: 3.0.4 dev: true engines: node: ^10.12.0 || >=12.0.0 resolution: - integrity: sha512-fqoO76jZ3ZnYrXLDRxBR1YvOvc0k844kcOg40bgsPrE25LAb/PDqTY+ho64Xh2c8ZXgIKldchCFHczG2UVRcWA== + integrity: sha512-7Gps/XWymbLk2QLYK4NzpMOrYjMhdIxXuIvy2QBsLE6ljuodKvdkWs/cpyJJ3CVIVpH0Oi1Hvg1ovbMzLdFBBg== /file-type/14.7.1: dependencies: readable-web-to-node-stream: 2.0.0 @@ -3085,6 +3047,17 @@ packages: dev: true resolution: integrity: sha512-zAoAQiudy+r5SvnSw3KJy5os/oRJYHzrzja/tBDqrZtNhUw8bt6y8OBzMWcjWr+8liV8Eb6yOhw8WZ7VFZ5ZzA== + /follow-redirects/1.13.3: + dev: true + engines: + node: '>=4.0' + peerDependencies: + debug: '*' + peerDependenciesMeta: + debug: + optional: true + resolution: + integrity: sha512-DUgl6+HDzB0iEptNQEXLx/KhTmDb8tZUHSeLqpnjpknR70H0nC2t9N73BK6fN4hOvJ84pKlIQVQ4k5FFlBedKA== /foreground-child/2.0.0: dependencies: cross-spawn: 7.0.3 @@ -3128,16 +3101,6 @@ packages: dev: true resolution: integrity: sha1-FQStJSMVjKpA20onh8sBQRmU6k8= - /fsevents/2.1.3: - deprecated: '"Please update to latest v2.3 or v2.2"' - dev: true - engines: - node: ^8.16.0 || ^10.6.0 || >=11.0.0 - optional: true - os: - - darwin - resolution: - integrity: sha512-Auw9a4AxqWpa9GUfj370BMPzzyncfBABW8Mab7BGWBYDj4Isgq+cDKtx0i6u9jcX9pQDnswsaaOTgTmA5pEjuQ== /fsevents/2.3.2: dev: true engines: @@ -3282,7 +3245,7 @@ packages: node: '>=4.x' resolution: integrity: sha512-qBr4OuELkhPenW6goKVXiv47US3clb3/IbuWF9KNKEijAy9oeHxU9IgzjvJhHkUzhaj7rOUD7+YGWqUjLp5oSA== - /handlebars/4.7.6: + /handlebars/4.7.7: dependencies: minimist: 1.2.5 neo-async: 2.6.2 @@ -3295,7 +3258,7 @@ packages: optionalDependencies: uglify-js: 3.12.6 resolution: - integrity: sha512-1f2BACcBfiwAfStCKZNrUCgqNZkGsAT7UM3kkYtXuLo0KnaVfjKOyf7PRzB6++aK9STyT1Pd2ZCPe3EGOXleXA== + integrity: sha512-aAcXm5OAfE/8IXkcZvCepKU3VzW1/39Fb5ZuqMtgI/hT8X2YgoMvBY5dLhq/cpOvw7Lk1nK/UF71aLG/ZnVYRA== /hard-rejection/2.1.0: dev: true engines: @@ -3369,6 +3332,34 @@ packages: dev: true resolution: integrity: sha512-carPklcUh7ROWRK7Cv27RPtdhYhUsela/ue5/jKzjegVvXDqM2ILE9Q2BGn9JZJh1g87cp56su/FgQSzcWS8cQ== + /http-proxy/1.18.1: + dependencies: + eventemitter3: 4.0.7 + follow-redirects: 1.13.3 + requires-port: 1.0.0 + dev: true + engines: + node: '>=8.0.0' + resolution: + integrity: sha512-7mz/721AbnJwIVbnaSv1Cz3Am0ZLT/UBwkC92VlxhXv/k/BBQfM2fXElQNC27BVGr0uwUpplYPQM9LnaBMR5NQ== + /http-server/0.12.3: + dependencies: + basic-auth: 1.1.0 + colors: 1.4.0 + corser: 2.0.1 + ecstatic: 3.3.2 + http-proxy: 1.18.1 + minimist: 1.2.5 + opener: 1.5.2 + portfinder: 1.0.28 + secure-compare: 3.0.1 + union: 0.5.0 + dev: true + engines: + node: '>=6' + hasBin: true + resolution: + integrity: sha512-be0dKG6pni92bRjq0kvExtj/NrrAd28/8fCXkaI/4piTwQMSDSLMhWyW0NI1V+DBI3aa1HMlQu46/HjVLfmugA== /iconv-lite/0.4.24: dependencies: safer-buffer: 2.1.2 @@ -3461,7 +3452,7 @@ packages: cli-width: 2.2.1 external-editor: 2.2.0 figures: 2.0.0 - lodash: 4.17.20 + lodash: 4.17.21 mute-stream: 0.0.7 run-async: 2.4.1 rx-lite: 4.0.8 @@ -3820,22 +3811,21 @@ packages: node: '>=0.10.0' resolution: integrity: sha1-0kLmSU7Vcq08koCfyL7X92h8vwM= - /js-yaml/3.14.0: + /js-yaml/3.14.1: dependencies: argparse: 1.0.10 esprima: 4.0.1 dev: true hasBin: true resolution: - integrity: sha512-/4IbIeHcD9VMHFqDR/gQ7EdZdLimOvW2DdcxFjdyyZ9NsbS+ccrXqVWDtab/lRl5AlUqmpBx8EhPaWR+OtY17A== - /js-yaml/3.14.1: + integrity: sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g== + /js-yaml/4.0.0: dependencies: - argparse: 1.0.10 - esprima: 4.0.1 + argparse: 2.0.1 dev: true hasBin: true resolution: - integrity: sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g== + integrity: sha512-pqon0s+4ScYUvX30wxQi3PogGFAlUyH0awepWvwkj4jD4v+ova3RiYw8bmA6x2rDrEaj8i/oWKoRxpVNW+Re8Q== /jsdoctypeparser/9.0.0: dev: true engines: @@ -4035,6 +4025,10 @@ packages: dev: true resolution: integrity: sha1-soqmKIorn8ZRA1x3EfZathkDMaY= + /lodash.debounce/4.0.8: + dev: true + resolution: + integrity: sha1-gteb/zCmfEAF/9XiUVMArZyk168= /lodash.flattendeep/4.4.0: dev: true resolution: @@ -4043,14 +4037,14 @@ packages: dev: true resolution: integrity: sha1-vMbEmkKihA7Zl/Mj6tpezRguC/4= - /lodash.unescape/4.0.1: - dev: true - resolution: - integrity: sha1-vyJJiGzlFM2hEvrpIYzcBlIR/Jw= /lodash/4.17.20: dev: true resolution: integrity: sha512-PlhdFcillOINfeV7Ni6oF1TAEayyZBoZ8bcshTHqOYJYlrqzRK5hagpagky5o4HfCzzd1TRkXPMFq6cKk9rGmA== + /lodash/4.17.21: + dev: true + resolution: + integrity: sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg== /log-symbols/4.0.0: dependencies: chalk: 4.1.0 @@ -4123,13 +4117,13 @@ packages: node: '>=0.10.0' resolution: integrity: sha512-WWC0ZuMzCyDHYCasEGs4IPvLyTGftYwh6wIEOULOF0HXcqZlhwRzrK0w2VUlxWA98xnvb/jszw4ZSkJ6ADpM6Q== - /marked/1.2.9: + /marked/2.0.1: dev: true engines: node: '>= 8.16.2' hasBin: true resolution: - integrity: sha512-H8lIX2SvyitGX+TRdtS06m1jHMijKN/XjfH6Ooii9fvxMlh8QdqBfBDkGUpMWH2kQNrtixjzYUa3SH8ROTgRRw== + integrity: sha512-5+/fKgMv2hARmMW7DOpykr2iLhl0NgjyELk5yn92iE7z8Se1IS9n3UsFm86hFXIkvMBmVxki8+ckcpjBeyo/hw== /mdast-util-from-markdown/0.8.5: dependencies: '@types/mdast': 3.0.3 @@ -4248,10 +4242,6 @@ packages: node: '>= 6' resolution: integrity: sha512-Q4r8ghd80yhO/0j1O3B2BjweX3fiHg9cdOwjJd2J76Q135c+NDxGCqdYKQ1SKBuFfgWbAUzBfvYjPUEeNgqN1A== - /minimist/0.0.10: - dev: true - resolution: - integrity: sha1-3j+YVD2/lggr5IrRoMfNqDYwHc8= /minimist/1.2.5: dev: true resolution: @@ -4274,11 +4264,11 @@ packages: hasBin: true resolution: integrity: sha512-R3qYJhDwhE6vTxUJQQkI3Hfv7BeEaeqUQ702CDsZtYIlpn3y7Oai7o26r3OcRPCbboGrWgCs4UAGE8cEwibJwA== - /mocha-multi-reporters/1.5.1_mocha@8.2.1: + /mocha-multi-reporters/1.5.1_mocha@8.3.0: dependencies: debug: 4.3.1 lodash: 4.17.20 - mocha: 8.2.1 + mocha: 8.3.0 dev: true engines: node: '>=6.0.0' @@ -4286,39 +4276,39 @@ packages: mocha: '>=3.1.2' resolution: integrity: sha512-Yb4QJOaGLIcmB0VY7Wif5AjvLMUFAdV57D2TWEva1Y0kU/3LjKpeRVmlMIfuO1SVbauve459kgtIizADqxMWPg== - /mocha/8.2.1: + /mocha/8.3.0: dependencies: '@ungap/promise-all-settled': 1.1.2 ansi-colors: 4.1.1 browser-stdout: 1.3.1 - chokidar: 3.4.3 - debug: 4.2.0_supports-color@7.2.0 - diff: 4.0.2 + chokidar: 3.5.1 + debug: 4.3.1_supports-color@8.1.1 + diff: 5.0.0 escape-string-regexp: 4.0.0 find-up: 5.0.0 glob: 7.1.6 growl: 1.10.5 he: 1.2.0 - js-yaml: 3.14.0 + js-yaml: 4.0.0 log-symbols: 4.0.0 minimatch: 3.0.4 - ms: 2.1.2 - nanoid: 3.1.12 + ms: 2.1.3 + nanoid: 3.1.20 serialize-javascript: 5.0.1 strip-json-comments: 3.1.1 - supports-color: 7.2.0 + supports-color: 8.1.1 which: 2.0.2 wide-align: 1.1.3 - workerpool: 6.0.2 - yargs: 13.3.2 - yargs-parser: 13.1.2 + workerpool: 6.1.0 + yargs: 16.2.0 + yargs-parser: 20.2.4 yargs-unparser: 2.0.0 dev: true engines: node: '>= 10.12.0' hasBin: true resolution: - integrity: sha512-cuLBVfyFfFqbNR0uUKbDGXKGk+UDFe6aR4os78XIrMQpZl/nv7JYHcvP5MFIAb374b2zFXsdgEGwmzMtP0Xg8w== + integrity: sha512-TQqyC89V1J/Vxx0DhJIXlq9gbbL9XFNdeLQ1+JsnZsVaSOV1z3tWfw0qZmQJGQRIfkvZcs7snQnZnOCKoldq1Q== /moment/2.29.1: dev: true resolution: @@ -4331,6 +4321,10 @@ packages: dev: true resolution: integrity: sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w== + /ms/2.1.3: + dev: true + resolution: + integrity: sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA== /multimap/1.1.0: dev: true resolution: @@ -4339,13 +4333,13 @@ packages: dev: true resolution: integrity: sha1-MHXOk7whuPq0PhvE2n6BFe0ee6s= - /nanoid/3.1.12: + /nanoid/3.1.20: dev: true engines: - node: ^10 || ^12 || >=13.7 + node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1 hasBin: true resolution: - integrity: sha512-1qstj9z5+x491jfiC4Nelk+f8XBad7LN20PmyWINJEMRSf3wcAjAWysw1qaA8z6NSKe2sjq1hRSDpBH5paCb6A== + integrity: sha512-a1cQNyczgKbLX9jwbS/+d7W8fX/RfgYR7lVWwWOGIPNgK2m0MWvrGF6/m4kk6U3QcFMnZf3RIhL0v2Jgh/0Uxw== /natural-compare/1.4.0: dev: true resolution: @@ -4377,17 +4371,6 @@ packages: dev: true resolution: integrity: sha512-Slf2s69+2/uAD79pVVQo8uSiC34+g8GWY8UH2Qtqv34ZfhYrxpYpfzs9Js9d6O0mbDmALuxaTlplnBTnSELcrw== - /node-static/0.7.11: - dependencies: - colors: 1.4.0 - mime: 1.6.0 - optimist: 0.6.1 - dev: true - engines: - node: '>= 0.4.1' - hasBin: true - resolution: - integrity: sha512-zfWC/gICcqb74D9ndyvxZWaI1jzcoHmf4UTHWQchBNuNMxdBLJMDiUgZ1tjGLEIe/BMhj2DxKD8HOuc2062pDQ== /normalize-package-data/2.5.0: dependencies: hosted-git-info: 2.8.8 @@ -4560,13 +4543,11 @@ packages: node: '>=8' resolution: integrity: sha512-PGoBCX/lclIWlpS/R2PQuIR4NJoXh6X5AwVzE7WXnWRGvHg7+4TBCgsujUgiPpm0K1y4qvQeWnCWVTpTKZBtvA== - /optimist/0.6.1: - dependencies: - minimist: 0.0.10 - wordwrap: 0.0.3 + /opener/1.5.2: dev: true + hasBin: true resolution: - integrity: sha1-2j6nRob6IaGaERwybpDrFaAZZoY= + integrity: sha512-ur5UIdyw5Y7yEj9wLzhqXiy6GZ3Mwx0yGI+5sMn2r0N0v3cKJvUmFH5yPP+WXh9e0xfyzyJX95D8l088DNFj7A== /optionator/0.9.1: dependencies: deep-is: 0.1.3 @@ -4819,6 +4800,16 @@ packages: node: '>=4' resolution: integrity: sha512-Nc3IT5yHzflTfbjgqWcCPpo7DaKy4FnpB0l/zCAW0Tc7jxAiuqSxHasntB3D7887LSrA93kDJ9IXovxJYxyLCA== + /portfinder/1.0.28: + dependencies: + async: 2.6.3 + debug: 3.2.7 + mkdirp: 0.5.5 + dev: true + engines: + node: '>= 0.12.0' + resolution: + integrity: sha512-Se+2isanIcEqf2XMHjyUKskczxbPH7dQnlMjXX6+dybayyHvAf/TCgyMRlzf/B6QDhAEFOGes0pzRo3by4AbMA== /prelude-ls/1.2.1: dev: true engines: @@ -4831,21 +4822,6 @@ packages: node: '>=4' resolution: integrity: sha1-6SQ0v6XqjBn0HN/UAddBo8gZ2Jc= - /prettier-linter-helpers/1.0.0: - dependencies: - fast-diff: 1.2.0 - dev: true - engines: - node: '>=6.0.0' - resolution: - integrity: sha512-GbK2cP9nraSSUF9N2XwUwqfzlAFlMNYYl+ShE/V+H8a9uNl/oUqB1w2EL54Jh0OlyRSd8RfWYJ3coVS4TROP2w== - /prettier/1.19.1: - dev: true - engines: - node: '>=4' - hasBin: true - resolution: - integrity: sha512-s7PoyDv/II1ObgQunCbB9PdLmUcBZcnWOcxDh7O0N/UwDEsHyqkW+Qh28jW+mVuCdx7gLB0BotYI1Y6uI9iyew== /process-on-spawn/1.0.0: dependencies: fromentries: 1.3.2 @@ -4900,6 +4876,12 @@ packages: teleport: '>=0.2.0' resolution: integrity: sha1-fjL3W0E4EpHQRhHxvxQQmsAGUdc= + /qs/6.9.6: + dev: true + engines: + node: '>=0.6' + resolution: + integrity: sha512-TIRk4aqYLNoJUbd+g2lEdz5kLWIuTMRagAXxl78Q0RiVjAOugHmeKNGdd3cwo/ktpf9aL9epCfFqWDEKysUlLQ== /quick-lru/4.0.1: dev: true engines: @@ -5060,12 +5042,6 @@ packages: hasBin: true resolution: integrity: sha512-+7HWfb4Bvu8Rs2eQTUIpX9I/PlQkYOuTNbRpKLJlQpSgwSkzFYh+pUj0gtvglnOZLKB6YgnIgRuJ2/IlpL48qw== - /regexpp/2.0.1: - dev: true - engines: - node: '>=6.5.0' - resolution: - integrity: sha512-lv0M6+TkDVniA3aD1Eg0DVpfU/booSu7Eev3TDO/mZKHBfVjgCGTV4t4buppESEYDtkArYFOxTJWv6S5C+iaNw== /regexpp/3.1.0: dev: true engines: @@ -5221,6 +5197,10 @@ packages: dev: true resolution: integrity: sha512-NKN5kMDylKuldxYLSUfrbo5Tuzh4hd+2E8NPPX02mZtn1VuREQToYe/ZdlJy+J3uCpfaiGF05e7B8W0iXbQHmg== + /requires-port/1.0.0: + dev: true + resolution: + integrity: sha1-kl0mAdOaxIXgkc8NpcbmlNw9yv8= /reserved-words/0.1.2: dev: true resolution: @@ -5273,11 +5253,11 @@ packages: hasBin: true resolution: integrity: sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA== - /rollup-plugin-terser/7.0.2_rollup@2.38.5: + /rollup-plugin-terser/7.0.2_rollup@2.40.0: dependencies: '@babel/code-frame': 7.12.13 jest-worker: 26.6.2 - rollup: 2.38.5 + rollup: 2.40.0 serialize-javascript: 4.0.0 terser: 5.5.1 dev: true @@ -5285,7 +5265,7 @@ packages: rollup: ^2.0.0 resolution: integrity: sha512-w3iIaU4OxcF52UUXiZNsNeuXIMDvFrr+ZXK6bFZ0Q60qyVfq4uLptoS4bbq3paG3x216eQllFZX7zt6TIImguQ== - /rollup/2.38.5: + /rollup/2.40.0: dev: true engines: node: '>=10.0.0' @@ -5293,7 +5273,7 @@ packages: optionalDependencies: fsevents: 2.3.2 resolution: - integrity: sha512-VoWt8DysFGDVRGWuHTqZzT02J0ASgjVq/hPs9QcBOGMd7B+jfTr/iqMVEyOi901rE3xq+Deq66GzIT1yt7sGwQ== + integrity: sha512-WiOGAPbXoHu+TOz6hyYUxIksOwsY/21TRWoO593jgYt8mvYafYqQl+axaA8y1z2HFazNUUrsMSjahV2A6/2R9A== /run-async/2.4.1: dev: true engines: @@ -5336,6 +5316,10 @@ packages: dev: true resolution: integrity: sha512-NqVDv9TpANUjFm0N8uM5GxL36UgKi9/atZw+x7YFnQ8ckwFGKrl4xX4yWtrey3UJm5nP1kUbnYgLopqWNSRhWw== + /secure-compare/3.0.1: + dev: true + resolution: + integrity: sha1-8aAymzCLIh+uN7mXTz1XjQypmeM= /semver-diff/3.1.1: dependencies: semver: 6.3.0 @@ -5416,28 +5400,13 @@ packages: hasBin: true resolution: integrity: sha512-7gk3UZ9kOfPLIAbslLzyWeGiEqx9e3rxwZM0KE6EL8GlGwjym9Mrlx5/p33bWTu9YG6vcS4MBxYZDHYr5lr8BQ== - /shiki-languages/0.2.7: - dependencies: - vscode-textmate: 5.2.0 - dev: true - resolution: - integrity: sha512-REmakh7pn2jCn9GDMRSK36oDgqhh+rSvJPo77sdWTOmk44C5b0XlYPwJZcFOMJWUZJE0c7FCbKclw4FLwUKLRw== - /shiki-themes/0.2.7: - dependencies: - json5: 2.2.0 - vscode-textmate: 5.2.0 - dev: true - resolution: - integrity: sha512-ZMmboDYw5+SEpugM8KGUq3tkZ0vXg+k60XX6NngDK7gc1Sv6YLUlanpvG3evm57uKJvfXsky/S5MzSOTtYKLjA== - /shiki/0.2.7: + /shiki/0.9.2: dependencies: onigasm: 2.2.5 - shiki-languages: 0.2.7 - shiki-themes: 0.2.7 vscode-textmate: 5.2.0 dev: true resolution: - integrity: sha512-bwVc7cdtYYHEO9O+XJ8aNOskKRfaQd5Y4ovLRfbQkmiLSUaR+bdlssbZUUhbQ0JAFMYcTcJ5tjG5KtnufttDHQ== + integrity: sha512-BjUCxVbxMnvjs8jC4b+BQ808vwjJ9Q8NtLqPwXShZ307HdXiDFYP968ORSVfaTNNSWYDBYdMnVKJ0fYNsoZUBA== /signal-exit/3.0.3: dev: true resolution: @@ -5708,6 +5677,14 @@ packages: node: '>=8' resolution: integrity: sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw== + /supports-color/8.1.1: + dependencies: + has-flag: 4.0.0 + dev: true + engines: + node: '>=10' + resolution: + integrity: sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q== /svgo/1.3.2: dependencies: chalk: 2.4.2 @@ -5743,7 +5720,7 @@ packages: /table/6.0.7: dependencies: ajv: 7.0.4 - lodash: 4.17.20 + lodash: 4.17.21 slice-ansi: 4.0.0 string-width: 4.2.0 dev: true @@ -5875,21 +5852,6 @@ packages: dev: true resolution: integrity: sha512-dRcuzokWhajtZWkQsDVKbWyY+jgcLC5sqJhg2PSgf4ZkH2aHPvaOY8YWGhmjb68b5qqTfasSsDO9k7RUiEmZAw== - /tslib/1.14.1: - dev: true - resolution: - integrity: sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg== - /tsutils/3.20.0_typescript@4.1.3: - dependencies: - tslib: 1.14.1 - typescript: 4.1.3 - dev: true - engines: - node: '>= 6' - peerDependencies: - typescript: '>=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta' - resolution: - integrity: sha512-RYbuQuvkhuqVeXweWT3tJLKOEJ/UUw9GjNEZGWdrLLlM+611o1gwLHBpxoFJKKl25fLprp2eVthtKs5JOrNeXg== /type-check/0.4.0: dependencies: prelude-ls: 1.2.1 @@ -5946,20 +5908,20 @@ packages: node: '>= 8' resolution: integrity: sha512-0XAuGEqID+gon1+fhi4LycOEFM+5Mvm2PjwaiVZNAzU7pn3G2DEpsoXnFOPlLDnHY6ZW0BY0nO7ur9fHOFkBLQ== - /typedoc/0.20.21_typescript@4.1.3: + /typedoc/0.20.28_typescript@4.2.2: dependencies: colors: 1.4.0 fs-extra: 9.1.0 - handlebars: 4.7.6 - lodash: 4.17.20 + handlebars: 4.7.7 + lodash: 4.17.21 lunr: 2.3.9 - marked: 1.2.9 + marked: 2.0.1 minimatch: 3.0.4 progress: 2.0.3 shelljs: 0.8.4 - shiki: 0.2.7 + shiki: 0.9.2 typedoc-default-themes: 0.12.7 - typescript: 4.1.3 + typescript: 4.2.2 dev: true engines: node: '>= 10.8.0' @@ -5967,14 +5929,14 @@ packages: peerDependencies: typescript: 3.9.x || 4.0.x || 4.1.x resolution: - integrity: sha512-KAXRnKyyhdA5Wgd96QMdld7gvlL/izUaJi2FAf6KoGuRNgYIUVHQy4KExl9enMt24l/y4LgTFqR6aw3P8NGiZg== - /typescript/4.1.3: + integrity: sha512-8j0T8u9FuyDkoe+M/3cyoaGJSVgXCY9KwVoo7TLUnmQuzXwqH+wkScY530ZEdK6G39UZ2LFTYPIrL5eykWjx6A== + /typescript/4.2.2: dev: true engines: node: '>=4.2.0' hasBin: true resolution: - integrity: sha512-B3ZIOf1IKeH2ixgHhj6la6xdwR9QrLC5d1VKeCSY4tvkqhF2eqd9O7txNlS0PO3GrBAFIdr3L1ndNwteUbZLYg== + integrity: sha512-tbb+NVrLfnsJy3M59lsDgrzWIflR4d4TIUjz+heUnHZwdF7YsrMTKoRERiIvI2lvBG95dfpLxB21WZhys1bgaQ== /typical/4.0.0: dev: true engines: @@ -6092,6 +6054,14 @@ packages: dev: true resolution: integrity: sha512-vx2Z0vY+a3YoTj8+pttM3tiJHCwY5UFbYdiWrwBEbHmK8pvsPj2rtAX2BFfgXen8T39CJWblWRDT4L5WGXtDdg== + /union/0.5.0: + dependencies: + qs: 6.9.6 + dev: true + engines: + node: '>= 0.8.0' + resolution: + integrity: sha512-N6uOhuW6zO95P3Mel2I2zMsbsanvvtgn6jVqJv4vbVcz/JN0OkL9suomjQGmWtxJQXOCqUJvquc1sMeNz/IwlA== /unique-string/2.0.0: dependencies: crypto-random-string: 2.0.0 @@ -6201,6 +6171,10 @@ packages: dev: true resolution: integrity: sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg== + /url-join/2.0.5: + dev: true + resolution: + integrity: sha1-WvIvGMBSoACkjXuCxenC4v7tpyg= /url-parse-lax/3.0.0: dependencies: prepend-http: 2.0.0 @@ -6302,38 +6276,6 @@ packages: dev: true resolution: integrity: sha512-Uw5ooOQxRASHgu6C7GVvUxisKXfSgW4oFlO+aa+PAkgmH89O3CXxEEzNRNtHSqtXFTl0nAC1uYj0GMSH27uwtQ== - /vue-eslint-parser/6.0.5_eslint@7.19.0: - dependencies: - debug: 4.3.1 - eslint: 7.19.0 - eslint-scope: 4.0.3 - eslint-visitor-keys: 1.3.0 - espree: 5.0.1 - esquery: 1.4.0 - lodash: 4.17.20 - dev: true - engines: - node: '>=6.5' - peerDependencies: - eslint: ^5.0.0 || ^6.0.0 - resolution: - integrity: sha512-Bvjlx7rH1Ulvus56KHeLXOjEi3JMOYTa1GAqZr9lBQhd8weK8mV7U7V2l85yokBZEWHJQjLn6X3nosY8TzkOKg== - /vue-eslint-parser/7.4.1_eslint@7.19.0: - dependencies: - debug: 4.3.1 - eslint: 7.19.0 - eslint-scope: 5.1.1 - eslint-visitor-keys: 1.3.0 - espree: 6.2.1 - esquery: 1.4.0 - lodash: 4.17.20 - dev: true - engines: - node: '>=8.10' - peerDependencies: - eslint: '>=5.0.0' - resolution: - integrity: sha512-AFvhdxpFvliYq1xt/biNBslTHE/zbEvSnr1qfHA/KxRIpErmEDrQZlQnvEexednRHmLfDNOMuDYwZL5xkLzIXQ== /which-module/2.0.0: dev: true resolution: @@ -6367,12 +6309,6 @@ packages: node: '>=0.10.0' resolution: integrity: sha512-Hz/mrNwitNRh/HUAtM/VT/5VH+ygD6DV7mYKZAtHOrbs8U7lvPS6xf7EJKMF0uW1KJCl0H701g3ZGus+muE5vQ== - /wordwrap/0.0.3: - dev: true - engines: - node: '>=0.4.0' - resolution: - integrity: sha1-o9XabNXAvAAI03I0u68b7WMFkQc= /wordwrap/1.0.0: dev: true resolution: @@ -6386,30 +6322,30 @@ packages: node: '>=8.0.0' resolution: integrity: sha512-Svqw723a3R34KvsMgpjFBYCgNOSdcW3mQFK4wIfhGQhtaFVOJmdYoXgi63ne3dTlWgatVcUc7t4HtQ/+bUVIzQ== - /workerpool/6.0.2: + /workerpool/6.1.0: dev: true resolution: - integrity: sha512-DSNyvOpFKrNusaaUwk+ej6cBj1bmhLcBfj80elGk+ZIo5JSkq+unB1dLKEOcNfJDZgjGICfhQ0Q5TbP0PvF4+Q== - /wrap-ansi/5.1.0: + integrity: sha512-toV7q9rWNYha963Pl/qyeZ6wG+3nnsyvolaNUS8+R5Wtw6qJPTxIlOP1ZSvcGhEJw+l3HMMmtiNo9Gl61G4GVg== + /wrap-ansi/6.2.0: dependencies: - ansi-styles: 3.2.1 - string-width: 3.1.0 - strip-ansi: 5.2.0 + ansi-styles: 4.3.0 + string-width: 4.2.0 + strip-ansi: 6.0.0 dev: true engines: - node: '>=6' + node: '>=8' resolution: - integrity: sha512-QC1/iN/2/RPVJ5jYK8BGttj5z83LmSKmvbvrXPNCLZSEb32KKVDJDl/MOt2N01qU2H/FkzEa9PKto1BqDjtd7Q== - /wrap-ansi/6.2.0: + integrity: sha512-r6lPcBGxZXlIcymEu7InxDMhdW0KDxpLgoFLcguasxCaJ/SOIZwINatK9KY/tf+ZrlywOKU0UDj3ATXUBfxJXA== + /wrap-ansi/7.0.0: dependencies: ansi-styles: 4.3.0 string-width: 4.2.0 strip-ansi: 6.0.0 dev: true engines: - node: '>=8' + node: '>=10' resolution: - integrity: sha512-r6lPcBGxZXlIcymEu7InxDMhdW0KDxpLgoFLcguasxCaJ/SOIZwINatK9KY/tf+ZrlywOKU0UDj3ATXUBfxJXA== + integrity: sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q== /wrapped/1.0.1: dependencies: co: 3.1.0 @@ -6450,6 +6386,12 @@ packages: dev: true resolution: integrity: sha512-wNcy4NvjMYL8gogWWYAO7ZFWFfHcbdbE57tZO8e4cbpj8tfUcwrwqSl3ad8HxpYWCdXcJUCeKKZS62Av1affwQ== + /y18n/5.0.5: + dev: true + engines: + node: '>=10' + resolution: + integrity: sha512-hsRUr4FFrvhhRH12wOdfs38Gy7k2FFzB9qgN9v3aLykRq0dRcdcpz5C9FxdS2NuhOrI/628b/KSTJ3rwHysYSg== /yallist/3.1.1: dev: true resolution: @@ -6458,13 +6400,6 @@ packages: dev: true resolution: integrity: sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A== - /yargs-parser/13.1.2: - dependencies: - camelcase: 5.3.1 - decamelize: 1.2.0 - dev: true - resolution: - integrity: sha512-3lbsNRf/j+A4QuSZfDRA7HRSfWrzO0YjqTJd5kjAq37Zep1CEgaYmrH9Q3GwPiB9cHyd1Y1UwggGhJGoxipbzg== /yargs-parser/18.1.3: dependencies: camelcase: 5.3.1 @@ -6474,6 +6409,12 @@ packages: node: '>=6' resolution: integrity: sha512-o50j0JeToy/4K6OZcaQmW6lyXXKhq7csREXcDwk2omFPJEwUNOVtJKvmDr9EI1fAJZUyZcRF7kxGBWmRXudrCQ== + /yargs-parser/20.2.4: + dev: true + engines: + node: '>=10' + resolution: + integrity: sha512-WOkpgNhPTlE73h4VFAFsOnomJVaovO8VqLDzy5saChRBFQFBoMYirowyW+Q9HB4HFF4Z7VZTiG3iSzJJA29yRA== /yargs-unparser/2.0.0: dependencies: camelcase: 6.2.0 @@ -6485,21 +6426,6 @@ packages: node: '>=10' resolution: integrity: sha512-7pRTIA9Qc1caZ0bZ6RYRGbHJthJWuakf+WmHK0rVeLkNrrGhfoabBNdue6kdINI6r4if7ocq9aD/n7xwKOdzOA== - /yargs/13.3.2: - dependencies: - cliui: 5.0.0 - find-up: 3.0.0 - get-caller-file: 2.0.5 - require-directory: 2.1.1 - require-main-filename: 2.0.0 - set-blocking: 2.0.0 - string-width: 3.1.0 - which-module: 2.0.0 - y18n: 4.0.1 - yargs-parser: 13.1.2 - dev: true - resolution: - integrity: sha512-AX3Zw5iPruN5ie6xGRIDgqkT+ZhnRlZMLMHAs8tg7nRruy2Nb+i5o9bwghAogtM08q1dpr2LVoS8KSTMYpWXUw== /yargs/15.4.1: dependencies: cliui: 6.0.0 @@ -6518,6 +6444,20 @@ packages: node: '>=8' resolution: integrity: sha512-aePbxDmcYW++PaqBsJ+HYUFwCdv4LVvdnhBy78E57PIor8/OVvhMrADFFEDh8DHDFRv/O9i3lPhsENjO7QX0+A== + /yargs/16.2.0: + dependencies: + cliui: 7.0.4 + escalade: 3.1.1 + get-caller-file: 2.0.5 + require-directory: 2.1.1 + string-width: 4.2.0 + y18n: 5.0.5 + yargs-parser: 20.2.4 + dev: true + engines: + node: '>=10' + resolution: + integrity: sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw== /yocto-queue/0.1.0: dev: true engines: @@ -6549,15 +6489,15 @@ packages: tarball: https://codeload.github.com/brettz9/npm-consider/tar.gz/73d69210884d64ea2d54850e150ebff4501791ba version: 1.7.0 specifiers: - '@babel/core': ^7.12.13 - '@babel/preset-env': ^7.12.13 - '@mysticatea/eslint-plugin': ^13.0.0 - '@rollup/plugin-babel': ^5.2.3 + '@babel/core': ^7.13.8 + '@babel/preset-env': ^7.13.9 + '@brettz9/eslint-plugin': ^1.0.3 + '@rollup/plugin-babel': ^5.3.0 chai: ^4.3.0 - core-js-bundle: ^3.8.3 + core-js-bundle: ^3.9.1 coveradge: ^0.6.0 - eslint: ^7.19.0 - eslint-config-ash-nazg: ^26.1.0 + eslint: ^7.21.0 + eslint-config-ash-nazg: ^29.8.1 eslint-config-standard: ^16.0.2 eslint-plugin-array-func: ^3.1.7 eslint-plugin-chai-expect: ^2.2.0 @@ -6566,27 +6506,27 @@ specifiers: eslint-plugin-eslint-comments: ^3.2.0 eslint-plugin-html: ^6.1.1 eslint-plugin-import: ^2.22.1 - eslint-plugin-jsdoc: ^31.6.0 - eslint-plugin-markdown: ^1.0.2 + eslint-plugin-jsdoc: ^32.2.0 + eslint-plugin-markdown: ^2.0.0 eslint-plugin-no-unsanitized: ^3.1.4 eslint-plugin-no-use-extend-native: ^0.5.0 eslint-plugin-node: ^11.1.0 - eslint-plugin-promise: ^4.2.1 - eslint-plugin-radar: ^0.2.0 + eslint-plugin-promise: ^4.3.1 + eslint-plugin-radar: ^0.2.1 eslint-plugin-standard: ^4.1.0 - eslint-plugin-unicorn: ^27.0.0 + eslint-plugin-unicorn: ^28.0.2 esm: ^3.2.25 + http-server: ^0.12.3 license-badger: ^0.18.0 - mocha: ^8.2.1 + mocha: ^8.3.0 mocha-badge-generator: ^0.9.0 mocha-multi-reporters: ^1.5.1 - node-static: ^0.7.11 nyc: ^15.1.0 open-cli: ^6.0.1 remark-cli: ^9.0.0 remark-lint-code-block-style: ^2.0.1 remark-lint-ordered-list-marker-value: ^2.0.1 - rollup: 2.38.5 + rollup: 2.40.0 rollup-plugin-terser: ^7.0.2 - typedoc: ^0.20.21 - typescript: ^4.1.3 + typedoc: ^0.20.28 + typescript: ^4.2.2 diff --git a/rollup.config.js b/rollup.config.js index a25716a..d2bcb66 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -85,7 +85,6 @@ function getRollupObjectByEnv ({minifying, environment}) { ]; } -// eslint-disable-next-line import/no-anonymous-default-export -- Rollup config export default [ ...getRollupObjectByEnv({minifying: false, environment: 'node'}), // ...getRollupObjectByEnv({minifying: true, environment: 'node'}),