├── .eslintignore ├── .eslintrc.js ├── .github └── workflows │ ├── build.yml │ └── release.yml ├── .gitignore ├── .prettierrc.json ├── CODE_OF_CONDUCT.md ├── LICENSE ├── README.md ├── css └── extension.css ├── generate-config-interfaces.js ├── js └── extension.js ├── manifest.json ├── package-lock.json ├── package.json ├── package.sh ├── src ├── example-adapter.ts ├── example-api-handler.ts └── index.ts ├── tsconfig.json └── views └── content.html /.eslintignore: -------------------------------------------------------------------------------- 1 | /.eslintrc.js 2 | -------------------------------------------------------------------------------- /.eslintrc.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | 'env': { 3 | 'browser': true, 4 | 'commonjs': true, 5 | 'es6': true, 6 | 'jasmine': true, 7 | 'jest': true, 8 | 'mocha': true, 9 | 'node': true 10 | }, 11 | 'extends': [ 12 | 'eslint:recommended', 13 | 'plugin:@typescript-eslint/eslint-recommended', 14 | 'plugin:@typescript-eslint/recommended', 15 | 'prettier', 16 | ], 17 | 'parser': '@typescript-eslint/parser', 18 | 'parserOptions': { 19 | 'sourceType': 'module' 20 | }, 21 | 'plugins': [ 22 | '@typescript-eslint' 23 | ], 24 | 'rules': { 25 | 'arrow-parens': [ 26 | 'error', 27 | 'always' 28 | ], 29 | 'arrow-spacing': 'error', 30 | 'block-scoped-var': 'error', 31 | 'block-spacing': [ 32 | 'error', 33 | 'always' 34 | ], 35 | '@typescript-eslint/brace-style': [ 36 | 'error', 37 | '1tbs' 38 | ], 39 | '@typescript-eslint/comma-dangle': [ 40 | 'error', 41 | 'always-multiline' 42 | ], 43 | '@typescript-eslint/comma-spacing': 'error', 44 | 'comma-style': [ 45 | 'error', 46 | 'last' 47 | ], 48 | 'computed-property-spacing': [ 49 | 'error', 50 | 'never' 51 | ], 52 | 'curly': 'error', 53 | '@typescript-eslint/default-param-last': 'error', 54 | 'dot-notation': 'error', 55 | 'eol-last': 'error', 56 | '@typescript-eslint/explicit-module-boundary-types': [ 57 | 'warn', 58 | { 59 | 'allowArgumentsExplicitlyTypedAsAny': true 60 | } 61 | ], 62 | '@typescript-eslint/explicit-function-return-type': [ 63 | 'error', 64 | { 65 | 'allowExpressions': true 66 | } 67 | ], 68 | '@typescript-eslint/func-call-spacing': [ 69 | 'error', 70 | 'never' 71 | ], 72 | '@typescript-eslint/indent': [ 73 | 'error', 74 | 2, 75 | { 76 | 'ArrayExpression': 'first', 77 | 'CallExpression': { 78 | 'arguments': 'first' 79 | }, 80 | 'FunctionDeclaration': { 81 | 'parameters': 'first' 82 | }, 83 | 'FunctionExpression': { 84 | 'parameters': 'first' 85 | }, 86 | 'ObjectExpression': 'first', 87 | 'SwitchCase': 1 88 | } 89 | ], 90 | 'key-spacing': [ 91 | 'error', 92 | { 93 | 'afterColon': true, 94 | 'beforeColon': false, 95 | 'mode': 'strict' 96 | } 97 | ], 98 | '@typescript-eslint/keyword-spacing': 'off', 99 | 'linebreak-style': [ 100 | 'error', 101 | 'unix' 102 | ], 103 | '@typescript-eslint/lines-between-class-members': [ 104 | 'error', 105 | 'always' 106 | ], 107 | 'max-len': [ 108 | 'error', 109 | 100 110 | ], 111 | '@typescript-eslint/member-delimiter-style': [ 112 | 'error', 113 | { 114 | 'singleline': { 115 | 'delimiter': 'semi', 116 | 'requireLast': false 117 | }, 118 | 'multiline': { 119 | 'delimiter': 'semi', 120 | 'requireLast': true 121 | } 122 | } 123 | ], 124 | 'multiline-ternary': [ 125 | 'error', 126 | 'always-multiline' 127 | ], 128 | 'no-console': 0, 129 | '@typescript-eslint/no-duplicate-imports': 'error', 130 | 'no-eval': 'error', 131 | '@typescript-eslint/no-explicit-any': [ 132 | 'error', 133 | { 134 | 'ignoreRestArgs': true 135 | } 136 | ], 137 | 'no-floating-decimal': 'error', 138 | 'no-implicit-globals': 'error', 139 | 'no-implied-eval': 'error', 140 | 'no-lonely-if': 'error', 141 | 'no-multi-spaces': [ 142 | 'error', 143 | { 144 | 'ignoreEOLComments': true 145 | } 146 | ], 147 | 'no-multiple-empty-lines': 'error', 148 | '@typescript-eslint/no-namespace': [ 149 | 'error', 150 | { 151 | 'allowDeclarations': true 152 | } 153 | ], 154 | '@typescript-eslint/no-non-null-assertion': 'off', 155 | 'no-prototype-builtins': 'off', 156 | 'no-return-assign': 'error', 157 | 'no-script-url': 'error', 158 | 'no-self-compare': 'error', 159 | 'no-sequences': 'error', 160 | 'no-shadow-restricted-names': 'error', 161 | 'no-tabs': 'error', 162 | 'no-throw-literal': 'error', 163 | 'no-trailing-spaces': 'error', 164 | 'no-undefined': 'error', 165 | 'no-unmodified-loop-condition': 'error', 166 | '@typescript-eslint/no-unused-vars': [ 167 | 'error', 168 | { 169 | 'argsIgnorePattern': '^_', 170 | 'varsIgnorePattern': '^_' 171 | } 172 | ], 173 | 'no-useless-computed-key': 'error', 174 | 'no-useless-concat': 'error', 175 | '@typescript-eslint/no-useless-constructor': 'error', 176 | 'no-useless-return': 'error', 177 | 'no-var': 'error', 178 | 'no-void': 'error', 179 | 'no-whitespace-before-property': 'error', 180 | 'object-curly-newline': [ 181 | 'error', 182 | { 183 | 'consistent': true 184 | } 185 | ], 186 | 'object-curly-spacing': [ 187 | 'error', 188 | 'always' 189 | ], 190 | 'object-property-newline': [ 191 | 'error', 192 | { 193 | 'allowMultiplePropertiesPerLine': true 194 | } 195 | ], 196 | 'operator-linebreak': [ 197 | 'error', 198 | 'after', 199 | { 200 | 'overrides': { 201 | '?': 'before', 202 | ':': 'before' 203 | } 204 | } 205 | ], 206 | 'padded-blocks': [ 207 | 'error', 208 | { 209 | 'blocks': 'never' 210 | } 211 | ], 212 | 'prefer-const': 'error', 213 | '@typescript-eslint/prefer-for-of': 'error', 214 | 'prefer-template': 'error', 215 | 'quote-props': [ 216 | 'error', 217 | 'as-needed' 218 | ], 219 | '@typescript-eslint/quotes': [ 220 | 'error', 221 | 'single', 222 | { 223 | 'allowTemplateLiterals': true 224 | } 225 | ], 226 | '@typescript-eslint/semi': [ 227 | 'error', 228 | 'always' 229 | ], 230 | 'semi-spacing': [ 231 | 'error', 232 | { 233 | 'after': true, 234 | 'before': false 235 | } 236 | ], 237 | 'semi-style': [ 238 | 'error', 239 | 'last' 240 | ], 241 | 'space-before-blocks': [ 242 | 'error', 243 | 'always' 244 | ], 245 | '@typescript-eslint/space-before-function-paren': [ 246 | 'error', 247 | { 248 | 'anonymous': 'always', 249 | 'asyncArrow': 'always', 250 | 'named': 'never' 251 | } 252 | ], 253 | 'space-in-parens': [ 254 | 'error', 255 | 'never' 256 | ], 257 | '@typescript-eslint/space-infix-ops': 'error', 258 | 'space-unary-ops': [ 259 | 'error', 260 | { 261 | 'nonwords': false, 262 | 'words': true 263 | } 264 | ], 265 | 'spaced-comment': [ 266 | 'error', 267 | 'always', 268 | { 269 | 'block': { 270 | 'balanced': true, 271 | 'exceptions': [ 272 | '*' 273 | ] 274 | } 275 | } 276 | ], 277 | 'switch-colon-spacing': [ 278 | 'error', 279 | { 280 | 'after': true, 281 | 'before': false 282 | } 283 | ], 284 | 'template-curly-spacing': [ 285 | 'error', 286 | 'never' 287 | ], 288 | '@typescript-eslint/type-annotation-spacing': 'error', 289 | 'yoda': 'error' 290 | } 291 | }; 292 | -------------------------------------------------------------------------------- /.github/workflows/build.yml: -------------------------------------------------------------------------------- 1 | name: Build 2 | 3 | on: 4 | push: 5 | branches: 6 | - '*' 7 | 8 | jobs: 9 | build: 10 | runs-on: ubuntu-latest 11 | 12 | strategy: 13 | matrix: 14 | node-version: [10.x, 12.x, 14.x] 15 | 16 | steps: 17 | - name: Checkout 18 | uses: actions/checkout@v2 19 | 20 | - name: Use Node.js ${{ matrix.node-version }} 21 | uses: actions/setup-node@v2 22 | with: 23 | node-version: ${{ matrix.node-version }} 24 | 25 | - name: Install 26 | run: | 27 | npm ci 28 | 29 | - name: Check formatting 30 | run: | 31 | npx prettier -c *.js 'src/**/*.ts' 32 | 33 | - name: Lint 34 | run: | 35 | npm run lint 36 | 37 | - name: Build 38 | run: | 39 | npm run build 40 | -------------------------------------------------------------------------------- /.github/workflows/release.yml: -------------------------------------------------------------------------------- 1 | name: Release 2 | 3 | on: 4 | push: 5 | tags: 6 | - '[0-9]+.[0-9]+.[0-9]+' 7 | 8 | jobs: 9 | build: 10 | runs-on: ubuntu-latest 11 | steps: 12 | - name: Checkout 13 | uses: actions/checkout@v2 14 | 15 | - name: Use Node.js ${{ matrix.node-version }} 16 | uses: actions/setup-node@v2 17 | with: 18 | node-version: 10 19 | 20 | - name: Set release version 21 | run: echo "RELEASE_VERSION=${GITHUB_REF:10}" >> $GITHUB_ENV 22 | 23 | - name: Install 24 | run: | 25 | npm ci 26 | 27 | - name: Check formatting 28 | run: | 29 | npx prettier -c *.js 'src/**/*.ts' 30 | 31 | - name: Lint 32 | run: | 33 | npm run lint 34 | 35 | - name: Build 36 | run: | 37 | npm run build 38 | 39 | - name: Package project 40 | run: | 41 | ./package.sh 42 | 43 | - name: Create Release 44 | id: create_release 45 | uses: actions/create-release@v1.0.0 46 | env: 47 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} 48 | with: 49 | tag_name: ${{ github.ref }} 50 | release_name: Release ${{ env.RELEASE_VERSION }} 51 | draft: false 52 | prerelease: false 53 | 54 | - name: Upload Release Asset 55 | id: upload-release-asset 56 | uses: actions/upload-release-asset@v1.0.1 57 | env: 58 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} 59 | with: 60 | upload_url: ${{ steps.create_release.outputs.upload_url }} 61 | asset_path: example-adapter-${{ env.RELEASE_VERSION }}.tgz 62 | asset_name: example-adapter-${{ env.RELEASE_VERSION }}.tgz 63 | asset_content_type: application/gnutar 64 | 65 | - name: Upload Release Asset Checksum 66 | id: upload-release-asset-checksum 67 | uses: actions/upload-release-asset@v1.0.1 68 | env: 69 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} 70 | with: 71 | upload_url: ${{ steps.create_release.outputs.upload_url }} 72 | asset_path: example-adapter-${{ env.RELEASE_VERSION }}.tgz.sha256sum 73 | asset_name: example-adapter-${{ env.RELEASE_VERSION }}.tgz.sha256sum 74 | asset_content_type: text/plain 75 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | *.sha256sum 2 | *.swp 3 | *.tgz 4 | *~ 5 | /node_modules/ 6 | SHA256SUMS 7 | src/config.d.ts 8 | dist 9 | -------------------------------------------------------------------------------- /.prettierrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "printWidth": 100, 3 | "singleQuote": true 4 | } 5 | -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- 1 | # Community Participation Guidelines 2 | 3 | This repository is governed by Mozilla's code of conduct and etiquette guidelines. 4 | For more details, please read the 5 | [Mozilla Community Participation Guidelines](https://www.mozilla.org/about/governance/policies/participation/). 6 | 7 | ## How to Report 8 | For more information on how to report violations of the Community Participation Guidelines, please read our '[How to Report](https://www.mozilla.org/about/governance/policies/participation/reporting/)' page. 9 | 10 | 16 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | Mozilla Public License Version 2.0 2 | ================================== 3 | 4 | 1. Definitions 5 | -------------- 6 | 7 | 1.1. "Contributor" 8 | means each individual or legal entity that creates, contributes to 9 | the creation of, or owns Covered Software. 10 | 11 | 1.2. "Contributor Version" 12 | means the combination of the Contributions of others (if any) used 13 | by a Contributor and that particular Contributor's Contribution. 14 | 15 | 1.3. "Contribution" 16 | means Covered Software of a particular Contributor. 17 | 18 | 1.4. "Covered Software" 19 | means Source Code Form to which the initial Contributor has attached 20 | the notice in Exhibit A, the Executable Form of such Source Code 21 | Form, and Modifications of such Source Code Form, in each case 22 | including portions thereof. 23 | 24 | 1.5. "Incompatible With Secondary Licenses" 25 | means 26 | 27 | (a) that the initial Contributor has attached the notice described 28 | in Exhibit B to the Covered Software; or 29 | 30 | (b) that the Covered Software was made available under the terms of 31 | version 1.1 or earlier of the License, but not also under the 32 | terms of a Secondary License. 33 | 34 | 1.6. "Executable Form" 35 | means any form of the work other than Source Code Form. 36 | 37 | 1.7. "Larger Work" 38 | means a work that combines Covered Software with other material, in 39 | a separate file or files, that is not Covered Software. 40 | 41 | 1.8. "License" 42 | means this document. 43 | 44 | 1.9. "Licensable" 45 | means having the right to grant, to the maximum extent possible, 46 | whether at the time of the initial grant or subsequently, any and 47 | all of the rights conveyed by this License. 48 | 49 | 1.10. "Modifications" 50 | means any of the following: 51 | 52 | (a) any file in Source Code Form that results from an addition to, 53 | deletion from, or modification of the contents of Covered 54 | Software; or 55 | 56 | (b) any new file in Source Code Form that contains any Covered 57 | Software. 58 | 59 | 1.11. "Patent Claims" of a Contributor 60 | means any patent claim(s), including without limitation, method, 61 | process, and apparatus claims, in any patent Licensable by such 62 | Contributor that would be infringed, but for the grant of the 63 | License, by the making, using, selling, offering for sale, having 64 | made, import, or transfer of either its Contributions or its 65 | Contributor Version. 66 | 67 | 1.12. "Secondary License" 68 | means either the GNU General Public License, Version 2.0, the GNU 69 | Lesser General Public License, Version 2.1, the GNU Affero General 70 | Public License, Version 3.0, or any later versions of those 71 | licenses. 72 | 73 | 1.13. "Source Code Form" 74 | means the form of the work preferred for making modifications. 75 | 76 | 1.14. "You" (or "Your") 77 | means an individual or a legal entity exercising rights under this 78 | License. For legal entities, "You" includes any entity that 79 | controls, is controlled by, or is under common control with You. For 80 | purposes of this definition, "control" means (a) the power, direct 81 | or indirect, to cause the direction or management of such entity, 82 | whether by contract or otherwise, or (b) ownership of more than 83 | fifty percent (50%) of the outstanding shares or beneficial 84 | ownership of such entity. 85 | 86 | 2. License Grants and Conditions 87 | -------------------------------- 88 | 89 | 2.1. Grants 90 | 91 | Each Contributor hereby grants You a world-wide, royalty-free, 92 | non-exclusive license: 93 | 94 | (a) under intellectual property rights (other than patent or trademark) 95 | Licensable by such Contributor to use, reproduce, make available, 96 | modify, display, perform, distribute, and otherwise exploit its 97 | Contributions, either on an unmodified basis, with Modifications, or 98 | as part of a Larger Work; and 99 | 100 | (b) under Patent Claims of such Contributor to make, use, sell, offer 101 | for sale, have made, import, and otherwise transfer either its 102 | Contributions or its Contributor Version. 103 | 104 | 2.2. Effective Date 105 | 106 | The licenses granted in Section 2.1 with respect to any Contribution 107 | become effective for each Contribution on the date the Contributor first 108 | distributes such Contribution. 109 | 110 | 2.3. Limitations on Grant Scope 111 | 112 | The licenses granted in this Section 2 are the only rights granted under 113 | this License. No additional rights or licenses will be implied from the 114 | distribution or licensing of Covered Software under this License. 115 | Notwithstanding Section 2.1(b) above, no patent license is granted by a 116 | Contributor: 117 | 118 | (a) for any code that a Contributor has removed from Covered Software; 119 | or 120 | 121 | (b) for infringements caused by: (i) Your and any other third party's 122 | modifications of Covered Software, or (ii) the combination of its 123 | Contributions with other software (except as part of its Contributor 124 | Version); or 125 | 126 | (c) under Patent Claims infringed by Covered Software in the absence of 127 | its Contributions. 128 | 129 | This License does not grant any rights in the trademarks, service marks, 130 | or logos of any Contributor (except as may be necessary to comply with 131 | the notice requirements in Section 3.4). 132 | 133 | 2.4. Subsequent Licenses 134 | 135 | No Contributor makes additional grants as a result of Your choice to 136 | distribute the Covered Software under a subsequent version of this 137 | License (see Section 10.2) or under the terms of a Secondary License (if 138 | permitted under the terms of Section 3.3). 139 | 140 | 2.5. Representation 141 | 142 | Each Contributor represents that the Contributor believes its 143 | Contributions are its original creation(s) or it has sufficient rights 144 | to grant the rights to its Contributions conveyed by this License. 145 | 146 | 2.6. Fair Use 147 | 148 | This License is not intended to limit any rights You have under 149 | applicable copyright doctrines of fair use, fair dealing, or other 150 | equivalents. 151 | 152 | 2.7. Conditions 153 | 154 | Sections 3.1, 3.2, 3.3, and 3.4 are conditions of the licenses granted 155 | in Section 2.1. 156 | 157 | 3. Responsibilities 158 | ------------------- 159 | 160 | 3.1. Distribution of Source Form 161 | 162 | All distribution of Covered Software in Source Code Form, including any 163 | Modifications that You create or to which You contribute, must be under 164 | the terms of this License. You must inform recipients that the Source 165 | Code Form of the Covered Software is governed by the terms of this 166 | License, and how they can obtain a copy of this License. You may not 167 | attempt to alter or restrict the recipients' rights in the Source Code 168 | Form. 169 | 170 | 3.2. Distribution of Executable Form 171 | 172 | If You distribute Covered Software in Executable Form then: 173 | 174 | (a) such Covered Software must also be made available in Source Code 175 | Form, as described in Section 3.1, and You must inform recipients of 176 | the Executable Form how they can obtain a copy of such Source Code 177 | Form by reasonable means in a timely manner, at a charge no more 178 | than the cost of distribution to the recipient; and 179 | 180 | (b) You may distribute such Executable Form under the terms of this 181 | License, or sublicense it under different terms, provided that the 182 | license for the Executable Form does not attempt to limit or alter 183 | the recipients' rights in the Source Code Form under this License. 184 | 185 | 3.3. Distribution of a Larger Work 186 | 187 | You may create and distribute a Larger Work under terms of Your choice, 188 | provided that You also comply with the requirements of this License for 189 | the Covered Software. If the Larger Work is a combination of Covered 190 | Software with a work governed by one or more Secondary Licenses, and the 191 | Covered Software is not Incompatible With Secondary Licenses, this 192 | License permits You to additionally distribute such Covered Software 193 | under the terms of such Secondary License(s), so that the recipient of 194 | the Larger Work may, at their option, further distribute the Covered 195 | Software under the terms of either this License or such Secondary 196 | License(s). 197 | 198 | 3.4. Notices 199 | 200 | You may not remove or alter the substance of any license notices 201 | (including copyright notices, patent notices, disclaimers of warranty, 202 | or limitations of liability) contained within the Source Code Form of 203 | the Covered Software, except that You may alter any license notices to 204 | the extent required to remedy known factual inaccuracies. 205 | 206 | 3.5. Application of Additional Terms 207 | 208 | You may choose to offer, and to charge a fee for, warranty, support, 209 | indemnity or liability obligations to one or more recipients of Covered 210 | Software. However, You may do so only on Your own behalf, and not on 211 | behalf of any Contributor. You must make it absolutely clear that any 212 | such warranty, support, indemnity, or liability obligation is offered by 213 | You alone, and You hereby agree to indemnify every Contributor for any 214 | liability incurred by such Contributor as a result of warranty, support, 215 | indemnity or liability terms You offer. You may include additional 216 | disclaimers of warranty and limitations of liability specific to any 217 | jurisdiction. 218 | 219 | 4. Inability to Comply Due to Statute or Regulation 220 | --------------------------------------------------- 221 | 222 | If it is impossible for You to comply with any of the terms of this 223 | License with respect to some or all of the Covered Software due to 224 | statute, judicial order, or regulation then You must: (a) comply with 225 | the terms of this License to the maximum extent possible; and (b) 226 | describe the limitations and the code they affect. Such description must 227 | be placed in a text file included with all distributions of the Covered 228 | Software under this License. Except to the extent prohibited by statute 229 | or regulation, such description must be sufficiently detailed for a 230 | recipient of ordinary skill to be able to understand it. 231 | 232 | 5. Termination 233 | -------------- 234 | 235 | 5.1. The rights granted under this License will terminate automatically 236 | if You fail to comply with any of its terms. However, if You become 237 | compliant, then the rights granted under this License from a particular 238 | Contributor are reinstated (a) provisionally, unless and until such 239 | Contributor explicitly and finally terminates Your grants, and (b) on an 240 | ongoing basis, if such Contributor fails to notify You of the 241 | non-compliance by some reasonable means prior to 60 days after You have 242 | come back into compliance. Moreover, Your grants from a particular 243 | Contributor are reinstated on an ongoing basis if such Contributor 244 | notifies You of the non-compliance by some reasonable means, this is the 245 | first time You have received notice of non-compliance with this License 246 | from such Contributor, and You become compliant prior to 30 days after 247 | Your receipt of the notice. 248 | 249 | 5.2. If You initiate litigation against any entity by asserting a patent 250 | infringement claim (excluding declaratory judgment actions, 251 | counter-claims, and cross-claims) alleging that a Contributor Version 252 | directly or indirectly infringes any patent, then the rights granted to 253 | You by any and all Contributors for the Covered Software under Section 254 | 2.1 of this License shall terminate. 255 | 256 | 5.3. In the event of termination under Sections 5.1 or 5.2 above, all 257 | end user license agreements (excluding distributors and resellers) which 258 | have been validly granted by You or Your distributors under this License 259 | prior to termination shall survive termination. 260 | 261 | ************************************************************************ 262 | * * 263 | * 6. Disclaimer of Warranty * 264 | * ------------------------- * 265 | * * 266 | * Covered Software is provided under this License on an "as is" * 267 | * basis, without warranty of any kind, either expressed, implied, or * 268 | * statutory, including, without limitation, warranties that the * 269 | * Covered Software is free of defects, merchantable, fit for a * 270 | * particular purpose or non-infringing. The entire risk as to the * 271 | * quality and performance of the Covered Software is with You. * 272 | * Should any Covered Software prove defective in any respect, You * 273 | * (not any Contributor) assume the cost of any necessary servicing, * 274 | * repair, or correction. This disclaimer of warranty constitutes an * 275 | * essential part of this License. No use of any Covered Software is * 276 | * authorized under this License except under this disclaimer. * 277 | * * 278 | ************************************************************************ 279 | 280 | ************************************************************************ 281 | * * 282 | * 7. Limitation of Liability * 283 | * -------------------------- * 284 | * * 285 | * Under no circumstances and under no legal theory, whether tort * 286 | * (including negligence), contract, or otherwise, shall any * 287 | * Contributor, or anyone who distributes Covered Software as * 288 | * permitted above, be liable to You for any direct, indirect, * 289 | * special, incidental, or consequential damages of any character * 290 | * including, without limitation, damages for lost profits, loss of * 291 | * goodwill, work stoppage, computer failure or malfunction, or any * 292 | * and all other commercial damages or losses, even if such party * 293 | * shall have been informed of the possibility of such damages. This * 294 | * limitation of liability shall not apply to liability for death or * 295 | * personal injury resulting from such party's negligence to the * 296 | * extent applicable law prohibits such limitation. Some * 297 | * jurisdictions do not allow the exclusion or limitation of * 298 | * incidental or consequential damages, so this exclusion and * 299 | * limitation may not apply to You. * 300 | * * 301 | ************************************************************************ 302 | 303 | 8. Litigation 304 | ------------- 305 | 306 | Any litigation relating to this License may be brought only in the 307 | courts of a jurisdiction where the defendant maintains its principal 308 | place of business and such litigation shall be governed by laws of that 309 | jurisdiction, without reference to its conflict-of-law provisions. 310 | Nothing in this Section shall prevent a party's ability to bring 311 | cross-claims or counter-claims. 312 | 313 | 9. Miscellaneous 314 | ---------------- 315 | 316 | This License represents the complete agreement concerning the subject 317 | matter hereof. If any provision of this License is held to be 318 | unenforceable, such provision shall be reformed only to the extent 319 | necessary to make it enforceable. Any law or regulation which provides 320 | that the language of a contract shall be construed against the drafter 321 | shall not be used to construe this License against a Contributor. 322 | 323 | 10. Versions of the License 324 | --------------------------- 325 | 326 | 10.1. New Versions 327 | 328 | Mozilla Foundation is the license steward. Except as provided in Section 329 | 10.3, no one other than the license steward has the right to modify or 330 | publish new versions of this License. Each version will be given a 331 | distinguishing version number. 332 | 333 | 10.2. Effect of New Versions 334 | 335 | You may distribute the Covered Software under the terms of the version 336 | of the License under which You originally received the Covered Software, 337 | or under the terms of any subsequent version published by the license 338 | steward. 339 | 340 | 10.3. Modified Versions 341 | 342 | If you create software not governed by this License, and you want to 343 | create a new license for such software, you may create and use a 344 | modified version of this License if you rename the license and remove 345 | any references to the name of the license steward (except to note that 346 | such modified license differs from this License). 347 | 348 | 10.4. Distributing Source Code Form that is Incompatible With Secondary 349 | Licenses 350 | 351 | If You choose to distribute Source Code Form that is Incompatible With 352 | Secondary Licenses under the terms of this version of the License, the 353 | notice described in Exhibit B of this License must be attached. 354 | 355 | Exhibit A - Source Code Form License Notice 356 | ------------------------------------------- 357 | 358 | This Source Code Form is subject to the terms of the Mozilla Public 359 | License, v. 2.0. If a copy of the MPL was not distributed with this 360 | file, You can obtain one at http://mozilla.org/MPL/2.0/. 361 | 362 | If it is not possible or desirable to put the notice in a particular 363 | file, then You may include the notice in a location (such as a LICENSE 364 | file in a relevant directory) where a recipient would be likely to look 365 | for such a notice. 366 | 367 | You may add additional accurate notices of copyright ownership. 368 | 369 | Exhibit B - "Incompatible With Secondary Licenses" Notice 370 | --------------------------------------------------------- 371 | 372 | This Source Code Form is "Incompatible With Secondary Licenses", as 373 | defined by the Mozilla Public License, v. 2.0. 374 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # example-adapter 2 | 3 | This is a super basic and simple example of an adapter add-on for the WebThings 4 | Gateway. 5 | 6 | For more information, you may want to look at these: 7 | * https://hacks.mozilla.org/2018/02/creating-an-add-on-for-the-project-things-gateway/ 8 | * https://hacks.mozilla.org/2018/02/making-a-clap-sensing-web-thing/ 9 | -------------------------------------------------------------------------------- /css/extension.css: -------------------------------------------------------------------------------- 1 | #extension-example-adapter-view { 2 | height: calc(100% - 7.6rem); 3 | box-sizing: border-box; 4 | overflow: auto; 5 | position: relative; 6 | top: 7.6rem; 7 | } 8 | 9 | #extension-example-adapter-content > h2 { 10 | padding-top: 5rem; 11 | } 12 | 13 | #extension-example-adapter-content { 14 | position: relative; 15 | top: calc(50% - 7.6rem);; 16 | transform: translateY(-50%); 17 | max-height: 100%; 18 | text-align: left; 19 | font-size: 1.6rem; 20 | color: #fff; 21 | max-width: 60rem; 22 | margin: 0 auto; 23 | } 24 | -------------------------------------------------------------------------------- /generate-config-interfaces.js: -------------------------------------------------------------------------------- 1 | /* eslint-disable @typescript-eslint/no-var-requires */ 2 | const fs = require('fs'); 3 | const { compile } = require('json-schema-to-typescript'); 4 | const manifest = require('./manifest.json'); 5 | 6 | compile(manifest.options.schema, 'Config').then((ts) => fs.writeFileSync('src/config.d.ts', ts)); 7 | -------------------------------------------------------------------------------- /js/extension.js: -------------------------------------------------------------------------------- 1 | (function() { 2 | class ExampleExtension extends window.Extension { 3 | constructor() { 4 | super('example-adapter'); 5 | 6 | this.content = ''; 7 | fetch(`/extensions/${this.id}/views/content.html`) 8 | .then((res) => res.text()) 9 | .then((text) => { 10 | this.content = text; 11 | }) 12 | .catch((e) => console.error('Failed to fetch content:', e)); 13 | } 14 | 15 | show(context) { 16 | this.showBackButton('/things'); 17 | this.view.innerHTML = this.content; 18 | 19 | const params = new URLSearchParams(context.querystring); 20 | const thingId = params.get('thingId'); 21 | 22 | if (!thingId) { 23 | return; 24 | } 25 | 26 | const description = document.getElementById( 27 | 'extension-example-adapter-thing-description' 28 | ); 29 | 30 | window.API.getJson( 31 | // eslint-disable-next-line max-len 32 | `/extensions/${this.id}/api/thing-description?thingId=${encodeURIComponent(thingId)}` 33 | ).then((body) => { 34 | description.innerText = JSON.stringify(body, null, 2); 35 | }).catch((e) => { 36 | description.innerText = e.toString(); 37 | }); 38 | } 39 | } 40 | 41 | new ExampleExtension(); 42 | })(); 43 | -------------------------------------------------------------------------------- /manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "manifest_version": 1, 3 | "id": "example-adapter", 4 | "name": "Example Adapter", 5 | "short_name": "Example", 6 | "version": "0.6.4", 7 | "description": "Example adapter add-on for WebThings Gateway", 8 | "homepage_url": "https://github.com/WebThingsIO/example-adapter", 9 | "license": "MPL-2.0", 10 | "author": "WebThingsIO", 11 | "content_scripts": [ 12 | { 13 | "css": [ 14 | "css/extension.css" 15 | ], 16 | "js": [ 17 | "js/extension.js" 18 | ] 19 | } 20 | ], 21 | "web_accessible_resources": [ 22 | "css/*.css", 23 | "js/*.js", 24 | "views/*.html" 25 | ], 26 | "gateway_specific_settings": { 27 | "webthings": { 28 | "exec": "{nodeLoader} {path}", 29 | "primary_type": "adapter", 30 | "strict_max_version": "*", 31 | "strict_min_version": "1.0.0" 32 | } 33 | }, 34 | "options": { 35 | "default": { 36 | "optionalSetting": "default value" 37 | }, 38 | "schema": { 39 | "type": "object", 40 | "required": [ 41 | "requiredSetting" 42 | ], 43 | "properties": { 44 | "requiredSetting": { 45 | "type": "string", 46 | "title": "A required setting" 47 | }, 48 | "optionalSetting": { 49 | "type": "string", 50 | "title": "An optional setting" 51 | }, 52 | "startCounter": { 53 | "type": "number", 54 | "title": "The number of starts", 55 | "readOnly": "true" 56 | } 57 | } 58 | } 59 | } 60 | } 61 | -------------------------------------------------------------------------------- /package-lock.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "example-adapter", 3 | "version": "0.6.4", 4 | "lockfileVersion": 1, 5 | "requires": true, 6 | "dependencies": { 7 | "@apidevtools/json-schema-ref-parser": { 8 | "version": "9.0.7", 9 | "resolved": "https://registry.npmjs.org/@apidevtools/json-schema-ref-parser/-/json-schema-ref-parser-9.0.7.tgz", 10 | "integrity": "sha512-QdwOGF1+eeyFh+17v2Tz626WX0nucd1iKOm6JUTUvCZdbolblCOOQCxGrQPY0f7jEhn36PiAWqZnsC2r5vmUWg==", 11 | "dev": true, 12 | "requires": { 13 | "@jsdevtools/ono": "^7.1.3", 14 | "call-me-maybe": "^1.0.1", 15 | "js-yaml": "^3.13.1" 16 | } 17 | }, 18 | "@babel/code-frame": { 19 | "version": "7.10.4", 20 | "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.10.4.tgz", 21 | "integrity": "sha512-vG6SvB6oYEhvgisZNFRmRCUkLz11c7rp+tbNTynGqc6mS1d5ATd/sGyV6W0KZZnXRKMTzZDRgQT3Ou9jhpAfUg==", 22 | "dev": true, 23 | "requires": { 24 | "@babel/highlight": "^7.10.4" 25 | } 26 | }, 27 | "@babel/generator": { 28 | "version": "7.11.6", 29 | "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.11.6.tgz", 30 | "integrity": "sha512-DWtQ1PV3r+cLbySoHrwn9RWEgKMBLLma4OBQloPRyDYvc5msJM9kvTLo1YnlJd1P/ZuKbdli3ijr5q3FvAF3uA==", 31 | "dev": true, 32 | "requires": { 33 | "@babel/types": "^7.11.5", 34 | "jsesc": "^2.5.1", 35 | "source-map": "^0.5.0" 36 | } 37 | }, 38 | "@babel/helper-function-name": { 39 | "version": "7.10.4", 40 | "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.10.4.tgz", 41 | "integrity": "sha512-YdaSyz1n8gY44EmN7x44zBn9zQ1Ry2Y+3GTA+3vH6Mizke1Vw0aWDM66FOYEPw8//qKkmqOckrGgTYa+6sceqQ==", 42 | "dev": true, 43 | "requires": { 44 | "@babel/helper-get-function-arity": "^7.10.4", 45 | "@babel/template": "^7.10.4", 46 | "@babel/types": "^7.10.4" 47 | } 48 | }, 49 | "@babel/helper-get-function-arity": { 50 | "version": "7.10.4", 51 | "resolved": "https://registry.npmjs.org/@babel/helper-get-function-arity/-/helper-get-function-arity-7.10.4.tgz", 52 | "integrity": "sha512-EkN3YDB+SRDgiIUnNgcmiD361ti+AVbL3f3Henf6dqqUyr5dMsorno0lJWJuLhDhkI5sYEpgj6y9kB8AOU1I2A==", 53 | "dev": true, 54 | "requires": { 55 | "@babel/types": "^7.10.4" 56 | } 57 | }, 58 | "@babel/helper-split-export-declaration": { 59 | "version": "7.11.0", 60 | "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.11.0.tgz", 61 | "integrity": "sha512-74Vejvp6mHkGE+m+k5vHY93FX2cAtrw1zXrZXRlG4l410Nm9PxfEiVTn1PjDPV5SnmieiueY4AFg2xqhNFuuZg==", 62 | "dev": true, 63 | "requires": { 64 | "@babel/types": "^7.11.0" 65 | } 66 | }, 67 | "@babel/helper-validator-identifier": { 68 | "version": "7.10.4", 69 | "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.10.4.tgz", 70 | "integrity": "sha512-3U9y+43hz7ZM+rzG24Qe2mufW5KhvFg/NhnNph+i9mgCtdTCtMJuI1TMkrIUiK7Ix4PYlRF9I5dhqaLYA/ADXw==", 71 | "dev": true 72 | }, 73 | "@babel/highlight": { 74 | "version": "7.10.4", 75 | "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.10.4.tgz", 76 | "integrity": "sha512-i6rgnR/YgPEQzZZnbTHHuZdlE8qyoBNalD6F+q4vAFlcMEcqmkoG+mPqJYJCo63qPf74+Y1UZsl3l6f7/RIkmA==", 77 | "dev": true, 78 | "requires": { 79 | "@babel/helper-validator-identifier": "^7.10.4", 80 | "chalk": "^2.0.0", 81 | "js-tokens": "^4.0.0" 82 | } 83 | }, 84 | "@babel/parser": { 85 | "version": "7.11.5", 86 | "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.11.5.tgz", 87 | "integrity": "sha512-X9rD8qqm695vgmeaQ4fvz/o3+Wk4ZzQvSHkDBgpYKxpD4qTAUm88ZKtHkVqIOsYFFbIQ6wQYhC6q7pjqVK0E0Q==", 88 | "dev": true 89 | }, 90 | "@babel/template": { 91 | "version": "7.10.4", 92 | "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.10.4.tgz", 93 | "integrity": "sha512-ZCjD27cGJFUB6nmCB1Enki3r+L5kJveX9pq1SvAUKoICy6CZ9yD8xO086YXdYhvNjBdnekm4ZnaP5yC8Cs/1tA==", 94 | "dev": true, 95 | "requires": { 96 | "@babel/code-frame": "^7.10.4", 97 | "@babel/parser": "^7.10.4", 98 | "@babel/types": "^7.10.4" 99 | } 100 | }, 101 | "@babel/traverse": { 102 | "version": "7.11.5", 103 | "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.11.5.tgz", 104 | "integrity": "sha512-EjiPXt+r7LiCZXEfRpSJd+jUMnBd4/9OUv7Nx3+0u9+eimMwJmG0Q98lw4/289JCoxSE8OolDMNZaaF/JZ69WQ==", 105 | "dev": true, 106 | "requires": { 107 | "@babel/code-frame": "^7.10.4", 108 | "@babel/generator": "^7.11.5", 109 | "@babel/helper-function-name": "^7.10.4", 110 | "@babel/helper-split-export-declaration": "^7.11.0", 111 | "@babel/parser": "^7.11.5", 112 | "@babel/types": "^7.11.5", 113 | "debug": "^4.1.0", 114 | "globals": "^11.1.0", 115 | "lodash": "^4.17.19" 116 | } 117 | }, 118 | "@babel/types": { 119 | "version": "7.11.5", 120 | "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.11.5.tgz", 121 | "integrity": "sha512-bvM7Qz6eKnJVFIn+1LPtjlBFPVN5jNDc1XmN15vWe7Q3DPBufWWsLiIvUu7xW87uTG6QoggpIDnUgLQvPheU+Q==", 122 | "dev": true, 123 | "requires": { 124 | "@babel/helper-validator-identifier": "^7.10.4", 125 | "lodash": "^4.17.19", 126 | "to-fast-properties": "^2.0.0" 127 | } 128 | }, 129 | "@eslint/eslintrc": { 130 | "version": "0.4.1", 131 | "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-0.4.1.tgz", 132 | "integrity": "sha512-5v7TDE9plVhvxQeWLXDTvFvJBdH6pEsdnl2g/dAptmuFEPedQ4Erq5rsDsX+mvAM610IhNaO2W5V1dOOnDKxkQ==", 133 | "dev": true, 134 | "requires": { 135 | "ajv": "^6.12.4", 136 | "debug": "^4.1.1", 137 | "espree": "^7.3.0", 138 | "globals": "^12.1.0", 139 | "ignore": "^4.0.6", 140 | "import-fresh": "^3.2.1", 141 | "js-yaml": "^3.13.1", 142 | "minimatch": "^3.0.4", 143 | "strip-json-comments": "^3.1.1" 144 | }, 145 | "dependencies": { 146 | "globals": { 147 | "version": "12.4.0", 148 | "resolved": "https://registry.npmjs.org/globals/-/globals-12.4.0.tgz", 149 | "integrity": "sha512-BWICuzzDvDoH54NHKCseDanAhE3CeDorgDL5MT6LMXXj2WCnd9UC2szdk4AWLfjdgNBCXLUanXYcpBBKOSWGwg==", 150 | "dev": true, 151 | "requires": { 152 | "type-fest": "^0.8.1" 153 | } 154 | }, 155 | "ignore": { 156 | "version": "4.0.6", 157 | "resolved": "https://registry.npmjs.org/ignore/-/ignore-4.0.6.tgz", 158 | "integrity": "sha512-cyFDKrqc/YdcWFniJhzI42+AzS+gNwmUzOSFcRCQYwySuBBBy/KjuxWLZ/FHEH6Moq1NizMOBWyTcv8O4OZIMg==", 159 | "dev": true 160 | } 161 | } 162 | }, 163 | "@jsdevtools/ono": { 164 | "version": "7.1.3", 165 | "resolved": "https://registry.npmjs.org/@jsdevtools/ono/-/ono-7.1.3.tgz", 166 | "integrity": "sha512-4JQNk+3mVzK3xh2rqd6RB4J46qUR19azEHBneZyTZM+c456qOrbbM/5xcR8huNCCcbVt7+UmizG6GuUvPvKUYg==", 167 | "dev": true 168 | }, 169 | "@nodelib/fs.scandir": { 170 | "version": "2.1.4", 171 | "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.4.tgz", 172 | "integrity": "sha512-33g3pMJk3bg5nXbL/+CY6I2eJDzZAni49PfJnL5fghPTggPvBd/pFNSgJsdAgWptuFu7qq/ERvOYFlhvsLTCKA==", 173 | "dev": true, 174 | "requires": { 175 | "@nodelib/fs.stat": "2.0.4", 176 | "run-parallel": "^1.1.9" 177 | } 178 | }, 179 | "@nodelib/fs.stat": { 180 | "version": "2.0.4", 181 | "resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.4.tgz", 182 | "integrity": "sha512-IYlHJA0clt2+Vg7bccq+TzRdJvv19c2INqBSsoOLp1je7xjtr7J26+WXR72MCdvU9q1qTzIWDfhMf+DRvQJK4Q==", 183 | "dev": true 184 | }, 185 | "@nodelib/fs.walk": { 186 | "version": "1.2.6", 187 | "resolved": "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.6.tgz", 188 | "integrity": "sha512-8Broas6vTtW4GIXTAHDoE32hnN2M5ykgCpWGbuXHQ15vEMqr23pB76e/GZcYsZCHALv50ktd24qhEyKr6wBtow==", 189 | "dev": true, 190 | "requires": { 191 | "@nodelib/fs.scandir": "2.1.4", 192 | "fastq": "^1.6.0" 193 | } 194 | }, 195 | "@types/glob": { 196 | "version": "7.1.3", 197 | "resolved": "https://registry.npmjs.org/@types/glob/-/glob-7.1.3.tgz", 198 | "integrity": "sha512-SEYeGAIQIQX8NN6LDKprLjbrd5dARM5EXsd8GI/A5l0apYI1fGMWgPHSe4ZKL4eozlAyI+doUE9XbYS4xCkQ1w==", 199 | "dev": true, 200 | "requires": { 201 | "@types/minimatch": "*", 202 | "@types/node": "*" 203 | } 204 | }, 205 | "@types/json-schema": { 206 | "version": "7.0.7", 207 | "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.7.tgz", 208 | "integrity": "sha512-cxWFQVseBm6O9Gbw1IWb8r6OS4OhSt3hPZLkFApLjM8TEXROBuQGLAH2i2gZpcXdLBIrpXuTDhH7Vbm1iXmNGA==", 209 | "dev": true 210 | }, 211 | "@types/lodash": { 212 | "version": "4.14.168", 213 | "resolved": "https://registry.npmjs.org/@types/lodash/-/lodash-4.14.168.tgz", 214 | "integrity": "sha512-oVfRvqHV/V6D1yifJbVRU3TMp8OT6o6BG+U9MkwuJ3U8/CsDHvalRpsxBqivn71ztOFZBTfJMvETbqHiaNSj7Q==", 215 | "dev": true 216 | }, 217 | "@types/minimatch": { 218 | "version": "3.0.4", 219 | "resolved": "https://registry.npmjs.org/@types/minimatch/-/minimatch-3.0.4.tgz", 220 | "integrity": "sha512-1z8k4wzFnNjVK/tlxvrWuK5WMt6mydWWP7+zvH5eFep4oj+UkrfiJTRtjCeBXNpwaA/FYqqtb4/QS4ianFpIRA==", 221 | "dev": true 222 | }, 223 | "@types/node": { 224 | "version": "14.14.41", 225 | "resolved": "https://registry.npmjs.org/@types/node/-/node-14.14.41.tgz", 226 | "integrity": "sha512-dueRKfaJL4RTtSa7bWeTK1M+VH+Gns73oCgzvYfHZywRCoPSd8EkXBL0mZ9unPTveBn+D9phZBaxuzpwjWkW0g==", 227 | "dev": true 228 | }, 229 | "@types/prettier": { 230 | "version": "2.2.3", 231 | "resolved": "https://registry.npmjs.org/@types/prettier/-/prettier-2.2.3.tgz", 232 | "integrity": "sha512-PijRCG/K3s3w1We6ynUKdxEc5AcuuH3NBmMDP8uvKVp6X43UY7NQlTzczakXP3DJR0F4dfNQIGjU2cUeRYs2AA==", 233 | "dev": true 234 | }, 235 | "@types/ws": { 236 | "version": "7.4.4", 237 | "resolved": "https://registry.npmjs.org/@types/ws/-/ws-7.4.4.tgz", 238 | "integrity": "sha512-d/7W23JAXPodQNbOZNXvl2K+bqAQrCMwlh/nuQsPSQk6Fq0opHoPrUw43aHsvSbIiQPr8Of2hkFbnz1XBFVyZQ==", 239 | "dev": true, 240 | "requires": { 241 | "@types/node": "*" 242 | } 243 | }, 244 | "@typescript-eslint/eslint-plugin": { 245 | "version": "4.26.0", 246 | "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-4.26.0.tgz", 247 | "integrity": "sha512-yA7IWp+5Qqf+TLbd8b35ySFOFzUfL7i+4If50EqvjT6w35X8Lv0eBHb6rATeWmucks37w+zV+tWnOXI9JlG6Eg==", 248 | "dev": true, 249 | "requires": { 250 | "@typescript-eslint/experimental-utils": "4.26.0", 251 | "@typescript-eslint/scope-manager": "4.26.0", 252 | "debug": "^4.3.1", 253 | "functional-red-black-tree": "^1.0.1", 254 | "lodash": "^4.17.21", 255 | "regexpp": "^3.1.0", 256 | "semver": "^7.3.5", 257 | "tsutils": "^3.21.0" 258 | }, 259 | "dependencies": { 260 | "debug": { 261 | "version": "4.3.1", 262 | "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.1.tgz", 263 | "integrity": "sha512-doEwdvm4PCeK4K3RQN2ZC2BYUBaxwLARCqZmMjtF8a51J2Rb0xpVloFRnCODwqjpwnAoao4pelN8l3RJdv3gRQ==", 264 | "dev": true, 265 | "requires": { 266 | "ms": "2.1.2" 267 | } 268 | }, 269 | "lodash": { 270 | "version": "4.17.21", 271 | "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", 272 | "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==", 273 | "dev": true 274 | } 275 | } 276 | }, 277 | "@typescript-eslint/experimental-utils": { 278 | "version": "4.26.0", 279 | "resolved": "https://registry.npmjs.org/@typescript-eslint/experimental-utils/-/experimental-utils-4.26.0.tgz", 280 | "integrity": "sha512-TH2FO2rdDm7AWfAVRB5RSlbUhWxGVuxPNzGT7W65zVfl8H/WeXTk1e69IrcEVsBslrQSTDKQSaJD89hwKrhdkw==", 281 | "dev": true, 282 | "requires": { 283 | "@types/json-schema": "^7.0.7", 284 | "@typescript-eslint/scope-manager": "4.26.0", 285 | "@typescript-eslint/types": "4.26.0", 286 | "@typescript-eslint/typescript-estree": "4.26.0", 287 | "eslint-scope": "^5.1.1", 288 | "eslint-utils": "^3.0.0" 289 | } 290 | }, 291 | "@typescript-eslint/parser": { 292 | "version": "4.26.0", 293 | "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-4.26.0.tgz", 294 | "integrity": "sha512-b4jekVJG9FfmjUfmM4VoOItQhPlnt6MPOBUL0AQbiTmm+SSpSdhHYlwayOm4IW9KLI/4/cRKtQCmDl1oE2OlPg==", 295 | "dev": true, 296 | "requires": { 297 | "@typescript-eslint/scope-manager": "4.26.0", 298 | "@typescript-eslint/types": "4.26.0", 299 | "@typescript-eslint/typescript-estree": "4.26.0", 300 | "debug": "^4.3.1" 301 | }, 302 | "dependencies": { 303 | "debug": { 304 | "version": "4.3.1", 305 | "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.1.tgz", 306 | "integrity": "sha512-doEwdvm4PCeK4K3RQN2ZC2BYUBaxwLARCqZmMjtF8a51J2Rb0xpVloFRnCODwqjpwnAoao4pelN8l3RJdv3gRQ==", 307 | "dev": true, 308 | "requires": { 309 | "ms": "2.1.2" 310 | } 311 | } 312 | } 313 | }, 314 | "@typescript-eslint/scope-manager": { 315 | "version": "4.26.0", 316 | "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-4.26.0.tgz", 317 | "integrity": "sha512-G6xB6mMo4xVxwMt5lEsNTz3x4qGDt0NSGmTBNBPJxNsrTXJSm21c6raeYroS2OwQsOyIXqKZv266L/Gln1BWqg==", 318 | "dev": true, 319 | "requires": { 320 | "@typescript-eslint/types": "4.26.0", 321 | "@typescript-eslint/visitor-keys": "4.26.0" 322 | } 323 | }, 324 | "@typescript-eslint/types": { 325 | "version": "4.26.0", 326 | "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-4.26.0.tgz", 327 | "integrity": "sha512-rADNgXl1kS/EKnDr3G+m7fB9yeJNnR9kF7xMiXL6mSIWpr3Wg5MhxyfEXy/IlYthsqwBqHOr22boFbf/u6O88A==", 328 | "dev": true 329 | }, 330 | "@typescript-eslint/typescript-estree": { 331 | "version": "4.26.0", 332 | "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-4.26.0.tgz", 333 | "integrity": "sha512-GHUgahPcm9GfBuy3TzdsizCcPjKOAauG9xkz9TR8kOdssz2Iz9jRCSQm6+aVFa23d5NcSpo1GdHGSQKe0tlcbg==", 334 | "dev": true, 335 | "requires": { 336 | "@typescript-eslint/types": "4.26.0", 337 | "@typescript-eslint/visitor-keys": "4.26.0", 338 | "debug": "^4.3.1", 339 | "globby": "^11.0.3", 340 | "is-glob": "^4.0.1", 341 | "semver": "^7.3.5", 342 | "tsutils": "^3.21.0" 343 | }, 344 | "dependencies": { 345 | "debug": { 346 | "version": "4.3.1", 347 | "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.1.tgz", 348 | "integrity": "sha512-doEwdvm4PCeK4K3RQN2ZC2BYUBaxwLARCqZmMjtF8a51J2Rb0xpVloFRnCODwqjpwnAoao4pelN8l3RJdv3gRQ==", 349 | "dev": true, 350 | "requires": { 351 | "ms": "2.1.2" 352 | } 353 | } 354 | } 355 | }, 356 | "@typescript-eslint/visitor-keys": { 357 | "version": "4.26.0", 358 | "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-4.26.0.tgz", 359 | "integrity": "sha512-cw4j8lH38V1ycGBbF+aFiLUls9Z0Bw8QschP3mkth50BbWzgFS33ISIgBzUMuQ2IdahoEv/rXstr8Zhlz4B1Zg==", 360 | "dev": true, 361 | "requires": { 362 | "@typescript-eslint/types": "4.26.0", 363 | "eslint-visitor-keys": "^2.0.0" 364 | }, 365 | "dependencies": { 366 | "eslint-visitor-keys": { 367 | "version": "2.1.0", 368 | "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-2.1.0.tgz", 369 | "integrity": "sha512-0rSmRBzXgDzIsD6mGdJgevzgezI534Cer5L/vyMX0kHzT/jiB43jRhd9YUlMGYLQy2zprNmoT8qasCGtY+QaKw==", 370 | "dev": true 371 | } 372 | } 373 | }, 374 | "abbrev": { 375 | "version": "1.1.1", 376 | "resolved": "https://registry.npmjs.org/abbrev/-/abbrev-1.1.1.tgz", 377 | "integrity": "sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==", 378 | "dev": true 379 | }, 380 | "acorn": { 381 | "version": "7.4.1", 382 | "resolved": "https://registry.npmjs.org/acorn/-/acorn-7.4.1.tgz", 383 | "integrity": "sha512-nQyp0o1/mNdbTO1PO6kHkwSrmgZ0MT/jCCpNiwbUjGoRN4dlBhqJtoQuCnEOKzgTVwg0ZWiCoQy6SxMebQVh8A==", 384 | "dev": true 385 | }, 386 | "acorn-jsx": { 387 | "version": "5.3.1", 388 | "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.3.1.tgz", 389 | "integrity": "sha512-K0Ptm/47OKfQRpNQ2J/oIN/3QYiK6FwW+eJbILhsdxh2WTLdl+30o8aGdTbm5JbffpFFAg/g+zi1E+jvJha5ng==", 390 | "dev": true 391 | }, 392 | "ajv": { 393 | "version": "6.12.6", 394 | "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", 395 | "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", 396 | "dev": true, 397 | "requires": { 398 | "fast-deep-equal": "^3.1.1", 399 | "fast-json-stable-stringify": "^2.0.0", 400 | "json-schema-traverse": "^0.4.1", 401 | "uri-js": "^4.2.2" 402 | } 403 | }, 404 | "ansi-colors": { 405 | "version": "4.1.1", 406 | "resolved": "https://registry.npmjs.org/ansi-colors/-/ansi-colors-4.1.1.tgz", 407 | "integrity": "sha512-JoX0apGbHaUJBNl6yF+p6JAFYZ666/hhCGKN5t9QFjbJQKUU/g8MNbFDbvfrgKXvI1QpZplPOnwIo99lX/AAmA==", 408 | "dev": true 409 | }, 410 | "ansi-regex": { 411 | "version": "5.0.0", 412 | "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.0.tgz", 413 | "integrity": "sha512-bY6fj56OUQ0hU1KjFNDQuJFezqKdrAyFdIevADiqrWHwSlbmBNMHp5ak2f40Pm8JTFyM2mqxkG6ngkHO11f/lg==", 414 | "dev": true 415 | }, 416 | "ansi-styles": { 417 | "version": "3.2.1", 418 | "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", 419 | "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", 420 | "dev": true, 421 | "requires": { 422 | "color-convert": "^1.9.0" 423 | } 424 | }, 425 | "any-promise": { 426 | "version": "1.3.0", 427 | "resolved": "https://registry.npmjs.org/any-promise/-/any-promise-1.3.0.tgz", 428 | "integrity": "sha1-q8av7tzqUugJzcA3au0845Y10X8=", 429 | "dev": true 430 | }, 431 | "aproba": { 432 | "version": "1.2.0", 433 | "resolved": "https://registry.npmjs.org/aproba/-/aproba-1.2.0.tgz", 434 | "integrity": "sha512-Y9J6ZjXtoYh8RnXVCMOU/ttDmk1aBjunq9vO0ta5x85WDQiQfUF9sIPBITdbiiIVcBo03Hi3jMxigBtsddlXRw==", 435 | "dev": true 436 | }, 437 | "are-we-there-yet": { 438 | "version": "1.1.5", 439 | "resolved": "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-1.1.5.tgz", 440 | "integrity": "sha512-5hYdAkZlcG8tOLujVDTgCT+uPX0VnpAH28gWsLfzpXYm7wP6mp5Q/gYyR7YQ0cKVJcXJnl3j2kpBan13PtQf6w==", 441 | "dev": true, 442 | "requires": { 443 | "delegates": "^1.0.0", 444 | "readable-stream": "^2.0.6" 445 | } 446 | }, 447 | "argparse": { 448 | "version": "1.0.10", 449 | "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz", 450 | "integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==", 451 | "dev": true, 452 | "requires": { 453 | "sprintf-js": "~1.0.2" 454 | } 455 | }, 456 | "array-union": { 457 | "version": "2.1.0", 458 | "resolved": "https://registry.npmjs.org/array-union/-/array-union-2.1.0.tgz", 459 | "integrity": "sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==", 460 | "dev": true 461 | }, 462 | "astral-regex": { 463 | "version": "2.0.0", 464 | "resolved": "https://registry.npmjs.org/astral-regex/-/astral-regex-2.0.0.tgz", 465 | "integrity": "sha512-Z7tMw1ytTXt5jqMcOP+OQteU1VuNK9Y02uuJtKQ1Sv69jXQKKg5cibLwGJow8yzZP+eAc18EmLGPal0bp36rvQ==", 466 | "dev": true 467 | }, 468 | "babel-eslint": { 469 | "version": "10.1.0", 470 | "resolved": "https://registry.npmjs.org/babel-eslint/-/babel-eslint-10.1.0.tgz", 471 | "integrity": "sha512-ifWaTHQ0ce+448CYop8AdrQiBsGrnC+bMgfyKFdi6EsPLTAWG+QfyDeM6OH+FmWnKvEq5NnBMLvlBUPKQZoDSg==", 472 | "dev": true, 473 | "requires": { 474 | "@babel/code-frame": "^7.0.0", 475 | "@babel/parser": "^7.7.0", 476 | "@babel/traverse": "^7.7.0", 477 | "@babel/types": "^7.7.0", 478 | "eslint-visitor-keys": "^1.0.0", 479 | "resolve": "^1.12.0" 480 | } 481 | }, 482 | "balanced-match": { 483 | "version": "1.0.0", 484 | "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz", 485 | "integrity": "sha1-ibTRmasr7kneFk6gK4nORi1xt2c=", 486 | "dev": true 487 | }, 488 | "brace-expansion": { 489 | "version": "1.1.11", 490 | "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", 491 | "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", 492 | "dev": true, 493 | "requires": { 494 | "balanced-match": "^1.0.0", 495 | "concat-map": "0.0.1" 496 | } 497 | }, 498 | "braces": { 499 | "version": "3.0.2", 500 | "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz", 501 | "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==", 502 | "dev": true, 503 | "requires": { 504 | "fill-range": "^7.0.1" 505 | } 506 | }, 507 | "call-me-maybe": { 508 | "version": "1.0.1", 509 | "resolved": "https://registry.npmjs.org/call-me-maybe/-/call-me-maybe-1.0.1.tgz", 510 | "integrity": "sha1-JtII6onje1y95gJQoV8DHBak1ms=", 511 | "dev": true 512 | }, 513 | "callsites": { 514 | "version": "3.1.0", 515 | "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz", 516 | "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==", 517 | "dev": true 518 | }, 519 | "chalk": { 520 | "version": "2.4.2", 521 | "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", 522 | "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", 523 | "dev": true, 524 | "requires": { 525 | "ansi-styles": "^3.2.1", 526 | "escape-string-regexp": "^1.0.5", 527 | "supports-color": "^5.3.0" 528 | } 529 | }, 530 | "chownr": { 531 | "version": "1.1.4", 532 | "resolved": "https://registry.npmjs.org/chownr/-/chownr-1.1.4.tgz", 533 | "integrity": "sha512-jJ0bqzaylmJtVnNgzTeSOs8DPavpbYgEr/b0YL8/2GO3xJEhInFmhKMUnEJQjZumK7KXGFhUy89PrsJWlakBVg==", 534 | "dev": true 535 | }, 536 | "cli-color": { 537 | "version": "2.0.0", 538 | "resolved": "https://registry.npmjs.org/cli-color/-/cli-color-2.0.0.tgz", 539 | "integrity": "sha512-a0VZ8LeraW0jTuCkuAGMNufareGHhyZU9z8OGsW0gXd1hZGi1SRuNRXdbGkraBBKnhyUhyebFWnRbp+dIn0f0A==", 540 | "dev": true, 541 | "requires": { 542 | "ansi-regex": "^2.1.1", 543 | "d": "^1.0.1", 544 | "es5-ext": "^0.10.51", 545 | "es6-iterator": "^2.0.3", 546 | "memoizee": "^0.4.14", 547 | "timers-ext": "^0.1.7" 548 | }, 549 | "dependencies": { 550 | "ansi-regex": { 551 | "version": "2.1.1", 552 | "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz", 553 | "integrity": "sha1-w7M6te42DYbg5ijwRorn7yfWVN8=", 554 | "dev": true 555 | } 556 | } 557 | }, 558 | "code-point-at": { 559 | "version": "1.1.0", 560 | "resolved": "https://registry.npmjs.org/code-point-at/-/code-point-at-1.1.0.tgz", 561 | "integrity": "sha1-DQcLTQQ6W+ozovGkDi7bPZpMz3c=", 562 | "dev": true 563 | }, 564 | "color-convert": { 565 | "version": "1.9.3", 566 | "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", 567 | "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", 568 | "dev": true, 569 | "requires": { 570 | "color-name": "1.1.3" 571 | } 572 | }, 573 | "color-name": { 574 | "version": "1.1.3", 575 | "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", 576 | "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=", 577 | "dev": true 578 | }, 579 | "concat-map": { 580 | "version": "0.0.1", 581 | "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", 582 | "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=", 583 | "dev": true 584 | }, 585 | "console-control-strings": { 586 | "version": "1.1.0", 587 | "resolved": "https://registry.npmjs.org/console-control-strings/-/console-control-strings-1.1.0.tgz", 588 | "integrity": "sha1-PXz0Rk22RG6mRL9LOVB/mFEAjo4=", 589 | "dev": true 590 | }, 591 | "core-util-is": { 592 | "version": "1.0.2", 593 | "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz", 594 | "integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac=", 595 | "dev": true 596 | }, 597 | "cross-spawn": { 598 | "version": "7.0.3", 599 | "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz", 600 | "integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==", 601 | "dev": true, 602 | "requires": { 603 | "path-key": "^3.1.0", 604 | "shebang-command": "^2.0.0", 605 | "which": "^2.0.1" 606 | } 607 | }, 608 | "d": { 609 | "version": "1.0.1", 610 | "resolved": "https://registry.npmjs.org/d/-/d-1.0.1.tgz", 611 | "integrity": "sha512-m62ShEObQ39CfralilEQRjH6oAMtNCV1xJyEx5LpRYUVN+EviphDgUc/F3hnYbADmkiNs67Y+3ylmlG7Lnu+FA==", 612 | "dev": true, 613 | "requires": { 614 | "es5-ext": "^0.10.50", 615 | "type": "^1.0.1" 616 | } 617 | }, 618 | "debug": { 619 | "version": "4.2.0", 620 | "resolved": "https://registry.npmjs.org/debug/-/debug-4.2.0.tgz", 621 | "integrity": "sha512-IX2ncY78vDTjZMFUdmsvIRFY2Cf4FnD0wRs+nQwJU8Lu99/tPFdb0VybiiMTPe3I6rQmwsqQqRBvxU+bZ/I8sg==", 622 | "dev": true, 623 | "requires": { 624 | "ms": "2.1.2" 625 | } 626 | }, 627 | "deep-extend": { 628 | "version": "0.6.0", 629 | "resolved": "https://registry.npmjs.org/deep-extend/-/deep-extend-0.6.0.tgz", 630 | "integrity": "sha512-LOHxIOaPYdHlJRtCQfDIVZtfw/ufM8+rVj649RIHzcm/vGwQRXFt6OPqIFWsm2XEMrNIEtWR64sY1LEKD2vAOA==", 631 | "dev": true 632 | }, 633 | "deep-is": { 634 | "version": "0.1.3", 635 | "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.3.tgz", 636 | "integrity": "sha1-s2nW+128E+7PUk+RsHD+7cNXzzQ=", 637 | "dev": true 638 | }, 639 | "delegates": { 640 | "version": "1.0.0", 641 | "resolved": "https://registry.npmjs.org/delegates/-/delegates-1.0.0.tgz", 642 | "integrity": "sha1-hMbhWbgZBP3KWaDvRM2HDTElD5o=", 643 | "dev": true 644 | }, 645 | "detect-libc": { 646 | "version": "1.0.3", 647 | "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-1.0.3.tgz", 648 | "integrity": "sha1-+hN8S9aY7fVc1c0CrFWfkaTEups=", 649 | "dev": true 650 | }, 651 | "dir-glob": { 652 | "version": "3.0.1", 653 | "resolved": "https://registry.npmjs.org/dir-glob/-/dir-glob-3.0.1.tgz", 654 | "integrity": "sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA==", 655 | "dev": true, 656 | "requires": { 657 | "path-type": "^4.0.0" 658 | } 659 | }, 660 | "doctrine": { 661 | "version": "3.0.0", 662 | "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-3.0.0.tgz", 663 | "integrity": "sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w==", 664 | "dev": true, 665 | "requires": { 666 | "esutils": "^2.0.2" 667 | } 668 | }, 669 | "emoji-regex": { 670 | "version": "8.0.0", 671 | "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", 672 | "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", 673 | "dev": true 674 | }, 675 | "enquirer": { 676 | "version": "2.3.6", 677 | "resolved": "https://registry.npmjs.org/enquirer/-/enquirer-2.3.6.tgz", 678 | "integrity": "sha512-yjNnPr315/FjS4zIsUxYguYUPP2e1NK4d7E7ZOLiyYCcbFBiTMyID+2wvm2w6+pZ/odMA7cRkjhsPbltwBOrLg==", 679 | "dev": true, 680 | "requires": { 681 | "ansi-colors": "^4.1.1" 682 | } 683 | }, 684 | "es5-ext": { 685 | "version": "0.10.53", 686 | "resolved": "https://registry.npmjs.org/es5-ext/-/es5-ext-0.10.53.tgz", 687 | "integrity": "sha512-Xs2Stw6NiNHWypzRTY1MtaG/uJlwCk8kH81920ma8mvN8Xq1gsfhZvpkImLQArw8AHnv8MT2I45J3c0R8slE+Q==", 688 | "dev": true, 689 | "requires": { 690 | "es6-iterator": "~2.0.3", 691 | "es6-symbol": "~3.1.3", 692 | "next-tick": "~1.0.0" 693 | } 694 | }, 695 | "es6-iterator": { 696 | "version": "2.0.3", 697 | "resolved": "https://registry.npmjs.org/es6-iterator/-/es6-iterator-2.0.3.tgz", 698 | "integrity": "sha1-p96IkUGgWpSwhUQDstCg+/qY87c=", 699 | "dev": true, 700 | "requires": { 701 | "d": "1", 702 | "es5-ext": "^0.10.35", 703 | "es6-symbol": "^3.1.1" 704 | } 705 | }, 706 | "es6-symbol": { 707 | "version": "3.1.3", 708 | "resolved": "https://registry.npmjs.org/es6-symbol/-/es6-symbol-3.1.3.tgz", 709 | "integrity": "sha512-NJ6Yn3FuDinBaBRWl/q5X/s4koRHBrgKAu+yGI6JCBeiu3qrcbJhwT2GeR/EXVfylRk8dpQVJoLEFhK+Mu31NA==", 710 | "dev": true, 711 | "requires": { 712 | "d": "^1.0.1", 713 | "ext": "^1.1.2" 714 | } 715 | }, 716 | "es6-weak-map": { 717 | "version": "2.0.3", 718 | "resolved": "https://registry.npmjs.org/es6-weak-map/-/es6-weak-map-2.0.3.tgz", 719 | "integrity": "sha512-p5um32HOTO1kP+w7PRnB+5lQ43Z6muuMuIMffvDN8ZB4GcnjLBV6zGStpbASIMk4DCAvEaamhe2zhyCb/QXXsA==", 720 | "dev": true, 721 | "requires": { 722 | "d": "1", 723 | "es5-ext": "^0.10.46", 724 | "es6-iterator": "^2.0.3", 725 | "es6-symbol": "^3.1.1" 726 | } 727 | }, 728 | "escape-string-regexp": { 729 | "version": "1.0.5", 730 | "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", 731 | "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=", 732 | "dev": true 733 | }, 734 | "eslint": { 735 | "version": "7.27.0", 736 | "resolved": "https://registry.npmjs.org/eslint/-/eslint-7.27.0.tgz", 737 | "integrity": "sha512-JZuR6La2ZF0UD384lcbnd0Cgg6QJjiCwhMD6eU4h/VGPcVGwawNNzKU41tgokGXnfjOOyI6QIffthhJTPzzuRA==", 738 | "dev": true, 739 | "requires": { 740 | "@babel/code-frame": "7.12.11", 741 | "@eslint/eslintrc": "^0.4.1", 742 | "ajv": "^6.10.0", 743 | "chalk": "^4.0.0", 744 | "cross-spawn": "^7.0.2", 745 | "debug": "^4.0.1", 746 | "doctrine": "^3.0.0", 747 | "enquirer": "^2.3.5", 748 | "escape-string-regexp": "^4.0.0", 749 | "eslint-scope": "^5.1.1", 750 | "eslint-utils": "^2.1.0", 751 | "eslint-visitor-keys": "^2.0.0", 752 | "espree": "^7.3.1", 753 | "esquery": "^1.4.0", 754 | "esutils": "^2.0.2", 755 | "fast-deep-equal": "^3.1.3", 756 | "file-entry-cache": "^6.0.1", 757 | "functional-red-black-tree": "^1.0.1", 758 | "glob-parent": "^5.0.0", 759 | "globals": "^13.6.0", 760 | "ignore": "^4.0.6", 761 | "import-fresh": "^3.0.0", 762 | "imurmurhash": "^0.1.4", 763 | "is-glob": "^4.0.0", 764 | "js-yaml": "^3.13.1", 765 | "json-stable-stringify-without-jsonify": "^1.0.1", 766 | "levn": "^0.4.1", 767 | "lodash.merge": "^4.6.2", 768 | "minimatch": "^3.0.4", 769 | "natural-compare": "^1.4.0", 770 | "optionator": "^0.9.1", 771 | "progress": "^2.0.0", 772 | "regexpp": "^3.1.0", 773 | "semver": "^7.2.1", 774 | "strip-ansi": "^6.0.0", 775 | "strip-json-comments": "^3.1.0", 776 | "table": "^6.0.9", 777 | "text-table": "^0.2.0", 778 | "v8-compile-cache": "^2.0.3" 779 | }, 780 | "dependencies": { 781 | "@babel/code-frame": { 782 | "version": "7.12.11", 783 | "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.12.11.tgz", 784 | "integrity": "sha512-Zt1yodBx1UcyiePMSkWnU4hPqhwq7hGi2nFL1LeA3EUl+q2LQx16MISgJ0+z7dnmgvP9QtIleuETGOiOH1RcIw==", 785 | "dev": true, 786 | "requires": { 787 | "@babel/highlight": "^7.10.4" 788 | } 789 | }, 790 | "ansi-styles": { 791 | "version": "4.3.0", 792 | "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", 793 | "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", 794 | "dev": true, 795 | "requires": { 796 | "color-convert": "^2.0.1" 797 | } 798 | }, 799 | "chalk": { 800 | "version": "4.1.1", 801 | "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.1.tgz", 802 | "integrity": "sha512-diHzdDKxcU+bAsUboHLPEDQiw0qEe0qd7SYUn3HgcFlWgbDcfLGswOHYeGrHKzG9z6UYf01d9VFMfZxPM1xZSg==", 803 | "dev": true, 804 | "requires": { 805 | "ansi-styles": "^4.1.0", 806 | "supports-color": "^7.1.0" 807 | } 808 | }, 809 | "color-convert": { 810 | "version": "2.0.1", 811 | "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", 812 | "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", 813 | "dev": true, 814 | "requires": { 815 | "color-name": "~1.1.4" 816 | } 817 | }, 818 | "color-name": { 819 | "version": "1.1.4", 820 | "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", 821 | "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", 822 | "dev": true 823 | }, 824 | "escape-string-regexp": { 825 | "version": "4.0.0", 826 | "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz", 827 | "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==", 828 | "dev": true 829 | }, 830 | "eslint-utils": { 831 | "version": "2.1.0", 832 | "resolved": "https://registry.npmjs.org/eslint-utils/-/eslint-utils-2.1.0.tgz", 833 | "integrity": "sha512-w94dQYoauyvlDc43XnGB8lU3Zt713vNChgt4EWwhXAP2XkBvndfxF0AgIqKOOasjPIPzj9JqgwkwbCYD0/V3Zg==", 834 | "dev": true, 835 | "requires": { 836 | "eslint-visitor-keys": "^1.1.0" 837 | }, 838 | "dependencies": { 839 | "eslint-visitor-keys": { 840 | "version": "1.3.0", 841 | "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-1.3.0.tgz", 842 | "integrity": "sha512-6J72N8UNa462wa/KFODt/PJ3IU60SDpC3QXC1Hjc1BXXpfL2C9R5+AU7jhe0F6GREqVMh4Juu+NY7xn+6dipUQ==", 843 | "dev": true 844 | } 845 | } 846 | }, 847 | "eslint-visitor-keys": { 848 | "version": "2.1.0", 849 | "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-2.1.0.tgz", 850 | "integrity": "sha512-0rSmRBzXgDzIsD6mGdJgevzgezI534Cer5L/vyMX0kHzT/jiB43jRhd9YUlMGYLQy2zprNmoT8qasCGtY+QaKw==", 851 | "dev": true 852 | }, 853 | "globals": { 854 | "version": "13.9.0", 855 | "resolved": "https://registry.npmjs.org/globals/-/globals-13.9.0.tgz", 856 | "integrity": "sha512-74/FduwI/JaIrr1H8e71UbDE+5x7pIPs1C2rrwC52SszOo043CsWOZEMW7o2Y58xwm9b+0RBKDxY5n2sUpEFxA==", 857 | "dev": true, 858 | "requires": { 859 | "type-fest": "^0.20.2" 860 | } 861 | }, 862 | "has-flag": { 863 | "version": "4.0.0", 864 | "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", 865 | "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", 866 | "dev": true 867 | }, 868 | "ignore": { 869 | "version": "4.0.6", 870 | "resolved": "https://registry.npmjs.org/ignore/-/ignore-4.0.6.tgz", 871 | "integrity": "sha512-cyFDKrqc/YdcWFniJhzI42+AzS+gNwmUzOSFcRCQYwySuBBBy/KjuxWLZ/FHEH6Moq1NizMOBWyTcv8O4OZIMg==", 872 | "dev": true 873 | }, 874 | "supports-color": { 875 | "version": "7.2.0", 876 | "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", 877 | "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", 878 | "dev": true, 879 | "requires": { 880 | "has-flag": "^4.0.0" 881 | } 882 | }, 883 | "type-fest": { 884 | "version": "0.20.2", 885 | "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.20.2.tgz", 886 | "integrity": "sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==", 887 | "dev": true 888 | } 889 | } 890 | }, 891 | "eslint-config-prettier": { 892 | "version": "8.3.0", 893 | "resolved": "https://registry.npmjs.org/eslint-config-prettier/-/eslint-config-prettier-8.3.0.tgz", 894 | "integrity": "sha512-BgZuLUSeKzvlL/VUjx/Yb787VQ26RU3gGjA3iiFvdsp/2bMfVIWUVP7tjxtjS0e+HP409cPlPvNkQloz8C91ew==", 895 | "dev": true 896 | }, 897 | "eslint-scope": { 898 | "version": "5.1.1", 899 | "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-5.1.1.tgz", 900 | "integrity": "sha512-2NxwbF/hZ0KpepYN0cNbo+FN6XoK7GaHlQhgx/hIZl6Va0bF45RQOOwhLIy8lQDbuCiadSLCBnH2CFYquit5bw==", 901 | "dev": true, 902 | "requires": { 903 | "esrecurse": "^4.3.0", 904 | "estraverse": "^4.1.1" 905 | } 906 | }, 907 | "eslint-utils": { 908 | "version": "3.0.0", 909 | "resolved": "https://registry.npmjs.org/eslint-utils/-/eslint-utils-3.0.0.tgz", 910 | "integrity": "sha512-uuQC43IGctw68pJA1RgbQS8/NP7rch6Cwd4j3ZBtgo4/8Flj4eGE7ZYSZRN3iq5pVUv6GPdW5Z1RFleo84uLDA==", 911 | "dev": true, 912 | "requires": { 913 | "eslint-visitor-keys": "^2.0.0" 914 | }, 915 | "dependencies": { 916 | "eslint-visitor-keys": { 917 | "version": "2.1.0", 918 | "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-2.1.0.tgz", 919 | "integrity": "sha512-0rSmRBzXgDzIsD6mGdJgevzgezI534Cer5L/vyMX0kHzT/jiB43jRhd9YUlMGYLQy2zprNmoT8qasCGtY+QaKw==", 920 | "dev": true 921 | } 922 | } 923 | }, 924 | "eslint-visitor-keys": { 925 | "version": "1.3.0", 926 | "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-1.3.0.tgz", 927 | "integrity": "sha512-6J72N8UNa462wa/KFODt/PJ3IU60SDpC3QXC1Hjc1BXXpfL2C9R5+AU7jhe0F6GREqVMh4Juu+NY7xn+6dipUQ==", 928 | "dev": true 929 | }, 930 | "espree": { 931 | "version": "7.3.1", 932 | "resolved": "https://registry.npmjs.org/espree/-/espree-7.3.1.tgz", 933 | "integrity": "sha512-v3JCNCE64umkFpmkFGqzVKsOT0tN1Zr+ueqLZfpV1Ob8e+CEgPWa+OxCoGH3tnhimMKIaBm4m/vaRpJ/krRz2g==", 934 | "dev": true, 935 | "requires": { 936 | "acorn": "^7.4.0", 937 | "acorn-jsx": "^5.3.1", 938 | "eslint-visitor-keys": "^1.3.0" 939 | } 940 | }, 941 | "esprima": { 942 | "version": "4.0.1", 943 | "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz", 944 | "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==", 945 | "dev": true 946 | }, 947 | "esquery": { 948 | "version": "1.4.0", 949 | "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.4.0.tgz", 950 | "integrity": "sha512-cCDispWt5vHHtwMY2YrAQ4ibFkAL8RbH5YGBnZBc90MolvvfkkQcJro/aZiAQUlQ3qgrYS6D6v8Gc5G5CQsc9w==", 951 | "dev": true, 952 | "requires": { 953 | "estraverse": "^5.1.0" 954 | }, 955 | "dependencies": { 956 | "estraverse": { 957 | "version": "5.2.0", 958 | "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.2.0.tgz", 959 | "integrity": "sha512-BxbNGGNm0RyRYvUdHpIwv9IWzeM9XClbOxwoATuFdOE7ZE6wHL+HQ5T8hoPM+zHvmKzzsEqhgy0GrQ5X13afiQ==", 960 | "dev": true 961 | } 962 | } 963 | }, 964 | "esrecurse": { 965 | "version": "4.3.0", 966 | "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.3.0.tgz", 967 | "integrity": "sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==", 968 | "dev": true, 969 | "requires": { 970 | "estraverse": "^5.2.0" 971 | }, 972 | "dependencies": { 973 | "estraverse": { 974 | "version": "5.2.0", 975 | "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.2.0.tgz", 976 | "integrity": "sha512-BxbNGGNm0RyRYvUdHpIwv9IWzeM9XClbOxwoATuFdOE7ZE6wHL+HQ5T8hoPM+zHvmKzzsEqhgy0GrQ5X13afiQ==", 977 | "dev": true 978 | } 979 | } 980 | }, 981 | "estraverse": { 982 | "version": "4.3.0", 983 | "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-4.3.0.tgz", 984 | "integrity": "sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==", 985 | "dev": true 986 | }, 987 | "esutils": { 988 | "version": "2.0.3", 989 | "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz", 990 | "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==", 991 | "dev": true 992 | }, 993 | "event-emitter": { 994 | "version": "0.3.5", 995 | "resolved": "https://registry.npmjs.org/event-emitter/-/event-emitter-0.3.5.tgz", 996 | "integrity": "sha1-34xp7vFkeSPHFXuc6DhAYQsCzDk=", 997 | "dev": true, 998 | "requires": { 999 | "d": "1", 1000 | "es5-ext": "~0.10.14" 1001 | } 1002 | }, 1003 | "ext": { 1004 | "version": "1.4.0", 1005 | "resolved": "https://registry.npmjs.org/ext/-/ext-1.4.0.tgz", 1006 | "integrity": "sha512-Key5NIsUxdqKg3vIsdw9dSuXpPCQ297y6wBjL30edxwPgt2E44WcWBZey/ZvUc6sERLTxKdyCu4gZFmUbk1Q7A==", 1007 | "dev": true, 1008 | "requires": { 1009 | "type": "^2.0.0" 1010 | }, 1011 | "dependencies": { 1012 | "type": { 1013 | "version": "2.5.0", 1014 | "resolved": "https://registry.npmjs.org/type/-/type-2.5.0.tgz", 1015 | "integrity": "sha512-180WMDQaIMm3+7hGXWf12GtdniDEy7nYcyFMKJn/eZz/6tSLXrUN9V0wKSbMjej0I1WHWbpREDEKHtqPQa9NNw==", 1016 | "dev": true 1017 | } 1018 | } 1019 | }, 1020 | "fast-deep-equal": { 1021 | "version": "3.1.3", 1022 | "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", 1023 | "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==", 1024 | "dev": true 1025 | }, 1026 | "fast-glob": { 1027 | "version": "3.2.5", 1028 | "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.2.5.tgz", 1029 | "integrity": "sha512-2DtFcgT68wiTTiwZ2hNdJfcHNke9XOfnwmBRWXhmeKM8rF0TGwmC/Qto3S7RoZKp5cilZbxzO5iTNTQsJ+EeDg==", 1030 | "dev": true, 1031 | "requires": { 1032 | "@nodelib/fs.stat": "^2.0.2", 1033 | "@nodelib/fs.walk": "^1.2.3", 1034 | "glob-parent": "^5.1.0", 1035 | "merge2": "^1.3.0", 1036 | "micromatch": "^4.0.2", 1037 | "picomatch": "^2.2.1" 1038 | } 1039 | }, 1040 | "fast-json-stable-stringify": { 1041 | "version": "2.1.0", 1042 | "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz", 1043 | "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==", 1044 | "dev": true 1045 | }, 1046 | "fast-levenshtein": { 1047 | "version": "2.0.6", 1048 | "resolved": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz", 1049 | "integrity": "sha1-PYpcZog6FqMMqGQ+hR8Zuqd5eRc=", 1050 | "dev": true 1051 | }, 1052 | "fastq": { 1053 | "version": "1.11.0", 1054 | "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.11.0.tgz", 1055 | "integrity": "sha512-7Eczs8gIPDrVzT+EksYBcupqMyxSHXXrHOLRRxU2/DicV8789MRBRR8+Hc2uWzUupOs4YS4JzBmBxjjCVBxD/g==", 1056 | "dev": true, 1057 | "requires": { 1058 | "reusify": "^1.0.4" 1059 | } 1060 | }, 1061 | "file-entry-cache": { 1062 | "version": "6.0.1", 1063 | "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-6.0.1.tgz", 1064 | "integrity": "sha512-7Gps/XWymbLk2QLYK4NzpMOrYjMhdIxXuIvy2QBsLE6ljuodKvdkWs/cpyJJ3CVIVpH0Oi1Hvg1ovbMzLdFBBg==", 1065 | "dev": true, 1066 | "requires": { 1067 | "flat-cache": "^3.0.4" 1068 | } 1069 | }, 1070 | "fill-range": { 1071 | "version": "7.0.1", 1072 | "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz", 1073 | "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==", 1074 | "dev": true, 1075 | "requires": { 1076 | "to-regex-range": "^5.0.1" 1077 | } 1078 | }, 1079 | "flat-cache": { 1080 | "version": "3.0.4", 1081 | "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-3.0.4.tgz", 1082 | "integrity": "sha512-dm9s5Pw7Jc0GvMYbshN6zchCA9RgQlzzEZX3vylR9IqFfS8XciblUXOKfW6SiuJ0e13eDYZoZV5wdrev7P3Nwg==", 1083 | "dev": true, 1084 | "requires": { 1085 | "flatted": "^3.1.0", 1086 | "rimraf": "^3.0.2" 1087 | }, 1088 | "dependencies": { 1089 | "rimraf": { 1090 | "version": "3.0.2", 1091 | "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", 1092 | "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", 1093 | "dev": true, 1094 | "requires": { 1095 | "glob": "^7.1.3" 1096 | } 1097 | } 1098 | } 1099 | }, 1100 | "flatted": { 1101 | "version": "3.1.1", 1102 | "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.1.1.tgz", 1103 | "integrity": "sha512-zAoAQiudy+r5SvnSw3KJy5os/oRJYHzrzja/tBDqrZtNhUw8bt6y8OBzMWcjWr+8liV8Eb6yOhw8WZ7VFZ5ZzA==", 1104 | "dev": true 1105 | }, 1106 | "fs-minipass": { 1107 | "version": "1.2.7", 1108 | "resolved": "https://registry.npmjs.org/fs-minipass/-/fs-minipass-1.2.7.tgz", 1109 | "integrity": "sha512-GWSSJGFy4e9GUeCcbIkED+bgAoFyj7XF1mV8rma3QW4NIqX9Kyx79N/PF61H5udOV3aY1IaMLs6pGbH71nlCTA==", 1110 | "dev": true, 1111 | "requires": { 1112 | "minipass": "^2.6.0" 1113 | } 1114 | }, 1115 | "fs.realpath": { 1116 | "version": "1.0.0", 1117 | "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", 1118 | "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=", 1119 | "dev": true 1120 | }, 1121 | "functional-red-black-tree": { 1122 | "version": "1.0.1", 1123 | "resolved": "https://registry.npmjs.org/functional-red-black-tree/-/functional-red-black-tree-1.0.1.tgz", 1124 | "integrity": "sha1-GwqzvVU7Kg1jmdKcDj6gslIHgyc=", 1125 | "dev": true 1126 | }, 1127 | "gateway-addon": { 1128 | "version": "1.0.0", 1129 | "resolved": "https://registry.npmjs.org/gateway-addon/-/gateway-addon-1.0.0.tgz", 1130 | "integrity": "sha512-r96XdpNuV1Lj2WFy4FrdtE37i1HL605rzG2NdXsMSvA6zJEm3jgw0GcLpsET7QMHsTALA0SlX1rcQgdehg/Ipw==", 1131 | "dev": true, 1132 | "requires": { 1133 | "ajv": "^6.12.6", 1134 | "sqlite3": "^4.2.0", 1135 | "ws": "^7.4.0" 1136 | }, 1137 | "dependencies": { 1138 | "ajv": { 1139 | "version": "6.12.6", 1140 | "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", 1141 | "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", 1142 | "dev": true, 1143 | "requires": { 1144 | "fast-deep-equal": "^3.1.1", 1145 | "fast-json-stable-stringify": "^2.0.0", 1146 | "json-schema-traverse": "^0.4.1", 1147 | "uri-js": "^4.2.2" 1148 | } 1149 | } 1150 | } 1151 | }, 1152 | "gauge": { 1153 | "version": "2.7.4", 1154 | "resolved": "https://registry.npmjs.org/gauge/-/gauge-2.7.4.tgz", 1155 | "integrity": "sha1-LANAXHU4w51+s3sxcCLjJfsBi/c=", 1156 | "dev": true, 1157 | "requires": { 1158 | "aproba": "^1.0.3", 1159 | "console-control-strings": "^1.0.0", 1160 | "has-unicode": "^2.0.0", 1161 | "object-assign": "^4.1.0", 1162 | "signal-exit": "^3.0.0", 1163 | "string-width": "^1.0.1", 1164 | "strip-ansi": "^3.0.1", 1165 | "wide-align": "^1.1.0" 1166 | }, 1167 | "dependencies": { 1168 | "ansi-regex": { 1169 | "version": "2.1.1", 1170 | "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz", 1171 | "integrity": "sha1-w7M6te42DYbg5ijwRorn7yfWVN8=", 1172 | "dev": true 1173 | }, 1174 | "string-width": { 1175 | "version": "1.0.2", 1176 | "resolved": "https://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz", 1177 | "integrity": "sha1-EYvfW4zcUaKn5w0hHgfisLmxB9M=", 1178 | "dev": true, 1179 | "requires": { 1180 | "code-point-at": "^1.0.0", 1181 | "is-fullwidth-code-point": "^1.0.0", 1182 | "strip-ansi": "^3.0.0" 1183 | } 1184 | }, 1185 | "strip-ansi": { 1186 | "version": "3.0.1", 1187 | "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz", 1188 | "integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=", 1189 | "dev": true, 1190 | "requires": { 1191 | "ansi-regex": "^2.0.0" 1192 | } 1193 | } 1194 | } 1195 | }, 1196 | "get-stdin": { 1197 | "version": "8.0.0", 1198 | "resolved": "https://registry.npmjs.org/get-stdin/-/get-stdin-8.0.0.tgz", 1199 | "integrity": "sha512-sY22aA6xchAzprjyqmSEQv4UbAAzRN0L2dQB0NlN5acTTK9Don6nhoc3eAbUnpZiCANAMfd/+40kVdKfFygohg==", 1200 | "dev": true 1201 | }, 1202 | "glob": { 1203 | "version": "7.1.6", 1204 | "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.6.tgz", 1205 | "integrity": "sha512-LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMBA==", 1206 | "dev": true, 1207 | "requires": { 1208 | "fs.realpath": "^1.0.0", 1209 | "inflight": "^1.0.4", 1210 | "inherits": "2", 1211 | "minimatch": "^3.0.4", 1212 | "once": "^1.3.0", 1213 | "path-is-absolute": "^1.0.0" 1214 | } 1215 | }, 1216 | "glob-parent": { 1217 | "version": "5.1.2", 1218 | "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", 1219 | "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", 1220 | "dev": true, 1221 | "requires": { 1222 | "is-glob": "^4.0.1" 1223 | } 1224 | }, 1225 | "glob-promise": { 1226 | "version": "3.4.0", 1227 | "resolved": "https://registry.npmjs.org/glob-promise/-/glob-promise-3.4.0.tgz", 1228 | "integrity": "sha512-q08RJ6O+eJn+dVanerAndJwIcumgbDdYiUT7zFQl3Wm1xD6fBKtah7H8ZJChj4wP+8C+QfeVy8xautR7rdmKEw==", 1229 | "dev": true, 1230 | "requires": { 1231 | "@types/glob": "*" 1232 | } 1233 | }, 1234 | "globals": { 1235 | "version": "11.12.0", 1236 | "resolved": "https://registry.npmjs.org/globals/-/globals-11.12.0.tgz", 1237 | "integrity": "sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==", 1238 | "dev": true 1239 | }, 1240 | "globby": { 1241 | "version": "11.0.3", 1242 | "resolved": "https://registry.npmjs.org/globby/-/globby-11.0.3.tgz", 1243 | "integrity": "sha512-ffdmosjA807y7+lA1NM0jELARVmYul/715xiILEjo3hBLPTcirgQNnXECn5g3mtR8TOLCVbkfua1Hpen25/Xcg==", 1244 | "dev": true, 1245 | "requires": { 1246 | "array-union": "^2.1.0", 1247 | "dir-glob": "^3.0.1", 1248 | "fast-glob": "^3.1.1", 1249 | "ignore": "^5.1.4", 1250 | "merge2": "^1.3.0", 1251 | "slash": "^3.0.0" 1252 | } 1253 | }, 1254 | "has-flag": { 1255 | "version": "3.0.0", 1256 | "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", 1257 | "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=", 1258 | "dev": true 1259 | }, 1260 | "has-unicode": { 1261 | "version": "2.0.1", 1262 | "resolved": "https://registry.npmjs.org/has-unicode/-/has-unicode-2.0.1.tgz", 1263 | "integrity": "sha1-4Ob+aijPUROIVeCG0Wkedx3iqLk=", 1264 | "dev": true 1265 | }, 1266 | "iconv-lite": { 1267 | "version": "0.4.24", 1268 | "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", 1269 | "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==", 1270 | "dev": true, 1271 | "requires": { 1272 | "safer-buffer": ">= 2.1.2 < 3" 1273 | } 1274 | }, 1275 | "ignore": { 1276 | "version": "5.1.8", 1277 | "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.1.8.tgz", 1278 | "integrity": "sha512-BMpfD7PpiETpBl/A6S498BaIJ6Y/ABT93ETbby2fP00v4EbvPBXWEoaR1UBPKs3iR53pJY7EtZk5KACI57i1Uw==", 1279 | "dev": true 1280 | }, 1281 | "ignore-walk": { 1282 | "version": "3.0.3", 1283 | "resolved": "https://registry.npmjs.org/ignore-walk/-/ignore-walk-3.0.3.tgz", 1284 | "integrity": "sha512-m7o6xuOaT1aqheYHKf8W6J5pYH85ZI9w077erOzLje3JsB1gkafkAhHHY19dqjulgIZHFm32Cp5uNZgcQqdJKw==", 1285 | "dev": true, 1286 | "requires": { 1287 | "minimatch": "^3.0.4" 1288 | } 1289 | }, 1290 | "import-fresh": { 1291 | "version": "3.3.0", 1292 | "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.0.tgz", 1293 | "integrity": "sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==", 1294 | "dev": true, 1295 | "requires": { 1296 | "parent-module": "^1.0.0", 1297 | "resolve-from": "^4.0.0" 1298 | } 1299 | }, 1300 | "imurmurhash": { 1301 | "version": "0.1.4", 1302 | "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz", 1303 | "integrity": "sha1-khi5srkoojixPcT7a21XbyMUU+o=", 1304 | "dev": true 1305 | }, 1306 | "inflight": { 1307 | "version": "1.0.6", 1308 | "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", 1309 | "integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=", 1310 | "dev": true, 1311 | "requires": { 1312 | "once": "^1.3.0", 1313 | "wrappy": "1" 1314 | } 1315 | }, 1316 | "inherits": { 1317 | "version": "2.0.4", 1318 | "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", 1319 | "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", 1320 | "dev": true 1321 | }, 1322 | "ini": { 1323 | "version": "1.3.8", 1324 | "resolved": "https://registry.npmjs.org/ini/-/ini-1.3.8.tgz", 1325 | "integrity": "sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==", 1326 | "dev": true 1327 | }, 1328 | "is-extglob": { 1329 | "version": "2.1.1", 1330 | "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", 1331 | "integrity": "sha1-qIwCU1eR8C7TfHahueqXc8gz+MI=", 1332 | "dev": true 1333 | }, 1334 | "is-fullwidth-code-point": { 1335 | "version": "1.0.0", 1336 | "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz", 1337 | "integrity": "sha1-754xOG8DGn8NZDr4L95QxFfvAMs=", 1338 | "dev": true, 1339 | "requires": { 1340 | "number-is-nan": "^1.0.0" 1341 | } 1342 | }, 1343 | "is-glob": { 1344 | "version": "4.0.1", 1345 | "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.1.tgz", 1346 | "integrity": "sha512-5G0tKtBTFImOqDnLB2hG6Bp2qcKEFduo4tZu9MT/H6NQv/ghhy30o55ufafxJ/LdH79LLs2Kfrn85TLKyA7BUg==", 1347 | "dev": true, 1348 | "requires": { 1349 | "is-extglob": "^2.1.1" 1350 | } 1351 | }, 1352 | "is-number": { 1353 | "version": "7.0.0", 1354 | "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", 1355 | "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", 1356 | "dev": true 1357 | }, 1358 | "is-promise": { 1359 | "version": "2.2.2", 1360 | "resolved": "https://registry.npmjs.org/is-promise/-/is-promise-2.2.2.tgz", 1361 | "integrity": "sha512-+lP4/6lKUBfQjZ2pdxThZvLUAafmZb8OAxFb8XXtiQmS35INgr85hdOGoEs124ez1FCnZJt6jau/T+alh58QFQ==", 1362 | "dev": true 1363 | }, 1364 | "isarray": { 1365 | "version": "1.0.0", 1366 | "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", 1367 | "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=", 1368 | "dev": true 1369 | }, 1370 | "isexe": { 1371 | "version": "2.0.0", 1372 | "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", 1373 | "integrity": "sha1-6PvzdNxVb/iUehDcsFctYz8s+hA=", 1374 | "dev": true 1375 | }, 1376 | "js-tokens": { 1377 | "version": "4.0.0", 1378 | "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", 1379 | "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==", 1380 | "dev": true 1381 | }, 1382 | "js-yaml": { 1383 | "version": "3.14.1", 1384 | "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.14.1.tgz", 1385 | "integrity": "sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g==", 1386 | "dev": true, 1387 | "requires": { 1388 | "argparse": "^1.0.7", 1389 | "esprima": "^4.0.0" 1390 | } 1391 | }, 1392 | "jsesc": { 1393 | "version": "2.5.2", 1394 | "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-2.5.2.tgz", 1395 | "integrity": "sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA==", 1396 | "dev": true 1397 | }, 1398 | "json-schema-ref-parser": { 1399 | "version": "9.0.7", 1400 | "resolved": "https://registry.npmjs.org/json-schema-ref-parser/-/json-schema-ref-parser-9.0.7.tgz", 1401 | "integrity": "sha512-uxU9Ix+MVszvCTvBucQiIcNEny3oAEFg7EQHSZw2bquCCuqUqEPEczIdv/Uqo1Zv4/wDPZqOI+ulrMk1ncMtjQ==", 1402 | "dev": true, 1403 | "requires": { 1404 | "@apidevtools/json-schema-ref-parser": "9.0.7" 1405 | } 1406 | }, 1407 | "json-schema-to-typescript": { 1408 | "version": "10.1.4", 1409 | "resolved": "https://registry.npmjs.org/json-schema-to-typescript/-/json-schema-to-typescript-10.1.4.tgz", 1410 | "integrity": "sha512-HWm23Z6Fnj3rnm4FKZh3sMz70hNoA+AfqVuV+ZcwFIhq6v76YVUMZSLlonrw7GI5yIoiuuJjB5rqakIYRCLlsg==", 1411 | "dev": true, 1412 | "requires": { 1413 | "@types/json-schema": "^7.0.6", 1414 | "@types/lodash": "^4.14.168", 1415 | "@types/prettier": "^2.1.5", 1416 | "cli-color": "^2.0.0", 1417 | "get-stdin": "^8.0.0", 1418 | "glob": "^7.1.6", 1419 | "glob-promise": "^3.4.0", 1420 | "is-glob": "^4.0.1", 1421 | "json-schema-ref-parser": "^9.0.6", 1422 | "json-stringify-safe": "^5.0.1", 1423 | "lodash": "^4.17.20", 1424 | "minimist": "^1.2.5", 1425 | "mkdirp": "^1.0.4", 1426 | "mz": "^2.7.0", 1427 | "prettier": "^2.2.0" 1428 | }, 1429 | "dependencies": { 1430 | "mkdirp": { 1431 | "version": "1.0.4", 1432 | "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz", 1433 | "integrity": "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==", 1434 | "dev": true 1435 | } 1436 | } 1437 | }, 1438 | "json-schema-traverse": { 1439 | "version": "0.4.1", 1440 | "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", 1441 | "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==", 1442 | "dev": true 1443 | }, 1444 | "json-stable-stringify-without-jsonify": { 1445 | "version": "1.0.1", 1446 | "resolved": "https://registry.npmjs.org/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz", 1447 | "integrity": "sha1-nbe1lJatPzz+8wp1FC0tkwrXJlE=", 1448 | "dev": true 1449 | }, 1450 | "json-stringify-safe": { 1451 | "version": "5.0.1", 1452 | "resolved": "https://registry.npmjs.org/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz", 1453 | "integrity": "sha1-Epai1Y/UXxmg9s4B1lcB4sc1tus=", 1454 | "dev": true 1455 | }, 1456 | "levn": { 1457 | "version": "0.4.1", 1458 | "resolved": "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz", 1459 | "integrity": "sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==", 1460 | "dev": true, 1461 | "requires": { 1462 | "prelude-ls": "^1.2.1", 1463 | "type-check": "~0.4.0" 1464 | } 1465 | }, 1466 | "lodash": { 1467 | "version": "4.17.20", 1468 | "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.20.tgz", 1469 | "integrity": "sha512-PlhdFcillOINfeV7Ni6oF1TAEayyZBoZ8bcshTHqOYJYlrqzRK5hagpagky5o4HfCzzd1TRkXPMFq6cKk9rGmA==", 1470 | "dev": true 1471 | }, 1472 | "lodash.clonedeep": { 1473 | "version": "4.5.0", 1474 | "resolved": "https://registry.npmjs.org/lodash.clonedeep/-/lodash.clonedeep-4.5.0.tgz", 1475 | "integrity": "sha1-4j8/nE+Pvd6HJSnBBxhXoIblzO8=", 1476 | "dev": true 1477 | }, 1478 | "lodash.merge": { 1479 | "version": "4.6.2", 1480 | "resolved": "https://registry.npmjs.org/lodash.merge/-/lodash.merge-4.6.2.tgz", 1481 | "integrity": "sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==", 1482 | "dev": true 1483 | }, 1484 | "lodash.truncate": { 1485 | "version": "4.4.2", 1486 | "resolved": "https://registry.npmjs.org/lodash.truncate/-/lodash.truncate-4.4.2.tgz", 1487 | "integrity": "sha1-WjUNoLERO4N+z//VgSy+WNbq4ZM=", 1488 | "dev": true 1489 | }, 1490 | "lru-cache": { 1491 | "version": "6.0.0", 1492 | "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", 1493 | "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", 1494 | "dev": true, 1495 | "requires": { 1496 | "yallist": "^4.0.0" 1497 | }, 1498 | "dependencies": { 1499 | "yallist": { 1500 | "version": "4.0.0", 1501 | "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", 1502 | "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", 1503 | "dev": true 1504 | } 1505 | } 1506 | }, 1507 | "lru-queue": { 1508 | "version": "0.1.0", 1509 | "resolved": "https://registry.npmjs.org/lru-queue/-/lru-queue-0.1.0.tgz", 1510 | "integrity": "sha1-Jzi9nw089PhEkMVzbEhpmsYyzaM=", 1511 | "dev": true, 1512 | "requires": { 1513 | "es5-ext": "~0.10.2" 1514 | } 1515 | }, 1516 | "memoizee": { 1517 | "version": "0.4.15", 1518 | "resolved": "https://registry.npmjs.org/memoizee/-/memoizee-0.4.15.tgz", 1519 | "integrity": "sha512-UBWmJpLZd5STPm7PMUlOw/TSy972M+z8gcyQ5veOnSDRREz/0bmpyTfKt3/51DhEBqCZQn1udM/5flcSPYhkdQ==", 1520 | "dev": true, 1521 | "requires": { 1522 | "d": "^1.0.1", 1523 | "es5-ext": "^0.10.53", 1524 | "es6-weak-map": "^2.0.3", 1525 | "event-emitter": "^0.3.5", 1526 | "is-promise": "^2.2.2", 1527 | "lru-queue": "^0.1.0", 1528 | "next-tick": "^1.1.0", 1529 | "timers-ext": "^0.1.7" 1530 | }, 1531 | "dependencies": { 1532 | "next-tick": { 1533 | "version": "1.1.0", 1534 | "resolved": "https://registry.npmjs.org/next-tick/-/next-tick-1.1.0.tgz", 1535 | "integrity": "sha512-CXdUiJembsNjuToQvxayPZF9Vqht7hewsvy2sOWafLvi2awflj9mOC6bHIg50orX8IJvWKY9wYQ/zB2kogPslQ==", 1536 | "dev": true 1537 | } 1538 | } 1539 | }, 1540 | "merge2": { 1541 | "version": "1.4.1", 1542 | "resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz", 1543 | "integrity": "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==", 1544 | "dev": true 1545 | }, 1546 | "micromatch": { 1547 | "version": "4.0.4", 1548 | "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.4.tgz", 1549 | "integrity": "sha512-pRmzw/XUcwXGpD9aI9q/0XOwLNygjETJ8y0ao0wdqprrzDa4YnxLcz7fQRZr8voh8V10kGhABbNcHVk5wHgWwg==", 1550 | "dev": true, 1551 | "requires": { 1552 | "braces": "^3.0.1", 1553 | "picomatch": "^2.2.3" 1554 | } 1555 | }, 1556 | "minimatch": { 1557 | "version": "3.0.4", 1558 | "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz", 1559 | "integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==", 1560 | "dev": true, 1561 | "requires": { 1562 | "brace-expansion": "^1.1.7" 1563 | } 1564 | }, 1565 | "minimist": { 1566 | "version": "1.2.5", 1567 | "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.5.tgz", 1568 | "integrity": "sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==", 1569 | "dev": true 1570 | }, 1571 | "minipass": { 1572 | "version": "2.9.0", 1573 | "resolved": "https://registry.npmjs.org/minipass/-/minipass-2.9.0.tgz", 1574 | "integrity": "sha512-wxfUjg9WebH+CUDX/CdbRlh5SmfZiy/hpkxaRI16Y9W56Pa75sWgd/rvFilSgrauD9NyFymP/+JFV3KwzIsJeg==", 1575 | "dev": true, 1576 | "requires": { 1577 | "safe-buffer": "^5.1.2", 1578 | "yallist": "^3.0.0" 1579 | } 1580 | }, 1581 | "minizlib": { 1582 | "version": "1.3.3", 1583 | "resolved": "https://registry.npmjs.org/minizlib/-/minizlib-1.3.3.tgz", 1584 | "integrity": "sha512-6ZYMOEnmVsdCeTJVE0W9ZD+pVnE8h9Hma/iOwwRDsdQoePpoX56/8B6z3P9VNwppJuBKNRuFDRNRqRWexT9G9Q==", 1585 | "dev": true, 1586 | "requires": { 1587 | "minipass": "^2.9.0" 1588 | } 1589 | }, 1590 | "mkdirp": { 1591 | "version": "0.5.5", 1592 | "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.5.tgz", 1593 | "integrity": "sha512-NKmAlESf6jMGym1++R0Ra7wvhV+wFW63FaSOFPwRahvea0gMUcGUhVeAg/0BC0wiv9ih5NYPB1Wn1UEI1/L+xQ==", 1594 | "dev": true, 1595 | "requires": { 1596 | "minimist": "^1.2.5" 1597 | } 1598 | }, 1599 | "ms": { 1600 | "version": "2.1.2", 1601 | "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", 1602 | "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", 1603 | "dev": true 1604 | }, 1605 | "mz": { 1606 | "version": "2.7.0", 1607 | "resolved": "https://registry.npmjs.org/mz/-/mz-2.7.0.tgz", 1608 | "integrity": "sha512-z81GNO7nnYMEhrGh9LeymoE4+Yr0Wn5McHIZMK5cfQCl+NDX08sCZgUc9/6MHni9IWuFLm1Z3HTCXu2z9fN62Q==", 1609 | "dev": true, 1610 | "requires": { 1611 | "any-promise": "^1.0.0", 1612 | "object-assign": "^4.0.1", 1613 | "thenify-all": "^1.0.0" 1614 | } 1615 | }, 1616 | "nan": { 1617 | "version": "2.14.2", 1618 | "resolved": "https://registry.npmjs.org/nan/-/nan-2.14.2.tgz", 1619 | "integrity": "sha512-M2ufzIiINKCuDfBSAUr1vWQ+vuVcA9kqx8JJUsbQi6yf1uGRyb7HfpdfUr5qLXf3B/t8dPvcjhKMmlfnP47EzQ==", 1620 | "dev": true 1621 | }, 1622 | "natural-compare": { 1623 | "version": "1.4.0", 1624 | "resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz", 1625 | "integrity": "sha1-Sr6/7tdUHywnrPspvbvRXI1bpPc=", 1626 | "dev": true 1627 | }, 1628 | "needle": { 1629 | "version": "2.6.0", 1630 | "resolved": "https://registry.npmjs.org/needle/-/needle-2.6.0.tgz", 1631 | "integrity": "sha512-KKYdza4heMsEfSWD7VPUIz3zX2XDwOyX2d+geb4vrERZMT5RMU6ujjaD+I5Yr54uZxQ2w6XRTAhHBbSCyovZBg==", 1632 | "dev": true, 1633 | "requires": { 1634 | "debug": "^3.2.6", 1635 | "iconv-lite": "^0.4.4", 1636 | "sax": "^1.2.4" 1637 | }, 1638 | "dependencies": { 1639 | "debug": { 1640 | "version": "3.2.7", 1641 | "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz", 1642 | "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==", 1643 | "dev": true, 1644 | "requires": { 1645 | "ms": "^2.1.1" 1646 | } 1647 | } 1648 | } 1649 | }, 1650 | "next-tick": { 1651 | "version": "1.0.0", 1652 | "resolved": "https://registry.npmjs.org/next-tick/-/next-tick-1.0.0.tgz", 1653 | "integrity": "sha1-yobR/ogoFpsBICCOPchCS524NCw=", 1654 | "dev": true 1655 | }, 1656 | "node-pre-gyp": { 1657 | "version": "0.11.0", 1658 | "resolved": "https://registry.npmjs.org/node-pre-gyp/-/node-pre-gyp-0.11.0.tgz", 1659 | "integrity": "sha512-TwWAOZb0j7e9eGaf9esRx3ZcLaE5tQ2lvYy1pb5IAaG1a2e2Kv5Lms1Y4hpj+ciXJRofIxxlt5haeQ/2ANeE0Q==", 1660 | "dev": true, 1661 | "requires": { 1662 | "detect-libc": "^1.0.2", 1663 | "mkdirp": "^0.5.1", 1664 | "needle": "^2.2.1", 1665 | "nopt": "^4.0.1", 1666 | "npm-packlist": "^1.1.6", 1667 | "npmlog": "^4.0.2", 1668 | "rc": "^1.2.7", 1669 | "rimraf": "^2.6.1", 1670 | "semver": "^5.3.0", 1671 | "tar": "^4" 1672 | }, 1673 | "dependencies": { 1674 | "semver": { 1675 | "version": "5.7.1", 1676 | "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", 1677 | "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", 1678 | "dev": true 1679 | } 1680 | } 1681 | }, 1682 | "nopt": { 1683 | "version": "4.0.3", 1684 | "resolved": "https://registry.npmjs.org/nopt/-/nopt-4.0.3.tgz", 1685 | "integrity": "sha512-CvaGwVMztSMJLOeXPrez7fyfObdZqNUK1cPAEzLHrTybIua9pMdmmPR5YwtfNftIOMv3DPUhFaxsZMNTQO20Kg==", 1686 | "dev": true, 1687 | "requires": { 1688 | "abbrev": "1", 1689 | "osenv": "^0.1.4" 1690 | } 1691 | }, 1692 | "npm-bundled": { 1693 | "version": "1.1.2", 1694 | "resolved": "https://registry.npmjs.org/npm-bundled/-/npm-bundled-1.1.2.tgz", 1695 | "integrity": "sha512-x5DHup0SuyQcmL3s7Rx/YQ8sbw/Hzg0rj48eN0dV7hf5cmQq5PXIeioroH3raV1QC1yh3uTYuMThvEQF3iKgGQ==", 1696 | "dev": true, 1697 | "requires": { 1698 | "npm-normalize-package-bin": "^1.0.1" 1699 | } 1700 | }, 1701 | "npm-normalize-package-bin": { 1702 | "version": "1.0.1", 1703 | "resolved": "https://registry.npmjs.org/npm-normalize-package-bin/-/npm-normalize-package-bin-1.0.1.tgz", 1704 | "integrity": "sha512-EPfafl6JL5/rU+ot6P3gRSCpPDW5VmIzX959Ob1+ySFUuuYHWHekXpwdUZcKP5C+DS4GEtdJluwBjnsNDl+fSA==", 1705 | "dev": true 1706 | }, 1707 | "npm-packlist": { 1708 | "version": "1.4.8", 1709 | "resolved": "https://registry.npmjs.org/npm-packlist/-/npm-packlist-1.4.8.tgz", 1710 | "integrity": "sha512-5+AZgwru5IevF5ZdnFglB5wNlHG1AOOuw28WhUq8/8emhBmLv6jX5by4WJCh7lW0uSYZYS6DXqIsyZVIXRZU9A==", 1711 | "dev": true, 1712 | "requires": { 1713 | "ignore-walk": "^3.0.1", 1714 | "npm-bundled": "^1.0.1", 1715 | "npm-normalize-package-bin": "^1.0.1" 1716 | } 1717 | }, 1718 | "npmlog": { 1719 | "version": "4.1.2", 1720 | "resolved": "https://registry.npmjs.org/npmlog/-/npmlog-4.1.2.tgz", 1721 | "integrity": "sha512-2uUqazuKlTaSI/dC8AzicUck7+IrEaOnN/e0jd3Xtt1KcGpwx30v50mL7oPyr/h9bL3E4aZccVwpwP+5W9Vjkg==", 1722 | "dev": true, 1723 | "requires": { 1724 | "are-we-there-yet": "~1.1.2", 1725 | "console-control-strings": "~1.1.0", 1726 | "gauge": "~2.7.3", 1727 | "set-blocking": "~2.0.0" 1728 | } 1729 | }, 1730 | "number-is-nan": { 1731 | "version": "1.0.1", 1732 | "resolved": "https://registry.npmjs.org/number-is-nan/-/number-is-nan-1.0.1.tgz", 1733 | "integrity": "sha1-CXtgK1NCKlIsGvuHkDGDNpQaAR0=", 1734 | "dev": true 1735 | }, 1736 | "object-assign": { 1737 | "version": "4.1.1", 1738 | "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", 1739 | "integrity": "sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=", 1740 | "dev": true 1741 | }, 1742 | "once": { 1743 | "version": "1.4.0", 1744 | "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", 1745 | "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=", 1746 | "dev": true, 1747 | "requires": { 1748 | "wrappy": "1" 1749 | } 1750 | }, 1751 | "optionator": { 1752 | "version": "0.9.1", 1753 | "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.1.tgz", 1754 | "integrity": "sha512-74RlY5FCnhq4jRxVUPKDaRwrVNXMqsGsiW6AJw4XK8hmtm10wC0ypZBLw5IIp85NZMr91+qd1RvvENwg7jjRFw==", 1755 | "dev": true, 1756 | "requires": { 1757 | "deep-is": "^0.1.3", 1758 | "fast-levenshtein": "^2.0.6", 1759 | "levn": "^0.4.1", 1760 | "prelude-ls": "^1.2.1", 1761 | "type-check": "^0.4.0", 1762 | "word-wrap": "^1.2.3" 1763 | } 1764 | }, 1765 | "os-homedir": { 1766 | "version": "1.0.2", 1767 | "resolved": "https://registry.npmjs.org/os-homedir/-/os-homedir-1.0.2.tgz", 1768 | "integrity": "sha1-/7xJiDNuDoM94MFox+8VISGqf7M=", 1769 | "dev": true 1770 | }, 1771 | "os-tmpdir": { 1772 | "version": "1.0.2", 1773 | "resolved": "https://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz", 1774 | "integrity": "sha1-u+Z0BseaqFxc/sdm/lc0VV36EnQ=", 1775 | "dev": true 1776 | }, 1777 | "osenv": { 1778 | "version": "0.1.5", 1779 | "resolved": "https://registry.npmjs.org/osenv/-/osenv-0.1.5.tgz", 1780 | "integrity": "sha512-0CWcCECdMVc2Rw3U5w9ZjqX6ga6ubk1xDVKxtBQPK7wis/0F2r9T6k4ydGYhecl7YUBxBVxhL5oisPsNxAPe2g==", 1781 | "dev": true, 1782 | "requires": { 1783 | "os-homedir": "^1.0.0", 1784 | "os-tmpdir": "^1.0.0" 1785 | } 1786 | }, 1787 | "parent-module": { 1788 | "version": "1.0.1", 1789 | "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz", 1790 | "integrity": "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==", 1791 | "dev": true, 1792 | "requires": { 1793 | "callsites": "^3.0.0" 1794 | } 1795 | }, 1796 | "path-is-absolute": { 1797 | "version": "1.0.1", 1798 | "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", 1799 | "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=", 1800 | "dev": true 1801 | }, 1802 | "path-key": { 1803 | "version": "3.1.1", 1804 | "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", 1805 | "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", 1806 | "dev": true 1807 | }, 1808 | "path-parse": { 1809 | "version": "1.0.6", 1810 | "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.6.tgz", 1811 | "integrity": "sha512-GSmOT2EbHrINBf9SR7CDELwlJ8AENk3Qn7OikK4nFYAu3Ote2+JYNVvkpAEQm3/TLNEJFD/xZJjzyxg3KBWOzw==", 1812 | "dev": true 1813 | }, 1814 | "path-type": { 1815 | "version": "4.0.0", 1816 | "resolved": "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz", 1817 | "integrity": "sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==", 1818 | "dev": true 1819 | }, 1820 | "picomatch": { 1821 | "version": "2.3.0", 1822 | "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.0.tgz", 1823 | "integrity": "sha512-lY1Q/PiJGC2zOv/z391WOTD+Z02bCgsFfvxoXXf6h7kv9o+WmsmzYqrAwY63sNgOxE4xEdq0WyUnXfKeBrSvYw==", 1824 | "dev": true 1825 | }, 1826 | "prelude-ls": { 1827 | "version": "1.2.1", 1828 | "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz", 1829 | "integrity": "sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==", 1830 | "dev": true 1831 | }, 1832 | "prettier": { 1833 | "version": "2.3.0", 1834 | "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.3.0.tgz", 1835 | "integrity": "sha512-kXtO4s0Lz/DW/IJ9QdWhAf7/NmPWQXkFr/r/WkR3vyI+0v8amTDxiaQSLzs8NBlytfLWX/7uQUMIW677yLKl4w==", 1836 | "dev": true 1837 | }, 1838 | "process-nextick-args": { 1839 | "version": "2.0.1", 1840 | "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.1.tgz", 1841 | "integrity": "sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==", 1842 | "dev": true 1843 | }, 1844 | "progress": { 1845 | "version": "2.0.3", 1846 | "resolved": "https://registry.npmjs.org/progress/-/progress-2.0.3.tgz", 1847 | "integrity": "sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA==", 1848 | "dev": true 1849 | }, 1850 | "punycode": { 1851 | "version": "2.1.1", 1852 | "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz", 1853 | "integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==", 1854 | "dev": true 1855 | }, 1856 | "queue-microtask": { 1857 | "version": "1.2.3", 1858 | "resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz", 1859 | "integrity": "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==", 1860 | "dev": true 1861 | }, 1862 | "rc": { 1863 | "version": "1.2.8", 1864 | "resolved": "https://registry.npmjs.org/rc/-/rc-1.2.8.tgz", 1865 | "integrity": "sha512-y3bGgqKj3QBdxLbLkomlohkvsA8gdAiUQlSBJnBhfn+BPxg4bc62d8TcBW15wavDfgexCgccckhcZvywyQYPOw==", 1866 | "dev": true, 1867 | "requires": { 1868 | "deep-extend": "^0.6.0", 1869 | "ini": "~1.3.0", 1870 | "minimist": "^1.2.0", 1871 | "strip-json-comments": "~2.0.1" 1872 | }, 1873 | "dependencies": { 1874 | "strip-json-comments": { 1875 | "version": "2.0.1", 1876 | "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-2.0.1.tgz", 1877 | "integrity": "sha1-PFMZQukIwml8DsNEhYwobHygpgo=", 1878 | "dev": true 1879 | } 1880 | } 1881 | }, 1882 | "readable-stream": { 1883 | "version": "2.3.7", 1884 | "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.7.tgz", 1885 | "integrity": "sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw==", 1886 | "dev": true, 1887 | "requires": { 1888 | "core-util-is": "~1.0.0", 1889 | "inherits": "~2.0.3", 1890 | "isarray": "~1.0.0", 1891 | "process-nextick-args": "~2.0.0", 1892 | "safe-buffer": "~5.1.1", 1893 | "string_decoder": "~1.1.1", 1894 | "util-deprecate": "~1.0.1" 1895 | } 1896 | }, 1897 | "regexpp": { 1898 | "version": "3.1.0", 1899 | "resolved": "https://registry.npmjs.org/regexpp/-/regexpp-3.1.0.tgz", 1900 | "integrity": "sha512-ZOIzd8yVsQQA7j8GCSlPGXwg5PfmA1mrq0JP4nGhh54LaKN3xdai/vHUDu74pKwV8OxseMS65u2NImosQcSD0Q==", 1901 | "dev": true 1902 | }, 1903 | "require-from-string": { 1904 | "version": "2.0.2", 1905 | "resolved": "https://registry.npmjs.org/require-from-string/-/require-from-string-2.0.2.tgz", 1906 | "integrity": "sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==", 1907 | "dev": true 1908 | }, 1909 | "resolve": { 1910 | "version": "1.17.0", 1911 | "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.17.0.tgz", 1912 | "integrity": "sha512-ic+7JYiV8Vi2yzQGFWOkiZD5Z9z7O2Zhm9XMaTxdJExKasieFCr+yXZ/WmXsckHiKl12ar0y6XiXDx3m4RHn1w==", 1913 | "dev": true, 1914 | "requires": { 1915 | "path-parse": "^1.0.6" 1916 | } 1917 | }, 1918 | "resolve-from": { 1919 | "version": "4.0.0", 1920 | "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz", 1921 | "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==", 1922 | "dev": true 1923 | }, 1924 | "reusify": { 1925 | "version": "1.0.4", 1926 | "resolved": "https://registry.npmjs.org/reusify/-/reusify-1.0.4.tgz", 1927 | "integrity": "sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==", 1928 | "dev": true 1929 | }, 1930 | "rimraf": { 1931 | "version": "2.7.1", 1932 | "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.7.1.tgz", 1933 | "integrity": "sha512-uWjbaKIK3T1OSVptzX7Nl6PvQ3qAGtKEtVRjRuazjfL3Bx5eI409VZSqgND+4UNnmzLVdPj9FqFJNPqBZFve4w==", 1934 | "dev": true, 1935 | "requires": { 1936 | "glob": "^7.1.3" 1937 | } 1938 | }, 1939 | "run-parallel": { 1940 | "version": "1.2.0", 1941 | "resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz", 1942 | "integrity": "sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==", 1943 | "dev": true, 1944 | "requires": { 1945 | "queue-microtask": "^1.2.2" 1946 | } 1947 | }, 1948 | "safe-buffer": { 1949 | "version": "5.1.2", 1950 | "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", 1951 | "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==", 1952 | "dev": true 1953 | }, 1954 | "safer-buffer": { 1955 | "version": "2.1.2", 1956 | "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", 1957 | "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==", 1958 | "dev": true 1959 | }, 1960 | "sax": { 1961 | "version": "1.2.4", 1962 | "resolved": "https://registry.npmjs.org/sax/-/sax-1.2.4.tgz", 1963 | "integrity": "sha512-NqVDv9TpANUjFm0N8uM5GxL36UgKi9/atZw+x7YFnQ8ckwFGKrl4xX4yWtrey3UJm5nP1kUbnYgLopqWNSRhWw==", 1964 | "dev": true 1965 | }, 1966 | "semver": { 1967 | "version": "7.3.5", 1968 | "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.5.tgz", 1969 | "integrity": "sha512-PoeGJYh8HK4BTO/a9Tf6ZG3veo/A7ZVsYrSA6J8ny9nb3B1VrpkuN+z9OE5wfE5p6H4LchYZsegiQgbJD94ZFQ==", 1970 | "dev": true, 1971 | "requires": { 1972 | "lru-cache": "^6.0.0" 1973 | } 1974 | }, 1975 | "set-blocking": { 1976 | "version": "2.0.0", 1977 | "resolved": "https://registry.npmjs.org/set-blocking/-/set-blocking-2.0.0.tgz", 1978 | "integrity": "sha1-BF+XgtARrppoA93TgrJDkrPYkPc=", 1979 | "dev": true 1980 | }, 1981 | "shebang-command": { 1982 | "version": "2.0.0", 1983 | "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", 1984 | "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==", 1985 | "dev": true, 1986 | "requires": { 1987 | "shebang-regex": "^3.0.0" 1988 | } 1989 | }, 1990 | "shebang-regex": { 1991 | "version": "3.0.0", 1992 | "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz", 1993 | "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==", 1994 | "dev": true 1995 | }, 1996 | "signal-exit": { 1997 | "version": "3.0.3", 1998 | "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.3.tgz", 1999 | "integrity": "sha512-VUJ49FC8U1OxwZLxIbTTrDvLnf/6TDgxZcK8wxR8zs13xpx7xbG60ndBlhNrFi2EMuFRoeDoJO7wthSLq42EjA==", 2000 | "dev": true 2001 | }, 2002 | "slash": { 2003 | "version": "3.0.0", 2004 | "resolved": "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz", 2005 | "integrity": "sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==", 2006 | "dev": true 2007 | }, 2008 | "slice-ansi": { 2009 | "version": "4.0.0", 2010 | "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-4.0.0.tgz", 2011 | "integrity": "sha512-qMCMfhY040cVHT43K9BFygqYbUPFZKHOg7K73mtTWJRb8pyP3fzf4Ixd5SzdEJQ6MRUg/WBnOLxghZtKKurENQ==", 2012 | "dev": true, 2013 | "requires": { 2014 | "ansi-styles": "^4.0.0", 2015 | "astral-regex": "^2.0.0", 2016 | "is-fullwidth-code-point": "^3.0.0" 2017 | }, 2018 | "dependencies": { 2019 | "ansi-styles": { 2020 | "version": "4.3.0", 2021 | "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", 2022 | "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", 2023 | "dev": true, 2024 | "requires": { 2025 | "color-convert": "^2.0.1" 2026 | } 2027 | }, 2028 | "color-convert": { 2029 | "version": "2.0.1", 2030 | "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", 2031 | "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", 2032 | "dev": true, 2033 | "requires": { 2034 | "color-name": "~1.1.4" 2035 | } 2036 | }, 2037 | "color-name": { 2038 | "version": "1.1.4", 2039 | "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", 2040 | "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", 2041 | "dev": true 2042 | }, 2043 | "is-fullwidth-code-point": { 2044 | "version": "3.0.0", 2045 | "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", 2046 | "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", 2047 | "dev": true 2048 | } 2049 | } 2050 | }, 2051 | "source-map": { 2052 | "version": "0.5.7", 2053 | "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", 2054 | "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=", 2055 | "dev": true 2056 | }, 2057 | "sprintf-js": { 2058 | "version": "1.0.3", 2059 | "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz", 2060 | "integrity": "sha1-BOaSb2YolTVPPdAVIDYzuFcpfiw=", 2061 | "dev": true 2062 | }, 2063 | "sqlite3": { 2064 | "version": "4.2.0", 2065 | "resolved": "https://registry.npmjs.org/sqlite3/-/sqlite3-4.2.0.tgz", 2066 | "integrity": "sha512-roEOz41hxui2Q7uYnWsjMOTry6TcNUNmp8audCx18gF10P2NknwdpF+E+HKvz/F2NvPKGGBF4NGc+ZPQ+AABwg==", 2067 | "dev": true, 2068 | "requires": { 2069 | "nan": "^2.12.1", 2070 | "node-pre-gyp": "^0.11.0" 2071 | } 2072 | }, 2073 | "string-width": { 2074 | "version": "4.2.2", 2075 | "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.2.tgz", 2076 | "integrity": "sha512-XBJbT3N4JhVumXE0eoLU9DCjcaF92KLNqTmFCnG1pf8duUxFGwtP6AD6nkjw9a3IdiRtL3E2w3JDiE/xi3vOeA==", 2077 | "dev": true, 2078 | "requires": { 2079 | "emoji-regex": "^8.0.0", 2080 | "is-fullwidth-code-point": "^3.0.0", 2081 | "strip-ansi": "^6.0.0" 2082 | }, 2083 | "dependencies": { 2084 | "is-fullwidth-code-point": { 2085 | "version": "3.0.0", 2086 | "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", 2087 | "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", 2088 | "dev": true 2089 | } 2090 | } 2091 | }, 2092 | "string_decoder": { 2093 | "version": "1.1.1", 2094 | "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", 2095 | "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", 2096 | "dev": true, 2097 | "requires": { 2098 | "safe-buffer": "~5.1.0" 2099 | } 2100 | }, 2101 | "strip-ansi": { 2102 | "version": "6.0.0", 2103 | "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.0.tgz", 2104 | "integrity": "sha512-AuvKTrTfQNYNIctbR1K/YGTR1756GycPsg7b9bdV9Duqur4gv6aKqHXah67Z8ImS7WEz5QVcOtlfW2rZEugt6w==", 2105 | "dev": true, 2106 | "requires": { 2107 | "ansi-regex": "^5.0.0" 2108 | } 2109 | }, 2110 | "strip-json-comments": { 2111 | "version": "3.1.1", 2112 | "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz", 2113 | "integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==", 2114 | "dev": true 2115 | }, 2116 | "supports-color": { 2117 | "version": "5.5.0", 2118 | "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", 2119 | "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", 2120 | "dev": true, 2121 | "requires": { 2122 | "has-flag": "^3.0.0" 2123 | } 2124 | }, 2125 | "table": { 2126 | "version": "6.7.1", 2127 | "resolved": "https://registry.npmjs.org/table/-/table-6.7.1.tgz", 2128 | "integrity": "sha512-ZGum47Yi6KOOFDE8m223td53ath2enHcYLgOCjGr5ngu8bdIARQk6mN/wRMv4yMRcHnCSnHbCEha4sobQx5yWg==", 2129 | "dev": true, 2130 | "requires": { 2131 | "ajv": "^8.0.1", 2132 | "lodash.clonedeep": "^4.5.0", 2133 | "lodash.truncate": "^4.4.2", 2134 | "slice-ansi": "^4.0.0", 2135 | "string-width": "^4.2.0", 2136 | "strip-ansi": "^6.0.0" 2137 | }, 2138 | "dependencies": { 2139 | "ajv": { 2140 | "version": "8.5.0", 2141 | "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.5.0.tgz", 2142 | "integrity": "sha512-Y2l399Tt1AguU3BPRP9Fn4eN+Or+StUGWCUpbnFyXSo8NZ9S4uj+AG2pjs5apK+ZMOwYOz1+a+VKvKH7CudXgQ==", 2143 | "dev": true, 2144 | "requires": { 2145 | "fast-deep-equal": "^3.1.1", 2146 | "json-schema-traverse": "^1.0.0", 2147 | "require-from-string": "^2.0.2", 2148 | "uri-js": "^4.2.2" 2149 | } 2150 | }, 2151 | "json-schema-traverse": { 2152 | "version": "1.0.0", 2153 | "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", 2154 | "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==", 2155 | "dev": true 2156 | } 2157 | } 2158 | }, 2159 | "tar": { 2160 | "version": "4.4.13", 2161 | "resolved": "https://registry.npmjs.org/tar/-/tar-4.4.13.tgz", 2162 | "integrity": "sha512-w2VwSrBoHa5BsSyH+KxEqeQBAllHhccyMFVHtGtdMpF4W7IRWfZjFiQceJPChOeTsSDVUpER2T8FA93pr0L+QA==", 2163 | "dev": true, 2164 | "requires": { 2165 | "chownr": "^1.1.1", 2166 | "fs-minipass": "^1.2.5", 2167 | "minipass": "^2.8.6", 2168 | "minizlib": "^1.2.1", 2169 | "mkdirp": "^0.5.0", 2170 | "safe-buffer": "^5.1.2", 2171 | "yallist": "^3.0.3" 2172 | } 2173 | }, 2174 | "text-table": { 2175 | "version": "0.2.0", 2176 | "resolved": "https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz", 2177 | "integrity": "sha1-f17oI66AUgfACvLfSoTsP8+lcLQ=", 2178 | "dev": true 2179 | }, 2180 | "thenify": { 2181 | "version": "3.3.1", 2182 | "resolved": "https://registry.npmjs.org/thenify/-/thenify-3.3.1.tgz", 2183 | "integrity": "sha512-RVZSIV5IG10Hk3enotrhvz0T9em6cyHBLkH/YAZuKqd8hRkKhSfCGIcP2KUY0EPxndzANBmNllzWPwak+bheSw==", 2184 | "dev": true, 2185 | "requires": { 2186 | "any-promise": "^1.0.0" 2187 | } 2188 | }, 2189 | "thenify-all": { 2190 | "version": "1.6.0", 2191 | "resolved": "https://registry.npmjs.org/thenify-all/-/thenify-all-1.6.0.tgz", 2192 | "integrity": "sha1-GhkY1ALY/D+Y+/I02wvMjMEOlyY=", 2193 | "dev": true, 2194 | "requires": { 2195 | "thenify": ">= 3.1.0 < 4" 2196 | } 2197 | }, 2198 | "timers-ext": { 2199 | "version": "0.1.7", 2200 | "resolved": "https://registry.npmjs.org/timers-ext/-/timers-ext-0.1.7.tgz", 2201 | "integrity": "sha512-b85NUNzTSdodShTIbky6ZF02e8STtVVfD+fu4aXXShEELpozH+bCpJLYMPZbsABN2wDH7fJpqIoXxJpzbf0NqQ==", 2202 | "dev": true, 2203 | "requires": { 2204 | "es5-ext": "~0.10.46", 2205 | "next-tick": "1" 2206 | } 2207 | }, 2208 | "to-fast-properties": { 2209 | "version": "2.0.0", 2210 | "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz", 2211 | "integrity": "sha1-3F5pjL0HkmW8c+A3doGk5Og/YW4=", 2212 | "dev": true 2213 | }, 2214 | "to-regex-range": { 2215 | "version": "5.0.1", 2216 | "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", 2217 | "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", 2218 | "dev": true, 2219 | "requires": { 2220 | "is-number": "^7.0.0" 2221 | } 2222 | }, 2223 | "tslib": { 2224 | "version": "1.14.1", 2225 | "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", 2226 | "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==", 2227 | "dev": true 2228 | }, 2229 | "tsutils": { 2230 | "version": "3.21.0", 2231 | "resolved": "https://registry.npmjs.org/tsutils/-/tsutils-3.21.0.tgz", 2232 | "integrity": "sha512-mHKK3iUXL+3UF6xL5k0PEhKRUBKPBCv/+RkEOpjRWxxx27KKRBmmA60A9pgOUvMi8GKhRMPEmjBRPzs2W7O1OA==", 2233 | "dev": true, 2234 | "requires": { 2235 | "tslib": "^1.8.1" 2236 | } 2237 | }, 2238 | "type": { 2239 | "version": "1.2.0", 2240 | "resolved": "https://registry.npmjs.org/type/-/type-1.2.0.tgz", 2241 | "integrity": "sha512-+5nt5AAniqsCnu2cEQQdpzCAh33kVx8n0VoFidKpB1dVVLAN/F+bgVOqOJqOnEnrhp222clB5p3vUlD+1QAnfg==", 2242 | "dev": true 2243 | }, 2244 | "type-check": { 2245 | "version": "0.4.0", 2246 | "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz", 2247 | "integrity": "sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==", 2248 | "dev": true, 2249 | "requires": { 2250 | "prelude-ls": "^1.2.1" 2251 | } 2252 | }, 2253 | "type-fest": { 2254 | "version": "0.8.1", 2255 | "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.8.1.tgz", 2256 | "integrity": "sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA==", 2257 | "dev": true 2258 | }, 2259 | "typescript": { 2260 | "version": "4.3.2", 2261 | "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.3.2.tgz", 2262 | "integrity": "sha512-zZ4hShnmnoVnAHpVHWpTcxdv7dWP60S2FsydQLV8V5PbS3FifjWFFRiHSWpDJahly88PRyV5teTSLoq4eG7mKw==", 2263 | "dev": true 2264 | }, 2265 | "uri-js": { 2266 | "version": "4.4.0", 2267 | "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.0.tgz", 2268 | "integrity": "sha512-B0yRTzYdUCCn9n+F4+Gh4yIDtMQcaJsmYBDsTSG8g/OejKBodLQ2IHfN3bM7jUsRXndopT7OIXWdYqc1fjmV6g==", 2269 | "dev": true, 2270 | "requires": { 2271 | "punycode": "^2.1.0" 2272 | } 2273 | }, 2274 | "util-deprecate": { 2275 | "version": "1.0.2", 2276 | "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", 2277 | "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=", 2278 | "dev": true 2279 | }, 2280 | "v8-compile-cache": { 2281 | "version": "2.3.0", 2282 | "resolved": "https://registry.npmjs.org/v8-compile-cache/-/v8-compile-cache-2.3.0.tgz", 2283 | "integrity": "sha512-l8lCEmLcLYZh4nbunNZvQCJc5pv7+RCwa8q/LdUx8u7lsWvPDKmpodJAJNwkAhJC//dFY48KuIEmjtd4RViDrA==", 2284 | "dev": true 2285 | }, 2286 | "which": { 2287 | "version": "2.0.2", 2288 | "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", 2289 | "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", 2290 | "dev": true, 2291 | "requires": { 2292 | "isexe": "^2.0.0" 2293 | } 2294 | }, 2295 | "wide-align": { 2296 | "version": "1.1.3", 2297 | "resolved": "https://registry.npmjs.org/wide-align/-/wide-align-1.1.3.tgz", 2298 | "integrity": "sha512-QGkOQc8XL6Bt5PwnsExKBPuMKBxnGxWWW3fU55Xt4feHozMUhdUMaBCk290qpm/wG5u/RSKzwdAC4i51YigihA==", 2299 | "dev": true, 2300 | "requires": { 2301 | "string-width": "^1.0.2 || 2" 2302 | }, 2303 | "dependencies": { 2304 | "ansi-regex": { 2305 | "version": "3.0.0", 2306 | "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.0.tgz", 2307 | "integrity": "sha1-7QMXwyIGT3lGbAKWa922Bas32Zg=", 2308 | "dev": true 2309 | }, 2310 | "is-fullwidth-code-point": { 2311 | "version": "2.0.0", 2312 | "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz", 2313 | "integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8=", 2314 | "dev": true 2315 | }, 2316 | "string-width": { 2317 | "version": "2.1.1", 2318 | "resolved": "https://registry.npmjs.org/string-width/-/string-width-2.1.1.tgz", 2319 | "integrity": "sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw==", 2320 | "dev": true, 2321 | "requires": { 2322 | "is-fullwidth-code-point": "^2.0.0", 2323 | "strip-ansi": "^4.0.0" 2324 | } 2325 | }, 2326 | "strip-ansi": { 2327 | "version": "4.0.0", 2328 | "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz", 2329 | "integrity": "sha1-qEeQIusaw2iocTibY1JixQXuNo8=", 2330 | "dev": true, 2331 | "requires": { 2332 | "ansi-regex": "^3.0.0" 2333 | } 2334 | } 2335 | } 2336 | }, 2337 | "word-wrap": { 2338 | "version": "1.2.3", 2339 | "resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.3.tgz", 2340 | "integrity": "sha512-Hz/mrNwitNRh/HUAtM/VT/5VH+ygD6DV7mYKZAtHOrbs8U7lvPS6xf7EJKMF0uW1KJCl0H701g3ZGus+muE5vQ==", 2341 | "dev": true 2342 | }, 2343 | "wrappy": { 2344 | "version": "1.0.2", 2345 | "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", 2346 | "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=", 2347 | "dev": true 2348 | }, 2349 | "ws": { 2350 | "version": "7.4.5", 2351 | "resolved": "https://registry.npmjs.org/ws/-/ws-7.4.5.tgz", 2352 | "integrity": "sha512-xzyu3hFvomRfXKH8vOFMU3OguG6oOvhXMo3xsGy3xWExqaM2dxBbVxuD99O7m3ZUFMvvscsZDqxfgMaRr/Nr1g==", 2353 | "dev": true 2354 | }, 2355 | "yallist": { 2356 | "version": "3.1.1", 2357 | "resolved": "https://registry.npmjs.org/yallist/-/yallist-3.1.1.tgz", 2358 | "integrity": "sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==", 2359 | "dev": true 2360 | } 2361 | } 2362 | } 2363 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "example-adapter", 3 | "version": "0.6.4", 4 | "description": "Example adapter add-on for WebThings Gateway", 5 | "author": "WebThingsIO", 6 | "main": "dist/index.js", 7 | "scripts": { 8 | "prettier": "npx prettier -w *.js 'src/**/*.ts'", 9 | "lint": "eslint src", 10 | "test": "echo \"Error: no test specified\" && exit 1", 11 | "build": "node generate-config-interfaces.js && tsc -p ." 12 | }, 13 | "homepage": "https://github.com/WebThingsIO/example-adapter", 14 | "license": "MPL-2.0", 15 | "repository": { 16 | "type": "git", 17 | "url": "https://github.com/WebThingsIO/example-adapter.git" 18 | }, 19 | "bugs": { 20 | "url": "https://github.com/WebThingsIO/example-adapter/issues" 21 | }, 22 | "devDependencies": { 23 | "@types/ws": "^7.4.4", 24 | "@typescript-eslint/eslint-plugin": "^4.26.0", 25 | "@typescript-eslint/parser": "^4.26.0", 26 | "babel-eslint": "^10.1.0", 27 | "eslint": "^7.27.0", 28 | "eslint-config-prettier": "^8.3.0", 29 | "gateway-addon": "^1.0.0", 30 | "json-schema-to-typescript": "^10.1.4", 31 | "prettier": "^2.3.0", 32 | "typescript": "^4.3.2" 33 | }, 34 | "files": [ 35 | "dist/example-adapter.js", 36 | "dist/example-api-handler.js", 37 | "dist/index.js", 38 | "css", 39 | "js", 40 | "views", 41 | "manifest.json" 42 | ] 43 | } 44 | -------------------------------------------------------------------------------- /package.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | rm -rf node_modules 4 | npm install --production 5 | rm -rf node_modules/.bin 6 | 7 | TARFILE=`npm pack` 8 | tar xzf ${TARFILE} 9 | cp -r node_modules ./package || true 10 | pushd package 11 | find . -type f -exec shasum --algorithm 256 {} \; >> SHA256SUMS 12 | popd 13 | tar czf ${TARFILE} package 14 | 15 | shasum --algorithm 256 ${TARFILE} > ${TARFILE}.sha256sum 16 | 17 | rm -rf SHA256SUMS package 18 | -------------------------------------------------------------------------------- /src/example-adapter.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This Source Code Form is subject to the terms of the Mozilla Public 3 | * License, v. 2.0. If a copy of the MPL was not distributed with this 4 | * file, You can obtain one at http://mozilla.org/MPL/2.0/. 5 | */ 6 | 7 | import { Adapter, AddonManagerProxy, Database, Device, Property } from 'gateway-addon'; 8 | import { Link } from 'gateway-addon/lib/schema'; 9 | import { Config } from './config'; 10 | 11 | class OnOffProperty extends Property { 12 | constructor(device: Device) { 13 | super(device, 'on', { 14 | '@type': 'OnOffProperty', 15 | type: 'boolean', 16 | title: 'On/Off', 17 | }); 18 | 19 | this.getDevice().notifyPropertyChanged(this); 20 | } 21 | 22 | /** 23 | * Set the value of the property. 24 | * 25 | * @param {*} value The new value to set 26 | * @returns a promise which resolves to the updated value. 27 | * 28 | * @note it is possible that the updated value doesn't match 29 | * the value passed in. 30 | */ 31 | async setValue(value: boolean): Promise { 32 | return new Promise((resolve, reject) => { 33 | super 34 | .setValue(value) 35 | .then((updatedValue) => { 36 | resolve(updatedValue); 37 | this.getDevice().notifyPropertyChanged(this); 38 | }) 39 | .catch((err) => { 40 | reject(err); 41 | }); 42 | }); 43 | } 44 | } 45 | 46 | class ExamplePlugDevice extends Device { 47 | constructor(adapter: Adapter, id: string) { 48 | super(adapter, id); 49 | (this as unknown as { '@type': string[] })['@type'] = ['OnOffSwitch', 'SmartPlug']; 50 | this.setTitle('Example Plug'); 51 | this.setDescription('Example Device'); 52 | 53 | const onOffProperty = new OnOffProperty(this); 54 | this.addProperty(onOffProperty); 55 | 56 | (this as unknown as { links: Link[] }).links.push({ 57 | rel: 'alternate', 58 | mediaType: 'text/html', 59 | // eslint-disable-next-line max-len 60 | href: `/extensions/example-adapter?thingId=${encodeURIComponent(this.getId())}`, 61 | }); 62 | } 63 | } 64 | 65 | export class ExampleAdapter extends Adapter { 66 | constructor( 67 | private addonManager: AddonManagerProxy, 68 | private packageId: string, 69 | private errorCallback: (error: string) => void 70 | ) { 71 | super(addonManager, 'ExampleAdapter', packageId); 72 | this.init(); 73 | } 74 | 75 | private async init(): Promise { 76 | this.addonManager.addAdapter(this); 77 | const database = new Database(this.packageId, ''); 78 | await database.open(); 79 | 80 | const config = (await database.loadConfig()) as unknown as Config; 81 | 82 | const { requiredSetting, startCounter } = config; 83 | 84 | if (!requiredSetting) { 85 | this.errorCallback('Required setting is empty'); 86 | // The addon exits here and a message will be show in the gateway 87 | } 88 | 89 | config.startCounter = (startCounter ?? 0) + 1; 90 | 91 | await database.saveConfig(config); 92 | database.close(); 93 | 94 | const device = new ExamplePlugDevice(this, 'example-plug'); 95 | this.handleDeviceAdded(device); 96 | } 97 | 98 | /** 99 | * Start the pairing/discovery process. 100 | * 101 | * @param {Number} timeoutSeconds Number of seconds to run before timeout 102 | */ 103 | startPairing(_timeoutSeconds: number): void { 104 | console.log(`startPairing(_timeoutSeconds)`); 105 | } 106 | 107 | /** 108 | * Cancel the pairing/discovery process. 109 | */ 110 | cancelPairing(): void { 111 | console.log('cancelPairing()'); 112 | } 113 | 114 | /** 115 | * Unpair the provided the device from the adapter. 116 | * 117 | * @param {Object} device Device to unpair with 118 | */ 119 | removeThing(device: Device): void { 120 | console.log(`removeThing(Device{id: ${device.getId}})`); 121 | 122 | const foundDevice = this.getDevice(device.getId()); 123 | 124 | if (foundDevice) { 125 | this.handleDeviceRemoved(foundDevice); 126 | console.log(`Device ${device.getId()} was removed`); 127 | } else { 128 | console.log(`Device ${device.getId()} was not found`); 129 | } 130 | } 131 | 132 | /** 133 | * Cancel unpairing process. 134 | * 135 | * @param {Object} device Device that is currently being paired 136 | */ 137 | cancelRemoveThing(device: Device): void { 138 | console.log(`cancelRemoveThing(Device{id: ${device.getId}})`); 139 | } 140 | } 141 | -------------------------------------------------------------------------------- /src/example-api-handler.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This Source Code Form is subject to the terms of the Mozilla Public 3 | * License, v. 2.0. If a copy of the MPL was not distributed with this 4 | * file, You can obtain one at http://mozilla.org/MPL/2.0/. 5 | */ 6 | 7 | import { Adapter, AddonManagerProxy, APIHandler, APIRequest, APIResponse } from 'gateway-addon'; 8 | 9 | export class ExampleAPIHandler extends APIHandler { 10 | constructor(addonManager: AddonManagerProxy, packageId: string, private adapter: Adapter) { 11 | super(addonManager, packageId); 12 | addonManager.addAPIHandler(this); 13 | } 14 | 15 | async handleRequest(request: APIRequest): Promise { 16 | if (request.getMethod() !== 'GET' || request.getPath() !== '/thing-description') { 17 | return new APIResponse({ status: 404 }); 18 | } 19 | 20 | const { thingId } = request.getQuery(); 21 | 22 | if (!thingId) { 23 | return new APIResponse({ status: 400 }); 24 | } 25 | 26 | const device = this.adapter.getDevice(thingId as string); 27 | 28 | if (!device) { 29 | return new APIResponse({ status: 404 }); 30 | } 31 | 32 | return new APIResponse({ 33 | status: 200, 34 | contentType: 'application/json', 35 | content: JSON.stringify(device.asThing()), 36 | }); 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * This Source Code Form is subject to the terms of the Mozilla Public 3 | * License, v. 2.0. If a copy of the MPL was not distributed with this 4 | * file, You can obtain one at http://mozilla.org/MPL/2.0/. 5 | */ 6 | 7 | import { AddonManagerProxy } from 'gateway-addon'; 8 | import { ExampleAdapter } from './example-adapter'; 9 | import { ExampleAPIHandler } from './example-api-handler'; 10 | 11 | // eslint-disable-next-line @typescript-eslint/no-var-requires 12 | const manifest = require('../manifest.json'); 13 | 14 | export = function ( 15 | addonManager: AddonManagerProxy, 16 | _: unknown, 17 | errorCallback: (packageName: string, error: string) => void 18 | ): void { 19 | const packageName = manifest.id; 20 | 21 | const adapter = new ExampleAdapter(addonManager, packageName, (error: string) => 22 | errorCallback(packageName, error) 23 | ); 24 | 25 | new ExampleAPIHandler(addonManager, packageName, adapter); 26 | }; 27 | -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "target": "es2018", 4 | "module": "commonjs", 5 | "moduleResolution": "node", 6 | "lib": ["es2018"], 7 | "declaration": true, 8 | "declarationMap": true, 9 | "sourceMap": true, 10 | "rootDir": "src", 11 | "outDir": "dist", 12 | "strict": true, 13 | "noImplicitAny": true, 14 | "strictNullChecks": true, 15 | "strictFunctionTypes": true, 16 | "strictBindCallApply": true, 17 | "strictPropertyInitialization": true, 18 | "noImplicitThis": true, 19 | "alwaysStrict": true, 20 | "noUnusedLocals": true, 21 | "noUnusedParameters": true, 22 | "noImplicitReturns": true, 23 | "noFallthroughCasesInSwitch": true, 24 | "esModuleInterop": true, 25 | "resolveJsonModule": true 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /views/content.html: -------------------------------------------------------------------------------- 1 |
2 |

Thing Description

3 |

4 | 
5 | --------------------------------------------------------------------------------