├── .babelrc ├── .eslintrc ├── .flowconfig ├── .gitignore ├── .travis.yml ├── README.md ├── build ├── alias.js └── config.js ├── dashboard.gif ├── dist └── .gitkeep ├── docker-test.sh ├── examples ├── .gitkeep ├── call-log │ ├── .gitignore │ ├── README.md │ ├── index.js │ ├── log.vue │ ├── package.json │ ├── store.js │ ├── webpack.config.js │ └── yarn.lock ├── dashboard │ ├── .gitignore │ ├── README.md │ ├── dashboard.vue │ ├── index.js │ ├── line.js │ ├── package.json │ ├── primary.vue │ ├── secondary.vue │ ├── webpack.config.js │ └── yarn.lock └── login │ ├── .gitignore │ ├── README.md │ ├── package.json │ ├── rollup.config.js │ ├── src │ ├── index.js │ └── test-component.vue │ └── yarn.lock ├── package.json ├── publish.sh ├── screenshot.png ├── src ├── index.js ├── runtime.js ├── runtime │ ├── modules │ │ ├── attrs.js │ │ ├── events.js │ │ ├── index.js │ │ └── style.js │ ├── node-ops.js │ ├── patch.js │ └── util.js └── util │ ├── attrs │ ├── delayed-update-queue.js │ └── index.js │ ├── compat.js │ ├── dom.js │ ├── element.js │ ├── index.js │ └── style.js ├── test.sh ├── test ├── .eslintrc ├── jasmine.json └── runtime │ ├── attrs.spec.js │ ├── contrib.spec.js │ ├── event.spec.js │ ├── runtime.spec.js │ ├── style.spec.js │ └── util.js └── yarn.lock /.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": ["es2015", "flow-vue"], 3 | "plugins": ["transform-vue-jsx", "syntax-dynamic-import"], 4 | "ignore": [ 5 | "dist/*.js", 6 | "packages/**/*.js" 7 | ] 8 | } 9 | 10 | -------------------------------------------------------------------------------- /.eslintrc: -------------------------------------------------------------------------------- 1 | { 2 | "root": true, 3 | "parser": "babel-eslint", 4 | "extends": "vue", 5 | "plugins": ["flowtype"], 6 | "globals": { 7 | "__WEEX__": true 8 | }, 9 | "rules": { 10 | "no-useless-escape": 0, 11 | "flowtype/define-flow-type": 1, 12 | "flowtype/use-flow-type": 1 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /.flowconfig: -------------------------------------------------------------------------------- 1 | [ignore] 2 | .*/node_modules/.* 3 | .*/test/.* 4 | .*/build/.* 5 | .*/examples/.* 6 | .*/benchmarks/.* 7 | 8 | [include] 9 | 10 | [libs] 11 | flow 12 | 13 | [options] 14 | unsafe.enable_getters_and_setters=true 15 | module.name_mapper='^compiler/\(.*\)$' -> '/src/compiler/\1' 16 | module.name_mapper='^core/\(.*\)$' -> '/src/core/\1' 17 | module.name_mapper='^shared/\(.*\)$' -> '/src/shared/\1' 18 | module.name_mapper='^web/\(.*\)$' -> '/src/platforms/web/\1' 19 | module.name_mapper='^weex/\(.*\)$' -> '/src/platforms/weex/\1' 20 | module.name_mapper='^server/\(.*\)$' -> '/src/server/\1' 21 | module.name_mapper='^entries/\(.*\)$' -> '/src/entries/\1' 22 | module.name_mapper='^sfc/\(.*\)$' -> '/src/sfc/\1' 23 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules/ 2 | dist/build.js 3 | .DS_Store 4 | .vscode -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | sudo: required 2 | 3 | services: 4 | - docker 5 | 6 | install: true 7 | 8 | script: ./docker-test.sh 9 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # blessed-vue [![Build Status](https://travis-ci.org/lyonlai/blessed-vue.svg?branch=master)](https://travis-ci.org/lyonlai/blessed-vue) [![Dependency Status](https://david-dm.org/boennemann/badges.svg)](https://david-dm.org/boennemann/badges) [![npm version](https://badge.fury.io/js/blessed-vue.svg)](https://badge.fury.io/js/blessed-vue) 2 | 3 | Compile against **[VueJS 2.5.13](https://github.com/vuejs/vue/releases/tag/v2.5.13)**. 4 | 5 | This package is a Vue.js runtime for [blessed](https://github.com/chjj/blessed) and now [blessed-contrib](https://github.com/yaronn/blessed-contrib). The current version is compiled against VueJS 2.5.13, which means those lovely features and bug fixes comes with v2.5.13 in vue core will be available in the current version. For example, the lovely improvements about the functional components. 6 | 7 | Blessed is a great replacement for [ncurses](https://en.wikipedia.org/wiki/Ncurses) in building UI for terminal interface in Javascript. The intention of creating this runtime is to bring declarative templates and reactive components of VueJS to simplify the layout of blessed components. 8 | 9 | blessed-contrib is an extension of blessed with custom [drawllie](https://github.com/madbence/node-drawille) widgets to make building dashboard easy in command line. 10 | 11 | This package is inspired by [react-blessed](https://github.com/Yomguithereal/react-blessed). 12 | 13 | ## Table of content 14 | - [Features](#features) 15 | - [Supported Element](#supported-elements) 16 | - [Style](#style) 17 | - [Static string style](#static-string-style) 18 | - [Array style binding](#static-string-style) 19 | - [Object style](#object-style) 20 | - [Installation](#installation) 21 | - [Example](#example) 22 | - [Configuration for rollup-plugin-vue](#configuration-for-rollup-plugin-vue) 23 | - [Screenshots](#screenshots) 24 | - [Login](#login) 25 | - [Dashboard](#dashboard) 26 | 27 | ## Features 28 | ### Supported Element 29 | All the widgets in [blessed widgets](https://github.com/chjj/blessed#widgets) and [blessed-contrib widgets](https://github.com/yaronn/blessed-contrib#widgets) should be supported out of the box. For details of what attributes are available for each element, please refer to the specific widget in [blessed document](https://github.com/chjj/blessed) or [blessed-contrib document](https://github.com/yaronn/blessed-contrib). 30 | 31 | 32 | ### Style 33 | The styling in Blessed Vue is not quite like CSS in the Web. In CSS the style you define on the parent can cascade/flow down to its children down the DOM tree, where in blessed the style is only used by the element it is defined on. 34 | 35 | You can style your blessed element in the following ways. 36 | 37 | #### Static string style 38 | If you don't need value binding in your element style. Blessed Vue supports string style definition. For nested value like focus, hover, scrollbar, etc..., you can use dot style to specify the nested value. See the following example. 39 | 40 | ```html 41 | 42 | ``` 43 | 44 | #### Array style binding 45 | ```html 46 | 49 | 50 | 72 | ``` 73 | 74 | #### Object style 75 | ```html 76 | 79 | 80 | 97 | ``` 98 | 99 | ## Installation 100 | 101 | ``` bash 102 | npm install blessed-vue 103 | ``` 104 | 105 | ## Example 106 | 107 | The following example consists of two files. `index.js` & `test-component.vue`. At the moment blessed-vue shares the same template compiler with web runtime. So in order to load the [single file component](https://vuejs.org/v2/guide/single-file-components.html), you can use either [vue-loader](https://github.com/vuejs/vue-loader) when you are using [webpack](https://webpack.github.io/), or [rollup-plugin-vue](https://github.com/vuejs/rollup-plugin-vue) when you are using [rollup](https://rollupjs.org/). 108 | 109 | ### Configuration for rollup-plugin-vue 110 | There are two lines of config you need to put into rollup-plugin-vue to get blessed-vue working properly. The full example is available in the login example. 111 | 112 | ```javascript 113 | // rollup.config.js 114 | 115 | import vue from 'rollup-plugin-vue'; 116 | // more imports 117 | 118 | export default { 119 | entry: 'src/index.js', 120 | dest: 'bundle.js', // equivalent to --output 121 | ..., // more configs. 122 | plugins: [ 123 | vue({ 124 | htmlMinifier: { 125 | caseSensitive: true, // turn on the case sensitive for preserving the props 126 | keepClosingSlash: true // keep the singleton elements working. 127 | } 128 | }), 129 | ... // more plugins 130 | ], 131 | ... 132 | }; 133 | 134 | ``` 135 | 136 | There are examples available in [example folder](https://github.com/lyonlai/blessed-vue/tree/master/examples). 137 | 138 | * login: Full example shown in README.md using rollup. (*Using official plugin rollup-plugin-vue now.*) 139 | * call-log: an example of webpack & vue-loader. 140 | * dashboard: an example of how to use blessed-contrib element to build a command line dashboard. 141 | 142 | ### Screenshots 143 | 144 | #### Login 145 | ![Login example screenshot](./screenshot.png "Login example screenshot") 146 | 147 | #### Dashboard 148 | ![Dashboard example screenshot](./dashboard.gif "Dashboard example screenshot") 149 | 150 | 151 | ### index.js 152 | 153 | ```Javascript 154 | import Vue from 'blessed-vue' 155 | import TestComponent from './test-component.vue' 156 | 157 | /* 158 | Due the fact that Blessed library doesn't have concept similar to web dom. 159 | Blessed Vue provided a dom element which simulate the behaviour of a web dom to mount the component on. 160 | */ 161 | const el = Vue.dom.createElement() // create a placebo element for Blessed Vue to append on 162 | 163 | Vue.dom.append(el) // attaching the placebo element 164 | 165 | const instance = new Vue({ 166 | name: 'app', 167 | components: { 168 | TestComponent 169 | }, 170 | template: '' 171 | }).$mount(el) // create the landing element then mount it on the placebo one 172 | ``` 173 | 174 | ### template.vue 175 | ```html 176 | 203 | 204 | 254 | ``` 255 | -------------------------------------------------------------------------------- /build/alias.js: -------------------------------------------------------------------------------- 1 | const path = require('path') 2 | 3 | const vuePath = '../node_modules/vue' 4 | 5 | module.exports = { 6 | compiler: path.resolve(__dirname, vuePath, 'src/compiler'), 7 | core: path.resolve(__dirname, vuePath, 'src/core'), 8 | shared: path.resolve(__dirname, vuePath, 'src/shared'), 9 | web: path.resolve(__dirname, vuePath, 'src/platforms/web'), 10 | weex: path.resolve(__dirname, vuePath, 'src/platforms/weex'), 11 | sfc: path.resolve(__dirname, vuePath, 'src/sfc'), 12 | runtime: path.resolve(__dirname, '../src/runtime'), 13 | util: path.resolve(__dirname, '../src/util') 14 | } 15 | -------------------------------------------------------------------------------- /build/config.js: -------------------------------------------------------------------------------- 1 | const path = require('path') 2 | import buble from 'rollup-plugin-buble' 3 | import flow from 'rollup-plugin-flow-no-whitespace' 4 | import alias from 'rollup-plugin-alias' 5 | import replace from 'rollup-plugin-replace' 6 | 7 | const version = process.env.VERSION || require('../package.json').version 8 | 9 | export default { 10 | input: path.resolve(__dirname, '../src/index.js'), 11 | output: { 12 | name: 'BlessedVue', 13 | file: path.resolve(__dirname, '../dist/build.js'), 14 | format: 'cjs' 15 | }, 16 | plugins: [ 17 | replace({ 18 | __WEEX__: false, 19 | __VERSION__: version 20 | }), 21 | flow(), 22 | buble(), 23 | alias(Object.assign({ he: './entity-decoder' }, require('./alias'))) 24 | ], 25 | external: [ 26 | 'blessed', 27 | 'lodash', 28 | 'blessed-contrib' 29 | ] 30 | } 31 | -------------------------------------------------------------------------------- /dashboard.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyonlai/blessed-vue/171cb920d2da17c94a5b1058a4fcb80813e9585b/dashboard.gif -------------------------------------------------------------------------------- /dist/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyonlai/blessed-vue/171cb920d2da17c94a5b1058a4fcb80813e9585b/dist/.gitkeep -------------------------------------------------------------------------------- /docker-test.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | docker run -t --volume=$(pwd):/usr/local/lib/blessed-vue -w="/usr/local/lib/blessed-vue" node:6-wheezy ./test.sh 3 | -------------------------------------------------------------------------------- /examples/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyonlai/blessed-vue/171cb920d2da17c94a5b1058a4fcb80813e9585b/examples/.gitkeep -------------------------------------------------------------------------------- /examples/call-log/.gitignore: -------------------------------------------------------------------------------- 1 | bundle.js 2 | node_modules 3 | -------------------------------------------------------------------------------- /examples/call-log/README.md: -------------------------------------------------------------------------------- 1 | # Call log example. 2 | This example is a [webpack2](https://webpack.github.io/) [vue-loader](https://github.com/vuejs/vue-loader) example. It appends logs after mount every second. 3 | 4 | Example has been updated with VueX. 5 | 6 | ``` 7 | yarn install 8 | yarn start 9 | ``` 10 | -------------------------------------------------------------------------------- /examples/call-log/index.js: -------------------------------------------------------------------------------- 1 | import Vue from 'blessed-vue' 2 | import LogComponent from './log.vue' 3 | import store from './store' 4 | 5 | const el = Vue.dom.createElement() 6 | 7 | Vue.dom.append(el) 8 | 9 | const instance = new Vue({ 10 | name: 'app', 11 | components: { 12 | LogComponent 13 | }, 14 | store, 15 | template: '' 16 | }).$mount(el) 17 | -------------------------------------------------------------------------------- /examples/call-log/log.vue: -------------------------------------------------------------------------------- 1 | 6 | 7 | 43 | -------------------------------------------------------------------------------- /examples/call-log/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "blessed-vue-webpack-loader-example", 3 | "version": "1.0.0", 4 | "main": "index.js", 5 | "license": "MIT", 6 | "scripts": { 7 | "build": "webpack", 8 | "start": "npm run build && node bundle.js" 9 | }, 10 | "devDependencies": { 11 | "vue-loader": "^13.7.0", 12 | "vue-template-compiler": "^2.5.13", 13 | "webpack": "^2.3.3", 14 | "webpack-node-externals": "^1.5.4" 15 | }, 16 | "dependencies": { 17 | "blessed-vue": "2.0.1", 18 | "faker": "^4.1.0", 19 | "moment": "^2.18.1", 20 | "pretty-seconds": "^0.2.1", 21 | "vuex": "^3.0.1" 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /examples/call-log/store.js: -------------------------------------------------------------------------------- 1 | import BlessedVue from 'blessed-vue' 2 | import Vuex from 'vuex' 3 | 4 | BlessedVue.use(Vuex) 5 | 6 | // root state object. 7 | // each Vuex instance is just a single state tree. 8 | const state = { 9 | logs: '' 10 | } 11 | 12 | // mutations are operations that actually mutates the state. 13 | // each mutation handler gets the entire state tree as the 14 | // first argument, followed by additional payload arguments. 15 | // mutations must be synchronous and can be recorded by plugins 16 | // for debugging purposes. 17 | const mutations = { 18 | appendLog (state, message) { 19 | state.logs += `\n\n${message}` 20 | } 21 | } 22 | 23 | // actions are functions that cause side effects and can involve 24 | // asynchronous operations. 25 | const actions = { 26 | appendLog: ({ commit }, message) => commit('appendLog', message) 27 | } 28 | 29 | // getters are functions 30 | const getters = {} 31 | 32 | // A Vuex instance is created by combining the state, mutations, actions, 33 | // and getters. 34 | export default new Vuex.Store({ 35 | state, 36 | getters, 37 | actions, 38 | mutations 39 | }) 40 | -------------------------------------------------------------------------------- /examples/call-log/webpack.config.js: -------------------------------------------------------------------------------- 1 | var nodeExternals = require('webpack-node-externals'); 2 | 3 | module.exports = { 4 | entry: './index.js', 5 | output: { 6 | filename: 'bundle.js', 7 | libraryTarget: "commonjs" 8 | }, 9 | target: 'node', 10 | externals: [nodeExternals()].concat(['../../dist/build']), 11 | module: { 12 | // module.rules is the same as module.loaders in 1.x 13 | rules: [ 14 | { 15 | test: /\.vue$/, 16 | loader: 'vue-loader' 17 | } 18 | ] 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /examples/dashboard/.gitignore: -------------------------------------------------------------------------------- 1 | bundle.js 2 | node_modules 3 | -------------------------------------------------------------------------------- /examples/dashboard/README.md: -------------------------------------------------------------------------------- 1 | # Dashboard example. 2 | This example is a [webpack2](https://webpack.github.io/) [vue-loader](https://github.com/vuejs/vue-loader) example of blessed-contrib. 3 | 4 | It shows a line graph, lcd display & a donut chart. 5 | 6 | ``` 7 | yarn install 8 | yarn start 9 | ``` 10 | -------------------------------------------------------------------------------- /examples/dashboard/dashboard.vue: -------------------------------------------------------------------------------- 1 | 20 | 21 | 68 | -------------------------------------------------------------------------------- /examples/dashboard/index.js: -------------------------------------------------------------------------------- 1 | import Vue from 'blessed-vue' 2 | import Dashboard from './dashboard.vue' 3 | 4 | const el = Vue.dom.createElement() 5 | 6 | Vue.dom.append(el) 7 | 8 | const instance = new Vue({ 9 | name: 'app', 10 | components: { 11 | Dashboard 12 | }, 13 | template: '' 14 | }).$mount(el) 15 | -------------------------------------------------------------------------------- /examples/dashboard/line.js: -------------------------------------------------------------------------------- 1 | export default { 2 | functional: true, 3 | // To compensate for the lack of an instance, 4 | // we are now provided a 2nd context argument. 5 | render: function (createElement, { data: { style }, props: { lineData }}) { 6 | return createElement('line', { 7 | attrs: { 8 | label: 'Press F2 to swap to bar graph', 9 | data: lineData, 10 | barWidth: 4, 11 | barSpacing: 6, 12 | xOffset: 0, 13 | maxHeight: 9, 14 | align: 'center', 15 | valign: 'middle', 16 | border: { type: 'line' }, 17 | style: style, 18 | top: 0, 19 | left: 0, 20 | width: 100, 21 | height: 20 22 | } 23 | }) 24 | // ... 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /examples/dashboard/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "dashboard", 3 | "version": "1.0.0", 4 | "main": "index.js", 5 | "license": "MIT", 6 | "scripts": { 7 | "build": "webpack", 8 | "start": "npm run build && node bundle.js" 9 | }, 10 | "devDependencies": { 11 | "blessed-vue": "2.0.1", 12 | "vue-loader": "13.7.0", 13 | "vue-template-compiler": "2.5.13", 14 | "webpack": "^2.3.3", 15 | "webpack-node-externals": "^1.5.4" 16 | }, 17 | "dependencies": { 18 | "moment": "^2.18.1" 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /examples/dashboard/primary.vue: -------------------------------------------------------------------------------- 1 | 4 | 5 | 48 | -------------------------------------------------------------------------------- /examples/dashboard/secondary.vue: -------------------------------------------------------------------------------- 1 | 4 | 5 | 43 | -------------------------------------------------------------------------------- /examples/dashboard/webpack.config.js: -------------------------------------------------------------------------------- 1 | var nodeExternals = require('webpack-node-externals') 2 | 3 | module.exports = { 4 | entry: './index.js', 5 | output: { 6 | filename: 'bundle.js', 7 | libraryTarget: 'commonjs' 8 | }, 9 | target: 'node', 10 | externals: [nodeExternals()].concat(['../../dist/build']), 11 | module: { 12 | // module.rules is the same as module.loaders in 1.x 13 | rules: [ 14 | { 15 | test: /\.vue$/, 16 | loader: 'vue-loader' 17 | } 18 | ] 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /examples/dashboard/yarn.lock: -------------------------------------------------------------------------------- 1 | # THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. 2 | # yarn lockfile v1 3 | 4 | 5 | abbrev@1: 6 | version "1.1.0" 7 | resolved "https://registry.yarnpkg.com/abbrev/-/abbrev-1.1.0.tgz#d0554c2256636e2f56e7c2e5ad183f859428d81f" 8 | 9 | acorn-dynamic-import@^2.0.0: 10 | version "2.0.2" 11 | resolved "https://registry.yarnpkg.com/acorn-dynamic-import/-/acorn-dynamic-import-2.0.2.tgz#c752bd210bef679501b6c6cb7fc84f8f47158cc4" 12 | dependencies: 13 | acorn "^4.0.3" 14 | 15 | acorn@^4.0.3, acorn@^4.0.4: 16 | version "4.0.11" 17 | resolved "https://registry.yarnpkg.com/acorn/-/acorn-4.0.11.tgz#edcda3bd937e7556410d42ed5860f67399c794c0" 18 | 19 | ajv-keywords@^1.1.1: 20 | version "1.5.1" 21 | resolved "https://registry.yarnpkg.com/ajv-keywords/-/ajv-keywords-1.5.1.tgz#314dd0a4b3368fad3dfcdc54ede6171b886daf3c" 22 | 23 | ajv@^4.7.0, ajv@^4.9.1: 24 | version "4.11.6" 25 | resolved "https://registry.yarnpkg.com/ajv/-/ajv-4.11.6.tgz#947e93049790942b2a2d60a8289b28924d39f987" 26 | dependencies: 27 | co "^4.6.0" 28 | json-stable-stringify "^1.0.1" 29 | 30 | align-text@^0.1.1, align-text@^0.1.3: 31 | version "0.1.4" 32 | resolved "https://registry.yarnpkg.com/align-text/-/align-text-0.1.4.tgz#0cd90a561093f35d0a99256c22b7069433fad117" 33 | dependencies: 34 | kind-of "^3.0.2" 35 | longest "^1.0.1" 36 | repeat-string "^1.5.2" 37 | 38 | ansi-regex@^2.0.0: 39 | version "2.1.1" 40 | resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-2.1.1.tgz#c3b33ab5ee360d86e0e628f0468ae7ef27d654df" 41 | 42 | ansi-styles@^2.2.1: 43 | version "2.2.1" 44 | resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-2.2.1.tgz#b432dd3358b634cf75e1e4664368240533c1ddbe" 45 | 46 | ansi-styles@^3.1.0: 47 | version "3.2.0" 48 | resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-3.2.0.tgz#c159b8d5be0f9e5a6f346dab94f16ce022161b88" 49 | dependencies: 50 | color-convert "^1.9.0" 51 | 52 | ansi-term@>=0.0.2: 53 | version "0.0.2" 54 | resolved "https://registry.yarnpkg.com/ansi-term/-/ansi-term-0.0.2.tgz#fd753efa4beada0eac99981bc52a3f6ff019deb7" 55 | dependencies: 56 | x256 ">=0.0.1" 57 | 58 | ansicolors@~0.2.1: 59 | version "0.2.1" 60 | resolved "https://registry.yarnpkg.com/ansicolors/-/ansicolors-0.2.1.tgz#be089599097b74a5c9c4a84a0cdbcdb62bd87aef" 61 | 62 | anymatch@^1.3.0: 63 | version "1.3.0" 64 | resolved "https://registry.yarnpkg.com/anymatch/-/anymatch-1.3.0.tgz#a3e52fa39168c825ff57b0248126ce5a8ff95507" 65 | dependencies: 66 | arrify "^1.0.0" 67 | micromatch "^2.1.5" 68 | 69 | aproba@^1.0.3: 70 | version "1.1.1" 71 | resolved "https://registry.yarnpkg.com/aproba/-/aproba-1.1.1.tgz#95d3600f07710aa0e9298c726ad5ecf2eacbabab" 72 | 73 | are-we-there-yet@~1.1.2: 74 | version "1.1.2" 75 | resolved "https://registry.yarnpkg.com/are-we-there-yet/-/are-we-there-yet-1.1.2.tgz#80e470e95a084794fe1899262c5667c6e88de1b3" 76 | dependencies: 77 | delegates "^1.0.0" 78 | readable-stream "^2.0.0 || ^1.1.13" 79 | 80 | argparse@^1.0.7: 81 | version "1.0.9" 82 | resolved "https://registry.yarnpkg.com/argparse/-/argparse-1.0.9.tgz#73d83bc263f86e97f8cc4f6bae1b0e90a7d22c86" 83 | dependencies: 84 | sprintf-js "~1.0.2" 85 | 86 | arr-diff@^2.0.0: 87 | version "2.0.0" 88 | resolved "https://registry.yarnpkg.com/arr-diff/-/arr-diff-2.0.0.tgz#8f3b827f955a8bd669697e4a4256ac3ceae356cf" 89 | dependencies: 90 | arr-flatten "^1.0.1" 91 | 92 | arr-flatten@^1.0.1: 93 | version "1.0.1" 94 | resolved "https://registry.yarnpkg.com/arr-flatten/-/arr-flatten-1.0.1.tgz#e5ffe54d45e19f32f216e91eb99c8ce892bb604b" 95 | 96 | array-unique@^0.2.1: 97 | version "0.2.1" 98 | resolved "https://registry.yarnpkg.com/array-unique/-/array-unique-0.2.1.tgz#a1d97ccafcbc2625cc70fadceb36a50c58b01a53" 99 | 100 | arrify@^1.0.0: 101 | version "1.0.1" 102 | resolved "https://registry.yarnpkg.com/arrify/-/arrify-1.0.1.tgz#898508da2226f380df904728456849c1501a4b0d" 103 | 104 | asn1.js@^4.0.0: 105 | version "4.9.1" 106 | resolved "https://registry.yarnpkg.com/asn1.js/-/asn1.js-4.9.1.tgz#48ba240b45a9280e94748990ba597d216617fd40" 107 | dependencies: 108 | bn.js "^4.0.0" 109 | inherits "^2.0.1" 110 | minimalistic-assert "^1.0.0" 111 | 112 | asn1@~0.2.3: 113 | version "0.2.3" 114 | resolved "https://registry.yarnpkg.com/asn1/-/asn1-0.2.3.tgz#dac8787713c9966849fc8180777ebe9c1ddf3b86" 115 | 116 | assert-plus@1.0.0, assert-plus@^1.0.0: 117 | version "1.0.0" 118 | resolved "https://registry.yarnpkg.com/assert-plus/-/assert-plus-1.0.0.tgz#f12e0f3c5d77b0b1cdd9146942e4e96c1e4dd525" 119 | 120 | assert-plus@^0.2.0: 121 | version "0.2.0" 122 | resolved "https://registry.yarnpkg.com/assert-plus/-/assert-plus-0.2.0.tgz#d74e1b87e7affc0db8aadb7021f3fe48101ab234" 123 | 124 | assert@^1.1.1: 125 | version "1.4.1" 126 | resolved "https://registry.yarnpkg.com/assert/-/assert-1.4.1.tgz#99912d591836b5a6f5b345c0f07eefc08fc65d91" 127 | dependencies: 128 | util "0.10.3" 129 | 130 | async-each@^1.0.0: 131 | version "1.0.1" 132 | resolved "https://registry.yarnpkg.com/async-each/-/async-each-1.0.1.tgz#19d386a1d9edc6e7c1c85d388aedbcc56d33602d" 133 | 134 | async@^2.1.2: 135 | version "2.3.0" 136 | resolved "https://registry.yarnpkg.com/async/-/async-2.3.0.tgz#1013d1051047dd320fe24e494d5c66ecaf6147d9" 137 | dependencies: 138 | lodash "^4.14.0" 139 | 140 | asynckit@^0.4.0: 141 | version "0.4.0" 142 | resolved "https://registry.yarnpkg.com/asynckit/-/asynckit-0.4.0.tgz#c79ed97f7f34cb8f2ba1bc9790bcc366474b4b79" 143 | 144 | aws-sign2@~0.6.0: 145 | version "0.6.0" 146 | resolved "https://registry.yarnpkg.com/aws-sign2/-/aws-sign2-0.6.0.tgz#14342dd38dbcc94d0e5b87d763cd63612c0e794f" 147 | 148 | aws4@^1.2.1: 149 | version "1.6.0" 150 | resolved "https://registry.yarnpkg.com/aws4/-/aws4-1.6.0.tgz#83ef5ca860b2b32e4a0deedee8c771b9db57471e" 151 | 152 | balanced-match@^0.4.1: 153 | version "0.4.2" 154 | resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-0.4.2.tgz#cb3f3e3c732dc0f01ee70b403f302e61d7709838" 155 | 156 | base64-js@^1.0.2: 157 | version "1.2.0" 158 | resolved "https://registry.yarnpkg.com/base64-js/-/base64-js-1.2.0.tgz#a39992d723584811982be5e290bb6a53d86700f1" 159 | 160 | bcrypt-pbkdf@^1.0.0: 161 | version "1.0.1" 162 | resolved "https://registry.yarnpkg.com/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.1.tgz#63bc5dcb61331b92bc05fd528953c33462a06f8d" 163 | dependencies: 164 | tweetnacl "^0.14.3" 165 | 166 | big.js@^3.1.3: 167 | version "3.1.3" 168 | resolved "https://registry.yarnpkg.com/big.js/-/big.js-3.1.3.tgz#4cada2193652eb3ca9ec8e55c9015669c9806978" 169 | 170 | binary-extensions@^1.0.0: 171 | version "1.8.0" 172 | resolved "https://registry.yarnpkg.com/binary-extensions/-/binary-extensions-1.8.0.tgz#48ec8d16df4377eae5fa5884682480af4d95c774" 173 | 174 | blessed-contrib@^4.8.5: 175 | version "4.8.5" 176 | resolved "https://registry.yarnpkg.com/blessed-contrib/-/blessed-contrib-4.8.5.tgz#39796717c7fe3e4cb4b074cdc8ae2f9280e97ff8" 177 | dependencies: 178 | ansi-term ">=0.0.2" 179 | chalk "^1.1.0" 180 | drawille-canvas-blessed-contrib ">=0.1.3" 181 | lodash ">=3.0.0" 182 | map-canvas ">=0.1.5" 183 | marked "^0.3.3" 184 | marked-terminal "^1.5.0" 185 | memory-streams "^0.1.0" 186 | memorystream "^0.3.1" 187 | picture-tube "0.0.4" 188 | request "^2.53.0" 189 | sparkline "^0.1.1" 190 | strip-ansi "^3.0.0" 191 | term-canvas "0.0.5" 192 | x256 ">=0.0.1" 193 | 194 | blessed-vue@2.0.1: 195 | version "2.0.1" 196 | resolved "https://registry.yarnpkg.com/blessed-vue/-/blessed-vue-2.0.1.tgz#542b322d7cf8a0674f81a21729772bceef8056c0" 197 | dependencies: 198 | blessed "^0.1.81" 199 | blessed-contrib "^4.8.5" 200 | lodash "^4.17.4" 201 | 202 | blessed@^0.1.81: 203 | version "0.1.81" 204 | resolved "https://registry.yarnpkg.com/blessed/-/blessed-0.1.81.tgz#f962d687ec2c369570ae71af843256e6d0ca1129" 205 | 206 | block-stream@*: 207 | version "0.0.9" 208 | resolved "https://registry.yarnpkg.com/block-stream/-/block-stream-0.0.9.tgz#13ebfe778a03205cfe03751481ebb4b3300c126a" 209 | dependencies: 210 | inherits "~2.0.0" 211 | 212 | bluebird@^3.1.1: 213 | version "3.5.0" 214 | resolved "https://registry.yarnpkg.com/bluebird/-/bluebird-3.5.0.tgz#791420d7f551eea2897453a8a77653f96606d67c" 215 | 216 | bn.js@^4.0.0, bn.js@^4.1.0, bn.js@^4.1.1, bn.js@^4.4.0: 217 | version "4.11.6" 218 | resolved "https://registry.yarnpkg.com/bn.js/-/bn.js-4.11.6.tgz#53344adb14617a13f6e8dd2ce28905d1c0ba3215" 219 | 220 | boom@2.x.x: 221 | version "2.10.1" 222 | resolved "https://registry.yarnpkg.com/boom/-/boom-2.10.1.tgz#39c8918ceff5799f83f9492a848f625add0c766f" 223 | dependencies: 224 | hoek "2.x.x" 225 | 226 | brace-expansion@^1.0.0: 227 | version "1.1.7" 228 | resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-1.1.7.tgz#3effc3c50e000531fb720eaff80f0ae8ef23cf59" 229 | dependencies: 230 | balanced-match "^0.4.1" 231 | concat-map "0.0.1" 232 | 233 | braces@^1.8.2: 234 | version "1.8.5" 235 | resolved "https://registry.yarnpkg.com/braces/-/braces-1.8.5.tgz#ba77962e12dff969d6b76711e914b737857bf6a7" 236 | dependencies: 237 | expand-range "^1.8.1" 238 | preserve "^0.2.0" 239 | repeat-element "^1.1.2" 240 | 241 | bresenham@0.0.3: 242 | version "0.0.3" 243 | resolved "https://registry.yarnpkg.com/bresenham/-/bresenham-0.0.3.tgz#abdab9e5b194e27c757cd314d8444314f299877a" 244 | 245 | brorand@^1.0.1: 246 | version "1.1.0" 247 | resolved "https://registry.yarnpkg.com/brorand/-/brorand-1.1.0.tgz#12c25efe40a45e3c323eb8675a0a0ce57b22371f" 248 | 249 | browserify-aes@^1.0.0, browserify-aes@^1.0.4: 250 | version "1.0.6" 251 | resolved "https://registry.yarnpkg.com/browserify-aes/-/browserify-aes-1.0.6.tgz#5e7725dbdef1fd5930d4ebab48567ce451c48a0a" 252 | dependencies: 253 | buffer-xor "^1.0.2" 254 | cipher-base "^1.0.0" 255 | create-hash "^1.1.0" 256 | evp_bytestokey "^1.0.0" 257 | inherits "^2.0.1" 258 | 259 | browserify-cipher@^1.0.0: 260 | version "1.0.0" 261 | resolved "https://registry.yarnpkg.com/browserify-cipher/-/browserify-cipher-1.0.0.tgz#9988244874bf5ed4e28da95666dcd66ac8fc363a" 262 | dependencies: 263 | browserify-aes "^1.0.4" 264 | browserify-des "^1.0.0" 265 | evp_bytestokey "^1.0.0" 266 | 267 | browserify-des@^1.0.0: 268 | version "1.0.0" 269 | resolved "https://registry.yarnpkg.com/browserify-des/-/browserify-des-1.0.0.tgz#daa277717470922ed2fe18594118a175439721dd" 270 | dependencies: 271 | cipher-base "^1.0.1" 272 | des.js "^1.0.0" 273 | inherits "^2.0.1" 274 | 275 | browserify-rsa@^4.0.0: 276 | version "4.0.1" 277 | resolved "https://registry.yarnpkg.com/browserify-rsa/-/browserify-rsa-4.0.1.tgz#21e0abfaf6f2029cf2fafb133567a701d4135524" 278 | dependencies: 279 | bn.js "^4.1.0" 280 | randombytes "^2.0.1" 281 | 282 | browserify-sign@^4.0.0: 283 | version "4.0.4" 284 | resolved "https://registry.yarnpkg.com/browserify-sign/-/browserify-sign-4.0.4.tgz#aa4eb68e5d7b658baa6bf6a57e630cbd7a93d298" 285 | dependencies: 286 | bn.js "^4.1.1" 287 | browserify-rsa "^4.0.0" 288 | create-hash "^1.1.0" 289 | create-hmac "^1.1.2" 290 | elliptic "^6.0.0" 291 | inherits "^2.0.1" 292 | parse-asn1 "^5.0.0" 293 | 294 | browserify-zlib@^0.1.4: 295 | version "0.1.4" 296 | resolved "https://registry.yarnpkg.com/browserify-zlib/-/browserify-zlib-0.1.4.tgz#bb35f8a519f600e0fa6b8485241c979d0141fb2d" 297 | dependencies: 298 | pako "~0.2.0" 299 | 300 | buffer-shims@~1.0.0: 301 | version "1.0.0" 302 | resolved "https://registry.yarnpkg.com/buffer-shims/-/buffer-shims-1.0.0.tgz#9978ce317388c649ad8793028c3477ef044a8b51" 303 | 304 | buffer-xor@^1.0.2: 305 | version "1.0.3" 306 | resolved "https://registry.yarnpkg.com/buffer-xor/-/buffer-xor-1.0.3.tgz#26e61ed1422fb70dd42e6e36729ed51d855fe8d9" 307 | 308 | buffer@^4.3.0: 309 | version "4.9.1" 310 | resolved "https://registry.yarnpkg.com/buffer/-/buffer-4.9.1.tgz#6d1bb601b07a4efced97094132093027c95bc298" 311 | dependencies: 312 | base64-js "^1.0.2" 313 | ieee754 "^1.1.4" 314 | isarray "^1.0.0" 315 | 316 | buffers@~0.1.1: 317 | version "0.1.1" 318 | resolved "https://registry.yarnpkg.com/buffers/-/buffers-0.1.1.tgz#b24579c3bed4d6d396aeee6d9a8ae7f5482ab7bb" 319 | 320 | builtin-modules@^1.0.0: 321 | version "1.1.1" 322 | resolved "https://registry.yarnpkg.com/builtin-modules/-/builtin-modules-1.1.1.tgz#270f076c5a72c02f5b65a47df94c5fe3a278892f" 323 | 324 | builtin-status-codes@^3.0.0: 325 | version "3.0.0" 326 | resolved "https://registry.yarnpkg.com/builtin-status-codes/-/builtin-status-codes-3.0.0.tgz#85982878e21b98e1c66425e03d0174788f569ee8" 327 | 328 | camelcase@^1.0.2: 329 | version "1.2.1" 330 | resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-1.2.1.tgz#9bb5304d2e0b56698b2c758b08a3eaa9daa58a39" 331 | 332 | camelcase@^3.0.0: 333 | version "3.0.0" 334 | resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-3.0.0.tgz#32fc4b9fcdaf845fcdf7e73bb97cac2261f0ab0a" 335 | 336 | cardinal@^1.0.0: 337 | version "1.0.0" 338 | resolved "https://registry.yarnpkg.com/cardinal/-/cardinal-1.0.0.tgz#50e21c1b0aa37729f9377def196b5a9cec932ee9" 339 | dependencies: 340 | ansicolors "~0.2.1" 341 | redeyed "~1.0.0" 342 | 343 | caseless@~0.12.0: 344 | version "0.12.0" 345 | resolved "https://registry.yarnpkg.com/caseless/-/caseless-0.12.0.tgz#1b681c21ff84033c826543090689420d187151dc" 346 | 347 | center-align@^0.1.1: 348 | version "0.1.3" 349 | resolved "https://registry.yarnpkg.com/center-align/-/center-align-0.1.3.tgz#aa0d32629b6ee972200411cbd4461c907bc2b7ad" 350 | dependencies: 351 | align-text "^0.1.3" 352 | lazy-cache "^1.0.3" 353 | 354 | chalk@^1.1.0, chalk@^1.1.3: 355 | version "1.1.3" 356 | resolved "https://registry.yarnpkg.com/chalk/-/chalk-1.1.3.tgz#a8115c55e4a702fe4d150abd3872822a7e09fc98" 357 | dependencies: 358 | ansi-styles "^2.2.1" 359 | escape-string-regexp "^1.0.2" 360 | has-ansi "^2.0.0" 361 | strip-ansi "^3.0.0" 362 | supports-color "^2.0.0" 363 | 364 | chalk@^2.3.0: 365 | version "2.3.0" 366 | resolved "https://registry.yarnpkg.com/chalk/-/chalk-2.3.0.tgz#b5ea48efc9c1793dccc9b4767c93914d3f2d52ba" 367 | dependencies: 368 | ansi-styles "^3.1.0" 369 | escape-string-regexp "^1.0.5" 370 | supports-color "^4.0.0" 371 | 372 | charm@~0.1.0: 373 | version "0.1.2" 374 | resolved "https://registry.yarnpkg.com/charm/-/charm-0.1.2.tgz#06c21eed1a1b06aeb67553cdc53e23274bac2296" 375 | 376 | chokidar@^1.4.3: 377 | version "1.6.1" 378 | resolved "https://registry.yarnpkg.com/chokidar/-/chokidar-1.6.1.tgz#2f4447ab5e96e50fb3d789fd90d4c72e0e4c70c2" 379 | dependencies: 380 | anymatch "^1.3.0" 381 | async-each "^1.0.0" 382 | glob-parent "^2.0.0" 383 | inherits "^2.0.1" 384 | is-binary-path "^1.0.0" 385 | is-glob "^2.0.0" 386 | path-is-absolute "^1.0.0" 387 | readdirp "^2.0.0" 388 | optionalDependencies: 389 | fsevents "^1.0.0" 390 | 391 | cipher-base@^1.0.0, cipher-base@^1.0.1: 392 | version "1.0.3" 393 | resolved "https://registry.yarnpkg.com/cipher-base/-/cipher-base-1.0.3.tgz#eeabf194419ce900da3018c207d212f2a6df0a07" 394 | dependencies: 395 | inherits "^2.0.1" 396 | 397 | cli-table@^0.3.1: 398 | version "0.3.1" 399 | resolved "https://registry.yarnpkg.com/cli-table/-/cli-table-0.3.1.tgz#f53b05266a8b1a0b934b3d0821e6e2dc5914ae23" 400 | dependencies: 401 | colors "1.0.3" 402 | 403 | cliui@^2.1.0: 404 | version "2.1.0" 405 | resolved "https://registry.yarnpkg.com/cliui/-/cliui-2.1.0.tgz#4b475760ff80264c762c3a1719032e91c7fea0d1" 406 | dependencies: 407 | center-align "^0.1.1" 408 | right-align "^0.1.1" 409 | wordwrap "0.0.2" 410 | 411 | cliui@^3.2.0: 412 | version "3.2.0" 413 | resolved "https://registry.yarnpkg.com/cliui/-/cliui-3.2.0.tgz#120601537a916d29940f934da3b48d585a39213d" 414 | dependencies: 415 | string-width "^1.0.1" 416 | strip-ansi "^3.0.1" 417 | wrap-ansi "^2.0.0" 418 | 419 | co@^4.6.0: 420 | version "4.6.0" 421 | resolved "https://registry.yarnpkg.com/co/-/co-4.6.0.tgz#6ea6bdf3d853ae54ccb8e47bfa0bf3f9031fb184" 422 | 423 | code-point-at@^1.0.0: 424 | version "1.1.0" 425 | resolved "https://registry.yarnpkg.com/code-point-at/-/code-point-at-1.1.0.tgz#0d070b4d043a5bea33a2f1a40e2edb3d9a4ccf77" 426 | 427 | color-convert@^1.9.0: 428 | version "1.9.1" 429 | resolved "https://registry.yarnpkg.com/color-convert/-/color-convert-1.9.1.tgz#c1261107aeb2f294ebffec9ed9ecad529a6097ed" 430 | dependencies: 431 | color-name "^1.1.1" 432 | 433 | color-name@^1.1.1: 434 | version "1.1.3" 435 | resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.3.tgz#a7d0558bd89c42f795dd42328f740831ca53bc25" 436 | 437 | colors@1.0.3: 438 | version "1.0.3" 439 | resolved "https://registry.yarnpkg.com/colors/-/colors-1.0.3.tgz#0433f44d809680fdeb60ed260f1b0c262e82a40b" 440 | 441 | combined-stream@^1.0.5, combined-stream@~1.0.5: 442 | version "1.0.5" 443 | resolved "https://registry.yarnpkg.com/combined-stream/-/combined-stream-1.0.5.tgz#938370a57b4a51dea2c77c15d5c5fdf895164009" 444 | dependencies: 445 | delayed-stream "~1.0.0" 446 | 447 | concat-map@0.0.1: 448 | version "0.0.1" 449 | resolved "https://registry.yarnpkg.com/concat-map/-/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b" 450 | 451 | console-browserify@^1.1.0: 452 | version "1.1.0" 453 | resolved "https://registry.yarnpkg.com/console-browserify/-/console-browserify-1.1.0.tgz#f0241c45730a9fc6323b206dbf38edc741d0bb10" 454 | dependencies: 455 | date-now "^0.1.4" 456 | 457 | console-control-strings@^1.0.0, console-control-strings@~1.1.0: 458 | version "1.1.0" 459 | resolved "https://registry.yarnpkg.com/console-control-strings/-/console-control-strings-1.1.0.tgz#3d7cf4464db6446ea644bf4b39507f9851008e8e" 460 | 461 | consolidate@^0.14.0: 462 | version "0.14.5" 463 | resolved "https://registry.yarnpkg.com/consolidate/-/consolidate-0.14.5.tgz#5a25047bc76f73072667c8cb52c989888f494c63" 464 | dependencies: 465 | bluebird "^3.1.1" 466 | 467 | constants-browserify@^1.0.0: 468 | version "1.0.0" 469 | resolved "https://registry.yarnpkg.com/constants-browserify/-/constants-browserify-1.0.0.tgz#c20b96d8c617748aaf1c16021760cd27fcb8cb75" 470 | 471 | core-util-is@~1.0.0: 472 | version "1.0.2" 473 | resolved "https://registry.yarnpkg.com/core-util-is/-/core-util-is-1.0.2.tgz#b5fd54220aa2bc5ab57aab7140c940754503c1a7" 474 | 475 | cosmiconfig@^2.1.0, cosmiconfig@^2.1.1: 476 | version "2.1.1" 477 | resolved "https://registry.yarnpkg.com/cosmiconfig/-/cosmiconfig-2.1.1.tgz#817f2c2039347a1e9bf7d090c0923e53f749ca82" 478 | dependencies: 479 | js-yaml "^3.4.3" 480 | minimist "^1.2.0" 481 | object-assign "^4.1.0" 482 | os-homedir "^1.0.1" 483 | parse-json "^2.2.0" 484 | require-from-string "^1.1.0" 485 | 486 | create-ecdh@^4.0.0: 487 | version "4.0.0" 488 | resolved "https://registry.yarnpkg.com/create-ecdh/-/create-ecdh-4.0.0.tgz#888c723596cdf7612f6498233eebd7a35301737d" 489 | dependencies: 490 | bn.js "^4.1.0" 491 | elliptic "^6.0.0" 492 | 493 | create-hash@^1.1.0, create-hash@^1.1.1: 494 | version "1.1.2" 495 | resolved "https://registry.yarnpkg.com/create-hash/-/create-hash-1.1.2.tgz#51210062d7bb7479f6c65bb41a92208b1d61abad" 496 | dependencies: 497 | cipher-base "^1.0.1" 498 | inherits "^2.0.1" 499 | ripemd160 "^1.0.0" 500 | sha.js "^2.3.6" 501 | 502 | create-hmac@^1.1.0, create-hmac@^1.1.2: 503 | version "1.1.4" 504 | resolved "https://registry.yarnpkg.com/create-hmac/-/create-hmac-1.1.4.tgz#d3fb4ba253eb8b3f56e39ea2fbcb8af747bd3170" 505 | dependencies: 506 | create-hash "^1.1.0" 507 | inherits "^2.0.1" 508 | 509 | cryptiles@2.x.x: 510 | version "2.0.5" 511 | resolved "https://registry.yarnpkg.com/cryptiles/-/cryptiles-2.0.5.tgz#3bdfecdc608147c1c67202fa291e7dca59eaa3b8" 512 | dependencies: 513 | boom "2.x.x" 514 | 515 | crypto-browserify@^3.11.0: 516 | version "3.11.0" 517 | resolved "https://registry.yarnpkg.com/crypto-browserify/-/crypto-browserify-3.11.0.tgz#3652a0906ab9b2a7e0c3ce66a408e957a2485522" 518 | dependencies: 519 | browserify-cipher "^1.0.0" 520 | browserify-sign "^4.0.0" 521 | create-ecdh "^4.0.0" 522 | create-hash "^1.1.0" 523 | create-hmac "^1.1.0" 524 | diffie-hellman "^5.0.0" 525 | inherits "^2.0.1" 526 | pbkdf2 "^3.0.3" 527 | public-encrypt "^4.0.0" 528 | randombytes "^2.0.0" 529 | 530 | dashdash@^1.12.0: 531 | version "1.14.1" 532 | resolved "https://registry.yarnpkg.com/dashdash/-/dashdash-1.14.1.tgz#853cfa0f7cbe2fed5de20326b8dd581035f6e2f0" 533 | dependencies: 534 | assert-plus "^1.0.0" 535 | 536 | date-now@^0.1.4: 537 | version "0.1.4" 538 | resolved "https://registry.yarnpkg.com/date-now/-/date-now-0.1.4.tgz#eaf439fd4d4848ad74e5cc7dbef200672b9e345b" 539 | 540 | de-indent@^1.0.2: 541 | version "1.0.2" 542 | resolved "https://registry.yarnpkg.com/de-indent/-/de-indent-1.0.2.tgz#b2038e846dc33baa5796128d0804b455b8c1e21d" 543 | 544 | debug@^2.2.0: 545 | version "2.6.3" 546 | resolved "https://registry.yarnpkg.com/debug/-/debug-2.6.3.tgz#0f7eb8c30965ec08c72accfa0130c8b79984141d" 547 | dependencies: 548 | ms "0.7.2" 549 | 550 | decamelize@^1.0.0, decamelize@^1.1.1: 551 | version "1.2.0" 552 | resolved "https://registry.yarnpkg.com/decamelize/-/decamelize-1.2.0.tgz#f6534d15148269b20352e7bee26f501f9a191290" 553 | 554 | deep-extend@~0.4.0: 555 | version "0.4.1" 556 | resolved "https://registry.yarnpkg.com/deep-extend/-/deep-extend-0.4.1.tgz#efe4113d08085f4e6f9687759810f807469e2253" 557 | 558 | delayed-stream@~1.0.0: 559 | version "1.0.0" 560 | resolved "https://registry.yarnpkg.com/delayed-stream/-/delayed-stream-1.0.0.tgz#df3ae199acadfb7d440aaae0b29e2272b24ec619" 561 | 562 | delegates@^1.0.0: 563 | version "1.0.0" 564 | resolved "https://registry.yarnpkg.com/delegates/-/delegates-1.0.0.tgz#84c6e159b81904fdca59a0ef44cd870d31250f9a" 565 | 566 | des.js@^1.0.0: 567 | version "1.0.0" 568 | resolved "https://registry.yarnpkg.com/des.js/-/des.js-1.0.0.tgz#c074d2e2aa6a8a9a07dbd61f9a15c2cd83ec8ecc" 569 | dependencies: 570 | inherits "^2.0.1" 571 | minimalistic-assert "^1.0.0" 572 | 573 | diffie-hellman@^5.0.0: 574 | version "5.0.2" 575 | resolved "https://registry.yarnpkg.com/diffie-hellman/-/diffie-hellman-5.0.2.tgz#b5835739270cfe26acf632099fded2a07f209e5e" 576 | dependencies: 577 | bn.js "^4.1.0" 578 | miller-rabin "^4.0.0" 579 | randombytes "^2.0.0" 580 | 581 | domain-browser@^1.1.1: 582 | version "1.1.7" 583 | resolved "https://registry.yarnpkg.com/domain-browser/-/domain-browser-1.1.7.tgz#867aa4b093faa05f1de08c06f4d7b21fdf8698bc" 584 | 585 | drawille-blessed-contrib@>=0.0.1: 586 | version "1.0.0" 587 | resolved "https://registry.yarnpkg.com/drawille-blessed-contrib/-/drawille-blessed-contrib-1.0.0.tgz#15c27934f57a0056ad13596e1561637bc941f0b7" 588 | 589 | drawille-canvas-blessed-contrib@>=0.0.1, drawille-canvas-blessed-contrib@>=0.1.3: 590 | version "0.1.3" 591 | resolved "https://registry.yarnpkg.com/drawille-canvas-blessed-contrib/-/drawille-canvas-blessed-contrib-0.1.3.tgz#212f078a722bfd2ecc267ea86ab6dddc1081fd48" 592 | dependencies: 593 | ansi-term ">=0.0.2" 594 | bresenham "0.0.3" 595 | drawille-blessed-contrib ">=0.0.1" 596 | gl-matrix "^2.1.0" 597 | x256 ">=0.0.1" 598 | 599 | ecc-jsbn@~0.1.1: 600 | version "0.1.1" 601 | resolved "https://registry.yarnpkg.com/ecc-jsbn/-/ecc-jsbn-0.1.1.tgz#0fc73a9ed5f0d53c38193398523ef7e543777505" 602 | dependencies: 603 | jsbn "~0.1.0" 604 | 605 | elliptic@^6.0.0: 606 | version "6.4.0" 607 | resolved "https://registry.yarnpkg.com/elliptic/-/elliptic-6.4.0.tgz#cac9af8762c85836187003c8dfe193e5e2eae5df" 608 | dependencies: 609 | bn.js "^4.4.0" 610 | brorand "^1.0.1" 611 | hash.js "^1.0.0" 612 | hmac-drbg "^1.0.0" 613 | inherits "^2.0.1" 614 | minimalistic-assert "^1.0.0" 615 | minimalistic-crypto-utils "^1.0.0" 616 | 617 | emojis-list@^2.0.0: 618 | version "2.1.0" 619 | resolved "https://registry.yarnpkg.com/emojis-list/-/emojis-list-2.1.0.tgz#4daa4d9db00f9819880c79fa457ae5b09a1fd389" 620 | 621 | enhanced-resolve@^3.0.0: 622 | version "3.1.0" 623 | resolved "https://registry.yarnpkg.com/enhanced-resolve/-/enhanced-resolve-3.1.0.tgz#9f4b626f577245edcf4b2ad83d86e17f4f421dec" 624 | dependencies: 625 | graceful-fs "^4.1.2" 626 | memory-fs "^0.4.0" 627 | object-assign "^4.0.1" 628 | tapable "^0.2.5" 629 | 630 | errno@^0.1.3: 631 | version "0.1.4" 632 | resolved "https://registry.yarnpkg.com/errno/-/errno-0.1.4.tgz#b896e23a9e5e8ba33871fc996abd3635fc9a1c7d" 633 | dependencies: 634 | prr "~0.0.0" 635 | 636 | error-ex@^1.2.0: 637 | version "1.3.1" 638 | resolved "https://registry.yarnpkg.com/error-ex/-/error-ex-1.3.1.tgz#f855a86ce61adc4e8621c3cda21e7a7612c3a8dc" 639 | dependencies: 640 | is-arrayish "^0.2.1" 641 | 642 | escape-string-regexp@^1.0.2, escape-string-regexp@^1.0.5: 643 | version "1.0.5" 644 | resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz#1b61c0562190a8dff6ae3bb2cf0200ca130b86d4" 645 | 646 | esprima@^3.1.1: 647 | version "3.1.3" 648 | resolved "https://registry.yarnpkg.com/esprima/-/esprima-3.1.3.tgz#fdca51cee6133895e3c88d535ce49dbff62a4633" 649 | 650 | esprima@~3.0.0: 651 | version "3.0.0" 652 | resolved "https://registry.yarnpkg.com/esprima/-/esprima-3.0.0.tgz#53cf247acda77313e551c3aa2e73342d3fb4f7d9" 653 | 654 | event-stream@~0.9.8: 655 | version "0.9.8" 656 | resolved "https://registry.yarnpkg.com/event-stream/-/event-stream-0.9.8.tgz#5da9cf3c7900975989db5a68c28e5b3c98ebe03a" 657 | dependencies: 658 | optimist "0.2" 659 | 660 | events@^1.0.0: 661 | version "1.1.1" 662 | resolved "https://registry.yarnpkg.com/events/-/events-1.1.1.tgz#9ebdb7635ad099c70dcc4c2a1f5004288e8bd924" 663 | 664 | evp_bytestokey@^1.0.0: 665 | version "1.0.0" 666 | resolved "https://registry.yarnpkg.com/evp_bytestokey/-/evp_bytestokey-1.0.0.tgz#497b66ad9fef65cd7c08a6180824ba1476b66e53" 667 | dependencies: 668 | create-hash "^1.1.1" 669 | 670 | expand-brackets@^0.1.4: 671 | version "0.1.5" 672 | resolved "https://registry.yarnpkg.com/expand-brackets/-/expand-brackets-0.1.5.tgz#df07284e342a807cd733ac5af72411e581d1177b" 673 | dependencies: 674 | is-posix-bracket "^0.1.0" 675 | 676 | expand-range@^1.8.1: 677 | version "1.8.2" 678 | resolved "https://registry.yarnpkg.com/expand-range/-/expand-range-1.8.2.tgz#a299effd335fe2721ebae8e257ec79644fc85337" 679 | dependencies: 680 | fill-range "^2.1.0" 681 | 682 | extend@~3.0.0: 683 | version "3.0.0" 684 | resolved "https://registry.yarnpkg.com/extend/-/extend-3.0.0.tgz#5a474353b9f3353ddd8176dfd37b91c83a46f1d4" 685 | 686 | extglob@^0.3.1: 687 | version "0.3.2" 688 | resolved "https://registry.yarnpkg.com/extglob/-/extglob-0.3.2.tgz#2e18ff3d2f49ab2765cec9023f011daa8d8349a1" 689 | dependencies: 690 | is-extglob "^1.0.0" 691 | 692 | extsprintf@1.0.2: 693 | version "1.0.2" 694 | resolved "https://registry.yarnpkg.com/extsprintf/-/extsprintf-1.0.2.tgz#e1080e0658e300b06294990cc70e1502235fd550" 695 | 696 | filename-regex@^2.0.0: 697 | version "2.0.0" 698 | resolved "https://registry.yarnpkg.com/filename-regex/-/filename-regex-2.0.0.tgz#996e3e80479b98b9897f15a8a58b3d084e926775" 699 | 700 | fill-range@^2.1.0: 701 | version "2.2.3" 702 | resolved "https://registry.yarnpkg.com/fill-range/-/fill-range-2.2.3.tgz#50b77dfd7e469bc7492470963699fe7a8485a723" 703 | dependencies: 704 | is-number "^2.1.0" 705 | isobject "^2.0.0" 706 | randomatic "^1.1.3" 707 | repeat-element "^1.1.2" 708 | repeat-string "^1.5.2" 709 | 710 | find-up@^1.0.0: 711 | version "1.1.2" 712 | resolved "https://registry.yarnpkg.com/find-up/-/find-up-1.1.2.tgz#6b2e9822b1a2ce0a60ab64d610eccad53cb24d0f" 713 | dependencies: 714 | path-exists "^2.0.0" 715 | pinkie-promise "^2.0.0" 716 | 717 | flatten@^1.0.2: 718 | version "1.0.2" 719 | resolved "https://registry.yarnpkg.com/flatten/-/flatten-1.0.2.tgz#dae46a9d78fbe25292258cc1e780a41d95c03782" 720 | 721 | for-in@^1.0.1: 722 | version "1.0.2" 723 | resolved "https://registry.yarnpkg.com/for-in/-/for-in-1.0.2.tgz#81068d295a8142ec0ac726c6e2200c30fb6d5e80" 724 | 725 | for-own@^0.1.4: 726 | version "0.1.5" 727 | resolved "https://registry.yarnpkg.com/for-own/-/for-own-0.1.5.tgz#5265c681a4f294dabbf17c9509b6763aa84510ce" 728 | dependencies: 729 | for-in "^1.0.1" 730 | 731 | forever-agent@~0.6.1: 732 | version "0.6.1" 733 | resolved "https://registry.yarnpkg.com/forever-agent/-/forever-agent-0.6.1.tgz#fbc71f0c41adeb37f96c577ad1ed42d8fdacca91" 734 | 735 | form-data@~2.1.1: 736 | version "2.1.4" 737 | resolved "https://registry.yarnpkg.com/form-data/-/form-data-2.1.4.tgz#33c183acf193276ecaa98143a69e94bfee1750d1" 738 | dependencies: 739 | asynckit "^0.4.0" 740 | combined-stream "^1.0.5" 741 | mime-types "^2.1.12" 742 | 743 | fs.realpath@^1.0.0: 744 | version "1.0.0" 745 | resolved "https://registry.yarnpkg.com/fs.realpath/-/fs.realpath-1.0.0.tgz#1504ad2523158caa40db4a2787cb01411994ea4f" 746 | 747 | fsevents@^1.0.0: 748 | version "1.1.1" 749 | resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-1.1.1.tgz#f19fd28f43eeaf761680e519a203c4d0b3d31aff" 750 | dependencies: 751 | nan "^2.3.0" 752 | node-pre-gyp "^0.6.29" 753 | 754 | fstream-ignore@^1.0.5: 755 | version "1.0.5" 756 | resolved "https://registry.yarnpkg.com/fstream-ignore/-/fstream-ignore-1.0.5.tgz#9c31dae34767018fe1d249b24dada67d092da105" 757 | dependencies: 758 | fstream "^1.0.0" 759 | inherits "2" 760 | minimatch "^3.0.0" 761 | 762 | fstream@^1.0.0, fstream@^1.0.10, fstream@^1.0.2: 763 | version "1.0.11" 764 | resolved "https://registry.yarnpkg.com/fstream/-/fstream-1.0.11.tgz#5c1fb1f117477114f0632a0eb4b71b3cb0fd3171" 765 | dependencies: 766 | graceful-fs "^4.1.2" 767 | inherits "~2.0.0" 768 | mkdirp ">=0.5 0" 769 | rimraf "2" 770 | 771 | gauge@~2.7.1: 772 | version "2.7.3" 773 | resolved "https://registry.yarnpkg.com/gauge/-/gauge-2.7.3.tgz#1c23855f962f17b3ad3d0dc7443f304542edfe09" 774 | dependencies: 775 | aproba "^1.0.3" 776 | console-control-strings "^1.0.0" 777 | has-unicode "^2.0.0" 778 | object-assign "^4.1.0" 779 | signal-exit "^3.0.0" 780 | string-width "^1.0.1" 781 | strip-ansi "^3.0.1" 782 | wide-align "^1.1.0" 783 | 784 | get-caller-file@^1.0.1: 785 | version "1.0.2" 786 | resolved "https://registry.yarnpkg.com/get-caller-file/-/get-caller-file-1.0.2.tgz#f702e63127e7e231c160a80c1554acb70d5047e5" 787 | 788 | getpass@^0.1.1: 789 | version "0.1.6" 790 | resolved "https://registry.yarnpkg.com/getpass/-/getpass-0.1.6.tgz#283ffd9fc1256840875311c1b60e8c40187110e6" 791 | dependencies: 792 | assert-plus "^1.0.0" 793 | 794 | gl-matrix@^2.1.0: 795 | version "2.3.2" 796 | resolved "https://registry.yarnpkg.com/gl-matrix/-/gl-matrix-2.3.2.tgz#aac808c74af7d5db05fe04cb60ca1a0fcb174d74" 797 | 798 | glob-base@^0.3.0: 799 | version "0.3.0" 800 | resolved "https://registry.yarnpkg.com/glob-base/-/glob-base-0.3.0.tgz#dbb164f6221b1c0b1ccf82aea328b497df0ea3c4" 801 | dependencies: 802 | glob-parent "^2.0.0" 803 | is-glob "^2.0.0" 804 | 805 | glob-parent@^2.0.0: 806 | version "2.0.0" 807 | resolved "https://registry.yarnpkg.com/glob-parent/-/glob-parent-2.0.0.tgz#81383d72db054fcccf5336daa902f182f6edbb28" 808 | dependencies: 809 | is-glob "^2.0.0" 810 | 811 | glob@^7.0.5: 812 | version "7.1.1" 813 | resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.1.tgz#805211df04faaf1c63a3600306cdf5ade50b2ec8" 814 | dependencies: 815 | fs.realpath "^1.0.0" 816 | inflight "^1.0.4" 817 | inherits "2" 818 | minimatch "^3.0.2" 819 | once "^1.3.0" 820 | path-is-absolute "^1.0.0" 821 | 822 | graceful-fs@^4.1.2: 823 | version "4.1.11" 824 | resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.1.11.tgz#0e8bdfe4d1ddb8854d64e04ea7c00e2a026e5658" 825 | 826 | har-schema@^1.0.5: 827 | version "1.0.5" 828 | resolved "https://registry.yarnpkg.com/har-schema/-/har-schema-1.0.5.tgz#d263135f43307c02c602afc8fe95970c0151369e" 829 | 830 | har-validator@~4.2.1: 831 | version "4.2.1" 832 | resolved "https://registry.yarnpkg.com/har-validator/-/har-validator-4.2.1.tgz#33481d0f1bbff600dd203d75812a6a5fba002e2a" 833 | dependencies: 834 | ajv "^4.9.1" 835 | har-schema "^1.0.5" 836 | 837 | has-ansi@^2.0.0: 838 | version "2.0.0" 839 | resolved "https://registry.yarnpkg.com/has-ansi/-/has-ansi-2.0.0.tgz#34f5049ce1ecdf2b0649af3ef24e45ed35416d91" 840 | dependencies: 841 | ansi-regex "^2.0.0" 842 | 843 | has-flag@^1.0.0: 844 | version "1.0.0" 845 | resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-1.0.0.tgz#9d9e793165ce017a00f00418c43f942a7b1d11fa" 846 | 847 | has-flag@^2.0.0: 848 | version "2.0.0" 849 | resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-2.0.0.tgz#e8207af1cc7b30d446cc70b734b5e8be18f88d51" 850 | 851 | has-unicode@^2.0.0: 852 | version "2.0.1" 853 | resolved "https://registry.yarnpkg.com/has-unicode/-/has-unicode-2.0.1.tgz#e0e6fe6a28cf51138855e086d1691e771de2a8b9" 854 | 855 | hash-sum@^1.0.2: 856 | version "1.0.2" 857 | resolved "https://registry.yarnpkg.com/hash-sum/-/hash-sum-1.0.2.tgz#33b40777754c6432573c120cc3808bbd10d47f04" 858 | 859 | hash.js@^1.0.0, hash.js@^1.0.3: 860 | version "1.0.3" 861 | resolved "https://registry.yarnpkg.com/hash.js/-/hash.js-1.0.3.tgz#1332ff00156c0a0ffdd8236013d07b77a0451573" 862 | dependencies: 863 | inherits "^2.0.1" 864 | 865 | hawk@~3.1.3: 866 | version "3.1.3" 867 | resolved "https://registry.yarnpkg.com/hawk/-/hawk-3.1.3.tgz#078444bd7c1640b0fe540d2c9b73d59678e8e1c4" 868 | dependencies: 869 | boom "2.x.x" 870 | cryptiles "2.x.x" 871 | hoek "2.x.x" 872 | sntp "1.x.x" 873 | 874 | he@^1.1.0: 875 | version "1.1.1" 876 | resolved "https://registry.yarnpkg.com/he/-/he-1.1.1.tgz#93410fd21b009735151f8868c2f271f3427e23fd" 877 | 878 | here@0.0.2: 879 | version "0.0.2" 880 | resolved "https://registry.yarnpkg.com/here/-/here-0.0.2.tgz#69c1af3f02121f3d8788e02e84dc8b3905d71195" 881 | 882 | hmac-drbg@^1.0.0: 883 | version "1.0.1" 884 | resolved "https://registry.yarnpkg.com/hmac-drbg/-/hmac-drbg-1.0.1.tgz#d2745701025a6c775a6c545793ed502fc0c649a1" 885 | dependencies: 886 | hash.js "^1.0.3" 887 | minimalistic-assert "^1.0.0" 888 | minimalistic-crypto-utils "^1.0.1" 889 | 890 | hoek@2.x.x: 891 | version "2.16.3" 892 | resolved "https://registry.yarnpkg.com/hoek/-/hoek-2.16.3.tgz#20bb7403d3cea398e91dc4710a8ff1b8274a25ed" 893 | 894 | hosted-git-info@^2.1.4: 895 | version "2.4.2" 896 | resolved "https://registry.yarnpkg.com/hosted-git-info/-/hosted-git-info-2.4.2.tgz#0076b9f46a270506ddbaaea56496897460612a67" 897 | 898 | http-signature@~1.1.0: 899 | version "1.1.1" 900 | resolved "https://registry.yarnpkg.com/http-signature/-/http-signature-1.1.1.tgz#df72e267066cd0ac67fb76adf8e134a8fbcf91bf" 901 | dependencies: 902 | assert-plus "^0.2.0" 903 | jsprim "^1.2.2" 904 | sshpk "^1.7.0" 905 | 906 | https-browserify@0.0.1: 907 | version "0.0.1" 908 | resolved "https://registry.yarnpkg.com/https-browserify/-/https-browserify-0.0.1.tgz#3f91365cabe60b77ed0ebba24b454e3e09d95a82" 909 | 910 | ieee754@^1.1.4: 911 | version "1.1.8" 912 | resolved "https://registry.yarnpkg.com/ieee754/-/ieee754-1.1.8.tgz#be33d40ac10ef1926701f6f08a2d86fbfd1ad3e4" 913 | 914 | indexes-of@^1.0.1: 915 | version "1.0.1" 916 | resolved "https://registry.yarnpkg.com/indexes-of/-/indexes-of-1.0.1.tgz#f30f716c8e2bd346c7b67d3df3915566a7c05607" 917 | 918 | indexof@0.0.1: 919 | version "0.0.1" 920 | resolved "https://registry.yarnpkg.com/indexof/-/indexof-0.0.1.tgz#82dc336d232b9062179d05ab3293a66059fd435d" 921 | 922 | inflight@^1.0.4: 923 | version "1.0.6" 924 | resolved "https://registry.yarnpkg.com/inflight/-/inflight-1.0.6.tgz#49bd6331d7d02d0c09bc910a1075ba8165b56df9" 925 | dependencies: 926 | once "^1.3.0" 927 | wrappy "1" 928 | 929 | inherits@2, inherits@^2.0.1, inherits@~2.0.0, inherits@~2.0.1: 930 | version "2.0.3" 931 | resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.3.tgz#633c2c83e3da42a502f52466022480f4208261de" 932 | 933 | inherits@2.0.1: 934 | version "2.0.1" 935 | resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.1.tgz#b17d08d326b4423e568eff719f91b0b1cbdf69f1" 936 | 937 | ini@~1.3.0: 938 | version "1.3.4" 939 | resolved "https://registry.yarnpkg.com/ini/-/ini-1.3.4.tgz#0537cb79daf59b59a1a517dff706c86ec039162e" 940 | 941 | interpret@^1.0.0: 942 | version "1.0.2" 943 | resolved "https://registry.yarnpkg.com/interpret/-/interpret-1.0.2.tgz#f4f623f0bb7122f15f5717c8e254b8161b5c5b2d" 944 | 945 | invert-kv@^1.0.0: 946 | version "1.0.0" 947 | resolved "https://registry.yarnpkg.com/invert-kv/-/invert-kv-1.0.0.tgz#104a8e4aaca6d3d8cd157a8ef8bfab2d7a3ffdb6" 948 | 949 | is-arrayish@^0.2.1: 950 | version "0.2.1" 951 | resolved "https://registry.yarnpkg.com/is-arrayish/-/is-arrayish-0.2.1.tgz#77c99840527aa8ecb1a8ba697b80645a7a926a9d" 952 | 953 | is-binary-path@^1.0.0: 954 | version "1.0.1" 955 | resolved "https://registry.yarnpkg.com/is-binary-path/-/is-binary-path-1.0.1.tgz#75f16642b480f187a711c814161fd3a4a7655898" 956 | dependencies: 957 | binary-extensions "^1.0.0" 958 | 959 | is-buffer@^1.0.2: 960 | version "1.1.5" 961 | resolved "https://registry.yarnpkg.com/is-buffer/-/is-buffer-1.1.5.tgz#1f3b26ef613b214b88cbca23cc6c01d87961eecc" 962 | 963 | is-builtin-module@^1.0.0: 964 | version "1.0.0" 965 | resolved "https://registry.yarnpkg.com/is-builtin-module/-/is-builtin-module-1.0.0.tgz#540572d34f7ac3119f8f76c30cbc1b1e037affbe" 966 | dependencies: 967 | builtin-modules "^1.0.0" 968 | 969 | is-dotfile@^1.0.0: 970 | version "1.0.2" 971 | resolved "https://registry.yarnpkg.com/is-dotfile/-/is-dotfile-1.0.2.tgz#2c132383f39199f8edc268ca01b9b007d205cc4d" 972 | 973 | is-equal-shallow@^0.1.3: 974 | version "0.1.3" 975 | resolved "https://registry.yarnpkg.com/is-equal-shallow/-/is-equal-shallow-0.1.3.tgz#2238098fc221de0bcfa5d9eac4c45d638aa1c534" 976 | dependencies: 977 | is-primitive "^2.0.0" 978 | 979 | is-extendable@^0.1.1: 980 | version "0.1.1" 981 | resolved "https://registry.yarnpkg.com/is-extendable/-/is-extendable-0.1.1.tgz#62b110e289a471418e3ec36a617d472e301dfc89" 982 | 983 | is-extglob@^1.0.0: 984 | version "1.0.0" 985 | resolved "https://registry.yarnpkg.com/is-extglob/-/is-extglob-1.0.0.tgz#ac468177c4943405a092fc8f29760c6ffc6206c0" 986 | 987 | is-fullwidth-code-point@^1.0.0: 988 | version "1.0.0" 989 | resolved "https://registry.yarnpkg.com/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz#ef9e31386f031a7f0d643af82fde50c457ef00cb" 990 | dependencies: 991 | number-is-nan "^1.0.0" 992 | 993 | is-glob@^2.0.0, is-glob@^2.0.1: 994 | version "2.0.1" 995 | resolved "https://registry.yarnpkg.com/is-glob/-/is-glob-2.0.1.tgz#d096f926a3ded5600f3fdfd91198cb0888c2d863" 996 | dependencies: 997 | is-extglob "^1.0.0" 998 | 999 | is-number@^2.0.2, is-number@^2.1.0: 1000 | version "2.1.0" 1001 | resolved "https://registry.yarnpkg.com/is-number/-/is-number-2.1.0.tgz#01fcbbb393463a548f2f466cce16dece49db908f" 1002 | dependencies: 1003 | kind-of "^3.0.2" 1004 | 1005 | is-posix-bracket@^0.1.0: 1006 | version "0.1.1" 1007 | resolved "https://registry.yarnpkg.com/is-posix-bracket/-/is-posix-bracket-0.1.1.tgz#3334dc79774368e92f016e6fbc0a88f5cd6e6bc4" 1008 | 1009 | is-primitive@^2.0.0: 1010 | version "2.0.0" 1011 | resolved "https://registry.yarnpkg.com/is-primitive/-/is-primitive-2.0.0.tgz#207bab91638499c07b2adf240a41a87210034575" 1012 | 1013 | is-typedarray@~1.0.0: 1014 | version "1.0.0" 1015 | resolved "https://registry.yarnpkg.com/is-typedarray/-/is-typedarray-1.0.0.tgz#e479c80858df0c1b11ddda6940f96011fcda4a9a" 1016 | 1017 | is-utf8@^0.2.0: 1018 | version "0.2.1" 1019 | resolved "https://registry.yarnpkg.com/is-utf8/-/is-utf8-0.2.1.tgz#4b0da1442104d1b336340e80797e865cf39f7d72" 1020 | 1021 | isarray@0.0.1: 1022 | version "0.0.1" 1023 | resolved "https://registry.yarnpkg.com/isarray/-/isarray-0.0.1.tgz#8a18acfca9a8f4177e09abfc6038939b05d1eedf" 1024 | 1025 | isarray@1.0.0, isarray@^1.0.0, isarray@~1.0.0: 1026 | version "1.0.0" 1027 | resolved "https://registry.yarnpkg.com/isarray/-/isarray-1.0.0.tgz#bb935d48582cba168c06834957a54a3e07124f11" 1028 | 1029 | isobject@^2.0.0: 1030 | version "2.1.0" 1031 | resolved "https://registry.yarnpkg.com/isobject/-/isobject-2.1.0.tgz#f065561096a3f1da2ef46272f815c840d87e0c89" 1032 | dependencies: 1033 | isarray "1.0.0" 1034 | 1035 | isstream@~0.1.2: 1036 | version "0.1.2" 1037 | resolved "https://registry.yarnpkg.com/isstream/-/isstream-0.1.2.tgz#47e63f7af55afa6f92e1500e690eb8b8529c099a" 1038 | 1039 | jodid25519@^1.0.0: 1040 | version "1.0.2" 1041 | resolved "https://registry.yarnpkg.com/jodid25519/-/jodid25519-1.0.2.tgz#06d4912255093419477d425633606e0e90782967" 1042 | dependencies: 1043 | jsbn "~0.1.0" 1044 | 1045 | js-yaml@^3.4.3: 1046 | version "3.8.3" 1047 | resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-3.8.3.tgz#33a05ec481c850c8875929166fe1beb61c728766" 1048 | dependencies: 1049 | argparse "^1.0.7" 1050 | esprima "^3.1.1" 1051 | 1052 | jsbn@~0.1.0: 1053 | version "0.1.1" 1054 | resolved "https://registry.yarnpkg.com/jsbn/-/jsbn-0.1.1.tgz#a5e654c2e5a2deb5f201d96cefbca80c0ef2f513" 1055 | 1056 | json-loader@^0.5.4: 1057 | version "0.5.4" 1058 | resolved "https://registry.yarnpkg.com/json-loader/-/json-loader-0.5.4.tgz#8baa1365a632f58a3c46d20175fc6002c96e37de" 1059 | 1060 | json-schema@0.2.3: 1061 | version "0.2.3" 1062 | resolved "https://registry.yarnpkg.com/json-schema/-/json-schema-0.2.3.tgz#b480c892e59a2f05954ce727bd3f2a4e882f9e13" 1063 | 1064 | json-stable-stringify@^1.0.1: 1065 | version "1.0.1" 1066 | resolved "https://registry.yarnpkg.com/json-stable-stringify/-/json-stable-stringify-1.0.1.tgz#9a759d39c5f2ff503fd5300646ed445f88c4f9af" 1067 | dependencies: 1068 | jsonify "~0.0.0" 1069 | 1070 | json-stringify-safe@~5.0.1: 1071 | version "5.0.1" 1072 | resolved "https://registry.yarnpkg.com/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz#1296a2d58fd45f19a0f6ce01d65701e2c735b6eb" 1073 | 1074 | json5@^0.5.0: 1075 | version "0.5.1" 1076 | resolved "https://registry.yarnpkg.com/json5/-/json5-0.5.1.tgz#1eade7acc012034ad84e2396767ead9fa5495821" 1077 | 1078 | jsonify@~0.0.0: 1079 | version "0.0.0" 1080 | resolved "https://registry.yarnpkg.com/jsonify/-/jsonify-0.0.0.tgz#2c74b6ee41d93ca51b7b5aaee8f503631d252a73" 1081 | 1082 | jsprim@^1.2.2: 1083 | version "1.4.0" 1084 | resolved "https://registry.yarnpkg.com/jsprim/-/jsprim-1.4.0.tgz#a3b87e40298d8c380552d8cc7628a0bb95a22918" 1085 | dependencies: 1086 | assert-plus "1.0.0" 1087 | extsprintf "1.0.2" 1088 | json-schema "0.2.3" 1089 | verror "1.3.6" 1090 | 1091 | kind-of@^3.0.2: 1092 | version "3.1.0" 1093 | resolved "https://registry.yarnpkg.com/kind-of/-/kind-of-3.1.0.tgz#475d698a5e49ff5e53d14e3e732429dc8bf4cf47" 1094 | dependencies: 1095 | is-buffer "^1.0.2" 1096 | 1097 | lazy-cache@^1.0.3: 1098 | version "1.0.4" 1099 | resolved "https://registry.yarnpkg.com/lazy-cache/-/lazy-cache-1.0.4.tgz#a1d78fc3a50474cb80845d3b3b6e1da49a446e8e" 1100 | 1101 | lcid@^1.0.0: 1102 | version "1.0.0" 1103 | resolved "https://registry.yarnpkg.com/lcid/-/lcid-1.0.0.tgz#308accafa0bc483a3867b4b6f2b9506251d1b835" 1104 | dependencies: 1105 | invert-kv "^1.0.0" 1106 | 1107 | load-json-file@^1.0.0: 1108 | version "1.1.0" 1109 | resolved "https://registry.yarnpkg.com/load-json-file/-/load-json-file-1.1.0.tgz#956905708d58b4bab4c2261b04f59f31c99374c0" 1110 | dependencies: 1111 | graceful-fs "^4.1.2" 1112 | parse-json "^2.2.0" 1113 | pify "^2.0.0" 1114 | pinkie-promise "^2.0.0" 1115 | strip-bom "^2.0.0" 1116 | 1117 | loader-runner@^2.3.0: 1118 | version "2.3.0" 1119 | resolved "https://registry.yarnpkg.com/loader-runner/-/loader-runner-2.3.0.tgz#f482aea82d543e07921700d5a46ef26fdac6b8a2" 1120 | 1121 | loader-utils@^0.2.16: 1122 | version "0.2.17" 1123 | resolved "https://registry.yarnpkg.com/loader-utils/-/loader-utils-0.2.17.tgz#f86e6374d43205a6e6c60e9196f17c0299bfb348" 1124 | dependencies: 1125 | big.js "^3.1.3" 1126 | emojis-list "^2.0.0" 1127 | json5 "^0.5.0" 1128 | object-assign "^4.0.1" 1129 | 1130 | loader-utils@^1.0.2, loader-utils@^1.1.0: 1131 | version "1.1.0" 1132 | resolved "https://registry.yarnpkg.com/loader-utils/-/loader-utils-1.1.0.tgz#c98aef488bcceda2ffb5e2de646d6a754429f5cd" 1133 | dependencies: 1134 | big.js "^3.1.3" 1135 | emojis-list "^2.0.0" 1136 | json5 "^0.5.0" 1137 | 1138 | lodash.assign@^4.2.0: 1139 | version "4.2.0" 1140 | resolved "https://registry.yarnpkg.com/lodash.assign/-/lodash.assign-4.2.0.tgz#0d99f3ccd7a6d261d19bdaeb9245005d285808e7" 1141 | 1142 | lodash@>=3.0.0, lodash@^4.0.0, lodash@^4.14.0, lodash@^4.17.4: 1143 | version "4.17.4" 1144 | resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.4.tgz#78203a4d1c328ae1d86dca6460e369b57f4055ae" 1145 | 1146 | longest@^1.0.1: 1147 | version "1.0.1" 1148 | resolved "https://registry.yarnpkg.com/longest/-/longest-1.0.1.tgz#30a0b2da38f73770e8294a0d22e6625ed77d0097" 1149 | 1150 | lru-cache@^4.1.1: 1151 | version "4.1.1" 1152 | resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-4.1.1.tgz#622e32e82488b49279114a4f9ecf45e7cd6bba55" 1153 | dependencies: 1154 | pseudomap "^1.0.2" 1155 | yallist "^2.1.2" 1156 | 1157 | map-canvas@>=0.1.5: 1158 | version "0.1.5" 1159 | resolved "https://registry.yarnpkg.com/map-canvas/-/map-canvas-0.1.5.tgz#8be6bade0bf3e9f9a8b56e8836a1d1d133cab186" 1160 | dependencies: 1161 | drawille-canvas-blessed-contrib ">=0.0.1" 1162 | xml2js "^0.4.5" 1163 | 1164 | marked-terminal@^1.5.0: 1165 | version "1.7.0" 1166 | resolved "https://registry.yarnpkg.com/marked-terminal/-/marked-terminal-1.7.0.tgz#c8c460881c772c7604b64367007ee5f77f125904" 1167 | dependencies: 1168 | cardinal "^1.0.0" 1169 | chalk "^1.1.3" 1170 | cli-table "^0.3.1" 1171 | lodash.assign "^4.2.0" 1172 | node-emoji "^1.4.1" 1173 | 1174 | marked@^0.3.3: 1175 | version "0.3.6" 1176 | resolved "https://registry.yarnpkg.com/marked/-/marked-0.3.6.tgz#b2c6c618fccece4ef86c4fc6cb8a7cbf5aeda8d7" 1177 | 1178 | memory-fs@^0.4.0, memory-fs@~0.4.1: 1179 | version "0.4.1" 1180 | resolved "https://registry.yarnpkg.com/memory-fs/-/memory-fs-0.4.1.tgz#3a9a20b8462523e447cfbc7e8bb80ed667bfc552" 1181 | dependencies: 1182 | errno "^0.1.3" 1183 | readable-stream "^2.0.1" 1184 | 1185 | memory-streams@^0.1.0: 1186 | version "0.1.2" 1187 | resolved "https://registry.yarnpkg.com/memory-streams/-/memory-streams-0.1.2.tgz#273ff777ab60fec599b116355255282cca2c50c2" 1188 | dependencies: 1189 | readable-stream "~1.0.2" 1190 | 1191 | memorystream@^0.3.1: 1192 | version "0.3.1" 1193 | resolved "https://registry.yarnpkg.com/memorystream/-/memorystream-0.3.1.tgz#86d7090b30ce455d63fbae12dda51a47ddcaf9b2" 1194 | 1195 | micromatch@^2.1.5: 1196 | version "2.3.11" 1197 | resolved "https://registry.yarnpkg.com/micromatch/-/micromatch-2.3.11.tgz#86677c97d1720b363431d04d0d15293bd38c1565" 1198 | dependencies: 1199 | arr-diff "^2.0.0" 1200 | array-unique "^0.2.1" 1201 | braces "^1.8.2" 1202 | expand-brackets "^0.1.4" 1203 | extglob "^0.3.1" 1204 | filename-regex "^2.0.0" 1205 | is-extglob "^1.0.0" 1206 | is-glob "^2.0.1" 1207 | kind-of "^3.0.2" 1208 | normalize-path "^2.0.1" 1209 | object.omit "^2.0.0" 1210 | parse-glob "^3.0.4" 1211 | regex-cache "^0.4.2" 1212 | 1213 | miller-rabin@^4.0.0: 1214 | version "4.0.0" 1215 | resolved "https://registry.yarnpkg.com/miller-rabin/-/miller-rabin-4.0.0.tgz#4a62fb1d42933c05583982f4c716f6fb9e6c6d3d" 1216 | dependencies: 1217 | bn.js "^4.0.0" 1218 | brorand "^1.0.1" 1219 | 1220 | mime-db@~1.27.0: 1221 | version "1.27.0" 1222 | resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.27.0.tgz#820f572296bbd20ec25ed55e5b5de869e5436eb1" 1223 | 1224 | mime-types@^2.1.12, mime-types@~2.1.7: 1225 | version "2.1.15" 1226 | resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-2.1.15.tgz#a4ebf5064094569237b8cf70046776d09fc92aed" 1227 | dependencies: 1228 | mime-db "~1.27.0" 1229 | 1230 | minimalistic-assert@^1.0.0: 1231 | version "1.0.0" 1232 | resolved "https://registry.yarnpkg.com/minimalistic-assert/-/minimalistic-assert-1.0.0.tgz#702be2dda6b37f4836bcb3f5db56641b64a1d3d3" 1233 | 1234 | minimalistic-crypto-utils@^1.0.0, minimalistic-crypto-utils@^1.0.1: 1235 | version "1.0.1" 1236 | resolved "https://registry.yarnpkg.com/minimalistic-crypto-utils/-/minimalistic-crypto-utils-1.0.1.tgz#f6c00c1c0b082246e5c4d99dfb8c7c083b2b582a" 1237 | 1238 | minimatch@^3.0.0, minimatch@^3.0.2: 1239 | version "3.0.3" 1240 | resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.0.3.tgz#2a4e4090b96b2db06a9d7df01055a62a77c9b774" 1241 | dependencies: 1242 | brace-expansion "^1.0.0" 1243 | 1244 | minimist@0.0.8: 1245 | version "0.0.8" 1246 | resolved "https://registry.yarnpkg.com/minimist/-/minimist-0.0.8.tgz#857fcabfc3397d2625b8228262e86aa7a011b05d" 1247 | 1248 | minimist@^1.2.0: 1249 | version "1.2.0" 1250 | resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.0.tgz#a35008b20f41383eec1fb914f4cd5df79a264284" 1251 | 1252 | "mkdirp@>=0.5 0", mkdirp@^0.5.1, mkdirp@~0.5.0: 1253 | version "0.5.1" 1254 | resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-0.5.1.tgz#30057438eac6cf7f8c4767f38648d6697d75c903" 1255 | dependencies: 1256 | minimist "0.0.8" 1257 | 1258 | moment@^2.18.1: 1259 | version "2.18.1" 1260 | resolved "https://registry.yarnpkg.com/moment/-/moment-2.18.1.tgz#c36193dd3ce1c2eed2adb7c802dbbc77a81b1c0f" 1261 | 1262 | ms@0.7.2: 1263 | version "0.7.2" 1264 | resolved "https://registry.yarnpkg.com/ms/-/ms-0.7.2.tgz#ae25cf2512b3885a1d95d7f037868d8431124765" 1265 | 1266 | nan@^2.3.0: 1267 | version "2.6.2" 1268 | resolved "https://registry.yarnpkg.com/nan/-/nan-2.6.2.tgz#e4ff34e6c95fdfb5aecc08de6596f43605a7db45" 1269 | 1270 | node-emoji@^1.4.1: 1271 | version "1.5.1" 1272 | resolved "https://registry.yarnpkg.com/node-emoji/-/node-emoji-1.5.1.tgz#fd918e412769bf8c448051238233840b2aff16a1" 1273 | dependencies: 1274 | string.prototype.codepointat "^0.2.0" 1275 | 1276 | node-libs-browser@^2.0.0: 1277 | version "2.0.0" 1278 | resolved "https://registry.yarnpkg.com/node-libs-browser/-/node-libs-browser-2.0.0.tgz#a3a59ec97024985b46e958379646f96c4b616646" 1279 | dependencies: 1280 | assert "^1.1.1" 1281 | browserify-zlib "^0.1.4" 1282 | buffer "^4.3.0" 1283 | console-browserify "^1.1.0" 1284 | constants-browserify "^1.0.0" 1285 | crypto-browserify "^3.11.0" 1286 | domain-browser "^1.1.1" 1287 | events "^1.0.0" 1288 | https-browserify "0.0.1" 1289 | os-browserify "^0.2.0" 1290 | path-browserify "0.0.0" 1291 | process "^0.11.0" 1292 | punycode "^1.2.4" 1293 | querystring-es3 "^0.2.0" 1294 | readable-stream "^2.0.5" 1295 | stream-browserify "^2.0.1" 1296 | stream-http "^2.3.1" 1297 | string_decoder "^0.10.25" 1298 | timers-browserify "^2.0.2" 1299 | tty-browserify "0.0.0" 1300 | url "^0.11.0" 1301 | util "^0.10.3" 1302 | vm-browserify "0.0.4" 1303 | 1304 | node-pre-gyp@^0.6.29: 1305 | version "0.6.34" 1306 | resolved "https://registry.yarnpkg.com/node-pre-gyp/-/node-pre-gyp-0.6.34.tgz#94ad1c798a11d7fc67381b50d47f8cc18d9799f7" 1307 | dependencies: 1308 | mkdirp "^0.5.1" 1309 | nopt "^4.0.1" 1310 | npmlog "^4.0.2" 1311 | rc "^1.1.7" 1312 | request "^2.81.0" 1313 | rimraf "^2.6.1" 1314 | semver "^5.3.0" 1315 | tar "^2.2.1" 1316 | tar-pack "^3.4.0" 1317 | 1318 | nopt@^4.0.1: 1319 | version "4.0.1" 1320 | resolved "https://registry.yarnpkg.com/nopt/-/nopt-4.0.1.tgz#d0d4685afd5415193c8c7505602d0d17cd64474d" 1321 | dependencies: 1322 | abbrev "1" 1323 | osenv "^0.1.4" 1324 | 1325 | nopt@~2.1.2: 1326 | version "2.1.2" 1327 | resolved "https://registry.yarnpkg.com/nopt/-/nopt-2.1.2.tgz#6cccd977b80132a07731d6e8ce58c2c8303cf9af" 1328 | dependencies: 1329 | abbrev "1" 1330 | 1331 | normalize-package-data@^2.3.2: 1332 | version "2.3.6" 1333 | resolved "https://registry.yarnpkg.com/normalize-package-data/-/normalize-package-data-2.3.6.tgz#498fa420c96401f787402ba21e600def9f981fff" 1334 | dependencies: 1335 | hosted-git-info "^2.1.4" 1336 | is-builtin-module "^1.0.0" 1337 | semver "2 || 3 || 4 || 5" 1338 | validate-npm-package-license "^3.0.1" 1339 | 1340 | normalize-path@^2.0.1: 1341 | version "2.1.1" 1342 | resolved "https://registry.yarnpkg.com/normalize-path/-/normalize-path-2.1.1.tgz#1ab28b556e198363a8c1a6f7e6fa20137fe6aed9" 1343 | dependencies: 1344 | remove-trailing-separator "^1.0.1" 1345 | 1346 | npmlog@^4.0.2: 1347 | version "4.0.2" 1348 | resolved "https://registry.yarnpkg.com/npmlog/-/npmlog-4.0.2.tgz#d03950e0e78ce1527ba26d2a7592e9348ac3e75f" 1349 | dependencies: 1350 | are-we-there-yet "~1.1.2" 1351 | console-control-strings "~1.1.0" 1352 | gauge "~2.7.1" 1353 | set-blocking "~2.0.0" 1354 | 1355 | number-is-nan@^1.0.0: 1356 | version "1.0.1" 1357 | resolved "https://registry.yarnpkg.com/number-is-nan/-/number-is-nan-1.0.1.tgz#097b602b53422a522c1afb8790318336941a011d" 1358 | 1359 | oauth-sign@~0.8.1: 1360 | version "0.8.2" 1361 | resolved "https://registry.yarnpkg.com/oauth-sign/-/oauth-sign-0.8.2.tgz#46a6ab7f0aead8deae9ec0565780b7d4efeb9d43" 1362 | 1363 | object-assign@^4.0.1, object-assign@^4.1.0: 1364 | version "4.1.1" 1365 | resolved "https://registry.yarnpkg.com/object-assign/-/object-assign-4.1.1.tgz#2109adc7965887cfc05cbbd442cac8bfbb360863" 1366 | 1367 | object.omit@^2.0.0: 1368 | version "2.0.1" 1369 | resolved "https://registry.yarnpkg.com/object.omit/-/object.omit-2.0.1.tgz#1a9c744829f39dbb858c76ca3579ae2a54ebd1fa" 1370 | dependencies: 1371 | for-own "^0.1.4" 1372 | is-extendable "^0.1.1" 1373 | 1374 | once@^1.3.0, once@^1.3.3: 1375 | version "1.4.0" 1376 | resolved "https://registry.yarnpkg.com/once/-/once-1.4.0.tgz#583b1aa775961d4b113ac17d9c50baef9dd76bd1" 1377 | dependencies: 1378 | wrappy "1" 1379 | 1380 | optimist@0.2: 1381 | version "0.2.8" 1382 | resolved "https://registry.yarnpkg.com/optimist/-/optimist-0.2.8.tgz#e981ab7e268b457948593b55674c099a815cac31" 1383 | dependencies: 1384 | wordwrap ">=0.0.1 <0.1.0" 1385 | 1386 | optimist@~0.3.4: 1387 | version "0.3.7" 1388 | resolved "https://registry.yarnpkg.com/optimist/-/optimist-0.3.7.tgz#c90941ad59e4273328923074d2cf2e7cbc6ec0d9" 1389 | dependencies: 1390 | wordwrap "~0.0.2" 1391 | 1392 | os-browserify@^0.2.0: 1393 | version "0.2.1" 1394 | resolved "https://registry.yarnpkg.com/os-browserify/-/os-browserify-0.2.1.tgz#63fc4ccee5d2d7763d26bbf8601078e6c2e0044f" 1395 | 1396 | os-homedir@^1.0.0, os-homedir@^1.0.1: 1397 | version "1.0.2" 1398 | resolved "https://registry.yarnpkg.com/os-homedir/-/os-homedir-1.0.2.tgz#ffbc4988336e0e833de0c168c7ef152121aa7fb3" 1399 | 1400 | os-locale@^1.4.0: 1401 | version "1.4.0" 1402 | resolved "https://registry.yarnpkg.com/os-locale/-/os-locale-1.4.0.tgz#20f9f17ae29ed345e8bde583b13d2009803c14d9" 1403 | dependencies: 1404 | lcid "^1.0.0" 1405 | 1406 | os-tmpdir@^1.0.0: 1407 | version "1.0.2" 1408 | resolved "https://registry.yarnpkg.com/os-tmpdir/-/os-tmpdir-1.0.2.tgz#bbe67406c79aa85c5cfec766fe5734555dfa1274" 1409 | 1410 | osenv@^0.1.4: 1411 | version "0.1.4" 1412 | resolved "https://registry.yarnpkg.com/osenv/-/osenv-0.1.4.tgz#42fe6d5953df06c8064be6f176c3d05aaaa34644" 1413 | dependencies: 1414 | os-homedir "^1.0.0" 1415 | os-tmpdir "^1.0.0" 1416 | 1417 | pako@~0.2.0: 1418 | version "0.2.9" 1419 | resolved "https://registry.yarnpkg.com/pako/-/pako-0.2.9.tgz#f3f7522f4ef782348da8161bad9ecfd51bf83a75" 1420 | 1421 | parse-asn1@^5.0.0: 1422 | version "5.1.0" 1423 | resolved "https://registry.yarnpkg.com/parse-asn1/-/parse-asn1-5.1.0.tgz#37c4f9b7ed3ab65c74817b5f2480937fbf97c712" 1424 | dependencies: 1425 | asn1.js "^4.0.0" 1426 | browserify-aes "^1.0.0" 1427 | create-hash "^1.1.0" 1428 | evp_bytestokey "^1.0.0" 1429 | pbkdf2 "^3.0.3" 1430 | 1431 | parse-glob@^3.0.4: 1432 | version "3.0.4" 1433 | resolved "https://registry.yarnpkg.com/parse-glob/-/parse-glob-3.0.4.tgz#b2c376cfb11f35513badd173ef0bb6e3a388391c" 1434 | dependencies: 1435 | glob-base "^0.3.0" 1436 | is-dotfile "^1.0.0" 1437 | is-extglob "^1.0.0" 1438 | is-glob "^2.0.0" 1439 | 1440 | parse-json@^2.2.0: 1441 | version "2.2.0" 1442 | resolved "https://registry.yarnpkg.com/parse-json/-/parse-json-2.2.0.tgz#f480f40434ef80741f8469099f8dea18f55a4dc9" 1443 | dependencies: 1444 | error-ex "^1.2.0" 1445 | 1446 | path-browserify@0.0.0: 1447 | version "0.0.0" 1448 | resolved "https://registry.yarnpkg.com/path-browserify/-/path-browserify-0.0.0.tgz#a0b870729aae214005b7d5032ec2cbbb0fb4451a" 1449 | 1450 | path-exists@^2.0.0: 1451 | version "2.1.0" 1452 | resolved "https://registry.yarnpkg.com/path-exists/-/path-exists-2.1.0.tgz#0feb6c64f0fc518d9a754dd5efb62c7022761f4b" 1453 | dependencies: 1454 | pinkie-promise "^2.0.0" 1455 | 1456 | path-is-absolute@^1.0.0: 1457 | version "1.0.1" 1458 | resolved "https://registry.yarnpkg.com/path-is-absolute/-/path-is-absolute-1.0.1.tgz#174b9268735534ffbc7ace6bf53a5a9e1b5c5f5f" 1459 | 1460 | path-parse@^1.0.5: 1461 | version "1.0.5" 1462 | resolved "https://registry.yarnpkg.com/path-parse/-/path-parse-1.0.5.tgz#3c1adf871ea9cd6c9431b6ea2bd74a0ff055c4c1" 1463 | 1464 | path-type@^1.0.0: 1465 | version "1.1.0" 1466 | resolved "https://registry.yarnpkg.com/path-type/-/path-type-1.1.0.tgz#59c44f7ee491da704da415da5a4070ba4f8fe441" 1467 | dependencies: 1468 | graceful-fs "^4.1.2" 1469 | pify "^2.0.0" 1470 | pinkie-promise "^2.0.0" 1471 | 1472 | pbkdf2@^3.0.3: 1473 | version "3.0.9" 1474 | resolved "https://registry.yarnpkg.com/pbkdf2/-/pbkdf2-3.0.9.tgz#f2c4b25a600058b3c3773c086c37dbbee1ffe693" 1475 | dependencies: 1476 | create-hmac "^1.1.2" 1477 | 1478 | performance-now@^0.2.0: 1479 | version "0.2.0" 1480 | resolved "https://registry.yarnpkg.com/performance-now/-/performance-now-0.2.0.tgz#33ef30c5c77d4ea21c5a53869d91b56d8f2555e5" 1481 | 1482 | picture-tube@0.0.4: 1483 | version "0.0.4" 1484 | resolved "https://registry.yarnpkg.com/picture-tube/-/picture-tube-0.0.4.tgz#21de02b7179ccb73af083f112f5267632fc6e8c6" 1485 | dependencies: 1486 | buffers "~0.1.1" 1487 | charm "~0.1.0" 1488 | event-stream "~0.9.8" 1489 | optimist "~0.3.4" 1490 | png-js "~0.1.0" 1491 | request "~2.9.202" 1492 | x256 "~0.0.1" 1493 | 1494 | pify@^2.0.0: 1495 | version "2.3.0" 1496 | resolved "https://registry.yarnpkg.com/pify/-/pify-2.3.0.tgz#ed141a6ac043a849ea588498e7dca8b15330e90c" 1497 | 1498 | pinkie-promise@^2.0.0: 1499 | version "2.0.1" 1500 | resolved "https://registry.yarnpkg.com/pinkie-promise/-/pinkie-promise-2.0.1.tgz#2135d6dfa7a358c069ac9b178776288228450ffa" 1501 | dependencies: 1502 | pinkie "^2.0.0" 1503 | 1504 | pinkie@^2.0.0: 1505 | version "2.0.4" 1506 | resolved "https://registry.yarnpkg.com/pinkie/-/pinkie-2.0.4.tgz#72556b80cfa0d48a974e80e77248e80ed4f7f870" 1507 | 1508 | png-js@~0.1.0: 1509 | version "0.1.1" 1510 | resolved "https://registry.yarnpkg.com/png-js/-/png-js-0.1.1.tgz#1cc7c212303acabe74263ec3ac78009580242d93" 1511 | 1512 | postcss-load-config@^1.1.0: 1513 | version "1.2.0" 1514 | resolved "https://registry.yarnpkg.com/postcss-load-config/-/postcss-load-config-1.2.0.tgz#539e9afc9ddc8620121ebf9d8c3673e0ce50d28a" 1515 | dependencies: 1516 | cosmiconfig "^2.1.0" 1517 | object-assign "^4.1.0" 1518 | postcss-load-options "^1.2.0" 1519 | postcss-load-plugins "^2.3.0" 1520 | 1521 | postcss-load-options@^1.2.0: 1522 | version "1.2.0" 1523 | resolved "https://registry.yarnpkg.com/postcss-load-options/-/postcss-load-options-1.2.0.tgz#b098b1559ddac2df04bc0bb375f99a5cfe2b6d8c" 1524 | dependencies: 1525 | cosmiconfig "^2.1.0" 1526 | object-assign "^4.1.0" 1527 | 1528 | postcss-load-plugins@^2.3.0: 1529 | version "2.3.0" 1530 | resolved "https://registry.yarnpkg.com/postcss-load-plugins/-/postcss-load-plugins-2.3.0.tgz#745768116599aca2f009fad426b00175049d8d92" 1531 | dependencies: 1532 | cosmiconfig "^2.1.1" 1533 | object-assign "^4.1.0" 1534 | 1535 | postcss-selector-parser@^2.0.0: 1536 | version "2.2.3" 1537 | resolved "https://registry.yarnpkg.com/postcss-selector-parser/-/postcss-selector-parser-2.2.3.tgz#f9437788606c3c9acee16ffe8d8b16297f27bb90" 1538 | dependencies: 1539 | flatten "^1.0.2" 1540 | indexes-of "^1.0.1" 1541 | uniq "^1.0.1" 1542 | 1543 | postcss@^6.0.8: 1544 | version "6.0.16" 1545 | resolved "https://registry.yarnpkg.com/postcss/-/postcss-6.0.16.tgz#112e2fe2a6d2109be0957687243170ea5589e146" 1546 | dependencies: 1547 | chalk "^2.3.0" 1548 | source-map "^0.6.1" 1549 | supports-color "^5.1.0" 1550 | 1551 | preserve@^0.2.0: 1552 | version "0.2.0" 1553 | resolved "https://registry.yarnpkg.com/preserve/-/preserve-0.2.0.tgz#815ed1f6ebc65926f865b310c0713bcb3315ce4b" 1554 | 1555 | prettier@^1.7.0: 1556 | version "1.10.2" 1557 | resolved "https://registry.yarnpkg.com/prettier/-/prettier-1.10.2.tgz#1af8356d1842276a99a5b5529c82dd9e9ad3cc93" 1558 | 1559 | process-nextick-args@~1.0.6: 1560 | version "1.0.7" 1561 | resolved "https://registry.yarnpkg.com/process-nextick-args/-/process-nextick-args-1.0.7.tgz#150e20b756590ad3f91093f25a4f2ad8bff30ba3" 1562 | 1563 | process@^0.11.0: 1564 | version "0.11.9" 1565 | resolved "https://registry.yarnpkg.com/process/-/process-0.11.9.tgz#7bd5ad21aa6253e7da8682264f1e11d11c0318c1" 1566 | 1567 | prr@~0.0.0: 1568 | version "0.0.0" 1569 | resolved "https://registry.yarnpkg.com/prr/-/prr-0.0.0.tgz#1a84b85908325501411853d0081ee3fa86e2926a" 1570 | 1571 | pseudomap@^1.0.2: 1572 | version "1.0.2" 1573 | resolved "https://registry.yarnpkg.com/pseudomap/-/pseudomap-1.0.2.tgz#f052a28da70e618917ef0a8ac34c1ae5a68286b3" 1574 | 1575 | public-encrypt@^4.0.0: 1576 | version "4.0.0" 1577 | resolved "https://registry.yarnpkg.com/public-encrypt/-/public-encrypt-4.0.0.tgz#39f699f3a46560dd5ebacbca693caf7c65c18cc6" 1578 | dependencies: 1579 | bn.js "^4.1.0" 1580 | browserify-rsa "^4.0.0" 1581 | create-hash "^1.1.0" 1582 | parse-asn1 "^5.0.0" 1583 | randombytes "^2.0.1" 1584 | 1585 | punycode@1.3.2: 1586 | version "1.3.2" 1587 | resolved "https://registry.yarnpkg.com/punycode/-/punycode-1.3.2.tgz#9653a036fb7c1ee42342f2325cceefea3926c48d" 1588 | 1589 | punycode@^1.2.4, punycode@^1.4.1: 1590 | version "1.4.1" 1591 | resolved "https://registry.yarnpkg.com/punycode/-/punycode-1.4.1.tgz#c0d5a63b2718800ad8e1eb0fa5269c84dd41845e" 1592 | 1593 | qs@~6.4.0: 1594 | version "6.4.0" 1595 | resolved "https://registry.yarnpkg.com/qs/-/qs-6.4.0.tgz#13e26d28ad6b0ffaa91312cd3bf708ed351e7233" 1596 | 1597 | querystring-es3@^0.2.0: 1598 | version "0.2.1" 1599 | resolved "https://registry.yarnpkg.com/querystring-es3/-/querystring-es3-0.2.1.tgz#9ec61f79049875707d69414596fd907a4d711e73" 1600 | 1601 | querystring@0.2.0: 1602 | version "0.2.0" 1603 | resolved "https://registry.yarnpkg.com/querystring/-/querystring-0.2.0.tgz#b209849203bb25df820da756e747005878521620" 1604 | 1605 | randomatic@^1.1.3: 1606 | version "1.1.6" 1607 | resolved "https://registry.yarnpkg.com/randomatic/-/randomatic-1.1.6.tgz#110dcabff397e9dcff7c0789ccc0a49adf1ec5bb" 1608 | dependencies: 1609 | is-number "^2.0.2" 1610 | kind-of "^3.0.2" 1611 | 1612 | randombytes@^2.0.0, randombytes@^2.0.1: 1613 | version "2.0.3" 1614 | resolved "https://registry.yarnpkg.com/randombytes/-/randombytes-2.0.3.tgz#674c99760901c3c4112771a31e521dc349cc09ec" 1615 | 1616 | rc@^1.1.7: 1617 | version "1.2.1" 1618 | resolved "https://registry.yarnpkg.com/rc/-/rc-1.2.1.tgz#2e03e8e42ee450b8cb3dce65be1bf8974e1dfd95" 1619 | dependencies: 1620 | deep-extend "~0.4.0" 1621 | ini "~1.3.0" 1622 | minimist "^1.2.0" 1623 | strip-json-comments "~2.0.1" 1624 | 1625 | read-pkg-up@^1.0.1: 1626 | version "1.0.1" 1627 | resolved "https://registry.yarnpkg.com/read-pkg-up/-/read-pkg-up-1.0.1.tgz#9d63c13276c065918d57f002a57f40a1b643fb02" 1628 | dependencies: 1629 | find-up "^1.0.0" 1630 | read-pkg "^1.0.0" 1631 | 1632 | read-pkg@^1.0.0: 1633 | version "1.1.0" 1634 | resolved "https://registry.yarnpkg.com/read-pkg/-/read-pkg-1.1.0.tgz#f5ffaa5ecd29cb31c0474bca7d756b6bb29e3f28" 1635 | dependencies: 1636 | load-json-file "^1.0.0" 1637 | normalize-package-data "^2.3.2" 1638 | path-type "^1.0.0" 1639 | 1640 | "readable-stream@^2.0.0 || ^1.1.13", readable-stream@^2.0.1, readable-stream@^2.0.2, readable-stream@^2.0.5, readable-stream@^2.1.4, readable-stream@^2.2.6: 1641 | version "2.2.9" 1642 | resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-2.2.9.tgz#cf78ec6f4a6d1eb43d26488cac97f042e74b7fc8" 1643 | dependencies: 1644 | buffer-shims "~1.0.0" 1645 | core-util-is "~1.0.0" 1646 | inherits "~2.0.1" 1647 | isarray "~1.0.0" 1648 | process-nextick-args "~1.0.6" 1649 | string_decoder "~1.0.0" 1650 | util-deprecate "~1.0.1" 1651 | 1652 | readable-stream@~1.0.2: 1653 | version "1.0.34" 1654 | resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-1.0.34.tgz#125820e34bc842d2f2aaafafe4c2916ee32c157c" 1655 | dependencies: 1656 | core-util-is "~1.0.0" 1657 | inherits "~2.0.1" 1658 | isarray "0.0.1" 1659 | string_decoder "~0.10.x" 1660 | 1661 | readdirp@^2.0.0: 1662 | version "2.1.0" 1663 | resolved "https://registry.yarnpkg.com/readdirp/-/readdirp-2.1.0.tgz#4ed0ad060df3073300c48440373f72d1cc642d78" 1664 | dependencies: 1665 | graceful-fs "^4.1.2" 1666 | minimatch "^3.0.2" 1667 | readable-stream "^2.0.2" 1668 | set-immediate-shim "^1.0.1" 1669 | 1670 | redeyed@~1.0.0: 1671 | version "1.0.1" 1672 | resolved "https://registry.yarnpkg.com/redeyed/-/redeyed-1.0.1.tgz#e96c193b40c0816b00aec842698e61185e55498a" 1673 | dependencies: 1674 | esprima "~3.0.0" 1675 | 1676 | regex-cache@^0.4.2: 1677 | version "0.4.3" 1678 | resolved "https://registry.yarnpkg.com/regex-cache/-/regex-cache-0.4.3.tgz#9b1a6c35d4d0dfcef5711ae651e8e9d3d7114145" 1679 | dependencies: 1680 | is-equal-shallow "^0.1.3" 1681 | is-primitive "^2.0.0" 1682 | 1683 | remove-trailing-separator@^1.0.1: 1684 | version "1.0.1" 1685 | resolved "https://registry.yarnpkg.com/remove-trailing-separator/-/remove-trailing-separator-1.0.1.tgz#615ebb96af559552d4bf4057c8436d486ab63cc4" 1686 | 1687 | repeat-element@^1.1.2: 1688 | version "1.1.2" 1689 | resolved "https://registry.yarnpkg.com/repeat-element/-/repeat-element-1.1.2.tgz#ef089a178d1483baae4d93eb98b4f9e4e11d990a" 1690 | 1691 | repeat-string@^1.5.2: 1692 | version "1.6.1" 1693 | resolved "https://registry.yarnpkg.com/repeat-string/-/repeat-string-1.6.1.tgz#8dcae470e1c88abc2d600fff4a776286da75e637" 1694 | 1695 | request@^2.53.0, request@^2.81.0: 1696 | version "2.81.0" 1697 | resolved "https://registry.yarnpkg.com/request/-/request-2.81.0.tgz#c6928946a0e06c5f8d6f8a9333469ffda46298a0" 1698 | dependencies: 1699 | aws-sign2 "~0.6.0" 1700 | aws4 "^1.2.1" 1701 | caseless "~0.12.0" 1702 | combined-stream "~1.0.5" 1703 | extend "~3.0.0" 1704 | forever-agent "~0.6.1" 1705 | form-data "~2.1.1" 1706 | har-validator "~4.2.1" 1707 | hawk "~3.1.3" 1708 | http-signature "~1.1.0" 1709 | is-typedarray "~1.0.0" 1710 | isstream "~0.1.2" 1711 | json-stringify-safe "~5.0.1" 1712 | mime-types "~2.1.7" 1713 | oauth-sign "~0.8.1" 1714 | performance-now "^0.2.0" 1715 | qs "~6.4.0" 1716 | safe-buffer "^5.0.1" 1717 | stringstream "~0.0.4" 1718 | tough-cookie "~2.3.0" 1719 | tunnel-agent "^0.6.0" 1720 | uuid "^3.0.0" 1721 | 1722 | request@~2.9.202: 1723 | version "2.9.203" 1724 | resolved "https://registry.yarnpkg.com/request/-/request-2.9.203.tgz#6c1711a5407fb94a114219563e44145bcbf4723a" 1725 | 1726 | require-directory@^2.1.1: 1727 | version "2.1.1" 1728 | resolved "https://registry.yarnpkg.com/require-directory/-/require-directory-2.1.1.tgz#8c64ad5fd30dab1c976e2344ffe7f792a6a6df42" 1729 | 1730 | require-from-string@^1.1.0: 1731 | version "1.2.1" 1732 | resolved "https://registry.yarnpkg.com/require-from-string/-/require-from-string-1.2.1.tgz#529c9ccef27380adfec9a2f965b649bbee636418" 1733 | 1734 | require-main-filename@^1.0.1: 1735 | version "1.0.1" 1736 | resolved "https://registry.yarnpkg.com/require-main-filename/-/require-main-filename-1.0.1.tgz#97f717b69d48784f5f526a6c5aa8ffdda055a4d1" 1737 | 1738 | resolve@^1.4.0: 1739 | version "1.5.0" 1740 | resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.5.0.tgz#1f09acce796c9a762579f31b2c1cc4c3cddf9f36" 1741 | dependencies: 1742 | path-parse "^1.0.5" 1743 | 1744 | right-align@^0.1.1: 1745 | version "0.1.3" 1746 | resolved "https://registry.yarnpkg.com/right-align/-/right-align-0.1.3.tgz#61339b722fe6a3515689210d24e14c96148613ef" 1747 | dependencies: 1748 | align-text "^0.1.1" 1749 | 1750 | rimraf@2, rimraf@^2.5.1, rimraf@^2.6.1: 1751 | version "2.6.1" 1752 | resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-2.6.1.tgz#c2338ec643df7a1b7fe5c54fa86f57428a55f33d" 1753 | dependencies: 1754 | glob "^7.0.5" 1755 | 1756 | ripemd160@^1.0.0: 1757 | version "1.0.1" 1758 | resolved "https://registry.yarnpkg.com/ripemd160/-/ripemd160-1.0.1.tgz#93a4bbd4942bc574b69a8fa57c71de10ecca7d6e" 1759 | 1760 | safe-buffer@^5.0.1: 1761 | version "5.0.1" 1762 | resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.0.1.tgz#d263ca54696cd8a306b5ca6551e92de57918fbe7" 1763 | 1764 | sax@>=0.6.0: 1765 | version "1.2.2" 1766 | resolved "https://registry.yarnpkg.com/sax/-/sax-1.2.2.tgz#fd8631a23bc7826bef5d871bdb87378c95647828" 1767 | 1768 | "semver@2 || 3 || 4 || 5", semver@^5.3.0: 1769 | version "5.3.0" 1770 | resolved "https://registry.yarnpkg.com/semver/-/semver-5.3.0.tgz#9b2ce5d3de02d17c6012ad326aa6b4d0cf54f94f" 1771 | 1772 | set-blocking@^2.0.0, set-blocking@~2.0.0: 1773 | version "2.0.0" 1774 | resolved "https://registry.yarnpkg.com/set-blocking/-/set-blocking-2.0.0.tgz#045f9782d011ae9a6803ddd382b24392b3d890f7" 1775 | 1776 | set-immediate-shim@^1.0.1: 1777 | version "1.0.1" 1778 | resolved "https://registry.yarnpkg.com/set-immediate-shim/-/set-immediate-shim-1.0.1.tgz#4b2b1b27eb808a9f8dcc481a58e5e56f599f3f61" 1779 | 1780 | setimmediate@^1.0.4: 1781 | version "1.0.5" 1782 | resolved "https://registry.yarnpkg.com/setimmediate/-/setimmediate-1.0.5.tgz#290cbb232e306942d7d7ea9b83732ab7856f8285" 1783 | 1784 | sha.js@^2.3.6: 1785 | version "2.4.8" 1786 | resolved "https://registry.yarnpkg.com/sha.js/-/sha.js-2.4.8.tgz#37068c2c476b6baf402d14a49c67f597921f634f" 1787 | dependencies: 1788 | inherits "^2.0.1" 1789 | 1790 | signal-exit@^3.0.0: 1791 | version "3.0.2" 1792 | resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-3.0.2.tgz#b5fdc08f1287ea1178628e415e25132b73646c6d" 1793 | 1794 | sntp@1.x.x: 1795 | version "1.0.9" 1796 | resolved "https://registry.yarnpkg.com/sntp/-/sntp-1.0.9.tgz#6541184cc90aeea6c6e7b35e2659082443c66198" 1797 | dependencies: 1798 | hoek "2.x.x" 1799 | 1800 | source-list-map@^1.1.1: 1801 | version "1.1.1" 1802 | resolved "https://registry.yarnpkg.com/source-list-map/-/source-list-map-1.1.1.tgz#1a33ac210ca144d1e561f906ebccab5669ff4cb4" 1803 | 1804 | source-map@^0.5.3, source-map@~0.5.1, source-map@~0.5.3: 1805 | version "0.5.6" 1806 | resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.5.6.tgz#75ce38f52bf0733c5a7f0c118d81334a2bb5f412" 1807 | 1808 | source-map@^0.6.1: 1809 | version "0.6.1" 1810 | resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.6.1.tgz#74722af32e9614e9c287a8d0bbde48b5e2f1a263" 1811 | 1812 | sparkline@^0.1.1: 1813 | version "0.1.2" 1814 | resolved "https://registry.yarnpkg.com/sparkline/-/sparkline-0.1.2.tgz#c3bde46252b1354e710c4b200d54816bd9f07a32" 1815 | dependencies: 1816 | here "0.0.2" 1817 | nopt "~2.1.2" 1818 | 1819 | spdx-correct@~1.0.0: 1820 | version "1.0.2" 1821 | resolved "https://registry.yarnpkg.com/spdx-correct/-/spdx-correct-1.0.2.tgz#4b3073d933ff51f3912f03ac5519498a4150db40" 1822 | dependencies: 1823 | spdx-license-ids "^1.0.2" 1824 | 1825 | spdx-expression-parse@~1.0.0: 1826 | version "1.0.4" 1827 | resolved "https://registry.yarnpkg.com/spdx-expression-parse/-/spdx-expression-parse-1.0.4.tgz#9bdf2f20e1f40ed447fbe273266191fced51626c" 1828 | 1829 | spdx-license-ids@^1.0.2: 1830 | version "1.2.2" 1831 | resolved "https://registry.yarnpkg.com/spdx-license-ids/-/spdx-license-ids-1.2.2.tgz#c9df7a3424594ade6bd11900d596696dc06bac57" 1832 | 1833 | sprintf-js@~1.0.2: 1834 | version "1.0.3" 1835 | resolved "https://registry.yarnpkg.com/sprintf-js/-/sprintf-js-1.0.3.tgz#04e6926f662895354f3dd015203633b857297e2c" 1836 | 1837 | sshpk@^1.7.0: 1838 | version "1.13.0" 1839 | resolved "https://registry.yarnpkg.com/sshpk/-/sshpk-1.13.0.tgz#ff2a3e4fd04497555fed97b39a0fd82fafb3a33c" 1840 | dependencies: 1841 | asn1 "~0.2.3" 1842 | assert-plus "^1.0.0" 1843 | dashdash "^1.12.0" 1844 | getpass "^0.1.1" 1845 | optionalDependencies: 1846 | bcrypt-pbkdf "^1.0.0" 1847 | ecc-jsbn "~0.1.1" 1848 | jodid25519 "^1.0.0" 1849 | jsbn "~0.1.0" 1850 | tweetnacl "~0.14.0" 1851 | 1852 | stream-browserify@^2.0.1: 1853 | version "2.0.1" 1854 | resolved "https://registry.yarnpkg.com/stream-browserify/-/stream-browserify-2.0.1.tgz#66266ee5f9bdb9940a4e4514cafb43bb71e5c9db" 1855 | dependencies: 1856 | inherits "~2.0.1" 1857 | readable-stream "^2.0.2" 1858 | 1859 | stream-http@^2.3.1: 1860 | version "2.7.0" 1861 | resolved "https://registry.yarnpkg.com/stream-http/-/stream-http-2.7.0.tgz#cec1f4e3b494bc4a81b451808970f8b20b4ed5f6" 1862 | dependencies: 1863 | builtin-status-codes "^3.0.0" 1864 | inherits "^2.0.1" 1865 | readable-stream "^2.2.6" 1866 | to-arraybuffer "^1.0.0" 1867 | xtend "^4.0.0" 1868 | 1869 | string-width@^1.0.1, string-width@^1.0.2: 1870 | version "1.0.2" 1871 | resolved "https://registry.yarnpkg.com/string-width/-/string-width-1.0.2.tgz#118bdf5b8cdc51a2a7e70d211e07e2b0b9b107d3" 1872 | dependencies: 1873 | code-point-at "^1.0.0" 1874 | is-fullwidth-code-point "^1.0.0" 1875 | strip-ansi "^3.0.0" 1876 | 1877 | string.prototype.codepointat@^0.2.0: 1878 | version "0.2.0" 1879 | resolved "https://registry.yarnpkg.com/string.prototype.codepointat/-/string.prototype.codepointat-0.2.0.tgz#6b26e9bd3afcaa7be3b4269b526de1b82000ac78" 1880 | 1881 | string_decoder@^0.10.25, string_decoder@~0.10.x: 1882 | version "0.10.31" 1883 | resolved "https://registry.yarnpkg.com/string_decoder/-/string_decoder-0.10.31.tgz#62e203bc41766c6c28c9fc84301dab1c5310fa94" 1884 | 1885 | string_decoder@~1.0.0: 1886 | version "1.0.0" 1887 | resolved "https://registry.yarnpkg.com/string_decoder/-/string_decoder-1.0.0.tgz#f06f41157b664d86069f84bdbdc9b0d8ab281667" 1888 | dependencies: 1889 | buffer-shims "~1.0.0" 1890 | 1891 | stringstream@~0.0.4: 1892 | version "0.0.5" 1893 | resolved "https://registry.yarnpkg.com/stringstream/-/stringstream-0.0.5.tgz#4e484cd4de5a0bbbee18e46307710a8a81621878" 1894 | 1895 | strip-ansi@^3.0.0, strip-ansi@^3.0.1: 1896 | version "3.0.1" 1897 | resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-3.0.1.tgz#6a385fb8853d952d5ff05d0e8aaf94278dc63dcf" 1898 | dependencies: 1899 | ansi-regex "^2.0.0" 1900 | 1901 | strip-bom@^2.0.0: 1902 | version "2.0.0" 1903 | resolved "https://registry.yarnpkg.com/strip-bom/-/strip-bom-2.0.0.tgz#6219a85616520491f35788bdbf1447a99c7e6b0e" 1904 | dependencies: 1905 | is-utf8 "^0.2.0" 1906 | 1907 | strip-json-comments@~2.0.1: 1908 | version "2.0.1" 1909 | resolved "https://registry.yarnpkg.com/strip-json-comments/-/strip-json-comments-2.0.1.tgz#3c531942e908c2697c0ec344858c286c7ca0a60a" 1910 | 1911 | supports-color@^2.0.0: 1912 | version "2.0.0" 1913 | resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-2.0.0.tgz#535d045ce6b6363fa40117084629995e9df324c7" 1914 | 1915 | supports-color@^3.1.0: 1916 | version "3.2.3" 1917 | resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-3.2.3.tgz#65ac0504b3954171d8a64946b2ae3cbb8a5f54f6" 1918 | dependencies: 1919 | has-flag "^1.0.0" 1920 | 1921 | supports-color@^4.0.0: 1922 | version "4.5.0" 1923 | resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-4.5.0.tgz#be7a0de484dec5c5cddf8b3d59125044912f635b" 1924 | dependencies: 1925 | has-flag "^2.0.0" 1926 | 1927 | supports-color@^5.1.0: 1928 | version "5.1.0" 1929 | resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-5.1.0.tgz#058a021d1b619f7ddf3980d712ea3590ce7de3d5" 1930 | dependencies: 1931 | has-flag "^2.0.0" 1932 | 1933 | tapable@^0.2.5, tapable@~0.2.5: 1934 | version "0.2.6" 1935 | resolved "https://registry.yarnpkg.com/tapable/-/tapable-0.2.6.tgz#206be8e188860b514425375e6f1ae89bfb01fd8d" 1936 | 1937 | tar-pack@^3.4.0: 1938 | version "3.4.0" 1939 | resolved "https://registry.yarnpkg.com/tar-pack/-/tar-pack-3.4.0.tgz#23be2d7f671a8339376cbdb0b8fe3fdebf317984" 1940 | dependencies: 1941 | debug "^2.2.0" 1942 | fstream "^1.0.10" 1943 | fstream-ignore "^1.0.5" 1944 | once "^1.3.3" 1945 | readable-stream "^2.1.4" 1946 | rimraf "^2.5.1" 1947 | tar "^2.2.1" 1948 | uid-number "^0.0.6" 1949 | 1950 | tar@^2.2.1: 1951 | version "2.2.1" 1952 | resolved "https://registry.yarnpkg.com/tar/-/tar-2.2.1.tgz#8e4d2a256c0e2185c6b18ad694aec968b83cb1d1" 1953 | dependencies: 1954 | block-stream "*" 1955 | fstream "^1.0.2" 1956 | inherits "2" 1957 | 1958 | term-canvas@0.0.5: 1959 | version "0.0.5" 1960 | resolved "https://registry.yarnpkg.com/term-canvas/-/term-canvas-0.0.5.tgz#597afac2fa6369a6f17860bce9c5f66d6ea0ca96" 1961 | 1962 | timers-browserify@^2.0.2: 1963 | version "2.0.2" 1964 | resolved "https://registry.yarnpkg.com/timers-browserify/-/timers-browserify-2.0.2.tgz#ab4883cf597dcd50af211349a00fbca56ac86b86" 1965 | dependencies: 1966 | setimmediate "^1.0.4" 1967 | 1968 | to-arraybuffer@^1.0.0: 1969 | version "1.0.1" 1970 | resolved "https://registry.yarnpkg.com/to-arraybuffer/-/to-arraybuffer-1.0.1.tgz#7d229b1fcc637e466ca081180836a7aabff83f43" 1971 | 1972 | tough-cookie@~2.3.0: 1973 | version "2.3.2" 1974 | resolved "https://registry.yarnpkg.com/tough-cookie/-/tough-cookie-2.3.2.tgz#f081f76e4c85720e6c37a5faced737150d84072a" 1975 | dependencies: 1976 | punycode "^1.4.1" 1977 | 1978 | tty-browserify@0.0.0: 1979 | version "0.0.0" 1980 | resolved "https://registry.yarnpkg.com/tty-browserify/-/tty-browserify-0.0.0.tgz#a157ba402da24e9bf957f9aa69d524eed42901a6" 1981 | 1982 | tunnel-agent@^0.6.0: 1983 | version "0.6.0" 1984 | resolved "https://registry.yarnpkg.com/tunnel-agent/-/tunnel-agent-0.6.0.tgz#27a5dea06b36b04a0a9966774b290868f0fc40fd" 1985 | dependencies: 1986 | safe-buffer "^5.0.1" 1987 | 1988 | tweetnacl@^0.14.3, tweetnacl@~0.14.0: 1989 | version "0.14.5" 1990 | resolved "https://registry.yarnpkg.com/tweetnacl/-/tweetnacl-0.14.5.tgz#5ae68177f192d4456269d108afa93ff8743f4f64" 1991 | 1992 | uglify-js@^2.8.5: 1993 | version "2.8.22" 1994 | resolved "https://registry.yarnpkg.com/uglify-js/-/uglify-js-2.8.22.tgz#d54934778a8da14903fa29a326fb24c0ab51a1a0" 1995 | dependencies: 1996 | source-map "~0.5.1" 1997 | yargs "~3.10.0" 1998 | optionalDependencies: 1999 | uglify-to-browserify "~1.0.0" 2000 | 2001 | uglify-to-browserify@~1.0.0: 2002 | version "1.0.2" 2003 | resolved "https://registry.yarnpkg.com/uglify-to-browserify/-/uglify-to-browserify-1.0.2.tgz#6e0924d6bda6b5afe349e39a6d632850a0f882b7" 2004 | 2005 | uid-number@^0.0.6: 2006 | version "0.0.6" 2007 | resolved "https://registry.yarnpkg.com/uid-number/-/uid-number-0.0.6.tgz#0ea10e8035e8eb5b8e4449f06da1c730663baa81" 2008 | 2009 | uniq@^1.0.1: 2010 | version "1.0.1" 2011 | resolved "https://registry.yarnpkg.com/uniq/-/uniq-1.0.1.tgz#b31c5ae8254844a3a8281541ce2b04b865a734ff" 2012 | 2013 | url@^0.11.0: 2014 | version "0.11.0" 2015 | resolved "https://registry.yarnpkg.com/url/-/url-0.11.0.tgz#3838e97cfc60521eb73c525a8e55bfdd9e2e28f1" 2016 | dependencies: 2017 | punycode "1.3.2" 2018 | querystring "0.2.0" 2019 | 2020 | util-deprecate@~1.0.1: 2021 | version "1.0.2" 2022 | resolved "https://registry.yarnpkg.com/util-deprecate/-/util-deprecate-1.0.2.tgz#450d4dc9fa70de732762fbd2d4a28981419a0ccf" 2023 | 2024 | util@0.10.3, util@^0.10.3: 2025 | version "0.10.3" 2026 | resolved "https://registry.yarnpkg.com/util/-/util-0.10.3.tgz#7afb1afe50805246489e3db7fe0ed379336ac0f9" 2027 | dependencies: 2028 | inherits "2.0.1" 2029 | 2030 | uuid@^3.0.0: 2031 | version "3.0.1" 2032 | resolved "https://registry.yarnpkg.com/uuid/-/uuid-3.0.1.tgz#6544bba2dfda8c1cf17e629a3a305e2bb1fee6c1" 2033 | 2034 | validate-npm-package-license@^3.0.1: 2035 | version "3.0.1" 2036 | resolved "https://registry.yarnpkg.com/validate-npm-package-license/-/validate-npm-package-license-3.0.1.tgz#2804babe712ad3379459acfbe24746ab2c303fbc" 2037 | dependencies: 2038 | spdx-correct "~1.0.0" 2039 | spdx-expression-parse "~1.0.0" 2040 | 2041 | verror@1.3.6: 2042 | version "1.3.6" 2043 | resolved "https://registry.yarnpkg.com/verror/-/verror-1.3.6.tgz#cff5df12946d297d2baaefaa2689e25be01c005c" 2044 | dependencies: 2045 | extsprintf "1.0.2" 2046 | 2047 | vm-browserify@0.0.4: 2048 | version "0.0.4" 2049 | resolved "https://registry.yarnpkg.com/vm-browserify/-/vm-browserify-0.0.4.tgz#5d7ea45bbef9e4a6ff65f95438e0a87c357d5a73" 2050 | dependencies: 2051 | indexof "0.0.1" 2052 | 2053 | vue-hot-reload-api@^2.2.0: 2054 | version "2.2.4" 2055 | resolved "https://registry.yarnpkg.com/vue-hot-reload-api/-/vue-hot-reload-api-2.2.4.tgz#683bd1d026c0d3b3c937d5875679e9a87ec6cd8f" 2056 | 2057 | vue-loader@13.7.0: 2058 | version "13.7.0" 2059 | resolved "https://registry.yarnpkg.com/vue-loader/-/vue-loader-13.7.0.tgz#4d6a35b169c2a0a488842fb95c85052105fa9729" 2060 | dependencies: 2061 | consolidate "^0.14.0" 2062 | hash-sum "^1.0.2" 2063 | loader-utils "^1.1.0" 2064 | lru-cache "^4.1.1" 2065 | postcss "^6.0.8" 2066 | postcss-load-config "^1.1.0" 2067 | postcss-selector-parser "^2.0.0" 2068 | prettier "^1.7.0" 2069 | resolve "^1.4.0" 2070 | source-map "^0.6.1" 2071 | vue-hot-reload-api "^2.2.0" 2072 | vue-style-loader "^3.0.0" 2073 | vue-template-es2015-compiler "^1.6.0" 2074 | 2075 | vue-style-loader@^3.0.0: 2076 | version "3.0.1" 2077 | resolved "https://registry.yarnpkg.com/vue-style-loader/-/vue-style-loader-3.0.1.tgz#c8b639bb2f24baf9d78274dc17e4f264c1deda08" 2078 | dependencies: 2079 | hash-sum "^1.0.2" 2080 | loader-utils "^1.0.2" 2081 | 2082 | vue-template-compiler@2.5.13: 2083 | version "2.5.13" 2084 | resolved "https://registry.yarnpkg.com/vue-template-compiler/-/vue-template-compiler-2.5.13.tgz#12a2aa0ecd6158ac5e5f14d294b0993f399c3d38" 2085 | dependencies: 2086 | de-indent "^1.0.2" 2087 | he "^1.1.0" 2088 | 2089 | vue-template-es2015-compiler@^1.6.0: 2090 | version "1.6.0" 2091 | resolved "https://registry.yarnpkg.com/vue-template-es2015-compiler/-/vue-template-es2015-compiler-1.6.0.tgz#dc42697133302ce3017524356a6c61b7b69b4a18" 2092 | 2093 | watchpack@^1.3.1: 2094 | version "1.3.1" 2095 | resolved "https://registry.yarnpkg.com/watchpack/-/watchpack-1.3.1.tgz#7d8693907b28ce6013e7f3610aa2a1acf07dad87" 2096 | dependencies: 2097 | async "^2.1.2" 2098 | chokidar "^1.4.3" 2099 | graceful-fs "^4.1.2" 2100 | 2101 | webpack-node-externals@^1.5.4: 2102 | version "1.5.4" 2103 | resolved "https://registry.yarnpkg.com/webpack-node-externals/-/webpack-node-externals-1.5.4.tgz#ea05ba17108a23e776c35c42e7bb0e86c225be00" 2104 | 2105 | webpack-sources@^0.2.3: 2106 | version "0.2.3" 2107 | resolved "https://registry.yarnpkg.com/webpack-sources/-/webpack-sources-0.2.3.tgz#17c62bfaf13c707f9d02c479e0dcdde8380697fb" 2108 | dependencies: 2109 | source-list-map "^1.1.1" 2110 | source-map "~0.5.3" 2111 | 2112 | webpack@^2.3.3: 2113 | version "2.3.3" 2114 | resolved "https://registry.yarnpkg.com/webpack/-/webpack-2.3.3.tgz#eecc083c18fb7bf958ea4f40b57a6640c5a0cc78" 2115 | dependencies: 2116 | acorn "^4.0.4" 2117 | acorn-dynamic-import "^2.0.0" 2118 | ajv "^4.7.0" 2119 | ajv-keywords "^1.1.1" 2120 | async "^2.1.2" 2121 | enhanced-resolve "^3.0.0" 2122 | interpret "^1.0.0" 2123 | json-loader "^0.5.4" 2124 | loader-runner "^2.3.0" 2125 | loader-utils "^0.2.16" 2126 | memory-fs "~0.4.1" 2127 | mkdirp "~0.5.0" 2128 | node-libs-browser "^2.0.0" 2129 | source-map "^0.5.3" 2130 | supports-color "^3.1.0" 2131 | tapable "~0.2.5" 2132 | uglify-js "^2.8.5" 2133 | watchpack "^1.3.1" 2134 | webpack-sources "^0.2.3" 2135 | yargs "^6.0.0" 2136 | 2137 | which-module@^1.0.0: 2138 | version "1.0.0" 2139 | resolved "https://registry.yarnpkg.com/which-module/-/which-module-1.0.0.tgz#bba63ca861948994ff307736089e3b96026c2a4f" 2140 | 2141 | wide-align@^1.1.0: 2142 | version "1.1.0" 2143 | resolved "https://registry.yarnpkg.com/wide-align/-/wide-align-1.1.0.tgz#40edde802a71fea1f070da3e62dcda2e7add96ad" 2144 | dependencies: 2145 | string-width "^1.0.1" 2146 | 2147 | window-size@0.1.0: 2148 | version "0.1.0" 2149 | resolved "https://registry.yarnpkg.com/window-size/-/window-size-0.1.0.tgz#5438cd2ea93b202efa3a19fe8887aee7c94f9c9d" 2150 | 2151 | wordwrap@0.0.2, "wordwrap@>=0.0.1 <0.1.0", wordwrap@~0.0.2: 2152 | version "0.0.2" 2153 | resolved "https://registry.yarnpkg.com/wordwrap/-/wordwrap-0.0.2.tgz#b79669bb42ecb409f83d583cad52ca17eaa1643f" 2154 | 2155 | wrap-ansi@^2.0.0: 2156 | version "2.1.0" 2157 | resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-2.1.0.tgz#d8fc3d284dd05794fe84973caecdd1cf824fdd85" 2158 | dependencies: 2159 | string-width "^1.0.1" 2160 | strip-ansi "^3.0.1" 2161 | 2162 | wrappy@1: 2163 | version "1.0.2" 2164 | resolved "https://registry.yarnpkg.com/wrappy/-/wrappy-1.0.2.tgz#b5243d8f3ec1aa35f1364605bc0d1036e30ab69f" 2165 | 2166 | x256@>=0.0.1, x256@~0.0.1: 2167 | version "0.0.2" 2168 | resolved "https://registry.yarnpkg.com/x256/-/x256-0.0.2.tgz#c9af18876f7a175801d564fe70ad9e8317784934" 2169 | 2170 | xml2js@^0.4.5: 2171 | version "0.4.17" 2172 | resolved "https://registry.yarnpkg.com/xml2js/-/xml2js-0.4.17.tgz#17be93eaae3f3b779359c795b419705a8817e868" 2173 | dependencies: 2174 | sax ">=0.6.0" 2175 | xmlbuilder "^4.1.0" 2176 | 2177 | xmlbuilder@^4.1.0: 2178 | version "4.2.1" 2179 | resolved "https://registry.yarnpkg.com/xmlbuilder/-/xmlbuilder-4.2.1.tgz#aa58a3041a066f90eaa16c2f5389ff19f3f461a5" 2180 | dependencies: 2181 | lodash "^4.0.0" 2182 | 2183 | xtend@^4.0.0: 2184 | version "4.0.1" 2185 | resolved "https://registry.yarnpkg.com/xtend/-/xtend-4.0.1.tgz#a5c6d532be656e23db820efb943a1f04998d63af" 2186 | 2187 | y18n@^3.2.1: 2188 | version "3.2.1" 2189 | resolved "https://registry.yarnpkg.com/y18n/-/y18n-3.2.1.tgz#6d15fba884c08679c0d77e88e7759e811e07fa41" 2190 | 2191 | yallist@^2.1.2: 2192 | version "2.1.2" 2193 | resolved "https://registry.yarnpkg.com/yallist/-/yallist-2.1.2.tgz#1c11f9218f076089a47dd512f93c6699a6a81d52" 2194 | 2195 | yargs-parser@^4.2.0: 2196 | version "4.2.1" 2197 | resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-4.2.1.tgz#29cceac0dc4f03c6c87b4a9f217dd18c9f74871c" 2198 | dependencies: 2199 | camelcase "^3.0.0" 2200 | 2201 | yargs@^6.0.0: 2202 | version "6.6.0" 2203 | resolved "https://registry.yarnpkg.com/yargs/-/yargs-6.6.0.tgz#782ec21ef403345f830a808ca3d513af56065208" 2204 | dependencies: 2205 | camelcase "^3.0.0" 2206 | cliui "^3.2.0" 2207 | decamelize "^1.1.1" 2208 | get-caller-file "^1.0.1" 2209 | os-locale "^1.4.0" 2210 | read-pkg-up "^1.0.1" 2211 | require-directory "^2.1.1" 2212 | require-main-filename "^1.0.1" 2213 | set-blocking "^2.0.0" 2214 | string-width "^1.0.2" 2215 | which-module "^1.0.0" 2216 | y18n "^3.2.1" 2217 | yargs-parser "^4.2.0" 2218 | 2219 | yargs@~3.10.0: 2220 | version "3.10.0" 2221 | resolved "https://registry.yarnpkg.com/yargs/-/yargs-3.10.0.tgz#f7ee7bd857dd7c1d2d38c0e74efbd681d1431fd1" 2222 | dependencies: 2223 | camelcase "^1.0.2" 2224 | cliui "^2.1.0" 2225 | decamelize "^1.0.0" 2226 | window-size "0.1.0" 2227 | -------------------------------------------------------------------------------- /examples/login/.gitignore: -------------------------------------------------------------------------------- 1 | bundle.js 2 | 3 | -------------------------------------------------------------------------------- /examples/login/README.md: -------------------------------------------------------------------------------- 1 | # Login form example 2 | This is an rollup example. 3 | 4 | ## Usage 5 | 6 | ``` 7 | yarn install 8 | yarn start 9 | ``` 10 | -------------------------------------------------------------------------------- /examples/login/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "vue-blessed-test", 3 | "version": "1.0.0", 4 | "main": "index.js", 5 | "license": "MIT", 6 | "devDependencies": { 7 | "node-sass": "^4.7.2", 8 | "rollup": "^0.41.6", 9 | "rollup-plugin-babel": "^2.7.1", 10 | "rollup-plugin-buble": "^0.15.0", 11 | "rollup-plugin-vue": "^3.0.0", 12 | "rollup-watch": "^3.2.2", 13 | "vue-template-compiler": "^2.5.13" 14 | }, 15 | "scripts": { 16 | "build": "rollup -c rollup.config.js", 17 | "start": "npm run build && node bundle.js" 18 | }, 19 | "dependencies": { 20 | "blessed": "^0.1.81", 21 | "blessed-vue": "2.0.1", 22 | "faker": "^4.1.0", 23 | "moment": "^2.18.1" 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /examples/login/rollup.config.js: -------------------------------------------------------------------------------- 1 | import vue from 'rollup-plugin-vue'; 2 | import buble from 'rollup-plugin-buble'; 3 | 4 | export default { 5 | entry: 'src/index.js', 6 | format: 'cjs', 7 | dest: 'bundle.js', // equivalent to --output 8 | plugins: [ 9 | vue({ 10 | htmlMinifier: { 11 | caseSensitive: true, 12 | keepClosingSlash: true 13 | } 14 | }), 15 | buble({ 16 | objectAssign: true 17 | }) 18 | ], 19 | external: [ 20 | 'blessed-vue', 21 | 'blessed' 22 | ] 23 | }; 24 | -------------------------------------------------------------------------------- /examples/login/src/index.js: -------------------------------------------------------------------------------- 1 | import Vue from 'blessed-vue' 2 | import TestComponent from './test-component.vue' 3 | 4 | const el = Vue.dom.createElement() 5 | 6 | Vue.dom.append(el) 7 | 8 | const instance = new Vue({ 9 | name: 'app', 10 | components: { 11 | TestComponent 12 | }, 13 | template: '' 14 | }).$mount(el) 15 | -------------------------------------------------------------------------------- /examples/login/src/test-component.vue: -------------------------------------------------------------------------------- 1 | 28 | 29 | 83 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "blessed-vue", 3 | "version": "2.0.1", 4 | "description": "A VueJS runtime to render Blessed to build command line UI.", 5 | "main": "dist/build.js", 6 | "repository": "https://github.com/lyonlai/blessed-vue.git", 7 | "author": "Yun Lai ", 8 | "license": "MIT", 9 | "keywords": [ 10 | "vue", 11 | "blessed", 12 | "blessed-contrib", 13 | "command line", 14 | "cli", 15 | "command line ui", 16 | "cli ui", 17 | "curse", 18 | "ncurse", 19 | "graph", 20 | "dashboard" 21 | ], 22 | "files": [ 23 | "src", 24 | "dist/*.js" 25 | ], 26 | "scripts": { 27 | "build": "npm run lint && cross-env NODE_ENV=production rollup -c build/config.js ", 28 | "dev": "cross-env NODE_ENV=development rollup -w -c build/config.js ", 29 | "lint": "eslint src test", 30 | "test": "npm run build && jasmine JASMINE_CONFIG_PATH=test/jasmine.json", 31 | "test-debug": "npm build && node --inspect --debug-brk ./node_modules/.bin/jasmine JASMINE_CONFIG_PATH=test/jasmine.json" 32 | }, 33 | "devDependencies": { 34 | "babel-eslint": "^8.2.1", 35 | "babel-helper-vue-jsx-merge-props": "^2.0.3", 36 | "babel-plugin-syntax-dynamic-import": "^6.18.0", 37 | "babel-plugin-syntax-jsx": "^6.18.0", 38 | "babel-plugin-transform-vue-jsx": "^3.5.0", 39 | "babel-preset-es2015": "^6.24.1", 40 | "babel-preset-flow-vue": "^1.0.0", 41 | "babel-register": "^6.24.1", 42 | "buble": "^0.18.0", 43 | "cross-env": "^5.1.3", 44 | "eslint": "^4.16.0", 45 | "eslint-config-vue": "^2.0.2", 46 | "eslint-plugin-flowtype": "^2.30.4", 47 | "eslint-plugin-jasmine": "^2.2.0", 48 | "eslint-plugin-vue": "^4.2.0", 49 | "flow": "^0.2.3", 50 | "jasmine": "^2.5.3", 51 | "rollup": "^0.55.0", 52 | "rollup-plugin-alias": "^1.2.1", 53 | "rollup-plugin-buble": "^0.18.0", 54 | "rollup-plugin-flow-no-whitespace": "^1.0.0", 55 | "rollup-plugin-node-resolve": "^3.0.2", 56 | "rollup-plugin-replace": "^2.0.0", 57 | "rollup-watch": "^4.3.1", 58 | "vue": "^2.5.13" 59 | }, 60 | "dependencies": { 61 | "blessed": "^0.1.81", 62 | "blessed-contrib": "^4.8.5", 63 | "lodash": "^4.17.4" 64 | } 65 | } 66 | -------------------------------------------------------------------------------- /publish.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | yarn run build && npm publish 3 | -------------------------------------------------------------------------------- /screenshot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyonlai/blessed-vue/171cb920d2da17c94a5b1058a4fcb80813e9585b/screenshot.png -------------------------------------------------------------------------------- /src/index.js: -------------------------------------------------------------------------------- 1 | /* @flow */ 2 | 3 | import Vue from './runtime' 4 | import { shouldDecodeNewlines } from 'util/compat' 5 | import { compileToFunctions } from 'web/compiler/index' 6 | 7 | const mount = Vue.prototype.$mount 8 | Vue.prototype.$mount = function ( 9 | el?: string | Element, 10 | hydrating?: boolean 11 | ): Component { 12 | const options = this.$options 13 | // resolve template/el and convert to render function 14 | if (!options.render) { 15 | const template = options.template 16 | 17 | if (template) { 18 | const { render, staticRenderFns } = compileToFunctions(template, { 19 | shouldDecodeNewlines, 20 | delimiters: options.delimiters 21 | }, this) 22 | options.render = render 23 | options.staticRenderFns = staticRenderFns 24 | } 25 | } 26 | return mount.call(this, el, hydrating) 27 | } 28 | 29 | Vue.compile = compileToFunctions 30 | 31 | export default Vue 32 | -------------------------------------------------------------------------------- /src/runtime.js: -------------------------------------------------------------------------------- 1 | /* @flow */ 2 | 3 | import Vue from 'core/index' 4 | import { patch } from 'runtime/patch' 5 | import { dom } from 'util/index' 6 | import { noop } from 'shared/util' 7 | import { mountComponent } from 'core/instance/lifecycle' 8 | import { inBrowser } from 'core/util/index' 9 | 10 | import { 11 | mustUseProp, 12 | isReservedTag, 13 | getTagNamespace, 14 | isUnknownElement 15 | } from 'util/index' 16 | 17 | // install platform specific utils 18 | Vue.config.mustUseProp = mustUseProp 19 | Vue.config.isReservedTag = isReservedTag 20 | Vue.config.getTagNamespace = getTagNamespace 21 | Vue.config.isUnknownElement = isUnknownElement 22 | 23 | // install platform patch function 24 | Vue.prototype.__patch__ = inBrowser ? noop : patch 25 | 26 | // public mount method 27 | Vue.prototype.$mount = function ( 28 | el, 29 | hydrating?: boolean 30 | ): Component { 31 | return mountComponent(this, el, true) 32 | } 33 | 34 | Vue.dom = dom 35 | 36 | export default Vue 37 | -------------------------------------------------------------------------------- /src/runtime/modules/attrs.js: -------------------------------------------------------------------------------- 1 | /* @flow */ 2 | 3 | import { extend } from 'shared/util' 4 | import { setAttribute } from 'util/index' 5 | import { refreshNode } from '../util' 6 | 7 | function updateAttrs (oldVnode: VNodeWithData, vnode: VNodeWithData) { 8 | if (!oldVnode.data.attrs && !vnode.data.attrs) { 9 | return 10 | } 11 | let key, cur, old 12 | const elm = vnode.elm 13 | const oldAttrs = oldVnode.data.attrs || {} 14 | let attrs: any = vnode.data.attrs || {} 15 | // clone observed objects, as the user probably wants to mutate it 16 | if (attrs.__ob__) { 17 | attrs = vnode.data.attrs = extend({}, attrs) 18 | } 19 | 20 | for (key in attrs) { 21 | cur = attrs[key] 22 | old = oldAttrs[key] 23 | if (old !== cur) { 24 | setAttribute(elm, key, cur) 25 | } 26 | } 27 | 28 | for (key in oldAttrs) { 29 | if (attrs[key] == null) { 30 | setAttribute(elm, key, null) 31 | } 32 | } 33 | 34 | refreshNode(elm) 35 | } 36 | 37 | export default { 38 | create: updateAttrs, 39 | update: updateAttrs 40 | } 41 | -------------------------------------------------------------------------------- /src/runtime/modules/events.js: -------------------------------------------------------------------------------- 1 | /* @flow */ 2 | 3 | import { updateListeners } from 'core/vdom/helpers/index' 4 | 5 | let target 6 | 7 | function add ( 8 | event: string, 9 | handler: Function, 10 | once: boolean, 11 | capture: boolean 12 | ) { 13 | if (once) { 14 | target.once(event, handler) 15 | } else { 16 | target.on(event, handler) 17 | } 18 | } 19 | 20 | function remove ( 21 | event: string, 22 | handler: Function, 23 | capture: boolean, 24 | _target?: HTMLElement 25 | ) { 26 | (_target || target).removeListener(event, handler) 27 | } 28 | 29 | function updateNodeListeners (oldVnode: VNodeWithData, vnode: VNodeWithData) { 30 | if (!oldVnode.data.on && !vnode.data.on) { 31 | return 32 | } 33 | const on = vnode.data.on || {} 34 | const oldOn = oldVnode.data.on || {} 35 | target = vnode.elm 36 | updateListeners(on, oldOn, add, remove, vnode.context) 37 | } 38 | 39 | export default { 40 | create: updateNodeListeners, 41 | update: updateNodeListeners 42 | } 43 | -------------------------------------------------------------------------------- /src/runtime/modules/index.js: -------------------------------------------------------------------------------- 1 | /* @flow */ 2 | import attrs from './attrs' 3 | import events from './events' 4 | import style from './style' 5 | 6 | export default [ 7 | attrs, 8 | events, 9 | style 10 | ] 11 | -------------------------------------------------------------------------------- /src/runtime/modules/style.js: -------------------------------------------------------------------------------- 1 | /* @flow */ 2 | 3 | import { normalizeStyleBinding, transformStaticStyle } from 'util/style' 4 | import { setAttribute } from 'util/index' 5 | 6 | function updateStyle (oldVnode: VNodeWithData, vnode: VNodeWithData) { 7 | const data = vnode.data 8 | const oldData = oldVnode.data 9 | 10 | if (!data.staticStyle && !data.style && 11 | !oldData.staticStyle && !oldData.style) { 12 | return 13 | } 14 | 15 | const el: any = vnode.elm 16 | 17 | const staticStyle = data.staticStyle && transformStaticStyle(data.staticStyle) 18 | 19 | const style = normalizeStyleBinding(data.style) || {} 20 | 21 | setAttribute(el, 'style', staticStyle || style) 22 | } 23 | 24 | export default { 25 | create: updateStyle, 26 | update: updateStyle 27 | } 28 | -------------------------------------------------------------------------------- /src/runtime/node-ops.js: -------------------------------------------------------------------------------- 1 | /* @flow */ 2 | import blessed from 'blessed' 3 | import contrib from 'blessed-contrib' 4 | export { setAttribute } from 'util/attrs/index' 5 | import { 6 | continueAttributeUpdateIfRequired, 7 | isOverlappingTags, 8 | isBlessedTag 9 | } from 'util/index' 10 | import { refreshNode } from './util' 11 | import { transformStaticStyle, normalizeStyleBinding } from 'util/style' 12 | 13 | export function createElement (tagName: string, vnode: VNode) { 14 | const isBlessed = isOverlappingTags(tagName) 15 | ? vnode.data.attrs.blessed === true 16 | : isBlessedTag(tagName) 17 | const ctor = isBlessed ? blessed : contrib 18 | const data = vnode.data || {} 19 | const { staticStyle, style, attrs } = data 20 | const el = ctor[tagName]( 21 | Object.assign({ parent: vnode.elm }, attrs, { 22 | style: staticStyle 23 | ? transformStaticStyle(staticStyle) 24 | : normalizeStyleBinding(style) 25 | }) 26 | ) 27 | el.elm = el 28 | 29 | return el 30 | } 31 | 32 | export function createElementNS (namespace: string, tagName: string) { 33 | return createElement(tagName) 34 | } 35 | 36 | export function createTextNode (text: string, options: Object = {}): Text { 37 | return blessed['text']( 38 | Object.assign({ content: text, hidden: text.trim() === '' }, options) 39 | ) 40 | } 41 | 42 | export function createComment (text: string): Comment { 43 | return createTextNode(text, { hidden: true }) 44 | } 45 | 46 | export function insertBefore (parentNode, newNode, referenceNode) { 47 | parentNode.insertBefore(newNode, referenceNode) 48 | newNode.parentNode = parentNode 49 | continueAttributeUpdateIfRequired(newNode) 50 | refreshNode(parentNode) 51 | } 52 | 53 | export function removeChild (node, child) { 54 | child.destroy() 55 | node.remove(child) 56 | refreshNode(node) 57 | } 58 | 59 | export function appendChild (node, child) { 60 | node.append(child) 61 | child.parentNode = node 62 | continueAttributeUpdateIfRequired(child) 63 | refreshNode(node) 64 | } 65 | 66 | export function parentNode (node) { 67 | return node.parent 68 | } 69 | 70 | export function nextSibling (node) { 71 | const siblings = node.parent.children 72 | const index = siblings.indexOf(node) 73 | const isLast = index === siblings.length - 1 74 | return isLast ? null : siblings[index + 1] 75 | } 76 | 77 | export function tagName (node): string { 78 | return node.type 79 | } 80 | 81 | export function setTextContent (node, text: string) { 82 | node.setContent(text) 83 | refreshNode(node) 84 | } 85 | -------------------------------------------------------------------------------- /src/runtime/patch.js: -------------------------------------------------------------------------------- 1 | /* @flow */ 2 | 3 | import * as nodeOps from 'runtime/node-ops' 4 | import { createPatchFunction } from 'core/vdom/patch' 5 | import baseModules from 'core/vdom/modules/index' 6 | import platformModules from 'runtime/modules/index' 7 | 8 | // the directive module should be applied last, after all 9 | // built-in modules have been applied. 10 | const modules = platformModules.concat(baseModules) 11 | 12 | export const patch: Function = createPatchFunction({ nodeOps, modules }) 13 | -------------------------------------------------------------------------------- /src/runtime/util.js: -------------------------------------------------------------------------------- 1 | /* @flow */ 2 | import { throttle } from 'lodash' 3 | 4 | function _refreshNode (node) { 5 | node.screen.render() 6 | } 7 | 8 | // limit the screen repaint rate to max 60fps 9 | export const refreshNode = throttle(_refreshNode, 16) 10 | -------------------------------------------------------------------------------- /src/util/attrs/delayed-update-queue.js: -------------------------------------------------------------------------------- 1 | import { isContribElement } from '../element' 2 | const queue = new Map() 3 | 4 | /* 5 | The purpose of this module is to queue up the attribute update for blessed-contrib 6 | element and flush them out after the element has been attached to the screen. 7 | */ 8 | 9 | export function queueAttributeUpdate (node, fn, ...args) { 10 | let queueForNode = queue.get(node) 11 | if (!queueForNode) { 12 | queueForNode = [] 13 | queue.set(node, queueForNode) 14 | } 15 | 16 | queueForNode.push([fn, [node, ...args]]) 17 | } 18 | 19 | export function continueAttributeUpdateIfRequired (node) { 20 | return isContribElement(node) && continueAttributeUpdate(node) 21 | } 22 | 23 | export function continueAttributeUpdate (node) { 24 | const queueForNode = queue.get(node) 25 | 26 | if (!queueForNode) { 27 | return 28 | } 29 | 30 | queueForNode.forEach(([fn, args]) => fn(...args)) 31 | 32 | queue.delete(node) 33 | } 34 | 35 | export function shouldQueueAttributeUpdate (node) { 36 | const hasNotBeenAppended = !node.ctx 37 | const isContrib = isContribElement(node) 38 | return isContrib && hasNotBeenAppended 39 | } 40 | -------------------------------------------------------------------------------- /src/util/attrs/index.js: -------------------------------------------------------------------------------- 1 | /* @flow */ 2 | import { merge } from 'lodash' 3 | export const mustUseProp = () => false 4 | 5 | import { queueAttributeUpdate, shouldQueueAttributeUpdate } from './delayed-update-queue' 6 | 7 | export { continueAttributeUpdateIfRequired } from './delayed-update-queue' 8 | 9 | const selectQue = [] 10 | 11 | const RAW_ATTRIBUTES = new Set([ 12 | 13 | // Alignment, Orientation & Presentation 14 | 'align', 15 | 'valign', 16 | 'orientation', 17 | 'shrink', 18 | 'padding', 19 | 'shadow', 20 | 21 | // Font-related 22 | 'font', 23 | 'fontBold', 24 | 'fch', 25 | 'ch', 26 | 'bold', 27 | 'underline', 28 | 29 | // Flags 30 | 'clickable', 31 | 'input', 32 | 'keyable', 33 | 'hidden', 34 | 'visible', 35 | 'scrollable', 36 | 'draggable', 37 | 'interactive', 38 | 39 | // Position 40 | 'left', 41 | 'right', 42 | 'top', 43 | 'bottom', 44 | 'aleft', 45 | 'aright', 46 | 'atop', 47 | 'abottom', 48 | 49 | // Size 50 | 'width', 51 | 'height', 52 | 53 | // Checkbox 54 | 'checked', 55 | 56 | // Misc 57 | 'name' 58 | ]) 59 | 60 | export function setAttribute (node, key: string, value: any) { 61 | if (shouldQueueAttributeUpdate(node)) { 62 | return queueAttributeUpdate(node, setAttribute, key, value) 63 | } 64 | 65 | if (key === 'selected' && node.select) { 66 | selectQue.push({ 67 | node, 68 | value: (typeof value === 'string' ? +value : value) 69 | }) 70 | } else if (key === 'label') { // Setting label 71 | node.setLabel(value) 72 | } else if (key === 'hoverText' && !value) { // Removing hoverText 73 | node.removeHover() 74 | } else if (key === 'hoverText' && value) { // Setting hoverText 75 | node.setHover(value) 76 | } else if (key === 'content') { // Setting content 77 | node.setContent(value) 78 | } else if (key === 'style') { // Updating style 79 | node.style = merge({}, node.style, value) 80 | } else if (key === 'items') { // Updating items 81 | node.setItems(value) 82 | } else if (key === 'border') { // Border edge case 83 | node.border = merge({}, node.border, value) 84 | } else if (key === 'value' && node.setValue) { // Textarea value 85 | node.setValue(value) 86 | } else if (key === 'filled' && node.filled !== value) { // Progress bar 87 | node.setProgress(value) 88 | } else if ((key === 'rows' || key === 'data') && node.setData) { // Table / ListTable rows / data 89 | node.setData(value) 90 | } else if (key === 'focused' && value && !node[key]) { 91 | node.focus() 92 | } else if (key === 'percent' && node.setPercent) { 93 | node.setPercent(value) 94 | } else if (key === 'stack' && node.setStack) { 95 | node.setStack(value) 96 | } else if (key === 'display' && node.setDisplay) { 97 | node.setDisplay(value) 98 | } else if (key === 'markdown' && node.setMarkdown) { 99 | node.setMarkdown(value) 100 | } else if (key === 'options' && node.setOptions) { 101 | node.setOptions(value) 102 | } else if (key === 'markers' && node.addMarker) { 103 | node.clearMarkers() 104 | 105 | value.forEach(val => node.addMarker(JSON.parse(JSON.stringify(val)))) 106 | } else if (RAW_ATTRIBUTES.has(key)) { // Raw attributes 107 | node[key] = value 108 | } 109 | } 110 | -------------------------------------------------------------------------------- /src/util/compat.js: -------------------------------------------------------------------------------- 1 | /* @flow */ 2 | export const shouldDecodeNewlines = () => false 3 | -------------------------------------------------------------------------------- /src/util/dom.js: -------------------------------------------------------------------------------- 1 | /* @flow */ 2 | /* 3 | Reason why this is here: There's no window.document equivalent in blessed, 4 | This is here to accomondaet the mount on element situation. 5 | 6 | Both the DOM and PlaceboELement are only here to simulate the behavior of web 7 | dom. 8 | */ 9 | export class BlessedDOM { 10 | constructor () { 11 | this.children = [] 12 | this._events = {} 13 | this.type = 'root-dom' 14 | } 15 | 16 | append (c) { 17 | if (c.program) { 18 | this.screen = c 19 | } 20 | c.parent = this 21 | this.children.push(c) 22 | } 23 | 24 | remove (c) { 25 | const index = this.children.indexOf(c) 26 | this.children.splice(index, 1) 27 | } 28 | 29 | createElement () { 30 | return new BlessedPlaceboElement(this) 31 | } 32 | } 33 | 34 | export class BlessedPlaceboElement { 35 | constructor (parent) { 36 | this.parent = parent 37 | this.elm = this 38 | this.type = 'placebo' 39 | } 40 | 41 | destroy () {} 42 | } 43 | 44 | export const dom = new BlessedDOM() 45 | -------------------------------------------------------------------------------- /src/util/element.js: -------------------------------------------------------------------------------- 1 | /* @flow */ 2 | import { inBrowser } from 'core/util/env' 3 | import { makeMap } from 'shared/util' 4 | import contrib from 'blessed-contrib' 5 | import { intersection } from 'lodash' 6 | 7 | export const isReservedTag = tag => isBlessedTag(tag) || isContribTag(tag) 8 | 9 | const prepareMakeMap = (arr: Array): string => arr.join(',') 10 | 11 | const blessedTags = [ 12 | 'node', 'screen', 'element', 'box', 'text', 13 | 'line', 'scrollablebox', 'scrollabletext', 'bigtext', 'list', 'form', 'input', 14 | 'textarea', 'textbox', 'button', 'progressbar', 'filemanager', 'checkbox', 15 | 'radioset', 'radiobutton', 'prompt', 'question', 'message', 'loading', 16 | 'listbar', 'log', 'table', 'listtable', 'terminal', 'image', 'ansiimage', 17 | 'overlayimage', 'video', 'layout' 18 | ] 19 | 20 | export const isBlessedTag = makeMap(prepareMakeMap(blessedTags)) 21 | 22 | const contribTags = [ 23 | 'line', 'bar', 'stacked-bar', 'map', 'gauge', 24 | 'donut', 'lcd', 'log', 'picture', 'sparkline', 'table', 'tree', 'markdown' 25 | ] 26 | 27 | export const isContribTag = makeMap(prepareMakeMap(contribTags)) 28 | 29 | export const isOverlappingTags = makeMap(prepareMakeMap(intersection(blessedTags, contribTags))) 30 | 31 | export const isPreTag = () => false 32 | 33 | export const isUnaryTag = () => false 34 | 35 | export const canBeLeftOpenTag = () => false 36 | 37 | export const getTagNamespace = () => '' 38 | 39 | export const isContribElement = node => node.type && contrib[node.type] && node instanceof contrib[node.type] 40 | 41 | export function isUnknownElement (tag: string): boolean { 42 | return inBrowser ? true : !isReservedTag(tag) 43 | } 44 | -------------------------------------------------------------------------------- /src/util/index.js: -------------------------------------------------------------------------------- 1 | /* @flow */ 2 | 3 | export * from './attrs/index' 4 | export * from './dom' 5 | export * from './element' 6 | -------------------------------------------------------------------------------- /src/util/style.js: -------------------------------------------------------------------------------- 1 | /* @flow */ 2 | 3 | import { cached } from 'shared/util' 4 | import { merge, set } from 'lodash' 5 | 6 | export const parseStyleText = cached(function (cssText) { 7 | const res = {} 8 | const listDelimiter = ';' 9 | const propertyDelimiter = ':' 10 | cssText.split(listDelimiter).forEach(function (item) { 11 | if (item) { 12 | var tmp = item.split(propertyDelimiter) 13 | if (tmp.length > 1) { 14 | const [name, val] = tmp 15 | set(res, name, val) 16 | } 17 | } 18 | }) 19 | return res 20 | }) 21 | 22 | export function transformStaticStyle (staticStyle) { 23 | Object.keys(staticStyle).forEach(key => { 24 | if (key.indexOf('.') > 0) { 25 | const val = staticStyle[key] 26 | delete staticStyle[key] 27 | set(staticStyle, key, val) 28 | } 29 | }) 30 | 31 | return staticStyle 32 | } 33 | 34 | // normalize possible array / string values into Object 35 | export function normalizeStyleBinding (bindingStyle: any): ?Object { 36 | if (Array.isArray(bindingStyle)) { 37 | return merge({}, ...bindingStyle) 38 | } 39 | if (typeof bindingStyle === 'string') { 40 | return parseStyleText(bindingStyle) 41 | } 42 | return bindingStyle 43 | } 44 | -------------------------------------------------------------------------------- /test.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | yarn install 3 | yarn run test 4 | -------------------------------------------------------------------------------- /test/.eslintrc: -------------------------------------------------------------------------------- 1 | { 2 | "env": { 3 | "jasmine": true 4 | }, 5 | "plugins": ["jasmine"], 6 | "rules": { 7 | "jasmine/no-focused-tests": 2 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /test/jasmine.json: -------------------------------------------------------------------------------- 1 | { 2 | "spec_dir": "test/", 3 | "spec_files": [ 4 | "**/*[sS]pec.js" 5 | ], 6 | "helpers": [ 7 | "../node_modules/babel-register/lib/node.js" 8 | ] 9 | } 10 | -------------------------------------------------------------------------------- /test/runtime/attrs.spec.js: -------------------------------------------------------------------------------- 1 | import BlessedVue from '../../dist/build' 2 | import { prepareBlessedForTest } from './util' 3 | 4 | describe('generate attribute', () => { 5 | let screen, instance, el 6 | 7 | prepareBlessedForTest() 8 | 9 | beforeEach(() => { 10 | el = BlessedVue.dom.createElement() 11 | }) 12 | 13 | afterEach(() => { 14 | BlessedVue.dom.remove(screen) 15 | screen.destroy() 16 | }) 17 | 18 | it('should create options && attributes', () => { 19 | instance = new BlessedVue({ 20 | template: ` 21 | 22 | 23 | 24 | `, 25 | data: { 26 | title: 'my title' 27 | }, 28 | mounted () { 29 | screen = this._vnode.elm 30 | } 31 | }).$mount(el) 32 | 33 | const [boxVnode] = instance._vnode.children 34 | 35 | const boxAttrs = boxVnode.data.attrs 36 | 37 | const expectedAttrs = { 38 | top: 10, 39 | left: 20, 40 | width: 50, 41 | height: 40, 42 | content: 'my title' 43 | } 44 | 45 | expect(boxAttrs).toEqual(jasmine.objectContaining(expectedAttrs)) 46 | 47 | const boxEl = boxVnode.elm 48 | 49 | expect(boxEl.options).toEqual(jasmine.objectContaining(expectedAttrs)) 50 | 51 | expect(boxEl.top).toEqual(10) 52 | expect(boxEl.left).toEqual(20) 53 | expect(boxEl.width).toEqual(50) 54 | expect(boxEl.height).toEqual(40) 55 | expect(boxEl.content).toEqual('my title') 56 | }) 57 | 58 | it('should update attributes', done => { 59 | instance = new BlessedVue({ 60 | template: ` 61 | 62 | 63 | 64 | `, 65 | data: { 66 | width: 60, 67 | title: 'my title' 68 | }, 69 | mounted () { 70 | screen = this._vnode.elm 71 | } 72 | }).$mount(el) 73 | 74 | const currentCallCount = screen.render.calls.count() 75 | 76 | instance.width = 80 77 | instance.title = 'new title' 78 | 79 | return BlessedVue.nextTick(() => { 80 | const [boxVnode] = instance._vnode.children 81 | 82 | const boxAttrs = boxVnode.data.attrs 83 | 84 | const expectedAttrs = { 85 | top: 10, 86 | left: 20, 87 | width: 80, 88 | height: 40, 89 | content: 'new title' 90 | } 91 | 92 | expect(boxAttrs).toEqual(jasmine.objectContaining(expectedAttrs)) 93 | 94 | const boxEl = boxVnode.elm 95 | 96 | expect(boxEl.top).toEqual(10) 97 | expect(boxEl.left).toEqual(20) 98 | expect(boxEl.width).toEqual(80) 99 | expect(boxEl.height).toEqual(40) 100 | expect(boxEl.content).toEqual('new title') 101 | 102 | setTimeout(() => { 103 | expect(screen.render.calls.count()).toBeGreaterThan(currentCallCount) 104 | done() 105 | }, 20) 106 | }) 107 | }) 108 | 109 | it('should clear attribute', done => { 110 | instance = new BlessedVue({ 111 | template: ` 112 | 113 | 114 | 115 | `, 116 | data: { 117 | width: 60, 118 | title: 'my title' 119 | }, 120 | mounted () { 121 | screen = this._vnode.elm 122 | } 123 | }).$mount(el) 124 | 125 | const currentCallCount = screen.render.calls.count() 126 | 127 | instance.title = null 128 | 129 | return BlessedVue.nextTick(() => { 130 | const [boxVnode] = instance._vnode.children 131 | 132 | const boxAttrs = boxVnode.data.attrs 133 | 134 | expect(boxAttrs.title).toEqual(undefined) 135 | 136 | const boxEl = boxVnode.elm 137 | 138 | expect(boxEl.content).toEqual('') 139 | 140 | setTimeout(() => { 141 | expect(screen.render.calls.count()).toBeGreaterThan(currentCallCount) 142 | done() 143 | }, 20) 144 | }) 145 | }) 146 | }) 147 | -------------------------------------------------------------------------------- /test/runtime/contrib.spec.js: -------------------------------------------------------------------------------- 1 | import BlessedVue from '../../dist/build' 2 | import blessed from 'blessed' 3 | import contrib from 'blessed-contrib' 4 | import { prepareBlessedForTest } from './util' 5 | 6 | describe('contrib tests', () => { 7 | describe('element', () => { 8 | let instance 9 | 10 | let screen, el 11 | 12 | prepareBlessedForTest() 13 | 14 | beforeEach(() => { 15 | el = BlessedVue.dom.createElement() 16 | }) 17 | 18 | afterEach(() => { 19 | BlessedVue.dom.remove(screen) 20 | screen.destroy() 21 | }) 22 | 23 | beforeAll(done => { 24 | spyOn(contrib.line.prototype, 'setData') 25 | spyOn(contrib.line.prototype, 'setLabel') 26 | spyOn(contrib.gauge.prototype, 'setPercent') 27 | spyOn(contrib.gauge.prototype, 'setLabel') 28 | spyOn(contrib.map.prototype, 'addMarker') 29 | instance = new BlessedVue({ 30 | template: ` 31 | 32 | 33 | 34 | 35 | 36 | `, 37 | data () { 38 | return { 39 | percentage: '90', 40 | downloadSpeed: { 41 | x: ['t1', 't2', 't3', 't4', 't5', 't6'], 42 | y: [50, 10, 72, 53, 25, 46] 43 | }, 44 | downloaded: [ 45 | ['File name', 'Location'], 46 | ['data.zip', '~/Downloads'], 47 | ['Sourcetree.zip', '~Downloads/App'] 48 | ] 49 | } 50 | }, 51 | mounted () { 52 | screen = this._vnode.elm 53 | } 54 | }).$mount(el) 55 | 56 | BlessedVue.nextTick(() => setTimeout(done, 20)) 57 | }) 58 | 59 | it('should be able to render overlapped tag from contrib is blessed is not specified', () => { 60 | const [line] = screen.children 61 | 62 | expect(line instanceof contrib.line).toEqual(true) 63 | expect(line.setData).toHaveBeenCalledWith(instance.downloadSpeed) 64 | expect(line.setLabel).toHaveBeenCalledWith('Speed') 65 | }) 66 | 67 | it('should be able to render non overlapping tag from contrib', () => { 68 | const [,, gauge] = screen.children 69 | 70 | expect(gauge instanceof contrib.gauge).toEqual(true) 71 | expect(gauge.setPercent).toHaveBeenCalledWith('90') 72 | expect(gauge.setLabel).toHaveBeenCalledWith('Downloaded') 73 | }) 74 | 75 | it('shoudl be able to render blessed element on overlapping tags when specified :blessed="true"', () => { 76 | const [,,,, table] = screen.children 77 | 78 | expect(table instanceof blessed.table).toEqual(true) 79 | expect(table.rows).toEqual(instance.downloaded) 80 | }) 81 | }) 82 | 83 | describe('attributes', () => { 84 | let instance 85 | 86 | let screen, el 87 | 88 | prepareBlessedForTest() 89 | 90 | beforeEach(() => { 91 | el = BlessedVue.dom.createElement() 92 | }) 93 | 94 | afterEach(() => { 95 | BlessedVue.dom.remove(screen) 96 | screen.destroy() 97 | }) 98 | 99 | beforeAll(done => { 100 | spyOn(contrib.gauge.prototype, 'setStack') 101 | spyOn(contrib.map.prototype, 'clearMarkers') 102 | spyOn(contrib.map.prototype, 'addMarker') 103 | spyOn(contrib.lcd.prototype, 'setDisplay') 104 | spyOn(contrib.lcd.prototype, 'setOptions') 105 | spyOn(contrib.markdown.prototype, 'setMarkdown') 106 | instance = new BlessedVue({ 107 | template: ` 108 | 109 | 110 | 111 | 112 | 113 | 114 | `, 115 | data () { 116 | return { 117 | markers: [ 118 | { 119 | lon: '-37.90', 120 | lat: '65.90', 121 | color: 'red', 122 | char: 'X' 123 | } 124 | ], 125 | stack: [ 126 | 30, 127 | 30, 128 | 40 129 | ], 130 | display: '330', 131 | options: { 132 | segmentInterval: 0.11, 133 | strokeWidth: 0.11, 134 | elements: 4 135 | }, 136 | markdown: ` 137 | # Title 138 | *Today* is a good day 139 | ` 140 | } 141 | }, 142 | mounted () { 143 | screen = this._vnode.elm 144 | } 145 | }).$mount(el) 146 | 147 | BlessedVue.nextTick(() => setTimeout(done, 20)) 148 | }) 149 | 150 | it('should call addMarker for map', () => { 151 | const [map] = screen.children 152 | expect(map instanceof contrib.map).toEqual(true) 153 | expect(map.addMarker).toHaveBeenCalledWith(instance.markers[0]) 154 | expect(map.clearMarkers).toHaveBeenCalled() 155 | }) 156 | 157 | it('should call setStack for stacked gauge', () => { 158 | const [,, gauge] = screen.children 159 | expect(gauge instanceof contrib.gauge).toEqual(true) 160 | expect(gauge.setStack).toHaveBeenCalledWith(instance.stack) 161 | }) 162 | 163 | it('should call setDisplay for lcd', () => { 164 | const [,,,, lcd] = screen.children 165 | expect(lcd instanceof contrib.lcd).toEqual(true) 166 | expect(lcd.setDisplay).toHaveBeenCalledWith(instance.display) 167 | expect(lcd.setOptions).toHaveBeenCalledWith(instance.options) 168 | }) 169 | 170 | it('should call setMarkdown for markdown', () => { 171 | const [,,,,,, markdown] = screen.children 172 | expect(markdown instanceof contrib.markdown).toEqual(true) 173 | expect(markdown.setMarkdown).toHaveBeenCalledWith(instance.markdown) 174 | }) 175 | }) 176 | }) 177 | -------------------------------------------------------------------------------- /test/runtime/event.spec.js: -------------------------------------------------------------------------------- 1 | import BlessedVue from '../../dist/build' 2 | import { prepareBlessedForTest } from './util' 3 | 4 | describe('generate events', () => { 5 | let screen, instance, el 6 | 7 | prepareBlessedForTest() 8 | 9 | beforeEach(() => { 10 | el = BlessedVue.dom.createElement() 11 | }) 12 | 13 | afterEach(() => { 14 | BlessedVue.dom.remove(screen) 15 | screen.destroy() 16 | }) 17 | 18 | it('should be bound and fire native event', done => { 19 | instance = new BlessedVue({ 20 | template: ` 21 | 22 |