├── .babelrc ├── .gitignore ├── .npmignore ├── .travis.yml ├── README.md ├── package.json ├── src ├── build-query-tree.js └── graphql-query-tree.js ├── test ├── build-query-tree.test.js ├── graphql-query-tree.test.js ├── schema │ ├── index.js │ └── schema.js └── support.js └── yarn.lock /.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": [ 3 | "es2015-node6", 4 | "stage-0" 5 | ], 6 | "plugins": [ 7 | "transform-async-to-generator", 8 | "transform-object-rest-spread", 9 | "transform-es2015-parameters" 10 | ] 11 | } 12 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules/ 2 | dist/ 3 | test-dist/ 4 | npm-debug.log 5 | *.env 6 | .DS_Store 7 | -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- 1 | * 2 | !dist 3 | !dist/**/* 4 | dist/**/*.test.* 5 | !package.json 6 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "4" 4 | - "5" 5 | - "6" 6 | - "7" 7 | script: 8 | - npm run build 9 | - npm test 10 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | 2 | # graphql-query-tree [![Build Status](https://travis-ci.org/alekbarszczewski/graphql-query-tree.svg?branch=master)](https://travis-ci.org/alekbarszczewski/graphql-query-tree) 3 | 4 | Parse `info` object (passed to resolver) into a query tree and extract useful info from it. 5 | 6 | ## Installation 7 | 8 | ```sh 9 | $ npm install --save graphql-query-tree 10 | ``` 11 | 12 | ## Features 13 | 14 | * Parse `info` argument (passed to resolver) into GraphqlQueryTree 15 | * Supports Fragments and InlineFragments 16 | * Check if field at given path is present in query 17 | * Get arguments for field at given path 18 | * Supports variables 19 | * Supports default argument(s) values 20 | * Get child fields (keys) of field at given path 21 | 22 | ## Usage 23 | 24 | ```gql 25 | query { 26 | posts (limit: 20) { 27 | id 28 | title 29 | author { 30 | id 31 | name 32 | } 33 | tags (limit: 10, sort: "created_at") { 34 | id 35 | text 36 | } 37 | } 38 | } 39 | ``` 40 | 41 | ```js 42 | import GraphqlQueryTree from 'graphql-query-tree'; 43 | 44 | export default function (root, args, context, info) { 45 | const tree = new GraphqlQueryTree(info); 46 | 47 | // check if field is selected 48 | tree.isSelected('tags'); // true 49 | tree.isSelected('author.profilePicture'); // false 50 | 51 | // get field arguments 52 | tree.getArguments('tags'); // { limit: 10, sort: 'created_at' } 53 | tree.getArguments(); // { limit: 20 } 54 | tree.getArguments('some.invalid.path'); // null 55 | 56 | // get child fields 57 | tree.getChildFields('tags'); // ['id', 'text'] 58 | tree.getChildFields('some.invalid.path'); // null 59 | 60 | tree.getParentType(); // 'Query' 61 | tree.getParentField(); // 'posts' 62 | tree.getReturnType(); // 'Post' 63 | tree.getType(); // 'Post' 64 | tree.getType('author'); // 'User' 65 | tree.getType('tags'); // 'Tag' 66 | tree.getType('some.invalid.path'); // null 67 | } 68 | ``` 69 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "graphql-query-tree", 3 | "version": "0.3.0", 4 | "engines": { 5 | "node": ">=4.x" 6 | }, 7 | "description": "GraphQL query tree from info object", 8 | "main": "dist/graphql-query-tree.js", 9 | "keywords": [ 10 | "graphql", 11 | "query", 12 | "tree", 13 | "info", 14 | "resolver" 15 | ], 16 | "scripts": { 17 | "build-test": "npm run build && npm test", 18 | "test": "./node_modules/.bin/mocha test-dist/*.test.js", 19 | "build": "./node_modules/.bin/babel src --out-dir dist && ./node_modules/.bin/babel test --out-dir test-dist", 20 | "preversion": "npm run build-test" 21 | }, 22 | "repository": { 23 | "type": "git", 24 | "url": "https://github.com/alekbarszczewski/graphql-query-tree" 25 | }, 26 | "author": "Alek Barszczewski ", 27 | "license": "ISC", 28 | "dependencies": { 29 | "graphql": "^0.13.2", 30 | "selectn": "^1.1.2" 31 | }, 32 | "devDependencies": { 33 | "babel-cli": "^6.24.0", 34 | "babel-plugin-transform-async-to-generator": "^6.22.0", 35 | "babel-plugin-transform-es2015-parameters": "^6.23.0", 36 | "babel-plugin-transform-object-rest-spread": "^6.22.0", 37 | "babel-preset-es2015-node6": "^0.4.0", 38 | "babel-preset-stage-0": "^6.16.0", 39 | "babel-register": "^6.23.0", 40 | "chai": "^3.5.0", 41 | "graphql-tools": "^0.10.1", 42 | "mocha": "^3.2.0" 43 | } 44 | } 45 | -------------------------------------------------------------------------------- /src/build-query-tree.js: -------------------------------------------------------------------------------- 1 | 2 | import { getNullableType } from 'graphql'; 3 | import { getArgumentValues } from 'graphql/execution/values'; 4 | 5 | export default function buildQueryTree (info, keepRoot = false) { 6 | let tree = buildTree(info.fieldNodes, info.parentType, info); 7 | if (!keepRoot) { 8 | tree = tree[info.fieldName]; 9 | } 10 | return tree; 11 | } 12 | 13 | const buildTree = function (selections, parentType, info, tree = {}) { 14 | parentType = getType(parentType); 15 | const fields = selectionsToFields(selections, info); 16 | fields.forEach(field => { 17 | const name = field.name.value; 18 | if (name === '__typename') { 19 | return; 20 | } 21 | tree[name] = {}; 22 | const fieldDef = parentType._fields[name]; 23 | tree[name]['$args'] = getArgumentValues(fieldDef, field, info.variableValues); 24 | tree[name]['$type'] = getType(fieldDef.type).name; 25 | if (field.selectionSet) { 26 | buildTree(field.selectionSet.selections, fieldDef.type, info, tree[name]); 27 | } 28 | }); 29 | return tree; 30 | }; 31 | 32 | export function getType (type) { 33 | type = getNullableType(type); 34 | if (type.ofType) { 35 | type = getType(type.ofType); 36 | } 37 | return type; 38 | }; 39 | 40 | const selectionsToFields = function (selections, info) { 41 | const fields = []; 42 | selections.forEach(sel => { 43 | if (sel.kind === 'Field') { 44 | fields.push(sel); 45 | } else if (sel.kind === 'FragmentSpread') { 46 | const fragment = info.fragments[sel.name.value]; 47 | fields.push.apply(fields, selectionsToFields(fragment.selectionSet.selections)); 48 | } else if (sel.kind === 'InlineFragment') { 49 | fields.push.apply(fields, selectionsToFields(sel.selectionSet.selections)); 50 | } 51 | }); 52 | return fields; 53 | }; 54 | -------------------------------------------------------------------------------- /src/graphql-query-tree.js: -------------------------------------------------------------------------------- 1 | 2 | import selectn from 'selectn'; 3 | import buildQueryTree, { getType } from './build-query-tree'; 4 | 5 | export default class GraphqlQueryTree { 6 | 7 | constructor (info, keepRoot = false) { 8 | this._tree = buildQueryTree(info, keepRoot); 9 | this._parentType = getType(info.parentType).name; 10 | this._returnType = getType(info.returnType).name; 11 | this._parentField = info.fieldName; 12 | } 13 | 14 | isSelected (path) { 15 | return !!this.getArguments(path); 16 | } 17 | 18 | getArguments (path) { 19 | const tree = path ? selectn(path, this._tree) : this._tree; 20 | return tree && tree['$args'] ? tree['$args'] : null; 21 | } 22 | 23 | getChildFields (path) { 24 | const tree = path ? selectn(path, this._tree) : this._tree; 25 | return tree ? Object.keys(tree).filter(key => (key[0] !== '$')) : null; 26 | } 27 | 28 | getType (path) { 29 | const tree = path ? selectn(path, this._tree) : this._tree; 30 | return tree && tree['$type'] ? tree['$type'] : null; 31 | } 32 | 33 | getParentType () { 34 | return this._parentType; 35 | } 36 | 37 | getReturnType () { 38 | return this._returnType; 39 | } 40 | 41 | getParentField () { 42 | return this._parentField; 43 | } 44 | 45 | }; 46 | -------------------------------------------------------------------------------- /test/build-query-tree.test.js: -------------------------------------------------------------------------------- 1 | 2 | import { addResolveFunctionsToSchema } from 'graphql-tools'; 3 | import { expect } from 'chai'; 4 | import buildQueryTree from './../dist/build-query-tree'; 5 | import { args, argValues, expectedTree, prepareSchema } from './support'; 6 | 7 | beforeEach(function () { 8 | prepareSchema.call(this); 9 | }); 10 | 11 | describe('buildQueryTree', function () { 12 | 13 | it('should handle nested fields', async function () { 14 | const query = ` 15 | query { 16 | posts (${args}) { 17 | id 18 | postProp (${args}) 19 | tags (${args}) { 20 | id 21 | tagProp (${args}) 22 | associatedTags (${args}) { 23 | id 24 | tagProp (${args}) 25 | } 26 | } 27 | author (${args}) { 28 | id 29 | userProp (${args}) 30 | } 31 | } 32 | } 33 | `; 34 | await this.runQuery(query); 35 | const tree = buildQueryTree(this.info, true);; 36 | expect(tree).to.eql(expectedTree); 37 | }); 38 | 39 | it('should handle fragments', async function () { 40 | const query = ` 41 | fragment f1 on Post { 42 | tags (${args}) { 43 | id 44 | tagProp (${args}) 45 | associatedTags (${args}) { 46 | id 47 | tagProp (${args}) 48 | } 49 | } 50 | } 51 | query { 52 | posts (${args}) { 53 | id 54 | postProp (${args}) 55 | ...f1 56 | author (${args}) { 57 | id 58 | userProp (${args}) 59 | } 60 | } 61 | } 62 | `; 63 | await this.runQuery(query); 64 | const tree = buildQueryTree(this.info, true);; 65 | expect(tree).to.eql(expectedTree); 66 | }); 67 | 68 | it('should handle inline fragments', async function () { 69 | const query = ` 70 | query { 71 | posts (${args}) { 72 | id 73 | postProp (${args}) 74 | ... on Post { 75 | tags (${args}) { 76 | id 77 | tagProp (${args}) 78 | associatedTags (${args}) { 79 | id 80 | tagProp (${args}) 81 | } 82 | } 83 | } 84 | author (${args}) { 85 | id 86 | userProp (${args}) 87 | } 88 | } 89 | } 90 | `; 91 | await this.runQuery(query); 92 | const tree = buildQueryTree(this.info, true);; 93 | expect(tree).to.eql(expectedTree); 94 | }); 95 | 96 | it('should handle variables', async function () { 97 | const args = `arg1: $v1, arg3: $v2` 98 | const query = ` 99 | query ($v1: Int, $v2: ObjectArg) { 100 | posts (${args}) { 101 | id 102 | postProp (${args}) 103 | ... on Post { 104 | tags (${args}) { 105 | id 106 | tagProp (${args}) 107 | associatedTags (${args}) { 108 | id 109 | tagProp (${args}) 110 | } 111 | } 112 | } 113 | author (${args}) { 114 | id 115 | userProp (${args}) 116 | } 117 | } 118 | } 119 | `; 120 | const variables = { 121 | v1: 77, 122 | v2: { prop1: 'a', prop2: 77, prop3: true, prop4: 88.1 }, 123 | }; 124 | await this.runQuery(query, variables); 125 | const tree = buildQueryTree(this.info, true);; 126 | expect(tree).to.eql(expectedTree); 127 | }); 128 | 129 | it('should handle nested resolver', async function () { 130 | const args = `arg1: $v1, arg3: $v2` 131 | const query = ` 132 | query ($v1: Int, $v2: ObjectArg) { 133 | posts (${args}) { 134 | id 135 | postProp (${args}) 136 | ... on Post { 137 | tags (${args}) { 138 | id 139 | tagProp (${args}) 140 | associatedTags (${args}) { 141 | id 142 | tagProp (${args}) 143 | } 144 | } 145 | } 146 | author (${args}) { 147 | id 148 | userProp (${args}) 149 | } 150 | } 151 | } 152 | `; 153 | const variables = { 154 | v1: 77, 155 | v2: { prop1: 'a', prop2: 77, prop3: true, prop4: 88.1 }, 156 | }; 157 | const self = this; 158 | addResolveFunctionsToSchema(this.schema, { 159 | Post: { 160 | author: function (root, args, context, info) { 161 | self.nestedInfo = info; 162 | return null; 163 | } 164 | }, 165 | }); 166 | await this.runQuery(query, variables); 167 | const tree = buildQueryTree(this.info, true); 168 | const nestedTree = buildQueryTree(this.nestedInfo, true); 169 | expect(tree).to.eql(expectedTree); 170 | expect(nestedTree).to.eql({ 171 | author: tree.posts.author, 172 | }); 173 | }); 174 | 175 | it('should respect keepRoot = true argument', async function () { 176 | const query = ` 177 | query { 178 | posts (${args}) { 179 | id 180 | postProp (${args}) 181 | tags (${args}) { 182 | id 183 | tagProp (${args}) 184 | associatedTags (${args}) { 185 | id 186 | tagProp (${args}) 187 | } 188 | } 189 | author (${args}) { 190 | id 191 | userProp (${args}) 192 | } 193 | } 194 | } 195 | `; 196 | await this.runQuery(query); 197 | const tree = buildQueryTree(this.info);; 198 | expect(tree).to.eql(expectedTree.posts); 199 | }); 200 | 201 | it('should work with __typename', async function () { 202 | const query = ` 203 | query { 204 | posts (${args}) { 205 | __typename 206 | id 207 | postProp (${args}) 208 | tags (${args}) { 209 | __typename 210 | id 211 | tagProp (${args}) 212 | associatedTags (${args}) { 213 | __typename 214 | id 215 | tagProp (${args}) 216 | } 217 | } 218 | author (${args}) { 219 | __typename 220 | id 221 | userProp (${args}) 222 | } 223 | } 224 | } 225 | `; 226 | await this.runQuery(query); 227 | const tree = buildQueryTree(this.info);; 228 | expect(tree).to.eql(expectedTree.posts); 229 | }); 230 | 231 | it('should work with aliases', async function () { 232 | const self = this; 233 | const query = ` 234 | query { 235 | postsAlias: posts (${args}) { 236 | __typename 237 | id 238 | postProp (${args}) 239 | tagsAlias: tags (${args}) { 240 | __typename 241 | id 242 | tagProp (${args}) 243 | associatedTags (${args}) { 244 | __typename 245 | id 246 | tagProp (${args}) 247 | } 248 | } 249 | author (${args}) { 250 | __typename 251 | id 252 | userProp (${args}) 253 | } 254 | } 255 | } 256 | `; 257 | addResolveFunctionsToSchema(this.schema, { 258 | Query: { 259 | posts (root, args, context, info) { 260 | self.info = info; 261 | return [{ id: 1, postProp: 1, tags: [{ id: 1, tagProp: 1, associatedTags: [] }] }]; 262 | }, 263 | }, 264 | Post: { 265 | tags (root, args, context, info) { 266 | self.nestedInfo = info; 267 | return [{ id: 2, tagProp: 2, associatedTags: [] }]; 268 | }, 269 | }, 270 | }); 271 | await this.runQuery(query); 272 | const tree = buildQueryTree(this.info); 273 | const nestedTree = buildQueryTree(this.nestedInfo); 274 | expect(tree).to.eql(expectedTree.posts); 275 | expect(nestedTree).to.eql(expectedTree.posts.tags); 276 | }); 277 | 278 | }); 279 | -------------------------------------------------------------------------------- /test/graphql-query-tree.test.js: -------------------------------------------------------------------------------- 1 | 2 | import { addResolveFunctionsToSchema } from 'graphql-tools'; 3 | import { expect } from 'chai'; 4 | import GraphqlQueryTree from './../dist/graphql-query-tree'; 5 | import { args, argValues, expectedTree, prepareSchema } from './support'; 6 | 7 | beforeEach(function () { 8 | prepareSchema.call(this); 9 | }); 10 | 11 | describe('GraphqlQueryTree', function () { 12 | 13 | beforeEach(async function () { 14 | const query = this.query = ` 15 | query { 16 | posts (${args}) { 17 | id 18 | postProp (${args}) 19 | tags (${args}) { 20 | id 21 | tagProp (${args}) 22 | associatedTags (${args}) { 23 | id 24 | tagProp (${args}) 25 | } 26 | } 27 | author (${args}) { 28 | id 29 | userProp (${args}) 30 | } 31 | } 32 | } 33 | `; 34 | await this.runQuery(query); 35 | }); 36 | 37 | describe('#constructor', function () { 38 | 39 | it('should create query tree', async function () { 40 | const tree = new GraphqlQueryTree(this.info); 41 | expect(tree._tree).to.eql(expectedTree.posts); 42 | }); 43 | 44 | it('should respect keepRoot option', async function () { 45 | const tree = new GraphqlQueryTree(this.info, true); 46 | expect(tree._tree).to.eql(expectedTree); 47 | }); 48 | 49 | }); 50 | 51 | describe('#isSelected', function () { 52 | 53 | it('should return true/false if field was selected/not selected', async function () { 54 | const tree = new GraphqlQueryTree(this.info); 55 | expect(tree.isSelected('tags.associatedTags.id')).to.equal(true); 56 | expect(tree.isSelected('tags.associatedTags.other')).to.equal(false); 57 | }); 58 | 59 | }); 60 | 61 | describe('#getArguments', function () { 62 | 63 | it('should return field arguments or null', async function () { 64 | const tree = new GraphqlQueryTree(this.info); 65 | expect(tree.getArguments('tags.associatedTags.id')).to.eql({}); 66 | expect(tree.getArguments('tags.associatedTags.other')).to.eql(null); 67 | expect(tree.getArguments('tags.associatedTags.tagProp')).to.eql(argValues); 68 | expect(tree.getArguments()).to.eql(argValues); 69 | const tree2 = new GraphqlQueryTree(this.info, true); 70 | expect(tree2.getArguments()).to.equal(null); 71 | expect(tree2.getArguments('posts')).to.eql(argValues); 72 | }); 73 | 74 | }); 75 | 76 | describe('#getChildFields', function () { 77 | 78 | it('should return child fields', async function () { 79 | const tree = new GraphqlQueryTree(this.info); 80 | expect(tree.getChildFields().sort()).to.eql([ 'id', 'postProp', 'tags', 'author' ].sort()); 81 | expect(tree.getChildFields('tags.associatedTags').sort()).to.eql([ 'id', 'tagProp'].sort()); 82 | expect(tree.getChildFields('tags.other')).to.equal(null); 83 | const tree2 = new GraphqlQueryTree(this.info, true); 84 | expect(tree2.getChildFields().sort()).to.eql([ 'posts' ].sort()); 85 | expect(tree2.getChildFields('posts.tags.associatedTags').sort()).to.eql([ 'id', 'tagProp'].sort()); 86 | }); 87 | 88 | }); 89 | 90 | describe('#getParentType', function () { 91 | 92 | it('should return parent type', async function () { 93 | const self = this; 94 | addResolveFunctionsToSchema(this.schema, { 95 | Post: { 96 | author: function (root, args, context, info) { 97 | self.nestedInfo = info; 98 | return null; 99 | } 100 | }, 101 | }); 102 | await this.runQuery(this.query); 103 | const tree = new GraphqlQueryTree(this.info); 104 | const nestedTree = new GraphqlQueryTree(this.nestedInfo); 105 | expect(tree.getParentType()).to.equal('Query'); 106 | expect(nestedTree.getParentType()).to.equal('Post'); 107 | }); 108 | 109 | }); 110 | 111 | describe('#getReturnType', function () { 112 | 113 | it('should return return type', async function () { 114 | const self = this; 115 | addResolveFunctionsToSchema(this.schema, { 116 | Post: { 117 | author: function (root, args, context, info) { 118 | self.nestedInfo = info; 119 | return null; 120 | } 121 | }, 122 | }); 123 | await this.runQuery(this.query); 124 | const tree = new GraphqlQueryTree(this.info); 125 | const nestedTree = new GraphqlQueryTree(this.nestedInfo); 126 | expect(tree.getReturnType()).to.equal('Post'); 127 | expect(nestedTree.getReturnType()).to.equal('User'); 128 | }); 129 | 130 | }); 131 | 132 | describe('#getParentField', function () { 133 | 134 | it('should return parent field', async function () { 135 | const self = this; 136 | addResolveFunctionsToSchema(this.schema, { 137 | Post: { 138 | author: function (root, args, context, info) { 139 | self.nestedInfo = info; 140 | return null; 141 | } 142 | }, 143 | }); 144 | await this.runQuery(this.query); 145 | const tree = new GraphqlQueryTree(this.info); 146 | const nestedTree = new GraphqlQueryTree(this.nestedInfo); 147 | expect(tree.getParentField()).to.equal('posts'); 148 | expect(nestedTree.getParentField()).to.equal('author'); 149 | }); 150 | 151 | }); 152 | 153 | describe('#getField', function () { 154 | 155 | it('should return type of field at given path', async function () { 156 | const self = this; 157 | await this.runQuery(this.query); 158 | const tree = new GraphqlQueryTree(this.info); 159 | expect(tree.getType()).to.equal('Post'); 160 | expect(tree.getType('author')).to.equal('User'); 161 | expect(tree.getType('tags')).to.equal('Tag'); 162 | expect(tree.getType('tags.associatedTags')).to.equal('Tag'); 163 | }); 164 | 165 | }); 166 | 167 | describe('aliases', function () { 168 | 169 | it('should work with aliases', async function () { 170 | const self = this; 171 | addResolveFunctionsToSchema(this.schema, { 172 | Query: { 173 | posts (root, args, context, info) { 174 | self.info = info; 175 | return [{ tags: [{ id: 1 }] }]; 176 | }, 177 | }, 178 | Post: { 179 | tags (root, args, context, info) { 180 | self.nestedInfo = info; 181 | return [{ id: 2 }]; 182 | }, 183 | }, 184 | }); 185 | const result = await this.runQuery(` 186 | query { 187 | postsAlias: posts { 188 | tagsAlias: tags { id } 189 | } 190 | } 191 | `); 192 | const tree = new GraphqlQueryTree(this.info); 193 | const nestedTree = new GraphqlQueryTree(this.nestedInfo); 194 | 195 | expect(tree.getParentField()).to.equal('posts'); 196 | expect(nestedTree.getParentField()).to.equal('tags'); 197 | }); 198 | 199 | it('should work with aliases', async function () { 200 | const self = this; 201 | const parentFields = []; 202 | addResolveFunctionsToSchema(this.schema, { 203 | Query: { 204 | posts (root, args, context, info) { 205 | const tree = new GraphqlQueryTree(info); 206 | parentFields.push(tree.getParentField()); 207 | return [{ tags: [{ id: 1 }] }]; 208 | }, 209 | }, 210 | }); 211 | const result = await this.runQuery(` 212 | query { 213 | postsAlias1: posts { 214 | tagsAlias: tags { id } 215 | } 216 | postsAlias2: posts { 217 | tagsAlias: tags { id } 218 | } 219 | posts { 220 | tagsAlias: tags { id } 221 | } 222 | } 223 | `); 224 | expect(parentFields).to.eql(['posts', 'posts', 'posts']); 225 | }); 226 | 227 | }); 228 | 229 | }); 230 | -------------------------------------------------------------------------------- /test/schema/index.js: -------------------------------------------------------------------------------- 1 | 2 | import { makeExecutableSchema } from 'graphql-tools'; 3 | import schema from './schema'; 4 | 5 | export default function createSchema (resolver) { 6 | return makeExecutableSchema({ 7 | typeDefs: [schema], 8 | resolvers: { 9 | Query: { 10 | posts: resolver, 11 | }, 12 | Mutation: { 13 | updatePosts: resolver, 14 | }, 15 | }, 16 | }); 17 | }; 18 | -------------------------------------------------------------------------------- /test/schema/schema.js: -------------------------------------------------------------------------------- 1 | 2 | export default ` 3 | 4 | input ObjectArg { 5 | prop1: String 6 | prop2: Int 7 | prop3: Boolean 8 | prop4: Float 9 | prop5: String = "a" 10 | prop6: Int = 1 11 | prop7: Boolean = true 12 | prop8: Float = 99.1 13 | } 14 | 15 | type User { 16 | id: Int! 17 | userProp (arg1: Int, arg2: Int = 2, arg3: ObjectArg, arg4: ObjectArg = { prop1: "b" }): Int! 18 | } 19 | 20 | type Tag { 21 | id: Int 22 | tagProp (arg1: Int, arg2: Int = 2, arg3: ObjectArg, arg4: ObjectArg = { prop1: "b" }): Int! 23 | associatedTags (arg1: Int, arg2: Int = 2, arg3: ObjectArg, arg4: ObjectArg = { prop1: "b" }): [Tag!]! 24 | } 25 | 26 | type Post { 27 | id: Int! 28 | postProp (arg1: Int, arg2: Int = 2, arg3: ObjectArg, arg4: ObjectArg = { prop1: "b" }): Int! 29 | tags (arg1: Int, arg2: Int = 2, arg3: ObjectArg, arg4: ObjectArg = { prop1: "b" }): [Tag!]! 30 | author (arg1: Int, arg2: Int = 2, arg3: ObjectArg, arg4: ObjectArg = { prop1: "b" }): User 31 | } 32 | 33 | type Query { 34 | posts (arg1: Int, arg2: Int = 2, arg3: ObjectArg, arg4: ObjectArg = { prop1: "b" }): [Post!]! 35 | } 36 | 37 | type Mutation { 38 | updatePosts (arg1: Int, arg2: Int = 2, arg3: ObjectArg, arg4: ObjectArg = { prop1: "b" }): [Post!]! 39 | } 40 | 41 | type schema { 42 | query: Query 43 | mutation: Mutation 44 | } 45 | 46 | `; 47 | -------------------------------------------------------------------------------- /test/support.js: -------------------------------------------------------------------------------- 1 | 2 | import { graphql } from 'graphql'; 3 | import buildSchema from './schema'; 4 | 5 | export const args = `arg1: 77, arg3: { prop1: "a", prop2: 77, prop3: true, prop4: 88.1 }` 6 | 7 | export const argValues = { 8 | arg1: 77, 9 | arg2: 2, 10 | arg3: { 11 | prop1: 'a', 12 | prop2: 77, 13 | prop3: true, 14 | prop4: 88.1, 15 | prop5: 'a', 16 | prop6: 1, 17 | prop7: true, 18 | prop8: 99.1, 19 | }, 20 | arg4: { 21 | prop1: 'b', 22 | prop5: 'a', 23 | prop6: 1, 24 | prop7: true, 25 | prop8: 99.1, 26 | }, 27 | }; 28 | 29 | export const expectedTree = { 30 | posts: { 31 | $args: argValues, 32 | $type: 'Post', 33 | id: { $args: {}, $type: 'Int' }, 34 | postProp: { $args: argValues, $type: 'Int' }, 35 | tags: { 36 | $args: argValues, 37 | $type: 'Tag', 38 | id: { $args: {}, $type: 'Int' }, 39 | tagProp: { $args: argValues, $type: 'Int' }, 40 | associatedTags: { 41 | id: { $args: {}, $type: 'Int' }, 42 | tagProp: { $args: argValues, $type: 'Int' }, 43 | $args: argValues, 44 | $type: 'Tag', 45 | }, 46 | }, 47 | author: { 48 | $type: 'User', 49 | $args: argValues, 50 | id: { $args: {}, $type: 'Int' }, 51 | userProp: { $args: argValues, $type: 'Int' }, 52 | } 53 | }, 54 | }; 55 | 56 | export function prepareSchema () { 57 | const schema = this.schema = buildSchema((root, args, context, info) => { 58 | this.info = info; 59 | return [{ id: 1, postProp: 1, tags: [] }]; 60 | }); 61 | this.runQuery = async function (query, variables) { 62 | const result = await graphql(schema, query, {}, {}, variables); 63 | if (result.errors && result.errors.length) { 64 | throw result.errors[0]; 65 | } 66 | return result; 67 | }; 68 | } 69 | -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- 1 | # THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. 2 | # yarn lockfile v1 3 | 4 | 5 | "@types/graphql@^0.8.5": 6 | version "0.8.6" 7 | resolved "https://registry.yarnpkg.com/@types/graphql/-/graphql-0.8.6.tgz#b34fb880493ba835b0c067024ee70130d6f9bb68" 8 | 9 | abbrev@1: 10 | version "1.1.1" 11 | resolved "https://registry.yarnpkg.com/abbrev/-/abbrev-1.1.1.tgz#f8f2c887ad10bf67f634f005b6987fed3179aac8" 12 | 13 | ansi-regex@^2.0.0: 14 | version "2.1.1" 15 | resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-2.1.1.tgz#c3b33ab5ee360d86e0e628f0468ae7ef27d654df" 16 | 17 | ansi-regex@^3.0.0: 18 | version "3.0.0" 19 | resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-3.0.0.tgz#ed0317c322064f79466c02966bddb605ab37d998" 20 | 21 | ansi-styles@^2.2.1: 22 | version "2.2.1" 23 | resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-2.2.1.tgz#b432dd3358b634cf75e1e4664368240533c1ddbe" 24 | 25 | anymatch@^1.3.0: 26 | version "1.3.2" 27 | resolved "https://registry.yarnpkg.com/anymatch/-/anymatch-1.3.2.tgz#553dcb8f91e3c889845dfdba34c77721b90b9d7a" 28 | dependencies: 29 | micromatch "^2.1.5" 30 | normalize-path "^2.0.0" 31 | 32 | aproba@^1.0.3: 33 | version "1.2.0" 34 | resolved "https://registry.yarnpkg.com/aproba/-/aproba-1.2.0.tgz#6802e6264efd18c790a1b0d517f0f2627bf2c94a" 35 | 36 | are-we-there-yet@~1.1.2: 37 | version "1.1.5" 38 | resolved "https://registry.yarnpkg.com/are-we-there-yet/-/are-we-there-yet-1.1.5.tgz#4b35c2944f062a8bfcda66410760350fe9ddfc21" 39 | dependencies: 40 | delegates "^1.0.0" 41 | readable-stream "^2.0.6" 42 | 43 | arr-diff@^2.0.0: 44 | version "2.0.0" 45 | resolved "https://registry.yarnpkg.com/arr-diff/-/arr-diff-2.0.0.tgz#8f3b827f955a8bd669697e4a4256ac3ceae356cf" 46 | dependencies: 47 | arr-flatten "^1.0.1" 48 | 49 | arr-flatten@^1.0.1: 50 | version "1.1.0" 51 | resolved "https://registry.yarnpkg.com/arr-flatten/-/arr-flatten-1.1.0.tgz#36048bbff4e7b47e136644316c99669ea5ae91f1" 52 | 53 | array-unique@^0.2.1: 54 | version "0.2.1" 55 | resolved "https://registry.yarnpkg.com/array-unique/-/array-unique-0.2.1.tgz#a1d97ccafcbc2625cc70fadceb36a50c58b01a53" 56 | 57 | assertion-error@^1.0.1: 58 | version "1.1.0" 59 | resolved "https://registry.yarnpkg.com/assertion-error/-/assertion-error-1.1.0.tgz#e60b6b0e8f301bd97e5375215bda406c85118c0b" 60 | 61 | async-each@^1.0.0: 62 | version "1.0.1" 63 | resolved "https://registry.yarnpkg.com/async-each/-/async-each-1.0.1.tgz#19d386a1d9edc6e7c1c85d388aedbcc56d33602d" 64 | 65 | babel-cli@^6.24.0: 66 | version "6.26.0" 67 | resolved "https://registry.yarnpkg.com/babel-cli/-/babel-cli-6.26.0.tgz#502ab54874d7db88ad00b887a06383ce03d002f1" 68 | dependencies: 69 | babel-core "^6.26.0" 70 | babel-polyfill "^6.26.0" 71 | babel-register "^6.26.0" 72 | babel-runtime "^6.26.0" 73 | commander "^2.11.0" 74 | convert-source-map "^1.5.0" 75 | fs-readdir-recursive "^1.0.0" 76 | glob "^7.1.2" 77 | lodash "^4.17.4" 78 | output-file-sync "^1.1.2" 79 | path-is-absolute "^1.0.1" 80 | slash "^1.0.0" 81 | source-map "^0.5.6" 82 | v8flags "^2.1.1" 83 | optionalDependencies: 84 | chokidar "^1.6.1" 85 | 86 | babel-code-frame@^6.26.0: 87 | version "6.26.0" 88 | resolved "https://registry.yarnpkg.com/babel-code-frame/-/babel-code-frame-6.26.0.tgz#63fd43f7dc1e3bb7ce35947db8fe369a3f58c74b" 89 | dependencies: 90 | chalk "^1.1.3" 91 | esutils "^2.0.2" 92 | js-tokens "^3.0.2" 93 | 94 | babel-core@^6.26.0: 95 | version "6.26.3" 96 | resolved "https://registry.yarnpkg.com/babel-core/-/babel-core-6.26.3.tgz#b2e2f09e342d0f0c88e2f02e067794125e75c207" 97 | dependencies: 98 | babel-code-frame "^6.26.0" 99 | babel-generator "^6.26.0" 100 | babel-helpers "^6.24.1" 101 | babel-messages "^6.23.0" 102 | babel-register "^6.26.0" 103 | babel-runtime "^6.26.0" 104 | babel-template "^6.26.0" 105 | babel-traverse "^6.26.0" 106 | babel-types "^6.26.0" 107 | babylon "^6.18.0" 108 | convert-source-map "^1.5.1" 109 | debug "^2.6.9" 110 | json5 "^0.5.1" 111 | lodash "^4.17.4" 112 | minimatch "^3.0.4" 113 | path-is-absolute "^1.0.1" 114 | private "^0.1.8" 115 | slash "^1.0.0" 116 | source-map "^0.5.7" 117 | 118 | babel-generator@^6.26.0: 119 | version "6.26.1" 120 | resolved "https://registry.yarnpkg.com/babel-generator/-/babel-generator-6.26.1.tgz#1844408d3b8f0d35a404ea7ac180f087a601bd90" 121 | dependencies: 122 | babel-messages "^6.23.0" 123 | babel-runtime "^6.26.0" 124 | babel-types "^6.26.0" 125 | detect-indent "^4.0.0" 126 | jsesc "^1.3.0" 127 | lodash "^4.17.4" 128 | source-map "^0.5.7" 129 | trim-right "^1.0.1" 130 | 131 | babel-helper-bindify-decorators@^6.24.1: 132 | version "6.24.1" 133 | resolved "https://registry.yarnpkg.com/babel-helper-bindify-decorators/-/babel-helper-bindify-decorators-6.24.1.tgz#14c19e5f142d7b47f19a52431e52b1ccbc40a330" 134 | dependencies: 135 | babel-runtime "^6.22.0" 136 | babel-traverse "^6.24.1" 137 | babel-types "^6.24.1" 138 | 139 | babel-helper-builder-binary-assignment-operator-visitor@^6.24.1: 140 | version "6.24.1" 141 | resolved "https://registry.yarnpkg.com/babel-helper-builder-binary-assignment-operator-visitor/-/babel-helper-builder-binary-assignment-operator-visitor-6.24.1.tgz#cce4517ada356f4220bcae8a02c2b346f9a56664" 142 | dependencies: 143 | babel-helper-explode-assignable-expression "^6.24.1" 144 | babel-runtime "^6.22.0" 145 | babel-types "^6.24.1" 146 | 147 | babel-helper-call-delegate@^6.24.1: 148 | version "6.24.1" 149 | resolved "https://registry.yarnpkg.com/babel-helper-call-delegate/-/babel-helper-call-delegate-6.24.1.tgz#ece6aacddc76e41c3461f88bfc575bd0daa2df8d" 150 | dependencies: 151 | babel-helper-hoist-variables "^6.24.1" 152 | babel-runtime "^6.22.0" 153 | babel-traverse "^6.24.1" 154 | babel-types "^6.24.1" 155 | 156 | babel-helper-explode-assignable-expression@^6.24.1: 157 | version "6.24.1" 158 | resolved "https://registry.yarnpkg.com/babel-helper-explode-assignable-expression/-/babel-helper-explode-assignable-expression-6.24.1.tgz#f25b82cf7dc10433c55f70592d5746400ac22caa" 159 | dependencies: 160 | babel-runtime "^6.22.0" 161 | babel-traverse "^6.24.1" 162 | babel-types "^6.24.1" 163 | 164 | babel-helper-explode-class@^6.24.1: 165 | version "6.24.1" 166 | resolved "https://registry.yarnpkg.com/babel-helper-explode-class/-/babel-helper-explode-class-6.24.1.tgz#7dc2a3910dee007056e1e31d640ced3d54eaa9eb" 167 | dependencies: 168 | babel-helper-bindify-decorators "^6.24.1" 169 | babel-runtime "^6.22.0" 170 | babel-traverse "^6.24.1" 171 | babel-types "^6.24.1" 172 | 173 | babel-helper-function-name@^6.24.1: 174 | version "6.24.1" 175 | resolved "https://registry.yarnpkg.com/babel-helper-function-name/-/babel-helper-function-name-6.24.1.tgz#d3475b8c03ed98242a25b48351ab18399d3580a9" 176 | dependencies: 177 | babel-helper-get-function-arity "^6.24.1" 178 | babel-runtime "^6.22.0" 179 | babel-template "^6.24.1" 180 | babel-traverse "^6.24.1" 181 | babel-types "^6.24.1" 182 | 183 | babel-helper-get-function-arity@^6.24.1: 184 | version "6.24.1" 185 | resolved "https://registry.yarnpkg.com/babel-helper-get-function-arity/-/babel-helper-get-function-arity-6.24.1.tgz#8f7782aa93407c41d3aa50908f89b031b1b6853d" 186 | dependencies: 187 | babel-runtime "^6.22.0" 188 | babel-types "^6.24.1" 189 | 190 | babel-helper-hoist-variables@^6.24.1: 191 | version "6.24.1" 192 | resolved "https://registry.yarnpkg.com/babel-helper-hoist-variables/-/babel-helper-hoist-variables-6.24.1.tgz#1ecb27689c9d25513eadbc9914a73f5408be7a76" 193 | dependencies: 194 | babel-runtime "^6.22.0" 195 | babel-types "^6.24.1" 196 | 197 | babel-helper-remap-async-to-generator@^6.24.1: 198 | version "6.24.1" 199 | resolved "https://registry.yarnpkg.com/babel-helper-remap-async-to-generator/-/babel-helper-remap-async-to-generator-6.24.1.tgz#5ec581827ad723fecdd381f1c928390676e4551b" 200 | dependencies: 201 | babel-helper-function-name "^6.24.1" 202 | babel-runtime "^6.22.0" 203 | babel-template "^6.24.1" 204 | babel-traverse "^6.24.1" 205 | babel-types "^6.24.1" 206 | 207 | babel-helpers@^6.24.1: 208 | version "6.24.1" 209 | resolved "https://registry.yarnpkg.com/babel-helpers/-/babel-helpers-6.24.1.tgz#3471de9caec388e5c850e597e58a26ddf37602b2" 210 | dependencies: 211 | babel-runtime "^6.22.0" 212 | babel-template "^6.24.1" 213 | 214 | babel-messages@^6.23.0: 215 | version "6.23.0" 216 | resolved "https://registry.yarnpkg.com/babel-messages/-/babel-messages-6.23.0.tgz#f3cdf4703858035b2a2951c6ec5edf6c62f2630e" 217 | dependencies: 218 | babel-runtime "^6.22.0" 219 | 220 | babel-plugin-syntax-async-functions@^6.8.0: 221 | version "6.13.0" 222 | resolved "https://registry.yarnpkg.com/babel-plugin-syntax-async-functions/-/babel-plugin-syntax-async-functions-6.13.0.tgz#cad9cad1191b5ad634bf30ae0872391e0647be95" 223 | 224 | babel-plugin-syntax-async-generators@^6.5.0: 225 | version "6.13.0" 226 | resolved "https://registry.yarnpkg.com/babel-plugin-syntax-async-generators/-/babel-plugin-syntax-async-generators-6.13.0.tgz#6bc963ebb16eccbae6b92b596eb7f35c342a8b9a" 227 | 228 | babel-plugin-syntax-class-constructor-call@^6.18.0: 229 | version "6.18.0" 230 | resolved "https://registry.yarnpkg.com/babel-plugin-syntax-class-constructor-call/-/babel-plugin-syntax-class-constructor-call-6.18.0.tgz#9cb9d39fe43c8600bec8146456ddcbd4e1a76416" 231 | 232 | babel-plugin-syntax-class-properties@^6.8.0: 233 | version "6.13.0" 234 | resolved "https://registry.yarnpkg.com/babel-plugin-syntax-class-properties/-/babel-plugin-syntax-class-properties-6.13.0.tgz#d7eb23b79a317f8543962c505b827c7d6cac27de" 235 | 236 | babel-plugin-syntax-decorators@^6.13.0: 237 | version "6.13.0" 238 | resolved "https://registry.yarnpkg.com/babel-plugin-syntax-decorators/-/babel-plugin-syntax-decorators-6.13.0.tgz#312563b4dbde3cc806cee3e416cceeaddd11ac0b" 239 | 240 | babel-plugin-syntax-do-expressions@^6.8.0: 241 | version "6.13.0" 242 | resolved "https://registry.yarnpkg.com/babel-plugin-syntax-do-expressions/-/babel-plugin-syntax-do-expressions-6.13.0.tgz#5747756139aa26d390d09410b03744ba07e4796d" 243 | 244 | babel-plugin-syntax-dynamic-import@^6.18.0: 245 | version "6.18.0" 246 | resolved "https://registry.yarnpkg.com/babel-plugin-syntax-dynamic-import/-/babel-plugin-syntax-dynamic-import-6.18.0.tgz#8d6a26229c83745a9982a441051572caa179b1da" 247 | 248 | babel-plugin-syntax-exponentiation-operator@^6.8.0: 249 | version "6.13.0" 250 | resolved "https://registry.yarnpkg.com/babel-plugin-syntax-exponentiation-operator/-/babel-plugin-syntax-exponentiation-operator-6.13.0.tgz#9ee7e8337290da95288201a6a57f4170317830de" 251 | 252 | babel-plugin-syntax-export-extensions@^6.8.0: 253 | version "6.13.0" 254 | resolved "https://registry.yarnpkg.com/babel-plugin-syntax-export-extensions/-/babel-plugin-syntax-export-extensions-6.13.0.tgz#70a1484f0f9089a4e84ad44bac353c95b9b12721" 255 | 256 | babel-plugin-syntax-function-bind@^6.8.0: 257 | version "6.13.0" 258 | resolved "https://registry.yarnpkg.com/babel-plugin-syntax-function-bind/-/babel-plugin-syntax-function-bind-6.13.0.tgz#48c495f177bdf31a981e732f55adc0bdd2601f46" 259 | 260 | babel-plugin-syntax-object-rest-spread@^6.8.0: 261 | version "6.13.0" 262 | resolved "https://registry.yarnpkg.com/babel-plugin-syntax-object-rest-spread/-/babel-plugin-syntax-object-rest-spread-6.13.0.tgz#fd6536f2bce13836ffa3a5458c4903a597bb3bf5" 263 | 264 | babel-plugin-syntax-trailing-function-commas@^6.22.0: 265 | version "6.22.0" 266 | resolved "https://registry.yarnpkg.com/babel-plugin-syntax-trailing-function-commas/-/babel-plugin-syntax-trailing-function-commas-6.22.0.tgz#ba0360937f8d06e40180a43fe0d5616fff532cf3" 267 | 268 | babel-plugin-transform-async-generator-functions@^6.24.1: 269 | version "6.24.1" 270 | resolved "https://registry.yarnpkg.com/babel-plugin-transform-async-generator-functions/-/babel-plugin-transform-async-generator-functions-6.24.1.tgz#f058900145fd3e9907a6ddf28da59f215258a5db" 271 | dependencies: 272 | babel-helper-remap-async-to-generator "^6.24.1" 273 | babel-plugin-syntax-async-generators "^6.5.0" 274 | babel-runtime "^6.22.0" 275 | 276 | babel-plugin-transform-async-to-generator@^6.22.0, babel-plugin-transform-async-to-generator@^6.24.1: 277 | version "6.24.1" 278 | resolved "https://registry.yarnpkg.com/babel-plugin-transform-async-to-generator/-/babel-plugin-transform-async-to-generator-6.24.1.tgz#6536e378aff6cb1d5517ac0e40eb3e9fc8d08761" 279 | dependencies: 280 | babel-helper-remap-async-to-generator "^6.24.1" 281 | babel-plugin-syntax-async-functions "^6.8.0" 282 | babel-runtime "^6.22.0" 283 | 284 | babel-plugin-transform-class-constructor-call@^6.24.1: 285 | version "6.24.1" 286 | resolved "https://registry.yarnpkg.com/babel-plugin-transform-class-constructor-call/-/babel-plugin-transform-class-constructor-call-6.24.1.tgz#80dc285505ac067dcb8d6c65e2f6f11ab7765ef9" 287 | dependencies: 288 | babel-plugin-syntax-class-constructor-call "^6.18.0" 289 | babel-runtime "^6.22.0" 290 | babel-template "^6.24.1" 291 | 292 | babel-plugin-transform-class-properties@^6.24.1: 293 | version "6.24.1" 294 | resolved "https://registry.yarnpkg.com/babel-plugin-transform-class-properties/-/babel-plugin-transform-class-properties-6.24.1.tgz#6a79763ea61d33d36f37b611aa9def81a81b46ac" 295 | dependencies: 296 | babel-helper-function-name "^6.24.1" 297 | babel-plugin-syntax-class-properties "^6.8.0" 298 | babel-runtime "^6.22.0" 299 | babel-template "^6.24.1" 300 | 301 | babel-plugin-transform-decorators@^6.24.1: 302 | version "6.24.1" 303 | resolved "https://registry.yarnpkg.com/babel-plugin-transform-decorators/-/babel-plugin-transform-decorators-6.24.1.tgz#788013d8f8c6b5222bdf7b344390dfd77569e24d" 304 | dependencies: 305 | babel-helper-explode-class "^6.24.1" 306 | babel-plugin-syntax-decorators "^6.13.0" 307 | babel-runtime "^6.22.0" 308 | babel-template "^6.24.1" 309 | babel-types "^6.24.1" 310 | 311 | babel-plugin-transform-do-expressions@^6.22.0: 312 | version "6.22.0" 313 | resolved "https://registry.yarnpkg.com/babel-plugin-transform-do-expressions/-/babel-plugin-transform-do-expressions-6.22.0.tgz#28ccaf92812d949c2cd1281f690c8fdc468ae9bb" 314 | dependencies: 315 | babel-plugin-syntax-do-expressions "^6.8.0" 316 | babel-runtime "^6.22.0" 317 | 318 | babel-plugin-transform-es2015-destructuring@^6.6.5: 319 | version "6.23.0" 320 | resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-destructuring/-/babel-plugin-transform-es2015-destructuring-6.23.0.tgz#997bb1f1ab967f682d2b0876fe358d60e765c56d" 321 | dependencies: 322 | babel-runtime "^6.22.0" 323 | 324 | babel-plugin-transform-es2015-function-name@^6.5.0: 325 | version "6.24.1" 326 | resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-function-name/-/babel-plugin-transform-es2015-function-name-6.24.1.tgz#834c89853bc36b1af0f3a4c5dbaa94fd8eacaa8b" 327 | dependencies: 328 | babel-helper-function-name "^6.24.1" 329 | babel-runtime "^6.22.0" 330 | babel-types "^6.24.1" 331 | 332 | babel-plugin-transform-es2015-modules-commonjs@^6.7.4: 333 | version "6.26.2" 334 | resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-modules-commonjs/-/babel-plugin-transform-es2015-modules-commonjs-6.26.2.tgz#58a793863a9e7ca870bdc5a881117ffac27db6f3" 335 | dependencies: 336 | babel-plugin-transform-strict-mode "^6.24.1" 337 | babel-runtime "^6.26.0" 338 | babel-template "^6.26.0" 339 | babel-types "^6.26.0" 340 | 341 | babel-plugin-transform-es2015-parameters@^6.23.0, babel-plugin-transform-es2015-parameters@^6.8.0: 342 | version "6.24.1" 343 | resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-parameters/-/babel-plugin-transform-es2015-parameters-6.24.1.tgz#57ac351ab49caf14a97cd13b09f66fdf0a625f2b" 344 | dependencies: 345 | babel-helper-call-delegate "^6.24.1" 346 | babel-helper-get-function-arity "^6.24.1" 347 | babel-runtime "^6.22.0" 348 | babel-template "^6.24.1" 349 | babel-traverse "^6.24.1" 350 | babel-types "^6.24.1" 351 | 352 | babel-plugin-transform-exponentiation-operator@^6.24.1: 353 | version "6.24.1" 354 | resolved "https://registry.yarnpkg.com/babel-plugin-transform-exponentiation-operator/-/babel-plugin-transform-exponentiation-operator-6.24.1.tgz#2ab0c9c7f3098fa48907772bb813fe41e8de3a0e" 355 | dependencies: 356 | babel-helper-builder-binary-assignment-operator-visitor "^6.24.1" 357 | babel-plugin-syntax-exponentiation-operator "^6.8.0" 358 | babel-runtime "^6.22.0" 359 | 360 | babel-plugin-transform-export-extensions@^6.22.0: 361 | version "6.22.0" 362 | resolved "https://registry.yarnpkg.com/babel-plugin-transform-export-extensions/-/babel-plugin-transform-export-extensions-6.22.0.tgz#53738b47e75e8218589eea946cbbd39109bbe653" 363 | dependencies: 364 | babel-plugin-syntax-export-extensions "^6.8.0" 365 | babel-runtime "^6.22.0" 366 | 367 | babel-plugin-transform-function-bind@^6.22.0: 368 | version "6.22.0" 369 | resolved "https://registry.yarnpkg.com/babel-plugin-transform-function-bind/-/babel-plugin-transform-function-bind-6.22.0.tgz#c6fb8e96ac296a310b8cf8ea401462407ddf6a97" 370 | dependencies: 371 | babel-plugin-syntax-function-bind "^6.8.0" 372 | babel-runtime "^6.22.0" 373 | 374 | babel-plugin-transform-object-rest-spread@^6.22.0: 375 | version "6.26.0" 376 | resolved "https://registry.yarnpkg.com/babel-plugin-transform-object-rest-spread/-/babel-plugin-transform-object-rest-spread-6.26.0.tgz#0f36692d50fef6b7e2d4b3ac1478137a963b7b06" 377 | dependencies: 378 | babel-plugin-syntax-object-rest-spread "^6.8.0" 379 | babel-runtime "^6.26.0" 380 | 381 | babel-plugin-transform-strict-mode@^6.24.1: 382 | version "6.24.1" 383 | resolved "https://registry.yarnpkg.com/babel-plugin-transform-strict-mode/-/babel-plugin-transform-strict-mode-6.24.1.tgz#d5faf7aa578a65bbe591cf5edae04a0c67020758" 384 | dependencies: 385 | babel-runtime "^6.22.0" 386 | babel-types "^6.24.1" 387 | 388 | babel-polyfill@^6.26.0: 389 | version "6.26.0" 390 | resolved "https://registry.yarnpkg.com/babel-polyfill/-/babel-polyfill-6.26.0.tgz#379937abc67d7895970adc621f284cd966cf2153" 391 | dependencies: 392 | babel-runtime "^6.26.0" 393 | core-js "^2.5.0" 394 | regenerator-runtime "^0.10.5" 395 | 396 | babel-preset-es2015-node6@^0.4.0: 397 | version "0.4.0" 398 | resolved "https://registry.yarnpkg.com/babel-preset-es2015-node6/-/babel-preset-es2015-node6-0.4.0.tgz#f8893f81b6533747924c657348867bd63b4f9dc2" 399 | dependencies: 400 | babel-plugin-transform-es2015-destructuring "^6.6.5" 401 | babel-plugin-transform-es2015-function-name "^6.5.0" 402 | babel-plugin-transform-es2015-modules-commonjs "^6.7.4" 403 | babel-plugin-transform-es2015-parameters "^6.8.0" 404 | 405 | babel-preset-stage-0@^6.16.0: 406 | version "6.24.1" 407 | resolved "https://registry.yarnpkg.com/babel-preset-stage-0/-/babel-preset-stage-0-6.24.1.tgz#5642d15042f91384d7e5af8bc88b1db95b039e6a" 408 | dependencies: 409 | babel-plugin-transform-do-expressions "^6.22.0" 410 | babel-plugin-transform-function-bind "^6.22.0" 411 | babel-preset-stage-1 "^6.24.1" 412 | 413 | babel-preset-stage-1@^6.24.1: 414 | version "6.24.1" 415 | resolved "https://registry.yarnpkg.com/babel-preset-stage-1/-/babel-preset-stage-1-6.24.1.tgz#7692cd7dcd6849907e6ae4a0a85589cfb9e2bfb0" 416 | dependencies: 417 | babel-plugin-transform-class-constructor-call "^6.24.1" 418 | babel-plugin-transform-export-extensions "^6.22.0" 419 | babel-preset-stage-2 "^6.24.1" 420 | 421 | babel-preset-stage-2@^6.24.1: 422 | version "6.24.1" 423 | resolved "https://registry.yarnpkg.com/babel-preset-stage-2/-/babel-preset-stage-2-6.24.1.tgz#d9e2960fb3d71187f0e64eec62bc07767219bdc1" 424 | dependencies: 425 | babel-plugin-syntax-dynamic-import "^6.18.0" 426 | babel-plugin-transform-class-properties "^6.24.1" 427 | babel-plugin-transform-decorators "^6.24.1" 428 | babel-preset-stage-3 "^6.24.1" 429 | 430 | babel-preset-stage-3@^6.24.1: 431 | version "6.24.1" 432 | resolved "https://registry.yarnpkg.com/babel-preset-stage-3/-/babel-preset-stage-3-6.24.1.tgz#836ada0a9e7a7fa37cb138fb9326f87934a48395" 433 | dependencies: 434 | babel-plugin-syntax-trailing-function-commas "^6.22.0" 435 | babel-plugin-transform-async-generator-functions "^6.24.1" 436 | babel-plugin-transform-async-to-generator "^6.24.1" 437 | babel-plugin-transform-exponentiation-operator "^6.24.1" 438 | babel-plugin-transform-object-rest-spread "^6.22.0" 439 | 440 | babel-register@^6.23.0, babel-register@^6.26.0: 441 | version "6.26.0" 442 | resolved "https://registry.yarnpkg.com/babel-register/-/babel-register-6.26.0.tgz#6ed021173e2fcb486d7acb45c6009a856f647071" 443 | dependencies: 444 | babel-core "^6.26.0" 445 | babel-runtime "^6.26.0" 446 | core-js "^2.5.0" 447 | home-or-tmp "^2.0.0" 448 | lodash "^4.17.4" 449 | mkdirp "^0.5.1" 450 | source-map-support "^0.4.15" 451 | 452 | babel-runtime@^6.22.0, babel-runtime@^6.26.0: 453 | version "6.26.0" 454 | resolved "https://registry.yarnpkg.com/babel-runtime/-/babel-runtime-6.26.0.tgz#965c7058668e82b55d7bfe04ff2337bc8b5647fe" 455 | dependencies: 456 | core-js "^2.4.0" 457 | regenerator-runtime "^0.11.0" 458 | 459 | babel-template@^6.24.1, babel-template@^6.26.0: 460 | version "6.26.0" 461 | resolved "https://registry.yarnpkg.com/babel-template/-/babel-template-6.26.0.tgz#de03e2d16396b069f46dd9fff8521fb1a0e35e02" 462 | dependencies: 463 | babel-runtime "^6.26.0" 464 | babel-traverse "^6.26.0" 465 | babel-types "^6.26.0" 466 | babylon "^6.18.0" 467 | lodash "^4.17.4" 468 | 469 | babel-traverse@^6.24.1, babel-traverse@^6.26.0: 470 | version "6.26.0" 471 | resolved "https://registry.yarnpkg.com/babel-traverse/-/babel-traverse-6.26.0.tgz#46a9cbd7edcc62c8e5c064e2d2d8d0f4035766ee" 472 | dependencies: 473 | babel-code-frame "^6.26.0" 474 | babel-messages "^6.23.0" 475 | babel-runtime "^6.26.0" 476 | babel-types "^6.26.0" 477 | babylon "^6.18.0" 478 | debug "^2.6.8" 479 | globals "^9.18.0" 480 | invariant "^2.2.2" 481 | lodash "^4.17.4" 482 | 483 | babel-types@^6.24.1, babel-types@^6.26.0: 484 | version "6.26.0" 485 | resolved "https://registry.yarnpkg.com/babel-types/-/babel-types-6.26.0.tgz#a3b073f94ab49eb6fa55cd65227a334380632497" 486 | dependencies: 487 | babel-runtime "^6.26.0" 488 | esutils "^2.0.2" 489 | lodash "^4.17.4" 490 | to-fast-properties "^1.0.3" 491 | 492 | babylon@^6.18.0: 493 | version "6.18.0" 494 | resolved "https://registry.yarnpkg.com/babylon/-/babylon-6.18.0.tgz#af2f3b88fa6f5c1e4c634d1a0f8eac4f55b395e3" 495 | 496 | balanced-match@^1.0.0: 497 | version "1.0.0" 498 | resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-1.0.0.tgz#89b4d199ab2bee49de164ea02b89ce462d71b767" 499 | 500 | binary-extensions@^1.0.0: 501 | version "1.11.0" 502 | resolved "https://registry.yarnpkg.com/binary-extensions/-/binary-extensions-1.11.0.tgz#46aa1751fb6a2f93ee5e689bb1087d4b14c6c205" 503 | 504 | brace-expansion@^1.1.7: 505 | version "1.1.11" 506 | resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-1.1.11.tgz#3c7fcbf529d87226f3d2f52b966ff5271eb441dd" 507 | dependencies: 508 | balanced-match "^1.0.0" 509 | concat-map "0.0.1" 510 | 511 | braces@^1.8.2: 512 | version "1.8.5" 513 | resolved "https://registry.yarnpkg.com/braces/-/braces-1.8.5.tgz#ba77962e12dff969d6b76711e914b737857bf6a7" 514 | dependencies: 515 | expand-range "^1.8.1" 516 | preserve "^0.2.0" 517 | repeat-element "^1.1.2" 518 | 519 | brackets2dots@^1.1.0: 520 | version "1.1.0" 521 | resolved "https://registry.yarnpkg.com/brackets2dots/-/brackets2dots-1.1.0.tgz#3f3d40375fc660ce0fd004fa27d67b34f9469ac3" 522 | 523 | browser-stdout@1.3.0: 524 | version "1.3.0" 525 | resolved "https://registry.yarnpkg.com/browser-stdout/-/browser-stdout-1.3.0.tgz#f351d32969d32fa5d7a5567154263d928ae3bd1f" 526 | 527 | chai@^3.5.0: 528 | version "3.5.0" 529 | resolved "https://registry.yarnpkg.com/chai/-/chai-3.5.0.tgz#4d02637b067fe958bdbfdd3a40ec56fef7373247" 530 | dependencies: 531 | assertion-error "^1.0.1" 532 | deep-eql "^0.1.3" 533 | type-detect "^1.0.0" 534 | 535 | chalk@^1.1.3: 536 | version "1.1.3" 537 | resolved "https://registry.yarnpkg.com/chalk/-/chalk-1.1.3.tgz#a8115c55e4a702fe4d150abd3872822a7e09fc98" 538 | dependencies: 539 | ansi-styles "^2.2.1" 540 | escape-string-regexp "^1.0.2" 541 | has-ansi "^2.0.0" 542 | strip-ansi "^3.0.0" 543 | supports-color "^2.0.0" 544 | 545 | chokidar@^1.6.1: 546 | version "1.7.0" 547 | resolved "https://registry.yarnpkg.com/chokidar/-/chokidar-1.7.0.tgz#798e689778151c8076b4b360e5edd28cda2bb468" 548 | dependencies: 549 | anymatch "^1.3.0" 550 | async-each "^1.0.0" 551 | glob-parent "^2.0.0" 552 | inherits "^2.0.1" 553 | is-binary-path "^1.0.0" 554 | is-glob "^2.0.0" 555 | path-is-absolute "^1.0.0" 556 | readdirp "^2.0.0" 557 | optionalDependencies: 558 | fsevents "^1.0.0" 559 | 560 | chownr@^1.0.1: 561 | version "1.0.1" 562 | resolved "https://registry.yarnpkg.com/chownr/-/chownr-1.0.1.tgz#e2a75042a9551908bebd25b8523d5f9769d79181" 563 | 564 | code-point-at@^1.0.0: 565 | version "1.1.0" 566 | resolved "https://registry.yarnpkg.com/code-point-at/-/code-point-at-1.1.0.tgz#0d070b4d043a5bea33a2f1a40e2edb3d9a4ccf77" 567 | 568 | commander@2.9.0: 569 | version "2.9.0" 570 | resolved "https://registry.yarnpkg.com/commander/-/commander-2.9.0.tgz#9c99094176e12240cb22d6c5146098400fe0f7d4" 571 | dependencies: 572 | graceful-readlink ">= 1.0.0" 573 | 574 | commander@^2.11.0: 575 | version "2.15.1" 576 | resolved "https://registry.yarnpkg.com/commander/-/commander-2.15.1.tgz#df46e867d0fc2aec66a34662b406a9ccafff5b0f" 577 | 578 | concat-map@0.0.1: 579 | version "0.0.1" 580 | resolved "https://registry.yarnpkg.com/concat-map/-/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b" 581 | 582 | console-control-strings@^1.0.0, console-control-strings@~1.1.0: 583 | version "1.1.0" 584 | resolved "https://registry.yarnpkg.com/console-control-strings/-/console-control-strings-1.1.0.tgz#3d7cf4464db6446ea644bf4b39507f9851008e8e" 585 | 586 | convert-source-map@^1.5.0, convert-source-map@^1.5.1: 587 | version "1.5.1" 588 | resolved "https://registry.yarnpkg.com/convert-source-map/-/convert-source-map-1.5.1.tgz#b8278097b9bc229365de5c62cf5fcaed8b5599e5" 589 | 590 | core-js@^2.4.0, core-js@^2.5.0: 591 | version "2.5.7" 592 | resolved "https://registry.yarnpkg.com/core-js/-/core-js-2.5.7.tgz#f972608ff0cead68b841a16a932d0b183791814e" 593 | 594 | core-util-is@~1.0.0: 595 | version "1.0.2" 596 | resolved "https://registry.yarnpkg.com/core-util-is/-/core-util-is-1.0.2.tgz#b5fd54220aa2bc5ab57aab7140c940754503c1a7" 597 | 598 | curry2@^1.0.0: 599 | version "1.0.3" 600 | resolved "https://registry.yarnpkg.com/curry2/-/curry2-1.0.3.tgz#38191d55f1060bfea47ca08009385bb878f6612f" 601 | dependencies: 602 | fast-bind "^1.0.0" 603 | 604 | debug@2.6.8: 605 | version "2.6.8" 606 | resolved "https://registry.yarnpkg.com/debug/-/debug-2.6.8.tgz#e731531ca2ede27d188222427da17821d68ff4fc" 607 | dependencies: 608 | ms "2.0.0" 609 | 610 | debug@^2.1.2, debug@^2.5.2, debug@^2.6.8, debug@^2.6.9: 611 | version "2.6.9" 612 | resolved "https://registry.yarnpkg.com/debug/-/debug-2.6.9.tgz#5d128515df134ff327e90a4c93f4e077a536341f" 613 | dependencies: 614 | ms "2.0.0" 615 | 616 | deep-eql@^0.1.3: 617 | version "0.1.3" 618 | resolved "https://registry.yarnpkg.com/deep-eql/-/deep-eql-0.1.3.tgz#ef558acab8de25206cd713906d74e56930eb69f2" 619 | dependencies: 620 | type-detect "0.1.1" 621 | 622 | deep-extend@^0.6.0: 623 | version "0.6.0" 624 | resolved "https://registry.yarnpkg.com/deep-extend/-/deep-extend-0.6.0.tgz#c4fa7c95404a17a9c3e8ca7e1537312b736330ac" 625 | 626 | delegates@^1.0.0: 627 | version "1.0.0" 628 | resolved "https://registry.yarnpkg.com/delegates/-/delegates-1.0.0.tgz#84c6e159b81904fdca59a0ef44cd870d31250f9a" 629 | 630 | deprecated-decorator@^0.1.6: 631 | version "0.1.6" 632 | resolved "https://registry.yarnpkg.com/deprecated-decorator/-/deprecated-decorator-0.1.6.tgz#00966317b7a12fe92f3cc831f7583af329b86c37" 633 | 634 | detect-indent@^4.0.0: 635 | version "4.0.0" 636 | resolved "https://registry.yarnpkg.com/detect-indent/-/detect-indent-4.0.0.tgz#f76d064352cdf43a1cb6ce619c4ee3a9475de208" 637 | dependencies: 638 | repeating "^2.0.0" 639 | 640 | detect-libc@^1.0.2: 641 | version "1.0.3" 642 | resolved "https://registry.yarnpkg.com/detect-libc/-/detect-libc-1.0.3.tgz#fa137c4bd698edf55cd5cd02ac559f91a4c4ba9b" 643 | 644 | diff@3.2.0: 645 | version "3.2.0" 646 | resolved "https://registry.yarnpkg.com/diff/-/diff-3.2.0.tgz#c9ce393a4b7cbd0b058a725c93df299027868ff9" 647 | 648 | dotsplit.js@^1.0.3: 649 | version "1.1.0" 650 | resolved "https://registry.yarnpkg.com/dotsplit.js/-/dotsplit.js-1.1.0.tgz#25a239eabe922a91ffa5d2a172d6c9fb82451e02" 651 | 652 | escape-string-regexp@1.0.5, escape-string-regexp@^1.0.2: 653 | version "1.0.5" 654 | resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz#1b61c0562190a8dff6ae3bb2cf0200ca130b86d4" 655 | 656 | esutils@^2.0.2: 657 | version "2.0.2" 658 | resolved "https://registry.yarnpkg.com/esutils/-/esutils-2.0.2.tgz#0abf4f1caa5bcb1f7a9d8acc6dea4faaa04bac9b" 659 | 660 | expand-brackets@^0.1.4: 661 | version "0.1.5" 662 | resolved "https://registry.yarnpkg.com/expand-brackets/-/expand-brackets-0.1.5.tgz#df07284e342a807cd733ac5af72411e581d1177b" 663 | dependencies: 664 | is-posix-bracket "^0.1.0" 665 | 666 | expand-range@^1.8.1: 667 | version "1.8.2" 668 | resolved "https://registry.yarnpkg.com/expand-range/-/expand-range-1.8.2.tgz#a299effd335fe2721ebae8e257ec79644fc85337" 669 | dependencies: 670 | fill-range "^2.1.0" 671 | 672 | extglob@^0.3.1: 673 | version "0.3.2" 674 | resolved "https://registry.yarnpkg.com/extglob/-/extglob-0.3.2.tgz#2e18ff3d2f49ab2765cec9023f011daa8d8349a1" 675 | dependencies: 676 | is-extglob "^1.0.0" 677 | 678 | fast-bind@^1.0.0: 679 | version "1.0.0" 680 | resolved "https://registry.yarnpkg.com/fast-bind/-/fast-bind-1.0.0.tgz#7fa9652cb3325f5cd1e252d6cb4f160de1a76e75" 681 | 682 | filename-regex@^2.0.0: 683 | version "2.0.1" 684 | resolved "https://registry.yarnpkg.com/filename-regex/-/filename-regex-2.0.1.tgz#c1c4b9bee3e09725ddb106b75c1e301fe2f18b26" 685 | 686 | fill-range@^2.1.0: 687 | version "2.2.4" 688 | resolved "https://registry.yarnpkg.com/fill-range/-/fill-range-2.2.4.tgz#eb1e773abb056dcd8df2bfdf6af59b8b3a936565" 689 | dependencies: 690 | is-number "^2.1.0" 691 | isobject "^2.0.0" 692 | randomatic "^3.0.0" 693 | repeat-element "^1.1.2" 694 | repeat-string "^1.5.2" 695 | 696 | for-in@^1.0.1: 697 | version "1.0.2" 698 | resolved "https://registry.yarnpkg.com/for-in/-/for-in-1.0.2.tgz#81068d295a8142ec0ac726c6e2200c30fb6d5e80" 699 | 700 | for-own@^0.1.4: 701 | version "0.1.5" 702 | resolved "https://registry.yarnpkg.com/for-own/-/for-own-0.1.5.tgz#5265c681a4f294dabbf17c9509b6763aa84510ce" 703 | dependencies: 704 | for-in "^1.0.1" 705 | 706 | fs-minipass@^1.2.5: 707 | version "1.2.5" 708 | resolved "https://registry.yarnpkg.com/fs-minipass/-/fs-minipass-1.2.5.tgz#06c277218454ec288df77ada54a03b8702aacb9d" 709 | dependencies: 710 | minipass "^2.2.1" 711 | 712 | fs-readdir-recursive@^1.0.0: 713 | version "1.1.0" 714 | resolved "https://registry.yarnpkg.com/fs-readdir-recursive/-/fs-readdir-recursive-1.1.0.tgz#e32fc030a2ccee44a6b5371308da54be0b397d27" 715 | 716 | fs.realpath@^1.0.0: 717 | version "1.0.0" 718 | resolved "https://registry.yarnpkg.com/fs.realpath/-/fs.realpath-1.0.0.tgz#1504ad2523158caa40db4a2787cb01411994ea4f" 719 | 720 | fsevents@^1.0.0: 721 | version "1.2.4" 722 | resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-1.2.4.tgz#f41dcb1af2582af3692da36fc55cbd8e1041c426" 723 | dependencies: 724 | nan "^2.9.2" 725 | node-pre-gyp "^0.10.0" 726 | 727 | gauge@~2.7.3: 728 | version "2.7.4" 729 | resolved "https://registry.yarnpkg.com/gauge/-/gauge-2.7.4.tgz#2c03405c7538c39d7eb37b317022e325fb018bf7" 730 | dependencies: 731 | aproba "^1.0.3" 732 | console-control-strings "^1.0.0" 733 | has-unicode "^2.0.0" 734 | object-assign "^4.1.0" 735 | signal-exit "^3.0.0" 736 | string-width "^1.0.1" 737 | strip-ansi "^3.0.1" 738 | wide-align "^1.1.0" 739 | 740 | glob-base@^0.3.0: 741 | version "0.3.0" 742 | resolved "https://registry.yarnpkg.com/glob-base/-/glob-base-0.3.0.tgz#dbb164f6221b1c0b1ccf82aea328b497df0ea3c4" 743 | dependencies: 744 | glob-parent "^2.0.0" 745 | is-glob "^2.0.0" 746 | 747 | glob-parent@^2.0.0: 748 | version "2.0.0" 749 | resolved "https://registry.yarnpkg.com/glob-parent/-/glob-parent-2.0.0.tgz#81383d72db054fcccf5336daa902f182f6edbb28" 750 | dependencies: 751 | is-glob "^2.0.0" 752 | 753 | glob@7.1.1: 754 | version "7.1.1" 755 | resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.1.tgz#805211df04faaf1c63a3600306cdf5ade50b2ec8" 756 | dependencies: 757 | fs.realpath "^1.0.0" 758 | inflight "^1.0.4" 759 | inherits "2" 760 | minimatch "^3.0.2" 761 | once "^1.3.0" 762 | path-is-absolute "^1.0.0" 763 | 764 | glob@^7.0.5, glob@^7.1.2: 765 | version "7.1.2" 766 | resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.2.tgz#c19c9df9a028702d678612384a6552404c636d15" 767 | dependencies: 768 | fs.realpath "^1.0.0" 769 | inflight "^1.0.4" 770 | inherits "2" 771 | minimatch "^3.0.4" 772 | once "^1.3.0" 773 | path-is-absolute "^1.0.0" 774 | 775 | globals@^9.18.0: 776 | version "9.18.0" 777 | resolved "https://registry.yarnpkg.com/globals/-/globals-9.18.0.tgz#aa3896b3e69b487f17e31ed2143d69a8e30c2d8a" 778 | 779 | graceful-fs@^4.1.2, graceful-fs@^4.1.4: 780 | version "4.1.11" 781 | resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.1.11.tgz#0e8bdfe4d1ddb8854d64e04ea7c00e2a026e5658" 782 | 783 | "graceful-readlink@>= 1.0.0": 784 | version "1.0.1" 785 | resolved "https://registry.yarnpkg.com/graceful-readlink/-/graceful-readlink-1.0.1.tgz#4cafad76bc62f02fa039b2f94e9a3dd3a391a725" 786 | 787 | graphql-tools@^0.10.1: 788 | version "0.10.1" 789 | resolved "https://registry.yarnpkg.com/graphql-tools/-/graphql-tools-0.10.1.tgz#274aa338d50b1c0b3ed6936eafd8ed3a19ed1828" 790 | dependencies: 791 | deprecated-decorator "^0.1.6" 792 | lodash "^4.3.0" 793 | uuid "^3.0.1" 794 | optionalDependencies: 795 | "@types/graphql" "^0.8.5" 796 | 797 | graphql@^0.13.2: 798 | version "0.13.2" 799 | resolved "https://registry.yarnpkg.com/graphql/-/graphql-0.13.2.tgz#4c740ae3c222823e7004096f832e7b93b2108270" 800 | dependencies: 801 | iterall "^1.2.1" 802 | 803 | growl@1.9.2: 804 | version "1.9.2" 805 | resolved "https://registry.yarnpkg.com/growl/-/growl-1.9.2.tgz#0ea7743715db8d8de2c5ede1775e1b45ac85c02f" 806 | 807 | has-ansi@^2.0.0: 808 | version "2.0.0" 809 | resolved "https://registry.yarnpkg.com/has-ansi/-/has-ansi-2.0.0.tgz#34f5049ce1ecdf2b0649af3ef24e45ed35416d91" 810 | dependencies: 811 | ansi-regex "^2.0.0" 812 | 813 | has-flag@^1.0.0: 814 | version "1.0.0" 815 | resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-1.0.0.tgz#9d9e793165ce017a00f00418c43f942a7b1d11fa" 816 | 817 | has-unicode@^2.0.0: 818 | version "2.0.1" 819 | resolved "https://registry.yarnpkg.com/has-unicode/-/has-unicode-2.0.1.tgz#e0e6fe6a28cf51138855e086d1691e771de2a8b9" 820 | 821 | he@1.1.1: 822 | version "1.1.1" 823 | resolved "https://registry.yarnpkg.com/he/-/he-1.1.1.tgz#93410fd21b009735151f8868c2f271f3427e23fd" 824 | 825 | home-or-tmp@^2.0.0: 826 | version "2.0.0" 827 | resolved "https://registry.yarnpkg.com/home-or-tmp/-/home-or-tmp-2.0.0.tgz#e36c3f2d2cae7d746a857e38d18d5f32a7882db8" 828 | dependencies: 829 | os-homedir "^1.0.0" 830 | os-tmpdir "^1.0.1" 831 | 832 | iconv-lite@^0.4.4: 833 | version "0.4.23" 834 | resolved "https://registry.yarnpkg.com/iconv-lite/-/iconv-lite-0.4.23.tgz#297871f63be507adcfbfca715d0cd0eed84e9a63" 835 | dependencies: 836 | safer-buffer ">= 2.1.2 < 3" 837 | 838 | ignore-walk@^3.0.1: 839 | version "3.0.1" 840 | resolved "https://registry.yarnpkg.com/ignore-walk/-/ignore-walk-3.0.1.tgz#a83e62e7d272ac0e3b551aaa82831a19b69f82f8" 841 | dependencies: 842 | minimatch "^3.0.4" 843 | 844 | inflight@^1.0.4: 845 | version "1.0.6" 846 | resolved "https://registry.yarnpkg.com/inflight/-/inflight-1.0.6.tgz#49bd6331d7d02d0c09bc910a1075ba8165b56df9" 847 | dependencies: 848 | once "^1.3.0" 849 | wrappy "1" 850 | 851 | inherits@2, inherits@^2.0.1, inherits@~2.0.3: 852 | version "2.0.3" 853 | resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.3.tgz#633c2c83e3da42a502f52466022480f4208261de" 854 | 855 | ini@~1.3.0: 856 | version "1.3.5" 857 | resolved "https://registry.yarnpkg.com/ini/-/ini-1.3.5.tgz#eee25f56db1c9ec6085e0c22778083f596abf927" 858 | 859 | invariant@^2.2.2: 860 | version "2.2.4" 861 | resolved "https://registry.yarnpkg.com/invariant/-/invariant-2.2.4.tgz#610f3c92c9359ce1db616e538008d23ff35158e6" 862 | dependencies: 863 | loose-envify "^1.0.0" 864 | 865 | is-binary-path@^1.0.0: 866 | version "1.0.1" 867 | resolved "https://registry.yarnpkg.com/is-binary-path/-/is-binary-path-1.0.1.tgz#75f16642b480f187a711c814161fd3a4a7655898" 868 | dependencies: 869 | binary-extensions "^1.0.0" 870 | 871 | is-buffer@^1.1.5: 872 | version "1.1.6" 873 | resolved "https://registry.yarnpkg.com/is-buffer/-/is-buffer-1.1.6.tgz#efaa2ea9daa0d7ab2ea13a97b2b8ad51fefbe8be" 874 | 875 | is-dotfile@^1.0.0: 876 | version "1.0.3" 877 | resolved "https://registry.yarnpkg.com/is-dotfile/-/is-dotfile-1.0.3.tgz#a6a2f32ffd2dfb04f5ca25ecd0f6b83cf798a1e1" 878 | 879 | is-equal-shallow@^0.1.3: 880 | version "0.1.3" 881 | resolved "https://registry.yarnpkg.com/is-equal-shallow/-/is-equal-shallow-0.1.3.tgz#2238098fc221de0bcfa5d9eac4c45d638aa1c534" 882 | dependencies: 883 | is-primitive "^2.0.0" 884 | 885 | is-extendable@^0.1.1: 886 | version "0.1.1" 887 | resolved "https://registry.yarnpkg.com/is-extendable/-/is-extendable-0.1.1.tgz#62b110e289a471418e3ec36a617d472e301dfc89" 888 | 889 | is-extglob@^1.0.0: 890 | version "1.0.0" 891 | resolved "https://registry.yarnpkg.com/is-extglob/-/is-extglob-1.0.0.tgz#ac468177c4943405a092fc8f29760c6ffc6206c0" 892 | 893 | is-finite@^1.0.0: 894 | version "1.0.2" 895 | resolved "https://registry.yarnpkg.com/is-finite/-/is-finite-1.0.2.tgz#cc6677695602be550ef11e8b4aa6305342b6d0aa" 896 | dependencies: 897 | number-is-nan "^1.0.0" 898 | 899 | is-fullwidth-code-point@^1.0.0: 900 | version "1.0.0" 901 | resolved "https://registry.yarnpkg.com/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz#ef9e31386f031a7f0d643af82fde50c457ef00cb" 902 | dependencies: 903 | number-is-nan "^1.0.0" 904 | 905 | is-fullwidth-code-point@^2.0.0: 906 | version "2.0.0" 907 | resolved "https://registry.yarnpkg.com/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz#a3b30a5c4f199183167aaab93beefae3ddfb654f" 908 | 909 | is-glob@^2.0.0, is-glob@^2.0.1: 910 | version "2.0.1" 911 | resolved "https://registry.yarnpkg.com/is-glob/-/is-glob-2.0.1.tgz#d096f926a3ded5600f3fdfd91198cb0888c2d863" 912 | dependencies: 913 | is-extglob "^1.0.0" 914 | 915 | is-number@^2.1.0: 916 | version "2.1.0" 917 | resolved "https://registry.yarnpkg.com/is-number/-/is-number-2.1.0.tgz#01fcbbb393463a548f2f466cce16dece49db908f" 918 | dependencies: 919 | kind-of "^3.0.2" 920 | 921 | is-number@^4.0.0: 922 | version "4.0.0" 923 | resolved "https://registry.yarnpkg.com/is-number/-/is-number-4.0.0.tgz#0026e37f5454d73e356dfe6564699867c6a7f0ff" 924 | 925 | is-posix-bracket@^0.1.0: 926 | version "0.1.1" 927 | resolved "https://registry.yarnpkg.com/is-posix-bracket/-/is-posix-bracket-0.1.1.tgz#3334dc79774368e92f016e6fbc0a88f5cd6e6bc4" 928 | 929 | is-primitive@^2.0.0: 930 | version "2.0.0" 931 | resolved "https://registry.yarnpkg.com/is-primitive/-/is-primitive-2.0.0.tgz#207bab91638499c07b2adf240a41a87210034575" 932 | 933 | isarray@1.0.0, isarray@~1.0.0: 934 | version "1.0.0" 935 | resolved "https://registry.yarnpkg.com/isarray/-/isarray-1.0.0.tgz#bb935d48582cba168c06834957a54a3e07124f11" 936 | 937 | isobject@^2.0.0: 938 | version "2.1.0" 939 | resolved "https://registry.yarnpkg.com/isobject/-/isobject-2.1.0.tgz#f065561096a3f1da2ef46272f815c840d87e0c89" 940 | dependencies: 941 | isarray "1.0.0" 942 | 943 | iterall@^1.2.1: 944 | version "1.2.2" 945 | resolved "https://registry.yarnpkg.com/iterall/-/iterall-1.2.2.tgz#92d70deb8028e0c39ff3164fdbf4d8b088130cd7" 946 | 947 | js-tokens@^3.0.0, js-tokens@^3.0.2: 948 | version "3.0.2" 949 | resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-3.0.2.tgz#9866df395102130e38f7f996bceb65443209c25b" 950 | 951 | jsesc@^1.3.0: 952 | version "1.3.0" 953 | resolved "https://registry.yarnpkg.com/jsesc/-/jsesc-1.3.0.tgz#46c3fec8c1892b12b0833db9bc7622176dbab34b" 954 | 955 | json3@3.3.2: 956 | version "3.3.2" 957 | resolved "https://registry.yarnpkg.com/json3/-/json3-3.3.2.tgz#3c0434743df93e2f5c42aee7b19bcb483575f4e1" 958 | 959 | json5@^0.5.1: 960 | version "0.5.1" 961 | resolved "https://registry.yarnpkg.com/json5/-/json5-0.5.1.tgz#1eade7acc012034ad84e2396767ead9fa5495821" 962 | 963 | kind-of@^3.0.2: 964 | version "3.2.2" 965 | resolved "https://registry.yarnpkg.com/kind-of/-/kind-of-3.2.2.tgz#31ea21a734bab9bbb0f32466d893aea51e4a3c64" 966 | dependencies: 967 | is-buffer "^1.1.5" 968 | 969 | kind-of@^6.0.0: 970 | version "6.0.2" 971 | resolved "https://registry.yarnpkg.com/kind-of/-/kind-of-6.0.2.tgz#01146b36a6218e64e58f3a8d66de5d7fc6f6d051" 972 | 973 | lodash._baseassign@^3.0.0: 974 | version "3.2.0" 975 | resolved "https://registry.yarnpkg.com/lodash._baseassign/-/lodash._baseassign-3.2.0.tgz#8c38a099500f215ad09e59f1722fd0c52bfe0a4e" 976 | dependencies: 977 | lodash._basecopy "^3.0.0" 978 | lodash.keys "^3.0.0" 979 | 980 | lodash._basecopy@^3.0.0: 981 | version "3.0.1" 982 | resolved "https://registry.yarnpkg.com/lodash._basecopy/-/lodash._basecopy-3.0.1.tgz#8da0e6a876cf344c0ad8a54882111dd3c5c7ca36" 983 | 984 | lodash._basecreate@^3.0.0: 985 | version "3.0.3" 986 | resolved "https://registry.yarnpkg.com/lodash._basecreate/-/lodash._basecreate-3.0.3.tgz#1bc661614daa7fc311b7d03bf16806a0213cf821" 987 | 988 | lodash._getnative@^3.0.0: 989 | version "3.9.1" 990 | resolved "https://registry.yarnpkg.com/lodash._getnative/-/lodash._getnative-3.9.1.tgz#570bc7dede46d61cdcde687d65d3eecbaa3aaff5" 991 | 992 | lodash._isiterateecall@^3.0.0: 993 | version "3.0.9" 994 | resolved "https://registry.yarnpkg.com/lodash._isiterateecall/-/lodash._isiterateecall-3.0.9.tgz#5203ad7ba425fae842460e696db9cf3e6aac057c" 995 | 996 | lodash.create@3.1.1: 997 | version "3.1.1" 998 | resolved "https://registry.yarnpkg.com/lodash.create/-/lodash.create-3.1.1.tgz#d7f2849f0dbda7e04682bb8cd72ab022461debe7" 999 | dependencies: 1000 | lodash._baseassign "^3.0.0" 1001 | lodash._basecreate "^3.0.0" 1002 | lodash._isiterateecall "^3.0.0" 1003 | 1004 | lodash.isarguments@^3.0.0: 1005 | version "3.1.0" 1006 | resolved "https://registry.yarnpkg.com/lodash.isarguments/-/lodash.isarguments-3.1.0.tgz#2f573d85c6a24289ff00663b491c1d338ff3458a" 1007 | 1008 | lodash.isarray@^3.0.0: 1009 | version "3.0.4" 1010 | resolved "https://registry.yarnpkg.com/lodash.isarray/-/lodash.isarray-3.0.4.tgz#79e4eb88c36a8122af86f844aa9bcd851b5fbb55" 1011 | 1012 | lodash.keys@^3.0.0: 1013 | version "3.1.2" 1014 | resolved "https://registry.yarnpkg.com/lodash.keys/-/lodash.keys-3.1.2.tgz#4dbc0472b156be50a0b286855d1bd0b0c656098a" 1015 | dependencies: 1016 | lodash._getnative "^3.0.0" 1017 | lodash.isarguments "^3.0.0" 1018 | lodash.isarray "^3.0.0" 1019 | 1020 | lodash@^4.17.4, lodash@^4.3.0: 1021 | version "4.17.10" 1022 | resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.10.tgz#1b7793cf7259ea38fb3661d4d38b3260af8ae4e7" 1023 | 1024 | loose-envify@^1.0.0: 1025 | version "1.3.1" 1026 | resolved "https://registry.yarnpkg.com/loose-envify/-/loose-envify-1.3.1.tgz#d1a8ad33fa9ce0e713d65fdd0ac8b748d478c848" 1027 | dependencies: 1028 | js-tokens "^3.0.0" 1029 | 1030 | math-random@^1.0.1: 1031 | version "1.0.1" 1032 | resolved "https://registry.yarnpkg.com/math-random/-/math-random-1.0.1.tgz#8b3aac588b8a66e4975e3cdea67f7bb329601fac" 1033 | 1034 | micromatch@^2.1.5: 1035 | version "2.3.11" 1036 | resolved "https://registry.yarnpkg.com/micromatch/-/micromatch-2.3.11.tgz#86677c97d1720b363431d04d0d15293bd38c1565" 1037 | dependencies: 1038 | arr-diff "^2.0.0" 1039 | array-unique "^0.2.1" 1040 | braces "^1.8.2" 1041 | expand-brackets "^0.1.4" 1042 | extglob "^0.3.1" 1043 | filename-regex "^2.0.0" 1044 | is-extglob "^1.0.0" 1045 | is-glob "^2.0.1" 1046 | kind-of "^3.0.2" 1047 | normalize-path "^2.0.1" 1048 | object.omit "^2.0.0" 1049 | parse-glob "^3.0.4" 1050 | regex-cache "^0.4.2" 1051 | 1052 | minimatch@^3.0.2, minimatch@^3.0.4: 1053 | version "3.0.4" 1054 | resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.0.4.tgz#5166e286457f03306064be5497e8dbb0c3d32083" 1055 | dependencies: 1056 | brace-expansion "^1.1.7" 1057 | 1058 | minimist@0.0.8: 1059 | version "0.0.8" 1060 | resolved "https://registry.yarnpkg.com/minimist/-/minimist-0.0.8.tgz#857fcabfc3397d2625b8228262e86aa7a011b05d" 1061 | 1062 | minimist@^1.2.0: 1063 | version "1.2.0" 1064 | resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.0.tgz#a35008b20f41383eec1fb914f4cd5df79a264284" 1065 | 1066 | minipass@^2.2.1, minipass@^2.3.3: 1067 | version "2.3.3" 1068 | resolved "https://registry.yarnpkg.com/minipass/-/minipass-2.3.3.tgz#a7dcc8b7b833f5d368759cce544dccb55f50f233" 1069 | dependencies: 1070 | safe-buffer "^5.1.2" 1071 | yallist "^3.0.0" 1072 | 1073 | minizlib@^1.1.0: 1074 | version "1.1.0" 1075 | resolved "https://registry.yarnpkg.com/minizlib/-/minizlib-1.1.0.tgz#11e13658ce46bc3a70a267aac58359d1e0c29ceb" 1076 | dependencies: 1077 | minipass "^2.2.1" 1078 | 1079 | mkdirp@0.5.1, mkdirp@^0.5.0, mkdirp@^0.5.1: 1080 | version "0.5.1" 1081 | resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-0.5.1.tgz#30057438eac6cf7f8c4767f38648d6697d75c903" 1082 | dependencies: 1083 | minimist "0.0.8" 1084 | 1085 | mocha@^3.2.0: 1086 | version "3.5.3" 1087 | resolved "https://registry.yarnpkg.com/mocha/-/mocha-3.5.3.tgz#1e0480fe36d2da5858d1eb6acc38418b26eaa20d" 1088 | dependencies: 1089 | browser-stdout "1.3.0" 1090 | commander "2.9.0" 1091 | debug "2.6.8" 1092 | diff "3.2.0" 1093 | escape-string-regexp "1.0.5" 1094 | glob "7.1.1" 1095 | growl "1.9.2" 1096 | he "1.1.1" 1097 | json3 "3.3.2" 1098 | lodash.create "3.1.1" 1099 | mkdirp "0.5.1" 1100 | supports-color "3.1.2" 1101 | 1102 | ms@2.0.0: 1103 | version "2.0.0" 1104 | resolved "https://registry.yarnpkg.com/ms/-/ms-2.0.0.tgz#5608aeadfc00be6c2901df5f9861788de0d597c8" 1105 | 1106 | nan@^2.9.2: 1107 | version "2.10.0" 1108 | resolved "https://registry.yarnpkg.com/nan/-/nan-2.10.0.tgz#96d0cd610ebd58d4b4de9cc0c6828cda99c7548f" 1109 | 1110 | needle@^2.2.0: 1111 | version "2.2.1" 1112 | resolved "https://registry.yarnpkg.com/needle/-/needle-2.2.1.tgz#b5e325bd3aae8c2678902fa296f729455d1d3a7d" 1113 | dependencies: 1114 | debug "^2.1.2" 1115 | iconv-lite "^0.4.4" 1116 | sax "^1.2.4" 1117 | 1118 | node-pre-gyp@^0.10.0: 1119 | version "0.10.0" 1120 | resolved "https://registry.yarnpkg.com/node-pre-gyp/-/node-pre-gyp-0.10.0.tgz#6e4ef5bb5c5203c6552448828c852c40111aac46" 1121 | dependencies: 1122 | detect-libc "^1.0.2" 1123 | mkdirp "^0.5.1" 1124 | needle "^2.2.0" 1125 | nopt "^4.0.1" 1126 | npm-packlist "^1.1.6" 1127 | npmlog "^4.0.2" 1128 | rc "^1.1.7" 1129 | rimraf "^2.6.1" 1130 | semver "^5.3.0" 1131 | tar "^4" 1132 | 1133 | nopt@^4.0.1: 1134 | version "4.0.1" 1135 | resolved "https://registry.yarnpkg.com/nopt/-/nopt-4.0.1.tgz#d0d4685afd5415193c8c7505602d0d17cd64474d" 1136 | dependencies: 1137 | abbrev "1" 1138 | osenv "^0.1.4" 1139 | 1140 | normalize-path@^2.0.0, normalize-path@^2.0.1: 1141 | version "2.1.1" 1142 | resolved "https://registry.yarnpkg.com/normalize-path/-/normalize-path-2.1.1.tgz#1ab28b556e198363a8c1a6f7e6fa20137fe6aed9" 1143 | dependencies: 1144 | remove-trailing-separator "^1.0.1" 1145 | 1146 | npm-bundled@^1.0.1: 1147 | version "1.0.3" 1148 | resolved "https://registry.yarnpkg.com/npm-bundled/-/npm-bundled-1.0.3.tgz#7e71703d973af3370a9591bafe3a63aca0be2308" 1149 | 1150 | npm-packlist@^1.1.6: 1151 | version "1.1.10" 1152 | resolved "https://registry.yarnpkg.com/npm-packlist/-/npm-packlist-1.1.10.tgz#1039db9e985727e464df066f4cf0ab6ef85c398a" 1153 | dependencies: 1154 | ignore-walk "^3.0.1" 1155 | npm-bundled "^1.0.1" 1156 | 1157 | npmlog@^4.0.2: 1158 | version "4.1.2" 1159 | resolved "https://registry.yarnpkg.com/npmlog/-/npmlog-4.1.2.tgz#08a7f2a8bf734604779a9efa4ad5cc717abb954b" 1160 | dependencies: 1161 | are-we-there-yet "~1.1.2" 1162 | console-control-strings "~1.1.0" 1163 | gauge "~2.7.3" 1164 | set-blocking "~2.0.0" 1165 | 1166 | number-is-nan@^1.0.0: 1167 | version "1.0.1" 1168 | resolved "https://registry.yarnpkg.com/number-is-nan/-/number-is-nan-1.0.1.tgz#097b602b53422a522c1afb8790318336941a011d" 1169 | 1170 | object-assign@^4.1.0: 1171 | version "4.1.1" 1172 | resolved "https://registry.yarnpkg.com/object-assign/-/object-assign-4.1.1.tgz#2109adc7965887cfc05cbbd442cac8bfbb360863" 1173 | 1174 | object.omit@^2.0.0: 1175 | version "2.0.1" 1176 | resolved "https://registry.yarnpkg.com/object.omit/-/object.omit-2.0.1.tgz#1a9c744829f39dbb858c76ca3579ae2a54ebd1fa" 1177 | dependencies: 1178 | for-own "^0.1.4" 1179 | is-extendable "^0.1.1" 1180 | 1181 | once@^1.3.0: 1182 | version "1.4.0" 1183 | resolved "https://registry.yarnpkg.com/once/-/once-1.4.0.tgz#583b1aa775961d4b113ac17d9c50baef9dd76bd1" 1184 | dependencies: 1185 | wrappy "1" 1186 | 1187 | os-homedir@^1.0.0: 1188 | version "1.0.2" 1189 | resolved "https://registry.yarnpkg.com/os-homedir/-/os-homedir-1.0.2.tgz#ffbc4988336e0e833de0c168c7ef152121aa7fb3" 1190 | 1191 | os-tmpdir@^1.0.0, os-tmpdir@^1.0.1: 1192 | version "1.0.2" 1193 | resolved "https://registry.yarnpkg.com/os-tmpdir/-/os-tmpdir-1.0.2.tgz#bbe67406c79aa85c5cfec766fe5734555dfa1274" 1194 | 1195 | osenv@^0.1.4: 1196 | version "0.1.5" 1197 | resolved "https://registry.yarnpkg.com/osenv/-/osenv-0.1.5.tgz#85cdfafaeb28e8677f416e287592b5f3f49ea410" 1198 | dependencies: 1199 | os-homedir "^1.0.0" 1200 | os-tmpdir "^1.0.0" 1201 | 1202 | output-file-sync@^1.1.2: 1203 | version "1.1.2" 1204 | resolved "https://registry.yarnpkg.com/output-file-sync/-/output-file-sync-1.1.2.tgz#d0a33eefe61a205facb90092e826598d5245ce76" 1205 | dependencies: 1206 | graceful-fs "^4.1.4" 1207 | mkdirp "^0.5.1" 1208 | object-assign "^4.1.0" 1209 | 1210 | parse-glob@^3.0.4: 1211 | version "3.0.4" 1212 | resolved "https://registry.yarnpkg.com/parse-glob/-/parse-glob-3.0.4.tgz#b2c376cfb11f35513badd173ef0bb6e3a388391c" 1213 | dependencies: 1214 | glob-base "^0.3.0" 1215 | is-dotfile "^1.0.0" 1216 | is-extglob "^1.0.0" 1217 | is-glob "^2.0.0" 1218 | 1219 | path-is-absolute@^1.0.0, path-is-absolute@^1.0.1: 1220 | version "1.0.1" 1221 | resolved "https://registry.yarnpkg.com/path-is-absolute/-/path-is-absolute-1.0.1.tgz#174b9268735534ffbc7ace6bf53a5a9e1b5c5f5f" 1222 | 1223 | preserve@^0.2.0: 1224 | version "0.2.0" 1225 | resolved "https://registry.yarnpkg.com/preserve/-/preserve-0.2.0.tgz#815ed1f6ebc65926f865b310c0713bcb3315ce4b" 1226 | 1227 | private@^0.1.8: 1228 | version "0.1.8" 1229 | resolved "https://registry.yarnpkg.com/private/-/private-0.1.8.tgz#2381edb3689f7a53d653190060fcf822d2f368ff" 1230 | 1231 | process-nextick-args@~2.0.0: 1232 | version "2.0.0" 1233 | resolved "https://registry.yarnpkg.com/process-nextick-args/-/process-nextick-args-2.0.0.tgz#a37d732f4271b4ab1ad070d35508e8290788ffaa" 1234 | 1235 | randomatic@^3.0.0: 1236 | version "3.0.0" 1237 | resolved "https://registry.yarnpkg.com/randomatic/-/randomatic-3.0.0.tgz#d35490030eb4f7578de292ce6dfb04a91a128923" 1238 | dependencies: 1239 | is-number "^4.0.0" 1240 | kind-of "^6.0.0" 1241 | math-random "^1.0.1" 1242 | 1243 | rc@^1.1.7: 1244 | version "1.2.8" 1245 | resolved "https://registry.yarnpkg.com/rc/-/rc-1.2.8.tgz#cd924bf5200a075b83c188cd6b9e211b7fc0d3ed" 1246 | dependencies: 1247 | deep-extend "^0.6.0" 1248 | ini "~1.3.0" 1249 | minimist "^1.2.0" 1250 | strip-json-comments "~2.0.1" 1251 | 1252 | readable-stream@^2.0.2, readable-stream@^2.0.6: 1253 | version "2.3.6" 1254 | resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-2.3.6.tgz#b11c27d88b8ff1fbe070643cf94b0c79ae1b0aaf" 1255 | dependencies: 1256 | core-util-is "~1.0.0" 1257 | inherits "~2.0.3" 1258 | isarray "~1.0.0" 1259 | process-nextick-args "~2.0.0" 1260 | safe-buffer "~5.1.1" 1261 | string_decoder "~1.1.1" 1262 | util-deprecate "~1.0.1" 1263 | 1264 | readdirp@^2.0.0: 1265 | version "2.1.0" 1266 | resolved "https://registry.yarnpkg.com/readdirp/-/readdirp-2.1.0.tgz#4ed0ad060df3073300c48440373f72d1cc642d78" 1267 | dependencies: 1268 | graceful-fs "^4.1.2" 1269 | minimatch "^3.0.2" 1270 | readable-stream "^2.0.2" 1271 | set-immediate-shim "^1.0.1" 1272 | 1273 | regenerator-runtime@^0.10.5: 1274 | version "0.10.5" 1275 | resolved "https://registry.yarnpkg.com/regenerator-runtime/-/regenerator-runtime-0.10.5.tgz#336c3efc1220adcedda2c9fab67b5a7955a33658" 1276 | 1277 | regenerator-runtime@^0.11.0: 1278 | version "0.11.1" 1279 | resolved "https://registry.yarnpkg.com/regenerator-runtime/-/regenerator-runtime-0.11.1.tgz#be05ad7f9bf7d22e056f9726cee5017fbf19e2e9" 1280 | 1281 | regex-cache@^0.4.2: 1282 | version "0.4.4" 1283 | resolved "https://registry.yarnpkg.com/regex-cache/-/regex-cache-0.4.4.tgz#75bdc58a2a1496cec48a12835bc54c8d562336dd" 1284 | dependencies: 1285 | is-equal-shallow "^0.1.3" 1286 | 1287 | remove-trailing-separator@^1.0.1: 1288 | version "1.1.0" 1289 | resolved "https://registry.yarnpkg.com/remove-trailing-separator/-/remove-trailing-separator-1.1.0.tgz#c24bce2a283adad5bc3f58e0d48249b92379d8ef" 1290 | 1291 | repeat-element@^1.1.2: 1292 | version "1.1.2" 1293 | resolved "https://registry.yarnpkg.com/repeat-element/-/repeat-element-1.1.2.tgz#ef089a178d1483baae4d93eb98b4f9e4e11d990a" 1294 | 1295 | repeat-string@^1.5.2: 1296 | version "1.6.1" 1297 | resolved "https://registry.yarnpkg.com/repeat-string/-/repeat-string-1.6.1.tgz#8dcae470e1c88abc2d600fff4a776286da75e637" 1298 | 1299 | repeating@^2.0.0: 1300 | version "2.0.1" 1301 | resolved "https://registry.yarnpkg.com/repeating/-/repeating-2.0.1.tgz#5214c53a926d3552707527fbab415dbc08d06dda" 1302 | dependencies: 1303 | is-finite "^1.0.0" 1304 | 1305 | rimraf@^2.6.1: 1306 | version "2.6.2" 1307 | resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-2.6.2.tgz#2ed8150d24a16ea8651e6d6ef0f47c4158ce7a36" 1308 | dependencies: 1309 | glob "^7.0.5" 1310 | 1311 | safe-buffer@^5.1.2, safe-buffer@~5.1.0, safe-buffer@~5.1.1: 1312 | version "5.1.2" 1313 | resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.1.2.tgz#991ec69d296e0313747d59bdfd2b745c35f8828d" 1314 | 1315 | "safer-buffer@>= 2.1.2 < 3": 1316 | version "2.1.2" 1317 | resolved "https://registry.yarnpkg.com/safer-buffer/-/safer-buffer-2.1.2.tgz#44fa161b0187b9549dd84bb91802f9bd8385cd6a" 1318 | 1319 | sax@^1.2.4: 1320 | version "1.2.4" 1321 | resolved "https://registry.yarnpkg.com/sax/-/sax-1.2.4.tgz#2816234e2378bddc4e5354fab5caa895df7100d9" 1322 | 1323 | selectn@^1.1.2: 1324 | version "1.1.2" 1325 | resolved "https://registry.yarnpkg.com/selectn/-/selectn-1.1.2.tgz#fc8acd91df3f45acb01891c6773ae529851d6b17" 1326 | dependencies: 1327 | brackets2dots "^1.1.0" 1328 | curry2 "^1.0.0" 1329 | debug "^2.5.2" 1330 | dotsplit.js "^1.0.3" 1331 | 1332 | semver@^5.3.0: 1333 | version "5.5.0" 1334 | resolved "https://registry.yarnpkg.com/semver/-/semver-5.5.0.tgz#dc4bbc7a6ca9d916dee5d43516f0092b58f7b8ab" 1335 | 1336 | set-blocking@~2.0.0: 1337 | version "2.0.0" 1338 | resolved "https://registry.yarnpkg.com/set-blocking/-/set-blocking-2.0.0.tgz#045f9782d011ae9a6803ddd382b24392b3d890f7" 1339 | 1340 | set-immediate-shim@^1.0.1: 1341 | version "1.0.1" 1342 | resolved "https://registry.yarnpkg.com/set-immediate-shim/-/set-immediate-shim-1.0.1.tgz#4b2b1b27eb808a9f8dcc481a58e5e56f599f3f61" 1343 | 1344 | signal-exit@^3.0.0: 1345 | version "3.0.2" 1346 | resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-3.0.2.tgz#b5fdc08f1287ea1178628e415e25132b73646c6d" 1347 | 1348 | slash@^1.0.0: 1349 | version "1.0.0" 1350 | resolved "https://registry.yarnpkg.com/slash/-/slash-1.0.0.tgz#c41f2f6c39fc16d1cd17ad4b5d896114ae470d55" 1351 | 1352 | source-map-support@^0.4.15: 1353 | version "0.4.18" 1354 | resolved "https://registry.yarnpkg.com/source-map-support/-/source-map-support-0.4.18.tgz#0286a6de8be42641338594e97ccea75f0a2c585f" 1355 | dependencies: 1356 | source-map "^0.5.6" 1357 | 1358 | source-map@^0.5.6, source-map@^0.5.7: 1359 | version "0.5.7" 1360 | resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.5.7.tgz#8a039d2d1021d22d1ea14c80d8ea468ba2ef3fcc" 1361 | 1362 | string-width@^1.0.1: 1363 | version "1.0.2" 1364 | resolved "https://registry.yarnpkg.com/string-width/-/string-width-1.0.2.tgz#118bdf5b8cdc51a2a7e70d211e07e2b0b9b107d3" 1365 | dependencies: 1366 | code-point-at "^1.0.0" 1367 | is-fullwidth-code-point "^1.0.0" 1368 | strip-ansi "^3.0.0" 1369 | 1370 | "string-width@^1.0.2 || 2": 1371 | version "2.1.1" 1372 | resolved "https://registry.yarnpkg.com/string-width/-/string-width-2.1.1.tgz#ab93f27a8dc13d28cac815c462143a6d9012ae9e" 1373 | dependencies: 1374 | is-fullwidth-code-point "^2.0.0" 1375 | strip-ansi "^4.0.0" 1376 | 1377 | string_decoder@~1.1.1: 1378 | version "1.1.1" 1379 | resolved "https://registry.yarnpkg.com/string_decoder/-/string_decoder-1.1.1.tgz#9cf1611ba62685d7030ae9e4ba34149c3af03fc8" 1380 | dependencies: 1381 | safe-buffer "~5.1.0" 1382 | 1383 | strip-ansi@^3.0.0, strip-ansi@^3.0.1: 1384 | version "3.0.1" 1385 | resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-3.0.1.tgz#6a385fb8853d952d5ff05d0e8aaf94278dc63dcf" 1386 | dependencies: 1387 | ansi-regex "^2.0.0" 1388 | 1389 | strip-ansi@^4.0.0: 1390 | version "4.0.0" 1391 | resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-4.0.0.tgz#a8479022eb1ac368a871389b635262c505ee368f" 1392 | dependencies: 1393 | ansi-regex "^3.0.0" 1394 | 1395 | strip-json-comments@~2.0.1: 1396 | version "2.0.1" 1397 | resolved "https://registry.yarnpkg.com/strip-json-comments/-/strip-json-comments-2.0.1.tgz#3c531942e908c2697c0ec344858c286c7ca0a60a" 1398 | 1399 | supports-color@3.1.2: 1400 | version "3.1.2" 1401 | resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-3.1.2.tgz#72a262894d9d408b956ca05ff37b2ed8a6e2a2d5" 1402 | dependencies: 1403 | has-flag "^1.0.0" 1404 | 1405 | supports-color@^2.0.0: 1406 | version "2.0.0" 1407 | resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-2.0.0.tgz#535d045ce6b6363fa40117084629995e9df324c7" 1408 | 1409 | tar@^4: 1410 | version "4.4.4" 1411 | resolved "https://registry.yarnpkg.com/tar/-/tar-4.4.4.tgz#ec8409fae9f665a4355cc3b4087d0820232bb8cd" 1412 | dependencies: 1413 | chownr "^1.0.1" 1414 | fs-minipass "^1.2.5" 1415 | minipass "^2.3.3" 1416 | minizlib "^1.1.0" 1417 | mkdirp "^0.5.0" 1418 | safe-buffer "^5.1.2" 1419 | yallist "^3.0.2" 1420 | 1421 | to-fast-properties@^1.0.3: 1422 | version "1.0.3" 1423 | resolved "https://registry.yarnpkg.com/to-fast-properties/-/to-fast-properties-1.0.3.tgz#b83571fa4d8c25b82e231b06e3a3055de4ca1a47" 1424 | 1425 | trim-right@^1.0.1: 1426 | version "1.0.1" 1427 | resolved "https://registry.yarnpkg.com/trim-right/-/trim-right-1.0.1.tgz#cb2e1203067e0c8de1f614094b9fe45704ea6003" 1428 | 1429 | type-detect@0.1.1: 1430 | version "0.1.1" 1431 | resolved "https://registry.yarnpkg.com/type-detect/-/type-detect-0.1.1.tgz#0ba5ec2a885640e470ea4e8505971900dac58822" 1432 | 1433 | type-detect@^1.0.0: 1434 | version "1.0.0" 1435 | resolved "https://registry.yarnpkg.com/type-detect/-/type-detect-1.0.0.tgz#762217cc06db258ec48908a1298e8b95121e8ea2" 1436 | 1437 | user-home@^1.1.1: 1438 | version "1.1.1" 1439 | resolved "https://registry.yarnpkg.com/user-home/-/user-home-1.1.1.tgz#2b5be23a32b63a7c9deb8d0f28d485724a3df190" 1440 | 1441 | util-deprecate@~1.0.1: 1442 | version "1.0.2" 1443 | resolved "https://registry.yarnpkg.com/util-deprecate/-/util-deprecate-1.0.2.tgz#450d4dc9fa70de732762fbd2d4a28981419a0ccf" 1444 | 1445 | uuid@^3.0.1: 1446 | version "3.2.1" 1447 | resolved "https://registry.yarnpkg.com/uuid/-/uuid-3.2.1.tgz#12c528bb9d58d0b9265d9a2f6f0fe8be17ff1f14" 1448 | 1449 | v8flags@^2.1.1: 1450 | version "2.1.1" 1451 | resolved "https://registry.yarnpkg.com/v8flags/-/v8flags-2.1.1.tgz#aab1a1fa30d45f88dd321148875ac02c0b55e5b4" 1452 | dependencies: 1453 | user-home "^1.1.1" 1454 | 1455 | wide-align@^1.1.0: 1456 | version "1.1.3" 1457 | resolved "https://registry.yarnpkg.com/wide-align/-/wide-align-1.1.3.tgz#ae074e6bdc0c14a431e804e624549c633b000457" 1458 | dependencies: 1459 | string-width "^1.0.2 || 2" 1460 | 1461 | wrappy@1: 1462 | version "1.0.2" 1463 | resolved "https://registry.yarnpkg.com/wrappy/-/wrappy-1.0.2.tgz#b5243d8f3ec1aa35f1364605bc0d1036e30ab69f" 1464 | 1465 | yallist@^3.0.0, yallist@^3.0.2: 1466 | version "3.0.2" 1467 | resolved "https://registry.yarnpkg.com/yallist/-/yallist-3.0.2.tgz#8452b4bb7e83c7c188d8041c1a837c773d6d8bb9" 1468 | --------------------------------------------------------------------------------