├── examples ├── alltypes_plain.parquet ├── parquet_cpp_example.parquet └── ex2.js ├── .gitmodules ├── .gitignore ├── bin ├── parquet-info.js └── parquet.js ├── src ├── parquet_binding.cc ├── parquet_writer.h ├── parquet_reader.h ├── parquet_reader.cc └── parquet_writer.cc ├── test ├── int32-write.js ├── wrong-string.js ├── byte_array-write.js ├── string-write.js ├── nested.js ├── date.js └── read-write-1.js ├── .travis.yml ├── package.json ├── index.js ├── binding.gyp ├── CHANGELOG.md ├── README.md ├── LICENSE ├── lib └── parquet.js └── yarn.lock /examples/alltypes_plain.parquet: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skale-me/node-parquet/HEAD/examples/alltypes_plain.parquet -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- 1 | [submodule "deps/parquet-cpp"] 2 | path = deps/parquet-cpp 3 | url = https://github.com/apache/parquet-cpp 4 | -------------------------------------------------------------------------------- /examples/parquet_cpp_example.parquet: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skale-me/node-parquet/HEAD/examples/parquet_cpp_example.parquet -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | build/ 2 | build_deps/ 3 | node_modules/ 4 | examples/t1.parquet 5 | test/test.parquet 6 | test/t1.parquet 7 | .DS_Store 8 | .*.swp 9 | -------------------------------------------------------------------------------- /bin/parquet-info.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 3 | // Copyright 2017 Luca-SAS, licensed under the Apache License 2.0 4 | 5 | const parquet = require('../lib/parquet.js'); 6 | 7 | const file = process.argv[2]; 8 | const reader = parquet.Reader(file); 9 | console.log(reader.metadata); 10 | -------------------------------------------------------------------------------- /src/parquet_binding.cc: -------------------------------------------------------------------------------- 1 | // Copyright 2017 Luca-SAS, licensed under the Apache License 2.0 2 | 3 | #include 4 | 5 | #include "parquet_reader.h" 6 | #include "parquet_writer.h" 7 | 8 | NAN_MODULE_INIT(Init) { 9 | ParquetReader::Init(target); 10 | ParquetWriter::Init(target); 11 | } 12 | 13 | NODE_MODULE(parquet, Init) 14 | -------------------------------------------------------------------------------- /test/int32-write.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 3 | var t = require('tap'); 4 | var parquet = require('../'); 5 | 6 | var schema = {int: {type: 'int32'}}; 7 | var writer = new parquet.ParquetWriter(__dirname + '/test.parquet', schema); 8 | 9 | t.type(writer, 'object'); 10 | t.equal(writer.write([[1], [2], [3]]), 3); 11 | writer.close(); 12 | -------------------------------------------------------------------------------- /examples/ex2.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 3 | var parquet = require('../lib/parquet.js'); 4 | 5 | //var reader = parquet.Reader('parquet_cpp_example.parquet'); 6 | //var reader = parquet.Reader('alltypes_plain.parquet'); 7 | var reader = parquet.Reader(process.argv[2]); 8 | console.log('reader metatada', reader.metadata); 9 | reader.readCol(0); 10 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | os: 2 | - linux 3 | 4 | dist: trusty 5 | sudo: required 6 | language: node_js 7 | node_js: 8 | - "8" 9 | 10 | before_install: 11 | - case "$TRAVIS_OS_NAME" in 12 | linux) sudo apt-get install -y bison flex libssl-dev libboost-dev libboost-system-dev libboost-filesystem-dev libboost-regex-dev ;; 13 | esac 14 | 15 | env: 16 | global: 17 | - NODE_ENV=development 18 | -------------------------------------------------------------------------------- /test/wrong-string.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 3 | var t = require('tap'); 4 | 5 | var parquet = require('../'); 6 | 7 | var schema = { string: {type: 'byte_array'}, }; 8 | 9 | var f = new parquet.ParquetWriter(__dirname + '/t1.parquet', schema); 10 | t.throws(function () { 11 | f.write([ 12 | [ "hello" ], // Ok 13 | [ [ 4 ] ] // Fault 14 | ]); 15 | }, {}, {}); 16 | f.close(); 17 | -------------------------------------------------------------------------------- /test/byte_array-write.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 3 | var t = require('tap'); 4 | var parquet = require('..'); 5 | 6 | var schema = {ba: {type: 'byte_array'}}; 7 | var writer = new parquet.ParquetWriter(__dirname + '/test.parquet', schema, 'gzip'); 8 | 9 | t.type(writer, 'object'); 10 | writer.write([ 11 | [Buffer.from('hello')], 12 | ['world'], 13 | ['00001a8a-e405-4337-a3ec-07dc7431a9c5'], 14 | [Buffer.from('00001a8a-e405-4337-a3ec-07dc7431a9c5')], 15 | ]); 16 | writer.close(); 17 | -------------------------------------------------------------------------------- /test/string-write.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 3 | var t = require('tap'); 4 | var parquet = require('..'); 5 | 6 | var schema = {string: {type: 'string'}}; 7 | var writer = new parquet.ParquetWriter(__dirname + '/test.parquet', schema, 'gzip'); 8 | 9 | t.type(writer, 'object'); 10 | writer.write([ 11 | [ Buffer.from('hello') ], 12 | [ 'world' ], 13 | [ '00001a8a-e405-4337-a3ec-07dc7431a9c5' ], 14 | [ Buffer.from('00001a8a-e405-4337-a3ec-07dc7431a9c5') ], 15 | ]); 16 | writer.close(); 17 | -------------------------------------------------------------------------------- /test/nested.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 3 | var t = require('tap'); 4 | var parquet = require('..'); 5 | 6 | var schema = { 7 | id: {type: 'int64', optional: true}, 8 | aggr: {type: 'list', repeated: true, schema: { 9 | // bag: {type: 'group', optional: true, schema: { 10 | ba: {type: 'byte_array', optional: true} 11 | // }}, 12 | }}, 13 | }; 14 | var writer = new parquet.ParquetWriter(__dirname + '/test.parquet', schema, 'gzip'); 15 | 16 | t.type(writer, 'object'); 17 | writer.write([ 18 | [1, [Buffer.from('hello')]], 19 | [2, ['world']], 20 | // [3, []], 21 | [4, ['00001a8a-e405-4337-a3ec-07dc7431a9c5']], 22 | ]); 23 | writer.close(); 24 | -------------------------------------------------------------------------------- /test/date.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 3 | var t = require('tap'); 4 | var parquet = require('../'); 5 | 6 | var file = __dirname + '/test.parquet'; 7 | var schema = {int: {type: 'timestamp'}}; 8 | var writer = new parquet.ParquetWriter(file, schema); 9 | var now = new Date; 10 | 11 | t.type(writer, 'object'); 12 | t.equal(writer.write([[now.getTime()]]), 1); 13 | writer.close(); 14 | 15 | var reader = new parquet.ParquetReader(file); 16 | var info = reader.info(); 17 | t.type(reader, 'object'); 18 | t.equal(info.rowGroups, 1); 19 | t.equal(info.columns, 1); 20 | t.equal(info.rows, 1); 21 | var data = reader.rows(info.rows); 22 | t.equal(data[0][0], now.getTime()); 23 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "node-parquet", 3 | "version": "0.2.7", 4 | "description": "Parquet is a columnar storage format", 5 | "main": "index.js", 6 | "scripts": { 7 | "preinstall": "./build_parquet-cpp.sh", 8 | "install": "node-gyp rebuild", 9 | "postinstall": "[ _$NODE_ENV = _production ] && rm -rf build_deps || true", 10 | "clean": "rm -rf build_deps", 11 | "test": "tap test/*.js" 12 | }, 13 | "bin": { 14 | "parquet": "./bin/parquet.js" 15 | }, 16 | "repository": "skale-me/node-parquet", 17 | "bugs": { 18 | "url": "https://github.com/skale-me/node-parquet/issues" 19 | }, 20 | "keywords": [ 21 | "big data", 22 | "parquet", 23 | "skale", 24 | "ETL" 25 | ], 26 | "author": "Skale team", 27 | "license": "Apache-2.0", 28 | "dependencies": { 29 | "hexdump-nodejs": "^0.1.0", 30 | "minimist": "^1.2.0", 31 | "nan": "^2.10.0", 32 | "varint": "^5.0.0" 33 | }, 34 | "devDependencies": { 35 | "tap": "^11.1.4" 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /src/parquet_writer.h: -------------------------------------------------------------------------------- 1 | // Copyright 2017 Luca-SAS, licensed under the Apache License 2.0 2 | 3 | #ifndef PARQUET_WRITER_H 4 | #define PARQUET_WRITER_H 5 | 6 | #include 7 | 8 | #include 9 | #include 10 | 11 | class ParquetWriter : public Nan::ObjectWrap { 12 | public: 13 | static void Init(v8::Local exports); 14 | 15 | private: 16 | ParquetWriter(const Nan::FunctionCallbackInfo& info); 17 | ~ParquetWriter(); 18 | 19 | static void NewInstance(const Nan::FunctionCallbackInfo& info); 20 | static void New(const Nan::FunctionCallbackInfo& info); 21 | static void Write(const Nan::FunctionCallbackInfo& info); 22 | static void Close(const Nan::FunctionCallbackInfo& info); 23 | static Nan::Persistent constructor; 24 | 25 | // Wrapped object 26 | std::shared_ptr pw_; 27 | std::shared_ptr fw_; 28 | int ncols_; 29 | }; 30 | 31 | #endif 32 | -------------------------------------------------------------------------------- /test/read-write-1.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 3 | // Modified from original script by @rafiton 4 | 5 | var t = require('tap'); 6 | var parquet = require('../index.js'); 7 | 8 | var schema = { 9 | small_int: {type: 'int32'}, 10 | big_int: {type: 'int64'}, 11 | name: {type: 'string'} 12 | }; 13 | 14 | var data = [ 15 | [ 13, 1111, 'hello world r'], 16 | [ 2, 2234, 'hello world 1'], 17 | [ 3, 2334, 'hello world 2'], 18 | [ 4, 1223, 'hello world 3'] 19 | ]; 20 | 21 | var file = __dirname + '/test.parquet'; 22 | var writer = new parquet.ParquetWriter(file, schema); 23 | var nbwritten = writer.write(data); 24 | t.equal(nbwritten, data.length, 'write: correct number of written rows'); 25 | writer.close(); 26 | 27 | var reader = new parquet.ParquetReader(file); 28 | var info = reader.info(); 29 | t.equal(info.rows, data.length, 'read: correct number of rows in schema'); 30 | t.equal(info.columns, data[0].length, 'read: correct number of columns in schema'); 31 | 32 | var dataread = reader.rows(info.rows); 33 | t.equal(JSON.stringify(dataread), JSON.stringify(data), 'read: data read identical to original data'); 34 | -------------------------------------------------------------------------------- /src/parquet_reader.h: -------------------------------------------------------------------------------- 1 | // Copyright 2017 Luca-SAS, licensed under the Apache License 2.0 2 | 3 | #ifndef PARQUET_READER_H 4 | #define PARQUET_READER_H 5 | 6 | #include 7 | 8 | #include 9 | 10 | #include 11 | 12 | class ParquetReader : public Nan::ObjectWrap { 13 | public: 14 | static void Init(v8::Local exports); 15 | 16 | private: 17 | ParquetReader(const Nan::FunctionCallbackInfo& args); 18 | ~ParquetReader(); 19 | 20 | static void NewInstance(const Nan::FunctionCallbackInfo& args); 21 | static void New(const Nan::FunctionCallbackInfo& args); 22 | static void Info(const Nan::FunctionCallbackInfo& args); 23 | static void Read(const Nan::FunctionCallbackInfo& args); 24 | static void Close(const Nan::FunctionCallbackInfo& args); 25 | static Nan::Persistent constructor; 26 | 27 | // Wrapped objects 28 | std::unique_ptr parquet_file_reader_; 29 | std::vector> column_readers_; 30 | }; 31 | 32 | #endif 33 | -------------------------------------------------------------------------------- /index.js: -------------------------------------------------------------------------------- 1 | // Copyright 2017 Luca-SAS, licensed under the Apache License 2.0 2 | 3 | 'use strict'; 4 | 5 | const parquet = require('./build/Release/parquet.node'); 6 | 7 | module.exports = parquet; 8 | 9 | parquet.ParquetReader.prototype.rows = function(nrows) { 10 | const info = this.info(); 11 | nrows = nrows || info.rows; 12 | var i, j, col, e; 13 | 14 | if (!this._last) this._last = []; 15 | if (!this._count) this._count = []; 16 | if (this._remain === undefined) this._remain = info.rows; 17 | if (nrows > this._remain) nrows = this._remain; 18 | 19 | const rows = new Array(nrows); 20 | for (j = 0; j < info.columns; j++) { 21 | this._count[j] = 0; 22 | } 23 | for (i = 0; i < nrows; i++) { 24 | rows[i] = new Array(info.columns); 25 | col = rows[i]; 26 | for (j = 0; j < info.columns; j++) { 27 | if (this._last[j]) { 28 | col[j] = [this._last[j][2]]; 29 | while (true) { 30 | this._last[j] = this.read(j); 31 | this._count[j]++; 32 | if (!this._last[j] || this._last[j][1] === 0) 33 | break; 34 | col[j].push(this._last[j][2]); 35 | } 36 | continue; 37 | } 38 | col[j] = this.read(j); 39 | if (Array.isArray(col[j])) { 40 | this._last[j] = col[j]; 41 | this._count[j]++; 42 | col[j] = [this._last[j][2]]; 43 | while (true) { 44 | this._last[j] = this.read(j); 45 | this._count[j]++; 46 | if (!this._last[j] || this._last[j][1] === 0) 47 | break; 48 | col[j].push(this._last[j][2]); 49 | } 50 | } 51 | } 52 | } 53 | this._remain -= nrows; 54 | return rows; 55 | }; 56 | -------------------------------------------------------------------------------- /bin/parquet.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 3 | // Copyright 2017 Luca-SAS, licensed under the Apache License 2.0 4 | 5 | const parquet = require('../index.js'); 6 | 7 | const argv = require('minimist')(process.argv.slice(2), { 8 | string: '_', 9 | boolean: [ 10 | 'h', 'help', 11 | 'V', 'version' 12 | ], 13 | default: {} 14 | }); 15 | 16 | const help = 'Usage: parquet [options] []\n' + 17 | '\n' + 18 | 'Command line tool to manipulate parquet files\n' + 19 | '\n' + 20 | 'Commands:\n' + 21 | ' cat file Print file content on standard output\n' + 22 | ' head file Print the first lines of file\n' + 23 | ' info file Print file metadata\n' + 24 | '\n' + 25 | 'Options:\n' + 26 | ' -h,--help Print this help text\n' + 27 | ' -V,--version Print version and exits'; 28 | 29 | if (argv.h || argv.help) { 30 | process.stdout.write(help); 31 | process.exit(); 32 | } 33 | if (argv.V || argv.version) { 34 | var pkg = require('../package'); 35 | process.stdout.write(pkg.name + '-' + pkg.version); 36 | process.exit(); 37 | } 38 | 39 | switch (argv._[0]) { 40 | case 'cat': 41 | cat(argv._[1]); 42 | break; 43 | case 'head': 44 | cat(argv._[1], 5); 45 | break; 46 | case 'info': 47 | info(argv._[1]); 48 | break; 49 | default: 50 | die('Error: invalid command: ' + argv._[0]); 51 | } 52 | 53 | function cat(file, max) { 54 | const reader = new parquet.ParquetReader(file); 55 | const info = reader.info(); 56 | const n = max < info.rows ? max : info.rows; 57 | for (var i = 0; i < n; i++) { 58 | data = reader.rows(1); 59 | process.stdout.write(JSON.stringify(data[0]) + '\n'); 60 | } 61 | } 62 | 63 | function die(err) { 64 | console.error(err); 65 | process.exit(1); 66 | } 67 | 68 | function info(file) { 69 | const reader = new parquet.ParquetReader(file); 70 | process.stdout.write(JSON.stringify(reader.info(), null, 2) + '\n'); 71 | } 72 | -------------------------------------------------------------------------------- /binding.gyp: -------------------------------------------------------------------------------- 1 | { 2 | 'targets': [ 3 | { 4 | 'target_name': 'parquet', 5 | 'sources': [ 6 | 'src/parquet_binding.cc', 7 | 'src/parquet_reader.cc', 8 | 'src/parquet_writer.cc', 9 | ], 10 | 'include_dirs': [ 11 | "deps/parquet-cpp/src", 12 | "build_deps/parquet-cpp/release/include", 13 | " 30 April 2018 8 | - updated dependencies [`c77a925`](https://github.com/skale-me/node-parquet/commit/c77a925dfe428773321d850a7642110f9849e08b) 9 | - Fix travis build on OSX [`601c387`](https://github.com/skale-me/node-parquet/commit/601c387ce2075a75d54c9c10f0304b611f40d5ad) 10 | - travis: simplify install of bison on OSX [`56539b4`](https://github.com/skale-me/node-parquet/commit/56539b4feab6354e5ccd21d1d8c12ac7be807fd3) 11 | 12 | #### [0.2.6](https://github.com/skale-me/node-parquet/compare/0.2.5...0.2.6) 13 | > 7 November 2017 14 | - update to parquet-cpp-1.3.1 [`#51`](https://github.com/skale-me/node-parquet/pull/51) 15 | - bin/parquet: fix handling of numeric filenames, fix #49 [`#50`](https://github.com/skale-me/node-parquet/pull/50) 16 | - List more requirements for linux [`#48`](https://github.com/skale-me/node-parquet/pull/48) 17 | - Add license/copyright header. No functional change [`#45`](https://github.com/skale-me/node-parquet/pull/45) 18 | - bin/parquet.js: output info in JSON format [`#44`](https://github.com/skale-me/node-parquet/pull/44) 19 | - reader: extract schema [`#43`](https://github.com/skale-me/node-parquet/pull/43) 20 | - bin/parquet: fix handling of numeric filenames, fix #49 [`#49`](https://github.com/skale-me/node-parquet/issues/49) 21 | - version 0.2.6 [`f5f56e2`](https://github.com/skale-me/node-parquet/commit/f5f56e296739cd52b598722ae4ae1aa966d7ae29) 22 | - reader schema: recognize timestamp type [`ddb6527`](https://github.com/skale-me/node-parquet/commit/ddb6527bab6819fc94de48d72d981635b72d822d) 23 | 24 | #### [0.2.5](https://github.com/skale-me/node-parquet/compare/0.2.4...0.2.5) 25 | > 3 September 2017 26 | - improve README [`#42`](https://github.com/skale-me/node-parquet/pull/42) 27 | - improve tests, check read data against original used for write [`#41`](https://github.com/skale-me/node-parquet/pull/41) 28 | - travis CI: build and test on linux and MacOSX [`#40`](https://github.com/skale-me/node-parquet/pull/40) 29 | - remove obsolete non-working code [`#39`](https://github.com/skale-me/node-parquet/pull/39) 30 | - writer: fix compile warning [`#38`](https://github.com/skale-me/node-parquet/pull/38) 31 | - reader: fix uninitialized variables. Should correct #32. [`#37`](https://github.com/skale-me/node-parquet/pull/37) 32 | - Add 'string' and 'timestamp' logical types [`#36`](https://github.com/skale-me/node-parquet/pull/36) 33 | - fix build of static lib dependencies [`#34`](https://github.com/skale-me/node-parquet/pull/34) 34 | - update to parquet-cpp-1.2.0 [`#33`](https://github.com/skale-me/node-parquet/pull/33) 35 | - post-install: clean up compiled dependency libs in production mode [`#31`](https://github.com/skale-me/node-parquet/pull/31) 36 | - fixes typo [`#29`](https://github.com/skale-me/node-parquet/pull/29) 37 | - update parquet-cpp dependency [`#27`](https://github.com/skale-me/node-parquet/pull/27) 38 | - Fix headings so they're recognised as valid markdown [`#26`](https://github.com/skale-me/node-parquet/pull/26) 39 | - test: add a read-write test following script provided by @rafiton [`d49e3c6`](https://github.com/skale-me/node-parquet/commit/d49e3c6da022e4e9bf12b47c4160cb17360f99ec) 40 | - version 0.2.5 [`00a499a`](https://github.com/skale-me/node-parquet/commit/00a499aa225bfceec66aefc078e75ebb93401dde) 41 | - fix parquet-cpp dependency update to 1.2.0 [`b608b3e`](https://github.com/skale-me/node-parquet/commit/b608b3ef85468c1cf3fa2ff5636e633e8d023547) 42 | 43 | #### [0.2.4](https://github.com/skale-me/node-parquet/compare/0.2.3...0.2.4) 44 | > 4 April 2017 45 | - Update parquet-cpp dependency [`#25`](https://github.com/skale-me/node-parquet/pull/25) 46 | - Add a command line tool parquet [`#24`](https://github.com/skale-me/node-parquet/pull/24) 47 | - Link module against static libraries rather than dynamic ones. [`#23`](https://github.com/skale-me/node-parquet/pull/23) 48 | - Fix issue #21 where writing an invalid string caused a segmentation fault [`#22`](https://github.com/skale-me/node-parquet/pull/22) 49 | - Support building by yarn, update package.json [`4a125c5`](https://github.com/skale-me/node-parquet/commit/4a125c5123cda3b2933bfde552fd13e3566e7d7a) 50 | - Document command line and build cleaning [`8cf999f`](https://github.com/skale-me/node-parquet/commit/8cf999f7e51a99cf9c966bbf902ab5cc0262a736) 51 | - version 0.2.4 [`4bc1617`](https://github.com/skale-me/node-parquet/commit/4bc161774459718264fc044e5b07e8fab4afb617) 52 | 53 | #### [0.2.3](https://github.com/skale-me/node-parquet/compare/0.2.2...0.2.3) 54 | > 10 March 2017 55 | - write strings: fix memory problems. [`#19`](https://github.com/skale-me/node-parquet/pull/19) 56 | - write strings: fix memory problem [`63bc705`](https://github.com/skale-me/node-parquet/commit/63bc705224578341fbccd7a3fe364c43c0acad23) 57 | - Fix possible memory corruption at writing byte_arrays [`89b8bdf`](https://github.com/skale-me/node-parquet/commit/89b8bdf4a0a65b51a01e5128e3842ab2cd3bd58e) 58 | - version 0.2.3 [`4167af6`](https://github.com/skale-me/node-parquet/commit/4167af63292f1066da84bfdc3d76e257336aa2bd) 59 | 60 | #### [0.2.2](https://github.com/skale-me/node-parquet/compare/0.2.1...0.2.2) 61 | > 8 March 2017 62 | - Fix a possible memory corruption at write [`#18`](https://github.com/skale-me/node-parquet/pull/18) 63 | - version 0.2.2 [`2051de9`](https://github.com/skale-me/node-parquet/commit/2051de9e3e78159146745bf31cc067f2a3a92f1a) 64 | - do not track generated test files [`005e0f3`](https://github.com/skale-me/node-parquet/commit/005e0f38e936348c7cd4bd5cc3d98dcddfc4ccfc) 65 | 66 | #### [0.2.1](https://github.com/skale-me/node-parquet/compare/0.2.0...0.2.1) 67 | > 8 March 2017 68 | - fix dependencies [`#17`](https://github.com/skale-me/node-parquet/pull/17) 69 | - README: fix examples, document read() [`#16`](https://github.com/skale-me/node-parquet/pull/16) 70 | - version 0.2.1 [`d4b0fda`](https://github.com/skale-me/node-parquet/commit/d4b0fda710175c348156b47867cecb1882a36abf) 71 | 72 | #### [0.2.0](https://github.com/skale-me/node-parquet/compare/0.1.1...0.2.0) 73 | > 7 March 2017 74 | - write enable optional compression: gzip, snappy, brotli or lzo [`#15`](https://github.com/skale-me/node-parquet/pull/15) 75 | - writer: fix string encoding [`#14`](https://github.com/skale-me/node-parquet/pull/14) 76 | - Document API [`#13`](https://github.com/skale-me/node-parquet/pull/13) 77 | - rename writer.writeSync to writer.write before next release [`#12`](https://github.com/skale-me/node-parquet/pull/12) 78 | - reader.read(): Fix handling of remaining rows [`#11`](https://github.com/skale-me/node-parquet/pull/11) 79 | - Fix nested columns at read and write. Code cleaning [`#10`](https://github.com/skale-me/node-parquet/pull/10) 80 | - update parquet-cpp [`#9`](https://github.com/skale-me/node-parquet/pull/9) 81 | - Fix reading [`#8`](https://github.com/skale-me/node-parquet/pull/8) 82 | - fix performance at read [`#7`](https://github.com/skale-me/node-parquet/pull/7) 83 | - writer: fix a bug where values were ignored after null [`#5`](https://github.com/skale-me/node-parquet/pull/5) 84 | - js reader: fix file metadata schema parse [`#4`](https://github.com/skale-me/node-parquet/pull/4) 85 | - reader: return arrays instead of objects, handle UTF8 strings [`#3`](https://github.com/skale-me/node-parquet/pull/3) 86 | - update parquet-cpp dependency [`#2`](https://github.com/skale-me/node-parquet/pull/2) 87 | - version 0.2.0 [`97b1b79`](https://github.com/skale-me/node-parquet/commit/97b1b798ba413a75a7ef4900c68c867cab9f4c58) 88 | - README: fix wording [`fad97e5`](https://github.com/skale-me/node-parquet/commit/fad97e5578e1ddaacd4c2c2084af964cd7d2608b) 89 | - travis: install libboost-regex-dev [`928d55d`](https://github.com/skale-me/node-parquet/commit/928d55dda64129e38bac1786efb9cd6ffa60888b) 90 | 91 | #### [0.1.1](https://github.com/skale-me/node-parquet/compare/0.1.0...0.1.1) 92 | > 10 February 2017 93 | - bump to 0.1.1 due to incomplete npm publish of 0.1.0 [`1faf1af`](https://github.com/skale-me/node-parquet/commit/1faf1afd8753d0c26731b0a8831ae32ca6896e6e) 94 | 95 | #### 0.1.0 96 | > 10 February 2017 97 | - js reader: handle thrift list with more than 14 fields [`#1`](https://github.com/skale-me/node-parquet/pull/1) 98 | - version 0.1.0 [`bafde05`](https://github.com/skale-me/node-parquet/commit/bafde0505193964e16119762cd4bcca1b86e4ab9) 99 | - update parquet-cpp dependency [`b188d3b`](https://github.com/skale-me/node-parquet/commit/b188d3bab7fe734faddf6cca5a9cb84346e9ef83) 100 | - fix package.json [`1f0073f`](https://github.com/skale-me/node-parquet/commit/1f0073fd7e6ca1312aacafbbdd8229fd514a6bbb) 101 | 102 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Node-parquet 2 | 3 | [![Build Status](https://travis-ci.org/mvertes/node-parquet.svg?branch=master)](https://travis-ci.org/mvertes/node-parquet) 4 | 5 | [Parquet](http://parquet.apache.org) is a [columnar 6 | storage](https://en.wikipedia.org/wiki/Column-oriented_DBMS) format 7 | available to any project in the Hadoop ecosystem. This nodejs module 8 | provides native bindings to the parquet functions from 9 | [parquet-cpp](https://github.com/apache/parquet-cpp). 10 | 11 | A pure javascript parquet format driver (still in development) is also provided. 12 | 13 | ## Build, install 14 | 15 | The native c++ module has the following dependencies which must 16 | be installed before attempting to build: 17 | 18 | - Linux: 19 | - g++ and gcc version >= 4.8 20 | - cmake > 2.8.6 21 | - boost 22 | - bison 23 | - flex 24 | - MacOSX: 25 | - Xcode (at least command line tools) 26 | - boost (`brew install boost`) 27 | - MS-Windows: not supported (contributions welcome) 28 | 29 | Note that you need also python2 and c++/make toolchain for building 30 | NodeJS native addons. 31 | 32 | The standard way of building and installing, provided that above 33 | depencies are met, is simply to run: 34 | 35 | ```shell 36 | npm install 37 | ``` 38 | 39 | From 0.2.4 version, a command line tool called `parquet` is provided. 40 | It can be installed globally by running `npm install -g`. Note that 41 | if you install node-parquet this way, you can still use it as a dependency 42 | module in your local projects by linking (`npm link node-parquet`) which 43 | avoids the cost of recompiling the complete parquet-cpp library and 44 | its dependencies. 45 | 46 | Otherwise, for developers to build directly from a github clone: 47 | 48 | ```shell 49 | git clone https://github.com/mvertes/node-parquet.git 50 | cd node-parquet 51 | git submodule update --init --recursive 52 | npm install [-g] 53 | ``` 54 | 55 | After install, the parquet-cpp build directory `build_deps` can be 56 | removed by running `npm run clean`, recovering all disk space taken 57 | for building parquet-cpp and its dependencies. 58 | 59 | ## Usage 60 | 61 | ### Command line tool 62 | 63 | A command line tool `parquet` is provided. It's quite minimalist 64 | right now and needs to be improved: 65 | 66 | ``` 67 | Usage: parquet [options] [] 68 | 69 | Command line tool to manipulate parquet files 70 | 71 | Commands: 72 | cat file Print file content on standard output 73 | head file Print the first lines of file 74 | info file Print file metadata 75 | 76 | Options: 77 | -h,--help Print this help text 78 | -V,--version Print version and exits 79 | ``` 80 | 81 | ### Reading 82 | 83 | The following example shows how to read a `parquet` file: 84 | 85 | ```javascript 86 | var parquet = require('node-parquet'); 87 | 88 | var reader = new parquet.ParquetReader('my_file.parquet'); 89 | console.log(reader.info()); 90 | console.log(reader.rows(); 91 | reader.close(); 92 | ``` 93 | 94 | ### Writing 95 | 96 | The following example shows how to write a `parquet` file: 97 | 98 | ```javascript 99 | var parquet = require('node-parquet'); 100 | 101 | var schema = { 102 | small_int: {type: 'int32', optional: true}, 103 | big_int: {type: 'int64'}, 104 | my_boolean: {type: 'bool'}, 105 | name: {type: 'byte_array', optional: true}, 106 | }; 107 | 108 | var data = [ 109 | [ 1, 23234, true, 'hello world'], 110 | [ , 1234, false, ], 111 | ]; 112 | 113 | var writer = new parquet.ParquetWriter('my_file.parquet', schema); 114 | writer.write(data); 115 | writer.close(); 116 | ``` 117 | 118 | ## API reference 119 | 120 | The API is not yet considered stable nor complete. 121 | 122 | To use this module, one must `require('node-parquet')` 123 | 124 | ### Class: parquet.ParquetReader 125 | 126 | `ParquetReader` object performs read operations on a file in parquet format. 127 | 128 | #### new parquet.ParquetReader(filename) 129 | 130 | Construct a new parquet reader object. 131 | 132 | * `filename`: `String` containing the parquet file path 133 | 134 | Example: 135 | 136 | ```javascript 137 | const parquet = require('node-parquet'); 138 | const reader = new parquet.ParquetReader('./parquet_cpp_example.parquet'); 139 | ``` 140 | 141 | #### reader.close() 142 | 143 | Close the reader object. 144 | 145 | #### reader.info() 146 | 147 | Return an `Object` containing parquet file metadata. The object looks like: 148 | 149 | ```javascript 150 | { 151 | version: 0, 152 | createdBy: 'Apache parquet-cpp', 153 | rowGroups: 1, 154 | columns: 8, 155 | rows: 500 156 | } 157 | ``` 158 | 159 | #### reader.read(column_number) 160 | 161 | This is a low level function, it should not be used directly. 162 | 163 | Read and return the next element in the column indicated by `column_number`. 164 | 165 | In the case of a non-nested column, a basic value (`Boolean`, `Number`, `String` or `Buffer`) is returned, otherwise, an array of 3 elemnents is returned, where a[0] is the parquet definition level, a[1] the parquet repetition level, and a[2] the basic value. Definition and repetition levels are useful to reconstruct rows of composite, possibly sparse records with nested columns. 166 | 167 | * `column_number`: the column number in the row 168 | 169 | #### reader.rows([nb_rows]) 170 | 171 | Return an `Array` of rows, where each row is itself an `Array` of column elements. 172 | 173 | * `nb_rows`: `Number` defining the maximum number of rows to return. 174 | 175 | ### Class: parquet.ParquetWriter 176 | 177 | `ParquetWriter` object implements write operation on a parquet file. 178 | 179 | #### new parquet.ParquetWriter(filename, schema, [compression]) 180 | 181 | Construct a new parquet writer object. 182 | 183 | * `filename`: `String` containing the parquet file path 184 | * `schema`: `Object` defining the data structure, where keys are column names and values are `Objects` with the following fields: 185 | * `"type"`: required `String` indicating the type of column data, can be any of: 186 | - `"bool"`: boolean value, converted from `Boolean` 187 | - `"int32"`: 32 bits integer value, converted from `Number` 188 | - `"int64"`: 64 bits integer value, converted from `Number` 189 | - `"timestamp"`: 64 bits integer value, converted from `Date`, with parquet logical type `TIMESTAMP_MILLIS`, the number of milliseconds from the Unix epoch, 00:00:00.000 on 1 January 1970, UTC 190 | - `"float"`: 32 bits floating number value, converted from `Number` 191 | - `"double"`: 64 bits floating number value, converted from `Number` 192 | - `"byte_array"`: array of bytes, converted from a `String` or buffer 193 | - `"string"`: array of bytes, converted from a `String`, with parquet logical type `UTF8` 194 | - `"group"`: array of nested structures, described with a `"schema"` field 195 | * `"optional"`: `Boolean` indicating if the field can be omitted in a record. Default: `false`. 196 | * `"repeated"`: `Boolean` indicating if the field can be repeated in a record, thus forming an array. Ignored if not defined within a schema of type `"group"` (schema itself or one of its parent). 197 | * `"schema"`: `Object` which content is a `schema` defining the nested structure. Required for objects where type is `"group"`, ignored for others. 198 | * `compression`: optional `String` indicating the compression algorithm to apply to columns. Can be one of `"snappy"`, `"gzip"`, `"brotli"` or `"lzo"`. By default compression is disabled. 199 | 200 | For example, considering the following object: `{ name: "foo", content: [ 1, 2, 3] }`, its descriptor schema is: 201 | 202 | ```javascript 203 | const schema = { 204 | name: { type: "string" }, 205 | content: { 206 | type: "group", 207 | repeated: "true", 208 | schema: { i0: { type: "int32" } } 209 | } 210 | }; 211 | ``` 212 | 213 | #### writer.close() 214 | 215 | Close a file opened for writing. Calling this method explicitely before exiting is mandatory to ensure that memory content is correctly written in the file. 216 | 217 | #### writer.writeSync(rows) 218 | 219 | Write the content of `rows` in the file opened by the writer. Data from rows will be dispatched into the separate parquet columns according to the schema specified in the contructor. 220 | 221 | * `rows`: `Array` of rows, where each row is itself an `Array` of column elements, according to the schema. 222 | 223 | For example, considering the above nested schema, a write operation could be: 224 | 225 | ```javascript 226 | writer.write([ 227 | [ "foo", [ 1, 2, 3] ], 228 | [ "bar", [ 100, 400, 600, 2 ] ] 229 | ]); 230 | ``` 231 | 232 | ## Caveats and limitations 233 | 234 | - no schema extract at reading yet 235 | - int64 bigger than 2^53 - 1 are not represented accurately (big number library like [bignum](https://www.npmjs.com/package/bignum) integration planned) 236 | - purejs implementation not complete, although most of metadata is now correctly parsed. 237 | - read and write are only synchronous 238 | - the native library parquet-cpp does not build on MS-Windows 239 | - many tests are missing 240 | - benchmarks are missing 241 | - neat commmand line tool missing (one provided since 0.2.4) 242 | 243 | Plan is to improve this over time. Contributions are welcome. 244 | 245 | ## License 246 | 247 | [Apache-2.0](LICENSE) 248 | -------------------------------------------------------------------------------- /src/parquet_reader.cc: -------------------------------------------------------------------------------- 1 | // Copyright 2017 Luca-SAS, licensed under the Apache License 2.0 2 | 3 | #include 4 | #include 5 | 6 | #include "parquet_reader.h" 7 | 8 | using v8::Array; 9 | using v8::Boolean; 10 | using v8::Context; 11 | using v8::Exception; 12 | using v8::Function; 13 | using v8::FunctionTemplate; 14 | using v8::Isolate; 15 | using v8::Local; 16 | using v8::Number; 17 | using v8::Object; 18 | using v8::String; 19 | using v8::Value; 20 | 21 | using parquet::Type; 22 | using parquet::LogicalType; 23 | using parquet::schema::NodePtr; 24 | using parquet::schema::GroupNode; 25 | using parquet::schema::PrimitiveNode; 26 | 27 | Nan::Persistent ParquetReader::constructor; 28 | 29 | ParquetReader::ParquetReader(const Nan::FunctionCallbackInfo& info) : parquet_file_reader_(), column_readers_({}) { 30 | if (!info[0]->IsString()) { 31 | Nan::ThrowTypeError("wrong argument"); 32 | return; 33 | } 34 | String::Utf8Value param1(info[0]->ToString()); 35 | std::string from = std::string(*param1); 36 | 37 | try { 38 | parquet_file_reader_ = parquet::ParquetFileReader::OpenFile(from); 39 | std::shared_ptr row_group_reader= parquet_file_reader_->RowGroup(0); 40 | int num_columns = parquet_file_reader_->metadata()->num_columns(); 41 | for (int i = 0; i < num_columns; i++) { 42 | column_readers_.push_back(row_group_reader->Column(i)); 43 | } 44 | } catch (const std::exception& e) { 45 | Nan::ThrowError(Nan::New(e.what()).ToLocalChecked()); 46 | } 47 | } 48 | 49 | ParquetReader::~ParquetReader() {} 50 | 51 | void ParquetReader::Init(Local exports) { 52 | Nan::HandleScope scope; 53 | 54 | Local tpl = Nan::New(New); 55 | 56 | tpl->SetClassName(Nan::New("ParquetReader").ToLocalChecked()); 57 | tpl->InstanceTemplate()->SetInternalFieldCount(1); 58 | 59 | Nan::SetPrototypeMethod(tpl, "info", Info); 60 | Nan::SetPrototypeMethod(tpl, "read", Read); 61 | Nan::SetPrototypeMethod(tpl, "close", Close); 62 | 63 | constructor.Reset(tpl->GetFunction()); 64 | exports->Set(Nan::New("ParquetReader").ToLocalChecked(), tpl->GetFunction()); 65 | } 66 | 67 | void ParquetReader::New(const Nan::FunctionCallbackInfo& info) { 68 | ParquetReader* obj = new ParquetReader(info); 69 | obj->Wrap(info.This()); 70 | info.GetReturnValue().Set(info.This()); 71 | } 72 | 73 | void ParquetReader::NewInstance(const Nan::FunctionCallbackInfo& info) { 74 | const int argc = 1; 75 | Local argv[argc] = { info[0] }; 76 | Local cons = Nan::New(constructor); 77 | info.GetReturnValue().Set(Nan::NewInstance(cons, argc, argv).ToLocalChecked()); 78 | } 79 | 80 | // Walk the parquet schema tree to recursively build a javascript object 81 | static void walkSchema(const NodePtr& node, Local res) { 82 | Local obj = Nan::New(); 83 | res->Set(Nan::New(node->name().c_str()).ToLocalChecked(), obj); 84 | if (node->is_optional()) { 85 | obj->Set(Nan::New("optional").ToLocalChecked(), Nan::New(node->is_optional())); 86 | } 87 | if (node->is_group()) { 88 | const GroupNode* group = static_cast(node.get()); 89 | for (int i = 0, len = group->field_count(); i < len; i++) { 90 | walkSchema(group->field(i), obj); 91 | } 92 | return; 93 | } 94 | const PrimitiveNode* primitive = static_cast(node.get()); 95 | switch (primitive->physical_type()) { 96 | case Type::BOOLEAN: 97 | obj->Set(Nan::New("type").ToLocalChecked(), Nan::New("bool").ToLocalChecked()); 98 | break; 99 | case Type::INT32: 100 | obj->Set(Nan::New("type").ToLocalChecked(), Nan::New("int32").ToLocalChecked()); 101 | break; 102 | case Type::INT64: 103 | if (node->logical_type() == LogicalType::TIMESTAMP_MILLIS) { 104 | obj->Set(Nan::New("type").ToLocalChecked(), Nan::New("timestamp").ToLocalChecked()); 105 | } else { 106 | obj->Set(Nan::New("type").ToLocalChecked(), Nan::New("int64").ToLocalChecked()); 107 | } 108 | break; 109 | case Type::INT96: 110 | obj->Set(Nan::New("type").ToLocalChecked(), Nan::New("int96").ToLocalChecked()); 111 | break; 112 | case Type::FLOAT: 113 | obj->Set(Nan::New("type").ToLocalChecked(), Nan::New("float").ToLocalChecked()); 114 | break; 115 | case Type::DOUBLE: 116 | obj->Set(Nan::New("type").ToLocalChecked(), Nan::New("double").ToLocalChecked()); 117 | break; 118 | case Type::BYTE_ARRAY: 119 | if (node->logical_type() == LogicalType::UTF8) { 120 | obj->Set(Nan::New("type").ToLocalChecked(), Nan::New("string").ToLocalChecked()); 121 | } else { 122 | obj->Set(Nan::New("type").ToLocalChecked(), Nan::New("byte_array").ToLocalChecked()); 123 | } 124 | break; 125 | case Type::FIXED_LEN_BYTE_ARRAY: 126 | obj->Set(Nan::New("type").ToLocalChecked(), Nan::New("flba").ToLocalChecked()); 127 | break; 128 | } 129 | } 130 | 131 | void ParquetReader::Info(const Nan::FunctionCallbackInfo& info) { 132 | ParquetReader* obj = ObjectWrap::Unwrap(info.Holder()); 133 | std::shared_ptr file_metadata = obj->parquet_file_reader_->metadata(); 134 | Local res = Nan::New(); 135 | std::string s(file_metadata->created_by()); 136 | const NodePtr root = file_metadata->schema()->schema_root(); 137 | 138 | res->Set(Nan::New("version").ToLocalChecked(), Nan::New(file_metadata->version())); 139 | res->Set(Nan::New("createdBy").ToLocalChecked(), Nan::New(s.c_str()).ToLocalChecked()); 140 | res->Set(Nan::New("rowGroups").ToLocalChecked(), Nan::New(file_metadata->num_row_groups())); 141 | res->Set(Nan::New("columns").ToLocalChecked(), Nan::New(file_metadata->num_columns())); 142 | res->Set(Nan::New("rows").ToLocalChecked() , Nan::New(file_metadata->num_rows())); 143 | walkSchema(root, res); 144 | 145 | info.GetReturnValue().Set(res); 146 | } 147 | 148 | void ParquetReader::Close(const Nan::FunctionCallbackInfo& info) { 149 | ParquetReader* obj = ObjectWrap::Unwrap(info.Holder()); 150 | obj->parquet_file_reader_->Close(); 151 | } 152 | 153 | template 154 | void reader(std::shared_ptr column_reader, int16_t maxdef, int16_t maxrep, const Nan::FunctionCallbackInfo& info) { 155 | T reader = static_cast(column_reader.get()); 156 | U value; 157 | int64_t value_read; 158 | int16_t definition = maxdef; 159 | int16_t repetition = maxrep; 160 | if (!reader->HasNext()) 161 | return; 162 | reader->ReadBatch(1, &definition, &repetition, &value, &value_read); 163 | if (maxrep == 0) { 164 | if (definition == maxdef) 165 | info.GetReturnValue().Set(Nan::New(value)); 166 | return; 167 | } 168 | Local array = Nan::New(3); 169 | array->Set(Nan::New(0), Nan::New(definition)); 170 | array->Set(Nan::New(1), Nan::New(repetition)); 171 | if (definition == maxdef) 172 | array->Set(Nan::New(2), Nan::New(value)); 173 | info.GetReturnValue().Set(array); 174 | } 175 | 176 | template <> 177 | void reader(std::shared_ptr column_reader, int16_t maxdef, int16_t maxrep, const Nan::FunctionCallbackInfo& info) { 178 | parquet::Int96Reader* reader = static_cast(column_reader.get()); 179 | parquet::Int96 value; 180 | int64_t value_read; 181 | int16_t definition = maxdef; 182 | int16_t repetition = maxrep; 183 | if (!reader->HasNext()) 184 | return; 185 | reader->ReadBatch(1, &definition, &repetition, &value, &value_read); 186 | if (maxrep == 0) { 187 | if (definition == maxdef) 188 | info.GetReturnValue().Set(Nan::CopyBuffer((char*)value.value, 12).ToLocalChecked()); 189 | return; 190 | } 191 | Local array = Nan::New(3); 192 | array->Set(Nan::New(0), Nan::New(definition)); 193 | array->Set(Nan::New(1), Nan::New(repetition)); 194 | if (definition == maxdef) 195 | array->Set(Nan::New(2), Nan::CopyBuffer((char*)value.value, 12).ToLocalChecked()); 196 | info.GetReturnValue().Set(array); 197 | } 198 | 199 | template <> 200 | void reader(std::shared_ptr column_reader, int16_t maxdef, int16_t maxrep, const Nan::FunctionCallbackInfo& info) { 201 | parquet::ByteArrayReader* reader = static_cast(column_reader.get()); 202 | parquet::ByteArray value; 203 | int64_t value_read; 204 | int16_t definition = maxdef; 205 | int16_t repetition = maxrep; 206 | if (!reader->HasNext()) 207 | return; 208 | reader->ReadBatch(1, &definition, &repetition, &value, &value_read); 209 | if (maxrep == 0) { 210 | if (definition == maxdef) 211 | info.GetReturnValue().Set(Nan::New((char*)value.ptr, value.len).ToLocalChecked()); 212 | return; 213 | } 214 | Local array = Nan::New(3); 215 | array->Set(Nan::New(0), Nan::New(definition)); 216 | array->Set(Nan::New(1), Nan::New(repetition)); 217 | if (definition == maxdef) 218 | array->Set(Nan::New(2), Nan::New((char*)value.ptr, value.len).ToLocalChecked()); 219 | info.GetReturnValue().Set(array); 220 | } 221 | 222 | template <> 223 | void reader(std::shared_ptr column_reader, int16_t maxdef, int16_t maxrep, const Nan::FunctionCallbackInfo& info) { 224 | parquet::FixedLenByteArrayReader* reader = static_cast(column_reader.get()); 225 | parquet::FixedLenByteArray value; 226 | int64_t value_read; 227 | int16_t definition = maxdef; 228 | int16_t repetition = maxrep; 229 | if (!reader->HasNext()) 230 | return; 231 | reader->ReadBatch(1, &definition, &repetition, &value, &value_read); 232 | if (maxrep == 0) { 233 | if (definition == maxdef) 234 | info.GetReturnValue().Set(Nan::New((char*)value.ptr, 1).ToLocalChecked()); 235 | return; 236 | } 237 | Local array = Nan::New(3); 238 | array->Set(Nan::New(0), Nan::New(definition)); 239 | array->Set(Nan::New(1), Nan::New(repetition)); 240 | if (definition == maxdef) 241 | array->Set(Nan::New(2), Nan::New((char*)value.ptr, 1).ToLocalChecked()); 242 | info.GetReturnValue().Set(array); 243 | } 244 | 245 | typedef void (*reader_t)(std::shared_ptr, int16_t, int16_t, const Nan::FunctionCallbackInfo& info); 246 | 247 | // Table of parquet readers. Keep same order as in parquet::Type 248 | static reader_t type_readers[] = { 249 | reader, 250 | reader, 251 | reader, 252 | reader, 253 | reader, 254 | reader, 255 | reader, 256 | reader, 257 | }; 258 | 259 | // Read one column element. 260 | void ParquetReader::Read(const Nan::FunctionCallbackInfo& info) { 261 | ParquetReader* obj = ObjectWrap::Unwrap(info.Holder()); 262 | 263 | try { 264 | int col = info[0]->IntegerValue(); 265 | std::shared_ptr column_reader = obj->column_readers_[col]; 266 | const parquet::ColumnDescriptor* descr = column_reader->descr(); 267 | reader_t type_reader = type_readers[column_reader->type()]; 268 | type_reader(column_reader, descr->max_definition_level(), descr->max_repetition_level(), info); 269 | } catch (const std::exception& e) { 270 | Nan::ThrowError(Nan::New(e.what()).ToLocalChecked()); 271 | return; 272 | } 273 | } 274 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | 2 | Apache License 3 | Version 2.0, January 2004 4 | http://www.apache.org/licenses/ 5 | 6 | TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 7 | 8 | 1. Definitions. 9 | 10 | "License" shall mean the terms and conditions for use, reproduction, 11 | and distribution as defined by Sections 1 through 9 of this document. 12 | 13 | "Licensor" shall mean the copyright owner or entity authorized by 14 | the copyright owner that is granting the License. 15 | 16 | "Legal Entity" shall mean the union of the acting entity and all 17 | other entities that control, are controlled by, or are under common 18 | control with that entity. For the purposes of this definition, 19 | "control" means (i) the power, direct or indirect, to cause the 20 | direction or management of such entity, whether by contract or 21 | otherwise, or (ii) ownership of fifty percent (50%) or more of the 22 | outstanding shares, or (iii) beneficial ownership of such entity. 23 | 24 | "You" (or "Your") shall mean an individual or Legal Entity 25 | exercising permissions granted by this License. 26 | 27 | "Source" form shall mean the preferred form for making modifications, 28 | including but not limited to software source code, documentation 29 | source, and configuration files. 30 | 31 | "Object" form shall mean any form resulting from mechanical 32 | transformation or translation of a Source form, including but 33 | not limited to compiled object code, generated documentation, 34 | and conversions to other media types. 35 | 36 | "Work" shall mean the work of authorship, whether in Source or 37 | Object form, made available under the License, as indicated by a 38 | copyright notice that is included in or attached to the work 39 | (an example is provided in the Appendix below). 40 | 41 | "Derivative Works" shall mean any work, whether in Source or Object 42 | form, that is based on (or derived from) the Work and for which the 43 | editorial revisions, annotations, elaborations, or other modifications 44 | represent, as a whole, an original work of authorship. For the purposes 45 | of this License, Derivative Works shall not include works that remain 46 | separable from, or merely link (or bind by name) to the interfaces of, 47 | the Work and Derivative Works thereof. 48 | 49 | "Contribution" shall mean any work of authorship, including 50 | the original version of the Work and any modifications or additions 51 | to that Work or Derivative Works thereof, that is intentionally 52 | submitted to Licensor for inclusion in the Work by the copyright owner 53 | or by an individual or Legal Entity authorized to submit on behalf of 54 | the copyright owner. For the purposes of this definition, "submitted" 55 | means any form of electronic, verbal, or written communication sent 56 | to the Licensor or its representatives, including but not limited to 57 | communication on electronic mailing lists, source code control systems, 58 | and issue tracking systems that are managed by, or on behalf of, the 59 | Licensor for the purpose of discussing and improving the Work, but 60 | excluding communication that is conspicuously marked or otherwise 61 | designated in writing by the copyright owner as "Not a Contribution." 62 | 63 | "Contributor" shall mean Licensor and any individual or Legal Entity 64 | on behalf of whom a Contribution has been received by Licensor and 65 | subsequently incorporated within the Work. 66 | 67 | 2. Grant of Copyright License. Subject to the terms and conditions of 68 | this License, each Contributor hereby grants to You a perpetual, 69 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable 70 | copyright license to reproduce, prepare Derivative Works of, 71 | publicly display, publicly perform, sublicense, and distribute the 72 | Work and such Derivative Works in Source or Object form. 73 | 74 | 3. Grant of Patent License. Subject to the terms and conditions of 75 | this License, each Contributor hereby grants to You a perpetual, 76 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable 77 | (except as stated in this section) patent license to make, have made, 78 | use, offer to sell, sell, import, and otherwise transfer the Work, 79 | where such license applies only to those patent claims licensable 80 | by such Contributor that are necessarily infringed by their 81 | Contribution(s) alone or by combination of their Contribution(s) 82 | with the Work to which such Contribution(s) was submitted. If You 83 | institute patent litigation against any entity (including a 84 | cross-claim or counterclaim in a lawsuit) alleging that the Work 85 | or a Contribution incorporated within the Work constitutes direct 86 | or contributory patent infringement, then any patent licenses 87 | granted to You under this License for that Work shall terminate 88 | as of the date such litigation is filed. 89 | 90 | 4. Redistribution. You may reproduce and distribute copies of the 91 | Work or Derivative Works thereof in any medium, with or without 92 | modifications, and in Source or Object form, provided that You 93 | meet the following conditions: 94 | 95 | (a) You must give any other recipients of the Work or 96 | Derivative Works a copy of this License; and 97 | 98 | (b) You must cause any modified files to carry prominent notices 99 | stating that You changed the files; and 100 | 101 | (c) You must retain, in the Source form of any Derivative Works 102 | that You distribute, all copyright, patent, trademark, and 103 | attribution notices from the Source form of the Work, 104 | excluding those notices that do not pertain to any part of 105 | the Derivative Works; and 106 | 107 | (d) If the Work includes a "NOTICE" text file as part of its 108 | distribution, then any Derivative Works that You distribute must 109 | include a readable copy of the attribution notices contained 110 | within such NOTICE file, excluding those notices that do not 111 | pertain to any part of the Derivative Works, in at least one 112 | of the following places: within a NOTICE text file distributed 113 | as part of the Derivative Works; within the Source form or 114 | documentation, if provided along with the Derivative Works; or, 115 | within a display generated by the Derivative Works, if and 116 | wherever such third-party notices normally appear. The contents 117 | of the NOTICE file are for informational purposes only and 118 | do not modify the License. You may add Your own attribution 119 | notices within Derivative Works that You distribute, alongside 120 | or as an addendum to the NOTICE text from the Work, provided 121 | that such additional attribution notices cannot be construed 122 | as modifying the License. 123 | 124 | You may add Your own copyright statement to Your modifications and 125 | may provide additional or different license terms and conditions 126 | for use, reproduction, or distribution of Your modifications, or 127 | for any such Derivative Works as a whole, provided Your use, 128 | reproduction, and distribution of the Work otherwise complies with 129 | the conditions stated in this License. 130 | 131 | 5. Submission of Contributions. Unless You explicitly state otherwise, 132 | any Contribution intentionally submitted for inclusion in the Work 133 | by You to the Licensor shall be under the terms and conditions of 134 | this License, without any additional terms or conditions. 135 | Notwithstanding the above, nothing herein shall supersede or modify 136 | the terms of any separate license agreement you may have executed 137 | with Licensor regarding such Contributions. 138 | 139 | 6. Trademarks. This License does not grant permission to use the trade 140 | names, trademarks, service marks, or product names of the Licensor, 141 | except as required for reasonable and customary use in describing the 142 | origin of the Work and reproducing the content of the NOTICE file. 143 | 144 | 7. Disclaimer of Warranty. Unless required by applicable law or 145 | agreed to in writing, Licensor provides the Work (and each 146 | Contributor provides its Contributions) on an "AS IS" BASIS, 147 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or 148 | implied, including, without limitation, any warranties or conditions 149 | of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A 150 | PARTICULAR PURPOSE. You are solely responsible for determining the 151 | appropriateness of using or redistributing the Work and assume any 152 | risks associated with Your exercise of permissions under this License. 153 | 154 | 8. Limitation of Liability. In no event and under no legal theory, 155 | whether in tort (including negligence), contract, or otherwise, 156 | unless required by applicable law (such as deliberate and grossly 157 | negligent acts) or agreed to in writing, shall any Contributor be 158 | liable to You for damages, including any direct, indirect, special, 159 | incidental, or consequential damages of any character arising as a 160 | result of this License or out of the use or inability to use the 161 | Work (including but not limited to damages for loss of goodwill, 162 | work stoppage, computer failure or malfunction, or any and all 163 | other commercial damages or losses), even if such Contributor 164 | has been advised of the possibility of such damages. 165 | 166 | 9. Accepting Warranty or Additional Liability. While redistributing 167 | the Work or Derivative Works thereof, You may choose to offer, 168 | and charge a fee for, acceptance of support, warranty, indemnity, 169 | or other liability obligations and/or rights consistent with this 170 | License. However, in accepting such obligations, You may act only 171 | on Your own behalf and on Your sole responsibility, not on behalf 172 | of any other Contributor, and only if You agree to indemnify, 173 | defend, and hold each Contributor harmless for any liability 174 | incurred by, or claims asserted against, such Contributor by reason 175 | of your accepting any such warranty or additional liability. 176 | 177 | END OF TERMS AND CONDITIONS 178 | 179 | APPENDIX: How to apply the Apache License to your work. 180 | 181 | To apply the Apache License to your work, attach the following 182 | boilerplate notice, with the fields enclosed by brackets "[]" 183 | replaced with your own identifying information. (Don't include 184 | the brackets!) The text should be enclosed in the appropriate 185 | comment syntax for the file format. We also recommend that a 186 | file or class name and description of purpose be included on the 187 | same "printed page" as the copyright notice for easier 188 | identification within third-party archives. 189 | 190 | Copyright [yyyy] [name of copyright owner] 191 | 192 | Licensed under the Apache License, Version 2.0 (the "License"); 193 | you may not use this file except in compliance with the License. 194 | You may obtain a copy of the License at 195 | 196 | http://www.apache.org/licenses/LICENSE-2.0 197 | 198 | Unless required by applicable law or agreed to in writing, software 199 | distributed under the License is distributed on an "AS IS" BASIS, 200 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 201 | See the License for the specific language governing permissions and 202 | limitations under the License. 203 | -------------------------------------------------------------------------------- /src/parquet_writer.cc: -------------------------------------------------------------------------------- 1 | // Copyright 2017 Luca-SAS, licensed under the Apache License 2.0 2 | 3 | #include 4 | #include 5 | 6 | #include 7 | 8 | #include "parquet_writer.h" 9 | 10 | using parquet::Compression; 11 | using parquet::LogicalType; 12 | using parquet::Repetition; 13 | using parquet::Type; 14 | using parquet::schema::PrimitiveNode; 15 | using parquet::schema::GroupNode; 16 | using parquet::schema::NodePtr; 17 | using parquet::schema::Node; 18 | using parquet::WriterProperties; 19 | 20 | using v8::Array; 21 | using v8::Function; 22 | using v8::FunctionTemplate; 23 | using v8::Local; 24 | using v8::Int32; 25 | using v8::Number; 26 | using v8::Object; 27 | using v8::String; 28 | using v8::Value; 29 | 30 | static NodePtr SetupSchema(std::string root_name, Repetition::type root_repetition, Local obj) { 31 | parquet::schema::NodeVector fields; 32 | Local properties = obj->GetOwnPropertyNames(); 33 | int len = properties->Length(); 34 | 35 | for (int i = 0; i < len; i++) { 36 | Local key = properties->Get(i); 37 | Local value = Local::Cast(obj->Get(key)); 38 | String::Utf8Value key_utf8(key->ToString()); 39 | Local type = value->Get(Nan::New("type").ToLocalChecked()); 40 | Local optional = value->Get(Nan::New("optional").ToLocalChecked()); 41 | Local repeat = value->Get(Nan::New("repeat").ToLocalChecked()); 42 | Local schema; 43 | String::Utf8Value type_utf8(type->ToString()); 44 | std::string type_str = std::string(*type_utf8); 45 | std::string key_str = std::string(*key_utf8); 46 | Type::type parquet_type = Type::BOOLEAN; 47 | LogicalType::type logical_type = LogicalType::NONE; 48 | Repetition::type repetition; 49 | Node::type node_type = Node::PRIMITIVE; 50 | 51 | if (optional->BooleanValue()) { 52 | repetition = Repetition::OPTIONAL; 53 | } else { 54 | if (repeat->BooleanValue()) { 55 | repetition = Repetition::REPEATED; 56 | } else { 57 | repetition = Repetition::REQUIRED; 58 | } 59 | } 60 | 61 | if (type_str.compare("bool") == 0) { 62 | parquet_type = Type::BOOLEAN; 63 | } else if (type_str.compare("int32") == 0) { 64 | parquet_type = Type::INT32; 65 | } else if (type_str.compare("int64") == 0) { 66 | parquet_type = Type::INT64; 67 | } else if (type_str.compare("timestamp") == 0) { 68 | parquet_type = Type::INT64; 69 | logical_type = LogicalType::TIMESTAMP_MILLIS; 70 | } else if (type_str.compare("int96") == 0) { 71 | parquet_type = Type::INT96; 72 | } else if (type_str.compare("float") == 0) { 73 | parquet_type = Type::FLOAT; 74 | } else if (type_str.compare("double") == 0) { 75 | parquet_type = Type::DOUBLE; 76 | } else if (type_str.compare("string") == 0) { 77 | parquet_type = Type::BYTE_ARRAY; 78 | logical_type = LogicalType::UTF8; 79 | } else if (type_str.compare("byte_array") == 0) { 80 | parquet_type = Type::BYTE_ARRAY; 81 | } else if (type_str.compare("fixed_len_byte_array") == 0) { 82 | parquet_type = Type::FIXED_LEN_BYTE_ARRAY; 83 | } else if (type_str.compare("group") == 0) { 84 | node_type = Node::GROUP; 85 | } else if (type_str.compare("list") == 0) { 86 | node_type = Node::GROUP; 87 | logical_type = LogicalType::LIST; 88 | } 89 | if (node_type == Node::GROUP) { 90 | schema = Local::Cast(value->Get(Nan::New("schema").ToLocalChecked())); 91 | fields.push_back(SetupSchema(key_str, repetition, schema)); 92 | } else { 93 | fields.push_back(PrimitiveNode::Make(key_str, repetition, parquet_type, logical_type)); 94 | } 95 | } 96 | 97 | return GroupNode::Make(root_name, root_repetition, fields); 98 | } 99 | 100 | Nan::Persistent ParquetWriter::constructor; 101 | 102 | ParquetWriter::ParquetWriter(const Nan::FunctionCallbackInfo& info) : pw_(nullptr), fw_(nullptr), ncols_(0) { 103 | // Arguments sanity checks 104 | if (info.Length() < 2) { 105 | Nan::ThrowTypeError("Wrong number of arguments"); 106 | return; 107 | } 108 | if (!info[1]->IsObject()) { 109 | Nan::ThrowTypeError("second argument is not an object"); 110 | return; 111 | } 112 | String::Utf8Value param1(info[0]->ToString()); 113 | String::Utf8Value param3(info[2]->ToString()); 114 | Local param2 = Local::Cast(info[1]); 115 | std::shared_ptr schema = std::static_pointer_cast(SetupSchema("schema", Repetition::REQUIRED, param2)); 116 | arrow::Status status = arrow::io::FileOutputStream::Open(std::string(*param1), &fw_); 117 | ncols_ = param2->GetOwnPropertyNames()->Length(); 118 | Compression::type compression; 119 | std::string comp_str(*param3); 120 | if (comp_str.compare("snappy") == 0) { 121 | compression = Compression::SNAPPY; 122 | } else if (comp_str.compare("gzip") == 0) { 123 | compression = Compression::GZIP; 124 | } else if (comp_str.compare("lzo") == 0) { 125 | compression = Compression::LZO; 126 | } else if (comp_str.compare("brotli") == 0) { 127 | compression = Compression::BROTLI; 128 | } else if (comp_str.compare("undefined") == 0) { 129 | compression = Compression::UNCOMPRESSED; 130 | } else { 131 | Nan::ThrowTypeError("Wrong compression type"); 132 | return; 133 | } 134 | std::shared_ptr writer_properties = WriterProperties::Builder().compression(compression)->build(); 135 | 136 | if (!status.ok()) { 137 | std::stringstream ss; 138 | ss << "Parquet/Arrow error: " << status.ToString(); 139 | Nan::ThrowError(Nan::New(ss.str()).ToLocalChecked()); 140 | return; 141 | } 142 | try { 143 | pw_ = parquet::ParquetFileWriter::Open(fw_, schema, writer_properties); 144 | } catch (const std::exception& e) { 145 | Nan::ThrowError(Nan::New(e.what()).ToLocalChecked()); 146 | } 147 | } 148 | 149 | ParquetWriter::~ParquetWriter() {} 150 | 151 | void ParquetWriter::Init(Local exports) { 152 | Nan::HandleScope scope; 153 | 154 | Local tpl = Nan::New(New); 155 | 156 | tpl->SetClassName(Nan::New("ParquetWriter").ToLocalChecked()); 157 | tpl->InstanceTemplate()->SetInternalFieldCount(1); 158 | 159 | Nan::SetPrototypeMethod(tpl, "write", Write); 160 | Nan::SetPrototypeMethod(tpl, "close", Close); 161 | 162 | constructor.Reset(tpl->GetFunction()); 163 | exports->Set(Nan::New("ParquetWriter").ToLocalChecked(), tpl->GetFunction()); 164 | } 165 | 166 | void ParquetWriter::New(const Nan::FunctionCallbackInfo& info) { 167 | ParquetWriter* obj = new ParquetWriter(info); 168 | obj->Wrap(info.This()); 169 | info.GetReturnValue().Set(info.This()); 170 | } 171 | 172 | void ParquetWriter::NewInstance(const Nan::FunctionCallbackInfo& info) { 173 | const unsigned argc = 2; 174 | Local argv[argc] = { info[0], info[1] }; 175 | Local cons = Nan::New(constructor); 176 | info.GetReturnValue().Set(Nan::NewInstance(cons, argc, argv).ToLocalChecked()); 177 | } 178 | 179 | void ParquetWriter::Close(const Nan::FunctionCallbackInfo& info) { 180 | ParquetWriter* obj = ObjectWrap::Unwrap(info.Holder()); 181 | try { 182 | obj->pw_->Close(); 183 | arrow::Status status = obj->fw_->Close(); 184 | } catch (const std::exception& e) { 185 | Nan::ThrowError(Nan::New(e.what()).ToLocalChecked()); 186 | } 187 | } 188 | 189 | static void write_bool(parquet::ColumnWriter* column_writer, Local val, int16_t* def, int16_t* rep, bool is_required) { 190 | parquet::BoolWriter* writer = static_cast(column_writer); 191 | bool input_value; 192 | bool* value = &input_value; 193 | int16_t zerodef = 0; 194 | int16_t* cdef = def; 195 | 196 | if (val->IsUndefined()) { 197 | cdef = &zerodef; 198 | value = nullptr; 199 | } else { 200 | input_value = val->BooleanValue(); 201 | } 202 | writer->WriteBatch(1, cdef, rep, value); 203 | } 204 | 205 | static void write_int32(parquet::ColumnWriter* column_writer, Local val, int16_t* def, int16_t* rep, bool is_required) { 206 | parquet::Int32Writer* writer = static_cast(column_writer); 207 | int32_t input_value; 208 | int32_t* value = &input_value; 209 | int16_t zerodef = 0; 210 | int16_t* cdef = def; 211 | 212 | if (val->IsUndefined()) { 213 | cdef = &zerodef; 214 | value = nullptr; 215 | } else { 216 | input_value = val->Int32Value(); 217 | } 218 | writer->WriteBatch(1, cdef, rep, value); 219 | } 220 | 221 | static void write_int64(parquet::ColumnWriter* column_writer, Local val, int16_t* def, int16_t* rep, bool is_required) { 222 | parquet::Int64Writer* writer = static_cast(column_writer); 223 | int64_t input_value; 224 | int64_t* value = &input_value; 225 | int16_t zerodef = 0; 226 | int16_t* cdef = def; 227 | 228 | if (val->IsUndefined()) { 229 | cdef = &zerodef; 230 | value = nullptr; 231 | } else { 232 | input_value = val->IntegerValue(); 233 | } 234 | writer->WriteBatch(1, cdef, rep, value); 235 | } 236 | 237 | static void write_int96(parquet::ColumnWriter* column_writer, Local val, int16_t* def, int16_t* rep, bool is_required) { 238 | parquet::Int96Writer* writer = static_cast(column_writer); 239 | parquet::Int96 input_value; 240 | parquet::Int96* value = &input_value; 241 | int16_t zerodef = 0; 242 | int16_t* cdef = def; 243 | 244 | if (val->IsUndefined()) { 245 | cdef = &zerodef; 246 | value = nullptr; 247 | } else { 248 | Local obj_value = Local::Cast(val); 249 | uint32_t* buf = (uint32_t*) node::Buffer::Data(obj_value); 250 | input_value.value[0] = buf[0]; 251 | input_value.value[1] = buf[1]; 252 | input_value.value[2] = buf[2]; 253 | } 254 | writer->WriteBatch(1, cdef, rep, value); 255 | } 256 | 257 | static void write_float(parquet::ColumnWriter* column_writer, Local val, int16_t* def, int16_t* rep, bool is_required) { 258 | parquet::FloatWriter* writer = static_cast(column_writer); 259 | float input_value; 260 | float* value = &input_value; 261 | int16_t zerodef = 0; 262 | int16_t* cdef = def; 263 | 264 | if (val->IsUndefined()) { 265 | cdef = &zerodef; 266 | value = nullptr; 267 | } else { 268 | input_value = val->NumberValue(); 269 | } 270 | writer->WriteBatch(1, cdef, rep, value); 271 | } 272 | 273 | static void write_double(parquet::ColumnWriter* column_writer, Local val, int16_t* def, int16_t* rep, bool is_required) { 274 | parquet::DoubleWriter* writer = static_cast(column_writer); 275 | double input_value; 276 | double* value = &input_value; 277 | int16_t zerodef = 0; 278 | int16_t* cdef = def; 279 | 280 | if (val->IsUndefined()) { 281 | cdef = &zerodef; 282 | value = nullptr; 283 | } else { 284 | input_value = val->NumberValue(); 285 | } 286 | writer->WriteBatch(1, cdef, rep, value); 287 | } 288 | 289 | static void write_byte_array(parquet::ColumnWriter* column_writer, Local val, int16_t* def, int16_t* rep, bool is_required) { 290 | parquet::ByteArrayWriter* writer = static_cast(column_writer); 291 | parquet::ByteArray input_value; 292 | parquet::ByteArray* value = &input_value; 293 | int16_t zerodef = 0; 294 | int16_t* cdef = def; 295 | 296 | if (val->IsString()) { 297 | String::Utf8Value val_utf8(val->ToString()); 298 | std::string str = std::string(*val_utf8); 299 | Local buf = Nan::CopyBuffer(str.data(), str.length()).ToLocalChecked(); 300 | input_value.ptr = reinterpret_cast(node::Buffer::Data(buf)); 301 | input_value.len = node::Buffer::Length(buf); 302 | } else if (node::Buffer::HasInstance(val)) { 303 | Local obj_value(val->ToObject()); 304 | input_value.ptr = reinterpret_cast(node::Buffer::Data(obj_value)); 305 | input_value.len = node::Buffer::Length(obj_value); 306 | } else if (val->IsUndefined()) { 307 | if (is_required) 308 | return Nan::ThrowTypeError(Nan::New("a byte array value is required").ToLocalChecked()); 309 | cdef = &zerodef; 310 | value = nullptr; 311 | } else { 312 | Nan::ThrowTypeError(Nan::New("Parameter is not a byte array").ToLocalChecked()); 313 | } 314 | 315 | writer->WriteBatch(1, cdef, rep, value); 316 | } 317 | 318 | static void write_flba(parquet::ColumnWriter* column_writer, Local val, int16_t* def, int16_t* rep, bool is_required) { 319 | parquet::FixedLenByteArrayWriter* writer = static_cast(column_writer); 320 | parquet::FixedLenByteArray input_value; 321 | parquet::FixedLenByteArray* value = &input_value; 322 | int16_t zerodef = 0; 323 | int16_t* cdef = def; 324 | 325 | if (val->IsUndefined()) { 326 | cdef = &zerodef; 327 | value = nullptr; 328 | } else { 329 | Local obj_value = Local::Cast(val); 330 | input_value.ptr = reinterpret_cast(node::Buffer::Data(obj_value)); 331 | } 332 | writer->WriteBatch(1, cdef, rep, value); 333 | } 334 | 335 | typedef void (*writer_t)(parquet::ColumnWriter*, Local, int16_t*, int16_t*, bool); 336 | 337 | // Table of writer functions, keep same ordering as parquet::Type 338 | static writer_t type_writers[] = { 339 | write_bool, 340 | write_int32, 341 | write_int64, 342 | write_int96, 343 | write_float, 344 | write_double, 345 | write_byte_array, 346 | write_flba 347 | }; 348 | 349 | void ParquetWriter::Write(const Nan::FunctionCallbackInfo& info) { 350 | ParquetWriter* obj = ObjectWrap::Unwrap(info.Holder()); 351 | 352 | if (!info[0]->IsArray()) { 353 | Nan::ThrowTypeError(Nan::New("Parameter is not an array").ToLocalChecked()); 354 | return; 355 | } 356 | Local input = Local::Cast(info[0]); 357 | int num_rows = input->Length(); 358 | try { 359 | parquet::RowGroupWriter* rgw = obj->pw_->AppendRowGroup(num_rows); 360 | 361 | for (int i = 0; i < obj->ncols_; i++) { 362 | parquet::ColumnWriter *column_writer = rgw->NextColumn(); 363 | const parquet::ColumnDescriptor *descr = column_writer->descr(); 364 | int16_t maxdef = descr->max_definition_level(); 365 | int16_t maxrep = descr->max_repetition_level(); 366 | int16_t zerorep = 0; 367 | bool is_required = descr->schema_node()->is_required(); 368 | Local row; 369 | Local val; 370 | writer_t type_writer = type_writers[column_writer->type()]; 371 | 372 | for (int j = 0; j < num_rows; j++) { 373 | row = Local::Cast(input->Get(j)); 374 | val = row->Get(i); 375 | if (val->IsArray()) { 376 | Local array = Local::Cast(val); 377 | int len = array->Length(); 378 | type_writer(column_writer, array->Get(0), &maxdef, &zerorep, is_required); 379 | for (int k = 1; k < len; k++) { 380 | type_writer(column_writer, array->Get(k), &maxdef, &maxrep, is_required); 381 | } 382 | } else { 383 | type_writer(column_writer, val, &maxdef, nullptr, is_required); 384 | } 385 | } 386 | } 387 | } catch (const std::exception& e) { 388 | return Nan::ThrowError(Nan::New(e.what()).ToLocalChecked()); 389 | } 390 | info.GetReturnValue().Set(Nan::New(num_rows)); 391 | } 392 | -------------------------------------------------------------------------------- /lib/parquet.js: -------------------------------------------------------------------------------- 1 | // Copyright 2017 Luca-SAS, licensed under the Apache License 2.0 2 | 3 | // Pure javascript module to handle parquet format. 4 | // from specifications at https://parquet.apache.org/documentation/latest/ 5 | 6 | 'use strict'; 7 | 8 | var fs = require('fs'); 9 | var util = require('util'); 10 | var varint = require('varint'); 11 | var hexdump = require('hexdump-nodejs'); 12 | 13 | module.exports = { 14 | Reader: Reader 15 | }; 16 | 17 | // Thrift Compact Protocol Types 18 | var Type = { 19 | stop: 0, 20 | true: 1, 21 | false: 2, 22 | byte: 3, 23 | int16: 4, 24 | int32: 5, 25 | int64: 6, 26 | double: 7, 27 | binary: 8, 28 | list: 9, 29 | set: 10, 30 | map: 11, 31 | struct: 12, 32 | extended: 15 33 | }; 34 | 35 | var TypeString = { 36 | 0: 'stop', 37 | 1: 'true', 38 | 2: 'false', 39 | 3: 'byte', 40 | 4: 'int16', 41 | 5: 'int32', 42 | 6: 'int64', 43 | 7: 'double', 44 | 8: 'binary', 45 | 9: 'list', 46 | 10: 'set', 47 | 11: 'map', 48 | 12: 'struct', 49 | 15: 'extended' 50 | }; 51 | 52 | function Reader(path) { 53 | if (!(this instanceof Reader)) return new Reader(path); 54 | this._path = path; 55 | this._fd = fs.openSync(path, 'r'); 56 | this.metadata = parseMetadata(this._fd); 57 | } 58 | 59 | // zigzag to integer number 60 | function zz2num(n) { 61 | return (n >>> 1) ^ (-1 * (n & 1)); 62 | } 63 | 64 | // left side of first byte 65 | function lsb1(n) { 66 | return (n >>> 4) & 0xf; 67 | } 68 | 69 | // Thrift compact protocol parser 70 | var readType = { 71 | 0: function readStop(buf, offset) { 72 | return {stop: true, len: 0}; 73 | }, 74 | 1: function readTrue(buf, offset) { 75 | return {type: 'bool', data: true, len: 0}; 76 | }, 77 | 2: function readFalse(buf, offset) { 78 | return {type: 'bool', data: false, len: 0}; 79 | }, 80 | 3: function readByte(buf, offset) { 81 | return {type: 'byte', data: buf[offset + 1], len: 1}; 82 | }, 83 | 4: function readInt16(buf, offset) { 84 | return {type: 'int16', data: zz2num(varint.decode(buf, offset)), len: varint.decode.bytes}; 85 | }, 86 | 5: function readInt32(buf, offset) { 87 | return {type: 'int32', data: zz2num(varint.decode(buf, offset)), len: varint.decode.bytes}; 88 | }, 89 | 6: function readInt64(buf, offset) { 90 | return {type: 'int64', data: zz2num(varint.decode(buf, offset)), len: varint.decode.bytes}; 91 | }, 92 | 8: function readBinary(buf, offset) { 93 | var len = varint.decode(buf, offset); 94 | var start = offset + varint.decode.bytes; 95 | return {type: 'binary', data: buf.slice(start, start + len).toString(), len: varint.decode.bytes + len}; 96 | }, 97 | 9: function readList(buf, offset) { 98 | var n = lsb1(buf[offset]); 99 | var len = 1; 100 | if (n === 15) { 101 | n = varint.decode(buf, offset + len); 102 | len += varint.decode.bytes; 103 | } 104 | var type = buf[offset] & 0xf; 105 | var res = {}; 106 | for (var i = 0; i < n; i++) { 107 | res[i] = readType[type](buf, offset + len); 108 | len += res[i].len; 109 | } 110 | return {type: [TypeString[type]], num: n, data: res, len: len} 111 | }, 112 | 12: function readStruct(buf, offset) { 113 | return readObj(buf, offset, 'struct'); 114 | } 115 | }; 116 | 117 | function readObj(buf, offset, rtype) { 118 | var res = {}, cur, type, len = 0, i = 0; 119 | do { 120 | type = buf[offset + len] & 0xf; 121 | len++; 122 | cur = readType[type](buf, offset + len); 123 | if (!cur.stop) res[i++] = cur; 124 | len += cur.len; 125 | } while (!cur.stop && (offset + len) < buf.length); 126 | return {type: rtype, data: res, len: len}; 127 | } 128 | 129 | var parquetTypes = ['BOOLEAN', 'INT32', 'INT64', 'INT96', 'FLOAT', 'DOUBLE', 'BYTE_ARRAY', 'FIXED_LEN_BYTE_ARRAY']; 130 | var convertedTypes = ['UTF8', 'MAP', 'MAP_KEY_VALUE', 'LIST', 'ENUM', 'DECIMAL', 'DATE', 'TIME_MILLIS', 'TIME_MICROS', 'TIMESTAMP_MILLIS', 'TIMESTAMP_MICROS', 'UINT_8', 'UINT_16', 'UINT_32', 'UINT_64', 'INT_8', 'INT_16', 'INT_32', 'INT_64', 'JSON', 'BSON', 'INTERVAL']; 131 | var parquetEncodings = ['PLAIN', 'GROUP_VAR_INT', 'PLAIN_DICTIONARY', 'RLE', 'BIT_PACKED', 'DELTA_BINARY_PACKED', 'DELTA_LENGTH_BYTE_ARRAY', 'DELTA_BYTE_ARRAY', 'RLE_DICTIONARY']; 132 | 133 | // schema of parquet metadata descriptor 134 | var parquetSchema = { 135 | version: {type: 'int32'}, 136 | schema: { 137 | type: ['struct'], schema: { 138 | // Data type for this field. Not set if the current element is a non-leaf node (i.e the 1st) 139 | type: {type: 'int32', optional: true, values: parquetTypes, check: function (context) { 140 | if (context.path[0] === 'schema' && context.path[1] === 0 && !context.body.schema[0]) return false; 141 | return true; 142 | }}, 143 | // if type is FIXED_LEN_BYTE_ARRAY, this is the byte length of the values, 144 | // otherwise, if specified, this is the maximum bit length to store any of the values. 145 | typeLength: {type: 'int32', optional: true, check: function (context) { 146 | var cur = context.body[context.path[0]][context.path[1]]; 147 | return (cur && cur.type === 'FIXED_LEN_BYTE_ARRAY'); 148 | }}, 149 | fieldRepetitionType: {type: 'int32', optional: true, values: ['REQUIRED', 'OPTIONAL', 'REPEATED']}, 150 | name: {type: 'binary'}, 151 | numChildren: {type: 'int32', optional: true, check: function (context) { 152 | if (!context.body.schema[0]) return true; 153 | var cur = context.body[context.path[0]][context.path[1]]; 154 | return (cur && (cur.type === 'INT64' || cur.type === 'INT32')); 155 | }}, 156 | convertedType: {type: 'int32', optional: true, values: convertedTypes}, 157 | // Used only for DECIMAL converted type 158 | scale: {type: 'int32', optional: true, check: function (context) { 159 | var cur = context.body[context.path[0]][context.path[1]]; 160 | return (cur && cur.convertedType === 'DECIMAL'); 161 | }}, 162 | // Used only for DECIMAL converted type 163 | precision: {type: 'int32', optional: true, check: function (context) { 164 | var cur = context.body[context.path[0]][context.path[1]]; 165 | return (cur && cur.convertedType === 'DECIMAL'); 166 | }}, 167 | fieldId: {type: 'int32', optional: true}, 168 | } 169 | }, 170 | numRows: {type: 'int64'}, 171 | rowGroups: { 172 | type: ['struct'], schema: { 173 | columns: { 174 | type: ['struct'], schema: { 175 | filePath: {type: 'binary', optional: true}, 176 | fileOffset: {type: 'int64'}, 177 | metadata: { 178 | type: 'struct', optional: true, schema: { 179 | type: {type: 'int32', values: parquetTypes}, 180 | encodings: {type: ['int32'], values: parquetEncodings}, 181 | schemaPath: {type: ['binary']}, 182 | compressionCodec: {type: 'int32', values: ['UNCOMPRESSED', 'SNAPPY', 'GZIP', 'LZO', 'BROTLI']}, 183 | numValues: {type: 'int64'}, 184 | uncompressedSize: {type: 'int64'}, 185 | compressedSize: {type: 'int64'}, 186 | keyValueMetadata: {type: 'struct', optional: true, schema: { 187 | key: {type: 'binary'}, 188 | value: {type: 'binary', optional: true} 189 | } 190 | }, 191 | dataPageOffset: {type: 'int64'}, 192 | indexPageOffset: {type: 'int64', optional: true}, 193 | dictionaryPageOffset: {type: 'int64', optional: true}, 194 | statistics: {type: 'struct', optional: true, schema: { 195 | max: {type: 'binary', optional: true}, 196 | min: {type: 'binary', optional: true}, 197 | nullCount: {type: 'int64', optional: true}, 198 | distinctCount: {type: 'int64', optional: true} 199 | } 200 | }, 201 | encodingStats: {type: ['struct'], optional: true, schema: { 202 | pageType: {type: 'int32', values: ['DATA_PAGE', 'INDEX_PAGE', 'DICTIONARY_PAGE', 'DATA_PAGE_V2']}, 203 | encoding: {type: 'int32', values: parquetEncodings}, 204 | count: {type: 'int32'} 205 | } 206 | } 207 | } 208 | } 209 | } 210 | }, 211 | totalByteSize: {type: 'int64'}, 212 | numRows: {type: 'int64'}, 213 | sortingColumns: { type: ['struct'], optional: true} 214 | }, 215 | }, 216 | createdBy: {type: 'binary', optional: true} 217 | }; 218 | 219 | var statisticSchema = { 220 | max: {type: 'binary', optional: true}, 221 | min: {type: 'binary', optional: true}, 222 | nullCount: {type: 'int64', optional: true}, 223 | distinctCount: {type: 'int64', optional: true} 224 | }; 225 | 226 | var pageHeaderSchema = { 227 | type: {type: 'int32', values: ['DATA_PAGE', 'INDEX_PAGE', 'DICTIONARY_PAGE', 'DATA_PAGE_V2']}, 228 | uncompressedSize: {type: 'int32'}, 229 | compressedSize: {type: 'int32'}, 230 | crc: {type: 'int32', optional: true}, 231 | // The rest of the header is determined by the above type 232 | dataPageHeader: { 233 | type: 'struct', optional: true, schema: { 234 | numValues: {type: 'int32'}, 235 | encoding: {type: 'int32', values: parquetEncodings}, 236 | definitionLevelEncoding: {type: 'int32', values: parquetEncodings}, 237 | repetitionLevelEncoding: {type: 'int32', values: parquetEncodings}, 238 | statistics: {type: 'struct', optional: true, schema: statisticSchema} 239 | }, check: function (context) { 240 | return context.body.type === 'DATA_PAGE'; 241 | } 242 | }, 243 | indexPageHeader: { 244 | type: 'struct', optional: true, schema: { // FIXME: to be completed 245 | numValues: {type: 'int32'}, 246 | }, check: function (context) { 247 | return context.body.type === 'INDEX_PAGE'; 248 | } 249 | }, 250 | dictionaryPageHeader: { 251 | type: 'struct', optional: true, schema: { // FIXME: to be completed 252 | numValues: {type: 'int32'}, 253 | encoding: {type: 'int32', values: parquetEncodings}, 254 | }, check: function (context) { 255 | return context.body.type === 'DICTIONARY_PAGE'; 256 | } 257 | }, 258 | dataPageV2Header: { 259 | type: 'struct', optional: true, schema: { // FIXME: to be completed 260 | numValues: {type: 'int32'}, 261 | }, check: function (context) { 262 | return context.body.type === 'DATA_PAGE_V2'; 263 | } 264 | }, 265 | } 266 | 267 | function typeEqual(t1, t2) { 268 | return Array.isArray(t1) ? (t1[0] === t2[0]) : (t1 === t2); 269 | } 270 | 271 | function decode(fullSchema, input, context) { 272 | var out = {}, i, j, name, obj, schema; 273 | var schemaIndex = 0; 274 | var names = Object.keys(fullSchema); 275 | var ikeys = Object.keys(input.data); 276 | var pathIndex; 277 | 278 | if (!context) context = {body: out, path: []}; 279 | 280 | for (i = 0; i < ikeys.length; i++) { 281 | obj = input.data[ikeys[i]]; 282 | while (schemaIndex < names.length) { 283 | name = names[schemaIndex++]; 284 | schema = fullSchema[name]; 285 | if (!typeEqual(obj.type, schema.type)) { 286 | if (schema.optional) continue; 287 | else console.log("##### ERROR SCHEMA"); 288 | } else if (schema.check) { 289 | if (!schema.check(context)) continue; 290 | } 291 | break; 292 | } 293 | context.path.push(name); 294 | 295 | if (Array.isArray(obj.type)) { 296 | out[name] = new Array(obj.num); 297 | pathIndex = context.path.push(0) - 1; 298 | for (j = 0; j < obj.num; j++) { 299 | if (obj.type[0] === 'struct') { 300 | out[name][j] = decode(schema.schema, obj.data[j], context); 301 | } else { 302 | if (schema.values) 303 | out[name][j] = schema.values[obj.data[j].data]; 304 | else 305 | out[name][j] = obj.data[j].data; 306 | } 307 | context.path[pathIndex] = j; 308 | } 309 | context.path.pop(); 310 | } else if (obj.type === 'struct') { 311 | out[name] = decode(schema.schema, obj, context); 312 | } else { 313 | if (schema.values) 314 | out[name] = schema.values[obj.data]; 315 | else 316 | out[name] = obj.data; 317 | } 318 | context.path.pop(); 319 | } 320 | return out; 321 | } 322 | 323 | function parseMetadata(fd) { 324 | var stat = fs.fstatSync(fd); 325 | //console.log('stat', stat); 326 | var footer = Buffer.alloc(8); 327 | var n = fs.readSync(fd, footer, 0, 8, stat.size - 8); 328 | var mlen; 329 | var mbuf; 330 | 331 | //console.log('n:', n); 332 | //console.log('footer:', footer); 333 | mlen = footer.readInt32LE(0); 334 | //console.log('footer len:', mlen); 335 | mbuf = Buffer.alloc(mlen); 336 | 337 | n = fs.readSync(fd, mbuf, 0, mlen, stat.size - mlen - 8); 338 | //console.log('n:', n); 339 | //console.log(hexdump(mbuf)); 340 | //var offset = 0; 341 | //var tmp; 342 | 343 | //var res = readObj(mbuf, 0); 344 | //console.log('res', JSON.stringify(res, null, 2)); 345 | 346 | //var meta = decode(parquetSchema, res); 347 | //console.log('meta', meta); 348 | //console.log('meta', JSON.stringify(meta, null, 2)); 349 | return decode(parquetSchema, readObj(mbuf, 0)); 350 | } 351 | 352 | Reader.prototype.readCol = function (col, skip, rows) { 353 | var meta = this.metadata.rowGroups[0].columns[col]; 354 | console.log('col metadata:', meta); 355 | var stat = fs.statSync(this._path); 356 | var fileSize = stat.size; 357 | var debugBuf = Buffer.alloc(fileSize); 358 | var n = fs.readSync(this._fd, debugBuf, 0, debugBuf.length, 0); 359 | console.log(hexdump(debugBuf)); 360 | //var pageDataBuf = 361 | var len = meta.metadata.uncompressedSize; 362 | var start = meta.fileOffset - len; 363 | var buf = Buffer.alloc(len); 364 | n = fs.readSync(this._fd, buf, 0, len, start); 365 | console.log(hexdump(buf)); 366 | console.log('obj:', readObj(buf, 0)); 367 | var indexPageHeader = decode(pageHeaderSchema, readObj(buf, 0)); 368 | console.log('indexPageHeader:', indexPageHeader); 369 | // todo: decode page values: if dictionary page preceding data page, 370 | // start at datapage offset - value length (in the page). 371 | // otherwise: buffer end - value length 372 | var vstart = meta.metadata.dataPageOffset - start - indexPageHeader.uncompressedSize; 373 | var values = []; 374 | switch (meta.metadata.type) { 375 | case 'INT32': 376 | for (var i = 0; i < meta.metadata.numValues; i++) { 377 | values[i] = buf.readInt32LE(vstart + i * 4); 378 | } 379 | break; 380 | } 381 | console.log('dict values:', values); 382 | var dataPageHeader = decode(pageHeaderSchema, readObj(buf, meta.metadata.dataPageOffset - start)); 383 | console.log('dataPageHeader:', dataPageHeader); 384 | var bitWidth = Math.ceil(Math.log2(dataPageHeader.numValues)); 385 | var dlen = dataPageHeader.uncompressedSize - 1; 386 | rleDecode(buf, len - dlen, dlen, bitWidth); 387 | } 388 | 389 | // Hybrid RLE / Bit Packed decoder 390 | function rleDecode(buf, offset, datalen, bitWidth) { 391 | var header = varint.decode(buf, offset); 392 | var count = header >>> 1; 393 | 394 | datalen -= varint.decode.bytes; 395 | if (header & 1) { // Bit packed 396 | console.log('read ' + (count * 8) + ' bit packed values'); 397 | } else { // RLE 398 | console.log('read ' + count + ' RLE values'); 399 | console.log('remain ' + datalen + ' bytes'); 400 | } 401 | } 402 | -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- 1 | # THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. 2 | # yarn lockfile v1 3 | ajv@^5.1.0: 4 | version "5.5.2" 5 | resolved "https://registry.yarnpkg.com/ajv/-/ajv-5.5.2.tgz#73b5eeca3fab653e3d3f9422b341ad42205dc965" 6 | dependencies: 7 | co "^4.6.0" 8 | fast-deep-equal "^1.0.0" 9 | fast-json-stable-stringify "^2.0.0" 10 | json-schema-traverse "^0.3.0" 11 | 12 | align-text@^0.1.1, align-text@^0.1.3: 13 | version "0.1.4" 14 | resolved "https://registry.yarnpkg.com/align-text/-/align-text-0.1.4.tgz#0cd90a561093f35d0a99256c22b7069433fad117" 15 | dependencies: 16 | kind-of "^3.0.2" 17 | longest "^1.0.1" 18 | repeat-string "^1.5.2" 19 | 20 | amdefine@>=0.0.4: 21 | version "1.0.1" 22 | resolved "https://registry.yarnpkg.com/amdefine/-/amdefine-1.0.1.tgz#4a5282ac164729e93619bcfd3ad151f817ce91f5" 23 | 24 | ansi-regex@^2.0.0: 25 | version "2.1.1" 26 | resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-2.1.1.tgz#c3b33ab5ee360d86e0e628f0468ae7ef27d654df" 27 | 28 | ansi-regex@^3.0.0: 29 | version "3.0.0" 30 | resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-3.0.0.tgz#ed0317c322064f79466c02966bddb605ab37d998" 31 | 32 | ansi-styles@^2.2.1: 33 | version "2.2.1" 34 | resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-2.2.1.tgz#b432dd3358b634cf75e1e4664368240533c1ddbe" 35 | 36 | append-transform@^0.4.0: 37 | version "0.4.0" 38 | resolved "https://registry.yarnpkg.com/append-transform/-/append-transform-0.4.0.tgz#d76ebf8ca94d276e247a36bad44a4b74ab611991" 39 | dependencies: 40 | default-require-extensions "^1.0.0" 41 | 42 | archy@^1.0.0: 43 | version "1.0.0" 44 | resolved "https://registry.yarnpkg.com/archy/-/archy-1.0.0.tgz#f9c8c13757cc1dd7bc379ac77b2c62a5c2868c40" 45 | 46 | argparse@^1.0.7: 47 | version "1.0.9" 48 | resolved "https://registry.yarnpkg.com/argparse/-/argparse-1.0.9.tgz#73d83bc263f86e97f8cc4f6bae1b0e90a7d22c86" 49 | dependencies: 50 | sprintf-js "~1.0.2" 51 | 52 | arr-diff@^2.0.0: 53 | version "2.0.0" 54 | resolved "https://registry.yarnpkg.com/arr-diff/-/arr-diff-2.0.0.tgz#8f3b827f955a8bd669697e4a4256ac3ceae356cf" 55 | dependencies: 56 | arr-flatten "^1.0.1" 57 | 58 | arr-diff@^4.0.0: 59 | version "4.0.0" 60 | resolved "https://registry.yarnpkg.com/arr-diff/-/arr-diff-4.0.0.tgz#d6461074febfec71e7e15235761a329a5dc7c520" 61 | 62 | arr-flatten@^1.0.1: 63 | version "1.0.1" 64 | resolved "https://registry.yarnpkg.com/arr-flatten/-/arr-flatten-1.0.1.tgz#e5ffe54d45e19f32f216e91eb99c8ce892bb604b" 65 | 66 | arr-flatten@^1.1.0: 67 | version "1.1.0" 68 | resolved "https://registry.yarnpkg.com/arr-flatten/-/arr-flatten-1.1.0.tgz#36048bbff4e7b47e136644316c99669ea5ae91f1" 69 | 70 | arr-union@^3.1.0: 71 | version "3.1.0" 72 | resolved "https://registry.yarnpkg.com/arr-union/-/arr-union-3.1.0.tgz#e39b09aea9def866a8f206e288af63919bae39c4" 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 | array-unique@^0.3.2: 79 | version "0.3.2" 80 | resolved "https://registry.yarnpkg.com/array-unique/-/array-unique-0.3.2.tgz#a894b75d4bc4f6cd679ef3244a9fd8f46ae2d428" 81 | 82 | arrify@^1.0.1: 83 | version "1.0.1" 84 | resolved "https://registry.yarnpkg.com/arrify/-/arrify-1.0.1.tgz#898508da2226f380df904728456849c1501a4b0d" 85 | 86 | asn1@~0.2.3: 87 | version "0.2.3" 88 | resolved "https://registry.yarnpkg.com/asn1/-/asn1-0.2.3.tgz#dac8787713c9966849fc8180777ebe9c1ddf3b86" 89 | 90 | assert-plus@^1.0.0, assert-plus@1.0.0: 91 | version "1.0.0" 92 | resolved "https://registry.yarnpkg.com/assert-plus/-/assert-plus-1.0.0.tgz#f12e0f3c5d77b0b1cdd9146942e4e96c1e4dd525" 93 | 94 | assign-symbols@^1.0.0: 95 | version "1.0.0" 96 | resolved "https://registry.yarnpkg.com/assign-symbols/-/assign-symbols-1.0.0.tgz#59667f41fadd4f20ccbc2bb96b8d4f7f78ec0367" 97 | 98 | async@^1.4.0: 99 | version "1.5.2" 100 | resolved "https://registry.yarnpkg.com/async/-/async-1.5.2.tgz#ec6a61ae56480c0c3cb241c95618e20892f9672a" 101 | 102 | asynckit@^0.4.0: 103 | version "0.4.0" 104 | resolved "https://registry.yarnpkg.com/asynckit/-/asynckit-0.4.0.tgz#c79ed97f7f34cb8f2ba1bc9790bcc366474b4b79" 105 | 106 | atob@^2.0.0: 107 | version "2.1.0" 108 | resolved "https://registry.yarnpkg.com/atob/-/atob-2.1.0.tgz#ab2b150e51d7b122b9efc8d7340c06b6c41076bc" 109 | 110 | aws-sign2@~0.7.0: 111 | version "0.7.0" 112 | resolved "https://registry.yarnpkg.com/aws-sign2/-/aws-sign2-0.7.0.tgz#b46e890934a9591f2d2f6f86d7e6a9f1b3fe76a8" 113 | 114 | aws4@^1.6.0: 115 | version "1.7.0" 116 | resolved "https://registry.yarnpkg.com/aws4/-/aws4-1.7.0.tgz#d4d0e9b9dbfca77bf08eeb0a8a471550fe39e289" 117 | 118 | babel-code-frame@^6.22.0: 119 | version "6.22.0" 120 | resolved "https://registry.yarnpkg.com/babel-code-frame/-/babel-code-frame-6.22.0.tgz#027620bee567a88c32561574e7fd0801d33118e4" 121 | dependencies: 122 | chalk "^1.1.0" 123 | esutils "^2.0.2" 124 | js-tokens "^3.0.0" 125 | 126 | babel-generator@^6.18.0: 127 | version "6.24.0" 128 | resolved "https://registry.yarnpkg.com/babel-generator/-/babel-generator-6.24.0.tgz#eba270a8cc4ce6e09a61be43465d7c62c1f87c56" 129 | dependencies: 130 | babel-messages "^6.23.0" 131 | babel-runtime "^6.22.0" 132 | babel-types "^6.23.0" 133 | detect-indent "^4.0.0" 134 | jsesc "^1.3.0" 135 | lodash "^4.2.0" 136 | source-map "^0.5.0" 137 | trim-right "^1.0.1" 138 | 139 | babel-messages@^6.23.0: 140 | version "6.23.0" 141 | resolved "https://registry.yarnpkg.com/babel-messages/-/babel-messages-6.23.0.tgz#f3cdf4703858035b2a2951c6ec5edf6c62f2630e" 142 | dependencies: 143 | babel-runtime "^6.22.0" 144 | 145 | babel-runtime@^6.22.0: 146 | version "6.23.0" 147 | resolved "https://registry.yarnpkg.com/babel-runtime/-/babel-runtime-6.23.0.tgz#0a9489f144de70efb3ce4300accdb329e2fc543b" 148 | dependencies: 149 | core-js "^2.4.0" 150 | regenerator-runtime "^0.10.0" 151 | 152 | babel-template@^6.16.0: 153 | version "6.23.0" 154 | resolved "https://registry.yarnpkg.com/babel-template/-/babel-template-6.23.0.tgz#04d4f270adbb3aa704a8143ae26faa529238e638" 155 | dependencies: 156 | babel-runtime "^6.22.0" 157 | babel-traverse "^6.23.0" 158 | babel-types "^6.23.0" 159 | babylon "^6.11.0" 160 | lodash "^4.2.0" 161 | 162 | babel-traverse@^6.18.0, babel-traverse@^6.23.0: 163 | version "6.23.1" 164 | resolved "https://registry.yarnpkg.com/babel-traverse/-/babel-traverse-6.23.1.tgz#d3cb59010ecd06a97d81310065f966b699e14f48" 165 | dependencies: 166 | babel-code-frame "^6.22.0" 167 | babel-messages "^6.23.0" 168 | babel-runtime "^6.22.0" 169 | babel-types "^6.23.0" 170 | babylon "^6.15.0" 171 | debug "^2.2.0" 172 | globals "^9.0.0" 173 | invariant "^2.2.0" 174 | lodash "^4.2.0" 175 | 176 | babel-types@^6.18.0, babel-types@^6.23.0: 177 | version "6.23.0" 178 | resolved "https://registry.yarnpkg.com/babel-types/-/babel-types-6.23.0.tgz#bb17179d7538bad38cd0c9e115d340f77e7e9acf" 179 | dependencies: 180 | babel-runtime "^6.22.0" 181 | esutils "^2.0.2" 182 | lodash "^4.2.0" 183 | to-fast-properties "^1.0.1" 184 | 185 | babylon@^6.11.0, babylon@^6.15.0: 186 | version "6.16.1" 187 | resolved "https://registry.yarnpkg.com/babylon/-/babylon-6.16.1.tgz#30c5a22f481978a9e7f8cdfdf496b11d94b404d3" 188 | 189 | babylon@^6.18.0: 190 | version "6.18.0" 191 | resolved "https://registry.yarnpkg.com/babylon/-/babylon-6.18.0.tgz#af2f3b88fa6f5c1e4c634d1a0f8eac4f55b395e3" 192 | 193 | balanced-match@^0.4.1: 194 | version "0.4.2" 195 | resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-0.4.2.tgz#cb3f3e3c732dc0f01ee70b403f302e61d7709838" 196 | 197 | base@^0.11.1: 198 | version "0.11.2" 199 | resolved "https://registry.yarnpkg.com/base/-/base-0.11.2.tgz#7bde5ced145b6d551a90db87f83c558b4eb48a8f" 200 | dependencies: 201 | cache-base "^1.0.1" 202 | class-utils "^0.3.5" 203 | component-emitter "^1.2.1" 204 | define-property "^1.0.0" 205 | isobject "^3.0.1" 206 | mixin-deep "^1.2.0" 207 | pascalcase "^0.1.1" 208 | 209 | bcrypt-pbkdf@^1.0.0: 210 | version "1.0.1" 211 | resolved "https://registry.yarnpkg.com/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.1.tgz#63bc5dcb61331b92bc05fd528953c33462a06f8d" 212 | dependencies: 213 | tweetnacl "^0.14.3" 214 | 215 | bind-obj-methods@^2.0.0: 216 | version "2.0.0" 217 | resolved "https://registry.yarnpkg.com/bind-obj-methods/-/bind-obj-methods-2.0.0.tgz#0178140dbe7b7bb67dc74892ace59bc0247f06f0" 218 | 219 | bluebird@^3.5.1: 220 | version "3.5.1" 221 | resolved "https://registry.yarnpkg.com/bluebird/-/bluebird-3.5.1.tgz#d9551f9de98f1fcda1e683d17ee91a0602ee2eb9" 222 | 223 | boom@4.x.x: 224 | version "4.3.1" 225 | resolved "https://registry.yarnpkg.com/boom/-/boom-4.3.1.tgz#4f8a3005cb4a7e3889f749030fd25b96e01d2e31" 226 | dependencies: 227 | hoek "4.x.x" 228 | 229 | boom@5.x.x: 230 | version "5.2.0" 231 | resolved "https://registry.yarnpkg.com/boom/-/boom-5.2.0.tgz#5dd9da6ee3a5f302077436290cb717d3f4a54e02" 232 | dependencies: 233 | hoek "4.x.x" 234 | 235 | brace-expansion@^1.0.0: 236 | version "1.1.6" 237 | resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-1.1.6.tgz#7197d7eaa9b87e648390ea61fc66c84427420df9" 238 | dependencies: 239 | balanced-match "^0.4.1" 240 | concat-map "0.0.1" 241 | 242 | braces@^1.8.2: 243 | version "1.8.5" 244 | resolved "https://registry.yarnpkg.com/braces/-/braces-1.8.5.tgz#ba77962e12dff969d6b76711e914b737857bf6a7" 245 | dependencies: 246 | expand-range "^1.8.1" 247 | preserve "^0.2.0" 248 | repeat-element "^1.1.2" 249 | 250 | braces@^2.3.1: 251 | version "2.3.2" 252 | resolved "https://registry.yarnpkg.com/braces/-/braces-2.3.2.tgz#5979fd3f14cd531565e5fa2df1abfff1dfaee729" 253 | dependencies: 254 | arr-flatten "^1.1.0" 255 | array-unique "^0.3.2" 256 | extend-shallow "^2.0.1" 257 | fill-range "^4.0.0" 258 | isobject "^3.0.1" 259 | repeat-element "^1.1.2" 260 | snapdragon "^0.8.1" 261 | snapdragon-node "^2.0.1" 262 | split-string "^3.0.2" 263 | to-regex "^3.0.1" 264 | 265 | buffer-shims@^1.0.0: 266 | version "1.0.0" 267 | resolved "https://registry.yarnpkg.com/buffer-shims/-/buffer-shims-1.0.0.tgz#9978ce317388c649ad8793028c3477ef044a8b51" 268 | 269 | builtin-modules@^1.0.0: 270 | version "1.1.1" 271 | resolved "https://registry.yarnpkg.com/builtin-modules/-/builtin-modules-1.1.1.tgz#270f076c5a72c02f5b65a47df94c5fe3a278892f" 272 | 273 | cache-base@^1.0.1: 274 | version "1.0.1" 275 | resolved "https://registry.yarnpkg.com/cache-base/-/cache-base-1.0.1.tgz#0a7f46416831c8b662ee36fe4e7c59d76f666ab2" 276 | dependencies: 277 | collection-visit "^1.0.0" 278 | component-emitter "^1.2.1" 279 | get-value "^2.0.6" 280 | has-value "^1.0.0" 281 | isobject "^3.0.1" 282 | set-value "^2.0.0" 283 | to-object-path "^0.3.0" 284 | union-value "^1.0.0" 285 | unset-value "^1.0.0" 286 | 287 | caching-transform@^1.0.0: 288 | version "1.0.1" 289 | resolved "https://registry.yarnpkg.com/caching-transform/-/caching-transform-1.0.1.tgz#6dbdb2f20f8d8fbce79f3e94e9d1742dcdf5c0a1" 290 | dependencies: 291 | md5-hex "^1.2.0" 292 | mkdirp "^0.5.1" 293 | write-file-atomic "^1.1.4" 294 | 295 | camelcase@^1.0.2: 296 | version "1.2.1" 297 | resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-1.2.1.tgz#9bb5304d2e0b56698b2c758b08a3eaa9daa58a39" 298 | 299 | camelcase@^4.1.0: 300 | version "4.1.0" 301 | resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-4.1.0.tgz#d545635be1e33c542649c69173e5de6acfae34dd" 302 | 303 | caseless@~0.12.0: 304 | version "0.12.0" 305 | resolved "https://registry.yarnpkg.com/caseless/-/caseless-0.12.0.tgz#1b681c21ff84033c826543090689420d187151dc" 306 | 307 | center-align@^0.1.1: 308 | version "0.1.3" 309 | resolved "https://registry.yarnpkg.com/center-align/-/center-align-0.1.3.tgz#aa0d32629b6ee972200411cbd4461c907bc2b7ad" 310 | dependencies: 311 | align-text "^0.1.3" 312 | lazy-cache "^1.0.3" 313 | 314 | chalk@^1.1.0: 315 | version "1.1.3" 316 | resolved "https://registry.yarnpkg.com/chalk/-/chalk-1.1.3.tgz#a8115c55e4a702fe4d150abd3872822a7e09fc98" 317 | dependencies: 318 | ansi-styles "^2.2.1" 319 | escape-string-regexp "^1.0.2" 320 | has-ansi "^2.0.0" 321 | strip-ansi "^3.0.0" 322 | supports-color "^2.0.0" 323 | 324 | class-utils@^0.3.5: 325 | version "0.3.6" 326 | resolved "https://registry.yarnpkg.com/class-utils/-/class-utils-0.3.6.tgz#f93369ae8b9a7ce02fd41faad0ca83033190c463" 327 | dependencies: 328 | arr-union "^3.1.0" 329 | define-property "^0.2.5" 330 | isobject "^3.0.0" 331 | static-extend "^0.1.1" 332 | 333 | clean-yaml-object@^0.1.0: 334 | version "0.1.0" 335 | resolved "https://registry.yarnpkg.com/clean-yaml-object/-/clean-yaml-object-0.1.0.tgz#63fb110dc2ce1a84dc21f6d9334876d010ae8b68" 336 | 337 | cliui@^2.1.0: 338 | version "2.1.0" 339 | resolved "https://registry.yarnpkg.com/cliui/-/cliui-2.1.0.tgz#4b475760ff80264c762c3a1719032e91c7fea0d1" 340 | dependencies: 341 | center-align "^0.1.1" 342 | right-align "^0.1.1" 343 | wordwrap "0.0.2" 344 | 345 | cliui@^4.0.0: 346 | version "4.0.0" 347 | resolved "https://registry.yarnpkg.com/cliui/-/cliui-4.0.0.tgz#743d4650e05f36d1ed2575b59638d87322bfbbcc" 348 | dependencies: 349 | string-width "^2.1.1" 350 | strip-ansi "^4.0.0" 351 | wrap-ansi "^2.0.0" 352 | 353 | co@^4.6.0: 354 | version "4.6.0" 355 | resolved "https://registry.yarnpkg.com/co/-/co-4.6.0.tgz#6ea6bdf3d853ae54ccb8e47bfa0bf3f9031fb184" 356 | 357 | code-point-at@^1.0.0: 358 | version "1.1.0" 359 | resolved "https://registry.yarnpkg.com/code-point-at/-/code-point-at-1.1.0.tgz#0d070b4d043a5bea33a2f1a40e2edb3d9a4ccf77" 360 | 361 | collection-visit@^1.0.0: 362 | version "1.0.0" 363 | resolved "https://registry.yarnpkg.com/collection-visit/-/collection-visit-1.0.0.tgz#4bc0373c164bc3291b4d368c829cf1a80a59dca0" 364 | dependencies: 365 | map-visit "^1.0.0" 366 | object-visit "^1.0.0" 367 | 368 | color-support@^1.1.0: 369 | version "1.1.2" 370 | resolved "https://registry.yarnpkg.com/color-support/-/color-support-1.1.2.tgz#49cc99b89d1bdef1292e9d9323c66971a33eb89d" 371 | 372 | combined-stream@~1.0.5: 373 | version "1.0.5" 374 | resolved "https://registry.yarnpkg.com/combined-stream/-/combined-stream-1.0.5.tgz#938370a57b4a51dea2c77c15d5c5fdf895164009" 375 | dependencies: 376 | delayed-stream "~1.0.0" 377 | 378 | combined-stream@1.0.6: 379 | version "1.0.6" 380 | resolved "https://registry.yarnpkg.com/combined-stream/-/combined-stream-1.0.6.tgz#723e7df6e801ac5613113a7e445a9b69cb632818" 381 | dependencies: 382 | delayed-stream "~1.0.0" 383 | 384 | commondir@^1.0.1: 385 | version "1.0.1" 386 | resolved "https://registry.yarnpkg.com/commondir/-/commondir-1.0.1.tgz#ddd800da0c66127393cca5950ea968a3aaf1253b" 387 | 388 | component-emitter@^1.2.1: 389 | version "1.2.1" 390 | resolved "https://registry.yarnpkg.com/component-emitter/-/component-emitter-1.2.1.tgz#137918d6d78283f7df7a6b7c5a63e140e69425e6" 391 | 392 | concat-map@0.0.1: 393 | version "0.0.1" 394 | resolved "https://registry.yarnpkg.com/concat-map/-/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b" 395 | 396 | convert-source-map@^1.5.1: 397 | version "1.5.1" 398 | resolved "https://registry.yarnpkg.com/convert-source-map/-/convert-source-map-1.5.1.tgz#b8278097b9bc229365de5c62cf5fcaed8b5599e5" 399 | 400 | copy-descriptor@^0.1.0: 401 | version "0.1.1" 402 | resolved "https://registry.yarnpkg.com/copy-descriptor/-/copy-descriptor-0.1.1.tgz#676f6eb3c39997c2ee1ac3a924fd6124748f578d" 403 | 404 | core-js@^2.4.0: 405 | version "2.4.1" 406 | resolved "https://registry.yarnpkg.com/core-js/-/core-js-2.4.1.tgz#4de911e667b0eae9124e34254b53aea6fc618d3e" 407 | 408 | core-util-is@~1.0.0: 409 | version "1.0.2" 410 | resolved "https://registry.yarnpkg.com/core-util-is/-/core-util-is-1.0.2.tgz#b5fd54220aa2bc5ab57aab7140c940754503c1a7" 411 | 412 | coveralls@^3.0.0: 413 | version "3.0.0" 414 | resolved "https://registry.yarnpkg.com/coveralls/-/coveralls-3.0.0.tgz#22ef730330538080d29b8c151dc9146afde88a99" 415 | dependencies: 416 | js-yaml "^3.6.1" 417 | lcov-parse "^0.0.10" 418 | log-driver "^1.2.5" 419 | minimist "^1.2.0" 420 | request "^2.79.0" 421 | 422 | cross-spawn@^4: 423 | version "4.0.2" 424 | resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-4.0.2.tgz#7b9247621c23adfdd3856004a823cbe397424d41" 425 | dependencies: 426 | lru-cache "^4.0.1" 427 | which "^1.2.9" 428 | 429 | cross-spawn@^5.0.1: 430 | version "5.1.0" 431 | resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-5.1.0.tgz#e8bd0efee58fcff6f8f94510a0a554bbfa235449" 432 | dependencies: 433 | lru-cache "^4.0.1" 434 | shebang-command "^1.2.0" 435 | which "^1.2.9" 436 | 437 | cryptiles@3.x.x: 438 | version "3.1.2" 439 | resolved "https://registry.yarnpkg.com/cryptiles/-/cryptiles-3.1.2.tgz#a89fbb220f5ce25ec56e8c4aa8a4fd7b5b0d29fe" 440 | dependencies: 441 | boom "5.x.x" 442 | 443 | dashdash@^1.12.0: 444 | version "1.14.1" 445 | resolved "https://registry.yarnpkg.com/dashdash/-/dashdash-1.14.1.tgz#853cfa0f7cbe2fed5de20326b8dd581035f6e2f0" 446 | dependencies: 447 | assert-plus "^1.0.0" 448 | 449 | debug-log@^1.0.1: 450 | version "1.0.1" 451 | resolved "https://registry.yarnpkg.com/debug-log/-/debug-log-1.0.1.tgz#2307632d4c04382b8df8a32f70b895046d52745f" 452 | 453 | debug@^2.1.3, debug@^2.2.0: 454 | version "2.6.3" 455 | resolved "https://registry.yarnpkg.com/debug/-/debug-2.6.3.tgz#0f7eb8c30965ec08c72accfa0130c8b79984141d" 456 | dependencies: 457 | ms "0.7.2" 458 | 459 | debug@^2.3.3: 460 | version "2.6.9" 461 | resolved "https://registry.yarnpkg.com/debug/-/debug-2.6.9.tgz#5d128515df134ff327e90a4c93f4e077a536341f" 462 | dependencies: 463 | ms "2.0.0" 464 | 465 | debug@^3.1.0: 466 | version "3.1.0" 467 | resolved "https://registry.yarnpkg.com/debug/-/debug-3.1.0.tgz#5bb5a0672628b64149566ba16819e61518c67261" 468 | dependencies: 469 | ms "2.0.0" 470 | 471 | decamelize@^1.0.0, decamelize@^1.1.1: 472 | version "1.2.0" 473 | resolved "https://registry.yarnpkg.com/decamelize/-/decamelize-1.2.0.tgz#f6534d15148269b20352e7bee26f501f9a191290" 474 | 475 | decode-uri-component@^0.2.0: 476 | version "0.2.0" 477 | resolved "https://registry.yarnpkg.com/decode-uri-component/-/decode-uri-component-0.2.0.tgz#eb3913333458775cb84cd1a1fae062106bb87545" 478 | 479 | default-require-extensions@^1.0.0: 480 | version "1.0.0" 481 | resolved "https://registry.yarnpkg.com/default-require-extensions/-/default-require-extensions-1.0.0.tgz#f37ea15d3e13ffd9b437d33e1a75b5fb97874cb8" 482 | dependencies: 483 | strip-bom "^2.0.0" 484 | 485 | define-property@^0.2.5: 486 | version "0.2.5" 487 | resolved "https://registry.yarnpkg.com/define-property/-/define-property-0.2.5.tgz#c35b1ef918ec3c990f9a5bc57be04aacec5c8116" 488 | dependencies: 489 | is-descriptor "^0.1.0" 490 | 491 | define-property@^1.0.0: 492 | version "1.0.0" 493 | resolved "https://registry.yarnpkg.com/define-property/-/define-property-1.0.0.tgz#769ebaaf3f4a63aad3af9e8d304c9bbe79bfb0e6" 494 | dependencies: 495 | is-descriptor "^1.0.0" 496 | 497 | define-property@^2.0.2: 498 | version "2.0.2" 499 | resolved "https://registry.yarnpkg.com/define-property/-/define-property-2.0.2.tgz#d459689e8d654ba77e02a817f8710d702cb16e9d" 500 | dependencies: 501 | is-descriptor "^1.0.2" 502 | isobject "^3.0.1" 503 | 504 | delayed-stream@~1.0.0: 505 | version "1.0.0" 506 | resolved "https://registry.yarnpkg.com/delayed-stream/-/delayed-stream-1.0.0.tgz#df3ae199acadfb7d440aaae0b29e2272b24ec619" 507 | 508 | detect-indent@^4.0.0: 509 | version "4.0.0" 510 | resolved "https://registry.yarnpkg.com/detect-indent/-/detect-indent-4.0.0.tgz#f76d064352cdf43a1cb6ce619c4ee3a9475de208" 511 | dependencies: 512 | repeating "^2.0.0" 513 | 514 | diff@^1.3.2: 515 | version "1.4.0" 516 | resolved "https://registry.yarnpkg.com/diff/-/diff-1.4.0.tgz#7f28d2eb9ee7b15a97efd89ce63dcfdaa3ccbabf" 517 | 518 | ecc-jsbn@~0.1.1: 519 | version "0.1.1" 520 | resolved "https://registry.yarnpkg.com/ecc-jsbn/-/ecc-jsbn-0.1.1.tgz#0fc73a9ed5f0d53c38193398523ef7e543777505" 521 | dependencies: 522 | jsbn "~0.1.0" 523 | 524 | error-ex@^1.2.0: 525 | version "1.3.1" 526 | resolved "https://registry.yarnpkg.com/error-ex/-/error-ex-1.3.1.tgz#f855a86ce61adc4e8621c3cda21e7a7612c3a8dc" 527 | dependencies: 528 | is-arrayish "^0.2.1" 529 | 530 | escape-string-regexp@^1.0.2, escape-string-regexp@^1.0.3: 531 | version "1.0.5" 532 | resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz#1b61c0562190a8dff6ae3bb2cf0200ca130b86d4" 533 | 534 | esprima@^3.1.1: 535 | version "3.1.3" 536 | resolved "https://registry.yarnpkg.com/esprima/-/esprima-3.1.3.tgz#fdca51cee6133895e3c88d535ce49dbff62a4633" 537 | 538 | esprima@^4.0.0: 539 | version "4.0.0" 540 | resolved "https://registry.yarnpkg.com/esprima/-/esprima-4.0.0.tgz#4499eddcd1110e0b218bacf2fa7f7f59f55ca804" 541 | 542 | esutils@^2.0.2: 543 | version "2.0.2" 544 | resolved "https://registry.yarnpkg.com/esutils/-/esutils-2.0.2.tgz#0abf4f1caa5bcb1f7a9d8acc6dea4faaa04bac9b" 545 | 546 | events-to-array@^1.0.1: 547 | version "1.0.2" 548 | resolved "https://registry.yarnpkg.com/events-to-array/-/events-to-array-1.0.2.tgz#b3484465534fe4ff66fbdd1a83b777713ba404aa" 549 | 550 | execa@^0.7.0: 551 | version "0.7.0" 552 | resolved "https://registry.yarnpkg.com/execa/-/execa-0.7.0.tgz#944becd34cc41ee32a63a9faf27ad5a65fc59777" 553 | dependencies: 554 | cross-spawn "^5.0.1" 555 | get-stream "^3.0.0" 556 | is-stream "^1.1.0" 557 | npm-run-path "^2.0.0" 558 | p-finally "^1.0.0" 559 | signal-exit "^3.0.0" 560 | strip-eof "^1.0.0" 561 | 562 | expand-brackets@^0.1.4: 563 | version "0.1.5" 564 | resolved "https://registry.yarnpkg.com/expand-brackets/-/expand-brackets-0.1.5.tgz#df07284e342a807cd733ac5af72411e581d1177b" 565 | dependencies: 566 | is-posix-bracket "^0.1.0" 567 | 568 | expand-brackets@^2.1.4: 569 | version "2.1.4" 570 | resolved "https://registry.yarnpkg.com/expand-brackets/-/expand-brackets-2.1.4.tgz#b77735e315ce30f6b6eff0f83b04151a22449622" 571 | dependencies: 572 | debug "^2.3.3" 573 | define-property "^0.2.5" 574 | extend-shallow "^2.0.1" 575 | posix-character-classes "^0.1.0" 576 | regex-not "^1.0.0" 577 | snapdragon "^0.8.1" 578 | to-regex "^3.0.1" 579 | 580 | expand-range@^1.8.1: 581 | version "1.8.2" 582 | resolved "https://registry.yarnpkg.com/expand-range/-/expand-range-1.8.2.tgz#a299effd335fe2721ebae8e257ec79644fc85337" 583 | dependencies: 584 | fill-range "^2.1.0" 585 | 586 | extend-shallow@^2.0.1: 587 | version "2.0.1" 588 | resolved "https://registry.yarnpkg.com/extend-shallow/-/extend-shallow-2.0.1.tgz#51af7d614ad9a9f610ea1bafbb989d6b1c56890f" 589 | dependencies: 590 | is-extendable "^0.1.0" 591 | 592 | extend-shallow@^3.0.0, extend-shallow@^3.0.2: 593 | version "3.0.2" 594 | resolved "https://registry.yarnpkg.com/extend-shallow/-/extend-shallow-3.0.2.tgz#26a71aaf073b39fb2127172746131c2704028db8" 595 | dependencies: 596 | assign-symbols "^1.0.0" 597 | is-extendable "^1.0.1" 598 | 599 | extend@~3.0.1: 600 | version "3.0.1" 601 | resolved "https://registry.yarnpkg.com/extend/-/extend-3.0.1.tgz#a755ea7bc1adfcc5a31ce7e762dbaadc5e636444" 602 | 603 | extglob@^0.3.1: 604 | version "0.3.2" 605 | resolved "https://registry.yarnpkg.com/extglob/-/extglob-0.3.2.tgz#2e18ff3d2f49ab2765cec9023f011daa8d8349a1" 606 | dependencies: 607 | is-extglob "^1.0.0" 608 | 609 | extglob@^2.0.4: 610 | version "2.0.4" 611 | resolved "https://registry.yarnpkg.com/extglob/-/extglob-2.0.4.tgz#ad00fe4dc612a9232e8718711dc5cb5ab0285543" 612 | dependencies: 613 | array-unique "^0.3.2" 614 | define-property "^1.0.0" 615 | expand-brackets "^2.1.4" 616 | extend-shallow "^2.0.1" 617 | fragment-cache "^0.2.1" 618 | regex-not "^1.0.0" 619 | snapdragon "^0.8.1" 620 | to-regex "^3.0.1" 621 | 622 | extsprintf@1.0.2: 623 | version "1.0.2" 624 | resolved "https://registry.yarnpkg.com/extsprintf/-/extsprintf-1.0.2.tgz#e1080e0658e300b06294990cc70e1502235fd550" 625 | 626 | fast-deep-equal@^1.0.0: 627 | version "1.1.0" 628 | resolved "https://registry.yarnpkg.com/fast-deep-equal/-/fast-deep-equal-1.1.0.tgz#c053477817c86b51daa853c81e059b733d023614" 629 | 630 | fast-json-stable-stringify@^2.0.0: 631 | version "2.0.0" 632 | resolved "https://registry.yarnpkg.com/fast-json-stable-stringify/-/fast-json-stable-stringify-2.0.0.tgz#d5142c0caee6b1189f87d3a76111064f86c8bbf2" 633 | 634 | filename-regex@^2.0.0: 635 | version "2.0.0" 636 | resolved "https://registry.yarnpkg.com/filename-regex/-/filename-regex-2.0.0.tgz#996e3e80479b98b9897f15a8a58b3d084e926775" 637 | 638 | fill-range@^2.1.0: 639 | version "2.2.3" 640 | resolved "https://registry.yarnpkg.com/fill-range/-/fill-range-2.2.3.tgz#50b77dfd7e469bc7492470963699fe7a8485a723" 641 | dependencies: 642 | is-number "^2.1.0" 643 | isobject "^2.0.0" 644 | randomatic "^1.1.3" 645 | repeat-element "^1.1.2" 646 | repeat-string "^1.5.2" 647 | 648 | fill-range@^4.0.0: 649 | version "4.0.0" 650 | resolved "https://registry.yarnpkg.com/fill-range/-/fill-range-4.0.0.tgz#d544811d428f98eb06a63dc402d2403c328c38f7" 651 | dependencies: 652 | extend-shallow "^2.0.1" 653 | is-number "^3.0.0" 654 | repeat-string "^1.6.1" 655 | to-regex-range "^2.1.0" 656 | 657 | find-cache-dir@^0.1.1: 658 | version "0.1.1" 659 | resolved "https://registry.yarnpkg.com/find-cache-dir/-/find-cache-dir-0.1.1.tgz#c8defae57c8a52a8a784f9e31c57c742e993a0b9" 660 | dependencies: 661 | commondir "^1.0.1" 662 | mkdirp "^0.5.1" 663 | pkg-dir "^1.0.0" 664 | 665 | find-up@^1.0.0: 666 | version "1.1.2" 667 | resolved "https://registry.yarnpkg.com/find-up/-/find-up-1.1.2.tgz#6b2e9822b1a2ce0a60ab64d610eccad53cb24d0f" 668 | dependencies: 669 | path-exists "^2.0.0" 670 | pinkie-promise "^2.0.0" 671 | 672 | find-up@^2.1.0: 673 | version "2.1.0" 674 | resolved "https://registry.yarnpkg.com/find-up/-/find-up-2.1.0.tgz#45d1b7e506c717ddd482775a2b77920a3c0c57a7" 675 | dependencies: 676 | locate-path "^2.0.0" 677 | 678 | for-in@^1.0.1, for-in@^1.0.2: 679 | version "1.0.2" 680 | resolved "https://registry.yarnpkg.com/for-in/-/for-in-1.0.2.tgz#81068d295a8142ec0ac726c6e2200c30fb6d5e80" 681 | 682 | for-own@^0.1.4: 683 | version "0.1.5" 684 | resolved "https://registry.yarnpkg.com/for-own/-/for-own-0.1.5.tgz#5265c681a4f294dabbf17c9509b6763aa84510ce" 685 | dependencies: 686 | for-in "^1.0.1" 687 | 688 | foreground-child@^1.3.3, foreground-child@^1.5.3, foreground-child@^1.5.6: 689 | version "1.5.6" 690 | resolved "https://registry.yarnpkg.com/foreground-child/-/foreground-child-1.5.6.tgz#4fd71ad2dfde96789b980a5c0a295937cb2f5ce9" 691 | dependencies: 692 | cross-spawn "^4" 693 | signal-exit "^3.0.0" 694 | 695 | forever-agent@~0.6.1: 696 | version "0.6.1" 697 | resolved "https://registry.yarnpkg.com/forever-agent/-/forever-agent-0.6.1.tgz#fbc71f0c41adeb37f96c577ad1ed42d8fdacca91" 698 | 699 | form-data@~2.3.1: 700 | version "2.3.2" 701 | resolved "https://registry.yarnpkg.com/form-data/-/form-data-2.3.2.tgz#4970498be604c20c005d4f5c23aecd21d6b49099" 702 | dependencies: 703 | asynckit "^0.4.0" 704 | combined-stream "1.0.6" 705 | mime-types "^2.1.12" 706 | 707 | fragment-cache@^0.2.1: 708 | version "0.2.1" 709 | resolved "https://registry.yarnpkg.com/fragment-cache/-/fragment-cache-0.2.1.tgz#4290fad27f13e89be7f33799c6bc5a0abfff0d19" 710 | dependencies: 711 | map-cache "^0.2.2" 712 | 713 | fs-exists-cached@^1.0.0: 714 | version "1.0.0" 715 | resolved "https://registry.yarnpkg.com/fs-exists-cached/-/fs-exists-cached-1.0.0.tgz#cf25554ca050dc49ae6656b41de42258989dcbce" 716 | 717 | fs.realpath@^1.0.0: 718 | version "1.0.0" 719 | resolved "https://registry.yarnpkg.com/fs.realpath/-/fs.realpath-1.0.0.tgz#1504ad2523158caa40db4a2787cb01411994ea4f" 720 | 721 | function-loop@^1.0.1: 722 | version "1.0.1" 723 | resolved "https://registry.yarnpkg.com/function-loop/-/function-loop-1.0.1.tgz#8076bb305e8e6a3cceee2920765f330d190f340c" 724 | 725 | get-caller-file@^1.0.1: 726 | version "1.0.2" 727 | resolved "https://registry.yarnpkg.com/get-caller-file/-/get-caller-file-1.0.2.tgz#f702e63127e7e231c160a80c1554acb70d5047e5" 728 | 729 | get-stream@^3.0.0: 730 | version "3.0.0" 731 | resolved "https://registry.yarnpkg.com/get-stream/-/get-stream-3.0.0.tgz#8e943d1358dc37555054ecbe2edb05aa174ede14" 732 | 733 | get-value@^2.0.3, get-value@^2.0.6: 734 | version "2.0.6" 735 | resolved "https://registry.yarnpkg.com/get-value/-/get-value-2.0.6.tgz#dc15ca1c672387ca76bd37ac0a395ba2042a2c28" 736 | 737 | getpass@^0.1.1: 738 | version "0.1.6" 739 | resolved "https://registry.yarnpkg.com/getpass/-/getpass-0.1.6.tgz#283ffd9fc1256840875311c1b60e8c40187110e6" 740 | dependencies: 741 | assert-plus "^1.0.0" 742 | 743 | glob-base@^0.3.0: 744 | version "0.3.0" 745 | resolved "https://registry.yarnpkg.com/glob-base/-/glob-base-0.3.0.tgz#dbb164f6221b1c0b1ccf82aea328b497df0ea3c4" 746 | dependencies: 747 | glob-parent "^2.0.0" 748 | is-glob "^2.0.0" 749 | 750 | glob-parent@^2.0.0: 751 | version "2.0.0" 752 | resolved "https://registry.yarnpkg.com/glob-parent/-/glob-parent-2.0.0.tgz#81383d72db054fcccf5336daa902f182f6edbb28" 753 | dependencies: 754 | is-glob "^2.0.0" 755 | 756 | glob@^7.0.0, glob@^7.0.5, glob@^7.0.6: 757 | version "7.1.1" 758 | resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.1.tgz#805211df04faaf1c63a3600306cdf5ade50b2ec8" 759 | dependencies: 760 | fs.realpath "^1.0.0" 761 | inflight "^1.0.4" 762 | inherits "2" 763 | minimatch "^3.0.2" 764 | once "^1.3.0" 765 | path-is-absolute "^1.0.0" 766 | 767 | globals@^9.0.0: 768 | version "9.17.0" 769 | resolved "https://registry.yarnpkg.com/globals/-/globals-9.17.0.tgz#0c0ca696d9b9bb694d2e5470bd37777caad50286" 770 | 771 | graceful-fs@^4.1.11, graceful-fs@^4.1.2: 772 | version "4.1.11" 773 | resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.1.11.tgz#0e8bdfe4d1ddb8854d64e04ea7c00e2a026e5658" 774 | 775 | handlebars@^4.0.3: 776 | version "4.0.6" 777 | resolved "https://registry.yarnpkg.com/handlebars/-/handlebars-4.0.6.tgz#2ce4484850537f9c97a8026d5399b935c4ed4ed7" 778 | dependencies: 779 | async "^1.4.0" 780 | optimist "^0.6.1" 781 | source-map "^0.4.4" 782 | optionalDependencies: 783 | uglify-js "^2.6" 784 | 785 | har-schema@^2.0.0: 786 | version "2.0.0" 787 | resolved "https://registry.yarnpkg.com/har-schema/-/har-schema-2.0.0.tgz#a94c2224ebcac04782a0d9035521f24735b7ec92" 788 | 789 | har-validator@~5.0.3: 790 | version "5.0.3" 791 | resolved "https://registry.yarnpkg.com/har-validator/-/har-validator-5.0.3.tgz#ba402c266194f15956ef15e0fcf242993f6a7dfd" 792 | dependencies: 793 | ajv "^5.1.0" 794 | har-schema "^2.0.0" 795 | 796 | has-ansi@^2.0.0: 797 | version "2.0.0" 798 | resolved "https://registry.yarnpkg.com/has-ansi/-/has-ansi-2.0.0.tgz#34f5049ce1ecdf2b0649af3ef24e45ed35416d91" 799 | dependencies: 800 | ansi-regex "^2.0.0" 801 | 802 | has-flag@^1.0.0: 803 | version "1.0.0" 804 | resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-1.0.0.tgz#9d9e793165ce017a00f00418c43f942a7b1d11fa" 805 | 806 | has-value@^0.3.1: 807 | version "0.3.1" 808 | resolved "https://registry.yarnpkg.com/has-value/-/has-value-0.3.1.tgz#7b1f58bada62ca827ec0a2078025654845995e1f" 809 | dependencies: 810 | get-value "^2.0.3" 811 | has-values "^0.1.4" 812 | isobject "^2.0.0" 813 | 814 | has-value@^1.0.0: 815 | version "1.0.0" 816 | resolved "https://registry.yarnpkg.com/has-value/-/has-value-1.0.0.tgz#18b281da585b1c5c51def24c930ed29a0be6b177" 817 | dependencies: 818 | get-value "^2.0.6" 819 | has-values "^1.0.0" 820 | isobject "^3.0.0" 821 | 822 | has-values@^0.1.4: 823 | version "0.1.4" 824 | resolved "https://registry.yarnpkg.com/has-values/-/has-values-0.1.4.tgz#6d61de95d91dfca9b9a02089ad384bff8f62b771" 825 | 826 | has-values@^1.0.0: 827 | version "1.0.0" 828 | resolved "https://registry.yarnpkg.com/has-values/-/has-values-1.0.0.tgz#95b0b63fec2146619a6fe57fe75628d5a39efe4f" 829 | dependencies: 830 | is-number "^3.0.0" 831 | kind-of "^4.0.0" 832 | 833 | hawk@~6.0.2: 834 | version "6.0.2" 835 | resolved "https://registry.yarnpkg.com/hawk/-/hawk-6.0.2.tgz#af4d914eb065f9b5ce4d9d11c1cb2126eecc3038" 836 | dependencies: 837 | boom "4.x.x" 838 | cryptiles "3.x.x" 839 | hoek "4.x.x" 840 | sntp "2.x.x" 841 | 842 | hexdump-nodejs@^0.1.0: 843 | version "0.1.0" 844 | resolved "https://registry.yarnpkg.com/hexdump-nodejs/-/hexdump-nodejs-0.1.0.tgz#5b6281d91dd88c79dfa51b42f08dac4cc2f9ae92" 845 | 846 | hoek@4.x.x: 847 | version "4.2.1" 848 | resolved "https://registry.yarnpkg.com/hoek/-/hoek-4.2.1.tgz#9634502aa12c445dd5a7c5734b572bb8738aacbb" 849 | 850 | hosted-git-info@^2.1.4: 851 | version "2.4.1" 852 | resolved "https://registry.yarnpkg.com/hosted-git-info/-/hosted-git-info-2.4.1.tgz#4b0445e41c004a8bd1337773a4ff790ca40318c8" 853 | 854 | http-signature@~1.2.0: 855 | version "1.2.0" 856 | resolved "https://registry.yarnpkg.com/http-signature/-/http-signature-1.2.0.tgz#9aecd925114772f3d95b65a60abb8f7c18fbace1" 857 | dependencies: 858 | assert-plus "^1.0.0" 859 | jsprim "^1.2.2" 860 | sshpk "^1.7.0" 861 | 862 | imurmurhash@^0.1.4: 863 | version "0.1.4" 864 | resolved "https://registry.yarnpkg.com/imurmurhash/-/imurmurhash-0.1.4.tgz#9218b9b2b928a238b13dc4fb6b6d576f231453ea" 865 | 866 | inflight@^1.0.4: 867 | version "1.0.6" 868 | resolved "https://registry.yarnpkg.com/inflight/-/inflight-1.0.6.tgz#49bd6331d7d02d0c09bc910a1075ba8165b56df9" 869 | dependencies: 870 | once "^1.3.0" 871 | wrappy "1" 872 | 873 | inherits@~2.0.1, inherits@2: 874 | version "2.0.3" 875 | resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.3.tgz#633c2c83e3da42a502f52466022480f4208261de" 876 | 877 | invariant@^2.2.0: 878 | version "2.2.2" 879 | resolved "https://registry.yarnpkg.com/invariant/-/invariant-2.2.2.tgz#9e1f56ac0acdb6bf303306f338be3b204ae60360" 880 | dependencies: 881 | loose-envify "^1.0.0" 882 | 883 | invert-kv@^1.0.0: 884 | version "1.0.0" 885 | resolved "https://registry.yarnpkg.com/invert-kv/-/invert-kv-1.0.0.tgz#104a8e4aaca6d3d8cd157a8ef8bfab2d7a3ffdb6" 886 | 887 | is-accessor-descriptor@^0.1.6: 888 | version "0.1.6" 889 | resolved "https://registry.yarnpkg.com/is-accessor-descriptor/-/is-accessor-descriptor-0.1.6.tgz#a9e12cb3ae8d876727eeef3843f8a0897b5c98d6" 890 | dependencies: 891 | kind-of "^3.0.2" 892 | 893 | is-accessor-descriptor@^1.0.0: 894 | version "1.0.0" 895 | resolved "https://registry.yarnpkg.com/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz#169c2f6d3df1f992618072365c9b0ea1f6878656" 896 | dependencies: 897 | kind-of "^6.0.0" 898 | 899 | is-arrayish@^0.2.1: 900 | version "0.2.1" 901 | resolved "https://registry.yarnpkg.com/is-arrayish/-/is-arrayish-0.2.1.tgz#77c99840527aa8ecb1a8ba697b80645a7a926a9d" 902 | 903 | is-buffer@^1.0.2: 904 | version "1.1.5" 905 | resolved "https://registry.yarnpkg.com/is-buffer/-/is-buffer-1.1.5.tgz#1f3b26ef613b214b88cbca23cc6c01d87961eecc" 906 | 907 | is-buffer@^1.1.5: 908 | version "1.1.6" 909 | resolved "https://registry.yarnpkg.com/is-buffer/-/is-buffer-1.1.6.tgz#efaa2ea9daa0d7ab2ea13a97b2b8ad51fefbe8be" 910 | 911 | is-builtin-module@^1.0.0: 912 | version "1.0.0" 913 | resolved "https://registry.yarnpkg.com/is-builtin-module/-/is-builtin-module-1.0.0.tgz#540572d34f7ac3119f8f76c30cbc1b1e037affbe" 914 | dependencies: 915 | builtin-modules "^1.0.0" 916 | 917 | is-data-descriptor@^0.1.4: 918 | version "0.1.4" 919 | resolved "https://registry.yarnpkg.com/is-data-descriptor/-/is-data-descriptor-0.1.4.tgz#0b5ee648388e2c860282e793f1856fec3f301b56" 920 | dependencies: 921 | kind-of "^3.0.2" 922 | 923 | is-data-descriptor@^1.0.0: 924 | version "1.0.0" 925 | resolved "https://registry.yarnpkg.com/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz#d84876321d0e7add03990406abbbbd36ba9268c7" 926 | dependencies: 927 | kind-of "^6.0.0" 928 | 929 | is-descriptor@^0.1.0: 930 | version "0.1.6" 931 | resolved "https://registry.yarnpkg.com/is-descriptor/-/is-descriptor-0.1.6.tgz#366d8240dde487ca51823b1ab9f07a10a78251ca" 932 | dependencies: 933 | is-accessor-descriptor "^0.1.6" 934 | is-data-descriptor "^0.1.4" 935 | kind-of "^5.0.0" 936 | 937 | is-descriptor@^1.0.0, is-descriptor@^1.0.2: 938 | version "1.0.2" 939 | resolved "https://registry.yarnpkg.com/is-descriptor/-/is-descriptor-1.0.2.tgz#3b159746a66604b04f8c81524ba365c5f14d86ec" 940 | dependencies: 941 | is-accessor-descriptor "^1.0.0" 942 | is-data-descriptor "^1.0.0" 943 | kind-of "^6.0.2" 944 | 945 | is-dotfile@^1.0.0: 946 | version "1.0.2" 947 | resolved "https://registry.yarnpkg.com/is-dotfile/-/is-dotfile-1.0.2.tgz#2c132383f39199f8edc268ca01b9b007d205cc4d" 948 | 949 | is-equal-shallow@^0.1.3: 950 | version "0.1.3" 951 | resolved "https://registry.yarnpkg.com/is-equal-shallow/-/is-equal-shallow-0.1.3.tgz#2238098fc221de0bcfa5d9eac4c45d638aa1c534" 952 | dependencies: 953 | is-primitive "^2.0.0" 954 | 955 | is-extendable@^0.1.0, is-extendable@^0.1.1: 956 | version "0.1.1" 957 | resolved "https://registry.yarnpkg.com/is-extendable/-/is-extendable-0.1.1.tgz#62b110e289a471418e3ec36a617d472e301dfc89" 958 | 959 | is-extendable@^1.0.1: 960 | version "1.0.1" 961 | resolved "https://registry.yarnpkg.com/is-extendable/-/is-extendable-1.0.1.tgz#a7470f9e426733d81bd81e1155264e3a3507cab4" 962 | dependencies: 963 | is-plain-object "^2.0.4" 964 | 965 | is-extglob@^1.0.0: 966 | version "1.0.0" 967 | resolved "https://registry.yarnpkg.com/is-extglob/-/is-extglob-1.0.0.tgz#ac468177c4943405a092fc8f29760c6ffc6206c0" 968 | 969 | is-finite@^1.0.0: 970 | version "1.0.2" 971 | resolved "https://registry.yarnpkg.com/is-finite/-/is-finite-1.0.2.tgz#cc6677695602be550ef11e8b4aa6305342b6d0aa" 972 | dependencies: 973 | number-is-nan "^1.0.0" 974 | 975 | is-fullwidth-code-point@^1.0.0: 976 | version "1.0.0" 977 | resolved "https://registry.yarnpkg.com/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz#ef9e31386f031a7f0d643af82fde50c457ef00cb" 978 | dependencies: 979 | number-is-nan "^1.0.0" 980 | 981 | is-fullwidth-code-point@^2.0.0: 982 | version "2.0.0" 983 | resolved "https://registry.yarnpkg.com/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz#a3b30a5c4f199183167aaab93beefae3ddfb654f" 984 | 985 | is-glob@^2.0.0, is-glob@^2.0.1: 986 | version "2.0.1" 987 | resolved "https://registry.yarnpkg.com/is-glob/-/is-glob-2.0.1.tgz#d096f926a3ded5600f3fdfd91198cb0888c2d863" 988 | dependencies: 989 | is-extglob "^1.0.0" 990 | 991 | is-number@^2.0.2, is-number@^2.1.0: 992 | version "2.1.0" 993 | resolved "https://registry.yarnpkg.com/is-number/-/is-number-2.1.0.tgz#01fcbbb393463a548f2f466cce16dece49db908f" 994 | dependencies: 995 | kind-of "^3.0.2" 996 | 997 | is-number@^3.0.0: 998 | version "3.0.0" 999 | resolved "https://registry.yarnpkg.com/is-number/-/is-number-3.0.0.tgz#24fd6201a4782cf50561c810276afc7d12d71195" 1000 | dependencies: 1001 | kind-of "^3.0.2" 1002 | 1003 | is-number@^4.0.0: 1004 | version "4.0.0" 1005 | resolved "https://registry.yarnpkg.com/is-number/-/is-number-4.0.0.tgz#0026e37f5454d73e356dfe6564699867c6a7f0ff" 1006 | 1007 | is-odd@^2.0.0: 1008 | version "2.0.0" 1009 | resolved "https://registry.yarnpkg.com/is-odd/-/is-odd-2.0.0.tgz#7646624671fd7ea558ccd9a2795182f2958f1b24" 1010 | dependencies: 1011 | is-number "^4.0.0" 1012 | 1013 | is-plain-object@^2.0.1, is-plain-object@^2.0.3, is-plain-object@^2.0.4: 1014 | version "2.0.4" 1015 | resolved "https://registry.yarnpkg.com/is-plain-object/-/is-plain-object-2.0.4.tgz#2c163b3fafb1b606d9d17928f05c2a1c38e07677" 1016 | dependencies: 1017 | isobject "^3.0.1" 1018 | 1019 | is-posix-bracket@^0.1.0: 1020 | version "0.1.1" 1021 | resolved "https://registry.yarnpkg.com/is-posix-bracket/-/is-posix-bracket-0.1.1.tgz#3334dc79774368e92f016e6fbc0a88f5cd6e6bc4" 1022 | 1023 | is-primitive@^2.0.0: 1024 | version "2.0.0" 1025 | resolved "https://registry.yarnpkg.com/is-primitive/-/is-primitive-2.0.0.tgz#207bab91638499c07b2adf240a41a87210034575" 1026 | 1027 | is-stream@^1.1.0: 1028 | version "1.1.0" 1029 | resolved "https://registry.yarnpkg.com/is-stream/-/is-stream-1.1.0.tgz#12d4a3dd4e68e0b79ceb8dbc84173ae80d91ca44" 1030 | 1031 | is-typedarray@~1.0.0: 1032 | version "1.0.0" 1033 | resolved "https://registry.yarnpkg.com/is-typedarray/-/is-typedarray-1.0.0.tgz#e479c80858df0c1b11ddda6940f96011fcda4a9a" 1034 | 1035 | is-utf8@^0.2.0: 1036 | version "0.2.1" 1037 | resolved "https://registry.yarnpkg.com/is-utf8/-/is-utf8-0.2.1.tgz#4b0da1442104d1b336340e80797e865cf39f7d72" 1038 | 1039 | is-windows@^1.0.2: 1040 | version "1.0.2" 1041 | resolved "https://registry.yarnpkg.com/is-windows/-/is-windows-1.0.2.tgz#d1850eb9791ecd18e6182ce12a30f396634bb19d" 1042 | 1043 | isarray@~1.0.0, isarray@1.0.0: 1044 | version "1.0.0" 1045 | resolved "https://registry.yarnpkg.com/isarray/-/isarray-1.0.0.tgz#bb935d48582cba168c06834957a54a3e07124f11" 1046 | 1047 | isexe@^2.0.0: 1048 | version "2.0.0" 1049 | resolved "https://registry.yarnpkg.com/isexe/-/isexe-2.0.0.tgz#e8fbf374dc556ff8947a10dcb0572d633f2cfa10" 1050 | 1051 | isobject@^2.0.0: 1052 | version "2.1.0" 1053 | resolved "https://registry.yarnpkg.com/isobject/-/isobject-2.1.0.tgz#f065561096a3f1da2ef46272f815c840d87e0c89" 1054 | dependencies: 1055 | isarray "1.0.0" 1056 | 1057 | isobject@^3.0.0, isobject@^3.0.1: 1058 | version "3.0.1" 1059 | resolved "https://registry.yarnpkg.com/isobject/-/isobject-3.0.1.tgz#4e431e92b11a9731636aa1f9c8d1ccbcfdab78df" 1060 | 1061 | isstream@~0.1.2: 1062 | version "0.1.2" 1063 | resolved "https://registry.yarnpkg.com/isstream/-/isstream-0.1.2.tgz#47e63f7af55afa6f92e1500e690eb8b8529c099a" 1064 | 1065 | istanbul-lib-coverage@^1.1.2, istanbul-lib-coverage@^1.2.0: 1066 | version "1.2.0" 1067 | resolved "https://registry.yarnpkg.com/istanbul-lib-coverage/-/istanbul-lib-coverage-1.2.0.tgz#f7d8f2e42b97e37fe796114cb0f9d68b5e3a4341" 1068 | 1069 | istanbul-lib-hook@^1.1.0: 1070 | version "1.1.0" 1071 | resolved "https://registry.yarnpkg.com/istanbul-lib-hook/-/istanbul-lib-hook-1.1.0.tgz#8538d970372cb3716d53e55523dd54b557a8d89b" 1072 | dependencies: 1073 | append-transform "^0.4.0" 1074 | 1075 | istanbul-lib-instrument@^1.10.0: 1076 | version "1.10.1" 1077 | resolved "https://registry.yarnpkg.com/istanbul-lib-instrument/-/istanbul-lib-instrument-1.10.1.tgz#724b4b6caceba8692d3f1f9d0727e279c401af7b" 1078 | dependencies: 1079 | babel-generator "^6.18.0" 1080 | babel-template "^6.16.0" 1081 | babel-traverse "^6.18.0" 1082 | babel-types "^6.18.0" 1083 | babylon "^6.18.0" 1084 | istanbul-lib-coverage "^1.2.0" 1085 | semver "^5.3.0" 1086 | 1087 | istanbul-lib-report@^1.1.3: 1088 | version "1.1.3" 1089 | resolved "https://registry.yarnpkg.com/istanbul-lib-report/-/istanbul-lib-report-1.1.3.tgz#2df12188c0fa77990c0d2176d2d0ba3394188259" 1090 | dependencies: 1091 | istanbul-lib-coverage "^1.1.2" 1092 | mkdirp "^0.5.1" 1093 | path-parse "^1.0.5" 1094 | supports-color "^3.1.2" 1095 | 1096 | istanbul-lib-source-maps@^1.2.3: 1097 | version "1.2.3" 1098 | resolved "https://registry.yarnpkg.com/istanbul-lib-source-maps/-/istanbul-lib-source-maps-1.2.3.tgz#20fb54b14e14b3fb6edb6aca3571fd2143db44e6" 1099 | dependencies: 1100 | debug "^3.1.0" 1101 | istanbul-lib-coverage "^1.1.2" 1102 | mkdirp "^0.5.1" 1103 | rimraf "^2.6.1" 1104 | source-map "^0.5.3" 1105 | 1106 | istanbul-reports@^1.4.0: 1107 | version "1.4.0" 1108 | resolved "https://registry.yarnpkg.com/istanbul-reports/-/istanbul-reports-1.4.0.tgz#3d7b44b912ecbe7652a603662b962120739646a1" 1109 | dependencies: 1110 | handlebars "^4.0.3" 1111 | 1112 | jodid25519@^1.0.0: 1113 | version "1.0.2" 1114 | resolved "https://registry.yarnpkg.com/jodid25519/-/jodid25519-1.0.2.tgz#06d4912255093419477d425633606e0e90782967" 1115 | dependencies: 1116 | jsbn "~0.1.0" 1117 | 1118 | js-tokens@^3.0.0: 1119 | version "3.0.1" 1120 | resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-3.0.1.tgz#08e9f132484a2c45a30907e9dc4d5567b7f114d7" 1121 | 1122 | js-yaml@^3.11.0, js-yaml@^3.6.1: 1123 | version "3.11.0" 1124 | resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-3.11.0.tgz#597c1a8bd57152f26d622ce4117851a51f5ebaef" 1125 | dependencies: 1126 | argparse "^1.0.7" 1127 | esprima "^4.0.0" 1128 | 1129 | js-yaml@^3.2.7, js-yaml@^3.3.1: 1130 | version "3.8.2" 1131 | resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-3.8.2.tgz#02d3e2c0f6beab20248d412c352203827d786721" 1132 | dependencies: 1133 | argparse "^1.0.7" 1134 | esprima "^3.1.1" 1135 | 1136 | jsbn@~0.1.0: 1137 | version "0.1.1" 1138 | resolved "https://registry.yarnpkg.com/jsbn/-/jsbn-0.1.1.tgz#a5e654c2e5a2deb5f201d96cefbca80c0ef2f513" 1139 | 1140 | jsesc@^1.3.0: 1141 | version "1.3.0" 1142 | resolved "https://registry.yarnpkg.com/jsesc/-/jsesc-1.3.0.tgz#46c3fec8c1892b12b0833db9bc7622176dbab34b" 1143 | 1144 | json-schema-traverse@^0.3.0: 1145 | version "0.3.1" 1146 | resolved "https://registry.yarnpkg.com/json-schema-traverse/-/json-schema-traverse-0.3.1.tgz#349a6d44c53a51de89b40805c5d5e59b417d3340" 1147 | 1148 | json-schema@0.2.3: 1149 | version "0.2.3" 1150 | resolved "https://registry.yarnpkg.com/json-schema/-/json-schema-0.2.3.tgz#b480c892e59a2f05954ce727bd3f2a4e882f9e13" 1151 | 1152 | json-stringify-safe@~5.0.1: 1153 | version "5.0.1" 1154 | resolved "https://registry.yarnpkg.com/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz#1296a2d58fd45f19a0f6ce01d65701e2c735b6eb" 1155 | 1156 | jsprim@^1.2.2: 1157 | version "1.4.0" 1158 | resolved "https://registry.yarnpkg.com/jsprim/-/jsprim-1.4.0.tgz#a3b87e40298d8c380552d8cc7628a0bb95a22918" 1159 | dependencies: 1160 | assert-plus "1.0.0" 1161 | extsprintf "1.0.2" 1162 | json-schema "0.2.3" 1163 | verror "1.3.6" 1164 | 1165 | kind-of@^3.0.2: 1166 | version "3.1.0" 1167 | resolved "https://registry.yarnpkg.com/kind-of/-/kind-of-3.1.0.tgz#475d698a5e49ff5e53d14e3e732429dc8bf4cf47" 1168 | dependencies: 1169 | is-buffer "^1.0.2" 1170 | 1171 | kind-of@^3.0.3, kind-of@^3.2.0: 1172 | version "3.2.2" 1173 | resolved "https://registry.yarnpkg.com/kind-of/-/kind-of-3.2.2.tgz#31ea21a734bab9bbb0f32466d893aea51e4a3c64" 1174 | dependencies: 1175 | is-buffer "^1.1.5" 1176 | 1177 | kind-of@^4.0.0: 1178 | version "4.0.0" 1179 | resolved "https://registry.yarnpkg.com/kind-of/-/kind-of-4.0.0.tgz#20813df3d712928b207378691a45066fae72dd57" 1180 | dependencies: 1181 | is-buffer "^1.1.5" 1182 | 1183 | kind-of@^5.0.0: 1184 | version "5.1.0" 1185 | resolved "https://registry.yarnpkg.com/kind-of/-/kind-of-5.1.0.tgz#729c91e2d857b7a419a1f9aa65685c4c33f5845d" 1186 | 1187 | kind-of@^6.0.0, kind-of@^6.0.2: 1188 | version "6.0.2" 1189 | resolved "https://registry.yarnpkg.com/kind-of/-/kind-of-6.0.2.tgz#01146b36a6218e64e58f3a8d66de5d7fc6f6d051" 1190 | 1191 | lazy-cache@^1.0.3: 1192 | version "1.0.4" 1193 | resolved "https://registry.yarnpkg.com/lazy-cache/-/lazy-cache-1.0.4.tgz#a1d78fc3a50474cb80845d3b3b6e1da49a446e8e" 1194 | 1195 | lcid@^1.0.0: 1196 | version "1.0.0" 1197 | resolved "https://registry.yarnpkg.com/lcid/-/lcid-1.0.0.tgz#308accafa0bc483a3867b4b6f2b9506251d1b835" 1198 | dependencies: 1199 | invert-kv "^1.0.0" 1200 | 1201 | lcov-parse@^0.0.10: 1202 | version "0.0.10" 1203 | resolved "https://registry.yarnpkg.com/lcov-parse/-/lcov-parse-0.0.10.tgz#1b0b8ff9ac9c7889250582b70b71315d9da6d9a3" 1204 | 1205 | load-json-file@^1.0.0: 1206 | version "1.1.0" 1207 | resolved "https://registry.yarnpkg.com/load-json-file/-/load-json-file-1.1.0.tgz#956905708d58b4bab4c2261b04f59f31c99374c0" 1208 | dependencies: 1209 | graceful-fs "^4.1.2" 1210 | parse-json "^2.2.0" 1211 | pify "^2.0.0" 1212 | pinkie-promise "^2.0.0" 1213 | strip-bom "^2.0.0" 1214 | 1215 | locate-path@^2.0.0: 1216 | version "2.0.0" 1217 | resolved "https://registry.yarnpkg.com/locate-path/-/locate-path-2.0.0.tgz#2b568b265eec944c6d9c0de9c3dbbbca0354cd8e" 1218 | dependencies: 1219 | p-locate "^2.0.0" 1220 | path-exists "^3.0.0" 1221 | 1222 | lodash@^4.2.0: 1223 | version "4.17.4" 1224 | resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.4.tgz#78203a4d1c328ae1d86dca6460e369b57f4055ae" 1225 | 1226 | log-driver@^1.2.5: 1227 | version "1.2.7" 1228 | resolved "https://registry.yarnpkg.com/log-driver/-/log-driver-1.2.7.tgz#63b95021f0702fedfa2c9bb0a24e7797d71871d8" 1229 | 1230 | longest@^1.0.1: 1231 | version "1.0.1" 1232 | resolved "https://registry.yarnpkg.com/longest/-/longest-1.0.1.tgz#30a0b2da38f73770e8294a0d22e6625ed77d0097" 1233 | 1234 | loose-envify@^1.0.0: 1235 | version "1.3.1" 1236 | resolved "https://registry.yarnpkg.com/loose-envify/-/loose-envify-1.3.1.tgz#d1a8ad33fa9ce0e713d65fdd0ac8b748d478c848" 1237 | dependencies: 1238 | js-tokens "^3.0.0" 1239 | 1240 | lru-cache@^4.0.1: 1241 | version "4.0.2" 1242 | resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-4.0.2.tgz#1d17679c069cda5d040991a09dbc2c0db377e55e" 1243 | dependencies: 1244 | pseudomap "^1.0.1" 1245 | yallist "^2.0.0" 1246 | 1247 | map-cache@^0.2.2: 1248 | version "0.2.2" 1249 | resolved "https://registry.yarnpkg.com/map-cache/-/map-cache-0.2.2.tgz#c32abd0bd6525d9b051645bb4f26ac5dc98a0dbf" 1250 | 1251 | map-visit@^1.0.0: 1252 | version "1.0.0" 1253 | resolved "https://registry.yarnpkg.com/map-visit/-/map-visit-1.0.0.tgz#ecdca8f13144e660f1b5bd41f12f3479d98dfb8f" 1254 | dependencies: 1255 | object-visit "^1.0.0" 1256 | 1257 | md5-hex@^1.2.0: 1258 | version "1.3.0" 1259 | resolved "https://registry.yarnpkg.com/md5-hex/-/md5-hex-1.3.0.tgz#d2c4afe983c4370662179b8cad145219135046c4" 1260 | dependencies: 1261 | md5-o-matic "^0.1.1" 1262 | 1263 | md5-o-matic@^0.1.1: 1264 | version "0.1.1" 1265 | resolved "https://registry.yarnpkg.com/md5-o-matic/-/md5-o-matic-0.1.1.tgz#822bccd65e117c514fab176b25945d54100a03c3" 1266 | 1267 | mem@^1.1.0: 1268 | version "1.1.0" 1269 | resolved "https://registry.yarnpkg.com/mem/-/mem-1.1.0.tgz#5edd52b485ca1d900fe64895505399a0dfa45f76" 1270 | dependencies: 1271 | mimic-fn "^1.0.0" 1272 | 1273 | merge-source-map@^1.0.2: 1274 | version "1.0.3" 1275 | resolved "https://registry.yarnpkg.com/merge-source-map/-/merge-source-map-1.0.3.tgz#da1415f2722a5119db07b14c4f973410863a2abf" 1276 | dependencies: 1277 | source-map "^0.5.3" 1278 | 1279 | micromatch@^2.3.11: 1280 | version "2.3.11" 1281 | resolved "https://registry.yarnpkg.com/micromatch/-/micromatch-2.3.11.tgz#86677c97d1720b363431d04d0d15293bd38c1565" 1282 | dependencies: 1283 | arr-diff "^2.0.0" 1284 | array-unique "^0.2.1" 1285 | braces "^1.8.2" 1286 | expand-brackets "^0.1.4" 1287 | extglob "^0.3.1" 1288 | filename-regex "^2.0.0" 1289 | is-extglob "^1.0.0" 1290 | is-glob "^2.0.1" 1291 | kind-of "^3.0.2" 1292 | normalize-path "^2.0.1" 1293 | object.omit "^2.0.0" 1294 | parse-glob "^3.0.4" 1295 | regex-cache "^0.4.2" 1296 | 1297 | micromatch@^3.1.8: 1298 | version "3.1.10" 1299 | resolved "https://registry.yarnpkg.com/micromatch/-/micromatch-3.1.10.tgz#70859bc95c9840952f359a068a3fc49f9ecfac23" 1300 | dependencies: 1301 | arr-diff "^4.0.0" 1302 | array-unique "^0.3.2" 1303 | braces "^2.3.1" 1304 | define-property "^2.0.2" 1305 | extend-shallow "^3.0.2" 1306 | extglob "^2.0.4" 1307 | fragment-cache "^0.2.1" 1308 | kind-of "^6.0.2" 1309 | nanomatch "^1.2.9" 1310 | object.pick "^1.3.0" 1311 | regex-not "^1.0.0" 1312 | snapdragon "^0.8.1" 1313 | to-regex "^3.0.2" 1314 | 1315 | mime-db@~1.27.0: 1316 | version "1.27.0" 1317 | resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.27.0.tgz#820f572296bbd20ec25ed55e5b5de869e5436eb1" 1318 | 1319 | mime-db@~1.33.0: 1320 | version "1.33.0" 1321 | resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.33.0.tgz#a3492050a5cb9b63450541e39d9788d2272783db" 1322 | 1323 | mime-types@^2.1.12: 1324 | version "2.1.15" 1325 | resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-2.1.15.tgz#a4ebf5064094569237b8cf70046776d09fc92aed" 1326 | dependencies: 1327 | mime-db "~1.27.0" 1328 | 1329 | mime-types@~2.1.17: 1330 | version "2.1.18" 1331 | resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-2.1.18.tgz#6f323f60a83d11146f831ff11fd66e2fe5503bb8" 1332 | dependencies: 1333 | mime-db "~1.33.0" 1334 | 1335 | mimic-fn@^1.0.0: 1336 | version "1.2.0" 1337 | resolved "https://registry.yarnpkg.com/mimic-fn/-/mimic-fn-1.2.0.tgz#820c86a39334640e99516928bd03fca88057d022" 1338 | 1339 | minimatch@^3.0.2: 1340 | version "3.0.3" 1341 | resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.0.3.tgz#2a4e4090b96b2db06a9d7df01055a62a77c9b774" 1342 | dependencies: 1343 | brace-expansion "^1.0.0" 1344 | 1345 | minimist@^1.2.0: 1346 | version "1.2.0" 1347 | resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.0.tgz#a35008b20f41383eec1fb914f4cd5df79a264284" 1348 | 1349 | minimist@~0.0.1: 1350 | version "0.0.10" 1351 | resolved "https://registry.yarnpkg.com/minimist/-/minimist-0.0.10.tgz#de3f98543dbf96082be48ad1a0c7cda836301dcf" 1352 | 1353 | minimist@0.0.8: 1354 | version "0.0.8" 1355 | resolved "https://registry.yarnpkg.com/minimist/-/minimist-0.0.8.tgz#857fcabfc3397d2625b8228262e86aa7a011b05d" 1356 | 1357 | minipass@^2.2.0, minipass@^2.2.1: 1358 | version "2.2.4" 1359 | resolved "https://registry.yarnpkg.com/minipass/-/minipass-2.2.4.tgz#03c824d84551ec38a8d1bb5bc350a5a30a354a40" 1360 | dependencies: 1361 | safe-buffer "^5.1.1" 1362 | yallist "^3.0.0" 1363 | 1364 | mixin-deep@^1.2.0: 1365 | version "1.3.1" 1366 | resolved "https://registry.yarnpkg.com/mixin-deep/-/mixin-deep-1.3.1.tgz#a49e7268dce1a0d9698e45326c5626df3543d0fe" 1367 | dependencies: 1368 | for-in "^1.0.2" 1369 | is-extendable "^1.0.1" 1370 | 1371 | mkdirp@^0.5.0, mkdirp@^0.5.1: 1372 | version "0.5.1" 1373 | resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-0.5.1.tgz#30057438eac6cf7f8c4767f38648d6697d75c903" 1374 | dependencies: 1375 | minimist "0.0.8" 1376 | 1377 | ms@0.7.2: 1378 | version "0.7.2" 1379 | resolved "https://registry.yarnpkg.com/ms/-/ms-0.7.2.tgz#ae25cf2512b3885a1d95d7f037868d8431124765" 1380 | 1381 | ms@2.0.0: 1382 | version "2.0.0" 1383 | resolved "https://registry.yarnpkg.com/ms/-/ms-2.0.0.tgz#5608aeadfc00be6c2901df5f9861788de0d597c8" 1384 | 1385 | nan@^2.10.0: 1386 | version "2.10.0" 1387 | resolved "https://registry.yarnpkg.com/nan/-/nan-2.10.0.tgz#96d0cd610ebd58d4b4de9cc0c6828cda99c7548f" 1388 | 1389 | nanomatch@^1.2.9: 1390 | version "1.2.9" 1391 | resolved "https://registry.yarnpkg.com/nanomatch/-/nanomatch-1.2.9.tgz#879f7150cb2dab7a471259066c104eee6e0fa7c2" 1392 | dependencies: 1393 | arr-diff "^4.0.0" 1394 | array-unique "^0.3.2" 1395 | define-property "^2.0.2" 1396 | extend-shallow "^3.0.2" 1397 | fragment-cache "^0.2.1" 1398 | is-odd "^2.0.0" 1399 | is-windows "^1.0.2" 1400 | kind-of "^6.0.2" 1401 | object.pick "^1.3.0" 1402 | regex-not "^1.0.0" 1403 | snapdragon "^0.8.1" 1404 | to-regex "^3.0.1" 1405 | 1406 | normalize-package-data@^2.3.2: 1407 | version "2.3.6" 1408 | resolved "https://registry.yarnpkg.com/normalize-package-data/-/normalize-package-data-2.3.6.tgz#498fa420c96401f787402ba21e600def9f981fff" 1409 | dependencies: 1410 | hosted-git-info "^2.1.4" 1411 | is-builtin-module "^1.0.0" 1412 | semver "2 || 3 || 4 || 5" 1413 | validate-npm-package-license "^3.0.1" 1414 | 1415 | normalize-path@^2.0.1: 1416 | version "2.1.1" 1417 | resolved "https://registry.yarnpkg.com/normalize-path/-/normalize-path-2.1.1.tgz#1ab28b556e198363a8c1a6f7e6fa20137fe6aed9" 1418 | dependencies: 1419 | remove-trailing-separator "^1.0.1" 1420 | 1421 | npm-run-path@^2.0.0: 1422 | version "2.0.2" 1423 | resolved "https://registry.yarnpkg.com/npm-run-path/-/npm-run-path-2.0.2.tgz#35a9232dfa35d7067b4cb2ddf2357b1871536c5f" 1424 | dependencies: 1425 | path-key "^2.0.0" 1426 | 1427 | number-is-nan@^1.0.0: 1428 | version "1.0.1" 1429 | resolved "https://registry.yarnpkg.com/number-is-nan/-/number-is-nan-1.0.1.tgz#097b602b53422a522c1afb8790318336941a011d" 1430 | 1431 | nyc@^11.6.0: 1432 | version "11.7.1" 1433 | resolved "https://registry.yarnpkg.com/nyc/-/nyc-11.7.1.tgz#7cb0a422e501b88ff2c1634341dec2560299d67b" 1434 | dependencies: 1435 | archy "^1.0.0" 1436 | arrify "^1.0.1" 1437 | caching-transform "^1.0.0" 1438 | convert-source-map "^1.5.1" 1439 | debug-log "^1.0.1" 1440 | default-require-extensions "^1.0.0" 1441 | find-cache-dir "^0.1.1" 1442 | find-up "^2.1.0" 1443 | foreground-child "^1.5.3" 1444 | glob "^7.0.6" 1445 | istanbul-lib-coverage "^1.1.2" 1446 | istanbul-lib-hook "^1.1.0" 1447 | istanbul-lib-instrument "^1.10.0" 1448 | istanbul-lib-report "^1.1.3" 1449 | istanbul-lib-source-maps "^1.2.3" 1450 | istanbul-reports "^1.4.0" 1451 | md5-hex "^1.2.0" 1452 | merge-source-map "^1.0.2" 1453 | micromatch "^2.3.11" 1454 | mkdirp "^0.5.0" 1455 | resolve-from "^2.0.0" 1456 | rimraf "^2.5.4" 1457 | signal-exit "^3.0.1" 1458 | spawn-wrap "^1.4.2" 1459 | test-exclude "^4.2.0" 1460 | yargs "11.1.0" 1461 | yargs-parser "^8.0.0" 1462 | 1463 | oauth-sign@~0.8.2: 1464 | version "0.8.2" 1465 | resolved "https://registry.yarnpkg.com/oauth-sign/-/oauth-sign-0.8.2.tgz#46a6ab7f0aead8deae9ec0565780b7d4efeb9d43" 1466 | 1467 | object-assign@^4.1.0: 1468 | version "4.1.1" 1469 | resolved "https://registry.yarnpkg.com/object-assign/-/object-assign-4.1.1.tgz#2109adc7965887cfc05cbbd442cac8bfbb360863" 1470 | 1471 | object-copy@^0.1.0: 1472 | version "0.1.0" 1473 | resolved "https://registry.yarnpkg.com/object-copy/-/object-copy-0.1.0.tgz#7e7d858b781bd7c991a41ba975ed3812754e998c" 1474 | dependencies: 1475 | copy-descriptor "^0.1.0" 1476 | define-property "^0.2.5" 1477 | kind-of "^3.0.3" 1478 | 1479 | object-visit@^1.0.0: 1480 | version "1.0.1" 1481 | resolved "https://registry.yarnpkg.com/object-visit/-/object-visit-1.0.1.tgz#f79c4493af0c5377b59fe39d395e41042dd045bb" 1482 | dependencies: 1483 | isobject "^3.0.0" 1484 | 1485 | object.omit@^2.0.0: 1486 | version "2.0.1" 1487 | resolved "https://registry.yarnpkg.com/object.omit/-/object.omit-2.0.1.tgz#1a9c744829f39dbb858c76ca3579ae2a54ebd1fa" 1488 | dependencies: 1489 | for-own "^0.1.4" 1490 | is-extendable "^0.1.1" 1491 | 1492 | object.pick@^1.3.0: 1493 | version "1.3.0" 1494 | resolved "https://registry.yarnpkg.com/object.pick/-/object.pick-1.3.0.tgz#87a10ac4c1694bd2e1cbf53591a66141fb5dd747" 1495 | dependencies: 1496 | isobject "^3.0.1" 1497 | 1498 | once@^1.3.0: 1499 | version "1.4.0" 1500 | resolved "https://registry.yarnpkg.com/once/-/once-1.4.0.tgz#583b1aa775961d4b113ac17d9c50baef9dd76bd1" 1501 | dependencies: 1502 | wrappy "1" 1503 | 1504 | opener@^1.4.1: 1505 | version "1.4.3" 1506 | resolved "https://registry.yarnpkg.com/opener/-/opener-1.4.3.tgz#5c6da2c5d7e5831e8ffa3964950f8d6674ac90b8" 1507 | 1508 | optimist@^0.6.1: 1509 | version "0.6.1" 1510 | resolved "https://registry.yarnpkg.com/optimist/-/optimist-0.6.1.tgz#da3ea74686fa21a19a111c326e90eb15a0196686" 1511 | dependencies: 1512 | minimist "~0.0.1" 1513 | wordwrap "~0.0.2" 1514 | 1515 | os-homedir@^1.0.1, os-homedir@^1.0.2: 1516 | version "1.0.2" 1517 | resolved "https://registry.yarnpkg.com/os-homedir/-/os-homedir-1.0.2.tgz#ffbc4988336e0e833de0c168c7ef152121aa7fb3" 1518 | 1519 | os-locale@^2.0.0: 1520 | version "2.1.0" 1521 | resolved "https://registry.yarnpkg.com/os-locale/-/os-locale-2.1.0.tgz#42bc2900a6b5b8bd17376c8e882b65afccf24bf2" 1522 | dependencies: 1523 | execa "^0.7.0" 1524 | lcid "^1.0.0" 1525 | mem "^1.1.0" 1526 | 1527 | own-or-env@^1.0.1: 1528 | version "1.0.1" 1529 | resolved "https://registry.yarnpkg.com/own-or-env/-/own-or-env-1.0.1.tgz#54ce601d3bf78236c5c65633aa1c8ec03f8007e4" 1530 | dependencies: 1531 | own-or "^1.0.0" 1532 | 1533 | own-or@^1.0.0: 1534 | version "1.0.0" 1535 | resolved "https://registry.yarnpkg.com/own-or/-/own-or-1.0.0.tgz#4e877fbeda9a2ec8000fbc0bcae39645ee8bf8dc" 1536 | 1537 | p-finally@^1.0.0: 1538 | version "1.0.0" 1539 | resolved "https://registry.yarnpkg.com/p-finally/-/p-finally-1.0.0.tgz#3fbcfb15b899a44123b34b6dcc18b724336a2cae" 1540 | 1541 | p-limit@^1.1.0: 1542 | version "1.2.0" 1543 | resolved "https://registry.yarnpkg.com/p-limit/-/p-limit-1.2.0.tgz#0e92b6bedcb59f022c13d0f1949dc82d15909f1c" 1544 | dependencies: 1545 | p-try "^1.0.0" 1546 | 1547 | p-locate@^2.0.0: 1548 | version "2.0.0" 1549 | resolved "https://registry.yarnpkg.com/p-locate/-/p-locate-2.0.0.tgz#20a0103b222a70c8fd39cc2e580680f3dde5ec43" 1550 | dependencies: 1551 | p-limit "^1.1.0" 1552 | 1553 | p-try@^1.0.0: 1554 | version "1.0.0" 1555 | resolved "https://registry.yarnpkg.com/p-try/-/p-try-1.0.0.tgz#cbc79cdbaf8fd4228e13f621f2b1a237c1b207b3" 1556 | 1557 | parse-glob@^3.0.4: 1558 | version "3.0.4" 1559 | resolved "https://registry.yarnpkg.com/parse-glob/-/parse-glob-3.0.4.tgz#b2c376cfb11f35513badd173ef0bb6e3a388391c" 1560 | dependencies: 1561 | glob-base "^0.3.0" 1562 | is-dotfile "^1.0.0" 1563 | is-extglob "^1.0.0" 1564 | is-glob "^2.0.0" 1565 | 1566 | parse-json@^2.2.0: 1567 | version "2.2.0" 1568 | resolved "https://registry.yarnpkg.com/parse-json/-/parse-json-2.2.0.tgz#f480f40434ef80741f8469099f8dea18f55a4dc9" 1569 | dependencies: 1570 | error-ex "^1.2.0" 1571 | 1572 | pascalcase@^0.1.1: 1573 | version "0.1.1" 1574 | resolved "https://registry.yarnpkg.com/pascalcase/-/pascalcase-0.1.1.tgz#b363e55e8006ca6fe21784d2db22bd15d7917f14" 1575 | 1576 | path-exists@^2.0.0: 1577 | version "2.1.0" 1578 | resolved "https://registry.yarnpkg.com/path-exists/-/path-exists-2.1.0.tgz#0feb6c64f0fc518d9a754dd5efb62c7022761f4b" 1579 | dependencies: 1580 | pinkie-promise "^2.0.0" 1581 | 1582 | path-exists@^3.0.0: 1583 | version "3.0.0" 1584 | resolved "https://registry.yarnpkg.com/path-exists/-/path-exists-3.0.0.tgz#ce0ebeaa5f78cb18925ea7d810d7b59b010fd515" 1585 | 1586 | path-is-absolute@^1.0.0: 1587 | version "1.0.1" 1588 | resolved "https://registry.yarnpkg.com/path-is-absolute/-/path-is-absolute-1.0.1.tgz#174b9268735534ffbc7ace6bf53a5a9e1b5c5f5f" 1589 | 1590 | path-key@^2.0.0: 1591 | version "2.0.1" 1592 | resolved "https://registry.yarnpkg.com/path-key/-/path-key-2.0.1.tgz#411cadb574c5a140d3a4b1910d40d80cc9f40b40" 1593 | 1594 | path-parse@^1.0.5: 1595 | version "1.0.5" 1596 | resolved "https://registry.yarnpkg.com/path-parse/-/path-parse-1.0.5.tgz#3c1adf871ea9cd6c9431b6ea2bd74a0ff055c4c1" 1597 | 1598 | path-type@^1.0.0: 1599 | version "1.1.0" 1600 | resolved "https://registry.yarnpkg.com/path-type/-/path-type-1.1.0.tgz#59c44f7ee491da704da415da5a4070ba4f8fe441" 1601 | dependencies: 1602 | graceful-fs "^4.1.2" 1603 | pify "^2.0.0" 1604 | pinkie-promise "^2.0.0" 1605 | 1606 | performance-now@^2.1.0: 1607 | version "2.1.0" 1608 | resolved "https://registry.yarnpkg.com/performance-now/-/performance-now-2.1.0.tgz#6309f4e0e5fa913ec1c69307ae364b4b377c9e7b" 1609 | 1610 | pify@^2.0.0: 1611 | version "2.3.0" 1612 | resolved "https://registry.yarnpkg.com/pify/-/pify-2.3.0.tgz#ed141a6ac043a849ea588498e7dca8b15330e90c" 1613 | 1614 | pinkie-promise@^2.0.0: 1615 | version "2.0.1" 1616 | resolved "https://registry.yarnpkg.com/pinkie-promise/-/pinkie-promise-2.0.1.tgz#2135d6dfa7a358c069ac9b178776288228450ffa" 1617 | dependencies: 1618 | pinkie "^2.0.0" 1619 | 1620 | pinkie@^2.0.0: 1621 | version "2.0.4" 1622 | resolved "https://registry.yarnpkg.com/pinkie/-/pinkie-2.0.4.tgz#72556b80cfa0d48a974e80e77248e80ed4f7f870" 1623 | 1624 | pkg-dir@^1.0.0: 1625 | version "1.0.0" 1626 | resolved "https://registry.yarnpkg.com/pkg-dir/-/pkg-dir-1.0.0.tgz#7a4b508a8d5bb2d629d447056ff4e9c9314cf3d4" 1627 | dependencies: 1628 | find-up "^1.0.0" 1629 | 1630 | posix-character-classes@^0.1.0: 1631 | version "0.1.1" 1632 | resolved "https://registry.yarnpkg.com/posix-character-classes/-/posix-character-classes-0.1.1.tgz#01eac0fe3b5af71a2a6c02feabb8c1fef7e00eab" 1633 | 1634 | preserve@^0.2.0: 1635 | version "0.2.0" 1636 | resolved "https://registry.yarnpkg.com/preserve/-/preserve-0.2.0.tgz#815ed1f6ebc65926f865b310c0713bcb3315ce4b" 1637 | 1638 | process-nextick-args@~1.0.6: 1639 | version "1.0.7" 1640 | resolved "https://registry.yarnpkg.com/process-nextick-args/-/process-nextick-args-1.0.7.tgz#150e20b756590ad3f91093f25a4f2ad8bff30ba3" 1641 | 1642 | pseudomap@^1.0.1: 1643 | version "1.0.2" 1644 | resolved "https://registry.yarnpkg.com/pseudomap/-/pseudomap-1.0.2.tgz#f052a28da70e618917ef0a8ac34c1ae5a68286b3" 1645 | 1646 | punycode@^1.3.2, punycode@^1.4.1: 1647 | version "1.4.1" 1648 | resolved "https://registry.yarnpkg.com/punycode/-/punycode-1.4.1.tgz#c0d5a63b2718800ad8e1eb0fa5269c84dd41845e" 1649 | 1650 | qs@~6.5.1: 1651 | version "6.5.1" 1652 | resolved "https://registry.yarnpkg.com/qs/-/qs-6.5.1.tgz#349cdf6eef89ec45c12d7d5eb3fc0c870343a6d8" 1653 | 1654 | randomatic@^1.1.3: 1655 | version "1.1.6" 1656 | resolved "https://registry.yarnpkg.com/randomatic/-/randomatic-1.1.6.tgz#110dcabff397e9dcff7c0789ccc0a49adf1ec5bb" 1657 | dependencies: 1658 | is-number "^2.0.2" 1659 | kind-of "^3.0.2" 1660 | 1661 | read-pkg-up@^1.0.1: 1662 | version "1.0.1" 1663 | resolved "https://registry.yarnpkg.com/read-pkg-up/-/read-pkg-up-1.0.1.tgz#9d63c13276c065918d57f002a57f40a1b643fb02" 1664 | dependencies: 1665 | find-up "^1.0.0" 1666 | read-pkg "^1.0.0" 1667 | 1668 | read-pkg@^1.0.0: 1669 | version "1.1.0" 1670 | resolved "https://registry.yarnpkg.com/read-pkg/-/read-pkg-1.1.0.tgz#f5ffaa5ecd29cb31c0474bca7d756b6bb29e3f28" 1671 | dependencies: 1672 | load-json-file "^1.0.0" 1673 | normalize-package-data "^2.3.2" 1674 | path-type "^1.0.0" 1675 | 1676 | readable-stream@^2, readable-stream@^2.1.5: 1677 | version "2.2.6" 1678 | resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-2.2.6.tgz#8b43aed76e71483938d12a8d46c6cf1a00b1f816" 1679 | dependencies: 1680 | buffer-shims "^1.0.0" 1681 | core-util-is "~1.0.0" 1682 | inherits "~2.0.1" 1683 | isarray "~1.0.0" 1684 | process-nextick-args "~1.0.6" 1685 | string_decoder "~0.10.x" 1686 | util-deprecate "~1.0.1" 1687 | 1688 | regenerator-runtime@^0.10.0: 1689 | version "0.10.3" 1690 | resolved "https://registry.yarnpkg.com/regenerator-runtime/-/regenerator-runtime-0.10.3.tgz#8c4367a904b51ea62a908ac310bf99ff90a82a3e" 1691 | 1692 | regex-cache@^0.4.2: 1693 | version "0.4.3" 1694 | resolved "https://registry.yarnpkg.com/regex-cache/-/regex-cache-0.4.3.tgz#9b1a6c35d4d0dfcef5711ae651e8e9d3d7114145" 1695 | dependencies: 1696 | is-equal-shallow "^0.1.3" 1697 | is-primitive "^2.0.0" 1698 | 1699 | regex-not@^1.0.0, regex-not@^1.0.2: 1700 | version "1.0.2" 1701 | resolved "https://registry.yarnpkg.com/regex-not/-/regex-not-1.0.2.tgz#1f4ece27e00b0b65e0247a6810e6a85d83a5752c" 1702 | dependencies: 1703 | extend-shallow "^3.0.2" 1704 | safe-regex "^1.1.0" 1705 | 1706 | remove-trailing-separator@^1.0.1: 1707 | version "1.0.1" 1708 | resolved "https://registry.yarnpkg.com/remove-trailing-separator/-/remove-trailing-separator-1.0.1.tgz#615ebb96af559552d4bf4057c8436d486ab63cc4" 1709 | 1710 | repeat-element@^1.1.2: 1711 | version "1.1.2" 1712 | resolved "https://registry.yarnpkg.com/repeat-element/-/repeat-element-1.1.2.tgz#ef089a178d1483baae4d93eb98b4f9e4e11d990a" 1713 | 1714 | repeat-string@^1.5.2, repeat-string@^1.6.1: 1715 | version "1.6.1" 1716 | resolved "https://registry.yarnpkg.com/repeat-string/-/repeat-string-1.6.1.tgz#8dcae470e1c88abc2d600fff4a776286da75e637" 1717 | 1718 | repeating@^2.0.0: 1719 | version "2.0.1" 1720 | resolved "https://registry.yarnpkg.com/repeating/-/repeating-2.0.1.tgz#5214c53a926d3552707527fbab415dbc08d06dda" 1721 | dependencies: 1722 | is-finite "^1.0.0" 1723 | 1724 | request@^2.79.0: 1725 | version "2.85.0" 1726 | resolved "https://registry.yarnpkg.com/request/-/request-2.85.0.tgz#5a03615a47c61420b3eb99b7dba204f83603e1fa" 1727 | dependencies: 1728 | aws-sign2 "~0.7.0" 1729 | aws4 "^1.6.0" 1730 | caseless "~0.12.0" 1731 | combined-stream "~1.0.5" 1732 | extend "~3.0.1" 1733 | forever-agent "~0.6.1" 1734 | form-data "~2.3.1" 1735 | har-validator "~5.0.3" 1736 | hawk "~6.0.2" 1737 | http-signature "~1.2.0" 1738 | is-typedarray "~1.0.0" 1739 | isstream "~0.1.2" 1740 | json-stringify-safe "~5.0.1" 1741 | mime-types "~2.1.17" 1742 | oauth-sign "~0.8.2" 1743 | performance-now "^2.1.0" 1744 | qs "~6.5.1" 1745 | safe-buffer "^5.1.1" 1746 | stringstream "~0.0.5" 1747 | tough-cookie "~2.3.3" 1748 | tunnel-agent "^0.6.0" 1749 | uuid "^3.1.0" 1750 | 1751 | require-directory@^2.1.1: 1752 | version "2.1.1" 1753 | resolved "https://registry.yarnpkg.com/require-directory/-/require-directory-2.1.1.tgz#8c64ad5fd30dab1c976e2344ffe7f792a6a6df42" 1754 | 1755 | require-main-filename@^1.0.1: 1756 | version "1.0.1" 1757 | resolved "https://registry.yarnpkg.com/require-main-filename/-/require-main-filename-1.0.1.tgz#97f717b69d48784f5f526a6c5aa8ffdda055a4d1" 1758 | 1759 | resolve-from@^2.0.0: 1760 | version "2.0.0" 1761 | resolved "https://registry.yarnpkg.com/resolve-from/-/resolve-from-2.0.0.tgz#9480ab20e94ffa1d9e80a804c7ea147611966b57" 1762 | 1763 | resolve-url@^0.2.1: 1764 | version "0.2.1" 1765 | resolved "https://registry.yarnpkg.com/resolve-url/-/resolve-url-0.2.1.tgz#2c637fe77c893afd2a663fe21aa9080068e2052a" 1766 | 1767 | ret@~0.1.10: 1768 | version "0.1.15" 1769 | resolved "https://registry.yarnpkg.com/ret/-/ret-0.1.15.tgz#b8a4825d5bdb1fc3f6f53c2bc33f81388681c7bc" 1770 | 1771 | right-align@^0.1.1: 1772 | version "0.1.3" 1773 | resolved "https://registry.yarnpkg.com/right-align/-/right-align-0.1.3.tgz#61339b722fe6a3515689210d24e14c96148613ef" 1774 | dependencies: 1775 | align-text "^0.1.1" 1776 | 1777 | rimraf@^2.5.4: 1778 | version "2.6.1" 1779 | resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-2.6.1.tgz#c2338ec643df7a1b7fe5c54fa86f57428a55f33d" 1780 | dependencies: 1781 | glob "^7.0.5" 1782 | 1783 | rimraf@^2.6.1, rimraf@^2.6.2: 1784 | version "2.6.2" 1785 | resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-2.6.2.tgz#2ed8150d24a16ea8651e6d6ef0f47c4158ce7a36" 1786 | dependencies: 1787 | glob "^7.0.5" 1788 | 1789 | safe-buffer@^5.0.1, safe-buffer@^5.1.1: 1790 | version "5.1.1" 1791 | resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.1.1.tgz#893312af69b2123def71f57889001671eeb2c853" 1792 | 1793 | safe-regex@^1.1.0: 1794 | version "1.1.0" 1795 | resolved "https://registry.yarnpkg.com/safe-regex/-/safe-regex-1.1.0.tgz#40a3669f3b077d1e943d44629e157dd48023bf2e" 1796 | dependencies: 1797 | ret "~0.1.10" 1798 | 1799 | semver@^5.3.0, "semver@2 || 3 || 4 || 5": 1800 | version "5.3.0" 1801 | resolved "https://registry.yarnpkg.com/semver/-/semver-5.3.0.tgz#9b2ce5d3de02d17c6012ad326aa6b4d0cf54f94f" 1802 | 1803 | set-blocking@^2.0.0: 1804 | version "2.0.0" 1805 | resolved "https://registry.yarnpkg.com/set-blocking/-/set-blocking-2.0.0.tgz#045f9782d011ae9a6803ddd382b24392b3d890f7" 1806 | 1807 | set-value@^0.4.3: 1808 | version "0.4.3" 1809 | resolved "https://registry.yarnpkg.com/set-value/-/set-value-0.4.3.tgz#7db08f9d3d22dc7f78e53af3c3bf4666ecdfccf1" 1810 | dependencies: 1811 | extend-shallow "^2.0.1" 1812 | is-extendable "^0.1.1" 1813 | is-plain-object "^2.0.1" 1814 | to-object-path "^0.3.0" 1815 | 1816 | set-value@^2.0.0: 1817 | version "2.0.0" 1818 | resolved "https://registry.yarnpkg.com/set-value/-/set-value-2.0.0.tgz#71ae4a88f0feefbbf52d1ea604f3fb315ebb6274" 1819 | dependencies: 1820 | extend-shallow "^2.0.1" 1821 | is-extendable "^0.1.1" 1822 | is-plain-object "^2.0.3" 1823 | split-string "^3.0.1" 1824 | 1825 | shebang-command@^1.2.0: 1826 | version "1.2.0" 1827 | resolved "https://registry.yarnpkg.com/shebang-command/-/shebang-command-1.2.0.tgz#44aac65b695b03398968c39f363fee5deafdf1ea" 1828 | dependencies: 1829 | shebang-regex "^1.0.0" 1830 | 1831 | shebang-regex@^1.0.0: 1832 | version "1.0.0" 1833 | resolved "https://registry.yarnpkg.com/shebang-regex/-/shebang-regex-1.0.0.tgz#da42f49740c0b42db2ca9728571cb190c98efea3" 1834 | 1835 | signal-exit@^3.0.0, signal-exit@^3.0.1, signal-exit@^3.0.2: 1836 | version "3.0.2" 1837 | resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-3.0.2.tgz#b5fdc08f1287ea1178628e415e25132b73646c6d" 1838 | 1839 | slide@^1.1.5: 1840 | version "1.1.6" 1841 | resolved "https://registry.yarnpkg.com/slide/-/slide-1.1.6.tgz#56eb027d65b4d2dce6cb2e2d32c4d4afc9e1d707" 1842 | 1843 | snapdragon-node@^2.0.1: 1844 | version "2.1.1" 1845 | resolved "https://registry.yarnpkg.com/snapdragon-node/-/snapdragon-node-2.1.1.tgz#6c175f86ff14bdb0724563e8f3c1b021a286853b" 1846 | dependencies: 1847 | define-property "^1.0.0" 1848 | isobject "^3.0.0" 1849 | snapdragon-util "^3.0.1" 1850 | 1851 | snapdragon-util@^3.0.1: 1852 | version "3.0.1" 1853 | resolved "https://registry.yarnpkg.com/snapdragon-util/-/snapdragon-util-3.0.1.tgz#f956479486f2acd79700693f6f7b805e45ab56e2" 1854 | dependencies: 1855 | kind-of "^3.2.0" 1856 | 1857 | snapdragon@^0.8.1: 1858 | version "0.8.2" 1859 | resolved "https://registry.yarnpkg.com/snapdragon/-/snapdragon-0.8.2.tgz#64922e7c565b0e14204ba1aa7d6964278d25182d" 1860 | dependencies: 1861 | base "^0.11.1" 1862 | debug "^2.2.0" 1863 | define-property "^0.2.5" 1864 | extend-shallow "^2.0.1" 1865 | map-cache "^0.2.2" 1866 | source-map "^0.5.6" 1867 | source-map-resolve "^0.5.0" 1868 | use "^3.1.0" 1869 | 1870 | sntp@2.x.x: 1871 | version "2.1.0" 1872 | resolved "https://registry.yarnpkg.com/sntp/-/sntp-2.1.0.tgz#2c6cec14fedc2222739caf9b5c3d85d1cc5a2cc8" 1873 | dependencies: 1874 | hoek "4.x.x" 1875 | 1876 | source-map-resolve@^0.5.0: 1877 | version "0.5.1" 1878 | resolved "https://registry.yarnpkg.com/source-map-resolve/-/source-map-resolve-0.5.1.tgz#7ad0f593f2281598e854df80f19aae4b92d7a11a" 1879 | dependencies: 1880 | atob "^2.0.0" 1881 | decode-uri-component "^0.2.0" 1882 | resolve-url "^0.2.1" 1883 | source-map-url "^0.4.0" 1884 | urix "^0.1.0" 1885 | 1886 | source-map-support@^0.5.4: 1887 | version "0.5.4" 1888 | resolved "https://registry.yarnpkg.com/source-map-support/-/source-map-support-0.5.4.tgz#54456efa89caa9270af7cd624cc2f123e51fbae8" 1889 | dependencies: 1890 | source-map "^0.6.0" 1891 | 1892 | source-map-url@^0.4.0: 1893 | version "0.4.0" 1894 | resolved "https://registry.yarnpkg.com/source-map-url/-/source-map-url-0.4.0.tgz#3e935d7ddd73631b97659956d55128e87b5084a3" 1895 | 1896 | source-map@^0.4.4: 1897 | version "0.4.4" 1898 | resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.4.4.tgz#eba4f5da9c0dc999de68032d8b4f76173652036b" 1899 | dependencies: 1900 | amdefine ">=0.0.4" 1901 | 1902 | source-map@^0.5.0, source-map@^0.5.3, source-map@^0.5.6, source-map@~0.5.1: 1903 | version "0.5.6" 1904 | resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.5.6.tgz#75ce38f52bf0733c5a7f0c118d81334a2bb5f412" 1905 | 1906 | source-map@^0.6.0: 1907 | version "0.6.1" 1908 | resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.6.1.tgz#74722af32e9614e9c287a8d0bbde48b5e2f1a263" 1909 | 1910 | spawn-wrap@^1.4.2: 1911 | version "1.4.2" 1912 | resolved "https://registry.yarnpkg.com/spawn-wrap/-/spawn-wrap-1.4.2.tgz#cff58e73a8224617b6561abdc32586ea0c82248c" 1913 | dependencies: 1914 | foreground-child "^1.5.6" 1915 | mkdirp "^0.5.0" 1916 | os-homedir "^1.0.1" 1917 | rimraf "^2.6.2" 1918 | signal-exit "^3.0.2" 1919 | which "^1.3.0" 1920 | 1921 | spdx-correct@~1.0.0: 1922 | version "1.0.2" 1923 | resolved "https://registry.yarnpkg.com/spdx-correct/-/spdx-correct-1.0.2.tgz#4b3073d933ff51f3912f03ac5519498a4150db40" 1924 | dependencies: 1925 | spdx-license-ids "^1.0.2" 1926 | 1927 | spdx-expression-parse@~1.0.0: 1928 | version "1.0.4" 1929 | resolved "https://registry.yarnpkg.com/spdx-expression-parse/-/spdx-expression-parse-1.0.4.tgz#9bdf2f20e1f40ed447fbe273266191fced51626c" 1930 | 1931 | spdx-license-ids@^1.0.2: 1932 | version "1.2.2" 1933 | resolved "https://registry.yarnpkg.com/spdx-license-ids/-/spdx-license-ids-1.2.2.tgz#c9df7a3424594ade6bd11900d596696dc06bac57" 1934 | 1935 | split-string@^3.0.1, split-string@^3.0.2: 1936 | version "3.1.0" 1937 | resolved "https://registry.yarnpkg.com/split-string/-/split-string-3.1.0.tgz#7cb09dda3a86585705c64b39a6466038682e8fe2" 1938 | dependencies: 1939 | extend-shallow "^3.0.0" 1940 | 1941 | sprintf-js@~1.0.2: 1942 | version "1.0.3" 1943 | resolved "https://registry.yarnpkg.com/sprintf-js/-/sprintf-js-1.0.3.tgz#04e6926f662895354f3dd015203633b857297e2c" 1944 | 1945 | sshpk@^1.7.0: 1946 | version "1.11.0" 1947 | resolved "https://registry.yarnpkg.com/sshpk/-/sshpk-1.11.0.tgz#2d8d5ebb4a6fab28ffba37fa62a90f4a3ea59d77" 1948 | dependencies: 1949 | asn1 "~0.2.3" 1950 | assert-plus "^1.0.0" 1951 | dashdash "^1.12.0" 1952 | getpass "^0.1.1" 1953 | optionalDependencies: 1954 | bcrypt-pbkdf "^1.0.0" 1955 | ecc-jsbn "~0.1.1" 1956 | jodid25519 "^1.0.0" 1957 | jsbn "~0.1.0" 1958 | tweetnacl "~0.14.0" 1959 | 1960 | stack-utils@^1.0.0: 1961 | version "1.0.0" 1962 | resolved "https://registry.yarnpkg.com/stack-utils/-/stack-utils-1.0.0.tgz#2392cd8ddbd222492ed6c047960f7414b46c0f83" 1963 | 1964 | static-extend@^0.1.1: 1965 | version "0.1.2" 1966 | resolved "https://registry.yarnpkg.com/static-extend/-/static-extend-0.1.2.tgz#60809c39cbff55337226fd5e0b520f341f1fb5c6" 1967 | dependencies: 1968 | define-property "^0.2.5" 1969 | object-copy "^0.1.0" 1970 | 1971 | string_decoder@~0.10.x: 1972 | version "0.10.31" 1973 | resolved "https://registry.yarnpkg.com/string_decoder/-/string_decoder-0.10.31.tgz#62e203bc41766c6c28c9fc84301dab1c5310fa94" 1974 | 1975 | string-width@^1.0.1: 1976 | version "1.0.2" 1977 | resolved "https://registry.yarnpkg.com/string-width/-/string-width-1.0.2.tgz#118bdf5b8cdc51a2a7e70d211e07e2b0b9b107d3" 1978 | dependencies: 1979 | code-point-at "^1.0.0" 1980 | is-fullwidth-code-point "^1.0.0" 1981 | strip-ansi "^3.0.0" 1982 | 1983 | string-width@^2.0.0, string-width@^2.1.1: 1984 | version "2.1.1" 1985 | resolved "https://registry.yarnpkg.com/string-width/-/string-width-2.1.1.tgz#ab93f27a8dc13d28cac815c462143a6d9012ae9e" 1986 | dependencies: 1987 | is-fullwidth-code-point "^2.0.0" 1988 | strip-ansi "^4.0.0" 1989 | 1990 | stringstream@~0.0.5: 1991 | version "0.0.5" 1992 | resolved "https://registry.yarnpkg.com/stringstream/-/stringstream-0.0.5.tgz#4e484cd4de5a0bbbee18e46307710a8a81621878" 1993 | 1994 | strip-ansi@^3.0.0, strip-ansi@^3.0.1: 1995 | version "3.0.1" 1996 | resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-3.0.1.tgz#6a385fb8853d952d5ff05d0e8aaf94278dc63dcf" 1997 | dependencies: 1998 | ansi-regex "^2.0.0" 1999 | 2000 | strip-ansi@^4.0.0: 2001 | version "4.0.0" 2002 | resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-4.0.0.tgz#a8479022eb1ac368a871389b635262c505ee368f" 2003 | dependencies: 2004 | ansi-regex "^3.0.0" 2005 | 2006 | strip-bom@^2.0.0: 2007 | version "2.0.0" 2008 | resolved "https://registry.yarnpkg.com/strip-bom/-/strip-bom-2.0.0.tgz#6219a85616520491f35788bdbf1447a99c7e6b0e" 2009 | dependencies: 2010 | is-utf8 "^0.2.0" 2011 | 2012 | strip-eof@^1.0.0: 2013 | version "1.0.0" 2014 | resolved "https://registry.yarnpkg.com/strip-eof/-/strip-eof-1.0.0.tgz#bb43ff5598a6eb05d89b59fcd129c983313606bf" 2015 | 2016 | supports-color@^2.0.0: 2017 | version "2.0.0" 2018 | resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-2.0.0.tgz#535d045ce6b6363fa40117084629995e9df324c7" 2019 | 2020 | supports-color@^3.1.2: 2021 | version "3.2.3" 2022 | resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-3.2.3.tgz#65ac0504b3954171d8a64946b2ae3cbb8a5f54f6" 2023 | dependencies: 2024 | has-flag "^1.0.0" 2025 | 2026 | tap-mocha-reporter@^3.0.7: 2027 | version "3.0.7" 2028 | resolved "https://registry.yarnpkg.com/tap-mocha-reporter/-/tap-mocha-reporter-3.0.7.tgz#235e57893b500861ea5d0924965dadfb2f05eaa7" 2029 | dependencies: 2030 | color-support "^1.1.0" 2031 | debug "^2.1.3" 2032 | diff "^1.3.2" 2033 | escape-string-regexp "^1.0.3" 2034 | glob "^7.0.5" 2035 | js-yaml "^3.3.1" 2036 | tap-parser "^5.1.0" 2037 | unicode-length "^1.0.0" 2038 | optionalDependencies: 2039 | readable-stream "^2.1.5" 2040 | 2041 | tap-parser@^5.1.0: 2042 | version "5.3.3" 2043 | resolved "https://registry.yarnpkg.com/tap-parser/-/tap-parser-5.3.3.tgz#53ec8a90f275d6fff43f169e56a679502a741185" 2044 | dependencies: 2045 | events-to-array "^1.0.1" 2046 | js-yaml "^3.2.7" 2047 | optionalDependencies: 2048 | readable-stream "^2" 2049 | 2050 | tap-parser@^7.0.0: 2051 | version "7.0.0" 2052 | resolved "https://registry.yarnpkg.com/tap-parser/-/tap-parser-7.0.0.tgz#54db35302fda2c2ccc21954ad3be22b2cba42721" 2053 | dependencies: 2054 | events-to-array "^1.0.1" 2055 | js-yaml "^3.2.7" 2056 | minipass "^2.2.0" 2057 | 2058 | tap@^11.1.4: 2059 | version "11.1.4" 2060 | resolved "https://registry.yarnpkg.com/tap/-/tap-11.1.4.tgz#bea90823ad86d8564e0a35dc2ef9e917bd5f153e" 2061 | dependencies: 2062 | bind-obj-methods "^2.0.0" 2063 | bluebird "^3.5.1" 2064 | clean-yaml-object "^0.1.0" 2065 | color-support "^1.1.0" 2066 | coveralls "^3.0.0" 2067 | foreground-child "^1.3.3" 2068 | fs-exists-cached "^1.0.0" 2069 | function-loop "^1.0.1" 2070 | glob "^7.0.0" 2071 | isexe "^2.0.0" 2072 | js-yaml "^3.11.0" 2073 | minipass "^2.2.1" 2074 | mkdirp "^0.5.1" 2075 | nyc "^11.6.0" 2076 | opener "^1.4.1" 2077 | os-homedir "^1.0.2" 2078 | own-or "^1.0.0" 2079 | own-or-env "^1.0.1" 2080 | rimraf "^2.6.2" 2081 | signal-exit "^3.0.0" 2082 | source-map-support "^0.5.4" 2083 | stack-utils "^1.0.0" 2084 | tap-mocha-reporter "^3.0.7" 2085 | tap-parser "^7.0.0" 2086 | tmatch "^3.1.0" 2087 | trivial-deferred "^1.0.1" 2088 | tsame "^1.1.2" 2089 | write-file-atomic "^2.3.0" 2090 | yapool "^1.0.0" 2091 | 2092 | test-exclude@^4.2.0: 2093 | version "4.2.1" 2094 | resolved "https://registry.yarnpkg.com/test-exclude/-/test-exclude-4.2.1.tgz#dfa222f03480bca69207ca728b37d74b45f724fa" 2095 | dependencies: 2096 | arrify "^1.0.1" 2097 | micromatch "^3.1.8" 2098 | object-assign "^4.1.0" 2099 | read-pkg-up "^1.0.1" 2100 | require-main-filename "^1.0.1" 2101 | 2102 | tmatch@^3.1.0: 2103 | version "3.1.0" 2104 | resolved "https://registry.yarnpkg.com/tmatch/-/tmatch-3.1.0.tgz#701264fd7582d0144a80c85af3358cca269c71e3" 2105 | 2106 | to-fast-properties@^1.0.1: 2107 | version "1.0.2" 2108 | resolved "https://registry.yarnpkg.com/to-fast-properties/-/to-fast-properties-1.0.2.tgz#f3f5c0c3ba7299a7ef99427e44633257ade43320" 2109 | 2110 | to-object-path@^0.3.0: 2111 | version "0.3.0" 2112 | resolved "https://registry.yarnpkg.com/to-object-path/-/to-object-path-0.3.0.tgz#297588b7b0e7e0ac08e04e672f85c1f4999e17af" 2113 | dependencies: 2114 | kind-of "^3.0.2" 2115 | 2116 | to-regex-range@^2.1.0: 2117 | version "2.1.1" 2118 | resolved "https://registry.yarnpkg.com/to-regex-range/-/to-regex-range-2.1.1.tgz#7c80c17b9dfebe599e27367e0d4dd5590141db38" 2119 | dependencies: 2120 | is-number "^3.0.0" 2121 | repeat-string "^1.6.1" 2122 | 2123 | to-regex@^3.0.1, to-regex@^3.0.2: 2124 | version "3.0.2" 2125 | resolved "https://registry.yarnpkg.com/to-regex/-/to-regex-3.0.2.tgz#13cfdd9b336552f30b51f33a8ae1b42a7a7599ce" 2126 | dependencies: 2127 | define-property "^2.0.2" 2128 | extend-shallow "^3.0.2" 2129 | regex-not "^1.0.2" 2130 | safe-regex "^1.1.0" 2131 | 2132 | tough-cookie@~2.3.3: 2133 | version "2.3.4" 2134 | resolved "https://registry.yarnpkg.com/tough-cookie/-/tough-cookie-2.3.4.tgz#ec60cee38ac675063ffc97a5c18970578ee83655" 2135 | dependencies: 2136 | punycode "^1.4.1" 2137 | 2138 | trim-right@^1.0.1: 2139 | version "1.0.1" 2140 | resolved "https://registry.yarnpkg.com/trim-right/-/trim-right-1.0.1.tgz#cb2e1203067e0c8de1f614094b9fe45704ea6003" 2141 | 2142 | trivial-deferred@^1.0.1: 2143 | version "1.0.1" 2144 | resolved "https://registry.yarnpkg.com/trivial-deferred/-/trivial-deferred-1.0.1.tgz#376d4d29d951d6368a6f7a0ae85c2f4d5e0658f3" 2145 | 2146 | tsame@^1.1.2: 2147 | version "1.1.2" 2148 | resolved "https://registry.yarnpkg.com/tsame/-/tsame-1.1.2.tgz#5ce0002acf685942789c63018797a2aa5e6b03c5" 2149 | 2150 | tunnel-agent@^0.6.0: 2151 | version "0.6.0" 2152 | resolved "https://registry.yarnpkg.com/tunnel-agent/-/tunnel-agent-0.6.0.tgz#27a5dea06b36b04a0a9966774b290868f0fc40fd" 2153 | dependencies: 2154 | safe-buffer "^5.0.1" 2155 | 2156 | tweetnacl@^0.14.3, tweetnacl@~0.14.0: 2157 | version "0.14.5" 2158 | resolved "https://registry.yarnpkg.com/tweetnacl/-/tweetnacl-0.14.5.tgz#5ae68177f192d4456269d108afa93ff8743f4f64" 2159 | 2160 | uglify-js@^2.6: 2161 | version "2.8.21" 2162 | resolved "https://registry.yarnpkg.com/uglify-js/-/uglify-js-2.8.21.tgz#1733f669ae6f82fc90c7b25ec0f5c783ee375314" 2163 | dependencies: 2164 | source-map "~0.5.1" 2165 | yargs "~3.10.0" 2166 | optionalDependencies: 2167 | uglify-to-browserify "~1.0.0" 2168 | 2169 | uglify-to-browserify@~1.0.0: 2170 | version "1.0.2" 2171 | resolved "https://registry.yarnpkg.com/uglify-to-browserify/-/uglify-to-browserify-1.0.2.tgz#6e0924d6bda6b5afe349e39a6d632850a0f882b7" 2172 | 2173 | unicode-length@^1.0.0: 2174 | version "1.0.3" 2175 | resolved "https://registry.yarnpkg.com/unicode-length/-/unicode-length-1.0.3.tgz#5ada7a7fed51841a418a328cf149478ac8358abb" 2176 | dependencies: 2177 | punycode "^1.3.2" 2178 | strip-ansi "^3.0.1" 2179 | 2180 | union-value@^1.0.0: 2181 | version "1.0.0" 2182 | resolved "https://registry.yarnpkg.com/union-value/-/union-value-1.0.0.tgz#5c71c34cb5bad5dcebe3ea0cd08207ba5aa1aea4" 2183 | dependencies: 2184 | arr-union "^3.1.0" 2185 | get-value "^2.0.6" 2186 | is-extendable "^0.1.1" 2187 | set-value "^0.4.3" 2188 | 2189 | unset-value@^1.0.0: 2190 | version "1.0.0" 2191 | resolved "https://registry.yarnpkg.com/unset-value/-/unset-value-1.0.0.tgz#8376873f7d2335179ffb1e6fc3a8ed0dfc8ab559" 2192 | dependencies: 2193 | has-value "^0.3.1" 2194 | isobject "^3.0.0" 2195 | 2196 | urix@^0.1.0: 2197 | version "0.1.0" 2198 | resolved "https://registry.yarnpkg.com/urix/-/urix-0.1.0.tgz#da937f7a62e21fec1fd18d49b35c2935067a6c72" 2199 | 2200 | use@^3.1.0: 2201 | version "3.1.0" 2202 | resolved "https://registry.yarnpkg.com/use/-/use-3.1.0.tgz#14716bf03fdfefd03040aef58d8b4b85f3a7c544" 2203 | dependencies: 2204 | kind-of "^6.0.2" 2205 | 2206 | util-deprecate@~1.0.1: 2207 | version "1.0.2" 2208 | resolved "https://registry.yarnpkg.com/util-deprecate/-/util-deprecate-1.0.2.tgz#450d4dc9fa70de732762fbd2d4a28981419a0ccf" 2209 | 2210 | uuid@^3.1.0: 2211 | version "3.2.1" 2212 | resolved "https://registry.yarnpkg.com/uuid/-/uuid-3.2.1.tgz#12c528bb9d58d0b9265d9a2f6f0fe8be17ff1f14" 2213 | 2214 | validate-npm-package-license@^3.0.1: 2215 | version "3.0.1" 2216 | resolved "https://registry.yarnpkg.com/validate-npm-package-license/-/validate-npm-package-license-3.0.1.tgz#2804babe712ad3379459acfbe24746ab2c303fbc" 2217 | dependencies: 2218 | spdx-correct "~1.0.0" 2219 | spdx-expression-parse "~1.0.0" 2220 | 2221 | varint@^5.0.0: 2222 | version "5.0.0" 2223 | resolved "https://registry.yarnpkg.com/varint/-/varint-5.0.0.tgz#d826b89f7490732fabc0c0ed693ed475dcb29ebf" 2224 | 2225 | verror@1.3.6: 2226 | version "1.3.6" 2227 | resolved "https://registry.yarnpkg.com/verror/-/verror-1.3.6.tgz#cff5df12946d297d2baaefaa2689e25be01c005c" 2228 | dependencies: 2229 | extsprintf "1.0.2" 2230 | 2231 | which-module@^2.0.0: 2232 | version "2.0.0" 2233 | resolved "https://registry.yarnpkg.com/which-module/-/which-module-2.0.0.tgz#d9ef07dce77b9902b8a3a8fa4b31c3e3f7e6e87a" 2234 | 2235 | which@^1.2.9: 2236 | version "1.2.14" 2237 | resolved "https://registry.yarnpkg.com/which/-/which-1.2.14.tgz#9a87c4378f03e827cecaf1acdf56c736c01c14e5" 2238 | dependencies: 2239 | isexe "^2.0.0" 2240 | 2241 | which@^1.3.0: 2242 | version "1.3.0" 2243 | resolved "https://registry.yarnpkg.com/which/-/which-1.3.0.tgz#ff04bdfc010ee547d780bec38e1ac1c2777d253a" 2244 | dependencies: 2245 | isexe "^2.0.0" 2246 | 2247 | window-size@0.1.0: 2248 | version "0.1.0" 2249 | resolved "https://registry.yarnpkg.com/window-size/-/window-size-0.1.0.tgz#5438cd2ea93b202efa3a19fe8887aee7c94f9c9d" 2250 | 2251 | wordwrap@~0.0.2: 2252 | version "0.0.3" 2253 | resolved "https://registry.yarnpkg.com/wordwrap/-/wordwrap-0.0.3.tgz#a3d5da6cd5c0bc0008d37234bbaf1bed63059107" 2254 | 2255 | wordwrap@0.0.2: 2256 | version "0.0.2" 2257 | resolved "https://registry.yarnpkg.com/wordwrap/-/wordwrap-0.0.2.tgz#b79669bb42ecb409f83d583cad52ca17eaa1643f" 2258 | 2259 | wrap-ansi@^2.0.0: 2260 | version "2.1.0" 2261 | resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-2.1.0.tgz#d8fc3d284dd05794fe84973caecdd1cf824fdd85" 2262 | dependencies: 2263 | string-width "^1.0.1" 2264 | strip-ansi "^3.0.1" 2265 | 2266 | wrappy@1: 2267 | version "1.0.2" 2268 | resolved "https://registry.yarnpkg.com/wrappy/-/wrappy-1.0.2.tgz#b5243d8f3ec1aa35f1364605bc0d1036e30ab69f" 2269 | 2270 | write-file-atomic@^1.1.4: 2271 | version "1.3.1" 2272 | resolved "https://registry.yarnpkg.com/write-file-atomic/-/write-file-atomic-1.3.1.tgz#7d45ba32316328dd1ec7d90f60ebc0d845bb759a" 2273 | dependencies: 2274 | graceful-fs "^4.1.11" 2275 | imurmurhash "^0.1.4" 2276 | slide "^1.1.5" 2277 | 2278 | write-file-atomic@^2.3.0: 2279 | version "2.3.0" 2280 | resolved "https://registry.yarnpkg.com/write-file-atomic/-/write-file-atomic-2.3.0.tgz#1ff61575c2e2a4e8e510d6fa4e243cce183999ab" 2281 | dependencies: 2282 | graceful-fs "^4.1.11" 2283 | imurmurhash "^0.1.4" 2284 | signal-exit "^3.0.2" 2285 | 2286 | y18n@^3.2.1: 2287 | version "3.2.1" 2288 | resolved "https://registry.yarnpkg.com/y18n/-/y18n-3.2.1.tgz#6d15fba884c08679c0d77e88e7759e811e07fa41" 2289 | 2290 | yallist@^2.0.0: 2291 | version "2.1.2" 2292 | resolved "https://registry.yarnpkg.com/yallist/-/yallist-2.1.2.tgz#1c11f9218f076089a47dd512f93c6699a6a81d52" 2293 | 2294 | yallist@^3.0.0: 2295 | version "3.0.2" 2296 | resolved "https://registry.yarnpkg.com/yallist/-/yallist-3.0.2.tgz#8452b4bb7e83c7c188d8041c1a837c773d6d8bb9" 2297 | 2298 | yapool@^1.0.0: 2299 | version "1.0.0" 2300 | resolved "https://registry.yarnpkg.com/yapool/-/yapool-1.0.0.tgz#f693f29a315b50d9a9da2646a7a6645c96985b6a" 2301 | 2302 | yargs-parser@^8.0.0: 2303 | version "8.1.0" 2304 | resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-8.1.0.tgz#f1376a33b6629a5d063782944da732631e966950" 2305 | dependencies: 2306 | camelcase "^4.1.0" 2307 | 2308 | yargs-parser@^9.0.2: 2309 | version "9.0.2" 2310 | resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-9.0.2.tgz#9ccf6a43460fe4ed40a9bb68f48d43b8a68cc077" 2311 | dependencies: 2312 | camelcase "^4.1.0" 2313 | 2314 | yargs@~3.10.0: 2315 | version "3.10.0" 2316 | resolved "https://registry.yarnpkg.com/yargs/-/yargs-3.10.0.tgz#f7ee7bd857dd7c1d2d38c0e74efbd681d1431fd1" 2317 | dependencies: 2318 | camelcase "^1.0.2" 2319 | cliui "^2.1.0" 2320 | decamelize "^1.0.0" 2321 | window-size "0.1.0" 2322 | 2323 | yargs@11.1.0: 2324 | version "11.1.0" 2325 | resolved "https://registry.yarnpkg.com/yargs/-/yargs-11.1.0.tgz#90b869934ed6e871115ea2ff58b03f4724ed2d77" 2326 | dependencies: 2327 | cliui "^4.0.0" 2328 | decamelize "^1.1.1" 2329 | find-up "^2.1.0" 2330 | get-caller-file "^1.0.1" 2331 | os-locale "^2.0.0" 2332 | require-directory "^2.1.1" 2333 | require-main-filename "^1.0.1" 2334 | set-blocking "^2.0.0" 2335 | string-width "^2.0.0" 2336 | which-module "^2.0.0" 2337 | y18n "^3.2.1" 2338 | yargs-parser "^9.0.2" 2339 | 2340 | --------------------------------------------------------------------------------