├── .babelrc ├── .editorconfig ├── .eslintrc.js ├── .gitignore ├── .npmignore ├── .travis.yml ├── CODE_OF_CONDUCT.md ├── LICENSE ├── README.md ├── index.d.ts ├── index.js ├── jest.config.json ├── package.json ├── snapshot.js ├── src ├── __snapshots__ │ └── shared-render.test.js.snap ├── deep-render.test.js ├── is-where.js ├── is-where.test.js ├── preact-render-spy.js ├── sel-to-where.js ├── sel-to-where.test.js ├── shallow-render.test.js └── shared-render.test.js ├── tests └── usage.tsx ├── tsconfig.json ├── webpack.config.js └── yarn.lock /.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": ["preact"] 3 | } 4 | -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- 1 | # EditorConfig is awesome: http://EditorConfig.org 2 | 3 | # top-most EditorConfig file 4 | root = true 5 | 6 | # Unix-style newlines with a newline ending every file 7 | [*] 8 | end_of_line = lf 9 | insert_final_newline = true 10 | trim_trailing_whitespace = true 11 | charset = utf-8 12 | indent_style = space 13 | indent_size = 2 14 | 15 | -------------------------------------------------------------------------------- /.eslintrc.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | "parser": "babel-eslint", 3 | "extends": "eslint:recommended", 4 | "plugins": [ 5 | "react", 6 | "jest", 7 | ], 8 | "env": { 9 | "browser": true, 10 | "node": true, 11 | "mocha": true, 12 | "es6": true, 13 | "jest/globals": true, 14 | }, 15 | "parserOptions": { 16 | "ecmaFeatures": { 17 | "modules": true, 18 | "jsx": true, 19 | }, 20 | }, 21 | "settings": { 22 | "react": { 23 | "pragma": "h", 24 | }, 25 | }, 26 | "globals": { 27 | "sleep": 1, 28 | }, 29 | "rules": { 30 | // only allow JSX in .test.js files 31 | "react/jsx-filename-extension": [2, { "extensions": [".test.js"] }], 32 | // disabled because we are only using JSX in tests 33 | "react/jsx-no-bind": [0], 34 | "react/jsx-no-duplicate-props": 2, 35 | "react/self-closing-comp": 2, 36 | "react/prefer-es6-class": 2, 37 | "react/no-string-refs": 2, 38 | "react/require-render-return": 2, 39 | "react/no-find-dom-node": 2, 40 | "react/no-is-mounted": 2, 41 | "react/jsx-no-comment-textnodes": 2, 42 | "react/jsx-curly-spacing": 2, 43 | "react/jsx-no-undef": 2, 44 | "react/jsx-uses-react": 2, 45 | "react/jsx-uses-vars": 2, 46 | "jest/no-disabled-tests": 1, 47 | "jest/no-focused-tests": 1, 48 | "jest/no-identical-title": 2, 49 | "camelcase": 0, 50 | "comma-dangle": [2, { 51 | "arrays": "always-multiline", 52 | "objects": "always-multiline", 53 | "imports": "always-multiline", 54 | "exports": "always-multiline", 55 | // make eslint catch any trailing comma in function argument list as an error 56 | "functions": "never", 57 | }], 58 | "comma-style": 2, 59 | "constructor-super": 2, 60 | "eqeqeq": 1, 61 | "guard-for-in": 2, 62 | "handle-callback-err": 0, 63 | "indent": [2, 2, {"SwitchCase": 1}], 64 | "keyword-spacing": 2, 65 | "max-nested-callbacks": [2, 3], 66 | "no-cond-assign": 1, 67 | "no-console": 0, 68 | "no-const-assign": 2, 69 | "no-delete-var": 2, 70 | "no-dupe-class-members": 2, 71 | "no-dupe-keys": 2, 72 | "no-else-return": 2, 73 | "no-empty": 0, 74 | "no-empty-pattern": 0, 75 | "no-eval": 2, 76 | "no-implied-eval": 2, 77 | "no-lonely-if": 2, 78 | "no-mixed-spaces-and-tabs": [2, "smart-tabs"], 79 | "no-new-func": 2, 80 | "no-redeclare": 2, 81 | "no-shadow": 0, 82 | "no-shadow-restricted-names": 2, 83 | "no-this-before-super": 2, 84 | "no-trailing-spaces": [2, { "skipBlankLines": true }], 85 | "no-undef-init": 2, 86 | "no-useless-concat": 2, 87 | "no-var": 2, 88 | "object-shorthand": 2, 89 | "prefer-arrow-callback": 2, 90 | "prefer-spread": 2, 91 | "radix": 2, 92 | "semi": 2, 93 | "strict": [2, "never"], 94 | "space-in-parens": [2, "never"], 95 | }, 96 | }; 97 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .cache/ 2 | node_modules/ 3 | -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- 1 | .babelrc 2 | tests 3 | *.test.js 4 | node_modules 5 | .eslintrc.js 6 | .cache 7 | __snapshots__ 8 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | cache: yarn 3 | node_js: 4 | - "8" 5 | - "7" 6 | - "6" 7 | 8 | -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- 1 | # Contributor Covenant Code of Conduct 2 | 3 | ## Our Pledge 4 | 5 | In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation. 6 | 7 | ## Our Standards 8 | 9 | Examples of behavior that contributes to creating a positive environment include: 10 | 11 | * Using welcoming and inclusive language 12 | * Being respectful of differing viewpoints and experiences 13 | * Gracefully accepting constructive criticism 14 | * Focusing on what is best for the community 15 | * Showing empathy towards other community members 16 | 17 | Examples of unacceptable behavior by participants include: 18 | 19 | * The use of sexualized language or imagery and unwelcome sexual attention or advances 20 | * Trolling, insulting/derogatory comments, and personal or political attacks 21 | * Public or private harassment 22 | * Publishing others' private information, such as a physical or electronic address, without explicit permission 23 | * Other conduct which could reasonably be considered inappropriate in a professional setting 24 | 25 | ## Our Responsibilities 26 | 27 | Project maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response to any instances of unacceptable behavior. 28 | 29 | Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful. 30 | 31 | ## Scope 32 | 33 | This Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers. 34 | 35 | ## Enforcement 36 | 37 | Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at gnarf37@gmail.com. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately. 38 | 39 | Project maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership. 40 | 41 | ## Attribution 42 | 43 | This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version] 44 | 45 | [homepage]: http://contributor-covenant.org 46 | [version]: http://contributor-covenant.org/version/1/4/ 47 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | Copyright 2017 Corey Frang & Michael "Z" Goddard 2 | 3 | Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. 4 | 5 | THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 6 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # preact-render-spy 2 | 3 | preact-render-spy is a package designed to cover many of the use cases for testing 4 | preact components. The API is roughly modeled after enzyme, but we do not support 5 | as many options currently. 6 | 7 | [![Build Status](https://travis-ci.org/mzgoddard/preact-render-spy.svg?branch=master)](https://travis-ci.org/mzgoddard/preact-render-spy) 8 | 9 | ## Support: 10 | 11 | We do our best to support Node.JS v6.11.0 and up, and speficially testing with jest, though other test runners should have no problems. 12 | 13 | ## Expressive Testing Example: 14 | 15 | ```jsx 16 | import {h} from 'preact'; 17 | import {shallow} from 'preact-render-spy'; 18 | import Testable from './testable'; 19 | 20 | it('lets you do cool things with preact components', () => { 21 | const context = shallow(); 22 | expect(context.find('div').contains(link)).toBeTruthy(); 23 | context.find('[onClick]').simulate('click'); 24 | expect(context.find('a').text()).toBe('clicked'); 25 | }); 26 | ``` 27 | 28 | ## How it works 29 | 30 | The main render method takes some arbitrary JSX and replaces any component nodes with 31 | spies which wrap the component. These spies then look at the rendered output of the 32 | second level of JSX and stores a big map of all the JSX virtual DOM nodes that have 33 | been created by your component. 34 | 35 | There is also concept of limiting the `depth` of the rendering such that it will only resolve 36 | a certain number of levels deep in the component tree. The `depth` of the default renderer 37 | is set to `Infinity`, and we provide another renderer called `shallow` to render with 38 | `{ depth: 1 }`. 39 | 40 | ## Jest Snapshot support 41 | We provide a plugin for rendering your jsx snapshots to a formatted string that you can enable 42 | using the jest configuration: 43 | 44 | ```json 45 | { 46 | "snapshotSerializers": [ "preact-render-spy/snapshot" ] 47 | } 48 | ``` 49 | 50 | ## Configuration 51 | We export a `config` object which you can use to change some of the internal options. 52 | The values shown in this section are the defaults: 53 | 54 | ```js 55 | import {config} from 'preact-render-spy'; 56 | 57 | // This property is used by the spy renderer to pass information to the spies about where 58 | // they are in the vdom tree, it is generally removed from the properties passed down to your 59 | // component, but it might show up in some cases, and we want you to be able to pick it. 60 | config.SPY_PRIVATE_KEY = 'SPY_PRIVATE_KEY'; 61 | 62 | // These options are passed to preact-render-to-string/jsx whenever you snapshot a VNode or 63 | // FindWrapper (and on the FindWrapper's toString method) 64 | config.toStringOptions = { shallow: true, skipFalseAttributes: false }; 65 | 66 | // This option allows you to use a custom DOM implementation instead of relying on a global 67 | // document.createDocumentFragment() 68 | config.createFragment = () => document.createDocumentFragment(); 69 | ``` 70 | 71 | ## Exported Methods 72 | 73 | ### `deep(jsx, {depth = Infinity} = {})` 74 | Creates a new `RenderContext` and renders using `opts.depth` to specify how many components deep 75 | it should allow the renderer to render. Also exported as `render` and `default`. 76 | 77 | Example: 78 | ```jsx 79 | const Deeper = () =>
Until Infinity!
; 80 | const Second = () => ; 81 | const First = () => ; 82 | 83 | let context; 84 | context = deep(); 85 | expect(context.find('div').text()).toBe('Until Infinity!'); 86 | 87 | context = deep(, { depth: 2 }); 88 | // We rendered First and Second, but not Deeper, so we never render a
89 | expect(context.find('div').length).toBe(0); 90 | ``` 91 | 92 | ### `shallow(jsx)` 93 | Creates a new `RenderContext` with `{ depth: 1 }`. 94 | 95 | ### `RenderContext#find(selector)` 96 | Given a rendered context, `find` accepts a "css like" language of selectors to search through the 97 | rendered vdom for given nodes. **NOTE:** We only support this very limited set of "selectors", and no nesting. 98 | We may expand this selector language in future versions, but it acheives our goals so far! 99 | 100 | * `find('.selector')` - searches for any nodes with `class` or `className` attribute that matches `selector` 101 | * `find('#selector')` - searches for any nodes with an `id` attribute that matches `selector` 102 | * `find('[selector]')` - searches for any nodes which have an attribute named `selector` 103 | * `find('Selector')` - searches for any nodes which have a nodeName that matches `Selector`, 104 | this will search for function/classes whos `name` is `Selector`, or `displayName` is `Selector`. 105 | If the `Selector` starts with a lower case letter, it will also check for tags like `div`. 106 | * `find()` - searches for any nodes whos nodeName equals `Selector` 107 | and attributes match the ones given in the JSX. **NOTE:** This does not support children, just simple attributes. 108 | Can be useful to find components from minified output that don't include display names. 109 | `.find()` will look for JSX nodes using the same `ImportedComponent` function. 110 | 111 | This will return you a [`FindWrapper`](#findwrapper) which has other useful methods for testing. 112 | 113 | ### `RenderContext` extends `FindWrapper` 114 | 115 | Like [`#find(selector)`](#rendercontextfindselector) `RenderContext` has the rest of `FindWrapper`'s methods. 116 | 117 | ### `RenderContext#render(jsx)` 118 | Renders the root level jsx node using the same depth initially requested. This can be useful for testing 119 | `componentWillReceiveProps` hooks. 120 | 121 | Example: 122 | 123 | ```jsx 124 | const Node = ({name}) =>
{name}
125 | const context = shallow(); 126 | expect(context.find('div').text()).toBe('example'); 127 | 128 | context.render(); 129 | expect(context.find('div').text()).toBe('second'); 130 | ``` 131 | 132 | ### `RenderContext.rerender()` 133 | Calls `preact.rerender()` which performs any state changes in the render queue. 134 | 135 | ### `FindWrapper` 136 | Contains a selection of nodes from `RenderContext#find(selector)`. 137 | Has numeric indexed properties and length like an array. 138 | 139 | ### `FindWrapper#at(index)` 140 | Returns another `FindWrapper` at the specific index in the selection. Similar to `wrapper[0]` but will 141 | allow using other `FindWrapper` methods on the result. 142 | 143 | ### `FindWrapper#attr(name)` 144 | Requires a single node selection to work. 145 | Returns the value of the `name` attribute on the jsx node. 146 | 147 | ### `FindWrapper#attrs()` 148 | Requires a single node selection to work. 149 | Returns a copy of the attributes passed to the jsx node. 150 | 151 | ### `FindWrapper#component()` 152 | Requires a single node, which is a class based component. 153 | Returns the **Spied** component. preact-render-spy creates a subclass of your components that enable us to spy things, you'll get a `class Spy extends YourComponent` instance. 154 | 155 | Example: 156 | ```jsx 157 | const context = shallow(); 158 | expect(context.component()).toBeInstanceOf(MyComponent); 159 | ``` 160 | 161 | ### `FindWrapper#contains(vdom)` 162 | Searches for any children matching the vdom or text passed. 163 | 164 | ### `FindWrapper#children()` 165 | Returns `FindWrapper` with children of current wrapper. 166 | 167 | ### `FindWrapper#childAt(index)` 168 | Returns `FindWrapper` with child at given index. 169 | This has the same effect as calling `wrapper.children().at(index)`. 170 | 171 | ```jsx 172 | const context = shallow(); 173 | expect(context.childAt(1).text()).toBe('Second list element'); 174 | ``` 175 | 176 | ### `FindWrapper#exists()` 177 | Returns whether or not given node exists. 178 | 179 | ### `FindWrapper#filter(selector)` 180 | Returns a new `FindWrapper` with a subset of the previously selected elements given the selector argument. 181 | 182 | Uses the same possible selectors as [`RenderContext#find(selector)`](#rendercontextfindselector). 183 | 184 | ### `FindWrapper#map(fn)` 185 | Maps array of nodes from this `FindWrapper` to another array. 186 | Each node is passed in as a `FindWrapper` to the map function along with index number of element. 187 | 188 | ```jsx 189 | const context = shallow(( 190 |
    191 |
  • first
  • 192 |
  • second
  • 193 |
  • third
  • 194 |
