ThirdPartyNotices.txt 68 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513
  1. microsoft/playwright-core
  2. THIRD-PARTY SOFTWARE NOTICES AND INFORMATION
  3. This project incorporates components from the projects listed below. The original copyright notices and the licenses under which Microsoft received such components are set forth below. Microsoft reserves all rights not expressly granted herein, whether by implication, estoppel or otherwise.
  4. - @types/node@17.0.24 (https://github.com/DefinitelyTyped/DefinitelyTyped)
  5. - @types/yauzl@2.10.0 (https://github.com/DefinitelyTyped/DefinitelyTyped)
  6. - agent-base@6.0.2 (https://github.com/TooTallNate/node-agent-base)
  7. - balanced-match@1.0.2 (https://github.com/juliangruber/balanced-match)
  8. - brace-expansion@1.1.11 (https://github.com/juliangruber/brace-expansion)
  9. - buffer-crc32@0.2.13 (https://github.com/brianloveswords/buffer-crc32)
  10. - codemirror-shadow-1@0.0.1 (https://github.com/codemirror/CodeMirror)
  11. - colors@1.4.0 (https://github.com/Marak/colors.js)
  12. - commander@8.3.0 (https://github.com/tj/commander.js)
  13. - concat-map@0.0.1 (https://github.com/substack/node-concat-map)
  14. - debug@4.3.4 (https://github.com/debug-js/debug)
  15. - define-lazy-prop@2.0.0 (https://github.com/sindresorhus/define-lazy-prop)
  16. - end-of-stream@1.4.4 (https://github.com/mafintosh/end-of-stream)
  17. - escape-string-regexp@2.0.0 (https://github.com/sindresorhus/escape-string-regexp)
  18. - extract-zip@2.0.1 (https://github.com/maxogden/extract-zip)
  19. - fd-slicer@1.1.0 (https://github.com/andrewrk/node-fd-slicer)
  20. - get-stream@5.2.0 (https://github.com/sindresorhus/get-stream)
  21. - graceful-fs@4.2.10 (https://github.com/isaacs/node-graceful-fs)
  22. - https-proxy-agent@5.0.0 (https://github.com/TooTallNate/node-https-proxy-agent)
  23. - ip@2.0.0 (https://github.com/indutny/node-ip)
  24. - is-docker@2.2.1 (https://github.com/sindresorhus/is-docker)
  25. - is-wsl@2.2.0 (https://github.com/sindresorhus/is-wsl)
  26. - jpeg-js@0.4.4 (https://github.com/eugeneware/jpeg-js)
  27. - mime@3.0.0 (https://github.com/broofa/mime)
  28. - minimatch@3.1.2 (https://github.com/isaacs/minimatch)
  29. - ms@2.1.2 (https://github.com/zeit/ms)
  30. - once@1.4.0 (https://github.com/isaacs/once)
  31. - open@8.4.0 (https://github.com/sindresorhus/open)
  32. - pend@1.2.0 (https://github.com/andrewrk/node-pend)
  33. - pngjs@6.0.0 (https://github.com/lukeapage/pngjs)
  34. - progress@2.0.3 (https://github.com/visionmedia/node-progress)
  35. - proxy-from-env@1.1.0 (https://github.com/Rob--W/proxy-from-env)
  36. - pump@3.0.0 (https://github.com/mafintosh/pump)
  37. - retry@0.12.0 (https://github.com/tim-kos/node-retry)
  38. - signal-exit@3.0.7 (https://github.com/tapjs/signal-exit)
  39. - smart-buffer@4.2.0 (https://github.com/JoshGlazebrook/smart-buffer)
  40. - socks-proxy-agent@6.1.1 (https://github.com/TooTallNate/node-socks-proxy-agent)
  41. - socks@2.7.0 (https://github.com/JoshGlazebrook/socks)
  42. - stack-utils@2.0.5 (https://github.com/tapjs/stack-utils)
  43. - wrappy@1.0.2 (https://github.com/npm/wrappy)
  44. - ws@8.4.2 (https://github.com/websockets/ws)
  45. - yauzl@2.10.0 (https://github.com/thejoshwolfe/yauzl)
  46. - yazl@2.5.1 (https://github.com/thejoshwolfe/yazl)
  47. %% @types/node@17.0.24 NOTICES AND INFORMATION BEGIN HERE
  48. =========================================
  49. MIT License
  50. Copyright (c) Microsoft Corporation.
  51. Permission is hereby granted, free of charge, to any person obtaining a copy
  52. of this software and associated documentation files (the "Software"), to deal
  53. in the Software without restriction, including without limitation the rights
  54. to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
  55. copies of the Software, and to permit persons to whom the Software is
  56. furnished to do so, subject to the following conditions:
  57. The above copyright notice and this permission notice shall be included in all
  58. copies or substantial portions of the Software.
  59. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  60. IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  61. FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  62. AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  63. LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
  64. OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
  65. SOFTWARE
  66. =========================================
  67. END OF @types/node@17.0.24 AND INFORMATION
  68. %% @types/yauzl@2.10.0 NOTICES AND INFORMATION BEGIN HERE
  69. =========================================
  70. MIT License
  71. Copyright (c) Microsoft Corporation.
  72. Permission is hereby granted, free of charge, to any person obtaining a copy
  73. of this software and associated documentation files (the "Software"), to deal
  74. in the Software without restriction, including without limitation the rights
  75. to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
  76. copies of the Software, and to permit persons to whom the Software is
  77. furnished to do so, subject to the following conditions:
  78. The above copyright notice and this permission notice shall be included in all
  79. copies or substantial portions of the Software.
  80. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  81. IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  82. FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  83. AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  84. LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
  85. OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
  86. SOFTWARE
  87. =========================================
  88. END OF @types/yauzl@2.10.0 AND INFORMATION
  89. %% agent-base@6.0.2 NOTICES AND INFORMATION BEGIN HERE
  90. =========================================
  91. agent-base
  92. ==========
  93. ### Turn a function into an [`http.Agent`][http.Agent] instance
  94. [![Build Status](https://github.com/TooTallNate/node-agent-base/workflows/Node%20CI/badge.svg)](https://github.com/TooTallNate/node-agent-base/actions?workflow=Node+CI)
  95. This module provides an `http.Agent` generator. That is, you pass it an async
  96. callback function, and it returns a new `http.Agent` instance that will invoke the
  97. given callback function when sending outbound HTTP requests.
  98. #### Some subclasses:
  99. Here's some more interesting uses of `agent-base`.
  100. Send a pull request to list yours!
  101. * [`http-proxy-agent`][http-proxy-agent]: An HTTP(s) proxy `http.Agent` implementation for HTTP endpoints
  102. * [`https-proxy-agent`][https-proxy-agent]: An HTTP(s) proxy `http.Agent` implementation for HTTPS endpoints
  103. * [`pac-proxy-agent`][pac-proxy-agent]: A PAC file proxy `http.Agent` implementation for HTTP and HTTPS
  104. * [`socks-proxy-agent`][socks-proxy-agent]: A SOCKS proxy `http.Agent` implementation for HTTP and HTTPS
  105. Installation
  106. ------------
  107. Install with `npm`:
  108. ``` bash
  109. $ npm install agent-base
  110. ```
  111. Example
  112. -------
  113. Here's a minimal example that creates a new `net.Socket` connection to the server
  114. for every HTTP request (i.e. the equivalent of `agent: false` option):
  115. ```js
  116. var net = require('net');
  117. var tls = require('tls');
  118. var url = require('url');
  119. var http = require('http');
  120. var agent = require('agent-base');
  121. var endpoint = 'http://nodejs.org/api/';
  122. var parsed = url.parse(endpoint);
  123. // This is the important part!
  124. parsed.agent = agent(function (req, opts) {
  125. var socket;
  126. // `secureEndpoint` is true when using the https module
  127. if (opts.secureEndpoint) {
  128. socket = tls.connect(opts);
  129. } else {
  130. socket = net.connect(opts);
  131. }
  132. return socket;
  133. });
  134. // Everything else works just like normal...
  135. http.get(parsed, function (res) {
  136. console.log('"response" event!', res.headers);
  137. res.pipe(process.stdout);
  138. });
  139. ```
  140. Returning a Promise or using an `async` function is also supported:
  141. ```js
  142. agent(async function (req, opts) {
  143. await sleep(1000);
  144. // etc…
  145. });
  146. ```
  147. Return another `http.Agent` instance to "pass through" the responsibility
  148. for that HTTP request to that agent:
  149. ```js
  150. agent(function (req, opts) {
  151. return opts.secureEndpoint ? https.globalAgent : http.globalAgent;
  152. });
  153. ```
  154. API
  155. ---
  156. ## Agent(Function callback[, Object options]) → [http.Agent][]
  157. Creates a base `http.Agent` that will execute the callback function `callback`
  158. for every HTTP request that it is used as the `agent` for. The callback function
  159. is responsible for creating a `stream.Duplex` instance of some kind that will be
  160. used as the underlying socket in the HTTP request.
  161. The `options` object accepts the following properties:
  162. * `timeout` - Number - Timeout for the `callback()` function in milliseconds. Defaults to Infinity (optional).
  163. The callback function should have the following signature:
  164. ### callback(http.ClientRequest req, Object options, Function cb) → undefined
  165. The ClientRequest `req` can be accessed to read request headers and
  166. and the path, etc. The `options` object contains the options passed
  167. to the `http.request()`/`https.request()` function call, and is formatted
  168. to be directly passed to `net.connect()`/`tls.connect()`, or however
  169. else you want a Socket to be created. Pass the created socket to
  170. the callback function `cb` once created, and the HTTP request will
  171. continue to proceed.
  172. If the `https` module is used to invoke the HTTP request, then the
  173. `secureEndpoint` property on `options` _will be set to `true`_.
  174. License
  175. -------
  176. (The MIT License)
  177. Copyright (c) 2013 Nathan Rajlich <nathan@tootallnate.net>
  178. Permission is hereby granted, free of charge, to any person obtaining
  179. a copy of this software and associated documentation files (the
  180. 'Software'), to deal in the Software without restriction, including
  181. without limitation the rights to use, copy, modify, merge, publish,
  182. distribute, sublicense, and/or sell copies of the Software, and to
  183. permit persons to whom the Software is furnished to do so, subject to
  184. the following conditions:
  185. The above copyright notice and this permission notice shall be
  186. included in all copies or substantial portions of the Software.
  187. THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
  188. EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
  189. MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
  190. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
  191. CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
  192. TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
  193. SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  194. [http-proxy-agent]: https://github.com/TooTallNate/node-http-proxy-agent
  195. [https-proxy-agent]: https://github.com/TooTallNate/node-https-proxy-agent
  196. [pac-proxy-agent]: https://github.com/TooTallNate/node-pac-proxy-agent
  197. [socks-proxy-agent]: https://github.com/TooTallNate/node-socks-proxy-agent
  198. [http.Agent]: https://nodejs.org/api/http.html#http_class_http_agent
  199. =========================================
  200. END OF agent-base@6.0.2 AND INFORMATION
  201. %% balanced-match@1.0.2 NOTICES AND INFORMATION BEGIN HERE
  202. =========================================
  203. (MIT)
  204. Copyright (c) 2013 Julian Gruber <julian@juliangruber.com>
  205. Permission is hereby granted, free of charge, to any person obtaining a copy of
  206. this software and associated documentation files (the "Software"), to deal in
  207. the Software without restriction, including without limitation the rights to
  208. use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
  209. of the Software, and to permit persons to whom the Software is furnished to do
  210. so, subject to the following conditions:
  211. The above copyright notice and this permission notice shall be included in all
  212. copies or substantial portions of the Software.
  213. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  214. IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  215. FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  216. AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  217. LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
  218. OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
  219. SOFTWARE.
  220. =========================================
  221. END OF balanced-match@1.0.2 AND INFORMATION
  222. %% brace-expansion@1.1.11 NOTICES AND INFORMATION BEGIN HERE
  223. =========================================
  224. MIT License
  225. Copyright (c) 2013 Julian Gruber <julian@juliangruber.com>
  226. Permission is hereby granted, free of charge, to any person obtaining a copy
  227. of this software and associated documentation files (the "Software"), to deal
  228. in the Software without restriction, including without limitation the rights
  229. to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
  230. copies of the Software, and to permit persons to whom the Software is
  231. furnished to do so, subject to the following conditions:
  232. The above copyright notice and this permission notice shall be included in all
  233. copies or substantial portions of the Software.
  234. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  235. IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  236. FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  237. AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  238. LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
  239. OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
  240. SOFTWARE.
  241. =========================================
  242. END OF brace-expansion@1.1.11 AND INFORMATION
  243. %% buffer-crc32@0.2.13 NOTICES AND INFORMATION BEGIN HERE
  244. =========================================
  245. The MIT License
  246. Copyright (c) 2013 Brian J. Brennan
  247. Permission is hereby granted, free of charge, to any person obtaining a copy
  248. of this software and associated documentation files (the "Software"), to deal in
  249. the Software without restriction, including without limitation the rights to use,
  250. copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the
  251. Software, and to permit persons to whom the Software is furnished to do so,
  252. subject to the following conditions:
  253. The above copyright notice and this permission notice shall be included in all
  254. copies or substantial portions of the Software.
  255. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
  256. INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
  257. PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE
  258. FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
  259. ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  260. =========================================
  261. END OF buffer-crc32@0.2.13 AND INFORMATION
  262. %% codemirror-shadow-1@0.0.1 NOTICES AND INFORMATION BEGIN HERE
  263. =========================================
  264. MIT License
  265. Copyright (C) 2017 by Marijn Haverbeke <marijn@haverbeke.berlin> and others
  266. Permission is hereby granted, free of charge, to any person obtaining a copy
  267. of this software and associated documentation files (the "Software"), to deal
  268. in the Software without restriction, including without limitation the rights
  269. to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
  270. copies of the Software, and to permit persons to whom the Software is
  271. furnished to do so, subject to the following conditions:
  272. The above copyright notice and this permission notice shall be included in
  273. all copies or substantial portions of the Software.
  274. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  275. IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  276. FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  277. AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  278. LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
  279. OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
  280. THE SOFTWARE.
  281. =========================================
  282. END OF codemirror-shadow-1@0.0.1 AND INFORMATION
  283. %% colors@1.4.0 NOTICES AND INFORMATION BEGIN HERE
  284. =========================================
  285. MIT License
  286. Original Library
  287. - Copyright (c) Marak Squires
  288. Additional Functionality
  289. - Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)
  290. Permission is hereby granted, free of charge, to any person obtaining a copy
  291. of this software and associated documentation files (the "Software"), to deal
  292. in the Software without restriction, including without limitation the rights
  293. to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
  294. copies of the Software, and to permit persons to whom the Software is
  295. furnished to do so, subject to the following conditions:
  296. The above copyright notice and this permission notice shall be included in
  297. all copies or substantial portions of the Software.
  298. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  299. IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  300. FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  301. AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  302. LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
  303. OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
  304. THE SOFTWARE.
  305. =========================================
  306. END OF colors@1.4.0 AND INFORMATION
  307. %% commander@8.3.0 NOTICES AND INFORMATION BEGIN HERE
  308. =========================================
  309. (The MIT License)
  310. Copyright (c) 2011 TJ Holowaychuk <tj@vision-media.ca>
  311. Permission is hereby granted, free of charge, to any person obtaining
  312. a copy of this software and associated documentation files (the
  313. 'Software'), to deal in the Software without restriction, including
  314. without limitation the rights to use, copy, modify, merge, publish,
  315. distribute, sublicense, and/or sell copies of the Software, and to
  316. permit persons to whom the Software is furnished to do so, subject to
  317. the following conditions:
  318. The above copyright notice and this permission notice shall be
  319. included in all copies or substantial portions of the Software.
  320. THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
  321. EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
  322. MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
  323. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
  324. CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
  325. TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
  326. SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  327. =========================================
  328. END OF commander@8.3.0 AND INFORMATION
  329. %% concat-map@0.0.1 NOTICES AND INFORMATION BEGIN HERE
  330. =========================================
  331. This software is released under the MIT license:
  332. Permission is hereby granted, free of charge, to any person obtaining a copy of
  333. this software and associated documentation files (the "Software"), to deal in
  334. the Software without restriction, including without limitation the rights to
  335. use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
  336. the Software, and to permit persons to whom the Software is furnished to do so,
  337. subject to the following conditions:
  338. The above copyright notice and this permission notice shall be included in all
  339. copies or substantial portions of the Software.
  340. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  341. IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
  342. FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
  343. COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
  344. IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
  345. CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  346. =========================================
  347. END OF concat-map@0.0.1 AND INFORMATION
  348. %% debug@4.3.4 NOTICES AND INFORMATION BEGIN HERE
  349. =========================================
  350. (The MIT License)
  351. Copyright (c) 2014-2017 TJ Holowaychuk <tj@vision-media.ca>
  352. Copyright (c) 2018-2021 Josh Junon
  353. Permission is hereby granted, free of charge, to any person obtaining a copy of this software
  354. and associated documentation files (the 'Software'), to deal in the Software without restriction,
  355. including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense,
  356. and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so,
  357. subject to the following conditions:
  358. The above copyright notice and this permission notice shall be included in all copies or substantial
  359. portions of the Software.
  360. THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT
  361. LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
  362. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
  363. WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
  364. SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  365. =========================================
  366. END OF debug@4.3.4 AND INFORMATION
  367. %% define-lazy-prop@2.0.0 NOTICES AND INFORMATION BEGIN HERE
  368. =========================================
  369. MIT License
  370. Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)
  371. 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:
  372. The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
  373. 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.
  374. =========================================
  375. END OF define-lazy-prop@2.0.0 AND INFORMATION
  376. %% end-of-stream@1.4.4 NOTICES AND INFORMATION BEGIN HERE
  377. =========================================
  378. The MIT License (MIT)
  379. Copyright (c) 2014 Mathias Buus
  380. Permission is hereby granted, free of charge, to any person obtaining a copy
  381. of this software and associated documentation files (the "Software"), to deal
  382. in the Software without restriction, including without limitation the rights
  383. to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
  384. copies of the Software, and to permit persons to whom the Software is
  385. furnished to do so, subject to the following conditions:
  386. The above copyright notice and this permission notice shall be included in
  387. all copies or substantial portions of the Software.
  388. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  389. IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  390. FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  391. AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  392. LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
  393. OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
  394. THE SOFTWARE.
  395. =========================================
  396. END OF end-of-stream@1.4.4 AND INFORMATION
  397. %% escape-string-regexp@2.0.0 NOTICES AND INFORMATION BEGIN HERE
  398. =========================================
  399. MIT License
  400. Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)
  401. 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:
  402. The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
  403. 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.
  404. =========================================
  405. END OF escape-string-regexp@2.0.0 AND INFORMATION
  406. %% extract-zip@2.0.1 NOTICES AND INFORMATION BEGIN HERE
  407. =========================================
  408. Copyright (c) 2014 Max Ogden and other contributors
  409. All rights reserved.
  410. Redistribution and use in source and binary forms, with or without
  411. modification, are permitted provided that the following conditions are met:
  412. * Redistributions of source code must retain the above copyright notice, this
  413. list of conditions and the following disclaimer.
  414. * Redistributions in binary form must reproduce the above copyright notice,
  415. this list of conditions and the following disclaimer in the documentation
  416. and/or other materials provided with the distribution.
  417. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
  418. AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  419. IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
  420. DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
  421. FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  422. DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
  423. SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
  424. CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
  425. OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
  426. OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  427. =========================================
  428. END OF extract-zip@2.0.1 AND INFORMATION
  429. %% fd-slicer@1.1.0 NOTICES AND INFORMATION BEGIN HERE
  430. =========================================
  431. Copyright (c) 2014 Andrew Kelley
  432. Permission is hereby granted, free of charge, to any person
  433. obtaining a copy of this software and associated documentation files
  434. (the "Software"), to deal in the Software without restriction,
  435. including without limitation the rights to use, copy, modify, merge,
  436. publish, distribute, sublicense, and/or sell copies of the Software,
  437. and to permit persons to whom the Software is furnished to do so,
  438. subject to the following conditions:
  439. The above copyright notice and this permission notice shall be
  440. included in all copies or substantial portions of the Software.
  441. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
  442. EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
  443. MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
  444. NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
  445. BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
  446. ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
  447. CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
  448. SOFTWARE.
  449. =========================================
  450. END OF fd-slicer@1.1.0 AND INFORMATION
  451. %% get-stream@5.2.0 NOTICES AND INFORMATION BEGIN HERE
  452. =========================================
  453. MIT License
  454. Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (https://sindresorhus.com)
  455. 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:
  456. The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
  457. 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.
  458. =========================================
  459. END OF get-stream@5.2.0 AND INFORMATION
  460. %% graceful-fs@4.2.10 NOTICES AND INFORMATION BEGIN HERE
  461. =========================================
  462. The ISC License
  463. Copyright (c) 2011-2022 Isaac Z. Schlueter, Ben Noordhuis, and Contributors
  464. Permission to use, copy, modify, and/or distribute this software for any
  465. purpose with or without fee is hereby granted, provided that the above
  466. copyright notice and this permission notice appear in all copies.
  467. THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
  468. WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
  469. MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
  470. ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
  471. WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
  472. ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
  473. IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  474. =========================================
  475. END OF graceful-fs@4.2.10 AND INFORMATION
  476. %% https-proxy-agent@5.0.0 NOTICES AND INFORMATION BEGIN HERE
  477. =========================================
  478. https-proxy-agent
  479. ================
  480. ### An HTTP(s) proxy `http.Agent` implementation for HTTPS
  481. [![Build Status](https://github.com/TooTallNate/node-https-proxy-agent/workflows/Node%20CI/badge.svg)](https://github.com/TooTallNate/node-https-proxy-agent/actions?workflow=Node+CI)
  482. This module provides an `http.Agent` implementation that connects to a specified
  483. HTTP or HTTPS proxy server, and can be used with the built-in `https` module.
  484. Specifically, this `Agent` implementation connects to an intermediary "proxy"
  485. server and issues the [CONNECT HTTP method][CONNECT], which tells the proxy to
  486. open a direct TCP connection to the destination server.
  487. Since this agent implements the CONNECT HTTP method, it also works with other
  488. protocols that use this method when connecting over proxies (i.e. WebSockets).
  489. See the "Examples" section below for more.
  490. Installation
  491. ------------
  492. Install with `npm`:
  493. ``` bash
  494. $ npm install https-proxy-agent
  495. ```
  496. Examples
  497. --------
  498. #### `https` module example
  499. ``` js
  500. var url = require('url');
  501. var https = require('https');
  502. var HttpsProxyAgent = require('https-proxy-agent');
  503. // HTTP/HTTPS proxy to connect to
  504. var proxy = process.env.http_proxy || 'http://168.63.76.32:3128';
  505. console.log('using proxy server %j', proxy);
  506. // HTTPS endpoint for the proxy to connect to
  507. var endpoint = process.argv[2] || 'https://graph.facebook.com/tootallnate';
  508. console.log('attempting to GET %j', endpoint);
  509. var options = url.parse(endpoint);
  510. // create an instance of the `HttpsProxyAgent` class with the proxy server information
  511. var agent = new HttpsProxyAgent(proxy);
  512. options.agent = agent;
  513. https.get(options, function (res) {
  514. console.log('"response" event!', res.headers);
  515. res.pipe(process.stdout);
  516. });
  517. ```
  518. #### `ws` WebSocket connection example
  519. ``` js
  520. var url = require('url');
  521. var WebSocket = require('ws');
  522. var HttpsProxyAgent = require('https-proxy-agent');
  523. // HTTP/HTTPS proxy to connect to
  524. var proxy = process.env.http_proxy || 'http://168.63.76.32:3128';
  525. console.log('using proxy server %j', proxy);
  526. // WebSocket endpoint for the proxy to connect to
  527. var endpoint = process.argv[2] || 'ws://echo.websocket.org';
  528. var parsed = url.parse(endpoint);
  529. console.log('attempting to connect to WebSocket %j', endpoint);
  530. // create an instance of the `HttpsProxyAgent` class with the proxy server information
  531. var options = url.parse(proxy);
  532. var agent = new HttpsProxyAgent(options);
  533. // finally, initiate the WebSocket connection
  534. var socket = new WebSocket(endpoint, { agent: agent });
  535. socket.on('open', function () {
  536. console.log('"open" event!');
  537. socket.send('hello world');
  538. });
  539. socket.on('message', function (data, flags) {
  540. console.log('"message" event! %j %j', data, flags);
  541. socket.close();
  542. });
  543. ```
  544. API
  545. ---
  546. ### new HttpsProxyAgent(Object options)
  547. The `HttpsProxyAgent` class implements an `http.Agent` subclass that connects
  548. to the specified "HTTP(s) proxy server" in order to proxy HTTPS and/or WebSocket
  549. requests. This is achieved by using the [HTTP `CONNECT` method][CONNECT].
  550. The `options` argument may either be a string URI of the proxy server to use, or an
  551. "options" object with more specific properties:
  552. * `host` - String - Proxy host to connect to (may use `hostname` as well). Required.
  553. * `port` - Number - Proxy port to connect to. Required.
  554. * `protocol` - String - If `https:`, then use TLS to connect to the proxy.
  555. * `headers` - Object - Additional HTTP headers to be sent on the HTTP CONNECT method.
  556. * Any other options given are passed to the `net.connect()`/`tls.connect()` functions.
  557. License
  558. -------
  559. (The MIT License)
  560. Copyright (c) 2013 Nathan Rajlich &lt;nathan@tootallnate.net&gt;
  561. Permission is hereby granted, free of charge, to any person obtaining
  562. a copy of this software and associated documentation files (the
  563. 'Software'), to deal in the Software without restriction, including
  564. without limitation the rights to use, copy, modify, merge, publish,
  565. distribute, sublicense, and/or sell copies of the Software, and to
  566. permit persons to whom the Software is furnished to do so, subject to
  567. the following conditions:
  568. The above copyright notice and this permission notice shall be
  569. included in all copies or substantial portions of the Software.
  570. THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
  571. EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
  572. MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
  573. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
  574. CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
  575. TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
  576. SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  577. [CONNECT]: http://en.wikipedia.org/wiki/HTTP_tunnel#HTTP_CONNECT_Tunneling
  578. =========================================
  579. END OF https-proxy-agent@5.0.0 AND INFORMATION
  580. %% ip@2.0.0 NOTICES AND INFORMATION BEGIN HERE
  581. =========================================
  582. # IP
  583. [![](https://badge.fury.io/js/ip.svg)](https://www.npmjs.com/package/ip)
  584. IP address utilities for node.js
  585. ## Installation
  586. ### npm
  587. ```shell
  588. npm install ip
  589. ```
  590. ### git
  591. ```shell
  592. git clone https://github.com/indutny/node-ip.git
  593. ```
  594. ## Usage
  595. Get your ip address, compare ip addresses, validate ip addresses, etc.
  596. ```js
  597. var ip = require('ip');
  598. ip.address() // my ip address
  599. ip.isEqual('::1', '::0:1'); // true
  600. ip.toBuffer('127.0.0.1') // Buffer([127, 0, 0, 1])
  601. ip.toString(new Buffer([127, 0, 0, 1])) // 127.0.0.1
  602. ip.fromPrefixLen(24) // 255.255.255.0
  603. ip.mask('192.168.1.134', '255.255.255.0') // 192.168.1.0
  604. ip.cidr('192.168.1.134/26') // 192.168.1.128
  605. ip.not('255.255.255.0') // 0.0.0.255
  606. ip.or('192.168.1.134', '0.0.0.255') // 192.168.1.255
  607. ip.isPrivate('127.0.0.1') // true
  608. ip.isV4Format('127.0.0.1'); // true
  609. ip.isV6Format('::ffff:127.0.0.1'); // true
  610. // operate on buffers in-place
  611. var buf = new Buffer(128);
  612. var offset = 64;
  613. ip.toBuffer('127.0.0.1', buf, offset); // [127, 0, 0, 1] at offset 64
  614. ip.toString(buf, offset, 4); // '127.0.0.1'
  615. // subnet information
  616. ip.subnet('192.168.1.134', '255.255.255.192')
  617. // { networkAddress: '192.168.1.128',
  618. // firstAddress: '192.168.1.129',
  619. // lastAddress: '192.168.1.190',
  620. // broadcastAddress: '192.168.1.191',
  621. // subnetMask: '255.255.255.192',
  622. // subnetMaskLength: 26,
  623. // numHosts: 62,
  624. // length: 64,
  625. // contains: function(addr){...} }
  626. ip.cidrSubnet('192.168.1.134/26')
  627. // Same as previous.
  628. // range checking
  629. ip.cidrSubnet('192.168.1.134/26').contains('192.168.1.190') // true
  630. // ipv4 long conversion
  631. ip.toLong('127.0.0.1'); // 2130706433
  632. ip.fromLong(2130706433); // '127.0.0.1'
  633. ```
  634. ### License
  635. This software is licensed under the MIT License.
  636. Copyright Fedor Indutny, 2012.
  637. Permission is hereby granted, free of charge, to any person obtaining a
  638. copy of this software and associated documentation files (the
  639. "Software"), to deal in the Software without restriction, including
  640. without limitation the rights to use, copy, modify, merge, publish,
  641. distribute, sublicense, and/or sell copies of the Software, and to permit
  642. persons to whom the Software is furnished to do so, subject to the
  643. following conditions:
  644. The above copyright notice and this permission notice shall be included
  645. in all copies or substantial portions of the Software.
  646. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
  647. OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
  648. MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
  649. NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
  650. DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
  651. OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
  652. USE OR OTHER DEALINGS IN THE SOFTWARE.
  653. =========================================
  654. END OF ip@2.0.0 AND INFORMATION
  655. %% is-docker@2.2.1 NOTICES AND INFORMATION BEGIN HERE
  656. =========================================
  657. MIT License
  658. Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (https://sindresorhus.com)
  659. 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:
  660. The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
  661. 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.
  662. =========================================
  663. END OF is-docker@2.2.1 AND INFORMATION
  664. %% is-wsl@2.2.0 NOTICES AND INFORMATION BEGIN HERE
  665. =========================================
  666. MIT License
  667. Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)
  668. 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:
  669. The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
  670. 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.
  671. =========================================
  672. END OF is-wsl@2.2.0 AND INFORMATION
  673. %% jpeg-js@0.4.4 NOTICES AND INFORMATION BEGIN HERE
  674. =========================================
  675. Copyright (c) 2014, Eugene Ware
  676. All rights reserved.
  677. Redistribution and use in source and binary forms, with or without
  678. modification, are permitted provided that the following conditions are met:
  679. 1. Redistributions of source code must retain the above copyright
  680. notice, this list of conditions and the following disclaimer.
  681. 2. Redistributions in binary form must reproduce the above copyright
  682. notice, this list of conditions and the following disclaimer in the
  683. documentation and/or other materials provided with the distribution.
  684. 3. Neither the name of Eugene Ware nor the names of its contributors
  685. may be used to endorse or promote products derived from this software
  686. without specific prior written permission.
  687. THIS SOFTWARE IS PROVIDED BY EUGENE WARE ''AS IS'' AND ANY
  688. EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
  689. WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
  690. DISCLAIMED. IN NO EVENT SHALL EUGENE WARE BE LIABLE FOR ANY
  691. DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
  692. (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
  693. LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
  694. ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
  695. (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
  696. SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  697. =========================================
  698. END OF jpeg-js@0.4.4 AND INFORMATION
  699. %% mime@3.0.0 NOTICES AND INFORMATION BEGIN HERE
  700. =========================================
  701. The MIT License (MIT)
  702. Copyright (c) 2010 Benjamin Thomas, Robert Kieffer
  703. Permission is hereby granted, free of charge, to any person obtaining a copy
  704. of this software and associated documentation files (the "Software"), to deal
  705. in the Software without restriction, including without limitation the rights
  706. to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
  707. copies of the Software, and to permit persons to whom the Software is
  708. furnished to do so, subject to the following conditions:
  709. The above copyright notice and this permission notice shall be included in
  710. all copies or substantial portions of the Software.
  711. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  712. IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  713. FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  714. AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  715. LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
  716. OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
  717. THE SOFTWARE.
  718. =========================================
  719. END OF mime@3.0.0 AND INFORMATION
  720. %% minimatch@3.1.2 NOTICES AND INFORMATION BEGIN HERE
  721. =========================================
  722. The ISC License
  723. Copyright (c) Isaac Z. Schlueter and Contributors
  724. Permission to use, copy, modify, and/or distribute this software for any
  725. purpose with or without fee is hereby granted, provided that the above
  726. copyright notice and this permission notice appear in all copies.
  727. THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
  728. WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
  729. MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
  730. ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
  731. WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
  732. ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
  733. IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  734. =========================================
  735. END OF minimatch@3.1.2 AND INFORMATION
  736. %% ms@2.1.2 NOTICES AND INFORMATION BEGIN HERE
  737. =========================================
  738. The MIT License (MIT)
  739. Copyright (c) 2016 Zeit, Inc.
  740. Permission is hereby granted, free of charge, to any person obtaining a copy
  741. of this software and associated documentation files (the "Software"), to deal
  742. in the Software without restriction, including without limitation the rights
  743. to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
  744. copies of the Software, and to permit persons to whom the Software is
  745. furnished to do so, subject to the following conditions:
  746. The above copyright notice and this permission notice shall be included in all
  747. copies or substantial portions of the Software.
  748. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  749. IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  750. FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  751. AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  752. LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
  753. OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
  754. SOFTWARE.
  755. =========================================
  756. END OF ms@2.1.2 AND INFORMATION
  757. %% once@1.4.0 NOTICES AND INFORMATION BEGIN HERE
  758. =========================================
  759. The ISC License
  760. Copyright (c) Isaac Z. Schlueter and Contributors
  761. Permission to use, copy, modify, and/or distribute this software for any
  762. purpose with or without fee is hereby granted, provided that the above
  763. copyright notice and this permission notice appear in all copies.
  764. THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
  765. WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
  766. MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
  767. ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
  768. WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
  769. ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
  770. IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  771. =========================================
  772. END OF once@1.4.0 AND INFORMATION
  773. %% open@8.4.0 NOTICES AND INFORMATION BEGIN HERE
  774. =========================================
  775. MIT License
  776. Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (https://sindresorhus.com)
  777. 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:
  778. The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
  779. 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.
  780. =========================================
  781. END OF open@8.4.0 AND INFORMATION
  782. %% pend@1.2.0 NOTICES AND INFORMATION BEGIN HERE
  783. =========================================
  784. The MIT License (Expat)
  785. Copyright (c) 2014 Andrew Kelley
  786. Permission is hereby granted, free of charge, to any person
  787. obtaining a copy of this software and associated documentation files
  788. (the "Software"), to deal in the Software without restriction,
  789. including without limitation the rights to use, copy, modify, merge,
  790. publish, distribute, sublicense, and/or sell copies of the Software,
  791. and to permit persons to whom the Software is furnished to do so,
  792. subject to the following conditions:
  793. The above copyright notice and this permission notice shall be
  794. included in all copies or substantial portions of the Software.
  795. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
  796. EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
  797. MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
  798. NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
  799. BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
  800. ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
  801. CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
  802. SOFTWARE.
  803. =========================================
  804. END OF pend@1.2.0 AND INFORMATION
  805. %% pngjs@6.0.0 NOTICES AND INFORMATION BEGIN HERE
  806. =========================================
  807. pngjs2 original work Copyright (c) 2015 Luke Page & Original Contributors
  808. pngjs derived work Copyright (c) 2012 Kuba Niegowski
  809. Permission is hereby granted, free of charge, to any person obtaining a copy
  810. of this software and associated documentation files (the "Software"), to deal
  811. in the Software without restriction, including without limitation the rights
  812. to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
  813. copies of the Software, and to permit persons to whom the Software is
  814. furnished to do so, subject to the following conditions:
  815. The above copyright notice and this permission notice shall be included in
  816. all copies or substantial portions of the Software.
  817. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  818. IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  819. FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  820. AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  821. LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
  822. OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
  823. THE SOFTWARE.
  824. =========================================
  825. END OF pngjs@6.0.0 AND INFORMATION
  826. %% progress@2.0.3 NOTICES AND INFORMATION BEGIN HERE
  827. =========================================
  828. (The MIT License)
  829. Copyright (c) 2017 TJ Holowaychuk <tj@vision-media.ca>
  830. Permission is hereby granted, free of charge, to any person obtaining
  831. a copy of this software and associated documentation files (the
  832. 'Software'), to deal in the Software without restriction, including
  833. without limitation the rights to use, copy, modify, merge, publish,
  834. distribute, sublicense, and/or sell copies of the Software, and to
  835. permit persons to whom the Software is furnished to do so, subject to
  836. the following conditions:
  837. The above copyright notice and this permission notice shall be
  838. included in all copies or substantial portions of the Software.
  839. THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
  840. EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
  841. MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
  842. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
  843. CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
  844. TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
  845. SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  846. =========================================
  847. END OF progress@2.0.3 AND INFORMATION
  848. %% proxy-from-env@1.1.0 NOTICES AND INFORMATION BEGIN HERE
  849. =========================================
  850. The MIT License
  851. Copyright (C) 2016-2018 Rob Wu <rob@robwu.nl>
  852. Permission is hereby granted, free of charge, to any person obtaining a copy of
  853. this software and associated documentation files (the "Software"), to deal in
  854. the Software without restriction, including without limitation the rights to
  855. use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
  856. of the Software, and to permit persons to whom the Software is furnished to do
  857. so, subject to the following conditions:
  858. The above copyright notice and this permission notice shall be included in all
  859. copies or substantial portions of the Software.
  860. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  861. IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
  862. FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
  863. COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
  864. IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
  865. CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  866. =========================================
  867. END OF proxy-from-env@1.1.0 AND INFORMATION
  868. %% pump@3.0.0 NOTICES AND INFORMATION BEGIN HERE
  869. =========================================
  870. The MIT License (MIT)
  871. Copyright (c) 2014 Mathias Buus
  872. Permission is hereby granted, free of charge, to any person obtaining a copy
  873. of this software and associated documentation files (the "Software"), to deal
  874. in the Software without restriction, including without limitation the rights
  875. to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
  876. copies of the Software, and to permit persons to whom the Software is
  877. furnished to do so, subject to the following conditions:
  878. The above copyright notice and this permission notice shall be included in
  879. all copies or substantial portions of the Software.
  880. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  881. IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  882. FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  883. AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  884. LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
  885. OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
  886. THE SOFTWARE.
  887. =========================================
  888. END OF pump@3.0.0 AND INFORMATION
  889. %% retry@0.12.0 NOTICES AND INFORMATION BEGIN HERE
  890. =========================================
  891. Copyright (c) 2011:
  892. Tim Koschützki (tim@debuggable.com)
  893. Felix Geisendörfer (felix@debuggable.com)
  894. Permission is hereby granted, free of charge, to any person obtaining a copy
  895. of this software and associated documentation files (the "Software"), to deal
  896. in the Software without restriction, including without limitation the rights
  897. to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
  898. copies of the Software, and to permit persons to whom the Software is
  899. furnished to do so, subject to the following conditions:
  900. The above copyright notice and this permission notice shall be included in
  901. all copies or substantial portions of the Software.
  902. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  903. IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  904. FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  905. AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  906. LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
  907. OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
  908. THE SOFTWARE.
  909. =========================================
  910. END OF retry@0.12.0 AND INFORMATION
  911. %% signal-exit@3.0.7 NOTICES AND INFORMATION BEGIN HERE
  912. =========================================
  913. The ISC License
  914. Copyright (c) 2015, Contributors
  915. Permission to use, copy, modify, and/or distribute this software
  916. for any purpose with or without fee is hereby granted, provided
  917. that the above copyright notice and this permission notice
  918. appear in all copies.
  919. THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
  920. WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES
  921. OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE
  922. LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
  923. OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
  924. WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
  925. ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  926. =========================================
  927. END OF signal-exit@3.0.7 AND INFORMATION
  928. %% smart-buffer@4.2.0 NOTICES AND INFORMATION BEGIN HERE
  929. =========================================
  930. The MIT License (MIT)
  931. Copyright (c) 2013-2017 Josh Glazebrook
  932. Permission is hereby granted, free of charge, to any person obtaining a copy of
  933. this software and associated documentation files (the "Software"), to deal in
  934. the Software without restriction, including without limitation the rights to
  935. use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
  936. the Software, and to permit persons to whom the Software is furnished to do so,
  937. subject to the following conditions:
  938. The above copyright notice and this permission notice shall be included in all
  939. copies or substantial portions of the Software.
  940. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  941. IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
  942. FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
  943. COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
  944. IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
  945. CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  946. =========================================
  947. END OF smart-buffer@4.2.0 AND INFORMATION
  948. %% socks-proxy-agent@6.1.1 NOTICES AND INFORMATION BEGIN HERE
  949. =========================================
  950. socks-proxy-agent
  951. ================
  952. ### A SOCKS proxy `http.Agent` implementation for HTTP and HTTPS
  953. [![Build Status](https://github.com/TooTallNate/node-socks-proxy-agent/workflows/Node%20CI/badge.svg)](https://github.com/TooTallNate/node-socks-proxy-agent/actions?workflow=Node+CI)
  954. This module provides an `http.Agent` implementation that connects to a
  955. specified SOCKS proxy server, and can be used with the built-in `http`
  956. and `https` modules.
  957. It can also be used in conjunction with the `ws` module to establish a WebSocket
  958. connection over a SOCKS proxy. See the "Examples" section below.
  959. Installation
  960. ------------
  961. Install with `npm`:
  962. ``` bash
  963. $ npm install socks-proxy-agent
  964. ```
  965. Examples
  966. --------
  967. #### TypeScript example
  968. ```ts
  969. import https from 'https';
  970. import { SocksProxyAgent } from 'socks-proxy-agent';
  971. const info = {
  972. host: 'br41.nordvpn.com',
  973. userId: 'your-name@gmail.com',
  974. password: 'abcdef12345124'
  975. };
  976. const agent = new SocksProxyAgent(info);
  977. https.get('https://jsonip.org', { agent }, (res) => {
  978. console.log(res.headers);
  979. res.pipe(process.stdout);
  980. });
  981. ```
  982. #### `http` module example
  983. ```js
  984. var url = require('url');
  985. var http = require('http');
  986. var SocksProxyAgent = require('socks-proxy-agent');
  987. // SOCKS proxy to connect to
  988. var proxy = process.env.socks_proxy || 'socks://127.0.0.1:1080';
  989. console.log('using proxy server %j', proxy);
  990. // HTTP endpoint for the proxy to connect to
  991. var endpoint = process.argv[2] || 'http://nodejs.org/api/';
  992. console.log('attempting to GET %j', endpoint);
  993. var opts = url.parse(endpoint);
  994. // create an instance of the `SocksProxyAgent` class with the proxy server information
  995. var agent = new SocksProxyAgent(proxy);
  996. opts.agent = agent;
  997. http.get(opts, function (res) {
  998. console.log('"response" event!', res.headers);
  999. res.pipe(process.stdout);
  1000. });
  1001. ```
  1002. #### `https` module example
  1003. ```js
  1004. var url = require('url');
  1005. var https = require('https');
  1006. var SocksProxyAgent = require('socks-proxy-agent');
  1007. // SOCKS proxy to connect to
  1008. var proxy = process.env.socks_proxy || 'socks://127.0.0.1:1080';
  1009. console.log('using proxy server %j', proxy);
  1010. // HTTP endpoint for the proxy to connect to
  1011. var endpoint = process.argv[2] || 'https://encrypted.google.com/';
  1012. console.log('attempting to GET %j', endpoint);
  1013. var opts = url.parse(endpoint);
  1014. // create an instance of the `SocksProxyAgent` class with the proxy server information
  1015. var agent = new SocksProxyAgent(proxy);
  1016. opts.agent = agent;
  1017. https.get(opts, function (res) {
  1018. console.log('"response" event!', res.headers);
  1019. res.pipe(process.stdout);
  1020. });
  1021. ```
  1022. #### `ws` WebSocket connection example
  1023. ``` js
  1024. var WebSocket = require('ws');
  1025. var SocksProxyAgent = require('socks-proxy-agent');
  1026. // SOCKS proxy to connect to
  1027. var proxy = process.env.socks_proxy || 'socks://127.0.0.1:1080';
  1028. console.log('using proxy server %j', proxy);
  1029. // WebSocket endpoint for the proxy to connect to
  1030. var endpoint = process.argv[2] || 'ws://echo.websocket.org';
  1031. console.log('attempting to connect to WebSocket %j', endpoint);
  1032. // create an instance of the `SocksProxyAgent` class with the proxy server information
  1033. var agent = new SocksProxyAgent(proxy);
  1034. // initiate the WebSocket connection
  1035. var socket = new WebSocket(endpoint, { agent: agent });
  1036. socket.on('open', function () {
  1037. console.log('"open" event!');
  1038. socket.send('hello world');
  1039. });
  1040. socket.on('message', function (data, flags) {
  1041. console.log('"message" event! %j %j', data, flags);
  1042. socket.close();
  1043. });
  1044. ```
  1045. License
  1046. -------
  1047. (The MIT License)
  1048. Copyright (c) 2013 Nathan Rajlich &lt;nathan@tootallnate.net&gt;
  1049. Permission is hereby granted, free of charge, to any person obtaining
  1050. a copy of this software and associated documentation files (the
  1051. 'Software'), to deal in the Software without restriction, including
  1052. without limitation the rights to use, copy, modify, merge, publish,
  1053. distribute, sublicense, and/or sell copies of the Software, and to
  1054. permit persons to whom the Software is furnished to do so, subject to
  1055. the following conditions:
  1056. The above copyright notice and this permission notice shall be
  1057. included in all copies or substantial portions of the Software.
  1058. THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
  1059. EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
  1060. MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
  1061. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
  1062. CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
  1063. TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
  1064. SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  1065. =========================================
  1066. END OF socks-proxy-agent@6.1.1 AND INFORMATION
  1067. %% socks@2.7.0 NOTICES AND INFORMATION BEGIN HERE
  1068. =========================================
  1069. The MIT License (MIT)
  1070. Copyright (c) 2013 Josh Glazebrook
  1071. Permission is hereby granted, free of charge, to any person obtaining a copy of
  1072. this software and associated documentation files (the "Software"), to deal in
  1073. the Software without restriction, including without limitation the rights to
  1074. use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
  1075. the Software, and to permit persons to whom the Software is furnished to do so,
  1076. subject to the following conditions:
  1077. The above copyright notice and this permission notice shall be included in all
  1078. copies or substantial portions of the Software.
  1079. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  1080. IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
  1081. FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
  1082. COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
  1083. IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
  1084. CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  1085. =========================================
  1086. END OF socks@2.7.0 AND INFORMATION
  1087. %% stack-utils@2.0.5 NOTICES AND INFORMATION BEGIN HERE
  1088. =========================================
  1089. The MIT License (MIT)
  1090. Copyright (c) Isaac Z. Schlueter <i@izs.me>, James Talmage <james@talmage.io> (github.com/jamestalmage), and Contributors
  1091. Permission is hereby granted, free of charge, to any person obtaining a copy
  1092. of this software and associated documentation files (the "Software"), to deal
  1093. in the Software without restriction, including without limitation the rights
  1094. to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
  1095. copies of the Software, and to permit persons to whom the Software is
  1096. furnished to do so, subject to the following conditions:
  1097. The above copyright notice and this permission notice shall be included in
  1098. all copies or substantial portions of the Software.
  1099. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  1100. IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  1101. FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  1102. AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  1103. LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
  1104. OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
  1105. THE SOFTWARE.
  1106. =========================================
  1107. END OF stack-utils@2.0.5 AND INFORMATION
  1108. %% wrappy@1.0.2 NOTICES AND INFORMATION BEGIN HERE
  1109. =========================================
  1110. The ISC License
  1111. Copyright (c) Isaac Z. Schlueter and Contributors
  1112. Permission to use, copy, modify, and/or distribute this software for any
  1113. purpose with or without fee is hereby granted, provided that the above
  1114. copyright notice and this permission notice appear in all copies.
  1115. THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
  1116. WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
  1117. MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
  1118. ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
  1119. WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
  1120. ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
  1121. IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  1122. =========================================
  1123. END OF wrappy@1.0.2 AND INFORMATION
  1124. %% ws@8.4.2 NOTICES AND INFORMATION BEGIN HERE
  1125. =========================================
  1126. Copyright (c) 2011 Einar Otto Stangvik <einaros@gmail.com>
  1127. Permission is hereby granted, free of charge, to any person obtaining a copy
  1128. of this software and associated documentation files (the "Software"), to deal
  1129. in the Software without restriction, including without limitation the rights
  1130. to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
  1131. copies of the Software, and to permit persons to whom the Software is
  1132. furnished to do so, subject to the following conditions:
  1133. The above copyright notice and this permission notice shall be included in all
  1134. copies or substantial portions of the Software.
  1135. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  1136. IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  1137. FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  1138. AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  1139. LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
  1140. OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
  1141. SOFTWARE.
  1142. =========================================
  1143. END OF ws@8.4.2 AND INFORMATION
  1144. %% yauzl@2.10.0 NOTICES AND INFORMATION BEGIN HERE
  1145. =========================================
  1146. The MIT License (MIT)
  1147. Copyright (c) 2014 Josh Wolfe
  1148. Permission is hereby granted, free of charge, to any person obtaining a copy
  1149. of this software and associated documentation files (the "Software"), to deal
  1150. in the Software without restriction, including without limitation the rights
  1151. to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
  1152. copies of the Software, and to permit persons to whom the Software is
  1153. furnished to do so, subject to the following conditions:
  1154. The above copyright notice and this permission notice shall be included in all
  1155. copies or substantial portions of the Software.
  1156. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  1157. IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  1158. FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  1159. AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  1160. LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
  1161. OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
  1162. SOFTWARE.
  1163. =========================================
  1164. END OF yauzl@2.10.0 AND INFORMATION
  1165. %% yazl@2.5.1 NOTICES AND INFORMATION BEGIN HERE
  1166. =========================================
  1167. The MIT License (MIT)
  1168. Copyright (c) 2014 Josh Wolfe
  1169. Permission is hereby granted, free of charge, to any person obtaining a copy
  1170. of this software and associated documentation files (the "Software"), to deal
  1171. in the Software without restriction, including without limitation the rights
  1172. to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
  1173. copies of the Software, and to permit persons to whom the Software is
  1174. furnished to do so, subject to the following conditions:
  1175. The above copyright notice and this permission notice shall be included in all
  1176. copies or substantial portions of the Software.
  1177. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  1178. IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  1179. FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  1180. AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  1181. LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
  1182. OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
  1183. SOFTWARE.
  1184. =========================================
  1185. END OF yazl@2.5.1 AND INFORMATION
  1186. SUMMARY BEGIN HERE
  1187. =========================================
  1188. Total Packages: 43
  1189. =========================================
  1190. END OF SUMMARY