node-datachannel 0.4.2 → 0.5.0-dev

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 (409) hide show
  1. package/.github/workflows/build-linux.yml +29 -29
  2. package/.github/workflows/build-mac-m1.yml +5 -5
  3. package/.github/workflows/build-mac-x64.yml +5 -5
  4. package/.github/workflows/build-win.yml +11 -8
  5. package/.github/workflows/lint.yml +1 -1
  6. package/.github/workflows/npm-publish-manual.yml +1 -1
  7. package/{.prettierrc.js → .prettierrc.cjs} +1 -0
  8. package/BULDING.md +7 -3
  9. package/CMakeLists.txt +12 -22
  10. package/README.md +38 -33
  11. package/cmake/toolchain/arm64.cmake +1 -1
  12. package/examples/build/Dockerfile +30 -0
  13. package/examples/build/README.md +24 -0
  14. package/examples/client-server/README.md +22 -0
  15. package/examples/client-server/client-benchmark.js +11 -6
  16. package/examples/client-server/client-periodic.js +5 -6
  17. package/examples/client-server/client.js +4 -5
  18. package/examples/client-server/package-lock.json +311 -260
  19. package/examples/client-server/package.json +15 -14
  20. package/examples/client-server/signaling-server.js +1 -2
  21. package/examples/electron-demo/README.md +58 -0
  22. package/examples/electron-demo/forge.config.js +49 -0
  23. package/examples/electron-demo/package-lock.json +16287 -0
  24. package/examples/electron-demo/package.json +43 -0
  25. package/examples/electron-demo/src/index.css +7 -0
  26. package/examples/electron-demo/src/index.html +29 -0
  27. package/examples/electron-demo/src/main.js +53 -0
  28. package/examples/electron-demo/src/node-datachannel.js +123 -0
  29. package/examples/electron-demo/src/preload.js +28 -0
  30. package/examples/electron-demo/src/renderer.js +58 -0
  31. package/examples/electron-demo/webpack.main.config.js +11 -0
  32. package/examples/electron-demo/webpack.renderer.config.js +13 -0
  33. package/examples/electron-demo/webpack.rules.js +35 -0
  34. package/examples/media/README.md +3 -3
  35. package/examples/media/media.js +3 -4
  36. package/examples/simple-peer-usage/main.js +28 -0
  37. package/examples/simple-peer-usage/package-lock.json +317 -0
  38. package/examples/simple-peer-usage/package.json +16 -0
  39. package/lib/datachannel-stream.js +3 -4
  40. package/lib/index.d.ts +8 -4
  41. package/lib/index.js +6 -3
  42. package/node_modules/base64-js/package.json +19 -50
  43. package/node_modules/buffer/package.json +20 -54
  44. package/node_modules/chownr/package.json +16 -53
  45. package/node_modules/decompress-response/package.json +54 -89
  46. package/node_modules/deep-extend/package.json +32 -65
  47. package/node_modules/detect-libc/README.md +4 -1
  48. package/node_modules/detect-libc/index.d.ts +3 -0
  49. package/node_modules/detect-libc/lib/detect-libc.js +105 -4
  50. package/node_modules/detect-libc/lib/filesystem.js +41 -0
  51. package/node_modules/detect-libc/lib/process.js +3 -0
  52. package/node_modules/detect-libc/package.json +25 -60
  53. package/node_modules/end-of-stream/package.json +17 -49
  54. package/node_modules/expand-template/package.json +17 -51
  55. package/node_modules/fs-constants/package.json +11 -42
  56. package/node_modules/github-from-package/package.json +28 -60
  57. package/node_modules/ieee754/package.json +19 -54
  58. package/node_modules/inherits/package.json +12 -61
  59. package/node_modules/ini/package.json +19 -55
  60. package/node_modules/mimic-response/package.json +40 -75
  61. package/node_modules/minimist/.eslintrc +29 -0
  62. package/node_modules/minimist/.github/FUNDING.yml +12 -0
  63. package/node_modules/minimist/.nycrc +14 -0
  64. package/node_modules/minimist/CHANGELOG.md +298 -0
  65. package/node_modules/minimist/{readme.markdown → README.md} +34 -11
  66. package/node_modules/minimist/example/parse.js +2 -0
  67. package/node_modules/minimist/index.js +256 -242
  68. package/node_modules/minimist/package.json +73 -77
  69. package/node_modules/minimist/test/all_bool.js +26 -24
  70. package/node_modules/minimist/test/bool.js +146 -147
  71. package/node_modules/minimist/test/dash.js +33 -21
  72. package/node_modules/minimist/test/default_bool.js +26 -24
  73. package/node_modules/minimist/test/dotted.js +13 -11
  74. package/node_modules/minimist/test/kv_short.js +26 -10
  75. package/node_modules/minimist/test/long.js +28 -26
  76. package/node_modules/minimist/test/num.js +30 -28
  77. package/node_modules/minimist/test/parse.js +169 -157
  78. package/node_modules/minimist/test/parse_modified.js +7 -5
  79. package/node_modules/minimist/test/proto.js +41 -37
  80. package/node_modules/minimist/test/short.js +57 -55
  81. package/node_modules/minimist/test/stop_early.js +10 -8
  82. package/node_modules/minimist/test/unknown.js +83 -81
  83. package/node_modules/minimist/test/whitespace.js +6 -4
  84. package/node_modules/mkdirp-classic/package.json +11 -43
  85. package/node_modules/napi-build-utils/package.json +26 -57
  86. package/node_modules/node-abi/README.md +5 -3
  87. package/node_modules/node-abi/abi_registry.json +98 -8
  88. package/node_modules/node-abi/package.json +26 -57
  89. package/node_modules/once/package.json +14 -55
  90. package/node_modules/prebuild-install/CHANGELOG.md +18 -0
  91. package/node_modules/prebuild-install/README.md +6 -2
  92. package/node_modules/prebuild-install/log.js +26 -18
  93. package/node_modules/prebuild-install/package.json +36 -98
  94. package/node_modules/prebuild-install/rc.js +5 -1
  95. package/node_modules/prebuild-install/util.js +1 -1
  96. package/node_modules/pump/package.json +10 -49
  97. package/node_modules/rc/node_modules/strip-json-comments/package.json +42 -0
  98. package/node_modules/rc/package.json +18 -59
  99. package/node_modules/safe-buffer/index.js +3 -0
  100. package/node_modules/safe-buffer/package.json +20 -39
  101. package/node_modules/{node-abi/node_modules/semver → semver}/README.md +70 -1
  102. package/node_modules/{node-abi/node_modules/semver → semver}/bin/semver.js +16 -2
  103. package/node_modules/{node-abi/node_modules/semver → semver}/classes/comparator.js +39 -34
  104. package/node_modules/{node-abi/node_modules/semver → semver}/classes/range.js +48 -28
  105. package/node_modules/{node-abi/node_modules/semver → semver}/classes/semver.js +32 -17
  106. package/node_modules/{node-abi/node_modules/semver → semver}/functions/coerce.js +1 -1
  107. package/node_modules/semver/functions/diff.js +65 -0
  108. package/node_modules/{node-abi/node_modules/semver → semver}/functions/inc.js +3 -2
  109. package/node_modules/semver/functions/parse.js +16 -0
  110. package/node_modules/semver/index.js +89 -0
  111. package/node_modules/{node-abi/node_modules/semver → semver}/internal/constants.js +20 -2
  112. package/node_modules/semver/internal/parse-options.js +15 -0
  113. package/node_modules/{node-abi/node_modules/semver → semver}/internal/re.js +34 -4
  114. package/node_modules/semver/node_modules/lru-cache/package.json +34 -0
  115. package/node_modules/semver/node_modules/yallist/package.json +29 -0
  116. package/node_modules/semver/package.json +87 -0
  117. package/node_modules/{node-abi/node_modules/semver → semver}/ranges/intersects.js +1 -1
  118. package/node_modules/{node-abi/node_modules/semver → semver}/ranges/subset.js +6 -3
  119. package/node_modules/simple-concat/package.json +17 -45
  120. package/node_modules/simple-get/package.json +17 -45
  121. package/node_modules/{tar-stream → tar-fs}/node_modules/bl/package.json +20 -51
  122. package/node_modules/{tar-stream → tar-fs}/node_modules/readable-stream/README.md +1 -1
  123. package/node_modules/{tar-stream → tar-fs}/node_modules/readable-stream/lib/_stream_duplex.js +12 -25
  124. package/node_modules/{tar-stream → tar-fs}/node_modules/readable-stream/lib/_stream_passthrough.js +2 -4
  125. package/node_modules/{tar-stream → tar-fs}/node_modules/readable-stream/lib/_stream_readable.js +176 -273
  126. package/node_modules/{tar-stream → tar-fs}/node_modules/readable-stream/lib/_stream_transform.js +26 -37
  127. package/node_modules/{tar-stream → tar-fs}/node_modules/readable-stream/lib/_stream_writable.js +118 -174
  128. package/node_modules/{tar-stream → tar-fs}/node_modules/readable-stream/lib/internal/streams/async_iterator.js +10 -37
  129. package/node_modules/{tar-stream → tar-fs}/node_modules/readable-stream/lib/internal/streams/buffer_list.js +20 -47
  130. package/node_modules/{tar-stream → tar-fs}/node_modules/readable-stream/lib/internal/streams/destroy.js +8 -17
  131. package/node_modules/{tar-stream → tar-fs}/node_modules/readable-stream/lib/internal/streams/end-of-stream.js +1 -19
  132. package/node_modules/{tar-stream → tar-fs}/node_modules/readable-stream/lib/internal/streams/from.js +12 -24
  133. package/node_modules/{tar-stream → tar-fs}/node_modules/readable-stream/lib/internal/streams/pipeline.js +5 -16
  134. package/node_modules/{tar-stream → tar-fs}/node_modules/readable-stream/lib/internal/streams/state.js +2 -7
  135. package/node_modules/{tar-stream → tar-fs}/node_modules/readable-stream/package.json +27 -60
  136. package/node_modules/tar-fs/node_modules/string_decoder/package.json +34 -0
  137. package/node_modules/{tar-stream → tar-fs/node_modules/tar-stream}/extract.js +1 -1
  138. package/node_modules/{tar-stream → tar-fs/node_modules/tar-stream}/headers.js +4 -2
  139. package/node_modules/{tar-stream → tar-fs/node_modules/tar-stream}/package.json +22 -59
  140. package/node_modules/tar-fs/package.json +21 -51
  141. package/node_modules/tunnel-agent/package.json +12 -49
  142. package/node_modules/util-deprecate/package.json +14 -49
  143. package/node_modules/wrappy/package.json +16 -49
  144. package/package.json +85 -68
  145. package/polyfill/Events.d.ts +9 -0
  146. package/polyfill/Events.js +27 -0
  147. package/polyfill/README.md +41 -0
  148. package/polyfill/RTCCertificate.d.ts +7 -0
  149. package/polyfill/RTCCertificate.js +17 -0
  150. package/polyfill/RTCDataChannel.d.ts +35 -0
  151. package/polyfill/RTCDataChannel.js +175 -0
  152. package/polyfill/RTCDtlsTransport.d.ts +10 -0
  153. package/polyfill/RTCDtlsTransport.js +29 -0
  154. package/polyfill/RTCIceCandidate.d.ts +20 -0
  155. package/polyfill/RTCIceCandidate.js +126 -0
  156. package/polyfill/RTCIceTransport.d.ts +18 -0
  157. package/polyfill/RTCIceTransport.js +55 -0
  158. package/polyfill/RTCPeerConnection.d.ts +50 -0
  159. package/polyfill/RTCPeerConnection.js +348 -0
  160. package/polyfill/RTCSctpTransport.d.ts +10 -0
  161. package/polyfill/RTCSctpTransport.js +34 -0
  162. package/polyfill/RTCSessionDescription.d.ts +7 -0
  163. package/polyfill/RTCSessionDescription.js +37 -0
  164. package/polyfill/index.d.ts +14 -0
  165. package/polyfill/index.js +14 -0
  166. package/src/data-channel-wrapper.cpp +47 -6
  167. package/src/main.cpp +5 -5
  168. package/src/peer-connection-wrapper.cpp +145 -9
  169. package/src/peer-connection-wrapper.h +4 -0
  170. package/src/rtc-wrapper.cpp +14 -9
  171. package/src/thread-safe-callback.cpp +4 -10
  172. package/src/thread-safe-callback.h +3 -12
  173. package/test/connectivity.js +9 -4
  174. package/test/polyfill-connectivity.js +89 -0
  175. package/test/test.js +3 -3
  176. package/test/wpt.js +50 -0
  177. package/.github/workflows/build-linux-arm64-test.yml +0 -36
  178. package/examples/README.md +0 -21
  179. package/node_modules/ansi-regex/index.js +0 -4
  180. package/node_modules/ansi-regex/package.json +0 -111
  181. package/node_modules/ansi-regex/readme.md +0 -39
  182. package/node_modules/aproba/LICENSE +0 -14
  183. package/node_modules/aproba/README.md +0 -94
  184. package/node_modules/aproba/index.js +0 -105
  185. package/node_modules/aproba/package.json +0 -65
  186. package/node_modules/code-point-at/index.js +0 -32
  187. package/node_modules/code-point-at/license +0 -21
  188. package/node_modules/code-point-at/package.json +0 -73
  189. package/node_modules/code-point-at/readme.md +0 -32
  190. package/node_modules/console-control-strings/LICENSE +0 -13
  191. package/node_modules/console-control-strings/README.md +0 -145
  192. package/node_modules/console-control-strings/README.md~ +0 -140
  193. package/node_modules/console-control-strings/index.js +0 -125
  194. package/node_modules/console-control-strings/package.json +0 -64
  195. package/node_modules/core-util-is/LICENSE +0 -19
  196. package/node_modules/core-util-is/README.md +0 -3
  197. package/node_modules/core-util-is/float.patch +0 -604
  198. package/node_modules/core-util-is/lib/util.js +0 -107
  199. package/node_modules/core-util-is/package.json +0 -70
  200. package/node_modules/core-util-is/test.js +0 -68
  201. package/node_modules/delegates/.npmignore +0 -1
  202. package/node_modules/delegates/History.md +0 -22
  203. package/node_modules/delegates/License +0 -20
  204. package/node_modules/delegates/Makefile +0 -8
  205. package/node_modules/delegates/Readme.md +0 -94
  206. package/node_modules/delegates/index.js +0 -121
  207. package/node_modules/delegates/package.json +0 -53
  208. package/node_modules/delegates/test/index.js +0 -94
  209. package/node_modules/has-unicode/LICENSE +0 -14
  210. package/node_modules/has-unicode/README.md +0 -43
  211. package/node_modules/has-unicode/index.js +0 -16
  212. package/node_modules/has-unicode/package.json +0 -62
  213. package/node_modules/is-fullwidth-code-point/index.js +0 -46
  214. package/node_modules/is-fullwidth-code-point/license +0 -21
  215. package/node_modules/is-fullwidth-code-point/package.json +0 -80
  216. package/node_modules/is-fullwidth-code-point/readme.md +0 -39
  217. package/node_modules/isarray/.npmignore +0 -1
  218. package/node_modules/isarray/.travis.yml +0 -4
  219. package/node_modules/isarray/Makefile +0 -6
  220. package/node_modules/isarray/README.md +0 -60
  221. package/node_modules/isarray/component.json +0 -19
  222. package/node_modules/isarray/index.js +0 -5
  223. package/node_modules/isarray/package.json +0 -77
  224. package/node_modules/isarray/test.js +0 -20
  225. package/node_modules/lru-cache/node_modules/yallist/package.json +0 -65
  226. package/node_modules/lru-cache/package.json +0 -73
  227. package/node_modules/minimist/.travis.yml +0 -8
  228. package/node_modules/node-abi/.circleci/config.yml +0 -63
  229. package/node_modules/node-abi/.github/workflows/update-abi.yml +0 -41
  230. package/node_modules/node-abi/.releaserc.json +0 -9
  231. package/node_modules/node-abi/CODE_OF_CONDUCT.md +0 -73
  232. package/node_modules/node-abi/CONTRIBUTING.md +0 -53
  233. package/node_modules/node-abi/node_modules/semver/functions/diff.js +0 -23
  234. package/node_modules/node-abi/node_modules/semver/functions/parse.js +0 -33
  235. package/node_modules/node-abi/node_modules/semver/index.js +0 -48
  236. package/node_modules/node-abi/node_modules/semver/internal/parse-options.js +0 -11
  237. package/node_modules/node-abi/node_modules/semver/package.json +0 -109
  238. package/node_modules/node-abi/scripts/update-abi-registry.js +0 -119
  239. package/node_modules/node-abi/test/index.js +0 -166
  240. package/node_modules/npmlog/CHANGELOG.md +0 -49
  241. package/node_modules/npmlog/LICENSE +0 -15
  242. package/node_modules/npmlog/README.md +0 -216
  243. package/node_modules/npmlog/log.js +0 -309
  244. package/node_modules/npmlog/node_modules/are-we-there-yet/CHANGES.md +0 -37
  245. package/node_modules/npmlog/node_modules/are-we-there-yet/LICENSE +0 -5
  246. package/node_modules/npmlog/node_modules/are-we-there-yet/README.md +0 -195
  247. package/node_modules/npmlog/node_modules/are-we-there-yet/index.js +0 -4
  248. package/node_modules/npmlog/node_modules/are-we-there-yet/package.json +0 -66
  249. package/node_modules/npmlog/node_modules/are-we-there-yet/tracker-base.js +0 -11
  250. package/node_modules/npmlog/node_modules/are-we-there-yet/tracker-group.js +0 -107
  251. package/node_modules/npmlog/node_modules/are-we-there-yet/tracker-stream.js +0 -36
  252. package/node_modules/npmlog/node_modules/are-we-there-yet/tracker.js +0 -30
  253. package/node_modules/npmlog/node_modules/gauge/CHANGELOG.md +0 -160
  254. package/node_modules/npmlog/node_modules/gauge/LICENSE +0 -13
  255. package/node_modules/npmlog/node_modules/gauge/README.md +0 -399
  256. package/node_modules/npmlog/node_modules/gauge/base-theme.js +0 -14
  257. package/node_modules/npmlog/node_modules/gauge/error.js +0 -24
  258. package/node_modules/npmlog/node_modules/gauge/has-color.js +0 -12
  259. package/node_modules/npmlog/node_modules/gauge/index.js +0 -233
  260. package/node_modules/npmlog/node_modules/gauge/package.json +0 -94
  261. package/node_modules/npmlog/node_modules/gauge/plumbing.js +0 -48
  262. package/node_modules/npmlog/node_modules/gauge/process.js +0 -3
  263. package/node_modules/npmlog/node_modules/gauge/progress-bar.js +0 -35
  264. package/node_modules/npmlog/node_modules/gauge/render-template.js +0 -181
  265. package/node_modules/npmlog/node_modules/gauge/set-immediate.js +0 -7
  266. package/node_modules/npmlog/node_modules/gauge/set-interval.js +0 -3
  267. package/node_modules/npmlog/node_modules/gauge/spin.js +0 -5
  268. package/node_modules/npmlog/node_modules/gauge/template-item.js +0 -73
  269. package/node_modules/npmlog/node_modules/gauge/theme-set.js +0 -115
  270. package/node_modules/npmlog/node_modules/gauge/themes.js +0 -54
  271. package/node_modules/npmlog/node_modules/gauge/wide-truncate.js +0 -25
  272. package/node_modules/npmlog/package.json +0 -78
  273. package/node_modules/number-is-nan/index.js +0 -4
  274. package/node_modules/number-is-nan/license +0 -21
  275. package/node_modules/number-is-nan/package.json +0 -70
  276. package/node_modules/number-is-nan/readme.md +0 -28
  277. package/node_modules/object-assign/index.js +0 -90
  278. package/node_modules/object-assign/license +0 -21
  279. package/node_modules/object-assign/package.json +0 -77
  280. package/node_modules/object-assign/readme.md +0 -61
  281. package/node_modules/process-nextick-args/index.js +0 -45
  282. package/node_modules/process-nextick-args/license.md +0 -19
  283. package/node_modules/process-nextick-args/package.json +0 -53
  284. package/node_modules/process-nextick-args/readme.md +0 -18
  285. package/node_modules/readable-stream/.travis.yml +0 -34
  286. package/node_modules/readable-stream/README.md +0 -58
  287. package/node_modules/readable-stream/doc/wg-meetings/2015-01-30.md +0 -60
  288. package/node_modules/readable-stream/duplex-browser.js +0 -1
  289. package/node_modules/readable-stream/duplex.js +0 -1
  290. package/node_modules/readable-stream/lib/_stream_duplex.js +0 -131
  291. package/node_modules/readable-stream/lib/_stream_passthrough.js +0 -47
  292. package/node_modules/readable-stream/lib/_stream_readable.js +0 -1019
  293. package/node_modules/readable-stream/lib/_stream_transform.js +0 -214
  294. package/node_modules/readable-stream/lib/_stream_writable.js +0 -687
  295. package/node_modules/readable-stream/lib/internal/streams/BufferList.js +0 -79
  296. package/node_modules/readable-stream/lib/internal/streams/destroy.js +0 -74
  297. package/node_modules/readable-stream/package.json +0 -87
  298. package/node_modules/readable-stream/passthrough.js +0 -1
  299. package/node_modules/readable-stream/readable-browser.js +0 -7
  300. package/node_modules/readable-stream/readable.js +0 -19
  301. package/node_modules/readable-stream/transform.js +0 -1
  302. package/node_modules/readable-stream/writable-browser.js +0 -1
  303. package/node_modules/readable-stream/writable.js +0 -8
  304. package/node_modules/set-blocking/CHANGELOG.md +0 -26
  305. package/node_modules/set-blocking/LICENSE.txt +0 -14
  306. package/node_modules/set-blocking/README.md +0 -31
  307. package/node_modules/set-blocking/index.js +0 -7
  308. package/node_modules/set-blocking/package.json +0 -73
  309. package/node_modules/signal-exit/CHANGELOG.md +0 -35
  310. package/node_modules/signal-exit/LICENSE.txt +0 -16
  311. package/node_modules/signal-exit/README.md +0 -39
  312. package/node_modules/signal-exit/index.js +0 -163
  313. package/node_modules/signal-exit/package.json +0 -71
  314. package/node_modules/signal-exit/signals.js +0 -53
  315. package/node_modules/string-width/index.js +0 -37
  316. package/node_modules/string-width/license +0 -21
  317. package/node_modules/string-width/package.json +0 -95
  318. package/node_modules/string-width/readme.md +0 -42
  319. package/node_modules/string_decoder/.travis.yml +0 -50
  320. package/node_modules/string_decoder/package.json +0 -64
  321. package/node_modules/strip-ansi/index.js +0 -6
  322. package/node_modules/strip-ansi/license +0 -21
  323. package/node_modules/strip-ansi/package.json +0 -107
  324. package/node_modules/strip-ansi/readme.md +0 -33
  325. package/node_modules/strip-json-comments/license +0 -21
  326. package/node_modules/strip-json-comments/package.json +0 -77
  327. package/node_modules/tar-stream/node_modules/readable-stream/CONTRIBUTING.md +0 -38
  328. package/node_modules/tar-stream/node_modules/readable-stream/GOVERNANCE.md +0 -136
  329. package/node_modules/tar-stream/node_modules/readable-stream/LICENSE +0 -47
  330. package/node_modules/tar-stream/node_modules/readable-stream/lib/internal/streams/stream-browser.js +0 -1
  331. package/node_modules/tar-stream/node_modules/readable-stream/lib/internal/streams/stream.js +0 -1
  332. package/node_modules/wide-align/LICENSE +0 -14
  333. package/node_modules/wide-align/README.md +0 -47
  334. package/node_modules/wide-align/align.js +0 -65
  335. package/node_modules/wide-align/package.json +0 -69
  336. /package/{.eslintrc.js → .eslintrc.cjs} +0 -0
  337. /package/node_modules/{strip-json-comments → rc/node_modules/strip-json-comments}/index.js +0 -0
  338. /package/node_modules/{ansi-regex → rc/node_modules/strip-json-comments}/license +0 -0
  339. /package/node_modules/{strip-json-comments → rc/node_modules/strip-json-comments}/readme.md +0 -0
  340. /package/node_modules/{lru-cache → semver}/LICENSE +0 -0
  341. /package/node_modules/{node-abi/node_modules/semver → semver}/classes/index.js +0 -0
  342. /package/node_modules/{node-abi/node_modules/semver → semver}/functions/clean.js +0 -0
  343. /package/node_modules/{node-abi/node_modules/semver → semver}/functions/cmp.js +0 -0
  344. /package/node_modules/{node-abi/node_modules/semver → semver}/functions/compare-build.js +0 -0
  345. /package/node_modules/{node-abi/node_modules/semver → semver}/functions/compare-loose.js +0 -0
  346. /package/node_modules/{node-abi/node_modules/semver → semver}/functions/compare.js +0 -0
  347. /package/node_modules/{node-abi/node_modules/semver → semver}/functions/eq.js +0 -0
  348. /package/node_modules/{node-abi/node_modules/semver → semver}/functions/gt.js +0 -0
  349. /package/node_modules/{node-abi/node_modules/semver → semver}/functions/gte.js +0 -0
  350. /package/node_modules/{node-abi/node_modules/semver → semver}/functions/lt.js +0 -0
  351. /package/node_modules/{node-abi/node_modules/semver → semver}/functions/lte.js +0 -0
  352. /package/node_modules/{node-abi/node_modules/semver → semver}/functions/major.js +0 -0
  353. /package/node_modules/{node-abi/node_modules/semver → semver}/functions/minor.js +0 -0
  354. /package/node_modules/{node-abi/node_modules/semver → semver}/functions/neq.js +0 -0
  355. /package/node_modules/{node-abi/node_modules/semver → semver}/functions/patch.js +0 -0
  356. /package/node_modules/{node-abi/node_modules/semver → semver}/functions/prerelease.js +0 -0
  357. /package/node_modules/{node-abi/node_modules/semver → semver}/functions/rcompare.js +0 -0
  358. /package/node_modules/{node-abi/node_modules/semver → semver}/functions/rsort.js +0 -0
  359. /package/node_modules/{node-abi/node_modules/semver → semver}/functions/satisfies.js +0 -0
  360. /package/node_modules/{node-abi/node_modules/semver → semver}/functions/sort.js +0 -0
  361. /package/node_modules/{node-abi/node_modules/semver → semver}/functions/valid.js +0 -0
  362. /package/node_modules/{node-abi/node_modules/semver → semver}/internal/debug.js +0 -0
  363. /package/node_modules/{node-abi/node_modules/semver → semver}/internal/identifiers.js +0 -0
  364. /package/node_modules/{lru-cache/node_modules/yallist → semver/node_modules/lru-cache}/LICENSE +0 -0
  365. /package/node_modules/{lru-cache → semver/node_modules/lru-cache}/README.md +0 -0
  366. /package/node_modules/{lru-cache → semver/node_modules/lru-cache}/index.js +0 -0
  367. /package/node_modules/{node-abi/node_modules/semver → semver/node_modules/yallist}/LICENSE +0 -0
  368. /package/node_modules/{lru-cache → semver}/node_modules/yallist/README.md +0 -0
  369. /package/node_modules/{lru-cache → semver}/node_modules/yallist/iterator.js +0 -0
  370. /package/node_modules/{lru-cache → semver}/node_modules/yallist/yallist.js +0 -0
  371. /package/node_modules/{node-abi/node_modules/semver → semver}/preload.js +0 -0
  372. /package/node_modules/{node-abi/node_modules/semver → semver}/range.bnf +0 -0
  373. /package/node_modules/{node-abi/node_modules/semver → semver}/ranges/gtr.js +0 -0
  374. /package/node_modules/{node-abi/node_modules/semver → semver}/ranges/ltr.js +0 -0
  375. /package/node_modules/{node-abi/node_modules/semver → semver}/ranges/max-satisfying.js +0 -0
  376. /package/node_modules/{node-abi/node_modules/semver → semver}/ranges/min-satisfying.js +0 -0
  377. /package/node_modules/{node-abi/node_modules/semver → semver}/ranges/min-version.js +0 -0
  378. /package/node_modules/{node-abi/node_modules/semver → semver}/ranges/outside.js +0 -0
  379. /package/node_modules/{node-abi/node_modules/semver → semver}/ranges/simplify.js +0 -0
  380. /package/node_modules/{node-abi/node_modules/semver → semver}/ranges/to-comparators.js +0 -0
  381. /package/node_modules/{node-abi/node_modules/semver → semver}/ranges/valid.js +0 -0
  382. /package/node_modules/{tar-stream → tar-fs}/node_modules/bl/.travis.yml +0 -0
  383. /package/node_modules/{tar-stream → tar-fs}/node_modules/bl/BufferList.js +0 -0
  384. /package/node_modules/{tar-stream → tar-fs}/node_modules/bl/LICENSE.md +0 -0
  385. /package/node_modules/{tar-stream → tar-fs}/node_modules/bl/README.md +0 -0
  386. /package/node_modules/{tar-stream → tar-fs}/node_modules/bl/bl.js +0 -0
  387. /package/node_modules/{tar-stream → tar-fs}/node_modules/bl/test/convert.js +0 -0
  388. /package/node_modules/{tar-stream → tar-fs}/node_modules/bl/test/indexOf.js +0 -0
  389. /package/node_modules/{tar-stream → tar-fs}/node_modules/bl/test/isBufferList.js +0 -0
  390. /package/node_modules/{tar-stream → tar-fs}/node_modules/bl/test/test.js +0 -0
  391. /package/node_modules/{readable-stream → tar-fs/node_modules/readable-stream}/CONTRIBUTING.md +0 -0
  392. /package/node_modules/{readable-stream → tar-fs/node_modules/readable-stream}/GOVERNANCE.md +0 -0
  393. /package/node_modules/{readable-stream → tar-fs/node_modules/readable-stream}/LICENSE +0 -0
  394. /package/node_modules/{tar-stream → tar-fs}/node_modules/readable-stream/errors-browser.js +0 -0
  395. /package/node_modules/{tar-stream → tar-fs}/node_modules/readable-stream/errors.js +0 -0
  396. /package/node_modules/{tar-stream → tar-fs}/node_modules/readable-stream/experimentalWarning.js +0 -0
  397. /package/node_modules/{tar-stream → tar-fs}/node_modules/readable-stream/lib/internal/streams/from-browser.js +0 -0
  398. /package/node_modules/{readable-stream → tar-fs/node_modules/readable-stream}/lib/internal/streams/stream-browser.js +0 -0
  399. /package/node_modules/{readable-stream → tar-fs/node_modules/readable-stream}/lib/internal/streams/stream.js +0 -0
  400. /package/node_modules/{tar-stream → tar-fs}/node_modules/readable-stream/readable-browser.js +0 -0
  401. /package/node_modules/{tar-stream → tar-fs}/node_modules/readable-stream/readable.js +0 -0
  402. /package/node_modules/{string_decoder → tar-fs/node_modules/string_decoder}/LICENSE +0 -0
  403. /package/node_modules/{string_decoder → tar-fs/node_modules/string_decoder}/README.md +0 -0
  404. /package/node_modules/{string_decoder → tar-fs/node_modules/string_decoder}/lib/string_decoder.js +0 -0
  405. /package/node_modules/{tar-stream → tar-fs/node_modules/tar-stream}/LICENSE +0 -0
  406. /package/node_modules/{tar-stream → tar-fs/node_modules/tar-stream}/README.md +0 -0
  407. /package/node_modules/{tar-stream → tar-fs/node_modules/tar-stream}/index.js +0 -0
  408. /package/node_modules/{tar-stream → tar-fs/node_modules/tar-stream}/pack.js +0 -0
  409. /package/node_modules/{tar-stream → tar-fs/node_modules/tar-stream}/sandbox.js +0 -0
