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,274 @@
1
+ 'use strict';
2
+
3
+ var GetIntrinsic = require('../');
4
+
5
+ var test = require('tape');
6
+ var forEach = require('for-each');
7
+ var debug = require('object-inspect');
8
+ var generatorFns = require('make-generator-function')();
9
+ var asyncFns = require('make-async-function').list();
10
+ var asyncGenFns = require('make-async-generator-function')();
11
+ var mockProperty = require('mock-property');
12
+
13
+ var callBound = require('call-bind/callBound');
14
+ var v = require('es-value-fixtures');
15
+ var $gOPD = require('es-abstract/helpers/getOwnPropertyDescriptor');
16
+ var DefinePropertyOrThrow = require('es-abstract/2021/DefinePropertyOrThrow');
17
+
18
+ var $isProto = callBound('%Object.prototype.isPrototypeOf%');
19
+
20
+ test('export', function (t) {
21
+ t.equal(typeof GetIntrinsic, 'function', 'it is a function');
22
+ t.equal(GetIntrinsic.length, 2, 'function has length of 2');
23
+
24
+ t.end();
25
+ });
26
+
27
+ test('throws', function (t) {
28
+ t['throws'](
29
+ function () { GetIntrinsic('not an intrinsic'); },
30
+ SyntaxError,
31
+ 'nonexistent intrinsic throws a syntax error'
32
+ );
33
+
34
+ t['throws'](
35
+ function () { GetIntrinsic(''); },
36
+ TypeError,
37
+ 'empty string intrinsic throws a type error'
38
+ );
39
+
40
+ t['throws'](
41
+ function () { GetIntrinsic('.'); },
42
+ SyntaxError,
43
+ '"just a dot" intrinsic throws a syntax error'
44
+ );
45
+
46
+ t['throws'](
47
+ function () { GetIntrinsic('%String'); },
48
+ SyntaxError,
49
+ 'Leading % without trailing % throws a syntax error'
50
+ );
51
+
52
+ t['throws'](
53
+ function () { GetIntrinsic('String%'); },
54
+ SyntaxError,
55
+ 'Trailing % without leading % throws a syntax error'
56
+ );
57
+
58
+ t['throws'](
59
+ function () { GetIntrinsic("String['prototype]"); },
60
+ SyntaxError,
61
+ 'Dynamic property access is disallowed for intrinsics (unterminated string)'
62
+ );
63
+
64
+ t['throws'](
65
+ function () { GetIntrinsic('%Proxy.prototype.undefined%'); },
66
+ TypeError,
67
+ "Throws when middle part doesn't exist (%Proxy.prototype.undefined%)"
68
+ );
69
+
70
+ t['throws'](
71
+ function () { GetIntrinsic('%Array.prototype%garbage%'); },
72
+ SyntaxError,
73
+ 'Throws with extra percent signs'
74
+ );
75
+
76
+ t['throws'](
77
+ function () { GetIntrinsic('%Array.prototype%push%'); },
78
+ SyntaxError,
79
+ 'Throws with extra percent signs, even on an existing intrinsic'
80
+ );
81
+
82
+ forEach(v.nonStrings, function (nonString) {
83
+ t['throws'](
84
+ function () { GetIntrinsic(nonString); },
85
+ TypeError,
86
+ debug(nonString) + ' is not a String'
87
+ );
88
+ });
89
+
90
+ forEach(v.nonBooleans, function (nonBoolean) {
91
+ t['throws'](
92
+ function () { GetIntrinsic('%', nonBoolean); },
93
+ TypeError,
94
+ debug(nonBoolean) + ' is not a Boolean'
95
+ );
96
+ });
97
+
98
+ forEach([
99
+ 'toString',
100
+ 'propertyIsEnumerable',
101
+ 'hasOwnProperty'
102
+ ], function (objectProtoMember) {
103
+ t['throws'](
104
+ function () { GetIntrinsic(objectProtoMember); },
105
+ SyntaxError,
106
+ debug(objectProtoMember) + ' is not an intrinsic'
107
+ );
108
+ });
109
+
110
+ t.end();
111
+ });
112
+
113
+ test('base intrinsics', function (t) {
114
+ t.equal(GetIntrinsic('%Object%'), Object, '%Object% yields Object');
115
+ t.equal(GetIntrinsic('Object'), Object, 'Object yields Object');
116
+ t.equal(GetIntrinsic('%Array%'), Array, '%Array% yields Array');
117
+ t.equal(GetIntrinsic('Array'), Array, 'Array yields Array');
118
+
119
+ t.end();
120
+ });
121
+
122
+ test('dotted paths', function (t) {
123
+ t.equal(GetIntrinsic('%Object.prototype.toString%'), Object.prototype.toString, '%Object.prototype.toString% yields Object.prototype.toString');
124
+ t.equal(GetIntrinsic('Object.prototype.toString'), Object.prototype.toString, 'Object.prototype.toString yields Object.prototype.toString');
125
+ t.equal(GetIntrinsic('%Array.prototype.push%'), Array.prototype.push, '%Array.prototype.push% yields Array.prototype.push');
126
+ t.equal(GetIntrinsic('Array.prototype.push'), Array.prototype.push, 'Array.prototype.push yields Array.prototype.push');
127
+
128
+ test('underscore paths are aliases for dotted paths', { skip: !Object.isFrozen || Object.isFrozen(Object.prototype) }, function (st) {
129
+ var original = GetIntrinsic('%ObjProto_toString%');
130
+
131
+ forEach([
132
+ '%Object.prototype.toString%',
133
+ 'Object.prototype.toString',
134
+ '%ObjectPrototype.toString%',
135
+ 'ObjectPrototype.toString',
136
+ '%ObjProto_toString%',
137
+ 'ObjProto_toString'
138
+ ], function (name) {
139
+ DefinePropertyOrThrow(Object.prototype, 'toString', {
140
+ '[[Value]]': function toString() {
141
+ return original.apply(this, arguments);
142
+ }
143
+ });
144
+ st.equal(GetIntrinsic(name), original, name + ' yields original Object.prototype.toString');
145
+ });
146
+
147
+ DefinePropertyOrThrow(Object.prototype, 'toString', { '[[Value]]': original });
148
+ st.end();
149
+ });
150
+
151
+ test('dotted paths cache', { skip: !Object.isFrozen || Object.isFrozen(Object.prototype) }, function (st) {
152
+ var original = GetIntrinsic('%Object.prototype.propertyIsEnumerable%');
153
+
154
+ forEach([
155
+ '%Object.prototype.propertyIsEnumerable%',
156
+ 'Object.prototype.propertyIsEnumerable',
157
+ '%ObjectPrototype.propertyIsEnumerable%',
158
+ 'ObjectPrototype.propertyIsEnumerable'
159
+ ], function (name) {
160
+ var restore = mockProperty(Object.prototype, 'propertyIsEnumerable', {
161
+ value: function propertyIsEnumerable() {
162
+ return original.apply(this, arguments);
163
+ }
164
+ });
165
+ st.equal(GetIntrinsic(name), original, name + ' yields cached Object.prototype.propertyIsEnumerable');
166
+
167
+ restore();
168
+ });
169
+
170
+ st.end();
171
+ });
172
+
173
+ test('dotted path reports correct error', function (st) {
174
+ st['throws'](function () {
175
+ GetIntrinsic('%NonExistentIntrinsic.prototype.property%');
176
+ }, /%NonExistentIntrinsic%/, 'The base intrinsic of %NonExistentIntrinsic.prototype.property% is %NonExistentIntrinsic%');
177
+
178
+ st['throws'](function () {
179
+ GetIntrinsic('%NonExistentIntrinsicPrototype.property%');
180
+ }, /%NonExistentIntrinsicPrototype%/, 'The base intrinsic of %NonExistentIntrinsicPrototype.property% is %NonExistentIntrinsicPrototype%');
181
+
182
+ st.end();
183
+ });
184
+
185
+ t.end();
186
+ });
187
+
188
+ test('accessors', { skip: !$gOPD || typeof Map !== 'function' }, function (t) {
189
+ var actual = $gOPD(Map.prototype, 'size');
190
+ t.ok(actual, 'Map.prototype.size has a descriptor');
191
+ t.equal(typeof actual.get, 'function', 'Map.prototype.size has a getter function');
192
+ t.equal(GetIntrinsic('%Map.prototype.size%'), actual.get, '%Map.prototype.size% yields the getter for it');
193
+ t.equal(GetIntrinsic('Map.prototype.size'), actual.get, 'Map.prototype.size yields the getter for it');
194
+
195
+ t.end();
196
+ });
197
+
198
+ test('generator functions', { skip: !generatorFns.length }, function (t) {
199
+ var $GeneratorFunction = GetIntrinsic('%GeneratorFunction%');
200
+ var $GeneratorFunctionPrototype = GetIntrinsic('%Generator%');
201
+ var $GeneratorPrototype = GetIntrinsic('%GeneratorPrototype%');
202
+
203
+ forEach(generatorFns, function (genFn) {
204
+ var fnName = genFn.name;
205
+ fnName = fnName ? "'" + fnName + "'" : 'genFn';
206
+
207
+ t.ok(genFn instanceof $GeneratorFunction, fnName + ' instanceof %GeneratorFunction%');
208
+ t.ok($isProto($GeneratorFunctionPrototype, genFn), '%Generator% is prototype of ' + fnName);
209
+ t.ok($isProto($GeneratorPrototype, genFn.prototype), '%GeneratorPrototype% is prototype of ' + fnName + '.prototype');
210
+ });
211
+
212
+ t.end();
213
+ });
214
+
215
+ test('async functions', { skip: !asyncFns.length }, function (t) {
216
+ var $AsyncFunction = GetIntrinsic('%AsyncFunction%');
217
+ var $AsyncFunctionPrototype = GetIntrinsic('%AsyncFunctionPrototype%');
218
+
219
+ forEach(asyncFns, function (asyncFn) {
220
+ var fnName = asyncFn.name;
221
+ fnName = fnName ? "'" + fnName + "'" : 'asyncFn';
222
+
223
+ t.ok(asyncFn instanceof $AsyncFunction, fnName + ' instanceof %AsyncFunction%');
224
+ t.ok($isProto($AsyncFunctionPrototype, asyncFn), '%AsyncFunctionPrototype% is prototype of ' + fnName);
225
+ });
226
+
227
+ t.end();
228
+ });
229
+
230
+ test('async generator functions', { skip: asyncGenFns.length === 0 }, function (t) {
231
+ var $AsyncGeneratorFunction = GetIntrinsic('%AsyncGeneratorFunction%');
232
+ var $AsyncGeneratorFunctionPrototype = GetIntrinsic('%AsyncGenerator%');
233
+ var $AsyncGeneratorPrototype = GetIntrinsic('%AsyncGeneratorPrototype%');
234
+
235
+ forEach(asyncGenFns, function (asyncGenFn) {
236
+ var fnName = asyncGenFn.name;
237
+ fnName = fnName ? "'" + fnName + "'" : 'asyncGenFn';
238
+
239
+ t.ok(asyncGenFn instanceof $AsyncGeneratorFunction, fnName + ' instanceof %AsyncGeneratorFunction%');
240
+ t.ok($isProto($AsyncGeneratorFunctionPrototype, asyncGenFn), '%AsyncGenerator% is prototype of ' + fnName);
241
+ t.ok($isProto($AsyncGeneratorPrototype, asyncGenFn.prototype), '%AsyncGeneratorPrototype% is prototype of ' + fnName + '.prototype');
242
+ });
243
+
244
+ t.end();
245
+ });
246
+
247
+ test('%ThrowTypeError%', function (t) {
248
+ var $ThrowTypeError = GetIntrinsic('%ThrowTypeError%');
249
+
250
+ t.equal(typeof $ThrowTypeError, 'function', 'is a function');
251
+ t['throws'](
252
+ $ThrowTypeError,
253
+ TypeError,
254
+ '%ThrowTypeError% throws a TypeError'
255
+ );
256
+
257
+ t.end();
258
+ });
259
+
260
+ test('allowMissing', { skip: asyncGenFns.length > 0 }, function (t) {
261
+ t['throws'](
262
+ function () { GetIntrinsic('%AsyncGeneratorPrototype%'); },
263
+ TypeError,
264
+ 'throws when missing'
265
+ );
266
+
267
+ t.equal(
268
+ GetIntrinsic('%AsyncGeneratorPrototype%', true),
269
+ undefined,
270
+ 'does not throw when allowMissing'
271
+ );
272
+
273
+ t.end();
274
+ });
@@ -0,0 +1,22 @@
1
+ Copyright (c) 2013 Thiago de Arruda
2
+
3
+ Permission is hereby granted, free of charge, to any person
4
+ obtaining a copy of this software and associated documentation
5
+ files (the "Software"), to deal in the Software without
6
+ restriction, including without limitation the rights to use,
7
+ copy, modify, merge, publish, distribute, sublicense, and/or sell
8
+ copies of the Software, and to permit persons to whom the
9
+ Software is furnished to do so, subject to the following
10
+ conditions:
11
+
12
+ The above copyright notice and this permission notice shall be
13
+ included in all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
16
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
17
+ OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
18
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
19
+ HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
20
+ WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
21
+ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
22
+ OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,18 @@
1
+ # has
2
+
3
+ > Object.prototype.hasOwnProperty.call shortcut
4
+
5
+ ## Installation
6
+
7
+ ```sh
8
+ npm install --save has
9
+ ```
10
+
11
+ ## Usage
12
+
13
+ ```js
14
+ var has = require('has');
15
+
16
+ has({}, 'hasOwnProperty'); // false
17
+ has(Object.prototype, 'hasOwnProperty'); // true
18
+ ```
@@ -0,0 +1,48 @@
1
+ {
2
+ "name": "has",
3
+ "description": "Object.prototype.hasOwnProperty.call shortcut",
4
+ "version": "1.0.3",
5
+ "homepage": "https://github.com/tarruda/has",
6
+ "author": {
7
+ "name": "Thiago de Arruda",
8
+ "email": "tpadilha84@gmail.com"
9
+ },
10
+ "contributors": [
11
+ {
12
+ "name": "Jordan Harband",
13
+ "email": "ljharb@gmail.com",
14
+ "url": "http://ljharb.codes"
15
+ }
16
+ ],
17
+ "repository": {
18
+ "type": "git",
19
+ "url": "git://github.com/tarruda/has.git"
20
+ },
21
+ "bugs": {
22
+ "url": "https://github.com/tarruda/has/issues"
23
+ },
24
+ "license": "MIT",
25
+ "licenses": [
26
+ {
27
+ "type": "MIT",
28
+ "url": "https://github.com/tarruda/has/blob/master/LICENSE-MIT"
29
+ }
30
+ ],
31
+ "main": "./src",
32
+ "dependencies": {
33
+ "function-bind": "^1.1.1"
34
+ },
35
+ "devDependencies": {
36
+ "@ljharb/eslint-config": "^12.2.1",
37
+ "eslint": "^4.19.1",
38
+ "tape": "^4.9.0"
39
+ },
40
+ "engines": {
41
+ "node": ">= 0.4.0"
42
+ },
43
+ "scripts": {
44
+ "lint": "eslint .",
45
+ "pretest": "npm run lint",
46
+ "test": "tape test"
47
+ }
48
+ }
@@ -0,0 +1,5 @@
1
+ 'use strict';
2
+
3
+ var bind = require('function-bind');
4
+
5
+ module.exports = bind.call(Function.call, Object.prototype.hasOwnProperty);
@@ -0,0 +1,10 @@
1
+ 'use strict';
2
+
3
+ var test = require('tape');
4
+ var has = require('../');
5
+
6
+ test('has', function (t) {
7
+ t.equal(has({}, 'hasOwnProperty'), false, 'object literal does not have own property "hasOwnProperty"');
8
+ t.equal(has(Object.prototype, 'hasOwnProperty'), true, 'Object.prototype has own property "hasOwnProperty"');
9
+ t.end();
10
+ });
@@ -0,0 +1,11 @@
1
+ {
2
+ "root": true,
3
+
4
+ "extends": "@ljharb",
5
+
6
+ "rules": {
7
+ "max-statements-per-line": [2, { "max": 2 }],
8
+ "no-magic-numbers": 0,
9
+ "multiline-comment-style": 0,
10
+ }
11
+ }
@@ -0,0 +1,12 @@
1
+ # These are supported funding model platforms
2
+
3
+ github: [ljharb]
4
+ patreon: # Replace with a single Patreon username
5
+ open_collective: # Replace with a single Open Collective username
6
+ ko_fi: # Replace with a single Ko-fi username
7
+ tidelift: npm/has-symbols
8
+ community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
9
+ liberapay: # Replace with a single Liberapay username
10
+ issuehunt: # Replace with a single IssueHunt username
11
+ otechie: # Replace with a single Otechie username
12
+ custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']
@@ -0,0 +1,9 @@
1
+ {
2
+ "all": true,
3
+ "check-coverage": false,
4
+ "reporter": ["text-summary", "text", "html", "json"],
5
+ "exclude": [
6
+ "coverage",
7
+ "test"
8
+ ]
9
+ }
@@ -0,0 +1,75 @@
1
+ # Changelog
2
+
3
+ All notable changes to this project will be documented in this file.
4
+
5
+ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
6
+ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
+
8
+ ## [v1.0.3](https://github.com/inspect-js/has-symbols/compare/v1.0.2...v1.0.3) - 2022-03-01
9
+
10
+ ### Commits
11
+
12
+ - [actions] use `node/install` instead of `node/run`; use `codecov` action [`518b28f`](https://github.com/inspect-js/has-symbols/commit/518b28f6c5a516cbccae30794e40aa9f738b1693)
13
+ - [meta] add `bugs` and `homepage` fields; reorder package.json [`c480b13`](https://github.com/inspect-js/has-symbols/commit/c480b13fd6802b557e1cef9749872cb5fdeef744)
14
+ - [actions] reuse common workflows [`01d0ee0`](https://github.com/inspect-js/has-symbols/commit/01d0ee0a8d97c0947f5edb73eb722027a77b2b07)
15
+ - [actions] update codecov uploader [`6424ebe`](https://github.com/inspect-js/has-symbols/commit/6424ebe86b2c9c7c3d2e9bd4413a4e4f168cb275)
16
+ - [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `aud`, `auto-changelog`, `tape` [`dfa7e7f`](https://github.com/inspect-js/has-symbols/commit/dfa7e7ff38b594645d8c8222aab895157fa7e282)
17
+ - [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `safe-publish-latest`, `tape` [`0c8d436`](https://github.com/inspect-js/has-symbols/commit/0c8d43685c45189cea9018191d4fd7eca91c9d02)
18
+ - [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `aud`, `tape` [`9026554`](https://github.com/inspect-js/has-symbols/commit/902655442a1bf88e72b42345494ef0c60f5d36ab)
19
+ - [readme] add actions and codecov badges [`eaa9682`](https://github.com/inspect-js/has-symbols/commit/eaa9682f990f481d3acf7a1c7600bec36f7b3adc)
20
+ - [Dev Deps] update `eslint`, `tape` [`bc7a3ba`](https://github.com/inspect-js/has-symbols/commit/bc7a3ba46f27b7743f8a2579732d59d1b9ac791e)
21
+ - [Dev Deps] update `eslint`, `auto-changelog` [`0ace00a`](https://github.com/inspect-js/has-symbols/commit/0ace00af08a88cdd1e6ce0d60357d941c60c2d9f)
22
+ - [meta] use `prepublishOnly` script for npm 7+ [`093f72b`](https://github.com/inspect-js/has-symbols/commit/093f72bc2b0ed00c781f444922a5034257bf561d)
23
+ - [Tests] test on all 16 minors [`9b80d3d`](https://github.com/inspect-js/has-symbols/commit/9b80d3d9102529f04c20ec5b1fcc6e38426c6b03)
24
+
25
+ ## [v1.0.2](https://github.com/inspect-js/has-symbols/compare/v1.0.1...v1.0.2) - 2021-02-27
26
+
27
+ ### Fixed
28
+
29
+ - [Fix] use a universal way to get the original Symbol [`#11`](https://github.com/inspect-js/has-symbols/issues/11)
30
+
31
+ ### Commits
32
+
33
+ - [Tests] migrate tests to Github Actions [`90ae798`](https://github.com/inspect-js/has-symbols/commit/90ae79820bdfe7bc703d67f5f3c5e205f98556d3)
34
+ - [meta] do not publish github action workflow files [`29e60a1`](https://github.com/inspect-js/has-symbols/commit/29e60a1b7c25c7f1acf7acff4a9320d0d10c49b4)
35
+ - [Tests] run `nyc` on all tests [`8476b91`](https://github.com/inspect-js/has-symbols/commit/8476b915650d360915abe2522505abf4b0e8f0ae)
36
+ - [readme] fix repo URLs, remove defunct badges [`126288e`](https://github.com/inspect-js/has-symbols/commit/126288ecc1797c0a40247a6b78bcb2e0bc5d7036)
37
+ - [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `aud`, `auto-changelog`, `core-js`, `get-own-property-symbols` [`d84bdfa`](https://github.com/inspect-js/has-symbols/commit/d84bdfa48ac5188abbb4904b42614cd6c030940a)
38
+ - [Tests] fix linting errors [`0df3070`](https://github.com/inspect-js/has-symbols/commit/0df3070b981b6c9f2ee530c09189a7f5c6def839)
39
+ - [actions] add "Allow Edits" workflow [`1e6bc29`](https://github.com/inspect-js/has-symbols/commit/1e6bc29b188f32b9648657b07eda08504be5aa9c)
40
+ - [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `tape` [`36cea2a`](https://github.com/inspect-js/has-symbols/commit/36cea2addd4e6ec435f35a2656b4e9ef82498e9b)
41
+ - [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `aud`, `tape` [`1278338`](https://github.com/inspect-js/has-symbols/commit/127833801865fbc2cc8979beb9ca869c7bfe8222)
42
+ - [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `aud`, `tape` [`1493254`](https://github.com/inspect-js/has-symbols/commit/1493254eda13db5fb8fc5e4a3e8324b3d196029d)
43
+ - [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `core-js` [`b090bf2`](https://github.com/inspect-js/has-symbols/commit/b090bf214d3679a30edc1e2d729d466ab5183e1d)
44
+ - [actions] switch Automatic Rebase workflow to `pull_request_target` event [`4addb7a`](https://github.com/inspect-js/has-symbols/commit/4addb7ab4dc73f927ae99928d68817554fc21dc0)
45
+ - [Dev Deps] update `auto-changelog`, `tape` [`81d0baf`](https://github.com/inspect-js/has-symbols/commit/81d0baf3816096a89a8558e8043895f7a7d10d8b)
46
+ - [Dev Deps] update `auto-changelog`; add `aud` [`1a4e561`](https://github.com/inspect-js/has-symbols/commit/1a4e5612c25d91c3a03d509721d02630bc4fe3da)
47
+ - [readme] remove unused testling URLs [`3000941`](https://github.com/inspect-js/has-symbols/commit/3000941f958046e923ed8152edb1ef4a599e6fcc)
48
+ - [Tests] only audit prod deps [`692e974`](https://github.com/inspect-js/has-symbols/commit/692e9743c912410e9440207631a643a34b4741a1)
49
+ - [Dev Deps] update `@ljharb/eslint-config` [`51c946c`](https://github.com/inspect-js/has-symbols/commit/51c946c7f6baa793ec5390bb5a45cdce16b4ba76)
50
+
51
+ ## [v1.0.1](https://github.com/inspect-js/has-symbols/compare/v1.0.0...v1.0.1) - 2019-11-16
52
+
53
+ ### Commits
54
+
55
+ - [Tests] use shared travis-ci configs [`ce396c9`](https://github.com/inspect-js/has-symbols/commit/ce396c9419ff11c43d0da5d05cdbb79f7fb42229)
56
+ - [Tests] up to `node` `v12.4`, `v11.15`, `v10.15`, `v9.11`, `v8.15`, `v7.10`, `v6.17`, `v4.9`; use `nvm install-latest-npm` [`0690732`](https://github.com/inspect-js/has-symbols/commit/0690732801f47ab429f39ba1962f522d5c462d6b)
57
+ - [meta] add `auto-changelog` [`2163d0b`](https://github.com/inspect-js/has-symbols/commit/2163d0b7f36343076b8f947cd1667dd1750f26fc)
58
+ - [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `core-js`, `safe-publish-latest`, `tape` [`8e0951f`](https://github.com/inspect-js/has-symbols/commit/8e0951f1a7a2e52068222b7bb73511761e6e4d9c)
59
+ - [actions] add automatic rebasing / merge commit blocking [`b09cdb7`](https://github.com/inspect-js/has-symbols/commit/b09cdb7cd7ee39e7a769878f56e2d6066f5ccd1d)
60
+ - [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `safe-publish-latest`, `core-js`, `get-own-property-symbols`, `tape` [`1dd42cd`](https://github.com/inspect-js/has-symbols/commit/1dd42cd86183ed0c50f99b1062345c458babca91)
61
+ - [meta] create FUNDING.yml [`aa57a17`](https://github.com/inspect-js/has-symbols/commit/aa57a17b19708906d1927f821ea8e73394d84ca4)
62
+ - Only apps should have lockfiles [`a2d8bea`](https://github.com/inspect-js/has-symbols/commit/a2d8bea23a97d15c09eaf60f5b107fcf9a4d57aa)
63
+ - [Tests] use `npx aud` instead of `nsp` or `npm audit` with hoops [`9e96cb7`](https://github.com/inspect-js/has-symbols/commit/9e96cb783746cbed0c10ef78e599a8eaa7ebe193)
64
+ - [meta] add `funding` field [`a0b32cf`](https://github.com/inspect-js/has-symbols/commit/a0b32cf68e803f963c1639b6d47b0a9d6440bab0)
65
+ - [Dev Deps] update `safe-publish-latest` [`cb9f0a5`](https://github.com/inspect-js/has-symbols/commit/cb9f0a521a3a1790f1064d437edd33bb6c3d6af0)
66
+
67
+ ## v1.0.0 - 2016-09-19
68
+
69
+ ### Commits
70
+
71
+ - Tests. [`ecb6eb9`](https://github.com/inspect-js/has-symbols/commit/ecb6eb934e4883137f3f93b965ba5e0a98df430d)
72
+ - package.json [`88a337c`](https://github.com/inspect-js/has-symbols/commit/88a337cee0864a0da35f5d19e69ff0ef0150e46a)
73
+ - Initial commit [`42e1e55`](https://github.com/inspect-js/has-symbols/commit/42e1e5502536a2b8ac529c9443984acd14836b1c)
74
+ - Initial implementation. [`33f5cc6`](https://github.com/inspect-js/has-symbols/commit/33f5cc6cdff86e2194b081ee842bfdc63caf43fb)
75
+ - read me [`01f1170`](https://github.com/inspect-js/has-symbols/commit/01f1170188ff7cb1558aa297f6ba5b516c6d7b0c)
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2016 Jordan Harband
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,46 @@
1
+ # has-symbols <sup>[![Version Badge][2]][1]</sup>
2
+
3
+ [![github actions][actions-image]][actions-url]
4
+ [![coverage][codecov-image]][codecov-url]
5
+ [![dependency status][5]][6]
6
+ [![dev dependency status][7]][8]
7
+ [![License][license-image]][license-url]
8
+ [![Downloads][downloads-image]][downloads-url]
9
+
10
+ [![npm badge][11]][1]
11
+
12
+ Determine if the JS environment has Symbol support. Supports spec, or shams.
13
+
14
+ ## Example
15
+
16
+ ```js
17
+ var hasSymbols = require('has-symbols');
18
+
19
+ hasSymbols() === true; // if the environment has native Symbol support. Not polyfillable, not forgeable.
20
+
21
+ var hasSymbolsKinda = require('has-symbols/shams');
22
+ hasSymbolsKinda() === true; // if the environment has a Symbol sham that mostly follows the spec.
23
+ ```
24
+
25
+ ## Supported Symbol shams
26
+ - get-own-property-symbols [npm](https://www.npmjs.com/package/get-own-property-symbols) | [github](https://github.com/WebReflection/get-own-property-symbols)
27
+ - core-js [npm](https://www.npmjs.com/package/core-js) | [github](https://github.com/zloirock/core-js)
28
+
29
+ ## Tests
30
+ Simply clone the repo, `npm install`, and run `npm test`
31
+
32
+ [1]: https://npmjs.org/package/has-symbols
33
+ [2]: https://versionbadg.es/inspect-js/has-symbols.svg
34
+ [5]: https://david-dm.org/inspect-js/has-symbols.svg
35
+ [6]: https://david-dm.org/inspect-js/has-symbols
36
+ [7]: https://david-dm.org/inspect-js/has-symbols/dev-status.svg
37
+ [8]: https://david-dm.org/inspect-js/has-symbols#info=devDependencies
38
+ [11]: https://nodei.co/npm/has-symbols.png?downloads=true&stars=true
39
+ [license-image]: https://img.shields.io/npm/l/has-symbols.svg
40
+ [license-url]: LICENSE
41
+ [downloads-image]: https://img.shields.io/npm/dm/has-symbols.svg
42
+ [downloads-url]: https://npm-stat.com/charts.html?package=has-symbols
43
+ [codecov-image]: https://codecov.io/gh/inspect-js/has-symbols/branch/main/graphs/badge.svg
44
+ [codecov-url]: https://app.codecov.io/gh/inspect-js/has-symbols/
45
+ [actions-image]: https://img.shields.io/endpoint?url=https://github-actions-badge-u3jn4tfpocch.runkit.sh/inspect-js/has-symbols
46
+ [actions-url]: https://github.com/inspect-js/has-symbols/actions
@@ -0,0 +1,13 @@
1
+ 'use strict';
2
+
3
+ var origSymbol = typeof Symbol !== 'undefined' && Symbol;
4
+ var hasSymbolSham = require('./shams');
5
+
6
+ module.exports = function hasNativeSymbols() {
7
+ if (typeof origSymbol !== 'function') { return false; }
8
+ if (typeof Symbol !== 'function') { return false; }
9
+ if (typeof origSymbol('foo') !== 'symbol') { return false; }
10
+ if (typeof Symbol('bar') !== 'symbol') { return false; }
11
+
12
+ return hasSymbolSham();
13
+ };