@marktrue/dsh-mobile-remote 3.2.1-alpha.2 → 3.2.1-alpha.3-app

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 (349) hide show
  1. package/DSH-Remote-v3.2.1.apk +4 -0
  2. package/README.md +6 -253
  3. package/manifest.json +21 -0
  4. package/package.json +10 -65
  5. package/CHANGELOG.md +0 -803
  6. package/CONTRIBUTING.md +0 -59
  7. package/FAQ.md +0 -111
  8. package/cordis.patch.yml +0 -14
  9. package/docs/00-/345/274/200/345/217/221/346/200/273/347/272/262.md +0 -122
  10. package/docs/01-PRD.md +0 -148
  11. package/docs/02-architecture.md +0 -249
  12. package/docs/03-api.md +0 -816
  13. package/docs/04-security.md +0 -96
  14. package/docs/05-test-cases.md +0 -326
  15. package/docs/06-install-run.md +0 -308
  16. package/docs/07-user-manual.md +0 -65
  17. package/docs/08-/346/211/251/345/261/225/345/274/200/345/217/221/346/214/207/345/215/227.md +0 -86
  18. package/docs/09-compatibility.md +0 -195
  19. package/docs/10-release.md +0 -927
  20. package/docs/screenshots/01-home.png +0 -0
  21. package/docs/screenshots/02-notifications.png +0 -0
  22. package/docs/screenshots/03-sessions.png +0 -0
  23. package/docs/screenshots/04-chat.png +0 -0
  24. package/docs/screenshots/05-settings.png +0 -0
  25. package/docs/screenshots/06-new-session.png +0 -0
  26. package/docs/screenshots/pgy-appstore.jpg +0 -0
  27. package/docs/screenshots/pgy-mobile-app.jpg +0 -0
  28. package/docs/screenshots/pgy-pc-client.jpg +0 -0
  29. package/lib/account-usage.js +0 -145
  30. package/lib/app-alignment.js +0 -112
  31. package/lib/app-carrier-store.js +0 -1972
  32. package/lib/app-carrier.js +0 -602
  33. package/lib/client.js +0 -706
  34. package/lib/desktop-form.js +0 -738
  35. package/lib/endpoint-registry.js +0 -162
  36. package/lib/git-read-bundled-provider.js +0 -255
  37. package/lib/git-read-service.js +0 -322
  38. package/lib/index.js +0 -9292
  39. package/lib/plugin-content-digest.js +0 -80
  40. package/lib/plugin-self-update.js +0 -758
  41. package/lib/plugin-update-controller.js +0 -95
  42. package/lib/plugin-update-transaction.js +0 -322
  43. package/lib/plugin-update.js +0 -309
  44. package/lib/runtime-dependency-snapshot.js +0 -345
  45. package/lib/session-title-cache.js +0 -123
  46. package/lib/session-title-refresh.js +0 -261
  47. package/lib/update-fetch.js +0 -24
  48. package/lib/update-lock-arbiter.js +0 -158
  49. package/lib/update-supervisor.js +0 -312
  50. package/node_modules/ansi-regex/index.d.ts +0 -37
  51. package/node_modules/ansi-regex/index.js +0 -10
  52. package/node_modules/ansi-regex/license +0 -9
  53. package/node_modules/ansi-regex/package.json +0 -55
  54. package/node_modules/ansi-regex/readme.md +0 -78
  55. package/node_modules/ansi-styles/index.d.ts +0 -345
  56. package/node_modules/ansi-styles/index.js +0 -163
  57. package/node_modules/ansi-styles/license +0 -9
  58. package/node_modules/ansi-styles/package.json +0 -56
  59. package/node_modules/ansi-styles/readme.md +0 -152
  60. package/node_modules/camelcase/index.d.ts +0 -63
  61. package/node_modules/camelcase/index.js +0 -76
  62. package/node_modules/camelcase/license +0 -9
  63. package/node_modules/camelcase/package.json +0 -43
  64. package/node_modules/camelcase/readme.md +0 -99
  65. package/node_modules/cliui/CHANGELOG.md +0 -76
  66. package/node_modules/cliui/LICENSE.txt +0 -14
  67. package/node_modules/cliui/README.md +0 -115
  68. package/node_modules/cliui/index.js +0 -354
  69. package/node_modules/cliui/package.json +0 -65
  70. package/node_modules/color-convert/CHANGELOG.md +0 -54
  71. package/node_modules/color-convert/LICENSE +0 -21
  72. package/node_modules/color-convert/README.md +0 -68
  73. package/node_modules/color-convert/conversions.js +0 -839
  74. package/node_modules/color-convert/index.js +0 -81
  75. package/node_modules/color-convert/package.json +0 -48
  76. package/node_modules/color-convert/route.js +0 -97
  77. package/node_modules/color-name/LICENSE +0 -8
  78. package/node_modules/color-name/README.md +0 -11
  79. package/node_modules/color-name/index.js +0 -152
  80. package/node_modules/color-name/package.json +0 -28
  81. package/node_modules/decamelize/index.js +0 -13
  82. package/node_modules/decamelize/license +0 -21
  83. package/node_modules/decamelize/package.json +0 -38
  84. package/node_modules/decamelize/readme.md +0 -48
  85. package/node_modules/dijkstrajs/.travis.yml +0 -4
  86. package/node_modules/dijkstrajs/CONTRIBUTING.md +0 -8
  87. package/node_modules/dijkstrajs/LICENSE.md +0 -19
  88. package/node_modules/dijkstrajs/README.md +0 -18
  89. package/node_modules/dijkstrajs/dijkstra.js +0 -165
  90. package/node_modules/dijkstrajs/package.json +0 -60
  91. package/node_modules/dijkstrajs/test/dijkstra.test.js +0 -96
  92. package/node_modules/emoji-regex/LICENSE-MIT.txt +0 -20
  93. package/node_modules/emoji-regex/README.md +0 -73
  94. package/node_modules/emoji-regex/es2015/index.js +0 -6
  95. package/node_modules/emoji-regex/es2015/text.js +0 -6
  96. package/node_modules/emoji-regex/index.d.ts +0 -23
  97. package/node_modules/emoji-regex/index.js +0 -6
  98. package/node_modules/emoji-regex/package.json +0 -50
  99. package/node_modules/emoji-regex/text.js +0 -6
  100. package/node_modules/find-up/index.d.ts +0 -137
  101. package/node_modules/find-up/index.js +0 -89
  102. package/node_modules/find-up/license +0 -9
  103. package/node_modules/find-up/package.json +0 -53
  104. package/node_modules/find-up/readme.md +0 -156
  105. package/node_modules/get-caller-file/LICENSE.md +0 -6
  106. package/node_modules/get-caller-file/README.md +0 -41
  107. package/node_modules/get-caller-file/index.d.ts +0 -2
  108. package/node_modules/get-caller-file/index.js +0 -22
  109. package/node_modules/get-caller-file/index.js.map +0 -1
  110. package/node_modules/get-caller-file/package.json +0 -42
  111. package/node_modules/is-fullwidth-code-point/index.d.ts +0 -17
  112. package/node_modules/is-fullwidth-code-point/index.js +0 -50
  113. package/node_modules/is-fullwidth-code-point/license +0 -9
  114. package/node_modules/is-fullwidth-code-point/package.json +0 -42
  115. package/node_modules/is-fullwidth-code-point/readme.md +0 -39
  116. package/node_modules/locate-path/index.d.ts +0 -83
  117. package/node_modules/locate-path/index.js +0 -65
  118. package/node_modules/locate-path/license +0 -9
  119. package/node_modules/locate-path/package.json +0 -45
  120. package/node_modules/locate-path/readme.md +0 -122
  121. package/node_modules/p-limit/index.d.ts +0 -38
  122. package/node_modules/p-limit/index.js +0 -57
  123. package/node_modules/p-limit/license +0 -9
  124. package/node_modules/p-limit/package.json +0 -52
  125. package/node_modules/p-limit/readme.md +0 -101
  126. package/node_modules/p-locate/index.d.ts +0 -64
  127. package/node_modules/p-locate/index.js +0 -52
  128. package/node_modules/p-locate/license +0 -9
  129. package/node_modules/p-locate/package.json +0 -53
  130. package/node_modules/p-locate/readme.md +0 -90
  131. package/node_modules/p-try/index.d.ts +0 -39
  132. package/node_modules/p-try/index.js +0 -9
  133. package/node_modules/p-try/license +0 -9
  134. package/node_modules/p-try/package.json +0 -42
  135. package/node_modules/p-try/readme.md +0 -58
  136. package/node_modules/path-exists/index.d.ts +0 -28
  137. package/node_modules/path-exists/index.js +0 -23
  138. package/node_modules/path-exists/license +0 -9
  139. package/node_modules/path-exists/package.json +0 -39
  140. package/node_modules/path-exists/readme.md +0 -52
  141. package/node_modules/pngjs/.eslintignore +0 -2
  142. package/node_modules/pngjs/.eslintrc.json +0 -19
  143. package/node_modules/pngjs/.prettierignore +0 -3
  144. package/node_modules/pngjs/LICENSE +0 -20
  145. package/node_modules/pngjs/README.md +0 -429
  146. package/node_modules/pngjs/browser.js +0 -16096
  147. package/node_modules/pngjs/coverage/lcov-report/base.css +0 -354
  148. package/node_modules/pngjs/coverage/lcov-report/bitmapper.js.html +0 -881
  149. package/node_modules/pngjs/coverage/lcov-report/bitpacker.js.html +0 -554
  150. package/node_modules/pngjs/coverage/lcov-report/block-navigation.js +0 -77
  151. package/node_modules/pngjs/coverage/lcov-report/chunkstream.js.html +0 -647
  152. package/node_modules/pngjs/coverage/lcov-report/constants.js.html +0 -176
  153. package/node_modules/pngjs/coverage/lcov-report/crc.js.html +0 -200
  154. package/node_modules/pngjs/coverage/lcov-report/favicon.png +0 -0
  155. package/node_modules/pngjs/coverage/lcov-report/filter-pack.js.html +0 -593
  156. package/node_modules/pngjs/coverage/lcov-report/filter-parse-async.js.html +0 -152
  157. package/node_modules/pngjs/coverage/lcov-report/filter-parse-sync.js.html +0 -143
  158. package/node_modules/pngjs/coverage/lcov-report/filter-parse.js.html +0 -611
  159. package/node_modules/pngjs/coverage/lcov-report/format-normaliser.js.html +0 -359
  160. package/node_modules/pngjs/coverage/lcov-report/index.html +0 -426
  161. package/node_modules/pngjs/coverage/lcov-report/interlace.js.html +0 -365
  162. package/node_modules/pngjs/coverage/lcov-report/packer-async.js.html +0 -230
  163. package/node_modules/pngjs/coverage/lcov-report/packer-sync.js.html +0 -248
  164. package/node_modules/pngjs/coverage/lcov-report/packer.js.html +0 -467
  165. package/node_modules/pngjs/coverage/lcov-report/paeth-predictor.js.html +0 -128
  166. package/node_modules/pngjs/coverage/lcov-report/parser-async.js.html +0 -575
  167. package/node_modules/pngjs/coverage/lcov-report/parser-sync.js.html +0 -404
  168. package/node_modules/pngjs/coverage/lcov-report/parser.js.html +0 -950
  169. package/node_modules/pngjs/coverage/lcov-report/png-sync.js.html +0 -116
  170. package/node_modules/pngjs/coverage/lcov-report/png.js.html +0 -662
  171. package/node_modules/pngjs/coverage/lcov-report/prettify.css +0 -101
  172. package/node_modules/pngjs/coverage/lcov-report/prettify.js +0 -1007
  173. package/node_modules/pngjs/coverage/lcov-report/sort-arrow-sprite.png +0 -0
  174. package/node_modules/pngjs/coverage/lcov-report/sorter.js +0 -169
  175. package/node_modules/pngjs/coverage/lcov-report/sync-inflate.js.html +0 -584
  176. package/node_modules/pngjs/coverage/lcov-report/sync-reader.js.html +0 -215
  177. package/node_modules/pngjs/coverage/lcov.info +0 -2177
  178. package/node_modules/pngjs/lib/bitmapper.js +0 -267
  179. package/node_modules/pngjs/lib/bitpacker.js +0 -158
  180. package/node_modules/pngjs/lib/chunkstream.js +0 -189
  181. package/node_modules/pngjs/lib/constants.js +0 -32
  182. package/node_modules/pngjs/lib/crc.js +0 -40
  183. package/node_modules/pngjs/lib/filter-pack.js +0 -171
  184. package/node_modules/pngjs/lib/filter-parse-async.js +0 -24
  185. package/node_modules/pngjs/lib/filter-parse-sync.js +0 -21
  186. package/node_modules/pngjs/lib/filter-parse.js +0 -177
  187. package/node_modules/pngjs/lib/format-normaliser.js +0 -93
  188. package/node_modules/pngjs/lib/interlace.js +0 -95
  189. package/node_modules/pngjs/lib/packer-async.js +0 -50
  190. package/node_modules/pngjs/lib/packer-sync.js +0 -56
  191. package/node_modules/pngjs/lib/packer.js +0 -129
  192. package/node_modules/pngjs/lib/paeth-predictor.js +0 -16
  193. package/node_modules/pngjs/lib/parser-async.js +0 -165
  194. package/node_modules/pngjs/lib/parser-sync.js +0 -108
  195. package/node_modules/pngjs/lib/parser.js +0 -290
  196. package/node_modules/pngjs/lib/png-sync.js +0 -12
  197. package/node_modules/pngjs/lib/png.js +0 -194
  198. package/node_modules/pngjs/lib/sync-inflate.js +0 -168
  199. package/node_modules/pngjs/lib/sync-reader.js +0 -45
  200. package/node_modules/pngjs/package.json +0 -73
  201. package/node_modules/qrcode/README.md +0 -770
  202. package/node_modules/qrcode/bin/qrcode +0 -159
  203. package/node_modules/qrcode/helper/to-sjis-browser.js +0 -2
  204. package/node_modules/qrcode/helper/to-sjis.js +0 -105
  205. package/node_modules/qrcode/lib/browser.js +0 -76
  206. package/node_modules/qrcode/lib/can-promise.js +0 -7
  207. package/node_modules/qrcode/lib/core/alignment-pattern.js +0 -83
  208. package/node_modules/qrcode/lib/core/alphanumeric-data.js +0 -59
  209. package/node_modules/qrcode/lib/core/bit-buffer.js +0 -37
  210. package/node_modules/qrcode/lib/core/bit-matrix.js +0 -65
  211. package/node_modules/qrcode/lib/core/byte-data.js +0 -30
  212. package/node_modules/qrcode/lib/core/error-correction-code.js +0 -135
  213. package/node_modules/qrcode/lib/core/error-correction-level.js +0 -50
  214. package/node_modules/qrcode/lib/core/finder-pattern.js +0 -22
  215. package/node_modules/qrcode/lib/core/format-info.js +0 -29
  216. package/node_modules/qrcode/lib/core/galois-field.js +0 -69
  217. package/node_modules/qrcode/lib/core/kanji-data.js +0 -54
  218. package/node_modules/qrcode/lib/core/mask-pattern.js +0 -234
  219. package/node_modules/qrcode/lib/core/mode.js +0 -167
  220. package/node_modules/qrcode/lib/core/numeric-data.js +0 -43
  221. package/node_modules/qrcode/lib/core/polynomial.js +0 -62
  222. package/node_modules/qrcode/lib/core/qrcode.js +0 -495
  223. package/node_modules/qrcode/lib/core/reed-solomon-encoder.js +0 -56
  224. package/node_modules/qrcode/lib/core/regex.js +0 -31
  225. package/node_modules/qrcode/lib/core/segments.js +0 -330
  226. package/node_modules/qrcode/lib/core/utils.js +0 -63
  227. package/node_modules/qrcode/lib/core/version-check.js +0 -9
  228. package/node_modules/qrcode/lib/core/version.js +0 -163
  229. package/node_modules/qrcode/lib/index.js +0 -12
  230. package/node_modules/qrcode/lib/renderer/canvas.js +0 -63
  231. package/node_modules/qrcode/lib/renderer/png.js +0 -78
  232. package/node_modules/qrcode/lib/renderer/svg-tag.js +0 -81
  233. package/node_modules/qrcode/lib/renderer/svg.js +0 -19
  234. package/node_modules/qrcode/lib/renderer/terminal/terminal-small.js +0 -85
  235. package/node_modules/qrcode/lib/renderer/terminal/terminal.js +0 -49
  236. package/node_modules/qrcode/lib/renderer/terminal.js +0 -9
  237. package/node_modules/qrcode/lib/renderer/utf8.js +0 -71
  238. package/node_modules/qrcode/lib/renderer/utils.js +0 -99
  239. package/node_modules/qrcode/lib/server.js +0 -138
  240. package/node_modules/qrcode/license +0 -10
  241. package/node_modules/qrcode/package.json +0 -77
  242. package/node_modules/require-directory/.jshintrc +0 -67
  243. package/node_modules/require-directory/.npmignore +0 -1
  244. package/node_modules/require-directory/.travis.yml +0 -3
  245. package/node_modules/require-directory/LICENSE +0 -22
  246. package/node_modules/require-directory/README.markdown +0 -184
  247. package/node_modules/require-directory/index.js +0 -86
  248. package/node_modules/require-directory/package.json +0 -40
  249. package/node_modules/require-main-filename/CHANGELOG.md +0 -26
  250. package/node_modules/require-main-filename/LICENSE.txt +0 -14
  251. package/node_modules/require-main-filename/README.md +0 -26
  252. package/node_modules/require-main-filename/index.js +0 -18
  253. package/node_modules/require-main-filename/package.json +0 -35
  254. package/node_modules/set-blocking/CHANGELOG.md +0 -26
  255. package/node_modules/set-blocking/LICENSE.txt +0 -14
  256. package/node_modules/set-blocking/README.md +0 -31
  257. package/node_modules/set-blocking/index.js +0 -7
  258. package/node_modules/set-blocking/package.json +0 -42
  259. package/node_modules/string-width/index.d.ts +0 -29
  260. package/node_modules/string-width/index.js +0 -47
  261. package/node_modules/string-width/license +0 -9
  262. package/node_modules/string-width/package.json +0 -56
  263. package/node_modules/string-width/readme.md +0 -50
  264. package/node_modules/strip-ansi/index.d.ts +0 -17
  265. package/node_modules/strip-ansi/index.js +0 -4
  266. package/node_modules/strip-ansi/license +0 -9
  267. package/node_modules/strip-ansi/package.json +0 -54
  268. package/node_modules/strip-ansi/readme.md +0 -46
  269. package/node_modules/which-module/LICENSE +0 -13
  270. package/node_modules/which-module/README.md +0 -58
  271. package/node_modules/which-module/index.js +0 -9
  272. package/node_modules/which-module/package.json +0 -41
  273. package/node_modules/wrap-ansi/index.js +0 -186
  274. package/node_modules/wrap-ansi/license +0 -9
  275. package/node_modules/wrap-ansi/package.json +0 -61
  276. package/node_modules/wrap-ansi/readme.md +0 -97
  277. package/node_modules/y18n/CHANGELOG.md +0 -35
  278. package/node_modules/y18n/LICENSE +0 -13
  279. package/node_modules/y18n/README.md +0 -109
  280. package/node_modules/y18n/index.js +0 -188
  281. package/node_modules/y18n/package.json +0 -39
  282. package/node_modules/yargs/CHANGELOG.md +0 -420
  283. package/node_modules/yargs/LICENSE +0 -21
  284. package/node_modules/yargs/README.md +0 -140
  285. package/node_modules/yargs/build/lib/apply-extends.d.ts +0 -2
  286. package/node_modules/yargs/build/lib/apply-extends.js +0 -65
  287. package/node_modules/yargs/build/lib/argsert.d.ts +0 -2
  288. package/node_modules/yargs/build/lib/argsert.js +0 -65
  289. package/node_modules/yargs/build/lib/command.d.ts +0 -64
  290. package/node_modules/yargs/build/lib/command.js +0 -416
  291. package/node_modules/yargs/build/lib/common-types.d.ts +0 -36
  292. package/node_modules/yargs/build/lib/common-types.js +0 -25
  293. package/node_modules/yargs/build/lib/completion-templates.d.ts +0 -2
  294. package/node_modules/yargs/build/lib/completion-templates.js +0 -50
  295. package/node_modules/yargs/build/lib/completion.d.ts +0 -21
  296. package/node_modules/yargs/build/lib/completion.js +0 -135
  297. package/node_modules/yargs/build/lib/is-promise.d.ts +0 -1
  298. package/node_modules/yargs/build/lib/is-promise.js +0 -9
  299. package/node_modules/yargs/build/lib/levenshtein.d.ts +0 -1
  300. package/node_modules/yargs/build/lib/levenshtein.js +0 -58
  301. package/node_modules/yargs/build/lib/middleware.d.ts +0 -10
  302. package/node_modules/yargs/build/lib/middleware.js +0 -57
  303. package/node_modules/yargs/build/lib/obj-filter.d.ts +0 -1
  304. package/node_modules/yargs/build/lib/obj-filter.js +0 -14
  305. package/node_modules/yargs/build/lib/parse-command.d.ts +0 -11
  306. package/node_modules/yargs/build/lib/parse-command.js +0 -36
  307. package/node_modules/yargs/build/lib/process-argv.d.ts +0 -2
  308. package/node_modules/yargs/build/lib/process-argv.js +0 -31
  309. package/node_modules/yargs/build/lib/usage.d.ts +0 -49
  310. package/node_modules/yargs/build/lib/usage.js +0 -540
  311. package/node_modules/yargs/build/lib/validation.d.ts +0 -34
  312. package/node_modules/yargs/build/lib/validation.js +0 -330
  313. package/node_modules/yargs/build/lib/yargs.d.ts +0 -274
  314. package/node_modules/yargs/build/lib/yargs.js +0 -1190
  315. package/node_modules/yargs/build/lib/yerror.d.ts +0 -4
  316. package/node_modules/yargs/build/lib/yerror.js +0 -11
  317. package/node_modules/yargs/index.js +0 -40
  318. package/node_modules/yargs/locales/be.json +0 -46
  319. package/node_modules/yargs/locales/de.json +0 -46
  320. package/node_modules/yargs/locales/en.json +0 -51
  321. package/node_modules/yargs/locales/es.json +0 -46
  322. package/node_modules/yargs/locales/fi.json +0 -49
  323. package/node_modules/yargs/locales/fr.json +0 -53
  324. package/node_modules/yargs/locales/hi.json +0 -49
  325. package/node_modules/yargs/locales/hu.json +0 -46
  326. package/node_modules/yargs/locales/id.json +0 -50
  327. package/node_modules/yargs/locales/it.json +0 -46
  328. package/node_modules/yargs/locales/ja.json +0 -51
  329. package/node_modules/yargs/locales/ko.json +0 -49
  330. package/node_modules/yargs/locales/nb.json +0 -44
  331. package/node_modules/yargs/locales/nl.json +0 -49
  332. package/node_modules/yargs/locales/nn.json +0 -44
  333. package/node_modules/yargs/locales/pirate.json +0 -13
  334. package/node_modules/yargs/locales/pl.json +0 -49
  335. package/node_modules/yargs/locales/pt.json +0 -45
  336. package/node_modules/yargs/locales/pt_BR.json +0 -48
  337. package/node_modules/yargs/locales/ru.json +0 -46
  338. package/node_modules/yargs/locales/th.json +0 -46
  339. package/node_modules/yargs/locales/tr.json +0 -48
  340. package/node_modules/yargs/locales/zh_CN.json +0 -48
  341. package/node_modules/yargs/locales/zh_TW.json +0 -47
  342. package/node_modules/yargs/package.json +0 -92
  343. package/node_modules/yargs/yargs.js +0 -14
  344. package/node_modules/yargs-parser/CHANGELOG.md +0 -601
  345. package/node_modules/yargs-parser/LICENSE.txt +0 -14
  346. package/node_modules/yargs-parser/README.md +0 -449
  347. package/node_modules/yargs-parser/index.js +0 -1032
  348. package/node_modules/yargs-parser/lib/tokenize-arg-string.js +0 -40
  349. package/node_modules/yargs-parser/package.json +0 -46
