├── .editorconfig ├── .gitignore ├── .travis.yml ├── LICENSE ├── README.md ├── docs └── diagram.png ├── index.js ├── package-lock.json ├── package.json ├── src ├── core.ts ├── index.ts ├── test │ └── index.ts └── vocabulary.ts ├── tsconfig.json └── tslint.json /.editorconfig: -------------------------------------------------------------------------------- 1 | # top-most EditorConfig file 2 | root = true 3 | 4 | # Unix-style newlines with a newline ending every file 5 | [*] 6 | indent_style = tab 7 | tab_width = 2 8 | end_of_line = lf 9 | charset = utf-8 10 | trim_trailing_whitespace = true 11 | insert_final_newline = true 12 | 13 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | bengo-notes 2 | /node_modules 3 | TODO 4 | /build 5 | /.vs 6 | /.vscode 7 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "8" 4 | script: 5 | - npm test 6 | - npm run lint 7 | - npm run build 8 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | Apache License 2 | Version 2.0, January 2004 3 | http://www.apache.org/licenses/ 4 | 5 | TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 6 | 7 | 1. Definitions. 8 | 9 | "License" shall mean the terms and conditions for use, reproduction, 10 | and distribution as defined by Sections 1 through 9 of this document. 11 | 12 | "Licensor" shall mean the copyright owner or entity authorized by 13 | the copyright owner that is granting the License. 14 | 15 | "Legal Entity" shall mean the union of the acting entity and all 16 | other entities that control, are controlled by, or are under common 17 | control with that entity. For the purposes of this definition, 18 | "control" means (i) the power, direct or indirect, to cause the 19 | direction or management of such entity, whether by contract or 20 | otherwise, or (ii) ownership of fifty percent (50%) or more of the 21 | outstanding shares, or (iii) beneficial ownership of such entity. 22 | 23 | "You" (or "Your") shall mean an individual or Legal Entity 24 | exercising permissions granted by this License. 25 | 26 | "Source" form shall mean the preferred form for making modifications, 27 | including but not limited to software source code, documentation 28 | source, and configuration files. 29 | 30 | "Object" form shall mean any form resulting from mechanical 31 | transformation or translation of a Source form, including but 32 | not limited to compiled object code, generated documentation, 33 | and conversions to other media types. 34 | 35 | "Work" shall mean the work of authorship, whether in Source or 36 | Object form, made available under the License, as indicated by a 37 | copyright notice that is included in or attached to the work 38 | (an example is provided in the Appendix below). 39 | 40 | "Derivative Works" shall mean any work, whether in Source or Object 41 | form, that is based on (or derived from) the Work and for which the 42 | editorial revisions, annotations, elaborations, or other modifications 43 | represent, as a whole, an original work of authorship. For the purposes 44 | of this License, Derivative Works shall not include works that remain 45 | separable from, or merely link (or bind by name) to the interfaces of, 46 | the Work and Derivative Works thereof. 47 | 48 | "Contribution" shall mean any work of authorship, including 49 | the original version of the Work and any modifications or additions 50 | to that Work or Derivative Works thereof, that is intentionally 51 | submitted to Licensor for inclusion in the Work by the copyright owner 52 | or by an individual or Legal Entity authorized to submit on behalf of 53 | the copyright owner. For the purposes of this definition, "submitted" 54 | means any form of electronic, verbal, or written communication sent 55 | to the Licensor or its representatives, including but not limited to 56 | communication on electronic mailing lists, source code control systems, 57 | and issue tracking systems that are managed by, or on behalf of, the 58 | Licensor for the purpose of discussing and improving the Work, but 59 | excluding communication that is conspicuously marked or otherwise 60 | designated in writing by the copyright owner as "Not a Contribution." 61 | 62 | "Contributor" shall mean Licensor and any individual or Legal Entity 63 | on behalf of whom a Contribution has been received by Licensor and 64 | subsequently incorporated within the Work. 65 | 66 | 2. Grant of Copyright License. Subject to the terms and conditions of 67 | this License, each Contributor hereby grants to You a perpetual, 68 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable 69 | copyright license to reproduce, prepare Derivative Works of, 70 | publicly display, publicly perform, sublicense, and distribute the 71 | Work and such Derivative Works in Source or Object form. 72 | 73 | 3. Grant of Patent License. Subject to the terms and conditions of 74 | this License, each Contributor hereby grants to You a perpetual, 75 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable 76 | (except as stated in this section) patent license to make, have made, 77 | use, offer to sell, sell, import, and otherwise transfer the Work, 78 | where such license applies only to those patent claims licensable 79 | by such Contributor that are necessarily infringed by their 80 | Contribution(s) alone or by combination of their Contribution(s) 81 | with the Work to which such Contribution(s) was submitted. If You 82 | institute patent litigation against any entity (including a 83 | cross-claim or counterclaim in a lawsuit) alleging that the Work 84 | or a Contribution incorporated within the Work constitutes direct 85 | or contributory patent infringement, then any patent licenses 86 | granted to You under this License for that Work shall terminate 87 | as of the date such litigation is filed. 88 | 89 | 4. Redistribution. You may reproduce and distribute copies of the 90 | Work or Derivative Works thereof in any medium, with or without 91 | modifications, and in Source or Object form, provided that You 92 | meet the following conditions: 93 | 94 | (a) You must give any other recipients of the Work or 95 | Derivative Works a copy of this License; and 96 | 97 | (b) You must cause any modified files to carry prominent notices 98 | stating that You changed the files; and 99 | 100 | (c) You must retain, in the Source form of any Derivative Works 101 | that You distribute, all copyright, patent, trademark, and 102 | attribution notices from the Source form of the Work, 103 | excluding those notices that do not pertain to any part of 104 | the Derivative Works; and 105 | 106 | (d) If the Work includes a "NOTICE" text file as part of its 107 | distribution, then any Derivative Works that You distribute must 108 | include a readable copy of the attribution notices contained 109 | within such NOTICE file, excluding those notices that do not 110 | pertain to any part of the Derivative Works, in at least one 111 | of the following places: within a NOTICE text file distributed 112 | as part of the Derivative Works; within the Source form or 113 | documentation, if provided along with the Derivative Works; or, 114 | within a display generated by the Derivative Works, if and 115 | wherever such third-party notices normally appear. The contents 116 | of the NOTICE file are for informational purposes only and 117 | do not modify the License. You may add Your own attribution 118 | notices within Derivative Works that You distribute, alongside 119 | or as an addendum to the NOTICE text from the Work, provided 120 | that such additional attribution notices cannot be construed 121 | as modifying the License. 122 | 123 | You may add Your own copyright statement to Your modifications and 124 | may provide additional or different license terms and conditions 125 | for use, reproduction, or distribution of Your modifications, or 126 | for any such Derivative Works as a whole, provided Your use, 127 | reproduction, and distribution of the Work otherwise complies with 128 | the conditions stated in this License. 129 | 130 | 5. Submission of Contributions. Unless You explicitly state otherwise, 131 | any Contribution intentionally submitted for inclusion in the Work 132 | by You to the Licensor shall be under the terms and conditions of 133 | this License, without any additional terms or conditions. 134 | Notwithstanding the above, nothing herein shall supersede or modify 135 | the terms of any separate license agreement you may have executed 136 | with Licensor regarding such Contributions. 137 | 138 | 6. Trademarks. This License does not grant permission to use the trade 139 | names, trademarks, service marks, or product names of the Licensor, 140 | except as required for reasonable and customary use in describing the 141 | origin of the Work and reproducing the content of the NOTICE file. 142 | 143 | 7. Disclaimer of Warranty. Unless required by applicable law or 144 | agreed to in writing, Licensor provides the Work (and each 145 | Contributor provides its Contributions) on an "AS IS" BASIS, 146 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or 147 | implied, including, without limitation, any warranties or conditions 148 | of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A 149 | PARTICULAR PURPOSE. You are solely responsible for determining the 150 | appropriateness of using or redistributing the Work and assume any 151 | risks associated with Your exercise of permissions under this License. 152 | 153 | 8. Limitation of Liability. In no event and under no legal theory, 154 | whether in tort (including negligence), contract, or otherwise, 155 | unless required by applicable law (such as deliberate and grossly 156 | negligent acts) or agreed to in writing, shall any Contributor be 157 | liable to You for damages, including any direct, indirect, special, 158 | incidental, or consequential damages of any character arising as a 159 | result of this License or out of the use or inability to use the 160 | Work (including but not limited to damages for loss of goodwill, 161 | work stoppage, computer failure or malfunction, or any and all 162 | other commercial damages or losses), even if such Contributor 163 | has been advised of the possibility of such damages. 164 | 165 | 9. Accepting Warranty or Additional Liability. While redistributing 166 | the Work or Derivative Works thereof, You may choose to offer, 167 | and charge a fee for, acceptance of support, warranty, indemnity, 168 | or other liability obligations and/or rights consistent with this 169 | License. However, in accepting such obligations, You may act only 170 | on Your own behalf and on Your sole responsibility, not on behalf 171 | of any other Contributor, and only if You agree to indemnify, 172 | defend, and hold each Contributor harmless for any liability 173 | incurred by, or claims asserted against, such Contributor by reason 174 | of your accepting any such warranty or additional liability. 175 | 176 | END OF TERMS AND CONDITIONS 177 | 178 | APPENDIX: How to apply the Apache License to your work. 179 | 180 | To apply the Apache License to your work, attach the following 181 | boilerplate notice, with the fields enclosed by brackets "[]" 182 | replaced with your own identifying information. (Don't include 183 | the brackets!) The text should be enclosed in the appropriate 184 | comment syntax for the file format. We also recommend that a 185 | file or class name and description of purpose be included on the 186 | same "printed page" as the copyright notice for easier 187 | identification within third-party archives. 188 | 189 | Copyright [yyyy] [name of copyright owner] 190 | 191 | Licensed under the Apache License, Version 2.0 (the "License"); 192 | you may not use this file except in compliance with the License. 193 | You may obtain a copy of the License at 194 | 195 | http://www.apache.org/licenses/LICENSE-2.0 196 | 197 | Unless required by applicable law or agreed to in writing, software 198 | distributed under the License is distributed on an "AS IS" BASIS, 199 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 200 | See the License for the specific language governing permissions and 201 | limitations under the License. 202 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # activitystreams2 2 | 3 | [ActivityStreams 2.0](https://www.w3.org/TR/activitystreams-core/) library for node.js and TypeScript 4 | 5 | This was originally created for [distbin](https://github.com/gobengo/distbin) and has worked well. But there is likely room for improvement. Please file issues if you notice bugs or would like to request new features that other systems handling ActivityStreams 2.0 data might need. 6 | 7 | ![UML Class Diagram](./docs/diagram.png) 8 | -------------------------------------------------------------------------------- /docs/diagram.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobengo/activitystreams2/1111efa27f1ee5cd72d8e5d3d87954baa23cfd85/docs/diagram.png -------------------------------------------------------------------------------- /index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobengo/activitystreams2/1111efa27f1ee5cd72d8e5d3d87954baa23cfd85/index.js -------------------------------------------------------------------------------- /package-lock.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "activitystreams2", 3 | "version": "0.1.0", 4 | "lockfileVersion": 1, 5 | "requires": true, 6 | "dependencies": { 7 | "@types/cheerio": { 8 | "version": "0.22.13", 9 | "resolved": "https://registry.npmjs.org/@types/cheerio/-/cheerio-0.22.13.tgz", 10 | "integrity": "sha512-OZd7dCUOUkiTorf97vJKwZnSja/DmHfuBAroe1kREZZTCf/tlFecwHhsOos3uVHxeKGZDwzolIrCUApClkdLuA==", 11 | "requires": { 12 | "@types/node": "*" 13 | } 14 | }, 15 | "@types/commander": { 16 | "version": "2.12.2", 17 | "resolved": "https://registry.npmjs.org/@types/commander/-/commander-2.12.2.tgz", 18 | "integrity": "sha512-0QEFiR8ljcHp9bAbWxecjVRuAMr16ivPiGOw6KFQBVrVd0RQIcM3xKdRisH2EDWgVWujiYtHwhSkSUoAAGzH7Q==", 19 | "requires": { 20 | "commander": "*" 21 | } 22 | }, 23 | "@types/events": { 24 | "version": "3.0.0", 25 | "resolved": "https://registry.npmjs.org/@types/events/-/events-3.0.0.tgz", 26 | "integrity": "sha512-EaObqwIvayI5a8dCzhFrjKzVwKLxjoG9T6Ppd5CEo07LRKfQ8Yokw54r5+Wq7FaBQ+yXRvQAYPrHwya1/UFt9g==" 27 | }, 28 | "@types/glob": { 29 | "version": "7.1.1", 30 | "resolved": "https://registry.npmjs.org/@types/glob/-/glob-7.1.1.tgz", 31 | "integrity": "sha512-1Bh06cbWJUHMC97acuD6UMG29nMt0Aqz1vF3guLfG+kHHJhy3AyohZFFxYk2f7Q1SQIrNwvncxAE0N/9s70F2w==", 32 | "requires": { 33 | "@types/events": "*", 34 | "@types/minimatch": "*", 35 | "@types/node": "*" 36 | } 37 | }, 38 | "@types/globby": { 39 | "version": "6.1.0", 40 | "resolved": "https://registry.npmjs.org/@types/globby/-/globby-6.1.0.tgz", 41 | "integrity": "sha512-j3XSDNoK4LO5T+ZviQD6PqfEjm07QFEacOTbJR3hnLWuWX0ZMLJl9oRPgj1PyrfGbXhfHFkksC9QZ9HFltJyrw==", 42 | "requires": { 43 | "@types/glob": "*" 44 | } 45 | }, 46 | "@types/minimatch": { 47 | "version": "3.0.3", 48 | "resolved": "https://registry.npmjs.org/@types/minimatch/-/minimatch-3.0.3.tgz", 49 | "integrity": "sha512-tHq6qdbT9U1IRSGf14CL0pUlULksvY9OZ+5eEgl1N7t+OA3tGvNpxJCzuKQlsNgCVwbAs670L1vcVQi8j9HjnA==" 50 | }, 51 | "@types/n3": { 52 | "version": "0.0.3", 53 | "resolved": "https://registry.npmjs.org/@types/n3/-/n3-0.0.3.tgz", 54 | "integrity": "sha512-oqywrU7RdLKO0Ndnrue8smXR+oLW4EgFGrd/ewaYbkZjgr/eRpwpjsJk9D5Z8AF+cZKYbiQtR5BR6LNlLl0HPQ==", 55 | "requires": { 56 | "@types/node": "*" 57 | } 58 | }, 59 | "@types/node": { 60 | "version": "12.7.4", 61 | "resolved": "https://registry.npmjs.org/@types/node/-/node-12.7.4.tgz", 62 | "integrity": "sha512-W0+n1Y+gK/8G2P/piTkBBN38Qc5Q1ZSO6B5H3QmPCUewaiXOo2GCAWZ4ElZCcNhjJuBSUSLGFUJnmlCn5+nxOQ==" 63 | }, 64 | "@types/node-fetch": { 65 | "version": "2.5.0", 66 | "resolved": "https://registry.npmjs.org/@types/node-fetch/-/node-fetch-2.5.0.tgz", 67 | "integrity": "sha512-TLFRywthBgL68auWj+ziWu+vnmmcHCDFC/sqCOQf1xTz4hRq8cu79z8CtHU9lncExGBsB8fXA4TiLDLt6xvMzw==", 68 | "requires": { 69 | "@types/node": "*" 70 | } 71 | }, 72 | "@types/semver": { 73 | "version": "5.5.0", 74 | "resolved": "https://registry.npmjs.org/@types/semver/-/semver-5.5.0.tgz", 75 | "integrity": "sha512-41qEJgBH/TWgo5NFSvBCJ1qkoi3Q6ONSF2avrHq1LVEZfYpdHmj0y9SuTK+u9ZhG1sYQKBL1AWXKyLWP4RaUoQ==" 76 | }, 77 | "@types/yargs": { 78 | "version": "10.0.2", 79 | "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-10.0.2.tgz", 80 | "integrity": "sha512-VbsIazac1gy20qTjEZVgDUhs8uuVmGbFkSGcdHpcMoXSC4+0vn/PRHz9YBqpgxKwUi8qoxf3eHff07w7aKNBOg==" 81 | }, 82 | "activitystreams2-spec-scraped": { 83 | "version": "0.11.0", 84 | "resolved": "https://registry.npmjs.org/activitystreams2-spec-scraped/-/activitystreams2-spec-scraped-0.11.0.tgz", 85 | "integrity": "sha512-E5nAM7KA2B6dmTvM1ow8XCa0adouR4GOnTSHG3R4jh6pT8i3rrv67Z5W0p3sEJ99/oAc0yX2YHunjGbVApG3VA==", 86 | "requires": { 87 | "@types/cheerio": "^0.22.7", 88 | "@types/node-fetch": "^2.1.1", 89 | "cheerio": "^1.0.0-rc.2", 90 | "gts": "^0.6.0", 91 | "jsonld": "^1.0.2", 92 | "node-fetch": "^2.1.2", 93 | "rdf-tools": "^0.4.4" 94 | } 95 | }, 96 | "ajv": { 97 | "version": "6.10.2", 98 | "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.10.2.tgz", 99 | "integrity": "sha512-TXtUUEYHuaTEbLZWIKUr5pmBuhDLy+8KYtPYdcV8qC+pOZL+NKqYwvWSRrVXHn+ZmRRAu8vJTAznH7Oag6RVRw==", 100 | "requires": { 101 | "fast-deep-equal": "^2.0.1", 102 | "fast-json-stable-stringify": "^2.0.0", 103 | "json-schema-traverse": "^0.4.1", 104 | "uri-js": "^4.2.2" 105 | } 106 | }, 107 | "ansi-align": { 108 | "version": "2.0.0", 109 | "resolved": "https://registry.npmjs.org/ansi-align/-/ansi-align-2.0.0.tgz", 110 | "integrity": "sha1-w2rsy6VjuJzrVW82kPCx2eNUf38=", 111 | "requires": { 112 | "string-width": "^2.0.0" 113 | } 114 | }, 115 | "ansi-escapes": { 116 | "version": "3.1.0", 117 | "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-3.1.0.tgz", 118 | "integrity": "sha512-UgAb8H9D41AQnu/PbWlCofQVcnV4Gs2bBJi9eZPxfU/hgglFh3SMDMENRIqdr7H6XFnXdoknctFByVsCOotTVw==" 119 | }, 120 | "ansi-regex": { 121 | "version": "2.1.1", 122 | "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz", 123 | "integrity": "sha1-w7M6te42DYbg5ijwRorn7yfWVN8=" 124 | }, 125 | "ansi-styles": { 126 | "version": "2.2.1", 127 | "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz", 128 | "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=" 129 | }, 130 | "argparse": { 131 | "version": "1.0.10", 132 | "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz", 133 | "integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==", 134 | "requires": { 135 | "sprintf-js": "~1.0.2" 136 | } 137 | }, 138 | "array-find-index": { 139 | "version": "1.0.2", 140 | "resolved": "https://registry.npmjs.org/array-find-index/-/array-find-index-1.0.2.tgz", 141 | "integrity": "sha1-3wEKoSh+Fku9pvlyOwqWoexBh6E=" 142 | }, 143 | "array-union": { 144 | "version": "1.0.2", 145 | "resolved": "https://registry.npmjs.org/array-union/-/array-union-1.0.2.tgz", 146 | "integrity": "sha1-mjRBDk9OPaI96jdb5b5w8kd47Dk=", 147 | "requires": { 148 | "array-uniq": "^1.0.1" 149 | } 150 | }, 151 | "array-uniq": { 152 | "version": "1.0.3", 153 | "resolved": "https://registry.npmjs.org/array-uniq/-/array-uniq-1.0.3.tgz", 154 | "integrity": "sha1-r2rId6Jcx/dOBYiUdThY39sk/bY=" 155 | }, 156 | "arrify": { 157 | "version": "1.0.1", 158 | "resolved": "https://registry.npmjs.org/arrify/-/arrify-1.0.1.tgz", 159 | "integrity": "sha1-iYUI2iIm84DfkEcoRWhJwVAaSw0=" 160 | }, 161 | "asn1": { 162 | "version": "0.2.4", 163 | "resolved": "https://registry.npmjs.org/asn1/-/asn1-0.2.4.tgz", 164 | "integrity": "sha512-jxwzQpLQjSmWXgwaCZE9Nz+glAG01yF1QnWgbhGwHI5A6FRIEY6IVqtHhIepHqI7/kyEyQEagBC5mBEFlIYvdg==", 165 | "requires": { 166 | "safer-buffer": "~2.1.0" 167 | } 168 | }, 169 | "assert-plus": { 170 | "version": "1.0.0", 171 | "resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz", 172 | "integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU=" 173 | }, 174 | "async": { 175 | "version": "1.5.2", 176 | "resolved": "https://registry.npmjs.org/async/-/async-1.5.2.tgz", 177 | "integrity": "sha1-7GphrlZIDAw8skHJVhjiCJL5Zyo=" 178 | }, 179 | "asynckit": { 180 | "version": "0.4.0", 181 | "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", 182 | "integrity": "sha1-x57Zf380y48robyXkLzDZkdLS3k=" 183 | }, 184 | "aws-sign2": { 185 | "version": "0.7.0", 186 | "resolved": "https://registry.npmjs.org/aws-sign2/-/aws-sign2-0.7.0.tgz", 187 | "integrity": "sha1-tG6JCTSpWR8tL2+G1+ap8bP+dqg=" 188 | }, 189 | "aws4": { 190 | "version": "1.8.0", 191 | "resolved": "https://registry.npmjs.org/aws4/-/aws4-1.8.0.tgz", 192 | "integrity": "sha512-ReZxvNHIOv88FlT7rxcXIIC0fPt4KZqZbOlivyWtXLt8ESx84zd3kMC6iK5jVeS2qt+g7ftS7ye4fi06X5rtRQ==" 193 | }, 194 | "babel-code-frame": { 195 | "version": "6.26.0", 196 | "resolved": "https://registry.npmjs.org/babel-code-frame/-/babel-code-frame-6.26.0.tgz", 197 | "integrity": "sha1-Y/1D99weO7fONZR9uP42mj9Yx0s=", 198 | "requires": { 199 | "chalk": "^1.1.3", 200 | "esutils": "^2.0.2", 201 | "js-tokens": "^3.0.2" 202 | }, 203 | "dependencies": { 204 | "chalk": { 205 | "version": "1.1.3", 206 | "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz", 207 | "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=", 208 | "requires": { 209 | "ansi-styles": "^2.2.1", 210 | "escape-string-regexp": "^1.0.2", 211 | "has-ansi": "^2.0.0", 212 | "strip-ansi": "^3.0.0", 213 | "supports-color": "^2.0.0" 214 | } 215 | } 216 | } 217 | }, 218 | "balanced-match": { 219 | "version": "1.0.0", 220 | "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz", 221 | "integrity": "sha1-ibTRmasr7kneFk6gK4nORi1xt2c=" 222 | }, 223 | "bcrypt-pbkdf": { 224 | "version": "1.0.2", 225 | "resolved": "https://registry.npmjs.org/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.2.tgz", 226 | "integrity": "sha1-pDAdOJtqQ/m2f/PKEaP2Y342Dp4=", 227 | "requires": { 228 | "tweetnacl": "^0.14.3" 229 | } 230 | }, 231 | "boolbase": { 232 | "version": "1.0.0", 233 | "resolved": "https://registry.npmjs.org/boolbase/-/boolbase-1.0.0.tgz", 234 | "integrity": "sha1-aN/1++YMUes3cl6p4+0xDcwed24=" 235 | }, 236 | "boxen": { 237 | "version": "1.3.0", 238 | "resolved": "https://registry.npmjs.org/boxen/-/boxen-1.3.0.tgz", 239 | "integrity": "sha512-TNPjfTr432qx7yOjQyaXm3dSR0MH9vXp7eT1BFSl/C51g+EFnOR9hTg1IreahGBmDNCehscshe45f+C1TBZbLw==", 240 | "requires": { 241 | "ansi-align": "^2.0.0", 242 | "camelcase": "^4.0.0", 243 | "chalk": "^2.0.1", 244 | "cli-boxes": "^1.0.0", 245 | "string-width": "^2.0.0", 246 | "term-size": "^1.2.0", 247 | "widest-line": "^2.0.0" 248 | } 249 | }, 250 | "brace-expansion": { 251 | "version": "1.1.11", 252 | "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", 253 | "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", 254 | "requires": { 255 | "balanced-match": "^1.0.0", 256 | "concat-map": "0.0.1" 257 | } 258 | }, 259 | "buffer-from": { 260 | "version": "1.1.0", 261 | "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.0.tgz", 262 | "integrity": "sha512-c5mRlguI/Pe2dSZmpER62rSCu0ryKmWddzRYsuXc50U2/g8jMOulc31VZMa4mYx31U5xsmSOpDCgH88Vl9cDGQ==", 263 | "dev": true 264 | }, 265 | "builtin-modules": { 266 | "version": "1.1.1", 267 | "resolved": "https://registry.npmjs.org/builtin-modules/-/builtin-modules-1.1.1.tgz", 268 | "integrity": "sha1-Jw8HbFpywC9bZaR9+Uxf46J4iS8=" 269 | }, 270 | "camelcase": { 271 | "version": "4.1.0", 272 | "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-4.1.0.tgz", 273 | "integrity": "sha1-1UVjW+HjPFQmScaRc+Xeas+uNN0=" 274 | }, 275 | "camelcase-keys": { 276 | "version": "4.2.0", 277 | "resolved": "https://registry.npmjs.org/camelcase-keys/-/camelcase-keys-4.2.0.tgz", 278 | "integrity": "sha1-oqpfsa9oh1glnDLBQUJteJI7m3c=", 279 | "requires": { 280 | "camelcase": "^4.1.0", 281 | "map-obj": "^2.0.0", 282 | "quick-lru": "^1.0.0" 283 | } 284 | }, 285 | "capture-stack-trace": { 286 | "version": "1.0.0", 287 | "resolved": "https://registry.npmjs.org/capture-stack-trace/-/capture-stack-trace-1.0.0.tgz", 288 | "integrity": "sha1-Sm+gc5nCa7pH8LJJa00PtAjFVQ0=" 289 | }, 290 | "caseless": { 291 | "version": "0.12.0", 292 | "resolved": "https://registry.npmjs.org/caseless/-/caseless-0.12.0.tgz", 293 | "integrity": "sha1-G2gcIf+EAzyCZUMJBolCDRhxUdw=" 294 | }, 295 | "chalk": { 296 | "version": "2.4.1", 297 | "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.1.tgz", 298 | "integrity": "sha512-ObN6h1v2fTJSmUXoS3nMQ92LbDK9be4TV+6G+omQlGJFdcUX5heKi1LZ1YnRMIgwTLEj3E24bT6tYni50rlCfQ==", 299 | "requires": { 300 | "ansi-styles": "^3.2.1", 301 | "escape-string-regexp": "^1.0.5", 302 | "supports-color": "^5.3.0" 303 | }, 304 | "dependencies": { 305 | "ansi-styles": { 306 | "version": "3.2.1", 307 | "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", 308 | "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", 309 | "requires": { 310 | "color-convert": "^1.9.0" 311 | } 312 | }, 313 | "supports-color": { 314 | "version": "5.4.0", 315 | "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.4.0.tgz", 316 | "integrity": "sha512-zjaXglF5nnWpsq470jSv6P9DwPvgLkuapYmfDm3JWOm0vkNTVF2tI4UrN2r6jH1qM/uc/WtxYY1hYoA2dOKj5w==", 317 | "requires": { 318 | "has-flag": "^3.0.0" 319 | } 320 | } 321 | } 322 | }, 323 | "chardet": { 324 | "version": "0.4.2", 325 | "resolved": "https://registry.npmjs.org/chardet/-/chardet-0.4.2.tgz", 326 | "integrity": "sha1-tUc7M9yXxCTl2Y3IfVXU2KKci/I=" 327 | }, 328 | "cheerio": { 329 | "version": "1.0.0-rc.3", 330 | "resolved": "https://registry.npmjs.org/cheerio/-/cheerio-1.0.0-rc.3.tgz", 331 | "integrity": "sha512-0td5ijfUPuubwLUu0OBoe98gZj8C/AA+RW3v67GPlGOrvxWjZmBXiBCRU+I8VEiNyJzjth40POfHiz2RB3gImA==", 332 | "requires": { 333 | "css-select": "~1.2.0", 334 | "dom-serializer": "~0.1.1", 335 | "entities": "~1.1.1", 336 | "htmlparser2": "^3.9.1", 337 | "lodash": "^4.15.0", 338 | "parse5": "^3.0.1" 339 | } 340 | }, 341 | "ci-info": { 342 | "version": "1.1.3", 343 | "resolved": "https://registry.npmjs.org/ci-info/-/ci-info-1.1.3.tgz", 344 | "integrity": "sha512-SK/846h/Rcy8q9Z9CAwGBLfCJ6EkjJWdpelWDufQpqVDYq2Wnnv8zlSO6AMQap02jvhVruKKpEtQOufo3pFhLg==" 345 | }, 346 | "clang-format": { 347 | "version": "1.2.3", 348 | "resolved": "https://registry.npmjs.org/clang-format/-/clang-format-1.2.3.tgz", 349 | "integrity": "sha512-x90Hac4ERacGDcZSvHKK58Ga0STuMD+Doi5g0iG2zf7wlJef5Huvhs/3BvMRFxwRYyYSdl6mpQNrtfMxE8MQzw==", 350 | "requires": { 351 | "async": "^1.5.2", 352 | "glob": "^7.0.0", 353 | "resolve": "^1.1.6" 354 | } 355 | }, 356 | "cli-boxes": { 357 | "version": "1.0.0", 358 | "resolved": "https://registry.npmjs.org/cli-boxes/-/cli-boxes-1.0.0.tgz", 359 | "integrity": "sha1-T6kXw+WclKAEzWH47lCdplFocUM=" 360 | }, 361 | "cli-cursor": { 362 | "version": "2.1.0", 363 | "resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-2.1.0.tgz", 364 | "integrity": "sha1-s12sN2R5+sw+lHR9QdDQ9SOP/LU=", 365 | "requires": { 366 | "restore-cursor": "^2.0.0" 367 | } 368 | }, 369 | "cli-width": { 370 | "version": "2.2.0", 371 | "resolved": "https://registry.npmjs.org/cli-width/-/cli-width-2.2.0.tgz", 372 | "integrity": "sha1-/xnt6Kml5XkyQUewwR8PvLq+1jk=" 373 | }, 374 | "cliui": { 375 | "version": "4.1.0", 376 | "resolved": "https://registry.npmjs.org/cliui/-/cliui-4.1.0.tgz", 377 | "integrity": "sha512-4FG+RSG9DL7uEwRUZXZn3SS34DiDPfzP0VOiEwtUWlE+AR2EIg+hSyvrIgUUfhdgR/UkAeW2QHgeP+hWrXs7jQ==", 378 | "requires": { 379 | "string-width": "^2.1.1", 380 | "strip-ansi": "^4.0.0", 381 | "wrap-ansi": "^2.0.0" 382 | }, 383 | "dependencies": { 384 | "ansi-regex": { 385 | "version": "3.0.0", 386 | "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.0.tgz", 387 | "integrity": "sha1-7QMXwyIGT3lGbAKWa922Bas32Zg=" 388 | }, 389 | "strip-ansi": { 390 | "version": "4.0.0", 391 | "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz", 392 | "integrity": "sha1-qEeQIusaw2iocTibY1JixQXuNo8=", 393 | "requires": { 394 | "ansi-regex": "^3.0.0" 395 | } 396 | } 397 | } 398 | }, 399 | "code-point-at": { 400 | "version": "1.1.0", 401 | "resolved": "https://registry.npmjs.org/code-point-at/-/code-point-at-1.1.0.tgz", 402 | "integrity": "sha1-DQcLTQQ6W+ozovGkDi7bPZpMz3c=" 403 | }, 404 | "color-convert": { 405 | "version": "1.9.1", 406 | "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.1.tgz", 407 | "integrity": "sha512-mjGanIiwQJskCC18rPR6OmrZ6fm2Lc7PeGFYwCmy5J34wC6F1PzdGL6xeMfmgicfYcNLGuVFA3WzXtIDCQSZxQ==", 408 | "requires": { 409 | "color-name": "^1.1.1" 410 | } 411 | }, 412 | "color-name": { 413 | "version": "1.1.3", 414 | "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", 415 | "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=" 416 | }, 417 | "combined-stream": { 418 | "version": "1.0.8", 419 | "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz", 420 | "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==", 421 | "requires": { 422 | "delayed-stream": "~1.0.0" 423 | } 424 | }, 425 | "commander": { 426 | "version": "2.15.1", 427 | "resolved": "https://registry.npmjs.org/commander/-/commander-2.15.1.tgz", 428 | "integrity": "sha512-VlfT9F3V0v+jr4yxPc5gg9s62/fIVWsd2Bk2iD435um1NlGMYdVCq+MjcXnhYq2icNOizHr1kK+5TI6H0Hy0ag==" 429 | }, 430 | "commandpost": { 431 | "version": "1.3.0", 432 | "resolved": "https://registry.npmjs.org/commandpost/-/commandpost-1.3.0.tgz", 433 | "integrity": "sha512-T62tyrmYTkaRDbV2z1k2yXTyxk0cFptXYwo1cUbnfHtp7ThLgQ9/90jG1Ym5WLZgFhvOTaHA5VSARWJ9URpLDw==" 434 | }, 435 | "concat-map": { 436 | "version": "0.0.1", 437 | "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", 438 | "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=" 439 | }, 440 | "configstore": { 441 | "version": "3.1.2", 442 | "resolved": "https://registry.npmjs.org/configstore/-/configstore-3.1.2.tgz", 443 | "integrity": "sha512-vtv5HtGjcYUgFrXc6Kx747B83MRRVS5R1VTEQoXvuP+kMI+if6uywV0nDGoiydJRy4yk7h9od5Og0kxx4zUXmw==", 444 | "requires": { 445 | "dot-prop": "^4.1.0", 446 | "graceful-fs": "^4.1.2", 447 | "make-dir": "^1.0.0", 448 | "unique-string": "^1.0.0", 449 | "write-file-atomic": "^2.0.0", 450 | "xdg-basedir": "^3.0.0" 451 | } 452 | }, 453 | "core-util-is": { 454 | "version": "1.0.2", 455 | "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz", 456 | "integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac=" 457 | }, 458 | "create-error-class": { 459 | "version": "3.0.2", 460 | "resolved": "https://registry.npmjs.org/create-error-class/-/create-error-class-3.0.2.tgz", 461 | "integrity": "sha1-Br56vvlHo/FKMP1hBnHUAbyot7Y=", 462 | "requires": { 463 | "capture-stack-trace": "^1.0.0" 464 | } 465 | }, 466 | "cross-spawn": { 467 | "version": "5.1.0", 468 | "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-5.1.0.tgz", 469 | "integrity": "sha1-6L0O/uWPz/b4+UUQoKVUu/ojVEk=", 470 | "requires": { 471 | "lru-cache": "^4.0.1", 472 | "shebang-command": "^1.2.0", 473 | "which": "^1.2.9" 474 | } 475 | }, 476 | "crypto-random-string": { 477 | "version": "1.0.0", 478 | "resolved": "https://registry.npmjs.org/crypto-random-string/-/crypto-random-string-1.0.0.tgz", 479 | "integrity": "sha1-ojD2T1aDEOFJgAmUB5DsmVRbyn4=" 480 | }, 481 | "css-select": { 482 | "version": "1.2.0", 483 | "resolved": "https://registry.npmjs.org/css-select/-/css-select-1.2.0.tgz", 484 | "integrity": "sha1-KzoRBTnFNV8c2NMUYj6HCxIeyFg=", 485 | "requires": { 486 | "boolbase": "~1.0.0", 487 | "css-what": "2.1", 488 | "domutils": "1.5.1", 489 | "nth-check": "~1.0.1" 490 | } 491 | }, 492 | "css-what": { 493 | "version": "2.1.3", 494 | "resolved": "https://registry.npmjs.org/css-what/-/css-what-2.1.3.tgz", 495 | "integrity": "sha512-a+EPoD+uZiNfh+5fxw2nO9QwFa6nJe2Or35fGY6Ipw1R3R4AGz1d1TEZrCegvw2YTmZ0jXirGYlzxxpYSHwpEg==" 496 | }, 497 | "currently-unhandled": { 498 | "version": "0.4.1", 499 | "resolved": "https://registry.npmjs.org/currently-unhandled/-/currently-unhandled-0.4.1.tgz", 500 | "integrity": "sha1-mI3zP+qxke95mmE2nddsF635V+o=", 501 | "requires": { 502 | "array-find-index": "^1.0.1" 503 | } 504 | }, 505 | "dashdash": { 506 | "version": "1.14.1", 507 | "resolved": "https://registry.npmjs.org/dashdash/-/dashdash-1.14.1.tgz", 508 | "integrity": "sha1-hTz6D3y+L+1d4gMmuN1YEDX24vA=", 509 | "requires": { 510 | "assert-plus": "^1.0.0" 511 | } 512 | }, 513 | "decamelize": { 514 | "version": "1.2.0", 515 | "resolved": "https://registry.npmjs.org/decamelize/-/decamelize-1.2.0.tgz", 516 | "integrity": "sha1-9lNNFRSCabIDUue+4m9QH5oZEpA=" 517 | }, 518 | "decamelize-keys": { 519 | "version": "1.1.0", 520 | "resolved": "https://registry.npmjs.org/decamelize-keys/-/decamelize-keys-1.1.0.tgz", 521 | "integrity": "sha1-0XGoeTMlKAfrPLYdwcFEXQeN8tk=", 522 | "requires": { 523 | "decamelize": "^1.1.0", 524 | "map-obj": "^1.0.0" 525 | }, 526 | "dependencies": { 527 | "map-obj": { 528 | "version": "1.0.1", 529 | "resolved": "https://registry.npmjs.org/map-obj/-/map-obj-1.0.1.tgz", 530 | "integrity": "sha1-2TPOuSBdgr3PSIb2dCvcK03qFG0=" 531 | } 532 | } 533 | }, 534 | "deep-extend": { 535 | "version": "0.6.0", 536 | "resolved": "https://registry.npmjs.org/deep-extend/-/deep-extend-0.6.0.tgz", 537 | "integrity": "sha512-LOHxIOaPYdHlJRtCQfDIVZtfw/ufM8+rVj649RIHzcm/vGwQRXFt6OPqIFWsm2XEMrNIEtWR64sY1LEKD2vAOA==" 538 | }, 539 | "delayed-stream": { 540 | "version": "1.0.0", 541 | "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", 542 | "integrity": "sha1-3zrhmayt+31ECqrgsp4icrJOxhk=" 543 | }, 544 | "diff": { 545 | "version": "3.5.0", 546 | "resolved": "https://registry.npmjs.org/diff/-/diff-3.5.0.tgz", 547 | "integrity": "sha512-A46qtFgd+g7pDZinpnwiRJtxbC1hpgf0uzP3iG89scHk0AUC7A1TGxf5OiiOUv/JMZR8GOt8hL900hV0bOy5xA==" 548 | }, 549 | "dir-glob": { 550 | "version": "2.2.2", 551 | "resolved": "https://registry.npmjs.org/dir-glob/-/dir-glob-2.2.2.tgz", 552 | "integrity": "sha512-f9LBi5QWzIW3I6e//uxZoLBlUt9kcp66qo0sSCxL6YZKc75R1c4MFCoe/LaZiBGmgujvQdxc5Bn3QhfyvK5Hsw==", 553 | "requires": { 554 | "path-type": "^3.0.0" 555 | } 556 | }, 557 | "dom-serializer": { 558 | "version": "0.1.1", 559 | "resolved": "https://registry.npmjs.org/dom-serializer/-/dom-serializer-0.1.1.tgz", 560 | "integrity": "sha512-l0IU0pPzLWSHBcieZbpOKgkIn3ts3vAh7ZuFyXNwJxJXk/c4Gwj9xaTJwIDVQCXawWD0qb3IzMGH5rglQaO0XA==", 561 | "requires": { 562 | "domelementtype": "^1.3.0", 563 | "entities": "^1.1.1" 564 | } 565 | }, 566 | "domelementtype": { 567 | "version": "1.3.1", 568 | "resolved": "https://registry.npmjs.org/domelementtype/-/domelementtype-1.3.1.tgz", 569 | "integrity": "sha512-BSKB+TSpMpFI/HOxCNr1O8aMOTZ8hT3pM3GQ0w/mWRmkhEDSFJkkyzz4XQsBV44BChwGkrDfMyjVD0eA2aFV3w==" 570 | }, 571 | "domhandler": { 572 | "version": "2.4.2", 573 | "resolved": "https://registry.npmjs.org/domhandler/-/domhandler-2.4.2.tgz", 574 | "integrity": "sha512-JiK04h0Ht5u/80fdLMCEmV4zkNh2BcoMFBmZ/91WtYZ8qVXSKjiw7fXMgFPnHcSZgOo3XdinHvmnDUeMf5R4wA==", 575 | "requires": { 576 | "domelementtype": "1" 577 | } 578 | }, 579 | "domutils": { 580 | "version": "1.5.1", 581 | "resolved": "https://registry.npmjs.org/domutils/-/domutils-1.5.1.tgz", 582 | "integrity": "sha1-3NhIiib1Y9YQeeSMn3t+Mjc2gs8=", 583 | "requires": { 584 | "dom-serializer": "0", 585 | "domelementtype": "1" 586 | } 587 | }, 588 | "dot-prop": { 589 | "version": "4.2.0", 590 | "resolved": "https://registry.npmjs.org/dot-prop/-/dot-prop-4.2.0.tgz", 591 | "integrity": "sha512-tUMXrxlExSW6U2EXiiKGSBVdYgtV8qlHL+C10TsW4PURY/ic+eaysnSkwB4kA/mBlCyy/IKDJ+Lc3wbWeaXtuQ==", 592 | "requires": { 593 | "is-obj": "^1.0.0" 594 | } 595 | }, 596 | "duplexer3": { 597 | "version": "0.1.4", 598 | "resolved": "https://registry.npmjs.org/duplexer3/-/duplexer3-0.1.4.tgz", 599 | "integrity": "sha1-7gHdHKwO08vH/b6jfcCo8c4ALOI=" 600 | }, 601 | "ecc-jsbn": { 602 | "version": "0.1.2", 603 | "resolved": "https://registry.npmjs.org/ecc-jsbn/-/ecc-jsbn-0.1.2.tgz", 604 | "integrity": "sha1-OoOpBOVDUyh4dMVkt1SThoSamMk=", 605 | "requires": { 606 | "jsbn": "~0.1.0", 607 | "safer-buffer": "^2.1.0" 608 | } 609 | }, 610 | "editorconfig": { 611 | "version": "0.15.0", 612 | "resolved": "https://registry.npmjs.org/editorconfig/-/editorconfig-0.15.0.tgz", 613 | "integrity": "sha512-j7JBoj/bpNzvoTQylfRZSc85MlLNKWQiq5y6gwKhmqD2h1eZ+tH4AXbkhEJD468gjDna/XMx2YtSkCxBRX9OGg==", 614 | "requires": { 615 | "@types/commander": "^2.11.0", 616 | "@types/semver": "^5.4.0", 617 | "commander": "^2.11.0", 618 | "lru-cache": "^4.1.1", 619 | "semver": "^5.4.1", 620 | "sigmund": "^1.0.1" 621 | } 622 | }, 623 | "entities": { 624 | "version": "1.1.2", 625 | "resolved": "https://registry.npmjs.org/entities/-/entities-1.1.2.tgz", 626 | "integrity": "sha512-f2LZMYl1Fzu7YSBKg+RoROelpOaNrcGmE9AZubeDfrCEia483oW4MI4VyFd5VNHIgQ/7qm1I0wUHK1eJnn2y2w==" 627 | }, 628 | "error-ex": { 629 | "version": "1.3.1", 630 | "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.1.tgz", 631 | "integrity": "sha1-+FWobOYa3E6GIcPNoh56dhLDqNw=", 632 | "requires": { 633 | "is-arrayish": "^0.2.1" 634 | } 635 | }, 636 | "escape-string-regexp": { 637 | "version": "1.0.5", 638 | "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", 639 | "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=" 640 | }, 641 | "esprima": { 642 | "version": "4.0.0", 643 | "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.0.tgz", 644 | "integrity": "sha512-oftTcaMu/EGrEIu904mWteKIv8vMuOgGYo7EhVJJN00R/EED9DCua/xxHRdYnKtcECzVg7xOWhflvJMnqcFZjw==" 645 | }, 646 | "esutils": { 647 | "version": "2.0.2", 648 | "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.2.tgz", 649 | "integrity": "sha1-Cr9PHKpbyx96nYrMbepPqqBLrJs=" 650 | }, 651 | "execa": { 652 | "version": "0.7.0", 653 | "resolved": "https://registry.npmjs.org/execa/-/execa-0.7.0.tgz", 654 | "integrity": "sha1-lEvs00zEHuMqY6n68nrVpl/Fl3c=", 655 | "requires": { 656 | "cross-spawn": "^5.0.1", 657 | "get-stream": "^3.0.0", 658 | "is-stream": "^1.1.0", 659 | "npm-run-path": "^2.0.0", 660 | "p-finally": "^1.0.0", 661 | "signal-exit": "^3.0.0", 662 | "strip-eof": "^1.0.0" 663 | } 664 | }, 665 | "extend": { 666 | "version": "3.0.2", 667 | "resolved": "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz", 668 | "integrity": "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==" 669 | }, 670 | "external-editor": { 671 | "version": "2.2.0", 672 | "resolved": "https://registry.npmjs.org/external-editor/-/external-editor-2.2.0.tgz", 673 | "integrity": "sha512-bSn6gvGxKt+b7+6TKEv1ZycHleA7aHhRHyAqJyp5pbUFuYYNIzpZnQDk7AsYckyWdEnTeAnay0aCy2aV6iTk9A==", 674 | "requires": { 675 | "chardet": "^0.4.0", 676 | "iconv-lite": "^0.4.17", 677 | "tmp": "^0.0.33" 678 | } 679 | }, 680 | "extsprintf": { 681 | "version": "1.3.0", 682 | "resolved": "https://registry.npmjs.org/extsprintf/-/extsprintf-1.3.0.tgz", 683 | "integrity": "sha1-lpGEQOMEGnpBT4xS48V06zw+HgU=" 684 | }, 685 | "fast-deep-equal": { 686 | "version": "2.0.1", 687 | "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-2.0.1.tgz", 688 | "integrity": "sha1-ewUhjd+WZ79/Nwv3/bLLFf3Qqkk=" 689 | }, 690 | "fast-json-stable-stringify": { 691 | "version": "2.0.0", 692 | "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.0.0.tgz", 693 | "integrity": "sha1-1RQsDK7msRifh9OnYREGT4bIu/I=" 694 | }, 695 | "figures": { 696 | "version": "2.0.0", 697 | "resolved": "https://registry.npmjs.org/figures/-/figures-2.0.0.tgz", 698 | "integrity": "sha1-OrGi0qYsi/tDGgyUy3l6L84nyWI=", 699 | "requires": { 700 | "escape-string-regexp": "^1.0.5" 701 | } 702 | }, 703 | "find-up": { 704 | "version": "2.1.0", 705 | "resolved": "https://registry.npmjs.org/find-up/-/find-up-2.1.0.tgz", 706 | "integrity": "sha1-RdG35QbHF93UgndaK3eSCjwMV6c=", 707 | "requires": { 708 | "locate-path": "^2.0.0" 709 | } 710 | }, 711 | "forever-agent": { 712 | "version": "0.6.1", 713 | "resolved": "https://registry.npmjs.org/forever-agent/-/forever-agent-0.6.1.tgz", 714 | "integrity": "sha1-+8cfDEGt6zf5bFd60e1C2P2sypE=" 715 | }, 716 | "form-data": { 717 | "version": "2.3.3", 718 | "resolved": "https://registry.npmjs.org/form-data/-/form-data-2.3.3.tgz", 719 | "integrity": "sha512-1lLKB2Mu3aGP1Q/2eCOx0fNbRMe7XdwktwOruhfqqd0rIJWwN4Dh+E3hrPSlDCXnSR7UtZ1N38rVXm+6+MEhJQ==", 720 | "requires": { 721 | "asynckit": "^0.4.0", 722 | "combined-stream": "^1.0.6", 723 | "mime-types": "^2.1.12" 724 | } 725 | }, 726 | "fs.realpath": { 727 | "version": "1.0.0", 728 | "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", 729 | "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=" 730 | }, 731 | "get-caller-file": { 732 | "version": "1.0.3", 733 | "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-1.0.3.tgz", 734 | "integrity": "sha512-3t6rVToeoZfYSGd8YoLFR2DJkiQrIiUrGcjvFX2mDw3bn6k2OtwHN0TNCLbBO+w8qTvimhDkv+LSscbJY1vE6w==" 735 | }, 736 | "get-stream": { 737 | "version": "3.0.0", 738 | "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-3.0.0.tgz", 739 | "integrity": "sha1-jpQ9E1jcN1VQVOy+LtsFqhdO3hQ=" 740 | }, 741 | "getpass": { 742 | "version": "0.1.7", 743 | "resolved": "https://registry.npmjs.org/getpass/-/getpass-0.1.7.tgz", 744 | "integrity": "sha1-Xv+OPmhNVprkyysSgmBOi6YhSfo=", 745 | "requires": { 746 | "assert-plus": "^1.0.0" 747 | } 748 | }, 749 | "glob": { 750 | "version": "7.1.2", 751 | "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.2.tgz", 752 | "integrity": "sha512-MJTUg1kjuLeQCJ+ccE4Vpa6kKVXkPYJ2mOCQyUuKLcLQsdrMCpBPUi8qVE6+YuaJkozeA9NusTAw3hLr8Xe5EQ==", 753 | "requires": { 754 | "fs.realpath": "^1.0.0", 755 | "inflight": "^1.0.4", 756 | "inherits": "2", 757 | "minimatch": "^3.0.4", 758 | "once": "^1.3.0", 759 | "path-is-absolute": "^1.0.0" 760 | } 761 | }, 762 | "global-dirs": { 763 | "version": "0.1.1", 764 | "resolved": "https://registry.npmjs.org/global-dirs/-/global-dirs-0.1.1.tgz", 765 | "integrity": "sha1-sxnA3UYH81PzvpzKTHL8FIxJ9EU=", 766 | "requires": { 767 | "ini": "^1.3.4" 768 | } 769 | }, 770 | "globby": { 771 | "version": "7.1.1", 772 | "resolved": "https://registry.npmjs.org/globby/-/globby-7.1.1.tgz", 773 | "integrity": "sha1-+yzP+UAfhgCUXfral0QMypcrhoA=", 774 | "requires": { 775 | "array-union": "^1.0.1", 776 | "dir-glob": "^2.0.0", 777 | "glob": "^7.1.2", 778 | "ignore": "^3.3.5", 779 | "pify": "^3.0.0", 780 | "slash": "^1.0.0" 781 | } 782 | }, 783 | "got": { 784 | "version": "6.7.1", 785 | "resolved": "https://registry.npmjs.org/got/-/got-6.7.1.tgz", 786 | "integrity": "sha1-JAzQV4WpoY5WHcG0S0HHY+8ejbA=", 787 | "requires": { 788 | "create-error-class": "^3.0.0", 789 | "duplexer3": "^0.1.4", 790 | "get-stream": "^3.0.0", 791 | "is-redirect": "^1.0.0", 792 | "is-retry-allowed": "^1.0.0", 793 | "is-stream": "^1.0.0", 794 | "lowercase-keys": "^1.0.0", 795 | "safe-buffer": "^5.0.1", 796 | "timed-out": "^4.0.0", 797 | "unzip-response": "^2.0.1", 798 | "url-parse-lax": "^1.0.0" 799 | } 800 | }, 801 | "graceful-fs": { 802 | "version": "4.1.11", 803 | "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.1.11.tgz", 804 | "integrity": "sha1-Dovf5NHduIVNZOBOp8AOKgJuVlg=" 805 | }, 806 | "gts": { 807 | "version": "0.6.0", 808 | "resolved": "https://registry.npmjs.org/gts/-/gts-0.6.0.tgz", 809 | "integrity": "sha512-MCh3HNzLA1zvnW8lStH58n6U7SaGCJwd0Y2fUWJklHdtpMB9zaGe8SR7l0DqqPf+t0hNoFu2KmRFxHBnkeeKrA==", 810 | "requires": { 811 | "chalk": "^2.4.1", 812 | "clang-format": "1.2.3", 813 | "inquirer": "^5.2.0", 814 | "meow": "^5.0.0", 815 | "pify": "^3.0.0", 816 | "rimraf": "^2.6.2", 817 | "tslint": "^5.9.1", 818 | "update-notifier": "^2.5.0", 819 | "write-file-atomic": "^2.3.0" 820 | } 821 | }, 822 | "har-schema": { 823 | "version": "2.0.0", 824 | "resolved": "https://registry.npmjs.org/har-schema/-/har-schema-2.0.0.tgz", 825 | "integrity": "sha1-qUwiJOvKwEeCoNkDVSHyRzW37JI=" 826 | }, 827 | "har-validator": { 828 | "version": "5.1.3", 829 | "resolved": "https://registry.npmjs.org/har-validator/-/har-validator-5.1.3.tgz", 830 | "integrity": "sha512-sNvOCzEQNr/qrvJgc3UG/kD4QtlHycrzwS+6mfTrrSq97BvaYcPZZI1ZSqGSPR73Cxn4LKTD4PttRwfU7jWq5g==", 831 | "requires": { 832 | "ajv": "^6.5.5", 833 | "har-schema": "^2.0.0" 834 | } 835 | }, 836 | "has-ansi": { 837 | "version": "2.0.0", 838 | "resolved": "https://registry.npmjs.org/has-ansi/-/has-ansi-2.0.0.tgz", 839 | "integrity": "sha1-NPUEnOHs3ysGSa8+8k5F7TVBbZE=", 840 | "requires": { 841 | "ansi-regex": "^2.0.0" 842 | } 843 | }, 844 | "has-flag": { 845 | "version": "3.0.0", 846 | "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", 847 | "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=" 848 | }, 849 | "hosted-git-info": { 850 | "version": "2.6.0", 851 | "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.6.0.tgz", 852 | "integrity": "sha512-lIbgIIQA3lz5XaB6vxakj6sDHADJiZadYEJB+FgA+C4nubM1NwcuvUr9EJPmnH1skZqpqUzWborWo8EIUi0Sdw==" 853 | }, 854 | "htmlparser2": { 855 | "version": "3.10.1", 856 | "resolved": "https://registry.npmjs.org/htmlparser2/-/htmlparser2-3.10.1.tgz", 857 | "integrity": "sha512-IgieNijUMbkDovyoKObU1DUhm1iwNYE/fuifEoEHfd1oZKZDaONBSkal7Y01shxsM49R4XaMdGez3WnF9UfiCQ==", 858 | "requires": { 859 | "domelementtype": "^1.3.1", 860 | "domhandler": "^2.3.0", 861 | "domutils": "^1.5.1", 862 | "entities": "^1.1.1", 863 | "inherits": "^2.0.1", 864 | "readable-stream": "^3.1.1" 865 | } 866 | }, 867 | "http-signature": { 868 | "version": "1.2.0", 869 | "resolved": "https://registry.npmjs.org/http-signature/-/http-signature-1.2.0.tgz", 870 | "integrity": "sha1-muzZJRFHcvPZW2WmCruPfBj7rOE=", 871 | "requires": { 872 | "assert-plus": "^1.0.0", 873 | "jsprim": "^1.2.2", 874 | "sshpk": "^1.7.0" 875 | } 876 | }, 877 | "iconv-lite": { 878 | "version": "0.4.23", 879 | "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.23.tgz", 880 | "integrity": "sha512-neyTUVFtahjf0mB3dZT77u+8O0QB89jFdnBkd5P1JgYPbPaia3gXXOVL2fq8VyU2gMMD7SaN7QukTB/pmXYvDA==", 881 | "requires": { 882 | "safer-buffer": ">= 2.1.2 < 3" 883 | } 884 | }, 885 | "ignore": { 886 | "version": "3.3.10", 887 | "resolved": "https://registry.npmjs.org/ignore/-/ignore-3.3.10.tgz", 888 | "integrity": "sha512-Pgs951kaMm5GXP7MOvxERINe3gsaVjUWFm+UZPSq9xYriQAksyhg0csnS0KXSNRD5NmNdapXEpjxG49+AKh/ug==" 889 | }, 890 | "import-lazy": { 891 | "version": "2.1.0", 892 | "resolved": "https://registry.npmjs.org/import-lazy/-/import-lazy-2.1.0.tgz", 893 | "integrity": "sha1-BWmOPUXIjo1+nZLLBYTnfwlvPkM=" 894 | }, 895 | "imurmurhash": { 896 | "version": "0.1.4", 897 | "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz", 898 | "integrity": "sha1-khi5srkoojixPcT7a21XbyMUU+o=" 899 | }, 900 | "indent-string": { 901 | "version": "3.2.0", 902 | "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-3.2.0.tgz", 903 | "integrity": "sha1-Sl/W0nzDMvN+VBmlBNu4NxBckok=" 904 | }, 905 | "inflight": { 906 | "version": "1.0.6", 907 | "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", 908 | "integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=", 909 | "requires": { 910 | "once": "^1.3.0", 911 | "wrappy": "1" 912 | } 913 | }, 914 | "inherits": { 915 | "version": "2.0.3", 916 | "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz", 917 | "integrity": "sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4=" 918 | }, 919 | "ini": { 920 | "version": "1.3.5", 921 | "resolved": "https://registry.npmjs.org/ini/-/ini-1.3.5.tgz", 922 | "integrity": "sha512-RZY5huIKCMRWDUqZlEi72f/lmXKMvuszcMBduliQ3nnWbx9X/ZBQO7DijMEYS9EhHBb2qacRUMtC7svLwe0lcw==" 923 | }, 924 | "inquirer": { 925 | "version": "5.2.0", 926 | "resolved": "https://registry.npmjs.org/inquirer/-/inquirer-5.2.0.tgz", 927 | "integrity": "sha512-E9BmnJbAKLPGonz0HeWHtbKf+EeSP93paWO3ZYoUpq/aowXvYGjjCSuashhXPpzbArIjBbji39THkxTz9ZeEUQ==", 928 | "requires": { 929 | "ansi-escapes": "^3.0.0", 930 | "chalk": "^2.0.0", 931 | "cli-cursor": "^2.1.0", 932 | "cli-width": "^2.0.0", 933 | "external-editor": "^2.1.0", 934 | "figures": "^2.0.0", 935 | "lodash": "^4.3.0", 936 | "mute-stream": "0.0.7", 937 | "run-async": "^2.2.0", 938 | "rxjs": "^5.5.2", 939 | "string-width": "^2.1.0", 940 | "strip-ansi": "^4.0.0", 941 | "through": "^2.3.6" 942 | }, 943 | "dependencies": { 944 | "ansi-regex": { 945 | "version": "3.0.0", 946 | "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.0.tgz", 947 | "integrity": "sha1-7QMXwyIGT3lGbAKWa922Bas32Zg=" 948 | }, 949 | "strip-ansi": { 950 | "version": "4.0.0", 951 | "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz", 952 | "integrity": "sha1-qEeQIusaw2iocTibY1JixQXuNo8=", 953 | "requires": { 954 | "ansi-regex": "^3.0.0" 955 | } 956 | } 957 | } 958 | }, 959 | "invert-kv": { 960 | "version": "1.0.0", 961 | "resolved": "https://registry.npmjs.org/invert-kv/-/invert-kv-1.0.0.tgz", 962 | "integrity": "sha1-EEqOSqym09jNFXqO+L+rLXo//bY=" 963 | }, 964 | "iri": { 965 | "version": "1.3.0", 966 | "resolved": "https://registry.npmjs.org/iri/-/iri-1.3.0.tgz", 967 | "integrity": "sha512-1bPyBMoj15VLCxtPDPC7YREka60TTAp7FH+4cU7k/haISq4XyR4/GVMmX+J3TeIOlNYH7twHbpYO9QQyejBZMg==" 968 | }, 969 | "is-arrayish": { 970 | "version": "0.2.1", 971 | "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz", 972 | "integrity": "sha1-d8mYQFJ6qOyxqLppe4BkWnqSap0=" 973 | }, 974 | "is-builtin-module": { 975 | "version": "1.0.0", 976 | "resolved": "https://registry.npmjs.org/is-builtin-module/-/is-builtin-module-1.0.0.tgz", 977 | "integrity": "sha1-VAVy0096wxGfj3bDDLwbHgN6/74=", 978 | "requires": { 979 | "builtin-modules": "^1.0.0" 980 | } 981 | }, 982 | "is-ci": { 983 | "version": "1.1.0", 984 | "resolved": "https://registry.npmjs.org/is-ci/-/is-ci-1.1.0.tgz", 985 | "integrity": "sha512-c7TnwxLePuqIlxHgr7xtxzycJPegNHFuIrBkwbf8hc58//+Op1CqFkyS+xnIMkwn9UsJIwc174BIjkyBmSpjKg==", 986 | "requires": { 987 | "ci-info": "^1.0.0" 988 | } 989 | }, 990 | "is-fullwidth-code-point": { 991 | "version": "2.0.0", 992 | "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz", 993 | "integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8=" 994 | }, 995 | "is-installed-globally": { 996 | "version": "0.1.0", 997 | "resolved": "https://registry.npmjs.org/is-installed-globally/-/is-installed-globally-0.1.0.tgz", 998 | "integrity": "sha1-Df2Y9akRFxbdU13aZJL2e/PSWoA=", 999 | "requires": { 1000 | "global-dirs": "^0.1.0", 1001 | "is-path-inside": "^1.0.0" 1002 | } 1003 | }, 1004 | "is-npm": { 1005 | "version": "1.0.0", 1006 | "resolved": "https://registry.npmjs.org/is-npm/-/is-npm-1.0.0.tgz", 1007 | "integrity": "sha1-8vtjpl5JBbQGyGBydloaTceTufQ=" 1008 | }, 1009 | "is-obj": { 1010 | "version": "1.0.1", 1011 | "resolved": "https://registry.npmjs.org/is-obj/-/is-obj-1.0.1.tgz", 1012 | "integrity": "sha1-PkcprB9f3gJc19g6iW2rn09n2w8=" 1013 | }, 1014 | "is-path-inside": { 1015 | "version": "1.0.1", 1016 | "resolved": "https://registry.npmjs.org/is-path-inside/-/is-path-inside-1.0.1.tgz", 1017 | "integrity": "sha1-jvW33lBDej/cprToZe96pVy0gDY=", 1018 | "requires": { 1019 | "path-is-inside": "^1.0.1" 1020 | } 1021 | }, 1022 | "is-plain-obj": { 1023 | "version": "1.1.0", 1024 | "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-1.1.0.tgz", 1025 | "integrity": "sha1-caUMhCnfync8kqOQpKA7OfzVHT4=" 1026 | }, 1027 | "is-promise": { 1028 | "version": "2.1.0", 1029 | "resolved": "https://registry.npmjs.org/is-promise/-/is-promise-2.1.0.tgz", 1030 | "integrity": "sha1-eaKp7OfwlugPNtKy87wWwf9L8/o=" 1031 | }, 1032 | "is-redirect": { 1033 | "version": "1.0.0", 1034 | "resolved": "https://registry.npmjs.org/is-redirect/-/is-redirect-1.0.0.tgz", 1035 | "integrity": "sha1-HQPd7VO9jbDzDCbk+V02/HyH3CQ=" 1036 | }, 1037 | "is-retry-allowed": { 1038 | "version": "1.1.0", 1039 | "resolved": "https://registry.npmjs.org/is-retry-allowed/-/is-retry-allowed-1.1.0.tgz", 1040 | "integrity": "sha1-EaBgVotnM5REAz0BJaYaINVk+zQ=" 1041 | }, 1042 | "is-stream": { 1043 | "version": "1.1.0", 1044 | "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-1.1.0.tgz", 1045 | "integrity": "sha1-EtSj3U5o4Lec6428hBc66A2RykQ=" 1046 | }, 1047 | "is-typedarray": { 1048 | "version": "1.0.0", 1049 | "resolved": "https://registry.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz", 1050 | "integrity": "sha1-5HnICFjfDBsR3dppQPlgEfzaSpo=" 1051 | }, 1052 | "isexe": { 1053 | "version": "2.0.0", 1054 | "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", 1055 | "integrity": "sha1-6PvzdNxVb/iUehDcsFctYz8s+hA=" 1056 | }, 1057 | "isstream": { 1058 | "version": "0.1.2", 1059 | "resolved": "https://registry.npmjs.org/isstream/-/isstream-0.1.2.tgz", 1060 | "integrity": "sha1-R+Y/evVa+m+S4VAOaQ64uFKcCZo=" 1061 | }, 1062 | "js-tokens": { 1063 | "version": "3.0.2", 1064 | "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-3.0.2.tgz", 1065 | "integrity": "sha1-mGbfOVECEw449/mWvOtlRDIJwls=" 1066 | }, 1067 | "js-yaml": { 1068 | "version": "3.12.0", 1069 | "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.12.0.tgz", 1070 | "integrity": "sha512-PIt2cnwmPfL4hKNwqeiuz4bKfnzHTBv6HyVgjahA6mPLwPDzjDWrplJBMjHUFxku/N3FlmrbyPclad+I+4mJ3A==", 1071 | "requires": { 1072 | "argparse": "^1.0.7", 1073 | "esprima": "^4.0.0" 1074 | } 1075 | }, 1076 | "jsbn": { 1077 | "version": "0.1.1", 1078 | "resolved": "https://registry.npmjs.org/jsbn/-/jsbn-0.1.1.tgz", 1079 | "integrity": "sha1-peZUwuWi3rXyAdls77yoDA7y9RM=" 1080 | }, 1081 | "json-format": { 1082 | "version": "1.0.1", 1083 | "resolved": "https://registry.npmjs.org/json-format/-/json-format-1.0.1.tgz", 1084 | "integrity": "sha1-FD9n5irxKda//tKIpGJl6iPQ3ww=" 1085 | }, 1086 | "json-parse-better-errors": { 1087 | "version": "1.0.2", 1088 | "resolved": "https://registry.npmjs.org/json-parse-better-errors/-/json-parse-better-errors-1.0.2.tgz", 1089 | "integrity": "sha512-mrqyZKfX5EhL7hvqcV6WG1yYjnjeuYDzDhhcAAUrq8Po85NBQBJP+ZDUT75qZQ98IkUoBqdkExkukOU7Ts2wrw==" 1090 | }, 1091 | "json-schema": { 1092 | "version": "0.2.3", 1093 | "resolved": "https://registry.npmjs.org/json-schema/-/json-schema-0.2.3.tgz", 1094 | "integrity": "sha1-tIDIkuWaLwWVTOcnvT8qTogvnhM=" 1095 | }, 1096 | "json-schema-traverse": { 1097 | "version": "0.4.1", 1098 | "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", 1099 | "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==" 1100 | }, 1101 | "json-stringify-safe": { 1102 | "version": "5.0.1", 1103 | "resolved": "https://registry.npmjs.org/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz", 1104 | "integrity": "sha1-Epai1Y/UXxmg9s4B1lcB4sc1tus=" 1105 | }, 1106 | "jsonld": { 1107 | "version": "1.7.0", 1108 | "resolved": "https://registry.npmjs.org/jsonld/-/jsonld-1.7.0.tgz", 1109 | "integrity": "sha512-vqdw1px6pjim4k7dQir6CyxmkVhoClmwZPM/rw3r5KZZv/zDRBvYEpR0u/NTnuwfe9xHKUIGlVTq3PRJTvLRHQ==", 1110 | "requires": { 1111 | "rdf-canonize": "^1.0.2", 1112 | "request": "^2.88.0", 1113 | "semver": "^5.6.0", 1114 | "xmldom": "0.1.19" 1115 | }, 1116 | "dependencies": { 1117 | "semver": { 1118 | "version": "5.7.1", 1119 | "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", 1120 | "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==" 1121 | } 1122 | } 1123 | }, 1124 | "jsprim": { 1125 | "version": "1.4.1", 1126 | "resolved": "https://registry.npmjs.org/jsprim/-/jsprim-1.4.1.tgz", 1127 | "integrity": "sha1-MT5mvB5cwG5Di8G3SZwuXFastqI=", 1128 | "requires": { 1129 | "assert-plus": "1.0.0", 1130 | "extsprintf": "1.3.0", 1131 | "json-schema": "0.2.3", 1132 | "verror": "1.10.0" 1133 | } 1134 | }, 1135 | "latest-version": { 1136 | "version": "3.1.0", 1137 | "resolved": "https://registry.npmjs.org/latest-version/-/latest-version-3.1.0.tgz", 1138 | "integrity": "sha1-ogU4P+oyKzO1rjsYq+4NwvNW7hU=", 1139 | "requires": { 1140 | "package-json": "^4.0.0" 1141 | } 1142 | }, 1143 | "lcid": { 1144 | "version": "1.0.0", 1145 | "resolved": "https://registry.npmjs.org/lcid/-/lcid-1.0.0.tgz", 1146 | "integrity": "sha1-MIrMr6C8SDo4Z7S28rlQYlHRuDU=", 1147 | "requires": { 1148 | "invert-kv": "^1.0.0" 1149 | } 1150 | }, 1151 | "load-json-file": { 1152 | "version": "4.0.0", 1153 | "resolved": "https://registry.npmjs.org/load-json-file/-/load-json-file-4.0.0.tgz", 1154 | "integrity": "sha1-L19Fq5HjMhYjT9U62rZo607AmTs=", 1155 | "requires": { 1156 | "graceful-fs": "^4.1.2", 1157 | "parse-json": "^4.0.0", 1158 | "pify": "^3.0.0", 1159 | "strip-bom": "^3.0.0" 1160 | } 1161 | }, 1162 | "locate-path": { 1163 | "version": "2.0.0", 1164 | "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-2.0.0.tgz", 1165 | "integrity": "sha1-K1aLJl7slExtnA3pw9u7ygNUzY4=", 1166 | "requires": { 1167 | "p-locate": "^2.0.0", 1168 | "path-exists": "^3.0.0" 1169 | } 1170 | }, 1171 | "lodash": { 1172 | "version": "4.17.10", 1173 | "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.10.tgz", 1174 | "integrity": "sha512-UejweD1pDoXu+AD825lWwp4ZGtSwgnpZxb3JDViD7StjQz+Nb/6l093lx4OQ0foGWNRoc19mWy7BzL+UAK2iVg==" 1175 | }, 1176 | "loud-rejection": { 1177 | "version": "1.6.0", 1178 | "resolved": "https://registry.npmjs.org/loud-rejection/-/loud-rejection-1.6.0.tgz", 1179 | "integrity": "sha1-W0b4AUft7leIcPCG0Eghz5mOVR8=", 1180 | "requires": { 1181 | "currently-unhandled": "^0.4.1", 1182 | "signal-exit": "^3.0.0" 1183 | } 1184 | }, 1185 | "lowercase-keys": { 1186 | "version": "1.0.1", 1187 | "resolved": "https://registry.npmjs.org/lowercase-keys/-/lowercase-keys-1.0.1.tgz", 1188 | "integrity": "sha512-G2Lj61tXDnVFFOi8VZds+SoQjtQC3dgokKdDG2mTm1tx4m50NUHBOZSBwQQHyy0V12A0JTG4icfZQH+xPyh8VA==" 1189 | }, 1190 | "lru-cache": { 1191 | "version": "4.1.3", 1192 | "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-4.1.3.tgz", 1193 | "integrity": "sha512-fFEhvcgzuIoJVUF8fYr5KR0YqxD238zgObTps31YdADwPPAp82a4M8TrckkWyx7ekNlf9aBcVn81cFwwXngrJA==", 1194 | "requires": { 1195 | "pseudomap": "^1.0.2", 1196 | "yallist": "^2.1.2" 1197 | } 1198 | }, 1199 | "make-dir": { 1200 | "version": "1.3.0", 1201 | "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-1.3.0.tgz", 1202 | "integrity": "sha512-2w31R7SJtieJJnQtGc7RVL2StM2vGYVfqUOvUDxH6bC6aJTxPxTF0GnIgCyu7tjockiUWAYQRbxa7vKn34s5sQ==", 1203 | "requires": { 1204 | "pify": "^3.0.0" 1205 | } 1206 | }, 1207 | "make-error": { 1208 | "version": "1.3.4", 1209 | "resolved": "https://registry.npmjs.org/make-error/-/make-error-1.3.4.tgz", 1210 | "integrity": "sha512-0Dab5btKVPhibSalc9QGXb559ED7G7iLjFXBaj9Wq8O3vorueR5K5jaE3hkG6ZQINyhA/JgG6Qk4qdFQjsYV6g==", 1211 | "dev": true 1212 | }, 1213 | "map-obj": { 1214 | "version": "2.0.0", 1215 | "resolved": "https://registry.npmjs.org/map-obj/-/map-obj-2.0.0.tgz", 1216 | "integrity": "sha1-plzSkIepJZi4eRJXpSPgISIqwfk=" 1217 | }, 1218 | "mem": { 1219 | "version": "1.1.0", 1220 | "resolved": "https://registry.npmjs.org/mem/-/mem-1.1.0.tgz", 1221 | "integrity": "sha1-Xt1StIXKHZAP5kiVUFOZoN+kX3Y=", 1222 | "requires": { 1223 | "mimic-fn": "^1.0.0" 1224 | } 1225 | }, 1226 | "meow": { 1227 | "version": "5.0.0", 1228 | "resolved": "https://registry.npmjs.org/meow/-/meow-5.0.0.tgz", 1229 | "integrity": "sha512-CbTqYU17ABaLefO8vCU153ZZlprKYWDljcndKKDCFcYQITzWCXZAVk4QMFZPgvzrnUQ3uItnIE/LoUOwrT15Ig==", 1230 | "requires": { 1231 | "camelcase-keys": "^4.0.0", 1232 | "decamelize-keys": "^1.0.0", 1233 | "loud-rejection": "^1.0.0", 1234 | "minimist-options": "^3.0.1", 1235 | "normalize-package-data": "^2.3.4", 1236 | "read-pkg-up": "^3.0.0", 1237 | "redent": "^2.0.0", 1238 | "trim-newlines": "^2.0.0", 1239 | "yargs-parser": "^10.0.0" 1240 | } 1241 | }, 1242 | "mime-db": { 1243 | "version": "1.40.0", 1244 | "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.40.0.tgz", 1245 | "integrity": "sha512-jYdeOMPy9vnxEqFRRo6ZvTZ8d9oPb+k18PKoYNYUe2stVEBPPwsln/qWzdbmaIvnhZ9v2P+CuecK+fpUfsV2mA==" 1246 | }, 1247 | "mime-types": { 1248 | "version": "2.1.24", 1249 | "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.24.tgz", 1250 | "integrity": "sha512-WaFHS3MCl5fapm3oLxU4eYDw77IQM2ACcxQ9RIxfaC3ooc6PFuBMGZZsYpvoXS5D5QTWPieo1jjLdAm3TBP3cQ==", 1251 | "requires": { 1252 | "mime-db": "1.40.0" 1253 | } 1254 | }, 1255 | "mimic-fn": { 1256 | "version": "1.2.0", 1257 | "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-1.2.0.tgz", 1258 | "integrity": "sha512-jf84uxzwiuiIVKiOLpfYk7N46TSy8ubTonmneY9vrpHNAnp0QBt2BxWV9dO3/j+BoVAb+a5G6YDPW3M5HOdMWQ==" 1259 | }, 1260 | "minimatch": { 1261 | "version": "3.0.4", 1262 | "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz", 1263 | "integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==", 1264 | "requires": { 1265 | "brace-expansion": "^1.1.7" 1266 | } 1267 | }, 1268 | "minimist": { 1269 | "version": "1.2.0", 1270 | "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz", 1271 | "integrity": "sha1-o1AIsg9BOD7sH7kU9M1d95omQoQ=" 1272 | }, 1273 | "minimist-options": { 1274 | "version": "3.0.2", 1275 | "resolved": "https://registry.npmjs.org/minimist-options/-/minimist-options-3.0.2.tgz", 1276 | "integrity": "sha512-FyBrT/d0d4+uiZRbqznPXqw3IpZZG3gl3wKWiX784FycUKVwBt0uLBFkQrtE4tZOrgo78nZp2jnKz3L65T5LdQ==", 1277 | "requires": { 1278 | "arrify": "^1.0.1", 1279 | "is-plain-obj": "^1.1.0" 1280 | } 1281 | }, 1282 | "mkdirp": { 1283 | "version": "0.5.1", 1284 | "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.1.tgz", 1285 | "integrity": "sha1-MAV0OOrGz3+MR2fzhkjWaX11yQM=", 1286 | "dev": true, 1287 | "requires": { 1288 | "minimist": "0.0.8" 1289 | }, 1290 | "dependencies": { 1291 | "minimist": { 1292 | "version": "0.0.8", 1293 | "resolved": "https://registry.npmjs.org/minimist/-/minimist-0.0.8.tgz", 1294 | "integrity": "sha1-hX/Kv8M5fSYluCKCYuhqp6ARsF0=", 1295 | "dev": true 1296 | } 1297 | } 1298 | }, 1299 | "mute-stream": { 1300 | "version": "0.0.7", 1301 | "resolved": "https://registry.npmjs.org/mute-stream/-/mute-stream-0.0.7.tgz", 1302 | "integrity": "sha1-MHXOk7whuPq0PhvE2n6BFe0ee6s=" 1303 | }, 1304 | "n3": { 1305 | "version": "0.11.3", 1306 | "resolved": "https://registry.npmjs.org/n3/-/n3-0.11.3.tgz", 1307 | "integrity": "sha512-Hk5GSXBeAZrYoqi+NeS/U0H47Hx0Lzj7K6nLWCZpC9E04iUwEwBcrlMb/5foAli7QF4newPNQQQGgM6IAxTxGg==" 1308 | }, 1309 | "node-fetch": { 1310 | "version": "2.6.0", 1311 | "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.0.tgz", 1312 | "integrity": "sha512-8dG4H5ujfvFiqDmVu9fQ5bOHUC15JMjMY/Zumv26oOvvVJjM67KF8koCWIabKQ1GJIa9r2mMZscBq/TbdOcmNA==" 1313 | }, 1314 | "node-forge": { 1315 | "version": "0.8.5", 1316 | "resolved": "https://registry.npmjs.org/node-forge/-/node-forge-0.8.5.tgz", 1317 | "integrity": "sha512-vFMQIWt+J/7FLNyKouZ9TazT74PRV3wgv9UT4cRjC8BffxFbKXkgIWR42URCPSnHm/QDz6BOlb2Q0U4+VQT67Q==" 1318 | }, 1319 | "normalize-package-data": { 1320 | "version": "2.4.0", 1321 | "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.4.0.tgz", 1322 | "integrity": "sha512-9jjUFbTPfEy3R/ad/2oNbKtW9Hgovl5O1FvFWKkKblNXoN/Oou6+9+KKohPK13Yc3/TyunyWhJp6gvRNR/PPAw==", 1323 | "requires": { 1324 | "hosted-git-info": "^2.1.4", 1325 | "is-builtin-module": "^1.0.0", 1326 | "semver": "2 || 3 || 4 || 5", 1327 | "validate-npm-package-license": "^3.0.1" 1328 | } 1329 | }, 1330 | "npm-run-path": { 1331 | "version": "2.0.2", 1332 | "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-2.0.2.tgz", 1333 | "integrity": "sha1-NakjLfo11wZ7TLLd8jV7GHFTbF8=", 1334 | "requires": { 1335 | "path-key": "^2.0.0" 1336 | } 1337 | }, 1338 | "nth-check": { 1339 | "version": "1.0.2", 1340 | "resolved": "https://registry.npmjs.org/nth-check/-/nth-check-1.0.2.tgz", 1341 | "integrity": "sha512-WeBOdju8SnzPN5vTUJYxYUxLeXpCaVP5i5e0LF8fg7WORF2Wd7wFX/pk0tYZk7s8T+J7VLy0Da6J1+wCT0AtHg==", 1342 | "requires": { 1343 | "boolbase": "~1.0.0" 1344 | } 1345 | }, 1346 | "number-is-nan": { 1347 | "version": "1.0.1", 1348 | "resolved": "https://registry.npmjs.org/number-is-nan/-/number-is-nan-1.0.1.tgz", 1349 | "integrity": "sha1-CXtgK1NCKlIsGvuHkDGDNpQaAR0=" 1350 | }, 1351 | "oauth-sign": { 1352 | "version": "0.9.0", 1353 | "resolved": "https://registry.npmjs.org/oauth-sign/-/oauth-sign-0.9.0.tgz", 1354 | "integrity": "sha512-fexhUFFPTGV8ybAtSIGbV6gOkSv8UtRbDBnAyLQw4QPKkgNlsH2ByPGtMUqdWkos6YCRmAqViwgZrJc/mRDzZQ==" 1355 | }, 1356 | "once": { 1357 | "version": "1.4.0", 1358 | "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", 1359 | "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=", 1360 | "requires": { 1361 | "wrappy": "1" 1362 | } 1363 | }, 1364 | "onetime": { 1365 | "version": "2.0.1", 1366 | "resolved": "https://registry.npmjs.org/onetime/-/onetime-2.0.1.tgz", 1367 | "integrity": "sha1-BnQoIw/WdEOyeUsiu6UotoZ5YtQ=", 1368 | "requires": { 1369 | "mimic-fn": "^1.0.0" 1370 | } 1371 | }, 1372 | "os-locale": { 1373 | "version": "2.1.0", 1374 | "resolved": "https://registry.npmjs.org/os-locale/-/os-locale-2.1.0.tgz", 1375 | "integrity": "sha512-3sslG3zJbEYcaC4YVAvDorjGxc7tv6KVATnLPZONiljsUncvihe9BQoVCEs0RZ1kmf4Hk9OBqlZfJZWI4GanKA==", 1376 | "requires": { 1377 | "execa": "^0.7.0", 1378 | "lcid": "^1.0.0", 1379 | "mem": "^1.1.0" 1380 | } 1381 | }, 1382 | "os-tmpdir": { 1383 | "version": "1.0.2", 1384 | "resolved": "https://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz", 1385 | "integrity": "sha1-u+Z0BseaqFxc/sdm/lc0VV36EnQ=" 1386 | }, 1387 | "p-finally": { 1388 | "version": "1.0.0", 1389 | "resolved": "https://registry.npmjs.org/p-finally/-/p-finally-1.0.0.tgz", 1390 | "integrity": "sha1-P7z7FbiZpEEjs0ttzBi3JDNqLK4=" 1391 | }, 1392 | "p-limit": { 1393 | "version": "1.3.0", 1394 | "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-1.3.0.tgz", 1395 | "integrity": "sha512-vvcXsLAJ9Dr5rQOPk7toZQZJApBl2K4J6dANSsEuh6QI41JYcsS/qhTGa9ErIUUgK3WNQoJYvylxvjqmiqEA9Q==", 1396 | "requires": { 1397 | "p-try": "^1.0.0" 1398 | } 1399 | }, 1400 | "p-locate": { 1401 | "version": "2.0.0", 1402 | "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-2.0.0.tgz", 1403 | "integrity": "sha1-IKAQOyIqcMj9OcwuWAaA893l7EM=", 1404 | "requires": { 1405 | "p-limit": "^1.1.0" 1406 | } 1407 | }, 1408 | "p-try": { 1409 | "version": "1.0.0", 1410 | "resolved": "https://registry.npmjs.org/p-try/-/p-try-1.0.0.tgz", 1411 | "integrity": "sha1-y8ec26+P1CKOE/Yh8rGiN8GyB7M=" 1412 | }, 1413 | "package-json": { 1414 | "version": "4.0.1", 1415 | "resolved": "https://registry.npmjs.org/package-json/-/package-json-4.0.1.tgz", 1416 | "integrity": "sha1-iGmgQBJTZhxMTKPabCEh7VVfXu0=", 1417 | "requires": { 1418 | "got": "^6.7.1", 1419 | "registry-auth-token": "^3.0.1", 1420 | "registry-url": "^3.0.3", 1421 | "semver": "^5.1.0" 1422 | } 1423 | }, 1424 | "parse-json": { 1425 | "version": "4.0.0", 1426 | "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-4.0.0.tgz", 1427 | "integrity": "sha1-vjX1Qlvh9/bHRxhPmKeIy5lHfuA=", 1428 | "requires": { 1429 | "error-ex": "^1.3.1", 1430 | "json-parse-better-errors": "^1.0.1" 1431 | } 1432 | }, 1433 | "parse5": { 1434 | "version": "3.0.3", 1435 | "resolved": "https://registry.npmjs.org/parse5/-/parse5-3.0.3.tgz", 1436 | "integrity": "sha512-rgO9Zg5LLLkfJF9E6CCmXlSE4UVceloys8JrFqCcHloC3usd/kJCyPDwH2SOlzix2j3xaP9sUX3e8+kvkuleAA==", 1437 | "requires": { 1438 | "@types/node": "*" 1439 | } 1440 | }, 1441 | "path-exists": { 1442 | "version": "3.0.0", 1443 | "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz", 1444 | "integrity": "sha1-zg6+ql94yxiSXqfYENe1mwEP1RU=" 1445 | }, 1446 | "path-is-absolute": { 1447 | "version": "1.0.1", 1448 | "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", 1449 | "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=" 1450 | }, 1451 | "path-is-inside": { 1452 | "version": "1.0.2", 1453 | "resolved": "https://registry.npmjs.org/path-is-inside/-/path-is-inside-1.0.2.tgz", 1454 | "integrity": "sha1-NlQX3t5EQw0cEa9hAn+s8HS9/FM=" 1455 | }, 1456 | "path-key": { 1457 | "version": "2.0.1", 1458 | "resolved": "https://registry.npmjs.org/path-key/-/path-key-2.0.1.tgz", 1459 | "integrity": "sha1-QRyttXTFoUDTpLGRDUDYDMn0C0A=" 1460 | }, 1461 | "path-parse": { 1462 | "version": "1.0.5", 1463 | "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.5.tgz", 1464 | "integrity": "sha1-PBrfhx6pzWyUMbbqK9dKD/BVxME=" 1465 | }, 1466 | "path-type": { 1467 | "version": "3.0.0", 1468 | "resolved": "https://registry.npmjs.org/path-type/-/path-type-3.0.0.tgz", 1469 | "integrity": "sha512-T2ZUsdZFHgA3u4e5PfPbjd7HDDpxPnQb5jN0SrDsjNSuVXHJqtwTnWqG0B1jZrgmJ/7lj1EmVIByWt1gxGkWvg==", 1470 | "requires": { 1471 | "pify": "^3.0.0" 1472 | } 1473 | }, 1474 | "performance-now": { 1475 | "version": "2.1.0", 1476 | "resolved": "https://registry.npmjs.org/performance-now/-/performance-now-2.1.0.tgz", 1477 | "integrity": "sha1-Ywn04OX6kT7BxpMHrjZLSzd8nns=" 1478 | }, 1479 | "pify": { 1480 | "version": "3.0.0", 1481 | "resolved": "https://registry.npmjs.org/pify/-/pify-3.0.0.tgz", 1482 | "integrity": "sha1-5aSs0sEB/fPZpNB/DbxNtJ3SgXY=" 1483 | }, 1484 | "prepend-http": { 1485 | "version": "1.0.4", 1486 | "resolved": "https://registry.npmjs.org/prepend-http/-/prepend-http-1.0.4.tgz", 1487 | "integrity": "sha1-1PRWKwzjaW5BrFLQ4ALlemNdxtw=" 1488 | }, 1489 | "pseudomap": { 1490 | "version": "1.0.2", 1491 | "resolved": "https://registry.npmjs.org/pseudomap/-/pseudomap-1.0.2.tgz", 1492 | "integrity": "sha1-8FKijacOYYkX7wqKw0wa5aaChrM=" 1493 | }, 1494 | "psl": { 1495 | "version": "1.3.1", 1496 | "resolved": "https://registry.npmjs.org/psl/-/psl-1.3.1.tgz", 1497 | "integrity": "sha512-2KLd5fKOdAfShtY2d/8XDWVRnmp3zp40Qt6ge2zBPFARLXOGUf2fHD5eg+TV/5oxBtQKVhjUaKFsAaE4HnwfSA==" 1498 | }, 1499 | "punycode": { 1500 | "version": "2.1.1", 1501 | "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz", 1502 | "integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==" 1503 | }, 1504 | "qs": { 1505 | "version": "6.5.2", 1506 | "resolved": "https://registry.npmjs.org/qs/-/qs-6.5.2.tgz", 1507 | "integrity": "sha512-N5ZAX4/LxJmF+7wN74pUD6qAh9/wnvdQcjq9TZjevvXzSUo7bfmw91saqMjzGS2xq91/odN2dW/WOl7qQHNDGA==" 1508 | }, 1509 | "quick-lru": { 1510 | "version": "1.1.0", 1511 | "resolved": "https://registry.npmjs.org/quick-lru/-/quick-lru-1.1.0.tgz", 1512 | "integrity": "sha1-Q2CxfGETatOAeDl/8RQW4Ybc+7g=" 1513 | }, 1514 | "rc": { 1515 | "version": "1.2.8", 1516 | "resolved": "https://registry.npmjs.org/rc/-/rc-1.2.8.tgz", 1517 | "integrity": "sha512-y3bGgqKj3QBdxLbLkomlohkvsA8gdAiUQlSBJnBhfn+BPxg4bc62d8TcBW15wavDfgexCgccckhcZvywyQYPOw==", 1518 | "requires": { 1519 | "deep-extend": "^0.6.0", 1520 | "ini": "~1.3.0", 1521 | "minimist": "^1.2.0", 1522 | "strip-json-comments": "~2.0.1" 1523 | } 1524 | }, 1525 | "rdf": { 1526 | "version": "3.0.1", 1527 | "resolved": "https://registry.npmjs.org/rdf/-/rdf-3.0.1.tgz", 1528 | "integrity": "sha1-QR9bif0cUT5yzPgvu0VfeH2k/k4=", 1529 | "requires": { 1530 | "iri": "~1" 1531 | } 1532 | }, 1533 | "rdf-canonize": { 1534 | "version": "1.0.3", 1535 | "resolved": "https://registry.npmjs.org/rdf-canonize/-/rdf-canonize-1.0.3.tgz", 1536 | "integrity": "sha512-piLMOB5Q6LJSVx2XzmdpHktYVb8TmVTy8coXJBFtdkcMC96DknZOuzpAYqCWx2ERZX7xEW+mMi8/wDuMJS/95w==", 1537 | "requires": { 1538 | "node-forge": "^0.8.1", 1539 | "semver": "^5.6.0" 1540 | }, 1541 | "dependencies": { 1542 | "semver": { 1543 | "version": "5.7.1", 1544 | "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", 1545 | "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==" 1546 | } 1547 | } 1548 | }, 1549 | "rdf-tools": { 1550 | "version": "0.4.5", 1551 | "resolved": "https://registry.npmjs.org/rdf-tools/-/rdf-tools-0.4.5.tgz", 1552 | "integrity": "sha512-ftT7FemLYAbU/MTMUzFGrVXA3B+VEZW9dTUrefn+if6u8zAOfEl5XaXyCuRcwjid9ofb5ym6lW3Z9eg1lBa6Cw==", 1553 | "requires": { 1554 | "@types/globby": "^6.1.0", 1555 | "@types/n3": "^0.0.3", 1556 | "@types/node": "^8.5.2", 1557 | "@types/yargs": "^10.0.1", 1558 | "globby": "^7.1.1", 1559 | "json-format": "^1.0.1", 1560 | "n3": "^0.11.2", 1561 | "rdf": "^3.0.1", 1562 | "semantic-toolkit": "^0.2.1", 1563 | "typescript": "^2.6.2", 1564 | "typescript-formatter": "^7.0.1", 1565 | "yargs": "^10.1.1" 1566 | }, 1567 | "dependencies": { 1568 | "@types/node": { 1569 | "version": "8.10.53", 1570 | "resolved": "https://registry.npmjs.org/@types/node/-/node-8.10.53.tgz", 1571 | "integrity": "sha512-aOmXdv1a1/vYUn1OT1CED8ftbkmmYbKhKGSyMDeJiidLvKRKvZUQOdXwG/wcNY7T1Qb0XTlVdiYjIq00U7pLrQ==" 1572 | }, 1573 | "typescript": { 1574 | "version": "2.9.2", 1575 | "resolved": "https://registry.npmjs.org/typescript/-/typescript-2.9.2.tgz", 1576 | "integrity": "sha512-Gr4p6nFNaoufRIY4NMdpQRNmgxVIGMs4Fcu/ujdYk3nAZqk7supzBE9idmvfZIlH/Cuj//dvi+019qEue9lV0w==" 1577 | } 1578 | } 1579 | }, 1580 | "read-pkg": { 1581 | "version": "3.0.0", 1582 | "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-3.0.0.tgz", 1583 | "integrity": "sha1-nLxoaXj+5l0WwA4rGcI3/Pbjg4k=", 1584 | "requires": { 1585 | "load-json-file": "^4.0.0", 1586 | "normalize-package-data": "^2.3.2", 1587 | "path-type": "^3.0.0" 1588 | } 1589 | }, 1590 | "read-pkg-up": { 1591 | "version": "3.0.0", 1592 | "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-3.0.0.tgz", 1593 | "integrity": "sha1-PtSWaF26D4/hGNBpHcUfSh/5bwc=", 1594 | "requires": { 1595 | "find-up": "^2.0.0", 1596 | "read-pkg": "^3.0.0" 1597 | } 1598 | }, 1599 | "readable-stream": { 1600 | "version": "3.4.0", 1601 | "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.4.0.tgz", 1602 | "integrity": "sha512-jItXPLmrSR8jmTRmRWJXCnGJsfy85mB3Wd/uINMXA65yrnFo0cPClFIUWzo2najVNSl+mx7/4W8ttlLWJe99pQ==", 1603 | "requires": { 1604 | "inherits": "^2.0.3", 1605 | "string_decoder": "^1.1.1", 1606 | "util-deprecate": "^1.0.1" 1607 | } 1608 | }, 1609 | "redent": { 1610 | "version": "2.0.0", 1611 | "resolved": "https://registry.npmjs.org/redent/-/redent-2.0.0.tgz", 1612 | "integrity": "sha1-wbIAe0LVfrE4kHmzyDM2OdXhzKo=", 1613 | "requires": { 1614 | "indent-string": "^3.0.0", 1615 | "strip-indent": "^2.0.0" 1616 | } 1617 | }, 1618 | "registry-auth-token": { 1619 | "version": "3.3.2", 1620 | "resolved": "https://registry.npmjs.org/registry-auth-token/-/registry-auth-token-3.3.2.tgz", 1621 | "integrity": "sha512-JL39c60XlzCVgNrO+qq68FoNb56w/m7JYvGR2jT5iR1xBrUA3Mfx5Twk5rqTThPmQKMWydGmq8oFtDlxfrmxnQ==", 1622 | "requires": { 1623 | "rc": "^1.1.6", 1624 | "safe-buffer": "^5.0.1" 1625 | } 1626 | }, 1627 | "registry-url": { 1628 | "version": "3.1.0", 1629 | "resolved": "https://registry.npmjs.org/registry-url/-/registry-url-3.1.0.tgz", 1630 | "integrity": "sha1-PU74cPc93h138M+aOBQyRE4XSUI=", 1631 | "requires": { 1632 | "rc": "^1.0.1" 1633 | } 1634 | }, 1635 | "request": { 1636 | "version": "2.88.0", 1637 | "resolved": "https://registry.npmjs.org/request/-/request-2.88.0.tgz", 1638 | "integrity": "sha512-NAqBSrijGLZdM0WZNsInLJpkJokL72XYjUpnB0iwsRgxh7dB6COrHnTBNwN0E+lHDAJzu7kLAkDeY08z2/A0hg==", 1639 | "requires": { 1640 | "aws-sign2": "~0.7.0", 1641 | "aws4": "^1.8.0", 1642 | "caseless": "~0.12.0", 1643 | "combined-stream": "~1.0.6", 1644 | "extend": "~3.0.2", 1645 | "forever-agent": "~0.6.1", 1646 | "form-data": "~2.3.2", 1647 | "har-validator": "~5.1.0", 1648 | "http-signature": "~1.2.0", 1649 | "is-typedarray": "~1.0.0", 1650 | "isstream": "~0.1.2", 1651 | "json-stringify-safe": "~5.0.1", 1652 | "mime-types": "~2.1.19", 1653 | "oauth-sign": "~0.9.0", 1654 | "performance-now": "^2.1.0", 1655 | "qs": "~6.5.2", 1656 | "safe-buffer": "^5.1.2", 1657 | "tough-cookie": "~2.4.3", 1658 | "tunnel-agent": "^0.6.0", 1659 | "uuid": "^3.3.2" 1660 | } 1661 | }, 1662 | "require-directory": { 1663 | "version": "2.1.1", 1664 | "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", 1665 | "integrity": "sha1-jGStX9MNqxyXbiNE/+f3kqam30I=" 1666 | }, 1667 | "require-main-filename": { 1668 | "version": "1.0.1", 1669 | "resolved": "https://registry.npmjs.org/require-main-filename/-/require-main-filename-1.0.1.tgz", 1670 | "integrity": "sha1-l/cXtp1IeE9fUmpsWqj/3aBVpNE=" 1671 | }, 1672 | "resolve": { 1673 | "version": "1.7.1", 1674 | "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.7.1.tgz", 1675 | "integrity": "sha512-c7rwLofp8g1U+h1KNyHL/jicrKg1Ek4q+Lr33AL65uZTinUZHe30D5HlyN5V9NW0JX1D5dXQ4jqW5l7Sy/kGfw==", 1676 | "requires": { 1677 | "path-parse": "^1.0.5" 1678 | } 1679 | }, 1680 | "restore-cursor": { 1681 | "version": "2.0.0", 1682 | "resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-2.0.0.tgz", 1683 | "integrity": "sha1-n37ih/gv0ybU/RYpI9YhKe7g368=", 1684 | "requires": { 1685 | "onetime": "^2.0.0", 1686 | "signal-exit": "^3.0.2" 1687 | } 1688 | }, 1689 | "rimraf": { 1690 | "version": "2.6.2", 1691 | "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.6.2.tgz", 1692 | "integrity": "sha512-lreewLK/BlghmxtfH36YYVg1i8IAce4TI7oao75I1g245+6BctqTVQiBP3YUJ9C6DQOXJmkYR9X9fCLtCOJc5w==", 1693 | "requires": { 1694 | "glob": "^7.0.5" 1695 | } 1696 | }, 1697 | "run-async": { 1698 | "version": "2.3.0", 1699 | "resolved": "https://registry.npmjs.org/run-async/-/run-async-2.3.0.tgz", 1700 | "integrity": "sha1-A3GrSuC91yDUFm19/aZP96RFpsA=", 1701 | "requires": { 1702 | "is-promise": "^2.1.0" 1703 | } 1704 | }, 1705 | "rxjs": { 1706 | "version": "5.5.11", 1707 | "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-5.5.11.tgz", 1708 | "integrity": "sha512-3bjO7UwWfA2CV7lmwYMBzj4fQ6Cq+ftHc2MvUe+WMS7wcdJ1LosDWmdjPQanYp2dBRj572p7PeU81JUxHKOcBA==", 1709 | "requires": { 1710 | "symbol-observable": "1.0.1" 1711 | } 1712 | }, 1713 | "safe-buffer": { 1714 | "version": "5.1.2", 1715 | "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", 1716 | "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" 1717 | }, 1718 | "safer-buffer": { 1719 | "version": "2.1.2", 1720 | "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", 1721 | "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==" 1722 | }, 1723 | "semantic-toolkit": { 1724 | "version": "0.2.1", 1725 | "resolved": "https://registry.npmjs.org/semantic-toolkit/-/semantic-toolkit-0.2.1.tgz", 1726 | "integrity": "sha512-InqYNtPOlEodNdZCU38kBs4BnpkKe1u7+KwHZcySVZs4gmLQSOz+H8tkfTS5guNEh2Ln0RZ0DBQ3dsyvFGuXng==" 1727 | }, 1728 | "semver": { 1729 | "version": "5.5.0", 1730 | "resolved": "https://registry.npmjs.org/semver/-/semver-5.5.0.tgz", 1731 | "integrity": "sha512-4SJ3dm0WAwWy/NVeioZh5AntkdJoWKxHxcmyP622fOkgHa4z3R0TdBJICINyaSDE6uNwVc8gZr+ZinwZAH4xIA==" 1732 | }, 1733 | "semver-diff": { 1734 | "version": "2.1.0", 1735 | "resolved": "https://registry.npmjs.org/semver-diff/-/semver-diff-2.1.0.tgz", 1736 | "integrity": "sha1-S7uEN8jTfksM8aaP1ybsbWRdbTY=", 1737 | "requires": { 1738 | "semver": "^5.0.3" 1739 | } 1740 | }, 1741 | "set-blocking": { 1742 | "version": "2.0.0", 1743 | "resolved": "https://registry.npmjs.org/set-blocking/-/set-blocking-2.0.0.tgz", 1744 | "integrity": "sha1-BF+XgtARrppoA93TgrJDkrPYkPc=" 1745 | }, 1746 | "shebang-command": { 1747 | "version": "1.2.0", 1748 | "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-1.2.0.tgz", 1749 | "integrity": "sha1-RKrGW2lbAzmJaMOfNj/uXer98eo=", 1750 | "requires": { 1751 | "shebang-regex": "^1.0.0" 1752 | } 1753 | }, 1754 | "shebang-regex": { 1755 | "version": "1.0.0", 1756 | "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-1.0.0.tgz", 1757 | "integrity": "sha1-2kL0l0DAtC2yypcoVxyxkMmO/qM=" 1758 | }, 1759 | "sigmund": { 1760 | "version": "1.0.1", 1761 | "resolved": "https://registry.npmjs.org/sigmund/-/sigmund-1.0.1.tgz", 1762 | "integrity": "sha1-P/IfGYytIXX587eBhT/ZTQ0ZtZA=" 1763 | }, 1764 | "signal-exit": { 1765 | "version": "3.0.2", 1766 | "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.2.tgz", 1767 | "integrity": "sha1-tf3AjxKH6hF4Yo5BXiUTK3NkbG0=" 1768 | }, 1769 | "slash": { 1770 | "version": "1.0.0", 1771 | "resolved": "https://registry.npmjs.org/slash/-/slash-1.0.0.tgz", 1772 | "integrity": "sha1-xB8vbDn8FtHNF61LXYlhFK5HDVU=" 1773 | }, 1774 | "source-map": { 1775 | "version": "0.6.1", 1776 | "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", 1777 | "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", 1778 | "dev": true 1779 | }, 1780 | "source-map-support": { 1781 | "version": "0.5.6", 1782 | "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.6.tgz", 1783 | "integrity": "sha512-N4KXEz7jcKqPf2b2vZF11lQIz9W5ZMuUcIOGj243lduidkf2fjkVKJS9vNxVWn3u/uxX38AcE8U9nnH9FPcq+g==", 1784 | "dev": true, 1785 | "requires": { 1786 | "buffer-from": "^1.0.0", 1787 | "source-map": "^0.6.0" 1788 | } 1789 | }, 1790 | "spdx-correct": { 1791 | "version": "3.0.0", 1792 | "resolved": "https://registry.npmjs.org/spdx-correct/-/spdx-correct-3.0.0.tgz", 1793 | "integrity": "sha512-N19o9z5cEyc8yQQPukRCZ9EUmb4HUpnrmaL/fxS2pBo2jbfcFRVuFZ/oFC+vZz0MNNk0h80iMn5/S6qGZOL5+g==", 1794 | "requires": { 1795 | "spdx-expression-parse": "^3.0.0", 1796 | "spdx-license-ids": "^3.0.0" 1797 | } 1798 | }, 1799 | "spdx-exceptions": { 1800 | "version": "2.1.0", 1801 | "resolved": "https://registry.npmjs.org/spdx-exceptions/-/spdx-exceptions-2.1.0.tgz", 1802 | "integrity": "sha512-4K1NsmrlCU1JJgUrtgEeTVyfx8VaYea9J9LvARxhbHtVtohPs/gFGG5yy49beySjlIMhhXZ4QqujIZEfS4l6Cg==" 1803 | }, 1804 | "spdx-expression-parse": { 1805 | "version": "3.0.0", 1806 | "resolved": "https://registry.npmjs.org/spdx-expression-parse/-/spdx-expression-parse-3.0.0.tgz", 1807 | "integrity": "sha512-Yg6D3XpRD4kkOmTpdgbUiEJFKghJH03fiC1OPll5h/0sO6neh2jqRDVHOQ4o/LMea0tgCkbMgea5ip/e+MkWyg==", 1808 | "requires": { 1809 | "spdx-exceptions": "^2.1.0", 1810 | "spdx-license-ids": "^3.0.0" 1811 | } 1812 | }, 1813 | "spdx-license-ids": { 1814 | "version": "3.0.0", 1815 | "resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.0.tgz", 1816 | "integrity": "sha512-2+EPwgbnmOIl8HjGBXXMd9NAu02vLjOO1nWw4kmeRDFyHn+M/ETfHxQUK0oXg8ctgVnl9t3rosNVsZ1jG61nDA==" 1817 | }, 1818 | "sprintf-js": { 1819 | "version": "1.0.3", 1820 | "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz", 1821 | "integrity": "sha1-BOaSb2YolTVPPdAVIDYzuFcpfiw=" 1822 | }, 1823 | "sshpk": { 1824 | "version": "1.16.1", 1825 | "resolved": "https://registry.npmjs.org/sshpk/-/sshpk-1.16.1.tgz", 1826 | "integrity": "sha512-HXXqVUq7+pcKeLqqZj6mHFUMvXtOJt1uoUx09pFW6011inTMxqI8BA8PM95myrIyyKwdnzjdFjLiE6KBPVtJIg==", 1827 | "requires": { 1828 | "asn1": "~0.2.3", 1829 | "assert-plus": "^1.0.0", 1830 | "bcrypt-pbkdf": "^1.0.0", 1831 | "dashdash": "^1.12.0", 1832 | "ecc-jsbn": "~0.1.1", 1833 | "getpass": "^0.1.1", 1834 | "jsbn": "~0.1.0", 1835 | "safer-buffer": "^2.0.2", 1836 | "tweetnacl": "~0.14.0" 1837 | } 1838 | }, 1839 | "string-width": { 1840 | "version": "2.1.1", 1841 | "resolved": "https://registry.npmjs.org/string-width/-/string-width-2.1.1.tgz", 1842 | "integrity": "sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw==", 1843 | "requires": { 1844 | "is-fullwidth-code-point": "^2.0.0", 1845 | "strip-ansi": "^4.0.0" 1846 | }, 1847 | "dependencies": { 1848 | "ansi-regex": { 1849 | "version": "3.0.0", 1850 | "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.0.tgz", 1851 | "integrity": "sha1-7QMXwyIGT3lGbAKWa922Bas32Zg=" 1852 | }, 1853 | "strip-ansi": { 1854 | "version": "4.0.0", 1855 | "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz", 1856 | "integrity": "sha1-qEeQIusaw2iocTibY1JixQXuNo8=", 1857 | "requires": { 1858 | "ansi-regex": "^3.0.0" 1859 | } 1860 | } 1861 | } 1862 | }, 1863 | "string_decoder": { 1864 | "version": "1.3.0", 1865 | "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz", 1866 | "integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==", 1867 | "requires": { 1868 | "safe-buffer": "~5.2.0" 1869 | }, 1870 | "dependencies": { 1871 | "safe-buffer": { 1872 | "version": "5.2.0", 1873 | "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.0.tgz", 1874 | "integrity": "sha512-fZEwUGbVl7kouZs1jCdMLdt95hdIv0ZeHg6L7qPeciMZhZ+/gdesW4wgTARkrFWEpspjEATAzUGPG8N2jJiwbg==" 1875 | } 1876 | } 1877 | }, 1878 | "strip-ansi": { 1879 | "version": "3.0.1", 1880 | "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz", 1881 | "integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=", 1882 | "requires": { 1883 | "ansi-regex": "^2.0.0" 1884 | } 1885 | }, 1886 | "strip-bom": { 1887 | "version": "3.0.0", 1888 | "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-3.0.0.tgz", 1889 | "integrity": "sha1-IzTBjpx1n3vdVv3vfprj1YjmjtM=" 1890 | }, 1891 | "strip-eof": { 1892 | "version": "1.0.0", 1893 | "resolved": "https://registry.npmjs.org/strip-eof/-/strip-eof-1.0.0.tgz", 1894 | "integrity": "sha1-u0P/VZim6wXYm1n80SnJgzE2Br8=" 1895 | }, 1896 | "strip-indent": { 1897 | "version": "2.0.0", 1898 | "resolved": "https://registry.npmjs.org/strip-indent/-/strip-indent-2.0.0.tgz", 1899 | "integrity": "sha1-XvjbKV0B5u1sv3qrlpmNeCJSe2g=" 1900 | }, 1901 | "strip-json-comments": { 1902 | "version": "2.0.1", 1903 | "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-2.0.1.tgz", 1904 | "integrity": "sha1-PFMZQukIwml8DsNEhYwobHygpgo=" 1905 | }, 1906 | "supports-color": { 1907 | "version": "2.0.0", 1908 | "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz", 1909 | "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=" 1910 | }, 1911 | "symbol-observable": { 1912 | "version": "1.0.1", 1913 | "resolved": "https://registry.npmjs.org/symbol-observable/-/symbol-observable-1.0.1.tgz", 1914 | "integrity": "sha1-g0D8RwLDEi310iKI+IKD9RPT/dQ=" 1915 | }, 1916 | "term-size": { 1917 | "version": "1.2.0", 1918 | "resolved": "https://registry.npmjs.org/term-size/-/term-size-1.2.0.tgz", 1919 | "integrity": "sha1-RYuDiH8oj8Vtb/+/rSYuJmOO+mk=", 1920 | "requires": { 1921 | "execa": "^0.7.0" 1922 | } 1923 | }, 1924 | "through": { 1925 | "version": "2.3.8", 1926 | "resolved": "https://registry.npmjs.org/through/-/through-2.3.8.tgz", 1927 | "integrity": "sha1-DdTJ/6q8NXlgsbckEV1+Doai4fU=" 1928 | }, 1929 | "timed-out": { 1930 | "version": "4.0.1", 1931 | "resolved": "https://registry.npmjs.org/timed-out/-/timed-out-4.0.1.tgz", 1932 | "integrity": "sha1-8y6srFoXW+ol1/q1Zas+2HQe9W8=" 1933 | }, 1934 | "tmp": { 1935 | "version": "0.0.33", 1936 | "resolved": "https://registry.npmjs.org/tmp/-/tmp-0.0.33.tgz", 1937 | "integrity": "sha512-jRCJlojKnZ3addtTOjdIqoRuPEKBvNXcGYqzO6zWZX8KfKEpnGY5jfggJQ3EjKuu8D4bJRr0y+cYJFmYbImXGw==", 1938 | "requires": { 1939 | "os-tmpdir": "~1.0.2" 1940 | } 1941 | }, 1942 | "tough-cookie": { 1943 | "version": "2.4.3", 1944 | "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-2.4.3.tgz", 1945 | "integrity": "sha512-Q5srk/4vDM54WJsJio3XNn6K2sCG+CQ8G5Wz6bZhRZoAe/+TxjWB/GlFAnYEbkYVlON9FMk/fE3h2RLpPXo4lQ==", 1946 | "requires": { 1947 | "psl": "^1.1.24", 1948 | "punycode": "^1.4.1" 1949 | }, 1950 | "dependencies": { 1951 | "punycode": { 1952 | "version": "1.4.1", 1953 | "resolved": "https://registry.npmjs.org/punycode/-/punycode-1.4.1.tgz", 1954 | "integrity": "sha1-wNWmOycYgArY4esPpSachN1BhF4=" 1955 | } 1956 | } 1957 | }, 1958 | "trim-newlines": { 1959 | "version": "2.0.0", 1960 | "resolved": "https://registry.npmjs.org/trim-newlines/-/trim-newlines-2.0.0.tgz", 1961 | "integrity": "sha1-tAPQuRvlDDMd/EuC7s6yLD3hbSA=" 1962 | }, 1963 | "ts-node": { 1964 | "version": "6.1.0", 1965 | "resolved": "https://registry.npmjs.org/ts-node/-/ts-node-6.1.0.tgz", 1966 | "integrity": "sha512-mw11Bq08RZgrU/bzcVw/Ti9wNyefpOanXgWsHg008wyVHjvFhWxNatVVrciOAu8BcWSECoNOSunRzUokKH8Mmw==", 1967 | "dev": true, 1968 | "requires": { 1969 | "arrify": "^1.0.0", 1970 | "diff": "^3.1.0", 1971 | "make-error": "^1.1.1", 1972 | "minimist": "^1.2.0", 1973 | "mkdirp": "^0.5.1", 1974 | "source-map-support": "^0.5.6", 1975 | "yn": "^2.0.0" 1976 | } 1977 | }, 1978 | "tslib": { 1979 | "version": "1.9.2", 1980 | "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.9.2.tgz", 1981 | "integrity": "sha512-AVP5Xol3WivEr7hnssHDsaM+lVrVXWUvd1cfXTRkTj80b//6g2wIFEH6hZG0muGZRnHGrfttpdzRk3YlBkWjKw==" 1982 | }, 1983 | "tslint": { 1984 | "version": "5.10.0", 1985 | "resolved": "https://registry.npmjs.org/tslint/-/tslint-5.10.0.tgz", 1986 | "integrity": "sha1-EeJrzLiK+gLdDZlWyuPUVAtfVMM=", 1987 | "requires": { 1988 | "babel-code-frame": "^6.22.0", 1989 | "builtin-modules": "^1.1.1", 1990 | "chalk": "^2.3.0", 1991 | "commander": "^2.12.1", 1992 | "diff": "^3.2.0", 1993 | "glob": "^7.1.1", 1994 | "js-yaml": "^3.7.0", 1995 | "minimatch": "^3.0.4", 1996 | "resolve": "^1.3.2", 1997 | "semver": "^5.3.0", 1998 | "tslib": "^1.8.0", 1999 | "tsutils": "^2.12.1" 2000 | } 2001 | }, 2002 | "tsutils": { 2003 | "version": "2.27.1", 2004 | "resolved": "https://registry.npmjs.org/tsutils/-/tsutils-2.27.1.tgz", 2005 | "integrity": "sha512-AE/7uzp32MmaHvNNFES85hhUDHFdFZp6OAiZcd6y4ZKKIg6orJTm8keYWBhIhrJQH3a4LzNKat7ZPXZt5aTf6w==", 2006 | "requires": { 2007 | "tslib": "^1.8.1" 2008 | } 2009 | }, 2010 | "tunnel-agent": { 2011 | "version": "0.6.0", 2012 | "resolved": "https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.6.0.tgz", 2013 | "integrity": "sha1-J6XeoGs2sEoKmWZ3SykIaPD8QP0=", 2014 | "requires": { 2015 | "safe-buffer": "^5.0.1" 2016 | } 2017 | }, 2018 | "tweetnacl": { 2019 | "version": "0.14.5", 2020 | "resolved": "https://registry.npmjs.org/tweetnacl/-/tweetnacl-0.14.5.tgz", 2021 | "integrity": "sha1-WuaBd/GS1EViadEIr6k/+HQ/T2Q=" 2022 | }, 2023 | "typescript": { 2024 | "version": "3.6.2", 2025 | "resolved": "https://registry.npmjs.org/typescript/-/typescript-3.6.2.tgz", 2026 | "integrity": "sha512-lmQ4L+J6mnu3xweP8+rOrUwzmN+MRAj7TgtJtDaXE5PMyX2kCrklhg3rvOsOIfNeAWMQWO2F1GPc1kMD2vLAfw==", 2027 | "dev": true 2028 | }, 2029 | "typescript-formatter": { 2030 | "version": "7.2.2", 2031 | "resolved": "https://registry.npmjs.org/typescript-formatter/-/typescript-formatter-7.2.2.tgz", 2032 | "integrity": "sha512-V7vfI9XArVhriOTYHPzMU2WUnm5IMdu9X/CPxs8mIMGxmTBFpDABlbkBka64PZJ9/xgQeRpK8KzzAG4MPzxBDQ==", 2033 | "requires": { 2034 | "commandpost": "^1.0.0", 2035 | "editorconfig": "^0.15.0" 2036 | } 2037 | }, 2038 | "unique-string": { 2039 | "version": "1.0.0", 2040 | "resolved": "https://registry.npmjs.org/unique-string/-/unique-string-1.0.0.tgz", 2041 | "integrity": "sha1-nhBXzKhRq7kzmPizOuGHuZyuwRo=", 2042 | "requires": { 2043 | "crypto-random-string": "^1.0.0" 2044 | } 2045 | }, 2046 | "unzip-response": { 2047 | "version": "2.0.1", 2048 | "resolved": "https://registry.npmjs.org/unzip-response/-/unzip-response-2.0.1.tgz", 2049 | "integrity": "sha1-0vD3N9FrBhXnKmk17QQhRXLVb5c=" 2050 | }, 2051 | "update-notifier": { 2052 | "version": "2.5.0", 2053 | "resolved": "https://registry.npmjs.org/update-notifier/-/update-notifier-2.5.0.tgz", 2054 | "integrity": "sha512-gwMdhgJHGuj/+wHJJs9e6PcCszpxR1b236igrOkUofGhqJuG+amlIKwApH1IW1WWl7ovZxsX49lMBWLxSdm5Dw==", 2055 | "requires": { 2056 | "boxen": "^1.2.1", 2057 | "chalk": "^2.0.1", 2058 | "configstore": "^3.0.0", 2059 | "import-lazy": "^2.1.0", 2060 | "is-ci": "^1.0.10", 2061 | "is-installed-globally": "^0.1.0", 2062 | "is-npm": "^1.0.0", 2063 | "latest-version": "^3.0.0", 2064 | "semver-diff": "^2.0.0", 2065 | "xdg-basedir": "^3.0.0" 2066 | } 2067 | }, 2068 | "uri-js": { 2069 | "version": "4.2.2", 2070 | "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.2.2.tgz", 2071 | "integrity": "sha512-KY9Frmirql91X2Qgjry0Wd4Y+YTdrdZheS8TFwvkbLWf/G5KNJDCh6pKL5OZctEW4+0Baa5idK2ZQuELRwPznQ==", 2072 | "requires": { 2073 | "punycode": "^2.1.0" 2074 | } 2075 | }, 2076 | "url-parse-lax": { 2077 | "version": "1.0.0", 2078 | "resolved": "https://registry.npmjs.org/url-parse-lax/-/url-parse-lax-1.0.0.tgz", 2079 | "integrity": "sha1-evjzA2Rem9eaJy56FKxovAYJ2nM=", 2080 | "requires": { 2081 | "prepend-http": "^1.0.1" 2082 | } 2083 | }, 2084 | "util-deprecate": { 2085 | "version": "1.0.2", 2086 | "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", 2087 | "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=" 2088 | }, 2089 | "uuid": { 2090 | "version": "3.3.3", 2091 | "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.3.3.tgz", 2092 | "integrity": "sha512-pW0No1RGHgzlpHJO1nsVrHKpOEIxkGg1xB+v0ZmdNH5OAeAwzAVrCnI2/6Mtx+Uys6iaylxa+D3g4j63IKKjSQ==" 2093 | }, 2094 | "validate-npm-package-license": { 2095 | "version": "3.0.3", 2096 | "resolved": "https://registry.npmjs.org/validate-npm-package-license/-/validate-npm-package-license-3.0.3.tgz", 2097 | "integrity": "sha512-63ZOUnL4SIXj4L0NixR3L1lcjO38crAbgrTpl28t8jjrfuiOBL5Iygm+60qPs/KsZGzPNg6Smnc/oY16QTjF0g==", 2098 | "requires": { 2099 | "spdx-correct": "^3.0.0", 2100 | "spdx-expression-parse": "^3.0.0" 2101 | } 2102 | }, 2103 | "verror": { 2104 | "version": "1.10.0", 2105 | "resolved": "https://registry.npmjs.org/verror/-/verror-1.10.0.tgz", 2106 | "integrity": "sha1-OhBcoXBTr1XW4nDB+CiGguGNpAA=", 2107 | "requires": { 2108 | "assert-plus": "^1.0.0", 2109 | "core-util-is": "1.0.2", 2110 | "extsprintf": "^1.2.0" 2111 | } 2112 | }, 2113 | "which": { 2114 | "version": "1.3.1", 2115 | "resolved": "https://registry.npmjs.org/which/-/which-1.3.1.tgz", 2116 | "integrity": "sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ==", 2117 | "requires": { 2118 | "isexe": "^2.0.0" 2119 | } 2120 | }, 2121 | "which-module": { 2122 | "version": "2.0.0", 2123 | "resolved": "https://registry.npmjs.org/which-module/-/which-module-2.0.0.tgz", 2124 | "integrity": "sha1-2e8H3Od7mQK4o6j6SzHD4/fm6Ho=" 2125 | }, 2126 | "widest-line": { 2127 | "version": "2.0.0", 2128 | "resolved": "https://registry.npmjs.org/widest-line/-/widest-line-2.0.0.tgz", 2129 | "integrity": "sha1-AUKk6KJD+IgsAjOqDgKBqnYVInM=", 2130 | "requires": { 2131 | "string-width": "^2.1.1" 2132 | } 2133 | }, 2134 | "wrap-ansi": { 2135 | "version": "2.1.0", 2136 | "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-2.1.0.tgz", 2137 | "integrity": "sha1-2Pw9KE3QV5T+hJc8rs3Rz4JP3YU=", 2138 | "requires": { 2139 | "string-width": "^1.0.1", 2140 | "strip-ansi": "^3.0.1" 2141 | }, 2142 | "dependencies": { 2143 | "is-fullwidth-code-point": { 2144 | "version": "1.0.0", 2145 | "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz", 2146 | "integrity": "sha1-754xOG8DGn8NZDr4L95QxFfvAMs=", 2147 | "requires": { 2148 | "number-is-nan": "^1.0.0" 2149 | } 2150 | }, 2151 | "string-width": { 2152 | "version": "1.0.2", 2153 | "resolved": "https://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz", 2154 | "integrity": "sha1-EYvfW4zcUaKn5w0hHgfisLmxB9M=", 2155 | "requires": { 2156 | "code-point-at": "^1.0.0", 2157 | "is-fullwidth-code-point": "^1.0.0", 2158 | "strip-ansi": "^3.0.0" 2159 | } 2160 | } 2161 | } 2162 | }, 2163 | "wrappy": { 2164 | "version": "1.0.2", 2165 | "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", 2166 | "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=" 2167 | }, 2168 | "write-file-atomic": { 2169 | "version": "2.3.0", 2170 | "resolved": "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-2.3.0.tgz", 2171 | "integrity": "sha512-xuPeK4OdjWqtfi59ylvVL0Yn35SF3zgcAcv7rBPFHVaEapaDr4GdGgm3j7ckTwH9wHL7fGmgfAnb0+THrHb8tA==", 2172 | "requires": { 2173 | "graceful-fs": "^4.1.11", 2174 | "imurmurhash": "^0.1.4", 2175 | "signal-exit": "^3.0.2" 2176 | } 2177 | }, 2178 | "xdg-basedir": { 2179 | "version": "3.0.0", 2180 | "resolved": "https://registry.npmjs.org/xdg-basedir/-/xdg-basedir-3.0.0.tgz", 2181 | "integrity": "sha1-SWsswQnsqNus/i3HK2A8F8WHCtQ=" 2182 | }, 2183 | "xmldom": { 2184 | "version": "0.1.19", 2185 | "resolved": "https://registry.npmjs.org/xmldom/-/xmldom-0.1.19.tgz", 2186 | "integrity": "sha1-Yx/Ad3bv2EEYvyUXGzftTQdaCrw=" 2187 | }, 2188 | "y18n": { 2189 | "version": "3.2.1", 2190 | "resolved": "https://registry.npmjs.org/y18n/-/y18n-3.2.1.tgz", 2191 | "integrity": "sha1-bRX7qITAhnnA136I53WegR4H+kE=" 2192 | }, 2193 | "yallist": { 2194 | "version": "2.1.2", 2195 | "resolved": "https://registry.npmjs.org/yallist/-/yallist-2.1.2.tgz", 2196 | "integrity": "sha1-HBH5IY8HYImkfdUS+TxmmaaoHVI=" 2197 | }, 2198 | "yargs": { 2199 | "version": "10.1.2", 2200 | "resolved": "https://registry.npmjs.org/yargs/-/yargs-10.1.2.tgz", 2201 | "integrity": "sha512-ivSoxqBGYOqQVruxD35+EyCFDYNEFL/Uo6FcOnz+9xZdZzK0Zzw4r4KhbrME1Oo2gOggwJod2MnsdamSG7H9ig==", 2202 | "requires": { 2203 | "cliui": "^4.0.0", 2204 | "decamelize": "^1.1.1", 2205 | "find-up": "^2.1.0", 2206 | "get-caller-file": "^1.0.1", 2207 | "os-locale": "^2.0.0", 2208 | "require-directory": "^2.1.1", 2209 | "require-main-filename": "^1.0.1", 2210 | "set-blocking": "^2.0.0", 2211 | "string-width": "^2.0.0", 2212 | "which-module": "^2.0.0", 2213 | "y18n": "^3.2.1", 2214 | "yargs-parser": "^8.1.0" 2215 | }, 2216 | "dependencies": { 2217 | "yargs-parser": { 2218 | "version": "8.1.0", 2219 | "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-8.1.0.tgz", 2220 | "integrity": "sha512-yP+6QqN8BmrgW2ggLtTbdrOyBNSI7zBa4IykmiV5R1wl1JWNxQvWhMfMdmzIYtKU7oP3OOInY/tl2ov3BDjnJQ==", 2221 | "requires": { 2222 | "camelcase": "^4.1.0" 2223 | } 2224 | } 2225 | } 2226 | }, 2227 | "yargs-parser": { 2228 | "version": "10.0.0", 2229 | "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-10.0.0.tgz", 2230 | "integrity": "sha512-+DHejWujTVYeMHLff8U96rLc4uE4Emncoftvn5AjhB1Jw1pWxLzgBUT/WYbPrHmy6YPEBTZQx5myHhVcuuu64g==", 2231 | "requires": { 2232 | "camelcase": "^4.1.0" 2233 | } 2234 | }, 2235 | "yn": { 2236 | "version": "2.0.0", 2237 | "resolved": "https://registry.npmjs.org/yn/-/yn-2.0.0.tgz", 2238 | "integrity": "sha1-5a2ryKz0CPY4X8dklWhMiOavaJo=", 2239 | "dev": true 2240 | } 2241 | } 2242 | } 2243 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "activitystreams2", 3 | "version": "0.1.0", 4 | "description": "", 5 | "main": "build/index.js", 6 | "types": "build/index.d.ts", 7 | "author": "", 8 | "license": "ISC", 9 | "scripts": { 10 | "test": "ts-node src/test", 11 | "tsc": "tsc", 12 | "tsfmt": "tsfmt -r", 13 | "build": "npm run tsc", 14 | "check": "gts check", 15 | "clean": "gts clean", 16 | "compile": "tsc -p .", 17 | "lint": "npm run check", 18 | "lint-fix": "npm run fix", 19 | "fix": "gts fix", 20 | "prepare": "npm run compile", 21 | "pretest": "npm run compile", 22 | "posttest": "npm run check", 23 | "preversion": "npm test" 24 | }, 25 | "devDependencies": { 26 | "@types/node": "^12.7.4", 27 | "gts": "^0.6.0", 28 | "ts-node": "^6.1.0", 29 | "tslint": "^5.10.0", 30 | "typescript": "^3.6.2", 31 | "typescript-formatter": "^7.2.2" 32 | }, 33 | "dependencies": { 34 | "activitystreams2-spec-scraped": "^0.11.0" 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /src/core.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * @file ActivityStreams 2.0 Core 3 | * @see https://www.w3.org/TR/activitystreams-core/ 4 | * 5 | * The ActivityStreams 2.0 spec is split up into two parts: core and vocabulary. 6 | * This file is only for stuff in the core spec. 7 | */ 8 | 9 | import {Image} from './vocabulary'; 10 | 11 | export const jsonLdProfile = 'https://www.w3.org/ns/activitystreams'; 12 | 13 | // application/ld+json; profile="https://www.w3.org/ns/activitystreams" 14 | export const jsonLdProfileContentType = 15 | `application/ld+json; profile="${jsonLdProfile}"`; 16 | 17 | interface JSONLDContextMapping { 18 | [key: string]: string|{[key: string]: string}; 19 | } 20 | export interface JSONObject { 21 | [key: string]: string|JSONObject; 22 | } 23 | export interface JSONLDContext { 24 | '@vocab'?: string; 25 | '@language'?: string; 26 | } 27 | 28 | interface JsonLdObject { 29 | '@context'?: JSONLDContext&JSONObject; 30 | } 31 | 32 | export type LDIdentifier = xsdAnyUri; 33 | export type LDValue = (LDIdentifier|T); 34 | export type LDValues = T|T[]; 35 | export type LDObject = { 36 | [P in keyof T]?: LDValues; 37 | }; 38 | 39 | type ISO8601 = string; 40 | 41 | export type xsdAnyUri = string; 42 | 43 | type OneOrMore = T|T[]; 44 | 45 | /** @todo (bengo.is) string could be more specific, e.g. LDIdentifier */ 46 | export type ASValue = string|ASObject|Link; 47 | 48 | /** @todo (bengo.is) enumerage lang strings */ 49 | type RdfLangString = string; 50 | interface NaturalLanguageValue { 51 | // @TODO (bengo) this could be more specific about keys than just string 52 | [key: string]: string; 53 | } 54 | 55 | /** 56 | * Representing value of as:type property that must include a certain value. 57 | * This is useful because as:type can be a string or array (for multiple types). 58 | * ASObjectType<"Link"> should allow ["Link", "someOtherTypeUri"] 59 | */ 60 | export type ASObjectType = OneOrMore; 61 | 62 | /** 63 | * @see https://www.w3.org/TR/activitystreams-core/#object 64 | * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-object 65 | */ 66 | export class ASObject { 67 | attachment?: OneOrMore; 68 | attributedTo?: LDValue; 69 | bcc?: LDValue; 70 | cc?: OneOrMore>; 71 | content?: string; 72 | generator?: LDValue; 73 | id?: string; 74 | image?: OneOrMore; 75 | inReplyTo?: LDValue; 76 | location?: ASObject; 77 | name?: string; 78 | nameMap?: NaturalLanguageValue; 79 | preview?: ASValue; 80 | published?: ISO8601; 81 | replies?: LDValue>; 82 | summary?: string|RdfLangString; 83 | tag?: ASObject|Link; 84 | to?: LDValue; 85 | bto?: LDValue; 86 | type?: ASObjectType; 87 | url?: OneOrMore; 88 | } 89 | 90 | /** 91 | * Test whether an object is an ASObject 92 | * @param obj - object to test 93 | * @todo (bengo.is) check way more than this. 94 | */ 95 | export const isASObject = (obj: object): obj is ASObject => { 96 | return typeof obj === 'object'; 97 | }; 98 | 99 | type LinkRelation = string; 100 | 101 | /** 102 | * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-link 103 | */ 104 | export class Link { 105 | type: ASObjectType = 'Link'; 106 | href: xsdAnyUri; 107 | mediaType?: string; 108 | rel?: LinkRelation; 109 | constructor(init: {href: xsdAnyUri}&Partial) { 110 | Object.assign(this, init); 111 | this.href = init.href; 112 | } 113 | } 114 | 115 | /** 116 | * Test whether an object is an Link 117 | * @param obj - object to test whether it is an Link 118 | */ 119 | export const isLink = (obj: ASObject): obj is Link => { 120 | return obj.type === 'Link'; 121 | }; 122 | 123 | /** 124 | * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-activity 125 | */ 126 | export class Activity extends ASObject { 127 | actor?: ASValue; 128 | object?: LDValue; 129 | target?: ASValue; 130 | constructor(props: object) { 131 | super(); 132 | this.type = this.constructor.name; 133 | Object.assign(this, props); 134 | } 135 | } 136 | 137 | // https://www.w3.org/TR/activitystreams-vocabulary/#activity-types 138 | export const activitySubtypes = [ 139 | 'Accept', 140 | 'Add', 141 | 'Announce', 142 | 'Arrive', 143 | 'Block', 144 | 'Create', 145 | 'Delete', 146 | 'Dislike', 147 | 'Flag', 148 | 'Follow', 149 | 'Ignore', 150 | 'Invite', 151 | 'Join', 152 | 'Leave', 153 | 'Like', 154 | 'Listen', 155 | 'Move', 156 | 'Offer', 157 | 'Question', 158 | 'Reject', 159 | 'Read', 160 | 'Remove', 161 | 'TentativeReject', 162 | 'TentativeAccept', 163 | 'Travel', 164 | 'Undo', 165 | 'Update', 166 | 'View', 167 | ]; 168 | 169 | const strEnum = (o: T[]): {[K in T]: K} => { 170 | return o.reduce((res, key) => { 171 | res[key] = key; 172 | return res; 173 | }, Object.create(null)); 174 | }; 175 | 176 | export const activitySubtypesEnumMap = strEnum(activitySubtypes); 177 | export type ActivitySubtype = keyof typeof activitySubtypesEnumMap; 178 | 179 | /** 180 | * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-intransitiveactivity 181 | * @todo (bengo.is) implement this 182 | */ 183 | 184 | /** 185 | * @see https://www.w3.org/TR/activitystreams-core/#collections 186 | * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-collection 187 | */ 188 | export class Collection extends ASObject { 189 | items?: T[]; 190 | totalItems?: number; 191 | } 192 | 193 | /** 194 | * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-orderedcollection 195 | * @todo (bengo.is) implement this 196 | */ 197 | 198 | /** 199 | * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-collectionpage 200 | * @todo (bengo.is) implement this 201 | */ 202 | 203 | /** 204 | * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-orderedcollectionpage 205 | * @todo (bengo.is) implement this 206 | */ 207 | -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- 1 | export * from './core'; 2 | export * from './vocabulary'; 3 | -------------------------------------------------------------------------------- /src/test/index.ts: -------------------------------------------------------------------------------- 1 | import * as assert from 'assert'; 2 | 3 | import {ParsedClass, scrapeVocabulary} from '../../../activitystreams2-spec-scraped'; 4 | import {jsonLdProfileContentType} from '../core'; 5 | import * as vocab from '../vocabulary'; 6 | 7 | if (require.main === module) { 8 | main().then(() => process.exit()).catch((error) => { 9 | console.error(error); 10 | process.exit(1); 11 | }); 12 | } 13 | 14 | function testActivityType(activityType: ParsedClass) { 15 | assert.equal( 16 | activityType.name in vocab, true, 17 | `vocab exports activityType ${activityType.name}`); 18 | } 19 | 20 | async function main() { 21 | assert.equal(typeof jsonLdProfileContentType, 'string'); 22 | const scrapedVocab = await scrapeVocabulary(); 23 | for (const activityType of scrapedVocab.sections.activityTypes.members) { 24 | testActivityType(activityType); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /src/vocabulary.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * @file ActivityStreams 2.0 Vocabulary 3 | * @see https://www.w3.org/TR/activitystreams-vocabulary/ 4 | * 5 | * The ActivityStreams 2.0 spec is split up into two parts: core and vocabulary. 6 | * This file is only for stuff in the vocabulary spec. 7 | */ 8 | import {Activity, ASObject, ASObjectType, xsdAnyUri,} from './core'; 9 | 10 | // https://www.w3.org/TR/activitystreams-vocabulary/#activity-types 11 | 12 | /** 13 | * Indicates that the actor accepts the object. 14 | * The target property can be used in certain circumstances to indicate the 15 | * context into which the object has been accepted. 16 | * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-accept 17 | */ 18 | export class Accept extends Activity { 19 | type = 'Accept'; 20 | } 21 | 22 | /** 23 | * A specialization of Accept indicating that the acceptance is tentative. 24 | * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-tentativeaccept 25 | */ 26 | export class TentativeAccept extends Accept { 27 | type = 'TentativeAccept'; 28 | } 29 | 30 | /** 31 | * Indicates that the actor has added the object to the target. If the target 32 | * property is not explicitly specified, the target would need to be determined 33 | * implicitly by context. The origin can be used to identify the context from 34 | * which the object originated. 35 | * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-add 36 | */ 37 | export class Add extends Activity { 38 | type = 'Add'; 39 | } 40 | 41 | /** 42 | * Indicates that the actor is calling the target's attention the object. 43 | * The origin typically has no defined meaning. 44 | * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-announce 45 | */ 46 | export class Announce extends Activity { 47 | type = 'Announce'; 48 | } 49 | 50 | export class Arrive extends Activity { 51 | type = 'Arrive'; 52 | } 53 | 54 | export class Create extends Activity { 55 | type = 'Create'; 56 | } 57 | 58 | export class Delete extends Activity { 59 | type = 'Delete'; 60 | } 61 | 62 | export class Follow extends Activity { 63 | type = 'Follow'; 64 | } 65 | 66 | export class Ignore extends Activity { 67 | type = 'Ignore'; 68 | } 69 | 70 | export class Join extends Activity { 71 | type = 'Join'; 72 | } 73 | 74 | export class Leave extends Activity { 75 | type = 'Leave'; 76 | } 77 | 78 | export class Like extends Activity { 79 | type = 'Like'; 80 | } 81 | 82 | export class Offer extends Activity { 83 | type = 'Offer'; 84 | } 85 | 86 | export class Invite extends Activity { 87 | type = 'Invite'; 88 | } 89 | 90 | export class Reject extends Activity { 91 | type = 'Reject'; 92 | } 93 | 94 | export class TentativeReject extends Activity { 95 | type = 'TentativeReject'; 96 | } 97 | 98 | export class Remove extends Activity { 99 | type = 'Remove'; 100 | } 101 | 102 | export class Undo extends Activity { 103 | type = 'Undo'; 104 | } 105 | 106 | export class Update extends Activity { 107 | type = 'Update'; 108 | } 109 | 110 | export class View extends Activity { 111 | type = 'View'; 112 | } 113 | 114 | export class Listen extends Activity { 115 | type = 'Listen'; 116 | } 117 | 118 | export class Read extends Activity { 119 | type = 'Read'; 120 | } 121 | 122 | export class Move extends Activity { 123 | type = 'Move'; 124 | } 125 | 126 | export class Travel extends Activity { 127 | type = 'Travel'; 128 | } 129 | 130 | export class Block extends Activity { 131 | type = 'Block'; 132 | } 133 | 134 | export class Flag extends Activity { 135 | type = 'Flag'; 136 | } 137 | 138 | export class Dislike extends Activity { 139 | type = 'Dislike'; 140 | } 141 | 142 | export class Question extends Activity { 143 | type = 'Question'; 144 | } 145 | 146 | /** 147 | * 148 | */ 149 | 150 | /** @todo https://www.w3.org/TR/activitystreams-vocabulary/#actor-types */ 151 | 152 | // https://www.w3.org/TR/activitystreams-vocabulary/#object-types 153 | 154 | /** 155 | * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-image 156 | */ 157 | export class Image extends ASObject { 158 | type: ASObjectType = 'Image'; 159 | } 160 | 161 | /** 162 | * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-note 163 | */ 164 | export class Note extends ASObject { 165 | type: ASObjectType = 'Note'; 166 | } 167 | 168 | /** 169 | * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-place 170 | */ 171 | export class Place extends ASObject { 172 | accuracy?: number; 173 | latitude?: number; 174 | longitude?: number; 175 | altitude?: number; 176 | radius?: number; 177 | units?: 'cm'|'feet'|'inches'|'km'|'m'|'miles'|xsdAnyUri; 178 | } 179 | -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "rootDir": "./src", 4 | "outDir": "build", 5 | // rest of compilerOptions from google/ts-style 6 | "allowSyntheticDefaultImports": true, 7 | "allowUnreachableCode": false, 8 | "allowUnusedLabels": false, 9 | "declaration": true, 10 | "esModuleInterop": true, 11 | "forceConsistentCasingInFileNames": true, 12 | "lib": ["es2016"], 13 | "module": "commonjs", 14 | "noEmitOnError": true, 15 | "noFallthroughCasesInSwitch": true, 16 | "noImplicitReturns": true, 17 | "pretty": true, 18 | "sourceMap": true, 19 | "strict": true, 20 | "target": "es2016" 21 | }, 22 | "include": [ 23 | "src/*.ts", 24 | "src/**/*.ts", 25 | "test/*.ts", 26 | "test/**/*.ts" 27 | ] 28 | } 29 | -------------------------------------------------------------------------------- /tslint.json: -------------------------------------------------------------------------------- 1 | { 2 | "defaultSeverity": "error", 3 | "extends": [ 4 | "gts/tslint.json" 5 | ], 6 | "jsRules": {}, 7 | "rules": { 8 | "completed-docs": [ 9 | false, 10 | { 11 | "classes": true, 12 | "types": true 13 | } 14 | ], 15 | "max-classes-per-file": false, 16 | "no-unused-variable": true, 17 | "semicolon": false 18 | }, 19 | "rulesDirectory": [] 20 | } 21 | --------------------------------------------------------------------------------