From b91695aed2dffbe5666734904523ec80c7eccb13 Mon Sep 17 00:00:00 2001 From: nfour Date: Wed, 5 Jul 2017 11:34:33 +1000 Subject: [PATCH 01/44] Readme updates --- README.md | 96 +++++++++++++++++++++++++++++++++++-------------------- 1 file changed, 61 insertions(+), 35 deletions(-) diff --git a/README.md b/README.md index 038c7f2..8faa0b2 100644 --- a/README.md +++ b/README.md @@ -1,38 +1,28 @@ -# Serverless OpenAPI v3 Documentation Plugin - -This plugin generates OpenAPI v3 documentation from serverless configuration files. OpenAPI is formerly known as Swagger. The configuration is extends the format specified by [serverless-aws-documentation](https://www.npmjs.com/package/serverless-aws-documentation). - - -## Install - -This plugin works for Serverless 1.x and up. Serverless 0.5 is not supported. - -To add this plugin to your package.json: -**Using npm:** -```bash -npm install serverless-openapi-documentation --save-dev -``` +[![Travis CI](https://img.shields.io/travis/temando/serverless-openapi-documentation.svg)](https://travis-ci.org/temando/serverless-openapi-documentation) +[![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com) -**Using Yarn:** -```bash -yarn add serverless-openapi-documentation --dev -``` -Next you need to add the plugin to the `plugins` section of your `serverless.yml` file. +# Serverless OpenAPI v3 Documentation Plugin -```yml -plugins: - - serverless-openapi-documentation -``` +Generates [**OpenAPI 3.0 RC2**](https://github.com/OAI/OpenAPI-Specification/tree/OpenAPI.next) documentation from serverless configuration files. OpenAPI is formerly known as Swagger. The configuration is inspired by the format used in [serverless-aws-documentation](https://www.npmjs.com/package/serverless-aws-documentation). -You can confirm the plugin is correctly installed by running: +--- -```bash -serverless | grep "ServerlessOpenAPIDocumentation" -``` +- [Usage](#usage) + - [Options](#options) + - [Configuration](#configuration) + - [Models](#models) + - [Functions](#functions) + - [`queryParams`](#queryparams) + - [`pathParams`](#pathparams) + - [`cookieParams`](#cookieparams) + - [`requestModels`](#requestmodels) + - [`methodResponses`](#methodresponses) +- [Example Configuration](#example-configuration) +- [Install](#install) -It should return `ServerlessOpenAPIDocumentation` as one of the plugins on the list. +--- ## Usage @@ -43,7 +33,9 @@ Below are the commandline options to run the generator: ```bash serverless openapi generate [options] ``` + ### Options + ```bash Plugin: ServerlessOpenAPIDocumentation openapi generate ...................... Generate OpenAPI v3 Documentation @@ -57,7 +49,7 @@ openapi generate ...................... Generate OpenAPI v3 Documentation To configure this plugin to generate valid OpenAPI documentation there are two places you'll need to modify in your `serverless.yml` file, the `custom` variables section and the `http` event section for each given function in your service. -This plugin is compatible with the same documentation configuration as per [serverless-aws-documentation](https://www.npmjs.com/package/serverless-aws-documentation) and can run beside it. +This plugin is compatible with the same documentation configuration structure in [serverless-aws-documentation](https://www.npmjs.com/package/serverless-aws-documentation) and can run beside it. The `custom` section of your `serverless.yml` can be configured as below: @@ -67,18 +59,23 @@ custom: version: '1' summary: 'My API' description: 'This is my API' + models: {} ``` -If you find this configuration too verbose, you can separate it out into it's own file, such as `serverless.doc.yml` by replacing it with the following: +These configurations can be quite verbose; you can separate it out into it's own file, such as `serverless.doc.yml` as below: ```yml custom: documentation: ${file(serverless.doc.yml):documentation} + +functions: + myFunc: + documentation: ${file(serverless.doc.yml):endpoints.myFunc} ``` -And instead putting the `documentation` section directly into `serverless.doc.yml`. +For more info on `serverless.yml` syntax, see their docs. -#### Defining models +#### Models Models contain additional information that you can use to define schemas for endpoints. You must define the *content type* for each schema that you provide in the models. @@ -114,7 +111,7 @@ custom: type: "string" ``` -### Function event specific documentation +#### Functions To define the documentation for a given function event, you need to create a `documentation` attribute for your http event in your `serverless.yml` file. @@ -295,8 +292,37 @@ responseHeaders: Please view the example [serverless.yml](test/serverless.yml). -## Contribution -`Insert: information on contibution here` +## Install + +This plugin works for Serverless 1.x and up. Serverless 0.5 is not supported. + +To add this plugin to your package.json: + +**Using npm:** +```bash +npm install serverless-openapi-documentation --save-dev +``` + +**Using Yarn:** +```bash +yarn add serverless-openapi-documentation --dev +``` + +Next you need to add the plugin to the `plugins` section of your `serverless.yml` file. + +```yml +plugins: + - serverless-openapi-documentation +``` + +You can confirm the plugin is correctly installed by running: + +```bash +serverless | grep "ServerlessOpenAPIDocumentation" +``` + +It should return `ServerlessOpenAPIDocumentation` as one of the plugins on the list. + ## License From afb11258248cffd9ad43679b29289ecbf4b3be89 Mon Sep 17 00:00:00 2001 From: nfour Date: Wed, 5 Jul 2017 11:34:52 +1000 Subject: [PATCH 02/44] Tweaks --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 8faa0b2..62899a8 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ [![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com) -# Serverless OpenAPI v3 Documentation Plugin +# Serverless OpenAPI Documentation Plugin Generates [**OpenAPI 3.0 RC2**](https://github.com/OAI/OpenAPI-Specification/tree/OpenAPI.next) documentation from serverless configuration files. OpenAPI is formerly known as Swagger. The configuration is inspired by the format used in [serverless-aws-documentation](https://www.npmjs.com/package/serverless-aws-documentation). From 62f545c6b98113000d665cd6ea19cb399946e7de Mon Sep 17 00:00:00 2001 From: nfour Date: Wed, 5 Jul 2017 11:36:29 +1000 Subject: [PATCH 03/44] Tweaks --- README.md | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 62899a8..2ebc8ae 100644 --- a/README.md +++ b/README.md @@ -70,7 +70,11 @@ custom: functions: myFunc: - documentation: ${file(serverless.doc.yml):endpoints.myFunc} + events: + - http: + path: getStuff + method: get + documentation: ${file(serverless.doc.yml):endpoints.myFunc} ``` For more info on `serverless.yml` syntax, see their docs. @@ -179,7 +183,7 @@ functions: application/json: "ErrorResponse" ``` -#### queryParams +#### `queryParams` Query parameters can be described as follow: @@ -197,7 +201,7 @@ queryParams: type: "string" ``` -#### pathParams +#### `pathParams` Path parameters can be described as follow: @@ -213,7 +217,7 @@ pathParams: type: "string" ``` -#### cookieParams +#### `cookieParams` Cookie parameters can be described as follow: @@ -231,7 +235,7 @@ cookieParams: type: "string" ``` -#### requestModels +#### `requestModels` The `requestModels` property allows you to define models for the HTTP Request of the function event. You can define a different model for each different `Content-Type`. You can define a reference to the relevant request model named in the `models` section of your configuration (see [Defining Models](#defining-models) section). @@ -241,7 +245,7 @@ requestModels: application/xml: "CreateRequestXML" ``` -#### methodResponses +#### `methodResponses` You can define the response schemas by defining properties for your function event. @@ -260,7 +264,7 @@ methodResponse: application/xml: "CreateResponseXML" ``` -##### responseModels +##### `responseModels` The `responseModels` property allows you to define models for the HTTP Response of the function event. You can define a different model for each different `Content-Type`. You can define a reference to the relevant response model named in the `models` section of your configuration (see [Defining Models](#defining-models) section). @@ -270,7 +274,7 @@ responseModels: application/xml: "CreateResponseXML" ``` -##### responseHeaders +##### `responseHeaders` The `responseHeaders` section of the configuration allows you to define the HTTP response headers for the function event. From 52ddd35876c1edcbc01689311af3fbc5fc8e5d93 Mon Sep 17 00:00:00 2001 From: nfour Date: Wed, 5 Jul 2017 14:26:26 +1000 Subject: [PATCH 04/44] Bump output OpenApi version to RC2 --- src/DefinitionGenerator.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/DefinitionGenerator.ts b/src/DefinitionGenerator.ts index 7b84935..dc07010 100644 --- a/src/DefinitionGenerator.ts +++ b/src/DefinitionGenerator.ts @@ -7,7 +7,7 @@ import { clone, merge } from './utils'; export class DefinitionGenerator { // The OpenAPI version we currently validate against - public version = '3.0.0-RC1'; + public version = '3.0.0-RC2'; // Base configuration object public definition = { From 6fcb72f90029db8da5ee79255162023b52a181f9 Mon Sep 17 00:00:00 2001 From: nfour Date: Wed, 5 Jul 2017 14:26:32 +1000 Subject: [PATCH 05/44] 0.2.0 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 8462504..eddd8bb 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "serverless-openapi-documentation", - "version": "0.1.0", + "version": "0.2.0", "description": "Serverless 1.0 plugin to generate OpenAPI V3 documentation from serverless configuration", "main": "index.js", "author": "Abilio Henrique ", From ca914efc01aacbdd4b05e61bba6d472b5b606975 Mon Sep 17 00:00:00 2001 From: Mike Ralphson Date: Wed, 5 Jul 2017 08:43:56 +0100 Subject: [PATCH 06/44] Create LICENSE as per README.md / package.json --- LICENSE | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 LICENSE diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..bae98d9 --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2017 Temando + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. From cf7766b8e8d8ebd0663e5e98a41cfb40a76ef7b8 Mon Sep 17 00:00:00 2001 From: nfour Date: Wed, 5 Jul 2017 21:19:17 +1000 Subject: [PATCH 07/44] Update travis to require NPM_TOKEN only at publish stage --- .travis.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index a4c77bc..b046277 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,9 +1,6 @@ language: node_js node_js: ["6"] -before_install: - - echo "//registry.npmjs.org/:_authToken=\${NPM_TOKEN}" > .npmrc - install: - yarn install @@ -16,6 +13,7 @@ script: deploy: provider: script script: + - echo "//registry.npmjs.org/:_authToken=\${NPM_TOKEN}" > .npmrc - npm run release on: tags: true From ac208e23c4449cd04d891d38176d9a1987bbc02c Mon Sep 17 00:00:00 2001 From: nfour Date: Wed, 5 Jul 2017 21:26:10 +1000 Subject: [PATCH 08/44] Add a lincoln link --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 2ebc8ae..07e325e 100644 --- a/README.md +++ b/README.md @@ -7,6 +7,8 @@ Generates [**OpenAPI 3.0 RC2**](https://github.com/OAI/OpenAPI-Specification/tree/OpenAPI.next) documentation from serverless configuration files. OpenAPI is formerly known as Swagger. The configuration is inspired by the format used in [serverless-aws-documentation](https://www.npmjs.com/package/serverless-aws-documentation). +Works well on [Lincoln Open Api Renderer](https://github.com/temando/open-api-renderer) + --- - [Usage](#usage) From 1a780b144afe77643caee0e513e8d14adb318314 Mon Sep 17 00:00:00 2001 From: Sam J Date: Thu, 6 Jul 2017 10:45:16 +1000 Subject: [PATCH 09/44] Fix example link --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 07e325e..64209b8 100644 --- a/README.md +++ b/README.md @@ -296,7 +296,7 @@ responseHeaders: ## Example configuration -Please view the example [serverless.yml](test/serverless.yml). +Please view the example [serverless.yml](test/project/serverless.yml). ## Install From d505b0a226f739c01a7ecdb8b057f03832f6cd13 Mon Sep 17 00:00:00 2001 From: nfour Date: Fri, 7 Jul 2017 10:19:43 +1000 Subject: [PATCH 10/44] Add requestHeaders, fixes #11 --- README.md | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 64209b8..ab70cd9 100644 --- a/README.md +++ b/README.md @@ -276,9 +276,9 @@ responseModels: application/xml: "CreateResponseXML" ``` -##### `responseHeaders` +##### `responseHeaders` and `requestHeaders` -The `responseHeaders` section of the configuration allows you to define the HTTP response headers for the function event. +The `responseHeaders/requestHeaders` section of the configuration allows you to define the HTTP response headers for the function event. The attributes for a response header are as follow: @@ -292,6 +292,11 @@ responseHeaders: description: "Content Type header" schema: type: "string" +requestHeaders: + - name: "Content-Type" + description: "Content Type header" + schema: + type: "string" ``` ## Example configuration From 1c00d1e7263d342435e4145ea720492926bd3887 Mon Sep 17 00:00:00 2001 From: Hassan Khan Date: Fri, 7 Jul 2017 04:47:04 +0100 Subject: [PATCH 11/44] Fix request/response header docs --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index ab70cd9..9551789 100644 --- a/README.md +++ b/README.md @@ -278,9 +278,9 @@ responseModels: ##### `responseHeaders` and `requestHeaders` -The `responseHeaders/requestHeaders` section of the configuration allows you to define the HTTP response headers for the function event. +The `responseHeaders/requestHeaders` section of the configuration allows you to define the HTTP headers for the function event. -The attributes for a response header are as follow: +The attributes for a header are as follow: * `name`: the name of the HTTP Header * `description`: a description of the HTTP Header From 77588da44cda2c17a5384c2850b51f789d0aeb87 Mon Sep 17 00:00:00 2001 From: Brendan Abbott Date: Fri, 7 Jul 2017 16:38:05 +1000 Subject: [PATCH 12/44] README/package tweaks --- .editorconfig | 4 +++- README.md | 12 +++++------- package.json | 11 +++++++++++ 3 files changed, 19 insertions(+), 8 deletions(-) diff --git a/.editorconfig b/.editorconfig index c3bc4aa..59cb414 100644 --- a/.editorconfig +++ b/.editorconfig @@ -3,4 +3,6 @@ root = true [*] indent_style = space indent_size = 2 -insert_final_newline = true \ No newline at end of file +insert_final_newline = true +trim_trailing_whitespace = true +charset = "utf-8" diff --git a/README.md b/README.md index 9551789..23df9a0 100644 --- a/README.md +++ b/README.md @@ -1,13 +1,12 @@ +# Serverless OpenAPI Documentation Plugin +[![NPM](https://img.shields.io/npm/v/serverless-openapi-documentation.svg)](https://npmjs.org/packages/serverless-openapi-documentation/) [![Travis CI](https://img.shields.io/travis/temando/serverless-openapi-documentation.svg)](https://travis-ci.org/temando/serverless-openapi-documentation) [![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com) - -# Serverless OpenAPI Documentation Plugin - Generates [**OpenAPI 3.0 RC2**](https://github.com/OAI/OpenAPI-Specification/tree/OpenAPI.next) documentation from serverless configuration files. OpenAPI is formerly known as Swagger. The configuration is inspired by the format used in [serverless-aws-documentation](https://www.npmjs.com/package/serverless-aws-documentation). -Works well on [Lincoln Open Api Renderer](https://github.com/temando/open-api-renderer) +Works well with [Lincoln Open Api Renderer](https://github.com/temando/open-api-renderer). --- @@ -170,7 +169,7 @@ functions: cookieParams: - name: "SessionId" description: "A Session ID variable" - schema: + schema: type: "string" methodResponses: - statusCode: 201 @@ -261,7 +260,7 @@ methodResponse: description: "Content Type header" schema: type: "string" - responseModels: + responseModels: application/json: "CreateResponse" application/xml: "CreateResponseXML" ``` @@ -334,7 +333,6 @@ serverless | grep "ServerlessOpenAPIDocumentation" It should return `ServerlessOpenAPIDocumentation` as one of the plugins on the list. - ## License MIT diff --git a/package.json b/package.json index eddd8bb..461f32a 100644 --- a/package.json +++ b/package.json @@ -3,17 +3,28 @@ "version": "0.2.0", "description": "Serverless 1.0 plugin to generate OpenAPI V3 documentation from serverless configuration", "main": "index.js", + "repository": { + "type": "git", + "url": "https://github.com/temando/serverless-openapi-documentation.git" + }, + "bugs": "https://github.com/temando/serverless-openapi-documentation/issues", "author": "Abilio Henrique ", "contributors": [ "Abilio Henrique ", "nfour " ], + "keywords":[ + "OpenAPI", + "swagger", + "serverless" + ], "license": "MIT", "scripts": { "test": "jest", "test:build": "jest -c '{}' build", "test:coverage": "jest --coverage", "lint": "tslint 'src/**/*.ts'", + "preversion": "npm run lint && npm run test", "release": "cd build && npm publish", "test:project": "cd test/project && yarn sls openapi generate", "test:prepare": "scripts/prepareTests.bash", From 32fe73bb2e97088760ae4bb03467c3bed30bd4f4 Mon Sep 17 00:00:00 2001 From: Brendan Abbott Date: Fri, 7 Jul 2017 16:41:16 +1000 Subject: [PATCH 13/44] Better linting --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 461f32a..ce403af 100644 --- a/package.json +++ b/package.json @@ -23,7 +23,7 @@ "test": "jest", "test:build": "jest -c '{}' build", "test:coverage": "jest --coverage", - "lint": "tslint 'src/**/*.ts'", + "lint": "tslint -p tsconfig.json --type-check -c tslint.json", "preversion": "npm run lint && npm run test", "release": "cd build && npm publish", "test:project": "cd test/project && yarn sls openapi generate", From 2bab9eb9bd11357e597c29a2b157734c747c6e22 Mon Sep 17 00:00:00 2001 From: nfour Date: Fri, 7 Jul 2017 18:54:03 +1000 Subject: [PATCH 14/44] 0.2.1-0 --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index ce403af..727eadb 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "serverless-openapi-documentation", - "version": "0.2.0", + "version": "0.2.1-0", "description": "Serverless 1.0 plugin to generate OpenAPI V3 documentation from serverless configuration", "main": "index.js", "repository": { @@ -13,7 +13,7 @@ "Abilio Henrique ", "nfour " ], - "keywords":[ + "keywords": [ "OpenAPI", "swagger", "serverless" From f92252126042c6da2ee2b0f0daee887b9c95fb9a Mon Sep 17 00:00:00 2001 From: nfour Date: Fri, 7 Jul 2017 19:00:14 +1000 Subject: [PATCH 15/44] Makes deployment a script --- .travis.yml | 4 +--- scripts/travisDeploy.bash | 4 ++++ 2 files changed, 5 insertions(+), 3 deletions(-) create mode 100755 scripts/travisDeploy.bash diff --git a/.travis.yml b/.travis.yml index b046277..706789a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -12,8 +12,6 @@ script: deploy: provider: script - script: - - echo "//registry.npmjs.org/:_authToken=\${NPM_TOKEN}" > .npmrc - - npm run release + script: scripts/travisDeploy.bash on: tags: true diff --git a/scripts/travisDeploy.bash b/scripts/travisDeploy.bash new file mode 100755 index 0000000..a2dcd9b --- /dev/null +++ b/scripts/travisDeploy.bash @@ -0,0 +1,4 @@ +#!/bin/bash + +echo "//registry.npmjs.org/:_authToken=\${NPM_TOKEN}" > .npmrc +npm run release From 32549c0a27562770d4127fdc307f381ffccc2a42 Mon Sep 17 00:00:00 2001 From: nfour Date: Fri, 7 Jul 2017 19:01:34 +1000 Subject: [PATCH 16/44] 0.2.1-1 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 727eadb..d54a596 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "serverless-openapi-documentation", - "version": "0.2.1-0", + "version": "0.2.1-1", "description": "Serverless 1.0 plugin to generate OpenAPI V3 documentation from serverless configuration", "main": "index.js", "repository": { From 9a68ae4eb7d2cf613e7830032aeb3b65d3428f50 Mon Sep 17 00:00:00 2001 From: nfour Date: Fri, 7 Jul 2017 19:07:20 +1000 Subject: [PATCH 17/44] Revert script, try another way --- .travis.yml | 10 ++++++---- scripts/travisDeploy.bash | 4 ---- 2 files changed, 6 insertions(+), 8 deletions(-) delete mode 100755 scripts/travisDeploy.bash diff --git a/.travis.yml b/.travis.yml index 706789a..67e4dea 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,7 +11,9 @@ script: - DEBUG=true yarn test:coverage deploy: - provider: script - script: scripts/travisDeploy.bash - on: - tags: true + - provider: script + script: echo "//registry.npmjs.org/:_authToken=\${NPM_TOKEN}" > .npmrc + on: { tags: true } + - provider: script + script: npm run release + on: { tags: true } diff --git a/scripts/travisDeploy.bash b/scripts/travisDeploy.bash deleted file mode 100755 index a2dcd9b..0000000 --- a/scripts/travisDeploy.bash +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/bash - -echo "//registry.npmjs.org/:_authToken=\${NPM_TOKEN}" > .npmrc -npm run release From e01de361e2e06c6190677bbd14bbf03fde18f646 Mon Sep 17 00:00:00 2001 From: nfour Date: Fri, 7 Jul 2017 19:07:30 +1000 Subject: [PATCH 18/44] 0.2.1-2 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index d54a596..8aca312 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "serverless-openapi-documentation", - "version": "0.2.1-1", + "version": "0.2.1-2", "description": "Serverless 1.0 plugin to generate OpenAPI V3 documentation from serverless configuration", "main": "index.js", "repository": { From 566b1c324e95e8b184cabcd317a24b4ae425f6dc Mon Sep 17 00:00:00 2001 From: nfour Date: Fri, 7 Jul 2017 19:08:43 +1000 Subject: [PATCH 19/44] Simplify deploy script --- .travis.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index 67e4dea..d6b676c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -12,8 +12,6 @@ script: deploy: - provider: script - script: echo "//registry.npmjs.org/:_authToken=\${NPM_TOKEN}" > .npmrc - on: { tags: true } - - provider: script - script: npm run release - on: { tags: true } + script: echo "//registry.npmjs.org/:_authToken=\${NPM_TOKEN}" > .npmrc && npm run release + on: + tags: true From f66dbe3acbf0e646d11773372069e87acc2b9a02 Mon Sep 17 00:00:00 2001 From: nfour Date: Fri, 7 Jul 2017 19:09:00 +1000 Subject: [PATCH 20/44] 0.2.1-3 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 8aca312..b0ce57d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "serverless-openapi-documentation", - "version": "0.2.1-2", + "version": "0.2.1-3", "description": "Serverless 1.0 plugin to generate OpenAPI V3 documentation from serverless configuration", "main": "index.js", "repository": { From 5b2adbb2172e183aa0e3e0cf74e2fc1432edc7b5 Mon Sep 17 00:00:00 2001 From: nfour Date: Fri, 7 Jul 2017 19:11:58 +1000 Subject: [PATCH 21/44] Fix npmrc link --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index d6b676c..6b5b30c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -12,6 +12,6 @@ script: deploy: - provider: script - script: echo "//registry.npmjs.org/:_authToken=\${NPM_TOKEN}" > .npmrc && npm run release + script: echo "//registry.npmjs.org/:_authToken=\${NPM_TOKEN}" > ~/.npmrc && npm run release on: tags: true From 1a0eb7c452d150cf507f7d5fb3b43cb0a1df074a Mon Sep 17 00:00:00 2001 From: nfour Date: Fri, 7 Jul 2017 19:12:13 +1000 Subject: [PATCH 22/44] 0.2.1-4 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index b0ce57d..b49f1a2 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "serverless-openapi-documentation", - "version": "0.2.1-3", + "version": "0.2.1-4", "description": "Serverless 1.0 plugin to generate OpenAPI V3 documentation from serverless configuration", "main": "index.js", "repository": { From d4826c2288b94d7226eaa38c0de3ef9ff46c4363 Mon Sep 17 00:00:00 2001 From: nfour Date: Fri, 7 Jul 2017 19:13:15 +1000 Subject: [PATCH 23/44] Better preversion script --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index b49f1a2..8d031f7 100644 --- a/package.json +++ b/package.json @@ -24,7 +24,7 @@ "test:build": "jest -c '{}' build", "test:coverage": "jest --coverage", "lint": "tslint -p tsconfig.json --type-check -c tslint.json", - "preversion": "npm run lint && npm run test", + "preversion": "yarn lint && yarn build && yarn test:build", "release": "cd build && npm publish", "test:project": "cd test/project && yarn sls openapi generate", "test:prepare": "scripts/prepareTests.bash", From 863d1630177469bdb7b07b09cbc195382743f7a9 Mon Sep 17 00:00:00 2001 From: nfour Date: Fri, 7 Jul 2017 19:16:06 +1000 Subject: [PATCH 24/44] Revert to previously working travis --- .travis.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 6b5b30c..4169bf1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,6 +2,7 @@ language: node_js node_js: ["6"] install: + - echo "//registry.npmjs.org/:_authToken=\${NPM_TOKEN}" > ~/.npmrc - yarn install script: @@ -12,6 +13,6 @@ script: deploy: - provider: script - script: echo "//registry.npmjs.org/:_authToken=\${NPM_TOKEN}" > ~/.npmrc && npm run release + script: npm run release on: tags: true From e7d6a347c09f19da8a8c4c49aa093d9a60ee8f78 Mon Sep 17 00:00:00 2001 From: nfour Date: Fri, 7 Jul 2017 19:16:17 +1000 Subject: [PATCH 25/44] 0.2.1-5 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 8d031f7..4f3cae3 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "serverless-openapi-documentation", - "version": "0.2.1-4", + "version": "0.2.1-5", "description": "Serverless 1.0 plugin to generate OpenAPI V3 documentation from serverless configuration", "main": "index.js", "repository": { From 44320db1a63923201ac06d6cb1f8b0b0742e27b7 Mon Sep 17 00:00:00 2001 From: nfour Date: Fri, 7 Jul 2017 19:24:19 +1000 Subject: [PATCH 26/44] Test before-deploy --- .travis.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 4169bf1..2a2d4e4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,7 +2,6 @@ language: node_js node_js: ["6"] install: - - echo "//registry.npmjs.org/:_authToken=\${NPM_TOKEN}" > ~/.npmrc - yarn install script: @@ -11,6 +10,9 @@ script: - yarn test:build - DEBUG=true yarn test:coverage +before_deploy: + - echo "//registry.npmjs.org/:_authToken=\${NPM_TOKEN}" > ~/.npmrc + deploy: - provider: script script: npm run release From f88189bb471094db38b392d5c7404e2a0b2bb278 Mon Sep 17 00:00:00 2001 From: nfour Date: Fri, 7 Jul 2017 19:24:28 +1000 Subject: [PATCH 27/44] 0.2.1-6 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 4f3cae3..4bad937 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "serverless-openapi-documentation", - "version": "0.2.1-5", + "version": "0.2.1-6", "description": "Serverless 1.0 plugin to generate OpenAPI V3 documentation from serverless configuration", "main": "index.js", "repository": { From 87d9edbc15d32854b0a64386f81071c5ef664770 Mon Sep 17 00:00:00 2001 From: nfour Date: Fri, 7 Jul 2017 19:31:53 +1000 Subject: [PATCH 28/44] 0.2.1 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 4bad937..e81e4fe 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "serverless-openapi-documentation", - "version": "0.2.1-6", + "version": "0.2.1", "description": "Serverless 1.0 plugin to generate OpenAPI V3 documentation from serverless configuration", "main": "index.js", "repository": { From 822f2c89521bb24f4db986244f9cf3c3269efb55 Mon Sep 17 00:00:00 2001 From: Brendan Abbott Date: Mon, 28 Aug 2017 14:56:47 +1000 Subject: [PATCH 29/44] Various improvements, see CHANGELOG --- CHANGELOG.md | 23 + README.md | 16 +- package.json | 8 +- src/DefinitionGenerator.ts | 53 +- src/ServerlessOpenApiDocumentation.ts | 22 +- src/index.ts | 1 + src/types.ts | 30 +- src/utils.ts | 1 + test/project/serverless.yml | 4 +- tsconfig.json | 9 +- yarn.lock | 1255 +++++++++++++------------ 11 files changed, 778 insertions(+), 644 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e69de29..01b74db 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -0,0 +1,23 @@ +# Changelog + +All notable changes to this project will be documented in this file. + +The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) +and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). + +## [Unreleased] + +## Changed + +- Plugin now generates OpenAPI documentation with a version of `3.0.0` instead of `3.0.0-RC2`. +- Operation now supports `deprecated` and `tags` properties. +- Parameters now support the `content` property. +- Updated various build dependencies. + +## Fixed + +- Handle when `models` is not iterable. + +## [v0.2.1] - 2017-07-07 + +Last release prior to CHANGELOG being added. diff --git a/README.md b/README.md index 23df9a0..12ade0c 100644 --- a/README.md +++ b/README.md @@ -4,9 +4,9 @@ [![Travis CI](https://img.shields.io/travis/temando/serverless-openapi-documentation.svg)](https://travis-ci.org/temando/serverless-openapi-documentation) [![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com) -Generates [**OpenAPI 3.0 RC2**](https://github.com/OAI/OpenAPI-Specification/tree/OpenAPI.next) documentation from serverless configuration files. OpenAPI is formerly known as Swagger. The configuration is inspired by the format used in [serverless-aws-documentation](https://www.npmjs.com/package/serverless-aws-documentation). +Generates [**OpenAPI 3.0.0**](https://github.com/OAI/OpenAPI-Specification/blob/3.0.0/versions/3.0.0.md) documentation from serverless configuration files. OpenAPI is formerly known as Swagger. The configuration is inspired by the format used in [serverless-aws-documentation](https://www.npmjs.com/package/serverless-aws-documentation). -Works well with [Lincoln Open Api Renderer](https://github.com/temando/open-api-renderer). +Works well with [Lincoln OpenAPI Renderer](https://github.com/temando/open-api-renderer). --- @@ -42,7 +42,7 @@ Plugin: ServerlessOpenAPIDocumentation openapi generate ...................... Generate OpenAPI v3 Documentation --output / -o ...................... Output file location [default: openapi.yml|json] --format / -f ...................... OpenAPI file format (yml|json) [default: yml] - --indent / -i ...................... File indentation in spaces[default: 2] + --indent / -i ...................... File indentation in spaces [default: 2] --help / -h ...................... Help ``` @@ -58,7 +58,7 @@ The `custom` section of your `serverless.yml` can be configured as below: custom: documentation: version: '1' - summary: 'My API' + title: 'My API' description: 'This is my API' models: {} ``` @@ -73,9 +73,9 @@ functions: myFunc: events: - http: - path: getStuff - method: get - documentation: ${file(serverless.doc.yml):endpoints.myFunc} + path: getStuff + method: get + documentation: ${file(serverless.doc.yml):endpoints.myFunc} ``` For more info on `serverless.yml` syntax, see their docs. @@ -333,6 +333,8 @@ serverless | grep "ServerlessOpenAPIDocumentation" It should return `ServerlessOpenAPIDocumentation` as one of the plugins on the list. +> Note: Add this plugin _after_ `serverless-offline` to prevent issues with `String.replaceAll` being overridden incorrectly. + ## License MIT diff --git a/package.json b/package.json index e81e4fe..ce1b1fe 100644 --- a/package.json +++ b/package.json @@ -33,8 +33,9 @@ "build": "scripts/build.bash" }, "devDependencies": { + "@types/bluebird": "^3.5.8", "@types/chalk": "^0.4.31", - "@types/fs-extra": "^3.0.3", + "@types/fs-extra": "^4.0.0", "@types/jest": "^20.0.2", "@types/js-yaml": "^3.5.31", "@types/node": "^8.0.7", @@ -48,11 +49,10 @@ "typescript": "^2.4.1" }, "dependencies": { - "@jdw/jst": "^1.0.0", - "@types/bluebird": "^3.5.8", + "@jdw/jst": "^2.0.0-beta.9", "bluebird": "^3.5.0", "chalk": "^2.0.1", - "fs-extra": "^3.0.1", + "fs-extra": "^4.0.1", "js-yaml": "^3.8.4", "lutils": "^2.4.0", "swagger2openapi": "^2.5.0", diff --git a/src/DefinitionGenerator.ts b/src/DefinitionGenerator.ts index dc07010..2304300 100644 --- a/src/DefinitionGenerator.ts +++ b/src/DefinitionGenerator.ts @@ -1,13 +1,13 @@ import { dereference } from '@jdw/jst'; -import * as openApiValidator from 'swagger2openapi/validate'; - +// tslint:disable-next-line no-submodule-imports +import { validateSync as openApiValidatorSync } from 'swagger2openapi/validate'; import * as uuid from 'uuid'; -import { IDefinition, IDefinitionConfig, IParameterConfig, IServerlessFunctionConfig } from './types'; -import { clone, merge } from './utils'; +import { IDefinition, IDefinitionConfig, IOperation, IParameterConfig, IServerlessFunctionConfig } from './types'; +import { clone, isIterable, merge } from './utils'; export class DefinitionGenerator { // The OpenAPI version we currently validate against - public version = '3.0.0-RC2'; + public version = '3.0.0'; // Base configuration object public definition = { @@ -43,7 +43,7 @@ export class DefinitionGenerator { }, }); - if (models) { + if (isIterable(models)) { for (const model of models) { this.definition.components.schemas[model.name] = this.cleanSchema( dereference(model.schema), @@ -58,9 +58,9 @@ export class DefinitionGenerator { const payload: any = {}; try { - openApiValidator.validateSync(this.definition, payload); + openApiValidatorSync(this.definition, payload); } catch (error) { - payload.error = JSON.parse(error.message.replace(/^Failed OpenAPI3 schema validation: /, '')); + payload.error = error.message; } return payload; @@ -78,18 +78,13 @@ export class DefinitionGenerator { const httpEventConfig = httpEvent.http; if (httpEventConfig.documentation) { - const documentationConfig = httpEventConfig.documentation; // Build OpenAPI path configuration structure for each method const pathConfig = { [`/${httpEventConfig.path}`]: { - [httpEventConfig.method]: { - operationId: funcConfig._functionName, - summary: documentationConfig.summary || '', - description: documentationConfig.description || '', - responses: this.getResponsesFromConfig(documentationConfig), - parameters: this.getParametersFromConfig(documentationConfig), - requestBody: this.getRequestBodiesFromConfig(documentationConfig), - }, + [httpEventConfig.method]: this.getOperationFromConfig( + funcConfig._functionName, + httpEventConfig.documentation, + ), }, }; @@ -117,6 +112,26 @@ export class DefinitionGenerator { return cleanedSchema; } + /** + * Generate Operation objects from the Serverless Config. + * + * @link https://github.com/OAI/OpenAPI-Specification/blob/3.0.0/versions/3.0.0.md#operationObject + * @param funcName + * @param documentationConfig + */ + private getOperationFromConfig (funcName: string, documentationConfig): IOperation { + return { + operationId: funcName, + tags: documentationConfig.tags || [], + deprecated: documentationConfig.deprecated || false, + summary: documentationConfig.summary || '', + description: documentationConfig.description || '', + parameters: this.getParametersFromConfig(documentationConfig), + requestBody: this.getRequestBodiesFromConfig(documentationConfig), + responses: this.getResponsesFromConfig(documentationConfig), + }; + } + /** * Derives Path, Query and Request header parameters from Serverless documentation * @param documentationConfig @@ -181,6 +196,10 @@ export class DefinitionGenerator { parameterConfig.examples = parameter.examples; } + if (parameter.content) { + parameterConfig.content = parameter.content; + } + parameters.push(parameterConfig); } } diff --git a/src/ServerlessOpenApiDocumentation.ts b/src/ServerlessOpenApiDocumentation.ts index 08aba7d..db44aa3 100644 --- a/src/ServerlessOpenApiDocumentation.ts +++ b/src/ServerlessOpenApiDocumentation.ts @@ -48,7 +48,7 @@ export class ServerlessOpenApiDocumentation { shortcut: 'f', }, indent: { - usage: 'File indentation in spaces[default: 2]', + usage: 'File indentation in spaces [default: 2]', shortcut: 'i', }, }, @@ -128,14 +128,18 @@ export class ServerlessOpenApiDocumentation { this.log(`${ c.bold.green('[VALIDATION]') } OpenAPI valid: ${c.bold.green('true')}\n\n`); } else { this.log(`${c.bold.red('[VALIDATION]')} Failed to validate OpenAPI document: \n\n`); - this.log(`${c.bold.green('Path:')} ${JSON.stringify(validation.context, null, 2)}\n`); - - for (const info of validation.error) { - this.log(c.grey('\n\n--------\n\n')); - this.log(' ', c.blue(info.dataPath), '\n'); - this.log(' ', info.schemaPath, c.bold.yellow(info.message)); - this.log(c.grey('\n\n--------\n\n')); - this.log(`${inspect(info, { colors: true, depth: 2 })}\n\n`); + this.log(`${c.bold.green('Context:')} ${JSON.stringify(validation.context, null, 2)}\n`); + + if (typeof validation.error === 'string') { + this.log(`${validation.error}\n\n`); + } else { + for (const info of validation.error) { + this.log(c.grey('\n\n--------\n\n')); + this.log(' ', c.blue(info.dataPath), '\n'); + this.log(' ', info.schemaPath, c.bold.yellow(info.message)); + this.log(c.grey('\n\n--------\n\n')); + this.log(`${inspect(info, { colors: true, depth: 2 })}\n\n`); + } } } diff --git a/src/index.ts b/src/index.ts index d1261e2..e0e1541 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,4 +1,5 @@ import { ServerlessOpenApiDocumentation } from './ServerlessOpenApiDocumentation'; +// tslint:disable-next-line no-default-export export default ServerlessOpenApiDocumentation; module.exports = ServerlessOpenApiDocumentation; diff --git a/src/types.ts b/src/types.ts index 22e2c6d..782bf2b 100644 --- a/src/types.ts +++ b/src/types.ts @@ -29,6 +29,27 @@ export interface IServerlessFunctionConfig { events?: any[]; } +// TODO: We could use another TS based OpenAPI project to get type information +// for OpenAPI definitions. +// @see https://github.com/Mermade/awesome-openapi3#parsersmodelsvalidators + +// @see https://github.com/OAI/OpenAPI-Specification/blob/3.0.0/versions/3.0.0.md#operation-object +export interface IOperation { + tags?: string[]; + summary?: string; + description?: string; + externalDocs?: any; + operationId?: string; + parameters?: IParameterConfig[]; + requestBody?: any; + responses?: any; + callbacks?: any; + deprecated?: boolean; + security?: any[]; + servers?: any[]; +} + +// @see https://github.com/OAI/OpenAPI-Specification/blob/3.0.0/versions/3.0.0.md#parameterObject export interface IParameterConfig { name: string; in: 'path' | 'query' | 'header' | 'cookie'; @@ -41,15 +62,20 @@ export interface IParameterConfig { explode?: boolean; allowReserved?: boolean; example?: any; - examples?: [any]; + examples?: any[]; + content?: Map; } // FIXME: export interface IDefinition { openapi: string; - components: any; info: any; + servers?: any[]; paths: any; + components?: any; + security?: any[]; + tags?: any[]; + externalDocs: any; } export type ILog = (...str: string[]) => void; diff --git a/src/utils.ts b/src/utils.ts index b3a369c..66085e8 100644 --- a/src/utils.ts +++ b/src/utils.ts @@ -2,3 +2,4 @@ import { Clone, IMerge, Merge } from 'lutils'; export const merge: IMerge = new Merge({ depth: 100 }).merge; export const clone = new Clone({ depth: 100 }).clone; +export const isIterable = (obj) => obj != null && typeof obj[Symbol.iterator] === 'function' diff --git a/test/project/serverless.yml b/test/project/serverless.yml index e74c9d7..9898362 100644 --- a/test/project/serverless.yml +++ b/test/project/serverless.yml @@ -11,7 +11,7 @@ functions: createUser: handler: handler.create events: - - http: + - http: path: create method: post documentation: @@ -38,7 +38,7 @@ functions: cookieParams: - name: SessionId description: A Session ID variable - schema: + schema: type: string methodResponses: - statusCode: 201 diff --git a/tsconfig.json b/tsconfig.json index 5222d04..8e0db40 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -3,7 +3,7 @@ "target": "es6", "module": "commonjs", "moduleResolution": "node", - "outDir":"./build", + "outDir": "./build", "sourceMap": true, "declaration": true, "noUnusedLocals": true, @@ -11,9 +11,10 @@ "lib": [ "es6", "es7", - "dom" + "dom", + "esnext.asynciterable" ] }, - "exclude": [], - "include": [ "src/**/*" ] + "include": [ "src/**/*" ], + "exclude": [ "node_modules" ] } diff --git a/yarn.lock b/yarn.lock index 775f3b5..f7df9cd 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2,48 +2,22 @@ # yarn lockfile v1 -"@jdw/jst@^1.0.0": - version "1.0.0" - resolved "https://registry.yarnpkg.com/@jdw/jst/-/jst-1.0.0.tgz#a46ee81d418ade891f55cdfe309efcc377a0464d" - dependencies: - ajv "^4.9.0" - clone "^2.1.0" - valid-url "^1.0.9" - -"@types/async@^2.0.31": - version "2.0.40" - resolved "https://registry.yarnpkg.com/@types/async/-/async-2.0.40.tgz#ac02de68e66c004a61b7cb16df8b1db3a254cca9" - -"@types/babel-core@^6.7.14": - version "6.7.14" - resolved "https://registry.yarnpkg.com/@types/babel-core/-/babel-core-6.7.14.tgz#a08c900a98e8987c1a98d2ea4fa0a1805a7d131f" - dependencies: - "@types/babel-template" "*" - "@types/babel-traverse" "*" - "@types/babel-types" "*" - -"@types/babel-template@*": - version "6.7.14" - resolved "https://registry.yarnpkg.com/@types/babel-template/-/babel-template-6.7.14.tgz#8088a56f9d697d620d3d079c3ef66025b7a08d02" +"@jdw/jst@^2.0.0": + version "2.0.0-beta.9" + resolved "https://registry.yarnpkg.com/@jdw/jst/-/jst-2.0.0-beta.9.tgz#4ec2c73761199774d6d0f95f6be37d068fe2cce4" dependencies: - "@types/babel-types" "*" - "@types/babylon" "*" + lodash.forin "^4.4.0" + lodash.has "^4.5.2" + lodash.isobject "^3.0.2" + lodash.merge "^4.6.0" -"@types/babel-traverse@*": - version "6.7.17" - resolved "https://registry.yarnpkg.com/@types/babel-traverse/-/babel-traverse-6.7.17.tgz#5212a4edced81f53a6c4fb1fd7a34aa4ff6cf36b" +"@serverless/fdk@^0.3.0": + version "0.3.5" + resolved "https://registry.yarnpkg.com/@serverless/fdk/-/fdk-0.3.5.tgz#7ea8ec3e460b530c31a6035845ee8cc16e099f31" dependencies: - "@types/babel-types" "*" - -"@types/babel-types@*": - version "6.7.16" - resolved "https://registry.yarnpkg.com/@types/babel-types/-/babel-types-6.7.16.tgz#e2602896636858a0067971f7ca4bb8678038293f" - -"@types/babylon@*": - version "6.16.1" - resolved "https://registry.yarnpkg.com/@types/babylon/-/babylon-6.16.1.tgz#e4d10ab9e43a73703a17c6f41438bede28769340" - dependencies: - "@types/babel-types" "*" + isomorphic-fetch "^2.2.1" + ramda "^0.24.1" + url "^0.11.0" "@types/bluebird@^3.5.8": version "3.5.8" @@ -53,35 +27,31 @@ version "0.4.31" resolved "https://registry.yarnpkg.com/@types/chalk/-/chalk-0.4.31.tgz#a31d74241a6b1edbb973cf36d97a2896834a51f9" -"@types/fs-extra@^3.0.3": - version "3.0.3" - resolved "https://registry.yarnpkg.com/@types/fs-extra/-/fs-extra-3.0.3.tgz#1d66eb670ebf657e57c0fda014df340c19d8aa0c" +"@types/fs-extra@^4.0.0": + version "4.0.0" + resolved "https://registry.yarnpkg.com/@types/fs-extra/-/fs-extra-4.0.0.tgz#1dd742ad5c9bce308f7a52d02ebc01421bc9102f" dependencies: "@types/node" "*" -"@types/graphql@^0.9.0": - version "0.9.3" - resolved "https://registry.yarnpkg.com/@types/graphql/-/graphql-0.9.3.tgz#4a2a888e110c796eb7671bf8f9ecef229ad67749" - -"@types/isomorphic-fetch@0.0.34": - version "0.0.34" - resolved "https://registry.yarnpkg.com/@types/isomorphic-fetch/-/isomorphic-fetch-0.0.34.tgz#3c3483e606c041378438e951464f00e4e60706d6" +"@types/graphql@0.10.2": + version "0.10.2" + resolved "https://registry.yarnpkg.com/@types/graphql/-/graphql-0.10.2.tgz#d7c79acbaa17453b6681c80c34b38fcb10c4c08c" "@types/jest@^20.0.2": - version "20.0.2" - resolved "https://registry.yarnpkg.com/@types/jest/-/jest-20.0.2.tgz#86c751121fb53dbd39bb1a08c45083da13f2dc67" + version "20.0.8" + resolved "https://registry.yarnpkg.com/@types/jest/-/jest-20.0.8.tgz#7f8c97f73d20d3bf5448fbe33661a342002b5954" "@types/js-yaml@^3.5.31": - version "3.5.31" - resolved "https://registry.yarnpkg.com/@types/js-yaml/-/js-yaml-3.5.31.tgz#54aeb8bcaaf94a7b1a64311bc318dbfe601a593a" + version "3.9.1" + resolved "https://registry.yarnpkg.com/@types/js-yaml/-/js-yaml-3.9.1.tgz#2f3c142771bb345829ce690c5838760b6b9ba553" "@types/node@*", "@types/node@^8.0.7": - version "8.0.7" - resolved "https://registry.yarnpkg.com/@types/node/-/node-8.0.7.tgz#fb0ad04b5b6f6eabe0372a32a8f1fbba5c130cae" + version "8.0.25" + resolved "https://registry.yarnpkg.com/@types/node/-/node-8.0.25.tgz#66ecaf4df93f5281b48427ee96fbcdfc4f0cdce1" "@types/uuid@^3.0.0": - version "3.0.0" - resolved "https://registry.yarnpkg.com/@types/uuid/-/uuid-3.0.0.tgz#be93b14bcf97f59c079a9e58754960b5efd946c3" + version "3.4.1" + resolved "https://registry.yarnpkg.com/@types/uuid/-/uuid-3.4.1.tgz#1b8d5e318ba733f63042b7e58bbf5b8552eaa43f" dependencies: "@types/node" "*" @@ -96,29 +66,29 @@ acorn-globals@^3.1.0: acorn "^4.0.4" acorn@^4.0.4: - version "4.0.4" - resolved "https://registry.yarnpkg.com/acorn/-/acorn-4.0.4.tgz#17a8d6a7a6c4ef538b814ec9abac2779293bf30a" + version "4.0.13" + resolved "https://registry.yarnpkg.com/acorn/-/acorn-4.0.13.tgz#105495ae5361d697bd195c825192e1ad7f253787" agent-base@2: - version "2.0.1" - resolved "https://registry.yarnpkg.com/agent-base/-/agent-base-2.0.1.tgz#bd8f9e86a8eb221fffa07bd14befd55df142815e" + version "2.1.1" + resolved "https://registry.yarnpkg.com/agent-base/-/agent-base-2.1.1.tgz#d6de10d5af6132d5bd692427d46fc538539094c7" dependencies: extend "~3.0.0" semver "~5.0.1" -ajv@^4.9.0, ajv@^4.9.1: - version "4.11.5" - resolved "https://registry.yarnpkg.com/ajv/-/ajv-4.11.5.tgz#b6ee74657b993a01dce44b7944d56f485828d5bd" +ajv@^4.9.1: + version "4.11.8" + resolved "https://registry.yarnpkg.com/ajv/-/ajv-4.11.8.tgz#82ffb02b29e662ae53bdc20af15947706739c536" dependencies: co "^4.6.0" json-stable-stringify "^1.0.1" ajv@^5.0.1: - version "5.2.0" - resolved "https://registry.yarnpkg.com/ajv/-/ajv-5.2.0.tgz#c1735024c5da2ef75cc190713073d44f098bf486" + version "5.2.2" + resolved "https://registry.yarnpkg.com/ajv/-/ajv-5.2.2.tgz#47c68d69e86f5d953103b0074a9430dc63da5e39" dependencies: co "^4.6.0" - fast-deep-equal "^0.1.0" + fast-deep-equal "^1.0.0" json-schema-traverse "^0.3.0" json-stable-stringify "^1.0.1" @@ -151,26 +121,27 @@ ansi-styles@^2.2.1: resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-2.2.1.tgz#b432dd3358b634cf75e1e4664368240533c1ddbe" ansi-styles@^3.0.0, ansi-styles@^3.1.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-3.1.0.tgz#09c202d5c917ec23188caa5c9cb9179cd9547750" + version "3.2.0" + resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-3.2.0.tgz#c159b8d5be0f9e5a6f346dab94f16ce022161b88" dependencies: - color-convert "^1.0.0" + color-convert "^1.9.0" ansi@^0.3.0, ansi@~0.3.1: version "0.3.1" resolved "https://registry.yarnpkg.com/ansi/-/ansi-0.3.1.tgz#0c42d4fb17160d5a9af1e484bace1c66922c1b21" anymatch@^1.3.0: - version "1.3.0" - resolved "https://registry.yarnpkg.com/anymatch/-/anymatch-1.3.0.tgz#a3e52fa39168c825ff57b0248126ce5a8ff95507" + version "1.3.2" + resolved "https://registry.yarnpkg.com/anymatch/-/anymatch-1.3.2.tgz#553dcb8f91e3c889845dfdba34c77721b90b9d7a" dependencies: - arrify "^1.0.0" micromatch "^2.1.5" + normalize-path "^2.0.0" apollo-client@^1.4.2: - version "1.7.0" - resolved "https://registry.yarnpkg.com/apollo-client/-/apollo-client-1.7.0.tgz#3d6fdf6ead0a07d3e02d32d9191f26cbcfb6e4f6" + version "1.9.1" + resolved "https://registry.yarnpkg.com/apollo-client/-/apollo-client-1.9.1.tgz#9e6a383605572c755038cf5d7fdac9382bcdc040" dependencies: + apollo-link-core "^0.5.0" graphql "^0.10.0" graphql-anywhere "^3.0.1" graphql-tag "^2.0.0" @@ -178,9 +149,15 @@ apollo-client@^1.4.2: symbol-observable "^1.0.2" whatwg-fetch "^2.0.0" optionalDependencies: - "@types/async" "^2.0.31" - "@types/graphql" "^0.9.0" - "@types/isomorphic-fetch" "0.0.34" + "@types/graphql" "0.10.2" + +apollo-link-core@^0.5.0: + version "0.5.0" + resolved "https://registry.yarnpkg.com/apollo-link-core/-/apollo-link-core-0.5.0.tgz#dc87da1aaa63b029321ae70938dc26257f5ab8c6" + dependencies: + graphql "^0.10.3" + graphql-tag "^2.4.2" + zen-observable-ts "^0.4.0" append-transform@^0.4.0: version "0.4.0" @@ -233,8 +210,8 @@ arr-diff@^2.0.0: arr-flatten "^1.0.1" arr-flatten@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/arr-flatten/-/arr-flatten-1.0.1.tgz#e5ffe54d45e19f32f216e91eb99c8ce892bb604b" + version "1.1.0" + resolved "https://registry.yarnpkg.com/arr-flatten/-/arr-flatten-1.1.0.tgz#36048bbff4e7b47e136644316c99669ea5ae91f1" array-equal@^1.0.0: version "1.0.0" @@ -275,8 +252,8 @@ async@^1.4.0, async@^1.5.2: resolved "https://registry.yarnpkg.com/async/-/async-1.5.2.tgz#ec6a61ae56480c0c3cb241c95618e20892f9672a" async@^2.0.0, async@^2.1.4: - version "2.2.0" - resolved "https://registry.yarnpkg.com/async/-/async-2.2.0.tgz#c324eba010a237e4fbd55a12dee86367d5c0ef32" + version "2.5.0" + resolved "https://registry.yarnpkg.com/async/-/async-2.5.0.tgz#843190fd6b7357a0b9e1c956edddd5ec8462b54d" dependencies: lodash "^4.14.0" @@ -285,18 +262,19 @@ asynckit@^0.4.0: resolved "https://registry.yarnpkg.com/asynckit/-/asynckit-0.4.0.tgz#c79ed97f7f34cb8f2ba1bc9790bcc366474b4b79" aws-sdk@^2.7.13: - version "2.33.0" - resolved "https://registry.yarnpkg.com/aws-sdk/-/aws-sdk-2.33.0.tgz#67c101bbaad177af3e978f775800de135244814e" + version "2.104.0" + resolved "https://registry.yarnpkg.com/aws-sdk/-/aws-sdk-2.104.0.tgz#335e0553380c0ae8dd43d11b76d73dfb926f6333" dependencies: buffer "4.9.1" crypto-browserify "1.0.9" + events "^1.1.1" jmespath "0.15.0" querystring "0.2.0" - sax "1.1.5" + sax "1.2.1" url "0.10.3" - uuid "3.0.0" - xml2js "0.4.15" - xmlbuilder "2.6.2" + uuid "3.0.1" + xml2js "0.4.17" + xmlbuilder "4.2.1" aws-sign2@~0.6.0: version "0.6.0" @@ -306,49 +284,49 @@ aws4@^1.2.1: version "1.6.0" resolved "https://registry.yarnpkg.com/aws4/-/aws4-1.6.0.tgz#83ef5ca860b2b32e4a0deedee8c771b9db57471e" -babel-code-frame@^6.22.0: - version "6.22.0" - resolved "https://registry.yarnpkg.com/babel-code-frame/-/babel-code-frame-6.22.0.tgz#027620bee567a88c32561574e7fd0801d33118e4" +babel-code-frame@^6.22.0, babel-code-frame@^6.26.0: + version "6.26.0" + resolved "https://registry.yarnpkg.com/babel-code-frame/-/babel-code-frame-6.26.0.tgz#63fd43f7dc1e3bb7ce35947db8fe369a3f58c74b" dependencies: - chalk "^1.1.0" + chalk "^1.1.3" esutils "^2.0.2" - js-tokens "^3.0.0" + js-tokens "^3.0.2" -babel-core@^6.0.0, babel-core@^6.24.1: - version "6.25.0" - resolved "https://registry.yarnpkg.com/babel-core/-/babel-core-6.25.0.tgz#7dd42b0463c742e9d5296deb3ec67a9322dad729" +babel-core@^6.0.0, babel-core@^6.24.1, babel-core@^6.26.0: + version "6.26.0" + resolved "https://registry.yarnpkg.com/babel-core/-/babel-core-6.26.0.tgz#af32f78b31a6fcef119c87b0fd8d9753f03a0bb8" dependencies: - babel-code-frame "^6.22.0" - babel-generator "^6.25.0" + babel-code-frame "^6.26.0" + babel-generator "^6.26.0" babel-helpers "^6.24.1" babel-messages "^6.23.0" - babel-register "^6.24.1" - babel-runtime "^6.22.0" - babel-template "^6.25.0" - babel-traverse "^6.25.0" - babel-types "^6.25.0" - babylon "^6.17.2" - convert-source-map "^1.1.0" - debug "^2.1.1" - json5 "^0.5.0" - lodash "^4.2.0" - minimatch "^3.0.2" - path-is-absolute "^1.0.0" - private "^0.1.6" + babel-register "^6.26.0" + babel-runtime "^6.26.0" + babel-template "^6.26.0" + babel-traverse "^6.26.0" + babel-types "^6.26.0" + babylon "^6.18.0" + convert-source-map "^1.5.0" + debug "^2.6.8" + json5 "^0.5.1" + lodash "^4.17.4" + minimatch "^3.0.4" + path-is-absolute "^1.0.1" + private "^0.1.7" slash "^1.0.0" - source-map "^0.5.0" + source-map "^0.5.6" -babel-generator@^6.18.0, babel-generator@^6.25.0: - version "6.25.0" - resolved "https://registry.yarnpkg.com/babel-generator/-/babel-generator-6.25.0.tgz#33a1af70d5f2890aeb465a4a7793c1df6a9ea9fc" +babel-generator@^6.18.0, babel-generator@^6.26.0: + version "6.26.0" + resolved "https://registry.yarnpkg.com/babel-generator/-/babel-generator-6.26.0.tgz#ac1ae20070b79f6e3ca1d3269613053774f20dc5" dependencies: babel-messages "^6.23.0" - babel-runtime "^6.22.0" - babel-types "^6.25.0" + babel-runtime "^6.26.0" + babel-types "^6.26.0" detect-indent "^4.0.0" jsesc "^1.3.0" - lodash "^4.2.0" - source-map "^0.5.0" + lodash "^4.17.4" + source-map "^0.5.6" trim-right "^1.0.1" babel-helpers@^6.24.1: @@ -385,13 +363,13 @@ babel-plugin-jest-hoist@^20.0.3: resolved "https://registry.yarnpkg.com/babel-plugin-jest-hoist/-/babel-plugin-jest-hoist-20.0.3.tgz#afedc853bd3f8dc3548ea671fbe69d03cc2c1767" babel-plugin-transform-es2015-modules-commonjs@^6.24.1: - version "6.24.1" - resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-modules-commonjs/-/babel-plugin-transform-es2015-modules-commonjs-6.24.1.tgz#d3e310b40ef664a36622200097c6d440298f2bfe" + version "6.26.0" + resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-modules-commonjs/-/babel-plugin-transform-es2015-modules-commonjs-6.26.0.tgz#0d8394029b7dc6abe1a97ef181e00758dd2e5d8a" dependencies: babel-plugin-transform-strict-mode "^6.24.1" - babel-runtime "^6.22.0" - babel-template "^6.24.1" - babel-types "^6.24.1" + babel-runtime "^6.26.0" + babel-template "^6.26.0" + babel-types "^6.26.0" babel-plugin-transform-strict-mode@^6.24.1: version "6.24.1" @@ -406,61 +384,61 @@ babel-preset-jest@^20.0.3: dependencies: babel-plugin-jest-hoist "^20.0.3" -babel-register@^6.24.1: - version "6.24.1" - resolved "https://registry.yarnpkg.com/babel-register/-/babel-register-6.24.1.tgz#7e10e13a2f71065bdfad5a1787ba45bca6ded75f" +babel-register@^6.26.0: + version "6.26.0" + resolved "https://registry.yarnpkg.com/babel-register/-/babel-register-6.26.0.tgz#6ed021173e2fcb486d7acb45c6009a856f647071" dependencies: - babel-core "^6.24.1" - babel-runtime "^6.22.0" - core-js "^2.4.0" + babel-core "^6.26.0" + babel-runtime "^6.26.0" + core-js "^2.5.0" home-or-tmp "^2.0.0" - lodash "^4.2.0" + lodash "^4.17.4" mkdirp "^0.5.1" - source-map-support "^0.4.2" + source-map-support "^0.4.15" -babel-runtime@^6.22.0: - version "6.23.0" - resolved "https://registry.yarnpkg.com/babel-runtime/-/babel-runtime-6.23.0.tgz#0a9489f144de70efb3ce4300accdb329e2fc543b" +babel-runtime@^6.22.0, babel-runtime@^6.26.0: + version "6.26.0" + resolved "https://registry.yarnpkg.com/babel-runtime/-/babel-runtime-6.26.0.tgz#965c7058668e82b55d7bfe04ff2337bc8b5647fe" dependencies: core-js "^2.4.0" - regenerator-runtime "^0.10.0" + regenerator-runtime "^0.11.0" -babel-template@^6.16.0, babel-template@^6.24.1, babel-template@^6.25.0: - version "6.25.0" - resolved "https://registry.yarnpkg.com/babel-template/-/babel-template-6.25.0.tgz#665241166b7c2aa4c619d71e192969552b10c071" +babel-template@^6.16.0, babel-template@^6.24.1, babel-template@^6.26.0: + version "6.26.0" + resolved "https://registry.yarnpkg.com/babel-template/-/babel-template-6.26.0.tgz#de03e2d16396b069f46dd9fff8521fb1a0e35e02" dependencies: - babel-runtime "^6.22.0" - babel-traverse "^6.25.0" - babel-types "^6.25.0" - babylon "^6.17.2" - lodash "^4.2.0" + babel-runtime "^6.26.0" + babel-traverse "^6.26.0" + babel-types "^6.26.0" + babylon "^6.18.0" + lodash "^4.17.4" -babel-traverse@^6.18.0, babel-traverse@^6.25.0: - version "6.25.0" - resolved "https://registry.yarnpkg.com/babel-traverse/-/babel-traverse-6.25.0.tgz#2257497e2fcd19b89edc13c4c91381f9512496f1" +babel-traverse@^6.18.0, babel-traverse@^6.26.0: + version "6.26.0" + resolved "https://registry.yarnpkg.com/babel-traverse/-/babel-traverse-6.26.0.tgz#46a9cbd7edcc62c8e5c064e2d2d8d0f4035766ee" dependencies: - babel-code-frame "^6.22.0" + babel-code-frame "^6.26.0" babel-messages "^6.23.0" - babel-runtime "^6.22.0" - babel-types "^6.25.0" - babylon "^6.17.2" - debug "^2.2.0" - globals "^9.0.0" - invariant "^2.2.0" - lodash "^4.2.0" - -babel-types@^6.18.0, babel-types@^6.24.1, babel-types@^6.25.0: - version "6.25.0" - resolved "https://registry.yarnpkg.com/babel-types/-/babel-types-6.25.0.tgz#70afb248d5660e5d18f811d91c8303b54134a18e" - dependencies: - babel-runtime "^6.22.0" + babel-runtime "^6.26.0" + babel-types "^6.26.0" + babylon "^6.18.0" + debug "^2.6.8" + globals "^9.18.0" + invariant "^2.2.2" + lodash "^4.17.4" + +babel-types@^6.18.0, babel-types@^6.24.1, babel-types@^6.26.0: + version "6.26.0" + resolved "https://registry.yarnpkg.com/babel-types/-/babel-types-6.26.0.tgz#a3b073f94ab49eb6fa55cd65227a334380632497" + dependencies: + babel-runtime "^6.26.0" esutils "^2.0.2" - lodash "^4.2.0" - to-fast-properties "^1.0.1" + lodash "^4.17.4" + to-fast-properties "^1.0.3" -babylon@^6.13.0, babylon@^6.17.2, babylon@^6.17.4: - version "6.17.4" - resolved "https://registry.yarnpkg.com/babylon/-/babylon-6.17.4.tgz#3e8b7402b88d22c3423e137a1577883b15ff869a" +babylon@^6.17.4, babylon@^6.18.0: + version "6.18.0" + resolved "https://registry.yarnpkg.com/babylon/-/babylon-6.18.0.tgz#af2f3b88fa6f5c1e4c634d1a0f8eac4f55b395e3" balanced-match@^1.0.0: version "1.0.0" @@ -471,8 +449,8 @@ base64-js@0.0.8: resolved "https://registry.yarnpkg.com/base64-js/-/base64-js-0.0.8.tgz#1101e9544f4a76b1bc3b26d452ca96d7a35e7978" base64-js@^1.0.2: - version "1.2.0" - resolved "https://registry.yarnpkg.com/base64-js/-/base64-js-1.2.0.tgz#a39992d723584811982be5e290bb6a53d86700f1" + version "1.2.1" + resolved "https://registry.yarnpkg.com/base64-js/-/base64-js-1.2.1.tgz#a91947da1f4a516ea38e5b4ec0ec3773675e0886" bcrypt-pbkdf@^1.0.0: version "1.0.1" @@ -481,8 +459,8 @@ bcrypt-pbkdf@^1.0.0: tweetnacl "^0.14.3" bl@^1.0.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/bl/-/bl-1.2.0.tgz#1397e7ec42c5f5dc387470c500e34a9f6be9ea98" + version "1.2.1" + resolved "https://registry.yarnpkg.com/bl/-/bl-1.2.1.tgz#cac328f7bee45730d404b692203fcb590e172d5e" dependencies: readable-stream "^2.0.5" @@ -533,10 +511,6 @@ buffer-crc32@^0.2.1, buffer-crc32@~0.2.3: version "0.2.13" resolved "https://registry.yarnpkg.com/buffer-crc32/-/buffer-crc32-0.2.13.tgz#0d333e3f00eac50aa1454abd30ef8c2a5d9a7242" -buffer-shims@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/buffer-shims/-/buffer-shims-1.0.0.tgz#9978ce317388c649ad8793028c3477ef044a8b51" - buffer@4.9.1: version "4.9.1" resolved "https://registry.yarnpkg.com/buffer/-/buffer-4.9.1.tgz#6d1bb601b07a4efced97094132093027c95bc298" @@ -586,11 +560,13 @@ caseless@~0.12.0: resolved "https://registry.yarnpkg.com/caseless/-/caseless-0.12.0.tgz#1b681c21ff84033c826543090689420d187151dc" caw@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/caw/-/caw-2.0.0.tgz#11f8bddc2f801469952d5e3225ba98495a2fa0ff" + version "2.0.1" + resolved "https://registry.yarnpkg.com/caw/-/caw-2.0.1.tgz#6c3ca071fc194720883c2dc5da9b074bfc7e9e95" dependencies: - get-proxy "^1.0.1" - tunnel-agent "^0.4.0" + get-proxy "^2.0.0" + isurl "^1.0.0-alpha5" + tunnel-agent "^0.6.0" + url-to-options "^1.0.1" center-align@^0.1.1: version "0.1.3" @@ -599,7 +575,7 @@ center-align@^0.1.1: align-text "^0.1.3" lazy-cache "^1.0.3" -chalk@^1.0.0, chalk@^1.1.0, chalk@^1.1.1, chalk@^1.1.3: +chalk@^1.0.0, chalk@^1.1.3: version "1.1.3" resolved "https://registry.yarnpkg.com/chalk/-/chalk-1.1.3.tgz#a8115c55e4a702fe4d150abd3872822a7e09fc98" dependencies: @@ -609,9 +585,9 @@ chalk@^1.0.0, chalk@^1.1.0, chalk@^1.1.1, chalk@^1.1.3: strip-ansi "^3.0.0" supports-color "^2.0.0" -chalk@^2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/chalk/-/chalk-2.0.1.tgz#dbec49436d2ae15f536114e76d14656cdbc0f44d" +chalk@^2.0.0, chalk@^2.0.1: + version "2.1.0" + resolved "https://registry.yarnpkg.com/chalk/-/chalk-2.1.0.tgz#ac5becf14fa21b99c6c92ca7a7d7cfd5b17e743e" dependencies: ansi-styles "^3.1.0" escape-string-regexp "^1.0.5" @@ -628,8 +604,8 @@ cli-cursor@^1.0.1: restore-cursor "^1.0.1" cli-width@^2.0.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/cli-width/-/cli-width-2.1.0.tgz#b234ca209b29ef66fc518d9b98d5847b00edf00a" + version "2.2.0" + resolved "https://registry.yarnpkg.com/cli-width/-/cli-width-2.2.0.tgz#ff19ede8a9a5e579324147b0c11f0fbcbabed639" cliui@^2.1.0: version "2.1.0" @@ -647,10 +623,6 @@ cliui@^3.2.0: strip-ansi "^3.0.1" wrap-ansi "^2.0.0" -clone@^2.1.0: - version "2.1.1" - resolved "https://registry.yarnpkg.com/clone/-/clone-2.1.1.tgz#d217d1e961118e3ac9a4b8bba3285553bf647cdb" - co@^4.6.0: version "4.6.0" resolved "https://registry.yarnpkg.com/co/-/co-4.6.0.tgz#6ea6bdf3d853ae54ccb8e47bfa0bf3f9031fb184" @@ -659,15 +631,15 @@ code-point-at@^1.0.0: version "1.1.0" resolved "https://registry.yarnpkg.com/code-point-at/-/code-point-at-1.1.0.tgz#0d070b4d043a5bea33a2f1a40e2edb3d9a4ccf77" -color-convert@^1.0.0: +color-convert@^1.9.0: version "1.9.0" resolved "https://registry.yarnpkg.com/color-convert/-/color-convert-1.9.0.tgz#1accf97dd739b983bf994d56fec8f95853641b7a" dependencies: color-name "^1.1.1" color-name@^1.1.1: - version "1.1.2" - resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.2.tgz#5c8ab72b64bd2215d617ae9559ebb148475cf98d" + version "1.1.3" + resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.3.tgz#a7d0558bd89c42f795dd42328f740831ca53bc25" colors@^1.1.2: version "1.1.2" @@ -680,10 +652,8 @@ combined-stream@^1.0.5, combined-stream@~1.0.5: delayed-stream "~1.0.0" commander@^2.9.0: - version "2.9.0" - resolved "https://registry.yarnpkg.com/commander/-/commander-2.9.0.tgz#9c99094176e12240cb22d6c5146098400fe0f7d4" - dependencies: - graceful-readlink ">= 1.0.0" + version "2.11.0" + resolved "https://registry.yarnpkg.com/commander/-/commander-2.11.0.tgz#157152fd1e7a6c8d98a5b715cf376df928004563" commander@~2.8.1: version "2.8.1" @@ -691,11 +661,11 @@ commander@~2.8.1: dependencies: graceful-readlink ">= 1.0.0" -component-emitter@~1.2.0: +component-emitter@^1.2.0: version "1.2.1" resolved "https://registry.yarnpkg.com/component-emitter/-/component-emitter-1.2.1.tgz#137918d6d78283f7df7a6b7c5a63e140e69425e6" -compress-commons@^1.1.0: +compress-commons@^1.2.0: version "1.2.0" resolved "https://registry.yarnpkg.com/compress-commons/-/compress-commons-1.2.0.tgz#58587092ef20d37cb58baf000112c9278ff73b9f" dependencies: @@ -716,27 +686,34 @@ concat-stream@^1.4.7: readable-stream "^2.2.2" typedarray "^0.0.6" +config-chain@^1.1.11: + version "1.1.11" + resolved "https://registry.yarnpkg.com/config-chain/-/config-chain-1.1.11.tgz#aba09747dfbe4c3e70e766a6e41586e1859fc6f2" + dependencies: + ini "^1.3.4" + proto-list "~1.2.1" + content-type-parser@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/content-type-parser/-/content-type-parser-1.0.1.tgz#c3e56988c53c65127fb46d4032a3a900246fdc94" -convert-source-map@^1.1.0, convert-source-map@^1.4.0: - version "1.4.0" - resolved "https://registry.yarnpkg.com/convert-source-map/-/convert-source-map-1.4.0.tgz#e3dad195bf61bfe13a7a3c73e9876ec14a0268f3" +convert-source-map@^1.4.0, convert-source-map@^1.5.0: + version "1.5.0" + resolved "https://registry.yarnpkg.com/convert-source-map/-/convert-source-map-1.5.0.tgz#9acd70851c6d5dfdd93d9282e5edf94a03ff46b5" cookie@0.3.1: version "0.3.1" resolved "https://registry.yarnpkg.com/cookie/-/cookie-0.3.1.tgz#e7e0a1f9ef43b4c8ba925c5c5a96e806d16873bb" -cookiejar@2.0.6: - version "2.0.6" - resolved "https://registry.yarnpkg.com/cookiejar/-/cookiejar-2.0.6.tgz#0abf356ad00d1c5a219d88d44518046dd026acfe" +cookiejar@^2.1.0: + version "2.1.1" + resolved "https://registry.yarnpkg.com/cookiejar/-/cookiejar-2.1.1.tgz#41ad57b1b555951ec171412a81942b1e8200d34a" -core-js@^2.4.0: - version "2.4.1" - resolved "https://registry.yarnpkg.com/core-js/-/core-js-2.4.1.tgz#4de911e667b0eae9124e34254b53aea6fc618d3e" +core-js@^2.4.0, core-js@^2.5.0: + version "2.5.0" + resolved "https://registry.yarnpkg.com/core-js/-/core-js-2.5.0.tgz#569c050918be6486b3837552028ae0466b717086" -core-util-is@~1.0.0: +core-util-is@1.0.2, core-util-is@~1.0.0: version "1.0.2" resolved "https://registry.yarnpkg.com/core-util-is/-/core-util-is-1.0.2.tgz#b5fd54220aa2bc5ab57aab7140c940754503c1a7" @@ -757,11 +734,12 @@ create-error-class@^3.0.0: dependencies: capture-stack-trace "^1.0.0" -cross-spawn@^4.0.0: - version "4.0.2" - resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-4.0.2.tgz#7b9247621c23adfdd3856004a823cbe397424d41" +cross-spawn@^5.0.1: + version "5.1.0" + resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-5.1.0.tgz#e8bd0efee58fcff6f8f94510a0a554bbfa235449" dependencies: lru-cache "^4.0.1" + shebang-command "^1.2.0" which "^1.2.9" cryptiles@2.x.x: @@ -790,42 +768,41 @@ dashdash@^1.12.0: dependencies: assert-plus "^1.0.0" -debug@2, debug@^2.1.1, debug@^2.2.0, debug@^2.6.3: - version "2.6.3" - resolved "https://registry.yarnpkg.com/debug/-/debug-2.6.3.tgz#0f7eb8c30965ec08c72accfa0130c8b79984141d" +debug@2, debug@^2.2.0, debug@^2.6.0, debug@^2.6.3, debug@^2.6.8: + version "2.6.8" + resolved "https://registry.yarnpkg.com/debug/-/debug-2.6.8.tgz#e731531ca2ede27d188222427da17821d68ff4fc" dependencies: - ms "0.7.2" + ms "2.0.0" decamelize@^1.0.0, decamelize@^1.1.1: version "1.2.0" resolved "https://registry.yarnpkg.com/decamelize/-/decamelize-1.2.0.tgz#f6534d15148269b20352e7bee26f501f9a191290" -decompress-tar@^4.0.0, decompress-tar@^4.1.0: - version "4.1.0" - resolved "https://registry.yarnpkg.com/decompress-tar/-/decompress-tar-4.1.0.tgz#1f092ab698440558c72fc78e77d246d3ecb453b0" +decompress-tar@^4.0.0, decompress-tar@^4.1.0, decompress-tar@^4.1.1: + version "4.1.1" + resolved "https://registry.yarnpkg.com/decompress-tar/-/decompress-tar-4.1.1.tgz#718cbd3fcb16209716e70a26b84e7ba4592e5af1" dependencies: - file-type "^3.8.0" + file-type "^5.2.0" is-stream "^1.1.0" tar-stream "^1.5.2" decompress-tarbz2@^4.0.0: - version "4.1.0" - resolved "https://registry.yarnpkg.com/decompress-tarbz2/-/decompress-tarbz2-4.1.0.tgz#fbab58d5de73f3fd213cac3af1c18334f51cb891" + version "4.1.1" + resolved "https://registry.yarnpkg.com/decompress-tarbz2/-/decompress-tarbz2-4.1.1.tgz#3082a5b880ea4043816349f378b56c516be1a39b" dependencies: decompress-tar "^4.1.0" - file-type "^3.8.0" + file-type "^6.1.0" is-stream "^1.1.0" - pify "^2.3.0" seek-bzip "^1.0.5" unbzip2-stream "^1.0.9" decompress-targz@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/decompress-targz/-/decompress-targz-4.0.0.tgz#a21206fb1267c5ece65501ec03a39da5bc7662cc" + version "4.1.1" + resolved "https://registry.yarnpkg.com/decompress-targz/-/decompress-targz-4.1.1.tgz#c09bc35c4d11f3de09f2d2da53e9de23e7ce1eee" dependencies: - decompress-tar "^4.0.0" - file-type "^3.8.0" - pify "^2.3.0" + decompress-tar "^4.1.1" + file-type "^5.2.0" + is-stream "^1.1.0" decompress-unzip@^4.0.1: version "4.0.1" @@ -837,20 +814,21 @@ decompress-unzip@^4.0.1: yauzl "^2.4.2" decompress@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/decompress/-/decompress-4.0.0.tgz#fa23aa579a2629f7a4d3cd377f7b197aa0c5cf20" + version "4.2.0" + resolved "https://registry.yarnpkg.com/decompress/-/decompress-4.2.0.tgz#7aedd85427e5a92dacfe55674a7c505e96d01f9d" dependencies: decompress-tar "^4.0.0" decompress-tarbz2 "^4.0.0" decompress-targz "^4.0.0" decompress-unzip "^4.0.1" - mkdirp "^0.5.1" + graceful-fs "^4.1.10" + make-dir "^1.0.0" pify "^2.3.0" - strip-dirs "^1.1.1" + strip-dirs "^2.0.0" deep-extend@~0.4.0: - version "0.4.1" - resolved "https://registry.yarnpkg.com/deep-extend/-/deep-extend-0.4.1.tgz#efe4113d08085f4e6f9687759810f807469e2253" + version "0.4.2" + resolved "https://registry.yarnpkg.com/deep-extend/-/deep-extend-0.4.2.tgz#48b699c27e334bf89f10892be432f6e4c7d34a7f" deep-is@~0.1.3: version "0.1.3" @@ -877,8 +855,8 @@ detect-indent@^4.0.0: repeating "^2.0.0" diff@^3.1.0, diff@^3.2.0: - version "3.2.0" - resolved "https://registry.yarnpkg.com/diff/-/diff-3.2.0.tgz#c9ce393a4b7cbd0b058a725c93df299027868ff9" + version "3.3.0" + resolved "https://registry.yarnpkg.com/diff/-/diff-3.3.0.tgz#056695150d7aa93237ca7e378ac3b1682b7963b9" doctrine@^0.7.2: version "0.7.2" @@ -921,7 +899,7 @@ end-of-stream@^1.0.0: dependencies: once "^1.4.0" -"errno@>=0.1.1 <0.2.0-0": +errno@^0.1.4: version "0.1.4" resolved "https://registry.yarnpkg.com/errno/-/errno-0.1.4.tgz#b896e23a9e5e8ba33871fc996abd3635fc9a1c7d" dependencies: @@ -956,9 +934,9 @@ esprima@^2.7.1: version "2.7.3" resolved "https://registry.yarnpkg.com/esprima/-/esprima-2.7.3.tgz#96e3b70d5779f6ad49cd032673d1c312767ba581" -esprima@^3.1.1: - version "3.1.3" - resolved "https://registry.yarnpkg.com/esprima/-/esprima-3.1.3.tgz#fdca51cee6133895e3c88d535ce49dbff62a4633" +esprima@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/esprima/-/esprima-4.0.0.tgz#4499eddcd1110e0b218bacf2fa7f7f59f55ca804" estraverse@^1.9.1: version "1.9.3" @@ -972,18 +950,22 @@ esutils@^2.0.2: version "2.0.2" resolved "https://registry.yarnpkg.com/esutils/-/esutils-2.0.2.tgz#0abf4f1caa5bcb1f7a9d8acc6dea4faaa04bac9b" +events@^1.1.1: + version "1.1.1" + resolved "https://registry.yarnpkg.com/events/-/events-1.1.1.tgz#9ebdb7635ad099c70dcc4c2a1f5004288e8bd924" + exec-sh@^0.2.0: version "0.2.0" resolved "https://registry.yarnpkg.com/exec-sh/-/exec-sh-0.2.0.tgz#14f75de3f20d286ef933099b2ce50a90359cef10" dependencies: merge "^1.1.3" -execa@^0.5.0: - version "0.5.1" - resolved "https://registry.yarnpkg.com/execa/-/execa-0.5.1.tgz#de3fb85cb8d6e91c85bcbceb164581785cb57b36" +execa@^0.7.0: + version "0.7.0" + resolved "https://registry.yarnpkg.com/execa/-/execa-0.7.0.tgz#944becd34cc41ee32a63a9faf27ad5a65fc59777" dependencies: - cross-spawn "^4.0.0" - get-stream "^2.2.0" + cross-spawn "^5.0.1" + get-stream "^3.0.0" is-stream "^1.1.0" npm-run-path "^2.0.0" p-finally "^1.0.0" @@ -1006,9 +988,9 @@ expand-range@^1.8.1: dependencies: fill-range "^2.1.0" -extend@3, extend@3.0.0, extend@^3.0.0, extend@~3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/extend/-/extend-3.0.0.tgz#5a474353b9f3353ddd8176dfd37b91c83a46f1d4" +extend@3, extend@^3.0.0, extend@~3.0.0: + version "3.0.1" + resolved "https://registry.yarnpkg.com/extend/-/extend-3.0.1.tgz#a755ea7bc1adfcc5a31ce7e762dbaadc5e636444" external-editor@^1.1.0: version "1.1.1" @@ -1024,13 +1006,13 @@ extglob@^0.3.1: dependencies: is-extglob "^1.0.0" -extsprintf@1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/extsprintf/-/extsprintf-1.0.2.tgz#e1080e0658e300b06294990cc70e1502235fd550" +extsprintf@1.3.0, extsprintf@^1.2.0: + version "1.3.0" + resolved "https://registry.yarnpkg.com/extsprintf/-/extsprintf-1.3.0.tgz#96918440e3041a7a414f8c52e3c574eb3c3e1e05" -fast-deep-equal@^0.1.0: - version "0.1.0" - resolved "https://registry.yarnpkg.com/fast-deep-equal/-/fast-deep-equal-0.1.0.tgz#5c6f4599aba6b333ee3342e2ed978672f1001f8d" +fast-deep-equal@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/fast-deep-equal/-/fast-deep-equal-1.0.0.tgz#96256a3bc975595eb36d82e9929d060d893439ff" fast-levenshtein@~2.0.4: version "2.0.6" @@ -1065,9 +1047,17 @@ file-type@^3.8.0: version "3.9.0" resolved "https://registry.yarnpkg.com/file-type/-/file-type-3.9.0.tgz#257a078384d1db8087bc449d107d52a52672b9e9" +file-type@^5.2.0: + version "5.2.0" + resolved "https://registry.yarnpkg.com/file-type/-/file-type-5.2.0.tgz#2ddbea7c73ffe36368dfae49dc338c058c2b8ad6" + +file-type@^6.1.0: + version "6.1.0" + resolved "https://registry.yarnpkg.com/file-type/-/file-type-6.1.0.tgz#5a7dba98138fa0abec7afc43e5a9a0b2aac729f1" + filename-regex@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/filename-regex/-/filename-regex-2.0.0.tgz#996e3e80479b98b9897f15a8a58b3d084e926775" + version "2.0.1" + resolved "https://registry.yarnpkg.com/filename-regex/-/filename-regex-2.0.1.tgz#c1c4b9bee3e09725ddb106b75c1e301fe2f18b26" filename-reserved-regex@^2.0.0: version "2.0.0" @@ -1089,8 +1079,8 @@ fileset@^2.0.2: minimatch "^3.0.3" filesize@^3.3.0: - version "3.5.6" - resolved "https://registry.yarnpkg.com/filesize/-/filesize-3.5.6.tgz#5fd98f3eac94ec9516ef8ed5782fad84a01a0a1a" + version "3.5.10" + resolved "https://registry.yarnpkg.com/filesize/-/filesize-3.5.10.tgz#fc8fa23ddb4ef9e5e0ab6e1e64f679a24a56761f" fill-range@^2.1.0: version "2.2.3" @@ -1129,25 +1119,25 @@ forever-agent@~0.6.1: version "0.6.1" resolved "https://registry.yarnpkg.com/forever-agent/-/forever-agent-0.6.1.tgz#fbc71f0c41adeb37f96c577ad1ed42d8fdacca91" -form-data@1.0.0-rc3: - version "1.0.0-rc3" - resolved "https://registry.yarnpkg.com/form-data/-/form-data-1.0.0-rc3.tgz#d35bc62e7fbc2937ae78f948aaa0d38d90607577" +form-data@^2.1.1: + version "2.3.1" + resolved "https://registry.yarnpkg.com/form-data/-/form-data-2.3.1.tgz#6fb94fbd71885306d73d15cc497fe4cc4ecd44bf" dependencies: - async "^1.4.0" + asynckit "^0.4.0" combined-stream "^1.0.5" - mime-types "^2.1.3" + mime-types "^2.1.12" form-data@~2.1.1: - version "2.1.2" - resolved "https://registry.yarnpkg.com/form-data/-/form-data-2.1.2.tgz#89c3534008b97eada4cbb157d58f6f5df025eae4" + version "2.1.4" + resolved "https://registry.yarnpkg.com/form-data/-/form-data-2.1.4.tgz#33c183acf193276ecaa98143a69e94bfee1750d1" dependencies: asynckit "^0.4.0" combined-stream "^1.0.5" mime-types "^2.1.12" -formidable@~1.0.14: - version "1.0.17" - resolved "https://registry.yarnpkg.com/formidable/-/formidable-1.0.17.tgz#ef5491490f9433b705faa77249c99029ae348559" +formidable@^1.1.1: + version "1.1.1" + resolved "https://registry.yarnpkg.com/formidable/-/formidable-1.1.1.tgz#96b8886f7c3c3508b932d6bd70c4d3a88f35f1a9" fs-extra@^0.26.7: version "0.26.7" @@ -1159,9 +1149,9 @@ fs-extra@^0.26.7: path-is-absolute "^1.0.0" rimraf "^2.2.8" -fs-extra@^3.0.0, fs-extra@^3.0.1: - version "3.0.1" - resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-3.0.1.tgz#3794f378c58b342ea7dbbb23095109c4b3b62291" +fs-extra@^4.0.0, fs-extra@^4.0.1: + version "4.0.1" + resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-4.0.1.tgz#7fc0c6c8957f983f57f306a24e5b9ddd8d0dd880" dependencies: graceful-fs "^4.1.2" jsonfile "^3.0.0" @@ -1185,15 +1175,11 @@ get-caller-file@^1.0.1: version "1.0.2" resolved "https://registry.yarnpkg.com/get-caller-file/-/get-caller-file-1.0.2.tgz#f702e63127e7e231c160a80c1554acb70d5047e5" -get-proxy@^1.0.1: - version "1.1.0" - resolved "https://registry.yarnpkg.com/get-proxy/-/get-proxy-1.1.0.tgz#894854491bc591b0f147d7ae570f5c678b7256eb" +get-proxy@^2.0.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/get-proxy/-/get-proxy-2.1.0.tgz#349f2b4d91d44c4d4d4e9cba2ad90143fac5ef93" dependencies: - rc "^1.1.2" - -get-stdin@^4.0.1: - version "4.0.1" - resolved "https://registry.yarnpkg.com/get-stdin/-/get-stdin-4.0.1.tgz#b968c6b0a04384324902e8bf1a5df32579a450fe" + npm-conf "^1.1.0" get-stdin@^5.0.1: version "5.0.1" @@ -1211,8 +1197,8 @@ get-stream@^3.0.0: resolved "https://registry.yarnpkg.com/get-stream/-/get-stream-3.0.0.tgz#8e943d1358dc37555054ecbe2edb05aa174ede14" getpass@^0.1.1: - version "0.1.6" - resolved "https://registry.yarnpkg.com/getpass/-/getpass-0.1.6.tgz#283ffd9fc1256840875311c1b60e8c40187110e6" + version "0.1.7" + resolved "https://registry.yarnpkg.com/getpass/-/getpass-0.1.7.tgz#5eff8e3e684d569ae4cb2b1282604e8ba62149fa" dependencies: assert-plus "^1.0.0" @@ -1230,19 +1216,19 @@ glob-parent@^2.0.0: is-glob "^2.0.0" glob@^7.0.0, glob@^7.0.3, glob@^7.0.5, glob@^7.1.1: - version "7.1.1" - resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.1.tgz#805211df04faaf1c63a3600306cdf5ade50b2ec8" + version "7.1.2" + resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.2.tgz#c19c9df9a028702d678612384a6552404c636d15" dependencies: fs.realpath "^1.0.0" inflight "^1.0.4" inherits "2" - minimatch "^3.0.2" + minimatch "^3.0.4" once "^1.3.0" path-is-absolute "^1.0.0" -globals@^9.0.0: - version "9.17.0" - resolved "https://registry.yarnpkg.com/globals/-/globals-9.17.0.tgz#0c0ca696d9b9bb694d2e5470bd37777caad50286" +globals@^9.18.0: + version "9.18.0" + resolved "https://registry.yarnpkg.com/globals/-/globals-9.18.0.tgz#aa3896b3e69b487f17e31ed2143d69a8e30c2d8a" globby@^6.1.0: version "6.1.0" @@ -1270,7 +1256,7 @@ got@^6.3.0: unzip-response "^2.0.1" url-parse-lax "^1.0.0" -graceful-fs@^4.1.0, graceful-fs@^4.1.11, graceful-fs@^4.1.2, graceful-fs@^4.1.6, graceful-fs@^4.1.9: +graceful-fs@^4.1.0, graceful-fs@^4.1.10, graceful-fs@^4.1.11, graceful-fs@^4.1.2, graceful-fs@^4.1.6, graceful-fs@^4.1.9: version "4.1.11" resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.1.11.tgz#0e8bdfe4d1ddb8854d64e04ea7c00e2a026e5658" @@ -1278,17 +1264,23 @@ graceful-fs@^4.1.0, graceful-fs@^4.1.11, graceful-fs@^4.1.2, graceful-fs@^4.1.6, version "1.0.1" resolved "https://registry.yarnpkg.com/graceful-readlink/-/graceful-readlink-1.0.1.tgz#4cafad76bc62f02fa039b2f94e9a3dd3a391a725" +graphlib@^2.1.1: + version "2.1.1" + resolved "https://registry.yarnpkg.com/graphlib/-/graphlib-2.1.1.tgz#42352c52ba2f4d035cb566eb91f7395f76ebc951" + dependencies: + lodash "^4.11.1" + graphql-anywhere@^3.0.1: version "3.1.0" resolved "https://registry.yarnpkg.com/graphql-anywhere/-/graphql-anywhere-3.1.0.tgz#3ea0d8e8646b5cee68035016a9a7557c15c21e96" -graphql-tag@^2.0.0, graphql-tag@^2.4.0: +graphql-tag@^2.0.0, graphql-tag@^2.4.0, graphql-tag@^2.4.2: version "2.4.2" resolved "https://registry.yarnpkg.com/graphql-tag/-/graphql-tag-2.4.2.tgz#6a63297d8522d03a2b72d26f1b239aab343840cd" -graphql@^0.10.0, graphql@^0.10.1: - version "0.10.3" - resolved "https://registry.yarnpkg.com/graphql/-/graphql-0.10.3.tgz#c313afd5518e673351bee18fb63e2a0e487407ab" +graphql@^0.10.0, graphql@^0.10.1, graphql@^0.10.3: + version "0.10.5" + resolved "https://registry.yarnpkg.com/graphql/-/graphql-0.10.5.tgz#c9be17ca2bdfdbd134077ffd9bbaa48b8becd298" dependencies: iterall "^1.1.0" @@ -1331,6 +1323,16 @@ has-flag@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-2.0.0.tgz#e8207af1cc7b30d446cc70b734b5e8be18f88d51" +has-symbol-support-x@^1.4.0: + version "1.4.0" + resolved "https://registry.yarnpkg.com/has-symbol-support-x/-/has-symbol-support-x-1.4.0.tgz#442d89b1d0ac6cf5ff2f7b916ee539869b93a256" + +has-to-string-tag-x@^1.2.0: + version "1.4.0" + resolved "https://registry.yarnpkg.com/has-to-string-tag-x/-/has-to-string-tag-x-1.4.0.tgz#49d7bcde85c2409be38ac327e3e119a451657c7b" + dependencies: + has-symbol-support-x "^1.4.0" + has-unicode@^2.0.0: version "2.0.1" resolved "https://registry.yarnpkg.com/has-unicode/-/has-unicode-2.0.1.tgz#e0e6fe6a28cf51138855e086d1691e771de2a8b9" @@ -1356,8 +1358,8 @@ home-or-tmp@^2.0.0: os-tmpdir "^1.0.1" hosted-git-info@^2.1.4: - version "2.4.1" - resolved "https://registry.yarnpkg.com/hosted-git-info/-/hosted-git-info-2.4.1.tgz#4b0445e41c004a8bd1337773a4ff790ca40318c8" + version "2.5.0" + resolved "https://registry.yarnpkg.com/hosted-git-info/-/hosted-git-info-2.5.0.tgz#6d60e34b3abbc8313062c3b798ef8d901a07af3c" html-encoding-sniffer@^1.0.1: version "1.0.1" @@ -1381,10 +1383,14 @@ https-proxy-agent@^1.0.0: debug "2" extend "3" -iconv-lite@0.4.13, iconv-lite@~0.4.13: +iconv-lite@0.4.13: version "0.4.13" resolved "https://registry.yarnpkg.com/iconv-lite/-/iconv-lite-0.4.13.tgz#1f88aba4ab0b1508e8312acc39345f36e992e2f2" +iconv-lite@~0.4.13: + version "0.4.18" + resolved "https://registry.yarnpkg.com/iconv-lite/-/iconv-lite-0.4.18.tgz#23d8656b16aae6742ac29732ea8f0336a4789cf2" + ieee754@^1.1.4: version "1.1.8" resolved "https://registry.yarnpkg.com/ieee754/-/ieee754-1.1.8.tgz#be33d40ac10ef1926701f6f08a2d86fbfd1ad3e4" @@ -1400,11 +1406,11 @@ inflight@^1.0.4: once "^1.3.0" wrappy "1" -inherits@2, inherits@^2.0.3, inherits@~2.0.1: +inherits@2, inherits@^2.0.3, inherits@~2.0.3: version "2.0.3" resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.3.tgz#633c2c83e3da42a502f52466022480f4208261de" -ini@~1.3.0: +ini@^1.3.4, ini@~1.3.0: version "1.3.4" resolved "https://registry.yarnpkg.com/ini/-/ini-1.3.4.tgz#0537cb79daf59b59a1a517dff706c86ec039162e" @@ -1427,7 +1433,7 @@ inquirer@^1.0.2: strip-ansi "^3.0.0" through "^2.3.6" -invariant@^2.2.0: +invariant@^2.2.2: version "2.2.2" resolved "https://registry.yarnpkg.com/invariant/-/invariant-2.2.2.tgz#9e1f56ac0acdb6bf303306f338be3b204ae60360" dependencies: @@ -1437,17 +1443,11 @@ invert-kv@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/invert-kv/-/invert-kv-1.0.0.tgz#104a8e4aaca6d3d8cd157a8ef8bfab2d7a3ffdb6" -is-absolute@^0.1.5: - version "0.1.7" - resolved "https://registry.yarnpkg.com/is-absolute/-/is-absolute-0.1.7.tgz#847491119fccb5fb436217cc737f7faad50f603f" - dependencies: - is-relative "^0.1.0" - is-arrayish@^0.2.1: version "0.2.1" resolved "https://registry.yarnpkg.com/is-arrayish/-/is-arrayish-0.2.1.tgz#77c99840527aa8ecb1a8ba697b80645a7a926a9d" -is-buffer@^1.0.2: +is-buffer@^1.1.5: version "1.1.5" resolved "https://registry.yarnpkg.com/is-buffer/-/is-buffer-1.1.5.tgz#1f3b26ef613b214b88cbca23cc6c01d87961eecc" @@ -1463,9 +1463,13 @@ is-ci@^1.0.10: dependencies: ci-info "^1.0.0" +is-docker@^1.1.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/is-docker/-/is-docker-1.1.0.tgz#f04374d4eee5310e9a8e113bf1495411e46176a1" + is-dotfile@^1.0.0: - version "1.0.2" - resolved "https://registry.yarnpkg.com/is-dotfile/-/is-dotfile-1.0.2.tgz#2c132383f39199f8edc268ca01b9b007d205cc4d" + version "1.0.3" + resolved "https://registry.yarnpkg.com/is-dotfile/-/is-dotfile-1.0.3.tgz#a6a2f32ffd2dfb04f5ca25ecd0f6b83cf798a1e1" is-equal-shallow@^0.1.3: version "0.1.3" @@ -1503,16 +1507,26 @@ is-glob@^2.0.0, is-glob@^2.0.1: dependencies: is-extglob "^1.0.0" -is-natural-number@^2.0.0: - version "2.1.1" - resolved "https://registry.yarnpkg.com/is-natural-number/-/is-natural-number-2.1.1.tgz#7d4c5728377ef386c3e194a9911bf57c6dc335e7" +is-natural-number@^4.0.1: + version "4.0.1" + resolved "https://registry.yarnpkg.com/is-natural-number/-/is-natural-number-4.0.1.tgz#ab9d76e1db4ced51e35de0c72ebecf09f734cde8" -is-number@^2.0.2, is-number@^2.1.0: +is-number@^2.1.0: version "2.1.0" resolved "https://registry.yarnpkg.com/is-number/-/is-number-2.1.0.tgz#01fcbbb393463a548f2f466cce16dece49db908f" dependencies: kind-of "^3.0.2" +is-number@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/is-number/-/is-number-3.0.0.tgz#24fd6201a4782cf50561c810276afc7d12d71195" + dependencies: + kind-of "^3.0.2" + +is-object@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/is-object/-/is-object-1.0.1.tgz#8952688c5ec2ffd6b03ecc85e769e02903083470" + is-posix-bracket@^0.1.0: version "0.1.1" resolved "https://registry.yarnpkg.com/is-posix-bracket/-/is-posix-bracket-0.1.1.tgz#3334dc79774368e92f016e6fbc0a88f5cd6e6bc4" @@ -1529,10 +1543,6 @@ is-redirect@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/is-redirect/-/is-redirect-1.0.0.tgz#1d03dded53bd8db0f30c26e4f95d36fc7c87dc24" -is-relative@^0.1.0: - version "0.1.3" - resolved "https://registry.yarnpkg.com/is-relative/-/is-relative-0.1.3.tgz#905fee8ae86f45b3ec614bc3c15c869df0876e82" - is-retry-allowed@^1.0.0: version "1.1.0" resolved "https://registry.yarnpkg.com/is-retry-allowed/-/is-retry-allowed-1.1.0.tgz#11a060568b67339444033d0125a61a20d564fb34" @@ -1571,31 +1581,34 @@ isobject@^2.0.0: dependencies: isarray "1.0.0" +isomorphic-fetch@^2.2.1: + version "2.2.1" + resolved "https://registry.yarnpkg.com/isomorphic-fetch/-/isomorphic-fetch-2.2.1.tgz#611ae1acf14f5e81f729507472819fe9733558a9" + dependencies: + node-fetch "^1.0.1" + whatwg-fetch ">=0.10.0" + isstream@~0.1.2: version "0.1.2" resolved "https://registry.yarnpkg.com/isstream/-/isstream-0.1.2.tgz#47e63f7af55afa6f92e1500e690eb8b8529c099a" istanbul-api@^1.1.1: - version "1.1.10" - resolved "https://registry.yarnpkg.com/istanbul-api/-/istanbul-api-1.1.10.tgz#f27e5e7125c8de13f6a80661af78f512e5439b2b" + version "1.1.13" + resolved "https://registry.yarnpkg.com/istanbul-api/-/istanbul-api-1.1.13.tgz#7197f64413600ebdfec6347a2dc3d4e03f97ed5a" dependencies: async "^2.1.4" fileset "^2.0.2" istanbul-lib-coverage "^1.1.1" istanbul-lib-hook "^1.0.7" - istanbul-lib-instrument "^1.7.3" + istanbul-lib-instrument "^1.7.5" istanbul-lib-report "^1.1.1" istanbul-lib-source-maps "^1.2.1" - istanbul-reports "^1.1.1" + istanbul-reports "^1.1.2" js-yaml "^3.7.0" mkdirp "^0.5.1" once "^1.4.0" -istanbul-lib-coverage@^1.0.1: - version "1.0.2" - resolved "https://registry.yarnpkg.com/istanbul-lib-coverage/-/istanbul-lib-coverage-1.0.2.tgz#87a0c015b6910651cb3b184814dfb339337e25e1" - -istanbul-lib-coverage@^1.0.2, istanbul-lib-coverage@^1.1.1: +istanbul-lib-coverage@^1.0.1, istanbul-lib-coverage@^1.1.1: version "1.1.1" resolved "https://registry.yarnpkg.com/istanbul-lib-coverage/-/istanbul-lib-coverage-1.1.1.tgz#73bfb998885299415c93d38a3e9adf784a77a9da" @@ -1605,21 +1618,9 @@ istanbul-lib-hook@^1.0.7: dependencies: append-transform "^0.4.0" -istanbul-lib-instrument@^1.4.2: - version "1.7.0" - resolved "https://registry.yarnpkg.com/istanbul-lib-instrument/-/istanbul-lib-instrument-1.7.0.tgz#b8e0dc25709bb44e17336ab47b7bb5c97c23f659" - dependencies: - babel-generator "^6.18.0" - babel-template "^6.16.0" - babel-traverse "^6.18.0" - babel-types "^6.18.0" - babylon "^6.13.0" - istanbul-lib-coverage "^1.0.2" - semver "^5.3.0" - -istanbul-lib-instrument@^1.7.2, istanbul-lib-instrument@^1.7.3: - version "1.7.3" - resolved "https://registry.yarnpkg.com/istanbul-lib-instrument/-/istanbul-lib-instrument-1.7.3.tgz#925b239163eabdd68cc4048f52c2fa4f899ecfa7" +istanbul-lib-instrument@^1.4.2, istanbul-lib-instrument@^1.7.2, istanbul-lib-instrument@^1.7.5: + version "1.7.5" + resolved "https://registry.yarnpkg.com/istanbul-lib-instrument/-/istanbul-lib-instrument-1.7.5.tgz#adb596f8f0cb8b95e739206351a38a586af21b1e" dependencies: babel-generator "^6.18.0" babel-template "^6.16.0" @@ -1648,12 +1649,19 @@ istanbul-lib-source-maps@^1.1.0, istanbul-lib-source-maps@^1.2.1: rimraf "^2.6.1" source-map "^0.5.3" -istanbul-reports@^1.1.1: - version "1.1.1" - resolved "https://registry.yarnpkg.com/istanbul-reports/-/istanbul-reports-1.1.1.tgz#042be5c89e175bc3f86523caab29c014e77fee4e" +istanbul-reports@^1.1.2: + version "1.1.2" + resolved "https://registry.yarnpkg.com/istanbul-reports/-/istanbul-reports-1.1.2.tgz#0fb2e3f6aa9922bd3ce45d05d8ab4d5e8e07bd4f" dependencies: handlebars "^4.0.3" +isurl@^1.0.0-alpha5: + version "1.0.0" + resolved "https://registry.yarnpkg.com/isurl/-/isurl-1.0.0.tgz#b27f4f49f3cdaa3ea44a0a5b7f3462e6edc39d67" + dependencies: + has-to-string-tag-x "^1.2.0" + is-object "^1.0.1" + iterall@^1.1.0: version "1.1.1" resolved "https://registry.yarnpkg.com/iterall/-/iterall-1.1.1.tgz#f7f0af11e9a04ec6426260f5019d9fcca4d50214" @@ -1741,8 +1749,8 @@ jest-environment-node@^20.0.3: jest-util "^20.0.3" jest-haste-map@^20.0.4: - version "20.0.4" - resolved "https://registry.yarnpkg.com/jest-haste-map/-/jest-haste-map-20.0.4.tgz#653eb55c889ce3c021f7b94693f20a4159badf03" + version "20.0.5" + resolved "https://registry.yarnpkg.com/jest-haste-map/-/jest-haste-map-20.0.5.tgz#abad74efb1a005974a7b6517e11010709cab9112" dependencies: fb-watchman "^2.0.0" graceful-fs "^4.1.11" @@ -1870,29 +1878,23 @@ jest@^20.0.4: jest-cli "^20.0.4" jgexml@^0.3.6: - version "0.3.6" - resolved "https://registry.yarnpkg.com/jgexml/-/jgexml-0.3.6.tgz#d73318ed72f136d27cd6f65469b23a3cd9e89696" + version "0.3.7" + resolved "https://registry.yarnpkg.com/jgexml/-/jgexml-0.3.7.tgz#cf2b7e8fff147c5bf35525a422652c9622593bf5" jmespath@0.15.0: version "0.15.0" resolved "https://registry.yarnpkg.com/jmespath/-/jmespath-0.15.0.tgz#a3f222a9aae9f966f5d27c796510e28091764217" -jodid25519@^1.0.0: - version "1.0.2" - resolved "https://registry.yarnpkg.com/jodid25519/-/jodid25519-1.0.2.tgz#06d4912255093419477d425633606e0e90782967" - dependencies: - jsbn "~0.1.0" - -js-tokens@^3.0.0: - version "3.0.1" - resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-3.0.1.tgz#08e9f132484a2c45a30907e9dc4d5567b7f114d7" +js-tokens@^3.0.0, js-tokens@^3.0.2: + version "3.0.2" + resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-3.0.2.tgz#9866df395102130e38f7f996bceb65443209c25b" -js-yaml@^3.5.2, js-yaml@^3.6.1, js-yaml@^3.7.0, js-yaml@^3.8.4: - version "3.8.4" - resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-3.8.4.tgz#520b4564f86573ba96662af85a8cafa7b4b5a6f6" +js-yaml@^3.6.1, js-yaml@^3.7.0, js-yaml@^3.8.3, js-yaml@^3.8.4: + version "3.9.1" + resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-3.9.1.tgz#08775cebdfdd359209f0d2acd383c8f86a6904a0" dependencies: argparse "^1.0.7" - esprima "^3.1.1" + esprima "^4.0.0" jsbn@~0.1.0: version "0.1.1" @@ -1927,15 +1929,16 @@ jsesc@^1.3.0: resolved "https://registry.yarnpkg.com/jsesc/-/jsesc-1.3.0.tgz#46c3fec8c1892b12b0833db9bc7622176dbab34b" json-refs@^2.1.5: - version "2.1.6" - resolved "https://registry.yarnpkg.com/json-refs/-/json-refs-2.1.6.tgz#855666f220d654d3405b23c3bbe4c491060b494d" + version "2.1.7" + resolved "https://registry.yarnpkg.com/json-refs/-/json-refs-2.1.7.tgz#b9eb01fe29f5ea3e92878f15aea10ad38b5acf89" dependencies: commander "^2.9.0" - js-yaml "^3.5.2" + graphlib "^2.1.1" + js-yaml "^3.8.3" native-promise-only "^0.8.1" - path-loader "^1.0.1" + path-loader "^1.0.2" slash "^1.0.0" - uri-js "^2.1.1" + uri-js "^3.0.2" json-schema-traverse@^0.3.0: version "0.3.1" @@ -1955,7 +1958,7 @@ json-stringify-safe@5.0.1, json-stringify-safe@~5.0.1: version "5.0.1" resolved "https://registry.yarnpkg.com/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz#1296a2d58fd45f19a0f6ce01d65701e2c735b6eb" -json5@^0.5.0: +json5@^0.5.1: version "0.5.1" resolved "https://registry.yarnpkg.com/json5/-/json5-0.5.1.tgz#1eade7acc012034ad84e2396767ead9fa5495821" @@ -1966,8 +1969,8 @@ jsonfile@^2.1.0: graceful-fs "^4.1.6" jsonfile@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/jsonfile/-/jsonfile-3.0.0.tgz#92e7c7444e5ffd5fa32e6a9ae8b85034df8347d0" + version "3.0.1" + resolved "https://registry.yarnpkg.com/jsonfile/-/jsonfile-3.0.1.tgz#a5ecc6f65f53f662c4415c7675a0331d0992ec66" optionalDependencies: graceful-fs "^4.1.6" @@ -1976,23 +1979,29 @@ jsonify@~0.0.0: resolved "https://registry.yarnpkg.com/jsonify/-/jsonify-0.0.0.tgz#2c74b6ee41d93ca51b7b5aaee8f503631d252a73" jsprim@^1.2.2: - version "1.4.0" - resolved "https://registry.yarnpkg.com/jsprim/-/jsprim-1.4.0.tgz#a3b87e40298d8c380552d8cc7628a0bb95a22918" + version "1.4.1" + resolved "https://registry.yarnpkg.com/jsprim/-/jsprim-1.4.1.tgz#313e66bc1e5cc06e438bc1b7499c2e5c56acb6a2" dependencies: assert-plus "1.0.0" - extsprintf "1.0.2" + extsprintf "1.3.0" json-schema "0.2.3" - verror "1.3.6" + verror "1.10.0" jwt-decode@^2.2.0: version "2.2.0" resolved "https://registry.yarnpkg.com/jwt-decode/-/jwt-decode-2.2.0.tgz#7d86bd56679f58ce6a84704a657dd392bba81a79" kind-of@^3.0.2: - version "3.1.0" - resolved "https://registry.yarnpkg.com/kind-of/-/kind-of-3.1.0.tgz#475d698a5e49ff5e53d14e3e732429dc8bf4cf47" + version "3.2.2" + resolved "https://registry.yarnpkg.com/kind-of/-/kind-of-3.2.2.tgz#31ea21a734bab9bbb0f32466d893aea51e4a3c64" + dependencies: + is-buffer "^1.1.5" + +kind-of@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/kind-of/-/kind-of-4.0.0.tgz#20813df3d712928b207378691a45066fae72dd57" dependencies: - is-buffer "^1.0.2" + is-buffer "^1.1.5" klaw@^1.0.0: version "1.3.1" @@ -2061,6 +2070,22 @@ lodash.difference@^4.5.0: version "4.5.0" resolved "https://registry.yarnpkg.com/lodash.difference/-/lodash.difference-4.5.0.tgz#9ccb4e505d486b91651345772885a2df27fd017c" +lodash.forin@^4.4.0: + version "4.4.0" + resolved "https://registry.yarnpkg.com/lodash.forin/-/lodash.forin-4.4.0.tgz#5d3f20ae564011fbe88381f7d98949c9c9519731" + +lodash.has@^4.5.2: + version "4.5.2" + resolved "https://registry.yarnpkg.com/lodash.has/-/lodash.has-4.5.2.tgz#d19f4dc1095058cccbe2b0cdf4ee0fe4aa37c862" + +lodash.isobject@^3.0.2: + version "3.0.2" + resolved "https://registry.yarnpkg.com/lodash.isobject/-/lodash.isobject-3.0.2.tgz#3c8fb8d5b5bf4bf90ae06e14f2a530a4ed935e1d" + +lodash.merge@^4.6.0: + version "4.6.0" + resolved "https://registry.yarnpkg.com/lodash.merge/-/lodash.merge-4.6.0.tgz#69884ba144ac33fe699737a6086deffadd0f89c5" + lodash.pad@^4.1.0: version "4.5.1" resolved "https://registry.yarnpkg.com/lodash.pad/-/lodash.pad-4.5.1.tgz#4330949a833a7c8da22cc20f6a26c4d59debba70" @@ -2077,14 +2102,10 @@ lodash.uniq@^4.5.0: version "4.5.0" resolved "https://registry.yarnpkg.com/lodash.uniq/-/lodash.uniq-4.5.0.tgz#d0225373aeb652adc1bc82e4945339a842754773" -lodash@^4.13.1, lodash@^4.14.0, lodash@^4.2.0, lodash@^4.2.1, lodash@^4.3.0, lodash@^4.8.0: +lodash@^4.0.0, lodash@^4.11.1, lodash@^4.13.1, lodash@^4.14.0, lodash@^4.17.4, lodash@^4.2.1, lodash@^4.3.0, lodash@^4.8.0: version "4.17.4" resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.4.tgz#78203a4d1c328ae1d86dca6460e369b57f4055ae" -lodash@~3.5.0: - version "3.5.0" - resolved "https://registry.yarnpkg.com/lodash/-/lodash-3.5.0.tgz#19bb3f4d51278f0b8c818ed145c74ecf9fe40e6d" - longest@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/longest/-/longest-1.0.1.tgz#30a0b2da38f73770e8294a0d22e6625ed77d0097" @@ -2114,9 +2135,15 @@ lutils@^2.4.0: version "2.4.0" resolved "https://registry.yarnpkg.com/lutils/-/lutils-2.4.0.tgz#74c904d0f8b952499aacca7d186b85b0f3bc4611" +make-dir@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/make-dir/-/make-dir-1.0.0.tgz#97a011751e91dd87cfadef58832ebb04936de978" + dependencies: + pify "^2.3.0" + make-error@^1.1.1: - version "1.2.3" - resolved "https://registry.yarnpkg.com/make-error/-/make-error-1.2.3.tgz#6c4402df732e0977ac6faf754a5074b3d2b1d19d" + version "1.3.0" + resolved "https://registry.yarnpkg.com/make-error/-/make-error-1.3.0.tgz#52ad3a339ccf10ce62b4040b708fe707244b8b96" makeerror@1.0.x: version "1.0.11" @@ -2134,7 +2161,7 @@ merge@^1.1.3: version "1.2.0" resolved "https://registry.yarnpkg.com/merge/-/merge-1.2.0.tgz#7531e39d4949c281a66b8c5a6e0265e8b05894da" -methods@~1.1.1: +methods@^1.1.1: version "1.1.2" resolved "https://registry.yarnpkg.com/methods/-/methods-1.1.2.tgz#5529a4d67654134edcc5266656835b0f851afcee" @@ -2156,19 +2183,19 @@ micromatch@^2.1.5, micromatch@^2.3.11: parse-glob "^3.0.4" regex-cache "^0.4.2" -mime-db@~1.27.0: - version "1.27.0" - resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.27.0.tgz#820f572296bbd20ec25ed55e5b5de869e5436eb1" +mime-db@~1.29.0: + version "1.29.0" + resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.29.0.tgz#48d26d235589651704ac5916ca06001914266878" -mime-types@^2.1.12, mime-types@^2.1.3, mime-types@~2.1.7: - version "2.1.15" - resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-2.1.15.tgz#a4ebf5064094569237b8cf70046776d09fc92aed" +mime-types@^2.1.12, mime-types@~2.1.7: + version "2.1.16" + resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-2.1.16.tgz#2b858a52e5ecd516db897ac2be87487830698e23" dependencies: - mime-db "~1.27.0" + mime-db "~1.29.0" -mime@1.3.4: - version "1.3.4" - resolved "https://registry.yarnpkg.com/mime/-/mime-1.3.4.tgz#115f9e3b6b3daf2959983cb38f149a2d40eb5d53" +mime@^1.3.6: + version "1.3.6" + resolved "https://registry.yarnpkg.com/mime/-/mime-1.3.6.tgz#591d84d3653a6b0b4a3b9df8de5aa8108e72e5e0" mimic-fn@^1.0.0: version "1.1.0" @@ -2180,14 +2207,18 @@ minimatch@^3.0.2, minimatch@^3.0.3, minimatch@^3.0.4: dependencies: brace-expansion "^1.1.7" -minimist@0.0.8, minimist@~0.0.1: +minimist@0.0.8: version "0.0.8" resolved "https://registry.yarnpkg.com/minimist/-/minimist-0.0.8.tgz#857fcabfc3397d2625b8228262e86aa7a011b05d" -minimist@^1.1.0, minimist@^1.1.1, minimist@^1.2.0: +minimist@^1.1.1, minimist@^1.2.0: version "1.2.0" resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.0.tgz#a35008b20f41383eec1fb914f4cd5df79a264284" +minimist@~0.0.1: + version "0.0.10" + resolved "https://registry.yarnpkg.com/minimist/-/minimist-0.0.10.tgz#de3f98543dbf96082be48ad1a0c7cda836301dcf" + mkdirp@^0.5.1: version "0.5.1" resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-0.5.1.tgz#30057438eac6cf7f8c4767f38648d6697d75c903" @@ -2198,9 +2229,9 @@ moment@^2.13.0: version "2.18.1" resolved "https://registry.yarnpkg.com/moment/-/moment-2.18.1.tgz#c36193dd3ce1c2eed2adb7c802dbbc77a81b1c0f" -ms@0.7.2: - version "0.7.2" - resolved "https://registry.yarnpkg.com/ms/-/ms-0.7.2.tgz#ae25cf2512b3885a1d95d7f037868d8431124765" +ms@2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/ms/-/ms-2.0.0.tgz#5608aeadfc00be6c2901df5f9861788de0d597c8" mute-stream@0.0.6: version "0.0.6" @@ -2214,9 +2245,9 @@ natural-compare@^1.4.0: version "1.4.0" resolved "https://registry.yarnpkg.com/natural-compare/-/natural-compare-1.4.0.tgz#4abebfeed7541f2c27acfb29bdbbd15c8d5ba4f7" -node-fetch@^1.6.0, node-fetch@^1.6.3: - version "1.6.3" - resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-1.6.3.tgz#dc234edd6489982d58e8f0db4f695029abcd8c04" +node-fetch@^1.0.1, node-fetch@^1.6.0, node-fetch@^1.6.3: + version "1.7.2" + resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-1.7.2.tgz#c54e9aac57e432875233525f3c891c4159ffefd7" dependencies: encoding "^0.1.11" is-stream "^1.0.1" @@ -2241,8 +2272,8 @@ node-readfiles@^0.2.0: es6-promise "^3.2.1" normalize-package-data@^2.3.2: - version "2.3.6" - resolved "https://registry.yarnpkg.com/normalize-package-data/-/normalize-package-data-2.3.6.tgz#498fa420c96401f787402ba21e600def9f981fff" + version "2.4.0" + resolved "https://registry.yarnpkg.com/normalize-package-data/-/normalize-package-data-2.4.0.tgz#12f95a307d58352075a04907b84ac8be98ac012f" dependencies: hosted-git-info "^2.1.4" is-builtin-module "^1.0.0" @@ -2250,8 +2281,17 @@ normalize-package-data@^2.3.2: validate-npm-package-license "^3.0.1" normalize-path@^2.0.0, normalize-path@^2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/normalize-path/-/normalize-path-2.0.1.tgz#47886ac1662760d4261b7d979d241709d3ce3f7a" + version "2.1.1" + resolved "https://registry.yarnpkg.com/normalize-path/-/normalize-path-2.1.1.tgz#1ab28b556e198363a8c1a6f7e6fa20137fe6aed9" + dependencies: + remove-trailing-separator "^1.0.1" + +npm-conf@^1.1.0: + version "1.1.2" + resolved "https://registry.yarnpkg.com/npm-conf/-/npm-conf-1.1.2.tgz#170a2c48a0c6ad0495f03f87aec2da11ef47a525" + dependencies: + config-chain "^1.1.11" + pify "^3.0.0" npm-run-path@^2.0.0: version "2.0.2" @@ -2272,8 +2312,8 @@ number-is-nan@^1.0.0: resolved "https://registry.yarnpkg.com/number-is-nan/-/number-is-nan-1.0.1.tgz#097b602b53422a522c1afb8790318336941a011d" "nwmatcher@>= 1.3.9 < 2.0.0": - version "1.3.9" - resolved "https://registry.yarnpkg.com/nwmatcher/-/nwmatcher-1.3.9.tgz#8bab486ff7fa3dfd086656bbe8b17116d3692d2a" + version "1.4.1" + resolved "https://registry.yarnpkg.com/nwmatcher/-/nwmatcher-1.4.1.tgz#7ae9b07b0ea804db7e25f05cb5fe4097d4e4949f" oauth-sign@~0.8.1: version "0.8.2" @@ -2335,10 +2375,10 @@ os-locale@^1.4.0: lcid "^1.0.0" os-locale@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/os-locale/-/os-locale-2.0.0.tgz#15918ded510522b81ee7ae5a309d54f639fc39a4" + version "2.1.0" + resolved "https://registry.yarnpkg.com/os-locale/-/os-locale-2.1.0.tgz#42bc2900a6b5b8bd17376c8e882b65afccf24bf2" dependencies: - execa "^0.5.0" + execa "^0.7.0" lcid "^1.0.0" mem "^1.1.0" @@ -2397,7 +2437,7 @@ path-exists@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/path-exists/-/path-exists-3.0.0.tgz#ce0ebeaa5f78cb18925ea7d810d7b59b010fd515" -path-is-absolute@^1.0.0: +path-is-absolute@^1.0.0, path-is-absolute@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/path-is-absolute/-/path-is-absolute-1.0.1.tgz#174b9268735534ffbc7ace6bf53a5a9e1b5c5f5f" @@ -2405,12 +2445,12 @@ path-key@^2.0.0: version "2.0.1" resolved "https://registry.yarnpkg.com/path-key/-/path-key-2.0.1.tgz#411cadb574c5a140d3a4b1910d40d80cc9f40b40" -path-loader@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/path-loader/-/path-loader-1.0.1.tgz#88c9ece46f1f98b3ab40d0655f458be446556650" +path-loader@^1.0.2: + version "1.0.2" + resolved "https://registry.yarnpkg.com/path-loader/-/path-loader-1.0.2.tgz#cd5c73e7e39a91011be148d6bfdd8a85bb931ef9" dependencies: native-promise-only "^0.8.1" - superagent "^1.6.1" + superagent "^3.5.2" path-parse@^1.0.5: version "1.0.5" @@ -2442,6 +2482,10 @@ pify@^2.0.0, pify@^2.3.0: version "2.3.0" resolved "https://registry.yarnpkg.com/pify/-/pify-2.3.0.tgz#ed141a6ac043a849ea588498e7dca8b15330e90c" +pify@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/pify/-/pify-3.0.0.tgz#e5a4acd2c101fdf3d9a4d07f0dbc4db49dd28176" + pinkie-promise@^2.0.0: version "2.0.1" resolved "https://registry.yarnpkg.com/pinkie-promise/-/pinkie-promise-2.0.1.tgz#2135d6dfa7a358c069ac9b178776288228450ffa" @@ -2477,7 +2521,7 @@ pretty-format@^20.0.3: ansi-regex "^2.1.1" ansi-styles "^3.0.0" -private@^0.1.6: +private@^0.1.7: version "0.1.7" resolved "https://registry.yarnpkg.com/private/-/private-0.1.7.tgz#68ce5e8a1ef0a23bb570cc28537b5332aba63ef1" @@ -2485,6 +2529,10 @@ process-nextick-args@~1.0.6: version "1.0.7" resolved "https://registry.yarnpkg.com/process-nextick-args/-/process-nextick-args-1.0.7.tgz#150e20b756590ad3f91093f25a4f2ad8bff30ba3" +proto-list@~1.2.1: + version "1.2.4" + resolved "https://registry.yarnpkg.com/proto-list/-/proto-list-1.2.4.tgz#212d5bfe1318306a420f6402b8e26ff39647a849" + prr@~0.0.0: version "0.0.0" resolved "https://registry.yarnpkg.com/prr/-/prr-0.0.0.tgz#1a84b85908325501411853d0081ee3fa86e2926a" @@ -2501,9 +2549,13 @@ punycode@^1.4.1: version "1.4.1" resolved "https://registry.yarnpkg.com/punycode/-/punycode-1.4.1.tgz#c0d5a63b2718800ad8e1eb0fa5269c84dd41845e" -qs@2.3.3: - version "2.3.3" - resolved "https://registry.yarnpkg.com/qs/-/qs-2.3.3.tgz#e9e85adbe75da0bbe4c8e0476a086290f863b404" +punycode@^2.1.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/punycode/-/punycode-2.1.0.tgz#5f863edc89b96db09074bad7947bf09056ca4e7d" + +qs@^6.4.0: + version "6.5.0" + resolved "https://registry.yarnpkg.com/qs/-/qs-6.5.0.tgz#8d04954d364def3efc55b5a0793e1e2c8b1e6e49" qs@~6.4.0: version "6.4.0" @@ -2513,12 +2565,16 @@ querystring@0.2.0: version "0.2.0" resolved "https://registry.yarnpkg.com/querystring/-/querystring-0.2.0.tgz#b209849203bb25df820da756e747005878521620" +ramda@^0.24.1: + version "0.24.1" + resolved "https://registry.yarnpkg.com/ramda/-/ramda-0.24.1.tgz#c3b7755197f35b8dc3502228262c4c91ddb6b857" + randomatic@^1.1.3: - version "1.1.6" - resolved "https://registry.yarnpkg.com/randomatic/-/randomatic-1.1.6.tgz#110dcabff397e9dcff7c0789ccc0a49adf1ec5bb" + version "1.1.7" + resolved "https://registry.yarnpkg.com/randomatic/-/randomatic-1.1.7.tgz#c7abe9cc8b87c0baa876b19fde83fd464797e38c" dependencies: - is-number "^2.0.2" - kind-of "^3.0.2" + is-number "^3.0.0" + kind-of "^4.0.0" raven@^1.2.1: version "1.2.1" @@ -2530,9 +2586,9 @@ raven@^1.2.1: stack-trace "0.0.9" uuid "3.0.0" -rc@^1.1.2, rc@^1.1.6: - version "1.1.7" - resolved "https://registry.yarnpkg.com/rc/-/rc-1.1.7.tgz#c5ea564bb07aff9fd3a5b32e906c1d3a65940fea" +rc@^1.1.6: + version "1.2.1" + resolved "https://registry.yarnpkg.com/rc/-/rc-1.2.1.tgz#2e03e8e42ee450b8cb3dce65be1bf8974e1dfd95" dependencies: deep-extend "~0.4.0" ini "~1.3.0" @@ -2569,43 +2625,30 @@ read-pkg@^2.0.0: normalize-package-data "^2.3.2" path-type "^2.0.0" -readable-stream@1.0.27-1: - version "1.0.27-1" - resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-1.0.27-1.tgz#6b67983c20357cefd07f0165001a16d710d91078" - dependencies: - core-util-is "~1.0.0" - inherits "~2.0.1" - isarray "0.0.1" - string_decoder "~0.10.x" - readable-stream@^2.0.0, readable-stream@^2.0.5, readable-stream@^2.0.6, readable-stream@^2.2.2: - version "2.2.6" - resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-2.2.6.tgz#8b43aed76e71483938d12a8d46c6cf1a00b1f816" + version "2.3.3" + resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-2.3.3.tgz#368f2512d79f9d46fdfc71349ae7878bbc1eb95c" dependencies: - buffer-shims "^1.0.0" core-util-is "~1.0.0" - inherits "~2.0.1" + inherits "~2.0.3" isarray "~1.0.0" process-nextick-args "~1.0.6" - string_decoder "~0.10.x" + safe-buffer "~5.1.1" + string_decoder "~1.0.3" util-deprecate "~1.0.1" -reduce-component@1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/reduce-component/-/reduce-component-1.0.1.tgz#e0c93542c574521bea13df0f9488ed82ab77c5da" - redux@^3.4.0: - version "3.7.1" - resolved "https://registry.yarnpkg.com/redux/-/redux-3.7.1.tgz#bfc535c757d3849562ead0af18ac52122cd7268e" + version "3.7.2" + resolved "https://registry.yarnpkg.com/redux/-/redux-3.7.2.tgz#06b73123215901d25d065be342eb026bc1c8537b" dependencies: lodash "^4.2.1" lodash-es "^4.2.1" loose-envify "^1.1.0" symbol-observable "^1.0.3" -regenerator-runtime@^0.10.0: - version "0.10.3" - resolved "https://registry.yarnpkg.com/regenerator-runtime/-/regenerator-runtime-0.10.3.tgz#8c4367a904b51ea62a908ac310bf99ff90a82a3e" +regenerator-runtime@^0.11.0: + version "0.11.0" + resolved "https://registry.yarnpkg.com/regenerator-runtime/-/regenerator-runtime-0.11.0.tgz#7e54fe5b5ccd5d6624ea6255c3473be090b802e1" regex-cache@^0.4.2: version "0.4.3" @@ -2614,6 +2657,10 @@ regex-cache@^0.4.2: is-equal-shallow "^0.1.3" is-primitive "^2.0.0" +remove-trailing-separator@^1.0.1: + version "1.1.0" + resolved "https://registry.yarnpkg.com/remove-trailing-separator/-/remove-trailing-separator-1.1.0.tgz#c24bce2a283adad5bc3f58e0d48249b92379d8ef" + repeat-element@^1.1.2: version "1.1.2" resolved "https://registry.yarnpkg.com/repeat-element/-/repeat-element-1.1.2.tgz#ef089a178d1483baae4d93eb98b4f9e4e11d990a" @@ -2672,8 +2719,8 @@ resolve@1.1.7: resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.1.7.tgz#203114d82ad2c5ed9e8e0411b3932875e889e97b" resolve@^1.3.2: - version "1.3.2" - resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.3.2.tgz#1f0442c9e0cbb8136e87b9305f932f46c7f28235" + version "1.4.0" + resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.4.0.tgz#a75be01c53da25d934a98ebd0e4c4a7312f92a86" dependencies: path-parse "^1.0.5" @@ -2706,9 +2753,9 @@ rx@^4.1.0: version "4.1.0" resolved "https://registry.yarnpkg.com/rx/-/rx-4.1.0.tgz#a5f13ff79ef3b740fe30aa803fb09f98805d4782" -safe-buffer@^5.0.1: - version "5.0.1" - resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.0.1.tgz#d263ca54696cd8a306b5ca6551e92de57918fbe7" +safe-buffer@^5.0.1, safe-buffer@~5.1.0, safe-buffer@~5.1.1: + version "5.1.1" + resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.1.1.tgz#893312af69b2123def71f57889001671eeb2c853" sane@~1.6.0: version "1.6.0" @@ -2722,13 +2769,13 @@ sane@~1.6.0: walker "~1.0.5" watch "~0.10.0" -sax@1.1.5, sax@>=0.6.0: - version "1.1.5" - resolved "https://registry.yarnpkg.com/sax/-/sax-1.1.5.tgz#1da50a8d00cdecd59405659f5ff85349fe773743" +sax@1.2.1: + version "1.2.1" + resolved "https://registry.yarnpkg.com/sax/-/sax-1.2.1.tgz#7b8e656190b228e81a66aea748480d828cd2d37a" -sax@^1.2.1: - version "1.2.2" - resolved "https://registry.yarnpkg.com/sax/-/sax-1.2.2.tgz#fd8631a23bc7826bef5d871bdb87378c95647828" +sax@>=0.6.0, sax@^1.2.1: + version "1.2.4" + resolved "https://registry.yarnpkg.com/sax/-/sax-1.2.4.tgz#2816234e2378bddc4e5354fab5caa895df7100d9" seek-bzip@^1.0.5: version "1.0.5" @@ -2741,23 +2788,24 @@ semver-regex@^1.0.0: resolved "https://registry.yarnpkg.com/semver-regex/-/semver-regex-1.0.0.tgz#92a4969065f9c70c694753d55248fc68f8f652c9" "semver@2 || 3 || 4 || 5", semver@^5.0.3, semver@^5.3.0: - version "5.3.0" - resolved "https://registry.yarnpkg.com/semver/-/semver-5.3.0.tgz#9b2ce5d3de02d17c6012ad326aa6b4d0cf54f94f" + version "5.4.1" + resolved "https://registry.yarnpkg.com/semver/-/semver-5.4.1.tgz#e059c09d8571f0540823733433505d3a2f00b18e" semver@~5.0.1: version "5.0.3" resolved "https://registry.yarnpkg.com/semver/-/semver-5.0.3.tgz#77466de589cd5d3c95f138aa78bc569a3cb5d27a" serverless@^1.16.1: - version "1.16.1" - resolved "https://registry.yarnpkg.com/serverless/-/serverless-1.16.1.tgz#070d2638890c5418bea74ce6e9fcaa09ebe8dc38" + version "1.20.2" + resolved "https://registry.yarnpkg.com/serverless/-/serverless-1.20.2.tgz#1d2a1591b1c091be4704aa331d2cf6ed70552566" dependencies: + "@serverless/fdk" "^0.3.0" apollo-client "^1.4.2" archiver "^1.1.0" async "^1.5.2" aws-sdk "^2.7.13" bluebird "^3.4.0" - chalk "^1.1.1" + chalk "^2.0.0" ci-info "^1.0.0" download "^5.0.2" filesize "^3.3.0" @@ -2767,6 +2815,7 @@ serverless@^1.16.1: graphql "^0.10.1" graphql-tag "^2.4.0" https-proxy-agent "^1.0.0" + is-docker "^1.1.0" js-yaml "^3.6.1" json-refs "^2.1.5" jwt-decode "^2.2.0" @@ -2789,13 +2838,23 @@ set-blocking@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/set-blocking/-/set-blocking-2.0.0.tgz#045f9782d011ae9a6803ddd382b24392b3d890f7" +shebang-command@^1.2.0: + version "1.2.0" + resolved "https://registry.yarnpkg.com/shebang-command/-/shebang-command-1.2.0.tgz#44aac65b695b03398968c39f363fee5deafdf1ea" + dependencies: + shebang-regex "^1.0.0" + +shebang-regex@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/shebang-regex/-/shebang-regex-1.0.0.tgz#da42f49740c0b42db2ca9728571cb190c98efea3" + shelljs@^0.6.0: version "0.6.1" resolved "https://registry.yarnpkg.com/shelljs/-/shelljs-0.6.1.tgz#ec6211bed1920442088fe0f70b2837232ed2c8a8" shellwords@^0.1.0: - version "0.1.0" - resolved "https://registry.yarnpkg.com/shellwords/-/shellwords-0.1.0.tgz#66afd47b6a12932d9071cbfd98a52e785cd0ba14" + version "0.1.1" + resolved "https://registry.yarnpkg.com/shellwords/-/shellwords-0.1.1.tgz#d6b9181c1a48d397324c84871efbcfc73fc0654b" should-equal@^1.0.0: version "1.0.1" @@ -2835,7 +2894,7 @@ should@^11.2.0: should-type-adaptors "^1.0.1" should-util "^1.0.0" -signal-exit@^3.0.0: +signal-exit@^3.0.0, signal-exit@^3.0.2: version "3.0.2" resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-3.0.2.tgz#b5fdc08f1287ea1178628e415e25132b73646c6d" @@ -2843,19 +2902,15 @@ slash@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/slash/-/slash-1.0.0.tgz#c41f2f6c39fc16d1cd17ad4b5d896114ae470d55" -slide@^1.1.5: - version "1.1.6" - resolved "https://registry.yarnpkg.com/slide/-/slide-1.1.6.tgz#56eb027d65b4d2dce6cb2e2d32c4d4afc9e1d707" - sntp@1.x.x: version "1.0.9" resolved "https://registry.yarnpkg.com/sntp/-/sntp-1.0.9.tgz#6541184cc90aeea6c6e7b35e2659082443c66198" dependencies: hoek "2.x.x" -source-map-support@^0.4.0, source-map-support@^0.4.2, source-map-support@^0.4.4: - version "0.4.14" - resolved "https://registry.yarnpkg.com/source-map-support/-/source-map-support-0.4.14.tgz#9d4463772598b86271b4f523f6c1f4e02a7d6aef" +source-map-support@^0.4.0, source-map-support@^0.4.15, source-map-support@^0.4.4: + version "0.4.16" + resolved "https://registry.yarnpkg.com/source-map-support/-/source-map-support-0.4.16.tgz#16fecf98212467d017d586a2af68d628b9421cd8" dependencies: source-map "^0.5.6" @@ -2865,9 +2920,9 @@ source-map@^0.4.4: dependencies: amdefine ">=0.0.4" -source-map@^0.5.0, source-map@^0.5.3, source-map@^0.5.6, source-map@~0.5.1: - version "0.5.6" - resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.5.6.tgz#75ce38f52bf0733c5a7f0c118d81334a2bb5f412" +source-map@^0.5.3, source-map@^0.5.6, source-map@~0.5.1: + version "0.5.7" + resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.5.7.tgz#8a039d2d1021d22d1ea14c80d8ea468ba2ef3fcc" source-map@~0.2.0: version "0.2.0" @@ -2901,8 +2956,8 @@ sprintf-js@~1.0.2: resolved "https://registry.yarnpkg.com/sprintf-js/-/sprintf-js-1.0.3.tgz#04e6926f662895354f3dd015203633b857297e2c" sshpk@^1.7.0: - version "1.11.0" - resolved "https://registry.yarnpkg.com/sshpk/-/sshpk-1.11.0.tgz#2d8d5ebb4a6fab28ffba37fa62a90f4a3ea59d77" + version "1.13.1" + resolved "https://registry.yarnpkg.com/sshpk/-/sshpk-1.13.1.tgz#512df6da6287144316dc4c18fe1cf1d940739be3" dependencies: asn1 "~0.2.3" assert-plus "^1.0.0" @@ -2911,7 +2966,6 @@ sshpk@^1.7.0: optionalDependencies: bcrypt-pbkdf "^1.0.0" ecc-jsbn "~0.1.1" - jodid25519 "^1.0.0" jsbn "~0.1.0" tweetnacl "~0.14.0" @@ -2934,15 +2988,17 @@ string-width@^1.0.1, string-width@^1.0.2: strip-ansi "^3.0.0" string-width@^2.0.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/string-width/-/string-width-2.1.0.tgz#030664561fc146c9423ec7d978fe2457437fe6d0" + version "2.1.1" + resolved "https://registry.yarnpkg.com/string-width/-/string-width-2.1.1.tgz#ab93f27a8dc13d28cac815c462143a6d9012ae9e" dependencies: is-fullwidth-code-point "^2.0.0" strip-ansi "^4.0.0" -string_decoder@~0.10.x: - version "0.10.31" - resolved "https://registry.yarnpkg.com/string_decoder/-/string_decoder-0.10.31.tgz#62e203bc41766c6c28c9fc84301dab1c5310fa94" +string_decoder@~1.0.3: + version "1.0.3" + resolved "https://registry.yarnpkg.com/string_decoder/-/string_decoder-1.0.3.tgz#0fc67d7c141825de94282dd536bec6b9bce860ab" + dependencies: + safe-buffer "~5.1.0" stringstream@~0.0.4: version "0.0.5" @@ -2970,16 +3026,11 @@ strip-bom@^2.0.0: dependencies: is-utf8 "^0.2.0" -strip-dirs@^1.1.1: - version "1.1.1" - resolved "https://registry.yarnpkg.com/strip-dirs/-/strip-dirs-1.1.1.tgz#960bbd1287844f3975a4558aa103a8255e2456a0" +strip-dirs@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/strip-dirs/-/strip-dirs-2.0.0.tgz#610cdb2928200da0004f41dcb90fc95cd919a0b6" dependencies: - chalk "^1.0.0" - get-stdin "^4.0.1" - is-absolute "^0.1.5" - is-natural-number "^2.0.0" - minimist "^1.1.0" - sum-up "^1.0.1" + is-natural-number "^4.0.1" strip-eof@^1.0.0: version "1.0.0" @@ -2995,27 +3046,20 @@ strip-outer@^1.0.0: dependencies: escape-string-regexp "^1.0.2" -sum-up@^1.0.1: - version "1.0.3" - resolved "https://registry.yarnpkg.com/sum-up/-/sum-up-1.0.3.tgz#1c661f667057f63bcb7875aa1438bc162525156e" - dependencies: - chalk "^1.0.0" - -superagent@^1.6.1: - version "1.8.5" - resolved "https://registry.yarnpkg.com/superagent/-/superagent-1.8.5.tgz#1c0ddc3af30e80eb84ebc05cb2122da8fe940b55" +superagent@^3.5.2: + version "3.6.0" + resolved "https://registry.yarnpkg.com/superagent/-/superagent-3.6.0.tgz#eb679651057c3462199c7b902b696c25350e1b87" dependencies: - component-emitter "~1.2.0" - cookiejar "2.0.6" - debug "2" - extend "3.0.0" - form-data "1.0.0-rc3" - formidable "~1.0.14" - methods "~1.1.1" - mime "1.3.4" - qs "2.3.3" - readable-stream "1.0.27-1" - reduce-component "1.0.1" + component-emitter "^1.2.0" + cookiejar "^2.1.0" + debug "^2.6.0" + extend "^3.0.0" + form-data "^2.1.1" + formidable "^1.1.1" + methods "^1.1.1" + mime "^1.3.6" + qs "^6.4.0" + readable-stream "^2.0.5" supports-color@^2.0.0: version "2.0.0" @@ -3028,14 +3072,14 @@ supports-color@^3.1.2: has-flag "^1.0.0" supports-color@^4.0.0: - version "4.1.0" - resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-4.1.0.tgz#92cc14bb3dad8928ca5656c33e19a19f20af5c7a" + version "4.2.1" + resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-4.2.1.tgz#65a4bb2631e90e02420dba5554c375a4754bb836" dependencies: has-flag "^2.0.0" swagger2openapi@^2.5.0: - version "2.5.0" - resolved "https://registry.yarnpkg.com/swagger2openapi/-/swagger2openapi-2.5.0.tgz#8455204ca1882e09efc554dc2ee23151971882f3" + version "2.6.5" + resolved "https://registry.yarnpkg.com/swagger2openapi/-/swagger2openapi-2.6.5.tgz#7767580f36ea05bb5970d2e488c7e57e82877e6f" dependencies: ajv "^5.0.1" call-me-maybe "^1.0.1" @@ -3069,8 +3113,8 @@ tabtab@^2.2.2: object-assign "^4.1.0" tar-stream@^1.5.0, tar-stream@^1.5.2: - version "1.5.2" - resolved "https://registry.yarnpkg.com/tar-stream/-/tar-stream-1.5.2.tgz#fbc6c6e83c1a19d4cb48c7d96171fc248effc7bf" + version "1.5.4" + resolved "https://registry.yarnpkg.com/tar-stream/-/tar-stream-1.5.4.tgz#36549cf04ed1aee9b2a30c0143252238daf94016" dependencies: bl "^1.0.0" end-of-stream "^1.0.0" @@ -3088,8 +3132,8 @@ test-exclude@^4.1.1: require-main-filename "^1.0.1" throat@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/throat/-/throat-3.0.0.tgz#e7c64c867cbb3845f10877642f7b60055b8ec0d6" + version "3.2.0" + resolved "https://registry.yarnpkg.com/throat/-/throat-3.2.0.tgz#50cb0670edbc40237b9e347d7e1f88e4620af836" through@^2.3.6: version "2.3.8" @@ -3109,9 +3153,9 @@ tmpl@1.0.x: version "1.0.4" resolved "https://registry.yarnpkg.com/tmpl/-/tmpl-1.0.4.tgz#23640dd7b42d00433911140820e5cf440e521dd1" -to-fast-properties@^1.0.1: - version "1.0.2" - resolved "https://registry.yarnpkg.com/to-fast-properties/-/to-fast-properties-1.0.2.tgz#f3f5c0c3ba7299a7ef99427e44633257ade43320" +to-fast-properties@^1.0.3: + version "1.0.3" + resolved "https://registry.yarnpkg.com/to-fast-properties/-/to-fast-properties-1.0.3.tgz#b83571fa4d8c25b82e231b06e3a3055de4ca1a47" tough-cookie@^2.3.2, tough-cookie@~2.3.0: version "2.3.2" @@ -3134,35 +3178,33 @@ trim-right@^1.0.1: resolved "https://registry.yarnpkg.com/trim-right/-/trim-right-1.0.1.tgz#cb2e1203067e0c8de1f614094b9fe45704ea6003" ts-jest@^20.0.6: - version "20.0.6" - resolved "https://registry.yarnpkg.com/ts-jest/-/ts-jest-20.0.6.tgz#39c2810c05d6f6908dac15929dae206b494b73f4" + version "20.0.10" + resolved "https://registry.yarnpkg.com/ts-jest/-/ts-jest-20.0.10.tgz#19e9386e6c890d31c2a64e938edc0c84fc937ebc" dependencies: - "@types/babel-core" "^6.7.14" babel-core "^6.24.1" babel-plugin-istanbul "^4.1.4" babel-plugin-transform-es2015-modules-commonjs "^6.24.1" babel-preset-jest "^20.0.3" - fs-extra "^3.0.0" + fs-extra "^4.0.0" jest-config "^20.0.0" jest-util "^20.0.0" pkg-dir "^2.0.0" source-map-support "^0.4.4" - tsconfig "^6.0.0" yargs "^8.0.1" ts-node@^3.1.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/ts-node/-/ts-node-3.1.0.tgz#a75ec5aeb48f3058b1b945dba765f1150ba88f8c" + version "3.3.0" + resolved "https://registry.yarnpkg.com/ts-node/-/ts-node-3.3.0.tgz#c13c6a3024e30be1180dd53038fc209289d4bf69" dependencies: arrify "^1.0.0" - chalk "^1.1.1" + chalk "^2.0.0" diff "^3.1.0" make-error "^1.1.1" minimist "^1.2.0" mkdirp "^0.5.1" source-map-support "^0.4.0" tsconfig "^6.0.0" - v8flags "^2.0.11" + v8flags "^3.0.0" yn "^2.0.0" tsconfig@^6.0.0: @@ -3183,8 +3225,8 @@ tslint-config-standard@5: tslint-eslint-rules "^4.0.0" tslint-config-temando@^1.1.4: - version "1.1.4" - resolved "https://registry.yarnpkg.com/tslint-config-temando/-/tslint-config-temando-1.1.4.tgz#4259faf12ade477c9e763c08251e7c43efbe8473" + version "1.2.0" + resolved "https://registry.yarnpkg.com/tslint-config-temando/-/tslint-config-temando-1.2.0.tgz#6e566f496eab880cf8de187930917b2a5815e48f" dependencies: tslint-config-standard "5" tslint-eslint-rules "^4.1.1" @@ -3198,8 +3240,8 @@ tslint-eslint-rules@^4.0.0, tslint-eslint-rules@^4.1.1: tsutils "^1.4.0" tslint@^5.4.3: - version "5.4.3" - resolved "https://registry.yarnpkg.com/tslint/-/tslint-5.4.3.tgz#761c8402b80e347b7733a04390a757b253580467" + version "5.7.0" + resolved "https://registry.yarnpkg.com/tslint/-/tslint-5.7.0.tgz#c25e0d0c92fa1201c2bc30e844e08e682b4f3552" dependencies: babel-code-frame "^6.22.0" colors "^1.1.2" @@ -3210,22 +3252,18 @@ tslint@^5.4.3: resolve "^1.3.2" semver "^5.3.0" tslib "^1.7.1" - tsutils "^2.3.0" + tsutils "^2.8.1" tsutils@^1.4.0: - version "1.6.0" - resolved "https://registry.yarnpkg.com/tsutils/-/tsutils-1.6.0.tgz#1fd7fac2a61369ed99cd3997f0fbb437128850f2" + version "1.9.1" + resolved "https://registry.yarnpkg.com/tsutils/-/tsutils-1.9.1.tgz#b9f9ab44e55af9681831d5f28d0aeeaf5c750cb0" -tsutils@^2.3.0: - version "2.5.1" - resolved "https://registry.yarnpkg.com/tsutils/-/tsutils-2.5.1.tgz#c2001390c79eec1a5ccfa7ac12d599639683e0cf" +tsutils@^2.8.1: + version "2.8.1" + resolved "https://registry.yarnpkg.com/tsutils/-/tsutils-2.8.1.tgz#3771404e7ca9f0bedf5d919a47a4b1890a68efff" dependencies: tslib "^1.7.1" -tunnel-agent@^0.4.0: - version "0.4.3" - resolved "https://registry.yarnpkg.com/tunnel-agent/-/tunnel-agent-0.4.3.tgz#6373db76909fe570e08d73583365ed828a74eeeb" - tunnel-agent@^0.6.0: version "0.6.0" resolved "https://registry.yarnpkg.com/tunnel-agent/-/tunnel-agent-0.6.0.tgz#27a5dea06b36b04a0a9966774b290868f0fc40fd" @@ -3247,12 +3285,12 @@ typedarray@^0.0.6: resolved "https://registry.yarnpkg.com/typedarray/-/typedarray-0.0.6.tgz#867ac74e3864187b1d3d47d996a78ec5c8830777" typescript@^2.4.1: - version "2.4.1" - resolved "https://registry.yarnpkg.com/typescript/-/typescript-2.4.1.tgz#c3ccb16ddaa0b2314de031e7e6fee89e5ba346bc" + version "2.5.1" + resolved "https://registry.yarnpkg.com/typescript/-/typescript-2.5.1.tgz#ce7cc93ada3de19475cc9d17e3adea7aee1832aa" uglify-js@^2.6: - version "2.8.16" - resolved "https://registry.yarnpkg.com/uglify-js/-/uglify-js-2.8.16.tgz#d286190b6eefc6fd65eb0ecac6551e0b0e8839a4" + version "2.8.29" + resolved "https://registry.yarnpkg.com/uglify-js/-/uglify-js-2.8.29.tgz#29c5733148057bb4e1f75df35b7a9cb72e6a59dd" dependencies: source-map "~0.5.1" yargs "~3.10.0" @@ -3264,23 +3302,25 @@ uglify-to-browserify@~1.0.0: resolved "https://registry.yarnpkg.com/uglify-to-browserify/-/uglify-to-browserify-1.0.2.tgz#6e0924d6bda6b5afe349e39a6d632850a0f882b7" unbzip2-stream@^1.0.9: - version "1.0.11" - resolved "https://registry.yarnpkg.com/unbzip2-stream/-/unbzip2-stream-1.0.11.tgz#204f55549cd1dd800fdd835b86676830e7492d8f" + version "1.2.5" + resolved "https://registry.yarnpkg.com/unbzip2-stream/-/unbzip2-stream-1.2.5.tgz#73a033a567bbbde59654b193c44d48a7e4f43c47" dependencies: buffer "^3.0.1" through "^2.3.6" universalify@^0.1.0: - version "0.1.0" - resolved "https://registry.yarnpkg.com/universalify/-/universalify-0.1.0.tgz#9eb1c4651debcc670cc94f1a75762332bb967778" + version "0.1.1" + resolved "https://registry.yarnpkg.com/universalify/-/universalify-0.1.1.tgz#fa71badd4437af4c148841e3b3b165f9e9e590b7" unzip-response@^2.0.1: version "2.0.1" resolved "https://registry.yarnpkg.com/unzip-response/-/unzip-response-2.0.1.tgz#d2f0f737d16b0615e72a6935ed04214572d56f97" -uri-js@^2.1.1: - version "2.1.1" - resolved "https://registry.yarnpkg.com/uri-js/-/uri-js-2.1.1.tgz#eb3f8505f468969bf92cb79ce8ceaac2ed667661" +uri-js@^3.0.2: + version "3.0.2" + resolved "https://registry.yarnpkg.com/uri-js/-/uri-js-3.0.2.tgz#f90b858507f81dea4dcfbb3c4c3dbfa2b557faaa" + dependencies: + punycode "^2.1.0" url-parse-lax@^1.0.0: version "1.0.0" @@ -3288,6 +3328,10 @@ url-parse-lax@^1.0.0: dependencies: prepend-http "^1.0.1" +url-to-options@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/url-to-options/-/url-to-options-1.0.1.tgz#1505a03a289a48cbd7a434efbaeec5055f5633a9" + url@0.10.3: version "0.10.3" resolved "https://registry.yarnpkg.com/url/-/url-0.10.3.tgz#021e4d9c7705f21bbf37d03ceb58767402774c64" @@ -3295,6 +3339,13 @@ url@0.10.3: punycode "1.3.2" querystring "0.2.0" +url@^0.11.0: + version "0.11.0" + resolved "https://registry.yarnpkg.com/url/-/url-0.11.0.tgz#3838e97cfc60521eb73c525a8e55bfdd9e2e28f1" + dependencies: + punycode "1.3.2" + querystring "0.2.0" + user-home@^1.1.1: version "1.1.1" resolved "https://registry.yarnpkg.com/user-home/-/user-home-1.1.1.tgz#2b5be23a32b63a7c9deb8d0f28d485724a3df190" @@ -3307,6 +3358,10 @@ uuid@3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/uuid/-/uuid-3.0.0.tgz#6728fc0459c450d796a99c31837569bdf672d728" +uuid@3.0.1: + version "3.0.1" + resolved "https://registry.yarnpkg.com/uuid/-/uuid-3.0.1.tgz#6544bba2dfda8c1cf17e629a3a305e2bb1fee6c1" + uuid@^2.0.2: version "2.0.3" resolved "https://registry.yarnpkg.com/uuid/-/uuid-2.0.3.tgz#67e2e863797215530dff318e5bf9dcebfd47b21a" @@ -3315,16 +3370,12 @@ uuid@^3.0.0, uuid@^3.1.0: version "3.1.0" resolved "https://registry.yarnpkg.com/uuid/-/uuid-3.1.0.tgz#3dd3d3e790abc24d7b0d3a034ffababe28ebbc04" -v8flags@^2.0.11: - version "2.0.11" - resolved "https://registry.yarnpkg.com/v8flags/-/v8flags-2.0.11.tgz#bca8f30f0d6d60612cc2c00641e6962d42ae6881" +v8flags@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/v8flags/-/v8flags-3.0.0.tgz#4be9604488e0c4123645def705b1848d16b8e01f" dependencies: user-home "^1.1.1" -valid-url@^1.0.9: - version "1.0.9" - resolved "https://registry.yarnpkg.com/valid-url/-/valid-url-1.0.9.tgz#1c14479b40f1397a75782f115e4086447433a200" - validate-npm-package-license@^3.0.1: version "3.0.1" resolved "https://registry.yarnpkg.com/validate-npm-package-license/-/validate-npm-package-license-3.0.1.tgz#2804babe712ad3379459acfbe24746ab2c303fbc" @@ -3332,11 +3383,13 @@ validate-npm-package-license@^3.0.1: spdx-correct "~1.0.0" spdx-expression-parse "~1.0.0" -verror@1.3.6: - version "1.3.6" - resolved "https://registry.yarnpkg.com/verror/-/verror-1.3.6.tgz#cff5df12946d297d2baaefaa2689e25be01c005c" +verror@1.10.0: + version "1.10.0" + resolved "https://registry.yarnpkg.com/verror/-/verror-1.10.0.tgz#3a105ca17053af55d6e270c1f8288682e18da400" dependencies: - extsprintf "1.0.2" + assert-plus "^1.0.0" + core-util-is "1.0.2" + extsprintf "^1.2.0" walkdir@^0.0.11: version "0.0.11" @@ -3357,8 +3410,8 @@ webidl-conversions@^3.0.0: resolved "https://registry.yarnpkg.com/webidl-conversions/-/webidl-conversions-3.0.1.tgz#24534275e2a7bc6be7bc86611cc16ae0a5654871" webidl-conversions@^4.0.0: - version "4.0.1" - resolved "https://registry.yarnpkg.com/webidl-conversions/-/webidl-conversions-4.0.1.tgz#8015a17ab83e7e1b311638486ace81da6ce206a0" + version "4.0.2" + resolved "https://registry.yarnpkg.com/webidl-conversions/-/webidl-conversions-4.0.2.tgz#a855980b1f0b6b359ba1d5d9fb39ae941faa63ad" whatwg-encoding@^1.0.1: version "1.0.1" @@ -3366,13 +3419,13 @@ whatwg-encoding@^1.0.1: dependencies: iconv-lite "0.4.13" -whatwg-fetch@^2.0.0: +whatwg-fetch@>=0.10.0, whatwg-fetch@^2.0.0: version "2.0.3" resolved "https://registry.yarnpkg.com/whatwg-fetch/-/whatwg-fetch-2.0.3.tgz#9c84ec2dcf68187ff00bc64e1274b442176e1c84" whatwg-url@^4.3.0: - version "4.6.0" - resolved "https://registry.yarnpkg.com/whatwg-url/-/whatwg-url-4.6.0.tgz#ef98da442273be04cf9632e176f257d2395a1ae4" + version "4.8.0" + resolved "https://registry.yarnpkg.com/whatwg-url/-/whatwg-url-4.8.0.tgz#d2981aa9148c1e00a41c5a6131166ab4683bbcc0" dependencies: tr46 "~0.0.3" webidl-conversions "^3.0.0" @@ -3386,8 +3439,8 @@ which-module@^2.0.0: resolved "https://registry.yarnpkg.com/which-module/-/which-module-2.0.0.tgz#d9ef07dce77b9902b8a3a8fa4b31c3e3f7e6e87a" which@^1.2.12, which@^1.2.9: - version "1.2.14" - resolved "https://registry.yarnpkg.com/which/-/which-1.2.14.tgz#9a87c4378f03e827cecaf1acdf56c736c01c14e5" + version "1.3.0" + resolved "https://registry.yarnpkg.com/which/-/which-1.3.0.tgz#ff04bdfc010ee547d780bec38e1ac1c2777d253a" dependencies: isexe "^2.0.0" @@ -3408,11 +3461,11 @@ wordwrap@~1.0.0: resolved "https://registry.yarnpkg.com/wordwrap/-/wordwrap-1.0.0.tgz#27584810891456a4171c8d0226441ade90cbcaeb" worker-farm@^1.3.1: - version "1.3.1" - resolved "https://registry.yarnpkg.com/worker-farm/-/worker-farm-1.3.1.tgz#4333112bb49b17aa050b87895ca6b2cacf40e5ff" + version "1.5.0" + resolved "https://registry.yarnpkg.com/worker-farm/-/worker-farm-1.5.0.tgz#adfdf0cd40581465ed0a1f648f9735722afd5c8d" dependencies: - errno ">=0.1.1 <0.2.0-0" - xtend ">=4.0.0 <4.1.0-0" + errno "^0.1.4" + xtend "^4.0.1" wrap-ansi@^2.0.0: version "2.1.0" @@ -3426,31 +3479,31 @@ wrappy@1: resolved "https://registry.yarnpkg.com/wrappy/-/wrappy-1.0.2.tgz#b5243d8f3ec1aa35f1364605bc0d1036e30ab69f" write-file-atomic@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/write-file-atomic/-/write-file-atomic-2.1.0.tgz#1769f4b551eedce419f0505deae2e26763542d37" + version "2.3.0" + resolved "https://registry.yarnpkg.com/write-file-atomic/-/write-file-atomic-2.3.0.tgz#1ff61575c2e2a4e8e510d6fa4e243cce183999ab" dependencies: graceful-fs "^4.1.11" imurmurhash "^0.1.4" - slide "^1.1.5" + signal-exit "^3.0.2" xml-name-validator@^2.0.1: version "2.0.1" resolved "https://registry.yarnpkg.com/xml-name-validator/-/xml-name-validator-2.0.1.tgz#4d8b8f1eccd3419aa362061becef515e1e559635" -xml2js@0.4.15: - version "0.4.15" - resolved "https://registry.yarnpkg.com/xml2js/-/xml2js-0.4.15.tgz#95cd03ff2dd144ec28bc6273bf2b2890c581ad0c" +xml2js@0.4.17: + version "0.4.17" + resolved "https://registry.yarnpkg.com/xml2js/-/xml2js-0.4.17.tgz#17be93eaae3f3b779359c795b419705a8817e868" dependencies: sax ">=0.6.0" - xmlbuilder ">=2.4.6" + xmlbuilder "^4.1.0" -xmlbuilder@2.6.2, xmlbuilder@>=2.4.6: - version "2.6.2" - resolved "https://registry.yarnpkg.com/xmlbuilder/-/xmlbuilder-2.6.2.tgz#f916f6d10d45dc171b1be2e6e673fb6e0cc35d0a" +xmlbuilder@4.2.1, xmlbuilder@^4.1.0: + version "4.2.1" + resolved "https://registry.yarnpkg.com/xmlbuilder/-/xmlbuilder-4.2.1.tgz#aa58a3041a066f90eaa16c2f5389ff19f3f461a5" dependencies: - lodash "~3.5.0" + lodash "^4.0.0" -"xtend@>=4.0.0 <4.1.0-0", xtend@^4.0.0: +xtend@^4.0.0, xtend@^4.0.1: version "4.0.1" resolved "https://registry.yarnpkg.com/xtend/-/xtend-4.0.1.tgz#a5c6d532be656e23db820efb943a1f04998d63af" @@ -3475,8 +3528,8 @@ yargs-parser@^7.0.0: camelcase "^4.1.0" yargs@^7.0.2: - version "7.0.2" - resolved "https://registry.yarnpkg.com/yargs/-/yargs-7.0.2.tgz#115b97df1321823e8b8648e8968c782521221f67" + version "7.1.0" + resolved "https://registry.yarnpkg.com/yargs/-/yargs-7.1.0.tgz#6ba318eb16961727f5d284f8ea003e8d6154d0c8" dependencies: camelcase "^3.0.0" cliui "^3.2.0" @@ -3520,8 +3573,8 @@ yargs@~3.10.0: window-size "0.1.0" yauzl@^2.4.2: - version "2.7.0" - resolved "https://registry.yarnpkg.com/yauzl/-/yauzl-2.7.0.tgz#e21d847868b496fc29eaec23ee87fdd33e9b2bce" + version "2.8.0" + resolved "https://registry.yarnpkg.com/yauzl/-/yauzl-2.8.0.tgz#79450aff22b2a9c5a41ef54e02db907ccfbf9ee2" dependencies: buffer-crc32 "~0.2.3" fd-slicer "~1.0.1" @@ -3530,11 +3583,15 @@ yn@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/yn/-/yn-2.0.0.tgz#e5adabc8acf408f6385fc76495684c88e6af689a" +zen-observable-ts@^0.4.0: + version "0.4.0" + resolved "https://registry.yarnpkg.com/zen-observable-ts/-/zen-observable-ts-0.4.0.tgz#a74bc9fe59747948a577bd513d438e70fcfae7e2" + zip-stream@^1.1.0: - version "1.1.1" - resolved "https://registry.yarnpkg.com/zip-stream/-/zip-stream-1.1.1.tgz#5216b48bbb4d2651f64d5c6e6f09eb4a7399d557" + version "1.2.0" + resolved "https://registry.yarnpkg.com/zip-stream/-/zip-stream-1.2.0.tgz#a8bc45f4c1b49699c6b90198baacaacdbcd4ba04" dependencies: archiver-utils "^1.3.0" - compress-commons "^1.1.0" + compress-commons "^1.2.0" lodash "^4.8.0" readable-stream "^2.0.0" From 744cbd726e2dd1a12d5b2b9b3e505b9834405f27 Mon Sep 17 00:00:00 2001 From: Brendan Abbott Date: Mon, 28 Aug 2017 15:06:51 +1000 Subject: [PATCH 30/44] Expand isIterable to beat the linter... --- src/utils.ts | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/utils.ts b/src/utils.ts index 66085e8..d40b985 100644 --- a/src/utils.ts +++ b/src/utils.ts @@ -2,4 +2,11 @@ import { Clone, IMerge, Merge } from 'lutils'; export const merge: IMerge = new Merge({ depth: 100 }).merge; export const clone = new Clone({ depth: 100 }).clone; -export const isIterable = (obj) => obj != null && typeof obj[Symbol.iterator] === 'function' + +export function isIterable (obj) { + if (obj === null || obj === undefined) { + return false; + } + + return typeof obj[Symbol.iterator] === 'function'; +} From 35600e9a8014b74a413856038d318c200fab07bd Mon Sep 17 00:00:00 2001 From: Brendan Abbott Date: Mon, 28 Aug 2017 16:51:12 +1000 Subject: [PATCH 31/44] Fix README indentation --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 12ade0c..9a905a5 100644 --- a/README.md +++ b/README.md @@ -73,9 +73,9 @@ functions: myFunc: events: - http: - path: getStuff - method: get - documentation: ${file(serverless.doc.yml):endpoints.myFunc} + path: getStuff + method: get + documentation: ${file(serverless.doc.yml):endpoints.myFunc} ``` For more info on `serverless.yml` syntax, see their docs. From ca2212513d1ff13b61d6a12bde2f720c4d33c59e Mon Sep 17 00:00:00 2001 From: Brendan Abbott Date: Mon, 28 Aug 2017 17:24:24 +1000 Subject: [PATCH 32/44] Update README with tags/deprecated information --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 9a905a5..e248401 100644 --- a/README.md +++ b/README.md @@ -124,6 +124,8 @@ The `documentation` section of the event configuration can contain the following * `summary`: a short description of the method * `description`: a detailed description of the method +* `tags`: an array of tags for this event +* `deprecated`: boolean indicator that indicates clients should migrate away from this function * `requestBody`: contains description of the request * `description`: a description of the request body * `requestModels`: a list of models to describe the request bodies (see [requestModels](#requestmodels) below) From 553e820905ec8a03d16e39fdbf025c13b3e25a30 Mon Sep 17 00:00:00 2001 From: Brendan Abbott Date: Mon, 28 Aug 2017 18:11:38 +1000 Subject: [PATCH 33/44] Lowercase method, reorganise operation object for better readability (as a consumer) --- CHANGELOG.md | 3 +++ README.md | 4 ++-- src/DefinitionGenerator.ts | 37 ++++++++++++++++++++++++++++--------- 3 files changed, 33 insertions(+), 11 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 01b74db..bb43c6e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,10 +13,13 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. - Operation now supports `deprecated` and `tags` properties. - Parameters now support the `content` property. - Updated various build dependencies. +- OpenAPI definition will now be smaller in most cases, choosing to omit optional properties instead of using empty defaults. ## Fixed - Handle when `models` is not iterable. +- Handle when `models` have no `schema`. +- Always lowercase the HTTP method to conform to OpenAPI spec. ## [v0.2.1] - 2017-07-07 diff --git a/README.md b/README.md index e248401..1010241 100644 --- a/README.md +++ b/README.md @@ -240,7 +240,7 @@ cookieParams: #### `requestModels` -The `requestModels` property allows you to define models for the HTTP Request of the function event. You can define a different model for each different `Content-Type`. You can define a reference to the relevant request model named in the `models` section of your configuration (see [Defining Models](#defining-models) section). +The `requestModels` property allows you to define models for the HTTP Request of the function event. You can define a different model for each different `Content-Type`. You can define a reference to the relevant request model named in the `models` section of your configuration (see [Defining Models](#models) section). ```yml requestModels: @@ -269,7 +269,7 @@ methodResponse: ##### `responseModels` -The `responseModels` property allows you to define models for the HTTP Response of the function event. You can define a different model for each different `Content-Type`. You can define a reference to the relevant response model named in the `models` section of your configuration (see [Defining Models](#defining-models) section). +The `responseModels` property allows you to define models for the HTTP Response of the function event. You can define a different model for each different `Content-Type`. You can define a reference to the relevant response model named in the `models` section of your configuration (see [Defining Models](#models) section). ```yml responseModels: diff --git a/src/DefinitionGenerator.ts b/src/DefinitionGenerator.ts index 2304300..21519e7 100644 --- a/src/DefinitionGenerator.ts +++ b/src/DefinitionGenerator.ts @@ -45,6 +45,10 @@ export class DefinitionGenerator { if (isIterable(models)) { for (const model of models) { + if (!model.schema) { + continue; + } + this.definition.components.schemas[model.name] = this.cleanSchema( dereference(model.schema), ); @@ -81,7 +85,7 @@ export class DefinitionGenerator { // Build OpenAPI path configuration structure for each method const pathConfig = { [`/${httpEventConfig.path}`]: { - [httpEventConfig.method]: this.getOperationFromConfig( + [httpEventConfig.method.toLowerCase()]: this.getOperationFromConfig( funcConfig._functionName, httpEventConfig.documentation, ), @@ -120,16 +124,31 @@ export class DefinitionGenerator { * @param documentationConfig */ private getOperationFromConfig (funcName: string, documentationConfig): IOperation { - return { + const operationObj: IOperation = { operationId: funcName, - tags: documentationConfig.tags || [], - deprecated: documentationConfig.deprecated || false, - summary: documentationConfig.summary || '', - description: documentationConfig.description || '', - parameters: this.getParametersFromConfig(documentationConfig), - requestBody: this.getRequestBodiesFromConfig(documentationConfig), - responses: this.getResponsesFromConfig(documentationConfig), }; + + if (documentationConfig.summary) { + operationObj.summary = documentationConfig.summary; + } + + if (documentationConfig.description) { + operationObj.description = documentationConfig.description; + } + + if (documentationConfig.tags) { + operationObj.tags = documentationConfig.tags; + } + + if (documentationConfig.deprecated) { + operationObj.deprecated = true; + } + + operationObj.parameters = this.getParametersFromConfig(documentationConfig); + operationObj.requestBody = this.getRequestBodiesFromConfig(documentationConfig); + operationObj.responses = this.getResponsesFromConfig(documentationConfig); + + return operationObj; } /** From e4f86003f315441111c795b94c63147143e77a9f Mon Sep 17 00:00:00 2001 From: nfour Date: Wed, 30 Aug 2017 10:24:02 +1000 Subject: [PATCH 34/44] Changelog --- package.json | 7 +++++-- yarn.lock | 47 ++++++++++++++++++++++++++++++++++++++++++++++- 2 files changed, 51 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index ce1b1fe..ab94fce 100644 --- a/package.json +++ b/package.json @@ -24,7 +24,8 @@ "test:build": "jest -c '{}' build", "test:coverage": "jest --coverage", "lint": "tslint -p tsconfig.json --type-check -c tslint.json", - "preversion": "yarn lint && yarn build && yarn test:build", + "preversion": "yarn lint && yarn build && yarn test:build && changelog-verify CHANGELOG.md", + "version": "version-changelog CHANGELOG.md && changelog-verify CHANGELOG.md && git add CHANGELOG.md", "release": "cd build && npm publish", "test:project": "cd test/project && yarn sls openapi generate", "test:prepare": "scripts/prepareTests.bash", @@ -40,13 +41,15 @@ "@types/js-yaml": "^3.5.31", "@types/node": "^8.0.7", "@types/uuid": "^3.0.0", + "changelog-verify": "^1.0.4", "jest": "^20.0.4", "serverless": "^1.16.1", "ts-jest": "^20.0.6", "ts-node": "^3.1.0", "tslint": "^5.4.3", "tslint-config-temando": "^1.1.4", - "typescript": "^2.4.1" + "typescript": "^2.4.1", + "version-changelog": "^2.1.0" }, "dependencies": { "@jdw/jst": "^2.0.0-beta.9", diff --git a/yarn.lock b/yarn.lock index f7df9cd..2fa8868 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2,7 +2,7 @@ # yarn lockfile v1 -"@jdw/jst@^2.0.0": +"@jdw/jst@^2.0.0-beta.9": version "2.0.0-beta.9" resolved "https://registry.yarnpkg.com/@jdw/jst/-/jst-2.0.0-beta.9.tgz#4ec2c73761199774d6d0f95f6be37d068fe2cce4" dependencies: @@ -593,6 +593,12 @@ chalk@^2.0.0, chalk@^2.0.1: escape-string-regexp "^1.0.5" supports-color "^4.0.0" +changelog-verify@^1.0.4: + version "1.0.4" + resolved "https://registry.yarnpkg.com/changelog-verify/-/changelog-verify-1.0.4.tgz#5be588a3dc58881687415e81e71e1cff0ce3c728" + dependencies: + upath "^0.2.0" + ci-info@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/ci-info/-/ci-info-1.0.0.tgz#dc5285f2b4e251821683681c381c3388f46ec534" @@ -734,6 +740,13 @@ create-error-class@^3.0.0: dependencies: capture-stack-trace "^1.0.0" +cross-spawn@^4.0.2: + version "4.0.2" + resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-4.0.2.tgz#7b9247621c23adfdd3856004a823cbe397424d41" + dependencies: + lru-cache "^4.0.1" + which "^1.2.9" + cross-spawn@^5.0.1: version "5.1.0" resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-5.1.0.tgz#e8bd0efee58fcff6f8f94510a0a554bbfa235449" @@ -1202,6 +1215,10 @@ getpass@^0.1.1: dependencies: assert-plus "^1.0.0" +github-url-from-git@^1.4.0: + version "1.5.0" + resolved "https://registry.yarnpkg.com/github-url-from-git/-/github-url-from-git-1.5.0.tgz#f985fedcc0a9aa579dc88d7aff068d55cc6251a0" + glob-base@^0.3.0: version "0.3.0" resolved "https://registry.yarnpkg.com/glob-base/-/glob-base-0.3.0.tgz#dbb164f6221b1c0b1ccf82aea328b497df0ea3c4" @@ -1337,6 +1354,10 @@ has-unicode@^2.0.0: version "2.0.1" resolved "https://registry.yarnpkg.com/has-unicode/-/has-unicode-2.0.1.tgz#e0e6fe6a28cf51138855e086d1691e771de2a8b9" +has-yarn@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/has-yarn/-/has-yarn-1.0.0.tgz#89e25db604b725c8f5976fff0addc921b828a5a7" + hawk@~3.1.3: version "3.1.3" resolved "https://registry.yarnpkg.com/hawk/-/hawk-3.1.3.tgz#078444bd7c1640b0fe540d2c9b73d59678e8e1c4" @@ -2102,6 +2123,10 @@ lodash.uniq@^4.5.0: version "4.5.0" resolved "https://registry.yarnpkg.com/lodash.uniq/-/lodash.uniq-4.5.0.tgz#d0225373aeb652adc1bc82e4945339a842754773" +lodash@3.x: + version "3.10.1" + resolved "https://registry.yarnpkg.com/lodash/-/lodash-3.10.1.tgz#5bf45e8e49ba4189e17d482789dfd15bd140b7b6" + lodash@^4.0.0, lodash@^4.11.1, lodash@^4.13.1, lodash@^4.14.0, lodash@^4.17.4, lodash@^4.2.1, lodash@^4.3.0, lodash@^4.8.0: version "4.17.4" resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.4.tgz#78203a4d1c328ae1d86dca6460e369b57f4055ae" @@ -3308,6 +3333,10 @@ unbzip2-stream@^1.0.9: buffer "^3.0.1" through "^2.3.6" +underscore.string@2.3.x: + version "2.3.3" + resolved "https://registry.yarnpkg.com/underscore.string/-/underscore.string-2.3.3.tgz#71c08bf6b428b1133f37e78fa3a21c82f7329b0d" + universalify@^0.1.0: version "0.1.1" resolved "https://registry.yarnpkg.com/universalify/-/universalify-0.1.1.tgz#fa71badd4437af4c148841e3b3b165f9e9e590b7" @@ -3316,6 +3345,13 @@ unzip-response@^2.0.1: version "2.0.1" resolved "https://registry.yarnpkg.com/unzip-response/-/unzip-response-2.0.1.tgz#d2f0f737d16b0615e72a6935ed04214572d56f97" +upath@^0.2.0: + version "0.2.0" + resolved "https://registry.yarnpkg.com/upath/-/upath-0.2.0.tgz#bdbad0f2c60afea165f8127dbb1b5bdee500ad81" + dependencies: + lodash "3.x" + underscore.string "2.3.x" + uri-js@^3.0.2: version "3.0.2" resolved "https://registry.yarnpkg.com/uri-js/-/uri-js-3.0.2.tgz#f90b858507f81dea4dcfbb3c4c3dbfa2b557faaa" @@ -3391,6 +3427,15 @@ verror@1.10.0: core-util-is "1.0.2" extsprintf "^1.2.0" +version-changelog@^2.1.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/version-changelog/-/version-changelog-2.1.0.tgz#469f63bd9ffc182f14f2c004df2f3797cef866d4" + dependencies: + cross-spawn "^4.0.2" + github-url-from-git "^1.4.0" + has-yarn "^1.0.0" + upath "^0.2.0" + walkdir@^0.0.11: version "0.0.11" resolved "https://registry.yarnpkg.com/walkdir/-/walkdir-0.0.11.tgz#a16d025eb931bd03b52f308caed0f40fcebe9532" From 8cf03924105e9ff7a65e960a2f370412ad23d6e7 Mon Sep 17 00:00:00 2001 From: nfour Date: Wed, 30 Aug 2017 10:24:11 +1000 Subject: [PATCH 35/44] 0.3.0 --- CHANGELOG.md | 6 ++++++ package.json | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index bb43c6e..0d54b0b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ## [Unreleased] +## [0.3.0][] - 2017-08-30 + ## Changed - Plugin now generates OpenAPI documentation with a version of `3.0.0` instead of `3.0.0-RC2`. @@ -24,3 +26,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ## [v0.2.1] - 2017-07-07 Last release prior to CHANGELOG being added. + + +[Unreleased]: https://github.com/temando/serverless-openapi-documentation/compare/v0.3.0...HEAD +[0.3.0]: https://github.com/temando/serverless-openapi-documentation/tree/v0.3.0 \ No newline at end of file diff --git a/package.json b/package.json index ab94fce..514e773 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "serverless-openapi-documentation", - "version": "0.2.1", + "version": "0.3.0", "description": "Serverless 1.0 plugin to generate OpenAPI V3 documentation from serverless configuration", "main": "index.js", "repository": { From f430f5d7f904b7c33a4c49dea9e930dbbb027e30 Mon Sep 17 00:00:00 2001 From: nfour Date: Wed, 30 Aug 2017 10:24:59 +1000 Subject: [PATCH 36/44] Fix changelog headings --- CHANGELOG.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0d54b0b..736ed67 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,7 +9,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ## [0.3.0][] - 2017-08-30 -## Changed +### Changed - Plugin now generates OpenAPI documentation with a version of `3.0.0` instead of `3.0.0-RC2`. - Operation now supports `deprecated` and `tags` properties. @@ -17,7 +17,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. - Updated various build dependencies. - OpenAPI definition will now be smaller in most cases, choosing to omit optional properties instead of using empty defaults. -## Fixed +### Fixed - Handle when `models` is not iterable. - Handle when `models` have no `schema`. @@ -29,4 +29,4 @@ Last release prior to CHANGELOG being added. [Unreleased]: https://github.com/temando/serverless-openapi-documentation/compare/v0.3.0...HEAD -[0.3.0]: https://github.com/temando/serverless-openapi-documentation/tree/v0.3.0 \ No newline at end of file +[0.3.0]: https://github.com/temando/serverless-openapi-documentation/tree/v0.3.0 From 999b58c36f5d64112327d7d01a08c0da66b6f7a1 Mon Sep 17 00:00:00 2001 From: Chris Gerrish Date: Sun, 8 Oct 2017 21:25:39 -0400 Subject: [PATCH 37/44] Added fix for if no request body or parameters --- package.json | 2 +- src/DefinitionGenerator.ts | 10 ++++++++-- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 514e773..6ee1df2 100644 --- a/package.json +++ b/package.json @@ -52,7 +52,7 @@ "version-changelog": "^2.1.0" }, "dependencies": { - "@jdw/jst": "^2.0.0-beta.9", + "@jdw/jst": "^2.0.0-beta.12", "bluebird": "^3.5.0", "chalk": "^2.0.1", "fs-extra": "^4.0.1", diff --git a/src/DefinitionGenerator.ts b/src/DefinitionGenerator.ts index 21519e7..713d910 100644 --- a/src/DefinitionGenerator.ts +++ b/src/DefinitionGenerator.ts @@ -144,8 +144,14 @@ export class DefinitionGenerator { operationObj.deprecated = true; } - operationObj.parameters = this.getParametersFromConfig(documentationConfig); - operationObj.requestBody = this.getRequestBodiesFromConfig(documentationConfig); + if (operationObj.requestBody) { + operationObj.requestBody = this.getRequestBodiesFromConfig(documentationConfig); + } + + if (operationObj.parameters) { + operationObj.parameters = this.getParametersFromConfig(documentationConfig); + } + operationObj.responses = this.getResponsesFromConfig(documentationConfig); return operationObj; From 9a4371bb45dd8f001e0e92ab2f253b8dcae3cfd0 Mon Sep 17 00:00:00 2001 From: Brendan Abbott Date: Thu, 18 Jan 2018 12:31:05 +1000 Subject: [PATCH 38/44] Reset @jdw/jst to beta.9. --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 6ee1df2..514e773 100644 --- a/package.json +++ b/package.json @@ -52,7 +52,7 @@ "version-changelog": "^2.1.0" }, "dependencies": { - "@jdw/jst": "^2.0.0-beta.12", + "@jdw/jst": "^2.0.0-beta.9", "bluebird": "^3.5.0", "chalk": "^2.0.1", "fs-extra": "^4.0.1", From 8fa5b9b01c6c0ca029eca1e0b0e69bd07617c9e5 Mon Sep 17 00:00:00 2001 From: Denis Sokolov Date: Mon, 22 Jan 2018 10:29:06 +0200 Subject: [PATCH 39/44] Fixup installation success check in the docs In my installation, the plugin was called `ServerlessOpenApiDocumentation` (notice the lowercase `Api`). For maximum compatibility and less confusion, relax `grep`. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 1010241..1ba5c61 100644 --- a/README.md +++ b/README.md @@ -330,7 +330,7 @@ plugins: You can confirm the plugin is correctly installed by running: ```bash -serverless | grep "ServerlessOpenAPIDocumentation" +serverless | grep -i "ServerlessOpenAPIDocumentation" ``` It should return `ServerlessOpenAPIDocumentation` as one of the plugins on the list. From eb7a4c963734e2ce630e80434ea295ccc5d8a1f3 Mon Sep 17 00:00:00 2001 From: nfour Date: Wed, 4 Apr 2018 10:50:45 +1000 Subject: [PATCH 40/44] changelog --- CHANGELOG.md | 7 ++++++- package.json | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 736ed67..cb38dd0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ## [Unreleased] +## [0.4.0][] - 2018-04-04 + +- Various changes + ## [0.3.0][] - 2017-08-30 ### Changed @@ -28,5 +32,6 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. Last release prior to CHANGELOG being added. -[Unreleased]: https://github.com/temando/serverless-openapi-documentation/compare/v0.3.0...HEAD +[Unreleased]: https://github.com/temando/serverless-openapi-documentation/compare/v0.4.0...HEAD +[0.4.0]: https://github.com/temando/serverless-openapi-documentation/compare/v0.3.0...v0.4.0 [0.3.0]: https://github.com/temando/serverless-openapi-documentation/tree/v0.3.0 diff --git a/package.json b/package.json index 514e773..4113927 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "serverless-openapi-documentation", - "version": "0.3.0", + "version": "0.4.0", "description": "Serverless 1.0 plugin to generate OpenAPI V3 documentation from serverless configuration", "main": "index.js", "repository": { From e49fb16ab5d12aec8df9123e6af3fd0404c492ee Mon Sep 17 00:00:00 2001 From: nfour Date: Wed, 4 Apr 2018 10:52:30 +1000 Subject: [PATCH 41/44] v0.4.0 --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index cb38dd0..2a37980 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -33,5 +33,6 @@ Last release prior to CHANGELOG being added. [Unreleased]: https://github.com/temando/serverless-openapi-documentation/compare/v0.4.0...HEAD +[0.4.0]: https://github.com/temando/serverless-openapi-documentation/compare/v0.4.0...v0.4.0 [0.4.0]: https://github.com/temando/serverless-openapi-documentation/compare/v0.3.0...v0.4.0 [0.3.0]: https://github.com/temando/serverless-openapi-documentation/tree/v0.3.0 From bbc5176736a545b0547211ea1ebeb41148dbe942 Mon Sep 17 00:00:00 2001 From: nfour Date: Wed, 4 Apr 2018 11:16:41 +1000 Subject: [PATCH 42/44] fix trav --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 2a2d4e4..c6ac0a4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -15,6 +15,6 @@ before_deploy: deploy: - provider: script - script: npm run release + script: yarn build && npm run release on: tags: true From 5389e331a16431ab4f65369a3ba90030bb30bbc4 Mon Sep 17 00:00:00 2001 From: nfour Date: Fri, 22 Jun 2018 21:07:17 +1000 Subject: [PATCH 43/44] stupid travis --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index c6ac0a4..0dffe9a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -15,6 +15,6 @@ before_deploy: deploy: - provider: script - script: yarn build && npm run release + script: yarn && yarn build && npm run release on: tags: true From 6df0be3f6eb30cc4fa00241e91c33a2acae2df28 Mon Sep 17 00:00:00 2001 From: nfour Date: Fri, 22 Jun 2018 21:16:06 +1000 Subject: [PATCH 44/44] wew --- .travis.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 0dffe9a..7e7a64a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -15,6 +15,7 @@ before_deploy: deploy: - provider: script - script: yarn && yarn build && npm run release + skip_cleanup: true + script: npm run release on: tags: true