├── .babelrc ├── .gitignore ├── README.md ├── dist ├── vuec.js └── vuec.js.map ├── package.json ├── src ├── Container.js ├── Vue.js └── index.js ├── tests ├── container.js ├── index.html └── vue.js ├── webpack.config.js └── yarn.lock /.babelrc: -------------------------------------------------------------------------------- 1 | 2 | { 3 | "presets": [ 4 | ["env", { 5 | "targets": { 6 | "browsers": ["last 2 versions", "safari >= 7"] 7 | } 8 | }] 9 | ] 10 | } 11 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules/ 2 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Vuec 2 | ## Vue container - a simple IoC container for Vue 2 3 | 4 | **UNMAINTAINED WARNING** I don't use Vuec myself anymore, and I hardly have time to maintain Vuec. 5 | If you are interested in taking over the project feel free to contact me. 6 | 7 | ### Installation 8 | Install using `yarn add vue-container` or `npm install --save vue-container` 9 | 10 | **warning**: when building for production, make sure to read [this](#mangling) 11 | 12 | ### Dependencies 13 | **NONE**! We don't even depend on VueJS (except in the devDependencies for unit testing). 14 | You can even use this without Webpack or Browserify, the container is accessible from `window.vuec.Container` and the Vue bindings as `vuec.default` (the unit tests are actually written in plain ES5 so you can start there to get an idea!) 15 | 16 | ### Introduction 17 | 18 | If you have worked with Vue before, you'll probably have done things like this: 19 | ```vue 20 | 35 | ``` 36 | You can use [plugins](https://vuejs.org/v2/guide/plugins.html) to inject dependencies into your Vue object, but that also means that every dependency you need somewhere would have to be injected on *every* instance of Vue you make. 37 | 38 | With vuec you can write the same code as above like this: 39 | ```vue 40 | 53 | ``` 54 | Note how we're no longer importing the Axios module. Vuec takes care of injecting your dependencies into your hooks. Except for `beforeCreate` all hooks can specify their dependencies and Vuec will inject them. 55 | 56 | ### Why use dependency injection? 57 | In the example above we showed you how you could eliminate your imports (mostly) by using dependency injection. 58 | You might by now be thinking "hey that's pretty cool, but *why* would I do that?". There's a couple reasons why you might want to use dependency injection in VueJS 59 | - testability (we'll cover this one in detail below) 60 | - explicit dependencies: rather than having a bunch of imports thrown all over, you can now see what dependencies your component relies on (because other than dependencies you might import components, css files, ...) 61 | - easier refactoring (rather than having to wrap those modules so you can swap them, just swap their binding in the container) 62 | 63 | As mentioned above in the list, testability is improved by using dependency injection. Imagine you're writing an application that makes calls to an API, you're probably using a package for making those HTTP requests (like [vue-resource](https://github.com/pagekit/vue-resource) or [Axios](https://github.com/mzabriskie/axios) or even [fetch](https://github.com/github/fetch)). However, when you're running your unit tests you'd probably rather not have those tests run wild and create 200 users in your API. 64 | Using dependency injection you could just swap out the binding for your HTTP service with a dummy service (that could for example assert the required calls are made), without having to change a single line of code. 65 | 66 | Simply put, in your code you could have: 67 | ```javascript 68 | import Axios from 'axios'; 69 | 70 | Vue.$ioc.register('$http', Axios); 71 | 72 | function convertCurrency() {} 73 | 74 | Vue.$ioc.register(convertCurrency); // will be registered as 'convertCurrency' 75 | 76 | class PostService {} 77 | 78 | Vue.$ioc.register(new PostService()); // will be registered as 'PostService' 79 | ``` 80 | And for your unit tests you could overwrite the binding 81 | ```javascript 82 | Vue.$ioc.register('$http', AxiosDummyModule); 83 | Vue.$ioc.register('convertCurrency', DummyFunc); 84 | Vue.$ioc.register('PostService', DummyService); 85 | ``` 86 | Your components however remain entirely unchanged. 87 | 88 | **in short** depenency injection allows you to abstract your code a step further and makes your components truly standalone and easier to test. 89 | 90 | ### Usage 91 | registering Vuec in your application is as easy as 92 | ```javascript 93 | import Vuec from 'vue-container'; 94 | 95 | Vue.use(Vuec); 96 | ``` 97 | Registering a dependency in the container (like Axios in the above example) is done using `register` 98 | ```javascript 99 | Vue.$ioc.register('Axios', Axios); 100 | // Or inside a Vue component: 101 | this.$ioc.register('Axios', Axios); 102 | ``` 103 | Also you can pass dependencies map to container when register plugin 104 | ```javascript 105 | import Vuec from 'vue-container'; 106 | 107 | Vue.use(Vuec, { 108 | register: { 109 | $http: Axios 110 | } 111 | }); 112 | ``` 113 | 114 | You can also manually resolve from the container using the `resolve` function: 115 | ```javascript 116 | Vue.$ioc.resolve('Axios'); 117 | // Or inside a Vue component: 118 | this.$ioc.resolve('Axios'); 119 | ``` 120 | *so what happens when you try to resolve a dependency that does not exist? That depends, in development this will throw an error, but in production it will silently return undefined. You can test for production mode on the `production` property of the container. 121 | You can enable production mode by setting the environment variable `NODE_ENV=production`* 122 | ```javascript 123 | this.$ioc.resolve('foo'); 124 | // in development this would throw Unknown dependency "foo" 125 | // in production this returns undefined 126 | ``` 127 | 128 | So how do you call a function with all it's dependencies? 129 | ```javascript 130 | function test(Axios) { 131 | console.info(Axios); 132 | } 133 | 134 | Vue.$ioc.prepare(test)(); 135 | // Or inside a Vue component: 136 | this.$ioc.prepare(test)(); 137 | ``` 138 | **But you didn't pass `Axios` as an argument!** 139 | 140 | Indeed, the `prepare` method of Vuec returns a bound copy of the function with all it's parameters already bound, you can call this function as many times as you want and it will have it's dependencies every time. If you want a custom scope, you can always pass your this argument as the second parameter to the `prepare` method. 141 | ```javascript 142 | function test(Axios) { 143 | console.info(Axios); 144 | } 145 | 146 | const prepared = Vue.$ioc.prepare(test); 147 | prepared(); 148 | prepared(); 149 | prepared(); 150 | ``` 151 | In the above example despite being called 3x the container will only have to resolve the dependencies once! 152 | 153 | ### Usage with VueJS 154 | Vuec will automatically hook itself into the component lifecycle to resolve dependencies, 155 | or if you prefer you can use the `services` property to define your dependencies, it's up to your preference. 156 | 157 | To use method injection, you simply write your components like this: 158 | ```javascript 159 | new Vue({ 160 | // ... pass your component parameters here 161 | mounted($http) { 162 | // vuec will inject the '$http' service for you here 163 | } 164 | }); 165 | ``` 166 | 167 | Or if you prefer to define your services in an array on your component (which prevents [name mangling](#mangling)) 168 | ```javascript 169 | new Vue({ 170 | // ... pass your component parameters here 171 | services: ['$http'], 172 | mounted() { 173 | // the $http service is available under this.$services.$http 174 | } 175 | }); 176 | ``` 177 | 178 | ### Does this work with Vue 1.x? 179 | It probably should, given that Vue manages it's hooks the same way, but it hasn't been tested yet, if you do feel free to make an issue and report any problems you run into. 180 | 181 | ### mangling 182 | When building for production you'll most likely minify your code. Most minifiers employ a technique called "name mangling" 183 | which poses a couple problems with this library if you use method injection. You can read more about this [here](https://github.com/dealloc/vuec/issues/3). 184 | 185 | In short, you'll need to ensure your minifier won't mangle the parameter names of your services, for UglifyJS (default for webpack) this can be done like this: 186 | ```javascript 187 | new webpack.optimize.UglifyJsPlugin({ 188 | compress: { 189 | warnings: false 190 | }, 191 | sourceMap: true, 192 | mangle: { 193 | except: ['Service'], // blacklist your services from being mangled 194 | } 195 | }) 196 | ``` 197 | 198 | ### What's new? 199 | - 21/04/2017 200 | - added `unregister` to remove bindings and `bindings` to get all registered services. 201 | - added `has` method to check if a container has a binding 202 | - 28/04/2017 203 | - added instance binding 204 | - updated documentation with warning about name mangling 205 | - 29/04/2017 206 | - added production and development mode 207 | -------------------------------------------------------------------------------- /dist/vuec.js: -------------------------------------------------------------------------------- 1 | !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.vuec=t():e.vuec=t()}(this,function(){return function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n={};return t.m=e,t.c=n,t.i=function(e){return e},t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=2)}([function(e,t,n){"use strict";function r(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t1&&void 0!==arguments[1]?arguments[1]:null;return c(e)&&a(e.name)?{key:e.name,value:e}:f(e)&&c(e.constructor)&&a(e.constructor.name)?{key:e.constructor.name,value:e}:{key:e,value:t}}},{key:"toEntries",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object.keys(e).map(function(t){return[t,e[t]]})}},{key:"parameters",value:function(e){var t=e.toString().match(/^(function)?\s*[^(]*\(\s*([^)]*)\)?/m);return null===t?(console.warn("Extraction failed for "+e.name),e.bind(self)):("function"===t[1]||void 0===t[1]?t[2]:t[1]).replace(/ /g,"").split(",").filter(function(e){return""!==e}).map(this.resolve.bind(this))}},{key:"prepare",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=this.parameters(e);return e.bind.apply(e,[t].concat(r(n)))}}]),e}();t.default=s},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t0){var i=n.parameters(r[r.length-1]),u=r[r.length-1];r[r.length-1]=function(){u.call.apply(u,[this].concat(o(i)))}}},a=function(e,t){void 0!==e.$options.services&&e.$options.services.forEach(function(n){e.$services[n]=t.resolve(n)})},f=void 0;t.default={production:1,install:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};f=new u.default(t.register),e.prototype.$services=[],e.prototype.$ioc=f,e.$ioc=f,e.mixin({beforeCreate:function(){a(this,f),c(this,"created",f),c(this,"beforeMount",f),c(this,"mounted",f),c(this,"beforeUpdate",f),c(this,"updated",f),c(this,"beforeDestroy",f),c(this,"destroyed",f)}})}}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Container=void 0;var o=n(0);Object.defineProperty(t,"Container",{enumerable:!0,get:function(){return r(o).default}});var i=n(1),u=r(i);t.default=u.default}])}); 2 | //# sourceMappingURL=vuec.js.map -------------------------------------------------------------------------------- /dist/vuec.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"sources":["webpack:///webpack/universalModuleDefinition","webpack:///vuec.js","webpack:///webpack/bootstrap 38b3d23ebdc36d663f00","webpack:///./src/Container.js","webpack:///./src/Vue.js","webpack:///./src/index.js"],"names":["root","factory","exports","module","define","amd","this","modules","__webpack_require__","moduleId","installedModules","i","l","call","m","c","value","d","name","getter","o","Object","defineProperty","configurable","enumerable","get","n","__esModule","object","property","prototype","hasOwnProperty","p","s","_toConsumableArray","arr","Array","isArray","arr2","length","from","_classCallCheck","instance","Constructor","TypeError","_createClass","defineProperties","target","props","descriptor","writable","key","protoProps","staticProps","_typeof","Symbol","iterator","obj","constructor","isFunc","val","isString","isObject","Container","map","$cache","Map","toEntries","production","Boolean","dependency","_extractDep","extractDep","set","_extractDep2","has","delete","_extractDep3","entries","_extractDep4","console","warn","Error","arguments","undefined","keys","func","extracted","toString","match","bind","self","replace","split","filter","dep","resolve","params","parameters","apply","concat","default","_interopRequireDefault","_Container","_Container2","patchHook","$vm","hookName","container","hooks","$options","hook","injectServices","services","forEach","service","$services","install","Vue","options","register","$ioc","mixin","beforeCreate","_Vue","_Vue2"],"mappings":"CAAA,SAAAA,EAAAC,GACA,gBAAAC,UAAA,gBAAAC,QACAA,OAAAD,QAAAD,IACA,kBAAAG,gBAAAC,IACAD,UAAAH,GACA,gBAAAC,SACAA,QAAA,KAAAD,IAEAD,EAAA,KAAAC,KACCK,KAAA,WACD,MCAgB,UAAUC,GCN1B,QAAAC,GAAAC,GAGA,GAAAC,EAAAD,GACA,MAAAC,GAAAD,GAAAP,OAGA,IAAAC,GAAAO,EAAAD,IACAE,EAAAF,EACAG,GAAA,EACAV,WAUA,OANAK,GAAAE,GAAAI,KAAAV,EAAAD,QAAAC,IAAAD,QAAAM,GAGAL,EAAAS,GAAA,EAGAT,EAAAD,QAvBA,GAAAQ,KA+DA,OAnCAF,GAAAM,EAAAP,EAGAC,EAAAO,EAAAL,EAGAF,EAAAG,EAAA,SAAAK,GAA2C,MAAAA,IAG3CR,EAAAS,EAAA,SAAAf,EAAAgB,EAAAC,GACAX,EAAAY,EAAAlB,EAAAgB,IACAG,OAAAC,eAAApB,EAAAgB,GACAK,cAAA,EACAC,YAAA,EACAC,IAAAN,KAMAX,EAAAkB,EAAA,SAAAvB,GACA,GAAAgB,GAAAhB,KAAAwB,WACA,WAA2B,MAAAxB,GAAA,SAC3B,WAAiC,MAAAA,GAEjC,OADAK,GAAAS,EAAAE,EAAA,IAAAA,GACAA,GAIAX,EAAAY,EAAA,SAAAQ,EAAAC,GAAsD,MAAAR,QAAAS,UAAAC,eAAAlB,KAAAe,EAAAC,IAGtDrB,EAAAwB,EAAA,GAGAxB,IAAAyB,EAAA,KDgBM,SAAU9B,EAAQD,EAASM,GAEjC,YAWA,SAAS0B,GAAmBC,GAAO,GAAIC,MAAMC,QAAQF,GAAM,CAAE,IAAK,GAAIxB,GAAI,EAAG2B,EAAOF,MAAMD,EAAII,QAAS5B,EAAIwB,EAAII,OAAQ5B,IAAO2B,EAAK3B,GAAKwB,EAAIxB,EAAM,OAAO2B,GAAe,MAAOF,OAAMI,KAAKL,GAE1L,QAASM,GAAgBC,EAAUC,GAAe,KAAMD,YAAoBC,IAAgB,KAAM,IAAIC,WAAU,qCAVhHvB,OAAOC,eAAepB,EAAS,cAC9Bc,OAAO,GAGR,IAAI6B,GAAe,WAAc,QAASC,GAAiBC,EAAQC,GAAS,IAAK,GAAIrC,GAAI,EAAGA,EAAIqC,EAAMT,OAAQ5B,IAAK,CAAE,GAAIsC,GAAaD,EAAMrC,EAAIsC,GAAWzB,WAAayB,EAAWzB,aAAc,EAAOyB,EAAW1B,cAAe,EAAU,SAAW0B,KAAYA,EAAWC,UAAW,GAAM7B,OAAOC,eAAeyB,EAAQE,EAAWE,IAAKF,IAAiB,MAAO,UAAUN,EAAaS,EAAYC,GAAiJ,MAA9HD,IAAYN,EAAiBH,EAAYb,UAAWsB,GAAiBC,GAAaP,EAAiBH,EAAaU,GAAqBV,MAE5hBW,EAA4B,kBAAXC,SAAoD,gBAApBA,QAAOC,SAAwB,SAAUC,GAAO,aAAcA,IAAS,SAAUA,GAAO,MAAOA,IAAyB,kBAAXF,SAAyBE,EAAIC,cAAgBH,QAAUE,IAAQF,OAAOzB,UAAY,eAAkB2B,IE3FhQE,EAAS,SAACC,GAAD,MAAwB,kBAARA,IACzBC,EAAW,SAACD,GAAD,MAAwB,gBAARA,IAC3BE,EAAW,SAACF,GAAD,MAAwB,YAAf,SAAOA,EAAP,YAAAN,EAAOM,KAEZG,EFuGL,WErGf,QAAAA,GAAYC,GAAKvB,EAAAnC,KAAAyD,GAChBzD,KAAK2D,OAAS,GAAIC,KAAI5D,KAAK6D,UAAUH,IACrC1D,KAAK8D,WAAaC,QAAQ,GFyR3B,MAtKAxB,GAAakB,IACZZ,IAAK,WACLnC,MAAO,SE5GCE,EAAMoD,GAAY,GAAAC,GACLjE,KAAKkE,WAAWtD,EAAMoD,GAApCnB,EADmBoB,EACnBpB,IAAKnC,EADcuD,EACdvD,KAIZ,OAFEV,MAAK2D,OAAOQ,IAAItB,EAAKnC,GAEhBV,QFwHP6C,IAAK,aACLnC,MAAO,SEjHGE,GAAM,GAAAwD,GACFpE,KAAKkE,WAAWtD,GAAvBiC,EADSuB,EACTvB,GAMP,OAJI7C,MAAK2D,OAAOU,IAAIxB,IACnB7C,KAAK2D,OAAOW,OAAOzB,GAGb7C,QF4HP6C,IAAK,MACLnC,MAAO,SErHJE,GAAM,GAAA2D,GACKvE,KAAKkE,WAAWtD,GAAvBiC,EADE0B,EACF1B,GAEP,OAAO7C,MAAK2D,OAAOU,IAAIxB,MF+HvBA,IAAK,WACLnC,MAAO,WExHP,MAAOV,MAAK2D,OAAOa,aFmInB3B,IAAK,UACLnC,MAAO,SE5HAE,GACP,GAAIyC,EAAOzC,IAAS4C,EAAS5C,GAAO,IAAA6D,GACrBzE,KAAKkE,WAAWtD,GAAvBiC,EAD4B4B,EAC5B5B,GACP6B,SAAQC,KAAR,qCAAiD9B,EAAjD,0BAGD,GAAI7C,KAAK2D,OAAOU,IAAIzD,GACnB,MAAOZ,MAAK2D,OAAOxC,IAAIP,EAGxB,KAAIZ,KAAK8D,WAIT,KAAM,IAAIc,OAAJ,uBAAiChE,EAAjC,QF0INiC,IAAK,aACLnC,MAAO,SEjIGmC,GAAmB,GAAdnC,GAAcmE,UAAA5C,OAAA,GAAA6C,SAAAD,UAAA,GAAAA,UAAA,GAAN,IACrB,OAAIxB,GAAOR,IAAQU,EAASV,EAAIjC,OACvBiC,IAAKA,EAAIjC,KAAMF,MAAOmC,GAG3BW,EAASX,IAAQQ,EAAOR,EAAIO,cAAgBG,EAASV,EAAIO,YAAYxC,OAC/DiC,IAAKA,EAAIO,YAAYxC,KAAMF,MAAOmC,IAGtCA,MAAKnC,YF8IbmC,IAAK,YACLnC,MAAO,WEtIY,GAAVgD,GAAUmB,UAAA5C,OAAA,GAAA6C,SAAAD,UAAA,GAAAA,UAAA,KACnB,OAAO9D,QAAOgE,KAAKrB,GAAKA,IAAI,SAACb,GAC5B,OAAQA,EAAKa,EAAIb,SFoJlBA,IAAK,aACLnC,MAAO,SE3IGsE,GACV,GAAMC,GAAYD,EAAKE,WAAWC,MAAM,uCAExC,OAAkB,QAAdF,GACHP,QAAQC,KAAR,yBAAsCK,EAAKpE,MACpCoE,EAAKI,KAAKC,QAGe,aAAjBJ,EAAU,IAAsCH,SAAjBG,EAAU,GAEvCA,EAAU,GAAKA,EAAU,IACzCK,QAAQ,KAAM,IACdC,MAAM,KACNC,OAAO,SAAAC,GAAA,MAAe,KAARA,IACd/B,IAAI1D,KAAK0F,QAAQN,KAAKpF,UFmJxB6C,IAAK,UACLnC,MAAO,SE5IAsE,GAAmB,GAAbK,GAAaR,UAAA5C,OAAA,GAAA6C,SAAAD,UAAA,GAAAA,UAAA,GAAN,KACdc,EAAS3F,KAAK4F,WAAWZ,EAE/B,OAAOA,GAAKI,KAALS,MAAAb,GAAUK,GAAVS,OAAAlE,EAAmB+D,SFkJpBlC,IAGR7D,GAAQmG,QEhSatC,GFoSf,SAAU5D,EAAQD,EAASM,GAEjC,YAWA,SAAS8F,GAAuB7C,GAAO,MAAOA,IAAOA,EAAI9B,WAAa8B,GAAQ4C,QAAS5C,GAEvF,QAASvB,GAAmBC,GAAO,GAAIC,MAAMC,QAAQF,GAAM,CAAE,IAAK,GAAIxB,GAAI,EAAG2B,EAAOF,MAAMD,EAAII,QAAS5B,EAAIwB,EAAII,OAAQ5B,IAAO2B,EAAK3B,GAAKwB,EAAIxB,EAAM,OAAO2B,GAAe,MAAOF,OAAMI,KAAKL,GAV1Ld,OAAOC,eAAepB,EAAS,cAC9Bc,OAAO,GG9SR,IAAAuF,GAAA/F,EAAA,GHmTIgG,EAAcF,EAAuBC,GGjTnCE,EAAY,SAACC,EAAKC,EAAUC,GACjC,GAAMC,GAAQH,EAAII,SAASH,EAC3B,IAAIE,GAASA,EAAMtE,OAAS,EAAG,CAC9B,GAAM0D,GAASW,EAAUV,WAAWW,EAAMA,EAAMtE,OAAS,IACnDwE,EAAOF,EAAMA,EAAMtE,OAAS,EAClCsE,GAAMA,EAAMtE,OAAS,GAAK,WACzBwE,EAAKlG,KAALsF,MAAAY,GAAUzG,MAAV8F,OAAAlE,EAAmB+D,QAKhBe,EAAiB,SAACN,EAAKE,GACExB,SAA1BsB,EAAII,SAASG,UAChBP,EAAII,SAASG,SAASC,QAAQ,SAAAC,GAC7BT,EAAIU,UAAUD,GAAWP,EAAUZ,QAAQmB,MAK1CP,QHwTJ1G,GAAQmG,SGtTPjC,WAAY,EACZiD,QAFc,SAENC,GAAmB,GAAdC,GAAcpC,UAAA5C,OAAA,GAAA6C,SAAAD,UAAA,GAAAA,UAAA,KAC1ByB,GAAY,GAAAJ,GAAAH,QAAckB,EAAQC,UAElCF,EAAIxF,UAAUsF,aACdE,EAAIxF,UAAU2F,KAAOb,EACrBU,EAAIG,KAAOb,EACXU,EAAII,OACHC,aADS,WAERX,EAAe1G,KAAMsG,GACrBH,EAAUnG,KAAM,UAAWsG,GAC3BH,EAAUnG,KAAM,cAAesG,GAC/BH,EAAUnG,KAAM,UAAWsG,GAC3BH,EAAUnG,KAAM,eAAgBsG,GAChCH,EAAUnG,KAAM,UAAWsG,GAC3BH,EAAUnG,KAAM,gBAAiBsG,GACjCH,EAAUnG,KAAM,YAAasG,SHiU3B,SAAUzG,EAAQD,EAASM,GAEjC,YAqBA,SAAS8F,GAAuB7C,GAAO,MAAOA,IAAOA,EAAI9B,WAAa8B,GAAQ4C,QAAS5C,GAlBvFpC,OAAOC,eAAepB,EAAS,cAC7Bc,OAAO,IAETd,EAAQ6D,UAAYqB,MAEpB,IAAImB,GAAa/F,EAAoB,EAErCa,QAAOC,eAAepB,EAAS,aAC7BsB,YAAY,EACZC,IAAK,WACH,MAAO6E,GAAuBC,GItXzBF,UADT,IAAAuB,GAAApH,EAAA,GJ6XIqH,EAAQvB,EAAuBsB,EAInC1H,GAAQmG,QAAUwB,EAAMxB","file":"vuec.js","sourcesContent":["(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory();\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"vuec\"] = factory();\n\telse\n\t\troot[\"vuec\"] = factory();\n})(this, function() {\nreturn \n\n\n// WEBPACK FOOTER //\n// webpack/universalModuleDefinition","(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory();\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"vuec\"] = factory();\n\telse\n\t\troot[\"vuec\"] = factory();\n})(this, function() {\nreturn /******/ (function(modules) { // webpackBootstrap\n/******/ \t// The module cache\n/******/ \tvar installedModules = {};\n/******/\n/******/ \t// The require function\n/******/ \tfunction __webpack_require__(moduleId) {\n/******/\n/******/ \t\t// Check if module is in cache\n/******/ \t\tif(installedModules[moduleId])\n/******/ \t\t\treturn installedModules[moduleId].exports;\n/******/\n/******/ \t\t// Create a new module (and put it into the cache)\n/******/ \t\tvar module = installedModules[moduleId] = {\n/******/ \t\t\ti: moduleId,\n/******/ \t\t\tl: false,\n/******/ \t\t\texports: {}\n/******/ \t\t};\n/******/\n/******/ \t\t// Execute the module function\n/******/ \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n/******/\n/******/ \t\t// Flag the module as loaded\n/******/ \t\tmodule.l = true;\n/******/\n/******/ \t\t// Return the exports of the module\n/******/ \t\treturn module.exports;\n/******/ \t}\n/******/\n/******/\n/******/ \t// expose the modules object (__webpack_modules__)\n/******/ \t__webpack_require__.m = modules;\n/******/\n/******/ \t// expose the module cache\n/******/ \t__webpack_require__.c = installedModules;\n/******/\n/******/ \t// identity function for calling harmony imports with the correct context\n/******/ \t__webpack_require__.i = function(value) { return value; };\n/******/\n/******/ \t// define getter function for harmony exports\n/******/ \t__webpack_require__.d = function(exports, name, getter) {\n/******/ \t\tif(!__webpack_require__.o(exports, name)) {\n/******/ \t\t\tObject.defineProperty(exports, name, {\n/******/ \t\t\t\tconfigurable: false,\n/******/ \t\t\t\tenumerable: true,\n/******/ \t\t\t\tget: getter\n/******/ \t\t\t});\n/******/ \t\t}\n/******/ \t};\n/******/\n/******/ \t// getDefaultExport function for compatibility with non-harmony modules\n/******/ \t__webpack_require__.n = function(module) {\n/******/ \t\tvar getter = module && module.__esModule ?\n/******/ \t\t\tfunction getDefault() { return module['default']; } :\n/******/ \t\t\tfunction getModuleExports() { return module; };\n/******/ \t\t__webpack_require__.d(getter, 'a', getter);\n/******/ \t\treturn getter;\n/******/ \t};\n/******/\n/******/ \t// Object.prototype.hasOwnProperty.call\n/******/ \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n/******/\n/******/ \t// __webpack_public_path__\n/******/ \t__webpack_require__.p = \"\";\n/******/\n/******/ \t// Load entry module and return exports\n/******/ \treturn __webpack_require__(__webpack_require__.s = 2);\n/******/ })\n/************************************************************************/\n/******/ ([\n/* 0 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n\tvalue: true\n});\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\nfunction _toConsumableArray(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } else { return Array.from(arr); } }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nvar isFunc = function isFunc(val) {\n\treturn typeof val === 'function';\n};\nvar isString = function isString(val) {\n\treturn typeof val === 'string';\n};\nvar isObject = function isObject(val) {\n\treturn (typeof val === 'undefined' ? 'undefined' : _typeof(val)) === 'object';\n};\n\nvar Container = function () {\n\tfunction Container(map) {\n\t\t_classCallCheck(this, Container);\n\n\t\tthis.$cache = new Map(this.toEntries(map));\n\t\tthis.production = Boolean(\"production\" === 'production');\n\t}\n\n\t/**\n * Register dependency in container by given name or by function name\n * @param name {Function|Object|String}\n * @param dependency {any}\n * @returns {Container}\n */\n\n\n\t_createClass(Container, [{\n\t\tkey: 'register',\n\t\tvalue: function register(name, dependency) {\n\t\t\tvar _extractDep = this.extractDep(name, dependency),\n\t\t\t key = _extractDep.key,\n\t\t\t value = _extractDep.value;\n\n\t\t\tthis.$cache.set(key, value);\n\n\t\t\treturn this;\n\t\t}\n\n\t\t/**\n * Removes dependency from container by given name or by function name\n * @param name {Function|String}\n * @returns {Container}\n */\n\n\t}, {\n\t\tkey: 'unregister',\n\t\tvalue: function unregister(name) {\n\t\t\tvar _extractDep2 = this.extractDep(name),\n\t\t\t key = _extractDep2.key;\n\n\t\t\tif (this.$cache.has(key)) {\n\t\t\t\tthis.$cache.delete(key);\n\t\t\t}\n\n\t\t\treturn this;\n\t\t}\n\n\t\t/**\n * Check if dependency exists in container\n * @param name {String}\n * @returns {boolean}\n */\n\n\t}, {\n\t\tkey: 'has',\n\t\tvalue: function has(name) {\n\t\t\tvar _extractDep3 = this.extractDep(name),\n\t\t\t key = _extractDep3.key;\n\n\t\t\treturn this.$cache.has(key);\n\t\t}\n\n\t\t/**\n * Returns iterator of values as [key, dependency]\n * @returns {Iterator.<*>}\n */\n\n\t}, {\n\t\tkey: 'bindings',\n\t\tvalue: function bindings() {\n\t\t\treturn this.$cache.entries();\n\t\t}\n\n\t\t/**\n * Resolves dependency only by string name\n * @param name {String}\n * @returns {any}\n */\n\n\t}, {\n\t\tkey: 'resolve',\n\t\tvalue: function resolve(name) {\n\t\t\tif (isFunc(name) || isObject(name)) {\n\t\t\t\tvar _extractDep4 = this.extractDep(name),\n\t\t\t\t key = _extractDep4.key;\n\n\t\t\t\tconsole.warn('Don\\'t try to resolve dependency \"' + key + '\" by dependency itself');\n\t\t\t}\n\n\t\t\tif (this.$cache.has(name)) {\n\t\t\t\treturn this.$cache.get(name);\n\t\t\t}\n\n\t\t\tif (this.production) {\n\t\t\t\treturn void 0;\n\t\t\t}\n\n\t\t\tthrow new Error('Unknown dependency \"' + name + '\"');\n\t\t}\n\n\t\t/**\n * Extract dependency name from key and return as {key, value} pair\n * @param key {Function|Object|String|any}\n * @param value {any}\n * @returns {{key:string, value:any}}\n * @protected\n */\n\n\t}, {\n\t\tkey: 'extractDep',\n\t\tvalue: function extractDep(key) {\n\t\t\tvar value = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;\n\n\t\t\tif (isFunc(key) && isString(key.name)) {\n\t\t\t\treturn { key: key.name, value: key }; // jus a function or class\n\t\t\t}\n\n\t\t\tif (isObject(key) && isFunc(key.constructor) && isString(key.constructor.name)) {\n\t\t\t\treturn { key: key.constructor.name, value: key }; // instance of class or function\n\t\t\t}\n\n\t\t\treturn { key: key, value: value };\n\t\t}\n\n\t\t/**\n * Converts object to [key, value] array\n * @param map {Object}\n * @returns {Array}\n * @protected\n */\n\n\t}, {\n\t\tkey: 'toEntries',\n\t\tvalue: function toEntries() {\n\t\t\tvar map = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n\n\t\t\treturn Object.keys(map).map(function (key) {\n\t\t\t\treturn [key, map[key]];\n\t\t\t});\n\t\t}\n\n\t\t/**\n * Extracts all dependencies names from given function\n * @param func {Function}\n * @returns {Array}\n * @protected\n */\n\n\t}, {\n\t\tkey: 'parameters',\n\t\tvalue: function parameters(func) {\n\t\t\tvar extracted = func.toString().match(/^(function)?\\s*[^(]*\\(\\s*([^)]*)\\)?/m);\n\n\t\t\tif (extracted === null) {\n\t\t\t\tconsole.warn('Extraction failed for ' + func.name);\n\t\t\t\treturn func.bind(self);\n\t\t\t}\n\n\t\t\tvar es6Mode = extracted[1] === 'function' || extracted[1] === undefined;\n\n\t\t\treturn (es6Mode ? extracted[2] : extracted[1]).replace(/ /g, '').split(',').filter(function (dep) {\n\t\t\t\treturn dep !== '';\n\t\t\t}).map(this.resolve.bind(this));\n\t\t}\n\n\t\t/**\n * Injects dependencies into the function by arguments\n * @param func\n * @param self\n */\n\n\t}, {\n\t\tkey: 'prepare',\n\t\tvalue: function prepare(func) {\n\t\t\tvar self = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;\n\n\t\t\tvar params = this.parameters(func);\n\n\t\t\treturn func.bind.apply(func, [self].concat(_toConsumableArray(params)));\n\t\t}\n\t}]);\n\n\treturn Container;\n}();\n\nexports.default = Container;\n\n/***/ }),\n/* 1 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n\tvalue: true\n});\n\nvar _Container = __webpack_require__(0);\n\nvar _Container2 = _interopRequireDefault(_Container);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _toConsumableArray(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } else { return Array.from(arr); } }\n\nvar patchHook = function patchHook($vm, hookName, container) {\n\tvar hooks = $vm.$options[hookName];\n\tif (hooks && hooks.length > 0) {\n\t\tvar params = container.parameters(hooks[hooks.length - 1]);\n\t\tvar hook = hooks[hooks.length - 1];\n\t\thooks[hooks.length - 1] = function () {\n\t\t\thook.call.apply(hook, [this].concat(_toConsumableArray(params)));\n\t\t};\n\t}\n};\n\nvar injectServices = function injectServices($vm, container) {\n\tif ($vm.$options.services !== undefined) {\n\t\t$vm.$options.services.forEach(function (service) {\n\t\t\t$vm.$services[service] = container.resolve(service);\n\t\t});\n\t}\n};\n\nvar container = void 0;\nexports.default = {\n\tproduction: \"production\" === 'production',\n\tinstall: function install(Vue) {\n\t\tvar options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n\n\t\tcontainer = new _Container2.default(options.register);\n\n\t\tVue.prototype.$services = [];\n\t\tVue.prototype.$ioc = container;\n\t\tVue.$ioc = container;\n\t\tVue.mixin({\n\t\t\tbeforeCreate: function beforeCreate() {\n\t\t\t\tinjectServices(this, container);\n\t\t\t\tpatchHook(this, 'created', container);\n\t\t\t\tpatchHook(this, 'beforeMount', container);\n\t\t\t\tpatchHook(this, 'mounted', container);\n\t\t\t\tpatchHook(this, 'beforeUpdate', container);\n\t\t\t\tpatchHook(this, 'updated', container);\n\t\t\t\tpatchHook(this, 'beforeDestroy', container);\n\t\t\t\tpatchHook(this, 'destroyed', container);\n\t\t\t}\n\t\t});\n\t}\n};\n\n/***/ }),\n/* 2 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.Container = undefined;\n\nvar _Container = __webpack_require__(0);\n\nObject.defineProperty(exports, 'Container', {\n enumerable: true,\n get: function get() {\n return _interopRequireDefault(_Container).default;\n }\n});\n\nvar _Vue = __webpack_require__(1);\n\nvar _Vue2 = _interopRequireDefault(_Vue);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nexports.default = _Vue2.default;\n\n/***/ })\n/******/ ]);\n});\n\n\n// WEBPACK FOOTER //\n// vuec.js"," \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId])\n \t\t\treturn installedModules[moduleId].exports;\n\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// identity function for calling harmony imports with the correct context\n \t__webpack_require__.i = function(value) { return value; };\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, {\n \t\t\t\tconfigurable: false,\n \t\t\t\tenumerable: true,\n \t\t\t\tget: getter\n \t\t\t});\n \t\t}\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 2);\n\n\n\n// WEBPACK FOOTER //\n// webpack/bootstrap 38b3d23ebdc36d663f00","const isFunc = (val) => typeof val === 'function';\nconst isString = (val) => typeof val === 'string';\nconst isObject = (val) => typeof val === 'object';\n\nexport default class Container {\n\n\tconstructor(map) {\n\t\tthis.$cache = new Map(this.toEntries(map));\n\t\tthis.production = Boolean(process.env.NODE_ENV === 'production');\n\t}\n\n /**\n * Register dependency in container by given name or by function name\n * @param name {Function|Object|String}\n * @param dependency {any}\n * @returns {Container}\n */\n\tregister(name, dependency) {\n\t\tconst {key, value} = this.extractDep(name, dependency);\n\n this.$cache.set(key, value);\n\n\t\treturn this;\n\t}\n\n /**\n * Removes dependency from container by given name or by function name\n * @param name {Function|String}\n * @returns {Container}\n */\n\tunregister(name) {\n\t\tconst {key} = this.extractDep(name);\n\n\t\tif (this.$cache.has(key)) {\n\t\t\tthis.$cache.delete(key);\n\t\t}\n\n\t\treturn this;\n\t}\n\n /**\n * Check if dependency exists in container\n * @param name {String}\n * @returns {boolean}\n */\n\thas(name) {\n\t\tconst {key} = this.extractDep(name);\n\n\t\treturn this.$cache.has(key);\n\t}\n\n /**\n * Returns iterator of values as [key, dependency]\n * @returns {Iterator.<*>}\n */\n\tbindings() {\n\t\treturn this.$cache.entries();\n\t}\n\n /**\n * Resolves dependency only by string name\n * @param name {String}\n * @returns {any}\n */\n\tresolve(name) {\n\t\tif (isFunc(name) || isObject(name)) {\n\t\t\tconst {key} = this.extractDep(name);\n\t\t\tconsole.warn(`Don't try to resolve dependency \"${key}\" by dependency itself`)\n\t\t}\n\n\t\tif (this.$cache.has(name)) {\n\t\t\treturn this.$cache.get(name);\n\t\t}\n\n\t\tif (this.production) {\n\t\t\treturn void 0;\n\t\t}\n\n\t\tthrow new Error(`Unknown dependency \"${name}\"`);\n\t}\n\n /**\n * Extract dependency name from key and return as {key, value} pair\n * @param key {Function|Object|String|any}\n * @param value {any}\n * @returns {{key:string, value:any}}\n * @protected\n */\n\textractDep(key, value = null) {\n if (isFunc(key) && isString(key.name)) {\n \treturn {key: key.name, value: key}; // jus a function or class\n\t\t}\n\n if (isObject(key) && isFunc(key.constructor) && isString(key.constructor.name)) {\n return {key: key.constructor.name, value: key};// instance of class or function\n }\n\n\t\treturn {key, value};\n\t}\n\n /**\n * Converts object to [key, value] array\n * @param map {Object}\n * @returns {Array}\n * @protected\n */\n\ttoEntries(map = {}) {\n\t\treturn Object.keys(map).map((key) => {\n\t\t\treturn [key, map[key]]\n\t\t});\n\t}\n\n /**\n * Extracts all dependencies names from given function\n * @param func {Function}\n * @returns {Array}\n * @protected\n */\n\tparameters(func) {\n\t\tconst extracted = func.toString().match(/^(function)?\\s*[^(]*\\(\\s*([^)]*)\\)?/m);\n\n\t\tif (extracted === null) {\n\t\t\tconsole.warn(`Extraction failed for ${func.name}`);\n\t\t\treturn func.bind(self);\n\t\t}\n\n\t\tconst es6Mode = extracted[1] === 'function' || extracted[1] === undefined;\n\n\t\treturn (es6Mode ? extracted[2] : extracted[1])\n\t\t\t.replace(/ /g, '')\n\t\t\t.split(',')\n\t\t\t.filter(dep => dep !== '')\n\t\t\t.map(this.resolve.bind(this));\n\t}\n\n /**\n * Injects dependencies into the function by arguments\n * @param func\n * @param self\n */\n\tprepare(func, self = null) {\n\t\tconst params = this.parameters(func);\n\n\t\treturn func.bind(self, ...params);\n\t}\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/Container.js","import Container from './Container';\n\nconst patchHook = ($vm, hookName, container) => {\n\tconst hooks = $vm.$options[hookName];\n\tif (hooks && hooks.length > 0) {\n\t\tconst params = container.parameters(hooks[hooks.length - 1]);\n\t\tconst hook = hooks[hooks.length - 1];\n\t\thooks[hooks.length - 1] = function () {\n\t\t\thook.call(this, ...params);\n\t\t};\n\t}\n};\n\nconst injectServices = ($vm, container) => {\n\tif ($vm.$options.services !== undefined) {\n\t\t$vm.$options.services.forEach(service => {\n\t\t\t$vm.$services[service] = container.resolve(service);\n\t\t});\n\t}\n};\n\nlet container;\nexport default {\n\tproduction: process.env.NODE_ENV === 'production',\n\tinstall(Vue, options = {}) {\n\t\tcontainer = new Container(options.register);\n\n\t\tVue.prototype.$services = [];\n\t\tVue.prototype.$ioc = container;\n\t\tVue.$ioc = container;\n\t\tVue.mixin({\n\t\t\tbeforeCreate() {\n\t\t\t\tinjectServices(this, container);\n\t\t\t\tpatchHook(this, 'created', container);\n\t\t\t\tpatchHook(this, 'beforeMount', container);\n\t\t\t\tpatchHook(this, 'mounted', container);\n\t\t\t\tpatchHook(this, 'beforeUpdate', container);\n\t\t\t\tpatchHook(this, 'updated', container);\n\t\t\t\tpatchHook(this, 'beforeDestroy', container);\n\t\t\t\tpatchHook(this, 'destroyed', container);\n\t\t\t},\n\t\t});\n\t},\n};\n\n\n\n// WEBPACK FOOTER //\n// ./src/Vue.js","import Vuebindings from './Vue';\nexport { default as Container } from './Container';\n\nexport default Vuebindings;\n\n\n\n// WEBPACK FOOTER //\n// ./src/index.js"],"sourceRoot":""} -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "vue-container", 3 | "version": "1.1.1", 4 | "description": "A simple IoC container for VueJS", 5 | "main": "dist/vuec.js", 6 | "author": "Wannes Gennar ", 7 | "repository": "git@github.com:dealloc/vuec.git", 8 | "license": "MIT", 9 | "scripts": { 10 | "build": "webpack -p", 11 | "dev": "webpack --watch" 12 | }, 13 | "devDependencies": { 14 | "babel-core": "^6.23.1", 15 | "babel-loader": "^6.3.2", 16 | "babel-preset-env": "^1.2.0", 17 | "chai": "^3.5.0", 18 | "mocha": "^3.2.0", 19 | "vue": "^2.2.1", 20 | "webpack": "^2.2.1" 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /src/Container.js: -------------------------------------------------------------------------------- 1 | const isFunc = (val) => typeof val === 'function'; 2 | const isString = (val) => typeof val === 'string'; 3 | const isObject = (val) => typeof val === 'object'; 4 | 5 | export default class Container { 6 | 7 | /** 8 | * Constructs dependency Container with dependencies map 9 | * @param map {Object} 10 | */ 11 | constructor(map) { 12 | this.$cache = new Map(this.toEntries(map)); 13 | this.production = Boolean(process.env.NODE_ENV === 'production'); 14 | } 15 | 16 | /** 17 | * Register dependency in container by given name or by function name 18 | * @param name {Function|Object|String} 19 | * @param dependency {*} 20 | * @returns {Container} 21 | */ 22 | register(name, dependency) { 23 | const {key, value} = this.extractDep(name, dependency); 24 | 25 | this.$cache.set(key, value); 26 | 27 | return this; 28 | } 29 | 30 | /** 31 | * Removes dependency from container by given name or by function name 32 | * @param name {Function|String} 33 | * @returns {Container} 34 | */ 35 | unregister(name) { 36 | const {key} = this.extractDep(name); 37 | 38 | if (this.$cache.has(key)) { 39 | this.$cache.delete(key); 40 | } 41 | 42 | return this; 43 | } 44 | 45 | /** 46 | * Check if dependency exists in container 47 | * @param name {String} 48 | * @returns {boolean} 49 | */ 50 | has(name) { 51 | const {key} = this.extractDep(name); 52 | 53 | return this.$cache.has(key); 54 | } 55 | 56 | /** 57 | * Returns iterator of values as [key, dependency] 58 | * @returns {Iterator.<*>} 59 | */ 60 | bindings() { 61 | return this.$cache.entries(); 62 | } 63 | 64 | /** 65 | * Resolves dependency only by string name 66 | * @param name {String} 67 | * @returns {*} 68 | */ 69 | resolve(name) { 70 | if (isFunc(name) || isObject(name)) { 71 | const {key} = this.extractDep(name); 72 | console.warn(`Don't try to resolve dependency "${key}" by dependency itself`) 73 | } 74 | 75 | if (this.$cache.has(name)) { 76 | return this.$cache.get(name); 77 | } 78 | 79 | if (this.production) { 80 | return void 0; 81 | } 82 | 83 | throw new Error(`Unknown dependency "${name}"`); 84 | } 85 | 86 | /** 87 | * Extract dependency name from key and return as {key, value} pair 88 | * @param key {Function|Object|String|*} 89 | * @param value {*} 90 | * @returns {{key:string, value:*}} 91 | * @protected 92 | */ 93 | extractDep(key, value = null) { 94 | if (isFunc(key) && isString(key.name)) { 95 | return {key: key.name, value: key}; // jus a function or class 96 | } 97 | 98 | if (isObject(key) && isFunc(key.constructor) && isString(key.constructor.name)) { 99 | return {key: key.constructor.name, value: key};// instance of class or function 100 | } 101 | 102 | return {key, value}; 103 | } 104 | 105 | /** 106 | * Converts object to [key, value] array 107 | * @param map {Object} 108 | * @returns {Array} 109 | * @protected 110 | */ 111 | toEntries(map = {}) { 112 | return Object.keys(map).map((key) => { 113 | return [key, map[key]] 114 | }); 115 | } 116 | 117 | /** 118 | * Extracts all dependencies names from given function 119 | * @param func {Function} 120 | * @returns {Array} 121 | * @protected 122 | */ 123 | parameters(func) { 124 | const extracted = func.toString().match(/^(function)?\s*[^(]*\(\s*([^)]*)\)?/m); 125 | 126 | if (extracted === null) { 127 | console.warn(`Extraction failed for ${func.name}`); 128 | return func.bind(self); 129 | } 130 | 131 | const es6Mode = extracted[1] === 'function' || extracted[1] === undefined; 132 | 133 | return (es6Mode ? extracted[2] : extracted[1]) 134 | .replace(/ /g, '') 135 | .split(',') 136 | .filter(dep => dep !== '') 137 | .map(this.resolve.bind(this)); 138 | } 139 | 140 | /** 141 | * Injects dependencies into the function by arguments 142 | * @param func 143 | * @param self 144 | */ 145 | prepare(func, self = null) { 146 | const params = this.parameters(func); 147 | 148 | return func.bind(self, ...params); 149 | } 150 | } 151 | -------------------------------------------------------------------------------- /src/Vue.js: -------------------------------------------------------------------------------- 1 | import Container from './Container'; 2 | 3 | const patchHook = ($vm, hookName, container) => { 4 | const hooks = $vm.$options[hookName]; 5 | if (hooks && hooks.length > 0) { 6 | const params = container.parameters(hooks[hooks.length - 1]); 7 | const hook = hooks[hooks.length - 1]; 8 | hooks[hooks.length - 1] = function () { 9 | hook.call(this, ...params); 10 | }; 11 | } 12 | }; 13 | 14 | const injectServices = ($vm, container) => { 15 | if ($vm.$options.services !== undefined) { 16 | $vm.$options.services.forEach(service => { 17 | $vm.$services[service] = container.resolve(service); 18 | }); 19 | } 20 | }; 21 | 22 | let container; 23 | export default { 24 | production: process.env.NODE_ENV === 'production', 25 | install(Vue, options = {}) { 26 | container = new Container(options.register); 27 | 28 | Vue.prototype.$services = []; 29 | Vue.prototype.$ioc = container; 30 | Vue.$ioc = container; 31 | Vue.mixin({ 32 | beforeCreate() { 33 | injectServices(this, container); 34 | patchHook(this, 'created', container); 35 | patchHook(this, 'beforeMount', container); 36 | patchHook(this, 'mounted', container); 37 | patchHook(this, 'beforeUpdate', container); 38 | patchHook(this, 'updated', container); 39 | patchHook(this, 'beforeDestroy', container); 40 | patchHook(this, 'destroyed', container); 41 | }, 42 | }); 43 | }, 44 | }; 45 | -------------------------------------------------------------------------------- /src/index.js: -------------------------------------------------------------------------------- 1 | import Vuebindings from './Vue'; 2 | export { default as Container } from './Container'; 3 | 4 | export default Vuebindings; 5 | -------------------------------------------------------------------------------- /tests/container.js: -------------------------------------------------------------------------------- 1 | describe('Container', function() { 2 | describe('#register()', function() { 3 | it('Should register integers', function() { 4 | const container = new vuec.Container(); 5 | container.register('module', 12345); 6 | assert.equal(container.$cache.get('module'), 12345); 7 | }); 8 | it('Should register strings', function() { 9 | const container = new vuec.Container(); 10 | container.register('module', 'Hello world'); 11 | assert.equal(container.$cache.get('module'), 'Hello world'); 12 | }); 13 | it('Should register objects', function() { 14 | const container = new vuec.Container(); 15 | container.register('module', { hello: 'world' }); 16 | assert.property(container.$cache.get('module'), 'hello'); 17 | }); 18 | it('Should register functions without resolving', function() { 19 | const container = new vuec.Container(); 20 | container.register('module', function () { return 'Hello world'; }); 21 | const resolved = container.$cache.get('module'); 22 | assert.isFunction(resolved); 23 | assert.equal(resolved(), 'Hello world'); 24 | }); 25 | it('Should register function by its name', function() { 26 | function fooBaz() { 27 | return 'bar'; 28 | } 29 | 30 | const container = new vuec.Container(); 31 | container.register(fooBaz); 32 | const resolved = container.$cache.get('fooBaz'); 33 | assert.isFunction(fooBaz); 34 | assert.equal(resolved(), 'bar'); 35 | }); 36 | it('Should register class by its name', function() { 37 | class Foo { 38 | bar() { 39 | return 'baz' 40 | } 41 | } 42 | 43 | const container = new vuec.Container(); 44 | container.register(Foo); 45 | const resolvedClass = container.$cache.get('Foo'); 46 | assert.isFunction(resolvedClass); 47 | assert.equal(resolvedClass, Foo); 48 | }); 49 | it('Should register instance of class by its name', function() { 50 | class FooBaz { 51 | bar() { 52 | return 'baz' 53 | } 54 | } 55 | 56 | const container = new vuec.Container(); 57 | const instance = new FooBaz(); 58 | container.register(instance); 59 | const resolvedClass = container.$cache.get('FooBaz'); 60 | assert.instanceOf(resolvedClass, FooBaz); 61 | }); 62 | }); 63 | describe('#resolve()', function() { 64 | it('Should resolve integers', function() { 65 | const container = new vuec.Container(); 66 | container.register('integer', 12345); 67 | assert.equal(container.resolve('integer'), 12345); 68 | }); 69 | it('Should resolve strings', function() { 70 | const container = new vuec.Container(); 71 | container.register('string', 'Hello world'); 72 | assert.equal(container.resolve('string'), 'Hello world'); 73 | }); 74 | it('Should resolve objects', function() { 75 | const container = new vuec.Container(); 76 | const object = { hello: 'world' }; 77 | container.register('object', object); 78 | assert.equal(container.resolve('object'), object); 79 | }); 80 | it('Should resolve functions', function() { 81 | const container = new vuec.Container(); 82 | const fnc = () => 12345; 83 | container.register('function', fnc); 84 | assert.equal(container.resolve('function'), fnc); 85 | assert.equal(container.resolve('function')(), 12345); 86 | }); 87 | it('Should resolve class', function() { 88 | class FooBazBar {} 89 | 90 | const container = new vuec.Container(); 91 | container.register(FooBazBar); 92 | assert.equal(container.resolve('FooBazBar'), FooBazBar); 93 | }); 94 | it('Should resolve instance of class', function() { 95 | class FooBazBar2 {} 96 | const instance = new FooBazBar2(); 97 | const container = new vuec.Container(); 98 | container.register(instance); 99 | assert.equal(container.resolve('FooBazBar2'), instance); 100 | assert.instanceOf(container.resolve('FooBazBar2'), FooBazBar2); 101 | }); 102 | it('Should throw when target doesn\'t exist (development)', function() { 103 | const container = new vuec.Container(); 104 | if (container.production === true) return; 105 | 106 | try { 107 | container.resolve('test'); 108 | assert.fail('Resolve should\'ve thrown!'); 109 | } catch (error) { 110 | assert(/Unknown dependency "test"/.test(error)); 111 | } 112 | }); 113 | it('Should return undefined when target doesn\'t exist (production)', function() { 114 | const container = new vuec.Container(); 115 | if (container.production === false) return; 116 | 117 | assert.isUndefined(container.resolve('test')); 118 | }); 119 | }); 120 | describe('#has', function () { 121 | it('Should return false when a binding doesn\'t exist', function () { 122 | const container = new vuec.Container(); 123 | assert.equal(container.has('foo'), false); 124 | }); 125 | it('Should return true when a binding exists', function () { 126 | const container = new vuec.Container(); 127 | container.register('foo', 'foobar'); 128 | assert.equal(container.has('foo'), true); 129 | }); 130 | }); 131 | describe('#prepare', function () { 132 | it('Should return a function', function () { 133 | const container = new vuec.Container(); 134 | container.register('foo', 'bar'); 135 | const method = (foo) => assert.equal(foo, 'bar'); 136 | 137 | assert.isFunction(container.prepare(method)); 138 | }); 139 | it('Should resolve all parameters', function () { 140 | const container = new vuec.Container(); 141 | container.register('foo', 'bar'); 142 | const method = (foo) => assert.equal(foo, 'bar'); 143 | 144 | const resolved = container.prepare(method); 145 | resolved(); 146 | }); 147 | it('Should resolve only once', function () { 148 | const container = new vuec.Container(); 149 | container.register('foo', 'bar'); 150 | const method = (foo) => assert.equal(foo, 'bar'); 151 | const resolved = container.prepare(method); 152 | container.register('foo', 'foobar'); 153 | assert.equal(container.resolve('foo'), 'foobar'); 154 | 155 | resolved(); 156 | }); 157 | }); 158 | describe('#unregister', function () { 159 | it('Should remove a registered binding', function () { 160 | const container = new vuec.Container(); 161 | container.register('foo', 'Hello world'); 162 | assert.equal(container.has('foo'), true); 163 | container.unregister('foo'); 164 | assert.equal(container.has('foo'), false); 165 | }); 166 | it('Should ignore an unregistered binding', function () { 167 | const container = new vuec.Container(); 168 | container.unregister('foo'); 169 | assert.equal(container.has('foo'), false); 170 | }); 171 | }); 172 | }); 173 | -------------------------------------------------------------------------------- /tests/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Mocha Tests 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 18 | 19 | 20 | 25 |
26 |
27 |
28 | 29 | 30 | -------------------------------------------------------------------------------- /tests/vue.js: -------------------------------------------------------------------------------- 1 | describe('VueJS bindings', function() { 2 | beforeEach(function () { 3 | const vueNode = document.getElementById('vue'); 4 | vueNode.removeChild(document.getElementById('app')); 5 | vueNode.innerHTML = '
'; 6 | }); 7 | describe('#integration', function () { 8 | it('Should have "$ioc" property on global instance', function () { 9 | assert.isDefined(Vue.$ioc); 10 | }); 11 | it('Should define "$ioc" property on Vue instances', function () { 12 | const instance = new Vue(); 13 | assert.isDefined(instance.$ioc); 14 | }); 15 | it('Should instance "$ioc" should equal global "$ioc"', function () { 16 | const instance = new Vue(); 17 | assert.equal(Vue.$ioc, instance.$ioc) 18 | }); 19 | }); 20 | describe('#injections', function () { 21 | describe('Lifecycle injections', function () { 22 | it('Should inject into the created hook', function (done) { 23 | Vue.$ioc.register('integer', 12345); 24 | new Vue({ 25 | el: '#app', 26 | created: function (integer) { 27 | assert.equal(integer, 12345); 28 | done(); 29 | } 30 | }); 31 | }); 32 | it('Should inject into the beforeMount hook', function (done) { 33 | Vue.$ioc.register('integer', 12345); 34 | new Vue({ 35 | el: '#app', 36 | beforeMount: function (integer) { 37 | assert.equal(integer, 12345); 38 | done(); 39 | } 40 | }); 41 | }); 42 | it('Should inject into the mounted hook', function (done) { 43 | Vue.$ioc.register('integer', 12345); 44 | new Vue({ 45 | el: '#app', 46 | mounted: function (integer) { 47 | assert.equal(integer, 12345); 48 | done(); 49 | } 50 | }); 51 | }); 52 | }); 53 | describe('Instance injections ($services)', function () { 54 | it('Should expose a \'$services\' property', function (done) { 55 | new Vue({ 56 | el: '#app', 57 | mounted: function () { 58 | assert.isArray(this.$services); 59 | done(); 60 | } 61 | }); 62 | }); 63 | it('Should be an empty array', function (done) { 64 | new Vue({ 65 | el: '#app', 66 | mounted: function () { 67 | assert.lengthOf(this.$services, 0); 68 | done(); 69 | } 70 | }); 71 | }); 72 | it('Should inject from services on instance', function (done) { 73 | Vue.$ioc.register('foo', 'bar'); 74 | new Vue({ 75 | el: '#app', 76 | services: ['foo'], 77 | mounted: function () { 78 | assert.equal(this.$services.foo, 'bar'); 79 | done(); 80 | } 81 | }); 82 | }); 83 | it('Should bind on the correct instances.', function (done) { 84 | var uuid = []; 85 | var count = 0; 86 | 87 | const child = { 88 | template: '
', 89 | mounted: function () { 90 | // console.log(this._uid); 91 | var executed = false; 92 | try { 93 | assert.equal(uuid.indexOf(this._uid), -1); 94 | executed = true; 95 | } 96 | catch(ex) { 97 | done(ex); 98 | } 99 | finally { 100 | uuid.push(this._uid); 101 | if (++count === 2 && executed) { 102 | // two instances of child-element component has been created 103 | done(); 104 | } 105 | } 106 | } 107 | }; 108 | new Vue({ 109 | el: '#app', 110 | template: '
', 111 | components: { 'child-element': child }, 112 | }); 113 | }); 114 | }); 115 | }); 116 | }); 117 | -------------------------------------------------------------------------------- /webpack.config.js: -------------------------------------------------------------------------------- 1 | const path = require('path'); 2 | 3 | const source = path.resolve(__dirname, 'src'); 4 | module.exports = { 5 | entry: path.resolve(source, 'index.js'), 6 | devtool: 'source-map', 7 | output: { 8 | filename: 'vuec.js', 9 | path: path.resolve(__dirname, 'dist'), 10 | library: 'vuec', 11 | libraryTarget: 'umd', 12 | }, 13 | module: { 14 | loaders: [ 15 | { 16 | test: /\.js$/, 17 | exclude: /node_modules/, 18 | loader: 'babel-loader', 19 | }, 20 | ], 21 | }, 22 | }; 23 | -------------------------------------------------------------------------------- /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: 24 | version "4.11.3" 25 | resolved "https://registry.yarnpkg.com/ajv/-/ajv-4.11.3.tgz#ce30bdb90d1254f762c75af915fb3a63e7183d22" 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 | anymatch@^1.3.0: 47 | version "1.3.0" 48 | resolved "https://registry.yarnpkg.com/anymatch/-/anymatch-1.3.0.tgz#a3e52fa39168c825ff57b0248126ce5a8ff95507" 49 | dependencies: 50 | arrify "^1.0.0" 51 | micromatch "^2.1.5" 52 | 53 | aproba@^1.0.3: 54 | version "1.1.1" 55 | resolved "https://registry.yarnpkg.com/aproba/-/aproba-1.1.1.tgz#95d3600f07710aa0e9298c726ad5ecf2eacbabab" 56 | 57 | are-we-there-yet@~1.1.2: 58 | version "1.1.2" 59 | resolved "https://registry.yarnpkg.com/are-we-there-yet/-/are-we-there-yet-1.1.2.tgz#80e470e95a084794fe1899262c5667c6e88de1b3" 60 | dependencies: 61 | delegates "^1.0.0" 62 | readable-stream "^2.0.0 || ^1.1.13" 63 | 64 | arr-diff@^2.0.0: 65 | version "2.0.0" 66 | resolved "https://registry.yarnpkg.com/arr-diff/-/arr-diff-2.0.0.tgz#8f3b827f955a8bd669697e4a4256ac3ceae356cf" 67 | dependencies: 68 | arr-flatten "^1.0.1" 69 | 70 | arr-flatten@^1.0.1: 71 | version "1.0.1" 72 | resolved "https://registry.yarnpkg.com/arr-flatten/-/arr-flatten-1.0.1.tgz#e5ffe54d45e19f32f216e91eb99c8ce892bb604b" 73 | 74 | array-unique@^0.2.1: 75 | version "0.2.1" 76 | resolved "https://registry.yarnpkg.com/array-unique/-/array-unique-0.2.1.tgz#a1d97ccafcbc2625cc70fadceb36a50c58b01a53" 77 | 78 | arrify@^1.0.0: 79 | version "1.0.1" 80 | resolved "https://registry.yarnpkg.com/arrify/-/arrify-1.0.1.tgz#898508da2226f380df904728456849c1501a4b0d" 81 | 82 | asn1.js@^4.0.0: 83 | version "4.9.1" 84 | resolved "https://registry.yarnpkg.com/asn1.js/-/asn1.js-4.9.1.tgz#48ba240b45a9280e94748990ba597d216617fd40" 85 | dependencies: 86 | bn.js "^4.0.0" 87 | inherits "^2.0.1" 88 | minimalistic-assert "^1.0.0" 89 | 90 | asn1@~0.2.3: 91 | version "0.2.3" 92 | resolved "https://registry.yarnpkg.com/asn1/-/asn1-0.2.3.tgz#dac8787713c9966849fc8180777ebe9c1ddf3b86" 93 | 94 | assert-plus@^0.2.0: 95 | version "0.2.0" 96 | resolved "https://registry.yarnpkg.com/assert-plus/-/assert-plus-0.2.0.tgz#d74e1b87e7affc0db8aadb7021f3fe48101ab234" 97 | 98 | assert-plus@^1.0.0: 99 | version "1.0.0" 100 | resolved "https://registry.yarnpkg.com/assert-plus/-/assert-plus-1.0.0.tgz#f12e0f3c5d77b0b1cdd9146942e4e96c1e4dd525" 101 | 102 | assert@^1.1.1: 103 | version "1.4.1" 104 | resolved "https://registry.yarnpkg.com/assert/-/assert-1.4.1.tgz#99912d591836b5a6f5b345c0f07eefc08fc65d91" 105 | dependencies: 106 | util "0.10.3" 107 | 108 | assertion-error@^1.0.1: 109 | version "1.0.2" 110 | resolved "https://registry.yarnpkg.com/assertion-error/-/assertion-error-1.0.2.tgz#13ca515d86206da0bac66e834dd397d87581094c" 111 | 112 | async-each@^1.0.0: 113 | version "1.0.1" 114 | resolved "https://registry.yarnpkg.com/async-each/-/async-each-1.0.1.tgz#19d386a1d9edc6e7c1c85d388aedbcc56d33602d" 115 | 116 | async@^2.1.2: 117 | version "2.1.5" 118 | resolved "https://registry.yarnpkg.com/async/-/async-2.1.5.tgz#e587c68580994ac67fc56ff86d3ac56bdbe810bc" 119 | dependencies: 120 | lodash "^4.14.0" 121 | 122 | async@~0.2.6: 123 | version "0.2.10" 124 | resolved "https://registry.yarnpkg.com/async/-/async-0.2.10.tgz#b6bbe0b0674b9d719708ca38de8c237cb526c3d1" 125 | 126 | asynckit@^0.4.0: 127 | version "0.4.0" 128 | resolved "https://registry.yarnpkg.com/asynckit/-/asynckit-0.4.0.tgz#c79ed97f7f34cb8f2ba1bc9790bcc366474b4b79" 129 | 130 | aws-sign2@~0.6.0: 131 | version "0.6.0" 132 | resolved "https://registry.yarnpkg.com/aws-sign2/-/aws-sign2-0.6.0.tgz#14342dd38dbcc94d0e5b87d763cd63612c0e794f" 133 | 134 | aws4@^1.2.1: 135 | version "1.6.0" 136 | resolved "https://registry.yarnpkg.com/aws4/-/aws4-1.6.0.tgz#83ef5ca860b2b32e4a0deedee8c771b9db57471e" 137 | 138 | babel-code-frame@^6.22.0: 139 | version "6.22.0" 140 | resolved "https://registry.yarnpkg.com/babel-code-frame/-/babel-code-frame-6.22.0.tgz#027620bee567a88c32561574e7fd0801d33118e4" 141 | dependencies: 142 | chalk "^1.1.0" 143 | esutils "^2.0.2" 144 | js-tokens "^3.0.0" 145 | 146 | babel-core@^6.23.0, babel-core@^6.23.1: 147 | version "6.23.1" 148 | resolved "https://registry.yarnpkg.com/babel-core/-/babel-core-6.23.1.tgz#c143cb621bb2f621710c220c5d579d15b8a442df" 149 | dependencies: 150 | babel-code-frame "^6.22.0" 151 | babel-generator "^6.23.0" 152 | babel-helpers "^6.23.0" 153 | babel-messages "^6.23.0" 154 | babel-register "^6.23.0" 155 | babel-runtime "^6.22.0" 156 | babel-template "^6.23.0" 157 | babel-traverse "^6.23.1" 158 | babel-types "^6.23.0" 159 | babylon "^6.11.0" 160 | convert-source-map "^1.1.0" 161 | debug "^2.1.1" 162 | json5 "^0.5.0" 163 | lodash "^4.2.0" 164 | minimatch "^3.0.2" 165 | path-is-absolute "^1.0.0" 166 | private "^0.1.6" 167 | slash "^1.0.0" 168 | source-map "^0.5.0" 169 | 170 | babel-generator@^6.23.0: 171 | version "6.23.0" 172 | resolved "https://registry.yarnpkg.com/babel-generator/-/babel-generator-6.23.0.tgz#6b8edab956ef3116f79d8c84c5a3c05f32a74bc5" 173 | dependencies: 174 | babel-messages "^6.23.0" 175 | babel-runtime "^6.22.0" 176 | babel-types "^6.23.0" 177 | detect-indent "^4.0.0" 178 | jsesc "^1.3.0" 179 | lodash "^4.2.0" 180 | source-map "^0.5.0" 181 | trim-right "^1.0.1" 182 | 183 | babel-helper-builder-binary-assignment-operator-visitor@^6.22.0: 184 | version "6.22.0" 185 | resolved "https://registry.yarnpkg.com/babel-helper-builder-binary-assignment-operator-visitor/-/babel-helper-builder-binary-assignment-operator-visitor-6.22.0.tgz#29df56be144d81bdeac08262bfa41d2c5e91cdcd" 186 | dependencies: 187 | babel-helper-explode-assignable-expression "^6.22.0" 188 | babel-runtime "^6.22.0" 189 | babel-types "^6.22.0" 190 | 191 | babel-helper-call-delegate@^6.22.0: 192 | version "6.22.0" 193 | resolved "https://registry.yarnpkg.com/babel-helper-call-delegate/-/babel-helper-call-delegate-6.22.0.tgz#119921b56120f17e9dae3f74b4f5cc7bcc1b37ef" 194 | dependencies: 195 | babel-helper-hoist-variables "^6.22.0" 196 | babel-runtime "^6.22.0" 197 | babel-traverse "^6.22.0" 198 | babel-types "^6.22.0" 199 | 200 | babel-helper-define-map@^6.23.0: 201 | version "6.23.0" 202 | resolved "https://registry.yarnpkg.com/babel-helper-define-map/-/babel-helper-define-map-6.23.0.tgz#1444f960c9691d69a2ced6a205315f8fd00804e7" 203 | dependencies: 204 | babel-helper-function-name "^6.23.0" 205 | babel-runtime "^6.22.0" 206 | babel-types "^6.23.0" 207 | lodash "^4.2.0" 208 | 209 | babel-helper-explode-assignable-expression@^6.22.0: 210 | version "6.22.0" 211 | resolved "https://registry.yarnpkg.com/babel-helper-explode-assignable-expression/-/babel-helper-explode-assignable-expression-6.22.0.tgz#c97bf76eed3e0bae4048121f2b9dae1a4e7d0478" 212 | dependencies: 213 | babel-runtime "^6.22.0" 214 | babel-traverse "^6.22.0" 215 | babel-types "^6.22.0" 216 | 217 | babel-helper-function-name@^6.22.0, babel-helper-function-name@^6.23.0: 218 | version "6.23.0" 219 | resolved "https://registry.yarnpkg.com/babel-helper-function-name/-/babel-helper-function-name-6.23.0.tgz#25742d67175c8903dbe4b6cb9d9e1fcb8dcf23a6" 220 | dependencies: 221 | babel-helper-get-function-arity "^6.22.0" 222 | babel-runtime "^6.22.0" 223 | babel-template "^6.23.0" 224 | babel-traverse "^6.23.0" 225 | babel-types "^6.23.0" 226 | 227 | babel-helper-get-function-arity@^6.22.0: 228 | version "6.22.0" 229 | resolved "https://registry.yarnpkg.com/babel-helper-get-function-arity/-/babel-helper-get-function-arity-6.22.0.tgz#0beb464ad69dc7347410ac6ade9f03a50634f5ce" 230 | dependencies: 231 | babel-runtime "^6.22.0" 232 | babel-types "^6.22.0" 233 | 234 | babel-helper-hoist-variables@^6.22.0: 235 | version "6.22.0" 236 | resolved "https://registry.yarnpkg.com/babel-helper-hoist-variables/-/babel-helper-hoist-variables-6.22.0.tgz#3eacbf731d80705845dd2e9718f600cfb9b4ba72" 237 | dependencies: 238 | babel-runtime "^6.22.0" 239 | babel-types "^6.22.0" 240 | 241 | babel-helper-optimise-call-expression@^6.23.0: 242 | version "6.23.0" 243 | resolved "https://registry.yarnpkg.com/babel-helper-optimise-call-expression/-/babel-helper-optimise-call-expression-6.23.0.tgz#f3ee7eed355b4282138b33d02b78369e470622f5" 244 | dependencies: 245 | babel-runtime "^6.22.0" 246 | babel-types "^6.23.0" 247 | 248 | babel-helper-regex@^6.22.0: 249 | version "6.22.0" 250 | resolved "https://registry.yarnpkg.com/babel-helper-regex/-/babel-helper-regex-6.22.0.tgz#79f532be1647b1f0ee3474b5f5c3da58001d247d" 251 | dependencies: 252 | babel-runtime "^6.22.0" 253 | babel-types "^6.22.0" 254 | lodash "^4.2.0" 255 | 256 | babel-helper-remap-async-to-generator@^6.22.0: 257 | version "6.22.0" 258 | resolved "https://registry.yarnpkg.com/babel-helper-remap-async-to-generator/-/babel-helper-remap-async-to-generator-6.22.0.tgz#2186ae73278ed03b8b15ced089609da981053383" 259 | dependencies: 260 | babel-helper-function-name "^6.22.0" 261 | babel-runtime "^6.22.0" 262 | babel-template "^6.22.0" 263 | babel-traverse "^6.22.0" 264 | babel-types "^6.22.0" 265 | 266 | babel-helper-replace-supers@^6.22.0, babel-helper-replace-supers@^6.23.0: 267 | version "6.23.0" 268 | resolved "https://registry.yarnpkg.com/babel-helper-replace-supers/-/babel-helper-replace-supers-6.23.0.tgz#eeaf8ad9b58ec4337ca94223bacdca1f8d9b4bfd" 269 | dependencies: 270 | babel-helper-optimise-call-expression "^6.23.0" 271 | babel-messages "^6.23.0" 272 | babel-runtime "^6.22.0" 273 | babel-template "^6.23.0" 274 | babel-traverse "^6.23.0" 275 | babel-types "^6.23.0" 276 | 277 | babel-helpers@^6.23.0: 278 | version "6.23.0" 279 | resolved "https://registry.yarnpkg.com/babel-helpers/-/babel-helpers-6.23.0.tgz#4f8f2e092d0b6a8808a4bde79c27f1e2ecf0d992" 280 | dependencies: 281 | babel-runtime "^6.22.0" 282 | babel-template "^6.23.0" 283 | 284 | babel-loader@^6.3.2: 285 | version "6.3.2" 286 | resolved "https://registry.yarnpkg.com/babel-loader/-/babel-loader-6.3.2.tgz#18de4566385578c1b4f8ffe6cbc668f5e2a5ef03" 287 | dependencies: 288 | find-cache-dir "^0.1.1" 289 | loader-utils "^0.2.16" 290 | mkdirp "^0.5.1" 291 | object-assign "^4.0.1" 292 | 293 | babel-messages@^6.23.0: 294 | version "6.23.0" 295 | resolved "https://registry.yarnpkg.com/babel-messages/-/babel-messages-6.23.0.tgz#f3cdf4703858035b2a2951c6ec5edf6c62f2630e" 296 | dependencies: 297 | babel-runtime "^6.22.0" 298 | 299 | babel-plugin-check-es2015-constants@^6.3.13: 300 | version "6.22.0" 301 | resolved "https://registry.yarnpkg.com/babel-plugin-check-es2015-constants/-/babel-plugin-check-es2015-constants-6.22.0.tgz#35157b101426fd2ffd3da3f75c7d1e91835bbf8a" 302 | dependencies: 303 | babel-runtime "^6.22.0" 304 | 305 | babel-plugin-syntax-async-functions@^6.8.0: 306 | version "6.13.0" 307 | resolved "https://registry.yarnpkg.com/babel-plugin-syntax-async-functions/-/babel-plugin-syntax-async-functions-6.13.0.tgz#cad9cad1191b5ad634bf30ae0872391e0647be95" 308 | 309 | babel-plugin-syntax-exponentiation-operator@^6.8.0: 310 | version "6.13.0" 311 | resolved "https://registry.yarnpkg.com/babel-plugin-syntax-exponentiation-operator/-/babel-plugin-syntax-exponentiation-operator-6.13.0.tgz#9ee7e8337290da95288201a6a57f4170317830de" 312 | 313 | babel-plugin-syntax-trailing-function-commas@^6.13.0: 314 | version "6.22.0" 315 | resolved "https://registry.yarnpkg.com/babel-plugin-syntax-trailing-function-commas/-/babel-plugin-syntax-trailing-function-commas-6.22.0.tgz#ba0360937f8d06e40180a43fe0d5616fff532cf3" 316 | 317 | babel-plugin-transform-async-to-generator@^6.8.0: 318 | version "6.22.0" 319 | resolved "https://registry.yarnpkg.com/babel-plugin-transform-async-to-generator/-/babel-plugin-transform-async-to-generator-6.22.0.tgz#194b6938ec195ad36efc4c33a971acf00d8cd35e" 320 | dependencies: 321 | babel-helper-remap-async-to-generator "^6.22.0" 322 | babel-plugin-syntax-async-functions "^6.8.0" 323 | babel-runtime "^6.22.0" 324 | 325 | babel-plugin-transform-es2015-arrow-functions@^6.3.13: 326 | version "6.22.0" 327 | resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-arrow-functions/-/babel-plugin-transform-es2015-arrow-functions-6.22.0.tgz#452692cb711d5f79dc7f85e440ce41b9f244d221" 328 | dependencies: 329 | babel-runtime "^6.22.0" 330 | 331 | babel-plugin-transform-es2015-block-scoped-functions@^6.3.13: 332 | version "6.22.0" 333 | resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-block-scoped-functions/-/babel-plugin-transform-es2015-block-scoped-functions-6.22.0.tgz#bbc51b49f964d70cb8d8e0b94e820246ce3a6141" 334 | dependencies: 335 | babel-runtime "^6.22.0" 336 | 337 | babel-plugin-transform-es2015-block-scoping@^6.6.0: 338 | version "6.23.0" 339 | resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-block-scoping/-/babel-plugin-transform-es2015-block-scoping-6.23.0.tgz#e48895cf0b375be148cd7c8879b422707a053b51" 340 | dependencies: 341 | babel-runtime "^6.22.0" 342 | babel-template "^6.23.0" 343 | babel-traverse "^6.23.0" 344 | babel-types "^6.23.0" 345 | lodash "^4.2.0" 346 | 347 | babel-plugin-transform-es2015-classes@^6.6.0: 348 | version "6.23.0" 349 | resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-classes/-/babel-plugin-transform-es2015-classes-6.23.0.tgz#49b53f326202a2fd1b3bbaa5e2edd8a4f78643c1" 350 | dependencies: 351 | babel-helper-define-map "^6.23.0" 352 | babel-helper-function-name "^6.23.0" 353 | babel-helper-optimise-call-expression "^6.23.0" 354 | babel-helper-replace-supers "^6.23.0" 355 | babel-messages "^6.23.0" 356 | babel-runtime "^6.22.0" 357 | babel-template "^6.23.0" 358 | babel-traverse "^6.23.0" 359 | babel-types "^6.23.0" 360 | 361 | babel-plugin-transform-es2015-computed-properties@^6.3.13: 362 | version "6.22.0" 363 | resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-computed-properties/-/babel-plugin-transform-es2015-computed-properties-6.22.0.tgz#7c383e9629bba4820c11b0425bdd6290f7f057e7" 364 | dependencies: 365 | babel-runtime "^6.22.0" 366 | babel-template "^6.22.0" 367 | 368 | babel-plugin-transform-es2015-destructuring@^6.6.0: 369 | version "6.23.0" 370 | resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-destructuring/-/babel-plugin-transform-es2015-destructuring-6.23.0.tgz#997bb1f1ab967f682d2b0876fe358d60e765c56d" 371 | dependencies: 372 | babel-runtime "^6.22.0" 373 | 374 | babel-plugin-transform-es2015-duplicate-keys@^6.6.0: 375 | version "6.22.0" 376 | resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-duplicate-keys/-/babel-plugin-transform-es2015-duplicate-keys-6.22.0.tgz#672397031c21610d72dd2bbb0ba9fb6277e1c36b" 377 | dependencies: 378 | babel-runtime "^6.22.0" 379 | babel-types "^6.22.0" 380 | 381 | babel-plugin-transform-es2015-for-of@^6.6.0: 382 | version "6.23.0" 383 | resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-for-of/-/babel-plugin-transform-es2015-for-of-6.23.0.tgz#f47c95b2b613df1d3ecc2fdb7573623c75248691" 384 | dependencies: 385 | babel-runtime "^6.22.0" 386 | 387 | babel-plugin-transform-es2015-function-name@^6.3.13: 388 | version "6.22.0" 389 | resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-function-name/-/babel-plugin-transform-es2015-function-name-6.22.0.tgz#f5fcc8b09093f9a23c76ac3d9e392c3ec4b77104" 390 | dependencies: 391 | babel-helper-function-name "^6.22.0" 392 | babel-runtime "^6.22.0" 393 | babel-types "^6.22.0" 394 | 395 | babel-plugin-transform-es2015-literals@^6.3.13: 396 | version "6.22.0" 397 | resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-literals/-/babel-plugin-transform-es2015-literals-6.22.0.tgz#4f54a02d6cd66cf915280019a31d31925377ca2e" 398 | dependencies: 399 | babel-runtime "^6.22.0" 400 | 401 | babel-plugin-transform-es2015-modules-amd@^6.22.0, babel-plugin-transform-es2015-modules-amd@^6.8.0: 402 | version "6.22.0" 403 | resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-modules-amd/-/babel-plugin-transform-es2015-modules-amd-6.22.0.tgz#bf69cd34889a41c33d90dfb740e0091ccff52f21" 404 | dependencies: 405 | babel-plugin-transform-es2015-modules-commonjs "^6.22.0" 406 | babel-runtime "^6.22.0" 407 | babel-template "^6.22.0" 408 | 409 | babel-plugin-transform-es2015-modules-commonjs@^6.22.0, babel-plugin-transform-es2015-modules-commonjs@^6.6.0: 410 | version "6.23.0" 411 | resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-modules-commonjs/-/babel-plugin-transform-es2015-modules-commonjs-6.23.0.tgz#cba7aa6379fb7ec99250e6d46de2973aaffa7b92" 412 | dependencies: 413 | babel-plugin-transform-strict-mode "^6.22.0" 414 | babel-runtime "^6.22.0" 415 | babel-template "^6.23.0" 416 | babel-types "^6.23.0" 417 | 418 | babel-plugin-transform-es2015-modules-systemjs@^6.12.0: 419 | version "6.23.0" 420 | resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-modules-systemjs/-/babel-plugin-transform-es2015-modules-systemjs-6.23.0.tgz#ae3469227ffac39b0310d90fec73bfdc4f6317b0" 421 | dependencies: 422 | babel-helper-hoist-variables "^6.22.0" 423 | babel-runtime "^6.22.0" 424 | babel-template "^6.23.0" 425 | 426 | babel-plugin-transform-es2015-modules-umd@^6.12.0: 427 | version "6.23.0" 428 | resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-modules-umd/-/babel-plugin-transform-es2015-modules-umd-6.23.0.tgz#8d284ae2e19ed8fe21d2b1b26d6e7e0fcd94f0f1" 429 | dependencies: 430 | babel-plugin-transform-es2015-modules-amd "^6.22.0" 431 | babel-runtime "^6.22.0" 432 | babel-template "^6.23.0" 433 | 434 | babel-plugin-transform-es2015-object-super@^6.3.13: 435 | version "6.22.0" 436 | resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-object-super/-/babel-plugin-transform-es2015-object-super-6.22.0.tgz#daa60e114a042ea769dd53fe528fc82311eb98fc" 437 | dependencies: 438 | babel-helper-replace-supers "^6.22.0" 439 | babel-runtime "^6.22.0" 440 | 441 | babel-plugin-transform-es2015-parameters@^6.6.0: 442 | version "6.23.0" 443 | resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-parameters/-/babel-plugin-transform-es2015-parameters-6.23.0.tgz#3a2aabb70c8af945d5ce386f1a4250625a83ae3b" 444 | dependencies: 445 | babel-helper-call-delegate "^6.22.0" 446 | babel-helper-get-function-arity "^6.22.0" 447 | babel-runtime "^6.22.0" 448 | babel-template "^6.23.0" 449 | babel-traverse "^6.23.0" 450 | babel-types "^6.23.0" 451 | 452 | babel-plugin-transform-es2015-shorthand-properties@^6.3.13: 453 | version "6.22.0" 454 | resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-shorthand-properties/-/babel-plugin-transform-es2015-shorthand-properties-6.22.0.tgz#8ba776e0affaa60bff21e921403b8a652a2ff723" 455 | dependencies: 456 | babel-runtime "^6.22.0" 457 | babel-types "^6.22.0" 458 | 459 | babel-plugin-transform-es2015-spread@^6.3.13: 460 | version "6.22.0" 461 | resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-spread/-/babel-plugin-transform-es2015-spread-6.22.0.tgz#d6d68a99f89aedc4536c81a542e8dd9f1746f8d1" 462 | dependencies: 463 | babel-runtime "^6.22.0" 464 | 465 | babel-plugin-transform-es2015-sticky-regex@^6.3.13: 466 | version "6.22.0" 467 | resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-sticky-regex/-/babel-plugin-transform-es2015-sticky-regex-6.22.0.tgz#ab316829e866ee3f4b9eb96939757d19a5bc4593" 468 | dependencies: 469 | babel-helper-regex "^6.22.0" 470 | babel-runtime "^6.22.0" 471 | babel-types "^6.22.0" 472 | 473 | babel-plugin-transform-es2015-template-literals@^6.6.0: 474 | version "6.22.0" 475 | resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-template-literals/-/babel-plugin-transform-es2015-template-literals-6.22.0.tgz#a84b3450f7e9f8f1f6839d6d687da84bb1236d8d" 476 | dependencies: 477 | babel-runtime "^6.22.0" 478 | 479 | babel-plugin-transform-es2015-typeof-symbol@^6.6.0: 480 | version "6.23.0" 481 | resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-typeof-symbol/-/babel-plugin-transform-es2015-typeof-symbol-6.23.0.tgz#dec09f1cddff94b52ac73d505c84df59dcceb372" 482 | dependencies: 483 | babel-runtime "^6.22.0" 484 | 485 | babel-plugin-transform-es2015-unicode-regex@^6.3.13: 486 | version "6.22.0" 487 | resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-unicode-regex/-/babel-plugin-transform-es2015-unicode-regex-6.22.0.tgz#8d9cc27e7ee1decfe65454fb986452a04a613d20" 488 | dependencies: 489 | babel-helper-regex "^6.22.0" 490 | babel-runtime "^6.22.0" 491 | regexpu-core "^2.0.0" 492 | 493 | babel-plugin-transform-exponentiation-operator@^6.8.0: 494 | version "6.22.0" 495 | resolved "https://registry.yarnpkg.com/babel-plugin-transform-exponentiation-operator/-/babel-plugin-transform-exponentiation-operator-6.22.0.tgz#d57c8335281918e54ef053118ce6eb108468084d" 496 | dependencies: 497 | babel-helper-builder-binary-assignment-operator-visitor "^6.22.0" 498 | babel-plugin-syntax-exponentiation-operator "^6.8.0" 499 | babel-runtime "^6.22.0" 500 | 501 | babel-plugin-transform-regenerator@^6.6.0: 502 | version "6.22.0" 503 | resolved "https://registry.yarnpkg.com/babel-plugin-transform-regenerator/-/babel-plugin-transform-regenerator-6.22.0.tgz#65740593a319c44522157538d690b84094617ea6" 504 | dependencies: 505 | regenerator-transform "0.9.8" 506 | 507 | babel-plugin-transform-strict-mode@^6.22.0: 508 | version "6.22.0" 509 | resolved "https://registry.yarnpkg.com/babel-plugin-transform-strict-mode/-/babel-plugin-transform-strict-mode-6.22.0.tgz#e008df01340fdc87e959da65991b7e05970c8c7c" 510 | dependencies: 511 | babel-runtime "^6.22.0" 512 | babel-types "^6.22.0" 513 | 514 | babel-preset-env@^1.2.0: 515 | version "1.2.0" 516 | resolved "https://registry.yarnpkg.com/babel-preset-env/-/babel-preset-env-1.2.0.tgz#c33f12ddd9c5b822ee47f6316de539ae8dc98e08" 517 | dependencies: 518 | babel-plugin-check-es2015-constants "^6.3.13" 519 | babel-plugin-syntax-trailing-function-commas "^6.13.0" 520 | babel-plugin-transform-async-to-generator "^6.8.0" 521 | babel-plugin-transform-es2015-arrow-functions "^6.3.13" 522 | babel-plugin-transform-es2015-block-scoped-functions "^6.3.13" 523 | babel-plugin-transform-es2015-block-scoping "^6.6.0" 524 | babel-plugin-transform-es2015-classes "^6.6.0" 525 | babel-plugin-transform-es2015-computed-properties "^6.3.13" 526 | babel-plugin-transform-es2015-destructuring "^6.6.0" 527 | babel-plugin-transform-es2015-duplicate-keys "^6.6.0" 528 | babel-plugin-transform-es2015-for-of "^6.6.0" 529 | babel-plugin-transform-es2015-function-name "^6.3.13" 530 | babel-plugin-transform-es2015-literals "^6.3.13" 531 | babel-plugin-transform-es2015-modules-amd "^6.8.0" 532 | babel-plugin-transform-es2015-modules-commonjs "^6.6.0" 533 | babel-plugin-transform-es2015-modules-systemjs "^6.12.0" 534 | babel-plugin-transform-es2015-modules-umd "^6.12.0" 535 | babel-plugin-transform-es2015-object-super "^6.3.13" 536 | babel-plugin-transform-es2015-parameters "^6.6.0" 537 | babel-plugin-transform-es2015-shorthand-properties "^6.3.13" 538 | babel-plugin-transform-es2015-spread "^6.3.13" 539 | babel-plugin-transform-es2015-sticky-regex "^6.3.13" 540 | babel-plugin-transform-es2015-template-literals "^6.6.0" 541 | babel-plugin-transform-es2015-typeof-symbol "^6.6.0" 542 | babel-plugin-transform-es2015-unicode-regex "^6.3.13" 543 | babel-plugin-transform-exponentiation-operator "^6.8.0" 544 | babel-plugin-transform-regenerator "^6.6.0" 545 | browserslist "^1.4.0" 546 | electron-to-chromium "^1.1.0" 547 | invariant "^2.2.2" 548 | 549 | babel-register@^6.23.0: 550 | version "6.23.0" 551 | resolved "https://registry.yarnpkg.com/babel-register/-/babel-register-6.23.0.tgz#c9aa3d4cca94b51da34826c4a0f9e08145d74ff3" 552 | dependencies: 553 | babel-core "^6.23.0" 554 | babel-runtime "^6.22.0" 555 | core-js "^2.4.0" 556 | home-or-tmp "^2.0.0" 557 | lodash "^4.2.0" 558 | mkdirp "^0.5.1" 559 | source-map-support "^0.4.2" 560 | 561 | babel-runtime@^6.18.0, babel-runtime@^6.22.0: 562 | version "6.23.0" 563 | resolved "https://registry.yarnpkg.com/babel-runtime/-/babel-runtime-6.23.0.tgz#0a9489f144de70efb3ce4300accdb329e2fc543b" 564 | dependencies: 565 | core-js "^2.4.0" 566 | regenerator-runtime "^0.10.0" 567 | 568 | babel-template@^6.22.0, babel-template@^6.23.0: 569 | version "6.23.0" 570 | resolved "https://registry.yarnpkg.com/babel-template/-/babel-template-6.23.0.tgz#04d4f270adbb3aa704a8143ae26faa529238e638" 571 | dependencies: 572 | babel-runtime "^6.22.0" 573 | babel-traverse "^6.23.0" 574 | babel-types "^6.23.0" 575 | babylon "^6.11.0" 576 | lodash "^4.2.0" 577 | 578 | babel-traverse@^6.22.0, babel-traverse@^6.23.0, babel-traverse@^6.23.1: 579 | version "6.23.1" 580 | resolved "https://registry.yarnpkg.com/babel-traverse/-/babel-traverse-6.23.1.tgz#d3cb59010ecd06a97d81310065f966b699e14f48" 581 | dependencies: 582 | babel-code-frame "^6.22.0" 583 | babel-messages "^6.23.0" 584 | babel-runtime "^6.22.0" 585 | babel-types "^6.23.0" 586 | babylon "^6.15.0" 587 | debug "^2.2.0" 588 | globals "^9.0.0" 589 | invariant "^2.2.0" 590 | lodash "^4.2.0" 591 | 592 | babel-types@^6.19.0, babel-types@^6.22.0, babel-types@^6.23.0: 593 | version "6.23.0" 594 | resolved "https://registry.yarnpkg.com/babel-types/-/babel-types-6.23.0.tgz#bb17179d7538bad38cd0c9e115d340f77e7e9acf" 595 | dependencies: 596 | babel-runtime "^6.22.0" 597 | esutils "^2.0.2" 598 | lodash "^4.2.0" 599 | to-fast-properties "^1.0.1" 600 | 601 | babylon@^6.11.0, babylon@^6.15.0: 602 | version "6.16.1" 603 | resolved "https://registry.yarnpkg.com/babylon/-/babylon-6.16.1.tgz#30c5a22f481978a9e7f8cdfdf496b11d94b404d3" 604 | 605 | balanced-match@^0.4.1: 606 | version "0.4.2" 607 | resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-0.4.2.tgz#cb3f3e3c732dc0f01ee70b403f302e61d7709838" 608 | 609 | base64-js@^1.0.2: 610 | version "1.2.0" 611 | resolved "https://registry.yarnpkg.com/base64-js/-/base64-js-1.2.0.tgz#a39992d723584811982be5e290bb6a53d86700f1" 612 | 613 | bcrypt-pbkdf@^1.0.0: 614 | version "1.0.1" 615 | resolved "https://registry.yarnpkg.com/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.1.tgz#63bc5dcb61331b92bc05fd528953c33462a06f8d" 616 | dependencies: 617 | tweetnacl "^0.14.3" 618 | 619 | big.js@^3.1.3: 620 | version "3.1.3" 621 | resolved "https://registry.yarnpkg.com/big.js/-/big.js-3.1.3.tgz#4cada2193652eb3ca9ec8e55c9015669c9806978" 622 | 623 | binary-extensions@^1.0.0: 624 | version "1.8.0" 625 | resolved "https://registry.yarnpkg.com/binary-extensions/-/binary-extensions-1.8.0.tgz#48ec8d16df4377eae5fa5884682480af4d95c774" 626 | 627 | block-stream@*: 628 | version "0.0.9" 629 | resolved "https://registry.yarnpkg.com/block-stream/-/block-stream-0.0.9.tgz#13ebfe778a03205cfe03751481ebb4b3300c126a" 630 | dependencies: 631 | inherits "~2.0.0" 632 | 633 | bn.js@^4.0.0, bn.js@^4.1.0, bn.js@^4.1.1, bn.js@^4.4.0: 634 | version "4.11.6" 635 | resolved "https://registry.yarnpkg.com/bn.js/-/bn.js-4.11.6.tgz#53344adb14617a13f6e8dd2ce28905d1c0ba3215" 636 | 637 | boom@2.x.x: 638 | version "2.10.1" 639 | resolved "https://registry.yarnpkg.com/boom/-/boom-2.10.1.tgz#39c8918ceff5799f83f9492a848f625add0c766f" 640 | dependencies: 641 | hoek "2.x.x" 642 | 643 | brace-expansion@^1.0.0: 644 | version "1.1.6" 645 | resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-1.1.6.tgz#7197d7eaa9b87e648390ea61fc66c84427420df9" 646 | dependencies: 647 | balanced-match "^0.4.1" 648 | concat-map "0.0.1" 649 | 650 | braces@^1.8.2: 651 | version "1.8.5" 652 | resolved "https://registry.yarnpkg.com/braces/-/braces-1.8.5.tgz#ba77962e12dff969d6b76711e914b737857bf6a7" 653 | dependencies: 654 | expand-range "^1.8.1" 655 | preserve "^0.2.0" 656 | repeat-element "^1.1.2" 657 | 658 | brorand@^1.0.1: 659 | version "1.1.0" 660 | resolved "https://registry.yarnpkg.com/brorand/-/brorand-1.1.0.tgz#12c25efe40a45e3c323eb8675a0a0ce57b22371f" 661 | 662 | browser-stdout@1.3.0: 663 | version "1.3.0" 664 | resolved "https://registry.yarnpkg.com/browser-stdout/-/browser-stdout-1.3.0.tgz#f351d32969d32fa5d7a5567154263d928ae3bd1f" 665 | 666 | browserify-aes@^1.0.0, browserify-aes@^1.0.4: 667 | version "1.0.6" 668 | resolved "https://registry.yarnpkg.com/browserify-aes/-/browserify-aes-1.0.6.tgz#5e7725dbdef1fd5930d4ebab48567ce451c48a0a" 669 | dependencies: 670 | buffer-xor "^1.0.2" 671 | cipher-base "^1.0.0" 672 | create-hash "^1.1.0" 673 | evp_bytestokey "^1.0.0" 674 | inherits "^2.0.1" 675 | 676 | browserify-cipher@^1.0.0: 677 | version "1.0.0" 678 | resolved "https://registry.yarnpkg.com/browserify-cipher/-/browserify-cipher-1.0.0.tgz#9988244874bf5ed4e28da95666dcd66ac8fc363a" 679 | dependencies: 680 | browserify-aes "^1.0.4" 681 | browserify-des "^1.0.0" 682 | evp_bytestokey "^1.0.0" 683 | 684 | browserify-des@^1.0.0: 685 | version "1.0.0" 686 | resolved "https://registry.yarnpkg.com/browserify-des/-/browserify-des-1.0.0.tgz#daa277717470922ed2fe18594118a175439721dd" 687 | dependencies: 688 | cipher-base "^1.0.1" 689 | des.js "^1.0.0" 690 | inherits "^2.0.1" 691 | 692 | browserify-rsa@^4.0.0: 693 | version "4.0.1" 694 | resolved "https://registry.yarnpkg.com/browserify-rsa/-/browserify-rsa-4.0.1.tgz#21e0abfaf6f2029cf2fafb133567a701d4135524" 695 | dependencies: 696 | bn.js "^4.1.0" 697 | randombytes "^2.0.1" 698 | 699 | browserify-sign@^4.0.0: 700 | version "4.0.0" 701 | resolved "https://registry.yarnpkg.com/browserify-sign/-/browserify-sign-4.0.0.tgz#10773910c3c206d5420a46aad8694f820b85968f" 702 | dependencies: 703 | bn.js "^4.1.1" 704 | browserify-rsa "^4.0.0" 705 | create-hash "^1.1.0" 706 | create-hmac "^1.1.2" 707 | elliptic "^6.0.0" 708 | inherits "^2.0.1" 709 | parse-asn1 "^5.0.0" 710 | 711 | browserify-zlib@^0.1.4: 712 | version "0.1.4" 713 | resolved "https://registry.yarnpkg.com/browserify-zlib/-/browserify-zlib-0.1.4.tgz#bb35f8a519f600e0fa6b8485241c979d0141fb2d" 714 | dependencies: 715 | pako "~0.2.0" 716 | 717 | browserslist@^1.4.0: 718 | version "1.7.6" 719 | resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-1.7.6.tgz#af98589ce6e7ab09618d29451faacb81220bd3ba" 720 | dependencies: 721 | caniuse-db "^1.0.30000631" 722 | electron-to-chromium "^1.2.5" 723 | 724 | buffer-shims@^1.0.0: 725 | version "1.0.0" 726 | resolved "https://registry.yarnpkg.com/buffer-shims/-/buffer-shims-1.0.0.tgz#9978ce317388c649ad8793028c3477ef044a8b51" 727 | 728 | buffer-xor@^1.0.2: 729 | version "1.0.3" 730 | resolved "https://registry.yarnpkg.com/buffer-xor/-/buffer-xor-1.0.3.tgz#26e61ed1422fb70dd42e6e36729ed51d855fe8d9" 731 | 732 | buffer@^4.3.0: 733 | version "4.9.1" 734 | resolved "https://registry.yarnpkg.com/buffer/-/buffer-4.9.1.tgz#6d1bb601b07a4efced97094132093027c95bc298" 735 | dependencies: 736 | base64-js "^1.0.2" 737 | ieee754 "^1.1.4" 738 | isarray "^1.0.0" 739 | 740 | builtin-modules@^1.0.0: 741 | version "1.1.1" 742 | resolved "https://registry.yarnpkg.com/builtin-modules/-/builtin-modules-1.1.1.tgz#270f076c5a72c02f5b65a47df94c5fe3a278892f" 743 | 744 | builtin-status-codes@^3.0.0: 745 | version "3.0.0" 746 | resolved "https://registry.yarnpkg.com/builtin-status-codes/-/builtin-status-codes-3.0.0.tgz#85982878e21b98e1c66425e03d0174788f569ee8" 747 | 748 | camelcase@^1.0.2: 749 | version "1.2.1" 750 | resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-1.2.1.tgz#9bb5304d2e0b56698b2c758b08a3eaa9daa58a39" 751 | 752 | camelcase@^3.0.0: 753 | version "3.0.0" 754 | resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-3.0.0.tgz#32fc4b9fcdaf845fcdf7e73bb97cac2261f0ab0a" 755 | 756 | caniuse-db@^1.0.30000631: 757 | version "1.0.30000631" 758 | resolved "https://registry.yarnpkg.com/caniuse-db/-/caniuse-db-1.0.30000631.tgz#8aa6f65cff452c4aba1c2aaa1e724102fbb9114f" 759 | 760 | caseless@~0.11.0: 761 | version "0.11.0" 762 | resolved "https://registry.yarnpkg.com/caseless/-/caseless-0.11.0.tgz#715b96ea9841593cc33067923f5ec60ebda4f7d7" 763 | 764 | center-align@^0.1.1: 765 | version "0.1.3" 766 | resolved "https://registry.yarnpkg.com/center-align/-/center-align-0.1.3.tgz#aa0d32629b6ee972200411cbd4461c907bc2b7ad" 767 | dependencies: 768 | align-text "^0.1.3" 769 | lazy-cache "^1.0.3" 770 | 771 | chai@^3.5.0: 772 | version "3.5.0" 773 | resolved "https://registry.yarnpkg.com/chai/-/chai-3.5.0.tgz#4d02637b067fe958bdbfdd3a40ec56fef7373247" 774 | dependencies: 775 | assertion-error "^1.0.1" 776 | deep-eql "^0.1.3" 777 | type-detect "^1.0.0" 778 | 779 | chalk@^1.1.0, chalk@^1.1.1: 780 | version "1.1.3" 781 | resolved "https://registry.yarnpkg.com/chalk/-/chalk-1.1.3.tgz#a8115c55e4a702fe4d150abd3872822a7e09fc98" 782 | dependencies: 783 | ansi-styles "^2.2.1" 784 | escape-string-regexp "^1.0.2" 785 | has-ansi "^2.0.0" 786 | strip-ansi "^3.0.0" 787 | supports-color "^2.0.0" 788 | 789 | chokidar@^1.4.3: 790 | version "1.6.1" 791 | resolved "https://registry.yarnpkg.com/chokidar/-/chokidar-1.6.1.tgz#2f4447ab5e96e50fb3d789fd90d4c72e0e4c70c2" 792 | dependencies: 793 | anymatch "^1.3.0" 794 | async-each "^1.0.0" 795 | glob-parent "^2.0.0" 796 | inherits "^2.0.1" 797 | is-binary-path "^1.0.0" 798 | is-glob "^2.0.0" 799 | path-is-absolute "^1.0.0" 800 | readdirp "^2.0.0" 801 | optionalDependencies: 802 | fsevents "^1.0.0" 803 | 804 | cipher-base@^1.0.0, cipher-base@^1.0.1: 805 | version "1.0.3" 806 | resolved "https://registry.yarnpkg.com/cipher-base/-/cipher-base-1.0.3.tgz#eeabf194419ce900da3018c207d212f2a6df0a07" 807 | dependencies: 808 | inherits "^2.0.1" 809 | 810 | cliui@^2.1.0: 811 | version "2.1.0" 812 | resolved "https://registry.yarnpkg.com/cliui/-/cliui-2.1.0.tgz#4b475760ff80264c762c3a1719032e91c7fea0d1" 813 | dependencies: 814 | center-align "^0.1.1" 815 | right-align "^0.1.1" 816 | wordwrap "0.0.2" 817 | 818 | cliui@^3.2.0: 819 | version "3.2.0" 820 | resolved "https://registry.yarnpkg.com/cliui/-/cliui-3.2.0.tgz#120601537a916d29940f934da3b48d585a39213d" 821 | dependencies: 822 | string-width "^1.0.1" 823 | strip-ansi "^3.0.1" 824 | wrap-ansi "^2.0.0" 825 | 826 | co@^4.6.0: 827 | version "4.6.0" 828 | resolved "https://registry.yarnpkg.com/co/-/co-4.6.0.tgz#6ea6bdf3d853ae54ccb8e47bfa0bf3f9031fb184" 829 | 830 | code-point-at@^1.0.0: 831 | version "1.1.0" 832 | resolved "https://registry.yarnpkg.com/code-point-at/-/code-point-at-1.1.0.tgz#0d070b4d043a5bea33a2f1a40e2edb3d9a4ccf77" 833 | 834 | combined-stream@^1.0.5, combined-stream@~1.0.5: 835 | version "1.0.5" 836 | resolved "https://registry.yarnpkg.com/combined-stream/-/combined-stream-1.0.5.tgz#938370a57b4a51dea2c77c15d5c5fdf895164009" 837 | dependencies: 838 | delayed-stream "~1.0.0" 839 | 840 | commander@2.9.0, commander@^2.9.0: 841 | version "2.9.0" 842 | resolved "https://registry.yarnpkg.com/commander/-/commander-2.9.0.tgz#9c99094176e12240cb22d6c5146098400fe0f7d4" 843 | dependencies: 844 | graceful-readlink ">= 1.0.0" 845 | 846 | commondir@^1.0.1: 847 | version "1.0.1" 848 | resolved "https://registry.yarnpkg.com/commondir/-/commondir-1.0.1.tgz#ddd800da0c66127393cca5950ea968a3aaf1253b" 849 | 850 | concat-map@0.0.1: 851 | version "0.0.1" 852 | resolved "https://registry.yarnpkg.com/concat-map/-/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b" 853 | 854 | console-browserify@^1.1.0: 855 | version "1.1.0" 856 | resolved "https://registry.yarnpkg.com/console-browserify/-/console-browserify-1.1.0.tgz#f0241c45730a9fc6323b206dbf38edc741d0bb10" 857 | dependencies: 858 | date-now "^0.1.4" 859 | 860 | console-control-strings@^1.0.0, console-control-strings@~1.1.0: 861 | version "1.1.0" 862 | resolved "https://registry.yarnpkg.com/console-control-strings/-/console-control-strings-1.1.0.tgz#3d7cf4464db6446ea644bf4b39507f9851008e8e" 863 | 864 | constants-browserify@^1.0.0: 865 | version "1.0.0" 866 | resolved "https://registry.yarnpkg.com/constants-browserify/-/constants-browserify-1.0.0.tgz#c20b96d8c617748aaf1c16021760cd27fcb8cb75" 867 | 868 | convert-source-map@^1.1.0: 869 | version "1.4.0" 870 | resolved "https://registry.yarnpkg.com/convert-source-map/-/convert-source-map-1.4.0.tgz#e3dad195bf61bfe13a7a3c73e9876ec14a0268f3" 871 | 872 | core-js@^2.4.0: 873 | version "2.4.1" 874 | resolved "https://registry.yarnpkg.com/core-js/-/core-js-2.4.1.tgz#4de911e667b0eae9124e34254b53aea6fc618d3e" 875 | 876 | core-util-is@~1.0.0: 877 | version "1.0.2" 878 | resolved "https://registry.yarnpkg.com/core-util-is/-/core-util-is-1.0.2.tgz#b5fd54220aa2bc5ab57aab7140c940754503c1a7" 879 | 880 | create-ecdh@^4.0.0: 881 | version "4.0.0" 882 | resolved "https://registry.yarnpkg.com/create-ecdh/-/create-ecdh-4.0.0.tgz#888c723596cdf7612f6498233eebd7a35301737d" 883 | dependencies: 884 | bn.js "^4.1.0" 885 | elliptic "^6.0.0" 886 | 887 | create-hash@^1.1.0, create-hash@^1.1.1: 888 | version "1.1.2" 889 | resolved "https://registry.yarnpkg.com/create-hash/-/create-hash-1.1.2.tgz#51210062d7bb7479f6c65bb41a92208b1d61abad" 890 | dependencies: 891 | cipher-base "^1.0.1" 892 | inherits "^2.0.1" 893 | ripemd160 "^1.0.0" 894 | sha.js "^2.3.6" 895 | 896 | create-hmac@^1.1.0, create-hmac@^1.1.2: 897 | version "1.1.4" 898 | resolved "https://registry.yarnpkg.com/create-hmac/-/create-hmac-1.1.4.tgz#d3fb4ba253eb8b3f56e39ea2fbcb8af747bd3170" 899 | dependencies: 900 | create-hash "^1.1.0" 901 | inherits "^2.0.1" 902 | 903 | cryptiles@2.x.x: 904 | version "2.0.5" 905 | resolved "https://registry.yarnpkg.com/cryptiles/-/cryptiles-2.0.5.tgz#3bdfecdc608147c1c67202fa291e7dca59eaa3b8" 906 | dependencies: 907 | boom "2.x.x" 908 | 909 | crypto-browserify@^3.11.0: 910 | version "3.11.0" 911 | resolved "https://registry.yarnpkg.com/crypto-browserify/-/crypto-browserify-3.11.0.tgz#3652a0906ab9b2a7e0c3ce66a408e957a2485522" 912 | dependencies: 913 | browserify-cipher "^1.0.0" 914 | browserify-sign "^4.0.0" 915 | create-ecdh "^4.0.0" 916 | create-hash "^1.1.0" 917 | create-hmac "^1.1.0" 918 | diffie-hellman "^5.0.0" 919 | inherits "^2.0.1" 920 | pbkdf2 "^3.0.3" 921 | public-encrypt "^4.0.0" 922 | randombytes "^2.0.0" 923 | 924 | dashdash@^1.12.0: 925 | version "1.14.1" 926 | resolved "https://registry.yarnpkg.com/dashdash/-/dashdash-1.14.1.tgz#853cfa0f7cbe2fed5de20326b8dd581035f6e2f0" 927 | dependencies: 928 | assert-plus "^1.0.0" 929 | 930 | date-now@^0.1.4: 931 | version "0.1.4" 932 | resolved "https://registry.yarnpkg.com/date-now/-/date-now-0.1.4.tgz#eaf439fd4d4848ad74e5cc7dbef200672b9e345b" 933 | 934 | debug@2.2.0, debug@~2.2.0: 935 | version "2.2.0" 936 | resolved "https://registry.yarnpkg.com/debug/-/debug-2.2.0.tgz#f87057e995b1a1f6ae6a4960664137bc56f039da" 937 | dependencies: 938 | ms "0.7.1" 939 | 940 | debug@^2.1.1, debug@^2.2.0: 941 | version "2.6.1" 942 | resolved "https://registry.yarnpkg.com/debug/-/debug-2.6.1.tgz#79855090ba2c4e3115cc7d8769491d58f0491351" 943 | dependencies: 944 | ms "0.7.2" 945 | 946 | decamelize@^1.0.0, decamelize@^1.1.1: 947 | version "1.2.0" 948 | resolved "https://registry.yarnpkg.com/decamelize/-/decamelize-1.2.0.tgz#f6534d15148269b20352e7bee26f501f9a191290" 949 | 950 | deep-eql@^0.1.3: 951 | version "0.1.3" 952 | resolved "https://registry.yarnpkg.com/deep-eql/-/deep-eql-0.1.3.tgz#ef558acab8de25206cd713906d74e56930eb69f2" 953 | dependencies: 954 | type-detect "0.1.1" 955 | 956 | deep-extend@~0.4.0: 957 | version "0.4.1" 958 | resolved "https://registry.yarnpkg.com/deep-extend/-/deep-extend-0.4.1.tgz#efe4113d08085f4e6f9687759810f807469e2253" 959 | 960 | delayed-stream@~1.0.0: 961 | version "1.0.0" 962 | resolved "https://registry.yarnpkg.com/delayed-stream/-/delayed-stream-1.0.0.tgz#df3ae199acadfb7d440aaae0b29e2272b24ec619" 963 | 964 | delegates@^1.0.0: 965 | version "1.0.0" 966 | resolved "https://registry.yarnpkg.com/delegates/-/delegates-1.0.0.tgz#84c6e159b81904fdca59a0ef44cd870d31250f9a" 967 | 968 | des.js@^1.0.0: 969 | version "1.0.0" 970 | resolved "https://registry.yarnpkg.com/des.js/-/des.js-1.0.0.tgz#c074d2e2aa6a8a9a07dbd61f9a15c2cd83ec8ecc" 971 | dependencies: 972 | inherits "^2.0.1" 973 | minimalistic-assert "^1.0.0" 974 | 975 | detect-indent@^4.0.0: 976 | version "4.0.0" 977 | resolved "https://registry.yarnpkg.com/detect-indent/-/detect-indent-4.0.0.tgz#f76d064352cdf43a1cb6ce619c4ee3a9475de208" 978 | dependencies: 979 | repeating "^2.0.0" 980 | 981 | diff@1.4.0: 982 | version "1.4.0" 983 | resolved "https://registry.yarnpkg.com/diff/-/diff-1.4.0.tgz#7f28d2eb9ee7b15a97efd89ce63dcfdaa3ccbabf" 984 | 985 | diffie-hellman@^5.0.0: 986 | version "5.0.2" 987 | resolved "https://registry.yarnpkg.com/diffie-hellman/-/diffie-hellman-5.0.2.tgz#b5835739270cfe26acf632099fded2a07f209e5e" 988 | dependencies: 989 | bn.js "^4.1.0" 990 | miller-rabin "^4.0.0" 991 | randombytes "^2.0.0" 992 | 993 | domain-browser@^1.1.1: 994 | version "1.1.7" 995 | resolved "https://registry.yarnpkg.com/domain-browser/-/domain-browser-1.1.7.tgz#867aa4b093faa05f1de08c06f4d7b21fdf8698bc" 996 | 997 | ecc-jsbn@~0.1.1: 998 | version "0.1.1" 999 | resolved "https://registry.yarnpkg.com/ecc-jsbn/-/ecc-jsbn-0.1.1.tgz#0fc73a9ed5f0d53c38193398523ef7e543777505" 1000 | dependencies: 1001 | jsbn "~0.1.0" 1002 | 1003 | electron-to-chromium@^1.1.0, electron-to-chromium@^1.2.5: 1004 | version "1.2.5" 1005 | resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.2.5.tgz#d373727228843dfd8466c276089f13b40927a952" 1006 | 1007 | elliptic@^6.0.0: 1008 | version "6.4.0" 1009 | resolved "https://registry.yarnpkg.com/elliptic/-/elliptic-6.4.0.tgz#cac9af8762c85836187003c8dfe193e5e2eae5df" 1010 | dependencies: 1011 | bn.js "^4.4.0" 1012 | brorand "^1.0.1" 1013 | hash.js "^1.0.0" 1014 | hmac-drbg "^1.0.0" 1015 | inherits "^2.0.1" 1016 | minimalistic-assert "^1.0.0" 1017 | minimalistic-crypto-utils "^1.0.0" 1018 | 1019 | emojis-list@^2.0.0: 1020 | version "2.1.0" 1021 | resolved "https://registry.yarnpkg.com/emojis-list/-/emojis-list-2.1.0.tgz#4daa4d9db00f9819880c79fa457ae5b09a1fd389" 1022 | 1023 | enhanced-resolve@^3.0.0: 1024 | version "3.1.0" 1025 | resolved "https://registry.yarnpkg.com/enhanced-resolve/-/enhanced-resolve-3.1.0.tgz#9f4b626f577245edcf4b2ad83d86e17f4f421dec" 1026 | dependencies: 1027 | graceful-fs "^4.1.2" 1028 | memory-fs "^0.4.0" 1029 | object-assign "^4.0.1" 1030 | tapable "^0.2.5" 1031 | 1032 | errno@^0.1.3: 1033 | version "0.1.4" 1034 | resolved "https://registry.yarnpkg.com/errno/-/errno-0.1.4.tgz#b896e23a9e5e8ba33871fc996abd3635fc9a1c7d" 1035 | dependencies: 1036 | prr "~0.0.0" 1037 | 1038 | error-ex@^1.2.0: 1039 | version "1.3.0" 1040 | resolved "https://registry.yarnpkg.com/error-ex/-/error-ex-1.3.0.tgz#e67b43f3e82c96ea3a584ffee0b9fc3325d802d9" 1041 | dependencies: 1042 | is-arrayish "^0.2.1" 1043 | 1044 | escape-string-regexp@1.0.5, escape-string-regexp@^1.0.2: 1045 | version "1.0.5" 1046 | resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz#1b61c0562190a8dff6ae3bb2cf0200ca130b86d4" 1047 | 1048 | esutils@^2.0.2: 1049 | version "2.0.2" 1050 | resolved "https://registry.yarnpkg.com/esutils/-/esutils-2.0.2.tgz#0abf4f1caa5bcb1f7a9d8acc6dea4faaa04bac9b" 1051 | 1052 | events@^1.0.0: 1053 | version "1.1.1" 1054 | resolved "https://registry.yarnpkg.com/events/-/events-1.1.1.tgz#9ebdb7635ad099c70dcc4c2a1f5004288e8bd924" 1055 | 1056 | evp_bytestokey@^1.0.0: 1057 | version "1.0.0" 1058 | resolved "https://registry.yarnpkg.com/evp_bytestokey/-/evp_bytestokey-1.0.0.tgz#497b66ad9fef65cd7c08a6180824ba1476b66e53" 1059 | dependencies: 1060 | create-hash "^1.1.1" 1061 | 1062 | expand-brackets@^0.1.4: 1063 | version "0.1.5" 1064 | resolved "https://registry.yarnpkg.com/expand-brackets/-/expand-brackets-0.1.5.tgz#df07284e342a807cd733ac5af72411e581d1177b" 1065 | dependencies: 1066 | is-posix-bracket "^0.1.0" 1067 | 1068 | expand-range@^1.8.1: 1069 | version "1.8.2" 1070 | resolved "https://registry.yarnpkg.com/expand-range/-/expand-range-1.8.2.tgz#a299effd335fe2721ebae8e257ec79644fc85337" 1071 | dependencies: 1072 | fill-range "^2.1.0" 1073 | 1074 | extend@~3.0.0: 1075 | version "3.0.0" 1076 | resolved "https://registry.yarnpkg.com/extend/-/extend-3.0.0.tgz#5a474353b9f3353ddd8176dfd37b91c83a46f1d4" 1077 | 1078 | extglob@^0.3.1: 1079 | version "0.3.2" 1080 | resolved "https://registry.yarnpkg.com/extglob/-/extglob-0.3.2.tgz#2e18ff3d2f49ab2765cec9023f011daa8d8349a1" 1081 | dependencies: 1082 | is-extglob "^1.0.0" 1083 | 1084 | extsprintf@1.0.2: 1085 | version "1.0.2" 1086 | resolved "https://registry.yarnpkg.com/extsprintf/-/extsprintf-1.0.2.tgz#e1080e0658e300b06294990cc70e1502235fd550" 1087 | 1088 | filename-regex@^2.0.0: 1089 | version "2.0.0" 1090 | resolved "https://registry.yarnpkg.com/filename-regex/-/filename-regex-2.0.0.tgz#996e3e80479b98b9897f15a8a58b3d084e926775" 1091 | 1092 | fill-range@^2.1.0: 1093 | version "2.2.3" 1094 | resolved "https://registry.yarnpkg.com/fill-range/-/fill-range-2.2.3.tgz#50b77dfd7e469bc7492470963699fe7a8485a723" 1095 | dependencies: 1096 | is-number "^2.1.0" 1097 | isobject "^2.0.0" 1098 | randomatic "^1.1.3" 1099 | repeat-element "^1.1.2" 1100 | repeat-string "^1.5.2" 1101 | 1102 | find-cache-dir@^0.1.1: 1103 | version "0.1.1" 1104 | resolved "https://registry.yarnpkg.com/find-cache-dir/-/find-cache-dir-0.1.1.tgz#c8defae57c8a52a8a784f9e31c57c742e993a0b9" 1105 | dependencies: 1106 | commondir "^1.0.1" 1107 | mkdirp "^0.5.1" 1108 | pkg-dir "^1.0.0" 1109 | 1110 | find-up@^1.0.0: 1111 | version "1.1.2" 1112 | resolved "https://registry.yarnpkg.com/find-up/-/find-up-1.1.2.tgz#6b2e9822b1a2ce0a60ab64d610eccad53cb24d0f" 1113 | dependencies: 1114 | path-exists "^2.0.0" 1115 | pinkie-promise "^2.0.0" 1116 | 1117 | for-in@^1.0.1: 1118 | version "1.0.2" 1119 | resolved "https://registry.yarnpkg.com/for-in/-/for-in-1.0.2.tgz#81068d295a8142ec0ac726c6e2200c30fb6d5e80" 1120 | 1121 | for-own@^0.1.4: 1122 | version "0.1.5" 1123 | resolved "https://registry.yarnpkg.com/for-own/-/for-own-0.1.5.tgz#5265c681a4f294dabbf17c9509b6763aa84510ce" 1124 | dependencies: 1125 | for-in "^1.0.1" 1126 | 1127 | forever-agent@~0.6.1: 1128 | version "0.6.1" 1129 | resolved "https://registry.yarnpkg.com/forever-agent/-/forever-agent-0.6.1.tgz#fbc71f0c41adeb37f96c577ad1ed42d8fdacca91" 1130 | 1131 | form-data@~2.1.1: 1132 | version "2.1.2" 1133 | resolved "https://registry.yarnpkg.com/form-data/-/form-data-2.1.2.tgz#89c3534008b97eada4cbb157d58f6f5df025eae4" 1134 | dependencies: 1135 | asynckit "^0.4.0" 1136 | combined-stream "^1.0.5" 1137 | mime-types "^2.1.12" 1138 | 1139 | fs.realpath@^1.0.0: 1140 | version "1.0.0" 1141 | resolved "https://registry.yarnpkg.com/fs.realpath/-/fs.realpath-1.0.0.tgz#1504ad2523158caa40db4a2787cb01411994ea4f" 1142 | 1143 | fsevents@^1.0.0: 1144 | version "1.1.1" 1145 | resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-1.1.1.tgz#f19fd28f43eeaf761680e519a203c4d0b3d31aff" 1146 | dependencies: 1147 | nan "^2.3.0" 1148 | node-pre-gyp "^0.6.29" 1149 | 1150 | fstream-ignore@~1.0.5: 1151 | version "1.0.5" 1152 | resolved "https://registry.yarnpkg.com/fstream-ignore/-/fstream-ignore-1.0.5.tgz#9c31dae34767018fe1d249b24dada67d092da105" 1153 | dependencies: 1154 | fstream "^1.0.0" 1155 | inherits "2" 1156 | minimatch "^3.0.0" 1157 | 1158 | fstream@^1.0.0, fstream@^1.0.2, fstream@~1.0.10: 1159 | version "1.0.10" 1160 | resolved "https://registry.yarnpkg.com/fstream/-/fstream-1.0.10.tgz#604e8a92fe26ffd9f6fae30399d4984e1ab22822" 1161 | dependencies: 1162 | graceful-fs "^4.1.2" 1163 | inherits "~2.0.0" 1164 | mkdirp ">=0.5 0" 1165 | rimraf "2" 1166 | 1167 | gauge@~2.7.1: 1168 | version "2.7.3" 1169 | resolved "https://registry.yarnpkg.com/gauge/-/gauge-2.7.3.tgz#1c23855f962f17b3ad3d0dc7443f304542edfe09" 1170 | dependencies: 1171 | aproba "^1.0.3" 1172 | console-control-strings "^1.0.0" 1173 | has-unicode "^2.0.0" 1174 | object-assign "^4.1.0" 1175 | signal-exit "^3.0.0" 1176 | string-width "^1.0.1" 1177 | strip-ansi "^3.0.1" 1178 | wide-align "^1.1.0" 1179 | 1180 | generate-function@^2.0.0: 1181 | version "2.0.0" 1182 | resolved "https://registry.yarnpkg.com/generate-function/-/generate-function-2.0.0.tgz#6858fe7c0969b7d4e9093337647ac79f60dfbe74" 1183 | 1184 | generate-object-property@^1.1.0: 1185 | version "1.2.0" 1186 | resolved "https://registry.yarnpkg.com/generate-object-property/-/generate-object-property-1.2.0.tgz#9c0e1c40308ce804f4783618b937fa88f99d50d0" 1187 | dependencies: 1188 | is-property "^1.0.0" 1189 | 1190 | get-caller-file@^1.0.1: 1191 | version "1.0.2" 1192 | resolved "https://registry.yarnpkg.com/get-caller-file/-/get-caller-file-1.0.2.tgz#f702e63127e7e231c160a80c1554acb70d5047e5" 1193 | 1194 | getpass@^0.1.1: 1195 | version "0.1.6" 1196 | resolved "https://registry.yarnpkg.com/getpass/-/getpass-0.1.6.tgz#283ffd9fc1256840875311c1b60e8c40187110e6" 1197 | dependencies: 1198 | assert-plus "^1.0.0" 1199 | 1200 | glob-base@^0.3.0: 1201 | version "0.3.0" 1202 | resolved "https://registry.yarnpkg.com/glob-base/-/glob-base-0.3.0.tgz#dbb164f6221b1c0b1ccf82aea328b497df0ea3c4" 1203 | dependencies: 1204 | glob-parent "^2.0.0" 1205 | is-glob "^2.0.0" 1206 | 1207 | glob-parent@^2.0.0: 1208 | version "2.0.0" 1209 | resolved "https://registry.yarnpkg.com/glob-parent/-/glob-parent-2.0.0.tgz#81383d72db054fcccf5336daa902f182f6edbb28" 1210 | dependencies: 1211 | is-glob "^2.0.0" 1212 | 1213 | glob@7.0.5, glob@^7.0.5: 1214 | version "7.0.5" 1215 | resolved "https://registry.yarnpkg.com/glob/-/glob-7.0.5.tgz#b4202a69099bbb4d292a7c1b95b6682b67ebdc95" 1216 | dependencies: 1217 | fs.realpath "^1.0.0" 1218 | inflight "^1.0.4" 1219 | inherits "2" 1220 | minimatch "^3.0.2" 1221 | once "^1.3.0" 1222 | path-is-absolute "^1.0.0" 1223 | 1224 | globals@^9.0.0: 1225 | version "9.16.0" 1226 | resolved "https://registry.yarnpkg.com/globals/-/globals-9.16.0.tgz#63e903658171ec2d9f51b1d31de5e2b8dc01fb80" 1227 | 1228 | graceful-fs@^4.1.2: 1229 | version "4.1.11" 1230 | resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.1.11.tgz#0e8bdfe4d1ddb8854d64e04ea7c00e2a026e5658" 1231 | 1232 | "graceful-readlink@>= 1.0.0": 1233 | version "1.0.1" 1234 | resolved "https://registry.yarnpkg.com/graceful-readlink/-/graceful-readlink-1.0.1.tgz#4cafad76bc62f02fa039b2f94e9a3dd3a391a725" 1235 | 1236 | growl@1.9.2: 1237 | version "1.9.2" 1238 | resolved "https://registry.yarnpkg.com/growl/-/growl-1.9.2.tgz#0ea7743715db8d8de2c5ede1775e1b45ac85c02f" 1239 | 1240 | har-validator@~2.0.6: 1241 | version "2.0.6" 1242 | resolved "https://registry.yarnpkg.com/har-validator/-/har-validator-2.0.6.tgz#cdcbc08188265ad119b6a5a7c8ab70eecfb5d27d" 1243 | dependencies: 1244 | chalk "^1.1.1" 1245 | commander "^2.9.0" 1246 | is-my-json-valid "^2.12.4" 1247 | pinkie-promise "^2.0.0" 1248 | 1249 | has-ansi@^2.0.0: 1250 | version "2.0.0" 1251 | resolved "https://registry.yarnpkg.com/has-ansi/-/has-ansi-2.0.0.tgz#34f5049ce1ecdf2b0649af3ef24e45ed35416d91" 1252 | dependencies: 1253 | ansi-regex "^2.0.0" 1254 | 1255 | has-flag@^1.0.0: 1256 | version "1.0.0" 1257 | resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-1.0.0.tgz#9d9e793165ce017a00f00418c43f942a7b1d11fa" 1258 | 1259 | has-unicode@^2.0.0: 1260 | version "2.0.1" 1261 | resolved "https://registry.yarnpkg.com/has-unicode/-/has-unicode-2.0.1.tgz#e0e6fe6a28cf51138855e086d1691e771de2a8b9" 1262 | 1263 | hash.js@^1.0.0, hash.js@^1.0.3: 1264 | version "1.0.3" 1265 | resolved "https://registry.yarnpkg.com/hash.js/-/hash.js-1.0.3.tgz#1332ff00156c0a0ffdd8236013d07b77a0451573" 1266 | dependencies: 1267 | inherits "^2.0.1" 1268 | 1269 | hawk@~3.1.3: 1270 | version "3.1.3" 1271 | resolved "https://registry.yarnpkg.com/hawk/-/hawk-3.1.3.tgz#078444bd7c1640b0fe540d2c9b73d59678e8e1c4" 1272 | dependencies: 1273 | boom "2.x.x" 1274 | cryptiles "2.x.x" 1275 | hoek "2.x.x" 1276 | sntp "1.x.x" 1277 | 1278 | hmac-drbg@^1.0.0: 1279 | version "1.0.0" 1280 | resolved "https://registry.yarnpkg.com/hmac-drbg/-/hmac-drbg-1.0.0.tgz#3db471f45aae4a994a0688322171f51b8b91bee5" 1281 | dependencies: 1282 | hash.js "^1.0.3" 1283 | minimalistic-assert "^1.0.0" 1284 | minimalistic-crypto-utils "^1.0.1" 1285 | 1286 | hoek@2.x.x: 1287 | version "2.16.3" 1288 | resolved "https://registry.yarnpkg.com/hoek/-/hoek-2.16.3.tgz#20bb7403d3cea398e91dc4710a8ff1b8274a25ed" 1289 | 1290 | home-or-tmp@^2.0.0: 1291 | version "2.0.0" 1292 | resolved "https://registry.yarnpkg.com/home-or-tmp/-/home-or-tmp-2.0.0.tgz#e36c3f2d2cae7d746a857e38d18d5f32a7882db8" 1293 | dependencies: 1294 | os-homedir "^1.0.0" 1295 | os-tmpdir "^1.0.1" 1296 | 1297 | hosted-git-info@^2.1.4: 1298 | version "2.2.0" 1299 | resolved "https://registry.yarnpkg.com/hosted-git-info/-/hosted-git-info-2.2.0.tgz#7a0d097863d886c0fabbdcd37bf1758d8becf8a5" 1300 | 1301 | http-signature@~1.1.0: 1302 | version "1.1.1" 1303 | resolved "https://registry.yarnpkg.com/http-signature/-/http-signature-1.1.1.tgz#df72e267066cd0ac67fb76adf8e134a8fbcf91bf" 1304 | dependencies: 1305 | assert-plus "^0.2.0" 1306 | jsprim "^1.2.2" 1307 | sshpk "^1.7.0" 1308 | 1309 | https-browserify@0.0.1: 1310 | version "0.0.1" 1311 | resolved "https://registry.yarnpkg.com/https-browserify/-/https-browserify-0.0.1.tgz#3f91365cabe60b77ed0ebba24b454e3e09d95a82" 1312 | 1313 | ieee754@^1.1.4: 1314 | version "1.1.8" 1315 | resolved "https://registry.yarnpkg.com/ieee754/-/ieee754-1.1.8.tgz#be33d40ac10ef1926701f6f08a2d86fbfd1ad3e4" 1316 | 1317 | indexof@0.0.1: 1318 | version "0.0.1" 1319 | resolved "https://registry.yarnpkg.com/indexof/-/indexof-0.0.1.tgz#82dc336d232b9062179d05ab3293a66059fd435d" 1320 | 1321 | inflight@^1.0.4: 1322 | version "1.0.6" 1323 | resolved "https://registry.yarnpkg.com/inflight/-/inflight-1.0.6.tgz#49bd6331d7d02d0c09bc910a1075ba8165b56df9" 1324 | dependencies: 1325 | once "^1.3.0" 1326 | wrappy "1" 1327 | 1328 | inherits@2, inherits@^2.0.1, inherits@~2.0.0, inherits@~2.0.1: 1329 | version "2.0.3" 1330 | resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.3.tgz#633c2c83e3da42a502f52466022480f4208261de" 1331 | 1332 | inherits@2.0.1: 1333 | version "2.0.1" 1334 | resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.1.tgz#b17d08d326b4423e568eff719f91b0b1cbdf69f1" 1335 | 1336 | ini@~1.3.0: 1337 | version "1.3.4" 1338 | resolved "https://registry.yarnpkg.com/ini/-/ini-1.3.4.tgz#0537cb79daf59b59a1a517dff706c86ec039162e" 1339 | 1340 | interpret@^1.0.0: 1341 | version "1.0.1" 1342 | resolved "https://registry.yarnpkg.com/interpret/-/interpret-1.0.1.tgz#d579fb7f693b858004947af39fa0db49f795602c" 1343 | 1344 | invariant@^2.2.0, invariant@^2.2.2: 1345 | version "2.2.2" 1346 | resolved "https://registry.yarnpkg.com/invariant/-/invariant-2.2.2.tgz#9e1f56ac0acdb6bf303306f338be3b204ae60360" 1347 | dependencies: 1348 | loose-envify "^1.0.0" 1349 | 1350 | invert-kv@^1.0.0: 1351 | version "1.0.0" 1352 | resolved "https://registry.yarnpkg.com/invert-kv/-/invert-kv-1.0.0.tgz#104a8e4aaca6d3d8cd157a8ef8bfab2d7a3ffdb6" 1353 | 1354 | is-arrayish@^0.2.1: 1355 | version "0.2.1" 1356 | resolved "https://registry.yarnpkg.com/is-arrayish/-/is-arrayish-0.2.1.tgz#77c99840527aa8ecb1a8ba697b80645a7a926a9d" 1357 | 1358 | is-binary-path@^1.0.0: 1359 | version "1.0.1" 1360 | resolved "https://registry.yarnpkg.com/is-binary-path/-/is-binary-path-1.0.1.tgz#75f16642b480f187a711c814161fd3a4a7655898" 1361 | dependencies: 1362 | binary-extensions "^1.0.0" 1363 | 1364 | is-buffer@^1.0.2: 1365 | version "1.1.4" 1366 | resolved "https://registry.yarnpkg.com/is-buffer/-/is-buffer-1.1.4.tgz#cfc86ccd5dc5a52fa80489111c6920c457e2d98b" 1367 | 1368 | is-builtin-module@^1.0.0: 1369 | version "1.0.0" 1370 | resolved "https://registry.yarnpkg.com/is-builtin-module/-/is-builtin-module-1.0.0.tgz#540572d34f7ac3119f8f76c30cbc1b1e037affbe" 1371 | dependencies: 1372 | builtin-modules "^1.0.0" 1373 | 1374 | is-dotfile@^1.0.0: 1375 | version "1.0.2" 1376 | resolved "https://registry.yarnpkg.com/is-dotfile/-/is-dotfile-1.0.2.tgz#2c132383f39199f8edc268ca01b9b007d205cc4d" 1377 | 1378 | is-equal-shallow@^0.1.3: 1379 | version "0.1.3" 1380 | resolved "https://registry.yarnpkg.com/is-equal-shallow/-/is-equal-shallow-0.1.3.tgz#2238098fc221de0bcfa5d9eac4c45d638aa1c534" 1381 | dependencies: 1382 | is-primitive "^2.0.0" 1383 | 1384 | is-extendable@^0.1.1: 1385 | version "0.1.1" 1386 | resolved "https://registry.yarnpkg.com/is-extendable/-/is-extendable-0.1.1.tgz#62b110e289a471418e3ec36a617d472e301dfc89" 1387 | 1388 | is-extglob@^1.0.0: 1389 | version "1.0.0" 1390 | resolved "https://registry.yarnpkg.com/is-extglob/-/is-extglob-1.0.0.tgz#ac468177c4943405a092fc8f29760c6ffc6206c0" 1391 | 1392 | is-finite@^1.0.0: 1393 | version "1.0.2" 1394 | resolved "https://registry.yarnpkg.com/is-finite/-/is-finite-1.0.2.tgz#cc6677695602be550ef11e8b4aa6305342b6d0aa" 1395 | dependencies: 1396 | number-is-nan "^1.0.0" 1397 | 1398 | is-fullwidth-code-point@^1.0.0: 1399 | version "1.0.0" 1400 | resolved "https://registry.yarnpkg.com/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz#ef9e31386f031a7f0d643af82fde50c457ef00cb" 1401 | dependencies: 1402 | number-is-nan "^1.0.0" 1403 | 1404 | is-glob@^2.0.0, is-glob@^2.0.1: 1405 | version "2.0.1" 1406 | resolved "https://registry.yarnpkg.com/is-glob/-/is-glob-2.0.1.tgz#d096f926a3ded5600f3fdfd91198cb0888c2d863" 1407 | dependencies: 1408 | is-extglob "^1.0.0" 1409 | 1410 | is-my-json-valid@^2.12.4: 1411 | version "2.16.0" 1412 | resolved "https://registry.yarnpkg.com/is-my-json-valid/-/is-my-json-valid-2.16.0.tgz#f079dd9bfdae65ee2038aae8acbc86ab109e3693" 1413 | dependencies: 1414 | generate-function "^2.0.0" 1415 | generate-object-property "^1.1.0" 1416 | jsonpointer "^4.0.0" 1417 | xtend "^4.0.0" 1418 | 1419 | is-number@^2.0.2, is-number@^2.1.0: 1420 | version "2.1.0" 1421 | resolved "https://registry.yarnpkg.com/is-number/-/is-number-2.1.0.tgz#01fcbbb393463a548f2f466cce16dece49db908f" 1422 | dependencies: 1423 | kind-of "^3.0.2" 1424 | 1425 | is-posix-bracket@^0.1.0: 1426 | version "0.1.1" 1427 | resolved "https://registry.yarnpkg.com/is-posix-bracket/-/is-posix-bracket-0.1.1.tgz#3334dc79774368e92f016e6fbc0a88f5cd6e6bc4" 1428 | 1429 | is-primitive@^2.0.0: 1430 | version "2.0.0" 1431 | resolved "https://registry.yarnpkg.com/is-primitive/-/is-primitive-2.0.0.tgz#207bab91638499c07b2adf240a41a87210034575" 1432 | 1433 | is-property@^1.0.0: 1434 | version "1.0.2" 1435 | resolved "https://registry.yarnpkg.com/is-property/-/is-property-1.0.2.tgz#57fe1c4e48474edd65b09911f26b1cd4095dda84" 1436 | 1437 | is-typedarray@~1.0.0: 1438 | version "1.0.0" 1439 | resolved "https://registry.yarnpkg.com/is-typedarray/-/is-typedarray-1.0.0.tgz#e479c80858df0c1b11ddda6940f96011fcda4a9a" 1440 | 1441 | is-utf8@^0.2.0: 1442 | version "0.2.1" 1443 | resolved "https://registry.yarnpkg.com/is-utf8/-/is-utf8-0.2.1.tgz#4b0da1442104d1b336340e80797e865cf39f7d72" 1444 | 1445 | isarray@1.0.0, isarray@^1.0.0, isarray@~1.0.0: 1446 | version "1.0.0" 1447 | resolved "https://registry.yarnpkg.com/isarray/-/isarray-1.0.0.tgz#bb935d48582cba168c06834957a54a3e07124f11" 1448 | 1449 | isobject@^2.0.0: 1450 | version "2.1.0" 1451 | resolved "https://registry.yarnpkg.com/isobject/-/isobject-2.1.0.tgz#f065561096a3f1da2ef46272f815c840d87e0c89" 1452 | dependencies: 1453 | isarray "1.0.0" 1454 | 1455 | isstream@~0.1.2: 1456 | version "0.1.2" 1457 | resolved "https://registry.yarnpkg.com/isstream/-/isstream-0.1.2.tgz#47e63f7af55afa6f92e1500e690eb8b8529c099a" 1458 | 1459 | jodid25519@^1.0.0: 1460 | version "1.0.2" 1461 | resolved "https://registry.yarnpkg.com/jodid25519/-/jodid25519-1.0.2.tgz#06d4912255093419477d425633606e0e90782967" 1462 | dependencies: 1463 | jsbn "~0.1.0" 1464 | 1465 | js-tokens@^3.0.0: 1466 | version "3.0.1" 1467 | resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-3.0.1.tgz#08e9f132484a2c45a30907e9dc4d5567b7f114d7" 1468 | 1469 | jsbn@~0.1.0: 1470 | version "0.1.1" 1471 | resolved "https://registry.yarnpkg.com/jsbn/-/jsbn-0.1.1.tgz#a5e654c2e5a2deb5f201d96cefbca80c0ef2f513" 1472 | 1473 | jsesc@^1.3.0: 1474 | version "1.3.0" 1475 | resolved "https://registry.yarnpkg.com/jsesc/-/jsesc-1.3.0.tgz#46c3fec8c1892b12b0833db9bc7622176dbab34b" 1476 | 1477 | jsesc@~0.5.0: 1478 | version "0.5.0" 1479 | resolved "https://registry.yarnpkg.com/jsesc/-/jsesc-0.5.0.tgz#e7dee66e35d6fc16f710fe91d5cf69f70f08911d" 1480 | 1481 | json-loader@^0.5.4: 1482 | version "0.5.4" 1483 | resolved "https://registry.yarnpkg.com/json-loader/-/json-loader-0.5.4.tgz#8baa1365a632f58a3c46d20175fc6002c96e37de" 1484 | 1485 | json-schema@0.2.3: 1486 | version "0.2.3" 1487 | resolved "https://registry.yarnpkg.com/json-schema/-/json-schema-0.2.3.tgz#b480c892e59a2f05954ce727bd3f2a4e882f9e13" 1488 | 1489 | json-stable-stringify@^1.0.1: 1490 | version "1.0.1" 1491 | resolved "https://registry.yarnpkg.com/json-stable-stringify/-/json-stable-stringify-1.0.1.tgz#9a759d39c5f2ff503fd5300646ed445f88c4f9af" 1492 | dependencies: 1493 | jsonify "~0.0.0" 1494 | 1495 | json-stringify-safe@~5.0.1: 1496 | version "5.0.1" 1497 | resolved "https://registry.yarnpkg.com/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz#1296a2d58fd45f19a0f6ce01d65701e2c735b6eb" 1498 | 1499 | json3@3.3.2: 1500 | version "3.3.2" 1501 | resolved "https://registry.yarnpkg.com/json3/-/json3-3.3.2.tgz#3c0434743df93e2f5c42aee7b19bcb483575f4e1" 1502 | 1503 | json5@^0.5.0: 1504 | version "0.5.1" 1505 | resolved "https://registry.yarnpkg.com/json5/-/json5-0.5.1.tgz#1eade7acc012034ad84e2396767ead9fa5495821" 1506 | 1507 | jsonify@~0.0.0: 1508 | version "0.0.0" 1509 | resolved "https://registry.yarnpkg.com/jsonify/-/jsonify-0.0.0.tgz#2c74b6ee41d93ca51b7b5aaee8f503631d252a73" 1510 | 1511 | jsonpointer@^4.0.0: 1512 | version "4.0.1" 1513 | resolved "https://registry.yarnpkg.com/jsonpointer/-/jsonpointer-4.0.1.tgz#4fd92cb34e0e9db3c89c8622ecf51f9b978c6cb9" 1514 | 1515 | jsprim@^1.2.2: 1516 | version "1.3.1" 1517 | resolved "https://registry.yarnpkg.com/jsprim/-/jsprim-1.3.1.tgz#2a7256f70412a29ee3670aaca625994c4dcff252" 1518 | dependencies: 1519 | extsprintf "1.0.2" 1520 | json-schema "0.2.3" 1521 | verror "1.3.6" 1522 | 1523 | kind-of@^3.0.2: 1524 | version "3.1.0" 1525 | resolved "https://registry.yarnpkg.com/kind-of/-/kind-of-3.1.0.tgz#475d698a5e49ff5e53d14e3e732429dc8bf4cf47" 1526 | dependencies: 1527 | is-buffer "^1.0.2" 1528 | 1529 | lazy-cache@^1.0.3: 1530 | version "1.0.4" 1531 | resolved "https://registry.yarnpkg.com/lazy-cache/-/lazy-cache-1.0.4.tgz#a1d78fc3a50474cb80845d3b3b6e1da49a446e8e" 1532 | 1533 | lcid@^1.0.0: 1534 | version "1.0.0" 1535 | resolved "https://registry.yarnpkg.com/lcid/-/lcid-1.0.0.tgz#308accafa0bc483a3867b4b6f2b9506251d1b835" 1536 | dependencies: 1537 | invert-kv "^1.0.0" 1538 | 1539 | load-json-file@^1.0.0: 1540 | version "1.1.0" 1541 | resolved "https://registry.yarnpkg.com/load-json-file/-/load-json-file-1.1.0.tgz#956905708d58b4bab4c2261b04f59f31c99374c0" 1542 | dependencies: 1543 | graceful-fs "^4.1.2" 1544 | parse-json "^2.2.0" 1545 | pify "^2.0.0" 1546 | pinkie-promise "^2.0.0" 1547 | strip-bom "^2.0.0" 1548 | 1549 | loader-runner@^2.3.0: 1550 | version "2.3.0" 1551 | resolved "https://registry.yarnpkg.com/loader-runner/-/loader-runner-2.3.0.tgz#f482aea82d543e07921700d5a46ef26fdac6b8a2" 1552 | 1553 | loader-utils@^0.2.16: 1554 | version "0.2.17" 1555 | resolved "https://registry.yarnpkg.com/loader-utils/-/loader-utils-0.2.17.tgz#f86e6374d43205a6e6c60e9196f17c0299bfb348" 1556 | dependencies: 1557 | big.js "^3.1.3" 1558 | emojis-list "^2.0.0" 1559 | json5 "^0.5.0" 1560 | object-assign "^4.0.1" 1561 | 1562 | lodash._baseassign@^3.0.0: 1563 | version "3.2.0" 1564 | resolved "https://registry.yarnpkg.com/lodash._baseassign/-/lodash._baseassign-3.2.0.tgz#8c38a099500f215ad09e59f1722fd0c52bfe0a4e" 1565 | dependencies: 1566 | lodash._basecopy "^3.0.0" 1567 | lodash.keys "^3.0.0" 1568 | 1569 | lodash._basecopy@^3.0.0: 1570 | version "3.0.1" 1571 | resolved "https://registry.yarnpkg.com/lodash._basecopy/-/lodash._basecopy-3.0.1.tgz#8da0e6a876cf344c0ad8a54882111dd3c5c7ca36" 1572 | 1573 | lodash._basecreate@^3.0.0: 1574 | version "3.0.3" 1575 | resolved "https://registry.yarnpkg.com/lodash._basecreate/-/lodash._basecreate-3.0.3.tgz#1bc661614daa7fc311b7d03bf16806a0213cf821" 1576 | 1577 | lodash._getnative@^3.0.0: 1578 | version "3.9.1" 1579 | resolved "https://registry.yarnpkg.com/lodash._getnative/-/lodash._getnative-3.9.1.tgz#570bc7dede46d61cdcde687d65d3eecbaa3aaff5" 1580 | 1581 | lodash._isiterateecall@^3.0.0: 1582 | version "3.0.9" 1583 | resolved "https://registry.yarnpkg.com/lodash._isiterateecall/-/lodash._isiterateecall-3.0.9.tgz#5203ad7ba425fae842460e696db9cf3e6aac057c" 1584 | 1585 | lodash.create@3.1.1: 1586 | version "3.1.1" 1587 | resolved "https://registry.yarnpkg.com/lodash.create/-/lodash.create-3.1.1.tgz#d7f2849f0dbda7e04682bb8cd72ab022461debe7" 1588 | dependencies: 1589 | lodash._baseassign "^3.0.0" 1590 | lodash._basecreate "^3.0.0" 1591 | lodash._isiterateecall "^3.0.0" 1592 | 1593 | lodash.isarguments@^3.0.0: 1594 | version "3.1.0" 1595 | resolved "https://registry.yarnpkg.com/lodash.isarguments/-/lodash.isarguments-3.1.0.tgz#2f573d85c6a24289ff00663b491c1d338ff3458a" 1596 | 1597 | lodash.isarray@^3.0.0: 1598 | version "3.0.4" 1599 | resolved "https://registry.yarnpkg.com/lodash.isarray/-/lodash.isarray-3.0.4.tgz#79e4eb88c36a8122af86f844aa9bcd851b5fbb55" 1600 | 1601 | lodash.keys@^3.0.0: 1602 | version "3.1.2" 1603 | resolved "https://registry.yarnpkg.com/lodash.keys/-/lodash.keys-3.1.2.tgz#4dbc0472b156be50a0b286855d1bd0b0c656098a" 1604 | dependencies: 1605 | lodash._getnative "^3.0.0" 1606 | lodash.isarguments "^3.0.0" 1607 | lodash.isarray "^3.0.0" 1608 | 1609 | lodash@^4.14.0, lodash@^4.2.0: 1610 | version "4.17.4" 1611 | resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.4.tgz#78203a4d1c328ae1d86dca6460e369b57f4055ae" 1612 | 1613 | longest@^1.0.1: 1614 | version "1.0.1" 1615 | resolved "https://registry.yarnpkg.com/longest/-/longest-1.0.1.tgz#30a0b2da38f73770e8294a0d22e6625ed77d0097" 1616 | 1617 | loose-envify@^1.0.0: 1618 | version "1.3.1" 1619 | resolved "https://registry.yarnpkg.com/loose-envify/-/loose-envify-1.3.1.tgz#d1a8ad33fa9ce0e713d65fdd0ac8b748d478c848" 1620 | dependencies: 1621 | js-tokens "^3.0.0" 1622 | 1623 | memory-fs@^0.4.0, memory-fs@~0.4.1: 1624 | version "0.4.1" 1625 | resolved "https://registry.yarnpkg.com/memory-fs/-/memory-fs-0.4.1.tgz#3a9a20b8462523e447cfbc7e8bb80ed667bfc552" 1626 | dependencies: 1627 | errno "^0.1.3" 1628 | readable-stream "^2.0.1" 1629 | 1630 | micromatch@^2.1.5: 1631 | version "2.3.11" 1632 | resolved "https://registry.yarnpkg.com/micromatch/-/micromatch-2.3.11.tgz#86677c97d1720b363431d04d0d15293bd38c1565" 1633 | dependencies: 1634 | arr-diff "^2.0.0" 1635 | array-unique "^0.2.1" 1636 | braces "^1.8.2" 1637 | expand-brackets "^0.1.4" 1638 | extglob "^0.3.1" 1639 | filename-regex "^2.0.0" 1640 | is-extglob "^1.0.0" 1641 | is-glob "^2.0.1" 1642 | kind-of "^3.0.2" 1643 | normalize-path "^2.0.1" 1644 | object.omit "^2.0.0" 1645 | parse-glob "^3.0.4" 1646 | regex-cache "^0.4.2" 1647 | 1648 | miller-rabin@^4.0.0: 1649 | version "4.0.0" 1650 | resolved "https://registry.yarnpkg.com/miller-rabin/-/miller-rabin-4.0.0.tgz#4a62fb1d42933c05583982f4c716f6fb9e6c6d3d" 1651 | dependencies: 1652 | bn.js "^4.0.0" 1653 | brorand "^1.0.1" 1654 | 1655 | mime-db@~1.26.0: 1656 | version "1.26.0" 1657 | resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.26.0.tgz#eaffcd0e4fc6935cf8134da246e2e6c35305adff" 1658 | 1659 | mime-types@^2.1.12, mime-types@~2.1.7: 1660 | version "2.1.14" 1661 | resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-2.1.14.tgz#f7ef7d97583fcaf3b7d282b6f8b5679dab1e94ee" 1662 | dependencies: 1663 | mime-db "~1.26.0" 1664 | 1665 | minimalistic-assert@^1.0.0: 1666 | version "1.0.0" 1667 | resolved "https://registry.yarnpkg.com/minimalistic-assert/-/minimalistic-assert-1.0.0.tgz#702be2dda6b37f4836bcb3f5db56641b64a1d3d3" 1668 | 1669 | minimalistic-crypto-utils@^1.0.0, minimalistic-crypto-utils@^1.0.1: 1670 | version "1.0.1" 1671 | resolved "https://registry.yarnpkg.com/minimalistic-crypto-utils/-/minimalistic-crypto-utils-1.0.1.tgz#f6c00c1c0b082246e5c4d99dfb8c7c083b2b582a" 1672 | 1673 | minimatch@^3.0.0, minimatch@^3.0.2: 1674 | version "3.0.3" 1675 | resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.0.3.tgz#2a4e4090b96b2db06a9d7df01055a62a77c9b774" 1676 | dependencies: 1677 | brace-expansion "^1.0.0" 1678 | 1679 | minimist@0.0.8: 1680 | version "0.0.8" 1681 | resolved "https://registry.yarnpkg.com/minimist/-/minimist-0.0.8.tgz#857fcabfc3397d2625b8228262e86aa7a011b05d" 1682 | 1683 | minimist@^1.2.0: 1684 | version "1.2.0" 1685 | resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.0.tgz#a35008b20f41383eec1fb914f4cd5df79a264284" 1686 | 1687 | mkdirp@0.5.1, "mkdirp@>=0.5 0", mkdirp@^0.5.1, mkdirp@~0.5.0, mkdirp@~0.5.1: 1688 | version "0.5.1" 1689 | resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-0.5.1.tgz#30057438eac6cf7f8c4767f38648d6697d75c903" 1690 | dependencies: 1691 | minimist "0.0.8" 1692 | 1693 | mocha@^3.2.0: 1694 | version "3.2.0" 1695 | resolved "https://registry.yarnpkg.com/mocha/-/mocha-3.2.0.tgz#7dc4f45e5088075171a68896814e6ae9eb7a85e3" 1696 | dependencies: 1697 | browser-stdout "1.3.0" 1698 | commander "2.9.0" 1699 | debug "2.2.0" 1700 | diff "1.4.0" 1701 | escape-string-regexp "1.0.5" 1702 | glob "7.0.5" 1703 | growl "1.9.2" 1704 | json3 "3.3.2" 1705 | lodash.create "3.1.1" 1706 | mkdirp "0.5.1" 1707 | supports-color "3.1.2" 1708 | 1709 | ms@0.7.1: 1710 | version "0.7.1" 1711 | resolved "https://registry.yarnpkg.com/ms/-/ms-0.7.1.tgz#9cd13c03adbff25b65effde7ce864ee952017098" 1712 | 1713 | ms@0.7.2: 1714 | version "0.7.2" 1715 | resolved "https://registry.yarnpkg.com/ms/-/ms-0.7.2.tgz#ae25cf2512b3885a1d95d7f037868d8431124765" 1716 | 1717 | nan@^2.3.0: 1718 | version "2.5.1" 1719 | resolved "https://registry.yarnpkg.com/nan/-/nan-2.5.1.tgz#d5b01691253326a97a2bbee9e61c55d8d60351e2" 1720 | 1721 | node-libs-browser@^2.0.0: 1722 | version "2.0.0" 1723 | resolved "https://registry.yarnpkg.com/node-libs-browser/-/node-libs-browser-2.0.0.tgz#a3a59ec97024985b46e958379646f96c4b616646" 1724 | dependencies: 1725 | assert "^1.1.1" 1726 | browserify-zlib "^0.1.4" 1727 | buffer "^4.3.0" 1728 | console-browserify "^1.1.0" 1729 | constants-browserify "^1.0.0" 1730 | crypto-browserify "^3.11.0" 1731 | domain-browser "^1.1.1" 1732 | events "^1.0.0" 1733 | https-browserify "0.0.1" 1734 | os-browserify "^0.2.0" 1735 | path-browserify "0.0.0" 1736 | process "^0.11.0" 1737 | punycode "^1.2.4" 1738 | querystring-es3 "^0.2.0" 1739 | readable-stream "^2.0.5" 1740 | stream-browserify "^2.0.1" 1741 | stream-http "^2.3.1" 1742 | string_decoder "^0.10.25" 1743 | timers-browserify "^2.0.2" 1744 | tty-browserify "0.0.0" 1745 | url "^0.11.0" 1746 | util "^0.10.3" 1747 | vm-browserify "0.0.4" 1748 | 1749 | node-pre-gyp@^0.6.29: 1750 | version "0.6.33" 1751 | resolved "https://registry.yarnpkg.com/node-pre-gyp/-/node-pre-gyp-0.6.33.tgz#640ac55198f6a925972e0c16c4ac26a034d5ecc9" 1752 | dependencies: 1753 | mkdirp "~0.5.1" 1754 | nopt "~3.0.6" 1755 | npmlog "^4.0.1" 1756 | rc "~1.1.6" 1757 | request "^2.79.0" 1758 | rimraf "~2.5.4" 1759 | semver "~5.3.0" 1760 | tar "~2.2.1" 1761 | tar-pack "~3.3.0" 1762 | 1763 | nopt@~3.0.6: 1764 | version "3.0.6" 1765 | resolved "https://registry.yarnpkg.com/nopt/-/nopt-3.0.6.tgz#c6465dbf08abcd4db359317f79ac68a646b28ff9" 1766 | dependencies: 1767 | abbrev "1" 1768 | 1769 | normalize-package-data@^2.3.2: 1770 | version "2.3.5" 1771 | resolved "https://registry.yarnpkg.com/normalize-package-data/-/normalize-package-data-2.3.5.tgz#8d924f142960e1777e7ffe170543631cc7cb02df" 1772 | dependencies: 1773 | hosted-git-info "^2.1.4" 1774 | is-builtin-module "^1.0.0" 1775 | semver "2 || 3 || 4 || 5" 1776 | validate-npm-package-license "^3.0.1" 1777 | 1778 | normalize-path@^2.0.1: 1779 | version "2.0.1" 1780 | resolved "https://registry.yarnpkg.com/normalize-path/-/normalize-path-2.0.1.tgz#47886ac1662760d4261b7d979d241709d3ce3f7a" 1781 | 1782 | npmlog@^4.0.1: 1783 | version "4.0.2" 1784 | resolved "https://registry.yarnpkg.com/npmlog/-/npmlog-4.0.2.tgz#d03950e0e78ce1527ba26d2a7592e9348ac3e75f" 1785 | dependencies: 1786 | are-we-there-yet "~1.1.2" 1787 | console-control-strings "~1.1.0" 1788 | gauge "~2.7.1" 1789 | set-blocking "~2.0.0" 1790 | 1791 | number-is-nan@^1.0.0: 1792 | version "1.0.1" 1793 | resolved "https://registry.yarnpkg.com/number-is-nan/-/number-is-nan-1.0.1.tgz#097b602b53422a522c1afb8790318336941a011d" 1794 | 1795 | oauth-sign@~0.8.1: 1796 | version "0.8.2" 1797 | resolved "https://registry.yarnpkg.com/oauth-sign/-/oauth-sign-0.8.2.tgz#46a6ab7f0aead8deae9ec0565780b7d4efeb9d43" 1798 | 1799 | object-assign@^4.0.1, object-assign@^4.1.0: 1800 | version "4.1.1" 1801 | resolved "https://registry.yarnpkg.com/object-assign/-/object-assign-4.1.1.tgz#2109adc7965887cfc05cbbd442cac8bfbb360863" 1802 | 1803 | object.omit@^2.0.0: 1804 | version "2.0.1" 1805 | resolved "https://registry.yarnpkg.com/object.omit/-/object.omit-2.0.1.tgz#1a9c744829f39dbb858c76ca3579ae2a54ebd1fa" 1806 | dependencies: 1807 | for-own "^0.1.4" 1808 | is-extendable "^0.1.1" 1809 | 1810 | once@^1.3.0, once@~1.3.3: 1811 | version "1.3.3" 1812 | resolved "https://registry.yarnpkg.com/once/-/once-1.3.3.tgz#b2e261557ce4c314ec8304f3fa82663e4297ca20" 1813 | dependencies: 1814 | wrappy "1" 1815 | 1816 | os-browserify@^0.2.0: 1817 | version "0.2.1" 1818 | resolved "https://registry.yarnpkg.com/os-browserify/-/os-browserify-0.2.1.tgz#63fc4ccee5d2d7763d26bbf8601078e6c2e0044f" 1819 | 1820 | os-homedir@^1.0.0: 1821 | version "1.0.2" 1822 | resolved "https://registry.yarnpkg.com/os-homedir/-/os-homedir-1.0.2.tgz#ffbc4988336e0e833de0c168c7ef152121aa7fb3" 1823 | 1824 | os-locale@^1.4.0: 1825 | version "1.4.0" 1826 | resolved "https://registry.yarnpkg.com/os-locale/-/os-locale-1.4.0.tgz#20f9f17ae29ed345e8bde583b13d2009803c14d9" 1827 | dependencies: 1828 | lcid "^1.0.0" 1829 | 1830 | os-tmpdir@^1.0.1: 1831 | version "1.0.2" 1832 | resolved "https://registry.yarnpkg.com/os-tmpdir/-/os-tmpdir-1.0.2.tgz#bbe67406c79aa85c5cfec766fe5734555dfa1274" 1833 | 1834 | pako@~0.2.0: 1835 | version "0.2.9" 1836 | resolved "https://registry.yarnpkg.com/pako/-/pako-0.2.9.tgz#f3f7522f4ef782348da8161bad9ecfd51bf83a75" 1837 | 1838 | parse-asn1@^5.0.0: 1839 | version "5.0.0" 1840 | resolved "https://registry.yarnpkg.com/parse-asn1/-/parse-asn1-5.0.0.tgz#35060f6d5015d37628c770f4e091a0b5a278bc23" 1841 | dependencies: 1842 | asn1.js "^4.0.0" 1843 | browserify-aes "^1.0.0" 1844 | create-hash "^1.1.0" 1845 | evp_bytestokey "^1.0.0" 1846 | pbkdf2 "^3.0.3" 1847 | 1848 | parse-glob@^3.0.4: 1849 | version "3.0.4" 1850 | resolved "https://registry.yarnpkg.com/parse-glob/-/parse-glob-3.0.4.tgz#b2c376cfb11f35513badd173ef0bb6e3a388391c" 1851 | dependencies: 1852 | glob-base "^0.3.0" 1853 | is-dotfile "^1.0.0" 1854 | is-extglob "^1.0.0" 1855 | is-glob "^2.0.0" 1856 | 1857 | parse-json@^2.2.0: 1858 | version "2.2.0" 1859 | resolved "https://registry.yarnpkg.com/parse-json/-/parse-json-2.2.0.tgz#f480f40434ef80741f8469099f8dea18f55a4dc9" 1860 | dependencies: 1861 | error-ex "^1.2.0" 1862 | 1863 | path-browserify@0.0.0: 1864 | version "0.0.0" 1865 | resolved "https://registry.yarnpkg.com/path-browserify/-/path-browserify-0.0.0.tgz#a0b870729aae214005b7d5032ec2cbbb0fb4451a" 1866 | 1867 | path-exists@^2.0.0: 1868 | version "2.1.0" 1869 | resolved "https://registry.yarnpkg.com/path-exists/-/path-exists-2.1.0.tgz#0feb6c64f0fc518d9a754dd5efb62c7022761f4b" 1870 | dependencies: 1871 | pinkie-promise "^2.0.0" 1872 | 1873 | path-is-absolute@^1.0.0: 1874 | version "1.0.1" 1875 | resolved "https://registry.yarnpkg.com/path-is-absolute/-/path-is-absolute-1.0.1.tgz#174b9268735534ffbc7ace6bf53a5a9e1b5c5f5f" 1876 | 1877 | path-type@^1.0.0: 1878 | version "1.1.0" 1879 | resolved "https://registry.yarnpkg.com/path-type/-/path-type-1.1.0.tgz#59c44f7ee491da704da415da5a4070ba4f8fe441" 1880 | dependencies: 1881 | graceful-fs "^4.1.2" 1882 | pify "^2.0.0" 1883 | pinkie-promise "^2.0.0" 1884 | 1885 | pbkdf2@^3.0.3: 1886 | version "3.0.9" 1887 | resolved "https://registry.yarnpkg.com/pbkdf2/-/pbkdf2-3.0.9.tgz#f2c4b25a600058b3c3773c086c37dbbee1ffe693" 1888 | dependencies: 1889 | create-hmac "^1.1.2" 1890 | 1891 | pify@^2.0.0: 1892 | version "2.3.0" 1893 | resolved "https://registry.yarnpkg.com/pify/-/pify-2.3.0.tgz#ed141a6ac043a849ea588498e7dca8b15330e90c" 1894 | 1895 | pinkie-promise@^2.0.0: 1896 | version "2.0.1" 1897 | resolved "https://registry.yarnpkg.com/pinkie-promise/-/pinkie-promise-2.0.1.tgz#2135d6dfa7a358c069ac9b178776288228450ffa" 1898 | dependencies: 1899 | pinkie "^2.0.0" 1900 | 1901 | pinkie@^2.0.0: 1902 | version "2.0.4" 1903 | resolved "https://registry.yarnpkg.com/pinkie/-/pinkie-2.0.4.tgz#72556b80cfa0d48a974e80e77248e80ed4f7f870" 1904 | 1905 | pkg-dir@^1.0.0: 1906 | version "1.0.0" 1907 | resolved "https://registry.yarnpkg.com/pkg-dir/-/pkg-dir-1.0.0.tgz#7a4b508a8d5bb2d629d447056ff4e9c9314cf3d4" 1908 | dependencies: 1909 | find-up "^1.0.0" 1910 | 1911 | preserve@^0.2.0: 1912 | version "0.2.0" 1913 | resolved "https://registry.yarnpkg.com/preserve/-/preserve-0.2.0.tgz#815ed1f6ebc65926f865b310c0713bcb3315ce4b" 1914 | 1915 | private@^0.1.6: 1916 | version "0.1.7" 1917 | resolved "https://registry.yarnpkg.com/private/-/private-0.1.7.tgz#68ce5e8a1ef0a23bb570cc28537b5332aba63ef1" 1918 | 1919 | process-nextick-args@~1.0.6: 1920 | version "1.0.7" 1921 | resolved "https://registry.yarnpkg.com/process-nextick-args/-/process-nextick-args-1.0.7.tgz#150e20b756590ad3f91093f25a4f2ad8bff30ba3" 1922 | 1923 | process@^0.11.0: 1924 | version "0.11.9" 1925 | resolved "https://registry.yarnpkg.com/process/-/process-0.11.9.tgz#7bd5ad21aa6253e7da8682264f1e11d11c0318c1" 1926 | 1927 | prr@~0.0.0: 1928 | version "0.0.0" 1929 | resolved "https://registry.yarnpkg.com/prr/-/prr-0.0.0.tgz#1a84b85908325501411853d0081ee3fa86e2926a" 1930 | 1931 | public-encrypt@^4.0.0: 1932 | version "4.0.0" 1933 | resolved "https://registry.yarnpkg.com/public-encrypt/-/public-encrypt-4.0.0.tgz#39f699f3a46560dd5ebacbca693caf7c65c18cc6" 1934 | dependencies: 1935 | bn.js "^4.1.0" 1936 | browserify-rsa "^4.0.0" 1937 | create-hash "^1.1.0" 1938 | parse-asn1 "^5.0.0" 1939 | randombytes "^2.0.1" 1940 | 1941 | punycode@1.3.2: 1942 | version "1.3.2" 1943 | resolved "https://registry.yarnpkg.com/punycode/-/punycode-1.3.2.tgz#9653a036fb7c1ee42342f2325cceefea3926c48d" 1944 | 1945 | punycode@^1.2.4, punycode@^1.4.1: 1946 | version "1.4.1" 1947 | resolved "https://registry.yarnpkg.com/punycode/-/punycode-1.4.1.tgz#c0d5a63b2718800ad8e1eb0fa5269c84dd41845e" 1948 | 1949 | qs@~6.3.0: 1950 | version "6.3.1" 1951 | resolved "https://registry.yarnpkg.com/qs/-/qs-6.3.1.tgz#918c0b3bcd36679772baf135b1acb4c1651ed79d" 1952 | 1953 | querystring-es3@^0.2.0: 1954 | version "0.2.1" 1955 | resolved "https://registry.yarnpkg.com/querystring-es3/-/querystring-es3-0.2.1.tgz#9ec61f79049875707d69414596fd907a4d711e73" 1956 | 1957 | querystring@0.2.0: 1958 | version "0.2.0" 1959 | resolved "https://registry.yarnpkg.com/querystring/-/querystring-0.2.0.tgz#b209849203bb25df820da756e747005878521620" 1960 | 1961 | randomatic@^1.1.3: 1962 | version "1.1.6" 1963 | resolved "https://registry.yarnpkg.com/randomatic/-/randomatic-1.1.6.tgz#110dcabff397e9dcff7c0789ccc0a49adf1ec5bb" 1964 | dependencies: 1965 | is-number "^2.0.2" 1966 | kind-of "^3.0.2" 1967 | 1968 | randombytes@^2.0.0, randombytes@^2.0.1: 1969 | version "2.0.3" 1970 | resolved "https://registry.yarnpkg.com/randombytes/-/randombytes-2.0.3.tgz#674c99760901c3c4112771a31e521dc349cc09ec" 1971 | 1972 | rc@~1.1.6: 1973 | version "1.1.7" 1974 | resolved "https://registry.yarnpkg.com/rc/-/rc-1.1.7.tgz#c5ea564bb07aff9fd3a5b32e906c1d3a65940fea" 1975 | dependencies: 1976 | deep-extend "~0.4.0" 1977 | ini "~1.3.0" 1978 | minimist "^1.2.0" 1979 | strip-json-comments "~2.0.1" 1980 | 1981 | read-pkg-up@^1.0.1: 1982 | version "1.0.1" 1983 | resolved "https://registry.yarnpkg.com/read-pkg-up/-/read-pkg-up-1.0.1.tgz#9d63c13276c065918d57f002a57f40a1b643fb02" 1984 | dependencies: 1985 | find-up "^1.0.0" 1986 | read-pkg "^1.0.0" 1987 | 1988 | read-pkg@^1.0.0: 1989 | version "1.1.0" 1990 | resolved "https://registry.yarnpkg.com/read-pkg/-/read-pkg-1.1.0.tgz#f5ffaa5ecd29cb31c0474bca7d756b6bb29e3f28" 1991 | dependencies: 1992 | load-json-file "^1.0.0" 1993 | normalize-package-data "^2.3.2" 1994 | path-type "^1.0.0" 1995 | 1996 | "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.0: 1997 | version "2.2.3" 1998 | resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-2.2.3.tgz#9cf49463985df016c8ae8813097a9293a9b33729" 1999 | dependencies: 2000 | buffer-shims "^1.0.0" 2001 | core-util-is "~1.0.0" 2002 | inherits "~2.0.1" 2003 | isarray "~1.0.0" 2004 | process-nextick-args "~1.0.6" 2005 | string_decoder "~0.10.x" 2006 | util-deprecate "~1.0.1" 2007 | 2008 | readable-stream@~2.1.4: 2009 | version "2.1.5" 2010 | resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-2.1.5.tgz#66fa8b720e1438b364681f2ad1a63c618448c9d0" 2011 | dependencies: 2012 | buffer-shims "^1.0.0" 2013 | core-util-is "~1.0.0" 2014 | inherits "~2.0.1" 2015 | isarray "~1.0.0" 2016 | process-nextick-args "~1.0.6" 2017 | string_decoder "~0.10.x" 2018 | util-deprecate "~1.0.1" 2019 | 2020 | readdirp@^2.0.0: 2021 | version "2.1.0" 2022 | resolved "https://registry.yarnpkg.com/readdirp/-/readdirp-2.1.0.tgz#4ed0ad060df3073300c48440373f72d1cc642d78" 2023 | dependencies: 2024 | graceful-fs "^4.1.2" 2025 | minimatch "^3.0.2" 2026 | readable-stream "^2.0.2" 2027 | set-immediate-shim "^1.0.1" 2028 | 2029 | regenerate@^1.2.1: 2030 | version "1.3.2" 2031 | resolved "https://registry.yarnpkg.com/regenerate/-/regenerate-1.3.2.tgz#d1941c67bad437e1be76433add5b385f95b19260" 2032 | 2033 | regenerator-runtime@^0.10.0: 2034 | version "0.10.3" 2035 | resolved "https://registry.yarnpkg.com/regenerator-runtime/-/regenerator-runtime-0.10.3.tgz#8c4367a904b51ea62a908ac310bf99ff90a82a3e" 2036 | 2037 | regenerator-transform@0.9.8: 2038 | version "0.9.8" 2039 | resolved "https://registry.yarnpkg.com/regenerator-transform/-/regenerator-transform-0.9.8.tgz#0f88bb2bc03932ddb7b6b7312e68078f01026d6c" 2040 | dependencies: 2041 | babel-runtime "^6.18.0" 2042 | babel-types "^6.19.0" 2043 | private "^0.1.6" 2044 | 2045 | regex-cache@^0.4.2: 2046 | version "0.4.3" 2047 | resolved "https://registry.yarnpkg.com/regex-cache/-/regex-cache-0.4.3.tgz#9b1a6c35d4d0dfcef5711ae651e8e9d3d7114145" 2048 | dependencies: 2049 | is-equal-shallow "^0.1.3" 2050 | is-primitive "^2.0.0" 2051 | 2052 | regexpu-core@^2.0.0: 2053 | version "2.0.0" 2054 | resolved "https://registry.yarnpkg.com/regexpu-core/-/regexpu-core-2.0.0.tgz#49d038837b8dcf8bfa5b9a42139938e6ea2ae240" 2055 | dependencies: 2056 | regenerate "^1.2.1" 2057 | regjsgen "^0.2.0" 2058 | regjsparser "^0.1.4" 2059 | 2060 | regjsgen@^0.2.0: 2061 | version "0.2.0" 2062 | resolved "https://registry.yarnpkg.com/regjsgen/-/regjsgen-0.2.0.tgz#6c016adeac554f75823fe37ac05b92d5a4edb1f7" 2063 | 2064 | regjsparser@^0.1.4: 2065 | version "0.1.5" 2066 | resolved "https://registry.yarnpkg.com/regjsparser/-/regjsparser-0.1.5.tgz#7ee8f84dc6fa792d3fd0ae228d24bd949ead205c" 2067 | dependencies: 2068 | jsesc "~0.5.0" 2069 | 2070 | repeat-element@^1.1.2: 2071 | version "1.1.2" 2072 | resolved "https://registry.yarnpkg.com/repeat-element/-/repeat-element-1.1.2.tgz#ef089a178d1483baae4d93eb98b4f9e4e11d990a" 2073 | 2074 | repeat-string@^1.5.2: 2075 | version "1.6.1" 2076 | resolved "https://registry.yarnpkg.com/repeat-string/-/repeat-string-1.6.1.tgz#8dcae470e1c88abc2d600fff4a776286da75e637" 2077 | 2078 | repeating@^2.0.0: 2079 | version "2.0.1" 2080 | resolved "https://registry.yarnpkg.com/repeating/-/repeating-2.0.1.tgz#5214c53a926d3552707527fbab415dbc08d06dda" 2081 | dependencies: 2082 | is-finite "^1.0.0" 2083 | 2084 | request@^2.79.0: 2085 | version "2.79.0" 2086 | resolved "https://registry.yarnpkg.com/request/-/request-2.79.0.tgz#4dfe5bf6be8b8cdc37fcf93e04b65577722710de" 2087 | dependencies: 2088 | aws-sign2 "~0.6.0" 2089 | aws4 "^1.2.1" 2090 | caseless "~0.11.0" 2091 | combined-stream "~1.0.5" 2092 | extend "~3.0.0" 2093 | forever-agent "~0.6.1" 2094 | form-data "~2.1.1" 2095 | har-validator "~2.0.6" 2096 | hawk "~3.1.3" 2097 | http-signature "~1.1.0" 2098 | is-typedarray "~1.0.0" 2099 | isstream "~0.1.2" 2100 | json-stringify-safe "~5.0.1" 2101 | mime-types "~2.1.7" 2102 | oauth-sign "~0.8.1" 2103 | qs "~6.3.0" 2104 | stringstream "~0.0.4" 2105 | tough-cookie "~2.3.0" 2106 | tunnel-agent "~0.4.1" 2107 | uuid "^3.0.0" 2108 | 2109 | require-directory@^2.1.1: 2110 | version "2.1.1" 2111 | resolved "https://registry.yarnpkg.com/require-directory/-/require-directory-2.1.1.tgz#8c64ad5fd30dab1c976e2344ffe7f792a6a6df42" 2112 | 2113 | require-main-filename@^1.0.1: 2114 | version "1.0.1" 2115 | resolved "https://registry.yarnpkg.com/require-main-filename/-/require-main-filename-1.0.1.tgz#97f717b69d48784f5f526a6c5aa8ffdda055a4d1" 2116 | 2117 | right-align@^0.1.1: 2118 | version "0.1.3" 2119 | resolved "https://registry.yarnpkg.com/right-align/-/right-align-0.1.3.tgz#61339b722fe6a3515689210d24e14c96148613ef" 2120 | dependencies: 2121 | align-text "^0.1.1" 2122 | 2123 | rimraf@2, rimraf@~2.5.1, rimraf@~2.5.4: 2124 | version "2.5.4" 2125 | resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-2.5.4.tgz#96800093cbf1a0c86bd95b4625467535c29dfa04" 2126 | dependencies: 2127 | glob "^7.0.5" 2128 | 2129 | ripemd160@^1.0.0: 2130 | version "1.0.1" 2131 | resolved "https://registry.yarnpkg.com/ripemd160/-/ripemd160-1.0.1.tgz#93a4bbd4942bc574b69a8fa57c71de10ecca7d6e" 2132 | 2133 | "semver@2 || 3 || 4 || 5", semver@~5.3.0: 2134 | version "5.3.0" 2135 | resolved "https://registry.yarnpkg.com/semver/-/semver-5.3.0.tgz#9b2ce5d3de02d17c6012ad326aa6b4d0cf54f94f" 2136 | 2137 | set-blocking@^2.0.0, set-blocking@~2.0.0: 2138 | version "2.0.0" 2139 | resolved "https://registry.yarnpkg.com/set-blocking/-/set-blocking-2.0.0.tgz#045f9782d011ae9a6803ddd382b24392b3d890f7" 2140 | 2141 | set-immediate-shim@^1.0.1: 2142 | version "1.0.1" 2143 | resolved "https://registry.yarnpkg.com/set-immediate-shim/-/set-immediate-shim-1.0.1.tgz#4b2b1b27eb808a9f8dcc481a58e5e56f599f3f61" 2144 | 2145 | setimmediate@^1.0.4: 2146 | version "1.0.5" 2147 | resolved "https://registry.yarnpkg.com/setimmediate/-/setimmediate-1.0.5.tgz#290cbb232e306942d7d7ea9b83732ab7856f8285" 2148 | 2149 | sha.js@^2.3.6: 2150 | version "2.4.8" 2151 | resolved "https://registry.yarnpkg.com/sha.js/-/sha.js-2.4.8.tgz#37068c2c476b6baf402d14a49c67f597921f634f" 2152 | dependencies: 2153 | inherits "^2.0.1" 2154 | 2155 | signal-exit@^3.0.0: 2156 | version "3.0.2" 2157 | resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-3.0.2.tgz#b5fdc08f1287ea1178628e415e25132b73646c6d" 2158 | 2159 | slash@^1.0.0: 2160 | version "1.0.0" 2161 | resolved "https://registry.yarnpkg.com/slash/-/slash-1.0.0.tgz#c41f2f6c39fc16d1cd17ad4b5d896114ae470d55" 2162 | 2163 | sntp@1.x.x: 2164 | version "1.0.9" 2165 | resolved "https://registry.yarnpkg.com/sntp/-/sntp-1.0.9.tgz#6541184cc90aeea6c6e7b35e2659082443c66198" 2166 | dependencies: 2167 | hoek "2.x.x" 2168 | 2169 | source-list-map@~0.1.7: 2170 | version "0.1.8" 2171 | resolved "https://registry.yarnpkg.com/source-list-map/-/source-list-map-0.1.8.tgz#c550b2ab5427f6b3f21f5afead88c4f5587b2106" 2172 | 2173 | source-map-support@^0.4.2: 2174 | version "0.4.11" 2175 | resolved "https://registry.yarnpkg.com/source-map-support/-/source-map-support-0.4.11.tgz#647f939978b38535909530885303daf23279f322" 2176 | dependencies: 2177 | source-map "^0.5.3" 2178 | 2179 | source-map@^0.5.0, source-map@^0.5.3, source-map@~0.5.1, source-map@~0.5.3: 2180 | version "0.5.6" 2181 | resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.5.6.tgz#75ce38f52bf0733c5a7f0c118d81334a2bb5f412" 2182 | 2183 | spdx-correct@~1.0.0: 2184 | version "1.0.2" 2185 | resolved "https://registry.yarnpkg.com/spdx-correct/-/spdx-correct-1.0.2.tgz#4b3073d933ff51f3912f03ac5519498a4150db40" 2186 | dependencies: 2187 | spdx-license-ids "^1.0.2" 2188 | 2189 | spdx-expression-parse@~1.0.0: 2190 | version "1.0.4" 2191 | resolved "https://registry.yarnpkg.com/spdx-expression-parse/-/spdx-expression-parse-1.0.4.tgz#9bdf2f20e1f40ed447fbe273266191fced51626c" 2192 | 2193 | spdx-license-ids@^1.0.2: 2194 | version "1.2.2" 2195 | resolved "https://registry.yarnpkg.com/spdx-license-ids/-/spdx-license-ids-1.2.2.tgz#c9df7a3424594ade6bd11900d596696dc06bac57" 2196 | 2197 | sshpk@^1.7.0: 2198 | version "1.11.0" 2199 | resolved "https://registry.yarnpkg.com/sshpk/-/sshpk-1.11.0.tgz#2d8d5ebb4a6fab28ffba37fa62a90f4a3ea59d77" 2200 | dependencies: 2201 | asn1 "~0.2.3" 2202 | assert-plus "^1.0.0" 2203 | dashdash "^1.12.0" 2204 | getpass "^0.1.1" 2205 | optionalDependencies: 2206 | bcrypt-pbkdf "^1.0.0" 2207 | ecc-jsbn "~0.1.1" 2208 | jodid25519 "^1.0.0" 2209 | jsbn "~0.1.0" 2210 | tweetnacl "~0.14.0" 2211 | 2212 | stream-browserify@^2.0.1: 2213 | version "2.0.1" 2214 | resolved "https://registry.yarnpkg.com/stream-browserify/-/stream-browserify-2.0.1.tgz#66266ee5f9bdb9940a4e4514cafb43bb71e5c9db" 2215 | dependencies: 2216 | inherits "~2.0.1" 2217 | readable-stream "^2.0.2" 2218 | 2219 | stream-http@^2.3.1: 2220 | version "2.6.3" 2221 | resolved "https://registry.yarnpkg.com/stream-http/-/stream-http-2.6.3.tgz#4c3ddbf9635968ea2cfd4e48d43de5def2625ac3" 2222 | dependencies: 2223 | builtin-status-codes "^3.0.0" 2224 | inherits "^2.0.1" 2225 | readable-stream "^2.1.0" 2226 | to-arraybuffer "^1.0.0" 2227 | xtend "^4.0.0" 2228 | 2229 | string-width@^1.0.1, string-width@^1.0.2: 2230 | version "1.0.2" 2231 | resolved "https://registry.yarnpkg.com/string-width/-/string-width-1.0.2.tgz#118bdf5b8cdc51a2a7e70d211e07e2b0b9b107d3" 2232 | dependencies: 2233 | code-point-at "^1.0.0" 2234 | is-fullwidth-code-point "^1.0.0" 2235 | strip-ansi "^3.0.0" 2236 | 2237 | string_decoder@^0.10.25, string_decoder@~0.10.x: 2238 | version "0.10.31" 2239 | resolved "https://registry.yarnpkg.com/string_decoder/-/string_decoder-0.10.31.tgz#62e203bc41766c6c28c9fc84301dab1c5310fa94" 2240 | 2241 | stringstream@~0.0.4: 2242 | version "0.0.5" 2243 | resolved "https://registry.yarnpkg.com/stringstream/-/stringstream-0.0.5.tgz#4e484cd4de5a0bbbee18e46307710a8a81621878" 2244 | 2245 | strip-ansi@^3.0.0, strip-ansi@^3.0.1: 2246 | version "3.0.1" 2247 | resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-3.0.1.tgz#6a385fb8853d952d5ff05d0e8aaf94278dc63dcf" 2248 | dependencies: 2249 | ansi-regex "^2.0.0" 2250 | 2251 | strip-bom@^2.0.0: 2252 | version "2.0.0" 2253 | resolved "https://registry.yarnpkg.com/strip-bom/-/strip-bom-2.0.0.tgz#6219a85616520491f35788bdbf1447a99c7e6b0e" 2254 | dependencies: 2255 | is-utf8 "^0.2.0" 2256 | 2257 | strip-json-comments@~2.0.1: 2258 | version "2.0.1" 2259 | resolved "https://registry.yarnpkg.com/strip-json-comments/-/strip-json-comments-2.0.1.tgz#3c531942e908c2697c0ec344858c286c7ca0a60a" 2260 | 2261 | supports-color@3.1.2, supports-color@^3.1.0: 2262 | version "3.1.2" 2263 | resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-3.1.2.tgz#72a262894d9d408b956ca05ff37b2ed8a6e2a2d5" 2264 | dependencies: 2265 | has-flag "^1.0.0" 2266 | 2267 | supports-color@^2.0.0: 2268 | version "2.0.0" 2269 | resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-2.0.0.tgz#535d045ce6b6363fa40117084629995e9df324c7" 2270 | 2271 | tapable@^0.2.5, tapable@~0.2.5: 2272 | version "0.2.6" 2273 | resolved "https://registry.yarnpkg.com/tapable/-/tapable-0.2.6.tgz#206be8e188860b514425375e6f1ae89bfb01fd8d" 2274 | 2275 | tar-pack@~3.3.0: 2276 | version "3.3.0" 2277 | resolved "https://registry.yarnpkg.com/tar-pack/-/tar-pack-3.3.0.tgz#30931816418f55afc4d21775afdd6720cee45dae" 2278 | dependencies: 2279 | debug "~2.2.0" 2280 | fstream "~1.0.10" 2281 | fstream-ignore "~1.0.5" 2282 | once "~1.3.3" 2283 | readable-stream "~2.1.4" 2284 | rimraf "~2.5.1" 2285 | tar "~2.2.1" 2286 | uid-number "~0.0.6" 2287 | 2288 | tar@~2.2.1: 2289 | version "2.2.1" 2290 | resolved "https://registry.yarnpkg.com/tar/-/tar-2.2.1.tgz#8e4d2a256c0e2185c6b18ad694aec968b83cb1d1" 2291 | dependencies: 2292 | block-stream "*" 2293 | fstream "^1.0.2" 2294 | inherits "2" 2295 | 2296 | timers-browserify@^2.0.2: 2297 | version "2.0.2" 2298 | resolved "https://registry.yarnpkg.com/timers-browserify/-/timers-browserify-2.0.2.tgz#ab4883cf597dcd50af211349a00fbca56ac86b86" 2299 | dependencies: 2300 | setimmediate "^1.0.4" 2301 | 2302 | to-arraybuffer@^1.0.0: 2303 | version "1.0.1" 2304 | resolved "https://registry.yarnpkg.com/to-arraybuffer/-/to-arraybuffer-1.0.1.tgz#7d229b1fcc637e466ca081180836a7aabff83f43" 2305 | 2306 | to-fast-properties@^1.0.1: 2307 | version "1.0.2" 2308 | resolved "https://registry.yarnpkg.com/to-fast-properties/-/to-fast-properties-1.0.2.tgz#f3f5c0c3ba7299a7ef99427e44633257ade43320" 2309 | 2310 | tough-cookie@~2.3.0: 2311 | version "2.3.2" 2312 | resolved "https://registry.yarnpkg.com/tough-cookie/-/tough-cookie-2.3.2.tgz#f081f76e4c85720e6c37a5faced737150d84072a" 2313 | dependencies: 2314 | punycode "^1.4.1" 2315 | 2316 | trim-right@^1.0.1: 2317 | version "1.0.1" 2318 | resolved "https://registry.yarnpkg.com/trim-right/-/trim-right-1.0.1.tgz#cb2e1203067e0c8de1f614094b9fe45704ea6003" 2319 | 2320 | tty-browserify@0.0.0: 2321 | version "0.0.0" 2322 | resolved "https://registry.yarnpkg.com/tty-browserify/-/tty-browserify-0.0.0.tgz#a157ba402da24e9bf957f9aa69d524eed42901a6" 2323 | 2324 | tunnel-agent@~0.4.1: 2325 | version "0.4.3" 2326 | resolved "https://registry.yarnpkg.com/tunnel-agent/-/tunnel-agent-0.4.3.tgz#6373db76909fe570e08d73583365ed828a74eeeb" 2327 | 2328 | tweetnacl@^0.14.3, tweetnacl@~0.14.0: 2329 | version "0.14.5" 2330 | resolved "https://registry.yarnpkg.com/tweetnacl/-/tweetnacl-0.14.5.tgz#5ae68177f192d4456269d108afa93ff8743f4f64" 2331 | 2332 | type-detect@0.1.1: 2333 | version "0.1.1" 2334 | resolved "https://registry.yarnpkg.com/type-detect/-/type-detect-0.1.1.tgz#0ba5ec2a885640e470ea4e8505971900dac58822" 2335 | 2336 | type-detect@^1.0.0: 2337 | version "1.0.0" 2338 | resolved "https://registry.yarnpkg.com/type-detect/-/type-detect-1.0.0.tgz#762217cc06db258ec48908a1298e8b95121e8ea2" 2339 | 2340 | uglify-js@^2.7.5: 2341 | version "2.8.5" 2342 | resolved "https://registry.yarnpkg.com/uglify-js/-/uglify-js-2.8.5.tgz#ae9f5b143f4183d99a1dabb350e243fdc06641ed" 2343 | dependencies: 2344 | async "~0.2.6" 2345 | source-map "~0.5.1" 2346 | uglify-to-browserify "~1.0.0" 2347 | yargs "~3.10.0" 2348 | 2349 | uglify-to-browserify@~1.0.0: 2350 | version "1.0.2" 2351 | resolved "https://registry.yarnpkg.com/uglify-to-browserify/-/uglify-to-browserify-1.0.2.tgz#6e0924d6bda6b5afe349e39a6d632850a0f882b7" 2352 | 2353 | uid-number@~0.0.6: 2354 | version "0.0.6" 2355 | resolved "https://registry.yarnpkg.com/uid-number/-/uid-number-0.0.6.tgz#0ea10e8035e8eb5b8e4449f06da1c730663baa81" 2356 | 2357 | url@^0.11.0: 2358 | version "0.11.0" 2359 | resolved "https://registry.yarnpkg.com/url/-/url-0.11.0.tgz#3838e97cfc60521eb73c525a8e55bfdd9e2e28f1" 2360 | dependencies: 2361 | punycode "1.3.2" 2362 | querystring "0.2.0" 2363 | 2364 | util-deprecate@~1.0.1: 2365 | version "1.0.2" 2366 | resolved "https://registry.yarnpkg.com/util-deprecate/-/util-deprecate-1.0.2.tgz#450d4dc9fa70de732762fbd2d4a28981419a0ccf" 2367 | 2368 | util@0.10.3, util@^0.10.3: 2369 | version "0.10.3" 2370 | resolved "https://registry.yarnpkg.com/util/-/util-0.10.3.tgz#7afb1afe50805246489e3db7fe0ed379336ac0f9" 2371 | dependencies: 2372 | inherits "2.0.1" 2373 | 2374 | uuid@^3.0.0: 2375 | version "3.0.1" 2376 | resolved "https://registry.yarnpkg.com/uuid/-/uuid-3.0.1.tgz#6544bba2dfda8c1cf17e629a3a305e2bb1fee6c1" 2377 | 2378 | validate-npm-package-license@^3.0.1: 2379 | version "3.0.1" 2380 | resolved "https://registry.yarnpkg.com/validate-npm-package-license/-/validate-npm-package-license-3.0.1.tgz#2804babe712ad3379459acfbe24746ab2c303fbc" 2381 | dependencies: 2382 | spdx-correct "~1.0.0" 2383 | spdx-expression-parse "~1.0.0" 2384 | 2385 | verror@1.3.6: 2386 | version "1.3.6" 2387 | resolved "https://registry.yarnpkg.com/verror/-/verror-1.3.6.tgz#cff5df12946d297d2baaefaa2689e25be01c005c" 2388 | dependencies: 2389 | extsprintf "1.0.2" 2390 | 2391 | vm-browserify@0.0.4: 2392 | version "0.0.4" 2393 | resolved "https://registry.yarnpkg.com/vm-browserify/-/vm-browserify-0.0.4.tgz#5d7ea45bbef9e4a6ff65f95438e0a87c357d5a73" 2394 | dependencies: 2395 | indexof "0.0.1" 2396 | 2397 | vue@^2.2.1: 2398 | version "2.2.1" 2399 | resolved "https://registry.yarnpkg.com/vue/-/vue-2.2.1.tgz#ddbfd2f0caf38f374f5a36eea2e1edf25225b68e" 2400 | 2401 | watchpack@^1.2.0: 2402 | version "1.3.1" 2403 | resolved "https://registry.yarnpkg.com/watchpack/-/watchpack-1.3.1.tgz#7d8693907b28ce6013e7f3610aa2a1acf07dad87" 2404 | dependencies: 2405 | async "^2.1.2" 2406 | chokidar "^1.4.3" 2407 | graceful-fs "^4.1.2" 2408 | 2409 | webpack-sources@^0.1.4: 2410 | version "0.1.4" 2411 | resolved "https://registry.yarnpkg.com/webpack-sources/-/webpack-sources-0.1.4.tgz#ccc2c817e08e5fa393239412690bb481821393cd" 2412 | dependencies: 2413 | source-list-map "~0.1.7" 2414 | source-map "~0.5.3" 2415 | 2416 | webpack@^2.2.1: 2417 | version "2.2.1" 2418 | resolved "https://registry.yarnpkg.com/webpack/-/webpack-2.2.1.tgz#7bb1d72ae2087dd1a4af526afec15eed17dda475" 2419 | dependencies: 2420 | acorn "^4.0.4" 2421 | acorn-dynamic-import "^2.0.0" 2422 | ajv "^4.7.0" 2423 | ajv-keywords "^1.1.1" 2424 | async "^2.1.2" 2425 | enhanced-resolve "^3.0.0" 2426 | interpret "^1.0.0" 2427 | json-loader "^0.5.4" 2428 | loader-runner "^2.3.0" 2429 | loader-utils "^0.2.16" 2430 | memory-fs "~0.4.1" 2431 | mkdirp "~0.5.0" 2432 | node-libs-browser "^2.0.0" 2433 | source-map "^0.5.3" 2434 | supports-color "^3.1.0" 2435 | tapable "~0.2.5" 2436 | uglify-js "^2.7.5" 2437 | watchpack "^1.2.0" 2438 | webpack-sources "^0.1.4" 2439 | yargs "^6.0.0" 2440 | 2441 | which-module@^1.0.0: 2442 | version "1.0.0" 2443 | resolved "https://registry.yarnpkg.com/which-module/-/which-module-1.0.0.tgz#bba63ca861948994ff307736089e3b96026c2a4f" 2444 | 2445 | wide-align@^1.1.0: 2446 | version "1.1.0" 2447 | resolved "https://registry.yarnpkg.com/wide-align/-/wide-align-1.1.0.tgz#40edde802a71fea1f070da3e62dcda2e7add96ad" 2448 | dependencies: 2449 | string-width "^1.0.1" 2450 | 2451 | window-size@0.1.0: 2452 | version "0.1.0" 2453 | resolved "https://registry.yarnpkg.com/window-size/-/window-size-0.1.0.tgz#5438cd2ea93b202efa3a19fe8887aee7c94f9c9d" 2454 | 2455 | wordwrap@0.0.2: 2456 | version "0.0.2" 2457 | resolved "https://registry.yarnpkg.com/wordwrap/-/wordwrap-0.0.2.tgz#b79669bb42ecb409f83d583cad52ca17eaa1643f" 2458 | 2459 | wrap-ansi@^2.0.0: 2460 | version "2.1.0" 2461 | resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-2.1.0.tgz#d8fc3d284dd05794fe84973caecdd1cf824fdd85" 2462 | dependencies: 2463 | string-width "^1.0.1" 2464 | strip-ansi "^3.0.1" 2465 | 2466 | wrappy@1: 2467 | version "1.0.2" 2468 | resolved "https://registry.yarnpkg.com/wrappy/-/wrappy-1.0.2.tgz#b5243d8f3ec1aa35f1364605bc0d1036e30ab69f" 2469 | 2470 | xtend@^4.0.0: 2471 | version "4.0.1" 2472 | resolved "https://registry.yarnpkg.com/xtend/-/xtend-4.0.1.tgz#a5c6d532be656e23db820efb943a1f04998d63af" 2473 | 2474 | y18n@^3.2.1: 2475 | version "3.2.1" 2476 | resolved "https://registry.yarnpkg.com/y18n/-/y18n-3.2.1.tgz#6d15fba884c08679c0d77e88e7759e811e07fa41" 2477 | 2478 | yargs-parser@^4.2.0: 2479 | version "4.2.1" 2480 | resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-4.2.1.tgz#29cceac0dc4f03c6c87b4a9f217dd18c9f74871c" 2481 | dependencies: 2482 | camelcase "^3.0.0" 2483 | 2484 | yargs@^6.0.0: 2485 | version "6.6.0" 2486 | resolved "https://registry.yarnpkg.com/yargs/-/yargs-6.6.0.tgz#782ec21ef403345f830a808ca3d513af56065208" 2487 | dependencies: 2488 | camelcase "^3.0.0" 2489 | cliui "^3.2.0" 2490 | decamelize "^1.1.1" 2491 | get-caller-file "^1.0.1" 2492 | os-locale "^1.4.0" 2493 | read-pkg-up "^1.0.1" 2494 | require-directory "^2.1.1" 2495 | require-main-filename "^1.0.1" 2496 | set-blocking "^2.0.0" 2497 | string-width "^1.0.2" 2498 | which-module "^1.0.0" 2499 | y18n "^3.2.1" 2500 | yargs-parser "^4.2.0" 2501 | 2502 | yargs@~3.10.0: 2503 | version "3.10.0" 2504 | resolved "https://registry.yarnpkg.com/yargs/-/yargs-3.10.0.tgz#f7ee7bd857dd7c1d2d38c0e74efbd681d1431fd1" 2505 | dependencies: 2506 | camelcase "^1.0.2" 2507 | cliui "^2.1.0" 2508 | decamelize "^1.0.0" 2509 | window-size "0.1.0" 2510 | --------------------------------------------------------------------------------