speaker-calibration 2.1.4 → 2.1.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (432) hide show
  1. package/dist/example/listener.html +29 -39
  2. package/dist/example/server.js +6 -4
  3. package/dist/example/speakerUI.js +9 -1
  4. package/dist/main.js +913 -1
  5. package/dist/node_modules/.bin/mime +12 -0
  6. package/dist/node_modules/.bin/mime.cmd +17 -0
  7. package/dist/node_modules/.bin/mime.ps1 +28 -0
  8. package/dist/node_modules/.package-lock.json +584 -0
  9. package/dist/node_modules/accepts/HISTORY.md +243 -0
  10. package/dist/node_modules/accepts/LICENSE +23 -0
  11. package/dist/node_modules/accepts/README.md +140 -0
  12. package/dist/node_modules/accepts/index.js +238 -0
  13. package/dist/node_modules/accepts/package.json +47 -0
  14. package/dist/node_modules/array-flatten/LICENSE +21 -0
  15. package/dist/node_modules/array-flatten/README.md +43 -0
  16. package/dist/node_modules/array-flatten/array-flatten.js +64 -0
  17. package/dist/node_modules/array-flatten/package.json +39 -0
  18. package/dist/node_modules/body-parser/HISTORY.md +657 -0
  19. package/dist/node_modules/body-parser/LICENSE +23 -0
  20. package/dist/node_modules/body-parser/README.md +464 -0
  21. package/dist/node_modules/body-parser/SECURITY.md +25 -0
  22. package/dist/node_modules/body-parser/index.js +156 -0
  23. package/dist/node_modules/body-parser/lib/read.js +205 -0
  24. package/dist/node_modules/body-parser/lib/types/json.js +236 -0
  25. package/dist/node_modules/body-parser/lib/types/raw.js +101 -0
  26. package/dist/node_modules/body-parser/lib/types/text.js +121 -0
  27. package/dist/node_modules/body-parser/lib/types/urlencoded.js +284 -0
  28. package/dist/node_modules/body-parser/package.json +56 -0
  29. package/dist/node_modules/bytes/History.md +97 -0
  30. package/dist/node_modules/bytes/LICENSE +23 -0
  31. package/dist/node_modules/bytes/Readme.md +152 -0
  32. package/dist/node_modules/bytes/index.js +170 -0
  33. package/dist/node_modules/bytes/package.json +42 -0
  34. package/dist/node_modules/call-bind/.eslintignore +1 -0
  35. package/dist/node_modules/call-bind/.eslintrc +17 -0
  36. package/dist/node_modules/call-bind/.github/FUNDING.yml +12 -0
  37. package/dist/node_modules/call-bind/.nycrc +13 -0
  38. package/dist/node_modules/call-bind/CHANGELOG.md +42 -0
  39. package/dist/node_modules/call-bind/LICENSE +21 -0
  40. package/dist/node_modules/call-bind/README.md +2 -0
  41. package/dist/node_modules/call-bind/callBound.js +15 -0
  42. package/dist/node_modules/call-bind/index.js +47 -0
  43. package/dist/node_modules/call-bind/package.json +80 -0
  44. package/dist/node_modules/call-bind/test/callBound.js +55 -0
  45. package/dist/node_modules/call-bind/test/index.js +66 -0
  46. package/dist/node_modules/content-disposition/HISTORY.md +60 -0
  47. package/dist/node_modules/content-disposition/LICENSE +22 -0
  48. package/dist/node_modules/content-disposition/README.md +142 -0
  49. package/dist/node_modules/content-disposition/index.js +458 -0
  50. package/dist/node_modules/content-disposition/package.json +44 -0
  51. package/dist/node_modules/content-type/HISTORY.md +24 -0
  52. package/dist/node_modules/content-type/LICENSE +22 -0
  53. package/dist/node_modules/content-type/README.md +92 -0
  54. package/dist/node_modules/content-type/index.js +222 -0
  55. package/dist/node_modules/content-type/package.json +40 -0
  56. package/dist/node_modules/cookie/HISTORY.md +142 -0
  57. package/dist/node_modules/cookie/LICENSE +24 -0
  58. package/dist/node_modules/cookie/README.md +302 -0
  59. package/dist/node_modules/cookie/SECURITY.md +25 -0
  60. package/dist/node_modules/cookie/index.js +270 -0
  61. package/dist/node_modules/cookie/package.json +44 -0
  62. package/dist/node_modules/cookie-signature/History.md +38 -0
  63. package/dist/node_modules/cookie-signature/Readme.md +42 -0
  64. package/dist/node_modules/cookie-signature/index.js +51 -0
  65. package/dist/node_modules/cookie-signature/package.json +18 -0
  66. package/dist/node_modules/debug/.coveralls.yml +1 -0
  67. package/dist/node_modules/debug/.eslintrc +11 -0
  68. package/dist/node_modules/debug/.travis.yml +14 -0
  69. package/dist/node_modules/debug/CHANGELOG.md +362 -0
  70. package/dist/node_modules/debug/LICENSE +19 -0
  71. package/dist/node_modules/debug/Makefile +50 -0
  72. package/dist/node_modules/debug/README.md +312 -0
  73. package/dist/node_modules/debug/component.json +19 -0
  74. package/dist/node_modules/debug/karma.conf.js +70 -0
  75. package/dist/node_modules/debug/node.js +1 -0
  76. package/dist/node_modules/debug/package.json +49 -0
  77. package/dist/node_modules/debug/src/browser.js +185 -0
  78. package/dist/node_modules/debug/src/debug.js +202 -0
  79. package/dist/node_modules/debug/src/index.js +10 -0
  80. package/dist/node_modules/debug/src/inspector-log.js +15 -0
  81. package/dist/node_modules/debug/src/node.js +248 -0
  82. package/dist/node_modules/depd/History.md +103 -0
  83. package/dist/node_modules/depd/LICENSE +22 -0
  84. package/dist/node_modules/depd/Readme.md +280 -0
  85. package/dist/node_modules/depd/index.js +538 -0
  86. package/dist/node_modules/depd/lib/browser/index.js +77 -0
  87. package/dist/node_modules/depd/package.json +45 -0
  88. package/dist/node_modules/destroy/LICENSE +23 -0
  89. package/dist/node_modules/destroy/README.md +63 -0
  90. package/dist/node_modules/destroy/index.js +209 -0
  91. package/dist/node_modules/destroy/package.json +48 -0
  92. package/dist/node_modules/ee-first/LICENSE +22 -0
  93. package/dist/node_modules/ee-first/README.md +80 -0
  94. package/dist/node_modules/ee-first/index.js +95 -0
  95. package/dist/node_modules/ee-first/package.json +29 -0
  96. package/dist/node_modules/encodeurl/HISTORY.md +14 -0
  97. package/dist/node_modules/encodeurl/LICENSE +22 -0
  98. package/dist/node_modules/encodeurl/README.md +128 -0
  99. package/dist/node_modules/encodeurl/index.js +60 -0
  100. package/dist/node_modules/encodeurl/package.json +40 -0
  101. package/dist/node_modules/escape-html/LICENSE +24 -0
  102. package/dist/node_modules/escape-html/Readme.md +43 -0
  103. package/dist/node_modules/escape-html/index.js +78 -0
  104. package/dist/node_modules/escape-html/package.json +24 -0
  105. package/dist/node_modules/etag/HISTORY.md +83 -0
  106. package/dist/node_modules/etag/LICENSE +22 -0
  107. package/dist/node_modules/etag/README.md +159 -0
  108. package/dist/node_modules/etag/index.js +131 -0
  109. package/dist/node_modules/etag/package.json +47 -0
  110. package/dist/node_modules/express/History.md +3588 -0
  111. package/dist/node_modules/express/LICENSE +24 -0
  112. package/dist/node_modules/express/Readme.md +166 -0
  113. package/dist/node_modules/express/index.js +11 -0
  114. package/dist/node_modules/express/lib/application.js +661 -0
  115. package/dist/node_modules/express/lib/express.js +116 -0
  116. package/dist/node_modules/express/lib/middleware/init.js +43 -0
  117. package/dist/node_modules/express/lib/middleware/query.js +47 -0
  118. package/dist/node_modules/express/lib/request.js +525 -0
  119. package/dist/node_modules/express/lib/response.js +1169 -0
  120. package/dist/node_modules/express/lib/router/index.js +673 -0
  121. package/dist/node_modules/express/lib/router/layer.js +181 -0
  122. package/dist/node_modules/express/lib/router/route.js +225 -0
  123. package/dist/node_modules/express/lib/utils.js +304 -0
  124. package/dist/node_modules/express/lib/view.js +182 -0
  125. package/dist/node_modules/express/package.json +99 -0
  126. package/dist/node_modules/finalhandler/HISTORY.md +195 -0
  127. package/dist/node_modules/finalhandler/LICENSE +22 -0
  128. package/dist/node_modules/finalhandler/README.md +147 -0
  129. package/dist/node_modules/finalhandler/SECURITY.md +25 -0
  130. package/dist/node_modules/finalhandler/index.js +336 -0
  131. package/dist/node_modules/finalhandler/package.json +46 -0
  132. package/dist/node_modules/forwarded/HISTORY.md +21 -0
  133. package/dist/node_modules/forwarded/LICENSE +22 -0
  134. package/dist/node_modules/forwarded/README.md +57 -0
  135. package/dist/node_modules/forwarded/index.js +90 -0
  136. package/dist/node_modules/forwarded/package.json +45 -0
  137. package/dist/node_modules/fresh/HISTORY.md +70 -0
  138. package/dist/node_modules/fresh/LICENSE +23 -0
  139. package/dist/node_modules/fresh/README.md +119 -0
  140. package/dist/node_modules/fresh/index.js +137 -0
  141. package/dist/node_modules/fresh/package.json +46 -0
  142. package/dist/node_modules/function-bind/.editorconfig +20 -0
  143. package/dist/node_modules/function-bind/.eslintrc +15 -0
  144. package/dist/node_modules/function-bind/.jscs.json +176 -0
  145. package/dist/node_modules/function-bind/.travis.yml +168 -0
  146. package/dist/node_modules/function-bind/LICENSE +20 -0
  147. package/dist/node_modules/function-bind/README.md +48 -0
  148. package/dist/node_modules/function-bind/implementation.js +52 -0
  149. package/dist/node_modules/function-bind/index.js +5 -0
  150. package/dist/node_modules/function-bind/package.json +63 -0
  151. package/dist/node_modules/function-bind/test/.eslintrc +9 -0
  152. package/dist/node_modules/function-bind/test/index.js +252 -0
  153. package/dist/node_modules/get-intrinsic/.eslintrc +37 -0
  154. package/dist/node_modules/get-intrinsic/.github/FUNDING.yml +12 -0
  155. package/dist/node_modules/get-intrinsic/.nycrc +9 -0
  156. package/dist/node_modules/get-intrinsic/CHANGELOG.md +98 -0
  157. package/dist/node_modules/get-intrinsic/LICENSE +21 -0
  158. package/dist/node_modules/get-intrinsic/README.md +71 -0
  159. package/dist/node_modules/get-intrinsic/index.js +334 -0
  160. package/dist/node_modules/get-intrinsic/package.json +91 -0
  161. package/dist/node_modules/get-intrinsic/test/GetIntrinsic.js +274 -0
  162. package/dist/node_modules/has/LICENSE-MIT +22 -0
  163. package/dist/node_modules/has/README.md +18 -0
  164. package/dist/node_modules/has/package.json +48 -0
  165. package/dist/node_modules/has/src/index.js +5 -0
  166. package/dist/node_modules/has/test/index.js +10 -0
  167. package/dist/node_modules/has-symbols/.eslintrc +11 -0
  168. package/dist/node_modules/has-symbols/.github/FUNDING.yml +12 -0
  169. package/dist/node_modules/has-symbols/.nycrc +9 -0
  170. package/dist/node_modules/has-symbols/CHANGELOG.md +75 -0
  171. package/dist/node_modules/has-symbols/LICENSE +21 -0
  172. package/dist/node_modules/has-symbols/README.md +46 -0
  173. package/dist/node_modules/has-symbols/index.js +13 -0
  174. package/dist/node_modules/has-symbols/package.json +101 -0
  175. package/dist/node_modules/has-symbols/shams.js +42 -0
  176. package/dist/node_modules/has-symbols/test/index.js +22 -0
  177. package/dist/node_modules/has-symbols/test/shams/core-js.js +28 -0
  178. package/dist/node_modules/has-symbols/test/shams/get-own-property-symbols.js +28 -0
  179. package/dist/node_modules/has-symbols/test/tests.js +56 -0
  180. package/dist/node_modules/http-errors/HISTORY.md +180 -0
  181. package/dist/node_modules/http-errors/LICENSE +23 -0
  182. package/dist/node_modules/http-errors/README.md +169 -0
  183. package/dist/node_modules/http-errors/index.js +289 -0
  184. package/dist/node_modules/http-errors/package.json +50 -0
  185. package/dist/node_modules/iconv-lite/Changelog.md +162 -0
  186. package/dist/node_modules/iconv-lite/LICENSE +21 -0
  187. package/dist/node_modules/iconv-lite/README.md +156 -0
  188. package/dist/node_modules/iconv-lite/encodings/dbcs-codec.js +555 -0
  189. package/dist/node_modules/iconv-lite/encodings/dbcs-data.js +176 -0
  190. package/dist/node_modules/iconv-lite/encodings/index.js +22 -0
  191. package/dist/node_modules/iconv-lite/encodings/internal.js +188 -0
  192. package/dist/node_modules/iconv-lite/encodings/sbcs-codec.js +72 -0
  193. package/dist/node_modules/iconv-lite/encodings/sbcs-data-generated.js +451 -0
  194. package/dist/node_modules/iconv-lite/encodings/sbcs-data.js +174 -0
  195. package/dist/node_modules/iconv-lite/encodings/tables/big5-added.json +122 -0
  196. package/dist/node_modules/iconv-lite/encodings/tables/cp936.json +264 -0
  197. package/dist/node_modules/iconv-lite/encodings/tables/cp949.json +273 -0
  198. package/dist/node_modules/iconv-lite/encodings/tables/cp950.json +177 -0
  199. package/dist/node_modules/iconv-lite/encodings/tables/eucjp.json +182 -0
  200. package/dist/node_modules/iconv-lite/encodings/tables/gb18030-ranges.json +1 -0
  201. package/dist/node_modules/iconv-lite/encodings/tables/gbk-added.json +55 -0
  202. package/dist/node_modules/iconv-lite/encodings/tables/shiftjis.json +125 -0
  203. package/dist/node_modules/iconv-lite/encodings/utf16.js +177 -0
  204. package/dist/node_modules/iconv-lite/encodings/utf7.js +290 -0
  205. package/dist/node_modules/iconv-lite/lib/bom-handling.js +52 -0
  206. package/dist/node_modules/iconv-lite/lib/extend-node.js +217 -0
  207. package/dist/node_modules/iconv-lite/lib/index.d.ts +24 -0
  208. package/dist/node_modules/iconv-lite/lib/index.js +153 -0
  209. package/dist/node_modules/iconv-lite/lib/streams.js +121 -0
  210. package/dist/node_modules/iconv-lite/package.json +46 -0
  211. package/dist/node_modules/inherits/LICENSE +16 -0
  212. package/dist/node_modules/inherits/README.md +42 -0
  213. package/dist/node_modules/inherits/inherits.js +9 -0
  214. package/dist/node_modules/inherits/inherits_browser.js +27 -0
  215. package/dist/node_modules/inherits/package.json +29 -0
  216. package/dist/node_modules/ipaddr.js/LICENSE +19 -0
  217. package/dist/node_modules/ipaddr.js/README.md +233 -0
  218. package/dist/node_modules/ipaddr.js/ipaddr.min.js +1 -0
  219. package/dist/node_modules/ipaddr.js/lib/ipaddr.js +673 -0
  220. package/dist/node_modules/ipaddr.js/lib/ipaddr.js.d.ts +68 -0
  221. package/dist/node_modules/ipaddr.js/package.json +35 -0
  222. package/dist/node_modules/media-typer/HISTORY.md +22 -0
  223. package/dist/node_modules/media-typer/LICENSE +22 -0
  224. package/dist/node_modules/media-typer/README.md +81 -0
  225. package/dist/node_modules/media-typer/index.js +270 -0
  226. package/dist/node_modules/media-typer/package.json +26 -0
  227. package/dist/node_modules/merge-descriptors/HISTORY.md +21 -0
  228. package/dist/node_modules/merge-descriptors/LICENSE +23 -0
  229. package/dist/node_modules/merge-descriptors/README.md +48 -0
  230. package/dist/node_modules/merge-descriptors/index.js +60 -0
  231. package/dist/node_modules/merge-descriptors/package.json +32 -0
  232. package/dist/node_modules/methods/HISTORY.md +29 -0
  233. package/dist/node_modules/methods/LICENSE +24 -0
  234. package/dist/node_modules/methods/README.md +51 -0
  235. package/dist/node_modules/methods/index.js +69 -0
  236. package/dist/node_modules/methods/package.json +36 -0
  237. package/dist/node_modules/mime/CHANGELOG.md +164 -0
  238. package/dist/node_modules/mime/LICENSE +21 -0
  239. package/dist/node_modules/mime/README.md +90 -0
  240. package/dist/node_modules/mime/cli.js +8 -0
  241. package/dist/node_modules/mime/mime.js +108 -0
  242. package/dist/node_modules/mime/package.json +44 -0
  243. package/dist/node_modules/mime/src/build.js +53 -0
  244. package/dist/node_modules/mime/src/test.js +60 -0
  245. package/dist/node_modules/mime/types.json +1 -0
  246. package/dist/node_modules/mime-db/HISTORY.md +507 -0
  247. package/dist/node_modules/mime-db/LICENSE +23 -0
  248. package/dist/node_modules/mime-db/README.md +100 -0
  249. package/dist/node_modules/mime-db/db.json +8519 -0
  250. package/dist/node_modules/mime-db/index.js +12 -0
  251. package/dist/node_modules/mime-db/package.json +60 -0
  252. package/dist/node_modules/mime-types/HISTORY.md +397 -0
  253. package/dist/node_modules/mime-types/LICENSE +23 -0
  254. package/dist/node_modules/mime-types/README.md +113 -0
  255. package/dist/node_modules/mime-types/index.js +188 -0
  256. package/dist/node_modules/mime-types/package.json +44 -0
  257. package/dist/node_modules/ms/index.js +152 -0
  258. package/dist/node_modules/ms/license.md +21 -0
  259. package/dist/node_modules/ms/package.json +37 -0
  260. package/dist/node_modules/ms/readme.md +51 -0
  261. package/dist/node_modules/negotiator/HISTORY.md +108 -0
  262. package/dist/node_modules/negotiator/LICENSE +24 -0
  263. package/dist/node_modules/negotiator/README.md +203 -0
  264. package/dist/node_modules/negotiator/index.js +82 -0
  265. package/dist/node_modules/negotiator/lib/charset.js +169 -0
  266. package/dist/node_modules/negotiator/lib/encoding.js +184 -0
  267. package/dist/node_modules/negotiator/lib/language.js +179 -0
  268. package/dist/node_modules/negotiator/lib/mediaType.js +294 -0
  269. package/dist/node_modules/negotiator/package.json +42 -0
  270. package/dist/node_modules/object-inspect/.eslintrc +53 -0
  271. package/dist/node_modules/object-inspect/.github/FUNDING.yml +12 -0
  272. package/dist/node_modules/object-inspect/.nycrc +13 -0
  273. package/dist/node_modules/object-inspect/CHANGELOG.md +360 -0
  274. package/dist/node_modules/object-inspect/LICENSE +21 -0
  275. package/dist/node_modules/object-inspect/example/all.js +23 -0
  276. package/dist/node_modules/object-inspect/example/circular.js +6 -0
  277. package/dist/node_modules/object-inspect/example/fn.js +5 -0
  278. package/dist/node_modules/object-inspect/example/inspect.js +10 -0
  279. package/dist/node_modules/object-inspect/index.js +512 -0
  280. package/dist/node_modules/object-inspect/package-support.json +20 -0
  281. package/dist/node_modules/object-inspect/package.json +94 -0
  282. package/dist/node_modules/object-inspect/readme.markdown +86 -0
  283. package/dist/node_modules/object-inspect/test/bigint.js +58 -0
  284. package/dist/node_modules/object-inspect/test/browser/dom.js +15 -0
  285. package/dist/node_modules/object-inspect/test/circular.js +16 -0
  286. package/dist/node_modules/object-inspect/test/deep.js +12 -0
  287. package/dist/node_modules/object-inspect/test/element.js +53 -0
  288. package/dist/node_modules/object-inspect/test/err.js +48 -0
  289. package/dist/node_modules/object-inspect/test/fakes.js +29 -0
  290. package/dist/node_modules/object-inspect/test/fn.js +76 -0
  291. package/dist/node_modules/object-inspect/test/has.js +15 -0
  292. package/dist/node_modules/object-inspect/test/holes.js +15 -0
  293. package/dist/node_modules/object-inspect/test/indent-option.js +271 -0
  294. package/dist/node_modules/object-inspect/test/inspect.js +139 -0
  295. package/dist/node_modules/object-inspect/test/lowbyte.js +12 -0
  296. package/dist/node_modules/object-inspect/test/number.js +58 -0
  297. package/dist/node_modules/object-inspect/test/quoteStyle.js +17 -0
  298. package/dist/node_modules/object-inspect/test/toStringTag.js +40 -0
  299. package/dist/node_modules/object-inspect/test/undef.js +12 -0
  300. package/dist/node_modules/object-inspect/test/values.js +211 -0
  301. package/dist/node_modules/object-inspect/test-core-js.js +26 -0
  302. package/dist/node_modules/object-inspect/util.inspect.js +1 -0
  303. package/dist/node_modules/on-finished/HISTORY.md +98 -0
  304. package/dist/node_modules/on-finished/LICENSE +23 -0
  305. package/dist/node_modules/on-finished/README.md +162 -0
  306. package/dist/node_modules/on-finished/index.js +234 -0
  307. package/dist/node_modules/on-finished/package.json +39 -0
  308. package/dist/node_modules/parseurl/HISTORY.md +58 -0
  309. package/dist/node_modules/parseurl/LICENSE +24 -0
  310. package/dist/node_modules/parseurl/README.md +133 -0
  311. package/dist/node_modules/parseurl/index.js +158 -0
  312. package/dist/node_modules/parseurl/package.json +40 -0
  313. package/dist/node_modules/path-to-regexp/History.md +36 -0
  314. package/dist/node_modules/path-to-regexp/LICENSE +21 -0
  315. package/dist/node_modules/path-to-regexp/Readme.md +35 -0
  316. package/dist/node_modules/path-to-regexp/index.js +129 -0
  317. package/dist/node_modules/path-to-regexp/package.json +30 -0
  318. package/dist/node_modules/proxy-addr/HISTORY.md +161 -0
  319. package/dist/node_modules/proxy-addr/LICENSE +22 -0
  320. package/dist/node_modules/proxy-addr/README.md +139 -0
  321. package/dist/node_modules/proxy-addr/index.js +327 -0
  322. package/dist/node_modules/proxy-addr/package.json +47 -0
  323. package/dist/node_modules/qs/.editorconfig +43 -0
  324. package/dist/node_modules/qs/.eslintrc +38 -0
  325. package/dist/node_modules/qs/.github/FUNDING.yml +12 -0
  326. package/dist/node_modules/qs/.nycrc +13 -0
  327. package/dist/node_modules/qs/CHANGELOG.md +546 -0
  328. package/dist/node_modules/qs/LICENSE.md +29 -0
  329. package/dist/node_modules/qs/README.md +625 -0
  330. package/dist/node_modules/qs/dist/qs.js +2054 -0
  331. package/dist/node_modules/qs/lib/formats.js +23 -0
  332. package/dist/node_modules/qs/lib/index.js +11 -0
  333. package/dist/node_modules/qs/lib/parse.js +263 -0
  334. package/dist/node_modules/qs/lib/stringify.js +326 -0
  335. package/dist/node_modules/qs/lib/utils.js +252 -0
  336. package/dist/node_modules/qs/package.json +77 -0
  337. package/dist/node_modules/qs/test/parse.js +855 -0
  338. package/dist/node_modules/qs/test/stringify.js +909 -0
  339. package/dist/node_modules/qs/test/utils.js +136 -0
  340. package/dist/node_modules/range-parser/HISTORY.md +56 -0
  341. package/dist/node_modules/range-parser/LICENSE +23 -0
  342. package/dist/node_modules/range-parser/README.md +84 -0
  343. package/dist/node_modules/range-parser/index.js +162 -0
  344. package/dist/node_modules/range-parser/package.json +44 -0
  345. package/dist/node_modules/raw-body/HISTORY.md +303 -0
  346. package/dist/node_modules/raw-body/LICENSE +22 -0
  347. package/dist/node_modules/raw-body/README.md +223 -0
  348. package/dist/node_modules/raw-body/SECURITY.md +24 -0
  349. package/dist/node_modules/raw-body/index.d.ts +87 -0
  350. package/dist/node_modules/raw-body/index.js +329 -0
  351. package/dist/node_modules/raw-body/package.json +49 -0
  352. package/dist/node_modules/safe-buffer/LICENSE +21 -0
  353. package/dist/node_modules/safe-buffer/README.md +584 -0
  354. package/dist/node_modules/safe-buffer/index.d.ts +187 -0
  355. package/dist/node_modules/safe-buffer/index.js +65 -0
  356. package/dist/node_modules/safe-buffer/package.json +51 -0
  357. package/dist/node_modules/safer-buffer/LICENSE +21 -0
  358. package/dist/node_modules/safer-buffer/Porting-Buffer.md +268 -0
  359. package/dist/node_modules/safer-buffer/Readme.md +156 -0
  360. package/dist/node_modules/safer-buffer/dangerous.js +58 -0
  361. package/dist/node_modules/safer-buffer/package.json +34 -0
  362. package/dist/node_modules/safer-buffer/safer.js +77 -0
  363. package/dist/node_modules/safer-buffer/tests.js +406 -0
  364. package/dist/node_modules/send/HISTORY.md +521 -0
  365. package/dist/node_modules/send/LICENSE +23 -0
  366. package/dist/node_modules/send/README.md +327 -0
  367. package/dist/node_modules/send/SECURITY.md +24 -0
  368. package/dist/node_modules/send/index.js +1143 -0
  369. package/dist/node_modules/send/node_modules/ms/index.js +162 -0
  370. package/dist/node_modules/send/node_modules/ms/license.md +21 -0
  371. package/dist/node_modules/send/node_modules/ms/package.json +38 -0
  372. package/dist/node_modules/send/node_modules/ms/readme.md +59 -0
  373. package/dist/node_modules/send/package.json +62 -0
  374. package/dist/node_modules/serve-static/HISTORY.md +471 -0
  375. package/dist/node_modules/serve-static/LICENSE +25 -0
  376. package/dist/node_modules/serve-static/README.md +257 -0
  377. package/dist/node_modules/serve-static/index.js +210 -0
  378. package/dist/node_modules/serve-static/package.json +42 -0
  379. package/dist/node_modules/setprototypeof/LICENSE +13 -0
  380. package/dist/node_modules/setprototypeof/README.md +31 -0
  381. package/dist/node_modules/setprototypeof/index.d.ts +2 -0
  382. package/dist/node_modules/setprototypeof/index.js +17 -0
  383. package/dist/node_modules/setprototypeof/package.json +38 -0
  384. package/dist/node_modules/setprototypeof/test/index.js +24 -0
  385. package/dist/node_modules/side-channel/.eslintignore +1 -0
  386. package/dist/node_modules/side-channel/.eslintrc +11 -0
  387. package/dist/node_modules/side-channel/.github/FUNDING.yml +12 -0
  388. package/dist/node_modules/side-channel/.nycrc +13 -0
  389. package/dist/node_modules/side-channel/CHANGELOG.md +65 -0
  390. package/dist/node_modules/side-channel/LICENSE +21 -0
  391. package/dist/node_modules/side-channel/README.md +2 -0
  392. package/dist/node_modules/side-channel/index.js +124 -0
  393. package/dist/node_modules/side-channel/package.json +67 -0
  394. package/dist/node_modules/side-channel/test/index.js +78 -0
  395. package/dist/node_modules/statuses/HISTORY.md +82 -0
  396. package/dist/node_modules/statuses/LICENSE +23 -0
  397. package/dist/node_modules/statuses/README.md +136 -0
  398. package/dist/node_modules/statuses/codes.json +65 -0
  399. package/dist/node_modules/statuses/index.js +146 -0
  400. package/dist/node_modules/statuses/package.json +49 -0
  401. package/dist/node_modules/toidentifier/HISTORY.md +9 -0
  402. package/dist/node_modules/toidentifier/LICENSE +21 -0
  403. package/dist/node_modules/toidentifier/README.md +61 -0
  404. package/dist/node_modules/toidentifier/index.js +32 -0
  405. package/dist/node_modules/toidentifier/package.json +38 -0
  406. package/dist/node_modules/type-is/HISTORY.md +259 -0
  407. package/dist/node_modules/type-is/LICENSE +23 -0
  408. package/dist/node_modules/type-is/README.md +170 -0
  409. package/dist/node_modules/type-is/index.js +266 -0
  410. package/dist/node_modules/type-is/package.json +45 -0
  411. package/dist/node_modules/unpipe/HISTORY.md +4 -0
  412. package/dist/node_modules/unpipe/LICENSE +22 -0
  413. package/dist/node_modules/unpipe/README.md +43 -0
  414. package/dist/node_modules/unpipe/index.js +69 -0
  415. package/dist/node_modules/unpipe/package.json +27 -0
  416. package/dist/node_modules/utils-merge/LICENSE +20 -0
  417. package/dist/node_modules/utils-merge/README.md +34 -0
  418. package/dist/node_modules/utils-merge/index.js +23 -0
  419. package/dist/node_modules/utils-merge/package.json +40 -0
  420. package/dist/node_modules/vary/HISTORY.md +39 -0
  421. package/dist/node_modules/vary/LICENSE +22 -0
  422. package/dist/node_modules/vary/README.md +101 -0
  423. package/dist/node_modules/vary/index.js +149 -0
  424. package/dist/node_modules/vary/package.json +43 -0
  425. package/dist/package-lock.json +1018 -0
  426. package/dist/package.json +18 -0
  427. package/makefile +74 -0
  428. package/package.json +1 -1
  429. package/src/peer-connection/speaker.js +1 -1
  430. package/src/tasks/audioCalibrator.js +1 -1
  431. package/src/tasks/volume/volume.js +25 -1
  432. package/.gitignore +0 -78
