├── .gitignore ├── CODE_OF_CONDUCT.md ├── LICENSE ├── README.md ├── SECURITY.md ├── lib ├── index.js └── index.umd.js ├── package-lock.json ├── package.json ├── rollup.config.js ├── src └── index.js └── test ├── index.html ├── index.test.js └── od_output.json /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules/ -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- 1 | # Microsoft Open Source Code of Conduct 2 | 3 | This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/). 4 | 5 | Resources: 6 | 7 | - [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/) 8 | - [Microsoft Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) 9 | - Contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with questions or concerns 10 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) Microsoft Corporation. 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # customvision-tfjs 2 | NPM package for TensorFlow.js models exported from Custom Vision Service 3 | 4 | This package is for web browsers. If you are looking for a library to run on Node.js environment, please use [customvision-tfjs-node](https://github.com/microsoft/customvision-tfjs-node). 5 | 6 | ## Install 7 | ```sh 8 | npm install @microsoft/customvision-tfjs 9 | ``` 10 | 11 | Or, if you would like to use CDN, 12 | 13 | ```html 14 | 15 | 16 | ``` 17 | 18 | ## Usage 19 | 20 | ```html 21 | 22 | ``` 23 | 24 | ### Classification 25 | ```js 26 | import * as cvstfjs from '@microsoft/customvision-tfjs'; 27 | 28 | let model = new cvstfjs.ClassificationModel(); 29 | await model.loadModelAsync('model.json'); 30 | const image = document.getElementById('image'); 31 | const result = await model.executeAsync(image); 32 | ``` 33 | 34 | The result is a 1D-array of probabilities. 35 | 36 | ### Object Detection 37 | ```js 38 | import * as cvstfjs from '@microsoft/customvision-tfjs'; 39 | 40 | let model = new cvstfjs.ObjectDetectionModel(); 41 | await model.loadModelAsync('model.json'); 42 | const image = document.getElementById('image'); 43 | const result = await model.executeAsync(image); 44 | ``` 45 | 46 | The result has 3 arrays. 47 | ```js 48 | 49 | [ 50 | [[0.1, 0.3, 0.4, 0.3], [0.2, 0.4, 0.8, 0.9]], // bounding boxes (x1, y1, x2, y2) 51 | [0.2, 0.3], // probabilities 52 | [1, 4] // class ids 53 | ] 54 | ``` 55 | 56 | # References 57 | * [sample scripts](https://github.com/Azure-Samples/customvision-export-samples) 58 | 59 | # Contributing 60 | 61 | This project welcomes contributions and suggestions. Most contributions require you to agree to a 62 | Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us 63 | the rights to use your contribution. For details, visit https://cla.opensource.microsoft.com. 64 | 65 | When you submit a pull request, a CLA bot will automatically determine whether you need to provide 66 | a CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions 67 | provided by the bot. You will only need to do this once across all repos using our CLA. 68 | 69 | This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/). 70 | For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or 71 | contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with any additional questions or comments. 72 | -------------------------------------------------------------------------------- /SECURITY.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | ## Security 4 | 5 | Microsoft takes the security of our software products and services seriously, which includes all source code repositories managed through our GitHub organizations, which include [Microsoft](https://github.com/Microsoft), [Azure](https://github.com/Azure), [DotNet](https://github.com/dotnet), [AspNet](https://github.com/aspnet), [Xamarin](https://github.com/xamarin), and [our GitHub organizations](https://opensource.microsoft.com/). 6 | 7 | If you believe you have found a security vulnerability in any Microsoft-owned repository that meets Microsoft's [Microsoft's definition of a security vulnerability](https://docs.microsoft.com/en-us/previous-versions/tn-archive/cc751383(v=technet.10)) of a security vulnerability, please report it to us as described below. 8 | 9 | ## Reporting Security Issues 10 | 11 | **Please do not report security vulnerabilities through public GitHub issues.** 12 | 13 | Instead, please report them to the Microsoft Security Response Center (MSRC) at [https://msrc.microsoft.com/create-report](https://msrc.microsoft.com/create-report). 14 | 15 | If you prefer to submit without logging in, send email to [secure@microsoft.com](mailto:secure@microsoft.com). If possible, encrypt your message with our PGP key; please download it from the the [Microsoft Security Response Center PGP Key page](https://www.microsoft.com/en-us/msrc/pgp-key-msrc). 16 | 17 | You should receive a response within 24 hours. If for some reason you do not, please follow up via email to ensure we received your original message. Additional information can be found at [microsoft.com/msrc](https://www.microsoft.com/msrc). 18 | 19 | Please include the requested information listed below (as much as you can provide) to help us better understand the nature and scope of the possible issue: 20 | 21 | * Type of issue (e.g. buffer overflow, SQL injection, cross-site scripting, etc.) 22 | * Full paths of source file(s) related to the manifestation of the issue 23 | * The location of the affected source code (tag/branch/commit or direct URL) 24 | * Any special configuration required to reproduce the issue 25 | * Step-by-step instructions to reproduce the issue 26 | * Proof-of-concept or exploit code (if possible) 27 | * Impact of the issue, including how an attacker might exploit the issue 28 | 29 | This information will help us triage your report more quickly. 30 | 31 | If you are reporting for a bug bounty, more complete reports can contribute to a higher bounty award. Please visit our [Microsoft Bug Bounty Program](https://microsoft.com/msrc/bounty) page for more details about our active programs. 32 | 33 | ## Preferred Languages 34 | 35 | We prefer all communications to be in English. 36 | 37 | ## Policy 38 | 39 | Microsoft follows the principle of [Coordinated Vulnerability Disclosure](https://www.microsoft.com/en-us/msrc/cvd). 40 | 41 | 42 | -------------------------------------------------------------------------------- /lib/index.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | 3 | var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); 4 | 5 | var _typeof = require("@babel/runtime/helpers/typeof"); 6 | 7 | Object.defineProperty(exports, "__esModule", { 8 | value: true 9 | }); 10 | exports.ObjectDetectionModel = exports.ClassificationModel = void 0; 11 | 12 | var _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator")); 13 | 14 | var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray")); 15 | 16 | var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits")); 17 | 18 | var _possibleConstructorReturn2 = _interopRequireDefault(require("@babel/runtime/helpers/possibleConstructorReturn")); 19 | 20 | var _getPrototypeOf2 = _interopRequireDefault(require("@babel/runtime/helpers/getPrototypeOf")); 21 | 22 | var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator")); 23 | 24 | var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck")); 25 | 26 | var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass")); 27 | 28 | var tf = _interopRequireWildcard(require("@tensorflow/tfjs")); 29 | 30 | function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); } 31 | 32 | function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; } 33 | 34 | function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2.default)(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2.default)(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2.default)(this, result); }; } 35 | 36 | function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } } 37 | 38 | var Model = /*#__PURE__*/function () { 39 | function Model() { 40 | (0, _classCallCheck2.default)(this, Model); 41 | this.NEW_OD_OUTPUT_TENSORS = ['detected_boxes', 'detected_scores', 'detected_classes']; 42 | } 43 | 44 | (0, _createClass2.default)(Model, [{ 45 | key: "loadModelAsync", 46 | value: function () { 47 | var _loadModelAsync = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee(modelUrl) { 48 | var options, 49 | _args = arguments; 50 | return _regenerator.default.wrap(function _callee$(_context) { 51 | while (1) { 52 | switch (_context.prev = _context.next) { 53 | case 0: 54 | options = _args.length > 1 && _args[1] !== undefined ? _args[1] : null; 55 | _context.next = 3; 56 | return tf.loadGraphModel(modelUrl, options); 57 | 58 | case 3: 59 | this.model = _context.sent; 60 | this.input_size = this.model.inputs[0].shape[1]; 61 | this.is_new_od_model = this.model.outputs.length == 3; 62 | this.is_rgb_input = this.model.metadata && this.model.metadata['Image.BitmapPixelFormat'] == 'Rgb8' || this.is_new_od_model; 63 | 64 | case 7: 65 | case "end": 66 | return _context.stop(); 67 | } 68 | } 69 | }, _callee, this); 70 | })); 71 | 72 | function loadModelAsync(_x) { 73 | return _loadModelAsync.apply(this, arguments); 74 | } 75 | 76 | return loadModelAsync; 77 | }() 78 | }, { 79 | key: "dispose", 80 | value: function dispose() { 81 | this.model.dispose(); 82 | } 83 | }, { 84 | key: "executeAsync", 85 | value: function () { 86 | var _executeAsync = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee2(pixels) { 87 | var _this = this; 88 | 89 | var inputs, outputs, arrays; 90 | return _regenerator.default.wrap(function _callee2$(_context2) { 91 | while (1) { 92 | switch (_context2.prev = _context2.next) { 93 | case 0: 94 | inputs = tf.tidy(function () { 95 | return pixels instanceof tf.Tensor ? pixels : _this._preprocess(tf.browser.fromPixels(pixels, 3)); 96 | }); 97 | _context2.next = 3; 98 | return this.model.executeAsync(inputs, this.is_new_od_model ? this.NEW_OD_OUTPUT_TENSORS : null); 99 | 100 | case 3: 101 | outputs = _context2.sent; 102 | tf.dispose(inputs); 103 | _context2.next = 7; 104 | return !Array.isArray(outputs) ? outputs.array() : Promise.all(outputs.map(function (t) { 105 | return t.array(); 106 | })); 107 | 108 | case 7: 109 | arrays = _context2.sent; 110 | tf.dispose(outputs); 111 | return _context2.abrupt("return", this._postprocess(arrays)); 112 | 113 | case 10: 114 | case "end": 115 | return _context2.stop(); 116 | } 117 | } 118 | }, _callee2, this); 119 | })); 120 | 121 | function executeAsync(_x2) { 122 | return _executeAsync.apply(this, arguments); 123 | } 124 | 125 | return executeAsync; 126 | }() 127 | }, { 128 | key: "_postprocess", 129 | value: function () { 130 | var _postprocess2 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee3(outputs) { 131 | return _regenerator.default.wrap(function _callee3$(_context3) { 132 | while (1) { 133 | switch (_context3.prev = _context3.next) { 134 | case 0: 135 | return _context3.abrupt("return", outputs); 136 | 137 | case 1: 138 | case "end": 139 | return _context3.stop(); 140 | } 141 | } 142 | }, _callee3); 143 | })); 144 | 145 | function _postprocess(_x3) { 146 | return _postprocess2.apply(this, arguments); 147 | } 148 | 149 | return _postprocess; 150 | }() 151 | }]); 152 | return Model; 153 | }(); 154 | 155 | var ObjectDetectionModel = /*#__PURE__*/function (_Model) { 156 | (0, _inherits2.default)(ObjectDetectionModel, _Model); 157 | 158 | var _super = _createSuper(ObjectDetectionModel); 159 | 160 | function ObjectDetectionModel() { 161 | var _this2; 162 | 163 | (0, _classCallCheck2.default)(this, ObjectDetectionModel); 164 | _this2 = _super.call(this); 165 | _this2.ANCHORS = [0.573, 0.677, 1.87, 2.06, 3.34, 5.47, 7.88, 3.53, 9.77, 9.17]; 166 | return _this2; 167 | } 168 | 169 | (0, _createClass2.default)(ObjectDetectionModel, [{ 170 | key: "_preprocess", 171 | value: function _preprocess(image) { 172 | var rgb_image = tf.image.resizeBilinear(image.expandDims().toFloat(), [this.input_size, this.input_size]); 173 | return this.is_rgb_input ? rgb_image : rgb_image.reverse(-1); // RGB->BGR for old models 174 | } 175 | }, { 176 | key: "_postprocess", 177 | value: function () { 178 | var _postprocess3 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee4(outputs) { 179 | var _this3 = this; 180 | 181 | var _tf$tidy, _tf$tidy2, boxes, scores, classes, selected_indices, tensor_results, results; 182 | 183 | return _regenerator.default.wrap(function _callee4$(_context4) { 184 | while (1) { 185 | switch (_context4.prev = _context4.next) { 186 | case 0: 187 | if (!(outputs.length == 3)) { 188 | _context4.next = 2; 189 | break; 190 | } 191 | 192 | return _context4.abrupt("return", outputs); 193 | 194 | case 2: 195 | _tf$tidy = tf.tidy(function () { 196 | // TODO: Need more efficient implmentation 197 | var num_anchor = _this3.ANCHORS.length / 2; 198 | var channels = outputs[0][0][0].length; 199 | var height = outputs[0].length; 200 | var width = outputs[0][0].length; 201 | var num_class = channels / num_anchor - 5; 202 | var boxes = []; 203 | var scores = []; 204 | var classes = []; 205 | 206 | for (var grid_y = 0; grid_y < height; grid_y++) { 207 | for (var grid_x = 0; grid_x < width; grid_x++) { 208 | var offset = 0; 209 | 210 | for (var i = 0; i < num_anchor; i++) { 211 | var x = (_this3._logistic(outputs[0][grid_y][grid_x][offset++]) + grid_x) / width; 212 | var y = (_this3._logistic(outputs[0][grid_y][grid_x][offset++]) + grid_y) / height; 213 | var w = Math.exp(outputs[0][grid_y][grid_x][offset++]) * _this3.ANCHORS[i * 2] / width; 214 | var h = Math.exp(outputs[0][grid_y][grid_x][offset++]) * _this3.ANCHORS[i * 2 + 1] / height; 215 | var objectness = tf.scalar(_this3._logistic(outputs[0][grid_y][grid_x][offset++])); 216 | var class_probabilities = tf.tensor1d(outputs[0][grid_y][grid_x].slice(offset, offset + num_class)).softmax(); 217 | offset += num_class; 218 | class_probabilities = class_probabilities.mul(objectness); 219 | var max_index = class_probabilities.argMax(); 220 | boxes.push([x - w / 2, y - h / 2, x + w / 2, y + h / 2]); 221 | scores.push(class_probabilities.max().dataSync()[0]); 222 | classes.push(max_index.dataSync()[0]); 223 | } 224 | } 225 | } 226 | 227 | boxes = tf.tensor2d(boxes); 228 | scores = tf.tensor1d(scores); 229 | classes = tf.tensor1d(classes); 230 | return [boxes, scores, classes]; 231 | }), _tf$tidy2 = (0, _slicedToArray2.default)(_tf$tidy, 3), boxes = _tf$tidy2[0], scores = _tf$tidy2[1], classes = _tf$tidy2[2]; 232 | _context4.next = 5; 233 | return tf.image.nonMaxSuppressionAsync(boxes, scores, 10); 234 | 235 | case 5: 236 | selected_indices = _context4.sent; 237 | tensor_results = [boxes.gather(selected_indices), scores.gather(selected_indices), classes.gather(selected_indices)]; 238 | _context4.next = 9; 239 | return tensor_results[0].array(); 240 | 241 | case 9: 242 | _context4.t0 = _context4.sent; 243 | _context4.next = 12; 244 | return tensor_results[1].array(); 245 | 246 | case 12: 247 | _context4.t1 = _context4.sent; 248 | _context4.next = 15; 249 | return tensor_results[2].array(); 250 | 251 | case 15: 252 | _context4.t2 = _context4.sent; 253 | results = [_context4.t0, _context4.t1, _context4.t2]; 254 | tf.dispose([boxes, scores, classes]); 255 | tf.dispose(selected_indices); 256 | tf.dispose(tensor_results); 257 | return _context4.abrupt("return", results); 258 | 259 | case 21: 260 | case "end": 261 | return _context4.stop(); 262 | } 263 | } 264 | }, _callee4); 265 | })); 266 | 267 | function _postprocess(_x4) { 268 | return _postprocess3.apply(this, arguments); 269 | } 270 | 271 | return _postprocess; 272 | }() 273 | }, { 274 | key: "_logistic", 275 | value: function _logistic(x) { 276 | if (x > 0) { 277 | return 1 / (1 + Math.exp(-x)); 278 | } else { 279 | var e = Math.exp(x); 280 | return e / (1 + e); 281 | } 282 | } 283 | }]); 284 | return ObjectDetectionModel; 285 | }(Model); 286 | 287 | exports.ObjectDetectionModel = ObjectDetectionModel; 288 | 289 | var ClassificationModel = /*#__PURE__*/function (_Model2) { 290 | (0, _inherits2.default)(ClassificationModel, _Model2); 291 | 292 | var _super2 = _createSuper(ClassificationModel); 293 | 294 | function ClassificationModel() { 295 | (0, _classCallCheck2.default)(this, ClassificationModel); 296 | return _super2.apply(this, arguments); 297 | } 298 | 299 | (0, _createClass2.default)(ClassificationModel, [{ 300 | key: "_preprocess", 301 | value: function _preprocess(image) { 302 | // CenterCrop 303 | var _image$shape$slice = image.shape.slice(0, 2), 304 | _image$shape$slice2 = (0, _slicedToArray2.default)(_image$shape$slice, 2), 305 | h = _image$shape$slice2[0], 306 | w = _image$shape$slice2[1]; 307 | 308 | var top = h > w ? (h - w) / 2 : 0; 309 | var left = h > w ? 0 : (w - h) / 2; 310 | var size = Math.min(h, w); 311 | var rgb_image = tf.image.cropAndResize(image.expandDims().toFloat(), [[top / h, left / w, (top + size) / h, (left + size) / w]], [0], [this.input_size, this.input_size]); 312 | return this.is_rgb_input ? rgb_image : rgb_image.reverse(-1); // RGB->BGR for old models 313 | } 314 | }]); 315 | return ClassificationModel; 316 | }(Model); 317 | 318 | exports.ClassificationModel = ClassificationModel; -------------------------------------------------------------------------------- /lib/index.umd.js: -------------------------------------------------------------------------------- 1 | (function (global, factory) { 2 | typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@tensorflow/tfjs')) : 3 | typeof define === 'function' && define.amd ? define(['exports', '@tensorflow/tfjs'], factory) : 4 | (global = global || self, factory(global.cvstfjs = {}, global.tf)); 5 | }(this, (function (exports, tf) { 'use strict'; 6 | 7 | class Model { 8 | constructor() { 9 | this.NEW_OD_OUTPUT_TENSORS = ['detected_boxes', 'detected_scores', 'detected_classes']; 10 | } 11 | 12 | async loadModelAsync(modelUrl, options = null) { 13 | this.model = await tf.loadGraphModel(modelUrl, options); 14 | this.input_size = this.model.inputs[0].shape[1]; 15 | this.is_new_od_model = this.model.outputs.length == 3; 16 | this.is_rgb_input = (this.model.metadata && this.model.metadata['Image.BitmapPixelFormat'] == 'Rgb8') || this.is_new_od_model; 17 | } 18 | 19 | dispose() { 20 | this.model.dispose(); 21 | } 22 | 23 | async executeAsync(pixels) { 24 | const inputs = tf.tidy(() => { return pixels instanceof tf.Tensor ? pixels : this._preprocess(tf.browser.fromPixels(pixels, 3)); }); 25 | const outputs = await this.model.executeAsync(inputs, this.is_new_od_model ? this.NEW_OD_OUTPUT_TENSORS : null); 26 | tf.dispose(inputs); 27 | const arrays = await (!Array.isArray(outputs) ? outputs.array() : Promise.all(outputs.map(t => t.array()))); 28 | tf.dispose(outputs); 29 | return this._postprocess(arrays); 30 | } 31 | 32 | async _postprocess(outputs) { 33 | return outputs; 34 | } 35 | } 36 | 37 | class ObjectDetectionModel extends Model { 38 | constructor() { 39 | super(); 40 | this.ANCHORS = [0.573, 0.677, 1.87, 2.06, 3.34, 5.47, 7.88, 3.53, 9.77, 9.17]; 41 | } 42 | 43 | _preprocess(image) { 44 | const rgb_image = tf.image.resizeBilinear(image.expandDims().toFloat(), [this.input_size, this.input_size]); 45 | return this.is_rgb_input ? rgb_image : rgb_image.reverse(-1); // RGB->BGR for old models 46 | } 47 | 48 | async _postprocess(outputs) { 49 | if (outputs.length == 3) { 50 | return outputs; // New model doesn't need post processing. 51 | } 52 | 53 | const [boxes, scores, classes] = tf.tidy(() => { 54 | // TODO: Need more efficient implmentation 55 | const num_anchor = this.ANCHORS.length / 2; 56 | const channels = outputs[0][0][0].length; 57 | const height = outputs[0].length; 58 | const width = outputs[0][0].length; 59 | 60 | const num_class = channels / num_anchor - 5; 61 | 62 | let boxes = []; 63 | let scores = []; 64 | let classes = []; 65 | 66 | for (var grid_y = 0; grid_y < height; grid_y++) { 67 | for (var grid_x = 0; grid_x < width; grid_x++) { 68 | let offset = 0; 69 | 70 | for (var i = 0; i < num_anchor; i++) { 71 | let x = (this._logistic(outputs[0][grid_y][grid_x][offset++]) + grid_x) / width; 72 | let y = (this._logistic(outputs[0][grid_y][grid_x][offset++]) + grid_y) / height; 73 | let w = Math.exp(outputs[0][grid_y][grid_x][offset++]) * this.ANCHORS[i * 2] / width; 74 | let h = Math.exp(outputs[0][grid_y][grid_x][offset++]) * this.ANCHORS[i * 2 + 1] / height; 75 | 76 | let objectness = tf.scalar(this._logistic(outputs[0][grid_y][grid_x][offset++])); 77 | let class_probabilities = tf.tensor1d(outputs[0][grid_y][grid_x].slice(offset, offset + num_class)).softmax(); 78 | offset += num_class; 79 | 80 | class_probabilities = class_probabilities.mul(objectness); 81 | let max_index = class_probabilities.argMax(); 82 | boxes.push([x - w / 2, y - h / 2, x + w / 2, y + h / 2]); 83 | scores.push(class_probabilities.max().dataSync()[0]); 84 | classes.push(max_index.dataSync()[0]); 85 | } 86 | } 87 | } 88 | boxes = tf.tensor2d(boxes); 89 | scores = tf.tensor1d(scores); 90 | classes = tf.tensor1d(classes); 91 | 92 | return [boxes, scores, classes]; 93 | }); 94 | 95 | const selected_indices = await tf.image.nonMaxSuppressionAsync(boxes, scores, 10); 96 | const tensor_results = [boxes.gather(selected_indices), scores.gather(selected_indices), classes.gather(selected_indices)]; 97 | const results = [await tensor_results[0].array(), await tensor_results[1].array(), await tensor_results[2].array()]; 98 | tf.dispose([boxes, scores, classes]); 99 | tf.dispose(selected_indices); 100 | tf.dispose(tensor_results); 101 | return results; 102 | } 103 | 104 | _logistic(x) { 105 | if (x > 0) { 106 | return (1 / (1 + Math.exp(-x))); 107 | } else { 108 | const e = Math.exp(x); 109 | return e / (1 + e); 110 | } 111 | } 112 | } 113 | 114 | class ClassificationModel extends Model { 115 | _preprocess(image) { 116 | // CenterCrop 117 | const [h, w] = image.shape.slice(0, 2); 118 | const top = h > w ? (h - w) / 2 : 0; 119 | const left = h > w ? 0 : (w - h) / 2; 120 | const size = Math.min(h, w); 121 | const rgb_image = tf.image.cropAndResize(image.expandDims().toFloat(), [[top / h, left / w, (top+size) / h, (left+size) / w]], [0], [this.input_size, this.input_size]); 122 | 123 | return this.is_rgb_input ? rgb_image : rgb_image.reverse(-1); // RGB->BGR for old models 124 | } 125 | } 126 | 127 | exports.ClassificationModel = ClassificationModel; 128 | exports.ObjectDetectionModel = ObjectDetectionModel; 129 | 130 | Object.defineProperty(exports, '__esModule', { value: true }); 131 | 132 | }))); 133 | -------------------------------------------------------------------------------- /package-lock.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@microsoft/customvision-tfjs", 3 | "version": "1.3.0", 4 | "lockfileVersion": 1, 5 | "requires": true, 6 | "dependencies": { 7 | "@babel/cli": { 8 | "version": "7.16.0", 9 | "resolved": "https://registry.npmjs.org/@babel/cli/-/cli-7.16.0.tgz", 10 | "integrity": "sha512-WLrM42vKX/4atIoQB+eb0ovUof53UUvecb4qGjU2PDDWRiZr50ZpiV8NpcLo7iSxeGYrRG0Mqembsa+UrTAV6Q==", 11 | "dev": true, 12 | "requires": { 13 | "@nicolo-ribaudo/chokidar-2": "2.1.8-no-fsevents.3", 14 | "chokidar": "^3.4.0", 15 | "commander": "^4.0.1", 16 | "convert-source-map": "^1.1.0", 17 | "fs-readdir-recursive": "^1.1.0", 18 | "glob": "^7.0.0", 19 | "make-dir": "^2.1.0", 20 | "slash": "^2.0.0", 21 | "source-map": "^0.5.0" 22 | } 23 | }, 24 | "@babel/code-frame": { 25 | "version": "7.16.0", 26 | "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.16.0.tgz", 27 | "integrity": "sha512-IF4EOMEV+bfYwOmNxGzSnjR2EmQod7f1UXOpZM3l4i4o4QNwzjtJAu/HxdjHq0aYBvdqMuQEY1eg0nqW9ZPORA==", 28 | "dev": true, 29 | "requires": { 30 | "@babel/highlight": "^7.16.0" 31 | } 32 | }, 33 | "@babel/compat-data": { 34 | "version": "7.16.4", 35 | "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.16.4.tgz", 36 | "integrity": "sha512-1o/jo7D+kC9ZjHX5v+EHrdjl3PhxMrLSOTGsOdHJ+KL8HCaEK6ehrVL2RS6oHDZp+L7xLirLrPmQtEng769J/Q==", 37 | "dev": true 38 | }, 39 | "@babel/core": { 40 | "version": "7.16.5", 41 | "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.16.5.tgz", 42 | "integrity": "sha512-wUcenlLzuWMZ9Zt8S0KmFwGlH6QKRh3vsm/dhDA3CHkiTA45YuG1XkHRcNRl73EFPXDp/d5kVOU0/y7x2w6OaQ==", 43 | "dev": true, 44 | "requires": { 45 | "@babel/code-frame": "^7.16.0", 46 | "@babel/generator": "^7.16.5", 47 | "@babel/helper-compilation-targets": "^7.16.3", 48 | "@babel/helper-module-transforms": "^7.16.5", 49 | "@babel/helpers": "^7.16.5", 50 | "@babel/parser": "^7.16.5", 51 | "@babel/template": "^7.16.0", 52 | "@babel/traverse": "^7.16.5", 53 | "@babel/types": "^7.16.0", 54 | "convert-source-map": "^1.7.0", 55 | "debug": "^4.1.0", 56 | "gensync": "^1.0.0-beta.2", 57 | "json5": "^2.1.2", 58 | "semver": "^6.3.0", 59 | "source-map": "^0.5.0" 60 | }, 61 | "dependencies": { 62 | "semver": { 63 | "version": "6.3.0", 64 | "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", 65 | "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", 66 | "dev": true 67 | } 68 | } 69 | }, 70 | "@babel/generator": { 71 | "version": "7.16.5", 72 | "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.16.5.tgz", 73 | "integrity": "sha512-kIvCdjZqcdKqoDbVVdt5R99icaRtrtYhYK/xux5qiWCBmfdvEYMFZ68QCrpE5cbFM1JsuArUNs1ZkuKtTtUcZA==", 74 | "dev": true, 75 | "requires": { 76 | "@babel/types": "^7.16.0", 77 | "jsesc": "^2.5.1", 78 | "source-map": "^0.5.0" 79 | } 80 | }, 81 | "@babel/helper-annotate-as-pure": { 82 | "version": "7.16.0", 83 | "resolved": "https://registry.npmjs.org/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.16.0.tgz", 84 | "integrity": "sha512-ItmYF9vR4zA8cByDocY05o0LGUkp1zhbTQOH1NFyl5xXEqlTJQCEJjieriw+aFpxo16swMxUnUiKS7a/r4vtHg==", 85 | "dev": true, 86 | "requires": { 87 | "@babel/types": "^7.16.0" 88 | } 89 | }, 90 | "@babel/helper-builder-binary-assignment-operator-visitor": { 91 | "version": "7.16.5", 92 | "resolved": "https://registry.npmjs.org/@babel/helper-builder-binary-assignment-operator-visitor/-/helper-builder-binary-assignment-operator-visitor-7.16.5.tgz", 93 | "integrity": "sha512-3JEA9G5dmmnIWdzaT9d0NmFRgYnWUThLsDaL7982H0XqqWr56lRrsmwheXFMjR+TMl7QMBb6mzy9kvgr1lRLUA==", 94 | "dev": true, 95 | "requires": { 96 | "@babel/helper-explode-assignable-expression": "^7.16.0", 97 | "@babel/types": "^7.16.0" 98 | } 99 | }, 100 | "@babel/helper-compilation-targets": { 101 | "version": "7.16.3", 102 | "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.16.3.tgz", 103 | "integrity": "sha512-vKsoSQAyBmxS35JUOOt+07cLc6Nk/2ljLIHwmq2/NM6hdioUaqEXq/S+nXvbvXbZkNDlWOymPanJGOc4CBjSJA==", 104 | "dev": true, 105 | "requires": { 106 | "@babel/compat-data": "^7.16.0", 107 | "@babel/helper-validator-option": "^7.14.5", 108 | "browserslist": "^4.17.5", 109 | "semver": "^6.3.0" 110 | }, 111 | "dependencies": { 112 | "semver": { 113 | "version": "6.3.0", 114 | "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", 115 | "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", 116 | "dev": true 117 | } 118 | } 119 | }, 120 | "@babel/helper-create-class-features-plugin": { 121 | "version": "7.16.5", 122 | "resolved": "https://registry.npmjs.org/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.16.5.tgz", 123 | "integrity": "sha512-NEohnYA7mkB8L5JhU7BLwcBdU3j83IziR9aseMueWGeAjblbul3zzb8UvJ3a1zuBiqCMObzCJHFqKIQE6hTVmg==", 124 | "dev": true, 125 | "requires": { 126 | "@babel/helper-annotate-as-pure": "^7.16.0", 127 | "@babel/helper-environment-visitor": "^7.16.5", 128 | "@babel/helper-function-name": "^7.16.0", 129 | "@babel/helper-member-expression-to-functions": "^7.16.5", 130 | "@babel/helper-optimise-call-expression": "^7.16.0", 131 | "@babel/helper-replace-supers": "^7.16.5", 132 | "@babel/helper-split-export-declaration": "^7.16.0" 133 | } 134 | }, 135 | "@babel/helper-create-regexp-features-plugin": { 136 | "version": "7.16.0", 137 | "resolved": "https://registry.npmjs.org/@babel/helper-create-regexp-features-plugin/-/helper-create-regexp-features-plugin-7.16.0.tgz", 138 | "integrity": "sha512-3DyG0zAFAZKcOp7aVr33ddwkxJ0Z0Jr5V99y3I690eYLpukJsJvAbzTy1ewoCqsML8SbIrjH14Jc/nSQ4TvNPA==", 139 | "dev": true, 140 | "requires": { 141 | "@babel/helper-annotate-as-pure": "^7.16.0", 142 | "regexpu-core": "^4.7.1" 143 | } 144 | }, 145 | "@babel/helper-define-polyfill-provider": { 146 | "version": "0.3.0", 147 | "resolved": "https://registry.npmjs.org/@babel/helper-define-polyfill-provider/-/helper-define-polyfill-provider-0.3.0.tgz", 148 | "integrity": "sha512-7hfT8lUljl/tM3h+izTX/pO3W3frz2ok6Pk+gzys8iJqDfZrZy2pXjRTZAvG2YmfHun1X4q8/UZRLatMfqc5Tg==", 149 | "dev": true, 150 | "requires": { 151 | "@babel/helper-compilation-targets": "^7.13.0", 152 | "@babel/helper-module-imports": "^7.12.13", 153 | "@babel/helper-plugin-utils": "^7.13.0", 154 | "@babel/traverse": "^7.13.0", 155 | "debug": "^4.1.1", 156 | "lodash.debounce": "^4.0.8", 157 | "resolve": "^1.14.2", 158 | "semver": "^6.1.2" 159 | }, 160 | "dependencies": { 161 | "semver": { 162 | "version": "6.3.0", 163 | "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", 164 | "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", 165 | "dev": true 166 | } 167 | } 168 | }, 169 | "@babel/helper-environment-visitor": { 170 | "version": "7.16.5", 171 | "resolved": "https://registry.npmjs.org/@babel/helper-environment-visitor/-/helper-environment-visitor-7.16.5.tgz", 172 | "integrity": "sha512-ODQyc5AnxmZWm/R2W7fzhamOk1ey8gSguo5SGvF0zcB3uUzRpTRmM/jmLSm9bDMyPlvbyJ+PwPEK0BWIoZ9wjg==", 173 | "dev": true, 174 | "requires": { 175 | "@babel/types": "^7.16.0" 176 | } 177 | }, 178 | "@babel/helper-explode-assignable-expression": { 179 | "version": "7.16.0", 180 | "resolved": "https://registry.npmjs.org/@babel/helper-explode-assignable-expression/-/helper-explode-assignable-expression-7.16.0.tgz", 181 | "integrity": "sha512-Hk2SLxC9ZbcOhLpg/yMznzJ11W++lg5GMbxt1ev6TXUiJB0N42KPC+7w8a+eWGuqDnUYuwStJoZHM7RgmIOaGQ==", 182 | "dev": true, 183 | "requires": { 184 | "@babel/types": "^7.16.0" 185 | } 186 | }, 187 | "@babel/helper-function-name": { 188 | "version": "7.16.0", 189 | "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.16.0.tgz", 190 | "integrity": "sha512-BZh4mEk1xi2h4HFjWUXRQX5AEx4rvaZxHgax9gcjdLWdkjsY7MKt5p0otjsg5noXw+pB+clMCjw+aEVYADMjog==", 191 | "dev": true, 192 | "requires": { 193 | "@babel/helper-get-function-arity": "^7.16.0", 194 | "@babel/template": "^7.16.0", 195 | "@babel/types": "^7.16.0" 196 | } 197 | }, 198 | "@babel/helper-get-function-arity": { 199 | "version": "7.16.0", 200 | "resolved": "https://registry.npmjs.org/@babel/helper-get-function-arity/-/helper-get-function-arity-7.16.0.tgz", 201 | "integrity": "sha512-ASCquNcywC1NkYh/z7Cgp3w31YW8aojjYIlNg4VeJiHkqyP4AzIvr4qx7pYDb4/s8YcsZWqqOSxgkvjUz1kpDQ==", 202 | "dev": true, 203 | "requires": { 204 | "@babel/types": "^7.16.0" 205 | } 206 | }, 207 | "@babel/helper-hoist-variables": { 208 | "version": "7.16.0", 209 | "resolved": "https://registry.npmjs.org/@babel/helper-hoist-variables/-/helper-hoist-variables-7.16.0.tgz", 210 | "integrity": "sha512-1AZlpazjUR0EQZQv3sgRNfM9mEVWPK3M6vlalczA+EECcPz3XPh6VplbErL5UoMpChhSck5wAJHthlj1bYpcmg==", 211 | "dev": true, 212 | "requires": { 213 | "@babel/types": "^7.16.0" 214 | } 215 | }, 216 | "@babel/helper-member-expression-to-functions": { 217 | "version": "7.16.5", 218 | "resolved": "https://registry.npmjs.org/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.16.5.tgz", 219 | "integrity": "sha512-7fecSXq7ZrLE+TWshbGT+HyCLkxloWNhTbU2QM1NTI/tDqyf0oZiMcEfYtDuUDCo528EOlt39G1rftea4bRZIw==", 220 | "dev": true, 221 | "requires": { 222 | "@babel/types": "^7.16.0" 223 | } 224 | }, 225 | "@babel/helper-module-imports": { 226 | "version": "7.16.0", 227 | "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.16.0.tgz", 228 | "integrity": "sha512-kkH7sWzKPq0xt3H1n+ghb4xEMP8k0U7XV3kkB+ZGy69kDk2ySFW1qPi06sjKzFY3t1j6XbJSqr4mF9L7CYVyhg==", 229 | "dev": true, 230 | "requires": { 231 | "@babel/types": "^7.16.0" 232 | } 233 | }, 234 | "@babel/helper-module-transforms": { 235 | "version": "7.16.5", 236 | "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.16.5.tgz", 237 | "integrity": "sha512-CkvMxgV4ZyyioElFwcuWnDCcNIeyqTkCm9BxXZi73RR1ozqlpboqsbGUNvRTflgZtFbbJ1v5Emvm+lkjMYY/LQ==", 238 | "dev": true, 239 | "requires": { 240 | "@babel/helper-environment-visitor": "^7.16.5", 241 | "@babel/helper-module-imports": "^7.16.0", 242 | "@babel/helper-simple-access": "^7.16.0", 243 | "@babel/helper-split-export-declaration": "^7.16.0", 244 | "@babel/helper-validator-identifier": "^7.15.7", 245 | "@babel/template": "^7.16.0", 246 | "@babel/traverse": "^7.16.5", 247 | "@babel/types": "^7.16.0" 248 | } 249 | }, 250 | "@babel/helper-optimise-call-expression": { 251 | "version": "7.16.0", 252 | "resolved": "https://registry.npmjs.org/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.16.0.tgz", 253 | "integrity": "sha512-SuI467Gi2V8fkofm2JPnZzB/SUuXoJA5zXe/xzyPP2M04686RzFKFHPK6HDVN6JvWBIEW8tt9hPR7fXdn2Lgpw==", 254 | "dev": true, 255 | "requires": { 256 | "@babel/types": "^7.16.0" 257 | } 258 | }, 259 | "@babel/helper-plugin-utils": { 260 | "version": "7.16.5", 261 | "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.16.5.tgz", 262 | "integrity": "sha512-59KHWHXxVA9K4HNF4sbHCf+eJeFe0Te/ZFGqBT4OjXhrwvA04sGfaEGsVTdsjoszq0YTP49RC9UKe5g8uN2RwQ==", 263 | "dev": true 264 | }, 265 | "@babel/helper-remap-async-to-generator": { 266 | "version": "7.16.5", 267 | "resolved": "https://registry.npmjs.org/@babel/helper-remap-async-to-generator/-/helper-remap-async-to-generator-7.16.5.tgz", 268 | "integrity": "sha512-X+aAJldyxrOmN9v3FKp+Hu1NO69VWgYgDGq6YDykwRPzxs5f2N+X988CBXS7EQahDU+Vpet5QYMqLk+nsp+Qxw==", 269 | "dev": true, 270 | "requires": { 271 | "@babel/helper-annotate-as-pure": "^7.16.0", 272 | "@babel/helper-wrap-function": "^7.16.5", 273 | "@babel/types": "^7.16.0" 274 | } 275 | }, 276 | "@babel/helper-replace-supers": { 277 | "version": "7.16.5", 278 | "resolved": "https://registry.npmjs.org/@babel/helper-replace-supers/-/helper-replace-supers-7.16.5.tgz", 279 | "integrity": "sha512-ao3seGVa/FZCMCCNDuBcqnBFSbdr8N2EW35mzojx3TwfIbdPmNK+JV6+2d5bR0Z71W5ocLnQp9en/cTF7pBJiQ==", 280 | "dev": true, 281 | "requires": { 282 | "@babel/helper-environment-visitor": "^7.16.5", 283 | "@babel/helper-member-expression-to-functions": "^7.16.5", 284 | "@babel/helper-optimise-call-expression": "^7.16.0", 285 | "@babel/traverse": "^7.16.5", 286 | "@babel/types": "^7.16.0" 287 | } 288 | }, 289 | "@babel/helper-simple-access": { 290 | "version": "7.16.0", 291 | "resolved": "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.16.0.tgz", 292 | "integrity": "sha512-o1rjBT/gppAqKsYfUdfHq5Rk03lMQrkPHG1OWzHWpLgVXRH4HnMM9Et9CVdIqwkCQlobnGHEJMsgWP/jE1zUiw==", 293 | "dev": true, 294 | "requires": { 295 | "@babel/types": "^7.16.0" 296 | } 297 | }, 298 | "@babel/helper-skip-transparent-expression-wrappers": { 299 | "version": "7.16.0", 300 | "resolved": "https://registry.npmjs.org/@babel/helper-skip-transparent-expression-wrappers/-/helper-skip-transparent-expression-wrappers-7.16.0.tgz", 301 | "integrity": "sha512-+il1gTy0oHwUsBQZyJvukbB4vPMdcYBrFHa0Uc4AizLxbq6BOYC51Rv4tWocX9BLBDLZ4kc6qUFpQ6HRgL+3zw==", 302 | "dev": true, 303 | "requires": { 304 | "@babel/types": "^7.16.0" 305 | } 306 | }, 307 | "@babel/helper-split-export-declaration": { 308 | "version": "7.16.0", 309 | "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.16.0.tgz", 310 | "integrity": "sha512-0YMMRpuDFNGTHNRiiqJX19GjNXA4H0E8jZ2ibccfSxaCogbm3am5WN/2nQNj0YnQwGWM1J06GOcQ2qnh3+0paw==", 311 | "dev": true, 312 | "requires": { 313 | "@babel/types": "^7.16.0" 314 | } 315 | }, 316 | "@babel/helper-string-parser": { 317 | "version": "7.22.5", 318 | "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.22.5.tgz", 319 | "integrity": "sha512-mM4COjgZox8U+JcXQwPijIZLElkgEpO5rsERVDJTc2qfCDfERyob6k5WegS14SX18IIjv+XD+GrqNumY5JRCDw==", 320 | "dev": true 321 | }, 322 | "@babel/helper-validator-identifier": { 323 | "version": "7.15.7", 324 | "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.15.7.tgz", 325 | "integrity": "sha512-K4JvCtQqad9OY2+yTU8w+E82ywk/fe+ELNlt1G8z3bVGlZfn/hOcQQsUhGhW/N+tb3fxK800wLtKOE/aM0m72w==", 326 | "dev": true 327 | }, 328 | "@babel/helper-validator-option": { 329 | "version": "7.14.5", 330 | "resolved": "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.14.5.tgz", 331 | "integrity": "sha512-OX8D5eeX4XwcroVW45NMvoYaIuFI+GQpA2a8Gi+X/U/cDUIRsV37qQfF905F0htTRCREQIB4KqPeaveRJUl3Ow==", 332 | "dev": true 333 | }, 334 | "@babel/helper-wrap-function": { 335 | "version": "7.16.5", 336 | "resolved": "https://registry.npmjs.org/@babel/helper-wrap-function/-/helper-wrap-function-7.16.5.tgz", 337 | "integrity": "sha512-2J2pmLBqUqVdJw78U0KPNdeE2qeuIyKoG4mKV7wAq3mc4jJG282UgjZw4ZYDnqiWQuS3Y3IYdF/AQ6CpyBV3VA==", 338 | "dev": true, 339 | "requires": { 340 | "@babel/helper-function-name": "^7.16.0", 341 | "@babel/template": "^7.16.0", 342 | "@babel/traverse": "^7.16.5", 343 | "@babel/types": "^7.16.0" 344 | } 345 | }, 346 | "@babel/helpers": { 347 | "version": "7.16.5", 348 | "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.16.5.tgz", 349 | "integrity": "sha512-TLgi6Lh71vvMZGEkFuIxzaPsyeYCHQ5jJOOX1f0xXn0uciFuE8cEk0wyBquMcCxBXZ5BJhE2aUB7pnWTD150Tw==", 350 | "dev": true, 351 | "requires": { 352 | "@babel/template": "^7.16.0", 353 | "@babel/traverse": "^7.16.5", 354 | "@babel/types": "^7.16.0" 355 | } 356 | }, 357 | "@babel/highlight": { 358 | "version": "7.16.0", 359 | "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.16.0.tgz", 360 | "integrity": "sha512-t8MH41kUQylBtu2+4IQA3atqevA2lRgqA2wyVB/YiWmsDSuylZZuXOUy9ric30hfzauEFfdsuk/eXTRrGrfd0g==", 361 | "dev": true, 362 | "requires": { 363 | "@babel/helper-validator-identifier": "^7.15.7", 364 | "chalk": "^2.0.0", 365 | "js-tokens": "^4.0.0" 366 | } 367 | }, 368 | "@babel/parser": { 369 | "version": "7.16.6", 370 | "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.16.6.tgz", 371 | "integrity": "sha512-Gr86ujcNuPDnNOY8mi383Hvi8IYrJVJYuf3XcuBM/Dgd+bINn/7tHqsj+tKkoreMbmGsFLsltI/JJd8fOFWGDQ==", 372 | "dev": true 373 | }, 374 | "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression": { 375 | "version": "7.16.2", 376 | "resolved": "https://registry.npmjs.org/@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression/-/plugin-bugfix-safari-id-destructuring-collision-in-function-expression-7.16.2.tgz", 377 | "integrity": "sha512-h37CvpLSf8gb2lIJ2CgC3t+EjFbi0t8qS7LCS1xcJIlEXE4czlofwaW7W1HA8zpgOCzI9C1nmoqNR1zWkk0pQg==", 378 | "dev": true, 379 | "requires": { 380 | "@babel/helper-plugin-utils": "^7.14.5" 381 | } 382 | }, 383 | "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining": { 384 | "version": "7.16.0", 385 | "resolved": "https://registry.npmjs.org/@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining/-/plugin-bugfix-v8-spread-parameters-in-optional-chaining-7.16.0.tgz", 386 | "integrity": "sha512-4tcFwwicpWTrpl9qjf7UsoosaArgImF85AxqCRZlgc3IQDvkUHjJpruXAL58Wmj+T6fypWTC/BakfEkwIL/pwA==", 387 | "dev": true, 388 | "requires": { 389 | "@babel/helper-plugin-utils": "^7.14.5", 390 | "@babel/helper-skip-transparent-expression-wrappers": "^7.16.0", 391 | "@babel/plugin-proposal-optional-chaining": "^7.16.0" 392 | } 393 | }, 394 | "@babel/plugin-proposal-async-generator-functions": { 395 | "version": "7.16.5", 396 | "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-async-generator-functions/-/plugin-proposal-async-generator-functions-7.16.5.tgz", 397 | "integrity": "sha512-C/FX+3HNLV6sz7AqbTQqEo1L9/kfrKjxcVtgyBCmvIgOjvuBVUWooDoi7trsLxOzCEo5FccjRvKHkfDsJFZlfA==", 398 | "dev": true, 399 | "requires": { 400 | "@babel/helper-plugin-utils": "^7.16.5", 401 | "@babel/helper-remap-async-to-generator": "^7.16.5", 402 | "@babel/plugin-syntax-async-generators": "^7.8.4" 403 | } 404 | }, 405 | "@babel/plugin-proposal-class-properties": { 406 | "version": "7.16.5", 407 | "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-class-properties/-/plugin-proposal-class-properties-7.16.5.tgz", 408 | "integrity": "sha512-pJD3HjgRv83s5dv1sTnDbZOaTjghKEz8KUn1Kbh2eAIRhGuyQ1XSeI4xVXU3UlIEVA3DAyIdxqT1eRn7Wcn55A==", 409 | "dev": true, 410 | "requires": { 411 | "@babel/helper-create-class-features-plugin": "^7.16.5", 412 | "@babel/helper-plugin-utils": "^7.16.5" 413 | } 414 | }, 415 | "@babel/plugin-proposal-class-static-block": { 416 | "version": "7.16.5", 417 | "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-class-static-block/-/plugin-proposal-class-static-block-7.16.5.tgz", 418 | "integrity": "sha512-EEFzuLZcm/rNJ8Q5krK+FRKdVkd6FjfzT9tuSZql9sQn64K0hHA2KLJ0DqVot9/iV6+SsuadC5yI39zWnm+nmQ==", 419 | "dev": true, 420 | "requires": { 421 | "@babel/helper-create-class-features-plugin": "^7.16.5", 422 | "@babel/helper-plugin-utils": "^7.16.5", 423 | "@babel/plugin-syntax-class-static-block": "^7.14.5" 424 | } 425 | }, 426 | "@babel/plugin-proposal-dynamic-import": { 427 | "version": "7.16.5", 428 | "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-dynamic-import/-/plugin-proposal-dynamic-import-7.16.5.tgz", 429 | "integrity": "sha512-P05/SJZTTvHz79LNYTF8ff5xXge0kk5sIIWAypcWgX4BTRUgyHc8wRxJ/Hk+mU0KXldgOOslKaeqnhthcDJCJQ==", 430 | "dev": true, 431 | "requires": { 432 | "@babel/helper-plugin-utils": "^7.16.5", 433 | "@babel/plugin-syntax-dynamic-import": "^7.8.3" 434 | } 435 | }, 436 | "@babel/plugin-proposal-export-namespace-from": { 437 | "version": "7.16.5", 438 | "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-export-namespace-from/-/plugin-proposal-export-namespace-from-7.16.5.tgz", 439 | "integrity": "sha512-i+sltzEShH1vsVydvNaTRsgvq2vZsfyrd7K7vPLUU/KgS0D5yZMe6uipM0+izminnkKrEfdUnz7CxMRb6oHZWw==", 440 | "dev": true, 441 | "requires": { 442 | "@babel/helper-plugin-utils": "^7.16.5", 443 | "@babel/plugin-syntax-export-namespace-from": "^7.8.3" 444 | } 445 | }, 446 | "@babel/plugin-proposal-json-strings": { 447 | "version": "7.16.5", 448 | "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-json-strings/-/plugin-proposal-json-strings-7.16.5.tgz", 449 | "integrity": "sha512-QQJueTFa0y9E4qHANqIvMsuxM/qcLQmKttBACtPCQzGUEizsXDACGonlPiSwynHfOa3vNw0FPMVvQzbuXwh4SQ==", 450 | "dev": true, 451 | "requires": { 452 | "@babel/helper-plugin-utils": "^7.16.5", 453 | "@babel/plugin-syntax-json-strings": "^7.8.3" 454 | } 455 | }, 456 | "@babel/plugin-proposal-logical-assignment-operators": { 457 | "version": "7.16.5", 458 | "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-logical-assignment-operators/-/plugin-proposal-logical-assignment-operators-7.16.5.tgz", 459 | "integrity": "sha512-xqibl7ISO2vjuQM+MzR3rkd0zfNWltk7n9QhaD8ghMmMceVguYrNDt7MikRyj4J4v3QehpnrU8RYLnC7z/gZLA==", 460 | "dev": true, 461 | "requires": { 462 | "@babel/helper-plugin-utils": "^7.16.5", 463 | "@babel/plugin-syntax-logical-assignment-operators": "^7.10.4" 464 | } 465 | }, 466 | "@babel/plugin-proposal-nullish-coalescing-operator": { 467 | "version": "7.16.5", 468 | "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-nullish-coalescing-operator/-/plugin-proposal-nullish-coalescing-operator-7.16.5.tgz", 469 | "integrity": "sha512-YwMsTp/oOviSBhrjwi0vzCUycseCYwoXnLiXIL3YNjHSMBHicGTz7GjVU/IGgz4DtOEXBdCNG72pvCX22ehfqg==", 470 | "dev": true, 471 | "requires": { 472 | "@babel/helper-plugin-utils": "^7.16.5", 473 | "@babel/plugin-syntax-nullish-coalescing-operator": "^7.8.3" 474 | } 475 | }, 476 | "@babel/plugin-proposal-numeric-separator": { 477 | "version": "7.16.5", 478 | "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-numeric-separator/-/plugin-proposal-numeric-separator-7.16.5.tgz", 479 | "integrity": "sha512-DvB9l/TcsCRvsIV9v4jxR/jVP45cslTVC0PMVHvaJhhNuhn2Y1SOhCSFlPK777qLB5wb8rVDaNoqMTyOqtY5Iw==", 480 | "dev": true, 481 | "requires": { 482 | "@babel/helper-plugin-utils": "^7.16.5", 483 | "@babel/plugin-syntax-numeric-separator": "^7.10.4" 484 | } 485 | }, 486 | "@babel/plugin-proposal-object-rest-spread": { 487 | "version": "7.16.5", 488 | "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.16.5.tgz", 489 | "integrity": "sha512-UEd6KpChoyPhCoE840KRHOlGhEZFutdPDMGj+0I56yuTTOaT51GzmnEl/0uT41fB/vD2nT+Pci2KjezyE3HmUw==", 490 | "dev": true, 491 | "requires": { 492 | "@babel/compat-data": "^7.16.4", 493 | "@babel/helper-compilation-targets": "^7.16.3", 494 | "@babel/helper-plugin-utils": "^7.16.5", 495 | "@babel/plugin-syntax-object-rest-spread": "^7.8.3", 496 | "@babel/plugin-transform-parameters": "^7.16.5" 497 | } 498 | }, 499 | "@babel/plugin-proposal-optional-catch-binding": { 500 | "version": "7.16.5", 501 | "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-optional-catch-binding/-/plugin-proposal-optional-catch-binding-7.16.5.tgz", 502 | "integrity": "sha512-ihCMxY1Iljmx4bWy/PIMJGXN4NS4oUj1MKynwO07kiKms23pNvIn1DMB92DNB2R0EA882sw0VXIelYGdtF7xEQ==", 503 | "dev": true, 504 | "requires": { 505 | "@babel/helper-plugin-utils": "^7.16.5", 506 | "@babel/plugin-syntax-optional-catch-binding": "^7.8.3" 507 | } 508 | }, 509 | "@babel/plugin-proposal-optional-chaining": { 510 | "version": "7.16.5", 511 | "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-optional-chaining/-/plugin-proposal-optional-chaining-7.16.5.tgz", 512 | "integrity": "sha512-kzdHgnaXRonttiTfKYnSVafbWngPPr2qKw9BWYBESl91W54e+9R5pP70LtWxV56g0f05f/SQrwHYkfvbwcdQ/A==", 513 | "dev": true, 514 | "requires": { 515 | "@babel/helper-plugin-utils": "^7.16.5", 516 | "@babel/helper-skip-transparent-expression-wrappers": "^7.16.0", 517 | "@babel/plugin-syntax-optional-chaining": "^7.8.3" 518 | } 519 | }, 520 | "@babel/plugin-proposal-private-methods": { 521 | "version": "7.16.5", 522 | "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-private-methods/-/plugin-proposal-private-methods-7.16.5.tgz", 523 | "integrity": "sha512-+yFMO4BGT3sgzXo+lrq7orX5mAZt57DwUK6seqII6AcJnJOIhBJ8pzKH47/ql/d426uQ7YhN8DpUFirQzqYSUA==", 524 | "dev": true, 525 | "requires": { 526 | "@babel/helper-create-class-features-plugin": "^7.16.5", 527 | "@babel/helper-plugin-utils": "^7.16.5" 528 | } 529 | }, 530 | "@babel/plugin-proposal-private-property-in-object": { 531 | "version": "7.16.5", 532 | "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-private-property-in-object/-/plugin-proposal-private-property-in-object-7.16.5.tgz", 533 | "integrity": "sha512-+YGh5Wbw0NH3y/E5YMu6ci5qTDmAEVNoZ3I54aB6nVEOZ5BQ7QJlwKq5pYVucQilMByGn/bvX0af+uNaPRCabA==", 534 | "dev": true, 535 | "requires": { 536 | "@babel/helper-annotate-as-pure": "^7.16.0", 537 | "@babel/helper-create-class-features-plugin": "^7.16.5", 538 | "@babel/helper-plugin-utils": "^7.16.5", 539 | "@babel/plugin-syntax-private-property-in-object": "^7.14.5" 540 | } 541 | }, 542 | "@babel/plugin-proposal-unicode-property-regex": { 543 | "version": "7.16.5", 544 | "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-unicode-property-regex/-/plugin-proposal-unicode-property-regex-7.16.5.tgz", 545 | "integrity": "sha512-s5sKtlKQyFSatt781HQwv1hoM5BQ9qRH30r+dK56OLDsHmV74mzwJNX7R1yMuE7VZKG5O6q/gmOGSAO6ikTudg==", 546 | "dev": true, 547 | "requires": { 548 | "@babel/helper-create-regexp-features-plugin": "^7.16.0", 549 | "@babel/helper-plugin-utils": "^7.16.5" 550 | } 551 | }, 552 | "@babel/plugin-syntax-async-generators": { 553 | "version": "7.8.4", 554 | "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-async-generators/-/plugin-syntax-async-generators-7.8.4.tgz", 555 | "integrity": "sha512-tycmZxkGfZaxhMRbXlPXuVFpdWlXpir2W4AMhSJgRKzk/eDlIXOhb2LHWoLpDF7TEHylV5zNhykX6KAgHJmTNw==", 556 | "dev": true, 557 | "requires": { 558 | "@babel/helper-plugin-utils": "^7.8.0" 559 | } 560 | }, 561 | "@babel/plugin-syntax-class-properties": { 562 | "version": "7.12.13", 563 | "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-class-properties/-/plugin-syntax-class-properties-7.12.13.tgz", 564 | "integrity": "sha512-fm4idjKla0YahUNgFNLCB0qySdsoPiZP3iQE3rky0mBUtMZ23yDJ9SJdg6dXTSDnulOVqiF3Hgr9nbXvXTQZYA==", 565 | "dev": true, 566 | "requires": { 567 | "@babel/helper-plugin-utils": "^7.12.13" 568 | } 569 | }, 570 | "@babel/plugin-syntax-class-static-block": { 571 | "version": "7.14.5", 572 | "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-class-static-block/-/plugin-syntax-class-static-block-7.14.5.tgz", 573 | "integrity": "sha512-b+YyPmr6ldyNnM6sqYeMWE+bgJcJpO6yS4QD7ymxgH34GBPNDM/THBh8iunyvKIZztiwLH4CJZ0RxTk9emgpjw==", 574 | "dev": true, 575 | "requires": { 576 | "@babel/helper-plugin-utils": "^7.14.5" 577 | } 578 | }, 579 | "@babel/plugin-syntax-dynamic-import": { 580 | "version": "7.8.3", 581 | "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-dynamic-import/-/plugin-syntax-dynamic-import-7.8.3.tgz", 582 | "integrity": "sha512-5gdGbFon+PszYzqs83S3E5mpi7/y/8M9eC90MRTZfduQOYW76ig6SOSPNe41IG5LoP3FGBn2N0RjVDSQiS94kQ==", 583 | "dev": true, 584 | "requires": { 585 | "@babel/helper-plugin-utils": "^7.8.0" 586 | } 587 | }, 588 | "@babel/plugin-syntax-export-namespace-from": { 589 | "version": "7.8.3", 590 | "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-export-namespace-from/-/plugin-syntax-export-namespace-from-7.8.3.tgz", 591 | "integrity": "sha512-MXf5laXo6c1IbEbegDmzGPwGNTsHZmEy6QGznu5Sh2UCWvueywb2ee+CCE4zQiZstxU9BMoQO9i6zUFSY0Kj0Q==", 592 | "dev": true, 593 | "requires": { 594 | "@babel/helper-plugin-utils": "^7.8.3" 595 | } 596 | }, 597 | "@babel/plugin-syntax-json-strings": { 598 | "version": "7.8.3", 599 | "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-json-strings/-/plugin-syntax-json-strings-7.8.3.tgz", 600 | "integrity": "sha512-lY6kdGpWHvjoe2vk4WrAapEuBR69EMxZl+RoGRhrFGNYVK8mOPAW8VfbT/ZgrFbXlDNiiaxQnAtgVCZ6jv30EA==", 601 | "dev": true, 602 | "requires": { 603 | "@babel/helper-plugin-utils": "^7.8.0" 604 | } 605 | }, 606 | "@babel/plugin-syntax-logical-assignment-operators": { 607 | "version": "7.10.4", 608 | "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-logical-assignment-operators/-/plugin-syntax-logical-assignment-operators-7.10.4.tgz", 609 | "integrity": "sha512-d8waShlpFDinQ5MtvGU9xDAOzKH47+FFoney2baFIoMr952hKOLp1HR7VszoZvOsV/4+RRszNY7D17ba0te0ig==", 610 | "dev": true, 611 | "requires": { 612 | "@babel/helper-plugin-utils": "^7.10.4" 613 | } 614 | }, 615 | "@babel/plugin-syntax-nullish-coalescing-operator": { 616 | "version": "7.8.3", 617 | "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-nullish-coalescing-operator/-/plugin-syntax-nullish-coalescing-operator-7.8.3.tgz", 618 | "integrity": "sha512-aSff4zPII1u2QD7y+F8oDsz19ew4IGEJg9SVW+bqwpwtfFleiQDMdzA/R+UlWDzfnHFCxxleFT0PMIrR36XLNQ==", 619 | "dev": true, 620 | "requires": { 621 | "@babel/helper-plugin-utils": "^7.8.0" 622 | } 623 | }, 624 | "@babel/plugin-syntax-numeric-separator": { 625 | "version": "7.10.4", 626 | "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-numeric-separator/-/plugin-syntax-numeric-separator-7.10.4.tgz", 627 | "integrity": "sha512-9H6YdfkcK/uOnY/K7/aA2xpzaAgkQn37yzWUMRK7OaPOqOpGS1+n0H5hxT9AUw9EsSjPW8SVyMJwYRtWs3X3ug==", 628 | "dev": true, 629 | "requires": { 630 | "@babel/helper-plugin-utils": "^7.10.4" 631 | } 632 | }, 633 | "@babel/plugin-syntax-object-rest-spread": { 634 | "version": "7.8.3", 635 | "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-object-rest-spread/-/plugin-syntax-object-rest-spread-7.8.3.tgz", 636 | "integrity": "sha512-XoqMijGZb9y3y2XskN+P1wUGiVwWZ5JmoDRwx5+3GmEplNyVM2s2Dg8ILFQm8rWM48orGy5YpI5Bl8U1y7ydlA==", 637 | "dev": true, 638 | "requires": { 639 | "@babel/helper-plugin-utils": "^7.8.0" 640 | } 641 | }, 642 | "@babel/plugin-syntax-optional-catch-binding": { 643 | "version": "7.8.3", 644 | "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-optional-catch-binding/-/plugin-syntax-optional-catch-binding-7.8.3.tgz", 645 | "integrity": "sha512-6VPD0Pc1lpTqw0aKoeRTMiB+kWhAoT24PA+ksWSBrFtl5SIRVpZlwN3NNPQjehA2E/91FV3RjLWoVTglWcSV3Q==", 646 | "dev": true, 647 | "requires": { 648 | "@babel/helper-plugin-utils": "^7.8.0" 649 | } 650 | }, 651 | "@babel/plugin-syntax-optional-chaining": { 652 | "version": "7.8.3", 653 | "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-optional-chaining/-/plugin-syntax-optional-chaining-7.8.3.tgz", 654 | "integrity": "sha512-KoK9ErH1MBlCPxV0VANkXW2/dw4vlbGDrFgz8bmUsBGYkFRcbRwMh6cIJubdPrkxRwuGdtCk0v/wPTKbQgBjkg==", 655 | "dev": true, 656 | "requires": { 657 | "@babel/helper-plugin-utils": "^7.8.0" 658 | } 659 | }, 660 | "@babel/plugin-syntax-private-property-in-object": { 661 | "version": "7.14.5", 662 | "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-private-property-in-object/-/plugin-syntax-private-property-in-object-7.14.5.tgz", 663 | "integrity": "sha512-0wVnp9dxJ72ZUJDV27ZfbSj6iHLoytYZmh3rFcxNnvsJF3ktkzLDZPy/mA17HGsaQT3/DQsWYX1f1QGWkCoVUg==", 664 | "dev": true, 665 | "requires": { 666 | "@babel/helper-plugin-utils": "^7.14.5" 667 | } 668 | }, 669 | "@babel/plugin-syntax-top-level-await": { 670 | "version": "7.14.5", 671 | "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-top-level-await/-/plugin-syntax-top-level-await-7.14.5.tgz", 672 | "integrity": "sha512-hx++upLv5U1rgYfwe1xBQUhRmU41NEvpUvrp8jkrSCdvGSnM5/qdRMtylJ6PG5OFkBaHkbTAKTnd3/YyESRHFw==", 673 | "dev": true, 674 | "requires": { 675 | "@babel/helper-plugin-utils": "^7.14.5" 676 | } 677 | }, 678 | "@babel/plugin-transform-arrow-functions": { 679 | "version": "7.16.5", 680 | "resolved": "https://registry.npmjs.org/@babel/plugin-transform-arrow-functions/-/plugin-transform-arrow-functions-7.16.5.tgz", 681 | "integrity": "sha512-8bTHiiZyMOyfZFULjsCnYOWG059FVMes0iljEHSfARhNgFfpsqE92OrCffv3veSw9rwMkYcFe9bj0ZoXU2IGtQ==", 682 | "dev": true, 683 | "requires": { 684 | "@babel/helper-plugin-utils": "^7.16.5" 685 | } 686 | }, 687 | "@babel/plugin-transform-async-to-generator": { 688 | "version": "7.16.5", 689 | "resolved": "https://registry.npmjs.org/@babel/plugin-transform-async-to-generator/-/plugin-transform-async-to-generator-7.16.5.tgz", 690 | "integrity": "sha512-TMXgfioJnkXU+XRoj7P2ED7rUm5jbnDWwlCuFVTpQboMfbSya5WrmubNBAMlk7KXvywpo8rd8WuYZkis1o2H8w==", 691 | "dev": true, 692 | "requires": { 693 | "@babel/helper-module-imports": "^7.16.0", 694 | "@babel/helper-plugin-utils": "^7.16.5", 695 | "@babel/helper-remap-async-to-generator": "^7.16.5" 696 | } 697 | }, 698 | "@babel/plugin-transform-block-scoped-functions": { 699 | "version": "7.16.5", 700 | "resolved": "https://registry.npmjs.org/@babel/plugin-transform-block-scoped-functions/-/plugin-transform-block-scoped-functions-7.16.5.tgz", 701 | "integrity": "sha512-BxmIyKLjUGksJ99+hJyL/HIxLIGnLKtw772zYDER7UuycDZ+Xvzs98ZQw6NGgM2ss4/hlFAaGiZmMNKvValEjw==", 702 | "dev": true, 703 | "requires": { 704 | "@babel/helper-plugin-utils": "^7.16.5" 705 | } 706 | }, 707 | "@babel/plugin-transform-block-scoping": { 708 | "version": "7.16.5", 709 | "resolved": "https://registry.npmjs.org/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.16.5.tgz", 710 | "integrity": "sha512-JxjSPNZSiOtmxjX7PBRBeRJTUKTyJ607YUYeT0QJCNdsedOe+/rXITjP08eG8xUpsLfPirgzdCFN+h0w6RI+pQ==", 711 | "dev": true, 712 | "requires": { 713 | "@babel/helper-plugin-utils": "^7.16.5" 714 | } 715 | }, 716 | "@babel/plugin-transform-classes": { 717 | "version": "7.16.5", 718 | "resolved": "https://registry.npmjs.org/@babel/plugin-transform-classes/-/plugin-transform-classes-7.16.5.tgz", 719 | "integrity": "sha512-DzJ1vYf/7TaCYy57J3SJ9rV+JEuvmlnvvyvYKFbk5u46oQbBvuB9/0w+YsVsxkOv8zVWKpDmUoj4T5ILHoXevA==", 720 | "dev": true, 721 | "requires": { 722 | "@babel/helper-annotate-as-pure": "^7.16.0", 723 | "@babel/helper-environment-visitor": "^7.16.5", 724 | "@babel/helper-function-name": "^7.16.0", 725 | "@babel/helper-optimise-call-expression": "^7.16.0", 726 | "@babel/helper-plugin-utils": "^7.16.5", 727 | "@babel/helper-replace-supers": "^7.16.5", 728 | "@babel/helper-split-export-declaration": "^7.16.0", 729 | "globals": "^11.1.0" 730 | } 731 | }, 732 | "@babel/plugin-transform-computed-properties": { 733 | "version": "7.16.5", 734 | "resolved": "https://registry.npmjs.org/@babel/plugin-transform-computed-properties/-/plugin-transform-computed-properties-7.16.5.tgz", 735 | "integrity": "sha512-n1+O7xtU5lSLraRzX88CNcpl7vtGdPakKzww74bVwpAIRgz9JVLJJpOLb0uYqcOaXVM0TL6X0RVeIJGD2CnCkg==", 736 | "dev": true, 737 | "requires": { 738 | "@babel/helper-plugin-utils": "^7.16.5" 739 | } 740 | }, 741 | "@babel/plugin-transform-destructuring": { 742 | "version": "7.16.5", 743 | "resolved": "https://registry.npmjs.org/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.16.5.tgz", 744 | "integrity": "sha512-GuRVAsjq+c9YPK6NeTkRLWyQskDC099XkBSVO+6QzbnOnH2d/4mBVXYStaPrZD3dFRfg00I6BFJ9Atsjfs8mlg==", 745 | "dev": true, 746 | "requires": { 747 | "@babel/helper-plugin-utils": "^7.16.5" 748 | } 749 | }, 750 | "@babel/plugin-transform-dotall-regex": { 751 | "version": "7.16.5", 752 | "resolved": "https://registry.npmjs.org/@babel/plugin-transform-dotall-regex/-/plugin-transform-dotall-regex-7.16.5.tgz", 753 | "integrity": "sha512-iQiEMt8Q4/5aRGHpGVK2Zc7a6mx7qEAO7qehgSug3SDImnuMzgmm/wtJALXaz25zUj1PmnNHtShjFgk4PDx4nw==", 754 | "dev": true, 755 | "requires": { 756 | "@babel/helper-create-regexp-features-plugin": "^7.16.0", 757 | "@babel/helper-plugin-utils": "^7.16.5" 758 | } 759 | }, 760 | "@babel/plugin-transform-duplicate-keys": { 761 | "version": "7.16.5", 762 | "resolved": "https://registry.npmjs.org/@babel/plugin-transform-duplicate-keys/-/plugin-transform-duplicate-keys-7.16.5.tgz", 763 | "integrity": "sha512-81tijpDg2a6I1Yhj4aWY1l3O1J4Cg/Pd7LfvuaH2VVInAkXtzibz9+zSPdUM1WvuUi128ksstAP0hM5w48vQgg==", 764 | "dev": true, 765 | "requires": { 766 | "@babel/helper-plugin-utils": "^7.16.5" 767 | } 768 | }, 769 | "@babel/plugin-transform-exponentiation-operator": { 770 | "version": "7.16.5", 771 | "resolved": "https://registry.npmjs.org/@babel/plugin-transform-exponentiation-operator/-/plugin-transform-exponentiation-operator-7.16.5.tgz", 772 | "integrity": "sha512-12rba2HwemQPa7BLIKCzm1pT2/RuQHtSFHdNl41cFiC6oi4tcrp7gjB07pxQvFpcADojQywSjblQth6gJyE6CA==", 773 | "dev": true, 774 | "requires": { 775 | "@babel/helper-builder-binary-assignment-operator-visitor": "^7.16.5", 776 | "@babel/helper-plugin-utils": "^7.16.5" 777 | } 778 | }, 779 | "@babel/plugin-transform-for-of": { 780 | "version": "7.16.5", 781 | "resolved": "https://registry.npmjs.org/@babel/plugin-transform-for-of/-/plugin-transform-for-of-7.16.5.tgz", 782 | "integrity": "sha512-+DpCAJFPAvViR17PIMi9x2AE34dll5wNlXO43wagAX2YcRGgEVHCNFC4azG85b4YyyFarvkc/iD5NPrz4Oneqw==", 783 | "dev": true, 784 | "requires": { 785 | "@babel/helper-plugin-utils": "^7.16.5" 786 | } 787 | }, 788 | "@babel/plugin-transform-function-name": { 789 | "version": "7.16.5", 790 | "resolved": "https://registry.npmjs.org/@babel/plugin-transform-function-name/-/plugin-transform-function-name-7.16.5.tgz", 791 | "integrity": "sha512-Fuec/KPSpVLbGo6z1RPw4EE1X+z9gZk1uQmnYy7v4xr4TO9p41v1AoUuXEtyqAI7H+xNJYSICzRqZBhDEkd3kQ==", 792 | "dev": true, 793 | "requires": { 794 | "@babel/helper-function-name": "^7.16.0", 795 | "@babel/helper-plugin-utils": "^7.16.5" 796 | } 797 | }, 798 | "@babel/plugin-transform-literals": { 799 | "version": "7.16.5", 800 | "resolved": "https://registry.npmjs.org/@babel/plugin-transform-literals/-/plugin-transform-literals-7.16.5.tgz", 801 | "integrity": "sha512-B1j9C/IfvshnPcklsc93AVLTrNVa69iSqztylZH6qnmiAsDDOmmjEYqOm3Ts2lGSgTSywnBNiqC949VdD0/gfw==", 802 | "dev": true, 803 | "requires": { 804 | "@babel/helper-plugin-utils": "^7.16.5" 805 | } 806 | }, 807 | "@babel/plugin-transform-member-expression-literals": { 808 | "version": "7.16.5", 809 | "resolved": "https://registry.npmjs.org/@babel/plugin-transform-member-expression-literals/-/plugin-transform-member-expression-literals-7.16.5.tgz", 810 | "integrity": "sha512-d57i3vPHWgIde/9Y8W/xSFUndhvhZN5Wu2TjRrN1MVz5KzdUihKnfDVlfP1U7mS5DNj/WHHhaE4/tTi4hIyHwQ==", 811 | "dev": true, 812 | "requires": { 813 | "@babel/helper-plugin-utils": "^7.16.5" 814 | } 815 | }, 816 | "@babel/plugin-transform-modules-amd": { 817 | "version": "7.16.5", 818 | "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-amd/-/plugin-transform-modules-amd-7.16.5.tgz", 819 | "integrity": "sha512-oHI15S/hdJuSCfnwIz+4lm6wu/wBn7oJ8+QrkzPPwSFGXk8kgdI/AIKcbR/XnD1nQVMg/i6eNaXpszbGuwYDRQ==", 820 | "dev": true, 821 | "requires": { 822 | "@babel/helper-module-transforms": "^7.16.5", 823 | "@babel/helper-plugin-utils": "^7.16.5", 824 | "babel-plugin-dynamic-import-node": "^2.3.3" 825 | } 826 | }, 827 | "@babel/plugin-transform-modules-commonjs": { 828 | "version": "7.16.5", 829 | "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.16.5.tgz", 830 | "integrity": "sha512-ABhUkxvoQyqhCWyb8xXtfwqNMJD7tx+irIRnUh6lmyFud7Jln1WzONXKlax1fg/ey178EXbs4bSGNd6PngO+SQ==", 831 | "dev": true, 832 | "requires": { 833 | "@babel/helper-module-transforms": "^7.16.5", 834 | "@babel/helper-plugin-utils": "^7.16.5", 835 | "@babel/helper-simple-access": "^7.16.0", 836 | "babel-plugin-dynamic-import-node": "^2.3.3" 837 | } 838 | }, 839 | "@babel/plugin-transform-modules-systemjs": { 840 | "version": "7.16.5", 841 | "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.16.5.tgz", 842 | "integrity": "sha512-53gmLdScNN28XpjEVIm7LbWnD/b/TpbwKbLk6KV4KqC9WyU6rq1jnNmVG6UgAdQZVVGZVoik3DqHNxk4/EvrjA==", 843 | "dev": true, 844 | "requires": { 845 | "@babel/helper-hoist-variables": "^7.16.0", 846 | "@babel/helper-module-transforms": "^7.16.5", 847 | "@babel/helper-plugin-utils": "^7.16.5", 848 | "@babel/helper-validator-identifier": "^7.15.7", 849 | "babel-plugin-dynamic-import-node": "^2.3.3" 850 | } 851 | }, 852 | "@babel/plugin-transform-modules-umd": { 853 | "version": "7.16.5", 854 | "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-umd/-/plugin-transform-modules-umd-7.16.5.tgz", 855 | "integrity": "sha512-qTFnpxHMoenNHkS3VoWRdwrcJ3FhX567GvDA3hRZKF0Dj8Fmg0UzySZp3AP2mShl/bzcywb/UWAMQIjA1bhXvw==", 856 | "dev": true, 857 | "requires": { 858 | "@babel/helper-module-transforms": "^7.16.5", 859 | "@babel/helper-plugin-utils": "^7.16.5" 860 | } 861 | }, 862 | "@babel/plugin-transform-named-capturing-groups-regex": { 863 | "version": "7.16.5", 864 | "resolved": "https://registry.npmjs.org/@babel/plugin-transform-named-capturing-groups-regex/-/plugin-transform-named-capturing-groups-regex-7.16.5.tgz", 865 | "integrity": "sha512-/wqGDgvFUeKELW6ex6QB7dLVRkd5ehjw34tpXu1nhKC0sFfmaLabIswnpf8JgDyV2NeDmZiwoOb0rAmxciNfjA==", 866 | "dev": true, 867 | "requires": { 868 | "@babel/helper-create-regexp-features-plugin": "^7.16.0" 869 | } 870 | }, 871 | "@babel/plugin-transform-new-target": { 872 | "version": "7.16.5", 873 | "resolved": "https://registry.npmjs.org/@babel/plugin-transform-new-target/-/plugin-transform-new-target-7.16.5.tgz", 874 | "integrity": "sha512-ZaIrnXF08ZC8jnKR4/5g7YakGVL6go6V9ql6Jl3ecO8PQaQqFE74CuM384kezju7Z9nGCCA20BqZaR1tJ/WvHg==", 875 | "dev": true, 876 | "requires": { 877 | "@babel/helper-plugin-utils": "^7.16.5" 878 | } 879 | }, 880 | "@babel/plugin-transform-object-super": { 881 | "version": "7.16.5", 882 | "resolved": "https://registry.npmjs.org/@babel/plugin-transform-object-super/-/plugin-transform-object-super-7.16.5.tgz", 883 | "integrity": "sha512-tded+yZEXuxt9Jdtkc1RraW1zMF/GalVxaVVxh41IYwirdRgyAxxxCKZ9XB7LxZqmsjfjALxupNE1MIz9KH+Zg==", 884 | "dev": true, 885 | "requires": { 886 | "@babel/helper-plugin-utils": "^7.16.5", 887 | "@babel/helper-replace-supers": "^7.16.5" 888 | } 889 | }, 890 | "@babel/plugin-transform-parameters": { 891 | "version": "7.16.5", 892 | "resolved": "https://registry.npmjs.org/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.16.5.tgz", 893 | "integrity": "sha512-B3O6AL5oPop1jAVg8CV+haeUte9oFuY85zu0jwnRNZZi3tVAbJriu5tag/oaO2kGaQM/7q7aGPBlTI5/sr9enA==", 894 | "dev": true, 895 | "requires": { 896 | "@babel/helper-plugin-utils": "^7.16.5" 897 | } 898 | }, 899 | "@babel/plugin-transform-property-literals": { 900 | "version": "7.16.5", 901 | "resolved": "https://registry.npmjs.org/@babel/plugin-transform-property-literals/-/plugin-transform-property-literals-7.16.5.tgz", 902 | "integrity": "sha512-+IRcVW71VdF9pEH/2R/Apab4a19LVvdVsr/gEeotH00vSDVlKD+XgfSIw+cgGWsjDB/ziqGv/pGoQZBIiQVXHg==", 903 | "dev": true, 904 | "requires": { 905 | "@babel/helper-plugin-utils": "^7.16.5" 906 | } 907 | }, 908 | "@babel/plugin-transform-regenerator": { 909 | "version": "7.16.5", 910 | "resolved": "https://registry.npmjs.org/@babel/plugin-transform-regenerator/-/plugin-transform-regenerator-7.16.5.tgz", 911 | "integrity": "sha512-2z+it2eVWU8TtQQRauvGUqZwLy4+7rTfo6wO4npr+fvvN1SW30ZF3O/ZRCNmTuu4F5MIP8OJhXAhRV5QMJOuYg==", 912 | "dev": true, 913 | "requires": { 914 | "regenerator-transform": "^0.14.2" 915 | } 916 | }, 917 | "@babel/plugin-transform-reserved-words": { 918 | "version": "7.16.5", 919 | "resolved": "https://registry.npmjs.org/@babel/plugin-transform-reserved-words/-/plugin-transform-reserved-words-7.16.5.tgz", 920 | "integrity": "sha512-aIB16u8lNcf7drkhXJRoggOxSTUAuihTSTfAcpynowGJOZiGf+Yvi7RuTwFzVYSYPmWyARsPqUGoZWWWxLiknw==", 921 | "dev": true, 922 | "requires": { 923 | "@babel/helper-plugin-utils": "^7.16.5" 924 | } 925 | }, 926 | "@babel/plugin-transform-runtime": { 927 | "version": "7.16.5", 928 | "resolved": "https://registry.npmjs.org/@babel/plugin-transform-runtime/-/plugin-transform-runtime-7.16.5.tgz", 929 | "integrity": "sha512-gxpfS8XQWDbQ8oP5NcmpXxtEgCJkbO+W9VhZlOhr0xPyVaRjAQPOv7ZDj9fg0d5s9+NiVvMCE6gbkEkcsxwGRw==", 930 | "dev": true, 931 | "requires": { 932 | "@babel/helper-module-imports": "^7.16.0", 933 | "@babel/helper-plugin-utils": "^7.16.5", 934 | "babel-plugin-polyfill-corejs2": "^0.3.0", 935 | "babel-plugin-polyfill-corejs3": "^0.4.0", 936 | "babel-plugin-polyfill-regenerator": "^0.3.0", 937 | "semver": "^6.3.0" 938 | }, 939 | "dependencies": { 940 | "semver": { 941 | "version": "6.3.0", 942 | "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", 943 | "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", 944 | "dev": true 945 | } 946 | } 947 | }, 948 | "@babel/plugin-transform-shorthand-properties": { 949 | "version": "7.16.5", 950 | "resolved": "https://registry.npmjs.org/@babel/plugin-transform-shorthand-properties/-/plugin-transform-shorthand-properties-7.16.5.tgz", 951 | "integrity": "sha512-ZbuWVcY+MAXJuuW7qDoCwoxDUNClfZxoo7/4swVbOW1s/qYLOMHlm9YRWMsxMFuLs44eXsv4op1vAaBaBaDMVg==", 952 | "dev": true, 953 | "requires": { 954 | "@babel/helper-plugin-utils": "^7.16.5" 955 | } 956 | }, 957 | "@babel/plugin-transform-spread": { 958 | "version": "7.16.5", 959 | "resolved": "https://registry.npmjs.org/@babel/plugin-transform-spread/-/plugin-transform-spread-7.16.5.tgz", 960 | "integrity": "sha512-5d6l/cnG7Lw4tGHEoga4xSkYp1euP7LAtrah1h1PgJ3JY7yNsjybsxQAnVK4JbtReZ/8z6ASVmd3QhYYKLaKZw==", 961 | "dev": true, 962 | "requires": { 963 | "@babel/helper-plugin-utils": "^7.16.5", 964 | "@babel/helper-skip-transparent-expression-wrappers": "^7.16.0" 965 | } 966 | }, 967 | "@babel/plugin-transform-sticky-regex": { 968 | "version": "7.16.5", 969 | "resolved": "https://registry.npmjs.org/@babel/plugin-transform-sticky-regex/-/plugin-transform-sticky-regex-7.16.5.tgz", 970 | "integrity": "sha512-usYsuO1ID2LXxzuUxifgWtJemP7wL2uZtyrTVM4PKqsmJycdS4U4mGovL5xXkfUheds10Dd2PjoQLXw6zCsCbg==", 971 | "dev": true, 972 | "requires": { 973 | "@babel/helper-plugin-utils": "^7.16.5" 974 | } 975 | }, 976 | "@babel/plugin-transform-template-literals": { 977 | "version": "7.16.5", 978 | "resolved": "https://registry.npmjs.org/@babel/plugin-transform-template-literals/-/plugin-transform-template-literals-7.16.5.tgz", 979 | "integrity": "sha512-gnyKy9RyFhkovex4BjKWL3BVYzUDG6zC0gba7VMLbQoDuqMfJ1SDXs8k/XK41Mmt1Hyp4qNAvGFb9hKzdCqBRQ==", 980 | "dev": true, 981 | "requires": { 982 | "@babel/helper-plugin-utils": "^7.16.5" 983 | } 984 | }, 985 | "@babel/plugin-transform-typeof-symbol": { 986 | "version": "7.16.5", 987 | "resolved": "https://registry.npmjs.org/@babel/plugin-transform-typeof-symbol/-/plugin-transform-typeof-symbol-7.16.5.tgz", 988 | "integrity": "sha512-ldxCkW180qbrvyCVDzAUZqB0TAeF8W/vGJoRcaf75awm6By+PxfJKvuqVAnq8N9wz5Xa6mSpM19OfVKKVmGHSQ==", 989 | "dev": true, 990 | "requires": { 991 | "@babel/helper-plugin-utils": "^7.16.5" 992 | } 993 | }, 994 | "@babel/plugin-transform-unicode-escapes": { 995 | "version": "7.16.5", 996 | "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-escapes/-/plugin-transform-unicode-escapes-7.16.5.tgz", 997 | "integrity": "sha512-shiCBHTIIChGLdyojsKQjoAyB8MBwat25lKM7MJjbe1hE0bgIppD+LX9afr41lLHOhqceqeWl4FkLp+Bgn9o1Q==", 998 | "dev": true, 999 | "requires": { 1000 | "@babel/helper-plugin-utils": "^7.16.5" 1001 | } 1002 | }, 1003 | "@babel/plugin-transform-unicode-regex": { 1004 | "version": "7.16.5", 1005 | "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-regex/-/plugin-transform-unicode-regex-7.16.5.tgz", 1006 | "integrity": "sha512-GTJ4IW012tiPEMMubd7sD07iU9O/LOo8Q/oU4xNhcaq0Xn8+6TcUQaHtC8YxySo1T+ErQ8RaWogIEeFhKGNPzw==", 1007 | "dev": true, 1008 | "requires": { 1009 | "@babel/helper-create-regexp-features-plugin": "^7.16.0", 1010 | "@babel/helper-plugin-utils": "^7.16.5" 1011 | } 1012 | }, 1013 | "@babel/preset-env": { 1014 | "version": "7.16.5", 1015 | "resolved": "https://registry.npmjs.org/@babel/preset-env/-/preset-env-7.16.5.tgz", 1016 | "integrity": "sha512-MiJJW5pwsktG61NDxpZ4oJ1CKxM1ncam9bzRtx9g40/WkLRkxFP6mhpkYV0/DxcciqoiHicx291+eUQrXb/SfQ==", 1017 | "dev": true, 1018 | "requires": { 1019 | "@babel/compat-data": "^7.16.4", 1020 | "@babel/helper-compilation-targets": "^7.16.3", 1021 | "@babel/helper-plugin-utils": "^7.16.5", 1022 | "@babel/helper-validator-option": "^7.14.5", 1023 | "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression": "^7.16.2", 1024 | "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining": "^7.16.0", 1025 | "@babel/plugin-proposal-async-generator-functions": "^7.16.5", 1026 | "@babel/plugin-proposal-class-properties": "^7.16.5", 1027 | "@babel/plugin-proposal-class-static-block": "^7.16.5", 1028 | "@babel/plugin-proposal-dynamic-import": "^7.16.5", 1029 | "@babel/plugin-proposal-export-namespace-from": "^7.16.5", 1030 | "@babel/plugin-proposal-json-strings": "^7.16.5", 1031 | "@babel/plugin-proposal-logical-assignment-operators": "^7.16.5", 1032 | "@babel/plugin-proposal-nullish-coalescing-operator": "^7.16.5", 1033 | "@babel/plugin-proposal-numeric-separator": "^7.16.5", 1034 | "@babel/plugin-proposal-object-rest-spread": "^7.16.5", 1035 | "@babel/plugin-proposal-optional-catch-binding": "^7.16.5", 1036 | "@babel/plugin-proposal-optional-chaining": "^7.16.5", 1037 | "@babel/plugin-proposal-private-methods": "^7.16.5", 1038 | "@babel/plugin-proposal-private-property-in-object": "^7.16.5", 1039 | "@babel/plugin-proposal-unicode-property-regex": "^7.16.5", 1040 | "@babel/plugin-syntax-async-generators": "^7.8.4", 1041 | "@babel/plugin-syntax-class-properties": "^7.12.13", 1042 | "@babel/plugin-syntax-class-static-block": "^7.14.5", 1043 | "@babel/plugin-syntax-dynamic-import": "^7.8.3", 1044 | "@babel/plugin-syntax-export-namespace-from": "^7.8.3", 1045 | "@babel/plugin-syntax-json-strings": "^7.8.3", 1046 | "@babel/plugin-syntax-logical-assignment-operators": "^7.10.4", 1047 | "@babel/plugin-syntax-nullish-coalescing-operator": "^7.8.3", 1048 | "@babel/plugin-syntax-numeric-separator": "^7.10.4", 1049 | "@babel/plugin-syntax-object-rest-spread": "^7.8.3", 1050 | "@babel/plugin-syntax-optional-catch-binding": "^7.8.3", 1051 | "@babel/plugin-syntax-optional-chaining": "^7.8.3", 1052 | "@babel/plugin-syntax-private-property-in-object": "^7.14.5", 1053 | "@babel/plugin-syntax-top-level-await": "^7.14.5", 1054 | "@babel/plugin-transform-arrow-functions": "^7.16.5", 1055 | "@babel/plugin-transform-async-to-generator": "^7.16.5", 1056 | "@babel/plugin-transform-block-scoped-functions": "^7.16.5", 1057 | "@babel/plugin-transform-block-scoping": "^7.16.5", 1058 | "@babel/plugin-transform-classes": "^7.16.5", 1059 | "@babel/plugin-transform-computed-properties": "^7.16.5", 1060 | "@babel/plugin-transform-destructuring": "^7.16.5", 1061 | "@babel/plugin-transform-dotall-regex": "^7.16.5", 1062 | "@babel/plugin-transform-duplicate-keys": "^7.16.5", 1063 | "@babel/plugin-transform-exponentiation-operator": "^7.16.5", 1064 | "@babel/plugin-transform-for-of": "^7.16.5", 1065 | "@babel/plugin-transform-function-name": "^7.16.5", 1066 | "@babel/plugin-transform-literals": "^7.16.5", 1067 | "@babel/plugin-transform-member-expression-literals": "^7.16.5", 1068 | "@babel/plugin-transform-modules-amd": "^7.16.5", 1069 | "@babel/plugin-transform-modules-commonjs": "^7.16.5", 1070 | "@babel/plugin-transform-modules-systemjs": "^7.16.5", 1071 | "@babel/plugin-transform-modules-umd": "^7.16.5", 1072 | "@babel/plugin-transform-named-capturing-groups-regex": "^7.16.5", 1073 | "@babel/plugin-transform-new-target": "^7.16.5", 1074 | "@babel/plugin-transform-object-super": "^7.16.5", 1075 | "@babel/plugin-transform-parameters": "^7.16.5", 1076 | "@babel/plugin-transform-property-literals": "^7.16.5", 1077 | "@babel/plugin-transform-regenerator": "^7.16.5", 1078 | "@babel/plugin-transform-reserved-words": "^7.16.5", 1079 | "@babel/plugin-transform-shorthand-properties": "^7.16.5", 1080 | "@babel/plugin-transform-spread": "^7.16.5", 1081 | "@babel/plugin-transform-sticky-regex": "^7.16.5", 1082 | "@babel/plugin-transform-template-literals": "^7.16.5", 1083 | "@babel/plugin-transform-typeof-symbol": "^7.16.5", 1084 | "@babel/plugin-transform-unicode-escapes": "^7.16.5", 1085 | "@babel/plugin-transform-unicode-regex": "^7.16.5", 1086 | "@babel/preset-modules": "^0.1.5", 1087 | "@babel/types": "^7.16.0", 1088 | "babel-plugin-polyfill-corejs2": "^0.3.0", 1089 | "babel-plugin-polyfill-corejs3": "^0.4.0", 1090 | "babel-plugin-polyfill-regenerator": "^0.3.0", 1091 | "core-js-compat": "^3.19.1", 1092 | "semver": "^6.3.0" 1093 | }, 1094 | "dependencies": { 1095 | "semver": { 1096 | "version": "6.3.0", 1097 | "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", 1098 | "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", 1099 | "dev": true 1100 | } 1101 | } 1102 | }, 1103 | "@babel/preset-modules": { 1104 | "version": "0.1.5", 1105 | "resolved": "https://registry.npmjs.org/@babel/preset-modules/-/preset-modules-0.1.5.tgz", 1106 | "integrity": "sha512-A57th6YRG7oR3cq/yt/Y84MvGgE0eJG2F1JLhKuyG+jFxEgrd/HAMJatiFtmOiZurz+0DkrvbheCLaV5f2JfjA==", 1107 | "dev": true, 1108 | "requires": { 1109 | "@babel/helper-plugin-utils": "^7.0.0", 1110 | "@babel/plugin-proposal-unicode-property-regex": "^7.4.4", 1111 | "@babel/plugin-transform-dotall-regex": "^7.4.4", 1112 | "@babel/types": "^7.4.4", 1113 | "esutils": "^2.0.2" 1114 | } 1115 | }, 1116 | "@babel/runtime": { 1117 | "version": "7.16.5", 1118 | "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.16.5.tgz", 1119 | "integrity": "sha512-TXWihFIS3Pyv5hzR7j6ihmeLkZfrXGxAr5UfSl8CHf+6q/wpiYDkUau0czckpYG8QmnCIuPpdLtuA9VmuGGyMA==", 1120 | "requires": { 1121 | "regenerator-runtime": "^0.13.4" 1122 | } 1123 | }, 1124 | "@babel/template": { 1125 | "version": "7.16.0", 1126 | "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.16.0.tgz", 1127 | "integrity": "sha512-MnZdpFD/ZdYhXwiunMqqgyZyucaYsbL0IrjoGjaVhGilz+x8YB++kRfygSOIj1yOtWKPlx7NBp+9I1RQSgsd5A==", 1128 | "dev": true, 1129 | "requires": { 1130 | "@babel/code-frame": "^7.16.0", 1131 | "@babel/parser": "^7.16.0", 1132 | "@babel/types": "^7.16.0" 1133 | } 1134 | }, 1135 | "@babel/traverse": { 1136 | "version": "7.23.2", 1137 | "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.23.2.tgz", 1138 | "integrity": "sha512-azpe59SQ48qG6nu2CzcMLbxUudtN+dOM9kDbUqGq3HXUJRlo7i8fvPoxQUzYgLZ4cMVmuZgm8vvBpNeRhd6XSw==", 1139 | "dev": true, 1140 | "requires": { 1141 | "@babel/code-frame": "^7.22.13", 1142 | "@babel/generator": "^7.23.0", 1143 | "@babel/helper-environment-visitor": "^7.22.20", 1144 | "@babel/helper-function-name": "^7.23.0", 1145 | "@babel/helper-hoist-variables": "^7.22.5", 1146 | "@babel/helper-split-export-declaration": "^7.22.6", 1147 | "@babel/parser": "^7.23.0", 1148 | "@babel/types": "^7.23.0", 1149 | "debug": "^4.1.0", 1150 | "globals": "^11.1.0" 1151 | }, 1152 | "dependencies": { 1153 | "@babel/code-frame": { 1154 | "version": "7.22.13", 1155 | "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.22.13.tgz", 1156 | "integrity": "sha512-XktuhWlJ5g+3TJXc5upd9Ks1HutSArik6jf2eAjYFyIOf4ej3RN+184cZbzDvbPnuTJIUhPKKJE3cIsYTiAT3w==", 1157 | "dev": true, 1158 | "requires": { 1159 | "@babel/highlight": "^7.22.13", 1160 | "chalk": "^2.4.2" 1161 | } 1162 | }, 1163 | "@babel/generator": { 1164 | "version": "7.23.0", 1165 | "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.23.0.tgz", 1166 | "integrity": "sha512-lN85QRR+5IbYrMWM6Y4pE/noaQtg4pNiqeNGX60eqOfo6gtEj6uw/JagelB8vVztSd7R6M5n1+PQkDbHbBRU4g==", 1167 | "dev": true, 1168 | "requires": { 1169 | "@babel/types": "^7.23.0", 1170 | "@jridgewell/gen-mapping": "^0.3.2", 1171 | "@jridgewell/trace-mapping": "^0.3.17", 1172 | "jsesc": "^2.5.1" 1173 | } 1174 | }, 1175 | "@babel/helper-environment-visitor": { 1176 | "version": "7.22.20", 1177 | "resolved": "https://registry.npmjs.org/@babel/helper-environment-visitor/-/helper-environment-visitor-7.22.20.tgz", 1178 | "integrity": "sha512-zfedSIzFhat/gFhWfHtgWvlec0nqB9YEIVrpuwjruLlXfUSnA8cJB0miHKwqDnQ7d32aKo2xt88/xZptwxbfhA==", 1179 | "dev": true 1180 | }, 1181 | "@babel/helper-function-name": { 1182 | "version": "7.23.0", 1183 | "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.23.0.tgz", 1184 | "integrity": "sha512-OErEqsrxjZTJciZ4Oo+eoZqeW9UIiOcuYKRJA4ZAgV9myA+pOXhhmpfNCKjEH/auVfEYVFJ6y1Tc4r0eIApqiw==", 1185 | "dev": true, 1186 | "requires": { 1187 | "@babel/template": "^7.22.15", 1188 | "@babel/types": "^7.23.0" 1189 | } 1190 | }, 1191 | "@babel/helper-hoist-variables": { 1192 | "version": "7.22.5", 1193 | "resolved": "https://registry.npmjs.org/@babel/helper-hoist-variables/-/helper-hoist-variables-7.22.5.tgz", 1194 | "integrity": "sha512-wGjk9QZVzvknA6yKIUURb8zY3grXCcOZt+/7Wcy8O2uctxhplmUPkOdlgoNhmdVee2c92JXbf1xpMtVNbfoxRw==", 1195 | "dev": true, 1196 | "requires": { 1197 | "@babel/types": "^7.22.5" 1198 | } 1199 | }, 1200 | "@babel/helper-split-export-declaration": { 1201 | "version": "7.22.6", 1202 | "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.22.6.tgz", 1203 | "integrity": "sha512-AsUnxuLhRYsisFiaJwvp1QF+I3KjD5FOxut14q/GzovUe6orHLesW2C7d754kRm53h5gqrz6sFl6sxc4BVtE/g==", 1204 | "dev": true, 1205 | "requires": { 1206 | "@babel/types": "^7.22.5" 1207 | } 1208 | }, 1209 | "@babel/helper-validator-identifier": { 1210 | "version": "7.22.20", 1211 | "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.22.20.tgz", 1212 | "integrity": "sha512-Y4OZ+ytlatR8AI+8KZfKuL5urKp7qey08ha31L8b3BwewJAoJamTzyvxPR/5D+KkdJCGPq/+8TukHBlY10FX9A==", 1213 | "dev": true 1214 | }, 1215 | "@babel/highlight": { 1216 | "version": "7.22.20", 1217 | "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.22.20.tgz", 1218 | "integrity": "sha512-dkdMCN3py0+ksCgYmGG8jKeGA/8Tk+gJwSYYlFGxG5lmhfKNoAy004YpLxpS1W2J8m/EK2Ew+yOs9pVRwO89mg==", 1219 | "dev": true, 1220 | "requires": { 1221 | "@babel/helper-validator-identifier": "^7.22.20", 1222 | "chalk": "^2.4.2", 1223 | "js-tokens": "^4.0.0" 1224 | } 1225 | }, 1226 | "@babel/parser": { 1227 | "version": "7.23.0", 1228 | "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.23.0.tgz", 1229 | "integrity": "sha512-vvPKKdMemU85V9WE/l5wZEmImpCtLqbnTvqDS2U1fJ96KrxoW7KrXhNsNCblQlg8Ck4b85yxdTyelsMUgFUXiw==", 1230 | "dev": true 1231 | }, 1232 | "@babel/template": { 1233 | "version": "7.22.15", 1234 | "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.22.15.tgz", 1235 | "integrity": "sha512-QPErUVm4uyJa60rkI73qneDacvdvzxshT3kksGqlGWYdOTIUOwJ7RDUL8sGqslY1uXWSL6xMFKEXDS3ox2uF0w==", 1236 | "dev": true, 1237 | "requires": { 1238 | "@babel/code-frame": "^7.22.13", 1239 | "@babel/parser": "^7.22.15", 1240 | "@babel/types": "^7.22.15" 1241 | } 1242 | }, 1243 | "@babel/types": { 1244 | "version": "7.23.0", 1245 | "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.23.0.tgz", 1246 | "integrity": "sha512-0oIyUfKoI3mSqMvsxBdclDwxXKXAUA8v/apZbc+iSyARYou1o8ZGDxbUYyLFoW2arqS2jDGqJuZvv1d/io1axg==", 1247 | "dev": true, 1248 | "requires": { 1249 | "@babel/helper-string-parser": "^7.22.5", 1250 | "@babel/helper-validator-identifier": "^7.22.20", 1251 | "to-fast-properties": "^2.0.0" 1252 | } 1253 | } 1254 | } 1255 | }, 1256 | "@babel/types": { 1257 | "version": "7.16.0", 1258 | "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.16.0.tgz", 1259 | "integrity": "sha512-PJgg/k3SdLsGb3hhisFvtLOw5ts113klrpLuIPtCJIU+BB24fqq6lf8RWqKJEjzqXR9AEH1rIb5XTqwBHB+kQg==", 1260 | "dev": true, 1261 | "requires": { 1262 | "@babel/helper-validator-identifier": "^7.15.7", 1263 | "to-fast-properties": "^2.0.0" 1264 | } 1265 | }, 1266 | "@jridgewell/gen-mapping": { 1267 | "version": "0.3.3", 1268 | "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.3.tgz", 1269 | "integrity": "sha512-HLhSWOLRi875zjjMG/r+Nv0oCW8umGb0BgEhyX3dDX3egwZtB8PqLnjz3yedt8R5StBrzcg4aBpnh8UA9D1BoQ==", 1270 | "dev": true, 1271 | "requires": { 1272 | "@jridgewell/set-array": "^1.0.1", 1273 | "@jridgewell/sourcemap-codec": "^1.4.10", 1274 | "@jridgewell/trace-mapping": "^0.3.9" 1275 | } 1276 | }, 1277 | "@jridgewell/resolve-uri": { 1278 | "version": "3.1.1", 1279 | "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.1.tgz", 1280 | "integrity": "sha512-dSYZh7HhCDtCKm4QakX0xFpsRDqjjtZf/kjI/v3T3Nwt5r8/qz/M19F9ySyOqU94SXBmeG9ttTul+YnR4LOxFA==", 1281 | "dev": true 1282 | }, 1283 | "@jridgewell/set-array": { 1284 | "version": "1.1.2", 1285 | "resolved": "https://registry.npmjs.org/@jridgewell/set-array/-/set-array-1.1.2.tgz", 1286 | "integrity": "sha512-xnkseuNADM0gt2bs+BvhO0p78Mk762YnZdsuzFV018NoG1Sj1SCQvpSqa7XUaTam5vAGasABV9qXASMKnFMwMw==", 1287 | "dev": true 1288 | }, 1289 | "@jridgewell/sourcemap-codec": { 1290 | "version": "1.4.15", 1291 | "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.15.tgz", 1292 | "integrity": "sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg==", 1293 | "dev": true 1294 | }, 1295 | "@jridgewell/trace-mapping": { 1296 | "version": "0.3.19", 1297 | "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.19.tgz", 1298 | "integrity": "sha512-kf37QtfW+Hwx/buWGMPcR60iF9ziHa6r/CZJIHbmcm4+0qrXiVdxegAH0F6yddEVQ7zdkjcGCgCzUu+BcbhQxw==", 1299 | "dev": true, 1300 | "requires": { 1301 | "@jridgewell/resolve-uri": "^3.1.0", 1302 | "@jridgewell/sourcemap-codec": "^1.4.14" 1303 | } 1304 | }, 1305 | "@nicolo-ribaudo/chokidar-2": { 1306 | "version": "2.1.8-no-fsevents.3", 1307 | "resolved": "https://registry.npmjs.org/@nicolo-ribaudo/chokidar-2/-/chokidar-2-2.1.8-no-fsevents.3.tgz", 1308 | "integrity": "sha512-s88O1aVtXftvp5bCPB7WnmXc5IwOZZ7YPuwNPt+GtOOXpPvad1LfbmjYv+qII7zP6RU2QGnqve27dnLycEnyEQ==", 1309 | "dev": true, 1310 | "optional": true 1311 | }, 1312 | "@tensorflow/tfjs": { 1313 | "version": "3.12.0", 1314 | "resolved": "https://registry.npmjs.org/@tensorflow/tfjs/-/tfjs-3.12.0.tgz", 1315 | "integrity": "sha512-Gpala8Lf2DJ3j2hY43gPQ8TIJzw5sYrxfpQF0SBX26/zuHUMaF/DQz4koeRqf9s1t6MAjVbbkXdYKtGeEz4Jrg==", 1316 | "requires": { 1317 | "@tensorflow/tfjs-backend-cpu": "3.12.0", 1318 | "@tensorflow/tfjs-backend-webgl": "3.12.0", 1319 | "@tensorflow/tfjs-converter": "3.12.0", 1320 | "@tensorflow/tfjs-core": "3.12.0", 1321 | "@tensorflow/tfjs-data": "3.12.0", 1322 | "@tensorflow/tfjs-layers": "3.12.0", 1323 | "argparse": "^1.0.10", 1324 | "chalk": "^4.1.0", 1325 | "core-js": "3", 1326 | "regenerator-runtime": "^0.13.5", 1327 | "yargs": "^16.0.3" 1328 | }, 1329 | "dependencies": { 1330 | "ansi-styles": { 1331 | "version": "4.3.0", 1332 | "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", 1333 | "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", 1334 | "requires": { 1335 | "color-convert": "^2.0.1" 1336 | } 1337 | }, 1338 | "chalk": { 1339 | "version": "4.1.2", 1340 | "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", 1341 | "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", 1342 | "requires": { 1343 | "ansi-styles": "^4.1.0", 1344 | "supports-color": "^7.1.0" 1345 | } 1346 | }, 1347 | "cliui": { 1348 | "version": "7.0.4", 1349 | "resolved": "https://registry.npmjs.org/cliui/-/cliui-7.0.4.tgz", 1350 | "integrity": "sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ==", 1351 | "requires": { 1352 | "string-width": "^4.2.0", 1353 | "strip-ansi": "^6.0.0", 1354 | "wrap-ansi": "^7.0.0" 1355 | } 1356 | }, 1357 | "color-convert": { 1358 | "version": "2.0.1", 1359 | "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", 1360 | "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", 1361 | "requires": { 1362 | "color-name": "~1.1.4" 1363 | } 1364 | }, 1365 | "color-name": { 1366 | "version": "1.1.4", 1367 | "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", 1368 | "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" 1369 | }, 1370 | "emoji-regex": { 1371 | "version": "8.0.0", 1372 | "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", 1373 | "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==" 1374 | }, 1375 | "has-flag": { 1376 | "version": "4.0.0", 1377 | "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", 1378 | "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==" 1379 | }, 1380 | "is-fullwidth-code-point": { 1381 | "version": "3.0.0", 1382 | "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", 1383 | "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==" 1384 | }, 1385 | "string-width": { 1386 | "version": "4.2.3", 1387 | "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", 1388 | "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", 1389 | "requires": { 1390 | "emoji-regex": "^8.0.0", 1391 | "is-fullwidth-code-point": "^3.0.0", 1392 | "strip-ansi": "^6.0.1" 1393 | } 1394 | }, 1395 | "strip-ansi": { 1396 | "version": "6.0.1", 1397 | "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", 1398 | "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", 1399 | "requires": { 1400 | "ansi-regex": "^5.0.1" 1401 | } 1402 | }, 1403 | "supports-color": { 1404 | "version": "7.2.0", 1405 | "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", 1406 | "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", 1407 | "requires": { 1408 | "has-flag": "^4.0.0" 1409 | } 1410 | }, 1411 | "wrap-ansi": { 1412 | "version": "7.0.0", 1413 | "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", 1414 | "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", 1415 | "requires": { 1416 | "ansi-styles": "^4.0.0", 1417 | "string-width": "^4.1.0", 1418 | "strip-ansi": "^6.0.0" 1419 | } 1420 | }, 1421 | "yargs": { 1422 | "version": "16.2.0", 1423 | "resolved": "https://registry.npmjs.org/yargs/-/yargs-16.2.0.tgz", 1424 | "integrity": "sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw==", 1425 | "requires": { 1426 | "cliui": "^7.0.2", 1427 | "escalade": "^3.1.1", 1428 | "get-caller-file": "^2.0.5", 1429 | "require-directory": "^2.1.1", 1430 | "string-width": "^4.2.0", 1431 | "y18n": "^5.0.5", 1432 | "yargs-parser": "^20.2.2" 1433 | } 1434 | }, 1435 | "yargs-parser": { 1436 | "version": "20.2.9", 1437 | "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.9.tgz", 1438 | "integrity": "sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w==" 1439 | } 1440 | } 1441 | }, 1442 | "@tensorflow/tfjs-backend-cpu": { 1443 | "version": "3.12.0", 1444 | "resolved": "https://registry.npmjs.org/@tensorflow/tfjs-backend-cpu/-/tfjs-backend-cpu-3.12.0.tgz", 1445 | "integrity": "sha512-UMf/OHHCzm/+oKXtTDnanlyYFNNKKU5u2hJooKak1JqSOEKChBOPYKmxf9VWmY7Pos4GbbKH/V1pLzfLnLq+Bg==", 1446 | "requires": { 1447 | "@types/seedrandom": "2.4.27", 1448 | "seedrandom": "2.4.3" 1449 | } 1450 | }, 1451 | "@tensorflow/tfjs-backend-webgl": { 1452 | "version": "3.12.0", 1453 | "resolved": "https://registry.npmjs.org/@tensorflow/tfjs-backend-webgl/-/tfjs-backend-webgl-3.12.0.tgz", 1454 | "integrity": "sha512-nFiPS7AiDZ+H4RXpx8dSYPWzy3B1zC/aRKwH9uz9MUp1WiHHbYr90+E0ut9HFrIz0cMb0sR7vGU+zkjSZ1rLsA==", 1455 | "requires": { 1456 | "@tensorflow/tfjs-backend-cpu": "3.12.0", 1457 | "@types/offscreencanvas": "~2019.3.0", 1458 | "@types/seedrandom": "2.4.27", 1459 | "@types/webgl-ext": "0.0.30", 1460 | "@types/webgl2": "0.0.6", 1461 | "seedrandom": "2.4.3" 1462 | } 1463 | }, 1464 | "@tensorflow/tfjs-converter": { 1465 | "version": "3.12.0", 1466 | "resolved": "https://registry.npmjs.org/@tensorflow/tfjs-converter/-/tfjs-converter-3.12.0.tgz", 1467 | "integrity": "sha512-WO6FreEB83CgFwvcyrzyaWG5WshanfyhTI6rOqSbjY86+MlJprTn4fuY9qbnYk/gDLhxEaUpYgubamY4g4L76g==" 1468 | }, 1469 | "@tensorflow/tfjs-core": { 1470 | "version": "3.12.0", 1471 | "resolved": "https://registry.npmjs.org/@tensorflow/tfjs-core/-/tfjs-core-3.12.0.tgz", 1472 | "integrity": "sha512-0rXf+aMjfkFLan7qna+L7DjfSZaaRibKgq9XuorjSy9rZcdZLE2IHFTzYR7B8mdlnq2szArKzm+JXqa9grTl7w==", 1473 | "requires": { 1474 | "@types/long": "^4.0.1", 1475 | "@types/offscreencanvas": "~2019.3.0", 1476 | "@types/seedrandom": "2.4.27", 1477 | "@types/webgl-ext": "0.0.30", 1478 | "long": "4.0.0", 1479 | "node-fetch": "~2.6.1", 1480 | "seedrandom": "2.4.3" 1481 | } 1482 | }, 1483 | "@tensorflow/tfjs-data": { 1484 | "version": "3.12.0", 1485 | "resolved": "https://registry.npmjs.org/@tensorflow/tfjs-data/-/tfjs-data-3.12.0.tgz", 1486 | "integrity": "sha512-Q5S0pYgjqqLeFPaoHaEt9KeNFf5BrobcYmLZ9bsUnSowY0Kxz6RvnPWNNaOI3FhgqCF/e+RmGX20J0wx3Ty04Q==", 1487 | "requires": { 1488 | "@types/node-fetch": "^2.1.2", 1489 | "node-fetch": "~2.6.1" 1490 | } 1491 | }, 1492 | "@tensorflow/tfjs-layers": { 1493 | "version": "3.12.0", 1494 | "resolved": "https://registry.npmjs.org/@tensorflow/tfjs-layers/-/tfjs-layers-3.12.0.tgz", 1495 | "integrity": "sha512-GlU9LxDnPg3I3p+MMOYzKgr2NZK2vVmT4/EotwMVIAyhR2WbVFTRP0AXkIrWSoNIJ9v/ryvFEvNNPyNfkXM/xQ==" 1496 | }, 1497 | "@types/estree": { 1498 | "version": "0.0.45", 1499 | "resolved": "https://registry.npmjs.org/@types/estree/-/estree-0.0.45.tgz", 1500 | "integrity": "sha512-jnqIUKDUqJbDIUxm0Uj7bnlMnRm1T/eZ9N+AVMqhPgzrba2GhGG5o/jCTwmdPK709nEZsGoMzXEDUjcXHa3W0g==", 1501 | "dev": true 1502 | }, 1503 | "@types/long": { 1504 | "version": "4.0.1", 1505 | "resolved": "https://registry.npmjs.org/@types/long/-/long-4.0.1.tgz", 1506 | "integrity": "sha512-5tXH6Bx/kNGd3MgffdmP4dy2Z+G4eaXw0SE81Tq3BNadtnMR5/ySMzX4SLEzHJzSmPNn4HIdpQsBvXMUykr58w==" 1507 | }, 1508 | "@types/node": { 1509 | "version": "14.6.0", 1510 | "resolved": "https://registry.npmjs.org/@types/node/-/node-14.6.0.tgz", 1511 | "integrity": "sha512-mikldZQitV94akrc4sCcSjtJfsTKt4p+e/s0AGscVA6XArQ9kFclP+ZiYUMnq987rc6QlYxXv/EivqlfSLxpKA==" 1512 | }, 1513 | "@types/node-fetch": { 1514 | "version": "2.5.12", 1515 | "resolved": "https://registry.npmjs.org/@types/node-fetch/-/node-fetch-2.5.12.tgz", 1516 | "integrity": "sha512-MKgC4dlq4kKNa/mYrwpKfzQMB5X3ee5U6fSprkKpToBqBmX4nFZL9cW5jl6sWn+xpRJ7ypWh2yyqqr8UUCstSw==", 1517 | "requires": { 1518 | "@types/node": "*", 1519 | "form-data": "^3.0.0" 1520 | } 1521 | }, 1522 | "@types/offscreencanvas": { 1523 | "version": "2019.3.0", 1524 | "resolved": "https://registry.npmjs.org/@types/offscreencanvas/-/offscreencanvas-2019.3.0.tgz", 1525 | "integrity": "sha512-esIJx9bQg+QYF0ra8GnvfianIY8qWB0GBx54PK5Eps6m+xTj86KLavHv6qDhzKcu5UUOgNfJ2pWaIIV7TRUd9Q==" 1526 | }, 1527 | "@types/seedrandom": { 1528 | "version": "2.4.27", 1529 | "resolved": "https://registry.npmjs.org/@types/seedrandom/-/seedrandom-2.4.27.tgz", 1530 | "integrity": "sha1-nbVjk33YaRX2kJK8QyWdL0hXjkE=" 1531 | }, 1532 | "@types/webgl-ext": { 1533 | "version": "0.0.30", 1534 | "resolved": "https://registry.npmjs.org/@types/webgl-ext/-/webgl-ext-0.0.30.tgz", 1535 | "integrity": "sha512-LKVgNmBxN0BbljJrVUwkxwRYqzsAEPcZOe6S2T6ZaBDIrFp0qu4FNlpc5sM1tGbXUYFgdVQIoeLk1Y1UoblyEg==" 1536 | }, 1537 | "@types/webgl2": { 1538 | "version": "0.0.6", 1539 | "resolved": "https://registry.npmjs.org/@types/webgl2/-/webgl2-0.0.6.tgz", 1540 | "integrity": "sha512-50GQhDVTq/herLMiqSQkdtRu+d5q/cWHn4VvKJtrj4DJAjo1MNkWYa2MA41BaBO1q1HgsUjuQvEOk0QHvlnAaQ==" 1541 | }, 1542 | "acorn": { 1543 | "version": "7.4.0", 1544 | "resolved": "https://registry.npmjs.org/acorn/-/acorn-7.4.0.tgz", 1545 | "integrity": "sha512-+G7P8jJmCHr+S+cLfQxygbWhXy+8YTVGzAkpEbcLo2mLoL7tij/VG41QSHACSf5QgYRhMZYHuNc6drJaO0Da+w==", 1546 | "dev": true 1547 | }, 1548 | "ansi-colors": { 1549 | "version": "4.1.1", 1550 | "resolved": "https://registry.npmjs.org/ansi-colors/-/ansi-colors-4.1.1.tgz", 1551 | "integrity": "sha512-JoX0apGbHaUJBNl6yF+p6JAFYZ666/hhCGKN5t9QFjbJQKUU/g8MNbFDbvfrgKXvI1QpZplPOnwIo99lX/AAmA==", 1552 | "dev": true 1553 | }, 1554 | "ansi-regex": { 1555 | "version": "5.0.1", 1556 | "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", 1557 | "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==" 1558 | }, 1559 | "ansi-styles": { 1560 | "version": "3.2.1", 1561 | "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", 1562 | "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", 1563 | "dev": true, 1564 | "requires": { 1565 | "color-convert": "^1.9.0" 1566 | } 1567 | }, 1568 | "anymatch": { 1569 | "version": "3.1.2", 1570 | "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.2.tgz", 1571 | "integrity": "sha512-P43ePfOAIupkguHUycrc4qJ9kz8ZiuOUijaETwX7THt0Y/GNK7v0aa8rY816xWjZ7rJdA5XdMcpVFTKMq+RvWg==", 1572 | "dev": true, 1573 | "requires": { 1574 | "normalize-path": "^3.0.0", 1575 | "picomatch": "^2.0.4" 1576 | } 1577 | }, 1578 | "argparse": { 1579 | "version": "1.0.10", 1580 | "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz", 1581 | "integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==", 1582 | "requires": { 1583 | "sprintf-js": "~1.0.2" 1584 | } 1585 | }, 1586 | "asynckit": { 1587 | "version": "0.4.0", 1588 | "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", 1589 | "integrity": "sha1-x57Zf380y48robyXkLzDZkdLS3k=" 1590 | }, 1591 | "babel-plugin-dynamic-import-node": { 1592 | "version": "2.3.3", 1593 | "resolved": "https://registry.npmjs.org/babel-plugin-dynamic-import-node/-/babel-plugin-dynamic-import-node-2.3.3.tgz", 1594 | "integrity": "sha512-jZVI+s9Zg3IqA/kdi0i6UDCybUI3aSBLnglhYbSSjKlV7yF1F/5LWv8MakQmvYpnbJDS6fcBL2KzHSxNCMtWSQ==", 1595 | "dev": true, 1596 | "requires": { 1597 | "object.assign": "^4.1.0" 1598 | } 1599 | }, 1600 | "babel-plugin-polyfill-corejs2": { 1601 | "version": "0.3.0", 1602 | "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-corejs2/-/babel-plugin-polyfill-corejs2-0.3.0.tgz", 1603 | "integrity": "sha512-wMDoBJ6uG4u4PNFh72Ty6t3EgfA91puCuAwKIazbQlci+ENb/UU9A3xG5lutjUIiXCIn1CY5L15r9LimiJyrSA==", 1604 | "dev": true, 1605 | "requires": { 1606 | "@babel/compat-data": "^7.13.11", 1607 | "@babel/helper-define-polyfill-provider": "^0.3.0", 1608 | "semver": "^6.1.1" 1609 | }, 1610 | "dependencies": { 1611 | "semver": { 1612 | "version": "6.3.0", 1613 | "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", 1614 | "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", 1615 | "dev": true 1616 | } 1617 | } 1618 | }, 1619 | "babel-plugin-polyfill-corejs3": { 1620 | "version": "0.4.0", 1621 | "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-corejs3/-/babel-plugin-polyfill-corejs3-0.4.0.tgz", 1622 | "integrity": "sha512-YxFreYwUfglYKdLUGvIF2nJEsGwj+RhWSX/ije3D2vQPOXuyMLMtg/cCGMDpOA7Nd+MwlNdnGODbd2EwUZPlsw==", 1623 | "dev": true, 1624 | "requires": { 1625 | "@babel/helper-define-polyfill-provider": "^0.3.0", 1626 | "core-js-compat": "^3.18.0" 1627 | } 1628 | }, 1629 | "babel-plugin-polyfill-regenerator": { 1630 | "version": "0.3.0", 1631 | "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-regenerator/-/babel-plugin-polyfill-regenerator-0.3.0.tgz", 1632 | "integrity": "sha512-dhAPTDLGoMW5/84wkgwiLRwMnio2i1fUe53EuvtKMv0pn2p3S8OCoV1xAzfJPl0KOX7IB89s2ib85vbYiea3jg==", 1633 | "dev": true, 1634 | "requires": { 1635 | "@babel/helper-define-polyfill-provider": "^0.3.0" 1636 | } 1637 | }, 1638 | "balanced-match": { 1639 | "version": "1.0.0", 1640 | "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz", 1641 | "integrity": "sha1-ibTRmasr7kneFk6gK4nORi1xt2c=", 1642 | "dev": true 1643 | }, 1644 | "binary-extensions": { 1645 | "version": "2.2.0", 1646 | "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.2.0.tgz", 1647 | "integrity": "sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==", 1648 | "dev": true, 1649 | "optional": true 1650 | }, 1651 | "brace-expansion": { 1652 | "version": "1.1.11", 1653 | "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", 1654 | "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", 1655 | "dev": true, 1656 | "requires": { 1657 | "balanced-match": "^1.0.0", 1658 | "concat-map": "0.0.1" 1659 | } 1660 | }, 1661 | "braces": { 1662 | "version": "3.0.3", 1663 | "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.3.tgz", 1664 | "integrity": "sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==", 1665 | "dev": true, 1666 | "requires": { 1667 | "fill-range": "^7.1.1" 1668 | }, 1669 | "dependencies": { 1670 | "fill-range": { 1671 | "version": "7.1.1", 1672 | "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.1.1.tgz", 1673 | "integrity": "sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==", 1674 | "dev": true, 1675 | "requires": { 1676 | "to-regex-range": "^5.0.1" 1677 | } 1678 | } 1679 | } 1680 | }, 1681 | "browser-stdout": { 1682 | "version": "1.3.1", 1683 | "resolved": "https://registry.npmjs.org/browser-stdout/-/browser-stdout-1.3.1.tgz", 1684 | "integrity": "sha512-qhAVI1+Av2X7qelOfAIYwXONood6XlZE/fXaBSmW/T5SzLAmCgzi+eiWE7fUvbHaeNBQH13UftjpXxsfLkMpgw==", 1685 | "dev": true 1686 | }, 1687 | "browserslist": { 1688 | "version": "4.19.1", 1689 | "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.19.1.tgz", 1690 | "integrity": "sha512-u2tbbG5PdKRTUoctO3NBD8FQ5HdPh1ZXPHzp1rwaa5jTc+RV9/+RlWiAIKmjRPQF+xbGM9Kklj5bZQFa2s/38A==", 1691 | "dev": true, 1692 | "requires": { 1693 | "caniuse-lite": "^1.0.30001286", 1694 | "electron-to-chromium": "^1.4.17", 1695 | "escalade": "^3.1.1", 1696 | "node-releases": "^2.0.1", 1697 | "picocolors": "^1.0.0" 1698 | } 1699 | }, 1700 | "camelcase": { 1701 | "version": "6.3.0", 1702 | "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-6.3.0.tgz", 1703 | "integrity": "sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA==", 1704 | "dev": true 1705 | }, 1706 | "caniuse-lite": { 1707 | "version": "1.0.30001291", 1708 | "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001291.tgz", 1709 | "integrity": "sha512-roMV5V0HNGgJ88s42eE70sstqGW/gwFndosYrikHthw98N5tLnOTxFqMLQjZVRxTWFlJ4rn+MsgXrR7MDPY4jA==", 1710 | "dev": true 1711 | }, 1712 | "chalk": { 1713 | "version": "2.4.2", 1714 | "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", 1715 | "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", 1716 | "dev": true, 1717 | "requires": { 1718 | "ansi-styles": "^3.2.1", 1719 | "escape-string-regexp": "^1.0.5", 1720 | "supports-color": "^5.3.0" 1721 | } 1722 | }, 1723 | "chokidar": { 1724 | "version": "3.5.2", 1725 | "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.5.2.tgz", 1726 | "integrity": "sha512-ekGhOnNVPgT77r4K/U3GDhu+FQ2S8TnK/s2KbIGXi0SZWuwkZ2QNyfWdZW+TVfn84DpEP7rLeCt2UI6bJ8GwbQ==", 1727 | "dev": true, 1728 | "optional": true, 1729 | "requires": { 1730 | "anymatch": "~3.1.2", 1731 | "braces": "~3.0.2", 1732 | "fsevents": "~2.3.2", 1733 | "glob-parent": "~5.1.2", 1734 | "is-binary-path": "~2.1.0", 1735 | "is-glob": "~4.0.1", 1736 | "normalize-path": "~3.0.0", 1737 | "readdirp": "~3.6.0" 1738 | } 1739 | }, 1740 | "cliui": { 1741 | "version": "7.0.4", 1742 | "resolved": "https://registry.npmjs.org/cliui/-/cliui-7.0.4.tgz", 1743 | "integrity": "sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ==", 1744 | "dev": true, 1745 | "requires": { 1746 | "string-width": "^4.2.0", 1747 | "strip-ansi": "^6.0.0", 1748 | "wrap-ansi": "^7.0.0" 1749 | } 1750 | }, 1751 | "color-convert": { 1752 | "version": "1.9.3", 1753 | "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", 1754 | "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", 1755 | "dev": true, 1756 | "requires": { 1757 | "color-name": "1.1.3" 1758 | } 1759 | }, 1760 | "color-name": { 1761 | "version": "1.1.3", 1762 | "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", 1763 | "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=", 1764 | "dev": true 1765 | }, 1766 | "combined-stream": { 1767 | "version": "1.0.8", 1768 | "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz", 1769 | "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==", 1770 | "requires": { 1771 | "delayed-stream": "~1.0.0" 1772 | } 1773 | }, 1774 | "commander": { 1775 | "version": "4.1.1", 1776 | "resolved": "https://registry.npmjs.org/commander/-/commander-4.1.1.tgz", 1777 | "integrity": "sha512-NOKm8xhkzAjzFx8B2v5OAHT+u5pRQc2UCa2Vq9jYL/31o2wi9mxBA7LIFs3sV5VSC49z6pEhfbMULvShKj26WA==", 1778 | "dev": true 1779 | }, 1780 | "concat-map": { 1781 | "version": "0.0.1", 1782 | "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", 1783 | "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=", 1784 | "dev": true 1785 | }, 1786 | "convert-source-map": { 1787 | "version": "1.8.0", 1788 | "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.8.0.tgz", 1789 | "integrity": "sha512-+OQdjP49zViI/6i7nIJpA8rAl4sV/JdPfU9nZs3VqOwGIgizICvuN2ru6fMd+4llL0tar18UYJXfZ/TWtmhUjA==", 1790 | "dev": true, 1791 | "requires": { 1792 | "safe-buffer": "~5.1.1" 1793 | } 1794 | }, 1795 | "core-js": { 1796 | "version": "3.20.0", 1797 | "resolved": "https://registry.npmjs.org/core-js/-/core-js-3.20.0.tgz", 1798 | "integrity": "sha512-KjbKU7UEfg4YPpskMtMXPhUKn7m/1OdTHTVjy09ScR2LVaoUXe8Jh0UdvN2EKUR6iKTJph52SJP95mAB0MnVLQ==" 1799 | }, 1800 | "core-js-compat": { 1801 | "version": "3.20.0", 1802 | "resolved": "https://registry.npmjs.org/core-js-compat/-/core-js-compat-3.20.0.tgz", 1803 | "integrity": "sha512-relrah5h+sslXssTTOkvqcC/6RURifB0W5yhYBdBkaPYa5/2KBMiog3XiD+s3TwEHWxInWVv4Jx2/Lw0vng+IQ==", 1804 | "dev": true, 1805 | "requires": { 1806 | "browserslist": "^4.19.1", 1807 | "semver": "7.0.0" 1808 | }, 1809 | "dependencies": { 1810 | "semver": { 1811 | "version": "7.0.0", 1812 | "resolved": "https://registry.npmjs.org/semver/-/semver-7.0.0.tgz", 1813 | "integrity": "sha512-+GB6zVA9LWh6zovYQLALHwv5rb2PHGlJi3lfiqIHxR0uuwCgefcOJc59v9fv1w8GbStwxuuqqAjI9NMAOOgq1A==", 1814 | "dev": true 1815 | } 1816 | } 1817 | }, 1818 | "debug": { 1819 | "version": "4.3.3", 1820 | "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.3.tgz", 1821 | "integrity": "sha512-/zxw5+vh1Tfv+4Qn7a5nsbcJKPaSvCDhojn6FEl9vupwK2VCSDtEiEtqr8DFtzYFOdz63LBkxec7DYuc2jon6Q==", 1822 | "dev": true, 1823 | "requires": { 1824 | "ms": "2.1.2" 1825 | } 1826 | }, 1827 | "decamelize": { 1828 | "version": "4.0.0", 1829 | "resolved": "https://registry.npmjs.org/decamelize/-/decamelize-4.0.0.tgz", 1830 | "integrity": "sha512-9iE1PgSik9HeIIw2JO94IidnE3eBoQrFJ3w7sFuzSX4DpmZ3v5sZpUiV5Swcf6mQEF+Y0ru8Neo+p+nyh2J+hQ==", 1831 | "dev": true 1832 | }, 1833 | "define-properties": { 1834 | "version": "1.1.3", 1835 | "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.1.3.tgz", 1836 | "integrity": "sha512-3MqfYKj2lLzdMSf8ZIZE/V+Zuy+BgD6f164e8K2w7dgnpKArBDerGYpM46IYYcjnkdPNMjPk9A6VFB8+3SKlXQ==", 1837 | "dev": true, 1838 | "requires": { 1839 | "object-keys": "^1.0.12" 1840 | } 1841 | }, 1842 | "delayed-stream": { 1843 | "version": "1.0.0", 1844 | "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", 1845 | "integrity": "sha1-3zrhmayt+31ECqrgsp4icrJOxhk=" 1846 | }, 1847 | "diff": { 1848 | "version": "5.0.0", 1849 | "resolved": "https://registry.npmjs.org/diff/-/diff-5.0.0.tgz", 1850 | "integrity": "sha512-/VTCrvm5Z0JGty/BWHljh+BAiw3IK+2j87NGMu8Nwc/f48WoDAC395uomO9ZD117ZOBaHmkX1oyLvkVM/aIT3w==", 1851 | "dev": true 1852 | }, 1853 | "electron-to-chromium": { 1854 | "version": "1.4.24", 1855 | "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.24.tgz", 1856 | "integrity": "sha512-erwx5r69B/WFfFuF2jcNN0817BfDBdC4765kQ6WltOMuwsimlQo3JTEq0Cle+wpHralwdeX3OfAtw/mHxPK0Wg==", 1857 | "dev": true 1858 | }, 1859 | "emoji-regex": { 1860 | "version": "8.0.0", 1861 | "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", 1862 | "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", 1863 | "dev": true 1864 | }, 1865 | "escalade": { 1866 | "version": "3.1.1", 1867 | "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz", 1868 | "integrity": "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==" 1869 | }, 1870 | "escape-string-regexp": { 1871 | "version": "1.0.5", 1872 | "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", 1873 | "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=", 1874 | "dev": true 1875 | }, 1876 | "esutils": { 1877 | "version": "2.0.3", 1878 | "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz", 1879 | "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==", 1880 | "dev": true 1881 | }, 1882 | "find-up": { 1883 | "version": "5.0.0", 1884 | "resolved": "https://registry.npmjs.org/find-up/-/find-up-5.0.0.tgz", 1885 | "integrity": "sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==", 1886 | "dev": true, 1887 | "requires": { 1888 | "locate-path": "^6.0.0", 1889 | "path-exists": "^4.0.0" 1890 | } 1891 | }, 1892 | "flat": { 1893 | "version": "5.0.2", 1894 | "resolved": "https://registry.npmjs.org/flat/-/flat-5.0.2.tgz", 1895 | "integrity": "sha512-b6suED+5/3rTpUBdG1gupIl8MPFCAMA0QXwmljLhvCUKcUvdE4gWky9zpuGCcXHOsz4J9wPGNWq6OKpmIzz3hQ==", 1896 | "dev": true 1897 | }, 1898 | "form-data": { 1899 | "version": "3.0.1", 1900 | "resolved": "https://registry.npmjs.org/form-data/-/form-data-3.0.1.tgz", 1901 | "integrity": "sha512-RHkBKtLWUVwd7SqRIvCZMEvAMoGUp0XU+seQiZejj0COz3RI3hWP4sCv3gZWWLjJTd7rGwcsF5eKZGii0r/hbg==", 1902 | "requires": { 1903 | "asynckit": "^0.4.0", 1904 | "combined-stream": "^1.0.8", 1905 | "mime-types": "^2.1.12" 1906 | } 1907 | }, 1908 | "fs-readdir-recursive": { 1909 | "version": "1.1.0", 1910 | "resolved": "https://registry.npmjs.org/fs-readdir-recursive/-/fs-readdir-recursive-1.1.0.tgz", 1911 | "integrity": "sha512-GNanXlVr2pf02+sPN40XN8HG+ePaNcvM0q5mZBd668Obwb0yD5GiUbZOFgwn8kGMY6I3mdyDJzieUy3PTYyTRA==", 1912 | "dev": true 1913 | }, 1914 | "fs.realpath": { 1915 | "version": "1.0.0", 1916 | "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", 1917 | "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=", 1918 | "dev": true 1919 | }, 1920 | "fsevents": { 1921 | "version": "2.3.2", 1922 | "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz", 1923 | "integrity": "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==", 1924 | "dev": true, 1925 | "optional": true 1926 | }, 1927 | "function-bind": { 1928 | "version": "1.1.1", 1929 | "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz", 1930 | "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==", 1931 | "dev": true 1932 | }, 1933 | "gensync": { 1934 | "version": "1.0.0-beta.2", 1935 | "resolved": "https://registry.npmjs.org/gensync/-/gensync-1.0.0-beta.2.tgz", 1936 | "integrity": "sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==", 1937 | "dev": true 1938 | }, 1939 | "get-caller-file": { 1940 | "version": "2.0.5", 1941 | "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz", 1942 | "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==" 1943 | }, 1944 | "glob": { 1945 | "version": "7.2.0", 1946 | "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.0.tgz", 1947 | "integrity": "sha512-lmLf6gtyrPq8tTjSmrO94wBeQbFR3HbLHbuyD69wuyQkImp2hWqMGB47OX65FBkPffO641IP9jWa1z4ivqG26Q==", 1948 | "dev": true, 1949 | "requires": { 1950 | "fs.realpath": "^1.0.0", 1951 | "inflight": "^1.0.4", 1952 | "inherits": "2", 1953 | "minimatch": "^3.0.4", 1954 | "once": "^1.3.0", 1955 | "path-is-absolute": "^1.0.0" 1956 | } 1957 | }, 1958 | "glob-parent": { 1959 | "version": "5.1.2", 1960 | "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", 1961 | "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", 1962 | "dev": true, 1963 | "requires": { 1964 | "is-glob": "^4.0.1" 1965 | } 1966 | }, 1967 | "globals": { 1968 | "version": "11.12.0", 1969 | "resolved": "https://registry.npmjs.org/globals/-/globals-11.12.0.tgz", 1970 | "integrity": "sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==", 1971 | "dev": true 1972 | }, 1973 | "has": { 1974 | "version": "1.0.3", 1975 | "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz", 1976 | "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==", 1977 | "dev": true, 1978 | "requires": { 1979 | "function-bind": "^1.1.1" 1980 | } 1981 | }, 1982 | "has-flag": { 1983 | "version": "3.0.0", 1984 | "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", 1985 | "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=", 1986 | "dev": true 1987 | }, 1988 | "has-symbols": { 1989 | "version": "1.0.1", 1990 | "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.1.tgz", 1991 | "integrity": "sha512-PLcsoqu++dmEIZB+6totNFKq/7Do+Z0u4oT0zKOJNl3lYK6vGwwu2hjHs+68OEZbTjiUE9bgOABXbP/GvrS0Kg==", 1992 | "dev": true 1993 | }, 1994 | "he": { 1995 | "version": "1.2.0", 1996 | "resolved": "https://registry.npmjs.org/he/-/he-1.2.0.tgz", 1997 | "integrity": "sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw==", 1998 | "dev": true 1999 | }, 2000 | "inflight": { 2001 | "version": "1.0.6", 2002 | "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", 2003 | "integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=", 2004 | "dev": true, 2005 | "requires": { 2006 | "once": "^1.3.0", 2007 | "wrappy": "1" 2008 | } 2009 | }, 2010 | "inherits": { 2011 | "version": "2.0.4", 2012 | "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", 2013 | "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", 2014 | "dev": true 2015 | }, 2016 | "is-binary-path": { 2017 | "version": "2.1.0", 2018 | "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz", 2019 | "integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==", 2020 | "dev": true, 2021 | "requires": { 2022 | "binary-extensions": "^2.0.0" 2023 | } 2024 | }, 2025 | "is-core-module": { 2026 | "version": "2.8.0", 2027 | "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.8.0.tgz", 2028 | "integrity": "sha512-vd15qHsaqrRL7dtH6QNuy0ndJmRDrS9HAM1CAiSifNUFv4x1a0CCVsj18hJ1mShxIG6T2i1sO78MkP56r0nYRw==", 2029 | "dev": true, 2030 | "requires": { 2031 | "has": "^1.0.3" 2032 | } 2033 | }, 2034 | "is-extglob": { 2035 | "version": "2.1.1", 2036 | "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", 2037 | "integrity": "sha1-qIwCU1eR8C7TfHahueqXc8gz+MI=", 2038 | "dev": true, 2039 | "optional": true 2040 | }, 2041 | "is-fullwidth-code-point": { 2042 | "version": "3.0.0", 2043 | "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", 2044 | "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", 2045 | "dev": true 2046 | }, 2047 | "is-glob": { 2048 | "version": "4.0.3", 2049 | "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", 2050 | "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", 2051 | "dev": true, 2052 | "requires": { 2053 | "is-extglob": "^2.1.1" 2054 | } 2055 | }, 2056 | "is-number": { 2057 | "version": "7.0.0", 2058 | "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", 2059 | "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", 2060 | "dev": true, 2061 | "optional": true 2062 | }, 2063 | "is-plain-obj": { 2064 | "version": "2.1.0", 2065 | "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-2.1.0.tgz", 2066 | "integrity": "sha512-YWnfyRwxL/+SsrWYfOpUtz5b3YD+nyfkHvjbcanzk8zgyO4ASD67uVMRt8k5bM4lLMDnXfriRhOpemw+NfT1eA==", 2067 | "dev": true 2068 | }, 2069 | "is-unicode-supported": { 2070 | "version": "0.1.0", 2071 | "resolved": "https://registry.npmjs.org/is-unicode-supported/-/is-unicode-supported-0.1.0.tgz", 2072 | "integrity": "sha512-knxG2q4UC3u8stRGyAVJCOdxFmv5DZiRcdlIaAQXAbSfJya+OhopNotLQrstBhququ4ZpuKbDc/8S6mgXgPFPw==", 2073 | "dev": true 2074 | }, 2075 | "js-tokens": { 2076 | "version": "4.0.0", 2077 | "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", 2078 | "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==", 2079 | "dev": true 2080 | }, 2081 | "js-yaml": { 2082 | "version": "4.1.0", 2083 | "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz", 2084 | "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==", 2085 | "dev": true, 2086 | "requires": { 2087 | "argparse": "^2.0.1" 2088 | }, 2089 | "dependencies": { 2090 | "argparse": { 2091 | "version": "2.0.1", 2092 | "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", 2093 | "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==", 2094 | "dev": true 2095 | } 2096 | } 2097 | }, 2098 | "jsesc": { 2099 | "version": "2.5.2", 2100 | "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-2.5.2.tgz", 2101 | "integrity": "sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA==", 2102 | "dev": true 2103 | }, 2104 | "json5": { 2105 | "version": "2.2.3", 2106 | "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.3.tgz", 2107 | "integrity": "sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==", 2108 | "dev": true 2109 | }, 2110 | "locate-path": { 2111 | "version": "6.0.0", 2112 | "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz", 2113 | "integrity": "sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==", 2114 | "dev": true, 2115 | "requires": { 2116 | "p-locate": "^5.0.0" 2117 | } 2118 | }, 2119 | "lodash.debounce": { 2120 | "version": "4.0.8", 2121 | "resolved": "https://registry.npmjs.org/lodash.debounce/-/lodash.debounce-4.0.8.tgz", 2122 | "integrity": "sha1-gteb/zCmfEAF/9XiUVMArZyk168=", 2123 | "dev": true 2124 | }, 2125 | "log-symbols": { 2126 | "version": "4.1.0", 2127 | "resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-4.1.0.tgz", 2128 | "integrity": "sha512-8XPvpAA8uyhfteu8pIvQxpJZ7SYYdpUivZpGy6sFsBuKRY/7rQGavedeB8aK+Zkyq6upMFVL/9AW6vOYzfRyLg==", 2129 | "dev": true, 2130 | "requires": { 2131 | "chalk": "^4.1.0", 2132 | "is-unicode-supported": "^0.1.0" 2133 | }, 2134 | "dependencies": { 2135 | "ansi-styles": { 2136 | "version": "4.3.0", 2137 | "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", 2138 | "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", 2139 | "dev": true, 2140 | "requires": { 2141 | "color-convert": "^2.0.1" 2142 | } 2143 | }, 2144 | "chalk": { 2145 | "version": "4.1.2", 2146 | "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", 2147 | "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", 2148 | "dev": true, 2149 | "requires": { 2150 | "ansi-styles": "^4.1.0", 2151 | "supports-color": "^7.1.0" 2152 | } 2153 | }, 2154 | "color-convert": { 2155 | "version": "2.0.1", 2156 | "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", 2157 | "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", 2158 | "dev": true, 2159 | "requires": { 2160 | "color-name": "~1.1.4" 2161 | } 2162 | }, 2163 | "color-name": { 2164 | "version": "1.1.4", 2165 | "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", 2166 | "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", 2167 | "dev": true 2168 | }, 2169 | "has-flag": { 2170 | "version": "4.0.0", 2171 | "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", 2172 | "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", 2173 | "dev": true 2174 | }, 2175 | "supports-color": { 2176 | "version": "7.2.0", 2177 | "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", 2178 | "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", 2179 | "dev": true, 2180 | "requires": { 2181 | "has-flag": "^4.0.0" 2182 | } 2183 | } 2184 | } 2185 | }, 2186 | "long": { 2187 | "version": "4.0.0", 2188 | "resolved": "https://registry.npmjs.org/long/-/long-4.0.0.tgz", 2189 | "integrity": "sha512-XsP+KhQif4bjX1kbuSiySJFNAehNxgLb6hPRGJ9QsUr8ajHkuXGdrHmFUTUUXhDwVX2R5bY4JNZEwbUiMhV+MA==" 2190 | }, 2191 | "make-dir": { 2192 | "version": "2.1.0", 2193 | "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-2.1.0.tgz", 2194 | "integrity": "sha512-LS9X+dc8KLxXCb8dni79fLIIUA5VyZoyjSMCwTluaXA0o27cCK0bhXkpgw+sTXVpPy/lSO57ilRixqk0vDmtRA==", 2195 | "dev": true, 2196 | "requires": { 2197 | "pify": "^4.0.1", 2198 | "semver": "^5.6.0" 2199 | } 2200 | }, 2201 | "mime-db": { 2202 | "version": "1.51.0", 2203 | "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.51.0.tgz", 2204 | "integrity": "sha512-5y8A56jg7XVQx2mbv1lu49NR4dokRnhZYTtL+KGfaa27uq4pSTXkwQkFJl4pkRMyNFz/EtYDSkiiEHx3F7UN6g==" 2205 | }, 2206 | "mime-types": { 2207 | "version": "2.1.34", 2208 | "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.34.tgz", 2209 | "integrity": "sha512-6cP692WwGIs9XXdOO4++N+7qjqv0rqxxVvJ3VHPh/Sc9mVZcQP+ZGhkKiTvWMQRr2tbHkJP/Yn7Y0npb3ZBs4A==", 2210 | "requires": { 2211 | "mime-db": "1.51.0" 2212 | } 2213 | }, 2214 | "minimatch": { 2215 | "version": "3.1.2", 2216 | "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", 2217 | "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", 2218 | "dev": true, 2219 | "requires": { 2220 | "brace-expansion": "^1.1.7" 2221 | } 2222 | }, 2223 | "mocha": { 2224 | "version": "10.2.0", 2225 | "resolved": "https://registry.npmjs.org/mocha/-/mocha-10.2.0.tgz", 2226 | "integrity": "sha512-IDY7fl/BecMwFHzoqF2sg/SHHANeBoMMXFlS9r0OXKDssYE1M5O43wUY/9BVPeIvfH2zmEbBfseqN9gBQZzXkg==", 2227 | "dev": true, 2228 | "requires": { 2229 | "ansi-colors": "4.1.1", 2230 | "browser-stdout": "1.3.1", 2231 | "chokidar": "3.5.3", 2232 | "debug": "4.3.4", 2233 | "diff": "5.0.0", 2234 | "escape-string-regexp": "4.0.0", 2235 | "find-up": "5.0.0", 2236 | "glob": "7.2.0", 2237 | "he": "1.2.0", 2238 | "js-yaml": "4.1.0", 2239 | "log-symbols": "4.1.0", 2240 | "minimatch": "5.0.1", 2241 | "ms": "2.1.3", 2242 | "nanoid": "3.3.3", 2243 | "serialize-javascript": "6.0.0", 2244 | "strip-json-comments": "3.1.1", 2245 | "supports-color": "8.1.1", 2246 | "workerpool": "6.2.1", 2247 | "yargs": "16.2.0", 2248 | "yargs-parser": "20.2.4", 2249 | "yargs-unparser": "2.0.0" 2250 | }, 2251 | "dependencies": { 2252 | "brace-expansion": { 2253 | "version": "2.0.1", 2254 | "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", 2255 | "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", 2256 | "dev": true, 2257 | "requires": { 2258 | "balanced-match": "^1.0.0" 2259 | } 2260 | }, 2261 | "chokidar": { 2262 | "version": "3.5.3", 2263 | "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.5.3.tgz", 2264 | "integrity": "sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw==", 2265 | "dev": true, 2266 | "requires": { 2267 | "anymatch": "~3.1.2", 2268 | "braces": "~3.0.2", 2269 | "fsevents": "~2.3.2", 2270 | "glob-parent": "~5.1.2", 2271 | "is-binary-path": "~2.1.0", 2272 | "is-glob": "~4.0.1", 2273 | "normalize-path": "~3.0.0", 2274 | "readdirp": "~3.6.0" 2275 | } 2276 | }, 2277 | "debug": { 2278 | "version": "4.3.4", 2279 | "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", 2280 | "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", 2281 | "dev": true, 2282 | "requires": { 2283 | "ms": "2.1.2" 2284 | }, 2285 | "dependencies": { 2286 | "ms": { 2287 | "version": "2.1.2", 2288 | "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", 2289 | "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", 2290 | "dev": true 2291 | } 2292 | } 2293 | }, 2294 | "escape-string-regexp": { 2295 | "version": "4.0.0", 2296 | "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz", 2297 | "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==", 2298 | "dev": true 2299 | }, 2300 | "has-flag": { 2301 | "version": "4.0.0", 2302 | "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", 2303 | "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", 2304 | "dev": true 2305 | }, 2306 | "minimatch": { 2307 | "version": "5.0.1", 2308 | "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.0.1.tgz", 2309 | "integrity": "sha512-nLDxIFRyhDblz3qMuq+SoRZED4+miJ/G+tdDrjkkkRnjAsBexeGpgjLEQ0blJy7rHhR2b93rhQY4SvyWu9v03g==", 2310 | "dev": true, 2311 | "requires": { 2312 | "brace-expansion": "^2.0.1" 2313 | } 2314 | }, 2315 | "ms": { 2316 | "version": "2.1.3", 2317 | "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", 2318 | "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", 2319 | "dev": true 2320 | }, 2321 | "supports-color": { 2322 | "version": "8.1.1", 2323 | "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz", 2324 | "integrity": "sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==", 2325 | "dev": true, 2326 | "requires": { 2327 | "has-flag": "^4.0.0" 2328 | } 2329 | } 2330 | } 2331 | }, 2332 | "ms": { 2333 | "version": "2.1.2", 2334 | "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", 2335 | "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", 2336 | "dev": true 2337 | }, 2338 | "nanoid": { 2339 | "version": "3.3.3", 2340 | "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.3.tgz", 2341 | "integrity": "sha512-p1sjXuopFs0xg+fPASzQ28agW1oHD7xDsd9Xkf3T15H3c/cifrFHVwrh74PdoklAPi+i7MdRsE47vm2r6JoB+w==", 2342 | "dev": true 2343 | }, 2344 | "node-fetch": { 2345 | "version": "2.6.7", 2346 | "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.7.tgz", 2347 | "integrity": "sha512-ZjMPFEfVx5j+y2yF35Kzx5sF7kDzxuDj6ziH4FFbOp87zKDZNx8yExJIb05OGF4Nlt9IHFIMBkRl41VdvcNdbQ==", 2348 | "requires": { 2349 | "whatwg-url": "^5.0.0" 2350 | } 2351 | }, 2352 | "node-releases": { 2353 | "version": "2.0.1", 2354 | "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.1.tgz", 2355 | "integrity": "sha512-CqyzN6z7Q6aMeF/ktcMVTzhAHCEpf8SOarwpzpf8pNBY2k5/oM34UHldUwp8VKI7uxct2HxSRdJjBaZeESzcxA==", 2356 | "dev": true 2357 | }, 2358 | "normalize-path": { 2359 | "version": "3.0.0", 2360 | "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz", 2361 | "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==", 2362 | "dev": true 2363 | }, 2364 | "object-keys": { 2365 | "version": "1.1.1", 2366 | "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz", 2367 | "integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==", 2368 | "dev": true 2369 | }, 2370 | "object.assign": { 2371 | "version": "4.1.0", 2372 | "resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.0.tgz", 2373 | "integrity": "sha512-exHJeq6kBKj58mqGyTQ9DFvrZC/eR6OwxzoM9YRoGBqrXYonaFyGiFMuc9VZrXf7DarreEwMpurG3dd+CNyW5w==", 2374 | "dev": true, 2375 | "requires": { 2376 | "define-properties": "^1.1.2", 2377 | "function-bind": "^1.1.1", 2378 | "has-symbols": "^1.0.0", 2379 | "object-keys": "^1.0.11" 2380 | } 2381 | }, 2382 | "once": { 2383 | "version": "1.4.0", 2384 | "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", 2385 | "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=", 2386 | "dev": true, 2387 | "requires": { 2388 | "wrappy": "1" 2389 | } 2390 | }, 2391 | "p-limit": { 2392 | "version": "3.1.0", 2393 | "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz", 2394 | "integrity": "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==", 2395 | "dev": true, 2396 | "requires": { 2397 | "yocto-queue": "^0.1.0" 2398 | } 2399 | }, 2400 | "p-locate": { 2401 | "version": "5.0.0", 2402 | "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-5.0.0.tgz", 2403 | "integrity": "sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==", 2404 | "dev": true, 2405 | "requires": { 2406 | "p-limit": "^3.0.2" 2407 | } 2408 | }, 2409 | "path-exists": { 2410 | "version": "4.0.0", 2411 | "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", 2412 | "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", 2413 | "dev": true 2414 | }, 2415 | "path-is-absolute": { 2416 | "version": "1.0.1", 2417 | "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", 2418 | "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=", 2419 | "dev": true 2420 | }, 2421 | "path-parse": { 2422 | "version": "1.0.7", 2423 | "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz", 2424 | "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==", 2425 | "dev": true 2426 | }, 2427 | "picocolors": { 2428 | "version": "1.0.0", 2429 | "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz", 2430 | "integrity": "sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==", 2431 | "dev": true 2432 | }, 2433 | "picomatch": { 2434 | "version": "2.3.0", 2435 | "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.0.tgz", 2436 | "integrity": "sha512-lY1Q/PiJGC2zOv/z391WOTD+Z02bCgsFfvxoXXf6h7kv9o+WmsmzYqrAwY63sNgOxE4xEdq0WyUnXfKeBrSvYw==", 2437 | "dev": true, 2438 | "optional": true 2439 | }, 2440 | "pify": { 2441 | "version": "4.0.1", 2442 | "resolved": "https://registry.npmjs.org/pify/-/pify-4.0.1.tgz", 2443 | "integrity": "sha512-uB80kBFb/tfd68bVleG9T5GGsGPjJrLAUpR5PZIrhBnIaRTQRjqdJSsIKkOP6OAIFbj7GOrcudc5pNjZ+geV2g==", 2444 | "dev": true 2445 | }, 2446 | "randombytes": { 2447 | "version": "2.1.0", 2448 | "resolved": "https://registry.npmjs.org/randombytes/-/randombytes-2.1.0.tgz", 2449 | "integrity": "sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ==", 2450 | "dev": true, 2451 | "requires": { 2452 | "safe-buffer": "^5.1.0" 2453 | } 2454 | }, 2455 | "readdirp": { 2456 | "version": "3.6.0", 2457 | "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz", 2458 | "integrity": "sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==", 2459 | "dev": true, 2460 | "requires": { 2461 | "picomatch": "^2.2.1" 2462 | } 2463 | }, 2464 | "regenerate": { 2465 | "version": "1.4.2", 2466 | "resolved": "https://registry.npmjs.org/regenerate/-/regenerate-1.4.2.tgz", 2467 | "integrity": "sha512-zrceR/XhGYU/d/opr2EKO7aRHUeiBI8qjtfHqADTwZd6Szfy16la6kqD0MIUs5z5hx6AaKa+PixpPrR289+I0A==", 2468 | "dev": true 2469 | }, 2470 | "regenerate-unicode-properties": { 2471 | "version": "9.0.0", 2472 | "resolved": "https://registry.npmjs.org/regenerate-unicode-properties/-/regenerate-unicode-properties-9.0.0.tgz", 2473 | "integrity": "sha512-3E12UeNSPfjrgwjkR81m5J7Aw/T55Tu7nUyZVQYCKEOs+2dkxEY+DpPtZzO4YruuiPb7NkYLVcyJC4+zCbk5pA==", 2474 | "dev": true, 2475 | "requires": { 2476 | "regenerate": "^1.4.2" 2477 | } 2478 | }, 2479 | "regenerator-runtime": { 2480 | "version": "0.13.7", 2481 | "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.7.tgz", 2482 | "integrity": "sha512-a54FxoJDIr27pgf7IgeQGxmqUNYrcV338lf/6gH456HZ/PhX+5BcwHXG9ajESmwe6WRO0tAzRUrRmNONWgkrew==" 2483 | }, 2484 | "regenerator-transform": { 2485 | "version": "0.14.5", 2486 | "resolved": "https://registry.npmjs.org/regenerator-transform/-/regenerator-transform-0.14.5.tgz", 2487 | "integrity": "sha512-eOf6vka5IO151Jfsw2NO9WpGX58W6wWmefK3I1zEGr0lOD0u8rwPaNqQL1aRxUaxLeKO3ArNh3VYg1KbaD+FFw==", 2488 | "dev": true, 2489 | "requires": { 2490 | "@babel/runtime": "^7.8.4" 2491 | } 2492 | }, 2493 | "regexpu-core": { 2494 | "version": "4.8.0", 2495 | "resolved": "https://registry.npmjs.org/regexpu-core/-/regexpu-core-4.8.0.tgz", 2496 | "integrity": "sha512-1F6bYsoYiz6is+oz70NWur2Vlh9KWtswuRuzJOfeYUrfPX2o8n74AnUVaOGDbUqVGO9fNHu48/pjJO4sNVwsOg==", 2497 | "dev": true, 2498 | "requires": { 2499 | "regenerate": "^1.4.2", 2500 | "regenerate-unicode-properties": "^9.0.0", 2501 | "regjsgen": "^0.5.2", 2502 | "regjsparser": "^0.7.0", 2503 | "unicode-match-property-ecmascript": "^2.0.0", 2504 | "unicode-match-property-value-ecmascript": "^2.0.0" 2505 | } 2506 | }, 2507 | "regjsgen": { 2508 | "version": "0.5.2", 2509 | "resolved": "https://registry.npmjs.org/regjsgen/-/regjsgen-0.5.2.tgz", 2510 | "integrity": "sha512-OFFT3MfrH90xIW8OOSyUrk6QHD5E9JOTeGodiJeBS3J6IwlgzJMNE/1bZklWz5oTg+9dCMyEetclvCVXOPoN3A==", 2511 | "dev": true 2512 | }, 2513 | "regjsparser": { 2514 | "version": "0.7.0", 2515 | "resolved": "https://registry.npmjs.org/regjsparser/-/regjsparser-0.7.0.tgz", 2516 | "integrity": "sha512-A4pcaORqmNMDVwUjWoTzuhwMGpP+NykpfqAsEgI1FSH/EzC7lrN5TMd+kN8YCovX+jMpu8eaqXgXPCa0g8FQNQ==", 2517 | "dev": true, 2518 | "requires": { 2519 | "jsesc": "~0.5.0" 2520 | }, 2521 | "dependencies": { 2522 | "jsesc": { 2523 | "version": "0.5.0", 2524 | "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-0.5.0.tgz", 2525 | "integrity": "sha1-597mbjXW/Bb3EP6R1c9p9w8IkR0=", 2526 | "dev": true 2527 | } 2528 | } 2529 | }, 2530 | "require-directory": { 2531 | "version": "2.1.1", 2532 | "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", 2533 | "integrity": "sha1-jGStX9MNqxyXbiNE/+f3kqam30I=" 2534 | }, 2535 | "resolve": { 2536 | "version": "1.20.0", 2537 | "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.20.0.tgz", 2538 | "integrity": "sha512-wENBPt4ySzg4ybFQW2TT1zMQucPK95HSh/nq2CFTZVOGut2+pQvSsgtda4d26YrYcr067wjbmzOG8byDPBX63A==", 2539 | "dev": true, 2540 | "requires": { 2541 | "is-core-module": "^2.2.0", 2542 | "path-parse": "^1.0.6" 2543 | } 2544 | }, 2545 | "rollup": { 2546 | "version": "1.32.1", 2547 | "resolved": "https://registry.npmjs.org/rollup/-/rollup-1.32.1.tgz", 2548 | "integrity": "sha512-/2HA0Ec70TvQnXdzynFffkjA6XN+1e2pEv/uKS5Ulca40g2L7KuOE3riasHoNVHOsFD5KKZgDsMk1CP3Tw9s+A==", 2549 | "dev": true, 2550 | "requires": { 2551 | "@types/estree": "*", 2552 | "@types/node": "*", 2553 | "acorn": "^7.1.0" 2554 | } 2555 | }, 2556 | "safe-buffer": { 2557 | "version": "5.1.2", 2558 | "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", 2559 | "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==", 2560 | "dev": true 2561 | }, 2562 | "seedrandom": { 2563 | "version": "2.4.3", 2564 | "resolved": "https://registry.npmjs.org/seedrandom/-/seedrandom-2.4.3.tgz", 2565 | "integrity": "sha1-JDhQTa0zkXMUv/GKxNeU8W1qrsw=" 2566 | }, 2567 | "semver": { 2568 | "version": "5.7.1", 2569 | "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", 2570 | "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", 2571 | "dev": true 2572 | }, 2573 | "serialize-javascript": { 2574 | "version": "6.0.0", 2575 | "resolved": "https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-6.0.0.tgz", 2576 | "integrity": "sha512-Qr3TosvguFt8ePWqsvRfrKyQXIiW+nGbYpy8XK24NQHE83caxWt+mIymTT19DGFbNWNLfEwsrkSmN64lVWB9ag==", 2577 | "dev": true, 2578 | "requires": { 2579 | "randombytes": "^2.1.0" 2580 | } 2581 | }, 2582 | "slash": { 2583 | "version": "2.0.0", 2584 | "resolved": "https://registry.npmjs.org/slash/-/slash-2.0.0.tgz", 2585 | "integrity": "sha512-ZYKh3Wh2z1PpEXWr0MpSBZ0V6mZHAQfYevttO11c51CaWjGTaadiKZ+wVt1PbMlDV5qhMFslpZCemhwOK7C89A==", 2586 | "dev": true 2587 | }, 2588 | "source-map": { 2589 | "version": "0.5.7", 2590 | "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", 2591 | "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=", 2592 | "dev": true 2593 | }, 2594 | "sprintf-js": { 2595 | "version": "1.0.3", 2596 | "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz", 2597 | "integrity": "sha1-BOaSb2YolTVPPdAVIDYzuFcpfiw=" 2598 | }, 2599 | "string-width": { 2600 | "version": "4.2.3", 2601 | "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", 2602 | "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", 2603 | "dev": true, 2604 | "requires": { 2605 | "emoji-regex": "^8.0.0", 2606 | "is-fullwidth-code-point": "^3.0.0", 2607 | "strip-ansi": "^6.0.1" 2608 | } 2609 | }, 2610 | "strip-ansi": { 2611 | "version": "6.0.1", 2612 | "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", 2613 | "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", 2614 | "dev": true, 2615 | "requires": { 2616 | "ansi-regex": "^5.0.1" 2617 | } 2618 | }, 2619 | "strip-json-comments": { 2620 | "version": "3.1.1", 2621 | "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz", 2622 | "integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==", 2623 | "dev": true 2624 | }, 2625 | "supports-color": { 2626 | "version": "5.5.0", 2627 | "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", 2628 | "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", 2629 | "dev": true, 2630 | "requires": { 2631 | "has-flag": "^3.0.0" 2632 | } 2633 | }, 2634 | "to-fast-properties": { 2635 | "version": "2.0.0", 2636 | "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz", 2637 | "integrity": "sha1-3F5pjL0HkmW8c+A3doGk5Og/YW4=", 2638 | "dev": true 2639 | }, 2640 | "to-regex-range": { 2641 | "version": "5.0.1", 2642 | "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", 2643 | "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", 2644 | "dev": true, 2645 | "requires": { 2646 | "is-number": "^7.0.0" 2647 | } 2648 | }, 2649 | "tr46": { 2650 | "version": "0.0.3", 2651 | "resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz", 2652 | "integrity": "sha1-gYT9NH2snNwYWZLzpmIuFLnZq2o=" 2653 | }, 2654 | "unicode-canonical-property-names-ecmascript": { 2655 | "version": "2.0.0", 2656 | "resolved": "https://registry.npmjs.org/unicode-canonical-property-names-ecmascript/-/unicode-canonical-property-names-ecmascript-2.0.0.tgz", 2657 | "integrity": "sha512-yY5PpDlfVIU5+y/BSCxAJRBIS1Zc2dDG3Ujq+sR0U+JjUevW2JhocOF+soROYDSaAezOzOKuyyixhD6mBknSmQ==", 2658 | "dev": true 2659 | }, 2660 | "unicode-match-property-ecmascript": { 2661 | "version": "2.0.0", 2662 | "resolved": "https://registry.npmjs.org/unicode-match-property-ecmascript/-/unicode-match-property-ecmascript-2.0.0.tgz", 2663 | "integrity": "sha512-5kaZCrbp5mmbz5ulBkDkbY0SsPOjKqVS35VpL9ulMPfSl0J0Xsm+9Evphv9CoIZFwre7aJoa94AY6seMKGVN5Q==", 2664 | "dev": true, 2665 | "requires": { 2666 | "unicode-canonical-property-names-ecmascript": "^2.0.0", 2667 | "unicode-property-aliases-ecmascript": "^2.0.0" 2668 | } 2669 | }, 2670 | "unicode-match-property-value-ecmascript": { 2671 | "version": "2.0.0", 2672 | "resolved": "https://registry.npmjs.org/unicode-match-property-value-ecmascript/-/unicode-match-property-value-ecmascript-2.0.0.tgz", 2673 | "integrity": "sha512-7Yhkc0Ye+t4PNYzOGKedDhXbYIBe1XEQYQxOPyhcXNMJ0WCABqqj6ckydd6pWRZTHV4GuCPKdBAUiMc60tsKVw==", 2674 | "dev": true 2675 | }, 2676 | "unicode-property-aliases-ecmascript": { 2677 | "version": "2.0.0", 2678 | "resolved": "https://registry.npmjs.org/unicode-property-aliases-ecmascript/-/unicode-property-aliases-ecmascript-2.0.0.tgz", 2679 | "integrity": "sha512-5Zfuy9q/DFr4tfO7ZPeVXb1aPoeQSdeFMLpYuFebehDAhbuevLs5yxSZmIFN1tP5F9Wl4IpJrYojg85/zgyZHQ==", 2680 | "dev": true 2681 | }, 2682 | "webidl-conversions": { 2683 | "version": "3.0.1", 2684 | "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz", 2685 | "integrity": "sha1-JFNCdeKnvGvnvIZhHMFq4KVlSHE=" 2686 | }, 2687 | "whatwg-url": { 2688 | "version": "5.0.0", 2689 | "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-5.0.0.tgz", 2690 | "integrity": "sha1-lmRU6HZUYuN2RNNib2dCzotwll0=", 2691 | "requires": { 2692 | "tr46": "~0.0.3", 2693 | "webidl-conversions": "^3.0.0" 2694 | } 2695 | }, 2696 | "workerpool": { 2697 | "version": "6.2.1", 2698 | "resolved": "https://registry.npmjs.org/workerpool/-/workerpool-6.2.1.tgz", 2699 | "integrity": "sha512-ILEIE97kDZvF9Wb9f6h5aXK4swSlKGUcOEGiIYb2OOu/IrDU9iwj0fD//SsA6E5ibwJxpEvhullJY4Sl4GcpAw==", 2700 | "dev": true 2701 | }, 2702 | "wrap-ansi": { 2703 | "version": "7.0.0", 2704 | "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", 2705 | "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", 2706 | "dev": true, 2707 | "requires": { 2708 | "ansi-styles": "^4.0.0", 2709 | "string-width": "^4.1.0", 2710 | "strip-ansi": "^6.0.0" 2711 | }, 2712 | "dependencies": { 2713 | "ansi-styles": { 2714 | "version": "4.3.0", 2715 | "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", 2716 | "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", 2717 | "dev": true, 2718 | "requires": { 2719 | "color-convert": "^2.0.1" 2720 | } 2721 | }, 2722 | "color-convert": { 2723 | "version": "2.0.1", 2724 | "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", 2725 | "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", 2726 | "dev": true, 2727 | "requires": { 2728 | "color-name": "~1.1.4" 2729 | } 2730 | }, 2731 | "color-name": { 2732 | "version": "1.1.4", 2733 | "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", 2734 | "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", 2735 | "dev": true 2736 | } 2737 | } 2738 | }, 2739 | "wrappy": { 2740 | "version": "1.0.2", 2741 | "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", 2742 | "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=", 2743 | "dev": true 2744 | }, 2745 | "y18n": { 2746 | "version": "5.0.8", 2747 | "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz", 2748 | "integrity": "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==" 2749 | }, 2750 | "yargs": { 2751 | "version": "16.2.0", 2752 | "resolved": "https://registry.npmjs.org/yargs/-/yargs-16.2.0.tgz", 2753 | "integrity": "sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw==", 2754 | "dev": true, 2755 | "requires": { 2756 | "cliui": "^7.0.2", 2757 | "escalade": "^3.1.1", 2758 | "get-caller-file": "^2.0.5", 2759 | "require-directory": "^2.1.1", 2760 | "string-width": "^4.2.0", 2761 | "y18n": "^5.0.5", 2762 | "yargs-parser": "^20.2.2" 2763 | } 2764 | }, 2765 | "yargs-parser": { 2766 | "version": "20.2.4", 2767 | "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.4.tgz", 2768 | "integrity": "sha512-WOkpgNhPTlE73h4VFAFsOnomJVaovO8VqLDzy5saChRBFQFBoMYirowyW+Q9HB4HFF4Z7VZTiG3iSzJJA29yRA==", 2769 | "dev": true 2770 | }, 2771 | "yargs-unparser": { 2772 | "version": "2.0.0", 2773 | "resolved": "https://registry.npmjs.org/yargs-unparser/-/yargs-unparser-2.0.0.tgz", 2774 | "integrity": "sha512-7pRTIA9Qc1caZ0bZ6RYRGbHJthJWuakf+WmHK0rVeLkNrrGhfoabBNdue6kdINI6r4if7ocq9aD/n7xwKOdzOA==", 2775 | "dev": true, 2776 | "requires": { 2777 | "camelcase": "^6.0.0", 2778 | "decamelize": "^4.0.0", 2779 | "flat": "^5.0.2", 2780 | "is-plain-obj": "^2.1.0" 2781 | } 2782 | }, 2783 | "yocto-queue": { 2784 | "version": "0.1.0", 2785 | "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz", 2786 | "integrity": "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==", 2787 | "dev": true 2788 | } 2789 | } 2790 | } 2791 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@microsoft/customvision-tfjs", 3 | "version": "1.3.0", 4 | "description": "Library for Tensorflow.js models exported from customvision.ai", 5 | "main": "lib/index.js", 6 | "unpkg": "lib/index.umd.js", 7 | "scripts": { 8 | "build": "babel src --out-dir lib && rollup -c" 9 | }, 10 | "files": [ 11 | "lib/index.js", 12 | "lib/index.umd.js" 13 | ], 14 | "babel": { 15 | "plugins": [ 16 | "@babel/plugin-transform-runtime" 17 | ], 18 | "presets": [ 19 | [ 20 | "@babel/preset-env", 21 | { 22 | "targets": [ 23 | ">0.1%" 24 | ] 25 | } 26 | ] 27 | ] 28 | }, 29 | "author": "", 30 | "license": "MIT", 31 | "devDependencies": { 32 | "@babel/cli": "^7.16.0", 33 | "@babel/core": "^7.16.5", 34 | "@babel/plugin-transform-runtime": "^7.16.5", 35 | "@babel/preset-env": "^7.16.5", 36 | "mocha": "^10.2.0", 37 | "rollup": "^1.26.0" 38 | }, 39 | "dependencies": { 40 | "@babel/runtime": "^7.16.5", 41 | "@tensorflow/tfjs": "^3.12.0" 42 | }, 43 | "repository": { 44 | "type": "git", 45 | "url": "https://github.com/microsoft/customvision-tfjs.git" 46 | } 47 | } 48 | -------------------------------------------------------------------------------- /rollup.config.js: -------------------------------------------------------------------------------- 1 | export default { 2 | input: './src/index.js', 3 | external: ['@tensorflow/tfjs'], 4 | output: { 5 | file: './lib/index.umd.js', 6 | format: 'umd', 7 | name: 'cvstfjs', 8 | globals: { 9 | '@tensorflow/tfjs': 'tf' 10 | } 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /src/index.js: -------------------------------------------------------------------------------- 1 | import * as tf from '@tensorflow/tfjs'; 2 | 3 | class Model { 4 | constructor() { 5 | this.NEW_OD_OUTPUT_TENSORS = ['detected_boxes', 'detected_scores', 'detected_classes']; 6 | } 7 | 8 | async loadModelAsync(modelUrl, options = null) { 9 | this.model = await tf.loadGraphModel(modelUrl, options); 10 | this.input_size = this.model.inputs[0].shape[1]; 11 | this.is_new_od_model = this.model.outputs.length == 3; 12 | this.is_rgb_input = (this.model.metadata && this.model.metadata['Image.BitmapPixelFormat'] == 'Rgb8') || this.is_new_od_model; 13 | } 14 | 15 | dispose() { 16 | this.model.dispose(); 17 | } 18 | 19 | async executeAsync(pixels) { 20 | const inputs = tf.tidy(() => { return pixels instanceof tf.Tensor ? pixels : this._preprocess(tf.browser.fromPixels(pixels, 3)); }); 21 | const outputs = await this.model.executeAsync(inputs, this.is_new_od_model ? this.NEW_OD_OUTPUT_TENSORS : null); 22 | tf.dispose(inputs); 23 | const arrays = await (!Array.isArray(outputs) ? outputs.array() : Promise.all(outputs.map(t => t.array()))); 24 | tf.dispose(outputs); 25 | return this._postprocess(arrays); 26 | } 27 | 28 | async _postprocess(outputs) { 29 | return outputs; 30 | } 31 | } 32 | 33 | export class ObjectDetectionModel extends Model { 34 | constructor() { 35 | super(); 36 | this.ANCHORS = [0.573, 0.677, 1.87, 2.06, 3.34, 5.47, 7.88, 3.53, 9.77, 9.17]; 37 | } 38 | 39 | _preprocess(image) { 40 | const rgb_image = tf.image.resizeBilinear(image.expandDims().toFloat(), [this.input_size, this.input_size]); 41 | return this.is_rgb_input ? rgb_image : rgb_image.reverse(-1); // RGB->BGR for old models 42 | } 43 | 44 | async _postprocess(outputs) { 45 | if (outputs.length == 3) { 46 | return outputs; // New model doesn't need post processing. 47 | } 48 | 49 | const [boxes, scores, classes] = tf.tidy(() => { 50 | // TODO: Need more efficient implmentation 51 | const num_anchor = this.ANCHORS.length / 2; 52 | const channels = outputs[0][0][0].length; 53 | const height = outputs[0].length; 54 | const width = outputs[0][0].length; 55 | 56 | const num_class = channels / num_anchor - 5; 57 | 58 | let boxes = []; 59 | let scores = []; 60 | let classes = []; 61 | 62 | for (var grid_y = 0; grid_y < height; grid_y++) { 63 | for (var grid_x = 0; grid_x < width; grid_x++) { 64 | let offset = 0; 65 | 66 | for (var i = 0; i < num_anchor; i++) { 67 | let x = (this._logistic(outputs[0][grid_y][grid_x][offset++]) + grid_x) / width; 68 | let y = (this._logistic(outputs[0][grid_y][grid_x][offset++]) + grid_y) / height; 69 | let w = Math.exp(outputs[0][grid_y][grid_x][offset++]) * this.ANCHORS[i * 2] / width; 70 | let h = Math.exp(outputs[0][grid_y][grid_x][offset++]) * this.ANCHORS[i * 2 + 1] / height; 71 | 72 | let objectness = tf.scalar(this._logistic(outputs[0][grid_y][grid_x][offset++])); 73 | let class_probabilities = tf.tensor1d(outputs[0][grid_y][grid_x].slice(offset, offset + num_class)).softmax(); 74 | offset += num_class; 75 | 76 | class_probabilities = class_probabilities.mul(objectness); 77 | let max_index = class_probabilities.argMax(); 78 | boxes.push([x - w / 2, y - h / 2, x + w / 2, y + h / 2]); 79 | scores.push(class_probabilities.max().dataSync()[0]); 80 | classes.push(max_index.dataSync()[0]); 81 | } 82 | } 83 | } 84 | boxes = tf.tensor2d(boxes); 85 | scores = tf.tensor1d(scores); 86 | classes = tf.tensor1d(classes); 87 | 88 | return [boxes, scores, classes]; 89 | }); 90 | 91 | const selected_indices = await tf.image.nonMaxSuppressionAsync(boxes, scores, 10); 92 | const tensor_results = [boxes.gather(selected_indices), scores.gather(selected_indices), classes.gather(selected_indices)]; 93 | const results = [await tensor_results[0].array(), await tensor_results[1].array(), await tensor_results[2].array()]; 94 | tf.dispose([boxes, scores, classes]) 95 | tf.dispose(selected_indices); 96 | tf.dispose(tensor_results); 97 | return results; 98 | } 99 | 100 | _logistic(x) { 101 | if (x > 0) { 102 | return (1 / (1 + Math.exp(-x))); 103 | } else { 104 | const e = Math.exp(x); 105 | return e / (1 + e); 106 | } 107 | } 108 | } 109 | 110 | export class ClassificationModel extends Model { 111 | _preprocess(image) { 112 | // CenterCrop 113 | const [h, w] = image.shape.slice(0, 2); 114 | const top = h > w ? (h - w) / 2 : 0; 115 | const left = h > w ? 0 : (w - h) / 2; 116 | const size = Math.min(h, w); 117 | const rgb_image = tf.image.cropAndResize(image.expandDims().toFloat(), [[top / h, left / w, (top+size) / h, (left+size) / w]], [0], [this.input_size, this.input_size]); 118 | 119 | return this.is_rgb_input ? rgb_image : rgb_image.reverse(-1); // RGB->BGR for old models 120 | } 121 | } 122 | -------------------------------------------------------------------------------- /test/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | customvision-tfjs Tests 6 | 7 | 8 | 9 | 10 |
11 | 12 | 13 | 14 | 15 | 16 | 20 | 21 | 22 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /test/index.test.js: -------------------------------------------------------------------------------- 1 | describe('ObjectDetection', () => { 2 | it('can construct model', () => { 3 | const model = new cvstfjs.ObjectDetectionModel(); 4 | }); 5 | 6 | it('can postprocess correctly', (done) => { 7 | const model = new cvstfjs.ObjectDetectionModel(); 8 | $.getJSON('od_output.json', async (data) => { 9 | const results = await model._postprocess([data]); 10 | console.log(results); 11 | chai.assert(results[2][0] === 2); 12 | done(); 13 | }); 14 | }).timeout(10000); 15 | }); 16 | 17 | describe('Classification', () => { 18 | it('can construct model', () => { 19 | const model = new cvstfjs.ClassificationModel(); 20 | }); 21 | }); 22 | --------------------------------------------------------------------------------