├── .github └── workflows │ ├── release.yml │ └── test.yml ├── .gitignore ├── .jshintignore ├── .jshintrc ├── .npmignore ├── CHANGELOG.md ├── CONTRIBUTING.md ├── CREDITS.md ├── LICENSE ├── Makefile ├── README.md ├── docker-compose.yml ├── examples ├── all_batching.js ├── basic.js ├── custom_format.js ├── manual_batching.js └── retry.js ├── index.js ├── licenses └── LICENSE-SPLUNK-LOGGING ├── package-lock.json ├── package.json ├── scripts └── test_specific.sh └── test ├── test_bunyan.js ├── test_config.js └── test_stream.js /.github/workflows/release.yml: -------------------------------------------------------------------------------- 1 | name: Create Release 2 | on: 3 | release: 4 | types: [published] 5 | jobs: 6 | build: 7 | name: Create Release 8 | runs-on: ubuntu-latest 9 | steps: 10 | - uses: actions/checkout@v2 11 | # Setup .npmrc file to publish to npm 12 | - uses: actions/setup-node@v1 13 | with: 14 | node-version: '14.0' 15 | registry-url: 'https://registry.npmjs.org' 16 | - run: npm install 17 | # Publish to npm 18 | - run: npm publish 19 | env: 20 | NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} 21 | -------------------------------------------------------------------------------- /.github/workflows/test.yml: -------------------------------------------------------------------------------- 1 | name: Node.js CI 2 | 3 | on: 4 | [push, pull_request] 5 | 6 | jobs: 7 | test-execution: 8 | runs-on: ubuntu-latest 9 | strategy: 10 | matrix: 11 | node-version: 12 | - "14.0" 13 | - "10.0" 14 | splunk-version: 15 | - latest 16 | - "8.0" 17 | services: 18 | splunk: 19 | image: splunk/splunk:${{matrix.splunk-version}} 20 | env: 21 | SPLUNK_START_ARGS: --accept-license 22 | SPLUNK_PASSWORD: changed! 23 | ports: 24 | - 8088:8088 25 | - 8089:8089 26 | steps: 27 | - uses: actions/checkout@v2 28 | - name: Use Node.js ${{ matrix.node-version }} 29 | uses: actions/setup-node@v2 30 | with: 31 | node-version: ${{ matrix.node-version }} 32 | - run: npm install 33 | - name: Test Execution 34 | run: npm test 35 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | coverage 2 | node_modules 3 | npm-DEBUG.log 4 | test/config.json 5 | .idea 6 | docs -------------------------------------------------------------------------------- /.jshintignore: -------------------------------------------------------------------------------- 1 | node_modules -------------------------------------------------------------------------------- /.jshintrc: -------------------------------------------------------------------------------- 1 | { 2 | // Settings 3 | "passfail" : false, // Stop on first error. 4 | "maxerr" : 10000, // Maximum error before stopping. 5 | 6 | 7 | // Predefined globals whom JSHint will ignore. 8 | "browser" : true, // Standard browser globals e.g. `window`, `document`. 9 | 10 | "node" : true, 11 | "rhino" : false, 12 | "couch" : false, 13 | "wsh" : false, // Windows Scripting Host. 14 | 15 | "jquery" : true, 16 | "prototypejs" : false, 17 | "mootools" : false, 18 | "dojo" : false, 19 | 20 | "predef" : [ // Custom globals. 21 | //"exampleVar", 22 | //"anotherCoolGlobal", 23 | //"iLoveDouglas", 24 | "__exportName" 25 | ], 26 | 27 | 28 | // Development. 29 | "debug" : false, // Allow debugger statements e.g. browser breakpoints. 30 | "devel" : true, // Allow developments statements e.g. `console.log();`. 31 | 32 | 33 | // EcmaScript 5. 34 | "es5" : false, // Allow EcmaScript 5 syntax. 35 | "strict" : false, // Require `use strict` pragma in every file. 36 | "globalstrict" : false, // Allow global "use strict" (also enables 'strict'). 37 | 38 | 39 | // The Good Parts. 40 | "asi" : false, // Tolerate Automatic Semicolon Insertion (no semicolons). 41 | "laxbreak" : false, // Tolerate unsafe line breaks e.g. `return [\n] x` without semicolons. 42 | "bitwise" : true, // Prohibit bitwise operators (&, |, ^, etc.). 43 | "boss" : false, // Tolerate assignments inside if, for & while. Usually conditions & loops are for comparison, not assignments. 44 | "curly" : true, // Require {} for every new block or scope. 45 | "eqeqeq" : true, // Require triple equals i.e. `===`. 46 | "eqnull" : false, // Tolerate use of `== null`. 47 | "evil" : false, // Tolerate use of `eval`. 48 | "expr" : false, // Tolerate `ExpressionStatement` as Programs. 49 | "forin" : false, // Tolerate `for in` loops without `hasOwnPrototype`. 50 | "immed" : false, // Require immediate invocations to be wrapped in parens e.g. `( function(){}() );` 51 | "latedef" : true, // Prohipit variable use before definition. 52 | "loopfunc" : false, // Allow functions to be defined within loops. 53 | "noarg" : true, // Prohibit use of `arguments.caller` and `arguments.callee`. 54 | "regexp" : false, // Prohibit `.` and `[^...]` in regular expressions. 55 | "regexdash" : false, // Tolerate unescaped last dash i.e. `[-...]`. 56 | "scripturl" : false, // Tolerate script-targeted URLs. 57 | "shadow" : false, // Allows re-define variables later in code e.g. `var x=1; x=2;`. 58 | "supernew" : false, // Tolerate `new function () { ... };` and `new Object;`. 59 | "undef" : true, // Require all non-global variables be declared before they are used. 60 | 61 | 62 | // Personal styling prefrences. 63 | "newcap" : true, // Require capitalization of all constructor functions e.g. `new F()`. 64 | "noempty" : true, // Prohibit use of empty blocks. 65 | "nonew" : true, // Prohibit use of constructors for side-effects. 66 | "nomen" : false, // Prohibit use of initial or trailing underbars in names. 67 | "onevar" : false, // Allow only one `var` statement per function. 68 | "plusplus" : false, // Prohibit use of `++` & `--`. 69 | "sub" : true, // Tolerate all forms of subscript notation besides dot notation e.g. `dict['key']` instead of `dict.key`. 70 | "trailing" : true, // Prohibit trailing whitespaces. // TODO 71 | "white" : false, // Check against strict whitespace and indentation rules. 72 | "unused" : true, 73 | 74 | "globals" : { 75 | /* Mocha */ 76 | "describe" : false, 77 | "it" : false, 78 | "before" : false, 79 | "beforeEach" : false, 80 | "after" : false, 81 | "afterEach" : false 82 | } 83 | } -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- 1 | .idea 2 | coverage 3 | examples 4 | docs 5 | test 6 | .jshintrc 7 | .jshintignore -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- 1 | # Splunk HTTP Event Collector Stream for Bunyan 2 | 3 | ## v0.11.0 4 | 5 | ### New features & APIs 6 | 7 | * Replaced client implementation to use `needle` in lieu of deprecated `request`. 8 | * Replaced client implementation to use `nyc` in lieu of deprecated `istanbul`. 9 | 10 | ### Minor changes 11 | 12 | * Converted CI from Travis to Github Actions and added CD 13 | * Upgrade version of bunyan to 1.8.15. 14 | * Upgrade version of splunk-logging to 0.11.1. 15 | * Upgrade version of jsdoc to 3.6.7. 16 | * Upgrade version of jshint to 2.12.0. 17 | * Upgrade version of mocha to 8.4.0. 18 | 19 | ## v0.10.1 20 | 21 | ### Breaking changes 22 | 23 | * Dropped support for Node.js versions older than 4.0.0. 24 | 25 | ## v0.9.3 26 | 27 | ### Minor changes 28 | 29 | * Update version of `splunk-logging` dependency, allowing new installs to receive security updates to the transitive `request` dependency. 30 | 31 | ## v0.9.2 32 | 33 | ### Bug Fixes 34 | 35 | * Workaround a urlencoding bug in the request library (GitHub issue [#6](https://github.com/splunk/splunk-javascript-logging/issues/6) for the underlying `splunk-logging` library). 36 | * Catch JSON parsing errors from the server without crashing (GitHub issue [#9](https://github.com/splunk/splunk-javascript-logging/issues/9) for the underlying `splunk-logging` library). 37 | 38 | 39 | ## v0.9.1 40 | 41 | ### Bug Fixes 42 | 43 | * Relax port validation for ports < 1000. 44 | 45 | ## v0.9.0 46 | 47 | ### New Features & APIs 48 | 49 | * Added the ability to configure automated batching with 3 settings: `batchInterval`, `maxBatchCount`, & `maxBatchSize`. 50 | * Added the ability to retry sending to Splunk in the case of network errors with the `maxRetries` configuration setting. 51 | * Added the ability to configure a custom Splunk event format by overriding `eventFormatter(message, severity)`. 52 | 53 | ### Breaking Changes 54 | 55 | * Removed the `autoFlush` configuration setting. To achieve the same effect, set `config.maxBatchCount` to `0`. 56 | * Removed support for middleware functions. 57 | * The `context` object has been simplified, `config` and `requestOptions` can no longer be specified there - please use those settings directly on the logger. 58 | 59 | ### Examples 60 | 61 | * Removed the `middleware.js` example. 62 | * Renamed the `batching.js` example to `manual_batching`. 63 | * Added the `all_batching.js`, `custom_format.js`, `retry.js` examples. 64 | 65 | ### Minor changes 66 | 67 | * Significant refactor of internal functions. 68 | 69 | ## v0.8.0 - beta 70 | 71 | * Beta release. -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | # Contributing Guidelines 2 | 3 | ## How to contribute 4 | 5 | If you would like to contribute to this project, see [Contributions to Splunk][indivcontrib] for more information. 6 | 7 | ## Issues & Bug Reports 8 | 9 | If you're seeing some unexpected behavior with this project, please create an [issue on GitHub][issues] with the following information: 10 | 11 | 1. Version of this project you're using (ex: 0.8.0) 12 | 1. Platform version (ex: Windows Server 2012) 13 | 1. Framework version (ex: Node.js 0.10.37) 14 | 1. Splunk version (ex: 6.3.0) 15 | 1. Other relevant information (ex: local/remote environment, Splunk network configuration) 16 | 17 | Alternatively, if you have a Splunk question please ask on [Splunk Answers][answers] 18 | 19 | ## Pull requests 20 | 21 | We love to see pull requests! 22 | 23 | To create a pull request: 24 | 25 | 1. Fill out the [Individual Contributor Agreement][indivcontrib]. 26 | 1. Fork [the repository][repo]. 27 | 1. Make changes to the **`develop`** branch, preferably with tests. 28 | 1. Create a [pull request][pulls] against the **`develop`** branch. 29 | 30 | ## Contact us 31 | 32 | You can [contact support][contact] if you have Splunk related questions. 33 | 34 | You can reach the Developer Platform team at _devinfo@splunk.com_. 35 | 36 | [contributions]: http://dev.splunk.com/view/opensource/SP-CAAAEDM 37 | [indivcontrib]: http://dev.splunk.com/goto/individualcontributions 38 | [companycontrib]: http://dev.splunk.com/view/companycontributions/SP-CAAAEDR 39 | [answers]: http://answers.splunk.com/ 40 | [repo]: https://github.com/splunk/splunk-bunyan-logger 41 | [issues]: https://github.com/splunk/splunk-bunyan-logger/issues 42 | [pulls]: https://github.com/splunk/splunk-bunyan-logger/pulls 43 | [contact]: https://www.splunk.com/en_us/support-and-services.html 44 | -------------------------------------------------------------------------------- /CREDITS.md: -------------------------------------------------------------------------------- 1 | # Third-party software credits 2 | 3 | Some of the components included in the Splunk HTTP Event Collector Stream for Bunyan are licensed under free or open source licenses. We wish to thank the contributors to those projects. 4 | 5 | | Contributor | Description | License | 6 | |:----------- |:----------- |:------- | 7 | | [splunk-logging](https://github.com/splunk/splunk-javascript-logging) | This project provides a simple JavaScript interface for logging to HTTP Event Collector in Splunk Enterprise and Splunk Cloud. | [Apache](https://github.com/splunk/splunk-bunyan-logger/blob/master/licenses/LICENSE-SPLUNK-LOGGING) | -------------------------------------------------------------------------------- /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. -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- 1 | # text reset 2 | NO_COLOR=\033[0m 3 | # green 4 | OK_COLOR=\033[32;01m 5 | # red 6 | ERROR_COLOR=\033[31;01m 7 | # cyan 8 | WARN_COLOR=\033[36;01m 9 | # yellow 10 | ATTN_COLOR=\033[33;01m 11 | 12 | ROOT_DIR := $(shell git rev-parse --show-toplevel) 13 | 14 | VERSION := `git describe --tags --dirty 2>/dev/null` 15 | COMMITHASH := `git rev-parse --short HEAD 2>/dev/null` 16 | DATE := `date "+%FT%T%z"` 17 | 18 | .PHONY: all 19 | all: init test 20 | 21 | init: 22 | @echo "$(ATTN_COLOR)==> init $(NO_COLOR)" 23 | 24 | .PHONY: test 25 | test: 26 | @echo "$(ATTN_COLOR)==> test $(NO_COLOR)" 27 | @npm test 28 | 29 | .PHONY: test_specific 30 | test_specific: 31 | @echo "$(ATTN_COLOR)==> test_specific $(NO_COLOR)" 32 | @sh ./scripts/test_specific.sh 33 | 34 | .PHONY: up 35 | up: 36 | @echo "$(ATTN_COLOR)==> up $(NO_COLOR)" 37 | @docker-compose up -d 38 | 39 | .PHONY: wait_up 40 | wait_up: 41 | @echo "$(ATTN_COLOR)==> wait_up $(NO_COLOR)" 42 | @for i in `seq 0 180`; do if docker exec -it splunk /sbin/checkstate.sh &> /dev/null; then break; fi; printf "\rWaiting for Splunk for %s seconds..." $$i; sleep 1; done 43 | 44 | .PHONY: down 45 | down: 46 | @echo "$(ATTN_COLOR)==> down $(NO_COLOR)" 47 | @docker-compose stop 48 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Splunk HTTP Event Collector Stream for Bunyan 2 | 3 | #### Version 0.11.0 4 | 5 | This project provides a [Bunyan](https://www.npmjs.com/package/bunyan) stream for HTTP Event Collector in Splunk Enterprise and Splunk Cloud. 6 | 7 | ## Requirements 8 | 9 | * Node.js v4 or later. Splunk HTTP Event Collector Stream for Bunyan is tested with Node.js v10.0 and v14.0. 10 | * Splunk Enterprise 6.3.0 or later, or Splunk Cloud. Splunk HTTP Event Collector Stream for Bunyan is tested with Splunk Enterprise 8.0 and 8.2.0. 11 | * An HTTP Event Collector token from your Splunk Enterprise or Splunk Cloud server. 12 | * [Bunyan](https://www.npmjs.com/package/bunyan) (`npm install --save bunyan`). 13 | 14 | ## Installation 15 | 16 | First, update npm to the latest version by running: `sudo npm install npm -g`. 17 | 18 | Then run: `npm install --save splunk-bunyan-logger`. 19 | 20 | ## Usage 21 | 22 | See the `examples` folder for usage examples: 23 | 24 | * `all_batching.js`: Shows how to configure a Bunyan Stream with the 3 batching settings: `batchInterval`, `maxBatchCount`, & `maxBatchSize`. 25 | * `basic.js`: Shows how to configure a Bunyan stream and send a log message to Splunk. 26 | * `custom_format.js`: Shows how to configure a Bunyan Stream to log messages to Splunk using a custom format. 27 | * `manual_batching.js`: Shows how to queue log messages, and send them in batches by manually calling `flush()`. 28 | * `retry.js`: Shows how to configure retries on errors. 29 | 30 | ### Support 31 | 32 | The Splunk HTTP Event Collector Stream for Bunyan is community-supported. 33 | 34 | 1. You can find help through our community on [Splunk Answers](https://community.splunk.com/t5/tag/logging-library-javascript/tg-p) (use the `logging-library-javascript` tag to identify your questions). 35 | 2. File issues on [GitHub](https://github.com/splunk/splunk-bunyan-logger/issues). 36 | 37 | ### SSL 38 | 39 | Note: SSL certificate validation is diabled by default. 40 | To enable it, set `logger.requestOptions.strictSSL = true` on your `SplunkStream` instance: 41 | 42 | ```javascript 43 | var bunyan = require("bunyan"); 44 | var splunkBunyan = require("splunk-bunyan-logger"); 45 | 46 | var config = { 47 | token: "your-token-here", 48 | url: "https://splunk.local:8088" 49 | }; 50 | 51 | var splunkStream = splunkBunyan.createStream(config); 52 | // Enable SSL certificate validation 53 | stream.logger.requestOptions.strictSSL = true; 54 | 55 | // Note: splunkStream must be set to an element in the streams array 56 | var Logger = bunyan.createLogger({ 57 | name: "my logger", 58 | streams: [ 59 | splunkStream 60 | ] 61 | }); 62 | ``` 63 | 64 | ### Basic example 65 | 66 | ```javascript 67 | var bunyan = require("bunyan"); 68 | var splunkBunyan = require("splunk-bunyan-logger"); 69 | 70 | var config = { 71 | token: "your-token-here", 72 | url: "https://splunk.local:8088" 73 | }; 74 | 75 | var splunkStream = splunkBunyan.createStream(config); 76 | 77 | // Note: splunkStream must be set to an element in the streams array 78 | var Logger = bunyan.createLogger({ 79 | name: "my logger", 80 | streams: [ 81 | splunkStream 82 | ] 83 | }); 84 | 85 | var payload = { 86 | // Message can be anything; doesn't have to be an object 87 | message: { 88 | temperature: "70F", 89 | chickenCount: 500 90 | } 91 | }; 92 | 93 | console.log("Sending payload", payload); 94 | Logger.info(payload, "Chicken coup looks stable."); 95 | ``` 96 | 97 | ## Community 98 | 99 | Stay connected with other developers building on Splunk software. 100 | 101 |
devinfo@splunk.com | 106 ||
Issues 110 | | https://github.com/splunk/splunk-bunyan-logger/issues/ | 111 |
Answers 115 | | http://answers.splunk.com/ | 116 |
Blog 120 | | http://blogs.splunk.com/dev/ | 121 |
Twitter 125 | | @splunkdev | 126 |
SplunkStream
instance.
27 | * @property {object[]} contextQueue - Queue of context
objects to be sent to Splunk.
28 | * @property {function} error - A callback function for errors: function(err, context)
.
29 | * Defaults to console.log
both values;
30 | *
31 | * @param {object} config - Configuration settings for a new [SplunkLogger]{@link SplunkLogger}.
32 | * @param {string} config.token - HTTP Event Collector token, required.
33 | * @param {string} [config.name=splunk-javascript-logging/0.11.1] - Name for this logger.
34 | * @param {string} [config.host=localhost] - Hostname or IP address of Splunk server.
35 | * @param {string} [config.maxRetries=0] - How many times to retry when HTTP POST to Splunk fails.
36 | * @param {string} [config.path=/services/collector/event/1.0] - URL path to send data to on the Splunk server.
37 | * @param {string} [config.protocol=https] - Protocol used to communicate with the Splunk server, http
or https
.
38 | * @param {number} [config.port=8088] - HTTP Event Collector port on the Splunk server.
39 | * @param {string} [config.url] - URL string to pass to {@link https://nodejs.org/api/url.html#url_url_parsing|url.parse}. This will try to set
40 | * host
, path
, protocol
, port
, url
. Any of these values will be overwritten if
41 | * the corresponding property is set on config
.
42 | * @param {string} [config.level=info] - Logging level to use, will show up as the severity
field of an event, see
43 | * [SplunkLogger.levels]{@link SplunkLogger#levels} for common levels.
44 | * @param {number} [config.batchInterval=0] - Automatically flush events after this many milliseconds.
45 | * When set to a non-positive value, events will be sent one by one. This setting is ignored when non-positive.
46 | * @param {number} [config.maxBatchSize=0] - Automatically flush events after the size of queued
47 | * events exceeds this many bytes. This setting is ignored when non-positive.
48 | * @param {number} [config.maxBatchCount=1] - Automatically flush events after this many
49 | * events have been queued. Defaults to flush immediately on sending an event. This setting is ignored when non-positive.
50 | * @constructor
51 | * @implements {@link https://nodejs.org/api/stream.html#stream_class_stream_writable|Stream.Writable}
52 | */
53 | var SplunkStream = function (config) {
54 | /** @type {SplunkLogger} */
55 | this.logger = new SplunkLogger(config);
56 |
57 | // If using the common logger's default name, change it
58 | if (this.logger.config.name.match("splunk-javascript-logging/\\d+\\.\\d+\\.\\d+")) {
59 | this.logger.config.name = "splunk-bunyan-logger/0.11.0";
60 | }
61 |
62 | // Overwrite the common library's error callback
63 | var that = this;
64 | this.logger.error = function(err, context) {
65 | try {
66 | that.emit("error", err, context);
67 | } catch(e) {
68 | console.log(e);
69 | }
70 | };
71 |
72 | /* jshint unused:false */
73 | /**
74 | * A callback function called after sending a request to Splunk:
75 | * function(err, response, body)
. Defaults
76 | * to an empty function.
77 | *
78 | * @type {function}
79 | */
80 | this.send = function(err, resp, body) {};
81 | };
82 | util.inherits(SplunkStream, Stream);
83 |
84 | /**
85 | * Returns the configuration for this logger.
86 | * See {@link SplunkStream}.
87 | *
88 | * @returns {Object} Configuration for this logger.
89 | * @public
90 | */
91 | SplunkStream.prototype.config = function() {
92 | return this.logger.config;
93 | };
94 |
95 | /**
96 | * The write()
function for SplunkStream
.
97 | *
98 | * Bunyan will call this function when a user logs a message.
99 | * See [Bunyan raw streams]{@link https://github.com/trentm/node-bunyan#stream-type-raw}.
100 | *
101 | * @param {object} data - The data object is provided by Bunyan.
102 | * @public
103 | */
104 | SplunkStream.prototype.write = function (data) {
105 | if (!data) {
106 | this.emit("error", new Error("Must pass a parameter to write."));
107 | return;
108 | }
109 |
110 | var context = {
111 | message: data,
112 | severity: module.exports.severityFromLevel(data.level),
113 | metadata: {
114 | time: data.time,
115 | host: data.hostname
116 | }
117 | };
118 |
119 | // Remove properties already added to the context
120 | delete context.message.level;
121 | delete context.message.time;
122 | delete context.message.hostname;
123 |
124 | // Clean up any existing metadata
125 | if (data.hasOwnProperty("host")) {
126 | context.metadata.host = data.host;
127 | delete data.host;
128 | }
129 | if (data.hasOwnProperty("source")) {
130 | context.metadata.source = data.source;
131 | delete data.source;
132 | }
133 | if (data.hasOwnProperty("sourcetype")) {
134 | context.metadata.sourcetype = data.sourcetype;
135 | delete data.sourcetype;
136 | }
137 | if (data.hasOwnProperty("index")) {
138 | context.metadata.index = data.index;
139 | delete data.index;
140 | }
141 |
142 | var that = this;
143 | this.logger.send(context, that.send);
144 | };
145 |
146 | /**
147 | * Splunk Bunyan Logger module, to be used with [Bunyan]{@link https://www.npmjs.com/package/bunyan}.
148 | *
149 | * See {@link https://github.com/splunk/splunk-bunyan-logger/tree/master/examples|examples} for usage.
150 | *
151 | * @module SplunkBunyanLogger
152 | * @namespace SplunkBunyanLogger
153 | */
154 | module.exports = {
155 | /**
156 | * Bunyan's logging levels.
157 | *
158 | * @default info
159 | * @readonly
160 | * @enum {string}
161 | * @memberof SplunkBunyanLogger
162 | */
163 | levels: {
164 | TRACE: "trace",
165 | DEBUG: "debug",
166 | INFO: "info",
167 | WARN: "warn",
168 | ERROR: "error",
169 | FATAL: "fatal"
170 | },
171 | /**
172 | * Translates a Bunyan logging level number to the name of the level.
173 | *
174 | * @param {number} level - A Bunyan logging level integer. See {@link SplunkBunyanLogger.levels}
175 | * @returns {string}
176 | * @memberof SplunkBunyanLogger
177 | */
178 | severityFromLevel: function (level) {
179 | switch(level) {
180 | case 10:
181 | return module.exports.levels.TRACE;
182 | case 20:
183 | return module.exports.levels.DEBUG;
184 | case 40:
185 | return module.exports.levels.WARN;
186 | case 50:
187 | return module.exports.levels.ERROR;
188 | case 60:
189 | return module.exports.levels.FATAL;
190 | default:
191 | return module.exports.levels.INFO;
192 | }
193 | },
194 |
195 | /**
196 | * Creates a Bunyan Stream object with the provided config
.
197 | *
198 | * @param {object} config - See {@link SplunkStream}.
199 | * @returns {SplunkBunyanStream} A Bunyan Stream object.
200 | * @memberof SplunkBunyanLogger
201 | */
202 | createStream: function (config) {
203 | var stream = new SplunkStream(config);
204 | /**
205 | * @typedef SplunkBunyanStream
206 | * @property {string} level The logging level for Bunyan.
207 | * @property {string} type Always raw
.
208 | * @property {function} on Takes an event
string, and a callback function.
209 | * The most useful event to listen for is error
.
210 | * See {@link https://nodejs.org/api/events.html#events_emitter_on_event_listener|Node.js events} documentation.
211 | * @property {function} setEventFormatter Overrides the eventFormatter for the underlying SplunkLogger.
212 | * Takes a callback function parameter: function(message, severity)
, where message
213 | * is an object, and severity is a string.
214 | * @property {function} on Adds a listener to to the SplunkStream object, typically used for the error event.
215 | * @property {function} flush Manually sends all queued events to Splunk in a single HTTP request.
216 | * Takes a callback function parameter: function(err, response, body)
.
217 | * @property {SplunkStream} stream See {@link SplunkStream}
218 | */
219 | return {
220 | level: config.level || module.exports.levels.INFO,
221 | type: "raw",
222 | setEventFormatter: function(formatter) {
223 | this.stream.logger.eventFormatter = formatter;
224 | },
225 | on: function(event, callback) {
226 | this.stream.on(event, callback);
227 | },
228 | flush: function(callback) {
229 | // If flush is called with no param, use the send() callback
230 | callback = callback || this.stream.send;
231 | this.stream.logger.flush(callback);
232 | },
233 | stream: stream
234 | };
235 | }
236 | };
--------------------------------------------------------------------------------
/licenses/LICENSE-SPLUNK-LOGGING:
--------------------------------------------------------------------------------
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.
--------------------------------------------------------------------------------
/package-lock.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "splunk-bunyan-logger",
3 | "version": "0.10.1",
4 | "lockfileVersion": 1,
5 | "requires": true,
6 | "dependencies": {
7 | "abbrev": {
8 | "version": "1.0.9",
9 | "resolved": "https://registry.npmjs.org/abbrev/-/abbrev-1.0.9.tgz",
10 | "integrity": "sha1-kbR5JYinc4wl813W9jdSovh3YTU=",
11 | "dev": true
12 | },
13 | "ajv": {
14 | "version": "5.5.2",
15 | "resolved": "https://registry.npmjs.org/ajv/-/ajv-5.5.2.tgz",
16 | "integrity": "sha1-c7Xuyj+rZT49P5Qis0GtQiBdyWU=",
17 | "requires": {
18 | "co": "^4.6.0",
19 | "fast-deep-equal": "^1.0.0",
20 | "fast-json-stable-stringify": "^2.0.0",
21 | "json-schema-traverse": "^0.3.0"
22 | }
23 | },
24 | "amdefine": {
25 | "version": "1.0.1",
26 | "resolved": "https://registry.npmjs.org/amdefine/-/amdefine-1.0.1.tgz",
27 | "integrity": "sha1-SlKCrBZHKek2Gbz9OtFR+BfOkfU=",
28 | "dev": true,
29 | "optional": true
30 | },
31 | "argparse": {
32 | "version": "1.0.10",
33 | "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz",
34 | "integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==",
35 | "dev": true,
36 | "requires": {
37 | "sprintf-js": "~1.0.2"
38 | }
39 | },
40 | "asn1": {
41 | "version": "0.2.4",
42 | "resolved": "https://registry.npmjs.org/asn1/-/asn1-0.2.4.tgz",
43 | "integrity": "sha512-jxwzQpLQjSmWXgwaCZE9Nz+glAG01yF1QnWgbhGwHI5A6FRIEY6IVqtHhIepHqI7/kyEyQEagBC5mBEFlIYvdg==",
44 | "requires": {
45 | "safer-buffer": "~2.1.0"
46 | }
47 | },
48 | "assert-plus": {
49 | "version": "1.0.0",
50 | "resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz",
51 | "integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU="
52 | },
53 | "async": {
54 | "version": "1.5.2",
55 | "resolved": "http://registry.npmjs.org/async/-/async-1.5.2.tgz",
56 | "integrity": "sha1-7GphrlZIDAw8skHJVhjiCJL5Zyo=",
57 | "dev": true
58 | },
59 | "asynckit": {
60 | "version": "0.4.0",
61 | "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz",
62 | "integrity": "sha1-x57Zf380y48robyXkLzDZkdLS3k="
63 | },
64 | "aws-sign2": {
65 | "version": "0.7.0",
66 | "resolved": "https://registry.npmjs.org/aws-sign2/-/aws-sign2-0.7.0.tgz",
67 | "integrity": "sha1-tG6JCTSpWR8tL2+G1+ap8bP+dqg="
68 | },
69 | "aws4": {
70 | "version": "1.8.0",
71 | "resolved": "https://registry.npmjs.org/aws4/-/aws4-1.8.0.tgz",
72 | "integrity": "sha512-ReZxvNHIOv88FlT7rxcXIIC0fPt4KZqZbOlivyWtXLt8ESx84zd3kMC6iK5jVeS2qt+g7ftS7ye4fi06X5rtRQ=="
73 | },
74 | "babylon": {
75 | "version": "7.0.0-beta.19",
76 | "resolved": "https://registry.npmjs.org/babylon/-/babylon-7.0.0-beta.19.tgz",
77 | "integrity": "sha512-Vg0C9s/REX6/WIXN37UKpv5ZhRi6A4pjHlpkE34+8/a6c2W1Q692n3hmc+SZG5lKRnaExLUbxtJ1SVT+KaCQ/A==",
78 | "dev": true
79 | },
80 | "balanced-match": {
81 | "version": "0.4.2",
82 | "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-0.4.2.tgz",
83 | "integrity": "sha1-yz8+PHMtwPAe5wtAPzAuYddwmDg=",
84 | "dev": true
85 | },
86 | "bcrypt-pbkdf": {
87 | "version": "1.0.2",
88 | "resolved": "https://registry.npmjs.org/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.2.tgz",
89 | "integrity": "sha1-pDAdOJtqQ/m2f/PKEaP2Y342Dp4=",
90 | "requires": {
91 | "tweetnacl": "^0.14.3"
92 | }
93 | },
94 | "bluebird": {
95 | "version": "3.5.2",
96 | "resolved": "https://registry.npmjs.org/bluebird/-/bluebird-3.5.2.tgz",
97 | "integrity": "sha512-dhHTWMI7kMx5whMQntl7Vr9C6BvV10lFXDAasnqnrMYhXVCzzk6IO9Fo2L75jXHT07WrOngL1WDXOp+yYS91Yg==",
98 | "dev": true
99 | },
100 | "brace-expansion": {
101 | "version": "1.1.7",
102 | "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.7.tgz",
103 | "integrity": "sha1-Pv/DxQ4ABTH7cg6v+A8K6O8jz1k=",
104 | "dev": true,
105 | "requires": {
106 | "balanced-match": "^0.4.1",
107 | "concat-map": "0.0.1"
108 | }
109 | },
110 | "browser-stdout": {
111 | "version": "1.3.1",
112 | "resolved": "https://registry.npmjs.org/browser-stdout/-/browser-stdout-1.3.1.tgz",
113 | "integrity": "sha512-qhAVI1+Av2X7qelOfAIYwXONood6XlZE/fXaBSmW/T5SzLAmCgzi+eiWE7fUvbHaeNBQH13UftjpXxsfLkMpgw==",
114 | "dev": true
115 | },
116 | "buffer-from": {
117 | "version": "1.1.1",
118 | "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.1.tgz",
119 | "integrity": "sha512-MQcXEUbCKtEo7bhqEs6560Hyd4XaovZlO/k9V3hjVUF/zwW7KBVdSK4gIt/bzwS9MbR5qob+F5jusZsb0YQK2A==",
120 | "dev": true,
121 | "optional": true
122 | },
123 | "bunyan": {
124 | "version": "1.4.0",
125 | "resolved": "https://registry.npmjs.org/bunyan/-/bunyan-1.4.0.tgz",
126 | "integrity": "sha1-tuZqzntt14gPQUpbje7H4nPuxec=",
127 | "dev": true,
128 | "requires": {
129 | "dtrace-provider": "~0.5",
130 | "mv": "~2",
131 | "safe-json-stringify": "~1"
132 | }
133 | },
134 | "caseless": {
135 | "version": "0.12.0",
136 | "resolved": "https://registry.npmjs.org/caseless/-/caseless-0.12.0.tgz",
137 | "integrity": "sha1-G2gcIf+EAzyCZUMJBolCDRhxUdw="
138 | },
139 | "catharsis": {
140 | "version": "0.8.9",
141 | "resolved": "https://registry.npmjs.org/catharsis/-/catharsis-0.8.9.tgz",
142 | "integrity": "sha1-mMyJDKZS3S7w5ws3klMQ/56Q/Is=",
143 | "dev": true,
144 | "requires": {
145 | "underscore-contrib": "~0.3.0"
146 | }
147 | },
148 | "cli": {
149 | "version": "1.0.1",
150 | "resolved": "https://registry.npmjs.org/cli/-/cli-1.0.1.tgz",
151 | "integrity": "sha1-IoF1NPJL+klQw01TLUjsvGIbjBQ=",
152 | "dev": true,
153 | "requires": {
154 | "exit": "0.1.2",
155 | "glob": "^7.1.1"
156 | },
157 | "dependencies": {
158 | "glob": {
159 | "version": "7.1.3",
160 | "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.3.tgz",
161 | "integrity": "sha512-vcfuiIxogLV4DlGBHIUOwI0IbrJ8HWPc4MU7HzviGeNho/UJDfi6B5p3sHeWIQ0KGIU0Jpxi5ZHxemQfLkkAwQ==",
162 | "dev": true,
163 | "requires": {
164 | "fs.realpath": "^1.0.0",
165 | "inflight": "^1.0.4",
166 | "inherits": "2",
167 | "minimatch": "^3.0.4",
168 | "once": "^1.3.0",
169 | "path-is-absolute": "^1.0.0"
170 | }
171 | },
172 | "minimatch": {
173 | "version": "3.0.4",
174 | "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz",
175 | "integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==",
176 | "dev": true,
177 | "requires": {
178 | "brace-expansion": "^1.1.7"
179 | }
180 | }
181 | }
182 | },
183 | "co": {
184 | "version": "4.6.0",
185 | "resolved": "https://registry.npmjs.org/co/-/co-4.6.0.tgz",
186 | "integrity": "sha1-bqa989hTrlTMuOR7+gvz+QMfsYQ="
187 | },
188 | "colors": {
189 | "version": "1.0.3",
190 | "resolved": "https://registry.npmjs.org/colors/-/colors-1.0.3.tgz",
191 | "integrity": "sha1-BDP0TYCWgP3rYO0mDxsMJi6CpAs=",
192 | "dev": true,
193 | "optional": true
194 | },
195 | "combined-stream": {
196 | "version": "1.0.7",
197 | "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.7.tgz",
198 | "integrity": "sha512-brWl9y6vOB1xYPZcpZde3N9zDByXTosAeMDo4p1wzo6UMOX4vumB+TP1RZ76sfE6Md68Q0NJSrE/gbezd4Ul+w==",
199 | "requires": {
200 | "delayed-stream": "~1.0.0"
201 | }
202 | },
203 | "commander": {
204 | "version": "2.15.1",
205 | "resolved": "http://registry.npmjs.org/commander/-/commander-2.15.1.tgz",
206 | "integrity": "sha512-VlfT9F3V0v+jr4yxPc5gg9s62/fIVWsd2Bk2iD435um1NlGMYdVCq+MjcXnhYq2icNOizHr1kK+5TI6H0Hy0ag==",
207 | "dev": true
208 | },
209 | "concat-map": {
210 | "version": "0.0.1",
211 | "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz",
212 | "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=",
213 | "dev": true
214 | },
215 | "concat-stream": {
216 | "version": "1.6.2",
217 | "resolved": "https://registry.npmjs.org/concat-stream/-/concat-stream-1.6.2.tgz",
218 | "integrity": "sha512-27HBghJxjiZtIk3Ycvn/4kbJk/1uZuJFfuPEns6LaEvpvG1f0hTea8lilrouyo9mVc2GWdcEZ8OLoGmSADlrCw==",
219 | "dev": true,
220 | "optional": true,
221 | "requires": {
222 | "buffer-from": "^1.0.0",
223 | "inherits": "^2.0.3",
224 | "readable-stream": "^2.2.2",
225 | "typedarray": "^0.0.6"
226 | },
227 | "dependencies": {
228 | "isarray": {
229 | "version": "1.0.0",
230 | "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz",
231 | "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=",
232 | "dev": true,
233 | "optional": true
234 | },
235 | "readable-stream": {
236 | "version": "2.3.6",
237 | "resolved": "http://registry.npmjs.org/readable-stream/-/readable-stream-2.3.6.tgz",
238 | "integrity": "sha512-tQtKA9WIAhBF3+VLAseyMqZeBjW0AHJoxOtYqSUZNJxauErmLbVm2FW1y+J/YA9dUrAC39ITejlZWhVIwawkKw==",
239 | "dev": true,
240 | "optional": true,
241 | "requires": {
242 | "core-util-is": "~1.0.0",
243 | "inherits": "~2.0.3",
244 | "isarray": "~1.0.0",
245 | "process-nextick-args": "~2.0.0",
246 | "safe-buffer": "~5.1.1",
247 | "string_decoder": "~1.1.1",
248 | "util-deprecate": "~1.0.1"
249 | }
250 | },
251 | "string_decoder": {
252 | "version": "1.1.1",
253 | "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz",
254 | "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==",
255 | "dev": true,
256 | "optional": true,
257 | "requires": {
258 | "safe-buffer": "~5.1.0"
259 | }
260 | }
261 | }
262 | },
263 | "console-browserify": {
264 | "version": "1.1.0",
265 | "resolved": "https://registry.npmjs.org/console-browserify/-/console-browserify-1.1.0.tgz",
266 | "integrity": "sha1-8CQcRXMKn8YyOyBtvzjtx0HQuxA=",
267 | "dev": true,
268 | "requires": {
269 | "date-now": "^0.1.4"
270 | }
271 | },
272 | "core-util-is": {
273 | "version": "1.0.2",
274 | "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz",
275 | "integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac="
276 | },
277 | "cycle": {
278 | "version": "1.0.3",
279 | "resolved": "https://registry.npmjs.org/cycle/-/cycle-1.0.3.tgz",
280 | "integrity": "sha1-IegLK+hYD5i0aPN5QwZisEbDStI=",
281 | "dev": true,
282 | "optional": true
283 | },
284 | "dashdash": {
285 | "version": "1.14.1",
286 | "resolved": "https://registry.npmjs.org/dashdash/-/dashdash-1.14.1.tgz",
287 | "integrity": "sha1-hTz6D3y+L+1d4gMmuN1YEDX24vA=",
288 | "requires": {
289 | "assert-plus": "^1.0.0"
290 | }
291 | },
292 | "date-now": {
293 | "version": "0.1.4",
294 | "resolved": "https://registry.npmjs.org/date-now/-/date-now-0.1.4.tgz",
295 | "integrity": "sha1-6vQ5/U1ISK105cx9vvIAZyueNFs=",
296 | "dev": true
297 | },
298 | "debug": {
299 | "version": "3.1.0",
300 | "resolved": "https://registry.npmjs.org/debug/-/debug-3.1.0.tgz",
301 | "integrity": "sha512-OX8XqP7/1a9cqkxYw2yXss15f26NKWBpDXQd0/uK/KPqdQhxbPa994hnzjcE2VqQpDslf55723cKPUOGSmMY3g==",
302 | "dev": true,
303 | "requires": {
304 | "ms": "2.0.0"
305 | }
306 | },
307 | "deep-is": {
308 | "version": "0.1.3",
309 | "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.3.tgz",
310 | "integrity": "sha1-s2nW+128E+7PUk+RsHD+7cNXzzQ=",
311 | "dev": true
312 | },
313 | "delayed-stream": {
314 | "version": "1.0.0",
315 | "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz",
316 | "integrity": "sha1-3zrhmayt+31ECqrgsp4icrJOxhk="
317 | },
318 | "diff": {
319 | "version": "3.5.0",
320 | "resolved": "https://registry.npmjs.org/diff/-/diff-3.5.0.tgz",
321 | "integrity": "sha512-A46qtFgd+g7pDZinpnwiRJtxbC1hpgf0uzP3iG89scHk0AUC7A1TGxf5OiiOUv/JMZR8GOt8hL900hV0bOy5xA==",
322 | "dev": true
323 | },
324 | "dom-serializer": {
325 | "version": "0.1.0",
326 | "resolved": "https://registry.npmjs.org/dom-serializer/-/dom-serializer-0.1.0.tgz",
327 | "integrity": "sha1-BzxpdUbOB4DOI75KKOKT5AvDDII=",
328 | "dev": true,
329 | "requires": {
330 | "domelementtype": "~1.1.1",
331 | "entities": "~1.1.1"
332 | },
333 | "dependencies": {
334 | "domelementtype": {
335 | "version": "1.1.3",
336 | "resolved": "http://registry.npmjs.org/domelementtype/-/domelementtype-1.1.3.tgz",
337 | "integrity": "sha1-vSh3PiZCiBrsUVRJJCmcXNgiGFs=",
338 | "dev": true
339 | },
340 | "entities": {
341 | "version": "1.1.2",
342 | "resolved": "https://registry.npmjs.org/entities/-/entities-1.1.2.tgz",
343 | "integrity": "sha512-f2LZMYl1Fzu7YSBKg+RoROelpOaNrcGmE9AZubeDfrCEia483oW4MI4VyFd5VNHIgQ/7qm1I0wUHK1eJnn2y2w==",
344 | "dev": true
345 | }
346 | }
347 | },
348 | "domelementtype": {
349 | "version": "1.2.1",
350 | "resolved": "https://registry.npmjs.org/domelementtype/-/domelementtype-1.2.1.tgz",
351 | "integrity": "sha512-SQVCLFS2E7G5CRCMdn6K9bIhRj1bS6QBWZfF0TUPh4V/BbqrQ619IdSS3/izn0FZ+9l+uODzaZjb08fjOfablA==",
352 | "dev": true
353 | },
354 | "domhandler": {
355 | "version": "2.3.0",
356 | "resolved": "https://registry.npmjs.org/domhandler/-/domhandler-2.3.0.tgz",
357 | "integrity": "sha1-LeWaCCLVAn+r/28DLCsloqir5zg=",
358 | "dev": true,
359 | "requires": {
360 | "domelementtype": "1"
361 | }
362 | },
363 | "domutils": {
364 | "version": "1.5.1",
365 | "resolved": "https://registry.npmjs.org/domutils/-/domutils-1.5.1.tgz",
366 | "integrity": "sha1-3NhIiib1Y9YQeeSMn3t+Mjc2gs8=",
367 | "dev": true,
368 | "requires": {
369 | "dom-serializer": "0",
370 | "domelementtype": "1"
371 | }
372 | },
373 | "dtrace-provider": {
374 | "version": "0.5.0",
375 | "resolved": "https://registry.npmjs.org/dtrace-provider/-/dtrace-provider-0.5.0.tgz",
376 | "integrity": "sha1-P9263Rga7YP8iJpTXFcD9U5Vn+o=",
377 | "dev": true,
378 | "optional": true,
379 | "requires": {
380 | "nan": "~1.8.4"
381 | }
382 | },
383 | "ecc-jsbn": {
384 | "version": "0.1.2",
385 | "resolved": "https://registry.npmjs.org/ecc-jsbn/-/ecc-jsbn-0.1.2.tgz",
386 | "integrity": "sha1-OoOpBOVDUyh4dMVkt1SThoSamMk=",
387 | "requires": {
388 | "jsbn": "~0.1.0",
389 | "safer-buffer": "^2.1.0"
390 | }
391 | },
392 | "entities": {
393 | "version": "1.0.0",
394 | "resolved": "http://registry.npmjs.org/entities/-/entities-1.0.0.tgz",
395 | "integrity": "sha1-sph6o4ITR/zeZCsk/fyeT7cSvyY=",
396 | "dev": true
397 | },
398 | "es6-promise": {
399 | "version": "4.2.5",
400 | "resolved": "https://registry.npmjs.org/es6-promise/-/es6-promise-4.2.5.tgz",
401 | "integrity": "sha512-n6wvpdE43VFtJq+lUDYDBFUwV8TZbuGXLV4D6wKafg13ldznKsyEvatubnmUe31zcvelSzOHF+XbaT+Bl9ObDg==",
402 | "dev": true,
403 | "optional": true
404 | },
405 | "escape-string-regexp": {
406 | "version": "1.0.5",
407 | "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz",
408 | "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=",
409 | "dev": true
410 | },
411 | "escodegen": {
412 | "version": "1.8.1",
413 | "resolved": "https://registry.npmjs.org/escodegen/-/escodegen-1.8.1.tgz",
414 | "integrity": "sha1-WltTr0aTEQvrsIZ6o0MN07cKEBg=",
415 | "dev": true,
416 | "requires": {
417 | "esprima": "^2.7.1",
418 | "estraverse": "^1.9.1",
419 | "esutils": "^2.0.2",
420 | "optionator": "^0.8.1",
421 | "source-map": "~0.2.0"
422 | }
423 | },
424 | "esprima": {
425 | "version": "2.7.3",
426 | "resolved": "https://registry.npmjs.org/esprima/-/esprima-2.7.3.tgz",
427 | "integrity": "sha1-luO3DVd59q1JzQMmc9HDEnZ7pYE=",
428 | "dev": true
429 | },
430 | "estraverse": {
431 | "version": "1.9.3",
432 | "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-1.9.3.tgz",
433 | "integrity": "sha1-r2fy3JIlgkFZUJJgkaQAXSnJu0Q=",
434 | "dev": true
435 | },
436 | "esutils": {
437 | "version": "2.0.2",
438 | "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.2.tgz",
439 | "integrity": "sha1-Cr9PHKpbyx96nYrMbepPqqBLrJs=",
440 | "dev": true
441 | },
442 | "exit": {
443 | "version": "0.1.2",
444 | "resolved": "https://registry.npmjs.org/exit/-/exit-0.1.2.tgz",
445 | "integrity": "sha1-BjJjj42HfMghB9MKD/8aF8uhzQw=",
446 | "dev": true
447 | },
448 | "extend": {
449 | "version": "3.0.2",
450 | "resolved": "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz",
451 | "integrity": "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g=="
452 | },
453 | "extract-zip": {
454 | "version": "1.6.7",
455 | "resolved": "https://registry.npmjs.org/extract-zip/-/extract-zip-1.6.7.tgz",
456 | "integrity": "sha1-qEC0uK9kAyZMjbV/Txp0Mz74H+k=",
457 | "dev": true,
458 | "optional": true,
459 | "requires": {
460 | "concat-stream": "1.6.2",
461 | "debug": "2.6.9",
462 | "mkdirp": "0.5.1",
463 | "yauzl": "2.4.1"
464 | },
465 | "dependencies": {
466 | "debug": {
467 | "version": "2.6.9",
468 | "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz",
469 | "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==",
470 | "dev": true,
471 | "optional": true,
472 | "requires": {
473 | "ms": "2.0.0"
474 | }
475 | },
476 | "ms": {
477 | "version": "2.0.0",
478 | "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz",
479 | "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=",
480 | "dev": true,
481 | "optional": true
482 | }
483 | }
484 | },
485 | "extsprintf": {
486 | "version": "1.3.0",
487 | "resolved": "https://registry.npmjs.org/extsprintf/-/extsprintf-1.3.0.tgz",
488 | "integrity": "sha1-lpGEQOMEGnpBT4xS48V06zw+HgU="
489 | },
490 | "eyes": {
491 | "version": "0.1.8",
492 | "resolved": "https://registry.npmjs.org/eyes/-/eyes-0.1.8.tgz",
493 | "integrity": "sha1-Ys8SAjTGg3hdkCNIqADvPgzCC8A=",
494 | "dev": true,
495 | "optional": true
496 | },
497 | "fast-deep-equal": {
498 | "version": "1.1.0",
499 | "resolved": "http://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-1.1.0.tgz",
500 | "integrity": "sha1-wFNHeBfIa1HaqFPIHgWbcz0CNhQ="
501 | },
502 | "fast-json-stable-stringify": {
503 | "version": "2.0.0",
504 | "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.0.0.tgz",
505 | "integrity": "sha1-1RQsDK7msRifh9OnYREGT4bIu/I="
506 | },
507 | "fast-levenshtein": {
508 | "version": "2.0.6",
509 | "resolved": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz",
510 | "integrity": "sha1-PYpcZog6FqMMqGQ+hR8Zuqd5eRc=",
511 | "dev": true
512 | },
513 | "fd-slicer": {
514 | "version": "1.0.1",
515 | "resolved": "https://registry.npmjs.org/fd-slicer/-/fd-slicer-1.0.1.tgz",
516 | "integrity": "sha1-i1vL2ewyfFBBv5qwI/1nUPEXfmU=",
517 | "dev": true,
518 | "optional": true,
519 | "requires": {
520 | "pend": "~1.2.0"
521 | }
522 | },
523 | "forever-agent": {
524 | "version": "0.6.1",
525 | "resolved": "https://registry.npmjs.org/forever-agent/-/forever-agent-0.6.1.tgz",
526 | "integrity": "sha1-+8cfDEGt6zf5bFd60e1C2P2sypE="
527 | },
528 | "form-data": {
529 | "version": "2.3.3",
530 | "resolved": "https://registry.npmjs.org/form-data/-/form-data-2.3.3.tgz",
531 | "integrity": "sha512-1lLKB2Mu3aGP1Q/2eCOx0fNbRMe7XdwktwOruhfqqd0rIJWwN4Dh+E3hrPSlDCXnSR7UtZ1N38rVXm+6+MEhJQ==",
532 | "requires": {
533 | "asynckit": "^0.4.0",
534 | "combined-stream": "^1.0.6",
535 | "mime-types": "^2.1.12"
536 | }
537 | },
538 | "fs-extra": {
539 | "version": "1.0.0",
540 | "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-1.0.0.tgz",
541 | "integrity": "sha1-zTzl9+fLYUWIP8rjGR6Yd/hYeVA=",
542 | "dev": true,
543 | "optional": true,
544 | "requires": {
545 | "graceful-fs": "^4.1.2",
546 | "jsonfile": "^2.1.0",
547 | "klaw": "^1.0.0"
548 | },
549 | "dependencies": {
550 | "graceful-fs": {
551 | "version": "4.1.11",
552 | "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.1.11.tgz",
553 | "integrity": "sha1-Dovf5NHduIVNZOBOp8AOKgJuVlg=",
554 | "dev": true,
555 | "optional": true
556 | }
557 | }
558 | },
559 | "fs.realpath": {
560 | "version": "1.0.0",
561 | "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz",
562 | "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=",
563 | "dev": true
564 | },
565 | "getpass": {
566 | "version": "0.1.7",
567 | "resolved": "https://registry.npmjs.org/getpass/-/getpass-0.1.7.tgz",
568 | "integrity": "sha1-Xv+OPmhNVprkyysSgmBOi6YhSfo=",
569 | "requires": {
570 | "assert-plus": "^1.0.0"
571 | }
572 | },
573 | "glob": {
574 | "version": "6.0.4",
575 | "resolved": "https://registry.npmjs.org/glob/-/glob-6.0.4.tgz",
576 | "integrity": "sha1-DwiGD2oVUSey+t1PnOJLGqtuTSI=",
577 | "dev": true,
578 | "optional": true,
579 | "requires": {
580 | "inflight": "^1.0.4",
581 | "inherits": "2",
582 | "minimatch": "2 || 3",
583 | "once": "^1.3.0",
584 | "path-is-absolute": "^1.0.0"
585 | }
586 | },
587 | "graceful-fs": {
588 | "version": "4.1.11",
589 | "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.1.11.tgz",
590 | "integrity": "sha1-Dovf5NHduIVNZOBOp8AOKgJuVlg=",
591 | "dev": true
592 | },
593 | "growl": {
594 | "version": "1.10.5",
595 | "resolved": "https://registry.npmjs.org/growl/-/growl-1.10.5.tgz",
596 | "integrity": "sha512-qBr4OuELkhPenW6goKVXiv47US3clb3/IbuWF9KNKEijAy9oeHxU9IgzjvJhHkUzhaj7rOUD7+YGWqUjLp5oSA==",
597 | "dev": true
598 | },
599 | "handlebars": {
600 | "version": "4.0.12",
601 | "resolved": "https://registry.npmjs.org/handlebars/-/handlebars-4.0.12.tgz",
602 | "integrity": "sha512-RhmTekP+FZL+XNhwS1Wf+bTTZpdLougwt5pcgA1tuz6Jcx0fpH/7z0qd71RKnZHBCxIRBHfBOnio4gViPemNzA==",
603 | "dev": true,
604 | "requires": {
605 | "async": "^2.5.0",
606 | "optimist": "^0.6.1",
607 | "source-map": "^0.6.1",
608 | "uglify-js": "^3.1.4"
609 | },
610 | "dependencies": {
611 | "async": {
612 | "version": "2.6.1",
613 | "resolved": "https://registry.npmjs.org/async/-/async-2.6.1.tgz",
614 | "integrity": "sha512-fNEiL2+AZt6AlAw/29Cr0UDe4sRAHCpEHh54WMz+Bb7QfNcFw4h3loofyJpLeQs4Yx7yuqu/2dLgM5hKOs6HlQ==",
615 | "dev": true,
616 | "requires": {
617 | "lodash": "^4.17.10"
618 | }
619 | },
620 | "source-map": {
621 | "version": "0.6.1",
622 | "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",
623 | "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==",
624 | "dev": true
625 | }
626 | }
627 | },
628 | "har-schema": {
629 | "version": "2.0.0",
630 | "resolved": "https://registry.npmjs.org/har-schema/-/har-schema-2.0.0.tgz",
631 | "integrity": "sha1-qUwiJOvKwEeCoNkDVSHyRzW37JI="
632 | },
633 | "har-validator": {
634 | "version": "5.1.0",
635 | "resolved": "https://registry.npmjs.org/har-validator/-/har-validator-5.1.0.tgz",
636 | "integrity": "sha512-+qnmNjI4OfH2ipQ9VQOw23bBd/ibtfbVdK2fYbY4acTDqKTW/YDp9McimZdDbG8iV9fZizUqQMD5xvriB146TA==",
637 | "requires": {
638 | "ajv": "^5.3.0",
639 | "har-schema": "^2.0.0"
640 | }
641 | },
642 | "has-flag": {
643 | "version": "1.0.0",
644 | "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-1.0.0.tgz",
645 | "integrity": "sha1-nZ55MWXOAXoA8AQYxD+UKnsdEfo=",
646 | "dev": true
647 | },
648 | "hasha": {
649 | "version": "2.2.0",
650 | "resolved": "https://registry.npmjs.org/hasha/-/hasha-2.2.0.tgz",
651 | "integrity": "sha1-eNfL/B5tZjA/55g3NlmEUXsvbuE=",
652 | "dev": true,
653 | "optional": true,
654 | "requires": {
655 | "is-stream": "^1.0.1",
656 | "pinkie-promise": "^2.0.0"
657 | }
658 | },
659 | "he": {
660 | "version": "1.1.1",
661 | "resolved": "https://registry.npmjs.org/he/-/he-1.1.1.tgz",
662 | "integrity": "sha1-k0EP0hsAlzUVH4howvJx80J+I/0=",
663 | "dev": true
664 | },
665 | "htmlparser2": {
666 | "version": "3.8.3",
667 | "resolved": "http://registry.npmjs.org/htmlparser2/-/htmlparser2-3.8.3.tgz",
668 | "integrity": "sha1-mWwosZFRaovoZQGn15dX5ccMEGg=",
669 | "dev": true,
670 | "requires": {
671 | "domelementtype": "1",
672 | "domhandler": "2.3",
673 | "domutils": "1.5",
674 | "entities": "1.0",
675 | "readable-stream": "1.1"
676 | }
677 | },
678 | "http-signature": {
679 | "version": "1.2.0",
680 | "resolved": "https://registry.npmjs.org/http-signature/-/http-signature-1.2.0.tgz",
681 | "integrity": "sha1-muzZJRFHcvPZW2WmCruPfBj7rOE=",
682 | "requires": {
683 | "assert-plus": "^1.0.0",
684 | "jsprim": "^1.2.2",
685 | "sshpk": "^1.7.0"
686 | }
687 | },
688 | "inflight": {
689 | "version": "1.0.6",
690 | "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz",
691 | "integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=",
692 | "dev": true,
693 | "requires": {
694 | "once": "^1.3.0",
695 | "wrappy": "1"
696 | }
697 | },
698 | "inherits": {
699 | "version": "2.0.3",
700 | "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz",
701 | "integrity": "sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4=",
702 | "dev": true
703 | },
704 | "is-stream": {
705 | "version": "1.1.0",
706 | "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-1.1.0.tgz",
707 | "integrity": "sha1-EtSj3U5o4Lec6428hBc66A2RykQ=",
708 | "dev": true,
709 | "optional": true
710 | },
711 | "is-typedarray": {
712 | "version": "1.0.0",
713 | "resolved": "https://registry.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz",
714 | "integrity": "sha1-5HnICFjfDBsR3dppQPlgEfzaSpo="
715 | },
716 | "isarray": {
717 | "version": "0.0.1",
718 | "resolved": "https://registry.npmjs.org/isarray/-/isarray-0.0.1.tgz",
719 | "integrity": "sha1-ihis/Kmo9Bd+Cav8YDiTmwXR7t8=",
720 | "dev": true
721 | },
722 | "isexe": {
723 | "version": "2.0.0",
724 | "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz",
725 | "integrity": "sha1-6PvzdNxVb/iUehDcsFctYz8s+hA=",
726 | "dev": true
727 | },
728 | "isstream": {
729 | "version": "0.1.2",
730 | "resolved": "https://registry.npmjs.org/isstream/-/isstream-0.1.2.tgz",
731 | "integrity": "sha1-R+Y/evVa+m+S4VAOaQ64uFKcCZo="
732 | },
733 | "istanbul": {
734 | "version": "0.4.5",
735 | "resolved": "https://registry.npmjs.org/istanbul/-/istanbul-0.4.5.tgz",
736 | "integrity": "sha1-ZcfXPUxNqE1POsMQuRj7C4Azczs=",
737 | "dev": true,
738 | "requires": {
739 | "abbrev": "1.0.x",
740 | "async": "1.x",
741 | "escodegen": "1.8.x",
742 | "esprima": "2.7.x",
743 | "glob": "^5.0.15",
744 | "handlebars": "^4.0.1",
745 | "js-yaml": "3.x",
746 | "mkdirp": "0.5.x",
747 | "nopt": "3.x",
748 | "once": "1.x",
749 | "resolve": "1.1.x",
750 | "supports-color": "^3.1.0",
751 | "which": "^1.1.1",
752 | "wordwrap": "^1.0.0"
753 | },
754 | "dependencies": {
755 | "glob": {
756 | "version": "5.0.15",
757 | "resolved": "https://registry.npmjs.org/glob/-/glob-5.0.15.tgz",
758 | "integrity": "sha1-G8k2ueAvSmA/zCIuz3Yz0wuLk7E=",
759 | "dev": true,
760 | "requires": {
761 | "inflight": "^1.0.4",
762 | "inherits": "2",
763 | "minimatch": "2 || 3",
764 | "once": "^1.3.0",
765 | "path-is-absolute": "^1.0.0"
766 | }
767 | }
768 | }
769 | },
770 | "js-yaml": {
771 | "version": "3.12.0",
772 | "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.12.0.tgz",
773 | "integrity": "sha512-PIt2cnwmPfL4hKNwqeiuz4bKfnzHTBv6HyVgjahA6mPLwPDzjDWrplJBMjHUFxku/N3FlmrbyPclad+I+4mJ3A==",
774 | "dev": true,
775 | "requires": {
776 | "argparse": "^1.0.7",
777 | "esprima": "^4.0.0"
778 | },
779 | "dependencies": {
780 | "esprima": {
781 | "version": "4.0.1",
782 | "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz",
783 | "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==",
784 | "dev": true
785 | }
786 | }
787 | },
788 | "js2xmlparser": {
789 | "version": "3.0.0",
790 | "resolved": "https://registry.npmjs.org/js2xmlparser/-/js2xmlparser-3.0.0.tgz",
791 | "integrity": "sha1-P7YOqgicVED5MZ9RdgzNB+JJlzM=",
792 | "dev": true,
793 | "requires": {
794 | "xmlcreate": "^1.0.1"
795 | }
796 | },
797 | "jsbn": {
798 | "version": "0.1.1",
799 | "resolved": "https://registry.npmjs.org/jsbn/-/jsbn-0.1.1.tgz",
800 | "integrity": "sha1-peZUwuWi3rXyAdls77yoDA7y9RM="
801 | },
802 | "jsdoc": {
803 | "version": "3.5.5",
804 | "resolved": "https://registry.npmjs.org/jsdoc/-/jsdoc-3.5.5.tgz",
805 | "integrity": "sha1-SEUhsSboGQTWMv+D7JqqCWcI+k0=",
806 | "dev": true,
807 | "requires": {
808 | "babylon": "7.0.0-beta.19",
809 | "bluebird": "~3.5.0",
810 | "catharsis": "~0.8.9",
811 | "escape-string-regexp": "~1.0.5",
812 | "js2xmlparser": "~3.0.0",
813 | "klaw": "~2.0.0",
814 | "marked": "~0.3.6",
815 | "mkdirp": "~0.5.1",
816 | "requizzle": "~0.2.1",
817 | "strip-json-comments": "~2.0.1",
818 | "taffydb": "2.6.2",
819 | "underscore": "~1.8.3"
820 | },
821 | "dependencies": {
822 | "klaw": {
823 | "version": "2.0.0",
824 | "resolved": "https://registry.npmjs.org/klaw/-/klaw-2.0.0.tgz",
825 | "integrity": "sha1-WcEo4Nxc5BAgEVEZTuucv4WGUPY=",
826 | "dev": true,
827 | "requires": {
828 | "graceful-fs": "^4.1.9"
829 | }
830 | },
831 | "strip-json-comments": {
832 | "version": "2.0.1",
833 | "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-2.0.1.tgz",
834 | "integrity": "sha1-PFMZQukIwml8DsNEhYwobHygpgo=",
835 | "dev": true
836 | }
837 | }
838 | },
839 | "jshint": {
840 | "version": "2.9.6",
841 | "resolved": "https://registry.npmjs.org/jshint/-/jshint-2.9.6.tgz",
842 | "integrity": "sha1-GbNOV4CVo0ko/gBhNabLcBN7nAg=",
843 | "dev": true,
844 | "requires": {
845 | "cli": "~1.0.0",
846 | "console-browserify": "1.1.x",
847 | "exit": "0.1.x",
848 | "htmlparser2": "3.8.x",
849 | "lodash": "~4.17.10",
850 | "minimatch": "~3.0.2",
851 | "phantom": "~4.0.1",
852 | "phantomjs-prebuilt": "~2.1.7",
853 | "shelljs": "0.3.x",
854 | "strip-json-comments": "1.0.x",
855 | "unicode-5.2.0": "^0.7.5"
856 | }
857 | },
858 | "json-schema": {
859 | "version": "0.2.3",
860 | "resolved": "https://registry.npmjs.org/json-schema/-/json-schema-0.2.3.tgz",
861 | "integrity": "sha1-tIDIkuWaLwWVTOcnvT8qTogvnhM="
862 | },
863 | "json-schema-traverse": {
864 | "version": "0.3.1",
865 | "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.3.1.tgz",
866 | "integrity": "sha1-NJptRMU6Ud6JtAgFxdXlm0F9M0A="
867 | },
868 | "json-stringify-safe": {
869 | "version": "5.0.1",
870 | "resolved": "https://registry.npmjs.org/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz",
871 | "integrity": "sha1-Epai1Y/UXxmg9s4B1lcB4sc1tus="
872 | },
873 | "jsonfile": {
874 | "version": "2.4.0",
875 | "resolved": "http://registry.npmjs.org/jsonfile/-/jsonfile-2.4.0.tgz",
876 | "integrity": "sha1-NzaitCi4e72gzIO1P6PWM6NcKug=",
877 | "dev": true,
878 | "optional": true,
879 | "requires": {
880 | "graceful-fs": "^4.1.6"
881 | },
882 | "dependencies": {
883 | "graceful-fs": {
884 | "version": "4.1.11",
885 | "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.1.11.tgz",
886 | "integrity": "sha1-Dovf5NHduIVNZOBOp8AOKgJuVlg=",
887 | "dev": true,
888 | "optional": true
889 | }
890 | }
891 | },
892 | "jsprim": {
893 | "version": "1.4.1",
894 | "resolved": "https://registry.npmjs.org/jsprim/-/jsprim-1.4.1.tgz",
895 | "integrity": "sha1-MT5mvB5cwG5Di8G3SZwuXFastqI=",
896 | "requires": {
897 | "assert-plus": "1.0.0",
898 | "extsprintf": "1.3.0",
899 | "json-schema": "0.2.3",
900 | "verror": "1.10.0"
901 | }
902 | },
903 | "kew": {
904 | "version": "0.7.0",
905 | "resolved": "https://registry.npmjs.org/kew/-/kew-0.7.0.tgz",
906 | "integrity": "sha1-edk9LTM2PW/dKXCzNdkUGtWR15s=",
907 | "dev": true,
908 | "optional": true
909 | },
910 | "klaw": {
911 | "version": "1.3.1",
912 | "resolved": "https://registry.npmjs.org/klaw/-/klaw-1.3.1.tgz",
913 | "integrity": "sha1-QIhDO0azsbolnXh4XY6W9zugJDk=",
914 | "dev": true,
915 | "optional": true,
916 | "requires": {
917 | "graceful-fs": "^4.1.9"
918 | },
919 | "dependencies": {
920 | "graceful-fs": {
921 | "version": "4.1.11",
922 | "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.1.11.tgz",
923 | "integrity": "sha1-Dovf5NHduIVNZOBOp8AOKgJuVlg=",
924 | "dev": true,
925 | "optional": true
926 | }
927 | }
928 | },
929 | "levn": {
930 | "version": "0.3.0",
931 | "resolved": "https://registry.npmjs.org/levn/-/levn-0.3.0.tgz",
932 | "integrity": "sha1-OwmSTt+fCDwEkP3UwLxEIeBHZO4=",
933 | "dev": true,
934 | "requires": {
935 | "prelude-ls": "~1.1.2",
936 | "type-check": "~0.3.2"
937 | }
938 | },
939 | "lodash": {
940 | "version": "4.17.11",
941 | "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.11.tgz",
942 | "integrity": "sha512-cQKh8igo5QUhZ7lg38DYWAxMvjSAKG0A8wGSVimP07SIUEK2UO+arSRKbRZWtelMtN5V0Hkwh5ryOto/SshYIg==",
943 | "dev": true
944 | },
945 | "marked": {
946 | "version": "0.3.19",
947 | "resolved": "http://registry.npmjs.org/marked/-/marked-0.3.19.tgz",
948 | "integrity": "sha512-ea2eGWOqNxPcXv8dyERdSr/6FmzvWwzjMxpfGB/sbMccXoct+xY+YukPD+QTUZwyvK7BZwcr4m21WBOW41pAkg==",
949 | "dev": true
950 | },
951 | "mime-db": {
952 | "version": "1.37.0",
953 | "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.37.0.tgz",
954 | "integrity": "sha512-R3C4db6bgQhlIhPU48fUtdVmKnflq+hRdad7IyKhtFj06VPNVdk2RhiYL3UjQIlso8L+YxAtFkobT0VK+S/ybg=="
955 | },
956 | "mime-types": {
957 | "version": "2.1.21",
958 | "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.21.tgz",
959 | "integrity": "sha512-3iL6DbwpyLzjR3xHSFNFeb9Nz/M8WDkX33t1GFQnFOllWk8pOrh/LSrB5OXlnlW5P9LH73X6loW/eogc+F5lJg==",
960 | "requires": {
961 | "mime-db": "~1.37.0"
962 | }
963 | },
964 | "minimatch": {
965 | "version": "3.0.3",
966 | "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.3.tgz",
967 | "integrity": "sha1-Kk5AkLlrLbBqnX3wEFWmKnfJt3Q=",
968 | "dev": true,
969 | "requires": {
970 | "brace-expansion": "^1.0.0"
971 | }
972 | },
973 | "minimist": {
974 | "version": "0.0.8",
975 | "resolved": "https://registry.npmjs.org/minimist/-/minimist-0.0.8.tgz",
976 | "integrity": "sha1-hX/Kv8M5fSYluCKCYuhqp6ARsF0=",
977 | "dev": true
978 | },
979 | "mkdirp": {
980 | "version": "0.5.1",
981 | "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.1.tgz",
982 | "integrity": "sha1-MAV0OOrGz3+MR2fzhkjWaX11yQM=",
983 | "dev": true,
984 | "requires": {
985 | "minimist": "0.0.8"
986 | }
987 | },
988 | "mocha": {
989 | "version": "5.2.0",
990 | "resolved": "https://registry.npmjs.org/mocha/-/mocha-5.2.0.tgz",
991 | "integrity": "sha1-bYrlCPWRZ/lA8rWzxKYSrlDJCuY=",
992 | "dev": true,
993 | "requires": {
994 | "browser-stdout": "1.3.1",
995 | "commander": "2.15.1",
996 | "debug": "3.1.0",
997 | "diff": "3.5.0",
998 | "escape-string-regexp": "1.0.5",
999 | "glob": "7.1.2",
1000 | "growl": "1.10.5",
1001 | "he": "1.1.1",
1002 | "minimatch": "3.0.4",
1003 | "mkdirp": "0.5.1",
1004 | "supports-color": "5.4.0"
1005 | },
1006 | "dependencies": {
1007 | "glob": {
1008 | "version": "7.1.2",
1009 | "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.2.tgz",
1010 | "integrity": "sha1-wZyd+aAocC1nhhI4SmVSQExjbRU=",
1011 | "dev": true,
1012 | "requires": {
1013 | "fs.realpath": "^1.0.0",
1014 | "inflight": "^1.0.4",
1015 | "inherits": "2",
1016 | "minimatch": "^3.0.4",
1017 | "once": "^1.3.0",
1018 | "path-is-absolute": "^1.0.0"
1019 | }
1020 | },
1021 | "has-flag": {
1022 | "version": "3.0.0",
1023 | "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",
1024 | "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=",
1025 | "dev": true
1026 | },
1027 | "minimatch": {
1028 | "version": "3.0.4",
1029 | "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz",
1030 | "integrity": "sha1-UWbihkV/AzBgZL5Ul+jbsMPTIIM=",
1031 | "dev": true,
1032 | "requires": {
1033 | "brace-expansion": "^1.1.7"
1034 | }
1035 | },
1036 | "supports-color": {
1037 | "version": "5.4.0",
1038 | "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.4.0.tgz",
1039 | "integrity": "sha1-HGszdALCE3YF7+GfEP7DkPb6q1Q=",
1040 | "dev": true,
1041 | "requires": {
1042 | "has-flag": "^3.0.0"
1043 | }
1044 | }
1045 | }
1046 | },
1047 | "ms": {
1048 | "version": "2.0.0",
1049 | "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz",
1050 | "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=",
1051 | "dev": true
1052 | },
1053 | "mv": {
1054 | "version": "2.1.1",
1055 | "resolved": "https://registry.npmjs.org/mv/-/mv-2.1.1.tgz",
1056 | "integrity": "sha1-rmzg1vbV4KT32JN5jQPB6pVZtqI=",
1057 | "dev": true,
1058 | "optional": true,
1059 | "requires": {
1060 | "mkdirp": "~0.5.1",
1061 | "ncp": "~2.0.0",
1062 | "rimraf": "~2.4.0"
1063 | }
1064 | },
1065 | "nan": {
1066 | "version": "1.8.4",
1067 | "resolved": "https://registry.npmjs.org/nan/-/nan-1.8.4.tgz",
1068 | "integrity": "sha1-PHa1OC6rM+RLdY0oE8qdkuk0LzQ=",
1069 | "dev": true,
1070 | "optional": true
1071 | },
1072 | "ncp": {
1073 | "version": "2.0.0",
1074 | "resolved": "https://registry.npmjs.org/ncp/-/ncp-2.0.0.tgz",
1075 | "integrity": "sha1-GVoh1sRuNh0vsSgbo4uR6d9727M=",
1076 | "dev": true,
1077 | "optional": true
1078 | },
1079 | "nopt": {
1080 | "version": "3.0.6",
1081 | "resolved": "https://registry.npmjs.org/nopt/-/nopt-3.0.6.tgz",
1082 | "integrity": "sha1-xkZdvwirzU2zWTF/eaxopkayj/k=",
1083 | "dev": true,
1084 | "requires": {
1085 | "abbrev": "1"
1086 | }
1087 | },
1088 | "oauth-sign": {
1089 | "version": "0.9.0",
1090 | "resolved": "https://registry.npmjs.org/oauth-sign/-/oauth-sign-0.9.0.tgz",
1091 | "integrity": "sha512-fexhUFFPTGV8ybAtSIGbV6gOkSv8UtRbDBnAyLQw4QPKkgNlsH2ByPGtMUqdWkos6YCRmAqViwgZrJc/mRDzZQ=="
1092 | },
1093 | "once": {
1094 | "version": "1.4.0",
1095 | "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz",
1096 | "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=",
1097 | "dev": true,
1098 | "requires": {
1099 | "wrappy": "1"
1100 | }
1101 | },
1102 | "optimist": {
1103 | "version": "0.6.1",
1104 | "resolved": "https://registry.npmjs.org/optimist/-/optimist-0.6.1.tgz",
1105 | "integrity": "sha1-2j6nRob6IaGaERwybpDrFaAZZoY=",
1106 | "dev": true,
1107 | "requires": {
1108 | "minimist": "~0.0.1",
1109 | "wordwrap": "~0.0.2"
1110 | },
1111 | "dependencies": {
1112 | "wordwrap": {
1113 | "version": "0.0.3",
1114 | "resolved": "https://registry.npmjs.org/wordwrap/-/wordwrap-0.0.3.tgz",
1115 | "integrity": "sha1-o9XabNXAvAAI03I0u68b7WMFkQc=",
1116 | "dev": true
1117 | }
1118 | }
1119 | },
1120 | "optionator": {
1121 | "version": "0.8.2",
1122 | "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.8.2.tgz",
1123 | "integrity": "sha1-NkxeQJ0/TWMB1sC0wFu6UBgK62Q=",
1124 | "dev": true,
1125 | "requires": {
1126 | "deep-is": "~0.1.3",
1127 | "fast-levenshtein": "~2.0.4",
1128 | "levn": "~0.3.0",
1129 | "prelude-ls": "~1.1.2",
1130 | "type-check": "~0.3.2",
1131 | "wordwrap": "~1.0.0"
1132 | }
1133 | },
1134 | "path-is-absolute": {
1135 | "version": "1.0.1",
1136 | "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz",
1137 | "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=",
1138 | "dev": true
1139 | },
1140 | "pend": {
1141 | "version": "1.2.0",
1142 | "resolved": "https://registry.npmjs.org/pend/-/pend-1.2.0.tgz",
1143 | "integrity": "sha1-elfrVQpng/kRUzH89GY9XI4AelA=",
1144 | "dev": true,
1145 | "optional": true
1146 | },
1147 | "performance-now": {
1148 | "version": "2.1.0",
1149 | "resolved": "https://registry.npmjs.org/performance-now/-/performance-now-2.1.0.tgz",
1150 | "integrity": "sha1-Ywn04OX6kT7BxpMHrjZLSzd8nns="
1151 | },
1152 | "phantom": {
1153 | "version": "4.0.12",
1154 | "resolved": "https://registry.npmjs.org/phantom/-/phantom-4.0.12.tgz",
1155 | "integrity": "sha512-Tz82XhtPmwCk1FFPmecy7yRGZG2btpzY2KI9fcoPT7zT9det0CcMyfBFPp1S8DqzsnQnm8ZYEfdy528mwVtksA==",
1156 | "dev": true,
1157 | "optional": true,
1158 | "requires": {
1159 | "phantomjs-prebuilt": "^2.1.16",
1160 | "split": "^1.0.1",
1161 | "winston": "^2.4.0"
1162 | }
1163 | },
1164 | "phantomjs-prebuilt": {
1165 | "version": "2.1.16",
1166 | "resolved": "https://registry.npmjs.org/phantomjs-prebuilt/-/phantomjs-prebuilt-2.1.16.tgz",
1167 | "integrity": "sha1-79ISpKOWbTZHaE6ouniFSb4q7+8=",
1168 | "dev": true,
1169 | "optional": true,
1170 | "requires": {
1171 | "es6-promise": "^4.0.3",
1172 | "extract-zip": "^1.6.5",
1173 | "fs-extra": "^1.0.0",
1174 | "hasha": "^2.2.0",
1175 | "kew": "^0.7.0",
1176 | "progress": "^1.1.8",
1177 | "request": "^2.81.0",
1178 | "request-progress": "^2.0.1",
1179 | "which": "^1.2.10"
1180 | }
1181 | },
1182 | "pinkie": {
1183 | "version": "2.0.4",
1184 | "resolved": "https://registry.npmjs.org/pinkie/-/pinkie-2.0.4.tgz",
1185 | "integrity": "sha1-clVrgM+g1IqXToDnckjoDtT3+HA=",
1186 | "dev": true,
1187 | "optional": true
1188 | },
1189 | "pinkie-promise": {
1190 | "version": "2.0.1",
1191 | "resolved": "https://registry.npmjs.org/pinkie-promise/-/pinkie-promise-2.0.1.tgz",
1192 | "integrity": "sha1-ITXW36ejWMBprJsXh3YogihFD/o=",
1193 | "dev": true,
1194 | "optional": true,
1195 | "requires": {
1196 | "pinkie": "^2.0.0"
1197 | }
1198 | },
1199 | "prelude-ls": {
1200 | "version": "1.1.2",
1201 | "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.1.2.tgz",
1202 | "integrity": "sha1-IZMqVJ9eUv/ZqCf1cOBL5iqX2lQ=",
1203 | "dev": true
1204 | },
1205 | "process-nextick-args": {
1206 | "version": "2.0.0",
1207 | "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.0.tgz",
1208 | "integrity": "sha512-MtEC1TqN0EU5nephaJ4rAtThHtC86dNN9qCuEhtshvpVBkAW5ZO7BASN9REnF9eoXGcRub+pFuKEpOHE+HbEMw==",
1209 | "dev": true,
1210 | "optional": true
1211 | },
1212 | "progress": {
1213 | "version": "1.1.8",
1214 | "resolved": "http://registry.npmjs.org/progress/-/progress-1.1.8.tgz",
1215 | "integrity": "sha1-4mDHj2Fhzdmw5WzD4Khd4Xx6V74=",
1216 | "dev": true,
1217 | "optional": true
1218 | },
1219 | "psl": {
1220 | "version": "1.1.29",
1221 | "resolved": "https://registry.npmjs.org/psl/-/psl-1.1.29.tgz",
1222 | "integrity": "sha512-AeUmQ0oLN02flVHXWh9sSJF7mcdFq0ppid/JkErufc3hGIV/AMa8Fo9VgDo/cT2jFdOWoFvHp90qqBH54W+gjQ=="
1223 | },
1224 | "punycode": {
1225 | "version": "1.4.1",
1226 | "resolved": "https://registry.npmjs.org/punycode/-/punycode-1.4.1.tgz",
1227 | "integrity": "sha1-wNWmOycYgArY4esPpSachN1BhF4="
1228 | },
1229 | "qs": {
1230 | "version": "6.5.2",
1231 | "resolved": "https://registry.npmjs.org/qs/-/qs-6.5.2.tgz",
1232 | "integrity": "sha512-N5ZAX4/LxJmF+7wN74pUD6qAh9/wnvdQcjq9TZjevvXzSUo7bfmw91saqMjzGS2xq91/odN2dW/WOl7qQHNDGA=="
1233 | },
1234 | "readable-stream": {
1235 | "version": "1.1.14",
1236 | "resolved": "http://registry.npmjs.org/readable-stream/-/readable-stream-1.1.14.tgz",
1237 | "integrity": "sha1-fPTFTvZI44EwhMY23SB54WbAgdk=",
1238 | "dev": true,
1239 | "requires": {
1240 | "core-util-is": "~1.0.0",
1241 | "inherits": "~2.0.1",
1242 | "isarray": "0.0.1",
1243 | "string_decoder": "~0.10.x"
1244 | }
1245 | },
1246 | "request": {
1247 | "version": "2.88.0",
1248 | "resolved": "https://registry.npmjs.org/request/-/request-2.88.0.tgz",
1249 | "integrity": "sha1-nC/KT301tZLv5Xx/ClXoEFIST+8=",
1250 | "requires": {
1251 | "aws-sign2": "~0.7.0",
1252 | "aws4": "^1.8.0",
1253 | "caseless": "~0.12.0",
1254 | "combined-stream": "~1.0.6",
1255 | "extend": "~3.0.2",
1256 | "forever-agent": "~0.6.1",
1257 | "form-data": "~2.3.2",
1258 | "har-validator": "~5.1.0",
1259 | "http-signature": "~1.2.0",
1260 | "is-typedarray": "~1.0.0",
1261 | "isstream": "~0.1.2",
1262 | "json-stringify-safe": "~5.0.1",
1263 | "mime-types": "~2.1.19",
1264 | "oauth-sign": "~0.9.0",
1265 | "performance-now": "^2.1.0",
1266 | "qs": "~6.5.2",
1267 | "safe-buffer": "^5.1.2",
1268 | "tough-cookie": "~2.4.3",
1269 | "tunnel-agent": "^0.6.0",
1270 | "uuid": "^3.3.2"
1271 | }
1272 | },
1273 | "request-progress": {
1274 | "version": "2.0.1",
1275 | "resolved": "https://registry.npmjs.org/request-progress/-/request-progress-2.0.1.tgz",
1276 | "integrity": "sha1-XTa7V5YcZzqlt4jbyBQf3yO0Tgg=",
1277 | "dev": true,
1278 | "optional": true,
1279 | "requires": {
1280 | "throttleit": "^1.0.0"
1281 | }
1282 | },
1283 | "requizzle": {
1284 | "version": "0.2.1",
1285 | "resolved": "https://registry.npmjs.org/requizzle/-/requizzle-0.2.1.tgz",
1286 | "integrity": "sha1-aUPDUwxNmn5G8c3dUcFY/GcM294=",
1287 | "dev": true,
1288 | "requires": {
1289 | "underscore": "~1.6.0"
1290 | },
1291 | "dependencies": {
1292 | "underscore": {
1293 | "version": "1.6.0",
1294 | "resolved": "https://registry.npmjs.org/underscore/-/underscore-1.6.0.tgz",
1295 | "integrity": "sha1-izixDKze9jM3uLJOT/htRa6lKag=",
1296 | "dev": true
1297 | }
1298 | }
1299 | },
1300 | "resolve": {
1301 | "version": "1.1.7",
1302 | "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.1.7.tgz",
1303 | "integrity": "sha1-IDEU2CrSxe2ejgQRs5ModeiJ6Xs=",
1304 | "dev": true
1305 | },
1306 | "rimraf": {
1307 | "version": "2.4.5",
1308 | "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.4.5.tgz",
1309 | "integrity": "sha1-7nEM5dk6j9uFb7Xqj/Di11k0sto=",
1310 | "dev": true,
1311 | "optional": true,
1312 | "requires": {
1313 | "glob": "^6.0.1"
1314 | }
1315 | },
1316 | "safe-buffer": {
1317 | "version": "5.1.2",
1318 | "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz",
1319 | "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g=="
1320 | },
1321 | "safe-json-stringify": {
1322 | "version": "1.0.4",
1323 | "resolved": "https://registry.npmjs.org/safe-json-stringify/-/safe-json-stringify-1.0.4.tgz",
1324 | "integrity": "sha1-gaCY9Efku8P/MxKiQ1IbwGDvWRE=",
1325 | "dev": true,
1326 | "optional": true
1327 | },
1328 | "safer-buffer": {
1329 | "version": "2.1.2",
1330 | "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz",
1331 | "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg=="
1332 | },
1333 | "shelljs": {
1334 | "version": "0.3.0",
1335 | "resolved": "https://registry.npmjs.org/shelljs/-/shelljs-0.3.0.tgz",
1336 | "integrity": "sha1-NZbmMHp4FUT1kfN9phg2DzHbV7E=",
1337 | "dev": true
1338 | },
1339 | "source-map": {
1340 | "version": "0.2.0",
1341 | "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.2.0.tgz",
1342 | "integrity": "sha1-2rc/vPwrqBm03gO9b26qSBZLP50=",
1343 | "dev": true,
1344 | "optional": true,
1345 | "requires": {
1346 | "amdefine": ">=0.0.4"
1347 | }
1348 | },
1349 | "split": {
1350 | "version": "1.0.1",
1351 | "resolved": "https://registry.npmjs.org/split/-/split-1.0.1.tgz",
1352 | "integrity": "sha512-mTyOoPbrivtXnwnIxZRFYRrPNtEFKlpB2fvjSnCQUiAA6qAZzqwna5envK4uk6OIeP17CsdF3rSBGYVBsU0Tkg==",
1353 | "dev": true,
1354 | "optional": true,
1355 | "requires": {
1356 | "through": "2"
1357 | }
1358 | },
1359 | "splunk-logging": {
1360 | "version": "0.10.1",
1361 | "resolved": "https://registry.npmjs.org/splunk-logging/-/splunk-logging-0.10.1.tgz",
1362 | "integrity": "sha512-7j2vvwbLWWSPm9yHEg1XuOt4vN5zHQ6i7JMMMQd9H3nww8JKqnhavXPYv7gZ/FGcpkcmY6JwASn6I6Cbe/jO1w==",
1363 | "requires": {
1364 | "request": "^2.88.0"
1365 | }
1366 | },
1367 | "sprintf-js": {
1368 | "version": "1.0.3",
1369 | "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz",
1370 | "integrity": "sha1-BOaSb2YolTVPPdAVIDYzuFcpfiw=",
1371 | "dev": true
1372 | },
1373 | "sshpk": {
1374 | "version": "1.15.2",
1375 | "resolved": "https://registry.npmjs.org/sshpk/-/sshpk-1.15.2.tgz",
1376 | "integrity": "sha512-Ra/OXQtuh0/enyl4ETZAfTaeksa6BXks5ZcjpSUNrjBr0DvrJKX+1fsKDPpT9TBXgHAFsa4510aNVgI8g/+SzA==",
1377 | "requires": {
1378 | "asn1": "~0.2.3",
1379 | "assert-plus": "^1.0.0",
1380 | "bcrypt-pbkdf": "^1.0.0",
1381 | "dashdash": "^1.12.0",
1382 | "ecc-jsbn": "~0.1.1",
1383 | "getpass": "^0.1.1",
1384 | "jsbn": "~0.1.0",
1385 | "safer-buffer": "^2.0.2",
1386 | "tweetnacl": "~0.14.0"
1387 | }
1388 | },
1389 | "stack-trace": {
1390 | "version": "0.0.10",
1391 | "resolved": "https://registry.npmjs.org/stack-trace/-/stack-trace-0.0.10.tgz",
1392 | "integrity": "sha1-VHxws0fo0ytOEI6hoqFZ5f3eGcA=",
1393 | "dev": true,
1394 | "optional": true
1395 | },
1396 | "string_decoder": {
1397 | "version": "0.10.31",
1398 | "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-0.10.31.tgz",
1399 | "integrity": "sha1-YuIDvEF2bGwoyfyEMB2rHFMQ+pQ=",
1400 | "dev": true
1401 | },
1402 | "strip-json-comments": {
1403 | "version": "1.0.4",
1404 | "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-1.0.4.tgz",
1405 | "integrity": "sha1-HhX7ysl9Pumb8tc7TGVrCCu6+5E=",
1406 | "dev": true
1407 | },
1408 | "supports-color": {
1409 | "version": "3.2.3",
1410 | "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-3.2.3.tgz",
1411 | "integrity": "sha1-ZawFBLOVQXHYpklGsq48u4pfVPY=",
1412 | "dev": true,
1413 | "requires": {
1414 | "has-flag": "^1.0.0"
1415 | }
1416 | },
1417 | "taffydb": {
1418 | "version": "2.6.2",
1419 | "resolved": "https://registry.npmjs.org/taffydb/-/taffydb-2.6.2.tgz",
1420 | "integrity": "sha1-fLy2S1oUG2ou/CxdLGe04VCyomg=",
1421 | "dev": true
1422 | },
1423 | "throttleit": {
1424 | "version": "1.0.0",
1425 | "resolved": "https://registry.npmjs.org/throttleit/-/throttleit-1.0.0.tgz",
1426 | "integrity": "sha1-nnhYNtr0Z0MUWlmEtiaNgoUorGw=",
1427 | "dev": true,
1428 | "optional": true
1429 | },
1430 | "through": {
1431 | "version": "2.3.8",
1432 | "resolved": "http://registry.npmjs.org/through/-/through-2.3.8.tgz",
1433 | "integrity": "sha1-DdTJ/6q8NXlgsbckEV1+Doai4fU=",
1434 | "dev": true,
1435 | "optional": true
1436 | },
1437 | "tough-cookie": {
1438 | "version": "2.4.3",
1439 | "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-2.4.3.tgz",
1440 | "integrity": "sha512-Q5srk/4vDM54WJsJio3XNn6K2sCG+CQ8G5Wz6bZhRZoAe/+TxjWB/GlFAnYEbkYVlON9FMk/fE3h2RLpPXo4lQ==",
1441 | "requires": {
1442 | "psl": "^1.1.24",
1443 | "punycode": "^1.4.1"
1444 | }
1445 | },
1446 | "tunnel-agent": {
1447 | "version": "0.6.0",
1448 | "resolved": "https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.6.0.tgz",
1449 | "integrity": "sha1-J6XeoGs2sEoKmWZ3SykIaPD8QP0=",
1450 | "requires": {
1451 | "safe-buffer": "^5.0.1"
1452 | }
1453 | },
1454 | "tweetnacl": {
1455 | "version": "0.14.5",
1456 | "resolved": "https://registry.npmjs.org/tweetnacl/-/tweetnacl-0.14.5.tgz",
1457 | "integrity": "sha1-WuaBd/GS1EViadEIr6k/+HQ/T2Q="
1458 | },
1459 | "type-check": {
1460 | "version": "0.3.2",
1461 | "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.3.2.tgz",
1462 | "integrity": "sha1-WITKtRLPHTVeP7eE8wgEsrUg23I=",
1463 | "dev": true,
1464 | "requires": {
1465 | "prelude-ls": "~1.1.2"
1466 | }
1467 | },
1468 | "typedarray": {
1469 | "version": "0.0.6",
1470 | "resolved": "https://registry.npmjs.org/typedarray/-/typedarray-0.0.6.tgz",
1471 | "integrity": "sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c=",
1472 | "dev": true,
1473 | "optional": true
1474 | },
1475 | "uglify-js": {
1476 | "version": "3.4.9",
1477 | "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.4.9.tgz",
1478 | "integrity": "sha512-8CJsbKOtEbnJsTyv6LE6m6ZKniqMiFWmm9sRbopbkGs3gMPPfd3Fh8iIA4Ykv5MgaTbqHr4BaoGLJLZNhsrW1Q==",
1479 | "dev": true,
1480 | "optional": true,
1481 | "requires": {
1482 | "commander": "~2.17.1",
1483 | "source-map": "~0.6.1"
1484 | },
1485 | "dependencies": {
1486 | "commander": {
1487 | "version": "2.17.1",
1488 | "resolved": "https://registry.npmjs.org/commander/-/commander-2.17.1.tgz",
1489 | "integrity": "sha512-wPMUt6FnH2yzG95SA6mzjQOEKUU3aLaDEmzs1ti+1E9h+CsrZghRlqEM/EJ4KscsQVG8uNN4uVreUeT8+drlgg==",
1490 | "dev": true,
1491 | "optional": true
1492 | },
1493 | "source-map": {
1494 | "version": "0.6.1",
1495 | "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",
1496 | "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==",
1497 | "dev": true,
1498 | "optional": true
1499 | }
1500 | }
1501 | },
1502 | "underscore": {
1503 | "version": "1.8.3",
1504 | "resolved": "https://registry.npmjs.org/underscore/-/underscore-1.8.3.tgz",
1505 | "integrity": "sha1-Tz+1OxBuYJf8+ctBCfKl6b36UCI=",
1506 | "dev": true
1507 | },
1508 | "underscore-contrib": {
1509 | "version": "0.3.0",
1510 | "resolved": "https://registry.npmjs.org/underscore-contrib/-/underscore-contrib-0.3.0.tgz",
1511 | "integrity": "sha1-ZltmwkeD+PorGMn4y7Dix9SMJsc=",
1512 | "dev": true,
1513 | "requires": {
1514 | "underscore": "1.6.0"
1515 | },
1516 | "dependencies": {
1517 | "underscore": {
1518 | "version": "1.6.0",
1519 | "resolved": "https://registry.npmjs.org/underscore/-/underscore-1.6.0.tgz",
1520 | "integrity": "sha1-izixDKze9jM3uLJOT/htRa6lKag=",
1521 | "dev": true
1522 | }
1523 | }
1524 | },
1525 | "unicode-5.2.0": {
1526 | "version": "0.7.5",
1527 | "resolved": "https://registry.npmjs.org/unicode-5.2.0/-/unicode-5.2.0-0.7.5.tgz",
1528 | "integrity": "sha512-KVGLW1Bri30x00yv4HNM8kBxoqFXr0Sbo55735nvrlsx4PYBZol3UtoWgO492fSwmsetzPEZzy73rbU8OGXJcA==",
1529 | "dev": true
1530 | },
1531 | "util-deprecate": {
1532 | "version": "1.0.2",
1533 | "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz",
1534 | "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=",
1535 | "dev": true,
1536 | "optional": true
1537 | },
1538 | "uuid": {
1539 | "version": "3.3.2",
1540 | "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.3.2.tgz",
1541 | "integrity": "sha512-yXJmeNaw3DnnKAOKJE51sL/ZaYfWJRl1pK9dr19YFCu0ObS231AB1/LbqTKRAQ5kw8A90rA6fr4riOUpTZvQZA=="
1542 | },
1543 | "verror": {
1544 | "version": "1.10.0",
1545 | "resolved": "https://registry.npmjs.org/verror/-/verror-1.10.0.tgz",
1546 | "integrity": "sha1-OhBcoXBTr1XW4nDB+CiGguGNpAA=",
1547 | "requires": {
1548 | "assert-plus": "^1.0.0",
1549 | "core-util-is": "1.0.2",
1550 | "extsprintf": "^1.2.0"
1551 | }
1552 | },
1553 | "which": {
1554 | "version": "1.3.1",
1555 | "resolved": "https://registry.npmjs.org/which/-/which-1.3.1.tgz",
1556 | "integrity": "sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ==",
1557 | "dev": true,
1558 | "requires": {
1559 | "isexe": "^2.0.0"
1560 | }
1561 | },
1562 | "winston": {
1563 | "version": "2.4.4",
1564 | "resolved": "https://registry.npmjs.org/winston/-/winston-2.4.4.tgz",
1565 | "integrity": "sha512-NBo2Pepn4hK4V01UfcWcDlmiVTs7VTB1h7bgnB0rgP146bYhMxX0ypCz3lBOfNxCO4Zuek7yeT+y/zM1OfMw4Q==",
1566 | "dev": true,
1567 | "optional": true,
1568 | "requires": {
1569 | "async": "~1.0.0",
1570 | "colors": "1.0.x",
1571 | "cycle": "1.0.x",
1572 | "eyes": "0.1.x",
1573 | "isstream": "0.1.x",
1574 | "stack-trace": "0.0.x"
1575 | },
1576 | "dependencies": {
1577 | "async": {
1578 | "version": "1.0.0",
1579 | "resolved": "http://registry.npmjs.org/async/-/async-1.0.0.tgz",
1580 | "integrity": "sha1-+PwEyjoTeErenhZBr5hXjPvWR6k=",
1581 | "dev": true,
1582 | "optional": true
1583 | }
1584 | }
1585 | },
1586 | "wordwrap": {
1587 | "version": "1.0.0",
1588 | "resolved": "https://registry.npmjs.org/wordwrap/-/wordwrap-1.0.0.tgz",
1589 | "integrity": "sha1-J1hIEIkUVqQXHI0CJkQa3pDLyus=",
1590 | "dev": true
1591 | },
1592 | "wrappy": {
1593 | "version": "1.0.2",
1594 | "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz",
1595 | "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=",
1596 | "dev": true
1597 | },
1598 | "xmlcreate": {
1599 | "version": "1.0.2",
1600 | "resolved": "https://registry.npmjs.org/xmlcreate/-/xmlcreate-1.0.2.tgz",
1601 | "integrity": "sha1-+mv3YqYKQT+z3Y9LA8WyaSONMI8=",
1602 | "dev": true
1603 | },
1604 | "yauzl": {
1605 | "version": "2.4.1",
1606 | "resolved": "https://registry.npmjs.org/yauzl/-/yauzl-2.4.1.tgz",
1607 | "integrity": "sha1-lSj0QtqxsihOWLQ3m7GU4i4MQAU=",
1608 | "dev": true,
1609 | "optional": true,
1610 | "requires": {
1611 | "fd-slicer": "~1.0.1"
1612 | }
1613 | }
1614 | }
1615 | }
1616 |
--------------------------------------------------------------------------------
/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "splunk-bunyan-logger",
3 | "version": "0.11.0",
4 | "description": "Splunk HTTP Event Collector Stream for Bunyan",
5 | "homepage": "http://dev.splunk.com",
6 | "main": "index.js",
7 | "scripts": {
8 | "docs": "jsdoc -d docs .",
9 | "jshint": "jshint *.js test examples",
10 | "pretest": "npm run jshint && npm run docs",
11 | "test": "nyc --reporter=lcov --reporter=text-summary _mocha -- -R spec --exit",
12 | "test-specific-file": "_mocha -- -R spec --exit ",
13 | "test-specific": "_mocha -- -R spec --exit -g "
14 | },
15 | "repository": {
16 | "type": "git",
17 | "url": "https://github.com/splunk/splunk-bunyan-logger.git"
18 | },
19 | "keywords": [
20 | "splunk",
21 | "HTTP",
22 | "event",
23 | "collector",
24 | "logging",
25 | "stream",
26 | "bunyan"
27 | ],
28 | "author": {
29 | "name": "Splunk",
30 | "email": "devinfo@splunk.com",
31 | "url": "http://dev.splunk.com"
32 | },
33 | "license": "Apache-2.0",
34 | "engine": {
35 | "node": ">=4.0.0"
36 | },
37 | "dependencies": {
38 | "splunk-logging": "0.11.1"
39 | },
40 | "devDependencies": {
41 | "bunyan": "1.8.15",
42 | "jsdoc": "^3.6.7",
43 | "jshint": "^2.12.0",
44 | "mocha": "^8.4.0",
45 | "needle": "^2.6.0",
46 | "nyc": "^15.1.0"
47 | }
48 | }
49 |
--------------------------------------------------------------------------------
/scripts/test_specific.sh:
--------------------------------------------------------------------------------
1 | echo "To run a specific test file:"
2 | echo " npm run test-specific-file [test/