@@ -1,43 +0,0 @@
1
- has-unicode
2
- ===========
3
-
4
- Try to guess if your terminal supports unicode
5
-
6
- ```javascript
7
- var hasUnicode = require("has-unicode")
8
-
9
- if (hasUnicode()) {
10
- // the terminal probably has unicode support
11
- }
12
- ```
13
- ```javascript
14
- var hasUnicode = require("has-unicode").tryHarder
15
- hasUnicode(function(unicodeSupported) {
16
- if (unicodeSupported) {
17
- // the terminal probably has unicode support
18
- }
19
- })
20
- ```
21
-
22
- ## Detecting Unicode
23
-
24
- What we actually detect is UTF-8 support, as that's what Node itself supports.
25
- If you have a UTF-16 locale then you won't be detected as unicode capable.
26
-
27
- ### Windows
28
-
29
- Since at least Windows 7, `cmd` and `powershell` have been unicode capable,
30
- but unfortunately even then it's not guaranteed. In many localizations it
31
- still uses legacy code pages and there's no facility short of running
32
- programs or linking C++ that will let us detect this. As such, we
33
- report any Windows installation as NOT unicode capable, and recommend
34
- that you encourage your users to override this via config.
35
-
36
- ### Unix Like Operating Systems
37
-
38
- We look at the environment variables `LC_ALL`, `LC_CTYPE`, and `LANG` in
39
- that order. For `LC_ALL` and `LANG`, it looks for `.UTF-8` in the value.
40
- For `LC_CTYPE` it looks to see if the value is `UTF-8`. This is sufficient
41
- for most POSIX systems. While locale data can be put in `/etc/locale.conf`
42
- as well, AFAIK it's always copied into the environment.
43
-
@@ -1,16 +0,0 @@
1
- "use strict"
2
- var os = require("os")
3
-
4
- var hasUnicode = module.exports = function () {
5
- // Recent Win32 platforms (>XP) CAN support unicode in the console but
6
- // don't have to, and in non-english locales often use traditional local
7
- // code pages. There's no way, short of windows system calls or execing
8
- // the chcp command line program to figure this out. As such, we default
9
- // this to false and encourage your users to override it via config if
10
- // appropriate.
11
- if (os.type() == "Windows_NT") { return false }
12
-
13
- var isUTF8 = /UTF-?8$/i
14
- var ctype = process.env.LC_ALL || process.env.LC_CTYPE || process.env.LANG
15
- return isUTF8.test(ctype)
16
- }
@@ -1,62 +0,0 @@
1
- {
2
- "_args": [
3
- [
4
- "has-unicode@2.0.1",
5
- "/home/runner/work/node-datachannel/node-datachannel"
6
- ]
7
- ],
8
- "_from": "has-unicode@2.0.1",
9
- "_id": "has-unicode@2.0.1",
10
- "_inBundle": false,
11
- "_integrity": "sha1-4Ob+aijPUROIVeCG0Wkedx3iqLk=",
12
- "_location": "/has-unicode",
13
- "_phantomChildren": {},
14
- "_requested": {
15
- "type": "version",
16
- "registry": true,
17
- "raw": "has-unicode@2.0.1",
18
- "name": "has-unicode",
19
- "escapedName": "has-unicode",
20
- "rawSpec": "2.0.1",
21
- "saveSpec": null,
22
- "fetchSpec": "2.0.1"
23
- },
24
- "_requiredBy": [
25
- "/gauge",
26
- "/npmlog/gauge"
27
- ],
28
- "_resolved": "https://registry.npmjs.org/has-unicode/-/has-unicode-2.0.1.tgz",
29
- "_spec": "2.0.1",
30
- "_where": "/home/runner/work/node-datachannel/node-datachannel",
31
- "author": {
32
- "name": "Rebecca Turner",
33
- "email": "me@re-becca.org"
34
- },
35
- "bugs": {
36
- "url": "https://github.com/iarna/has-unicode/issues"
37
- },
38
- "description": "Try to guess if your terminal supports unicode",
39
- "devDependencies": {
40
- "require-inject": "^1.3.0",
41
- "tap": "^2.3.1"
42
- },
43
- "files": [
44
- "index.js"
45
- ],
46
- "homepage": "https://github.com/iarna/has-unicode",
47
- "keywords": [
48
- "unicode",
49
- "terminal"
50
- ],
51
- "license": "ISC",
52
- "main": "index.js",
53
- "name": "has-unicode",
54
- "repository": {
55
- "type": "git",
56
- "url": "git+https://github.com/iarna/has-unicode.git"
57
- },
58
- "scripts": {
59
- "test": "tap test/*.js"
60
- },
61
- "version": "2.0.1"
62
- }
@@ -1,46 +0,0 @@
1
- 'use strict';
2
- var numberIsNan = require('number-is-nan');
3
-
4
- module.exports = function (x) {
5
- if (numberIsNan(x)) {
6
- return false;
7
- }
8
-
9
- // https://github.com/nodejs/io.js/blob/cff7300a578be1b10001f2d967aaedc88aee6402/lib/readline.js#L1369
10
-
11
- // code points are derived from:
12
- // http://www.unix.org/Public/UNIDATA/EastAsianWidth.txt
13
- if (x >= 0x1100 && (
14
- x <= 0x115f || // Hangul Jamo
15
- 0x2329 === x || // LEFT-POINTING ANGLE BRACKET
16
- 0x232a === x || // RIGHT-POINTING ANGLE BRACKET
17
- // CJK Radicals Supplement .. Enclosed CJK Letters and Months
18
- (0x2e80 <= x && x <= 0x3247 && x !== 0x303f) ||
19
- // Enclosed CJK Letters and Months .. CJK Unified Ideographs Extension A
20
- 0x3250 <= x && x <= 0x4dbf ||
21
- // CJK Unified Ideographs .. Yi Radicals
22
- 0x4e00 <= x && x <= 0xa4c6 ||
23
- // Hangul Jamo Extended-A
24
- 0xa960 <= x && x <= 0xa97c ||
25
- // Hangul Syllables
26
- 0xac00 <= x && x <= 0xd7a3 ||
27
- // CJK Compatibility Ideographs
28
- 0xf900 <= x && x <= 0xfaff ||
29
- // Vertical Forms
30
- 0xfe10 <= x && x <= 0xfe19 ||
31
- // CJK Compatibility Forms .. Small Form Variants
32
- 0xfe30 <= x && x <= 0xfe6b ||
33
- // Halfwidth and Fullwidth Forms
34
- 0xff01 <= x && x <= 0xff60 ||
35
- 0xffe0 <= x && x <= 0xffe6 ||
36
- // Kana Supplement
37
- 0x1b000 <= x && x <= 0x1b001 ||
38
- // Enclosed Ideographic Supplement
39
- 0x1f200 <= x && x <= 0x1f251 ||
40
- // CJK Unified Ideographs Extension B .. Tertiary Ideographic Plane
41
- 0x20000 <= x && x <= 0x3fffd)) {
42
- return true;
43
- }
44
-
45
- return false;
46
- }
@@ -1,21 +0,0 @@
1
- The MIT License (MIT)
2
-
3
- Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)
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
13
- all 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
21
- THE SOFTWARE.
@@ -1,80 +0,0 @@
1
- {
2
- "_args": [
3
- [
4
- "is-fullwidth-code-point@1.0.0",
5
- "/home/runner/work/node-datachannel/node-datachannel"
6
- ]
7
- ],
8
- "_from": "is-fullwidth-code-point@1.0.0",
9
- "_id": "is-fullwidth-code-point@1.0.0",
10
- "_inBundle": false,
11
- "_integrity": "sha1-754xOG8DGn8NZDr4L95QxFfvAMs=",
12
- "_location": "/is-fullwidth-code-point",
13
- "_phantomChildren": {},
14
- "_requested": {
15
- "type": "version",
16
- "registry": true,
17
- "raw": "is-fullwidth-code-point@1.0.0",
18
- "name": "is-fullwidth-code-point",
19
- "escapedName": "is-fullwidth-code-point",
20
- "rawSpec": "1.0.0",
21
- "saveSpec": null,
22
- "fetchSpec": "1.0.0"
23
- },
24
- "_requiredBy": [
25
- "/string-width"
26
- ],
27
- "_resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz",
28
- "_spec": "1.0.0",
29
- "_where": "/home/runner/work/node-datachannel/node-datachannel",
30
- "author": {
31
- "name": "Sindre Sorhus",
32
- "email": "sindresorhus@gmail.com",
33
- "url": "sindresorhus.com"
34
- },
35
- "bugs": {
36
- "url": "https://github.com/sindresorhus/is-fullwidth-code-point/issues"
37
- },
38
- "dependencies": {
39
- "number-is-nan": "^1.0.0"
40
- },
41
- "description": "Check if the character represented by a given Unicode code point is fullwidth",
42
- "devDependencies": {
43
- "ava": "0.0.4",
44
- "code-point-at": "^1.0.0"
45
- },
46
- "engines": {
47
- "node": ">=0.10.0"
48
- },
49
- "files": [
50
- "index.js"
51
- ],
52
- "homepage": "https://github.com/sindresorhus/is-fullwidth-code-point#readme",
53
- "keywords": [
54
- "fullwidth",
55
- "full-width",
56
- "full",
57
- "width",
58
- "unicode",
59
- "character",
60
- "char",
61
- "string",
62
- "str",
63
- "codepoint",
64
- "code",
65
- "point",
66
- "is",
67
- "detect",
68
- "check"
69
- ],
70
- "license": "MIT",
71
- "name": "is-fullwidth-code-point",
72
- "repository": {
73
- "type": "git",
74
- "url": "git+https://github.com/sindresorhus/is-fullwidth-code-point.git"
75
- },
76
- "scripts": {
77
- "test": "node test.js"
78
- },
79
- "version": "1.0.0"
80
- }
@@ -1,39 +0,0 @@
1
- # is-fullwidth-code-point [![Build Status](https://travis-ci.org/sindresorhus/is-fullwidth-code-point.svg?branch=master)](https://travis-ci.org/sindresorhus/is-fullwidth-code-point)
2
-
3
- > Check if the character represented by a given [Unicode code point](https://en.wikipedia.org/wiki/Code_point) is [fullwidth](https://en.wikipedia.org/wiki/Halfwidth_and_fullwidth_forms)
4
-
5
-
6
- ## Install
7
-
8
- ```
9
- $ npm install --save is-fullwidth-code-point
10
- ```
11
-
12
-
13
- ## Usage
14
-
15
- ```js
16
- var isFullwidthCodePoint = require('is-fullwidth-code-point');
17
-
18
- isFullwidthCodePoint('谢'.codePointAt());
19
- //=> true
20
-
21
- isFullwidthCodePoint('a'.codePointAt());
22
- //=> false
23
- ```
24
-
25
-
26
- ## API
27
-
28
- ### isFullwidthCodePoint(input)
29
-
30
- #### input
31
-
32
- Type: `number`
33
-
34
- [Code point](https://en.wikipedia.org/wiki/Code_point) of a character.
35
-
36
-
37
- ## License
38
-
39
- MIT © [Sindre Sorhus](http://sindresorhus.com)
@@ -1 +0,0 @@
1
- node_modules
@@ -1,4 +0,0 @@
1
- language: node_js
2
- node_js:
3
- - "0.8"
4
- - "0.10"
@@ -1,6 +0,0 @@
1
-
2
- test:
3
- @node_modules/.bin/tape test.js
4
-
5
- .PHONY: test
6
-
@@ -1,60 +0,0 @@
1
-
2
- # isarray
3
-
4
- `Array#isArray` for older browsers.
5
-
6
- [![build status](https://secure.travis-ci.org/juliangruber/isarray.svg)](http://travis-ci.org/juliangruber/isarray)
7
- [![downloads](https://img.shields.io/npm/dm/isarray.svg)](https://www.npmjs.org/package/isarray)
8
-
9
- [![browser support](https://ci.testling.com/juliangruber/isarray.png)
10
- ](https://ci.testling.com/juliangruber/isarray)
11
-
12
- ## Usage
13
-
14
- ```js
15
- var isArray = require('isarray');
16
-
17
- console.log(isArray([])); // => true
18
- console.log(isArray({})); // => false
19
- ```
20
-
21
- ## Installation
22
-
23
- With [npm](http://npmjs.org) do
24
-
25
- ```bash
26
- $ npm install isarray
27
- ```
28
-
29
- Then bundle for the browser with
30
- [browserify](https://github.com/substack/browserify).
31
-
32
- With [component](http://component.io) do
33
-
34
- ```bash
35
- $ component install juliangruber/isarray
36
- ```
37
-
38
- ## License
39
-
40
- (MIT)
41
-
42
- Copyright (c) 2013 Julian Gruber &lt;julian@juliangruber.com&gt;
43
-
44
- Permission is hereby granted, free of charge, to any person obtaining a copy of
45
- this software and associated documentation files (the "Software"), to deal in
46
- the Software without restriction, including without limitation the rights to
47
- use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
48
- of the Software, and to permit persons to whom the Software is furnished to do
49
- so, subject to the following conditions:
50
-
51
- The above copyright notice and this permission notice shall be included in all
52
- copies or substantial portions of the Software.
53
-
54
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
55
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
56
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
57
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
58
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
59
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
60
- SOFTWARE.
@@ -1,19 +0,0 @@
1
- {
2
- "name" : "isarray",
3
- "description" : "Array#isArray for older browsers",
4
- "version" : "0.0.1",
5
- "repository" : "juliangruber/isarray",
6
- "homepage": "https://github.com/juliangruber/isarray",
7
- "main" : "index.js",
8
- "scripts" : [
9
- "index.js"
10
- ],
11
- "dependencies" : {},
12
- "keywords": ["browser","isarray","array"],
13
- "author": {
14
- "name": "Julian Gruber",
15
- "email": "mail@juliangruber.com",
16
- "url": "http://juliangruber.com"
17
- },
18
- "license": "MIT"
19
- }
@@ -1,5 +0,0 @@
1
- var toString = {}.toString;
2
-
3
- module.exports = Array.isArray || function (arr) {
4
- return toString.call(arr) == '[object Array]';
5
- };
@@ -1,77 +0,0 @@
1
- {
2
- "_args": [
3
- [
4
- "isarray@1.0.0",
5
- "/home/runner/work/node-datachannel/node-datachannel"
6
- ]
7
- ],
8
- "_from": "isarray@1.0.0",
9
- "_id": "isarray@1.0.0",
10
- "_inBundle": false,
11
- "_integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=",
12
- "_location": "/isarray",
13
- "_phantomChildren": {},
14
- "_requested": {
15
- "type": "version",
16
- "registry": true,
17
- "raw": "isarray@1.0.0",
18
- "name": "isarray",
19
- "escapedName": "isarray",
20
- "rawSpec": "1.0.0",
21
- "saveSpec": null,
22
- "fetchSpec": "1.0.0"
23
- },
24
- "_requiredBy": [
25
- "/readable-stream",
26
- "/unzipper/readable-stream"
27
- ],
28
- "_resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz",
29
- "_spec": "1.0.0",
30
- "_where": "/home/runner/work/node-datachannel/node-datachannel",
31
- "author": {
32
- "name": "Julian Gruber",
33
- "email": "mail@juliangruber.com",
34
- "url": "http://juliangruber.com"
35
- },
36
- "bugs": {
37
- "url": "https://github.com/juliangruber/isarray/issues"
38
- },
39
- "dependencies": {},
40
- "description": "Array#isArray for older browsers",
41
- "devDependencies": {
42
- "tape": "~2.13.4"
43
- },
44
- "homepage": "https://github.com/juliangruber/isarray",
45
- "keywords": [
46
- "browser",
47
- "isarray",
48
- "array"
49
- ],
50
- "license": "MIT",
51
- "main": "index.js",
52
- "name": "isarray",
53
- "repository": {
54
- "type": "git",
55
- "url": "git://github.com/juliangruber/isarray.git"
56
- },
57
- "scripts": {
58
- "test": "tape test.js"
59
- },
60
- "testling": {
61
- "files": "test.js",
62
- "browsers": [
63
- "ie/8..latest",
64
- "firefox/17..latest",
65
- "firefox/nightly",
66
- "chrome/22..latest",
67
- "chrome/canary",
68
- "opera/12..latest",
69
- "opera/next",
70
- "safari/5.1..latest",
71
- "ipad/6.0..latest",
72
- "iphone/6.0..latest",
73
- "android-browser/4.2..latest"
74
- ]
75
- },
76
- "version": "1.0.0"
77
- }
@@ -1,20 +0,0 @@
1
- var isArray = require('./');
2
- var test = require('tape');
3
-
4
- test('is array', function(t){
5
- t.ok(isArray([]));
6
- t.notOk(isArray({}));
7
- t.notOk(isArray(null));
8
- t.notOk(isArray(false));
9
-
10
- var obj = {};
11
- obj[0] = true;
12
- t.notOk(isArray(obj));
13
-
14
- var arr = [];
15
- arr.foo = 'bar';
16
- t.ok(isArray(arr));
17
-
18
- t.end();
19
- });
20
-
@@ -1,65 +0,0 @@
1
- {
2
- "_args": [
3
- [
4
- "yallist@4.0.0",
5
- "/home/runner/work/node-datachannel/node-datachannel"
6
- ]
7
- ],
8
- "_from": "yallist@4.0.0",
9
- "_id": "yallist@4.0.0",
10
- "_inBundle": false,
11
- "_integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==",
12
- "_location": "/lru-cache/yallist",
13
- "_phantomChildren": {},
14
- "_requested": {
15
- "type": "version",
16
- "registry": true,
17
- "raw": "yallist@4.0.0",
18
- "name": "yallist",
19
- "escapedName": "yallist",
20
- "rawSpec": "4.0.0",
21
- "saveSpec": null,
22
- "fetchSpec": "4.0.0"
23
- },
24
- "_requiredBy": [
25
- "/lru-cache"
26
- ],
27
- "_resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz",
28
- "_spec": "4.0.0",
29
- "_where": "/home/runner/work/node-datachannel/node-datachannel",
30
- "author": {
31
- "name": "Isaac Z. Schlueter",
32
- "email": "i@izs.me",
33
- "url": "http://blog.izs.me/"
34
- },
35
- "bugs": {
36
- "url": "https://github.com/isaacs/yallist/issues"
37
- },
38
- "dependencies": {},
39
- "description": "Yet Another Linked List",
40
- "devDependencies": {
41
- "tap": "^12.1.0"
42
- },
43
- "directories": {
44
- "test": "test"
45
- },
46
- "files": [
47
- "yallist.js",
48
- "iterator.js"
49
- ],
50
- "homepage": "https://github.com/isaacs/yallist#readme",
51
- "license": "ISC",
52
- "main": "yallist.js",
53
- "name": "yallist",
54
- "repository": {
55
- "type": "git",
56
- "url": "git+https://github.com/isaacs/yallist.git"
57
- },
58
- "scripts": {
59
- "postpublish": "git push origin --all; git push origin --tags",
60
- "postversion": "npm publish",
61
- "preversion": "npm test",
62
- "test": "tap test/*.js --100"
63
- },
64
- "version": "4.0.0"
65
- }
@@ -1,73 +0,0 @@
1
- {
2
- "_args": [
3
- [
4
- "lru-cache@6.0.0",
5
- "/home/runner/work/node-datachannel/node-datachannel"
6
- ]
7
- ],
8
- "_from": "lru-cache@6.0.0",
9
- "_id": "lru-cache@6.0.0",
10
- "_inBundle": false,
11
- "_integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==",
12
- "_location": "/lru-cache",
13
- "_phantomChildren": {},
14
- "_requested": {
15
- "type": "version",
16
- "registry": true,
17
- "raw": "lru-cache@6.0.0",
18
- "name": "lru-cache",
19
- "escapedName": "lru-cache",
20
- "rawSpec": "6.0.0",
21
- "saveSpec": null,
22
- "fetchSpec": "6.0.0"
23
- },
24
- "_requiredBy": [
25
- "/node-abi/semver",
26
- "/semver"
27
- ],
28
- "_resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz",
29
- "_spec": "6.0.0",
30
- "_where": "/home/runner/work/node-datachannel/node-datachannel",
31
- "author": {
32
- "name": "Isaac Z. Schlueter",
33
- "email": "i@izs.me"
34
- },
35
- "bugs": {
36
- "url": "https://github.com/isaacs/node-lru-cache/issues"
37
- },
38
- "dependencies": {
39
- "yallist": "^4.0.0"
40
- },
41
- "description": "A cache object that deletes the least-recently-used items.",
42
- "devDependencies": {
43
- "benchmark": "^2.1.4",
44
- "tap": "^14.10.7"
45
- },
46
- "engines": {
47
- "node": ">=10"
48
- },
49
- "files": [
50
- "index.js"
51
- ],
52
- "homepage": "https://github.com/isaacs/node-lru-cache#readme",
53
- "keywords": [
54
- "mru",
55
- "lru",
56
- "cache"
57
- ],
58
- "license": "ISC",
59
- "main": "index.js",
60
- "name": "lru-cache",
61
- "repository": {
62
- "type": "git",
63
- "url": "git://github.com/isaacs/node-lru-cache.git"
64
- },
65
- "scripts": {
66
- "postversion": "npm publish",
67
- "prepublishOnly": "git push origin --follow-tags",
68
- "preversion": "npm test",
69
- "snap": "tap",
70
- "test": "tap"
71
- },
72
- "version": "6.0.0"
73
- }
@@ -1,8 +0,0 @@
1
- language: node_js
2
- node_js:
3
- - "0.8"
4
- - "0.10"
5
- - "0.12"
6
- - "iojs"
7
- before_install:
8
- - npm install -g npm@~1.4.6