├── .editorconfig ├── .github └── workflows │ ├── ci.yaml │ └── publish.yaml ├── .gitignore ├── .yarnrc ├── LICENSE ├── README.md ├── deployment ├── config-env.js ├── config-static.js ├── config.js └── service.js ├── package.json ├── test ├── deployment-env.js ├── deployment.js └── user.js ├── user └── index.js └── yarn.lock /.editorconfig: -------------------------------------------------------------------------------- 1 | root = true 2 | 3 | [*] 4 | indent_style = tab 5 | indent_size = 4 6 | tab_width = 4 7 | end_of_line = lf 8 | charset = utf-8 9 | trim_trailing_whitespace = true 10 | insert_final_newline = true 11 | 12 | [{*.json,*.json.example,*.gyp,*.yml,*.yaml}] 13 | indent_style = space 14 | indent_size = 2 15 | 16 | [{*.py,*.asm}] 17 | indent_style = space 18 | 19 | [*.py] 20 | indent_size = 4 21 | 22 | [*.asm] 23 | indent_size = 8 24 | 25 | [*.md] 26 | trim_trailing_whitespace = false 27 | 28 | # Ideal settings - some plugins might support these. 29 | [*.js] 30 | quote_type = single 31 | 32 | [{*.c,*.cc,*.h,*.hh,*.cpp,*.hpp,*.m,*.mm,*.mpp,*.js,*.java,*.go,*.rs,*.php,*.ng,*.jsx,*.ts,*.d,*.cs,*.swift}] 33 | curly_bracket_next_line = false 34 | spaces_around_operators = true 35 | spaces_around_brackets = outside 36 | # close enough to 1TB 37 | indent_brace_style = K&R 38 | -------------------------------------------------------------------------------- /.github/workflows/ci.yaml: -------------------------------------------------------------------------------- 1 | name: Tests 2 | 3 | on: 4 | push: 5 | branches: [main] 6 | pull_request: 7 | branches: [main] 8 | 9 | jobs: 10 | test: 11 | name: Tests 12 | runs-on: ubuntu-latest 13 | steps: 14 | - uses: actions/checkout@v3 15 | with: 16 | fetch-depth: 2 17 | - uses: actions/setup-node@v3 18 | timeout-minutes: 5 # See https://github.com/actions/cache/issues/810 19 | with: 20 | cache: 'yarn' 21 | 22 | - run: yarn install --network-timeout 1000000 --frozen-lockfile 23 | - run: yarn test 24 | -------------------------------------------------------------------------------- /.github/workflows/publish.yaml: -------------------------------------------------------------------------------- 1 | name: Publish Package 2 | 3 | on: 4 | workflow_dispatch: 5 | release: 6 | types: [published] 7 | 8 | jobs: 9 | build: 10 | runs-on: ubuntu-latest 11 | steps: 12 | - uses: actions/checkout@v3 13 | - uses: actions/setup-node@v3 14 | timeout-minutes: 5 # See https://github.com/actions/cache/issues/810 15 | with: 16 | cache: 'yarn' 17 | node-version: '18.x' 18 | registry-url: 'https://registry.npmjs.org' 19 | 20 | - run: yarn install --network-timeout 1000000 --frozen-lockfile 21 | - run: yarn test 22 | - run: npm publish 23 | env: 24 | NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN_ELEVATED }} 25 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | package-lock.json 3 | yarn-error.log 4 | -------------------------------------------------------------------------------- /.yarnrc: -------------------------------------------------------------------------------- 1 | save-prefix "" 2 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2018 ZEIT 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Vercel Schemas 2 | 3 | Schemas used across many Vercel packages to validating config files, requests to APIs, and more. 4 | 5 | ## Why? 6 | 7 | - Keep schemas used across Vercel projects in sync 8 | - We use `.js` instead of `.json` because parsing JSON takes longer 9 | 10 | ## Usage 11 | 12 | To get started, pick one of the schemas in this repository and load it: 13 | 14 | ```js 15 | const schema = require('@zeit/schemas/deployment/config'); 16 | ``` 17 | 18 | Next, set up [AJV](https://github.com/epoberezkin/ajv) (the validator) and run the schema through it: 19 | 20 | ```js 21 | const AJV = require('ajv'); 22 | 23 | const ajv = new AJV({ allErrors: true }); 24 | const isValid = ajv.validate(schema, ); 25 | 26 | if (!isValid) { 27 | console.error(`The following entries are wrong: ${JSON.stringify(ajv.errors)}`); 28 | } 29 | ``` 30 | 31 | That is all! :tada: 32 | 33 | ## Contributing 34 | 35 | We are currently not accepting external contributions for this repository. 36 | -------------------------------------------------------------------------------- /deployment/config-env.js: -------------------------------------------------------------------------------- 1 | const maxEnvLength = 100; 2 | 3 | const EnvKey = { 4 | type: 'string', 5 | pattern: '^[A-z0-9_]+$', 6 | minLength: 1, 7 | maxLength: 256 8 | }; 9 | 10 | const EnvKeys = { 11 | type: 'array', 12 | minItems: 0, 13 | maxItems: maxEnvLength, 14 | uniqueItems: true, 15 | items: EnvKey, 16 | additionalProperties: false 17 | }; 18 | 19 | const EnvValue = { 20 | type: 'string', 21 | minLength: 0, 22 | maxLength: 65536 23 | }; 24 | 25 | // { 'FOO': 'BAR' } 26 | const EnvObject = { 27 | type: 'object', 28 | minProperties: 0, 29 | maxProperties: maxEnvLength, 30 | patternProperties: { 31 | '.+': EnvValue 32 | }, 33 | additionalProperties: false 34 | }; 35 | 36 | module.exports = { 37 | EnvKey, 38 | EnvKeys, 39 | EnvValue, 40 | EnvObject 41 | }; 42 | -------------------------------------------------------------------------------- /deployment/config-static.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | type: 'object', 3 | properties: { 4 | 'public': { 5 | type: 'string' 6 | }, 7 | 'cleanUrls': { 8 | type: [ 9 | 'boolean', 10 | 'array' 11 | ] 12 | }, 13 | 'rewrites': { 14 | type: 'array' 15 | }, 16 | 'redirects': { 17 | type: 'array' 18 | }, 19 | 'headers': { 20 | type: 'array', 21 | maxItems: 50, 22 | minItems: 1, 23 | uniqueItems: true, 24 | items: { 25 | type: 'object', 26 | required: ['source', 'headers'], 27 | properties: { 28 | source: { 29 | type: 'string', 30 | maxLength: 100, 31 | minLength: 1 32 | }, 33 | headers: { 34 | type: 'array', 35 | maxItems: 50, 36 | minItems: 1, 37 | uniqueItems: true, 38 | items: { 39 | type: 'object', 40 | required: ['key', 'value'], 41 | properties: { 42 | key: { 43 | type: 'string', 44 | minLength: 1, 45 | maxLength: 128, 46 | pattern: "^[a-zA-Z0-9_!#$%&'*+.^`|~-]+$" 47 | }, 48 | value: { 49 | type: 'string', 50 | minLength: 1, 51 | maxLength: 2048, 52 | pattern: '^[\u0020-\u007e\u00a0-\u00ff]+$' 53 | } 54 | }, 55 | additionalProperties: false 56 | } 57 | } 58 | }, 59 | additionalProperties: false 60 | } 61 | }, 62 | 'directoryListing': { 63 | type: [ 64 | 'boolean', 65 | 'array' 66 | ] 67 | }, 68 | 'unlisted': { 69 | type: 'array' 70 | }, 71 | 'trailingSlash': { 72 | type: 'boolean' 73 | }, 74 | 'renderSingle': { 75 | type: 'boolean' 76 | }, 77 | 'symlinks': { 78 | type: 'boolean' 79 | } 80 | }, 81 | additionalProperties: false 82 | }; 83 | -------------------------------------------------------------------------------- /deployment/config.js: -------------------------------------------------------------------------------- 1 | const {Service} = require('./service'); 2 | const {EnvKeys, EnvObject} = require('./config-env'); 3 | const staticSchema = require('./config-static'); 4 | 5 | module.exports = { 6 | type: 'object', 7 | additionalProperties: false, 8 | dependencies: { 9 | slot: { 10 | type: 'object', 11 | required: ['features'], 12 | properties: { 13 | features: { 14 | type: 'object', 15 | required: ['cloud'], 16 | properties: { 17 | cloud: { 18 | 'const': 'v2' 19 | } 20 | } 21 | } 22 | } 23 | } 24 | }, 25 | properties: { 26 | 'name': { 27 | type: 'string', 28 | minLength: 1 29 | }, 30 | 'project': { 31 | type: 'string', 32 | minLength: 1 33 | }, 34 | 'alias': { 35 | type: [ 36 | 'string', 37 | 'array' 38 | ] 39 | }, 40 | 'env': { anyOf: [EnvObject, EnvKeys] }, 41 | 'build': { 42 | type: 'object', 43 | additionalProperties: false, 44 | properties: { 45 | env: EnvObject 46 | } 47 | }, 48 | 'scale': { 49 | type: 'object', 50 | patternProperties: { 51 | '.+': { 52 | 'type': 'object', 53 | 'required': ['max', 'min'], 54 | 'properties': { 55 | max: { 56 | anyOf: [ 57 | { 58 | type: 'number', 59 | minimum: 1 60 | }, 61 | {'const': 'auto'} 62 | ] 63 | }, 64 | min: { 65 | type: 'number', 66 | minimum: 0 67 | } 68 | }, 69 | 'if': { 70 | properties: { 71 | max: { 72 | type: 'number' 73 | } 74 | } 75 | }, 76 | 'then': { 77 | properties: { 78 | min: { 79 | maximum: { 80 | $data: '1/max' 81 | } 82 | } 83 | } 84 | } 85 | } 86 | }, 87 | additionalProperties: false 88 | }, 89 | 'regions': { 90 | type: 'array' 91 | }, 92 | 'dotenv': { 93 | type: [ 94 | 'boolean', 95 | 'string' 96 | ] 97 | }, 98 | 'files': { 99 | type: 'array' 100 | }, 101 | 'type': { 102 | type: 'string' 103 | }, 104 | 'forwardNpm': { 105 | type: 'boolean' 106 | }, 107 | 'public': { 108 | type: 'boolean' 109 | }, 110 | 'engines': { 111 | type: 'object' 112 | }, 113 | 'api': { 114 | type: 'string' 115 | }, 116 | 'static': staticSchema, 117 | 'limits': { 118 | type: 'object', 119 | properties: { 120 | duration: { 121 | type: 'number', 122 | minimum: 60000, 123 | maximum: 60000 * 15 // max 15m runtime 124 | }, 125 | maxConcurrentReqs: { 126 | type: 'number', 127 | minimum: 1, 128 | maximum: 256 129 | }, 130 | timeout: { 131 | type: 'number', 132 | minimum: 60000, 133 | maximum: 60000 * 15 // max duration 134 | } 135 | }, 136 | additionalProperties: false 137 | }, 138 | 'features': { 139 | type: 'object', 140 | patternProperties: { 141 | '.*': { 142 | type: ['string', 'number', 'boolean'] 143 | } 144 | } 145 | }, 146 | 'github': { 147 | type: 'object', 148 | properties: { 149 | enabled: { 150 | type: 'boolean' 151 | }, 152 | autoAlias: { 153 | type: 'boolean' 154 | }, 155 | autoJobCancelation: { 156 | type: 'boolean' 157 | }, 158 | silent: { 159 | type: 'boolean' 160 | } 161 | }, 162 | additionalProperties: false 163 | }, 164 | 'slot': { 165 | type: 'string', 166 | pattern: 'c.125-m512|c1-m4096|staging-*' 167 | }, 168 | 'service': Service 169 | } 170 | }; 171 | -------------------------------------------------------------------------------- /deployment/service.js: -------------------------------------------------------------------------------- 1 | const Service = { 2 | type: 'object', 3 | additionalProperties: false, 4 | properties: { 5 | port: { 6 | type: 'number', 7 | minimum: 1, 8 | maximum: 32767 9 | } 10 | } 11 | }; 12 | 13 | module.exports = { 14 | Service 15 | }; 16 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@zeit/schemas", 3 | "version": "2.38.0", 4 | "description": "All schemas used for validation that are shared between our projects", 5 | "scripts": { 6 | "test": "yarn run lint && best --verbose", 7 | "lint": "zeit-eslint --ext .jsx,.js .", 8 | "lint-staged": "git diff --diff-filter=ACMRT --cached --name-only '*.js' '*.jsx' | xargs zeit-eslint" 9 | }, 10 | "repository": "zeit/schemas", 11 | "author": "leo", 12 | "license": "MIT", 13 | "devDependencies": { 14 | "@zeit/best": "0.4.3", 15 | "@zeit/eslint-config-node": "0.3.0", 16 | "@zeit/git-hooks": "0.1.4", 17 | "ajv": "6.5.1", 18 | "eslint": "4.19.1" 19 | }, 20 | "eslintConfig": { 21 | "extends": [ 22 | "@zeit/eslint-config-node" 23 | ] 24 | }, 25 | "git": { 26 | "pre-commit": "lint-staged" 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /test/deployment-env.js: -------------------------------------------------------------------------------- 1 | /* eslint camelcase: 0 */ 2 | const AJV = require('ajv'); 3 | const assert = require('assert'); 4 | const { 5 | EnvKeys, 6 | EnvObject 7 | } = require('../deployment/config-env'); 8 | 9 | const ajv = new AJV({allErrors: true}); 10 | 11 | // EnvKeys 12 | exports.test_env_keys_valid = () => { 13 | const isValid = ajv.validate(EnvKeys, [ 14 | 'FOO', 15 | 'BAR' 16 | ]); 17 | assert.equal(isValid, true); 18 | }; 19 | 20 | exports.test_env_keys_too_short = () => { 21 | const isValid = ajv.validate(EnvKeys, [ 22 | 'FOO', 23 | '' 24 | ]); 25 | assert.equal(isValid, false); 26 | assert.equal(ajv.errors[0].keyword, 'minLength'); 27 | }; 28 | 29 | exports.test_env_keys_too_long = () => { 30 | const isValid = ajv.validate(EnvKeys, [ 31 | 'FOO', 32 | 'A'.repeat(257) 33 | ]); 34 | assert.equal(isValid, false); 35 | assert.equal(ajv.errors[0].keyword, 'maxLength'); 36 | }; 37 | 38 | exports.test_env_keys_invalid_chars = () => { 39 | const isValid = ajv.validate(EnvKeys, [ 40 | 'FOO', 41 | 'BA,D' 42 | ]); 43 | assert.equal(isValid, false); 44 | assert.equal(ajv.errors[0].keyword, 'pattern'); 45 | }; 46 | 47 | exports.test_env_keys_invalid_type = () => { 48 | const isValid = ajv.validate(EnvKeys, [ 49 | 'FOO', 50 | true 51 | ]); 52 | assert.equal(isValid, false); 53 | assert.equal(ajv.errors[0].keyword, 'type'); 54 | }; 55 | 56 | exports.test_env_keys_non_unique = () => { 57 | const isValid = ajv.validate(EnvKeys, [ 58 | 'FOO', 59 | 'FOO' 60 | ]); 61 | assert.equal(isValid, false); 62 | assert.equal(ajv.errors[0].keyword, 'uniqueItems'); 63 | }; 64 | 65 | // EnvObject 66 | exports.test_env_object_valid = () => { 67 | const isValid = ajv.validate(EnvObject, { 68 | FOO: 'BAR', 69 | BAZ: '@secret' 70 | }); 71 | assert.equal(isValid, true); 72 | }; 73 | 74 | exports.test_env_object_bad_type = () => { 75 | const isValid = ajv.validate(EnvObject, { 76 | FOO: true 77 | }); 78 | assert.equal(isValid, false); 79 | assert.equal(ajv.errors[0].keyword, 'type'); 80 | }; 81 | 82 | exports.test_env_object_too_long = () => { 83 | const isValid = ajv.validate(EnvObject, { 84 | FOO: 'a'.repeat(70000) 85 | }); 86 | assert.equal(isValid, false); 87 | assert.equal(ajv.errors[0].keyword, 'maxLength'); 88 | }; 89 | -------------------------------------------------------------------------------- /test/deployment.js: -------------------------------------------------------------------------------- 1 | /* eslint camelcase: 0 */ 2 | const AJV = require('ajv'); 3 | const assert = require('assert'); 4 | const deploymentConfigSchema = require('../deployment/config'); 5 | 6 | const ajv = new AJV({allErrors: true, $data: true}); 7 | 8 | exports.test_unknown_keys = () => { 9 | const isValid = ajv.validate(deploymentConfigSchema, { 10 | foo: 1, 11 | bar: 2 12 | }); 13 | assert.equal(isValid, false); 14 | assert.equal(ajv.errors.length, 2); 15 | ['foo', 'bar'].forEach((prop, i) => { 16 | const error = ajv.errors[i]; 17 | assert.equal(error.keyword, 'additionalProperties'); 18 | assert.equal(error.params.additionalProperty, prop); 19 | }); 20 | }; 21 | 22 | exports.test_features_object = () => { 23 | const isValid = ajv.validate(deploymentConfigSchema, { 24 | features: { 25 | foo: 'v2', 26 | bar: 2 27 | } 28 | }); 29 | assert.equal(isValid, true); 30 | }; 31 | 32 | exports.test_slot_key = () => { 33 | const isValid = ajv.validate(deploymentConfigSchema, { 34 | features: { 35 | cloud: 'v2' 36 | }, 37 | slot: 'c.125-m512' 38 | }); 39 | assert.equal(isValid, true); 40 | }; 41 | 42 | exports.test_staging_slot_key = () => { 43 | const isValid = ajv.validate(deploymentConfigSchema, { 44 | features: { 45 | cloud: 'v2' 46 | }, 47 | slot: 'staging-c.5-t1-w-m1024' 48 | }); 49 | assert.equal(isValid, true); 50 | }; 51 | 52 | exports.test_invalid_slot_key = () => { 53 | const isValid = ajv.validate(deploymentConfigSchema, { 54 | features: { 55 | cloud: 'v2' 56 | }, 57 | slot: 'invalid-key' 58 | }); 59 | assert.equal(isValid, false); 60 | }; 61 | 62 | exports.test_slot_key_without_cloud_v2 = () => { 63 | const isValid = ajv.validate(deploymentConfigSchema, { 64 | slot: 'c.125-m512' 65 | }); 66 | assert.equal(isValid, false); 67 | }; 68 | 69 | exports.test_invalid_features_object = () => { 70 | const isValid = ajv.validate(deploymentConfigSchema, { 71 | features: { 72 | foo: [] 73 | } 74 | }); 75 | assert.equal(isValid, false); 76 | }; 77 | 78 | exports.test_features_object = () => { 79 | const isValid = ajv.validate(deploymentConfigSchema, { 80 | limits: { 81 | duration: 60000, 82 | maxConcurrentReqs: 2, 83 | timeout: 60000 * 2 84 | } 85 | }); 86 | assert.equal(isValid, true); 87 | }; 88 | 89 | exports.test_invalid_limits_object = () => { 90 | const isValid = ajv.validate(deploymentConfigSchema, { 91 | limits: { 92 | foo: [] 93 | } 94 | }); 95 | assert.equal(!isValid, true); 96 | }; 97 | 98 | exports.test_valid_env_types = () => { 99 | let isValid = ajv.validate(deploymentConfigSchema, { 100 | env: { 101 | VALID: '1' 102 | } 103 | }); 104 | assert.equal(isValid, true); 105 | 106 | isValid = ajv.validate(deploymentConfigSchema, { 107 | env: [ 108 | 'VALID' 109 | ] 110 | }); 111 | assert.equal(isValid, true); 112 | }; 113 | 114 | exports.test_invalid_env_types = () => { 115 | const isValid = ajv.validate(deploymentConfigSchema, { 116 | env: { 117 | INVALID: true 118 | } 119 | }); 120 | assert.equal(!isValid, true); 121 | }; 122 | 123 | exports.test_valid_build_env_types = () => { 124 | const isValid = ajv.validate(deploymentConfigSchema, { 125 | build: { 126 | env: { 127 | VALID: '1' 128 | } 129 | } 130 | }); 131 | assert.equal(isValid, true); 132 | }; 133 | 134 | exports.test_invalid_build_env_types = () => { 135 | const isValid = ajv.validate(deploymentConfigSchema, { 136 | build: { 137 | env: { 138 | INVALID: true 139 | } 140 | } 141 | }); 142 | assert.equal(!isValid, true); 143 | }; 144 | 145 | exports.test_invalid_static_object = () => { 146 | const isValid = ajv.validate(deploymentConfigSchema, { 147 | 'static': { 148 | foo: [] 149 | } 150 | }); 151 | assert.equal(isValid, false); 152 | }; 153 | 154 | exports.test_valid_static_headers_object = () => { 155 | const isValid = ajv.validate(deploymentConfigSchema, { 156 | 'static': { 157 | headers: [ 158 | { 159 | source: '/_next/webpack/chunks/*', 160 | headers: [{ 161 | key: 'Cache-Control', 162 | value: 'adssds' 163 | }] 164 | }, 165 | { 166 | source: '/_next/static/commons/**', 167 | headers: [{ 168 | key: 'Cache-Control', 169 | value: 'public, max-age=31536000, immutable' 170 | }] 171 | }, 172 | { 173 | source: '/_next/*/page/**/*.js', 174 | headers: [{ 175 | key: 'Cache-Control', 176 | value: 'public, max-age=31536000, immutable' 177 | }] 178 | } 179 | ] 180 | } 181 | }); 182 | 183 | assert.equal(isValid, true); 184 | 185 | for (let i = 0x20; i <= 0xff; i++) { 186 | if (i > 0x7e && i < 0xa0) { 187 | continue; 188 | } 189 | 190 | const result = ajv.validate(deploymentConfigSchema, { 191 | 'static': { 192 | headers: [ 193 | { 194 | source: '/', 195 | headers: [{ 196 | key: 'X-Test', 197 | value: `value ${String.fromCharCode(i)}` 198 | }] 199 | } 200 | ] 201 | } 202 | }); 203 | 204 | assert.equal(result, true, `Failed to validate for char: 0x${i.toString(16)}`); 205 | } 206 | }; 207 | 208 | exports.test_invalid_static_headers_object = () => { 209 | const isValid = ajv.validate(deploymentConfigSchema, { 210 | 'static': { 211 | headers: [ 212 | { 213 | source: '/_next/webpack/chunks/*', 214 | headers: [{ 215 | key: ':alternate-protocol', 216 | value: 'foo\x00bar' 217 | }] 218 | }, 219 | { 220 | source: '/_next/static/commons/**', 221 | headers: [{ 222 | key: 'Cache-Control', 223 | value: 'public, max-age=31536000, immutable' 224 | }] 225 | } 226 | ] 227 | } 228 | }); 229 | 230 | assert.equal(isValid, false); 231 | 232 | // Use 256 to go above 0xff 233 | for (let i = 0; i <= 256; i++) { 234 | if ((i >= 0x20 && i <= 0x7e) || (i >= 0xa0 && i <= 0xff)) { 235 | continue; 236 | } 237 | 238 | const result = ajv.validate(deploymentConfigSchema, { 239 | 'static': { 240 | headers: { 241 | source: '/', 242 | headers: [{ 243 | key: 'X-Test', 244 | value: `value ${String.fromCharCode(i)}` 245 | }] 246 | } 247 | } 248 | }); 249 | 250 | assert.equal(result, false, `Failed to error for char: 0x${i.toString(16)}`); 251 | } 252 | }; 253 | 254 | exports.test_valid_static_object_trailing_slash = () => { 255 | const isValid = ajv.validate(deploymentConfigSchema, { 256 | 'static': { 257 | trailingSlash: true 258 | } 259 | }); 260 | assert.equal(isValid, true); 261 | }; 262 | 263 | exports.test_valid_static_object_invalid_prop = () => { 264 | const isValid = ajv.validate(deploymentConfigSchema, { 265 | 'static': { 266 | trailingSlash: [] 267 | } 268 | }); 269 | assert.equal(isValid, false); 270 | }; 271 | 272 | exports.test_project = () => { 273 | const isValid = ajv.validate(deploymentConfigSchema, { 274 | project: 'cool-project' 275 | }); 276 | assert.equal(isValid, true); 277 | }; 278 | 279 | exports.test_github_enabled = () => { 280 | const isValid = ajv.validate(deploymentConfigSchema, { 281 | github: { 282 | enabled: false 283 | } 284 | }); 285 | assert.equal(isValid, true); 286 | }; 287 | 288 | exports.test_github_silent = () => { 289 | const isValid = ajv.validate(deploymentConfigSchema, { 290 | github: { 291 | silent: true 292 | } 293 | }); 294 | assert.equal(isValid, true); 295 | }; 296 | 297 | exports.test_github_auto_alias = () => { 298 | const isValid = ajv.validate(deploymentConfigSchema, { 299 | github: { 300 | autoAlias: false 301 | } 302 | }); 303 | assert.equal(isValid, true); 304 | }; 305 | 306 | exports.test_github_auto_job_cancelation = () => { 307 | const isValid = ajv.validate(deploymentConfigSchema, { 308 | github: { 309 | autoJobCancelation: false 310 | } 311 | }); 312 | assert.equal(isValid, true); 313 | }; 314 | 315 | exports.test_github_additional_field = () => { 316 | const isValid = ajv.validate(deploymentConfigSchema, { 317 | github: { 318 | abc: 'bbc' 319 | } 320 | }); 321 | assert.equal(isValid, false); 322 | }; 323 | 324 | exports.test_scale_sfo1 = () => { 325 | const isValid = ajv.validate(deploymentConfigSchema, { 326 | scale: { 327 | sfo1: { 328 | min: 0, 329 | max: 1 330 | } 331 | } 332 | }); 333 | assert.equal(isValid, true); 334 | }; 335 | 336 | exports.test_scale_all = () => { 337 | const isValid = ajv.validate(deploymentConfigSchema, { 338 | scale: { 339 | all: { 340 | min: 0, 341 | max: 'auto' 342 | } 343 | } 344 | }); 345 | assert.equal(isValid, true); 346 | }; 347 | 348 | exports.test_scale_invalid = () => { 349 | const isValid = ajv.validate(deploymentConfigSchema, { 350 | scale: { 351 | foo: { 352 | min: -1, 353 | max: 'auto' 354 | } 355 | } 356 | }); 357 | assert.equal(isValid, false); 358 | }; 359 | 360 | exports.test_scale_invalid_min = () => { 361 | const isValid = ajv.validate(deploymentConfigSchema, { 362 | scale: { 363 | foo: { 364 | min: 2, 365 | max: 1 366 | } 367 | } 368 | }); 369 | assert.equal(isValid, false); 370 | }; 371 | 372 | exports.test_service_invalid = () => { 373 | const isValid = ajv.validate(deploymentConfigSchema, { 374 | service: 'foo' 375 | }); 376 | assert.equal(isValid, false); 377 | }; 378 | 379 | exports.test_service_port_valid = () => { 380 | const isValid = ajv.validate(deploymentConfigSchema, { 381 | service: { 382 | port: 80 383 | } 384 | }); 385 | assert.equal(isValid, true); 386 | }; 387 | 388 | exports.test_service_port_invalid = () => { 389 | const isValid = ajv.validate(deploymentConfigSchema, { 390 | service: { 391 | port: 0 392 | } 393 | }); 394 | assert.equal(isValid, false); 395 | }; 396 | 397 | exports.test_service_port_invalid_type = () => { 398 | const isValid = ajv.validate(deploymentConfigSchema, { 399 | service: { 400 | port: '3000' 401 | } 402 | }); 403 | assert.equal(isValid, false); 404 | }; 405 | -------------------------------------------------------------------------------- /test/user.js: -------------------------------------------------------------------------------- 1 | /* eslint camelcase: 0 */ 2 | const AJV = require('ajv'); 3 | const assert = require('assert'); 4 | const { User } = require('../user'); 5 | 6 | const ajv = new AJV({ allErrors: true }); 7 | 8 | // Username 9 | exports.test_username_null = () => { 10 | const isValid = ajv.validate(User, { 11 | username: null 12 | }); 13 | assert.equal(isValid, false); 14 | assert.equal(ajv.errors.length, 1); 15 | assert.equal(ajv.errors[0].dataPath, '.username'); 16 | assert.equal(ajv.errors[0].message, 'should be string'); 17 | }; 18 | 19 | exports.test_username_invalid_pattern = () => { 20 | const isValid = ajv.validate(User, { 21 | username: '!!!' 22 | }); 23 | assert.equal(isValid, false); 24 | assert.equal(ajv.errors.length, 1); 25 | assert.equal(ajv.errors[0].dataPath, '.username'); 26 | assert.equal( 27 | ajv.errors[0].message, 28 | 'should match pattern "^(?!-)(?:[a-z0-9-]{1,48})(? { 33 | const isValid = ajv.validate(User, { 34 | username: '' 35 | }); 36 | assert.equal(isValid, false); 37 | assert.equal(ajv.errors.length, 2); 38 | assert.equal(ajv.errors[0].dataPath, '.username'); 39 | assert.equal( 40 | ajv.errors[0].message, 41 | 'should NOT be shorter than 1 characters' 42 | ); 43 | assert.equal(ajv.errors[1].dataPath, '.username'); 44 | assert.equal( 45 | ajv.errors[1].message, 46 | 'should match pattern "^(?!-)(?:[a-z0-9-]{1,48})(? { 51 | const username = 'a'.repeat(50); 52 | const isValid = ajv.validate(User, { username }); 53 | assert.equal(isValid, false); 54 | assert.equal(ajv.errors.length, 2); 55 | assert.equal(ajv.errors[0].dataPath, '.username'); 56 | assert.equal( 57 | ajv.errors[0].message, 58 | 'should NOT be longer than 48 characters' 59 | ); 60 | assert.equal( 61 | ajv.errors[1].message, 62 | 'should match pattern "^(?!-)(?:[a-z0-9-]{1,48})(? { 67 | assert(ajv.validate(User, { username: 'n8' })); 68 | assert(ajv.validate(User, { username: 'rauchg' })); 69 | }; 70 | 71 | exports.test_username_one_char = () => { 72 | assert(ajv.validate(User, { username: 'a' })); 73 | assert(ajv.validate(User, { username: '1' })); 74 | }; 75 | 76 | // Name 77 | exports.test_name_too_short = () => { 78 | const isValid = ajv.validate(User, { 79 | name: '' 80 | }); 81 | assert.equal(isValid, false); 82 | assert.equal(ajv.errors.length, 1); 83 | assert.equal(ajv.errors[0].dataPath, '.name'); 84 | assert.equal( 85 | ajv.errors[0].message, 86 | 'should NOT be shorter than 1 characters' 87 | ); 88 | }; 89 | 90 | exports.test_name_too_long = () => { 91 | const isValid = ajv.validate(User, { 92 | name: 'a'.repeat(50) 93 | }); 94 | assert.equal(isValid, false); 95 | assert.equal(ajv.errors.length, 1); 96 | assert.equal(ajv.errors[0].dataPath, '.name'); 97 | assert.equal( 98 | ajv.errors[0].message, 99 | 'should NOT be longer than 32 characters' 100 | ); 101 | }; 102 | 103 | exports.test_name_32_chars = () => { 104 | const isValid = ajv.validate(User, { 105 | name: 'a'.repeat(32) 106 | }); 107 | assert.equal(isValid, true); 108 | }; 109 | 110 | exports.test_name_valid_special_chars = () => { 111 | assert(ajv.validate(User, { name: "John O'Neil" })); 112 | assert(ajv.validate(User, { name: 'Anne-Marie Johnson' })); 113 | assert(ajv.validate(User, { name: 'Dr. J.R. Smith' })); 114 | assert(ajv.validate(User, { name: 'Renée' })); 115 | assert(ajv.validate(User, { name: 'John_Doe' })); 116 | assert(ajv.validate(User, { name: 'John@Vercel' })); 117 | assert(ajv.validate(User, { name: 'John (Jack)' })); 118 | assert(ajv.validate(User, { name: 'Martin, Jr.' })); 119 | assert(ajv.validate(User, { name: 'Åsa' })); 120 | assert(ajv.validate(User, { name: 'Łukasz' })); 121 | assert(ajv.validate(User, { name: 'Ōsaka' })); 122 | assert(ajv.validate(User, { name: '王小明' })); 123 | assert(ajv.validate(User, { name: '山田太郎' })); 124 | assert(ajv.validate(User, { name: 'محمد' })); 125 | assert(ajv.validate(User, { name: 'Dr. 李四@Work' })); 126 | assert(ajv.validate(User, { name: 'Γιάννης' })); 127 | assert(ajv.validate(User, { name: 'Сергей' })); 128 | assert(ajv.validate(User, { name: '123' })); 129 | assert(ajv.validate(User, { name: 'Müller' })); 130 | }; 131 | 132 | exports.test_name_invalid_special_chars = () => { 133 | assert.equal(ajv.validate(User, { name: 'test' }), false); 134 | assert.equal(ajv.validate(User, { name: '![a.png](https://example.com/a.png)' }), false); 135 | }; 136 | 137 | exports.test_name_valid = () => { 138 | assert(ajv.validate(User, { name: 'Nate' })); 139 | }; 140 | 141 | // BillingChecked 142 | exports.test_billing_checked_null = () => { 143 | const isValid = ajv.validate(User, { 144 | billingChecked: null 145 | }); 146 | assert.equal(isValid, false); 147 | assert.equal(ajv.errors.length, 1); 148 | assert.equal(ajv.errors[0].dataPath, '.billingChecked'); 149 | assert.equal(ajv.errors[0].message, 'should be boolean'); 150 | }; 151 | 152 | exports.test_billing_checked_valid = () => { 153 | assert(ajv.validate(User, { billingChecked: true })); 154 | }; 155 | 156 | // Avatar 157 | exports.test_avatar_too_short = () => { 158 | const isValid = ajv.validate(User, { 159 | avatar: 'abc' 160 | }); 161 | assert.equal(isValid, false); 162 | assert.equal(ajv.errors.length, 1); 163 | assert.equal(ajv.errors[0].dataPath, '.avatar'); 164 | assert.equal( 165 | ajv.errors[0].message, 166 | 'should NOT be shorter than 40 characters' 167 | ); 168 | }; 169 | 170 | exports.test_avatar_too_long = () => { 171 | const isValid = ajv.validate(User, { 172 | avatar: 'a'.repeat(50) 173 | }); 174 | assert.equal(isValid, false); 175 | assert.equal(ajv.errors.length, 1); 176 | assert.equal(ajv.errors[0].dataPath, '.avatar'); 177 | assert.equal( 178 | ajv.errors[0].message, 179 | 'should NOT be longer than 40 characters' 180 | ); 181 | }; 182 | 183 | exports.test_avatar_invalid = () => { 184 | const isValid = ajv.validate(User, { 185 | avatar: 'n'.repeat(40) 186 | }); 187 | assert.equal(isValid, false); 188 | assert.equal(ajv.errors.length, 1); 189 | assert.equal(ajv.errors[0].dataPath, '.avatar'); 190 | assert.equal(ajv.errors[0].message, 'should match pattern "^[0-9a-f]+$"'); 191 | }; 192 | 193 | exports.test_avatar_valid = () => { 194 | assert(ajv.validate(User, { avatar: 'a'.repeat(40) })); 195 | }; 196 | 197 | exports.test_email_valid = () => { 198 | assert(ajv.validate(User, { email: 'nate@zeit.co' })); 199 | }; 200 | 201 | exports.test_email_invalid = () => { 202 | const isValid = ajv.validate(User, { 203 | email: `${'n'.repeat(256)}@zeit.co` 204 | }); 205 | assert.equal(isValid, false); 206 | }; 207 | 208 | exports.test_avatar_invalid_length = () => { 209 | assert(ajv.validate(User, { avatar: 'a'.repeat(40) })); 210 | }; 211 | 212 | exports.test_platformVersion_null_valid = () => { 213 | assert(ajv.validate(User, { platformVersion: null })); 214 | }; 215 | 216 | exports.test_platformVersion_zero_invalid = () => { 217 | const isValid = ajv.validate(User, { 218 | platformVersion: 0 219 | }); 220 | assert.equal(isValid, false); 221 | }; 222 | 223 | exports.test_platformVersion_one_valid = () => { 224 | assert(ajv.validate(User, { platformVersion: 1 })); 225 | }; 226 | 227 | exports.test_platformVersion_two_valid = () => { 228 | assert(ajv.validate(User, { platformVersion: 2 })); 229 | }; 230 | 231 | exports.test_platformVersion_three_invalid = () => { 232 | const isValid = ajv.validate(User, { 233 | platformVersion: 3 234 | }); 235 | assert.equal(isValid, false); 236 | }; 237 | 238 | exports.test_importFlowGitProvider_github_valid = () => { 239 | assert(ajv.validate(User, { importFlowGitProvider: 'github' })); 240 | }; 241 | 242 | exports.test_importFlowGitProvider_gitlab_valid = () => { 243 | assert(ajv.validate(User, { importFlowGitProvider: 'gitlab' })); 244 | }; 245 | 246 | exports.test_importFlowGitProvider_bitbucket_valid = () => { 247 | assert(ajv.validate(User, { importFlowGitProvider: 'bitbucket' })); 248 | }; 249 | 250 | exports.test_importFlowGitProvider_null_valid = () => { 251 | assert(ajv.validate(User, { importFlowGitProvider: null })); 252 | }; 253 | 254 | exports.test_importFlowGitProvider_invalid_value = () => { 255 | const isValid = ajv.validate(User, { 256 | importFlowGitProvider: 'test' 257 | }); 258 | assert.equal(isValid, false); 259 | }; 260 | 261 | exports.test_importFlowGitProvider_number_invalid = () => { 262 | const isValid = ajv.validate(User, { 263 | importFlowGitProvider: 10 264 | }); 265 | assert.equal(isValid, false); 266 | }; 267 | 268 | exports.test_importFlowGitNamespace_string_valid = () => { 269 | assert(ajv.validate(User, { importFlowGitNamespace: 'test' })); 270 | }; 271 | 272 | exports.test_importFlowGitNamespace_null_valid = () => { 273 | assert(ajv.validate(User, { importFlowGitNamespace: null })); 274 | }; 275 | 276 | exports.test_importFlowGitNamespace_number_invalid = () => { 277 | const isValid = ajv.validate(User, { 278 | importFlowGitNamespace: 10 279 | }); 280 | assert.strictEqual(isValid, false); 281 | }; 282 | 283 | exports.test_importFlowGitNamespace_boolean_invalid = () => { 284 | const isValid = ajv.validate(User, { 285 | importFlowGitNamespace: true 286 | }); 287 | assert.strictEqual(isValid, false); 288 | }; 289 | 290 | exports.test_importFlowGitNamespaceId_string_valid = () => { 291 | assert(ajv.validate(User, { importFlowGitNamespaceId: 'test' })); 292 | }; 293 | 294 | exports.test_importFlowGitNamespaceId_number_valid = () => { 295 | assert(ajv.validate(User, { importFlowGitNamespaceId: 10 })); 296 | }; 297 | 298 | exports.test_importFlowGitNamespaceId_null_valid = () => { 299 | assert(ajv.validate(User, { importFlowGitNamespaceId: null })); 300 | }; 301 | 302 | exports.test_importFlowGitNamespaceId_boolean_invalid = () => { 303 | const isValid = ajv.validate(User, { 304 | importFlowGitNamespaceId: true 305 | }); 306 | assert.strictEqual(isValid, false); 307 | }; 308 | 309 | exports.test_scopeId_valid = () => { 310 | assert(ajv.validate(User, { scopeId: '123test' })); 311 | }; 312 | 313 | exports.test_scopeId_invalid = () => { 314 | const isValid = ajv.validate(User, { 315 | scopeId: null 316 | }); 317 | assert.strictEqual(isValid, false); 318 | }; 319 | 320 | exports.test_gitNamespaceId_string_valid = () => { 321 | assert(ajv.validate(User, { gitNamespaceId: 'test' })); 322 | }; 323 | 324 | exports.test_gitNamespaceId_number_valid = () => { 325 | assert(ajv.validate(User, { gitNamespaceId: 123 })); 326 | }; 327 | 328 | exports.test_gitNamespaceId_null_valid = () => { 329 | assert(ajv.validate(User, { gitNamespaceId: null })); 330 | }; 331 | 332 | exports.test_gitNamespaceId_boolean_invalid = () => { 333 | const isValid = ajv.validate(User, { 334 | gitNamespaceId: true 335 | }); 336 | assert.strictEqual(isValid, false); 337 | }; 338 | 339 | exports.test_viewPreference_cards_valid = () => { 340 | assert(ajv.validate(User, { viewPreference: 'cards' })); 341 | }; 342 | 343 | exports.test_viewPreference_list_valid = () => { 344 | assert(ajv.validate(User, { viewPreference: 'list' })); 345 | }; 346 | 347 | exports.test_viewPreference_null_valid = () => { 348 | assert(ajv.validate(User, { viewPreference: null })); 349 | }; 350 | 351 | exports.test_viewPreference_invalid_value = () => { 352 | const isValid = ajv.validate(User, { 353 | viewPreference: 'test' 354 | }); 355 | assert.equal(isValid, false); 356 | }; 357 | 358 | exports.test_viewPreference_number_invalid = () => { 359 | const isValid = ajv.validate(User, { 360 | viewPreference: 10 361 | }); 362 | assert.equal(isValid, false); 363 | }; 364 | 365 | exports.test_favoritesViewPreference_open_valid = () => { 366 | assert(ajv.validate(User, { favoritesViewPreference: 'open' })); 367 | }; 368 | 369 | exports.test_favoritesViewPreference_closed_valid = () => { 370 | assert(ajv.validate(User, { favoritesViewPreference: 'closed' })); 371 | }; 372 | 373 | exports.test_favoritesViewPreference_null_valid = () => { 374 | assert(ajv.validate(User, { favoritesViewPreference: null })); 375 | }; 376 | 377 | exports.test_favoritesViewPreference_invalid_value = () => { 378 | const isValid = ajv.validate(User, { 379 | favoritesViewPreference: 'test' 380 | }); 381 | assert.equal(isValid, false); 382 | }; 383 | 384 | exports.test_favoritesViewPreference_number_invalid = () => { 385 | const isValid = ajv.validate(User, { 386 | favoritesViewPreference: 10 387 | }); 388 | assert.equal(isValid, false); 389 | }; 390 | 391 | exports.test_recentsViewPreference_open_valid = () => { 392 | assert(ajv.validate(User, { recentsViewPreference: 'open' })); 393 | }; 394 | 395 | exports.test_recentsViewPreference_closed_valid = () => { 396 | assert(ajv.validate(User, { recentsViewPreference: 'closed' })); 397 | }; 398 | 399 | exports.test_recentsViewPreference_null_valid = () => { 400 | assert(ajv.validate(User, { recentsViewPreference: null })); 401 | }; 402 | 403 | exports.test_recentsViewPreference_invalid_value = () => { 404 | const isValid = ajv.validate(User, { 405 | recentsViewPreference: 'test' 406 | }); 407 | assert.equal(isValid, false); 408 | }; 409 | 410 | exports.test_recentsViewPreference_number_invalid = () => { 411 | const isValid = ajv.validate(User, { 412 | recentsViewPreference: 10 413 | }); 414 | assert.equal(isValid, false); 415 | }; 416 | 417 | exports.test_remoteCaching_valid = () => { 418 | assert(ajv.validate(User, { remoteCaching: { enabled: true } })); 419 | }; 420 | 421 | exports.test_remoteCaching_valid = () => { 422 | const isValid = ajv.validate(User, { remoteCaching: { enabled: 'yes' } }); 423 | assert.strictEqual(isValid, false); 424 | }; 425 | 426 | exports.test_dismissedToasts_valid = () => { 427 | assert(ajv.validate(User, { dismissedToasts: [] })); 428 | }; 429 | 430 | exports.test_dismissedToasts_valid = () => { 431 | assert(ajv.validate(User, { dismissedToasts: [{ name: ' exampleToast', dismissals: [{ scopeId: 'exampleScopeId', createdAt: 1656442351576 }] }] })); 432 | }; 433 | 434 | exports.test_dismissedToasts_invalid = () => { 435 | const isValid = ajv.validate(User, { dismissedToasts: [{ name: ' exampleToast', otherProp: 'abc' }] }); 436 | assert.strictEqual(isValid, false); 437 | }; 438 | 439 | exports.test_favoriteProjectsAndSpaces_valid = () => { 440 | assert(ajv.validate(User, { favoriteProjectsAndSpaces: [] })); 441 | }; 442 | 443 | exports.test_favoriteProjectsAndSpaces_valid = () => { 444 | assert( 445 | ajv.validate(User, { 446 | favoriteProjectsAndSpaces: [ 447 | { projectId: '123', scopeId: '123', scopeSlug: 'A Slug' }, 448 | { projectId: '123', scopeId: '123', scopeSlug: 'A Slug' }, 449 | { spaceId: '123', scopeId: '123', scopeSlug: 'A Slug' } 450 | ] 451 | }) 452 | ); 453 | }; 454 | 455 | exports.test_favoriteProjectsAndSpaces_invalid = () => { 456 | const isValid = ajv.validate(User, { 457 | favoriteProjectsAndSpaces: [{ projectId: '123', missing: '123', unknownProp: 'A Slug' }] 458 | }); 459 | assert.strictEqual(isValid, false); 460 | }; 461 | -------------------------------------------------------------------------------- /user/index.js: -------------------------------------------------------------------------------- 1 | const Username = { 2 | type: 'string', 3 | minLength: 1, 4 | maxLength: 48, 5 | pattern: '^(?!-)(?:[a-z0-9-]{1,48})(?#$!*;]*$' 13 | }; 14 | 15 | const Email = { 16 | type: 'string', 17 | minLength: 5, 18 | maxLength: 256 19 | }; 20 | 21 | const ImportFlowGitProvider = { 22 | oneOf: [ 23 | { 24 | 'enum': ['github', 'gitlab', 'bitbucket'] 25 | }, 26 | { 27 | type: 'null' 28 | } 29 | ] 30 | }; 31 | 32 | const ImportFlowGitNamespace = { 33 | oneOf: [ 34 | { 35 | type: 'string' 36 | }, 37 | { 38 | type: 'null' 39 | } 40 | ] 41 | }; 42 | 43 | const ImportFlowGitNamespaceId = { 44 | oneOf: [ 45 | { 46 | type: 'string' 47 | }, 48 | { 49 | type: 'number' 50 | }, 51 | { 52 | type: 'null' 53 | } 54 | ] 55 | }; 56 | 57 | const ScopeId = { 58 | type: 'string' 59 | }; 60 | 61 | const GitNamespaceId = { 62 | oneOf: [ 63 | { 64 | type: 'string' 65 | }, 66 | { 67 | type: 'number' 68 | }, 69 | { 70 | type: 'null' 71 | } 72 | ] 73 | }; 74 | 75 | const ViewPreference = { 76 | oneOf: [ 77 | { 78 | 'enum': ['cards', 'list'] 79 | }, 80 | { 81 | type: 'null' 82 | } 83 | ] 84 | }; 85 | 86 | const ToggleViewPreference = { 87 | oneOf: [ 88 | { 89 | 'enum': ['open', 'closed'] 90 | }, 91 | { 92 | type: 'null' 93 | } 94 | ] 95 | }; 96 | 97 | const PlatformVersion = { 98 | oneOf: [ 99 | { 100 | // A `null` platform version means to always use the latest 101 | type: 'null' 102 | }, 103 | { 104 | type: 'integer', 105 | minimum: 1, 106 | maximum: 2 107 | } 108 | ] 109 | }; 110 | 111 | const Avatar = { 112 | type: 'string', 113 | minLength: 40, 114 | maxLength: 40, 115 | pattern: '^[0-9a-f]+$' 116 | }; 117 | 118 | const Bio = { 119 | type: 'string' 120 | }; 121 | 122 | const Website = { 123 | type: 'string', 124 | minLength: 4, 125 | maxLength: 40 126 | }; 127 | 128 | const Profile = { 129 | type: 'object', 130 | properties: { 131 | service: { 132 | type: 'string' 133 | }, 134 | link: { 135 | type: 'string' 136 | } 137 | }, 138 | additionalProperties: false 139 | }; 140 | 141 | const Profiles = { 142 | type: 'array', 143 | minItems: 0, 144 | maxItems: 100, 145 | uniqueItems: true, 146 | items: Profile, 147 | additionalProperties: false 148 | }; 149 | 150 | const RemoteCaching = { 151 | type: 'object', 152 | properties: { 153 | enabled: { 154 | type: 'boolean' 155 | } 156 | }, 157 | additionalProperties: false 158 | }; 159 | 160 | const ToastDismissal = { 161 | type: 'object', 162 | properties: { 163 | scopeId: { 164 | type: 'string' 165 | }, 166 | createdAt: { 167 | type: 'number' 168 | } 169 | }, 170 | additionalProperties: false 171 | }; 172 | 173 | const DismissedToast = { 174 | type: 'object', 175 | properties: { 176 | name: { 177 | type: 'string' 178 | }, 179 | dismissals: { 180 | type: 'array', 181 | minItems: 0, 182 | maxItems: 50, 183 | items: ToastDismissal 184 | } 185 | }, 186 | additionalProperties: false 187 | }; 188 | 189 | const DismissedToasts = { 190 | type: 'array', 191 | minItems: 0, 192 | maxItems: 50, 193 | items: DismissedToast, 194 | additionalProperties: false 195 | }; 196 | 197 | const FavoriteProjectOrSpace = { 198 | type: 'object', 199 | properties: { 200 | projectId: { 201 | type: 'string' 202 | }, 203 | spaceId: { 204 | type: 'string' 205 | }, 206 | scopeId: { 207 | type: 'string' 208 | }, 209 | scopeSlug: { 210 | type: 'string' 211 | } 212 | }, 213 | additionalProperties: false 214 | }; 215 | 216 | const FavoriteProjectsAndSpaces = { 217 | type: 'array', 218 | minItems: 0, 219 | items: FavoriteProjectOrSpace, 220 | additionalProperties: false 221 | }; 222 | 223 | const EnablePreviewFeedback = { 224 | oneOf: [ 225 | { 226 | 'enum': [ 227 | 'on', 228 | 'off', 229 | 'default', 230 | 'on-force', 231 | 'off-force', 232 | 'default-force' 233 | ] 234 | }, 235 | { 236 | type: 'null' 237 | } 238 | ] 239 | }; 240 | 241 | const DefaultTeamId = { 242 | oneOf: [ 243 | { 244 | type: 'string', 245 | maxLength: 29 246 | }, 247 | { 248 | type: 'null' 249 | } 250 | ] 251 | }; 252 | 253 | const User = { 254 | type: 'object', 255 | additionalProperties: false, 256 | properties: { 257 | username: Username, 258 | name: Name, 259 | email: Email, 260 | billingChecked: { type: 'boolean' }, 261 | avatar: Avatar, 262 | platformVersion: PlatformVersion, 263 | bio: Bio, 264 | website: Website, 265 | profiles: Profiles, 266 | importFlowGitProvider: ImportFlowGitProvider, 267 | importFlowGitNamespace: ImportFlowGitNamespace, 268 | importFlowGitNamespaceId: ImportFlowGitNamespaceId, 269 | scopeId: ScopeId, 270 | gitNamespaceId: GitNamespaceId, 271 | viewPreference: ViewPreference, 272 | favoritesViewPreference: ToggleViewPreference, 273 | recentsViewPreference: ToggleViewPreference, 274 | remoteCaching: RemoteCaching, 275 | dismissedToasts: DismissedToasts, 276 | enablePreviewFeedback: EnablePreviewFeedback, 277 | favoriteProjectsAndSpaces: FavoriteProjectsAndSpaces, 278 | defaultTeamId: DefaultTeamId 279 | } 280 | }; 281 | 282 | module.exports = { 283 | User, 284 | Username, 285 | Name, 286 | Email, 287 | Avatar, 288 | PlatformVersion, 289 | ImportFlowGitProvider, 290 | ImportFlowGitNamespace, 291 | ImportFlowGitNamespaceId, 292 | ScopeId, 293 | GitNamespaceId, 294 | ViewPreference, 295 | ToggleViewPreference, 296 | DismissedToasts 297 | }; 298 | -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- 1 | # THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. 2 | # yarn lockfile v1 3 | 4 | 5 | "@mrmlnc/readdir-enhanced@^2.2.1": 6 | version "2.2.1" 7 | resolved "https://registry.yarnpkg.com/@mrmlnc/readdir-enhanced/-/readdir-enhanced-2.2.1.tgz#524af240d1a360527b730475ecfa1344aa540dde" 8 | dependencies: 9 | call-me-maybe "^1.0.1" 10 | glob-to-regexp "^0.3.0" 11 | 12 | "@nodelib/fs.stat@^1.0.1": 13 | version "1.1.0" 14 | resolved "https://registry.yarnpkg.com/@nodelib/fs.stat/-/fs.stat-1.1.0.tgz#50c1e2260ac0ed9439a181de3725a0168d59c48a" 15 | 16 | "@zeit/best@0.4.3": 17 | version "0.4.3" 18 | resolved "https://registry.yarnpkg.com/@zeit/best/-/best-0.4.3.tgz#eaebdfa8b24121a97b1753501ea8c9330d549b30" 19 | dependencies: 20 | arg "1.0.0" 21 | chalk "2.3.1" 22 | diff "3.5.0" 23 | globby "8.0.0" 24 | signal-exit "3.0.2" 25 | 26 | "@zeit/eslint-config-base@0.3.0": 27 | version "0.3.0" 28 | resolved "https://registry.yarnpkg.com/@zeit/eslint-config-base/-/eslint-config-base-0.3.0.tgz#32a58c3e52eca4025604758cb4591f3d28e22fb4" 29 | dependencies: 30 | arg "^1.0.0" 31 | chalk "^2.3.0" 32 | 33 | "@zeit/eslint-config-node@0.3.0": 34 | version "0.3.0" 35 | resolved "https://registry.yarnpkg.com/@zeit/eslint-config-node/-/eslint-config-node-0.3.0.tgz#6e328328f366f66c2a0549a69131bbcd9735f098" 36 | dependencies: 37 | "@zeit/eslint-config-base" "0.3.0" 38 | 39 | "@zeit/git-hooks@0.1.4": 40 | version "0.1.4" 41 | resolved "https://registry.yarnpkg.com/@zeit/git-hooks/-/git-hooks-0.1.4.tgz#70583db5dd69726a62c7963520e67f2c3a33cc5f" 42 | 43 | acorn-jsx@^3.0.0: 44 | version "3.0.1" 45 | resolved "https://registry.yarnpkg.com/acorn-jsx/-/acorn-jsx-3.0.1.tgz#afdf9488fb1ecefc8348f6fb22f464e32a58b36b" 46 | dependencies: 47 | acorn "^3.0.4" 48 | 49 | acorn@^3.0.4: 50 | version "3.3.0" 51 | resolved "https://registry.yarnpkg.com/acorn/-/acorn-3.3.0.tgz#45e37fb39e8da3f25baee3ff5369e2bb5f22017a" 52 | 53 | acorn@^5.5.0: 54 | version "5.7.1" 55 | resolved "https://registry.yarnpkg.com/acorn/-/acorn-5.7.1.tgz#f095829297706a7c9776958c0afc8930a9b9d9d8" 56 | 57 | ajv-keywords@^2.1.0: 58 | version "2.1.1" 59 | resolved "https://registry.yarnpkg.com/ajv-keywords/-/ajv-keywords-2.1.1.tgz#617997fc5f60576894c435f940d819e135b80762" 60 | 61 | ajv@6.5.1: 62 | version "6.5.1" 63 | resolved "https://registry.yarnpkg.com/ajv/-/ajv-6.5.1.tgz#88ebc1263c7133937d108b80c5572e64e1d9322d" 64 | dependencies: 65 | fast-deep-equal "^2.0.1" 66 | fast-json-stable-stringify "^2.0.0" 67 | json-schema-traverse "^0.4.1" 68 | uri-js "^4.2.1" 69 | 70 | ajv@^5.2.3, ajv@^5.3.0: 71 | version "5.5.2" 72 | resolved "https://registry.yarnpkg.com/ajv/-/ajv-5.5.2.tgz#73b5eeca3fab653e3d3f9422b341ad42205dc965" 73 | dependencies: 74 | co "^4.6.0" 75 | fast-deep-equal "^1.0.0" 76 | fast-json-stable-stringify "^2.0.0" 77 | json-schema-traverse "^0.3.0" 78 | 79 | ansi-escapes@^3.0.0: 80 | version "3.1.0" 81 | resolved "https://registry.yarnpkg.com/ansi-escapes/-/ansi-escapes-3.1.0.tgz#f73207bb81207d75fd6c83f125af26eea378ca30" 82 | 83 | ansi-regex@^2.0.0: 84 | version "2.1.1" 85 | resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-2.1.1.tgz#c3b33ab5ee360d86e0e628f0468ae7ef27d654df" 86 | 87 | ansi-regex@^3.0.0: 88 | version "3.0.0" 89 | resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-3.0.0.tgz#ed0317c322064f79466c02966bddb605ab37d998" 90 | 91 | ansi-styles@^2.2.1: 92 | version "2.2.1" 93 | resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-2.2.1.tgz#b432dd3358b634cf75e1e4664368240533c1ddbe" 94 | 95 | ansi-styles@^3.2.0, ansi-styles@^3.2.1: 96 | version "3.2.1" 97 | resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-3.2.1.tgz#41fbb20243e50b12be0f04b8dedbf07520ce841d" 98 | dependencies: 99 | color-convert "^1.9.0" 100 | 101 | arg@1.0.0: 102 | version "1.0.0" 103 | resolved "https://registry.yarnpkg.com/arg/-/arg-1.0.0.tgz#444d885a4e25b121640b55155ef7cd03975d6050" 104 | 105 | arg@^1.0.0: 106 | version "1.0.1" 107 | resolved "https://registry.yarnpkg.com/arg/-/arg-1.0.1.tgz#892a26d841bd5a64880bbc8f73dd64a705910ca3" 108 | 109 | argparse@^1.0.7: 110 | version "1.0.10" 111 | resolved "https://registry.yarnpkg.com/argparse/-/argparse-1.0.10.tgz#bcd6791ea5ae09725e17e5ad988134cd40b3d911" 112 | dependencies: 113 | sprintf-js "~1.0.2" 114 | 115 | arr-diff@^4.0.0: 116 | version "4.0.0" 117 | resolved "https://registry.yarnpkg.com/arr-diff/-/arr-diff-4.0.0.tgz#d6461074febfec71e7e15235761a329a5dc7c520" 118 | 119 | arr-flatten@^1.1.0: 120 | version "1.1.0" 121 | resolved "https://registry.yarnpkg.com/arr-flatten/-/arr-flatten-1.1.0.tgz#36048bbff4e7b47e136644316c99669ea5ae91f1" 122 | 123 | arr-union@^3.1.0: 124 | version "3.1.0" 125 | resolved "https://registry.yarnpkg.com/arr-union/-/arr-union-3.1.0.tgz#e39b09aea9def866a8f206e288af63919bae39c4" 126 | 127 | array-union@^1.0.1: 128 | version "1.0.2" 129 | resolved "https://registry.yarnpkg.com/array-union/-/array-union-1.0.2.tgz#9a34410e4f4e3da23dea375be5be70f24778ec39" 130 | dependencies: 131 | array-uniq "^1.0.1" 132 | 133 | array-uniq@^1.0.1: 134 | version "1.0.3" 135 | resolved "https://registry.yarnpkg.com/array-uniq/-/array-uniq-1.0.3.tgz#af6ac877a25cc7f74e058894753858dfdb24fdb6" 136 | 137 | array-unique@^0.3.2: 138 | version "0.3.2" 139 | resolved "https://registry.yarnpkg.com/array-unique/-/array-unique-0.3.2.tgz#a894b75d4bc4f6cd679ef3244a9fd8f46ae2d428" 140 | 141 | arrify@^1.0.0, arrify@^1.0.1: 142 | version "1.0.1" 143 | resolved "https://registry.yarnpkg.com/arrify/-/arrify-1.0.1.tgz#898508da2226f380df904728456849c1501a4b0d" 144 | 145 | assign-symbols@^1.0.0: 146 | version "1.0.0" 147 | resolved "https://registry.yarnpkg.com/assign-symbols/-/assign-symbols-1.0.0.tgz#59667f41fadd4f20ccbc2bb96b8d4f7f78ec0367" 148 | 149 | atob@^2.1.1: 150 | version "2.1.1" 151 | resolved "https://registry.yarnpkg.com/atob/-/atob-2.1.1.tgz#ae2d5a729477f289d60dd7f96a6314a22dd6c22a" 152 | 153 | babel-code-frame@^6.22.0: 154 | version "6.26.0" 155 | resolved "https://registry.yarnpkg.com/babel-code-frame/-/babel-code-frame-6.26.0.tgz#63fd43f7dc1e3bb7ce35947db8fe369a3f58c74b" 156 | dependencies: 157 | chalk "^1.1.3" 158 | esutils "^2.0.2" 159 | js-tokens "^3.0.2" 160 | 161 | balanced-match@^1.0.0: 162 | version "1.0.0" 163 | resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-1.0.0.tgz#89b4d199ab2bee49de164ea02b89ce462d71b767" 164 | 165 | base@^0.11.1: 166 | version "0.11.2" 167 | resolved "https://registry.yarnpkg.com/base/-/base-0.11.2.tgz#7bde5ced145b6d551a90db87f83c558b4eb48a8f" 168 | dependencies: 169 | cache-base "^1.0.1" 170 | class-utils "^0.3.5" 171 | component-emitter "^1.2.1" 172 | define-property "^1.0.0" 173 | isobject "^3.0.1" 174 | mixin-deep "^1.2.0" 175 | pascalcase "^0.1.1" 176 | 177 | brace-expansion@^1.1.7: 178 | version "1.1.11" 179 | resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-1.1.11.tgz#3c7fcbf529d87226f3d2f52b966ff5271eb441dd" 180 | dependencies: 181 | balanced-match "^1.0.0" 182 | concat-map "0.0.1" 183 | 184 | braces@^2.3.1: 185 | version "2.3.2" 186 | resolved "https://registry.yarnpkg.com/braces/-/braces-2.3.2.tgz#5979fd3f14cd531565e5fa2df1abfff1dfaee729" 187 | dependencies: 188 | arr-flatten "^1.1.0" 189 | array-unique "^0.3.2" 190 | extend-shallow "^2.0.1" 191 | fill-range "^4.0.0" 192 | isobject "^3.0.1" 193 | repeat-element "^1.1.2" 194 | snapdragon "^0.8.1" 195 | snapdragon-node "^2.0.1" 196 | split-string "^3.0.2" 197 | to-regex "^3.0.1" 198 | 199 | buffer-from@^1.0.0: 200 | version "1.1.0" 201 | resolved "https://registry.yarnpkg.com/buffer-from/-/buffer-from-1.1.0.tgz#87fcaa3a298358e0ade6e442cfce840740d1ad04" 202 | 203 | cache-base@^1.0.1: 204 | version "1.0.1" 205 | resolved "https://registry.yarnpkg.com/cache-base/-/cache-base-1.0.1.tgz#0a7f46416831c8b662ee36fe4e7c59d76f666ab2" 206 | dependencies: 207 | collection-visit "^1.0.0" 208 | component-emitter "^1.2.1" 209 | get-value "^2.0.6" 210 | has-value "^1.0.0" 211 | isobject "^3.0.1" 212 | set-value "^2.0.0" 213 | to-object-path "^0.3.0" 214 | union-value "^1.0.0" 215 | unset-value "^1.0.0" 216 | 217 | call-me-maybe@^1.0.1: 218 | version "1.0.1" 219 | resolved "https://registry.yarnpkg.com/call-me-maybe/-/call-me-maybe-1.0.1.tgz#26d208ea89e37b5cbde60250a15f031c16a4d66b" 220 | 221 | caller-path@^0.1.0: 222 | version "0.1.0" 223 | resolved "https://registry.yarnpkg.com/caller-path/-/caller-path-0.1.0.tgz#94085ef63581ecd3daa92444a8fe94e82577751f" 224 | dependencies: 225 | callsites "^0.2.0" 226 | 227 | callsites@^0.2.0: 228 | version "0.2.0" 229 | resolved "https://registry.yarnpkg.com/callsites/-/callsites-0.2.0.tgz#afab96262910a7f33c19a5775825c69f34e350ca" 230 | 231 | chalk@2.3.1: 232 | version "2.3.1" 233 | resolved "https://registry.yarnpkg.com/chalk/-/chalk-2.3.1.tgz#523fe2678aec7b04e8041909292fe8b17059b796" 234 | dependencies: 235 | ansi-styles "^3.2.0" 236 | escape-string-regexp "^1.0.5" 237 | supports-color "^5.2.0" 238 | 239 | chalk@^1.1.3: 240 | version "1.1.3" 241 | resolved "https://registry.yarnpkg.com/chalk/-/chalk-1.1.3.tgz#a8115c55e4a702fe4d150abd3872822a7e09fc98" 242 | dependencies: 243 | ansi-styles "^2.2.1" 244 | escape-string-regexp "^1.0.2" 245 | has-ansi "^2.0.0" 246 | strip-ansi "^3.0.0" 247 | supports-color "^2.0.0" 248 | 249 | chalk@^2.0.0, chalk@^2.1.0, chalk@^2.3.0: 250 | version "2.4.1" 251 | resolved "https://registry.yarnpkg.com/chalk/-/chalk-2.4.1.tgz#18c49ab16a037b6eb0152cc83e3471338215b66e" 252 | dependencies: 253 | ansi-styles "^3.2.1" 254 | escape-string-regexp "^1.0.5" 255 | supports-color "^5.3.0" 256 | 257 | chardet@^0.4.0: 258 | version "0.4.2" 259 | resolved "https://registry.yarnpkg.com/chardet/-/chardet-0.4.2.tgz#b5473b33dc97c424e5d98dc87d55d4d8a29c8bf2" 260 | 261 | circular-json@^0.3.1: 262 | version "0.3.3" 263 | resolved "https://registry.yarnpkg.com/circular-json/-/circular-json-0.3.3.tgz#815c99ea84f6809529d2f45791bdf82711352d66" 264 | 265 | class-utils@^0.3.5: 266 | version "0.3.6" 267 | resolved "https://registry.yarnpkg.com/class-utils/-/class-utils-0.3.6.tgz#f93369ae8b9a7ce02fd41faad0ca83033190c463" 268 | dependencies: 269 | arr-union "^3.1.0" 270 | define-property "^0.2.5" 271 | isobject "^3.0.0" 272 | static-extend "^0.1.1" 273 | 274 | cli-cursor@^2.1.0: 275 | version "2.1.0" 276 | resolved "https://registry.yarnpkg.com/cli-cursor/-/cli-cursor-2.1.0.tgz#b35dac376479facc3e94747d41d0d0f5238ffcb5" 277 | dependencies: 278 | restore-cursor "^2.0.0" 279 | 280 | cli-width@^2.0.0: 281 | version "2.2.0" 282 | resolved "https://registry.yarnpkg.com/cli-width/-/cli-width-2.2.0.tgz#ff19ede8a9a5e579324147b0c11f0fbcbabed639" 283 | 284 | co@^4.6.0: 285 | version "4.6.0" 286 | resolved "https://registry.yarnpkg.com/co/-/co-4.6.0.tgz#6ea6bdf3d853ae54ccb8e47bfa0bf3f9031fb184" 287 | 288 | collection-visit@^1.0.0: 289 | version "1.0.0" 290 | resolved "https://registry.yarnpkg.com/collection-visit/-/collection-visit-1.0.0.tgz#4bc0373c164bc3291b4d368c829cf1a80a59dca0" 291 | dependencies: 292 | map-visit "^1.0.0" 293 | object-visit "^1.0.0" 294 | 295 | color-convert@^1.9.0: 296 | version "1.9.2" 297 | resolved "https://registry.yarnpkg.com/color-convert/-/color-convert-1.9.2.tgz#49881b8fba67df12a96bdf3f56c0aab9e7913147" 298 | dependencies: 299 | color-name "1.1.1" 300 | 301 | color-name@1.1.1: 302 | version "1.1.1" 303 | resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.1.tgz#4b1415304cf50028ea81643643bd82ea05803689" 304 | 305 | component-emitter@^1.2.1: 306 | version "1.2.1" 307 | resolved "https://registry.yarnpkg.com/component-emitter/-/component-emitter-1.2.1.tgz#137918d6d78283f7df7a6b7c5a63e140e69425e6" 308 | 309 | concat-map@0.0.1: 310 | version "0.0.1" 311 | resolved "https://registry.yarnpkg.com/concat-map/-/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b" 312 | 313 | concat-stream@^1.6.0: 314 | version "1.6.2" 315 | resolved "https://registry.yarnpkg.com/concat-stream/-/concat-stream-1.6.2.tgz#904bdf194cd3122fc675c77fc4ac3d4ff0fd1a34" 316 | dependencies: 317 | buffer-from "^1.0.0" 318 | inherits "^2.0.3" 319 | readable-stream "^2.2.2" 320 | typedarray "^0.0.6" 321 | 322 | copy-descriptor@^0.1.0: 323 | version "0.1.1" 324 | resolved "https://registry.yarnpkg.com/copy-descriptor/-/copy-descriptor-0.1.1.tgz#676f6eb3c39997c2ee1ac3a924fd6124748f578d" 325 | 326 | core-util-is@~1.0.0: 327 | version "1.0.2" 328 | resolved "https://registry.yarnpkg.com/core-util-is/-/core-util-is-1.0.2.tgz#b5fd54220aa2bc5ab57aab7140c940754503c1a7" 329 | 330 | cross-spawn@^5.1.0: 331 | version "5.1.0" 332 | resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-5.1.0.tgz#e8bd0efee58fcff6f8f94510a0a554bbfa235449" 333 | dependencies: 334 | lru-cache "^4.0.1" 335 | shebang-command "^1.2.0" 336 | which "^1.2.9" 337 | 338 | debug@^2.2.0, debug@^2.3.3: 339 | version "2.6.9" 340 | resolved "https://registry.yarnpkg.com/debug/-/debug-2.6.9.tgz#5d128515df134ff327e90a4c93f4e077a536341f" 341 | dependencies: 342 | ms "2.0.0" 343 | 344 | debug@^3.1.0: 345 | version "3.1.0" 346 | resolved "https://registry.yarnpkg.com/debug/-/debug-3.1.0.tgz#5bb5a0672628b64149566ba16819e61518c67261" 347 | dependencies: 348 | ms "2.0.0" 349 | 350 | decode-uri-component@^0.2.0: 351 | version "0.2.0" 352 | resolved "https://registry.yarnpkg.com/decode-uri-component/-/decode-uri-component-0.2.0.tgz#eb3913333458775cb84cd1a1fae062106bb87545" 353 | 354 | deep-is@~0.1.3: 355 | version "0.1.3" 356 | resolved "https://registry.yarnpkg.com/deep-is/-/deep-is-0.1.3.tgz#b369d6fb5dbc13eecf524f91b070feedc357cf34" 357 | 358 | define-property@^0.2.5: 359 | version "0.2.5" 360 | resolved "https://registry.yarnpkg.com/define-property/-/define-property-0.2.5.tgz#c35b1ef918ec3c990f9a5bc57be04aacec5c8116" 361 | dependencies: 362 | is-descriptor "^0.1.0" 363 | 364 | define-property@^1.0.0: 365 | version "1.0.0" 366 | resolved "https://registry.yarnpkg.com/define-property/-/define-property-1.0.0.tgz#769ebaaf3f4a63aad3af9e8d304c9bbe79bfb0e6" 367 | dependencies: 368 | is-descriptor "^1.0.0" 369 | 370 | define-property@^2.0.2: 371 | version "2.0.2" 372 | resolved "https://registry.yarnpkg.com/define-property/-/define-property-2.0.2.tgz#d459689e8d654ba77e02a817f8710d702cb16e9d" 373 | dependencies: 374 | is-descriptor "^1.0.2" 375 | isobject "^3.0.1" 376 | 377 | del@^2.0.2: 378 | version "2.2.2" 379 | resolved "https://registry.yarnpkg.com/del/-/del-2.2.2.tgz#c12c981d067846c84bcaf862cff930d907ffd1a8" 380 | dependencies: 381 | globby "^5.0.0" 382 | is-path-cwd "^1.0.0" 383 | is-path-in-cwd "^1.0.0" 384 | object-assign "^4.0.1" 385 | pify "^2.0.0" 386 | pinkie-promise "^2.0.0" 387 | rimraf "^2.2.8" 388 | 389 | diff@3.5.0: 390 | version "3.5.0" 391 | resolved "https://registry.yarnpkg.com/diff/-/diff-3.5.0.tgz#800c0dd1e0a8bfbc95835c202ad220fe317e5a12" 392 | 393 | dir-glob@^2.0.0: 394 | version "2.0.0" 395 | resolved "https://registry.yarnpkg.com/dir-glob/-/dir-glob-2.0.0.tgz#0b205d2b6aef98238ca286598a8204d29d0a0034" 396 | dependencies: 397 | arrify "^1.0.1" 398 | path-type "^3.0.0" 399 | 400 | doctrine@^2.1.0: 401 | version "2.1.0" 402 | resolved "https://registry.yarnpkg.com/doctrine/-/doctrine-2.1.0.tgz#5cd01fc101621b42c4cd7f5d1a66243716d3f39d" 403 | dependencies: 404 | esutils "^2.0.2" 405 | 406 | escape-string-regexp@^1.0.2, escape-string-regexp@^1.0.5: 407 | version "1.0.5" 408 | resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz#1b61c0562190a8dff6ae3bb2cf0200ca130b86d4" 409 | 410 | eslint-scope@^3.7.1: 411 | version "3.7.1" 412 | resolved "https://registry.yarnpkg.com/eslint-scope/-/eslint-scope-3.7.1.tgz#3d63c3edfda02e06e01a452ad88caacc7cdcb6e8" 413 | dependencies: 414 | esrecurse "^4.1.0" 415 | estraverse "^4.1.1" 416 | 417 | eslint-visitor-keys@^1.0.0: 418 | version "1.0.0" 419 | resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-1.0.0.tgz#3f3180fb2e291017716acb4c9d6d5b5c34a6a81d" 420 | 421 | eslint@4.19.1: 422 | version "4.19.1" 423 | resolved "https://registry.yarnpkg.com/eslint/-/eslint-4.19.1.tgz#32d1d653e1d90408854bfb296f076ec7e186a300" 424 | dependencies: 425 | ajv "^5.3.0" 426 | babel-code-frame "^6.22.0" 427 | chalk "^2.1.0" 428 | concat-stream "^1.6.0" 429 | cross-spawn "^5.1.0" 430 | debug "^3.1.0" 431 | doctrine "^2.1.0" 432 | eslint-scope "^3.7.1" 433 | eslint-visitor-keys "^1.0.0" 434 | espree "^3.5.4" 435 | esquery "^1.0.0" 436 | esutils "^2.0.2" 437 | file-entry-cache "^2.0.0" 438 | functional-red-black-tree "^1.0.1" 439 | glob "^7.1.2" 440 | globals "^11.0.1" 441 | ignore "^3.3.3" 442 | imurmurhash "^0.1.4" 443 | inquirer "^3.0.6" 444 | is-resolvable "^1.0.0" 445 | js-yaml "^3.9.1" 446 | json-stable-stringify-without-jsonify "^1.0.1" 447 | levn "^0.3.0" 448 | lodash "^4.17.4" 449 | minimatch "^3.0.2" 450 | mkdirp "^0.5.1" 451 | natural-compare "^1.4.0" 452 | optionator "^0.8.2" 453 | path-is-inside "^1.0.2" 454 | pluralize "^7.0.0" 455 | progress "^2.0.0" 456 | regexpp "^1.0.1" 457 | require-uncached "^1.0.3" 458 | semver "^5.3.0" 459 | strip-ansi "^4.0.0" 460 | strip-json-comments "~2.0.1" 461 | table "4.0.2" 462 | text-table "~0.2.0" 463 | 464 | espree@^3.5.4: 465 | version "3.5.4" 466 | resolved "https://registry.yarnpkg.com/espree/-/espree-3.5.4.tgz#b0f447187c8a8bed944b815a660bddf5deb5d1a7" 467 | dependencies: 468 | acorn "^5.5.0" 469 | acorn-jsx "^3.0.0" 470 | 471 | esprima@^4.0.0: 472 | version "4.0.0" 473 | resolved "https://registry.yarnpkg.com/esprima/-/esprima-4.0.0.tgz#4499eddcd1110e0b218bacf2fa7f7f59f55ca804" 474 | 475 | esquery@^1.0.0: 476 | version "1.0.1" 477 | resolved "https://registry.yarnpkg.com/esquery/-/esquery-1.0.1.tgz#406c51658b1f5991a5f9b62b1dc25b00e3e5c708" 478 | dependencies: 479 | estraverse "^4.0.0" 480 | 481 | esrecurse@^4.1.0: 482 | version "4.2.1" 483 | resolved "https://registry.yarnpkg.com/esrecurse/-/esrecurse-4.2.1.tgz#007a3b9fdbc2b3bb87e4879ea19c92fdbd3942cf" 484 | dependencies: 485 | estraverse "^4.1.0" 486 | 487 | estraverse@^4.0.0, estraverse@^4.1.0, estraverse@^4.1.1: 488 | version "4.2.0" 489 | resolved "https://registry.yarnpkg.com/estraverse/-/estraverse-4.2.0.tgz#0dee3fed31fcd469618ce7342099fc1afa0bdb13" 490 | 491 | esutils@^2.0.2: 492 | version "2.0.2" 493 | resolved "https://registry.yarnpkg.com/esutils/-/esutils-2.0.2.tgz#0abf4f1caa5bcb1f7a9d8acc6dea4faaa04bac9b" 494 | 495 | expand-brackets@^2.1.4: 496 | version "2.1.4" 497 | resolved "https://registry.yarnpkg.com/expand-brackets/-/expand-brackets-2.1.4.tgz#b77735e315ce30f6b6eff0f83b04151a22449622" 498 | dependencies: 499 | debug "^2.3.3" 500 | define-property "^0.2.5" 501 | extend-shallow "^2.0.1" 502 | posix-character-classes "^0.1.0" 503 | regex-not "^1.0.0" 504 | snapdragon "^0.8.1" 505 | to-regex "^3.0.1" 506 | 507 | extend-shallow@^2.0.1: 508 | version "2.0.1" 509 | resolved "https://registry.yarnpkg.com/extend-shallow/-/extend-shallow-2.0.1.tgz#51af7d614ad9a9f610ea1bafbb989d6b1c56890f" 510 | dependencies: 511 | is-extendable "^0.1.0" 512 | 513 | extend-shallow@^3.0.0, extend-shallow@^3.0.2: 514 | version "3.0.2" 515 | resolved "https://registry.yarnpkg.com/extend-shallow/-/extend-shallow-3.0.2.tgz#26a71aaf073b39fb2127172746131c2704028db8" 516 | dependencies: 517 | assign-symbols "^1.0.0" 518 | is-extendable "^1.0.1" 519 | 520 | external-editor@^2.0.4: 521 | version "2.2.0" 522 | resolved "https://registry.yarnpkg.com/external-editor/-/external-editor-2.2.0.tgz#045511cfd8d133f3846673d1047c154e214ad3d5" 523 | dependencies: 524 | chardet "^0.4.0" 525 | iconv-lite "^0.4.17" 526 | tmp "^0.0.33" 527 | 528 | extglob@^2.0.4: 529 | version "2.0.4" 530 | resolved "https://registry.yarnpkg.com/extglob/-/extglob-2.0.4.tgz#ad00fe4dc612a9232e8718711dc5cb5ab0285543" 531 | dependencies: 532 | array-unique "^0.3.2" 533 | define-property "^1.0.0" 534 | expand-brackets "^2.1.4" 535 | extend-shallow "^2.0.1" 536 | fragment-cache "^0.2.1" 537 | regex-not "^1.0.0" 538 | snapdragon "^0.8.1" 539 | to-regex "^3.0.1" 540 | 541 | fast-deep-equal@^1.0.0: 542 | version "1.1.0" 543 | resolved "https://registry.yarnpkg.com/fast-deep-equal/-/fast-deep-equal-1.1.0.tgz#c053477817c86b51daa853c81e059b733d023614" 544 | 545 | fast-deep-equal@^2.0.1: 546 | version "2.0.1" 547 | resolved "https://registry.yarnpkg.com/fast-deep-equal/-/fast-deep-equal-2.0.1.tgz#7b05218ddf9667bf7f370bf7fdb2cb15fdd0aa49" 548 | 549 | fast-glob@^2.0.2: 550 | version "2.2.2" 551 | resolved "https://registry.yarnpkg.com/fast-glob/-/fast-glob-2.2.2.tgz#71723338ac9b4e0e2fff1d6748a2a13d5ed352bf" 552 | dependencies: 553 | "@mrmlnc/readdir-enhanced" "^2.2.1" 554 | "@nodelib/fs.stat" "^1.0.1" 555 | glob-parent "^3.1.0" 556 | is-glob "^4.0.0" 557 | merge2 "^1.2.1" 558 | micromatch "^3.1.10" 559 | 560 | fast-json-stable-stringify@^2.0.0: 561 | version "2.0.0" 562 | resolved "https://registry.yarnpkg.com/fast-json-stable-stringify/-/fast-json-stable-stringify-2.0.0.tgz#d5142c0caee6b1189f87d3a76111064f86c8bbf2" 563 | 564 | fast-levenshtein@~2.0.4: 565 | version "2.0.6" 566 | resolved "https://registry.yarnpkg.com/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz#3d8a5c66883a16a30ca8643e851f19baa7797917" 567 | 568 | figures@^2.0.0: 569 | version "2.0.0" 570 | resolved "https://registry.yarnpkg.com/figures/-/figures-2.0.0.tgz#3ab1a2d2a62c8bfb431a0c94cb797a2fce27c962" 571 | dependencies: 572 | escape-string-regexp "^1.0.5" 573 | 574 | file-entry-cache@^2.0.0: 575 | version "2.0.0" 576 | resolved "https://registry.yarnpkg.com/file-entry-cache/-/file-entry-cache-2.0.0.tgz#c392990c3e684783d838b8c84a45d8a048458361" 577 | dependencies: 578 | flat-cache "^1.2.1" 579 | object-assign "^4.0.1" 580 | 581 | fill-range@^4.0.0: 582 | version "4.0.0" 583 | resolved "https://registry.yarnpkg.com/fill-range/-/fill-range-4.0.0.tgz#d544811d428f98eb06a63dc402d2403c328c38f7" 584 | dependencies: 585 | extend-shallow "^2.0.1" 586 | is-number "^3.0.0" 587 | repeat-string "^1.6.1" 588 | to-regex-range "^2.1.0" 589 | 590 | flat-cache@^1.2.1: 591 | version "1.3.0" 592 | resolved "https://registry.yarnpkg.com/flat-cache/-/flat-cache-1.3.0.tgz#d3030b32b38154f4e3b7e9c709f490f7ef97c481" 593 | dependencies: 594 | circular-json "^0.3.1" 595 | del "^2.0.2" 596 | graceful-fs "^4.1.2" 597 | write "^0.2.1" 598 | 599 | for-in@^1.0.2: 600 | version "1.0.2" 601 | resolved "https://registry.yarnpkg.com/for-in/-/for-in-1.0.2.tgz#81068d295a8142ec0ac726c6e2200c30fb6d5e80" 602 | 603 | fragment-cache@^0.2.1: 604 | version "0.2.1" 605 | resolved "https://registry.yarnpkg.com/fragment-cache/-/fragment-cache-0.2.1.tgz#4290fad27f13e89be7f33799c6bc5a0abfff0d19" 606 | dependencies: 607 | map-cache "^0.2.2" 608 | 609 | fs.realpath@^1.0.0: 610 | version "1.0.0" 611 | resolved "https://registry.yarnpkg.com/fs.realpath/-/fs.realpath-1.0.0.tgz#1504ad2523158caa40db4a2787cb01411994ea4f" 612 | 613 | functional-red-black-tree@^1.0.1: 614 | version "1.0.1" 615 | resolved "https://registry.yarnpkg.com/functional-red-black-tree/-/functional-red-black-tree-1.0.1.tgz#1b0ab3bd553b2a0d6399d29c0e3ea0b252078327" 616 | 617 | get-value@^2.0.3, get-value@^2.0.6: 618 | version "2.0.6" 619 | resolved "https://registry.yarnpkg.com/get-value/-/get-value-2.0.6.tgz#dc15ca1c672387ca76bd37ac0a395ba2042a2c28" 620 | 621 | glob-parent@^3.1.0: 622 | version "3.1.0" 623 | resolved "https://registry.yarnpkg.com/glob-parent/-/glob-parent-3.1.0.tgz#9e6af6299d8d3bd2bd40430832bd113df906c5ae" 624 | dependencies: 625 | is-glob "^3.1.0" 626 | path-dirname "^1.0.0" 627 | 628 | glob-to-regexp@^0.3.0: 629 | version "0.3.0" 630 | resolved "https://registry.yarnpkg.com/glob-to-regexp/-/glob-to-regexp-0.3.0.tgz#8c5a1494d2066c570cc3bfe4496175acc4d502ab" 631 | 632 | glob@^7.0.3, glob@^7.0.5, glob@^7.1.2: 633 | version "7.1.2" 634 | resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.2.tgz#c19c9df9a028702d678612384a6552404c636d15" 635 | dependencies: 636 | fs.realpath "^1.0.0" 637 | inflight "^1.0.4" 638 | inherits "2" 639 | minimatch "^3.0.4" 640 | once "^1.3.0" 641 | path-is-absolute "^1.0.0" 642 | 643 | globals@^11.0.1: 644 | version "11.7.0" 645 | resolved "https://registry.yarnpkg.com/globals/-/globals-11.7.0.tgz#a583faa43055b1aca771914bf68258e2fc125673" 646 | 647 | globby@8.0.0: 648 | version "8.0.0" 649 | resolved "https://registry.yarnpkg.com/globby/-/globby-8.0.0.tgz#e6f8340ead9a52fa417ec0e75ae664ae0026f5c6" 650 | dependencies: 651 | array-union "^1.0.1" 652 | dir-glob "^2.0.0" 653 | fast-glob "^2.0.2" 654 | glob "^7.1.2" 655 | ignore "^3.3.5" 656 | pify "^3.0.0" 657 | slash "^1.0.0" 658 | 659 | globby@^5.0.0: 660 | version "5.0.0" 661 | resolved "https://registry.yarnpkg.com/globby/-/globby-5.0.0.tgz#ebd84667ca0dbb330b99bcfc68eac2bc54370e0d" 662 | dependencies: 663 | array-union "^1.0.1" 664 | arrify "^1.0.0" 665 | glob "^7.0.3" 666 | object-assign "^4.0.1" 667 | pify "^2.0.0" 668 | pinkie-promise "^2.0.0" 669 | 670 | graceful-fs@^4.1.2: 671 | version "4.1.11" 672 | resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.1.11.tgz#0e8bdfe4d1ddb8854d64e04ea7c00e2a026e5658" 673 | 674 | has-ansi@^2.0.0: 675 | version "2.0.0" 676 | resolved "https://registry.yarnpkg.com/has-ansi/-/has-ansi-2.0.0.tgz#34f5049ce1ecdf2b0649af3ef24e45ed35416d91" 677 | dependencies: 678 | ansi-regex "^2.0.0" 679 | 680 | has-flag@^3.0.0: 681 | version "3.0.0" 682 | resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-3.0.0.tgz#b5d454dc2199ae225699f3467e5a07f3b955bafd" 683 | 684 | has-value@^0.3.1: 685 | version "0.3.1" 686 | resolved "https://registry.yarnpkg.com/has-value/-/has-value-0.3.1.tgz#7b1f58bada62ca827ec0a2078025654845995e1f" 687 | dependencies: 688 | get-value "^2.0.3" 689 | has-values "^0.1.4" 690 | isobject "^2.0.0" 691 | 692 | has-value@^1.0.0: 693 | version "1.0.0" 694 | resolved "https://registry.yarnpkg.com/has-value/-/has-value-1.0.0.tgz#18b281da585b1c5c51def24c930ed29a0be6b177" 695 | dependencies: 696 | get-value "^2.0.6" 697 | has-values "^1.0.0" 698 | isobject "^3.0.0" 699 | 700 | has-values@^0.1.4: 701 | version "0.1.4" 702 | resolved "https://registry.yarnpkg.com/has-values/-/has-values-0.1.4.tgz#6d61de95d91dfca9b9a02089ad384bff8f62b771" 703 | 704 | has-values@^1.0.0: 705 | version "1.0.0" 706 | resolved "https://registry.yarnpkg.com/has-values/-/has-values-1.0.0.tgz#95b0b63fec2146619a6fe57fe75628d5a39efe4f" 707 | dependencies: 708 | is-number "^3.0.0" 709 | kind-of "^4.0.0" 710 | 711 | iconv-lite@^0.4.17: 712 | version "0.4.23" 713 | resolved "https://registry.yarnpkg.com/iconv-lite/-/iconv-lite-0.4.23.tgz#297871f63be507adcfbfca715d0cd0eed84e9a63" 714 | dependencies: 715 | safer-buffer ">= 2.1.2 < 3" 716 | 717 | ignore@^3.3.3, ignore@^3.3.5: 718 | version "3.3.8" 719 | resolved "https://registry.yarnpkg.com/ignore/-/ignore-3.3.8.tgz#3f8e9c35d38708a3a7e0e9abb6c73e7ee7707b2b" 720 | 721 | imurmurhash@^0.1.4: 722 | version "0.1.4" 723 | resolved "https://registry.yarnpkg.com/imurmurhash/-/imurmurhash-0.1.4.tgz#9218b9b2b928a238b13dc4fb6b6d576f231453ea" 724 | 725 | inflight@^1.0.4: 726 | version "1.0.6" 727 | resolved "https://registry.yarnpkg.com/inflight/-/inflight-1.0.6.tgz#49bd6331d7d02d0c09bc910a1075ba8165b56df9" 728 | dependencies: 729 | once "^1.3.0" 730 | wrappy "1" 731 | 732 | inherits@2, inherits@^2.0.3, inherits@~2.0.3: 733 | version "2.0.3" 734 | resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.3.tgz#633c2c83e3da42a502f52466022480f4208261de" 735 | 736 | inquirer@^3.0.6: 737 | version "3.3.0" 738 | resolved "https://registry.yarnpkg.com/inquirer/-/inquirer-3.3.0.tgz#9dd2f2ad765dcab1ff0443b491442a20ba227dc9" 739 | dependencies: 740 | ansi-escapes "^3.0.0" 741 | chalk "^2.0.0" 742 | cli-cursor "^2.1.0" 743 | cli-width "^2.0.0" 744 | external-editor "^2.0.4" 745 | figures "^2.0.0" 746 | lodash "^4.3.0" 747 | mute-stream "0.0.7" 748 | run-async "^2.2.0" 749 | rx-lite "^4.0.8" 750 | rx-lite-aggregates "^4.0.8" 751 | string-width "^2.1.0" 752 | strip-ansi "^4.0.0" 753 | through "^2.3.6" 754 | 755 | is-accessor-descriptor@^0.1.6: 756 | version "0.1.6" 757 | resolved "https://registry.yarnpkg.com/is-accessor-descriptor/-/is-accessor-descriptor-0.1.6.tgz#a9e12cb3ae8d876727eeef3843f8a0897b5c98d6" 758 | dependencies: 759 | kind-of "^3.0.2" 760 | 761 | is-accessor-descriptor@^1.0.0: 762 | version "1.0.0" 763 | resolved "https://registry.yarnpkg.com/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz#169c2f6d3df1f992618072365c9b0ea1f6878656" 764 | dependencies: 765 | kind-of "^6.0.0" 766 | 767 | is-buffer@^1.1.5: 768 | version "1.1.6" 769 | resolved "https://registry.yarnpkg.com/is-buffer/-/is-buffer-1.1.6.tgz#efaa2ea9daa0d7ab2ea13a97b2b8ad51fefbe8be" 770 | 771 | is-data-descriptor@^0.1.4: 772 | version "0.1.4" 773 | resolved "https://registry.yarnpkg.com/is-data-descriptor/-/is-data-descriptor-0.1.4.tgz#0b5ee648388e2c860282e793f1856fec3f301b56" 774 | dependencies: 775 | kind-of "^3.0.2" 776 | 777 | is-data-descriptor@^1.0.0: 778 | version "1.0.0" 779 | resolved "https://registry.yarnpkg.com/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz#d84876321d0e7add03990406abbbbd36ba9268c7" 780 | dependencies: 781 | kind-of "^6.0.0" 782 | 783 | is-descriptor@^0.1.0: 784 | version "0.1.6" 785 | resolved "https://registry.yarnpkg.com/is-descriptor/-/is-descriptor-0.1.6.tgz#366d8240dde487ca51823b1ab9f07a10a78251ca" 786 | dependencies: 787 | is-accessor-descriptor "^0.1.6" 788 | is-data-descriptor "^0.1.4" 789 | kind-of "^5.0.0" 790 | 791 | is-descriptor@^1.0.0, is-descriptor@^1.0.2: 792 | version "1.0.2" 793 | resolved "https://registry.yarnpkg.com/is-descriptor/-/is-descriptor-1.0.2.tgz#3b159746a66604b04f8c81524ba365c5f14d86ec" 794 | dependencies: 795 | is-accessor-descriptor "^1.0.0" 796 | is-data-descriptor "^1.0.0" 797 | kind-of "^6.0.2" 798 | 799 | is-extendable@^0.1.0, is-extendable@^0.1.1: 800 | version "0.1.1" 801 | resolved "https://registry.yarnpkg.com/is-extendable/-/is-extendable-0.1.1.tgz#62b110e289a471418e3ec36a617d472e301dfc89" 802 | 803 | is-extendable@^1.0.1: 804 | version "1.0.1" 805 | resolved "https://registry.yarnpkg.com/is-extendable/-/is-extendable-1.0.1.tgz#a7470f9e426733d81bd81e1155264e3a3507cab4" 806 | dependencies: 807 | is-plain-object "^2.0.4" 808 | 809 | is-extglob@^2.1.0, is-extglob@^2.1.1: 810 | version "2.1.1" 811 | resolved "https://registry.yarnpkg.com/is-extglob/-/is-extglob-2.1.1.tgz#a88c02535791f02ed37c76a1b9ea9773c833f8c2" 812 | 813 | is-fullwidth-code-point@^2.0.0: 814 | version "2.0.0" 815 | resolved "https://registry.yarnpkg.com/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz#a3b30a5c4f199183167aaab93beefae3ddfb654f" 816 | 817 | is-glob@^3.1.0: 818 | version "3.1.0" 819 | resolved "https://registry.yarnpkg.com/is-glob/-/is-glob-3.1.0.tgz#7ba5ae24217804ac70707b96922567486cc3e84a" 820 | dependencies: 821 | is-extglob "^2.1.0" 822 | 823 | is-glob@^4.0.0: 824 | version "4.0.0" 825 | resolved "https://registry.yarnpkg.com/is-glob/-/is-glob-4.0.0.tgz#9521c76845cc2610a85203ddf080a958c2ffabc0" 826 | dependencies: 827 | is-extglob "^2.1.1" 828 | 829 | is-number@^3.0.0: 830 | version "3.0.0" 831 | resolved "https://registry.yarnpkg.com/is-number/-/is-number-3.0.0.tgz#24fd6201a4782cf50561c810276afc7d12d71195" 832 | dependencies: 833 | kind-of "^3.0.2" 834 | 835 | is-number@^4.0.0: 836 | version "4.0.0" 837 | resolved "https://registry.yarnpkg.com/is-number/-/is-number-4.0.0.tgz#0026e37f5454d73e356dfe6564699867c6a7f0ff" 838 | 839 | is-odd@^2.0.0: 840 | version "2.0.0" 841 | resolved "https://registry.yarnpkg.com/is-odd/-/is-odd-2.0.0.tgz#7646624671fd7ea558ccd9a2795182f2958f1b24" 842 | dependencies: 843 | is-number "^4.0.0" 844 | 845 | is-path-cwd@^1.0.0: 846 | version "1.0.0" 847 | resolved "https://registry.yarnpkg.com/is-path-cwd/-/is-path-cwd-1.0.0.tgz#d225ec23132e89edd38fda767472e62e65f1106d" 848 | 849 | is-path-in-cwd@^1.0.0: 850 | version "1.0.1" 851 | resolved "https://registry.yarnpkg.com/is-path-in-cwd/-/is-path-in-cwd-1.0.1.tgz#5ac48b345ef675339bd6c7a48a912110b241cf52" 852 | dependencies: 853 | is-path-inside "^1.0.0" 854 | 855 | is-path-inside@^1.0.0: 856 | version "1.0.1" 857 | resolved "https://registry.yarnpkg.com/is-path-inside/-/is-path-inside-1.0.1.tgz#8ef5b7de50437a3fdca6b4e865ef7aa55cb48036" 858 | dependencies: 859 | path-is-inside "^1.0.1" 860 | 861 | is-plain-object@^2.0.1, is-plain-object@^2.0.3, is-plain-object@^2.0.4: 862 | version "2.0.4" 863 | resolved "https://registry.yarnpkg.com/is-plain-object/-/is-plain-object-2.0.4.tgz#2c163b3fafb1b606d9d17928f05c2a1c38e07677" 864 | dependencies: 865 | isobject "^3.0.1" 866 | 867 | is-promise@^2.1.0: 868 | version "2.1.0" 869 | resolved "https://registry.yarnpkg.com/is-promise/-/is-promise-2.1.0.tgz#79a2a9ece7f096e80f36d2b2f3bc16c1ff4bf3fa" 870 | 871 | is-resolvable@^1.0.0: 872 | version "1.1.0" 873 | resolved "https://registry.yarnpkg.com/is-resolvable/-/is-resolvable-1.1.0.tgz#fb18f87ce1feb925169c9a407c19318a3206ed88" 874 | 875 | is-windows@^1.0.2: 876 | version "1.0.2" 877 | resolved "https://registry.yarnpkg.com/is-windows/-/is-windows-1.0.2.tgz#d1850eb9791ecd18e6182ce12a30f396634bb19d" 878 | 879 | isarray@1.0.0, isarray@~1.0.0: 880 | version "1.0.0" 881 | resolved "https://registry.yarnpkg.com/isarray/-/isarray-1.0.0.tgz#bb935d48582cba168c06834957a54a3e07124f11" 882 | 883 | isexe@^2.0.0: 884 | version "2.0.0" 885 | resolved "https://registry.yarnpkg.com/isexe/-/isexe-2.0.0.tgz#e8fbf374dc556ff8947a10dcb0572d633f2cfa10" 886 | 887 | isobject@^2.0.0: 888 | version "2.1.0" 889 | resolved "https://registry.yarnpkg.com/isobject/-/isobject-2.1.0.tgz#f065561096a3f1da2ef46272f815c840d87e0c89" 890 | dependencies: 891 | isarray "1.0.0" 892 | 893 | isobject@^3.0.0, isobject@^3.0.1: 894 | version "3.0.1" 895 | resolved "https://registry.yarnpkg.com/isobject/-/isobject-3.0.1.tgz#4e431e92b11a9731636aa1f9c8d1ccbcfdab78df" 896 | 897 | js-tokens@^3.0.2: 898 | version "3.0.2" 899 | resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-3.0.2.tgz#9866df395102130e38f7f996bceb65443209c25b" 900 | 901 | js-yaml@^3.9.1: 902 | version "3.12.0" 903 | resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-3.12.0.tgz#eaed656ec8344f10f527c6bfa1b6e2244de167d1" 904 | dependencies: 905 | argparse "^1.0.7" 906 | esprima "^4.0.0" 907 | 908 | json-schema-traverse@^0.3.0: 909 | version "0.3.1" 910 | resolved "https://registry.yarnpkg.com/json-schema-traverse/-/json-schema-traverse-0.3.1.tgz#349a6d44c53a51de89b40805c5d5e59b417d3340" 911 | 912 | json-schema-traverse@^0.4.1: 913 | version "0.4.1" 914 | resolved "https://registry.yarnpkg.com/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz#69f6a87d9513ab8bb8fe63bdb0979c448e684660" 915 | 916 | json-stable-stringify-without-jsonify@^1.0.1: 917 | version "1.0.1" 918 | resolved "https://registry.yarnpkg.com/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz#9db7b59496ad3f3cfef30a75142d2d930ad72651" 919 | 920 | kind-of@^3.0.2, kind-of@^3.0.3, kind-of@^3.2.0: 921 | version "3.2.2" 922 | resolved "https://registry.yarnpkg.com/kind-of/-/kind-of-3.2.2.tgz#31ea21a734bab9bbb0f32466d893aea51e4a3c64" 923 | dependencies: 924 | is-buffer "^1.1.5" 925 | 926 | kind-of@^4.0.0: 927 | version "4.0.0" 928 | resolved "https://registry.yarnpkg.com/kind-of/-/kind-of-4.0.0.tgz#20813df3d712928b207378691a45066fae72dd57" 929 | dependencies: 930 | is-buffer "^1.1.5" 931 | 932 | kind-of@^5.0.0: 933 | version "5.1.0" 934 | resolved "https://registry.yarnpkg.com/kind-of/-/kind-of-5.1.0.tgz#729c91e2d857b7a419a1f9aa65685c4c33f5845d" 935 | 936 | kind-of@^6.0.0, kind-of@^6.0.2: 937 | version "6.0.2" 938 | resolved "https://registry.yarnpkg.com/kind-of/-/kind-of-6.0.2.tgz#01146b36a6218e64e58f3a8d66de5d7fc6f6d051" 939 | 940 | levn@^0.3.0, levn@~0.3.0: 941 | version "0.3.0" 942 | resolved "https://registry.yarnpkg.com/levn/-/levn-0.3.0.tgz#3b09924edf9f083c0490fdd4c0bc4421e04764ee" 943 | dependencies: 944 | prelude-ls "~1.1.2" 945 | type-check "~0.3.2" 946 | 947 | lodash@^4.17.4, lodash@^4.3.0: 948 | version "4.17.10" 949 | resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.10.tgz#1b7793cf7259ea38fb3661d4d38b3260af8ae4e7" 950 | 951 | lru-cache@^4.0.1: 952 | version "4.1.3" 953 | resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-4.1.3.tgz#a1175cf3496dfc8436c156c334b4955992bce69c" 954 | dependencies: 955 | pseudomap "^1.0.2" 956 | yallist "^2.1.2" 957 | 958 | map-cache@^0.2.2: 959 | version "0.2.2" 960 | resolved "https://registry.yarnpkg.com/map-cache/-/map-cache-0.2.2.tgz#c32abd0bd6525d9b051645bb4f26ac5dc98a0dbf" 961 | 962 | map-visit@^1.0.0: 963 | version "1.0.0" 964 | resolved "https://registry.yarnpkg.com/map-visit/-/map-visit-1.0.0.tgz#ecdca8f13144e660f1b5bd41f12f3479d98dfb8f" 965 | dependencies: 966 | object-visit "^1.0.0" 967 | 968 | merge2@^1.2.1: 969 | version "1.2.2" 970 | resolved "https://registry.yarnpkg.com/merge2/-/merge2-1.2.2.tgz#03212e3da8d86c4d8523cebd6318193414f94e34" 971 | 972 | micromatch@^3.1.10: 973 | version "3.1.10" 974 | resolved "https://registry.yarnpkg.com/micromatch/-/micromatch-3.1.10.tgz#70859bc95c9840952f359a068a3fc49f9ecfac23" 975 | dependencies: 976 | arr-diff "^4.0.0" 977 | array-unique "^0.3.2" 978 | braces "^2.3.1" 979 | define-property "^2.0.2" 980 | extend-shallow "^3.0.2" 981 | extglob "^2.0.4" 982 | fragment-cache "^0.2.1" 983 | kind-of "^6.0.2" 984 | nanomatch "^1.2.9" 985 | object.pick "^1.3.0" 986 | regex-not "^1.0.0" 987 | snapdragon "^0.8.1" 988 | to-regex "^3.0.2" 989 | 990 | mimic-fn@^1.0.0: 991 | version "1.2.0" 992 | resolved "https://registry.yarnpkg.com/mimic-fn/-/mimic-fn-1.2.0.tgz#820c86a39334640e99516928bd03fca88057d022" 993 | 994 | minimatch@^3.0.2, minimatch@^3.0.4: 995 | version "3.0.4" 996 | resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.0.4.tgz#5166e286457f03306064be5497e8dbb0c3d32083" 997 | dependencies: 998 | brace-expansion "^1.1.7" 999 | 1000 | minimist@0.0.8: 1001 | version "0.0.8" 1002 | resolved "https://registry.yarnpkg.com/minimist/-/minimist-0.0.8.tgz#857fcabfc3397d2625b8228262e86aa7a011b05d" 1003 | 1004 | mixin-deep@^1.2.0: 1005 | version "1.3.1" 1006 | resolved "https://registry.yarnpkg.com/mixin-deep/-/mixin-deep-1.3.1.tgz#a49e7268dce1a0d9698e45326c5626df3543d0fe" 1007 | dependencies: 1008 | for-in "^1.0.2" 1009 | is-extendable "^1.0.1" 1010 | 1011 | mkdirp@^0.5.1: 1012 | version "0.5.1" 1013 | resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-0.5.1.tgz#30057438eac6cf7f8c4767f38648d6697d75c903" 1014 | dependencies: 1015 | minimist "0.0.8" 1016 | 1017 | ms@2.0.0: 1018 | version "2.0.0" 1019 | resolved "https://registry.yarnpkg.com/ms/-/ms-2.0.0.tgz#5608aeadfc00be6c2901df5f9861788de0d597c8" 1020 | 1021 | mute-stream@0.0.7: 1022 | version "0.0.7" 1023 | resolved "https://registry.yarnpkg.com/mute-stream/-/mute-stream-0.0.7.tgz#3075ce93bc21b8fab43e1bc4da7e8115ed1e7bab" 1024 | 1025 | nanomatch@^1.2.9: 1026 | version "1.2.9" 1027 | resolved "https://registry.yarnpkg.com/nanomatch/-/nanomatch-1.2.9.tgz#879f7150cb2dab7a471259066c104eee6e0fa7c2" 1028 | dependencies: 1029 | arr-diff "^4.0.0" 1030 | array-unique "^0.3.2" 1031 | define-property "^2.0.2" 1032 | extend-shallow "^3.0.2" 1033 | fragment-cache "^0.2.1" 1034 | is-odd "^2.0.0" 1035 | is-windows "^1.0.2" 1036 | kind-of "^6.0.2" 1037 | object.pick "^1.3.0" 1038 | regex-not "^1.0.0" 1039 | snapdragon "^0.8.1" 1040 | to-regex "^3.0.1" 1041 | 1042 | natural-compare@^1.4.0: 1043 | version "1.4.0" 1044 | resolved "https://registry.yarnpkg.com/natural-compare/-/natural-compare-1.4.0.tgz#4abebfeed7541f2c27acfb29bdbbd15c8d5ba4f7" 1045 | 1046 | object-assign@^4.0.1: 1047 | version "4.1.1" 1048 | resolved "https://registry.yarnpkg.com/object-assign/-/object-assign-4.1.1.tgz#2109adc7965887cfc05cbbd442cac8bfbb360863" 1049 | 1050 | object-copy@^0.1.0: 1051 | version "0.1.0" 1052 | resolved "https://registry.yarnpkg.com/object-copy/-/object-copy-0.1.0.tgz#7e7d858b781bd7c991a41ba975ed3812754e998c" 1053 | dependencies: 1054 | copy-descriptor "^0.1.0" 1055 | define-property "^0.2.5" 1056 | kind-of "^3.0.3" 1057 | 1058 | object-visit@^1.0.0: 1059 | version "1.0.1" 1060 | resolved "https://registry.yarnpkg.com/object-visit/-/object-visit-1.0.1.tgz#f79c4493af0c5377b59fe39d395e41042dd045bb" 1061 | dependencies: 1062 | isobject "^3.0.0" 1063 | 1064 | object.pick@^1.3.0: 1065 | version "1.3.0" 1066 | resolved "https://registry.yarnpkg.com/object.pick/-/object.pick-1.3.0.tgz#87a10ac4c1694bd2e1cbf53591a66141fb5dd747" 1067 | dependencies: 1068 | isobject "^3.0.1" 1069 | 1070 | once@^1.3.0: 1071 | version "1.4.0" 1072 | resolved "https://registry.yarnpkg.com/once/-/once-1.4.0.tgz#583b1aa775961d4b113ac17d9c50baef9dd76bd1" 1073 | dependencies: 1074 | wrappy "1" 1075 | 1076 | onetime@^2.0.0: 1077 | version "2.0.1" 1078 | resolved "https://registry.yarnpkg.com/onetime/-/onetime-2.0.1.tgz#067428230fd67443b2794b22bba528b6867962d4" 1079 | dependencies: 1080 | mimic-fn "^1.0.0" 1081 | 1082 | optionator@^0.8.2: 1083 | version "0.8.2" 1084 | resolved "https://registry.yarnpkg.com/optionator/-/optionator-0.8.2.tgz#364c5e409d3f4d6301d6c0b4c05bba50180aeb64" 1085 | dependencies: 1086 | deep-is "~0.1.3" 1087 | fast-levenshtein "~2.0.4" 1088 | levn "~0.3.0" 1089 | prelude-ls "~1.1.2" 1090 | type-check "~0.3.2" 1091 | wordwrap "~1.0.0" 1092 | 1093 | os-tmpdir@~1.0.2: 1094 | version "1.0.2" 1095 | resolved "https://registry.yarnpkg.com/os-tmpdir/-/os-tmpdir-1.0.2.tgz#bbe67406c79aa85c5cfec766fe5734555dfa1274" 1096 | 1097 | pascalcase@^0.1.1: 1098 | version "0.1.1" 1099 | resolved "https://registry.yarnpkg.com/pascalcase/-/pascalcase-0.1.1.tgz#b363e55e8006ca6fe21784d2db22bd15d7917f14" 1100 | 1101 | path-dirname@^1.0.0: 1102 | version "1.0.2" 1103 | resolved "https://registry.yarnpkg.com/path-dirname/-/path-dirname-1.0.2.tgz#cc33d24d525e099a5388c0336c6e32b9160609e0" 1104 | 1105 | path-is-absolute@^1.0.0: 1106 | version "1.0.1" 1107 | resolved "https://registry.yarnpkg.com/path-is-absolute/-/path-is-absolute-1.0.1.tgz#174b9268735534ffbc7ace6bf53a5a9e1b5c5f5f" 1108 | 1109 | path-is-inside@^1.0.1, path-is-inside@^1.0.2: 1110 | version "1.0.2" 1111 | resolved "https://registry.yarnpkg.com/path-is-inside/-/path-is-inside-1.0.2.tgz#365417dede44430d1c11af61027facf074bdfc53" 1112 | 1113 | path-type@^3.0.0: 1114 | version "3.0.0" 1115 | resolved "https://registry.yarnpkg.com/path-type/-/path-type-3.0.0.tgz#cef31dc8e0a1a3bb0d105c0cd97cf3bf47f4e36f" 1116 | dependencies: 1117 | pify "^3.0.0" 1118 | 1119 | pify@^2.0.0: 1120 | version "2.3.0" 1121 | resolved "https://registry.yarnpkg.com/pify/-/pify-2.3.0.tgz#ed141a6ac043a849ea588498e7dca8b15330e90c" 1122 | 1123 | pify@^3.0.0: 1124 | version "3.0.0" 1125 | resolved "https://registry.yarnpkg.com/pify/-/pify-3.0.0.tgz#e5a4acd2c101fdf3d9a4d07f0dbc4db49dd28176" 1126 | 1127 | pinkie-promise@^2.0.0: 1128 | version "2.0.1" 1129 | resolved "https://registry.yarnpkg.com/pinkie-promise/-/pinkie-promise-2.0.1.tgz#2135d6dfa7a358c069ac9b178776288228450ffa" 1130 | dependencies: 1131 | pinkie "^2.0.0" 1132 | 1133 | pinkie@^2.0.0: 1134 | version "2.0.4" 1135 | resolved "https://registry.yarnpkg.com/pinkie/-/pinkie-2.0.4.tgz#72556b80cfa0d48a974e80e77248e80ed4f7f870" 1136 | 1137 | pluralize@^7.0.0: 1138 | version "7.0.0" 1139 | resolved "https://registry.yarnpkg.com/pluralize/-/pluralize-7.0.0.tgz#298b89df8b93b0221dbf421ad2b1b1ea23fc6777" 1140 | 1141 | posix-character-classes@^0.1.0: 1142 | version "0.1.1" 1143 | resolved "https://registry.yarnpkg.com/posix-character-classes/-/posix-character-classes-0.1.1.tgz#01eac0fe3b5af71a2a6c02feabb8c1fef7e00eab" 1144 | 1145 | prelude-ls@~1.1.2: 1146 | version "1.1.2" 1147 | resolved "https://registry.yarnpkg.com/prelude-ls/-/prelude-ls-1.1.2.tgz#21932a549f5e52ffd9a827f570e04be62a97da54" 1148 | 1149 | process-nextick-args@~2.0.0: 1150 | version "2.0.0" 1151 | resolved "https://registry.yarnpkg.com/process-nextick-args/-/process-nextick-args-2.0.0.tgz#a37d732f4271b4ab1ad070d35508e8290788ffaa" 1152 | 1153 | progress@^2.0.0: 1154 | version "2.0.0" 1155 | resolved "https://registry.yarnpkg.com/progress/-/progress-2.0.0.tgz#8a1be366bf8fc23db2bd23f10c6fe920b4389d1f" 1156 | 1157 | pseudomap@^1.0.2: 1158 | version "1.0.2" 1159 | resolved "https://registry.yarnpkg.com/pseudomap/-/pseudomap-1.0.2.tgz#f052a28da70e618917ef0a8ac34c1ae5a68286b3" 1160 | 1161 | punycode@^2.1.0: 1162 | version "2.1.1" 1163 | resolved "https://registry.yarnpkg.com/punycode/-/punycode-2.1.1.tgz#b58b010ac40c22c5657616c8d2c2c02c7bf479ec" 1164 | 1165 | readable-stream@^2.2.2: 1166 | version "2.3.6" 1167 | resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-2.3.6.tgz#b11c27d88b8ff1fbe070643cf94b0c79ae1b0aaf" 1168 | dependencies: 1169 | core-util-is "~1.0.0" 1170 | inherits "~2.0.3" 1171 | isarray "~1.0.0" 1172 | process-nextick-args "~2.0.0" 1173 | safe-buffer "~5.1.1" 1174 | string_decoder "~1.1.1" 1175 | util-deprecate "~1.0.1" 1176 | 1177 | regex-not@^1.0.0, regex-not@^1.0.2: 1178 | version "1.0.2" 1179 | resolved "https://registry.yarnpkg.com/regex-not/-/regex-not-1.0.2.tgz#1f4ece27e00b0b65e0247a6810e6a85d83a5752c" 1180 | dependencies: 1181 | extend-shallow "^3.0.2" 1182 | safe-regex "^1.1.0" 1183 | 1184 | regexpp@^1.0.1: 1185 | version "1.1.0" 1186 | resolved "https://registry.yarnpkg.com/regexpp/-/regexpp-1.1.0.tgz#0e3516dd0b7904f413d2d4193dce4618c3a689ab" 1187 | 1188 | repeat-element@^1.1.2: 1189 | version "1.1.2" 1190 | resolved "https://registry.yarnpkg.com/repeat-element/-/repeat-element-1.1.2.tgz#ef089a178d1483baae4d93eb98b4f9e4e11d990a" 1191 | 1192 | repeat-string@^1.6.1: 1193 | version "1.6.1" 1194 | resolved "https://registry.yarnpkg.com/repeat-string/-/repeat-string-1.6.1.tgz#8dcae470e1c88abc2d600fff4a776286da75e637" 1195 | 1196 | require-uncached@^1.0.3: 1197 | version "1.0.3" 1198 | resolved "https://registry.yarnpkg.com/require-uncached/-/require-uncached-1.0.3.tgz#4e0d56d6c9662fd31e43011c4b95aa49955421d3" 1199 | dependencies: 1200 | caller-path "^0.1.0" 1201 | resolve-from "^1.0.0" 1202 | 1203 | resolve-from@^1.0.0: 1204 | version "1.0.1" 1205 | resolved "https://registry.yarnpkg.com/resolve-from/-/resolve-from-1.0.1.tgz#26cbfe935d1aeeeabb29bc3fe5aeb01e93d44226" 1206 | 1207 | resolve-url@^0.2.1: 1208 | version "0.2.1" 1209 | resolved "https://registry.yarnpkg.com/resolve-url/-/resolve-url-0.2.1.tgz#2c637fe77c893afd2a663fe21aa9080068e2052a" 1210 | 1211 | restore-cursor@^2.0.0: 1212 | version "2.0.0" 1213 | resolved "https://registry.yarnpkg.com/restore-cursor/-/restore-cursor-2.0.0.tgz#9f7ee287f82fd326d4fd162923d62129eee0dfaf" 1214 | dependencies: 1215 | onetime "^2.0.0" 1216 | signal-exit "^3.0.2" 1217 | 1218 | ret@~0.1.10: 1219 | version "0.1.15" 1220 | resolved "https://registry.yarnpkg.com/ret/-/ret-0.1.15.tgz#b8a4825d5bdb1fc3f6f53c2bc33f81388681c7bc" 1221 | 1222 | rimraf@^2.2.8: 1223 | version "2.6.2" 1224 | resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-2.6.2.tgz#2ed8150d24a16ea8651e6d6ef0f47c4158ce7a36" 1225 | dependencies: 1226 | glob "^7.0.5" 1227 | 1228 | run-async@^2.2.0: 1229 | version "2.3.0" 1230 | resolved "https://registry.yarnpkg.com/run-async/-/run-async-2.3.0.tgz#0371ab4ae0bdd720d4166d7dfda64ff7a445a6c0" 1231 | dependencies: 1232 | is-promise "^2.1.0" 1233 | 1234 | rx-lite-aggregates@^4.0.8: 1235 | version "4.0.8" 1236 | resolved "https://registry.yarnpkg.com/rx-lite-aggregates/-/rx-lite-aggregates-4.0.8.tgz#753b87a89a11c95467c4ac1626c4efc4e05c67be" 1237 | dependencies: 1238 | rx-lite "*" 1239 | 1240 | rx-lite@*, rx-lite@^4.0.8: 1241 | version "4.0.8" 1242 | resolved "https://registry.yarnpkg.com/rx-lite/-/rx-lite-4.0.8.tgz#0b1e11af8bc44836f04a6407e92da42467b79444" 1243 | 1244 | safe-buffer@~5.1.0, safe-buffer@~5.1.1: 1245 | version "5.1.2" 1246 | resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.1.2.tgz#991ec69d296e0313747d59bdfd2b745c35f8828d" 1247 | 1248 | safe-regex@^1.1.0: 1249 | version "1.1.0" 1250 | resolved "https://registry.yarnpkg.com/safe-regex/-/safe-regex-1.1.0.tgz#40a3669f3b077d1e943d44629e157dd48023bf2e" 1251 | dependencies: 1252 | ret "~0.1.10" 1253 | 1254 | "safer-buffer@>= 2.1.2 < 3": 1255 | version "2.1.2" 1256 | resolved "https://registry.yarnpkg.com/safer-buffer/-/safer-buffer-2.1.2.tgz#44fa161b0187b9549dd84bb91802f9bd8385cd6a" 1257 | 1258 | semver@^5.3.0: 1259 | version "5.5.0" 1260 | resolved "https://registry.yarnpkg.com/semver/-/semver-5.5.0.tgz#dc4bbc7a6ca9d916dee5d43516f0092b58f7b8ab" 1261 | 1262 | set-value@^0.4.3: 1263 | version "0.4.3" 1264 | resolved "https://registry.yarnpkg.com/set-value/-/set-value-0.4.3.tgz#7db08f9d3d22dc7f78e53af3c3bf4666ecdfccf1" 1265 | dependencies: 1266 | extend-shallow "^2.0.1" 1267 | is-extendable "^0.1.1" 1268 | is-plain-object "^2.0.1" 1269 | to-object-path "^0.3.0" 1270 | 1271 | set-value@^2.0.0: 1272 | version "2.0.0" 1273 | resolved "https://registry.yarnpkg.com/set-value/-/set-value-2.0.0.tgz#71ae4a88f0feefbbf52d1ea604f3fb315ebb6274" 1274 | dependencies: 1275 | extend-shallow "^2.0.1" 1276 | is-extendable "^0.1.1" 1277 | is-plain-object "^2.0.3" 1278 | split-string "^3.0.1" 1279 | 1280 | shebang-command@^1.2.0: 1281 | version "1.2.0" 1282 | resolved "https://registry.yarnpkg.com/shebang-command/-/shebang-command-1.2.0.tgz#44aac65b695b03398968c39f363fee5deafdf1ea" 1283 | dependencies: 1284 | shebang-regex "^1.0.0" 1285 | 1286 | shebang-regex@^1.0.0: 1287 | version "1.0.0" 1288 | resolved "https://registry.yarnpkg.com/shebang-regex/-/shebang-regex-1.0.0.tgz#da42f49740c0b42db2ca9728571cb190c98efea3" 1289 | 1290 | signal-exit@3.0.2, signal-exit@^3.0.2: 1291 | version "3.0.2" 1292 | resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-3.0.2.tgz#b5fdc08f1287ea1178628e415e25132b73646c6d" 1293 | 1294 | slash@^1.0.0: 1295 | version "1.0.0" 1296 | resolved "https://registry.yarnpkg.com/slash/-/slash-1.0.0.tgz#c41f2f6c39fc16d1cd17ad4b5d896114ae470d55" 1297 | 1298 | slice-ansi@1.0.0: 1299 | version "1.0.0" 1300 | resolved "https://registry.yarnpkg.com/slice-ansi/-/slice-ansi-1.0.0.tgz#044f1a49d8842ff307aad6b505ed178bd950134d" 1301 | dependencies: 1302 | is-fullwidth-code-point "^2.0.0" 1303 | 1304 | snapdragon-node@^2.0.1: 1305 | version "2.1.1" 1306 | resolved "https://registry.yarnpkg.com/snapdragon-node/-/snapdragon-node-2.1.1.tgz#6c175f86ff14bdb0724563e8f3c1b021a286853b" 1307 | dependencies: 1308 | define-property "^1.0.0" 1309 | isobject "^3.0.0" 1310 | snapdragon-util "^3.0.1" 1311 | 1312 | snapdragon-util@^3.0.1: 1313 | version "3.0.1" 1314 | resolved "https://registry.yarnpkg.com/snapdragon-util/-/snapdragon-util-3.0.1.tgz#f956479486f2acd79700693f6f7b805e45ab56e2" 1315 | dependencies: 1316 | kind-of "^3.2.0" 1317 | 1318 | snapdragon@^0.8.1: 1319 | version "0.8.2" 1320 | resolved "https://registry.yarnpkg.com/snapdragon/-/snapdragon-0.8.2.tgz#64922e7c565b0e14204ba1aa7d6964278d25182d" 1321 | dependencies: 1322 | base "^0.11.1" 1323 | debug "^2.2.0" 1324 | define-property "^0.2.5" 1325 | extend-shallow "^2.0.1" 1326 | map-cache "^0.2.2" 1327 | source-map "^0.5.6" 1328 | source-map-resolve "^0.5.0" 1329 | use "^3.1.0" 1330 | 1331 | source-map-resolve@^0.5.0: 1332 | version "0.5.2" 1333 | resolved "https://registry.yarnpkg.com/source-map-resolve/-/source-map-resolve-0.5.2.tgz#72e2cc34095543e43b2c62b2c4c10d4a9054f259" 1334 | dependencies: 1335 | atob "^2.1.1" 1336 | decode-uri-component "^0.2.0" 1337 | resolve-url "^0.2.1" 1338 | source-map-url "^0.4.0" 1339 | urix "^0.1.0" 1340 | 1341 | source-map-url@^0.4.0: 1342 | version "0.4.0" 1343 | resolved "https://registry.yarnpkg.com/source-map-url/-/source-map-url-0.4.0.tgz#3e935d7ddd73631b97659956d55128e87b5084a3" 1344 | 1345 | source-map@^0.5.6: 1346 | version "0.5.7" 1347 | resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.5.7.tgz#8a039d2d1021d22d1ea14c80d8ea468ba2ef3fcc" 1348 | 1349 | split-string@^3.0.1, split-string@^3.0.2: 1350 | version "3.1.0" 1351 | resolved "https://registry.yarnpkg.com/split-string/-/split-string-3.1.0.tgz#7cb09dda3a86585705c64b39a6466038682e8fe2" 1352 | dependencies: 1353 | extend-shallow "^3.0.0" 1354 | 1355 | sprintf-js@~1.0.2: 1356 | version "1.0.3" 1357 | resolved "https://registry.yarnpkg.com/sprintf-js/-/sprintf-js-1.0.3.tgz#04e6926f662895354f3dd015203633b857297e2c" 1358 | 1359 | static-extend@^0.1.1: 1360 | version "0.1.2" 1361 | resolved "https://registry.yarnpkg.com/static-extend/-/static-extend-0.1.2.tgz#60809c39cbff55337226fd5e0b520f341f1fb5c6" 1362 | dependencies: 1363 | define-property "^0.2.5" 1364 | object-copy "^0.1.0" 1365 | 1366 | string-width@^2.1.0, string-width@^2.1.1: 1367 | version "2.1.1" 1368 | resolved "https://registry.yarnpkg.com/string-width/-/string-width-2.1.1.tgz#ab93f27a8dc13d28cac815c462143a6d9012ae9e" 1369 | dependencies: 1370 | is-fullwidth-code-point "^2.0.0" 1371 | strip-ansi "^4.0.0" 1372 | 1373 | string_decoder@~1.1.1: 1374 | version "1.1.1" 1375 | resolved "https://registry.yarnpkg.com/string_decoder/-/string_decoder-1.1.1.tgz#9cf1611ba62685d7030ae9e4ba34149c3af03fc8" 1376 | dependencies: 1377 | safe-buffer "~5.1.0" 1378 | 1379 | strip-ansi@^3.0.0: 1380 | version "3.0.1" 1381 | resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-3.0.1.tgz#6a385fb8853d952d5ff05d0e8aaf94278dc63dcf" 1382 | dependencies: 1383 | ansi-regex "^2.0.0" 1384 | 1385 | strip-ansi@^4.0.0: 1386 | version "4.0.0" 1387 | resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-4.0.0.tgz#a8479022eb1ac368a871389b635262c505ee368f" 1388 | dependencies: 1389 | ansi-regex "^3.0.0" 1390 | 1391 | strip-json-comments@~2.0.1: 1392 | version "2.0.1" 1393 | resolved "https://registry.yarnpkg.com/strip-json-comments/-/strip-json-comments-2.0.1.tgz#3c531942e908c2697c0ec344858c286c7ca0a60a" 1394 | 1395 | supports-color@^2.0.0: 1396 | version "2.0.0" 1397 | resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-2.0.0.tgz#535d045ce6b6363fa40117084629995e9df324c7" 1398 | 1399 | supports-color@^5.2.0, supports-color@^5.3.0: 1400 | version "5.4.0" 1401 | resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-5.4.0.tgz#1c6b337402c2137605efe19f10fec390f6faab54" 1402 | dependencies: 1403 | has-flag "^3.0.0" 1404 | 1405 | table@4.0.2: 1406 | version "4.0.2" 1407 | resolved "https://registry.yarnpkg.com/table/-/table-4.0.2.tgz#a33447375391e766ad34d3486e6e2aedc84d2e36" 1408 | dependencies: 1409 | ajv "^5.2.3" 1410 | ajv-keywords "^2.1.0" 1411 | chalk "^2.1.0" 1412 | lodash "^4.17.4" 1413 | slice-ansi "1.0.0" 1414 | string-width "^2.1.1" 1415 | 1416 | text-table@~0.2.0: 1417 | version "0.2.0" 1418 | resolved "https://registry.yarnpkg.com/text-table/-/text-table-0.2.0.tgz#7f5ee823ae805207c00af2df4a84ec3fcfa570b4" 1419 | 1420 | through@^2.3.6: 1421 | version "2.3.8" 1422 | resolved "https://registry.yarnpkg.com/through/-/through-2.3.8.tgz#0dd4c9ffaabc357960b1b724115d7e0e86a2e1f5" 1423 | 1424 | tmp@^0.0.33: 1425 | version "0.0.33" 1426 | resolved "https://registry.yarnpkg.com/tmp/-/tmp-0.0.33.tgz#6d34335889768d21b2bcda0aa277ced3b1bfadf9" 1427 | dependencies: 1428 | os-tmpdir "~1.0.2" 1429 | 1430 | to-object-path@^0.3.0: 1431 | version "0.3.0" 1432 | resolved "https://registry.yarnpkg.com/to-object-path/-/to-object-path-0.3.0.tgz#297588b7b0e7e0ac08e04e672f85c1f4999e17af" 1433 | dependencies: 1434 | kind-of "^3.0.2" 1435 | 1436 | to-regex-range@^2.1.0: 1437 | version "2.1.1" 1438 | resolved "https://registry.yarnpkg.com/to-regex-range/-/to-regex-range-2.1.1.tgz#7c80c17b9dfebe599e27367e0d4dd5590141db38" 1439 | dependencies: 1440 | is-number "^3.0.0" 1441 | repeat-string "^1.6.1" 1442 | 1443 | to-regex@^3.0.1, to-regex@^3.0.2: 1444 | version "3.0.2" 1445 | resolved "https://registry.yarnpkg.com/to-regex/-/to-regex-3.0.2.tgz#13cfdd9b336552f30b51f33a8ae1b42a7a7599ce" 1446 | dependencies: 1447 | define-property "^2.0.2" 1448 | extend-shallow "^3.0.2" 1449 | regex-not "^1.0.2" 1450 | safe-regex "^1.1.0" 1451 | 1452 | type-check@~0.3.2: 1453 | version "0.3.2" 1454 | resolved "https://registry.yarnpkg.com/type-check/-/type-check-0.3.2.tgz#5884cab512cf1d355e3fb784f30804b2b520db72" 1455 | dependencies: 1456 | prelude-ls "~1.1.2" 1457 | 1458 | typedarray@^0.0.6: 1459 | version "0.0.6" 1460 | resolved "https://registry.yarnpkg.com/typedarray/-/typedarray-0.0.6.tgz#867ac74e3864187b1d3d47d996a78ec5c8830777" 1461 | 1462 | union-value@^1.0.0: 1463 | version "1.0.0" 1464 | resolved "https://registry.yarnpkg.com/union-value/-/union-value-1.0.0.tgz#5c71c34cb5bad5dcebe3ea0cd08207ba5aa1aea4" 1465 | dependencies: 1466 | arr-union "^3.1.0" 1467 | get-value "^2.0.6" 1468 | is-extendable "^0.1.1" 1469 | set-value "^0.4.3" 1470 | 1471 | unset-value@^1.0.0: 1472 | version "1.0.0" 1473 | resolved "https://registry.yarnpkg.com/unset-value/-/unset-value-1.0.0.tgz#8376873f7d2335179ffb1e6fc3a8ed0dfc8ab559" 1474 | dependencies: 1475 | has-value "^0.3.1" 1476 | isobject "^3.0.0" 1477 | 1478 | uri-js@^4.2.1: 1479 | version "4.2.2" 1480 | resolved "https://registry.yarnpkg.com/uri-js/-/uri-js-4.2.2.tgz#94c540e1ff772956e2299507c010aea6c8838eb0" 1481 | dependencies: 1482 | punycode "^2.1.0" 1483 | 1484 | urix@^0.1.0: 1485 | version "0.1.0" 1486 | resolved "https://registry.yarnpkg.com/urix/-/urix-0.1.0.tgz#da937f7a62e21fec1fd18d49b35c2935067a6c72" 1487 | 1488 | use@^3.1.0: 1489 | version "3.1.0" 1490 | resolved "https://registry.yarnpkg.com/use/-/use-3.1.0.tgz#14716bf03fdfefd03040aef58d8b4b85f3a7c544" 1491 | dependencies: 1492 | kind-of "^6.0.2" 1493 | 1494 | util-deprecate@~1.0.1: 1495 | version "1.0.2" 1496 | resolved "https://registry.yarnpkg.com/util-deprecate/-/util-deprecate-1.0.2.tgz#450d4dc9fa70de732762fbd2d4a28981419a0ccf" 1497 | 1498 | which@^1.2.9: 1499 | version "1.3.1" 1500 | resolved "https://registry.yarnpkg.com/which/-/which-1.3.1.tgz#a45043d54f5805316da8d62f9f50918d3da70b0a" 1501 | dependencies: 1502 | isexe "^2.0.0" 1503 | 1504 | wordwrap@~1.0.0: 1505 | version "1.0.0" 1506 | resolved "https://registry.yarnpkg.com/wordwrap/-/wordwrap-1.0.0.tgz#27584810891456a4171c8d0226441ade90cbcaeb" 1507 | 1508 | wrappy@1: 1509 | version "1.0.2" 1510 | resolved "https://registry.yarnpkg.com/wrappy/-/wrappy-1.0.2.tgz#b5243d8f3ec1aa35f1364605bc0d1036e30ab69f" 1511 | 1512 | write@^0.2.1: 1513 | version "0.2.1" 1514 | resolved "https://registry.yarnpkg.com/write/-/write-0.2.1.tgz#5fc03828e264cea3fe91455476f7a3c566cb0757" 1515 | dependencies: 1516 | mkdirp "^0.5.1" 1517 | 1518 | yallist@^2.1.2: 1519 | version "2.1.2" 1520 | resolved "https://registry.yarnpkg.com/yallist/-/yallist-2.1.2.tgz#1c11f9218f076089a47dd512f93c6699a6a81d52" 1521 | --------------------------------------------------------------------------------