195 | )); 196 | 197 | const items = context.find('.item').map(node => node.text()); 198 | expect(items).toEqual(['first', 'second', 'third']); 199 | ``` 200 | 201 | ### `FindWrapper#find(selector)` 202 | Selects descendents of the elements previously selected. Returns a new `FindWrapper` with the newly selected elements. 203 | 204 | Uses the same possible selectors as [`RenderContext#find(selector)`](#rendercontextfindselector). 205 | 206 | ### `FindWrapper#first()` 207 | Returns another `FindWrapper` at the first index in the selection. 208 | 209 | ### `FindWrapper#last()` 210 | Returns another `FindWrapper` at the last index in the selection. 211 | 212 | ### `FindWrapper#setState(newState)` 213 | Requires a single node, which is a class based component. 214 | Allows you to set the state of a rendered component. Automatically `rerender()`s the view. 215 | 216 | Example: 217 | ```jsx 218 | const context = shallow(); 219 | context.setState({ count: 2 }); 220 | expect(context.text()).toEqual('2'); 221 | ``` 222 | 223 | ### `FindWrapper#simulate(event, ...args)` 224 | Looks for an attribute properly named `onEvent` or `onEventCapture` and calls it, passing the arguments. 225 | 226 | ### `FindWrapper#state(key)` 227 | Requires a single node, which is a class based component. 228 | Reads the current state from the component. When passed `key`, this is essentially shorthand `state(key) === state()[key]`. 229 | 230 | Example: 231 | ```jsx 232 | const context = shallow(); 233 | expect(context.state()).toEqual({ count: 0 }); 234 | context.find('[onClick]').simulate('click'); 235 | expect(context.state('count')).toEqual(1); 236 | ``` 237 | 238 | ### `FindWrapper#text()` 239 | Returns the flattened string of any text children of any child component. 240 | 241 | ### `FindWrapper#output()` 242 | Requires a single Component or functional node. Returns the vdom output of the given component. 243 | Any Component or functional nodes will be "recursive" up to the depth you specified. I.E.: 244 | 245 | Example: 246 | ```jsx 247 | 248 | const Second = ({ children }) =>
second {children}
; 249 | const First = () => first; 250 | 251 | // rendered deep, we get the div output 252 | expect(deep().output()).toEqual(
second first
); 253 | // rendered shallow, we get the jsx node back 254 | expect(shallow().output()).toEqual(first); 255 | ``` 256 | 257 | ## Examples 258 | 259 | There are many examples in the source files. Some [tests specific to shallow](https://github.com/mzgoddard/preact-render-spy/blob/master/src/shallow-render.test.js), [tests specific to deep](https://github.com/mzgoddard/preact-render-spy/blob/master/src/deep-render.test.js), and many more [tests against both](https://github.com/mzgoddard/preact-render-spy/blob/master/src/shared-render.test.js). 260 | 261 | ### Simulate Clicks: 262 | ```jsx 263 | class ClickCount extends Component { 264 | constructor(...args) { 265 | super(...args); 266 | 267 | this.state = {count: 0}; 268 | this.onClick = this.onClick.bind(this); 269 | } 270 | 271 | onClick() { 272 | this.setState({count: this.state.count + 1}); 273 | } 274 | 275 | render({}, {count}) { 276 | return
{count}
; 277 | } 278 | } 279 | const context = shallow(); 280 | expect(context.find('div').contains('0')).toBeTruthy(); 281 | context.find('[onClick]').simulate('click'); 282 | expect(context.find('div').contains('1')).toBeTruthy(); 283 | ``` 284 | 285 | ### Testing componentWillUnmount 286 | 287 | ```jsx 288 | import { h, Component } from 'preact'; 289 | import { shallow } from 'preact-render-spy'; 290 | 291 | class Unmount extends Component { 292 | 293 | componentWillUnmount() { 294 | this.props.onUnmount(this); 295 | } 296 | 297 | render() { 298 | return
Unmount me
; 299 | } 300 | } 301 | 302 | it('triggers unmount', () => { 303 | const trigger = jest.fn(); 304 | const context = shallow(); 305 | expect(trigger).not.toHaveBeenCalled(); 306 | 307 | // This will trigger the componentWillUnmount 308 | context.render(null); 309 | expect(trigger).toHaveBeenCalled(); 310 | }); 311 | ``` 312 | 313 | ### Testing componentWillReceiveProps 314 | 315 | ```jsx 316 | import { h, Component } from 'preact'; 317 | import { shallow } from 'preact-render-spy'; 318 | 319 | class ReceivesProps extends Component { 320 | constructor(props) { 321 | this.state = { value: props.value }; 322 | } 323 | 324 | componentWillReceiveProps({ value }) { 325 | if (value !== this.props.value) { 326 | this.setState({ value: `_${value}_` }) 327 | } 328 | } 329 | 330 | render() { 331 | return
{this.state.value}
332 | } 333 | } 334 | 335 | it('receives props', () => { 336 | const context = shallow(); 337 | expect(context.text()).toBe('test'); 338 | 339 | context.render(); 340 | expect(context.text()).toBe('_second_'); 341 | }); 342 | ``` 343 | -------------------------------------------------------------------------------- /index.d.ts: -------------------------------------------------------------------------------- 1 | import * as preact from "preact"; 2 | 3 | /** 4 | * Contains a selection of nodes from `RenderContext#find(selector)`. Has numeric indexed properties and `length` like 5 | * an array. 6 | **/ 7 | export interface FindWrapper { 8 | /** Retrieve node at index */ 9 | [index: number]: preact.VNode; 10 | 11 | /** Number of available nodes */ 12 | length: number; 13 | 14 | /** 15 | * Returns another `FindWrapper` at the specific index in the selection. Similar to wrapper[0] but will allow using 16 | * other FindWrapper methods on the result. 17 | **/ 18 | at(index: number): FindWrapper; 19 | 20 | /** 21 | * Returns another `FindWrapper` at the first index in the selection. 22 | **/ 23 | first(): FindWrapper; 24 | 25 | /** 26 | * Returns another `FindWrapper` at the last index in the selection. 27 | **/ 28 | last(): FindWrapper; 29 | 30 | /** Requires a single node selection to work. Returns the value of the name attribute on the jsx node. */ 31 | attr(name: K): P[K]; 32 | 33 | /** Requires a single node selection to work. Returns a copy of the attributes passed to the jsx node. */ 34 | attrs(): P; 35 | 36 | /** Searches for any children matching the vdom or text passed. */ 37 | contains(vdom: preact.VNode | string): boolean; 38 | 39 | /** Returns preact instance */ 40 | component(): any; 41 | 42 | /** 43 | * Returns `FindWrapper` with child at given index. 44 | **/ 45 | childAt(index: number): FindWrapper; 46 | 47 | /** 48 | * Returns `FindWrapper` with children of current wrapper. 49 | **/ 50 | children(): FindWrapper; 51 | 52 | /** 53 | * Returns whether or not given node exists. 54 | **/ 55 | exists(): boolean; 56 | 57 | /** 58 | * Returns a new `FindWrapper` with a subset of the previously selected elements given the selector argument. 59 | * Uses the same selectors as .find() 60 | **/ 61 | filter(selector: string): FindWrapper; 62 | 63 | /** 64 | * Maps array of nodes from this `FindWrapper` to another array. 65 | * Each node is passed in as a `FindWrapper` to the map function along with index number of element. 66 | **/ 67 | map(fn: (element: FindWrapper, index: number) => any): any[]; 68 | 69 | /** 70 | * Selects descendents of the elements previously selected. Returns a new `FindWrapper` with the newly selected 71 | * elements. 72 | **/ 73 | find(selector: preact.VNode | string): FindWrapper; 74 | 75 | /** Requires a single `Component` or functional node. Returns the raw vdom output of the given component. */ 76 | output(): preact.VNode; 77 | 78 | /** Sets the wrapper state. */ 79 | setState(newState: Object): Object; 80 | 81 | /** Looks for an attribute properly named `onEvent` or `onEventCapture` and calls it, passing the arguments. */ 82 | simulate(event: string, ...args: any[]): void; 83 | 84 | /** Returns a state object or a specific key value. */ 85 | state(key?: string): any; 86 | 87 | /** Returns the flattened string of any text children of any child component. */ 88 | text(): string; 89 | } 90 | 91 | /** A rendered context; extends `FindWrapper`. */ 92 | export interface RenderContext extends FindWrapper { 93 | /** 94 | * Re-renders the root level jsx node using the same depth initially requested. NOTE: When preact re-renders this 95 | * way, it will not reuse components, so if you want to test `componentWillReceiveProps` you will need to use a 96 | * test wrapper component. 97 | **/ 98 | render(jsx: JSX.Element): RenderContext; 99 | 100 | /** 101 | * Re-renders the same JSX with the same depth that was initially requested. This is helpful in performing any 102 | * state changes in the render queue. 103 | **/ 104 | rerender(): RenderContext; 105 | } 106 | 107 | /** Options for DeepFunction. */ 108 | export interface DeepOptions { 109 | /** Depth from parent to render. */ 110 | depth: number; 111 | } 112 | 113 | /** Deep render function */ 114 | interface DeepFunction { 115 | /** 116 | * Creates a new RenderContext and renders using `opts.depth` to specify how many components deep it should allow 117 | * the renderer to render. Also exported as render and default. 118 | * 119 | * Default depth: `Infinity`. 120 | **/ 121 | (vdom: JSX.Element, options?: DeepOptions): RenderContext; 122 | } 123 | 124 | /** Shallow render function */ 125 | interface ShallowFunction { 126 | /** Creates a new RenderContext with `{ depth: 1 }`. */ 127 | (vdom: JSX.Element): RenderContext; 128 | } 129 | 130 | interface ToStringOptions { 131 | attributeHook: Function; 132 | functionNames: boolean; 133 | functions: boolean; 134 | jsx: boolean; 135 | skipFalseAttributes: boolean; 136 | pretty: boolean; 137 | shallow: boolean; 138 | xml: boolean; 139 | } 140 | 141 | export const config: { 142 | SPY_PRIVATE_KEY: string; 143 | createFragment: () => Document | Element; 144 | toStringOptions: ToStringOptions; 145 | } 146 | 147 | export const deep: DeepFunction; 148 | export const render: DeepFunction; 149 | export const rerender: DeepFunction; 150 | export const shallow: ShallowFunction; 151 | export default deep; 152 | -------------------------------------------------------------------------------- /index.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./src/preact-render-spy'); 2 | -------------------------------------------------------------------------------- /jest.config.json: -------------------------------------------------------------------------------- 1 | { 2 | "testPathIgnorePatterns": [ 3 | "/node_modules/", 4 | "/.cache/" 5 | ], 6 | "transform": { 7 | "^.+\\.test\\.jsx?$": "babel-jest" 8 | }, 9 | "snapshotSerializers": [ 10 | "./snapshot" 11 | ] 12 | } 13 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "preact-render-spy", 3 | "version": "1.3.0", 4 | "description": "Render preact components with access to the produced virtual dom for testing.", 5 | "repository": { 6 | "type": "git", 7 | "url": "https://github.com/mzgoddard/preact-render-spy" 8 | }, 9 | "main": "index.js", 10 | "typings": "index.d.ts", 11 | "scripts": { 12 | "test-jest": "jest --config jest.config.json", 13 | "test-jest-webpack": "jest-webpack", 14 | "test": "npm run test-jest", 15 | "pretest": "npm run lint", 16 | "lint": "eslint --ignore-pattern='!.eslintrc.js' --ext js,jsx src .eslintrc.js *.js" 17 | }, 18 | "jest": { 19 | "transform": {}, 20 | "snapshotSerializers": [ 21 | "./snapshot" 22 | ] 23 | }, 24 | "keywords": [ 25 | "preact", 26 | "vdom", 27 | "jsx", 28 | "testing", 29 | "test" 30 | ], 31 | "author": { 32 | "name": "Michael \"Z\" Goddard", 33 | "email": "mzgoddard@gmail.com" 34 | }, 35 | "contributors": [ 36 | { 37 | "name": "Michael \"Z\" Goddard", 38 | "email": "mzgoddard@gmail.com" 39 | }, 40 | { 41 | "name": "Corey Frang", 42 | "email": "gnarf37@gmail.com" 43 | } 44 | ], 45 | "license": "ISC", 46 | "devDependencies": { 47 | "@mzgoddard/jest-webpack": "^0.0.12", 48 | "babel-core": "^6.25.0", 49 | "babel-eslint": "^7.2.3", 50 | "babel-loader": "^7.0.0", 51 | "babel-preset-jest": "^20.0.3", 52 | "babel-preset-preact": "^1.1.0", 53 | "eslint": "^4.2.0", 54 | "eslint-plugin-jest": "^20.0.3", 55 | "eslint-plugin-react": "^7.1.0", 56 | "jest": "^20.0.4", 57 | "preact": "^8.2.1", 58 | "typescript": "^2.4.1", 59 | "webpack": "^2.7.0" 60 | }, 61 | "peerDependencies": { 62 | "preact": "^8.1.0" 63 | }, 64 | "dependencies": { 65 | "lodash.isequal": "^4.5.0", 66 | "object.entries": "^1.0.4", 67 | "preact-render-to-string": "^3.6.3" 68 | } 69 | } 70 | -------------------------------------------------------------------------------- /snapshot.js: -------------------------------------------------------------------------------- 1 | const renderToString = require('preact-render-to-string/jsx'); 2 | const renderSpy = require('./src/preact-render-spy'); 3 | const FindWrapper = renderSpy.FindWrapper; 4 | const config = renderSpy.config; 5 | 6 | module.exports = { 7 | test(object) { 8 | if (!object || typeof object !== 'object') { 9 | return false; 10 | } 11 | 12 | if (object instanceof FindWrapper) { 13 | // is FindWrapper! 14 | return true; 15 | } 16 | 17 | if ('nodeName' in object && 'attributes' in object && 'children' in object && !('nodeType' in object)) { 18 | // is VNode! 19 | return true; 20 | } 21 | 22 | return false; 23 | }, 24 | print(val) { 25 | if (val instanceof FindWrapper) { 26 | return val.toString(); 27 | } 28 | return renderToString(val, {}, config.toStringOptions, true); 29 | }, 30 | }; 31 | -------------------------------------------------------------------------------- /src/__snapshots__/shared-render.test.js.snap: -------------------------------------------------------------------------------- 1 | // Jest Snapshot v1, https://goo.gl/fbAQLP 2 | 3 | exports[`deep: context matches snapshot 1`] = ` 4 | preact-render-spy (1 nodes) 5 | ------- 6 |
second first
7 | 8 | `; 9 | 10 | exports[`deep: find matches snapshot 1`] = ` 11 | preact-render-spy (3 nodes) 12 | ------- 13 | click 14 | text 15 | 19 | bools 20 | 21 | 22 | `; 23 | 24 | exports[`deep: output matches snapshot 1`] = `
second first
`; 25 | 26 | exports[`deep: snapshots for text nodes 1`] = ` 27 | preact-render-spy (1 nodes) 28 | ------- 29 | Text 30 | 31 | `; 32 | 33 | exports[`deep: snapshots for text nodes 2`] = ` 34 | preact-render-spy (1 nodes) 35 | ------- 36 |
Text
37 | 38 | `; 39 | 40 | exports[`deep: weird render cases toString matches snapshot 1`] = ` 41 | "preact-render-spy (1 nodes) 42 | ------- 43 | {null} 44 | " 45 | `; 46 | 47 | exports[`deep: weird render cases toString matches snapshot 2`] = `preact-render-spy (0 nodes)`; 48 | 49 | exports[`shallow: context matches snapshot 1`] = ` 50 | preact-render-spy (1 nodes) 51 | ------- 52 | first 53 | 54 | `; 55 | 56 | exports[`shallow: find matches snapshot 1`] = ` 57 | preact-render-spy (3 nodes) 58 | ------- 59 | click 60 | text 61 | 65 | bools 66 | 67 | 68 | `; 69 | 70 | exports[`shallow: output matches snapshot 1`] = `first`; 71 | 72 | exports[`shallow: snapshots for text nodes 1`] = ` 73 | preact-render-spy (1 nodes) 74 | ------- 75 | Text 76 | 77 | `; 78 | 79 | exports[`shallow: snapshots for text nodes 2`] = ` 80 | preact-render-spy (1 nodes) 81 | ------- 82 |
83 | 84 |
85 | 86 | `; 87 | 88 | exports[`shallow: weird render cases toString matches snapshot 1`] = ` 89 | "preact-render-spy (1 nodes) 90 | ------- 91 | 92 |
93 |
94 | " 95 | `; 96 | 97 | exports[`shallow: weird render cases toString matches snapshot 2`] = ` 98 | preact-render-spy (1 nodes) 99 | ------- 100 |
101 | 102 | `; 103 | -------------------------------------------------------------------------------- /src/deep-render.test.js: -------------------------------------------------------------------------------- 1 | const {h, Component} = require('preact'); 2 | 3 | const {render} = require('./preact-render-spy'); 4 | 5 | it('componentWillReceiveProps', () => { 6 | class Child extends Component { 7 | constructor(props) { 8 | super(props); 9 | this.state = {value: props.value}; 10 | } 11 | 12 | componentWillReceiveProps(newProps) { 13 | this.setState({value: `_${newProps.value}_`}); 14 | } 15 | 16 | render(props, {value}) { 17 | return ( 18 |
{value}
19 | ); 20 | } 21 | } 22 | 23 | class Parent extends Component { 24 | constructor(props) { 25 | super(props); 26 | this.state = {value: 'default'}; 27 | } 28 | 29 | render(props, {value}) { 30 | return ( 31 | this.setState({value: 'clicked'})} 33 | value={value} 34 | /> 35 | ); 36 | } 37 | } 38 | 39 | const context = render(); 40 | const getChild = () => context.find('Child').at(0); 41 | expect(getChild().text()).toBe('default'); 42 | getChild().simulate('click'); 43 | expect(getChild().text()).toBe('_clicked_'); 44 | }); 45 | 46 | it(`renders components with null children`, () => { 47 | const Null = () => null; 48 | const Node = () =>
text
; 49 | const context = render(); 50 | expect(context.find('div').text()).toBe('text'); 51 | }); 52 | 53 | it('renders to a specified depth', () => { 54 | const ErrorIfRendered = () => { throw new Error('this should not render'); }; 55 | const Second = () => ; 56 | const First = () =>
; 57 | const context = render(, { depth: 2 }); 58 | expect(context.find('ErrorIfRendered').length).toBe(2); 59 | 60 | expect(() => render(, { depth: 3 })).toThrow(); 61 | }); 62 | -------------------------------------------------------------------------------- /src/is-where.js: -------------------------------------------------------------------------------- 1 | const entries = require('object.entries'); 2 | 3 | const ATTRIBUTE_PRESENT = {exists: true}; 4 | 5 | /** 6 | * _isWhere matching checks 7 | * `where` should be an object with keys you wish to match against a `target` object 8 | * 9 | * { attr: ATTRIBUTE_PRESENT } - If the value of a key is the ATTRIBUTE_PRESENT constant 10 | * we return false if the attribute is not a property of that 11 | * object. `'attr' in target` 12 | * 13 | * { attr: null } - Asserts that `target.attr === null` 14 | * 15 | * { attr: anotherObject } - Recurses using `_isWhere(where.attr, target.attr)` 16 | * 17 | * { nodeName: String|Function } - Matches value checking `target.nodeName`. 18 | * When `target.nodeName` is a function, it tests that `name`, `displayName` match the 19 | * String given, or when a Function, that they are equal. 20 | * 21 | * { class: String } or { className: String } - Tests the `target.class || target.className` for 22 | * the presence of the given string. Will "split" the target class attribute into an array on 23 | * whitespace, and returns false if the given class isn't present. 24 | * 25 | * { attr: value } - All other value/attribute combinations are a simple === test 26 | */ 27 | 28 | const _isWhere = (where, target) => { 29 | // Check each key from where 30 | for (const [key, value] of entries(where)) { 31 | 32 | // If the key is set, but value is undefined, we ignore it 33 | if (typeof value === 'undefined') { 34 | continue; 35 | } 36 | 37 | // Allow a way to check for the pressenece of an attribute with that name. 38 | if (value === ATTRIBUTE_PRESENT) { 39 | if (!(key in target)) { 40 | return false; 41 | } 42 | continue; 43 | } 44 | 45 | // Null check 46 | if (value === null) { 47 | if (target[key] !== null) { 48 | return false; 49 | } 50 | continue; 51 | } 52 | 53 | // Object checks (recursion) 54 | if (typeof value === 'object') { 55 | if (!(Boolean(target[key]) && _isWhere(value, target[key]))) { 56 | return false; 57 | } 58 | continue; 59 | } 60 | 61 | // nodeName attributes 62 | if (key === 'nodeName') { 63 | // if the target is a component 64 | if (typeof target.nodeName === 'function') { 65 | // match the raw function value, name value, or displayName value 66 | if (target.nodeName !== value && target.nodeName.name !== value && target.nodeName.displayName !== value) { 67 | return false; 68 | } 69 | } 70 | else if (/[a-z]/.test(value[0])) { 71 | // nodeName starts with a lowercase letter = standard string nodenames 72 | if (target.nodeName !== value) { 73 | return false; 74 | } 75 | } 76 | else { 77 | // some unsupported nodeName query 78 | return false; 79 | } 80 | continue; 81 | } 82 | 83 | if (key === 'class' || key === 'className') { 84 | let attr = target.class || target.className; 85 | if (!attr) { 86 | attr = []; 87 | } 88 | else if (typeof attr === 'string') { 89 | attr = attr.split(/\s+/); 90 | } 91 | else { 92 | return false; 93 | } 94 | 95 | if (!attr || attr.indexOf(value) === -1) { 96 | return false; 97 | } 98 | continue; 99 | } 100 | 101 | if (!target || target[key] !== value) { 102 | return false; 103 | } 104 | } 105 | return true; 106 | }; 107 | 108 | const isWhere = where => value => _isWhere(where, value); 109 | 110 | module.exports = { 111 | _isWhere, 112 | isWhere, 113 | ATTRIBUTE_PRESENT, 114 | }; 115 | -------------------------------------------------------------------------------- /src/is-where.test.js: -------------------------------------------------------------------------------- 1 | const {h, Component} = require('preact'); 2 | 3 | const {isWhere} = require('./is-where'); 4 | 5 | it('tests tag names', () => { 6 | expect(isWhere({nodeName: 'div'})(
)).toBeTruthy(); 7 | }); 8 | 9 | it('tests class names', () => { 10 | const testClass = isWhere({attributes: {class: 'test'}}); 11 | expect(testClass(
)).toBeTruthy(); 12 | expect(testClass(
)).toBeFalsy(); 13 | expect(testClass(
)).toBeTruthy(); 14 | expect(testClass(
)).toBeFalsy(); 15 | expect(testClass(
)).toBeTruthy(); 16 | }); 17 | 18 | it('tests Component names', () => { 19 | class Node extends Component {} 20 | const NodelessConst = () => {}; 21 | function NodelessFunc() {} 22 | function DisplayNamedFunc() {} 23 | DisplayNamedFunc.displayName = 'displayName'; 24 | 25 | expect(isWhere({nodeName: 'Node'})()).toBeTruthy(); 26 | expect(isWhere({nodeName: 'NodelessConst'})()).toBeTruthy(); 27 | expect(isWhere({nodeName: 'NodelessFunc'})()).toBeTruthy(); 28 | expect(isWhere({nodeName: 'displayName'})()).toBeTruthy(); 29 | }); 30 | 31 | it('tests vdom names', () => { 32 | class Node extends Component {} 33 | const NodelessConst = () => {}; 34 | function NodelessFunc() {} 35 | function DisplayNamedFunc() {} 36 | DisplayNamedFunc.displayName = 'displayName'; 37 | 38 | expect(isWhere()()).toBeTruthy(); 39 | expect(isWhere()()).toBeTruthy(); 40 | expect(isWhere()()).toBeTruthy(); 41 | expect(isWhere()()).toBeTruthy(); 42 | }); 43 | 44 | 45 | 46 | it('tests nested attributes', () => { 47 | expect(isWhere({attributes: {class: 'class'}})(
)) 48 | .toBeTruthy(); 49 | }); 50 | -------------------------------------------------------------------------------- /src/preact-render-spy.js: -------------------------------------------------------------------------------- 1 | const {render, rerender, h, Component} = require('preact'); 2 | const isEqual = require('lodash.isequal'); 3 | const renderToString = require('preact-render-to-string/jsx'); 4 | 5 | const {isWhere} = require('./is-where'); 6 | const {selToWhere} = require('./sel-to-where'); 7 | 8 | const config = { 9 | SPY_PRIVATE_KEY: 'SPY_PRIVATE_KEY', 10 | createFragment: () => document.createDocumentFragment(), 11 | toStringOptions: {shallow: true, skipFalseAttributes: false}, 12 | }; 13 | 14 | const spyWalk = (context, vdom, depth) => { 15 | if (!vdom) { 16 | return vdom; 17 | } 18 | const spyCreator = depth > context.renderedDepth ? createNoopSpy : createSpy; 19 | if (typeof vdom.nodeName === 'function' && !vdom.nodeName.isSpy) { 20 | vdom = Object.assign({}, vdom, { 21 | nodeName: spyCreator(context, vdom.nodeName), 22 | attributes: Object.assign({}, vdom.attributes, { 23 | [config.SPY_PRIVATE_KEY]: {vdom, depth}, 24 | }), 25 | }); 26 | } 27 | else if (vdom.children) { 28 | vdom = Object.assign({}, vdom, { 29 | children: vdom.children.map(child => spyWalk(context, child, depth)), 30 | }); 31 | } 32 | return vdom; 33 | }; 34 | 35 | const popSpyKey = _props => { 36 | const {vdom: spyKey, depth: spyDepth} = _props[config.SPY_PRIVATE_KEY]; 37 | delete _props[config.SPY_PRIVATE_KEY]; 38 | return [spyKey, spyDepth, _props]; 39 | }; 40 | 41 | const setVDom = (context, spyKey, vdom) => { 42 | context.vdomMap.set(spyKey, vdom); 43 | context.vdomRevision++; 44 | return vdom; 45 | }; 46 | 47 | const NoopSpy = ()=>{}; 48 | 49 | const _createNoopSpy = (context, Component) => { 50 | return function(_props) { 51 | const [,, props] = popSpyKey(_props); 52 | const vdom = { 53 | nodeName: NoopSpy, 54 | attributes: Object.assign({ 55 | component: Component, 56 | }, props), 57 | children: props.children, 58 | }; 59 | delete vdom.attributes.children; 60 | return vdom; 61 | }; 62 | }; 63 | 64 | const createFuncSpy = (context, Component) => { 65 | return function(_props, ...args) { 66 | const [spyKey, depth, props] = popSpyKey(_props); 67 | const output = Component.call(this, props, ...args); 68 | return spyWalk(context, setVDom(context, spyKey, output), depth + 1); 69 | }; 70 | }; 71 | 72 | const createClassSpy = (context, Component) => { 73 | class Spy extends Component { 74 | constructor(_props, ...args) { 75 | const [spyKey, spyDepth, props] = popSpyKey(_props); 76 | super(props, ...args); 77 | context.keyMap.set(this, spyKey); 78 | context.depthMap.set(this, spyDepth); 79 | } 80 | 81 | componentWillReceiveProps(_props, ...args) { 82 | const [spyKey, spyDepth, props] = popSpyKey(_props); 83 | context.keyMap.set(this, spyKey); 84 | context.depthMap.set(this, spyDepth); 85 | if (super.componentWillReceiveProps) { 86 | super.componentWillReceiveProps(props, ...args); 87 | } 88 | } 89 | 90 | render(...args) { 91 | const spyKey = context.keyMap.get(this); 92 | const spyDepth = context.depthMap.get(this); 93 | context.componentMap.set(spyKey, this); 94 | return spyWalk(context, setVDom(context, spyKey, super.render(...args)), spyDepth + 1); 95 | } 96 | } 97 | return Spy; 98 | }; 99 | 100 | const createNoopSpy = (context, Component) => { 101 | if (context.componentNoopMap.get(Component)) {return context.componentNoopMap.get(Component);} 102 | 103 | const Spy = _createNoopSpy(context, Component); 104 | Spy.isSpy = true; 105 | 106 | context.componentNoopMap.set(Component, Spy); 107 | 108 | return Spy; 109 | }; 110 | 111 | const createSpy = (context, Component) => { 112 | if (context.componentMap.get(Component)) {return context.componentMap.get(Component);} 113 | 114 | let Spy; 115 | if (!Component.prototype || !Component.prototype.render) { 116 | Spy = createFuncSpy(context, Component); 117 | } 118 | else { 119 | Spy = createClassSpy(context, Component); 120 | } 121 | 122 | Spy.isSpy = true; 123 | 124 | context.componentMap.set(Component, Spy); 125 | 126 | return Spy; 127 | }; 128 | 129 | const vdomIter = function* (vdomMap, vdom) { 130 | if (!vdom) { 131 | return; 132 | } 133 | yield vdom; 134 | if (typeof vdom.nodeName === 'function' && vdomMap.has(vdom)) { 135 | yield* vdomIter(vdomMap, vdomMap.get(vdom)); 136 | } 137 | else { 138 | for (const child of (vdom.children || [])) { 139 | yield* vdomIter(vdomMap, child); 140 | } 141 | } 142 | }; 143 | 144 | const vdomWalk = function* (vdomMap, iter) { 145 | for (const vdom of iter) { 146 | yield* vdomIter(vdomMap, vdom); 147 | } 148 | }; 149 | 150 | const skip = function* (count, iter) { 151 | for (let i = 0; i < count; i++) { 152 | if (iter.next().done) {break;} 153 | } 154 | yield* iter; 155 | }; 156 | 157 | const vdomFilter = (pred, vdomMap, vdom) => { 158 | return Array.from(skip(1, vdomIter(vdomMap, vdom))).filter(pred); 159 | }; 160 | 161 | const verifyFoundNodes = wrapper => { 162 | if (wrapper.vdomRevision !== wrapper.context.vdomRevision) { 163 | console.warn('preact-render-spy: Warning! Performing operation on stale find() result.'); 164 | } 165 | }; 166 | 167 | const verifyOnlySingleNode = (wrapper, methodName) => { 168 | if (wrapper.length !== 1) { 169 | throw new Error(`preact-render-spy: ${methodName} method can only be used on a single node`); 170 | } 171 | }; 172 | 173 | class FindWrapper { 174 | constructor(context, _iter, selector) { 175 | // Set a non-enumerable property for context. In case a user does an deep 176 | // equal comparison this removes the chance for recursive comparisons. 177 | setHiddenProp(this, 'context', context || this); 178 | setHiddenProp(this, 'vdomRevision', this.context.vdomRevision); 179 | this.length = 0; 180 | let iter = _iter; 181 | if (selector) { 182 | Object.defineProperty(this, 'selector', {enumerable: false, value: selector}); 183 | iter = [].concat(...Array.from(iter, root => ( 184 | Array.from(vdomFilter(isWhere(selToWhere(selector)), context.vdomMap, root)) 185 | ))); 186 | } 187 | iter 188 | .forEach((element, index) => { 189 | this[index] = element; 190 | this.length = index + 1; 191 | }); 192 | } 193 | 194 | at(index) { 195 | if (index >= this.length) { 196 | throw new Error(`preact-render-spy: Must have enough results for .at(${index}).`); 197 | } 198 | verifyFoundNodes(this); 199 | 200 | return new FindWrapper(this.context, [this[index]]); 201 | } 202 | 203 | first() { 204 | if (this.length <= 0) { 205 | throw new Error(`preact-render-spy: Must have at least one result for .first().`); 206 | } 207 | return this.at(0); 208 | } 209 | 210 | last() { 211 | if (this.length <= 0) { 212 | throw new Error(`preact-render-spy: Must have at least one result for .last().`); 213 | } 214 | return this.at(this.length - 1); 215 | } 216 | 217 | attr(name) { 218 | if (this.length > 1 || this.length === 0) { 219 | throw new Error(`preact-render-spy: Must have only 1 result for .attr(${name})`); 220 | } 221 | verifyFoundNodes(this); 222 | 223 | const item = this[0]; 224 | if ( 225 | typeof item === 'object' && 226 | item.attributes 227 | ) { 228 | return item.attributes[name]; 229 | } 230 | } 231 | 232 | /** 233 | * Return an object copy of the attributes from the first node that matched. 234 | */ 235 | attrs() { 236 | if (this.length > 1 || this.length === 0) { 237 | throw new Error('preact-render-spy: Must have only 1 result for .attrs().'); 238 | } 239 | verifyFoundNodes(this); 240 | 241 | return Object.assign({}, this[0].attributes); 242 | } 243 | 244 | /** 245 | * Return the text of all nested children concatenated together. 246 | */ 247 | text() { 248 | verifyFoundNodes(this); 249 | return Array.from(vdomWalk(this.context.vdomMap, Array.from(this))) 250 | // Filter for strings (text nodes) 251 | .filter(value => typeof value === 'string') 252 | // Concatenate all strings together 253 | .join(''); 254 | } 255 | 256 | contains(vdom) { 257 | verifyFoundNodes(this); 258 | return Array.from(vdomWalk(this.context.vdomMap, Array.from(this))) 259 | .filter(value => isEqual(vdom, value)) 260 | .length > 0; 261 | } 262 | 263 | children() { 264 | verifyFoundNodes(this); 265 | verifyOnlySingleNode(this, 'children'); 266 | 267 | return new FindWrapper( 268 | this.context, 269 | this[0].children 270 | ); 271 | } 272 | 273 | childAt(index) { 274 | return this.children().at(index); 275 | } 276 | 277 | exists() { 278 | verifyFoundNodes(this); 279 | return this.length > 0; 280 | } 281 | 282 | simulate(event, ...args) { 283 | verifyFoundNodes(this); 284 | for (let i = 0; i < this.length; i++) { 285 | const vdom = this[i]; 286 | const eventlc = event.toLowerCase(); 287 | const eventKeys = new Set([`on${eventlc}`, `on${eventlc}capture`]); 288 | 289 | for (const key in vdom.attributes) { 290 | if (eventKeys.has(key.toLowerCase())) { 291 | vdom.attributes[key](...args); 292 | break; 293 | } 294 | } 295 | } 296 | rerender(); 297 | } 298 | 299 | find(selector) { 300 | verifyFoundNodes(this); 301 | return new FindWrapper(this.context, Array.from(this), selector); 302 | } 303 | 304 | filter(selector) { 305 | verifyFoundNodes(this); 306 | return new FindWrapper( 307 | this.context, 308 | Array.from(this).filter(isWhere(selToWhere(selector))) 309 | ); 310 | } 311 | 312 | map(fn) { 313 | verifyFoundNodes(this); 314 | return Array.from(this).map((vnode, index) => 315 | fn(new FindWrapper(this.context, [vnode]), index) 316 | ); 317 | } 318 | 319 | component() { 320 | verifyOnlySingleNode(this, 'component'); 321 | verifyFoundNodes(this); 322 | 323 | const ref = this.context.componentMap.get(this[0]); 324 | 325 | if (!ref) { 326 | throw new Error('preact-render-spy: not a component node, no instance to return'); 327 | } 328 | 329 | return ref; 330 | } 331 | 332 | setState(...args) { 333 | const val = this.component().setState(...args); 334 | rerender(); 335 | return val; 336 | } 337 | 338 | state(key) { 339 | const state = this.component().state; 340 | if (key) { 341 | return state[key]; 342 | } 343 | return state; 344 | } 345 | 346 | output() { 347 | if (this.length > 1 || this.length === 0) { 348 | throw new Error('preact-render-spy: Must have only 1 result for .output().'); 349 | } 350 | 351 | if (!this[0] || typeof this[0].nodeName !== 'function') { 352 | throw new Error('preact-render-spy: Must have a result of a preact class or function component for .output()'); 353 | } 354 | verifyFoundNodes(this); 355 | 356 | const getOutput = node => { 357 | if (!node || typeof node !== 'object') { 358 | return node; 359 | } 360 | // recursively resolve the node 361 | let nodeOutput = node; 362 | while (this.context.vdomMap.has(nodeOutput)) { 363 | nodeOutput = this.context.vdomMap.get(nodeOutput); 364 | } 365 | // in case the node output null or false... 366 | if (!nodeOutput || typeof nodeOutput !== 'object') { 367 | return nodeOutput; 368 | } 369 | const clone = h( 370 | nodeOutput.nodeName, 371 | nodeOutput.attributes, 372 | nodeOutput.children && nodeOutput.children.map(getOutput) 373 | ); 374 | 375 | return clone; 376 | }; 377 | 378 | return getOutput(this[0]); 379 | } 380 | 381 | toString() { 382 | verifyFoundNodes(this); 383 | const render = (jsx, index) => { 384 | if (typeof jsx.nodeName === 'function') { 385 | jsx = this.at(index).output(); 386 | } 387 | if (!jsx) return `{${JSON.stringify(jsx)}}`; 388 | return renderToString(jsx, {}, config.toStringOptions, true); 389 | }; 390 | 391 | const header = `preact-render-spy (${this.length} nodes)`; 392 | if (!this.length) { 393 | return header; 394 | } 395 | return `${header} 396 | ------- 397 | ${Array.from(this).map(render).join('\n')} 398 | `; 399 | } 400 | } 401 | 402 | const setHiddenProp = (object, prop, value) => { 403 | Object.defineProperty(object, prop, { 404 | enumerable: false, 405 | configurable: true, 406 | writable: true, 407 | value, 408 | }); 409 | return value; 410 | }; 411 | 412 | class ContextRootWrapper extends Component { 413 | constructor(props) { 414 | super(props); 415 | 416 | const { vdom, renderRef } = props; 417 | this.state = {vdom}; 418 | 419 | // setup the re-renderer - call the `renderRef` callback with a 420 | // function that will re-render the content here 421 | renderRef(vdom => { 422 | this.setState({ vdom }); 423 | rerender(); 424 | }); 425 | } 426 | 427 | render({}, {vdom}) { 428 | return vdom; 429 | } 430 | } 431 | 432 | class RenderContext extends FindWrapper { 433 | constructor({depth}) { 434 | super(null, []); 435 | 436 | setHiddenProp(this, 'context', this); 437 | setHiddenProp(this, 'renderedDepth', (depth || Infinity) - 1); 438 | 439 | setHiddenProp(this, 'fragment', config.createFragment()); 440 | setHiddenProp(this, 'vdomRevision', 0); 441 | 442 | // Create our Maps 443 | ['keyMap', 'depthMap', 'componentMap', 'componentNoopMap', 'vdomMap'].forEach(prop => { 444 | setHiddenProp(this, prop, new Map()); 445 | }); 446 | 447 | // Render an Empty ContextRootWrapper. This sets up `this.contextRender`. 448 | render({ 449 | nodeName: ContextRootWrapper, 450 | attributes: { 451 | vdom: null, 452 | renderRef: contextRender => setHiddenProp(this, 'contextRender', contextRender), 453 | }, 454 | }, this.fragment); 455 | 456 | } 457 | 458 | render(vdom) { 459 | // Add what we need to be a FindWrapper: 460 | this[0] = vdom; 461 | this.length = 1; 462 | this.contextRender(spyWalk(this, setVDom(this, 'root', vdom), 0)); 463 | 464 | return this; 465 | } 466 | 467 | rerender() { 468 | rerender(); 469 | } 470 | } 471 | 472 | const deep = (vdom, {depth = Infinity} = {}) => new RenderContext({depth}).render(vdom); 473 | const shallow = vdom => deep(vdom, {depth: 1}); 474 | 475 | exports = module.exports = deep; 476 | 477 | exports.config = config; 478 | exports.deep = deep; 479 | exports.default = deep; 480 | exports.render = deep; 481 | exports.rerender = rerender; 482 | exports.shallow = shallow; 483 | exports.RenderContext = RenderContext; 484 | exports.FindWrapper = FindWrapper; 485 | -------------------------------------------------------------------------------- /src/sel-to-where.js: -------------------------------------------------------------------------------- 1 | const {ATTRIBUTE_PRESENT} = require('./is-where'); 2 | 3 | const selToWhere = sel => { 4 | if (typeof sel === 'object') { 5 | return sel; 6 | } 7 | if (/^\./.test(sel)) { 8 | return {attributes: {class: sel.substring(1)}}; 9 | } 10 | else if (/^#/.test(sel)) { 11 | return {attributes: {id: sel.substring(1)}}; 12 | } 13 | else if (/^\[/.test(sel)) { 14 | return {attributes: {[sel.substring(1, sel.length - 1)]: ATTRIBUTE_PRESENT}}; 15 | } 16 | 17 | return {nodeName: sel}; 18 | }; 19 | 20 | module.exports = { 21 | selToWhere, 22 | }; 23 | -------------------------------------------------------------------------------- /src/sel-to-where.test.js: -------------------------------------------------------------------------------- 1 | const {h} = require('preact'); 2 | const {selToWhere} = require('./sel-to-where'); 3 | const {ATTRIBUTE_PRESENT} = require('./is-where'); 4 | 5 | it('node names', () => { 6 | expect(selToWhere('div')).toEqual({nodeName: 'div'}); 7 | expect(selToWhere('Node')).toEqual({nodeName: 'Node'}); 8 | }); 9 | 10 | it('classes', () => { 11 | expect(selToWhere('.class')).toEqual({attributes: {class: 'class'}}); 12 | }); 13 | 14 | it('ids', () => { 15 | expect(selToWhere('#id')).toEqual({attributes: {id: 'id'}}); 16 | }); 17 | 18 | it('attributes', () => { 19 | expect(selToWhere('[attr]')).toEqual({attributes: {attr: ATTRIBUTE_PRESENT}}); 20 | expect(selToWhere('[onClick]')).toEqual({attributes: {onClick: ATTRIBUTE_PRESENT}}); 21 | }); 22 | 23 | it('vdom', () => { 24 | expect(selToWhere(
)).toEqual(
); 25 | }); 26 | -------------------------------------------------------------------------------- /src/shallow-render.test.js: -------------------------------------------------------------------------------- 1 | const {h} = require('preact'); 2 | 3 | const {deep, shallow} = require('./preact-render-spy'); 4 | 5 | it('shallow renders the first level of Components', () => { 6 | const ErrorIfRendered = () => {throw new Error('should not ever render');}; 7 | const Node = () => ; 8 | expect(() => deep()).toThrow(); 9 | expect(() => shallow()).not.toThrow(); 10 | 11 | const context = shallow(); 12 | expect(context.find('ErrorIfRendered').length).toBe(1); 13 | }); 14 | -------------------------------------------------------------------------------- /src/shared-render.test.js: -------------------------------------------------------------------------------- 1 | const {h, Component} = require('preact'); 2 | 3 | const {deep, shallow} = require('./preact-render-spy'); 4 | 5 | class ReceivesProps extends Component { 6 | constructor(props) { 7 | super(props); 8 | this.state = {value: props.value}; 9 | } 10 | 11 | componentWillReceiveProps(newProps) { 12 | this.setState({value: `_${newProps.value}_`}); 13 | } 14 | 15 | render(props, {value}) { 16 | return ( 17 |
{value}
18 | ); 19 | } 20 | } 21 | 22 | class Div extends Component { 23 | render() { 24 | return
; 25 | } 26 | } 27 | 28 | class DivChildren extends Component { 29 | render({children}) { 30 | return
{children}
; 31 | } 32 | } 33 | 34 | class ClickCount extends Component { 35 | constructor(...args) { 36 | super(...args); 37 | 38 | this.state = {count: 0}; 39 | this.onClick = this.onClick.bind(this); 40 | } 41 | 42 | onClick() { 43 | this.setState({count: this.state.count + 1}); 44 | } 45 | 46 | render({}, {count}) { 47 | return
{count}
; 48 | } 49 | } 50 | 51 | class DivCount extends Component { 52 | render({count}) { 53 | return
{count}
; 54 | } 55 | } 56 | 57 | const Text = () => 'Text'; 58 | 59 | const DivCountStateless = ({count}) =>
{count}
; 60 | 61 | const NullStateless = () => null; 62 | 63 | const Second = ({ children }) =>
second {children}
; 64 | const First = () => first; 65 | 66 | const sharedTests = (name, func) => { 67 | 68 | it(`${name}: renders into fragment`, () => { 69 | const context = func(
); 70 | expect(context.fragment.children.length).toBe(1); 71 | expect(context.fragment.children[0].tagName).toBe('DIV'); 72 | expect(context.find('div').length).toBe(1); 73 | expect(context.find('div').contains(
)).toBeTruthy(); 74 | }); 75 | 76 | it(`${name}: renders props`, () => { 77 | const context = func(node); 78 | expect(context.find('div').length).toBe(1); 79 | expect(context.find('div').text('node')).toBeTruthy(); 80 | }); 81 | 82 | it(`${name}: renders changes`, () => { 83 | const context = func(node); 84 | context.render(node2); 85 | expect(context.find('div').contains('node2')).toBeTruthy(); 86 | }); 87 | 88 | it(`${name}: renders change on click`, () => { 89 | const context = func(); 90 | expect(context.find('div').contains('0')).toBeTruthy(); 91 | context.find('div').simulate('click'); 92 | expect(context.find('div').contains('1')).toBeTruthy(); 93 | }); 94 | 95 | it(`${name}: renders multiple components`, () => { 96 | const context = func(
); 97 | expect(context.find('div').contains('1')).toBeTruthy(); 98 | expect(context.find('div').contains(
1
)).toBeTruthy(); 99 | expect(context.find('div').contains('2')).toBeTruthy(); 100 | expect(context.find('div').contains(
2
)).toBeTruthy(); 101 | }); 102 | 103 | it(`${name}: renders stateless components`, () => { 104 | const context = func(); 105 | expect(context.find('div').length).toBe(1); 106 | expect(context.find('div').contains('1')).toBeTruthy(); 107 | }); 108 | 109 | it(`${name}: renders components with null children`, () => { 110 | const context = func(
text
); 111 | expect(context.text()).toBe('text'); 112 | }); 113 | 114 | it(`${name}: at() returns the indexed member`, () => { 115 | const context = func(
); 116 | expect(() => context.at(0)).not.toThrow(); 117 | expect(() => context.at(1)).toThrow(); 118 | expect(context.at(0)[0]).toEqual(
); 119 | expect(() => context.find('div').at(1)).not.toThrow(); 120 | expect(() => context.find('div').at(2)).toThrow(); 121 | expect(context.find('div').at(1)[0]).toEqual(
); 122 | }); 123 | 124 | it(`${name}: first() returns the first member`, () => { 125 | const context = func(
); 126 | expect(() => context.first()).not.toThrow(); 127 | expect(() => context.find('span').first()).toThrow(); 128 | const found = context.find('div').first(); 129 | expect(found).toHaveLength(1); 130 | expect(found[0]).toEqual(
); 131 | }); 132 | 133 | it(`${name}: last() returns the last member`, () => { 134 | const context = func(
); 135 | expect(() => context.last()).not.toThrow(); 136 | expect(() => context.find('span').last()).toThrow(); 137 | const found = context.find('div').last(); 138 | expect(found).toHaveLength(1); 139 | expect(found[0]).toEqual(
); 140 | }); 141 | 142 | it(`${name}: attr() returns the attribute value`, () => { 143 | const context = func(
); 144 | expect(() => context.find('div').attr('class')).toThrow(); 145 | expect(() => context.find('span').attr('class')).toThrow(); 146 | expect(context.attr('count')).toBe(1); 147 | expect(context.find('.first').attr('class')).toBe('first'); 148 | }); 149 | 150 | it(`${name}: attr() and awkward values`, () => { 151 | const context = func(
); 152 | expect(context.attr('false')).toEqual(false); 153 | expect(context.attr('true')).toEqual(true); 154 | expect(context.attr('null')).toEqual(null); 155 | expect(context.attr('zero')).toEqual(0); 156 | expect(context.attr('empty')).toEqual(''); 157 | }); 158 | 159 | it(`${name}: attrs() returns all attributes as an object`, () => { 160 | const context = func(
); 161 | expect(() => context.find('div').attrs()).toThrow(); 162 | expect(() => context.find('span').attrs()).toThrow(); 163 | expect(context.attrs()).toEqual({count: 1, value: 'abc'}); 164 | expect(context.find('.first').attrs()).toEqual({class: 'first', name: 'first'}); 165 | }); 166 | 167 | it(`${name}: contains() return true if a virtual dom is in the tree`, () => { 168 | const context = func(
); 169 | expect(context.contains(
)).toBeTruthy(); 170 | expect(context.contains()).toBeFalsy(); 171 | expect(context.contains()).toBeFalsy(); 172 | expect(context.contains(
)).toBeTruthy(); 173 | }); 174 | 175 | it(`${name}: childAt() returns child at specific index`, () => { 176 | const context = func(
); 177 | expect(context.childAt(0).attr('class')).toBe('first'); 178 | expect(context.childAt(1).attr('class')).toBe('second'); 179 | expect(context.childAt(2).attr('class')).toBe('third'); 180 | expect(() => context.childAt(3).attr('class')).toThrow(); 181 | expect(() => context.find('NotExistingComponent').childAt(0)).toThrow(); 182 | }); 183 | 184 | it(`${name}: children() returns children`, () => { 185 | const context = func(
); 186 | expect(context.children().length).toBe(3); 187 | expect(context.children().at(0).attr('class')).toBe('first'); 188 | expect(context.children().at(1).attr('class')).toBe('second'); 189 | expect(context.children().at(2).attr('class')).toBe('third'); 190 | }); 191 | 192 | it(`${name}: exists() returns whether or not given node exists`, () => { 193 | const context = func(
); 194 | expect(context.find('.existing-class').exists()).toBe(true); 195 | expect(context.find('.not-existing-class').exists()).toBe(false); 196 | }); 197 | 198 | it(`${name}: filters components`, () => { 199 | const context = func(
); 200 | expect(context.find('NullStateless').length).toBe(2); 201 | expect(context.find('NullStateless').filter('.first').length).toBe(1); 202 | expect(context.filter('div').length).toBe(1); 203 | expect(context.filter('span').length).toBe(0); 204 | }); 205 | 206 | it(`${name}: filters components using vdom`, () => { 207 | const context = func(
); 208 | expect(context.find().length).toBe(2); 209 | expect(context.find().length).toBe(1); 210 | expect(context.find().length).toBe(1); 211 | expect(context.filter(
).length).toBe(1); 212 | expect(context.filter().length).toBe(0); 213 | }); 214 | 215 | it(`${name}: map components`, () => { 216 | const context = func(
); 217 | expect(context.find('NullStateless').map((n, i) => [n.attr('class'), i])).toEqual([ 218 | ['first', 0], 219 | ['second', 1], 220 | ]); 221 | }); 222 | 223 | it(`${name}: output returns vdom output by a Component`, () => { 224 | const context = func(); 225 | expect(() => context.find('div').output()).toThrow(); 226 | expect(context.output()).toEqual(
); 227 | }); 228 | 229 | it(`${name}: output returns null output by a Component`, () => { 230 | const context = func(); 231 | expect(context.output()).toEqual(null); 232 | }); 233 | 234 | it(`${name}: simulate an event`, () => { 235 | let count = 0; 236 | let context = func(
{count++;}}/>); 237 | expect(count).toBe(0); 238 | context.simulate('click'); 239 | expect(count).toBe(1); 240 | context = func(); 241 | expect(context.contains('0')).toBeTruthy(); 242 | context.find('div').simulate('click'); 243 | expect(context.contains('1')).toBeTruthy(); 244 | }); 245 | 246 | it(`${name}: all the text of the virtual dom`, () => { 247 | const context = func(
foo
bar
); 248 | expect(context.text()).toBe('foobar'); 249 | expect(context.find('div').at(0).text()).toBe('foobar'); 250 | }); 251 | 252 | it(`${name}: will call componentWillReceiveProps on the 'root' node`, () => { 253 | const context = func(); 254 | expect(context.text()).toBe('test'); 255 | context.render(); 256 | expect(context.text()).toBe('_received_'); 257 | }); 258 | 259 | it(`${name}: output matches snapshot`, () => { 260 | const context = func(); 261 | expect(context.output()).toMatchSnapshot(); 262 | }); 263 | 264 | it(`${name}: context matches snapshot`, () => { 265 | const context = func(); 266 | expect(context).toMatchSnapshot(); 267 | }); 268 | 269 | it(`${name}: find matches snapshot`, () => { 270 | const onClick = () => {}; 271 | 272 | const context = func(
273 | click 274 | text 275 | bools 276 |
); 277 | expect(context.find('span')).toMatchSnapshot(); 278 | }); 279 | 280 | it(`${name}: weird render cases toString matches snapshot`, () => { 281 | const Test = () =>
; 282 | const context = func(); 283 | expect(context.toString()).toMatchSnapshot(); 284 | expect(context.find('Div')).toMatchSnapshot(); 285 | }); 286 | 287 | it(`${name}: snapshots for text nodes`, () => { 288 | expect(func()).toMatchSnapshot(); 289 | 290 | const Deeper = () =>
; 291 | expect(func()).toMatchSnapshot(); 292 | }); 293 | 294 | it(`${name}: can retrieve component instance`, () => { 295 | const context = func(); 296 | 297 | expect(context.component()).toBeInstanceOf(ClickCount); 298 | }); 299 | 300 | it(`${name}: can retrieve deeper component instances after renders`, () => { 301 | const context = func(
); 302 | 303 | const component = context.find('ClickCount').component(); 304 | expect(component).toBeInstanceOf(ClickCount); 305 | 306 | context.render(
); 307 | // This test ensures that even though this is not the same JSX node used 308 | // in the initial context render, find('ClickCount').component() 309 | // will still retrieve the same component 310 | expect(context.find('ClickCount').component()).toEqual(component); 311 | 312 | }); 313 | 314 | it(`${name}: can retrieve and set component state`, () => { 315 | const context = func(); 316 | 317 | expect(context.state()).toEqual({ count: 0 }); 318 | expect(context.state('count')).toEqual(0); 319 | 320 | context.setState({ count: 2 }); 321 | 322 | expect(context.text()).toEqual('2'); 323 | }); 324 | 325 | it(`${name}: find by class works with null and undefined class and className`, () => { 326 | const context = func(
test
); 327 | expect(() => context.find('.test')).not.toThrow(); 328 | 329 | context.render(
test
); 330 | expect(() => context.find('.test')).not.toThrow(); 331 | 332 | context.render(
test
); 333 | expect(() => context.find('.test')).not.toThrow(); 334 | 335 | context.render(
test
); 336 | expect(() => context.find('.test')).not.toThrow(); 337 | }); 338 | 339 | describe('warnings', () => { 340 | const warn = console.warn; 341 | let spy; 342 | let context; 343 | let found; 344 | 345 | beforeEach(() => { 346 | spy = jest.fn(); 347 | console.warn = spy; 348 | context = func(
); 349 | found = context.find('ClickCount'); 350 | context.render(
); 351 | }); 352 | 353 | afterEach(() => { 354 | console.warn = warn; 355 | }); 356 | 357 | it(`${name}: warns when performing at on stale finds`, () => { 358 | found.at(0); 359 | expect(spy).toHaveBeenCalled(); 360 | }); 361 | 362 | it(`${name}: warns when performing component on stale finds`, () => { 363 | found.component(); 364 | expect(spy).toHaveBeenCalled(); 365 | }); 366 | 367 | it(`${name}: warns when performing attrs on stale finds`, () => { 368 | found.attrs(); 369 | expect(spy).toHaveBeenCalled(); 370 | }); 371 | 372 | }); 373 | }; 374 | 375 | sharedTests('deep', deep); 376 | sharedTests('shallow', shallow); 377 | 378 | 379 | it('output() is the same depth as the render method', () => { 380 | expect(deep().output()).toEqual(
second first
); 381 | expect(shallow().output()).toEqual(first); 382 | }); 383 | -------------------------------------------------------------------------------- /tests/usage.tsx: -------------------------------------------------------------------------------- 1 | import { h, Component, VNode } from "preact"; 2 | import defaultDeep, { deep, render, shallow, FindWrapper, RenderContext } from "../"; 3 | 4 | interface CompAProps { propA?: string; } 5 | 6 | interface CompAState { propA: string; } 7 | 8 | // Test component A 9 | class CompA extends Component { 10 | state: CompAState = { propA: this.props.propA || "default" }; 11 | 12 | render(props: CompAProps, { propA }: CompAState) { 13 | return
{propA}
; 14 | } 15 | } 16 | 17 | interface CompBProps { propB?: number; } 18 | 19 | interface CompBState { propB: number; } 20 | 21 | // Test component B 22 | class CompB extends Component { 23 | state: CompBState = { propB: this.props.propB || 0 }; 24 | 25 | render(props: CompBProps, { propB }: CompBState) { 26 | return
{propB}
; 27 | } 28 | } 29 | 30 | // exercise RenderContext functionality 31 | function exerciseRenderContext(contextA: RenderContext) { 32 | // RenderContext are also FindWrapper 33 | exerciseFindWrapper(contextA, "propA"); 34 | 35 | // If re-rendering the same component, the context can be reused 36 | contextA.render(); // still RenderContext 37 | exerciseFindWrapper(contextA, "propA"); 38 | 39 | // If re-rendering a different component, set a different variable. 40 | const contextB: RenderContext = contextA.render(); 41 | exerciseFindWrapper(contextB, "propB"); 42 | 43 | // But if you don't need the type then it doesn't matter. 44 | const contextC: RenderContext<{}, {}> = shallow(); 45 | contextC.render(); 46 | // contextB.attr('propB'); // Type-dependent methods won't work! 47 | 48 | // Use this if you need type-dependent methods but don't want to create a different, properly typed variable. 49 | const contextD: RenderContext = shallow(); 50 | let maybeWrong: string = contextD.attr(`you're asking`); 51 | contextD.render(); 52 | maybeWrong = contextD.attr('for it!'); 53 | } 54 | 55 | // exercise FindWrapper functionality 56 | function exerciseFindWrapper(wrapper: FindWrapper, attrKey: K) { 57 | const length: number = wrapper.length; 58 | const node: VNode = wrapper[0]; 59 | const contained: boolean = wrapper.contains(node); 60 | const text: string = wrapper.text(); 61 | const atWrapper: FindWrapper = wrapper.at(0); 62 | const filterWrapper: FindWrapper = wrapper.filter("selector"); 63 | const findWrapper: FindWrapper = wrapper.find("selector"); 64 | const findWrapper2: FindWrapper = wrapper.find(); 65 | const attrs: P = wrapper.attrs(); 66 | const attr: P[K] = wrapper.attr(attrKey); 67 | let simulate: void = wrapper.simulate("click"); 68 | const outputNode: VNode = wrapper.output(); 69 | } 70 | 71 | // exercise shallow 72 | let context: RenderContext = shallow(); 73 | 74 | // exercise deep 75 | context = deep(); 76 | context = deep(, { depth: 10 }); 77 | 78 | // exercise render (deep) 79 | context = render(); 80 | context = render(, { depth: 10 }); 81 | 82 | // exercise default export (deep) 83 | context = defaultDeep(); 84 | context = defaultDeep(, { depth: 10 }); 85 | 86 | // exercise a RenderContext 87 | exerciseRenderContext(context); 88 | -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "module": "commonjs", 4 | "target": "es5", 5 | "jsx": "react", 6 | "jsxFactory": "h", 7 | "strict": true 8 | }, 9 | "exclude": [ 10 | "node_modules", 11 | "src" 12 | ], 13 | "types": [ 14 | "typePatches" 15 | ] 16 | } 17 | -------------------------------------------------------------------------------- /webpack.config.js: -------------------------------------------------------------------------------- 1 | const {join} = require('path'); 2 | 3 | module.exports = ({ 4 | context: __dirname, 5 | entry: './src/entry', 6 | output: { 7 | path: join(__dirname, 'dist'), 8 | filename: '[name].js', 9 | }, 10 | module: { 11 | rules: [ 12 | // We only want to parse our test files for JSX with babel, we want everything else to work in native 13 | // node! 14 | { 15 | test: /\.test\.js$/, 16 | exclude: [join(__dirname, 'node_modules')], 17 | loader: 'babel-loader', 18 | options: { 19 | presets: ['preact'], 20 | }, 21 | }, 22 | ], 23 | }, 24 | }); 25 | -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- 1 | # THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. 2 | # yarn lockfile v1 3 | 4 | 5 | "@mzgoddard/jest-webpack@^0.0.12": 6 | version "0.0.12" 7 | resolved "https://registry.yarnpkg.com/@mzgoddard/jest-webpack/-/jest-webpack-0.0.12.tgz#7deaedf63ffabc0d91100da833369ad4aa82ac3b" 8 | dependencies: 9 | find-up "^2.1.0" 10 | node-object-hash "^1.2.0" 11 | pify "^3.0.0" 12 | regenerator-runtime "^0.10.5" 13 | webpack-sources "^1.0.1" 14 | optionalDependencies: 15 | babel-register "*" 16 | 17 | abab@^1.0.3: 18 | version "1.0.3" 19 | resolved "https://registry.yarnpkg.com/abab/-/abab-1.0.3.tgz#b81de5f7274ec4e756d797cd834f303642724e5d" 20 | 21 | abbrev@1: 22 | version "1.1.0" 23 | resolved "https://registry.yarnpkg.com/abbrev/-/abbrev-1.1.0.tgz#d0554c2256636e2f56e7c2e5ad183f859428d81f" 24 | 25 | acorn-dynamic-import@^2.0.0: 26 | version "2.0.2" 27 | resolved "https://registry.yarnpkg.com/acorn-dynamic-import/-/acorn-dynamic-import-2.0.2.tgz#c752bd210bef679501b6c6cb7fc84f8f47158cc4" 28 | dependencies: 29 | acorn "^4.0.3" 30 | 31 | acorn-globals@^3.1.0: 32 | version "3.1.0" 33 | resolved "https://registry.yarnpkg.com/acorn-globals/-/acorn-globals-3.1.0.tgz#fd8270f71fbb4996b004fa880ee5d46573a731bf" 34 | dependencies: 35 | acorn "^4.0.4" 36 | 37 | acorn-jsx@^3.0.0: 38 | version "3.0.1" 39 | resolved "https://registry.yarnpkg.com/acorn-jsx/-/acorn-jsx-3.0.1.tgz#afdf9488fb1ecefc8348f6fb22f464e32a58b36b" 40 | dependencies: 41 | acorn "^3.0.4" 42 | 43 | acorn@^3.0.4: 44 | version "3.3.0" 45 | resolved "https://registry.yarnpkg.com/acorn/-/acorn-3.3.0.tgz#45e37fb39e8da3f25baee3ff5369e2bb5f22017a" 46 | 47 | acorn@^4.0.3, acorn@^4.0.4: 48 | version "4.0.13" 49 | resolved "https://registry.yarnpkg.com/acorn/-/acorn-4.0.13.tgz#105495ae5361d697bd195c825192e1ad7f253787" 50 | 51 | acorn@^5.0.0, acorn@^5.0.1: 52 | version "5.0.3" 53 | resolved "https://registry.yarnpkg.com/acorn/-/acorn-5.0.3.tgz#c460df08491463f028ccb82eab3730bf01087b3d" 54 | 55 | ajv-keywords@^1.0.0, ajv-keywords@^1.1.1: 56 | version "1.5.1" 57 | resolved "https://registry.yarnpkg.com/ajv-keywords/-/ajv-keywords-1.5.1.tgz#314dd0a4b3368fad3dfcdc54ede6171b886daf3c" 58 | 59 | ajv@^4.7.0, ajv@^4.9.1: 60 | version "4.11.8" 61 | resolved "https://registry.yarnpkg.com/ajv/-/ajv-4.11.8.tgz#82ffb02b29e662ae53bdc20af15947706739c536" 62 | dependencies: 63 | co "^4.6.0" 64 | json-stable-stringify "^1.0.1" 65 | 66 | ajv@^5.2.0: 67 | version "5.2.2" 68 | resolved "https://registry.yarnpkg.com/ajv/-/ajv-5.2.2.tgz#47c68d69e86f5d953103b0074a9430dc63da5e39" 69 | dependencies: 70 | co "^4.6.0" 71 | fast-deep-equal "^1.0.0" 72 | json-schema-traverse "^0.3.0" 73 | json-stable-stringify "^1.0.1" 74 | 75 | align-text@^0.1.1, align-text@^0.1.3: 76 | version "0.1.4" 77 | resolved "https://registry.yarnpkg.com/align-text/-/align-text-0.1.4.tgz#0cd90a561093f35d0a99256c22b7069433fad117" 78 | dependencies: 79 | kind-of "^3.0.2" 80 | longest "^1.0.1" 81 | repeat-string "^1.5.2" 82 | 83 | amdefine@>=0.0.4: 84 | version "1.0.1" 85 | resolved "https://registry.yarnpkg.com/amdefine/-/amdefine-1.0.1.tgz#4a5282ac164729e93619bcfd3ad151f817ce91f5" 86 | 87 | ansi-escapes@^1.4.0: 88 | version "1.4.0" 89 | resolved "https://registry.yarnpkg.com/ansi-escapes/-/ansi-escapes-1.4.0.tgz#d3a8a83b319aa67793662b13e761c7911422306e" 90 | 91 | ansi-escapes@^2.0.0: 92 | version "2.0.0" 93 | resolved "https://registry.yarnpkg.com/ansi-escapes/-/ansi-escapes-2.0.0.tgz#5bae52be424878dd9783e8910e3fc2922e83c81b" 94 | 95 | ansi-regex@^2.0.0, ansi-regex@^2.1.1: 96 | version "2.1.1" 97 | resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-2.1.1.tgz#c3b33ab5ee360d86e0e628f0468ae7ef27d654df" 98 | 99 | ansi-regex@^3.0.0: 100 | version "3.0.0" 101 | resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-3.0.0.tgz#ed0317c322064f79466c02966bddb605ab37d998" 102 | 103 | ansi-styles@^2.2.1: 104 | version "2.2.1" 105 | resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-2.2.1.tgz#b432dd3358b634cf75e1e4664368240533c1ddbe" 106 | 107 | ansi-styles@^3.0.0: 108 | version "3.1.0" 109 | resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-3.1.0.tgz#09c202d5c917ec23188caa5c9cb9179cd9547750" 110 | dependencies: 111 | color-convert "^1.0.0" 112 | 113 | anymatch@^1.3.0: 114 | version "1.3.0" 115 | resolved "https://registry.yarnpkg.com/anymatch/-/anymatch-1.3.0.tgz#a3e52fa39168c825ff57b0248126ce5a8ff95507" 116 | dependencies: 117 | arrify "^1.0.0" 118 | micromatch "^2.1.5" 119 | 120 | append-transform@^0.4.0: 121 | version "0.4.0" 122 | resolved "https://registry.yarnpkg.com/append-transform/-/append-transform-0.4.0.tgz#d76ebf8ca94d276e247a36bad44a4b74ab611991" 123 | dependencies: 124 | default-require-extensions "^1.0.0" 125 | 126 | aproba@^1.0.3: 127 | version "1.1.2" 128 | resolved "https://registry.yarnpkg.com/aproba/-/aproba-1.1.2.tgz#45c6629094de4e96f693ef7eab74ae079c240fc1" 129 | 130 | are-we-there-yet@~1.1.2: 131 | version "1.1.4" 132 | resolved "https://registry.yarnpkg.com/are-we-there-yet/-/are-we-there-yet-1.1.4.tgz#bb5dca382bb94f05e15194373d16fd3ba1ca110d" 133 | dependencies: 134 | delegates "^1.0.0" 135 | readable-stream "^2.0.6" 136 | 137 | argparse@^1.0.7: 138 | version "1.0.9" 139 | resolved "https://registry.yarnpkg.com/argparse/-/argparse-1.0.9.tgz#73d83bc263f86e97f8cc4f6bae1b0e90a7d22c86" 140 | dependencies: 141 | sprintf-js "~1.0.2" 142 | 143 | arr-diff@^2.0.0: 144 | version "2.0.0" 145 | resolved "https://registry.yarnpkg.com/arr-diff/-/arr-diff-2.0.0.tgz#8f3b827f955a8bd669697e4a4256ac3ceae356cf" 146 | dependencies: 147 | arr-flatten "^1.0.1" 148 | 149 | arr-flatten@^1.0.1: 150 | version "1.0.3" 151 | resolved "https://registry.yarnpkg.com/arr-flatten/-/arr-flatten-1.0.3.tgz#a274ed85ac08849b6bd7847c4580745dc51adfb1" 152 | 153 | array-equal@^1.0.0: 154 | version "1.0.0" 155 | resolved "https://registry.yarnpkg.com/array-equal/-/array-equal-1.0.0.tgz#8c2a5ef2472fd9ea742b04c77a75093ba2757c93" 156 | 157 | array-union@^1.0.1: 158 | version "1.0.2" 159 | resolved "https://registry.yarnpkg.com/array-union/-/array-union-1.0.2.tgz#9a34410e4f4e3da23dea375be5be70f24778ec39" 160 | dependencies: 161 | array-uniq "^1.0.1" 162 | 163 | array-uniq@^1.0.1: 164 | version "1.0.3" 165 | resolved "https://registry.yarnpkg.com/array-uniq/-/array-uniq-1.0.3.tgz#af6ac877a25cc7f74e058894753858dfdb24fdb6" 166 | 167 | array-unique@^0.2.1: 168 | version "0.2.1" 169 | resolved "https://registry.yarnpkg.com/array-unique/-/array-unique-0.2.1.tgz#a1d97ccafcbc2625cc70fadceb36a50c58b01a53" 170 | 171 | arrify@^1.0.0, arrify@^1.0.1: 172 | version "1.0.1" 173 | resolved "https://registry.yarnpkg.com/arrify/-/arrify-1.0.1.tgz#898508da2226f380df904728456849c1501a4b0d" 174 | 175 | asn1.js@^4.0.0: 176 | version "4.9.1" 177 | resolved "https://registry.yarnpkg.com/asn1.js/-/asn1.js-4.9.1.tgz#48ba240b45a9280e94748990ba597d216617fd40" 178 | dependencies: 179 | bn.js "^4.0.0" 180 | inherits "^2.0.1" 181 | minimalistic-assert "^1.0.0" 182 | 183 | asn1@~0.2.3: 184 | version "0.2.3" 185 | resolved "https://registry.yarnpkg.com/asn1/-/asn1-0.2.3.tgz#dac8787713c9966849fc8180777ebe9c1ddf3b86" 186 | 187 | assert-plus@1.0.0, assert-plus@^1.0.0: 188 | version "1.0.0" 189 | resolved "https://registry.yarnpkg.com/assert-plus/-/assert-plus-1.0.0.tgz#f12e0f3c5d77b0b1cdd9146942e4e96c1e4dd525" 190 | 191 | assert-plus@^0.2.0: 192 | version "0.2.0" 193 | resolved "https://registry.yarnpkg.com/assert-plus/-/assert-plus-0.2.0.tgz#d74e1b87e7affc0db8aadb7021f3fe48101ab234" 194 | 195 | assert@^1.1.1: 196 | version "1.4.1" 197 | resolved "https://registry.yarnpkg.com/assert/-/assert-1.4.1.tgz#99912d591836b5a6f5b345c0f07eefc08fc65d91" 198 | dependencies: 199 | util "0.10.3" 200 | 201 | async-each@^1.0.0: 202 | version "1.0.1" 203 | resolved "https://registry.yarnpkg.com/async-each/-/async-each-1.0.1.tgz#19d386a1d9edc6e7c1c85d388aedbcc56d33602d" 204 | 205 | async@^1.4.0: 206 | version "1.5.2" 207 | resolved "https://registry.yarnpkg.com/async/-/async-1.5.2.tgz#ec6a61ae56480c0c3cb241c95618e20892f9672a" 208 | 209 | async@^2.1.2, async@^2.1.4: 210 | version "2.5.0" 211 | resolved "https://registry.yarnpkg.com/async/-/async-2.5.0.tgz#843190fd6b7357a0b9e1c956edddd5ec8462b54d" 212 | dependencies: 213 | lodash "^4.14.0" 214 | 215 | asynckit@^0.4.0: 216 | version "0.4.0" 217 | resolved "https://registry.yarnpkg.com/asynckit/-/asynckit-0.4.0.tgz#c79ed97f7f34cb8f2ba1bc9790bcc366474b4b79" 218 | 219 | aws-sign2@~0.6.0: 220 | version "0.6.0" 221 | resolved "https://registry.yarnpkg.com/aws-sign2/-/aws-sign2-0.6.0.tgz#14342dd38dbcc94d0e5b87d763cd63612c0e794f" 222 | 223 | aws4@^1.2.1: 224 | version "1.6.0" 225 | resolved "https://registry.yarnpkg.com/aws4/-/aws4-1.6.0.tgz#83ef5ca860b2b32e4a0deedee8c771b9db57471e" 226 | 227 | babel-code-frame@^6.22.0: 228 | version "6.22.0" 229 | resolved "https://registry.yarnpkg.com/babel-code-frame/-/babel-code-frame-6.22.0.tgz#027620bee567a88c32561574e7fd0801d33118e4" 230 | dependencies: 231 | chalk "^1.1.0" 232 | esutils "^2.0.2" 233 | js-tokens "^3.0.0" 234 | 235 | babel-core@^6.0.0, babel-core@^6.24.1, babel-core@^6.25.0: 236 | version "6.25.0" 237 | resolved "https://registry.yarnpkg.com/babel-core/-/babel-core-6.25.0.tgz#7dd42b0463c742e9d5296deb3ec67a9322dad729" 238 | dependencies: 239 | babel-code-frame "^6.22.0" 240 | babel-generator "^6.25.0" 241 | babel-helpers "^6.24.1" 242 | babel-messages "^6.23.0" 243 | babel-register "^6.24.1" 244 | babel-runtime "^6.22.0" 245 | babel-template "^6.25.0" 246 | babel-traverse "^6.25.0" 247 | babel-types "^6.25.0" 248 | babylon "^6.17.2" 249 | convert-source-map "^1.1.0" 250 | debug "^2.1.1" 251 | json5 "^0.5.0" 252 | lodash "^4.2.0" 253 | minimatch "^3.0.2" 254 | path-is-absolute "^1.0.0" 255 | private "^0.1.6" 256 | slash "^1.0.0" 257 | source-map "^0.5.0" 258 | 259 | babel-eslint@^7.2.3: 260 | version "7.2.3" 261 | resolved "https://registry.yarnpkg.com/babel-eslint/-/babel-eslint-7.2.3.tgz#b2fe2d80126470f5c19442dc757253a897710827" 262 | dependencies: 263 | babel-code-frame "^6.22.0" 264 | babel-traverse "^6.23.1" 265 | babel-types "^6.23.0" 266 | babylon "^6.17.0" 267 | 268 | babel-generator@^6.18.0, babel-generator@^6.25.0: 269 | version "6.25.0" 270 | resolved "https://registry.yarnpkg.com/babel-generator/-/babel-generator-6.25.0.tgz#33a1af70d5f2890aeb465a4a7793c1df6a9ea9fc" 271 | dependencies: 272 | babel-messages "^6.23.0" 273 | babel-runtime "^6.22.0" 274 | babel-types "^6.25.0" 275 | detect-indent "^4.0.0" 276 | jsesc "^1.3.0" 277 | lodash "^4.2.0" 278 | source-map "^0.5.0" 279 | trim-right "^1.0.1" 280 | 281 | babel-helper-builder-react-jsx@^6.24.1: 282 | version "6.24.1" 283 | resolved "https://registry.yarnpkg.com/babel-helper-builder-react-jsx/-/babel-helper-builder-react-jsx-6.24.1.tgz#0ad7917e33c8d751e646daca4e77cc19377d2cbc" 284 | dependencies: 285 | babel-runtime "^6.22.0" 286 | babel-types "^6.24.1" 287 | esutils "^2.0.0" 288 | 289 | babel-helpers@^6.24.1: 290 | version "6.24.1" 291 | resolved "https://registry.yarnpkg.com/babel-helpers/-/babel-helpers-6.24.1.tgz#3471de9caec388e5c850e597e58a26ddf37602b2" 292 | dependencies: 293 | babel-runtime "^6.22.0" 294 | babel-template "^6.24.1" 295 | 296 | babel-jest@^20.0.3: 297 | version "20.0.3" 298 | resolved "https://registry.yarnpkg.com/babel-jest/-/babel-jest-20.0.3.tgz#e4a03b13dc10389e140fc645d09ffc4ced301671" 299 | dependencies: 300 | babel-core "^6.0.0" 301 | babel-plugin-istanbul "^4.0.0" 302 | babel-preset-jest "^20.0.3" 303 | 304 | babel-loader@^7.0.0: 305 | version "7.1.1" 306 | resolved "https://registry.yarnpkg.com/babel-loader/-/babel-loader-7.1.1.tgz#b87134c8b12e3e4c2a94e0546085bc680a2b8488" 307 | dependencies: 308 | find-cache-dir "^1.0.0" 309 | loader-utils "^1.0.2" 310 | mkdirp "^0.5.1" 311 | 312 | babel-messages@^6.23.0: 313 | version "6.23.0" 314 | resolved "https://registry.yarnpkg.com/babel-messages/-/babel-messages-6.23.0.tgz#f3cdf4703858035b2a2951c6ec5edf6c62f2630e" 315 | dependencies: 316 | babel-runtime "^6.22.0" 317 | 318 | babel-plugin-istanbul@^4.0.0: 319 | version "4.1.4" 320 | resolved "https://registry.yarnpkg.com/babel-plugin-istanbul/-/babel-plugin-istanbul-4.1.4.tgz#18dde84bf3ce329fddf3f4103fae921456d8e587" 321 | dependencies: 322 | find-up "^2.1.0" 323 | istanbul-lib-instrument "^1.7.2" 324 | test-exclude "^4.1.1" 325 | 326 | babel-plugin-jest-hoist@^20.0.3: 327 | version "20.0.3" 328 | resolved "https://registry.yarnpkg.com/babel-plugin-jest-hoist/-/babel-plugin-jest-hoist-20.0.3.tgz#afedc853bd3f8dc3548ea671fbe69d03cc2c1767" 329 | 330 | babel-plugin-syntax-jsx@^6.0.2, babel-plugin-syntax-jsx@^6.8.0: 331 | version "6.18.0" 332 | resolved "https://registry.yarnpkg.com/babel-plugin-syntax-jsx/-/babel-plugin-syntax-jsx-6.18.0.tgz#0af32a9a6e13ca7a3fd5069e62d7b0f58d0d8946" 333 | 334 | babel-plugin-transform-react-jsx@^6.0.2: 335 | version "6.24.1" 336 | resolved "https://registry.yarnpkg.com/babel-plugin-transform-react-jsx/-/babel-plugin-transform-react-jsx-6.24.1.tgz#840a028e7df460dfc3a2d29f0c0d91f6376e66a3" 337 | dependencies: 338 | babel-helper-builder-react-jsx "^6.24.1" 339 | babel-plugin-syntax-jsx "^6.8.0" 340 | babel-runtime "^6.22.0" 341 | 342 | babel-preset-jest@^20.0.3: 343 | version "20.0.3" 344 | resolved "https://registry.yarnpkg.com/babel-preset-jest/-/babel-preset-jest-20.0.3.tgz#cbacaadecb5d689ca1e1de1360ebfc66862c178a" 345 | dependencies: 346 | babel-plugin-jest-hoist "^20.0.3" 347 | 348 | babel-preset-preact@^1.1.0: 349 | version "1.1.0" 350 | resolved "https://registry.yarnpkg.com/babel-preset-preact/-/babel-preset-preact-1.1.0.tgz#35ac655a73a49b8438163ce053816577e1980861" 351 | dependencies: 352 | babel-plugin-syntax-jsx "^6.0.2" 353 | babel-plugin-transform-react-jsx "^6.0.2" 354 | 355 | babel-register@*, babel-register@^6.24.1: 356 | version "6.24.1" 357 | resolved "https://registry.yarnpkg.com/babel-register/-/babel-register-6.24.1.tgz#7e10e13a2f71065bdfad5a1787ba45bca6ded75f" 358 | dependencies: 359 | babel-core "^6.24.1" 360 | babel-runtime "^6.22.0" 361 | core-js "^2.4.0" 362 | home-or-tmp "^2.0.0" 363 | lodash "^4.2.0" 364 | mkdirp "^0.5.1" 365 | source-map-support "^0.4.2" 366 | 367 | babel-runtime@^6.22.0: 368 | version "6.23.0" 369 | resolved "https://registry.yarnpkg.com/babel-runtime/-/babel-runtime-6.23.0.tgz#0a9489f144de70efb3ce4300accdb329e2fc543b" 370 | dependencies: 371 | core-js "^2.4.0" 372 | regenerator-runtime "^0.10.0" 373 | 374 | babel-template@^6.16.0, babel-template@^6.24.1, babel-template@^6.25.0: 375 | version "6.25.0" 376 | resolved "https://registry.yarnpkg.com/babel-template/-/babel-template-6.25.0.tgz#665241166b7c2aa4c619d71e192969552b10c071" 377 | dependencies: 378 | babel-runtime "^6.22.0" 379 | babel-traverse "^6.25.0" 380 | babel-types "^6.25.0" 381 | babylon "^6.17.2" 382 | lodash "^4.2.0" 383 | 384 | babel-traverse@^6.18.0, babel-traverse@^6.23.1, babel-traverse@^6.25.0: 385 | version "6.25.0" 386 | resolved "https://registry.yarnpkg.com/babel-traverse/-/babel-traverse-6.25.0.tgz#2257497e2fcd19b89edc13c4c91381f9512496f1" 387 | dependencies: 388 | babel-code-frame "^6.22.0" 389 | babel-messages "^6.23.0" 390 | babel-runtime "^6.22.0" 391 | babel-types "^6.25.0" 392 | babylon "^6.17.2" 393 | debug "^2.2.0" 394 | globals "^9.0.0" 395 | invariant "^2.2.0" 396 | lodash "^4.2.0" 397 | 398 | babel-types@^6.18.0, babel-types@^6.23.0, babel-types@^6.24.1, babel-types@^6.25.0: 399 | version "6.25.0" 400 | resolved "https://registry.yarnpkg.com/babel-types/-/babel-types-6.25.0.tgz#70afb248d5660e5d18f811d91c8303b54134a18e" 401 | dependencies: 402 | babel-runtime "^6.22.0" 403 | esutils "^2.0.2" 404 | lodash "^4.2.0" 405 | to-fast-properties "^1.0.1" 406 | 407 | babylon@^6.17.0, babylon@^6.17.2, babylon@^6.17.4: 408 | version "6.17.4" 409 | resolved "https://registry.yarnpkg.com/babylon/-/babylon-6.17.4.tgz#3e8b7402b88d22c3423e137a1577883b15ff869a" 410 | 411 | balanced-match@^1.0.0: 412 | version "1.0.0" 413 | resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-1.0.0.tgz#89b4d199ab2bee49de164ea02b89ce462d71b767" 414 | 415 | base64-js@^1.0.2: 416 | version "1.2.1" 417 | resolved "https://registry.yarnpkg.com/base64-js/-/base64-js-1.2.1.tgz#a91947da1f4a516ea38e5b4ec0ec3773675e0886" 418 | 419 | bcrypt-pbkdf@^1.0.0: 420 | version "1.0.1" 421 | resolved "https://registry.yarnpkg.com/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.1.tgz#63bc5dcb61331b92bc05fd528953c33462a06f8d" 422 | dependencies: 423 | tweetnacl "^0.14.3" 424 | 425 | big.js@^3.1.3: 426 | version "3.1.3" 427 | resolved "https://registry.yarnpkg.com/big.js/-/big.js-3.1.3.tgz#4cada2193652eb3ca9ec8e55c9015669c9806978" 428 | 429 | binary-extensions@^1.0.0: 430 | version "1.8.0" 431 | resolved "https://registry.yarnpkg.com/binary-extensions/-/binary-extensions-1.8.0.tgz#48ec8d16df4377eae5fa5884682480af4d95c774" 432 | 433 | block-stream@*: 434 | version "0.0.9" 435 | resolved "https://registry.yarnpkg.com/block-stream/-/block-stream-0.0.9.tgz#13ebfe778a03205cfe03751481ebb4b3300c126a" 436 | dependencies: 437 | inherits "~2.0.0" 438 | 439 | bn.js@^4.0.0, bn.js@^4.1.0, bn.js@^4.1.1, bn.js@^4.4.0: 440 | version "4.11.7" 441 | resolved "https://registry.yarnpkg.com/bn.js/-/bn.js-4.11.7.tgz#ddb048e50d9482790094c13eb3fcfc833ce7ab46" 442 | 443 | boom@2.x.x: 444 | version "2.10.1" 445 | resolved "https://registry.yarnpkg.com/boom/-/boom-2.10.1.tgz#39c8918ceff5799f83f9492a848f625add0c766f" 446 | dependencies: 447 | hoek "2.x.x" 448 | 449 | brace-expansion@^1.1.7: 450 | version "1.1.8" 451 | resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-1.1.8.tgz#c07b211c7c952ec1f8efd51a77ef0d1d3990a292" 452 | dependencies: 453 | balanced-match "^1.0.0" 454 | concat-map "0.0.1" 455 | 456 | braces@^1.8.2: 457 | version "1.8.5" 458 | resolved "https://registry.yarnpkg.com/braces/-/braces-1.8.5.tgz#ba77962e12dff969d6b76711e914b737857bf6a7" 459 | dependencies: 460 | expand-range "^1.8.1" 461 | preserve "^0.2.0" 462 | repeat-element "^1.1.2" 463 | 464 | brorand@^1.0.1: 465 | version "1.1.0" 466 | resolved "https://registry.yarnpkg.com/brorand/-/brorand-1.1.0.tgz#12c25efe40a45e3c323eb8675a0a0ce57b22371f" 467 | 468 | browser-resolve@^1.11.2: 469 | version "1.11.2" 470 | resolved "https://registry.yarnpkg.com/browser-resolve/-/browser-resolve-1.11.2.tgz#8ff09b0a2c421718a1051c260b32e48f442938ce" 471 | dependencies: 472 | resolve "1.1.7" 473 | 474 | browserify-aes@^1.0.0, browserify-aes@^1.0.4: 475 | version "1.0.6" 476 | resolved "https://registry.yarnpkg.com/browserify-aes/-/browserify-aes-1.0.6.tgz#5e7725dbdef1fd5930d4ebab48567ce451c48a0a" 477 | dependencies: 478 | buffer-xor "^1.0.2" 479 | cipher-base "^1.0.0" 480 | create-hash "^1.1.0" 481 | evp_bytestokey "^1.0.0" 482 | inherits "^2.0.1" 483 | 484 | browserify-cipher@^1.0.0: 485 | version "1.0.0" 486 | resolved "https://registry.yarnpkg.com/browserify-cipher/-/browserify-cipher-1.0.0.tgz#9988244874bf5ed4e28da95666dcd66ac8fc363a" 487 | dependencies: 488 | browserify-aes "^1.0.4" 489 | browserify-des "^1.0.0" 490 | evp_bytestokey "^1.0.0" 491 | 492 | browserify-des@^1.0.0: 493 | version "1.0.0" 494 | resolved "https://registry.yarnpkg.com/browserify-des/-/browserify-des-1.0.0.tgz#daa277717470922ed2fe18594118a175439721dd" 495 | dependencies: 496 | cipher-base "^1.0.1" 497 | des.js "^1.0.0" 498 | inherits "^2.0.1" 499 | 500 | browserify-rsa@^4.0.0: 501 | version "4.0.1" 502 | resolved "https://registry.yarnpkg.com/browserify-rsa/-/browserify-rsa-4.0.1.tgz#21e0abfaf6f2029cf2fafb133567a701d4135524" 503 | dependencies: 504 | bn.js "^4.1.0" 505 | randombytes "^2.0.1" 506 | 507 | browserify-sign@^4.0.0: 508 | version "4.0.4" 509 | resolved "https://registry.yarnpkg.com/browserify-sign/-/browserify-sign-4.0.4.tgz#aa4eb68e5d7b658baa6bf6a57e630cbd7a93d298" 510 | dependencies: 511 | bn.js "^4.1.1" 512 | browserify-rsa "^4.0.0" 513 | create-hash "^1.1.0" 514 | create-hmac "^1.1.2" 515 | elliptic "^6.0.0" 516 | inherits "^2.0.1" 517 | parse-asn1 "^5.0.0" 518 | 519 | browserify-zlib@^0.1.4: 520 | version "0.1.4" 521 | resolved "https://registry.yarnpkg.com/browserify-zlib/-/browserify-zlib-0.1.4.tgz#bb35f8a519f600e0fa6b8485241c979d0141fb2d" 522 | dependencies: 523 | pako "~0.2.0" 524 | 525 | bser@1.0.2: 526 | version "1.0.2" 527 | resolved "https://registry.yarnpkg.com/bser/-/bser-1.0.2.tgz#381116970b2a6deea5646dd15dd7278444b56169" 528 | dependencies: 529 | node-int64 "^0.4.0" 530 | 531 | bser@^2.0.0: 532 | version "2.0.0" 533 | resolved "https://registry.yarnpkg.com/bser/-/bser-2.0.0.tgz#9ac78d3ed5d915804fd87acb158bc797147a1719" 534 | dependencies: 535 | node-int64 "^0.4.0" 536 | 537 | buffer-xor@^1.0.2: 538 | version "1.0.3" 539 | resolved "https://registry.yarnpkg.com/buffer-xor/-/buffer-xor-1.0.3.tgz#26e61ed1422fb70dd42e6e36729ed51d855fe8d9" 540 | 541 | buffer@^4.3.0: 542 | version "4.9.1" 543 | resolved "https://registry.yarnpkg.com/buffer/-/buffer-4.9.1.tgz#6d1bb601b07a4efced97094132093027c95bc298" 544 | dependencies: 545 | base64-js "^1.0.2" 546 | ieee754 "^1.1.4" 547 | isarray "^1.0.0" 548 | 549 | builtin-modules@^1.0.0: 550 | version "1.1.1" 551 | resolved "https://registry.yarnpkg.com/builtin-modules/-/builtin-modules-1.1.1.tgz#270f076c5a72c02f5b65a47df94c5fe3a278892f" 552 | 553 | builtin-status-codes@^3.0.0: 554 | version "3.0.0" 555 | resolved "https://registry.yarnpkg.com/builtin-status-codes/-/builtin-status-codes-3.0.0.tgz#85982878e21b98e1c66425e03d0174788f569ee8" 556 | 557 | caller-path@^0.1.0: 558 | version "0.1.0" 559 | resolved "https://registry.yarnpkg.com/caller-path/-/caller-path-0.1.0.tgz#94085ef63581ecd3daa92444a8fe94e82577751f" 560 | dependencies: 561 | callsites "^0.2.0" 562 | 563 | callsites@^0.2.0: 564 | version "0.2.0" 565 | resolved "https://registry.yarnpkg.com/callsites/-/callsites-0.2.0.tgz#afab96262910a7f33c19a5775825c69f34e350ca" 566 | 567 | callsites@^2.0.0: 568 | version "2.0.0" 569 | resolved "https://registry.yarnpkg.com/callsites/-/callsites-2.0.0.tgz#06eb84f00eea413da86affefacbffb36093b3c50" 570 | 571 | camelcase@^1.0.2: 572 | version "1.2.1" 573 | resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-1.2.1.tgz#9bb5304d2e0b56698b2c758b08a3eaa9daa58a39" 574 | 575 | camelcase@^3.0.0: 576 | version "3.0.0" 577 | resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-3.0.0.tgz#32fc4b9fcdaf845fcdf7e73bb97cac2261f0ab0a" 578 | 579 | caseless@~0.12.0: 580 | version "0.12.0" 581 | resolved "https://registry.yarnpkg.com/caseless/-/caseless-0.12.0.tgz#1b681c21ff84033c826543090689420d187151dc" 582 | 583 | center-align@^0.1.1: 584 | version "0.1.3" 585 | resolved "https://registry.yarnpkg.com/center-align/-/center-align-0.1.3.tgz#aa0d32629b6ee972200411cbd4461c907bc2b7ad" 586 | dependencies: 587 | align-text "^0.1.3" 588 | lazy-cache "^1.0.3" 589 | 590 | chalk@^1.0.0, chalk@^1.1.0, chalk@^1.1.1, chalk@^1.1.3: 591 | version "1.1.3" 592 | resolved "https://registry.yarnpkg.com/chalk/-/chalk-1.1.3.tgz#a8115c55e4a702fe4d150abd3872822a7e09fc98" 593 | dependencies: 594 | ansi-styles "^2.2.1" 595 | escape-string-regexp "^1.0.2" 596 | has-ansi "^2.0.0" 597 | strip-ansi "^3.0.0" 598 | supports-color "^2.0.0" 599 | 600 | chokidar@^1.4.3: 601 | version "1.7.0" 602 | resolved "https://registry.yarnpkg.com/chokidar/-/chokidar-1.7.0.tgz#798e689778151c8076b4b360e5edd28cda2bb468" 603 | dependencies: 604 | anymatch "^1.3.0" 605 | async-each "^1.0.0" 606 | glob-parent "^2.0.0" 607 | inherits "^2.0.1" 608 | is-binary-path "^1.0.0" 609 | is-glob "^2.0.0" 610 | path-is-absolute "^1.0.0" 611 | readdirp "^2.0.0" 612 | optionalDependencies: 613 | fsevents "^1.0.0" 614 | 615 | ci-info@^1.0.0: 616 | version "1.0.0" 617 | resolved "https://registry.yarnpkg.com/ci-info/-/ci-info-1.0.0.tgz#dc5285f2b4e251821683681c381c3388f46ec534" 618 | 619 | cipher-base@^1.0.0, cipher-base@^1.0.1, cipher-base@^1.0.3: 620 | version "1.0.3" 621 | resolved "https://registry.yarnpkg.com/cipher-base/-/cipher-base-1.0.3.tgz#eeabf194419ce900da3018c207d212f2a6df0a07" 622 | dependencies: 623 | inherits "^2.0.1" 624 | 625 | circular-json@^0.3.1: 626 | version "0.3.1" 627 | resolved "https://registry.yarnpkg.com/circular-json/-/circular-json-0.3.1.tgz#be8b36aefccde8b3ca7aa2d6afc07a37242c0d2d" 628 | 629 | cli-cursor@^2.1.0: 630 | version "2.1.0" 631 | resolved "https://registry.yarnpkg.com/cli-cursor/-/cli-cursor-2.1.0.tgz#b35dac376479facc3e94747d41d0d0f5238ffcb5" 632 | dependencies: 633 | restore-cursor "^2.0.0" 634 | 635 | cli-width@^2.0.0: 636 | version "2.1.0" 637 | resolved "https://registry.yarnpkg.com/cli-width/-/cli-width-2.1.0.tgz#b234ca209b29ef66fc518d9b98d5847b00edf00a" 638 | 639 | cliui@^2.1.0: 640 | version "2.1.0" 641 | resolved "https://registry.yarnpkg.com/cliui/-/cliui-2.1.0.tgz#4b475760ff80264c762c3a1719032e91c7fea0d1" 642 | dependencies: 643 | center-align "^0.1.1" 644 | right-align "^0.1.1" 645 | wordwrap "0.0.2" 646 | 647 | cliui@^3.2.0: 648 | version "3.2.0" 649 | resolved "https://registry.yarnpkg.com/cliui/-/cliui-3.2.0.tgz#120601537a916d29940f934da3b48d585a39213d" 650 | dependencies: 651 | string-width "^1.0.1" 652 | strip-ansi "^3.0.1" 653 | wrap-ansi "^2.0.0" 654 | 655 | co@^4.6.0: 656 | version "4.6.0" 657 | resolved "https://registry.yarnpkg.com/co/-/co-4.6.0.tgz#6ea6bdf3d853ae54ccb8e47bfa0bf3f9031fb184" 658 | 659 | code-point-at@^1.0.0: 660 | version "1.1.0" 661 | resolved "https://registry.yarnpkg.com/code-point-at/-/code-point-at-1.1.0.tgz#0d070b4d043a5bea33a2f1a40e2edb3d9a4ccf77" 662 | 663 | color-convert@^1.0.0: 664 | version "1.9.0" 665 | resolved "https://registry.yarnpkg.com/color-convert/-/color-convert-1.9.0.tgz#1accf97dd739b983bf994d56fec8f95853641b7a" 666 | dependencies: 667 | color-name "^1.1.1" 668 | 669 | color-name@^1.1.1: 670 | version "1.1.2" 671 | resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.2.tgz#5c8ab72b64bd2215d617ae9559ebb148475cf98d" 672 | 673 | combined-stream@^1.0.5, combined-stream@~1.0.5: 674 | version "1.0.5" 675 | resolved "https://registry.yarnpkg.com/combined-stream/-/combined-stream-1.0.5.tgz#938370a57b4a51dea2c77c15d5c5fdf895164009" 676 | dependencies: 677 | delayed-stream "~1.0.0" 678 | 679 | commondir@^1.0.1: 680 | version "1.0.1" 681 | resolved "https://registry.yarnpkg.com/commondir/-/commondir-1.0.1.tgz#ddd800da0c66127393cca5950ea968a3aaf1253b" 682 | 683 | concat-map@0.0.1: 684 | version "0.0.1" 685 | resolved "https://registry.yarnpkg.com/concat-map/-/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b" 686 | 687 | concat-stream@^1.6.0: 688 | version "1.6.0" 689 | resolved "https://registry.yarnpkg.com/concat-stream/-/concat-stream-1.6.0.tgz#0aac662fd52be78964d5532f694784e70110acf7" 690 | dependencies: 691 | inherits "^2.0.3" 692 | readable-stream "^2.2.2" 693 | typedarray "^0.0.6" 694 | 695 | console-browserify@^1.1.0: 696 | version "1.1.0" 697 | resolved "https://registry.yarnpkg.com/console-browserify/-/console-browserify-1.1.0.tgz#f0241c45730a9fc6323b206dbf38edc741d0bb10" 698 | dependencies: 699 | date-now "^0.1.4" 700 | 701 | console-control-strings@^1.0.0, console-control-strings@~1.1.0: 702 | version "1.1.0" 703 | resolved "https://registry.yarnpkg.com/console-control-strings/-/console-control-strings-1.1.0.tgz#3d7cf4464db6446ea644bf4b39507f9851008e8e" 704 | 705 | constants-browserify@^1.0.0: 706 | version "1.0.0" 707 | resolved "https://registry.yarnpkg.com/constants-browserify/-/constants-browserify-1.0.0.tgz#c20b96d8c617748aaf1c16021760cd27fcb8cb75" 708 | 709 | content-type-parser@^1.0.1: 710 | version "1.0.1" 711 | resolved "https://registry.yarnpkg.com/content-type-parser/-/content-type-parser-1.0.1.tgz#c3e56988c53c65127fb46d4032a3a900246fdc94" 712 | 713 | convert-source-map@^1.1.0, convert-source-map@^1.4.0: 714 | version "1.5.0" 715 | resolved "https://registry.yarnpkg.com/convert-source-map/-/convert-source-map-1.5.0.tgz#9acd70851c6d5dfdd93d9282e5edf94a03ff46b5" 716 | 717 | core-js@^2.4.0: 718 | version "2.4.1" 719 | resolved "https://registry.yarnpkg.com/core-js/-/core-js-2.4.1.tgz#4de911e667b0eae9124e34254b53aea6fc618d3e" 720 | 721 | core-util-is@~1.0.0: 722 | version "1.0.2" 723 | resolved "https://registry.yarnpkg.com/core-util-is/-/core-util-is-1.0.2.tgz#b5fd54220aa2bc5ab57aab7140c940754503c1a7" 724 | 725 | create-ecdh@^4.0.0: 726 | version "4.0.0" 727 | resolved "https://registry.yarnpkg.com/create-ecdh/-/create-ecdh-4.0.0.tgz#888c723596cdf7612f6498233eebd7a35301737d" 728 | dependencies: 729 | bn.js "^4.1.0" 730 | elliptic "^6.0.0" 731 | 732 | create-hash@^1.1.0, create-hash@^1.1.1, create-hash@^1.1.2: 733 | version "1.1.3" 734 | resolved "https://registry.yarnpkg.com/create-hash/-/create-hash-1.1.3.tgz#606042ac8b9262750f483caddab0f5819172d8fd" 735 | dependencies: 736 | cipher-base "^1.0.1" 737 | inherits "^2.0.1" 738 | ripemd160 "^2.0.0" 739 | sha.js "^2.4.0" 740 | 741 | create-hmac@^1.1.0, create-hmac@^1.1.2, create-hmac@^1.1.4: 742 | version "1.1.6" 743 | resolved "https://registry.yarnpkg.com/create-hmac/-/create-hmac-1.1.6.tgz#acb9e221a4e17bdb076e90657c42b93e3726cf06" 744 | dependencies: 745 | cipher-base "^1.0.3" 746 | create-hash "^1.1.0" 747 | inherits "^2.0.1" 748 | ripemd160 "^2.0.0" 749 | safe-buffer "^5.0.1" 750 | sha.js "^2.4.8" 751 | 752 | cryptiles@2.x.x: 753 | version "2.0.5" 754 | resolved "https://registry.yarnpkg.com/cryptiles/-/cryptiles-2.0.5.tgz#3bdfecdc608147c1c67202fa291e7dca59eaa3b8" 755 | dependencies: 756 | boom "2.x.x" 757 | 758 | crypto-browserify@^3.11.0: 759 | version "3.11.0" 760 | resolved "https://registry.yarnpkg.com/crypto-browserify/-/crypto-browserify-3.11.0.tgz#3652a0906ab9b2a7e0c3ce66a408e957a2485522" 761 | dependencies: 762 | browserify-cipher "^1.0.0" 763 | browserify-sign "^4.0.0" 764 | create-ecdh "^4.0.0" 765 | create-hash "^1.1.0" 766 | create-hmac "^1.1.0" 767 | diffie-hellman "^5.0.0" 768 | inherits "^2.0.1" 769 | pbkdf2 "^3.0.3" 770 | public-encrypt "^4.0.0" 771 | randombytes "^2.0.0" 772 | 773 | cssom@0.3.x, "cssom@>= 0.3.2 < 0.4.0": 774 | version "0.3.2" 775 | resolved "https://registry.yarnpkg.com/cssom/-/cssom-0.3.2.tgz#b8036170c79f07a90ff2f16e22284027a243848b" 776 | 777 | "cssstyle@>= 0.2.37 < 0.3.0": 778 | version "0.2.37" 779 | resolved "https://registry.yarnpkg.com/cssstyle/-/cssstyle-0.2.37.tgz#541097234cb2513c83ceed3acddc27ff27987d54" 780 | dependencies: 781 | cssom "0.3.x" 782 | 783 | dashdash@^1.12.0: 784 | version "1.14.1" 785 | resolved "https://registry.yarnpkg.com/dashdash/-/dashdash-1.14.1.tgz#853cfa0f7cbe2fed5de20326b8dd581035f6e2f0" 786 | dependencies: 787 | assert-plus "^1.0.0" 788 | 789 | date-now@^0.1.4: 790 | version "0.1.4" 791 | resolved "https://registry.yarnpkg.com/date-now/-/date-now-0.1.4.tgz#eaf439fd4d4848ad74e5cc7dbef200672b9e345b" 792 | 793 | debug@^2.1.1, debug@^2.2.0, debug@^2.6.3, debug@^2.6.8: 794 | version "2.6.8" 795 | resolved "https://registry.yarnpkg.com/debug/-/debug-2.6.8.tgz#e731531ca2ede27d188222427da17821d68ff4fc" 796 | dependencies: 797 | ms "2.0.0" 798 | 799 | decamelize@^1.0.0, decamelize@^1.1.1: 800 | version "1.2.0" 801 | resolved "https://registry.yarnpkg.com/decamelize/-/decamelize-1.2.0.tgz#f6534d15148269b20352e7bee26f501f9a191290" 802 | 803 | deep-extend@~0.4.0: 804 | version "0.4.2" 805 | resolved "https://registry.yarnpkg.com/deep-extend/-/deep-extend-0.4.2.tgz#48b699c27e334bf89f10892be432f6e4c7d34a7f" 806 | 807 | deep-is@~0.1.3: 808 | version "0.1.3" 809 | resolved "https://registry.yarnpkg.com/deep-is/-/deep-is-0.1.3.tgz#b369d6fb5dbc13eecf524f91b070feedc357cf34" 810 | 811 | default-require-extensions@^1.0.0: 812 | version "1.0.0" 813 | resolved "https://registry.yarnpkg.com/default-require-extensions/-/default-require-extensions-1.0.0.tgz#f37ea15d3e13ffd9b437d33e1a75b5fb97874cb8" 814 | dependencies: 815 | strip-bom "^2.0.0" 816 | 817 | define-properties@^1.1.2: 818 | version "1.1.2" 819 | resolved "https://registry.yarnpkg.com/define-properties/-/define-properties-1.1.2.tgz#83a73f2fea569898fb737193c8f873caf6d45c94" 820 | dependencies: 821 | foreach "^2.0.5" 822 | object-keys "^1.0.8" 823 | 824 | del@^2.0.2: 825 | version "2.2.2" 826 | resolved "https://registry.yarnpkg.com/del/-/del-2.2.2.tgz#c12c981d067846c84bcaf862cff930d907ffd1a8" 827 | dependencies: 828 | globby "^5.0.0" 829 | is-path-cwd "^1.0.0" 830 | is-path-in-cwd "^1.0.0" 831 | object-assign "^4.0.1" 832 | pify "^2.0.0" 833 | pinkie-promise "^2.0.0" 834 | rimraf "^2.2.8" 835 | 836 | delayed-stream@~1.0.0: 837 | version "1.0.0" 838 | resolved "https://registry.yarnpkg.com/delayed-stream/-/delayed-stream-1.0.0.tgz#df3ae199acadfb7d440aaae0b29e2272b24ec619" 839 | 840 | delegates@^1.0.0: 841 | version "1.0.0" 842 | resolved "https://registry.yarnpkg.com/delegates/-/delegates-1.0.0.tgz#84c6e159b81904fdca59a0ef44cd870d31250f9a" 843 | 844 | des.js@^1.0.0: 845 | version "1.0.0" 846 | resolved "https://registry.yarnpkg.com/des.js/-/des.js-1.0.0.tgz#c074d2e2aa6a8a9a07dbd61f9a15c2cd83ec8ecc" 847 | dependencies: 848 | inherits "^2.0.1" 849 | minimalistic-assert "^1.0.0" 850 | 851 | detect-indent@^4.0.0: 852 | version "4.0.0" 853 | resolved "https://registry.yarnpkg.com/detect-indent/-/detect-indent-4.0.0.tgz#f76d064352cdf43a1cb6ce619c4ee3a9475de208" 854 | dependencies: 855 | repeating "^2.0.0" 856 | 857 | diff@^3.2.0: 858 | version "3.2.0" 859 | resolved "https://registry.yarnpkg.com/diff/-/diff-3.2.0.tgz#c9ce393a4b7cbd0b058a725c93df299027868ff9" 860 | 861 | diffie-hellman@^5.0.0: 862 | version "5.0.2" 863 | resolved "https://registry.yarnpkg.com/diffie-hellman/-/diffie-hellman-5.0.2.tgz#b5835739270cfe26acf632099fded2a07f209e5e" 864 | dependencies: 865 | bn.js "^4.1.0" 866 | miller-rabin "^4.0.0" 867 | randombytes "^2.0.0" 868 | 869 | doctrine@^2.0.0: 870 | version "2.0.0" 871 | resolved "https://registry.yarnpkg.com/doctrine/-/doctrine-2.0.0.tgz#c73d8d2909d22291e1a007a395804da8b665fe63" 872 | dependencies: 873 | esutils "^2.0.2" 874 | isarray "^1.0.0" 875 | 876 | domain-browser@^1.1.1: 877 | version "1.1.7" 878 | resolved "https://registry.yarnpkg.com/domain-browser/-/domain-browser-1.1.7.tgz#867aa4b093faa05f1de08c06f4d7b21fdf8698bc" 879 | 880 | ecc-jsbn@~0.1.1: 881 | version "0.1.1" 882 | resolved "https://registry.yarnpkg.com/ecc-jsbn/-/ecc-jsbn-0.1.1.tgz#0fc73a9ed5f0d53c38193398523ef7e543777505" 883 | dependencies: 884 | jsbn "~0.1.0" 885 | 886 | elliptic@^6.0.0: 887 | version "6.4.0" 888 | resolved "https://registry.yarnpkg.com/elliptic/-/elliptic-6.4.0.tgz#cac9af8762c85836187003c8dfe193e5e2eae5df" 889 | dependencies: 890 | bn.js "^4.4.0" 891 | brorand "^1.0.1" 892 | hash.js "^1.0.0" 893 | hmac-drbg "^1.0.0" 894 | inherits "^2.0.1" 895 | minimalistic-assert "^1.0.0" 896 | minimalistic-crypto-utils "^1.0.0" 897 | 898 | emojis-list@^2.0.0: 899 | version "2.1.0" 900 | resolved "https://registry.yarnpkg.com/emojis-list/-/emojis-list-2.1.0.tgz#4daa4d9db00f9819880c79fa457ae5b09a1fd389" 901 | 902 | enhanced-resolve@^3.3.0: 903 | version "3.3.0" 904 | resolved "https://registry.yarnpkg.com/enhanced-resolve/-/enhanced-resolve-3.3.0.tgz#950964ecc7f0332a42321b673b38dc8ff15535b3" 905 | dependencies: 906 | graceful-fs "^4.1.2" 907 | memory-fs "^0.4.0" 908 | object-assign "^4.0.1" 909 | tapable "^0.2.5" 910 | 911 | "errno@>=0.1.1 <0.2.0-0", errno@^0.1.3: 912 | version "0.1.4" 913 | resolved "https://registry.yarnpkg.com/errno/-/errno-0.1.4.tgz#b896e23a9e5e8ba33871fc996abd3635fc9a1c7d" 914 | dependencies: 915 | prr "~0.0.0" 916 | 917 | error-ex@^1.2.0: 918 | version "1.3.1" 919 | resolved "https://registry.yarnpkg.com/error-ex/-/error-ex-1.3.1.tgz#f855a86ce61adc4e8621c3cda21e7a7612c3a8dc" 920 | dependencies: 921 | is-arrayish "^0.2.1" 922 | 923 | es-abstract@^1.6.1: 924 | version "1.7.0" 925 | resolved "https://registry.yarnpkg.com/es-abstract/-/es-abstract-1.7.0.tgz#dfade774e01bfcd97f96180298c449c8623fb94c" 926 | dependencies: 927 | es-to-primitive "^1.1.1" 928 | function-bind "^1.1.0" 929 | is-callable "^1.1.3" 930 | is-regex "^1.0.3" 931 | 932 | es-to-primitive@^1.1.1: 933 | version "1.1.1" 934 | resolved "https://registry.yarnpkg.com/es-to-primitive/-/es-to-primitive-1.1.1.tgz#45355248a88979034b6792e19bb81f2b7975dd0d" 935 | dependencies: 936 | is-callable "^1.1.1" 937 | is-date-object "^1.0.1" 938 | is-symbol "^1.0.1" 939 | 940 | escape-string-regexp@^1.0.2, escape-string-regexp@^1.0.5: 941 | version "1.0.5" 942 | resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz#1b61c0562190a8dff6ae3bb2cf0200ca130b86d4" 943 | 944 | escodegen@^1.6.1: 945 | version "1.8.1" 946 | resolved "https://registry.yarnpkg.com/escodegen/-/escodegen-1.8.1.tgz#5a5b53af4693110bebb0867aa3430dd3b70a1018" 947 | dependencies: 948 | esprima "^2.7.1" 949 | estraverse "^1.9.1" 950 | esutils "^2.0.2" 951 | optionator "^0.8.1" 952 | optionalDependencies: 953 | source-map "~0.2.0" 954 | 955 | eslint-plugin-jest@^20.0.3: 956 | version "20.0.3" 957 | resolved "https://registry.yarnpkg.com/eslint-plugin-jest/-/eslint-plugin-jest-20.0.3.tgz#ec15eba6ac0ab44a67ebf6e02672ca9d7e7cba29" 958 | 959 | eslint-plugin-react@^7.1.0: 960 | version "7.1.0" 961 | resolved "https://registry.yarnpkg.com/eslint-plugin-react/-/eslint-plugin-react-7.1.0.tgz#27770acf39f5fd49cd0af4083ce58104eb390d4c" 962 | dependencies: 963 | doctrine "^2.0.0" 964 | has "^1.0.1" 965 | jsx-ast-utils "^1.4.1" 966 | 967 | eslint-scope@^3.7.1: 968 | version "3.7.1" 969 | resolved "https://registry.yarnpkg.com/eslint-scope/-/eslint-scope-3.7.1.tgz#3d63c3edfda02e06e01a452ad88caacc7cdcb6e8" 970 | dependencies: 971 | esrecurse "^4.1.0" 972 | estraverse "^4.1.1" 973 | 974 | eslint@^4.2.0: 975 | version "4.2.0" 976 | resolved "https://registry.yarnpkg.com/eslint/-/eslint-4.2.0.tgz#a2b3184111b198e02e9c7f3cca625a5e01c56b3d" 977 | dependencies: 978 | ajv "^5.2.0" 979 | babel-code-frame "^6.22.0" 980 | chalk "^1.1.3" 981 | concat-stream "^1.6.0" 982 | debug "^2.6.8" 983 | doctrine "^2.0.0" 984 | eslint-scope "^3.7.1" 985 | espree "^3.4.3" 986 | esquery "^1.0.0" 987 | estraverse "^4.2.0" 988 | esutils "^2.0.2" 989 | file-entry-cache "^2.0.0" 990 | glob "^7.1.2" 991 | globals "^9.17.0" 992 | ignore "^3.3.3" 993 | imurmurhash "^0.1.4" 994 | inquirer "^3.0.6" 995 | is-resolvable "^1.0.0" 996 | js-yaml "^3.8.4" 997 | json-stable-stringify "^1.0.1" 998 | levn "^0.3.0" 999 | lodash "^4.17.4" 1000 | minimatch "^3.0.2" 1001 | mkdirp "^0.5.1" 1002 | natural-compare "^1.4.0" 1003 | optionator "^0.8.2" 1004 | path-is-inside "^1.0.2" 1005 | pluralize "^4.0.0" 1006 | progress "^2.0.0" 1007 | require-uncached "^1.0.3" 1008 | strip-json-comments "~2.0.1" 1009 | table "^4.0.1" 1010 | text-table "~0.2.0" 1011 | 1012 | espree@^3.4.3: 1013 | version "3.4.3" 1014 | resolved "https://registry.yarnpkg.com/espree/-/espree-3.4.3.tgz#2910b5ccd49ce893c2ffffaab4fd8b3a31b82374" 1015 | dependencies: 1016 | acorn "^5.0.1" 1017 | acorn-jsx "^3.0.0" 1018 | 1019 | esprima@^2.7.1: 1020 | version "2.7.3" 1021 | resolved "https://registry.yarnpkg.com/esprima/-/esprima-2.7.3.tgz#96e3b70d5779f6ad49cd032673d1c312767ba581" 1022 | 1023 | esprima@^3.1.1: 1024 | version "3.1.3" 1025 | resolved "https://registry.yarnpkg.com/esprima/-/esprima-3.1.3.tgz#fdca51cee6133895e3c88d535ce49dbff62a4633" 1026 | 1027 | esquery@^1.0.0: 1028 | version "1.0.0" 1029 | resolved "https://registry.yarnpkg.com/esquery/-/esquery-1.0.0.tgz#cfba8b57d7fba93f17298a8a006a04cda13d80fa" 1030 | dependencies: 1031 | estraverse "^4.0.0" 1032 | 1033 | esrecurse@^4.1.0: 1034 | version "4.2.0" 1035 | resolved "https://registry.yarnpkg.com/esrecurse/-/esrecurse-4.2.0.tgz#fa9568d98d3823f9a41d91e902dcab9ea6e5b163" 1036 | dependencies: 1037 | estraverse "^4.1.0" 1038 | object-assign "^4.0.1" 1039 | 1040 | estraverse@^1.9.1: 1041 | version "1.9.3" 1042 | resolved "https://registry.yarnpkg.com/estraverse/-/estraverse-1.9.3.tgz#af67f2dc922582415950926091a4005d29c9bb44" 1043 | 1044 | estraverse@^4.0.0, estraverse@^4.1.0, estraverse@^4.1.1, estraverse@^4.2.0: 1045 | version "4.2.0" 1046 | resolved "https://registry.yarnpkg.com/estraverse/-/estraverse-4.2.0.tgz#0dee3fed31fcd469618ce7342099fc1afa0bdb13" 1047 | 1048 | esutils@^2.0.0, esutils@^2.0.2: 1049 | version "2.0.2" 1050 | resolved "https://registry.yarnpkg.com/esutils/-/esutils-2.0.2.tgz#0abf4f1caa5bcb1f7a9d8acc6dea4faaa04bac9b" 1051 | 1052 | events@^1.0.0: 1053 | version "1.1.1" 1054 | resolved "https://registry.yarnpkg.com/events/-/events-1.1.1.tgz#9ebdb7635ad099c70dcc4c2a1f5004288e8bd924" 1055 | 1056 | evp_bytestokey@^1.0.0: 1057 | version "1.0.0" 1058 | resolved "https://registry.yarnpkg.com/evp_bytestokey/-/evp_bytestokey-1.0.0.tgz#497b66ad9fef65cd7c08a6180824ba1476b66e53" 1059 | dependencies: 1060 | create-hash "^1.1.1" 1061 | 1062 | exec-sh@^0.2.0: 1063 | version "0.2.0" 1064 | resolved "https://registry.yarnpkg.com/exec-sh/-/exec-sh-0.2.0.tgz#14f75de3f20d286ef933099b2ce50a90359cef10" 1065 | dependencies: 1066 | merge "^1.1.3" 1067 | 1068 | expand-brackets@^0.1.4: 1069 | version "0.1.5" 1070 | resolved "https://registry.yarnpkg.com/expand-brackets/-/expand-brackets-0.1.5.tgz#df07284e342a807cd733ac5af72411e581d1177b" 1071 | dependencies: 1072 | is-posix-bracket "^0.1.0" 1073 | 1074 | expand-range@^1.8.1: 1075 | version "1.8.2" 1076 | resolved "https://registry.yarnpkg.com/expand-range/-/expand-range-1.8.2.tgz#a299effd335fe2721ebae8e257ec79644fc85337" 1077 | dependencies: 1078 | fill-range "^2.1.0" 1079 | 1080 | extend@~3.0.0: 1081 | version "3.0.1" 1082 | resolved "https://registry.yarnpkg.com/extend/-/extend-3.0.1.tgz#a755ea7bc1adfcc5a31ce7e762dbaadc5e636444" 1083 | 1084 | external-editor@^2.0.4: 1085 | version "2.0.4" 1086 | resolved "https://registry.yarnpkg.com/external-editor/-/external-editor-2.0.4.tgz#1ed9199da9cbfe2ef2f7a31b2fde8b0d12368972" 1087 | dependencies: 1088 | iconv-lite "^0.4.17" 1089 | jschardet "^1.4.2" 1090 | tmp "^0.0.31" 1091 | 1092 | extglob@^0.3.1: 1093 | version "0.3.2" 1094 | resolved "https://registry.yarnpkg.com/extglob/-/extglob-0.3.2.tgz#2e18ff3d2f49ab2765cec9023f011daa8d8349a1" 1095 | dependencies: 1096 | is-extglob "^1.0.0" 1097 | 1098 | extsprintf@1.0.2: 1099 | version "1.0.2" 1100 | resolved "https://registry.yarnpkg.com/extsprintf/-/extsprintf-1.0.2.tgz#e1080e0658e300b06294990cc70e1502235fd550" 1101 | 1102 | fast-deep-equal@^1.0.0: 1103 | version "1.0.0" 1104 | resolved "https://registry.yarnpkg.com/fast-deep-equal/-/fast-deep-equal-1.0.0.tgz#96256a3bc975595eb36d82e9929d060d893439ff" 1105 | 1106 | fast-levenshtein@~2.0.4: 1107 | version "2.0.6" 1108 | resolved "https://registry.yarnpkg.com/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz#3d8a5c66883a16a30ca8643e851f19baa7797917" 1109 | 1110 | fb-watchman@^1.8.0: 1111 | version "1.9.2" 1112 | resolved "https://registry.yarnpkg.com/fb-watchman/-/fb-watchman-1.9.2.tgz#a24cf47827f82d38fb59a69ad70b76e3b6ae7383" 1113 | dependencies: 1114 | bser "1.0.2" 1115 | 1116 | fb-watchman@^2.0.0: 1117 | version "2.0.0" 1118 | resolved "https://registry.yarnpkg.com/fb-watchman/-/fb-watchman-2.0.0.tgz#54e9abf7dfa2f26cd9b1636c588c1afc05de5d58" 1119 | dependencies: 1120 | bser "^2.0.0" 1121 | 1122 | figures@^2.0.0: 1123 | version "2.0.0" 1124 | resolved "https://registry.yarnpkg.com/figures/-/figures-2.0.0.tgz#3ab1a2d2a62c8bfb431a0c94cb797a2fce27c962" 1125 | dependencies: 1126 | escape-string-regexp "^1.0.5" 1127 | 1128 | file-entry-cache@^2.0.0: 1129 | version "2.0.0" 1130 | resolved "https://registry.yarnpkg.com/file-entry-cache/-/file-entry-cache-2.0.0.tgz#c392990c3e684783d838b8c84a45d8a048458361" 1131 | dependencies: 1132 | flat-cache "^1.2.1" 1133 | object-assign "^4.0.1" 1134 | 1135 | filename-regex@^2.0.0: 1136 | version "2.0.1" 1137 | resolved "https://registry.yarnpkg.com/filename-regex/-/filename-regex-2.0.1.tgz#c1c4b9bee3e09725ddb106b75c1e301fe2f18b26" 1138 | 1139 | fileset@^2.0.2: 1140 | version "2.0.3" 1141 | resolved "https://registry.yarnpkg.com/fileset/-/fileset-2.0.3.tgz#8e7548a96d3cc2327ee5e674168723a333bba2a0" 1142 | dependencies: 1143 | glob "^7.0.3" 1144 | minimatch "^3.0.3" 1145 | 1146 | fill-range@^2.1.0: 1147 | version "2.2.3" 1148 | resolved "https://registry.yarnpkg.com/fill-range/-/fill-range-2.2.3.tgz#50b77dfd7e469bc7492470963699fe7a8485a723" 1149 | dependencies: 1150 | is-number "^2.1.0" 1151 | isobject "^2.0.0" 1152 | randomatic "^1.1.3" 1153 | repeat-element "^1.1.2" 1154 | repeat-string "^1.5.2" 1155 | 1156 | find-cache-dir@^1.0.0: 1157 | version "1.0.0" 1158 | resolved "https://registry.yarnpkg.com/find-cache-dir/-/find-cache-dir-1.0.0.tgz#9288e3e9e3cc3748717d39eade17cf71fc30ee6f" 1159 | dependencies: 1160 | commondir "^1.0.1" 1161 | make-dir "^1.0.0" 1162 | pkg-dir "^2.0.0" 1163 | 1164 | find-up@^1.0.0: 1165 | version "1.1.2" 1166 | resolved "https://registry.yarnpkg.com/find-up/-/find-up-1.1.2.tgz#6b2e9822b1a2ce0a60ab64d610eccad53cb24d0f" 1167 | dependencies: 1168 | path-exists "^2.0.0" 1169 | pinkie-promise "^2.0.0" 1170 | 1171 | find-up@^2.1.0: 1172 | version "2.1.0" 1173 | resolved "https://registry.yarnpkg.com/find-up/-/find-up-2.1.0.tgz#45d1b7e506c717ddd482775a2b77920a3c0c57a7" 1174 | dependencies: 1175 | locate-path "^2.0.0" 1176 | 1177 | flat-cache@^1.2.1: 1178 | version "1.2.2" 1179 | resolved "https://registry.yarnpkg.com/flat-cache/-/flat-cache-1.2.2.tgz#fa86714e72c21db88601761ecf2f555d1abc6b96" 1180 | dependencies: 1181 | circular-json "^0.3.1" 1182 | del "^2.0.2" 1183 | graceful-fs "^4.1.2" 1184 | write "^0.2.1" 1185 | 1186 | for-in@^1.0.1: 1187 | version "1.0.2" 1188 | resolved "https://registry.yarnpkg.com/for-in/-/for-in-1.0.2.tgz#81068d295a8142ec0ac726c6e2200c30fb6d5e80" 1189 | 1190 | for-own@^0.1.4: 1191 | version "0.1.5" 1192 | resolved "https://registry.yarnpkg.com/for-own/-/for-own-0.1.5.tgz#5265c681a4f294dabbf17c9509b6763aa84510ce" 1193 | dependencies: 1194 | for-in "^1.0.1" 1195 | 1196 | foreach@^2.0.5: 1197 | version "2.0.5" 1198 | resolved "https://registry.yarnpkg.com/foreach/-/foreach-2.0.5.tgz#0bee005018aeb260d0a3af3ae658dd0136ec1b99" 1199 | 1200 | forever-agent@~0.6.1: 1201 | version "0.6.1" 1202 | resolved "https://registry.yarnpkg.com/forever-agent/-/forever-agent-0.6.1.tgz#fbc71f0c41adeb37f96c577ad1ed42d8fdacca91" 1203 | 1204 | form-data@~2.1.1: 1205 | version "2.1.4" 1206 | resolved "https://registry.yarnpkg.com/form-data/-/form-data-2.1.4.tgz#33c183acf193276ecaa98143a69e94bfee1750d1" 1207 | dependencies: 1208 | asynckit "^0.4.0" 1209 | combined-stream "^1.0.5" 1210 | mime-types "^2.1.12" 1211 | 1212 | fs.realpath@^1.0.0: 1213 | version "1.0.0" 1214 | resolved "https://registry.yarnpkg.com/fs.realpath/-/fs.realpath-1.0.0.tgz#1504ad2523158caa40db4a2787cb01411994ea4f" 1215 | 1216 | fsevents@^1.0.0: 1217 | version "1.1.2" 1218 | resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-1.1.2.tgz#3282b713fb3ad80ede0e9fcf4611b5aa6fc033f4" 1219 | dependencies: 1220 | nan "^2.3.0" 1221 | node-pre-gyp "^0.6.36" 1222 | 1223 | fstream-ignore@^1.0.5: 1224 | version "1.0.5" 1225 | resolved "https://registry.yarnpkg.com/fstream-ignore/-/fstream-ignore-1.0.5.tgz#9c31dae34767018fe1d249b24dada67d092da105" 1226 | dependencies: 1227 | fstream "^1.0.0" 1228 | inherits "2" 1229 | minimatch "^3.0.0" 1230 | 1231 | fstream@^1.0.0, fstream@^1.0.10, fstream@^1.0.2: 1232 | version "1.0.11" 1233 | resolved "https://registry.yarnpkg.com/fstream/-/fstream-1.0.11.tgz#5c1fb1f117477114f0632a0eb4b71b3cb0fd3171" 1234 | dependencies: 1235 | graceful-fs "^4.1.2" 1236 | inherits "~2.0.0" 1237 | mkdirp ">=0.5 0" 1238 | rimraf "2" 1239 | 1240 | function-bind@^1.0.2, function-bind@^1.1.0: 1241 | version "1.1.0" 1242 | resolved "https://registry.yarnpkg.com/function-bind/-/function-bind-1.1.0.tgz#16176714c801798e4e8f2cf7f7529467bb4a5771" 1243 | 1244 | gauge@~2.7.3: 1245 | version "2.7.4" 1246 | resolved "https://registry.yarnpkg.com/gauge/-/gauge-2.7.4.tgz#2c03405c7538c39d7eb37b317022e325fb018bf7" 1247 | dependencies: 1248 | aproba "^1.0.3" 1249 | console-control-strings "^1.0.0" 1250 | has-unicode "^2.0.0" 1251 | object-assign "^4.1.0" 1252 | signal-exit "^3.0.0" 1253 | string-width "^1.0.1" 1254 | strip-ansi "^3.0.1" 1255 | wide-align "^1.1.0" 1256 | 1257 | get-caller-file@^1.0.1: 1258 | version "1.0.2" 1259 | resolved "https://registry.yarnpkg.com/get-caller-file/-/get-caller-file-1.0.2.tgz#f702e63127e7e231c160a80c1554acb70d5047e5" 1260 | 1261 | getpass@^0.1.1: 1262 | version "0.1.7" 1263 | resolved "https://registry.yarnpkg.com/getpass/-/getpass-0.1.7.tgz#5eff8e3e684d569ae4cb2b1282604e8ba62149fa" 1264 | dependencies: 1265 | assert-plus "^1.0.0" 1266 | 1267 | glob-base@^0.3.0: 1268 | version "0.3.0" 1269 | resolved "https://registry.yarnpkg.com/glob-base/-/glob-base-0.3.0.tgz#dbb164f6221b1c0b1ccf82aea328b497df0ea3c4" 1270 | dependencies: 1271 | glob-parent "^2.0.0" 1272 | is-glob "^2.0.0" 1273 | 1274 | glob-parent@^2.0.0: 1275 | version "2.0.0" 1276 | resolved "https://registry.yarnpkg.com/glob-parent/-/glob-parent-2.0.0.tgz#81383d72db054fcccf5336daa902f182f6edbb28" 1277 | dependencies: 1278 | is-glob "^2.0.0" 1279 | 1280 | glob@^7.0.3, glob@^7.0.5, glob@^7.1.1, glob@^7.1.2: 1281 | version "7.1.2" 1282 | resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.2.tgz#c19c9df9a028702d678612384a6552404c636d15" 1283 | dependencies: 1284 | fs.realpath "^1.0.0" 1285 | inflight "^1.0.4" 1286 | inherits "2" 1287 | minimatch "^3.0.4" 1288 | once "^1.3.0" 1289 | path-is-absolute "^1.0.0" 1290 | 1291 | globals@^9.0.0, globals@^9.17.0: 1292 | version "9.18.0" 1293 | resolved "https://registry.yarnpkg.com/globals/-/globals-9.18.0.tgz#aa3896b3e69b487f17e31ed2143d69a8e30c2d8a" 1294 | 1295 | globby@^5.0.0: 1296 | version "5.0.0" 1297 | resolved "https://registry.yarnpkg.com/globby/-/globby-5.0.0.tgz#ebd84667ca0dbb330b99bcfc68eac2bc54370e0d" 1298 | dependencies: 1299 | array-union "^1.0.1" 1300 | arrify "^1.0.0" 1301 | glob "^7.0.3" 1302 | object-assign "^4.0.1" 1303 | pify "^2.0.0" 1304 | pinkie-promise "^2.0.0" 1305 | 1306 | graceful-fs@^4.1.11, graceful-fs@^4.1.2: 1307 | version "4.1.11" 1308 | resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.1.11.tgz#0e8bdfe4d1ddb8854d64e04ea7c00e2a026e5658" 1309 | 1310 | growly@^1.3.0: 1311 | version "1.3.0" 1312 | resolved "https://registry.yarnpkg.com/growly/-/growly-1.3.0.tgz#f10748cbe76af964b7c96c93c6bcc28af120c081" 1313 | 1314 | handlebars@^4.0.3: 1315 | version "4.0.10" 1316 | resolved "https://registry.yarnpkg.com/handlebars/-/handlebars-4.0.10.tgz#3d30c718b09a3d96f23ea4cc1f403c4d3ba9ff4f" 1317 | dependencies: 1318 | async "^1.4.0" 1319 | optimist "^0.6.1" 1320 | source-map "^0.4.4" 1321 | optionalDependencies: 1322 | uglify-js "^2.6" 1323 | 1324 | har-schema@^1.0.5: 1325 | version "1.0.5" 1326 | resolved "https://registry.yarnpkg.com/har-schema/-/har-schema-1.0.5.tgz#d263135f43307c02c602afc8fe95970c0151369e" 1327 | 1328 | har-validator@~4.2.1: 1329 | version "4.2.1" 1330 | resolved "https://registry.yarnpkg.com/har-validator/-/har-validator-4.2.1.tgz#33481d0f1bbff600dd203d75812a6a5fba002e2a" 1331 | dependencies: 1332 | ajv "^4.9.1" 1333 | har-schema "^1.0.5" 1334 | 1335 | has-ansi@^2.0.0: 1336 | version "2.0.0" 1337 | resolved "https://registry.yarnpkg.com/has-ansi/-/has-ansi-2.0.0.tgz#34f5049ce1ecdf2b0649af3ef24e45ed35416d91" 1338 | dependencies: 1339 | ansi-regex "^2.0.0" 1340 | 1341 | has-flag@^1.0.0: 1342 | version "1.0.0" 1343 | resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-1.0.0.tgz#9d9e793165ce017a00f00418c43f942a7b1d11fa" 1344 | 1345 | has-unicode@^2.0.0: 1346 | version "2.0.1" 1347 | resolved "https://registry.yarnpkg.com/has-unicode/-/has-unicode-2.0.1.tgz#e0e6fe6a28cf51138855e086d1691e771de2a8b9" 1348 | 1349 | has@^1.0.1: 1350 | version "1.0.1" 1351 | resolved "https://registry.yarnpkg.com/has/-/has-1.0.1.tgz#8461733f538b0837c9361e39a9ab9e9704dc2f28" 1352 | dependencies: 1353 | function-bind "^1.0.2" 1354 | 1355 | hash-base@^2.0.0: 1356 | version "2.0.2" 1357 | resolved "https://registry.yarnpkg.com/hash-base/-/hash-base-2.0.2.tgz#66ea1d856db4e8a5470cadf6fce23ae5244ef2e1" 1358 | dependencies: 1359 | inherits "^2.0.1" 1360 | 1361 | hash.js@^1.0.0, hash.js@^1.0.3: 1362 | version "1.1.2" 1363 | resolved "https://registry.yarnpkg.com/hash.js/-/hash.js-1.1.2.tgz#bf5c887825cfe40b9efde7bf11bd2db26e6bf01b" 1364 | dependencies: 1365 | inherits "^2.0.3" 1366 | minimalistic-assert "^1.0.0" 1367 | 1368 | hawk@~3.1.3: 1369 | version "3.1.3" 1370 | resolved "https://registry.yarnpkg.com/hawk/-/hawk-3.1.3.tgz#078444bd7c1640b0fe540d2c9b73d59678e8e1c4" 1371 | dependencies: 1372 | boom "2.x.x" 1373 | cryptiles "2.x.x" 1374 | hoek "2.x.x" 1375 | sntp "1.x.x" 1376 | 1377 | hmac-drbg@^1.0.0: 1378 | version "1.0.1" 1379 | resolved "https://registry.yarnpkg.com/hmac-drbg/-/hmac-drbg-1.0.1.tgz#d2745701025a6c775a6c545793ed502fc0c649a1" 1380 | dependencies: 1381 | hash.js "^1.0.3" 1382 | minimalistic-assert "^1.0.0" 1383 | minimalistic-crypto-utils "^1.0.1" 1384 | 1385 | hoek@2.x.x: 1386 | version "2.16.3" 1387 | resolved "https://registry.yarnpkg.com/hoek/-/hoek-2.16.3.tgz#20bb7403d3cea398e91dc4710a8ff1b8274a25ed" 1388 | 1389 | home-or-tmp@^2.0.0: 1390 | version "2.0.0" 1391 | resolved "https://registry.yarnpkg.com/home-or-tmp/-/home-or-tmp-2.0.0.tgz#e36c3f2d2cae7d746a857e38d18d5f32a7882db8" 1392 | dependencies: 1393 | os-homedir "^1.0.0" 1394 | os-tmpdir "^1.0.1" 1395 | 1396 | hosted-git-info@^2.1.4: 1397 | version "2.5.0" 1398 | resolved "https://registry.yarnpkg.com/hosted-git-info/-/hosted-git-info-2.5.0.tgz#6d60e34b3abbc8313062c3b798ef8d901a07af3c" 1399 | 1400 | html-encoding-sniffer@^1.0.1: 1401 | version "1.0.1" 1402 | resolved "https://registry.yarnpkg.com/html-encoding-sniffer/-/html-encoding-sniffer-1.0.1.tgz#79bf7a785ea495fe66165e734153f363ff5437da" 1403 | dependencies: 1404 | whatwg-encoding "^1.0.1" 1405 | 1406 | http-signature@~1.1.0: 1407 | version "1.1.1" 1408 | resolved "https://registry.yarnpkg.com/http-signature/-/http-signature-1.1.1.tgz#df72e267066cd0ac67fb76adf8e134a8fbcf91bf" 1409 | dependencies: 1410 | assert-plus "^0.2.0" 1411 | jsprim "^1.2.2" 1412 | sshpk "^1.7.0" 1413 | 1414 | https-browserify@0.0.1: 1415 | version "0.0.1" 1416 | resolved "https://registry.yarnpkg.com/https-browserify/-/https-browserify-0.0.1.tgz#3f91365cabe60b77ed0ebba24b454e3e09d95a82" 1417 | 1418 | iconv-lite@0.4.13: 1419 | version "0.4.13" 1420 | resolved "https://registry.yarnpkg.com/iconv-lite/-/iconv-lite-0.4.13.tgz#1f88aba4ab0b1508e8312acc39345f36e992e2f2" 1421 | 1422 | iconv-lite@^0.4.17: 1423 | version "0.4.18" 1424 | resolved "https://registry.yarnpkg.com/iconv-lite/-/iconv-lite-0.4.18.tgz#23d8656b16aae6742ac29732ea8f0336a4789cf2" 1425 | 1426 | ieee754@^1.1.4: 1427 | version "1.1.8" 1428 | resolved "https://registry.yarnpkg.com/ieee754/-/ieee754-1.1.8.tgz#be33d40ac10ef1926701f6f08a2d86fbfd1ad3e4" 1429 | 1430 | ignore@^3.3.3: 1431 | version "3.3.3" 1432 | resolved "https://registry.yarnpkg.com/ignore/-/ignore-3.3.3.tgz#432352e57accd87ab3110e82d3fea0e47812156d" 1433 | 1434 | imurmurhash@^0.1.4: 1435 | version "0.1.4" 1436 | resolved "https://registry.yarnpkg.com/imurmurhash/-/imurmurhash-0.1.4.tgz#9218b9b2b928a238b13dc4fb6b6d576f231453ea" 1437 | 1438 | indexof@0.0.1: 1439 | version "0.0.1" 1440 | resolved "https://registry.yarnpkg.com/indexof/-/indexof-0.0.1.tgz#82dc336d232b9062179d05ab3293a66059fd435d" 1441 | 1442 | inflight@^1.0.4: 1443 | version "1.0.6" 1444 | resolved "https://registry.yarnpkg.com/inflight/-/inflight-1.0.6.tgz#49bd6331d7d02d0c09bc910a1075ba8165b56df9" 1445 | dependencies: 1446 | once "^1.3.0" 1447 | wrappy "1" 1448 | 1449 | inherits@2, inherits@^2.0.1, inherits@^2.0.3, inherits@~2.0.0, inherits@~2.0.1, inherits@~2.0.3: 1450 | version "2.0.3" 1451 | resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.3.tgz#633c2c83e3da42a502f52466022480f4208261de" 1452 | 1453 | inherits@2.0.1: 1454 | version "2.0.1" 1455 | resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.1.tgz#b17d08d326b4423e568eff719f91b0b1cbdf69f1" 1456 | 1457 | ini@~1.3.0: 1458 | version "1.3.4" 1459 | resolved "https://registry.yarnpkg.com/ini/-/ini-1.3.4.tgz#0537cb79daf59b59a1a517dff706c86ec039162e" 1460 | 1461 | inquirer@^3.0.6: 1462 | version "3.1.1" 1463 | resolved "https://registry.yarnpkg.com/inquirer/-/inquirer-3.1.1.tgz#87621c4fba4072f48a8dd71c9f9df6f100b2d534" 1464 | dependencies: 1465 | ansi-escapes "^2.0.0" 1466 | chalk "^1.0.0" 1467 | cli-cursor "^2.1.0" 1468 | cli-width "^2.0.0" 1469 | external-editor "^2.0.4" 1470 | figures "^2.0.0" 1471 | lodash "^4.3.0" 1472 | mute-stream "0.0.7" 1473 | run-async "^2.2.0" 1474 | rx-lite "^4.0.8" 1475 | rx-lite-aggregates "^4.0.8" 1476 | string-width "^2.0.0" 1477 | strip-ansi "^3.0.0" 1478 | through "^2.3.6" 1479 | 1480 | interpret@^1.0.0: 1481 | version "1.0.3" 1482 | resolved "https://registry.yarnpkg.com/interpret/-/interpret-1.0.3.tgz#cbc35c62eeee73f19ab7b10a801511401afc0f90" 1483 | 1484 | invariant@^2.2.0: 1485 | version "2.2.2" 1486 | resolved "https://registry.yarnpkg.com/invariant/-/invariant-2.2.2.tgz#9e1f56ac0acdb6bf303306f338be3b204ae60360" 1487 | dependencies: 1488 | loose-envify "^1.0.0" 1489 | 1490 | invert-kv@^1.0.0: 1491 | version "1.0.0" 1492 | resolved "https://registry.yarnpkg.com/invert-kv/-/invert-kv-1.0.0.tgz#104a8e4aaca6d3d8cd157a8ef8bfab2d7a3ffdb6" 1493 | 1494 | is-arrayish@^0.2.1: 1495 | version "0.2.1" 1496 | resolved "https://registry.yarnpkg.com/is-arrayish/-/is-arrayish-0.2.1.tgz#77c99840527aa8ecb1a8ba697b80645a7a926a9d" 1497 | 1498 | is-binary-path@^1.0.0: 1499 | version "1.0.1" 1500 | resolved "https://registry.yarnpkg.com/is-binary-path/-/is-binary-path-1.0.1.tgz#75f16642b480f187a711c814161fd3a4a7655898" 1501 | dependencies: 1502 | binary-extensions "^1.0.0" 1503 | 1504 | is-buffer@^1.1.5: 1505 | version "1.1.5" 1506 | resolved "https://registry.yarnpkg.com/is-buffer/-/is-buffer-1.1.5.tgz#1f3b26ef613b214b88cbca23cc6c01d87961eecc" 1507 | 1508 | is-builtin-module@^1.0.0: 1509 | version "1.0.0" 1510 | resolved "https://registry.yarnpkg.com/is-builtin-module/-/is-builtin-module-1.0.0.tgz#540572d34f7ac3119f8f76c30cbc1b1e037affbe" 1511 | dependencies: 1512 | builtin-modules "^1.0.0" 1513 | 1514 | is-callable@^1.1.1, is-callable@^1.1.3: 1515 | version "1.1.3" 1516 | resolved "https://registry.yarnpkg.com/is-callable/-/is-callable-1.1.3.tgz#86eb75392805ddc33af71c92a0eedf74ee7604b2" 1517 | 1518 | is-ci@^1.0.10: 1519 | version "1.0.10" 1520 | resolved "https://registry.yarnpkg.com/is-ci/-/is-ci-1.0.10.tgz#f739336b2632365061a9d48270cd56ae3369318e" 1521 | dependencies: 1522 | ci-info "^1.0.0" 1523 | 1524 | is-date-object@^1.0.1: 1525 | version "1.0.1" 1526 | resolved "https://registry.yarnpkg.com/is-date-object/-/is-date-object-1.0.1.tgz#9aa20eb6aeebbff77fbd33e74ca01b33581d3a16" 1527 | 1528 | is-dotfile@^1.0.0: 1529 | version "1.0.3" 1530 | resolved "https://registry.yarnpkg.com/is-dotfile/-/is-dotfile-1.0.3.tgz#a6a2f32ffd2dfb04f5ca25ecd0f6b83cf798a1e1" 1531 | 1532 | is-equal-shallow@^0.1.3: 1533 | version "0.1.3" 1534 | resolved "https://registry.yarnpkg.com/is-equal-shallow/-/is-equal-shallow-0.1.3.tgz#2238098fc221de0bcfa5d9eac4c45d638aa1c534" 1535 | dependencies: 1536 | is-primitive "^2.0.0" 1537 | 1538 | is-extendable@^0.1.1: 1539 | version "0.1.1" 1540 | resolved "https://registry.yarnpkg.com/is-extendable/-/is-extendable-0.1.1.tgz#62b110e289a471418e3ec36a617d472e301dfc89" 1541 | 1542 | is-extglob@^1.0.0: 1543 | version "1.0.0" 1544 | resolved "https://registry.yarnpkg.com/is-extglob/-/is-extglob-1.0.0.tgz#ac468177c4943405a092fc8f29760c6ffc6206c0" 1545 | 1546 | is-finite@^1.0.0: 1547 | version "1.0.2" 1548 | resolved "https://registry.yarnpkg.com/is-finite/-/is-finite-1.0.2.tgz#cc6677695602be550ef11e8b4aa6305342b6d0aa" 1549 | dependencies: 1550 | number-is-nan "^1.0.0" 1551 | 1552 | is-fullwidth-code-point@^1.0.0: 1553 | version "1.0.0" 1554 | resolved "https://registry.yarnpkg.com/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz#ef9e31386f031a7f0d643af82fde50c457ef00cb" 1555 | dependencies: 1556 | number-is-nan "^1.0.0" 1557 | 1558 | is-fullwidth-code-point@^2.0.0: 1559 | version "2.0.0" 1560 | resolved "https://registry.yarnpkg.com/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz#a3b30a5c4f199183167aaab93beefae3ddfb654f" 1561 | 1562 | is-glob@^2.0.0, is-glob@^2.0.1: 1563 | version "2.0.1" 1564 | resolved "https://registry.yarnpkg.com/is-glob/-/is-glob-2.0.1.tgz#d096f926a3ded5600f3fdfd91198cb0888c2d863" 1565 | dependencies: 1566 | is-extglob "^1.0.0" 1567 | 1568 | is-number@^2.1.0: 1569 | version "2.1.0" 1570 | resolved "https://registry.yarnpkg.com/is-number/-/is-number-2.1.0.tgz#01fcbbb393463a548f2f466cce16dece49db908f" 1571 | dependencies: 1572 | kind-of "^3.0.2" 1573 | 1574 | is-number@^3.0.0: 1575 | version "3.0.0" 1576 | resolved "https://registry.yarnpkg.com/is-number/-/is-number-3.0.0.tgz#24fd6201a4782cf50561c810276afc7d12d71195" 1577 | dependencies: 1578 | kind-of "^3.0.2" 1579 | 1580 | is-path-cwd@^1.0.0: 1581 | version "1.0.0" 1582 | resolved "https://registry.yarnpkg.com/is-path-cwd/-/is-path-cwd-1.0.0.tgz#d225ec23132e89edd38fda767472e62e65f1106d" 1583 | 1584 | is-path-in-cwd@^1.0.0: 1585 | version "1.0.0" 1586 | resolved "https://registry.yarnpkg.com/is-path-in-cwd/-/is-path-in-cwd-1.0.0.tgz#6477582b8214d602346094567003be8a9eac04dc" 1587 | dependencies: 1588 | is-path-inside "^1.0.0" 1589 | 1590 | is-path-inside@^1.0.0: 1591 | version "1.0.0" 1592 | resolved "https://registry.yarnpkg.com/is-path-inside/-/is-path-inside-1.0.0.tgz#fc06e5a1683fbda13de667aff717bbc10a48f37f" 1593 | dependencies: 1594 | path-is-inside "^1.0.1" 1595 | 1596 | is-posix-bracket@^0.1.0: 1597 | version "0.1.1" 1598 | resolved "https://registry.yarnpkg.com/is-posix-bracket/-/is-posix-bracket-0.1.1.tgz#3334dc79774368e92f016e6fbc0a88f5cd6e6bc4" 1599 | 1600 | is-primitive@^2.0.0: 1601 | version "2.0.0" 1602 | resolved "https://registry.yarnpkg.com/is-primitive/-/is-primitive-2.0.0.tgz#207bab91638499c07b2adf240a41a87210034575" 1603 | 1604 | is-promise@^2.1.0: 1605 | version "2.1.0" 1606 | resolved "https://registry.yarnpkg.com/is-promise/-/is-promise-2.1.0.tgz#79a2a9ece7f096e80f36d2b2f3bc16c1ff4bf3fa" 1607 | 1608 | is-regex@^1.0.3: 1609 | version "1.0.4" 1610 | resolved "https://registry.yarnpkg.com/is-regex/-/is-regex-1.0.4.tgz#5517489b547091b0930e095654ced25ee97e9491" 1611 | dependencies: 1612 | has "^1.0.1" 1613 | 1614 | is-resolvable@^1.0.0: 1615 | version "1.0.0" 1616 | resolved "https://registry.yarnpkg.com/is-resolvable/-/is-resolvable-1.0.0.tgz#8df57c61ea2e3c501408d100fb013cf8d6e0cc62" 1617 | dependencies: 1618 | tryit "^1.0.1" 1619 | 1620 | is-symbol@^1.0.1: 1621 | version "1.0.1" 1622 | resolved "https://registry.yarnpkg.com/is-symbol/-/is-symbol-1.0.1.tgz#3cc59f00025194b6ab2e38dbae6689256b660572" 1623 | 1624 | is-typedarray@~1.0.0: 1625 | version "1.0.0" 1626 | resolved "https://registry.yarnpkg.com/is-typedarray/-/is-typedarray-1.0.0.tgz#e479c80858df0c1b11ddda6940f96011fcda4a9a" 1627 | 1628 | is-utf8@^0.2.0: 1629 | version "0.2.1" 1630 | resolved "https://registry.yarnpkg.com/is-utf8/-/is-utf8-0.2.1.tgz#4b0da1442104d1b336340e80797e865cf39f7d72" 1631 | 1632 | isarray@1.0.0, isarray@^1.0.0, isarray@~1.0.0: 1633 | version "1.0.0" 1634 | resolved "https://registry.yarnpkg.com/isarray/-/isarray-1.0.0.tgz#bb935d48582cba168c06834957a54a3e07124f11" 1635 | 1636 | isexe@^2.0.0: 1637 | version "2.0.0" 1638 | resolved "https://registry.yarnpkg.com/isexe/-/isexe-2.0.0.tgz#e8fbf374dc556ff8947a10dcb0572d633f2cfa10" 1639 | 1640 | isobject@^2.0.0: 1641 | version "2.1.0" 1642 | resolved "https://registry.yarnpkg.com/isobject/-/isobject-2.1.0.tgz#f065561096a3f1da2ef46272f815c840d87e0c89" 1643 | dependencies: 1644 | isarray "1.0.0" 1645 | 1646 | isstream@~0.1.2: 1647 | version "0.1.2" 1648 | resolved "https://registry.yarnpkg.com/isstream/-/isstream-0.1.2.tgz#47e63f7af55afa6f92e1500e690eb8b8529c099a" 1649 | 1650 | istanbul-api@^1.1.1: 1651 | version "1.1.10" 1652 | resolved "https://registry.yarnpkg.com/istanbul-api/-/istanbul-api-1.1.10.tgz#f27e5e7125c8de13f6a80661af78f512e5439b2b" 1653 | dependencies: 1654 | async "^2.1.4" 1655 | fileset "^2.0.2" 1656 | istanbul-lib-coverage "^1.1.1" 1657 | istanbul-lib-hook "^1.0.7" 1658 | istanbul-lib-instrument "^1.7.3" 1659 | istanbul-lib-report "^1.1.1" 1660 | istanbul-lib-source-maps "^1.2.1" 1661 | istanbul-reports "^1.1.1" 1662 | js-yaml "^3.7.0" 1663 | mkdirp "^0.5.1" 1664 | once "^1.4.0" 1665 | 1666 | istanbul-lib-coverage@^1.0.1, istanbul-lib-coverage@^1.1.1: 1667 | version "1.1.1" 1668 | resolved "https://registry.yarnpkg.com/istanbul-lib-coverage/-/istanbul-lib-coverage-1.1.1.tgz#73bfb998885299415c93d38a3e9adf784a77a9da" 1669 | 1670 | istanbul-lib-hook@^1.0.7: 1671 | version "1.0.7" 1672 | resolved "https://registry.yarnpkg.com/istanbul-lib-hook/-/istanbul-lib-hook-1.0.7.tgz#dd6607f03076578fe7d6f2a630cf143b49bacddc" 1673 | dependencies: 1674 | append-transform "^0.4.0" 1675 | 1676 | istanbul-lib-instrument@^1.4.2, istanbul-lib-instrument@^1.7.2, istanbul-lib-instrument@^1.7.3: 1677 | version "1.7.3" 1678 | resolved "https://registry.yarnpkg.com/istanbul-lib-instrument/-/istanbul-lib-instrument-1.7.3.tgz#925b239163eabdd68cc4048f52c2fa4f899ecfa7" 1679 | dependencies: 1680 | babel-generator "^6.18.0" 1681 | babel-template "^6.16.0" 1682 | babel-traverse "^6.18.0" 1683 | babel-types "^6.18.0" 1684 | babylon "^6.17.4" 1685 | istanbul-lib-coverage "^1.1.1" 1686 | semver "^5.3.0" 1687 | 1688 | istanbul-lib-report@^1.1.1: 1689 | version "1.1.1" 1690 | resolved "https://registry.yarnpkg.com/istanbul-lib-report/-/istanbul-lib-report-1.1.1.tgz#f0e55f56655ffa34222080b7a0cd4760e1405fc9" 1691 | dependencies: 1692 | istanbul-lib-coverage "^1.1.1" 1693 | mkdirp "^0.5.1" 1694 | path-parse "^1.0.5" 1695 | supports-color "^3.1.2" 1696 | 1697 | istanbul-lib-source-maps@^1.1.0, istanbul-lib-source-maps@^1.2.1: 1698 | version "1.2.1" 1699 | resolved "https://registry.yarnpkg.com/istanbul-lib-source-maps/-/istanbul-lib-source-maps-1.2.1.tgz#a6fe1acba8ce08eebc638e572e294d267008aa0c" 1700 | dependencies: 1701 | debug "^2.6.3" 1702 | istanbul-lib-coverage "^1.1.1" 1703 | mkdirp "^0.5.1" 1704 | rimraf "^2.6.1" 1705 | source-map "^0.5.3" 1706 | 1707 | istanbul-reports@^1.1.1: 1708 | version "1.1.1" 1709 | resolved "https://registry.yarnpkg.com/istanbul-reports/-/istanbul-reports-1.1.1.tgz#042be5c89e175bc3f86523caab29c014e77fee4e" 1710 | dependencies: 1711 | handlebars "^4.0.3" 1712 | 1713 | jest-changed-files@^20.0.3: 1714 | version "20.0.3" 1715 | resolved "https://registry.yarnpkg.com/jest-changed-files/-/jest-changed-files-20.0.3.tgz#9394d5cc65c438406149bef1bf4d52b68e03e3f8" 1716 | 1717 | jest-cli@^20.0.4: 1718 | version "20.0.4" 1719 | resolved "https://registry.yarnpkg.com/jest-cli/-/jest-cli-20.0.4.tgz#e532b19d88ae5bc6c417e8b0593a6fe954b1dc93" 1720 | dependencies: 1721 | ansi-escapes "^1.4.0" 1722 | callsites "^2.0.0" 1723 | chalk "^1.1.3" 1724 | graceful-fs "^4.1.11" 1725 | is-ci "^1.0.10" 1726 | istanbul-api "^1.1.1" 1727 | istanbul-lib-coverage "^1.0.1" 1728 | istanbul-lib-instrument "^1.4.2" 1729 | istanbul-lib-source-maps "^1.1.0" 1730 | jest-changed-files "^20.0.3" 1731 | jest-config "^20.0.4" 1732 | jest-docblock "^20.0.3" 1733 | jest-environment-jsdom "^20.0.3" 1734 | jest-haste-map "^20.0.4" 1735 | jest-jasmine2 "^20.0.4" 1736 | jest-message-util "^20.0.3" 1737 | jest-regex-util "^20.0.3" 1738 | jest-resolve-dependencies "^20.0.3" 1739 | jest-runtime "^20.0.4" 1740 | jest-snapshot "^20.0.3" 1741 | jest-util "^20.0.3" 1742 | micromatch "^2.3.11" 1743 | node-notifier "^5.0.2" 1744 | pify "^2.3.0" 1745 | slash "^1.0.0" 1746 | string-length "^1.0.1" 1747 | throat "^3.0.0" 1748 | which "^1.2.12" 1749 | worker-farm "^1.3.1" 1750 | yargs "^7.0.2" 1751 | 1752 | jest-config@^20.0.4: 1753 | version "20.0.4" 1754 | resolved "https://registry.yarnpkg.com/jest-config/-/jest-config-20.0.4.tgz#e37930ab2217c913605eff13e7bd763ec48faeea" 1755 | dependencies: 1756 | chalk "^1.1.3" 1757 | glob "^7.1.1" 1758 | jest-environment-jsdom "^20.0.3" 1759 | jest-environment-node "^20.0.3" 1760 | jest-jasmine2 "^20.0.4" 1761 | jest-matcher-utils "^20.0.3" 1762 | jest-regex-util "^20.0.3" 1763 | jest-resolve "^20.0.4" 1764 | jest-validate "^20.0.3" 1765 | pretty-format "^20.0.3" 1766 | 1767 | jest-diff@^20.0.3: 1768 | version "20.0.3" 1769 | resolved "https://registry.yarnpkg.com/jest-diff/-/jest-diff-20.0.3.tgz#81f288fd9e675f0fb23c75f1c2b19445fe586617" 1770 | dependencies: 1771 | chalk "^1.1.3" 1772 | diff "^3.2.0" 1773 | jest-matcher-utils "^20.0.3" 1774 | pretty-format "^20.0.3" 1775 | 1776 | jest-docblock@^20.0.3: 1777 | version "20.0.3" 1778 | resolved "https://registry.yarnpkg.com/jest-docblock/-/jest-docblock-20.0.3.tgz#17bea984342cc33d83c50fbe1545ea0efaa44712" 1779 | 1780 | jest-environment-jsdom@^20.0.3: 1781 | version "20.0.3" 1782 | resolved "https://registry.yarnpkg.com/jest-environment-jsdom/-/jest-environment-jsdom-20.0.3.tgz#048a8ac12ee225f7190417713834bb999787de99" 1783 | dependencies: 1784 | jest-mock "^20.0.3" 1785 | jest-util "^20.0.3" 1786 | jsdom "^9.12.0" 1787 | 1788 | jest-environment-node@^20.0.3: 1789 | version "20.0.3" 1790 | resolved "https://registry.yarnpkg.com/jest-environment-node/-/jest-environment-node-20.0.3.tgz#d488bc4612af2c246e986e8ae7671a099163d403" 1791 | dependencies: 1792 | jest-mock "^20.0.3" 1793 | jest-util "^20.0.3" 1794 | 1795 | jest-haste-map@^20.0.4: 1796 | version "20.0.4" 1797 | resolved "https://registry.yarnpkg.com/jest-haste-map/-/jest-haste-map-20.0.4.tgz#653eb55c889ce3c021f7b94693f20a4159badf03" 1798 | dependencies: 1799 | fb-watchman "^2.0.0" 1800 | graceful-fs "^4.1.11" 1801 | jest-docblock "^20.0.3" 1802 | micromatch "^2.3.11" 1803 | sane "~1.6.0" 1804 | worker-farm "^1.3.1" 1805 | 1806 | jest-jasmine2@^20.0.4: 1807 | version "20.0.4" 1808 | resolved "https://registry.yarnpkg.com/jest-jasmine2/-/jest-jasmine2-20.0.4.tgz#fcc5b1411780d911d042902ef1859e852e60d5e1" 1809 | dependencies: 1810 | chalk "^1.1.3" 1811 | graceful-fs "^4.1.11" 1812 | jest-diff "^20.0.3" 1813 | jest-matcher-utils "^20.0.3" 1814 | jest-matchers "^20.0.3" 1815 | jest-message-util "^20.0.3" 1816 | jest-snapshot "^20.0.3" 1817 | once "^1.4.0" 1818 | p-map "^1.1.1" 1819 | 1820 | jest-matcher-utils@^20.0.3: 1821 | version "20.0.3" 1822 | resolved "https://registry.yarnpkg.com/jest-matcher-utils/-/jest-matcher-utils-20.0.3.tgz#b3a6b8e37ca577803b0832a98b164f44b7815612" 1823 | dependencies: 1824 | chalk "^1.1.3" 1825 | pretty-format "^20.0.3" 1826 | 1827 | jest-matchers@^20.0.3: 1828 | version "20.0.3" 1829 | resolved "https://registry.yarnpkg.com/jest-matchers/-/jest-matchers-20.0.3.tgz#ca69db1c32db5a6f707fa5e0401abb55700dfd60" 1830 | dependencies: 1831 | jest-diff "^20.0.3" 1832 | jest-matcher-utils "^20.0.3" 1833 | jest-message-util "^20.0.3" 1834 | jest-regex-util "^20.0.3" 1835 | 1836 | jest-message-util@^20.0.3: 1837 | version "20.0.3" 1838 | resolved "https://registry.yarnpkg.com/jest-message-util/-/jest-message-util-20.0.3.tgz#6aec2844306fcb0e6e74d5796c1006d96fdd831c" 1839 | dependencies: 1840 | chalk "^1.1.3" 1841 | micromatch "^2.3.11" 1842 | slash "^1.0.0" 1843 | 1844 | jest-mock@^20.0.3: 1845 | version "20.0.3" 1846 | resolved "https://registry.yarnpkg.com/jest-mock/-/jest-mock-20.0.3.tgz#8bc070e90414aa155c11a8d64c869a0d5c71da59" 1847 | 1848 | jest-regex-util@^20.0.3: 1849 | version "20.0.3" 1850 | resolved "https://registry.yarnpkg.com/jest-regex-util/-/jest-regex-util-20.0.3.tgz#85bbab5d133e44625b19faf8c6aa5122d085d762" 1851 | 1852 | jest-resolve-dependencies@^20.0.3: 1853 | version "20.0.3" 1854 | resolved "https://registry.yarnpkg.com/jest-resolve-dependencies/-/jest-resolve-dependencies-20.0.3.tgz#6e14a7b717af0f2cb3667c549de40af017b1723a" 1855 | dependencies: 1856 | jest-regex-util "^20.0.3" 1857 | 1858 | jest-resolve@^20.0.4: 1859 | version "20.0.4" 1860 | resolved "https://registry.yarnpkg.com/jest-resolve/-/jest-resolve-20.0.4.tgz#9448b3e8b6bafc15479444c6499045b7ffe597a5" 1861 | dependencies: 1862 | browser-resolve "^1.11.2" 1863 | is-builtin-module "^1.0.0" 1864 | resolve "^1.3.2" 1865 | 1866 | jest-runtime@^20.0.4: 1867 | version "20.0.4" 1868 | resolved "https://registry.yarnpkg.com/jest-runtime/-/jest-runtime-20.0.4.tgz#a2c802219c4203f754df1404e490186169d124d8" 1869 | dependencies: 1870 | babel-core "^6.0.0" 1871 | babel-jest "^20.0.3" 1872 | babel-plugin-istanbul "^4.0.0" 1873 | chalk "^1.1.3" 1874 | convert-source-map "^1.4.0" 1875 | graceful-fs "^4.1.11" 1876 | jest-config "^20.0.4" 1877 | jest-haste-map "^20.0.4" 1878 | jest-regex-util "^20.0.3" 1879 | jest-resolve "^20.0.4" 1880 | jest-util "^20.0.3" 1881 | json-stable-stringify "^1.0.1" 1882 | micromatch "^2.3.11" 1883 | strip-bom "3.0.0" 1884 | yargs "^7.0.2" 1885 | 1886 | jest-snapshot@^20.0.3: 1887 | version "20.0.3" 1888 | resolved "https://registry.yarnpkg.com/jest-snapshot/-/jest-snapshot-20.0.3.tgz#5b847e1adb1a4d90852a7f9f125086e187c76566" 1889 | dependencies: 1890 | chalk "^1.1.3" 1891 | jest-diff "^20.0.3" 1892 | jest-matcher-utils "^20.0.3" 1893 | jest-util "^20.0.3" 1894 | natural-compare "^1.4.0" 1895 | pretty-format "^20.0.3" 1896 | 1897 | jest-util@^20.0.3: 1898 | version "20.0.3" 1899 | resolved "https://registry.yarnpkg.com/jest-util/-/jest-util-20.0.3.tgz#0c07f7d80d82f4e5a67c6f8b9c3fe7f65cfd32ad" 1900 | dependencies: 1901 | chalk "^1.1.3" 1902 | graceful-fs "^4.1.11" 1903 | jest-message-util "^20.0.3" 1904 | jest-mock "^20.0.3" 1905 | jest-validate "^20.0.3" 1906 | leven "^2.1.0" 1907 | mkdirp "^0.5.1" 1908 | 1909 | jest-validate@^20.0.3: 1910 | version "20.0.3" 1911 | resolved "https://registry.yarnpkg.com/jest-validate/-/jest-validate-20.0.3.tgz#d0cfd1de4f579f298484925c280f8f1d94ec3cab" 1912 | dependencies: 1913 | chalk "^1.1.3" 1914 | jest-matcher-utils "^20.0.3" 1915 | leven "^2.1.0" 1916 | pretty-format "^20.0.3" 1917 | 1918 | jest@^20.0.4: 1919 | version "20.0.4" 1920 | resolved "https://registry.yarnpkg.com/jest/-/jest-20.0.4.tgz#3dd260c2989d6dad678b1e9cc4d91944f6d602ac" 1921 | dependencies: 1922 | jest-cli "^20.0.4" 1923 | 1924 | js-tokens@^3.0.0: 1925 | version "3.0.2" 1926 | resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-3.0.2.tgz#9866df395102130e38f7f996bceb65443209c25b" 1927 | 1928 | js-yaml@^3.7.0, js-yaml@^3.8.4: 1929 | version "3.8.4" 1930 | resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-3.8.4.tgz#520b4564f86573ba96662af85a8cafa7b4b5a6f6" 1931 | dependencies: 1932 | argparse "^1.0.7" 1933 | esprima "^3.1.1" 1934 | 1935 | jsbn@~0.1.0: 1936 | version "0.1.1" 1937 | resolved "https://registry.yarnpkg.com/jsbn/-/jsbn-0.1.1.tgz#a5e654c2e5a2deb5f201d96cefbca80c0ef2f513" 1938 | 1939 | jschardet@^1.4.2: 1940 | version "1.4.2" 1941 | resolved "https://registry.yarnpkg.com/jschardet/-/jschardet-1.4.2.tgz#2aa107f142af4121d145659d44f50830961e699a" 1942 | 1943 | jsdom@^9.12.0: 1944 | version "9.12.0" 1945 | resolved "https://registry.yarnpkg.com/jsdom/-/jsdom-9.12.0.tgz#e8c546fffcb06c00d4833ca84410fed7f8a097d4" 1946 | dependencies: 1947 | abab "^1.0.3" 1948 | acorn "^4.0.4" 1949 | acorn-globals "^3.1.0" 1950 | array-equal "^1.0.0" 1951 | content-type-parser "^1.0.1" 1952 | cssom ">= 0.3.2 < 0.4.0" 1953 | cssstyle ">= 0.2.37 < 0.3.0" 1954 | escodegen "^1.6.1" 1955 | html-encoding-sniffer "^1.0.1" 1956 | nwmatcher ">= 1.3.9 < 2.0.0" 1957 | parse5 "^1.5.1" 1958 | request "^2.79.0" 1959 | sax "^1.2.1" 1960 | symbol-tree "^3.2.1" 1961 | tough-cookie "^2.3.2" 1962 | webidl-conversions "^4.0.0" 1963 | whatwg-encoding "^1.0.1" 1964 | whatwg-url "^4.3.0" 1965 | xml-name-validator "^2.0.1" 1966 | 1967 | jsesc@^1.3.0: 1968 | version "1.3.0" 1969 | resolved "https://registry.yarnpkg.com/jsesc/-/jsesc-1.3.0.tgz#46c3fec8c1892b12b0833db9bc7622176dbab34b" 1970 | 1971 | json-loader@^0.5.4: 1972 | version "0.5.4" 1973 | resolved "https://registry.yarnpkg.com/json-loader/-/json-loader-0.5.4.tgz#8baa1365a632f58a3c46d20175fc6002c96e37de" 1974 | 1975 | json-schema-traverse@^0.3.0: 1976 | version "0.3.1" 1977 | resolved "https://registry.yarnpkg.com/json-schema-traverse/-/json-schema-traverse-0.3.1.tgz#349a6d44c53a51de89b40805c5d5e59b417d3340" 1978 | 1979 | json-schema@0.2.3: 1980 | version "0.2.3" 1981 | resolved "https://registry.yarnpkg.com/json-schema/-/json-schema-0.2.3.tgz#b480c892e59a2f05954ce727bd3f2a4e882f9e13" 1982 | 1983 | json-stable-stringify@^1.0.1: 1984 | version "1.0.1" 1985 | resolved "https://registry.yarnpkg.com/json-stable-stringify/-/json-stable-stringify-1.0.1.tgz#9a759d39c5f2ff503fd5300646ed445f88c4f9af" 1986 | dependencies: 1987 | jsonify "~0.0.0" 1988 | 1989 | json-stringify-safe@~5.0.1: 1990 | version "5.0.1" 1991 | resolved "https://registry.yarnpkg.com/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz#1296a2d58fd45f19a0f6ce01d65701e2c735b6eb" 1992 | 1993 | json5@^0.5.0, json5@^0.5.1: 1994 | version "0.5.1" 1995 | resolved "https://registry.yarnpkg.com/json5/-/json5-0.5.1.tgz#1eade7acc012034ad84e2396767ead9fa5495821" 1996 | 1997 | jsonify@~0.0.0: 1998 | version "0.0.0" 1999 | resolved "https://registry.yarnpkg.com/jsonify/-/jsonify-0.0.0.tgz#2c74b6ee41d93ca51b7b5aaee8f503631d252a73" 2000 | 2001 | jsprim@^1.2.2: 2002 | version "1.4.0" 2003 | resolved "https://registry.yarnpkg.com/jsprim/-/jsprim-1.4.0.tgz#a3b87e40298d8c380552d8cc7628a0bb95a22918" 2004 | dependencies: 2005 | assert-plus "1.0.0" 2006 | extsprintf "1.0.2" 2007 | json-schema "0.2.3" 2008 | verror "1.3.6" 2009 | 2010 | jsx-ast-utils@^1.4.1: 2011 | version "1.4.1" 2012 | resolved "https://registry.yarnpkg.com/jsx-ast-utils/-/jsx-ast-utils-1.4.1.tgz#3867213e8dd79bf1e8f2300c0cfc1efb182c0df1" 2013 | 2014 | kind-of@^3.0.2: 2015 | version "3.2.2" 2016 | resolved "https://registry.yarnpkg.com/kind-of/-/kind-of-3.2.2.tgz#31ea21a734bab9bbb0f32466d893aea51e4a3c64" 2017 | dependencies: 2018 | is-buffer "^1.1.5" 2019 | 2020 | kind-of@^4.0.0: 2021 | version "4.0.0" 2022 | resolved "https://registry.yarnpkg.com/kind-of/-/kind-of-4.0.0.tgz#20813df3d712928b207378691a45066fae72dd57" 2023 | dependencies: 2024 | is-buffer "^1.1.5" 2025 | 2026 | lazy-cache@^1.0.3: 2027 | version "1.0.4" 2028 | resolved "https://registry.yarnpkg.com/lazy-cache/-/lazy-cache-1.0.4.tgz#a1d78fc3a50474cb80845d3b3b6e1da49a446e8e" 2029 | 2030 | lcid@^1.0.0: 2031 | version "1.0.0" 2032 | resolved "https://registry.yarnpkg.com/lcid/-/lcid-1.0.0.tgz#308accafa0bc483a3867b4b6f2b9506251d1b835" 2033 | dependencies: 2034 | invert-kv "^1.0.0" 2035 | 2036 | leven@^2.1.0: 2037 | version "2.1.0" 2038 | resolved "https://registry.yarnpkg.com/leven/-/leven-2.1.0.tgz#c2e7a9f772094dee9d34202ae8acce4687875580" 2039 | 2040 | levn@^0.3.0, levn@~0.3.0: 2041 | version "0.3.0" 2042 | resolved "https://registry.yarnpkg.com/levn/-/levn-0.3.0.tgz#3b09924edf9f083c0490fdd4c0bc4421e04764ee" 2043 | dependencies: 2044 | prelude-ls "~1.1.2" 2045 | type-check "~0.3.2" 2046 | 2047 | load-json-file@^1.0.0: 2048 | version "1.1.0" 2049 | resolved "https://registry.yarnpkg.com/load-json-file/-/load-json-file-1.1.0.tgz#956905708d58b4bab4c2261b04f59f31c99374c0" 2050 | dependencies: 2051 | graceful-fs "^4.1.2" 2052 | parse-json "^2.2.0" 2053 | pify "^2.0.0" 2054 | pinkie-promise "^2.0.0" 2055 | strip-bom "^2.0.0" 2056 | 2057 | loader-runner@^2.3.0: 2058 | version "2.3.0" 2059 | resolved "https://registry.yarnpkg.com/loader-runner/-/loader-runner-2.3.0.tgz#f482aea82d543e07921700d5a46ef26fdac6b8a2" 2060 | 2061 | loader-utils@^0.2.16: 2062 | version "0.2.17" 2063 | resolved "https://registry.yarnpkg.com/loader-utils/-/loader-utils-0.2.17.tgz#f86e6374d43205a6e6c60e9196f17c0299bfb348" 2064 | dependencies: 2065 | big.js "^3.1.3" 2066 | emojis-list "^2.0.0" 2067 | json5 "^0.5.0" 2068 | object-assign "^4.0.1" 2069 | 2070 | loader-utils@^1.0.2: 2071 | version "1.1.0" 2072 | resolved "https://registry.yarnpkg.com/loader-utils/-/loader-utils-1.1.0.tgz#c98aef488bcceda2ffb5e2de646d6a754429f5cd" 2073 | dependencies: 2074 | big.js "^3.1.3" 2075 | emojis-list "^2.0.0" 2076 | json5 "^0.5.0" 2077 | 2078 | locate-path@^2.0.0: 2079 | version "2.0.0" 2080 | resolved "https://registry.yarnpkg.com/locate-path/-/locate-path-2.0.0.tgz#2b568b265eec944c6d9c0de9c3dbbbca0354cd8e" 2081 | dependencies: 2082 | p-locate "^2.0.0" 2083 | path-exists "^3.0.0" 2084 | 2085 | lodash.isequal@^4.5.0: 2086 | version "4.5.0" 2087 | resolved "https://registry.yarnpkg.com/lodash.isequal/-/lodash.isequal-4.5.0.tgz#415c4478f2bcc30120c22ce10ed3226f7d3e18e0" 2088 | 2089 | lodash@^4.0.0, lodash@^4.14.0, lodash@^4.17.4, lodash@^4.2.0, lodash@^4.3.0: 2090 | version "4.17.4" 2091 | resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.4.tgz#78203a4d1c328ae1d86dca6460e369b57f4055ae" 2092 | 2093 | longest@^1.0.1: 2094 | version "1.0.1" 2095 | resolved "https://registry.yarnpkg.com/longest/-/longest-1.0.1.tgz#30a0b2da38f73770e8294a0d22e6625ed77d0097" 2096 | 2097 | loose-envify@^1.0.0: 2098 | version "1.3.1" 2099 | resolved "https://registry.yarnpkg.com/loose-envify/-/loose-envify-1.3.1.tgz#d1a8ad33fa9ce0e713d65fdd0ac8b748d478c848" 2100 | dependencies: 2101 | js-tokens "^3.0.0" 2102 | 2103 | make-dir@^1.0.0: 2104 | version "1.0.0" 2105 | resolved "https://registry.yarnpkg.com/make-dir/-/make-dir-1.0.0.tgz#97a011751e91dd87cfadef58832ebb04936de978" 2106 | dependencies: 2107 | pify "^2.3.0" 2108 | 2109 | makeerror@1.0.x: 2110 | version "1.0.11" 2111 | resolved "https://registry.yarnpkg.com/makeerror/-/makeerror-1.0.11.tgz#e01a5c9109f2af79660e4e8b9587790184f5a96c" 2112 | dependencies: 2113 | tmpl "1.0.x" 2114 | 2115 | memory-fs@^0.4.0, memory-fs@~0.4.1: 2116 | version "0.4.1" 2117 | resolved "https://registry.yarnpkg.com/memory-fs/-/memory-fs-0.4.1.tgz#3a9a20b8462523e447cfbc7e8bb80ed667bfc552" 2118 | dependencies: 2119 | errno "^0.1.3" 2120 | readable-stream "^2.0.1" 2121 | 2122 | merge@^1.1.3: 2123 | version "1.2.0" 2124 | resolved "https://registry.yarnpkg.com/merge/-/merge-1.2.0.tgz#7531e39d4949c281a66b8c5a6e0265e8b05894da" 2125 | 2126 | micromatch@^2.1.5, micromatch@^2.3.11: 2127 | version "2.3.11" 2128 | resolved "https://registry.yarnpkg.com/micromatch/-/micromatch-2.3.11.tgz#86677c97d1720b363431d04d0d15293bd38c1565" 2129 | dependencies: 2130 | arr-diff "^2.0.0" 2131 | array-unique "^0.2.1" 2132 | braces "^1.8.2" 2133 | expand-brackets "^0.1.4" 2134 | extglob "^0.3.1" 2135 | filename-regex "^2.0.0" 2136 | is-extglob "^1.0.0" 2137 | is-glob "^2.0.1" 2138 | kind-of "^3.0.2" 2139 | normalize-path "^2.0.1" 2140 | object.omit "^2.0.0" 2141 | parse-glob "^3.0.4" 2142 | regex-cache "^0.4.2" 2143 | 2144 | miller-rabin@^4.0.0: 2145 | version "4.0.0" 2146 | resolved "https://registry.yarnpkg.com/miller-rabin/-/miller-rabin-4.0.0.tgz#4a62fb1d42933c05583982f4c716f6fb9e6c6d3d" 2147 | dependencies: 2148 | bn.js "^4.0.0" 2149 | brorand "^1.0.1" 2150 | 2151 | mime-db@~1.27.0: 2152 | version "1.27.0" 2153 | resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.27.0.tgz#820f572296bbd20ec25ed55e5b5de869e5436eb1" 2154 | 2155 | mime-types@^2.1.12, mime-types@~2.1.7: 2156 | version "2.1.15" 2157 | resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-2.1.15.tgz#a4ebf5064094569237b8cf70046776d09fc92aed" 2158 | dependencies: 2159 | mime-db "~1.27.0" 2160 | 2161 | mimic-fn@^1.0.0: 2162 | version "1.1.0" 2163 | resolved "https://registry.yarnpkg.com/mimic-fn/-/mimic-fn-1.1.0.tgz#e667783d92e89dbd342818b5230b9d62a672ad18" 2164 | 2165 | minimalistic-assert@^1.0.0: 2166 | version "1.0.0" 2167 | resolved "https://registry.yarnpkg.com/minimalistic-assert/-/minimalistic-assert-1.0.0.tgz#702be2dda6b37f4836bcb3f5db56641b64a1d3d3" 2168 | 2169 | minimalistic-crypto-utils@^1.0.0, minimalistic-crypto-utils@^1.0.1: 2170 | version "1.0.1" 2171 | resolved "https://registry.yarnpkg.com/minimalistic-crypto-utils/-/minimalistic-crypto-utils-1.0.1.tgz#f6c00c1c0b082246e5c4d99dfb8c7c083b2b582a" 2172 | 2173 | minimatch@^3.0.0, minimatch@^3.0.2, minimatch@^3.0.3, minimatch@^3.0.4: 2174 | version "3.0.4" 2175 | resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.0.4.tgz#5166e286457f03306064be5497e8dbb0c3d32083" 2176 | dependencies: 2177 | brace-expansion "^1.1.7" 2178 | 2179 | minimist@0.0.8, minimist@~0.0.1: 2180 | version "0.0.8" 2181 | resolved "https://registry.yarnpkg.com/minimist/-/minimist-0.0.8.tgz#857fcabfc3397d2625b8228262e86aa7a011b05d" 2182 | 2183 | minimist@^1.1.1, minimist@^1.2.0: 2184 | version "1.2.0" 2185 | resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.0.tgz#a35008b20f41383eec1fb914f4cd5df79a264284" 2186 | 2187 | "mkdirp@>=0.5 0", mkdirp@^0.5.1, mkdirp@~0.5.0: 2188 | version "0.5.1" 2189 | resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-0.5.1.tgz#30057438eac6cf7f8c4767f38648d6697d75c903" 2190 | dependencies: 2191 | minimist "0.0.8" 2192 | 2193 | ms@2.0.0: 2194 | version "2.0.0" 2195 | resolved "https://registry.yarnpkg.com/ms/-/ms-2.0.0.tgz#5608aeadfc00be6c2901df5f9861788de0d597c8" 2196 | 2197 | mute-stream@0.0.7: 2198 | version "0.0.7" 2199 | resolved "https://registry.yarnpkg.com/mute-stream/-/mute-stream-0.0.7.tgz#3075ce93bc21b8fab43e1bc4da7e8115ed1e7bab" 2200 | 2201 | nan@^2.3.0: 2202 | version "2.6.2" 2203 | resolved "https://registry.yarnpkg.com/nan/-/nan-2.6.2.tgz#e4ff34e6c95fdfb5aecc08de6596f43605a7db45" 2204 | 2205 | natural-compare@^1.4.0: 2206 | version "1.4.0" 2207 | resolved "https://registry.yarnpkg.com/natural-compare/-/natural-compare-1.4.0.tgz#4abebfeed7541f2c27acfb29bdbbd15c8d5ba4f7" 2208 | 2209 | node-int64@^0.4.0: 2210 | version "0.4.0" 2211 | resolved "https://registry.yarnpkg.com/node-int64/-/node-int64-0.4.0.tgz#87a9065cdb355d3182d8f94ce11188b825c68a3b" 2212 | 2213 | node-libs-browser@^2.0.0: 2214 | version "2.0.0" 2215 | resolved "https://registry.yarnpkg.com/node-libs-browser/-/node-libs-browser-2.0.0.tgz#a3a59ec97024985b46e958379646f96c4b616646" 2216 | dependencies: 2217 | assert "^1.1.1" 2218 | browserify-zlib "^0.1.4" 2219 | buffer "^4.3.0" 2220 | console-browserify "^1.1.0" 2221 | constants-browserify "^1.0.0" 2222 | crypto-browserify "^3.11.0" 2223 | domain-browser "^1.1.1" 2224 | events "^1.0.0" 2225 | https-browserify "0.0.1" 2226 | os-browserify "^0.2.0" 2227 | path-browserify "0.0.0" 2228 | process "^0.11.0" 2229 | punycode "^1.2.4" 2230 | querystring-es3 "^0.2.0" 2231 | readable-stream "^2.0.5" 2232 | stream-browserify "^2.0.1" 2233 | stream-http "^2.3.1" 2234 | string_decoder "^0.10.25" 2235 | timers-browserify "^2.0.2" 2236 | tty-browserify "0.0.0" 2237 | url "^0.11.0" 2238 | util "^0.10.3" 2239 | vm-browserify "0.0.4" 2240 | 2241 | node-notifier@^5.0.2: 2242 | version "5.1.2" 2243 | resolved "https://registry.yarnpkg.com/node-notifier/-/node-notifier-5.1.2.tgz#2fa9e12605fa10009d44549d6fcd8a63dde0e4ff" 2244 | dependencies: 2245 | growly "^1.3.0" 2246 | semver "^5.3.0" 2247 | shellwords "^0.1.0" 2248 | which "^1.2.12" 2249 | 2250 | node-object-hash@^1.2.0: 2251 | version "1.3.0" 2252 | resolved "https://registry.yarnpkg.com/node-object-hash/-/node-object-hash-1.3.0.tgz#7f294f5afec6b08d713e40d40a95ec793e05baf3" 2253 | 2254 | node-pre-gyp@^0.6.36: 2255 | version "0.6.36" 2256 | resolved "https://registry.yarnpkg.com/node-pre-gyp/-/node-pre-gyp-0.6.36.tgz#db604112cb74e0d477554e9b505b17abddfab786" 2257 | dependencies: 2258 | mkdirp "^0.5.1" 2259 | nopt "^4.0.1" 2260 | npmlog "^4.0.2" 2261 | rc "^1.1.7" 2262 | request "^2.81.0" 2263 | rimraf "^2.6.1" 2264 | semver "^5.3.0" 2265 | tar "^2.2.1" 2266 | tar-pack "^3.4.0" 2267 | 2268 | nopt@^4.0.1: 2269 | version "4.0.1" 2270 | resolved "https://registry.yarnpkg.com/nopt/-/nopt-4.0.1.tgz#d0d4685afd5415193c8c7505602d0d17cd64474d" 2271 | dependencies: 2272 | abbrev "1" 2273 | osenv "^0.1.4" 2274 | 2275 | normalize-package-data@^2.3.2: 2276 | version "2.4.0" 2277 | resolved "https://registry.yarnpkg.com/normalize-package-data/-/normalize-package-data-2.4.0.tgz#12f95a307d58352075a04907b84ac8be98ac012f" 2278 | dependencies: 2279 | hosted-git-info "^2.1.4" 2280 | is-builtin-module "^1.0.0" 2281 | semver "2 || 3 || 4 || 5" 2282 | validate-npm-package-license "^3.0.1" 2283 | 2284 | normalize-path@^2.0.1: 2285 | version "2.1.1" 2286 | resolved "https://registry.yarnpkg.com/normalize-path/-/normalize-path-2.1.1.tgz#1ab28b556e198363a8c1a6f7e6fa20137fe6aed9" 2287 | dependencies: 2288 | remove-trailing-separator "^1.0.1" 2289 | 2290 | npmlog@^4.0.2: 2291 | version "4.1.2" 2292 | resolved "https://registry.yarnpkg.com/npmlog/-/npmlog-4.1.2.tgz#08a7f2a8bf734604779a9efa4ad5cc717abb954b" 2293 | dependencies: 2294 | are-we-there-yet "~1.1.2" 2295 | console-control-strings "~1.1.0" 2296 | gauge "~2.7.3" 2297 | set-blocking "~2.0.0" 2298 | 2299 | number-is-nan@^1.0.0: 2300 | version "1.0.1" 2301 | resolved "https://registry.yarnpkg.com/number-is-nan/-/number-is-nan-1.0.1.tgz#097b602b53422a522c1afb8790318336941a011d" 2302 | 2303 | "nwmatcher@>= 1.3.9 < 2.0.0": 2304 | version "1.4.1" 2305 | resolved "https://registry.yarnpkg.com/nwmatcher/-/nwmatcher-1.4.1.tgz#7ae9b07b0ea804db7e25f05cb5fe4097d4e4949f" 2306 | 2307 | oauth-sign@~0.8.1: 2308 | version "0.8.2" 2309 | resolved "https://registry.yarnpkg.com/oauth-sign/-/oauth-sign-0.8.2.tgz#46a6ab7f0aead8deae9ec0565780b7d4efeb9d43" 2310 | 2311 | object-assign@^4.0.1, object-assign@^4.1.0: 2312 | version "4.1.1" 2313 | resolved "https://registry.yarnpkg.com/object-assign/-/object-assign-4.1.1.tgz#2109adc7965887cfc05cbbd442cac8bfbb360863" 2314 | 2315 | object-keys@^1.0.8: 2316 | version "1.0.11" 2317 | resolved "https://registry.yarnpkg.com/object-keys/-/object-keys-1.0.11.tgz#c54601778ad560f1142ce0e01bcca8b56d13426d" 2318 | 2319 | object.entries@^1.0.4: 2320 | version "1.0.4" 2321 | resolved "https://registry.yarnpkg.com/object.entries/-/object.entries-1.0.4.tgz#1bf9a4dd2288f5b33f3a993d257661f05d161a5f" 2322 | dependencies: 2323 | define-properties "^1.1.2" 2324 | es-abstract "^1.6.1" 2325 | function-bind "^1.1.0" 2326 | has "^1.0.1" 2327 | 2328 | object.omit@^2.0.0: 2329 | version "2.0.1" 2330 | resolved "https://registry.yarnpkg.com/object.omit/-/object.omit-2.0.1.tgz#1a9c744829f39dbb858c76ca3579ae2a54ebd1fa" 2331 | dependencies: 2332 | for-own "^0.1.4" 2333 | is-extendable "^0.1.1" 2334 | 2335 | once@^1.3.0, once@^1.3.3, once@^1.4.0: 2336 | version "1.4.0" 2337 | resolved "https://registry.yarnpkg.com/once/-/once-1.4.0.tgz#583b1aa775961d4b113ac17d9c50baef9dd76bd1" 2338 | dependencies: 2339 | wrappy "1" 2340 | 2341 | onetime@^2.0.0: 2342 | version "2.0.1" 2343 | resolved "https://registry.yarnpkg.com/onetime/-/onetime-2.0.1.tgz#067428230fd67443b2794b22bba528b6867962d4" 2344 | dependencies: 2345 | mimic-fn "^1.0.0" 2346 | 2347 | optimist@^0.6.1: 2348 | version "0.6.1" 2349 | resolved "https://registry.yarnpkg.com/optimist/-/optimist-0.6.1.tgz#da3ea74686fa21a19a111c326e90eb15a0196686" 2350 | dependencies: 2351 | minimist "~0.0.1" 2352 | wordwrap "~0.0.2" 2353 | 2354 | optionator@^0.8.1, optionator@^0.8.2: 2355 | version "0.8.2" 2356 | resolved "https://registry.yarnpkg.com/optionator/-/optionator-0.8.2.tgz#364c5e409d3f4d6301d6c0b4c05bba50180aeb64" 2357 | dependencies: 2358 | deep-is "~0.1.3" 2359 | fast-levenshtein "~2.0.4" 2360 | levn "~0.3.0" 2361 | prelude-ls "~1.1.2" 2362 | type-check "~0.3.2" 2363 | wordwrap "~1.0.0" 2364 | 2365 | os-browserify@^0.2.0: 2366 | version "0.2.1" 2367 | resolved "https://registry.yarnpkg.com/os-browserify/-/os-browserify-0.2.1.tgz#63fc4ccee5d2d7763d26bbf8601078e6c2e0044f" 2368 | 2369 | os-homedir@^1.0.0: 2370 | version "1.0.2" 2371 | resolved "https://registry.yarnpkg.com/os-homedir/-/os-homedir-1.0.2.tgz#ffbc4988336e0e833de0c168c7ef152121aa7fb3" 2372 | 2373 | os-locale@^1.4.0: 2374 | version "1.4.0" 2375 | resolved "https://registry.yarnpkg.com/os-locale/-/os-locale-1.4.0.tgz#20f9f17ae29ed345e8bde583b13d2009803c14d9" 2376 | dependencies: 2377 | lcid "^1.0.0" 2378 | 2379 | os-tmpdir@^1.0.0, os-tmpdir@^1.0.1, os-tmpdir@~1.0.1: 2380 | version "1.0.2" 2381 | resolved "https://registry.yarnpkg.com/os-tmpdir/-/os-tmpdir-1.0.2.tgz#bbe67406c79aa85c5cfec766fe5734555dfa1274" 2382 | 2383 | osenv@^0.1.4: 2384 | version "0.1.4" 2385 | resolved "https://registry.yarnpkg.com/osenv/-/osenv-0.1.4.tgz#42fe6d5953df06c8064be6f176c3d05aaaa34644" 2386 | dependencies: 2387 | os-homedir "^1.0.0" 2388 | os-tmpdir "^1.0.0" 2389 | 2390 | p-limit@^1.1.0: 2391 | version "1.1.0" 2392 | resolved "https://registry.yarnpkg.com/p-limit/-/p-limit-1.1.0.tgz#b07ff2d9a5d88bec806035895a2bab66a27988bc" 2393 | 2394 | p-locate@^2.0.0: 2395 | version "2.0.0" 2396 | resolved "https://registry.yarnpkg.com/p-locate/-/p-locate-2.0.0.tgz#20a0103b222a70c8fd39cc2e580680f3dde5ec43" 2397 | dependencies: 2398 | p-limit "^1.1.0" 2399 | 2400 | p-map@^1.1.1: 2401 | version "1.1.1" 2402 | resolved "https://registry.yarnpkg.com/p-map/-/p-map-1.1.1.tgz#05f5e4ae97a068371bc2a5cc86bfbdbc19c4ae7a" 2403 | 2404 | pako@~0.2.0: 2405 | version "0.2.9" 2406 | resolved "https://registry.yarnpkg.com/pako/-/pako-0.2.9.tgz#f3f7522f4ef782348da8161bad9ecfd51bf83a75" 2407 | 2408 | parse-asn1@^5.0.0: 2409 | version "5.1.0" 2410 | resolved "https://registry.yarnpkg.com/parse-asn1/-/parse-asn1-5.1.0.tgz#37c4f9b7ed3ab65c74817b5f2480937fbf97c712" 2411 | dependencies: 2412 | asn1.js "^4.0.0" 2413 | browserify-aes "^1.0.0" 2414 | create-hash "^1.1.0" 2415 | evp_bytestokey "^1.0.0" 2416 | pbkdf2 "^3.0.3" 2417 | 2418 | parse-glob@^3.0.4: 2419 | version "3.0.4" 2420 | resolved "https://registry.yarnpkg.com/parse-glob/-/parse-glob-3.0.4.tgz#b2c376cfb11f35513badd173ef0bb6e3a388391c" 2421 | dependencies: 2422 | glob-base "^0.3.0" 2423 | is-dotfile "^1.0.0" 2424 | is-extglob "^1.0.0" 2425 | is-glob "^2.0.0" 2426 | 2427 | parse-json@^2.2.0: 2428 | version "2.2.0" 2429 | resolved "https://registry.yarnpkg.com/parse-json/-/parse-json-2.2.0.tgz#f480f40434ef80741f8469099f8dea18f55a4dc9" 2430 | dependencies: 2431 | error-ex "^1.2.0" 2432 | 2433 | parse5@^1.5.1: 2434 | version "1.5.1" 2435 | resolved "https://registry.yarnpkg.com/parse5/-/parse5-1.5.1.tgz#9b7f3b0de32be78dc2401b17573ccaf0f6f59d94" 2436 | 2437 | path-browserify@0.0.0: 2438 | version "0.0.0" 2439 | resolved "https://registry.yarnpkg.com/path-browserify/-/path-browserify-0.0.0.tgz#a0b870729aae214005b7d5032ec2cbbb0fb4451a" 2440 | 2441 | path-exists@^2.0.0: 2442 | version "2.1.0" 2443 | resolved "https://registry.yarnpkg.com/path-exists/-/path-exists-2.1.0.tgz#0feb6c64f0fc518d9a754dd5efb62c7022761f4b" 2444 | dependencies: 2445 | pinkie-promise "^2.0.0" 2446 | 2447 | path-exists@^3.0.0: 2448 | version "3.0.0" 2449 | resolved "https://registry.yarnpkg.com/path-exists/-/path-exists-3.0.0.tgz#ce0ebeaa5f78cb18925ea7d810d7b59b010fd515" 2450 | 2451 | path-is-absolute@^1.0.0: 2452 | version "1.0.1" 2453 | resolved "https://registry.yarnpkg.com/path-is-absolute/-/path-is-absolute-1.0.1.tgz#174b9268735534ffbc7ace6bf53a5a9e1b5c5f5f" 2454 | 2455 | path-is-inside@^1.0.1, path-is-inside@^1.0.2: 2456 | version "1.0.2" 2457 | resolved "https://registry.yarnpkg.com/path-is-inside/-/path-is-inside-1.0.2.tgz#365417dede44430d1c11af61027facf074bdfc53" 2458 | 2459 | path-parse@^1.0.5: 2460 | version "1.0.5" 2461 | resolved "https://registry.yarnpkg.com/path-parse/-/path-parse-1.0.5.tgz#3c1adf871ea9cd6c9431b6ea2bd74a0ff055c4c1" 2462 | 2463 | path-type@^1.0.0: 2464 | version "1.1.0" 2465 | resolved "https://registry.yarnpkg.com/path-type/-/path-type-1.1.0.tgz#59c44f7ee491da704da415da5a4070ba4f8fe441" 2466 | dependencies: 2467 | graceful-fs "^4.1.2" 2468 | pify "^2.0.0" 2469 | pinkie-promise "^2.0.0" 2470 | 2471 | pbkdf2@^3.0.3: 2472 | version "3.0.12" 2473 | resolved "https://registry.yarnpkg.com/pbkdf2/-/pbkdf2-3.0.12.tgz#be36785c5067ea48d806ff923288c5f750b6b8a2" 2474 | dependencies: 2475 | create-hash "^1.1.2" 2476 | create-hmac "^1.1.4" 2477 | ripemd160 "^2.0.1" 2478 | safe-buffer "^5.0.1" 2479 | sha.js "^2.4.8" 2480 | 2481 | performance-now@^0.2.0: 2482 | version "0.2.0" 2483 | resolved "https://registry.yarnpkg.com/performance-now/-/performance-now-0.2.0.tgz#33ef30c5c77d4ea21c5a53869d91b56d8f2555e5" 2484 | 2485 | pify@^2.0.0, pify@^2.3.0: 2486 | version "2.3.0" 2487 | resolved "https://registry.yarnpkg.com/pify/-/pify-2.3.0.tgz#ed141a6ac043a849ea588498e7dca8b15330e90c" 2488 | 2489 | pify@^3.0.0: 2490 | version "3.0.0" 2491 | resolved "https://registry.yarnpkg.com/pify/-/pify-3.0.0.tgz#e5a4acd2c101fdf3d9a4d07f0dbc4db49dd28176" 2492 | 2493 | pinkie-promise@^2.0.0: 2494 | version "2.0.1" 2495 | resolved "https://registry.yarnpkg.com/pinkie-promise/-/pinkie-promise-2.0.1.tgz#2135d6dfa7a358c069ac9b178776288228450ffa" 2496 | dependencies: 2497 | pinkie "^2.0.0" 2498 | 2499 | pinkie@^2.0.0: 2500 | version "2.0.4" 2501 | resolved "https://registry.yarnpkg.com/pinkie/-/pinkie-2.0.4.tgz#72556b80cfa0d48a974e80e77248e80ed4f7f870" 2502 | 2503 | pkg-dir@^2.0.0: 2504 | version "2.0.0" 2505 | resolved "https://registry.yarnpkg.com/pkg-dir/-/pkg-dir-2.0.0.tgz#f6d5d1109e19d63edf428e0bd57e12777615334b" 2506 | dependencies: 2507 | find-up "^2.1.0" 2508 | 2509 | pluralize@^4.0.0: 2510 | version "4.0.0" 2511 | resolved "https://registry.yarnpkg.com/pluralize/-/pluralize-4.0.0.tgz#59b708c1c0190a2f692f1c7618c446b052fd1762" 2512 | 2513 | preact-render-to-string@^3.6.3: 2514 | version "3.6.3" 2515 | resolved "https://registry.yarnpkg.com/preact-render-to-string/-/preact-render-to-string-3.6.3.tgz#481d0d5bdac9192d3347557437d5cd00aa312043" 2516 | dependencies: 2517 | pretty-format "^3.5.1" 2518 | 2519 | preact@^8.2.1: 2520 | version "8.2.1" 2521 | resolved "https://registry.yarnpkg.com/preact/-/preact-8.2.1.tgz#674243df0c847884d019834044aa2fcd311e72ed" 2522 | 2523 | prelude-ls@~1.1.2: 2524 | version "1.1.2" 2525 | resolved "https://registry.yarnpkg.com/prelude-ls/-/prelude-ls-1.1.2.tgz#21932a549f5e52ffd9a827f570e04be62a97da54" 2526 | 2527 | preserve@^0.2.0: 2528 | version "0.2.0" 2529 | resolved "https://registry.yarnpkg.com/preserve/-/preserve-0.2.0.tgz#815ed1f6ebc65926f865b310c0713bcb3315ce4b" 2530 | 2531 | pretty-format@^20.0.3: 2532 | version "20.0.3" 2533 | resolved "https://registry.yarnpkg.com/pretty-format/-/pretty-format-20.0.3.tgz#020e350a560a1fe1a98dc3beb6ccffb386de8b14" 2534 | dependencies: 2535 | ansi-regex "^2.1.1" 2536 | ansi-styles "^3.0.0" 2537 | 2538 | pretty-format@^3.5.1: 2539 | version "3.8.0" 2540 | resolved "https://registry.yarnpkg.com/pretty-format/-/pretty-format-3.8.0.tgz#bfbed56d5e9a776645f4b1ff7aa1a3ac4fa3c385" 2541 | 2542 | private@^0.1.6: 2543 | version "0.1.7" 2544 | resolved "https://registry.yarnpkg.com/private/-/private-0.1.7.tgz#68ce5e8a1ef0a23bb570cc28537b5332aba63ef1" 2545 | 2546 | process-nextick-args@~1.0.6: 2547 | version "1.0.7" 2548 | resolved "https://registry.yarnpkg.com/process-nextick-args/-/process-nextick-args-1.0.7.tgz#150e20b756590ad3f91093f25a4f2ad8bff30ba3" 2549 | 2550 | process@^0.11.0: 2551 | version "0.11.10" 2552 | resolved "https://registry.yarnpkg.com/process/-/process-0.11.10.tgz#7332300e840161bda3e69a1d1d91a7d4bc16f182" 2553 | 2554 | progress@^2.0.0: 2555 | version "2.0.0" 2556 | resolved "https://registry.yarnpkg.com/progress/-/progress-2.0.0.tgz#8a1be366bf8fc23db2bd23f10c6fe920b4389d1f" 2557 | 2558 | prr@~0.0.0: 2559 | version "0.0.0" 2560 | resolved "https://registry.yarnpkg.com/prr/-/prr-0.0.0.tgz#1a84b85908325501411853d0081ee3fa86e2926a" 2561 | 2562 | public-encrypt@^4.0.0: 2563 | version "4.0.0" 2564 | resolved "https://registry.yarnpkg.com/public-encrypt/-/public-encrypt-4.0.0.tgz#39f699f3a46560dd5ebacbca693caf7c65c18cc6" 2565 | dependencies: 2566 | bn.js "^4.1.0" 2567 | browserify-rsa "^4.0.0" 2568 | create-hash "^1.1.0" 2569 | parse-asn1 "^5.0.0" 2570 | randombytes "^2.0.1" 2571 | 2572 | punycode@1.3.2: 2573 | version "1.3.2" 2574 | resolved "https://registry.yarnpkg.com/punycode/-/punycode-1.3.2.tgz#9653a036fb7c1ee42342f2325cceefea3926c48d" 2575 | 2576 | punycode@^1.2.4, punycode@^1.4.1: 2577 | version "1.4.1" 2578 | resolved "https://registry.yarnpkg.com/punycode/-/punycode-1.4.1.tgz#c0d5a63b2718800ad8e1eb0fa5269c84dd41845e" 2579 | 2580 | qs@~6.4.0: 2581 | version "6.4.0" 2582 | resolved "https://registry.yarnpkg.com/qs/-/qs-6.4.0.tgz#13e26d28ad6b0ffaa91312cd3bf708ed351e7233" 2583 | 2584 | querystring-es3@^0.2.0: 2585 | version "0.2.1" 2586 | resolved "https://registry.yarnpkg.com/querystring-es3/-/querystring-es3-0.2.1.tgz#9ec61f79049875707d69414596fd907a4d711e73" 2587 | 2588 | querystring@0.2.0: 2589 | version "0.2.0" 2590 | resolved "https://registry.yarnpkg.com/querystring/-/querystring-0.2.0.tgz#b209849203bb25df820da756e747005878521620" 2591 | 2592 | randomatic@^1.1.3: 2593 | version "1.1.7" 2594 | resolved "https://registry.yarnpkg.com/randomatic/-/randomatic-1.1.7.tgz#c7abe9cc8b87c0baa876b19fde83fd464797e38c" 2595 | dependencies: 2596 | is-number "^3.0.0" 2597 | kind-of "^4.0.0" 2598 | 2599 | randombytes@^2.0.0, randombytes@^2.0.1: 2600 | version "2.0.5" 2601 | resolved "https://registry.yarnpkg.com/randombytes/-/randombytes-2.0.5.tgz#dc009a246b8d09a177b4b7a0ae77bc570f4b1b79" 2602 | dependencies: 2603 | safe-buffer "^5.1.0" 2604 | 2605 | rc@^1.1.7: 2606 | version "1.2.1" 2607 | resolved "https://registry.yarnpkg.com/rc/-/rc-1.2.1.tgz#2e03e8e42ee450b8cb3dce65be1bf8974e1dfd95" 2608 | dependencies: 2609 | deep-extend "~0.4.0" 2610 | ini "~1.3.0" 2611 | minimist "^1.2.0" 2612 | strip-json-comments "~2.0.1" 2613 | 2614 | read-pkg-up@^1.0.1: 2615 | version "1.0.1" 2616 | resolved "https://registry.yarnpkg.com/read-pkg-up/-/read-pkg-up-1.0.1.tgz#9d63c13276c065918d57f002a57f40a1b643fb02" 2617 | dependencies: 2618 | find-up "^1.0.0" 2619 | read-pkg "^1.0.0" 2620 | 2621 | read-pkg@^1.0.0: 2622 | version "1.1.0" 2623 | resolved "https://registry.yarnpkg.com/read-pkg/-/read-pkg-1.1.0.tgz#f5ffaa5ecd29cb31c0474bca7d756b6bb29e3f28" 2624 | dependencies: 2625 | load-json-file "^1.0.0" 2626 | normalize-package-data "^2.3.2" 2627 | path-type "^1.0.0" 2628 | 2629 | readable-stream@^2.0.1, readable-stream@^2.0.2, readable-stream@^2.0.5, readable-stream@^2.0.6, readable-stream@^2.1.4, readable-stream@^2.2.2, readable-stream@^2.2.6: 2630 | version "2.3.3" 2631 | resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-2.3.3.tgz#368f2512d79f9d46fdfc71349ae7878bbc1eb95c" 2632 | dependencies: 2633 | core-util-is "~1.0.0" 2634 | inherits "~2.0.3" 2635 | isarray "~1.0.0" 2636 | process-nextick-args "~1.0.6" 2637 | safe-buffer "~5.1.1" 2638 | string_decoder "~1.0.3" 2639 | util-deprecate "~1.0.1" 2640 | 2641 | readdirp@^2.0.0: 2642 | version "2.1.0" 2643 | resolved "https://registry.yarnpkg.com/readdirp/-/readdirp-2.1.0.tgz#4ed0ad060df3073300c48440373f72d1cc642d78" 2644 | dependencies: 2645 | graceful-fs "^4.1.2" 2646 | minimatch "^3.0.2" 2647 | readable-stream "^2.0.2" 2648 | set-immediate-shim "^1.0.1" 2649 | 2650 | regenerator-runtime@^0.10.0, regenerator-runtime@^0.10.5: 2651 | version "0.10.5" 2652 | resolved "https://registry.yarnpkg.com/regenerator-runtime/-/regenerator-runtime-0.10.5.tgz#336c3efc1220adcedda2c9fab67b5a7955a33658" 2653 | 2654 | regex-cache@^0.4.2: 2655 | version "0.4.3" 2656 | resolved "https://registry.yarnpkg.com/regex-cache/-/regex-cache-0.4.3.tgz#9b1a6c35d4d0dfcef5711ae651e8e9d3d7114145" 2657 | dependencies: 2658 | is-equal-shallow "^0.1.3" 2659 | is-primitive "^2.0.0" 2660 | 2661 | remove-trailing-separator@^1.0.1: 2662 | version "1.0.2" 2663 | resolved "https://registry.yarnpkg.com/remove-trailing-separator/-/remove-trailing-separator-1.0.2.tgz#69b062d978727ad14dc6b56ba4ab772fd8d70511" 2664 | 2665 | repeat-element@^1.1.2: 2666 | version "1.1.2" 2667 | resolved "https://registry.yarnpkg.com/repeat-element/-/repeat-element-1.1.2.tgz#ef089a178d1483baae4d93eb98b4f9e4e11d990a" 2668 | 2669 | repeat-string@^1.5.2: 2670 | version "1.6.1" 2671 | resolved "https://registry.yarnpkg.com/repeat-string/-/repeat-string-1.6.1.tgz#8dcae470e1c88abc2d600fff4a776286da75e637" 2672 | 2673 | repeating@^2.0.0: 2674 | version "2.0.1" 2675 | resolved "https://registry.yarnpkg.com/repeating/-/repeating-2.0.1.tgz#5214c53a926d3552707527fbab415dbc08d06dda" 2676 | dependencies: 2677 | is-finite "^1.0.0" 2678 | 2679 | request@^2.79.0, request@^2.81.0: 2680 | version "2.81.0" 2681 | resolved "https://registry.yarnpkg.com/request/-/request-2.81.0.tgz#c6928946a0e06c5f8d6f8a9333469ffda46298a0" 2682 | dependencies: 2683 | aws-sign2 "~0.6.0" 2684 | aws4 "^1.2.1" 2685 | caseless "~0.12.0" 2686 | combined-stream "~1.0.5" 2687 | extend "~3.0.0" 2688 | forever-agent "~0.6.1" 2689 | form-data "~2.1.1" 2690 | har-validator "~4.2.1" 2691 | hawk "~3.1.3" 2692 | http-signature "~1.1.0" 2693 | is-typedarray "~1.0.0" 2694 | isstream "~0.1.2" 2695 | json-stringify-safe "~5.0.1" 2696 | mime-types "~2.1.7" 2697 | oauth-sign "~0.8.1" 2698 | performance-now "^0.2.0" 2699 | qs "~6.4.0" 2700 | safe-buffer "^5.0.1" 2701 | stringstream "~0.0.4" 2702 | tough-cookie "~2.3.0" 2703 | tunnel-agent "^0.6.0" 2704 | uuid "^3.0.0" 2705 | 2706 | require-directory@^2.1.1: 2707 | version "2.1.1" 2708 | resolved "https://registry.yarnpkg.com/require-directory/-/require-directory-2.1.1.tgz#8c64ad5fd30dab1c976e2344ffe7f792a6a6df42" 2709 | 2710 | require-main-filename@^1.0.1: 2711 | version "1.0.1" 2712 | resolved "https://registry.yarnpkg.com/require-main-filename/-/require-main-filename-1.0.1.tgz#97f717b69d48784f5f526a6c5aa8ffdda055a4d1" 2713 | 2714 | require-uncached@^1.0.3: 2715 | version "1.0.3" 2716 | resolved "https://registry.yarnpkg.com/require-uncached/-/require-uncached-1.0.3.tgz#4e0d56d6c9662fd31e43011c4b95aa49955421d3" 2717 | dependencies: 2718 | caller-path "^0.1.0" 2719 | resolve-from "^1.0.0" 2720 | 2721 | resolve-from@^1.0.0: 2722 | version "1.0.1" 2723 | resolved "https://registry.yarnpkg.com/resolve-from/-/resolve-from-1.0.1.tgz#26cbfe935d1aeeeabb29bc3fe5aeb01e93d44226" 2724 | 2725 | resolve@1.1.7: 2726 | version "1.1.7" 2727 | resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.1.7.tgz#203114d82ad2c5ed9e8e0411b3932875e889e97b" 2728 | 2729 | resolve@^1.3.2: 2730 | version "1.3.3" 2731 | resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.3.3.tgz#655907c3469a8680dc2de3a275a8fdd69691f0e5" 2732 | dependencies: 2733 | path-parse "^1.0.5" 2734 | 2735 | restore-cursor@^2.0.0: 2736 | version "2.0.0" 2737 | resolved "https://registry.yarnpkg.com/restore-cursor/-/restore-cursor-2.0.0.tgz#9f7ee287f82fd326d4fd162923d62129eee0dfaf" 2738 | dependencies: 2739 | onetime "^2.0.0" 2740 | signal-exit "^3.0.2" 2741 | 2742 | right-align@^0.1.1: 2743 | version "0.1.3" 2744 | resolved "https://registry.yarnpkg.com/right-align/-/right-align-0.1.3.tgz#61339b722fe6a3515689210d24e14c96148613ef" 2745 | dependencies: 2746 | align-text "^0.1.1" 2747 | 2748 | rimraf@2, rimraf@^2.2.8, rimraf@^2.5.1, rimraf@^2.6.1: 2749 | version "2.6.1" 2750 | resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-2.6.1.tgz#c2338ec643df7a1b7fe5c54fa86f57428a55f33d" 2751 | dependencies: 2752 | glob "^7.0.5" 2753 | 2754 | ripemd160@^2.0.0, ripemd160@^2.0.1: 2755 | version "2.0.1" 2756 | resolved "https://registry.yarnpkg.com/ripemd160/-/ripemd160-2.0.1.tgz#0f4584295c53a3628af7e6d79aca21ce57d1c6e7" 2757 | dependencies: 2758 | hash-base "^2.0.0" 2759 | inherits "^2.0.1" 2760 | 2761 | run-async@^2.2.0: 2762 | version "2.3.0" 2763 | resolved "https://registry.yarnpkg.com/run-async/-/run-async-2.3.0.tgz#0371ab4ae0bdd720d4166d7dfda64ff7a445a6c0" 2764 | dependencies: 2765 | is-promise "^2.1.0" 2766 | 2767 | rx-lite-aggregates@^4.0.8: 2768 | version "4.0.8" 2769 | resolved "https://registry.yarnpkg.com/rx-lite-aggregates/-/rx-lite-aggregates-4.0.8.tgz#753b87a89a11c95467c4ac1626c4efc4e05c67be" 2770 | dependencies: 2771 | rx-lite "*" 2772 | 2773 | rx-lite@*, rx-lite@^4.0.8: 2774 | version "4.0.8" 2775 | resolved "https://registry.yarnpkg.com/rx-lite/-/rx-lite-4.0.8.tgz#0b1e11af8bc44836f04a6407e92da42467b79444" 2776 | 2777 | safe-buffer@^5.0.1, safe-buffer@^5.1.0, safe-buffer@~5.1.0, safe-buffer@~5.1.1: 2778 | version "5.1.1" 2779 | resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.1.1.tgz#893312af69b2123def71f57889001671eeb2c853" 2780 | 2781 | sane@~1.6.0: 2782 | version "1.6.0" 2783 | resolved "https://registry.yarnpkg.com/sane/-/sane-1.6.0.tgz#9610c452307a135d29c1fdfe2547034180c46775" 2784 | dependencies: 2785 | anymatch "^1.3.0" 2786 | exec-sh "^0.2.0" 2787 | fb-watchman "^1.8.0" 2788 | minimatch "^3.0.2" 2789 | minimist "^1.1.1" 2790 | walker "~1.0.5" 2791 | watch "~0.10.0" 2792 | 2793 | sax@^1.2.1: 2794 | version "1.2.4" 2795 | resolved "https://registry.yarnpkg.com/sax/-/sax-1.2.4.tgz#2816234e2378bddc4e5354fab5caa895df7100d9" 2796 | 2797 | "semver@2 || 3 || 4 || 5", semver@^5.3.0: 2798 | version "5.3.0" 2799 | resolved "https://registry.yarnpkg.com/semver/-/semver-5.3.0.tgz#9b2ce5d3de02d17c6012ad326aa6b4d0cf54f94f" 2800 | 2801 | set-blocking@^2.0.0, set-blocking@~2.0.0: 2802 | version "2.0.0" 2803 | resolved "https://registry.yarnpkg.com/set-blocking/-/set-blocking-2.0.0.tgz#045f9782d011ae9a6803ddd382b24392b3d890f7" 2804 | 2805 | set-immediate-shim@^1.0.1: 2806 | version "1.0.1" 2807 | resolved "https://registry.yarnpkg.com/set-immediate-shim/-/set-immediate-shim-1.0.1.tgz#4b2b1b27eb808a9f8dcc481a58e5e56f599f3f61" 2808 | 2809 | setimmediate@^1.0.4: 2810 | version "1.0.5" 2811 | resolved "https://registry.yarnpkg.com/setimmediate/-/setimmediate-1.0.5.tgz#290cbb232e306942d7d7ea9b83732ab7856f8285" 2812 | 2813 | sha.js@^2.4.0, sha.js@^2.4.8: 2814 | version "2.4.8" 2815 | resolved "https://registry.yarnpkg.com/sha.js/-/sha.js-2.4.8.tgz#37068c2c476b6baf402d14a49c67f597921f634f" 2816 | dependencies: 2817 | inherits "^2.0.1" 2818 | 2819 | shellwords@^0.1.0: 2820 | version "0.1.0" 2821 | resolved "https://registry.yarnpkg.com/shellwords/-/shellwords-0.1.0.tgz#66afd47b6a12932d9071cbfd98a52e785cd0ba14" 2822 | 2823 | signal-exit@^3.0.0, signal-exit@^3.0.2: 2824 | version "3.0.2" 2825 | resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-3.0.2.tgz#b5fdc08f1287ea1178628e415e25132b73646c6d" 2826 | 2827 | slash@^1.0.0: 2828 | version "1.0.0" 2829 | resolved "https://registry.yarnpkg.com/slash/-/slash-1.0.0.tgz#c41f2f6c39fc16d1cd17ad4b5d896114ae470d55" 2830 | 2831 | slice-ansi@0.0.4: 2832 | version "0.0.4" 2833 | resolved "https://registry.yarnpkg.com/slice-ansi/-/slice-ansi-0.0.4.tgz#edbf8903f66f7ce2f8eafd6ceed65e264c831b35" 2834 | 2835 | sntp@1.x.x: 2836 | version "1.0.9" 2837 | resolved "https://registry.yarnpkg.com/sntp/-/sntp-1.0.9.tgz#6541184cc90aeea6c6e7b35e2659082443c66198" 2838 | dependencies: 2839 | hoek "2.x.x" 2840 | 2841 | source-list-map@^2.0.0: 2842 | version "2.0.0" 2843 | resolved "https://registry.yarnpkg.com/source-list-map/-/source-list-map-2.0.0.tgz#aaa47403f7b245a92fbc97ea08f250d6087ed085" 2844 | 2845 | source-map-support@^0.4.2: 2846 | version "0.4.15" 2847 | resolved "https://registry.yarnpkg.com/source-map-support/-/source-map-support-0.4.15.tgz#03202df65c06d2bd8c7ec2362a193056fef8d3b1" 2848 | dependencies: 2849 | source-map "^0.5.6" 2850 | 2851 | source-map@^0.4.4: 2852 | version "0.4.4" 2853 | resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.4.4.tgz#eba4f5da9c0dc999de68032d8b4f76173652036b" 2854 | dependencies: 2855 | amdefine ">=0.0.4" 2856 | 2857 | source-map@^0.5.0, source-map@^0.5.3, source-map@^0.5.6, source-map@~0.5.1, source-map@~0.5.3: 2858 | version "0.5.6" 2859 | resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.5.6.tgz#75ce38f52bf0733c5a7f0c118d81334a2bb5f412" 2860 | 2861 | source-map@~0.2.0: 2862 | version "0.2.0" 2863 | resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.2.0.tgz#dab73fbcfc2ba819b4de03bd6f6eaa48164b3f9d" 2864 | dependencies: 2865 | amdefine ">=0.0.4" 2866 | 2867 | spdx-correct@~1.0.0: 2868 | version "1.0.2" 2869 | resolved "https://registry.yarnpkg.com/spdx-correct/-/spdx-correct-1.0.2.tgz#4b3073d933ff51f3912f03ac5519498a4150db40" 2870 | dependencies: 2871 | spdx-license-ids "^1.0.2" 2872 | 2873 | spdx-expression-parse@~1.0.0: 2874 | version "1.0.4" 2875 | resolved "https://registry.yarnpkg.com/spdx-expression-parse/-/spdx-expression-parse-1.0.4.tgz#9bdf2f20e1f40ed447fbe273266191fced51626c" 2876 | 2877 | spdx-license-ids@^1.0.2: 2878 | version "1.2.2" 2879 | resolved "https://registry.yarnpkg.com/spdx-license-ids/-/spdx-license-ids-1.2.2.tgz#c9df7a3424594ade6bd11900d596696dc06bac57" 2880 | 2881 | sprintf-js@~1.0.2: 2882 | version "1.0.3" 2883 | resolved "https://registry.yarnpkg.com/sprintf-js/-/sprintf-js-1.0.3.tgz#04e6926f662895354f3dd015203633b857297e2c" 2884 | 2885 | sshpk@^1.7.0: 2886 | version "1.13.1" 2887 | resolved "https://registry.yarnpkg.com/sshpk/-/sshpk-1.13.1.tgz#512df6da6287144316dc4c18fe1cf1d940739be3" 2888 | dependencies: 2889 | asn1 "~0.2.3" 2890 | assert-plus "^1.0.0" 2891 | dashdash "^1.12.0" 2892 | getpass "^0.1.1" 2893 | optionalDependencies: 2894 | bcrypt-pbkdf "^1.0.0" 2895 | ecc-jsbn "~0.1.1" 2896 | jsbn "~0.1.0" 2897 | tweetnacl "~0.14.0" 2898 | 2899 | stream-browserify@^2.0.1: 2900 | version "2.0.1" 2901 | resolved "https://registry.yarnpkg.com/stream-browserify/-/stream-browserify-2.0.1.tgz#66266ee5f9bdb9940a4e4514cafb43bb71e5c9db" 2902 | dependencies: 2903 | inherits "~2.0.1" 2904 | readable-stream "^2.0.2" 2905 | 2906 | stream-http@^2.3.1: 2907 | version "2.7.2" 2908 | resolved "https://registry.yarnpkg.com/stream-http/-/stream-http-2.7.2.tgz#40a050ec8dc3b53b33d9909415c02c0bf1abfbad" 2909 | dependencies: 2910 | builtin-status-codes "^3.0.0" 2911 | inherits "^2.0.1" 2912 | readable-stream "^2.2.6" 2913 | to-arraybuffer "^1.0.0" 2914 | xtend "^4.0.0" 2915 | 2916 | string-length@^1.0.1: 2917 | version "1.0.1" 2918 | resolved "https://registry.yarnpkg.com/string-length/-/string-length-1.0.1.tgz#56970fb1c38558e9e70b728bf3de269ac45adfac" 2919 | dependencies: 2920 | strip-ansi "^3.0.0" 2921 | 2922 | string-width@^1.0.1, string-width@^1.0.2: 2923 | version "1.0.2" 2924 | resolved "https://registry.yarnpkg.com/string-width/-/string-width-1.0.2.tgz#118bdf5b8cdc51a2a7e70d211e07e2b0b9b107d3" 2925 | dependencies: 2926 | code-point-at "^1.0.0" 2927 | is-fullwidth-code-point "^1.0.0" 2928 | strip-ansi "^3.0.0" 2929 | 2930 | string-width@^2.0.0: 2931 | version "2.1.0" 2932 | resolved "https://registry.yarnpkg.com/string-width/-/string-width-2.1.0.tgz#030664561fc146c9423ec7d978fe2457437fe6d0" 2933 | dependencies: 2934 | is-fullwidth-code-point "^2.0.0" 2935 | strip-ansi "^4.0.0" 2936 | 2937 | string_decoder@^0.10.25: 2938 | version "0.10.31" 2939 | resolved "https://registry.yarnpkg.com/string_decoder/-/string_decoder-0.10.31.tgz#62e203bc41766c6c28c9fc84301dab1c5310fa94" 2940 | 2941 | string_decoder@~1.0.3: 2942 | version "1.0.3" 2943 | resolved "https://registry.yarnpkg.com/string_decoder/-/string_decoder-1.0.3.tgz#0fc67d7c141825de94282dd536bec6b9bce860ab" 2944 | dependencies: 2945 | safe-buffer "~5.1.0" 2946 | 2947 | stringstream@~0.0.4: 2948 | version "0.0.5" 2949 | resolved "https://registry.yarnpkg.com/stringstream/-/stringstream-0.0.5.tgz#4e484cd4de5a0bbbee18e46307710a8a81621878" 2950 | 2951 | strip-ansi@^3.0.0, strip-ansi@^3.0.1: 2952 | version "3.0.1" 2953 | resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-3.0.1.tgz#6a385fb8853d952d5ff05d0e8aaf94278dc63dcf" 2954 | dependencies: 2955 | ansi-regex "^2.0.0" 2956 | 2957 | strip-ansi@^4.0.0: 2958 | version "4.0.0" 2959 | resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-4.0.0.tgz#a8479022eb1ac368a871389b635262c505ee368f" 2960 | dependencies: 2961 | ansi-regex "^3.0.0" 2962 | 2963 | strip-bom@3.0.0: 2964 | version "3.0.0" 2965 | resolved "https://registry.yarnpkg.com/strip-bom/-/strip-bom-3.0.0.tgz#2334c18e9c759f7bdd56fdef7e9ae3d588e68ed3" 2966 | 2967 | strip-bom@^2.0.0: 2968 | version "2.0.0" 2969 | resolved "https://registry.yarnpkg.com/strip-bom/-/strip-bom-2.0.0.tgz#6219a85616520491f35788bdbf1447a99c7e6b0e" 2970 | dependencies: 2971 | is-utf8 "^0.2.0" 2972 | 2973 | strip-json-comments@~2.0.1: 2974 | version "2.0.1" 2975 | resolved "https://registry.yarnpkg.com/strip-json-comments/-/strip-json-comments-2.0.1.tgz#3c531942e908c2697c0ec344858c286c7ca0a60a" 2976 | 2977 | supports-color@^2.0.0: 2978 | version "2.0.0" 2979 | resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-2.0.0.tgz#535d045ce6b6363fa40117084629995e9df324c7" 2980 | 2981 | supports-color@^3.1.0, supports-color@^3.1.2: 2982 | version "3.2.3" 2983 | resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-3.2.3.tgz#65ac0504b3954171d8a64946b2ae3cbb8a5f54f6" 2984 | dependencies: 2985 | has-flag "^1.0.0" 2986 | 2987 | symbol-tree@^3.2.1: 2988 | version "3.2.2" 2989 | resolved "https://registry.yarnpkg.com/symbol-tree/-/symbol-tree-3.2.2.tgz#ae27db38f660a7ae2e1c3b7d1bc290819b8519e6" 2990 | 2991 | table@^4.0.1: 2992 | version "4.0.1" 2993 | resolved "https://registry.yarnpkg.com/table/-/table-4.0.1.tgz#a8116c133fac2c61f4a420ab6cdf5c4d61f0e435" 2994 | dependencies: 2995 | ajv "^4.7.0" 2996 | ajv-keywords "^1.0.0" 2997 | chalk "^1.1.1" 2998 | lodash "^4.0.0" 2999 | slice-ansi "0.0.4" 3000 | string-width "^2.0.0" 3001 | 3002 | tapable@^0.2.5, tapable@~0.2.5: 3003 | version "0.2.6" 3004 | resolved "https://registry.yarnpkg.com/tapable/-/tapable-0.2.6.tgz#206be8e188860b514425375e6f1ae89bfb01fd8d" 3005 | 3006 | tar-pack@^3.4.0: 3007 | version "3.4.0" 3008 | resolved "https://registry.yarnpkg.com/tar-pack/-/tar-pack-3.4.0.tgz#23be2d7f671a8339376cbdb0b8fe3fdebf317984" 3009 | dependencies: 3010 | debug "^2.2.0" 3011 | fstream "^1.0.10" 3012 | fstream-ignore "^1.0.5" 3013 | once "^1.3.3" 3014 | readable-stream "^2.1.4" 3015 | rimraf "^2.5.1" 3016 | tar "^2.2.1" 3017 | uid-number "^0.0.6" 3018 | 3019 | tar@^2.2.1: 3020 | version "2.2.1" 3021 | resolved "https://registry.yarnpkg.com/tar/-/tar-2.2.1.tgz#8e4d2a256c0e2185c6b18ad694aec968b83cb1d1" 3022 | dependencies: 3023 | block-stream "*" 3024 | fstream "^1.0.2" 3025 | inherits "2" 3026 | 3027 | test-exclude@^4.1.1: 3028 | version "4.1.1" 3029 | resolved "https://registry.yarnpkg.com/test-exclude/-/test-exclude-4.1.1.tgz#4d84964b0966b0087ecc334a2ce002d3d9341e26" 3030 | dependencies: 3031 | arrify "^1.0.1" 3032 | micromatch "^2.3.11" 3033 | object-assign "^4.1.0" 3034 | read-pkg-up "^1.0.1" 3035 | require-main-filename "^1.0.1" 3036 | 3037 | text-table@~0.2.0: 3038 | version "0.2.0" 3039 | resolved "https://registry.yarnpkg.com/text-table/-/text-table-0.2.0.tgz#7f5ee823ae805207c00af2df4a84ec3fcfa570b4" 3040 | 3041 | throat@^3.0.0: 3042 | version "3.2.0" 3043 | resolved "https://registry.yarnpkg.com/throat/-/throat-3.2.0.tgz#50cb0670edbc40237b9e347d7e1f88e4620af836" 3044 | 3045 | through@^2.3.6: 3046 | version "2.3.8" 3047 | resolved "https://registry.yarnpkg.com/through/-/through-2.3.8.tgz#0dd4c9ffaabc357960b1b724115d7e0e86a2e1f5" 3048 | 3049 | timers-browserify@^2.0.2: 3050 | version "2.0.2" 3051 | resolved "https://registry.yarnpkg.com/timers-browserify/-/timers-browserify-2.0.2.tgz#ab4883cf597dcd50af211349a00fbca56ac86b86" 3052 | dependencies: 3053 | setimmediate "^1.0.4" 3054 | 3055 | tmp@^0.0.31: 3056 | version "0.0.31" 3057 | resolved "https://registry.yarnpkg.com/tmp/-/tmp-0.0.31.tgz#8f38ab9438e17315e5dbd8b3657e8bfb277ae4a7" 3058 | dependencies: 3059 | os-tmpdir "~1.0.1" 3060 | 3061 | tmpl@1.0.x: 3062 | version "1.0.4" 3063 | resolved "https://registry.yarnpkg.com/tmpl/-/tmpl-1.0.4.tgz#23640dd7b42d00433911140820e5cf440e521dd1" 3064 | 3065 | to-arraybuffer@^1.0.0: 3066 | version "1.0.1" 3067 | resolved "https://registry.yarnpkg.com/to-arraybuffer/-/to-arraybuffer-1.0.1.tgz#7d229b1fcc637e466ca081180836a7aabff83f43" 3068 | 3069 | to-fast-properties@^1.0.1: 3070 | version "1.0.3" 3071 | resolved "https://registry.yarnpkg.com/to-fast-properties/-/to-fast-properties-1.0.3.tgz#b83571fa4d8c25b82e231b06e3a3055de4ca1a47" 3072 | 3073 | tough-cookie@^2.3.2, tough-cookie@~2.3.0: 3074 | version "2.3.2" 3075 | resolved "https://registry.yarnpkg.com/tough-cookie/-/tough-cookie-2.3.2.tgz#f081f76e4c85720e6c37a5faced737150d84072a" 3076 | dependencies: 3077 | punycode "^1.4.1" 3078 | 3079 | tr46@~0.0.3: 3080 | version "0.0.3" 3081 | resolved "https://registry.yarnpkg.com/tr46/-/tr46-0.0.3.tgz#8184fd347dac9cdc185992f3a6622e14b9d9ab6a" 3082 | 3083 | trim-right@^1.0.1: 3084 | version "1.0.1" 3085 | resolved "https://registry.yarnpkg.com/trim-right/-/trim-right-1.0.1.tgz#cb2e1203067e0c8de1f614094b9fe45704ea6003" 3086 | 3087 | tryit@^1.0.1: 3088 | version "1.0.3" 3089 | resolved "https://registry.yarnpkg.com/tryit/-/tryit-1.0.3.tgz#393be730a9446fd1ead6da59a014308f36c289cb" 3090 | 3091 | tty-browserify@0.0.0: 3092 | version "0.0.0" 3093 | resolved "https://registry.yarnpkg.com/tty-browserify/-/tty-browserify-0.0.0.tgz#a157ba402da24e9bf957f9aa69d524eed42901a6" 3094 | 3095 | tunnel-agent@^0.6.0: 3096 | version "0.6.0" 3097 | resolved "https://registry.yarnpkg.com/tunnel-agent/-/tunnel-agent-0.6.0.tgz#27a5dea06b36b04a0a9966774b290868f0fc40fd" 3098 | dependencies: 3099 | safe-buffer "^5.0.1" 3100 | 3101 | tweetnacl@^0.14.3, tweetnacl@~0.14.0: 3102 | version "0.14.5" 3103 | resolved "https://registry.yarnpkg.com/tweetnacl/-/tweetnacl-0.14.5.tgz#5ae68177f192d4456269d108afa93ff8743f4f64" 3104 | 3105 | type-check@~0.3.2: 3106 | version "0.3.2" 3107 | resolved "https://registry.yarnpkg.com/type-check/-/type-check-0.3.2.tgz#5884cab512cf1d355e3fb784f30804b2b520db72" 3108 | dependencies: 3109 | prelude-ls "~1.1.2" 3110 | 3111 | typedarray@^0.0.6: 3112 | version "0.0.6" 3113 | resolved "https://registry.yarnpkg.com/typedarray/-/typedarray-0.0.6.tgz#867ac74e3864187b1d3d47d996a78ec5c8830777" 3114 | 3115 | typescript@^2.4.1: 3116 | version "2.4.1" 3117 | resolved "https://registry.yarnpkg.com/typescript/-/typescript-2.4.1.tgz#c3ccb16ddaa0b2314de031e7e6fee89e5ba346bc" 3118 | 3119 | uglify-js@^2.6, uglify-js@^2.8.27: 3120 | version "2.8.29" 3121 | resolved "https://registry.yarnpkg.com/uglify-js/-/uglify-js-2.8.29.tgz#29c5733148057bb4e1f75df35b7a9cb72e6a59dd" 3122 | dependencies: 3123 | source-map "~0.5.1" 3124 | yargs "~3.10.0" 3125 | optionalDependencies: 3126 | uglify-to-browserify "~1.0.0" 3127 | 3128 | uglify-to-browserify@~1.0.0: 3129 | version "1.0.2" 3130 | resolved "https://registry.yarnpkg.com/uglify-to-browserify/-/uglify-to-browserify-1.0.2.tgz#6e0924d6bda6b5afe349e39a6d632850a0f882b7" 3131 | 3132 | uid-number@^0.0.6: 3133 | version "0.0.6" 3134 | resolved "https://registry.yarnpkg.com/uid-number/-/uid-number-0.0.6.tgz#0ea10e8035e8eb5b8e4449f06da1c730663baa81" 3135 | 3136 | url@^0.11.0: 3137 | version "0.11.0" 3138 | resolved "https://registry.yarnpkg.com/url/-/url-0.11.0.tgz#3838e97cfc60521eb73c525a8e55bfdd9e2e28f1" 3139 | dependencies: 3140 | punycode "1.3.2" 3141 | querystring "0.2.0" 3142 | 3143 | util-deprecate@~1.0.1: 3144 | version "1.0.2" 3145 | resolved "https://registry.yarnpkg.com/util-deprecate/-/util-deprecate-1.0.2.tgz#450d4dc9fa70de732762fbd2d4a28981419a0ccf" 3146 | 3147 | util@0.10.3, util@^0.10.3: 3148 | version "0.10.3" 3149 | resolved "https://registry.yarnpkg.com/util/-/util-0.10.3.tgz#7afb1afe50805246489e3db7fe0ed379336ac0f9" 3150 | dependencies: 3151 | inherits "2.0.1" 3152 | 3153 | uuid@^3.0.0: 3154 | version "3.1.0" 3155 | resolved "https://registry.yarnpkg.com/uuid/-/uuid-3.1.0.tgz#3dd3d3e790abc24d7b0d3a034ffababe28ebbc04" 3156 | 3157 | validate-npm-package-license@^3.0.1: 3158 | version "3.0.1" 3159 | resolved "https://registry.yarnpkg.com/validate-npm-package-license/-/validate-npm-package-license-3.0.1.tgz#2804babe712ad3379459acfbe24746ab2c303fbc" 3160 | dependencies: 3161 | spdx-correct "~1.0.0" 3162 | spdx-expression-parse "~1.0.0" 3163 | 3164 | verror@1.3.6: 3165 | version "1.3.6" 3166 | resolved "https://registry.yarnpkg.com/verror/-/verror-1.3.6.tgz#cff5df12946d297d2baaefaa2689e25be01c005c" 3167 | dependencies: 3168 | extsprintf "1.0.2" 3169 | 3170 | vm-browserify@0.0.4: 3171 | version "0.0.4" 3172 | resolved "https://registry.yarnpkg.com/vm-browserify/-/vm-browserify-0.0.4.tgz#5d7ea45bbef9e4a6ff65f95438e0a87c357d5a73" 3173 | dependencies: 3174 | indexof "0.0.1" 3175 | 3176 | walker@~1.0.5: 3177 | version "1.0.7" 3178 | resolved "https://registry.yarnpkg.com/walker/-/walker-1.0.7.tgz#2f7f9b8fd10d677262b18a884e28d19618e028fb" 3179 | dependencies: 3180 | makeerror "1.0.x" 3181 | 3182 | watch@~0.10.0: 3183 | version "0.10.0" 3184 | resolved "https://registry.yarnpkg.com/watch/-/watch-0.10.0.tgz#77798b2da0f9910d595f1ace5b0c2258521f21dc" 3185 | 3186 | watchpack@^1.3.1: 3187 | version "1.3.1" 3188 | resolved "https://registry.yarnpkg.com/watchpack/-/watchpack-1.3.1.tgz#7d8693907b28ce6013e7f3610aa2a1acf07dad87" 3189 | dependencies: 3190 | async "^2.1.2" 3191 | chokidar "^1.4.3" 3192 | graceful-fs "^4.1.2" 3193 | 3194 | webidl-conversions@^3.0.0: 3195 | version "3.0.1" 3196 | resolved "https://registry.yarnpkg.com/webidl-conversions/-/webidl-conversions-3.0.1.tgz#24534275e2a7bc6be7bc86611cc16ae0a5654871" 3197 | 3198 | webidl-conversions@^4.0.0: 3199 | version "4.0.1" 3200 | resolved "https://registry.yarnpkg.com/webidl-conversions/-/webidl-conversions-4.0.1.tgz#8015a17ab83e7e1b311638486ace81da6ce206a0" 3201 | 3202 | webpack-sources@^1.0.1: 3203 | version "1.0.1" 3204 | resolved "https://registry.yarnpkg.com/webpack-sources/-/webpack-sources-1.0.1.tgz#c7356436a4d13123be2e2426a05d1dad9cbe65cf" 3205 | dependencies: 3206 | source-list-map "^2.0.0" 3207 | source-map "~0.5.3" 3208 | 3209 | webpack@^2.7.0: 3210 | version "2.7.0" 3211 | resolved "https://registry.yarnpkg.com/webpack/-/webpack-2.7.0.tgz#b2a1226804373ffd3d03ea9c6bd525067034f6b1" 3212 | dependencies: 3213 | acorn "^5.0.0" 3214 | acorn-dynamic-import "^2.0.0" 3215 | ajv "^4.7.0" 3216 | ajv-keywords "^1.1.1" 3217 | async "^2.1.2" 3218 | enhanced-resolve "^3.3.0" 3219 | interpret "^1.0.0" 3220 | json-loader "^0.5.4" 3221 | json5 "^0.5.1" 3222 | loader-runner "^2.3.0" 3223 | loader-utils "^0.2.16" 3224 | memory-fs "~0.4.1" 3225 | mkdirp "~0.5.0" 3226 | node-libs-browser "^2.0.0" 3227 | source-map "^0.5.3" 3228 | supports-color "^3.1.0" 3229 | tapable "~0.2.5" 3230 | uglify-js "^2.8.27" 3231 | watchpack "^1.3.1" 3232 | webpack-sources "^1.0.1" 3233 | yargs "^6.0.0" 3234 | 3235 | whatwg-encoding@^1.0.1: 3236 | version "1.0.1" 3237 | resolved "https://registry.yarnpkg.com/whatwg-encoding/-/whatwg-encoding-1.0.1.tgz#3c6c451a198ee7aec55b1ec61d0920c67801a5f4" 3238 | dependencies: 3239 | iconv-lite "0.4.13" 3240 | 3241 | whatwg-url@^4.3.0: 3242 | version "4.8.0" 3243 | resolved "https://registry.yarnpkg.com/whatwg-url/-/whatwg-url-4.8.0.tgz#d2981aa9148c1e00a41c5a6131166ab4683bbcc0" 3244 | dependencies: 3245 | tr46 "~0.0.3" 3246 | webidl-conversions "^3.0.0" 3247 | 3248 | which-module@^1.0.0: 3249 | version "1.0.0" 3250 | resolved "https://registry.yarnpkg.com/which-module/-/which-module-1.0.0.tgz#bba63ca861948994ff307736089e3b96026c2a4f" 3251 | 3252 | which@^1.2.12: 3253 | version "1.2.14" 3254 | resolved "https://registry.yarnpkg.com/which/-/which-1.2.14.tgz#9a87c4378f03e827cecaf1acdf56c736c01c14e5" 3255 | dependencies: 3256 | isexe "^2.0.0" 3257 | 3258 | wide-align@^1.1.0: 3259 | version "1.1.2" 3260 | resolved "https://registry.yarnpkg.com/wide-align/-/wide-align-1.1.2.tgz#571e0f1b0604636ebc0dfc21b0339bbe31341710" 3261 | dependencies: 3262 | string-width "^1.0.2" 3263 | 3264 | window-size@0.1.0: 3265 | version "0.1.0" 3266 | resolved "https://registry.yarnpkg.com/window-size/-/window-size-0.1.0.tgz#5438cd2ea93b202efa3a19fe8887aee7c94f9c9d" 3267 | 3268 | wordwrap@0.0.2, wordwrap@~0.0.2: 3269 | version "0.0.2" 3270 | resolved "https://registry.yarnpkg.com/wordwrap/-/wordwrap-0.0.2.tgz#b79669bb42ecb409f83d583cad52ca17eaa1643f" 3271 | 3272 | wordwrap@~1.0.0: 3273 | version "1.0.0" 3274 | resolved "https://registry.yarnpkg.com/wordwrap/-/wordwrap-1.0.0.tgz#27584810891456a4171c8d0226441ade90cbcaeb" 3275 | 3276 | worker-farm@^1.3.1: 3277 | version "1.3.1" 3278 | resolved "https://registry.yarnpkg.com/worker-farm/-/worker-farm-1.3.1.tgz#4333112bb49b17aa050b87895ca6b2cacf40e5ff" 3279 | dependencies: 3280 | errno ">=0.1.1 <0.2.0-0" 3281 | xtend ">=4.0.0 <4.1.0-0" 3282 | 3283 | wrap-ansi@^2.0.0: 3284 | version "2.1.0" 3285 | resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-2.1.0.tgz#d8fc3d284dd05794fe84973caecdd1cf824fdd85" 3286 | dependencies: 3287 | string-width "^1.0.1" 3288 | strip-ansi "^3.0.1" 3289 | 3290 | wrappy@1: 3291 | version "1.0.2" 3292 | resolved "https://registry.yarnpkg.com/wrappy/-/wrappy-1.0.2.tgz#b5243d8f3ec1aa35f1364605bc0d1036e30ab69f" 3293 | 3294 | write@^0.2.1: 3295 | version "0.2.1" 3296 | resolved "https://registry.yarnpkg.com/write/-/write-0.2.1.tgz#5fc03828e264cea3fe91455476f7a3c566cb0757" 3297 | dependencies: 3298 | mkdirp "^0.5.1" 3299 | 3300 | xml-name-validator@^2.0.1: 3301 | version "2.0.1" 3302 | resolved "https://registry.yarnpkg.com/xml-name-validator/-/xml-name-validator-2.0.1.tgz#4d8b8f1eccd3419aa362061becef515e1e559635" 3303 | 3304 | "xtend@>=4.0.0 <4.1.0-0", xtend@^4.0.0: 3305 | version "4.0.1" 3306 | resolved "https://registry.yarnpkg.com/xtend/-/xtend-4.0.1.tgz#a5c6d532be656e23db820efb943a1f04998d63af" 3307 | 3308 | y18n@^3.2.1: 3309 | version "3.2.1" 3310 | resolved "https://registry.yarnpkg.com/y18n/-/y18n-3.2.1.tgz#6d15fba884c08679c0d77e88e7759e811e07fa41" 3311 | 3312 | yargs-parser@^4.2.0: 3313 | version "4.2.1" 3314 | resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-4.2.1.tgz#29cceac0dc4f03c6c87b4a9f217dd18c9f74871c" 3315 | dependencies: 3316 | camelcase "^3.0.0" 3317 | 3318 | yargs-parser@^5.0.0: 3319 | version "5.0.0" 3320 | resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-5.0.0.tgz#275ecf0d7ffe05c77e64e7c86e4cd94bf0e1228a" 3321 | dependencies: 3322 | camelcase "^3.0.0" 3323 | 3324 | yargs@^6.0.0: 3325 | version "6.6.0" 3326 | resolved "https://registry.yarnpkg.com/yargs/-/yargs-6.6.0.tgz#782ec21ef403345f830a808ca3d513af56065208" 3327 | dependencies: 3328 | camelcase "^3.0.0" 3329 | cliui "^3.2.0" 3330 | decamelize "^1.1.1" 3331 | get-caller-file "^1.0.1" 3332 | os-locale "^1.4.0" 3333 | read-pkg-up "^1.0.1" 3334 | require-directory "^2.1.1" 3335 | require-main-filename "^1.0.1" 3336 | set-blocking "^2.0.0" 3337 | string-width "^1.0.2" 3338 | which-module "^1.0.0" 3339 | y18n "^3.2.1" 3340 | yargs-parser "^4.2.0" 3341 | 3342 | yargs@^7.0.2: 3343 | version "7.1.0" 3344 | resolved "https://registry.yarnpkg.com/yargs/-/yargs-7.1.0.tgz#6ba318eb16961727f5d284f8ea003e8d6154d0c8" 3345 | dependencies: 3346 | camelcase "^3.0.0" 3347 | cliui "^3.2.0" 3348 | decamelize "^1.1.1" 3349 | get-caller-file "^1.0.1" 3350 | os-locale "^1.4.0" 3351 | read-pkg-up "^1.0.1" 3352 | require-directory "^2.1.1" 3353 | require-main-filename "^1.0.1" 3354 | set-blocking "^2.0.0" 3355 | string-width "^1.0.2" 3356 | which-module "^1.0.0" 3357 | y18n "^3.2.1" 3358 | yargs-parser "^5.0.0" 3359 | 3360 | yargs@~3.10.0: 3361 | version "3.10.0" 3362 | resolved "https://registry.yarnpkg.com/yargs/-/yargs-3.10.0.tgz#f7ee7bd857dd7c1d2d38c0e74efbd681d1431fd1" 3363 | dependencies: 3364 | camelcase "^1.0.2" 3365 | cliui "^2.1.0" 3366 | decamelize "^1.0.0" 3367 | window-size "0.1.0" 3368 | --------------------------------------------------------------------------------