├── .babelrc ├── .gitignore ├── LICENSE.txt ├── README.md ├── __test__ ├── DateUtils.test.js ├── RNS3.test.js ├── Request.test.js ├── S3Policy.test.js └── matchers.js ├── circle.yml ├── index.js ├── package.json ├── src ├── DateUtils.js ├── RNS3.js ├── Request.js └── S3Policy.js └── yarn.lock /.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": ["es2015", "stage-3"] 3 | } 4 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | node_modules/ 3 | npm-debug.log 4 | lib/ 5 | -------------------------------------------------------------------------------- /LICENSE.txt: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2016-present Ben Reinhart 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # React Native AWS3 2 | 3 | React Native AWS3 is a module for uploading files to S3. Unlike other libraries out there, there are no native dependencies. 4 | 5 | ``` 6 | npm install --save react-native-aws3 7 | ``` 8 | 9 | [![build status](https://circleci.com/gh/benjreinhart/react-native-aws3.svg?style=shield&circle-token=c7cb5ba4654c9d66bbfeac9809e50aa0fbf0af09)](https://circleci.com/gh/benjreinhart/react-native-aws3) 10 | [![npm version](https://img.shields.io/npm/v/react-native-aws3.svg?style=flat-square)](https://www.npmjs.com/package/react-native-aws3) 11 | [![npm downloads](https://img.shields.io/npm/dm/react-native-aws3.svg?style=flat-square)](https://www.npmjs.com/package/react-native-aws3) 12 | 13 | ## Note on S3 user permissions 14 | 15 | The user associated with the `accessKey` and `secretKey` you use must have the appropriate permissions assigned to them. My user's IAM policy looks like: 16 | 17 | ```json 18 | { 19 | "Version": "2012-10-17", 20 | "Statement": [ 21 | { 22 | "Sid": "Stmt1458840156000", 23 | "Effect": "Allow", 24 | "Action": [ 25 | "s3:GetObject", 26 | "s3:GetObjectAcl", 27 | "s3:GetObjectVersion", 28 | "s3:PutObject", 29 | "s3:PutObjectAcl", 30 | "s3:PutObjectVersionAcl" 31 | ], 32 | "Resource": [ 33 | "arn:aws:s3:::my-bucket/uploads/*" 34 | ] 35 | } 36 | ] 37 | } 38 | ``` 39 | 40 | ## Example 41 | 42 | ```javascript 43 | import { RNS3 } from 'react-native-aws3'; 44 | 45 | const file = { 46 | // `uri` can also be a file system path (i.e. file://) 47 | uri: "assets-library://asset/asset.PNG?id=655DBE66-8008-459C-9358-914E1FB532DD&ext=PNG", 48 | name: "image.png", 49 | type: "image/png" 50 | } 51 | 52 | const options = { 53 | keyPrefix: "uploads/", 54 | bucket: "your-bucket", 55 | region: "us-east-1", 56 | accessKey: "your-access-key", 57 | secretKey: "your-secret-key", 58 | successActionStatus: 201 59 | } 60 | 61 | RNS3.put(file, options).then(response => { 62 | if (response.status !== 201) 63 | throw new Error("Failed to upload image to S3"); 64 | console.log(response.body); 65 | /** 66 | * { 67 | * postResponse: { 68 | * bucket: "your-bucket", 69 | * etag : "9f620878e06d28774406017480a59fd4", 70 | * key: "uploads/image.png", 71 | * location: "https://your-bucket.s3.amazonaws.com/uploads%2Fimage.png" 72 | * } 73 | * } 74 | */ 75 | }); 76 | ``` 77 | 78 | ## Usage 79 | 80 | ### put(file, options) 81 | 82 | Upload a file to S3. 83 | 84 | Arguments: 85 | 86 | 1. `file` 87 | * `uri` **required** - File system URI, can be assets library path or `file://` path 88 | * `name` **required** - The name of the file, will be stored as such in S3 89 | * `type` **required** - The mime type, also used for `Content-Type` parameter in the S3 post policy 90 | 2. `options` 91 | * `acl` - The [Access Control List](http://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html) of this object. Defaults to `public-read` 92 | * `keyPrefix` - Prefix, or path to the file on S3, i.e. `uploads/` (note the trailing slash) 93 | * `bucket` **required** - Your S3 bucket 94 | * `region` **required** - The region of your S3 bucket 95 | * `accessKey` **required** - Your S3 `AWSAccessKeyId` 96 | * `secretKey` **required** - Your S3 `AWSSecretKey` 97 | * `successActionStatus` - HTTP response status if successful, defaults to 201 98 | * `awsUrl` - [AWS S3 url](http://docs.aws.amazon.com/general/latest/gr/rande.html#s3_region). Defaults to `s3.amazonaws.com` 99 | * `timeDelta` - Devices time offset from world clock in milliseconds, defaults to 0 100 | 101 | Returns an object that wraps an `XMLHttpRequest` instance and behaves like a promise, with the following additional methods: 102 | 103 | * `progress` - accepts a callback which will be called with an event representing the progress of the upload. Event object is of shape 104 | * `loaded` - amount uploaded 105 | * `total` - total amount to upload 106 | * `percent` - number between 0 and 1 representing the percent completed 107 | * `abort` - aborts the xhr instance 108 | 109 | Examples: 110 | ```javascript 111 | RNS3.put(file, options) 112 | .progress((e) => console.log(e.loaded / e.total)); // or console.log(e.percent) 113 | 114 | RNS3.put(file, option) 115 | .abort(); 116 | ``` 117 | 118 | ## TODO 119 | 120 | - [ ] Support `DeleteObject` and (authenticated) `GetObject` operations. 121 | 122 | 123 | ## License 124 | 125 | [MIT](https://github.com/benjreinhart/react-native-aws3/blob/master/LICENSE.txt) 126 | -------------------------------------------------------------------------------- /__test__/DateUtils.test.js: -------------------------------------------------------------------------------- 1 | import { dateToString } from '../src/DateUtils' 2 | 3 | describe('dateToString', () => { 4 | 5 | const date = new Date(Date.parse('2017-03-31T20:43:47.314Z')) 6 | 7 | describe('iso8601', () => { 8 | it('formats the date in iso8601 format', () => { 9 | const actual = dateToString(date, 'iso8601') 10 | const expected = '2017-03-31T20:43:47.314Z' 11 | expect(actual).toBe(expected) 12 | }) 13 | 14 | it('is the default', () => { 15 | const actual = dateToString(date) 16 | const expected = '2017-03-31T20:43:47.314Z' 17 | expect(actual).toBe(expected) 18 | }) 19 | }) 20 | 21 | describe('yyyymmdd', () => { 22 | it('formats the date YYYYMMDD', () => { 23 | const actual = dateToString(date, 'yyyymmdd') 24 | const expected = '20170331' 25 | expect(actual).toBe(expected) 26 | }) 27 | }) 28 | 29 | describe('amz-iso8601', () => { 30 | it('formats the date in iso8601 without hyphens and with the time zeroed out', () => { 31 | const actual = dateToString(date, 'amz-iso8601') 32 | const expected = '20170331T000000Z' 33 | expect(actual).toBe(expected) 34 | }) 35 | }) 36 | 37 | }) 38 | -------------------------------------------------------------------------------- /__test__/RNS3.test.js: -------------------------------------------------------------------------------- 1 | import { RNS3 } from '../src/RNS3' 2 | import { Request } from '../src/Request' 3 | import { S3Policy } from '../src/S3Policy' 4 | 5 | describe('RNS3.put', () => { 6 | 7 | const file = { 8 | uri: 'assets-library://asset/image.jpg?id=655DBE66-8008-459C-9358-914E1FB532DD', 9 | name: 'image.jpg', 10 | type: 'image/jpg' 11 | } 12 | 13 | const options = { 14 | bucket: 'my-s3-bucket', 15 | region: 'us-east-1', 16 | accessKey: 'AKIAA7AS6DHAD6ASN23', 17 | secretKey: 'pLx+brfx0u12ERMcJCfNAEOKH+bMk40ZVa7hh8' 18 | } 19 | 20 | const originalRequestCreate = Request.create 21 | const originalS3PolicyGenerate = S3Policy.generate 22 | 23 | beforeEach(() => { 24 | Request.create = jest.fn() 25 | S3Policy.generate = jest.fn() 26 | }) 27 | 28 | afterEach(() => { 29 | Request.create = originalRequestCreate 30 | S3Policy.generate = originalS3PolicyGenerate 31 | }) 32 | 33 | it('generates a policy and performs a request', () => { 34 | const policy = Symbol('policy') 35 | S3Policy.generate.mockReturnValueOnce(policy) 36 | 37 | const mockRequest = { 38 | set: jest.fn(() => mockRequest), 39 | send: jest.fn(() => mockRequest), 40 | then: jest.fn(() => mockRequest) 41 | } 42 | 43 | Request.create.mockReturnValueOnce(mockRequest) 44 | 45 | const result = RNS3.put(file, options) 46 | expect(result).toBe(mockRequest) 47 | 48 | const s3PolicyGenerateMock = S3Policy.generate.mock 49 | expect(s3PolicyGenerateMock.calls.length).toBe(1) 50 | expect(s3PolicyGenerateMock.calls[0][0]).toHaveProperty('date') 51 | expect(s3PolicyGenerateMock.calls[0][0]).toHaveProperty('key', 'image.jpg') 52 | expect(s3PolicyGenerateMock.calls[0][0]).toHaveProperty('contentType', 'image/jpg') 53 | expect(s3PolicyGenerateMock.calls[0][0]).toHaveProperty('bucket', 'my-s3-bucket') 54 | expect(s3PolicyGenerateMock.calls[0][0]).toHaveProperty('region', 'us-east-1') 55 | expect(s3PolicyGenerateMock.calls[0][0]).toHaveProperty('accessKey', 'AKIAA7AS6DHAD6ASN23') 56 | expect(s3PolicyGenerateMock.calls[0][0]).toHaveProperty('secretKey', 'pLx+brfx0u12ERMcJCfNAEOKH+bMk40ZVa7hh8') 57 | 58 | const requestCreateMock = Request.create.mock 59 | expect(requestCreateMock.calls.length).toBe(1) 60 | expect(requestCreateMock.calls[0][0]).toBe('https://my-s3-bucket.s3.amazonaws.com') 61 | expect(requestCreateMock.calls[0][1]).toBe('POST') 62 | expect(requestCreateMock.calls[0][2]).toBe(policy) 63 | 64 | const mockRequestSetMock = mockRequest.set.mock 65 | expect(mockRequestSetMock.calls.length).toBe(1) 66 | expect(mockRequestSetMock.calls[0][0]).toBe('file') 67 | expect(mockRequestSetMock.calls[0][1]).toBe(file) 68 | }) 69 | 70 | describe('supports `keyPrefix` option', () => { 71 | it('generates a policy and performs a request', () => { 72 | const policy = Symbol('policy') 73 | S3Policy.generate.mockReturnValueOnce(policy) 74 | 75 | const mockRequest = { 76 | set: jest.fn(() => mockRequest), 77 | send: jest.fn(() => mockRequest), 78 | then: jest.fn(() => mockRequest) 79 | } 80 | 81 | Request.create.mockReturnValueOnce(mockRequest) 82 | 83 | const result = RNS3.put(file, { ...options, keyPrefix: 'uploads/' }) 84 | expect(result).toBe(mockRequest) 85 | 86 | const s3PolicyGenerateMock = S3Policy.generate.mock 87 | expect(s3PolicyGenerateMock.calls.length).toBe(1) 88 | expect(s3PolicyGenerateMock.calls[0][0]).toHaveProperty('date') 89 | expect(s3PolicyGenerateMock.calls[0][0]).toHaveProperty('key', 'uploads/image.jpg') 90 | expect(s3PolicyGenerateMock.calls[0][0]).toHaveProperty('contentType', 'image/jpg') 91 | expect(s3PolicyGenerateMock.calls[0][0]).toHaveProperty('bucket', 'my-s3-bucket') 92 | expect(s3PolicyGenerateMock.calls[0][0]).toHaveProperty('region', 'us-east-1') 93 | expect(s3PolicyGenerateMock.calls[0][0]).toHaveProperty('accessKey', 'AKIAA7AS6DHAD6ASN23') 94 | expect(s3PolicyGenerateMock.calls[0][0]).toHaveProperty('secretKey', 'pLx+brfx0u12ERMcJCfNAEOKH+bMk40ZVa7hh8') 95 | 96 | const requestCreateMock = Request.create.mock 97 | expect(requestCreateMock.calls.length).toBe(1) 98 | expect(requestCreateMock.calls[0][0]).toBe('https://my-s3-bucket.s3.amazonaws.com') 99 | expect(requestCreateMock.calls[0][1]).toBe('POST') 100 | expect(requestCreateMock.calls[0][2]).toBe(policy) 101 | 102 | const mockRequestSetMock = mockRequest.set.mock 103 | expect(mockRequestSetMock.calls.length).toBe(1) 104 | expect(mockRequestSetMock.calls[0][0]).toBe('file') 105 | expect(mockRequestSetMock.calls[0][1]).toBe(file) 106 | }) 107 | }) 108 | 109 | describe('supports `awsUrl` option', () => { 110 | it('generates a policy and performs a request', () => { 111 | const policy = Symbol('policy') 112 | S3Policy.generate.mockReturnValueOnce(policy) 113 | 114 | const mockRequest = { 115 | set: jest.fn(() => mockRequest), 116 | send: jest.fn(() => mockRequest), 117 | then: jest.fn(() => mockRequest) 118 | } 119 | 120 | Request.create.mockReturnValueOnce(mockRequest) 121 | 122 | const result = RNS3.put(file, { ...options, awsUrl: 's3.us-east-2.amazonaws.com' }) 123 | expect(result).toBe(mockRequest) 124 | 125 | const s3PolicyGenerateMock = S3Policy.generate.mock 126 | expect(s3PolicyGenerateMock.calls.length).toBe(1) 127 | expect(s3PolicyGenerateMock.calls[0][0]).toHaveProperty('date') 128 | expect(s3PolicyGenerateMock.calls[0][0]).toHaveProperty('key', 'image.jpg') 129 | expect(s3PolicyGenerateMock.calls[0][0]).toHaveProperty('contentType', 'image/jpg') 130 | expect(s3PolicyGenerateMock.calls[0][0]).toHaveProperty('bucket', 'my-s3-bucket') 131 | expect(s3PolicyGenerateMock.calls[0][0]).toHaveProperty('region', 'us-east-1') 132 | expect(s3PolicyGenerateMock.calls[0][0]).toHaveProperty('accessKey', 'AKIAA7AS6DHAD6ASN23') 133 | expect(s3PolicyGenerateMock.calls[0][0]).toHaveProperty('secretKey', 'pLx+brfx0u12ERMcJCfNAEOKH+bMk40ZVa7hh8') 134 | 135 | const requestCreateMock = Request.create.mock 136 | expect(requestCreateMock.calls.length).toBe(1) 137 | expect(requestCreateMock.calls[0][0]).toBe('https://my-s3-bucket.s3.us-east-2.amazonaws.com') 138 | expect(requestCreateMock.calls[0][1]).toBe('POST') 139 | expect(requestCreateMock.calls[0][2]).toBe(policy) 140 | 141 | const mockRequestSetMock = mockRequest.set.mock 142 | expect(mockRequestSetMock.calls.length).toBe(1) 143 | expect(mockRequestSetMock.calls[0][0]).toBe('file') 144 | expect(mockRequestSetMock.calls[0][1]).toBe(file) 145 | }) 146 | }) 147 | 148 | describe('parsing the XML response', () => { 149 | const XML_RESPONSE = '\nhttps://my-s3-bucket.s3.amazonaws.com/uploads%2Fimage.jpgmy-s3-bucketuploads/image.jpg"afba579120c3ed942f55c8ca50fe39fc"' 150 | const response = { 151 | status: 201, 152 | text: XML_RESPONSE, 153 | headers: {} 154 | } 155 | 156 | it('generates a policy and performs a request', () => { 157 | const policy = Symbol('policy') 158 | S3Policy.generate.mockReturnValueOnce(policy) 159 | 160 | const mockRequest = { 161 | set: jest.fn(() => mockRequest), 162 | send: jest.fn(() => mockRequest), 163 | then: jest.fn(fn => fn(response)) 164 | } 165 | 166 | Request.create.mockReturnValueOnce(mockRequest) 167 | 168 | const result = RNS3.put(file, options) 169 | expect(result).toHaveProperty('status', 201) 170 | expect(result).toHaveProperty('text', XML_RESPONSE) 171 | expect(result).toHaveProperty('body') 172 | expect(result).toHaveProperty('body.postResponse') 173 | expect(result).toHaveProperty('body.postResponse.key', 'uploads/image.jpg') 174 | expect(result).toHaveProperty('body.postResponse.etag', 'afba579120c3ed942f55c8ca50fe39fc') 175 | expect(result).toHaveProperty('body.postResponse.bucket', 'my-s3-bucket') 176 | expect(result).toHaveProperty('body.postResponse.location', 'https://my-s3-bucket.s3.amazonaws.com/uploads%2Fimage.jpg') 177 | 178 | const s3PolicyGenerateMock = S3Policy.generate.mock 179 | expect(s3PolicyGenerateMock.calls.length).toBe(1) 180 | expect(s3PolicyGenerateMock.calls[0][0]).toHaveProperty('date') 181 | expect(s3PolicyGenerateMock.calls[0][0]).toHaveProperty('key', 'image.jpg') 182 | expect(s3PolicyGenerateMock.calls[0][0]).toHaveProperty('contentType', 'image/jpg') 183 | expect(s3PolicyGenerateMock.calls[0][0]).toHaveProperty('bucket', 'my-s3-bucket') 184 | expect(s3PolicyGenerateMock.calls[0][0]).toHaveProperty('region', 'us-east-1') 185 | expect(s3PolicyGenerateMock.calls[0][0]).toHaveProperty('accessKey', 'AKIAA7AS6DHAD6ASN23') 186 | expect(s3PolicyGenerateMock.calls[0][0]).toHaveProperty('secretKey', 'pLx+brfx0u12ERMcJCfNAEOKH+bMk40ZVa7hh8') 187 | 188 | const requestCreateMock = Request.create.mock 189 | expect(requestCreateMock.calls.length).toBe(1) 190 | expect(requestCreateMock.calls[0][0]).toBe('https://my-s3-bucket.s3.amazonaws.com') 191 | expect(requestCreateMock.calls[0][1]).toBe('POST') 192 | expect(requestCreateMock.calls[0][2]).toBe(policy) 193 | 194 | const mockRequestSetMock = mockRequest.set.mock 195 | expect(mockRequestSetMock.calls.length).toBe(1) 196 | expect(mockRequestSetMock.calls[0][0]).toBe('file') 197 | expect(mockRequestSetMock.calls[0][1]).toBe(file) 198 | }) 199 | }) 200 | }) 201 | -------------------------------------------------------------------------------- /__test__/Request.test.js: -------------------------------------------------------------------------------- 1 | import { toBeEmptyObject } from './matchers' 2 | import { Request } from '../src/Request' 3 | 4 | expect.extend({ toBeEmptyObject }) 5 | 6 | const ClassFactory = (methods, properties = {}) => 7 | class { 8 | constructor(...args) { 9 | Object.assign(this, properties) 10 | Object.assign(Object.getPrototypeOf(this), methods) 11 | } 12 | } 13 | 14 | describe('Request', () => { 15 | const originalFormData = Request.FormData 16 | const origiginalXMLHttpRequest = Request.XMLHttpRequest 17 | 18 | beforeEach(() => { 19 | Request.FormData = ClassFactory() 20 | Request.XMLHttpRequest = ClassFactory({ open: Function() }) 21 | }) 22 | 23 | afterEach(() => { 24 | Request.FormData = originalFormData 25 | Request.XMLHttpRequest = origiginalXMLHttpRequest 26 | }) 27 | 28 | describe('.create', () => { 29 | it('creates a new instance of Request with arguments', () => { 30 | const request = Request.create('https://my-s3-bucket.s3.amazonaws.com', 'POST') 31 | expect(request).toBeInstanceOf(Request) 32 | }) 33 | }) 34 | 35 | describe('constructor', () => { 36 | it('correctly opens the xhr', () => { 37 | const open = jest.fn() 38 | Request.XMLHttpRequest = ClassFactory({ open }) 39 | 40 | new Request('https://my-s3-bucket.s3.amazonaws.com', 'POST') 41 | 42 | expect(open).toHaveBeenCalledTimes(1) 43 | expect(open).toBeCalledWith('POST', 'https://my-s3-bucket.s3.amazonaws.com') 44 | }) 45 | 46 | it('initializes form data attributes', () => { 47 | const append = jest.fn() 48 | Request.FormData = ClassFactory({ append }) 49 | 50 | new Request('https://my-s3-bucket.s3.amazonaws.com', 'POST', { key1: 'value1', key2: 'value2' }) 51 | 52 | expect(append).toHaveBeenCalledTimes(2) 53 | expect(append).toBeCalledWith('key1', 'value1') 54 | expect(append).toBeCalledWith('key2', 'value2') 55 | }) 56 | 57 | it('initializes headers', () => { 58 | const setRequestHeader = jest.fn() 59 | Request.XMLHttpRequest = ClassFactory({ open: jest.fn(), setRequestHeader }) 60 | 61 | new Request('https://my-s3-bucket.s3.amazonaws.com', 'POST', {}, { header1: 'value1', header2: 'value2'}) 62 | 63 | expect(setRequestHeader).toHaveBeenCalledTimes(2) 64 | expect(setRequestHeader).toBeCalledWith('header1', 'value1') 65 | expect(setRequestHeader).toBeCalledWith('header2', 'value2') 66 | }) 67 | 68 | it('registers onload and onerror callbacks', () => { 69 | Request.XMLHttpRequest = ClassFactory({ open: jest.fn() }) 70 | 71 | const request = new Request('https://my-s3-bucket.s3.amazonaws.com', 'POST') 72 | 73 | const xhr = request._xhr 74 | expect(xhr).not.toBeUndefined() 75 | expect(xhr.onload).toBeInstanceOf(Function) 76 | expect(xhr.onerror).toBeInstanceOf(Function) 77 | }) 78 | 79 | it('initializes a promise', () => { 80 | const request = new Request('https://my-s3-bucket.s3.amazonaws.com', 'POST') 81 | expect(request._promise).toBeInstanceOf(Promise) 82 | }) 83 | }) 84 | 85 | describe('#header', () => { 86 | it('sets request headers on the xhr', () => { 87 | const setRequestHeader = jest.fn() 88 | Request.XMLHttpRequest = ClassFactory({ open: jest.fn(), setRequestHeader }) 89 | 90 | const request = new Request('https://my-s3-bucket.s3.amazonaws.com', 'POST') 91 | request.header('header1', 'value1') 92 | request.header('header2', 'value2') 93 | 94 | expect(setRequestHeader).toHaveBeenCalledTimes(2) 95 | expect(setRequestHeader).toBeCalledWith('header1', 'value1') 96 | expect(setRequestHeader).toBeCalledWith('header2', 'value2') 97 | }) 98 | }) 99 | 100 | describe('#set', () => { 101 | it('sets key/value pairs on formData', () => { 102 | const append = jest.fn() 103 | Request.FormData = ClassFactory({ append }) 104 | 105 | const request = new Request('https://my-s3-bucket.s3.amazonaws.com', 'POST') 106 | request.set('key1', 'value1') 107 | request.set('key2', 'value2') 108 | 109 | expect(append).toHaveBeenCalledTimes(2) 110 | expect(append).toBeCalledWith('key1', 'value1') 111 | expect(append).toBeCalledWith('key2', 'value2') 112 | }) 113 | }) 114 | 115 | describe('#send', () => { 116 | it('sends the xhr request', () => { 117 | const send = jest.fn() 118 | Request.XMLHttpRequest = ClassFactory({ open: jest.fn(), send }) 119 | 120 | const request = new Request('https://my-s3-bucket.s3.amazonaws.com', 'POST') 121 | request.send() 122 | 123 | const formData = request._formData 124 | expect(send).toHaveBeenCalledTimes(1) 125 | expect(send).toBeCalledWith(formData) 126 | }) 127 | }) 128 | 129 | describe('#abort', () => { 130 | it('aborts the xhr', () => { 131 | const abort = jest.fn() 132 | Request.XMLHttpRequest = ClassFactory({ open: jest.fn(), abort }) 133 | 134 | const request = new Request('https://my-s3-bucket.s3.amazonaws.com', 'POST') 135 | request.abort() 136 | 137 | expect(abort).toHaveBeenCalledTimes(1) 138 | }) 139 | }) 140 | 141 | describe('#progress', () => { 142 | it('sets onprogress callback on the xhr', () => { 143 | Request.XMLHttpRequest = ClassFactory({ open: jest.fn() }, { upload: {} }) 144 | 145 | const request = new Request('https://my-s3-bucket.s3.amazonaws.com', 'POST') 146 | const progressFn = jest.fn() 147 | request.progress(progressFn) 148 | 149 | const xhr = request._xhr 150 | xhr.upload.onprogress({ loaded: 10, total: 50 }) 151 | 152 | expect(progressFn).toHaveBeenCalledTimes(1) 153 | expect(progressFn.mock.calls[0][0]).toMatchObject({ loaded: 10, total: 50, percent: 0.2 }) 154 | }) 155 | }) 156 | 157 | describe('#then', () => { 158 | it('delegates to the internal promise', () => { 159 | const request = new Request('https://my-s3-bucket.s3.amazonaws.com', 'POST') 160 | 161 | request._promise = { then: jest.fn(() => request._promise) } 162 | 163 | const callbackFn1 = jest.fn() 164 | const callbackFn2 = jest.fn() 165 | const callbackFn3 = jest.fn() 166 | 167 | request 168 | .then(callbackFn1) 169 | .then(callbackFn2, callbackFn3) 170 | 171 | expect(request._promise.then).toHaveBeenCalledTimes(2) 172 | expect(request._promise.then).toBeCalledWith(callbackFn1) 173 | expect(request._promise.then).toBeCalledWith(callbackFn2, callbackFn3) 174 | }) 175 | }) 176 | 177 | describe('#catch', () => { 178 | it('delegates to the internal promise', () => { 179 | const request = new Request('https://my-s3-bucket.s3.amazonaws.com', 'POST') 180 | 181 | request._promise = { catch: jest.fn(() => request._promise) } 182 | 183 | const callbackFn1 = jest.fn() 184 | const callbackFn2 = jest.fn() 185 | 186 | request 187 | .catch(callbackFn1) 188 | .catch(callbackFn2) 189 | 190 | expect(request._promise.catch).toHaveBeenCalledTimes(2) 191 | expect(request._promise.catch).toBeCalledWith(callbackFn1) 192 | expect(request._promise.catch).toBeCalledWith(callbackFn2) 193 | }) 194 | }) 195 | 196 | describe('when xhr onload is called', () => { 197 | const XHR_HEADERS = { 198 | 'Server': 'AmazonS3', 199 | 'Content-Type': 'application/xml', 200 | 'Location': 'https://rnaws3-uploads.s3.us-east-2.amazonaws.com/uploads%2Fimage.jpg', 201 | 'x-amz-request-id': 'ED7D980C128FBF54', 202 | 'Date': 'Sat, 01 Apr 2017 19:53:20 GMT', 203 | 'x-amz-id-2': '9ijY28x7WwOT8PQChPVu6928zQ14cNQFEfSTygshpL+h7unaZASKgpyZ4RwYPBSKFi7EffhK3C4=', 204 | 'Content-Length': '264', 205 | 'Etag': '"afba579120c3ed942f55c8ca50fe39fc"' 206 | } 207 | 208 | const XHR_HEADERS_STRING = Object.keys(XHR_HEADERS).map(k => `${k}: ${XHR_HEADERS[k]}`).join('\r\n') 209 | 210 | const XHR_RESPONSE_TEXT = '\nhttps://rnaws3-uploads.s3.us-east-2.amazonaws.com/uploads%2Fimage.jpgrnaws3-uploadsuploads/image.jpg"afba579120c3ed942f55c8ca50fe39fc"' 211 | 212 | it('resolves the promise with a formatted response', () => { 213 | Request.XMLHttpRequest = ClassFactory( 214 | { 215 | open: jest.fn(), 216 | getResponseHeader: header => XHR_HEADERS[header], 217 | getAllResponseHeaders: () => XHR_HEADERS_STRING 218 | }, 219 | { 220 | status: 201, 221 | responseText: XHR_RESPONSE_TEXT 222 | } 223 | ) 224 | 225 | const request = new Request('https://my-s3-bucket.s3.amazonaws.com', 'POST').then(response => { 226 | expect(response).toHaveProperty('text', XHR_RESPONSE_TEXT) 227 | expect(response).toHaveProperty('status', 201) 228 | expect(response.headers).toMatchObject(XHR_HEADERS) 229 | }) 230 | 231 | request._xhr.onload() 232 | 233 | return request 234 | }) 235 | }) 236 | 237 | describe('when xhr onerror is called', () => { 238 | const XHR_RESPONSE_TEXT = '\nhttps://rnaws3-uploads.s3.us-east-2.amazonaws.com/uploads%2Fimage.jpgrnaws3-uploadsuploads/image.jpg"afba579120c3ed942f55c8ca50fe39fc"' 239 | 240 | it('rejects the promise with a formatted response', () => { 241 | Request.XMLHttpRequest = ClassFactory( 242 | { 243 | open: jest.fn(), 244 | getResponseHeader: header => {}, 245 | getAllResponseHeaders: () => '' 246 | }, 247 | { 248 | status: 0, 249 | responseText: XHR_RESPONSE_TEXT 250 | } 251 | ) 252 | 253 | const request = new Request('https://my-s3-bucket.s3.amazonaws.com', 'POST').catch(response => { 254 | expect(response).toHaveProperty('text', XHR_RESPONSE_TEXT) 255 | expect(response).toHaveProperty('status', 0) 256 | expect(response.headers).toBeEmptyObject() 257 | }) 258 | 259 | request._xhr.onerror() 260 | 261 | return request 262 | }) 263 | }) 264 | }) 265 | -------------------------------------------------------------------------------- /__test__/S3Policy.test.js: -------------------------------------------------------------------------------- 1 | import { S3Policy } from '../src/S3Policy' 2 | 3 | describe('S3Policy.generate', () => { 4 | let options = {} 5 | 6 | // 2017-04-15T05:00:00.000Z 7 | const date = new Date(Date.UTC(2017, 3, 15, 0, 0, 0, 0)) 8 | 9 | beforeEach(() => options = { 10 | key: 'image.jpg', 11 | date: date, 12 | bucket: 'my-s3-bucket', 13 | contentType: 'image/jpg', 14 | region: 'us-east-1', 15 | accessKey: 'AKIAA7AS6DHAD6ASN23', 16 | secretKey: 'pLx+brfx0u12ERMcJCfNAEOKH+bMk40ZVa7hh8', 17 | }) 18 | 19 | describe('required options', () => { 20 | test('ensures `key` option is present', () => { 21 | Reflect.deleteProperty(options, 'key') 22 | expect(() => S3Policy.generate(options)).toThrow('Must provide `key` option with the object key') 23 | }) 24 | 25 | test('ensures `bucket` option is present', () => { 26 | Reflect.deleteProperty(options, 'bucket') 27 | expect(() => S3Policy.generate(options)).toThrow('Must provide `bucket` option with your AWS bucket name') 28 | }) 29 | 30 | test('ensures `contentType` option is present', () => { 31 | Reflect.deleteProperty(options, 'contentType') 32 | expect(() => S3Policy.generate(options)).toThrow('Must provide `contentType` option with the object content type') 33 | }) 34 | 35 | test('ensures `region` option is present', () => { 36 | Reflect.deleteProperty(options, 'region') 37 | expect(() => S3Policy.generate(options)).toThrow('Must provide `region` option with your AWS region') 38 | }) 39 | 40 | test('ensures `date` option is present', () => { 41 | Reflect.deleteProperty(options, 'date') 42 | expect(() => S3Policy.generate(options)).toThrow('Must provide `date` option with the current date') 43 | }) 44 | 45 | test('ensures `accessKey` option is present', () => { 46 | Reflect.deleteProperty(options, 'accessKey') 47 | expect(() => S3Policy.generate(options)).toThrow('Must provide `accessKey` option with your AWSAccessKeyId') 48 | }) 49 | 50 | test('ensures `secretKey` option is present', () => { 51 | Reflect.deleteProperty(options, 'secretKey') 52 | expect(() => S3Policy.generate(options)).toThrow('Must provide `secretKey` option with your AWSSecretKey') 53 | }) 54 | }) 55 | 56 | it('generates the correct policy', () => { 57 | const policy = S3Policy.generate(options) 58 | 59 | expect(policy).toHaveProperty('key', 'image.jpg') 60 | expect(policy).toHaveProperty('acl', 'public-read') 61 | expect(policy).toHaveProperty('success_action_status', '201') 62 | expect(policy).toHaveProperty('Content-Type', 'image/jpg') 63 | expect(policy).toHaveProperty('X-Amz-Algorithm', 'AWS4-HMAC-SHA256') 64 | expect(policy).toHaveProperty('X-Amz-Date', '20170415T000000Z') 65 | expect(policy).toHaveProperty('X-Amz-Credential', 'AKIAA7AS6DHAD6ASN23/20170415/us-east-1/s3/aws4_request') 66 | expect(policy).toHaveProperty('Policy', 'eyJleHBpcmF0aW9uIjoiMjAxNy0wNC0xNVQwMDowNTowMC4wMDBaIiwiY29uZGl0aW9ucyI6W3siYnVja2V0IjoibXktczMtYnVja2V0In0seyJrZXkiOiJpbWFnZS5qcGcifSx7ImFjbCI6InB1YmxpYy1yZWFkIn0seyJzdWNjZXNzX2FjdGlvbl9zdGF0dXMiOiIyMDEifSx7IkNvbnRlbnQtVHlwZSI6ImltYWdlL2pwZyJ9LHsieC1hbXotY3JlZGVudGlhbCI6IkFLSUFBN0FTNkRIQUQ2QVNOMjMvMjAxNzA0MTUvdXMtZWFzdC0xL3MzL2F3czRfcmVxdWVzdCJ9LHsieC1hbXotYWxnb3JpdGhtIjoiQVdTNC1ITUFDLVNIQTI1NiJ9LHsieC1hbXotZGF0ZSI6IjIwMTcwNDE1VDAwMDAwMFoifV19') 67 | expect(policy).toHaveProperty('X-Amz-Signature', '6edec32fde71c7474e1375ba79240153ac5c3f3cbfd504b361dd7761d2c4d31f') 68 | }) 69 | 70 | it('supports `acl` option', () => { 71 | const policy = S3Policy.generate({ ...options, acl: 'private' }) 72 | 73 | expect(policy).toHaveProperty('key', 'image.jpg') 74 | expect(policy).toHaveProperty('acl', 'private') 75 | expect(policy).toHaveProperty('success_action_status', '201') 76 | expect(policy).toHaveProperty('Content-Type', 'image/jpg') 77 | expect(policy).toHaveProperty('X-Amz-Algorithm', 'AWS4-HMAC-SHA256') 78 | expect(policy).toHaveProperty('X-Amz-Date', '20170415T000000Z') 79 | expect(policy).toHaveProperty('X-Amz-Credential', 'AKIAA7AS6DHAD6ASN23/20170415/us-east-1/s3/aws4_request') 80 | expect(policy).toHaveProperty('Policy', 'eyJleHBpcmF0aW9uIjoiMjAxNy0wNC0xNVQwMDowNTowMC4wMDBaIiwiY29uZGl0aW9ucyI6W3siYnVja2V0IjoibXktczMtYnVja2V0In0seyJrZXkiOiJpbWFnZS5qcGcifSx7ImFjbCI6InByaXZhdGUifSx7InN1Y2Nlc3NfYWN0aW9uX3N0YXR1cyI6IjIwMSJ9LHsiQ29udGVudC1UeXBlIjoiaW1hZ2UvanBnIn0seyJ4LWFtei1jcmVkZW50aWFsIjoiQUtJQUE3QVM2REhBRDZBU04yMy8yMDE3MDQxNS91cy1lYXN0LTEvczMvYXdzNF9yZXF1ZXN0In0seyJ4LWFtei1hbGdvcml0aG0iOiJBV1M0LUhNQUMtU0hBMjU2In0seyJ4LWFtei1kYXRlIjoiMjAxNzA0MTVUMDAwMDAwWiJ9XX0=') 81 | expect(policy).toHaveProperty('X-Amz-Signature', '0541e2cf8026a44aac53931c4ddd4be7e0fbf4b642800ac8d67a918345a0c559') 82 | }) 83 | 84 | it('supports `successActionStatus` option', () => { 85 | const policy = S3Policy.generate({ ...options, successActionStatus: 200 }) 86 | 87 | expect(policy).toHaveProperty('key', 'image.jpg') 88 | expect(policy).toHaveProperty('acl', 'public-read') 89 | expect(policy).toHaveProperty('success_action_status', '200') 90 | expect(policy).toHaveProperty('Content-Type', 'image/jpg') 91 | expect(policy).toHaveProperty('X-Amz-Algorithm', 'AWS4-HMAC-SHA256') 92 | expect(policy).toHaveProperty('X-Amz-Date', '20170415T000000Z') 93 | expect(policy).toHaveProperty('X-Amz-Credential', 'AKIAA7AS6DHAD6ASN23/20170415/us-east-1/s3/aws4_request') 94 | expect(policy).toHaveProperty('Policy', 'eyJleHBpcmF0aW9uIjoiMjAxNy0wNC0xNVQwMDowNTowMC4wMDBaIiwiY29uZGl0aW9ucyI6W3siYnVja2V0IjoibXktczMtYnVja2V0In0seyJrZXkiOiJpbWFnZS5qcGcifSx7ImFjbCI6InB1YmxpYy1yZWFkIn0seyJzdWNjZXNzX2FjdGlvbl9zdGF0dXMiOiIyMDAifSx7IkNvbnRlbnQtVHlwZSI6ImltYWdlL2pwZyJ9LHsieC1hbXotY3JlZGVudGlhbCI6IkFLSUFBN0FTNkRIQUQ2QVNOMjMvMjAxNzA0MTUvdXMtZWFzdC0xL3MzL2F3czRfcmVxdWVzdCJ9LHsieC1hbXotYWxnb3JpdGhtIjoiQVdTNC1ITUFDLVNIQTI1NiJ9LHsieC1hbXotZGF0ZSI6IjIwMTcwNDE1VDAwMDAwMFoifV19') 95 | expect(policy).toHaveProperty('X-Amz-Signature', 'c5e7931446878f0ea62f28ee715d2663d6d5b57672ac9556adeab8628bcf6f26') 96 | }) 97 | 98 | it('supports `timeDelta` option', () => { 99 | const oneMinute = 60 * 1000 100 | 101 | const policy = S3Policy.generate({ ...options, timeDelta: -oneMinute }) 102 | 103 | expect(policy).toHaveProperty('key', 'image.jpg') 104 | expect(policy).toHaveProperty('acl', 'public-read') 105 | expect(policy).toHaveProperty('success_action_status', '201') 106 | expect(policy).toHaveProperty('Content-Type', 'image/jpg') 107 | expect(policy).toHaveProperty('X-Amz-Algorithm', 'AWS4-HMAC-SHA256') 108 | expect(policy).toHaveProperty('X-Amz-Date', '20170415T000000Z') 109 | expect(policy).toHaveProperty('X-Amz-Credential', 'AKIAA7AS6DHAD6ASN23/20170415/us-east-1/s3/aws4_request') 110 | expect(policy).toHaveProperty('Policy', 'eyJleHBpcmF0aW9uIjoiMjAxNy0wNC0xNVQwMDowNjowMC4wMDBaIiwiY29uZGl0aW9ucyI6W3siYnVja2V0IjoibXktczMtYnVja2V0In0seyJrZXkiOiJpbWFnZS5qcGcifSx7ImFjbCI6InB1YmxpYy1yZWFkIn0seyJzdWNjZXNzX2FjdGlvbl9zdGF0dXMiOiIyMDEifSx7IkNvbnRlbnQtVHlwZSI6ImltYWdlL2pwZyJ9LHsieC1hbXotY3JlZGVudGlhbCI6IkFLSUFBN0FTNkRIQUQ2QVNOMjMvMjAxNzA0MTUvdXMtZWFzdC0xL3MzL2F3czRfcmVxdWVzdCJ9LHsieC1hbXotYWxnb3JpdGhtIjoiQVdTNC1ITUFDLVNIQTI1NiJ9LHsieC1hbXotZGF0ZSI6IjIwMTcwNDE1VDAwMDAwMFoifV19') 111 | expect(policy).toHaveProperty('X-Amz-Signature', 'dbc8fcda84ebf2032a9baf97921a268c76482c7926b03229c6495a3dcb823c95') 112 | }) 113 | 114 | }) 115 | -------------------------------------------------------------------------------- /__test__/matchers.js: -------------------------------------------------------------------------------- 1 | export const toBeEmptyObject = received => 2 | 0 === Object.keys(received).length 3 | ? { pass: true, message: "expected object not to be empty" } 4 | : { pass: false, message: "expected object to be empty" } 5 | -------------------------------------------------------------------------------- /circle.yml: -------------------------------------------------------------------------------- 1 | machine: 2 | node: 3 | version: 7.7.2 4 | 5 | dependencies: 6 | override: 7 | - yarn 8 | 9 | test: 10 | override: 11 | - yarn test 12 | -------------------------------------------------------------------------------- /index.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./lib/RNS3'); 2 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "react-native-aws3", 3 | "version": "0.0.9", 4 | "description": "Pure JavaScript react native library for uploading to AWS S3", 5 | "author": { 6 | "name": "Ben Reinhart" 7 | }, 8 | "keywords": [ 9 | "react", 10 | "react-native", 11 | "react-component", 12 | "aws", 13 | "s3", 14 | "image", 15 | "upload", 16 | "ios", 17 | "android" 18 | ], 19 | "main": "index.js", 20 | "files": [ 21 | "lib", 22 | "src", 23 | "index.js" 24 | ], 25 | "jest": { 26 | "testPathIgnorePatterns": [ 27 | "node_modules/" 28 | ] 29 | }, 30 | "scripts": { 31 | "build": "babel src --out-dir lib", 32 | "clean": "rm -rf lib", 33 | "prepublish": "yarn run clean && yarn run test && yarn run build", 34 | "test": "jest", 35 | "test-watch": "jest --watch" 36 | }, 37 | "dependencies": { 38 | "buffer": "^4.5.1", 39 | "crypto-js": "^3.1.6" 40 | }, 41 | "devDependencies": { 42 | "babel-cli": "^6.24.0", 43 | "babel-jest": "^19.0.0", 44 | "babel-preset-es2015": "^6.24.0", 45 | "babel-preset-stage-3": "^6.22.0", 46 | "jest": "^19.0.2" 47 | }, 48 | "repository": { 49 | "type": "git", 50 | "url": "https://github.com/benjreinhart/react-native-aws3" 51 | }, 52 | "bugs": { 53 | "url": "https://github.com/benjreinhart/react-native-aws3/issues" 54 | }, 55 | "license": "MIT" 56 | } 57 | -------------------------------------------------------------------------------- /src/DateUtils.js: -------------------------------------------------------------------------------- 1 | /** 2 | * DateUtils 3 | */ 4 | 5 | const YYYYMMDD = 'yyyymmdd' 6 | const ISO8601 = 'iso8601' 7 | const AMZ_ISO8601 = 'amz-iso8601' 8 | 9 | const formatters = { 10 | /** 11 | * Returns a string formatted in iso8601 format (with '-'). `expiresIn` 12 | * option is added to current date time to get a date in the future 13 | * that represents the time this request to AWS will expire. 14 | * 15 | * === Example 16 | * 17 | * // March 31, 2017 20:43:47.314 18 | * '2017-03-31T20:43:47.314Z' 19 | */ 20 | [ISO8601]: date => date.toISOString(), 21 | 22 | /** 23 | * Returns a string formatted like YYYYMMDD. 24 | * 25 | * === Example 26 | * 27 | * // March 31, 2017 20:43:47.314 28 | * '20170331' 29 | */ 30 | [YYYYMMDD]: date => formatters[ISO8601](date).slice(0, 10).replace(/-/g, ""), 31 | 32 | /** 33 | * Returns a string formatted in iso8601 format (without '-') with 34 | * 0s for the time of day. Used for the amz date field in the policy. 35 | * 36 | * === Example 37 | * 38 | * // March 31, 2017 20:43:47.314 39 | * '20170331T000000Z' 40 | */ 41 | [AMZ_ISO8601]: date => `${formatters[YYYYMMDD](date)}T000000Z`, 42 | } 43 | 44 | export const dateToString = (date, format = ISO8601) => 45 | formatters[format](date) 46 | -------------------------------------------------------------------------------- /src/RNS3.js: -------------------------------------------------------------------------------- 1 | /** 2 | * RNS3 3 | */ 4 | 5 | import { Request } from './Request' 6 | import { S3Policy } from './S3Policy' 7 | 8 | const AWS_DEFAULT_S3_HOST = 's3.amazonaws.com' 9 | 10 | const EXPECTED_RESPONSE_KEY_VALUE_RE = { 11 | key: /(.*)<\/Key>/, 12 | etag: /"?([^"]*)"?<\/ETag>/, 13 | bucket: /(.*)<\/Bucket>/, 14 | location: /(.*)<\/Location>/, 15 | } 16 | 17 | const entries = o => 18 | Object.keys(o).map(k => [k, o[k]]) 19 | 20 | const extractResponseValues = (responseText) => 21 | entries(EXPECTED_RESPONSE_KEY_VALUE_RE).reduce((result, [key, regex]) => { 22 | const match = responseText.match(regex) 23 | return { ...result, [key]: match && match[1] } 24 | }, {}) 25 | 26 | const setBodyAsParsedXML = (response) => 27 | ({ 28 | ...response, 29 | body: { postResponse: response.text == null ? null : extractResponseValues(response.text) } 30 | }) 31 | 32 | export class RNS3 { 33 | static put(file, options) { 34 | options = { 35 | ...options, 36 | key: (options.keyPrefix || '') + file.name, 37 | date: new Date, 38 | contentType: file.type 39 | } 40 | 41 | const url = `https://${options.bucket}.${options.awsUrl || AWS_DEFAULT_S3_HOST}` 42 | const method = "POST" 43 | const policy = S3Policy.generate(options) 44 | 45 | return Request.create(url, method, policy) 46 | .set("file", file) 47 | .send() 48 | .then(setBodyAsParsedXML) 49 | } 50 | } 51 | -------------------------------------------------------------------------------- /src/Request.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Request 3 | */ 4 | 5 | const isBlank = string => 6 | null == string || !/\S/.test(string) 7 | 8 | const notBlank = string => 9 | !isBlank(string) 10 | 11 | const parseHeaders = (xhr) => { 12 | return (xhr.getAllResponseHeaders() || '') 13 | .split(/\r?\n/) 14 | .filter(notBlank) 15 | .reduce((headers, headerString) => { 16 | let header = headerString.split(":")[0]; 17 | headers[header] = xhr.getResponseHeader(header); 18 | return headers; 19 | }, {}); 20 | } 21 | 22 | const buildResponseObject = (xhr) => { 23 | let headers = {}; 24 | try { 25 | headers = parseHeaders(xhr) 26 | } catch (e) {}; 27 | return { 28 | status: xhr.status, 29 | text: xhr.responseText, 30 | headers: headers 31 | }; 32 | } 33 | 34 | const buildResponseHandler = (xhr, resolve, reject) => { 35 | return () => { 36 | let fn = xhr.status === 0 ? reject : resolve; 37 | fn(buildResponseObject(xhr)); 38 | } 39 | } 40 | 41 | const decorateProgressFn = (fn) => { 42 | return (e) => { 43 | e.percent = e.loaded / e.total; 44 | return fn(e); 45 | } 46 | } 47 | 48 | export class Request { 49 | static create(...args) { 50 | return new this(...args); 51 | } 52 | 53 | constructor(url, method, attrs = {}, headers = {}) { 54 | this._xhr = new Request.XMLHttpRequest(); 55 | this._formData = new Request.FormData(); 56 | 57 | this._xhr.open(method, url); 58 | 59 | this._promise = new Promise((resolve, reject) => { 60 | this._xhr.onload = buildResponseHandler(this._xhr, resolve, reject); 61 | this._xhr.onerror = buildResponseHandler(this._xhr, resolve, reject); 62 | }); 63 | 64 | Object.keys(attrs).forEach((k) => this.set(k, attrs[k])); 65 | Object.keys(headers).forEach((k) => this.header(k, headers[k])); 66 | } 67 | 68 | header(key, value) { 69 | this._xhr.setRequestHeader(key, value); 70 | return this; 71 | } 72 | 73 | set(key, value) { 74 | this._formData.append(key, value); 75 | return this; 76 | } 77 | 78 | send() { 79 | this._xhr.send(this._formData); 80 | return this; 81 | } 82 | 83 | abort() { 84 | this._xhr.abort(); 85 | return this; 86 | } 87 | 88 | progress(fn) { 89 | if (this._xhr.upload) { 90 | this._xhr.upload.onprogress = decorateProgressFn(fn); 91 | } 92 | return this; 93 | } 94 | 95 | then(...args) { 96 | this._promise = this._promise.then(...args); 97 | return this; 98 | } 99 | 100 | catch(...args) { 101 | this._promise = this._promise.catch(...args); 102 | return this; 103 | } 104 | } 105 | 106 | Request.FormData = FormData 107 | Request.XMLHttpRequest = XMLHttpRequest 108 | -------------------------------------------------------------------------------- /src/S3Policy.js: -------------------------------------------------------------------------------- 1 | /** 2 | * S3Policy 3 | */ 4 | 5 | const CryptoJS = require('crypto-js'); 6 | const Buffer = global.Buffer || require('buffer').Buffer; 7 | const { dateToString } = require('./DateUtils'); 8 | 9 | const FIVE_MINUTES = (5 * (60 * 1000)); 10 | 11 | const AWS_ACL = "public-read"; 12 | const AWS_SERVICE_NAME = "s3"; 13 | const AWS_REQUEST_POLICY_VERSION = "aws4_request"; 14 | const AWS_ALGORITHM = "AWS4-HMAC-SHA256"; 15 | 16 | const DEFAULT_SUCCESS_ACTION_STATUS = "201"; 17 | 18 | const assert = (object, message) => { 19 | if (null == object) throw new Error(message); 20 | } 21 | 22 | export class S3Policy { 23 | static generate(options) { 24 | options || (options = {}); 25 | 26 | assert(options.key, "Must provide `key` option with the object key"); 27 | assert(options.bucket, "Must provide `bucket` option with your AWS bucket name"); 28 | assert(options.contentType, "Must provide `contentType` option with the object content type"); 29 | assert(options.region, "Must provide `region` option with your AWS region"); 30 | assert(options.date, "Must provide `date` option with the current date"); 31 | assert(options.accessKey, "Must provide `accessKey` option with your AWSAccessKeyId"); 32 | assert(options.secretKey, "Must provide `secretKey` option with your AWSSecretKey"); 33 | 34 | const date = options.date; 35 | const timeDelta = options.timeDelta || 0; 36 | const policyExpiresIn = FIVE_MINUTES - timeDelta; 37 | const expirationDate = new Date(date.getTime() + policyExpiresIn); 38 | 39 | const policyParams = { 40 | ...options, 41 | acl: options.acl || AWS_ACL, 42 | algorithm: AWS_ALGORITHM, 43 | amzDate: dateToString(date, 'amz-iso8601'), 44 | yyyymmddDate: dateToString(date, 'yyyymmdd'), 45 | expirationDate: dateToString(expirationDate, 'iso8601'), 46 | successActionStatus: String(options.successActionStatus || DEFAULT_SUCCESS_ACTION_STATUS), 47 | } 48 | 49 | policyParams.credential = [ 50 | policyParams.accessKey, 51 | policyParams.yyyymmddDate, 52 | policyParams.region, 53 | AWS_SERVICE_NAME, 54 | AWS_REQUEST_POLICY_VERSION 55 | ].join('/'); 56 | 57 | const policy = formatPolicyForEncoding(policyParams); 58 | const base64EncodedPolicy = getEncodedPolicy(policy); 59 | const signature = getSignature(base64EncodedPolicy, policyParams); 60 | 61 | return formatPolicyForRequestBody(base64EncodedPolicy, signature, policyParams); 62 | } 63 | } 64 | 65 | const formatPolicyForRequestBody = (base64EncodedPolicy, signature, options) => { 66 | return { 67 | "key": options.key, 68 | "acl": options.acl, 69 | "success_action_status": options.successActionStatus, 70 | "Content-Type": options.contentType, 71 | "X-Amz-Credential": options.credential, 72 | "X-Amz-Algorithm": options.algorithm, 73 | "X-Amz-Date": options.amzDate, 74 | "Policy": base64EncodedPolicy, 75 | "X-Amz-Signature": signature, 76 | } 77 | } 78 | 79 | const formatPolicyForEncoding = (policy) => { 80 | return { 81 | "expiration": policy.expirationDate, 82 | "conditions": [ 83 | {"bucket": policy.bucket}, 84 | {"key": policy.key}, 85 | {"acl": policy.acl}, 86 | {"success_action_status": policy.successActionStatus}, 87 | {"Content-Type": policy.contentType}, 88 | {"x-amz-credential": policy.credential}, 89 | {"x-amz-algorithm": policy.algorithm}, 90 | {"x-amz-date": policy.amzDate} 91 | ] 92 | } 93 | } 94 | 95 | const getEncodedPolicy = (policy) => { 96 | return Buffer.from( 97 | JSON.stringify(policy), 98 | "utf-8" 99 | ).toString("base64"); 100 | } 101 | 102 | const getSignature = (base64EncodedPolicy, options) => { 103 | return CryptoJS.HmacSHA256( 104 | base64EncodedPolicy, 105 | getSignatureKey(options) 106 | ).toString(CryptoJS.enc.Hex); 107 | } 108 | 109 | const getSignatureKey = (options) => { 110 | const kDate = CryptoJS.HmacSHA256(options.yyyymmddDate, "AWS4" + options.secretKey); 111 | const kRegion = CryptoJS.HmacSHA256(options.region, kDate); 112 | const kService = CryptoJS.HmacSHA256(AWS_SERVICE_NAME, kRegion); 113 | const kSigning = CryptoJS.HmacSHA256(AWS_REQUEST_POLICY_VERSION, kService); 114 | 115 | return kSigning; 116 | } 117 | -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- 1 | # THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. 2 | # yarn lockfile v1 3 | 4 | 5 | abab@^1.0.3: 6 | version "1.0.3" 7 | resolved "https://registry.yarnpkg.com/abab/-/abab-1.0.3.tgz#b81de5f7274ec4e756d797cd834f303642724e5d" 8 | 9 | abbrev@1: 10 | version "1.1.0" 11 | resolved "https://registry.yarnpkg.com/abbrev/-/abbrev-1.1.0.tgz#d0554c2256636e2f56e7c2e5ad183f859428d81f" 12 | 13 | acorn-globals@^3.1.0: 14 | version "3.1.0" 15 | resolved "https://registry.yarnpkg.com/acorn-globals/-/acorn-globals-3.1.0.tgz#fd8270f71fbb4996b004fa880ee5d46573a731bf" 16 | dependencies: 17 | acorn "^4.0.4" 18 | 19 | acorn@^4.0.4: 20 | version "4.0.11" 21 | resolved "https://registry.yarnpkg.com/acorn/-/acorn-4.0.11.tgz#edcda3bd937e7556410d42ed5860f67399c794c0" 22 | 23 | ajv@^4.9.1: 24 | version "4.11.5" 25 | resolved "https://registry.yarnpkg.com/ajv/-/ajv-4.11.5.tgz#b6ee74657b993a01dce44b7944d56f485828d5bd" 26 | dependencies: 27 | co "^4.6.0" 28 | json-stable-stringify "^1.0.1" 29 | 30 | align-text@^0.1.1, align-text@^0.1.3: 31 | version "0.1.4" 32 | resolved "https://registry.yarnpkg.com/align-text/-/align-text-0.1.4.tgz#0cd90a561093f35d0a99256c22b7069433fad117" 33 | dependencies: 34 | kind-of "^3.0.2" 35 | longest "^1.0.1" 36 | repeat-string "^1.5.2" 37 | 38 | amdefine@>=0.0.4: 39 | version "1.0.1" 40 | resolved "https://registry.yarnpkg.com/amdefine/-/amdefine-1.0.1.tgz#4a5282ac164729e93619bcfd3ad151f817ce91f5" 41 | 42 | ansi-escapes@^1.4.0: 43 | version "1.4.0" 44 | resolved "https://registry.yarnpkg.com/ansi-escapes/-/ansi-escapes-1.4.0.tgz#d3a8a83b319aa67793662b13e761c7911422306e" 45 | 46 | ansi-regex@^2.0.0: 47 | version "2.1.1" 48 | resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-2.1.1.tgz#c3b33ab5ee360d86e0e628f0468ae7ef27d654df" 49 | 50 | ansi-styles@^2.2.1: 51 | version "2.2.1" 52 | resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-2.2.1.tgz#b432dd3358b634cf75e1e4664368240533c1ddbe" 53 | 54 | ansi-styles@^3.0.0: 55 | version "3.0.0" 56 | resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-3.0.0.tgz#5404e93a544c4fec7f048262977bebfe3155e0c1" 57 | dependencies: 58 | color-convert "^1.0.0" 59 | 60 | anymatch@^1.3.0: 61 | version "1.3.0" 62 | resolved "https://registry.yarnpkg.com/anymatch/-/anymatch-1.3.0.tgz#a3e52fa39168c825ff57b0248126ce5a8ff95507" 63 | dependencies: 64 | arrify "^1.0.0" 65 | micromatch "^2.1.5" 66 | 67 | append-transform@^0.4.0: 68 | version "0.4.0" 69 | resolved "https://registry.yarnpkg.com/append-transform/-/append-transform-0.4.0.tgz#d76ebf8ca94d276e247a36bad44a4b74ab611991" 70 | dependencies: 71 | default-require-extensions "^1.0.0" 72 | 73 | aproba@^1.0.3: 74 | version "1.1.1" 75 | resolved "https://registry.yarnpkg.com/aproba/-/aproba-1.1.1.tgz#95d3600f07710aa0e9298c726ad5ecf2eacbabab" 76 | 77 | are-we-there-yet@~1.1.2: 78 | version "1.1.2" 79 | resolved "https://registry.yarnpkg.com/are-we-there-yet/-/are-we-there-yet-1.1.2.tgz#80e470e95a084794fe1899262c5667c6e88de1b3" 80 | dependencies: 81 | delegates "^1.0.0" 82 | readable-stream "^2.0.0 || ^1.1.13" 83 | 84 | argparse@^1.0.7: 85 | version "1.0.9" 86 | resolved "https://registry.yarnpkg.com/argparse/-/argparse-1.0.9.tgz#73d83bc263f86e97f8cc4f6bae1b0e90a7d22c86" 87 | dependencies: 88 | sprintf-js "~1.0.2" 89 | 90 | arr-diff@^2.0.0: 91 | version "2.0.0" 92 | resolved "https://registry.yarnpkg.com/arr-diff/-/arr-diff-2.0.0.tgz#8f3b827f955a8bd669697e4a4256ac3ceae356cf" 93 | dependencies: 94 | arr-flatten "^1.0.1" 95 | 96 | arr-flatten@^1.0.1: 97 | version "1.0.1" 98 | resolved "https://registry.yarnpkg.com/arr-flatten/-/arr-flatten-1.0.1.tgz#e5ffe54d45e19f32f216e91eb99c8ce892bb604b" 99 | 100 | array-equal@^1.0.0: 101 | version "1.0.0" 102 | resolved "https://registry.yarnpkg.com/array-equal/-/array-equal-1.0.0.tgz#8c2a5ef2472fd9ea742b04c77a75093ba2757c93" 103 | 104 | array-unique@^0.2.1: 105 | version "0.2.1" 106 | resolved "https://registry.yarnpkg.com/array-unique/-/array-unique-0.2.1.tgz#a1d97ccafcbc2625cc70fadceb36a50c58b01a53" 107 | 108 | arrify@^1.0.0, arrify@^1.0.1: 109 | version "1.0.1" 110 | resolved "https://registry.yarnpkg.com/arrify/-/arrify-1.0.1.tgz#898508da2226f380df904728456849c1501a4b0d" 111 | 112 | asn1@~0.2.3: 113 | version "0.2.3" 114 | resolved "https://registry.yarnpkg.com/asn1/-/asn1-0.2.3.tgz#dac8787713c9966849fc8180777ebe9c1ddf3b86" 115 | 116 | assert-plus@1.0.0, assert-plus@^1.0.0: 117 | version "1.0.0" 118 | resolved "https://registry.yarnpkg.com/assert-plus/-/assert-plus-1.0.0.tgz#f12e0f3c5d77b0b1cdd9146942e4e96c1e4dd525" 119 | 120 | assert-plus@^0.2.0: 121 | version "0.2.0" 122 | resolved "https://registry.yarnpkg.com/assert-plus/-/assert-plus-0.2.0.tgz#d74e1b87e7affc0db8aadb7021f3fe48101ab234" 123 | 124 | async-each@^1.0.0: 125 | version "1.0.1" 126 | resolved "https://registry.yarnpkg.com/async-each/-/async-each-1.0.1.tgz#19d386a1d9edc6e7c1c85d388aedbcc56d33602d" 127 | 128 | async@^1.4.0: 129 | version "1.5.2" 130 | resolved "https://registry.yarnpkg.com/async/-/async-1.5.2.tgz#ec6a61ae56480c0c3cb241c95618e20892f9672a" 131 | 132 | async@^2.1.4: 133 | version "2.2.0" 134 | resolved "https://registry.yarnpkg.com/async/-/async-2.2.0.tgz#c324eba010a237e4fbd55a12dee86367d5c0ef32" 135 | dependencies: 136 | lodash "^4.14.0" 137 | 138 | asynckit@^0.4.0: 139 | version "0.4.0" 140 | resolved "https://registry.yarnpkg.com/asynckit/-/asynckit-0.4.0.tgz#c79ed97f7f34cb8f2ba1bc9790bcc366474b4b79" 141 | 142 | aws-sign2@~0.6.0: 143 | version "0.6.0" 144 | resolved "https://registry.yarnpkg.com/aws-sign2/-/aws-sign2-0.6.0.tgz#14342dd38dbcc94d0e5b87d763cd63612c0e794f" 145 | 146 | aws4@^1.2.1: 147 | version "1.6.0" 148 | resolved "https://registry.yarnpkg.com/aws4/-/aws4-1.6.0.tgz#83ef5ca860b2b32e4a0deedee8c771b9db57471e" 149 | 150 | babel-cli@^6.24.0: 151 | version "6.24.0" 152 | resolved "https://registry.yarnpkg.com/babel-cli/-/babel-cli-6.24.0.tgz#a05ffd210dca0c288a26d5319c5ac8669a265ad0" 153 | dependencies: 154 | babel-core "^6.24.0" 155 | babel-polyfill "^6.23.0" 156 | babel-register "^6.24.0" 157 | babel-runtime "^6.22.0" 158 | commander "^2.8.1" 159 | convert-source-map "^1.1.0" 160 | fs-readdir-recursive "^1.0.0" 161 | glob "^7.0.0" 162 | lodash "^4.2.0" 163 | output-file-sync "^1.1.0" 164 | path-is-absolute "^1.0.0" 165 | slash "^1.0.0" 166 | source-map "^0.5.0" 167 | v8flags "^2.0.10" 168 | optionalDependencies: 169 | chokidar "^1.6.1" 170 | 171 | babel-code-frame@^6.22.0: 172 | version "6.22.0" 173 | resolved "https://registry.yarnpkg.com/babel-code-frame/-/babel-code-frame-6.22.0.tgz#027620bee567a88c32561574e7fd0801d33118e4" 174 | dependencies: 175 | chalk "^1.1.0" 176 | esutils "^2.0.2" 177 | js-tokens "^3.0.0" 178 | 179 | babel-core@^6.0.0, babel-core@^6.24.0: 180 | version "6.24.0" 181 | resolved "https://registry.yarnpkg.com/babel-core/-/babel-core-6.24.0.tgz#8f36a0a77f5c155aed6f920b844d23ba56742a02" 182 | dependencies: 183 | babel-code-frame "^6.22.0" 184 | babel-generator "^6.24.0" 185 | babel-helpers "^6.23.0" 186 | babel-messages "^6.23.0" 187 | babel-register "^6.24.0" 188 | babel-runtime "^6.22.0" 189 | babel-template "^6.23.0" 190 | babel-traverse "^6.23.1" 191 | babel-types "^6.23.0" 192 | babylon "^6.11.0" 193 | convert-source-map "^1.1.0" 194 | debug "^2.1.1" 195 | json5 "^0.5.0" 196 | lodash "^4.2.0" 197 | minimatch "^3.0.2" 198 | path-is-absolute "^1.0.0" 199 | private "^0.1.6" 200 | slash "^1.0.0" 201 | source-map "^0.5.0" 202 | 203 | babel-generator@^6.18.0, babel-generator@^6.24.0: 204 | version "6.24.0" 205 | resolved "https://registry.yarnpkg.com/babel-generator/-/babel-generator-6.24.0.tgz#eba270a8cc4ce6e09a61be43465d7c62c1f87c56" 206 | dependencies: 207 | babel-messages "^6.23.0" 208 | babel-runtime "^6.22.0" 209 | babel-types "^6.23.0" 210 | detect-indent "^4.0.0" 211 | jsesc "^1.3.0" 212 | lodash "^4.2.0" 213 | source-map "^0.5.0" 214 | trim-right "^1.0.1" 215 | 216 | babel-helper-builder-binary-assignment-operator-visitor@^6.22.0: 217 | version "6.22.0" 218 | resolved "https://registry.yarnpkg.com/babel-helper-builder-binary-assignment-operator-visitor/-/babel-helper-builder-binary-assignment-operator-visitor-6.22.0.tgz#29df56be144d81bdeac08262bfa41d2c5e91cdcd" 219 | dependencies: 220 | babel-helper-explode-assignable-expression "^6.22.0" 221 | babel-runtime "^6.22.0" 222 | babel-types "^6.22.0" 223 | 224 | babel-helper-call-delegate@^6.22.0: 225 | version "6.22.0" 226 | resolved "https://registry.yarnpkg.com/babel-helper-call-delegate/-/babel-helper-call-delegate-6.22.0.tgz#119921b56120f17e9dae3f74b4f5cc7bcc1b37ef" 227 | dependencies: 228 | babel-helper-hoist-variables "^6.22.0" 229 | babel-runtime "^6.22.0" 230 | babel-traverse "^6.22.0" 231 | babel-types "^6.22.0" 232 | 233 | babel-helper-define-map@^6.23.0: 234 | version "6.23.0" 235 | resolved "https://registry.yarnpkg.com/babel-helper-define-map/-/babel-helper-define-map-6.23.0.tgz#1444f960c9691d69a2ced6a205315f8fd00804e7" 236 | dependencies: 237 | babel-helper-function-name "^6.23.0" 238 | babel-runtime "^6.22.0" 239 | babel-types "^6.23.0" 240 | lodash "^4.2.0" 241 | 242 | babel-helper-explode-assignable-expression@^6.22.0: 243 | version "6.22.0" 244 | resolved "https://registry.yarnpkg.com/babel-helper-explode-assignable-expression/-/babel-helper-explode-assignable-expression-6.22.0.tgz#c97bf76eed3e0bae4048121f2b9dae1a4e7d0478" 245 | dependencies: 246 | babel-runtime "^6.22.0" 247 | babel-traverse "^6.22.0" 248 | babel-types "^6.22.0" 249 | 250 | babel-helper-function-name@^6.22.0, babel-helper-function-name@^6.23.0: 251 | version "6.23.0" 252 | resolved "https://registry.yarnpkg.com/babel-helper-function-name/-/babel-helper-function-name-6.23.0.tgz#25742d67175c8903dbe4b6cb9d9e1fcb8dcf23a6" 253 | dependencies: 254 | babel-helper-get-function-arity "^6.22.0" 255 | babel-runtime "^6.22.0" 256 | babel-template "^6.23.0" 257 | babel-traverse "^6.23.0" 258 | babel-types "^6.23.0" 259 | 260 | babel-helper-get-function-arity@^6.22.0: 261 | version "6.22.0" 262 | resolved "https://registry.yarnpkg.com/babel-helper-get-function-arity/-/babel-helper-get-function-arity-6.22.0.tgz#0beb464ad69dc7347410ac6ade9f03a50634f5ce" 263 | dependencies: 264 | babel-runtime "^6.22.0" 265 | babel-types "^6.22.0" 266 | 267 | babel-helper-hoist-variables@^6.22.0: 268 | version "6.22.0" 269 | resolved "https://registry.yarnpkg.com/babel-helper-hoist-variables/-/babel-helper-hoist-variables-6.22.0.tgz#3eacbf731d80705845dd2e9718f600cfb9b4ba72" 270 | dependencies: 271 | babel-runtime "^6.22.0" 272 | babel-types "^6.22.0" 273 | 274 | babel-helper-optimise-call-expression@^6.23.0: 275 | version "6.23.0" 276 | resolved "https://registry.yarnpkg.com/babel-helper-optimise-call-expression/-/babel-helper-optimise-call-expression-6.23.0.tgz#f3ee7eed355b4282138b33d02b78369e470622f5" 277 | dependencies: 278 | babel-runtime "^6.22.0" 279 | babel-types "^6.23.0" 280 | 281 | babel-helper-regex@^6.22.0: 282 | version "6.22.0" 283 | resolved "https://registry.yarnpkg.com/babel-helper-regex/-/babel-helper-regex-6.22.0.tgz#79f532be1647b1f0ee3474b5f5c3da58001d247d" 284 | dependencies: 285 | babel-runtime "^6.22.0" 286 | babel-types "^6.22.0" 287 | lodash "^4.2.0" 288 | 289 | babel-helper-remap-async-to-generator@^6.22.0: 290 | version "6.22.0" 291 | resolved "https://registry.yarnpkg.com/babel-helper-remap-async-to-generator/-/babel-helper-remap-async-to-generator-6.22.0.tgz#2186ae73278ed03b8b15ced089609da981053383" 292 | dependencies: 293 | babel-helper-function-name "^6.22.0" 294 | babel-runtime "^6.22.0" 295 | babel-template "^6.22.0" 296 | babel-traverse "^6.22.0" 297 | babel-types "^6.22.0" 298 | 299 | babel-helper-replace-supers@^6.22.0, babel-helper-replace-supers@^6.23.0: 300 | version "6.23.0" 301 | resolved "https://registry.yarnpkg.com/babel-helper-replace-supers/-/babel-helper-replace-supers-6.23.0.tgz#eeaf8ad9b58ec4337ca94223bacdca1f8d9b4bfd" 302 | dependencies: 303 | babel-helper-optimise-call-expression "^6.23.0" 304 | babel-messages "^6.23.0" 305 | babel-runtime "^6.22.0" 306 | babel-template "^6.23.0" 307 | babel-traverse "^6.23.0" 308 | babel-types "^6.23.0" 309 | 310 | babel-helpers@^6.23.0: 311 | version "6.23.0" 312 | resolved "https://registry.yarnpkg.com/babel-helpers/-/babel-helpers-6.23.0.tgz#4f8f2e092d0b6a8808a4bde79c27f1e2ecf0d992" 313 | dependencies: 314 | babel-runtime "^6.22.0" 315 | babel-template "^6.23.0" 316 | 317 | babel-jest@^19.0.0: 318 | version "19.0.0" 319 | resolved "https://registry.yarnpkg.com/babel-jest/-/babel-jest-19.0.0.tgz#59323ced99a3a84d359da219ca881074ffc6ce3f" 320 | dependencies: 321 | babel-core "^6.0.0" 322 | babel-plugin-istanbul "^4.0.0" 323 | babel-preset-jest "^19.0.0" 324 | 325 | babel-messages@^6.23.0: 326 | version "6.23.0" 327 | resolved "https://registry.yarnpkg.com/babel-messages/-/babel-messages-6.23.0.tgz#f3cdf4703858035b2a2951c6ec5edf6c62f2630e" 328 | dependencies: 329 | babel-runtime "^6.22.0" 330 | 331 | babel-plugin-check-es2015-constants@^6.22.0: 332 | version "6.22.0" 333 | resolved "https://registry.yarnpkg.com/babel-plugin-check-es2015-constants/-/babel-plugin-check-es2015-constants-6.22.0.tgz#35157b101426fd2ffd3da3f75c7d1e91835bbf8a" 334 | dependencies: 335 | babel-runtime "^6.22.0" 336 | 337 | babel-plugin-istanbul@^4.0.0: 338 | version "4.1.1" 339 | resolved "https://registry.yarnpkg.com/babel-plugin-istanbul/-/babel-plugin-istanbul-4.1.1.tgz#c12de0fc6fe42adfb16be56f1ad11e4a9782eca9" 340 | dependencies: 341 | find-up "^2.1.0" 342 | istanbul-lib-instrument "^1.6.2" 343 | test-exclude "^4.0.3" 344 | 345 | babel-plugin-jest-hoist@^19.0.0: 346 | version "19.0.0" 347 | resolved "https://registry.yarnpkg.com/babel-plugin-jest-hoist/-/babel-plugin-jest-hoist-19.0.0.tgz#4ae2a04ea612a6e73651f3fde52c178991304bea" 348 | 349 | babel-plugin-syntax-async-functions@^6.8.0: 350 | version "6.13.0" 351 | resolved "https://registry.yarnpkg.com/babel-plugin-syntax-async-functions/-/babel-plugin-syntax-async-functions-6.13.0.tgz#cad9cad1191b5ad634bf30ae0872391e0647be95" 352 | 353 | babel-plugin-syntax-async-generators@^6.5.0: 354 | version "6.13.0" 355 | resolved "https://registry.yarnpkg.com/babel-plugin-syntax-async-generators/-/babel-plugin-syntax-async-generators-6.13.0.tgz#6bc963ebb16eccbae6b92b596eb7f35c342a8b9a" 356 | 357 | babel-plugin-syntax-exponentiation-operator@^6.8.0: 358 | version "6.13.0" 359 | resolved "https://registry.yarnpkg.com/babel-plugin-syntax-exponentiation-operator/-/babel-plugin-syntax-exponentiation-operator-6.13.0.tgz#9ee7e8337290da95288201a6a57f4170317830de" 360 | 361 | babel-plugin-syntax-object-rest-spread@^6.8.0: 362 | version "6.13.0" 363 | resolved "https://registry.yarnpkg.com/babel-plugin-syntax-object-rest-spread/-/babel-plugin-syntax-object-rest-spread-6.13.0.tgz#fd6536f2bce13836ffa3a5458c4903a597bb3bf5" 364 | 365 | babel-plugin-syntax-trailing-function-commas@^6.22.0: 366 | version "6.22.0" 367 | resolved "https://registry.yarnpkg.com/babel-plugin-syntax-trailing-function-commas/-/babel-plugin-syntax-trailing-function-commas-6.22.0.tgz#ba0360937f8d06e40180a43fe0d5616fff532cf3" 368 | 369 | babel-plugin-transform-async-generator-functions@^6.22.0: 370 | version "6.22.0" 371 | resolved "https://registry.yarnpkg.com/babel-plugin-transform-async-generator-functions/-/babel-plugin-transform-async-generator-functions-6.22.0.tgz#a720a98153a7596f204099cd5409f4b3c05bab46" 372 | dependencies: 373 | babel-helper-remap-async-to-generator "^6.22.0" 374 | babel-plugin-syntax-async-generators "^6.5.0" 375 | babel-runtime "^6.22.0" 376 | 377 | babel-plugin-transform-async-to-generator@^6.22.0: 378 | version "6.22.0" 379 | resolved "https://registry.yarnpkg.com/babel-plugin-transform-async-to-generator/-/babel-plugin-transform-async-to-generator-6.22.0.tgz#194b6938ec195ad36efc4c33a971acf00d8cd35e" 380 | dependencies: 381 | babel-helper-remap-async-to-generator "^6.22.0" 382 | babel-plugin-syntax-async-functions "^6.8.0" 383 | babel-runtime "^6.22.0" 384 | 385 | babel-plugin-transform-es2015-arrow-functions@^6.22.0: 386 | version "6.22.0" 387 | resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-arrow-functions/-/babel-plugin-transform-es2015-arrow-functions-6.22.0.tgz#452692cb711d5f79dc7f85e440ce41b9f244d221" 388 | dependencies: 389 | babel-runtime "^6.22.0" 390 | 391 | babel-plugin-transform-es2015-block-scoped-functions@^6.22.0: 392 | version "6.22.0" 393 | resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-block-scoped-functions/-/babel-plugin-transform-es2015-block-scoped-functions-6.22.0.tgz#bbc51b49f964d70cb8d8e0b94e820246ce3a6141" 394 | dependencies: 395 | babel-runtime "^6.22.0" 396 | 397 | babel-plugin-transform-es2015-block-scoping@^6.22.0: 398 | version "6.23.0" 399 | resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-block-scoping/-/babel-plugin-transform-es2015-block-scoping-6.23.0.tgz#e48895cf0b375be148cd7c8879b422707a053b51" 400 | dependencies: 401 | babel-runtime "^6.22.0" 402 | babel-template "^6.23.0" 403 | babel-traverse "^6.23.0" 404 | babel-types "^6.23.0" 405 | lodash "^4.2.0" 406 | 407 | babel-plugin-transform-es2015-classes@^6.22.0: 408 | version "6.23.0" 409 | resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-classes/-/babel-plugin-transform-es2015-classes-6.23.0.tgz#49b53f326202a2fd1b3bbaa5e2edd8a4f78643c1" 410 | dependencies: 411 | babel-helper-define-map "^6.23.0" 412 | babel-helper-function-name "^6.23.0" 413 | babel-helper-optimise-call-expression "^6.23.0" 414 | babel-helper-replace-supers "^6.23.0" 415 | babel-messages "^6.23.0" 416 | babel-runtime "^6.22.0" 417 | babel-template "^6.23.0" 418 | babel-traverse "^6.23.0" 419 | babel-types "^6.23.0" 420 | 421 | babel-plugin-transform-es2015-computed-properties@^6.22.0: 422 | version "6.22.0" 423 | resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-computed-properties/-/babel-plugin-transform-es2015-computed-properties-6.22.0.tgz#7c383e9629bba4820c11b0425bdd6290f7f057e7" 424 | dependencies: 425 | babel-runtime "^6.22.0" 426 | babel-template "^6.22.0" 427 | 428 | babel-plugin-transform-es2015-destructuring@^6.22.0: 429 | version "6.23.0" 430 | resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-destructuring/-/babel-plugin-transform-es2015-destructuring-6.23.0.tgz#997bb1f1ab967f682d2b0876fe358d60e765c56d" 431 | dependencies: 432 | babel-runtime "^6.22.0" 433 | 434 | babel-plugin-transform-es2015-duplicate-keys@^6.22.0: 435 | version "6.22.0" 436 | resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-duplicate-keys/-/babel-plugin-transform-es2015-duplicate-keys-6.22.0.tgz#672397031c21610d72dd2bbb0ba9fb6277e1c36b" 437 | dependencies: 438 | babel-runtime "^6.22.0" 439 | babel-types "^6.22.0" 440 | 441 | babel-plugin-transform-es2015-for-of@^6.22.0: 442 | version "6.23.0" 443 | resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-for-of/-/babel-plugin-transform-es2015-for-of-6.23.0.tgz#f47c95b2b613df1d3ecc2fdb7573623c75248691" 444 | dependencies: 445 | babel-runtime "^6.22.0" 446 | 447 | babel-plugin-transform-es2015-function-name@^6.22.0: 448 | version "6.22.0" 449 | resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-function-name/-/babel-plugin-transform-es2015-function-name-6.22.0.tgz#f5fcc8b09093f9a23c76ac3d9e392c3ec4b77104" 450 | dependencies: 451 | babel-helper-function-name "^6.22.0" 452 | babel-runtime "^6.22.0" 453 | babel-types "^6.22.0" 454 | 455 | babel-plugin-transform-es2015-literals@^6.22.0: 456 | version "6.22.0" 457 | resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-literals/-/babel-plugin-transform-es2015-literals-6.22.0.tgz#4f54a02d6cd66cf915280019a31d31925377ca2e" 458 | dependencies: 459 | babel-runtime "^6.22.0" 460 | 461 | babel-plugin-transform-es2015-modules-amd@^6.24.0: 462 | version "6.24.0" 463 | resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-modules-amd/-/babel-plugin-transform-es2015-modules-amd-6.24.0.tgz#a1911fb9b7ec7e05a43a63c5995007557bcf6a2e" 464 | dependencies: 465 | babel-plugin-transform-es2015-modules-commonjs "^6.24.0" 466 | babel-runtime "^6.22.0" 467 | babel-template "^6.22.0" 468 | 469 | babel-plugin-transform-es2015-modules-commonjs@^6.24.0: 470 | version "6.24.0" 471 | resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-modules-commonjs/-/babel-plugin-transform-es2015-modules-commonjs-6.24.0.tgz#e921aefb72c2cc26cb03d107626156413222134f" 472 | dependencies: 473 | babel-plugin-transform-strict-mode "^6.22.0" 474 | babel-runtime "^6.22.0" 475 | babel-template "^6.23.0" 476 | babel-types "^6.23.0" 477 | 478 | babel-plugin-transform-es2015-modules-systemjs@^6.22.0: 479 | version "6.23.0" 480 | resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-modules-systemjs/-/babel-plugin-transform-es2015-modules-systemjs-6.23.0.tgz#ae3469227ffac39b0310d90fec73bfdc4f6317b0" 481 | dependencies: 482 | babel-helper-hoist-variables "^6.22.0" 483 | babel-runtime "^6.22.0" 484 | babel-template "^6.23.0" 485 | 486 | babel-plugin-transform-es2015-modules-umd@^6.24.0: 487 | version "6.24.0" 488 | resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-modules-umd/-/babel-plugin-transform-es2015-modules-umd-6.24.0.tgz#fd5fa63521cae8d273927c3958afd7c067733450" 489 | dependencies: 490 | babel-plugin-transform-es2015-modules-amd "^6.24.0" 491 | babel-runtime "^6.22.0" 492 | babel-template "^6.23.0" 493 | 494 | babel-plugin-transform-es2015-object-super@^6.22.0: 495 | version "6.22.0" 496 | resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-object-super/-/babel-plugin-transform-es2015-object-super-6.22.0.tgz#daa60e114a042ea769dd53fe528fc82311eb98fc" 497 | dependencies: 498 | babel-helper-replace-supers "^6.22.0" 499 | babel-runtime "^6.22.0" 500 | 501 | babel-plugin-transform-es2015-parameters@^6.22.0: 502 | version "6.23.0" 503 | resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-parameters/-/babel-plugin-transform-es2015-parameters-6.23.0.tgz#3a2aabb70c8af945d5ce386f1a4250625a83ae3b" 504 | dependencies: 505 | babel-helper-call-delegate "^6.22.0" 506 | babel-helper-get-function-arity "^6.22.0" 507 | babel-runtime "^6.22.0" 508 | babel-template "^6.23.0" 509 | babel-traverse "^6.23.0" 510 | babel-types "^6.23.0" 511 | 512 | babel-plugin-transform-es2015-shorthand-properties@^6.22.0: 513 | version "6.22.0" 514 | resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-shorthand-properties/-/babel-plugin-transform-es2015-shorthand-properties-6.22.0.tgz#8ba776e0affaa60bff21e921403b8a652a2ff723" 515 | dependencies: 516 | babel-runtime "^6.22.0" 517 | babel-types "^6.22.0" 518 | 519 | babel-plugin-transform-es2015-spread@^6.22.0: 520 | version "6.22.0" 521 | resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-spread/-/babel-plugin-transform-es2015-spread-6.22.0.tgz#d6d68a99f89aedc4536c81a542e8dd9f1746f8d1" 522 | dependencies: 523 | babel-runtime "^6.22.0" 524 | 525 | babel-plugin-transform-es2015-sticky-regex@^6.22.0: 526 | version "6.22.0" 527 | resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-sticky-regex/-/babel-plugin-transform-es2015-sticky-regex-6.22.0.tgz#ab316829e866ee3f4b9eb96939757d19a5bc4593" 528 | dependencies: 529 | babel-helper-regex "^6.22.0" 530 | babel-runtime "^6.22.0" 531 | babel-types "^6.22.0" 532 | 533 | babel-plugin-transform-es2015-template-literals@^6.22.0: 534 | version "6.22.0" 535 | resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-template-literals/-/babel-plugin-transform-es2015-template-literals-6.22.0.tgz#a84b3450f7e9f8f1f6839d6d687da84bb1236d8d" 536 | dependencies: 537 | babel-runtime "^6.22.0" 538 | 539 | babel-plugin-transform-es2015-typeof-symbol@^6.22.0: 540 | version "6.23.0" 541 | resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-typeof-symbol/-/babel-plugin-transform-es2015-typeof-symbol-6.23.0.tgz#dec09f1cddff94b52ac73d505c84df59dcceb372" 542 | dependencies: 543 | babel-runtime "^6.22.0" 544 | 545 | babel-plugin-transform-es2015-unicode-regex@^6.22.0: 546 | version "6.22.0" 547 | resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-unicode-regex/-/babel-plugin-transform-es2015-unicode-regex-6.22.0.tgz#8d9cc27e7ee1decfe65454fb986452a04a613d20" 548 | dependencies: 549 | babel-helper-regex "^6.22.0" 550 | babel-runtime "^6.22.0" 551 | regexpu-core "^2.0.0" 552 | 553 | babel-plugin-transform-exponentiation-operator@^6.22.0: 554 | version "6.22.0" 555 | resolved "https://registry.yarnpkg.com/babel-plugin-transform-exponentiation-operator/-/babel-plugin-transform-exponentiation-operator-6.22.0.tgz#d57c8335281918e54ef053118ce6eb108468084d" 556 | dependencies: 557 | babel-helper-builder-binary-assignment-operator-visitor "^6.22.0" 558 | babel-plugin-syntax-exponentiation-operator "^6.8.0" 559 | babel-runtime "^6.22.0" 560 | 561 | babel-plugin-transform-object-rest-spread@^6.22.0: 562 | version "6.23.0" 563 | resolved "https://registry.yarnpkg.com/babel-plugin-transform-object-rest-spread/-/babel-plugin-transform-object-rest-spread-6.23.0.tgz#875d6bc9be761c58a2ae3feee5dc4895d8c7f921" 564 | dependencies: 565 | babel-plugin-syntax-object-rest-spread "^6.8.0" 566 | babel-runtime "^6.22.0" 567 | 568 | babel-plugin-transform-regenerator@^6.22.0: 569 | version "6.22.0" 570 | resolved "https://registry.yarnpkg.com/babel-plugin-transform-regenerator/-/babel-plugin-transform-regenerator-6.22.0.tgz#65740593a319c44522157538d690b84094617ea6" 571 | dependencies: 572 | regenerator-transform "0.9.8" 573 | 574 | babel-plugin-transform-strict-mode@^6.22.0: 575 | version "6.22.0" 576 | resolved "https://registry.yarnpkg.com/babel-plugin-transform-strict-mode/-/babel-plugin-transform-strict-mode-6.22.0.tgz#e008df01340fdc87e959da65991b7e05970c8c7c" 577 | dependencies: 578 | babel-runtime "^6.22.0" 579 | babel-types "^6.22.0" 580 | 581 | babel-polyfill@^6.23.0: 582 | version "6.23.0" 583 | resolved "https://registry.yarnpkg.com/babel-polyfill/-/babel-polyfill-6.23.0.tgz#8364ca62df8eafb830499f699177466c3b03499d" 584 | dependencies: 585 | babel-runtime "^6.22.0" 586 | core-js "^2.4.0" 587 | regenerator-runtime "^0.10.0" 588 | 589 | babel-preset-es2015@^6.24.0: 590 | version "6.24.0" 591 | resolved "https://registry.yarnpkg.com/babel-preset-es2015/-/babel-preset-es2015-6.24.0.tgz#c162d68b1932696e036cd3110dc1ccd303d2673a" 592 | dependencies: 593 | babel-plugin-check-es2015-constants "^6.22.0" 594 | babel-plugin-transform-es2015-arrow-functions "^6.22.0" 595 | babel-plugin-transform-es2015-block-scoped-functions "^6.22.0" 596 | babel-plugin-transform-es2015-block-scoping "^6.22.0" 597 | babel-plugin-transform-es2015-classes "^6.22.0" 598 | babel-plugin-transform-es2015-computed-properties "^6.22.0" 599 | babel-plugin-transform-es2015-destructuring "^6.22.0" 600 | babel-plugin-transform-es2015-duplicate-keys "^6.22.0" 601 | babel-plugin-transform-es2015-for-of "^6.22.0" 602 | babel-plugin-transform-es2015-function-name "^6.22.0" 603 | babel-plugin-transform-es2015-literals "^6.22.0" 604 | babel-plugin-transform-es2015-modules-amd "^6.24.0" 605 | babel-plugin-transform-es2015-modules-commonjs "^6.24.0" 606 | babel-plugin-transform-es2015-modules-systemjs "^6.22.0" 607 | babel-plugin-transform-es2015-modules-umd "^6.24.0" 608 | babel-plugin-transform-es2015-object-super "^6.22.0" 609 | babel-plugin-transform-es2015-parameters "^6.22.0" 610 | babel-plugin-transform-es2015-shorthand-properties "^6.22.0" 611 | babel-plugin-transform-es2015-spread "^6.22.0" 612 | babel-plugin-transform-es2015-sticky-regex "^6.22.0" 613 | babel-plugin-transform-es2015-template-literals "^6.22.0" 614 | babel-plugin-transform-es2015-typeof-symbol "^6.22.0" 615 | babel-plugin-transform-es2015-unicode-regex "^6.22.0" 616 | babel-plugin-transform-regenerator "^6.22.0" 617 | 618 | babel-preset-jest@^19.0.0: 619 | version "19.0.0" 620 | resolved "https://registry.yarnpkg.com/babel-preset-jest/-/babel-preset-jest-19.0.0.tgz#22d67201d02324a195811288eb38294bb3cac396" 621 | dependencies: 622 | babel-plugin-jest-hoist "^19.0.0" 623 | 624 | babel-preset-stage-3@^6.22.0: 625 | version "6.22.0" 626 | resolved "https://registry.yarnpkg.com/babel-preset-stage-3/-/babel-preset-stage-3-6.22.0.tgz#a4e92bbace7456fafdf651d7a7657ee0bbca9c2e" 627 | dependencies: 628 | babel-plugin-syntax-trailing-function-commas "^6.22.0" 629 | babel-plugin-transform-async-generator-functions "^6.22.0" 630 | babel-plugin-transform-async-to-generator "^6.22.0" 631 | babel-plugin-transform-exponentiation-operator "^6.22.0" 632 | babel-plugin-transform-object-rest-spread "^6.22.0" 633 | 634 | babel-register@^6.24.0: 635 | version "6.24.0" 636 | resolved "https://registry.yarnpkg.com/babel-register/-/babel-register-6.24.0.tgz#5e89f8463ba9970356d02eb07dabe3308b080cfd" 637 | dependencies: 638 | babel-core "^6.24.0" 639 | babel-runtime "^6.22.0" 640 | core-js "^2.4.0" 641 | home-or-tmp "^2.0.0" 642 | lodash "^4.2.0" 643 | mkdirp "^0.5.1" 644 | source-map-support "^0.4.2" 645 | 646 | babel-runtime@^6.18.0, babel-runtime@^6.22.0: 647 | version "6.23.0" 648 | resolved "https://registry.yarnpkg.com/babel-runtime/-/babel-runtime-6.23.0.tgz#0a9489f144de70efb3ce4300accdb329e2fc543b" 649 | dependencies: 650 | core-js "^2.4.0" 651 | regenerator-runtime "^0.10.0" 652 | 653 | babel-template@^6.16.0, babel-template@^6.22.0, babel-template@^6.23.0: 654 | version "6.23.0" 655 | resolved "https://registry.yarnpkg.com/babel-template/-/babel-template-6.23.0.tgz#04d4f270adbb3aa704a8143ae26faa529238e638" 656 | dependencies: 657 | babel-runtime "^6.22.0" 658 | babel-traverse "^6.23.0" 659 | babel-types "^6.23.0" 660 | babylon "^6.11.0" 661 | lodash "^4.2.0" 662 | 663 | babel-traverse@^6.18.0, babel-traverse@^6.22.0, babel-traverse@^6.23.0, babel-traverse@^6.23.1: 664 | version "6.23.1" 665 | resolved "https://registry.yarnpkg.com/babel-traverse/-/babel-traverse-6.23.1.tgz#d3cb59010ecd06a97d81310065f966b699e14f48" 666 | dependencies: 667 | babel-code-frame "^6.22.0" 668 | babel-messages "^6.23.0" 669 | babel-runtime "^6.22.0" 670 | babel-types "^6.23.0" 671 | babylon "^6.15.0" 672 | debug "^2.2.0" 673 | globals "^9.0.0" 674 | invariant "^2.2.0" 675 | lodash "^4.2.0" 676 | 677 | babel-types@^6.18.0, babel-types@^6.19.0, babel-types@^6.22.0, babel-types@^6.23.0: 678 | version "6.23.0" 679 | resolved "https://registry.yarnpkg.com/babel-types/-/babel-types-6.23.0.tgz#bb17179d7538bad38cd0c9e115d340f77e7e9acf" 680 | dependencies: 681 | babel-runtime "^6.22.0" 682 | esutils "^2.0.2" 683 | lodash "^4.2.0" 684 | to-fast-properties "^1.0.1" 685 | 686 | babylon@^6.11.0, babylon@^6.13.0, babylon@^6.15.0: 687 | version "6.16.1" 688 | resolved "https://registry.yarnpkg.com/babylon/-/babylon-6.16.1.tgz#30c5a22f481978a9e7f8cdfdf496b11d94b404d3" 689 | 690 | balanced-match@^0.4.1: 691 | version "0.4.2" 692 | resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-0.4.2.tgz#cb3f3e3c732dc0f01ee70b403f302e61d7709838" 693 | 694 | base64-js@^1.0.2: 695 | version "1.2.0" 696 | resolved "https://registry.yarnpkg.com/base64-js/-/base64-js-1.2.0.tgz#a39992d723584811982be5e290bb6a53d86700f1" 697 | 698 | bcrypt-pbkdf@^1.0.0: 699 | version "1.0.1" 700 | resolved "https://registry.yarnpkg.com/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.1.tgz#63bc5dcb61331b92bc05fd528953c33462a06f8d" 701 | dependencies: 702 | tweetnacl "^0.14.3" 703 | 704 | binary-extensions@^1.0.0: 705 | version "1.8.0" 706 | resolved "https://registry.yarnpkg.com/binary-extensions/-/binary-extensions-1.8.0.tgz#48ec8d16df4377eae5fa5884682480af4d95c774" 707 | 708 | block-stream@*: 709 | version "0.0.9" 710 | resolved "https://registry.yarnpkg.com/block-stream/-/block-stream-0.0.9.tgz#13ebfe778a03205cfe03751481ebb4b3300c126a" 711 | dependencies: 712 | inherits "~2.0.0" 713 | 714 | boom@2.x.x: 715 | version "2.10.1" 716 | resolved "https://registry.yarnpkg.com/boom/-/boom-2.10.1.tgz#39c8918ceff5799f83f9492a848f625add0c766f" 717 | dependencies: 718 | hoek "2.x.x" 719 | 720 | brace-expansion@^1.0.0: 721 | version "1.1.6" 722 | resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-1.1.6.tgz#7197d7eaa9b87e648390ea61fc66c84427420df9" 723 | dependencies: 724 | balanced-match "^0.4.1" 725 | concat-map "0.0.1" 726 | 727 | braces@^1.8.2: 728 | version "1.8.5" 729 | resolved "https://registry.yarnpkg.com/braces/-/braces-1.8.5.tgz#ba77962e12dff969d6b76711e914b737857bf6a7" 730 | dependencies: 731 | expand-range "^1.8.1" 732 | preserve "^0.2.0" 733 | repeat-element "^1.1.2" 734 | 735 | browser-resolve@^1.11.2: 736 | version "1.11.2" 737 | resolved "https://registry.yarnpkg.com/browser-resolve/-/browser-resolve-1.11.2.tgz#8ff09b0a2c421718a1051c260b32e48f442938ce" 738 | dependencies: 739 | resolve "1.1.7" 740 | 741 | bser@1.0.2: 742 | version "1.0.2" 743 | resolved "https://registry.yarnpkg.com/bser/-/bser-1.0.2.tgz#381116970b2a6deea5646dd15dd7278444b56169" 744 | dependencies: 745 | node-int64 "^0.4.0" 746 | 747 | bser@^2.0.0: 748 | version "2.0.0" 749 | resolved "https://registry.yarnpkg.com/bser/-/bser-2.0.0.tgz#9ac78d3ed5d915804fd87acb158bc797147a1719" 750 | dependencies: 751 | node-int64 "^0.4.0" 752 | 753 | buffer-shims@^1.0.0: 754 | version "1.0.0" 755 | resolved "https://registry.yarnpkg.com/buffer-shims/-/buffer-shims-1.0.0.tgz#9978ce317388c649ad8793028c3477ef044a8b51" 756 | 757 | buffer@^4.5.1: 758 | version "4.9.1" 759 | resolved "https://registry.yarnpkg.com/buffer/-/buffer-4.9.1.tgz#6d1bb601b07a4efced97094132093027c95bc298" 760 | dependencies: 761 | base64-js "^1.0.2" 762 | ieee754 "^1.1.4" 763 | isarray "^1.0.0" 764 | 765 | builtin-modules@^1.0.0: 766 | version "1.1.1" 767 | resolved "https://registry.yarnpkg.com/builtin-modules/-/builtin-modules-1.1.1.tgz#270f076c5a72c02f5b65a47df94c5fe3a278892f" 768 | 769 | callsites@^2.0.0: 770 | version "2.0.0" 771 | resolved "https://registry.yarnpkg.com/callsites/-/callsites-2.0.0.tgz#06eb84f00eea413da86affefacbffb36093b3c50" 772 | 773 | camelcase@^1.0.2: 774 | version "1.2.1" 775 | resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-1.2.1.tgz#9bb5304d2e0b56698b2c758b08a3eaa9daa58a39" 776 | 777 | camelcase@^3.0.0: 778 | version "3.0.0" 779 | resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-3.0.0.tgz#32fc4b9fcdaf845fcdf7e73bb97cac2261f0ab0a" 780 | 781 | caseless@~0.12.0: 782 | version "0.12.0" 783 | resolved "https://registry.yarnpkg.com/caseless/-/caseless-0.12.0.tgz#1b681c21ff84033c826543090689420d187151dc" 784 | 785 | center-align@^0.1.1: 786 | version "0.1.3" 787 | resolved "https://registry.yarnpkg.com/center-align/-/center-align-0.1.3.tgz#aa0d32629b6ee972200411cbd4461c907bc2b7ad" 788 | dependencies: 789 | align-text "^0.1.3" 790 | lazy-cache "^1.0.3" 791 | 792 | chalk@^1.1.0, chalk@^1.1.1, chalk@^1.1.3: 793 | version "1.1.3" 794 | resolved "https://registry.yarnpkg.com/chalk/-/chalk-1.1.3.tgz#a8115c55e4a702fe4d150abd3872822a7e09fc98" 795 | dependencies: 796 | ansi-styles "^2.2.1" 797 | escape-string-regexp "^1.0.2" 798 | has-ansi "^2.0.0" 799 | strip-ansi "^3.0.0" 800 | supports-color "^2.0.0" 801 | 802 | chokidar@^1.6.1: 803 | version "1.6.1" 804 | resolved "https://registry.yarnpkg.com/chokidar/-/chokidar-1.6.1.tgz#2f4447ab5e96e50fb3d789fd90d4c72e0e4c70c2" 805 | dependencies: 806 | anymatch "^1.3.0" 807 | async-each "^1.0.0" 808 | glob-parent "^2.0.0" 809 | inherits "^2.0.1" 810 | is-binary-path "^1.0.0" 811 | is-glob "^2.0.0" 812 | path-is-absolute "^1.0.0" 813 | readdirp "^2.0.0" 814 | optionalDependencies: 815 | fsevents "^1.0.0" 816 | 817 | ci-info@^1.0.0: 818 | version "1.0.0" 819 | resolved "https://registry.yarnpkg.com/ci-info/-/ci-info-1.0.0.tgz#dc5285f2b4e251821683681c381c3388f46ec534" 820 | 821 | cliui@^2.1.0: 822 | version "2.1.0" 823 | resolved "https://registry.yarnpkg.com/cliui/-/cliui-2.1.0.tgz#4b475760ff80264c762c3a1719032e91c7fea0d1" 824 | dependencies: 825 | center-align "^0.1.1" 826 | right-align "^0.1.1" 827 | wordwrap "0.0.2" 828 | 829 | cliui@^3.2.0: 830 | version "3.2.0" 831 | resolved "https://registry.yarnpkg.com/cliui/-/cliui-3.2.0.tgz#120601537a916d29940f934da3b48d585a39213d" 832 | dependencies: 833 | string-width "^1.0.1" 834 | strip-ansi "^3.0.1" 835 | wrap-ansi "^2.0.0" 836 | 837 | co@^4.6.0: 838 | version "4.6.0" 839 | resolved "https://registry.yarnpkg.com/co/-/co-4.6.0.tgz#6ea6bdf3d853ae54ccb8e47bfa0bf3f9031fb184" 840 | 841 | code-point-at@^1.0.0: 842 | version "1.1.0" 843 | resolved "https://registry.yarnpkg.com/code-point-at/-/code-point-at-1.1.0.tgz#0d070b4d043a5bea33a2f1a40e2edb3d9a4ccf77" 844 | 845 | color-convert@^1.0.0: 846 | version "1.9.0" 847 | resolved "https://registry.yarnpkg.com/color-convert/-/color-convert-1.9.0.tgz#1accf97dd739b983bf994d56fec8f95853641b7a" 848 | dependencies: 849 | color-name "^1.1.1" 850 | 851 | color-name@^1.1.1: 852 | version "1.1.2" 853 | resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.2.tgz#5c8ab72b64bd2215d617ae9559ebb148475cf98d" 854 | 855 | combined-stream@^1.0.5, combined-stream@~1.0.5: 856 | version "1.0.5" 857 | resolved "https://registry.yarnpkg.com/combined-stream/-/combined-stream-1.0.5.tgz#938370a57b4a51dea2c77c15d5c5fdf895164009" 858 | dependencies: 859 | delayed-stream "~1.0.0" 860 | 861 | commander@^2.8.1: 862 | version "2.9.0" 863 | resolved "https://registry.yarnpkg.com/commander/-/commander-2.9.0.tgz#9c99094176e12240cb22d6c5146098400fe0f7d4" 864 | dependencies: 865 | graceful-readlink ">= 1.0.0" 866 | 867 | concat-map@0.0.1: 868 | version "0.0.1" 869 | resolved "https://registry.yarnpkg.com/concat-map/-/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b" 870 | 871 | console-control-strings@^1.0.0, console-control-strings@~1.1.0: 872 | version "1.1.0" 873 | resolved "https://registry.yarnpkg.com/console-control-strings/-/console-control-strings-1.1.0.tgz#3d7cf4464db6446ea644bf4b39507f9851008e8e" 874 | 875 | content-type-parser@^1.0.1: 876 | version "1.0.1" 877 | resolved "https://registry.yarnpkg.com/content-type-parser/-/content-type-parser-1.0.1.tgz#c3e56988c53c65127fb46d4032a3a900246fdc94" 878 | 879 | convert-source-map@^1.1.0: 880 | version "1.5.0" 881 | resolved "https://registry.yarnpkg.com/convert-source-map/-/convert-source-map-1.5.0.tgz#9acd70851c6d5dfdd93d9282e5edf94a03ff46b5" 882 | 883 | core-js@^2.4.0: 884 | version "2.4.1" 885 | resolved "https://registry.yarnpkg.com/core-js/-/core-js-2.4.1.tgz#4de911e667b0eae9124e34254b53aea6fc618d3e" 886 | 887 | core-util-is@~1.0.0: 888 | version "1.0.2" 889 | resolved "https://registry.yarnpkg.com/core-util-is/-/core-util-is-1.0.2.tgz#b5fd54220aa2bc5ab57aab7140c940754503c1a7" 890 | 891 | cryptiles@2.x.x: 892 | version "2.0.5" 893 | resolved "https://registry.yarnpkg.com/cryptiles/-/cryptiles-2.0.5.tgz#3bdfecdc608147c1c67202fa291e7dca59eaa3b8" 894 | dependencies: 895 | boom "2.x.x" 896 | 897 | crypto-js@^3.1.6: 898 | version "3.1.8" 899 | resolved "https://registry.yarnpkg.com/crypto-js/-/crypto-js-3.1.8.tgz#715f070bf6014f2ae992a98b3929258b713f08d5" 900 | 901 | cssom@0.3.x, "cssom@>= 0.3.2 < 0.4.0": 902 | version "0.3.2" 903 | resolved "https://registry.yarnpkg.com/cssom/-/cssom-0.3.2.tgz#b8036170c79f07a90ff2f16e22284027a243848b" 904 | 905 | "cssstyle@>= 0.2.37 < 0.3.0": 906 | version "0.2.37" 907 | resolved "https://registry.yarnpkg.com/cssstyle/-/cssstyle-0.2.37.tgz#541097234cb2513c83ceed3acddc27ff27987d54" 908 | dependencies: 909 | cssom "0.3.x" 910 | 911 | dashdash@^1.12.0: 912 | version "1.14.1" 913 | resolved "https://registry.yarnpkg.com/dashdash/-/dashdash-1.14.1.tgz#853cfa0f7cbe2fed5de20326b8dd581035f6e2f0" 914 | dependencies: 915 | assert-plus "^1.0.0" 916 | 917 | debug@^2.1.1, debug@^2.2.0: 918 | version "2.6.3" 919 | resolved "https://registry.yarnpkg.com/debug/-/debug-2.6.3.tgz#0f7eb8c30965ec08c72accfa0130c8b79984141d" 920 | dependencies: 921 | ms "0.7.2" 922 | 923 | decamelize@^1.0.0, decamelize@^1.1.1: 924 | version "1.2.0" 925 | resolved "https://registry.yarnpkg.com/decamelize/-/decamelize-1.2.0.tgz#f6534d15148269b20352e7bee26f501f9a191290" 926 | 927 | deep-extend@~0.4.0: 928 | version "0.4.1" 929 | resolved "https://registry.yarnpkg.com/deep-extend/-/deep-extend-0.4.1.tgz#efe4113d08085f4e6f9687759810f807469e2253" 930 | 931 | deep-is@~0.1.3: 932 | version "0.1.3" 933 | resolved "https://registry.yarnpkg.com/deep-is/-/deep-is-0.1.3.tgz#b369d6fb5dbc13eecf524f91b070feedc357cf34" 934 | 935 | default-require-extensions@^1.0.0: 936 | version "1.0.0" 937 | resolved "https://registry.yarnpkg.com/default-require-extensions/-/default-require-extensions-1.0.0.tgz#f37ea15d3e13ffd9b437d33e1a75b5fb97874cb8" 938 | dependencies: 939 | strip-bom "^2.0.0" 940 | 941 | delayed-stream@~1.0.0: 942 | version "1.0.0" 943 | resolved "https://registry.yarnpkg.com/delayed-stream/-/delayed-stream-1.0.0.tgz#df3ae199acadfb7d440aaae0b29e2272b24ec619" 944 | 945 | delegates@^1.0.0: 946 | version "1.0.0" 947 | resolved "https://registry.yarnpkg.com/delegates/-/delegates-1.0.0.tgz#84c6e159b81904fdca59a0ef44cd870d31250f9a" 948 | 949 | detect-indent@^4.0.0: 950 | version "4.0.0" 951 | resolved "https://registry.yarnpkg.com/detect-indent/-/detect-indent-4.0.0.tgz#f76d064352cdf43a1cb6ce619c4ee3a9475de208" 952 | dependencies: 953 | repeating "^2.0.0" 954 | 955 | diff@^3.0.0: 956 | version "3.2.0" 957 | resolved "https://registry.yarnpkg.com/diff/-/diff-3.2.0.tgz#c9ce393a4b7cbd0b058a725c93df299027868ff9" 958 | 959 | ecc-jsbn@~0.1.1: 960 | version "0.1.1" 961 | resolved "https://registry.yarnpkg.com/ecc-jsbn/-/ecc-jsbn-0.1.1.tgz#0fc73a9ed5f0d53c38193398523ef7e543777505" 962 | dependencies: 963 | jsbn "~0.1.0" 964 | 965 | "errno@>=0.1.1 <0.2.0-0": 966 | version "0.1.4" 967 | resolved "https://registry.yarnpkg.com/errno/-/errno-0.1.4.tgz#b896e23a9e5e8ba33871fc996abd3635fc9a1c7d" 968 | dependencies: 969 | prr "~0.0.0" 970 | 971 | error-ex@^1.2.0: 972 | version "1.3.1" 973 | resolved "https://registry.yarnpkg.com/error-ex/-/error-ex-1.3.1.tgz#f855a86ce61adc4e8621c3cda21e7a7612c3a8dc" 974 | dependencies: 975 | is-arrayish "^0.2.1" 976 | 977 | escape-string-regexp@^1.0.2: 978 | version "1.0.5" 979 | resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz#1b61c0562190a8dff6ae3bb2cf0200ca130b86d4" 980 | 981 | escodegen@^1.6.1: 982 | version "1.8.1" 983 | resolved "https://registry.yarnpkg.com/escodegen/-/escodegen-1.8.1.tgz#5a5b53af4693110bebb0867aa3430dd3b70a1018" 984 | dependencies: 985 | esprima "^2.7.1" 986 | estraverse "^1.9.1" 987 | esutils "^2.0.2" 988 | optionator "^0.8.1" 989 | optionalDependencies: 990 | source-map "~0.2.0" 991 | 992 | esprima@^2.7.1: 993 | version "2.7.3" 994 | resolved "https://registry.yarnpkg.com/esprima/-/esprima-2.7.3.tgz#96e3b70d5779f6ad49cd032673d1c312767ba581" 995 | 996 | esprima@^3.1.1: 997 | version "3.1.3" 998 | resolved "https://registry.yarnpkg.com/esprima/-/esprima-3.1.3.tgz#fdca51cee6133895e3c88d535ce49dbff62a4633" 999 | 1000 | estraverse@^1.9.1: 1001 | version "1.9.3" 1002 | resolved "https://registry.yarnpkg.com/estraverse/-/estraverse-1.9.3.tgz#af67f2dc922582415950926091a4005d29c9bb44" 1003 | 1004 | esutils@^2.0.2: 1005 | version "2.0.2" 1006 | resolved "https://registry.yarnpkg.com/esutils/-/esutils-2.0.2.tgz#0abf4f1caa5bcb1f7a9d8acc6dea4faaa04bac9b" 1007 | 1008 | exec-sh@^0.2.0: 1009 | version "0.2.0" 1010 | resolved "https://registry.yarnpkg.com/exec-sh/-/exec-sh-0.2.0.tgz#14f75de3f20d286ef933099b2ce50a90359cef10" 1011 | dependencies: 1012 | merge "^1.1.3" 1013 | 1014 | expand-brackets@^0.1.4: 1015 | version "0.1.5" 1016 | resolved "https://registry.yarnpkg.com/expand-brackets/-/expand-brackets-0.1.5.tgz#df07284e342a807cd733ac5af72411e581d1177b" 1017 | dependencies: 1018 | is-posix-bracket "^0.1.0" 1019 | 1020 | expand-range@^1.8.1: 1021 | version "1.8.2" 1022 | resolved "https://registry.yarnpkg.com/expand-range/-/expand-range-1.8.2.tgz#a299effd335fe2721ebae8e257ec79644fc85337" 1023 | dependencies: 1024 | fill-range "^2.1.0" 1025 | 1026 | extend@~3.0.0: 1027 | version "3.0.0" 1028 | resolved "https://registry.yarnpkg.com/extend/-/extend-3.0.0.tgz#5a474353b9f3353ddd8176dfd37b91c83a46f1d4" 1029 | 1030 | extglob@^0.3.1: 1031 | version "0.3.2" 1032 | resolved "https://registry.yarnpkg.com/extglob/-/extglob-0.3.2.tgz#2e18ff3d2f49ab2765cec9023f011daa8d8349a1" 1033 | dependencies: 1034 | is-extglob "^1.0.0" 1035 | 1036 | extsprintf@1.0.2: 1037 | version "1.0.2" 1038 | resolved "https://registry.yarnpkg.com/extsprintf/-/extsprintf-1.0.2.tgz#e1080e0658e300b06294990cc70e1502235fd550" 1039 | 1040 | fast-levenshtein@~2.0.4: 1041 | version "2.0.6" 1042 | resolved "https://registry.yarnpkg.com/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz#3d8a5c66883a16a30ca8643e851f19baa7797917" 1043 | 1044 | fb-watchman@^1.8.0: 1045 | version "1.9.2" 1046 | resolved "https://registry.yarnpkg.com/fb-watchman/-/fb-watchman-1.9.2.tgz#a24cf47827f82d38fb59a69ad70b76e3b6ae7383" 1047 | dependencies: 1048 | bser "1.0.2" 1049 | 1050 | fb-watchman@^2.0.0: 1051 | version "2.0.0" 1052 | resolved "https://registry.yarnpkg.com/fb-watchman/-/fb-watchman-2.0.0.tgz#54e9abf7dfa2f26cd9b1636c588c1afc05de5d58" 1053 | dependencies: 1054 | bser "^2.0.0" 1055 | 1056 | filename-regex@^2.0.0: 1057 | version "2.0.0" 1058 | resolved "https://registry.yarnpkg.com/filename-regex/-/filename-regex-2.0.0.tgz#996e3e80479b98b9897f15a8a58b3d084e926775" 1059 | 1060 | fileset@^2.0.2: 1061 | version "2.0.3" 1062 | resolved "https://registry.yarnpkg.com/fileset/-/fileset-2.0.3.tgz#8e7548a96d3cc2327ee5e674168723a333bba2a0" 1063 | dependencies: 1064 | glob "^7.0.3" 1065 | minimatch "^3.0.3" 1066 | 1067 | fill-range@^2.1.0: 1068 | version "2.2.3" 1069 | resolved "https://registry.yarnpkg.com/fill-range/-/fill-range-2.2.3.tgz#50b77dfd7e469bc7492470963699fe7a8485a723" 1070 | dependencies: 1071 | is-number "^2.1.0" 1072 | isobject "^2.0.0" 1073 | randomatic "^1.1.3" 1074 | repeat-element "^1.1.2" 1075 | repeat-string "^1.5.2" 1076 | 1077 | find-up@^1.0.0: 1078 | version "1.1.2" 1079 | resolved "https://registry.yarnpkg.com/find-up/-/find-up-1.1.2.tgz#6b2e9822b1a2ce0a60ab64d610eccad53cb24d0f" 1080 | dependencies: 1081 | path-exists "^2.0.0" 1082 | pinkie-promise "^2.0.0" 1083 | 1084 | find-up@^2.1.0: 1085 | version "2.1.0" 1086 | resolved "https://registry.yarnpkg.com/find-up/-/find-up-2.1.0.tgz#45d1b7e506c717ddd482775a2b77920a3c0c57a7" 1087 | dependencies: 1088 | locate-path "^2.0.0" 1089 | 1090 | for-in@^1.0.1: 1091 | version "1.0.2" 1092 | resolved "https://registry.yarnpkg.com/for-in/-/for-in-1.0.2.tgz#81068d295a8142ec0ac726c6e2200c30fb6d5e80" 1093 | 1094 | for-own@^0.1.4: 1095 | version "0.1.5" 1096 | resolved "https://registry.yarnpkg.com/for-own/-/for-own-0.1.5.tgz#5265c681a4f294dabbf17c9509b6763aa84510ce" 1097 | dependencies: 1098 | for-in "^1.0.1" 1099 | 1100 | forever-agent@~0.6.1: 1101 | version "0.6.1" 1102 | resolved "https://registry.yarnpkg.com/forever-agent/-/forever-agent-0.6.1.tgz#fbc71f0c41adeb37f96c577ad1ed42d8fdacca91" 1103 | 1104 | form-data@~2.1.1: 1105 | version "2.1.2" 1106 | resolved "https://registry.yarnpkg.com/form-data/-/form-data-2.1.2.tgz#89c3534008b97eada4cbb157d58f6f5df025eae4" 1107 | dependencies: 1108 | asynckit "^0.4.0" 1109 | combined-stream "^1.0.5" 1110 | mime-types "^2.1.12" 1111 | 1112 | fs-readdir-recursive@^1.0.0: 1113 | version "1.0.0" 1114 | resolved "https://registry.yarnpkg.com/fs-readdir-recursive/-/fs-readdir-recursive-1.0.0.tgz#8cd1745c8b4f8a29c8caec392476921ba195f560" 1115 | 1116 | fs.realpath@^1.0.0: 1117 | version "1.0.0" 1118 | resolved "https://registry.yarnpkg.com/fs.realpath/-/fs.realpath-1.0.0.tgz#1504ad2523158caa40db4a2787cb01411994ea4f" 1119 | 1120 | fsevents@^1.0.0: 1121 | version "1.1.1" 1122 | resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-1.1.1.tgz#f19fd28f43eeaf761680e519a203c4d0b3d31aff" 1123 | dependencies: 1124 | nan "^2.3.0" 1125 | node-pre-gyp "^0.6.29" 1126 | 1127 | fstream-ignore@^1.0.5: 1128 | version "1.0.5" 1129 | resolved "https://registry.yarnpkg.com/fstream-ignore/-/fstream-ignore-1.0.5.tgz#9c31dae34767018fe1d249b24dada67d092da105" 1130 | dependencies: 1131 | fstream "^1.0.0" 1132 | inherits "2" 1133 | minimatch "^3.0.0" 1134 | 1135 | fstream@^1.0.0, fstream@^1.0.10, fstream@^1.0.2: 1136 | version "1.0.11" 1137 | resolved "https://registry.yarnpkg.com/fstream/-/fstream-1.0.11.tgz#5c1fb1f117477114f0632a0eb4b71b3cb0fd3171" 1138 | dependencies: 1139 | graceful-fs "^4.1.2" 1140 | inherits "~2.0.0" 1141 | mkdirp ">=0.5 0" 1142 | rimraf "2" 1143 | 1144 | gauge@~2.7.1: 1145 | version "2.7.3" 1146 | resolved "https://registry.yarnpkg.com/gauge/-/gauge-2.7.3.tgz#1c23855f962f17b3ad3d0dc7443f304542edfe09" 1147 | dependencies: 1148 | aproba "^1.0.3" 1149 | console-control-strings "^1.0.0" 1150 | has-unicode "^2.0.0" 1151 | object-assign "^4.1.0" 1152 | signal-exit "^3.0.0" 1153 | string-width "^1.0.1" 1154 | strip-ansi "^3.0.1" 1155 | wide-align "^1.1.0" 1156 | 1157 | get-caller-file@^1.0.1: 1158 | version "1.0.2" 1159 | resolved "https://registry.yarnpkg.com/get-caller-file/-/get-caller-file-1.0.2.tgz#f702e63127e7e231c160a80c1554acb70d5047e5" 1160 | 1161 | getpass@^0.1.1: 1162 | version "0.1.6" 1163 | resolved "https://registry.yarnpkg.com/getpass/-/getpass-0.1.6.tgz#283ffd9fc1256840875311c1b60e8c40187110e6" 1164 | dependencies: 1165 | assert-plus "^1.0.0" 1166 | 1167 | glob-base@^0.3.0: 1168 | version "0.3.0" 1169 | resolved "https://registry.yarnpkg.com/glob-base/-/glob-base-0.3.0.tgz#dbb164f6221b1c0b1ccf82aea328b497df0ea3c4" 1170 | dependencies: 1171 | glob-parent "^2.0.0" 1172 | is-glob "^2.0.0" 1173 | 1174 | glob-parent@^2.0.0: 1175 | version "2.0.0" 1176 | resolved "https://registry.yarnpkg.com/glob-parent/-/glob-parent-2.0.0.tgz#81383d72db054fcccf5336daa902f182f6edbb28" 1177 | dependencies: 1178 | is-glob "^2.0.0" 1179 | 1180 | glob@^7.0.0, glob@^7.0.3, glob@^7.0.5: 1181 | version "7.1.1" 1182 | resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.1.tgz#805211df04faaf1c63a3600306cdf5ade50b2ec8" 1183 | dependencies: 1184 | fs.realpath "^1.0.0" 1185 | inflight "^1.0.4" 1186 | inherits "2" 1187 | minimatch "^3.0.2" 1188 | once "^1.3.0" 1189 | path-is-absolute "^1.0.0" 1190 | 1191 | globals@^9.0.0: 1192 | version "9.17.0" 1193 | resolved "https://registry.yarnpkg.com/globals/-/globals-9.17.0.tgz#0c0ca696d9b9bb694d2e5470bd37777caad50286" 1194 | 1195 | graceful-fs@^4.1.2, graceful-fs@^4.1.4, graceful-fs@^4.1.6: 1196 | version "4.1.11" 1197 | resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.1.11.tgz#0e8bdfe4d1ddb8854d64e04ea7c00e2a026e5658" 1198 | 1199 | "graceful-readlink@>= 1.0.0": 1200 | version "1.0.1" 1201 | resolved "https://registry.yarnpkg.com/graceful-readlink/-/graceful-readlink-1.0.1.tgz#4cafad76bc62f02fa039b2f94e9a3dd3a391a725" 1202 | 1203 | growly@^1.3.0: 1204 | version "1.3.0" 1205 | resolved "https://registry.yarnpkg.com/growly/-/growly-1.3.0.tgz#f10748cbe76af964b7c96c93c6bcc28af120c081" 1206 | 1207 | handlebars@^4.0.3: 1208 | version "4.0.6" 1209 | resolved "https://registry.yarnpkg.com/handlebars/-/handlebars-4.0.6.tgz#2ce4484850537f9c97a8026d5399b935c4ed4ed7" 1210 | dependencies: 1211 | async "^1.4.0" 1212 | optimist "^0.6.1" 1213 | source-map "^0.4.4" 1214 | optionalDependencies: 1215 | uglify-js "^2.6" 1216 | 1217 | har-schema@^1.0.5: 1218 | version "1.0.5" 1219 | resolved "https://registry.yarnpkg.com/har-schema/-/har-schema-1.0.5.tgz#d263135f43307c02c602afc8fe95970c0151369e" 1220 | 1221 | har-validator@~4.2.1: 1222 | version "4.2.1" 1223 | resolved "https://registry.yarnpkg.com/har-validator/-/har-validator-4.2.1.tgz#33481d0f1bbff600dd203d75812a6a5fba002e2a" 1224 | dependencies: 1225 | ajv "^4.9.1" 1226 | har-schema "^1.0.5" 1227 | 1228 | has-ansi@^2.0.0: 1229 | version "2.0.0" 1230 | resolved "https://registry.yarnpkg.com/has-ansi/-/has-ansi-2.0.0.tgz#34f5049ce1ecdf2b0649af3ef24e45ed35416d91" 1231 | dependencies: 1232 | ansi-regex "^2.0.0" 1233 | 1234 | has-flag@^1.0.0: 1235 | version "1.0.0" 1236 | resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-1.0.0.tgz#9d9e793165ce017a00f00418c43f942a7b1d11fa" 1237 | 1238 | has-unicode@^2.0.0: 1239 | version "2.0.1" 1240 | resolved "https://registry.yarnpkg.com/has-unicode/-/has-unicode-2.0.1.tgz#e0e6fe6a28cf51138855e086d1691e771de2a8b9" 1241 | 1242 | hawk@~3.1.3: 1243 | version "3.1.3" 1244 | resolved "https://registry.yarnpkg.com/hawk/-/hawk-3.1.3.tgz#078444bd7c1640b0fe540d2c9b73d59678e8e1c4" 1245 | dependencies: 1246 | boom "2.x.x" 1247 | cryptiles "2.x.x" 1248 | hoek "2.x.x" 1249 | sntp "1.x.x" 1250 | 1251 | hoek@2.x.x: 1252 | version "2.16.3" 1253 | resolved "https://registry.yarnpkg.com/hoek/-/hoek-2.16.3.tgz#20bb7403d3cea398e91dc4710a8ff1b8274a25ed" 1254 | 1255 | home-or-tmp@^2.0.0: 1256 | version "2.0.0" 1257 | resolved "https://registry.yarnpkg.com/home-or-tmp/-/home-or-tmp-2.0.0.tgz#e36c3f2d2cae7d746a857e38d18d5f32a7882db8" 1258 | dependencies: 1259 | os-homedir "^1.0.0" 1260 | os-tmpdir "^1.0.1" 1261 | 1262 | hosted-git-info@^2.1.4: 1263 | version "2.4.1" 1264 | resolved "https://registry.yarnpkg.com/hosted-git-info/-/hosted-git-info-2.4.1.tgz#4b0445e41c004a8bd1337773a4ff790ca40318c8" 1265 | 1266 | html-encoding-sniffer@^1.0.1: 1267 | version "1.0.1" 1268 | resolved "https://registry.yarnpkg.com/html-encoding-sniffer/-/html-encoding-sniffer-1.0.1.tgz#79bf7a785ea495fe66165e734153f363ff5437da" 1269 | dependencies: 1270 | whatwg-encoding "^1.0.1" 1271 | 1272 | http-signature@~1.1.0: 1273 | version "1.1.1" 1274 | resolved "https://registry.yarnpkg.com/http-signature/-/http-signature-1.1.1.tgz#df72e267066cd0ac67fb76adf8e134a8fbcf91bf" 1275 | dependencies: 1276 | assert-plus "^0.2.0" 1277 | jsprim "^1.2.2" 1278 | sshpk "^1.7.0" 1279 | 1280 | iconv-lite@0.4.13: 1281 | version "0.4.13" 1282 | resolved "https://registry.yarnpkg.com/iconv-lite/-/iconv-lite-0.4.13.tgz#1f88aba4ab0b1508e8312acc39345f36e992e2f2" 1283 | 1284 | ieee754@^1.1.4: 1285 | version "1.1.8" 1286 | resolved "https://registry.yarnpkg.com/ieee754/-/ieee754-1.1.8.tgz#be33d40ac10ef1926701f6f08a2d86fbfd1ad3e4" 1287 | 1288 | inflight@^1.0.4: 1289 | version "1.0.6" 1290 | resolved "https://registry.yarnpkg.com/inflight/-/inflight-1.0.6.tgz#49bd6331d7d02d0c09bc910a1075ba8165b56df9" 1291 | dependencies: 1292 | once "^1.3.0" 1293 | wrappy "1" 1294 | 1295 | inherits@2, inherits@^2.0.1, inherits@~2.0.0, inherits@~2.0.1: 1296 | version "2.0.3" 1297 | resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.3.tgz#633c2c83e3da42a502f52466022480f4208261de" 1298 | 1299 | ini@~1.3.0: 1300 | version "1.3.4" 1301 | resolved "https://registry.yarnpkg.com/ini/-/ini-1.3.4.tgz#0537cb79daf59b59a1a517dff706c86ec039162e" 1302 | 1303 | invariant@^2.2.0: 1304 | version "2.2.2" 1305 | resolved "https://registry.yarnpkg.com/invariant/-/invariant-2.2.2.tgz#9e1f56ac0acdb6bf303306f338be3b204ae60360" 1306 | dependencies: 1307 | loose-envify "^1.0.0" 1308 | 1309 | invert-kv@^1.0.0: 1310 | version "1.0.0" 1311 | resolved "https://registry.yarnpkg.com/invert-kv/-/invert-kv-1.0.0.tgz#104a8e4aaca6d3d8cd157a8ef8bfab2d7a3ffdb6" 1312 | 1313 | is-arrayish@^0.2.1: 1314 | version "0.2.1" 1315 | resolved "https://registry.yarnpkg.com/is-arrayish/-/is-arrayish-0.2.1.tgz#77c99840527aa8ecb1a8ba697b80645a7a926a9d" 1316 | 1317 | is-binary-path@^1.0.0: 1318 | version "1.0.1" 1319 | resolved "https://registry.yarnpkg.com/is-binary-path/-/is-binary-path-1.0.1.tgz#75f16642b480f187a711c814161fd3a4a7655898" 1320 | dependencies: 1321 | binary-extensions "^1.0.0" 1322 | 1323 | is-buffer@^1.0.2: 1324 | version "1.1.5" 1325 | resolved "https://registry.yarnpkg.com/is-buffer/-/is-buffer-1.1.5.tgz#1f3b26ef613b214b88cbca23cc6c01d87961eecc" 1326 | 1327 | is-builtin-module@^1.0.0: 1328 | version "1.0.0" 1329 | resolved "https://registry.yarnpkg.com/is-builtin-module/-/is-builtin-module-1.0.0.tgz#540572d34f7ac3119f8f76c30cbc1b1e037affbe" 1330 | dependencies: 1331 | builtin-modules "^1.0.0" 1332 | 1333 | is-ci@^1.0.9: 1334 | version "1.0.10" 1335 | resolved "https://registry.yarnpkg.com/is-ci/-/is-ci-1.0.10.tgz#f739336b2632365061a9d48270cd56ae3369318e" 1336 | dependencies: 1337 | ci-info "^1.0.0" 1338 | 1339 | is-dotfile@^1.0.0: 1340 | version "1.0.2" 1341 | resolved "https://registry.yarnpkg.com/is-dotfile/-/is-dotfile-1.0.2.tgz#2c132383f39199f8edc268ca01b9b007d205cc4d" 1342 | 1343 | is-equal-shallow@^0.1.3: 1344 | version "0.1.3" 1345 | resolved "https://registry.yarnpkg.com/is-equal-shallow/-/is-equal-shallow-0.1.3.tgz#2238098fc221de0bcfa5d9eac4c45d638aa1c534" 1346 | dependencies: 1347 | is-primitive "^2.0.0" 1348 | 1349 | is-extendable@^0.1.1: 1350 | version "0.1.1" 1351 | resolved "https://registry.yarnpkg.com/is-extendable/-/is-extendable-0.1.1.tgz#62b110e289a471418e3ec36a617d472e301dfc89" 1352 | 1353 | is-extglob@^1.0.0: 1354 | version "1.0.0" 1355 | resolved "https://registry.yarnpkg.com/is-extglob/-/is-extglob-1.0.0.tgz#ac468177c4943405a092fc8f29760c6ffc6206c0" 1356 | 1357 | is-finite@^1.0.0: 1358 | version "1.0.2" 1359 | resolved "https://registry.yarnpkg.com/is-finite/-/is-finite-1.0.2.tgz#cc6677695602be550ef11e8b4aa6305342b6d0aa" 1360 | dependencies: 1361 | number-is-nan "^1.0.0" 1362 | 1363 | is-fullwidth-code-point@^1.0.0: 1364 | version "1.0.0" 1365 | resolved "https://registry.yarnpkg.com/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz#ef9e31386f031a7f0d643af82fde50c457ef00cb" 1366 | dependencies: 1367 | number-is-nan "^1.0.0" 1368 | 1369 | is-glob@^2.0.0, is-glob@^2.0.1: 1370 | version "2.0.1" 1371 | resolved "https://registry.yarnpkg.com/is-glob/-/is-glob-2.0.1.tgz#d096f926a3ded5600f3fdfd91198cb0888c2d863" 1372 | dependencies: 1373 | is-extglob "^1.0.0" 1374 | 1375 | is-number@^2.0.2, is-number@^2.1.0: 1376 | version "2.1.0" 1377 | resolved "https://registry.yarnpkg.com/is-number/-/is-number-2.1.0.tgz#01fcbbb393463a548f2f466cce16dece49db908f" 1378 | dependencies: 1379 | kind-of "^3.0.2" 1380 | 1381 | is-posix-bracket@^0.1.0: 1382 | version "0.1.1" 1383 | resolved "https://registry.yarnpkg.com/is-posix-bracket/-/is-posix-bracket-0.1.1.tgz#3334dc79774368e92f016e6fbc0a88f5cd6e6bc4" 1384 | 1385 | is-primitive@^2.0.0: 1386 | version "2.0.0" 1387 | resolved "https://registry.yarnpkg.com/is-primitive/-/is-primitive-2.0.0.tgz#207bab91638499c07b2adf240a41a87210034575" 1388 | 1389 | is-typedarray@~1.0.0: 1390 | version "1.0.0" 1391 | resolved "https://registry.yarnpkg.com/is-typedarray/-/is-typedarray-1.0.0.tgz#e479c80858df0c1b11ddda6940f96011fcda4a9a" 1392 | 1393 | is-utf8@^0.2.0: 1394 | version "0.2.1" 1395 | resolved "https://registry.yarnpkg.com/is-utf8/-/is-utf8-0.2.1.tgz#4b0da1442104d1b336340e80797e865cf39f7d72" 1396 | 1397 | isarray@1.0.0, isarray@^1.0.0, isarray@~1.0.0: 1398 | version "1.0.0" 1399 | resolved "https://registry.yarnpkg.com/isarray/-/isarray-1.0.0.tgz#bb935d48582cba168c06834957a54a3e07124f11" 1400 | 1401 | isexe@^2.0.0: 1402 | version "2.0.0" 1403 | resolved "https://registry.yarnpkg.com/isexe/-/isexe-2.0.0.tgz#e8fbf374dc556ff8947a10dcb0572d633f2cfa10" 1404 | 1405 | isobject@^2.0.0: 1406 | version "2.1.0" 1407 | resolved "https://registry.yarnpkg.com/isobject/-/isobject-2.1.0.tgz#f065561096a3f1da2ef46272f815c840d87e0c89" 1408 | dependencies: 1409 | isarray "1.0.0" 1410 | 1411 | isstream@~0.1.2: 1412 | version "0.1.2" 1413 | resolved "https://registry.yarnpkg.com/isstream/-/isstream-0.1.2.tgz#47e63f7af55afa6f92e1500e690eb8b8529c099a" 1414 | 1415 | istanbul-api@^1.1.0-alpha.1: 1416 | version "1.1.7" 1417 | resolved "https://registry.yarnpkg.com/istanbul-api/-/istanbul-api-1.1.7.tgz#f6f37f09f8002b130f891c646b70ee4a8e7345ae" 1418 | dependencies: 1419 | async "^2.1.4" 1420 | fileset "^2.0.2" 1421 | istanbul-lib-coverage "^1.0.2" 1422 | istanbul-lib-hook "^1.0.5" 1423 | istanbul-lib-instrument "^1.7.0" 1424 | istanbul-lib-report "^1.0.0" 1425 | istanbul-lib-source-maps "^1.1.1" 1426 | istanbul-reports "^1.0.2" 1427 | js-yaml "^3.7.0" 1428 | mkdirp "^0.5.1" 1429 | once "^1.4.0" 1430 | 1431 | istanbul-lib-coverage@^1.0.0, istanbul-lib-coverage@^1.0.2: 1432 | version "1.0.2" 1433 | resolved "https://registry.yarnpkg.com/istanbul-lib-coverage/-/istanbul-lib-coverage-1.0.2.tgz#87a0c015b6910651cb3b184814dfb339337e25e1" 1434 | 1435 | istanbul-lib-hook@^1.0.5: 1436 | version "1.0.5" 1437 | resolved "https://registry.yarnpkg.com/istanbul-lib-hook/-/istanbul-lib-hook-1.0.5.tgz#6ca3d16d60c5f4082da39f7c5cd38ea8a772b88e" 1438 | dependencies: 1439 | append-transform "^0.4.0" 1440 | 1441 | istanbul-lib-instrument@^1.1.1, istanbul-lib-instrument@^1.6.2, istanbul-lib-instrument@^1.7.0: 1442 | version "1.7.0" 1443 | resolved "https://registry.yarnpkg.com/istanbul-lib-instrument/-/istanbul-lib-instrument-1.7.0.tgz#b8e0dc25709bb44e17336ab47b7bb5c97c23f659" 1444 | dependencies: 1445 | babel-generator "^6.18.0" 1446 | babel-template "^6.16.0" 1447 | babel-traverse "^6.18.0" 1448 | babel-types "^6.18.0" 1449 | babylon "^6.13.0" 1450 | istanbul-lib-coverage "^1.0.2" 1451 | semver "^5.3.0" 1452 | 1453 | istanbul-lib-report@^1.0.0: 1454 | version "1.0.0" 1455 | resolved "https://registry.yarnpkg.com/istanbul-lib-report/-/istanbul-lib-report-1.0.0.tgz#d83dac7f26566b521585569367fe84ccfc7aaecb" 1456 | dependencies: 1457 | istanbul-lib-coverage "^1.0.2" 1458 | mkdirp "^0.5.1" 1459 | path-parse "^1.0.5" 1460 | supports-color "^3.1.2" 1461 | 1462 | istanbul-lib-source-maps@^1.1.1: 1463 | version "1.1.1" 1464 | resolved "https://registry.yarnpkg.com/istanbul-lib-source-maps/-/istanbul-lib-source-maps-1.1.1.tgz#f8c8c2e8f2160d1d91526d97e5bd63b2079af71c" 1465 | dependencies: 1466 | istanbul-lib-coverage "^1.0.2" 1467 | mkdirp "^0.5.1" 1468 | rimraf "^2.4.4" 1469 | source-map "^0.5.3" 1470 | 1471 | istanbul-reports@^1.0.2: 1472 | version "1.0.2" 1473 | resolved "https://registry.yarnpkg.com/istanbul-reports/-/istanbul-reports-1.0.2.tgz#4e8366abe6fa746cc1cd6633f108de12cc6ac6fa" 1474 | dependencies: 1475 | handlebars "^4.0.3" 1476 | 1477 | jest-changed-files@^19.0.2: 1478 | version "19.0.2" 1479 | resolved "https://registry.yarnpkg.com/jest-changed-files/-/jest-changed-files-19.0.2.tgz#16c54c84c3270be408e06d2e8af3f3e37a885824" 1480 | 1481 | jest-cli@^19.0.2: 1482 | version "19.0.2" 1483 | resolved "https://registry.yarnpkg.com/jest-cli/-/jest-cli-19.0.2.tgz#cc3620b62acac5f2d93a548cb6ef697d4ec85443" 1484 | dependencies: 1485 | ansi-escapes "^1.4.0" 1486 | callsites "^2.0.0" 1487 | chalk "^1.1.1" 1488 | graceful-fs "^4.1.6" 1489 | is-ci "^1.0.9" 1490 | istanbul-api "^1.1.0-alpha.1" 1491 | istanbul-lib-coverage "^1.0.0" 1492 | istanbul-lib-instrument "^1.1.1" 1493 | jest-changed-files "^19.0.2" 1494 | jest-config "^19.0.2" 1495 | jest-environment-jsdom "^19.0.2" 1496 | jest-haste-map "^19.0.0" 1497 | jest-jasmine2 "^19.0.2" 1498 | jest-message-util "^19.0.0" 1499 | jest-regex-util "^19.0.0" 1500 | jest-resolve-dependencies "^19.0.0" 1501 | jest-runtime "^19.0.2" 1502 | jest-snapshot "^19.0.2" 1503 | jest-util "^19.0.2" 1504 | micromatch "^2.3.11" 1505 | node-notifier "^5.0.1" 1506 | slash "^1.0.0" 1507 | string-length "^1.0.1" 1508 | throat "^3.0.0" 1509 | which "^1.1.1" 1510 | worker-farm "^1.3.1" 1511 | yargs "^6.3.0" 1512 | 1513 | jest-config@^19.0.2: 1514 | version "19.0.2" 1515 | resolved "https://registry.yarnpkg.com/jest-config/-/jest-config-19.0.2.tgz#1b9bd2db0ddd16df61c2b10a54009e1768da6411" 1516 | dependencies: 1517 | chalk "^1.1.1" 1518 | jest-environment-jsdom "^19.0.2" 1519 | jest-environment-node "^19.0.2" 1520 | jest-jasmine2 "^19.0.2" 1521 | jest-regex-util "^19.0.0" 1522 | jest-resolve "^19.0.2" 1523 | jest-validate "^19.0.2" 1524 | pretty-format "^19.0.0" 1525 | 1526 | jest-diff@^19.0.0: 1527 | version "19.0.0" 1528 | resolved "https://registry.yarnpkg.com/jest-diff/-/jest-diff-19.0.0.tgz#d1563cfc56c8b60232988fbc05d4d16ed90f063c" 1529 | dependencies: 1530 | chalk "^1.1.3" 1531 | diff "^3.0.0" 1532 | jest-matcher-utils "^19.0.0" 1533 | pretty-format "^19.0.0" 1534 | 1535 | jest-environment-jsdom@^19.0.2: 1536 | version "19.0.2" 1537 | resolved "https://registry.yarnpkg.com/jest-environment-jsdom/-/jest-environment-jsdom-19.0.2.tgz#ceda859c4a4b94ab35e4de7dab54b926f293e4a3" 1538 | dependencies: 1539 | jest-mock "^19.0.0" 1540 | jest-util "^19.0.2" 1541 | jsdom "^9.11.0" 1542 | 1543 | jest-environment-node@^19.0.2: 1544 | version "19.0.2" 1545 | resolved "https://registry.yarnpkg.com/jest-environment-node/-/jest-environment-node-19.0.2.tgz#6e84079db87ed21d0c05e1f9669f207b116fe99b" 1546 | dependencies: 1547 | jest-mock "^19.0.0" 1548 | jest-util "^19.0.2" 1549 | 1550 | jest-file-exists@^19.0.0: 1551 | version "19.0.0" 1552 | resolved "https://registry.yarnpkg.com/jest-file-exists/-/jest-file-exists-19.0.0.tgz#cca2e587a11ec92e24cfeab3f8a94d657f3fceb8" 1553 | 1554 | jest-haste-map@^19.0.0: 1555 | version "19.0.0" 1556 | resolved "https://registry.yarnpkg.com/jest-haste-map/-/jest-haste-map-19.0.0.tgz#adde00b62b1fe04432a104b3254fc5004514b55e" 1557 | dependencies: 1558 | fb-watchman "^2.0.0" 1559 | graceful-fs "^4.1.6" 1560 | micromatch "^2.3.11" 1561 | sane "~1.5.0" 1562 | worker-farm "^1.3.1" 1563 | 1564 | jest-jasmine2@^19.0.2: 1565 | version "19.0.2" 1566 | resolved "https://registry.yarnpkg.com/jest-jasmine2/-/jest-jasmine2-19.0.2.tgz#167991ac825981fb1a800af126e83afcca832c73" 1567 | dependencies: 1568 | graceful-fs "^4.1.6" 1569 | jest-matcher-utils "^19.0.0" 1570 | jest-matchers "^19.0.0" 1571 | jest-message-util "^19.0.0" 1572 | jest-snapshot "^19.0.2" 1573 | 1574 | jest-matcher-utils@^19.0.0: 1575 | version "19.0.0" 1576 | resolved "https://registry.yarnpkg.com/jest-matcher-utils/-/jest-matcher-utils-19.0.0.tgz#5ecd9b63565d2b001f61fbf7ec4c7f537964564d" 1577 | dependencies: 1578 | chalk "^1.1.3" 1579 | pretty-format "^19.0.0" 1580 | 1581 | jest-matchers@^19.0.0: 1582 | version "19.0.0" 1583 | resolved "https://registry.yarnpkg.com/jest-matchers/-/jest-matchers-19.0.0.tgz#c74ecc6ebfec06f384767ba4d6fa4a42d6755754" 1584 | dependencies: 1585 | jest-diff "^19.0.0" 1586 | jest-matcher-utils "^19.0.0" 1587 | jest-message-util "^19.0.0" 1588 | jest-regex-util "^19.0.0" 1589 | 1590 | jest-message-util@^19.0.0: 1591 | version "19.0.0" 1592 | resolved "https://registry.yarnpkg.com/jest-message-util/-/jest-message-util-19.0.0.tgz#721796b89c0e4d761606f9ba8cb828a3b6246416" 1593 | dependencies: 1594 | chalk "^1.1.1" 1595 | micromatch "^2.3.11" 1596 | 1597 | jest-mock@^19.0.0: 1598 | version "19.0.0" 1599 | resolved "https://registry.yarnpkg.com/jest-mock/-/jest-mock-19.0.0.tgz#67038641e9607ab2ce08ec4a8cb83aabbc899d01" 1600 | 1601 | jest-regex-util@^19.0.0: 1602 | version "19.0.0" 1603 | resolved "https://registry.yarnpkg.com/jest-regex-util/-/jest-regex-util-19.0.0.tgz#b7754587112aede1456510bb1f6afe74ef598691" 1604 | 1605 | jest-resolve-dependencies@^19.0.0: 1606 | version "19.0.0" 1607 | resolved "https://registry.yarnpkg.com/jest-resolve-dependencies/-/jest-resolve-dependencies-19.0.0.tgz#a741ad1fa094140e64ecf2642a504f834ece22ee" 1608 | dependencies: 1609 | jest-file-exists "^19.0.0" 1610 | 1611 | jest-resolve@^19.0.2: 1612 | version "19.0.2" 1613 | resolved "https://registry.yarnpkg.com/jest-resolve/-/jest-resolve-19.0.2.tgz#5793575de4f07aec32f7d7ff0c6c181963eefb3c" 1614 | dependencies: 1615 | browser-resolve "^1.11.2" 1616 | jest-haste-map "^19.0.0" 1617 | resolve "^1.2.0" 1618 | 1619 | jest-runtime@^19.0.2: 1620 | version "19.0.2" 1621 | resolved "https://registry.yarnpkg.com/jest-runtime/-/jest-runtime-19.0.2.tgz#d9a43e72de416d27d196fd9c7940d98fe6685407" 1622 | dependencies: 1623 | babel-core "^6.0.0" 1624 | babel-jest "^19.0.0" 1625 | babel-plugin-istanbul "^4.0.0" 1626 | chalk "^1.1.3" 1627 | graceful-fs "^4.1.6" 1628 | jest-config "^19.0.2" 1629 | jest-file-exists "^19.0.0" 1630 | jest-haste-map "^19.0.0" 1631 | jest-regex-util "^19.0.0" 1632 | jest-resolve "^19.0.2" 1633 | jest-util "^19.0.2" 1634 | json-stable-stringify "^1.0.1" 1635 | micromatch "^2.3.11" 1636 | strip-bom "3.0.0" 1637 | yargs "^6.3.0" 1638 | 1639 | jest-snapshot@^19.0.2: 1640 | version "19.0.2" 1641 | resolved "https://registry.yarnpkg.com/jest-snapshot/-/jest-snapshot-19.0.2.tgz#9c1b216214f7187c38bfd5c70b1efab16b0ff50b" 1642 | dependencies: 1643 | chalk "^1.1.3" 1644 | jest-diff "^19.0.0" 1645 | jest-file-exists "^19.0.0" 1646 | jest-matcher-utils "^19.0.0" 1647 | jest-util "^19.0.2" 1648 | natural-compare "^1.4.0" 1649 | pretty-format "^19.0.0" 1650 | 1651 | jest-util@^19.0.2: 1652 | version "19.0.2" 1653 | resolved "https://registry.yarnpkg.com/jest-util/-/jest-util-19.0.2.tgz#e0a0232a2ab9e6b2b53668bdb3534c2b5977ed41" 1654 | dependencies: 1655 | chalk "^1.1.1" 1656 | graceful-fs "^4.1.6" 1657 | jest-file-exists "^19.0.0" 1658 | jest-message-util "^19.0.0" 1659 | jest-mock "^19.0.0" 1660 | jest-validate "^19.0.2" 1661 | leven "^2.0.0" 1662 | mkdirp "^0.5.1" 1663 | 1664 | jest-validate@^19.0.2: 1665 | version "19.0.2" 1666 | resolved "https://registry.yarnpkg.com/jest-validate/-/jest-validate-19.0.2.tgz#dc534df5f1278d5b63df32b14241d4dbf7244c0c" 1667 | dependencies: 1668 | chalk "^1.1.1" 1669 | jest-matcher-utils "^19.0.0" 1670 | leven "^2.0.0" 1671 | pretty-format "^19.0.0" 1672 | 1673 | jest@^19.0.2: 1674 | version "19.0.2" 1675 | resolved "https://registry.yarnpkg.com/jest/-/jest-19.0.2.tgz#b794faaf8ff461e7388f28beef559a54f20b2c10" 1676 | dependencies: 1677 | jest-cli "^19.0.2" 1678 | 1679 | jodid25519@^1.0.0: 1680 | version "1.0.2" 1681 | resolved "https://registry.yarnpkg.com/jodid25519/-/jodid25519-1.0.2.tgz#06d4912255093419477d425633606e0e90782967" 1682 | dependencies: 1683 | jsbn "~0.1.0" 1684 | 1685 | js-tokens@^3.0.0: 1686 | version "3.0.1" 1687 | resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-3.0.1.tgz#08e9f132484a2c45a30907e9dc4d5567b7f114d7" 1688 | 1689 | js-yaml@^3.7.0: 1690 | version "3.8.2" 1691 | resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-3.8.2.tgz#02d3e2c0f6beab20248d412c352203827d786721" 1692 | dependencies: 1693 | argparse "^1.0.7" 1694 | esprima "^3.1.1" 1695 | 1696 | jsbn@~0.1.0: 1697 | version "0.1.1" 1698 | resolved "https://registry.yarnpkg.com/jsbn/-/jsbn-0.1.1.tgz#a5e654c2e5a2deb5f201d96cefbca80c0ef2f513" 1699 | 1700 | jsdom@^9.11.0: 1701 | version "9.12.0" 1702 | resolved "https://registry.yarnpkg.com/jsdom/-/jsdom-9.12.0.tgz#e8c546fffcb06c00d4833ca84410fed7f8a097d4" 1703 | dependencies: 1704 | abab "^1.0.3" 1705 | acorn "^4.0.4" 1706 | acorn-globals "^3.1.0" 1707 | array-equal "^1.0.0" 1708 | content-type-parser "^1.0.1" 1709 | cssom ">= 0.3.2 < 0.4.0" 1710 | cssstyle ">= 0.2.37 < 0.3.0" 1711 | escodegen "^1.6.1" 1712 | html-encoding-sniffer "^1.0.1" 1713 | nwmatcher ">= 1.3.9 < 2.0.0" 1714 | parse5 "^1.5.1" 1715 | request "^2.79.0" 1716 | sax "^1.2.1" 1717 | symbol-tree "^3.2.1" 1718 | tough-cookie "^2.3.2" 1719 | webidl-conversions "^4.0.0" 1720 | whatwg-encoding "^1.0.1" 1721 | whatwg-url "^4.3.0" 1722 | xml-name-validator "^2.0.1" 1723 | 1724 | jsesc@^1.3.0: 1725 | version "1.3.0" 1726 | resolved "https://registry.yarnpkg.com/jsesc/-/jsesc-1.3.0.tgz#46c3fec8c1892b12b0833db9bc7622176dbab34b" 1727 | 1728 | jsesc@~0.5.0: 1729 | version "0.5.0" 1730 | resolved "https://registry.yarnpkg.com/jsesc/-/jsesc-0.5.0.tgz#e7dee66e35d6fc16f710fe91d5cf69f70f08911d" 1731 | 1732 | json-schema@0.2.3: 1733 | version "0.2.3" 1734 | resolved "https://registry.yarnpkg.com/json-schema/-/json-schema-0.2.3.tgz#b480c892e59a2f05954ce727bd3f2a4e882f9e13" 1735 | 1736 | json-stable-stringify@^1.0.1: 1737 | version "1.0.1" 1738 | resolved "https://registry.yarnpkg.com/json-stable-stringify/-/json-stable-stringify-1.0.1.tgz#9a759d39c5f2ff503fd5300646ed445f88c4f9af" 1739 | dependencies: 1740 | jsonify "~0.0.0" 1741 | 1742 | json-stringify-safe@~5.0.1: 1743 | version "5.0.1" 1744 | resolved "https://registry.yarnpkg.com/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz#1296a2d58fd45f19a0f6ce01d65701e2c735b6eb" 1745 | 1746 | json5@^0.5.0: 1747 | version "0.5.1" 1748 | resolved "https://registry.yarnpkg.com/json5/-/json5-0.5.1.tgz#1eade7acc012034ad84e2396767ead9fa5495821" 1749 | 1750 | jsonify@~0.0.0: 1751 | version "0.0.0" 1752 | resolved "https://registry.yarnpkg.com/jsonify/-/jsonify-0.0.0.tgz#2c74b6ee41d93ca51b7b5aaee8f503631d252a73" 1753 | 1754 | jsprim@^1.2.2: 1755 | version "1.4.0" 1756 | resolved "https://registry.yarnpkg.com/jsprim/-/jsprim-1.4.0.tgz#a3b87e40298d8c380552d8cc7628a0bb95a22918" 1757 | dependencies: 1758 | assert-plus "1.0.0" 1759 | extsprintf "1.0.2" 1760 | json-schema "0.2.3" 1761 | verror "1.3.6" 1762 | 1763 | kind-of@^3.0.2: 1764 | version "3.1.0" 1765 | resolved "https://registry.yarnpkg.com/kind-of/-/kind-of-3.1.0.tgz#475d698a5e49ff5e53d14e3e732429dc8bf4cf47" 1766 | dependencies: 1767 | is-buffer "^1.0.2" 1768 | 1769 | lazy-cache@^1.0.3: 1770 | version "1.0.4" 1771 | resolved "https://registry.yarnpkg.com/lazy-cache/-/lazy-cache-1.0.4.tgz#a1d78fc3a50474cb80845d3b3b6e1da49a446e8e" 1772 | 1773 | lcid@^1.0.0: 1774 | version "1.0.0" 1775 | resolved "https://registry.yarnpkg.com/lcid/-/lcid-1.0.0.tgz#308accafa0bc483a3867b4b6f2b9506251d1b835" 1776 | dependencies: 1777 | invert-kv "^1.0.0" 1778 | 1779 | leven@^2.0.0: 1780 | version "2.1.0" 1781 | resolved "https://registry.yarnpkg.com/leven/-/leven-2.1.0.tgz#c2e7a9f772094dee9d34202ae8acce4687875580" 1782 | 1783 | levn@~0.3.0: 1784 | version "0.3.0" 1785 | resolved "https://registry.yarnpkg.com/levn/-/levn-0.3.0.tgz#3b09924edf9f083c0490fdd4c0bc4421e04764ee" 1786 | dependencies: 1787 | prelude-ls "~1.1.2" 1788 | type-check "~0.3.2" 1789 | 1790 | load-json-file@^1.0.0: 1791 | version "1.1.0" 1792 | resolved "https://registry.yarnpkg.com/load-json-file/-/load-json-file-1.1.0.tgz#956905708d58b4bab4c2261b04f59f31c99374c0" 1793 | dependencies: 1794 | graceful-fs "^4.1.2" 1795 | parse-json "^2.2.0" 1796 | pify "^2.0.0" 1797 | pinkie-promise "^2.0.0" 1798 | strip-bom "^2.0.0" 1799 | 1800 | locate-path@^2.0.0: 1801 | version "2.0.0" 1802 | resolved "https://registry.yarnpkg.com/locate-path/-/locate-path-2.0.0.tgz#2b568b265eec944c6d9c0de9c3dbbbca0354cd8e" 1803 | dependencies: 1804 | p-locate "^2.0.0" 1805 | path-exists "^3.0.0" 1806 | 1807 | lodash@^4.14.0, lodash@^4.2.0: 1808 | version "4.17.4" 1809 | resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.4.tgz#78203a4d1c328ae1d86dca6460e369b57f4055ae" 1810 | 1811 | longest@^1.0.1: 1812 | version "1.0.1" 1813 | resolved "https://registry.yarnpkg.com/longest/-/longest-1.0.1.tgz#30a0b2da38f73770e8294a0d22e6625ed77d0097" 1814 | 1815 | loose-envify@^1.0.0: 1816 | version "1.3.1" 1817 | resolved "https://registry.yarnpkg.com/loose-envify/-/loose-envify-1.3.1.tgz#d1a8ad33fa9ce0e713d65fdd0ac8b748d478c848" 1818 | dependencies: 1819 | js-tokens "^3.0.0" 1820 | 1821 | makeerror@1.0.x: 1822 | version "1.0.11" 1823 | resolved "https://registry.yarnpkg.com/makeerror/-/makeerror-1.0.11.tgz#e01a5c9109f2af79660e4e8b9587790184f5a96c" 1824 | dependencies: 1825 | tmpl "1.0.x" 1826 | 1827 | merge@^1.1.3: 1828 | version "1.2.0" 1829 | resolved "https://registry.yarnpkg.com/merge/-/merge-1.2.0.tgz#7531e39d4949c281a66b8c5a6e0265e8b05894da" 1830 | 1831 | micromatch@^2.1.5, micromatch@^2.3.11: 1832 | version "2.3.11" 1833 | resolved "https://registry.yarnpkg.com/micromatch/-/micromatch-2.3.11.tgz#86677c97d1720b363431d04d0d15293bd38c1565" 1834 | dependencies: 1835 | arr-diff "^2.0.0" 1836 | array-unique "^0.2.1" 1837 | braces "^1.8.2" 1838 | expand-brackets "^0.1.4" 1839 | extglob "^0.3.1" 1840 | filename-regex "^2.0.0" 1841 | is-extglob "^1.0.0" 1842 | is-glob "^2.0.1" 1843 | kind-of "^3.0.2" 1844 | normalize-path "^2.0.1" 1845 | object.omit "^2.0.0" 1846 | parse-glob "^3.0.4" 1847 | regex-cache "^0.4.2" 1848 | 1849 | mime-db@~1.27.0: 1850 | version "1.27.0" 1851 | resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.27.0.tgz#820f572296bbd20ec25ed55e5b5de869e5436eb1" 1852 | 1853 | mime-types@^2.1.12, mime-types@~2.1.7: 1854 | version "2.1.15" 1855 | resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-2.1.15.tgz#a4ebf5064094569237b8cf70046776d09fc92aed" 1856 | dependencies: 1857 | mime-db "~1.27.0" 1858 | 1859 | minimatch@^3.0.0, minimatch@^3.0.2, minimatch@^3.0.3: 1860 | version "3.0.3" 1861 | resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.0.3.tgz#2a4e4090b96b2db06a9d7df01055a62a77c9b774" 1862 | dependencies: 1863 | brace-expansion "^1.0.0" 1864 | 1865 | minimist@0.0.8, minimist@~0.0.1: 1866 | version "0.0.8" 1867 | resolved "https://registry.yarnpkg.com/minimist/-/minimist-0.0.8.tgz#857fcabfc3397d2625b8228262e86aa7a011b05d" 1868 | 1869 | minimist@^1.1.1, minimist@^1.2.0: 1870 | version "1.2.0" 1871 | resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.0.tgz#a35008b20f41383eec1fb914f4cd5df79a264284" 1872 | 1873 | "mkdirp@>=0.5 0", mkdirp@^0.5.1: 1874 | version "0.5.1" 1875 | resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-0.5.1.tgz#30057438eac6cf7f8c4767f38648d6697d75c903" 1876 | dependencies: 1877 | minimist "0.0.8" 1878 | 1879 | ms@0.7.2: 1880 | version "0.7.2" 1881 | resolved "https://registry.yarnpkg.com/ms/-/ms-0.7.2.tgz#ae25cf2512b3885a1d95d7f037868d8431124765" 1882 | 1883 | nan@^2.3.0: 1884 | version "2.5.1" 1885 | resolved "https://registry.yarnpkg.com/nan/-/nan-2.5.1.tgz#d5b01691253326a97a2bbee9e61c55d8d60351e2" 1886 | 1887 | natural-compare@^1.4.0: 1888 | version "1.4.0" 1889 | resolved "https://registry.yarnpkg.com/natural-compare/-/natural-compare-1.4.0.tgz#4abebfeed7541f2c27acfb29bdbbd15c8d5ba4f7" 1890 | 1891 | node-int64@^0.4.0: 1892 | version "0.4.0" 1893 | resolved "https://registry.yarnpkg.com/node-int64/-/node-int64-0.4.0.tgz#87a9065cdb355d3182d8f94ce11188b825c68a3b" 1894 | 1895 | node-notifier@^5.0.1: 1896 | version "5.1.2" 1897 | resolved "https://registry.yarnpkg.com/node-notifier/-/node-notifier-5.1.2.tgz#2fa9e12605fa10009d44549d6fcd8a63dde0e4ff" 1898 | dependencies: 1899 | growly "^1.3.0" 1900 | semver "^5.3.0" 1901 | shellwords "^0.1.0" 1902 | which "^1.2.12" 1903 | 1904 | node-pre-gyp@^0.6.29: 1905 | version "0.6.34" 1906 | resolved "https://registry.yarnpkg.com/node-pre-gyp/-/node-pre-gyp-0.6.34.tgz#94ad1c798a11d7fc67381b50d47f8cc18d9799f7" 1907 | dependencies: 1908 | mkdirp "^0.5.1" 1909 | nopt "^4.0.1" 1910 | npmlog "^4.0.2" 1911 | rc "^1.1.7" 1912 | request "^2.81.0" 1913 | rimraf "^2.6.1" 1914 | semver "^5.3.0" 1915 | tar "^2.2.1" 1916 | tar-pack "^3.4.0" 1917 | 1918 | nopt@^4.0.1: 1919 | version "4.0.1" 1920 | resolved "https://registry.yarnpkg.com/nopt/-/nopt-4.0.1.tgz#d0d4685afd5415193c8c7505602d0d17cd64474d" 1921 | dependencies: 1922 | abbrev "1" 1923 | osenv "^0.1.4" 1924 | 1925 | normalize-package-data@^2.3.2: 1926 | version "2.3.6" 1927 | resolved "https://registry.yarnpkg.com/normalize-package-data/-/normalize-package-data-2.3.6.tgz#498fa420c96401f787402ba21e600def9f981fff" 1928 | dependencies: 1929 | hosted-git-info "^2.1.4" 1930 | is-builtin-module "^1.0.0" 1931 | semver "2 || 3 || 4 || 5" 1932 | validate-npm-package-license "^3.0.1" 1933 | 1934 | normalize-path@^2.0.1: 1935 | version "2.1.1" 1936 | resolved "https://registry.yarnpkg.com/normalize-path/-/normalize-path-2.1.1.tgz#1ab28b556e198363a8c1a6f7e6fa20137fe6aed9" 1937 | dependencies: 1938 | remove-trailing-separator "^1.0.1" 1939 | 1940 | npmlog@^4.0.2: 1941 | version "4.0.2" 1942 | resolved "https://registry.yarnpkg.com/npmlog/-/npmlog-4.0.2.tgz#d03950e0e78ce1527ba26d2a7592e9348ac3e75f" 1943 | dependencies: 1944 | are-we-there-yet "~1.1.2" 1945 | console-control-strings "~1.1.0" 1946 | gauge "~2.7.1" 1947 | set-blocking "~2.0.0" 1948 | 1949 | number-is-nan@^1.0.0: 1950 | version "1.0.1" 1951 | resolved "https://registry.yarnpkg.com/number-is-nan/-/number-is-nan-1.0.1.tgz#097b602b53422a522c1afb8790318336941a011d" 1952 | 1953 | "nwmatcher@>= 1.3.9 < 2.0.0": 1954 | version "1.3.9" 1955 | resolved "https://registry.yarnpkg.com/nwmatcher/-/nwmatcher-1.3.9.tgz#8bab486ff7fa3dfd086656bbe8b17116d3692d2a" 1956 | 1957 | oauth-sign@~0.8.1: 1958 | version "0.8.2" 1959 | resolved "https://registry.yarnpkg.com/oauth-sign/-/oauth-sign-0.8.2.tgz#46a6ab7f0aead8deae9ec0565780b7d4efeb9d43" 1960 | 1961 | object-assign@^4.1.0: 1962 | version "4.1.1" 1963 | resolved "https://registry.yarnpkg.com/object-assign/-/object-assign-4.1.1.tgz#2109adc7965887cfc05cbbd442cac8bfbb360863" 1964 | 1965 | object.omit@^2.0.0: 1966 | version "2.0.1" 1967 | resolved "https://registry.yarnpkg.com/object.omit/-/object.omit-2.0.1.tgz#1a9c744829f39dbb858c76ca3579ae2a54ebd1fa" 1968 | dependencies: 1969 | for-own "^0.1.4" 1970 | is-extendable "^0.1.1" 1971 | 1972 | once@^1.3.0, once@^1.3.3, once@^1.4.0: 1973 | version "1.4.0" 1974 | resolved "https://registry.yarnpkg.com/once/-/once-1.4.0.tgz#583b1aa775961d4b113ac17d9c50baef9dd76bd1" 1975 | dependencies: 1976 | wrappy "1" 1977 | 1978 | optimist@^0.6.1: 1979 | version "0.6.1" 1980 | resolved "https://registry.yarnpkg.com/optimist/-/optimist-0.6.1.tgz#da3ea74686fa21a19a111c326e90eb15a0196686" 1981 | dependencies: 1982 | minimist "~0.0.1" 1983 | wordwrap "~0.0.2" 1984 | 1985 | optionator@^0.8.1: 1986 | version "0.8.2" 1987 | resolved "https://registry.yarnpkg.com/optionator/-/optionator-0.8.2.tgz#364c5e409d3f4d6301d6c0b4c05bba50180aeb64" 1988 | dependencies: 1989 | deep-is "~0.1.3" 1990 | fast-levenshtein "~2.0.4" 1991 | levn "~0.3.0" 1992 | prelude-ls "~1.1.2" 1993 | type-check "~0.3.2" 1994 | wordwrap "~1.0.0" 1995 | 1996 | os-homedir@^1.0.0: 1997 | version "1.0.2" 1998 | resolved "https://registry.yarnpkg.com/os-homedir/-/os-homedir-1.0.2.tgz#ffbc4988336e0e833de0c168c7ef152121aa7fb3" 1999 | 2000 | os-locale@^1.4.0: 2001 | version "1.4.0" 2002 | resolved "https://registry.yarnpkg.com/os-locale/-/os-locale-1.4.0.tgz#20f9f17ae29ed345e8bde583b13d2009803c14d9" 2003 | dependencies: 2004 | lcid "^1.0.0" 2005 | 2006 | os-tmpdir@^1.0.0, os-tmpdir@^1.0.1: 2007 | version "1.0.2" 2008 | resolved "https://registry.yarnpkg.com/os-tmpdir/-/os-tmpdir-1.0.2.tgz#bbe67406c79aa85c5cfec766fe5734555dfa1274" 2009 | 2010 | osenv@^0.1.4: 2011 | version "0.1.4" 2012 | resolved "https://registry.yarnpkg.com/osenv/-/osenv-0.1.4.tgz#42fe6d5953df06c8064be6f176c3d05aaaa34644" 2013 | dependencies: 2014 | os-homedir "^1.0.0" 2015 | os-tmpdir "^1.0.0" 2016 | 2017 | output-file-sync@^1.1.0: 2018 | version "1.1.2" 2019 | resolved "https://registry.yarnpkg.com/output-file-sync/-/output-file-sync-1.1.2.tgz#d0a33eefe61a205facb90092e826598d5245ce76" 2020 | dependencies: 2021 | graceful-fs "^4.1.4" 2022 | mkdirp "^0.5.1" 2023 | object-assign "^4.1.0" 2024 | 2025 | p-limit@^1.1.0: 2026 | version "1.1.0" 2027 | resolved "https://registry.yarnpkg.com/p-limit/-/p-limit-1.1.0.tgz#b07ff2d9a5d88bec806035895a2bab66a27988bc" 2028 | 2029 | p-locate@^2.0.0: 2030 | version "2.0.0" 2031 | resolved "https://registry.yarnpkg.com/p-locate/-/p-locate-2.0.0.tgz#20a0103b222a70c8fd39cc2e580680f3dde5ec43" 2032 | dependencies: 2033 | p-limit "^1.1.0" 2034 | 2035 | parse-glob@^3.0.4: 2036 | version "3.0.4" 2037 | resolved "https://registry.yarnpkg.com/parse-glob/-/parse-glob-3.0.4.tgz#b2c376cfb11f35513badd173ef0bb6e3a388391c" 2038 | dependencies: 2039 | glob-base "^0.3.0" 2040 | is-dotfile "^1.0.0" 2041 | is-extglob "^1.0.0" 2042 | is-glob "^2.0.0" 2043 | 2044 | parse-json@^2.2.0: 2045 | version "2.2.0" 2046 | resolved "https://registry.yarnpkg.com/parse-json/-/parse-json-2.2.0.tgz#f480f40434ef80741f8469099f8dea18f55a4dc9" 2047 | dependencies: 2048 | error-ex "^1.2.0" 2049 | 2050 | parse5@^1.5.1: 2051 | version "1.5.1" 2052 | resolved "https://registry.yarnpkg.com/parse5/-/parse5-1.5.1.tgz#9b7f3b0de32be78dc2401b17573ccaf0f6f59d94" 2053 | 2054 | path-exists@^2.0.0: 2055 | version "2.1.0" 2056 | resolved "https://registry.yarnpkg.com/path-exists/-/path-exists-2.1.0.tgz#0feb6c64f0fc518d9a754dd5efb62c7022761f4b" 2057 | dependencies: 2058 | pinkie-promise "^2.0.0" 2059 | 2060 | path-exists@^3.0.0: 2061 | version "3.0.0" 2062 | resolved "https://registry.yarnpkg.com/path-exists/-/path-exists-3.0.0.tgz#ce0ebeaa5f78cb18925ea7d810d7b59b010fd515" 2063 | 2064 | path-is-absolute@^1.0.0: 2065 | version "1.0.1" 2066 | resolved "https://registry.yarnpkg.com/path-is-absolute/-/path-is-absolute-1.0.1.tgz#174b9268735534ffbc7ace6bf53a5a9e1b5c5f5f" 2067 | 2068 | path-parse@^1.0.5: 2069 | version "1.0.5" 2070 | resolved "https://registry.yarnpkg.com/path-parse/-/path-parse-1.0.5.tgz#3c1adf871ea9cd6c9431b6ea2bd74a0ff055c4c1" 2071 | 2072 | path-type@^1.0.0: 2073 | version "1.1.0" 2074 | resolved "https://registry.yarnpkg.com/path-type/-/path-type-1.1.0.tgz#59c44f7ee491da704da415da5a4070ba4f8fe441" 2075 | dependencies: 2076 | graceful-fs "^4.1.2" 2077 | pify "^2.0.0" 2078 | pinkie-promise "^2.0.0" 2079 | 2080 | performance-now@^0.2.0: 2081 | version "0.2.0" 2082 | resolved "https://registry.yarnpkg.com/performance-now/-/performance-now-0.2.0.tgz#33ef30c5c77d4ea21c5a53869d91b56d8f2555e5" 2083 | 2084 | pify@^2.0.0: 2085 | version "2.3.0" 2086 | resolved "https://registry.yarnpkg.com/pify/-/pify-2.3.0.tgz#ed141a6ac043a849ea588498e7dca8b15330e90c" 2087 | 2088 | pinkie-promise@^2.0.0: 2089 | version "2.0.1" 2090 | resolved "https://registry.yarnpkg.com/pinkie-promise/-/pinkie-promise-2.0.1.tgz#2135d6dfa7a358c069ac9b178776288228450ffa" 2091 | dependencies: 2092 | pinkie "^2.0.0" 2093 | 2094 | pinkie@^2.0.0: 2095 | version "2.0.4" 2096 | resolved "https://registry.yarnpkg.com/pinkie/-/pinkie-2.0.4.tgz#72556b80cfa0d48a974e80e77248e80ed4f7f870" 2097 | 2098 | prelude-ls@~1.1.2: 2099 | version "1.1.2" 2100 | resolved "https://registry.yarnpkg.com/prelude-ls/-/prelude-ls-1.1.2.tgz#21932a549f5e52ffd9a827f570e04be62a97da54" 2101 | 2102 | preserve@^0.2.0: 2103 | version "0.2.0" 2104 | resolved "https://registry.yarnpkg.com/preserve/-/preserve-0.2.0.tgz#815ed1f6ebc65926f865b310c0713bcb3315ce4b" 2105 | 2106 | pretty-format@^19.0.0: 2107 | version "19.0.0" 2108 | resolved "https://registry.yarnpkg.com/pretty-format/-/pretty-format-19.0.0.tgz#56530d32acb98a3fa4851c4e2b9d37b420684c84" 2109 | dependencies: 2110 | ansi-styles "^3.0.0" 2111 | 2112 | private@^0.1.6: 2113 | version "0.1.7" 2114 | resolved "https://registry.yarnpkg.com/private/-/private-0.1.7.tgz#68ce5e8a1ef0a23bb570cc28537b5332aba63ef1" 2115 | 2116 | process-nextick-args@~1.0.6: 2117 | version "1.0.7" 2118 | resolved "https://registry.yarnpkg.com/process-nextick-args/-/process-nextick-args-1.0.7.tgz#150e20b756590ad3f91093f25a4f2ad8bff30ba3" 2119 | 2120 | prr@~0.0.0: 2121 | version "0.0.0" 2122 | resolved "https://registry.yarnpkg.com/prr/-/prr-0.0.0.tgz#1a84b85908325501411853d0081ee3fa86e2926a" 2123 | 2124 | punycode@^1.4.1: 2125 | version "1.4.1" 2126 | resolved "https://registry.yarnpkg.com/punycode/-/punycode-1.4.1.tgz#c0d5a63b2718800ad8e1eb0fa5269c84dd41845e" 2127 | 2128 | qs@~6.4.0: 2129 | version "6.4.0" 2130 | resolved "https://registry.yarnpkg.com/qs/-/qs-6.4.0.tgz#13e26d28ad6b0ffaa91312cd3bf708ed351e7233" 2131 | 2132 | randomatic@^1.1.3: 2133 | version "1.1.6" 2134 | resolved "https://registry.yarnpkg.com/randomatic/-/randomatic-1.1.6.tgz#110dcabff397e9dcff7c0789ccc0a49adf1ec5bb" 2135 | dependencies: 2136 | is-number "^2.0.2" 2137 | kind-of "^3.0.2" 2138 | 2139 | rc@^1.1.7: 2140 | version "1.2.1" 2141 | resolved "https://registry.yarnpkg.com/rc/-/rc-1.2.1.tgz#2e03e8e42ee450b8cb3dce65be1bf8974e1dfd95" 2142 | dependencies: 2143 | deep-extend "~0.4.0" 2144 | ini "~1.3.0" 2145 | minimist "^1.2.0" 2146 | strip-json-comments "~2.0.1" 2147 | 2148 | read-pkg-up@^1.0.1: 2149 | version "1.0.1" 2150 | resolved "https://registry.yarnpkg.com/read-pkg-up/-/read-pkg-up-1.0.1.tgz#9d63c13276c065918d57f002a57f40a1b643fb02" 2151 | dependencies: 2152 | find-up "^1.0.0" 2153 | read-pkg "^1.0.0" 2154 | 2155 | read-pkg@^1.0.0: 2156 | version "1.1.0" 2157 | resolved "https://registry.yarnpkg.com/read-pkg/-/read-pkg-1.1.0.tgz#f5ffaa5ecd29cb31c0474bca7d756b6bb29e3f28" 2158 | dependencies: 2159 | load-json-file "^1.0.0" 2160 | normalize-package-data "^2.3.2" 2161 | path-type "^1.0.0" 2162 | 2163 | "readable-stream@^2.0.0 || ^1.1.13", readable-stream@^2.0.2, readable-stream@^2.1.4: 2164 | version "2.2.6" 2165 | resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-2.2.6.tgz#8b43aed76e71483938d12a8d46c6cf1a00b1f816" 2166 | dependencies: 2167 | buffer-shims "^1.0.0" 2168 | core-util-is "~1.0.0" 2169 | inherits "~2.0.1" 2170 | isarray "~1.0.0" 2171 | process-nextick-args "~1.0.6" 2172 | string_decoder "~0.10.x" 2173 | util-deprecate "~1.0.1" 2174 | 2175 | readdirp@^2.0.0: 2176 | version "2.1.0" 2177 | resolved "https://registry.yarnpkg.com/readdirp/-/readdirp-2.1.0.tgz#4ed0ad060df3073300c48440373f72d1cc642d78" 2178 | dependencies: 2179 | graceful-fs "^4.1.2" 2180 | minimatch "^3.0.2" 2181 | readable-stream "^2.0.2" 2182 | set-immediate-shim "^1.0.1" 2183 | 2184 | regenerate@^1.2.1: 2185 | version "1.3.2" 2186 | resolved "https://registry.yarnpkg.com/regenerate/-/regenerate-1.3.2.tgz#d1941c67bad437e1be76433add5b385f95b19260" 2187 | 2188 | regenerator-runtime@^0.10.0: 2189 | version "0.10.3" 2190 | resolved "https://registry.yarnpkg.com/regenerator-runtime/-/regenerator-runtime-0.10.3.tgz#8c4367a904b51ea62a908ac310bf99ff90a82a3e" 2191 | 2192 | regenerator-transform@0.9.8: 2193 | version "0.9.8" 2194 | resolved "https://registry.yarnpkg.com/regenerator-transform/-/regenerator-transform-0.9.8.tgz#0f88bb2bc03932ddb7b6b7312e68078f01026d6c" 2195 | dependencies: 2196 | babel-runtime "^6.18.0" 2197 | babel-types "^6.19.0" 2198 | private "^0.1.6" 2199 | 2200 | regex-cache@^0.4.2: 2201 | version "0.4.3" 2202 | resolved "https://registry.yarnpkg.com/regex-cache/-/regex-cache-0.4.3.tgz#9b1a6c35d4d0dfcef5711ae651e8e9d3d7114145" 2203 | dependencies: 2204 | is-equal-shallow "^0.1.3" 2205 | is-primitive "^2.0.0" 2206 | 2207 | regexpu-core@^2.0.0: 2208 | version "2.0.0" 2209 | resolved "https://registry.yarnpkg.com/regexpu-core/-/regexpu-core-2.0.0.tgz#49d038837b8dcf8bfa5b9a42139938e6ea2ae240" 2210 | dependencies: 2211 | regenerate "^1.2.1" 2212 | regjsgen "^0.2.0" 2213 | regjsparser "^0.1.4" 2214 | 2215 | regjsgen@^0.2.0: 2216 | version "0.2.0" 2217 | resolved "https://registry.yarnpkg.com/regjsgen/-/regjsgen-0.2.0.tgz#6c016adeac554f75823fe37ac05b92d5a4edb1f7" 2218 | 2219 | regjsparser@^0.1.4: 2220 | version "0.1.5" 2221 | resolved "https://registry.yarnpkg.com/regjsparser/-/regjsparser-0.1.5.tgz#7ee8f84dc6fa792d3fd0ae228d24bd949ead205c" 2222 | dependencies: 2223 | jsesc "~0.5.0" 2224 | 2225 | remove-trailing-separator@^1.0.1: 2226 | version "1.0.1" 2227 | resolved "https://registry.yarnpkg.com/remove-trailing-separator/-/remove-trailing-separator-1.0.1.tgz#615ebb96af559552d4bf4057c8436d486ab63cc4" 2228 | 2229 | repeat-element@^1.1.2: 2230 | version "1.1.2" 2231 | resolved "https://registry.yarnpkg.com/repeat-element/-/repeat-element-1.1.2.tgz#ef089a178d1483baae4d93eb98b4f9e4e11d990a" 2232 | 2233 | repeat-string@^1.5.2: 2234 | version "1.6.1" 2235 | resolved "https://registry.yarnpkg.com/repeat-string/-/repeat-string-1.6.1.tgz#8dcae470e1c88abc2d600fff4a776286da75e637" 2236 | 2237 | repeating@^2.0.0: 2238 | version "2.0.1" 2239 | resolved "https://registry.yarnpkg.com/repeating/-/repeating-2.0.1.tgz#5214c53a926d3552707527fbab415dbc08d06dda" 2240 | dependencies: 2241 | is-finite "^1.0.0" 2242 | 2243 | request@^2.79.0, request@^2.81.0: 2244 | version "2.81.0" 2245 | resolved "https://registry.yarnpkg.com/request/-/request-2.81.0.tgz#c6928946a0e06c5f8d6f8a9333469ffda46298a0" 2246 | dependencies: 2247 | aws-sign2 "~0.6.0" 2248 | aws4 "^1.2.1" 2249 | caseless "~0.12.0" 2250 | combined-stream "~1.0.5" 2251 | extend "~3.0.0" 2252 | forever-agent "~0.6.1" 2253 | form-data "~2.1.1" 2254 | har-validator "~4.2.1" 2255 | hawk "~3.1.3" 2256 | http-signature "~1.1.0" 2257 | is-typedarray "~1.0.0" 2258 | isstream "~0.1.2" 2259 | json-stringify-safe "~5.0.1" 2260 | mime-types "~2.1.7" 2261 | oauth-sign "~0.8.1" 2262 | performance-now "^0.2.0" 2263 | qs "~6.4.0" 2264 | safe-buffer "^5.0.1" 2265 | stringstream "~0.0.4" 2266 | tough-cookie "~2.3.0" 2267 | tunnel-agent "^0.6.0" 2268 | uuid "^3.0.0" 2269 | 2270 | require-directory@^2.1.1: 2271 | version "2.1.1" 2272 | resolved "https://registry.yarnpkg.com/require-directory/-/require-directory-2.1.1.tgz#8c64ad5fd30dab1c976e2344ffe7f792a6a6df42" 2273 | 2274 | require-main-filename@^1.0.1: 2275 | version "1.0.1" 2276 | resolved "https://registry.yarnpkg.com/require-main-filename/-/require-main-filename-1.0.1.tgz#97f717b69d48784f5f526a6c5aa8ffdda055a4d1" 2277 | 2278 | resolve@1.1.7: 2279 | version "1.1.7" 2280 | resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.1.7.tgz#203114d82ad2c5ed9e8e0411b3932875e889e97b" 2281 | 2282 | resolve@^1.2.0: 2283 | version "1.3.2" 2284 | resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.3.2.tgz#1f0442c9e0cbb8136e87b9305f932f46c7f28235" 2285 | dependencies: 2286 | path-parse "^1.0.5" 2287 | 2288 | right-align@^0.1.1: 2289 | version "0.1.3" 2290 | resolved "https://registry.yarnpkg.com/right-align/-/right-align-0.1.3.tgz#61339b722fe6a3515689210d24e14c96148613ef" 2291 | dependencies: 2292 | align-text "^0.1.1" 2293 | 2294 | rimraf@2, rimraf@^2.4.4, rimraf@^2.5.1, rimraf@^2.6.1: 2295 | version "2.6.1" 2296 | resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-2.6.1.tgz#c2338ec643df7a1b7fe5c54fa86f57428a55f33d" 2297 | dependencies: 2298 | glob "^7.0.5" 2299 | 2300 | safe-buffer@^5.0.1: 2301 | version "5.0.1" 2302 | resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.0.1.tgz#d263ca54696cd8a306b5ca6551e92de57918fbe7" 2303 | 2304 | sane@~1.5.0: 2305 | version "1.5.0" 2306 | resolved "https://registry.yarnpkg.com/sane/-/sane-1.5.0.tgz#a4adeae764d048621ecb27d5f9ecf513101939f3" 2307 | dependencies: 2308 | anymatch "^1.3.0" 2309 | exec-sh "^0.2.0" 2310 | fb-watchman "^1.8.0" 2311 | minimatch "^3.0.2" 2312 | minimist "^1.1.1" 2313 | walker "~1.0.5" 2314 | watch "~0.10.0" 2315 | 2316 | sax@^1.2.1: 2317 | version "1.2.2" 2318 | resolved "https://registry.yarnpkg.com/sax/-/sax-1.2.2.tgz#fd8631a23bc7826bef5d871bdb87378c95647828" 2319 | 2320 | "semver@2 || 3 || 4 || 5", semver@^5.3.0: 2321 | version "5.3.0" 2322 | resolved "https://registry.yarnpkg.com/semver/-/semver-5.3.0.tgz#9b2ce5d3de02d17c6012ad326aa6b4d0cf54f94f" 2323 | 2324 | set-blocking@^2.0.0, set-blocking@~2.0.0: 2325 | version "2.0.0" 2326 | resolved "https://registry.yarnpkg.com/set-blocking/-/set-blocking-2.0.0.tgz#045f9782d011ae9a6803ddd382b24392b3d890f7" 2327 | 2328 | set-immediate-shim@^1.0.1: 2329 | version "1.0.1" 2330 | resolved "https://registry.yarnpkg.com/set-immediate-shim/-/set-immediate-shim-1.0.1.tgz#4b2b1b27eb808a9f8dcc481a58e5e56f599f3f61" 2331 | 2332 | shellwords@^0.1.0: 2333 | version "0.1.0" 2334 | resolved "https://registry.yarnpkg.com/shellwords/-/shellwords-0.1.0.tgz#66afd47b6a12932d9071cbfd98a52e785cd0ba14" 2335 | 2336 | signal-exit@^3.0.0: 2337 | version "3.0.2" 2338 | resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-3.0.2.tgz#b5fdc08f1287ea1178628e415e25132b73646c6d" 2339 | 2340 | slash@^1.0.0: 2341 | version "1.0.0" 2342 | resolved "https://registry.yarnpkg.com/slash/-/slash-1.0.0.tgz#c41f2f6c39fc16d1cd17ad4b5d896114ae470d55" 2343 | 2344 | sntp@1.x.x: 2345 | version "1.0.9" 2346 | resolved "https://registry.yarnpkg.com/sntp/-/sntp-1.0.9.tgz#6541184cc90aeea6c6e7b35e2659082443c66198" 2347 | dependencies: 2348 | hoek "2.x.x" 2349 | 2350 | source-map-support@^0.4.2: 2351 | version "0.4.14" 2352 | resolved "https://registry.yarnpkg.com/source-map-support/-/source-map-support-0.4.14.tgz#9d4463772598b86271b4f523f6c1f4e02a7d6aef" 2353 | dependencies: 2354 | source-map "^0.5.6" 2355 | 2356 | source-map@^0.4.4: 2357 | version "0.4.4" 2358 | resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.4.4.tgz#eba4f5da9c0dc999de68032d8b4f76173652036b" 2359 | dependencies: 2360 | amdefine ">=0.0.4" 2361 | 2362 | source-map@^0.5.0, source-map@^0.5.3, source-map@^0.5.6, source-map@~0.5.1: 2363 | version "0.5.6" 2364 | resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.5.6.tgz#75ce38f52bf0733c5a7f0c118d81334a2bb5f412" 2365 | 2366 | source-map@~0.2.0: 2367 | version "0.2.0" 2368 | resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.2.0.tgz#dab73fbcfc2ba819b4de03bd6f6eaa48164b3f9d" 2369 | dependencies: 2370 | amdefine ">=0.0.4" 2371 | 2372 | spdx-correct@~1.0.0: 2373 | version "1.0.2" 2374 | resolved "https://registry.yarnpkg.com/spdx-correct/-/spdx-correct-1.0.2.tgz#4b3073d933ff51f3912f03ac5519498a4150db40" 2375 | dependencies: 2376 | spdx-license-ids "^1.0.2" 2377 | 2378 | spdx-expression-parse@~1.0.0: 2379 | version "1.0.4" 2380 | resolved "https://registry.yarnpkg.com/spdx-expression-parse/-/spdx-expression-parse-1.0.4.tgz#9bdf2f20e1f40ed447fbe273266191fced51626c" 2381 | 2382 | spdx-license-ids@^1.0.2: 2383 | version "1.2.2" 2384 | resolved "https://registry.yarnpkg.com/spdx-license-ids/-/spdx-license-ids-1.2.2.tgz#c9df7a3424594ade6bd11900d596696dc06bac57" 2385 | 2386 | sprintf-js@~1.0.2: 2387 | version "1.0.3" 2388 | resolved "https://registry.yarnpkg.com/sprintf-js/-/sprintf-js-1.0.3.tgz#04e6926f662895354f3dd015203633b857297e2c" 2389 | 2390 | sshpk@^1.7.0: 2391 | version "1.11.0" 2392 | resolved "https://registry.yarnpkg.com/sshpk/-/sshpk-1.11.0.tgz#2d8d5ebb4a6fab28ffba37fa62a90f4a3ea59d77" 2393 | dependencies: 2394 | asn1 "~0.2.3" 2395 | assert-plus "^1.0.0" 2396 | dashdash "^1.12.0" 2397 | getpass "^0.1.1" 2398 | optionalDependencies: 2399 | bcrypt-pbkdf "^1.0.0" 2400 | ecc-jsbn "~0.1.1" 2401 | jodid25519 "^1.0.0" 2402 | jsbn "~0.1.0" 2403 | tweetnacl "~0.14.0" 2404 | 2405 | string-length@^1.0.1: 2406 | version "1.0.1" 2407 | resolved "https://registry.yarnpkg.com/string-length/-/string-length-1.0.1.tgz#56970fb1c38558e9e70b728bf3de269ac45adfac" 2408 | dependencies: 2409 | strip-ansi "^3.0.0" 2410 | 2411 | string-width@^1.0.1, string-width@^1.0.2: 2412 | version "1.0.2" 2413 | resolved "https://registry.yarnpkg.com/string-width/-/string-width-1.0.2.tgz#118bdf5b8cdc51a2a7e70d211e07e2b0b9b107d3" 2414 | dependencies: 2415 | code-point-at "^1.0.0" 2416 | is-fullwidth-code-point "^1.0.0" 2417 | strip-ansi "^3.0.0" 2418 | 2419 | string_decoder@~0.10.x: 2420 | version "0.10.31" 2421 | resolved "https://registry.yarnpkg.com/string_decoder/-/string_decoder-0.10.31.tgz#62e203bc41766c6c28c9fc84301dab1c5310fa94" 2422 | 2423 | stringstream@~0.0.4: 2424 | version "0.0.5" 2425 | resolved "https://registry.yarnpkg.com/stringstream/-/stringstream-0.0.5.tgz#4e484cd4de5a0bbbee18e46307710a8a81621878" 2426 | 2427 | strip-ansi@^3.0.0, strip-ansi@^3.0.1: 2428 | version "3.0.1" 2429 | resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-3.0.1.tgz#6a385fb8853d952d5ff05d0e8aaf94278dc63dcf" 2430 | dependencies: 2431 | ansi-regex "^2.0.0" 2432 | 2433 | strip-bom@3.0.0: 2434 | version "3.0.0" 2435 | resolved "https://registry.yarnpkg.com/strip-bom/-/strip-bom-3.0.0.tgz#2334c18e9c759f7bdd56fdef7e9ae3d588e68ed3" 2436 | 2437 | strip-bom@^2.0.0: 2438 | version "2.0.0" 2439 | resolved "https://registry.yarnpkg.com/strip-bom/-/strip-bom-2.0.0.tgz#6219a85616520491f35788bdbf1447a99c7e6b0e" 2440 | dependencies: 2441 | is-utf8 "^0.2.0" 2442 | 2443 | strip-json-comments@~2.0.1: 2444 | version "2.0.1" 2445 | resolved "https://registry.yarnpkg.com/strip-json-comments/-/strip-json-comments-2.0.1.tgz#3c531942e908c2697c0ec344858c286c7ca0a60a" 2446 | 2447 | supports-color@^2.0.0: 2448 | version "2.0.0" 2449 | resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-2.0.0.tgz#535d045ce6b6363fa40117084629995e9df324c7" 2450 | 2451 | supports-color@^3.1.2: 2452 | version "3.2.3" 2453 | resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-3.2.3.tgz#65ac0504b3954171d8a64946b2ae3cbb8a5f54f6" 2454 | dependencies: 2455 | has-flag "^1.0.0" 2456 | 2457 | symbol-tree@^3.2.1: 2458 | version "3.2.2" 2459 | resolved "https://registry.yarnpkg.com/symbol-tree/-/symbol-tree-3.2.2.tgz#ae27db38f660a7ae2e1c3b7d1bc290819b8519e6" 2460 | 2461 | tar-pack@^3.4.0: 2462 | version "3.4.0" 2463 | resolved "https://registry.yarnpkg.com/tar-pack/-/tar-pack-3.4.0.tgz#23be2d7f671a8339376cbdb0b8fe3fdebf317984" 2464 | dependencies: 2465 | debug "^2.2.0" 2466 | fstream "^1.0.10" 2467 | fstream-ignore "^1.0.5" 2468 | once "^1.3.3" 2469 | readable-stream "^2.1.4" 2470 | rimraf "^2.5.1" 2471 | tar "^2.2.1" 2472 | uid-number "^0.0.6" 2473 | 2474 | tar@^2.2.1: 2475 | version "2.2.1" 2476 | resolved "https://registry.yarnpkg.com/tar/-/tar-2.2.1.tgz#8e4d2a256c0e2185c6b18ad694aec968b83cb1d1" 2477 | dependencies: 2478 | block-stream "*" 2479 | fstream "^1.0.2" 2480 | inherits "2" 2481 | 2482 | test-exclude@^4.0.3: 2483 | version "4.0.3" 2484 | resolved "https://registry.yarnpkg.com/test-exclude/-/test-exclude-4.0.3.tgz#86a13ce3effcc60e6c90403cf31a27a60ac6c4e7" 2485 | dependencies: 2486 | arrify "^1.0.1" 2487 | micromatch "^2.3.11" 2488 | object-assign "^4.1.0" 2489 | read-pkg-up "^1.0.1" 2490 | require-main-filename "^1.0.1" 2491 | 2492 | throat@^3.0.0: 2493 | version "3.0.0" 2494 | resolved "https://registry.yarnpkg.com/throat/-/throat-3.0.0.tgz#e7c64c867cbb3845f10877642f7b60055b8ec0d6" 2495 | 2496 | tmpl@1.0.x: 2497 | version "1.0.4" 2498 | resolved "https://registry.yarnpkg.com/tmpl/-/tmpl-1.0.4.tgz#23640dd7b42d00433911140820e5cf440e521dd1" 2499 | 2500 | to-fast-properties@^1.0.1: 2501 | version "1.0.2" 2502 | resolved "https://registry.yarnpkg.com/to-fast-properties/-/to-fast-properties-1.0.2.tgz#f3f5c0c3ba7299a7ef99427e44633257ade43320" 2503 | 2504 | tough-cookie@^2.3.2, tough-cookie@~2.3.0: 2505 | version "2.3.2" 2506 | resolved "https://registry.yarnpkg.com/tough-cookie/-/tough-cookie-2.3.2.tgz#f081f76e4c85720e6c37a5faced737150d84072a" 2507 | dependencies: 2508 | punycode "^1.4.1" 2509 | 2510 | tr46@~0.0.3: 2511 | version "0.0.3" 2512 | resolved "https://registry.yarnpkg.com/tr46/-/tr46-0.0.3.tgz#8184fd347dac9cdc185992f3a6622e14b9d9ab6a" 2513 | 2514 | trim-right@^1.0.1: 2515 | version "1.0.1" 2516 | resolved "https://registry.yarnpkg.com/trim-right/-/trim-right-1.0.1.tgz#cb2e1203067e0c8de1f614094b9fe45704ea6003" 2517 | 2518 | tunnel-agent@^0.6.0: 2519 | version "0.6.0" 2520 | resolved "https://registry.yarnpkg.com/tunnel-agent/-/tunnel-agent-0.6.0.tgz#27a5dea06b36b04a0a9966774b290868f0fc40fd" 2521 | dependencies: 2522 | safe-buffer "^5.0.1" 2523 | 2524 | tweetnacl@^0.14.3, tweetnacl@~0.14.0: 2525 | version "0.14.5" 2526 | resolved "https://registry.yarnpkg.com/tweetnacl/-/tweetnacl-0.14.5.tgz#5ae68177f192d4456269d108afa93ff8743f4f64" 2527 | 2528 | type-check@~0.3.2: 2529 | version "0.3.2" 2530 | resolved "https://registry.yarnpkg.com/type-check/-/type-check-0.3.2.tgz#5884cab512cf1d355e3fb784f30804b2b520db72" 2531 | dependencies: 2532 | prelude-ls "~1.1.2" 2533 | 2534 | uglify-js@^2.6: 2535 | version "2.8.18" 2536 | resolved "https://registry.yarnpkg.com/uglify-js/-/uglify-js-2.8.18.tgz#925d14bae48ab62d1883b41afe6e2261662adb8e" 2537 | dependencies: 2538 | source-map "~0.5.1" 2539 | yargs "~3.10.0" 2540 | optionalDependencies: 2541 | uglify-to-browserify "~1.0.0" 2542 | 2543 | uglify-to-browserify@~1.0.0: 2544 | version "1.0.2" 2545 | resolved "https://registry.yarnpkg.com/uglify-to-browserify/-/uglify-to-browserify-1.0.2.tgz#6e0924d6bda6b5afe349e39a6d632850a0f882b7" 2546 | 2547 | uid-number@^0.0.6: 2548 | version "0.0.6" 2549 | resolved "https://registry.yarnpkg.com/uid-number/-/uid-number-0.0.6.tgz#0ea10e8035e8eb5b8e4449f06da1c730663baa81" 2550 | 2551 | user-home@^1.1.1: 2552 | version "1.1.1" 2553 | resolved "https://registry.yarnpkg.com/user-home/-/user-home-1.1.1.tgz#2b5be23a32b63a7c9deb8d0f28d485724a3df190" 2554 | 2555 | util-deprecate@~1.0.1: 2556 | version "1.0.2" 2557 | resolved "https://registry.yarnpkg.com/util-deprecate/-/util-deprecate-1.0.2.tgz#450d4dc9fa70de732762fbd2d4a28981419a0ccf" 2558 | 2559 | uuid@^3.0.0: 2560 | version "3.0.1" 2561 | resolved "https://registry.yarnpkg.com/uuid/-/uuid-3.0.1.tgz#6544bba2dfda8c1cf17e629a3a305e2bb1fee6c1" 2562 | 2563 | v8flags@^2.0.10: 2564 | version "2.0.12" 2565 | resolved "https://registry.yarnpkg.com/v8flags/-/v8flags-2.0.12.tgz#73235d9f7176f8e8833fb286795445f7938d84e5" 2566 | dependencies: 2567 | user-home "^1.1.1" 2568 | 2569 | validate-npm-package-license@^3.0.1: 2570 | version "3.0.1" 2571 | resolved "https://registry.yarnpkg.com/validate-npm-package-license/-/validate-npm-package-license-3.0.1.tgz#2804babe712ad3379459acfbe24746ab2c303fbc" 2572 | dependencies: 2573 | spdx-correct "~1.0.0" 2574 | spdx-expression-parse "~1.0.0" 2575 | 2576 | verror@1.3.6: 2577 | version "1.3.6" 2578 | resolved "https://registry.yarnpkg.com/verror/-/verror-1.3.6.tgz#cff5df12946d297d2baaefaa2689e25be01c005c" 2579 | dependencies: 2580 | extsprintf "1.0.2" 2581 | 2582 | walker@~1.0.5: 2583 | version "1.0.7" 2584 | resolved "https://registry.yarnpkg.com/walker/-/walker-1.0.7.tgz#2f7f9b8fd10d677262b18a884e28d19618e028fb" 2585 | dependencies: 2586 | makeerror "1.0.x" 2587 | 2588 | watch@~0.10.0: 2589 | version "0.10.0" 2590 | resolved "https://registry.yarnpkg.com/watch/-/watch-0.10.0.tgz#77798b2da0f9910d595f1ace5b0c2258521f21dc" 2591 | 2592 | webidl-conversions@^3.0.0: 2593 | version "3.0.1" 2594 | resolved "https://registry.yarnpkg.com/webidl-conversions/-/webidl-conversions-3.0.1.tgz#24534275e2a7bc6be7bc86611cc16ae0a5654871" 2595 | 2596 | webidl-conversions@^4.0.0: 2597 | version "4.0.1" 2598 | resolved "https://registry.yarnpkg.com/webidl-conversions/-/webidl-conversions-4.0.1.tgz#8015a17ab83e7e1b311638486ace81da6ce206a0" 2599 | 2600 | whatwg-encoding@^1.0.1: 2601 | version "1.0.1" 2602 | resolved "https://registry.yarnpkg.com/whatwg-encoding/-/whatwg-encoding-1.0.1.tgz#3c6c451a198ee7aec55b1ec61d0920c67801a5f4" 2603 | dependencies: 2604 | iconv-lite "0.4.13" 2605 | 2606 | whatwg-url@^4.3.0: 2607 | version "4.6.0" 2608 | resolved "https://registry.yarnpkg.com/whatwg-url/-/whatwg-url-4.6.0.tgz#ef98da442273be04cf9632e176f257d2395a1ae4" 2609 | dependencies: 2610 | tr46 "~0.0.3" 2611 | webidl-conversions "^3.0.0" 2612 | 2613 | which-module@^1.0.0: 2614 | version "1.0.0" 2615 | resolved "https://registry.yarnpkg.com/which-module/-/which-module-1.0.0.tgz#bba63ca861948994ff307736089e3b96026c2a4f" 2616 | 2617 | which@^1.1.1, which@^1.2.12: 2618 | version "1.2.14" 2619 | resolved "https://registry.yarnpkg.com/which/-/which-1.2.14.tgz#9a87c4378f03e827cecaf1acdf56c736c01c14e5" 2620 | dependencies: 2621 | isexe "^2.0.0" 2622 | 2623 | wide-align@^1.1.0: 2624 | version "1.1.0" 2625 | resolved "https://registry.yarnpkg.com/wide-align/-/wide-align-1.1.0.tgz#40edde802a71fea1f070da3e62dcda2e7add96ad" 2626 | dependencies: 2627 | string-width "^1.0.1" 2628 | 2629 | window-size@0.1.0: 2630 | version "0.1.0" 2631 | resolved "https://registry.yarnpkg.com/window-size/-/window-size-0.1.0.tgz#5438cd2ea93b202efa3a19fe8887aee7c94f9c9d" 2632 | 2633 | wordwrap@0.0.2: 2634 | version "0.0.2" 2635 | resolved "https://registry.yarnpkg.com/wordwrap/-/wordwrap-0.0.2.tgz#b79669bb42ecb409f83d583cad52ca17eaa1643f" 2636 | 2637 | wordwrap@~0.0.2: 2638 | version "0.0.3" 2639 | resolved "https://registry.yarnpkg.com/wordwrap/-/wordwrap-0.0.3.tgz#a3d5da6cd5c0bc0008d37234bbaf1bed63059107" 2640 | 2641 | wordwrap@~1.0.0: 2642 | version "1.0.0" 2643 | resolved "https://registry.yarnpkg.com/wordwrap/-/wordwrap-1.0.0.tgz#27584810891456a4171c8d0226441ade90cbcaeb" 2644 | 2645 | worker-farm@^1.3.1: 2646 | version "1.3.1" 2647 | resolved "https://registry.yarnpkg.com/worker-farm/-/worker-farm-1.3.1.tgz#4333112bb49b17aa050b87895ca6b2cacf40e5ff" 2648 | dependencies: 2649 | errno ">=0.1.1 <0.2.0-0" 2650 | xtend ">=4.0.0 <4.1.0-0" 2651 | 2652 | wrap-ansi@^2.0.0: 2653 | version "2.1.0" 2654 | resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-2.1.0.tgz#d8fc3d284dd05794fe84973caecdd1cf824fdd85" 2655 | dependencies: 2656 | string-width "^1.0.1" 2657 | strip-ansi "^3.0.1" 2658 | 2659 | wrappy@1: 2660 | version "1.0.2" 2661 | resolved "https://registry.yarnpkg.com/wrappy/-/wrappy-1.0.2.tgz#b5243d8f3ec1aa35f1364605bc0d1036e30ab69f" 2662 | 2663 | xml-name-validator@^2.0.1: 2664 | version "2.0.1" 2665 | resolved "https://registry.yarnpkg.com/xml-name-validator/-/xml-name-validator-2.0.1.tgz#4d8b8f1eccd3419aa362061becef515e1e559635" 2666 | 2667 | "xtend@>=4.0.0 <4.1.0-0": 2668 | version "4.0.1" 2669 | resolved "https://registry.yarnpkg.com/xtend/-/xtend-4.0.1.tgz#a5c6d532be656e23db820efb943a1f04998d63af" 2670 | 2671 | y18n@^3.2.1: 2672 | version "3.2.1" 2673 | resolved "https://registry.yarnpkg.com/y18n/-/y18n-3.2.1.tgz#6d15fba884c08679c0d77e88e7759e811e07fa41" 2674 | 2675 | yargs-parser@^4.2.0: 2676 | version "4.2.1" 2677 | resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-4.2.1.tgz#29cceac0dc4f03c6c87b4a9f217dd18c9f74871c" 2678 | dependencies: 2679 | camelcase "^3.0.0" 2680 | 2681 | yargs@^6.3.0: 2682 | version "6.6.0" 2683 | resolved "https://registry.yarnpkg.com/yargs/-/yargs-6.6.0.tgz#782ec21ef403345f830a808ca3d513af56065208" 2684 | dependencies: 2685 | camelcase "^3.0.0" 2686 | cliui "^3.2.0" 2687 | decamelize "^1.1.1" 2688 | get-caller-file "^1.0.1" 2689 | os-locale "^1.4.0" 2690 | read-pkg-up "^1.0.1" 2691 | require-directory "^2.1.1" 2692 | require-main-filename "^1.0.1" 2693 | set-blocking "^2.0.0" 2694 | string-width "^1.0.2" 2695 | which-module "^1.0.0" 2696 | y18n "^3.2.1" 2697 | yargs-parser "^4.2.0" 2698 | 2699 | yargs@~3.10.0: 2700 | version "3.10.0" 2701 | resolved "https://registry.yarnpkg.com/yargs/-/yargs-3.10.0.tgz#f7ee7bd857dd7c1d2d38c0e74efbd681d1431fd1" 2702 | dependencies: 2703 | camelcase "^1.0.2" 2704 | cliui "^2.1.0" 2705 | decamelize "^1.0.0" 2706 | window-size "0.1.0" 2707 | --------------------------------------------------------------------------------