ThirdPartyNotices.txt 76 KB

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