@jsonstudio/zterm-daemon-win32-x64 0.0.0-stage → 0.1.4

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 (319) hide show
  1. package/LICENSE +191 -0
  2. package/README.md +2 -2
  3. package/package.json +25 -4
  4. package/runtime/dagpipe.node +0 -0
  5. package/runtime/node_modules/@roamhq/wrtc/AUTHORS +17 -0
  6. package/runtime/node_modules/@roamhq/wrtc/CHANGELOG.md +1094 -0
  7. package/runtime/node_modules/@roamhq/wrtc/LICENSE.md +30 -0
  8. package/runtime/node_modules/@roamhq/wrtc/README.md +74 -0
  9. package/runtime/node_modules/@roamhq/wrtc/lib/binding.js +31 -0
  10. package/runtime/node_modules/@roamhq/wrtc/lib/browser.js +18 -0
  11. package/runtime/node_modules/@roamhq/wrtc/lib/datachannelevent.js +26 -0
  12. package/runtime/node_modules/@roamhq/wrtc/lib/datachannelmessageevent.js +9 -0
  13. package/runtime/node_modules/@roamhq/wrtc/lib/error.js +20 -0
  14. package/runtime/node_modules/@roamhq/wrtc/lib/eventtarget.js +59 -0
  15. package/runtime/node_modules/@roamhq/wrtc/lib/icecandidate.js +43 -0
  16. package/runtime/node_modules/@roamhq/wrtc/lib/index.js +85 -0
  17. package/runtime/node_modules/@roamhq/wrtc/lib/mediadevices.js +30 -0
  18. package/runtime/node_modules/@roamhq/wrtc/lib/peerconnection.js +333 -0
  19. package/runtime/node_modules/@roamhq/wrtc/lib/rtcpeerconnectioniceerrorevent.js +36 -0
  20. package/runtime/node_modules/@roamhq/wrtc/lib/rtcpeerconnectioniceevent.js +20 -0
  21. package/runtime/node_modules/@roamhq/wrtc/lib/sessiondescription.js +19 -0
  22. package/runtime/node_modules/@roamhq/wrtc/package.json +68 -0
  23. package/runtime/node_modules/@roamhq/wrtc/types/index.d.ts +32 -0
  24. package/runtime/node_modules/@roamhq/wrtc/types/nonstandard.d.ts +81 -0
  25. package/runtime/node_modules/@roamhq/wrtc-win32-x64/index.js +1 -0
  26. package/runtime/node_modules/@roamhq/wrtc-win32-x64/package.json +16 -0
  27. package/runtime/node_modules/@roamhq/wrtc-win32-x64/wrtc.node +0 -0
  28. package/runtime/node_modules/node-pty/LICENSE +69 -0
  29. package/runtime/node_modules/node-pty/README.md +165 -0
  30. package/runtime/node_modules/node-pty/binding.gyp +111 -0
  31. package/runtime/node_modules/node-pty/build/Release/conpty/OpenConsole.exe +0 -0
  32. package/runtime/node_modules/node-pty/build/Release/conpty/conpty.dll +0 -0
  33. package/runtime/node_modules/node-pty/deps/.editorconfig +2 -0
  34. package/runtime/node_modules/node-pty/deps/winpty/.drone.yml +17 -0
  35. package/runtime/node_modules/node-pty/deps/winpty/.gitattributes +19 -0
  36. package/runtime/node_modules/node-pty/deps/winpty/LICENSE +21 -0
  37. package/runtime/node_modules/node-pty/deps/winpty/Makefile +166 -0
  38. package/runtime/node_modules/node-pty/deps/winpty/README.md +151 -0
  39. package/runtime/node_modules/node-pty/deps/winpty/RELEASES.md +280 -0
  40. package/runtime/node_modules/node-pty/deps/winpty/VERSION.txt +1 -0
  41. package/runtime/node_modules/node-pty/deps/winpty/configure +167 -0
  42. package/runtime/node_modules/node-pty/deps/winpty/misc/BufferResizeTests.cc +90 -0
  43. package/runtime/node_modules/node-pty/deps/winpty/misc/ChangeScreenBuffer.cc +53 -0
  44. package/runtime/node_modules/node-pty/deps/winpty/misc/ClearConsole.cc +72 -0
  45. package/runtime/node_modules/node-pty/deps/winpty/misc/ConinMode.cc +117 -0
  46. package/runtime/node_modules/node-pty/deps/winpty/misc/ConinMode.ps1 +116 -0
  47. package/runtime/node_modules/node-pty/deps/winpty/misc/ConoutMode.cc +113 -0
  48. package/runtime/node_modules/node-pty/deps/winpty/misc/DebugClient.py +42 -0
  49. package/runtime/node_modules/node-pty/deps/winpty/misc/DebugServer.py +63 -0
  50. package/runtime/node_modules/node-pty/deps/winpty/misc/DumpLines.py +5 -0
  51. package/runtime/node_modules/node-pty/deps/winpty/misc/EnableExtendedFlags.txt +46 -0
  52. package/runtime/node_modules/node-pty/deps/winpty/misc/Font-Report-June2016/CP437-Consolas.txt +528 -0
  53. package/runtime/node_modules/node-pty/deps/winpty/misc/Font-Report-June2016/CP437-Lucida.txt +633 -0
  54. package/runtime/node_modules/node-pty/deps/winpty/misc/Font-Report-June2016/CP932.txt +630 -0
  55. package/runtime/node_modules/node-pty/deps/winpty/misc/Font-Report-June2016/CP936.txt +630 -0
  56. package/runtime/node_modules/node-pty/deps/winpty/misc/Font-Report-June2016/CP949.txt +630 -0
  57. package/runtime/node_modules/node-pty/deps/winpty/misc/Font-Report-June2016/CP950.txt +630 -0
  58. package/runtime/node_modules/node-pty/deps/winpty/misc/Font-Report-June2016/MinimumWindowWidths.txt +16 -0
  59. package/runtime/node_modules/node-pty/deps/winpty/misc/Font-Report-June2016/Results.txt +4 -0
  60. package/runtime/node_modules/node-pty/deps/winpty/misc/Font-Report-June2016/Windows10SetFontBugginess.txt +144 -0
  61. package/runtime/node_modules/node-pty/deps/winpty/misc/FontSurvey.cc +100 -0
  62. package/runtime/node_modules/node-pty/deps/winpty/misc/FormatChar.h +21 -0
  63. package/runtime/node_modules/node-pty/deps/winpty/misc/FreezePerfTest.cc +62 -0
  64. package/runtime/node_modules/node-pty/deps/winpty/misc/GetCh.cc +20 -0
  65. package/runtime/node_modules/node-pty/deps/winpty/misc/GetConsolePos.cc +41 -0
  66. package/runtime/node_modules/node-pty/deps/winpty/misc/GetFont.cc +261 -0
  67. package/runtime/node_modules/node-pty/deps/winpty/misc/IdentifyConsoleWindow.ps1 +51 -0
  68. package/runtime/node_modules/node-pty/deps/winpty/misc/IsNewConsole.cc +87 -0
  69. package/runtime/node_modules/node-pty/deps/winpty/misc/MouseInputNotes.txt +90 -0
  70. package/runtime/node_modules/node-pty/deps/winpty/misc/MoveConsoleWindow.cc +34 -0
  71. package/runtime/node_modules/node-pty/deps/winpty/misc/Notes.txt +219 -0
  72. package/runtime/node_modules/node-pty/deps/winpty/misc/OSVersion.cc +27 -0
  73. package/runtime/node_modules/node-pty/deps/winpty/misc/ScreenBufferFreezeInactive.cc +101 -0
  74. package/runtime/node_modules/node-pty/deps/winpty/misc/ScreenBufferTest.cc +671 -0
  75. package/runtime/node_modules/node-pty/deps/winpty/misc/ScreenBufferTest2.cc +151 -0
  76. package/runtime/node_modules/node-pty/deps/winpty/misc/SelectAllTest.cc +45 -0
  77. package/runtime/node_modules/node-pty/deps/winpty/misc/SetBufferSize.cc +32 -0
  78. package/runtime/node_modules/node-pty/deps/winpty/misc/SetCursorPos.cc +10 -0
  79. package/runtime/node_modules/node-pty/deps/winpty/misc/SetFont.cc +145 -0
  80. package/runtime/node_modules/node-pty/deps/winpty/misc/SetWindowRect.cc +36 -0
  81. package/runtime/node_modules/node-pty/deps/winpty/misc/ShowArgv.cc +12 -0
  82. package/runtime/node_modules/node-pty/deps/winpty/misc/ShowConsoleInput.cc +40 -0
  83. package/runtime/node_modules/node-pty/deps/winpty/misc/Spew.py +5 -0
  84. package/runtime/node_modules/node-pty/deps/winpty/misc/TestUtil.cc +172 -0
  85. package/runtime/node_modules/node-pty/deps/winpty/misc/UnicodeDoubleWidthTest.cc +102 -0
  86. package/runtime/node_modules/node-pty/deps/winpty/misc/UnicodeWideTest1.cc +246 -0
  87. package/runtime/node_modules/node-pty/deps/winpty/misc/UnicodeWideTest2.cc +130 -0
  88. package/runtime/node_modules/node-pty/deps/winpty/misc/UnixEcho.cc +89 -0
  89. package/runtime/node_modules/node-pty/deps/winpty/misc/Utf16Echo.cc +46 -0
  90. package/runtime/node_modules/node-pty/deps/winpty/misc/VeryLargeRead.cc +122 -0
  91. package/runtime/node_modules/node-pty/deps/winpty/misc/VkEscapeTest.cc +56 -0
  92. package/runtime/node_modules/node-pty/deps/winpty/misc/Win10ResizeWhileFrozen.cc +52 -0
  93. package/runtime/node_modules/node-pty/deps/winpty/misc/Win10WrapTest1.cc +57 -0
  94. package/runtime/node_modules/node-pty/deps/winpty/misc/Win10WrapTest2.cc +30 -0
  95. package/runtime/node_modules/node-pty/deps/winpty/misc/Win32Echo1.cc +26 -0
  96. package/runtime/node_modules/node-pty/deps/winpty/misc/Win32Echo2.cc +19 -0
  97. package/runtime/node_modules/node-pty/deps/winpty/misc/Win32Test1.cc +46 -0
  98. package/runtime/node_modules/node-pty/deps/winpty/misc/Win32Test2.cc +70 -0
  99. package/runtime/node_modules/node-pty/deps/winpty/misc/Win32Test3.cc +78 -0
  100. package/runtime/node_modules/node-pty/deps/winpty/misc/Win32Write1.cc +44 -0
  101. package/runtime/node_modules/node-pty/deps/winpty/misc/WindowsBugCrashReader.cc +27 -0
  102. package/runtime/node_modules/node-pty/deps/winpty/misc/WriteConsole.cc +106 -0
  103. package/runtime/node_modules/node-pty/deps/winpty/misc/build32.sh +9 -0
  104. package/runtime/node_modules/node-pty/deps/winpty/misc/build64.sh +9 -0
  105. package/runtime/node_modules/node-pty/deps/winpty/misc/color-test.sh +212 -0
  106. package/runtime/node_modules/node-pty/deps/winpty/misc/font-notes.txt +300 -0
  107. package/runtime/node_modules/node-pty/deps/winpty/misc/winbug-15048.cc +201 -0
  108. package/runtime/node_modules/node-pty/deps/winpty/ship/build-pty4j-libpty.bat +36 -0
  109. package/runtime/node_modules/node-pty/deps/winpty/ship/common_ship.py +53 -0
  110. package/runtime/node_modules/node-pty/deps/winpty/ship/make_msvc_package.py +165 -0
  111. package/runtime/node_modules/node-pty/deps/winpty/ship/ship.py +108 -0
  112. package/runtime/node_modules/node-pty/deps/winpty/src/agent/Agent.cc +613 -0
  113. package/runtime/node_modules/node-pty/deps/winpty/src/agent/Agent.h +103 -0
  114. package/runtime/node_modules/node-pty/deps/winpty/src/agent/AgentCreateDesktop.cc +84 -0
  115. package/runtime/node_modules/node-pty/deps/winpty/src/agent/AgentCreateDesktop.h +28 -0
  116. package/runtime/node_modules/node-pty/deps/winpty/src/agent/ConsoleFont.cc +632 -0
  117. package/runtime/node_modules/node-pty/deps/winpty/src/agent/ConsoleFont.h +28 -0
  118. package/runtime/node_modules/node-pty/deps/winpty/src/agent/ConsoleInput.cc +852 -0
  119. package/runtime/node_modules/node-pty/deps/winpty/src/agent/ConsoleInput.h +109 -0
  120. package/runtime/node_modules/node-pty/deps/winpty/src/agent/ConsoleInputReencoding.cc +121 -0
  121. package/runtime/node_modules/node-pty/deps/winpty/src/agent/ConsoleInputReencoding.h +36 -0
  122. package/runtime/node_modules/node-pty/deps/winpty/src/agent/ConsoleLine.cc +152 -0
  123. package/runtime/node_modules/node-pty/deps/winpty/src/agent/ConsoleLine.h +41 -0
  124. package/runtime/node_modules/node-pty/deps/winpty/src/agent/Coord.h +87 -0
  125. package/runtime/node_modules/node-pty/deps/winpty/src/agent/DebugShowInput.cc +239 -0
  126. package/runtime/node_modules/node-pty/deps/winpty/src/agent/DebugShowInput.h +32 -0
  127. package/runtime/node_modules/node-pty/deps/winpty/src/agent/DefaultInputMap.cc +422 -0
  128. package/runtime/node_modules/node-pty/deps/winpty/src/agent/DefaultInputMap.h +28 -0
  129. package/runtime/node_modules/node-pty/deps/winpty/src/agent/DsrSender.h +30 -0
  130. package/runtime/node_modules/node-pty/deps/winpty/src/agent/EventLoop.cc +99 -0
  131. package/runtime/node_modules/node-pty/deps/winpty/src/agent/EventLoop.h +47 -0
  132. package/runtime/node_modules/node-pty/deps/winpty/src/agent/InputMap.cc +246 -0
  133. package/runtime/node_modules/node-pty/deps/winpty/src/agent/InputMap.h +114 -0
  134. package/runtime/node_modules/node-pty/deps/winpty/src/agent/LargeConsoleRead.cc +71 -0
  135. package/runtime/node_modules/node-pty/deps/winpty/src/agent/LargeConsoleRead.h +68 -0
  136. package/runtime/node_modules/node-pty/deps/winpty/src/agent/NamedPipe.cc +378 -0
  137. package/runtime/node_modules/node-pty/deps/winpty/src/agent/NamedPipe.h +125 -0
  138. package/runtime/node_modules/node-pty/deps/winpty/src/agent/Scraper.cc +699 -0
  139. package/runtime/node_modules/node-pty/deps/winpty/src/agent/Scraper.h +103 -0
  140. package/runtime/node_modules/node-pty/deps/winpty/src/agent/SimplePool.h +75 -0
  141. package/runtime/node_modules/node-pty/deps/winpty/src/agent/SmallRect.h +143 -0
  142. package/runtime/node_modules/node-pty/deps/winpty/src/agent/Terminal.cc +535 -0
  143. package/runtime/node_modules/node-pty/deps/winpty/src/agent/Terminal.h +69 -0
  144. package/runtime/node_modules/node-pty/deps/winpty/src/agent/UnicodeEncoding.h +157 -0
  145. package/runtime/node_modules/node-pty/deps/winpty/src/agent/UnicodeEncodingTest.cc +189 -0
  146. package/runtime/node_modules/node-pty/deps/winpty/src/agent/Win32Console.cc +107 -0
  147. package/runtime/node_modules/node-pty/deps/winpty/src/agent/Win32Console.h +67 -0
  148. package/runtime/node_modules/node-pty/deps/winpty/src/agent/Win32ConsoleBuffer.cc +193 -0
  149. package/runtime/node_modules/node-pty/deps/winpty/src/agent/Win32ConsoleBuffer.h +99 -0
  150. package/runtime/node_modules/node-pty/deps/winpty/src/agent/main.cc +114 -0
  151. package/runtime/node_modules/node-pty/deps/winpty/src/agent/subdir.mk +61 -0
  152. package/runtime/node_modules/node-pty/deps/winpty/src/configurations.gypi +60 -0
  153. package/runtime/node_modules/node-pty/deps/winpty/src/debugserver/DebugServer.cc +117 -0
  154. package/runtime/node_modules/node-pty/deps/winpty/src/debugserver/subdir.mk +41 -0
  155. package/runtime/node_modules/node-pty/deps/winpty/src/include/winpty.h +242 -0
  156. package/runtime/node_modules/node-pty/deps/winpty/src/include/winpty_constants.h +131 -0
  157. package/runtime/node_modules/node-pty/deps/winpty/src/libwinpty/AgentLocation.cc +75 -0
  158. package/runtime/node_modules/node-pty/deps/winpty/src/libwinpty/AgentLocation.h +28 -0
  159. package/runtime/node_modules/node-pty/deps/winpty/src/libwinpty/LibWinptyException.h +54 -0
  160. package/runtime/node_modules/node-pty/deps/winpty/src/libwinpty/WinptyInternal.h +72 -0
  161. package/runtime/node_modules/node-pty/deps/winpty/src/libwinpty/subdir.mk +46 -0
  162. package/runtime/node_modules/node-pty/deps/winpty/src/libwinpty/winpty.cc +970 -0
  163. package/runtime/node_modules/node-pty/deps/winpty/src/shared/AgentMsg.h +38 -0
  164. package/runtime/node_modules/node-pty/deps/winpty/src/shared/BackgroundDesktop.cc +122 -0
  165. package/runtime/node_modules/node-pty/deps/winpty/src/shared/BackgroundDesktop.h +73 -0
  166. package/runtime/node_modules/node-pty/deps/winpty/src/shared/Buffer.cc +103 -0
  167. package/runtime/node_modules/node-pty/deps/winpty/src/shared/Buffer.h +102 -0
  168. package/runtime/node_modules/node-pty/deps/winpty/src/shared/DebugClient.cc +187 -0
  169. package/runtime/node_modules/node-pty/deps/winpty/src/shared/DebugClient.h +38 -0
  170. package/runtime/node_modules/node-pty/deps/winpty/src/shared/GenRandom.cc +138 -0
  171. package/runtime/node_modules/node-pty/deps/winpty/src/shared/GenRandom.h +55 -0
  172. package/runtime/node_modules/node-pty/deps/winpty/src/shared/GetCommitHash.bat +13 -0
  173. package/runtime/node_modules/node-pty/deps/winpty/src/shared/Mutex.h +54 -0
  174. package/runtime/node_modules/node-pty/deps/winpty/src/shared/OsModule.h +63 -0
  175. package/runtime/node_modules/node-pty/deps/winpty/src/shared/OwnedHandle.cc +36 -0
  176. package/runtime/node_modules/node-pty/deps/winpty/src/shared/OwnedHandle.h +45 -0
  177. package/runtime/node_modules/node-pty/deps/winpty/src/shared/PrecompiledHeader.h +43 -0
  178. package/runtime/node_modules/node-pty/deps/winpty/src/shared/StringBuilder.h +227 -0
  179. package/runtime/node_modules/node-pty/deps/winpty/src/shared/StringBuilderTest.cc +114 -0
  180. package/runtime/node_modules/node-pty/deps/winpty/src/shared/StringUtil.cc +55 -0
  181. package/runtime/node_modules/node-pty/deps/winpty/src/shared/StringUtil.h +80 -0
  182. package/runtime/node_modules/node-pty/deps/winpty/src/shared/TimeMeasurement.h +63 -0
  183. package/runtime/node_modules/node-pty/deps/winpty/src/shared/UnixCtrlChars.h +45 -0
  184. package/runtime/node_modules/node-pty/deps/winpty/src/shared/UpdateGenVersion.bat +20 -0
  185. package/runtime/node_modules/node-pty/deps/winpty/src/shared/WindowsSecurity.cc +460 -0
  186. package/runtime/node_modules/node-pty/deps/winpty/src/shared/WindowsSecurity.h +104 -0
  187. package/runtime/node_modules/node-pty/deps/winpty/src/shared/WindowsVersion.cc +252 -0
  188. package/runtime/node_modules/node-pty/deps/winpty/src/shared/WindowsVersion.h +29 -0
  189. package/runtime/node_modules/node-pty/deps/winpty/src/shared/WinptyAssert.cc +55 -0
  190. package/runtime/node_modules/node-pty/deps/winpty/src/shared/WinptyAssert.h +64 -0
  191. package/runtime/node_modules/node-pty/deps/winpty/src/shared/WinptyException.cc +57 -0
  192. package/runtime/node_modules/node-pty/deps/winpty/src/shared/WinptyException.h +43 -0
  193. package/runtime/node_modules/node-pty/deps/winpty/src/shared/WinptyVersion.cc +42 -0
  194. package/runtime/node_modules/node-pty/deps/winpty/src/shared/WinptyVersion.h +27 -0
  195. package/runtime/node_modules/node-pty/deps/winpty/src/shared/winpty_snprintf.h +99 -0
  196. package/runtime/node_modules/node-pty/deps/winpty/src/subdir.mk +5 -0
  197. package/runtime/node_modules/node-pty/deps/winpty/src/tests/subdir.mk +28 -0
  198. package/runtime/node_modules/node-pty/deps/winpty/src/tests/trivial_test.cc +158 -0
  199. package/runtime/node_modules/node-pty/deps/winpty/src/unix-adapter/InputHandler.cc +114 -0
  200. package/runtime/node_modules/node-pty/deps/winpty/src/unix-adapter/InputHandler.h +56 -0
  201. package/runtime/node_modules/node-pty/deps/winpty/src/unix-adapter/OutputHandler.cc +80 -0
  202. package/runtime/node_modules/node-pty/deps/winpty/src/unix-adapter/OutputHandler.h +53 -0
  203. package/runtime/node_modules/node-pty/deps/winpty/src/unix-adapter/Util.cc +86 -0
  204. package/runtime/node_modules/node-pty/deps/winpty/src/unix-adapter/Util.h +31 -0
  205. package/runtime/node_modules/node-pty/deps/winpty/src/unix-adapter/WakeupFd.cc +70 -0
  206. package/runtime/node_modules/node-pty/deps/winpty/src/unix-adapter/WakeupFd.h +42 -0
  207. package/runtime/node_modules/node-pty/deps/winpty/src/unix-adapter/main.cc +729 -0
  208. package/runtime/node_modules/node-pty/deps/winpty/src/unix-adapter/subdir.mk +41 -0
  209. package/runtime/node_modules/node-pty/deps/winpty/src/winpty.gyp +234 -0
  210. package/runtime/node_modules/node-pty/deps/winpty/vcbuild.bat +83 -0
  211. package/runtime/node_modules/node-pty/lib/conpty_console_list_agent.js +16 -0
  212. package/runtime/node_modules/node-pty/lib/conpty_console_list_agent.js.map +1 -0
  213. package/runtime/node_modules/node-pty/lib/eventEmitter2.js +47 -0
  214. package/runtime/node_modules/node-pty/lib/eventEmitter2.js.map +1 -0
  215. package/runtime/node_modules/node-pty/lib/eventEmitter2.test.js +30 -0
  216. package/runtime/node_modules/node-pty/lib/eventEmitter2.test.js.map +1 -0
  217. package/runtime/node_modules/node-pty/lib/index.js +52 -0
  218. package/runtime/node_modules/node-pty/lib/index.js.map +1 -0
  219. package/runtime/node_modules/node-pty/lib/interfaces.js +7 -0
  220. package/runtime/node_modules/node-pty/lib/interfaces.js.map +1 -0
  221. package/runtime/node_modules/node-pty/lib/shared/conout.js +11 -0
  222. package/runtime/node_modules/node-pty/lib/shared/conout.js.map +1 -0
  223. package/runtime/node_modules/node-pty/lib/terminal.js +190 -0
  224. package/runtime/node_modules/node-pty/lib/terminal.js.map +1 -0
  225. package/runtime/node_modules/node-pty/lib/terminal.test.js +139 -0
  226. package/runtime/node_modules/node-pty/lib/terminal.test.js.map +1 -0
  227. package/runtime/node_modules/node-pty/lib/testUtils.test.js +28 -0
  228. package/runtime/node_modules/node-pty/lib/testUtils.test.js.map +1 -0
  229. package/runtime/node_modules/node-pty/lib/types.js +7 -0
  230. package/runtime/node_modules/node-pty/lib/types.js.map +1 -0
  231. package/runtime/node_modules/node-pty/lib/unixTerminal.js +346 -0
  232. package/runtime/node_modules/node-pty/lib/unixTerminal.js.map +1 -0
  233. package/runtime/node_modules/node-pty/lib/unixTerminal.test.js +351 -0
  234. package/runtime/node_modules/node-pty/lib/unixTerminal.test.js.map +1 -0
  235. package/runtime/node_modules/node-pty/lib/utils.js +39 -0
  236. package/runtime/node_modules/node-pty/lib/utils.js.map +1 -0
  237. package/runtime/node_modules/node-pty/lib/windowsConoutConnection.js +125 -0
  238. package/runtime/node_modules/node-pty/lib/windowsConoutConnection.js.map +1 -0
  239. package/runtime/node_modules/node-pty/lib/windowsPtyAgent.js +320 -0
  240. package/runtime/node_modules/node-pty/lib/windowsPtyAgent.js.map +1 -0
  241. package/runtime/node_modules/node-pty/lib/windowsPtyAgent.test.js +90 -0
  242. package/runtime/node_modules/node-pty/lib/windowsPtyAgent.test.js.map +1 -0
  243. package/runtime/node_modules/node-pty/lib/windowsTerminal.js +199 -0
  244. package/runtime/node_modules/node-pty/lib/windowsTerminal.js.map +1 -0
  245. package/runtime/node_modules/node-pty/lib/windowsTerminal.test.js +219 -0
  246. package/runtime/node_modules/node-pty/lib/windowsTerminal.test.js.map +1 -0
  247. package/runtime/node_modules/node-pty/lib/worker/conoutSocketWorker.js +22 -0
  248. package/runtime/node_modules/node-pty/lib/worker/conoutSocketWorker.js.map +1 -0
  249. package/runtime/node_modules/node-pty/package.json +64 -0
  250. package/runtime/node_modules/node-pty/prebuilds/darwin-arm64/pty.node +0 -0
  251. package/runtime/node_modules/node-pty/prebuilds/darwin-arm64/spawn-helper +0 -0
  252. package/runtime/node_modules/node-pty/prebuilds/darwin-x64/pty.node +0 -0
  253. package/runtime/node_modules/node-pty/prebuilds/darwin-x64/spawn-helper +0 -0
  254. package/runtime/node_modules/node-pty/prebuilds/win32-arm64/conpty/OpenConsole.exe +0 -0
  255. package/runtime/node_modules/node-pty/prebuilds/win32-arm64/conpty/conpty.dll +0 -0
  256. package/runtime/node_modules/node-pty/prebuilds/win32-arm64/conpty.node +0 -0
  257. package/runtime/node_modules/node-pty/prebuilds/win32-arm64/conpty.pdb +0 -0
  258. package/runtime/node_modules/node-pty/prebuilds/win32-arm64/conpty_console_list.node +0 -0
  259. package/runtime/node_modules/node-pty/prebuilds/win32-arm64/conpty_console_list.pdb +0 -0
  260. package/runtime/node_modules/node-pty/prebuilds/win32-arm64/pty.node +0 -0
  261. package/runtime/node_modules/node-pty/prebuilds/win32-arm64/pty.pdb +0 -0
  262. package/runtime/node_modules/node-pty/prebuilds/win32-arm64/winpty-agent.exe +0 -0
  263. package/runtime/node_modules/node-pty/prebuilds/win32-arm64/winpty-agent.pdb +0 -0
  264. package/runtime/node_modules/node-pty/prebuilds/win32-arm64/winpty.dll +0 -0
  265. package/runtime/node_modules/node-pty/prebuilds/win32-arm64/winpty.pdb +0 -0
  266. package/runtime/node_modules/node-pty/prebuilds/win32-x64/conpty/OpenConsole.exe +0 -0
  267. package/runtime/node_modules/node-pty/prebuilds/win32-x64/conpty/conpty.dll +0 -0
  268. package/runtime/node_modules/node-pty/prebuilds/win32-x64/conpty.node +0 -0
  269. package/runtime/node_modules/node-pty/prebuilds/win32-x64/conpty.pdb +0 -0
  270. package/runtime/node_modules/node-pty/prebuilds/win32-x64/conpty_console_list.node +0 -0
  271. package/runtime/node_modules/node-pty/prebuilds/win32-x64/conpty_console_list.pdb +0 -0
  272. package/runtime/node_modules/node-pty/prebuilds/win32-x64/pty.node +0 -0
  273. package/runtime/node_modules/node-pty/prebuilds/win32-x64/pty.pdb +0 -0
  274. package/runtime/node_modules/node-pty/prebuilds/win32-x64/winpty-agent.exe +0 -0
  275. package/runtime/node_modules/node-pty/prebuilds/win32-x64/winpty-agent.pdb +0 -0
  276. package/runtime/node_modules/node-pty/prebuilds/win32-x64/winpty.dll +0 -0
  277. package/runtime/node_modules/node-pty/prebuilds/win32-x64/winpty.pdb +0 -0
  278. package/runtime/node_modules/node-pty/scripts/gen-compile-commands.js +8 -0
  279. package/runtime/node_modules/node-pty/scripts/increment-version.js +54 -0
  280. package/runtime/node_modules/node-pty/scripts/post-install.js +80 -0
  281. package/runtime/node_modules/node-pty/scripts/prebuild.js +34 -0
  282. package/runtime/node_modules/node-pty/src/conpty_console_list_agent.ts +15 -0
  283. package/runtime/node_modules/node-pty/src/eventEmitter2.test.ts +30 -0
  284. package/runtime/node_modules/node-pty/src/eventEmitter2.ts +48 -0
  285. package/runtime/node_modules/node-pty/src/index.ts +52 -0
  286. package/runtime/node_modules/node-pty/src/interfaces.ts +130 -0
  287. package/runtime/node_modules/node-pty/src/native.d.ts +54 -0
  288. package/runtime/node_modules/node-pty/src/shared/conout.ts +15 -0
  289. package/runtime/node_modules/node-pty/src/terminal.test.ts +119 -0
  290. package/runtime/node_modules/node-pty/src/terminal.ts +211 -0
  291. package/runtime/node_modules/node-pty/src/testUtils.test.ts +23 -0
  292. package/runtime/node_modules/node-pty/src/tsconfig.json +22 -0
  293. package/runtime/node_modules/node-pty/src/types.ts +15 -0
  294. package/runtime/node_modules/node-pty/src/unix/pty.cc +799 -0
  295. package/runtime/node_modules/node-pty/src/unix/spawn-helper.cc +23 -0
  296. package/runtime/node_modules/node-pty/src/unixTerminal.test.ts +367 -0
  297. package/runtime/node_modules/node-pty/src/unixTerminal.ts +388 -0
  298. package/runtime/node_modules/node-pty/src/utils.ts +29 -0
  299. package/runtime/node_modules/node-pty/src/win/conpty.cc +583 -0
  300. package/runtime/node_modules/node-pty/src/win/conpty.h +41 -0
  301. package/runtime/node_modules/node-pty/src/win/conpty_console_list.cc +44 -0
  302. package/runtime/node_modules/node-pty/src/win/path_util.cc +95 -0
  303. package/runtime/node_modules/node-pty/src/win/path_util.h +26 -0
  304. package/runtime/node_modules/node-pty/src/win/winpty.cc +333 -0
  305. package/runtime/node_modules/node-pty/src/windowsConoutConnection.ts +82 -0
  306. package/runtime/node_modules/node-pty/src/windowsPtyAgent.test.ts +94 -0
  307. package/runtime/node_modules/node-pty/src/windowsPtyAgent.ts +321 -0
  308. package/runtime/node_modules/node-pty/src/windowsTerminal.test.ts +229 -0
  309. package/runtime/node_modules/node-pty/src/windowsTerminal.ts +203 -0
  310. package/runtime/node_modules/node-pty/src/worker/conoutSocketWorker.ts +22 -0
  311. package/runtime/node_modules/node-pty/third_party/conpty/1.23.251008001/win10-arm64/OpenConsole.exe +0 -0
  312. package/runtime/node_modules/node-pty/third_party/conpty/1.23.251008001/win10-arm64/conpty.dll +0 -0
  313. package/runtime/node_modules/node-pty/third_party/conpty/1.23.251008001/win10-x64/OpenConsole.exe +0 -0
  314. package/runtime/node_modules/node-pty/third_party/conpty/1.23.251008001/win10-x64/conpty.dll +0 -0
  315. package/runtime/node_modules/node-pty/typings/node-pty.d.ts +211 -0
  316. package/runtime/server.cjs +29778 -0
  317. package/support/terminal-config-command.cjs +579 -0
  318. package/support/windows/zterm-daemon.ps1 +438 -0
  319. package/zterm-package.json +26 -0
