├── src ├── index.ts ├── example-server.ts └── service.ts ├── .gitignore ├── .npmignore ├── docs ├── theme │ └── partials │ │ └── footer.hbs └── Readme.md ├── README.md ├── .vscode └── launch.json ├── tslint.json ├── tsconfig.json ├── package.json ├── CHANGELOG.md ├── LICENSE └── yarn.lock /src/index.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable:no-console */ 2 | 3 | export * from "./service"; 4 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | data 3 | realm-object-server 4 | temp 5 | dist 6 | docs/output 7 | -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | data 3 | realm-object-server 4 | temp 5 | src 6 | 7 | yarn.lock 8 | package-lock.json 9 | -------------------------------------------------------------------------------- /docs/theme/partials/footer.hbs: -------------------------------------------------------------------------------- 1 | 2 |
3 |

Copyright © 2017 Realm

4 |
5 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # GraphQL API for Realm Object Server 2 | 3 | This repo is now deprecated as we have integrated the GraphQL service into ROS itself for better integration. 4 | Going forward please report issues in the [realm-object-server repo](https://github.com/realm/realm-object-server). 5 | -------------------------------------------------------------------------------- /src/example-server.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable:no-console */ 2 | 3 | import * as path from "path"; 4 | import { BasicServer } from "realm-object-server"; 5 | import { GraphQLService } from "./service"; 6 | 7 | const server = new BasicServer(); 8 | 9 | server.addService(new GraphQLService({ 10 | disableAuthentication: true, 11 | })); 12 | 13 | server 14 | .start({ 15 | dataPath: path.join(__dirname, "../data"), 16 | jsonBodyLimit: "10mb", 17 | }) 18 | .then(() => { 19 | console.log(`Realm Object Server was started on ${server.address}`); 20 | }) 21 | .catch((err) => { 22 | console.error(`Error starting Realm Object Server: ${err.message}`); 23 | }); 24 | -------------------------------------------------------------------------------- /.vscode/launch.json: -------------------------------------------------------------------------------- 1 | { 2 | // Use IntelliSense to learn about possible attributes. 3 | // Hover to view descriptions of existing attributes. 4 | // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 5 | "version": "0.2.0", 6 | "configurations": [ 7 | { 8 | "type": "node", 9 | "request": "launch", 10 | "name": "Launch Program", 11 | "preLaunchTask": "tsc: build - tsconfig.json", 12 | "sourceMaps": true, 13 | "runtimeArgs": [ 14 | "-r", 15 | "ts-node/register" 16 | ], 17 | "args": [ 18 | "${workspaceRoot}/src/example-server.ts" 19 | ], 20 | } 21 | ] 22 | } -------------------------------------------------------------------------------- /tslint.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": [ 3 | "tslint:latest", 4 | "tslint-eslint-rules" 5 | ], 6 | "rules": { 7 | "object-literal-sort-keys": false, 8 | "jsx-boolean-value": false, 9 | "jsx-no-lambda": false, 10 | "max-line-length": false, 11 | "no-submodule-imports": [ 12 | true, 13 | "graphql-tools" 14 | ], 15 | "no-implicit-dependencies": false, 16 | "quotemark": [ 17 | true, 18 | "double", 19 | "avoid-escape" 20 | ], 21 | "trailing-comma": [true, { 22 | "multiline": "always", 23 | "singleline": "never", 24 | "esSpecCompliant": true 25 | }], 26 | "interface-name": [ 27 | true, 28 | "never-prefix" 29 | ] 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /docs/Readme.md: -------------------------------------------------------------------------------- 1 | ## Realm GraphQL Service 2 | 3 | This library provides a service that can be added to your Realm Object Server 4 | to expose GraphQL API for querying, mutating, and subscribing to synchronized 5 | Realms. 6 | 7 | To enable the service, create a new project by running `ros init` and install 8 | the `realm-graphql-service` package: 9 | 10 | ``` 11 | ros init my-project 12 | cd my-project 13 | npm install realm-graphql-service --save 14 | ``` 15 | 16 | Then modify the generated `src/index.ts` file to look like this: 17 | 18 | ```ts 19 | import { BasicServer } from 'realm-object-server' 20 | import * as path from 'path' 21 | import { GraphQLService } from 'realm-graphql-service' 22 | 23 | const server = new BasicServer(); 24 | 25 | // Add the GraphQL service to ROS 26 | server.addService(new GraphQLService({ 27 | // Turn this off in production! 28 | disableAuthentication: true 29 | })); 30 | 31 | server.start({ 32 | // Server configs... 33 | }) 34 | .then(() => { 35 | console.log(`Realm Object Server was started on ${server.address}`) 36 | }) 37 | .catch(err => { 38 | console.error(`Error starting Realm Object Server: ${err.message}`) 39 | }); 40 | ``` -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "target": "es6", 4 | "module": "commonjs", 5 | "moduleResolution": "node", 6 | "noImplicitAny": false, 7 | "removeComments": true, 8 | "preserveConstEnums": true, 9 | "sourceMap": true, 10 | "outDir": "dist", 11 | "sourceRoot": "src", 12 | "declaration": true, 13 | "emitDecoratorMetadata": true, 14 | "experimentalDecorators": true, 15 | "lib": [ 16 | "es5", 17 | "es6", 18 | "dom", 19 | "es2015.core", 20 | "es2015.collection", 21 | "es2015.generator", 22 | "es2015.iterable", 23 | "es2015.promise", 24 | "es2015.proxy", 25 | "es2015.reflect", 26 | "es2015.symbol", 27 | "es2015.symbol.wellknown", 28 | "esnext.asynciterable" 29 | ] 30 | }, 31 | "include": [ 32 | "src/**/*.ts" 33 | ], 34 | "exclude": [ 35 | "node_modules", 36 | "dist" 37 | ], 38 | "typedocOptions": { 39 | "mode": "file", 40 | "out": "docs/output", 41 | "theme":"docs/theme", 42 | "ignoreCompilerErrors": true, 43 | "excludePrivate": true, 44 | "excludeNotExported": true, 45 | "target": "ES6", 46 | "moduleResolution": "node", 47 | "preserveConstEnums": true, 48 | "stripInternal": true, 49 | "module": "commonjs", 50 | "hideGenerator": true, 51 | "readme": "docs/Readme.md", 52 | "includeDeclarations": false, 53 | "name": "Realm GraphQL Service API docs", 54 | "inlineSourceMap": true, 55 | "gitRevision": "master" 56 | } 57 | } 58 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "realm-graphql-service", 3 | "version": "3.4.1", 4 | "description": "GraphQL API service for the Realm Object Server", 5 | "repository": "https://github.com/realm/realm-object-server-graphql", 6 | "license": "SEE LICENSE IN https://realm.io/legal/developer-license-terms/", 7 | "homepage": "https://realm.io", 8 | "author": { 9 | "name": "Realm", 10 | "email": "help@realm.io", 11 | "url": "https://realm.io" 12 | }, 13 | "main": "dist/index.js", 14 | "typings": "dist/index.d.ts", 15 | "keywords": [ 16 | "Realm", 17 | "Object", 18 | "Server", 19 | "GraphQL", 20 | "Rest" 21 | ], 22 | "files": [ 23 | "dist/**/*" 24 | ], 25 | "scripts": { 26 | "build": "rm -rf dist; ./node_modules/.bin/tsc", 27 | "clean": "rm -rf dist", 28 | "start": "npm run build && node dist/example-server.js", 29 | "test": "mocha --opts ./mocha.opts", 30 | "lint": "tslint --project tsconfig.json 'src/**/*.ts' 'src/**/*.tsx'", 31 | "lint-fix": "tslint --project tsconfig.json --fix 'src/**/*.ts' 'src/**/*.tsx'", 32 | "docs": "node_modules/typedoc/bin/typedoc src" 33 | }, 34 | "peerDependencies": { 35 | "realm-object-server": ">=3.12.0" 36 | }, 37 | "lint-staged": { 38 | "*.{ts,tsx}": [ 39 | "tslint" 40 | ] 41 | }, 42 | "devDependencies": { 43 | "@types/chai": "^4.1.3", 44 | "@types/faker": "^4.1.2", 45 | "@types/graphql": "^0.13.1", 46 | "@types/lru-cache": "^4.1.1", 47 | "@types/mocha": "^5.2.1", 48 | "@types/pluralize": "0.0.28", 49 | "@types/reconnectingwebsocket": "^1.0.1", 50 | "@types/superagent": "^3.8.0", 51 | "@types/urijs": "^1.15.38", 52 | "@types/uuid": "^3.4.3", 53 | "@types/zen-observable": "^0.5.3", 54 | "apollo-link": "^1.2.2", 55 | "chai": "^4.1.2", 56 | "del": "^3.0.0", 57 | "faker": "^4.1.0", 58 | "husky": "^0.14.3", 59 | "lint-staged": "^7.1.3", 60 | "mocha": "^5.2.0", 61 | "realm-object-server": "3.12.0", 62 | "ts-node": "^6.1.0", 63 | "tslint": "^5.10.0", 64 | "tslint-eslint-rules": "^5.3.1", 65 | "typedoc": "^0.11.1", 66 | "typescript": "^2.9.1" 67 | }, 68 | "dependencies": { 69 | "apollo-server-express": "1.3.6", 70 | "apollo-server-core": "1.3.6", 71 | "apollo-server-module-graphiql": "1.3.4", 72 | "graphql": "^0.13.2", 73 | "graphql-subscriptions": "^0.5.8", 74 | "graphql-tools": "^3.0.2", 75 | "lru-cache": "^4.1.3", 76 | "pluralize": "^7.0.0", 77 | "reconnecting-websocket": "^3.2.2", 78 | "subscriptions-transport-ws": "0.9.14", 79 | "uuid": "^3.2.1" 80 | } 81 | } 82 | -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- 1 | # Next Version (TBD) 2 | 3 | ### Enhancements 4 | * None 5 | 6 | ### Bug fixes 7 | * None 8 | 9 | ### Compatibility 10 | * Compatible with Realm Object Server releases from 3.12.0 or later. 11 | 12 | ### Known notable issues 13 | * Support for using query-based Realms is in beta and while the API is stable, there may be corner cases that are not well covered. 14 | * Linking to a class that contains no properties will result in GraphQL errors claiming that it can't find that class. The workaround is to add at least one property to the class (this can be done either via any of the native SDKs or Studio). 15 | 16 | 17 | # 3.5.0 (2018-12-19) 18 | 19 | ### Enhancements 20 | * Allow overriding the generated model names to avoid clashes with existing classes. The override properties are `collectionModelSuffix`, `inputModelSuffix`, `namedSubscriptionModelName`, and `base64ModelName` on the `GraphQLServiceSettings` interface. 21 | 22 | ### Bug fixes 23 | * None 24 | 25 | ### Compatibility 26 | * Compatible with Realm Object Server releases from 3.12.0 or later. 27 | 28 | ### Known notable issues 29 | * Support for using query-based Realms is in beta and while the API is stable, there may be corner cases that are not well covered. 30 | * Linking to a class that contains no properties will result in GraphQL errors claiming that it can't find that class. The workaround is to add at least one property to the class (this can be done either via any of the native SDKs or Studio). 31 | 32 | 33 | # 3.4.1 (2018-11-30) 34 | 35 | ### Enhancements 36 | * None 37 | 38 | ### Bug fixes 39 | * Fixed an issue that could cause an exception with the message `ReferenceError: realm is not defined` to be thrown. ([#83](https://github.com/realm/realm-graphql-service/issues/83)) 40 | 41 | ### Compatibility 42 | * Compatible with Realm Object Server releases from 3.12.0 or later. 43 | 44 | ### Known notable issues 45 | * Support for using query-based Realms is in beta and while the API is stable, there may be corner cases that are not well covered. 46 | * Linking to a class that contains no properties will result in GraphQL errors claiming that it can't find that class. The workaround is to add at least one property to the class (this can be done either via any of the native SDKs or Studio). 47 | 48 | 49 | # 3.4.0 (2018-10-24) 50 | 51 | ### Enhancements 52 | * Added preliminary support for using query-based synchronized Realms. When opening such Realms, there several new GraphQL nodes added: 53 | * `createXXXSubscription(query: String, sortBy: String, descending: Boolean, name: String)`: creates a Realm subscription for objects of type `XXX` that match the query. When working with query-based Realms, you need to first create Realm subscriptions to indicate which objects should be synchronized to the Realm. The response is a collection of objects that match the query. Once a subscription is created, it will be persisted and objects will be automatically synchronized until the subscription is removed. You can specify an optional name, that will allow you to later remove that subscription. 54 | * `queryBasedSubscriptions(name: String)`: returns a collection of active subscriptions. 55 | * `deleteQueryBasedSubscription(name: String!)`: removes a subscription by name. 56 | 57 | ### Bug fixes 58 | * Fixed a bug which would cause the following error message to be output when a class didn't have any properties: `Invalid options provided to ApolloServer: Syntax Error: Expected Name, found }`. Now such classes are ignored as they contain no meaningful information. [realm-graphql#32](https://github.com/realm/realm-graphql/issues/32) 59 | 60 | ### Compatibility 61 | * Compatible with Realm Object Server releases from 3.12.0 or later. 62 | 63 | ### Known notable issues 64 | * Support for using query-based Realms is in beta and while the API is stable, there may be corner cases that are not well covered. 65 | * Linking to a class that contains no properties will result in GraphQL errors claiming that it can't find that class. The workaround is to add at least one property to the class (this can be done either via any of the native SDKs or Studio). 66 | 67 | 68 | # 3.3.0 (2018-09-11) 69 | 70 | ### Enhancements 71 | * Added a configuration option to represent integers as `Float` in the GraphQL schema. Since Realm integers 72 | can be up to 64-bit and the GraphQL `Int` type is limited to 32-bits, this setting allows you to extend the 73 | range of the numbers you can query to match javascript's limit (2^53 - 1). The downside is that you'll lose 74 | the type checking and you may accidentally pass floats where integers are expected. Doing so will cause Realm 75 | to automatically round the number down and treat it as an integer. To enable that option, pass 76 | `presentIntsAsFloatsInSchema: true` in the `GraphQLService` constructor. 77 | 78 | ### Fixed 79 | * None 80 | 81 | ### Compatibility 82 | * Compatible with Realm Object Server releases from 3.8.1 or later. 83 | 84 | ### Known notable issues 85 | * There is currently no support for working with query-based sync (#70). 86 | 87 | 88 | # 3.2.2 (2018-09-10) 89 | 90 | ### Bug fixes 91 | * Pinned the Apollo dependencies to 1.3.6 as 1.4.0 is breaking the GraphiQL explorer functionality. 92 | 93 | 94 | # 3.2.1 (2018-09-04) 95 | 96 | ### Bug fixes 97 | * Fixed a bug where subscriptions and queries over websocket would not work. This was a regression introduced with 3.2.0. 98 | 99 | 100 | # 3.2.0 (2018-08-28) 101 | 102 | ### Enhancements 103 | * Added a configuration option to include the objects matching the query in the collection response. It is not 104 | `true` by default because it changes the response type slightly, which would break existing clients. It can be 105 | enabled by passing `includeCountInResponses: true` in the `GraphQLService` constructor. 106 | * Lifted the requirement to url-encode Realm paths. 107 | 108 | 109 | # 3.1.0 110 | 111 | ### Enhancements 112 | * Queries and mutations over websocket are now supported. 113 | 114 | 115 | # 3.0.0 116 | 117 | ### Breaking Changes 118 | * Types that are plural nouns will now have forced `s` appended to the actions that would otherwise have been plural to distinguish from the singular action. For example having a type `Data` would have previously generated actions: 119 | ``` 120 | Query { 121 | data(query, sortBy, descending, skip, take): [Data!] 122 | } 123 | 124 | Mutation { 125 | deleteData(query): Int 126 | } 127 | ``` 128 | 129 | which would have produced conflicting actions when the type also had a primary key. Now we'll generate actions with grammatically incorrect name - `datas` - which will, however, be distinct from any actions that were acting on the singular value: 130 | 131 | ``` 132 | Query { 133 | datas(query, sortBy, descending, skip, take): [Data!] 134 | // If we have a PK 135 | data(pk): Data 136 | } 137 | 138 | Mutation { 139 | deleteDatas(query): Int 140 | // If we have a PK 141 | deleteData(pk): Boolean 142 | } 143 | ``` 144 | 145 | 146 | # 2.6.0 147 | 148 | ### Enhancements 149 | * Expose option to force the explorer to use SSL for websockets. 150 | 151 | 152 | # 2.5.2 153 | 154 | ### Bug fixes 155 | * Applied the CORS middleware to the GraphQL service. 156 | 157 | 158 | # 2.5.1 159 | 160 | ### Bug fixes 161 | * Fixed an issue that caused querying realms with types/properties that started with double underscores to throw 162 | an obscure type error. 163 | 164 | 165 | # 2.5.0 166 | 167 | ### Enhancements 168 | * Updated dependencies to their latest versions to avoid the issue with the `@types/graphql` package missing. 169 | 170 | 171 | # 2.4.0 172 | 173 | ### Enhancements 174 | * Schema cache will be preemptively invalidated if the Realm is open while the schema change takes place. You still need 175 | to manually invalidate it if you change the schema of a Realm that is not open by the GraphQL service. 176 | 177 | ### Bug fixes 178 | * The Realm schema will be properly updated after cache invalidation. 179 | 180 | 181 | # 2.3.2 182 | 183 | ### Bug fixes 184 | * Fixed a bug that caused subscriptions to trigger for unrelated changes. 185 | 186 | 187 | # 2.3.1 188 | 189 | ### Bug fixes 190 | * Fixed a bug that would prevent admin refresh tokens to be used as authentication. 191 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /src/service.ts: -------------------------------------------------------------------------------- 1 | import { ExpressHandler, graphiqlExpress, graphqlExpress } from "apollo-server-express"; 2 | import { GraphiQLData } from "apollo-server-module-graphiql"; 3 | import * as express from "express"; 4 | import { execute, GraphQLError, GraphQLScalarType, GraphQLSchema, subscribe } from "graphql"; 5 | import { PubSub } from "graphql-subscriptions"; 6 | import { makeExecutableSchema } from "graphql-tools"; 7 | import { IResolverObject } from "graphql-tools/dist/Interfaces"; 8 | import * as LRU from "lru-cache"; 9 | import * as moment from "moment"; 10 | import * as pluralize from "pluralize"; 11 | import { ObjectSchema, ObjectSchemaProperty } from "realm"; 12 | import { 13 | AccessToken, 14 | AdminRealm, 15 | BaseRoute, 16 | Cors, 17 | Delete, 18 | errors, 19 | extractPartialInfo, 20 | Get, 21 | isAdminToken, 22 | Next, 23 | Post, 24 | RefreshToken, 25 | Request, 26 | Response, 27 | RosRequest, 28 | Server, 29 | ServerStarted, 30 | Start, 31 | Stop, 32 | Token, 33 | Upgrade, 34 | User, 35 | } from "realm-object-server"; 36 | import { SubscriptionServer } from "subscriptions-transport-ws"; 37 | import { setTimeout } from "timers"; 38 | import * as url from "url"; 39 | import { v4 } from "uuid"; 40 | 41 | interface SchemaTypes { 42 | type: string; 43 | inputType: string; 44 | } 45 | 46 | interface PKInfo { 47 | name: string; 48 | type: string; 49 | } 50 | 51 | interface PropertySchemaInfo { 52 | propertySchema: string; 53 | inputPropertySchema: string; 54 | pk: PKInfo; 55 | } 56 | 57 | interface SubscriptionDetails { 58 | results: Realm.Results<{}>; 59 | realm: Realm; 60 | } 61 | 62 | interface GraphQLRequest extends RosRequest { 63 | user: Realm.Sync.User; 64 | } 65 | 66 | interface GraphQLContext { 67 | accessToken: Token; 68 | user: Realm.Sync.User; 69 | realm?: Realm; 70 | operationId?: string; 71 | } 72 | 73 | /** 74 | * Settings to control the [[GraphQLService]] behavior. 75 | */ 76 | export interface GraphQLServiceSettings { 77 | /** 78 | * Settings controlling the schema caching strategy. If set to `'NoCache'`, 79 | * Realm schemas will not be cached and instead generated on every request. 80 | * This is useful while developing and schemas may change frequently, but 81 | * drastically reduces performance. If not set, or set to a [[SchemaCacheSettings]] 82 | * instance, schemas will be cached. 83 | */ 84 | schemaCacheSettings?: SchemaCacheSettings | "NoCache"; 85 | 86 | /** 87 | * Disables authentication for graphql endpoints. This may be useful when 88 | * you are developing the app and want a more relaxed exploring experience. 89 | * If you're using studio to explore the graphql API and responses, it will 90 | * handle authentication for you, so there's no need to disable it. 91 | */ 92 | disableAuthentication?: boolean; 93 | 94 | /** 95 | * Disables the grahpiql explorer endpoint (`/grahpql/explore`). 96 | */ 97 | disableExplorer?: boolean; 98 | 99 | /** 100 | * The number in milliseconds which a Realm will be kept open after a request 101 | * has completed. Higher values mean that more Realms will be kept in the cache, 102 | * drastically improving the response times of requests hitting "warm" Realms. 103 | * This, however, comes at the cost of increased memory usage. If a negative value 104 | * is provided, the realms will never be evicted from the cache. Default is 105 | * 120000 (2 minutes). 106 | */ 107 | realmCacheMaxAge?: number; 108 | 109 | /** 110 | * Controls whether the explorer websocket connections will be made over SSL or 111 | * not. If not set, the service will try to infer the correct value from the 112 | * request protocol, but in some cases, a load balancer may terminate https traffic, 113 | * leading to incorrect websocket protocol being used. 114 | */ 115 | forceExplorerSSL?: boolean; 116 | 117 | /** 118 | * Controls whether the total count of the objects matched by the query will be 119 | * returned as a property in the query and subscription responses. Default is false. 120 | */ 121 | includeCountInResponses?: boolean; 122 | 123 | /** 124 | * Controls whether integers in the schema will be represented as Floats in the GraphQL 125 | * schema. GraphQL's integer type is 32 bit which means that it can't hold values larger 126 | * than 2,147,483,647. Representing them as floats expands the range to 2^53 - 1, but 127 | * prevents tools from properly enforcing type safety. This means that type mismatch 128 | * errors (e.g. a floating point number is passed in a mutation instead of an integer) 129 | * will get thrown further down the stack and may be harder to interpret. Default is false. 130 | */ 131 | presentIntsAsFloatsInSchema?: boolean; 132 | 133 | /** 134 | * Controls the suffix used for the model wrapping a collection of objects. By default, it 135 | * is `Collection`. Override this if you have both `Model` and `ModelCollection` classes 136 | * in your Realm. 137 | */ 138 | collectionModelSuffix?: string; 139 | 140 | /** 141 | * Controls the suffix used for the model wrapping an input passed into the `updateModel` 142 | * mutation. By default, it is `Input`. Override this if you have both `Model` and `ModelInput` 143 | * classes in your Realm. 144 | */ 145 | inputModelSuffix?: string; 146 | 147 | /** 148 | * Controls the name of the model wrapping a named subscription (only present when the 149 | * Realm is opened in query-sync mode). By default, it is `NamedSubscription`. Override 150 | * this if you already have a `NamedSubscription` class in your Realm. 151 | */ 152 | namedSubscriptionModelName?: string; 153 | 154 | /** 155 | * Controls the name of the model wrapping the base64 representation of binary properties. 156 | * By default, it is `Base64`. Override this if you already have a `Base64` class in your Realm. 157 | */ 158 | base64ModelName?: string; 159 | } 160 | 161 | /** 162 | * Settings controlling the schema caching strategy. 163 | */ 164 | export interface SchemaCacheSettings { 165 | /** 166 | * The number of schemas to keep in the cache. Default is 1000. 167 | */ 168 | max?: number; 169 | 170 | /** 171 | * The max age for schemas in cache. Default is infinite. 172 | */ 173 | maxAge?: number; 174 | } 175 | 176 | /** 177 | * A service that exposes a GraphQL API for accessing the Realm files. 178 | * Create a new instance and pass it to `BasicServer.addService` before 179 | * calling `BasicServer.start` 180 | * 181 | * @example 182 | * ``` 183 | * 184 | * const service = new GraphQLService({ 185 | * // Enable schema caching to improve performance 186 | * schemaCacheSettings: {} 187 | * }); 188 | * 189 | * server.addService(service); 190 | * 191 | * server.start(); 192 | * ``` 193 | */ 194 | @BaseRoute("/graphql") 195 | @Cors("/") 196 | export class GraphQLService { 197 | private readonly schemaCache: LRU.Cache; 198 | private readonly disableAuthentication: boolean; 199 | private readonly realmCacheTTL: number; 200 | private readonly disableExplorer: boolean; 201 | private readonly schemaHandlers: { [path: string]: (realm: Realm, event: string, schema: Realm.ObjectSchema[]) => void } = {}; 202 | private readonly forceExplorerSSL: boolean | undefined; 203 | private readonly includeCountInResponses: boolean; 204 | private readonly presentIntsAsFloatsInSchema: boolean; 205 | private readonly collectionModelSuffix: string; 206 | private readonly inputModelSuffix: string; 207 | private readonly namedSubscriptionModelName: string; 208 | private readonly base64Type: GraphQLScalarType; 209 | 210 | private server: Server; 211 | private subscriptionServer: SubscriptionServer; 212 | private handler: ExpressHandler; 213 | private graphiql: ExpressHandler; 214 | private pubsub: PubSub; 215 | private querySubscriptions: { [id: string]: SubscriptionDetails } = {}; 216 | private adminRealm: Realm; 217 | 218 | /** 219 | * Creates a new `GraphQLService` instance. 220 | * @param settings Settings, controlling the behavior of the service related 221 | * to caching and authentication. 222 | */ 223 | constructor(settings?: GraphQLServiceSettings) { 224 | settings = settings || {}; 225 | 226 | if (settings.schemaCacheSettings !== "NoCache") { 227 | this.schemaCache = new LRU({ 228 | max: (settings.schemaCacheSettings && settings.schemaCacheSettings.max) || 1000, 229 | maxAge: settings.schemaCacheSettings && settings.schemaCacheSettings.maxAge, 230 | }); 231 | } 232 | 233 | this.disableAuthentication = settings.disableAuthentication || false; 234 | this.disableExplorer = settings.disableExplorer || false; 235 | this.realmCacheTTL = settings.realmCacheMaxAge || 120000; 236 | this.forceExplorerSSL = settings.forceExplorerSSL; 237 | this.includeCountInResponses = settings.includeCountInResponses || false; 238 | this.presentIntsAsFloatsInSchema = settings.presentIntsAsFloatsInSchema || false; 239 | this.collectionModelSuffix = settings.collectionModelSuffix || "Collection"; 240 | this.namedSubscriptionModelName = settings.namedSubscriptionModelName || "NamedSubscription"; 241 | this.inputModelSuffix = settings.inputModelSuffix || "Input"; 242 | 243 | this.base64Type = new GraphQLScalarType({ 244 | name: settings.base64ModelName || "Base64", 245 | description: "A base64-encoded binary blob", 246 | serialize(value) { 247 | return Buffer.from(value).toString("base64"); 248 | }, 249 | parseValue(value) { 250 | return Buffer.from(value, "base64"); 251 | }, 252 | parseLiteral(ast) { 253 | if (ast.kind === "StringValue") { 254 | return Buffer.from(ast.value, "base64"); 255 | } 256 | 257 | throw new TypeError(`Expected StringValue literal, but got ${ast.kind}`); 258 | }, 259 | }); 260 | } 261 | 262 | @ServerStarted() 263 | private serverStarted(server: Server) { 264 | this.server = server; 265 | this.pubsub = new PubSub(); 266 | 267 | const getOperationId = (socket: any, messageId: string) => { 268 | // socket.id is set to a random value in `onOperation` 269 | return `${socket.id}_${messageId}`; 270 | }; 271 | 272 | this.subscriptionServer = new SubscriptionServer( 273 | { 274 | execute, 275 | subscribe, 276 | onOperationComplete: (socket, messageId) => { 277 | const opid = getOperationId(socket, messageId); 278 | const details = this.querySubscriptions[opid]; 279 | if (details) { 280 | details.results.removeAllListeners(); 281 | this.closeRealm(details.realm); 282 | delete this.querySubscriptions[opid]; 283 | } 284 | }, 285 | onOperation: async (message, params, socket) => { 286 | // HACK: socket.realmPath is set in subscriptionHandler to the 287 | // :path route parameter 288 | if (!socket.realmPath) { 289 | throw new GraphQLError('Missing "realmPath" from context. It is required for subscriptions.'); 290 | } 291 | 292 | socket.id = v4(); 293 | const context = params.context as GraphQLContext; 294 | context.operationId = getOperationId(socket, message.id); 295 | context.realm = await this.openRealm(socket.realmPath, context.user); 296 | params.schema = this.getSchema(socket.realmPath, context.realm); 297 | return params; 298 | }, 299 | onConnect: async (authPayload, socket): Promise => { 300 | let accessToken: Token; 301 | let user: Realm.Sync.User; 302 | if (!this.disableAuthentication) { 303 | if (!authPayload || !authPayload.token) { 304 | throw new errors.realm.MissingParameters("Missing 'connectionParams.token'."); 305 | } 306 | 307 | accessToken = this.server.tokenValidator.parse(authPayload.token); 308 | user = await this.authenticate(accessToken, socket.realmPath); 309 | } 310 | 311 | return { 312 | accessToken, 313 | user, 314 | }; 315 | }, 316 | }, 317 | { 318 | noServer: true, 319 | }, 320 | ); 321 | 322 | this.handler = graphqlExpress(async (req: GraphQLRequest, res) => { 323 | let realm: Realm; 324 | res.once("finish", () => { 325 | this.closeRealm(realm); 326 | }); 327 | 328 | const path = this.getPath(req); 329 | realm = await this.openRealm(path, req.user); 330 | const schema = this.getSchema(path, realm); 331 | 332 | const result: { 333 | schema: GraphQLSchema, 334 | context: GraphQLContext, 335 | } = { 336 | schema, 337 | context: { 338 | realm, 339 | accessToken: req.authToken, 340 | user: req.user, 341 | }, 342 | }; 343 | 344 | return result; 345 | }); 346 | 347 | this.graphiql = graphiqlExpress((req: GraphQLRequest) => { 348 | const path = this.getPath(req); 349 | 350 | let protocol: string; 351 | switch (this.forceExplorerSSL) { 352 | case true: 353 | protocol = "wss"; 354 | break; 355 | case false: 356 | protocol = "ws"; 357 | break; 358 | default: 359 | protocol = req.protocol === "https" ? "wss" : "ws"; 360 | break; 361 | } 362 | 363 | const result: GraphiQLData = { 364 | endpointURL: `/graphql/${encodeURIComponent(path)}`, 365 | subscriptionsEndpoint: `${protocol}://${req.get("host")}/graphql/${encodeURIComponent(path)}`, 366 | }; 367 | 368 | const token = req.get("authorization"); 369 | if (token) { 370 | result.passHeader = `'Authorization': '${token}'`; 371 | result.websocketConnectionParams = { token }; 372 | } 373 | 374 | return result; 375 | }); 376 | } 377 | 378 | @Start() 379 | private async start(server: Server) { 380 | this.adminRealm = await server.openRealm(AdminRealm); 381 | } 382 | 383 | @Stop() 384 | private stop() { 385 | this.subscriptionServer.close(); 386 | } 387 | 388 | @Upgrade("/:path+") 389 | private async subscriptionHandler(req, socket, head) { 390 | const wsServer = this.subscriptionServer.server; 391 | const ws = await new Promise((resolve) => wsServer.handleUpgrade(req, socket, head, resolve)); 392 | 393 | // HACK: we're putting the realmPath on the socket client 394 | // and resolving it in subscriptionServer.onOperation to 395 | // populate it in the subscription context. 396 | const path = url.parse(req.url).path.replace("/graphql/", ""); 397 | ws.realmPath = this.getPath(path); 398 | wsServer.emit("connection", ws, req); 399 | } 400 | 401 | @Get("/explore/*") 402 | private async getExplore(@Request() req: GraphQLRequest, @Response() res: express.Response, @Next() next) { 403 | if (this.disableExplorer) { 404 | throw new errors.realm.AccessDenied(); 405 | } 406 | 407 | await this.authenticateRequest(req); 408 | this.graphiql(req, res, next); 409 | } 410 | 411 | @Post("/explore/*") 412 | private async postExplore(@Request() req: GraphQLRequest, @Response() res: express.Response, @Next() next) { 413 | if (this.disableExplorer) { 414 | throw new errors.realm.AccessDenied(); 415 | } 416 | 417 | await this.authenticateRequest(req); 418 | this.graphiql(req, res, next); 419 | } 420 | 421 | @Get("/*") 422 | private async get(@Request() req: GraphQLRequest, @Response() res: express.Response, @Next() next) { 423 | await this.authenticateRequest(req); 424 | this.handler(req, res, next); 425 | } 426 | 427 | @Post("/*") 428 | private async post(@Request() req: GraphQLRequest, @Response() res: express.Response, @Next() next) { 429 | await this.authenticateRequest(req); 430 | this.handler(req, res, next); 431 | } 432 | 433 | @Delete("/schema/*") 434 | private deleteSchema(@Request() req: GraphQLRequest, @Response() res: express.Response) { 435 | this.authenticateRequest(req); 436 | this.schemaCache.del(this.getPath(req)); 437 | res.status(204).send({}); 438 | } 439 | 440 | private getPath(reqOrPath: GraphQLRequest | string): string { 441 | let path = typeof reqOrPath === "string" ? decodeURIComponent(reqOrPath) : reqOrPath.params["0"]; 442 | if (!path.startsWith("/")) { 443 | path = `/${path}`; 444 | } 445 | 446 | return path; 447 | } 448 | 449 | private async authenticateRequest(req: GraphQLRequest): Promise { 450 | req.user = await this.authenticate(req.authToken, this.getPath(req)); 451 | } 452 | 453 | /** 454 | * Ensures the user is authenticated. 455 | * @param authToken token as set by the authentication middleware 456 | * @param path the optional path to look for in the access token. 457 | * If not provided, only admin tokens are accepted. 458 | */ 459 | private async authenticate(authToken: Token, path?: string): Promise { 460 | if (this.disableAuthentication) { 461 | return undefined; 462 | } 463 | 464 | if (!authToken) { 465 | throw new errors.realm.AccessDenied({ detail: "Authorization header is missing." }); 466 | } 467 | 468 | const accessToken = authToken as AccessToken; 469 | if (!isAdminToken(authToken) && (!path || accessToken.path !== path)) { 470 | throw new errors.realm.InvalidCredentials({ detail: "The access token doesn't grant access to the requested path." }); 471 | } 472 | 473 | const partialInfo = extractPartialInfo(path); 474 | if (!partialInfo.isPartial) { 475 | // Full Realm - we don't need user impersonation, so just return undefined to 476 | // make RealmFactory use the admin user 477 | return undefined; 478 | } 479 | 480 | if (!partialInfo.customIdentifier.startsWith(authToken.identity + "/")) { 481 | // We enforce that users only open their own Realms. 482 | throw new errors.realm.InvalidCredentials({ 483 | detail: "The identifier after /__partial/ in the route must match the user Id. Expected: " 484 | + `'/__partial/${authToken.identity}/*', but got '/__partial/${partialInfo.customIdentifier}'.`, 485 | }); 486 | } 487 | 488 | // TODO: optimize that - either cache it or check if the Realm exists in the factory. 489 | const adminRealmUser = this.adminRealm.objectForPrimaryKey("User", authToken.identity); 490 | 491 | const refreshToken = new RefreshToken({ 492 | appId: authToken.appId, 493 | identity: authToken.identity, 494 | isAdmin: (adminRealmUser && adminRealmUser.isAdmin) || false, 495 | expires: moment().add(1, "year").unix(), 496 | }); 497 | 498 | // TODO: allow internal https traffic. 499 | const authService = await this.server.discovery.waitForService("auth"); 500 | const user = Realm.Sync.User.deserialize({ 501 | identity: refreshToken.identity, 502 | isAdmin: refreshToken.isAdmin, 503 | refreshToken: refreshToken.sign(this.server.privateKey), 504 | server: `http://${authService.address}:${authService.port}`, 505 | }); 506 | 507 | return user; 508 | } 509 | 510 | private validateAccess(context: GraphQLContext, access: string) { 511 | if (this.disableAuthentication || isAdminToken(context.accessToken)) { 512 | return; 513 | } 514 | 515 | const token = context.accessToken as AccessToken; 516 | if (!token || !token.access || token.access.indexOf(access) < 0) { 517 | throw new errors.realm.InvalidCredentials({ 518 | title: `The current user doesn't have '${access}' access.`, 519 | }); 520 | } 521 | } 522 | 523 | private closeRealm(realm: Realm) { 524 | if (!realm) { 525 | return; 526 | } 527 | 528 | if (this.realmCacheTTL >= 0) { 529 | setTimeout(() => realm.close(), this.realmCacheTTL); 530 | } else { 531 | realm.close(); 532 | } 533 | } 534 | 535 | private validateRead(context: GraphQLContext) { 536 | this.validateAccess(context, "download"); 537 | } 538 | 539 | private validateWrite(context: GraphQLContext) { 540 | this.validateAccess(context, "upload"); 541 | } 542 | 543 | private getSchema(path: string, realm: Realm): GraphQLSchema { 544 | if (this.schemaCache && this.schemaCache.has(path)) { 545 | return this.schemaCache.get(path); 546 | } 547 | 548 | let schema = `\nscalar ${this.base64Type.name}\n`; 549 | 550 | const types = new Array<[string, PKInfo]>(); 551 | const queryResolver: IResolverObject = {}; 552 | const mutationResolver: IResolverObject = {}; 553 | const subscriptionResolver: IResolverObject = {}; 554 | const partialInfo = extractPartialInfo(path); 555 | 556 | for (const obj of realm.schema) { 557 | if (this.isReserved(obj.name)) { 558 | continue; 559 | } 560 | 561 | const propertyInfo = this.getPropertySchema(obj); 562 | 563 | if (!propertyInfo.propertySchema) { 564 | // If the object doesn't have properties, we don't want it. 565 | continue; 566 | } 567 | 568 | types.push([obj.name, propertyInfo.pk]); 569 | 570 | schema += `type ${obj.name} { \n${propertyInfo.propertySchema}}\n\n`; 571 | schema += `type ${obj.name}${this.collectionModelSuffix} { 572 | count: Int! 573 | items: [${obj.name}!] 574 | }\n`; 575 | schema += `input ${obj.name}${this.inputModelSuffix} { \n${propertyInfo.inputPropertySchema}}\n\n`; 576 | } 577 | 578 | if (types.length === 0) { 579 | throw new Error(`The schema for Realm at path ${path} is empty.`); 580 | } 581 | 582 | let query = "type Query {\n"; 583 | let mutation = "type Mutation {\n"; 584 | let subscription = "type Subscription {\n"; 585 | 586 | if (partialInfo.isPartial) { 587 | schema += `type ${this.namedSubscriptionModelName} { 588 | name: String, 589 | objectType: String!, 590 | query: String! 591 | }\n`; 592 | schema += `type ${this.namedSubscriptionModelName}${this.collectionModelSuffix} { 593 | count: Int! 594 | items: [${this.namedSubscriptionModelName}!] 595 | }\n`; 596 | 597 | query += this.setupListPartialSubscriptions(queryResolver); 598 | mutation += this.setupDeletePartialSubscription(mutationResolver); 599 | } 600 | 601 | for (const [type, pk] of types) { 602 | // TODO: this assumes types are PascalCase 603 | const camelCasedType = this.camelcase(type); 604 | const pluralType = this.pluralize(camelCasedType); 605 | 606 | query += this.setupGetAllObjects(queryResolver, type, pluralType); 607 | mutation += this.setupAddObject(mutationResolver, type); 608 | mutation += this.setupDeleteObjects(mutationResolver, type); 609 | 610 | if (partialInfo.isPartial) { 611 | mutation += this.setupCreatePartialSubscription(mutationResolver, type); 612 | } 613 | 614 | subscription += this.setupSubscribeToQuery(subscriptionResolver, type, pluralType); 615 | 616 | // If object has PK, we add get by PK and update option. 617 | if (pk) { 618 | query += this.setupGetObjectByPK(queryResolver, type, camelCasedType, pk); 619 | mutation += this.setupUpdateObject(mutationResolver, type); 620 | mutation += this.setupDiffUpdateObject(mutationResolver, type); 621 | mutation += this.setupDeleteObject(mutationResolver, type, pk); 622 | } 623 | } 624 | 625 | query += "}\n\n"; 626 | mutation += "}\n\n"; 627 | subscription += "}"; 628 | 629 | schema += query; 630 | schema += mutation; 631 | schema += subscription; 632 | 633 | const result = makeExecutableSchema({ 634 | typeDefs: schema, 635 | resolvers: { 636 | Query: queryResolver, 637 | Mutation: mutationResolver, 638 | Subscription: subscriptionResolver, 639 | [this.base64Type.name]: this.base64Type, 640 | }, 641 | }); 642 | 643 | if (this.schemaCache) { 644 | this.schemaCache.set(path, result); 645 | } 646 | 647 | return result; 648 | } 649 | 650 | private setupGetAllObjects(queryResolver: IResolverObject, type: string, pluralType: string): string { 651 | queryResolver[pluralType] = (_, args, context: GraphQLContext) => { 652 | this.validateRead(context); 653 | 654 | let result = context.realm.objects(type); 655 | if (args.query) { 656 | result = result.filtered(args.query); 657 | } 658 | 659 | if (args.sortBy) { 660 | const descending = args.descending || false; 661 | result = result.sorted(args.sortBy, descending); 662 | } 663 | 664 | return this.getCollectionResponse(result, args); 665 | }; 666 | 667 | // TODO: limit sortBy to only valid properties 668 | const responseType = this.includeCountInResponses ? `${type}${this.collectionModelSuffix}` : `[${type}!]`; 669 | return `${pluralType}(query: String, sortBy: String, descending: Boolean, skip: Int, take: Int): ${responseType}\n`; 670 | } 671 | 672 | private setupAddObject(mutationResolver: IResolverObject, type: string): string { 673 | mutationResolver[`add${type}`] = (_, args, context: GraphQLContext) => { 674 | this.validateWrite(context); 675 | 676 | let result: any; 677 | context.realm.write(() => { 678 | result = context.realm.create(type, args.input); 679 | }); 680 | 681 | return result; 682 | }; 683 | 684 | return `add${type}(input: ${type}${this.inputModelSuffix}): ${type}\n`; 685 | } 686 | 687 | private setupSubscribeToQuery(subscriptionResolver: IResolverObject, type: string, pluralType: string): string { 688 | subscriptionResolver[pluralType] = { 689 | subscribe: (_, args, context: GraphQLContext) => { 690 | this.validateRead(context); 691 | 692 | let result = context.realm.objects(type); 693 | if (args.query) { 694 | result = result.filtered(args.query); 695 | } 696 | 697 | if (args.sortBy) { 698 | const descending = args.descending || false; 699 | result = result.sorted(args.sortBy, descending); 700 | } 701 | 702 | const opId = context.operationId; 703 | this.querySubscriptions[opId] = { 704 | results: result, 705 | realm: context.realm, 706 | }; 707 | 708 | result.addListener((collection, change) => { 709 | const payload = {}; 710 | payload[pluralType] = this.getCollectionResponse(collection, args); 711 | this.pubsub.publish(opId, payload); 712 | }); 713 | 714 | return this.pubsub.asyncIterator(opId); 715 | }, 716 | }; 717 | 718 | // TODO: limit sortBy to only valid properties 719 | const responseType = this.includeCountInResponses ? `${type}${this.collectionModelSuffix}` : `[${type}!]`; 720 | return `${pluralType}(query: String, sortBy: String, descending: Boolean, skip: Int, take: Int): ${responseType}\n`; 721 | } 722 | 723 | private setupGetObjectByPK(queryResolver: IResolverObject, type: string, camelCasedType: string, pk: PKInfo): string { 724 | queryResolver[camelCasedType] = (_, args, context: GraphQLContext) => { 725 | this.validateRead(context); 726 | 727 | return context.realm.objectForPrimaryKey(type, args[pk.name]); 728 | }; 729 | return `${camelCasedType}(${pk.name}: ${pk.type}): ${type}\n`; 730 | } 731 | 732 | private setupUpdateObject(mutationResolver: IResolverObject, type: string): string { 733 | // TODO: validate that the PK is set 734 | // TODO: validate that object exists, otherwise it's addOrUpdate not just update 735 | mutationResolver[`update${type}`] = (_, args, context: GraphQLContext) => { 736 | this.validateWrite(context); 737 | 738 | let result: any; 739 | context.realm.write(() => { 740 | result = context.realm.create(type, args.input, true); 741 | }); 742 | 743 | return result; 744 | }; 745 | 746 | return `update${type}(input: ${type}${this.inputModelSuffix}): ${type}\n`; 747 | } 748 | 749 | private setupDiffUpdateObject(mutationResolver: IResolverObject, type: string): string { 750 | mutationResolver[`diffUpdate${type}`] = (_, args, context: GraphQLContext) => { 751 | this.validateWrite(context); 752 | 753 | try { 754 | const response = this.upsertObject(context, args.input, type); 755 | return response.result; 756 | } catch (err) { 757 | if (context.realm.isInTransaction) { 758 | context.realm.cancelTransaction(); 759 | } 760 | 761 | throw err; 762 | } 763 | }; 764 | 765 | return `diffUpdate${type}(input: ${type}${this.inputModelSuffix}): ${type}\n`; 766 | } 767 | 768 | private setupDeleteObject(mutationResolver: IResolverObject, type: string, pk: PKInfo): string { 769 | mutationResolver[`delete${type}`] = (_, args, context: GraphQLContext) => { 770 | this.validateWrite(context); 771 | 772 | let result: boolean = false; 773 | context.realm.write(() => { 774 | const obj = context.realm.objectForPrimaryKey(type, args[pk.name]); 775 | if (obj) { 776 | context.realm.delete(obj); 777 | result = true; 778 | } 779 | }); 780 | 781 | return result; 782 | }; 783 | 784 | return `delete${type}(${pk.name}: ${pk.type}): Boolean\n`; 785 | } 786 | 787 | private setupDeleteObjects(mutationResolver: IResolverObject, type: string): string { 788 | const pluralType = this.pluralize(type); 789 | 790 | mutationResolver[`delete${pluralType}`] = (_, args, context: GraphQLContext) => { 791 | this.validateWrite(context); 792 | 793 | let result: number; 794 | context.realm.write(() => { 795 | let toDelete = context.realm.objects(type); 796 | if (args.query) { 797 | toDelete = toDelete.filtered(args.query); 798 | } 799 | 800 | result = toDelete.length; 801 | context.realm.delete(toDelete); 802 | }); 803 | 804 | return result; 805 | }; 806 | 807 | return `delete${pluralType}(query: String): Int\n`; 808 | } 809 | 810 | private setupCreatePartialSubscription(mutationResolver: IResolverObject, type: string): string { 811 | mutationResolver[`create${type}Subscription`] = async (_, args, context: GraphQLContext) => { 812 | let result = context.realm.objects(type); 813 | if (args.query) { 814 | result = result.filtered(args.query); 815 | } 816 | 817 | if (args.sortBy) { 818 | const descending = args.descending || false; 819 | result = result.sorted(args.sortBy, descending); 820 | } 821 | 822 | const subscription = args.name ? result.subscribe(args.name) : result.subscribe(); 823 | 824 | await new Promise((resolve, reject) => { 825 | subscription.addListener((s, state) => { 826 | switch (state) { 827 | case Realm.Sync.SubscriptionState.Complete: 828 | subscription.removeAllListeners(); 829 | resolve(); 830 | break; 831 | case Realm.Sync.SubscriptionState.Error: 832 | subscription.removeAllListeners(); 833 | reject(subscription.error); 834 | break; 835 | } 836 | }); 837 | }); 838 | 839 | return this.getCollectionResponse(result, {}); 840 | }; 841 | 842 | const responseType = this.includeCountInResponses ? `${type}${this.collectionModelSuffix}` : `[${type}!]`; 843 | return `create${type}Subscription(query: String, sortBy: String, descending: Boolean, name: String): ${responseType}\n`; 844 | } 845 | 846 | private setupListPartialSubscriptions(queryResolver: IResolverObject): string { 847 | queryResolver.queryBasedSubscriptions = async (_, args, context: GraphQLContext) => { 848 | const result = context.realm.subscriptions(args.name); 849 | return this.getCollectionResponse(result, {}); 850 | }; 851 | 852 | const responseType = this.includeCountInResponses ? `${this.namedSubscriptionModelName}${this.collectionModelSuffix}` : `[${this.namedSubscriptionModelName}!]`; 853 | return `queryBasedSubscriptions(name: String): ${responseType}\n`; 854 | } 855 | 856 | private setupDeletePartialSubscription(mutationResolver: IResolverObject): string { 857 | mutationResolver.deleteQueryBasedSubscription = async (_, args, context: GraphQLContext) => { 858 | context.realm.unsubscribe(args.name); 859 | return true; 860 | }; 861 | 862 | return "deleteQueryBasedSubscription(name: String!): Boolean\n"; 863 | } 864 | 865 | private upsertObject( 866 | context: GraphQLContext, 867 | newObject: any, 868 | type: string, 869 | shouldBeginTransaction = true, 870 | ): { 871 | result: any, 872 | hasChanges: boolean, 873 | } { 874 | const objectSchema = context.realm.schema.find((s) => s.name === type); 875 | const pkName = objectSchema.primaryKey; 876 | const pkValue = newObject[pkName]; 877 | let result = context.realm.objectForPrimaryKey(type, pkValue); 878 | 879 | let hasChanges = false; 880 | if (shouldBeginTransaction) { 881 | context.realm.beginTransaction(); 882 | } 883 | 884 | if (!result) { 885 | // TODO: this can be improved by not recreating linked objects 886 | result = context.realm.create(type, newObject, true); 887 | hasChanges = true; 888 | } else { 889 | for (const propertyName of Object.getOwnPropertyNames(objectSchema.properties)) { 890 | if (newObject[propertyName] === undefined || propertyName === pkName) { 891 | continue; 892 | } 893 | 894 | const prop = objectSchema.properties[propertyName] as Realm.ObjectSchemaProperty; 895 | switch (prop.type) { 896 | case "object": 897 | const link = this.upsertObject(context, newObject[propertyName], prop.objectType, false); 898 | hasChanges = hasChanges || link.hasChanges; 899 | if (!result[propertyName]._isSameObject(link.result)) { 900 | hasChanges = true; 901 | result[propertyName] = link.result; 902 | } 903 | break; 904 | case "date": 905 | if (!this.datesEqual(result[propertyName], newObject[propertyName])) { 906 | hasChanges = true; 907 | result[propertyName] = newObject[propertyName]; 908 | } 909 | break; 910 | case "list": 911 | // TODO do a better diff 912 | hasChanges = true; 913 | result[propertyName] = []; 914 | for (const item of newObject[propertyName]) { 915 | const upserted = this.upsertObject(context, item, prop.objectType, false); 916 | result[propertyName].push(upserted.result); 917 | } 918 | break; 919 | default: 920 | if (result[propertyName] !== newObject[propertyName]) { 921 | hasChanges = true; 922 | result[propertyName] = newObject[propertyName]; 923 | } 924 | break; 925 | } 926 | } 927 | } 928 | 929 | if (shouldBeginTransaction) { 930 | if (hasChanges) { 931 | context.realm.commitTransaction(); 932 | } else { 933 | context.realm.cancelTransaction(); 934 | } 935 | } 936 | 937 | return { 938 | result, 939 | hasChanges, 940 | }; 941 | } 942 | 943 | private getPropertySchema(obj: ObjectSchema): PropertySchemaInfo { 944 | let schemaProperties = ""; 945 | let inputSchemaProperties = ""; 946 | let primaryKey: PKInfo = null; 947 | 948 | for (const key in obj.properties) { 949 | if (!obj.properties.hasOwnProperty(key) || 950 | this.isReserved(key)) { 951 | continue; 952 | } 953 | 954 | const prop = obj.properties[key] as ObjectSchemaProperty; 955 | if (prop.type === "linkingObjects") { 956 | continue; 957 | } 958 | 959 | const types = this.getTypeString(prop); 960 | if (!types || this.isReserved(types.type)) { 961 | continue; 962 | } 963 | 964 | schemaProperties += `${key}: ${types.type}\n`; 965 | inputSchemaProperties += `${key}: ${types.inputType}\n`; 966 | 967 | if (key === obj.primaryKey) { 968 | primaryKey = { 969 | name: key, 970 | type: types.type, 971 | }; 972 | } 973 | } 974 | 975 | return { 976 | propertySchema: schemaProperties, 977 | inputPropertySchema: inputSchemaProperties, 978 | pk: primaryKey, 979 | }; 980 | } 981 | 982 | private getTypeString(prop: ObjectSchemaProperty): SchemaTypes { 983 | let type: string; 984 | let inputType: string; 985 | switch (prop.type) { 986 | case "object": 987 | type = prop.objectType; 988 | inputType = `${prop.objectType}${this.inputModelSuffix}`; 989 | break; 990 | case "list": 991 | const innerType = this.getPrimitiveTypeString(prop.objectType, prop.optional); 992 | if (this.isReserved(innerType)) { 993 | return undefined; 994 | } 995 | type = `[${innerType}]`; 996 | 997 | switch (prop.objectType) { 998 | case "bool": 999 | case "int": 1000 | case "float": 1001 | case "double": 1002 | case "date": 1003 | case "string": 1004 | case "data": 1005 | inputType = type; 1006 | break; 1007 | default: 1008 | inputType = `[${innerType}${this.inputModelSuffix}]`; 1009 | break; 1010 | } 1011 | break; 1012 | default: 1013 | type = this.getPrimitiveTypeString(prop.type, prop.optional); 1014 | inputType = this.getPrimitiveTypeString(prop.type, true); 1015 | break; 1016 | } 1017 | 1018 | return { 1019 | type, 1020 | inputType, 1021 | }; 1022 | } 1023 | 1024 | private getPrimitiveTypeString(prop: string, optional: boolean): string { 1025 | let result = ""; 1026 | switch (prop) { 1027 | case "bool": 1028 | result = "Boolean"; 1029 | break; 1030 | case "int": 1031 | result = this.presentIntsAsFloatsInSchema ? "Float" : "Int"; 1032 | break; 1033 | case "float": 1034 | case "double": 1035 | result = "Float"; 1036 | break; 1037 | case "date": 1038 | case "string": 1039 | result = "String"; 1040 | break; 1041 | case "data": 1042 | result = this.base64Type.name; 1043 | break; 1044 | default: 1045 | return prop; 1046 | } 1047 | 1048 | if (!optional) { 1049 | result += "!"; 1050 | } 1051 | 1052 | return result; 1053 | } 1054 | 1055 | private getCollectionResponse(collection: any, args: { skip?: number, take?: number }): any { 1056 | let result = collection; 1057 | if (args.skip || args.take) { 1058 | const skip = args.skip || 0; 1059 | const take = args.take ? (args.take + skip) : undefined; 1060 | result = collection.slice(skip, take); 1061 | } 1062 | 1063 | if (this.includeCountInResponses) { 1064 | return { 1065 | count: collection.length, 1066 | items: result, 1067 | }; 1068 | } 1069 | 1070 | return result; 1071 | } 1072 | 1073 | private camelcase(value: string): string { 1074 | return value.charAt(0).toLowerCase() + value.slice(1); 1075 | } 1076 | 1077 | private pluralize(value: string): string { 1078 | const result = pluralize(value); 1079 | if (result !== value) { 1080 | return result; 1081 | } 1082 | 1083 | return result + "s"; 1084 | } 1085 | 1086 | private isReserved(value: string): boolean { 1087 | return value.startsWith("__"); 1088 | } 1089 | 1090 | private datesEqual(first: Date, second: Date): boolean { 1091 | try { 1092 | if (first === null || second === null) { 1093 | return first === second; 1094 | } 1095 | 1096 | if (!(first instanceof Date)) { 1097 | first = new Date(first); 1098 | } 1099 | 1100 | if (!(second instanceof Date)) { 1101 | second = new Date(second); 1102 | } 1103 | 1104 | return first.getTime() === second.getTime(); 1105 | } catch (err) { 1106 | return false; 1107 | } 1108 | } 1109 | 1110 | private async openRealm(path: string, user: Realm.Sync.User): Promise { 1111 | const realm = await this.server.openRealm({ 1112 | remotePath: path, 1113 | schema: undefined, 1114 | user, 1115 | }); 1116 | 1117 | if (this.schemaCache) { 1118 | realm.addListener("schema", this.getSchemaHandler(path)); 1119 | } 1120 | 1121 | return realm; 1122 | } 1123 | 1124 | private getSchemaHandler(path: string): (realm: Realm, event: string, schema: Realm.ObjectSchema[]) => void { 1125 | let value = this.schemaHandlers[path]; 1126 | if (!value) { 1127 | value = (realm: Realm, event: string, schema: Realm.ObjectSchema[]) => { 1128 | try { 1129 | this.schemaCache.del(path); 1130 | this.getSchema(path, realm); 1131 | } catch { 1132 | // Ignore 1133 | } 1134 | }; 1135 | this.schemaHandlers[path] = value; 1136 | } 1137 | 1138 | return value; 1139 | } 1140 | } 1141 | -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- 1 | # THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. 2 | # yarn lockfile v1 3 | 4 | 5 | "@types/bcrypt@^1.0.0": 6 | version "1.0.0" 7 | resolved "https://registry.yarnpkg.com/@types/bcrypt/-/bcrypt-1.0.0.tgz#2c523da191db7d41c06d17de235335c985effe9b" 8 | 9 | "@types/body-parser@*", "@types/body-parser@^1.16.4": 10 | version "1.16.8" 11 | resolved "https://registry.yarnpkg.com/@types/body-parser/-/body-parser-1.16.8.tgz#687ec34140624a3bec2b1a8ea9268478ae8f3be3" 12 | dependencies: 13 | "@types/express" "*" 14 | "@types/node" "*" 15 | 16 | "@types/chai@^4.0.4": 17 | version "4.0.8" 18 | resolved "https://registry.yarnpkg.com/@types/chai/-/chai-4.0.8.tgz#d27600e9ba2f371e08695d90a0fe0408d89c7be7" 19 | 20 | "@types/colors@^1.1.3": 21 | version "1.1.3" 22 | resolved "https://registry.yarnpkg.com/@types/colors/-/colors-1.1.3.tgz#5413b0a7a1b16dd18be0e3fd57d2feecc81cc776" 23 | 24 | "@types/commander@^2.9.2": 25 | version "2.12.2" 26 | resolved "https://registry.yarnpkg.com/@types/commander/-/commander-2.12.2.tgz#183041a23842d4281478fa5d23c5ca78e6fd08ae" 27 | dependencies: 28 | commander "*" 29 | 30 | "@types/del@^3.0.0": 31 | version "3.0.0" 32 | resolved "https://registry.yarnpkg.com/@types/del/-/del-3.0.0.tgz#1c8cd8b6e38da3b572352ca8eaf5527931426288" 33 | dependencies: 34 | "@types/glob" "*" 35 | 36 | "@types/events@*": 37 | version "1.1.0" 38 | resolved "https://registry.yarnpkg.com/@types/events/-/events-1.1.0.tgz#93b1be91f63c184450385272c47b6496fd028e02" 39 | 40 | "@types/express-serve-static-core@*": 41 | version "4.0.57" 42 | resolved "https://registry.yarnpkg.com/@types/express-serve-static-core/-/express-serve-static-core-4.0.57.tgz#3cd8ab4b11d5ecd70393bada7fc1c480491537dd" 43 | dependencies: 44 | "@types/node" "*" 45 | 46 | "@types/express@*": 47 | version "4.0.39" 48 | resolved "https://registry.yarnpkg.com/@types/express/-/express-4.0.39.tgz#1441f21d52b33be8d4fa8a865c15a6a91cd0fa09" 49 | dependencies: 50 | "@types/body-parser" "*" 51 | "@types/express-serve-static-core" "*" 52 | "@types/serve-static" "*" 53 | 54 | "@types/express@4.0.37": 55 | version "4.0.37" 56 | resolved "https://registry.yarnpkg.com/@types/express/-/express-4.0.37.tgz#625ac3765169676e01897ca47011c26375784971" 57 | dependencies: 58 | "@types/express-serve-static-core" "*" 59 | "@types/serve-static" "*" 60 | 61 | "@types/faker@^4.1.0", "@types/faker@^4.1.2": 62 | version "4.1.2" 63 | resolved "https://registry.yarnpkg.com/@types/faker/-/faker-4.1.2.tgz#f8ab50c9f9af68c160dd71b63f83e24b712d0df5" 64 | 65 | "@types/fs-extra@>=4.0.2": 66 | version "4.0.5" 67 | resolved "https://registry.yarnpkg.com/@types/fs-extra/-/fs-extra-4.0.5.tgz#8aa6033c0e87c653b09a6711686916864b48ec9e" 68 | dependencies: 69 | "@types/node" "*" 70 | 71 | "@types/glob@*": 72 | version "5.0.33" 73 | resolved "https://registry.yarnpkg.com/@types/glob/-/glob-5.0.33.tgz#3dff7c6ce09d65abe919c7961dc3dee016f36ad7" 74 | dependencies: 75 | "@types/minimatch" "*" 76 | "@types/node" "*" 77 | 78 | "@types/graphql@^0.11.6": 79 | version "0.11.7" 80 | resolved "https://registry.yarnpkg.com/@types/graphql/-/graphql-0.11.7.tgz#da39a2f7c74e793e32e2bb7b3b68da1691532dd5" 81 | 82 | "@types/http-proxy@^1.12.1": 83 | version "1.12.2" 84 | resolved "https://registry.yarnpkg.com/@types/http-proxy/-/http-proxy-1.12.2.tgz#aef03f2f5bd1230fa1298224f0bc48f239320b09" 85 | dependencies: 86 | "@types/node" "*" 87 | 88 | "@types/jquery@*": 89 | version "3.2.16" 90 | resolved "https://registry.yarnpkg.com/@types/jquery/-/jquery-3.2.16.tgz#04419c404a3194350e7d3f339a90e72c88db3111" 91 | 92 | "@types/jsonwebtoken@^7.2.3": 93 | version "7.2.3" 94 | resolved "https://registry.yarnpkg.com/@types/jsonwebtoken/-/jsonwebtoken-7.2.3.tgz#483c8f39945e1e6d308dcc51fd4aeca5208d4dca" 95 | dependencies: 96 | "@types/node" "*" 97 | 98 | "@types/lodash@^4.14.76": 99 | version "4.14.87" 100 | resolved "https://registry.yarnpkg.com/@types/lodash/-/lodash-4.14.87.tgz#55f92183b048c2c64402afe472f8333f4e319a6b" 101 | 102 | "@types/lru-cache@^4.1.0": 103 | version "4.1.0" 104 | resolved "https://registry.yarnpkg.com/@types/lru-cache/-/lru-cache-4.1.0.tgz#ef69ce9c3ebb46bd146f0d80f0c1ce38b0508eae" 105 | 106 | "@types/mime@*": 107 | version "2.0.0" 108 | resolved "https://registry.yarnpkg.com/@types/mime/-/mime-2.0.0.tgz#5a7306e367c539b9f6543499de8dd519fac37a8b" 109 | 110 | "@types/minimatch@*": 111 | version "3.0.1" 112 | resolved "https://registry.yarnpkg.com/@types/minimatch/-/minimatch-3.0.1.tgz#b683eb60be358304ef146f5775db4c0e3696a550" 113 | 114 | "@types/mocha@^2.2.44": 115 | version "2.2.44" 116 | resolved "https://registry.yarnpkg.com/@types/mocha/-/mocha-2.2.44.tgz#1d4a798e53f35212fd5ad4d04050620171cd5b5e" 117 | 118 | "@types/morgan@^1.7.32": 119 | version "1.7.35" 120 | resolved "https://registry.yarnpkg.com/@types/morgan/-/morgan-1.7.35.tgz#6358f502931cc2583d7a94248c41518baa688494" 121 | dependencies: 122 | "@types/express" "*" 123 | 124 | "@types/node@*": 125 | version "8.0.54" 126 | resolved "https://registry.yarnpkg.com/@types/node/-/node-8.0.54.tgz#3fd9357db4af388b79e03845340259440edffde6" 127 | dependencies: 128 | "@types/events" "*" 129 | 130 | "@types/pluralize@0.0.28": 131 | version "0.0.28" 132 | resolved "https://registry.yarnpkg.com/@types/pluralize/-/pluralize-0.0.28.tgz#daf46f90fdaa6172600bfeac81e46065177f03ea" 133 | 134 | "@types/promptly@^1.1.28": 135 | version "1.1.28" 136 | resolved "https://registry.yarnpkg.com/@types/promptly/-/promptly-1.1.28.tgz#9014e2f12acdea41e21009af4e39fe7b11fec8d1" 137 | dependencies: 138 | "@types/node" "*" 139 | 140 | "@types/proxyquire@^1.3.28": 141 | version "1.3.28" 142 | resolved "https://registry.yarnpkg.com/@types/proxyquire/-/proxyquire-1.3.28.tgz#05a647bb0d8fe48fc8edcc193e43cc79310faa7d" 143 | 144 | "@types/reconnectingwebsocket@^1.0.1": 145 | version "1.0.1" 146 | resolved "https://registry.yarnpkg.com/@types/reconnectingwebsocket/-/reconnectingwebsocket-1.0.1.tgz#56c6f19136ba265c16e7b2dc1bfbb97960a869d5" 147 | 148 | "@types/serve-static@*": 149 | version "1.13.1" 150 | resolved "https://registry.yarnpkg.com/@types/serve-static/-/serve-static-1.13.1.tgz#1d2801fa635d274cd97d4ec07e26b21b44127492" 151 | dependencies: 152 | "@types/express-serve-static-core" "*" 153 | "@types/mime" "*" 154 | 155 | "@types/superagent@^3.5.5", "@types/superagent@^3.5.6": 156 | version "3.5.6" 157 | resolved "https://registry.yarnpkg.com/@types/superagent/-/superagent-3.5.6.tgz#9cf2632c075ba9e601f6a610aadc23992d02394c" 158 | dependencies: 159 | "@types/node" "*" 160 | 161 | "@types/tmp@0.0.33": 162 | version "0.0.33" 163 | resolved "https://registry.yarnpkg.com/@types/tmp/-/tmp-0.0.33.tgz#1073c4bc824754ae3d10cfab88ab0237ba964e4d" 164 | 165 | "@types/urijs@^1.15.34": 166 | version "1.15.34" 167 | resolved "https://registry.yarnpkg.com/@types/urijs/-/urijs-1.15.34.tgz#b9d5954e9beaabb6fc48c2127d8df15ac6393256" 168 | dependencies: 169 | "@types/jquery" "*" 170 | 171 | "@types/uuid@^3.4.0": 172 | version "3.4.3" 173 | resolved "https://registry.yarnpkg.com/@types/uuid/-/uuid-3.4.3.tgz#121ace265f5569ce40f4f6d0ff78a338c732a754" 174 | dependencies: 175 | "@types/node" "*" 176 | 177 | "@types/uws@^0.13.0": 178 | version "0.13.0" 179 | resolved "https://registry.yarnpkg.com/@types/uws/-/uws-0.13.0.tgz#657efe67ae34e417d903ce813a86ec09cd68cbee" 180 | dependencies: 181 | "@types/node" "*" 182 | 183 | "@types/zen-observable@0.5.3", "@types/zen-observable@^0.5.3": 184 | version "0.5.3" 185 | resolved "https://registry.yarnpkg.com/@types/zen-observable/-/zen-observable-0.5.3.tgz#91b728599544efbb7386d8b6633693a3c2e7ade5" 186 | 187 | JSONStream@1.3.1: 188 | version "1.3.1" 189 | resolved "https://registry.yarnpkg.com/JSONStream/-/JSONStream-1.3.1.tgz#707f761e01dae9e16f1bcf93703b78c70966579a" 190 | dependencies: 191 | jsonparse "^1.2.0" 192 | through ">=2.2.7 <3" 193 | 194 | abbrev@1: 195 | version "1.1.1" 196 | resolved "https://registry.yarnpkg.com/abbrev/-/abbrev-1.1.1.tgz#f8f2c887ad10bf67f634f005b6987fed3179aac8" 197 | 198 | accepts@~1.3.3: 199 | version "1.3.4" 200 | resolved "https://registry.yarnpkg.com/accepts/-/accepts-1.3.4.tgz#86246758c7dd6d21a6474ff084a4740ec05eb21f" 201 | dependencies: 202 | mime-types "~2.1.16" 203 | negotiator "0.6.1" 204 | 205 | agent-base@2: 206 | version "2.1.1" 207 | resolved "https://registry.yarnpkg.com/agent-base/-/agent-base-2.1.1.tgz#d6de10d5af6132d5bd692427d46fc538539094c7" 208 | dependencies: 209 | extend "~3.0.0" 210 | semver "~5.0.1" 211 | 212 | ajv@^4.9.1: 213 | version "4.11.8" 214 | resolved "https://registry.yarnpkg.com/ajv/-/ajv-4.11.8.tgz#82ffb02b29e662ae53bdc20af15947706739c536" 215 | dependencies: 216 | co "^4.6.0" 217 | json-stable-stringify "^1.0.1" 218 | 219 | ajv@^5.1.0: 220 | version "5.5.1" 221 | resolved "https://registry.yarnpkg.com/ajv/-/ajv-5.5.1.tgz#b38bb8876d9e86bee994956a04e721e88b248eb2" 222 | dependencies: 223 | co "^4.6.0" 224 | fast-deep-equal "^1.0.0" 225 | fast-json-stable-stringify "^2.0.0" 226 | json-schema-traverse "^0.3.0" 227 | 228 | ansi-escapes@^1.0.0: 229 | version "1.4.0" 230 | resolved "https://registry.yarnpkg.com/ansi-escapes/-/ansi-escapes-1.4.0.tgz#d3a8a83b319aa67793662b13e761c7911422306e" 231 | 232 | ansi-regex@^2.0.0: 233 | version "2.1.1" 234 | resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-2.1.1.tgz#c3b33ab5ee360d86e0e628f0468ae7ef27d654df" 235 | 236 | ansi-regex@^3.0.0: 237 | version "3.0.0" 238 | resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-3.0.0.tgz#ed0317c322064f79466c02966bddb605ab37d998" 239 | 240 | ansi-styles@^2.2.1: 241 | version "2.2.1" 242 | resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-2.2.1.tgz#b432dd3358b634cf75e1e4664368240533c1ddbe" 243 | 244 | ansi-styles@^3.1.0, ansi-styles@^3.2.0: 245 | version "3.2.0" 246 | resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-3.2.0.tgz#c159b8d5be0f9e5a6f346dab94f16ce022161b88" 247 | dependencies: 248 | color-convert "^1.9.0" 249 | 250 | any-observable@^0.2.0: 251 | version "0.2.0" 252 | resolved "https://registry.yarnpkg.com/any-observable/-/any-observable-0.2.0.tgz#c67870058003579009083f54ac0abafb5c33d242" 253 | 254 | apollo-cache-control@^0.0.x: 255 | version "0.0.7" 256 | resolved "https://registry.yarnpkg.com/apollo-cache-control/-/apollo-cache-control-0.0.7.tgz#ffef56413a429a1ce204be5b78d248c4fe3b67ac" 257 | dependencies: 258 | graphql-extensions "^0.0.x" 259 | 260 | apollo-link@^1.0.3: 261 | version "1.0.5" 262 | resolved "https://registry.yarnpkg.com/apollo-link/-/apollo-link-1.0.5.tgz#7ce058b61cb2f5071496968ef82499c202211d10" 263 | dependencies: 264 | "@types/zen-observable" "0.5.3" 265 | apollo-utilities "^1.0.0" 266 | zen-observable "^0.6.0" 267 | 268 | apollo-server-core@^1.2.0: 269 | version "1.2.0" 270 | resolved "https://registry.yarnpkg.com/apollo-server-core/-/apollo-server-core-1.2.0.tgz#e851c47444991b6f89f88529237076b83e01e8ee" 271 | dependencies: 272 | apollo-cache-control "^0.0.x" 273 | apollo-tracing "^0.1.0" 274 | graphql-extensions "^0.0.x" 275 | 276 | apollo-server-express@^1.2.0: 277 | version "1.2.0" 278 | resolved "https://registry.yarnpkg.com/apollo-server-express/-/apollo-server-express-1.2.0.tgz#026b12b453b8ecac6044b205b6a85fe596fb5f9e" 279 | dependencies: 280 | apollo-server-core "^1.2.0" 281 | apollo-server-module-graphiql "^1.2.0" 282 | 283 | apollo-server-module-graphiql@^1.2.0: 284 | version "1.2.0" 285 | resolved "https://registry.yarnpkg.com/apollo-server-module-graphiql/-/apollo-server-module-graphiql-1.2.0.tgz#899d84f3b747795dbbfc8354aa51622ef038151c" 286 | 287 | apollo-tracing@^0.1.0: 288 | version "0.1.1" 289 | resolved "https://registry.yarnpkg.com/apollo-tracing/-/apollo-tracing-0.1.1.tgz#7a5707543fc102f81cda7ba45b98331a82a6750b" 290 | dependencies: 291 | graphql-extensions "^0.0.x" 292 | 293 | apollo-utilities@^1.0.0, apollo-utilities@^1.0.1: 294 | version "1.0.3" 295 | resolved "https://registry.yarnpkg.com/apollo-utilities/-/apollo-utilities-1.0.3.tgz#bf435277609850dd442cf1d5c2e8bc6655eaa943" 296 | 297 | app-root-path@^2.0.0: 298 | version "2.0.1" 299 | resolved "https://registry.yarnpkg.com/app-root-path/-/app-root-path-2.0.1.tgz#cd62dcf8e4fd5a417efc664d2e5b10653c651b46" 300 | 301 | aproba@^1.0.3: 302 | version "1.2.0" 303 | resolved "https://registry.yarnpkg.com/aproba/-/aproba-1.2.0.tgz#6802e6264efd18c790a1b0d517f0f2627bf2c94a" 304 | 305 | are-we-there-yet@~1.1.2: 306 | version "1.1.4" 307 | resolved "https://registry.yarnpkg.com/are-we-there-yet/-/are-we-there-yet-1.1.4.tgz#bb5dca382bb94f05e15194373d16fd3ba1ca110d" 308 | dependencies: 309 | delegates "^1.0.0" 310 | readable-stream "^2.0.6" 311 | 312 | argparse@^1.0.7: 313 | version "1.0.9" 314 | resolved "https://registry.yarnpkg.com/argparse/-/argparse-1.0.9.tgz#73d83bc263f86e97f8cc4f6bae1b0e90a7d22c86" 315 | dependencies: 316 | sprintf-js "~1.0.2" 317 | 318 | array-back@^1.0.3, array-back@^1.0.4: 319 | version "1.0.4" 320 | resolved "https://registry.yarnpkg.com/array-back/-/array-back-1.0.4.tgz#644ba7f095f7ffcf7c43b5f0dc39d3c1f03c063b" 321 | dependencies: 322 | typical "^2.6.0" 323 | 324 | array-back@^2.0.0: 325 | version "2.0.0" 326 | resolved "https://registry.yarnpkg.com/array-back/-/array-back-2.0.0.tgz#6877471d51ecc9c9bfa6136fb6c7d5fe69748022" 327 | dependencies: 328 | typical "^2.6.1" 329 | 330 | array-flatten@1.1.1: 331 | version "1.1.1" 332 | resolved "https://registry.yarnpkg.com/array-flatten/-/array-flatten-1.1.1.tgz#9a5f699051b1e7073328f2a008968b64ea2955d2" 333 | 334 | array-union@^1.0.1: 335 | version "1.0.2" 336 | resolved "https://registry.yarnpkg.com/array-union/-/array-union-1.0.2.tgz#9a34410e4f4e3da23dea375be5be70f24778ec39" 337 | dependencies: 338 | array-uniq "^1.0.1" 339 | 340 | array-uniq@^1.0.1: 341 | version "1.0.3" 342 | resolved "https://registry.yarnpkg.com/array-uniq/-/array-uniq-1.0.3.tgz#af6ac877a25cc7f74e058894753858dfdb24fdb6" 343 | 344 | arrify@^1.0.0: 345 | version "1.0.1" 346 | resolved "https://registry.yarnpkg.com/arrify/-/arrify-1.0.1.tgz#898508da2226f380df904728456849c1501a4b0d" 347 | 348 | asap@~2.0.3: 349 | version "2.0.6" 350 | resolved "https://registry.yarnpkg.com/asap/-/asap-2.0.6.tgz#e50347611d7e690943208bbdafebcbc2fb866d46" 351 | 352 | asn1@0.2.3, asn1@~0.2.3: 353 | version "0.2.3" 354 | resolved "https://registry.yarnpkg.com/asn1/-/asn1-0.2.3.tgz#dac8787713c9966849fc8180777ebe9c1ddf3b86" 355 | 356 | assert-plus@1.0.0, assert-plus@^1.0.0: 357 | version "1.0.0" 358 | resolved "https://registry.yarnpkg.com/assert-plus/-/assert-plus-1.0.0.tgz#f12e0f3c5d77b0b1cdd9146942e4e96c1e4dd525" 359 | 360 | assert-plus@^0.2.0: 361 | version "0.2.0" 362 | resolved "https://registry.yarnpkg.com/assert-plus/-/assert-plus-0.2.0.tgz#d74e1b87e7affc0db8aadb7021f3fe48101ab234" 363 | 364 | assertion-error@^1.0.1: 365 | version "1.0.2" 366 | resolved "https://registry.yarnpkg.com/assertion-error/-/assertion-error-1.0.2.tgz#13ca515d86206da0bac66e834dd397d87581094c" 367 | 368 | async-limiter@~1.0.0: 369 | version "1.0.0" 370 | resolved "https://registry.yarnpkg.com/async-limiter/-/async-limiter-1.0.0.tgz#78faed8c3d074ab81f22b4e985d79e8738f720f8" 371 | 372 | async@~1.0.0: 373 | version "1.0.0" 374 | resolved "https://registry.yarnpkg.com/async/-/async-1.0.0.tgz#f8fc04ca3a13784ade9e1641af98578cfbd647a9" 375 | 376 | asynckit@^0.4.0: 377 | version "0.4.0" 378 | resolved "https://registry.yarnpkg.com/asynckit/-/asynckit-0.4.0.tgz#c79ed97f7f34cb8f2ba1bc9790bcc366474b4b79" 379 | 380 | aws-sign2@~0.6.0: 381 | version "0.6.0" 382 | resolved "https://registry.yarnpkg.com/aws-sign2/-/aws-sign2-0.6.0.tgz#14342dd38dbcc94d0e5b87d763cd63612c0e794f" 383 | 384 | aws-sign2@~0.7.0: 385 | version "0.7.0" 386 | resolved "https://registry.yarnpkg.com/aws-sign2/-/aws-sign2-0.7.0.tgz#b46e890934a9591f2d2f6f86d7e6a9f1b3fe76a8" 387 | 388 | aws4@^1.2.1, aws4@^1.6.0: 389 | version "1.6.0" 390 | resolved "https://registry.yarnpkg.com/aws4/-/aws4-1.6.0.tgz#83ef5ca860b2b32e4a0deedee8c771b9db57471e" 391 | 392 | babel-code-frame@^6.22.0: 393 | version "6.26.0" 394 | resolved "https://registry.yarnpkg.com/babel-code-frame/-/babel-code-frame-6.26.0.tgz#63fd43f7dc1e3bb7ce35947db8fe369a3f58c74b" 395 | dependencies: 396 | chalk "^1.1.3" 397 | esutils "^2.0.2" 398 | js-tokens "^3.0.2" 399 | 400 | backo2@^1.0.2: 401 | version "1.0.2" 402 | resolved "https://registry.yarnpkg.com/backo2/-/backo2-1.0.2.tgz#31ab1ac8b129363463e35b3ebb69f4dfcfba7947" 403 | 404 | balanced-match@^1.0.0: 405 | version "1.0.0" 406 | resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-1.0.0.tgz#89b4d199ab2bee49de164ea02b89ce462d71b767" 407 | 408 | base64-js@0.0.8: 409 | version "0.0.8" 410 | resolved "https://registry.yarnpkg.com/base64-js/-/base64-js-0.0.8.tgz#1101e9544f4a76b1bc3b26d452ca96d7a35e7978" 411 | 412 | base64url@2.0.0, base64url@^2.0.0: 413 | version "2.0.0" 414 | resolved "https://registry.yarnpkg.com/base64url/-/base64url-2.0.0.tgz#eac16e03ea1438eff9423d69baa36262ed1f70bb" 415 | 416 | basic-auth@~2.0.0: 417 | version "2.0.0" 418 | resolved "https://registry.yarnpkg.com/basic-auth/-/basic-auth-2.0.0.tgz#015db3f353e02e56377755f962742e8981e7bbba" 419 | dependencies: 420 | safe-buffer "5.1.1" 421 | 422 | bcrypt-pbkdf@^1.0.0: 423 | version "1.0.1" 424 | resolved "https://registry.yarnpkg.com/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.1.tgz#63bc5dcb61331b92bc05fd528953c33462a06f8d" 425 | dependencies: 426 | tweetnacl "^0.14.3" 427 | 428 | bcrypt@^1.0.2: 429 | version "1.0.3" 430 | resolved "https://registry.yarnpkg.com/bcrypt/-/bcrypt-1.0.3.tgz#b02ddc6c0b52ea16b8d3cf375d5a32e780dab548" 431 | dependencies: 432 | nan "2.6.2" 433 | node-pre-gyp "0.6.36" 434 | 435 | bl@^1.0.0: 436 | version "1.2.1" 437 | resolved "https://registry.yarnpkg.com/bl/-/bl-1.2.1.tgz#cac328f7bee45730d404b692203fcb590e172d5e" 438 | dependencies: 439 | readable-stream "^2.0.5" 440 | 441 | block-stream@*: 442 | version "0.0.9" 443 | resolved "https://registry.yarnpkg.com/block-stream/-/block-stream-0.0.9.tgz#13ebfe778a03205cfe03751481ebb4b3300c126a" 444 | dependencies: 445 | inherits "~2.0.0" 446 | 447 | body-parser@^1.17.2: 448 | version "1.18.2" 449 | resolved "https://registry.yarnpkg.com/body-parser/-/body-parser-1.18.2.tgz#87678a19d84b47d859b83199bd59bce222b10454" 450 | dependencies: 451 | bytes "3.0.0" 452 | content-type "~1.0.4" 453 | debug "2.6.9" 454 | depd "~1.1.1" 455 | http-errors "~1.6.2" 456 | iconv-lite "0.4.19" 457 | on-finished "~2.3.0" 458 | qs "6.5.1" 459 | raw-body "2.3.2" 460 | type-is "~1.6.15" 461 | 462 | boom@2.x.x: 463 | version "2.10.1" 464 | resolved "https://registry.yarnpkg.com/boom/-/boom-2.10.1.tgz#39c8918ceff5799f83f9492a848f625add0c766f" 465 | dependencies: 466 | hoek "2.x.x" 467 | 468 | boom@4.x.x: 469 | version "4.3.1" 470 | resolved "https://registry.yarnpkg.com/boom/-/boom-4.3.1.tgz#4f8a3005cb4a7e3889f749030fd25b96e01d2e31" 471 | dependencies: 472 | hoek "4.x.x" 473 | 474 | boom@5.x.x: 475 | version "5.2.0" 476 | resolved "https://registry.yarnpkg.com/boom/-/boom-5.2.0.tgz#5dd9da6ee3a5f302077436290cb717d3f4a54e02" 477 | dependencies: 478 | hoek "4.x.x" 479 | 480 | brace-expansion@^1.1.7: 481 | version "1.1.8" 482 | resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-1.1.8.tgz#c07b211c7c952ec1f8efd51a77ef0d1d3990a292" 483 | dependencies: 484 | balanced-match "^1.0.0" 485 | concat-map "0.0.1" 486 | 487 | browser-stdout@1.3.0: 488 | version "1.3.0" 489 | resolved "https://registry.yarnpkg.com/browser-stdout/-/browser-stdout-1.3.0.tgz#f351d32969d32fa5d7a5567154263d928ae3bd1f" 490 | 491 | buffer-crc32@~0.2.3: 492 | version "0.2.13" 493 | resolved "https://registry.yarnpkg.com/buffer-crc32/-/buffer-crc32-0.2.13.tgz#0d333e3f00eac50aa1454abd30ef8c2a5d9a7242" 494 | 495 | buffer-equal-constant-time@1.0.1: 496 | version "1.0.1" 497 | resolved "https://registry.yarnpkg.com/buffer-equal-constant-time/-/buffer-equal-constant-time-1.0.1.tgz#f8e71132f7ffe6e01a5c9697a4c6f3e48d5cc819" 498 | 499 | buffer@^3.0.1: 500 | version "3.6.0" 501 | resolved "https://registry.yarnpkg.com/buffer/-/buffer-3.6.0.tgz#a72c936f77b96bf52f5f7e7b467180628551defb" 502 | dependencies: 503 | base64-js "0.0.8" 504 | ieee754 "^1.1.4" 505 | isarray "^1.0.0" 506 | 507 | builtin-modules@^1.1.1: 508 | version "1.1.1" 509 | resolved "https://registry.yarnpkg.com/builtin-modules/-/builtin-modules-1.1.1.tgz#270f076c5a72c02f5b65a47df94c5fe3a278892f" 510 | 511 | bytes@3.0.0: 512 | version "3.0.0" 513 | resolved "https://registry.yarnpkg.com/bytes/-/bytes-3.0.0.tgz#d32815404d689699f85a4ea4fa8755dd13a96048" 514 | 515 | caseless@~0.11.0: 516 | version "0.11.0" 517 | resolved "https://registry.yarnpkg.com/caseless/-/caseless-0.11.0.tgz#715b96ea9841593cc33067923f5ec60ebda4f7d7" 518 | 519 | caseless@~0.12.0: 520 | version "0.12.0" 521 | resolved "https://registry.yarnpkg.com/caseless/-/caseless-0.12.0.tgz#1b681c21ff84033c826543090689420d187151dc" 522 | 523 | chai@^4.1.2: 524 | version "4.1.2" 525 | resolved "https://registry.yarnpkg.com/chai/-/chai-4.1.2.tgz#0f64584ba642f0f2ace2806279f4f06ca23ad73c" 526 | dependencies: 527 | assertion-error "^1.0.1" 528 | check-error "^1.0.1" 529 | deep-eql "^3.0.0" 530 | get-func-name "^2.0.0" 531 | pathval "^1.0.0" 532 | type-detect "^4.0.0" 533 | 534 | chalk@^1.0.0, chalk@^1.1.1, chalk@^1.1.3: 535 | version "1.1.3" 536 | resolved "https://registry.yarnpkg.com/chalk/-/chalk-1.1.3.tgz#a8115c55e4a702fe4d150abd3872822a7e09fc98" 537 | dependencies: 538 | ansi-styles "^2.2.1" 539 | escape-string-regexp "^1.0.2" 540 | has-ansi "^2.0.0" 541 | strip-ansi "^3.0.0" 542 | supports-color "^2.0.0" 543 | 544 | chalk@^2.0.0, chalk@^2.0.1, chalk@^2.1.0: 545 | version "2.3.0" 546 | resolved "https://registry.yarnpkg.com/chalk/-/chalk-2.3.0.tgz#b5ea48efc9c1793dccc9b4767c93914d3f2d52ba" 547 | dependencies: 548 | ansi-styles "^3.1.0" 549 | escape-string-regexp "^1.0.5" 550 | supports-color "^4.0.0" 551 | 552 | check-error@^1.0.1: 553 | version "1.0.2" 554 | resolved "https://registry.yarnpkg.com/check-error/-/check-error-1.0.2.tgz#574d312edd88bb5dd8912e9286dd6c0aed4aac82" 555 | 556 | ci-info@^1.0.0: 557 | version "1.1.2" 558 | resolved "https://registry.yarnpkg.com/ci-info/-/ci-info-1.1.2.tgz#03561259db48d0474c8bdc90f5b47b068b6bbfb4" 559 | 560 | circular-buffer@^1.0.2: 561 | version "1.0.2" 562 | resolved "https://registry.yarnpkg.com/circular-buffer/-/circular-buffer-1.0.2.tgz#fa0e152ed629f76fe24ddf89e72ebd00786c5a6e" 563 | 564 | cli-cursor@^1.0.2: 565 | version "1.0.2" 566 | resolved "https://registry.yarnpkg.com/cli-cursor/-/cli-cursor-1.0.2.tgz#64da3f7d56a54412e59794bd62dc35295e8f2987" 567 | dependencies: 568 | restore-cursor "^1.0.1" 569 | 570 | cli-spinner@^0.2.7: 571 | version "0.2.7" 572 | resolved "https://registry.yarnpkg.com/cli-spinner/-/cli-spinner-0.2.7.tgz#7f7868a6f52ed5a621d5169ced428b61847a97c7" 573 | 574 | cli-spinners@^0.1.2: 575 | version "0.1.2" 576 | resolved "https://registry.yarnpkg.com/cli-spinners/-/cli-spinners-0.1.2.tgz#bb764d88e185fb9e1e6a2a1f19772318f605e31c" 577 | 578 | cli-truncate@^0.2.1: 579 | version "0.2.1" 580 | resolved "https://registry.yarnpkg.com/cli-truncate/-/cli-truncate-0.2.1.tgz#9f15cfbb0705005369216c626ac7d05ab90dd574" 581 | dependencies: 582 | slice-ansi "0.0.4" 583 | string-width "^1.0.1" 584 | 585 | co@^4.6.0: 586 | version "4.6.0" 587 | resolved "https://registry.yarnpkg.com/co/-/co-4.6.0.tgz#6ea6bdf3d853ae54ccb8e47bfa0bf3f9031fb184" 588 | 589 | code-point-at@^1.0.0: 590 | version "1.1.0" 591 | resolved "https://registry.yarnpkg.com/code-point-at/-/code-point-at-1.1.0.tgz#0d070b4d043a5bea33a2f1a40e2edb3d9a4ccf77" 592 | 593 | color-convert@^1.9.0: 594 | version "1.9.1" 595 | resolved "https://registry.yarnpkg.com/color-convert/-/color-convert-1.9.1.tgz#c1261107aeb2f294ebffec9ed9ecad529a6097ed" 596 | dependencies: 597 | color-name "^1.1.1" 598 | 599 | color-name@^1.1.1: 600 | version "1.1.3" 601 | resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.3.tgz#a7d0558bd89c42f795dd42328f740831ca53bc25" 602 | 603 | colors@1.0.x: 604 | version "1.0.3" 605 | resolved "https://registry.yarnpkg.com/colors/-/colors-1.0.3.tgz#0433f44d809680fdeb60ed260f1b0c262e82a40b" 606 | 607 | colors@^1.1.2: 608 | version "1.1.2" 609 | resolved "https://registry.yarnpkg.com/colors/-/colors-1.1.2.tgz#168a4701756b6a7f51a12ce0c97bfa28c084ed63" 610 | 611 | combined-stream@^1.0.5, combined-stream@~1.0.5: 612 | version "1.0.5" 613 | resolved "https://registry.yarnpkg.com/combined-stream/-/combined-stream-1.0.5.tgz#938370a57b4a51dea2c77c15d5c5fdf895164009" 614 | dependencies: 615 | delayed-stream "~1.0.0" 616 | 617 | command-line-args@^4.0.6: 618 | version "4.0.7" 619 | resolved "https://registry.yarnpkg.com/command-line-args/-/command-line-args-4.0.7.tgz#f8d1916ecb90e9e121eda6428e41300bfb64cc46" 620 | dependencies: 621 | array-back "^2.0.0" 622 | find-replace "^1.0.3" 623 | typical "^2.6.1" 624 | 625 | commander@*, commander@^2.11.0, commander@^2.9.0: 626 | version "2.12.2" 627 | resolved "https://registry.yarnpkg.com/commander/-/commander-2.12.2.tgz#0f5946c427ed9ec0d91a46bb9def53e54650e555" 628 | 629 | commander@2.11.0: 630 | version "2.11.0" 631 | resolved "https://registry.yarnpkg.com/commander/-/commander-2.11.0.tgz#157152fd1e7a6c8d98a5b715cf376df928004563" 632 | 633 | commander@~2.8.1: 634 | version "2.8.1" 635 | resolved "https://registry.yarnpkg.com/commander/-/commander-2.8.1.tgz#06be367febfda0c330aa1e2a072d3dc9762425d4" 636 | dependencies: 637 | graceful-readlink ">= 1.0.0" 638 | 639 | component-emitter@^1.2.0: 640 | version "1.2.1" 641 | resolved "https://registry.yarnpkg.com/component-emitter/-/component-emitter-1.2.1.tgz#137918d6d78283f7df7a6b7c5a63e140e69425e6" 642 | 643 | concat-map@0.0.1: 644 | version "0.0.1" 645 | resolved "https://registry.yarnpkg.com/concat-map/-/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b" 646 | 647 | concat-stream@1.6.0, concat-stream@^1.4.6, concat-stream@^1.4.7: 648 | version "1.6.0" 649 | resolved "https://registry.yarnpkg.com/concat-stream/-/concat-stream-1.6.0.tgz#0aac662fd52be78964d5532f694784e70110acf7" 650 | dependencies: 651 | inherits "^2.0.3" 652 | readable-stream "^2.2.2" 653 | typedarray "^0.0.6" 654 | 655 | console-control-strings@^1.0.0, console-control-strings@~1.1.0: 656 | version "1.1.0" 657 | resolved "https://registry.yarnpkg.com/console-control-strings/-/console-control-strings-1.1.0.tgz#3d7cf4464db6446ea644bf4b39507f9851008e8e" 658 | 659 | content-disposition@0.5.2: 660 | version "0.5.2" 661 | resolved "https://registry.yarnpkg.com/content-disposition/-/content-disposition-0.5.2.tgz#0cf68bb9ddf5f2be7961c3a85178cb85dba78cb4" 662 | 663 | content-type@~1.0.2, content-type@~1.0.4: 664 | version "1.0.4" 665 | resolved "https://registry.yarnpkg.com/content-type/-/content-type-1.0.4.tgz#e138cc75e040c727b1966fe5e5f8c9aee256fe3b" 666 | 667 | cookie-signature@1.0.6: 668 | version "1.0.6" 669 | resolved "https://registry.yarnpkg.com/cookie-signature/-/cookie-signature-1.0.6.tgz#e303a882b342cc3ee8ca513a79999734dab3ae2c" 670 | 671 | cookie@0.3.1: 672 | version "0.3.1" 673 | resolved "https://registry.yarnpkg.com/cookie/-/cookie-0.3.1.tgz#e7e0a1f9ef43b4c8ba925c5c5a96e806d16873bb" 674 | 675 | cookiejar@^2.1.0: 676 | version "2.1.1" 677 | resolved "https://registry.yarnpkg.com/cookiejar/-/cookiejar-2.1.1.tgz#41ad57b1b555951ec171412a81942b1e8200d34a" 678 | 679 | core-js@^1.0.0: 680 | version "1.2.7" 681 | resolved "https://registry.yarnpkg.com/core-js/-/core-js-1.2.7.tgz#652294c14651db28fa93bd2d5ff2983a4f08c636" 682 | 683 | core-js@^2.5.1: 684 | version "2.5.1" 685 | resolved "https://registry.yarnpkg.com/core-js/-/core-js-2.5.1.tgz#ae6874dc66937789b80754ff5428df66819ca50b" 686 | 687 | core-util-is@1.0.2, core-util-is@~1.0.0: 688 | version "1.0.2" 689 | resolved "https://registry.yarnpkg.com/core-util-is/-/core-util-is-1.0.2.tgz#b5fd54220aa2bc5ab57aab7140c940754503c1a7" 690 | 691 | cosmiconfig@^3.1.0: 692 | version "3.1.0" 693 | resolved "https://registry.yarnpkg.com/cosmiconfig/-/cosmiconfig-3.1.0.tgz#640a94bf9847f321800403cd273af60665c73397" 694 | dependencies: 695 | is-directory "^0.3.1" 696 | js-yaml "^3.9.0" 697 | parse-json "^3.0.0" 698 | require-from-string "^2.0.1" 699 | 700 | cross-spawn@^5.0.1: 701 | version "5.1.0" 702 | resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-5.1.0.tgz#e8bd0efee58fcff6f8f94510a0a554bbfa235449" 703 | dependencies: 704 | lru-cache "^4.0.1" 705 | shebang-command "^1.2.0" 706 | which "^1.2.9" 707 | 708 | cryptiles@2.x.x: 709 | version "2.0.5" 710 | resolved "https://registry.yarnpkg.com/cryptiles/-/cryptiles-2.0.5.tgz#3bdfecdc608147c1c67202fa291e7dca59eaa3b8" 711 | dependencies: 712 | boom "2.x.x" 713 | 714 | cryptiles@3.x.x: 715 | version "3.1.2" 716 | resolved "https://registry.yarnpkg.com/cryptiles/-/cryptiles-3.1.2.tgz#a89fbb220f5ce25ec56e8c4aa8a4fd7b5b0d29fe" 717 | dependencies: 718 | boom "5.x.x" 719 | 720 | cycle@1.0.x: 721 | version "1.0.3" 722 | resolved "https://registry.yarnpkg.com/cycle/-/cycle-1.0.3.tgz#21e80b2be8580f98b468f379430662b046c34ad2" 723 | 724 | dashdash@^1.12.0: 725 | version "1.14.1" 726 | resolved "https://registry.yarnpkg.com/dashdash/-/dashdash-1.14.1.tgz#853cfa0f7cbe2fed5de20326b8dd581035f6e2f0" 727 | dependencies: 728 | assert-plus "^1.0.0" 729 | 730 | date-fns@^1.27.2: 731 | version "1.29.0" 732 | resolved "https://registry.yarnpkg.com/date-fns/-/date-fns-1.29.0.tgz#12e609cdcb935127311d04d33334e2960a2a54e6" 733 | 734 | debug@2, debug@2.6.9, debug@^2.2.0: 735 | version "2.6.9" 736 | resolved "https://registry.yarnpkg.com/debug/-/debug-2.6.9.tgz#5d128515df134ff327e90a4c93f4e077a536341f" 737 | dependencies: 738 | ms "2.0.0" 739 | 740 | debug@2.6.7: 741 | version "2.6.7" 742 | resolved "https://registry.yarnpkg.com/debug/-/debug-2.6.7.tgz#92bad1f6d05bbb6bba22cca88bcd0ec894c2861e" 743 | dependencies: 744 | ms "2.0.0" 745 | 746 | debug@3.1.0, debug@^3.1.0: 747 | version "3.1.0" 748 | resolved "https://registry.yarnpkg.com/debug/-/debug-3.1.0.tgz#5bb5a0672628b64149566ba16819e61518c67261" 749 | dependencies: 750 | ms "2.0.0" 751 | 752 | decompress-tar@^4.0.0, decompress-tar@^4.1.0, decompress-tar@^4.1.1: 753 | version "4.1.1" 754 | resolved "https://registry.yarnpkg.com/decompress-tar/-/decompress-tar-4.1.1.tgz#718cbd3fcb16209716e70a26b84e7ba4592e5af1" 755 | dependencies: 756 | file-type "^5.2.0" 757 | is-stream "^1.1.0" 758 | tar-stream "^1.5.2" 759 | 760 | decompress-tarbz2@^4.0.0: 761 | version "4.1.1" 762 | resolved "https://registry.yarnpkg.com/decompress-tarbz2/-/decompress-tarbz2-4.1.1.tgz#3082a5b880ea4043816349f378b56c516be1a39b" 763 | dependencies: 764 | decompress-tar "^4.1.0" 765 | file-type "^6.1.0" 766 | is-stream "^1.1.0" 767 | seek-bzip "^1.0.5" 768 | unbzip2-stream "^1.0.9" 769 | 770 | decompress-targz@^4.0.0: 771 | version "4.1.1" 772 | resolved "https://registry.yarnpkg.com/decompress-targz/-/decompress-targz-4.1.1.tgz#c09bc35c4d11f3de09f2d2da53e9de23e7ce1eee" 773 | dependencies: 774 | decompress-tar "^4.1.1" 775 | file-type "^5.2.0" 776 | is-stream "^1.1.0" 777 | 778 | decompress-tarxz@^2.1.1: 779 | version "2.1.1" 780 | resolved "https://registry.yarnpkg.com/decompress-tarxz/-/decompress-tarxz-2.1.1.tgz#1c657dc69322a5a0bac8431f2574a77e5884d3f5" 781 | dependencies: 782 | decompress-tar "^4.1.0" 783 | file-type "^3.8.0" 784 | is-stream "^1.1.0" 785 | lzma-native "^3.0.1" 786 | 787 | decompress-unzip@^4.0.1: 788 | version "4.0.1" 789 | resolved "https://registry.yarnpkg.com/decompress-unzip/-/decompress-unzip-4.0.1.tgz#deaaccdfd14aeaf85578f733ae8210f9b4848f69" 790 | dependencies: 791 | file-type "^3.8.0" 792 | get-stream "^2.2.0" 793 | pify "^2.3.0" 794 | yauzl "^2.4.2" 795 | 796 | decompress@^4.2.0: 797 | version "4.2.0" 798 | resolved "https://registry.yarnpkg.com/decompress/-/decompress-4.2.0.tgz#7aedd85427e5a92dacfe55674a7c505e96d01f9d" 799 | dependencies: 800 | decompress-tar "^4.0.0" 801 | decompress-tarbz2 "^4.0.0" 802 | decompress-targz "^4.0.0" 803 | decompress-unzip "^4.0.1" 804 | graceful-fs "^4.1.10" 805 | make-dir "^1.0.0" 806 | pify "^2.3.0" 807 | strip-dirs "^2.0.0" 808 | 809 | dedent@^0.7.0: 810 | version "0.7.0" 811 | resolved "https://registry.yarnpkg.com/dedent/-/dedent-0.7.0.tgz#2495ddbaf6eb874abb0e1be9df22d2e5a544326c" 812 | 813 | deep-eql@^3.0.0: 814 | version "3.0.1" 815 | resolved "https://registry.yarnpkg.com/deep-eql/-/deep-eql-3.0.1.tgz#dfc9404400ad1c8fe023e7da1df1c147c4b444df" 816 | dependencies: 817 | type-detect "^4.0.0" 818 | 819 | deep-extend@~0.4.0: 820 | version "0.4.2" 821 | resolved "https://registry.yarnpkg.com/deep-extend/-/deep-extend-0.4.2.tgz#48b699c27e334bf89f10892be432f6e4c7d34a7f" 822 | 823 | del@^3.0.0: 824 | version "3.0.0" 825 | resolved "https://registry.yarnpkg.com/del/-/del-3.0.0.tgz#53ecf699ffcbcb39637691ab13baf160819766e5" 826 | dependencies: 827 | globby "^6.1.0" 828 | is-path-cwd "^1.0.0" 829 | is-path-in-cwd "^1.0.0" 830 | p-map "^1.1.1" 831 | pify "^3.0.0" 832 | rimraf "^2.2.8" 833 | 834 | delayed-stream@~1.0.0: 835 | version "1.0.0" 836 | resolved "https://registry.yarnpkg.com/delayed-stream/-/delayed-stream-1.0.0.tgz#df3ae199acadfb7d440aaae0b29e2272b24ec619" 837 | 838 | delegates@^1.0.0: 839 | version "1.0.0" 840 | resolved "https://registry.yarnpkg.com/delegates/-/delegates-1.0.0.tgz#84c6e159b81904fdca59a0ef44cd870d31250f9a" 841 | 842 | depd@1.1.1, depd@~1.1.0, depd@~1.1.1: 843 | version "1.1.1" 844 | resolved "https://registry.yarnpkg.com/depd/-/depd-1.1.1.tgz#5783b4e1c459f06fa5ca27f991f3d06e7a310359" 845 | 846 | deprecated-decorator@^0.1.6: 847 | version "0.1.6" 848 | resolved "https://registry.yarnpkg.com/deprecated-decorator/-/deprecated-decorator-0.1.6.tgz#00966317b7a12fe92f3cc831f7583af329b86c37" 849 | 850 | destroy@~1.0.4: 851 | version "1.0.4" 852 | resolved "https://registry.yarnpkg.com/destroy/-/destroy-1.0.4.tgz#978857442c44749e4206613e37946205826abd80" 853 | 854 | detect-libc@^1.0.2: 855 | version "1.0.3" 856 | resolved "https://registry.yarnpkg.com/detect-libc/-/detect-libc-1.0.3.tgz#fa137c4bd698edf55cd5cd02ac559f91a4c4ba9b" 857 | 858 | diff@3.3.1: 859 | version "3.3.1" 860 | resolved "https://registry.yarnpkg.com/diff/-/diff-3.3.1.tgz#aa8567a6eed03c531fc89d3f711cd0e5259dec75" 861 | 862 | diff@^3.1.0, diff@^3.2.0: 863 | version "3.4.0" 864 | resolved "https://registry.yarnpkg.com/diff/-/diff-3.4.0.tgz#b1d85507daf3964828de54b37d0d73ba67dda56c" 865 | 866 | doctrine@^0.7.2: 867 | version "0.7.2" 868 | resolved "https://registry.yarnpkg.com/doctrine/-/doctrine-0.7.2.tgz#7cb860359ba3be90e040b26b729ce4bfa654c523" 869 | dependencies: 870 | esutils "^1.1.6" 871 | isarray "0.0.1" 872 | 873 | ecc-jsbn@~0.1.1: 874 | version "0.1.1" 875 | resolved "https://registry.yarnpkg.com/ecc-jsbn/-/ecc-jsbn-0.1.1.tgz#0fc73a9ed5f0d53c38193398523ef7e543777505" 876 | dependencies: 877 | jsbn "~0.1.0" 878 | 879 | ecdsa-sig-formatter@1.0.9: 880 | version "1.0.9" 881 | resolved "https://registry.yarnpkg.com/ecdsa-sig-formatter/-/ecdsa-sig-formatter-1.0.9.tgz#4bc926274ec3b5abb5016e7e1d60921ac262b2a1" 882 | dependencies: 883 | base64url "^2.0.0" 884 | safe-buffer "^5.0.1" 885 | 886 | ee-first@1.1.1: 887 | version "1.1.1" 888 | resolved "https://registry.yarnpkg.com/ee-first/-/ee-first-1.1.1.tgz#590c61156b0ae2f4f0255732a158b266bc56b21d" 889 | 890 | elegant-spinner@^1.0.1: 891 | version "1.0.1" 892 | resolved "https://registry.yarnpkg.com/elegant-spinner/-/elegant-spinner-1.0.1.tgz#db043521c95d7e303fd8f345bedc3349cfb0729e" 893 | 894 | encodeurl@~1.0.1: 895 | version "1.0.1" 896 | resolved "https://registry.yarnpkg.com/encodeurl/-/encodeurl-1.0.1.tgz#79e3d58655346909fe6f0f45a5de68103b294d20" 897 | 898 | encoding@^0.1.11: 899 | version "0.1.12" 900 | resolved "https://registry.yarnpkg.com/encoding/-/encoding-0.1.12.tgz#538b66f3ee62cd1ab51ec323829d1f9480c74beb" 901 | dependencies: 902 | iconv-lite "~0.4.13" 903 | 904 | end-of-stream@^1.0.0: 905 | version "1.4.0" 906 | resolved "https://registry.yarnpkg.com/end-of-stream/-/end-of-stream-1.4.0.tgz#7a90d833efda6cfa6eac0f4949dbb0fad3a63206" 907 | dependencies: 908 | once "^1.4.0" 909 | 910 | error-ex@^1.3.1: 911 | version "1.3.1" 912 | resolved "https://registry.yarnpkg.com/error-ex/-/error-ex-1.3.1.tgz#f855a86ce61adc4e8621c3cda21e7a7612c3a8dc" 913 | dependencies: 914 | is-arrayish "^0.2.1" 915 | 916 | es6-promise@^4.1.1: 917 | version "4.1.1" 918 | resolved "https://registry.yarnpkg.com/es6-promise/-/es6-promise-4.1.1.tgz#8811e90915d9a0dba36274f0b242dbda78f9c92a" 919 | 920 | escape-html@~1.0.3: 921 | version "1.0.3" 922 | resolved "https://registry.yarnpkg.com/escape-html/-/escape-html-1.0.3.tgz#0258eae4d3d0c0974de1c169188ef0051d1d1988" 923 | 924 | escape-string-regexp@1.0.5, escape-string-regexp@^1.0.2, escape-string-regexp@^1.0.5: 925 | version "1.0.5" 926 | resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz#1b61c0562190a8dff6ae3bb2cf0200ca130b86d4" 927 | 928 | esprima@^4.0.0: 929 | version "4.0.0" 930 | resolved "https://registry.yarnpkg.com/esprima/-/esprima-4.0.0.tgz#4499eddcd1110e0b218bacf2fa7f7f59f55ca804" 931 | 932 | esutils@^1.1.6: 933 | version "1.1.6" 934 | resolved "https://registry.yarnpkg.com/esutils/-/esutils-1.1.6.tgz#c01ccaa9ae4b897c6d0c3e210ae52f3c7a844375" 935 | 936 | esutils@^2.0.2: 937 | version "2.0.2" 938 | resolved "https://registry.yarnpkg.com/esutils/-/esutils-2.0.2.tgz#0abf4f1caa5bcb1f7a9d8acc6dea4faaa04bac9b" 939 | 940 | etag@~1.8.0: 941 | version "1.8.1" 942 | resolved "https://registry.yarnpkg.com/etag/-/etag-1.8.1.tgz#41ae2eeb65efa62268aebfea83ac7d79299b0887" 943 | 944 | eventemitter3@1.x.x: 945 | version "1.2.0" 946 | resolved "https://registry.yarnpkg.com/eventemitter3/-/eventemitter3-1.2.0.tgz#1c86991d816ad1e504750e73874224ecf3bec508" 947 | 948 | eventemitter3@^2.0.3: 949 | version "2.0.3" 950 | resolved "https://registry.yarnpkg.com/eventemitter3/-/eventemitter3-2.0.3.tgz#b5e1079b59fb5e1ba2771c0a993be060a58c99ba" 951 | 952 | execa@^0.8.0: 953 | version "0.8.0" 954 | resolved "https://registry.yarnpkg.com/execa/-/execa-0.8.0.tgz#d8d76bbc1b55217ed190fd6dd49d3c774ecfc8da" 955 | dependencies: 956 | cross-spawn "^5.0.1" 957 | get-stream "^3.0.0" 958 | is-stream "^1.1.0" 959 | npm-run-path "^2.0.0" 960 | p-finally "^1.0.0" 961 | signal-exit "^3.0.0" 962 | strip-eof "^1.0.0" 963 | 964 | exit-hook@^1.0.0: 965 | version "1.1.1" 966 | resolved "https://registry.yarnpkg.com/exit-hook/-/exit-hook-1.1.1.tgz#f05ca233b48c05d54fff07765df8507e95c02ff8" 967 | 968 | express@^4.15.3: 969 | version "4.15.3" 970 | resolved "https://registry.yarnpkg.com/express/-/express-4.15.3.tgz#bab65d0f03aa80c358408972fc700f916944b662" 971 | dependencies: 972 | accepts "~1.3.3" 973 | array-flatten "1.1.1" 974 | content-disposition "0.5.2" 975 | content-type "~1.0.2" 976 | cookie "0.3.1" 977 | cookie-signature "1.0.6" 978 | debug "2.6.7" 979 | depd "~1.1.0" 980 | encodeurl "~1.0.1" 981 | escape-html "~1.0.3" 982 | etag "~1.8.0" 983 | finalhandler "~1.0.3" 984 | fresh "0.5.0" 985 | merge-descriptors "1.0.1" 986 | methods "~1.1.2" 987 | on-finished "~2.3.0" 988 | parseurl "~1.3.1" 989 | path-to-regexp "0.1.7" 990 | proxy-addr "~1.1.4" 991 | qs "6.4.0" 992 | range-parser "~1.2.0" 993 | send "0.15.3" 994 | serve-static "1.12.3" 995 | setprototypeof "1.0.3" 996 | statuses "~1.3.1" 997 | type-is "~1.6.15" 998 | utils-merge "1.0.0" 999 | vary "~1.1.1" 1000 | 1001 | extend@3, extend@^3.0.0, extend@~3.0.0, extend@~3.0.1: 1002 | version "3.0.1" 1003 | resolved "https://registry.yarnpkg.com/extend/-/extend-3.0.1.tgz#a755ea7bc1adfcc5a31ce7e762dbaadc5e636444" 1004 | 1005 | extract-zip@^1.6.0: 1006 | version "1.6.6" 1007 | resolved "https://registry.yarnpkg.com/extract-zip/-/extract-zip-1.6.6.tgz#1290ede8d20d0872b429fd3f351ca128ec5ef85c" 1008 | dependencies: 1009 | concat-stream "1.6.0" 1010 | debug "2.6.9" 1011 | mkdirp "0.5.0" 1012 | yauzl "2.4.1" 1013 | 1014 | extsprintf@1.3.0: 1015 | version "1.3.0" 1016 | resolved "https://registry.yarnpkg.com/extsprintf/-/extsprintf-1.3.0.tgz#96918440e3041a7a414f8c52e3c574eb3c3e1e05" 1017 | 1018 | extsprintf@^1.2.0: 1019 | version "1.4.0" 1020 | resolved "https://registry.yarnpkg.com/extsprintf/-/extsprintf-1.4.0.tgz#e2689f8f356fad62cca65a3a91c5df5f9551692f" 1021 | 1022 | eyes@0.1.x: 1023 | version "0.1.8" 1024 | resolved "https://registry.yarnpkg.com/eyes/-/eyes-0.1.8.tgz#62cf120234c683785d902348a800ef3e0cc20bc0" 1025 | 1026 | faker@^4.1.0: 1027 | version "4.1.0" 1028 | resolved "https://registry.yarnpkg.com/faker/-/faker-4.1.0.tgz#1e45bbbecc6774b3c195fad2835109c6d748cc3f" 1029 | 1030 | fast-deep-equal@^1.0.0: 1031 | version "1.0.0" 1032 | resolved "https://registry.yarnpkg.com/fast-deep-equal/-/fast-deep-equal-1.0.0.tgz#96256a3bc975595eb36d82e9929d060d893439ff" 1033 | 1034 | fast-json-stable-stringify@^2.0.0: 1035 | version "2.0.0" 1036 | resolved "https://registry.yarnpkg.com/fast-json-stable-stringify/-/fast-json-stable-stringify-2.0.0.tgz#d5142c0caee6b1189f87d3a76111064f86c8bbf2" 1037 | 1038 | fbjs@^0.8.16: 1039 | version "0.8.16" 1040 | resolved "https://registry.yarnpkg.com/fbjs/-/fbjs-0.8.16.tgz#5e67432f550dc41b572bf55847b8aca64e5337db" 1041 | dependencies: 1042 | core-js "^1.0.0" 1043 | isomorphic-fetch "^2.1.1" 1044 | loose-envify "^1.0.0" 1045 | object-assign "^4.1.0" 1046 | promise "^7.1.1" 1047 | setimmediate "^1.0.5" 1048 | ua-parser-js "^0.7.9" 1049 | 1050 | fd-slicer@~1.0.1: 1051 | version "1.0.1" 1052 | resolved "https://registry.yarnpkg.com/fd-slicer/-/fd-slicer-1.0.1.tgz#8b5bcbd9ec327c5041bf9ab023fd6750f1177e65" 1053 | dependencies: 1054 | pend "~1.2.0" 1055 | 1056 | figures@^1.7.0: 1057 | version "1.7.0" 1058 | resolved "https://registry.yarnpkg.com/figures/-/figures-1.7.0.tgz#cbe1e3affcf1cd44b80cadfed28dc793a9701d2e" 1059 | dependencies: 1060 | escape-string-regexp "^1.0.5" 1061 | object-assign "^4.1.0" 1062 | 1063 | file-type@^3.8.0: 1064 | version "3.9.0" 1065 | resolved "https://registry.yarnpkg.com/file-type/-/file-type-3.9.0.tgz#257a078384d1db8087bc449d107d52a52672b9e9" 1066 | 1067 | file-type@^5.2.0: 1068 | version "5.2.0" 1069 | resolved "https://registry.yarnpkg.com/file-type/-/file-type-5.2.0.tgz#2ddbea7c73ffe36368dfae49dc338c058c2b8ad6" 1070 | 1071 | file-type@^6.1.0: 1072 | version "6.2.0" 1073 | resolved "https://registry.yarnpkg.com/file-type/-/file-type-6.2.0.tgz#e50cd75d356ffed4e306dc4f5bcf52a79903a919" 1074 | 1075 | finalhandler@~1.0.3: 1076 | version "1.0.6" 1077 | resolved "https://registry.yarnpkg.com/finalhandler/-/finalhandler-1.0.6.tgz#007aea33d1a4d3e42017f624848ad58d212f814f" 1078 | dependencies: 1079 | debug "2.6.9" 1080 | encodeurl "~1.0.1" 1081 | escape-html "~1.0.3" 1082 | on-finished "~2.3.0" 1083 | parseurl "~1.3.2" 1084 | statuses "~1.3.1" 1085 | unpipe "~1.0.0" 1086 | 1087 | find-parent-dir@^0.3.0, find-parent-dir@~0.3.0: 1088 | version "0.3.0" 1089 | resolved "https://registry.yarnpkg.com/find-parent-dir/-/find-parent-dir-0.3.0.tgz#33c44b429ab2b2f0646299c5f9f718f376ff8d54" 1090 | 1091 | find-replace@^1.0.3: 1092 | version "1.0.3" 1093 | resolved "https://registry.yarnpkg.com/find-replace/-/find-replace-1.0.3.tgz#b88e7364d2d9c959559f388c66670d6130441fa0" 1094 | dependencies: 1095 | array-back "^1.0.4" 1096 | test-value "^2.1.0" 1097 | 1098 | forever-agent@~0.6.1: 1099 | version "0.6.1" 1100 | resolved "https://registry.yarnpkg.com/forever-agent/-/forever-agent-0.6.1.tgz#fbc71f0c41adeb37f96c577ad1ed42d8fdacca91" 1101 | 1102 | form-data@^2.3.1, form-data@~2.3.1: 1103 | version "2.3.1" 1104 | resolved "https://registry.yarnpkg.com/form-data/-/form-data-2.3.1.tgz#6fb94fbd71885306d73d15cc497fe4cc4ecd44bf" 1105 | dependencies: 1106 | asynckit "^0.4.0" 1107 | combined-stream "^1.0.5" 1108 | mime-types "^2.1.12" 1109 | 1110 | form-data@~2.1.1: 1111 | version "2.1.4" 1112 | resolved "https://registry.yarnpkg.com/form-data/-/form-data-2.1.4.tgz#33c183acf193276ecaa98143a69e94bfee1750d1" 1113 | dependencies: 1114 | asynckit "^0.4.0" 1115 | combined-stream "^1.0.5" 1116 | mime-types "^2.1.12" 1117 | 1118 | formidable@^1.1.1: 1119 | version "1.1.1" 1120 | resolved "https://registry.yarnpkg.com/formidable/-/formidable-1.1.1.tgz#96b8886f7c3c3508b932d6bd70c4d3a88f35f1a9" 1121 | 1122 | forwarded@~0.1.0: 1123 | version "0.1.2" 1124 | resolved "https://registry.yarnpkg.com/forwarded/-/forwarded-0.1.2.tgz#98c23dab1175657b8c0573e8ceccd91b0ff18c84" 1125 | 1126 | fresh@0.5.0: 1127 | version "0.5.0" 1128 | resolved "https://registry.yarnpkg.com/fresh/-/fresh-0.5.0.tgz#f474ca5e6a9246d6fd8e0953cfa9b9c805afa78e" 1129 | 1130 | fs-extra@^4.0.1, fs-extra@^4.0.2: 1131 | version "4.0.2" 1132 | resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-4.0.2.tgz#f91704c53d1b461f893452b0c307d9997647ab6b" 1133 | dependencies: 1134 | graceful-fs "^4.1.2" 1135 | jsonfile "^4.0.0" 1136 | universalify "^0.1.0" 1137 | 1138 | fs.realpath@^1.0.0: 1139 | version "1.0.0" 1140 | resolved "https://registry.yarnpkg.com/fs.realpath/-/fs.realpath-1.0.0.tgz#1504ad2523158caa40db4a2787cb01411994ea4f" 1141 | 1142 | fstream-ignore@^1.0.5: 1143 | version "1.0.5" 1144 | resolved "https://registry.yarnpkg.com/fstream-ignore/-/fstream-ignore-1.0.5.tgz#9c31dae34767018fe1d249b24dada67d092da105" 1145 | dependencies: 1146 | fstream "^1.0.0" 1147 | inherits "2" 1148 | minimatch "^3.0.0" 1149 | 1150 | fstream@^1.0.0, fstream@^1.0.10, fstream@^1.0.2: 1151 | version "1.0.11" 1152 | resolved "https://registry.yarnpkg.com/fstream/-/fstream-1.0.11.tgz#5c1fb1f117477114f0632a0eb4b71b3cb0fd3171" 1153 | dependencies: 1154 | graceful-fs "^4.1.2" 1155 | inherits "~2.0.0" 1156 | mkdirp ">=0.5 0" 1157 | rimraf "2" 1158 | 1159 | gauge@~2.7.3: 1160 | version "2.7.4" 1161 | resolved "https://registry.yarnpkg.com/gauge/-/gauge-2.7.4.tgz#2c03405c7538c39d7eb37b317022e325fb018bf7" 1162 | dependencies: 1163 | aproba "^1.0.3" 1164 | console-control-strings "^1.0.0" 1165 | has-unicode "^2.0.0" 1166 | object-assign "^4.1.0" 1167 | signal-exit "^3.0.0" 1168 | string-width "^1.0.1" 1169 | strip-ansi "^3.0.1" 1170 | wide-align "^1.1.0" 1171 | 1172 | get-func-name@^2.0.0: 1173 | version "2.0.0" 1174 | resolved "https://registry.yarnpkg.com/get-func-name/-/get-func-name-2.0.0.tgz#ead774abee72e20409433a066366023dd6887a41" 1175 | 1176 | get-own-enumerable-property-symbols@^2.0.1: 1177 | version "2.0.1" 1178 | resolved "https://registry.yarnpkg.com/get-own-enumerable-property-symbols/-/get-own-enumerable-property-symbols-2.0.1.tgz#5c4ad87f2834c4b9b4e84549dc1e0650fb38c24b" 1179 | 1180 | get-stream@^2.2.0: 1181 | version "2.3.1" 1182 | resolved "https://registry.yarnpkg.com/get-stream/-/get-stream-2.3.1.tgz#5f38f93f346009666ee0150a054167f91bdd95de" 1183 | dependencies: 1184 | object-assign "^4.0.1" 1185 | pinkie-promise "^2.0.0" 1186 | 1187 | get-stream@^3.0.0: 1188 | version "3.0.0" 1189 | resolved "https://registry.yarnpkg.com/get-stream/-/get-stream-3.0.0.tgz#8e943d1358dc37555054ecbe2edb05aa174ede14" 1190 | 1191 | getpass@^0.1.1: 1192 | version "0.1.7" 1193 | resolved "https://registry.yarnpkg.com/getpass/-/getpass-0.1.7.tgz#5eff8e3e684d569ae4cb2b1282604e8ba62149fa" 1194 | dependencies: 1195 | assert-plus "^1.0.0" 1196 | 1197 | glob@7.1.2, glob@^7.0.3, glob@^7.0.5, glob@^7.1.1: 1198 | version "7.1.2" 1199 | resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.2.tgz#c19c9df9a028702d678612384a6552404c636d15" 1200 | dependencies: 1201 | fs.realpath "^1.0.0" 1202 | inflight "^1.0.4" 1203 | inherits "2" 1204 | minimatch "^3.0.4" 1205 | once "^1.3.0" 1206 | path-is-absolute "^1.0.0" 1207 | 1208 | globby@^6.1.0: 1209 | version "6.1.0" 1210 | resolved "https://registry.yarnpkg.com/globby/-/globby-6.1.0.tgz#f5a6d70e8395e21c858fb0489d64df02424d506c" 1211 | dependencies: 1212 | array-union "^1.0.1" 1213 | glob "^7.0.3" 1214 | object-assign "^4.0.1" 1215 | pify "^2.0.0" 1216 | pinkie-promise "^2.0.0" 1217 | 1218 | graceful-fs@^4.1.10, graceful-fs@^4.1.2, graceful-fs@^4.1.6: 1219 | version "4.1.11" 1220 | resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.1.11.tgz#0e8bdfe4d1ddb8854d64e04ea7c00e2a026e5658" 1221 | 1222 | "graceful-readlink@>= 1.0.0": 1223 | version "1.0.1" 1224 | resolved "https://registry.yarnpkg.com/graceful-readlink/-/graceful-readlink-1.0.1.tgz#4cafad76bc62f02fa039b2f94e9a3dd3a391a725" 1225 | 1226 | graphql-extensions@^0.0.x: 1227 | version "0.0.5" 1228 | resolved "https://registry.yarnpkg.com/graphql-extensions/-/graphql-extensions-0.0.5.tgz#63bc4a3fd31aab12bfadf783cbc038a9a6937cf0" 1229 | dependencies: 1230 | core-js "^2.5.1" 1231 | source-map-support "^0.5.0" 1232 | 1233 | graphql-subscriptions@^0.5.5: 1234 | version "0.5.5" 1235 | resolved "https://registry.yarnpkg.com/graphql-subscriptions/-/graphql-subscriptions-0.5.5.tgz#f8ad3e094a23128d5065725f9b60020d3293999d" 1236 | dependencies: 1237 | es6-promise "^4.1.1" 1238 | iterall "^1.1.3" 1239 | 1240 | graphql-tools@^2.10.0: 1241 | version "2.11.0" 1242 | resolved "https://registry.yarnpkg.com/graphql-tools/-/graphql-tools-2.11.0.tgz#be86d14acfe4ca9411967c6b54bac2eedc0dbb72" 1243 | dependencies: 1244 | apollo-utilities "^1.0.1" 1245 | deprecated-decorator "^0.1.6" 1246 | uuid "^3.1.0" 1247 | 1248 | graphql@^0.11.7: 1249 | version "0.11.7" 1250 | resolved "https://registry.yarnpkg.com/graphql/-/graphql-0.11.7.tgz#e5abaa9cb7b7cccb84e9f0836bf4370d268750c6" 1251 | dependencies: 1252 | iterall "1.1.3" 1253 | 1254 | growl@1.10.3: 1255 | version "1.10.3" 1256 | resolved "https://registry.yarnpkg.com/growl/-/growl-1.10.3.tgz#1926ba90cf3edfe2adb4927f5880bc22c66c790f" 1257 | 1258 | har-schema@^1.0.5: 1259 | version "1.0.5" 1260 | resolved "https://registry.yarnpkg.com/har-schema/-/har-schema-1.0.5.tgz#d263135f43307c02c602afc8fe95970c0151369e" 1261 | 1262 | har-schema@^2.0.0: 1263 | version "2.0.0" 1264 | resolved "https://registry.yarnpkg.com/har-schema/-/har-schema-2.0.0.tgz#a94c2224ebcac04782a0d9035521f24735b7ec92" 1265 | 1266 | har-validator@~4.2.1: 1267 | version "4.2.1" 1268 | resolved "https://registry.yarnpkg.com/har-validator/-/har-validator-4.2.1.tgz#33481d0f1bbff600dd203d75812a6a5fba002e2a" 1269 | dependencies: 1270 | ajv "^4.9.1" 1271 | har-schema "^1.0.5" 1272 | 1273 | har-validator@~5.0.3: 1274 | version "5.0.3" 1275 | resolved "https://registry.yarnpkg.com/har-validator/-/har-validator-5.0.3.tgz#ba402c266194f15956ef15e0fcf242993f6a7dfd" 1276 | dependencies: 1277 | ajv "^5.1.0" 1278 | har-schema "^2.0.0" 1279 | 1280 | has-ansi@^2.0.0: 1281 | version "2.0.0" 1282 | resolved "https://registry.yarnpkg.com/has-ansi/-/has-ansi-2.0.0.tgz#34f5049ce1ecdf2b0649af3ef24e45ed35416d91" 1283 | dependencies: 1284 | ansi-regex "^2.0.0" 1285 | 1286 | has-flag@^2.0.0: 1287 | version "2.0.0" 1288 | resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-2.0.0.tgz#e8207af1cc7b30d446cc70b734b5e8be18f88d51" 1289 | 1290 | has-unicode@^2.0.0: 1291 | version "2.0.1" 1292 | resolved "https://registry.yarnpkg.com/has-unicode/-/has-unicode-2.0.1.tgz#e0e6fe6a28cf51138855e086d1691e771de2a8b9" 1293 | 1294 | hawk@3.1.3, hawk@~3.1.3: 1295 | version "3.1.3" 1296 | resolved "https://registry.yarnpkg.com/hawk/-/hawk-3.1.3.tgz#078444bd7c1640b0fe540d2c9b73d59678e8e1c4" 1297 | dependencies: 1298 | boom "2.x.x" 1299 | cryptiles "2.x.x" 1300 | hoek "2.x.x" 1301 | sntp "1.x.x" 1302 | 1303 | hawk@~6.0.2: 1304 | version "6.0.2" 1305 | resolved "https://registry.yarnpkg.com/hawk/-/hawk-6.0.2.tgz#af4d914eb065f9b5ce4d9d11c1cb2126eecc3038" 1306 | dependencies: 1307 | boom "4.x.x" 1308 | cryptiles "3.x.x" 1309 | hoek "4.x.x" 1310 | sntp "2.x.x" 1311 | 1312 | he@1.1.1: 1313 | version "1.1.1" 1314 | resolved "https://registry.yarnpkg.com/he/-/he-1.1.1.tgz#93410fd21b009735151f8868c2f271f3427e23fd" 1315 | 1316 | hoek@2.x.x: 1317 | version "2.16.3" 1318 | resolved "https://registry.yarnpkg.com/hoek/-/hoek-2.16.3.tgz#20bb7403d3cea398e91dc4710a8ff1b8274a25ed" 1319 | 1320 | hoek@4.x.x: 1321 | version "4.2.0" 1322 | resolved "https://registry.yarnpkg.com/hoek/-/hoek-4.2.0.tgz#72d9d0754f7fe25ca2d01ad8f8f9a9449a89526d" 1323 | 1324 | homedir-polyfill@^1.0.1: 1325 | version "1.0.1" 1326 | resolved "https://registry.yarnpkg.com/homedir-polyfill/-/homedir-polyfill-1.0.1.tgz#4c2bbc8a758998feebf5ed68580f76d46768b4bc" 1327 | dependencies: 1328 | parse-passwd "^1.0.0" 1329 | 1330 | http-basic@^2.5.1: 1331 | version "2.5.1" 1332 | resolved "https://registry.yarnpkg.com/http-basic/-/http-basic-2.5.1.tgz#8ce447bdb5b6c577f8a63e3fa78056ec4bb4dbfb" 1333 | dependencies: 1334 | caseless "~0.11.0" 1335 | concat-stream "^1.4.6" 1336 | http-response-object "^1.0.0" 1337 | 1338 | http-errors@1.6.2, http-errors@~1.6.1, http-errors@~1.6.2: 1339 | version "1.6.2" 1340 | resolved "https://registry.yarnpkg.com/http-errors/-/http-errors-1.6.2.tgz#0a002cc85707192a7e7946ceedc11155f60ec736" 1341 | dependencies: 1342 | depd "1.1.1" 1343 | inherits "2.0.3" 1344 | setprototypeof "1.0.3" 1345 | statuses ">= 1.3.1 < 2" 1346 | 1347 | http-proxy@^1.16.2: 1348 | version "1.16.2" 1349 | resolved "https://registry.yarnpkg.com/http-proxy/-/http-proxy-1.16.2.tgz#06dff292952bf64dbe8471fa9df73066d4f37742" 1350 | dependencies: 1351 | eventemitter3 "1.x.x" 1352 | requires-port "1.x.x" 1353 | 1354 | http-response-object@^1.0.0, http-response-object@^1.0.1, http-response-object@^1.1.0: 1355 | version "1.1.0" 1356 | resolved "https://registry.yarnpkg.com/http-response-object/-/http-response-object-1.1.0.tgz#a7c4e75aae82f3bb4904e4f43f615673b4d518c3" 1357 | 1358 | http-signature@~1.1.0: 1359 | version "1.1.1" 1360 | resolved "https://registry.yarnpkg.com/http-signature/-/http-signature-1.1.1.tgz#df72e267066cd0ac67fb76adf8e134a8fbcf91bf" 1361 | dependencies: 1362 | assert-plus "^0.2.0" 1363 | jsprim "^1.2.2" 1364 | sshpk "^1.7.0" 1365 | 1366 | http-signature@~1.2.0: 1367 | version "1.2.0" 1368 | resolved "https://registry.yarnpkg.com/http-signature/-/http-signature-1.2.0.tgz#9aecd925114772f3d95b65a60abb8f7c18fbace1" 1369 | dependencies: 1370 | assert-plus "^1.0.0" 1371 | jsprim "^1.2.2" 1372 | sshpk "^1.7.0" 1373 | 1374 | https-proxy-agent@^1.0.0: 1375 | version "1.0.0" 1376 | resolved "https://registry.yarnpkg.com/https-proxy-agent/-/https-proxy-agent-1.0.0.tgz#35f7da6c48ce4ddbfa264891ac593ee5ff8671e6" 1377 | dependencies: 1378 | agent-base "2" 1379 | debug "2" 1380 | extend "3" 1381 | 1382 | husky@^0.14.3: 1383 | version "0.14.3" 1384 | resolved "https://registry.yarnpkg.com/husky/-/husky-0.14.3.tgz#c69ed74e2d2779769a17ba8399b54ce0b63c12c3" 1385 | dependencies: 1386 | is-ci "^1.0.10" 1387 | normalize-path "^1.0.0" 1388 | strip-indent "^2.0.0" 1389 | 1390 | iconv-lite@0.4.19, iconv-lite@~0.4.13: 1391 | version "0.4.19" 1392 | resolved "https://registry.yarnpkg.com/iconv-lite/-/iconv-lite-0.4.19.tgz#f7468f60135f5e5dad3399c0a81be9a1603a082b" 1393 | 1394 | ieee754@^1.1.4: 1395 | version "1.1.8" 1396 | resolved "https://registry.yarnpkg.com/ieee754/-/ieee754-1.1.8.tgz#be33d40ac10ef1926701f6f08a2d86fbfd1ad3e4" 1397 | 1398 | indent-string@^2.1.0: 1399 | version "2.1.0" 1400 | resolved "https://registry.yarnpkg.com/indent-string/-/indent-string-2.1.0.tgz#8e2d48348742121b4a8218b7a137e9a52049dc80" 1401 | dependencies: 1402 | repeating "^2.0.0" 1403 | 1404 | indent-string@^3.0.0: 1405 | version "3.2.0" 1406 | resolved "https://registry.yarnpkg.com/indent-string/-/indent-string-3.2.0.tgz#4a5fd6d27cc332f37e5419a504dbb837105c9289" 1407 | 1408 | inflight@^1.0.4: 1409 | version "1.0.6" 1410 | resolved "https://registry.yarnpkg.com/inflight/-/inflight-1.0.6.tgz#49bd6331d7d02d0c09bc910a1075ba8165b56df9" 1411 | dependencies: 1412 | once "^1.3.0" 1413 | wrappy "1" 1414 | 1415 | inherits@2, inherits@2.0.3, inherits@^2.0.3, inherits@~2.0.0, inherits@~2.0.3: 1416 | version "2.0.3" 1417 | resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.3.tgz#633c2c83e3da42a502f52466022480f4208261de" 1418 | 1419 | ini@^1.3.4, ini@~1.3.0: 1420 | version "1.3.5" 1421 | resolved "https://registry.yarnpkg.com/ini/-/ini-1.3.5.tgz#eee25f56db1c9ec6085e0c22778083f596abf927" 1422 | 1423 | ipaddr.js@1.4.0: 1424 | version "1.4.0" 1425 | resolved "https://registry.yarnpkg.com/ipaddr.js/-/ipaddr.js-1.4.0.tgz#296aca878a821816e5b85d0a285a99bcff4582f0" 1426 | 1427 | is-arrayish@^0.2.1: 1428 | version "0.2.1" 1429 | resolved "https://registry.yarnpkg.com/is-arrayish/-/is-arrayish-0.2.1.tgz#77c99840527aa8ecb1a8ba697b80645a7a926a9d" 1430 | 1431 | is-ci@^1.0.10: 1432 | version "1.0.10" 1433 | resolved "https://registry.yarnpkg.com/is-ci/-/is-ci-1.0.10.tgz#f739336b2632365061a9d48270cd56ae3369318e" 1434 | dependencies: 1435 | ci-info "^1.0.0" 1436 | 1437 | is-directory@^0.3.1: 1438 | version "0.3.1" 1439 | resolved "https://registry.yarnpkg.com/is-directory/-/is-directory-0.3.1.tgz#61339b6f2475fc772fd9c9d83f5c8575dc154ae1" 1440 | 1441 | is-extglob@^2.1.1: 1442 | version "2.1.1" 1443 | resolved "https://registry.yarnpkg.com/is-extglob/-/is-extglob-2.1.1.tgz#a88c02535791f02ed37c76a1b9ea9773c833f8c2" 1444 | 1445 | is-finite@^1.0.0: 1446 | version "1.0.2" 1447 | resolved "https://registry.yarnpkg.com/is-finite/-/is-finite-1.0.2.tgz#cc6677695602be550ef11e8b4aa6305342b6d0aa" 1448 | dependencies: 1449 | number-is-nan "^1.0.0" 1450 | 1451 | is-fullwidth-code-point@^1.0.0: 1452 | version "1.0.0" 1453 | resolved "https://registry.yarnpkg.com/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz#ef9e31386f031a7f0d643af82fde50c457ef00cb" 1454 | dependencies: 1455 | number-is-nan "^1.0.0" 1456 | 1457 | is-glob@^4.0.0: 1458 | version "4.0.0" 1459 | resolved "https://registry.yarnpkg.com/is-glob/-/is-glob-4.0.0.tgz#9521c76845cc2610a85203ddf080a958c2ffabc0" 1460 | dependencies: 1461 | is-extglob "^2.1.1" 1462 | 1463 | is-natural-number@^4.0.1: 1464 | version "4.0.1" 1465 | resolved "https://registry.yarnpkg.com/is-natural-number/-/is-natural-number-4.0.1.tgz#ab9d76e1db4ced51e35de0c72ebecf09f734cde8" 1466 | 1467 | is-obj@^1.0.1: 1468 | version "1.0.1" 1469 | resolved "https://registry.yarnpkg.com/is-obj/-/is-obj-1.0.1.tgz#3e4729ac1f5fde025cd7d83a896dab9f4f67db0f" 1470 | 1471 | is-observable@^0.2.0: 1472 | version "0.2.0" 1473 | resolved "https://registry.yarnpkg.com/is-observable/-/is-observable-0.2.0.tgz#b361311d83c6e5d726cabf5e250b0237106f5ae2" 1474 | dependencies: 1475 | symbol-observable "^0.2.2" 1476 | 1477 | is-path-cwd@^1.0.0: 1478 | version "1.0.0" 1479 | resolved "https://registry.yarnpkg.com/is-path-cwd/-/is-path-cwd-1.0.0.tgz#d225ec23132e89edd38fda767472e62e65f1106d" 1480 | 1481 | is-path-in-cwd@^1.0.0: 1482 | version "1.0.0" 1483 | resolved "https://registry.yarnpkg.com/is-path-in-cwd/-/is-path-in-cwd-1.0.0.tgz#6477582b8214d602346094567003be8a9eac04dc" 1484 | dependencies: 1485 | is-path-inside "^1.0.0" 1486 | 1487 | is-path-inside@^1.0.0: 1488 | version "1.0.1" 1489 | resolved "https://registry.yarnpkg.com/is-path-inside/-/is-path-inside-1.0.1.tgz#8ef5b7de50437a3fdca6b4e865ef7aa55cb48036" 1490 | dependencies: 1491 | path-is-inside "^1.0.1" 1492 | 1493 | is-promise@^2.1.0: 1494 | version "2.1.0" 1495 | resolved "https://registry.yarnpkg.com/is-promise/-/is-promise-2.1.0.tgz#79a2a9ece7f096e80f36d2b2f3bc16c1ff4bf3fa" 1496 | 1497 | is-regexp@^1.0.0: 1498 | version "1.0.0" 1499 | resolved "https://registry.yarnpkg.com/is-regexp/-/is-regexp-1.0.0.tgz#fd2d883545c46bac5a633e7b9a09e87fa2cb5069" 1500 | 1501 | is-stream@^1.0.1, is-stream@^1.1.0: 1502 | version "1.1.0" 1503 | resolved "https://registry.yarnpkg.com/is-stream/-/is-stream-1.1.0.tgz#12d4a3dd4e68e0b79ceb8dbc84173ae80d91ca44" 1504 | 1505 | is-typedarray@~1.0.0: 1506 | version "1.0.0" 1507 | resolved "https://registry.yarnpkg.com/is-typedarray/-/is-typedarray-1.0.0.tgz#e479c80858df0c1b11ddda6940f96011fcda4a9a" 1508 | 1509 | isarray@0.0.1: 1510 | version "0.0.1" 1511 | resolved "https://registry.yarnpkg.com/isarray/-/isarray-0.0.1.tgz#8a18acfca9a8f4177e09abfc6038939b05d1eedf" 1512 | 1513 | isarray@^1.0.0, isarray@~1.0.0: 1514 | version "1.0.0" 1515 | resolved "https://registry.yarnpkg.com/isarray/-/isarray-1.0.0.tgz#bb935d48582cba168c06834957a54a3e07124f11" 1516 | 1517 | isemail@1.x.x: 1518 | version "1.2.0" 1519 | resolved "https://registry.yarnpkg.com/isemail/-/isemail-1.2.0.tgz#be03df8cc3e29de4d2c5df6501263f1fa4595e9a" 1520 | 1521 | isexe@^2.0.0: 1522 | version "2.0.0" 1523 | resolved "https://registry.yarnpkg.com/isexe/-/isexe-2.0.0.tgz#e8fbf374dc556ff8947a10dcb0572d633f2cfa10" 1524 | 1525 | isomorphic-fetch@^2.1.1: 1526 | version "2.2.1" 1527 | resolved "https://registry.yarnpkg.com/isomorphic-fetch/-/isomorphic-fetch-2.2.1.tgz#611ae1acf14f5e81f729507472819fe9733558a9" 1528 | dependencies: 1529 | node-fetch "^1.0.1" 1530 | whatwg-fetch ">=0.10.0" 1531 | 1532 | isstream@0.1.x, isstream@~0.1.2: 1533 | version "0.1.2" 1534 | resolved "https://registry.yarnpkg.com/isstream/-/isstream-0.1.2.tgz#47e63f7af55afa6f92e1500e690eb8b8529c099a" 1535 | 1536 | iterall@1.1.3, iterall@^1.1.1, iterall@^1.1.3: 1537 | version "1.1.3" 1538 | resolved "https://registry.yarnpkg.com/iterall/-/iterall-1.1.3.tgz#1cbbff96204056dde6656e2ed2e2226d0e6d72c9" 1539 | 1540 | jest-get-type@^21.2.0: 1541 | version "21.2.0" 1542 | resolved "https://registry.yarnpkg.com/jest-get-type/-/jest-get-type-21.2.0.tgz#f6376ab9db4b60d81e39f30749c6c466f40d4a23" 1543 | 1544 | jest-validate@^21.1.0: 1545 | version "21.2.1" 1546 | resolved "https://registry.yarnpkg.com/jest-validate/-/jest-validate-21.2.1.tgz#cc0cbca653cd54937ba4f2a111796774530dd3c7" 1547 | dependencies: 1548 | chalk "^2.0.1" 1549 | jest-get-type "^21.2.0" 1550 | leven "^2.1.0" 1551 | pretty-format "^21.2.1" 1552 | 1553 | joi@^6.10.1: 1554 | version "6.10.1" 1555 | resolved "https://registry.yarnpkg.com/joi/-/joi-6.10.1.tgz#4d50c318079122000fe5f16af1ff8e1917b77e06" 1556 | dependencies: 1557 | hoek "2.x.x" 1558 | isemail "1.x.x" 1559 | moment "2.x.x" 1560 | topo "1.x.x" 1561 | 1562 | js-tokens@^3.0.0, js-tokens@^3.0.2: 1563 | version "3.0.2" 1564 | resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-3.0.2.tgz#9866df395102130e38f7f996bceb65443209c25b" 1565 | 1566 | js-yaml@^3.9.0: 1567 | version "3.10.0" 1568 | resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-3.10.0.tgz#2e78441646bd4682e963f22b6e92823c309c62dc" 1569 | dependencies: 1570 | argparse "^1.0.7" 1571 | esprima "^4.0.0" 1572 | 1573 | jsbn@~0.1.0: 1574 | version "0.1.1" 1575 | resolved "https://registry.yarnpkg.com/jsbn/-/jsbn-0.1.1.tgz#a5e654c2e5a2deb5f201d96cefbca80c0ef2f513" 1576 | 1577 | json-schema-traverse@^0.3.0: 1578 | version "0.3.1" 1579 | resolved "https://registry.yarnpkg.com/json-schema-traverse/-/json-schema-traverse-0.3.1.tgz#349a6d44c53a51de89b40805c5d5e59b417d3340" 1580 | 1581 | json-schema@0.2.3: 1582 | version "0.2.3" 1583 | resolved "https://registry.yarnpkg.com/json-schema/-/json-schema-0.2.3.tgz#b480c892e59a2f05954ce727bd3f2a4e882f9e13" 1584 | 1585 | json-stable-stringify@^1.0.1: 1586 | version "1.0.1" 1587 | resolved "https://registry.yarnpkg.com/json-stable-stringify/-/json-stable-stringify-1.0.1.tgz#9a759d39c5f2ff503fd5300646ed445f88c4f9af" 1588 | dependencies: 1589 | jsonify "~0.0.0" 1590 | 1591 | json-stringify-safe@~5.0.1: 1592 | version "5.0.1" 1593 | resolved "https://registry.yarnpkg.com/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz#1296a2d58fd45f19a0f6ce01d65701e2c735b6eb" 1594 | 1595 | jsonfile@^4.0.0: 1596 | version "4.0.0" 1597 | resolved "https://registry.yarnpkg.com/jsonfile/-/jsonfile-4.0.0.tgz#8771aae0799b64076b76640fca058f9c10e33ecb" 1598 | optionalDependencies: 1599 | graceful-fs "^4.1.6" 1600 | 1601 | jsonify@~0.0.0: 1602 | version "0.0.0" 1603 | resolved "https://registry.yarnpkg.com/jsonify/-/jsonify-0.0.0.tgz#2c74b6ee41d93ca51b7b5aaee8f503631d252a73" 1604 | 1605 | jsonparse@^1.2.0: 1606 | version "1.3.1" 1607 | resolved "https://registry.yarnpkg.com/jsonparse/-/jsonparse-1.3.1.tgz#3f4dae4a91fac315f71062f8521cc239f1366280" 1608 | 1609 | jsonwebtoken@^7.4.2: 1610 | version "7.4.3" 1611 | resolved "https://registry.yarnpkg.com/jsonwebtoken/-/jsonwebtoken-7.4.3.tgz#77f5021de058b605a1783fa1283e99812e645638" 1612 | dependencies: 1613 | joi "^6.10.1" 1614 | jws "^3.1.4" 1615 | lodash.once "^4.0.0" 1616 | ms "^2.0.0" 1617 | xtend "^4.0.1" 1618 | 1619 | jsprim@^1.2.2: 1620 | version "1.4.1" 1621 | resolved "https://registry.yarnpkg.com/jsprim/-/jsprim-1.4.1.tgz#313e66bc1e5cc06e438bc1b7499c2e5c56acb6a2" 1622 | dependencies: 1623 | assert-plus "1.0.0" 1624 | extsprintf "1.3.0" 1625 | json-schema "0.2.3" 1626 | verror "1.10.0" 1627 | 1628 | jwa@^1.1.4: 1629 | version "1.1.5" 1630 | resolved "https://registry.yarnpkg.com/jwa/-/jwa-1.1.5.tgz#a0552ce0220742cd52e153774a32905c30e756e5" 1631 | dependencies: 1632 | base64url "2.0.0" 1633 | buffer-equal-constant-time "1.0.1" 1634 | ecdsa-sig-formatter "1.0.9" 1635 | safe-buffer "^5.0.1" 1636 | 1637 | jws@^3.1.4: 1638 | version "3.1.4" 1639 | resolved "https://registry.yarnpkg.com/jws/-/jws-3.1.4.tgz#f9e8b9338e8a847277d6444b1464f61880e050a2" 1640 | dependencies: 1641 | base64url "^2.0.0" 1642 | jwa "^1.1.4" 1643 | safe-buffer "^5.0.1" 1644 | 1645 | leven@^2.1.0: 1646 | version "2.1.0" 1647 | resolved "https://registry.yarnpkg.com/leven/-/leven-2.1.0.tgz#c2e7a9f772094dee9d34202ae8acce4687875580" 1648 | 1649 | lint-staged@^5.0.0: 1650 | version "5.0.0" 1651 | resolved "https://registry.yarnpkg.com/lint-staged/-/lint-staged-5.0.0.tgz#f1c670e03e2fdf3f3d0eb81f72d3bcf658770e54" 1652 | dependencies: 1653 | app-root-path "^2.0.0" 1654 | chalk "^2.1.0" 1655 | commander "^2.11.0" 1656 | cosmiconfig "^3.1.0" 1657 | dedent "^0.7.0" 1658 | execa "^0.8.0" 1659 | find-parent-dir "^0.3.0" 1660 | is-glob "^4.0.0" 1661 | jest-validate "^21.1.0" 1662 | listr "^0.13.0" 1663 | lodash "^4.17.4" 1664 | log-symbols "^2.0.0" 1665 | minimatch "^3.0.0" 1666 | npm-which "^3.0.1" 1667 | p-map "^1.1.1" 1668 | path-is-inside "^1.0.2" 1669 | pify "^3.0.0" 1670 | staged-git-files "0.0.4" 1671 | stringify-object "^3.2.0" 1672 | 1673 | listr-silent-renderer@^1.1.1: 1674 | version "1.1.1" 1675 | resolved "https://registry.yarnpkg.com/listr-silent-renderer/-/listr-silent-renderer-1.1.1.tgz#924b5a3757153770bf1a8e3fbf74b8bbf3f9242e" 1676 | 1677 | listr-update-renderer@^0.4.0: 1678 | version "0.4.0" 1679 | resolved "https://registry.yarnpkg.com/listr-update-renderer/-/listr-update-renderer-0.4.0.tgz#344d980da2ca2e8b145ba305908f32ae3f4cc8a7" 1680 | dependencies: 1681 | chalk "^1.1.3" 1682 | cli-truncate "^0.2.1" 1683 | elegant-spinner "^1.0.1" 1684 | figures "^1.7.0" 1685 | indent-string "^3.0.0" 1686 | log-symbols "^1.0.2" 1687 | log-update "^1.0.2" 1688 | strip-ansi "^3.0.1" 1689 | 1690 | listr-verbose-renderer@^0.4.0: 1691 | version "0.4.1" 1692 | resolved "https://registry.yarnpkg.com/listr-verbose-renderer/-/listr-verbose-renderer-0.4.1.tgz#8206f4cf6d52ddc5827e5fd14989e0e965933a35" 1693 | dependencies: 1694 | chalk "^1.1.3" 1695 | cli-cursor "^1.0.2" 1696 | date-fns "^1.27.2" 1697 | figures "^1.7.0" 1698 | 1699 | listr@^0.13.0: 1700 | version "0.13.0" 1701 | resolved "https://registry.yarnpkg.com/listr/-/listr-0.13.0.tgz#20bb0ba30bae660ee84cc0503df4be3d5623887d" 1702 | dependencies: 1703 | chalk "^1.1.3" 1704 | cli-truncate "^0.2.1" 1705 | figures "^1.7.0" 1706 | indent-string "^2.1.0" 1707 | is-observable "^0.2.0" 1708 | is-promise "^2.1.0" 1709 | is-stream "^1.1.0" 1710 | listr-silent-renderer "^1.1.1" 1711 | listr-update-renderer "^0.4.0" 1712 | listr-verbose-renderer "^0.4.0" 1713 | log-symbols "^1.0.2" 1714 | log-update "^1.0.2" 1715 | ora "^0.2.3" 1716 | p-map "^1.1.1" 1717 | rxjs "^5.4.2" 1718 | stream-to-observable "^0.2.0" 1719 | strip-ansi "^3.0.1" 1720 | 1721 | lodash.assign@^4.2.0: 1722 | version "4.2.0" 1723 | resolved "https://registry.yarnpkg.com/lodash.assign/-/lodash.assign-4.2.0.tgz#0d99f3ccd7a6d261d19bdaeb9245005d285808e7" 1724 | 1725 | lodash.isobject@^3.0.2: 1726 | version "3.0.2" 1727 | resolved "https://registry.yarnpkg.com/lodash.isobject/-/lodash.isobject-3.0.2.tgz#3c8fb8d5b5bf4bf90ae06e14f2a530a4ed935e1d" 1728 | 1729 | lodash.isstring@^4.0.1: 1730 | version "4.0.1" 1731 | resolved "https://registry.yarnpkg.com/lodash.isstring/-/lodash.isstring-4.0.1.tgz#d527dfb5456eca7cc9bb95d5daeaf88ba54a5451" 1732 | 1733 | lodash.once@^4.0.0: 1734 | version "4.1.1" 1735 | resolved "https://registry.yarnpkg.com/lodash.once/-/lodash.once-4.1.1.tgz#0dd3971213c7c56df880977d504c88fb471a97ac" 1736 | 1737 | lodash@^4.17.4: 1738 | version "4.17.4" 1739 | resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.4.tgz#78203a4d1c328ae1d86dca6460e369b57f4055ae" 1740 | 1741 | log-symbols@^1.0.2: 1742 | version "1.0.2" 1743 | resolved "https://registry.yarnpkg.com/log-symbols/-/log-symbols-1.0.2.tgz#376ff7b58ea3086a0f09facc74617eca501e1a18" 1744 | dependencies: 1745 | chalk "^1.0.0" 1746 | 1747 | log-symbols@^2.0.0: 1748 | version "2.1.0" 1749 | resolved "https://registry.yarnpkg.com/log-symbols/-/log-symbols-2.1.0.tgz#f35fa60e278832b538dc4dddcbb478a45d3e3be6" 1750 | dependencies: 1751 | chalk "^2.0.1" 1752 | 1753 | log-update@^1.0.2: 1754 | version "1.0.2" 1755 | resolved "https://registry.yarnpkg.com/log-update/-/log-update-1.0.2.tgz#19929f64c4093d2d2e7075a1dad8af59c296b8d1" 1756 | dependencies: 1757 | ansi-escapes "^1.0.0" 1758 | cli-cursor "^1.0.2" 1759 | 1760 | loose-envify@^1.0.0, loose-envify@^1.3.1: 1761 | version "1.3.1" 1762 | resolved "https://registry.yarnpkg.com/loose-envify/-/loose-envify-1.3.1.tgz#d1a8ad33fa9ce0e713d65fdd0ac8b748d478c848" 1763 | dependencies: 1764 | js-tokens "^3.0.0" 1765 | 1766 | lru-cache@^4.0.1, lru-cache@^4.1.1: 1767 | version "4.1.1" 1768 | resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-4.1.1.tgz#622e32e82488b49279114a4f9ecf45e7cd6bba55" 1769 | dependencies: 1770 | pseudomap "^1.0.2" 1771 | yallist "^2.1.2" 1772 | 1773 | lzma-native@^3.0.1: 1774 | version "3.0.4" 1775 | resolved "https://registry.yarnpkg.com/lzma-native/-/lzma-native-3.0.4.tgz#1fe863dbbbaa58f8132dfcf7df261ec9af6f2b72" 1776 | dependencies: 1777 | nan "2.5.1" 1778 | node-pre-gyp "^0.6.39" 1779 | readable-stream "^2.0.5" 1780 | rimraf "^2.6.1" 1781 | 1782 | make-dir@^1.0.0: 1783 | version "1.1.0" 1784 | resolved "https://registry.yarnpkg.com/make-dir/-/make-dir-1.1.0.tgz#19b4369fe48c116f53c2af95ad102c0e39e85d51" 1785 | dependencies: 1786 | pify "^3.0.0" 1787 | 1788 | make-error@^1.1.1: 1789 | version "1.3.0" 1790 | resolved "https://registry.yarnpkg.com/make-error/-/make-error-1.3.0.tgz#52ad3a339ccf10ce62b4040b708fe707244b8b96" 1791 | 1792 | media-typer@0.3.0: 1793 | version "0.3.0" 1794 | resolved "https://registry.yarnpkg.com/media-typer/-/media-typer-0.3.0.tgz#8710d7af0aa626f8fffa1ce00168545263255748" 1795 | 1796 | merge-descriptors@1.0.1: 1797 | version "1.0.1" 1798 | resolved "https://registry.yarnpkg.com/merge-descriptors/-/merge-descriptors-1.0.1.tgz#b00aaa556dd8b44568150ec9d1b953f3f90cbb61" 1799 | 1800 | methods@^1.1.1, methods@~1.1.2: 1801 | version "1.1.2" 1802 | resolved "https://registry.yarnpkg.com/methods/-/methods-1.1.2.tgz#5529a4d67654134edcc5266656835b0f851afcee" 1803 | 1804 | mime-db@~1.30.0: 1805 | version "1.30.0" 1806 | resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.30.0.tgz#74c643da2dd9d6a45399963465b26d5ca7d71f01" 1807 | 1808 | mime-types@^2.1.12, mime-types@~2.1.15, mime-types@~2.1.16, mime-types@~2.1.17, mime-types@~2.1.7: 1809 | version "2.1.17" 1810 | resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-2.1.17.tgz#09d7a393f03e995a79f8af857b70a9e0ab16557a" 1811 | dependencies: 1812 | mime-db "~1.30.0" 1813 | 1814 | mime@1.3.4: 1815 | version "1.3.4" 1816 | resolved "https://registry.yarnpkg.com/mime/-/mime-1.3.4.tgz#115f9e3b6b3daf2959983cb38f149a2d40eb5d53" 1817 | 1818 | mime@^1.4.1: 1819 | version "1.6.0" 1820 | resolved "https://registry.yarnpkg.com/mime/-/mime-1.6.0.tgz#32cd9e5c64553bd58d19a568af452acff04981b1" 1821 | 1822 | minimatch@^3.0.0, minimatch@^3.0.4: 1823 | version "3.0.4" 1824 | resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.0.4.tgz#5166e286457f03306064be5497e8dbb0c3d32083" 1825 | dependencies: 1826 | brace-expansion "^1.1.7" 1827 | 1828 | minimist@0.0.8: 1829 | version "0.0.8" 1830 | resolved "https://registry.yarnpkg.com/minimist/-/minimist-0.0.8.tgz#857fcabfc3397d2625b8228262e86aa7a011b05d" 1831 | 1832 | minimist@^1.2.0: 1833 | version "1.2.0" 1834 | resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.0.tgz#a35008b20f41383eec1fb914f4cd5df79a264284" 1835 | 1836 | mixpanel@^0.7.0: 1837 | version "0.7.0" 1838 | resolved "https://registry.yarnpkg.com/mixpanel/-/mixpanel-0.7.0.tgz#2971aa6e19a6262f7c85fc22e1154f4f5e2f616f" 1839 | dependencies: 1840 | https-proxy-agent "^1.0.0" 1841 | 1842 | mkdirp@0.5.0: 1843 | version "0.5.0" 1844 | resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-0.5.0.tgz#1d73076a6df986cd9344e15e71fcc05a4c9abf12" 1845 | dependencies: 1846 | minimist "0.0.8" 1847 | 1848 | mkdirp@0.5.1, "mkdirp@>=0.5 0", mkdirp@^0.5.1: 1849 | version "0.5.1" 1850 | resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-0.5.1.tgz#30057438eac6cf7f8c4767f38648d6697d75c903" 1851 | dependencies: 1852 | minimist "0.0.8" 1853 | 1854 | mocha@^4.0.1: 1855 | version "4.0.1" 1856 | resolved "https://registry.yarnpkg.com/mocha/-/mocha-4.0.1.tgz#0aee5a95cf69a4618820f5e51fa31717117daf1b" 1857 | dependencies: 1858 | browser-stdout "1.3.0" 1859 | commander "2.11.0" 1860 | debug "3.1.0" 1861 | diff "3.3.1" 1862 | escape-string-regexp "1.0.5" 1863 | glob "7.1.2" 1864 | growl "1.10.3" 1865 | he "1.1.1" 1866 | mkdirp "0.5.1" 1867 | supports-color "4.4.0" 1868 | 1869 | moment@2.x.x, moment@^2.18.1: 1870 | version "2.19.3" 1871 | resolved "https://registry.yarnpkg.com/moment/-/moment-2.19.3.tgz#bdb99d270d6d7fda78cc0fbace855e27fe7da69f" 1872 | 1873 | morgan@^1.8.2: 1874 | version "1.9.0" 1875 | resolved "https://registry.yarnpkg.com/morgan/-/morgan-1.9.0.tgz#d01fa6c65859b76fcf31b3cb53a3821a311d8051" 1876 | dependencies: 1877 | basic-auth "~2.0.0" 1878 | debug "2.6.9" 1879 | depd "~1.1.1" 1880 | on-finished "~2.3.0" 1881 | on-headers "~1.0.1" 1882 | 1883 | ms@2.0.0: 1884 | version "2.0.0" 1885 | resolved "https://registry.yarnpkg.com/ms/-/ms-2.0.0.tgz#5608aeadfc00be6c2901df5f9861788de0d597c8" 1886 | 1887 | ms@^2.0.0: 1888 | version "2.1.1" 1889 | resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.1.tgz#30a5864eb3ebb0a66f2ebe6d727af06a09d86e0a" 1890 | 1891 | mute-stream@~0.0.4: 1892 | version "0.0.7" 1893 | resolved "https://registry.yarnpkg.com/mute-stream/-/mute-stream-0.0.7.tgz#3075ce93bc21b8fab43e1bc4da7e8115ed1e7bab" 1894 | 1895 | nan@2.5.1: 1896 | version "2.5.1" 1897 | resolved "https://registry.yarnpkg.com/nan/-/nan-2.5.1.tgz#d5b01691253326a97a2bbee9e61c55d8d60351e2" 1898 | 1899 | nan@2.6.2: 1900 | version "2.6.2" 1901 | resolved "https://registry.yarnpkg.com/nan/-/nan-2.6.2.tgz#e4ff34e6c95fdfb5aecc08de6596f43605a7db45" 1902 | 1903 | nan@^2.3.3: 1904 | version "2.8.0" 1905 | resolved "https://registry.yarnpkg.com/nan/-/nan-2.8.0.tgz#ed715f3fe9de02b57a5e6252d90a96675e1f085a" 1906 | 1907 | negotiator@0.6.1: 1908 | version "0.6.1" 1909 | resolved "https://registry.yarnpkg.com/negotiator/-/negotiator-0.6.1.tgz#2b327184e8992101177b28563fb5e7102acd0ca9" 1910 | 1911 | node-fetch@^1.0.1, node-fetch@^1.6.3: 1912 | version "1.7.3" 1913 | resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-1.7.3.tgz#980f6f72d85211a5347c6b2bc18c5b84c3eb47ef" 1914 | dependencies: 1915 | encoding "^0.1.11" 1916 | is-stream "^1.0.1" 1917 | 1918 | node-pre-gyp@0.6.36: 1919 | version "0.6.36" 1920 | resolved "https://registry.yarnpkg.com/node-pre-gyp/-/node-pre-gyp-0.6.36.tgz#db604112cb74e0d477554e9b505b17abddfab786" 1921 | dependencies: 1922 | mkdirp "^0.5.1" 1923 | nopt "^4.0.1" 1924 | npmlog "^4.0.2" 1925 | rc "^1.1.7" 1926 | request "^2.81.0" 1927 | rimraf "^2.6.1" 1928 | semver "^5.3.0" 1929 | tar "^2.2.1" 1930 | tar-pack "^3.4.0" 1931 | 1932 | node-pre-gyp@^0.6.30, node-pre-gyp@^0.6.36, node-pre-gyp@^0.6.39: 1933 | version "0.6.39" 1934 | resolved "https://registry.yarnpkg.com/node-pre-gyp/-/node-pre-gyp-0.6.39.tgz#c00e96860b23c0e1420ac7befc5044e1d78d8649" 1935 | dependencies: 1936 | detect-libc "^1.0.2" 1937 | hawk "3.1.3" 1938 | mkdirp "^0.5.1" 1939 | nopt "^4.0.1" 1940 | npmlog "^4.0.2" 1941 | rc "^1.1.7" 1942 | request "2.81.0" 1943 | rimraf "^2.6.1" 1944 | semver "^5.3.0" 1945 | tar "^2.2.1" 1946 | tar-pack "^3.4.0" 1947 | 1948 | node-rsa@^0.4.2: 1949 | version "0.4.2" 1950 | resolved "https://registry.yarnpkg.com/node-rsa/-/node-rsa-0.4.2.tgz#d6391729ec16a830ed5a38042b3157d2d5d72530" 1951 | dependencies: 1952 | asn1 "0.2.3" 1953 | 1954 | nopt@^4.0.1: 1955 | version "4.0.1" 1956 | resolved "https://registry.yarnpkg.com/nopt/-/nopt-4.0.1.tgz#d0d4685afd5415193c8c7505602d0d17cd64474d" 1957 | dependencies: 1958 | abbrev "1" 1959 | osenv "^0.1.4" 1960 | 1961 | normalize-path@^1.0.0: 1962 | version "1.0.0" 1963 | resolved "https://registry.yarnpkg.com/normalize-path/-/normalize-path-1.0.0.tgz#32d0e472f91ff345701c15a8311018d3b0a90379" 1964 | 1965 | npm-path@^2.0.2: 1966 | version "2.0.3" 1967 | resolved "https://registry.yarnpkg.com/npm-path/-/npm-path-2.0.3.tgz#15cff4e1c89a38da77f56f6055b24f975dfb2bbe" 1968 | dependencies: 1969 | which "^1.2.10" 1970 | 1971 | npm-run-path@^2.0.0: 1972 | version "2.0.2" 1973 | resolved "https://registry.yarnpkg.com/npm-run-path/-/npm-run-path-2.0.2.tgz#35a9232dfa35d7067b4cb2ddf2357b1871536c5f" 1974 | dependencies: 1975 | path-key "^2.0.0" 1976 | 1977 | npm-which@^3.0.1: 1978 | version "3.0.1" 1979 | resolved "https://registry.yarnpkg.com/npm-which/-/npm-which-3.0.1.tgz#9225f26ec3a285c209cae67c3b11a6b4ab7140aa" 1980 | dependencies: 1981 | commander "^2.9.0" 1982 | npm-path "^2.0.2" 1983 | which "^1.2.10" 1984 | 1985 | npmlog@^4.0.2: 1986 | version "4.1.2" 1987 | resolved "https://registry.yarnpkg.com/npmlog/-/npmlog-4.1.2.tgz#08a7f2a8bf734604779a9efa4ad5cc717abb954b" 1988 | dependencies: 1989 | are-we-there-yet "~1.1.2" 1990 | console-control-strings "~1.1.0" 1991 | gauge "~2.7.3" 1992 | set-blocking "~2.0.0" 1993 | 1994 | number-is-nan@^1.0.0: 1995 | version "1.0.1" 1996 | resolved "https://registry.yarnpkg.com/number-is-nan/-/number-is-nan-1.0.1.tgz#097b602b53422a522c1afb8790318336941a011d" 1997 | 1998 | oauth-sign@~0.8.1, oauth-sign@~0.8.2: 1999 | version "0.8.2" 2000 | resolved "https://registry.yarnpkg.com/oauth-sign/-/oauth-sign-0.8.2.tgz#46a6ab7f0aead8deae9ec0565780b7d4efeb9d43" 2001 | 2002 | object-assign@^4.0.1, object-assign@^4.1.0, object-assign@^4.1.1: 2003 | version "4.1.1" 2004 | resolved "https://registry.yarnpkg.com/object-assign/-/object-assign-4.1.1.tgz#2109adc7965887cfc05cbbd442cac8bfbb360863" 2005 | 2006 | on-finished@~2.3.0: 2007 | version "2.3.0" 2008 | resolved "https://registry.yarnpkg.com/on-finished/-/on-finished-2.3.0.tgz#20f1336481b083cd75337992a16971aa2d906947" 2009 | dependencies: 2010 | ee-first "1.1.1" 2011 | 2012 | on-headers@~1.0.1: 2013 | version "1.0.1" 2014 | resolved "https://registry.yarnpkg.com/on-headers/-/on-headers-1.0.1.tgz#928f5d0f470d49342651ea6794b0857c100693f7" 2015 | 2016 | once@^1.3.0, once@^1.3.3, once@^1.4.0: 2017 | version "1.4.0" 2018 | resolved "https://registry.yarnpkg.com/once/-/once-1.4.0.tgz#583b1aa775961d4b113ac17d9c50baef9dd76bd1" 2019 | dependencies: 2020 | wrappy "1" 2021 | 2022 | onetime@^1.0.0: 2023 | version "1.1.0" 2024 | resolved "https://registry.yarnpkg.com/onetime/-/onetime-1.1.0.tgz#a1f7838f8314c516f05ecefcbc4ccfe04b4ed789" 2025 | 2026 | ora@^0.2.3: 2027 | version "0.2.3" 2028 | resolved "https://registry.yarnpkg.com/ora/-/ora-0.2.3.tgz#37527d220adcd53c39b73571d754156d5db657a4" 2029 | dependencies: 2030 | chalk "^1.1.1" 2031 | cli-cursor "^1.0.2" 2032 | cli-spinners "^0.1.2" 2033 | object-assign "^4.0.1" 2034 | 2035 | os-homedir@^1.0.0: 2036 | version "1.0.2" 2037 | resolved "https://registry.yarnpkg.com/os-homedir/-/os-homedir-1.0.2.tgz#ffbc4988336e0e833de0c168c7ef152121aa7fb3" 2038 | 2039 | os-tmpdir@^1.0.0, os-tmpdir@~1.0.2: 2040 | version "1.0.2" 2041 | resolved "https://registry.yarnpkg.com/os-tmpdir/-/os-tmpdir-1.0.2.tgz#bbe67406c79aa85c5cfec766fe5734555dfa1274" 2042 | 2043 | osenv@^0.1.4: 2044 | version "0.1.4" 2045 | resolved "https://registry.yarnpkg.com/osenv/-/osenv-0.1.4.tgz#42fe6d5953df06c8064be6f176c3d05aaaa34644" 2046 | dependencies: 2047 | os-homedir "^1.0.0" 2048 | os-tmpdir "^1.0.0" 2049 | 2050 | p-finally@^1.0.0: 2051 | version "1.0.0" 2052 | resolved "https://registry.yarnpkg.com/p-finally/-/p-finally-1.0.0.tgz#3fbcfb15b899a44123b34b6dcc18b724336a2cae" 2053 | 2054 | p-map@^1.1.1: 2055 | version "1.2.0" 2056 | resolved "https://registry.yarnpkg.com/p-map/-/p-map-1.2.0.tgz#e4e94f311eabbc8633a1e79908165fca26241b6b" 2057 | 2058 | parse-json@^3.0.0: 2059 | version "3.0.0" 2060 | resolved "https://registry.yarnpkg.com/parse-json/-/parse-json-3.0.0.tgz#fa6f47b18e23826ead32f263e744d0e1e847fb13" 2061 | dependencies: 2062 | error-ex "^1.3.1" 2063 | 2064 | parse-passwd@^1.0.0: 2065 | version "1.0.0" 2066 | resolved "https://registry.yarnpkg.com/parse-passwd/-/parse-passwd-1.0.0.tgz#6d5b934a456993b23d37f40a382d6f1666a8e5c6" 2067 | 2068 | parseurl@~1.3.1, parseurl@~1.3.2: 2069 | version "1.3.2" 2070 | resolved "https://registry.yarnpkg.com/parseurl/-/parseurl-1.3.2.tgz#fc289d4ed8993119460c156253262cdc8de65bf3" 2071 | 2072 | path-is-absolute@^1.0.0: 2073 | version "1.0.1" 2074 | resolved "https://registry.yarnpkg.com/path-is-absolute/-/path-is-absolute-1.0.1.tgz#174b9268735534ffbc7ace6bf53a5a9e1b5c5f5f" 2075 | 2076 | path-is-inside@^1.0.1, path-is-inside@^1.0.2: 2077 | version "1.0.2" 2078 | resolved "https://registry.yarnpkg.com/path-is-inside/-/path-is-inside-1.0.2.tgz#365417dede44430d1c11af61027facf074bdfc53" 2079 | 2080 | path-key@^2.0.0: 2081 | version "2.0.1" 2082 | resolved "https://registry.yarnpkg.com/path-key/-/path-key-2.0.1.tgz#411cadb574c5a140d3a4b1910d40d80cc9f40b40" 2083 | 2084 | path-parse@^1.0.5: 2085 | version "1.0.5" 2086 | resolved "https://registry.yarnpkg.com/path-parse/-/path-parse-1.0.5.tgz#3c1adf871ea9cd6c9431b6ea2bd74a0ff055c4c1" 2087 | 2088 | path-to-regexp@0.1.7: 2089 | version "0.1.7" 2090 | resolved "https://registry.yarnpkg.com/path-to-regexp/-/path-to-regexp-0.1.7.tgz#df604178005f522f15eb4490e7247a1bfaa67f8c" 2091 | 2092 | path-to-regexp@^2.0.0: 2093 | version "2.1.0" 2094 | resolved "https://registry.yarnpkg.com/path-to-regexp/-/path-to-regexp-2.1.0.tgz#7e30f9f5b134bd6a28ffc2e3ef1e47075ac5259b" 2095 | 2096 | pathval@^1.0.0: 2097 | version "1.1.0" 2098 | resolved "https://registry.yarnpkg.com/pathval/-/pathval-1.1.0.tgz#b942e6d4bde653005ef6b71361def8727d0645e0" 2099 | 2100 | pend@~1.2.0: 2101 | version "1.2.0" 2102 | resolved "https://registry.yarnpkg.com/pend/-/pend-1.2.0.tgz#7a57eb550a6783f9115331fcf4663d5c8e007a50" 2103 | 2104 | performance-now@^0.2.0: 2105 | version "0.2.0" 2106 | resolved "https://registry.yarnpkg.com/performance-now/-/performance-now-0.2.0.tgz#33ef30c5c77d4ea21c5a53869d91b56d8f2555e5" 2107 | 2108 | performance-now@^2.1.0: 2109 | version "2.1.0" 2110 | resolved "https://registry.yarnpkg.com/performance-now/-/performance-now-2.1.0.tgz#6309f4e0e5fa913ec1c69307ae364b4b377c9e7b" 2111 | 2112 | pify@^2.0.0, pify@^2.3.0: 2113 | version "2.3.0" 2114 | resolved "https://registry.yarnpkg.com/pify/-/pify-2.3.0.tgz#ed141a6ac043a849ea588498e7dca8b15330e90c" 2115 | 2116 | pify@^3.0.0: 2117 | version "3.0.0" 2118 | resolved "https://registry.yarnpkg.com/pify/-/pify-3.0.0.tgz#e5a4acd2c101fdf3d9a4d07f0dbc4db49dd28176" 2119 | 2120 | pinkie-promise@^2.0.0: 2121 | version "2.0.1" 2122 | resolved "https://registry.yarnpkg.com/pinkie-promise/-/pinkie-promise-2.0.1.tgz#2135d6dfa7a358c069ac9b178776288228450ffa" 2123 | dependencies: 2124 | pinkie "^2.0.0" 2125 | 2126 | pinkie@^2.0.0: 2127 | version "2.0.4" 2128 | resolved "https://registry.yarnpkg.com/pinkie/-/pinkie-2.0.4.tgz#72556b80cfa0d48a974e80e77248e80ed4f7f870" 2129 | 2130 | pluralize@^7.0.0: 2131 | version "7.0.0" 2132 | resolved "https://registry.yarnpkg.com/pluralize/-/pluralize-7.0.0.tgz#298b89df8b93b0221dbf421ad2b1b1ea23fc6777" 2133 | 2134 | pretty-format@^21.2.1: 2135 | version "21.2.1" 2136 | resolved "https://registry.yarnpkg.com/pretty-format/-/pretty-format-21.2.1.tgz#ae5407f3cf21066cd011aa1ba5fce7b6a2eddb36" 2137 | dependencies: 2138 | ansi-regex "^3.0.0" 2139 | ansi-styles "^3.2.0" 2140 | 2141 | process-nextick-args@~1.0.6: 2142 | version "1.0.7" 2143 | resolved "https://registry.yarnpkg.com/process-nextick-args/-/process-nextick-args-1.0.7.tgz#150e20b756590ad3f91093f25a4f2ad8bff30ba3" 2144 | 2145 | progress@^2.0.0: 2146 | version "2.0.0" 2147 | resolved "https://registry.yarnpkg.com/progress/-/progress-2.0.0.tgz#8a1be366bf8fc23db2bd23f10c6fe920b4389d1f" 2148 | 2149 | promise@^7.1.1: 2150 | version "7.3.1" 2151 | resolved "https://registry.yarnpkg.com/promise/-/promise-7.3.1.tgz#064b72602b18f90f29192b8b1bc418ffd1ebd3bf" 2152 | dependencies: 2153 | asap "~2.0.3" 2154 | 2155 | promptly@^2.2.0: 2156 | version "2.2.0" 2157 | resolved "https://registry.yarnpkg.com/promptly/-/promptly-2.2.0.tgz#2a13fa063688a2a5983b161fff0108a07d26fc74" 2158 | dependencies: 2159 | read "^1.0.4" 2160 | 2161 | prop-types@^15.5.10: 2162 | version "15.6.0" 2163 | resolved "https://registry.yarnpkg.com/prop-types/-/prop-types-15.6.0.tgz#ceaf083022fc46b4a35f69e13ef75aed0d639856" 2164 | dependencies: 2165 | fbjs "^0.8.16" 2166 | loose-envify "^1.3.1" 2167 | object-assign "^4.1.1" 2168 | 2169 | proxy-addr@~1.1.4: 2170 | version "1.1.5" 2171 | resolved "https://registry.yarnpkg.com/proxy-addr/-/proxy-addr-1.1.5.tgz#71c0ee3b102de3f202f3b64f608d173fcba1a918" 2172 | dependencies: 2173 | forwarded "~0.1.0" 2174 | ipaddr.js "1.4.0" 2175 | 2176 | pseudomap@^1.0.2: 2177 | version "1.0.2" 2178 | resolved "https://registry.yarnpkg.com/pseudomap/-/pseudomap-1.0.2.tgz#f052a28da70e618917ef0a8ac34c1ae5a68286b3" 2179 | 2180 | punycode@^1.4.1: 2181 | version "1.4.1" 2182 | resolved "https://registry.yarnpkg.com/punycode/-/punycode-1.4.1.tgz#c0d5a63b2718800ad8e1eb0fa5269c84dd41845e" 2183 | 2184 | qs@6.4.0, qs@~6.4.0: 2185 | version "6.4.0" 2186 | resolved "https://registry.yarnpkg.com/qs/-/qs-6.4.0.tgz#13e26d28ad6b0ffaa91312cd3bf708ed351e7233" 2187 | 2188 | qs@6.5.1, qs@^6.1.0, qs@^6.5.1, qs@~6.5.1: 2189 | version "6.5.1" 2190 | resolved "https://registry.yarnpkg.com/qs/-/qs-6.5.1.tgz#349cdf6eef89ec45c12d7d5eb3fc0c870343a6d8" 2191 | 2192 | querystringify@~1.0.0: 2193 | version "1.0.0" 2194 | resolved "https://registry.yarnpkg.com/querystringify/-/querystringify-1.0.0.tgz#6286242112c5b712fa654e526652bf6a13ff05cb" 2195 | 2196 | range-parser@~1.2.0: 2197 | version "1.2.0" 2198 | resolved "https://registry.yarnpkg.com/range-parser/-/range-parser-1.2.0.tgz#f49be6b487894ddc40dcc94a322f611092e00d5e" 2199 | 2200 | raw-body@2.3.2: 2201 | version "2.3.2" 2202 | resolved "https://registry.yarnpkg.com/raw-body/-/raw-body-2.3.2.tgz#bcd60c77d3eb93cde0050295c3f379389bc88f89" 2203 | dependencies: 2204 | bytes "3.0.0" 2205 | http-errors "1.6.2" 2206 | iconv-lite "0.4.19" 2207 | unpipe "1.0.0" 2208 | 2209 | rc@^1.1.7: 2210 | version "1.2.2" 2211 | resolved "https://registry.yarnpkg.com/rc/-/rc-1.2.2.tgz#d8ce9cb57e8d64d9c7badd9876c7c34cbe3c7077" 2212 | dependencies: 2213 | deep-extend "~0.4.0" 2214 | ini "~1.3.0" 2215 | minimist "^1.2.0" 2216 | strip-json-comments "~2.0.1" 2217 | 2218 | read@^1.0.4: 2219 | version "1.0.7" 2220 | resolved "https://registry.yarnpkg.com/read/-/read-1.0.7.tgz#b3da19bd052431a97671d44a42634adf710b40c4" 2221 | dependencies: 2222 | mute-stream "~0.0.4" 2223 | 2224 | readable-stream@^2.0.0, readable-stream@^2.0.5, readable-stream@^2.0.6, readable-stream@^2.1.4, readable-stream@^2.2.2: 2225 | version "2.3.3" 2226 | resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-2.3.3.tgz#368f2512d79f9d46fdfc71349ae7878bbc1eb95c" 2227 | dependencies: 2228 | core-util-is "~1.0.0" 2229 | inherits "~2.0.3" 2230 | isarray "~1.0.0" 2231 | process-nextick-args "~1.0.6" 2232 | safe-buffer "~5.1.1" 2233 | string_decoder "~1.0.3" 2234 | util-deprecate "~1.0.1" 2235 | 2236 | realm-object-server@^2.1.0: 2237 | version "2.2.0" 2238 | resolved "https://registry.yarnpkg.com/realm-object-server/-/realm-object-server-2.2.0.tgz#eb0e78a8886c417267d23cbf43b98fa2cfc0b1cc" 2239 | dependencies: 2240 | "@types/bcrypt" "^1.0.0" 2241 | "@types/body-parser" "^1.16.4" 2242 | "@types/colors" "^1.1.3" 2243 | "@types/commander" "^2.9.2" 2244 | "@types/del" "^3.0.0" 2245 | "@types/express" "4.0.37" 2246 | "@types/faker" "^4.1.0" 2247 | "@types/fs-extra" ">=4.0.2" 2248 | "@types/http-proxy" "^1.12.1" 2249 | "@types/jsonwebtoken" "^7.2.3" 2250 | "@types/lodash" "^4.14.76" 2251 | "@types/morgan" "^1.7.32" 2252 | "@types/promptly" "^1.1.28" 2253 | "@types/proxyquire" "^1.3.28" 2254 | "@types/superagent" "^3.5.5" 2255 | "@types/tmp" "0.0.33" 2256 | "@types/urijs" "^1.15.34" 2257 | "@types/uuid" "^3.4.0" 2258 | "@types/uws" "^0.13.0" 2259 | JSONStream "1.3.1" 2260 | bcrypt "^1.0.2" 2261 | body-parser "^1.17.2" 2262 | circular-buffer "^1.0.2" 2263 | cli-spinner "^0.2.7" 2264 | colors "^1.1.2" 2265 | commander "^2.11.0" 2266 | express "^4.15.3" 2267 | fs-extra "^4.0.1" 2268 | http-proxy "^1.16.2" 2269 | jsonwebtoken "^7.4.2" 2270 | lodash "^4.17.4" 2271 | minimist "^1.2.0" 2272 | mixpanel "^0.7.0" 2273 | moment "^2.18.1" 2274 | morgan "^1.8.2" 2275 | node-rsa "^0.4.2" 2276 | npm-which "^3.0.1" 2277 | path-to-regexp "^2.0.0" 2278 | promptly "^2.2.0" 2279 | realm "2.0.13" 2280 | realm-one "1.12.0" 2281 | realm-sync-server "https://s3.amazonaws.com/static.realm.io/downloads/node/realm-sync-server-2.1.8.tgz" 2282 | resolve "^1.5.0" 2283 | resolve-bin "^0.4.0" 2284 | semver "^5.4.1" 2285 | superagent "^3.6.0" 2286 | tmp "0.0.33" 2287 | urijs "^1.18.12" 2288 | uuid "^3.1.0" 2289 | uws "^8.14.1" 2290 | winston "^2.4.0" 2291 | 2292 | realm-one@1.12.0: 2293 | version "1.12.0" 2294 | resolved "https://registry.yarnpkg.com/realm-one/-/realm-one-1.12.0.tgz#5d49eed0b59cf4952a863d33ef3bb325acbc1946" 2295 | dependencies: 2296 | realm "1.12.0" 2297 | 2298 | "realm-sync-server@https://s3.amazonaws.com/static.realm.io/downloads/node/realm-sync-server-2.1.8.tgz": 2299 | version "2.1.8" 2300 | resolved "https://s3.amazonaws.com/static.realm.io/downloads/node/realm-sync-server-2.1.8.tgz#7cf0e0c69eac1c9140248fde55b453846b18c99f" 2301 | 2302 | realm@1.12.0: 2303 | version "1.12.0" 2304 | resolved "https://registry.yarnpkg.com/realm/-/realm-1.12.0.tgz#3e5e654cbc07ddf534b886e63cdf2e735cf89fbd" 2305 | dependencies: 2306 | extract-zip "^1.6.0" 2307 | ini "^1.3.4" 2308 | nan "^2.3.3" 2309 | node-fetch "^1.6.3" 2310 | node-pre-gyp "^0.6.30" 2311 | prop-types "^15.5.10" 2312 | request "^2.78.0" 2313 | sync-request "^3.0.1" 2314 | url-parse "^1.1.7" 2315 | 2316 | realm@2.0.13: 2317 | version "2.0.13" 2318 | resolved "https://registry.yarnpkg.com/realm/-/realm-2.0.13.tgz#ac4f71db727639f6763635d5d3014b8c63c0099a" 2319 | dependencies: 2320 | command-line-args "^4.0.6" 2321 | decompress "^4.2.0" 2322 | decompress-tarxz "^2.1.1" 2323 | fs-extra "^4.0.2" 2324 | ini "^1.3.4" 2325 | nan "^2.3.3" 2326 | node-fetch "^1.6.3" 2327 | node-pre-gyp "^0.6.36" 2328 | progress "^2.0.0" 2329 | prop-types "^15.5.10" 2330 | request "^2.78.0" 2331 | stream-counter "^1.0.0" 2332 | sync-request "^3.0.1" 2333 | url-parse "^1.1.7" 2334 | 2335 | reconnecting-websocket@^3.2.2: 2336 | version "3.2.2" 2337 | resolved "https://registry.yarnpkg.com/reconnecting-websocket/-/reconnecting-websocket-3.2.2.tgz#8097514e926e9855e03c39e76efa2e3d1f371bee" 2338 | 2339 | repeating@^2.0.0: 2340 | version "2.0.1" 2341 | resolved "https://registry.yarnpkg.com/repeating/-/repeating-2.0.1.tgz#5214c53a926d3552707527fbab415dbc08d06dda" 2342 | dependencies: 2343 | is-finite "^1.0.0" 2344 | 2345 | request@2.81.0: 2346 | version "2.81.0" 2347 | resolved "https://registry.yarnpkg.com/request/-/request-2.81.0.tgz#c6928946a0e06c5f8d6f8a9333469ffda46298a0" 2348 | dependencies: 2349 | aws-sign2 "~0.6.0" 2350 | aws4 "^1.2.1" 2351 | caseless "~0.12.0" 2352 | combined-stream "~1.0.5" 2353 | extend "~3.0.0" 2354 | forever-agent "~0.6.1" 2355 | form-data "~2.1.1" 2356 | har-validator "~4.2.1" 2357 | hawk "~3.1.3" 2358 | http-signature "~1.1.0" 2359 | is-typedarray "~1.0.0" 2360 | isstream "~0.1.2" 2361 | json-stringify-safe "~5.0.1" 2362 | mime-types "~2.1.7" 2363 | oauth-sign "~0.8.1" 2364 | performance-now "^0.2.0" 2365 | qs "~6.4.0" 2366 | safe-buffer "^5.0.1" 2367 | stringstream "~0.0.4" 2368 | tough-cookie "~2.3.0" 2369 | tunnel-agent "^0.6.0" 2370 | uuid "^3.0.0" 2371 | 2372 | request@^2.78.0, request@^2.81.0: 2373 | version "2.83.0" 2374 | resolved "https://registry.yarnpkg.com/request/-/request-2.83.0.tgz#ca0b65da02ed62935887808e6f510381034e3356" 2375 | dependencies: 2376 | aws-sign2 "~0.7.0" 2377 | aws4 "^1.6.0" 2378 | caseless "~0.12.0" 2379 | combined-stream "~1.0.5" 2380 | extend "~3.0.1" 2381 | forever-agent "~0.6.1" 2382 | form-data "~2.3.1" 2383 | har-validator "~5.0.3" 2384 | hawk "~6.0.2" 2385 | http-signature "~1.2.0" 2386 | is-typedarray "~1.0.0" 2387 | isstream "~0.1.2" 2388 | json-stringify-safe "~5.0.1" 2389 | mime-types "~2.1.17" 2390 | oauth-sign "~0.8.2" 2391 | performance-now "^2.1.0" 2392 | qs "~6.5.1" 2393 | safe-buffer "^5.1.1" 2394 | stringstream "~0.0.5" 2395 | tough-cookie "~2.3.3" 2396 | tunnel-agent "^0.6.0" 2397 | uuid "^3.1.0" 2398 | 2399 | require-from-string@^2.0.1: 2400 | version "2.0.1" 2401 | resolved "https://registry.yarnpkg.com/require-from-string/-/require-from-string-2.0.1.tgz#c545233e9d7da6616e9d59adfb39fc9f588676ff" 2402 | 2403 | requires-port@1.x.x, requires-port@~1.0.0: 2404 | version "1.0.0" 2405 | resolved "https://registry.yarnpkg.com/requires-port/-/requires-port-1.0.0.tgz#925d2601d39ac485e091cf0da5c6e694dc3dcaff" 2406 | 2407 | resolve-bin@^0.4.0: 2408 | version "0.4.0" 2409 | resolved "https://registry.yarnpkg.com/resolve-bin/-/resolve-bin-0.4.0.tgz#47132249891101afb19991fe937cb0a5f072e5d9" 2410 | dependencies: 2411 | find-parent-dir "~0.3.0" 2412 | 2413 | resolve@^1.3.2, resolve@^1.5.0: 2414 | version "1.5.0" 2415 | resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.5.0.tgz#1f09acce796c9a762579f31b2c1cc4c3cddf9f36" 2416 | dependencies: 2417 | path-parse "^1.0.5" 2418 | 2419 | restore-cursor@^1.0.1: 2420 | version "1.0.1" 2421 | resolved "https://registry.yarnpkg.com/restore-cursor/-/restore-cursor-1.0.1.tgz#34661f46886327fed2991479152252df92daa541" 2422 | dependencies: 2423 | exit-hook "^1.0.0" 2424 | onetime "^1.0.0" 2425 | 2426 | rimraf@2, rimraf@^2.2.8, rimraf@^2.5.1, rimraf@^2.6.1: 2427 | version "2.6.2" 2428 | resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-2.6.2.tgz#2ed8150d24a16ea8651e6d6ef0f47c4158ce7a36" 2429 | dependencies: 2430 | glob "^7.0.5" 2431 | 2432 | rxjs@^5.4.2: 2433 | version "5.5.3" 2434 | resolved "https://registry.yarnpkg.com/rxjs/-/rxjs-5.5.3.tgz#b62227e74b84f4e77bdf440e50b5ee01a1bc7dcd" 2435 | dependencies: 2436 | symbol-observable "^1.0.1" 2437 | 2438 | safe-buffer@5.1.1, safe-buffer@^5.0.1, safe-buffer@^5.1.1, safe-buffer@~5.1.0, safe-buffer@~5.1.1: 2439 | version "5.1.1" 2440 | resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.1.1.tgz#893312af69b2123def71f57889001671eeb2c853" 2441 | 2442 | seek-bzip@^1.0.5: 2443 | version "1.0.5" 2444 | resolved "https://registry.yarnpkg.com/seek-bzip/-/seek-bzip-1.0.5.tgz#cfe917cb3d274bcffac792758af53173eb1fabdc" 2445 | dependencies: 2446 | commander "~2.8.1" 2447 | 2448 | semver@^5.3.0, semver@^5.4.1: 2449 | version "5.4.1" 2450 | resolved "https://registry.yarnpkg.com/semver/-/semver-5.4.1.tgz#e059c09d8571f0540823733433505d3a2f00b18e" 2451 | 2452 | semver@~5.0.1: 2453 | version "5.0.3" 2454 | resolved "https://registry.yarnpkg.com/semver/-/semver-5.0.3.tgz#77466de589cd5d3c95f138aa78bc569a3cb5d27a" 2455 | 2456 | send@0.15.3: 2457 | version "0.15.3" 2458 | resolved "https://registry.yarnpkg.com/send/-/send-0.15.3.tgz#5013f9f99023df50d1bd9892c19e3defd1d53309" 2459 | dependencies: 2460 | debug "2.6.7" 2461 | depd "~1.1.0" 2462 | destroy "~1.0.4" 2463 | encodeurl "~1.0.1" 2464 | escape-html "~1.0.3" 2465 | etag "~1.8.0" 2466 | fresh "0.5.0" 2467 | http-errors "~1.6.1" 2468 | mime "1.3.4" 2469 | ms "2.0.0" 2470 | on-finished "~2.3.0" 2471 | range-parser "~1.2.0" 2472 | statuses "~1.3.1" 2473 | 2474 | serve-static@1.12.3: 2475 | version "1.12.3" 2476 | resolved "https://registry.yarnpkg.com/serve-static/-/serve-static-1.12.3.tgz#9f4ba19e2f3030c547f8af99107838ec38d5b1e2" 2477 | dependencies: 2478 | encodeurl "~1.0.1" 2479 | escape-html "~1.0.3" 2480 | parseurl "~1.3.1" 2481 | send "0.15.3" 2482 | 2483 | set-blocking@~2.0.0: 2484 | version "2.0.0" 2485 | resolved "https://registry.yarnpkg.com/set-blocking/-/set-blocking-2.0.0.tgz#045f9782d011ae9a6803ddd382b24392b3d890f7" 2486 | 2487 | setimmediate@^1.0.5: 2488 | version "1.0.5" 2489 | resolved "https://registry.yarnpkg.com/setimmediate/-/setimmediate-1.0.5.tgz#290cbb232e306942d7d7ea9b83732ab7856f8285" 2490 | 2491 | setprototypeof@1.0.3: 2492 | version "1.0.3" 2493 | resolved "https://registry.yarnpkg.com/setprototypeof/-/setprototypeof-1.0.3.tgz#66567e37043eeb4f04d91bd658c0cbefb55b8e04" 2494 | 2495 | shebang-command@^1.2.0: 2496 | version "1.2.0" 2497 | resolved "https://registry.yarnpkg.com/shebang-command/-/shebang-command-1.2.0.tgz#44aac65b695b03398968c39f363fee5deafdf1ea" 2498 | dependencies: 2499 | shebang-regex "^1.0.0" 2500 | 2501 | shebang-regex@^1.0.0: 2502 | version "1.0.0" 2503 | resolved "https://registry.yarnpkg.com/shebang-regex/-/shebang-regex-1.0.0.tgz#da42f49740c0b42db2ca9728571cb190c98efea3" 2504 | 2505 | signal-exit@^3.0.0: 2506 | version "3.0.2" 2507 | resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-3.0.2.tgz#b5fdc08f1287ea1178628e415e25132b73646c6d" 2508 | 2509 | slice-ansi@0.0.4: 2510 | version "0.0.4" 2511 | resolved "https://registry.yarnpkg.com/slice-ansi/-/slice-ansi-0.0.4.tgz#edbf8903f66f7ce2f8eafd6ceed65e264c831b35" 2512 | 2513 | sntp@1.x.x: 2514 | version "1.0.9" 2515 | resolved "https://registry.yarnpkg.com/sntp/-/sntp-1.0.9.tgz#6541184cc90aeea6c6e7b35e2659082443c66198" 2516 | dependencies: 2517 | hoek "2.x.x" 2518 | 2519 | sntp@2.x.x: 2520 | version "2.1.0" 2521 | resolved "https://registry.yarnpkg.com/sntp/-/sntp-2.1.0.tgz#2c6cec14fedc2222739caf9b5c3d85d1cc5a2cc8" 2522 | dependencies: 2523 | hoek "4.x.x" 2524 | 2525 | source-map-support@^0.4.0: 2526 | version "0.4.18" 2527 | resolved "https://registry.yarnpkg.com/source-map-support/-/source-map-support-0.4.18.tgz#0286a6de8be42641338594e97ccea75f0a2c585f" 2528 | dependencies: 2529 | source-map "^0.5.6" 2530 | 2531 | source-map-support@^0.5.0: 2532 | version "0.5.0" 2533 | resolved "https://registry.yarnpkg.com/source-map-support/-/source-map-support-0.5.0.tgz#2018a7ad2bdf8faf2691e5fddab26bed5a2bacab" 2534 | dependencies: 2535 | source-map "^0.6.0" 2536 | 2537 | source-map@^0.5.6: 2538 | version "0.5.7" 2539 | resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.5.7.tgz#8a039d2d1021d22d1ea14c80d8ea468ba2ef3fcc" 2540 | 2541 | source-map@^0.6.0: 2542 | version "0.6.1" 2543 | resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.6.1.tgz#74722af32e9614e9c287a8d0bbde48b5e2f1a263" 2544 | 2545 | sprintf-js@~1.0.2: 2546 | version "1.0.3" 2547 | resolved "https://registry.yarnpkg.com/sprintf-js/-/sprintf-js-1.0.3.tgz#04e6926f662895354f3dd015203633b857297e2c" 2548 | 2549 | sshpk@^1.7.0: 2550 | version "1.13.1" 2551 | resolved "https://registry.yarnpkg.com/sshpk/-/sshpk-1.13.1.tgz#512df6da6287144316dc4c18fe1cf1d940739be3" 2552 | dependencies: 2553 | asn1 "~0.2.3" 2554 | assert-plus "^1.0.0" 2555 | dashdash "^1.12.0" 2556 | getpass "^0.1.1" 2557 | optionalDependencies: 2558 | bcrypt-pbkdf "^1.0.0" 2559 | ecc-jsbn "~0.1.1" 2560 | jsbn "~0.1.0" 2561 | tweetnacl "~0.14.0" 2562 | 2563 | stack-trace@0.0.x: 2564 | version "0.0.10" 2565 | resolved "https://registry.yarnpkg.com/stack-trace/-/stack-trace-0.0.10.tgz#547c70b347e8d32b4e108ea1a2a159e5fdde19c0" 2566 | 2567 | staged-git-files@0.0.4: 2568 | version "0.0.4" 2569 | resolved "https://registry.yarnpkg.com/staged-git-files/-/staged-git-files-0.0.4.tgz#d797e1b551ca7a639dec0237dc6eb4bb9be17d35" 2570 | 2571 | "statuses@>= 1.3.1 < 2": 2572 | version "1.4.0" 2573 | resolved "https://registry.yarnpkg.com/statuses/-/statuses-1.4.0.tgz#bb73d446da2796106efcc1b601a253d6c46bd087" 2574 | 2575 | statuses@~1.3.1: 2576 | version "1.3.1" 2577 | resolved "https://registry.yarnpkg.com/statuses/-/statuses-1.3.1.tgz#faf51b9eb74aaef3b3acf4ad5f61abf24cb7b93e" 2578 | 2579 | stream-counter@^1.0.0: 2580 | version "1.0.0" 2581 | resolved "https://registry.yarnpkg.com/stream-counter/-/stream-counter-1.0.0.tgz#91cf2569ce4dc5061febcd7acb26394a5a114751" 2582 | 2583 | stream-to-observable@^0.2.0: 2584 | version "0.2.0" 2585 | resolved "https://registry.yarnpkg.com/stream-to-observable/-/stream-to-observable-0.2.0.tgz#59d6ea393d87c2c0ddac10aa0d561bc6ba6f0e10" 2586 | dependencies: 2587 | any-observable "^0.2.0" 2588 | 2589 | string-width@^1.0.1, string-width@^1.0.2: 2590 | version "1.0.2" 2591 | resolved "https://registry.yarnpkg.com/string-width/-/string-width-1.0.2.tgz#118bdf5b8cdc51a2a7e70d211e07e2b0b9b107d3" 2592 | dependencies: 2593 | code-point-at "^1.0.0" 2594 | is-fullwidth-code-point "^1.0.0" 2595 | strip-ansi "^3.0.0" 2596 | 2597 | string_decoder@~1.0.3: 2598 | version "1.0.3" 2599 | resolved "https://registry.yarnpkg.com/string_decoder/-/string_decoder-1.0.3.tgz#0fc67d7c141825de94282dd536bec6b9bce860ab" 2600 | dependencies: 2601 | safe-buffer "~5.1.0" 2602 | 2603 | stringify-object@^3.2.0: 2604 | version "3.2.1" 2605 | resolved "https://registry.yarnpkg.com/stringify-object/-/stringify-object-3.2.1.tgz#2720c2eff940854c819f6ee252aaeb581f30624d" 2606 | dependencies: 2607 | get-own-enumerable-property-symbols "^2.0.1" 2608 | is-obj "^1.0.1" 2609 | is-regexp "^1.0.0" 2610 | 2611 | stringstream@~0.0.4, stringstream@~0.0.5: 2612 | version "0.0.5" 2613 | resolved "https://registry.yarnpkg.com/stringstream/-/stringstream-0.0.5.tgz#4e484cd4de5a0bbbee18e46307710a8a81621878" 2614 | 2615 | strip-ansi@^3.0.0, strip-ansi@^3.0.1: 2616 | version "3.0.1" 2617 | resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-3.0.1.tgz#6a385fb8853d952d5ff05d0e8aaf94278dc63dcf" 2618 | dependencies: 2619 | ansi-regex "^2.0.0" 2620 | 2621 | strip-bom@^3.0.0: 2622 | version "3.0.0" 2623 | resolved "https://registry.yarnpkg.com/strip-bom/-/strip-bom-3.0.0.tgz#2334c18e9c759f7bdd56fdef7e9ae3d588e68ed3" 2624 | 2625 | strip-dirs@^2.0.0: 2626 | version "2.1.0" 2627 | resolved "https://registry.yarnpkg.com/strip-dirs/-/strip-dirs-2.1.0.tgz#4987736264fc344cf20f6c34aca9d13d1d4ed6c5" 2628 | dependencies: 2629 | is-natural-number "^4.0.1" 2630 | 2631 | strip-eof@^1.0.0: 2632 | version "1.0.0" 2633 | resolved "https://registry.yarnpkg.com/strip-eof/-/strip-eof-1.0.0.tgz#bb43ff5598a6eb05d89b59fcd129c983313606bf" 2634 | 2635 | strip-indent@^2.0.0: 2636 | version "2.0.0" 2637 | resolved "https://registry.yarnpkg.com/strip-indent/-/strip-indent-2.0.0.tgz#5ef8db295d01e6ed6cbf7aab96998d7822527b68" 2638 | 2639 | strip-json-comments@^2.0.0, strip-json-comments@~2.0.1: 2640 | version "2.0.1" 2641 | resolved "https://registry.yarnpkg.com/strip-json-comments/-/strip-json-comments-2.0.1.tgz#3c531942e908c2697c0ec344858c286c7ca0a60a" 2642 | 2643 | subscriptions-transport-ws@^0.9.1: 2644 | version "0.9.4" 2645 | resolved "https://registry.yarnpkg.com/subscriptions-transport-ws/-/subscriptions-transport-ws-0.9.4.tgz#2671c7339c17389c0ff47c73cd749949576d3dd5" 2646 | dependencies: 2647 | backo2 "^1.0.2" 2648 | eventemitter3 "^2.0.3" 2649 | is-promise "^2.1.0" 2650 | iterall "^1.1.1" 2651 | lodash.assign "^4.2.0" 2652 | lodash.isobject "^3.0.2" 2653 | lodash.isstring "^4.0.1" 2654 | symbol-observable "^1.0.4" 2655 | ws "^3.0.0" 2656 | 2657 | superagent@^3.6.0, superagent@^3.8.1: 2658 | version "3.8.1" 2659 | resolved "https://registry.yarnpkg.com/superagent/-/superagent-3.8.1.tgz#2571fd921f3fcdba43ac68c3b35c91951532701f" 2660 | dependencies: 2661 | component-emitter "^1.2.0" 2662 | cookiejar "^2.1.0" 2663 | debug "^3.1.0" 2664 | extend "^3.0.0" 2665 | form-data "^2.3.1" 2666 | formidable "^1.1.1" 2667 | methods "^1.1.1" 2668 | mime "^1.4.1" 2669 | qs "^6.5.1" 2670 | readable-stream "^2.0.5" 2671 | 2672 | supports-color@4.4.0: 2673 | version "4.4.0" 2674 | resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-4.4.0.tgz#883f7ddabc165142b2a61427f3352ded195d1a3e" 2675 | dependencies: 2676 | has-flag "^2.0.0" 2677 | 2678 | supports-color@^2.0.0: 2679 | version "2.0.0" 2680 | resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-2.0.0.tgz#535d045ce6b6363fa40117084629995e9df324c7" 2681 | 2682 | supports-color@^4.0.0: 2683 | version "4.5.0" 2684 | resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-4.5.0.tgz#be7a0de484dec5c5cddf8b3d59125044912f635b" 2685 | dependencies: 2686 | has-flag "^2.0.0" 2687 | 2688 | symbol-observable@^0.2.2: 2689 | version "0.2.4" 2690 | resolved "https://registry.yarnpkg.com/symbol-observable/-/symbol-observable-0.2.4.tgz#95a83db26186d6af7e7a18dbd9760a2f86d08f40" 2691 | 2692 | symbol-observable@^1.0.1, symbol-observable@^1.0.4: 2693 | version "1.1.0" 2694 | resolved "https://registry.yarnpkg.com/symbol-observable/-/symbol-observable-1.1.0.tgz#5c68fd8d54115d9dfb72a84720549222e8db9b32" 2695 | 2696 | sync-request@^3.0.1: 2697 | version "3.0.1" 2698 | resolved "https://registry.yarnpkg.com/sync-request/-/sync-request-3.0.1.tgz#caa1235aaf889ba501076a1834c436830a82fb73" 2699 | dependencies: 2700 | concat-stream "^1.4.7" 2701 | http-response-object "^1.0.1" 2702 | then-request "^2.0.1" 2703 | 2704 | tar-pack@^3.4.0: 2705 | version "3.4.1" 2706 | resolved "https://registry.yarnpkg.com/tar-pack/-/tar-pack-3.4.1.tgz#e1dbc03a9b9d3ba07e896ad027317eb679a10a1f" 2707 | dependencies: 2708 | debug "^2.2.0" 2709 | fstream "^1.0.10" 2710 | fstream-ignore "^1.0.5" 2711 | once "^1.3.3" 2712 | readable-stream "^2.1.4" 2713 | rimraf "^2.5.1" 2714 | tar "^2.2.1" 2715 | uid-number "^0.0.6" 2716 | 2717 | tar-stream@^1.5.2: 2718 | version "1.5.5" 2719 | resolved "https://registry.yarnpkg.com/tar-stream/-/tar-stream-1.5.5.tgz#5cad84779f45c83b1f2508d96b09d88c7218af55" 2720 | dependencies: 2721 | bl "^1.0.0" 2722 | end-of-stream "^1.0.0" 2723 | readable-stream "^2.0.0" 2724 | xtend "^4.0.0" 2725 | 2726 | tar@^2.2.1: 2727 | version "2.2.1" 2728 | resolved "https://registry.yarnpkg.com/tar/-/tar-2.2.1.tgz#8e4d2a256c0e2185c6b18ad694aec968b83cb1d1" 2729 | dependencies: 2730 | block-stream "*" 2731 | fstream "^1.0.2" 2732 | inherits "2" 2733 | 2734 | test-value@^2.1.0: 2735 | version "2.1.0" 2736 | resolved "https://registry.yarnpkg.com/test-value/-/test-value-2.1.0.tgz#11da6ff670f3471a73b625ca4f3fdcf7bb748291" 2737 | dependencies: 2738 | array-back "^1.0.3" 2739 | typical "^2.6.0" 2740 | 2741 | then-request@^2.0.1: 2742 | version "2.2.0" 2743 | resolved "https://registry.yarnpkg.com/then-request/-/then-request-2.2.0.tgz#6678b32fa0ca218fe569981bbd8871b594060d81" 2744 | dependencies: 2745 | caseless "~0.11.0" 2746 | concat-stream "^1.4.7" 2747 | http-basic "^2.5.1" 2748 | http-response-object "^1.1.0" 2749 | promise "^7.1.1" 2750 | qs "^6.1.0" 2751 | 2752 | "through@>=2.2.7 <3", through@^2.3.6: 2753 | version "2.3.8" 2754 | resolved "https://registry.yarnpkg.com/through/-/through-2.3.8.tgz#0dd4c9ffaabc357960b1b724115d7e0e86a2e1f5" 2755 | 2756 | tmp@0.0.33: 2757 | version "0.0.33" 2758 | resolved "https://registry.yarnpkg.com/tmp/-/tmp-0.0.33.tgz#6d34335889768d21b2bcda0aa277ced3b1bfadf9" 2759 | dependencies: 2760 | os-tmpdir "~1.0.2" 2761 | 2762 | topo@1.x.x: 2763 | version "1.1.0" 2764 | resolved "https://registry.yarnpkg.com/topo/-/topo-1.1.0.tgz#e9d751615d1bb87dc865db182fa1ca0a5ef536d5" 2765 | dependencies: 2766 | hoek "2.x.x" 2767 | 2768 | tough-cookie@~2.3.0, tough-cookie@~2.3.3: 2769 | version "2.3.3" 2770 | resolved "https://registry.yarnpkg.com/tough-cookie/-/tough-cookie-2.3.3.tgz#0b618a5565b6dea90bf3425d04d55edc475a7561" 2771 | dependencies: 2772 | punycode "^1.4.1" 2773 | 2774 | ts-node@^3.3.0: 2775 | version "3.3.0" 2776 | resolved "https://registry.yarnpkg.com/ts-node/-/ts-node-3.3.0.tgz#c13c6a3024e30be1180dd53038fc209289d4bf69" 2777 | dependencies: 2778 | arrify "^1.0.0" 2779 | chalk "^2.0.0" 2780 | diff "^3.1.0" 2781 | make-error "^1.1.1" 2782 | minimist "^1.2.0" 2783 | mkdirp "^0.5.1" 2784 | source-map-support "^0.4.0" 2785 | tsconfig "^6.0.0" 2786 | v8flags "^3.0.0" 2787 | yn "^2.0.0" 2788 | 2789 | tsconfig@^6.0.0: 2790 | version "6.0.0" 2791 | resolved "https://registry.yarnpkg.com/tsconfig/-/tsconfig-6.0.0.tgz#6b0e8376003d7af1864f8df8f89dd0059ffcd032" 2792 | dependencies: 2793 | strip-bom "^3.0.0" 2794 | strip-json-comments "^2.0.0" 2795 | 2796 | tslib@^1.0.0, tslib@^1.7.1: 2797 | version "1.8.0" 2798 | resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.8.0.tgz#dc604ebad64bcbf696d613da6c954aa0e7ea1eb6" 2799 | 2800 | tslint-eslint-rules@^4.1.1: 2801 | version "4.1.1" 2802 | resolved "https://registry.yarnpkg.com/tslint-eslint-rules/-/tslint-eslint-rules-4.1.1.tgz#7c30e7882f26bc276bff91d2384975c69daf88ba" 2803 | dependencies: 2804 | doctrine "^0.7.2" 2805 | tslib "^1.0.0" 2806 | tsutils "^1.4.0" 2807 | 2808 | tslint@^5.8.0: 2809 | version "5.8.0" 2810 | resolved "https://registry.yarnpkg.com/tslint/-/tslint-5.8.0.tgz#1f49ad5b2e77c76c3af4ddcae552ae4e3612eb13" 2811 | dependencies: 2812 | babel-code-frame "^6.22.0" 2813 | builtin-modules "^1.1.1" 2814 | chalk "^2.1.0" 2815 | commander "^2.9.0" 2816 | diff "^3.2.0" 2817 | glob "^7.1.1" 2818 | minimatch "^3.0.4" 2819 | resolve "^1.3.2" 2820 | semver "^5.3.0" 2821 | tslib "^1.7.1" 2822 | tsutils "^2.12.1" 2823 | 2824 | tsutils@^1.4.0: 2825 | version "1.9.1" 2826 | resolved "https://registry.yarnpkg.com/tsutils/-/tsutils-1.9.1.tgz#b9f9ab44e55af9681831d5f28d0aeeaf5c750cb0" 2827 | 2828 | tsutils@^2.12.1: 2829 | version "2.13.0" 2830 | resolved "https://registry.yarnpkg.com/tsutils/-/tsutils-2.13.0.tgz#0f52b6aabbc4216e72796b66db028c6cf173e144" 2831 | dependencies: 2832 | tslib "^1.7.1" 2833 | 2834 | tunnel-agent@^0.6.0: 2835 | version "0.6.0" 2836 | resolved "https://registry.yarnpkg.com/tunnel-agent/-/tunnel-agent-0.6.0.tgz#27a5dea06b36b04a0a9966774b290868f0fc40fd" 2837 | dependencies: 2838 | safe-buffer "^5.0.1" 2839 | 2840 | tweetnacl@^0.14.3, tweetnacl@~0.14.0: 2841 | version "0.14.5" 2842 | resolved "https://registry.yarnpkg.com/tweetnacl/-/tweetnacl-0.14.5.tgz#5ae68177f192d4456269d108afa93ff8743f4f64" 2843 | 2844 | type-detect@^4.0.0: 2845 | version "4.0.5" 2846 | resolved "https://registry.yarnpkg.com/type-detect/-/type-detect-4.0.5.tgz#d70e5bc81db6de2a381bcaca0c6e0cbdc7635de2" 2847 | 2848 | type-is@~1.6.15: 2849 | version "1.6.15" 2850 | resolved "https://registry.yarnpkg.com/type-is/-/type-is-1.6.15.tgz#cab10fb4909e441c82842eafe1ad646c81804410" 2851 | dependencies: 2852 | media-typer "0.3.0" 2853 | mime-types "~2.1.15" 2854 | 2855 | typedarray@^0.0.6: 2856 | version "0.0.6" 2857 | resolved "https://registry.yarnpkg.com/typedarray/-/typedarray-0.0.6.tgz#867ac74e3864187b1d3d47d996a78ec5c8830777" 2858 | 2859 | typescript@^2.6.1: 2860 | version "2.6.2" 2861 | resolved "https://registry.yarnpkg.com/typescript/-/typescript-2.6.2.tgz#3c5b6fd7f6de0914269027f03c0946758f7673a4" 2862 | 2863 | typical@^2.6.0, typical@^2.6.1: 2864 | version "2.6.1" 2865 | resolved "https://registry.yarnpkg.com/typical/-/typical-2.6.1.tgz#5c080e5d661cbbe38259d2e70a3c7253e873881d" 2866 | 2867 | ua-parser-js@^0.7.9: 2868 | version "0.7.17" 2869 | resolved "https://registry.yarnpkg.com/ua-parser-js/-/ua-parser-js-0.7.17.tgz#e9ec5f9498b9ec910e7ae3ac626a805c4d09ecac" 2870 | 2871 | uid-number@^0.0.6: 2872 | version "0.0.6" 2873 | resolved "https://registry.yarnpkg.com/uid-number/-/uid-number-0.0.6.tgz#0ea10e8035e8eb5b8e4449f06da1c730663baa81" 2874 | 2875 | ultron@~1.1.0: 2876 | version "1.1.1" 2877 | resolved "https://registry.yarnpkg.com/ultron/-/ultron-1.1.1.tgz#9fe1536a10a664a65266a1e3ccf85fd36302bc9c" 2878 | 2879 | unbzip2-stream@^1.0.9: 2880 | version "1.2.5" 2881 | resolved "https://registry.yarnpkg.com/unbzip2-stream/-/unbzip2-stream-1.2.5.tgz#73a033a567bbbde59654b193c44d48a7e4f43c47" 2882 | dependencies: 2883 | buffer "^3.0.1" 2884 | through "^2.3.6" 2885 | 2886 | universalify@^0.1.0: 2887 | version "0.1.1" 2888 | resolved "https://registry.yarnpkg.com/universalify/-/universalify-0.1.1.tgz#fa71badd4437af4c148841e3b3b165f9e9e590b7" 2889 | 2890 | unpipe@1.0.0, unpipe@~1.0.0: 2891 | version "1.0.0" 2892 | resolved "https://registry.yarnpkg.com/unpipe/-/unpipe-1.0.0.tgz#b2bf4ee8514aae6165b4817829d21b2ef49904ec" 2893 | 2894 | urijs@^1.18.12, urijs@^1.19.0: 2895 | version "1.19.0" 2896 | resolved "https://registry.yarnpkg.com/urijs/-/urijs-1.19.0.tgz#d8aa284d0e7469703a6988ad045c4cbfdf08ada0" 2897 | 2898 | url-parse@^1.1.7: 2899 | version "1.2.0" 2900 | resolved "https://registry.yarnpkg.com/url-parse/-/url-parse-1.2.0.tgz#3a19e8aaa6d023ddd27dcc44cb4fc8f7fec23986" 2901 | dependencies: 2902 | querystringify "~1.0.0" 2903 | requires-port "~1.0.0" 2904 | 2905 | util-deprecate@~1.0.1: 2906 | version "1.0.2" 2907 | resolved "https://registry.yarnpkg.com/util-deprecate/-/util-deprecate-1.0.2.tgz#450d4dc9fa70de732762fbd2d4a28981419a0ccf" 2908 | 2909 | utils-merge@1.0.0: 2910 | version "1.0.0" 2911 | resolved "https://registry.yarnpkg.com/utils-merge/-/utils-merge-1.0.0.tgz#0294fb922bb9375153541c4f7096231f287c8af8" 2912 | 2913 | uuid@^3.0.0, uuid@^3.1.0: 2914 | version "3.1.0" 2915 | resolved "https://registry.yarnpkg.com/uuid/-/uuid-3.1.0.tgz#3dd3d3e790abc24d7b0d3a034ffababe28ebbc04" 2916 | 2917 | uws@^8.14.1: 2918 | version "8.14.1" 2919 | resolved "https://registry.yarnpkg.com/uws/-/uws-8.14.1.tgz#de09619f305f6174d5516a9c6942cb120904b20b" 2920 | 2921 | v8flags@^3.0.0: 2922 | version "3.0.1" 2923 | resolved "https://registry.yarnpkg.com/v8flags/-/v8flags-3.0.1.tgz#dce8fc379c17d9f2c9e9ed78d89ce00052b1b76b" 2924 | dependencies: 2925 | homedir-polyfill "^1.0.1" 2926 | 2927 | vary@~1.1.1: 2928 | version "1.1.2" 2929 | resolved "https://registry.yarnpkg.com/vary/-/vary-1.1.2.tgz#2299f02c6ded30d4a5961b0b9f74524a18f634fc" 2930 | 2931 | verror@1.10.0: 2932 | version "1.10.0" 2933 | resolved "https://registry.yarnpkg.com/verror/-/verror-1.10.0.tgz#3a105ca17053af55d6e270c1f8288682e18da400" 2934 | dependencies: 2935 | assert-plus "^1.0.0" 2936 | core-util-is "1.0.2" 2937 | extsprintf "^1.2.0" 2938 | 2939 | whatwg-fetch@>=0.10.0: 2940 | version "2.0.3" 2941 | resolved "https://registry.yarnpkg.com/whatwg-fetch/-/whatwg-fetch-2.0.3.tgz#9c84ec2dcf68187ff00bc64e1274b442176e1c84" 2942 | 2943 | which@^1.2.10, which@^1.2.9: 2944 | version "1.3.0" 2945 | resolved "https://registry.yarnpkg.com/which/-/which-1.3.0.tgz#ff04bdfc010ee547d780bec38e1ac1c2777d253a" 2946 | dependencies: 2947 | isexe "^2.0.0" 2948 | 2949 | wide-align@^1.1.0: 2950 | version "1.1.2" 2951 | resolved "https://registry.yarnpkg.com/wide-align/-/wide-align-1.1.2.tgz#571e0f1b0604636ebc0dfc21b0339bbe31341710" 2952 | dependencies: 2953 | string-width "^1.0.2" 2954 | 2955 | winston@^2.4.0: 2956 | version "2.4.0" 2957 | resolved "https://registry.yarnpkg.com/winston/-/winston-2.4.0.tgz#808050b93d52661ed9fb6c26b3f0c826708b0aee" 2958 | dependencies: 2959 | async "~1.0.0" 2960 | colors "1.0.x" 2961 | cycle "1.0.x" 2962 | eyes "0.1.x" 2963 | isstream "0.1.x" 2964 | stack-trace "0.0.x" 2965 | 2966 | wrappy@1: 2967 | version "1.0.2" 2968 | resolved "https://registry.yarnpkg.com/wrappy/-/wrappy-1.0.2.tgz#b5243d8f3ec1aa35f1364605bc0d1036e30ab69f" 2969 | 2970 | ws@^3.0.0: 2971 | version "3.3.2" 2972 | resolved "https://registry.yarnpkg.com/ws/-/ws-3.3.2.tgz#96c1d08b3fefda1d5c1e33700d3bfaa9be2d5608" 2973 | dependencies: 2974 | async-limiter "~1.0.0" 2975 | safe-buffer "~5.1.0" 2976 | ultron "~1.1.0" 2977 | 2978 | xtend@^4.0.0, xtend@^4.0.1: 2979 | version "4.0.1" 2980 | resolved "https://registry.yarnpkg.com/xtend/-/xtend-4.0.1.tgz#a5c6d532be656e23db820efb943a1f04998d63af" 2981 | 2982 | yallist@^2.1.2: 2983 | version "2.1.2" 2984 | resolved "https://registry.yarnpkg.com/yallist/-/yallist-2.1.2.tgz#1c11f9218f076089a47dd512f93c6699a6a81d52" 2985 | 2986 | yauzl@2.4.1: 2987 | version "2.4.1" 2988 | resolved "https://registry.yarnpkg.com/yauzl/-/yauzl-2.4.1.tgz#9528f442dab1b2284e58b4379bb194e22e0c4005" 2989 | dependencies: 2990 | fd-slicer "~1.0.1" 2991 | 2992 | yauzl@^2.4.2: 2993 | version "2.9.1" 2994 | resolved "https://registry.yarnpkg.com/yauzl/-/yauzl-2.9.1.tgz#a81981ea70a57946133883f029c5821a89359a7f" 2995 | dependencies: 2996 | buffer-crc32 "~0.2.3" 2997 | fd-slicer "~1.0.1" 2998 | 2999 | yn@^2.0.0: 3000 | version "2.0.0" 3001 | resolved "https://registry.yarnpkg.com/yn/-/yn-2.0.0.tgz#e5adabc8acf408f6385fc76495684c88e6af689a" 3002 | 3003 | zen-observable@^0.6.0: 3004 | version "0.6.0" 3005 | resolved "https://registry.yarnpkg.com/zen-observable/-/zen-observable-0.6.0.tgz#8a6157ed15348d185d948cfc4a59d90a2c0f70ee" 3006 | --------------------------------------------------------------------------------