@@ -1,77 +0,0 @@
1
- {
2
- "name": "qrcode",
3
- "description": "QRCode / 2d Barcode api with both server side and client side support using canvas",
4
- "version": "1.5.4",
5
- "author": "Ryan Day <soldair@gmail.com>",
6
- "contributors": [
7
- "Vincenzo Greco <greco.vincenzo@gmail.com>",
8
- "Linus Unnebäck <linus@folkdatorn.se>"
9
- ],
10
- "keywords": [
11
- "qr",
12
- "code",
13
- "canvas",
14
- "qrcode"
15
- ],
16
- "main": "./lib/index.js",
17
- "browser": {
18
- "./lib/index.js": "./lib/browser.js",
19
- "fs": false
20
- },
21
- "files": [
22
- "bin",
23
- "build",
24
- "lib",
25
- "helper"
26
- ],
27
- "homepage": "http://github.com/soldair/node-qrcode",
28
- "license": "MIT",
29
- "scripts": {
30
- "lint": "standard",
31
- "pretest": "npm run lint",
32
- "test": "node --throw-deprecation test.js",
33
- "build": "rollup -c",
34
- "prepublish": "npm run build",
35
- "browser": "node examples/clientsideserver.js"
36
- },
37
- "bin": {
38
- "qrcode": "./bin/qrcode"
39
- },
40
- "dependencies": {
41
- "dijkstrajs": "^1.0.1",
42
- "pngjs": "^5.0.0",
43
- "yargs": "^15.3.1"
44
- },
45
- "devDependencies": {
46
- "@babel/core": "^7.9.0",
47
- "@babel/preset-env": "^7.9.5",
48
- "@rollup/plugin-commonjs": "^11.1.0",
49
- "@rollup/plugin-node-resolve": "^7.1.3",
50
- "browserify": "^16.5.1",
51
- "canvas": "^2.8.0",
52
- "canvasutil": "0.0.4",
53
- "colors": "^1.4.0",
54
- "express": "^4.17.1",
55
- "htmlparser2": "^4.1.0",
56
- "rollup": "^2.6.1",
57
- "rollup-plugin-babel": "^4.4.0",
58
- "rollup-plugin-terser": "^5.3.0",
59
- "sinon": "^9.0.2",
60
- "standard": "^16.0.4",
61
- "tap": "^16.2.0"
62
- },
63
- "repository": {
64
- "type": "git",
65
- "url": "git://github.com/soldair/node-qrcode.git"
66
- },
67
- "engines": {
68
- "node": ">=10.13.0"
69
- },
70
- "standard": {
71
- "ignore": [
72
- "build/",
73
- "examples/vendors/",
74
- "lib/core/regex.js"
75
- ]
76
- }
77
- }
@@ -1,67 +0,0 @@
1
- {
2
- "maxerr" : 50,
3
- "bitwise" : true,
4
- "camelcase" : true,
5
- "curly" : true,
6
- "eqeqeq" : true,
7
- "forin" : true,
8
- "immed" : true,
9
- "indent" : 2,
10
- "latedef" : true,
11
- "newcap" : true,
12
- "noarg" : true,
13
- "noempty" : true,
14
- "nonew" : true,
15
- "plusplus" : true,
16
- "quotmark" : true,
17
- "undef" : true,
18
- "unused" : true,
19
- "strict" : true,
20
- "trailing" : true,
21
- "maxparams" : false,
22
- "maxdepth" : false,
23
- "maxstatements" : false,
24
- "maxcomplexity" : false,
25
- "maxlen" : false,
26
- "asi" : false,
27
- "boss" : false,
28
- "debug" : false,
29
- "eqnull" : true,
30
- "es5" : false,
31
- "esnext" : false,
32
- "moz" : false,
33
- "evil" : false,
34
- "expr" : true,
35
- "funcscope" : true,
36
- "globalstrict" : true,
37
- "iterator" : true,
38
- "lastsemic" : false,
39
- "laxbreak" : false,
40
- "laxcomma" : false,
41
- "loopfunc" : false,
42
- "multistr" : false,
43
- "proto" : false,
44
- "scripturl" : false,
45
- "smarttabs" : false,
46
- "shadow" : false,
47
- "sub" : false,
48
- "supernew" : false,
49
- "validthis" : false,
50
- "browser" : true,
51
- "couch" : false,
52
- "devel" : true,
53
- "dojo" : false,
54
- "jquery" : false,
55
- "mootools" : false,
56
- "node" : true,
57
- "nonstandard" : false,
58
- "prototypejs" : false,
59
- "rhino" : false,
60
- "worker" : false,
61
- "wsh" : false,
62
- "yui" : false,
63
- "nomen" : true,
64
- "onevar" : true,
65
- "passfail" : false,
66
- "white" : true
67
- }
@@ -1 +0,0 @@
1
- test/**
@@ -1,3 +0,0 @@
1
- language: node_js
2
- node_js:
3
- - 0.10
@@ -1,22 +0,0 @@
1
- The MIT License (MIT)
2
-
3
- Copyright (c) 2011 Troy Goode <troygoode@gmail.com>
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a
6
- copy of this software and associated documentation files (the
7
- "Software"), to deal in the Software without restriction, including
8
- without limitation the rights to use, copy, modify, merge, publish,
9
- distribute, sublicense, and/or sell copies of the Software, and to
10
- permit persons to whom the Software is furnished to do so, subject to
11
- the following conditions:
12
-
13
- The above copyright notice and this permission notice shall be included
14
- in all copies or substantial portions of the Software.
15
-
16
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
17
- OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
19
- IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
20
- CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
21
- TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
22
- SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -1,184 +0,0 @@
1
- # require-directory
2
-
3
- Recursively iterates over specified directory, `require()`'ing each file, and returning a nested hash structure containing those modules.
4
-
5
- **[Follow me (@troygoode) on Twitter!](https://twitter.com/intent/user?screen_name=troygoode)**
6
-
7
- [![NPM](https://nodei.co/npm/require-directory.png?downloads=true&stars=true)](https://nodei.co/npm/require-directory/)
8
-
9
- [![build status](https://secure.travis-ci.org/troygoode/node-require-directory.png)](http://travis-ci.org/troygoode/node-require-directory)
10
-
11
- ## How To Use
12
-
13
- ### Installation (via [npm](https://npmjs.org/package/require-directory))
14
-
15
- ```bash
16
- $ npm install require-directory
17
- ```
18
-
19
- ### Usage
20
-
21
- A common pattern in node.js is to include an index file which creates a hash of the files in its current directory. Given a directory structure like so:
22
-
23
- * app.js
24
- * routes/
25
- * index.js
26
- * home.js
27
- * auth/
28
- * login.js
29
- * logout.js
30
- * register.js
31
-
32
- `routes/index.js` uses `require-directory` to build the hash (rather than doing so manually) like so:
33
-
34
- ```javascript
35
- var requireDirectory = require('require-directory');
36
- module.exports = requireDirectory(module);
37
- ```
38
-
39
- `app.js` references `routes/index.js` like any other module, but it now has a hash/tree of the exports from the `./routes/` directory:
40
-
41
- ```javascript
42
- var routes = require('./routes');
43
-
44
- // snip
45
-
46
- app.get('/', routes.home);
47
- app.get('/register', routes.auth.register);
48
- app.get('/login', routes.auth.login);
49
- app.get('/logout', routes.auth.logout);
50
- ```
51
-
52
- The `routes` variable above is the equivalent of this:
53
-
54
- ```javascript
55
- var routes = {
56
- home: require('routes/home.js'),
57
- auth: {
58
- login: require('routes/auth/login.js'),
59
- logout: require('routes/auth/logout.js'),
60
- register: require('routes/auth/register.js')
61
- }
62
- };
63
- ```
64
-
65
- *Note that `routes.index` will be `undefined` as you would hope.*
66
-
67
- ### Specifying Another Directory
68
-
69
- You can specify which directory you want to build a tree of (if it isn't the current directory for whatever reason) by passing it as the second parameter. Not specifying the path (`requireDirectory(module)`) is the equivelant of `requireDirectory(module, __dirname)`:
70
-
71
- ```javascript
72
- var requireDirectory = require('require-directory');
73
- module.exports = requireDirectory(module, './some/subdirectory');
74
- ```
75
-
76
- For example, in the [example in the Usage section](#usage) we could have avoided creating `routes/index.js` and instead changed the first lines of `app.js` to:
77
-
78
- ```javascript
79
- var requireDirectory = require('require-directory');
80
- var routes = requireDirectory(module, './routes');
81
- ```
82
-
83
- ## Options
84
-
85
- You can pass an options hash to `require-directory` as the 2nd parameter (or 3rd if you're passing the path to another directory as the 2nd parameter already). Here are the available options:
86
-
87
- ### Whitelisting
88
-
89
- Whitelisting (either via RegExp or function) allows you to specify that only certain files be loaded.
90
-
91
- ```javascript
92
- var requireDirectory = require('require-directory'),
93
- whitelist = /onlyinclude.js$/,
94
- hash = requireDirectory(module, {include: whitelist});
95
- ```
96
-
97
- ```javascript
98
- var requireDirectory = require('require-directory'),
99
- check = function(path){
100
- if(/onlyinclude.js$/.test(path)){
101
- return true; // don't include
102
- }else{
103
- return false; // go ahead and include
104
- }
105
- },
106
- hash = requireDirectory(module, {include: check});
107
- ```
108
-
109
- ### Blacklisting
110
-
111
- Blacklisting (either via RegExp or function) allows you to specify that all but certain files should be loaded.
112
-
113
- ```javascript
114
- var requireDirectory = require('require-directory'),
115
- blacklist = /dontinclude\.js$/,
116
- hash = requireDirectory(module, {exclude: blacklist});
117
- ```
118
-
119
- ```javascript
120
- var requireDirectory = require('require-directory'),
121
- check = function(path){
122
- if(/dontinclude\.js$/.test(path)){
123
- return false; // don't include
124
- }else{
125
- return true; // go ahead and include
126
- }
127
- },
128
- hash = requireDirectory(module, {exclude: check});
129
- ```
130
-
131
- ### Visiting Objects As They're Loaded
132
-
133
- `require-directory` takes a function as the `visit` option that will be called for each module that is added to module.exports.
134
-
135
- ```javascript
136
- var requireDirectory = require('require-directory'),
137
- visitor = function(obj) {
138
- console.log(obj); // will be called for every module that is loaded
139
- },
140
- hash = requireDirectory(module, {visit: visitor});
141
- ```
142
-
143
- The visitor can also transform the objects by returning a value:
144
-
145
- ```javascript
146
- var requireDirectory = require('require-directory'),
147
- visitor = function(obj) {
148
- return obj(new Date());
149
- },
150
- hash = requireDirectory(module, {visit: visitor});
151
- ```
152
-
153
- ### Renaming Keys
154
-
155
- ```javascript
156
- var requireDirectory = require('require-directory'),
157
- renamer = function(name) {
158
- return name.toUpperCase();
159
- },
160
- hash = requireDirectory(module, {rename: renamer});
161
- ```
162
-
163
- ### No Recursion
164
-
165
- ```javascript
166
- var requireDirectory = require('require-directory'),
167
- hash = requireDirectory(module, {recurse: false});
168
- ```
169
-
170
- ## Run Unit Tests
171
-
172
- ```bash
173
- $ npm run lint
174
- $ npm test
175
- ```
176
-
177
- ## License
178
-
179
- [MIT License](http://www.opensource.org/licenses/mit-license.php)
180
-
181
- ## Author
182
-
183
- [Troy Goode](https://github.com/TroyGoode) ([troygoode@gmail.com](mailto:troygoode@gmail.com))
184
-
@@ -1,86 +0,0 @@
1
- 'use strict';
2
-
3
- var fs = require('fs'),
4
- join = require('path').join,
5
- resolve = require('path').resolve,
6
- dirname = require('path').dirname,
7
- defaultOptions = {
8
- extensions: ['js', 'json', 'coffee'],
9
- recurse: true,
10
- rename: function (name) {
11
- return name;
12
- },
13
- visit: function (obj) {
14
- return obj;
15
- }
16
- };
17
-
18
- function checkFileInclusion(path, filename, options) {
19
- return (
20
- // verify file has valid extension
21
- (new RegExp('\\.(' + options.extensions.join('|') + ')$', 'i').test(filename)) &&
22
-
23
- // if options.include is a RegExp, evaluate it and make sure the path passes
24
- !(options.include && options.include instanceof RegExp && !options.include.test(path)) &&
25
-
26
- // if options.include is a function, evaluate it and make sure the path passes
27
- !(options.include && typeof options.include === 'function' && !options.include(path, filename)) &&
28
-
29
- // if options.exclude is a RegExp, evaluate it and make sure the path doesn't pass
30
- !(options.exclude && options.exclude instanceof RegExp && options.exclude.test(path)) &&
31
-
32
- // if options.exclude is a function, evaluate it and make sure the path doesn't pass
33
- !(options.exclude && typeof options.exclude === 'function' && options.exclude(path, filename))
34
- );
35
- }
36
-
37
- function requireDirectory(m, path, options) {
38
- var retval = {};
39
-
40
- // path is optional
41
- if (path && !options && typeof path !== 'string') {
42
- options = path;
43
- path = null;
44
- }
45
-
46
- // default options
47
- options = options || {};
48
- for (var prop in defaultOptions) {
49
- if (typeof options[prop] === 'undefined') {
50
- options[prop] = defaultOptions[prop];
51
- }
52
- }
53
-
54
- // if no path was passed in, assume the equivelant of __dirname from caller
55
- // otherwise, resolve path relative to the equivalent of __dirname
56
- path = !path ? dirname(m.filename) : resolve(dirname(m.filename), path);
57
-
58
- // get the path of each file in specified directory, append to current tree node, recurse
59
- fs.readdirSync(path).forEach(function (filename) {
60
- var joined = join(path, filename),
61
- files,
62
- key,
63
- obj;
64
-
65
- if (fs.statSync(joined).isDirectory() && options.recurse) {
66
- // this node is a directory; recurse
67
- files = requireDirectory(m, joined, options);
68
- // exclude empty directories
69
- if (Object.keys(files).length) {
70
- retval[options.rename(filename, joined, filename)] = files;
71
- }
72
- } else {
73
- if (joined !== m.filename && checkFileInclusion(joined, filename, options)) {
74
- // hash node key shouldn't include file extension
75
- key = filename.substring(0, filename.lastIndexOf('.'));
76
- obj = m.require(joined);
77
- retval[options.rename(key, joined, filename)] = options.visit(obj, joined, filename) || obj;
78
- }
79
- }
80
- });
81
-
82
- return retval;
83
- }
84
-
85
- module.exports = requireDirectory;
86
- module.exports.defaults = defaultOptions;
@@ -1,40 +0,0 @@
1
- {
2
- "author": "Troy Goode <troygoode@gmail.com> (http://github.com/troygoode/)",
3
- "name": "require-directory",
4
- "version": "2.1.1",
5
- "description": "Recursively iterates over specified directory, require()'ing each file, and returning a nested hash structure containing those modules.",
6
- "keywords": [
7
- "require",
8
- "directory",
9
- "library",
10
- "recursive"
11
- ],
12
- "homepage": "https://github.com/troygoode/node-require-directory/",
13
- "main": "index.js",
14
- "repository": {
15
- "type": "git",
16
- "url": "git://github.com/troygoode/node-require-directory.git"
17
- },
18
- "contributors": [
19
- {
20
- "name": "Troy Goode",
21
- "email": "troygoode@gmail.com",
22
- "web": "http://github.com/troygoode/"
23
- }
24
- ],
25
- "license": "MIT",
26
- "bugs": {
27
- "url": "http://github.com/troygoode/node-require-directory/issues/"
28
- },
29
- "engines": {
30
- "node": ">=0.10.0"
31
- },
32
- "devDependencies": {
33
- "jshint": "^2.6.0",
34
- "mocha": "^2.1.0"
35
- },
36
- "scripts": {
37
- "test": "mocha",
38
- "lint": "jshint index.js test/test.js"
39
- }
40
- }
@@ -1,26 +0,0 @@
1
- # Change Log
2
-
3
- All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
-
5
- <a name="2.0.0"></a>
6
- # [2.0.0](https://github.com/yargs/require-main-filename/compare/v1.0.2...v2.0.0) (2019-01-28)
7
-
8
-
9
- ### Chores
10
-
11
- * drop support for Node 0.10 ([#11](https://github.com/yargs/require-main-filename/issues/11)) ([87f4e13](https://github.com/yargs/require-main-filename/commit/87f4e13))
12
-
13
-
14
- ### BREAKING CHANGES
15
-
16
- * drop support for Node 0.10/0.12
17
-
18
-
19
-
20
- <a name="1.0.2"></a>
21
- ## [1.0.2](https://github.com/yargs/require-main-filename/compare/v1.0.1...v1.0.2) (2017-06-16)
22
-
23
-
24
- ### Bug Fixes
25
-
26
- * add files to package.json ([#4](https://github.com/yargs/require-main-filename/issues/4)) ([fa29988](https://github.com/yargs/require-main-filename/commit/fa29988))
@@ -1,14 +0,0 @@
1
- Copyright (c) 2016, Contributors
2
-
3
- Permission to use, copy, modify, and/or distribute this software
4
- for any purpose with or without fee is hereby granted, provided
5
- that the above copyright notice and this permission notice
6
- appear in all copies.
7
-
8
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
9
- WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES
10
- OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE
11
- LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
12
- OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
13
- WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
14
- ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
@@ -1,26 +0,0 @@
1
- # require-main-filename
2
-
3
- [![Build Status](https://travis-ci.org/yargs/require-main-filename.png)](https://travis-ci.org/yargs/require-main-filename)
4
- [![Coverage Status](https://coveralls.io/repos/yargs/require-main-filename/badge.svg?branch=master)](https://coveralls.io/r/yargs/require-main-filename?branch=master)
5
- [![NPM version](https://img.shields.io/npm/v/require-main-filename.svg)](https://www.npmjs.com/package/require-main-filename)
6
-
7
- `require.main.filename` is great for figuring out the entry
8
- point for the current application. This can be combined with a module like
9
- [pkg-conf](https://www.npmjs.com/package/pkg-conf) to, _as if by magic_, load
10
- top-level configuration.
11
-
12
- Unfortunately, `require.main.filename` sometimes fails when an application is
13
- executed with an alternative process manager, e.g., [iisnode](https://github.com/tjanczuk/iisnode).
14
-
15
- `require-main-filename` is a shim that addresses this problem.
16
-
17
- ## Usage
18
-
19
- ```js
20
- var main = require('require-main-filename')()
21
- // use main as an alternative to require.main.filename.
22
- ```
23
-
24
- ## License
25
-
26
- ISC
@@ -1,18 +0,0 @@
1
- module.exports = function (_require) {
2
- _require = _require || require
3
- var main = _require.main
4
- if (main && isIISNode(main)) return handleIISNode(main)
5
- else return main ? main.filename : process.cwd()
6
- }
7
-
8
- function isIISNode (main) {
9
- return /\\iisnode\\/.test(main.filename)
10
- }
11
-
12
- function handleIISNode (main) {
13
- if (!main.children.length) {
14
- return main.filename
15
- } else {
16
- return main.children[0].filename
17
- }
18
- }
@@ -1,35 +0,0 @@
1
- {
2
- "name": "require-main-filename",
3
- "version": "2.0.0",
4
- "description": "shim for require.main.filename() that works in as many environments as possible",
5
- "main": "index.js",
6
- "scripts": {
7
- "pretest": "standard",
8
- "test": "tap --coverage test.js",
9
- "release": "standard-version"
10
- },
11
- "repository": {
12
- "type": "git",
13
- "url": "git+ssh://git@github.com/yargs/require-main-filename.git"
14
- },
15
- "keywords": [
16
- "require",
17
- "shim",
18
- "iisnode"
19
- ],
20
- "files": [
21
- "index.js"
22
- ],
23
- "author": "Ben Coe <ben@npmjs.com>",
24
- "license": "ISC",
25
- "bugs": {
26
- "url": "https://github.com/yargs/require-main-filename/issues"
27
- },
28
- "homepage": "https://github.com/yargs/require-main-filename#readme",
29
- "devDependencies": {
30
- "chai": "^4.0.0",
31
- "standard": "^10.0.3",
32
- "standard-version": "^4.0.0",
33
- "tap": "^11.0.0"
34
- }
35
- }
@@ -1,26 +0,0 @@
1
- # Change Log
2
-
3
- All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
-
5
- <a name="2.0.0"></a>
6
- # [2.0.0](https://github.com/yargs/set-blocking/compare/v1.0.0...v2.0.0) (2016-05-17)
7
-
8
-
9
- ### Features
10
-
11
- * add an isTTY check ([#3](https://github.com/yargs/set-blocking/issues/3)) ([66ce277](https://github.com/yargs/set-blocking/commit/66ce277))
12
-
13
-
14
- ### BREAKING CHANGES
15
-
16
- * stdio/stderr will not be set to blocking if isTTY === false
17
-
18
-
19
-
20
- <a name="1.0.0"></a>
21
- # 1.0.0 (2016-05-14)
22
-
23
-
24
- ### Features
25
-
26
- * implemented shim for stream._handle.setBlocking ([6bde0c0](https://github.com/yargs/set-blocking/commit/6bde0c0))
@@ -1,14 +0,0 @@
1
- Copyright (c) 2016, Contributors
2
-
3
- Permission to use, copy, modify, and/or distribute this software
4
- for any purpose with or without fee is hereby granted, provided
5
- that the above copyright notice and this permission notice
6
- appear in all copies.
7
-
8
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
9
- WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES
10
- OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE
11
- LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
12
- OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
13
- WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
14
- ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.