@marktrue/dsh-mobile-remote 3.3.1-alpha.3 → 3.3.1-alpha.4-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 (367) hide show
  1. package/DSH-Remote-v3.3.1.apk +4 -0
  2. package/README.md +6 -256
  3. package/manifest.json +21 -0
  4. package/package.json +12 -68
  5. package/CHANGELOG.md +0 -2113
  6. package/CONTRIBUTING.md +0 -114
  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 -1683
  13. package/docs/04-security.md +0 -130
  14. package/docs/05-test-cases.md +0 -405
  15. package/docs/06-install-run.md +0 -342
  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 -259
  19. package/docs/10-release.md +0 -1032
  20. package/docs/11-notification-reliability.md +0 -45
  21. package/docs/12-implementation-status.md +0 -41
  22. package/docs/13-device-acceptance-2026-11-03.md +0 -37
  23. package/docs/16-next-window-handoff-2026-11-04.md +0 -44
  24. package/docs/17-remaining-work-review-2026-11-04.md +0 -53
  25. package/docs/18-device-reliability-acceptance-2026-11-04.md +0 -63
  26. package/docs/19-issue-followup-2026-11-04.md +0 -39
  27. package/docs/20-dsh-022-compatibility-2026-11-05.md +0 -32
  28. package/docs/screenshots/01-home.png +0 -0
  29. package/docs/screenshots/02-notifications.png +0 -0
  30. package/docs/screenshots/03-sessions.png +0 -0
  31. package/docs/screenshots/04-chat.png +0 -0
  32. package/docs/screenshots/05-settings.png +0 -0
  33. package/docs/screenshots/06-new-session.png +0 -0
  34. package/docs/screenshots/pgy-appstore.jpg +0 -0
  35. package/docs/screenshots/pgy-mobile-app.jpg +0 -0
  36. package/docs/screenshots/pgy-pc-client.jpg +0 -0
  37. package/lib/account-usage.js +0 -145
  38. package/lib/app-alignment.js +0 -112
  39. package/lib/app-carrier-store.js +0 -1972
  40. package/lib/app-carrier.js +0 -609
  41. package/lib/client.js +0 -1196
  42. package/lib/desktop-form.js +0 -738
  43. package/lib/endpoint-registry.js +0 -205
  44. package/lib/experimental-bundles.js +0 -121
  45. package/lib/git-read-bundled-provider.js +0 -480
  46. package/lib/git-read-service.js +0 -901
  47. package/lib/host-manager-update.js +0 -222
  48. package/lib/host-settings-whitelist.js +0 -207
  49. package/lib/host-settings.js +0 -695
  50. package/lib/host-update-capabilities.js +0 -209
  51. package/lib/index.js +0 -14891
  52. package/lib/npm-update-source.js +0 -226
  53. package/lib/plugin-content-digest.js +0 -80
  54. package/lib/plugin-self-update.js +0 -1112
  55. package/lib/plugin-update-check.js +0 -268
  56. package/lib/plugin-update-controller.js +0 -416
  57. package/lib/plugin-update-log.js +0 -164
  58. package/lib/plugin-update-transaction.js +0 -358
  59. package/lib/plugin-update.js +0 -309
  60. package/lib/runtime-dependency-snapshot.js +0 -345
  61. package/lib/session-title-cache.js +0 -123
  62. package/lib/session-title-refresh.js +0 -261
  63. package/lib/sse-connections.js +0 -172
  64. package/lib/tool-process.js +0 -20
  65. package/lib/update-fetch.js +0 -24
  66. package/lib/update-lock-arbiter.js +0 -210
  67. package/lib/update-supervisor.js +0 -379
  68. package/node_modules/ansi-regex/index.d.ts +0 -37
  69. package/node_modules/ansi-regex/index.js +0 -10
  70. package/node_modules/ansi-regex/license +0 -9
  71. package/node_modules/ansi-regex/package.json +0 -55
  72. package/node_modules/ansi-regex/readme.md +0 -78
  73. package/node_modules/ansi-styles/index.d.ts +0 -345
  74. package/node_modules/ansi-styles/index.js +0 -163
  75. package/node_modules/ansi-styles/license +0 -9
  76. package/node_modules/ansi-styles/package.json +0 -56
  77. package/node_modules/ansi-styles/readme.md +0 -152
  78. package/node_modules/camelcase/index.d.ts +0 -63
  79. package/node_modules/camelcase/index.js +0 -76
  80. package/node_modules/camelcase/license +0 -9
  81. package/node_modules/camelcase/package.json +0 -43
  82. package/node_modules/camelcase/readme.md +0 -99
  83. package/node_modules/cliui/CHANGELOG.md +0 -76
  84. package/node_modules/cliui/LICENSE.txt +0 -14
  85. package/node_modules/cliui/README.md +0 -115
  86. package/node_modules/cliui/index.js +0 -354
  87. package/node_modules/cliui/package.json +0 -65
  88. package/node_modules/color-convert/CHANGELOG.md +0 -54
  89. package/node_modules/color-convert/LICENSE +0 -21
  90. package/node_modules/color-convert/README.md +0 -68
  91. package/node_modules/color-convert/conversions.js +0 -839
  92. package/node_modules/color-convert/index.js +0 -81
  93. package/node_modules/color-convert/package.json +0 -48
  94. package/node_modules/color-convert/route.js +0 -97
  95. package/node_modules/color-name/LICENSE +0 -8
  96. package/node_modules/color-name/README.md +0 -11
  97. package/node_modules/color-name/index.js +0 -152
  98. package/node_modules/color-name/package.json +0 -28
  99. package/node_modules/decamelize/index.js +0 -13
  100. package/node_modules/decamelize/license +0 -21
  101. package/node_modules/decamelize/package.json +0 -38
  102. package/node_modules/decamelize/readme.md +0 -48
  103. package/node_modules/dijkstrajs/.travis.yml +0 -4
  104. package/node_modules/dijkstrajs/CONTRIBUTING.md +0 -8
  105. package/node_modules/dijkstrajs/LICENSE.md +0 -19
  106. package/node_modules/dijkstrajs/README.md +0 -18
  107. package/node_modules/dijkstrajs/dijkstra.js +0 -165
  108. package/node_modules/dijkstrajs/package.json +0 -60
  109. package/node_modules/dijkstrajs/test/dijkstra.test.js +0 -96
  110. package/node_modules/emoji-regex/LICENSE-MIT.txt +0 -20
  111. package/node_modules/emoji-regex/README.md +0 -73
  112. package/node_modules/emoji-regex/es2015/index.js +0 -6
  113. package/node_modules/emoji-regex/es2015/text.js +0 -6
  114. package/node_modules/emoji-regex/index.d.ts +0 -23
  115. package/node_modules/emoji-regex/index.js +0 -6
  116. package/node_modules/emoji-regex/package.json +0 -50
  117. package/node_modules/emoji-regex/text.js +0 -6
  118. package/node_modules/find-up/index.d.ts +0 -137
  119. package/node_modules/find-up/index.js +0 -89
  120. package/node_modules/find-up/license +0 -9
  121. package/node_modules/find-up/package.json +0 -53
  122. package/node_modules/find-up/readme.md +0 -156
  123. package/node_modules/get-caller-file/LICENSE.md +0 -6
  124. package/node_modules/get-caller-file/README.md +0 -41
  125. package/node_modules/get-caller-file/index.d.ts +0 -2
  126. package/node_modules/get-caller-file/index.js +0 -22
  127. package/node_modules/get-caller-file/index.js.map +0 -1
  128. package/node_modules/get-caller-file/package.json +0 -42
  129. package/node_modules/is-fullwidth-code-point/index.d.ts +0 -17
  130. package/node_modules/is-fullwidth-code-point/index.js +0 -50
  131. package/node_modules/is-fullwidth-code-point/license +0 -9
  132. package/node_modules/is-fullwidth-code-point/package.json +0 -42
  133. package/node_modules/is-fullwidth-code-point/readme.md +0 -39
  134. package/node_modules/locate-path/index.d.ts +0 -83
  135. package/node_modules/locate-path/index.js +0 -65
  136. package/node_modules/locate-path/license +0 -9
  137. package/node_modules/locate-path/package.json +0 -45
  138. package/node_modules/locate-path/readme.md +0 -122
  139. package/node_modules/p-limit/index.d.ts +0 -38
  140. package/node_modules/p-limit/index.js +0 -57
  141. package/node_modules/p-limit/license +0 -9
  142. package/node_modules/p-limit/package.json +0 -52
  143. package/node_modules/p-limit/readme.md +0 -101
  144. package/node_modules/p-locate/index.d.ts +0 -64
  145. package/node_modules/p-locate/index.js +0 -52
  146. package/node_modules/p-locate/license +0 -9
  147. package/node_modules/p-locate/package.json +0 -53
  148. package/node_modules/p-locate/readme.md +0 -90
  149. package/node_modules/p-try/index.d.ts +0 -39
  150. package/node_modules/p-try/index.js +0 -9
  151. package/node_modules/p-try/license +0 -9
  152. package/node_modules/p-try/package.json +0 -42
  153. package/node_modules/p-try/readme.md +0 -58
  154. package/node_modules/path-exists/index.d.ts +0 -28
  155. package/node_modules/path-exists/index.js +0 -23
  156. package/node_modules/path-exists/license +0 -9
  157. package/node_modules/path-exists/package.json +0 -39
  158. package/node_modules/path-exists/readme.md +0 -52
  159. package/node_modules/pngjs/.eslintignore +0 -2
  160. package/node_modules/pngjs/.eslintrc.json +0 -19
  161. package/node_modules/pngjs/.prettierignore +0 -3
  162. package/node_modules/pngjs/LICENSE +0 -20
  163. package/node_modules/pngjs/README.md +0 -429
  164. package/node_modules/pngjs/browser.js +0 -16096
  165. package/node_modules/pngjs/coverage/lcov-report/base.css +0 -354
  166. package/node_modules/pngjs/coverage/lcov-report/bitmapper.js.html +0 -881
  167. package/node_modules/pngjs/coverage/lcov-report/bitpacker.js.html +0 -554
  168. package/node_modules/pngjs/coverage/lcov-report/block-navigation.js +0 -77
  169. package/node_modules/pngjs/coverage/lcov-report/chunkstream.js.html +0 -647
  170. package/node_modules/pngjs/coverage/lcov-report/constants.js.html +0 -176
  171. package/node_modules/pngjs/coverage/lcov-report/crc.js.html +0 -200
  172. package/node_modules/pngjs/coverage/lcov-report/favicon.png +0 -0
  173. package/node_modules/pngjs/coverage/lcov-report/filter-pack.js.html +0 -593
  174. package/node_modules/pngjs/coverage/lcov-report/filter-parse-async.js.html +0 -152
  175. package/node_modules/pngjs/coverage/lcov-report/filter-parse-sync.js.html +0 -143
  176. package/node_modules/pngjs/coverage/lcov-report/filter-parse.js.html +0 -611
  177. package/node_modules/pngjs/coverage/lcov-report/format-normaliser.js.html +0 -359
  178. package/node_modules/pngjs/coverage/lcov-report/index.html +0 -426
  179. package/node_modules/pngjs/coverage/lcov-report/interlace.js.html +0 -365
  180. package/node_modules/pngjs/coverage/lcov-report/packer-async.js.html +0 -230
  181. package/node_modules/pngjs/coverage/lcov-report/packer-sync.js.html +0 -248
  182. package/node_modules/pngjs/coverage/lcov-report/packer.js.html +0 -467
  183. package/node_modules/pngjs/coverage/lcov-report/paeth-predictor.js.html +0 -128
  184. package/node_modules/pngjs/coverage/lcov-report/parser-async.js.html +0 -575
  185. package/node_modules/pngjs/coverage/lcov-report/parser-sync.js.html +0 -404
  186. package/node_modules/pngjs/coverage/lcov-report/parser.js.html +0 -950
  187. package/node_modules/pngjs/coverage/lcov-report/png-sync.js.html +0 -116
  188. package/node_modules/pngjs/coverage/lcov-report/png.js.html +0 -662
  189. package/node_modules/pngjs/coverage/lcov-report/prettify.css +0 -101
  190. package/node_modules/pngjs/coverage/lcov-report/prettify.js +0 -1007
  191. package/node_modules/pngjs/coverage/lcov-report/sort-arrow-sprite.png +0 -0
  192. package/node_modules/pngjs/coverage/lcov-report/sorter.js +0 -169
  193. package/node_modules/pngjs/coverage/lcov-report/sync-inflate.js.html +0 -584
  194. package/node_modules/pngjs/coverage/lcov-report/sync-reader.js.html +0 -215
  195. package/node_modules/pngjs/coverage/lcov.info +0 -2177
  196. package/node_modules/pngjs/lib/bitmapper.js +0 -267
  197. package/node_modules/pngjs/lib/bitpacker.js +0 -158
  198. package/node_modules/pngjs/lib/chunkstream.js +0 -189
  199. package/node_modules/pngjs/lib/constants.js +0 -32
  200. package/node_modules/pngjs/lib/crc.js +0 -40
  201. package/node_modules/pngjs/lib/filter-pack.js +0 -171
  202. package/node_modules/pngjs/lib/filter-parse-async.js +0 -24
  203. package/node_modules/pngjs/lib/filter-parse-sync.js +0 -21
  204. package/node_modules/pngjs/lib/filter-parse.js +0 -177
  205. package/node_modules/pngjs/lib/format-normaliser.js +0 -93
  206. package/node_modules/pngjs/lib/interlace.js +0 -95
  207. package/node_modules/pngjs/lib/packer-async.js +0 -50
  208. package/node_modules/pngjs/lib/packer-sync.js +0 -56
  209. package/node_modules/pngjs/lib/packer.js +0 -129
  210. package/node_modules/pngjs/lib/paeth-predictor.js +0 -16
  211. package/node_modules/pngjs/lib/parser-async.js +0 -165
  212. package/node_modules/pngjs/lib/parser-sync.js +0 -108
  213. package/node_modules/pngjs/lib/parser.js +0 -290
  214. package/node_modules/pngjs/lib/png-sync.js +0 -12
  215. package/node_modules/pngjs/lib/png.js +0 -194
  216. package/node_modules/pngjs/lib/sync-inflate.js +0 -168
  217. package/node_modules/pngjs/lib/sync-reader.js +0 -45
  218. package/node_modules/pngjs/package.json +0 -73
  219. package/node_modules/qrcode/README.md +0 -770
  220. package/node_modules/qrcode/bin/qrcode +0 -159
  221. package/node_modules/qrcode/helper/to-sjis-browser.js +0 -2
  222. package/node_modules/qrcode/helper/to-sjis.js +0 -105
  223. package/node_modules/qrcode/lib/browser.js +0 -76
  224. package/node_modules/qrcode/lib/can-promise.js +0 -7
  225. package/node_modules/qrcode/lib/core/alignment-pattern.js +0 -83
  226. package/node_modules/qrcode/lib/core/alphanumeric-data.js +0 -59
  227. package/node_modules/qrcode/lib/core/bit-buffer.js +0 -37
  228. package/node_modules/qrcode/lib/core/bit-matrix.js +0 -65
  229. package/node_modules/qrcode/lib/core/byte-data.js +0 -30
  230. package/node_modules/qrcode/lib/core/error-correction-code.js +0 -135
  231. package/node_modules/qrcode/lib/core/error-correction-level.js +0 -50
  232. package/node_modules/qrcode/lib/core/finder-pattern.js +0 -22
  233. package/node_modules/qrcode/lib/core/format-info.js +0 -29
  234. package/node_modules/qrcode/lib/core/galois-field.js +0 -69
  235. package/node_modules/qrcode/lib/core/kanji-data.js +0 -54
  236. package/node_modules/qrcode/lib/core/mask-pattern.js +0 -234
  237. package/node_modules/qrcode/lib/core/mode.js +0 -167
  238. package/node_modules/qrcode/lib/core/numeric-data.js +0 -43
  239. package/node_modules/qrcode/lib/core/polynomial.js +0 -62
  240. package/node_modules/qrcode/lib/core/qrcode.js +0 -495
  241. package/node_modules/qrcode/lib/core/reed-solomon-encoder.js +0 -56
  242. package/node_modules/qrcode/lib/core/regex.js +0 -31
  243. package/node_modules/qrcode/lib/core/segments.js +0 -330
  244. package/node_modules/qrcode/lib/core/utils.js +0 -63
  245. package/node_modules/qrcode/lib/core/version-check.js +0 -9
  246. package/node_modules/qrcode/lib/core/version.js +0 -163
  247. package/node_modules/qrcode/lib/index.js +0 -12
  248. package/node_modules/qrcode/lib/renderer/canvas.js +0 -63
  249. package/node_modules/qrcode/lib/renderer/png.js +0 -78
  250. package/node_modules/qrcode/lib/renderer/svg-tag.js +0 -81
  251. package/node_modules/qrcode/lib/renderer/svg.js +0 -19
  252. package/node_modules/qrcode/lib/renderer/terminal/terminal-small.js +0 -85
  253. package/node_modules/qrcode/lib/renderer/terminal/terminal.js +0 -49
  254. package/node_modules/qrcode/lib/renderer/terminal.js +0 -9
  255. package/node_modules/qrcode/lib/renderer/utf8.js +0 -71
  256. package/node_modules/qrcode/lib/renderer/utils.js +0 -99
  257. package/node_modules/qrcode/lib/server.js +0 -138
  258. package/node_modules/qrcode/license +0 -10
  259. package/node_modules/qrcode/package.json +0 -77
  260. package/node_modules/require-directory/.jshintrc +0 -67
  261. package/node_modules/require-directory/.npmignore +0 -1
  262. package/node_modules/require-directory/.travis.yml +0 -3
  263. package/node_modules/require-directory/LICENSE +0 -22
  264. package/node_modules/require-directory/README.markdown +0 -184
  265. package/node_modules/require-directory/index.js +0 -86
  266. package/node_modules/require-directory/package.json +0 -40
  267. package/node_modules/require-main-filename/CHANGELOG.md +0 -26
  268. package/node_modules/require-main-filename/LICENSE.txt +0 -14
  269. package/node_modules/require-main-filename/README.md +0 -26
  270. package/node_modules/require-main-filename/index.js +0 -18
  271. package/node_modules/require-main-filename/package.json +0 -35
  272. package/node_modules/set-blocking/CHANGELOG.md +0 -26
  273. package/node_modules/set-blocking/LICENSE.txt +0 -14
  274. package/node_modules/set-blocking/README.md +0 -31
  275. package/node_modules/set-blocking/index.js +0 -7
  276. package/node_modules/set-blocking/package.json +0 -42
  277. package/node_modules/string-width/index.d.ts +0 -29
  278. package/node_modules/string-width/index.js +0 -47
  279. package/node_modules/string-width/license +0 -9
  280. package/node_modules/string-width/package.json +0 -56
  281. package/node_modules/string-width/readme.md +0 -50
  282. package/node_modules/strip-ansi/index.d.ts +0 -17
  283. package/node_modules/strip-ansi/index.js +0 -4
  284. package/node_modules/strip-ansi/license +0 -9
  285. package/node_modules/strip-ansi/package.json +0 -54
  286. package/node_modules/strip-ansi/readme.md +0 -46
  287. package/node_modules/which-module/LICENSE +0 -13
  288. package/node_modules/which-module/README.md +0 -58
  289. package/node_modules/which-module/index.js +0 -9
  290. package/node_modules/which-module/package.json +0 -41
  291. package/node_modules/wrap-ansi/index.js +0 -186
  292. package/node_modules/wrap-ansi/license +0 -9
  293. package/node_modules/wrap-ansi/package.json +0 -61
  294. package/node_modules/wrap-ansi/readme.md +0 -97
  295. package/node_modules/y18n/CHANGELOG.md +0 -35
  296. package/node_modules/y18n/LICENSE +0 -13
  297. package/node_modules/y18n/README.md +0 -109
  298. package/node_modules/y18n/index.js +0 -188
  299. package/node_modules/y18n/package.json +0 -39
  300. package/node_modules/yargs/CHANGELOG.md +0 -420
  301. package/node_modules/yargs/LICENSE +0 -21
  302. package/node_modules/yargs/README.md +0 -140
  303. package/node_modules/yargs/build/lib/apply-extends.d.ts +0 -2
  304. package/node_modules/yargs/build/lib/apply-extends.js +0 -65
  305. package/node_modules/yargs/build/lib/argsert.d.ts +0 -2
  306. package/node_modules/yargs/build/lib/argsert.js +0 -65
  307. package/node_modules/yargs/build/lib/command.d.ts +0 -64
  308. package/node_modules/yargs/build/lib/command.js +0 -416
  309. package/node_modules/yargs/build/lib/common-types.d.ts +0 -36
  310. package/node_modules/yargs/build/lib/common-types.js +0 -25
  311. package/node_modules/yargs/build/lib/completion-templates.d.ts +0 -2
  312. package/node_modules/yargs/build/lib/completion-templates.js +0 -50
  313. package/node_modules/yargs/build/lib/completion.d.ts +0 -21
  314. package/node_modules/yargs/build/lib/completion.js +0 -135
  315. package/node_modules/yargs/build/lib/is-promise.d.ts +0 -1
  316. package/node_modules/yargs/build/lib/is-promise.js +0 -9
  317. package/node_modules/yargs/build/lib/levenshtein.d.ts +0 -1
  318. package/node_modules/yargs/build/lib/levenshtein.js +0 -58
  319. package/node_modules/yargs/build/lib/middleware.d.ts +0 -10
  320. package/node_modules/yargs/build/lib/middleware.js +0 -57
  321. package/node_modules/yargs/build/lib/obj-filter.d.ts +0 -1
  322. package/node_modules/yargs/build/lib/obj-filter.js +0 -14
  323. package/node_modules/yargs/build/lib/parse-command.d.ts +0 -11
  324. package/node_modules/yargs/build/lib/parse-command.js +0 -36
  325. package/node_modules/yargs/build/lib/process-argv.d.ts +0 -2
  326. package/node_modules/yargs/build/lib/process-argv.js +0 -31
  327. package/node_modules/yargs/build/lib/usage.d.ts +0 -49
  328. package/node_modules/yargs/build/lib/usage.js +0 -540
  329. package/node_modules/yargs/build/lib/validation.d.ts +0 -34
  330. package/node_modules/yargs/build/lib/validation.js +0 -330
  331. package/node_modules/yargs/build/lib/yargs.d.ts +0 -274
  332. package/node_modules/yargs/build/lib/yargs.js +0 -1190
  333. package/node_modules/yargs/build/lib/yerror.d.ts +0 -4
  334. package/node_modules/yargs/build/lib/yerror.js +0 -11
  335. package/node_modules/yargs/index.js +0 -40
  336. package/node_modules/yargs/locales/be.json +0 -46
  337. package/node_modules/yargs/locales/de.json +0 -46
  338. package/node_modules/yargs/locales/en.json +0 -51
  339. package/node_modules/yargs/locales/es.json +0 -46
  340. package/node_modules/yargs/locales/fi.json +0 -49
  341. package/node_modules/yargs/locales/fr.json +0 -53
  342. package/node_modules/yargs/locales/hi.json +0 -49
  343. package/node_modules/yargs/locales/hu.json +0 -46
  344. package/node_modules/yargs/locales/id.json +0 -50
  345. package/node_modules/yargs/locales/it.json +0 -46
  346. package/node_modules/yargs/locales/ja.json +0 -51
  347. package/node_modules/yargs/locales/ko.json +0 -49
  348. package/node_modules/yargs/locales/nb.json +0 -44
  349. package/node_modules/yargs/locales/nl.json +0 -49
  350. package/node_modules/yargs/locales/nn.json +0 -44
  351. package/node_modules/yargs/locales/pirate.json +0 -13
  352. package/node_modules/yargs/locales/pl.json +0 -49
  353. package/node_modules/yargs/locales/pt.json +0 -45
  354. package/node_modules/yargs/locales/pt_BR.json +0 -48
  355. package/node_modules/yargs/locales/ru.json +0 -46
  356. package/node_modules/yargs/locales/th.json +0 -46
  357. package/node_modules/yargs/locales/tr.json +0 -48
  358. package/node_modules/yargs/locales/zh_CN.json +0 -48
  359. package/node_modules/yargs/locales/zh_TW.json +0 -47
  360. package/node_modules/yargs/package.json +0 -92
  361. package/node_modules/yargs/yargs.js +0 -14
  362. package/node_modules/yargs-parser/CHANGELOG.md +0 -601
  363. package/node_modules/yargs-parser/LICENSE.txt +0 -14
  364. package/node_modules/yargs-parser/README.md +0 -449
  365. package/node_modules/yargs-parser/index.js +0 -1032
  366. package/node_modules/yargs-parser/lib/tokenize-arg-string.js +0 -40
  367. package/node_modules/yargs-parser/package.json +0 -46
