@marktrue/dsh-mobile-remote 3.2.4-alpha.2 → 3.2.4-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 (352) hide show
  1. package/DSH-Remote-v3.2.4.apk +4 -0
  2. package/README.md +6 -254
  3. package/manifest.json +21 -0
  4. package/package.json +12 -65
  5. package/CHANGELOG.md +0 -1427
  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 -125
  10. package/docs/01-PRD.md +0 -148
  11. package/docs/02-architecture.md +0 -249
  12. package/docs/03-api.md +0 -1154
  13. package/docs/04-security.md +0 -100
  14. package/docs/05-test-cases.md +0 -405
  15. package/docs/06-install-run.md +0 -372
  16. package/docs/07-user-manual.md +0 -70
  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 -227
  19. package/docs/10-release.md +0 -1067
  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 -609
  33. package/lib/client.js +0 -1174
  34. package/lib/desktop-form.js +0 -738
  35. package/lib/endpoint-registry.js +0 -167
  36. package/lib/git-read-bundled-provider.js +0 -450
  37. package/lib/git-read-service.js +0 -601
  38. package/lib/index.js +0 -9622
  39. package/lib/npm-update-source.js +0 -226
  40. package/lib/plugin-content-digest.js +0 -80
  41. package/lib/plugin-self-update.js +0 -997
  42. package/lib/plugin-update-controller.js +0 -274
  43. package/lib/plugin-update-log.js +0 -164
  44. package/lib/plugin-update-transaction.js +0 -322
  45. package/lib/plugin-update.js +0 -309
  46. package/lib/runtime-dependency-snapshot.js +0 -345
  47. package/lib/session-title-cache.js +0 -123
  48. package/lib/session-title-refresh.js +0 -261
  49. package/lib/tool-process.js +0 -20
  50. package/lib/update-fetch.js +0 -24
  51. package/lib/update-lock-arbiter.js +0 -170
  52. package/lib/update-supervisor.js +0 -346
  53. package/node_modules/ansi-regex/index.d.ts +0 -37
  54. package/node_modules/ansi-regex/index.js +0 -10
  55. package/node_modules/ansi-regex/license +0 -9
  56. package/node_modules/ansi-regex/package.json +0 -55
  57. package/node_modules/ansi-regex/readme.md +0 -78
  58. package/node_modules/ansi-styles/index.d.ts +0 -345
  59. package/node_modules/ansi-styles/index.js +0 -163
  60. package/node_modules/ansi-styles/license +0 -9
  61. package/node_modules/ansi-styles/package.json +0 -56
  62. package/node_modules/ansi-styles/readme.md +0 -152
  63. package/node_modules/camelcase/index.d.ts +0 -63
  64. package/node_modules/camelcase/index.js +0 -76
  65. package/node_modules/camelcase/license +0 -9
  66. package/node_modules/camelcase/package.json +0 -43
  67. package/node_modules/camelcase/readme.md +0 -99
  68. package/node_modules/cliui/CHANGELOG.md +0 -76
  69. package/node_modules/cliui/LICENSE.txt +0 -14
  70. package/node_modules/cliui/README.md +0 -115
  71. package/node_modules/cliui/index.js +0 -354
  72. package/node_modules/cliui/package.json +0 -65
  73. package/node_modules/color-convert/CHANGELOG.md +0 -54
  74. package/node_modules/color-convert/LICENSE +0 -21
  75. package/node_modules/color-convert/README.md +0 -68
  76. package/node_modules/color-convert/conversions.js +0 -839
  77. package/node_modules/color-convert/index.js +0 -81
  78. package/node_modules/color-convert/package.json +0 -48
  79. package/node_modules/color-convert/route.js +0 -97
  80. package/node_modules/color-name/LICENSE +0 -8
  81. package/node_modules/color-name/README.md +0 -11
  82. package/node_modules/color-name/index.js +0 -152
  83. package/node_modules/color-name/package.json +0 -28
  84. package/node_modules/decamelize/index.js +0 -13
  85. package/node_modules/decamelize/license +0 -21
  86. package/node_modules/decamelize/package.json +0 -38
  87. package/node_modules/decamelize/readme.md +0 -48
  88. package/node_modules/dijkstrajs/.travis.yml +0 -4
  89. package/node_modules/dijkstrajs/CONTRIBUTING.md +0 -8
  90. package/node_modules/dijkstrajs/LICENSE.md +0 -19
  91. package/node_modules/dijkstrajs/README.md +0 -18
  92. package/node_modules/dijkstrajs/dijkstra.js +0 -165
  93. package/node_modules/dijkstrajs/package.json +0 -60
  94. package/node_modules/dijkstrajs/test/dijkstra.test.js +0 -96
  95. package/node_modules/emoji-regex/LICENSE-MIT.txt +0 -20
  96. package/node_modules/emoji-regex/README.md +0 -73
  97. package/node_modules/emoji-regex/es2015/index.js +0 -6
  98. package/node_modules/emoji-regex/es2015/text.js +0 -6
  99. package/node_modules/emoji-regex/index.d.ts +0 -23
  100. package/node_modules/emoji-regex/index.js +0 -6
  101. package/node_modules/emoji-regex/package.json +0 -50
  102. package/node_modules/emoji-regex/text.js +0 -6
  103. package/node_modules/find-up/index.d.ts +0 -137
  104. package/node_modules/find-up/index.js +0 -89
  105. package/node_modules/find-up/license +0 -9
  106. package/node_modules/find-up/package.json +0 -53
  107. package/node_modules/find-up/readme.md +0 -156
  108. package/node_modules/get-caller-file/LICENSE.md +0 -6
  109. package/node_modules/get-caller-file/README.md +0 -41
  110. package/node_modules/get-caller-file/index.d.ts +0 -2
  111. package/node_modules/get-caller-file/index.js +0 -22
  112. package/node_modules/get-caller-file/index.js.map +0 -1
  113. package/node_modules/get-caller-file/package.json +0 -42
  114. package/node_modules/is-fullwidth-code-point/index.d.ts +0 -17
  115. package/node_modules/is-fullwidth-code-point/index.js +0 -50
  116. package/node_modules/is-fullwidth-code-point/license +0 -9
  117. package/node_modules/is-fullwidth-code-point/package.json +0 -42
  118. package/node_modules/is-fullwidth-code-point/readme.md +0 -39
  119. package/node_modules/locate-path/index.d.ts +0 -83
  120. package/node_modules/locate-path/index.js +0 -65
  121. package/node_modules/locate-path/license +0 -9
  122. package/node_modules/locate-path/package.json +0 -45
  123. package/node_modules/locate-path/readme.md +0 -122
  124. package/node_modules/p-limit/index.d.ts +0 -38
  125. package/node_modules/p-limit/index.js +0 -57
  126. package/node_modules/p-limit/license +0 -9
  127. package/node_modules/p-limit/package.json +0 -52
  128. package/node_modules/p-limit/readme.md +0 -101
  129. package/node_modules/p-locate/index.d.ts +0 -64
  130. package/node_modules/p-locate/index.js +0 -52
  131. package/node_modules/p-locate/license +0 -9
  132. package/node_modules/p-locate/package.json +0 -53
  133. package/node_modules/p-locate/readme.md +0 -90
  134. package/node_modules/p-try/index.d.ts +0 -39
  135. package/node_modules/p-try/index.js +0 -9
  136. package/node_modules/p-try/license +0 -9
  137. package/node_modules/p-try/package.json +0 -42
  138. package/node_modules/p-try/readme.md +0 -58
  139. package/node_modules/path-exists/index.d.ts +0 -28
  140. package/node_modules/path-exists/index.js +0 -23
  141. package/node_modules/path-exists/license +0 -9
  142. package/node_modules/path-exists/package.json +0 -39
  143. package/node_modules/path-exists/readme.md +0 -52
  144. package/node_modules/pngjs/.eslintignore +0 -2
  145. package/node_modules/pngjs/.eslintrc.json +0 -19
  146. package/node_modules/pngjs/.prettierignore +0 -3
  147. package/node_modules/pngjs/LICENSE +0 -20
  148. package/node_modules/pngjs/README.md +0 -429
  149. package/node_modules/pngjs/browser.js +0 -16096
  150. package/node_modules/pngjs/coverage/lcov-report/base.css +0 -354
  151. package/node_modules/pngjs/coverage/lcov-report/bitmapper.js.html +0 -881
  152. package/node_modules/pngjs/coverage/lcov-report/bitpacker.js.html +0 -554
  153. package/node_modules/pngjs/coverage/lcov-report/block-navigation.js +0 -77
  154. package/node_modules/pngjs/coverage/lcov-report/chunkstream.js.html +0 -647
  155. package/node_modules/pngjs/coverage/lcov-report/constants.js.html +0 -176
  156. package/node_modules/pngjs/coverage/lcov-report/crc.js.html +0 -200
  157. package/node_modules/pngjs/coverage/lcov-report/favicon.png +0 -0
  158. package/node_modules/pngjs/coverage/lcov-report/filter-pack.js.html +0 -593
  159. package/node_modules/pngjs/coverage/lcov-report/filter-parse-async.js.html +0 -152
  160. package/node_modules/pngjs/coverage/lcov-report/filter-parse-sync.js.html +0 -143
  161. package/node_modules/pngjs/coverage/lcov-report/filter-parse.js.html +0 -611
  162. package/node_modules/pngjs/coverage/lcov-report/format-normaliser.js.html +0 -359
  163. package/node_modules/pngjs/coverage/lcov-report/index.html +0 -426
  164. package/node_modules/pngjs/coverage/lcov-report/interlace.js.html +0 -365
  165. package/node_modules/pngjs/coverage/lcov-report/packer-async.js.html +0 -230
  166. package/node_modules/pngjs/coverage/lcov-report/packer-sync.js.html +0 -248
  167. package/node_modules/pngjs/coverage/lcov-report/packer.js.html +0 -467
  168. package/node_modules/pngjs/coverage/lcov-report/paeth-predictor.js.html +0 -128
  169. package/node_modules/pngjs/coverage/lcov-report/parser-async.js.html +0 -575
  170. package/node_modules/pngjs/coverage/lcov-report/parser-sync.js.html +0 -404
  171. package/node_modules/pngjs/coverage/lcov-report/parser.js.html +0 -950
  172. package/node_modules/pngjs/coverage/lcov-report/png-sync.js.html +0 -116
  173. package/node_modules/pngjs/coverage/lcov-report/png.js.html +0 -662
  174. package/node_modules/pngjs/coverage/lcov-report/prettify.css +0 -101
  175. package/node_modules/pngjs/coverage/lcov-report/prettify.js +0 -1007
  176. package/node_modules/pngjs/coverage/lcov-report/sort-arrow-sprite.png +0 -0
  177. package/node_modules/pngjs/coverage/lcov-report/sorter.js +0 -169
  178. package/node_modules/pngjs/coverage/lcov-report/sync-inflate.js.html +0 -584
  179. package/node_modules/pngjs/coverage/lcov-report/sync-reader.js.html +0 -215
  180. package/node_modules/pngjs/coverage/lcov.info +0 -2177
  181. package/node_modules/pngjs/lib/bitmapper.js +0 -267
  182. package/node_modules/pngjs/lib/bitpacker.js +0 -158
  183. package/node_modules/pngjs/lib/chunkstream.js +0 -189
  184. package/node_modules/pngjs/lib/constants.js +0 -32
  185. package/node_modules/pngjs/lib/crc.js +0 -40
  186. package/node_modules/pngjs/lib/filter-pack.js +0 -171
  187. package/node_modules/pngjs/lib/filter-parse-async.js +0 -24
  188. package/node_modules/pngjs/lib/filter-parse-sync.js +0 -21
  189. package/node_modules/pngjs/lib/filter-parse.js +0 -177
  190. package/node_modules/pngjs/lib/format-normaliser.js +0 -93
  191. package/node_modules/pngjs/lib/interlace.js +0 -95
  192. package/node_modules/pngjs/lib/packer-async.js +0 -50
  193. package/node_modules/pngjs/lib/packer-sync.js +0 -56
  194. package/node_modules/pngjs/lib/packer.js +0 -129
  195. package/node_modules/pngjs/lib/paeth-predictor.js +0 -16
  196. package/node_modules/pngjs/lib/parser-async.js +0 -165
  197. package/node_modules/pngjs/lib/parser-sync.js +0 -108
  198. package/node_modules/pngjs/lib/parser.js +0 -290
  199. package/node_modules/pngjs/lib/png-sync.js +0 -12
  200. package/node_modules/pngjs/lib/png.js +0 -194
  201. package/node_modules/pngjs/lib/sync-inflate.js +0 -168
  202. package/node_modules/pngjs/lib/sync-reader.js +0 -45
  203. package/node_modules/pngjs/package.json +0 -73
  204. package/node_modules/qrcode/README.md +0 -770
  205. package/node_modules/qrcode/bin/qrcode +0 -159
  206. package/node_modules/qrcode/helper/to-sjis-browser.js +0 -2
  207. package/node_modules/qrcode/helper/to-sjis.js +0 -105
  208. package/node_modules/qrcode/lib/browser.js +0 -76
  209. package/node_modules/qrcode/lib/can-promise.js +0 -7
  210. package/node_modules/qrcode/lib/core/alignment-pattern.js +0 -83
  211. package/node_modules/qrcode/lib/core/alphanumeric-data.js +0 -59
  212. package/node_modules/qrcode/lib/core/bit-buffer.js +0 -37
  213. package/node_modules/qrcode/lib/core/bit-matrix.js +0 -65
  214. package/node_modules/qrcode/lib/core/byte-data.js +0 -30
  215. package/node_modules/qrcode/lib/core/error-correction-code.js +0 -135
  216. package/node_modules/qrcode/lib/core/error-correction-level.js +0 -50
  217. package/node_modules/qrcode/lib/core/finder-pattern.js +0 -22
  218. package/node_modules/qrcode/lib/core/format-info.js +0 -29
  219. package/node_modules/qrcode/lib/core/galois-field.js +0 -69
  220. package/node_modules/qrcode/lib/core/kanji-data.js +0 -54
  221. package/node_modules/qrcode/lib/core/mask-pattern.js +0 -234
  222. package/node_modules/qrcode/lib/core/mode.js +0 -167
  223. package/node_modules/qrcode/lib/core/numeric-data.js +0 -43
  224. package/node_modules/qrcode/lib/core/polynomial.js +0 -62
  225. package/node_modules/qrcode/lib/core/qrcode.js +0 -495
  226. package/node_modules/qrcode/lib/core/reed-solomon-encoder.js +0 -56
  227. package/node_modules/qrcode/lib/core/regex.js +0 -31
  228. package/node_modules/qrcode/lib/core/segments.js +0 -330
  229. package/node_modules/qrcode/lib/core/utils.js +0 -63
  230. package/node_modules/qrcode/lib/core/version-check.js +0 -9
  231. package/node_modules/qrcode/lib/core/version.js +0 -163
  232. package/node_modules/qrcode/lib/index.js +0 -12
  233. package/node_modules/qrcode/lib/renderer/canvas.js +0 -63
  234. package/node_modules/qrcode/lib/renderer/png.js +0 -78
  235. package/node_modules/qrcode/lib/renderer/svg-tag.js +0 -81
  236. package/node_modules/qrcode/lib/renderer/svg.js +0 -19
  237. package/node_modules/qrcode/lib/renderer/terminal/terminal-small.js +0 -85
  238. package/node_modules/qrcode/lib/renderer/terminal/terminal.js +0 -49
  239. package/node_modules/qrcode/lib/renderer/terminal.js +0 -9
  240. package/node_modules/qrcode/lib/renderer/utf8.js +0 -71
  241. package/node_modules/qrcode/lib/renderer/utils.js +0 -99
  242. package/node_modules/qrcode/lib/server.js +0 -138
  243. package/node_modules/qrcode/license +0 -10
  244. package/node_modules/qrcode/package.json +0 -77
  245. package/node_modules/require-directory/.jshintrc +0 -67
  246. package/node_modules/require-directory/.npmignore +0 -1
  247. package/node_modules/require-directory/.travis.yml +0 -3
  248. package/node_modules/require-directory/LICENSE +0 -22
  249. package/node_modules/require-directory/README.markdown +0 -184
  250. package/node_modules/require-directory/index.js +0 -86
  251. package/node_modules/require-directory/package.json +0 -40
  252. package/node_modules/require-main-filename/CHANGELOG.md +0 -26
  253. package/node_modules/require-main-filename/LICENSE.txt +0 -14
  254. package/node_modules/require-main-filename/README.md +0 -26
  255. package/node_modules/require-main-filename/index.js +0 -18
  256. package/node_modules/require-main-filename/package.json +0 -35
  257. package/node_modules/set-blocking/CHANGELOG.md +0 -26
  258. package/node_modules/set-blocking/LICENSE.txt +0 -14
  259. package/node_modules/set-blocking/README.md +0 -31
  260. package/node_modules/set-blocking/index.js +0 -7
  261. package/node_modules/set-blocking/package.json +0 -42
  262. package/node_modules/string-width/index.d.ts +0 -29
  263. package/node_modules/string-width/index.js +0 -47
  264. package/node_modules/string-width/license +0 -9
  265. package/node_modules/string-width/package.json +0 -56
  266. package/node_modules/string-width/readme.md +0 -50
  267. package/node_modules/strip-ansi/index.d.ts +0 -17
  268. package/node_modules/strip-ansi/index.js +0 -4
  269. package/node_modules/strip-ansi/license +0 -9
  270. package/node_modules/strip-ansi/package.json +0 -54
  271. package/node_modules/strip-ansi/readme.md +0 -46
  272. package/node_modules/which-module/LICENSE +0 -13
  273. package/node_modules/which-module/README.md +0 -58
  274. package/node_modules/which-module/index.js +0 -9
  275. package/node_modules/which-module/package.json +0 -41
  276. package/node_modules/wrap-ansi/index.js +0 -186
  277. package/node_modules/wrap-ansi/license +0 -9
  278. package/node_modules/wrap-ansi/package.json +0 -61
  279. package/node_modules/wrap-ansi/readme.md +0 -97
  280. package/node_modules/y18n/CHANGELOG.md +0 -35
  281. package/node_modules/y18n/LICENSE +0 -13
  282. package/node_modules/y18n/README.md +0 -109
  283. package/node_modules/y18n/index.js +0 -188
  284. package/node_modules/y18n/package.json +0 -39
  285. package/node_modules/yargs/CHANGELOG.md +0 -420
  286. package/node_modules/yargs/LICENSE +0 -21
  287. package/node_modules/yargs/README.md +0 -140
  288. package/node_modules/yargs/build/lib/apply-extends.d.ts +0 -2
  289. package/node_modules/yargs/build/lib/apply-extends.js +0 -65
  290. package/node_modules/yargs/build/lib/argsert.d.ts +0 -2
  291. package/node_modules/yargs/build/lib/argsert.js +0 -65
  292. package/node_modules/yargs/build/lib/command.d.ts +0 -64
  293. package/node_modules/yargs/build/lib/command.js +0 -416
  294. package/node_modules/yargs/build/lib/common-types.d.ts +0 -36
  295. package/node_modules/yargs/build/lib/common-types.js +0 -25
  296. package/node_modules/yargs/build/lib/completion-templates.d.ts +0 -2
  297. package/node_modules/yargs/build/lib/completion-templates.js +0 -50
  298. package/node_modules/yargs/build/lib/completion.d.ts +0 -21
  299. package/node_modules/yargs/build/lib/completion.js +0 -135
  300. package/node_modules/yargs/build/lib/is-promise.d.ts +0 -1
  301. package/node_modules/yargs/build/lib/is-promise.js +0 -9
  302. package/node_modules/yargs/build/lib/levenshtein.d.ts +0 -1
  303. package/node_modules/yargs/build/lib/levenshtein.js +0 -58
  304. package/node_modules/yargs/build/lib/middleware.d.ts +0 -10
  305. package/node_modules/yargs/build/lib/middleware.js +0 -57
  306. package/node_modules/yargs/build/lib/obj-filter.d.ts +0 -1
  307. package/node_modules/yargs/build/lib/obj-filter.js +0 -14
  308. package/node_modules/yargs/build/lib/parse-command.d.ts +0 -11
  309. package/node_modules/yargs/build/lib/parse-command.js +0 -36
  310. package/node_modules/yargs/build/lib/process-argv.d.ts +0 -2
  311. package/node_modules/yargs/build/lib/process-argv.js +0 -31
  312. package/node_modules/yargs/build/lib/usage.d.ts +0 -49
  313. package/node_modules/yargs/build/lib/usage.js +0 -540
  314. package/node_modules/yargs/build/lib/validation.d.ts +0 -34
  315. package/node_modules/yargs/build/lib/validation.js +0 -330
  316. package/node_modules/yargs/build/lib/yargs.d.ts +0 -274
  317. package/node_modules/yargs/build/lib/yargs.js +0 -1190
  318. package/node_modules/yargs/build/lib/yerror.d.ts +0 -4
  319. package/node_modules/yargs/build/lib/yerror.js +0 -11
  320. package/node_modules/yargs/index.js +0 -40
  321. package/node_modules/yargs/locales/be.json +0 -46
  322. package/node_modules/yargs/locales/de.json +0 -46
  323. package/node_modules/yargs/locales/en.json +0 -51
  324. package/node_modules/yargs/locales/es.json +0 -46
  325. package/node_modules/yargs/locales/fi.json +0 -49
  326. package/node_modules/yargs/locales/fr.json +0 -53
  327. package/node_modules/yargs/locales/hi.json +0 -49
  328. package/node_modules/yargs/locales/hu.json +0 -46
  329. package/node_modules/yargs/locales/id.json +0 -50
  330. package/node_modules/yargs/locales/it.json +0 -46
  331. package/node_modules/yargs/locales/ja.json +0 -51
  332. package/node_modules/yargs/locales/ko.json +0 -49
  333. package/node_modules/yargs/locales/nb.json +0 -44
  334. package/node_modules/yargs/locales/nl.json +0 -49
  335. package/node_modules/yargs/locales/nn.json +0 -44
  336. package/node_modules/yargs/locales/pirate.json +0 -13
  337. package/node_modules/yargs/locales/pl.json +0 -49
  338. package/node_modules/yargs/locales/pt.json +0 -45
  339. package/node_modules/yargs/locales/pt_BR.json +0 -48
  340. package/node_modules/yargs/locales/ru.json +0 -46
  341. package/node_modules/yargs/locales/th.json +0 -46
  342. package/node_modules/yargs/locales/tr.json +0 -48
  343. package/node_modules/yargs/locales/zh_CN.json +0 -48
  344. package/node_modules/yargs/locales/zh_TW.json +0 -47
  345. package/node_modules/yargs/package.json +0 -92
  346. package/node_modules/yargs/yargs.js +0 -14
  347. package/node_modules/yargs-parser/CHANGELOG.md +0 -601
  348. package/node_modules/yargs-parser/LICENSE.txt +0 -14
  349. package/node_modules/yargs-parser/README.md +0 -449
  350. package/node_modules/yargs-parser/index.js +0 -1032
  351. package/node_modules/yargs-parser/lib/tokenize-arg-string.js +0 -40
  352. 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.