├── Add sdk only guidance.md ├── Add to project guidance.md ├── LICENSE ├── README.md └── ThirdPartyNotices.txt /Add sdk only guidance.md: -------------------------------------------------------------------------------- 1 | # Application Insights Add SDK Only Guidance 2 | 3 | If you choose the Add SDK only flow in the Add To Project command you have the option of linking your app's telemetry data to Application Insights resource later. 4 | 5 | ![Add SDK Only](https://aidevtools.blob.core.windows.net/vscode-assets/AddSDKOnly.PNG) 6 | 7 | Once you go through this flow we will install the npm install [appplicationinsights package](https://www.npmjs.com/package/applicationinsights) and inject the following code in your project's main file: 8 | 9 | ``` 10 | // Add your instrumentation key or use the APPLICATIONINSIGHTSKEY environment variable on your production machine to start collecting data. 11 | var ai = require('applicationinsights'); 12 | ai.setup(process.env.APPLICATIONINSIGHTSKEY || 'your_instrumentation_key').start(); 13 | ``` 14 | 15 | You can then [create an Application Insights resource](https://docs.microsoft.com/en-us/azure/application-insights/app-insights-create-new-resource) and add the instrumentation key here. 16 | 17 | You can also simply set APPLICATIONINSIGHTSKEY environment variable to your Application Insights reource's instrumentation key and all data will be auto collected to that resource. 18 | 19 | NOTE: In order to inject code to your project's main file, we look at package.json's main argument. If it is not defined, we look for common main file names in the workspace's root directory. Finally, if we fail to find a main file, you would need to add the code shown above into your project. -------------------------------------------------------------------------------- /Add to project guidance.md: -------------------------------------------------------------------------------- 1 | # Application Insights Add To Project Command Guidance 2 | 3 | Azure Application Insights extension for Visual Studio Code provides effortless ways to onboard your Nodejs apps to Application Insights. 4 | 5 | Gowing through the complete flow, you can easily create a new Application Insights resource, add telemetry initialization code to your project and gain insights about your app in production. 6 | 7 | 1. Invoke the Application Insights: Add To Project command from the command palette. 8 | ![Open Add To Project command](https://aidevtools.blob.core.windows.net/vscode-assets/AddToProjectCommand.PNG) 9 | 10 | 2. Select the Azure account you want to use. 11 | ![Select account](https://aidevtools.blob.core.windows.net/vscode-assets/SelectAccount.PNG) 12 | 13 | 3. Select your subscription. 14 | ![Select subscription](https://aidevtools.blob.core.windows.net/vscode-assets/SelectSub.PNG) 15 | 16 | 4. Select or create new Application Insights resource 17 | ![Select resoruce](https://aidevtools.blob.core.windows.net/vscode-assets/SelectResource.PNG) 18 | 19 | Once you go through this flow we will install the npm install [appplicationinsights package](https://www.npmjs.com/package/applicationinsights) and inject the following code in your project's main file: 20 | 21 | ``` 22 | // Enable telemetry collection with Application Insights 23 | var ai = require('applicationinsights'); 24 | ai.setup(process.env.APPLICATIONINSIGHTSKEY || 'XXXXXXXXXXXXXXXXXXXXXX').start(); 25 | ``` 26 | where XXXXXXXXXXXXXXXXXXXXXX is the instrumentation key of the resource you selected (or created) in step 4. 27 | 28 | NOTE: In order to inject code to your project's main file, we look at package.json's main argument. If it is not defined, we look for common main file names in the workspace's root directory. Finally, if we fail to find a main file, you would need to add the code shown above into your project. You can find the instrumentation key for your resource using [instructions described on this page](https://docs.microsoft.com/en-us/azure/application-insights/app-insights-create-new-resource). -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MICROSOFT SOFTWARE LICENSE TERMS 2 | MICROSOFT VISUAL Studio Code Extension 3 | These license terms are an agreement between Microsoft Corporation (or based on where you live, one of its affiliates) and you. They apply to the software named above. The terms also apply to any Microsoft services or updates for the software, except to the extent those have additional terms. 4 | IF YOU COMPLY WITH THESE LICENSE TERMS, YOU HAVE THE RIGHTS BELOW. 5 | INSTALLATION AND USE RIGHTS. You may install and use any number of copies of the software. 6 | TERMS FOR SPECIFIC COMPONENTS. 7 | a. Third Party Components. The software may include third party components with separate legal notices or governed by other agreements, as described in the ThirdPartyNotices file accompanying the software. Even if such components are governed by other agreements, the disclaimers and the limitations on and exclusions of damages below also apply. 8 | DATA. The software may collect information about you and your use of the software, and send that to Microsoft. Microsoft may use this information to provide services and improve our products and services. You may opt-out of many of these scenarios, but not all, as described in the product documentation. You can learn more about data collection and use in the help documentation and the privacy statement at http://go.microsoft.com/fwlink/?LinkId=528096&clcid=0x409. Your use of the software operates as your consent to these practices. 9 | SCOPE OF LICENSE. The software is licensed, not sold. This agreement only gives you some rights to use the software. Microsoft reserves all other rights. Unless applicable law gives you more rights despite this limitation, you may use the software only as expressly permitted in this agreement. In doing so, you must comply with any technical limitations in the software that only allow you to use it in certain ways. You may not 10 | • work around any technical limitations in the software; 11 | • reverse engineer, decompile or disassemble the software, or attempt to do so; 12 | • remove, minimize, block or modify any notices of Microsoft or its suppliers in the software; 13 | • use the software in any way that is against the law; or 14 | • share, publish, rent or lease the software, or provide the software as a stand-alone hosted as solution for others to use. 15 | EXPORT RESTRICTIONS. You must comply with all domestic and international export laws and regulations that apply to the software, which include restrictions on destinations, end users, and end use. For further information on export restrictions, visit (aka.ms/exporting). 16 | SUPPORT SERVICES. Because this software is “as is,” we may not provide support services for it. 17 | ENTIRE AGREEMENT. This agreement, and the terms for supplements, updates, Internet-based services and support services that you use, are the entire agreement for the software and support services. 18 | APPLICABLE LAW. If you acquired the software in the United States, Washington law applies to interpretation of and claims for breach of this agreement, and the laws of the state where you live apply to all other claims. If you acquired the software in any other country, its laws apply. 19 | CONSUMER RIGHTS; REGIONAL VARIATIONS. This agreement describes certain legal rights. You may have other rights, including consumer rights, under the laws of your state or country. Separate and apart from your relationship with Microsoft, you may also have rights with respect to the party from which you acquired the software. This agreement does not change those other rights if the laws of your state or country do not permit it to do so. For example, if you acquired the software in one of the below regions, or mandatory country law applies, then the following provisions apply to you: 20 | a) Australia. You have statutory guarantees under the Australian Consumer Law and nothing in this agreement is intended to affect those rights. 21 | b) Canada. If you acquired this software in Canada, you may stop receiving updates by turning off the automatic update feature, disconnecting your device from the Internet (if and when you re-connect to the Internet, however, the software will resume checking for and installing updates), or uninstalling the software. The product documentation, if any, may also specify how to turn off updates for your specific device or software. 22 | c) Germany and Austria. 23 | (i) Warranty. The properly licensed software will perform substantially as described in any Microsoft materials that accompany the software. However, Microsoft gives no contractual guarantee in relation to the licensed software. 24 | (ii) Limitation of Liability. In case of intentional conduct, gross negligence, claims based on the Product Liability Act, as well as, in case of death or personal or physical injury, Microsoft is liable according to the statutory law. 25 | Subject to the foregoing clause (ii), Microsoft will only be liable for slight negligence if Microsoft is in breach of such material contractual obligations, the fulfillment of which facilitate the due performance of this agreement, the breach of which would endanger the purpose of this agreement and the compliance with which a party may constantly trust in (so-called "cardinal obligations"). In other cases of slight negligence, Microsoft will not be liable for slight negligence. 26 | DISCLAIMER OF WARRANTY. THE SOFTWARE IS LICENSED “AS-IS.” YOU BEAR THE RISK OF USING IT. MICROSOFT GIVES NO EXPRESS WARRANTIES, GUARANTEES OR CONDITIONS. TO THE EXTENT PERMITTED UNDER YOUR LOCAL LAWS, MICROSOFT EXCLUDES THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. 27 | LIMITATION ON AND EXCLUSION OF DAMAGES. YOU CAN RECOVER FROM MICROSOFT AND ITS SUPPLIERS ONLY DIRECT DAMAGES UP TO U.S. $5.00. YOU CANNOT RECOVER ANY OTHER DAMAGES, INCLUDING CONSEQUENTIAL, LOST PROFITS, SPECIAL, INDIRECT OR INCIDENTAL DAMAGES. 28 | This limitation applies to (a) anything related to the software, services, content (including code) on third party Internet sites, or third party applications; and (b) claims for breach of contract, breach of warranty, guarantee or condition, strict liability, negligence, or other tort to the extent permitted by applicable law. 29 | It also applies even if Microsoft knew or should have known about the possibility of the damages. The above limitation or exclusion may not apply to you because your country may not allow the exclusion or limitation of incidental, consequential or other damages. -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Azure Application Insights 2 | Azure Application Insights is a service that can help your team gain insights into the usage, reliability and performance of your live Node.js Express applications. 3 | 4 | [Learn about Azure Application Insights](https://azure.microsoft.com/en-us/services/application-insights/ "Documentation") 5 | 6 | The Application Insights extension for Visual Studio Code brings information from your production services right into your code editor to help you find and fix issues faster. 7 | 8 | ## Features 9 | ### Request data in CodeLens 10 | Three request metrics are available in CodeLens in Visual Studio Code. Each shows data from the last 24 hours as measured by the Application Insights resource you set up with Visual Studio Code: 11 | * **Total Requests** - Number of requests made to this route 12 | * **Failed Request** - Number of failed requests to this route 13 | * **Average Response Times** - Average response time for requests made to this route. 14 | 15 | ![Example of request CodeLens functionality](https://aidevtools.blob.core.windows.net/vscode-assets/codelens.gif) 16 | 17 | ### Easy Onboarding 18 | Enable Application Insights telemetry collection in your Express app with a simple command in Visual Studio Code. 19 | 20 | ![Example of onboarding](https://aidevtools.blob.core.windows.net/vscode-assets/onboarding.gif) 21 | 22 | ## Getting started with Express and Application Insights 23 | ### Create an Express app 24 | Get started by installing the Express generator, creating a new app, and opening it in Visual Studio Code: 25 | ``` 26 | $ npm install express-generator -g 27 | $ express mywebapp 28 | $ cd mywebbapp && npm install 29 | $ code . 30 | ``` 31 | [Learn about using the Express generator.](http://expressjs.com/en/starter/generator.html) 32 | 33 | ### Onboard with Application Insights 34 | Run the 'Add to Project' command to register your app with Application Insights. 35 | 36 | `Ctrl/Command + Shift + P -> "Application Insights: Add to Project"` 37 | 38 | This command guides you through creating (or selecting) an Azure resource for your telemetry. It also adds the required packages/code to start collecting telemetry data and showing it in CodeLens. Run your app or deploy it to start seeing telemetry in Visual Studio Code and the Azure Portal. 39 | 40 | Application Insights resources are free for the first gigabyte of data per month. See [Application Insights Pricing](https://go.microsoft.com/fwlink/?linkid=833169) for more details. 41 | 42 | ![Example of onboarding](https://aidevtools.blob.core.windows.net/vscode-assets/onboarding.gif) 43 | 44 | ### See CodeLens on request definitions 45 | ![Example of request CodeLens functionality](https://aidevtools.blob.core.windows.net/vscode-assets/codelens.gif) 46 | 47 | Click on the CodeLens indicator to see more details. 48 | 49 | ## See CodeLens data from a different Application Insights Resource 50 | If you want CodeLens to show data from a different resource than the one you onboarded from, then run the 'Choose CodeLens resource' command. This is a common scenario when you have different resources for your development and production environment. 51 | 52 | `Ctrl/Command + Shift + P -> "Application Insights: Choose CodeLens resource"` 53 | 54 | 55 | ![How to select a resource](https://aidevtools.blob.core.windows.net/vscode-assets/selectresource.gif) 56 | 57 | ## Release Notes 58 | ### Version 0.3.1 59 | - Switched to using esprima-fb in order to support es7 syntax. 60 | - Telemetry improvements. 61 | 62 | ### Version 0.3.0 63 | - Added commnad to open azure portal. 64 | - Informational prompt to add Application Insights to a new project. 65 | 66 | ### Version 0.2.0 67 | - Application Insights onboarding for Node.js Express apps. 68 | - Disable telemetry auto-collection. 69 | - Update third party notices file. 70 | - Add functionality to opt out of usage telemetry reporting. 71 | 72 | ### Version 0.1.1 73 | - Bug fix to enable usage telemetry. 74 | 75 | ### Version 0.1.0 76 | - Support CodeLens with request statistics for Node.js Express applications. 77 | 78 | ## Feedback 79 | - In order to report bugs or provide general feedback please visit our repository's [Issues](https://github.com/Microsoft/applicationinsights-vscode/issues) page. 80 | 81 | ## Privacy Statement 82 | The [Microsoft Online Services Privacy Statement](https://go.microsoft.com/fwlink/?LinkId=512156) describes the privacy statement of this software. 83 | 84 | If you don’t wish to send usage data to Microsoft, add the environment variable AITOOLSVSCODE_DISABLETELEMETRY. 85 | 86 | ## License 87 | The extension is made available under the [Microsoft Software License Terms](https://github.com/Microsoft/applicationinsights-vscode/blob/master/LICENSE). Please see the [third-party notices](https://github.com/Microsoft/applicationinsights-vscode/blob/master/ThirdPartyNotices.txt) file for additional copyright notices and license terms applicable to portions of the software. 88 | -------------------------------------------------------------------------------- /ThirdPartyNotices.txt: -------------------------------------------------------------------------------- 1 | THIRD-PARTY SOFTWARE NOTICES AND INFORMATION 2 | Do Not Translate or Localize 3 | 4 | Azure Application Insights Tools for Visual Studio Code incorporates third party material (and other Microsoft material) from the projects listed below. The original copyright notice and the license under which Microsoft received such third party material are set forth below. Microsoft reserves all other rights not expressly granted, whether by implication, estoppel or otherwise. 5 | 6 | NOTICES, INFORMATION, AND LICENSE FOR THE PROJECTS 1-10 LISTED BELOW BEGIN HERE: 7 | 8 | 1. adal-node 0.1.16 (https://github.com/AzureAD/azure-activedirectory- library-for-nodejs) 9 | Copyright © Microsoft Open Technologies, Inc. 10 | All Rights Reserved 11 | 2. aws-sign2 0.5.0 (https://github.com/mikeal/aws-sign) 12 | Copyright 2010 LearnBoost . All rights reserved. 167 | Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 168 | 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 169 | 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 170 | 3. All advertising materials mentioning features or use of this software must display the following acknowledgement: 171 | This product includes software developed by the organization. 172 | 4. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. 173 | THIS SOFTWARE IS PROVIDED BY COPYRIGHT HOLDER "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL COPYRIGHT HOLDER BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 174 | ================================================= 175 | END OF NOTICES, INFORMATION AND LICENSE FOR THE PROJECT 24. 176 | 177 | NOTICES, INFORMATION, AND LICENSE FOR THE PROJECTS 25 - 40 LISTED BELOW BEGIN HERE: 178 | ================================================= 179 | 25. base64-url 1.3.3 (https://github.com/joaquimserafim/base64-url) 180 | Copyright (c) 2014, Joaquim José F. Serafim 181 | 26. block-stream 0.0.9 (https://github.com/isaacs/block-stream ) 182 | Copyright (c) Isaac Z. Schlueter and Contributors 183 | 27. fs.realpath 1.0.0 (https://github.com/isaacs/fs.realpath ) 184 | Copyright (c) Isaac Z. Schlueter and Contributors 185 | 28. fstream 1.0.10 (https://github.com/npm/fstream ) 186 | Copyright (c) Isaac Z. Schlueter and Contributors 187 | 29. glob 7.1.1 (https://github.com/isaacs/node-glob ) 188 | Copyright (c) Isaac Z. Schlueter and Contributors 189 | 30. graceful-fs 4.1.10 (https://github.com/isaacs/node-graceful-fs ) 190 | Copyright (c) Isaac Z. Schlueter, Ben Noordhuis, and Contributors 191 | 31. har-validator 1.8.0 (https://github.com/ahmadnassri/har-validator ) 192 | Copyright (c) 2015, Ahmad Nassri ahmad@ahmadnassri.com 193 | 32. har-validator 2.0.6 (https://github.com/ahmadnassri/har-validator ) 194 | Copyright (c) 2015, Ahmad Nassri 195 | 33. inflight 1.0.6 (https://github.com/npm/inflight ) 196 | Copyright (c) Isaac Z. Schlueter 197 | 34. inherits 2.0.3 https://github.com/isaacs/inherits ) 198 | Copyright (c) Isaac Z. Schlueter 199 | 35. json-stringify-safe 5.0.1 (https://github.com/isaacs/json-stringify-safe) 200 | Copyright (c) Isaac Z. Schlueter and Contributors 201 | 36. minimatch 3.0.3 (https://github.com/isaacs/minimatch) 202 | Copyright (c) Isaac Z. Schlueter and Contributors 203 | 37. once 1.4.0 (https://github.com/isaacs/once) 204 | Copyright (c) Isaac Z. Schlueter and Contributors 205 | 38. rimraf 2.5.4 (https://github.com/isaacs/rimraf) 206 | Copyright (c) Isaac Z. Schlueter and Contributors 207 | 39. tar 2.2.1 (https://github.com/isaacs/node-tar) 208 | Copyright (c) Isaac Z. Schlueter and Contributors 209 | 40. wrappy 1.0.2 (https://github.com/npm/wrappy) 210 | Copyright (c) Isaac Z. Schlueter and Contributors 211 | The ISC License 212 | Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. 213 | THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 214 | ============================================= 215 | END OF NOTICES, INFORMATION, AND LICENSE FOR THE PROJECTS 25 – 40. 216 | NOTICES, INFORMATION, AND LICENSE FOR THE PROJECTS 41 - 130 LISTED BELOW BEGIN HERE: 217 | =============================================== 218 | 41. ansi-regex 2.0.0 (https://github.com/sindresorhus/ansi-regex) 219 | Copyright (c) Sindre Sorhus (sindresorhus.com) 220 | 42. ansi-styles 2.2.1 (https://github.com/chalk/ansi-styles) 221 | Copyright (c) Sindre Sorhus (sindresorhus.com) 222 | 43. applicationinsights 0.17.0 (https://github.com/Microsoft/ApplicationInsights-node.js) 223 | Copyright © Microsoft Corporation 224 | 44. asn1 0.2.3 (https://github.com/mcavage/node-asn1 ) 225 | Copyright (c) 2011 Mark Cavage, All rights reserved. 226 | 45. assert-plus 0.2.0 (https://github.com/mcavage/node-assert-plus) 227 | Copyright (c) 2012 Mark Cavage 228 | 46. assert-plus 1.0.0 (https://github.com/mcavage/node-assert-plus) 229 | Copyright (c) 2012 Mark Cavage 230 | 47. async 2.1.2 (https://github.com/caolan/async) 231 | Copyright (c) 2010-2016 Caolan McMahon 232 | 48. asynckit 0.4.0 (https://github.com/alexindigo/asynckit) 233 | Copyright (c) 2016 Alex Indigo 234 | 49. aws4 1.5.0 (https://github.com/mhart/aws4) 235 | Copyright 2013 Michael Hart (michael.hart.au@gmail.com) 236 | 50. balanced-match 0.4.2 (https://github.com/juliangruber/balanced-match) 237 | Copyright (c) 2013 Julian Gruber (sindresorhus.com) 250 | 57. combined-stream 1.0.5 (https://github.com/felixge/node-combined- stream) 251 | Copyright (c) 2011 Debuggable Limited felix@debuggable.com 252 | 58. commander.js 2.9.0 (https://github.com/tj/commander.js) 253 | Copyright (c) 2011 TJ Holowaychuk tj@vision-media.ca 254 | 59. concat-map 0.0.1 (https://github.com/substack/node-concat-map) 255 | 60. core-util-is 1.0.2 (https://github.com/isaacs/core-util-is) 256 | Copyright Node.js contributors. All rights reserved. 257 | 61. dashdash 1.14.0 (https://github.com/trentm/node-dashdash) 258 | Copyright (c) 2013 Trent Mick. All rights reserved. 259 | Copyright (c) 2013 Joyent Inc. All rights reserved. 260 | 62. date-utils 1.2.21 (https://github.com/JerrySievert/date-utils) 261 | © 2011 by Jerry Sievert 262 | 63. delayed-stream 1.0.0 (https://github.com/felixge/node-delayed-stream) 263 | Copyright (c) 2011 Debuggable Limited felix@debuggable.com 264 | 64. duplexer 0.1.1 (https://github.com/Raynos/duplexer) 265 | Copyright (c) 2012 Raynos. 266 | 65. ecc-jsbn 0.1.1 (https://github.com/quartzjer/ecc-jsbn) 267 | Copyright (c) 2014 Jeremie Miller 268 | 66. escape-string-regexp 1.0.5 (https://github.com/sindresorhus/escape- string-regexp) 269 | Copyright (c) Sindre Sorhus (sindresorhus.com) 270 | 67. event-stream 3.3.4 (https://github.com/dominictarr/event-stream) 271 | Copyright (c) 2011 Dominic Tarr 272 | 68. extend 3.0.0 (https://github.com/justmoon/node-extend) 273 | Copyright (c) 2014 Stefan Thomas 274 | 69. form-data 1.0.1 (https://github.com/form-data/form-data) 275 | Copyright (c) 2012 Felix Geisendörfer (felix@debuggable.com) and contributors 276 | 70. form-data 2.1.1 (https://github.com/form-data/form-data) 277 | Copyright (c) 2012 Felix Geisendörfer (felix@debuggable.com) and contributors 278 | 71. from 0.1.3 (https://github.com/dominictarr/from) 279 | Copyright (c) 2011 Dominic Tarr 280 | 72. generate-function 2.0.0 (https://github.com/mafintosh/generate- function) 281 | Copyright (c) 2014 Mathias Buus 282 | 73. generate-object-property 1.2.0 (https://github.com/mafintosh/generate- object-property) 283 | Copyright (c) 2014 Mathias Buus 284 | 74. getpass 0.1.6 (https://github.com/arekinath/node-getpass) 285 | Copyright Joyent, Inc. All rights reserved. 286 | 75. graceful-readlink 1.0.1 (https://github.com/zhiyelee/graceful- readlink) 287 | Copyright (c) 2015 Zhiye Li 288 | 76. has-ansi 2.0.0 (https://github.com/sindresorhus/has-ansi) 289 | Copyright (c) Sindre Sorhus (sindresorhus.com) 290 | 77. http-signature 1.11.0 (https://github.com/joyent/node-http-signature) 291 | Copyright Joyent, Inc. All rights reserved. 292 | 78. http-signature 1.1.1 (https://github.com/joyent/node-http-signature) 293 | Copyright Joyent, Inc. All rights reserved. 294 | 79. is-my-json-valid 2.15.0 (https://github.com/mafintosh/is-my-json- valid) 295 | Copyright (c) 2014 Mathias Buus 296 | 80. is-property 1.0.2 (https://github.com/mikolalysenko/is-property) 297 | Copyright (c) 2013 Mikola Lysenko 298 | 81. is-typedarray 1.0.0 (https://github.com/hughsk/is-typedarray) 299 | 82. isarray 0.0.1 (https://github.com/juliangruber/isarray) 300 | Copyright (c) 2013 Julian Gruber 301 | 83. isarray 1.0.0 (https://github.com/juliangruber/isarray) 302 | Copyright (c) 2013 Julian Gruber 303 | 84. isstream 0.1.2 (https://github.com/rvagg/isstream) 304 | Copyright (c) 2015 Rod Vagg 305 | 85. jodid25519 1.0.2 (https://github.com/meganz/jodid25519) 306 | Copyright (c) 2012 Ron Garret 307 | Copyright (c) 2007, 2013, 2014 Michele Bini 308 | Copyright (c) 2014 Mega Limited 309 | 86. jsonpointer 4.0.0 (https://github.com/janl/node-jsonpointer) 310 | Copyright (c) 2011-2015 Jan Lehnardt jan@apache.org & Marc Bachmann https://github.com/marcbachmann 311 | 87. jsprim 1.3.1 (https://github.com/davepacheco/node-jsprim) 312 | Copyright (c) 2012, Joyent, Inc. All rights reserved. 313 | 88. jwa 1.1.4 (https://github.com/brianloveswords/node-jwa) 314 | Copyright (c) 2013 Brian J. Brennan 315 | 89. jws 3.1.4 (https://github.com/brianloveswords/node-jws) 316 | Copyright (c) 2013 Brian J. Brennan 317 | 90. lodash 4.16.6 (https://github.com/lodash/lodash) 318 | Copyright JS Foundation and other contributors https://js.foundation/ 319 | 91. map-stream 0.1.0 (https://github.com/dominictarr/map-stream) 320 | Copyright (c) 2011 Dominic Tarr 321 | 92. mime-db 1.24.0 (https://github.com/jshttp/mime-db) 322 | Copyright (c) 2014 Jonathan Ong me@jongleberry.com 323 | 93. mime-types 2.1.12 (https://github.com/jshttp/mime-types) 324 | Copyright (c) 2014 Jonathan Ong me@jongleberry.com 325 | Copyright (c) 2015 Douglas Christopher Wilson doug@somethingdoug.com 326 | 94. minimist 0.0.8 (https://github.com/substack/minimist) 327 | 95. mkdirp 0.5.1 (https://github.com/substack/node-mkdirp) 328 | Copyright 2010 James Halliday (mail@substack.net) 329 | 96. node-uuid 1.4.7 (https://github.com/broofa/node-uuid) 330 | Copyright (c) 2010-2016 Robert Kieffer and other contributors 331 | 97. object-assign 4.1.0 (https://github.com/sindresorhus/object-assign) 332 | Copyright (c) Sindre Sorhus (sindresorhus.com) 333 | 98. opn 4.0.2 (https://github.com/sindresorhus/opn) 334 | Copyright (c) Sindre Sorhus sindresorhus@gmail.com 335 | 99. os-tmpdir 1.0.2 (https://github.com/sindresorhus/os-tmpdir) 336 | Copyright (c) Sindre Sorhus (sindresorhus.com) 337 | 100. path-is-absolute 1.0.1 (https://github.com/sindresorhus/path-is- absolute) 338 | Copyright (c) Sindre Sorhus (sindresorhus.com) 339 | 101. path-to-regexp 1.6.0 (https://github.com/pillarjs/path-to-regexp) 340 | Copyright (c) 2014 Blake Embrey (hello@blakeembrey.com) 341 | 102. pause-stream 0.0.11 (https://github.com/dominictarr/pause-stream) 342 | Copyright (c) 2013 Dominic Tarr 343 | 103. pinkie-promise 2.0.1 (https://github.com/floatdrop/pinkie-promise) 344 | Copyright (c) Vsevolod Strukchinsky (github.com/floatdrop) 345 | 104. pinkie 2.0.4 (https://github.com/floatdrop/pinkie) 346 | Copyright (c) Vsevolod Strukchinsky (github.com/floatdrop) 347 | 105. process-nextick-args 1.0.7 (https://github.com/calvinmetcalf/process- nextick-args) 348 | Copyright (c) 2015 Calvin Metcalf 349 | 106. punycode 1.4.1 (https://github.com/bestiejs/punycode.js) 350 | Copyright Mathias Bynens https://mathiasbynens.be/ 351 | 107. q 1.4.1 (https://github.com/kriskowal/q) 352 | Copyright 2009–2016 Kristopher Michael Kowal. All rights reserved. 353 | 108. readable-stream 2.0.6 (https://github.com/nodejs/readable-stream) 354 | Copyright Joyent, Inc. and other Node contributors. All rights reserved. 355 | 109. readable-stream 2.2.2 (https://github.com/nodejs/readable-stream) 356 | Copyright Joyent, Inc. and other Node contributors. All rights reserved. 357 | 110. safe-buffer 5.0.1 (https://github.com/feross/safe-buffer) 358 | Copyright (c) Feross Aboukhadijeh 359 | 111. split 0.3.3 (https://github.com/dominictarr/split) 360 | Copyright (c) 2011 Dominic Tarr 361 | 112. sshpk 1.10.1 (https://github.com/arekinath/node-sshpk) 362 | Copyright Joyent, Inc. All rights reserved. 363 | 113. stream-combiner 0.0.4 (https://github.com/dominictarr/stream- combiner) 364 | Copyright (c) 2012 'Dominic Tarr' 365 | 114. string_decoder 0.10.31 (https://github.com/rvagg/string_decoder) 366 | Copyright Joyent, Inc. and other Node contributors. 367 | 115. stringstream 0.0.5 (https://github.com/mhart/StringStream) 368 | Copyright (c) 2012 Michael Hart (michael.hart.au@gmail.com) 369 | 116. strip-ansi 3.0.1 (https://github.com/chalk/strip-ansi) 370 | Copyright (c) Sindre Sorhus (sindresorhus.com) 371 | 117. supports-color 2.0.0 (https://github.com/chalk/supports-color) 372 | Copyright (c) Sindre Sorhus (sindresorhus.com) 373 | 118. through 2.3.8 (https://github.com/dominictarr/through) 374 | Copyright (c) 2011 Dominic Tarr 375 | 119. tmp 0.0.30 (https://github.com/raszi/node-tmp) 376 | Copyright (c) 2014 KARASZI István 377 | 120. underscore 1.8.3 (https://github.com/jashkenas/underscore) 378 | Copyright (c) 2009-2016 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors 379 | 121. urijs 1.16.1 (https://github.com/medialize/URI.js) 380 | Copyright (c) 2011 Rodney Rehm 381 | 122. util-deprecate 1.0.2 (https://github.com/TooTallNate/util-deprecate) 382 | Copyright (c) 2014 Nathan Rajlich nathan@tootallnate.net 383 | 123. xtend 4.0.1 (https://github.com/Raynos/xtend) 384 | Copyright (c) 2012-2014 Raynos. 385 | 124. asn1 0.1.11 (https://github.com/mcavage/node-asn1) 386 | Copyright (c) 2011 Mark Cavage, All rights reserved. 387 | 125. assert-plus 0.1.5 (https://github.com/mcavage/node-assert-plus) 388 | Copyright (c) 2012 Mark Cavage 389 | 126. ctype 0.5.3 (https://github.com/rmustacc/node-ctype) 390 | Copyright 2011, Robert Mustacchi. All rights reserved. 391 | Copyright 2011, Joyent, Inc. All rights reserved. 392 | 127. extsprintf 1.0.2 (https://github.com/davepacheco/node-extsprintf) 393 | Copyright (c) 2012, Joyent, Inc. All rights reserved. 394 | 128. node-uuid 1.4.1 (https://github.com/broofa/node-uuid) 395 | Copyright (c) 2010-2016 Robert Kieffer and other contributors 396 | 129. verror 1.3.6 (https://github.com/davepacheco/node-verror) 397 | Copyright (c) 2016, Joyent, Inc. All rights reserved. 398 | 130. xmldom 0.1.22 (https://github.com/jindw/xmldom) 399 | MIT 400 | Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: 401 | The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. 402 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 403 | ============================================== 404 | END OF NOTICES, INFORMATION, AND LICENSE FOR THE PROJECT 41 – 130. 405 | 406 | NOTICES, INFORMATION, AND LICENSE FOR THE PROJECT 131 LISTED BELOW BEGIN HERE: 407 | ================================================ 408 | 409 | 131. tweetnacl 0.14.3 (https://github.com/dchest/tweetnacl-js) 410 | 411 | This is free and unencumbered software released into the public domain. 412 | Anyone is free to copy, modify, publish, use, compile, sell, or 413 | distribute this software, either in source code form or as a compiled 414 | binary, for any purpose, commercial or non-commercial, and by any 415 | means. 416 | In jurisdictions that recognize copyright laws, the author or authors 417 | of this software dedicate any and all copyright interest in the 418 | software to the public domain. We make this dedication for the benefit 419 | of the public at large and to the detriment of our heirs and 420 | successors. We intend this dedication to be an overt act of 421 | relinquishment in perpetuity of all present and future rights to this 422 | software under copyright law. 423 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 424 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 425 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. 426 | IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR 427 | OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, 428 | ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 429 | OTHER DEALINGS IN THE SOFTWARE. 430 | ================================================ 431 | END OF NOTICES, INFORMATION, AND LICENSE FOR THE PROJECT 131. 432 | NOTICES, INFORMATION, AND LICENSE FOR THE PROJECT 132 BELOW BEGIN HERE: 433 | 434 | ================================================= 435 | 132. xpath.js 1.0.6 (https://github.com/yaronn/xpath.js) 436 | This work is licensed under the Creative Commons Attribution- ShareAlike License. 437 | Attribution-ShareAlike 2.0 License 438 | THE WORK (AS DEFINED BELOW) IS PROVIDED UNDER THE TERMS OF THIS CREATIVE COMMONS PUBLIC LICENSE ("CCPL" OR "LICENSE"). THE WORK IS PROTECTED BY COPYRIGHT AND/OR OTHER APPLICABLE LAW. ANY USE OF THE WORK OTHER THAN AS AUTHORIZED UNDER THIS LICENSE OR COPYRIGHT LAW IS PROHIBITED. 439 | BY EXERCISING ANY RIGHTS TO THE WORK PROVIDED HERE, YOU ACCEPT AND AGREE TO BE BOUND BY THE TERMS OF THIS LICENSE. THE LICENSOR GRANTS YOU THE RIGHTS CONTAINED HERE IN CONSIDERATION OF YOUR ACCEPTANCE OF SUCH TERMS AND CONDITIONS. 440 | 1. Definitions 441 | a. "Collective Work" means a work, such as a periodical issue, anthology or encyclopedia, in which the Work in its entirety in unmodified form, along with a number of other contributions, constituting separate and independent works in themselves, are assembled into a collective whole. A work that constitutes a Collective Work will not be considered a Derivative Work (as defined below) for the purposes of this License. 442 | b. "Derivative Work" means a work based upon the Work or upon the Work and other pre-existing works, such as a translation, musical arrangement, dramatization, fictionalization, motion picture version, sound recording, art reproduction, abridgment, condensation, or any other form in which the Work may be recast, transformed, or adapted, except that a work that constitutes a Collective Work will not be considered a Derivative Work for the purpose of this License. For the avoidance of doubt, where the Work is a musical composition or sound recording, the synchronization of the Work in timed-relation with a moving image ("synching") will be considered a Derivative Work for the purpose of this License. 443 | c. "Licensor" means the individual or entity that offers the Work under the terms of this License. 444 | d. "Original Author" means the individual or entity who created the Work. 445 | e. "Work" means the copyrightable work of authorship offered under the terms of this License. 446 | f. "You" means an individual or entity exercising rights under this License who has not previously violated the terms of this License with respect to the Work, or who has received express permission from the Licensor to exercise rights under this License despite a previous violation. 447 | g. "License Elements" means the following high-level license attributes as selected by Licensor and indicated in the title of this License: Attribution, ShareAlike. 448 | 2. Fair Use Rights. Nothing in this license is intended to reduce, limit, or restrict any rights arising from fair use, first sale or other limitations on the exclusive rights of the copyright owner under copyright law or other applicable laws. 449 | 3. License Grant. Subject to the terms and conditions of this License, Licensor hereby grants You a worldwide, royalty-free, non-exclusive, perpetual (for the duration of the applicable copyright) license to exercise the rights in the Work as stated below: 450 | a. to reproduce the Work, to incorporate the Work into one or more Collective Works, and to reproduce the Work as incorporated in the Collective Works; 451 | b. to create and reproduce Derivative Works; 452 | c. to distribute copies or phonorecords of, display publicly, perform publicly, and perform publicly by means of a digital audio transmission the Work including as incorporated in Collective Works; 453 | d. to distribute copies or phonorecords of, display publicly, perform publicly, and perform publicly by means of a digital audio transmission Derivative Works. 454 | e. For the avoidance of doubt, where the work is a musical composition: 455 | i. Performance Royalties Under Blanket Licenses. Licensor waives the exclusive right to collect, whether individually or via a performance rights society (e.g. ASCAP, BMI, SESAC), royalties for the public performance or public digital performance (e.g. webcast) of the Work. 456 | ii. Mechanical Rights and Statutory Royalties. Licensor waives the exclusive right to collect, whether individually or via a music rights society or designated agent (e.g. Harry Fox Agency), royalties for any phonorecord You create from the Work ("cover version") and distribute, subject to the compulsory license created by 17 USC Section 115 of the US Copyright Act (or the equivalent in other jurisdictions). 457 | f. Webcasting Rights and Statutory Royalties. For the avoidance of doubt, where the Work is a sound recording, Licensor waives the exclusive right to collect, whether individually or via a performance-rights society (e.g. SoundExchange), royalties for the public digital performance (e.g. webcast) of the Work, subject to the compulsory license created by 17 USC Section 114 of the US Copyright Act (or the equivalent in other jurisdictions). 458 | The above rights may be exercised in all media and formats whether now known or hereafter devised. The above rights include the right to make such modifications as are technically necessary to exercise the rights in other media and formats. All rights not expressly granted by Licensor are hereby reserved. 459 | 4. Restrictions. The license granted in Section 3 above is expressly made subject to and limited by the following restrictions: 460 | a. You may distribute, publicly display, publicly perform, or publicly digitally perform the Work only under the terms of this License, and You must include a copy of, or the Uniform Resource Identifier for, this License with every copy or phonorecord of the Work You distribute, publicly display, publicly perform, or publicly digitally perform. You may not offer or impose any terms on the Work that alter or restrict the terms of this License or the recipients' exercise of the rights granted hereunder. You may not sublicense the Work. You must keep intact all notices that refer to this License and to the disclaimer of warranties. You may not distribute, publicly display, publicly perform, or publicly digitally perform the Work with any technological measures that control access or use of the Work in a manner inconsistent with the terms of this License Agreement. The above applies to the Work as incorporated in a Collective Work, but this does not require the Collective Work apart from the Work itself to be made subject to the terms of this License. If You create a Collective Work, upon notice from any Licensor You must, to the extent practicable, remove from the Collective Work any reference to such Licensor or the Original Author, as requested. If You create a Derivative Work, upon notice from any Licensor You must, to the extent practicable, remove from the Derivative Work any reference to such Licensor or the Original Author, as requested. 461 | b. You may distribute, publicly display, publicly perform, or publicly digitally perform a Derivative Work only under the terms of this License, a later version of this License with the same License Elements as this License, or a Creative Commons iCommons license that contains the same License Elements as this License (e.g. Attribution-ShareAlike 2.0 Japan). You must include a copy of, or the Uniform Resource Identifier for, this License or other license specified in the previous sentence with every copy or phonorecord of each Derivative Work You distribute, publicly display, publicly perform, or publicly digitally perform. You may not offer or impose any terms on the Derivative Works that alter or restrict the terms of this License or the recipients' exercise of the rights granted hereunder, and You must keep intact all notices that refer to this License and to the disclaimer of warranties. You may not distribute, publicly display, publicly perform, or publicly digitally perform the Derivative Work with any technological measures that control access or use of the Work in a manner inconsistent with the terms of this License Agreement. The above applies to the Derivative Work as incorporated in a Collective Work, but this does not require the Collective Work apart from the Derivative Work itself to be made subject to the terms of this License. 462 | c. If you distribute, publicly display, publicly perform, or publicly digitally perform the Work or any Derivative Works or Collective Works, You must keep intact all copyright notices for the Work and give the Original Author credit reasonable to the medium or means You are utilizing by conveying the name (or pseudonym if applicable) of the Original Author if supplied; the title of the Work if supplied; to the extent reasonably practicable, the Uniform Resource Identifier, if any, that Licensor specifies to be associated with the Work, unless such URI does not refer to the copyright notice or licensing information for the Work; and in the case of a Derivative Work, a credit identifying the use of the Work in the Derivative Work (e.g., "French translation of the Work by Original Author," or "Screenplay based on original Work by Original Author"). Such credit may be implemented in any reasonable manner; provided, however, that in the case of a Derivative Work or Collective Work, at a minimum such credit will appear where any other comparable authorship credit appears and in a manner at least as prominent as such other comparable authorship credit. 463 | 5. Representations, Warranties and Disclaimer 464 | UNLESS OTHERWISE AGREED TO BY THE PARTIES IN WRITING, LICENSOR OFFERS THE WORK AS-IS AND MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND CONCERNING THE MATERIALS, EXPRESS, IMPLIED, STATUTORY OR OTHERWISE, INCLUDING, WITHOUT LIMITATION, WARRANTIES OF TITLE, MERCHANTIBILITY, FITNESS FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR THE ABSENCE OF LATENT OR OTHER DEFECTS, ACCURACY, OR THE PRESENCE OF ABSENCE OF ERRORS, WHETHER OR NOT DISCOVERABLE. SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OF IMPLIED WARRANTIES, SO SUCH EXCLUSION MAY NOT APPLY TO YOU. 465 | 6. Limitation on Liability. EXCEPT TO THE EXTENT REQUIRED BY APPLICABLE LAW, IN NO EVENT WILL LICENSOR BE LIABLE TO YOU ON ANY LEGAL THEORY FOR ANY SPECIAL, INCIDENTAL, CONSEQUENTIAL, PUNITIVE OR EXEMPLARY DAMAGES ARISING OUT OF THIS LICENSE OR THE USE OF THE WORK, EVEN IF LICENSOR HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. 466 | 7. Termination 467 | a. This License and the rights granted hereunder will terminate automatically upon any breach by You of the terms of this License. Individuals or entities who have received Derivative Works or Collective Works from You under this License, however, will not have their licenses terminated provided such individuals or entities remain in full compliance with those licenses. Sections 1, 2, 5, 6, 7, and 8 will survive any termination of this License. 468 | b. Subject to the above terms and conditions, the license granted here is perpetual (for the duration of the applicable copyright in the Work). Notwithstanding the above, Licensor reserves the right to release the Work under different license terms or to stop distributing the Work at any time; provided, however that any such election will not serve to withdraw this License (or any other license that has been, or is required to be, granted under the terms of this License), and this License will continue in full force and effect unless terminated as stated above. 469 | 8. Miscellaneous 470 | a. Each time You distribute or publicly digitally perform the Work or a Collective Work, the Licensor offers to the recipient a license to the Work on the same terms and conditions as the license granted to You under this License. 471 | b. Each time You distribute or publicly digitally perform a Derivative Work, Licensor offers to the recipient a license to the original Work on the same terms and conditions as the license granted to You under this License. 472 | c. If any provision of this License is invalid or unenforceable under applicable law, it shall not affect the validity or enforceability of the remainder of the terms of this License, and without further action by the parties to this agreement, such provision shall be reformed to the minimum extent necessary to make such provision valid and enforceable. 473 | d. No term or provision of this License shall be deemed waived and no breach consented to unless such waiver or consent shall be in writing and signed by the party to be charged with such waiver or consent. 474 | e. This License constitutes the entire agreement between the parties with respect to the Work licensed here. There are no understandings, agreements or representations with respect to the Work not specified here. Licensor shall not be bound by any additional provisions that may appear in any communication from You. This License may not be modified without the mutual written agreement of the Licensor and You. 475 | Creative Commons is not a party to this License, and makes no warranty whatsoever in connection with the Work. Creative Commons will not be liable to You or any party on any legal theory for any damages whatsoever, including without limitation any general, special, incidental or consequential damages arising in connection to this license. Notwithstanding the foregoing two (2) sentences, if Creative Commons has expressly identified itself as the Licensor hereunder, it shall have all rights and obligations of Licensor. 476 | Except for the limited purpose of indicating to the public that the Work is licensed under the CCPL, neither party will use the trademark "Creative Commons" or any related trademark or logo of Creative Commons without the prior written consent of Creative Commons. Any permitted use will be in compliance with Creative Commons' then-current trademark usage guidelines, as may be published on its website or otherwise made available upon request from time to time. Creative Commons may be contacted at https://creativecommons.org/. 477 | ================================================ 478 | END OF NOTICES, INFORMATION, AND LICENSE FOR THE PROJECT 132. 479 | --------------------------------------------------------------------------------