@@ -0,0 +1,92 @@
1
+ # content-type
2
+
3
+ [![NPM Version][npm-image]][npm-url]
4
+ [![NPM Downloads][downloads-image]][downloads-url]
5
+ [![Node.js Version][node-version-image]][node-version-url]
6
+ [![Build Status][travis-image]][travis-url]
7
+ [![Test Coverage][coveralls-image]][coveralls-url]
8
+
9
+ Create and parse HTTP Content-Type header according to RFC 7231
10
+
11
+ ## Installation
12
+
13
+ ```sh
14
+ $ npm install content-type
15
+ ```
16
+
17
+ ## API
18
+
19
+ ```js
20
+ var contentType = require('content-type')
21
+ ```
22
+
23
+ ### contentType.parse(string)
24
+
25
+ ```js
26
+ var obj = contentType.parse('image/svg+xml; charset=utf-8')
27
+ ```
28
+
29
+ Parse a content type string. This will return an object with the following
30
+ properties (examples are shown for the string `'image/svg+xml; charset=utf-8'`):
31
+
32
+ - `type`: The media type (the type and subtype, always lower case).
33
+ Example: `'image/svg+xml'`
34
+
35
+ - `parameters`: An object of the parameters in the media type (name of parameter
36
+ always lower case). Example: `{charset: 'utf-8'}`
37
+
38
+ Throws a `TypeError` if the string is missing or invalid.
39
+
40
+ ### contentType.parse(req)
41
+
42
+ ```js
43
+ var obj = contentType.parse(req)
44
+ ```
45
+
46
+ Parse the `content-type` header from the given `req`. Short-cut for
47
+ `contentType.parse(req.headers['content-type'])`.
48
+
49
+ Throws a `TypeError` if the `Content-Type` header is missing or invalid.
50
+
51
+ ### contentType.parse(res)
52
+
53
+ ```js
54
+ var obj = contentType.parse(res)
55
+ ```
56
+
57
+ Parse the `content-type` header set on the given `res`. Short-cut for
58
+ `contentType.parse(res.getHeader('content-type'))`.
59
+
60
+ Throws a `TypeError` if the `Content-Type` header is missing or invalid.
61
+
62
+ ### contentType.format(obj)
63
+
64
+ ```js
65
+ var str = contentType.format({type: 'image/svg+xml'})
66
+ ```
67
+
68
+ Format an object into a content type string. This will return a string of the
69
+ content type for the given object with the following properties (examples are
70
+ shown that produce the string `'image/svg+xml; charset=utf-8'`):
71
+
72
+ - `type`: The media type (will be lower-cased). Example: `'image/svg+xml'`
73
+
74
+ - `parameters`: An object of the parameters in the media type (name of the
75
+ parameter will be lower-cased). Example: `{charset: 'utf-8'}`
76
+
77
+ Throws a `TypeError` if the object contains an invalid type or parameter names.
78
+
79
+ ## License
80
+
81
+ [MIT](LICENSE)
82
+
83
+ [npm-image]: https://img.shields.io/npm/v/content-type.svg
84
+ [npm-url]: https://npmjs.org/package/content-type
85
+ [node-version-image]: https://img.shields.io/node/v/content-type.svg
86
+ [node-version-url]: http://nodejs.org/download/
87
+ [travis-image]: https://img.shields.io/travis/jshttp/content-type/master.svg
88
+ [travis-url]: https://travis-ci.org/jshttp/content-type
89
+ [coveralls-image]: https://img.shields.io/coveralls/jshttp/content-type/master.svg
90
+ [coveralls-url]: https://coveralls.io/r/jshttp/content-type
91
+ [downloads-image]: https://img.shields.io/npm/dm/content-type.svg
92
+ [downloads-url]: https://npmjs.org/package/content-type
@@ -0,0 +1,222 @@
1
+ /*!
2
+ * content-type
3
+ * Copyright(c) 2015 Douglas Christopher Wilson
4
+ * MIT Licensed
5
+ */
6
+
7
+ 'use strict'
8
+
9
+ /**
10
+ * RegExp to match *( ";" parameter ) in RFC 7231 sec 3.1.1.1
11
+ *
12
+ * parameter = token "=" ( token / quoted-string )
13
+ * token = 1*tchar
14
+ * tchar = "!" / "#" / "$" / "%" / "&" / "'" / "*"
15
+ * / "+" / "-" / "." / "^" / "_" / "`" / "|" / "~"
16
+ * / DIGIT / ALPHA
17
+ * ; any VCHAR, except delimiters
18
+ * quoted-string = DQUOTE *( qdtext / quoted-pair ) DQUOTE
19
+ * qdtext = HTAB / SP / %x21 / %x23-5B / %x5D-7E / obs-text
20
+ * obs-text = %x80-FF
21
+ * quoted-pair = "\" ( HTAB / SP / VCHAR / obs-text )
22
+ */
23
+ var PARAM_REGEXP = /; *([!#$%&'*+.^_`|~0-9A-Za-z-]+) *= *("(?:[\u000b\u0020\u0021\u0023-\u005b\u005d-\u007e\u0080-\u00ff]|\\[\u000b\u0020-\u00ff])*"|[!#$%&'*+.^_`|~0-9A-Za-z-]+) */g
24
+ var TEXT_REGEXP = /^[\u000b\u0020-\u007e\u0080-\u00ff]+$/
25
+ var TOKEN_REGEXP = /^[!#$%&'*+.^_`|~0-9A-Za-z-]+$/
26
+
27
+ /**
28
+ * RegExp to match quoted-pair in RFC 7230 sec 3.2.6
29
+ *
30
+ * quoted-pair = "\" ( HTAB / SP / VCHAR / obs-text )
31
+ * obs-text = %x80-FF
32
+ */
33
+ var QESC_REGEXP = /\\([\u000b\u0020-\u00ff])/g
34
+
35
+ /**
36
+ * RegExp to match chars that must be quoted-pair in RFC 7230 sec 3.2.6
37
+ */
38
+ var QUOTE_REGEXP = /([\\"])/g
39
+
40
+ /**
41
+ * RegExp to match type in RFC 7231 sec 3.1.1.1
42
+ *
43
+ * media-type = type "/" subtype
44
+ * type = token
45
+ * subtype = token
46
+ */
47
+ var TYPE_REGEXP = /^[!#$%&'*+.^_`|~0-9A-Za-z-]+\/[!#$%&'*+.^_`|~0-9A-Za-z-]+$/
48
+
49
+ /**
50
+ * Module exports.
51
+ * @public
52
+ */
53
+
54
+ exports.format = format
55
+ exports.parse = parse
56
+
57
+ /**
58
+ * Format object to media type.
59
+ *
60
+ * @param {object} obj
61
+ * @return {string}
62
+ * @public
63
+ */
64
+
65
+ function format (obj) {
66
+ if (!obj || typeof obj !== 'object') {
67
+ throw new TypeError('argument obj is required')
68
+ }
69
+
70
+ var parameters = obj.parameters
71
+ var type = obj.type
72
+
73
+ if (!type || !TYPE_REGEXP.test(type)) {
74
+ throw new TypeError('invalid type')
75
+ }
76
+
77
+ var string = type
78
+
79
+ // append parameters
80
+ if (parameters && typeof parameters === 'object') {
81
+ var param
82
+ var params = Object.keys(parameters).sort()
83
+
84
+ for (var i = 0; i < params.length; i++) {
85
+ param = params[i]
86
+
87
+ if (!TOKEN_REGEXP.test(param)) {
88
+ throw new TypeError('invalid parameter name')
89
+ }
90
+
91
+ string += '; ' + param + '=' + qstring(parameters[param])
92
+ }
93
+ }
94
+
95
+ return string
96
+ }
97
+
98
+ /**
99
+ * Parse media type to object.
100
+ *
101
+ * @param {string|object} string
102
+ * @return {Object}
103
+ * @public
104
+ */
105
+
106
+ function parse (string) {
107
+ if (!string) {
108
+ throw new TypeError('argument string is required')
109
+ }
110
+
111
+ // support req/res-like objects as argument
112
+ var header = typeof string === 'object'
113
+ ? getcontenttype(string)
114
+ : string
115
+
116
+ if (typeof header !== 'string') {
117
+ throw new TypeError('argument string is required to be a string')
118
+ }
119
+
120
+ var index = header.indexOf(';')
121
+ var type = index !== -1
122
+ ? header.substr(0, index).trim()
123
+ : header.trim()
124
+
125
+ if (!TYPE_REGEXP.test(type)) {
126
+ throw new TypeError('invalid media type')
127
+ }
128
+
129
+ var obj = new ContentType(type.toLowerCase())
130
+
131
+ // parse parameters
132
+ if (index !== -1) {
133
+ var key
134
+ var match
135
+ var value
136
+
137
+ PARAM_REGEXP.lastIndex = index
138
+
139
+ while ((match = PARAM_REGEXP.exec(header))) {
140
+ if (match.index !== index) {
141
+ throw new TypeError('invalid parameter format')
142
+ }
143
+
144
+ index += match[0].length
145
+ key = match[1].toLowerCase()
146
+ value = match[2]
147
+
148
+ if (value[0] === '"') {
149
+ // remove quotes and escapes
150
+ value = value
151
+ .substr(1, value.length - 2)
152
+ .replace(QESC_REGEXP, '$1')
153
+ }
154
+
155
+ obj.parameters[key] = value
156
+ }
157
+
158
+ if (index !== header.length) {
159
+ throw new TypeError('invalid parameter format')
160
+ }
161
+ }
162
+
163
+ return obj
164
+ }
165
+
166
+ /**
167
+ * Get content-type from req/res objects.
168
+ *
169
+ * @param {object}
170
+ * @return {Object}
171
+ * @private
172
+ */
173
+
174
+ function getcontenttype (obj) {
175
+ var header
176
+
177
+ if (typeof obj.getHeader === 'function') {
178
+ // res-like
179
+ header = obj.getHeader('content-type')
180
+ } else if (typeof obj.headers === 'object') {
181
+ // req-like
182
+ header = obj.headers && obj.headers['content-type']
183
+ }
184
+
185
+ if (typeof header !== 'string') {
186
+ throw new TypeError('content-type header is missing from object')
187
+ }
188
+
189
+ return header
190
+ }
191
+
192
+ /**
193
+ * Quote a string if necessary.
194
+ *
195
+ * @param {string} val
196
+ * @return {string}
197
+ * @private
198
+ */
199
+
200
+ function qstring (val) {
201
+ var str = String(val)
202
+
203
+ // no need to quote tokens
204
+ if (TOKEN_REGEXP.test(str)) {
205
+ return str
206
+ }
207
+
208
+ if (str.length > 0 && !TEXT_REGEXP.test(str)) {
209
+ throw new TypeError('invalid parameter value')
210
+ }
211
+
212
+ return '"' + str.replace(QUOTE_REGEXP, '\\$1') + '"'
213
+ }
214
+
215
+ /**
216
+ * Class to represent a content type.
217
+ * @private
218
+ */
219
+ function ContentType (type) {
220
+ this.parameters = Object.create(null)
221
+ this.type = type
222
+ }
@@ -0,0 +1,40 @@
1
+ {
2
+ "name": "content-type",
3
+ "description": "Create and parse HTTP Content-Type header",
4
+ "version": "1.0.4",
5
+ "author": "Douglas Christopher Wilson <doug@somethingdoug.com>",
6
+ "license": "MIT",
7
+ "keywords": [
8
+ "content-type",
9
+ "http",
10
+ "req",
11
+ "res",
12
+ "rfc7231"
13
+ ],
14
+ "repository": "jshttp/content-type",
15
+ "devDependencies": {
16
+ "eslint": "3.19.0",
17
+ "eslint-config-standard": "10.2.1",
18
+ "eslint-plugin-import": "2.7.0",
19
+ "eslint-plugin-node": "5.1.1",
20
+ "eslint-plugin-promise": "3.5.0",
21
+ "eslint-plugin-standard": "3.0.1",
22
+ "istanbul": "0.4.5",
23
+ "mocha": "~1.21.5"
24
+ },
25
+ "files": [
26
+ "LICENSE",
27
+ "HISTORY.md",
28
+ "README.md",
29
+ "index.js"
30
+ ],
31
+ "engines": {
32
+ "node": ">= 0.6"
33
+ },
34
+ "scripts": {
35
+ "lint": "eslint .",
36
+ "test": "mocha --reporter spec --check-leaks --bail test/",
37
+ "test-ci": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --check-leaks test/",
38
+ "test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --check-leaks test/"
39
+ }
40
+ }
@@ -0,0 +1,142 @@
1
+ 0.5.0 / 2022-04-11
2
+ ==================
3
+
4
+ * Add `priority` option
5
+ * Fix `expires` option to reject invalid dates
6
+ * pref: improve default decode speed
7
+ * pref: remove slow string split in parse
8
+
9
+ 0.4.2 / 2022-02-02
10
+ ==================
11
+
12
+ * pref: read value only when assigning in parse
13
+ * pref: remove unnecessary regexp in parse
14
+
15
+ 0.4.1 / 2020-04-21
16
+ ==================
17
+
18
+ * Fix `maxAge` option to reject invalid values
19
+
20
+ 0.4.0 / 2019-05-15
21
+ ==================
22
+
23
+ * Add `SameSite=None` support
24
+
25
+ 0.3.1 / 2016-05-26
26
+ ==================
27
+
28
+ * Fix `sameSite: true` to work with draft-7 clients
29
+ - `true` now sends `SameSite=Strict` instead of `SameSite`
30
+
31
+ 0.3.0 / 2016-05-26
32
+ ==================
33
+
34
+ * Add `sameSite` option
35
+ - Replaces `firstPartyOnly` option, never implemented by browsers
36
+ * Improve error message when `encode` is not a function
37
+ * Improve error message when `expires` is not a `Date`
38
+
39
+ 0.2.4 / 2016-05-20
40
+ ==================
41
+
42
+ * perf: enable strict mode
43
+ * perf: use for loop in parse
44
+ * perf: use string concatination for serialization
45
+
46
+ 0.2.3 / 2015-10-25
47
+ ==================
48
+
49
+ * Fix cookie `Max-Age` to never be a floating point number
50
+
51
+ 0.2.2 / 2015-09-17
52
+ ==================
53
+
54
+ * Fix regression when setting empty cookie value
55
+ - Ease the new restriction, which is just basic header-level validation
56
+ * Fix typo in invalid value errors
57
+
58
+ 0.2.1 / 2015-09-17
59
+ ==================
60
+
61
+ * Throw on invalid values provided to `serialize`
62
+ - Ensures the resulting string is a valid HTTP header value
63
+
64
+ 0.2.0 / 2015-08-13
65
+ ==================
66
+
67
+ * Add `firstPartyOnly` option
68
+ * Throw better error for invalid argument to parse
69
+ * perf: hoist regular expression
70
+
71
+ 0.1.5 / 2015-09-17
72
+ ==================
73
+
74
+ * Fix regression when setting empty cookie value
75
+ - Ease the new restriction, which is just basic header-level validation
76
+ * Fix typo in invalid value errors
77
+
78
+ 0.1.4 / 2015-09-17
79
+ ==================
80
+
81
+ * Throw better error for invalid argument to parse
82
+ * Throw on invalid values provided to `serialize`
83
+ - Ensures the resulting string is a valid HTTP header value
84
+
85
+ 0.1.3 / 2015-05-19
86
+ ==================
87
+
88
+ * Reduce the scope of try-catch deopt
89
+ * Remove argument reassignments
90
+
91
+ 0.1.2 / 2014-04-16
92
+ ==================
93
+
94
+ * Remove unnecessary files from npm package
95
+
96
+ 0.1.1 / 2014-02-23
97
+ ==================
98
+
99
+ * Fix bad parse when cookie value contained a comma
100
+ * Fix support for `maxAge` of `0`
101
+
102
+ 0.1.0 / 2013-05-01
103
+ ==================
104
+
105
+ * Add `decode` option
106
+ * Add `encode` option
107
+
108
+ 0.0.6 / 2013-04-08
109
+ ==================
110
+
111
+ * Ignore cookie parts missing `=`
112
+
113
+ 0.0.5 / 2012-10-29
114
+ ==================
115
+
116
+ * Return raw cookie value if value unescape errors
117
+
118
+ 0.0.4 / 2012-06-21
119
+ ==================
120
+
121
+ * Use encode/decodeURIComponent for cookie encoding/decoding
122
+ - Improve server/client interoperability
123
+
124
+ 0.0.3 / 2012-06-06
125
+ ==================
126
+
127
+ * Only escape special characters per the cookie RFC
128
+
129
+ 0.0.2 / 2012-06-01
130
+ ==================
131
+
132
+ * Fix `maxAge` option to not throw error
133
+
134
+ 0.0.1 / 2012-05-28
135
+ ==================
136
+
137
+ * Add more tests
138
+
139
+ 0.0.0 / 2012-05-28
140
+ ==================
141
+
142
+ * Initial release
@@ -0,0 +1,24 @@
1
+ (The MIT License)
2
+
3
+ Copyright (c) 2012-2014 Roman Shtylman <shtylman@gmail.com>
4
+ Copyright (c) 2015 Douglas Christopher Wilson <doug@somethingdoug.com>
5
+
6
+ Permission is hereby granted, free of charge, to any person obtaining
7
+ a copy of this software and associated documentation files (the
8
+ 'Software'), to deal in the Software without restriction, including
9
+ without limitation the rights to use, copy, modify, merge, publish,
10
+ distribute, sublicense, and/or sell copies of the Software, and to
11
+ permit persons to whom the Software is furnished to do so, subject to
12
+ the following conditions:
13
+
14
+ The above copyright notice and this permission notice shall be
15
+ included in all copies or substantial portions of the Software.
16
+
17
+ THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
18
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
19
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
20
+ IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
21
+ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
22
+ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
23
+ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
24
+