@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,42 +0,0 @@
1
- {
2
- "name": "is-fullwidth-code-point",
3
- "version": "3.0.0",
4
- "description": "Check if the character represented by a given Unicode code point is fullwidth",
5
- "license": "MIT",
6
- "repository": "sindresorhus/is-fullwidth-code-point",
7
- "author": {
8
- "name": "Sindre Sorhus",
9
- "email": "sindresorhus@gmail.com",
10
- "url": "sindresorhus.com"
11
- },
12
- "engines": {
13
- "node": ">=8"
14
- },
15
- "scripts": {
16
- "test": "xo && ava && tsd-check"
17
- },
18
- "files": [
19
- "index.js",
20
- "index.d.ts"
21
- ],
22
- "keywords": [
23
- "fullwidth",
24
- "full-width",
25
- "full",
26
- "width",
27
- "unicode",
28
- "character",
29
- "string",
30
- "codepoint",
31
- "code",
32
- "point",
33
- "is",
34
- "detect",
35
- "check"
36
- ],
37
- "devDependencies": {
38
- "ava": "^1.3.1",
39
- "tsd-check": "^0.5.0",
40
- "xo": "^0.24.0"
41
- }
42
- }
@@ -1,39 +0,0 @@
1
- # is-fullwidth-code-point [![Build Status](https://travis-ci.org/sindresorhus/is-fullwidth-code-point.svg?branch=master)](https://travis-ci.org/sindresorhus/is-fullwidth-code-point)
2
-
3
- > Check if the character represented by a given [Unicode code point](https://en.wikipedia.org/wiki/Code_point) is [fullwidth](https://en.wikipedia.org/wiki/Halfwidth_and_fullwidth_forms)
4
-
5
-
6
- ## Install
7
-
8
- ```
9
- $ npm install is-fullwidth-code-point
10
- ```
11
-
12
-
13
- ## Usage
14
-
15
- ```js
16
- const isFullwidthCodePoint = require('is-fullwidth-code-point');
17
-
18
- isFullwidthCodePoint('谢'.codePointAt(0));
19
- //=> true
20
-
21
- isFullwidthCodePoint('a'.codePointAt(0));
22
- //=> false
23
- ```
24
-
25
-
26
- ## API
27
-
28
- ### isFullwidthCodePoint(codePoint)
29
-
30
- #### codePoint
31
-
32
- Type: `number`
33
-
34
- The [code point](https://en.wikipedia.org/wiki/Code_point) of a character.
35
-
36
-
37
- ## License
38
-
39
- MIT © [Sindre Sorhus](https://sindresorhus.com)
@@ -1,83 +0,0 @@
1
- declare namespace locatePath {
2
- interface Options {
3
- /**
4
- Current working directory.
5
-
6
- @default process.cwd()
7
- */
8
- readonly cwd?: string;
9
-
10
- /**
11
- Type of path to match.
12
-
13
- @default 'file'
14
- */
15
- readonly type?: 'file' | 'directory';
16
-
17
- /**
18
- Allow symbolic links to match if they point to the requested path type.
19
-
20
- @default true
21
- */
22
- readonly allowSymlinks?: boolean;
23
- }
24
-
25
- interface AsyncOptions extends Options {
26
- /**
27
- Number of concurrently pending promises. Minimum: `1`.
28
-
29
- @default Infinity
30
- */
31
- readonly concurrency?: number;
32
-
33
- /**
34
- Preserve `paths` order when searching.
35
-
36
- Disable this to improve performance if you don't care about the order.
37
-
38
- @default true
39
- */
40
- readonly preserveOrder?: boolean;
41
- }
42
- }
43
-
44
- declare const locatePath: {
45
- /**
46
- Get the first path that exists on disk of multiple paths.
47
-
48
- @param paths - Paths to check.
49
- @returns The first path that exists or `undefined` if none exists.
50
-
51
- @example
52
- ```
53
- import locatePath = require('locate-path');
54
-
55
- const files = [
56
- 'unicorn.png',
57
- 'rainbow.png', // Only this one actually exists on disk
58
- 'pony.png'
59
- ];
60
-
61
- (async () => {
62
- console(await locatePath(files));
63
- //=> 'rainbow'
64
- })();
65
- ```
66
- */
67
- (paths: Iterable<string>, options?: locatePath.AsyncOptions): Promise<
68
- string | undefined
69
- >;
70
-
71
- /**
72
- Synchronously get the first path that exists on disk of multiple paths.
73
-
74
- @param paths - Paths to check.
75
- @returns The first path that exists or `undefined` if none exists.
76
- */
77
- sync(
78
- paths: Iterable<string>,
79
- options?: locatePath.Options
80
- ): string | undefined;
81
- };
82
-
83
- export = locatePath;
@@ -1,65 +0,0 @@
1
- 'use strict';
2
- const path = require('path');
3
- const fs = require('fs');
4
- const {promisify} = require('util');
5
- const pLocate = require('p-locate');
6
-
7
- const fsStat = promisify(fs.stat);
8
- const fsLStat = promisify(fs.lstat);
9
-
10
- const typeMappings = {
11
- directory: 'isDirectory',
12
- file: 'isFile'
13
- };
14
-
15
- function checkType({type}) {
16
- if (type in typeMappings) {
17
- return;
18
- }
19
-
20
- throw new Error(`Invalid type specified: ${type}`);
21
- }
22
-
23
- const matchType = (type, stat) => type === undefined || stat[typeMappings[type]]();
24
-
25
- module.exports = async (paths, options) => {
26
- options = {
27
- cwd: process.cwd(),
28
- type: 'file',
29
- allowSymlinks: true,
30
- ...options
31
- };
32
- checkType(options);
33
- const statFn = options.allowSymlinks ? fsStat : fsLStat;
34
-
35
- return pLocate(paths, async path_ => {
36
- try {
37
- const stat = await statFn(path.resolve(options.cwd, path_));
38
- return matchType(options.type, stat);
39
- } catch (_) {
40
- return false;
41
- }
42
- }, options);
43
- };
44
-
45
- module.exports.sync = (paths, options) => {
46
- options = {
47
- cwd: process.cwd(),
48
- allowSymlinks: true,
49
- type: 'file',
50
- ...options
51
- };
52
- checkType(options);
53
- const statFn = options.allowSymlinks ? fs.statSync : fs.lstatSync;
54
-
55
- for (const path_ of paths) {
56
- try {
57
- const stat = statFn(path.resolve(options.cwd, path_));
58
-
59
- if (matchType(options.type, stat)) {
60
- return path_;
61
- }
62
- } catch (_) {
63
- }
64
- }
65
- };
@@ -1,9 +0,0 @@
1
- MIT License
2
-
3
- Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
6
-
7
- The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
8
-
9
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -1,45 +0,0 @@
1
- {
2
- "name": "locate-path",
3
- "version": "5.0.0",
4
- "description": "Get the first path that exists on disk of multiple paths",
5
- "license": "MIT",
6
- "repository": "sindresorhus/locate-path",
7
- "author": {
8
- "name": "Sindre Sorhus",
9
- "email": "sindresorhus@gmail.com",
10
- "url": "sindresorhus.com"
11
- },
12
- "engines": {
13
- "node": ">=8"
14
- },
15
- "scripts": {
16
- "test": "xo && ava && tsd"
17
- },
18
- "files": [
19
- "index.js",
20
- "index.d.ts"
21
- ],
22
- "keywords": [
23
- "locate",
24
- "path",
25
- "paths",
26
- "file",
27
- "files",
28
- "exists",
29
- "find",
30
- "finder",
31
- "search",
32
- "searcher",
33
- "array",
34
- "iterable",
35
- "iterator"
36
- ],
37
- "dependencies": {
38
- "p-locate": "^4.1.0"
39
- },
40
- "devDependencies": {
41
- "ava": "^1.4.1",
42
- "tsd": "^0.7.2",
43
- "xo": "^0.24.0"
44
- }
45
- }
@@ -1,122 +0,0 @@
1
- # locate-path [![Build Status](https://travis-ci.org/sindresorhus/locate-path.svg?branch=master)](https://travis-ci.org/sindresorhus/locate-path)
2
-
3
- > Get the first path that exists on disk of multiple paths
4
-
5
-
6
- ## Install
7
-
8
- ```
9
- $ npm install locate-path
10
- ```
11
-
12
-
13
- ## Usage
14
-
15
- Here we find the first file that exists on disk, in array order.
16
-
17
- ```js
18
- const locatePath = require('locate-path');
19
-
20
- const files = [
21
- 'unicorn.png',
22
- 'rainbow.png', // Only this one actually exists on disk
23
- 'pony.png'
24
- ];
25
-
26
- (async () => {
27
- console(await locatePath(files));
28
- //=> 'rainbow'
29
- })();
30
- ```
31
-
32
-
33
- ## API
34
-
35
- ### locatePath(paths, [options])
36
-
37
- Returns a `Promise<string>` for the first path that exists or `undefined` if none exists.
38
-
39
- #### paths
40
-
41
- Type: `Iterable<string>`
42
-
43
- Paths to check.
44
-
45
- #### options
46
-
47
- Type: `Object`
48
-
49
- ##### concurrency
50
-
51
- Type: `number`<br>
52
- Default: `Infinity`<br>
53
- Minimum: `1`
54
-
55
- Number of concurrently pending promises.
56
-
57
- ##### preserveOrder
58
-
59
- Type: `boolean`<br>
60
- Default: `true`
61
-
62
- Preserve `paths` order when searching.
63
-
64
- Disable this to improve performance if you don't care about the order.
65
-
66
- ##### cwd
67
-
68
- Type: `string`<br>
69
- Default: `process.cwd()`
70
-
71
- Current working directory.
72
-
73
- ##### type
74
-
75
- Type: `string`<br>
76
- Default: `file`<br>
77
- Values: `file` `directory`
78
-
79
- The type of paths that can match.
80
-
81
- ##### allowSymlinks
82
-
83
- Type: `boolean`<br>
84
- Default: `true`
85
-
86
- Allow symbolic links to match if they point to the chosen path type.
87
-
88
- ### locatePath.sync(paths, [options])
89
-
90
- Returns the first path that exists or `undefined` if none exists.
91
-
92
- #### paths
93
-
94
- Type: `Iterable<string>`
95
-
96
- Paths to check.
97
-
98
- #### options
99
-
100
- Type: `Object`
101
-
102
- ##### cwd
103
-
104
- Same as above.
105
-
106
- ##### type
107
-
108
- Same as above.
109
-
110
- ##### allowSymlinks
111
-
112
- Same as above.
113
-
114
-
115
- ## Related
116
-
117
- - [path-exists](https://github.com/sindresorhus/path-exists) - Check if a path exists
118
-
119
-
120
- ## License
121
-
122
- MIT © [Sindre Sorhus](https://sindresorhus.com)
@@ -1,38 +0,0 @@
1
- export interface Limit {
2
- /**
3
- @param fn - Promise-returning/async function.
4
- @param arguments - Any arguments to pass through to `fn`. Support for passing arguments on to the `fn` is provided in order to be able to avoid creating unnecessary closures. You probably don't need this optimization unless you're pushing a lot of functions.
5
- @returns The promise returned by calling `fn(...arguments)`.
6
- */
7
- <Arguments extends unknown[], ReturnType>(
8
- fn: (...arguments: Arguments) => PromiseLike<ReturnType> | ReturnType,
9
- ...arguments: Arguments
10
- ): Promise<ReturnType>;
11
-
12
- /**
13
- The number of promises that are currently running.
14
- */
15
- readonly activeCount: number;
16
-
17
- /**
18
- The number of promises that are waiting to run (i.e. their internal `fn` was not called yet).
19
- */
20
- readonly pendingCount: number;
21
-
22
- /**
23
- Discard pending promises that are waiting to run.
24
-
25
- This might be useful if you want to teardown the queue at the end of your program's lifecycle or discard any function calls referencing an intermediary state of your app.
26
-
27
- Note: This does not cancel promises that are already running.
28
- */
29
- clearQueue(): void;
30
- }
31
-
32
- /**
33
- Run multiple promise-returning & async functions with limited concurrency.
34
-
35
- @param concurrency - Concurrency limit. Minimum: `1`.
36
- @returns A `limit` function.
37
- */
38
- export default function pLimit(concurrency: number): Limit;
@@ -1,57 +0,0 @@
1
- 'use strict';
2
- const pTry = require('p-try');
3
-
4
- const pLimit = concurrency => {
5
- if (!((Number.isInteger(concurrency) || concurrency === Infinity) && concurrency > 0)) {
6
- return Promise.reject(new TypeError('Expected `concurrency` to be a number from 1 and up'));
7
- }
8
-
9
- const queue = [];
10
- let activeCount = 0;
11
-
12
- const next = () => {
13
- activeCount--;
14
-
15
- if (queue.length > 0) {
16
- queue.shift()();
17
- }
18
- };
19
-
20
- const run = (fn, resolve, ...args) => {
21
- activeCount++;
22
-
23
- const result = pTry(fn, ...args);
24
-
25
- resolve(result);
26
-
27
- result.then(next, next);
28
- };
29
-
30
- const enqueue = (fn, resolve, ...args) => {
31
- if (activeCount < concurrency) {
32
- run(fn, resolve, ...args);
33
- } else {
34
- queue.push(run.bind(null, fn, resolve, ...args));
35
- }
36
- };
37
-
38
- const generator = (fn, ...args) => new Promise(resolve => enqueue(fn, resolve, ...args));
39
- Object.defineProperties(generator, {
40
- activeCount: {
41
- get: () => activeCount
42
- },
43
- pendingCount: {
44
- get: () => queue.length
45
- },
46
- clearQueue: {
47
- value: () => {
48
- queue.length = 0;
49
- }
50
- }
51
- });
52
-
53
- return generator;
54
- };
55
-
56
- module.exports = pLimit;
57
- module.exports.default = pLimit;
@@ -1,9 +0,0 @@
1
- MIT License
2
-
3
- Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
6
-
7
- The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
8
-
9
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -1,52 +0,0 @@
1
- {
2
- "name": "p-limit",
3
- "version": "2.3.0",
4
- "description": "Run multiple promise-returning & async functions with limited concurrency",
5
- "license": "MIT",
6
- "repository": "sindresorhus/p-limit",
7
- "funding": "https://github.com/sponsors/sindresorhus",
8
- "author": {
9
- "name": "Sindre Sorhus",
10
- "email": "sindresorhus@gmail.com",
11
- "url": "sindresorhus.com"
12
- },
13
- "engines": {
14
- "node": ">=6"
15
- },
16
- "scripts": {
17
- "test": "xo && ava && tsd-check"
18
- },
19
- "files": [
20
- "index.js",
21
- "index.d.ts"
22
- ],
23
- "keywords": [
24
- "promise",
25
- "limit",
26
- "limited",
27
- "concurrency",
28
- "throttle",
29
- "throat",
30
- "rate",
31
- "batch",
32
- "ratelimit",
33
- "task",
34
- "queue",
35
- "async",
36
- "await",
37
- "promises",
38
- "bluebird"
39
- ],
40
- "dependencies": {
41
- "p-try": "^2.0.0"
42
- },
43
- "devDependencies": {
44
- "ava": "^1.2.1",
45
- "delay": "^4.1.0",
46
- "in-range": "^1.0.0",
47
- "random-int": "^1.0.0",
48
- "time-span": "^2.0.0",
49
- "tsd-check": "^0.3.0",
50
- "xo": "^0.24.0"
51
- }
52
- }
@@ -1,101 +0,0 @@
1
- # p-limit [![Build Status](https://travis-ci.org/sindresorhus/p-limit.svg?branch=master)](https://travis-ci.org/sindresorhus/p-limit)
2
-
3
- > Run multiple promise-returning & async functions with limited concurrency
4
-
5
- ## Install
6
-
7
- ```
8
- $ npm install p-limit
9
- ```
10
-
11
- ## Usage
12
-
13
- ```js
14
- const pLimit = require('p-limit');
15
-
16
- const limit = pLimit(1);
17
-
18
- const input = [
19
- limit(() => fetchSomething('foo')),
20
- limit(() => fetchSomething('bar')),
21
- limit(() => doSomething())
22
- ];
23
-
24
- (async () => {
25
- // Only one promise is run at once
26
- const result = await Promise.all(input);
27
- console.log(result);
28
- })();
29
- ```
30
-
31
- ## API
32
-
33
- ### pLimit(concurrency)
34
-
35
- Returns a `limit` function.
36
-
37
- #### concurrency
38
-
39
- Type: `number`\
40
- Minimum: `1`\
41
- Default: `Infinity`
42
-
43
- Concurrency limit.
44
-
45
- ### limit(fn, ...args)
46
-
47
- Returns the promise returned by calling `fn(...args)`.
48
-
49
- #### fn
50
-
51
- Type: `Function`
52
-
53
- Promise-returning/async function.
54
-
55
- #### args
56
-
57
- Any arguments to pass through to `fn`.
58
-
59
- Support for passing arguments on to the `fn` is provided in order to be able to avoid creating unnecessary closures. You probably don't need this optimization unless you're pushing a *lot* of functions.
60
-
61
- ### limit.activeCount
62
-
63
- The number of promises that are currently running.
64
-
65
- ### limit.pendingCount
66
-
67
- The number of promises that are waiting to run (i.e. their internal `fn` was not called yet).
68
-
69
- ### limit.clearQueue()
70
-
71
- Discard pending promises that are waiting to run.
72
-
73
- This might be useful if you want to teardown the queue at the end of your program's lifecycle or discard any function calls referencing an intermediary state of your app.
74
-
75
- Note: This does not cancel promises that are already running.
76
-
77
- ## FAQ
78
-
79
- ### How is this different from the [`p-queue`](https://github.com/sindresorhus/p-queue) package?
80
-
81
- This package is only about limiting the number of concurrent executions, while `p-queue` is a fully featured queue implementation with lots of different options, introspection, and ability to pause the queue.
82
-
83
- ## Related
84
-
85
- - [p-queue](https://github.com/sindresorhus/p-queue) - Promise queue with concurrency control
86
- - [p-throttle](https://github.com/sindresorhus/p-throttle) - Throttle promise-returning & async functions
87
- - [p-debounce](https://github.com/sindresorhus/p-debounce) - Debounce promise-returning & async functions
88
- - [p-all](https://github.com/sindresorhus/p-all) - Run promise-returning & async functions concurrently with optional limited concurrency
89
- - [More…](https://github.com/sindresorhus/promise-fun)
90
-
91
- ---
92
-
93
- <div align="center">
94
- <b>
95
- <a href="https://tidelift.com/subscription/pkg/npm-p-limit?utm_source=npm-p-limit&utm_medium=referral&utm_campaign=readme">Get professional support for this package with a Tidelift subscription</a>
96
- </b>
97
- <br>
98
- <sub>
99
- Tidelift helps make open source sustainable for maintainers while giving companies<br>assurances about security, maintenance, and licensing for their dependencies.
100
- </sub>
101
- </div>