@@ -1,137 +0,0 @@
1
- import {Options as LocatePathOptions} from 'locate-path';
2
-
3
- declare const stop: unique symbol;
4
-
5
- declare namespace findUp {
6
- interface Options extends LocatePathOptions {}
7
-
8
- type StopSymbol = typeof stop;
9
-
10
- type Match = string | StopSymbol | undefined;
11
- }
12
-
13
- declare const findUp: {
14
- /**
15
- Find a file or directory by walking up parent directories.
16
-
17
- @param name - Name of the file or directory to find. Can be multiple.
18
- @returns The first path found (by respecting the order of `name`s) or `undefined` if none could be found.
19
-
20
- @example
21
- ```
22
- // /
23
- // └── Users
24
- // └── sindresorhus
25
- // ├── unicorn.png
26
- // └── foo
27
- // └── bar
28
- // ├── baz
29
- // └── example.js
30
-
31
- // example.js
32
- import findUp = require('find-up');
33
-
34
- (async () => {
35
- console.log(await findUp('unicorn.png'));
36
- //=> '/Users/sindresorhus/unicorn.png'
37
-
38
- console.log(await findUp(['rainbow.png', 'unicorn.png']));
39
- //=> '/Users/sindresorhus/unicorn.png'
40
- })();
41
- ```
42
- */
43
- (name: string | string[], options?: findUp.Options): Promise<string | undefined>;
44
-
45
- /**
46
- Find a file or directory by walking up parent directories.
47
-
48
- @param matcher - Called for each directory in the search. Return a path or `findUp.stop` to stop the search.
49
- @returns The first path found or `undefined` if none could be found.
50
-
51
- @example
52
- ```
53
- import path = require('path');
54
- import findUp = require('find-up');
55
-
56
- (async () => {
57
- console.log(await findUp(async directory => {
58
- const hasUnicorns = await findUp.exists(path.join(directory, 'unicorn.png'));
59
- return hasUnicorns && directory;
60
- }, {type: 'directory'}));
61
- //=> '/Users/sindresorhus'
62
- })();
63
- ```
64
- */
65
- (matcher: (directory: string) => (findUp.Match | Promise<findUp.Match>), options?: findUp.Options): Promise<string | undefined>;
66
-
67
- sync: {
68
- /**
69
- Synchronously find a file or directory by walking up parent directories.
70
-
71
- @param name - Name of the file or directory to find. Can be multiple.
72
- @returns The first path found (by respecting the order of `name`s) or `undefined` if none could be found.
73
- */
74
- (name: string | string[], options?: findUp.Options): string | undefined;
75
-
76
- /**
77
- Synchronously find a file or directory by walking up parent directories.
78
-
79
- @param matcher - Called for each directory in the search. Return a path or `findUp.stop` to stop the search.
80
- @returns The first path found or `undefined` if none could be found.
81
-
82
- @example
83
- ```
84
- import path = require('path');
85
- import findUp = require('find-up');
86
-
87
- console.log(findUp.sync(directory => {
88
- const hasUnicorns = findUp.sync.exists(path.join(directory, 'unicorn.png'));
89
- return hasUnicorns && directory;
90
- }, {type: 'directory'}));
91
- //=> '/Users/sindresorhus'
92
- ```
93
- */
94
- (matcher: (directory: string) => findUp.Match, options?: findUp.Options): string | undefined;
95
-
96
- /**
97
- Synchronously check if a path exists.
98
-
99
- @param path - Path to the file or directory.
100
- @returns Whether the path exists.
101
-
102
- @example
103
- ```
104
- import findUp = require('find-up');
105
-
106
- console.log(findUp.sync.exists('/Users/sindresorhus/unicorn.png'));
107
- //=> true
108
- ```
109
- */
110
- exists(path: string): boolean;
111
- }
112
-
113
- /**
114
- Check if a path exists.
115
-
116
- @param path - Path to a file or directory.
117
- @returns Whether the path exists.
118
-
119
- @example
120
- ```
121
- import findUp = require('find-up');
122
-
123
- (async () => {
124
- console.log(await findUp.exists('/Users/sindresorhus/unicorn.png'));
125
- //=> true
126
- })();
127
- ```
128
- */
129
- exists(path: string): Promise<boolean>;
130
-
131
- /**
132
- Return this in a `matcher` function to stop the search and force `findUp` to immediately return `undefined`.
133
- */
134
- readonly stop: findUp.StopSymbol;
135
- };
136
-
137
- export = findUp;
@@ -1,89 +0,0 @@
1
- 'use strict';
2
- const path = require('path');
3
- const locatePath = require('locate-path');
4
- const pathExists = require('path-exists');
5
-
6
- const stop = Symbol('findUp.stop');
7
-
8
- module.exports = async (name, options = {}) => {
9
- let directory = path.resolve(options.cwd || '');
10
- const {root} = path.parse(directory);
11
- const paths = [].concat(name);
12
-
13
- const runMatcher = async locateOptions => {
14
- if (typeof name !== 'function') {
15
- return locatePath(paths, locateOptions);
16
- }
17
-
18
- const foundPath = await name(locateOptions.cwd);
19
- if (typeof foundPath === 'string') {
20
- return locatePath([foundPath], locateOptions);
21
- }
22
-
23
- return foundPath;
24
- };
25
-
26
- // eslint-disable-next-line no-constant-condition
27
- while (true) {
28
- // eslint-disable-next-line no-await-in-loop
29
- const foundPath = await runMatcher({...options, cwd: directory});
30
-
31
- if (foundPath === stop) {
32
- return;
33
- }
34
-
35
- if (foundPath) {
36
- return path.resolve(directory, foundPath);
37
- }
38
-
39
- if (directory === root) {
40
- return;
41
- }
42
-
43
- directory = path.dirname(directory);
44
- }
45
- };
46
-
47
- module.exports.sync = (name, options = {}) => {
48
- let directory = path.resolve(options.cwd || '');
49
- const {root} = path.parse(directory);
50
- const paths = [].concat(name);
51
-
52
- const runMatcher = locateOptions => {
53
- if (typeof name !== 'function') {
54
- return locatePath.sync(paths, locateOptions);
55
- }
56
-
57
- const foundPath = name(locateOptions.cwd);
58
- if (typeof foundPath === 'string') {
59
- return locatePath.sync([foundPath], locateOptions);
60
- }
61
-
62
- return foundPath;
63
- };
64
-
65
- // eslint-disable-next-line no-constant-condition
66
- while (true) {
67
- const foundPath = runMatcher({...options, cwd: directory});
68
-
69
- if (foundPath === stop) {
70
- return;
71
- }
72
-
73
- if (foundPath) {
74
- return path.resolve(directory, foundPath);
75
- }
76
-
77
- if (directory === root) {
78
- return;
79
- }
80
-
81
- directory = path.dirname(directory);
82
- }
83
- };
84
-
85
- module.exports.exists = pathExists;
86
-
87
- module.exports.sync.exists = pathExists.sync;
88
-
89
- module.exports.stop = stop;
@@ -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,53 +0,0 @@
1
- {
2
- "name": "find-up",
3
- "version": "4.1.0",
4
- "description": "Find a file or directory by walking up parent directories",
5
- "license": "MIT",
6
- "repository": "sindresorhus/find-up",
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
- "find",
24
- "up",
25
- "find-up",
26
- "findup",
27
- "look-up",
28
- "look",
29
- "file",
30
- "search",
31
- "match",
32
- "package",
33
- "resolve",
34
- "parent",
35
- "parents",
36
- "folder",
37
- "directory",
38
- "walk",
39
- "walking",
40
- "path"
41
- ],
42
- "dependencies": {
43
- "locate-path": "^5.0.0",
44
- "path-exists": "^4.0.0"
45
- },
46
- "devDependencies": {
47
- "ava": "^2.1.0",
48
- "is-path-inside": "^2.1.0",
49
- "tempy": "^0.3.0",
50
- "tsd": "^0.7.3",
51
- "xo": "^0.24.0"
52
- }
53
- }
@@ -1,156 +0,0 @@
1
- # find-up [![Build Status](https://travis-ci.org/sindresorhus/find-up.svg?branch=master)](https://travis-ci.org/sindresorhus/find-up)
2
-
3
- > Find a file or directory by walking up parent directories
4
-
5
-
6
- ## Install
7
-
8
- ```
9
- $ npm install find-up
10
- ```
11
-
12
-
13
- ## Usage
14
-
15
- ```
16
- /
17
- └── Users
18
- └── sindresorhus
19
- ├── unicorn.png
20
- └── foo
21
- └── bar
22
- ├── baz
23
- └── example.js
24
- ```
25
-
26
- `example.js`
27
-
28
- ```js
29
- const path = require('path');
30
- const findUp = require('find-up');
31
-
32
- (async () => {
33
- console.log(await findUp('unicorn.png'));
34
- //=> '/Users/sindresorhus/unicorn.png'
35
-
36
- console.log(await findUp(['rainbow.png', 'unicorn.png']));
37
- //=> '/Users/sindresorhus/unicorn.png'
38
-
39
- console.log(await findUp(async directory => {
40
- const hasUnicorns = await findUp.exists(path.join(directory, 'unicorn.png'));
41
- return hasUnicorns && directory;
42
- }, {type: 'directory'}));
43
- //=> '/Users/sindresorhus'
44
- })();
45
- ```
46
-
47
-
48
- ## API
49
-
50
- ### findUp(name, options?)
51
- ### findUp(matcher, options?)
52
-
53
- Returns a `Promise` for either the path or `undefined` if it couldn't be found.
54
-
55
- ### findUp([...name], options?)
56
-
57
- Returns a `Promise` for either the first path found (by respecting the order of the array) or `undefined` if none could be found.
58
-
59
- ### findUp.sync(name, options?)
60
- ### findUp.sync(matcher, options?)
61
-
62
- Returns a path or `undefined` if it couldn't be found.
63
-
64
- ### findUp.sync([...name], options?)
65
-
66
- Returns the first path found (by respecting the order of the array) or `undefined` if none could be found.
67
-
68
- #### name
69
-
70
- Type: `string`
71
-
72
- Name of the file or directory to find.
73
-
74
- #### matcher
75
-
76
- Type: `Function`
77
-
78
- A function that will be called with each directory until it returns a `string` with the path, which stops the search, or the root directory has been reached and nothing was found. Useful if you want to match files with certain patterns, set of permissions, or other advanced use-cases.
79
-
80
- When using async mode, the `matcher` may optionally be an async or promise-returning function that returns the path.
81
-
82
- #### options
83
-
84
- Type: `object`
85
-
86
- ##### cwd
87
-
88
- Type: `string`<br>
89
- Default: `process.cwd()`
90
-
91
- Directory to start from.
92
-
93
- ##### type
94
-
95
- Type: `string`<br>
96
- Default: `'file'`<br>
97
- Values: `'file'` `'directory'`
98
-
99
- The type of paths that can match.
100
-
101
- ##### allowSymlinks
102
-
103
- Type: `boolean`<br>
104
- Default: `true`
105
-
106
- Allow symbolic links to match if they point to the chosen path type.
107
-
108
- ### findUp.exists(path)
109
-
110
- Returns a `Promise<boolean>` of whether the path exists.
111
-
112
- ### findUp.sync.exists(path)
113
-
114
- Returns a `boolean` of whether the path exists.
115
-
116
- #### path
117
-
118
- Type: `string`
119
-
120
- Path to a file or directory.
121
-
122
- ### findUp.stop
123
-
124
- A [`Symbol`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Symbol) that can be returned by a `matcher` function to stop the search and cause `findUp` to immediately return `undefined`. Useful as a performance optimization in case the current working directory is deeply nested in the filesystem.
125
-
126
- ```js
127
- const path = require('path');
128
- const findUp = require('find-up');
129
-
130
- (async () => {
131
- await findUp(directory => {
132
- return path.basename(directory) === 'work' ? findUp.stop : 'logo.png';
133
- });
134
- })();
135
- ```
136
-
137
-
138
- ## Related
139
-
140
- - [find-up-cli](https://github.com/sindresorhus/find-up-cli) - CLI for this module
141
- - [pkg-up](https://github.com/sindresorhus/pkg-up) - Find the closest package.json file
142
- - [pkg-dir](https://github.com/sindresorhus/pkg-dir) - Find the root directory of an npm package
143
- - [resolve-from](https://github.com/sindresorhus/resolve-from) - Resolve the path of a module like `require.resolve()` but from a given path
144
-
145
-
146
- ---
147
-
148
- <div align="center">
149
- <b>
150
- <a href="https://tidelift.com/subscription/pkg/npm-find-up?utm_source=npm-find-up&utm_medium=referral&utm_campaign=readme">Get professional support for 'find-up' with a Tidelift subscription</a>
151
- </b>
152
- <br>
153
- <sub>
154
- Tidelift helps make open source sustainable for maintainers while giving companies<br>assurances about security, maintenance, and licensing for their dependencies.
155
- </sub>
156
- </div>
@@ -1,6 +0,0 @@
1
- ISC License (ISC)
2
- Copyright 2018 Stefan Penner
3
-
4
- Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies.
5
-
6
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
@@ -1,41 +0,0 @@
1
- # get-caller-file
2
-
3
- [![Build Status](https://travis-ci.org/stefanpenner/get-caller-file.svg?branch=master)](https://travis-ci.org/stefanpenner/get-caller-file)
4
- [![Build status](https://ci.appveyor.com/api/projects/status/ol2q94g1932cy14a/branch/master?svg=true)](https://ci.appveyor.com/project/embercli/get-caller-file/branch/master)
5
-
6
- This is a utility, which allows a function to figure out from which file it was invoked. It does so by inspecting v8's stack trace at the time it is invoked.
7
-
8
- Inspired by http://stackoverflow.com/questions/13227489
9
-
10
- *note: this relies on Node/V8 specific APIs, as such other runtimes may not work*
11
-
12
- ## Installation
13
-
14
- ```bash
15
- yarn add get-caller-file
16
- ```
17
-
18
- ## Usage
19
-
20
- Given:
21
-
22
- ```js
23
- // ./foo.js
24
- const getCallerFile = require('get-caller-file');
25
-
26
- module.exports = function() {
27
- return getCallerFile(); // figures out who called it
28
- };
29
- ```
30
-
31
- ```js
32
- // index.js
33
- const foo = require('./foo');
34
-
35
- foo() // => /full/path/to/this/file/index.js
36
- ```
37
-
38
-
39
- ## Options:
40
-
41
- * `getCallerFile(position = 2)`: where position is stack frame whos fileName we want.
@@ -1,2 +0,0 @@
1
- declare const _default: (position?: number) => any;
2
- export = _default;
@@ -1,22 +0,0 @@
1
- "use strict";
2
- // Call this function in a another function to find out the file from
3
- // which that function was called from. (Inspects the v8 stack trace)
4
- //
5
- // Inspired by http://stackoverflow.com/questions/13227489
6
- module.exports = function getCallerFile(position) {
7
- if (position === void 0) { position = 2; }
8
- if (position >= Error.stackTraceLimit) {
9
- throw new TypeError('getCallerFile(position) requires position be less then Error.stackTraceLimit but position was: `' + position + '` and Error.stackTraceLimit was: `' + Error.stackTraceLimit + '`');
10
- }
11
- var oldPrepareStackTrace = Error.prepareStackTrace;
12
- Error.prepareStackTrace = function (_, stack) { return stack; };
13
- var stack = new Error().stack;
14
- Error.prepareStackTrace = oldPrepareStackTrace;
15
- if (stack !== null && typeof stack === 'object') {
16
- // stack[0] holds this file
17
- // stack[1] holds where this function was called
18
- // stack[2] holds the file we're interested in
19
- return stack[position] ? stack[position].getFileName() : undefined;
20
- }
21
- };
22
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";AAAA,qEAAqE;AACrE,qEAAqE;AACrE,EAAE;AACF,0DAA0D;AAE1D,iBAAS,SAAS,aAAa,CAAC,QAAY;IAAZ,yBAAA,EAAA,YAAY;IAC1C,IAAI,QAAQ,IAAI,KAAK,CAAC,eAAe,EAAE;QACrC,MAAM,IAAI,SAAS,CAAC,kGAAkG,GAAG,QAAQ,GAAG,oCAAoC,GAAG,KAAK,CAAC,eAAe,GAAG,GAAG,CAAC,CAAC;KACzM;IAED,IAAM,oBAAoB,GAAG,KAAK,CAAC,iBAAiB,CAAC;IACrD,KAAK,CAAC,iBAAiB,GAAG,UAAC,CAAC,EAAE,KAAK,IAAM,OAAA,KAAK,EAAL,CAAK,CAAC;IAC/C,IAAM,KAAK,GAAG,IAAI,KAAK,EAAE,CAAC,KAAK,CAAC;IAChC,KAAK,CAAC,iBAAiB,GAAG,oBAAoB,CAAC;IAG/C,IAAI,KAAK,KAAK,IAAI,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE;QAC/C,2BAA2B;QAC3B,gDAAgD;QAChD,8CAA8C;QAC9C,OAAO,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAE,KAAK,CAAC,QAAQ,CAAS,CAAC,WAAW,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC;KAC7E;AACH,CAAC,CAAC"}
@@ -1,42 +0,0 @@
1
- {
2
- "name": "get-caller-file",
3
- "version": "2.0.5",
4
- "description": "",
5
- "main": "index.js",
6
- "directories": {
7
- "test": "tests"
8
- },
9
- "files": [
10
- "index.js",
11
- "index.js.map",
12
- "index.d.ts"
13
- ],
14
- "scripts": {
15
- "prepare": "tsc",
16
- "test": "mocha test",
17
- "test:debug": "mocha test"
18
- },
19
- "repository": {
20
- "type": "git",
21
- "url": "git+https://github.com/stefanpenner/get-caller-file.git"
22
- },
23
- "author": "Stefan Penner",
24
- "license": "ISC",
25
- "bugs": {
26
- "url": "https://github.com/stefanpenner/get-caller-file/issues"
27
- },
28
- "homepage": "https://github.com/stefanpenner/get-caller-file#readme",
29
- "devDependencies": {
30
- "@types/chai": "^4.1.7",
31
- "@types/ensure-posix-path": "^1.0.0",
32
- "@types/mocha": "^5.2.6",
33
- "@types/node": "^11.10.5",
34
- "chai": "^4.1.2",
35
- "ensure-posix-path": "^1.0.1",
36
- "mocha": "^5.2.0",
37
- "typescript": "^3.3.3333"
38
- },
39
- "engines": {
40
- "node": "6.* || 8.* || >= 10.*"
41
- }
42
- }
@@ -1,17 +0,0 @@
1
- /**
2
- 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).
3
-
4
- @param codePoint - The [code point](https://en.wikipedia.org/wiki/Code_point) of a character.
5
-
6
- @example
7
- ```
8
- import isFullwidthCodePoint from 'is-fullwidth-code-point';
9
-
10
- isFullwidthCodePoint('谢'.codePointAt(0));
11
- //=> true
12
-
13
- isFullwidthCodePoint('a'.codePointAt(0));
14
- //=> false
15
- ```
16
- */
17
- export default function isFullwidthCodePoint(codePoint: number): boolean;
@@ -1,50 +0,0 @@
1
- /* eslint-disable yoda */
2
- 'use strict';
3
-
4
- const isFullwidthCodePoint = codePoint => {
5
- if (Number.isNaN(codePoint)) {
6
- return false;
7
- }
8
-
9
- // Code points are derived from:
10
- // http://www.unix.org/Public/UNIDATA/EastAsianWidth.txt
11
- if (
12
- codePoint >= 0x1100 && (
13
- codePoint <= 0x115F || // Hangul Jamo
14
- codePoint === 0x2329 || // LEFT-POINTING ANGLE BRACKET
15
- codePoint === 0x232A || // RIGHT-POINTING ANGLE BRACKET
16
- // CJK Radicals Supplement .. Enclosed CJK Letters and Months
17
- (0x2E80 <= codePoint && codePoint <= 0x3247 && codePoint !== 0x303F) ||
18
- // Enclosed CJK Letters and Months .. CJK Unified Ideographs Extension A
19
- (0x3250 <= codePoint && codePoint <= 0x4DBF) ||
20
- // CJK Unified Ideographs .. Yi Radicals
21
- (0x4E00 <= codePoint && codePoint <= 0xA4C6) ||
22
- // Hangul Jamo Extended-A
23
- (0xA960 <= codePoint && codePoint <= 0xA97C) ||
24
- // Hangul Syllables
25
- (0xAC00 <= codePoint && codePoint <= 0xD7A3) ||
26
- // CJK Compatibility Ideographs
27
- (0xF900 <= codePoint && codePoint <= 0xFAFF) ||
28
- // Vertical Forms
29
- (0xFE10 <= codePoint && codePoint <= 0xFE19) ||
30
- // CJK Compatibility Forms .. Small Form Variants
31
- (0xFE30 <= codePoint && codePoint <= 0xFE6B) ||
32
- // Halfwidth and Fullwidth Forms
33
- (0xFF01 <= codePoint && codePoint <= 0xFF60) ||
34
- (0xFFE0 <= codePoint && codePoint <= 0xFFE6) ||
35
- // Kana Supplement
36
- (0x1B000 <= codePoint && codePoint <= 0x1B001) ||
37
- // Enclosed Ideographic Supplement
38
- (0x1F200 <= codePoint && codePoint <= 0x1F251) ||
39
- // CJK Unified Ideographs Extension B .. Tertiary Ideographic Plane
40
- (0x20000 <= codePoint && codePoint <= 0x3FFFD)
41
- )
42
- ) {
43
- return true;
44
- }
45
-
46
- return false;
47
- };
48
-
49
- module.exports = isFullwidthCodePoint;
50
- module.exports.default = isFullwidthCodePoint;
@@ -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.