├── .editorconfig ├── .eslintrc.json ├── .github └── workflows │ └── ci.yml ├── .gitignore ├── CONTRIBUTING.md ├── HISTORY.md ├── LICENSE ├── README.md ├── code-of-conduct.md ├── index.js ├── package-lock.json ├── package.json └── test ├── .eslintrc.json └── test.js /.editorconfig: -------------------------------------------------------------------------------- 1 | root = true 2 | 3 | [*] 4 | indent_style = space 5 | indent_size = 2 6 | trim_trailing_whitespace = true 7 | insert_final_newline = true 8 | -------------------------------------------------------------------------------- /.eslintrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "qubyte/ES2018-module" 3 | } 4 | -------------------------------------------------------------------------------- /.github/workflows/ci.yml: -------------------------------------------------------------------------------- 1 | name: CI 2 | on: 3 | pull_request: 4 | branches: 5 | - main 6 | push: 7 | branches: 8 | - main 9 | jobs: 10 | test: 11 | runs-on: ubuntu-latest 12 | strategy: 13 | matrix: 14 | node: [18, 20, 22] 15 | steps: 16 | - name: checkout 17 | uses: actions/checkout@main 18 | - name: use node ${{ matrix.node }} 19 | uses: actions/setup-node@v3 20 | with: 21 | node-version: ${{ matrix.node }} 22 | - run: npm test 23 | lint: 24 | runs-on: ubuntu-latest 25 | steps: 26 | - name: checkout 27 | uses: actions/checkout@main 28 | - name: use node 22 29 | uses: actions/setup-node@v3 30 | with: 31 | node-version: 22.x 32 | - run: npm ci 33 | - run: npm run lint 34 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | # Contributing 2 | 3 | Please review the [code of conduct]('code-of-conduct.md') before opening issues 4 | or pull requests. 5 | -------------------------------------------------------------------------------- /HISTORY.md: -------------------------------------------------------------------------------- 1 | # History 2 | 3 | ## v5.0.0 4 | 5 | Drops support for Node 14. 6 | 7 | ## v4.0.1 8 | 9 | Adds an export map. 10 | 11 | ## v4.0.0 12 | 13 | Drop support for UMD modules and Node 10. Use v3 if you still need that 14 | functionality (this module is otherwise unchanged). In the past this would have 15 | had an impact on Node.js projects, but Node (since v12) now has good support for 16 | ES modules. 17 | 18 | ## v3.0.0 19 | 20 | Mixins will now consider an object an instance of themselves if the object or 21 | any member the prototype chain of the object has had the mixin applied to it. 22 | 23 | ## v2.0.0 24 | 25 | Now implemented as a function which returns a function rather than as a class. 26 | 27 | ## v1.0.0 28 | 29 | Initial release. 30 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2021 Mark S. Everitt 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # mixomatic 2 | 3 | Create mixins which work with `instanceof` (friendly for unit tests). Internally 4 | references are handled by a `WeakSet` instances so there's no need to manually 5 | keep records of which objects have been mixed onto and risk memory leaks. 6 | 7 | ## Install 8 | 9 | With `npm`: 10 | ``` 11 | npm install --save mixomatic 12 | ``` 13 | 14 | With `yarn`: 15 | ``` 16 | yarn add mixomatic 17 | ``` 18 | 19 | Or alternatively, in a browser or deno you can use it directly in a page via 20 | [unpkg][0] as a module (not recommended for production use): 21 | ```javascript 22 | import mixomatic from 'https://unpkg.com/mixomatic'; 23 | ``` 24 | 25 | ## Usage 26 | 27 | Make a new mixin which appends [`propertyDescriptors`][1] to an object. 28 | ```javascript 29 | import mixomatic from 'mixomatic'; 30 | 31 | const myMixin = mixomatic(propertyDescriptors); 32 | ``` 33 | 34 | Mix onto an object. 35 | ```javascript 36 | const obj = {}; 37 | 38 | myMixin(obj); 39 | ``` 40 | 41 | Check if an object has been modified by a given mixin: 42 | 43 | ```javascript 44 | obj instanceof myMixin; // true 45 | ``` 46 | 47 | Also works with classes! 48 | 49 | ```javascript 50 | class MyClass {} 51 | 52 | myMixin(MyClass.prototype); 53 | 54 | const obj = new MyClass(); 55 | 56 | obj instanceof MyClass; // true 57 | obj instanceof myMixin; // true 58 | ``` 59 | 60 | And inheritance! 61 | 62 | ```javascript 63 | class MyChildClass extends MyClass {} 64 | 65 | const obj = new MyChildClass(); 66 | 67 | obj instanceof MyChildClass; // true 68 | obj instanceof MyClass; // true 69 | obj instanceof myMixin; // true 70 | ``` 71 | 72 | ## Example 73 | 74 | You're making a game with a little ship which shoots space-bound rocks before 75 | they can bash into it. Both the ship and the rocks have position and velocity 76 | properties. You _could_ make a class, which provides a `move` method, which they 77 | would both inherit from. However, that could be the beginning of a class 78 | hierarchy and you've heard bad things about those being hard to modify in the 79 | future. JavaScript also has no way to do multiple inheritance with classes, so 80 | your options are limited with classes anyway. 81 | 82 | Instead you make the wise choice to use `mixomatic`! You use mixomatic to create 83 | a mixin called `movable`, which takes a time difference and uses it to update 84 | the position of its host object. 85 | 86 | ```javascript 87 | const movable = mixomatic({ 88 | move: { 89 | value(dt) { 90 | this.position.x += dt * this.velocity.x; 91 | this.position.y += dt * this.velocity.y; 92 | }, 93 | configurable: true, 94 | enumerable: false, 95 | writable: true 96 | } 97 | }); 98 | ``` 99 | 100 | Since there'll only be one ship, you define it directly as an object and apply 101 | `movable` to it to give it the `move` method. 102 | 103 | ```javascript 104 | const ship = { 105 | position: { x: 0, y: 0 }, 106 | velocity: { x: 0, y: 0 } 107 | }; 108 | 109 | movable(ship); 110 | ``` 111 | 112 | Asteroids are more numerous and can appear in all sorts of places, so you decide 113 | to go with a class for those. 114 | 115 | ```javascript 116 | class Asteroid { 117 | constructor(position, velocity) { 118 | this.position = { x: position.x, y: position.y }; 119 | this.velocity = { x: velocity.x, y: velocity.y }; 120 | } 121 | } 122 | 123 | movable(Asteroid.prototype); 124 | ``` 125 | 126 | Now both `ship` and `Asteroid` instances will have the `move` method, and will 127 | both appear to be instances of `movable`, yet are not part of the same class 128 | hierarchy. All sorts of behaviour can be written as mixins (for example, the 129 | ship can fire missiles, and so can UFOs). 130 | 131 | This is useful because mixins can be tested in isolation, and you can avoid 132 | duplication of tests for mixed properties by using an `instanceof` check in the 133 | test suites of host objects like `ship` and `Asteroid`. 134 | 135 | [0]: https://unpkg.com/ 136 | [1]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/defineProperties 137 | -------------------------------------------------------------------------------- /code-of-conduct.md: -------------------------------------------------------------------------------- 1 | # Contributor Covenant Code of Conduct 2 | 3 | ## Our Pledge 4 | 5 | In the interest of fostering an open and welcoming environment, we as 6 | contributors and maintainers pledge to making participation in our project and 7 | our community a harassment-free experience for everyone, regardless of age, body 8 | size, disability, ethnicity, gender identity and expression, level of experience, 9 | nationality, personal appearance, race, religion, or sexual identity and 10 | orientation. 11 | 12 | ## Our Standards 13 | 14 | Examples of behavior that contributes to creating a positive environment 15 | include: 16 | 17 | * Using welcoming and inclusive language 18 | * Being respectful of differing viewpoints and experiences 19 | * Gracefully accepting constructive criticism 20 | * Focusing on what is best for the community 21 | * Showing empathy towards other community members 22 | 23 | Examples of unacceptable behavior by participants include: 24 | 25 | * The use of sexualized language or imagery and unwelcome sexual attention or 26 | advances 27 | * Trolling, insulting/derogatory comments, and personal or political attacks 28 | * Public or private harassment 29 | * Publishing others' private information, such as a physical or electronic 30 | address, without explicit permission 31 | * Other conduct which could reasonably be considered inappropriate in a 32 | professional setting 33 | 34 | ## Our Responsibilities 35 | 36 | Project maintainers are responsible for clarifying the standards of acceptable 37 | behavior and are expected to take appropriate and fair corrective action in 38 | response to any instances of unacceptable behavior. 39 | 40 | Project maintainers have the right and responsibility to remove, edit, or 41 | reject comments, commits, code, wiki edits, issues, and other contributions 42 | that are not aligned to this Code of Conduct, or to ban temporarily or 43 | permanently any contributor for other behaviors that they deem inappropriate, 44 | threatening, offensive, or harmful. 45 | 46 | ## Scope 47 | 48 | This Code of Conduct applies both within project spaces and in public spaces 49 | when an individual is representing the project or its community. Examples of 50 | representing a project or community include using an official project e-mail 51 | address, posting via an official social media account, or acting as an appointed 52 | representative at an online or offline event. Representation of a project may be 53 | further defined and clarified by project maintainers. 54 | 55 | ## Enforcement 56 | 57 | Instances of abusive, harassing, or otherwise unacceptable behavior may be 58 | reported by contacting the project team at mark.s.everitt+contributor-covenant@gmail.com. All 59 | complaints will be reviewed and investigated and will result in a response that 60 | is deemed necessary and appropriate to the circumstances. The project team is 61 | obligated to maintain confidentiality with regard to the reporter of an incident. 62 | Further details of specific enforcement policies may be posted separately. 63 | 64 | Project maintainers who do not follow or enforce the Code of Conduct in good 65 | faith may face temporary or permanent repercussions as determined by other 66 | members of the project's leadership. 67 | 68 | ## Attribution 69 | 70 | This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, 71 | available at [http://contributor-covenant.org/version/1/4][version] 72 | 73 | [homepage]: http://contributor-covenant.org 74 | [version]: http://contributor-covenant.org/version/1/4/ 75 | -------------------------------------------------------------------------------- /index.js: -------------------------------------------------------------------------------- 1 | export default function createMixin(propertyDescriptors) { 2 | const mixed = new WeakSet(); 3 | 4 | function mixin(obj) { 5 | Object.defineProperties(obj, propertyDescriptors); 6 | mixed.add(obj); 7 | return obj; 8 | } 9 | 10 | function checkInstance(obj) { 11 | for (let o = obj; o; o = Object.getPrototypeOf(o)) { 12 | if (mixed.has(o)) { 13 | return true; 14 | } 15 | } 16 | } 17 | 18 | Object.defineProperty(mixin, Symbol.hasInstance, { value: checkInstance }); 19 | 20 | return mixin; 21 | } 22 | -------------------------------------------------------------------------------- /package-lock.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "mixomatic", 3 | "version": "5.0.0", 4 | "lockfileVersion": 2, 5 | "requires": true, 6 | "packages": { 7 | "": { 8 | "name": "mixomatic", 9 | "version": "5.0.0", 10 | "license": "MIT", 11 | "devDependencies": { 12 | "eslint": "^8.28.0", 13 | "eslint-config-qubyte": "^5.0.0" 14 | } 15 | }, 16 | "node_modules/@eslint/eslintrc": { 17 | "version": "1.3.3", 18 | "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-1.3.3.tgz", 19 | "integrity": "sha512-uj3pT6Mg+3t39fvLrj8iuCIJ38zKO9FpGtJ4BBJebJhEwjoT+KLVNCcHT5QC9NGRIEi7fZ0ZR8YRb884auB4Lg==", 20 | "dev": true, 21 | "dependencies": { 22 | "ajv": "^6.12.4", 23 | "debug": "^4.3.2", 24 | "espree": "^9.4.0", 25 | "globals": "^13.15.0", 26 | "ignore": "^5.2.0", 27 | "import-fresh": "^3.2.1", 28 | "js-yaml": "^4.1.0", 29 | "minimatch": "^3.1.2", 30 | "strip-json-comments": "^3.1.1" 31 | }, 32 | "engines": { 33 | "node": "^12.22.0 || ^14.17.0 || >=16.0.0" 34 | }, 35 | "funding": { 36 | "url": "https://opencollective.com/eslint" 37 | } 38 | }, 39 | "node_modules/@humanwhocodes/config-array": { 40 | "version": "0.11.7", 41 | "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.11.7.tgz", 42 | "integrity": "sha512-kBbPWzN8oVMLb0hOUYXhmxggL/1cJE6ydvjDIGi9EnAGUyA7cLVKQg+d/Dsm+KZwx2czGHrCmMVLiyg8s5JPKw==", 43 | "dev": true, 44 | "dependencies": { 45 | "@humanwhocodes/object-schema": "^1.2.1", 46 | "debug": "^4.1.1", 47 | "minimatch": "^3.0.5" 48 | }, 49 | "engines": { 50 | "node": ">=10.10.0" 51 | } 52 | }, 53 | "node_modules/@humanwhocodes/module-importer": { 54 | "version": "1.0.1", 55 | "resolved": "https://registry.npmjs.org/@humanwhocodes/module-importer/-/module-importer-1.0.1.tgz", 56 | "integrity": "sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA==", 57 | "dev": true, 58 | "engines": { 59 | "node": ">=12.22" 60 | }, 61 | "funding": { 62 | "type": "github", 63 | "url": "https://github.com/sponsors/nzakas" 64 | } 65 | }, 66 | "node_modules/@humanwhocodes/object-schema": { 67 | "version": "1.2.1", 68 | "resolved": "https://registry.npmjs.org/@humanwhocodes/object-schema/-/object-schema-1.2.1.tgz", 69 | "integrity": "sha512-ZnQMnLV4e7hDlUvw8H+U8ASL02SS2Gn6+9Ac3wGGLIe7+je2AeAOxPY+izIPJDfFDb7eDjev0Us8MO1iFRN8hA==", 70 | "dev": true 71 | }, 72 | "node_modules/@nodelib/fs.scandir": { 73 | "version": "2.1.5", 74 | "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz", 75 | "integrity": "sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==", 76 | "dev": true, 77 | "dependencies": { 78 | "@nodelib/fs.stat": "2.0.5", 79 | "run-parallel": "^1.1.9" 80 | }, 81 | "engines": { 82 | "node": ">= 8" 83 | } 84 | }, 85 | "node_modules/@nodelib/fs.stat": { 86 | "version": "2.0.5", 87 | "resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz", 88 | "integrity": "sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==", 89 | "dev": true, 90 | "engines": { 91 | "node": ">= 8" 92 | } 93 | }, 94 | "node_modules/@nodelib/fs.walk": { 95 | "version": "1.2.8", 96 | "resolved": "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz", 97 | "integrity": "sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==", 98 | "dev": true, 99 | "dependencies": { 100 | "@nodelib/fs.scandir": "2.1.5", 101 | "fastq": "^1.6.0" 102 | }, 103 | "engines": { 104 | "node": ">= 8" 105 | } 106 | }, 107 | "node_modules/acorn": { 108 | "version": "8.8.1", 109 | "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.8.1.tgz", 110 | "integrity": "sha512-7zFpHzhnqYKrkYdUjF1HI1bzd0VygEGX8lFk4k5zVMqHEoES+P+7TKI+EvLO9WVMJ8eekdO0aDEK044xTXwPPA==", 111 | "dev": true, 112 | "bin": { 113 | "acorn": "bin/acorn" 114 | }, 115 | "engines": { 116 | "node": ">=0.4.0" 117 | } 118 | }, 119 | "node_modules/acorn-jsx": { 120 | "version": "5.3.2", 121 | "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.3.2.tgz", 122 | "integrity": "sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==", 123 | "dev": true, 124 | "peerDependencies": { 125 | "acorn": "^6.0.0 || ^7.0.0 || ^8.0.0" 126 | } 127 | }, 128 | "node_modules/ajv": { 129 | "version": "6.12.6", 130 | "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", 131 | "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", 132 | "dev": true, 133 | "dependencies": { 134 | "fast-deep-equal": "^3.1.1", 135 | "fast-json-stable-stringify": "^2.0.0", 136 | "json-schema-traverse": "^0.4.1", 137 | "uri-js": "^4.2.2" 138 | }, 139 | "funding": { 140 | "type": "github", 141 | "url": "https://github.com/sponsors/epoberezkin" 142 | } 143 | }, 144 | "node_modules/ansi-regex": { 145 | "version": "5.0.1", 146 | "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", 147 | "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", 148 | "dev": true, 149 | "engines": { 150 | "node": ">=8" 151 | } 152 | }, 153 | "node_modules/ansi-styles": { 154 | "version": "4.3.0", 155 | "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", 156 | "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", 157 | "dev": true, 158 | "dependencies": { 159 | "color-convert": "^2.0.1" 160 | }, 161 | "engines": { 162 | "node": ">=8" 163 | }, 164 | "funding": { 165 | "url": "https://github.com/chalk/ansi-styles?sponsor=1" 166 | } 167 | }, 168 | "node_modules/argparse": { 169 | "version": "2.0.1", 170 | "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", 171 | "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==", 172 | "dev": true 173 | }, 174 | "node_modules/balanced-match": { 175 | "version": "1.0.0", 176 | "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz", 177 | "integrity": "sha1-ibTRmasr7kneFk6gK4nORi1xt2c=", 178 | "dev": true 179 | }, 180 | "node_modules/brace-expansion": { 181 | "version": "1.1.11", 182 | "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", 183 | "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", 184 | "dev": true, 185 | "dependencies": { 186 | "balanced-match": "^1.0.0", 187 | "concat-map": "0.0.1" 188 | } 189 | }, 190 | "node_modules/callsites": { 191 | "version": "3.1.0", 192 | "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz", 193 | "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==", 194 | "dev": true, 195 | "engines": { 196 | "node": ">=6" 197 | } 198 | }, 199 | "node_modules/chalk": { 200 | "version": "4.1.0", 201 | "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.0.tgz", 202 | "integrity": "sha512-qwx12AxXe2Q5xQ43Ac//I6v5aXTipYrSESdOgzrN+9XjgEpyjpKuvSGaN4qE93f7TQTlerQQ8S+EQ0EyDoVL1A==", 203 | "dev": true, 204 | "dependencies": { 205 | "ansi-styles": "^4.1.0", 206 | "supports-color": "^7.1.0" 207 | }, 208 | "engines": { 209 | "node": ">=10" 210 | }, 211 | "funding": { 212 | "url": "https://github.com/chalk/chalk?sponsor=1" 213 | } 214 | }, 215 | "node_modules/color-convert": { 216 | "version": "2.0.1", 217 | "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", 218 | "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", 219 | "dev": true, 220 | "dependencies": { 221 | "color-name": "~1.1.4" 222 | }, 223 | "engines": { 224 | "node": ">=7.0.0" 225 | } 226 | }, 227 | "node_modules/color-name": { 228 | "version": "1.1.4", 229 | "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", 230 | "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", 231 | "dev": true 232 | }, 233 | "node_modules/concat-map": { 234 | "version": "0.0.1", 235 | "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", 236 | "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=", 237 | "dev": true 238 | }, 239 | "node_modules/cross-spawn": { 240 | "version": "7.0.3", 241 | "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz", 242 | "integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==", 243 | "dev": true, 244 | "dependencies": { 245 | "path-key": "^3.1.0", 246 | "shebang-command": "^2.0.0", 247 | "which": "^2.0.1" 248 | }, 249 | "engines": { 250 | "node": ">= 8" 251 | } 252 | }, 253 | "node_modules/debug": { 254 | "version": "4.3.4", 255 | "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", 256 | "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", 257 | "dev": true, 258 | "dependencies": { 259 | "ms": "2.1.2" 260 | }, 261 | "engines": { 262 | "node": ">=6.0" 263 | }, 264 | "peerDependenciesMeta": { 265 | "supports-color": { 266 | "optional": true 267 | } 268 | } 269 | }, 270 | "node_modules/deep-is": { 271 | "version": "0.1.3", 272 | "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.3.tgz", 273 | "integrity": "sha1-s2nW+128E+7PUk+RsHD+7cNXzzQ=", 274 | "dev": true 275 | }, 276 | "node_modules/doctrine": { 277 | "version": "3.0.0", 278 | "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-3.0.0.tgz", 279 | "integrity": "sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w==", 280 | "dev": true, 281 | "dependencies": { 282 | "esutils": "^2.0.2" 283 | }, 284 | "engines": { 285 | "node": ">=6.0.0" 286 | } 287 | }, 288 | "node_modules/escape-string-regexp": { 289 | "version": "4.0.0", 290 | "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz", 291 | "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==", 292 | "dev": true, 293 | "engines": { 294 | "node": ">=10" 295 | }, 296 | "funding": { 297 | "url": "https://github.com/sponsors/sindresorhus" 298 | } 299 | }, 300 | "node_modules/eslint": { 301 | "version": "8.28.0", 302 | "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.28.0.tgz", 303 | "integrity": "sha512-S27Di+EVyMxcHiwDrFzk8dJYAaD+/5SoWKxL1ri/71CRHsnJnRDPNt2Kzj24+MT9FDupf4aqqyqPrvI8MvQ4VQ==", 304 | "dev": true, 305 | "dependencies": { 306 | "@eslint/eslintrc": "^1.3.3", 307 | "@humanwhocodes/config-array": "^0.11.6", 308 | "@humanwhocodes/module-importer": "^1.0.1", 309 | "@nodelib/fs.walk": "^1.2.8", 310 | "ajv": "^6.10.0", 311 | "chalk": "^4.0.0", 312 | "cross-spawn": "^7.0.2", 313 | "debug": "^4.3.2", 314 | "doctrine": "^3.0.0", 315 | "escape-string-regexp": "^4.0.0", 316 | "eslint-scope": "^7.1.1", 317 | "eslint-utils": "^3.0.0", 318 | "eslint-visitor-keys": "^3.3.0", 319 | "espree": "^9.4.0", 320 | "esquery": "^1.4.0", 321 | "esutils": "^2.0.2", 322 | "fast-deep-equal": "^3.1.3", 323 | "file-entry-cache": "^6.0.1", 324 | "find-up": "^5.0.0", 325 | "glob-parent": "^6.0.2", 326 | "globals": "^13.15.0", 327 | "grapheme-splitter": "^1.0.4", 328 | "ignore": "^5.2.0", 329 | "import-fresh": "^3.0.0", 330 | "imurmurhash": "^0.1.4", 331 | "is-glob": "^4.0.0", 332 | "is-path-inside": "^3.0.3", 333 | "js-sdsl": "^4.1.4", 334 | "js-yaml": "^4.1.0", 335 | "json-stable-stringify-without-jsonify": "^1.0.1", 336 | "levn": "^0.4.1", 337 | "lodash.merge": "^4.6.2", 338 | "minimatch": "^3.1.2", 339 | "natural-compare": "^1.4.0", 340 | "optionator": "^0.9.1", 341 | "regexpp": "^3.2.0", 342 | "strip-ansi": "^6.0.1", 343 | "strip-json-comments": "^3.1.0", 344 | "text-table": "^0.2.0" 345 | }, 346 | "bin": { 347 | "eslint": "bin/eslint.js" 348 | }, 349 | "engines": { 350 | "node": "^12.22.0 || ^14.17.0 || >=16.0.0" 351 | }, 352 | "funding": { 353 | "url": "https://opencollective.com/eslint" 354 | } 355 | }, 356 | "node_modules/eslint-config-qubyte": { 357 | "version": "5.0.0", 358 | "resolved": "https://registry.npmjs.org/eslint-config-qubyte/-/eslint-config-qubyte-5.0.0.tgz", 359 | "integrity": "sha512-lOMBhIKUKbSdBVvBOks9kYlHNltedjgD0ZHnUp8qfnKxLFgZh50Jn0wgVfsGqjTRkYFEK3a0GgsRajrDJb4Slg==", 360 | "dev": true 361 | }, 362 | "node_modules/eslint-scope": { 363 | "version": "7.1.1", 364 | "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-7.1.1.tgz", 365 | "integrity": "sha512-QKQM/UXpIiHcLqJ5AOyIW7XZmzjkzQXYE54n1++wb0u9V/abW3l9uQnxX8Z5Xd18xyKIMTUAyQ0k1e8pz6LUrw==", 366 | "dev": true, 367 | "dependencies": { 368 | "esrecurse": "^4.3.0", 369 | "estraverse": "^5.2.0" 370 | }, 371 | "engines": { 372 | "node": "^12.22.0 || ^14.17.0 || >=16.0.0" 373 | } 374 | }, 375 | "node_modules/eslint-utils": { 376 | "version": "3.0.0", 377 | "resolved": "https://registry.npmjs.org/eslint-utils/-/eslint-utils-3.0.0.tgz", 378 | "integrity": "sha512-uuQC43IGctw68pJA1RgbQS8/NP7rch6Cwd4j3ZBtgo4/8Flj4eGE7ZYSZRN3iq5pVUv6GPdW5Z1RFleo84uLDA==", 379 | "dev": true, 380 | "dependencies": { 381 | "eslint-visitor-keys": "^2.0.0" 382 | }, 383 | "engines": { 384 | "node": "^10.0.0 || ^12.0.0 || >= 14.0.0" 385 | }, 386 | "funding": { 387 | "url": "https://github.com/sponsors/mysticatea" 388 | }, 389 | "peerDependencies": { 390 | "eslint": ">=5" 391 | } 392 | }, 393 | "node_modules/eslint-utils/node_modules/eslint-visitor-keys": { 394 | "version": "2.1.0", 395 | "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-2.1.0.tgz", 396 | "integrity": "sha512-0rSmRBzXgDzIsD6mGdJgevzgezI534Cer5L/vyMX0kHzT/jiB43jRhd9YUlMGYLQy2zprNmoT8qasCGtY+QaKw==", 397 | "dev": true, 398 | "engines": { 399 | "node": ">=10" 400 | } 401 | }, 402 | "node_modules/eslint-visitor-keys": { 403 | "version": "3.3.0", 404 | "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.3.0.tgz", 405 | "integrity": "sha512-mQ+suqKJVyeuwGYHAdjMFqjCyfl8+Ldnxuyp3ldiMBFKkvytrXUZWaiPCEav8qDHKty44bD+qV1IP4T+w+xXRA==", 406 | "dev": true, 407 | "engines": { 408 | "node": "^12.22.0 || ^14.17.0 || >=16.0.0" 409 | } 410 | }, 411 | "node_modules/espree": { 412 | "version": "9.4.1", 413 | "resolved": "https://registry.npmjs.org/espree/-/espree-9.4.1.tgz", 414 | "integrity": "sha512-XwctdmTO6SIvCzd9810yyNzIrOrqNYV9Koizx4C/mRhf9uq0o4yHoCEU/670pOxOL/MSraektvSAji79kX90Vg==", 415 | "dev": true, 416 | "dependencies": { 417 | "acorn": "^8.8.0", 418 | "acorn-jsx": "^5.3.2", 419 | "eslint-visitor-keys": "^3.3.0" 420 | }, 421 | "engines": { 422 | "node": "^12.22.0 || ^14.17.0 || >=16.0.0" 423 | }, 424 | "funding": { 425 | "url": "https://opencollective.com/eslint" 426 | } 427 | }, 428 | "node_modules/esquery": { 429 | "version": "1.4.0", 430 | "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.4.0.tgz", 431 | "integrity": "sha512-cCDispWt5vHHtwMY2YrAQ4ibFkAL8RbH5YGBnZBc90MolvvfkkQcJro/aZiAQUlQ3qgrYS6D6v8Gc5G5CQsc9w==", 432 | "dev": true, 433 | "dependencies": { 434 | "estraverse": "^5.1.0" 435 | }, 436 | "engines": { 437 | "node": ">=0.10" 438 | } 439 | }, 440 | "node_modules/esrecurse": { 441 | "version": "4.3.0", 442 | "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.3.0.tgz", 443 | "integrity": "sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==", 444 | "dev": true, 445 | "dependencies": { 446 | "estraverse": "^5.2.0" 447 | }, 448 | "engines": { 449 | "node": ">=4.0" 450 | } 451 | }, 452 | "node_modules/estraverse": { 453 | "version": "5.3.0", 454 | "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", 455 | "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", 456 | "dev": true, 457 | "engines": { 458 | "node": ">=4.0" 459 | } 460 | }, 461 | "node_modules/esutils": { 462 | "version": "2.0.3", 463 | "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz", 464 | "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==", 465 | "dev": true, 466 | "engines": { 467 | "node": ">=0.10.0" 468 | } 469 | }, 470 | "node_modules/fast-deep-equal": { 471 | "version": "3.1.3", 472 | "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", 473 | "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==", 474 | "dev": true 475 | }, 476 | "node_modules/fast-json-stable-stringify": { 477 | "version": "2.1.0", 478 | "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz", 479 | "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==", 480 | "dev": true 481 | }, 482 | "node_modules/fast-levenshtein": { 483 | "version": "2.0.6", 484 | "resolved": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz", 485 | "integrity": "sha1-PYpcZog6FqMMqGQ+hR8Zuqd5eRc=", 486 | "dev": true 487 | }, 488 | "node_modules/fastq": { 489 | "version": "1.13.0", 490 | "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.13.0.tgz", 491 | "integrity": "sha512-YpkpUnK8od0o1hmeSc7UUs/eB/vIPWJYjKck2QKIzAf71Vm1AAQ3EbuZB3g2JIy+pg+ERD0vqI79KyZiB2e2Nw==", 492 | "dev": true, 493 | "dependencies": { 494 | "reusify": "^1.0.4" 495 | } 496 | }, 497 | "node_modules/file-entry-cache": { 498 | "version": "6.0.1", 499 | "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-6.0.1.tgz", 500 | "integrity": "sha512-7Gps/XWymbLk2QLYK4NzpMOrYjMhdIxXuIvy2QBsLE6ljuodKvdkWs/cpyJJ3CVIVpH0Oi1Hvg1ovbMzLdFBBg==", 501 | "dev": true, 502 | "dependencies": { 503 | "flat-cache": "^3.0.4" 504 | }, 505 | "engines": { 506 | "node": "^10.12.0 || >=12.0.0" 507 | } 508 | }, 509 | "node_modules/find-up": { 510 | "version": "5.0.0", 511 | "resolved": "https://registry.npmjs.org/find-up/-/find-up-5.0.0.tgz", 512 | "integrity": "sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==", 513 | "dev": true, 514 | "dependencies": { 515 | "locate-path": "^6.0.0", 516 | "path-exists": "^4.0.0" 517 | }, 518 | "engines": { 519 | "node": ">=10" 520 | }, 521 | "funding": { 522 | "url": "https://github.com/sponsors/sindresorhus" 523 | } 524 | }, 525 | "node_modules/flat-cache": { 526 | "version": "3.0.4", 527 | "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-3.0.4.tgz", 528 | "integrity": "sha512-dm9s5Pw7Jc0GvMYbshN6zchCA9RgQlzzEZX3vylR9IqFfS8XciblUXOKfW6SiuJ0e13eDYZoZV5wdrev7P3Nwg==", 529 | "dev": true, 530 | "dependencies": { 531 | "flatted": "^3.1.0", 532 | "rimraf": "^3.0.2" 533 | }, 534 | "engines": { 535 | "node": "^10.12.0 || >=12.0.0" 536 | } 537 | }, 538 | "node_modules/flatted": { 539 | "version": "3.1.1", 540 | "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.1.1.tgz", 541 | "integrity": "sha512-zAoAQiudy+r5SvnSw3KJy5os/oRJYHzrzja/tBDqrZtNhUw8bt6y8OBzMWcjWr+8liV8Eb6yOhw8WZ7VFZ5ZzA==", 542 | "dev": true 543 | }, 544 | "node_modules/fs.realpath": { 545 | "version": "1.0.0", 546 | "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", 547 | "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=", 548 | "dev": true 549 | }, 550 | "node_modules/glob": { 551 | "version": "7.2.0", 552 | "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.0.tgz", 553 | "integrity": "sha512-lmLf6gtyrPq8tTjSmrO94wBeQbFR3HbLHbuyD69wuyQkImp2hWqMGB47OX65FBkPffO641IP9jWa1z4ivqG26Q==", 554 | "dev": true, 555 | "dependencies": { 556 | "fs.realpath": "^1.0.0", 557 | "inflight": "^1.0.4", 558 | "inherits": "2", 559 | "minimatch": "^3.0.4", 560 | "once": "^1.3.0", 561 | "path-is-absolute": "^1.0.0" 562 | }, 563 | "engines": { 564 | "node": "*" 565 | }, 566 | "funding": { 567 | "url": "https://github.com/sponsors/isaacs" 568 | } 569 | }, 570 | "node_modules/glob-parent": { 571 | "version": "6.0.2", 572 | "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz", 573 | "integrity": "sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==", 574 | "dev": true, 575 | "dependencies": { 576 | "is-glob": "^4.0.3" 577 | }, 578 | "engines": { 579 | "node": ">=10.13.0" 580 | } 581 | }, 582 | "node_modules/globals": { 583 | "version": "13.18.0", 584 | "resolved": "https://registry.npmjs.org/globals/-/globals-13.18.0.tgz", 585 | "integrity": "sha512-/mR4KI8Ps2spmoc0Ulu9L7agOF0du1CZNQ3dke8yItYlyKNmGrkONemBbd6V8UTc1Wgcqn21t3WYB7dbRmh6/A==", 586 | "dev": true, 587 | "dependencies": { 588 | "type-fest": "^0.20.2" 589 | }, 590 | "engines": { 591 | "node": ">=8" 592 | }, 593 | "funding": { 594 | "url": "https://github.com/sponsors/sindresorhus" 595 | } 596 | }, 597 | "node_modules/grapheme-splitter": { 598 | "version": "1.0.4", 599 | "resolved": "https://registry.npmjs.org/grapheme-splitter/-/grapheme-splitter-1.0.4.tgz", 600 | "integrity": "sha512-bzh50DW9kTPM00T8y4o8vQg89Di9oLJVLW/KaOGIXJWP/iqCN6WKYkbNOF04vFLJhwcpYUh9ydh/+5vpOqV4YQ==", 601 | "dev": true 602 | }, 603 | "node_modules/has-flag": { 604 | "version": "4.0.0", 605 | "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", 606 | "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", 607 | "dev": true, 608 | "engines": { 609 | "node": ">=8" 610 | } 611 | }, 612 | "node_modules/ignore": { 613 | "version": "5.2.0", 614 | "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.2.0.tgz", 615 | "integrity": "sha512-CmxgYGiEPCLhfLnpPp1MoRmifwEIOgjcHXxOBjv7mY96c+eWScsOP9c112ZyLdWHi0FxHjI+4uVhKYp/gcdRmQ==", 616 | "dev": true, 617 | "engines": { 618 | "node": ">= 4" 619 | } 620 | }, 621 | "node_modules/import-fresh": { 622 | "version": "3.3.0", 623 | "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.0.tgz", 624 | "integrity": "sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==", 625 | "dev": true, 626 | "dependencies": { 627 | "parent-module": "^1.0.0", 628 | "resolve-from": "^4.0.0" 629 | }, 630 | "engines": { 631 | "node": ">=6" 632 | }, 633 | "funding": { 634 | "url": "https://github.com/sponsors/sindresorhus" 635 | } 636 | }, 637 | "node_modules/imurmurhash": { 638 | "version": "0.1.4", 639 | "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz", 640 | "integrity": "sha1-khi5srkoojixPcT7a21XbyMUU+o=", 641 | "dev": true, 642 | "engines": { 643 | "node": ">=0.8.19" 644 | } 645 | }, 646 | "node_modules/inflight": { 647 | "version": "1.0.6", 648 | "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", 649 | "integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=", 650 | "dev": true, 651 | "dependencies": { 652 | "once": "^1.3.0", 653 | "wrappy": "1" 654 | } 655 | }, 656 | "node_modules/inherits": { 657 | "version": "2.0.4", 658 | "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", 659 | "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", 660 | "dev": true 661 | }, 662 | "node_modules/is-extglob": { 663 | "version": "2.1.1", 664 | "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", 665 | "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==", 666 | "dev": true, 667 | "engines": { 668 | "node": ">=0.10.0" 669 | } 670 | }, 671 | "node_modules/is-glob": { 672 | "version": "4.0.3", 673 | "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", 674 | "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", 675 | "dev": true, 676 | "dependencies": { 677 | "is-extglob": "^2.1.1" 678 | }, 679 | "engines": { 680 | "node": ">=0.10.0" 681 | } 682 | }, 683 | "node_modules/is-path-inside": { 684 | "version": "3.0.3", 685 | "resolved": "https://registry.npmjs.org/is-path-inside/-/is-path-inside-3.0.3.tgz", 686 | "integrity": "sha512-Fd4gABb+ycGAmKou8eMftCupSir5lRxqf4aD/vd0cD2qc4HL07OjCeuHMr8Ro4CoMaeCKDB0/ECBOVWjTwUvPQ==", 687 | "dev": true, 688 | "engines": { 689 | "node": ">=8" 690 | } 691 | }, 692 | "node_modules/isexe": { 693 | "version": "2.0.0", 694 | "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", 695 | "integrity": "sha1-6PvzdNxVb/iUehDcsFctYz8s+hA=", 696 | "dev": true 697 | }, 698 | "node_modules/js-sdsl": { 699 | "version": "4.2.0", 700 | "resolved": "https://registry.npmjs.org/js-sdsl/-/js-sdsl-4.2.0.tgz", 701 | "integrity": "sha512-dyBIzQBDkCqCu+0upx25Y2jGdbTGxE9fshMsCdK0ViOongpV+n5tXRcZY9v7CaVQ79AGS9KA1KHtojxiM7aXSQ==", 702 | "dev": true, 703 | "funding": { 704 | "type": "opencollective", 705 | "url": "https://opencollective.com/js-sdsl" 706 | } 707 | }, 708 | "node_modules/js-yaml": { 709 | "version": "4.1.0", 710 | "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz", 711 | "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==", 712 | "dev": true, 713 | "dependencies": { 714 | "argparse": "^2.0.1" 715 | }, 716 | "bin": { 717 | "js-yaml": "bin/js-yaml.js" 718 | } 719 | }, 720 | "node_modules/json-schema-traverse": { 721 | "version": "0.4.1", 722 | "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", 723 | "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==", 724 | "dev": true 725 | }, 726 | "node_modules/json-stable-stringify-without-jsonify": { 727 | "version": "1.0.1", 728 | "resolved": "https://registry.npmjs.org/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz", 729 | "integrity": "sha1-nbe1lJatPzz+8wp1FC0tkwrXJlE=", 730 | "dev": true 731 | }, 732 | "node_modules/levn": { 733 | "version": "0.4.1", 734 | "resolved": "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz", 735 | "integrity": "sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==", 736 | "dev": true, 737 | "dependencies": { 738 | "prelude-ls": "^1.2.1", 739 | "type-check": "~0.4.0" 740 | }, 741 | "engines": { 742 | "node": ">= 0.8.0" 743 | } 744 | }, 745 | "node_modules/locate-path": { 746 | "version": "6.0.0", 747 | "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz", 748 | "integrity": "sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==", 749 | "dev": true, 750 | "dependencies": { 751 | "p-locate": "^5.0.0" 752 | }, 753 | "engines": { 754 | "node": ">=10" 755 | }, 756 | "funding": { 757 | "url": "https://github.com/sponsors/sindresorhus" 758 | } 759 | }, 760 | "node_modules/lodash.merge": { 761 | "version": "4.6.2", 762 | "resolved": "https://registry.npmjs.org/lodash.merge/-/lodash.merge-4.6.2.tgz", 763 | "integrity": "sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==", 764 | "dev": true 765 | }, 766 | "node_modules/minimatch": { 767 | "version": "3.1.2", 768 | "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", 769 | "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", 770 | "dev": true, 771 | "dependencies": { 772 | "brace-expansion": "^1.1.7" 773 | }, 774 | "engines": { 775 | "node": "*" 776 | } 777 | }, 778 | "node_modules/ms": { 779 | "version": "2.1.2", 780 | "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", 781 | "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", 782 | "dev": true 783 | }, 784 | "node_modules/natural-compare": { 785 | "version": "1.4.0", 786 | "resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz", 787 | "integrity": "sha1-Sr6/7tdUHywnrPspvbvRXI1bpPc=", 788 | "dev": true 789 | }, 790 | "node_modules/once": { 791 | "version": "1.4.0", 792 | "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", 793 | "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=", 794 | "dev": true, 795 | "dependencies": { 796 | "wrappy": "1" 797 | } 798 | }, 799 | "node_modules/optionator": { 800 | "version": "0.9.1", 801 | "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.1.tgz", 802 | "integrity": "sha512-74RlY5FCnhq4jRxVUPKDaRwrVNXMqsGsiW6AJw4XK8hmtm10wC0ypZBLw5IIp85NZMr91+qd1RvvENwg7jjRFw==", 803 | "dev": true, 804 | "dependencies": { 805 | "deep-is": "^0.1.3", 806 | "fast-levenshtein": "^2.0.6", 807 | "levn": "^0.4.1", 808 | "prelude-ls": "^1.2.1", 809 | "type-check": "^0.4.0", 810 | "word-wrap": "^1.2.3" 811 | }, 812 | "engines": { 813 | "node": ">= 0.8.0" 814 | } 815 | }, 816 | "node_modules/p-limit": { 817 | "version": "3.1.0", 818 | "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz", 819 | "integrity": "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==", 820 | "dev": true, 821 | "dependencies": { 822 | "yocto-queue": "^0.1.0" 823 | }, 824 | "engines": { 825 | "node": ">=10" 826 | }, 827 | "funding": { 828 | "url": "https://github.com/sponsors/sindresorhus" 829 | } 830 | }, 831 | "node_modules/p-locate": { 832 | "version": "5.0.0", 833 | "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-5.0.0.tgz", 834 | "integrity": "sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==", 835 | "dev": true, 836 | "dependencies": { 837 | "p-limit": "^3.0.2" 838 | }, 839 | "engines": { 840 | "node": ">=10" 841 | }, 842 | "funding": { 843 | "url": "https://github.com/sponsors/sindresorhus" 844 | } 845 | }, 846 | "node_modules/parent-module": { 847 | "version": "1.0.1", 848 | "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz", 849 | "integrity": "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==", 850 | "dev": true, 851 | "dependencies": { 852 | "callsites": "^3.0.0" 853 | }, 854 | "engines": { 855 | "node": ">=6" 856 | } 857 | }, 858 | "node_modules/path-exists": { 859 | "version": "4.0.0", 860 | "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", 861 | "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", 862 | "dev": true, 863 | "engines": { 864 | "node": ">=8" 865 | } 866 | }, 867 | "node_modules/path-is-absolute": { 868 | "version": "1.0.1", 869 | "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", 870 | "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=", 871 | "dev": true, 872 | "engines": { 873 | "node": ">=0.10.0" 874 | } 875 | }, 876 | "node_modules/path-key": { 877 | "version": "3.1.1", 878 | "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", 879 | "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", 880 | "dev": true, 881 | "engines": { 882 | "node": ">=8" 883 | } 884 | }, 885 | "node_modules/prelude-ls": { 886 | "version": "1.2.1", 887 | "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz", 888 | "integrity": "sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==", 889 | "dev": true, 890 | "engines": { 891 | "node": ">= 0.8.0" 892 | } 893 | }, 894 | "node_modules/punycode": { 895 | "version": "2.1.1", 896 | "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz", 897 | "integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==", 898 | "dev": true, 899 | "engines": { 900 | "node": ">=6" 901 | } 902 | }, 903 | "node_modules/queue-microtask": { 904 | "version": "1.2.3", 905 | "resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz", 906 | "integrity": "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==", 907 | "dev": true, 908 | "funding": [ 909 | { 910 | "type": "github", 911 | "url": "https://github.com/sponsors/feross" 912 | }, 913 | { 914 | "type": "patreon", 915 | "url": "https://www.patreon.com/feross" 916 | }, 917 | { 918 | "type": "consulting", 919 | "url": "https://feross.org/support" 920 | } 921 | ] 922 | }, 923 | "node_modules/regexpp": { 924 | "version": "3.2.0", 925 | "resolved": "https://registry.npmjs.org/regexpp/-/regexpp-3.2.0.tgz", 926 | "integrity": "sha512-pq2bWo9mVD43nbts2wGv17XLiNLya+GklZ8kaDLV2Z08gDCsGpnKn9BFMepvWuHCbyVvY7J5o5+BVvoQbmlJLg==", 927 | "dev": true, 928 | "engines": { 929 | "node": ">=8" 930 | }, 931 | "funding": { 932 | "url": "https://github.com/sponsors/mysticatea" 933 | } 934 | }, 935 | "node_modules/resolve-from": { 936 | "version": "4.0.0", 937 | "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz", 938 | "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==", 939 | "dev": true, 940 | "engines": { 941 | "node": ">=4" 942 | } 943 | }, 944 | "node_modules/reusify": { 945 | "version": "1.0.4", 946 | "resolved": "https://registry.npmjs.org/reusify/-/reusify-1.0.4.tgz", 947 | "integrity": "sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==", 948 | "dev": true, 949 | "engines": { 950 | "iojs": ">=1.0.0", 951 | "node": ">=0.10.0" 952 | } 953 | }, 954 | "node_modules/rimraf": { 955 | "version": "3.0.2", 956 | "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", 957 | "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", 958 | "dev": true, 959 | "dependencies": { 960 | "glob": "^7.1.3" 961 | }, 962 | "bin": { 963 | "rimraf": "bin.js" 964 | }, 965 | "funding": { 966 | "url": "https://github.com/sponsors/isaacs" 967 | } 968 | }, 969 | "node_modules/run-parallel": { 970 | "version": "1.2.0", 971 | "resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz", 972 | "integrity": "sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==", 973 | "dev": true, 974 | "funding": [ 975 | { 976 | "type": "github", 977 | "url": "https://github.com/sponsors/feross" 978 | }, 979 | { 980 | "type": "patreon", 981 | "url": "https://www.patreon.com/feross" 982 | }, 983 | { 984 | "type": "consulting", 985 | "url": "https://feross.org/support" 986 | } 987 | ], 988 | "dependencies": { 989 | "queue-microtask": "^1.2.2" 990 | } 991 | }, 992 | "node_modules/shebang-command": { 993 | "version": "2.0.0", 994 | "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", 995 | "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==", 996 | "dev": true, 997 | "dependencies": { 998 | "shebang-regex": "^3.0.0" 999 | }, 1000 | "engines": { 1001 | "node": ">=8" 1002 | } 1003 | }, 1004 | "node_modules/shebang-regex": { 1005 | "version": "3.0.0", 1006 | "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz", 1007 | "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==", 1008 | "dev": true, 1009 | "engines": { 1010 | "node": ">=8" 1011 | } 1012 | }, 1013 | "node_modules/strip-ansi": { 1014 | "version": "6.0.1", 1015 | "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", 1016 | "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", 1017 | "dev": true, 1018 | "dependencies": { 1019 | "ansi-regex": "^5.0.1" 1020 | }, 1021 | "engines": { 1022 | "node": ">=8" 1023 | } 1024 | }, 1025 | "node_modules/strip-json-comments": { 1026 | "version": "3.1.1", 1027 | "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz", 1028 | "integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==", 1029 | "dev": true, 1030 | "engines": { 1031 | "node": ">=8" 1032 | }, 1033 | "funding": { 1034 | "url": "https://github.com/sponsors/sindresorhus" 1035 | } 1036 | }, 1037 | "node_modules/supports-color": { 1038 | "version": "7.2.0", 1039 | "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", 1040 | "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", 1041 | "dev": true, 1042 | "dependencies": { 1043 | "has-flag": "^4.0.0" 1044 | }, 1045 | "engines": { 1046 | "node": ">=8" 1047 | } 1048 | }, 1049 | "node_modules/text-table": { 1050 | "version": "0.2.0", 1051 | "resolved": "https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz", 1052 | "integrity": "sha1-f17oI66AUgfACvLfSoTsP8+lcLQ=", 1053 | "dev": true 1054 | }, 1055 | "node_modules/type-check": { 1056 | "version": "0.4.0", 1057 | "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz", 1058 | "integrity": "sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==", 1059 | "dev": true, 1060 | "dependencies": { 1061 | "prelude-ls": "^1.2.1" 1062 | }, 1063 | "engines": { 1064 | "node": ">= 0.8.0" 1065 | } 1066 | }, 1067 | "node_modules/type-fest": { 1068 | "version": "0.20.2", 1069 | "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.20.2.tgz", 1070 | "integrity": "sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==", 1071 | "dev": true, 1072 | "engines": { 1073 | "node": ">=10" 1074 | }, 1075 | "funding": { 1076 | "url": "https://github.com/sponsors/sindresorhus" 1077 | } 1078 | }, 1079 | "node_modules/uri-js": { 1080 | "version": "4.4.1", 1081 | "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz", 1082 | "integrity": "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==", 1083 | "dev": true, 1084 | "dependencies": { 1085 | "punycode": "^2.1.0" 1086 | } 1087 | }, 1088 | "node_modules/which": { 1089 | "version": "2.0.2", 1090 | "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", 1091 | "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", 1092 | "dev": true, 1093 | "dependencies": { 1094 | "isexe": "^2.0.0" 1095 | }, 1096 | "bin": { 1097 | "node-which": "bin/node-which" 1098 | }, 1099 | "engines": { 1100 | "node": ">= 8" 1101 | } 1102 | }, 1103 | "node_modules/word-wrap": { 1104 | "version": "1.2.3", 1105 | "resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.3.tgz", 1106 | "integrity": "sha512-Hz/mrNwitNRh/HUAtM/VT/5VH+ygD6DV7mYKZAtHOrbs8U7lvPS6xf7EJKMF0uW1KJCl0H701g3ZGus+muE5vQ==", 1107 | "dev": true, 1108 | "engines": { 1109 | "node": ">=0.10.0" 1110 | } 1111 | }, 1112 | "node_modules/wrappy": { 1113 | "version": "1.0.2", 1114 | "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", 1115 | "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=", 1116 | "dev": true 1117 | }, 1118 | "node_modules/yocto-queue": { 1119 | "version": "0.1.0", 1120 | "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz", 1121 | "integrity": "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==", 1122 | "dev": true, 1123 | "engines": { 1124 | "node": ">=10" 1125 | }, 1126 | "funding": { 1127 | "url": "https://github.com/sponsors/sindresorhus" 1128 | } 1129 | } 1130 | }, 1131 | "dependencies": { 1132 | "@eslint/eslintrc": { 1133 | "version": "1.3.3", 1134 | "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-1.3.3.tgz", 1135 | "integrity": "sha512-uj3pT6Mg+3t39fvLrj8iuCIJ38zKO9FpGtJ4BBJebJhEwjoT+KLVNCcHT5QC9NGRIEi7fZ0ZR8YRb884auB4Lg==", 1136 | "dev": true, 1137 | "requires": { 1138 | "ajv": "^6.12.4", 1139 | "debug": "^4.3.2", 1140 | "espree": "^9.4.0", 1141 | "globals": "^13.15.0", 1142 | "ignore": "^5.2.0", 1143 | "import-fresh": "^3.2.1", 1144 | "js-yaml": "^4.1.0", 1145 | "minimatch": "^3.1.2", 1146 | "strip-json-comments": "^3.1.1" 1147 | } 1148 | }, 1149 | "@humanwhocodes/config-array": { 1150 | "version": "0.11.7", 1151 | "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.11.7.tgz", 1152 | "integrity": "sha512-kBbPWzN8oVMLb0hOUYXhmxggL/1cJE6ydvjDIGi9EnAGUyA7cLVKQg+d/Dsm+KZwx2czGHrCmMVLiyg8s5JPKw==", 1153 | "dev": true, 1154 | "requires": { 1155 | "@humanwhocodes/object-schema": "^1.2.1", 1156 | "debug": "^4.1.1", 1157 | "minimatch": "^3.0.5" 1158 | } 1159 | }, 1160 | "@humanwhocodes/module-importer": { 1161 | "version": "1.0.1", 1162 | "resolved": "https://registry.npmjs.org/@humanwhocodes/module-importer/-/module-importer-1.0.1.tgz", 1163 | "integrity": "sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA==", 1164 | "dev": true 1165 | }, 1166 | "@humanwhocodes/object-schema": { 1167 | "version": "1.2.1", 1168 | "resolved": "https://registry.npmjs.org/@humanwhocodes/object-schema/-/object-schema-1.2.1.tgz", 1169 | "integrity": "sha512-ZnQMnLV4e7hDlUvw8H+U8ASL02SS2Gn6+9Ac3wGGLIe7+je2AeAOxPY+izIPJDfFDb7eDjev0Us8MO1iFRN8hA==", 1170 | "dev": true 1171 | }, 1172 | "@nodelib/fs.scandir": { 1173 | "version": "2.1.5", 1174 | "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz", 1175 | "integrity": "sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==", 1176 | "dev": true, 1177 | "requires": { 1178 | "@nodelib/fs.stat": "2.0.5", 1179 | "run-parallel": "^1.1.9" 1180 | } 1181 | }, 1182 | "@nodelib/fs.stat": { 1183 | "version": "2.0.5", 1184 | "resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz", 1185 | "integrity": "sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==", 1186 | "dev": true 1187 | }, 1188 | "@nodelib/fs.walk": { 1189 | "version": "1.2.8", 1190 | "resolved": "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz", 1191 | "integrity": "sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==", 1192 | "dev": true, 1193 | "requires": { 1194 | "@nodelib/fs.scandir": "2.1.5", 1195 | "fastq": "^1.6.0" 1196 | } 1197 | }, 1198 | "acorn": { 1199 | "version": "8.8.1", 1200 | "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.8.1.tgz", 1201 | "integrity": "sha512-7zFpHzhnqYKrkYdUjF1HI1bzd0VygEGX8lFk4k5zVMqHEoES+P+7TKI+EvLO9WVMJ8eekdO0aDEK044xTXwPPA==", 1202 | "dev": true 1203 | }, 1204 | "acorn-jsx": { 1205 | "version": "5.3.2", 1206 | "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.3.2.tgz", 1207 | "integrity": "sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==", 1208 | "dev": true, 1209 | "requires": {} 1210 | }, 1211 | "ajv": { 1212 | "version": "6.12.6", 1213 | "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", 1214 | "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", 1215 | "dev": true, 1216 | "requires": { 1217 | "fast-deep-equal": "^3.1.1", 1218 | "fast-json-stable-stringify": "^2.0.0", 1219 | "json-schema-traverse": "^0.4.1", 1220 | "uri-js": "^4.2.2" 1221 | } 1222 | }, 1223 | "ansi-regex": { 1224 | "version": "5.0.1", 1225 | "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", 1226 | "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", 1227 | "dev": true 1228 | }, 1229 | "ansi-styles": { 1230 | "version": "4.3.0", 1231 | "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", 1232 | "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", 1233 | "dev": true, 1234 | "requires": { 1235 | "color-convert": "^2.0.1" 1236 | } 1237 | }, 1238 | "argparse": { 1239 | "version": "2.0.1", 1240 | "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", 1241 | "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==", 1242 | "dev": true 1243 | }, 1244 | "balanced-match": { 1245 | "version": "1.0.0", 1246 | "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz", 1247 | "integrity": "sha1-ibTRmasr7kneFk6gK4nORi1xt2c=", 1248 | "dev": true 1249 | }, 1250 | "brace-expansion": { 1251 | "version": "1.1.11", 1252 | "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", 1253 | "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", 1254 | "dev": true, 1255 | "requires": { 1256 | "balanced-match": "^1.0.0", 1257 | "concat-map": "0.0.1" 1258 | } 1259 | }, 1260 | "callsites": { 1261 | "version": "3.1.0", 1262 | "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz", 1263 | "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==", 1264 | "dev": true 1265 | }, 1266 | "chalk": { 1267 | "version": "4.1.0", 1268 | "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.0.tgz", 1269 | "integrity": "sha512-qwx12AxXe2Q5xQ43Ac//I6v5aXTipYrSESdOgzrN+9XjgEpyjpKuvSGaN4qE93f7TQTlerQQ8S+EQ0EyDoVL1A==", 1270 | "dev": true, 1271 | "requires": { 1272 | "ansi-styles": "^4.1.0", 1273 | "supports-color": "^7.1.0" 1274 | } 1275 | }, 1276 | "color-convert": { 1277 | "version": "2.0.1", 1278 | "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", 1279 | "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", 1280 | "dev": true, 1281 | "requires": { 1282 | "color-name": "~1.1.4" 1283 | } 1284 | }, 1285 | "color-name": { 1286 | "version": "1.1.4", 1287 | "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", 1288 | "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", 1289 | "dev": true 1290 | }, 1291 | "concat-map": { 1292 | "version": "0.0.1", 1293 | "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", 1294 | "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=", 1295 | "dev": true 1296 | }, 1297 | "cross-spawn": { 1298 | "version": "7.0.3", 1299 | "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz", 1300 | "integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==", 1301 | "dev": true, 1302 | "requires": { 1303 | "path-key": "^3.1.0", 1304 | "shebang-command": "^2.0.0", 1305 | "which": "^2.0.1" 1306 | } 1307 | }, 1308 | "debug": { 1309 | "version": "4.3.4", 1310 | "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", 1311 | "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", 1312 | "dev": true, 1313 | "requires": { 1314 | "ms": "2.1.2" 1315 | } 1316 | }, 1317 | "deep-is": { 1318 | "version": "0.1.3", 1319 | "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.3.tgz", 1320 | "integrity": "sha1-s2nW+128E+7PUk+RsHD+7cNXzzQ=", 1321 | "dev": true 1322 | }, 1323 | "doctrine": { 1324 | "version": "3.0.0", 1325 | "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-3.0.0.tgz", 1326 | "integrity": "sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w==", 1327 | "dev": true, 1328 | "requires": { 1329 | "esutils": "^2.0.2" 1330 | } 1331 | }, 1332 | "escape-string-regexp": { 1333 | "version": "4.0.0", 1334 | "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz", 1335 | "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==", 1336 | "dev": true 1337 | }, 1338 | "eslint": { 1339 | "version": "8.28.0", 1340 | "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.28.0.tgz", 1341 | "integrity": "sha512-S27Di+EVyMxcHiwDrFzk8dJYAaD+/5SoWKxL1ri/71CRHsnJnRDPNt2Kzj24+MT9FDupf4aqqyqPrvI8MvQ4VQ==", 1342 | "dev": true, 1343 | "requires": { 1344 | "@eslint/eslintrc": "^1.3.3", 1345 | "@humanwhocodes/config-array": "^0.11.6", 1346 | "@humanwhocodes/module-importer": "^1.0.1", 1347 | "@nodelib/fs.walk": "^1.2.8", 1348 | "ajv": "^6.10.0", 1349 | "chalk": "^4.0.0", 1350 | "cross-spawn": "^7.0.2", 1351 | "debug": "^4.3.2", 1352 | "doctrine": "^3.0.0", 1353 | "escape-string-regexp": "^4.0.0", 1354 | "eslint-scope": "^7.1.1", 1355 | "eslint-utils": "^3.0.0", 1356 | "eslint-visitor-keys": "^3.3.0", 1357 | "espree": "^9.4.0", 1358 | "esquery": "^1.4.0", 1359 | "esutils": "^2.0.2", 1360 | "fast-deep-equal": "^3.1.3", 1361 | "file-entry-cache": "^6.0.1", 1362 | "find-up": "^5.0.0", 1363 | "glob-parent": "^6.0.2", 1364 | "globals": "^13.15.0", 1365 | "grapheme-splitter": "^1.0.4", 1366 | "ignore": "^5.2.0", 1367 | "import-fresh": "^3.0.0", 1368 | "imurmurhash": "^0.1.4", 1369 | "is-glob": "^4.0.0", 1370 | "is-path-inside": "^3.0.3", 1371 | "js-sdsl": "^4.1.4", 1372 | "js-yaml": "^4.1.0", 1373 | "json-stable-stringify-without-jsonify": "^1.0.1", 1374 | "levn": "^0.4.1", 1375 | "lodash.merge": "^4.6.2", 1376 | "minimatch": "^3.1.2", 1377 | "natural-compare": "^1.4.0", 1378 | "optionator": "^0.9.1", 1379 | "regexpp": "^3.2.0", 1380 | "strip-ansi": "^6.0.1", 1381 | "strip-json-comments": "^3.1.0", 1382 | "text-table": "^0.2.0" 1383 | } 1384 | }, 1385 | "eslint-config-qubyte": { 1386 | "version": "5.0.0", 1387 | "resolved": "https://registry.npmjs.org/eslint-config-qubyte/-/eslint-config-qubyte-5.0.0.tgz", 1388 | "integrity": "sha512-lOMBhIKUKbSdBVvBOks9kYlHNltedjgD0ZHnUp8qfnKxLFgZh50Jn0wgVfsGqjTRkYFEK3a0GgsRajrDJb4Slg==", 1389 | "dev": true 1390 | }, 1391 | "eslint-scope": { 1392 | "version": "7.1.1", 1393 | "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-7.1.1.tgz", 1394 | "integrity": "sha512-QKQM/UXpIiHcLqJ5AOyIW7XZmzjkzQXYE54n1++wb0u9V/abW3l9uQnxX8Z5Xd18xyKIMTUAyQ0k1e8pz6LUrw==", 1395 | "dev": true, 1396 | "requires": { 1397 | "esrecurse": "^4.3.0", 1398 | "estraverse": "^5.2.0" 1399 | } 1400 | }, 1401 | "eslint-utils": { 1402 | "version": "3.0.0", 1403 | "resolved": "https://registry.npmjs.org/eslint-utils/-/eslint-utils-3.0.0.tgz", 1404 | "integrity": "sha512-uuQC43IGctw68pJA1RgbQS8/NP7rch6Cwd4j3ZBtgo4/8Flj4eGE7ZYSZRN3iq5pVUv6GPdW5Z1RFleo84uLDA==", 1405 | "dev": true, 1406 | "requires": { 1407 | "eslint-visitor-keys": "^2.0.0" 1408 | }, 1409 | "dependencies": { 1410 | "eslint-visitor-keys": { 1411 | "version": "2.1.0", 1412 | "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-2.1.0.tgz", 1413 | "integrity": "sha512-0rSmRBzXgDzIsD6mGdJgevzgezI534Cer5L/vyMX0kHzT/jiB43jRhd9YUlMGYLQy2zprNmoT8qasCGtY+QaKw==", 1414 | "dev": true 1415 | } 1416 | } 1417 | }, 1418 | "eslint-visitor-keys": { 1419 | "version": "3.3.0", 1420 | "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.3.0.tgz", 1421 | "integrity": "sha512-mQ+suqKJVyeuwGYHAdjMFqjCyfl8+Ldnxuyp3ldiMBFKkvytrXUZWaiPCEav8qDHKty44bD+qV1IP4T+w+xXRA==", 1422 | "dev": true 1423 | }, 1424 | "espree": { 1425 | "version": "9.4.1", 1426 | "resolved": "https://registry.npmjs.org/espree/-/espree-9.4.1.tgz", 1427 | "integrity": "sha512-XwctdmTO6SIvCzd9810yyNzIrOrqNYV9Koizx4C/mRhf9uq0o4yHoCEU/670pOxOL/MSraektvSAji79kX90Vg==", 1428 | "dev": true, 1429 | "requires": { 1430 | "acorn": "^8.8.0", 1431 | "acorn-jsx": "^5.3.2", 1432 | "eslint-visitor-keys": "^3.3.0" 1433 | } 1434 | }, 1435 | "esquery": { 1436 | "version": "1.4.0", 1437 | "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.4.0.tgz", 1438 | "integrity": "sha512-cCDispWt5vHHtwMY2YrAQ4ibFkAL8RbH5YGBnZBc90MolvvfkkQcJro/aZiAQUlQ3qgrYS6D6v8Gc5G5CQsc9w==", 1439 | "dev": true, 1440 | "requires": { 1441 | "estraverse": "^5.1.0" 1442 | } 1443 | }, 1444 | "esrecurse": { 1445 | "version": "4.3.0", 1446 | "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.3.0.tgz", 1447 | "integrity": "sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==", 1448 | "dev": true, 1449 | "requires": { 1450 | "estraverse": "^5.2.0" 1451 | } 1452 | }, 1453 | "estraverse": { 1454 | "version": "5.3.0", 1455 | "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", 1456 | "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", 1457 | "dev": true 1458 | }, 1459 | "esutils": { 1460 | "version": "2.0.3", 1461 | "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz", 1462 | "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==", 1463 | "dev": true 1464 | }, 1465 | "fast-deep-equal": { 1466 | "version": "3.1.3", 1467 | "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", 1468 | "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==", 1469 | "dev": true 1470 | }, 1471 | "fast-json-stable-stringify": { 1472 | "version": "2.1.0", 1473 | "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz", 1474 | "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==", 1475 | "dev": true 1476 | }, 1477 | "fast-levenshtein": { 1478 | "version": "2.0.6", 1479 | "resolved": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz", 1480 | "integrity": "sha1-PYpcZog6FqMMqGQ+hR8Zuqd5eRc=", 1481 | "dev": true 1482 | }, 1483 | "fastq": { 1484 | "version": "1.13.0", 1485 | "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.13.0.tgz", 1486 | "integrity": "sha512-YpkpUnK8od0o1hmeSc7UUs/eB/vIPWJYjKck2QKIzAf71Vm1AAQ3EbuZB3g2JIy+pg+ERD0vqI79KyZiB2e2Nw==", 1487 | "dev": true, 1488 | "requires": { 1489 | "reusify": "^1.0.4" 1490 | } 1491 | }, 1492 | "file-entry-cache": { 1493 | "version": "6.0.1", 1494 | "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-6.0.1.tgz", 1495 | "integrity": "sha512-7Gps/XWymbLk2QLYK4NzpMOrYjMhdIxXuIvy2QBsLE6ljuodKvdkWs/cpyJJ3CVIVpH0Oi1Hvg1ovbMzLdFBBg==", 1496 | "dev": true, 1497 | "requires": { 1498 | "flat-cache": "^3.0.4" 1499 | } 1500 | }, 1501 | "find-up": { 1502 | "version": "5.0.0", 1503 | "resolved": "https://registry.npmjs.org/find-up/-/find-up-5.0.0.tgz", 1504 | "integrity": "sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==", 1505 | "dev": true, 1506 | "requires": { 1507 | "locate-path": "^6.0.0", 1508 | "path-exists": "^4.0.0" 1509 | } 1510 | }, 1511 | "flat-cache": { 1512 | "version": "3.0.4", 1513 | "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-3.0.4.tgz", 1514 | "integrity": "sha512-dm9s5Pw7Jc0GvMYbshN6zchCA9RgQlzzEZX3vylR9IqFfS8XciblUXOKfW6SiuJ0e13eDYZoZV5wdrev7P3Nwg==", 1515 | "dev": true, 1516 | "requires": { 1517 | "flatted": "^3.1.0", 1518 | "rimraf": "^3.0.2" 1519 | } 1520 | }, 1521 | "flatted": { 1522 | "version": "3.1.1", 1523 | "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.1.1.tgz", 1524 | "integrity": "sha512-zAoAQiudy+r5SvnSw3KJy5os/oRJYHzrzja/tBDqrZtNhUw8bt6y8OBzMWcjWr+8liV8Eb6yOhw8WZ7VFZ5ZzA==", 1525 | "dev": true 1526 | }, 1527 | "fs.realpath": { 1528 | "version": "1.0.0", 1529 | "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", 1530 | "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=", 1531 | "dev": true 1532 | }, 1533 | "glob": { 1534 | "version": "7.2.0", 1535 | "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.0.tgz", 1536 | "integrity": "sha512-lmLf6gtyrPq8tTjSmrO94wBeQbFR3HbLHbuyD69wuyQkImp2hWqMGB47OX65FBkPffO641IP9jWa1z4ivqG26Q==", 1537 | "dev": true, 1538 | "requires": { 1539 | "fs.realpath": "^1.0.0", 1540 | "inflight": "^1.0.4", 1541 | "inherits": "2", 1542 | "minimatch": "^3.0.4", 1543 | "once": "^1.3.0", 1544 | "path-is-absolute": "^1.0.0" 1545 | } 1546 | }, 1547 | "glob-parent": { 1548 | "version": "6.0.2", 1549 | "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz", 1550 | "integrity": "sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==", 1551 | "dev": true, 1552 | "requires": { 1553 | "is-glob": "^4.0.3" 1554 | } 1555 | }, 1556 | "globals": { 1557 | "version": "13.18.0", 1558 | "resolved": "https://registry.npmjs.org/globals/-/globals-13.18.0.tgz", 1559 | "integrity": "sha512-/mR4KI8Ps2spmoc0Ulu9L7agOF0du1CZNQ3dke8yItYlyKNmGrkONemBbd6V8UTc1Wgcqn21t3WYB7dbRmh6/A==", 1560 | "dev": true, 1561 | "requires": { 1562 | "type-fest": "^0.20.2" 1563 | } 1564 | }, 1565 | "grapheme-splitter": { 1566 | "version": "1.0.4", 1567 | "resolved": "https://registry.npmjs.org/grapheme-splitter/-/grapheme-splitter-1.0.4.tgz", 1568 | "integrity": "sha512-bzh50DW9kTPM00T8y4o8vQg89Di9oLJVLW/KaOGIXJWP/iqCN6WKYkbNOF04vFLJhwcpYUh9ydh/+5vpOqV4YQ==", 1569 | "dev": true 1570 | }, 1571 | "has-flag": { 1572 | "version": "4.0.0", 1573 | "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", 1574 | "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", 1575 | "dev": true 1576 | }, 1577 | "ignore": { 1578 | "version": "5.2.0", 1579 | "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.2.0.tgz", 1580 | "integrity": "sha512-CmxgYGiEPCLhfLnpPp1MoRmifwEIOgjcHXxOBjv7mY96c+eWScsOP9c112ZyLdWHi0FxHjI+4uVhKYp/gcdRmQ==", 1581 | "dev": true 1582 | }, 1583 | "import-fresh": { 1584 | "version": "3.3.0", 1585 | "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.0.tgz", 1586 | "integrity": "sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==", 1587 | "dev": true, 1588 | "requires": { 1589 | "parent-module": "^1.0.0", 1590 | "resolve-from": "^4.0.0" 1591 | } 1592 | }, 1593 | "imurmurhash": { 1594 | "version": "0.1.4", 1595 | "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz", 1596 | "integrity": "sha1-khi5srkoojixPcT7a21XbyMUU+o=", 1597 | "dev": true 1598 | }, 1599 | "inflight": { 1600 | "version": "1.0.6", 1601 | "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", 1602 | "integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=", 1603 | "dev": true, 1604 | "requires": { 1605 | "once": "^1.3.0", 1606 | "wrappy": "1" 1607 | } 1608 | }, 1609 | "inherits": { 1610 | "version": "2.0.4", 1611 | "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", 1612 | "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", 1613 | "dev": true 1614 | }, 1615 | "is-extglob": { 1616 | "version": "2.1.1", 1617 | "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", 1618 | "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==", 1619 | "dev": true 1620 | }, 1621 | "is-glob": { 1622 | "version": "4.0.3", 1623 | "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", 1624 | "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", 1625 | "dev": true, 1626 | "requires": { 1627 | "is-extglob": "^2.1.1" 1628 | } 1629 | }, 1630 | "is-path-inside": { 1631 | "version": "3.0.3", 1632 | "resolved": "https://registry.npmjs.org/is-path-inside/-/is-path-inside-3.0.3.tgz", 1633 | "integrity": "sha512-Fd4gABb+ycGAmKou8eMftCupSir5lRxqf4aD/vd0cD2qc4HL07OjCeuHMr8Ro4CoMaeCKDB0/ECBOVWjTwUvPQ==", 1634 | "dev": true 1635 | }, 1636 | "isexe": { 1637 | "version": "2.0.0", 1638 | "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", 1639 | "integrity": "sha1-6PvzdNxVb/iUehDcsFctYz8s+hA=", 1640 | "dev": true 1641 | }, 1642 | "js-sdsl": { 1643 | "version": "4.2.0", 1644 | "resolved": "https://registry.npmjs.org/js-sdsl/-/js-sdsl-4.2.0.tgz", 1645 | "integrity": "sha512-dyBIzQBDkCqCu+0upx25Y2jGdbTGxE9fshMsCdK0ViOongpV+n5tXRcZY9v7CaVQ79AGS9KA1KHtojxiM7aXSQ==", 1646 | "dev": true 1647 | }, 1648 | "js-yaml": { 1649 | "version": "4.1.0", 1650 | "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz", 1651 | "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==", 1652 | "dev": true, 1653 | "requires": { 1654 | "argparse": "^2.0.1" 1655 | } 1656 | }, 1657 | "json-schema-traverse": { 1658 | "version": "0.4.1", 1659 | "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", 1660 | "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==", 1661 | "dev": true 1662 | }, 1663 | "json-stable-stringify-without-jsonify": { 1664 | "version": "1.0.1", 1665 | "resolved": "https://registry.npmjs.org/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz", 1666 | "integrity": "sha1-nbe1lJatPzz+8wp1FC0tkwrXJlE=", 1667 | "dev": true 1668 | }, 1669 | "levn": { 1670 | "version": "0.4.1", 1671 | "resolved": "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz", 1672 | "integrity": "sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==", 1673 | "dev": true, 1674 | "requires": { 1675 | "prelude-ls": "^1.2.1", 1676 | "type-check": "~0.4.0" 1677 | } 1678 | }, 1679 | "locate-path": { 1680 | "version": "6.0.0", 1681 | "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz", 1682 | "integrity": "sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==", 1683 | "dev": true, 1684 | "requires": { 1685 | "p-locate": "^5.0.0" 1686 | } 1687 | }, 1688 | "lodash.merge": { 1689 | "version": "4.6.2", 1690 | "resolved": "https://registry.npmjs.org/lodash.merge/-/lodash.merge-4.6.2.tgz", 1691 | "integrity": "sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==", 1692 | "dev": true 1693 | }, 1694 | "minimatch": { 1695 | "version": "3.1.2", 1696 | "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", 1697 | "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", 1698 | "dev": true, 1699 | "requires": { 1700 | "brace-expansion": "^1.1.7" 1701 | } 1702 | }, 1703 | "ms": { 1704 | "version": "2.1.2", 1705 | "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", 1706 | "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", 1707 | "dev": true 1708 | }, 1709 | "natural-compare": { 1710 | "version": "1.4.0", 1711 | "resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz", 1712 | "integrity": "sha1-Sr6/7tdUHywnrPspvbvRXI1bpPc=", 1713 | "dev": true 1714 | }, 1715 | "once": { 1716 | "version": "1.4.0", 1717 | "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", 1718 | "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=", 1719 | "dev": true, 1720 | "requires": { 1721 | "wrappy": "1" 1722 | } 1723 | }, 1724 | "optionator": { 1725 | "version": "0.9.1", 1726 | "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.1.tgz", 1727 | "integrity": "sha512-74RlY5FCnhq4jRxVUPKDaRwrVNXMqsGsiW6AJw4XK8hmtm10wC0ypZBLw5IIp85NZMr91+qd1RvvENwg7jjRFw==", 1728 | "dev": true, 1729 | "requires": { 1730 | "deep-is": "^0.1.3", 1731 | "fast-levenshtein": "^2.0.6", 1732 | "levn": "^0.4.1", 1733 | "prelude-ls": "^1.2.1", 1734 | "type-check": "^0.4.0", 1735 | "word-wrap": "^1.2.3" 1736 | } 1737 | }, 1738 | "p-limit": { 1739 | "version": "3.1.0", 1740 | "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz", 1741 | "integrity": "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==", 1742 | "dev": true, 1743 | "requires": { 1744 | "yocto-queue": "^0.1.0" 1745 | } 1746 | }, 1747 | "p-locate": { 1748 | "version": "5.0.0", 1749 | "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-5.0.0.tgz", 1750 | "integrity": "sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==", 1751 | "dev": true, 1752 | "requires": { 1753 | "p-limit": "^3.0.2" 1754 | } 1755 | }, 1756 | "parent-module": { 1757 | "version": "1.0.1", 1758 | "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz", 1759 | "integrity": "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==", 1760 | "dev": true, 1761 | "requires": { 1762 | "callsites": "^3.0.0" 1763 | } 1764 | }, 1765 | "path-exists": { 1766 | "version": "4.0.0", 1767 | "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", 1768 | "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", 1769 | "dev": true 1770 | }, 1771 | "path-is-absolute": { 1772 | "version": "1.0.1", 1773 | "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", 1774 | "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=", 1775 | "dev": true 1776 | }, 1777 | "path-key": { 1778 | "version": "3.1.1", 1779 | "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", 1780 | "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", 1781 | "dev": true 1782 | }, 1783 | "prelude-ls": { 1784 | "version": "1.2.1", 1785 | "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz", 1786 | "integrity": "sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==", 1787 | "dev": true 1788 | }, 1789 | "punycode": { 1790 | "version": "2.1.1", 1791 | "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz", 1792 | "integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==", 1793 | "dev": true 1794 | }, 1795 | "queue-microtask": { 1796 | "version": "1.2.3", 1797 | "resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz", 1798 | "integrity": "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==", 1799 | "dev": true 1800 | }, 1801 | "regexpp": { 1802 | "version": "3.2.0", 1803 | "resolved": "https://registry.npmjs.org/regexpp/-/regexpp-3.2.0.tgz", 1804 | "integrity": "sha512-pq2bWo9mVD43nbts2wGv17XLiNLya+GklZ8kaDLV2Z08gDCsGpnKn9BFMepvWuHCbyVvY7J5o5+BVvoQbmlJLg==", 1805 | "dev": true 1806 | }, 1807 | "resolve-from": { 1808 | "version": "4.0.0", 1809 | "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz", 1810 | "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==", 1811 | "dev": true 1812 | }, 1813 | "reusify": { 1814 | "version": "1.0.4", 1815 | "resolved": "https://registry.npmjs.org/reusify/-/reusify-1.0.4.tgz", 1816 | "integrity": "sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==", 1817 | "dev": true 1818 | }, 1819 | "rimraf": { 1820 | "version": "3.0.2", 1821 | "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", 1822 | "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", 1823 | "dev": true, 1824 | "requires": { 1825 | "glob": "^7.1.3" 1826 | } 1827 | }, 1828 | "run-parallel": { 1829 | "version": "1.2.0", 1830 | "resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz", 1831 | "integrity": "sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==", 1832 | "dev": true, 1833 | "requires": { 1834 | "queue-microtask": "^1.2.2" 1835 | } 1836 | }, 1837 | "shebang-command": { 1838 | "version": "2.0.0", 1839 | "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", 1840 | "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==", 1841 | "dev": true, 1842 | "requires": { 1843 | "shebang-regex": "^3.0.0" 1844 | } 1845 | }, 1846 | "shebang-regex": { 1847 | "version": "3.0.0", 1848 | "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz", 1849 | "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==", 1850 | "dev": true 1851 | }, 1852 | "strip-ansi": { 1853 | "version": "6.0.1", 1854 | "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", 1855 | "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", 1856 | "dev": true, 1857 | "requires": { 1858 | "ansi-regex": "^5.0.1" 1859 | } 1860 | }, 1861 | "strip-json-comments": { 1862 | "version": "3.1.1", 1863 | "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz", 1864 | "integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==", 1865 | "dev": true 1866 | }, 1867 | "supports-color": { 1868 | "version": "7.2.0", 1869 | "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", 1870 | "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", 1871 | "dev": true, 1872 | "requires": { 1873 | "has-flag": "^4.0.0" 1874 | } 1875 | }, 1876 | "text-table": { 1877 | "version": "0.2.0", 1878 | "resolved": "https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz", 1879 | "integrity": "sha1-f17oI66AUgfACvLfSoTsP8+lcLQ=", 1880 | "dev": true 1881 | }, 1882 | "type-check": { 1883 | "version": "0.4.0", 1884 | "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz", 1885 | "integrity": "sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==", 1886 | "dev": true, 1887 | "requires": { 1888 | "prelude-ls": "^1.2.1" 1889 | } 1890 | }, 1891 | "type-fest": { 1892 | "version": "0.20.2", 1893 | "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.20.2.tgz", 1894 | "integrity": "sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==", 1895 | "dev": true 1896 | }, 1897 | "uri-js": { 1898 | "version": "4.4.1", 1899 | "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz", 1900 | "integrity": "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==", 1901 | "dev": true, 1902 | "requires": { 1903 | "punycode": "^2.1.0" 1904 | } 1905 | }, 1906 | "which": { 1907 | "version": "2.0.2", 1908 | "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", 1909 | "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", 1910 | "dev": true, 1911 | "requires": { 1912 | "isexe": "^2.0.0" 1913 | } 1914 | }, 1915 | "word-wrap": { 1916 | "version": "1.2.3", 1917 | "resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.3.tgz", 1918 | "integrity": "sha512-Hz/mrNwitNRh/HUAtM/VT/5VH+ygD6DV7mYKZAtHOrbs8U7lvPS6xf7EJKMF0uW1KJCl0H701g3ZGus+muE5vQ==", 1919 | "dev": true 1920 | }, 1921 | "wrappy": { 1922 | "version": "1.0.2", 1923 | "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", 1924 | "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=", 1925 | "dev": true 1926 | }, 1927 | "yocto-queue": { 1928 | "version": "0.1.0", 1929 | "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz", 1930 | "integrity": "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==", 1931 | "dev": true 1932 | } 1933 | } 1934 | } 1935 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "mixomatic", 3 | "version": "5.0.0", 4 | "description": "Create mixins which work with instanceof (friendly for unit tests).", 5 | "author": "Mark S. Everitt", 6 | "license": "MIT", 7 | "repository": "github:qubyte/mixomatic", 8 | "main": "index.js", 9 | "module": "index.js", 10 | "type": "module", 11 | "exports": { 12 | ".": "./index.js" 13 | }, 14 | "files": [ 15 | "index.js" 16 | ], 17 | "keywords": [ 18 | "multiple inheritance", 19 | "mixins", 20 | "instanceof" 21 | ], 22 | "scripts": { 23 | "test": "node --test", 24 | "lint": "eslint ." 25 | }, 26 | "devDependencies": { 27 | "eslint": "^8.28.0", 28 | "eslint-config-qubyte": "^5.0.0" 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /test/.eslintrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "env": { 3 | "node": true 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /test/test.js: -------------------------------------------------------------------------------- 1 | import { strict as assert } from 'node:assert'; 2 | import { describe, it, beforeEach } from 'node:test'; 3 | import createMixin from 'mixomatic'; 4 | 5 | describe('Mixin', () => { 6 | it('is a function', () => { 7 | assert.ok(createMixin instanceof Function); 8 | }); 9 | 10 | describe('mixins', () => { 11 | let descriptors; 12 | let mixin; 13 | 14 | beforeEach(() => { 15 | descriptors = { 16 | aProperty: { 17 | value: 'abc', 18 | enumerable: true, 19 | configurable: true, 20 | writable: true 21 | }, 22 | aMethod: { 23 | value() { 24 | return 'A method'; 25 | }, 26 | enumerable: false, 27 | configurable: false, 28 | writable: false 29 | } 30 | }; 31 | 32 | mixin = createMixin(descriptors); 33 | }); 34 | 35 | it('makes the Symbol.hasInstance property of the mixin not configurable, not enumerable, and not writable', () => { 36 | const { configurable, enumerable, writable } = Object.getOwnPropertyDescriptor(mixin, Symbol.hasInstance); 37 | 38 | assert.equal(configurable, false); 39 | assert.equal(enumerable, false); 40 | assert.equal(writable, false); 41 | }); 42 | 43 | it('returns the object passed to it', () => { 44 | const obj = {}; 45 | 46 | assert.equal(obj, mixin(obj)); 47 | }); 48 | 49 | it('Appends properties to the object according to descriptors', () => { 50 | const obj = {}; 51 | 52 | mixin(obj); 53 | 54 | assert.deepEqual(Object.getOwnPropertyDescriptors(obj), descriptors); 55 | }); 56 | 57 | it('does not drop existing properties', () => { 58 | const obj = { a: 1, b: 2, c: 3 }; 59 | 60 | mixin(obj); 61 | 62 | const allDescriptors = { 63 | ...descriptors, 64 | a: { 65 | value: 1, 66 | configurable: true, 67 | writable: true, 68 | enumerable: true 69 | }, 70 | b: { 71 | value: 2, 72 | configurable: true, 73 | writable: true, 74 | enumerable: true 75 | }, 76 | c: { 77 | value: 3, 78 | configurable: true, 79 | writable: true, 80 | enumerable: true 81 | } 82 | }; 83 | 84 | assert.deepEqual(Object.getOwnPropertyDescriptors(obj), allDescriptors); 85 | }); 86 | 87 | it('considers mixed objects to be instances of itself', () => { 88 | const obj = {}; 89 | 90 | mixin(obj); 91 | 92 | assert.equal(obj instanceof mixin, true); 93 | }); 94 | 95 | it('considers unmixed objects not to be instances of itself', () => { 96 | const obj = {}; 97 | 98 | assert.equal(obj instanceof mixin, false); 99 | }); 100 | 101 | it('works with classes via prototypes', () => { 102 | class MyClass {} 103 | 104 | mixin(MyClass.prototype); 105 | 106 | assert.equal(new MyClass() instanceof mixin, true); 107 | }); 108 | }); 109 | }); 110 | --------------------------------------------------------------------------------