├── .eslintignore ├── .eslintrc.cjs ├── .github └── workflows │ └── js.yml ├── .gitignore ├── .prettierignore ├── .prettierrc ├── CODE_OF_CONDUCT.md ├── LICENSE ├── README.md ├── package-lock.json ├── package.json ├── snowpack.config.js ├── src ├── index.test.ts └── index.ts ├── tsconfig.json └── web-test-runner.config.cjs /.eslintignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | out 3 | .eslintrc.cjs 4 | web-test-runner.config.mjs 5 | rollup.config.js 6 | -------------------------------------------------------------------------------- /.eslintrc.cjs: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | root: true, 3 | parser: '@typescript-eslint/parser', 4 | plugins: ['@typescript-eslint'], 5 | extends: ['eslint:recommended', 'plugin:@typescript-eslint/recommended'], 6 | parserOptions: { 7 | project: './tsconfig.json', 8 | }, 9 | rules: { 10 | '@typescript-eslint/no-floating-promises': 'error', 11 | '@typescript-eslint/naming-convention': [ 12 | 'error', 13 | { 14 | selector: 'memberLike', 15 | modifiers: ['public'], 16 | format: ['camelCase'], 17 | leadingUnderscore: 'forbid', 18 | }, 19 | ], 20 | 'eqeqeq': 'error', 21 | 'no-var': 'error', 22 | 'object-shorthand': 'error', 23 | 'prefer-arrow-callback': 'error', 24 | 'prefer-destructuring': [ 25 | 'error', 26 | { 27 | VariableDeclarator: { 28 | object: true, 29 | }, 30 | }, 31 | { 32 | enforceForRenamedProperties: false, 33 | }, 34 | ], 35 | }, 36 | }; 37 | -------------------------------------------------------------------------------- /.github/workflows/js.yml: -------------------------------------------------------------------------------- 1 | name: Test 2 | 3 | on: 4 | push: 5 | branches: [main] 6 | pull_request: 7 | branches: [main] 8 | 9 | jobs: 10 | build: 11 | runs-on: ubuntu-latest 12 | 13 | strategy: 14 | matrix: 15 | node-version: [14.13.x, 16.x] 16 | 17 | steps: 18 | - uses: actions/checkout@v2 19 | - name: Use Node.js ${{ matrix.node-version }} 20 | uses: actions/setup-node@v2 21 | with: 22 | node-version: ${{ matrix.node-version }} 23 | cache: 'npm' 24 | - run: npm ci 25 | - run: npm test 26 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | .DS_Store 3 | out 4 | -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- 1 | out/ 2 | -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- 1 | { 2 | "singleQuote": true, 3 | "trailingComma": "all", 4 | "arrowParens": "avoid", 5 | "bracketSpacing": false, 6 | "quoteProps": "consistent" 7 | } 8 | -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- 1 | # Contributor Covenant Code of Conduct 2 | 3 | ## Our Pledge 4 | 5 | We as members, contributors, and leaders pledge to make participation in our 6 | community a harassment-free experience for everyone, regardless of age, body 7 | size, visible or invisible disability, ethnicity, sex characteristics, gender 8 | identity and expression, level of experience, education, socio-economic status, 9 | nationality, personal appearance, race, religion, or sexual identity 10 | and orientation. 11 | 12 | We pledge to act and interact in ways that contribute to an open, welcoming, 13 | diverse, inclusive, and healthy community. 14 | 15 | ## Our Standards 16 | 17 | Examples of behavior that contributes to a positive environment for our 18 | community include: 19 | 20 | * Demonstrating empathy and kindness toward other people 21 | * Being respectful of differing opinions, viewpoints, and experiences 22 | * Giving and gracefully accepting constructive feedback 23 | * Accepting responsibility and apologizing to those affected by our mistakes, 24 | and learning from the experience 25 | * Focusing on what is best not just for us as individuals, but for the 26 | overall community 27 | 28 | Examples of unacceptable behavior include: 29 | 30 | * The use of sexualized language or imagery, and sexual attention or 31 | advances of any kind 32 | * Trolling, insulting or derogatory comments, and personal or political attacks 33 | * Public or private harassment 34 | * Publishing others' private information, such as a physical or email 35 | address, without their explicit permission 36 | * Other conduct which could reasonably be considered inappropriate in a 37 | professional setting 38 | 39 | ## Enforcement Responsibilities 40 | 41 | Community leaders are responsible for clarifying and enforcing our standards of 42 | acceptable behavior and will take appropriate and fair corrective action in 43 | response to any behavior that they deem inappropriate, threatening, offensive, 44 | or harmful. 45 | 46 | Community leaders have the right and responsibility to remove, edit, or reject 47 | comments, commits, code, wiki edits, issues, and other contributions that are 48 | not aligned to this Code of Conduct, and will communicate reasons for moderation 49 | decisions when appropriate. 50 | 51 | ## Scope 52 | 53 | This Code of Conduct applies within all community spaces, and also applies when 54 | an individual is officially representing the community in public spaces. 55 | Examples of representing our community include using an official e-mail address, 56 | posting via an official social media account, or acting as an appointed 57 | representative at an online or offline event. 58 | 59 | ## Enforcement 60 | 61 | Instances of abusive, harassing, or otherwise unacceptable behavior may be 62 | reported to the community leaders responsible for enforcement at 63 | hello@roci.dev. 64 | All complaints will be reviewed and investigated promptly and fairly. 65 | 66 | All community leaders are obligated to respect the privacy and security of the 67 | reporter of any incident. 68 | 69 | ## Enforcement Guidelines 70 | 71 | Community leaders will follow these Community Impact Guidelines in determining 72 | the consequences for any action they deem in violation of this Code of Conduct: 73 | 74 | ### 1. Correction 75 | 76 | **Community Impact**: Use of inappropriate language or other behavior deemed 77 | unprofessional or unwelcome in the community. 78 | 79 | **Consequence**: A private, written warning from community leaders, providing 80 | clarity around the nature of the violation and an explanation of why the 81 | behavior was inappropriate. A public apology may be requested. 82 | 83 | ### 2. Warning 84 | 85 | **Community Impact**: A violation through a single incident or series 86 | of actions. 87 | 88 | **Consequence**: A warning with consequences for continued behavior. No 89 | interaction with the people involved, including unsolicited interaction with 90 | those enforcing the Code of Conduct, for a specified period of time. This 91 | includes avoiding interactions in community spaces as well as external channels 92 | like social media. Violating these terms may lead to a temporary or 93 | permanent ban. 94 | 95 | ### 3. Temporary Ban 96 | 97 | **Community Impact**: A serious violation of community standards, including 98 | sustained inappropriate behavior. 99 | 100 | **Consequence**: A temporary ban from any sort of interaction or public 101 | communication with the community for a specified period of time. No public or 102 | private interaction with the people involved, including unsolicited interaction 103 | with those enforcing the Code of Conduct, is allowed during this period. 104 | Violating these terms may lead to a permanent ban. 105 | 106 | ### 4. Permanent Ban 107 | 108 | **Community Impact**: Demonstrating a pattern of violation of community 109 | standards, including sustained inappropriate behavior, harassment of an 110 | individual, or aggression toward or disparagement of classes of individuals. 111 | 112 | **Consequence**: A permanent ban from any sort of public interaction within 113 | the community. 114 | 115 | ## Attribution 116 | 117 | This Code of Conduct is adapted from the [Contributor Covenant][homepage], 118 | version 2.0, available at 119 | https://www.contributor-covenant.org/version/2/0/code_of_conduct.html. 120 | 121 | Community Impact Guidelines were inspired by [Mozilla's code of conduct 122 | enforcement ladder](https://github.com/mozilla/diversity). 123 | 124 | [homepage]: https://www.contributor-covenant.org 125 | 126 | For answers to common questions about this code of conduct, see the FAQ at 127 | https://www.contributor-covenant.org/faq. Translations are available at 128 | https://www.contributor-covenant.org/translations. 129 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | Apache License 2 | Version 2.0, January 2004 3 | http://www.apache.org/licenses/ 4 | 5 | TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 6 | 7 | 1. Definitions. 8 | 9 | "License" shall mean the terms and conditions for use, reproduction, 10 | and distribution as defined by Sections 1 through 9 of this document. 11 | 12 | "Licensor" shall mean the copyright owner or entity authorized by 13 | the copyright owner that is granting the License. 14 | 15 | "Legal Entity" shall mean the union of the acting entity and all 16 | other entities that control, are controlled by, or are under common 17 | control with that entity. For the purposes of this definition, 18 | "control" means (i) the power, direct or indirect, to cause the 19 | direction or management of such entity, whether by contract or 20 | otherwise, or (ii) ownership of fifty percent (50%) or more of the 21 | outstanding shares, or (iii) beneficial ownership of such entity. 22 | 23 | "You" (or "Your") shall mean an individual or Legal Entity 24 | exercising permissions granted by this License. 25 | 26 | "Source" form shall mean the preferred form for making modifications, 27 | including but not limited to software source code, documentation 28 | source, and configuration files. 29 | 30 | "Object" form shall mean any form resulting from mechanical 31 | transformation or translation of a Source form, including but 32 | not limited to compiled object code, generated documentation, 33 | and conversions to other media types. 34 | 35 | "Work" shall mean the work of authorship, whether in Source or 36 | Object form, made available under the License, as indicated by a 37 | copyright notice that is included in or attached to the work 38 | (an example is provided in the Appendix below). 39 | 40 | "Derivative Works" shall mean any work, whether in Source or Object 41 | form, that is based on (or derived from) the Work and for which the 42 | editorial revisions, annotations, elaborations, or other modifications 43 | represent, as a whole, an original work of authorship. For the purposes 44 | of this License, Derivative Works shall not include works that remain 45 | separable from, or merely link (or bind by name) to the interfaces of, 46 | the Work and Derivative Works thereof. 47 | 48 | "Contribution" shall mean any work of authorship, including 49 | the original version of the Work and any modifications or additions 50 | to that Work or Derivative Works thereof, that is intentionally 51 | submitted to Licensor for inclusion in the Work by the copyright owner 52 | or by an individual or Legal Entity authorized to submit on behalf of 53 | the copyright owner. For the purposes of this definition, "submitted" 54 | means any form of electronic, verbal, or written communication sent 55 | to the Licensor or its representatives, including but not limited to 56 | communication on electronic mailing lists, source code control systems, 57 | and issue tracking systems that are managed by, or on behalf of, the 58 | Licensor for the purpose of discussing and improving the Work, but 59 | excluding communication that is conspicuously marked or otherwise 60 | designated in writing by the copyright owner as "Not a Contribution." 61 | 62 | "Contributor" shall mean Licensor and any individual or Legal Entity 63 | on behalf of whom a Contribution has been received by Licensor and 64 | subsequently incorporated within the Work. 65 | 66 | 2. Grant of Copyright License. Subject to the terms and conditions of 67 | this License, each Contributor hereby grants to You a perpetual, 68 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable 69 | copyright license to reproduce, prepare Derivative Works of, 70 | publicly display, publicly perform, sublicense, and distribute the 71 | Work and such Derivative Works in Source or Object form. 72 | 73 | 3. Grant of Patent License. Subject to the terms and conditions of 74 | this License, each Contributor hereby grants to You a perpetual, 75 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable 76 | (except as stated in this section) patent license to make, have made, 77 | use, offer to sell, sell, import, and otherwise transfer the Work, 78 | where such license applies only to those patent claims licensable 79 | by such Contributor that are necessarily infringed by their 80 | Contribution(s) alone or by combination of their Contribution(s) 81 | with the Work to which such Contribution(s) was submitted. If You 82 | institute patent litigation against any entity (including a 83 | cross-claim or counterclaim in a lawsuit) alleging that the Work 84 | or a Contribution incorporated within the Work constitutes direct 85 | or contributory patent infringement, then any patent licenses 86 | granted to You under this License for that Work shall terminate 87 | as of the date such litigation is filed. 88 | 89 | 4. Redistribution. You may reproduce and distribute copies of the 90 | Work or Derivative Works thereof in any medium, with or without 91 | modifications, and in Source or Object form, provided that You 92 | meet the following conditions: 93 | 94 | (a) You must give any other recipients of the Work or 95 | Derivative Works a copy of this License; and 96 | 97 | (b) You must cause any modified files to carry prominent notices 98 | stating that You changed the files; and 99 | 100 | (c) You must retain, in the Source form of any Derivative Works 101 | that You distribute, all copyright, patent, trademark, and 102 | attribution notices from the Source form of the Work, 103 | excluding those notices that do not pertain to any part of 104 | the Derivative Works; and 105 | 106 | (d) If the Work includes a "NOTICE" text file as part of its 107 | distribution, then any Derivative Works that You distribute must 108 | include a readable copy of the attribution notices contained 109 | within such NOTICE file, excluding those notices that do not 110 | pertain to any part of the Derivative Works, in at least one 111 | of the following places: within a NOTICE text file distributed 112 | as part of the Derivative Works; within the Source form or 113 | documentation, if provided along with the Derivative Works; or, 114 | within a display generated by the Derivative Works, if and 115 | wherever such third-party notices normally appear. The contents 116 | of the NOTICE file are for informational purposes only and 117 | do not modify the License. You may add Your own attribution 118 | notices within Derivative Works that You distribute, alongside 119 | or as an addendum to the NOTICE text from the Work, provided 120 | that such additional attribution notices cannot be construed 121 | as modifying the License. 122 | 123 | You may add Your own copyright statement to Your modifications and 124 | may provide additional or different license terms and conditions 125 | for use, reproduction, or distribution of Your modifications, or 126 | for any such Derivative Works as a whole, provided Your use, 127 | reproduction, and distribution of the Work otherwise complies with 128 | the conditions stated in this License. 129 | 130 | 5. Submission of Contributions. Unless You explicitly state otherwise, 131 | any Contribution intentionally submitted for inclusion in the Work 132 | by You to the Licensor shall be under the terms and conditions of 133 | this License, without any additional terms or conditions. 134 | Notwithstanding the above, nothing herein shall supersede or modify 135 | the terms of any separate license agreement you may have executed 136 | with Licensor regarding such Contributions. 137 | 138 | 6. Trademarks. This License does not grant permission to use the trade 139 | names, trademarks, service marks, or product names of the Licensor, 140 | except as required for reasonable and customary use in describing the 141 | origin of the Work and reproducing the content of the NOTICE file. 142 | 143 | 7. Disclaimer of Warranty. Unless required by applicable law or 144 | agreed to in writing, Licensor provides the Work (and each 145 | Contributor provides its Contributions) on an "AS IS" BASIS, 146 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or 147 | implied, including, without limitation, any warranties or conditions 148 | of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A 149 | PARTICULAR PURPOSE. You are solely responsible for determining the 150 | appropriateness of using or redistributing the Work and assume any 151 | risks associated with Your exercise of permissions under this License. 152 | 153 | 8. Limitation of Liability. In no event and under no legal theory, 154 | whether in tort (including negligence), contract, or otherwise, 155 | unless required by applicable law (such as deliberate and grossly 156 | negligent acts) or agreed to in writing, shall any Contributor be 157 | liable to You for damages, including any direct, indirect, special, 158 | incidental, or consequential damages of any character arising as a 159 | result of this License or out of the use or inability to use the 160 | Work (including but not limited to damages for loss of goodwill, 161 | work stoppage, computer failure or malfunction, or any and all 162 | other commercial damages or losses), even if such Contributor 163 | has been advised of the possibility of such damages. 164 | 165 | 9. Accepting Warranty or Additional Liability. While redistributing 166 | the Work or Derivative Works thereof, You may choose to offer, 167 | and charge a fee for, acceptance of support, warranty, indemnity, 168 | or other liability obligations and/or rights consistent with this 169 | License. However, in accepting such obligations, You may act only 170 | on Your own behalf and on Your sole responsibility, not on behalf 171 | of any other Contributor, and only if You agree to indemnify, 172 | defend, and hold each Contributor harmless for any liability 173 | incurred by, or claims asserted against, such Contributor by reason 174 | of your accepting any such warranty or additional liability. 175 | 176 | END OF TERMS AND CONDITIONS 177 | 178 | APPENDIX: How to apply the Apache License to your work. 179 | 180 | To apply the Apache License to your work, attach the following 181 | boilerplate notice, with the fields enclosed by brackets "[]" 182 | replaced with your own identifying information. (Don't include 183 | the brackets!) The text should be enclosed in the appropriate 184 | comment syntax for the file format. We also recommend that a 185 | file or class name and description of purpose be included on the 186 | same "printed page" as the copyright notice for easier 187 | identification within third-party archives. 188 | 189 | Copyright [yyyy] [name of copyright owner] 190 | 191 | Licensed under the Apache License, Version 2.0 (the "License"); 192 | you may not use this file except in compliance with the License. 193 | You may obtain a copy of the License at 194 | 195 | http://www.apache.org/licenses/LICENSE-2.0 196 | 197 | Unless required by applicable law or agreed to in writing, software 198 | distributed under the License is distributed on an "AS IS" BASIS, 199 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 200 | See the License for the specific language governing permissions and 201 | limitations under the License. 202 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Undo 2 | 3 | A simple undo / redo manager. This was designed to work well with [Replicache](replicache.dev), but can be used entirely independently. From this library's perspective, undo/redo actions are just functions and this library doesn't care what those functions do. Please use [Replidraw](http://github.com/rocicorp/replidraw) as a reference on how to use the library. 4 | 5 | # Installation 6 | 7 | ``` 8 | npm install @rocicorp/undo 9 | ``` 10 | 11 | # Replicache Usage Example 12 | 13 | ```tsx 14 | import { Replicache } from "replicache"; 15 | import { useSubscribe } from "replicache-react"; 16 | ... 17 | import {UndoManager} from '@rocicorp/undo'; 18 | 19 | // Replicache and UndoManager are initialized outside of the initial component render. 20 | // undoManager = new UndoManager() 21 | const App = ({ rep }: { rep: Replicache, undoManager: UndoManager }) => { 22 | const todos = useSubscribe(rep, listTodos, [], [rep]); 23 | 24 | // new item with undo 25 | const handleNewItem = (text: string) => { 26 | const id = nanoid(); 27 | //function that will redo and execute 28 | const putTodo = () => { 29 | rep.mutate.putTodo({ 30 | id, 31 | text: text, 32 | sort: todos.length > 0 ? todos[todos.length - 1].sort + 1 : 0, 33 | completed: false, 34 | }); 35 | }; 36 | 37 | //undo function 38 | const removeTodo = () => rep.mutate.deleteTodos([id]); 39 | 40 | undoManager.add({ 41 | execute: putTodo, 42 | undo: removeTodo, 43 | }); 44 | }; 45 | 46 | return ( 47 |
48 |
49 | 52 |
53 | ); 54 | } 55 | ``` 56 | 57 | # Basic Usage Example 58 | 59 | ```ts 60 | import {UndoManager} from '@rocicorp/undo'; 61 | 62 | const undoManager = new UndoManager(); 63 | const modifiedValue = 0; 64 | undoManager.add({ 65 | undo: () => { 66 | modifiedValue--; 67 | }, 68 | execute: () => { 69 | modifiedValue++; 70 | }, 71 | }); 72 | ``` 73 | 74 | # API 75 | 76 | ## constructor 77 | 78 | Constructor for UndoManager 79 | 80 | | Param | Type | Description | 81 | | ------- | -------------------------------- | ------------------------------------------- | 82 | | options | UnderManagerOptions | Options passed for undo manager constructor | 83 | 84 | UnderManagerOptions 85 | 86 | | Param | Type | Description | 87 | | -------- | ------------------------------------------------------ | --------------------------------------------------------------------------------- | 88 | | maxSize | Object | The maximum number of entries in the stack. Default is 10000. | 89 | | onChange | (undoManager: UndoRedoStackState) => void | A callback function to be called when the stack canUndo or canRedo values change. | 90 | 91 | **Example** 92 | 93 | ```ts 94 | const undoManager = new UndoManager({ 10, (e: UndoRedoStackState) => { 95 | console.log('undo manager canUndo or canRedo values changed -- ', e.canUndo, e.canRedo); 96 | }}); 97 | ``` 98 | 99 | --- 100 | 101 | ## canUndo 102 | 103 | Determines if a user can perform the `undo` operation on the undoRedo stack. 104 | 105 | --- 106 | 107 | ## canRedo 108 | 109 | Determines if a user can perform the `redo` operation on the undoRedo stack. 110 | 111 | --- 112 | 113 | ## add 114 | 115 | Adds an entry to the undoRedo stack. 116 | 117 | | Param | Type | Description | 118 | | ------- | ----------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | 119 | | options | AddOptions | A `UndoRedo` or `ExecuteUndo` object that can is added to the stack. If it is an `ExecuteUndo` it will run the `execute` function immediately after adding to the stack. | 120 | 121 | ### AddOptions 122 | 123 | ```ts 124 | type AddOptions = UndoRedo | ExecuteUndo; 125 | 126 | type UndoRedo = { 127 | redo: () => MaybePromise; 128 | undo: () => MaybePromise; 129 | }; 130 | 131 | type ExecuteUndo = { 132 | execute: () => MaybePromise; 133 | undo: () => MaybePromise; 134 | }; 135 | ``` 136 | 137 | --- 138 | 139 | ## undo 140 | 141 | Executes the undo function of the current entry in the undoRedo stack. If the current entry has groupID it will check the upcoming undo entry. If the upcoming undo entry also has the same `groupID` the function will recursively call undo until it runs into a entry that has has a different `groupID` or is `undefined`. 142 | 143 | --- 144 | 145 | ## redo 146 | 147 | Executes the redo function of the current entry in the undoRedo stack. If the current entry has groupID it will check the upcoming redo entry. If the upcoming redo entry also has the same `groupID` the function will recursively call redo until it runs into a entry that has has a different `groupID` or is `undefined`. 148 | 149 | --- 150 | 151 | ## startGroup 152 | 153 | Sets the undo manager to add `groupID` to all subsequent entries. Sets the `isGrouping` internal state of the stack to `true` 154 | 155 | --- 156 | 157 | ## endGroup 158 | 159 | Sets the undo manager to mark all subsequent added entries `groupID` to `undefined`. Sets the `isGrouping` internal state of the stack to `false` 160 | 161 | --- 162 | -------------------------------------------------------------------------------- /package-lock.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@rocicorp/undo", 3 | "version": "0.2.1", 4 | "lockfileVersion": 2, 5 | "requires": true, 6 | "packages": { 7 | "": { 8 | "name": "@rocicorp/undo", 9 | "version": "0.2.1", 10 | "devDependencies": { 11 | "@types/chai": "^4.3.0", 12 | "@types/mocha": "^9.1.0", 13 | "@types/sinon": "^10.0.11", 14 | "@typescript-eslint/eslint-plugin": "^5.15.0", 15 | "@typescript-eslint/parser": "^5.15.0", 16 | "chai": "^4.3.6", 17 | "eslint": "^8.11.0", 18 | "mocha": "^9.2.2", 19 | "prettier": "^2.5.1", 20 | "sinon": "^13.0.1", 21 | "typescript": "^4.6.2" 22 | } 23 | }, 24 | "node_modules/@eslint/eslintrc": { 25 | "version": "1.3.0", 26 | "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-1.3.0.tgz", 27 | "integrity": "sha512-UWW0TMTmk2d7hLcWD1/e2g5HDM/HQ3csaLSqXCfqwh4uNDuNqlaKWXmEsL4Cs41Z0KnILNvwbHAah3C2yt06kw==", 28 | "dev": true, 29 | "dependencies": { 30 | "ajv": "^6.12.4", 31 | "debug": "^4.3.2", 32 | "espree": "^9.3.2", 33 | "globals": "^13.15.0", 34 | "ignore": "^5.2.0", 35 | "import-fresh": "^3.2.1", 36 | "js-yaml": "^4.1.0", 37 | "minimatch": "^3.1.2", 38 | "strip-json-comments": "^3.1.1" 39 | }, 40 | "engines": { 41 | "node": "^12.22.0 || ^14.17.0 || >=16.0.0" 42 | } 43 | }, 44 | "node_modules/@humanwhocodes/config-array": { 45 | "version": "0.9.5", 46 | "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.9.5.tgz", 47 | "integrity": "sha512-ObyMyWxZiCu/yTisA7uzx81s40xR2fD5Cg/2Kq7G02ajkNubJf6BopgDTmDyc3U7sXpNKM8cYOw7s7Tyr+DnCw==", 48 | "dev": true, 49 | "dependencies": { 50 | "@humanwhocodes/object-schema": "^1.2.1", 51 | "debug": "^4.1.1", 52 | "minimatch": "^3.0.4" 53 | }, 54 | "engines": { 55 | "node": ">=10.10.0" 56 | } 57 | }, 58 | "node_modules/@humanwhocodes/object-schema": { 59 | "version": "1.2.1", 60 | "resolved": "https://registry.npmjs.org/@humanwhocodes/object-schema/-/object-schema-1.2.1.tgz", 61 | "integrity": "sha512-ZnQMnLV4e7hDlUvw8H+U8ASL02SS2Gn6+9Ac3wGGLIe7+je2AeAOxPY+izIPJDfFDb7eDjev0Us8MO1iFRN8hA==", 62 | "dev": true 63 | }, 64 | "node_modules/@nodelib/fs.scandir": { 65 | "version": "2.1.5", 66 | "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz", 67 | "integrity": "sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==", 68 | "dev": true, 69 | "dependencies": { 70 | "@nodelib/fs.stat": "2.0.5", 71 | "run-parallel": "^1.1.9" 72 | }, 73 | "engines": { 74 | "node": ">= 8" 75 | } 76 | }, 77 | "node_modules/@nodelib/fs.stat": { 78 | "version": "2.0.5", 79 | "resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz", 80 | "integrity": "sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==", 81 | "dev": true, 82 | "engines": { 83 | "node": ">= 8" 84 | } 85 | }, 86 | "node_modules/@nodelib/fs.walk": { 87 | "version": "1.2.8", 88 | "resolved": "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz", 89 | "integrity": "sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==", 90 | "dev": true, 91 | "dependencies": { 92 | "@nodelib/fs.scandir": "2.1.5", 93 | "fastq": "^1.6.0" 94 | }, 95 | "engines": { 96 | "node": ">= 8" 97 | } 98 | }, 99 | "node_modules/@sinonjs/commons": { 100 | "version": "1.8.3", 101 | "resolved": "https://registry.npmjs.org/@sinonjs/commons/-/commons-1.8.3.tgz", 102 | "integrity": "sha512-xkNcLAn/wZaX14RPlwizcKicDk9G3F8m2nU3L7Ukm5zBgTwiT0wsoFAHx9Jq56fJA1z/7uKGtCRu16sOUCLIHQ==", 103 | "dev": true, 104 | "dependencies": { 105 | "type-detect": "4.0.8" 106 | } 107 | }, 108 | "node_modules/@sinonjs/fake-timers": { 109 | "version": "9.1.2", 110 | "resolved": "https://registry.npmjs.org/@sinonjs/fake-timers/-/fake-timers-9.1.2.tgz", 111 | "integrity": "sha512-BPS4ynJW/o92PUR4wgriz2Ud5gpST5vz6GQfMixEDK0Z8ZCUv2M7SkBLykH56T++Xs+8ln9zTGbOvNGIe02/jw==", 112 | "dev": true, 113 | "dependencies": { 114 | "@sinonjs/commons": "^1.7.0" 115 | } 116 | }, 117 | "node_modules/@sinonjs/samsam": { 118 | "version": "6.1.1", 119 | "resolved": "https://registry.npmjs.org/@sinonjs/samsam/-/samsam-6.1.1.tgz", 120 | "integrity": "sha512-cZ7rKJTLiE7u7Wi/v9Hc2fs3Ucc3jrWeMgPHbbTCeVAB2S0wOBbYlkJVeNSL04i7fdhT8wIbDq1zhC/PXTD2SA==", 121 | "dev": true, 122 | "dependencies": { 123 | "@sinonjs/commons": "^1.6.0", 124 | "lodash.get": "^4.4.2", 125 | "type-detect": "^4.0.8" 126 | } 127 | }, 128 | "node_modules/@sinonjs/text-encoding": { 129 | "version": "0.7.1", 130 | "resolved": "https://registry.npmjs.org/@sinonjs/text-encoding/-/text-encoding-0.7.1.tgz", 131 | "integrity": "sha512-+iTbntw2IZPb/anVDbypzfQa+ay64MW0Zo8aJ8gZPWMMK6/OubMVb6lUPMagqjOPnmtauXnFCACVl3O7ogjeqQ==", 132 | "dev": true 133 | }, 134 | "node_modules/@types/chai": { 135 | "version": "4.3.1", 136 | "resolved": "https://registry.npmjs.org/@types/chai/-/chai-4.3.1.tgz", 137 | "integrity": "sha512-/zPMqDkzSZ8t3VtxOa4KPq7uzzW978M9Tvh+j7GHKuo6k6GTLxPJ4J5gE5cjfJ26pnXst0N5Hax8Sr0T2Mi9zQ==", 138 | "dev": true 139 | }, 140 | "node_modules/@types/json-schema": { 141 | "version": "7.0.11", 142 | "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.11.tgz", 143 | "integrity": "sha512-wOuvG1SN4Us4rez+tylwwwCV1psiNVOkJeM3AUWUNWg/jDQY2+HE/444y5gc+jBmRqASOm2Oeh5c1axHobwRKQ==", 144 | "dev": true 145 | }, 146 | "node_modules/@types/mocha": { 147 | "version": "9.1.1", 148 | "resolved": "https://registry.npmjs.org/@types/mocha/-/mocha-9.1.1.tgz", 149 | "integrity": "sha512-Z61JK7DKDtdKTWwLeElSEBcWGRLY8g95ic5FoQqI9CMx0ns/Ghep3B4DfcEimiKMvtamNVULVNKEsiwV3aQmXw==", 150 | "dev": true 151 | }, 152 | "node_modules/@types/sinon": { 153 | "version": "10.0.11", 154 | "resolved": "https://registry.npmjs.org/@types/sinon/-/sinon-10.0.11.tgz", 155 | "integrity": "sha512-dmZsHlBsKUtBpHriNjlK0ndlvEh8dcb9uV9Afsbt89QIyydpC7NcR+nWlAhASfy3GHnxTl4FX/aKE7XZUt/B4g==", 156 | "dev": true, 157 | "dependencies": { 158 | "@types/sinonjs__fake-timers": "*" 159 | } 160 | }, 161 | "node_modules/@types/sinonjs__fake-timers": { 162 | "version": "8.1.2", 163 | "resolved": "https://registry.npmjs.org/@types/sinonjs__fake-timers/-/sinonjs__fake-timers-8.1.2.tgz", 164 | "integrity": "sha512-9GcLXF0/v3t80caGs5p2rRfkB+a8VBGLJZVih6CNFkx8IZ994wiKKLSRs9nuFwk1HevWs/1mnUmkApGrSGsShA==", 165 | "dev": true 166 | }, 167 | "node_modules/@typescript-eslint/eslint-plugin": { 168 | "version": "5.29.0", 169 | "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.29.0.tgz", 170 | "integrity": "sha512-kgTsISt9pM53yRFQmLZ4npj99yGl3x3Pl7z4eA66OuTzAGC4bQB5H5fuLwPnqTKU3yyrrg4MIhjF17UYnL4c0w==", 171 | "dev": true, 172 | "dependencies": { 173 | "@typescript-eslint/scope-manager": "5.29.0", 174 | "@typescript-eslint/type-utils": "5.29.0", 175 | "@typescript-eslint/utils": "5.29.0", 176 | "debug": "^4.3.4", 177 | "functional-red-black-tree": "^1.0.1", 178 | "ignore": "^5.2.0", 179 | "regexpp": "^3.2.0", 180 | "semver": "^7.3.7", 181 | "tsutils": "^3.21.0" 182 | }, 183 | "engines": { 184 | "node": "^12.22.0 || ^14.17.0 || >=16.0.0" 185 | }, 186 | "funding": { 187 | "type": "opencollective", 188 | "url": "https://opencollective.com/typescript-eslint" 189 | }, 190 | "peerDependencies": { 191 | "@typescript-eslint/parser": "^5.0.0", 192 | "eslint": "^6.0.0 || ^7.0.0 || ^8.0.0" 193 | }, 194 | "peerDependenciesMeta": { 195 | "typescript": { 196 | "optional": true 197 | } 198 | } 199 | }, 200 | "node_modules/@typescript-eslint/parser": { 201 | "version": "5.29.0", 202 | "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-5.29.0.tgz", 203 | "integrity": "sha512-ruKWTv+x0OOxbzIw9nW5oWlUopvP/IQDjB5ZqmTglLIoDTctLlAJpAQFpNPJP/ZI7hTT9sARBosEfaKbcFuECw==", 204 | "dev": true, 205 | "dependencies": { 206 | "@typescript-eslint/scope-manager": "5.29.0", 207 | "@typescript-eslint/types": "5.29.0", 208 | "@typescript-eslint/typescript-estree": "5.29.0", 209 | "debug": "^4.3.4" 210 | }, 211 | "engines": { 212 | "node": "^12.22.0 || ^14.17.0 || >=16.0.0" 213 | }, 214 | "funding": { 215 | "type": "opencollective", 216 | "url": "https://opencollective.com/typescript-eslint" 217 | }, 218 | "peerDependencies": { 219 | "eslint": "^6.0.0 || ^7.0.0 || ^8.0.0" 220 | }, 221 | "peerDependenciesMeta": { 222 | "typescript": { 223 | "optional": true 224 | } 225 | } 226 | }, 227 | "node_modules/@typescript-eslint/scope-manager": { 228 | "version": "5.29.0", 229 | "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-5.29.0.tgz", 230 | "integrity": "sha512-etbXUT0FygFi2ihcxDZjz21LtC+Eps9V2xVx09zFoN44RRHPrkMflidGMI+2dUs821zR1tDS6Oc9IXxIjOUZwA==", 231 | "dev": true, 232 | "dependencies": { 233 | "@typescript-eslint/types": "5.29.0", 234 | "@typescript-eslint/visitor-keys": "5.29.0" 235 | }, 236 | "engines": { 237 | "node": "^12.22.0 || ^14.17.0 || >=16.0.0" 238 | }, 239 | "funding": { 240 | "type": "opencollective", 241 | "url": "https://opencollective.com/typescript-eslint" 242 | } 243 | }, 244 | "node_modules/@typescript-eslint/type-utils": { 245 | "version": "5.29.0", 246 | "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-5.29.0.tgz", 247 | "integrity": "sha512-JK6bAaaiJozbox3K220VRfCzLa9n0ib/J+FHIwnaV3Enw/TO267qe0pM1b1QrrEuy6xun374XEAsRlA86JJnyg==", 248 | "dev": true, 249 | "dependencies": { 250 | "@typescript-eslint/utils": "5.29.0", 251 | "debug": "^4.3.4", 252 | "tsutils": "^3.21.0" 253 | }, 254 | "engines": { 255 | "node": "^12.22.0 || ^14.17.0 || >=16.0.0" 256 | }, 257 | "funding": { 258 | "type": "opencollective", 259 | "url": "https://opencollective.com/typescript-eslint" 260 | }, 261 | "peerDependencies": { 262 | "eslint": "*" 263 | }, 264 | "peerDependenciesMeta": { 265 | "typescript": { 266 | "optional": true 267 | } 268 | } 269 | }, 270 | "node_modules/@typescript-eslint/types": { 271 | "version": "5.29.0", 272 | "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-5.29.0.tgz", 273 | "integrity": "sha512-X99VbqvAXOMdVyfFmksMy3u8p8yoRGITgU1joBJPzeYa0rhdf5ok9S56/itRoUSh99fiDoMtarSIJXo7H/SnOg==", 274 | "dev": true, 275 | "engines": { 276 | "node": "^12.22.0 || ^14.17.0 || >=16.0.0" 277 | }, 278 | "funding": { 279 | "type": "opencollective", 280 | "url": "https://opencollective.com/typescript-eslint" 281 | } 282 | }, 283 | "node_modules/@typescript-eslint/typescript-estree": { 284 | "version": "5.29.0", 285 | "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-5.29.0.tgz", 286 | "integrity": "sha512-mQvSUJ/JjGBdvo+1LwC+GY2XmSYjK1nAaVw2emp/E61wEVYEyibRHCqm1I1vEKbXCpUKuW4G7u9ZCaZhJbLoNQ==", 287 | "dev": true, 288 | "dependencies": { 289 | "@typescript-eslint/types": "5.29.0", 290 | "@typescript-eslint/visitor-keys": "5.29.0", 291 | "debug": "^4.3.4", 292 | "globby": "^11.1.0", 293 | "is-glob": "^4.0.3", 294 | "semver": "^7.3.7", 295 | "tsutils": "^3.21.0" 296 | }, 297 | "engines": { 298 | "node": "^12.22.0 || ^14.17.0 || >=16.0.0" 299 | }, 300 | "funding": { 301 | "type": "opencollective", 302 | "url": "https://opencollective.com/typescript-eslint" 303 | }, 304 | "peerDependenciesMeta": { 305 | "typescript": { 306 | "optional": true 307 | } 308 | } 309 | }, 310 | "node_modules/@typescript-eslint/utils": { 311 | "version": "5.29.0", 312 | "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-5.29.0.tgz", 313 | "integrity": "sha512-3Eos6uP1nyLOBayc/VUdKZikV90HahXE5Dx9L5YlSd/7ylQPXhLk1BYb29SDgnBnTp+jmSZUU0QxUiyHgW4p7A==", 314 | "dev": true, 315 | "dependencies": { 316 | "@types/json-schema": "^7.0.9", 317 | "@typescript-eslint/scope-manager": "5.29.0", 318 | "@typescript-eslint/types": "5.29.0", 319 | "@typescript-eslint/typescript-estree": "5.29.0", 320 | "eslint-scope": "^5.1.1", 321 | "eslint-utils": "^3.0.0" 322 | }, 323 | "engines": { 324 | "node": "^12.22.0 || ^14.17.0 || >=16.0.0" 325 | }, 326 | "funding": { 327 | "type": "opencollective", 328 | "url": "https://opencollective.com/typescript-eslint" 329 | }, 330 | "peerDependencies": { 331 | "eslint": "^6.0.0 || ^7.0.0 || ^8.0.0" 332 | } 333 | }, 334 | "node_modules/@typescript-eslint/visitor-keys": { 335 | "version": "5.29.0", 336 | "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-5.29.0.tgz", 337 | "integrity": "sha512-Hpb/mCWsjILvikMQoZIE3voc9wtQcS0A9FUw3h8bhr9UxBdtI/tw1ZDZUOXHXLOVMedKCH5NxyzATwnU78bWCQ==", 338 | "dev": true, 339 | "dependencies": { 340 | "@typescript-eslint/types": "5.29.0", 341 | "eslint-visitor-keys": "^3.3.0" 342 | }, 343 | "engines": { 344 | "node": "^12.22.0 || ^14.17.0 || >=16.0.0" 345 | }, 346 | "funding": { 347 | "type": "opencollective", 348 | "url": "https://opencollective.com/typescript-eslint" 349 | } 350 | }, 351 | "node_modules/@ungap/promise-all-settled": { 352 | "version": "1.1.2", 353 | "resolved": "https://registry.npmjs.org/@ungap/promise-all-settled/-/promise-all-settled-1.1.2.tgz", 354 | "integrity": "sha512-sL/cEvJWAnClXw0wHk85/2L0G6Sj8UB0Ctc1TEMbKSsmpRosqhwj9gWgFRZSrBr2f9tiXISwNhCPmlfqUqyb9Q==", 355 | "dev": true 356 | }, 357 | "node_modules/acorn": { 358 | "version": "8.7.1", 359 | "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.7.1.tgz", 360 | "integrity": "sha512-Xx54uLJQZ19lKygFXOWsscKUbsBZW0CPykPhVQdhIeIwrbPmJzqeASDInc8nKBnp/JT6igTs82qPXz069H8I/A==", 361 | "dev": true, 362 | "bin": { 363 | "acorn": "bin/acorn" 364 | }, 365 | "engines": { 366 | "node": ">=0.4.0" 367 | } 368 | }, 369 | "node_modules/acorn-jsx": { 370 | "version": "5.3.2", 371 | "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.3.2.tgz", 372 | "integrity": "sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==", 373 | "dev": true, 374 | "peerDependencies": { 375 | "acorn": "^6.0.0 || ^7.0.0 || ^8.0.0" 376 | } 377 | }, 378 | "node_modules/ajv": { 379 | "version": "6.12.6", 380 | "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", 381 | "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", 382 | "dev": true, 383 | "dependencies": { 384 | "fast-deep-equal": "^3.1.1", 385 | "fast-json-stable-stringify": "^2.0.0", 386 | "json-schema-traverse": "^0.4.1", 387 | "uri-js": "^4.2.2" 388 | }, 389 | "funding": { 390 | "type": "github", 391 | "url": "https://github.com/sponsors/epoberezkin" 392 | } 393 | }, 394 | "node_modules/ansi-colors": { 395 | "version": "4.1.1", 396 | "resolved": "https://registry.npmjs.org/ansi-colors/-/ansi-colors-4.1.1.tgz", 397 | "integrity": "sha512-JoX0apGbHaUJBNl6yF+p6JAFYZ666/hhCGKN5t9QFjbJQKUU/g8MNbFDbvfrgKXvI1QpZplPOnwIo99lX/AAmA==", 398 | "dev": true, 399 | "engines": { 400 | "node": ">=6" 401 | } 402 | }, 403 | "node_modules/ansi-regex": { 404 | "version": "5.0.1", 405 | "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", 406 | "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", 407 | "dev": true, 408 | "engines": { 409 | "node": ">=8" 410 | } 411 | }, 412 | "node_modules/ansi-styles": { 413 | "version": "4.3.0", 414 | "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", 415 | "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", 416 | "dev": true, 417 | "dependencies": { 418 | "color-convert": "^2.0.1" 419 | }, 420 | "engines": { 421 | "node": ">=8" 422 | }, 423 | "funding": { 424 | "url": "https://github.com/chalk/ansi-styles?sponsor=1" 425 | } 426 | }, 427 | "node_modules/anymatch": { 428 | "version": "3.1.2", 429 | "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.2.tgz", 430 | "integrity": "sha512-P43ePfOAIupkguHUycrc4qJ9kz8ZiuOUijaETwX7THt0Y/GNK7v0aa8rY816xWjZ7rJdA5XdMcpVFTKMq+RvWg==", 431 | "dev": true, 432 | "dependencies": { 433 | "normalize-path": "^3.0.0", 434 | "picomatch": "^2.0.4" 435 | }, 436 | "engines": { 437 | "node": ">= 8" 438 | } 439 | }, 440 | "node_modules/argparse": { 441 | "version": "2.0.1", 442 | "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", 443 | "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==", 444 | "dev": true 445 | }, 446 | "node_modules/array-union": { 447 | "version": "2.1.0", 448 | "resolved": "https://registry.npmjs.org/array-union/-/array-union-2.1.0.tgz", 449 | "integrity": "sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==", 450 | "dev": true, 451 | "engines": { 452 | "node": ">=8" 453 | } 454 | }, 455 | "node_modules/assertion-error": { 456 | "version": "1.1.0", 457 | "resolved": "https://registry.npmjs.org/assertion-error/-/assertion-error-1.1.0.tgz", 458 | "integrity": "sha512-jgsaNduz+ndvGyFt3uSuWqvy4lCnIJiovtouQN5JZHOKCS2QuhEdbcQHFhVksz2N2U9hXJo8odG7ETyWlEeuDw==", 459 | "dev": true, 460 | "engines": { 461 | "node": "*" 462 | } 463 | }, 464 | "node_modules/balanced-match": { 465 | "version": "1.0.2", 466 | "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", 467 | "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==", 468 | "dev": true 469 | }, 470 | "node_modules/binary-extensions": { 471 | "version": "2.2.0", 472 | "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.2.0.tgz", 473 | "integrity": "sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==", 474 | "dev": true, 475 | "engines": { 476 | "node": ">=8" 477 | } 478 | }, 479 | "node_modules/brace-expansion": { 480 | "version": "1.1.11", 481 | "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", 482 | "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", 483 | "dev": true, 484 | "dependencies": { 485 | "balanced-match": "^1.0.0", 486 | "concat-map": "0.0.1" 487 | } 488 | }, 489 | "node_modules/braces": { 490 | "version": "3.0.2", 491 | "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz", 492 | "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==", 493 | "dev": true, 494 | "dependencies": { 495 | "fill-range": "^7.0.1" 496 | }, 497 | "engines": { 498 | "node": ">=8" 499 | } 500 | }, 501 | "node_modules/browser-stdout": { 502 | "version": "1.3.1", 503 | "resolved": "https://registry.npmjs.org/browser-stdout/-/browser-stdout-1.3.1.tgz", 504 | "integrity": "sha512-qhAVI1+Av2X7qelOfAIYwXONood6XlZE/fXaBSmW/T5SzLAmCgzi+eiWE7fUvbHaeNBQH13UftjpXxsfLkMpgw==", 505 | "dev": true 506 | }, 507 | "node_modules/callsites": { 508 | "version": "3.1.0", 509 | "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz", 510 | "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==", 511 | "dev": true, 512 | "engines": { 513 | "node": ">=6" 514 | } 515 | }, 516 | "node_modules/camelcase": { 517 | "version": "6.3.0", 518 | "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-6.3.0.tgz", 519 | "integrity": "sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA==", 520 | "dev": true, 521 | "engines": { 522 | "node": ">=10" 523 | }, 524 | "funding": { 525 | "url": "https://github.com/sponsors/sindresorhus" 526 | } 527 | }, 528 | "node_modules/chai": { 529 | "version": "4.3.6", 530 | "resolved": "https://registry.npmjs.org/chai/-/chai-4.3.6.tgz", 531 | "integrity": "sha512-bbcp3YfHCUzMOvKqsztczerVgBKSsEijCySNlHHbX3VG1nskvqjz5Rfso1gGwD6w6oOV3eI60pKuMOV5MV7p3Q==", 532 | "dev": true, 533 | "dependencies": { 534 | "assertion-error": "^1.1.0", 535 | "check-error": "^1.0.2", 536 | "deep-eql": "^3.0.1", 537 | "get-func-name": "^2.0.0", 538 | "loupe": "^2.3.1", 539 | "pathval": "^1.1.1", 540 | "type-detect": "^4.0.5" 541 | }, 542 | "engines": { 543 | "node": ">=4" 544 | } 545 | }, 546 | "node_modules/chalk": { 547 | "version": "4.1.2", 548 | "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", 549 | "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", 550 | "dev": true, 551 | "dependencies": { 552 | "ansi-styles": "^4.1.0", 553 | "supports-color": "^7.1.0" 554 | }, 555 | "engines": { 556 | "node": ">=10" 557 | }, 558 | "funding": { 559 | "url": "https://github.com/chalk/chalk?sponsor=1" 560 | } 561 | }, 562 | "node_modules/chalk/node_modules/supports-color": { 563 | "version": "7.2.0", 564 | "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", 565 | "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", 566 | "dev": true, 567 | "dependencies": { 568 | "has-flag": "^4.0.0" 569 | }, 570 | "engines": { 571 | "node": ">=8" 572 | } 573 | }, 574 | "node_modules/check-error": { 575 | "version": "1.0.2", 576 | "resolved": "https://registry.npmjs.org/check-error/-/check-error-1.0.2.tgz", 577 | "integrity": "sha512-BrgHpW9NURQgzoNyjfq0Wu6VFO6D7IZEmJNdtgNqpzGG8RuNFHt2jQxWlAs4HMe119chBnv+34syEZtc6IhLtA==", 578 | "dev": true, 579 | "engines": { 580 | "node": "*" 581 | } 582 | }, 583 | "node_modules/chokidar": { 584 | "version": "3.5.3", 585 | "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.5.3.tgz", 586 | "integrity": "sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw==", 587 | "dev": true, 588 | "funding": [ 589 | { 590 | "type": "individual", 591 | "url": "https://paulmillr.com/funding/" 592 | } 593 | ], 594 | "dependencies": { 595 | "anymatch": "~3.1.2", 596 | "braces": "~3.0.2", 597 | "glob-parent": "~5.1.2", 598 | "is-binary-path": "~2.1.0", 599 | "is-glob": "~4.0.1", 600 | "normalize-path": "~3.0.0", 601 | "readdirp": "~3.6.0" 602 | }, 603 | "engines": { 604 | "node": ">= 8.10.0" 605 | }, 606 | "optionalDependencies": { 607 | "fsevents": "~2.3.2" 608 | } 609 | }, 610 | "node_modules/cliui": { 611 | "version": "7.0.4", 612 | "resolved": "https://registry.npmjs.org/cliui/-/cliui-7.0.4.tgz", 613 | "integrity": "sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ==", 614 | "dev": true, 615 | "dependencies": { 616 | "string-width": "^4.2.0", 617 | "strip-ansi": "^6.0.0", 618 | "wrap-ansi": "^7.0.0" 619 | } 620 | }, 621 | "node_modules/color-convert": { 622 | "version": "2.0.1", 623 | "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", 624 | "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", 625 | "dev": true, 626 | "dependencies": { 627 | "color-name": "~1.1.4" 628 | }, 629 | "engines": { 630 | "node": ">=7.0.0" 631 | } 632 | }, 633 | "node_modules/color-name": { 634 | "version": "1.1.4", 635 | "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", 636 | "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", 637 | "dev": true 638 | }, 639 | "node_modules/concat-map": { 640 | "version": "0.0.1", 641 | "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", 642 | "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==", 643 | "dev": true 644 | }, 645 | "node_modules/cross-spawn": { 646 | "version": "7.0.3", 647 | "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz", 648 | "integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==", 649 | "dev": true, 650 | "dependencies": { 651 | "path-key": "^3.1.0", 652 | "shebang-command": "^2.0.0", 653 | "which": "^2.0.1" 654 | }, 655 | "engines": { 656 | "node": ">= 8" 657 | } 658 | }, 659 | "node_modules/debug": { 660 | "version": "4.3.4", 661 | "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", 662 | "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", 663 | "dev": true, 664 | "dependencies": { 665 | "ms": "2.1.2" 666 | }, 667 | "engines": { 668 | "node": ">=6.0" 669 | }, 670 | "peerDependenciesMeta": { 671 | "supports-color": { 672 | "optional": true 673 | } 674 | } 675 | }, 676 | "node_modules/decamelize": { 677 | "version": "4.0.0", 678 | "resolved": "https://registry.npmjs.org/decamelize/-/decamelize-4.0.0.tgz", 679 | "integrity": "sha512-9iE1PgSik9HeIIw2JO94IidnE3eBoQrFJ3w7sFuzSX4DpmZ3v5sZpUiV5Swcf6mQEF+Y0ru8Neo+p+nyh2J+hQ==", 680 | "dev": true, 681 | "engines": { 682 | "node": ">=10" 683 | }, 684 | "funding": { 685 | "url": "https://github.com/sponsors/sindresorhus" 686 | } 687 | }, 688 | "node_modules/deep-eql": { 689 | "version": "3.0.1", 690 | "resolved": "https://registry.npmjs.org/deep-eql/-/deep-eql-3.0.1.tgz", 691 | "integrity": "sha512-+QeIQyN5ZuO+3Uk5DYh6/1eKO0m0YmJFGNmFHGACpf1ClL1nmlV/p4gNgbl2pJGxgXb4faqo6UE+M5ACEMyVcw==", 692 | "dev": true, 693 | "dependencies": { 694 | "type-detect": "^4.0.0" 695 | }, 696 | "engines": { 697 | "node": ">=0.12" 698 | } 699 | }, 700 | "node_modules/deep-is": { 701 | "version": "0.1.4", 702 | "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.4.tgz", 703 | "integrity": "sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==", 704 | "dev": true 705 | }, 706 | "node_modules/diff": { 707 | "version": "5.1.0", 708 | "resolved": "https://registry.npmjs.org/diff/-/diff-5.1.0.tgz", 709 | "integrity": "sha512-D+mk+qE8VC/PAUrlAU34N+VfXev0ghe5ywmpqrawphmVZc1bEfn56uo9qpyGp1p4xpzOHkSW4ztBd6L7Xx4ACw==", 710 | "dev": true, 711 | "engines": { 712 | "node": ">=0.3.1" 713 | } 714 | }, 715 | "node_modules/dir-glob": { 716 | "version": "3.0.1", 717 | "resolved": "https://registry.npmjs.org/dir-glob/-/dir-glob-3.0.1.tgz", 718 | "integrity": "sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA==", 719 | "dev": true, 720 | "dependencies": { 721 | "path-type": "^4.0.0" 722 | }, 723 | "engines": { 724 | "node": ">=8" 725 | } 726 | }, 727 | "node_modules/doctrine": { 728 | "version": "3.0.0", 729 | "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-3.0.0.tgz", 730 | "integrity": "sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w==", 731 | "dev": true, 732 | "dependencies": { 733 | "esutils": "^2.0.2" 734 | }, 735 | "engines": { 736 | "node": ">=6.0.0" 737 | } 738 | }, 739 | "node_modules/emoji-regex": { 740 | "version": "8.0.0", 741 | "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", 742 | "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", 743 | "dev": true 744 | }, 745 | "node_modules/escalade": { 746 | "version": "3.1.1", 747 | "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz", 748 | "integrity": "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==", 749 | "dev": true, 750 | "engines": { 751 | "node": ">=6" 752 | } 753 | }, 754 | "node_modules/escape-string-regexp": { 755 | "version": "4.0.0", 756 | "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz", 757 | "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==", 758 | "dev": true, 759 | "engines": { 760 | "node": ">=10" 761 | }, 762 | "funding": { 763 | "url": "https://github.com/sponsors/sindresorhus" 764 | } 765 | }, 766 | "node_modules/eslint": { 767 | "version": "8.18.0", 768 | "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.18.0.tgz", 769 | "integrity": "sha512-As1EfFMVk7Xc6/CvhssHUjsAQSkpfXvUGMFC3ce8JDe6WvqCgRrLOBQbVpsBFr1X1V+RACOadnzVvcUS5ni2bA==", 770 | "dev": true, 771 | "dependencies": { 772 | "@eslint/eslintrc": "^1.3.0", 773 | "@humanwhocodes/config-array": "^0.9.2", 774 | "ajv": "^6.10.0", 775 | "chalk": "^4.0.0", 776 | "cross-spawn": "^7.0.2", 777 | "debug": "^4.3.2", 778 | "doctrine": "^3.0.0", 779 | "escape-string-regexp": "^4.0.0", 780 | "eslint-scope": "^7.1.1", 781 | "eslint-utils": "^3.0.0", 782 | "eslint-visitor-keys": "^3.3.0", 783 | "espree": "^9.3.2", 784 | "esquery": "^1.4.0", 785 | "esutils": "^2.0.2", 786 | "fast-deep-equal": "^3.1.3", 787 | "file-entry-cache": "^6.0.1", 788 | "functional-red-black-tree": "^1.0.1", 789 | "glob-parent": "^6.0.1", 790 | "globals": "^13.15.0", 791 | "ignore": "^5.2.0", 792 | "import-fresh": "^3.0.0", 793 | "imurmurhash": "^0.1.4", 794 | "is-glob": "^4.0.0", 795 | "js-yaml": "^4.1.0", 796 | "json-stable-stringify-without-jsonify": "^1.0.1", 797 | "levn": "^0.4.1", 798 | "lodash.merge": "^4.6.2", 799 | "minimatch": "^3.1.2", 800 | "natural-compare": "^1.4.0", 801 | "optionator": "^0.9.1", 802 | "regexpp": "^3.2.0", 803 | "strip-ansi": "^6.0.1", 804 | "strip-json-comments": "^3.1.0", 805 | "text-table": "^0.2.0", 806 | "v8-compile-cache": "^2.0.3" 807 | }, 808 | "bin": { 809 | "eslint": "bin/eslint.js" 810 | }, 811 | "engines": { 812 | "node": "^12.22.0 || ^14.17.0 || >=16.0.0" 813 | }, 814 | "funding": { 815 | "url": "https://opencollective.com/eslint" 816 | } 817 | }, 818 | "node_modules/eslint-scope": { 819 | "version": "5.1.1", 820 | "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-5.1.1.tgz", 821 | "integrity": "sha512-2NxwbF/hZ0KpepYN0cNbo+FN6XoK7GaHlQhgx/hIZl6Va0bF45RQOOwhLIy8lQDbuCiadSLCBnH2CFYquit5bw==", 822 | "dev": true, 823 | "dependencies": { 824 | "esrecurse": "^4.3.0", 825 | "estraverse": "^4.1.1" 826 | }, 827 | "engines": { 828 | "node": ">=8.0.0" 829 | } 830 | }, 831 | "node_modules/eslint-utils": { 832 | "version": "3.0.0", 833 | "resolved": "https://registry.npmjs.org/eslint-utils/-/eslint-utils-3.0.0.tgz", 834 | "integrity": "sha512-uuQC43IGctw68pJA1RgbQS8/NP7rch6Cwd4j3ZBtgo4/8Flj4eGE7ZYSZRN3iq5pVUv6GPdW5Z1RFleo84uLDA==", 835 | "dev": true, 836 | "dependencies": { 837 | "eslint-visitor-keys": "^2.0.0" 838 | }, 839 | "engines": { 840 | "node": "^10.0.0 || ^12.0.0 || >= 14.0.0" 841 | }, 842 | "funding": { 843 | "url": "https://github.com/sponsors/mysticatea" 844 | }, 845 | "peerDependencies": { 846 | "eslint": ">=5" 847 | } 848 | }, 849 | "node_modules/eslint-utils/node_modules/eslint-visitor-keys": { 850 | "version": "2.1.0", 851 | "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-2.1.0.tgz", 852 | "integrity": "sha512-0rSmRBzXgDzIsD6mGdJgevzgezI534Cer5L/vyMX0kHzT/jiB43jRhd9YUlMGYLQy2zprNmoT8qasCGtY+QaKw==", 853 | "dev": true, 854 | "engines": { 855 | "node": ">=10" 856 | } 857 | }, 858 | "node_modules/eslint-visitor-keys": { 859 | "version": "3.3.0", 860 | "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.3.0.tgz", 861 | "integrity": "sha512-mQ+suqKJVyeuwGYHAdjMFqjCyfl8+Ldnxuyp3ldiMBFKkvytrXUZWaiPCEav8qDHKty44bD+qV1IP4T+w+xXRA==", 862 | "dev": true, 863 | "engines": { 864 | "node": "^12.22.0 || ^14.17.0 || >=16.0.0" 865 | } 866 | }, 867 | "node_modules/eslint/node_modules/eslint-scope": { 868 | "version": "7.1.1", 869 | "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-7.1.1.tgz", 870 | "integrity": "sha512-QKQM/UXpIiHcLqJ5AOyIW7XZmzjkzQXYE54n1++wb0u9V/abW3l9uQnxX8Z5Xd18xyKIMTUAyQ0k1e8pz6LUrw==", 871 | "dev": true, 872 | "dependencies": { 873 | "esrecurse": "^4.3.0", 874 | "estraverse": "^5.2.0" 875 | }, 876 | "engines": { 877 | "node": "^12.22.0 || ^14.17.0 || >=16.0.0" 878 | } 879 | }, 880 | "node_modules/eslint/node_modules/estraverse": { 881 | "version": "5.3.0", 882 | "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", 883 | "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", 884 | "dev": true, 885 | "engines": { 886 | "node": ">=4.0" 887 | } 888 | }, 889 | "node_modules/eslint/node_modules/glob-parent": { 890 | "version": "6.0.2", 891 | "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz", 892 | "integrity": "sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==", 893 | "dev": true, 894 | "dependencies": { 895 | "is-glob": "^4.0.3" 896 | }, 897 | "engines": { 898 | "node": ">=10.13.0" 899 | } 900 | }, 901 | "node_modules/espree": { 902 | "version": "9.3.2", 903 | "resolved": "https://registry.npmjs.org/espree/-/espree-9.3.2.tgz", 904 | "integrity": "sha512-D211tC7ZwouTIuY5x9XnS0E9sWNChB7IYKX/Xp5eQj3nFXhqmiUDB9q27y76oFl8jTg3pXcQx/bpxMfs3CIZbA==", 905 | "dev": true, 906 | "dependencies": { 907 | "acorn": "^8.7.1", 908 | "acorn-jsx": "^5.3.2", 909 | "eslint-visitor-keys": "^3.3.0" 910 | }, 911 | "engines": { 912 | "node": "^12.22.0 || ^14.17.0 || >=16.0.0" 913 | } 914 | }, 915 | "node_modules/esquery": { 916 | "version": "1.4.0", 917 | "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.4.0.tgz", 918 | "integrity": "sha512-cCDispWt5vHHtwMY2YrAQ4ibFkAL8RbH5YGBnZBc90MolvvfkkQcJro/aZiAQUlQ3qgrYS6D6v8Gc5G5CQsc9w==", 919 | "dev": true, 920 | "dependencies": { 921 | "estraverse": "^5.1.0" 922 | }, 923 | "engines": { 924 | "node": ">=0.10" 925 | } 926 | }, 927 | "node_modules/esquery/node_modules/estraverse": { 928 | "version": "5.3.0", 929 | "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", 930 | "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", 931 | "dev": true, 932 | "engines": { 933 | "node": ">=4.0" 934 | } 935 | }, 936 | "node_modules/esrecurse": { 937 | "version": "4.3.0", 938 | "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.3.0.tgz", 939 | "integrity": "sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==", 940 | "dev": true, 941 | "dependencies": { 942 | "estraverse": "^5.2.0" 943 | }, 944 | "engines": { 945 | "node": ">=4.0" 946 | } 947 | }, 948 | "node_modules/esrecurse/node_modules/estraverse": { 949 | "version": "5.3.0", 950 | "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", 951 | "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", 952 | "dev": true, 953 | "engines": { 954 | "node": ">=4.0" 955 | } 956 | }, 957 | "node_modules/estraverse": { 958 | "version": "4.3.0", 959 | "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-4.3.0.tgz", 960 | "integrity": "sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==", 961 | "dev": true, 962 | "engines": { 963 | "node": ">=4.0" 964 | } 965 | }, 966 | "node_modules/esutils": { 967 | "version": "2.0.3", 968 | "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz", 969 | "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==", 970 | "dev": true, 971 | "engines": { 972 | "node": ">=0.10.0" 973 | } 974 | }, 975 | "node_modules/fast-deep-equal": { 976 | "version": "3.1.3", 977 | "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", 978 | "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==", 979 | "dev": true 980 | }, 981 | "node_modules/fast-glob": { 982 | "version": "3.2.11", 983 | "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.2.11.tgz", 984 | "integrity": "sha512-xrO3+1bxSo3ZVHAnqzyuewYT6aMFHRAd4Kcs92MAonjwQZLsK9d0SF1IyQ3k5PoirxTW0Oe/RqFgMQ6TcNE5Ew==", 985 | "dev": true, 986 | "dependencies": { 987 | "@nodelib/fs.stat": "^2.0.2", 988 | "@nodelib/fs.walk": "^1.2.3", 989 | "glob-parent": "^5.1.2", 990 | "merge2": "^1.3.0", 991 | "micromatch": "^4.0.4" 992 | }, 993 | "engines": { 994 | "node": ">=8.6.0" 995 | } 996 | }, 997 | "node_modules/fast-json-stable-stringify": { 998 | "version": "2.1.0", 999 | "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz", 1000 | "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==", 1001 | "dev": true 1002 | }, 1003 | "node_modules/fast-levenshtein": { 1004 | "version": "2.0.6", 1005 | "resolved": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz", 1006 | "integrity": "sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==", 1007 | "dev": true 1008 | }, 1009 | "node_modules/fastq": { 1010 | "version": "1.13.0", 1011 | "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.13.0.tgz", 1012 | "integrity": "sha512-YpkpUnK8od0o1hmeSc7UUs/eB/vIPWJYjKck2QKIzAf71Vm1AAQ3EbuZB3g2JIy+pg+ERD0vqI79KyZiB2e2Nw==", 1013 | "dev": true, 1014 | "dependencies": { 1015 | "reusify": "^1.0.4" 1016 | } 1017 | }, 1018 | "node_modules/file-entry-cache": { 1019 | "version": "6.0.1", 1020 | "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-6.0.1.tgz", 1021 | "integrity": "sha512-7Gps/XWymbLk2QLYK4NzpMOrYjMhdIxXuIvy2QBsLE6ljuodKvdkWs/cpyJJ3CVIVpH0Oi1Hvg1ovbMzLdFBBg==", 1022 | "dev": true, 1023 | "dependencies": { 1024 | "flat-cache": "^3.0.4" 1025 | }, 1026 | "engines": { 1027 | "node": "^10.12.0 || >=12.0.0" 1028 | } 1029 | }, 1030 | "node_modules/fill-range": { 1031 | "version": "7.0.1", 1032 | "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz", 1033 | "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==", 1034 | "dev": true, 1035 | "dependencies": { 1036 | "to-regex-range": "^5.0.1" 1037 | }, 1038 | "engines": { 1039 | "node": ">=8" 1040 | } 1041 | }, 1042 | "node_modules/find-up": { 1043 | "version": "5.0.0", 1044 | "resolved": "https://registry.npmjs.org/find-up/-/find-up-5.0.0.tgz", 1045 | "integrity": "sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==", 1046 | "dev": true, 1047 | "dependencies": { 1048 | "locate-path": "^6.0.0", 1049 | "path-exists": "^4.0.0" 1050 | }, 1051 | "engines": { 1052 | "node": ">=10" 1053 | }, 1054 | "funding": { 1055 | "url": "https://github.com/sponsors/sindresorhus" 1056 | } 1057 | }, 1058 | "node_modules/flat": { 1059 | "version": "5.0.2", 1060 | "resolved": "https://registry.npmjs.org/flat/-/flat-5.0.2.tgz", 1061 | "integrity": "sha512-b6suED+5/3rTpUBdG1gupIl8MPFCAMA0QXwmljLhvCUKcUvdE4gWky9zpuGCcXHOsz4J9wPGNWq6OKpmIzz3hQ==", 1062 | "dev": true, 1063 | "bin": { 1064 | "flat": "cli.js" 1065 | } 1066 | }, 1067 | "node_modules/flat-cache": { 1068 | "version": "3.0.4", 1069 | "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-3.0.4.tgz", 1070 | "integrity": "sha512-dm9s5Pw7Jc0GvMYbshN6zchCA9RgQlzzEZX3vylR9IqFfS8XciblUXOKfW6SiuJ0e13eDYZoZV5wdrev7P3Nwg==", 1071 | "dev": true, 1072 | "dependencies": { 1073 | "flatted": "^3.1.0", 1074 | "rimraf": "^3.0.2" 1075 | }, 1076 | "engines": { 1077 | "node": "^10.12.0 || >=12.0.0" 1078 | } 1079 | }, 1080 | "node_modules/flatted": { 1081 | "version": "3.2.5", 1082 | "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.2.5.tgz", 1083 | "integrity": "sha512-WIWGi2L3DyTUvUrwRKgGi9TwxQMUEqPOPQBVi71R96jZXJdFskXEmf54BoZaS1kknGODoIGASGEzBUYdyMCBJg==", 1084 | "dev": true 1085 | }, 1086 | "node_modules/fs.realpath": { 1087 | "version": "1.0.0", 1088 | "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", 1089 | "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==", 1090 | "dev": true 1091 | }, 1092 | "node_modules/fsevents": { 1093 | "version": "2.3.2", 1094 | "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz", 1095 | "integrity": "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==", 1096 | "dev": true, 1097 | "hasInstallScript": true, 1098 | "optional": true, 1099 | "os": [ 1100 | "darwin" 1101 | ], 1102 | "engines": { 1103 | "node": "^8.16.0 || ^10.6.0 || >=11.0.0" 1104 | } 1105 | }, 1106 | "node_modules/functional-red-black-tree": { 1107 | "version": "1.0.1", 1108 | "resolved": "https://registry.npmjs.org/functional-red-black-tree/-/functional-red-black-tree-1.0.1.tgz", 1109 | "integrity": "sha512-dsKNQNdj6xA3T+QlADDA7mOSlX0qiMINjn0cgr+eGHGsbSHzTabcIogz2+p/iqP1Xs6EP/sS2SbqH+brGTbq0g==", 1110 | "dev": true 1111 | }, 1112 | "node_modules/get-caller-file": { 1113 | "version": "2.0.5", 1114 | "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz", 1115 | "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==", 1116 | "dev": true, 1117 | "engines": { 1118 | "node": "6.* || 8.* || >= 10.*" 1119 | } 1120 | }, 1121 | "node_modules/get-func-name": { 1122 | "version": "2.0.0", 1123 | "resolved": "https://registry.npmjs.org/get-func-name/-/get-func-name-2.0.0.tgz", 1124 | "integrity": "sha512-Hm0ixYtaSZ/V7C8FJrtZIuBBI+iSgL+1Aq82zSu8VQNB4S3Gk8e7Qs3VwBDJAhmRZcFqkl3tQu36g/Foh5I5ig==", 1125 | "dev": true, 1126 | "engines": { 1127 | "node": "*" 1128 | } 1129 | }, 1130 | "node_modules/glob": { 1131 | "version": "7.2.3", 1132 | "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", 1133 | "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", 1134 | "dev": true, 1135 | "dependencies": { 1136 | "fs.realpath": "^1.0.0", 1137 | "inflight": "^1.0.4", 1138 | "inherits": "2", 1139 | "minimatch": "^3.1.1", 1140 | "once": "^1.3.0", 1141 | "path-is-absolute": "^1.0.0" 1142 | }, 1143 | "engines": { 1144 | "node": "*" 1145 | }, 1146 | "funding": { 1147 | "url": "https://github.com/sponsors/isaacs" 1148 | } 1149 | }, 1150 | "node_modules/glob-parent": { 1151 | "version": "5.1.2", 1152 | "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", 1153 | "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", 1154 | "dev": true, 1155 | "dependencies": { 1156 | "is-glob": "^4.0.1" 1157 | }, 1158 | "engines": { 1159 | "node": ">= 6" 1160 | } 1161 | }, 1162 | "node_modules/globals": { 1163 | "version": "13.15.0", 1164 | "resolved": "https://registry.npmjs.org/globals/-/globals-13.15.0.tgz", 1165 | "integrity": "sha512-bpzcOlgDhMG070Av0Vy5Owklpv1I6+j96GhUI7Rh7IzDCKLzboflLrrfqMu8NquDbiR4EOQk7XzJwqVJxicxog==", 1166 | "dev": true, 1167 | "dependencies": { 1168 | "type-fest": "^0.20.2" 1169 | }, 1170 | "engines": { 1171 | "node": ">=8" 1172 | }, 1173 | "funding": { 1174 | "url": "https://github.com/sponsors/sindresorhus" 1175 | } 1176 | }, 1177 | "node_modules/globby": { 1178 | "version": "11.1.0", 1179 | "resolved": "https://registry.npmjs.org/globby/-/globby-11.1.0.tgz", 1180 | "integrity": "sha512-jhIXaOzy1sb8IyocaruWSn1TjmnBVs8Ayhcy83rmxNJ8q2uWKCAj3CnJY+KpGSXCueAPc0i05kVvVKtP1t9S3g==", 1181 | "dev": true, 1182 | "dependencies": { 1183 | "array-union": "^2.1.0", 1184 | "dir-glob": "^3.0.1", 1185 | "fast-glob": "^3.2.9", 1186 | "ignore": "^5.2.0", 1187 | "merge2": "^1.4.1", 1188 | "slash": "^3.0.0" 1189 | }, 1190 | "engines": { 1191 | "node": ">=10" 1192 | }, 1193 | "funding": { 1194 | "url": "https://github.com/sponsors/sindresorhus" 1195 | } 1196 | }, 1197 | "node_modules/growl": { 1198 | "version": "1.10.5", 1199 | "resolved": "https://registry.npmjs.org/growl/-/growl-1.10.5.tgz", 1200 | "integrity": "sha512-qBr4OuELkhPenW6goKVXiv47US3clb3/IbuWF9KNKEijAy9oeHxU9IgzjvJhHkUzhaj7rOUD7+YGWqUjLp5oSA==", 1201 | "dev": true, 1202 | "engines": { 1203 | "node": ">=4.x" 1204 | } 1205 | }, 1206 | "node_modules/has-flag": { 1207 | "version": "4.0.0", 1208 | "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", 1209 | "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", 1210 | "dev": true, 1211 | "engines": { 1212 | "node": ">=8" 1213 | } 1214 | }, 1215 | "node_modules/he": { 1216 | "version": "1.2.0", 1217 | "resolved": "https://registry.npmjs.org/he/-/he-1.2.0.tgz", 1218 | "integrity": "sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw==", 1219 | "dev": true, 1220 | "bin": { 1221 | "he": "bin/he" 1222 | } 1223 | }, 1224 | "node_modules/ignore": { 1225 | "version": "5.2.0", 1226 | "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.2.0.tgz", 1227 | "integrity": "sha512-CmxgYGiEPCLhfLnpPp1MoRmifwEIOgjcHXxOBjv7mY96c+eWScsOP9c112ZyLdWHi0FxHjI+4uVhKYp/gcdRmQ==", 1228 | "dev": true, 1229 | "engines": { 1230 | "node": ">= 4" 1231 | } 1232 | }, 1233 | "node_modules/import-fresh": { 1234 | "version": "3.3.0", 1235 | "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.0.tgz", 1236 | "integrity": "sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==", 1237 | "dev": true, 1238 | "dependencies": { 1239 | "parent-module": "^1.0.0", 1240 | "resolve-from": "^4.0.0" 1241 | }, 1242 | "engines": { 1243 | "node": ">=6" 1244 | }, 1245 | "funding": { 1246 | "url": "https://github.com/sponsors/sindresorhus" 1247 | } 1248 | }, 1249 | "node_modules/imurmurhash": { 1250 | "version": "0.1.4", 1251 | "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz", 1252 | "integrity": "sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==", 1253 | "dev": true, 1254 | "engines": { 1255 | "node": ">=0.8.19" 1256 | } 1257 | }, 1258 | "node_modules/inflight": { 1259 | "version": "1.0.6", 1260 | "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", 1261 | "integrity": "sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==", 1262 | "dev": true, 1263 | "dependencies": { 1264 | "once": "^1.3.0", 1265 | "wrappy": "1" 1266 | } 1267 | }, 1268 | "node_modules/inherits": { 1269 | "version": "2.0.4", 1270 | "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", 1271 | "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", 1272 | "dev": true 1273 | }, 1274 | "node_modules/is-binary-path": { 1275 | "version": "2.1.0", 1276 | "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz", 1277 | "integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==", 1278 | "dev": true, 1279 | "dependencies": { 1280 | "binary-extensions": "^2.0.0" 1281 | }, 1282 | "engines": { 1283 | "node": ">=8" 1284 | } 1285 | }, 1286 | "node_modules/is-extglob": { 1287 | "version": "2.1.1", 1288 | "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", 1289 | "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==", 1290 | "dev": true, 1291 | "engines": { 1292 | "node": ">=0.10.0" 1293 | } 1294 | }, 1295 | "node_modules/is-fullwidth-code-point": { 1296 | "version": "3.0.0", 1297 | "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", 1298 | "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", 1299 | "dev": true, 1300 | "engines": { 1301 | "node": ">=8" 1302 | } 1303 | }, 1304 | "node_modules/is-glob": { 1305 | "version": "4.0.3", 1306 | "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", 1307 | "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", 1308 | "dev": true, 1309 | "dependencies": { 1310 | "is-extglob": "^2.1.1" 1311 | }, 1312 | "engines": { 1313 | "node": ">=0.10.0" 1314 | } 1315 | }, 1316 | "node_modules/is-number": { 1317 | "version": "7.0.0", 1318 | "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", 1319 | "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", 1320 | "dev": true, 1321 | "engines": { 1322 | "node": ">=0.12.0" 1323 | } 1324 | }, 1325 | "node_modules/is-plain-obj": { 1326 | "version": "2.1.0", 1327 | "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-2.1.0.tgz", 1328 | "integrity": "sha512-YWnfyRwxL/+SsrWYfOpUtz5b3YD+nyfkHvjbcanzk8zgyO4ASD67uVMRt8k5bM4lLMDnXfriRhOpemw+NfT1eA==", 1329 | "dev": true, 1330 | "engines": { 1331 | "node": ">=8" 1332 | } 1333 | }, 1334 | "node_modules/is-unicode-supported": { 1335 | "version": "0.1.0", 1336 | "resolved": "https://registry.npmjs.org/is-unicode-supported/-/is-unicode-supported-0.1.0.tgz", 1337 | "integrity": "sha512-knxG2q4UC3u8stRGyAVJCOdxFmv5DZiRcdlIaAQXAbSfJya+OhopNotLQrstBhququ4ZpuKbDc/8S6mgXgPFPw==", 1338 | "dev": true, 1339 | "engines": { 1340 | "node": ">=10" 1341 | }, 1342 | "funding": { 1343 | "url": "https://github.com/sponsors/sindresorhus" 1344 | } 1345 | }, 1346 | "node_modules/isexe": { 1347 | "version": "2.0.0", 1348 | "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", 1349 | "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==", 1350 | "dev": true 1351 | }, 1352 | "node_modules/js-yaml": { 1353 | "version": "4.1.0", 1354 | "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz", 1355 | "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==", 1356 | "dev": true, 1357 | "dependencies": { 1358 | "argparse": "^2.0.1" 1359 | }, 1360 | "bin": { 1361 | "js-yaml": "bin/js-yaml.js" 1362 | } 1363 | }, 1364 | "node_modules/json-schema-traverse": { 1365 | "version": "0.4.1", 1366 | "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", 1367 | "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==", 1368 | "dev": true 1369 | }, 1370 | "node_modules/json-stable-stringify-without-jsonify": { 1371 | "version": "1.0.1", 1372 | "resolved": "https://registry.npmjs.org/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz", 1373 | "integrity": "sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==", 1374 | "dev": true 1375 | }, 1376 | "node_modules/just-extend": { 1377 | "version": "4.2.1", 1378 | "resolved": "https://registry.npmjs.org/just-extend/-/just-extend-4.2.1.tgz", 1379 | "integrity": "sha512-g3UB796vUFIY90VIv/WX3L2c8CS2MdWUww3CNrYmqza1Fg0DURc2K/O4YrnklBdQarSJ/y8JnJYDGc+1iumQjg==", 1380 | "dev": true 1381 | }, 1382 | "node_modules/levn": { 1383 | "version": "0.4.1", 1384 | "resolved": "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz", 1385 | "integrity": "sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==", 1386 | "dev": true, 1387 | "dependencies": { 1388 | "prelude-ls": "^1.2.1", 1389 | "type-check": "~0.4.0" 1390 | }, 1391 | "engines": { 1392 | "node": ">= 0.8.0" 1393 | } 1394 | }, 1395 | "node_modules/locate-path": { 1396 | "version": "6.0.0", 1397 | "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz", 1398 | "integrity": "sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==", 1399 | "dev": true, 1400 | "dependencies": { 1401 | "p-locate": "^5.0.0" 1402 | }, 1403 | "engines": { 1404 | "node": ">=10" 1405 | }, 1406 | "funding": { 1407 | "url": "https://github.com/sponsors/sindresorhus" 1408 | } 1409 | }, 1410 | "node_modules/lodash.get": { 1411 | "version": "4.4.2", 1412 | "resolved": "https://registry.npmjs.org/lodash.get/-/lodash.get-4.4.2.tgz", 1413 | "integrity": "sha512-z+Uw/vLuy6gQe8cfaFWD7p0wVv8fJl3mbzXh33RS+0oW2wvUqiRXiQ69gLWSLpgB5/6sU+r6BlQR0MBILadqTQ==", 1414 | "dev": true 1415 | }, 1416 | "node_modules/lodash.merge": { 1417 | "version": "4.6.2", 1418 | "resolved": "https://registry.npmjs.org/lodash.merge/-/lodash.merge-4.6.2.tgz", 1419 | "integrity": "sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==", 1420 | "dev": true 1421 | }, 1422 | "node_modules/log-symbols": { 1423 | "version": "4.1.0", 1424 | "resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-4.1.0.tgz", 1425 | "integrity": "sha512-8XPvpAA8uyhfteu8pIvQxpJZ7SYYdpUivZpGy6sFsBuKRY/7rQGavedeB8aK+Zkyq6upMFVL/9AW6vOYzfRyLg==", 1426 | "dev": true, 1427 | "dependencies": { 1428 | "chalk": "^4.1.0", 1429 | "is-unicode-supported": "^0.1.0" 1430 | }, 1431 | "engines": { 1432 | "node": ">=10" 1433 | }, 1434 | "funding": { 1435 | "url": "https://github.com/sponsors/sindresorhus" 1436 | } 1437 | }, 1438 | "node_modules/loupe": { 1439 | "version": "2.3.4", 1440 | "resolved": "https://registry.npmjs.org/loupe/-/loupe-2.3.4.tgz", 1441 | "integrity": "sha512-OvKfgCC2Ndby6aSTREl5aCCPTNIzlDfQZvZxNUrBrihDhL3xcrYegTblhmEiCrg2kKQz4XsFIaemE5BF4ybSaQ==", 1442 | "dev": true, 1443 | "dependencies": { 1444 | "get-func-name": "^2.0.0" 1445 | } 1446 | }, 1447 | "node_modules/lru-cache": { 1448 | "version": "6.0.0", 1449 | "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", 1450 | "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", 1451 | "dev": true, 1452 | "dependencies": { 1453 | "yallist": "^4.0.0" 1454 | }, 1455 | "engines": { 1456 | "node": ">=10" 1457 | } 1458 | }, 1459 | "node_modules/merge2": { 1460 | "version": "1.4.1", 1461 | "resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz", 1462 | "integrity": "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==", 1463 | "dev": true, 1464 | "engines": { 1465 | "node": ">= 8" 1466 | } 1467 | }, 1468 | "node_modules/micromatch": { 1469 | "version": "4.0.5", 1470 | "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.5.tgz", 1471 | "integrity": "sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA==", 1472 | "dev": true, 1473 | "dependencies": { 1474 | "braces": "^3.0.2", 1475 | "picomatch": "^2.3.1" 1476 | }, 1477 | "engines": { 1478 | "node": ">=8.6" 1479 | } 1480 | }, 1481 | "node_modules/minimatch": { 1482 | "version": "3.1.2", 1483 | "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", 1484 | "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", 1485 | "dev": true, 1486 | "dependencies": { 1487 | "brace-expansion": "^1.1.7" 1488 | }, 1489 | "engines": { 1490 | "node": "*" 1491 | } 1492 | }, 1493 | "node_modules/mocha": { 1494 | "version": "9.2.2", 1495 | "resolved": "https://registry.npmjs.org/mocha/-/mocha-9.2.2.tgz", 1496 | "integrity": "sha512-L6XC3EdwT6YrIk0yXpavvLkn8h+EU+Y5UcCHKECyMbdUIxyMuZj4bX4U9e1nvnvUUvQVsV2VHQr5zLdcUkhW/g==", 1497 | "dev": true, 1498 | "dependencies": { 1499 | "@ungap/promise-all-settled": "1.1.2", 1500 | "ansi-colors": "4.1.1", 1501 | "browser-stdout": "1.3.1", 1502 | "chokidar": "3.5.3", 1503 | "debug": "4.3.3", 1504 | "diff": "5.0.0", 1505 | "escape-string-regexp": "4.0.0", 1506 | "find-up": "5.0.0", 1507 | "glob": "7.2.0", 1508 | "growl": "1.10.5", 1509 | "he": "1.2.0", 1510 | "js-yaml": "4.1.0", 1511 | "log-symbols": "4.1.0", 1512 | "minimatch": "4.2.1", 1513 | "ms": "2.1.3", 1514 | "nanoid": "3.3.1", 1515 | "serialize-javascript": "6.0.0", 1516 | "strip-json-comments": "3.1.1", 1517 | "supports-color": "8.1.1", 1518 | "which": "2.0.2", 1519 | "workerpool": "6.2.0", 1520 | "yargs": "16.2.0", 1521 | "yargs-parser": "20.2.4", 1522 | "yargs-unparser": "2.0.0" 1523 | }, 1524 | "bin": { 1525 | "_mocha": "bin/_mocha", 1526 | "mocha": "bin/mocha" 1527 | }, 1528 | "engines": { 1529 | "node": ">= 12.0.0" 1530 | }, 1531 | "funding": { 1532 | "type": "opencollective", 1533 | "url": "https://opencollective.com/mochajs" 1534 | } 1535 | }, 1536 | "node_modules/mocha/node_modules/debug": { 1537 | "version": "4.3.3", 1538 | "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.3.tgz", 1539 | "integrity": "sha512-/zxw5+vh1Tfv+4Qn7a5nsbcJKPaSvCDhojn6FEl9vupwK2VCSDtEiEtqr8DFtzYFOdz63LBkxec7DYuc2jon6Q==", 1540 | "dev": true, 1541 | "dependencies": { 1542 | "ms": "2.1.2" 1543 | }, 1544 | "engines": { 1545 | "node": ">=6.0" 1546 | }, 1547 | "peerDependenciesMeta": { 1548 | "supports-color": { 1549 | "optional": true 1550 | } 1551 | } 1552 | }, 1553 | "node_modules/mocha/node_modules/debug/node_modules/ms": { 1554 | "version": "2.1.2", 1555 | "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", 1556 | "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", 1557 | "dev": true 1558 | }, 1559 | "node_modules/mocha/node_modules/diff": { 1560 | "version": "5.0.0", 1561 | "resolved": "https://registry.npmjs.org/diff/-/diff-5.0.0.tgz", 1562 | "integrity": "sha512-/VTCrvm5Z0JGty/BWHljh+BAiw3IK+2j87NGMu8Nwc/f48WoDAC395uomO9ZD117ZOBaHmkX1oyLvkVM/aIT3w==", 1563 | "dev": true, 1564 | "engines": { 1565 | "node": ">=0.3.1" 1566 | } 1567 | }, 1568 | "node_modules/mocha/node_modules/glob": { 1569 | "version": "7.2.0", 1570 | "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.0.tgz", 1571 | "integrity": "sha512-lmLf6gtyrPq8tTjSmrO94wBeQbFR3HbLHbuyD69wuyQkImp2hWqMGB47OX65FBkPffO641IP9jWa1z4ivqG26Q==", 1572 | "dev": true, 1573 | "dependencies": { 1574 | "fs.realpath": "^1.0.0", 1575 | "inflight": "^1.0.4", 1576 | "inherits": "2", 1577 | "minimatch": "^3.0.4", 1578 | "once": "^1.3.0", 1579 | "path-is-absolute": "^1.0.0" 1580 | }, 1581 | "engines": { 1582 | "node": "*" 1583 | }, 1584 | "funding": { 1585 | "url": "https://github.com/sponsors/isaacs" 1586 | } 1587 | }, 1588 | "node_modules/mocha/node_modules/glob/node_modules/minimatch": { 1589 | "version": "3.1.2", 1590 | "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", 1591 | "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", 1592 | "dev": true, 1593 | "dependencies": { 1594 | "brace-expansion": "^1.1.7" 1595 | }, 1596 | "engines": { 1597 | "node": "*" 1598 | } 1599 | }, 1600 | "node_modules/mocha/node_modules/minimatch": { 1601 | "version": "4.2.1", 1602 | "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-4.2.1.tgz", 1603 | "integrity": "sha512-9Uq1ChtSZO+Mxa/CL1eGizn2vRn3MlLgzhT0Iz8zaY8NdvxvB0d5QdPFmCKf7JKA9Lerx5vRrnwO03jsSfGG9g==", 1604 | "dev": true, 1605 | "dependencies": { 1606 | "brace-expansion": "^1.1.7" 1607 | }, 1608 | "engines": { 1609 | "node": ">=10" 1610 | } 1611 | }, 1612 | "node_modules/mocha/node_modules/ms": { 1613 | "version": "2.1.3", 1614 | "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", 1615 | "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", 1616 | "dev": true 1617 | }, 1618 | "node_modules/ms": { 1619 | "version": "2.1.2", 1620 | "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", 1621 | "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", 1622 | "dev": true 1623 | }, 1624 | "node_modules/nanoid": { 1625 | "version": "3.3.1", 1626 | "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.1.tgz", 1627 | "integrity": "sha512-n6Vs/3KGyxPQd6uO0eH4Bv0ojGSUvuLlIHtC3Y0kEO23YRge8H9x1GCzLn28YX0H66pMkxuaeESFq4tKISKwdw==", 1628 | "dev": true, 1629 | "bin": { 1630 | "nanoid": "bin/nanoid.cjs" 1631 | }, 1632 | "engines": { 1633 | "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1" 1634 | } 1635 | }, 1636 | "node_modules/natural-compare": { 1637 | "version": "1.4.0", 1638 | "resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz", 1639 | "integrity": "sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==", 1640 | "dev": true 1641 | }, 1642 | "node_modules/nise": { 1643 | "version": "5.1.1", 1644 | "resolved": "https://registry.npmjs.org/nise/-/nise-5.1.1.tgz", 1645 | "integrity": "sha512-yr5kW2THW1AkxVmCnKEh4nbYkJdB3I7LUkiUgOvEkOp414mc2UMaHMA7pjq1nYowhdoJZGwEKGaQVbxfpWj10A==", 1646 | "dev": true, 1647 | "dependencies": { 1648 | "@sinonjs/commons": "^1.8.3", 1649 | "@sinonjs/fake-timers": ">=5", 1650 | "@sinonjs/text-encoding": "^0.7.1", 1651 | "just-extend": "^4.0.2", 1652 | "path-to-regexp": "^1.7.0" 1653 | } 1654 | }, 1655 | "node_modules/normalize-path": { 1656 | "version": "3.0.0", 1657 | "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz", 1658 | "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==", 1659 | "dev": true, 1660 | "engines": { 1661 | "node": ">=0.10.0" 1662 | } 1663 | }, 1664 | "node_modules/once": { 1665 | "version": "1.4.0", 1666 | "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", 1667 | "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==", 1668 | "dev": true, 1669 | "dependencies": { 1670 | "wrappy": "1" 1671 | } 1672 | }, 1673 | "node_modules/optionator": { 1674 | "version": "0.9.1", 1675 | "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.1.tgz", 1676 | "integrity": "sha512-74RlY5FCnhq4jRxVUPKDaRwrVNXMqsGsiW6AJw4XK8hmtm10wC0ypZBLw5IIp85NZMr91+qd1RvvENwg7jjRFw==", 1677 | "dev": true, 1678 | "dependencies": { 1679 | "deep-is": "^0.1.3", 1680 | "fast-levenshtein": "^2.0.6", 1681 | "levn": "^0.4.1", 1682 | "prelude-ls": "^1.2.1", 1683 | "type-check": "^0.4.0", 1684 | "word-wrap": "^1.2.3" 1685 | }, 1686 | "engines": { 1687 | "node": ">= 0.8.0" 1688 | } 1689 | }, 1690 | "node_modules/p-limit": { 1691 | "version": "3.1.0", 1692 | "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz", 1693 | "integrity": "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==", 1694 | "dev": true, 1695 | "dependencies": { 1696 | "yocto-queue": "^0.1.0" 1697 | }, 1698 | "engines": { 1699 | "node": ">=10" 1700 | }, 1701 | "funding": { 1702 | "url": "https://github.com/sponsors/sindresorhus" 1703 | } 1704 | }, 1705 | "node_modules/p-locate": { 1706 | "version": "5.0.0", 1707 | "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-5.0.0.tgz", 1708 | "integrity": "sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==", 1709 | "dev": true, 1710 | "dependencies": { 1711 | "p-limit": "^3.0.2" 1712 | }, 1713 | "engines": { 1714 | "node": ">=10" 1715 | }, 1716 | "funding": { 1717 | "url": "https://github.com/sponsors/sindresorhus" 1718 | } 1719 | }, 1720 | "node_modules/parent-module": { 1721 | "version": "1.0.1", 1722 | "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz", 1723 | "integrity": "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==", 1724 | "dev": true, 1725 | "dependencies": { 1726 | "callsites": "^3.0.0" 1727 | }, 1728 | "engines": { 1729 | "node": ">=6" 1730 | } 1731 | }, 1732 | "node_modules/path-exists": { 1733 | "version": "4.0.0", 1734 | "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", 1735 | "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", 1736 | "dev": true, 1737 | "engines": { 1738 | "node": ">=8" 1739 | } 1740 | }, 1741 | "node_modules/path-is-absolute": { 1742 | "version": "1.0.1", 1743 | "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", 1744 | "integrity": "sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==", 1745 | "dev": true, 1746 | "engines": { 1747 | "node": ">=0.10.0" 1748 | } 1749 | }, 1750 | "node_modules/path-key": { 1751 | "version": "3.1.1", 1752 | "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", 1753 | "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", 1754 | "dev": true, 1755 | "engines": { 1756 | "node": ">=8" 1757 | } 1758 | }, 1759 | "node_modules/path-to-regexp": { 1760 | "version": "1.8.0", 1761 | "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-1.8.0.tgz", 1762 | "integrity": "sha512-n43JRhlUKUAlibEJhPeir1ncUID16QnEjNpwzNdO3Lm4ywrBpBZ5oLD0I6br9evr1Y9JTqwRtAh7JLoOzAQdVA==", 1763 | "dev": true, 1764 | "dependencies": { 1765 | "isarray": "0.0.1" 1766 | } 1767 | }, 1768 | "node_modules/path-to-regexp/node_modules/isarray": { 1769 | "version": "0.0.1", 1770 | "resolved": "https://registry.npmjs.org/isarray/-/isarray-0.0.1.tgz", 1771 | "integrity": "sha512-D2S+3GLxWH+uhrNEcoh/fnmYeP8E8/zHl644d/jdA0g2uyXvy3sb0qxotE+ne0LtccHknQzWwZEzhak7oJ0COQ==", 1772 | "dev": true 1773 | }, 1774 | "node_modules/path-type": { 1775 | "version": "4.0.0", 1776 | "resolved": "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz", 1777 | "integrity": "sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==", 1778 | "dev": true, 1779 | "engines": { 1780 | "node": ">=8" 1781 | } 1782 | }, 1783 | "node_modules/pathval": { 1784 | "version": "1.1.1", 1785 | "resolved": "https://registry.npmjs.org/pathval/-/pathval-1.1.1.tgz", 1786 | "integrity": "sha512-Dp6zGqpTdETdR63lehJYPeIOqpiNBNtc7BpWSLrOje7UaIsE5aY92r/AunQA7rsXvet3lrJ3JnZX29UPTKXyKQ==", 1787 | "dev": true, 1788 | "engines": { 1789 | "node": "*" 1790 | } 1791 | }, 1792 | "node_modules/picomatch": { 1793 | "version": "2.3.1", 1794 | "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", 1795 | "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", 1796 | "dev": true, 1797 | "engines": { 1798 | "node": ">=8.6" 1799 | }, 1800 | "funding": { 1801 | "url": "https://github.com/sponsors/jonschlinkert" 1802 | } 1803 | }, 1804 | "node_modules/prelude-ls": { 1805 | "version": "1.2.1", 1806 | "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz", 1807 | "integrity": "sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==", 1808 | "dev": true, 1809 | "engines": { 1810 | "node": ">= 0.8.0" 1811 | } 1812 | }, 1813 | "node_modules/prettier": { 1814 | "version": "2.7.1", 1815 | "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.7.1.tgz", 1816 | "integrity": "sha512-ujppO+MkdPqoVINuDFDRLClm7D78qbDt0/NR+wp5FqEZOoTNAjPHWj17QRhu7geIHJfcNhRk1XVQmF8Bp3ye+g==", 1817 | "dev": true, 1818 | "bin": { 1819 | "prettier": "bin-prettier.js" 1820 | }, 1821 | "engines": { 1822 | "node": ">=10.13.0" 1823 | }, 1824 | "funding": { 1825 | "url": "https://github.com/prettier/prettier?sponsor=1" 1826 | } 1827 | }, 1828 | "node_modules/punycode": { 1829 | "version": "2.1.1", 1830 | "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz", 1831 | "integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==", 1832 | "dev": true, 1833 | "engines": { 1834 | "node": ">=6" 1835 | } 1836 | }, 1837 | "node_modules/queue-microtask": { 1838 | "version": "1.2.3", 1839 | "resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz", 1840 | "integrity": "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==", 1841 | "dev": true, 1842 | "funding": [ 1843 | { 1844 | "type": "github", 1845 | "url": "https://github.com/sponsors/feross" 1846 | }, 1847 | { 1848 | "type": "patreon", 1849 | "url": "https://www.patreon.com/feross" 1850 | }, 1851 | { 1852 | "type": "consulting", 1853 | "url": "https://feross.org/support" 1854 | } 1855 | ] 1856 | }, 1857 | "node_modules/randombytes": { 1858 | "version": "2.1.0", 1859 | "resolved": "https://registry.npmjs.org/randombytes/-/randombytes-2.1.0.tgz", 1860 | "integrity": "sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ==", 1861 | "dev": true, 1862 | "dependencies": { 1863 | "safe-buffer": "^5.1.0" 1864 | } 1865 | }, 1866 | "node_modules/readdirp": { 1867 | "version": "3.6.0", 1868 | "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz", 1869 | "integrity": "sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==", 1870 | "dev": true, 1871 | "dependencies": { 1872 | "picomatch": "^2.2.1" 1873 | }, 1874 | "engines": { 1875 | "node": ">=8.10.0" 1876 | } 1877 | }, 1878 | "node_modules/regexpp": { 1879 | "version": "3.2.0", 1880 | "resolved": "https://registry.npmjs.org/regexpp/-/regexpp-3.2.0.tgz", 1881 | "integrity": "sha512-pq2bWo9mVD43nbts2wGv17XLiNLya+GklZ8kaDLV2Z08gDCsGpnKn9BFMepvWuHCbyVvY7J5o5+BVvoQbmlJLg==", 1882 | "dev": true, 1883 | "engines": { 1884 | "node": ">=8" 1885 | }, 1886 | "funding": { 1887 | "url": "https://github.com/sponsors/mysticatea" 1888 | } 1889 | }, 1890 | "node_modules/require-directory": { 1891 | "version": "2.1.1", 1892 | "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", 1893 | "integrity": "sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==", 1894 | "dev": true, 1895 | "engines": { 1896 | "node": ">=0.10.0" 1897 | } 1898 | }, 1899 | "node_modules/resolve-from": { 1900 | "version": "4.0.0", 1901 | "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz", 1902 | "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==", 1903 | "dev": true, 1904 | "engines": { 1905 | "node": ">=4" 1906 | } 1907 | }, 1908 | "node_modules/reusify": { 1909 | "version": "1.0.4", 1910 | "resolved": "https://registry.npmjs.org/reusify/-/reusify-1.0.4.tgz", 1911 | "integrity": "sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==", 1912 | "dev": true, 1913 | "engines": { 1914 | "iojs": ">=1.0.0", 1915 | "node": ">=0.10.0" 1916 | } 1917 | }, 1918 | "node_modules/rimraf": { 1919 | "version": "3.0.2", 1920 | "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", 1921 | "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", 1922 | "dev": true, 1923 | "dependencies": { 1924 | "glob": "^7.1.3" 1925 | }, 1926 | "bin": { 1927 | "rimraf": "bin.js" 1928 | }, 1929 | "funding": { 1930 | "url": "https://github.com/sponsors/isaacs" 1931 | } 1932 | }, 1933 | "node_modules/run-parallel": { 1934 | "version": "1.2.0", 1935 | "resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz", 1936 | "integrity": "sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==", 1937 | "dev": true, 1938 | "funding": [ 1939 | { 1940 | "type": "github", 1941 | "url": "https://github.com/sponsors/feross" 1942 | }, 1943 | { 1944 | "type": "patreon", 1945 | "url": "https://www.patreon.com/feross" 1946 | }, 1947 | { 1948 | "type": "consulting", 1949 | "url": "https://feross.org/support" 1950 | } 1951 | ], 1952 | "dependencies": { 1953 | "queue-microtask": "^1.2.2" 1954 | } 1955 | }, 1956 | "node_modules/safe-buffer": { 1957 | "version": "5.2.1", 1958 | "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", 1959 | "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", 1960 | "dev": true, 1961 | "funding": [ 1962 | { 1963 | "type": "github", 1964 | "url": "https://github.com/sponsors/feross" 1965 | }, 1966 | { 1967 | "type": "patreon", 1968 | "url": "https://www.patreon.com/feross" 1969 | }, 1970 | { 1971 | "type": "consulting", 1972 | "url": "https://feross.org/support" 1973 | } 1974 | ] 1975 | }, 1976 | "node_modules/semver": { 1977 | "version": "7.3.7", 1978 | "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.7.tgz", 1979 | "integrity": "sha512-QlYTucUYOews+WeEujDoEGziz4K6c47V/Bd+LjSSYcA94p+DmINdf7ncaUinThfvZyu13lN9OY1XDxt8C0Tw0g==", 1980 | "dev": true, 1981 | "dependencies": { 1982 | "lru-cache": "^6.0.0" 1983 | }, 1984 | "bin": { 1985 | "semver": "bin/semver.js" 1986 | }, 1987 | "engines": { 1988 | "node": ">=10" 1989 | } 1990 | }, 1991 | "node_modules/serialize-javascript": { 1992 | "version": "6.0.0", 1993 | "resolved": "https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-6.0.0.tgz", 1994 | "integrity": "sha512-Qr3TosvguFt8ePWqsvRfrKyQXIiW+nGbYpy8XK24NQHE83caxWt+mIymTT19DGFbNWNLfEwsrkSmN64lVWB9ag==", 1995 | "dev": true, 1996 | "dependencies": { 1997 | "randombytes": "^2.1.0" 1998 | } 1999 | }, 2000 | "node_modules/shebang-command": { 2001 | "version": "2.0.0", 2002 | "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", 2003 | "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==", 2004 | "dev": true, 2005 | "dependencies": { 2006 | "shebang-regex": "^3.0.0" 2007 | }, 2008 | "engines": { 2009 | "node": ">=8" 2010 | } 2011 | }, 2012 | "node_modules/shebang-regex": { 2013 | "version": "3.0.0", 2014 | "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz", 2015 | "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==", 2016 | "dev": true, 2017 | "engines": { 2018 | "node": ">=8" 2019 | } 2020 | }, 2021 | "node_modules/sinon": { 2022 | "version": "13.0.2", 2023 | "resolved": "https://registry.npmjs.org/sinon/-/sinon-13.0.2.tgz", 2024 | "integrity": "sha512-KvOrztAVqzSJWMDoxM4vM+GPys1df2VBoXm+YciyB/OLMamfS3VXh3oGh5WtrAGSzrgczNWFFY22oKb7Fi5eeA==", 2025 | "dev": true, 2026 | "dependencies": { 2027 | "@sinonjs/commons": "^1.8.3", 2028 | "@sinonjs/fake-timers": "^9.1.2", 2029 | "@sinonjs/samsam": "^6.1.1", 2030 | "diff": "^5.0.0", 2031 | "nise": "^5.1.1", 2032 | "supports-color": "^7.2.0" 2033 | }, 2034 | "funding": { 2035 | "type": "opencollective", 2036 | "url": "https://opencollective.com/sinon" 2037 | } 2038 | }, 2039 | "node_modules/sinon/node_modules/supports-color": { 2040 | "version": "7.2.0", 2041 | "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", 2042 | "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", 2043 | "dev": true, 2044 | "dependencies": { 2045 | "has-flag": "^4.0.0" 2046 | }, 2047 | "engines": { 2048 | "node": ">=8" 2049 | } 2050 | }, 2051 | "node_modules/slash": { 2052 | "version": "3.0.0", 2053 | "resolved": "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz", 2054 | "integrity": "sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==", 2055 | "dev": true, 2056 | "engines": { 2057 | "node": ">=8" 2058 | } 2059 | }, 2060 | "node_modules/string-width": { 2061 | "version": "4.2.3", 2062 | "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", 2063 | "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", 2064 | "dev": true, 2065 | "dependencies": { 2066 | "emoji-regex": "^8.0.0", 2067 | "is-fullwidth-code-point": "^3.0.0", 2068 | "strip-ansi": "^6.0.1" 2069 | }, 2070 | "engines": { 2071 | "node": ">=8" 2072 | } 2073 | }, 2074 | "node_modules/strip-ansi": { 2075 | "version": "6.0.1", 2076 | "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", 2077 | "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", 2078 | "dev": true, 2079 | "dependencies": { 2080 | "ansi-regex": "^5.0.1" 2081 | }, 2082 | "engines": { 2083 | "node": ">=8" 2084 | } 2085 | }, 2086 | "node_modules/strip-json-comments": { 2087 | "version": "3.1.1", 2088 | "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz", 2089 | "integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==", 2090 | "dev": true, 2091 | "engines": { 2092 | "node": ">=8" 2093 | }, 2094 | "funding": { 2095 | "url": "https://github.com/sponsors/sindresorhus" 2096 | } 2097 | }, 2098 | "node_modules/supports-color": { 2099 | "version": "8.1.1", 2100 | "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz", 2101 | "integrity": "sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==", 2102 | "dev": true, 2103 | "dependencies": { 2104 | "has-flag": "^4.0.0" 2105 | }, 2106 | "engines": { 2107 | "node": ">=10" 2108 | }, 2109 | "funding": { 2110 | "url": "https://github.com/chalk/supports-color?sponsor=1" 2111 | } 2112 | }, 2113 | "node_modules/text-table": { 2114 | "version": "0.2.0", 2115 | "resolved": "https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz", 2116 | "integrity": "sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw==", 2117 | "dev": true 2118 | }, 2119 | "node_modules/to-regex-range": { 2120 | "version": "5.0.1", 2121 | "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", 2122 | "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", 2123 | "dev": true, 2124 | "dependencies": { 2125 | "is-number": "^7.0.0" 2126 | }, 2127 | "engines": { 2128 | "node": ">=8.0" 2129 | } 2130 | }, 2131 | "node_modules/tsutils": { 2132 | "version": "3.21.0", 2133 | "resolved": "https://registry.npmjs.org/tsutils/-/tsutils-3.21.0.tgz", 2134 | "integrity": "sha512-mHKK3iUXL+3UF6xL5k0PEhKRUBKPBCv/+RkEOpjRWxxx27KKRBmmA60A9pgOUvMi8GKhRMPEmjBRPzs2W7O1OA==", 2135 | "dev": true, 2136 | "dependencies": { 2137 | "tslib": "^1.8.1" 2138 | }, 2139 | "engines": { 2140 | "node": ">= 6" 2141 | }, 2142 | "peerDependencies": { 2143 | "typescript": ">=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta" 2144 | } 2145 | }, 2146 | "node_modules/tsutils/node_modules/tslib": { 2147 | "version": "1.14.1", 2148 | "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", 2149 | "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==", 2150 | "dev": true 2151 | }, 2152 | "node_modules/type-check": { 2153 | "version": "0.4.0", 2154 | "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz", 2155 | "integrity": "sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==", 2156 | "dev": true, 2157 | "dependencies": { 2158 | "prelude-ls": "^1.2.1" 2159 | }, 2160 | "engines": { 2161 | "node": ">= 0.8.0" 2162 | } 2163 | }, 2164 | "node_modules/type-detect": { 2165 | "version": "4.0.8", 2166 | "resolved": "https://registry.npmjs.org/type-detect/-/type-detect-4.0.8.tgz", 2167 | "integrity": "sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g==", 2168 | "dev": true, 2169 | "engines": { 2170 | "node": ">=4" 2171 | } 2172 | }, 2173 | "node_modules/type-fest": { 2174 | "version": "0.20.2", 2175 | "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.20.2.tgz", 2176 | "integrity": "sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==", 2177 | "dev": true, 2178 | "engines": { 2179 | "node": ">=10" 2180 | }, 2181 | "funding": { 2182 | "url": "https://github.com/sponsors/sindresorhus" 2183 | } 2184 | }, 2185 | "node_modules/typescript": { 2186 | "version": "4.7.4", 2187 | "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.7.4.tgz", 2188 | "integrity": "sha512-C0WQT0gezHuw6AdY1M2jxUO83Rjf0HP7Sk1DtXj6j1EwkQNZrHAg2XPWlq62oqEhYvONq5pkC2Y9oPljWToLmQ==", 2189 | "dev": true, 2190 | "bin": { 2191 | "tsc": "bin/tsc", 2192 | "tsserver": "bin/tsserver" 2193 | }, 2194 | "engines": { 2195 | "node": ">=4.2.0" 2196 | } 2197 | }, 2198 | "node_modules/uri-js": { 2199 | "version": "4.4.1", 2200 | "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz", 2201 | "integrity": "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==", 2202 | "dev": true, 2203 | "dependencies": { 2204 | "punycode": "^2.1.0" 2205 | } 2206 | }, 2207 | "node_modules/v8-compile-cache": { 2208 | "version": "2.3.0", 2209 | "resolved": "https://registry.npmjs.org/v8-compile-cache/-/v8-compile-cache-2.3.0.tgz", 2210 | "integrity": "sha512-l8lCEmLcLYZh4nbunNZvQCJc5pv7+RCwa8q/LdUx8u7lsWvPDKmpodJAJNwkAhJC//dFY48KuIEmjtd4RViDrA==", 2211 | "dev": true 2212 | }, 2213 | "node_modules/which": { 2214 | "version": "2.0.2", 2215 | "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", 2216 | "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", 2217 | "dev": true, 2218 | "dependencies": { 2219 | "isexe": "^2.0.0" 2220 | }, 2221 | "bin": { 2222 | "node-which": "bin/node-which" 2223 | }, 2224 | "engines": { 2225 | "node": ">= 8" 2226 | } 2227 | }, 2228 | "node_modules/word-wrap": { 2229 | "version": "1.2.3", 2230 | "resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.3.tgz", 2231 | "integrity": "sha512-Hz/mrNwitNRh/HUAtM/VT/5VH+ygD6DV7mYKZAtHOrbs8U7lvPS6xf7EJKMF0uW1KJCl0H701g3ZGus+muE5vQ==", 2232 | "dev": true, 2233 | "engines": { 2234 | "node": ">=0.10.0" 2235 | } 2236 | }, 2237 | "node_modules/workerpool": { 2238 | "version": "6.2.0", 2239 | "resolved": "https://registry.npmjs.org/workerpool/-/workerpool-6.2.0.tgz", 2240 | "integrity": "sha512-Rsk5qQHJ9eowMH28Jwhe8HEbmdYDX4lwoMWshiCXugjtHqMD9ZbiqSDLxcsfdqsETPzVUtX5s1Z5kStiIM6l4A==", 2241 | "dev": true 2242 | }, 2243 | "node_modules/wrap-ansi": { 2244 | "version": "7.0.0", 2245 | "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", 2246 | "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", 2247 | "dev": true, 2248 | "dependencies": { 2249 | "ansi-styles": "^4.0.0", 2250 | "string-width": "^4.1.0", 2251 | "strip-ansi": "^6.0.0" 2252 | }, 2253 | "engines": { 2254 | "node": ">=10" 2255 | }, 2256 | "funding": { 2257 | "url": "https://github.com/chalk/wrap-ansi?sponsor=1" 2258 | } 2259 | }, 2260 | "node_modules/wrappy": { 2261 | "version": "1.0.2", 2262 | "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", 2263 | "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==", 2264 | "dev": true 2265 | }, 2266 | "node_modules/y18n": { 2267 | "version": "5.0.8", 2268 | "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz", 2269 | "integrity": "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==", 2270 | "dev": true, 2271 | "engines": { 2272 | "node": ">=10" 2273 | } 2274 | }, 2275 | "node_modules/yallist": { 2276 | "version": "4.0.0", 2277 | "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", 2278 | "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", 2279 | "dev": true 2280 | }, 2281 | "node_modules/yargs": { 2282 | "version": "16.2.0", 2283 | "resolved": "https://registry.npmjs.org/yargs/-/yargs-16.2.0.tgz", 2284 | "integrity": "sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw==", 2285 | "dev": true, 2286 | "dependencies": { 2287 | "cliui": "^7.0.2", 2288 | "escalade": "^3.1.1", 2289 | "get-caller-file": "^2.0.5", 2290 | "require-directory": "^2.1.1", 2291 | "string-width": "^4.2.0", 2292 | "y18n": "^5.0.5", 2293 | "yargs-parser": "^20.2.2" 2294 | }, 2295 | "engines": { 2296 | "node": ">=10" 2297 | } 2298 | }, 2299 | "node_modules/yargs-parser": { 2300 | "version": "20.2.4", 2301 | "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.4.tgz", 2302 | "integrity": "sha512-WOkpgNhPTlE73h4VFAFsOnomJVaovO8VqLDzy5saChRBFQFBoMYirowyW+Q9HB4HFF4Z7VZTiG3iSzJJA29yRA==", 2303 | "dev": true, 2304 | "engines": { 2305 | "node": ">=10" 2306 | } 2307 | }, 2308 | "node_modules/yargs-unparser": { 2309 | "version": "2.0.0", 2310 | "resolved": "https://registry.npmjs.org/yargs-unparser/-/yargs-unparser-2.0.0.tgz", 2311 | "integrity": "sha512-7pRTIA9Qc1caZ0bZ6RYRGbHJthJWuakf+WmHK0rVeLkNrrGhfoabBNdue6kdINI6r4if7ocq9aD/n7xwKOdzOA==", 2312 | "dev": true, 2313 | "dependencies": { 2314 | "camelcase": "^6.0.0", 2315 | "decamelize": "^4.0.0", 2316 | "flat": "^5.0.2", 2317 | "is-plain-obj": "^2.1.0" 2318 | }, 2319 | "engines": { 2320 | "node": ">=10" 2321 | } 2322 | }, 2323 | "node_modules/yocto-queue": { 2324 | "version": "0.1.0", 2325 | "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz", 2326 | "integrity": "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==", 2327 | "dev": true, 2328 | "engines": { 2329 | "node": ">=10" 2330 | }, 2331 | "funding": { 2332 | "url": "https://github.com/sponsors/sindresorhus" 2333 | } 2334 | } 2335 | }, 2336 | "dependencies": { 2337 | "@eslint/eslintrc": { 2338 | "version": "1.3.0", 2339 | "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-1.3.0.tgz", 2340 | "integrity": "sha512-UWW0TMTmk2d7hLcWD1/e2g5HDM/HQ3csaLSqXCfqwh4uNDuNqlaKWXmEsL4Cs41Z0KnILNvwbHAah3C2yt06kw==", 2341 | "dev": true, 2342 | "requires": { 2343 | "ajv": "^6.12.4", 2344 | "debug": "^4.3.2", 2345 | "espree": "^9.3.2", 2346 | "globals": "^13.15.0", 2347 | "ignore": "^5.2.0", 2348 | "import-fresh": "^3.2.1", 2349 | "js-yaml": "^4.1.0", 2350 | "minimatch": "^3.1.2", 2351 | "strip-json-comments": "^3.1.1" 2352 | } 2353 | }, 2354 | "@humanwhocodes/config-array": { 2355 | "version": "0.9.5", 2356 | "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.9.5.tgz", 2357 | "integrity": "sha512-ObyMyWxZiCu/yTisA7uzx81s40xR2fD5Cg/2Kq7G02ajkNubJf6BopgDTmDyc3U7sXpNKM8cYOw7s7Tyr+DnCw==", 2358 | "dev": true, 2359 | "requires": { 2360 | "@humanwhocodes/object-schema": "^1.2.1", 2361 | "debug": "^4.1.1", 2362 | "minimatch": "^3.0.4" 2363 | } 2364 | }, 2365 | "@humanwhocodes/object-schema": { 2366 | "version": "1.2.1", 2367 | "resolved": "https://registry.npmjs.org/@humanwhocodes/object-schema/-/object-schema-1.2.1.tgz", 2368 | "integrity": "sha512-ZnQMnLV4e7hDlUvw8H+U8ASL02SS2Gn6+9Ac3wGGLIe7+je2AeAOxPY+izIPJDfFDb7eDjev0Us8MO1iFRN8hA==", 2369 | "dev": true 2370 | }, 2371 | "@nodelib/fs.scandir": { 2372 | "version": "2.1.5", 2373 | "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz", 2374 | "integrity": "sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==", 2375 | "dev": true, 2376 | "requires": { 2377 | "@nodelib/fs.stat": "2.0.5", 2378 | "run-parallel": "^1.1.9" 2379 | } 2380 | }, 2381 | "@nodelib/fs.stat": { 2382 | "version": "2.0.5", 2383 | "resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz", 2384 | "integrity": "sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==", 2385 | "dev": true 2386 | }, 2387 | "@nodelib/fs.walk": { 2388 | "version": "1.2.8", 2389 | "resolved": "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz", 2390 | "integrity": "sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==", 2391 | "dev": true, 2392 | "requires": { 2393 | "@nodelib/fs.scandir": "2.1.5", 2394 | "fastq": "^1.6.0" 2395 | } 2396 | }, 2397 | "@sinonjs/commons": { 2398 | "version": "1.8.3", 2399 | "resolved": "https://registry.npmjs.org/@sinonjs/commons/-/commons-1.8.3.tgz", 2400 | "integrity": "sha512-xkNcLAn/wZaX14RPlwizcKicDk9G3F8m2nU3L7Ukm5zBgTwiT0wsoFAHx9Jq56fJA1z/7uKGtCRu16sOUCLIHQ==", 2401 | "dev": true, 2402 | "requires": { 2403 | "type-detect": "4.0.8" 2404 | } 2405 | }, 2406 | "@sinonjs/fake-timers": { 2407 | "version": "9.1.2", 2408 | "resolved": "https://registry.npmjs.org/@sinonjs/fake-timers/-/fake-timers-9.1.2.tgz", 2409 | "integrity": "sha512-BPS4ynJW/o92PUR4wgriz2Ud5gpST5vz6GQfMixEDK0Z8ZCUv2M7SkBLykH56T++Xs+8ln9zTGbOvNGIe02/jw==", 2410 | "dev": true, 2411 | "requires": { 2412 | "@sinonjs/commons": "^1.7.0" 2413 | } 2414 | }, 2415 | "@sinonjs/samsam": { 2416 | "version": "6.1.1", 2417 | "resolved": "https://registry.npmjs.org/@sinonjs/samsam/-/samsam-6.1.1.tgz", 2418 | "integrity": "sha512-cZ7rKJTLiE7u7Wi/v9Hc2fs3Ucc3jrWeMgPHbbTCeVAB2S0wOBbYlkJVeNSL04i7fdhT8wIbDq1zhC/PXTD2SA==", 2419 | "dev": true, 2420 | "requires": { 2421 | "@sinonjs/commons": "^1.6.0", 2422 | "lodash.get": "^4.4.2", 2423 | "type-detect": "^4.0.8" 2424 | } 2425 | }, 2426 | "@sinonjs/text-encoding": { 2427 | "version": "0.7.1", 2428 | "resolved": "https://registry.npmjs.org/@sinonjs/text-encoding/-/text-encoding-0.7.1.tgz", 2429 | "integrity": "sha512-+iTbntw2IZPb/anVDbypzfQa+ay64MW0Zo8aJ8gZPWMMK6/OubMVb6lUPMagqjOPnmtauXnFCACVl3O7ogjeqQ==", 2430 | "dev": true 2431 | }, 2432 | "@types/chai": { 2433 | "version": "4.3.1", 2434 | "resolved": "https://registry.npmjs.org/@types/chai/-/chai-4.3.1.tgz", 2435 | "integrity": "sha512-/zPMqDkzSZ8t3VtxOa4KPq7uzzW978M9Tvh+j7GHKuo6k6GTLxPJ4J5gE5cjfJ26pnXst0N5Hax8Sr0T2Mi9zQ==", 2436 | "dev": true 2437 | }, 2438 | "@types/json-schema": { 2439 | "version": "7.0.11", 2440 | "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.11.tgz", 2441 | "integrity": "sha512-wOuvG1SN4Us4rez+tylwwwCV1psiNVOkJeM3AUWUNWg/jDQY2+HE/444y5gc+jBmRqASOm2Oeh5c1axHobwRKQ==", 2442 | "dev": true 2443 | }, 2444 | "@types/mocha": { 2445 | "version": "9.1.1", 2446 | "resolved": "https://registry.npmjs.org/@types/mocha/-/mocha-9.1.1.tgz", 2447 | "integrity": "sha512-Z61JK7DKDtdKTWwLeElSEBcWGRLY8g95ic5FoQqI9CMx0ns/Ghep3B4DfcEimiKMvtamNVULVNKEsiwV3aQmXw==", 2448 | "dev": true 2449 | }, 2450 | "@types/sinon": { 2451 | "version": "10.0.11", 2452 | "resolved": "https://registry.npmjs.org/@types/sinon/-/sinon-10.0.11.tgz", 2453 | "integrity": "sha512-dmZsHlBsKUtBpHriNjlK0ndlvEh8dcb9uV9Afsbt89QIyydpC7NcR+nWlAhASfy3GHnxTl4FX/aKE7XZUt/B4g==", 2454 | "dev": true, 2455 | "requires": { 2456 | "@types/sinonjs__fake-timers": "*" 2457 | } 2458 | }, 2459 | "@types/sinonjs__fake-timers": { 2460 | "version": "8.1.2", 2461 | "resolved": "https://registry.npmjs.org/@types/sinonjs__fake-timers/-/sinonjs__fake-timers-8.1.2.tgz", 2462 | "integrity": "sha512-9GcLXF0/v3t80caGs5p2rRfkB+a8VBGLJZVih6CNFkx8IZ994wiKKLSRs9nuFwk1HevWs/1mnUmkApGrSGsShA==", 2463 | "dev": true 2464 | }, 2465 | "@typescript-eslint/eslint-plugin": { 2466 | "version": "5.29.0", 2467 | "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.29.0.tgz", 2468 | "integrity": "sha512-kgTsISt9pM53yRFQmLZ4npj99yGl3x3Pl7z4eA66OuTzAGC4bQB5H5fuLwPnqTKU3yyrrg4MIhjF17UYnL4c0w==", 2469 | "dev": true, 2470 | "requires": { 2471 | "@typescript-eslint/scope-manager": "5.29.0", 2472 | "@typescript-eslint/type-utils": "5.29.0", 2473 | "@typescript-eslint/utils": "5.29.0", 2474 | "debug": "^4.3.4", 2475 | "functional-red-black-tree": "^1.0.1", 2476 | "ignore": "^5.2.0", 2477 | "regexpp": "^3.2.0", 2478 | "semver": "^7.3.7", 2479 | "tsutils": "^3.21.0" 2480 | } 2481 | }, 2482 | "@typescript-eslint/parser": { 2483 | "version": "5.29.0", 2484 | "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-5.29.0.tgz", 2485 | "integrity": "sha512-ruKWTv+x0OOxbzIw9nW5oWlUopvP/IQDjB5ZqmTglLIoDTctLlAJpAQFpNPJP/ZI7hTT9sARBosEfaKbcFuECw==", 2486 | "dev": true, 2487 | "requires": { 2488 | "@typescript-eslint/scope-manager": "5.29.0", 2489 | "@typescript-eslint/types": "5.29.0", 2490 | "@typescript-eslint/typescript-estree": "5.29.0", 2491 | "debug": "^4.3.4" 2492 | } 2493 | }, 2494 | "@typescript-eslint/scope-manager": { 2495 | "version": "5.29.0", 2496 | "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-5.29.0.tgz", 2497 | "integrity": "sha512-etbXUT0FygFi2ihcxDZjz21LtC+Eps9V2xVx09zFoN44RRHPrkMflidGMI+2dUs821zR1tDS6Oc9IXxIjOUZwA==", 2498 | "dev": true, 2499 | "requires": { 2500 | "@typescript-eslint/types": "5.29.0", 2501 | "@typescript-eslint/visitor-keys": "5.29.0" 2502 | } 2503 | }, 2504 | "@typescript-eslint/type-utils": { 2505 | "version": "5.29.0", 2506 | "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-5.29.0.tgz", 2507 | "integrity": "sha512-JK6bAaaiJozbox3K220VRfCzLa9n0ib/J+FHIwnaV3Enw/TO267qe0pM1b1QrrEuy6xun374XEAsRlA86JJnyg==", 2508 | "dev": true, 2509 | "requires": { 2510 | "@typescript-eslint/utils": "5.29.0", 2511 | "debug": "^4.3.4", 2512 | "tsutils": "^3.21.0" 2513 | } 2514 | }, 2515 | "@typescript-eslint/types": { 2516 | "version": "5.29.0", 2517 | "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-5.29.0.tgz", 2518 | "integrity": "sha512-X99VbqvAXOMdVyfFmksMy3u8p8yoRGITgU1joBJPzeYa0rhdf5ok9S56/itRoUSh99fiDoMtarSIJXo7H/SnOg==", 2519 | "dev": true 2520 | }, 2521 | "@typescript-eslint/typescript-estree": { 2522 | "version": "5.29.0", 2523 | "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-5.29.0.tgz", 2524 | "integrity": "sha512-mQvSUJ/JjGBdvo+1LwC+GY2XmSYjK1nAaVw2emp/E61wEVYEyibRHCqm1I1vEKbXCpUKuW4G7u9ZCaZhJbLoNQ==", 2525 | "dev": true, 2526 | "requires": { 2527 | "@typescript-eslint/types": "5.29.0", 2528 | "@typescript-eslint/visitor-keys": "5.29.0", 2529 | "debug": "^4.3.4", 2530 | "globby": "^11.1.0", 2531 | "is-glob": "^4.0.3", 2532 | "semver": "^7.3.7", 2533 | "tsutils": "^3.21.0" 2534 | } 2535 | }, 2536 | "@typescript-eslint/utils": { 2537 | "version": "5.29.0", 2538 | "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-5.29.0.tgz", 2539 | "integrity": "sha512-3Eos6uP1nyLOBayc/VUdKZikV90HahXE5Dx9L5YlSd/7ylQPXhLk1BYb29SDgnBnTp+jmSZUU0QxUiyHgW4p7A==", 2540 | "dev": true, 2541 | "requires": { 2542 | "@types/json-schema": "^7.0.9", 2543 | "@typescript-eslint/scope-manager": "5.29.0", 2544 | "@typescript-eslint/types": "5.29.0", 2545 | "@typescript-eslint/typescript-estree": "5.29.0", 2546 | "eslint-scope": "^5.1.1", 2547 | "eslint-utils": "^3.0.0" 2548 | } 2549 | }, 2550 | "@typescript-eslint/visitor-keys": { 2551 | "version": "5.29.0", 2552 | "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-5.29.0.tgz", 2553 | "integrity": "sha512-Hpb/mCWsjILvikMQoZIE3voc9wtQcS0A9FUw3h8bhr9UxBdtI/tw1ZDZUOXHXLOVMedKCH5NxyzATwnU78bWCQ==", 2554 | "dev": true, 2555 | "requires": { 2556 | "@typescript-eslint/types": "5.29.0", 2557 | "eslint-visitor-keys": "^3.3.0" 2558 | } 2559 | }, 2560 | "@ungap/promise-all-settled": { 2561 | "version": "1.1.2", 2562 | "resolved": "https://registry.npmjs.org/@ungap/promise-all-settled/-/promise-all-settled-1.1.2.tgz", 2563 | "integrity": "sha512-sL/cEvJWAnClXw0wHk85/2L0G6Sj8UB0Ctc1TEMbKSsmpRosqhwj9gWgFRZSrBr2f9tiXISwNhCPmlfqUqyb9Q==", 2564 | "dev": true 2565 | }, 2566 | "acorn": { 2567 | "version": "8.7.1", 2568 | "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.7.1.tgz", 2569 | "integrity": "sha512-Xx54uLJQZ19lKygFXOWsscKUbsBZW0CPykPhVQdhIeIwrbPmJzqeASDInc8nKBnp/JT6igTs82qPXz069H8I/A==", 2570 | "dev": true 2571 | }, 2572 | "acorn-jsx": { 2573 | "version": "5.3.2", 2574 | "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.3.2.tgz", 2575 | "integrity": "sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==", 2576 | "dev": true, 2577 | "requires": {} 2578 | }, 2579 | "ajv": { 2580 | "version": "6.12.6", 2581 | "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", 2582 | "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", 2583 | "dev": true, 2584 | "requires": { 2585 | "fast-deep-equal": "^3.1.1", 2586 | "fast-json-stable-stringify": "^2.0.0", 2587 | "json-schema-traverse": "^0.4.1", 2588 | "uri-js": "^4.2.2" 2589 | } 2590 | }, 2591 | "ansi-colors": { 2592 | "version": "4.1.1", 2593 | "resolved": "https://registry.npmjs.org/ansi-colors/-/ansi-colors-4.1.1.tgz", 2594 | "integrity": "sha512-JoX0apGbHaUJBNl6yF+p6JAFYZ666/hhCGKN5t9QFjbJQKUU/g8MNbFDbvfrgKXvI1QpZplPOnwIo99lX/AAmA==", 2595 | "dev": true 2596 | }, 2597 | "ansi-regex": { 2598 | "version": "5.0.1", 2599 | "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", 2600 | "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", 2601 | "dev": true 2602 | }, 2603 | "ansi-styles": { 2604 | "version": "4.3.0", 2605 | "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", 2606 | "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", 2607 | "dev": true, 2608 | "requires": { 2609 | "color-convert": "^2.0.1" 2610 | } 2611 | }, 2612 | "anymatch": { 2613 | "version": "3.1.2", 2614 | "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.2.tgz", 2615 | "integrity": "sha512-P43ePfOAIupkguHUycrc4qJ9kz8ZiuOUijaETwX7THt0Y/GNK7v0aa8rY816xWjZ7rJdA5XdMcpVFTKMq+RvWg==", 2616 | "dev": true, 2617 | "requires": { 2618 | "normalize-path": "^3.0.0", 2619 | "picomatch": "^2.0.4" 2620 | } 2621 | }, 2622 | "argparse": { 2623 | "version": "2.0.1", 2624 | "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", 2625 | "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==", 2626 | "dev": true 2627 | }, 2628 | "array-union": { 2629 | "version": "2.1.0", 2630 | "resolved": "https://registry.npmjs.org/array-union/-/array-union-2.1.0.tgz", 2631 | "integrity": "sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==", 2632 | "dev": true 2633 | }, 2634 | "assertion-error": { 2635 | "version": "1.1.0", 2636 | "resolved": "https://registry.npmjs.org/assertion-error/-/assertion-error-1.1.0.tgz", 2637 | "integrity": "sha512-jgsaNduz+ndvGyFt3uSuWqvy4lCnIJiovtouQN5JZHOKCS2QuhEdbcQHFhVksz2N2U9hXJo8odG7ETyWlEeuDw==", 2638 | "dev": true 2639 | }, 2640 | "balanced-match": { 2641 | "version": "1.0.2", 2642 | "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", 2643 | "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==", 2644 | "dev": true 2645 | }, 2646 | "binary-extensions": { 2647 | "version": "2.2.0", 2648 | "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.2.0.tgz", 2649 | "integrity": "sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==", 2650 | "dev": true 2651 | }, 2652 | "brace-expansion": { 2653 | "version": "1.1.11", 2654 | "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", 2655 | "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", 2656 | "dev": true, 2657 | "requires": { 2658 | "balanced-match": "^1.0.0", 2659 | "concat-map": "0.0.1" 2660 | } 2661 | }, 2662 | "braces": { 2663 | "version": "3.0.2", 2664 | "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz", 2665 | "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==", 2666 | "dev": true, 2667 | "requires": { 2668 | "fill-range": "^7.0.1" 2669 | } 2670 | }, 2671 | "browser-stdout": { 2672 | "version": "1.3.1", 2673 | "resolved": "https://registry.npmjs.org/browser-stdout/-/browser-stdout-1.3.1.tgz", 2674 | "integrity": "sha512-qhAVI1+Av2X7qelOfAIYwXONood6XlZE/fXaBSmW/T5SzLAmCgzi+eiWE7fUvbHaeNBQH13UftjpXxsfLkMpgw==", 2675 | "dev": true 2676 | }, 2677 | "callsites": { 2678 | "version": "3.1.0", 2679 | "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz", 2680 | "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==", 2681 | "dev": true 2682 | }, 2683 | "camelcase": { 2684 | "version": "6.3.0", 2685 | "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-6.3.0.tgz", 2686 | "integrity": "sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA==", 2687 | "dev": true 2688 | }, 2689 | "chai": { 2690 | "version": "4.3.6", 2691 | "resolved": "https://registry.npmjs.org/chai/-/chai-4.3.6.tgz", 2692 | "integrity": "sha512-bbcp3YfHCUzMOvKqsztczerVgBKSsEijCySNlHHbX3VG1nskvqjz5Rfso1gGwD6w6oOV3eI60pKuMOV5MV7p3Q==", 2693 | "dev": true, 2694 | "requires": { 2695 | "assertion-error": "^1.1.0", 2696 | "check-error": "^1.0.2", 2697 | "deep-eql": "^3.0.1", 2698 | "get-func-name": "^2.0.0", 2699 | "loupe": "^2.3.1", 2700 | "pathval": "^1.1.1", 2701 | "type-detect": "^4.0.5" 2702 | } 2703 | }, 2704 | "chalk": { 2705 | "version": "4.1.2", 2706 | "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", 2707 | "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", 2708 | "dev": true, 2709 | "requires": { 2710 | "ansi-styles": "^4.1.0", 2711 | "supports-color": "^7.1.0" 2712 | }, 2713 | "dependencies": { 2714 | "supports-color": { 2715 | "version": "7.2.0", 2716 | "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", 2717 | "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", 2718 | "dev": true, 2719 | "requires": { 2720 | "has-flag": "^4.0.0" 2721 | } 2722 | } 2723 | } 2724 | }, 2725 | "check-error": { 2726 | "version": "1.0.2", 2727 | "resolved": "https://registry.npmjs.org/check-error/-/check-error-1.0.2.tgz", 2728 | "integrity": "sha512-BrgHpW9NURQgzoNyjfq0Wu6VFO6D7IZEmJNdtgNqpzGG8RuNFHt2jQxWlAs4HMe119chBnv+34syEZtc6IhLtA==", 2729 | "dev": true 2730 | }, 2731 | "chokidar": { 2732 | "version": "3.5.3", 2733 | "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.5.3.tgz", 2734 | "integrity": "sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw==", 2735 | "dev": true, 2736 | "requires": { 2737 | "anymatch": "~3.1.2", 2738 | "braces": "~3.0.2", 2739 | "fsevents": "~2.3.2", 2740 | "glob-parent": "~5.1.2", 2741 | "is-binary-path": "~2.1.0", 2742 | "is-glob": "~4.0.1", 2743 | "normalize-path": "~3.0.0", 2744 | "readdirp": "~3.6.0" 2745 | } 2746 | }, 2747 | "cliui": { 2748 | "version": "7.0.4", 2749 | "resolved": "https://registry.npmjs.org/cliui/-/cliui-7.0.4.tgz", 2750 | "integrity": "sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ==", 2751 | "dev": true, 2752 | "requires": { 2753 | "string-width": "^4.2.0", 2754 | "strip-ansi": "^6.0.0", 2755 | "wrap-ansi": "^7.0.0" 2756 | } 2757 | }, 2758 | "color-convert": { 2759 | "version": "2.0.1", 2760 | "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", 2761 | "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", 2762 | "dev": true, 2763 | "requires": { 2764 | "color-name": "~1.1.4" 2765 | } 2766 | }, 2767 | "color-name": { 2768 | "version": "1.1.4", 2769 | "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", 2770 | "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", 2771 | "dev": true 2772 | }, 2773 | "concat-map": { 2774 | "version": "0.0.1", 2775 | "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", 2776 | "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==", 2777 | "dev": true 2778 | }, 2779 | "cross-spawn": { 2780 | "version": "7.0.3", 2781 | "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz", 2782 | "integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==", 2783 | "dev": true, 2784 | "requires": { 2785 | "path-key": "^3.1.0", 2786 | "shebang-command": "^2.0.0", 2787 | "which": "^2.0.1" 2788 | } 2789 | }, 2790 | "debug": { 2791 | "version": "4.3.4", 2792 | "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", 2793 | "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", 2794 | "dev": true, 2795 | "requires": { 2796 | "ms": "2.1.2" 2797 | } 2798 | }, 2799 | "decamelize": { 2800 | "version": "4.0.0", 2801 | "resolved": "https://registry.npmjs.org/decamelize/-/decamelize-4.0.0.tgz", 2802 | "integrity": "sha512-9iE1PgSik9HeIIw2JO94IidnE3eBoQrFJ3w7sFuzSX4DpmZ3v5sZpUiV5Swcf6mQEF+Y0ru8Neo+p+nyh2J+hQ==", 2803 | "dev": true 2804 | }, 2805 | "deep-eql": { 2806 | "version": "3.0.1", 2807 | "resolved": "https://registry.npmjs.org/deep-eql/-/deep-eql-3.0.1.tgz", 2808 | "integrity": "sha512-+QeIQyN5ZuO+3Uk5DYh6/1eKO0m0YmJFGNmFHGACpf1ClL1nmlV/p4gNgbl2pJGxgXb4faqo6UE+M5ACEMyVcw==", 2809 | "dev": true, 2810 | "requires": { 2811 | "type-detect": "^4.0.0" 2812 | } 2813 | }, 2814 | "deep-is": { 2815 | "version": "0.1.4", 2816 | "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.4.tgz", 2817 | "integrity": "sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==", 2818 | "dev": true 2819 | }, 2820 | "diff": { 2821 | "version": "5.1.0", 2822 | "resolved": "https://registry.npmjs.org/diff/-/diff-5.1.0.tgz", 2823 | "integrity": "sha512-D+mk+qE8VC/PAUrlAU34N+VfXev0ghe5ywmpqrawphmVZc1bEfn56uo9qpyGp1p4xpzOHkSW4ztBd6L7Xx4ACw==", 2824 | "dev": true 2825 | }, 2826 | "dir-glob": { 2827 | "version": "3.0.1", 2828 | "resolved": "https://registry.npmjs.org/dir-glob/-/dir-glob-3.0.1.tgz", 2829 | "integrity": "sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA==", 2830 | "dev": true, 2831 | "requires": { 2832 | "path-type": "^4.0.0" 2833 | } 2834 | }, 2835 | "doctrine": { 2836 | "version": "3.0.0", 2837 | "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-3.0.0.tgz", 2838 | "integrity": "sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w==", 2839 | "dev": true, 2840 | "requires": { 2841 | "esutils": "^2.0.2" 2842 | } 2843 | }, 2844 | "emoji-regex": { 2845 | "version": "8.0.0", 2846 | "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", 2847 | "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", 2848 | "dev": true 2849 | }, 2850 | "escalade": { 2851 | "version": "3.1.1", 2852 | "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz", 2853 | "integrity": "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==", 2854 | "dev": true 2855 | }, 2856 | "escape-string-regexp": { 2857 | "version": "4.0.0", 2858 | "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz", 2859 | "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==", 2860 | "dev": true 2861 | }, 2862 | "eslint": { 2863 | "version": "8.18.0", 2864 | "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.18.0.tgz", 2865 | "integrity": "sha512-As1EfFMVk7Xc6/CvhssHUjsAQSkpfXvUGMFC3ce8JDe6WvqCgRrLOBQbVpsBFr1X1V+RACOadnzVvcUS5ni2bA==", 2866 | "dev": true, 2867 | "requires": { 2868 | "@eslint/eslintrc": "^1.3.0", 2869 | "@humanwhocodes/config-array": "^0.9.2", 2870 | "ajv": "^6.10.0", 2871 | "chalk": "^4.0.0", 2872 | "cross-spawn": "^7.0.2", 2873 | "debug": "^4.3.2", 2874 | "doctrine": "^3.0.0", 2875 | "escape-string-regexp": "^4.0.0", 2876 | "eslint-scope": "^7.1.1", 2877 | "eslint-utils": "^3.0.0", 2878 | "eslint-visitor-keys": "^3.3.0", 2879 | "espree": "^9.3.2", 2880 | "esquery": "^1.4.0", 2881 | "esutils": "^2.0.2", 2882 | "fast-deep-equal": "^3.1.3", 2883 | "file-entry-cache": "^6.0.1", 2884 | "functional-red-black-tree": "^1.0.1", 2885 | "glob-parent": "^6.0.1", 2886 | "globals": "^13.15.0", 2887 | "ignore": "^5.2.0", 2888 | "import-fresh": "^3.0.0", 2889 | "imurmurhash": "^0.1.4", 2890 | "is-glob": "^4.0.0", 2891 | "js-yaml": "^4.1.0", 2892 | "json-stable-stringify-without-jsonify": "^1.0.1", 2893 | "levn": "^0.4.1", 2894 | "lodash.merge": "^4.6.2", 2895 | "minimatch": "^3.1.2", 2896 | "natural-compare": "^1.4.0", 2897 | "optionator": "^0.9.1", 2898 | "regexpp": "^3.2.0", 2899 | "strip-ansi": "^6.0.1", 2900 | "strip-json-comments": "^3.1.0", 2901 | "text-table": "^0.2.0", 2902 | "v8-compile-cache": "^2.0.3" 2903 | }, 2904 | "dependencies": { 2905 | "eslint-scope": { 2906 | "version": "7.1.1", 2907 | "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-7.1.1.tgz", 2908 | "integrity": "sha512-QKQM/UXpIiHcLqJ5AOyIW7XZmzjkzQXYE54n1++wb0u9V/abW3l9uQnxX8Z5Xd18xyKIMTUAyQ0k1e8pz6LUrw==", 2909 | "dev": true, 2910 | "requires": { 2911 | "esrecurse": "^4.3.0", 2912 | "estraverse": "^5.2.0" 2913 | } 2914 | }, 2915 | "estraverse": { 2916 | "version": "5.3.0", 2917 | "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", 2918 | "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", 2919 | "dev": true 2920 | }, 2921 | "glob-parent": { 2922 | "version": "6.0.2", 2923 | "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz", 2924 | "integrity": "sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==", 2925 | "dev": true, 2926 | "requires": { 2927 | "is-glob": "^4.0.3" 2928 | } 2929 | } 2930 | } 2931 | }, 2932 | "eslint-scope": { 2933 | "version": "5.1.1", 2934 | "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-5.1.1.tgz", 2935 | "integrity": "sha512-2NxwbF/hZ0KpepYN0cNbo+FN6XoK7GaHlQhgx/hIZl6Va0bF45RQOOwhLIy8lQDbuCiadSLCBnH2CFYquit5bw==", 2936 | "dev": true, 2937 | "requires": { 2938 | "esrecurse": "^4.3.0", 2939 | "estraverse": "^4.1.1" 2940 | } 2941 | }, 2942 | "eslint-utils": { 2943 | "version": "3.0.0", 2944 | "resolved": "https://registry.npmjs.org/eslint-utils/-/eslint-utils-3.0.0.tgz", 2945 | "integrity": "sha512-uuQC43IGctw68pJA1RgbQS8/NP7rch6Cwd4j3ZBtgo4/8Flj4eGE7ZYSZRN3iq5pVUv6GPdW5Z1RFleo84uLDA==", 2946 | "dev": true, 2947 | "requires": { 2948 | "eslint-visitor-keys": "^2.0.0" 2949 | }, 2950 | "dependencies": { 2951 | "eslint-visitor-keys": { 2952 | "version": "2.1.0", 2953 | "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-2.1.0.tgz", 2954 | "integrity": "sha512-0rSmRBzXgDzIsD6mGdJgevzgezI534Cer5L/vyMX0kHzT/jiB43jRhd9YUlMGYLQy2zprNmoT8qasCGtY+QaKw==", 2955 | "dev": true 2956 | } 2957 | } 2958 | }, 2959 | "eslint-visitor-keys": { 2960 | "version": "3.3.0", 2961 | "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.3.0.tgz", 2962 | "integrity": "sha512-mQ+suqKJVyeuwGYHAdjMFqjCyfl8+Ldnxuyp3ldiMBFKkvytrXUZWaiPCEav8qDHKty44bD+qV1IP4T+w+xXRA==", 2963 | "dev": true 2964 | }, 2965 | "espree": { 2966 | "version": "9.3.2", 2967 | "resolved": "https://registry.npmjs.org/espree/-/espree-9.3.2.tgz", 2968 | "integrity": "sha512-D211tC7ZwouTIuY5x9XnS0E9sWNChB7IYKX/Xp5eQj3nFXhqmiUDB9q27y76oFl8jTg3pXcQx/bpxMfs3CIZbA==", 2969 | "dev": true, 2970 | "requires": { 2971 | "acorn": "^8.7.1", 2972 | "acorn-jsx": "^5.3.2", 2973 | "eslint-visitor-keys": "^3.3.0" 2974 | } 2975 | }, 2976 | "esquery": { 2977 | "version": "1.4.0", 2978 | "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.4.0.tgz", 2979 | "integrity": "sha512-cCDispWt5vHHtwMY2YrAQ4ibFkAL8RbH5YGBnZBc90MolvvfkkQcJro/aZiAQUlQ3qgrYS6D6v8Gc5G5CQsc9w==", 2980 | "dev": true, 2981 | "requires": { 2982 | "estraverse": "^5.1.0" 2983 | }, 2984 | "dependencies": { 2985 | "estraverse": { 2986 | "version": "5.3.0", 2987 | "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", 2988 | "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", 2989 | "dev": true 2990 | } 2991 | } 2992 | }, 2993 | "esrecurse": { 2994 | "version": "4.3.0", 2995 | "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.3.0.tgz", 2996 | "integrity": "sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==", 2997 | "dev": true, 2998 | "requires": { 2999 | "estraverse": "^5.2.0" 3000 | }, 3001 | "dependencies": { 3002 | "estraverse": { 3003 | "version": "5.3.0", 3004 | "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", 3005 | "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", 3006 | "dev": true 3007 | } 3008 | } 3009 | }, 3010 | "estraverse": { 3011 | "version": "4.3.0", 3012 | "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-4.3.0.tgz", 3013 | "integrity": "sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==", 3014 | "dev": true 3015 | }, 3016 | "esutils": { 3017 | "version": "2.0.3", 3018 | "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz", 3019 | "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==", 3020 | "dev": true 3021 | }, 3022 | "fast-deep-equal": { 3023 | "version": "3.1.3", 3024 | "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", 3025 | "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==", 3026 | "dev": true 3027 | }, 3028 | "fast-glob": { 3029 | "version": "3.2.11", 3030 | "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.2.11.tgz", 3031 | "integrity": "sha512-xrO3+1bxSo3ZVHAnqzyuewYT6aMFHRAd4Kcs92MAonjwQZLsK9d0SF1IyQ3k5PoirxTW0Oe/RqFgMQ6TcNE5Ew==", 3032 | "dev": true, 3033 | "requires": { 3034 | "@nodelib/fs.stat": "^2.0.2", 3035 | "@nodelib/fs.walk": "^1.2.3", 3036 | "glob-parent": "^5.1.2", 3037 | "merge2": "^1.3.0", 3038 | "micromatch": "^4.0.4" 3039 | } 3040 | }, 3041 | "fast-json-stable-stringify": { 3042 | "version": "2.1.0", 3043 | "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz", 3044 | "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==", 3045 | "dev": true 3046 | }, 3047 | "fast-levenshtein": { 3048 | "version": "2.0.6", 3049 | "resolved": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz", 3050 | "integrity": "sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==", 3051 | "dev": true 3052 | }, 3053 | "fastq": { 3054 | "version": "1.13.0", 3055 | "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.13.0.tgz", 3056 | "integrity": "sha512-YpkpUnK8od0o1hmeSc7UUs/eB/vIPWJYjKck2QKIzAf71Vm1AAQ3EbuZB3g2JIy+pg+ERD0vqI79KyZiB2e2Nw==", 3057 | "dev": true, 3058 | "requires": { 3059 | "reusify": "^1.0.4" 3060 | } 3061 | }, 3062 | "file-entry-cache": { 3063 | "version": "6.0.1", 3064 | "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-6.0.1.tgz", 3065 | "integrity": "sha512-7Gps/XWymbLk2QLYK4NzpMOrYjMhdIxXuIvy2QBsLE6ljuodKvdkWs/cpyJJ3CVIVpH0Oi1Hvg1ovbMzLdFBBg==", 3066 | "dev": true, 3067 | "requires": { 3068 | "flat-cache": "^3.0.4" 3069 | } 3070 | }, 3071 | "fill-range": { 3072 | "version": "7.0.1", 3073 | "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz", 3074 | "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==", 3075 | "dev": true, 3076 | "requires": { 3077 | "to-regex-range": "^5.0.1" 3078 | } 3079 | }, 3080 | "find-up": { 3081 | "version": "5.0.0", 3082 | "resolved": "https://registry.npmjs.org/find-up/-/find-up-5.0.0.tgz", 3083 | "integrity": "sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==", 3084 | "dev": true, 3085 | "requires": { 3086 | "locate-path": "^6.0.0", 3087 | "path-exists": "^4.0.0" 3088 | } 3089 | }, 3090 | "flat": { 3091 | "version": "5.0.2", 3092 | "resolved": "https://registry.npmjs.org/flat/-/flat-5.0.2.tgz", 3093 | "integrity": "sha512-b6suED+5/3rTpUBdG1gupIl8MPFCAMA0QXwmljLhvCUKcUvdE4gWky9zpuGCcXHOsz4J9wPGNWq6OKpmIzz3hQ==", 3094 | "dev": true 3095 | }, 3096 | "flat-cache": { 3097 | "version": "3.0.4", 3098 | "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-3.0.4.tgz", 3099 | "integrity": "sha512-dm9s5Pw7Jc0GvMYbshN6zchCA9RgQlzzEZX3vylR9IqFfS8XciblUXOKfW6SiuJ0e13eDYZoZV5wdrev7P3Nwg==", 3100 | "dev": true, 3101 | "requires": { 3102 | "flatted": "^3.1.0", 3103 | "rimraf": "^3.0.2" 3104 | } 3105 | }, 3106 | "flatted": { 3107 | "version": "3.2.5", 3108 | "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.2.5.tgz", 3109 | "integrity": "sha512-WIWGi2L3DyTUvUrwRKgGi9TwxQMUEqPOPQBVi71R96jZXJdFskXEmf54BoZaS1kknGODoIGASGEzBUYdyMCBJg==", 3110 | "dev": true 3111 | }, 3112 | "fs.realpath": { 3113 | "version": "1.0.0", 3114 | "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", 3115 | "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==", 3116 | "dev": true 3117 | }, 3118 | "fsevents": { 3119 | "version": "2.3.2", 3120 | "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz", 3121 | "integrity": "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==", 3122 | "dev": true, 3123 | "optional": true 3124 | }, 3125 | "functional-red-black-tree": { 3126 | "version": "1.0.1", 3127 | "resolved": "https://registry.npmjs.org/functional-red-black-tree/-/functional-red-black-tree-1.0.1.tgz", 3128 | "integrity": "sha512-dsKNQNdj6xA3T+QlADDA7mOSlX0qiMINjn0cgr+eGHGsbSHzTabcIogz2+p/iqP1Xs6EP/sS2SbqH+brGTbq0g==", 3129 | "dev": true 3130 | }, 3131 | "get-caller-file": { 3132 | "version": "2.0.5", 3133 | "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz", 3134 | "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==", 3135 | "dev": true 3136 | }, 3137 | "get-func-name": { 3138 | "version": "2.0.0", 3139 | "resolved": "https://registry.npmjs.org/get-func-name/-/get-func-name-2.0.0.tgz", 3140 | "integrity": "sha512-Hm0ixYtaSZ/V7C8FJrtZIuBBI+iSgL+1Aq82zSu8VQNB4S3Gk8e7Qs3VwBDJAhmRZcFqkl3tQu36g/Foh5I5ig==", 3141 | "dev": true 3142 | }, 3143 | "glob": { 3144 | "version": "7.2.3", 3145 | "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", 3146 | "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", 3147 | "dev": true, 3148 | "requires": { 3149 | "fs.realpath": "^1.0.0", 3150 | "inflight": "^1.0.4", 3151 | "inherits": "2", 3152 | "minimatch": "^3.1.1", 3153 | "once": "^1.3.0", 3154 | "path-is-absolute": "^1.0.0" 3155 | } 3156 | }, 3157 | "glob-parent": { 3158 | "version": "5.1.2", 3159 | "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", 3160 | "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", 3161 | "dev": true, 3162 | "requires": { 3163 | "is-glob": "^4.0.1" 3164 | } 3165 | }, 3166 | "globals": { 3167 | "version": "13.15.0", 3168 | "resolved": "https://registry.npmjs.org/globals/-/globals-13.15.0.tgz", 3169 | "integrity": "sha512-bpzcOlgDhMG070Av0Vy5Owklpv1I6+j96GhUI7Rh7IzDCKLzboflLrrfqMu8NquDbiR4EOQk7XzJwqVJxicxog==", 3170 | "dev": true, 3171 | "requires": { 3172 | "type-fest": "^0.20.2" 3173 | } 3174 | }, 3175 | "globby": { 3176 | "version": "11.1.0", 3177 | "resolved": "https://registry.npmjs.org/globby/-/globby-11.1.0.tgz", 3178 | "integrity": "sha512-jhIXaOzy1sb8IyocaruWSn1TjmnBVs8Ayhcy83rmxNJ8q2uWKCAj3CnJY+KpGSXCueAPc0i05kVvVKtP1t9S3g==", 3179 | "dev": true, 3180 | "requires": { 3181 | "array-union": "^2.1.0", 3182 | "dir-glob": "^3.0.1", 3183 | "fast-glob": "^3.2.9", 3184 | "ignore": "^5.2.0", 3185 | "merge2": "^1.4.1", 3186 | "slash": "^3.0.0" 3187 | } 3188 | }, 3189 | "growl": { 3190 | "version": "1.10.5", 3191 | "resolved": "https://registry.npmjs.org/growl/-/growl-1.10.5.tgz", 3192 | "integrity": "sha512-qBr4OuELkhPenW6goKVXiv47US3clb3/IbuWF9KNKEijAy9oeHxU9IgzjvJhHkUzhaj7rOUD7+YGWqUjLp5oSA==", 3193 | "dev": true 3194 | }, 3195 | "has-flag": { 3196 | "version": "4.0.0", 3197 | "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", 3198 | "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", 3199 | "dev": true 3200 | }, 3201 | "he": { 3202 | "version": "1.2.0", 3203 | "resolved": "https://registry.npmjs.org/he/-/he-1.2.0.tgz", 3204 | "integrity": "sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw==", 3205 | "dev": true 3206 | }, 3207 | "ignore": { 3208 | "version": "5.2.0", 3209 | "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.2.0.tgz", 3210 | "integrity": "sha512-CmxgYGiEPCLhfLnpPp1MoRmifwEIOgjcHXxOBjv7mY96c+eWScsOP9c112ZyLdWHi0FxHjI+4uVhKYp/gcdRmQ==", 3211 | "dev": true 3212 | }, 3213 | "import-fresh": { 3214 | "version": "3.3.0", 3215 | "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.0.tgz", 3216 | "integrity": "sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==", 3217 | "dev": true, 3218 | "requires": { 3219 | "parent-module": "^1.0.0", 3220 | "resolve-from": "^4.0.0" 3221 | } 3222 | }, 3223 | "imurmurhash": { 3224 | "version": "0.1.4", 3225 | "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz", 3226 | "integrity": "sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==", 3227 | "dev": true 3228 | }, 3229 | "inflight": { 3230 | "version": "1.0.6", 3231 | "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", 3232 | "integrity": "sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==", 3233 | "dev": true, 3234 | "requires": { 3235 | "once": "^1.3.0", 3236 | "wrappy": "1" 3237 | } 3238 | }, 3239 | "inherits": { 3240 | "version": "2.0.4", 3241 | "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", 3242 | "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", 3243 | "dev": true 3244 | }, 3245 | "is-binary-path": { 3246 | "version": "2.1.0", 3247 | "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz", 3248 | "integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==", 3249 | "dev": true, 3250 | "requires": { 3251 | "binary-extensions": "^2.0.0" 3252 | } 3253 | }, 3254 | "is-extglob": { 3255 | "version": "2.1.1", 3256 | "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", 3257 | "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==", 3258 | "dev": true 3259 | }, 3260 | "is-fullwidth-code-point": { 3261 | "version": "3.0.0", 3262 | "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", 3263 | "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", 3264 | "dev": true 3265 | }, 3266 | "is-glob": { 3267 | "version": "4.0.3", 3268 | "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", 3269 | "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", 3270 | "dev": true, 3271 | "requires": { 3272 | "is-extglob": "^2.1.1" 3273 | } 3274 | }, 3275 | "is-number": { 3276 | "version": "7.0.0", 3277 | "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", 3278 | "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", 3279 | "dev": true 3280 | }, 3281 | "is-plain-obj": { 3282 | "version": "2.1.0", 3283 | "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-2.1.0.tgz", 3284 | "integrity": "sha512-YWnfyRwxL/+SsrWYfOpUtz5b3YD+nyfkHvjbcanzk8zgyO4ASD67uVMRt8k5bM4lLMDnXfriRhOpemw+NfT1eA==", 3285 | "dev": true 3286 | }, 3287 | "is-unicode-supported": { 3288 | "version": "0.1.0", 3289 | "resolved": "https://registry.npmjs.org/is-unicode-supported/-/is-unicode-supported-0.1.0.tgz", 3290 | "integrity": "sha512-knxG2q4UC3u8stRGyAVJCOdxFmv5DZiRcdlIaAQXAbSfJya+OhopNotLQrstBhququ4ZpuKbDc/8S6mgXgPFPw==", 3291 | "dev": true 3292 | }, 3293 | "isexe": { 3294 | "version": "2.0.0", 3295 | "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", 3296 | "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==", 3297 | "dev": true 3298 | }, 3299 | "js-yaml": { 3300 | "version": "4.1.0", 3301 | "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz", 3302 | "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==", 3303 | "dev": true, 3304 | "requires": { 3305 | "argparse": "^2.0.1" 3306 | } 3307 | }, 3308 | "json-schema-traverse": { 3309 | "version": "0.4.1", 3310 | "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", 3311 | "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==", 3312 | "dev": true 3313 | }, 3314 | "json-stable-stringify-without-jsonify": { 3315 | "version": "1.0.1", 3316 | "resolved": "https://registry.npmjs.org/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz", 3317 | "integrity": "sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==", 3318 | "dev": true 3319 | }, 3320 | "just-extend": { 3321 | "version": "4.2.1", 3322 | "resolved": "https://registry.npmjs.org/just-extend/-/just-extend-4.2.1.tgz", 3323 | "integrity": "sha512-g3UB796vUFIY90VIv/WX3L2c8CS2MdWUww3CNrYmqza1Fg0DURc2K/O4YrnklBdQarSJ/y8JnJYDGc+1iumQjg==", 3324 | "dev": true 3325 | }, 3326 | "levn": { 3327 | "version": "0.4.1", 3328 | "resolved": "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz", 3329 | "integrity": "sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==", 3330 | "dev": true, 3331 | "requires": { 3332 | "prelude-ls": "^1.2.1", 3333 | "type-check": "~0.4.0" 3334 | } 3335 | }, 3336 | "locate-path": { 3337 | "version": "6.0.0", 3338 | "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz", 3339 | "integrity": "sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==", 3340 | "dev": true, 3341 | "requires": { 3342 | "p-locate": "^5.0.0" 3343 | } 3344 | }, 3345 | "lodash.get": { 3346 | "version": "4.4.2", 3347 | "resolved": "https://registry.npmjs.org/lodash.get/-/lodash.get-4.4.2.tgz", 3348 | "integrity": "sha512-z+Uw/vLuy6gQe8cfaFWD7p0wVv8fJl3mbzXh33RS+0oW2wvUqiRXiQ69gLWSLpgB5/6sU+r6BlQR0MBILadqTQ==", 3349 | "dev": true 3350 | }, 3351 | "lodash.merge": { 3352 | "version": "4.6.2", 3353 | "resolved": "https://registry.npmjs.org/lodash.merge/-/lodash.merge-4.6.2.tgz", 3354 | "integrity": "sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==", 3355 | "dev": true 3356 | }, 3357 | "log-symbols": { 3358 | "version": "4.1.0", 3359 | "resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-4.1.0.tgz", 3360 | "integrity": "sha512-8XPvpAA8uyhfteu8pIvQxpJZ7SYYdpUivZpGy6sFsBuKRY/7rQGavedeB8aK+Zkyq6upMFVL/9AW6vOYzfRyLg==", 3361 | "dev": true, 3362 | "requires": { 3363 | "chalk": "^4.1.0", 3364 | "is-unicode-supported": "^0.1.0" 3365 | } 3366 | }, 3367 | "loupe": { 3368 | "version": "2.3.4", 3369 | "resolved": "https://registry.npmjs.org/loupe/-/loupe-2.3.4.tgz", 3370 | "integrity": "sha512-OvKfgCC2Ndby6aSTREl5aCCPTNIzlDfQZvZxNUrBrihDhL3xcrYegTblhmEiCrg2kKQz4XsFIaemE5BF4ybSaQ==", 3371 | "dev": true, 3372 | "requires": { 3373 | "get-func-name": "^2.0.0" 3374 | } 3375 | }, 3376 | "lru-cache": { 3377 | "version": "6.0.0", 3378 | "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", 3379 | "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", 3380 | "dev": true, 3381 | "requires": { 3382 | "yallist": "^4.0.0" 3383 | } 3384 | }, 3385 | "merge2": { 3386 | "version": "1.4.1", 3387 | "resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz", 3388 | "integrity": "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==", 3389 | "dev": true 3390 | }, 3391 | "micromatch": { 3392 | "version": "4.0.5", 3393 | "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.5.tgz", 3394 | "integrity": "sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA==", 3395 | "dev": true, 3396 | "requires": { 3397 | "braces": "^3.0.2", 3398 | "picomatch": "^2.3.1" 3399 | } 3400 | }, 3401 | "minimatch": { 3402 | "version": "3.1.2", 3403 | "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", 3404 | "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", 3405 | "dev": true, 3406 | "requires": { 3407 | "brace-expansion": "^1.1.7" 3408 | } 3409 | }, 3410 | "mocha": { 3411 | "version": "9.2.2", 3412 | "resolved": "https://registry.npmjs.org/mocha/-/mocha-9.2.2.tgz", 3413 | "integrity": "sha512-L6XC3EdwT6YrIk0yXpavvLkn8h+EU+Y5UcCHKECyMbdUIxyMuZj4bX4U9e1nvnvUUvQVsV2VHQr5zLdcUkhW/g==", 3414 | "dev": true, 3415 | "requires": { 3416 | "@ungap/promise-all-settled": "1.1.2", 3417 | "ansi-colors": "4.1.1", 3418 | "browser-stdout": "1.3.1", 3419 | "chokidar": "3.5.3", 3420 | "debug": "4.3.3", 3421 | "diff": "5.0.0", 3422 | "escape-string-regexp": "4.0.0", 3423 | "find-up": "5.0.0", 3424 | "glob": "7.2.0", 3425 | "growl": "1.10.5", 3426 | "he": "1.2.0", 3427 | "js-yaml": "4.1.0", 3428 | "log-symbols": "4.1.0", 3429 | "minimatch": "4.2.1", 3430 | "ms": "2.1.3", 3431 | "nanoid": "3.3.1", 3432 | "serialize-javascript": "6.0.0", 3433 | "strip-json-comments": "3.1.1", 3434 | "supports-color": "8.1.1", 3435 | "which": "2.0.2", 3436 | "workerpool": "6.2.0", 3437 | "yargs": "16.2.0", 3438 | "yargs-parser": "20.2.4", 3439 | "yargs-unparser": "2.0.0" 3440 | }, 3441 | "dependencies": { 3442 | "debug": { 3443 | "version": "4.3.3", 3444 | "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.3.tgz", 3445 | "integrity": "sha512-/zxw5+vh1Tfv+4Qn7a5nsbcJKPaSvCDhojn6FEl9vupwK2VCSDtEiEtqr8DFtzYFOdz63LBkxec7DYuc2jon6Q==", 3446 | "dev": true, 3447 | "requires": { 3448 | "ms": "2.1.2" 3449 | }, 3450 | "dependencies": { 3451 | "ms": { 3452 | "version": "2.1.2", 3453 | "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", 3454 | "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", 3455 | "dev": true 3456 | } 3457 | } 3458 | }, 3459 | "diff": { 3460 | "version": "5.0.0", 3461 | "resolved": "https://registry.npmjs.org/diff/-/diff-5.0.0.tgz", 3462 | "integrity": "sha512-/VTCrvm5Z0JGty/BWHljh+BAiw3IK+2j87NGMu8Nwc/f48WoDAC395uomO9ZD117ZOBaHmkX1oyLvkVM/aIT3w==", 3463 | "dev": true 3464 | }, 3465 | "glob": { 3466 | "version": "7.2.0", 3467 | "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.0.tgz", 3468 | "integrity": "sha512-lmLf6gtyrPq8tTjSmrO94wBeQbFR3HbLHbuyD69wuyQkImp2hWqMGB47OX65FBkPffO641IP9jWa1z4ivqG26Q==", 3469 | "dev": true, 3470 | "requires": { 3471 | "fs.realpath": "^1.0.0", 3472 | "inflight": "^1.0.4", 3473 | "inherits": "2", 3474 | "minimatch": "^3.0.4", 3475 | "once": "^1.3.0", 3476 | "path-is-absolute": "^1.0.0" 3477 | }, 3478 | "dependencies": { 3479 | "minimatch": { 3480 | "version": "3.1.2", 3481 | "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", 3482 | "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", 3483 | "dev": true, 3484 | "requires": { 3485 | "brace-expansion": "^1.1.7" 3486 | } 3487 | } 3488 | } 3489 | }, 3490 | "minimatch": { 3491 | "version": "4.2.1", 3492 | "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-4.2.1.tgz", 3493 | "integrity": "sha512-9Uq1ChtSZO+Mxa/CL1eGizn2vRn3MlLgzhT0Iz8zaY8NdvxvB0d5QdPFmCKf7JKA9Lerx5vRrnwO03jsSfGG9g==", 3494 | "dev": true, 3495 | "requires": { 3496 | "brace-expansion": "^1.1.7" 3497 | } 3498 | }, 3499 | "ms": { 3500 | "version": "2.1.3", 3501 | "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", 3502 | "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", 3503 | "dev": true 3504 | } 3505 | } 3506 | }, 3507 | "ms": { 3508 | "version": "2.1.2", 3509 | "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", 3510 | "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", 3511 | "dev": true 3512 | }, 3513 | "nanoid": { 3514 | "version": "3.3.1", 3515 | "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.1.tgz", 3516 | "integrity": "sha512-n6Vs/3KGyxPQd6uO0eH4Bv0ojGSUvuLlIHtC3Y0kEO23YRge8H9x1GCzLn28YX0H66pMkxuaeESFq4tKISKwdw==", 3517 | "dev": true 3518 | }, 3519 | "natural-compare": { 3520 | "version": "1.4.0", 3521 | "resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz", 3522 | "integrity": "sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==", 3523 | "dev": true 3524 | }, 3525 | "nise": { 3526 | "version": "5.1.1", 3527 | "resolved": "https://registry.npmjs.org/nise/-/nise-5.1.1.tgz", 3528 | "integrity": "sha512-yr5kW2THW1AkxVmCnKEh4nbYkJdB3I7LUkiUgOvEkOp414mc2UMaHMA7pjq1nYowhdoJZGwEKGaQVbxfpWj10A==", 3529 | "dev": true, 3530 | "requires": { 3531 | "@sinonjs/commons": "^1.8.3", 3532 | "@sinonjs/fake-timers": ">=5", 3533 | "@sinonjs/text-encoding": "^0.7.1", 3534 | "just-extend": "^4.0.2", 3535 | "path-to-regexp": "^1.7.0" 3536 | } 3537 | }, 3538 | "normalize-path": { 3539 | "version": "3.0.0", 3540 | "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz", 3541 | "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==", 3542 | "dev": true 3543 | }, 3544 | "once": { 3545 | "version": "1.4.0", 3546 | "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", 3547 | "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==", 3548 | "dev": true, 3549 | "requires": { 3550 | "wrappy": "1" 3551 | } 3552 | }, 3553 | "optionator": { 3554 | "version": "0.9.1", 3555 | "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.1.tgz", 3556 | "integrity": "sha512-74RlY5FCnhq4jRxVUPKDaRwrVNXMqsGsiW6AJw4XK8hmtm10wC0ypZBLw5IIp85NZMr91+qd1RvvENwg7jjRFw==", 3557 | "dev": true, 3558 | "requires": { 3559 | "deep-is": "^0.1.3", 3560 | "fast-levenshtein": "^2.0.6", 3561 | "levn": "^0.4.1", 3562 | "prelude-ls": "^1.2.1", 3563 | "type-check": "^0.4.0", 3564 | "word-wrap": "^1.2.3" 3565 | } 3566 | }, 3567 | "p-limit": { 3568 | "version": "3.1.0", 3569 | "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz", 3570 | "integrity": "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==", 3571 | "dev": true, 3572 | "requires": { 3573 | "yocto-queue": "^0.1.0" 3574 | } 3575 | }, 3576 | "p-locate": { 3577 | "version": "5.0.0", 3578 | "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-5.0.0.tgz", 3579 | "integrity": "sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==", 3580 | "dev": true, 3581 | "requires": { 3582 | "p-limit": "^3.0.2" 3583 | } 3584 | }, 3585 | "parent-module": { 3586 | "version": "1.0.1", 3587 | "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz", 3588 | "integrity": "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==", 3589 | "dev": true, 3590 | "requires": { 3591 | "callsites": "^3.0.0" 3592 | } 3593 | }, 3594 | "path-exists": { 3595 | "version": "4.0.0", 3596 | "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", 3597 | "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", 3598 | "dev": true 3599 | }, 3600 | "path-is-absolute": { 3601 | "version": "1.0.1", 3602 | "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", 3603 | "integrity": "sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==", 3604 | "dev": true 3605 | }, 3606 | "path-key": { 3607 | "version": "3.1.1", 3608 | "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", 3609 | "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", 3610 | "dev": true 3611 | }, 3612 | "path-to-regexp": { 3613 | "version": "1.8.0", 3614 | "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-1.8.0.tgz", 3615 | "integrity": "sha512-n43JRhlUKUAlibEJhPeir1ncUID16QnEjNpwzNdO3Lm4ywrBpBZ5oLD0I6br9evr1Y9JTqwRtAh7JLoOzAQdVA==", 3616 | "dev": true, 3617 | "requires": { 3618 | "isarray": "0.0.1" 3619 | }, 3620 | "dependencies": { 3621 | "isarray": { 3622 | "version": "0.0.1", 3623 | "resolved": "https://registry.npmjs.org/isarray/-/isarray-0.0.1.tgz", 3624 | "integrity": "sha512-D2S+3GLxWH+uhrNEcoh/fnmYeP8E8/zHl644d/jdA0g2uyXvy3sb0qxotE+ne0LtccHknQzWwZEzhak7oJ0COQ==", 3625 | "dev": true 3626 | } 3627 | } 3628 | }, 3629 | "path-type": { 3630 | "version": "4.0.0", 3631 | "resolved": "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz", 3632 | "integrity": "sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==", 3633 | "dev": true 3634 | }, 3635 | "pathval": { 3636 | "version": "1.1.1", 3637 | "resolved": "https://registry.npmjs.org/pathval/-/pathval-1.1.1.tgz", 3638 | "integrity": "sha512-Dp6zGqpTdETdR63lehJYPeIOqpiNBNtc7BpWSLrOje7UaIsE5aY92r/AunQA7rsXvet3lrJ3JnZX29UPTKXyKQ==", 3639 | "dev": true 3640 | }, 3641 | "picomatch": { 3642 | "version": "2.3.1", 3643 | "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", 3644 | "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", 3645 | "dev": true 3646 | }, 3647 | "prelude-ls": { 3648 | "version": "1.2.1", 3649 | "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz", 3650 | "integrity": "sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==", 3651 | "dev": true 3652 | }, 3653 | "prettier": { 3654 | "version": "2.7.1", 3655 | "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.7.1.tgz", 3656 | "integrity": "sha512-ujppO+MkdPqoVINuDFDRLClm7D78qbDt0/NR+wp5FqEZOoTNAjPHWj17QRhu7geIHJfcNhRk1XVQmF8Bp3ye+g==", 3657 | "dev": true 3658 | }, 3659 | "punycode": { 3660 | "version": "2.1.1", 3661 | "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz", 3662 | "integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==", 3663 | "dev": true 3664 | }, 3665 | "queue-microtask": { 3666 | "version": "1.2.3", 3667 | "resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz", 3668 | "integrity": "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==", 3669 | "dev": true 3670 | }, 3671 | "randombytes": { 3672 | "version": "2.1.0", 3673 | "resolved": "https://registry.npmjs.org/randombytes/-/randombytes-2.1.0.tgz", 3674 | "integrity": "sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ==", 3675 | "dev": true, 3676 | "requires": { 3677 | "safe-buffer": "^5.1.0" 3678 | } 3679 | }, 3680 | "readdirp": { 3681 | "version": "3.6.0", 3682 | "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz", 3683 | "integrity": "sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==", 3684 | "dev": true, 3685 | "requires": { 3686 | "picomatch": "^2.2.1" 3687 | } 3688 | }, 3689 | "regexpp": { 3690 | "version": "3.2.0", 3691 | "resolved": "https://registry.npmjs.org/regexpp/-/regexpp-3.2.0.tgz", 3692 | "integrity": "sha512-pq2bWo9mVD43nbts2wGv17XLiNLya+GklZ8kaDLV2Z08gDCsGpnKn9BFMepvWuHCbyVvY7J5o5+BVvoQbmlJLg==", 3693 | "dev": true 3694 | }, 3695 | "require-directory": { 3696 | "version": "2.1.1", 3697 | "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", 3698 | "integrity": "sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==", 3699 | "dev": true 3700 | }, 3701 | "resolve-from": { 3702 | "version": "4.0.0", 3703 | "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz", 3704 | "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==", 3705 | "dev": true 3706 | }, 3707 | "reusify": { 3708 | "version": "1.0.4", 3709 | "resolved": "https://registry.npmjs.org/reusify/-/reusify-1.0.4.tgz", 3710 | "integrity": "sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==", 3711 | "dev": true 3712 | }, 3713 | "rimraf": { 3714 | "version": "3.0.2", 3715 | "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", 3716 | "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", 3717 | "dev": true, 3718 | "requires": { 3719 | "glob": "^7.1.3" 3720 | } 3721 | }, 3722 | "run-parallel": { 3723 | "version": "1.2.0", 3724 | "resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz", 3725 | "integrity": "sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==", 3726 | "dev": true, 3727 | "requires": { 3728 | "queue-microtask": "^1.2.2" 3729 | } 3730 | }, 3731 | "safe-buffer": { 3732 | "version": "5.2.1", 3733 | "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", 3734 | "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", 3735 | "dev": true 3736 | }, 3737 | "semver": { 3738 | "version": "7.3.7", 3739 | "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.7.tgz", 3740 | "integrity": "sha512-QlYTucUYOews+WeEujDoEGziz4K6c47V/Bd+LjSSYcA94p+DmINdf7ncaUinThfvZyu13lN9OY1XDxt8C0Tw0g==", 3741 | "dev": true, 3742 | "requires": { 3743 | "lru-cache": "^6.0.0" 3744 | } 3745 | }, 3746 | "serialize-javascript": { 3747 | "version": "6.0.0", 3748 | "resolved": "https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-6.0.0.tgz", 3749 | "integrity": "sha512-Qr3TosvguFt8ePWqsvRfrKyQXIiW+nGbYpy8XK24NQHE83caxWt+mIymTT19DGFbNWNLfEwsrkSmN64lVWB9ag==", 3750 | "dev": true, 3751 | "requires": { 3752 | "randombytes": "^2.1.0" 3753 | } 3754 | }, 3755 | "shebang-command": { 3756 | "version": "2.0.0", 3757 | "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", 3758 | "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==", 3759 | "dev": true, 3760 | "requires": { 3761 | "shebang-regex": "^3.0.0" 3762 | } 3763 | }, 3764 | "shebang-regex": { 3765 | "version": "3.0.0", 3766 | "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz", 3767 | "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==", 3768 | "dev": true 3769 | }, 3770 | "sinon": { 3771 | "version": "13.0.2", 3772 | "resolved": "https://registry.npmjs.org/sinon/-/sinon-13.0.2.tgz", 3773 | "integrity": "sha512-KvOrztAVqzSJWMDoxM4vM+GPys1df2VBoXm+YciyB/OLMamfS3VXh3oGh5WtrAGSzrgczNWFFY22oKb7Fi5eeA==", 3774 | "dev": true, 3775 | "requires": { 3776 | "@sinonjs/commons": "^1.8.3", 3777 | "@sinonjs/fake-timers": "^9.1.2", 3778 | "@sinonjs/samsam": "^6.1.1", 3779 | "diff": "^5.0.0", 3780 | "nise": "^5.1.1", 3781 | "supports-color": "^7.2.0" 3782 | }, 3783 | "dependencies": { 3784 | "supports-color": { 3785 | "version": "7.2.0", 3786 | "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", 3787 | "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", 3788 | "dev": true, 3789 | "requires": { 3790 | "has-flag": "^4.0.0" 3791 | } 3792 | } 3793 | } 3794 | }, 3795 | "slash": { 3796 | "version": "3.0.0", 3797 | "resolved": "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz", 3798 | "integrity": "sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==", 3799 | "dev": true 3800 | }, 3801 | "string-width": { 3802 | "version": "4.2.3", 3803 | "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", 3804 | "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", 3805 | "dev": true, 3806 | "requires": { 3807 | "emoji-regex": "^8.0.0", 3808 | "is-fullwidth-code-point": "^3.0.0", 3809 | "strip-ansi": "^6.0.1" 3810 | } 3811 | }, 3812 | "strip-ansi": { 3813 | "version": "6.0.1", 3814 | "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", 3815 | "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", 3816 | "dev": true, 3817 | "requires": { 3818 | "ansi-regex": "^5.0.1" 3819 | } 3820 | }, 3821 | "strip-json-comments": { 3822 | "version": "3.1.1", 3823 | "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz", 3824 | "integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==", 3825 | "dev": true 3826 | }, 3827 | "supports-color": { 3828 | "version": "8.1.1", 3829 | "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz", 3830 | "integrity": "sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==", 3831 | "dev": true, 3832 | "requires": { 3833 | "has-flag": "^4.0.0" 3834 | } 3835 | }, 3836 | "text-table": { 3837 | "version": "0.2.0", 3838 | "resolved": "https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz", 3839 | "integrity": "sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw==", 3840 | "dev": true 3841 | }, 3842 | "to-regex-range": { 3843 | "version": "5.0.1", 3844 | "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", 3845 | "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", 3846 | "dev": true, 3847 | "requires": { 3848 | "is-number": "^7.0.0" 3849 | } 3850 | }, 3851 | "tsutils": { 3852 | "version": "3.21.0", 3853 | "resolved": "https://registry.npmjs.org/tsutils/-/tsutils-3.21.0.tgz", 3854 | "integrity": "sha512-mHKK3iUXL+3UF6xL5k0PEhKRUBKPBCv/+RkEOpjRWxxx27KKRBmmA60A9pgOUvMi8GKhRMPEmjBRPzs2W7O1OA==", 3855 | "dev": true, 3856 | "requires": { 3857 | "tslib": "^1.8.1" 3858 | }, 3859 | "dependencies": { 3860 | "tslib": { 3861 | "version": "1.14.1", 3862 | "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", 3863 | "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==", 3864 | "dev": true 3865 | } 3866 | } 3867 | }, 3868 | "type-check": { 3869 | "version": "0.4.0", 3870 | "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz", 3871 | "integrity": "sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==", 3872 | "dev": true, 3873 | "requires": { 3874 | "prelude-ls": "^1.2.1" 3875 | } 3876 | }, 3877 | "type-detect": { 3878 | "version": "4.0.8", 3879 | "resolved": "https://registry.npmjs.org/type-detect/-/type-detect-4.0.8.tgz", 3880 | "integrity": "sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g==", 3881 | "dev": true 3882 | }, 3883 | "type-fest": { 3884 | "version": "0.20.2", 3885 | "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.20.2.tgz", 3886 | "integrity": "sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==", 3887 | "dev": true 3888 | }, 3889 | "typescript": { 3890 | "version": "4.7.4", 3891 | "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.7.4.tgz", 3892 | "integrity": "sha512-C0WQT0gezHuw6AdY1M2jxUO83Rjf0HP7Sk1DtXj6j1EwkQNZrHAg2XPWlq62oqEhYvONq5pkC2Y9oPljWToLmQ==", 3893 | "dev": true 3894 | }, 3895 | "uri-js": { 3896 | "version": "4.4.1", 3897 | "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz", 3898 | "integrity": "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==", 3899 | "dev": true, 3900 | "requires": { 3901 | "punycode": "^2.1.0" 3902 | } 3903 | }, 3904 | "v8-compile-cache": { 3905 | "version": "2.3.0", 3906 | "resolved": "https://registry.npmjs.org/v8-compile-cache/-/v8-compile-cache-2.3.0.tgz", 3907 | "integrity": "sha512-l8lCEmLcLYZh4nbunNZvQCJc5pv7+RCwa8q/LdUx8u7lsWvPDKmpodJAJNwkAhJC//dFY48KuIEmjtd4RViDrA==", 3908 | "dev": true 3909 | }, 3910 | "which": { 3911 | "version": "2.0.2", 3912 | "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", 3913 | "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", 3914 | "dev": true, 3915 | "requires": { 3916 | "isexe": "^2.0.0" 3917 | } 3918 | }, 3919 | "word-wrap": { 3920 | "version": "1.2.3", 3921 | "resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.3.tgz", 3922 | "integrity": "sha512-Hz/mrNwitNRh/HUAtM/VT/5VH+ygD6DV7mYKZAtHOrbs8U7lvPS6xf7EJKMF0uW1KJCl0H701g3ZGus+muE5vQ==", 3923 | "dev": true 3924 | }, 3925 | "workerpool": { 3926 | "version": "6.2.0", 3927 | "resolved": "https://registry.npmjs.org/workerpool/-/workerpool-6.2.0.tgz", 3928 | "integrity": "sha512-Rsk5qQHJ9eowMH28Jwhe8HEbmdYDX4lwoMWshiCXugjtHqMD9ZbiqSDLxcsfdqsETPzVUtX5s1Z5kStiIM6l4A==", 3929 | "dev": true 3930 | }, 3931 | "wrap-ansi": { 3932 | "version": "7.0.0", 3933 | "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", 3934 | "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", 3935 | "dev": true, 3936 | "requires": { 3937 | "ansi-styles": "^4.0.0", 3938 | "string-width": "^4.1.0", 3939 | "strip-ansi": "^6.0.0" 3940 | } 3941 | }, 3942 | "wrappy": { 3943 | "version": "1.0.2", 3944 | "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", 3945 | "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==", 3946 | "dev": true 3947 | }, 3948 | "y18n": { 3949 | "version": "5.0.8", 3950 | "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz", 3951 | "integrity": "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==", 3952 | "dev": true 3953 | }, 3954 | "yallist": { 3955 | "version": "4.0.0", 3956 | "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", 3957 | "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", 3958 | "dev": true 3959 | }, 3960 | "yargs": { 3961 | "version": "16.2.0", 3962 | "resolved": "https://registry.npmjs.org/yargs/-/yargs-16.2.0.tgz", 3963 | "integrity": "sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw==", 3964 | "dev": true, 3965 | "requires": { 3966 | "cliui": "^7.0.2", 3967 | "escalade": "^3.1.1", 3968 | "get-caller-file": "^2.0.5", 3969 | "require-directory": "^2.1.1", 3970 | "string-width": "^4.2.0", 3971 | "y18n": "^5.0.5", 3972 | "yargs-parser": "^20.2.2" 3973 | } 3974 | }, 3975 | "yargs-parser": { 3976 | "version": "20.2.4", 3977 | "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.4.tgz", 3978 | "integrity": "sha512-WOkpgNhPTlE73h4VFAFsOnomJVaovO8VqLDzy5saChRBFQFBoMYirowyW+Q9HB4HFF4Z7VZTiG3iSzJJA29yRA==", 3979 | "dev": true 3980 | }, 3981 | "yargs-unparser": { 3982 | "version": "2.0.0", 3983 | "resolved": "https://registry.npmjs.org/yargs-unparser/-/yargs-unparser-2.0.0.tgz", 3984 | "integrity": "sha512-7pRTIA9Qc1caZ0bZ6RYRGbHJthJWuakf+WmHK0rVeLkNrrGhfoabBNdue6kdINI6r4if7ocq9aD/n7xwKOdzOA==", 3985 | "dev": true, 3986 | "requires": { 3987 | "camelcase": "^6.0.0", 3988 | "decamelize": "^4.0.0", 3989 | "flat": "^5.0.2", 3990 | "is-plain-obj": "^2.1.0" 3991 | } 3992 | }, 3993 | "yocto-queue": { 3994 | "version": "0.1.0", 3995 | "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz", 3996 | "integrity": "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==", 3997 | "dev": true 3998 | } 3999 | } 4000 | } 4001 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@rocicorp/undo", 3 | "version": "0.2.1", 4 | "description": "Undo Redo Manager", 5 | "homepage": "https://github.com/rocicorp/undo", 6 | "repository": "github:rocicorp/undo", 7 | "scripts": { 8 | "test": "mocha --ui=bdd out/*.test.js", 9 | "pretest": "npm run build", 10 | "format": "prettier --write 'src/**/*.{js,jsx,json,ts,tsx,html,css,md}' '*.{cjs,js,jsx,json,ts,tsx,html,css,md}'", 11 | "check-format": "prettier --check 'src/**/*.{js,jsx,json,ts,tsx,html,css,md}' '*.{cjs,js,jsx,json,ts,tsx,html,css,md}'", 12 | "lint": "eslint --ext .ts,.tsx,.js,.jsx src/", 13 | "build": "rm -rf out && tsc", 14 | "prepack": "npm run lint && npm run test " 15 | }, 16 | "devDependencies": { 17 | "@types/chai": "^4.3.0", 18 | "@types/mocha": "^9.1.0", 19 | "@types/sinon": "^10.0.11", 20 | "@typescript-eslint/eslint-plugin": "^5.15.0", 21 | "@typescript-eslint/parser": "^5.15.0", 22 | "chai": "^4.3.6", 23 | "eslint": "^8.11.0", 24 | "mocha": "^9.2.2", 25 | "prettier": "^2.5.1", 26 | "sinon": "^13.0.1", 27 | "typescript": "^4.6.2" 28 | }, 29 | "type": "module", 30 | "types": "out/index.d.ts", 31 | "main": "out/index.js", 32 | "exports": { 33 | ".": "./out/index.js" 34 | }, 35 | "files": [ 36 | "out/*", 37 | "!out/*.test.*" 38 | ] 39 | } 40 | -------------------------------------------------------------------------------- /snowpack.config.js: -------------------------------------------------------------------------------- 1 | // Snowpack Configuration File 2 | // See all supported options: https://www.snowpack.dev/reference/configuration 3 | 4 | /** @type {import("snowpack").SnowpackUserConfig } */ 5 | module.exports = {}; 6 | -------------------------------------------------------------------------------- /src/index.test.ts: -------------------------------------------------------------------------------- 1 | /* eslint-disable @typescript-eslint/naming-convention */ 2 | import {expect} from 'chai'; 3 | import sinon from 'sinon'; 4 | import {UndoManager} from './index.js'; 5 | 6 | let modifiedValue = 0; 7 | let undoManager: UndoManager; 8 | const onChangeSpy = sinon.spy(); 9 | 10 | describe('UndoManager', () => { 11 | beforeEach(() => { 12 | modifiedValue = 0; 13 | undoManager = new UndoManager({ 14 | onChange: onChangeSpy, 15 | }); 16 | }); 17 | 18 | afterEach(() => { 19 | onChangeSpy.resetHistory(); 20 | }); 21 | 22 | const OneRemoveOneAdd = { 23 | redo: () => { 24 | modifiedValue++; 25 | }, 26 | undo: () => { 27 | modifiedValue--; 28 | }, 29 | }; 30 | const OneRemoveOneExecute = { 31 | execute: () => { 32 | modifiedValue++; 33 | }, 34 | undo: () => { 35 | modifiedValue--; 36 | }, 37 | }; 38 | 39 | const ThrowError = { 40 | execute: () => { 41 | throw new Error('Error in execute.'); 42 | }, 43 | undo: () => { 44 | throw new Error('Error in undo.'); 45 | }, 46 | }; 47 | 48 | const ThrowErrorAsync = { 49 | execute: () => { 50 | return new Promise((_, reject) => { 51 | setTimeout(() => { 52 | reject(new Error('Async error in execute')); 53 | }, 1); 54 | }); 55 | }, 56 | undo: () => { 57 | return new Promise((_, reject) => { 58 | setTimeout(() => { 59 | reject(new Error('Async error in undo')); 60 | }, 1); 61 | }); 62 | }, 63 | }; 64 | 65 | const ThrowErrorAsyncRedo = { 66 | redo: () => { 67 | return new Promise((_, reject) => { 68 | setTimeout(() => { 69 | reject(new Error('Async error in redo')); 70 | }, 1); 71 | }); 72 | }, 73 | undo: () => { 74 | return new Promise((resolve, _) => { 75 | setTimeout(() => { 76 | modifiedValue--; 77 | resolve(undefined); 78 | }, 1); 79 | }); 80 | }, 81 | }; 82 | 83 | const ThrowErrorUndoAsync = { 84 | execute: () => { 85 | return new Promise((resolve, _) => { 86 | setTimeout(() => { 87 | modifiedValue++; 88 | resolve(undefined); 89 | }, 1); 90 | }); 91 | }, 92 | undo: () => { 93 | return new Promise((_, reject) => { 94 | setTimeout(() => { 95 | reject(new Error('Async error in undo')); 96 | }, 1); 97 | }); 98 | }, 99 | }; 100 | 101 | const OneRemoveOneExecuteAsync = { 102 | execute: () => { 103 | return new Promise((resolve, _) => { 104 | setTimeout(() => { 105 | modifiedValue++; 106 | resolve(undefined); 107 | }, 1); 108 | }); 109 | }, 110 | undo: () => { 111 | return new Promise((resolve, _) => { 112 | setTimeout(() => { 113 | modifiedValue--; 114 | resolve(undefined); 115 | }, 1); 116 | }); 117 | }, 118 | }; 119 | 120 | it('added redo added execute', async () => { 121 | await undoManager.add(OneRemoveOneAdd); 122 | await undoManager.add(OneRemoveOneExecute); 123 | expect(modifiedValue).to.be.equal(1); 124 | expect(undoManager.canUndo).to.be.true; 125 | expect(undoManager.canRedo).to.be.false; 126 | expect(onChangeSpy.callCount).to.be.equal(1); 127 | }); 128 | 129 | it('undo two entries', async () => { 130 | await undoManager.add(OneRemoveOneAdd); 131 | await undoManager.add(OneRemoveOneExecute); 132 | expect(modifiedValue).to.be.equal(1); 133 | expect(undoManager.canUndo).to.be.true; 134 | expect(undoManager.canRedo).to.be.false; 135 | expect(onChangeSpy.callCount).to.be.equal(1); 136 | await undoManager.undo(); 137 | expect(undoManager.canUndo).to.be.true; 138 | expect(undoManager.canRedo).to.be.true; 139 | expect(modifiedValue).to.be.equal(0); 140 | await undoManager.undo(); 141 | expect(modifiedValue).to.be.equal(-1); 142 | expect(undoManager.canUndo).to.be.false; 143 | expect(undoManager.canRedo).to.be.true; 144 | expect(onChangeSpy.callCount).to.be.equal(3); 145 | }); 146 | 147 | it('add one more entry check for add of equal', async () => { 148 | await undoManager.add(OneRemoveOneAdd); 149 | await undoManager.add(OneRemoveOneExecute); 150 | await undoManager.undo(); 151 | await undoManager.undo(); 152 | await undoManager.add(OneRemoveOneAdd); 153 | expect(modifiedValue).to.be.equal(-1); 154 | expect(undoManager.canUndo).to.be.true; 155 | expect(undoManager.canRedo).to.be.false; 156 | expect(onChangeSpy.callCount).to.be.equal(4); 157 | await undoManager.add(OneRemoveOneAdd); 158 | expect(modifiedValue).to.be.equal(-1); 159 | expect(undoManager.canUndo).to.be.true; 160 | expect(undoManager.canRedo).to.be.false; 161 | expect(onChangeSpy.callCount).to.be.equal(4); 162 | }); 163 | 164 | it('redo two items in stack that can not be redone', async () => { 165 | await undoManager.add(OneRemoveOneAdd); 166 | await undoManager.add(OneRemoveOneExecute); 167 | await undoManager.undo(); 168 | await undoManager.undo(); 169 | await undoManager.add(OneRemoveOneAdd); 170 | await undoManager.add(OneRemoveOneAdd); 171 | await undoManager.redo(); 172 | await undoManager.redo(); 173 | expect(modifiedValue).to.be.equal(-1); 174 | expect(undoManager.canUndo).to.be.true; 175 | expect(undoManager.canRedo).to.be.false; 176 | expect(onChangeSpy.callCount).to.be.equal(4); 177 | }); 178 | 179 | it('add / undo / redo async', async () => { 180 | await undoManager.add(OneRemoveOneExecuteAsync); 181 | await undoManager.add(OneRemoveOneExecuteAsync); 182 | expect(modifiedValue).to.be.equal(2); 183 | await undoManager.undo(); 184 | await undoManager.undo(); 185 | expect(modifiedValue).to.be.equal(0); 186 | expect(undoManager.canUndo).to.be.false; 187 | expect(undoManager.canRedo).to.be.true; 188 | expect(onChangeSpy.callCount).to.be.equal(3); 189 | await undoManager.redo(); 190 | await undoManager.redo(); 191 | expect(modifiedValue).to.be.equal(2); 192 | expect(undoManager.canUndo).to.be.true; 193 | expect(undoManager.canRedo).to.be.false; 194 | expect(onChangeSpy.callCount).to.be.equal(5); 195 | }); 196 | 197 | it('grouping undo /redo', async () => { 198 | await undoManager.add(OneRemoveOneExecute); 199 | expect(modifiedValue).to.be.equal(1); 200 | expect(undoManager.canUndo).to.be.true; 201 | expect(undoManager.canRedo).to.be.false; 202 | undoManager.startGroup(); 203 | await undoManager.add(OneRemoveOneExecute); 204 | await undoManager.add(OneRemoveOneExecute); 205 | await undoManager.add(OneRemoveOneExecute); 206 | await undoManager.add(OneRemoveOneExecute); 207 | undoManager.endGroup(); 208 | expect(modifiedValue).to.be.equal(5); 209 | expect(undoManager.canUndo).to.be.true; 210 | expect(undoManager.canRedo).to.be.false; 211 | await undoManager.undo(); 212 | expect(modifiedValue).to.be.equal(1); 213 | expect(undoManager.canUndo).to.be.true; 214 | expect(undoManager.canRedo).to.be.true; 215 | await undoManager.undo(); 216 | expect(modifiedValue).to.be.equal(0); 217 | expect(undoManager.canUndo).to.be.false; 218 | expect(undoManager.canRedo).to.be.true; 219 | await undoManager.redo(); 220 | expect(modifiedValue).to.be.equal(1); 221 | expect(undoManager.canUndo).to.be.true; 222 | expect(undoManager.canRedo).to.be.true; 223 | await undoManager.redo(); 224 | expect(modifiedValue).to.be.equal(5); 225 | expect(undoManager.canUndo).to.be.true; 226 | expect(undoManager.canRedo).to.be.false; 227 | await undoManager.undo(); 228 | await undoManager.undo(); 229 | }); 230 | 231 | it('past zero group tests, subsequent groups', async () => { 232 | expect(modifiedValue).to.be.equal(0); 233 | undoManager.startGroup(); 234 | await undoManager.add(OneRemoveOneExecute); 235 | await undoManager.add(OneRemoveOneExecute); 236 | await undoManager.add(OneRemoveOneExecute); 237 | await undoManager.add(OneRemoveOneExecute); 238 | undoManager.endGroup(); 239 | expect(modifiedValue).to.be.equal(4); 240 | undoManager.startGroup(); 241 | await undoManager.add(OneRemoveOneExecute); 242 | await undoManager.add(OneRemoveOneExecute); 243 | await undoManager.add(OneRemoveOneExecute); 244 | await undoManager.add(OneRemoveOneExecute); 245 | undoManager.endGroup(); 246 | expect(modifiedValue).to.be.equal(8); 247 | await undoManager.undo(); 248 | expect(modifiedValue).to.be.equal(4); 249 | await undoManager.undo(); 250 | expect(modifiedValue).to.be.equal(0); 251 | await undoManager.redo(); 252 | expect(modifiedValue).to.be.equal(4); 253 | await undoManager.redo(); 254 | expect(modifiedValue).to.be.equal(8); 255 | }); 256 | 257 | it('start group twice should throw error', () => { 258 | undoManager.startGroup(); 259 | expect(() => undoManager.startGroup()).to.throw( 260 | 'UndoManager is already grouping.', 261 | ); 262 | }); 263 | 264 | it('await should catch error on execute', async () => { 265 | let expectedError: Error | undefined = undefined; 266 | try { 267 | await undoManager.add(ThrowError); 268 | } catch (e) { 269 | expectedError = e as Error; 270 | } 271 | expect(expectedError).to.be.not.undefined; 272 | if (!expectedError) { 273 | throw new Error('expected error to be thrown'); 274 | } 275 | expect(expectedError.message).to.be.equal('Error in execute.'); 276 | }); 277 | 278 | it('await should catch error execute async', async () => { 279 | let expectedError: Error | undefined = undefined; 280 | try { 281 | await undoManager.add(ThrowErrorAsync); 282 | } catch (e) { 283 | expectedError = e as Error; 284 | } 285 | expect(expectedError).to.be.not.undefined; 286 | if (!expectedError) { 287 | throw new Error('expected error to be thrown'); 288 | } 289 | expect(expectedError.message).to.be.equal('Async error in execute'); 290 | }); 291 | 292 | it('await should catch error undo async', async () => { 293 | let expectedError: Error | undefined = undefined; 294 | await undoManager.add(ThrowErrorUndoAsync); 295 | try { 296 | await undoManager.undo(); 297 | } catch (e) { 298 | expectedError = e as Error; 299 | } 300 | expect(expectedError).to.be.not.undefined; 301 | 302 | if (!expectedError) { 303 | throw new Error('expected error to be thrown'); 304 | } 305 | expect(expectedError.message).to.be.equal('Async error in undo'); 306 | }); 307 | 308 | it('await should catch error redo async', async () => { 309 | let expectedError: Error | undefined = undefined; 310 | await undoManager.add(ThrowErrorAsyncRedo); 311 | await undoManager.undo(); 312 | expect(modifiedValue).to.be.equal(-1); 313 | try { 314 | await undoManager.redo(); 315 | } catch (e) { 316 | expectedError = e as Error; 317 | } 318 | expect(expectedError).to.be.not.undefined; 319 | 320 | if (!expectedError) { 321 | throw new Error('expected error to be thrown'); 322 | } 323 | expect(expectedError.message).to.be.equal('Async error in redo'); 324 | }); 325 | }); 326 | -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- 1 | export type MaybePromise = T | Promise; 2 | 3 | /** 4 | * The object stored in the undoRedo stack. 5 | */ 6 | type Entry = { 7 | groupID: number | undefined; 8 | undo: () => MaybePromise; 9 | redo: () => MaybePromise; 10 | }; 11 | 12 | /** 13 | * A type of object that can be added to the undoRedo stack. 14 | * If this type of object is added, the execute function will be called after added to the stack. 15 | * The redo field will be assumed to be the same as execute. 16 | */ 17 | export type ExecuteUndo = { 18 | execute: () => MaybePromise; 19 | undo: () => MaybePromise; 20 | }; 21 | 22 | /** 23 | * A type of object that can be added to the undoRedo stack. 24 | */ 25 | export type UndoRedo = { 26 | undo: () => MaybePromise; 27 | redo: () => MaybePromise; 28 | }; 29 | 30 | /** 31 | * Types of object that can be added to the undoRedo stack. (UndoRedo | ExecuteUndo) 32 | */ 33 | export type AddOptions = UndoRedo | ExecuteUndo; 34 | 35 | /** 36 | * Type of function that will be called on an UndoRedoStatckState change. 37 | */ 38 | export type OnChangeHandlerType = 39 | | ((undoRedoStackState: UndoRedoStackState) => void) 40 | | undefined; 41 | /** 42 | * State object that holds the canUndo and canRedo properties passed to the onChange event listener. 43 | */ 44 | export type UndoRedoStackState = { 45 | canUndo: boolean; 46 | canRedo: boolean; 47 | }; 48 | 49 | /** 50 | * The arguments interface for the constructor of UndoManager. 51 | * @param maxSize The maximum number of entries in the stack. Default is 10000. 52 | * @param onChange A callback function to be called when the UndoRedoStackState values change. 53 | */ 54 | interface UndoManagerOption { 55 | maxSize?: number; 56 | onChange?: (undoRedoStackState: UndoRedoStackState) => void; 57 | } 58 | 59 | export class UndoManager { 60 | /** 61 | * The list of entries stored in history. 62 | */ 63 | private _undoRedoStack: Array = []; 64 | private readonly _maxSize: number; 65 | // State that tells you if the UndoManager is currently grouping entries. 66 | private _isGrouping = false; 67 | private _lastGroupID = 0; 68 | 69 | // Pointer that keeps track of our current position in the undoRedo stack. 70 | private _index = -1; 71 | 72 | // keep track of previous stack state 73 | private _prevUndoRedoStackState: UndoRedoStackState = { 74 | canUndo: this.canUndo, 75 | canRedo: this.canRedo, 76 | }; 77 | 78 | private _onChange: OnChangeHandlerType = undefined; 79 | 80 | /** 81 | * Constructor for UndoManager 82 | * @param options The options for UndoManager can take a maxSize and onChange callback. 83 | * @example 84 | * const undoManager = new UndoManager({ 10, () => { 85 | * console.log('undo manager changed'); 86 | * }}); 87 | */ 88 | constructor(options: UndoManagerOption = {}) { 89 | const {maxSize = 10_000, onChange} = options; 90 | this._maxSize = maxSize; 91 | if (onChange) { 92 | this._onChange = onChange; 93 | } 94 | } 95 | 96 | /** 97 | * Updates the current pointer (idx) to the undoRedo stack. 98 | * @param idx The index to update to 99 | */ 100 | private _updateIndex(idx: number): void { 101 | this._index = idx; 102 | 103 | const currUndoRedoStackState: UndoRedoStackState = { 104 | canUndo: this.canUndo, 105 | canRedo: this.canRedo, 106 | }; 107 | 108 | // If the stack state has changed, call the onChange callback and update the previous state. 109 | if ( 110 | this._prevUndoRedoStackState.canRedo !== currUndoRedoStackState.canRedo || 111 | this._prevUndoRedoStackState.canUndo !== currUndoRedoStackState.canUndo 112 | ) { 113 | this._onChange?.(currUndoRedoStackState); 114 | this._prevUndoRedoStackState = currUndoRedoStackState; 115 | } 116 | } 117 | 118 | /** 119 | * Determines if a user can perform the undo operation on the undoRedo stack. 120 | */ 121 | get canUndo(): boolean { 122 | return this._index >= 0; 123 | } 124 | 125 | /** 126 | * Determines if a user can perform the redo operation on the undoRedo stack. 127 | */ 128 | get canRedo(): boolean { 129 | return this._index < this._undoRedoStack.length - 1; 130 | } 131 | 132 | /** 133 | * Adds an entry to the undoRedo stack. 134 | * @param options The object can be an UndoRedo or ExecuteUndo object. 135 | */ 136 | async add(options: AddOptions) { 137 | this._undoRedoStack.splice(this._index + 1); 138 | const {undo} = options; 139 | const {execute} = options as Partial; 140 | const {redo = execute} = options as Partial; 141 | 142 | // Conditional is here because complier can't determine that redo is always available. 143 | if (redo) { 144 | this._undoRedoStack.push({ 145 | groupID: this._isGrouping ? this._lastGroupID : undefined, 146 | undo, 147 | redo, 148 | }); 149 | } 150 | this._updateIndex(this._index + 1); 151 | if (this._index >= this._maxSize) { 152 | this._undoRedoStack.shift(); 153 | this._updateIndex(this._index - 1); 154 | } 155 | if (execute) { 156 | await execute(); 157 | } 158 | } 159 | 160 | /** 161 | * Executes the undo function of the current entry in the undoRedo stack. 162 | * If the current entry has groupID it will check the upcoming undo entry. 163 | * If the upcoming undo entry also has the same `groupID` the function will recursively call undo 164 | * until it runs into a entry that has has a different `groupID` or is `undefined`. 165 | */ 166 | async undo() { 167 | if (!this.canUndo) { 168 | return; 169 | } 170 | const entry = this._undoRedoStack[this._index]; 171 | this._updateIndex(this._index - 1); 172 | const nextEntry = this._undoRedoStack[this._index]; 173 | await entry.undo(); 174 | //if current entry is isGroup and next entry isGroup then undo the next entry 175 | if ( 176 | entry.groupID !== undefined && 177 | nextEntry && 178 | nextEntry.groupID === entry.groupID 179 | ) { 180 | await this.undo(); 181 | } 182 | } 183 | 184 | /** 185 | * Executes the redo function of the current entry in the undoRedo stack. 186 | * If the current entry has a groupID it will check the upcoming redo entry. 187 | * If the upcoming redo entry also has the same `groupID` the function will recursively call redo 188 | * until it runs into a entry that has has a different `groupID` or is `undefined`. 189 | */ 190 | async redo() { 191 | if (!this.canRedo) { 192 | return; 193 | } 194 | const entry = this._undoRedoStack[this._index + 1]; 195 | this._updateIndex(this._index + 1); 196 | const nextEntry = this._undoRedoStack[this._index + 1]; 197 | await entry.redo(); 198 | //if current entry is isGroup and next entry isGroup then undo the next entry 199 | if ( 200 | entry.groupID !== undefined && 201 | nextEntry && 202 | nextEntry.groupID === entry.groupID 203 | ) { 204 | await this.redo(); 205 | } 206 | } 207 | 208 | /** 209 | * Sets the undo manager to mark all subsequent added entries `groupID` to internal `lastGroupID` 210 | */ 211 | startGroup() { 212 | if (this._isGrouping) { 213 | throw new Error('UndoManager is already grouping.'); 214 | } 215 | this._isGrouping = true; 216 | this._lastGroupID = this._lastGroupID + 1; 217 | } 218 | 219 | /** 220 | * Sets the undo manager to mark all subsequent added entries `groupID` to `undefined` 221 | */ 222 | endGroup() { 223 | this._isGrouping = false; 224 | } 225 | } 226 | -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "target": "ES2020", 4 | "module": "ES2020", 5 | 6 | "strict": true, 7 | "noUnusedLocals": true, 8 | "noUnusedParameters": true, 9 | "noImplicitReturns": true, 10 | "noFallthroughCasesInSwitch": true, 11 | "esModuleInterop": true, 12 | 13 | "importsNotUsedAsValues": "error", 14 | 15 | "declaration": true, 16 | "forceConsistentCasingInFileNames": true, 17 | "moduleResolution": "node", 18 | "outDir": "out", 19 | "allowJs": true, 20 | // esnext for Object.fromEntries 21 | "lib": ["dom", "esnext"], 22 | "preserveSymlinks": true 23 | }, 24 | "include": ["src/**/*.ts"], 25 | "exclude": ["node_modules", "out/**/*", "out.cjs/**/*"] 26 | } 27 | -------------------------------------------------------------------------------- /web-test-runner.config.cjs: -------------------------------------------------------------------------------- 1 | process.env.NODE_ENV = 'test'; 2 | 3 | /** @type {import('@web/test-runner').TestRunnerConfig} */ 4 | const config = { 5 | plugins: [require('@snowpack/web-test-runner-plugin')()], 6 | testFramework: { 7 | config: { 8 | ui: 'tdd', 9 | }, 10 | }, 11 | }; 12 | 13 | module.exports = config; 14 | --------------------------------------------------------------------------------