├── graphql ├── resolvers │ ├── query │ │ ├── index.js │ │ └── CHC │ │ │ ├── index.js │ │ │ ├── getCharities │ │ │ ├── elastic-query │ │ │ │ ├── causes.js │ │ │ │ ├── areas.js │ │ │ │ ├── operations.js │ │ │ │ ├── beneficiaries.js │ │ │ │ ├── grants.js │ │ │ │ ├── finances.js │ │ │ │ ├── registrations.js │ │ │ │ ├── getFiltersOnNumber.js │ │ │ │ ├── id.js │ │ │ │ ├── getFiltersOnDate.js │ │ │ │ ├── search.js │ │ │ │ ├── index.js │ │ │ │ ├── getFiltersOnStringList.js │ │ │ │ ├── getFiltersOnListLength.js │ │ │ │ └── geo │ │ │ │ │ ├── geohashBounds.js │ │ │ │ │ └── index.js │ │ │ ├── aggregate │ │ │ │ ├── causes.js │ │ │ │ ├── areas.js │ │ │ │ ├── geo │ │ │ │ │ ├── country │ │ │ │ │ │ ├── names.json │ │ │ │ │ │ └── index.js │ │ │ │ │ ├── region │ │ │ │ │ │ ├── names.json │ │ │ │ │ │ └── index.js │ │ │ │ │ ├── index.js │ │ │ │ │ └── geohash │ │ │ │ │ │ ├── precision.js │ │ │ │ │ │ └── index.js │ │ │ │ ├── operations.js │ │ │ │ ├── beneficiaries.js │ │ │ │ ├── finances │ │ │ │ │ ├── index.js │ │ │ │ │ ├── latestIncome.js │ │ │ │ │ └── latestSpending.js │ │ │ │ ├── index.js │ │ │ │ └── aggByTerm.js │ │ │ ├── list │ │ │ │ ├── field-resolvers │ │ │ │ │ ├── name.js │ │ │ │ │ ├── causes.js │ │ │ │ │ ├── numPeople.js │ │ │ │ │ ├── website.js │ │ │ │ │ ├── financialYearEnd.js │ │ │ │ │ ├── id.js │ │ │ │ │ ├── activities.js │ │ │ │ │ ├── objectives.js │ │ │ │ │ ├── operations.js │ │ │ │ │ ├── areas.js │ │ │ │ │ ├── governingDoc.js │ │ │ │ │ ├── areaOfBenefit.js │ │ │ │ │ ├── beneficiaries.js │ │ │ │ │ ├── contact.js │ │ │ │ │ ├── grants.js │ │ │ │ │ ├── finances.js │ │ │ │ │ ├── names.js │ │ │ │ │ ├── index.js │ │ │ │ │ ├── orgIds.js │ │ │ │ │ ├── registrations.js │ │ │ │ │ └── geo.js │ │ │ │ ├── sortFields.json │ │ │ │ └── index.js │ │ │ ├── count │ │ │ │ └── index.js │ │ │ └── index.js │ │ │ └── getFilters │ │ │ └── index.js │ ├── custom-types │ │ ├── index.js │ │ └── PageLimit.js │ └── index.js ├── typeDefs │ ├── custom.js │ ├── directive.js │ ├── enum.js │ ├── index.js │ ├── aggregate.js │ ├── input.js │ └── list.js ├── directiveResolvers │ ├── index.js │ ├── helpers │ │ └── index.js │ └── apiKeyAuth.js └── index.js ├── helpers ├── index.js ├── logger.js └── logRequest.js ├── connection ├── index.js ├── elastic │ ├── index.js │ └── awsConfig.js ├── s3 │ └── index.js └── dynamo │ └── index.js ├── .circleci └── config.yml ├── config.json ├── .gitignore ├── server.js ├── now.json ├── package.json ├── LICENSE ├── README.md └── yarn.lock /graphql/resolvers/query/index.js: -------------------------------------------------------------------------------- 1 | const CHC = require('./CHC') 2 | 3 | module.exports = { 4 | CHC, 5 | } 6 | -------------------------------------------------------------------------------- /graphql/typeDefs/custom.js: -------------------------------------------------------------------------------- 1 | const typeDefs = ` 2 | scalar PageLimit 3 | ` 4 | 5 | module.exports = typeDefs 6 | -------------------------------------------------------------------------------- /graphql/resolvers/custom-types/index.js: -------------------------------------------------------------------------------- 1 | const PageLimit = require('./PageLimit') 2 | 3 | module.exports = { 4 | PageLimit, 5 | } 6 | -------------------------------------------------------------------------------- /helpers/index.js: -------------------------------------------------------------------------------- 1 | const log = require('./logger') 2 | const logRequest = require('./logRequest') 3 | 4 | module.exports = { 5 | log, 6 | logRequest, 7 | } -------------------------------------------------------------------------------- /graphql/directiveResolvers/index.js: -------------------------------------------------------------------------------- 1 | const apiKeyAuth = require('./apiKeyAuth') 2 | 3 | const directiveResolvers = { 4 | apiKeyAuth, 5 | } 6 | 7 | module.exports = directiveResolvers 8 | -------------------------------------------------------------------------------- /graphql/resolvers/index.js: -------------------------------------------------------------------------------- 1 | const customTypes = require('./custom-types') 2 | const queryResolvers = require('./query') 3 | 4 | module.exports = { 5 | ...customTypes, 6 | Query: queryResolvers, 7 | } 8 | -------------------------------------------------------------------------------- /connection/index.js: -------------------------------------------------------------------------------- 1 | const esClient = require('./elastic') 2 | const dynamoClient = require('./dynamo') 3 | const s3 = require('./s3') 4 | 5 | module.exports = { 6 | esClient, 7 | dynamoClient, 8 | s3, 9 | } -------------------------------------------------------------------------------- /graphql/resolvers/query/CHC/index.js: -------------------------------------------------------------------------------- 1 | const getCharities = require('./getCharities') 2 | const getFilters = require('./getFilters') 3 | 4 | const CHC = () => ({ 5 | getCharities, 6 | getFilters, 7 | }) 8 | 9 | module.exports = CHC 10 | -------------------------------------------------------------------------------- /graphql/resolvers/query/CHC/getCharities/elastic-query/causes.js: -------------------------------------------------------------------------------- 1 | const getFiltersOnStringList = require('./getFiltersOnStringList') 2 | 3 | const getCausesFilters = causes => getFiltersOnStringList( 4 | 'causes.id', 5 | causes, 6 | ) 7 | 8 | module.exports = getCausesFilters 9 | -------------------------------------------------------------------------------- /graphql/typeDefs/directive.js: -------------------------------------------------------------------------------- 1 | const typeDefs = ` 2 | directive @apiKeyAuth(roles: [String!] = []) on QUERY | FIELD_DEFINITION 3 | directive @deprecated(reason: String = "No longer supported") on FIELD_DEFINITION | INPUT_FIELD_DEFINITION 4 | ` 5 | 6 | module.exports = typeDefs 7 | -------------------------------------------------------------------------------- /graphql/resolvers/query/CHC/getCharities/elastic-query/areas.js: -------------------------------------------------------------------------------- 1 | const getFiltersOnStringList = require('./getFiltersOnStringList') 2 | 3 | const getAreasFilters = areas => getFiltersOnStringList( 4 | 'areasOfOperation.id', 5 | areas, 6 | ) 7 | 8 | module.exports = getAreasFilters 9 | -------------------------------------------------------------------------------- /graphql/resolvers/query/CHC/getCharities/aggregate/causes.js: -------------------------------------------------------------------------------- 1 | const aggByTerm = require('./aggByTerm') 2 | const AGG_NAME = 'causes' 3 | const ES_FIELD = 'causes.id' 4 | const NUM_VALUES = 17 5 | 6 | const aggCauses = aggByTerm(AGG_NAME, ES_FIELD, NUM_VALUES) 7 | 8 | module.exports = aggCauses 9 | -------------------------------------------------------------------------------- /graphql/resolvers/query/CHC/getCharities/aggregate/areas.js: -------------------------------------------------------------------------------- 1 | const aggByTerm = require('./aggByTerm') 2 | const AGG_NAME = 'areas' 3 | const ES_FIELD = 'areasOfOperation.id' 4 | const NUM_VALUES = 500 5 | 6 | const aggAreas = aggByTerm(AGG_NAME, ES_FIELD, NUM_VALUES) 7 | 8 | module.exports = aggAreas 9 | -------------------------------------------------------------------------------- /graphql/resolvers/query/CHC/getCharities/elastic-query/operations.js: -------------------------------------------------------------------------------- 1 | const getFiltersOnStringList = require('./getFiltersOnStringList') 2 | 3 | const getOperationsFilters = operations => getFiltersOnStringList( 4 | 'operations.id', 5 | operations, 6 | ) 7 | 8 | module.exports = getOperationsFilters 9 | -------------------------------------------------------------------------------- /graphql/resolvers/query/CHC/getCharities/aggregate/geo/country/names.json: -------------------------------------------------------------------------------- 1 | { 2 | "England": "E92000001", 3 | "United Kingdom": "K02000001", 4 | "Great Britain": "K03000001", 5 | "England and Wales": "K04000001", 6 | "Northern Ireland": "N92000002", 7 | "Scotland": "S92000003", 8 | "Wales": "W92000004" 9 | } -------------------------------------------------------------------------------- /graphql/resolvers/query/CHC/getCharities/aggregate/operations.js: -------------------------------------------------------------------------------- 1 | const aggByTerm = require('./aggByTerm') 2 | const AGG_NAME = 'operations' 3 | const ES_FIELD = 'operations.id' 4 | const NUM_VALUES = 10 5 | 6 | const aggOperations = aggByTerm(AGG_NAME, ES_FIELD, NUM_VALUES) 7 | 8 | module.exports = aggOperations 9 | -------------------------------------------------------------------------------- /graphql/resolvers/query/CHC/getCharities/elastic-query/beneficiaries.js: -------------------------------------------------------------------------------- 1 | const getFiltersOnStringList = require('./getFiltersOnStringList') 2 | 3 | const getBeneficiariesFilters = beneficiaries => getFiltersOnStringList( 4 | 'beneficiaries.id', 5 | beneficiaries, 6 | ) 7 | 8 | module.exports = getBeneficiariesFilters 9 | -------------------------------------------------------------------------------- /graphql/resolvers/query/CHC/getCharities/aggregate/beneficiaries.js: -------------------------------------------------------------------------------- 1 | const aggByTerm = require('./aggByTerm') 2 | const AGG_NAME = 'beneficiaries' 3 | const ES_FIELD = 'beneficiaries.id' 4 | const NUM_VALUES = 7 5 | 6 | const aggBeneficiaries = aggByTerm(AGG_NAME, ES_FIELD, NUM_VALUES) 7 | 8 | module.exports = aggBeneficiaries 9 | -------------------------------------------------------------------------------- /.circleci/config.yml: -------------------------------------------------------------------------------- 1 | version: 2.1 2 | orbs: 3 | node: circleci/node@1.1.6 4 | jobs: 5 | test: 6 | executor: 7 | name: node/default 8 | steps: 9 | - checkout 10 | - node/with-cache: 11 | steps: 12 | - run: yarn 13 | - run: yarn test 14 | workflows: 15 | test: 16 | jobs: 17 | - test 18 | -------------------------------------------------------------------------------- /graphql/index.js: -------------------------------------------------------------------------------- 1 | const { makeExecutableSchema } = require('graphql-tools') 2 | const directiveResolvers = require('./directiveResolvers') 3 | const resolvers = require('./resolvers') 4 | const typeDefs = require('./typeDefs') 5 | 6 | const schema = makeExecutableSchema({ 7 | directiveResolvers, 8 | resolvers, 9 | typeDefs, 10 | }) 11 | 12 | module.exports = schema 13 | -------------------------------------------------------------------------------- /graphql/resolvers/query/CHC/getCharities/aggregate/finances/index.js: -------------------------------------------------------------------------------- 1 | const latestIncome = require('./latestIncome') 2 | const latestSpending = require('./latestSpending') 3 | 4 | function aggFinances(search) { 5 | return { 6 | latestIncome: () => latestIncome(search), 7 | latestSpending: () => latestSpending(search), 8 | } 9 | } 10 | 11 | module.exports = aggFinances 12 | -------------------------------------------------------------------------------- /graphql/resolvers/query/CHC/getCharities/aggregate/geo/region/names.json: -------------------------------------------------------------------------------- 1 | { 2 | "North East": "E12000001", 3 | "North West": "E12000002", 4 | "Yorkshire and The Humber": "E12000003", 5 | "East Midlands": "E12000004", 6 | "West Midlands": "E12000005", 7 | "East of England": "E12000006", 8 | "London": "E12000007", 9 | "South East": "E12000008", 10 | "South West": "E12000009" 11 | } -------------------------------------------------------------------------------- /connection/elastic/index.js: -------------------------------------------------------------------------------- 1 | const elasticsearch = require('elasticsearch') 2 | const awsConnector = require('http-aws-es') 3 | const awsConfig = require('./awsConfig') 4 | const config = require('../../config') 5 | 6 | const esClient = new elasticsearch.Client({ 7 | host: config.elastic.host, 8 | connectionClass: awsConnector, 9 | awsConfig, 10 | }) 11 | 12 | module.exports = esClient 13 | -------------------------------------------------------------------------------- /graphql/resolvers/query/CHC/getCharities/aggregate/geo/index.js: -------------------------------------------------------------------------------- 1 | const country = require('./country') 2 | const geohash = require('./geohash') 3 | const region = require('./region') 4 | 5 | function aggGeo(search, args) { 6 | return { 7 | country: () => country(search, args), 8 | geohash: () => geohash(search, args), 9 | region: () => region(search, args), 10 | } 11 | } 12 | 13 | module.exports = aggGeo 14 | -------------------------------------------------------------------------------- /graphql/resolvers/query/CHC/getCharities/elastic-query/grants.js: -------------------------------------------------------------------------------- 1 | const getFiltersOnStringList = require('./getFiltersOnStringList') 2 | 3 | const getGrantsFilters = grants => { 4 | if (!grants) return [] 5 | 6 | const grantFundersFilters = getFiltersOnStringList( 7 | 'grants.fundingOrganization.id', 8 | grants.funders, 9 | ) 10 | 11 | return grantFundersFilters 12 | } 13 | 14 | module.exports = getGrantsFilters 15 | -------------------------------------------------------------------------------- /graphql/resolvers/query/CHC/getCharities/elastic-query/finances.js: -------------------------------------------------------------------------------- 1 | const getFiltersOnNumber = require('./getFiltersOnNumber') 2 | const LATEST_INCOME_FIELD = 'financial.latest.income' 3 | 4 | const getFinancesFilters = finances => { 5 | if (!finances) return [] 6 | 7 | const numericRange = finances.latestIncome 8 | 9 | return getFiltersOnNumber(LATEST_INCOME_FIELD, numericRange) 10 | } 11 | 12 | module.exports = getFinancesFilters -------------------------------------------------------------------------------- /graphql/resolvers/query/CHC/getCharities/list/field-resolvers/name.js: -------------------------------------------------------------------------------- 1 | const ES_FIELDS = [ 2 | 'name', 3 | ] 4 | 5 | async function getList( 6 | searchSource, 7 | ) { 8 | try { 9 | const searchParams = { 10 | _source: ES_FIELDS, 11 | } 12 | const response = await searchSource(searchParams) 13 | return response.hits.hits.map(x => x._source.name) 14 | } catch(e) { 15 | throw e 16 | } 17 | } 18 | 19 | module.exports = getList 20 | -------------------------------------------------------------------------------- /graphql/resolvers/query/CHC/getCharities/list/field-resolvers/causes.js: -------------------------------------------------------------------------------- 1 | const ES_FIELDS = [ 2 | 'causes', 3 | ] 4 | 5 | async function getList( 6 | searchSource, 7 | ) { 8 | try { 9 | const searchParams = { 10 | _source: ES_FIELDS, 11 | } 12 | const response = await searchSource(searchParams) 13 | return response.hits.hits.map(x => x._source.causes) 14 | } catch(e) { 15 | throw e 16 | } 17 | } 18 | 19 | module.exports = getList 20 | -------------------------------------------------------------------------------- /graphql/resolvers/custom-types/PageLimit.js: -------------------------------------------------------------------------------- 1 | const { GraphQLInputInt } = require('graphql-input-number') 2 | 3 | const PageLimit = GraphQLInputInt({ 4 | name: 'PageLimit', 5 | description: 'The `PageLimit` integer type defines the number of results returned per request. `Min`: 1, `Max`: 30. If you want much more than this you should consider an aggregation or download query instead of list.', 6 | min: 1, 7 | max: 30, 8 | }) 9 | 10 | module.exports = PageLimit 11 | -------------------------------------------------------------------------------- /graphql/resolvers/query/CHC/getCharities/list/field-resolvers/numPeople.js: -------------------------------------------------------------------------------- 1 | const ES_FIELDS = [ 2 | 'people', 3 | ] 4 | 5 | async function getList( 6 | searchSource, 7 | ) { 8 | try { 9 | const searchParams = { 10 | _source: ES_FIELDS, 11 | } 12 | const response = await searchSource(searchParams) 13 | return response.hits.hits.map(x => x._source.people) 14 | } catch(e) { 15 | throw e 16 | } 17 | } 18 | 19 | module.exports = getList 20 | -------------------------------------------------------------------------------- /graphql/resolvers/query/CHC/getCharities/list/field-resolvers/website.js: -------------------------------------------------------------------------------- 1 | const ES_FIELDS = [ 2 | 'website', 3 | ] 4 | 5 | async function getList( 6 | searchSource, 7 | ) { 8 | try { 9 | const searchParams = { 10 | _source: ES_FIELDS, 11 | } 12 | const response = await searchSource(searchParams) 13 | return response.hits.hits.map(x => x._source.website) 14 | } catch(e) { 15 | throw e 16 | } 17 | } 18 | 19 | module.exports = getList 20 | -------------------------------------------------------------------------------- /graphql/resolvers/query/CHC/getCharities/list/field-resolvers/financialYearEnd.js: -------------------------------------------------------------------------------- 1 | const ES_FIELDS = [ 2 | 'fyend', 3 | ] 4 | 5 | async function getList( 6 | searchSource, 7 | ) { 8 | try { 9 | const searchParams = { 10 | _source: ES_FIELDS, 11 | } 12 | const response = await searchSource(searchParams) 13 | return response.hits.hits.map(x => x._source.fyend) 14 | } catch(e) { 15 | throw e 16 | } 17 | } 18 | 19 | module.exports = getList 20 | -------------------------------------------------------------------------------- /graphql/resolvers/query/CHC/getCharities/list/field-resolvers/id.js: -------------------------------------------------------------------------------- 1 | const ES_FIELDS = [ 2 | 'ids.GB-CHC', 3 | ] 4 | 5 | async function getList( 6 | searchSource, 7 | ) { 8 | try { 9 | const searchParams = { 10 | _source: ES_FIELDS, 11 | } 12 | const response = await searchSource(searchParams) 13 | return response.hits.hits.map(x => x._source.ids['GB-CHC']) 14 | } catch(e) { 15 | throw e 16 | } 17 | } 18 | 19 | module.exports = getList 20 | -------------------------------------------------------------------------------- /graphql/resolvers/query/CHC/getCharities/list/field-resolvers/activities.js: -------------------------------------------------------------------------------- 1 | const ES_FIELDS = [ 2 | 'activities', 3 | ] 4 | 5 | async function getList( 6 | searchSource, 7 | ) { 8 | try { 9 | const searchParams = { 10 | _source: ES_FIELDS, 11 | } 12 | const response = await searchSource(searchParams) 13 | return response.hits.hits.map(x => x._source.activities) 14 | } catch(e) { 15 | throw e 16 | } 17 | } 18 | 19 | module.exports = getList 20 | -------------------------------------------------------------------------------- /graphql/resolvers/query/CHC/getCharities/list/field-resolvers/objectives.js: -------------------------------------------------------------------------------- 1 | const ES_FIELDS = [ 2 | 'objectives', 3 | ] 4 | 5 | async function getList( 6 | searchSource, 7 | ) { 8 | try { 9 | const searchParams = { 10 | _source: ES_FIELDS, 11 | } 12 | const response = await searchSource(searchParams) 13 | return response.hits.hits.map(x => x._source.objectives) 14 | } catch(e) { 15 | throw e 16 | } 17 | } 18 | 19 | module.exports = getList 20 | -------------------------------------------------------------------------------- /graphql/resolvers/query/CHC/getCharities/list/field-resolvers/operations.js: -------------------------------------------------------------------------------- 1 | const ES_FIELDS = [ 2 | 'operations', 3 | ] 4 | 5 | async function getList( 6 | searchSource, 7 | ) { 8 | try { 9 | const searchParams = { 10 | _source: ES_FIELDS, 11 | } 12 | const response = await searchSource(searchParams) 13 | return response.hits.hits.map(x => x._source.operations) 14 | } catch(e) { 15 | throw e 16 | } 17 | } 18 | 19 | module.exports = getList 20 | -------------------------------------------------------------------------------- /graphql/resolvers/query/CHC/getCharities/elastic-query/registrations.js: -------------------------------------------------------------------------------- 1 | const getFiltersOnDate = require('./getFiltersOnDate') 2 | const REGISTRATION_DATE_FIELD = 'lastRegistrationDate' 3 | 4 | const getRegistrationDateFilters = registrations => { 5 | if (!registrations) return [] 6 | 7 | const dateRange = registrations.latestRegistrationDate 8 | 9 | return getFiltersOnDate(REGISTRATION_DATE_FIELD, dateRange) 10 | } 11 | 12 | module.exports = getRegistrationDateFilters 13 | -------------------------------------------------------------------------------- /graphql/resolvers/query/CHC/getCharities/list/field-resolvers/areas.js: -------------------------------------------------------------------------------- 1 | const ES_FIELDS = [ 2 | 'areasOfOperation', 3 | ] 4 | 5 | async function getList( 6 | searchSource, 7 | ) { 8 | try { 9 | const searchParams = { 10 | _source: ES_FIELDS, 11 | } 12 | const response = await searchSource(searchParams) 13 | return response.hits.hits.map(x => x._source.areasOfOperation) 14 | } catch(e) { 15 | throw e 16 | } 17 | } 18 | 19 | module.exports = getList 20 | -------------------------------------------------------------------------------- /graphql/resolvers/query/CHC/getCharities/list/field-resolvers/governingDoc.js: -------------------------------------------------------------------------------- 1 | const ES_FIELDS = [ 2 | 'governingDoc', 3 | ] 4 | 5 | async function getList( 6 | searchSource, 7 | ) { 8 | try { 9 | const searchParams = { 10 | _source: ES_FIELDS, 11 | } 12 | const response = await searchSource(searchParams) 13 | return response.hits.hits.map(x => x._source.governingDoc) 14 | } catch(e) { 15 | throw e 16 | } 17 | } 18 | 19 | module.exports = getList 20 | -------------------------------------------------------------------------------- /connection/s3/index.js: -------------------------------------------------------------------------------- 1 | const AWS = require('aws-sdk') 2 | const config = require('../../config') 3 | 4 | const accessKeyId = process.env.CHARITY_BASE_S3_DOWNLOADS_ACCESS_KEY_ID 5 | const secretAccessKey = process.env.CHARITY_BASE_S3_DOWNLOADS_SECRET_ACCESS_KEY 6 | 7 | const credentials = new AWS.Credentials(accessKeyId, secretAccessKey) 8 | 9 | const s3 = new AWS.S3({ 10 | apiVersion: '2006-03-01', 11 | region: config.s3.region, 12 | credentials, 13 | }) 14 | 15 | module.exports = s3 -------------------------------------------------------------------------------- /graphql/resolvers/query/CHC/getCharities/list/field-resolvers/areaOfBenefit.js: -------------------------------------------------------------------------------- 1 | const ES_FIELDS = [ 2 | 'areaOfBenefit', 3 | ] 4 | 5 | async function getList( 6 | searchSource, 7 | ) { 8 | try { 9 | const searchParams = { 10 | _source: ES_FIELDS, 11 | } 12 | const response = await searchSource(searchParams) 13 | return response.hits.hits.map(x => x._source.areaOfBenefit) 14 | } catch(e) { 15 | throw e 16 | } 17 | } 18 | 19 | module.exports = getList 20 | -------------------------------------------------------------------------------- /graphql/resolvers/query/CHC/getCharities/list/field-resolvers/beneficiaries.js: -------------------------------------------------------------------------------- 1 | const ES_FIELDS = [ 2 | 'beneficiaries', 3 | ] 4 | 5 | async function getList( 6 | searchSource, 7 | ) { 8 | try { 9 | const searchParams = { 10 | _source: ES_FIELDS, 11 | } 12 | const response = await searchSource(searchParams) 13 | return response.hits.hits.map(x => x._source.beneficiaries) 14 | } catch(e) { 15 | throw e 16 | } 17 | } 18 | 19 | module.exports = getList 20 | -------------------------------------------------------------------------------- /graphql/resolvers/query/CHC/getCharities/elastic-query/getFiltersOnNumber.js: -------------------------------------------------------------------------------- 1 | const getFiltersOnNumber = (field, numericRangeInput) => { 2 | if (!numericRangeInput) return [] 3 | 4 | const { 5 | gte, 6 | gt, 7 | lte, 8 | lt, 9 | } = numericRangeInput 10 | 11 | return [{ 12 | range: { 13 | [field]: { 14 | gte, 15 | gt, 16 | lte, 17 | lt, 18 | }, 19 | }, 20 | }] 21 | } 22 | 23 | module.exports = getFiltersOnNumber 24 | -------------------------------------------------------------------------------- /graphql/directiveResolvers/helpers/index.js: -------------------------------------------------------------------------------- 1 | const authHeaders = authHeaderString => { 2 | return authHeaderString.split(',').reduce((agg, x) => { 3 | const [authType, authValue] = x.trim().split(' ') 4 | return { 5 | ...agg, 6 | [authType.toLowerCase()]: authValue, 7 | } 8 | }, {}) 9 | } 10 | 11 | const hasAll = (required, given) => { 12 | return required.every(x => given.indexOf(x) !== -1) 13 | } 14 | 15 | module.exports = { 16 | authHeaders, 17 | hasAll, 18 | } 19 | -------------------------------------------------------------------------------- /connection/elastic/awsConfig.js: -------------------------------------------------------------------------------- 1 | const AWS = require('aws-sdk') 2 | const config = require('../../config') 3 | 4 | const accessKeyId = process.env.CHARITY_BASE_ES_AWS_ACCESS_KEY_ID 5 | const secretAccessKey = process.env.CHARITY_BASE_ES_AWS_SECRET_ACCESS_KEY 6 | 7 | const awsConfig = new AWS.Config({ 8 | region: config.elastic.region, 9 | }) 10 | 11 | if (accessKeyId && secretAccessKey) { 12 | awsConfig.update({ 13 | credentials: new AWS.Credentials(accessKeyId, secretAccessKey) 14 | }) 15 | } 16 | 17 | module.exports = awsConfig -------------------------------------------------------------------------------- /graphql/resolvers/query/CHC/getCharities/elastic-query/id.js: -------------------------------------------------------------------------------- 1 | const getIdFilters = id => { 2 | if (!id || !id.length) return [] 3 | const idInts = id.map(x => parseInt(x)).filter(x => !isNaN(x)) 4 | if (idInts.length === 0) { 5 | // all values provided were of invalid form, return none 6 | return [{ 7 | match_none: {} 8 | }] 9 | } 10 | return [{ 11 | bool: { 12 | should: idInts.map(id => ({ 13 | term: { "ids.GB-CHC": id } 14 | })) 15 | } 16 | }] 17 | } 18 | 19 | module.exports = getIdFilters 20 | -------------------------------------------------------------------------------- /config.json: -------------------------------------------------------------------------------- 1 | { 2 | "dynamo" : { 3 | "region" : "eu-west-2", 4 | "table" : "charity-base-api-keys" 5 | }, 6 | "elastic" : { 7 | "host": "https://my-elastic-search-domain.eu-west-2.es.amazonaws.com", 8 | "region": "eu-west-2", 9 | "indexes": { 10 | "chc": { 11 | "charities": "charity-base-v5-0-0-feb-2019", 12 | "filters": "charity-base-v5-0-0-feb-2019-filters" 13 | }, 14 | "requests": "charity-base-graphql-api-requests" 15 | } 16 | }, 17 | "s3" : { 18 | "region": "eu-west-2" 19 | } 20 | } -------------------------------------------------------------------------------- /graphql/resolvers/query/CHC/getCharities/elastic-query/getFiltersOnDate.js: -------------------------------------------------------------------------------- 1 | const DATE_FORMAT = 'yyyy-MM-dd' 2 | 3 | const getFiltersOnDate = (field, dateRangeInput) => { 4 | if (!dateRangeInput) return [] 5 | 6 | const { 7 | gte, 8 | gt, 9 | lte, 10 | lt, 11 | } = dateRangeInput 12 | 13 | return [{ 14 | range: { 15 | [field]: { 16 | gte, 17 | gt, 18 | lte, 19 | lt, 20 | format: DATE_FORMAT, 21 | }, 22 | }, 23 | }] 24 | } 25 | 26 | module.exports = getFiltersOnDate 27 | -------------------------------------------------------------------------------- /graphql/resolvers/query/CHC/getCharities/count/index.js: -------------------------------------------------------------------------------- 1 | async function countCharities(search) { 2 | const searchParams = { 3 | index: undefined, // this is set when queries combined in parent class 4 | body: { 5 | query: undefined, // this is set when queries combined in parent class 6 | }, 7 | size: 0, 8 | from: undefined, 9 | } 10 | 11 | try { 12 | const response = await search(searchParams) 13 | return response.hits.total 14 | } catch(e) { 15 | throw e 16 | } 17 | } 18 | 19 | module.exports = countCharities 20 | -------------------------------------------------------------------------------- /graphql/resolvers/query/CHC/getCharities/list/field-resolvers/contact.js: -------------------------------------------------------------------------------- 1 | const ES_FIELDS = [ 2 | 'contact.address', 3 | 'contact.email', 4 | 'contact.person', 5 | 'contact.phone', 6 | 'contact.postcode', 7 | ] 8 | 9 | async function getList( 10 | searchSource, 11 | ) { 12 | try { 13 | const searchParams = { 14 | _source: ES_FIELDS, 15 | } 16 | const response = await searchSource(searchParams) 17 | return response.hits.hits.map(x => x._source.contact) 18 | } catch(e) { 19 | throw e 20 | } 21 | } 22 | 23 | module.exports = getList 24 | -------------------------------------------------------------------------------- /connection/dynamo/index.js: -------------------------------------------------------------------------------- 1 | const AWS = require('aws-sdk') 2 | const config = require('../../config') 3 | 4 | const accessKeyId = process.env.CHARITY_BASE_DYNAMO_ACCESS_KEY_ID 5 | const secretAccessKey = process.env.CHARITY_BASE_DYNAMO_SECRET_ACCESS_KEY 6 | 7 | const credentials = new AWS.Credentials(accessKeyId, secretAccessKey) 8 | 9 | const dynamodb = new AWS.DynamoDB.DocumentClient({ 10 | apiVersion: '2012-08-10', 11 | credentials, 12 | params: { 13 | TableName: config.dynamo.table, 14 | }, 15 | region: config.dynamo.region, 16 | }) 17 | 18 | module.exports = dynamodb 19 | -------------------------------------------------------------------------------- /graphql/resolvers/query/CHC/getCharities/list/field-resolvers/grants.js: -------------------------------------------------------------------------------- 1 | const ES_FIELDS = [ 2 | 'grants.id', 3 | 'grants.title', 4 | 'grants.description', 5 | 'grants.fundingOrganization', 6 | 'grants.amountAwarded', 7 | 'grants.currency', 8 | 'grants.awardDate', 9 | ] 10 | 11 | async function getList( 12 | searchSource, 13 | ) { 14 | try { 15 | const searchParams = { 16 | _source: ES_FIELDS, 17 | } 18 | const response = await searchSource(searchParams) 19 | return response.hits.hits.map(x => x._source.grants) 20 | } catch(e) { 21 | throw e 22 | } 23 | } 24 | 25 | module.exports = getList 26 | -------------------------------------------------------------------------------- /graphql/resolvers/query/CHC/getCharities/list/field-resolvers/finances.js: -------------------------------------------------------------------------------- 1 | const ES_FIELDS = [ 2 | 'financial', 3 | ] 4 | 5 | async function getList( 6 | searchSource, 7 | { all }, 8 | ) { 9 | try { 10 | const searchParams = { 11 | _source: ES_FIELDS, 12 | } 13 | const response = await searchSource(searchParams) 14 | return response.hits.hits.map(x => { 15 | const { financial } = x._source 16 | if (all) { 17 | return financial.annual || [] 18 | } 19 | return financial.latest ? [financial.latest] : [] 20 | }) 21 | } catch(e) { 22 | throw e 23 | } 24 | } 25 | 26 | module.exports = getList 27 | -------------------------------------------------------------------------------- /graphql/resolvers/query/CHC/getCharities/aggregate/index.js: -------------------------------------------------------------------------------- 1 | const aggAreas = require('./areas') 2 | const aggBeneficiaries = require('./beneficiaries') 3 | const aggCauses = require('./causes') 4 | const aggFinances = require('./finances') 5 | const aggGeo = require('./geo') 6 | const aggOperations = require('./operations') 7 | 8 | function aggregateCharities(search) { 9 | return { 10 | areas: () => aggAreas(search), 11 | beneficiaries: () => aggBeneficiaries(search), 12 | causes: () => aggCauses(search), 13 | finances: () => aggFinances(search), 14 | geo: (args) => aggGeo(search, args), 15 | operations: () => aggOperations(search), 16 | } 17 | } 18 | 19 | module.exports = aggregateCharities 20 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .env 2 | 3 | git_ignore 4 | 5 | .DS_Store 6 | 7 | # Logs 8 | logs 9 | *.log 10 | npm-debug.log* 11 | 12 | # Runtime data 13 | pids 14 | *.pid 15 | *.seed 16 | 17 | # Directory for instrumented libs generated by jscoverage/JSCover 18 | lib-cov 19 | 20 | # Coverage directory used by tools like istanbul 21 | coverage 22 | 23 | # nyc test coverage 24 | .nyc_output 25 | 26 | # Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files) 27 | .grunt 28 | 29 | # node-waf configuration 30 | .lock-wscript 31 | 32 | # Compiled binary addons (http://nodejs.org/api/addons.html) 33 | build/Release 34 | 35 | # Dependency directories 36 | node_modules 37 | jspm_packages 38 | 39 | # Optional npm cache directory 40 | .npm 41 | 42 | # Optional REPL history 43 | .node_repl_history 44 | -------------------------------------------------------------------------------- /graphql/resolvers/query/CHC/getCharities/elastic-query/search.js: -------------------------------------------------------------------------------- 1 | const getSearchFilters = search => { 2 | if (!search || !search.trim()) { 3 | return [{ 4 | match_all: {} 5 | }] 6 | } 7 | return [{ 8 | simple_query_string : { 9 | query: `${search.trim()}`, //`${search.trim().split(" ").join("~1 + ")}~1`, // what about "quoted searches"? 10 | fields: [ 11 | "name^3", 12 | "alternativeNames^3", 13 | "activities", 14 | "contact.email", 15 | "trustees.names", 16 | "areasOfOperation.name", 17 | "causes.name", 18 | "beneficiaries.name", 19 | "operations.name", 20 | "grants.description", 21 | "grants.fundingOrganization.name", 22 | ], 23 | } 24 | }] 25 | } 26 | 27 | module.exports = getSearchFilters 28 | -------------------------------------------------------------------------------- /server.js: -------------------------------------------------------------------------------- 1 | require('dotenv').config() 2 | const express = require('express') 3 | const graphqlHTTP = require('express-graphql') 4 | const cors = require('cors') 5 | const { log, logRequest } = require('./helpers') 6 | const schema = require('./graphql') 7 | 8 | log.info(`Starting process with NODE_ENV=${process.env.NODE_ENV}`) 9 | 10 | const listenPort = process.env.PORT || 4000 11 | 12 | const app = express() 13 | 14 | app.use(cors()) 15 | app.use('/api/graphql', graphqlHTTP((req, res, graphQLParams) => { 16 | process.env.NODE_ENV === 'production' && logRequest(req, res, graphQLParams) 17 | return { 18 | schema, 19 | graphiql: false, 20 | } 21 | })) 22 | app.listen(listenPort, () => { 23 | log.info(`Listening on port ${listenPort}`) 24 | }) 25 | 26 | process.on('uncaughtException', err => { 27 | log.error(err) 28 | process.exit(1) 29 | }) 30 | -------------------------------------------------------------------------------- /graphql/resolvers/query/CHC/getCharities/list/field-resolvers/names.js: -------------------------------------------------------------------------------- 1 | const NAME_ES_FIELD = 'name' 2 | const ALTERNATIVE_NAMES_ES_FIELD = 'alternativeNames' 3 | 4 | async function getList( 5 | searchSource, 6 | { all } 7 | ) { 8 | try { 9 | const _source = all ? [ 10 | NAME_ES_FIELD, 11 | ALTERNATIVE_NAMES_ES_FIELD, 12 | ] : [ 13 | NAME_ES_FIELD, 14 | ] 15 | 16 | const response = await searchSource({ _source }) 17 | return response.hits.hits.map(doc => { 18 | if (!all) { 19 | return [{ 20 | value: doc._source[NAME_ES_FIELD], 21 | primary: true, 22 | }] 23 | } 24 | return doc._source[ALTERNATIVE_NAMES_ES_FIELD].map(value => ({ 25 | value, 26 | primary: value === doc._source[NAME_ES_FIELD], 27 | })) 28 | }) 29 | } catch(e) { 30 | throw e 31 | } 32 | } 33 | 34 | module.exports = getList 35 | -------------------------------------------------------------------------------- /graphql/resolvers/query/CHC/getCharities/list/field-resolvers/index.js: -------------------------------------------------------------------------------- 1 | const fieldResolvers = { 2 | activities: require('./activities'), 3 | areaOfBenefit: require('./areaOfBenefit'), 4 | areas: require('./areas'), 5 | beneficiaries: require('./beneficiaries'), 6 | causes: require('./causes'), 7 | contact: require('./contact'), 8 | finances: require('./finances'), 9 | financialYearEnd: require('./financialYearEnd'), 10 | geo: require('./geo'), 11 | governingDoc: require('./governingDoc'), 12 | grants: require('./grants'), 13 | id: require('./id'), 14 | name: require('./name'), 15 | names: require('./names'), 16 | numPeople: require('./numPeople'), 17 | objectives: require('./objectives'), 18 | operations: require('./operations'), 19 | orgIds: require('./orgIds'), 20 | registrations: require('./registrations'), 21 | website: require('./website'), 22 | } 23 | 24 | module.exports = fieldResolvers 25 | -------------------------------------------------------------------------------- /graphql/resolvers/query/CHC/getCharities/list/field-resolvers/orgIds.js: -------------------------------------------------------------------------------- 1 | const ES_FIELDS = [ 2 | 'ids.GB-CHC', 3 | 'companiesHouseNumber', 4 | ] 5 | 6 | async function getList( 7 | searchSource, 8 | ) { 9 | try { 10 | const searchParams = { 11 | _source: ES_FIELDS, 12 | } 13 | const response = await searchSource(searchParams) 14 | return response.hits.hits.map(x => { 15 | const chcId = x._source.ids['GB-CHC'] 16 | const cohId = x._source.companiesHouseNumber 17 | const orgIds = [{ 18 | id: `GB-CHC-${chcId}`, 19 | scheme: 'GB-CHC', 20 | rawId: chcId, 21 | }] 22 | if (cohId) { 23 | orgIds.push({ 24 | id: `GB-COH-${cohId}`, 25 | scheme: 'GB-COH', 26 | rawId: cohId, 27 | }) 28 | } 29 | return orgIds 30 | }) 31 | } catch(e) { 32 | throw e 33 | } 34 | } 35 | 36 | module.exports = getList 37 | -------------------------------------------------------------------------------- /graphql/resolvers/query/CHC/getCharities/list/field-resolvers/registrations.js: -------------------------------------------------------------------------------- 1 | const LATEST_REG_DATE_ES_FIELD = 'lastRegistrationDate' 2 | const REGISTRATIONS_ES_FIELD = 'registrations' 3 | 4 | async function getList( 5 | searchSource, 6 | { all } 7 | ) { 8 | try { 9 | const _source = all ? [ 10 | LATEST_REG_DATE_ES_FIELD, 11 | REGISTRATIONS_ES_FIELD, 12 | ] : [ 13 | LATEST_REG_DATE_ES_FIELD, 14 | ] 15 | 16 | const response = await searchSource({ _source }) 17 | return response.hits.hits.map(doc => { 18 | if (!all) { 19 | return [{ 20 | registrationDate: doc._source[LATEST_REG_DATE_ES_FIELD], 21 | removalDate: null, 22 | removalCode: null, 23 | removalReason: null, 24 | }] 25 | } 26 | return doc._source[REGISTRATIONS_ES_FIELD] 27 | }) 28 | } catch(e) { 29 | throw e 30 | } 31 | } 32 | 33 | module.exports = getList 34 | -------------------------------------------------------------------------------- /graphql/resolvers/query/CHC/getCharities/list/sortFields.json: -------------------------------------------------------------------------------- 1 | { 2 | "age_asc": [ 3 | { "lastRegistrationDate": "desc" } 4 | ], 5 | "age_desc": [ 6 | { "lastRegistrationDate": "asc" } 7 | ], 8 | "default": [ 9 | "_score", 10 | { "financial.latest.income": "desc" } 11 | ], 12 | "income_asc": [ 13 | { "financial.latest.income": "asc" } 14 | ], 15 | "income_desc": [ 16 | { "financial.latest.income": "desc" } 17 | ], 18 | "random": [ 19 | { 20 | "_script": { 21 | "type": "number", 22 | "script": { 23 | "lang": "painless", 24 | "source": "(doc['ids.GB-CHC'].value + params.salt).hashCode()", 25 | "params": { 26 | "salt": "this_could_be_sent_as_a_gql_arg" 27 | } 28 | }, 29 | "order": "asc" 30 | } 31 | } 32 | ], 33 | "spending_asc": [ 34 | { "financial.latest.spending": "asc" } 35 | ], 36 | "spending_desc": [ 37 | { "financial.latest.spending": "desc" } 38 | ] 39 | } -------------------------------------------------------------------------------- /now.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": 2, 3 | "name": "charity-base-api-graphql", 4 | "env": { 5 | "CHARITY_BASE_DYNAMO_ACCESS_KEY_ID": "@charity-base-dynamo-access-key-id", 6 | "CHARITY_BASE_DYNAMO_SECRET_ACCESS_KEY": "@charity-base-dynamo-secret-access-key", 7 | "CHARITY_BASE_ES_AWS_ACCESS_KEY_ID": "@charity-base-es-aws-access-key-id", 8 | "CHARITY_BASE_ES_AWS_SECRET_ACCESS_KEY": "@charity-base-es-aws-secret-access-key", 9 | "CHARITY_BASE_S3_DOWNLOADS_ACCESS_KEY_ID": "@charity-base-s3-downloads-access-key-id", 10 | "CHARITY_BASE_S3_DOWNLOADS_SECRET_ACCESS_KEY": "@charity-base-s3-downloads-secret-access-key", 11 | "CHARITY_BASE_AUTH0_JWT_SECRET": "@charity-base-auth0-jwt-secret", 12 | "CHARITY_BASE_AUTH0_JWT_AUDIENCE": "https://charitybase.uk/api", 13 | "CHARITY_BASE_AUTH0_JWT_ISSUER": "https://charity-base.eu.auth0.com/" 14 | }, 15 | "builds": [ 16 | { "src": "server.js", "use": "@now/node-server" } 17 | ], 18 | "routes": [ 19 | { "src": "/api/graphql", "dest": "/server.js" } 20 | ] 21 | } -------------------------------------------------------------------------------- /graphql/resolvers/query/CHC/getCharities/aggregate/aggByTerm.js: -------------------------------------------------------------------------------- 1 | function aggByTerm(aggName, esField, numValues) { 2 | async function getAggBuckets(search) { 3 | const searchParams = { 4 | index: undefined, // this is set when queries combined in parent class 5 | body: { 6 | query: undefined, // this is set when queries combined in parent class 7 | aggs: { 8 | [aggName]: { 9 | terms: { 10 | field: esField, 11 | size: numValues, 12 | }, 13 | } 14 | } 15 | }, 16 | size: 0, 17 | } 18 | try { 19 | const response = await search(searchParams) 20 | const buckets = response.aggregations[aggName].buckets.map(x => ({ 21 | key: `${x.key}`, 22 | name: `${x.key}`, 23 | count: x.doc_count, 24 | })) 25 | return { 26 | buckets, 27 | } 28 | } catch(e) { 29 | throw e 30 | } 31 | } 32 | return getAggBuckets 33 | } 34 | 35 | module.exports = aggByTerm -------------------------------------------------------------------------------- /helpers/logger.js: -------------------------------------------------------------------------------- 1 | // const fs = require('fs') 2 | const bunyan = require('bunyan') 3 | 4 | // const LOGS_DIR = './logs' 5 | 6 | // try { 7 | // fs.mkdirSync(LOGS_DIR) 8 | // } catch (e) {} 9 | 10 | const log = bunyan.createLogger({ 11 | name: 'main', 12 | streams: [ 13 | { 14 | level: 'debug', 15 | stream: process.stdout 16 | }, 17 | // { 18 | // level: 'info', 19 | // type: 'rotating-file', 20 | // path: `${LOGS_DIR}/main.log`, 21 | // period: '1d', 22 | // count: 10, 23 | // }, 24 | // { 25 | // level: 'error', 26 | // type: 'rotating-file', 27 | // path: `${LOGS_DIR}/error.log`, 28 | // period: '1d', 29 | // count: 10, 30 | // }, 31 | ], 32 | // level: , // Optional, see "Levels" section 33 | // serializers: , // Optional, see "Serializers" section 34 | // src: , // Optional, see "src" section 35 | // foo: 'bar', 36 | }) 37 | 38 | module.exports = log 39 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "charity-base-api", 3 | "version": "8.2.1", 4 | "license": "MIT", 5 | "repository": { 6 | "type": "git", 7 | "url": "https://github.com/charity-base/charity-base-api.git" 8 | }, 9 | "dependencies": { 10 | "aws-sdk": "^2.397.0", 11 | "bunyan": "^1.8.12", 12 | "cors": "^2.8.1", 13 | "dotenv": "^6.2.0", 14 | "elasticsearch": "^15.0.0", 15 | "express": "^4.16.3", 16 | "express-graphql": "^0.7.1", 17 | "graphql": "^14.1.1", 18 | "graphql-input-number": "^0.0.10", 19 | "graphql-tools": "^4.0.4", 20 | "http-aws-es": "^6.0.0" 21 | }, 22 | "devDependencies": { 23 | "jest": "^20.0.4", 24 | "nodemon": "^1.18.9" 25 | }, 26 | "scripts": { 27 | "start": "node server.js", 28 | "dev": "nodemon server.js | ./node_modules/bunyan/bin/bunyan", 29 | "test": "jest", 30 | "deploy:production": "now && now alias https://charity-base-api-graphql.now.sh", 31 | "deploy:staging": "now && now alias https://charity-base-api-graphql-staging.now.sh" 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2016-2018 CharityBase 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 | -------------------------------------------------------------------------------- /graphql/resolvers/query/CHC/getCharities/aggregate/geo/geohash/precision.js: -------------------------------------------------------------------------------- 1 | const DESIRED_GRID_COUNT = 50 2 | const MIN_PRECISION = 3 3 | const MAX_PRECISION = 10 4 | 5 | const radians = x => x*Math.PI/180 6 | 7 | const getArea = (lat1, lat2, lonDiff) => { 8 | const dimensionlessArea = radians(lonDiff)*(Math.sin(radians(lat1)) - Math.sin(radians(lat2))) 9 | return Math.abs(dimensionlessArea) 10 | } 11 | 12 | const geohashLatRange = p => { 13 | return 180/Math.pow(2, Math.floor(5*p/2)) 14 | } 15 | 16 | const geohashLonRange = p => { 17 | return 360/Math.pow(2, Math.ceil(5*p/2)) 18 | } 19 | 20 | const geohashPrecision = ({ top=90, left=-180, bottom=-90, right=180 }) => { 21 | const portalArea = getArea(top, bottom, right-left) 22 | const avgLat = 0.5*(top + bottom) 23 | 24 | for (var p = MIN_PRECISION; p < MAX_PRECISION; p++) { 25 | const lonRange = geohashLonRange(p) 26 | const latRange = geohashLatRange(p) 27 | const lat1 = avgLat + 0.5*latRange 28 | const lat2 = avgLat - 0.5*latRange 29 | const avgGeohashArea = getArea(lat1, lat2, lonRange) 30 | 31 | if (DESIRED_GRID_COUNT*avgGeohashArea < portalArea) { 32 | return p 33 | } 34 | } 35 | 36 | return MAX_PRECISION 37 | } 38 | 39 | module.exports = geohashPrecision 40 | -------------------------------------------------------------------------------- /graphql/typeDefs/enum.js: -------------------------------------------------------------------------------- 1 | const typeDefs = ` 2 | """ 3 | Unit of distance. Allowed values are \`mi\` (miles), \`yd\` (yards), \`km\` (kilometres) or \`m\` (metres). 4 | """ 5 | enum DistanceUnit { 6 | """miles""" 7 | mi 8 | """yards""" 9 | yd 10 | """kilometres""" 11 | km 12 | """metres""" 13 | m 14 | } 15 | 16 | enum GeoRegion { 17 | "North East" 18 | E12000001 19 | "North West" 20 | E12000002 21 | "Yorkshire and The Humber" 22 | E12000003 23 | "East Midlands" 24 | E12000004 25 | "West Midlands" 26 | E12000005 27 | "East of England" 28 | E12000006 29 | "London" 30 | E12000007 31 | "South East" 32 | E12000008 33 | "South West" 34 | E12000009 35 | } 36 | 37 | enum GeoCountry { 38 | "England" 39 | E92000001 40 | # "United Kingdom" 41 | # K02000001 42 | # "Great Britain" 43 | # K03000001 44 | # "England and Wales" 45 | # K04000001 46 | "Northern Ireland" 47 | N92000002 48 | "Scotland" 49 | S92000003 50 | "Wales" 51 | W92000004 52 | } 53 | 54 | enum SortCHC { 55 | age_asc 56 | age_desc 57 | default 58 | income_asc 59 | income_desc 60 | random 61 | spending_asc 62 | spending_desc 63 | } 64 | ` 65 | 66 | module.exports = typeDefs 67 | -------------------------------------------------------------------------------- /graphql/resolvers/query/CHC/getCharities/elastic-query/index.js: -------------------------------------------------------------------------------- 1 | const getIdFilters = require('./id') 2 | const getAreasFilters = require('./areas') 3 | const getGrantsFilters = require('./grants') 4 | const getCausesFilters = require('./causes') 5 | const getBeneficiariesFilters = require('./beneficiaries') 6 | const getOperationsFilters = require('./operations') 7 | const getGeoFilters = require('./geo') 8 | const getFinancesFilters = require('./finances') 9 | const getRegistrationsFilters = require('./registrations') 10 | const getSearchFilters = require('./search') 11 | 12 | const getElasticQuery = ({ 13 | id, 14 | search, 15 | areas, 16 | grants, 17 | causes, 18 | beneficiaries, 19 | operations, 20 | geo, 21 | finances, 22 | registrations, 23 | }) => { 24 | const must = [ 25 | ...getSearchFilters(search), 26 | ] 27 | 28 | const filter = [ 29 | ...getIdFilters(id), 30 | ...getAreasFilters(areas), 31 | ...getGrantsFilters(grants), 32 | ...getCausesFilters(causes), 33 | ...getBeneficiariesFilters(beneficiaries), 34 | ...getOperationsFilters(operations), 35 | ...getGeoFilters(geo), 36 | ...getFinancesFilters(finances), 37 | ...getRegistrationsFilters(registrations), 38 | ] 39 | 40 | return { 41 | bool: { 42 | must, 43 | filter, 44 | } 45 | } 46 | } 47 | 48 | module.exports = getElasticQuery 49 | -------------------------------------------------------------------------------- /graphql/resolvers/query/CHC/getCharities/list/field-resolvers/geo.js: -------------------------------------------------------------------------------- 1 | const ES_FIELDS = [ 2 | 'contact.geo', 3 | ] 4 | 5 | const nullGeo = { 6 | postcode: null, 7 | quality: null, 8 | eastings: null, 9 | northings: null, 10 | country: null, 11 | nhs_ha: null, 12 | longitude: null, 13 | latitude: null, 14 | european_electoral_region: null, 15 | primary_care_trust: null, 16 | region: null, 17 | lsoa: null, 18 | msoa: null, 19 | incode: null, 20 | outcode: null, 21 | parliamentary_constituency: null, 22 | admin_district: null, 23 | parish: null, 24 | admin_county: null, 25 | admin_ward: null, 26 | ced: null, 27 | ccg: null, 28 | nuts: null, 29 | codes: { 30 | admin_district: null, 31 | admin_county: null, 32 | admin_ward: null, 33 | parish: null, 34 | parliamentary_constituency: null, 35 | ccg: null, 36 | ced: null, 37 | nuts: null, 38 | } 39 | } 40 | 41 | async function getList( 42 | searchSource, 43 | ) { 44 | try { 45 | const searchParams = { 46 | _source: ES_FIELDS, 47 | } 48 | const response = await searchSource(searchParams) 49 | return response.hits.hits.map(x => { 50 | return x._source.contact ? x._source.contact.geo : nullGeo // todo: investigate how null contact is possible.. 51 | }) 52 | } catch(e) { 53 | throw e 54 | } 55 | } 56 | 57 | module.exports = getList 58 | -------------------------------------------------------------------------------- /graphql/resolvers/query/CHC/getCharities/aggregate/finances/latestIncome.js: -------------------------------------------------------------------------------- 1 | const AGG_NAME = 'finances_income' 2 | const ES_FIELD = 'financial.latest.income' 3 | 4 | async function aggIncome(search) { 5 | const searchParams = { 6 | index: undefined, // this is set when queries combined in parent class 7 | body: { 8 | query: undefined, // this is set when queries combined in parent class 9 | aggs: { 10 | [AGG_NAME]: { 11 | histogram: { 12 | field: ES_FIELD, 13 | script: 'Math.log10(_value)', 14 | interval: 0.5, 15 | extended_bounds: { 16 | min: 0, 17 | max: 9, 18 | }, 19 | }, 20 | aggs: { 21 | total_income: { 22 | sum: { 23 | field: ES_FIELD, 24 | }, 25 | }, 26 | }, 27 | } 28 | } 29 | }, 30 | size: 0, 31 | } 32 | 33 | try { 34 | const response = await search(searchParams) 35 | const buckets = response.aggregations[AGG_NAME].buckets.map(x => ({ 36 | key: `${x.key}`, 37 | name: `Min. £${Math.round(Math.pow(10, x.key))}`, 38 | count: x.doc_count, 39 | sum: x.total_income.value, 40 | })) 41 | return { 42 | buckets, 43 | } 44 | } catch(e) { 45 | throw e 46 | } 47 | } 48 | 49 | module.exports = aggIncome 50 | -------------------------------------------------------------------------------- /graphql/resolvers/query/CHC/getCharities/elastic-query/getFiltersOnStringList.js: -------------------------------------------------------------------------------- 1 | const getFiltersOnListLength = require('./getFiltersOnListLength') 2 | // Return an array of Elasticsearch filters on given field (for which each doc has a list of string values) 3 | // listFilterInput corresponds to type ListFilterInput defined in GraphQL typeDefs. 4 | const getFiltersOnStringList = (field, listFilterInput) => { 5 | if (!listFilterInput) return [] 6 | 7 | const filters = [] 8 | const { some, every, notSome, length } = listFilterInput 9 | 10 | // Logical OR query: 11 | if (some && some.length > 0) { 12 | filters.push({ 13 | bool: { 14 | should: some.map(value => ({ 15 | term: { [field]: value } 16 | })) 17 | } 18 | }) 19 | } 20 | 21 | // Logical AND query: 22 | if (every && every.length > 0) { 23 | filters.push({ 24 | bool: { 25 | must: every.map(value => ({ 26 | term: { [field]: value } 27 | })) 28 | } 29 | }) 30 | } 31 | 32 | if (notSome && notSome.length > 0) { 33 | filters.push({ 34 | bool: { 35 | must_not: notSome.map(value => ({ 36 | term: { [field]: value } 37 | })) 38 | } 39 | }) 40 | } 41 | 42 | getFiltersOnListLength(field, length).map(f => filters.push(f)) 43 | 44 | return filters 45 | } 46 | 47 | module.exports = getFiltersOnStringList -------------------------------------------------------------------------------- /graphql/resolvers/query/CHC/getCharities/aggregate/finances/latestSpending.js: -------------------------------------------------------------------------------- 1 | const AGG_NAME = 'finances_spending' 2 | const ES_FIELD = 'financial.latest.spending' 3 | 4 | async function aggSpending(search) { 5 | const searchParams = { 6 | index: undefined, // this is set when queries combined in parent class 7 | body: { 8 | query: undefined, // this is set when queries combined in parent class 9 | aggs: { 10 | [AGG_NAME]: { 11 | histogram: { 12 | field: ES_FIELD, 13 | script: 'Math.log10(_value)', 14 | interval: 0.5, 15 | extended_bounds: { 16 | min: 0, 17 | max: 9, 18 | }, 19 | }, 20 | aggs: { 21 | total_spending: { 22 | sum: { 23 | field: ES_FIELD, 24 | }, 25 | }, 26 | }, 27 | } 28 | } 29 | }, 30 | size: 0, 31 | } 32 | 33 | try { 34 | const response = await search(searchParams) 35 | const buckets = response.aggregations[AGG_NAME].buckets.map(x => ({ 36 | key: `${x.key}`, 37 | name: `Min. £${Math.round(Math.pow(10, x.key))}`, 38 | count: x.doc_count, 39 | sum: x.total_spending.value, 40 | })) 41 | return { 42 | buckets, 43 | } 44 | } catch(e) { 45 | throw e 46 | } 47 | } 48 | 49 | module.exports = aggSpending 50 | -------------------------------------------------------------------------------- /graphql/resolvers/query/CHC/getCharities/aggregate/geo/geohash/index.js: -------------------------------------------------------------------------------- 1 | const precision = require('./precision') 2 | const AGG_NAME = 'geo_geohash' 3 | const AGG_NAME_NESTED = 'geo_geohash_nested' 4 | const ES_FIELD = 'contact.geoCoords' 5 | 6 | async function aggGeohash(search, { top, left, bottom, right }) { 7 | const searchParams = { 8 | index: undefined, // this is set when queries combined in parent class 9 | body: { 10 | query: undefined, // this is set when queries combined in parent class 11 | aggs: { 12 | [AGG_NAME]: { 13 | filter: { 14 | geo_bounding_box: { 15 | [ES_FIELD]: { top, left, bottom, right }, 16 | }, 17 | }, 18 | aggs: { 19 | [AGG_NAME_NESTED]: { 20 | geohash_grid: { 21 | field: ES_FIELD, 22 | precision: precision({ top, left, bottom, right }), 23 | }, 24 | } 25 | }, 26 | } 27 | } 28 | }, 29 | size: 0, 30 | } 31 | try { 32 | const response = await search(searchParams) 33 | const buckets = response.aggregations[AGG_NAME][AGG_NAME_NESTED].buckets.map(x => ({ 34 | key: `${x.key}`, 35 | name: `${x.key}`, 36 | count: x.doc_count, 37 | })) 38 | return { 39 | buckets, 40 | } 41 | } catch(e) { 42 | throw e 43 | } 44 | } 45 | 46 | module.exports = aggGeohash 47 | -------------------------------------------------------------------------------- /graphql/resolvers/query/CHC/getCharities/aggregate/geo/country/index.js: -------------------------------------------------------------------------------- 1 | const geoCountryNames = require('./names') 2 | const AGG_NAME = 'geo_country' 3 | const AGG_NAME_NESTED = 'geo_country_nested' 4 | const GEO_COORDS_ES_FIELD = 'contact.geoCoords' 5 | const ES_FIELD = 'contact.geo.country' 6 | const NUM_VALUES = 7 7 | 8 | async function aggGeoCountry(search, { top, left, bottom, right }) { 9 | const searchParams = { 10 | index: undefined, // this is set when queries combined in parent class 11 | body: { 12 | query: undefined, // this is set when queries combined in parent class 13 | aggs: { 14 | [AGG_NAME]: { 15 | filter: { 16 | geo_bounding_box: { 17 | [GEO_COORDS_ES_FIELD]: { top, left, bottom, right }, 18 | }, 19 | }, 20 | aggs: { 21 | [AGG_NAME_NESTED]: { 22 | terms: { 23 | field: ES_FIELD, 24 | size: NUM_VALUES, 25 | } 26 | } 27 | }, 28 | } 29 | } 30 | }, 31 | size: 0, 32 | } 33 | try { 34 | const response = await search(searchParams) 35 | const buckets = response.aggregations[AGG_NAME][AGG_NAME_NESTED].buckets.map(x => ({ 36 | key: geoCountryNames[x.key] || x.key, 37 | name: `${x.key}`, 38 | count: x.doc_count, 39 | })) 40 | return { 41 | buckets, 42 | } 43 | } catch(e) { 44 | throw e 45 | } 46 | } 47 | 48 | module.exports = aggGeoCountry 49 | -------------------------------------------------------------------------------- /graphql/resolvers/query/CHC/getCharities/aggregate/geo/region/index.js: -------------------------------------------------------------------------------- 1 | const geoRegionNames = require("./names") 2 | const AGG_NAME = "geo_region" 3 | const AGG_NAME_NESTED = "geo_region_nested" 4 | const GEO_COORDS_ES_FIELD = "contact.geoCoords" 5 | const ES_FIELD = "contact.geo.region" 6 | const NUM_VALUES = 10 // 9 + 1 for the Wales pseudo code W99999999 7 | 8 | async function aggGeoRegion(search, { top, left, bottom, right }) { 9 | const searchParams = { 10 | index: undefined, // this is set when queries combined in parent class 11 | body: { 12 | query: undefined, // this is set when queries combined in parent class 13 | aggs: { 14 | [AGG_NAME]: { 15 | filter: { 16 | geo_bounding_box: { 17 | [GEO_COORDS_ES_FIELD]: { top, left, bottom, right }, 18 | }, 19 | }, 20 | aggs: { 21 | [AGG_NAME_NESTED]: { 22 | terms: { 23 | field: ES_FIELD, 24 | size: NUM_VALUES, 25 | }, 26 | }, 27 | }, 28 | }, 29 | }, 30 | }, 31 | size: 0, 32 | } 33 | try { 34 | const response = await search(searchParams) 35 | const buckets = response.aggregations[AGG_NAME][ 36 | AGG_NAME_NESTED 37 | ].buckets.map((x) => ({ 38 | key: geoRegionNames[x.key] || x.key, 39 | name: `${x.key}`, 40 | count: x.doc_count, 41 | })) 42 | return { 43 | buckets, 44 | } 45 | } catch (e) { 46 | throw e 47 | } 48 | } 49 | 50 | module.exports = aggGeoRegion 51 | -------------------------------------------------------------------------------- /graphql/resolvers/query/CHC/getCharities/list/index.js: -------------------------------------------------------------------------------- 1 | const fieldResolvers = require('./field-resolvers') 2 | const sortFields = require('./sortFields') 3 | 4 | async function listCharities(search, { limit, skip, sort }) { 5 | try { 6 | const searchSource = ({ _source }) => search({ 7 | index: undefined, // this is set when queries combined in parent class 8 | body: { 9 | query: undefined, // this is set when queries combined in parent class 10 | sort: [ 11 | ...sortFields[sort], 12 | '_doc', // ensures sorting is consistent 13 | ], 14 | }, 15 | _source, 16 | size: limit, 17 | from: skip, 18 | }) 19 | 20 | // Is there a way to limit the results without an extra elasticsearch round trip? 21 | const countResponse = await search({}) 22 | const numResults = Math.min(countResponse.hits.total - skip, limit) 23 | 24 | if (numResults < 1) return [] 25 | 26 | const fieldValueLists = {} 27 | const results = [...new Array(numResults)].map((_, i) => { 28 | return Object.keys(fieldResolvers).reduce((agg, x) => ({ 29 | ...agg, 30 | [x]: fieldArgs => { 31 | // This only gets called for the requested fields 32 | if (i === 0) { 33 | fieldValueLists[x] = fieldResolvers[x](searchSource, fieldArgs) 34 | } 35 | return fieldValueLists[x].then(res => res[i]) 36 | } 37 | }), {}) 38 | }) 39 | return results 40 | } catch(e) { 41 | throw e 42 | } 43 | } 44 | 45 | module.exports = listCharities 46 | -------------------------------------------------------------------------------- /graphql/directiveResolvers/apiKeyAuth.js: -------------------------------------------------------------------------------- 1 | const { dynamoClient } = require('../../connection') 2 | const { authHeaders, hasAll } = require('./helpers') 3 | 4 | async function apiKeyAuth(next, source, args, req) { 5 | const expectedRoles = args.roles 6 | 7 | if (req.apiKey) { 8 | const roles = req.apiKey.roles || [] 9 | if (!hasAll(expectedRoles, roles)) { 10 | throw `You are not authorized. Expected roles: "${expectedRoles.join(', ')}"` 11 | } 12 | return next() 13 | } 14 | 15 | if (!req.headers || !req.headers.authorization) { 16 | throw 'No authorization header sent' 17 | } 18 | 19 | const { apikey } = authHeaders(req.headers.authorization) 20 | 21 | if (!apikey) { 22 | throw `You must supply an Authorization header of the form "Apikey 9447fa04-c15b-40e6-92b6-30307deeb5d1". See https://charitybase.uk/api-portal for more information.` 23 | } 24 | 25 | try { 26 | // It would be cleaner to hit the /auth/graphql api here to validate apikey but for performance we query dynamodb directly instead. 27 | const params = { 28 | Key: { 29 | id: apikey 30 | } 31 | } 32 | const data = await dynamoClient.get(params).promise() 33 | if (!data.Item) { 34 | throw new Error() 35 | } 36 | req.apiKey = data.Item 37 | } catch(e) { 38 | throw `The provided API key is not valid: "${apikey}"` 39 | } 40 | 41 | const roles = req.apiKey.roles || [] 42 | if (!hasAll(expectedRoles, roles)) { 43 | throw `You are not authorized. Expected roles: "${expectedRoles.join(', ')}"` 44 | } 45 | 46 | return next() 47 | } 48 | 49 | module.exports = apiKeyAuth 50 | -------------------------------------------------------------------------------- /graphql/resolvers/query/CHC/getCharities/elastic-query/getFiltersOnListLength.js: -------------------------------------------------------------------------------- 1 | // Return an array of Elasticsearch filters on length of given list field. 2 | // numericRangeInput corresponds to type NumericRangeInput defined in GraphQL typeDefs. 3 | const getFiltersOnListLength = (field, numericRangeInput) => { 4 | if (!numericRangeInput) return [] 5 | 6 | const filters = [] 7 | 8 | const { 9 | gte, 10 | gt, 11 | lte, 12 | lt, 13 | } = numericRangeInput 14 | 15 | if (!isNaN(lte)) { 16 | filters.push({ 17 | script: { 18 | script: { 19 | source: `doc['${field}'].values.length <= params.value`, 20 | lang: 'painless', 21 | params: { value: lte }, 22 | } 23 | } 24 | }) 25 | } 26 | 27 | if (!isNaN(lt)) { 28 | filters.push({ 29 | script: { 30 | script: { 31 | source: `doc['${field}'].values.length < params.value`, 32 | lang: 'painless', 33 | params: { value: lt }, 34 | } 35 | } 36 | }) 37 | } 38 | 39 | if (!isNaN(gte)) { 40 | filters.push({ 41 | script: { 42 | script: { 43 | source: `doc['${field}'].values.length >= params.value`, 44 | lang: 'painless', 45 | params: { value: gte }, 46 | } 47 | } 48 | }) 49 | } 50 | 51 | if (!isNaN(gt)) { 52 | filters.push({ 53 | script: { 54 | script: { 55 | source: `doc['${field}'].values.length > params.value`, 56 | lang: 'painless', 57 | params: { value: gt }, 58 | } 59 | } 60 | }) 61 | } 62 | 63 | return filters 64 | } 65 | 66 | module.exports = getFiltersOnListLength -------------------------------------------------------------------------------- /graphql/typeDefs/index.js: -------------------------------------------------------------------------------- 1 | const directiveTypes = require('./directive') 2 | const enumTypes = require('./enum') 3 | const customTypes = require('./custom') 4 | const inputTypes = require('./input') 5 | const listCharitiesTypes = require('./list') 6 | const aggregateCharitiesTypes = require('./aggregate') 7 | 8 | const highLevelTypes = ` 9 | """ 10 | Various formats to represent filtered charities 11 | """ 12 | type FilteredCharitiesCHC { 13 | """ 14 | Number of charities matching query 15 | """ 16 | count: Int 17 | """ 18 | List of charities matching query 19 | """ 20 | list( 21 | limit: PageLimit = 10 22 | skip: Int = 0 23 | sort: SortCHC = default 24 | ): [CharityCHC] 25 | """ 26 | Aggregations of charities matching query 27 | """ 28 | aggregate: AggregationTypesCHC 29 | } 30 | 31 | type FilterCHC { 32 | id: ID 33 | value: String 34 | label: String 35 | filterType: String # todo: change to enum 36 | score: Float 37 | } 38 | 39 | type QueryCHC { 40 | """ 41 | Query charities registered in England & Wales 42 | """ 43 | getCharities(filters: FilterCHCInput!): FilteredCharitiesCHC 44 | getFilters( 45 | "Prefix search term for finding filters. Only used if \`id\` is not defined." 46 | search: String 47 | "List of IDs of desired filters." 48 | id: [ID] 49 | ): [FilterCHC] 50 | } 51 | 52 | type Query { 53 | """ 54 | Charity Commission of England & Wales 55 | """ 56 | CHC: QueryCHC @apiKeyAuth(roles: ["basic"]) 57 | } 58 | ` 59 | 60 | module.exports = [ 61 | directiveTypes, 62 | enumTypes, 63 | customTypes, 64 | inputTypes, 65 | listCharitiesTypes, 66 | aggregateCharitiesTypes, 67 | highLevelTypes, 68 | ] 69 | -------------------------------------------------------------------------------- /graphql/typeDefs/aggregate.js: -------------------------------------------------------------------------------- 1 | const typeDefs = ` 2 | type AggregationBucket { 3 | """Unique across a given aggregation's buckets""" 4 | key: String 5 | """Aggregation bucket description""" 6 | name: String 7 | """Number of charities in the aggregation bucket""" 8 | count: Int 9 | """If the aggregation is on a numerical field e.g. income, the \`sum\` gives the bucket's cumulative total of that field.""" 10 | sum: Float 11 | } 12 | 13 | type Aggregation { 14 | buckets: [AggregationBucket] 15 | } 16 | 17 | type GeoAggregation { 18 | geohash: Aggregation 19 | region: Aggregation 20 | country: Aggregation 21 | } 22 | 23 | type FinancesAggregation { 24 | latestIncome: Aggregation 25 | latestSpending: Aggregation 26 | } 27 | 28 | type AggregationTypesCHC { 29 | finances: FinancesAggregation 30 | causes: Aggregation 31 | beneficiaries: Aggregation 32 | operations: Aggregation 33 | areas: Aggregation 34 | """ 35 | Aggregate charities by the geolocation of their registered office. 36 | Specify \`top\`, \`bottom\`, \`left\` & \`right\` arguments to further restrict the search range without affecting the other \`getCharities\` results. 37 | This is useful if you're presenting geo aggregations in a map view. 38 | """ 39 | geo( 40 | """Latitude defining the portal's top boundary. Default: \`90\`.""" 41 | top: Float = 90 42 | """Longitude defining the portal's left boundary. Default: \`-180\`.""" 43 | left: Float = -180 44 | """Latitude defining the portal's bottom boundary. Default: \`-90\`.""" 45 | bottom: Float = -90 46 | """Longitude defining the portal's right boundary. Default: \`180\`.""" 47 | right: Float = 180 48 | ): GeoAggregation 49 | } 50 | ` 51 | 52 | module.exports = typeDefs 53 | -------------------------------------------------------------------------------- /graphql/resolvers/query/CHC/getFilters/index.js: -------------------------------------------------------------------------------- 1 | const { esClient } = require('../../../../../connection') 2 | const config = require('../../../../../config.json') 3 | 4 | const esIndex = config.elastic.indexes.chc.filters 5 | 6 | const MAX_SUGGESTIONS = 12 7 | 8 | async function getFilters({ search, id }) { 9 | const filterIds = id && id.length > 0 10 | 11 | if (!filterIds && !search) return [] 12 | 13 | const searchParams = { 14 | index: [esIndex], 15 | body: {}, 16 | _source: ['id', 'value', 'label', 'filterType'], 17 | } 18 | 19 | if (filterIds) { 20 | searchParams.body.query = { 21 | bool: { 22 | should: id.map(x => ({ 23 | term: { id: x } 24 | })) 25 | } 26 | } 27 | } else if (search) { 28 | searchParams.body.suggest = { 29 | filterSuggest: { 30 | prefix: search.toLowerCase(), 31 | completion: { 32 | field: 'suggest', 33 | size: MAX_SUGGESTIONS, 34 | fuzzy: { 35 | fuzziness: 1, 36 | }, 37 | contexts: { 38 | filter_type: [ 39 | { context: "id", boost: 1 }, 40 | { context: "area", boost: 2 }, 41 | { context: "funder", boost: 3 }, 42 | { context: "cause", boost: 4 }, 43 | { context: "operation", boost: 4 }, 44 | { context: "beneficiary", boost: 4 }, 45 | ] 46 | }, 47 | } 48 | } 49 | } 50 | } 51 | 52 | try { 53 | const response = await esClient.search(searchParams) 54 | if (!filterIds && search) { 55 | return response.suggest.filterSuggest[0].options.map(x => ({ 56 | ...x._source, 57 | score: x._score, 58 | })) 59 | } else { 60 | return response.hits.hits.map(x => x._source) 61 | } 62 | } catch(e) { 63 | throw e 64 | } 65 | } 66 | 67 | module.exports = getFilters 68 | -------------------------------------------------------------------------------- /graphql/resolvers/query/CHC/getCharities/elastic-query/geo/geohashBounds.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Copied/modified from https://github.com/sunng87/node-geohash 3 | * 4 | * Copyright (c) 2011, Sun Ning. 5 | * 6 | * Permission is hereby granted, free of charge, to any person 7 | * obtaining a copy of this software and associated documentation 8 | * files (the "Software"), to deal in the Software without 9 | * restriction, including without limitation the rights to use, copy, 10 | * modify, merge, publish, distribute, sublicense, and/or sell copies 11 | * of the Software, and to permit persons to whom the Software is 12 | * furnished to do so, subject to the following conditions: 13 | * 14 | * The above copyright notice and this permission notice shall be 15 | * included in all copies or substantial portions of the Software. 16 | */ 17 | 18 | var BASE32_CODES = "0123456789bcdefghjkmnpqrstuvwxyz"; 19 | var BASE32_CODES_DICT = {}; 20 | for (var i = 0; i < BASE32_CODES.length; i++) { 21 | BASE32_CODES_DICT[BASE32_CODES.charAt(i)] = i; 22 | } 23 | var MIN_LAT = -90; 24 | var MAX_LAT = 90; 25 | var MIN_LON = -180; 26 | var MAX_LON = 180; 27 | 28 | const geohashBounds = (geohash) => { 29 | var isLon = true, 30 | maxLat = MAX_LAT, 31 | minLat = MIN_LAT, 32 | maxLon = MAX_LON, 33 | minLon = MIN_LON, 34 | mid; 35 | 36 | var hashValue = 0; 37 | for (var i = 0, l = geohash.length; i < l; i++) { 38 | var code = geohash[i].toLowerCase(); 39 | hashValue = BASE32_CODES_DICT[code]; 40 | 41 | for (var bits = 4; bits >= 0; bits--) { 42 | var bit = (hashValue >> bits) & 1; 43 | if (isLon) { 44 | mid = (maxLon + minLon) / 2; 45 | if (bit === 1) { 46 | minLon = mid; 47 | } else { 48 | maxLon = mid; 49 | } 50 | } else { 51 | mid = (maxLat + minLat) / 2; 52 | if (bit === 1) { 53 | minLat = mid; 54 | } else { 55 | maxLat = mid; 56 | } 57 | } 58 | isLon = !isLon; 59 | } 60 | } 61 | return { 62 | top: maxLat, 63 | left: minLon, 64 | bottom: minLat, 65 | right: maxLon, 66 | }; 67 | }; 68 | 69 | module.exports = geohashBounds 70 | -------------------------------------------------------------------------------- /graphql/resolvers/query/CHC/getCharities/elastic-query/geo/index.js: -------------------------------------------------------------------------------- 1 | const geohashBounds = require('./geohashBounds') 2 | 3 | const GEO_COUNTRY_FIELD = 'contact.geo.country' 4 | const GEO_REGION_FIELD = 'contact.geo.region' 5 | const GEO_COORDS_FIELD = 'contact.geoCoords' 6 | 7 | const geoRegionCodes = { 8 | E12000001: 'North East', 9 | E12000002: 'North West', 10 | E12000003: 'Yorkshire and The Humber', 11 | E12000004: 'East Midlands', 12 | E12000005: 'West Midlands', 13 | E12000006: 'East of England', 14 | E12000007: 'London', 15 | E12000008: 'South East', 16 | E12000009: 'South West', 17 | } 18 | 19 | const geoCountryCodes = { 20 | E92000001: 'England', 21 | K02000001: 'United Kingdom', 22 | K03000001: 'Great Britain', 23 | K04000001: 'England and Wales', 24 | N92000002: 'Northern Ireland', 25 | S92000003: 'Scotland', 26 | W92000004: 'Wales', 27 | } 28 | 29 | const getGeoFilters = geo => { 30 | if (!geo) return [] 31 | 32 | const filters = [] 33 | 34 | if (geo.boundingBox) { 35 | filters.push({ 36 | geo_bounding_box: { 37 | [GEO_COORDS_FIELD]: geo.boundingBox, 38 | }, 39 | }) 40 | } 41 | 42 | if (geo.geohashes) { 43 | filters.push({ 44 | bool: { 45 | should: geo.geohashes.map(geohash => ({ 46 | geo_bounding_box: { 47 | [GEO_COORDS_FIELD]: geohashBounds(geohash), 48 | }, 49 | })) 50 | } 51 | }) 52 | } 53 | 54 | if (geo.boundingCircle) { 55 | filters.push({ 56 | geo_distance: { 57 | distance: `${geo.boundingCircle.radius}${geo.boundingCircle.unit}`, 58 | [GEO_COORDS_FIELD]: { 59 | lat: geo.boundingCircle.latitude, 60 | lon: geo.boundingCircle.longitude, 61 | }, 62 | }, 63 | }) 64 | } 65 | 66 | if (geo.region) { 67 | const geoRegionName = geoRegionCodes[geo.region] 68 | filters.push({ 69 | term: { 70 | [GEO_REGION_FIELD]: geoRegionName, 71 | }, 72 | }) 73 | } 74 | 75 | if (geo.country) { 76 | const geoCountryName = geoCountryCodes[geo.country] 77 | filters.push({ 78 | term: { 79 | [GEO_COUNTRY_FIELD]: geoCountryName, 80 | }, 81 | }) 82 | } 83 | 84 | return filters 85 | } 86 | 87 | module.exports = getGeoFilters 88 | -------------------------------------------------------------------------------- /graphql/resolvers/query/CHC/getCharities/index.js: -------------------------------------------------------------------------------- 1 | const config = require('../../../../../config.json') 2 | const { esClient } = require('../../../../../connection') 3 | const getElasticQuery = require('./elastic-query') 4 | const countCharities = require('./count') 5 | const listCharities = require('./list') 6 | const aggregateCharities = require('./aggregate') 7 | 8 | function combineQueries(searchParamsList, filters) { 9 | const baseParams = { 10 | index: [config.elastic.indexes.chc.charities], 11 | body: { 12 | query: getElasticQuery(filters), 13 | aggs: {}, 14 | sort: [], 15 | }, 16 | _source: [], 17 | size: 0, 18 | from: undefined, 19 | } 20 | const searchParams = searchParamsList.reduce((agg, x) => { 21 | agg.body.aggs = x.body && x.body.aggs ? ({ 22 | ...agg.body.aggs, 23 | ...x.body.aggs, // todo: spread aggs one layer down too (to allow merging geo aggs under same filter) 24 | }) : agg.body.aggs 25 | agg.body.sort = agg.body.sort.length > 0 ? agg.body.sort : ((x.body && x.body.sort) || []) // only take the first non-trivial sort 26 | agg._source = x._source ? [...new Set([...agg._source, ...x._source])] : agg._source 27 | agg.size = x.size > 0 ? x.size : agg.size 28 | agg.from = !isNaN(x.from) ? x.from : agg.from 29 | return agg 30 | }, baseParams) 31 | return searchParams 32 | } 33 | 34 | class FilteredCharitiesCHC { 35 | constructor(filters) { 36 | this.filters = filters 37 | this.queue = [] 38 | this.dispatchQueue = this.dispatchQueue.bind(this) 39 | this.search = this.search.bind(this) 40 | } 41 | search(q) { 42 | // Resolves with the Elasticsearch response 43 | return new Promise((resolve, reject) => { 44 | if (this.queue.length === 0) { 45 | process.nextTick(this.dispatchQueue) 46 | } 47 | this.queue.push([q, resolve, reject]) 48 | }) 49 | } 50 | async dispatchQueue() { 51 | const toDispatch = this.queue 52 | this.queue = [] 53 | try { 54 | const searchParamsList = toDispatch.map(([q]) => q) 55 | const searchParams = combineQueries( 56 | searchParamsList, 57 | this.filters, 58 | ) 59 | const response = await esClient.search(searchParams) 60 | toDispatch.map(([_, resolve]) => resolve(response)) 61 | } catch(e) { 62 | toDispatch.map(([_, __, reject]) => reject(e)) 63 | } 64 | } 65 | count() { 66 | return countCharities( 67 | this.search, 68 | ) 69 | } 70 | list(args) { 71 | return listCharities( 72 | this.search, 73 | args, 74 | ) 75 | } 76 | aggregate() { 77 | return aggregateCharities( 78 | this.search, 79 | ) 80 | } 81 | } 82 | 83 | const getCharities = ({ filters }) => { 84 | return new FilteredCharitiesCHC(filters) 85 | } 86 | 87 | module.exports = getCharities 88 | -------------------------------------------------------------------------------- /graphql/typeDefs/input.js: -------------------------------------------------------------------------------- 1 | const typeDefs = ` 2 | input NumericRangeInput { 3 | """ 4 | Greater than or equal to. 5 | """ 6 | gte: Float 7 | """ 8 | Greater than. 9 | """ 10 | gt: Float 11 | """ 12 | Less than or equal to. 13 | """ 14 | lte: Float 15 | """ 16 | Less than. 17 | """ 18 | lt: Float 19 | } 20 | 21 | input DateRangeInput { 22 | """ 23 | Greater than or equal to. \`yyyy-MM-dd\`. 24 | """ 25 | gte: String 26 | """ 27 | Greater than. \`yyyy-MM-dd\`. 28 | """ 29 | gt: String 30 | """ 31 | Less than or equal to. \`yyyy-MM-dd\`. 32 | """ 33 | lte: String 34 | """ 35 | Less than. \`yyyy-MM-dd\`. 36 | """ 37 | lt: String 38 | } 39 | 40 | """ 41 | This input type allows filtering on a field which itself contains a list of values. 42 | """ 43 | input ListFilterInput { 44 | """ 45 | Require that the field contains all of the provided values (logical AND). 46 | """ 47 | every: [String] 48 | """ 49 | Require that the field contains one or more of the provided values (logical OR). 50 | """ 51 | some: [String] 52 | """ 53 | Require that the field contains none of the provided values (logical AND NOT). 54 | """ 55 | notSome: [String] 56 | """ 57 | Apply conditions to the length of the array field. 58 | """ 59 | length: NumericRangeInput 60 | } 61 | 62 | input GrantsFilterInput { 63 | funders: ListFilterInput 64 | } 65 | 66 | input GeoBoundingBoxInput { 67 | """ 68 | Latitude defining the box's top boundary. 69 | """ 70 | top: Float! 71 | """ 72 | Longitude defining the box's left boundary. 73 | """ 74 | left: Float! 75 | """ 76 | Latitude defining the box's bottom boundary. 77 | """ 78 | bottom: Float! 79 | """ 80 | Longitude defining the box's right boundary. 81 | """ 82 | right: Float! 83 | } 84 | 85 | input GeoBoundingCircleInput { 86 | """Radius of circle.""" 87 | radius: Int! 88 | """Unit of circle radius.""" 89 | unit: DistanceUnit = mi 90 | """Latitude of circle centre.""" 91 | latitude: Float! 92 | """Longitude of circle centre.""" 93 | longitude: Float! 94 | } 95 | 96 | input GeoFilterInput { 97 | boundingBox: GeoBoundingBoxInput 98 | boundingCircle: GeoBoundingCircleInput 99 | geohashes: [String] 100 | region: GeoRegion 101 | country: GeoCountry 102 | } 103 | 104 | input FinancesFilterInput { 105 | latestIncome: NumericRangeInput 106 | } 107 | 108 | input RegistrationsFilterInput { 109 | latestRegistrationDate: DateRangeInput 110 | } 111 | 112 | input FilterCHCInput { 113 | id: [ID] 114 | search: String 115 | areas: ListFilterInput 116 | causes: ListFilterInput 117 | beneficiaries: ListFilterInput 118 | operations: ListFilterInput 119 | grants: GrantsFilterInput 120 | geo: GeoFilterInput 121 | finances: FinancesFilterInput 122 | registrations: RegistrationsFilterInput 123 | } 124 | ` 125 | 126 | module.exports = typeDefs 127 | -------------------------------------------------------------------------------- /graphql/typeDefs/list.js: -------------------------------------------------------------------------------- 1 | const typeDefs = ` 2 | scalar Date 3 | 4 | type FinancialYear { 5 | begin: Date 6 | end: Date 7 | } 8 | 9 | type FinancialCHC { 10 | income: Float 11 | spending: Float 12 | financialYear: FinancialYear 13 | } 14 | 15 | type IdName { 16 | id: ID 17 | name: String 18 | } 19 | 20 | type Grant { 21 | id: ID 22 | title: String 23 | description: String 24 | fundingOrganization: [IdName] 25 | amountAwarded: Float 26 | currency: String 27 | awardDate: Date 28 | } 29 | 30 | type GeoCodes { 31 | admin_district: String 32 | admin_county: String 33 | admin_ward: String 34 | parish: String 35 | parliamentary_constituency: String 36 | ccg: String 37 | ced: String 38 | nuts: String 39 | } 40 | 41 | type Geo { 42 | postcode: String 43 | quality: String 44 | eastings: Int 45 | northings: Int 46 | country: String 47 | nhs_ha: String 48 | longitude: Float 49 | latitude: Float 50 | european_electoral_region: String 51 | primary_care_trust: String 52 | region: String 53 | lsoa: String 54 | msoa: String 55 | incode: String 56 | outcode: String 57 | parliamentary_constituency: String 58 | admin_district: String 59 | parish: String 60 | admin_county: String 61 | admin_ward: String 62 | ced: String 63 | ccg: String 64 | nuts: String 65 | codes: GeoCodes 66 | } 67 | 68 | type ContactCHC { 69 | address: [String] 70 | email: String 71 | person: String @deprecated(reason: "The Charity Commission stopped sharing this information.") 72 | phone: String 73 | postcode: String 74 | } 75 | 76 | type PeopleCHC { 77 | employees: Int 78 | trustees: Int 79 | volunteers: Int 80 | } 81 | 82 | type OrgId { 83 | id: ID 84 | scheme: String 85 | rawId: String 86 | } 87 | 88 | type Name { 89 | value: String 90 | primary: Boolean 91 | } 92 | 93 | type RegistrationCHC { 94 | registrationDate: Date 95 | removalDate: Date 96 | removalCode: String 97 | removalReason: String 98 | } 99 | 100 | """ 101 | Charity registered in England & Wales 102 | """ 103 | type CharityCHC { 104 | id: ID 105 | """ 106 | Registered name of the charity 107 | """ 108 | name: String @deprecated(reason: "Use \`names\` instead.") 109 | names( 110 | """If \`true\` then all working names are returned""" 111 | all: Boolean = false 112 | ): [Name] 113 | """ 114 | Short description of the charity's activities 115 | """ 116 | activities: String 117 | finances( 118 | """If \`true\` then all annual finances are returned""" 119 | all: Boolean = false 120 | ): [FinancialCHC] 121 | areas: [IdName] 122 | areaOfBenefit: String 123 | causes: [IdName] 124 | beneficiaries: [IdName] 125 | operations: [IdName] 126 | grants: [Grant] 127 | geo: Geo 128 | contact: ContactCHC 129 | website: String 130 | governingDoc: String 131 | objectives: String 132 | numPeople: PeopleCHC 133 | orgIds: [OrgId] 134 | financialYearEnd: String 135 | registrations( 136 | """If \`true\` then all previous registrations are returned""" 137 | all: Boolean = false 138 | ): [RegistrationCHC] 139 | } 140 | ` 141 | 142 | module.exports = typeDefs 143 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # CharityBase GraphQL API 2 | 3 | * [Using the API](#using-the-api) 4 | * [Playground](#playground) 5 | * [Endpoint](#endpoint) 6 | * [Versioning](#versioning) 7 | * [Authorization](#authorization) 8 | * [Response](#response) 9 | * [Working on the API](#working-on-the-api) 10 | * [Development](#development) 11 | * [Dev Environment Variables](#dev-environment-variables) 12 | * [Deployment](#development) 13 | * [Prod Environment Variables](#prod-environment-variables) 14 | 15 | ## Using the API 16 | 17 | ### Playground 18 | 19 | For testing queries and viewing the interactive docs, use the [GraphiQL interface](https://charitybase.uk/api-explorer). 20 | 21 | ### Endpoint 22 | 23 | The API has a single endpoint: 24 | 25 | ``` 26 | https://charitybase.uk/api/graphql 27 | ``` 28 | 29 | As described in the [GraphQL docs](https://graphql.org/learn/serving-over-http/) you can send either a `GET` or `POST` request and the query string can either be written in the url or in the body (if using `POST`). 30 | 31 | ### Versioning 32 | 33 | The API is versionless - we won't introduce any breaking changes. [What?!](https://graphql.org/learn/best-practices/#versioning) 34 | 35 | ### Authorization 36 | 37 | Whether using `GET` or `POST`, send your API key in an Authorization header like so: 38 | 39 | ```json 40 | "Authorization": "Apikey 9447fa04-c15b-40e6-92b6-30307deeb5d1" 41 | ``` 42 | 43 | Replace the above key with your own (available from the [API Portal](https://charitybase.uk/api-portal)) and be sure to keep the `Apikey ` prefix as above. 44 | 45 | ### Response 46 | 47 | A JSON body response is returned of the form: 48 | 49 | ```js 50 | { 51 | "data": { ... }, // not present if the request query was badly formed 52 | "errors": [ ... ] // not present if there were no errors 53 | } 54 | ``` 55 | 56 | The response has a status code of `200` (even if errors occured) unless the query was badly formed in which case the status code is `400`. 57 | 58 | Conveniently the `data` object has the same shape as the query sent in the request. 59 | 60 | ## Working on the API 61 | 62 | ### Development 63 | 64 | ```bash 65 | yarn dev 66 | ``` 67 | 68 | #### Dev Environment Variables 69 | Expected environment variables are listed in `env` in [now.json](./now.json). You may define them in a `.env` as follows: 70 | 71 | ```bash 72 | # example .env file in charity-base-api 73 | CHARITY_BASE_ES_AWS_ACCESS_KEY_ID=example-key-id 74 | CHARITY_BASE_ES_AWS_SECRET_ACCESS_KEY=example-secret-key 75 | ... 76 | ``` 77 | 78 | Note: these values will not override any environment variables already set e.g. in your `.bash_profile`. 79 | 80 | 81 | ### Deployment 82 | 83 | ```bash 84 | yarn deploy:production 85 | ``` 86 | 87 | Note: this requires [Now](https://zeit.co/now) which can be installed globally with npm: `npm i -g now` 88 | 89 | #### Prod Environment Variables 90 | 91 | To ensure our sensitive environment variables are only accessible by the API code, we store them as [Now secrets](https://zeit.co/docs/v2/deployments/environment-variables-and-secrets/). This is achieved on the command line: 92 | 93 | ```bash 94 | now secret add charity-base-es-aws-access-key-id example-key-id 95 | now secret add charity-base-es-aws-secret-access-key example-secret-key 96 | ... 97 | ``` 98 | 99 | The environment variable names are mapped to the secret names in `env` in [now.json](./now.json). Note the `@` prefixing each secret name. 100 | -------------------------------------------------------------------------------- /helpers/logRequest.js: -------------------------------------------------------------------------------- 1 | const log = require('./logger') 2 | const { esClient } = require('../connection') 3 | const config = require('../config') 4 | 5 | const API_REQUESTS_INDEX = config.elastic.indexes.requests 6 | 7 | const apiRequestMapping = { 8 | _doc: { 9 | properties: { 10 | queryTime: { 11 | type: 'integer' 12 | }, 13 | apiKey: { 14 | properties: { 15 | id: { 16 | type: 'keyword' 17 | }, 18 | userId: { 19 | type: 'keyword' 20 | }, 21 | roles: { 22 | type: 'keyword' 23 | } 24 | } 25 | }, 26 | ip: { 27 | type: 'keyword' 28 | }, 29 | method: { 30 | type: 'keyword' 31 | }, 32 | originalUrl: { 33 | type: 'keyword' 34 | }, 35 | query: { 36 | type: 'text' 37 | }, 38 | variables: { 39 | type: 'text' 40 | }, 41 | operationName: { 42 | type: 'keyword' 43 | }, 44 | statusCode: { 45 | type: 'keyword' 46 | }, 47 | statusMessage: { 48 | type: 'text' 49 | }, 50 | bytesSent: { 51 | type: 'integer' 52 | }, 53 | version: { 54 | type: 'keyword' 55 | }, 56 | platformVersion: { 57 | type: 'keyword' 58 | }, 59 | device: { 60 | type: 'keyword' 61 | }, 62 | locale: { 63 | type: 'keyword' 64 | }, 65 | } 66 | } 67 | } 68 | 69 | async function createIndexIfNotExists(index) { 70 | try { 71 | const indexExists = await esClient.indices.exists({ 72 | index, 73 | }) 74 | if (indexExists) return 75 | } catch(e) { 76 | log.error(`Failed to check if index exists '${index}'`) 77 | log.error(e.message) 78 | } 79 | 80 | try { 81 | const res = await esClient.indices.create({ 82 | index, 83 | body: { 84 | settings: { 85 | 'index.mapping.coerce': true, 86 | 'index.mapping.ignore_malformed': false, 87 | 'index.requests.cache.enable': true, 88 | }, 89 | mappings: apiRequestMapping, 90 | } 91 | }) 92 | log.info(`Successfully created index '${index}'`) 93 | } catch(e) { 94 | log.error(`Failed to create index '${index}'`) 95 | log.error(e.message) 96 | } 97 | } 98 | 99 | const logRequest = (req, res, graphQLParams) => { 100 | try { 101 | const t0 = Date.now() 102 | 103 | const cleanup = () => { 104 | res.removeListener('finish', persist) 105 | } 106 | 107 | async function persist() { 108 | cleanup() 109 | 110 | const reqLog = { 111 | queryTime: Date.now() - t0, // does not include api key lookup 112 | apiKey: req.apiKey, 113 | ip: req.ip, 114 | method: req.method, 115 | originalUrl: req.originalUrl, 116 | query: graphQLParams.query, 117 | variables: JSON.stringify(graphQLParams.variables), 118 | operationName: graphQLParams.operationName, 119 | statusCode: res.statusCode, 120 | statusMessage: res.statusMessage, 121 | bytesSent: parseInt(res.get('Content-Length')) || 0, 122 | version: req.get('X-ClientVersion'), 123 | platformVersion: req.get('X-ClientPlatformVersion'), 124 | device: req.get('X-ClientDevice'), 125 | locale: req.get('X-ClientLocale'), 126 | } 127 | 128 | try { 129 | await esClient.create({ 130 | index: API_REQUESTS_INDEX, 131 | type: '_doc', 132 | id: `${t0}-${reqLog.queryTime}`, 133 | body: reqLog, 134 | }) 135 | log.info(`Successfully logged API request`) 136 | } catch(e) { 137 | log.error(`Failed to log API request`) 138 | log.error(reqLog) 139 | log.error(e.message) 140 | } 141 | } 142 | 143 | res.on('finish', persist) // does not account for 'close' or 'error' events 144 | 145 | } catch(e) { 146 | log.error(`Failed to log API request`) 147 | log.error(graphQLParams) 148 | log.error(e.message) 149 | } 150 | } 151 | 152 | createIndexIfNotExists(API_REQUESTS_INDEX) 153 | module.exports = logRequest 154 | -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- 1 | # THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. 2 | # yarn lockfile v1 3 | 4 | 5 | abab@^1.0.3: 6 | version "1.0.4" 7 | resolved "https://registry.yarnpkg.com/abab/-/abab-1.0.4.tgz#5faad9c2c07f60dd76770f71cf025b62a63cfd4e" 8 | 9 | abbrev@1: 10 | version "1.1.1" 11 | resolved "https://registry.yarnpkg.com/abbrev/-/abbrev-1.1.1.tgz#f8f2c887ad10bf67f634f005b6987fed3179aac8" 12 | 13 | accepts@^1.3.5, accepts@~1.3.5: 14 | version "1.3.5" 15 | resolved "https://registry.yarnpkg.com/accepts/-/accepts-1.3.5.tgz#eb777df6011723a3b14e8a72c0805c8e86746bd2" 16 | dependencies: 17 | mime-types "~2.1.18" 18 | negotiator "0.6.1" 19 | 20 | acorn-globals@^3.1.0: 21 | version "3.1.0" 22 | resolved "https://registry.yarnpkg.com/acorn-globals/-/acorn-globals-3.1.0.tgz#fd8270f71fbb4996b004fa880ee5d46573a731bf" 23 | dependencies: 24 | acorn "^4.0.4" 25 | 26 | acorn@^4.0.4: 27 | version "4.0.13" 28 | resolved "https://registry.yarnpkg.com/acorn/-/acorn-4.0.13.tgz#105495ae5361d697bd195c825192e1ad7f253787" 29 | 30 | agentkeepalive@^3.4.1: 31 | version "3.5.2" 32 | resolved "https://registry.yarnpkg.com/agentkeepalive/-/agentkeepalive-3.5.2.tgz#a113924dd3fa24a0bc3b78108c450c2abee00f67" 33 | dependencies: 34 | humanize-ms "^1.2.1" 35 | 36 | ajv@^6.5.5: 37 | version "6.8.1" 38 | resolved "https://registry.yarnpkg.com/ajv/-/ajv-6.8.1.tgz#0890b93742985ebf8973cd365c5b23920ce3cb20" 39 | dependencies: 40 | fast-deep-equal "^2.0.1" 41 | fast-json-stable-stringify "^2.0.0" 42 | json-schema-traverse "^0.4.1" 43 | uri-js "^4.2.2" 44 | 45 | ansi-align@^2.0.0: 46 | version "2.0.0" 47 | resolved "https://registry.yarnpkg.com/ansi-align/-/ansi-align-2.0.0.tgz#c36aeccba563b89ceb556f3690f0b1d9e3547f7f" 48 | dependencies: 49 | string-width "^2.0.0" 50 | 51 | ansi-escapes@^1.4.0: 52 | version "1.4.0" 53 | resolved "https://registry.yarnpkg.com/ansi-escapes/-/ansi-escapes-1.4.0.tgz#d3a8a83b319aa67793662b13e761c7911422306e" 54 | 55 | ansi-regex@^2.0.0, ansi-regex@^2.1.1: 56 | version "2.1.1" 57 | resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-2.1.1.tgz#c3b33ab5ee360d86e0e628f0468ae7ef27d654df" 58 | 59 | ansi-regex@^3.0.0: 60 | version "3.0.0" 61 | resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-3.0.0.tgz#ed0317c322064f79466c02966bddb605ab37d998" 62 | 63 | ansi-styles@^2.2.1: 64 | version "2.2.1" 65 | resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-2.2.1.tgz#b432dd3358b634cf75e1e4664368240533c1ddbe" 66 | 67 | ansi-styles@^3.0.0, ansi-styles@^3.2.1: 68 | version "3.2.1" 69 | resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-3.2.1.tgz#41fbb20243e50b12be0f04b8dedbf07520ce841d" 70 | dependencies: 71 | color-convert "^1.9.0" 72 | 73 | anymatch@^1.3.0: 74 | version "1.3.2" 75 | resolved "https://registry.yarnpkg.com/anymatch/-/anymatch-1.3.2.tgz#553dcb8f91e3c889845dfdba34c77721b90b9d7a" 76 | dependencies: 77 | micromatch "^2.1.5" 78 | normalize-path "^2.0.0" 79 | 80 | anymatch@^2.0.0: 81 | version "2.0.0" 82 | resolved "https://registry.yarnpkg.com/anymatch/-/anymatch-2.0.0.tgz#bcb24b4f37934d9aa7ac17b4adaf89e7c76ef2eb" 83 | dependencies: 84 | micromatch "^3.1.4" 85 | normalize-path "^2.1.1" 86 | 87 | apollo-link@^1.2.3: 88 | version "1.2.8" 89 | resolved "https://registry.yarnpkg.com/apollo-link/-/apollo-link-1.2.8.tgz#0f252adefd5047ac1a9f35ba9439d216587dcd84" 90 | dependencies: 91 | zen-observable-ts "^0.8.15" 92 | 93 | apollo-utilities@^1.0.1: 94 | version "1.1.3" 95 | resolved "https://registry.yarnpkg.com/apollo-utilities/-/apollo-utilities-1.1.3.tgz#a8883c0392f6b46eac0d366204ebf34be9307c87" 96 | dependencies: 97 | fast-json-stable-stringify "^2.0.0" 98 | tslib "^1.9.3" 99 | 100 | append-transform@^0.4.0: 101 | version "0.4.0" 102 | resolved "https://registry.yarnpkg.com/append-transform/-/append-transform-0.4.0.tgz#d76ebf8ca94d276e247a36bad44a4b74ab611991" 103 | dependencies: 104 | default-require-extensions "^1.0.0" 105 | 106 | aproba@^1.0.3: 107 | version "1.2.0" 108 | resolved "https://registry.yarnpkg.com/aproba/-/aproba-1.2.0.tgz#6802e6264efd18c790a1b0d517f0f2627bf2c94a" 109 | 110 | are-we-there-yet@~1.1.2: 111 | version "1.1.5" 112 | resolved "https://registry.yarnpkg.com/are-we-there-yet/-/are-we-there-yet-1.1.5.tgz#4b35c2944f062a8bfcda66410760350fe9ddfc21" 113 | dependencies: 114 | delegates "^1.0.0" 115 | readable-stream "^2.0.6" 116 | 117 | argparse@^1.0.7: 118 | version "1.0.10" 119 | resolved "https://registry.yarnpkg.com/argparse/-/argparse-1.0.10.tgz#bcd6791ea5ae09725e17e5ad988134cd40b3d911" 120 | dependencies: 121 | sprintf-js "~1.0.2" 122 | 123 | arr-diff@^2.0.0: 124 | version "2.0.0" 125 | resolved "https://registry.yarnpkg.com/arr-diff/-/arr-diff-2.0.0.tgz#8f3b827f955a8bd669697e4a4256ac3ceae356cf" 126 | dependencies: 127 | arr-flatten "^1.0.1" 128 | 129 | arr-diff@^4.0.0: 130 | version "4.0.0" 131 | resolved "https://registry.yarnpkg.com/arr-diff/-/arr-diff-4.0.0.tgz#d6461074febfec71e7e15235761a329a5dc7c520" 132 | 133 | arr-flatten@^1.0.1, arr-flatten@^1.1.0: 134 | version "1.1.0" 135 | resolved "https://registry.yarnpkg.com/arr-flatten/-/arr-flatten-1.1.0.tgz#36048bbff4e7b47e136644316c99669ea5ae91f1" 136 | 137 | arr-union@^3.1.0: 138 | version "3.1.0" 139 | resolved "https://registry.yarnpkg.com/arr-union/-/arr-union-3.1.0.tgz#e39b09aea9def866a8f206e288af63919bae39c4" 140 | 141 | array-equal@^1.0.0: 142 | version "1.0.0" 143 | resolved "https://registry.yarnpkg.com/array-equal/-/array-equal-1.0.0.tgz#8c2a5ef2472fd9ea742b04c77a75093ba2757c93" 144 | 145 | array-flatten@1.1.1: 146 | version "1.1.1" 147 | resolved "https://registry.yarnpkg.com/array-flatten/-/array-flatten-1.1.1.tgz#9a5f699051b1e7073328f2a008968b64ea2955d2" 148 | 149 | array-unique@^0.2.1: 150 | version "0.2.1" 151 | resolved "https://registry.yarnpkg.com/array-unique/-/array-unique-0.2.1.tgz#a1d97ccafcbc2625cc70fadceb36a50c58b01a53" 152 | 153 | array-unique@^0.3.2: 154 | version "0.3.2" 155 | resolved "https://registry.yarnpkg.com/array-unique/-/array-unique-0.3.2.tgz#a894b75d4bc4f6cd679ef3244a9fd8f46ae2d428" 156 | 157 | arrify@^1.0.1: 158 | version "1.0.1" 159 | resolved "https://registry.yarnpkg.com/arrify/-/arrify-1.0.1.tgz#898508da2226f380df904728456849c1501a4b0d" 160 | 161 | asn1@~0.2.3: 162 | version "0.2.4" 163 | resolved "https://registry.yarnpkg.com/asn1/-/asn1-0.2.4.tgz#8d2475dfab553bb33e77b54e59e880bb8ce23136" 164 | dependencies: 165 | safer-buffer "~2.1.0" 166 | 167 | assert-plus@1.0.0, assert-plus@^1.0.0: 168 | version "1.0.0" 169 | resolved "https://registry.yarnpkg.com/assert-plus/-/assert-plus-1.0.0.tgz#f12e0f3c5d77b0b1cdd9146942e4e96c1e4dd525" 170 | 171 | assign-symbols@^1.0.0: 172 | version "1.0.0" 173 | resolved "https://registry.yarnpkg.com/assign-symbols/-/assign-symbols-1.0.0.tgz#59667f41fadd4f20ccbc2bb96b8d4f7f78ec0367" 174 | 175 | async-each@^1.0.1: 176 | version "1.0.1" 177 | resolved "https://registry.yarnpkg.com/async-each/-/async-each-1.0.1.tgz#19d386a1d9edc6e7c1c85d388aedbcc56d33602d" 178 | 179 | async@^2.1.4, async@^2.5.0: 180 | version "2.6.1" 181 | resolved "https://registry.yarnpkg.com/async/-/async-2.6.1.tgz#b245a23ca71930044ec53fa46aa00a3e87c6a610" 182 | dependencies: 183 | lodash "^4.17.10" 184 | 185 | asynckit@^0.4.0: 186 | version "0.4.0" 187 | resolved "https://registry.yarnpkg.com/asynckit/-/asynckit-0.4.0.tgz#c79ed97f7f34cb8f2ba1bc9790bcc366474b4b79" 188 | 189 | atob@^2.1.1: 190 | version "2.1.2" 191 | resolved "https://registry.yarnpkg.com/atob/-/atob-2.1.2.tgz#6d9517eb9e030d2436666651e86bd9f6f13533c9" 192 | 193 | aws-sdk@^2.397.0: 194 | version "2.397.0" 195 | resolved "https://registry.yarnpkg.com/aws-sdk/-/aws-sdk-2.397.0.tgz#4397a091bc48755bfc8082118906c3a99def20d2" 196 | dependencies: 197 | buffer "4.9.1" 198 | events "1.1.1" 199 | ieee754 "1.1.8" 200 | jmespath "0.15.0" 201 | querystring "0.2.0" 202 | sax "1.2.1" 203 | url "0.10.3" 204 | uuid "3.3.2" 205 | xml2js "0.4.19" 206 | 207 | aws-sign2@~0.7.0: 208 | version "0.7.0" 209 | resolved "https://registry.yarnpkg.com/aws-sign2/-/aws-sign2-0.7.0.tgz#b46e890934a9591f2d2f6f86d7e6a9f1b3fe76a8" 210 | 211 | aws4@^1.8.0: 212 | version "1.8.0" 213 | resolved "https://registry.yarnpkg.com/aws4/-/aws4-1.8.0.tgz#f0e003d9ca9e7f59c7a508945d7b2ef9a04a542f" 214 | 215 | babel-code-frame@^6.26.0: 216 | version "6.26.0" 217 | resolved "https://registry.yarnpkg.com/babel-code-frame/-/babel-code-frame-6.26.0.tgz#63fd43f7dc1e3bb7ce35947db8fe369a3f58c74b" 218 | dependencies: 219 | chalk "^1.1.3" 220 | esutils "^2.0.2" 221 | js-tokens "^3.0.2" 222 | 223 | babel-core@^6.0.0, babel-core@^6.26.0: 224 | version "6.26.3" 225 | resolved "https://registry.yarnpkg.com/babel-core/-/babel-core-6.26.3.tgz#b2e2f09e342d0f0c88e2f02e067794125e75c207" 226 | dependencies: 227 | babel-code-frame "^6.26.0" 228 | babel-generator "^6.26.0" 229 | babel-helpers "^6.24.1" 230 | babel-messages "^6.23.0" 231 | babel-register "^6.26.0" 232 | babel-runtime "^6.26.0" 233 | babel-template "^6.26.0" 234 | babel-traverse "^6.26.0" 235 | babel-types "^6.26.0" 236 | babylon "^6.18.0" 237 | convert-source-map "^1.5.1" 238 | debug "^2.6.9" 239 | json5 "^0.5.1" 240 | lodash "^4.17.4" 241 | minimatch "^3.0.4" 242 | path-is-absolute "^1.0.1" 243 | private "^0.1.8" 244 | slash "^1.0.0" 245 | source-map "^0.5.7" 246 | 247 | babel-generator@^6.18.0, babel-generator@^6.26.0: 248 | version "6.26.1" 249 | resolved "https://registry.yarnpkg.com/babel-generator/-/babel-generator-6.26.1.tgz#1844408d3b8f0d35a404ea7ac180f087a601bd90" 250 | dependencies: 251 | babel-messages "^6.23.0" 252 | babel-runtime "^6.26.0" 253 | babel-types "^6.26.0" 254 | detect-indent "^4.0.0" 255 | jsesc "^1.3.0" 256 | lodash "^4.17.4" 257 | source-map "^0.5.7" 258 | trim-right "^1.0.1" 259 | 260 | babel-helpers@^6.24.1: 261 | version "6.24.1" 262 | resolved "https://registry.yarnpkg.com/babel-helpers/-/babel-helpers-6.24.1.tgz#3471de9caec388e5c850e597e58a26ddf37602b2" 263 | dependencies: 264 | babel-runtime "^6.22.0" 265 | babel-template "^6.24.1" 266 | 267 | babel-jest@^20.0.3: 268 | version "20.0.3" 269 | resolved "https://registry.yarnpkg.com/babel-jest/-/babel-jest-20.0.3.tgz#e4a03b13dc10389e140fc645d09ffc4ced301671" 270 | dependencies: 271 | babel-core "^6.0.0" 272 | babel-plugin-istanbul "^4.0.0" 273 | babel-preset-jest "^20.0.3" 274 | 275 | babel-messages@^6.23.0: 276 | version "6.23.0" 277 | resolved "https://registry.yarnpkg.com/babel-messages/-/babel-messages-6.23.0.tgz#f3cdf4703858035b2a2951c6ec5edf6c62f2630e" 278 | dependencies: 279 | babel-runtime "^6.22.0" 280 | 281 | babel-plugin-istanbul@^4.0.0: 282 | version "4.1.6" 283 | resolved "https://registry.yarnpkg.com/babel-plugin-istanbul/-/babel-plugin-istanbul-4.1.6.tgz#36c59b2192efce81c5b378321b74175add1c9a45" 284 | dependencies: 285 | babel-plugin-syntax-object-rest-spread "^6.13.0" 286 | find-up "^2.1.0" 287 | istanbul-lib-instrument "^1.10.1" 288 | test-exclude "^4.2.1" 289 | 290 | babel-plugin-jest-hoist@^20.0.3: 291 | version "20.0.3" 292 | resolved "https://registry.yarnpkg.com/babel-plugin-jest-hoist/-/babel-plugin-jest-hoist-20.0.3.tgz#afedc853bd3f8dc3548ea671fbe69d03cc2c1767" 293 | 294 | babel-plugin-syntax-object-rest-spread@^6.13.0: 295 | version "6.13.0" 296 | resolved "https://registry.yarnpkg.com/babel-plugin-syntax-object-rest-spread/-/babel-plugin-syntax-object-rest-spread-6.13.0.tgz#fd6536f2bce13836ffa3a5458c4903a597bb3bf5" 297 | 298 | babel-preset-jest@^20.0.3: 299 | version "20.0.3" 300 | resolved "https://registry.yarnpkg.com/babel-preset-jest/-/babel-preset-jest-20.0.3.tgz#cbacaadecb5d689ca1e1de1360ebfc66862c178a" 301 | dependencies: 302 | babel-plugin-jest-hoist "^20.0.3" 303 | 304 | babel-register@^6.26.0: 305 | version "6.26.0" 306 | resolved "https://registry.yarnpkg.com/babel-register/-/babel-register-6.26.0.tgz#6ed021173e2fcb486d7acb45c6009a856f647071" 307 | dependencies: 308 | babel-core "^6.26.0" 309 | babel-runtime "^6.26.0" 310 | core-js "^2.5.0" 311 | home-or-tmp "^2.0.0" 312 | lodash "^4.17.4" 313 | mkdirp "^0.5.1" 314 | source-map-support "^0.4.15" 315 | 316 | babel-runtime@^6.22.0, babel-runtime@^6.26.0: 317 | version "6.26.0" 318 | resolved "https://registry.yarnpkg.com/babel-runtime/-/babel-runtime-6.26.0.tgz#965c7058668e82b55d7bfe04ff2337bc8b5647fe" 319 | dependencies: 320 | core-js "^2.4.0" 321 | regenerator-runtime "^0.11.0" 322 | 323 | babel-template@^6.16.0, babel-template@^6.24.1, babel-template@^6.26.0: 324 | version "6.26.0" 325 | resolved "https://registry.yarnpkg.com/babel-template/-/babel-template-6.26.0.tgz#de03e2d16396b069f46dd9fff8521fb1a0e35e02" 326 | dependencies: 327 | babel-runtime "^6.26.0" 328 | babel-traverse "^6.26.0" 329 | babel-types "^6.26.0" 330 | babylon "^6.18.0" 331 | lodash "^4.17.4" 332 | 333 | babel-traverse@^6.18.0, babel-traverse@^6.26.0: 334 | version "6.26.0" 335 | resolved "https://registry.yarnpkg.com/babel-traverse/-/babel-traverse-6.26.0.tgz#46a9cbd7edcc62c8e5c064e2d2d8d0f4035766ee" 336 | dependencies: 337 | babel-code-frame "^6.26.0" 338 | babel-messages "^6.23.0" 339 | babel-runtime "^6.26.0" 340 | babel-types "^6.26.0" 341 | babylon "^6.18.0" 342 | debug "^2.6.8" 343 | globals "^9.18.0" 344 | invariant "^2.2.2" 345 | lodash "^4.17.4" 346 | 347 | babel-types@^6.18.0, babel-types@^6.26.0: 348 | version "6.26.0" 349 | resolved "https://registry.yarnpkg.com/babel-types/-/babel-types-6.26.0.tgz#a3b073f94ab49eb6fa55cd65227a334380632497" 350 | dependencies: 351 | babel-runtime "^6.26.0" 352 | esutils "^2.0.2" 353 | lodash "^4.17.4" 354 | to-fast-properties "^1.0.3" 355 | 356 | babylon@^6.18.0: 357 | version "6.18.0" 358 | resolved "https://registry.yarnpkg.com/babylon/-/babylon-6.18.0.tgz#af2f3b88fa6f5c1e4c634d1a0f8eac4f55b395e3" 359 | 360 | balanced-match@^1.0.0: 361 | version "1.0.0" 362 | resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-1.0.0.tgz#89b4d199ab2bee49de164ea02b89ce462d71b767" 363 | 364 | base64-js@^1.0.2: 365 | version "1.3.0" 366 | resolved "https://registry.yarnpkg.com/base64-js/-/base64-js-1.3.0.tgz#cab1e6118f051095e58b5281aea8c1cd22bfc0e3" 367 | 368 | base@^0.11.1: 369 | version "0.11.2" 370 | resolved "https://registry.yarnpkg.com/base/-/base-0.11.2.tgz#7bde5ced145b6d551a90db87f83c558b4eb48a8f" 371 | dependencies: 372 | cache-base "^1.0.1" 373 | class-utils "^0.3.5" 374 | component-emitter "^1.2.1" 375 | define-property "^1.0.0" 376 | isobject "^3.0.1" 377 | mixin-deep "^1.2.0" 378 | pascalcase "^0.1.1" 379 | 380 | bcrypt-pbkdf@^1.0.0: 381 | version "1.0.2" 382 | resolved "https://registry.yarnpkg.com/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.2.tgz#a4301d389b6a43f9b67ff3ca11a3f6637e360e9e" 383 | dependencies: 384 | tweetnacl "^0.14.3" 385 | 386 | binary-extensions@^1.0.0: 387 | version "1.13.0" 388 | resolved "https://registry.yarnpkg.com/binary-extensions/-/binary-extensions-1.13.0.tgz#9523e001306a32444b907423f1de2164222f6ab1" 389 | 390 | body-parser@1.18.3: 391 | version "1.18.3" 392 | resolved "https://registry.yarnpkg.com/body-parser/-/body-parser-1.18.3.tgz#5b292198ffdd553b3a0f20ded0592b956955c8b4" 393 | dependencies: 394 | bytes "3.0.0" 395 | content-type "~1.0.4" 396 | debug "2.6.9" 397 | depd "~1.1.2" 398 | http-errors "~1.6.3" 399 | iconv-lite "0.4.23" 400 | on-finished "~2.3.0" 401 | qs "6.5.2" 402 | raw-body "2.3.3" 403 | type-is "~1.6.16" 404 | 405 | boxen@^1.2.1: 406 | version "1.3.0" 407 | resolved "https://registry.yarnpkg.com/boxen/-/boxen-1.3.0.tgz#55c6c39a8ba58d9c61ad22cd877532deb665a20b" 408 | dependencies: 409 | ansi-align "^2.0.0" 410 | camelcase "^4.0.0" 411 | chalk "^2.0.1" 412 | cli-boxes "^1.0.0" 413 | string-width "^2.0.0" 414 | term-size "^1.2.0" 415 | widest-line "^2.0.0" 416 | 417 | brace-expansion@^1.1.7: 418 | version "1.1.11" 419 | resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-1.1.11.tgz#3c7fcbf529d87226f3d2f52b966ff5271eb441dd" 420 | dependencies: 421 | balanced-match "^1.0.0" 422 | concat-map "0.0.1" 423 | 424 | braces@^1.8.2: 425 | version "1.8.5" 426 | resolved "https://registry.yarnpkg.com/braces/-/braces-1.8.5.tgz#ba77962e12dff969d6b76711e914b737857bf6a7" 427 | dependencies: 428 | expand-range "^1.8.1" 429 | preserve "^0.2.0" 430 | repeat-element "^1.1.2" 431 | 432 | braces@^2.3.1, braces@^2.3.2: 433 | version "2.3.2" 434 | resolved "https://registry.yarnpkg.com/braces/-/braces-2.3.2.tgz#5979fd3f14cd531565e5fa2df1abfff1dfaee729" 435 | dependencies: 436 | arr-flatten "^1.1.0" 437 | array-unique "^0.3.2" 438 | extend-shallow "^2.0.1" 439 | fill-range "^4.0.0" 440 | isobject "^3.0.1" 441 | repeat-element "^1.1.2" 442 | snapdragon "^0.8.1" 443 | snapdragon-node "^2.0.1" 444 | split-string "^3.0.2" 445 | to-regex "^3.0.1" 446 | 447 | browser-resolve@^1.11.2: 448 | version "1.11.3" 449 | resolved "https://registry.yarnpkg.com/browser-resolve/-/browser-resolve-1.11.3.tgz#9b7cbb3d0f510e4cb86bdbd796124d28b5890af6" 450 | dependencies: 451 | resolve "1.1.7" 452 | 453 | bser@1.0.2: 454 | version "1.0.2" 455 | resolved "https://registry.yarnpkg.com/bser/-/bser-1.0.2.tgz#381116970b2a6deea5646dd15dd7278444b56169" 456 | dependencies: 457 | node-int64 "^0.4.0" 458 | 459 | bser@^2.0.0: 460 | version "2.0.0" 461 | resolved "https://registry.yarnpkg.com/bser/-/bser-2.0.0.tgz#9ac78d3ed5d915804fd87acb158bc797147a1719" 462 | dependencies: 463 | node-int64 "^0.4.0" 464 | 465 | buffer@4.9.1: 466 | version "4.9.1" 467 | resolved "https://registry.yarnpkg.com/buffer/-/buffer-4.9.1.tgz#6d1bb601b07a4efced97094132093027c95bc298" 468 | dependencies: 469 | base64-js "^1.0.2" 470 | ieee754 "^1.1.4" 471 | isarray "^1.0.0" 472 | 473 | builtin-modules@^1.0.0: 474 | version "1.1.1" 475 | resolved "https://registry.yarnpkg.com/builtin-modules/-/builtin-modules-1.1.1.tgz#270f076c5a72c02f5b65a47df94c5fe3a278892f" 476 | 477 | bunyan@^1.8.12: 478 | version "1.8.12" 479 | resolved "https://registry.yarnpkg.com/bunyan/-/bunyan-1.8.12.tgz#f150f0f6748abdd72aeae84f04403be2ef113797" 480 | optionalDependencies: 481 | dtrace-provider "~0.8" 482 | moment "^2.10.6" 483 | mv "~2" 484 | safe-json-stringify "~1" 485 | 486 | bytes@3.0.0: 487 | version "3.0.0" 488 | resolved "https://registry.yarnpkg.com/bytes/-/bytes-3.0.0.tgz#d32815404d689699f85a4ea4fa8755dd13a96048" 489 | 490 | cache-base@^1.0.1: 491 | version "1.0.1" 492 | resolved "https://registry.yarnpkg.com/cache-base/-/cache-base-1.0.1.tgz#0a7f46416831c8b662ee36fe4e7c59d76f666ab2" 493 | dependencies: 494 | collection-visit "^1.0.0" 495 | component-emitter "^1.2.1" 496 | get-value "^2.0.6" 497 | has-value "^1.0.0" 498 | isobject "^3.0.1" 499 | set-value "^2.0.0" 500 | to-object-path "^0.3.0" 501 | union-value "^1.0.0" 502 | unset-value "^1.0.0" 503 | 504 | callsites@^2.0.0: 505 | version "2.0.0" 506 | resolved "https://registry.yarnpkg.com/callsites/-/callsites-2.0.0.tgz#06eb84f00eea413da86affefacbffb36093b3c50" 507 | 508 | camelcase@^3.0.0: 509 | version "3.0.0" 510 | resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-3.0.0.tgz#32fc4b9fcdaf845fcdf7e73bb97cac2261f0ab0a" 511 | 512 | camelcase@^4.0.0: 513 | version "4.1.0" 514 | resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-4.1.0.tgz#d545635be1e33c542649c69173e5de6acfae34dd" 515 | 516 | capture-stack-trace@^1.0.0: 517 | version "1.0.1" 518 | resolved "https://registry.yarnpkg.com/capture-stack-trace/-/capture-stack-trace-1.0.1.tgz#a6c0bbe1f38f3aa0b92238ecb6ff42c344d4135d" 519 | 520 | caseless@~0.12.0: 521 | version "0.12.0" 522 | resolved "https://registry.yarnpkg.com/caseless/-/caseless-0.12.0.tgz#1b681c21ff84033c826543090689420d187151dc" 523 | 524 | chalk@^1.0.0, chalk@^1.1.3: 525 | version "1.1.3" 526 | resolved "https://registry.yarnpkg.com/chalk/-/chalk-1.1.3.tgz#a8115c55e4a702fe4d150abd3872822a7e09fc98" 527 | dependencies: 528 | ansi-styles "^2.2.1" 529 | escape-string-regexp "^1.0.2" 530 | has-ansi "^2.0.0" 531 | strip-ansi "^3.0.0" 532 | supports-color "^2.0.0" 533 | 534 | chalk@^2.0.1: 535 | version "2.4.2" 536 | resolved "https://registry.yarnpkg.com/chalk/-/chalk-2.4.2.tgz#cd42541677a54333cf541a49108c1432b44c9424" 537 | dependencies: 538 | ansi-styles "^3.2.1" 539 | escape-string-regexp "^1.0.5" 540 | supports-color "^5.3.0" 541 | 542 | chokidar@^2.0.4: 543 | version "2.1.0" 544 | resolved "https://registry.yarnpkg.com/chokidar/-/chokidar-2.1.0.tgz#5fcb70d0b28ebe0867eb0f09d5f6a08f29a1efa0" 545 | dependencies: 546 | anymatch "^2.0.0" 547 | async-each "^1.0.1" 548 | braces "^2.3.2" 549 | glob-parent "^3.1.0" 550 | inherits "^2.0.3" 551 | is-binary-path "^1.0.0" 552 | is-glob "^4.0.0" 553 | normalize-path "^3.0.0" 554 | path-is-absolute "^1.0.0" 555 | readdirp "^2.2.1" 556 | upath "^1.1.0" 557 | optionalDependencies: 558 | fsevents "^1.2.7" 559 | 560 | chownr@^1.1.1: 561 | version "1.1.1" 562 | resolved "https://registry.yarnpkg.com/chownr/-/chownr-1.1.1.tgz#54726b8b8fff4df053c42187e801fb4412df1494" 563 | 564 | ci-info@^1.5.0: 565 | version "1.6.0" 566 | resolved "https://registry.yarnpkg.com/ci-info/-/ci-info-1.6.0.tgz#2ca20dbb9ceb32d4524a683303313f0304b1e497" 567 | 568 | class-utils@^0.3.5: 569 | version "0.3.6" 570 | resolved "https://registry.yarnpkg.com/class-utils/-/class-utils-0.3.6.tgz#f93369ae8b9a7ce02fd41faad0ca83033190c463" 571 | dependencies: 572 | arr-union "^3.1.0" 573 | define-property "^0.2.5" 574 | isobject "^3.0.0" 575 | static-extend "^0.1.1" 576 | 577 | cli-boxes@^1.0.0: 578 | version "1.0.0" 579 | resolved "https://registry.yarnpkg.com/cli-boxes/-/cli-boxes-1.0.0.tgz#4fa917c3e59c94a004cd61f8ee509da651687143" 580 | 581 | cliui@^3.2.0: 582 | version "3.2.0" 583 | resolved "https://registry.yarnpkg.com/cliui/-/cliui-3.2.0.tgz#120601537a916d29940f934da3b48d585a39213d" 584 | dependencies: 585 | string-width "^1.0.1" 586 | strip-ansi "^3.0.1" 587 | wrap-ansi "^2.0.0" 588 | 589 | code-point-at@^1.0.0: 590 | version "1.1.0" 591 | resolved "https://registry.yarnpkg.com/code-point-at/-/code-point-at-1.1.0.tgz#0d070b4d043a5bea33a2f1a40e2edb3d9a4ccf77" 592 | 593 | collection-visit@^1.0.0: 594 | version "1.0.0" 595 | resolved "https://registry.yarnpkg.com/collection-visit/-/collection-visit-1.0.0.tgz#4bc0373c164bc3291b4d368c829cf1a80a59dca0" 596 | dependencies: 597 | map-visit "^1.0.0" 598 | object-visit "^1.0.0" 599 | 600 | color-convert@^1.9.0: 601 | version "1.9.3" 602 | resolved "https://registry.yarnpkg.com/color-convert/-/color-convert-1.9.3.tgz#bb71850690e1f136567de629d2d5471deda4c1e8" 603 | dependencies: 604 | color-name "1.1.3" 605 | 606 | color-name@1.1.3: 607 | version "1.1.3" 608 | resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.3.tgz#a7d0558bd89c42f795dd42328f740831ca53bc25" 609 | 610 | combined-stream@^1.0.6, combined-stream@~1.0.6: 611 | version "1.0.7" 612 | resolved "https://registry.yarnpkg.com/combined-stream/-/combined-stream-1.0.7.tgz#2d1d24317afb8abe95d6d2c0b07b57813539d828" 613 | dependencies: 614 | delayed-stream "~1.0.0" 615 | 616 | commander@~2.17.1: 617 | version "2.17.1" 618 | resolved "https://registry.yarnpkg.com/commander/-/commander-2.17.1.tgz#bd77ab7de6de94205ceacc72f1716d29f20a77bf" 619 | 620 | component-emitter@^1.2.1: 621 | version "1.2.1" 622 | resolved "https://registry.yarnpkg.com/component-emitter/-/component-emitter-1.2.1.tgz#137918d6d78283f7df7a6b7c5a63e140e69425e6" 623 | 624 | concat-map@0.0.1: 625 | version "0.0.1" 626 | resolved "https://registry.yarnpkg.com/concat-map/-/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b" 627 | 628 | configstore@^3.0.0: 629 | version "3.1.2" 630 | resolved "https://registry.yarnpkg.com/configstore/-/configstore-3.1.2.tgz#c6f25defaeef26df12dd33414b001fe81a543f8f" 631 | dependencies: 632 | dot-prop "^4.1.0" 633 | graceful-fs "^4.1.2" 634 | make-dir "^1.0.0" 635 | unique-string "^1.0.0" 636 | write-file-atomic "^2.0.0" 637 | xdg-basedir "^3.0.0" 638 | 639 | console-control-strings@^1.0.0, console-control-strings@~1.1.0: 640 | version "1.1.0" 641 | resolved "https://registry.yarnpkg.com/console-control-strings/-/console-control-strings-1.1.0.tgz#3d7cf4464db6446ea644bf4b39507f9851008e8e" 642 | 643 | content-disposition@0.5.2: 644 | version "0.5.2" 645 | resolved "https://registry.yarnpkg.com/content-disposition/-/content-disposition-0.5.2.tgz#0cf68bb9ddf5f2be7961c3a85178cb85dba78cb4" 646 | 647 | content-type-parser@^1.0.1: 648 | version "1.0.2" 649 | resolved "https://registry.yarnpkg.com/content-type-parser/-/content-type-parser-1.0.2.tgz#caabe80623e63638b2502fd4c7f12ff4ce2352e7" 650 | 651 | content-type@^1.0.4, content-type@~1.0.4: 652 | version "1.0.4" 653 | resolved "https://registry.yarnpkg.com/content-type/-/content-type-1.0.4.tgz#e138cc75e040c727b1966fe5e5f8c9aee256fe3b" 654 | 655 | convert-source-map@^1.4.0, convert-source-map@^1.5.1: 656 | version "1.6.0" 657 | resolved "https://registry.yarnpkg.com/convert-source-map/-/convert-source-map-1.6.0.tgz#51b537a8c43e0f04dec1993bffcdd504e758ac20" 658 | dependencies: 659 | safe-buffer "~5.1.1" 660 | 661 | cookie-signature@1.0.6: 662 | version "1.0.6" 663 | resolved "https://registry.yarnpkg.com/cookie-signature/-/cookie-signature-1.0.6.tgz#e303a882b342cc3ee8ca513a79999734dab3ae2c" 664 | 665 | cookie@0.3.1: 666 | version "0.3.1" 667 | resolved "https://registry.yarnpkg.com/cookie/-/cookie-0.3.1.tgz#e7e0a1f9ef43b4c8ba925c5c5a96e806d16873bb" 668 | 669 | copy-descriptor@^0.1.0: 670 | version "0.1.1" 671 | resolved "https://registry.yarnpkg.com/copy-descriptor/-/copy-descriptor-0.1.1.tgz#676f6eb3c39997c2ee1ac3a924fd6124748f578d" 672 | 673 | core-js@^2.4.0, core-js@^2.5.0: 674 | version "2.6.3" 675 | resolved "https://registry.yarnpkg.com/core-js/-/core-js-2.6.3.tgz#4b70938bdffdaf64931e66e2db158f0892289c49" 676 | 677 | core-util-is@1.0.2, core-util-is@~1.0.0: 678 | version "1.0.2" 679 | resolved "https://registry.yarnpkg.com/core-util-is/-/core-util-is-1.0.2.tgz#b5fd54220aa2bc5ab57aab7140c940754503c1a7" 680 | 681 | cors@^2.8.1: 682 | version "2.8.5" 683 | resolved "https://registry.yarnpkg.com/cors/-/cors-2.8.5.tgz#eac11da51592dd86b9f06f6e7ac293b3df875d29" 684 | dependencies: 685 | object-assign "^4" 686 | vary "^1" 687 | 688 | create-error-class@^3.0.0: 689 | version "3.0.2" 690 | resolved "https://registry.yarnpkg.com/create-error-class/-/create-error-class-3.0.2.tgz#06be7abef947a3f14a30fd610671d401bca8b7b6" 691 | dependencies: 692 | capture-stack-trace "^1.0.0" 693 | 694 | cross-spawn@^5.0.1: 695 | version "5.1.0" 696 | resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-5.1.0.tgz#e8bd0efee58fcff6f8f94510a0a554bbfa235449" 697 | dependencies: 698 | lru-cache "^4.0.1" 699 | shebang-command "^1.2.0" 700 | which "^1.2.9" 701 | 702 | crypto-random-string@^1.0.0: 703 | version "1.0.0" 704 | resolved "https://registry.yarnpkg.com/crypto-random-string/-/crypto-random-string-1.0.0.tgz#a230f64f568310e1498009940790ec99545bca7e" 705 | 706 | cssom@0.3.x, "cssom@>= 0.3.2 < 0.4.0": 707 | version "0.3.6" 708 | resolved "https://registry.yarnpkg.com/cssom/-/cssom-0.3.6.tgz#f85206cee04efa841f3c5982a74ba96ab20d65ad" 709 | 710 | "cssstyle@>= 0.2.37 < 0.3.0": 711 | version "0.2.37" 712 | resolved "https://registry.yarnpkg.com/cssstyle/-/cssstyle-0.2.37.tgz#541097234cb2513c83ceed3acddc27ff27987d54" 713 | dependencies: 714 | cssom "0.3.x" 715 | 716 | dashdash@^1.12.0: 717 | version "1.14.1" 718 | resolved "https://registry.yarnpkg.com/dashdash/-/dashdash-1.14.1.tgz#853cfa0f7cbe2fed5de20326b8dd581035f6e2f0" 719 | dependencies: 720 | assert-plus "^1.0.0" 721 | 722 | debug@2.6.9, debug@^2.1.2, debug@^2.2.0, debug@^2.3.3, debug@^2.6.8, debug@^2.6.9: 723 | version "2.6.9" 724 | resolved "https://registry.yarnpkg.com/debug/-/debug-2.6.9.tgz#5d128515df134ff327e90a4c93f4e077a536341f" 725 | dependencies: 726 | ms "2.0.0" 727 | 728 | debug@^3.1.0: 729 | version "3.2.6" 730 | resolved "https://registry.yarnpkg.com/debug/-/debug-3.2.6.tgz#e83d17de16d8a7efb7717edbe5fb10135eee629b" 731 | dependencies: 732 | ms "^2.1.1" 733 | 734 | decamelize@^1.1.1: 735 | version "1.2.0" 736 | resolved "https://registry.yarnpkg.com/decamelize/-/decamelize-1.2.0.tgz#f6534d15148269b20352e7bee26f501f9a191290" 737 | 738 | decode-uri-component@^0.2.0: 739 | version "0.2.0" 740 | resolved "https://registry.yarnpkg.com/decode-uri-component/-/decode-uri-component-0.2.0.tgz#eb3913333458775cb84cd1a1fae062106bb87545" 741 | 742 | deep-extend@^0.6.0: 743 | version "0.6.0" 744 | resolved "https://registry.yarnpkg.com/deep-extend/-/deep-extend-0.6.0.tgz#c4fa7c95404a17a9c3e8ca7e1537312b736330ac" 745 | 746 | deep-is@~0.1.3: 747 | version "0.1.3" 748 | resolved "https://registry.yarnpkg.com/deep-is/-/deep-is-0.1.3.tgz#b369d6fb5dbc13eecf524f91b070feedc357cf34" 749 | 750 | default-require-extensions@^1.0.0: 751 | version "1.0.0" 752 | resolved "https://registry.yarnpkg.com/default-require-extensions/-/default-require-extensions-1.0.0.tgz#f37ea15d3e13ffd9b437d33e1a75b5fb97874cb8" 753 | dependencies: 754 | strip-bom "^2.0.0" 755 | 756 | define-property@^0.2.5: 757 | version "0.2.5" 758 | resolved "https://registry.yarnpkg.com/define-property/-/define-property-0.2.5.tgz#c35b1ef918ec3c990f9a5bc57be04aacec5c8116" 759 | dependencies: 760 | is-descriptor "^0.1.0" 761 | 762 | define-property@^1.0.0: 763 | version "1.0.0" 764 | resolved "https://registry.yarnpkg.com/define-property/-/define-property-1.0.0.tgz#769ebaaf3f4a63aad3af9e8d304c9bbe79bfb0e6" 765 | dependencies: 766 | is-descriptor "^1.0.0" 767 | 768 | define-property@^2.0.2: 769 | version "2.0.2" 770 | resolved "https://registry.yarnpkg.com/define-property/-/define-property-2.0.2.tgz#d459689e8d654ba77e02a817f8710d702cb16e9d" 771 | dependencies: 772 | is-descriptor "^1.0.2" 773 | isobject "^3.0.1" 774 | 775 | delayed-stream@~1.0.0: 776 | version "1.0.0" 777 | resolved "https://registry.yarnpkg.com/delayed-stream/-/delayed-stream-1.0.0.tgz#df3ae199acadfb7d440aaae0b29e2272b24ec619" 778 | 779 | delegates@^1.0.0: 780 | version "1.0.0" 781 | resolved "https://registry.yarnpkg.com/delegates/-/delegates-1.0.0.tgz#84c6e159b81904fdca59a0ef44cd870d31250f9a" 782 | 783 | depd@~1.1.2: 784 | version "1.1.2" 785 | resolved "https://registry.yarnpkg.com/depd/-/depd-1.1.2.tgz#9bcd52e14c097763e749b274c4346ed2e560b5a9" 786 | 787 | deprecated-decorator@^0.1.6: 788 | version "0.1.6" 789 | resolved "https://registry.yarnpkg.com/deprecated-decorator/-/deprecated-decorator-0.1.6.tgz#00966317b7a12fe92f3cc831f7583af329b86c37" 790 | 791 | destroy@~1.0.4: 792 | version "1.0.4" 793 | resolved "https://registry.yarnpkg.com/destroy/-/destroy-1.0.4.tgz#978857442c44749e4206613e37946205826abd80" 794 | 795 | detect-indent@^4.0.0: 796 | version "4.0.0" 797 | resolved "https://registry.yarnpkg.com/detect-indent/-/detect-indent-4.0.0.tgz#f76d064352cdf43a1cb6ce619c4ee3a9475de208" 798 | dependencies: 799 | repeating "^2.0.0" 800 | 801 | detect-libc@^1.0.2: 802 | version "1.0.3" 803 | resolved "https://registry.yarnpkg.com/detect-libc/-/detect-libc-1.0.3.tgz#fa137c4bd698edf55cd5cd02ac559f91a4c4ba9b" 804 | 805 | diff@^3.2.0: 806 | version "3.5.0" 807 | resolved "https://registry.yarnpkg.com/diff/-/diff-3.5.0.tgz#800c0dd1e0a8bfbc95835c202ad220fe317e5a12" 808 | 809 | dot-prop@^4.1.0: 810 | version "4.2.0" 811 | resolved "https://registry.yarnpkg.com/dot-prop/-/dot-prop-4.2.0.tgz#1f19e0c2e1aa0e32797c49799f2837ac6af69c57" 812 | dependencies: 813 | is-obj "^1.0.0" 814 | 815 | dotenv@^6.2.0: 816 | version "6.2.0" 817 | resolved "https://registry.yarnpkg.com/dotenv/-/dotenv-6.2.0.tgz#941c0410535d942c8becf28d3f357dbd9d476064" 818 | 819 | dtrace-provider@~0.8: 820 | version "0.8.7" 821 | resolved "https://registry.yarnpkg.com/dtrace-provider/-/dtrace-provider-0.8.7.tgz#dc939b4d3e0620cfe0c1cd803d0d2d7ed04ffd04" 822 | dependencies: 823 | nan "^2.10.0" 824 | 825 | duplexer3@^0.1.4: 826 | version "0.1.4" 827 | resolved "https://registry.yarnpkg.com/duplexer3/-/duplexer3-0.1.4.tgz#ee01dd1cac0ed3cbc7fdbea37dc0a8f1ce002ce2" 828 | 829 | ecc-jsbn@~0.1.1: 830 | version "0.1.2" 831 | resolved "https://registry.yarnpkg.com/ecc-jsbn/-/ecc-jsbn-0.1.2.tgz#3a83a904e54353287874c564b7549386849a98c9" 832 | dependencies: 833 | jsbn "~0.1.0" 834 | safer-buffer "^2.1.0" 835 | 836 | ee-first@1.1.1: 837 | version "1.1.1" 838 | resolved "https://registry.yarnpkg.com/ee-first/-/ee-first-1.1.1.tgz#590c61156b0ae2f4f0255732a158b266bc56b21d" 839 | 840 | elasticsearch@^15.0.0: 841 | version "15.4.0" 842 | resolved "https://registry.yarnpkg.com/elasticsearch/-/elasticsearch-15.4.0.tgz#7e9a90733f4a7f2183bc0a25acf7c6c6d31c127f" 843 | dependencies: 844 | agentkeepalive "^3.4.1" 845 | chalk "^1.0.0" 846 | lodash "^4.17.10" 847 | 848 | encodeurl@~1.0.2: 849 | version "1.0.2" 850 | resolved "https://registry.yarnpkg.com/encodeurl/-/encodeurl-1.0.2.tgz#ad3ff4c86ec2d029322f5a02c3a9a606c95b3f59" 851 | 852 | errno@~0.1.7: 853 | version "0.1.7" 854 | resolved "https://registry.yarnpkg.com/errno/-/errno-0.1.7.tgz#4684d71779ad39af177e3f007996f7c67c852618" 855 | dependencies: 856 | prr "~1.0.1" 857 | 858 | error-ex@^1.2.0: 859 | version "1.3.2" 860 | resolved "https://registry.yarnpkg.com/error-ex/-/error-ex-1.3.2.tgz#b4ac40648107fdcdcfae242f428bea8a14d4f1bf" 861 | dependencies: 862 | is-arrayish "^0.2.1" 863 | 864 | escape-html@~1.0.3: 865 | version "1.0.3" 866 | resolved "https://registry.yarnpkg.com/escape-html/-/escape-html-1.0.3.tgz#0258eae4d3d0c0974de1c169188ef0051d1d1988" 867 | 868 | escape-string-regexp@^1.0.2, escape-string-regexp@^1.0.5: 869 | version "1.0.5" 870 | resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz#1b61c0562190a8dff6ae3bb2cf0200ca130b86d4" 871 | 872 | escodegen@^1.6.1: 873 | version "1.11.0" 874 | resolved "https://registry.yarnpkg.com/escodegen/-/escodegen-1.11.0.tgz#b27a9389481d5bfd5bec76f7bb1eb3f8f4556589" 875 | dependencies: 876 | esprima "^3.1.3" 877 | estraverse "^4.2.0" 878 | esutils "^2.0.2" 879 | optionator "^0.8.1" 880 | optionalDependencies: 881 | source-map "~0.6.1" 882 | 883 | esprima@^3.1.3: 884 | version "3.1.3" 885 | resolved "https://registry.yarnpkg.com/esprima/-/esprima-3.1.3.tgz#fdca51cee6133895e3c88d535ce49dbff62a4633" 886 | 887 | esprima@^4.0.0: 888 | version "4.0.1" 889 | resolved "https://registry.yarnpkg.com/esprima/-/esprima-4.0.1.tgz#13b04cdb3e6c5d19df91ab6987a8695619b0aa71" 890 | 891 | estraverse@^4.2.0: 892 | version "4.2.0" 893 | resolved "https://registry.yarnpkg.com/estraverse/-/estraverse-4.2.0.tgz#0dee3fed31fcd469618ce7342099fc1afa0bdb13" 894 | 895 | esutils@^2.0.2: 896 | version "2.0.2" 897 | resolved "https://registry.yarnpkg.com/esutils/-/esutils-2.0.2.tgz#0abf4f1caa5bcb1f7a9d8acc6dea4faaa04bac9b" 898 | 899 | etag@~1.8.1: 900 | version "1.8.1" 901 | resolved "https://registry.yarnpkg.com/etag/-/etag-1.8.1.tgz#41ae2eeb65efa62268aebfea83ac7d79299b0887" 902 | 903 | events@1.1.1: 904 | version "1.1.1" 905 | resolved "https://registry.yarnpkg.com/events/-/events-1.1.1.tgz#9ebdb7635ad099c70dcc4c2a1f5004288e8bd924" 906 | 907 | exec-sh@^0.2.0: 908 | version "0.2.2" 909 | resolved "https://registry.yarnpkg.com/exec-sh/-/exec-sh-0.2.2.tgz#2a5e7ffcbd7d0ba2755bdecb16e5a427dfbdec36" 910 | dependencies: 911 | merge "^1.2.0" 912 | 913 | execa@^0.7.0: 914 | version "0.7.0" 915 | resolved "https://registry.yarnpkg.com/execa/-/execa-0.7.0.tgz#944becd34cc41ee32a63a9faf27ad5a65fc59777" 916 | dependencies: 917 | cross-spawn "^5.0.1" 918 | get-stream "^3.0.0" 919 | is-stream "^1.1.0" 920 | npm-run-path "^2.0.0" 921 | p-finally "^1.0.0" 922 | signal-exit "^3.0.0" 923 | strip-eof "^1.0.0" 924 | 925 | expand-brackets@^0.1.4: 926 | version "0.1.5" 927 | resolved "https://registry.yarnpkg.com/expand-brackets/-/expand-brackets-0.1.5.tgz#df07284e342a807cd733ac5af72411e581d1177b" 928 | dependencies: 929 | is-posix-bracket "^0.1.0" 930 | 931 | expand-brackets@^2.1.4: 932 | version "2.1.4" 933 | resolved "https://registry.yarnpkg.com/expand-brackets/-/expand-brackets-2.1.4.tgz#b77735e315ce30f6b6eff0f83b04151a22449622" 934 | dependencies: 935 | debug "^2.3.3" 936 | define-property "^0.2.5" 937 | extend-shallow "^2.0.1" 938 | posix-character-classes "^0.1.0" 939 | regex-not "^1.0.0" 940 | snapdragon "^0.8.1" 941 | to-regex "^3.0.1" 942 | 943 | expand-range@^1.8.1: 944 | version "1.8.2" 945 | resolved "https://registry.yarnpkg.com/expand-range/-/expand-range-1.8.2.tgz#a299effd335fe2721ebae8e257ec79644fc85337" 946 | dependencies: 947 | fill-range "^2.1.0" 948 | 949 | express-graphql@^0.7.1: 950 | version "0.7.1" 951 | resolved "https://registry.yarnpkg.com/express-graphql/-/express-graphql-0.7.1.tgz#6c7712ee966c3aba1930e064ea4c8181e56fd3ef" 952 | dependencies: 953 | accepts "^1.3.5" 954 | content-type "^1.0.4" 955 | http-errors "^1.7.1" 956 | raw-body "^2.3.3" 957 | 958 | express@^4.16.3: 959 | version "4.16.4" 960 | resolved "https://registry.yarnpkg.com/express/-/express-4.16.4.tgz#fddef61926109e24c515ea97fd2f1bdbf62df12e" 961 | dependencies: 962 | accepts "~1.3.5" 963 | array-flatten "1.1.1" 964 | body-parser "1.18.3" 965 | content-disposition "0.5.2" 966 | content-type "~1.0.4" 967 | cookie "0.3.1" 968 | cookie-signature "1.0.6" 969 | debug "2.6.9" 970 | depd "~1.1.2" 971 | encodeurl "~1.0.2" 972 | escape-html "~1.0.3" 973 | etag "~1.8.1" 974 | finalhandler "1.1.1" 975 | fresh "0.5.2" 976 | merge-descriptors "1.0.1" 977 | methods "~1.1.2" 978 | on-finished "~2.3.0" 979 | parseurl "~1.3.2" 980 | path-to-regexp "0.1.7" 981 | proxy-addr "~2.0.4" 982 | qs "6.5.2" 983 | range-parser "~1.2.0" 984 | safe-buffer "5.1.2" 985 | send "0.16.2" 986 | serve-static "1.13.2" 987 | setprototypeof "1.1.0" 988 | statuses "~1.4.0" 989 | type-is "~1.6.16" 990 | utils-merge "1.0.1" 991 | vary "~1.1.2" 992 | 993 | extend-shallow@^2.0.1: 994 | version "2.0.1" 995 | resolved "https://registry.yarnpkg.com/extend-shallow/-/extend-shallow-2.0.1.tgz#51af7d614ad9a9f610ea1bafbb989d6b1c56890f" 996 | dependencies: 997 | is-extendable "^0.1.0" 998 | 999 | extend-shallow@^3.0.0, extend-shallow@^3.0.2: 1000 | version "3.0.2" 1001 | resolved "https://registry.yarnpkg.com/extend-shallow/-/extend-shallow-3.0.2.tgz#26a71aaf073b39fb2127172746131c2704028db8" 1002 | dependencies: 1003 | assign-symbols "^1.0.0" 1004 | is-extendable "^1.0.1" 1005 | 1006 | extend@~3.0.2: 1007 | version "3.0.2" 1008 | resolved "https://registry.yarnpkg.com/extend/-/extend-3.0.2.tgz#f8b1136b4071fbd8eb140aff858b1019ec2915fa" 1009 | 1010 | extglob@^0.3.1: 1011 | version "0.3.2" 1012 | resolved "https://registry.yarnpkg.com/extglob/-/extglob-0.3.2.tgz#2e18ff3d2f49ab2765cec9023f011daa8d8349a1" 1013 | dependencies: 1014 | is-extglob "^1.0.0" 1015 | 1016 | extglob@^2.0.4: 1017 | version "2.0.4" 1018 | resolved "https://registry.yarnpkg.com/extglob/-/extglob-2.0.4.tgz#ad00fe4dc612a9232e8718711dc5cb5ab0285543" 1019 | dependencies: 1020 | array-unique "^0.3.2" 1021 | define-property "^1.0.0" 1022 | expand-brackets "^2.1.4" 1023 | extend-shallow "^2.0.1" 1024 | fragment-cache "^0.2.1" 1025 | regex-not "^1.0.0" 1026 | snapdragon "^0.8.1" 1027 | to-regex "^3.0.1" 1028 | 1029 | extsprintf@1.3.0: 1030 | version "1.3.0" 1031 | resolved "https://registry.yarnpkg.com/extsprintf/-/extsprintf-1.3.0.tgz#96918440e3041a7a414f8c52e3c574eb3c3e1e05" 1032 | 1033 | extsprintf@^1.2.0: 1034 | version "1.4.0" 1035 | resolved "https://registry.yarnpkg.com/extsprintf/-/extsprintf-1.4.0.tgz#e2689f8f356fad62cca65a3a91c5df5f9551692f" 1036 | 1037 | fast-deep-equal@^2.0.1: 1038 | version "2.0.1" 1039 | resolved "https://registry.yarnpkg.com/fast-deep-equal/-/fast-deep-equal-2.0.1.tgz#7b05218ddf9667bf7f370bf7fdb2cb15fdd0aa49" 1040 | 1041 | fast-json-stable-stringify@^2.0.0: 1042 | version "2.0.0" 1043 | resolved "https://registry.yarnpkg.com/fast-json-stable-stringify/-/fast-json-stable-stringify-2.0.0.tgz#d5142c0caee6b1189f87d3a76111064f86c8bbf2" 1044 | 1045 | fast-levenshtein@~2.0.4: 1046 | version "2.0.6" 1047 | resolved "https://registry.yarnpkg.com/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz#3d8a5c66883a16a30ca8643e851f19baa7797917" 1048 | 1049 | fb-watchman@^1.8.0: 1050 | version "1.9.2" 1051 | resolved "https://registry.yarnpkg.com/fb-watchman/-/fb-watchman-1.9.2.tgz#a24cf47827f82d38fb59a69ad70b76e3b6ae7383" 1052 | dependencies: 1053 | bser "1.0.2" 1054 | 1055 | fb-watchman@^2.0.0: 1056 | version "2.0.0" 1057 | resolved "https://registry.yarnpkg.com/fb-watchman/-/fb-watchman-2.0.0.tgz#54e9abf7dfa2f26cd9b1636c588c1afc05de5d58" 1058 | dependencies: 1059 | bser "^2.0.0" 1060 | 1061 | filename-regex@^2.0.0: 1062 | version "2.0.1" 1063 | resolved "https://registry.yarnpkg.com/filename-regex/-/filename-regex-2.0.1.tgz#c1c4b9bee3e09725ddb106b75c1e301fe2f18b26" 1064 | 1065 | fileset@^2.0.2: 1066 | version "2.0.3" 1067 | resolved "https://registry.yarnpkg.com/fileset/-/fileset-2.0.3.tgz#8e7548a96d3cc2327ee5e674168723a333bba2a0" 1068 | dependencies: 1069 | glob "^7.0.3" 1070 | minimatch "^3.0.3" 1071 | 1072 | fill-range@^2.1.0: 1073 | version "2.2.4" 1074 | resolved "https://registry.yarnpkg.com/fill-range/-/fill-range-2.2.4.tgz#eb1e773abb056dcd8df2bfdf6af59b8b3a936565" 1075 | dependencies: 1076 | is-number "^2.1.0" 1077 | isobject "^2.0.0" 1078 | randomatic "^3.0.0" 1079 | repeat-element "^1.1.2" 1080 | repeat-string "^1.5.2" 1081 | 1082 | fill-range@^4.0.0: 1083 | version "4.0.0" 1084 | resolved "https://registry.yarnpkg.com/fill-range/-/fill-range-4.0.0.tgz#d544811d428f98eb06a63dc402d2403c328c38f7" 1085 | dependencies: 1086 | extend-shallow "^2.0.1" 1087 | is-number "^3.0.0" 1088 | repeat-string "^1.6.1" 1089 | to-regex-range "^2.1.0" 1090 | 1091 | finalhandler@1.1.1: 1092 | version "1.1.1" 1093 | resolved "https://registry.yarnpkg.com/finalhandler/-/finalhandler-1.1.1.tgz#eebf4ed840079c83f4249038c9d703008301b105" 1094 | dependencies: 1095 | debug "2.6.9" 1096 | encodeurl "~1.0.2" 1097 | escape-html "~1.0.3" 1098 | on-finished "~2.3.0" 1099 | parseurl "~1.3.2" 1100 | statuses "~1.4.0" 1101 | unpipe "~1.0.0" 1102 | 1103 | find-up@^1.0.0: 1104 | version "1.1.2" 1105 | resolved "https://registry.yarnpkg.com/find-up/-/find-up-1.1.2.tgz#6b2e9822b1a2ce0a60ab64d610eccad53cb24d0f" 1106 | dependencies: 1107 | path-exists "^2.0.0" 1108 | pinkie-promise "^2.0.0" 1109 | 1110 | find-up@^2.1.0: 1111 | version "2.1.0" 1112 | resolved "https://registry.yarnpkg.com/find-up/-/find-up-2.1.0.tgz#45d1b7e506c717ddd482775a2b77920a3c0c57a7" 1113 | dependencies: 1114 | locate-path "^2.0.0" 1115 | 1116 | for-in@^1.0.1, for-in@^1.0.2: 1117 | version "1.0.2" 1118 | resolved "https://registry.yarnpkg.com/for-in/-/for-in-1.0.2.tgz#81068d295a8142ec0ac726c6e2200c30fb6d5e80" 1119 | 1120 | for-own@^0.1.4: 1121 | version "0.1.5" 1122 | resolved "https://registry.yarnpkg.com/for-own/-/for-own-0.1.5.tgz#5265c681a4f294dabbf17c9509b6763aa84510ce" 1123 | dependencies: 1124 | for-in "^1.0.1" 1125 | 1126 | forever-agent@~0.6.1: 1127 | version "0.6.1" 1128 | resolved "https://registry.yarnpkg.com/forever-agent/-/forever-agent-0.6.1.tgz#fbc71f0c41adeb37f96c577ad1ed42d8fdacca91" 1129 | 1130 | form-data@~2.3.2: 1131 | version "2.3.3" 1132 | resolved "https://registry.yarnpkg.com/form-data/-/form-data-2.3.3.tgz#dcce52c05f644f298c6a7ab936bd724ceffbf3a6" 1133 | dependencies: 1134 | asynckit "^0.4.0" 1135 | combined-stream "^1.0.6" 1136 | mime-types "^2.1.12" 1137 | 1138 | forwarded@~0.1.2: 1139 | version "0.1.2" 1140 | resolved "https://registry.yarnpkg.com/forwarded/-/forwarded-0.1.2.tgz#98c23dab1175657b8c0573e8ceccd91b0ff18c84" 1141 | 1142 | fragment-cache@^0.2.1: 1143 | version "0.2.1" 1144 | resolved "https://registry.yarnpkg.com/fragment-cache/-/fragment-cache-0.2.1.tgz#4290fad27f13e89be7f33799c6bc5a0abfff0d19" 1145 | dependencies: 1146 | map-cache "^0.2.2" 1147 | 1148 | fresh@0.5.2: 1149 | version "0.5.2" 1150 | resolved "https://registry.yarnpkg.com/fresh/-/fresh-0.5.2.tgz#3d8cadd90d976569fa835ab1f8e4b23a105605a7" 1151 | 1152 | fs-minipass@^1.2.5: 1153 | version "1.2.5" 1154 | resolved "https://registry.yarnpkg.com/fs-minipass/-/fs-minipass-1.2.5.tgz#06c277218454ec288df77ada54a03b8702aacb9d" 1155 | dependencies: 1156 | minipass "^2.2.1" 1157 | 1158 | fs.realpath@^1.0.0: 1159 | version "1.0.0" 1160 | resolved "https://registry.yarnpkg.com/fs.realpath/-/fs.realpath-1.0.0.tgz#1504ad2523158caa40db4a2787cb01411994ea4f" 1161 | 1162 | fsevents@^1.2.7: 1163 | version "1.2.7" 1164 | resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-1.2.7.tgz#4851b664a3783e52003b3c66eb0eee1074933aa4" 1165 | dependencies: 1166 | nan "^2.9.2" 1167 | node-pre-gyp "^0.10.0" 1168 | 1169 | gauge@~2.7.3: 1170 | version "2.7.4" 1171 | resolved "https://registry.yarnpkg.com/gauge/-/gauge-2.7.4.tgz#2c03405c7538c39d7eb37b317022e325fb018bf7" 1172 | dependencies: 1173 | aproba "^1.0.3" 1174 | console-control-strings "^1.0.0" 1175 | has-unicode "^2.0.0" 1176 | object-assign "^4.1.0" 1177 | signal-exit "^3.0.0" 1178 | string-width "^1.0.1" 1179 | strip-ansi "^3.0.1" 1180 | wide-align "^1.1.0" 1181 | 1182 | get-caller-file@^1.0.1: 1183 | version "1.0.3" 1184 | resolved "https://registry.yarnpkg.com/get-caller-file/-/get-caller-file-1.0.3.tgz#f978fa4c90d1dfe7ff2d6beda2a515e713bdcf4a" 1185 | 1186 | get-stream@^3.0.0: 1187 | version "3.0.0" 1188 | resolved "https://registry.yarnpkg.com/get-stream/-/get-stream-3.0.0.tgz#8e943d1358dc37555054ecbe2edb05aa174ede14" 1189 | 1190 | get-value@^2.0.3, get-value@^2.0.6: 1191 | version "2.0.6" 1192 | resolved "https://registry.yarnpkg.com/get-value/-/get-value-2.0.6.tgz#dc15ca1c672387ca76bd37ac0a395ba2042a2c28" 1193 | 1194 | getpass@^0.1.1: 1195 | version "0.1.7" 1196 | resolved "https://registry.yarnpkg.com/getpass/-/getpass-0.1.7.tgz#5eff8e3e684d569ae4cb2b1282604e8ba62149fa" 1197 | dependencies: 1198 | assert-plus "^1.0.0" 1199 | 1200 | glob-base@^0.3.0: 1201 | version "0.3.0" 1202 | resolved "https://registry.yarnpkg.com/glob-base/-/glob-base-0.3.0.tgz#dbb164f6221b1c0b1ccf82aea328b497df0ea3c4" 1203 | dependencies: 1204 | glob-parent "^2.0.0" 1205 | is-glob "^2.0.0" 1206 | 1207 | glob-parent@^2.0.0: 1208 | version "2.0.0" 1209 | resolved "https://registry.yarnpkg.com/glob-parent/-/glob-parent-2.0.0.tgz#81383d72db054fcccf5336daa902f182f6edbb28" 1210 | dependencies: 1211 | is-glob "^2.0.0" 1212 | 1213 | glob-parent@^3.1.0: 1214 | version "3.1.0" 1215 | resolved "https://registry.yarnpkg.com/glob-parent/-/glob-parent-3.1.0.tgz#9e6af6299d8d3bd2bd40430832bd113df906c5ae" 1216 | dependencies: 1217 | is-glob "^3.1.0" 1218 | path-dirname "^1.0.0" 1219 | 1220 | glob@^6.0.1: 1221 | version "6.0.4" 1222 | resolved "https://registry.yarnpkg.com/glob/-/glob-6.0.4.tgz#0f08860f6a155127b2fadd4f9ce24b1aab6e4d22" 1223 | dependencies: 1224 | inflight "^1.0.4" 1225 | inherits "2" 1226 | minimatch "2 || 3" 1227 | once "^1.3.0" 1228 | path-is-absolute "^1.0.0" 1229 | 1230 | glob@^7.0.3, glob@^7.1.1, glob@^7.1.3: 1231 | version "7.1.3" 1232 | resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.3.tgz#3960832d3f1574108342dafd3a67b332c0969df1" 1233 | dependencies: 1234 | fs.realpath "^1.0.0" 1235 | inflight "^1.0.4" 1236 | inherits "2" 1237 | minimatch "^3.0.4" 1238 | once "^1.3.0" 1239 | path-is-absolute "^1.0.0" 1240 | 1241 | global-dirs@^0.1.0: 1242 | version "0.1.1" 1243 | resolved "https://registry.yarnpkg.com/global-dirs/-/global-dirs-0.1.1.tgz#b319c0dd4607f353f3be9cca4c72fc148c49f445" 1244 | dependencies: 1245 | ini "^1.3.4" 1246 | 1247 | globals@^9.18.0: 1248 | version "9.18.0" 1249 | resolved "https://registry.yarnpkg.com/globals/-/globals-9.18.0.tgz#aa3896b3e69b487f17e31ed2143d69a8e30c2d8a" 1250 | 1251 | got@^6.7.1: 1252 | version "6.7.1" 1253 | resolved "https://registry.yarnpkg.com/got/-/got-6.7.1.tgz#240cd05785a9a18e561dc1b44b41c763ef1e8db0" 1254 | dependencies: 1255 | create-error-class "^3.0.0" 1256 | duplexer3 "^0.1.4" 1257 | get-stream "^3.0.0" 1258 | is-redirect "^1.0.0" 1259 | is-retry-allowed "^1.0.0" 1260 | is-stream "^1.0.0" 1261 | lowercase-keys "^1.0.0" 1262 | safe-buffer "^5.0.1" 1263 | timed-out "^4.0.0" 1264 | unzip-response "^2.0.1" 1265 | url-parse-lax "^1.0.0" 1266 | 1267 | graceful-fs@^4.1.11, graceful-fs@^4.1.2: 1268 | version "4.1.15" 1269 | resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.1.15.tgz#ffb703e1066e8a0eeaa4c8b80ba9253eeefbfb00" 1270 | 1271 | graphql-input-number@^0.0.10: 1272 | version "0.0.10" 1273 | resolved "https://registry.yarnpkg.com/graphql-input-number/-/graphql-input-number-0.0.10.tgz#509b1c1fb5baeef8ab516a7c82c40dcebb8f8358" 1274 | 1275 | graphql-tools@^4.0.4: 1276 | version "4.0.4" 1277 | resolved "https://registry.yarnpkg.com/graphql-tools/-/graphql-tools-4.0.4.tgz#ca08a63454221fdde825fe45fbd315eb2a6d566b" 1278 | dependencies: 1279 | apollo-link "^1.2.3" 1280 | apollo-utilities "^1.0.1" 1281 | deprecated-decorator "^0.1.6" 1282 | iterall "^1.1.3" 1283 | uuid "^3.1.0" 1284 | 1285 | graphql@^14.1.1: 1286 | version "14.1.1" 1287 | resolved "https://registry.yarnpkg.com/graphql/-/graphql-14.1.1.tgz#d5d77df4b19ef41538d7215d1e7a28834619fac0" 1288 | dependencies: 1289 | iterall "^1.2.2" 1290 | 1291 | growly@^1.3.0: 1292 | version "1.3.0" 1293 | resolved "https://registry.yarnpkg.com/growly/-/growly-1.3.0.tgz#f10748cbe76af964b7c96c93c6bcc28af120c081" 1294 | 1295 | handlebars@^4.0.3: 1296 | version "4.0.12" 1297 | resolved "https://registry.yarnpkg.com/handlebars/-/handlebars-4.0.12.tgz#2c15c8a96d46da5e266700518ba8cb8d919d5bc5" 1298 | dependencies: 1299 | async "^2.5.0" 1300 | optimist "^0.6.1" 1301 | source-map "^0.6.1" 1302 | optionalDependencies: 1303 | uglify-js "^3.1.4" 1304 | 1305 | har-schema@^2.0.0: 1306 | version "2.0.0" 1307 | resolved "https://registry.yarnpkg.com/har-schema/-/har-schema-2.0.0.tgz#a94c2224ebcac04782a0d9035521f24735b7ec92" 1308 | 1309 | har-validator@~5.1.0: 1310 | version "5.1.3" 1311 | resolved "https://registry.yarnpkg.com/har-validator/-/har-validator-5.1.3.tgz#1ef89ebd3e4996557675eed9893110dc350fa080" 1312 | dependencies: 1313 | ajv "^6.5.5" 1314 | har-schema "^2.0.0" 1315 | 1316 | has-ansi@^2.0.0: 1317 | version "2.0.0" 1318 | resolved "https://registry.yarnpkg.com/has-ansi/-/has-ansi-2.0.0.tgz#34f5049ce1ecdf2b0649af3ef24e45ed35416d91" 1319 | dependencies: 1320 | ansi-regex "^2.0.0" 1321 | 1322 | has-flag@^1.0.0: 1323 | version "1.0.0" 1324 | resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-1.0.0.tgz#9d9e793165ce017a00f00418c43f942a7b1d11fa" 1325 | 1326 | has-flag@^3.0.0: 1327 | version "3.0.0" 1328 | resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-3.0.0.tgz#b5d454dc2199ae225699f3467e5a07f3b955bafd" 1329 | 1330 | has-unicode@^2.0.0: 1331 | version "2.0.1" 1332 | resolved "https://registry.yarnpkg.com/has-unicode/-/has-unicode-2.0.1.tgz#e0e6fe6a28cf51138855e086d1691e771de2a8b9" 1333 | 1334 | has-value@^0.3.1: 1335 | version "0.3.1" 1336 | resolved "https://registry.yarnpkg.com/has-value/-/has-value-0.3.1.tgz#7b1f58bada62ca827ec0a2078025654845995e1f" 1337 | dependencies: 1338 | get-value "^2.0.3" 1339 | has-values "^0.1.4" 1340 | isobject "^2.0.0" 1341 | 1342 | has-value@^1.0.0: 1343 | version "1.0.0" 1344 | resolved "https://registry.yarnpkg.com/has-value/-/has-value-1.0.0.tgz#18b281da585b1c5c51def24c930ed29a0be6b177" 1345 | dependencies: 1346 | get-value "^2.0.6" 1347 | has-values "^1.0.0" 1348 | isobject "^3.0.0" 1349 | 1350 | has-values@^0.1.4: 1351 | version "0.1.4" 1352 | resolved "https://registry.yarnpkg.com/has-values/-/has-values-0.1.4.tgz#6d61de95d91dfca9b9a02089ad384bff8f62b771" 1353 | 1354 | has-values@^1.0.0: 1355 | version "1.0.0" 1356 | resolved "https://registry.yarnpkg.com/has-values/-/has-values-1.0.0.tgz#95b0b63fec2146619a6fe57fe75628d5a39efe4f" 1357 | dependencies: 1358 | is-number "^3.0.0" 1359 | kind-of "^4.0.0" 1360 | 1361 | home-or-tmp@^2.0.0: 1362 | version "2.0.0" 1363 | resolved "https://registry.yarnpkg.com/home-or-tmp/-/home-or-tmp-2.0.0.tgz#e36c3f2d2cae7d746a857e38d18d5f32a7882db8" 1364 | dependencies: 1365 | os-homedir "^1.0.0" 1366 | os-tmpdir "^1.0.1" 1367 | 1368 | hosted-git-info@^2.1.4: 1369 | version "2.7.1" 1370 | resolved "https://registry.yarnpkg.com/hosted-git-info/-/hosted-git-info-2.7.1.tgz#97f236977bd6e125408930ff6de3eec6281ec047" 1371 | 1372 | html-encoding-sniffer@^1.0.1: 1373 | version "1.0.2" 1374 | resolved "https://registry.yarnpkg.com/html-encoding-sniffer/-/html-encoding-sniffer-1.0.2.tgz#e70d84b94da53aa375e11fe3a351be6642ca46f8" 1375 | dependencies: 1376 | whatwg-encoding "^1.0.1" 1377 | 1378 | http-aws-es@^6.0.0: 1379 | version "6.0.0" 1380 | resolved "https://registry.yarnpkg.com/http-aws-es/-/http-aws-es-6.0.0.tgz#1528978d2bee718b8732dcdced0856efa747aeff" 1381 | 1382 | http-errors@1.6.3, http-errors@~1.6.2, http-errors@~1.6.3: 1383 | version "1.6.3" 1384 | resolved "https://registry.yarnpkg.com/http-errors/-/http-errors-1.6.3.tgz#8b55680bb4be283a0b5bf4ea2e38580be1d9320d" 1385 | dependencies: 1386 | depd "~1.1.2" 1387 | inherits "2.0.3" 1388 | setprototypeof "1.1.0" 1389 | statuses ">= 1.4.0 < 2" 1390 | 1391 | http-errors@^1.7.1: 1392 | version "1.7.1" 1393 | resolved "https://registry.yarnpkg.com/http-errors/-/http-errors-1.7.1.tgz#6a4ffe5d35188e1c39f872534690585852e1f027" 1394 | dependencies: 1395 | depd "~1.1.2" 1396 | inherits "2.0.3" 1397 | setprototypeof "1.1.0" 1398 | statuses ">= 1.5.0 < 2" 1399 | toidentifier "1.0.0" 1400 | 1401 | http-signature@~1.2.0: 1402 | version "1.2.0" 1403 | resolved "https://registry.yarnpkg.com/http-signature/-/http-signature-1.2.0.tgz#9aecd925114772f3d95b65a60abb8f7c18fbace1" 1404 | dependencies: 1405 | assert-plus "^1.0.0" 1406 | jsprim "^1.2.2" 1407 | sshpk "^1.7.0" 1408 | 1409 | humanize-ms@^1.2.1: 1410 | version "1.2.1" 1411 | resolved "https://registry.yarnpkg.com/humanize-ms/-/humanize-ms-1.2.1.tgz#c46e3159a293f6b896da29316d8b6fe8bb79bbed" 1412 | dependencies: 1413 | ms "^2.0.0" 1414 | 1415 | iconv-lite@0.4.23: 1416 | version "0.4.23" 1417 | resolved "https://registry.yarnpkg.com/iconv-lite/-/iconv-lite-0.4.23.tgz#297871f63be507adcfbfca715d0cd0eed84e9a63" 1418 | dependencies: 1419 | safer-buffer ">= 2.1.2 < 3" 1420 | 1421 | iconv-lite@0.4.24, iconv-lite@^0.4.4: 1422 | version "0.4.24" 1423 | resolved "https://registry.yarnpkg.com/iconv-lite/-/iconv-lite-0.4.24.tgz#2022b4b25fbddc21d2f524974a474aafe733908b" 1424 | dependencies: 1425 | safer-buffer ">= 2.1.2 < 3" 1426 | 1427 | ieee754@1.1.8: 1428 | version "1.1.8" 1429 | resolved "https://registry.yarnpkg.com/ieee754/-/ieee754-1.1.8.tgz#be33d40ac10ef1926701f6f08a2d86fbfd1ad3e4" 1430 | 1431 | ieee754@^1.1.4: 1432 | version "1.1.12" 1433 | resolved "https://registry.yarnpkg.com/ieee754/-/ieee754-1.1.12.tgz#50bf24e5b9c8bb98af4964c941cdb0918da7b60b" 1434 | 1435 | ignore-by-default@^1.0.1: 1436 | version "1.0.1" 1437 | resolved "https://registry.yarnpkg.com/ignore-by-default/-/ignore-by-default-1.0.1.tgz#48ca6d72f6c6a3af00a9ad4ae6876be3889e2b09" 1438 | 1439 | ignore-walk@^3.0.1: 1440 | version "3.0.1" 1441 | resolved "https://registry.yarnpkg.com/ignore-walk/-/ignore-walk-3.0.1.tgz#a83e62e7d272ac0e3b551aaa82831a19b69f82f8" 1442 | dependencies: 1443 | minimatch "^3.0.4" 1444 | 1445 | import-lazy@^2.1.0: 1446 | version "2.1.0" 1447 | resolved "https://registry.yarnpkg.com/import-lazy/-/import-lazy-2.1.0.tgz#05698e3d45c88e8d7e9d92cb0584e77f096f3e43" 1448 | 1449 | imurmurhash@^0.1.4: 1450 | version "0.1.4" 1451 | resolved "https://registry.yarnpkg.com/imurmurhash/-/imurmurhash-0.1.4.tgz#9218b9b2b928a238b13dc4fb6b6d576f231453ea" 1452 | 1453 | inflight@^1.0.4: 1454 | version "1.0.6" 1455 | resolved "https://registry.yarnpkg.com/inflight/-/inflight-1.0.6.tgz#49bd6331d7d02d0c09bc910a1075ba8165b56df9" 1456 | dependencies: 1457 | once "^1.3.0" 1458 | wrappy "1" 1459 | 1460 | inherits@2, inherits@2.0.3, inherits@^2.0.3, inherits@~2.0.3: 1461 | version "2.0.3" 1462 | resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.3.tgz#633c2c83e3da42a502f52466022480f4208261de" 1463 | 1464 | ini@^1.3.4, ini@~1.3.0: 1465 | version "1.3.5" 1466 | resolved "https://registry.yarnpkg.com/ini/-/ini-1.3.5.tgz#eee25f56db1c9ec6085e0c22778083f596abf927" 1467 | 1468 | invariant@^2.2.2: 1469 | version "2.2.4" 1470 | resolved "https://registry.yarnpkg.com/invariant/-/invariant-2.2.4.tgz#610f3c92c9359ce1db616e538008d23ff35158e6" 1471 | dependencies: 1472 | loose-envify "^1.0.0" 1473 | 1474 | invert-kv@^1.0.0: 1475 | version "1.0.0" 1476 | resolved "https://registry.yarnpkg.com/invert-kv/-/invert-kv-1.0.0.tgz#104a8e4aaca6d3d8cd157a8ef8bfab2d7a3ffdb6" 1477 | 1478 | ipaddr.js@1.8.0: 1479 | version "1.8.0" 1480 | resolved "https://registry.yarnpkg.com/ipaddr.js/-/ipaddr.js-1.8.0.tgz#eaa33d6ddd7ace8f7f6fe0c9ca0440e706738b1e" 1481 | 1482 | is-accessor-descriptor@^0.1.6: 1483 | version "0.1.6" 1484 | resolved "https://registry.yarnpkg.com/is-accessor-descriptor/-/is-accessor-descriptor-0.1.6.tgz#a9e12cb3ae8d876727eeef3843f8a0897b5c98d6" 1485 | dependencies: 1486 | kind-of "^3.0.2" 1487 | 1488 | is-accessor-descriptor@^1.0.0: 1489 | version "1.0.0" 1490 | resolved "https://registry.yarnpkg.com/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz#169c2f6d3df1f992618072365c9b0ea1f6878656" 1491 | dependencies: 1492 | kind-of "^6.0.0" 1493 | 1494 | is-arrayish@^0.2.1: 1495 | version "0.2.1" 1496 | resolved "https://registry.yarnpkg.com/is-arrayish/-/is-arrayish-0.2.1.tgz#77c99840527aa8ecb1a8ba697b80645a7a926a9d" 1497 | 1498 | is-binary-path@^1.0.0: 1499 | version "1.0.1" 1500 | resolved "https://registry.yarnpkg.com/is-binary-path/-/is-binary-path-1.0.1.tgz#75f16642b480f187a711c814161fd3a4a7655898" 1501 | dependencies: 1502 | binary-extensions "^1.0.0" 1503 | 1504 | is-buffer@^1.1.5: 1505 | version "1.1.6" 1506 | resolved "https://registry.yarnpkg.com/is-buffer/-/is-buffer-1.1.6.tgz#efaa2ea9daa0d7ab2ea13a97b2b8ad51fefbe8be" 1507 | 1508 | is-builtin-module@^1.0.0: 1509 | version "1.0.0" 1510 | resolved "https://registry.yarnpkg.com/is-builtin-module/-/is-builtin-module-1.0.0.tgz#540572d34f7ac3119f8f76c30cbc1b1e037affbe" 1511 | dependencies: 1512 | builtin-modules "^1.0.0" 1513 | 1514 | is-ci@^1.0.10: 1515 | version "1.2.1" 1516 | resolved "https://registry.yarnpkg.com/is-ci/-/is-ci-1.2.1.tgz#e3779c8ee17fccf428488f6e281187f2e632841c" 1517 | dependencies: 1518 | ci-info "^1.5.0" 1519 | 1520 | is-data-descriptor@^0.1.4: 1521 | version "0.1.4" 1522 | resolved "https://registry.yarnpkg.com/is-data-descriptor/-/is-data-descriptor-0.1.4.tgz#0b5ee648388e2c860282e793f1856fec3f301b56" 1523 | dependencies: 1524 | kind-of "^3.0.2" 1525 | 1526 | is-data-descriptor@^1.0.0: 1527 | version "1.0.0" 1528 | resolved "https://registry.yarnpkg.com/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz#d84876321d0e7add03990406abbbbd36ba9268c7" 1529 | dependencies: 1530 | kind-of "^6.0.0" 1531 | 1532 | is-descriptor@^0.1.0: 1533 | version "0.1.6" 1534 | resolved "https://registry.yarnpkg.com/is-descriptor/-/is-descriptor-0.1.6.tgz#366d8240dde487ca51823b1ab9f07a10a78251ca" 1535 | dependencies: 1536 | is-accessor-descriptor "^0.1.6" 1537 | is-data-descriptor "^0.1.4" 1538 | kind-of "^5.0.0" 1539 | 1540 | is-descriptor@^1.0.0, is-descriptor@^1.0.2: 1541 | version "1.0.2" 1542 | resolved "https://registry.yarnpkg.com/is-descriptor/-/is-descriptor-1.0.2.tgz#3b159746a66604b04f8c81524ba365c5f14d86ec" 1543 | dependencies: 1544 | is-accessor-descriptor "^1.0.0" 1545 | is-data-descriptor "^1.0.0" 1546 | kind-of "^6.0.2" 1547 | 1548 | is-dotfile@^1.0.0: 1549 | version "1.0.3" 1550 | resolved "https://registry.yarnpkg.com/is-dotfile/-/is-dotfile-1.0.3.tgz#a6a2f32ffd2dfb04f5ca25ecd0f6b83cf798a1e1" 1551 | 1552 | is-equal-shallow@^0.1.3: 1553 | version "0.1.3" 1554 | resolved "https://registry.yarnpkg.com/is-equal-shallow/-/is-equal-shallow-0.1.3.tgz#2238098fc221de0bcfa5d9eac4c45d638aa1c534" 1555 | dependencies: 1556 | is-primitive "^2.0.0" 1557 | 1558 | is-extendable@^0.1.0, is-extendable@^0.1.1: 1559 | version "0.1.1" 1560 | resolved "https://registry.yarnpkg.com/is-extendable/-/is-extendable-0.1.1.tgz#62b110e289a471418e3ec36a617d472e301dfc89" 1561 | 1562 | is-extendable@^1.0.1: 1563 | version "1.0.1" 1564 | resolved "https://registry.yarnpkg.com/is-extendable/-/is-extendable-1.0.1.tgz#a7470f9e426733d81bd81e1155264e3a3507cab4" 1565 | dependencies: 1566 | is-plain-object "^2.0.4" 1567 | 1568 | is-extglob@^1.0.0: 1569 | version "1.0.0" 1570 | resolved "https://registry.yarnpkg.com/is-extglob/-/is-extglob-1.0.0.tgz#ac468177c4943405a092fc8f29760c6ffc6206c0" 1571 | 1572 | is-extglob@^2.1.0, is-extglob@^2.1.1: 1573 | version "2.1.1" 1574 | resolved "https://registry.yarnpkg.com/is-extglob/-/is-extglob-2.1.1.tgz#a88c02535791f02ed37c76a1b9ea9773c833f8c2" 1575 | 1576 | is-finite@^1.0.0: 1577 | version "1.0.2" 1578 | resolved "https://registry.yarnpkg.com/is-finite/-/is-finite-1.0.2.tgz#cc6677695602be550ef11e8b4aa6305342b6d0aa" 1579 | dependencies: 1580 | number-is-nan "^1.0.0" 1581 | 1582 | is-fullwidth-code-point@^1.0.0: 1583 | version "1.0.0" 1584 | resolved "https://registry.yarnpkg.com/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz#ef9e31386f031a7f0d643af82fde50c457ef00cb" 1585 | dependencies: 1586 | number-is-nan "^1.0.0" 1587 | 1588 | is-fullwidth-code-point@^2.0.0: 1589 | version "2.0.0" 1590 | resolved "https://registry.yarnpkg.com/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz#a3b30a5c4f199183167aaab93beefae3ddfb654f" 1591 | 1592 | is-glob@^2.0.0, is-glob@^2.0.1: 1593 | version "2.0.1" 1594 | resolved "https://registry.yarnpkg.com/is-glob/-/is-glob-2.0.1.tgz#d096f926a3ded5600f3fdfd91198cb0888c2d863" 1595 | dependencies: 1596 | is-extglob "^1.0.0" 1597 | 1598 | is-glob@^3.1.0: 1599 | version "3.1.0" 1600 | resolved "https://registry.yarnpkg.com/is-glob/-/is-glob-3.1.0.tgz#7ba5ae24217804ac70707b96922567486cc3e84a" 1601 | dependencies: 1602 | is-extglob "^2.1.0" 1603 | 1604 | is-glob@^4.0.0: 1605 | version "4.0.0" 1606 | resolved "https://registry.yarnpkg.com/is-glob/-/is-glob-4.0.0.tgz#9521c76845cc2610a85203ddf080a958c2ffabc0" 1607 | dependencies: 1608 | is-extglob "^2.1.1" 1609 | 1610 | is-installed-globally@^0.1.0: 1611 | version "0.1.0" 1612 | resolved "https://registry.yarnpkg.com/is-installed-globally/-/is-installed-globally-0.1.0.tgz#0dfd98f5a9111716dd535dda6492f67bf3d25a80" 1613 | dependencies: 1614 | global-dirs "^0.1.0" 1615 | is-path-inside "^1.0.0" 1616 | 1617 | is-npm@^1.0.0: 1618 | version "1.0.0" 1619 | resolved "https://registry.yarnpkg.com/is-npm/-/is-npm-1.0.0.tgz#f2fb63a65e4905b406c86072765a1a4dc793b9f4" 1620 | 1621 | is-number@^2.1.0: 1622 | version "2.1.0" 1623 | resolved "https://registry.yarnpkg.com/is-number/-/is-number-2.1.0.tgz#01fcbbb393463a548f2f466cce16dece49db908f" 1624 | dependencies: 1625 | kind-of "^3.0.2" 1626 | 1627 | is-number@^3.0.0: 1628 | version "3.0.0" 1629 | resolved "https://registry.yarnpkg.com/is-number/-/is-number-3.0.0.tgz#24fd6201a4782cf50561c810276afc7d12d71195" 1630 | dependencies: 1631 | kind-of "^3.0.2" 1632 | 1633 | is-number@^4.0.0: 1634 | version "4.0.0" 1635 | resolved "https://registry.yarnpkg.com/is-number/-/is-number-4.0.0.tgz#0026e37f5454d73e356dfe6564699867c6a7f0ff" 1636 | 1637 | is-obj@^1.0.0: 1638 | version "1.0.1" 1639 | resolved "https://registry.yarnpkg.com/is-obj/-/is-obj-1.0.1.tgz#3e4729ac1f5fde025cd7d83a896dab9f4f67db0f" 1640 | 1641 | is-path-inside@^1.0.0: 1642 | version "1.0.1" 1643 | resolved "https://registry.yarnpkg.com/is-path-inside/-/is-path-inside-1.0.1.tgz#8ef5b7de50437a3fdca6b4e865ef7aa55cb48036" 1644 | dependencies: 1645 | path-is-inside "^1.0.1" 1646 | 1647 | is-plain-object@^2.0.1, is-plain-object@^2.0.3, is-plain-object@^2.0.4: 1648 | version "2.0.4" 1649 | resolved "https://registry.yarnpkg.com/is-plain-object/-/is-plain-object-2.0.4.tgz#2c163b3fafb1b606d9d17928f05c2a1c38e07677" 1650 | dependencies: 1651 | isobject "^3.0.1" 1652 | 1653 | is-posix-bracket@^0.1.0: 1654 | version "0.1.1" 1655 | resolved "https://registry.yarnpkg.com/is-posix-bracket/-/is-posix-bracket-0.1.1.tgz#3334dc79774368e92f016e6fbc0a88f5cd6e6bc4" 1656 | 1657 | is-primitive@^2.0.0: 1658 | version "2.0.0" 1659 | resolved "https://registry.yarnpkg.com/is-primitive/-/is-primitive-2.0.0.tgz#207bab91638499c07b2adf240a41a87210034575" 1660 | 1661 | is-redirect@^1.0.0: 1662 | version "1.0.0" 1663 | resolved "https://registry.yarnpkg.com/is-redirect/-/is-redirect-1.0.0.tgz#1d03dded53bd8db0f30c26e4f95d36fc7c87dc24" 1664 | 1665 | is-retry-allowed@^1.0.0: 1666 | version "1.1.0" 1667 | resolved "https://registry.yarnpkg.com/is-retry-allowed/-/is-retry-allowed-1.1.0.tgz#11a060568b67339444033d0125a61a20d564fb34" 1668 | 1669 | is-stream@^1.0.0, is-stream@^1.1.0: 1670 | version "1.1.0" 1671 | resolved "https://registry.yarnpkg.com/is-stream/-/is-stream-1.1.0.tgz#12d4a3dd4e68e0b79ceb8dbc84173ae80d91ca44" 1672 | 1673 | is-typedarray@~1.0.0: 1674 | version "1.0.0" 1675 | resolved "https://registry.yarnpkg.com/is-typedarray/-/is-typedarray-1.0.0.tgz#e479c80858df0c1b11ddda6940f96011fcda4a9a" 1676 | 1677 | is-utf8@^0.2.0: 1678 | version "0.2.1" 1679 | resolved "https://registry.yarnpkg.com/is-utf8/-/is-utf8-0.2.1.tgz#4b0da1442104d1b336340e80797e865cf39f7d72" 1680 | 1681 | is-windows@^1.0.2: 1682 | version "1.0.2" 1683 | resolved "https://registry.yarnpkg.com/is-windows/-/is-windows-1.0.2.tgz#d1850eb9791ecd18e6182ce12a30f396634bb19d" 1684 | 1685 | is-wsl@^1.1.0: 1686 | version "1.1.0" 1687 | resolved "https://registry.yarnpkg.com/is-wsl/-/is-wsl-1.1.0.tgz#1f16e4aa22b04d1336b66188a66af3c600c3a66d" 1688 | 1689 | isarray@1.0.0, isarray@^1.0.0, isarray@~1.0.0: 1690 | version "1.0.0" 1691 | resolved "https://registry.yarnpkg.com/isarray/-/isarray-1.0.0.tgz#bb935d48582cba168c06834957a54a3e07124f11" 1692 | 1693 | isexe@^2.0.0: 1694 | version "2.0.0" 1695 | resolved "https://registry.yarnpkg.com/isexe/-/isexe-2.0.0.tgz#e8fbf374dc556ff8947a10dcb0572d633f2cfa10" 1696 | 1697 | isobject@^2.0.0: 1698 | version "2.1.0" 1699 | resolved "https://registry.yarnpkg.com/isobject/-/isobject-2.1.0.tgz#f065561096a3f1da2ef46272f815c840d87e0c89" 1700 | dependencies: 1701 | isarray "1.0.0" 1702 | 1703 | isobject@^3.0.0, isobject@^3.0.1: 1704 | version "3.0.1" 1705 | resolved "https://registry.yarnpkg.com/isobject/-/isobject-3.0.1.tgz#4e431e92b11a9731636aa1f9c8d1ccbcfdab78df" 1706 | 1707 | isstream@~0.1.2: 1708 | version "0.1.2" 1709 | resolved "https://registry.yarnpkg.com/isstream/-/isstream-0.1.2.tgz#47e63f7af55afa6f92e1500e690eb8b8529c099a" 1710 | 1711 | istanbul-api@^1.1.1: 1712 | version "1.3.7" 1713 | resolved "https://registry.yarnpkg.com/istanbul-api/-/istanbul-api-1.3.7.tgz#a86c770d2b03e11e3f778cd7aedd82d2722092aa" 1714 | dependencies: 1715 | async "^2.1.4" 1716 | fileset "^2.0.2" 1717 | istanbul-lib-coverage "^1.2.1" 1718 | istanbul-lib-hook "^1.2.2" 1719 | istanbul-lib-instrument "^1.10.2" 1720 | istanbul-lib-report "^1.1.5" 1721 | istanbul-lib-source-maps "^1.2.6" 1722 | istanbul-reports "^1.5.1" 1723 | js-yaml "^3.7.0" 1724 | mkdirp "^0.5.1" 1725 | once "^1.4.0" 1726 | 1727 | istanbul-lib-coverage@^1.0.1, istanbul-lib-coverage@^1.2.1: 1728 | version "1.2.1" 1729 | resolved "https://registry.yarnpkg.com/istanbul-lib-coverage/-/istanbul-lib-coverage-1.2.1.tgz#ccf7edcd0a0bb9b8f729feeb0930470f9af664f0" 1730 | 1731 | istanbul-lib-hook@^1.2.2: 1732 | version "1.2.2" 1733 | resolved "https://registry.yarnpkg.com/istanbul-lib-hook/-/istanbul-lib-hook-1.2.2.tgz#bc6bf07f12a641fbf1c85391d0daa8f0aea6bf86" 1734 | dependencies: 1735 | append-transform "^0.4.0" 1736 | 1737 | istanbul-lib-instrument@^1.10.1, istanbul-lib-instrument@^1.10.2, istanbul-lib-instrument@^1.4.2: 1738 | version "1.10.2" 1739 | resolved "https://registry.yarnpkg.com/istanbul-lib-instrument/-/istanbul-lib-instrument-1.10.2.tgz#1f55ed10ac3c47f2bdddd5307935126754d0a9ca" 1740 | dependencies: 1741 | babel-generator "^6.18.0" 1742 | babel-template "^6.16.0" 1743 | babel-traverse "^6.18.0" 1744 | babel-types "^6.18.0" 1745 | babylon "^6.18.0" 1746 | istanbul-lib-coverage "^1.2.1" 1747 | semver "^5.3.0" 1748 | 1749 | istanbul-lib-report@^1.1.5: 1750 | version "1.1.5" 1751 | resolved "https://registry.yarnpkg.com/istanbul-lib-report/-/istanbul-lib-report-1.1.5.tgz#f2a657fc6282f96170aaf281eb30a458f7f4170c" 1752 | dependencies: 1753 | istanbul-lib-coverage "^1.2.1" 1754 | mkdirp "^0.5.1" 1755 | path-parse "^1.0.5" 1756 | supports-color "^3.1.2" 1757 | 1758 | istanbul-lib-source-maps@^1.1.0, istanbul-lib-source-maps@^1.2.6: 1759 | version "1.2.6" 1760 | resolved "https://registry.yarnpkg.com/istanbul-lib-source-maps/-/istanbul-lib-source-maps-1.2.6.tgz#37b9ff661580f8fca11232752ee42e08c6675d8f" 1761 | dependencies: 1762 | debug "^3.1.0" 1763 | istanbul-lib-coverage "^1.2.1" 1764 | mkdirp "^0.5.1" 1765 | rimraf "^2.6.1" 1766 | source-map "^0.5.3" 1767 | 1768 | istanbul-reports@^1.5.1: 1769 | version "1.5.1" 1770 | resolved "https://registry.yarnpkg.com/istanbul-reports/-/istanbul-reports-1.5.1.tgz#97e4dbf3b515e8c484caea15d6524eebd3ff4e1a" 1771 | dependencies: 1772 | handlebars "^4.0.3" 1773 | 1774 | iterall@^1.1.3, iterall@^1.2.2: 1775 | version "1.2.2" 1776 | resolved "https://registry.yarnpkg.com/iterall/-/iterall-1.2.2.tgz#92d70deb8028e0c39ff3164fdbf4d8b088130cd7" 1777 | 1778 | jest-changed-files@^20.0.3: 1779 | version "20.0.3" 1780 | resolved "https://registry.yarnpkg.com/jest-changed-files/-/jest-changed-files-20.0.3.tgz#9394d5cc65c438406149bef1bf4d52b68e03e3f8" 1781 | 1782 | jest-cli@^20.0.4: 1783 | version "20.0.4" 1784 | resolved "https://registry.yarnpkg.com/jest-cli/-/jest-cli-20.0.4.tgz#e532b19d88ae5bc6c417e8b0593a6fe954b1dc93" 1785 | dependencies: 1786 | ansi-escapes "^1.4.0" 1787 | callsites "^2.0.0" 1788 | chalk "^1.1.3" 1789 | graceful-fs "^4.1.11" 1790 | is-ci "^1.0.10" 1791 | istanbul-api "^1.1.1" 1792 | istanbul-lib-coverage "^1.0.1" 1793 | istanbul-lib-instrument "^1.4.2" 1794 | istanbul-lib-source-maps "^1.1.0" 1795 | jest-changed-files "^20.0.3" 1796 | jest-config "^20.0.4" 1797 | jest-docblock "^20.0.3" 1798 | jest-environment-jsdom "^20.0.3" 1799 | jest-haste-map "^20.0.4" 1800 | jest-jasmine2 "^20.0.4" 1801 | jest-message-util "^20.0.3" 1802 | jest-regex-util "^20.0.3" 1803 | jest-resolve-dependencies "^20.0.3" 1804 | jest-runtime "^20.0.4" 1805 | jest-snapshot "^20.0.3" 1806 | jest-util "^20.0.3" 1807 | micromatch "^2.3.11" 1808 | node-notifier "^5.0.2" 1809 | pify "^2.3.0" 1810 | slash "^1.0.0" 1811 | string-length "^1.0.1" 1812 | throat "^3.0.0" 1813 | which "^1.2.12" 1814 | worker-farm "^1.3.1" 1815 | yargs "^7.0.2" 1816 | 1817 | jest-config@^20.0.4: 1818 | version "20.0.4" 1819 | resolved "https://registry.yarnpkg.com/jest-config/-/jest-config-20.0.4.tgz#e37930ab2217c913605eff13e7bd763ec48faeea" 1820 | dependencies: 1821 | chalk "^1.1.3" 1822 | glob "^7.1.1" 1823 | jest-environment-jsdom "^20.0.3" 1824 | jest-environment-node "^20.0.3" 1825 | jest-jasmine2 "^20.0.4" 1826 | jest-matcher-utils "^20.0.3" 1827 | jest-regex-util "^20.0.3" 1828 | jest-resolve "^20.0.4" 1829 | jest-validate "^20.0.3" 1830 | pretty-format "^20.0.3" 1831 | 1832 | jest-diff@^20.0.3: 1833 | version "20.0.3" 1834 | resolved "https://registry.yarnpkg.com/jest-diff/-/jest-diff-20.0.3.tgz#81f288fd9e675f0fb23c75f1c2b19445fe586617" 1835 | dependencies: 1836 | chalk "^1.1.3" 1837 | diff "^3.2.0" 1838 | jest-matcher-utils "^20.0.3" 1839 | pretty-format "^20.0.3" 1840 | 1841 | jest-docblock@^20.0.3: 1842 | version "20.0.3" 1843 | resolved "https://registry.yarnpkg.com/jest-docblock/-/jest-docblock-20.0.3.tgz#17bea984342cc33d83c50fbe1545ea0efaa44712" 1844 | 1845 | jest-environment-jsdom@^20.0.3: 1846 | version "20.0.3" 1847 | resolved "https://registry.yarnpkg.com/jest-environment-jsdom/-/jest-environment-jsdom-20.0.3.tgz#048a8ac12ee225f7190417713834bb999787de99" 1848 | dependencies: 1849 | jest-mock "^20.0.3" 1850 | jest-util "^20.0.3" 1851 | jsdom "^9.12.0" 1852 | 1853 | jest-environment-node@^20.0.3: 1854 | version "20.0.3" 1855 | resolved "https://registry.yarnpkg.com/jest-environment-node/-/jest-environment-node-20.0.3.tgz#d488bc4612af2c246e986e8ae7671a099163d403" 1856 | dependencies: 1857 | jest-mock "^20.0.3" 1858 | jest-util "^20.0.3" 1859 | 1860 | jest-haste-map@^20.0.4: 1861 | version "20.0.5" 1862 | resolved "https://registry.yarnpkg.com/jest-haste-map/-/jest-haste-map-20.0.5.tgz#abad74efb1a005974a7b6517e11010709cab9112" 1863 | dependencies: 1864 | fb-watchman "^2.0.0" 1865 | graceful-fs "^4.1.11" 1866 | jest-docblock "^20.0.3" 1867 | micromatch "^2.3.11" 1868 | sane "~1.6.0" 1869 | worker-farm "^1.3.1" 1870 | 1871 | jest-jasmine2@^20.0.4: 1872 | version "20.0.4" 1873 | resolved "https://registry.yarnpkg.com/jest-jasmine2/-/jest-jasmine2-20.0.4.tgz#fcc5b1411780d911d042902ef1859e852e60d5e1" 1874 | dependencies: 1875 | chalk "^1.1.3" 1876 | graceful-fs "^4.1.11" 1877 | jest-diff "^20.0.3" 1878 | jest-matcher-utils "^20.0.3" 1879 | jest-matchers "^20.0.3" 1880 | jest-message-util "^20.0.3" 1881 | jest-snapshot "^20.0.3" 1882 | once "^1.4.0" 1883 | p-map "^1.1.1" 1884 | 1885 | jest-matcher-utils@^20.0.3: 1886 | version "20.0.3" 1887 | resolved "https://registry.yarnpkg.com/jest-matcher-utils/-/jest-matcher-utils-20.0.3.tgz#b3a6b8e37ca577803b0832a98b164f44b7815612" 1888 | dependencies: 1889 | chalk "^1.1.3" 1890 | pretty-format "^20.0.3" 1891 | 1892 | jest-matchers@^20.0.3: 1893 | version "20.0.3" 1894 | resolved "https://registry.yarnpkg.com/jest-matchers/-/jest-matchers-20.0.3.tgz#ca69db1c32db5a6f707fa5e0401abb55700dfd60" 1895 | dependencies: 1896 | jest-diff "^20.0.3" 1897 | jest-matcher-utils "^20.0.3" 1898 | jest-message-util "^20.0.3" 1899 | jest-regex-util "^20.0.3" 1900 | 1901 | jest-message-util@^20.0.3: 1902 | version "20.0.3" 1903 | resolved "https://registry.yarnpkg.com/jest-message-util/-/jest-message-util-20.0.3.tgz#6aec2844306fcb0e6e74d5796c1006d96fdd831c" 1904 | dependencies: 1905 | chalk "^1.1.3" 1906 | micromatch "^2.3.11" 1907 | slash "^1.0.0" 1908 | 1909 | jest-mock@^20.0.3: 1910 | version "20.0.3" 1911 | resolved "https://registry.yarnpkg.com/jest-mock/-/jest-mock-20.0.3.tgz#8bc070e90414aa155c11a8d64c869a0d5c71da59" 1912 | 1913 | jest-regex-util@^20.0.3: 1914 | version "20.0.3" 1915 | resolved "https://registry.yarnpkg.com/jest-regex-util/-/jest-regex-util-20.0.3.tgz#85bbab5d133e44625b19faf8c6aa5122d085d762" 1916 | 1917 | jest-resolve-dependencies@^20.0.3: 1918 | version "20.0.3" 1919 | resolved "https://registry.yarnpkg.com/jest-resolve-dependencies/-/jest-resolve-dependencies-20.0.3.tgz#6e14a7b717af0f2cb3667c549de40af017b1723a" 1920 | dependencies: 1921 | jest-regex-util "^20.0.3" 1922 | 1923 | jest-resolve@^20.0.4: 1924 | version "20.0.4" 1925 | resolved "https://registry.yarnpkg.com/jest-resolve/-/jest-resolve-20.0.4.tgz#9448b3e8b6bafc15479444c6499045b7ffe597a5" 1926 | dependencies: 1927 | browser-resolve "^1.11.2" 1928 | is-builtin-module "^1.0.0" 1929 | resolve "^1.3.2" 1930 | 1931 | jest-runtime@^20.0.4: 1932 | version "20.0.4" 1933 | resolved "https://registry.yarnpkg.com/jest-runtime/-/jest-runtime-20.0.4.tgz#a2c802219c4203f754df1404e490186169d124d8" 1934 | dependencies: 1935 | babel-core "^6.0.0" 1936 | babel-jest "^20.0.3" 1937 | babel-plugin-istanbul "^4.0.0" 1938 | chalk "^1.1.3" 1939 | convert-source-map "^1.4.0" 1940 | graceful-fs "^4.1.11" 1941 | jest-config "^20.0.4" 1942 | jest-haste-map "^20.0.4" 1943 | jest-regex-util "^20.0.3" 1944 | jest-resolve "^20.0.4" 1945 | jest-util "^20.0.3" 1946 | json-stable-stringify "^1.0.1" 1947 | micromatch "^2.3.11" 1948 | strip-bom "3.0.0" 1949 | yargs "^7.0.2" 1950 | 1951 | jest-snapshot@^20.0.3: 1952 | version "20.0.3" 1953 | resolved "https://registry.yarnpkg.com/jest-snapshot/-/jest-snapshot-20.0.3.tgz#5b847e1adb1a4d90852a7f9f125086e187c76566" 1954 | dependencies: 1955 | chalk "^1.1.3" 1956 | jest-diff "^20.0.3" 1957 | jest-matcher-utils "^20.0.3" 1958 | jest-util "^20.0.3" 1959 | natural-compare "^1.4.0" 1960 | pretty-format "^20.0.3" 1961 | 1962 | jest-util@^20.0.3: 1963 | version "20.0.3" 1964 | resolved "https://registry.yarnpkg.com/jest-util/-/jest-util-20.0.3.tgz#0c07f7d80d82f4e5a67c6f8b9c3fe7f65cfd32ad" 1965 | dependencies: 1966 | chalk "^1.1.3" 1967 | graceful-fs "^4.1.11" 1968 | jest-message-util "^20.0.3" 1969 | jest-mock "^20.0.3" 1970 | jest-validate "^20.0.3" 1971 | leven "^2.1.0" 1972 | mkdirp "^0.5.1" 1973 | 1974 | jest-validate@^20.0.3: 1975 | version "20.0.3" 1976 | resolved "https://registry.yarnpkg.com/jest-validate/-/jest-validate-20.0.3.tgz#d0cfd1de4f579f298484925c280f8f1d94ec3cab" 1977 | dependencies: 1978 | chalk "^1.1.3" 1979 | jest-matcher-utils "^20.0.3" 1980 | leven "^2.1.0" 1981 | pretty-format "^20.0.3" 1982 | 1983 | jest@^20.0.4: 1984 | version "20.0.4" 1985 | resolved "https://registry.yarnpkg.com/jest/-/jest-20.0.4.tgz#3dd260c2989d6dad678b1e9cc4d91944f6d602ac" 1986 | dependencies: 1987 | jest-cli "^20.0.4" 1988 | 1989 | jmespath@0.15.0: 1990 | version "0.15.0" 1991 | resolved "https://registry.yarnpkg.com/jmespath/-/jmespath-0.15.0.tgz#a3f222a9aae9f966f5d27c796510e28091764217" 1992 | 1993 | "js-tokens@^3.0.0 || ^4.0.0": 1994 | version "4.0.0" 1995 | resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-4.0.0.tgz#19203fb59991df98e3a287050d4647cdeaf32499" 1996 | 1997 | js-tokens@^3.0.2: 1998 | version "3.0.2" 1999 | resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-3.0.2.tgz#9866df395102130e38f7f996bceb65443209c25b" 2000 | 2001 | js-yaml@^3.7.0: 2002 | version "3.12.1" 2003 | resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-3.12.1.tgz#295c8632a18a23e054cf5c9d3cecafe678167600" 2004 | dependencies: 2005 | argparse "^1.0.7" 2006 | esprima "^4.0.0" 2007 | 2008 | jsbn@~0.1.0: 2009 | version "0.1.1" 2010 | resolved "https://registry.yarnpkg.com/jsbn/-/jsbn-0.1.1.tgz#a5e654c2e5a2deb5f201d96cefbca80c0ef2f513" 2011 | 2012 | jsdom@^9.12.0: 2013 | version "9.12.0" 2014 | resolved "https://registry.yarnpkg.com/jsdom/-/jsdom-9.12.0.tgz#e8c546fffcb06c00d4833ca84410fed7f8a097d4" 2015 | dependencies: 2016 | abab "^1.0.3" 2017 | acorn "^4.0.4" 2018 | acorn-globals "^3.1.0" 2019 | array-equal "^1.0.0" 2020 | content-type-parser "^1.0.1" 2021 | cssom ">= 0.3.2 < 0.4.0" 2022 | cssstyle ">= 0.2.37 < 0.3.0" 2023 | escodegen "^1.6.1" 2024 | html-encoding-sniffer "^1.0.1" 2025 | nwmatcher ">= 1.3.9 < 2.0.0" 2026 | parse5 "^1.5.1" 2027 | request "^2.79.0" 2028 | sax "^1.2.1" 2029 | symbol-tree "^3.2.1" 2030 | tough-cookie "^2.3.2" 2031 | webidl-conversions "^4.0.0" 2032 | whatwg-encoding "^1.0.1" 2033 | whatwg-url "^4.3.0" 2034 | xml-name-validator "^2.0.1" 2035 | 2036 | jsesc@^1.3.0: 2037 | version "1.3.0" 2038 | resolved "https://registry.yarnpkg.com/jsesc/-/jsesc-1.3.0.tgz#46c3fec8c1892b12b0833db9bc7622176dbab34b" 2039 | 2040 | json-schema-traverse@^0.4.1: 2041 | version "0.4.1" 2042 | resolved "https://registry.yarnpkg.com/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz#69f6a87d9513ab8bb8fe63bdb0979c448e684660" 2043 | 2044 | json-schema@0.2.3: 2045 | version "0.2.3" 2046 | resolved "https://registry.yarnpkg.com/json-schema/-/json-schema-0.2.3.tgz#b480c892e59a2f05954ce727bd3f2a4e882f9e13" 2047 | 2048 | json-stable-stringify@^1.0.1: 2049 | version "1.0.1" 2050 | resolved "https://registry.yarnpkg.com/json-stable-stringify/-/json-stable-stringify-1.0.1.tgz#9a759d39c5f2ff503fd5300646ed445f88c4f9af" 2051 | dependencies: 2052 | jsonify "~0.0.0" 2053 | 2054 | json-stringify-safe@~5.0.1: 2055 | version "5.0.1" 2056 | resolved "https://registry.yarnpkg.com/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz#1296a2d58fd45f19a0f6ce01d65701e2c735b6eb" 2057 | 2058 | json5@^0.5.1: 2059 | version "0.5.1" 2060 | resolved "https://registry.yarnpkg.com/json5/-/json5-0.5.1.tgz#1eade7acc012034ad84e2396767ead9fa5495821" 2061 | 2062 | jsonify@~0.0.0: 2063 | version "0.0.0" 2064 | resolved "https://registry.yarnpkg.com/jsonify/-/jsonify-0.0.0.tgz#2c74b6ee41d93ca51b7b5aaee8f503631d252a73" 2065 | 2066 | jsprim@^1.2.2: 2067 | version "1.4.1" 2068 | resolved "https://registry.yarnpkg.com/jsprim/-/jsprim-1.4.1.tgz#313e66bc1e5cc06e438bc1b7499c2e5c56acb6a2" 2069 | dependencies: 2070 | assert-plus "1.0.0" 2071 | extsprintf "1.3.0" 2072 | json-schema "0.2.3" 2073 | verror "1.10.0" 2074 | 2075 | kind-of@^3.0.2, kind-of@^3.0.3, kind-of@^3.2.0: 2076 | version "3.2.2" 2077 | resolved "https://registry.yarnpkg.com/kind-of/-/kind-of-3.2.2.tgz#31ea21a734bab9bbb0f32466d893aea51e4a3c64" 2078 | dependencies: 2079 | is-buffer "^1.1.5" 2080 | 2081 | kind-of@^4.0.0: 2082 | version "4.0.0" 2083 | resolved "https://registry.yarnpkg.com/kind-of/-/kind-of-4.0.0.tgz#20813df3d712928b207378691a45066fae72dd57" 2084 | dependencies: 2085 | is-buffer "^1.1.5" 2086 | 2087 | kind-of@^5.0.0: 2088 | version "5.1.0" 2089 | resolved "https://registry.yarnpkg.com/kind-of/-/kind-of-5.1.0.tgz#729c91e2d857b7a419a1f9aa65685c4c33f5845d" 2090 | 2091 | kind-of@^6.0.0, kind-of@^6.0.2: 2092 | version "6.0.2" 2093 | resolved "https://registry.yarnpkg.com/kind-of/-/kind-of-6.0.2.tgz#01146b36a6218e64e58f3a8d66de5d7fc6f6d051" 2094 | 2095 | latest-version@^3.0.0: 2096 | version "3.1.0" 2097 | resolved "https://registry.yarnpkg.com/latest-version/-/latest-version-3.1.0.tgz#a205383fea322b33b5ae3b18abee0dc2f356ee15" 2098 | dependencies: 2099 | package-json "^4.0.0" 2100 | 2101 | lcid@^1.0.0: 2102 | version "1.0.0" 2103 | resolved "https://registry.yarnpkg.com/lcid/-/lcid-1.0.0.tgz#308accafa0bc483a3867b4b6f2b9506251d1b835" 2104 | dependencies: 2105 | invert-kv "^1.0.0" 2106 | 2107 | leven@^2.1.0: 2108 | version "2.1.0" 2109 | resolved "https://registry.yarnpkg.com/leven/-/leven-2.1.0.tgz#c2e7a9f772094dee9d34202ae8acce4687875580" 2110 | 2111 | levn@~0.3.0: 2112 | version "0.3.0" 2113 | resolved "https://registry.yarnpkg.com/levn/-/levn-0.3.0.tgz#3b09924edf9f083c0490fdd4c0bc4421e04764ee" 2114 | dependencies: 2115 | prelude-ls "~1.1.2" 2116 | type-check "~0.3.2" 2117 | 2118 | load-json-file@^1.0.0: 2119 | version "1.1.0" 2120 | resolved "https://registry.yarnpkg.com/load-json-file/-/load-json-file-1.1.0.tgz#956905708d58b4bab4c2261b04f59f31c99374c0" 2121 | dependencies: 2122 | graceful-fs "^4.1.2" 2123 | parse-json "^2.2.0" 2124 | pify "^2.0.0" 2125 | pinkie-promise "^2.0.0" 2126 | strip-bom "^2.0.0" 2127 | 2128 | locate-path@^2.0.0: 2129 | version "2.0.0" 2130 | resolved "https://registry.yarnpkg.com/locate-path/-/locate-path-2.0.0.tgz#2b568b265eec944c6d9c0de9c3dbbbca0354cd8e" 2131 | dependencies: 2132 | p-locate "^2.0.0" 2133 | path-exists "^3.0.0" 2134 | 2135 | lodash@^4.17.10, lodash@^4.17.4: 2136 | version "4.17.11" 2137 | resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.11.tgz#b39ea6229ef607ecd89e2c8df12536891cac9b8d" 2138 | 2139 | loose-envify@^1.0.0: 2140 | version "1.4.0" 2141 | resolved "https://registry.yarnpkg.com/loose-envify/-/loose-envify-1.4.0.tgz#71ee51fa7be4caec1a63839f7e682d8132d30caf" 2142 | dependencies: 2143 | js-tokens "^3.0.0 || ^4.0.0" 2144 | 2145 | lowercase-keys@^1.0.0: 2146 | version "1.0.1" 2147 | resolved "https://registry.yarnpkg.com/lowercase-keys/-/lowercase-keys-1.0.1.tgz#6f9e30b47084d971a7c820ff15a6c5167b74c26f" 2148 | 2149 | lru-cache@^4.0.1: 2150 | version "4.1.5" 2151 | resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-4.1.5.tgz#8bbe50ea85bed59bc9e33dcab8235ee9bcf443cd" 2152 | dependencies: 2153 | pseudomap "^1.0.2" 2154 | yallist "^2.1.2" 2155 | 2156 | make-dir@^1.0.0: 2157 | version "1.3.0" 2158 | resolved "https://registry.yarnpkg.com/make-dir/-/make-dir-1.3.0.tgz#79c1033b80515bd6d24ec9933e860ca75ee27f0c" 2159 | dependencies: 2160 | pify "^3.0.0" 2161 | 2162 | makeerror@1.0.x: 2163 | version "1.0.11" 2164 | resolved "https://registry.yarnpkg.com/makeerror/-/makeerror-1.0.11.tgz#e01a5c9109f2af79660e4e8b9587790184f5a96c" 2165 | dependencies: 2166 | tmpl "1.0.x" 2167 | 2168 | map-cache@^0.2.2: 2169 | version "0.2.2" 2170 | resolved "https://registry.yarnpkg.com/map-cache/-/map-cache-0.2.2.tgz#c32abd0bd6525d9b051645bb4f26ac5dc98a0dbf" 2171 | 2172 | map-visit@^1.0.0: 2173 | version "1.0.0" 2174 | resolved "https://registry.yarnpkg.com/map-visit/-/map-visit-1.0.0.tgz#ecdca8f13144e660f1b5bd41f12f3479d98dfb8f" 2175 | dependencies: 2176 | object-visit "^1.0.0" 2177 | 2178 | math-random@^1.0.1: 2179 | version "1.0.4" 2180 | resolved "https://registry.yarnpkg.com/math-random/-/math-random-1.0.4.tgz#5dd6943c938548267016d4e34f057583080c514c" 2181 | 2182 | media-typer@0.3.0: 2183 | version "0.3.0" 2184 | resolved "https://registry.yarnpkg.com/media-typer/-/media-typer-0.3.0.tgz#8710d7af0aa626f8fffa1ce00168545263255748" 2185 | 2186 | merge-descriptors@1.0.1: 2187 | version "1.0.1" 2188 | resolved "https://registry.yarnpkg.com/merge-descriptors/-/merge-descriptors-1.0.1.tgz#b00aaa556dd8b44568150ec9d1b953f3f90cbb61" 2189 | 2190 | merge@^1.2.0: 2191 | version "1.2.1" 2192 | resolved "https://registry.yarnpkg.com/merge/-/merge-1.2.1.tgz#38bebf80c3220a8a487b6fcfb3941bb11720c145" 2193 | 2194 | methods@~1.1.2: 2195 | version "1.1.2" 2196 | resolved "https://registry.yarnpkg.com/methods/-/methods-1.1.2.tgz#5529a4d67654134edcc5266656835b0f851afcee" 2197 | 2198 | micromatch@^2.1.5, micromatch@^2.3.11: 2199 | version "2.3.11" 2200 | resolved "https://registry.yarnpkg.com/micromatch/-/micromatch-2.3.11.tgz#86677c97d1720b363431d04d0d15293bd38c1565" 2201 | dependencies: 2202 | arr-diff "^2.0.0" 2203 | array-unique "^0.2.1" 2204 | braces "^1.8.2" 2205 | expand-brackets "^0.1.4" 2206 | extglob "^0.3.1" 2207 | filename-regex "^2.0.0" 2208 | is-extglob "^1.0.0" 2209 | is-glob "^2.0.1" 2210 | kind-of "^3.0.2" 2211 | normalize-path "^2.0.1" 2212 | object.omit "^2.0.0" 2213 | parse-glob "^3.0.4" 2214 | regex-cache "^0.4.2" 2215 | 2216 | micromatch@^3.1.10, micromatch@^3.1.4: 2217 | version "3.1.10" 2218 | resolved "https://registry.yarnpkg.com/micromatch/-/micromatch-3.1.10.tgz#70859bc95c9840952f359a068a3fc49f9ecfac23" 2219 | dependencies: 2220 | arr-diff "^4.0.0" 2221 | array-unique "^0.3.2" 2222 | braces "^2.3.1" 2223 | define-property "^2.0.2" 2224 | extend-shallow "^3.0.2" 2225 | extglob "^2.0.4" 2226 | fragment-cache "^0.2.1" 2227 | kind-of "^6.0.2" 2228 | nanomatch "^1.2.9" 2229 | object.pick "^1.3.0" 2230 | regex-not "^1.0.0" 2231 | snapdragon "^0.8.1" 2232 | to-regex "^3.0.2" 2233 | 2234 | mime-db@~1.37.0: 2235 | version "1.37.0" 2236 | resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.37.0.tgz#0b6a0ce6fdbe9576e25f1f2d2fde8830dc0ad0d8" 2237 | 2238 | mime-types@^2.1.12, mime-types@~2.1.18, mime-types@~2.1.19: 2239 | version "2.1.21" 2240 | resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-2.1.21.tgz#28995aa1ecb770742fe6ae7e58f9181c744b3f96" 2241 | dependencies: 2242 | mime-db "~1.37.0" 2243 | 2244 | mime@1.4.1: 2245 | version "1.4.1" 2246 | resolved "https://registry.yarnpkg.com/mime/-/mime-1.4.1.tgz#121f9ebc49e3766f311a76e1fa1c8003c4b03aa6" 2247 | 2248 | "minimatch@2 || 3", minimatch@^3.0.2, minimatch@^3.0.3, minimatch@^3.0.4: 2249 | version "3.0.4" 2250 | resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.0.4.tgz#5166e286457f03306064be5497e8dbb0c3d32083" 2251 | dependencies: 2252 | brace-expansion "^1.1.7" 2253 | 2254 | minimist@0.0.8: 2255 | version "0.0.8" 2256 | resolved "https://registry.yarnpkg.com/minimist/-/minimist-0.0.8.tgz#857fcabfc3397d2625b8228262e86aa7a011b05d" 2257 | 2258 | minimist@^1.1.1, minimist@^1.2.0: 2259 | version "1.2.0" 2260 | resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.0.tgz#a35008b20f41383eec1fb914f4cd5df79a264284" 2261 | 2262 | minimist@~0.0.1: 2263 | version "0.0.10" 2264 | resolved "https://registry.yarnpkg.com/minimist/-/minimist-0.0.10.tgz#de3f98543dbf96082be48ad1a0c7cda836301dcf" 2265 | 2266 | minipass@^2.2.1, minipass@^2.3.4: 2267 | version "2.3.5" 2268 | resolved "https://registry.yarnpkg.com/minipass/-/minipass-2.3.5.tgz#cacebe492022497f656b0f0f51e2682a9ed2d848" 2269 | dependencies: 2270 | safe-buffer "^5.1.2" 2271 | yallist "^3.0.0" 2272 | 2273 | minizlib@^1.1.1: 2274 | version "1.2.1" 2275 | resolved "https://registry.yarnpkg.com/minizlib/-/minizlib-1.2.1.tgz#dd27ea6136243c7c880684e8672bb3a45fd9b614" 2276 | dependencies: 2277 | minipass "^2.2.1" 2278 | 2279 | mixin-deep@^1.2.0: 2280 | version "1.3.1" 2281 | resolved "https://registry.yarnpkg.com/mixin-deep/-/mixin-deep-1.3.1.tgz#a49e7268dce1a0d9698e45326c5626df3543d0fe" 2282 | dependencies: 2283 | for-in "^1.0.2" 2284 | is-extendable "^1.0.1" 2285 | 2286 | mkdirp@^0.5.0, mkdirp@^0.5.1, mkdirp@~0.5.1: 2287 | version "0.5.1" 2288 | resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-0.5.1.tgz#30057438eac6cf7f8c4767f38648d6697d75c903" 2289 | dependencies: 2290 | minimist "0.0.8" 2291 | 2292 | moment@^2.10.6: 2293 | version "2.24.0" 2294 | resolved "https://registry.yarnpkg.com/moment/-/moment-2.24.0.tgz#0d055d53f5052aa653c9f6eb68bb5d12bf5c2b5b" 2295 | 2296 | ms@2.0.0: 2297 | version "2.0.0" 2298 | resolved "https://registry.yarnpkg.com/ms/-/ms-2.0.0.tgz#5608aeadfc00be6c2901df5f9861788de0d597c8" 2299 | 2300 | ms@^2.0.0, ms@^2.1.1: 2301 | version "2.1.1" 2302 | resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.1.tgz#30a5864eb3ebb0a66f2ebe6d727af06a09d86e0a" 2303 | 2304 | mv@~2: 2305 | version "2.1.1" 2306 | resolved "https://registry.yarnpkg.com/mv/-/mv-2.1.1.tgz#ae6ce0d6f6d5e0a4f7d893798d03c1ea9559b6a2" 2307 | dependencies: 2308 | mkdirp "~0.5.1" 2309 | ncp "~2.0.0" 2310 | rimraf "~2.4.0" 2311 | 2312 | nan@^2.10.0, nan@^2.9.2: 2313 | version "2.12.1" 2314 | resolved "https://registry.yarnpkg.com/nan/-/nan-2.12.1.tgz#7b1aa193e9aa86057e3c7bbd0ac448e770925552" 2315 | 2316 | nanomatch@^1.2.9: 2317 | version "1.2.13" 2318 | resolved "https://registry.yarnpkg.com/nanomatch/-/nanomatch-1.2.13.tgz#b87a8aa4fc0de8fe6be88895b38983ff265bd119" 2319 | dependencies: 2320 | arr-diff "^4.0.0" 2321 | array-unique "^0.3.2" 2322 | define-property "^2.0.2" 2323 | extend-shallow "^3.0.2" 2324 | fragment-cache "^0.2.1" 2325 | is-windows "^1.0.2" 2326 | kind-of "^6.0.2" 2327 | object.pick "^1.3.0" 2328 | regex-not "^1.0.0" 2329 | snapdragon "^0.8.1" 2330 | to-regex "^3.0.1" 2331 | 2332 | natural-compare@^1.4.0: 2333 | version "1.4.0" 2334 | resolved "https://registry.yarnpkg.com/natural-compare/-/natural-compare-1.4.0.tgz#4abebfeed7541f2c27acfb29bdbbd15c8d5ba4f7" 2335 | 2336 | ncp@~2.0.0: 2337 | version "2.0.0" 2338 | resolved "https://registry.yarnpkg.com/ncp/-/ncp-2.0.0.tgz#195a21d6c46e361d2fb1281ba38b91e9df7bdbb3" 2339 | 2340 | needle@^2.2.1: 2341 | version "2.2.4" 2342 | resolved "https://registry.yarnpkg.com/needle/-/needle-2.2.4.tgz#51931bff82533b1928b7d1d69e01f1b00ffd2a4e" 2343 | dependencies: 2344 | debug "^2.1.2" 2345 | iconv-lite "^0.4.4" 2346 | sax "^1.2.4" 2347 | 2348 | negotiator@0.6.1: 2349 | version "0.6.1" 2350 | resolved "https://registry.yarnpkg.com/negotiator/-/negotiator-0.6.1.tgz#2b327184e8992101177b28563fb5e7102acd0ca9" 2351 | 2352 | node-int64@^0.4.0: 2353 | version "0.4.0" 2354 | resolved "https://registry.yarnpkg.com/node-int64/-/node-int64-0.4.0.tgz#87a9065cdb355d3182d8f94ce11188b825c68a3b" 2355 | 2356 | node-notifier@^5.0.2: 2357 | version "5.4.0" 2358 | resolved "https://registry.yarnpkg.com/node-notifier/-/node-notifier-5.4.0.tgz#7b455fdce9f7de0c63538297354f3db468426e6a" 2359 | dependencies: 2360 | growly "^1.3.0" 2361 | is-wsl "^1.1.0" 2362 | semver "^5.5.0" 2363 | shellwords "^0.1.1" 2364 | which "^1.3.0" 2365 | 2366 | node-pre-gyp@^0.10.0: 2367 | version "0.10.3" 2368 | resolved "https://registry.yarnpkg.com/node-pre-gyp/-/node-pre-gyp-0.10.3.tgz#3070040716afdc778747b61b6887bf78880b80fc" 2369 | dependencies: 2370 | detect-libc "^1.0.2" 2371 | mkdirp "^0.5.1" 2372 | needle "^2.2.1" 2373 | nopt "^4.0.1" 2374 | npm-packlist "^1.1.6" 2375 | npmlog "^4.0.2" 2376 | rc "^1.2.7" 2377 | rimraf "^2.6.1" 2378 | semver "^5.3.0" 2379 | tar "^4" 2380 | 2381 | nodemon@^1.18.9: 2382 | version "1.18.9" 2383 | resolved "https://registry.yarnpkg.com/nodemon/-/nodemon-1.18.9.tgz#90b467efd3b3c81b9453380aeb2a2cba535d0ead" 2384 | dependencies: 2385 | chokidar "^2.0.4" 2386 | debug "^3.1.0" 2387 | ignore-by-default "^1.0.1" 2388 | minimatch "^3.0.4" 2389 | pstree.remy "^1.1.6" 2390 | semver "^5.5.0" 2391 | supports-color "^5.2.0" 2392 | touch "^3.1.0" 2393 | undefsafe "^2.0.2" 2394 | update-notifier "^2.5.0" 2395 | 2396 | nopt@^4.0.1: 2397 | version "4.0.1" 2398 | resolved "https://registry.yarnpkg.com/nopt/-/nopt-4.0.1.tgz#d0d4685afd5415193c8c7505602d0d17cd64474d" 2399 | dependencies: 2400 | abbrev "1" 2401 | osenv "^0.1.4" 2402 | 2403 | nopt@~1.0.10: 2404 | version "1.0.10" 2405 | resolved "https://registry.yarnpkg.com/nopt/-/nopt-1.0.10.tgz#6ddd21bd2a31417b92727dd585f8a6f37608ebee" 2406 | dependencies: 2407 | abbrev "1" 2408 | 2409 | normalize-package-data@^2.3.2: 2410 | version "2.5.0" 2411 | resolved "https://registry.yarnpkg.com/normalize-package-data/-/normalize-package-data-2.5.0.tgz#e66db1838b200c1dfc233225d12cb36520e234a8" 2412 | dependencies: 2413 | hosted-git-info "^2.1.4" 2414 | resolve "^1.10.0" 2415 | semver "2 || 3 || 4 || 5" 2416 | validate-npm-package-license "^3.0.1" 2417 | 2418 | normalize-path@^2.0.0, normalize-path@^2.0.1, normalize-path@^2.1.1: 2419 | version "2.1.1" 2420 | resolved "https://registry.yarnpkg.com/normalize-path/-/normalize-path-2.1.1.tgz#1ab28b556e198363a8c1a6f7e6fa20137fe6aed9" 2421 | dependencies: 2422 | remove-trailing-separator "^1.0.1" 2423 | 2424 | normalize-path@^3.0.0: 2425 | version "3.0.0" 2426 | resolved "https://registry.yarnpkg.com/normalize-path/-/normalize-path-3.0.0.tgz#0dcd69ff23a1c9b11fd0978316644a0388216a65" 2427 | 2428 | npm-bundled@^1.0.1: 2429 | version "1.0.6" 2430 | resolved "https://registry.yarnpkg.com/npm-bundled/-/npm-bundled-1.0.6.tgz#e7ba9aadcef962bb61248f91721cd932b3fe6bdd" 2431 | 2432 | npm-packlist@^1.1.6: 2433 | version "1.3.0" 2434 | resolved "https://registry.yarnpkg.com/npm-packlist/-/npm-packlist-1.3.0.tgz#7f01e8e44408341379ca98cfd756e7b29bd2626c" 2435 | dependencies: 2436 | ignore-walk "^3.0.1" 2437 | npm-bundled "^1.0.1" 2438 | 2439 | npm-run-path@^2.0.0: 2440 | version "2.0.2" 2441 | resolved "https://registry.yarnpkg.com/npm-run-path/-/npm-run-path-2.0.2.tgz#35a9232dfa35d7067b4cb2ddf2357b1871536c5f" 2442 | dependencies: 2443 | path-key "^2.0.0" 2444 | 2445 | npmlog@^4.0.2: 2446 | version "4.1.2" 2447 | resolved "https://registry.yarnpkg.com/npmlog/-/npmlog-4.1.2.tgz#08a7f2a8bf734604779a9efa4ad5cc717abb954b" 2448 | dependencies: 2449 | are-we-there-yet "~1.1.2" 2450 | console-control-strings "~1.1.0" 2451 | gauge "~2.7.3" 2452 | set-blocking "~2.0.0" 2453 | 2454 | number-is-nan@^1.0.0: 2455 | version "1.0.1" 2456 | resolved "https://registry.yarnpkg.com/number-is-nan/-/number-is-nan-1.0.1.tgz#097b602b53422a522c1afb8790318336941a011d" 2457 | 2458 | "nwmatcher@>= 1.3.9 < 2.0.0": 2459 | version "1.4.4" 2460 | resolved "https://registry.yarnpkg.com/nwmatcher/-/nwmatcher-1.4.4.tgz#2285631f34a95f0d0395cd900c96ed39b58f346e" 2461 | 2462 | oauth-sign@~0.9.0: 2463 | version "0.9.0" 2464 | resolved "https://registry.yarnpkg.com/oauth-sign/-/oauth-sign-0.9.0.tgz#47a7b016baa68b5fa0ecf3dee08a85c679ac6455" 2465 | 2466 | object-assign@^4, object-assign@^4.1.0: 2467 | version "4.1.1" 2468 | resolved "https://registry.yarnpkg.com/object-assign/-/object-assign-4.1.1.tgz#2109adc7965887cfc05cbbd442cac8bfbb360863" 2469 | 2470 | object-copy@^0.1.0: 2471 | version "0.1.0" 2472 | resolved "https://registry.yarnpkg.com/object-copy/-/object-copy-0.1.0.tgz#7e7d858b781bd7c991a41ba975ed3812754e998c" 2473 | dependencies: 2474 | copy-descriptor "^0.1.0" 2475 | define-property "^0.2.5" 2476 | kind-of "^3.0.3" 2477 | 2478 | object-visit@^1.0.0: 2479 | version "1.0.1" 2480 | resolved "https://registry.yarnpkg.com/object-visit/-/object-visit-1.0.1.tgz#f79c4493af0c5377b59fe39d395e41042dd045bb" 2481 | dependencies: 2482 | isobject "^3.0.0" 2483 | 2484 | object.omit@^2.0.0: 2485 | version "2.0.1" 2486 | resolved "https://registry.yarnpkg.com/object.omit/-/object.omit-2.0.1.tgz#1a9c744829f39dbb858c76ca3579ae2a54ebd1fa" 2487 | dependencies: 2488 | for-own "^0.1.4" 2489 | is-extendable "^0.1.1" 2490 | 2491 | object.pick@^1.3.0: 2492 | version "1.3.0" 2493 | resolved "https://registry.yarnpkg.com/object.pick/-/object.pick-1.3.0.tgz#87a10ac4c1694bd2e1cbf53591a66141fb5dd747" 2494 | dependencies: 2495 | isobject "^3.0.1" 2496 | 2497 | on-finished@~2.3.0: 2498 | version "2.3.0" 2499 | resolved "https://registry.yarnpkg.com/on-finished/-/on-finished-2.3.0.tgz#20f1336481b083cd75337992a16971aa2d906947" 2500 | dependencies: 2501 | ee-first "1.1.1" 2502 | 2503 | once@^1.3.0, once@^1.4.0: 2504 | version "1.4.0" 2505 | resolved "https://registry.yarnpkg.com/once/-/once-1.4.0.tgz#583b1aa775961d4b113ac17d9c50baef9dd76bd1" 2506 | dependencies: 2507 | wrappy "1" 2508 | 2509 | optimist@^0.6.1: 2510 | version "0.6.1" 2511 | resolved "https://registry.yarnpkg.com/optimist/-/optimist-0.6.1.tgz#da3ea74686fa21a19a111c326e90eb15a0196686" 2512 | dependencies: 2513 | minimist "~0.0.1" 2514 | wordwrap "~0.0.2" 2515 | 2516 | optionator@^0.8.1: 2517 | version "0.8.2" 2518 | resolved "https://registry.yarnpkg.com/optionator/-/optionator-0.8.2.tgz#364c5e409d3f4d6301d6c0b4c05bba50180aeb64" 2519 | dependencies: 2520 | deep-is "~0.1.3" 2521 | fast-levenshtein "~2.0.4" 2522 | levn "~0.3.0" 2523 | prelude-ls "~1.1.2" 2524 | type-check "~0.3.2" 2525 | wordwrap "~1.0.0" 2526 | 2527 | os-homedir@^1.0.0: 2528 | version "1.0.2" 2529 | resolved "https://registry.yarnpkg.com/os-homedir/-/os-homedir-1.0.2.tgz#ffbc4988336e0e833de0c168c7ef152121aa7fb3" 2530 | 2531 | os-locale@^1.4.0: 2532 | version "1.4.0" 2533 | resolved "https://registry.yarnpkg.com/os-locale/-/os-locale-1.4.0.tgz#20f9f17ae29ed345e8bde583b13d2009803c14d9" 2534 | dependencies: 2535 | lcid "^1.0.0" 2536 | 2537 | os-tmpdir@^1.0.0, os-tmpdir@^1.0.1: 2538 | version "1.0.2" 2539 | resolved "https://registry.yarnpkg.com/os-tmpdir/-/os-tmpdir-1.0.2.tgz#bbe67406c79aa85c5cfec766fe5734555dfa1274" 2540 | 2541 | osenv@^0.1.4: 2542 | version "0.1.5" 2543 | resolved "https://registry.yarnpkg.com/osenv/-/osenv-0.1.5.tgz#85cdfafaeb28e8677f416e287592b5f3f49ea410" 2544 | dependencies: 2545 | os-homedir "^1.0.0" 2546 | os-tmpdir "^1.0.0" 2547 | 2548 | p-finally@^1.0.0: 2549 | version "1.0.0" 2550 | resolved "https://registry.yarnpkg.com/p-finally/-/p-finally-1.0.0.tgz#3fbcfb15b899a44123b34b6dcc18b724336a2cae" 2551 | 2552 | p-limit@^1.1.0: 2553 | version "1.3.0" 2554 | resolved "https://registry.yarnpkg.com/p-limit/-/p-limit-1.3.0.tgz#b86bd5f0c25690911c7590fcbfc2010d54b3ccb8" 2555 | dependencies: 2556 | p-try "^1.0.0" 2557 | 2558 | p-locate@^2.0.0: 2559 | version "2.0.0" 2560 | resolved "https://registry.yarnpkg.com/p-locate/-/p-locate-2.0.0.tgz#20a0103b222a70c8fd39cc2e580680f3dde5ec43" 2561 | dependencies: 2562 | p-limit "^1.1.0" 2563 | 2564 | p-map@^1.1.1: 2565 | version "1.2.0" 2566 | resolved "https://registry.yarnpkg.com/p-map/-/p-map-1.2.0.tgz#e4e94f311eabbc8633a1e79908165fca26241b6b" 2567 | 2568 | p-try@^1.0.0: 2569 | version "1.0.0" 2570 | resolved "https://registry.yarnpkg.com/p-try/-/p-try-1.0.0.tgz#cbc79cdbaf8fd4228e13f621f2b1a237c1b207b3" 2571 | 2572 | package-json@^4.0.0: 2573 | version "4.0.1" 2574 | resolved "https://registry.yarnpkg.com/package-json/-/package-json-4.0.1.tgz#8869a0401253661c4c4ca3da6c2121ed555f5eed" 2575 | dependencies: 2576 | got "^6.7.1" 2577 | registry-auth-token "^3.0.1" 2578 | registry-url "^3.0.3" 2579 | semver "^5.1.0" 2580 | 2581 | parse-glob@^3.0.4: 2582 | version "3.0.4" 2583 | resolved "https://registry.yarnpkg.com/parse-glob/-/parse-glob-3.0.4.tgz#b2c376cfb11f35513badd173ef0bb6e3a388391c" 2584 | dependencies: 2585 | glob-base "^0.3.0" 2586 | is-dotfile "^1.0.0" 2587 | is-extglob "^1.0.0" 2588 | is-glob "^2.0.0" 2589 | 2590 | parse-json@^2.2.0: 2591 | version "2.2.0" 2592 | resolved "https://registry.yarnpkg.com/parse-json/-/parse-json-2.2.0.tgz#f480f40434ef80741f8469099f8dea18f55a4dc9" 2593 | dependencies: 2594 | error-ex "^1.2.0" 2595 | 2596 | parse5@^1.5.1: 2597 | version "1.5.1" 2598 | resolved "https://registry.yarnpkg.com/parse5/-/parse5-1.5.1.tgz#9b7f3b0de32be78dc2401b17573ccaf0f6f59d94" 2599 | 2600 | parseurl@~1.3.2: 2601 | version "1.3.2" 2602 | resolved "https://registry.yarnpkg.com/parseurl/-/parseurl-1.3.2.tgz#fc289d4ed8993119460c156253262cdc8de65bf3" 2603 | 2604 | pascalcase@^0.1.1: 2605 | version "0.1.1" 2606 | resolved "https://registry.yarnpkg.com/pascalcase/-/pascalcase-0.1.1.tgz#b363e55e8006ca6fe21784d2db22bd15d7917f14" 2607 | 2608 | path-dirname@^1.0.0: 2609 | version "1.0.2" 2610 | resolved "https://registry.yarnpkg.com/path-dirname/-/path-dirname-1.0.2.tgz#cc33d24d525e099a5388c0336c6e32b9160609e0" 2611 | 2612 | path-exists@^2.0.0: 2613 | version "2.1.0" 2614 | resolved "https://registry.yarnpkg.com/path-exists/-/path-exists-2.1.0.tgz#0feb6c64f0fc518d9a754dd5efb62c7022761f4b" 2615 | dependencies: 2616 | pinkie-promise "^2.0.0" 2617 | 2618 | path-exists@^3.0.0: 2619 | version "3.0.0" 2620 | resolved "https://registry.yarnpkg.com/path-exists/-/path-exists-3.0.0.tgz#ce0ebeaa5f78cb18925ea7d810d7b59b010fd515" 2621 | 2622 | path-is-absolute@^1.0.0, path-is-absolute@^1.0.1: 2623 | version "1.0.1" 2624 | resolved "https://registry.yarnpkg.com/path-is-absolute/-/path-is-absolute-1.0.1.tgz#174b9268735534ffbc7ace6bf53a5a9e1b5c5f5f" 2625 | 2626 | path-is-inside@^1.0.1: 2627 | version "1.0.2" 2628 | resolved "https://registry.yarnpkg.com/path-is-inside/-/path-is-inside-1.0.2.tgz#365417dede44430d1c11af61027facf074bdfc53" 2629 | 2630 | path-key@^2.0.0: 2631 | version "2.0.1" 2632 | resolved "https://registry.yarnpkg.com/path-key/-/path-key-2.0.1.tgz#411cadb574c5a140d3a4b1910d40d80cc9f40b40" 2633 | 2634 | path-parse@^1.0.5, path-parse@^1.0.6: 2635 | version "1.0.6" 2636 | resolved "https://registry.yarnpkg.com/path-parse/-/path-parse-1.0.6.tgz#d62dbb5679405d72c4737ec58600e9ddcf06d24c" 2637 | 2638 | path-to-regexp@0.1.7: 2639 | version "0.1.7" 2640 | resolved "https://registry.yarnpkg.com/path-to-regexp/-/path-to-regexp-0.1.7.tgz#df604178005f522f15eb4490e7247a1bfaa67f8c" 2641 | 2642 | path-type@^1.0.0: 2643 | version "1.1.0" 2644 | resolved "https://registry.yarnpkg.com/path-type/-/path-type-1.1.0.tgz#59c44f7ee491da704da415da5a4070ba4f8fe441" 2645 | dependencies: 2646 | graceful-fs "^4.1.2" 2647 | pify "^2.0.0" 2648 | pinkie-promise "^2.0.0" 2649 | 2650 | performance-now@^2.1.0: 2651 | version "2.1.0" 2652 | resolved "https://registry.yarnpkg.com/performance-now/-/performance-now-2.1.0.tgz#6309f4e0e5fa913ec1c69307ae364b4b377c9e7b" 2653 | 2654 | pify@^2.0.0, pify@^2.3.0: 2655 | version "2.3.0" 2656 | resolved "https://registry.yarnpkg.com/pify/-/pify-2.3.0.tgz#ed141a6ac043a849ea588498e7dca8b15330e90c" 2657 | 2658 | pify@^3.0.0: 2659 | version "3.0.0" 2660 | resolved "https://registry.yarnpkg.com/pify/-/pify-3.0.0.tgz#e5a4acd2c101fdf3d9a4d07f0dbc4db49dd28176" 2661 | 2662 | pinkie-promise@^2.0.0: 2663 | version "2.0.1" 2664 | resolved "https://registry.yarnpkg.com/pinkie-promise/-/pinkie-promise-2.0.1.tgz#2135d6dfa7a358c069ac9b178776288228450ffa" 2665 | dependencies: 2666 | pinkie "^2.0.0" 2667 | 2668 | pinkie@^2.0.0: 2669 | version "2.0.4" 2670 | resolved "https://registry.yarnpkg.com/pinkie/-/pinkie-2.0.4.tgz#72556b80cfa0d48a974e80e77248e80ed4f7f870" 2671 | 2672 | posix-character-classes@^0.1.0: 2673 | version "0.1.1" 2674 | resolved "https://registry.yarnpkg.com/posix-character-classes/-/posix-character-classes-0.1.1.tgz#01eac0fe3b5af71a2a6c02feabb8c1fef7e00eab" 2675 | 2676 | prelude-ls@~1.1.2: 2677 | version "1.1.2" 2678 | resolved "https://registry.yarnpkg.com/prelude-ls/-/prelude-ls-1.1.2.tgz#21932a549f5e52ffd9a827f570e04be62a97da54" 2679 | 2680 | prepend-http@^1.0.1: 2681 | version "1.0.4" 2682 | resolved "https://registry.yarnpkg.com/prepend-http/-/prepend-http-1.0.4.tgz#d4f4562b0ce3696e41ac52d0e002e57a635dc6dc" 2683 | 2684 | preserve@^0.2.0: 2685 | version "0.2.0" 2686 | resolved "https://registry.yarnpkg.com/preserve/-/preserve-0.2.0.tgz#815ed1f6ebc65926f865b310c0713bcb3315ce4b" 2687 | 2688 | pretty-format@^20.0.3: 2689 | version "20.0.3" 2690 | resolved "https://registry.yarnpkg.com/pretty-format/-/pretty-format-20.0.3.tgz#020e350a560a1fe1a98dc3beb6ccffb386de8b14" 2691 | dependencies: 2692 | ansi-regex "^2.1.1" 2693 | ansi-styles "^3.0.0" 2694 | 2695 | private@^0.1.8: 2696 | version "0.1.8" 2697 | resolved "https://registry.yarnpkg.com/private/-/private-0.1.8.tgz#2381edb3689f7a53d653190060fcf822d2f368ff" 2698 | 2699 | process-nextick-args@~2.0.0: 2700 | version "2.0.0" 2701 | resolved "https://registry.yarnpkg.com/process-nextick-args/-/process-nextick-args-2.0.0.tgz#a37d732f4271b4ab1ad070d35508e8290788ffaa" 2702 | 2703 | proxy-addr@~2.0.4: 2704 | version "2.0.4" 2705 | resolved "https://registry.yarnpkg.com/proxy-addr/-/proxy-addr-2.0.4.tgz#ecfc733bf22ff8c6f407fa275327b9ab67e48b93" 2706 | dependencies: 2707 | forwarded "~0.1.2" 2708 | ipaddr.js "1.8.0" 2709 | 2710 | prr@~1.0.1: 2711 | version "1.0.1" 2712 | resolved "https://registry.yarnpkg.com/prr/-/prr-1.0.1.tgz#d3fc114ba06995a45ec6893f484ceb1d78f5f476" 2713 | 2714 | pseudomap@^1.0.2: 2715 | version "1.0.2" 2716 | resolved "https://registry.yarnpkg.com/pseudomap/-/pseudomap-1.0.2.tgz#f052a28da70e618917ef0a8ac34c1ae5a68286b3" 2717 | 2718 | psl@^1.1.24, psl@^1.1.28: 2719 | version "1.1.31" 2720 | resolved "https://registry.yarnpkg.com/psl/-/psl-1.1.31.tgz#e9aa86d0101b5b105cbe93ac6b784cd547276184" 2721 | 2722 | pstree.remy@^1.1.6: 2723 | version "1.1.6" 2724 | resolved "https://registry.yarnpkg.com/pstree.remy/-/pstree.remy-1.1.6.tgz#73a55aad9e2d95814927131fbf4dc1b62d259f47" 2725 | 2726 | punycode@1.3.2: 2727 | version "1.3.2" 2728 | resolved "https://registry.yarnpkg.com/punycode/-/punycode-1.3.2.tgz#9653a036fb7c1ee42342f2325cceefea3926c48d" 2729 | 2730 | punycode@^1.4.1: 2731 | version "1.4.1" 2732 | resolved "https://registry.yarnpkg.com/punycode/-/punycode-1.4.1.tgz#c0d5a63b2718800ad8e1eb0fa5269c84dd41845e" 2733 | 2734 | punycode@^2.1.0, punycode@^2.1.1: 2735 | version "2.1.1" 2736 | resolved "https://registry.yarnpkg.com/punycode/-/punycode-2.1.1.tgz#b58b010ac40c22c5657616c8d2c2c02c7bf479ec" 2737 | 2738 | qs@6.5.2, qs@~6.5.2: 2739 | version "6.5.2" 2740 | resolved "https://registry.yarnpkg.com/qs/-/qs-6.5.2.tgz#cb3ae806e8740444584ef154ce8ee98d403f3e36" 2741 | 2742 | querystring@0.2.0: 2743 | version "0.2.0" 2744 | resolved "https://registry.yarnpkg.com/querystring/-/querystring-0.2.0.tgz#b209849203bb25df820da756e747005878521620" 2745 | 2746 | randomatic@^3.0.0: 2747 | version "3.1.1" 2748 | resolved "https://registry.yarnpkg.com/randomatic/-/randomatic-3.1.1.tgz#b776efc59375984e36c537b2f51a1f0aff0da1ed" 2749 | dependencies: 2750 | is-number "^4.0.0" 2751 | kind-of "^6.0.0" 2752 | math-random "^1.0.1" 2753 | 2754 | range-parser@~1.2.0: 2755 | version "1.2.0" 2756 | resolved "https://registry.yarnpkg.com/range-parser/-/range-parser-1.2.0.tgz#f49be6b487894ddc40dcc94a322f611092e00d5e" 2757 | 2758 | raw-body@2.3.3, raw-body@^2.3.3: 2759 | version "2.3.3" 2760 | resolved "https://registry.yarnpkg.com/raw-body/-/raw-body-2.3.3.tgz#1b324ece6b5706e153855bc1148c65bb7f6ea0c3" 2761 | dependencies: 2762 | bytes "3.0.0" 2763 | http-errors "1.6.3" 2764 | iconv-lite "0.4.23" 2765 | unpipe "1.0.0" 2766 | 2767 | rc@^1.0.1, rc@^1.1.6, rc@^1.2.7: 2768 | version "1.2.8" 2769 | resolved "https://registry.yarnpkg.com/rc/-/rc-1.2.8.tgz#cd924bf5200a075b83c188cd6b9e211b7fc0d3ed" 2770 | dependencies: 2771 | deep-extend "^0.6.0" 2772 | ini "~1.3.0" 2773 | minimist "^1.2.0" 2774 | strip-json-comments "~2.0.1" 2775 | 2776 | read-pkg-up@^1.0.1: 2777 | version "1.0.1" 2778 | resolved "https://registry.yarnpkg.com/read-pkg-up/-/read-pkg-up-1.0.1.tgz#9d63c13276c065918d57f002a57f40a1b643fb02" 2779 | dependencies: 2780 | find-up "^1.0.0" 2781 | read-pkg "^1.0.0" 2782 | 2783 | read-pkg@^1.0.0: 2784 | version "1.1.0" 2785 | resolved "https://registry.yarnpkg.com/read-pkg/-/read-pkg-1.1.0.tgz#f5ffaa5ecd29cb31c0474bca7d756b6bb29e3f28" 2786 | dependencies: 2787 | load-json-file "^1.0.0" 2788 | normalize-package-data "^2.3.2" 2789 | path-type "^1.0.0" 2790 | 2791 | readable-stream@^2.0.2, readable-stream@^2.0.6: 2792 | version "2.3.6" 2793 | resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-2.3.6.tgz#b11c27d88b8ff1fbe070643cf94b0c79ae1b0aaf" 2794 | dependencies: 2795 | core-util-is "~1.0.0" 2796 | inherits "~2.0.3" 2797 | isarray "~1.0.0" 2798 | process-nextick-args "~2.0.0" 2799 | safe-buffer "~5.1.1" 2800 | string_decoder "~1.1.1" 2801 | util-deprecate "~1.0.1" 2802 | 2803 | readdirp@^2.2.1: 2804 | version "2.2.1" 2805 | resolved "https://registry.yarnpkg.com/readdirp/-/readdirp-2.2.1.tgz#0e87622a3325aa33e892285caf8b4e846529a525" 2806 | dependencies: 2807 | graceful-fs "^4.1.11" 2808 | micromatch "^3.1.10" 2809 | readable-stream "^2.0.2" 2810 | 2811 | regenerator-runtime@^0.11.0: 2812 | version "0.11.1" 2813 | resolved "https://registry.yarnpkg.com/regenerator-runtime/-/regenerator-runtime-0.11.1.tgz#be05ad7f9bf7d22e056f9726cee5017fbf19e2e9" 2814 | 2815 | regex-cache@^0.4.2: 2816 | version "0.4.4" 2817 | resolved "https://registry.yarnpkg.com/regex-cache/-/regex-cache-0.4.4.tgz#75bdc58a2a1496cec48a12835bc54c8d562336dd" 2818 | dependencies: 2819 | is-equal-shallow "^0.1.3" 2820 | 2821 | regex-not@^1.0.0, regex-not@^1.0.2: 2822 | version "1.0.2" 2823 | resolved "https://registry.yarnpkg.com/regex-not/-/regex-not-1.0.2.tgz#1f4ece27e00b0b65e0247a6810e6a85d83a5752c" 2824 | dependencies: 2825 | extend-shallow "^3.0.2" 2826 | safe-regex "^1.1.0" 2827 | 2828 | registry-auth-token@^3.0.1: 2829 | version "3.3.2" 2830 | resolved "https://registry.yarnpkg.com/registry-auth-token/-/registry-auth-token-3.3.2.tgz#851fd49038eecb586911115af845260eec983f20" 2831 | dependencies: 2832 | rc "^1.1.6" 2833 | safe-buffer "^5.0.1" 2834 | 2835 | registry-url@^3.0.3: 2836 | version "3.1.0" 2837 | resolved "https://registry.yarnpkg.com/registry-url/-/registry-url-3.1.0.tgz#3d4ef870f73dde1d77f0cf9a381432444e174942" 2838 | dependencies: 2839 | rc "^1.0.1" 2840 | 2841 | remove-trailing-separator@^1.0.1: 2842 | version "1.1.0" 2843 | resolved "https://registry.yarnpkg.com/remove-trailing-separator/-/remove-trailing-separator-1.1.0.tgz#c24bce2a283adad5bc3f58e0d48249b92379d8ef" 2844 | 2845 | repeat-element@^1.1.2: 2846 | version "1.1.3" 2847 | resolved "https://registry.yarnpkg.com/repeat-element/-/repeat-element-1.1.3.tgz#782e0d825c0c5a3bb39731f84efee6b742e6b1ce" 2848 | 2849 | repeat-string@^1.5.2, repeat-string@^1.6.1: 2850 | version "1.6.1" 2851 | resolved "https://registry.yarnpkg.com/repeat-string/-/repeat-string-1.6.1.tgz#8dcae470e1c88abc2d600fff4a776286da75e637" 2852 | 2853 | repeating@^2.0.0: 2854 | version "2.0.1" 2855 | resolved "https://registry.yarnpkg.com/repeating/-/repeating-2.0.1.tgz#5214c53a926d3552707527fbab415dbc08d06dda" 2856 | dependencies: 2857 | is-finite "^1.0.0" 2858 | 2859 | request@^2.79.0: 2860 | version "2.88.0" 2861 | resolved "https://registry.yarnpkg.com/request/-/request-2.88.0.tgz#9c2fca4f7d35b592efe57c7f0a55e81052124fef" 2862 | dependencies: 2863 | aws-sign2 "~0.7.0" 2864 | aws4 "^1.8.0" 2865 | caseless "~0.12.0" 2866 | combined-stream "~1.0.6" 2867 | extend "~3.0.2" 2868 | forever-agent "~0.6.1" 2869 | form-data "~2.3.2" 2870 | har-validator "~5.1.0" 2871 | http-signature "~1.2.0" 2872 | is-typedarray "~1.0.0" 2873 | isstream "~0.1.2" 2874 | json-stringify-safe "~5.0.1" 2875 | mime-types "~2.1.19" 2876 | oauth-sign "~0.9.0" 2877 | performance-now "^2.1.0" 2878 | qs "~6.5.2" 2879 | safe-buffer "^5.1.2" 2880 | tough-cookie "~2.4.3" 2881 | tunnel-agent "^0.6.0" 2882 | uuid "^3.3.2" 2883 | 2884 | require-directory@^2.1.1: 2885 | version "2.1.1" 2886 | resolved "https://registry.yarnpkg.com/require-directory/-/require-directory-2.1.1.tgz#8c64ad5fd30dab1c976e2344ffe7f792a6a6df42" 2887 | 2888 | require-main-filename@^1.0.1: 2889 | version "1.0.1" 2890 | resolved "https://registry.yarnpkg.com/require-main-filename/-/require-main-filename-1.0.1.tgz#97f717b69d48784f5f526a6c5aa8ffdda055a4d1" 2891 | 2892 | resolve-url@^0.2.1: 2893 | version "0.2.1" 2894 | resolved "https://registry.yarnpkg.com/resolve-url/-/resolve-url-0.2.1.tgz#2c637fe77c893afd2a663fe21aa9080068e2052a" 2895 | 2896 | resolve@1.1.7: 2897 | version "1.1.7" 2898 | resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.1.7.tgz#203114d82ad2c5ed9e8e0411b3932875e889e97b" 2899 | 2900 | resolve@^1.10.0, resolve@^1.3.2: 2901 | version "1.10.0" 2902 | resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.10.0.tgz#3bdaaeaf45cc07f375656dfd2e54ed0810b101ba" 2903 | dependencies: 2904 | path-parse "^1.0.6" 2905 | 2906 | ret@~0.1.10: 2907 | version "0.1.15" 2908 | resolved "https://registry.yarnpkg.com/ret/-/ret-0.1.15.tgz#b8a4825d5bdb1fc3f6f53c2bc33f81388681c7bc" 2909 | 2910 | rimraf@^2.6.1: 2911 | version "2.6.3" 2912 | resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-2.6.3.tgz#b2d104fe0d8fb27cf9e0a1cda8262dd3833c6cab" 2913 | dependencies: 2914 | glob "^7.1.3" 2915 | 2916 | rimraf@~2.4.0: 2917 | version "2.4.5" 2918 | resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-2.4.5.tgz#ee710ce5d93a8fdb856fb5ea8ff0e2d75934b2da" 2919 | dependencies: 2920 | glob "^6.0.1" 2921 | 2922 | safe-buffer@5.1.2, safe-buffer@^5.0.1, safe-buffer@^5.1.2, safe-buffer@~5.1.0, safe-buffer@~5.1.1: 2923 | version "5.1.2" 2924 | resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.1.2.tgz#991ec69d296e0313747d59bdfd2b745c35f8828d" 2925 | 2926 | safe-json-stringify@~1: 2927 | version "1.2.0" 2928 | resolved "https://registry.yarnpkg.com/safe-json-stringify/-/safe-json-stringify-1.2.0.tgz#356e44bc98f1f93ce45df14bcd7c01cda86e0afd" 2929 | 2930 | safe-regex@^1.1.0: 2931 | version "1.1.0" 2932 | resolved "https://registry.yarnpkg.com/safe-regex/-/safe-regex-1.1.0.tgz#40a3669f3b077d1e943d44629e157dd48023bf2e" 2933 | dependencies: 2934 | ret "~0.1.10" 2935 | 2936 | "safer-buffer@>= 2.1.2 < 3", safer-buffer@^2.0.2, safer-buffer@^2.1.0, safer-buffer@~2.1.0: 2937 | version "2.1.2" 2938 | resolved "https://registry.yarnpkg.com/safer-buffer/-/safer-buffer-2.1.2.tgz#44fa161b0187b9549dd84bb91802f9bd8385cd6a" 2939 | 2940 | sane@~1.6.0: 2941 | version "1.6.0" 2942 | resolved "https://registry.yarnpkg.com/sane/-/sane-1.6.0.tgz#9610c452307a135d29c1fdfe2547034180c46775" 2943 | dependencies: 2944 | anymatch "^1.3.0" 2945 | exec-sh "^0.2.0" 2946 | fb-watchman "^1.8.0" 2947 | minimatch "^3.0.2" 2948 | minimist "^1.1.1" 2949 | walker "~1.0.5" 2950 | watch "~0.10.0" 2951 | 2952 | sax@1.2.1: 2953 | version "1.2.1" 2954 | resolved "https://registry.yarnpkg.com/sax/-/sax-1.2.1.tgz#7b8e656190b228e81a66aea748480d828cd2d37a" 2955 | 2956 | sax@>=0.6.0, sax@^1.2.1, sax@^1.2.4: 2957 | version "1.2.4" 2958 | resolved "https://registry.yarnpkg.com/sax/-/sax-1.2.4.tgz#2816234e2378bddc4e5354fab5caa895df7100d9" 2959 | 2960 | semver-diff@^2.0.0: 2961 | version "2.1.0" 2962 | resolved "https://registry.yarnpkg.com/semver-diff/-/semver-diff-2.1.0.tgz#4bbb8437c8d37e4b0cf1a68fd726ec6d645d6d36" 2963 | dependencies: 2964 | semver "^5.0.3" 2965 | 2966 | "semver@2 || 3 || 4 || 5", semver@^5.0.3, semver@^5.1.0, semver@^5.3.0, semver@^5.5.0: 2967 | version "5.6.0" 2968 | resolved "https://registry.yarnpkg.com/semver/-/semver-5.6.0.tgz#7e74256fbaa49c75aa7c7a205cc22799cac80004" 2969 | 2970 | send@0.16.2: 2971 | version "0.16.2" 2972 | resolved "https://registry.yarnpkg.com/send/-/send-0.16.2.tgz#6ecca1e0f8c156d141597559848df64730a6bbc1" 2973 | dependencies: 2974 | debug "2.6.9" 2975 | depd "~1.1.2" 2976 | destroy "~1.0.4" 2977 | encodeurl "~1.0.2" 2978 | escape-html "~1.0.3" 2979 | etag "~1.8.1" 2980 | fresh "0.5.2" 2981 | http-errors "~1.6.2" 2982 | mime "1.4.1" 2983 | ms "2.0.0" 2984 | on-finished "~2.3.0" 2985 | range-parser "~1.2.0" 2986 | statuses "~1.4.0" 2987 | 2988 | serve-static@1.13.2: 2989 | version "1.13.2" 2990 | resolved "https://registry.yarnpkg.com/serve-static/-/serve-static-1.13.2.tgz#095e8472fd5b46237db50ce486a43f4b86c6cec1" 2991 | dependencies: 2992 | encodeurl "~1.0.2" 2993 | escape-html "~1.0.3" 2994 | parseurl "~1.3.2" 2995 | send "0.16.2" 2996 | 2997 | set-blocking@^2.0.0, set-blocking@~2.0.0: 2998 | version "2.0.0" 2999 | resolved "https://registry.yarnpkg.com/set-blocking/-/set-blocking-2.0.0.tgz#045f9782d011ae9a6803ddd382b24392b3d890f7" 3000 | 3001 | set-value@^0.4.3: 3002 | version "0.4.3" 3003 | resolved "https://registry.yarnpkg.com/set-value/-/set-value-0.4.3.tgz#7db08f9d3d22dc7f78e53af3c3bf4666ecdfccf1" 3004 | dependencies: 3005 | extend-shallow "^2.0.1" 3006 | is-extendable "^0.1.1" 3007 | is-plain-object "^2.0.1" 3008 | to-object-path "^0.3.0" 3009 | 3010 | set-value@^2.0.0: 3011 | version "2.0.0" 3012 | resolved "https://registry.yarnpkg.com/set-value/-/set-value-2.0.0.tgz#71ae4a88f0feefbbf52d1ea604f3fb315ebb6274" 3013 | dependencies: 3014 | extend-shallow "^2.0.1" 3015 | is-extendable "^0.1.1" 3016 | is-plain-object "^2.0.3" 3017 | split-string "^3.0.1" 3018 | 3019 | setprototypeof@1.1.0: 3020 | version "1.1.0" 3021 | resolved "https://registry.yarnpkg.com/setprototypeof/-/setprototypeof-1.1.0.tgz#d0bd85536887b6fe7c0d818cb962d9d91c54e656" 3022 | 3023 | shebang-command@^1.2.0: 3024 | version "1.2.0" 3025 | resolved "https://registry.yarnpkg.com/shebang-command/-/shebang-command-1.2.0.tgz#44aac65b695b03398968c39f363fee5deafdf1ea" 3026 | dependencies: 3027 | shebang-regex "^1.0.0" 3028 | 3029 | shebang-regex@^1.0.0: 3030 | version "1.0.0" 3031 | resolved "https://registry.yarnpkg.com/shebang-regex/-/shebang-regex-1.0.0.tgz#da42f49740c0b42db2ca9728571cb190c98efea3" 3032 | 3033 | shellwords@^0.1.1: 3034 | version "0.1.1" 3035 | resolved "https://registry.yarnpkg.com/shellwords/-/shellwords-0.1.1.tgz#d6b9181c1a48d397324c84871efbcfc73fc0654b" 3036 | 3037 | signal-exit@^3.0.0, signal-exit@^3.0.2: 3038 | version "3.0.2" 3039 | resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-3.0.2.tgz#b5fdc08f1287ea1178628e415e25132b73646c6d" 3040 | 3041 | slash@^1.0.0: 3042 | version "1.0.0" 3043 | resolved "https://registry.yarnpkg.com/slash/-/slash-1.0.0.tgz#c41f2f6c39fc16d1cd17ad4b5d896114ae470d55" 3044 | 3045 | snapdragon-node@^2.0.1: 3046 | version "2.1.1" 3047 | resolved "https://registry.yarnpkg.com/snapdragon-node/-/snapdragon-node-2.1.1.tgz#6c175f86ff14bdb0724563e8f3c1b021a286853b" 3048 | dependencies: 3049 | define-property "^1.0.0" 3050 | isobject "^3.0.0" 3051 | snapdragon-util "^3.0.1" 3052 | 3053 | snapdragon-util@^3.0.1: 3054 | version "3.0.1" 3055 | resolved "https://registry.yarnpkg.com/snapdragon-util/-/snapdragon-util-3.0.1.tgz#f956479486f2acd79700693f6f7b805e45ab56e2" 3056 | dependencies: 3057 | kind-of "^3.2.0" 3058 | 3059 | snapdragon@^0.8.1: 3060 | version "0.8.2" 3061 | resolved "https://registry.yarnpkg.com/snapdragon/-/snapdragon-0.8.2.tgz#64922e7c565b0e14204ba1aa7d6964278d25182d" 3062 | dependencies: 3063 | base "^0.11.1" 3064 | debug "^2.2.0" 3065 | define-property "^0.2.5" 3066 | extend-shallow "^2.0.1" 3067 | map-cache "^0.2.2" 3068 | source-map "^0.5.6" 3069 | source-map-resolve "^0.5.0" 3070 | use "^3.1.0" 3071 | 3072 | source-map-resolve@^0.5.0: 3073 | version "0.5.2" 3074 | resolved "https://registry.yarnpkg.com/source-map-resolve/-/source-map-resolve-0.5.2.tgz#72e2cc34095543e43b2c62b2c4c10d4a9054f259" 3075 | dependencies: 3076 | atob "^2.1.1" 3077 | decode-uri-component "^0.2.0" 3078 | resolve-url "^0.2.1" 3079 | source-map-url "^0.4.0" 3080 | urix "^0.1.0" 3081 | 3082 | source-map-support@^0.4.15: 3083 | version "0.4.18" 3084 | resolved "https://registry.yarnpkg.com/source-map-support/-/source-map-support-0.4.18.tgz#0286a6de8be42641338594e97ccea75f0a2c585f" 3085 | dependencies: 3086 | source-map "^0.5.6" 3087 | 3088 | source-map-url@^0.4.0: 3089 | version "0.4.0" 3090 | resolved "https://registry.yarnpkg.com/source-map-url/-/source-map-url-0.4.0.tgz#3e935d7ddd73631b97659956d55128e87b5084a3" 3091 | 3092 | source-map@^0.5.3, source-map@^0.5.6, source-map@^0.5.7: 3093 | version "0.5.7" 3094 | resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.5.7.tgz#8a039d2d1021d22d1ea14c80d8ea468ba2ef3fcc" 3095 | 3096 | source-map@^0.6.1, source-map@~0.6.1: 3097 | version "0.6.1" 3098 | resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.6.1.tgz#74722af32e9614e9c287a8d0bbde48b5e2f1a263" 3099 | 3100 | spdx-correct@^3.0.0: 3101 | version "3.1.0" 3102 | resolved "https://registry.yarnpkg.com/spdx-correct/-/spdx-correct-3.1.0.tgz#fb83e504445268f154b074e218c87c003cd31df4" 3103 | dependencies: 3104 | spdx-expression-parse "^3.0.0" 3105 | spdx-license-ids "^3.0.0" 3106 | 3107 | spdx-exceptions@^2.1.0: 3108 | version "2.2.0" 3109 | resolved "https://registry.yarnpkg.com/spdx-exceptions/-/spdx-exceptions-2.2.0.tgz#2ea450aee74f2a89bfb94519c07fcd6f41322977" 3110 | 3111 | spdx-expression-parse@^3.0.0: 3112 | version "3.0.0" 3113 | resolved "https://registry.yarnpkg.com/spdx-expression-parse/-/spdx-expression-parse-3.0.0.tgz#99e119b7a5da00e05491c9fa338b7904823b41d0" 3114 | dependencies: 3115 | spdx-exceptions "^2.1.0" 3116 | spdx-license-ids "^3.0.0" 3117 | 3118 | spdx-license-ids@^3.0.0: 3119 | version "3.0.3" 3120 | resolved "https://registry.yarnpkg.com/spdx-license-ids/-/spdx-license-ids-3.0.3.tgz#81c0ce8f21474756148bbb5f3bfc0f36bf15d76e" 3121 | 3122 | split-string@^3.0.1, split-string@^3.0.2: 3123 | version "3.1.0" 3124 | resolved "https://registry.yarnpkg.com/split-string/-/split-string-3.1.0.tgz#7cb09dda3a86585705c64b39a6466038682e8fe2" 3125 | dependencies: 3126 | extend-shallow "^3.0.0" 3127 | 3128 | sprintf-js@~1.0.2: 3129 | version "1.0.3" 3130 | resolved "https://registry.yarnpkg.com/sprintf-js/-/sprintf-js-1.0.3.tgz#04e6926f662895354f3dd015203633b857297e2c" 3131 | 3132 | sshpk@^1.7.0: 3133 | version "1.16.1" 3134 | resolved "https://registry.yarnpkg.com/sshpk/-/sshpk-1.16.1.tgz#fb661c0bef29b39db40769ee39fa70093d6f6877" 3135 | dependencies: 3136 | asn1 "~0.2.3" 3137 | assert-plus "^1.0.0" 3138 | bcrypt-pbkdf "^1.0.0" 3139 | dashdash "^1.12.0" 3140 | ecc-jsbn "~0.1.1" 3141 | getpass "^0.1.1" 3142 | jsbn "~0.1.0" 3143 | safer-buffer "^2.0.2" 3144 | tweetnacl "~0.14.0" 3145 | 3146 | static-extend@^0.1.1: 3147 | version "0.1.2" 3148 | resolved "https://registry.yarnpkg.com/static-extend/-/static-extend-0.1.2.tgz#60809c39cbff55337226fd5e0b520f341f1fb5c6" 3149 | dependencies: 3150 | define-property "^0.2.5" 3151 | object-copy "^0.1.0" 3152 | 3153 | "statuses@>= 1.4.0 < 2", "statuses@>= 1.5.0 < 2": 3154 | version "1.5.0" 3155 | resolved "https://registry.yarnpkg.com/statuses/-/statuses-1.5.0.tgz#161c7dac177659fd9811f43771fa99381478628c" 3156 | 3157 | statuses@~1.4.0: 3158 | version "1.4.0" 3159 | resolved "https://registry.yarnpkg.com/statuses/-/statuses-1.4.0.tgz#bb73d446da2796106efcc1b601a253d6c46bd087" 3160 | 3161 | string-length@^1.0.1: 3162 | version "1.0.1" 3163 | resolved "https://registry.yarnpkg.com/string-length/-/string-length-1.0.1.tgz#56970fb1c38558e9e70b728bf3de269ac45adfac" 3164 | dependencies: 3165 | strip-ansi "^3.0.0" 3166 | 3167 | string-width@^1.0.1, string-width@^1.0.2: 3168 | version "1.0.2" 3169 | resolved "https://registry.yarnpkg.com/string-width/-/string-width-1.0.2.tgz#118bdf5b8cdc51a2a7e70d211e07e2b0b9b107d3" 3170 | dependencies: 3171 | code-point-at "^1.0.0" 3172 | is-fullwidth-code-point "^1.0.0" 3173 | strip-ansi "^3.0.0" 3174 | 3175 | "string-width@^1.0.2 || 2", string-width@^2.0.0, string-width@^2.1.1: 3176 | version "2.1.1" 3177 | resolved "https://registry.yarnpkg.com/string-width/-/string-width-2.1.1.tgz#ab93f27a8dc13d28cac815c462143a6d9012ae9e" 3178 | dependencies: 3179 | is-fullwidth-code-point "^2.0.0" 3180 | strip-ansi "^4.0.0" 3181 | 3182 | string_decoder@~1.1.1: 3183 | version "1.1.1" 3184 | resolved "https://registry.yarnpkg.com/string_decoder/-/string_decoder-1.1.1.tgz#9cf1611ba62685d7030ae9e4ba34149c3af03fc8" 3185 | dependencies: 3186 | safe-buffer "~5.1.0" 3187 | 3188 | strip-ansi@^3.0.0, strip-ansi@^3.0.1: 3189 | version "3.0.1" 3190 | resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-3.0.1.tgz#6a385fb8853d952d5ff05d0e8aaf94278dc63dcf" 3191 | dependencies: 3192 | ansi-regex "^2.0.0" 3193 | 3194 | strip-ansi@^4.0.0: 3195 | version "4.0.0" 3196 | resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-4.0.0.tgz#a8479022eb1ac368a871389b635262c505ee368f" 3197 | dependencies: 3198 | ansi-regex "^3.0.0" 3199 | 3200 | strip-bom@3.0.0: 3201 | version "3.0.0" 3202 | resolved "https://registry.yarnpkg.com/strip-bom/-/strip-bom-3.0.0.tgz#2334c18e9c759f7bdd56fdef7e9ae3d588e68ed3" 3203 | 3204 | strip-bom@^2.0.0: 3205 | version "2.0.0" 3206 | resolved "https://registry.yarnpkg.com/strip-bom/-/strip-bom-2.0.0.tgz#6219a85616520491f35788bdbf1447a99c7e6b0e" 3207 | dependencies: 3208 | is-utf8 "^0.2.0" 3209 | 3210 | strip-eof@^1.0.0: 3211 | version "1.0.0" 3212 | resolved "https://registry.yarnpkg.com/strip-eof/-/strip-eof-1.0.0.tgz#bb43ff5598a6eb05d89b59fcd129c983313606bf" 3213 | 3214 | strip-json-comments@~2.0.1: 3215 | version "2.0.1" 3216 | resolved "https://registry.yarnpkg.com/strip-json-comments/-/strip-json-comments-2.0.1.tgz#3c531942e908c2697c0ec344858c286c7ca0a60a" 3217 | 3218 | supports-color@^2.0.0: 3219 | version "2.0.0" 3220 | resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-2.0.0.tgz#535d045ce6b6363fa40117084629995e9df324c7" 3221 | 3222 | supports-color@^3.1.2: 3223 | version "3.2.3" 3224 | resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-3.2.3.tgz#65ac0504b3954171d8a64946b2ae3cbb8a5f54f6" 3225 | dependencies: 3226 | has-flag "^1.0.0" 3227 | 3228 | supports-color@^5.2.0, supports-color@^5.3.0: 3229 | version "5.5.0" 3230 | resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-5.5.0.tgz#e2e69a44ac8772f78a1ec0b35b689df6530efc8f" 3231 | dependencies: 3232 | has-flag "^3.0.0" 3233 | 3234 | symbol-tree@^3.2.1: 3235 | version "3.2.2" 3236 | resolved "https://registry.yarnpkg.com/symbol-tree/-/symbol-tree-3.2.2.tgz#ae27db38f660a7ae2e1c3b7d1bc290819b8519e6" 3237 | 3238 | tar@^4: 3239 | version "4.4.8" 3240 | resolved "https://registry.yarnpkg.com/tar/-/tar-4.4.8.tgz#b19eec3fde2a96e64666df9fdb40c5ca1bc3747d" 3241 | dependencies: 3242 | chownr "^1.1.1" 3243 | fs-minipass "^1.2.5" 3244 | minipass "^2.3.4" 3245 | minizlib "^1.1.1" 3246 | mkdirp "^0.5.0" 3247 | safe-buffer "^5.1.2" 3248 | yallist "^3.0.2" 3249 | 3250 | term-size@^1.2.0: 3251 | version "1.2.0" 3252 | resolved "https://registry.yarnpkg.com/term-size/-/term-size-1.2.0.tgz#458b83887f288fc56d6fffbfad262e26638efa69" 3253 | dependencies: 3254 | execa "^0.7.0" 3255 | 3256 | test-exclude@^4.2.1: 3257 | version "4.2.3" 3258 | resolved "https://registry.yarnpkg.com/test-exclude/-/test-exclude-4.2.3.tgz#a9a5e64474e4398339245a0a769ad7c2f4a97c20" 3259 | dependencies: 3260 | arrify "^1.0.1" 3261 | micromatch "^2.3.11" 3262 | object-assign "^4.1.0" 3263 | read-pkg-up "^1.0.1" 3264 | require-main-filename "^1.0.1" 3265 | 3266 | throat@^3.0.0: 3267 | version "3.2.0" 3268 | resolved "https://registry.yarnpkg.com/throat/-/throat-3.2.0.tgz#50cb0670edbc40237b9e347d7e1f88e4620af836" 3269 | 3270 | timed-out@^4.0.0: 3271 | version "4.0.1" 3272 | resolved "https://registry.yarnpkg.com/timed-out/-/timed-out-4.0.1.tgz#f32eacac5a175bea25d7fab565ab3ed8741ef56f" 3273 | 3274 | tmpl@1.0.x: 3275 | version "1.0.4" 3276 | resolved "https://registry.yarnpkg.com/tmpl/-/tmpl-1.0.4.tgz#23640dd7b42d00433911140820e5cf440e521dd1" 3277 | 3278 | to-fast-properties@^1.0.3: 3279 | version "1.0.3" 3280 | resolved "https://registry.yarnpkg.com/to-fast-properties/-/to-fast-properties-1.0.3.tgz#b83571fa4d8c25b82e231b06e3a3055de4ca1a47" 3281 | 3282 | to-object-path@^0.3.0: 3283 | version "0.3.0" 3284 | resolved "https://registry.yarnpkg.com/to-object-path/-/to-object-path-0.3.0.tgz#297588b7b0e7e0ac08e04e672f85c1f4999e17af" 3285 | dependencies: 3286 | kind-of "^3.0.2" 3287 | 3288 | to-regex-range@^2.1.0: 3289 | version "2.1.1" 3290 | resolved "https://registry.yarnpkg.com/to-regex-range/-/to-regex-range-2.1.1.tgz#7c80c17b9dfebe599e27367e0d4dd5590141db38" 3291 | dependencies: 3292 | is-number "^3.0.0" 3293 | repeat-string "^1.6.1" 3294 | 3295 | to-regex@^3.0.1, to-regex@^3.0.2: 3296 | version "3.0.2" 3297 | resolved "https://registry.yarnpkg.com/to-regex/-/to-regex-3.0.2.tgz#13cfdd9b336552f30b51f33a8ae1b42a7a7599ce" 3298 | dependencies: 3299 | define-property "^2.0.2" 3300 | extend-shallow "^3.0.2" 3301 | regex-not "^1.0.2" 3302 | safe-regex "^1.1.0" 3303 | 3304 | toidentifier@1.0.0: 3305 | version "1.0.0" 3306 | resolved "https://registry.yarnpkg.com/toidentifier/-/toidentifier-1.0.0.tgz#7e1be3470f1e77948bc43d94a3c8f4d7752ba553" 3307 | 3308 | touch@^3.1.0: 3309 | version "3.1.0" 3310 | resolved "https://registry.yarnpkg.com/touch/-/touch-3.1.0.tgz#fe365f5f75ec9ed4e56825e0bb76d24ab74af83b" 3311 | dependencies: 3312 | nopt "~1.0.10" 3313 | 3314 | tough-cookie@^2.3.2: 3315 | version "2.5.0" 3316 | resolved "https://registry.yarnpkg.com/tough-cookie/-/tough-cookie-2.5.0.tgz#cd9fb2a0aa1d5a12b473bd9fb96fa3dcff65ade2" 3317 | dependencies: 3318 | psl "^1.1.28" 3319 | punycode "^2.1.1" 3320 | 3321 | tough-cookie@~2.4.3: 3322 | version "2.4.3" 3323 | resolved "https://registry.yarnpkg.com/tough-cookie/-/tough-cookie-2.4.3.tgz#53f36da3f47783b0925afa06ff9f3b165280f781" 3324 | dependencies: 3325 | psl "^1.1.24" 3326 | punycode "^1.4.1" 3327 | 3328 | tr46@~0.0.3: 3329 | version "0.0.3" 3330 | resolved "https://registry.yarnpkg.com/tr46/-/tr46-0.0.3.tgz#8184fd347dac9cdc185992f3a6622e14b9d9ab6a" 3331 | 3332 | trim-right@^1.0.1: 3333 | version "1.0.1" 3334 | resolved "https://registry.yarnpkg.com/trim-right/-/trim-right-1.0.1.tgz#cb2e1203067e0c8de1f614094b9fe45704ea6003" 3335 | 3336 | tslib@^1.9.3: 3337 | version "1.9.3" 3338 | resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.9.3.tgz#d7e4dd79245d85428c4d7e4822a79917954ca286" 3339 | 3340 | tunnel-agent@^0.6.0: 3341 | version "0.6.0" 3342 | resolved "https://registry.yarnpkg.com/tunnel-agent/-/tunnel-agent-0.6.0.tgz#27a5dea06b36b04a0a9966774b290868f0fc40fd" 3343 | dependencies: 3344 | safe-buffer "^5.0.1" 3345 | 3346 | tweetnacl@^0.14.3, tweetnacl@~0.14.0: 3347 | version "0.14.5" 3348 | resolved "https://registry.yarnpkg.com/tweetnacl/-/tweetnacl-0.14.5.tgz#5ae68177f192d4456269d108afa93ff8743f4f64" 3349 | 3350 | type-check@~0.3.2: 3351 | version "0.3.2" 3352 | resolved "https://registry.yarnpkg.com/type-check/-/type-check-0.3.2.tgz#5884cab512cf1d355e3fb784f30804b2b520db72" 3353 | dependencies: 3354 | prelude-ls "~1.1.2" 3355 | 3356 | type-is@~1.6.16: 3357 | version "1.6.16" 3358 | resolved "https://registry.yarnpkg.com/type-is/-/type-is-1.6.16.tgz#f89ce341541c672b25ee7ae3c73dee3b2be50194" 3359 | dependencies: 3360 | media-typer "0.3.0" 3361 | mime-types "~2.1.18" 3362 | 3363 | uglify-js@^3.1.4: 3364 | version "3.4.9" 3365 | resolved "https://registry.yarnpkg.com/uglify-js/-/uglify-js-3.4.9.tgz#af02f180c1207d76432e473ed24a28f4a782bae3" 3366 | dependencies: 3367 | commander "~2.17.1" 3368 | source-map "~0.6.1" 3369 | 3370 | undefsafe@^2.0.2: 3371 | version "2.0.2" 3372 | resolved "https://registry.yarnpkg.com/undefsafe/-/undefsafe-2.0.2.tgz#225f6b9e0337663e0d8e7cfd686fc2836ccace76" 3373 | dependencies: 3374 | debug "^2.2.0" 3375 | 3376 | union-value@^1.0.0: 3377 | version "1.0.0" 3378 | resolved "https://registry.yarnpkg.com/union-value/-/union-value-1.0.0.tgz#5c71c34cb5bad5dcebe3ea0cd08207ba5aa1aea4" 3379 | dependencies: 3380 | arr-union "^3.1.0" 3381 | get-value "^2.0.6" 3382 | is-extendable "^0.1.1" 3383 | set-value "^0.4.3" 3384 | 3385 | unique-string@^1.0.0: 3386 | version "1.0.0" 3387 | resolved "https://registry.yarnpkg.com/unique-string/-/unique-string-1.0.0.tgz#9e1057cca851abb93398f8b33ae187b99caec11a" 3388 | dependencies: 3389 | crypto-random-string "^1.0.0" 3390 | 3391 | unpipe@1.0.0, unpipe@~1.0.0: 3392 | version "1.0.0" 3393 | resolved "https://registry.yarnpkg.com/unpipe/-/unpipe-1.0.0.tgz#b2bf4ee8514aae6165b4817829d21b2ef49904ec" 3394 | 3395 | unset-value@^1.0.0: 3396 | version "1.0.0" 3397 | resolved "https://registry.yarnpkg.com/unset-value/-/unset-value-1.0.0.tgz#8376873f7d2335179ffb1e6fc3a8ed0dfc8ab559" 3398 | dependencies: 3399 | has-value "^0.3.1" 3400 | isobject "^3.0.0" 3401 | 3402 | unzip-response@^2.0.1: 3403 | version "2.0.1" 3404 | resolved "https://registry.yarnpkg.com/unzip-response/-/unzip-response-2.0.1.tgz#d2f0f737d16b0615e72a6935ed04214572d56f97" 3405 | 3406 | upath@^1.1.0: 3407 | version "1.1.0" 3408 | resolved "https://registry.yarnpkg.com/upath/-/upath-1.1.0.tgz#35256597e46a581db4793d0ce47fa9aebfc9fabd" 3409 | 3410 | update-notifier@^2.5.0: 3411 | version "2.5.0" 3412 | resolved "https://registry.yarnpkg.com/update-notifier/-/update-notifier-2.5.0.tgz#d0744593e13f161e406acb1d9408b72cad08aff6" 3413 | dependencies: 3414 | boxen "^1.2.1" 3415 | chalk "^2.0.1" 3416 | configstore "^3.0.0" 3417 | import-lazy "^2.1.0" 3418 | is-ci "^1.0.10" 3419 | is-installed-globally "^0.1.0" 3420 | is-npm "^1.0.0" 3421 | latest-version "^3.0.0" 3422 | semver-diff "^2.0.0" 3423 | xdg-basedir "^3.0.0" 3424 | 3425 | uri-js@^4.2.2: 3426 | version "4.2.2" 3427 | resolved "https://registry.yarnpkg.com/uri-js/-/uri-js-4.2.2.tgz#94c540e1ff772956e2299507c010aea6c8838eb0" 3428 | dependencies: 3429 | punycode "^2.1.0" 3430 | 3431 | urix@^0.1.0: 3432 | version "0.1.0" 3433 | resolved "https://registry.yarnpkg.com/urix/-/urix-0.1.0.tgz#da937f7a62e21fec1fd18d49b35c2935067a6c72" 3434 | 3435 | url-parse-lax@^1.0.0: 3436 | version "1.0.0" 3437 | resolved "https://registry.yarnpkg.com/url-parse-lax/-/url-parse-lax-1.0.0.tgz#7af8f303645e9bd79a272e7a14ac68bc0609da73" 3438 | dependencies: 3439 | prepend-http "^1.0.1" 3440 | 3441 | url@0.10.3: 3442 | version "0.10.3" 3443 | resolved "https://registry.yarnpkg.com/url/-/url-0.10.3.tgz#021e4d9c7705f21bbf37d03ceb58767402774c64" 3444 | dependencies: 3445 | punycode "1.3.2" 3446 | querystring "0.2.0" 3447 | 3448 | use@^3.1.0: 3449 | version "3.1.1" 3450 | resolved "https://registry.yarnpkg.com/use/-/use-3.1.1.tgz#d50c8cac79a19fbc20f2911f56eb973f4e10070f" 3451 | 3452 | util-deprecate@~1.0.1: 3453 | version "1.0.2" 3454 | resolved "https://registry.yarnpkg.com/util-deprecate/-/util-deprecate-1.0.2.tgz#450d4dc9fa70de732762fbd2d4a28981419a0ccf" 3455 | 3456 | utils-merge@1.0.1: 3457 | version "1.0.1" 3458 | resolved "https://registry.yarnpkg.com/utils-merge/-/utils-merge-1.0.1.tgz#9f95710f50a267947b2ccc124741c1028427e713" 3459 | 3460 | uuid@3.3.2, uuid@^3.1.0, uuid@^3.3.2: 3461 | version "3.3.2" 3462 | resolved "https://registry.yarnpkg.com/uuid/-/uuid-3.3.2.tgz#1b4af4955eb3077c501c23872fc6513811587131" 3463 | 3464 | validate-npm-package-license@^3.0.1: 3465 | version "3.0.4" 3466 | resolved "https://registry.yarnpkg.com/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz#fc91f6b9c7ba15c857f4cb2c5defeec39d4f410a" 3467 | dependencies: 3468 | spdx-correct "^3.0.0" 3469 | spdx-expression-parse "^3.0.0" 3470 | 3471 | vary@^1, vary@~1.1.2: 3472 | version "1.1.2" 3473 | resolved "https://registry.yarnpkg.com/vary/-/vary-1.1.2.tgz#2299f02c6ded30d4a5961b0b9f74524a18f634fc" 3474 | 3475 | verror@1.10.0: 3476 | version "1.10.0" 3477 | resolved "https://registry.yarnpkg.com/verror/-/verror-1.10.0.tgz#3a105ca17053af55d6e270c1f8288682e18da400" 3478 | dependencies: 3479 | assert-plus "^1.0.0" 3480 | core-util-is "1.0.2" 3481 | extsprintf "^1.2.0" 3482 | 3483 | walker@~1.0.5: 3484 | version "1.0.7" 3485 | resolved "https://registry.yarnpkg.com/walker/-/walker-1.0.7.tgz#2f7f9b8fd10d677262b18a884e28d19618e028fb" 3486 | dependencies: 3487 | makeerror "1.0.x" 3488 | 3489 | watch@~0.10.0: 3490 | version "0.10.0" 3491 | resolved "https://registry.yarnpkg.com/watch/-/watch-0.10.0.tgz#77798b2da0f9910d595f1ace5b0c2258521f21dc" 3492 | 3493 | webidl-conversions@^3.0.0: 3494 | version "3.0.1" 3495 | resolved "https://registry.yarnpkg.com/webidl-conversions/-/webidl-conversions-3.0.1.tgz#24534275e2a7bc6be7bc86611cc16ae0a5654871" 3496 | 3497 | webidl-conversions@^4.0.0: 3498 | version "4.0.2" 3499 | resolved "https://registry.yarnpkg.com/webidl-conversions/-/webidl-conversions-4.0.2.tgz#a855980b1f0b6b359ba1d5d9fb39ae941faa63ad" 3500 | 3501 | whatwg-encoding@^1.0.1: 3502 | version "1.0.5" 3503 | resolved "https://registry.yarnpkg.com/whatwg-encoding/-/whatwg-encoding-1.0.5.tgz#5abacf777c32166a51d085d6b4f3e7d27113ddb0" 3504 | dependencies: 3505 | iconv-lite "0.4.24" 3506 | 3507 | whatwg-url@^4.3.0: 3508 | version "4.8.0" 3509 | resolved "https://registry.yarnpkg.com/whatwg-url/-/whatwg-url-4.8.0.tgz#d2981aa9148c1e00a41c5a6131166ab4683bbcc0" 3510 | dependencies: 3511 | tr46 "~0.0.3" 3512 | webidl-conversions "^3.0.0" 3513 | 3514 | which-module@^1.0.0: 3515 | version "1.0.0" 3516 | resolved "https://registry.yarnpkg.com/which-module/-/which-module-1.0.0.tgz#bba63ca861948994ff307736089e3b96026c2a4f" 3517 | 3518 | which@^1.2.12, which@^1.2.9, which@^1.3.0: 3519 | version "1.3.1" 3520 | resolved "https://registry.yarnpkg.com/which/-/which-1.3.1.tgz#a45043d54f5805316da8d62f9f50918d3da70b0a" 3521 | dependencies: 3522 | isexe "^2.0.0" 3523 | 3524 | wide-align@^1.1.0: 3525 | version "1.1.3" 3526 | resolved "https://registry.yarnpkg.com/wide-align/-/wide-align-1.1.3.tgz#ae074e6bdc0c14a431e804e624549c633b000457" 3527 | dependencies: 3528 | string-width "^1.0.2 || 2" 3529 | 3530 | widest-line@^2.0.0: 3531 | version "2.0.1" 3532 | resolved "https://registry.yarnpkg.com/widest-line/-/widest-line-2.0.1.tgz#7438764730ec7ef4381ce4df82fb98a53142a3fc" 3533 | dependencies: 3534 | string-width "^2.1.1" 3535 | 3536 | wordwrap@~0.0.2: 3537 | version "0.0.3" 3538 | resolved "https://registry.yarnpkg.com/wordwrap/-/wordwrap-0.0.3.tgz#a3d5da6cd5c0bc0008d37234bbaf1bed63059107" 3539 | 3540 | wordwrap@~1.0.0: 3541 | version "1.0.0" 3542 | resolved "https://registry.yarnpkg.com/wordwrap/-/wordwrap-1.0.0.tgz#27584810891456a4171c8d0226441ade90cbcaeb" 3543 | 3544 | worker-farm@^1.3.1: 3545 | version "1.6.0" 3546 | resolved "https://registry.yarnpkg.com/worker-farm/-/worker-farm-1.6.0.tgz#aecc405976fab5a95526180846f0dba288f3a4a0" 3547 | dependencies: 3548 | errno "~0.1.7" 3549 | 3550 | wrap-ansi@^2.0.0: 3551 | version "2.1.0" 3552 | resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-2.1.0.tgz#d8fc3d284dd05794fe84973caecdd1cf824fdd85" 3553 | dependencies: 3554 | string-width "^1.0.1" 3555 | strip-ansi "^3.0.1" 3556 | 3557 | wrappy@1: 3558 | version "1.0.2" 3559 | resolved "https://registry.yarnpkg.com/wrappy/-/wrappy-1.0.2.tgz#b5243d8f3ec1aa35f1364605bc0d1036e30ab69f" 3560 | 3561 | write-file-atomic@^2.0.0: 3562 | version "2.4.2" 3563 | resolved "https://registry.yarnpkg.com/write-file-atomic/-/write-file-atomic-2.4.2.tgz#a7181706dfba17855d221140a9c06e15fcdd87b9" 3564 | dependencies: 3565 | graceful-fs "^4.1.11" 3566 | imurmurhash "^0.1.4" 3567 | signal-exit "^3.0.2" 3568 | 3569 | xdg-basedir@^3.0.0: 3570 | version "3.0.0" 3571 | resolved "https://registry.yarnpkg.com/xdg-basedir/-/xdg-basedir-3.0.0.tgz#496b2cc109eca8dbacfe2dc72b603c17c5870ad4" 3572 | 3573 | xml-name-validator@^2.0.1: 3574 | version "2.0.1" 3575 | resolved "https://registry.yarnpkg.com/xml-name-validator/-/xml-name-validator-2.0.1.tgz#4d8b8f1eccd3419aa362061becef515e1e559635" 3576 | 3577 | xml2js@0.4.19: 3578 | version "0.4.19" 3579 | resolved "https://registry.yarnpkg.com/xml2js/-/xml2js-0.4.19.tgz#686c20f213209e94abf0d1bcf1efaa291c7827a7" 3580 | dependencies: 3581 | sax ">=0.6.0" 3582 | xmlbuilder "~9.0.1" 3583 | 3584 | xmlbuilder@~9.0.1: 3585 | version "9.0.7" 3586 | resolved "https://registry.yarnpkg.com/xmlbuilder/-/xmlbuilder-9.0.7.tgz#132ee63d2ec5565c557e20f4c22df9aca686b10d" 3587 | 3588 | y18n@^3.2.1: 3589 | version "3.2.1" 3590 | resolved "https://registry.yarnpkg.com/y18n/-/y18n-3.2.1.tgz#6d15fba884c08679c0d77e88e7759e811e07fa41" 3591 | 3592 | yallist@^2.1.2: 3593 | version "2.1.2" 3594 | resolved "https://registry.yarnpkg.com/yallist/-/yallist-2.1.2.tgz#1c11f9218f076089a47dd512f93c6699a6a81d52" 3595 | 3596 | yallist@^3.0.0, yallist@^3.0.2: 3597 | version "3.0.3" 3598 | resolved "https://registry.yarnpkg.com/yallist/-/yallist-3.0.3.tgz#b4b049e314be545e3ce802236d6cd22cd91c3de9" 3599 | 3600 | yargs-parser@^5.0.0: 3601 | version "5.0.0" 3602 | resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-5.0.0.tgz#275ecf0d7ffe05c77e64e7c86e4cd94bf0e1228a" 3603 | dependencies: 3604 | camelcase "^3.0.0" 3605 | 3606 | yargs@^7.0.2: 3607 | version "7.1.0" 3608 | resolved "https://registry.yarnpkg.com/yargs/-/yargs-7.1.0.tgz#6ba318eb16961727f5d284f8ea003e8d6154d0c8" 3609 | dependencies: 3610 | camelcase "^3.0.0" 3611 | cliui "^3.2.0" 3612 | decamelize "^1.1.1" 3613 | get-caller-file "^1.0.1" 3614 | os-locale "^1.4.0" 3615 | read-pkg-up "^1.0.1" 3616 | require-directory "^2.1.1" 3617 | require-main-filename "^1.0.1" 3618 | set-blocking "^2.0.0" 3619 | string-width "^1.0.2" 3620 | which-module "^1.0.0" 3621 | y18n "^3.2.1" 3622 | yargs-parser "^5.0.0" 3623 | 3624 | zen-observable-ts@^0.8.15: 3625 | version "0.8.15" 3626 | resolved "https://registry.yarnpkg.com/zen-observable-ts/-/zen-observable-ts-0.8.15.tgz#6cf7df6aa619076e4af2f707ccf8a6290d26699b" 3627 | dependencies: 3628 | zen-observable "^0.8.0" 3629 | 3630 | zen-observable@^0.8.0: 3631 | version "0.8.13" 3632 | resolved "https://registry.yarnpkg.com/zen-observable/-/zen-observable-0.8.13.tgz#a9f1b9dbdfd2d60a08761ceac6a861427d44ae2e" 3633 | --------------------------------------------------------------------------------