@@ -0,0 +1,30 @@
1
+ The following license applies to all parts of this software except as documented
2
+ below.
3
+
4
+ ```
5
+ Copyright (c) 2019 The node-webrtc project authors. All rights reserved.
6
+
7
+ Redistribution and use in source and binary forms, with or without modification,
8
+ are permitted provided that the following conditions are met:
9
+
10
+ 1. Redistributions of source code must retain the above copyright notice, this
11
+ list of conditions and the following disclaimer.
12
+ 2. Redistributions in binary form must reproduce the above copyright notice,
13
+ this list of conditions and the following disclaimer in the documentation
14
+ and/or other materials provided with the distribution.
15
+
16
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
17
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
18
+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
19
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
20
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
21
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
22
+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
23
+ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
24
+ TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
25
+ THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26
+ ```
27
+
28
+ Binary distributions of this software include WebRTC and other third-party
29
+ libraries. These libraries and licenses are documented in
30
+ THIRD_PARTY_LICENSES.md.
@@ -0,0 +1,74 @@
1
+ <h1 align="center">
2
+ <img height="120px" src="https://upload.wikimedia.org/wikipedia/commons/d/d9/Node.js_logo.svg">&nbsp;&nbsp;&nbsp;&nbsp;
3
+ <img height="120px" src="https://webrtc.github.io/webrtc-org/assets/images/webrtc-logo-vert-retro-dist.svg">
4
+ </h1>
5
+
6
+ [![NPM](https://img.shields.io/npm/v/@roamhq/wrtc.svg)](https://www.npmjs.com/package/@roamhq/wrtc)
7
+
8
+ node-webrtc is a Node.js Native Addon that provides bindings to [WebRTC
9
+ M106](https://webrtc.googlesource.com/src/+/branch-heads/5249). This project is
10
+ aiming for spec-compliance and will eventually be tested using the W3C's
11
+ [web-platform-tests](https://github.com/web-platform-tests/wpt) project. A
12
+ number of [nonstandard APIs](docs/nonstandard-apis.md) for testing are also
13
+ included.
14
+
15
+ ## Install
16
+
17
+ ```
18
+ npm install @roamhq/wrtc
19
+ ```
20
+
21
+ Installing from NPM downloads a prebuilt binary for your operating system ×
22
+ architecture, based on optional dependency filters.
23
+
24
+ To install a debug build or cross-compile, you should [build from
25
+ source](docs/build-from-source.md).
26
+
27
+ ## Supported Platforms
28
+
29
+ The following platforms are confirmed to work with node-webrtc and have
30
+ prebuilt binaries available. Since node-webrtc targets [N-API version
31
+ 3](https://nodejs.org/api/n-api.html), there may be additional platforms
32
+ supported that are not listed here. If your platform is not supported, you may
33
+ still be able to [build from source](docs/build-from-source.md).
34
+
35
+ <table>
36
+ <thead>
37
+ <tr>
38
+ <td colspan="2" rowspan="2"></td>
39
+ <th colspan="2">Linux</th>
40
+ <th colspan="2">macOS</th>
41
+ <th>Windows</th>
42
+ </tr>
43
+ <tr>
44
+ <th>x64</th>
45
+ <th>arm64</th>
46
+ <th>x64</th>
47
+ <th>arm64</th>
48
+ <th>x64</th>
49
+ </tr>
50
+ </thead>
51
+ <tbody>
52
+ <tr>
53
+ <th rowspan="2">Node</th>
54
+ <th>20</th>
55
+ <td align="center">✓</td>
56
+ <td align="center">?</td>
57
+ <td align="center">✓</td>
58
+ <td align="center">✓</td>
59
+ <td align="center">✓</td>
60
+ </tr>
61
+ <tr>
62
+ <th>22</th>
63
+ <td align="center">✓</td>
64
+ <td align="center">?</td>
65
+ <td align="center">✓</td>
66
+ <td align="center">✓</td>
67
+ <td align="center">✓</td>
68
+ </tr>
69
+ </tbody>
70
+ </table>
71
+
72
+ ## Examples
73
+
74
+ See [node-webrtc/node-webrtc-examples](https://github.com/node-webrtc/node-webrtc-examples).
@@ -0,0 +1,31 @@
1
+ "use strict";
2
+
3
+ const os = require("os");
4
+ const triple = `${os.platform()}-${os.arch()}`;
5
+ const pathsToTry = [
6
+ `../build-${triple}/wrtc.node`,
7
+ `../build-${triple}/Debug/wrtc.node`,
8
+ `../build-${triple}/Release/wrtc.node`,
9
+ `@roamhq/wrtc-${triple}`,
10
+ // For installations that can't resolve node_modules directly, like AWS Lambda
11
+ `./node_modules/@roamhq/wrtc-${triple}`,
12
+ `./node_modules/@roamhq/wrtc-${triple}/wrtc.node`,
13
+ ];
14
+
15
+ let succeeded = false;
16
+ for (const path of pathsToTry) {
17
+ try {
18
+ module.exports = require(path);
19
+ succeeded = true;
20
+ break;
21
+ } catch (error) {
22
+ // Ignore any errors, just continue
23
+ void error;
24
+ }
25
+ }
26
+
27
+ if (!succeeded) {
28
+ throw new Error(
29
+ `Could not find wrtc binary on any of the paths: ${pathsToTry}`,
30
+ );
31
+ }
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+
3
+ exports.MediaStream = window.MediaStream;
4
+ exports.MediaStreamTrack = window.MediaStreamTrack;
5
+ exports.RTCDataChannel = window.RTCDataChannel;
6
+ exports.RTCDataChannelEvent = window.RTCDataChannelEvent;
7
+ exports.RTCDtlsTransport = window.RTCDtlsTransport;
8
+ exports.RTCIceCandidate = window.RTCIceCandidate;
9
+ exports.RTCIceTransport = window.RTCIceTransport;
10
+ exports.RTCPeerConnection = window.RTCPeerConnection;
11
+ exports.RTCPeerConnectionIceEvent = window.RTCPeerConnectionIceEvent;
12
+ exports.RTCRtpReceiver = window.RTCRtpReceiver;
13
+ exports.RTCRtpSender = window.RTCRtpSender;
14
+ exports.RTCRtpTransceiver = window.RTCRtpTransceiver;
15
+ exports.RTCSctpTransport = window.RTCSctpTransport;
16
+ exports.RTCSessionDescription = window.RTCSessionDescription;
17
+ exports.getUserMedia = window.getUserMedia;
18
+ exports.mediaDevices = navigator.mediaDevices;
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+
3
+ function RTCDataChannelEvent(type, eventInitDict) {
4
+ Object.defineProperties(this, {
5
+ bubbles: {
6
+ value: false,
7
+ },
8
+ cancelable: {
9
+ value: false,
10
+ },
11
+ type: {
12
+ value: type,
13
+ enumerable: true,
14
+ },
15
+ channel: {
16
+ value: eventInitDict.channel,
17
+ enumerable: true,
18
+ },
19
+ target: {
20
+ value: eventInitDict.target,
21
+ enumerable: true,
22
+ },
23
+ });
24
+ }
25
+
26
+ module.exports = RTCDataChannelEvent;
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+
3
+ function RTCDataChannelMessageEvent(message) {
4
+ this.data = message;
5
+ }
6
+
7
+ RTCDataChannelMessageEvent.prototype.type = "message";
8
+
9
+ module.exports = RTCDataChannelMessageEvent;
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+
3
+ function RTCError(code, message) {
4
+ this.name = this.reasonName[Math.min(code, this.reasonName.length - 1)];
5
+ this.message = typeof message === "string" ? message : this.name;
6
+ }
7
+
8
+ RTCError.prototype.reasonName = [
9
+ // These strings must match those defined in the WebRTC spec.
10
+ "NO_ERROR", // Should never happen -- only used for testing
11
+ "INVALID_CONSTRAINTS_TYPE",
12
+ "INVALID_CANDIDATE_TYPE",
13
+ "INVALID_STATE",
14
+ "INVALID_SESSION_DESCRIPTION",
15
+ "INCOMPATIBLE_SESSION_DESCRIPTION",
16
+ "INCOMPATIBLE_CONSTRAINTS",
17
+ "INTERNAL_ERROR",
18
+ ];
19
+
20
+ module.exports = RTCError;
@@ -0,0 +1,59 @@
1
+ "use strict";
2
+
3
+ /**
4
+ * @author mrdoob / http://mrdoob.com/
5
+ * @author Jesús Leganés Combarro "Piranna" <piranna@gmail.com>
6
+ */
7
+
8
+ function EventTarget() {
9
+ this._listeners = {};
10
+ }
11
+
12
+ EventTarget.prototype.addEventListener = function addEventListener(
13
+ type,
14
+ listener,
15
+ ) {
16
+ const listeners = (this._listeners = this._listeners || {});
17
+
18
+ if (!listeners[type]) {
19
+ listeners[type] = new Set();
20
+ }
21
+
22
+ listeners[type].add(listener);
23
+ };
24
+
25
+ EventTarget.prototype.dispatchEvent = function dispatchEvent(event) {
26
+ let listeners = (this._listeners = this._listeners || {});
27
+
28
+ process.nextTick(() => {
29
+ listeners = new Set(listeners[event.type] || []);
30
+
31
+ const dummyListener = this["on" + event.type];
32
+ if (typeof dummyListener === "function") {
33
+ listeners.add(dummyListener);
34
+ }
35
+
36
+ listeners.forEach((listener) => {
37
+ if (
38
+ typeof listener === "object" &&
39
+ typeof listener.handleEvent === "function"
40
+ ) {
41
+ listener.handleEvent(event);
42
+ } else {
43
+ listener.call(this, event);
44
+ }
45
+ });
46
+ });
47
+ };
48
+
49
+ EventTarget.prototype.removeEventListener = function removeEventListener(
50
+ type,
51
+ listener,
52
+ ) {
53
+ const listeners = (this._listeners = this._listeners || {});
54
+ if (listeners[type]) {
55
+ listeners[type].delete(listener);
56
+ }
57
+ };
58
+
59
+ module.exports = EventTarget;
@@ -0,0 +1,43 @@
1
+ "use strict";
2
+
3
+ function RTCIceCandidate(candidateInitDict) {
4
+ [
5
+ "candidate",
6
+ "sdpMid",
7
+ "sdpMLineIndex",
8
+ "foundation",
9
+ "component",
10
+ "priority",
11
+ "address",
12
+ "protocol",
13
+ "port",
14
+ "type",
15
+ "tcpType",
16
+ "relatedAddress",
17
+ "relatedPort",
18
+ "usernameFragment",
19
+ ].forEach((property) => {
20
+ if (candidateInitDict && property in candidateInitDict) {
21
+ this[property] = candidateInitDict[property];
22
+ } else {
23
+ this[property] = null;
24
+ }
25
+ });
26
+
27
+ this.toJSON = () => {
28
+ const { candidate, sdpMid, sdpMLineIndex, usernameFragment } = this;
29
+ let json = {
30
+ candidate,
31
+ sdpMid,
32
+ sdpMLineIndex,
33
+ };
34
+
35
+ if (usernameFragment) {
36
+ json.usernameFragment = usernameFragment;
37
+ }
38
+
39
+ return json;
40
+ };
41
+ }
42
+
43
+ module.exports = RTCIceCandidate;
@@ -0,0 +1,85 @@
1
+ "use strict";
2
+
3
+ const { inherits } = require("util");
4
+
5
+ const {
6
+ MediaStream,
7
+ MediaStreamTrack,
8
+ RTCAudioSink,
9
+ RTCAudioSource,
10
+ RTCDataChannel,
11
+ RTCDtlsTransport,
12
+ RTCIceTransport,
13
+ RTCRtpReceiver,
14
+ RTCRtpSender,
15
+ RTCRtpTransceiver,
16
+ RTCSctpTransport,
17
+ RTCVideoSink,
18
+ RTCVideoSource,
19
+ getUserMedia,
20
+ i420ToRgba,
21
+ rgbaToI420,
22
+ setDOMException,
23
+ } = require("./binding");
24
+
25
+ const EventTarget = require("./eventtarget");
26
+ const MediaDevices = require("./mediadevices");
27
+
28
+ inherits(MediaStream, EventTarget);
29
+ inherits(MediaStreamTrack, EventTarget);
30
+ inherits(RTCAudioSink, EventTarget);
31
+ inherits(RTCDataChannel, EventTarget);
32
+ inherits(RTCDtlsTransport, EventTarget);
33
+ inherits(RTCIceTransport, EventTarget);
34
+ inherits(RTCSctpTransport, EventTarget);
35
+ inherits(RTCVideoSink, EventTarget);
36
+
37
+ try {
38
+ setDOMException(require("domexception"));
39
+ } catch (error) {
40
+ // Do nothing
41
+ void error;
42
+ }
43
+
44
+ // NOTE(mroberts): Here's a hack to support jsdom's Blob implementation.
45
+ RTCDataChannel.prototype.send = function send(data) {
46
+ const implSymbol = Object.getOwnPropertySymbols(data).find(
47
+ (symbol) => symbol.toString() === "Symbol(impl)",
48
+ );
49
+ if (data[implSymbol] && data[implSymbol]._buffer) {
50
+ data = data[implSymbol]._buffer;
51
+ }
52
+ this._send(data);
53
+ };
54
+
55
+ const mediaDevices = new MediaDevices();
56
+
57
+ const nonstandard = {
58
+ i420ToRgba,
59
+ RTCAudioSink,
60
+ RTCAudioSource,
61
+ RTCVideoSink,
62
+ RTCVideoSource,
63
+ rgbaToI420,
64
+ };
65
+
66
+ module.exports = {
67
+ MediaStream,
68
+ MediaStreamTrack,
69
+ RTCDataChannel,
70
+ RTCDataChannelEvent: require("./datachannelevent"),
71
+ RTCDtlsTransport,
72
+ RTCIceCandidate: require("./icecandidate"),
73
+ RTCIceTransport,
74
+ RTCPeerConnection: require("./peerconnection"),
75
+ RTCPeerConnectionIceEvent: require("./rtcpeerconnectioniceevent"),
76
+ RTCPeerConnectionIceErrorEvent: require("./rtcpeerconnectioniceerrorevent"),
77
+ RTCRtpReceiver,
78
+ RTCRtpSender,
79
+ RTCRtpTransceiver,
80
+ RTCSctpTransport,
81
+ RTCSessionDescription: require("./sessiondescription"),
82
+ getUserMedia,
83
+ mediaDevices,
84
+ nonstandard,
85
+ };
@@ -0,0 +1,30 @@
1
+ "use strict";
2
+
3
+ var inherits = require("util").inherits;
4
+
5
+ const { getDisplayMedia, getUserMedia } = require("./binding");
6
+
7
+ var EventTarget = require("./eventtarget");
8
+
9
+ function MediaDevices() {}
10
+
11
+ inherits(MediaDevices, EventTarget);
12
+
13
+ MediaDevices.prototype.enumerateDevices = function enumerateDevices() {
14
+ throw new Error(
15
+ "Not yet implemented; file a feature request against node-webrtc",
16
+ );
17
+ };
18
+
19
+ MediaDevices.prototype.getSupportedConstraints =
20
+ function getSupportedConstraints() {
21
+ return {
22
+ width: true,
23
+ height: true,
24
+ };
25
+ };
26
+
27
+ MediaDevices.prototype.getDisplayMedia = getDisplayMedia;
28
+ MediaDevices.prototype.getUserMedia = getUserMedia;
29
+
30
+ module.exports = MediaDevices;