protobufjs 6.11.3 → 6.11.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2202) hide show
  1. package/cli/bin/pbjs +0 -0
  2. package/cli/bin/pbts +0 -0
  3. package/cli/node_modules/.package-lock.json +473 -0
  4. package/cli/node_modules/@babel/parser/CHANGELOG.md +1073 -0
  5. package/cli/node_modules/@babel/parser/LICENSE +19 -0
  6. package/cli/node_modules/@babel/parser/README.md +19 -0
  7. package/cli/node_modules/@babel/parser/bin/babel-parser.js +15 -0
  8. package/cli/node_modules/@babel/parser/index.cjs +5 -0
  9. package/cli/node_modules/@babel/parser/lib/index.js +16800 -0
  10. package/cli/node_modules/@babel/parser/lib/index.js.map +1 -0
  11. package/cli/node_modules/@babel/parser/package.json +46 -0
  12. package/cli/node_modules/@babel/parser/typings/babel-parser.d.ts +214 -0
  13. package/cli/node_modules/@types/linkify-it/LICENSE +21 -0
  14. package/cli/node_modules/@types/linkify-it/README.md +89 -0
  15. package/cli/node_modules/@types/linkify-it/index.d.ts +69 -0
  16. package/cli/node_modules/@types/linkify-it/package.json +39 -0
  17. package/cli/node_modules/@types/markdown-it/LICENSE +21 -0
  18. package/cli/node_modules/@types/markdown-it/README.md +16 -0
  19. package/cli/node_modules/@types/markdown-it/index.d.ts +13 -0
  20. package/cli/node_modules/@types/markdown-it/lib/common/entities.d.ts +7 -0
  21. package/cli/node_modules/@types/markdown-it/lib/common/html_blocks.d.ts +3 -0
  22. package/cli/node_modules/@types/markdown-it/lib/common/html_re.d.ts +8 -0
  23. package/cli/node_modules/@types/markdown-it/lib/common/utils.d.ts +70 -0
  24. package/cli/node_modules/@types/markdown-it/lib/helpers/index.d.ts +13 -0
  25. package/cli/node_modules/@types/markdown-it/lib/helpers/parse_link_destination.d.ts +12 -0
  26. package/cli/node_modules/@types/markdown-it/lib/helpers/parse_link_label.d.ts +5 -0
  27. package/cli/node_modules/@types/markdown-it/lib/helpers/parse_link_title.d.ts +5 -0
  28. package/cli/node_modules/@types/markdown-it/lib/index.d.ts +406 -0
  29. package/cli/node_modules/@types/markdown-it/lib/parser_block.d.ts +29 -0
  30. package/cli/node_modules/@types/markdown-it/lib/parser_core.d.ts +19 -0
  31. package/cli/node_modules/@types/markdown-it/lib/parser_inline.d.ts +42 -0
  32. package/cli/node_modules/@types/markdown-it/lib/renderer.d.ts +96 -0
  33. package/cli/node_modules/@types/markdown-it/lib/ruler.d.ts +167 -0
  34. package/cli/node_modules/@types/markdown-it/lib/rules_block/state_block.d.ts +134 -0
  35. package/cli/node_modules/@types/markdown-it/lib/rules_core/state_core.d.ts +20 -0
  36. package/cli/node_modules/@types/markdown-it/lib/rules_inline/state_inline.d.ts +78 -0
  37. package/cli/node_modules/@types/markdown-it/lib/token.d.ts +111 -0
  38. package/cli/node_modules/@types/markdown-it/package.json +43 -0
  39. package/cli/node_modules/@types/mdurl/LICENSE +21 -0
  40. package/cli/node_modules/@types/mdurl/README.md +16 -0
  41. package/cli/node_modules/@types/mdurl/decode.d.ts +7 -0
  42. package/cli/node_modules/@types/mdurl/encode.d.ts +7 -0
  43. package/cli/node_modules/@types/mdurl/format.d.ts +5 -0
  44. package/cli/node_modules/@types/mdurl/index.d.ts +26 -0
  45. package/cli/node_modules/@types/mdurl/package.json +23 -0
  46. package/cli/node_modules/@types/mdurl/parse.d.ts +5 -0
  47. package/cli/node_modules/acorn/CHANGELOG.md +810 -0
  48. package/cli/node_modules/acorn/LICENSE +21 -0
  49. package/cli/node_modules/acorn/README.md +273 -0
  50. package/cli/node_modules/acorn/bin/acorn +4 -0
  51. package/cli/node_modules/acorn/dist/acorn.d.ts +252 -0
  52. package/cli/node_modules/acorn/dist/acorn.js +5605 -0
  53. package/cli/node_modules/acorn/dist/acorn.mjs +5574 -0
  54. package/cli/node_modules/acorn/dist/acorn.mjs.d.ts +2 -0
  55. package/cli/node_modules/acorn/dist/bin.js +91 -0
  56. package/cli/node_modules/acorn/package.json +50 -0
  57. package/cli/node_modules/acorn-jsx/LICENSE +19 -0
  58. package/cli/node_modules/acorn-jsx/README.md +40 -0
  59. package/cli/node_modules/acorn-jsx/index.d.ts +12 -0
  60. package/cli/node_modules/acorn-jsx/index.js +488 -0
  61. package/cli/node_modules/acorn-jsx/package.json +27 -0
  62. package/cli/node_modules/acorn-jsx/xhtml.js +255 -0
  63. package/cli/node_modules/argparse/CHANGELOG.md +216 -0
  64. package/cli/node_modules/argparse/LICENSE +254 -0
  65. package/cli/node_modules/argparse/README.md +84 -0
  66. package/cli/node_modules/argparse/argparse.js +3707 -0
  67. package/cli/node_modules/argparse/lib/sub.js +67 -0
  68. package/cli/node_modules/argparse/lib/textwrap.js +440 -0
  69. package/cli/node_modules/argparse/package.json +31 -0
  70. package/cli/node_modules/balanced-match/.github/FUNDING.yml +2 -0
  71. package/cli/node_modules/balanced-match/LICENSE.md +21 -0
  72. package/cli/node_modules/balanced-match/README.md +97 -0
  73. package/cli/node_modules/balanced-match/index.js +62 -0
  74. package/cli/node_modules/balanced-match/package.json +48 -0
  75. package/cli/node_modules/bluebird/LICENSE +21 -0
  76. package/cli/node_modules/bluebird/README.md +57 -0
  77. package/cli/node_modules/bluebird/changelog.md +1 -0
  78. package/cli/node_modules/bluebird/js/browser/bluebird.core.js +3914 -0
  79. package/cli/node_modules/bluebird/js/browser/bluebird.core.min.js +31 -0
  80. package/cli/node_modules/bluebird/js/browser/bluebird.js +5778 -0
  81. package/cli/node_modules/bluebird/js/browser/bluebird.min.js +31 -0
  82. package/cli/node_modules/bluebird/js/release/any.js +21 -0
  83. package/cli/node_modules/bluebird/js/release/assert.js +55 -0
  84. package/cli/node_modules/bluebird/js/release/async.js +120 -0
  85. package/cli/node_modules/bluebird/js/release/bind.js +67 -0
  86. package/cli/node_modules/bluebird/js/release/bluebird.js +11 -0
  87. package/cli/node_modules/bluebird/js/release/call_get.js +123 -0
  88. package/cli/node_modules/bluebird/js/release/cancel.js +129 -0
  89. package/cli/node_modules/bluebird/js/release/catch_filter.js +42 -0
  90. package/cli/node_modules/bluebird/js/release/context.js +69 -0
  91. package/cli/node_modules/bluebird/js/release/debuggability.js +1009 -0
  92. package/cli/node_modules/bluebird/js/release/direct_resolve.js +46 -0
  93. package/cli/node_modules/bluebird/js/release/each.js +30 -0
  94. package/cli/node_modules/bluebird/js/release/errors.js +116 -0
  95. package/cli/node_modules/bluebird/js/release/es5.js +80 -0
  96. package/cli/node_modules/bluebird/js/release/filter.js +12 -0
  97. package/cli/node_modules/bluebird/js/release/finally.js +146 -0
  98. package/cli/node_modules/bluebird/js/release/generators.js +223 -0
  99. package/cli/node_modules/bluebird/js/release/join.js +165 -0
  100. package/cli/node_modules/bluebird/js/release/map.js +175 -0
  101. package/cli/node_modules/bluebird/js/release/method.js +55 -0
  102. package/cli/node_modules/bluebird/js/release/nodeback.js +51 -0
  103. package/cli/node_modules/bluebird/js/release/nodeify.js +58 -0
  104. package/cli/node_modules/bluebird/js/release/promise.js +819 -0
  105. package/cli/node_modules/bluebird/js/release/promise_array.js +186 -0
  106. package/cli/node_modules/bluebird/js/release/promisify.js +314 -0
  107. package/cli/node_modules/bluebird/js/release/props.js +118 -0
  108. package/cli/node_modules/bluebird/js/release/queue.js +73 -0
  109. package/cli/node_modules/bluebird/js/release/race.js +49 -0
  110. package/cli/node_modules/bluebird/js/release/reduce.js +183 -0
  111. package/cli/node_modules/bluebird/js/release/schedule.js +62 -0
  112. package/cli/node_modules/bluebird/js/release/settle.js +47 -0
  113. package/cli/node_modules/bluebird/js/release/some.js +148 -0
  114. package/cli/node_modules/bluebird/js/release/synchronous_inspection.js +103 -0
  115. package/cli/node_modules/bluebird/js/release/thenables.js +86 -0
  116. package/cli/node_modules/bluebird/js/release/timers.js +93 -0
  117. package/cli/node_modules/bluebird/js/release/using.js +226 -0
  118. package/cli/node_modules/bluebird/js/release/util.js +421 -0
  119. package/cli/node_modules/bluebird/package.json +78 -0
  120. package/cli/node_modules/brace-expansion/LICENSE +21 -0
  121. package/cli/node_modules/brace-expansion/README.md +129 -0
  122. package/cli/node_modules/brace-expansion/index.js +201 -0
  123. package/cli/node_modules/brace-expansion/package.json +47 -0
  124. package/cli/node_modules/catharsis/LICENSE +17 -0
  125. package/cli/node_modules/catharsis/README.md +393 -0
  126. package/cli/node_modules/catharsis/bin/parse.js +55 -0
  127. package/cli/node_modules/catharsis/catharsis.js +169 -0
  128. package/cli/node_modules/catharsis/lib/describe.js +563 -0
  129. package/cli/node_modules/catharsis/lib/parser.js +5776 -0
  130. package/cli/node_modules/catharsis/lib/schema.js +72 -0
  131. package/cli/node_modules/catharsis/lib/stringify.js +277 -0
  132. package/cli/node_modules/catharsis/lib/types.js +22 -0
  133. package/cli/node_modules/catharsis/package.json +30 -0
  134. package/cli/node_modules/catharsis/res/en.json +92 -0
  135. package/cli/node_modules/concat-map/.travis.yml +4 -0
  136. package/cli/node_modules/concat-map/LICENSE +18 -0
  137. package/cli/node_modules/concat-map/README.markdown +62 -0
  138. package/cli/node_modules/concat-map/example/map.js +6 -0
  139. package/cli/node_modules/concat-map/index.js +13 -0
  140. package/cli/node_modules/concat-map/package.json +43 -0
  141. package/cli/node_modules/concat-map/test/map.js +39 -0
  142. package/cli/node_modules/entities/LICENSE +11 -0
  143. package/cli/node_modules/entities/lib/decode.d.ts +7 -0
  144. package/cli/node_modules/entities/lib/decode.d.ts.map +1 -0
  145. package/cli/node_modules/entities/lib/decode.js +54 -0
  146. package/cli/node_modules/entities/lib/decode_codepoint.d.ts +2 -0
  147. package/cli/node_modules/entities/lib/decode_codepoint.d.ts.map +1 -0
  148. package/cli/node_modules/entities/lib/decode_codepoint.js +24 -0
  149. package/cli/node_modules/entities/lib/encode.d.ts +4 -0
  150. package/cli/node_modules/entities/lib/encode.d.ts.map +1 -0
  151. package/cli/node_modules/entities/lib/encode.js +73 -0
  152. package/cli/node_modules/entities/lib/index.d.ts +24 -0
  153. package/cli/node_modules/entities/lib/index.d.ts.map +1 -0
  154. package/cli/node_modules/entities/lib/index.js +52 -0
  155. package/cli/node_modules/entities/lib/maps/decode.json +1 -0
  156. package/cli/node_modules/entities/lib/maps/entities.json +1 -0
  157. package/cli/node_modules/entities/lib/maps/legacy.json +1 -0
  158. package/cli/node_modules/entities/lib/maps/xml.json +1 -0
  159. package/cli/node_modules/entities/package.json +63 -0
  160. package/cli/node_modules/entities/readme.md +50 -0
  161. package/cli/node_modules/escape-string-regexp/index.d.ts +18 -0
  162. package/cli/node_modules/escape-string-regexp/index.js +11 -0
  163. package/cli/node_modules/escape-string-regexp/license +9 -0
  164. package/cli/node_modules/escape-string-regexp/package.json +43 -0
  165. package/cli/node_modules/escape-string-regexp/readme.md +29 -0
  166. package/cli/node_modules/escodegen/LICENSE.BSD +21 -0
  167. package/cli/node_modules/escodegen/README.md +84 -0
  168. package/cli/node_modules/escodegen/bin/escodegen.js +77 -0
  169. package/cli/node_modules/escodegen/bin/esgenerate.js +64 -0
  170. package/cli/node_modules/escodegen/escodegen.js +2667 -0
  171. package/cli/node_modules/escodegen/package.json +63 -0
  172. package/cli/node_modules/eslint-visitor-keys/CHANGELOG.md +25 -0
  173. package/cli/node_modules/eslint-visitor-keys/LICENSE +201 -0
  174. package/cli/node_modules/eslint-visitor-keys/README.md +98 -0
  175. package/cli/node_modules/eslint-visitor-keys/lib/index.js +81 -0
  176. package/cli/node_modules/eslint-visitor-keys/lib/visitor-keys.json +284 -0
  177. package/cli/node_modules/eslint-visitor-keys/package.json +40 -0
  178. package/cli/node_modules/espree/CHANGELOG.md +509 -0
  179. package/cli/node_modules/espree/LICENSE +25 -0
  180. package/cli/node_modules/espree/README.md +233 -0
  181. package/cli/node_modules/espree/espree.js +177 -0
  182. package/cli/node_modules/espree/lib/ast-node-types.js +96 -0
  183. package/cli/node_modules/espree/lib/espree.js +286 -0
  184. package/cli/node_modules/espree/lib/features.js +29 -0
  185. package/cli/node_modules/espree/lib/options.js +106 -0
  186. package/cli/node_modules/espree/lib/token-translator.js +263 -0
  187. package/cli/node_modules/espree/lib/visitor-keys.js +123 -0
  188. package/cli/node_modules/espree/node_modules/acorn/CHANGELOG.md +620 -0
  189. package/cli/node_modules/espree/node_modules/acorn/LICENSE +21 -0
  190. package/cli/node_modules/espree/node_modules/acorn/README.md +269 -0
  191. package/cli/node_modules/espree/node_modules/acorn/bin/acorn +4 -0
  192. package/cli/node_modules/espree/node_modules/acorn/dist/acorn.d.ts +209 -0
  193. package/cli/node_modules/espree/node_modules/acorn/dist/acorn.js +5186 -0
  194. package/cli/node_modules/espree/node_modules/acorn/dist/acorn.js.map +1 -0
  195. package/cli/node_modules/espree/node_modules/acorn/dist/acorn.mjs +5155 -0
  196. package/cli/node_modules/espree/node_modules/acorn/dist/acorn.mjs.d.ts +2 -0
  197. package/cli/node_modules/espree/node_modules/acorn/dist/acorn.mjs.map +1 -0
  198. package/cli/node_modules/espree/node_modules/acorn/dist/bin.js +64 -0
  199. package/cli/node_modules/espree/node_modules/acorn/package.json +35 -0
  200. package/cli/node_modules/espree/package.json +64 -0
  201. package/cli/node_modules/esprima/ChangeLog +235 -0
  202. package/cli/node_modules/esprima/LICENSE.BSD +21 -0
  203. package/cli/node_modules/esprima/README.md +46 -0
  204. package/cli/node_modules/esprima/bin/esparse.js +139 -0
  205. package/cli/node_modules/esprima/bin/esvalidate.js +236 -0
  206. package/cli/node_modules/esprima/dist/esprima.js +6709 -0
  207. package/cli/node_modules/esprima/package.json +112 -0
  208. package/cli/node_modules/estraverse/.jshintrc +16 -0
  209. package/cli/node_modules/estraverse/LICENSE.BSD +19 -0
  210. package/cli/node_modules/estraverse/README.md +153 -0
  211. package/cli/node_modules/estraverse/estraverse.js +805 -0
  212. package/cli/node_modules/estraverse/gulpfile.js +70 -0
  213. package/cli/node_modules/estraverse/package.json +40 -0
  214. package/cli/node_modules/esutils/LICENSE.BSD +19 -0
  215. package/cli/node_modules/esutils/README.md +174 -0
  216. package/cli/node_modules/esutils/lib/ast.js +144 -0
  217. package/cli/node_modules/esutils/lib/code.js +135 -0
  218. package/cli/node_modules/esutils/lib/keyword.js +165 -0
  219. package/cli/node_modules/esutils/lib/utils.js +33 -0
  220. package/cli/node_modules/esutils/package.json +44 -0
  221. package/cli/node_modules/fs.realpath/LICENSE +43 -0
  222. package/cli/node_modules/fs.realpath/README.md +33 -0
  223. package/cli/node_modules/fs.realpath/index.js +66 -0
  224. package/cli/node_modules/fs.realpath/old.js +303 -0
  225. package/cli/node_modules/fs.realpath/package.json +26 -0
  226. package/cli/node_modules/glob/LICENSE +21 -0
  227. package/cli/node_modules/glob/README.md +378 -0
  228. package/cli/node_modules/glob/common.js +238 -0
  229. package/cli/node_modules/glob/glob.js +790 -0
  230. package/cli/node_modules/glob/package.json +55 -0
  231. package/cli/node_modules/glob/sync.js +486 -0
  232. package/cli/node_modules/graceful-fs/LICENSE +15 -0
  233. package/cli/node_modules/graceful-fs/README.md +143 -0
  234. package/cli/node_modules/graceful-fs/clone.js +23 -0
  235. package/cli/node_modules/graceful-fs/graceful-fs.js +448 -0
  236. package/cli/node_modules/graceful-fs/legacy-streams.js +118 -0
  237. package/cli/node_modules/graceful-fs/package.json +50 -0
  238. package/cli/node_modules/graceful-fs/polyfills.js +355 -0
  239. package/cli/node_modules/inflight/LICENSE +15 -0
  240. package/cli/node_modules/inflight/README.md +37 -0
  241. package/cli/node_modules/inflight/inflight.js +54 -0
  242. package/cli/node_modules/inflight/package.json +29 -0
  243. package/cli/node_modules/inherits/LICENSE +16 -0
  244. package/cli/node_modules/inherits/README.md +42 -0
  245. package/cli/node_modules/inherits/inherits.js +9 -0
  246. package/cli/node_modules/inherits/inherits_browser.js +27 -0
  247. package/cli/node_modules/inherits/package.json +29 -0
  248. package/cli/node_modules/js2xmlparser/CHANGES.md +133 -0
  249. package/cli/node_modules/js2xmlparser/LICENSE +201 -0
  250. package/cli/node_modules/js2xmlparser/NOTICE +10 -0
  251. package/cli/node_modules/js2xmlparser/README.md +155 -0
  252. package/cli/node_modules/js2xmlparser/lib/main.d.ts +49 -0
  253. package/cli/node_modules/js2xmlparser/lib/main.js +282 -0
  254. package/cli/node_modules/js2xmlparser/lib/options.d.ts +477 -0
  255. package/cli/node_modules/js2xmlparser/lib/options.js +155 -0
  256. package/cli/node_modules/js2xmlparser/lib/utils.d.ts +32 -0
  257. package/cli/node_modules/js2xmlparser/lib/utils.js +67 -0
  258. package/cli/node_modules/js2xmlparser/package.json +65 -0
  259. package/cli/node_modules/jsdoc/Apache_License_2.0.txt +202 -0
  260. package/cli/node_modules/jsdoc/LICENSE.md +102 -0
  261. package/cli/node_modules/jsdoc/README.md +100 -0
  262. package/cli/node_modules/jsdoc/cli.js +465 -0
  263. package/cli/node_modules/jsdoc/conf.json.EXAMPLE +17 -0
  264. package/cli/node_modules/jsdoc/jsdoc.js +94 -0
  265. package/cli/node_modules/jsdoc/lib/jsdoc/app.js +19 -0
  266. package/cli/node_modules/jsdoc/lib/jsdoc/augment.js +608 -0
  267. package/cli/node_modules/jsdoc/lib/jsdoc/borrow.js +52 -0
  268. package/cli/node_modules/jsdoc/lib/jsdoc/config.js +74 -0
  269. package/cli/node_modules/jsdoc/lib/jsdoc/doclet.js +562 -0
  270. package/cli/node_modules/jsdoc/lib/jsdoc/env.js +77 -0
  271. package/cli/node_modules/jsdoc/lib/jsdoc/fs.js +109 -0
  272. package/cli/node_modules/jsdoc/lib/jsdoc/name.js +595 -0
  273. package/cli/node_modules/jsdoc/lib/jsdoc/opts/argparser.js +306 -0
  274. package/cli/node_modules/jsdoc/lib/jsdoc/opts/args.js +82 -0
  275. package/cli/node_modules/jsdoc/lib/jsdoc/package.js +257 -0
  276. package/cli/node_modules/jsdoc/lib/jsdoc/path.js +169 -0
  277. package/cli/node_modules/jsdoc/lib/jsdoc/plugins.js +35 -0
  278. package/cli/node_modules/jsdoc/lib/jsdoc/readme.js +24 -0
  279. package/cli/node_modules/jsdoc/lib/jsdoc/schema.js +664 -0
  280. package/cli/node_modules/jsdoc/lib/jsdoc/src/astbuilder.js +72 -0
  281. package/cli/node_modules/jsdoc/lib/jsdoc/src/astnode.js +555 -0
  282. package/cli/node_modules/jsdoc/lib/jsdoc/src/filter.js +63 -0
  283. package/cli/node_modules/jsdoc/lib/jsdoc/src/handlers.js +372 -0
  284. package/cli/node_modules/jsdoc/lib/jsdoc/src/parser.js +673 -0
  285. package/cli/node_modules/jsdoc/lib/jsdoc/src/scanner.js +62 -0
  286. package/cli/node_modules/jsdoc/lib/jsdoc/src/syntax.js +96 -0
  287. package/cli/node_modules/jsdoc/lib/jsdoc/src/visitor.js +859 -0
  288. package/cli/node_modules/jsdoc/lib/jsdoc/src/walker.js +704 -0
  289. package/cli/node_modules/jsdoc/lib/jsdoc/tag/dictionary/definitions.js +1089 -0
  290. package/cli/node_modules/jsdoc/lib/jsdoc/tag/dictionary.js +120 -0
  291. package/cli/node_modules/jsdoc/lib/jsdoc/tag/inline.js +135 -0
  292. package/cli/node_modules/jsdoc/lib/jsdoc/tag/type.js +306 -0
  293. package/cli/node_modules/jsdoc/lib/jsdoc/tag/validator.js +51 -0
  294. package/cli/node_modules/jsdoc/lib/jsdoc/tag.js +198 -0
  295. package/cli/node_modules/jsdoc/lib/jsdoc/template.js +80 -0
  296. package/cli/node_modules/jsdoc/lib/jsdoc/tutorial/resolver.js +183 -0
  297. package/cli/node_modules/jsdoc/lib/jsdoc/tutorial.js +153 -0
  298. package/cli/node_modules/jsdoc/lib/jsdoc/util/cast.js +95 -0
  299. package/cli/node_modules/jsdoc/lib/jsdoc/util/doop.js +79 -0
  300. package/cli/node_modules/jsdoc/lib/jsdoc/util/dumper.js +146 -0
  301. package/cli/node_modules/jsdoc/lib/jsdoc/util/error.js +32 -0
  302. package/cli/node_modules/jsdoc/lib/jsdoc/util/logger.js +254 -0
  303. package/cli/node_modules/jsdoc/lib/jsdoc/util/markdown.js +282 -0
  304. package/cli/node_modules/jsdoc/lib/jsdoc/util/stripbom.js +14 -0
  305. package/cli/node_modules/jsdoc/lib/jsdoc/util/templateHelper.js +1018 -0
  306. package/cli/node_modules/jsdoc/package.json +80 -0
  307. package/cli/node_modules/jsdoc/plugins/commentConvert.js +21 -0
  308. package/cli/node_modules/jsdoc/plugins/commentsOnly.js +17 -0
  309. package/cli/node_modules/jsdoc/plugins/escapeHtml.js +18 -0
  310. package/cli/node_modules/jsdoc/plugins/eventDumper.js +98 -0
  311. package/cli/node_modules/jsdoc/plugins/markdown.js +88 -0
  312. package/cli/node_modules/jsdoc/plugins/overloadHelper.js +181 -0
  313. package/cli/node_modules/jsdoc/plugins/partial.js +30 -0
  314. package/cli/node_modules/jsdoc/plugins/railsTemplate.js +19 -0
  315. package/cli/node_modules/jsdoc/plugins/shout.js +15 -0
  316. package/cli/node_modules/jsdoc/plugins/sourcetag.js +49 -0
  317. package/cli/node_modules/jsdoc/plugins/summarize.js +58 -0
  318. package/cli/node_modules/jsdoc/plugins/test/fixtures/markdown.js +31 -0
  319. package/cli/node_modules/jsdoc/plugins/test/fixtures/overloadHelper.js +50 -0
  320. package/cli/node_modules/jsdoc/plugins/test/fixtures/railsTemplate.js.erb +19 -0
  321. package/cli/node_modules/jsdoc/plugins/test/fixtures/underscore.js +22 -0
  322. package/cli/node_modules/jsdoc/plugins/test/specs/commentConvert.js +20 -0
  323. package/cli/node_modules/jsdoc/plugins/test/specs/escapeHtml.js +20 -0
  324. package/cli/node_modules/jsdoc/plugins/test/specs/markdown.js +60 -0
  325. package/cli/node_modules/jsdoc/plugins/test/specs/overloadHelper.js +102 -0
  326. package/cli/node_modules/jsdoc/plugins/test/specs/railsTemplate.js +19 -0
  327. package/cli/node_modules/jsdoc/plugins/test/specs/shout.js +20 -0
  328. package/cli/node_modules/jsdoc/plugins/test/specs/sourcetag.js +22 -0
  329. package/cli/node_modules/jsdoc/plugins/test/specs/summarize.js +112 -0
  330. package/cli/node_modules/jsdoc/plugins/test/specs/underscore.js +35 -0
  331. package/cli/node_modules/jsdoc/plugins/underscore.js +16 -0
  332. package/cli/node_modules/jsdoc/templates/README.md +27 -0
  333. package/cli/node_modules/jsdoc/templates/default/README.md +12 -0
  334. package/cli/node_modules/jsdoc/templates/default/publish.js +692 -0
  335. package/cli/node_modules/jsdoc/templates/default/static/fonts/OpenSans-Bold-webfont.eot +0 -0
  336. package/cli/node_modules/jsdoc/templates/default/static/fonts/OpenSans-Bold-webfont.svg +1830 -0
  337. package/cli/node_modules/jsdoc/templates/default/static/fonts/OpenSans-Bold-webfont.woff +0 -0
  338. package/cli/node_modules/jsdoc/templates/default/static/fonts/OpenSans-BoldItalic-webfont.eot +0 -0
  339. package/cli/node_modules/jsdoc/templates/default/static/fonts/OpenSans-BoldItalic-webfont.svg +1830 -0
  340. package/cli/node_modules/jsdoc/templates/default/static/fonts/OpenSans-BoldItalic-webfont.woff +0 -0
  341. package/cli/node_modules/jsdoc/templates/default/static/fonts/OpenSans-Italic-webfont.eot +0 -0
  342. package/cli/node_modules/jsdoc/templates/default/static/fonts/OpenSans-Italic-webfont.svg +1830 -0
  343. package/cli/node_modules/jsdoc/templates/default/static/fonts/OpenSans-Italic-webfont.woff +0 -0
  344. package/cli/node_modules/jsdoc/templates/default/static/fonts/OpenSans-Light-webfont.eot +0 -0
  345. package/cli/node_modules/jsdoc/templates/default/static/fonts/OpenSans-Light-webfont.svg +1831 -0
  346. package/cli/node_modules/jsdoc/templates/default/static/fonts/OpenSans-Light-webfont.woff +0 -0
  347. package/cli/node_modules/jsdoc/templates/default/static/fonts/OpenSans-LightItalic-webfont.eot +0 -0
  348. package/cli/node_modules/jsdoc/templates/default/static/fonts/OpenSans-LightItalic-webfont.svg +1835 -0
  349. package/cli/node_modules/jsdoc/templates/default/static/fonts/OpenSans-LightItalic-webfont.woff +0 -0
  350. package/cli/node_modules/jsdoc/templates/default/static/fonts/OpenSans-Regular-webfont.eot +0 -0
  351. package/cli/node_modules/jsdoc/templates/default/static/fonts/OpenSans-Regular-webfont.svg +1831 -0
  352. package/cli/node_modules/jsdoc/templates/default/static/fonts/OpenSans-Regular-webfont.woff +0 -0
  353. package/cli/node_modules/jsdoc/templates/default/static/scripts/linenumber.js +25 -0
  354. package/cli/node_modules/jsdoc/templates/default/static/scripts/prettify/Apache-License-2.0.txt +202 -0
  355. package/cli/node_modules/jsdoc/templates/default/static/scripts/prettify/lang-css.js +2 -0
  356. package/cli/node_modules/jsdoc/templates/default/static/scripts/prettify/prettify.js +28 -0
  357. package/cli/node_modules/jsdoc/templates/default/static/styles/jsdoc-default.css +358 -0
  358. package/cli/node_modules/jsdoc/templates/default/static/styles/prettify-jsdoc.css +111 -0
  359. package/cli/node_modules/jsdoc/templates/default/static/styles/prettify-tomorrow.css +132 -0
  360. package/cli/node_modules/jsdoc/templates/default/tmpl/augments.tmpl +10 -0
  361. package/cli/node_modules/jsdoc/templates/default/tmpl/container.tmpl +196 -0
  362. package/cli/node_modules/jsdoc/templates/default/tmpl/details.tmpl +143 -0
  363. package/cli/node_modules/jsdoc/templates/default/tmpl/example.tmpl +2 -0
  364. package/cli/node_modules/jsdoc/templates/default/tmpl/examples.tmpl +13 -0
  365. package/cli/node_modules/jsdoc/templates/default/tmpl/exceptions.tmpl +32 -0
  366. package/cli/node_modules/jsdoc/templates/default/tmpl/layout.tmpl +38 -0
  367. package/cli/node_modules/jsdoc/templates/default/tmpl/mainpage.tmpl +14 -0
  368. package/cli/node_modules/jsdoc/templates/default/tmpl/members.tmpl +38 -0
  369. package/cli/node_modules/jsdoc/templates/default/tmpl/method.tmpl +131 -0
  370. package/cli/node_modules/jsdoc/templates/default/tmpl/modifies.tmpl +14 -0
  371. package/cli/node_modules/jsdoc/templates/default/tmpl/params.tmpl +131 -0
  372. package/cli/node_modules/jsdoc/templates/default/tmpl/properties.tmpl +108 -0
  373. package/cli/node_modules/jsdoc/templates/default/tmpl/returns.tmpl +19 -0
  374. package/cli/node_modules/jsdoc/templates/default/tmpl/source.tmpl +8 -0
  375. package/cli/node_modules/jsdoc/templates/default/tmpl/tutorial.tmpl +19 -0
  376. package/cli/node_modules/jsdoc/templates/default/tmpl/type.tmpl +7 -0
  377. package/cli/node_modules/jsdoc/templates/haruki/README.md +39 -0
  378. package/cli/node_modules/jsdoc/templates/haruki/publish.js +224 -0
  379. package/cli/node_modules/jsdoc/templates/silent/README.md +11 -0
  380. package/cli/node_modules/jsdoc/templates/silent/publish.js +7 -0
  381. package/cli/node_modules/klaw/CHANGELOG.md +68 -0
  382. package/cli/node_modules/klaw/LICENSE +15 -0
  383. package/cli/node_modules/klaw/README.md +253 -0
  384. package/cli/node_modules/klaw/package.json +40 -0
  385. package/cli/node_modules/klaw/src/index.js +64 -0
  386. package/cli/node_modules/linkify-it/CHANGELOG.md +182 -0
  387. package/cli/node_modules/linkify-it/LICENSE +22 -0
  388. package/cli/node_modules/linkify-it/README.md +188 -0
  389. package/cli/node_modules/linkify-it/index.js +636 -0
  390. package/cli/node_modules/linkify-it/lib/re.js +181 -0
  391. package/cli/node_modules/linkify-it/package.json +48 -0
  392. package/cli/node_modules/lodash/LICENSE +47 -0
  393. package/cli/node_modules/lodash/README.md +39 -0
  394. package/cli/node_modules/lodash/_DataView.js +7 -0
  395. package/cli/node_modules/lodash/_Hash.js +32 -0
  396. package/cli/node_modules/lodash/_LazyWrapper.js +28 -0
  397. package/cli/node_modules/lodash/_ListCache.js +32 -0
  398. package/cli/node_modules/lodash/_LodashWrapper.js +22 -0
  399. package/cli/node_modules/lodash/_Map.js +7 -0
  400. package/cli/node_modules/lodash/_MapCache.js +32 -0
  401. package/cli/node_modules/lodash/_Promise.js +7 -0
  402. package/cli/node_modules/lodash/_Set.js +7 -0
  403. package/cli/node_modules/lodash/_SetCache.js +27 -0
  404. package/cli/node_modules/lodash/_Stack.js +27 -0
  405. package/cli/node_modules/lodash/_Symbol.js +6 -0
  406. package/cli/node_modules/lodash/_Uint8Array.js +6 -0
  407. package/cli/node_modules/lodash/_WeakMap.js +7 -0
  408. package/cli/node_modules/lodash/_apply.js +21 -0
  409. package/cli/node_modules/lodash/_arrayAggregator.js +22 -0
  410. package/cli/node_modules/lodash/_arrayEach.js +22 -0
  411. package/cli/node_modules/lodash/_arrayEachRight.js +21 -0
  412. package/cli/node_modules/lodash/_arrayEvery.js +23 -0
  413. package/cli/node_modules/lodash/_arrayFilter.js +25 -0
  414. package/cli/node_modules/lodash/_arrayIncludes.js +17 -0
  415. package/cli/node_modules/lodash/_arrayIncludesWith.js +22 -0
  416. package/cli/node_modules/lodash/_arrayLikeKeys.js +49 -0
  417. package/cli/node_modules/lodash/_arrayMap.js +21 -0
  418. package/cli/node_modules/lodash/_arrayPush.js +20 -0
  419. package/cli/node_modules/lodash/_arrayReduce.js +26 -0
  420. package/cli/node_modules/lodash/_arrayReduceRight.js +24 -0
  421. package/cli/node_modules/lodash/_arraySample.js +15 -0
  422. package/cli/node_modules/lodash/_arraySampleSize.js +17 -0
  423. package/cli/node_modules/lodash/_arrayShuffle.js +15 -0
  424. package/cli/node_modules/lodash/_arraySome.js +23 -0
  425. package/cli/node_modules/lodash/_asciiSize.js +12 -0
  426. package/cli/node_modules/lodash/_asciiToArray.js +12 -0
  427. package/cli/node_modules/lodash/_asciiWords.js +15 -0
  428. package/cli/node_modules/lodash/_assignMergeValue.js +20 -0
  429. package/cli/node_modules/lodash/_assignValue.js +28 -0
  430. package/cli/node_modules/lodash/_assocIndexOf.js +21 -0
  431. package/cli/node_modules/lodash/_baseAggregator.js +21 -0
  432. package/cli/node_modules/lodash/_baseAssign.js +17 -0
  433. package/cli/node_modules/lodash/_baseAssignIn.js +17 -0
  434. package/cli/node_modules/lodash/_baseAssignValue.js +25 -0
  435. package/cli/node_modules/lodash/_baseAt.js +23 -0
  436. package/cli/node_modules/lodash/_baseClamp.js +22 -0
  437. package/cli/node_modules/lodash/_baseClone.js +166 -0
  438. package/cli/node_modules/lodash/_baseConforms.js +18 -0
  439. package/cli/node_modules/lodash/_baseConformsTo.js +27 -0
  440. package/cli/node_modules/lodash/_baseCreate.js +30 -0
  441. package/cli/node_modules/lodash/_baseDelay.js +21 -0
  442. package/cli/node_modules/lodash/_baseDifference.js +67 -0
  443. package/cli/node_modules/lodash/_baseEach.js +14 -0
  444. package/cli/node_modules/lodash/_baseEachRight.js +14 -0
  445. package/cli/node_modules/lodash/_baseEvery.js +21 -0
  446. package/cli/node_modules/lodash/_baseExtremum.js +32 -0
  447. package/cli/node_modules/lodash/_baseFill.js +32 -0
  448. package/cli/node_modules/lodash/_baseFilter.js +21 -0
  449. package/cli/node_modules/lodash/_baseFindIndex.js +24 -0
  450. package/cli/node_modules/lodash/_baseFindKey.js +23 -0
  451. package/cli/node_modules/lodash/_baseFlatten.js +38 -0
  452. package/cli/node_modules/lodash/_baseFor.js +16 -0
  453. package/cli/node_modules/lodash/_baseForOwn.js +16 -0
  454. package/cli/node_modules/lodash/_baseForOwnRight.js +16 -0
  455. package/cli/node_modules/lodash/_baseForRight.js +15 -0
  456. package/cli/node_modules/lodash/_baseFunctions.js +19 -0
  457. package/cli/node_modules/lodash/_baseGet.js +24 -0
  458. package/cli/node_modules/lodash/_baseGetAllKeys.js +20 -0
  459. package/cli/node_modules/lodash/_baseGetTag.js +28 -0
  460. package/cli/node_modules/lodash/_baseGt.js +14 -0
  461. package/cli/node_modules/lodash/_baseHas.js +19 -0
  462. package/cli/node_modules/lodash/_baseHasIn.js +13 -0
  463. package/cli/node_modules/lodash/_baseInRange.js +18 -0
  464. package/cli/node_modules/lodash/_baseIndexOf.js +20 -0
  465. package/cli/node_modules/lodash/_baseIndexOfWith.js +23 -0
  466. package/cli/node_modules/lodash/_baseIntersection.js +74 -0
  467. package/cli/node_modules/lodash/_baseInverter.js +21 -0
  468. package/cli/node_modules/lodash/_baseInvoke.js +24 -0
  469. package/cli/node_modules/lodash/_baseIsArguments.js +18 -0
  470. package/cli/node_modules/lodash/_baseIsArrayBuffer.js +17 -0
  471. package/cli/node_modules/lodash/_baseIsDate.js +18 -0
  472. package/cli/node_modules/lodash/_baseIsEqual.js +28 -0
  473. package/cli/node_modules/lodash/_baseIsEqualDeep.js +83 -0
  474. package/cli/node_modules/lodash/_baseIsMap.js +18 -0
  475. package/cli/node_modules/lodash/_baseIsMatch.js +62 -0
  476. package/cli/node_modules/lodash/_baseIsNaN.js +12 -0
  477. package/cli/node_modules/lodash/_baseIsNative.js +47 -0
  478. package/cli/node_modules/lodash/_baseIsRegExp.js +18 -0
  479. package/cli/node_modules/lodash/_baseIsSet.js +18 -0
  480. package/cli/node_modules/lodash/_baseIsTypedArray.js +60 -0
  481. package/cli/node_modules/lodash/_baseIteratee.js +31 -0
  482. package/cli/node_modules/lodash/_baseKeys.js +30 -0
  483. package/cli/node_modules/lodash/_baseKeysIn.js +33 -0
  484. package/cli/node_modules/lodash/_baseLodash.js +10 -0
  485. package/cli/node_modules/lodash/_baseLt.js +14 -0
  486. package/cli/node_modules/lodash/_baseMap.js +22 -0
  487. package/cli/node_modules/lodash/_baseMatches.js +22 -0
  488. package/cli/node_modules/lodash/_baseMatchesProperty.js +33 -0
  489. package/cli/node_modules/lodash/_baseMean.js +20 -0
  490. package/cli/node_modules/lodash/_baseMerge.js +42 -0
  491. package/cli/node_modules/lodash/_baseMergeDeep.js +94 -0
  492. package/cli/node_modules/lodash/_baseNth.js +20 -0
  493. package/cli/node_modules/lodash/_baseOrderBy.js +49 -0
  494. package/cli/node_modules/lodash/_basePick.js +19 -0
  495. package/cli/node_modules/lodash/_basePickBy.js +30 -0
  496. package/cli/node_modules/lodash/_baseProperty.js +14 -0
  497. package/cli/node_modules/lodash/_basePropertyDeep.js +16 -0
  498. package/cli/node_modules/lodash/_basePropertyOf.js +14 -0
  499. package/cli/node_modules/lodash/_basePullAll.js +51 -0
  500. package/cli/node_modules/lodash/_basePullAt.js +37 -0
  501. package/cli/node_modules/lodash/_baseRandom.js +18 -0
  502. package/cli/node_modules/lodash/_baseRange.js +28 -0
  503. package/cli/node_modules/lodash/_baseReduce.js +23 -0
  504. package/cli/node_modules/lodash/_baseRepeat.js +35 -0
  505. package/cli/node_modules/lodash/_baseRest.js +17 -0
  506. package/cli/node_modules/lodash/_baseSample.js +15 -0
  507. package/cli/node_modules/lodash/_baseSampleSize.js +18 -0
  508. package/cli/node_modules/lodash/_baseSet.js +51 -0
  509. package/cli/node_modules/lodash/_baseSetData.js +17 -0
  510. package/cli/node_modules/lodash/_baseSetToString.js +22 -0
  511. package/cli/node_modules/lodash/_baseShuffle.js +15 -0
  512. package/cli/node_modules/lodash/_baseSlice.js +31 -0
  513. package/cli/node_modules/lodash/_baseSome.js +22 -0
  514. package/cli/node_modules/lodash/_baseSortBy.js +21 -0
  515. package/cli/node_modules/lodash/_baseSortedIndex.js +42 -0
  516. package/cli/node_modules/lodash/_baseSortedIndexBy.js +67 -0
  517. package/cli/node_modules/lodash/_baseSortedUniq.js +30 -0
  518. package/cli/node_modules/lodash/_baseSum.js +24 -0
  519. package/cli/node_modules/lodash/_baseTimes.js +20 -0
  520. package/cli/node_modules/lodash/_baseToNumber.js +24 -0
  521. package/cli/node_modules/lodash/_baseToPairs.js +18 -0
  522. package/cli/node_modules/lodash/_baseToString.js +37 -0
  523. package/cli/node_modules/lodash/_baseTrim.js +19 -0
  524. package/cli/node_modules/lodash/_baseUnary.js +14 -0
  525. package/cli/node_modules/lodash/_baseUniq.js +72 -0
  526. package/cli/node_modules/lodash/_baseUnset.js +20 -0
  527. package/cli/node_modules/lodash/_baseUpdate.js +18 -0
  528. package/cli/node_modules/lodash/_baseValues.js +19 -0
  529. package/cli/node_modules/lodash/_baseWhile.js +26 -0
  530. package/cli/node_modules/lodash/_baseWrapperValue.js +25 -0
  531. package/cli/node_modules/lodash/_baseXor.js +36 -0
  532. package/cli/node_modules/lodash/_baseZipObject.js +23 -0
  533. package/cli/node_modules/lodash/_cacheHas.js +13 -0
  534. package/cli/node_modules/lodash/_castArrayLikeObject.js +14 -0
  535. package/cli/node_modules/lodash/_castFunction.js +14 -0
  536. package/cli/node_modules/lodash/_castPath.js +21 -0
  537. package/cli/node_modules/lodash/_castRest.js +14 -0
  538. package/cli/node_modules/lodash/_castSlice.js +18 -0
  539. package/cli/node_modules/lodash/_charsEndIndex.js +19 -0
  540. package/cli/node_modules/lodash/_charsStartIndex.js +20 -0
  541. package/cli/node_modules/lodash/_cloneArrayBuffer.js +16 -0
  542. package/cli/node_modules/lodash/_cloneBuffer.js +35 -0
  543. package/cli/node_modules/lodash/_cloneDataView.js +16 -0
  544. package/cli/node_modules/lodash/_cloneRegExp.js +17 -0
  545. package/cli/node_modules/lodash/_cloneSymbol.js +18 -0
  546. package/cli/node_modules/lodash/_cloneTypedArray.js +16 -0
  547. package/cli/node_modules/lodash/_compareAscending.js +41 -0
  548. package/cli/node_modules/lodash/_compareMultiple.js +44 -0
  549. package/cli/node_modules/lodash/_composeArgs.js +39 -0
  550. package/cli/node_modules/lodash/_composeArgsRight.js +41 -0
  551. package/cli/node_modules/lodash/_copyArray.js +20 -0
  552. package/cli/node_modules/lodash/_copyObject.js +40 -0
  553. package/cli/node_modules/lodash/_copySymbols.js +16 -0
  554. package/cli/node_modules/lodash/_copySymbolsIn.js +16 -0
  555. package/cli/node_modules/lodash/_coreJsData.js +6 -0
  556. package/cli/node_modules/lodash/_countHolders.js +21 -0
  557. package/cli/node_modules/lodash/_createAggregator.js +23 -0
  558. package/cli/node_modules/lodash/_createAssigner.js +37 -0
  559. package/cli/node_modules/lodash/_createBaseEach.js +32 -0
  560. package/cli/node_modules/lodash/_createBaseFor.js +25 -0
  561. package/cli/node_modules/lodash/_createBind.js +28 -0
  562. package/cli/node_modules/lodash/_createCaseFirst.js +33 -0
  563. package/cli/node_modules/lodash/_createCompounder.js +24 -0
  564. package/cli/node_modules/lodash/_createCtor.js +37 -0
  565. package/cli/node_modules/lodash/_createCurry.js +46 -0
  566. package/cli/node_modules/lodash/_createFind.js +25 -0
  567. package/cli/node_modules/lodash/_createFlow.js +78 -0
  568. package/cli/node_modules/lodash/_createHybrid.js +92 -0
  569. package/cli/node_modules/lodash/_createInverter.js +17 -0
  570. package/cli/node_modules/lodash/_createMathOperation.js +38 -0
  571. package/cli/node_modules/lodash/_createOver.js +27 -0
  572. package/cli/node_modules/lodash/_createPadding.js +33 -0
  573. package/cli/node_modules/lodash/_createPartial.js +43 -0
  574. package/cli/node_modules/lodash/_createRange.js +30 -0
  575. package/cli/node_modules/lodash/_createRecurry.js +56 -0
  576. package/cli/node_modules/lodash/_createRelationalOperation.js +20 -0
  577. package/cli/node_modules/lodash/_createRound.js +35 -0
  578. package/cli/node_modules/lodash/_createSet.js +19 -0
  579. package/cli/node_modules/lodash/_createToPairs.js +30 -0
  580. package/cli/node_modules/lodash/_createWrap.js +106 -0
  581. package/cli/node_modules/lodash/_customDefaultsAssignIn.js +29 -0
  582. package/cli/node_modules/lodash/_customDefaultsMerge.js +28 -0
  583. package/cli/node_modules/lodash/_customOmitClone.js +16 -0
  584. package/cli/node_modules/lodash/_deburrLetter.js +71 -0
  585. package/cli/node_modules/lodash/_defineProperty.js +11 -0
  586. package/cli/node_modules/lodash/_equalArrays.js +84 -0
  587. package/cli/node_modules/lodash/_equalByTag.js +112 -0
  588. package/cli/node_modules/lodash/_equalObjects.js +90 -0
  589. package/cli/node_modules/lodash/_escapeHtmlChar.js +21 -0
  590. package/cli/node_modules/lodash/_escapeStringChar.js +22 -0
  591. package/cli/node_modules/lodash/_flatRest.js +16 -0
  592. package/cli/node_modules/lodash/_freeGlobal.js +4 -0
  593. package/cli/node_modules/lodash/_getAllKeys.js +16 -0
  594. package/cli/node_modules/lodash/_getAllKeysIn.js +17 -0
  595. package/cli/node_modules/lodash/_getData.js +15 -0
  596. package/cli/node_modules/lodash/_getFuncName.js +31 -0
  597. package/cli/node_modules/lodash/_getHolder.js +13 -0
  598. package/cli/node_modules/lodash/_getMapData.js +18 -0
  599. package/cli/node_modules/lodash/_getMatchData.js +24 -0
  600. package/cli/node_modules/lodash/_getNative.js +17 -0
  601. package/cli/node_modules/lodash/_getPrototype.js +6 -0
  602. package/cli/node_modules/lodash/_getRawTag.js +46 -0
  603. package/cli/node_modules/lodash/_getSymbols.js +30 -0
  604. package/cli/node_modules/lodash/_getSymbolsIn.js +25 -0
  605. package/cli/node_modules/lodash/_getTag.js +58 -0
  606. package/cli/node_modules/lodash/_getValue.js +13 -0
  607. package/cli/node_modules/lodash/_getView.js +33 -0
  608. package/cli/node_modules/lodash/_getWrapDetails.js +17 -0
  609. package/cli/node_modules/lodash/_hasPath.js +39 -0
  610. package/cli/node_modules/lodash/_hasUnicode.js +26 -0
  611. package/cli/node_modules/lodash/_hasUnicodeWord.js +15 -0
  612. package/cli/node_modules/lodash/_hashClear.js +15 -0
  613. package/cli/node_modules/lodash/_hashDelete.js +17 -0
  614. package/cli/node_modules/lodash/_hashGet.js +30 -0
  615. package/cli/node_modules/lodash/_hashHas.js +23 -0
  616. package/cli/node_modules/lodash/_hashSet.js +23 -0
  617. package/cli/node_modules/lodash/_initCloneArray.js +26 -0
  618. package/cli/node_modules/lodash/_initCloneByTag.js +77 -0
  619. package/cli/node_modules/lodash/_initCloneObject.js +18 -0
  620. package/cli/node_modules/lodash/_insertWrapDetails.js +23 -0
  621. package/cli/node_modules/lodash/_isFlattenable.js +20 -0
  622. package/cli/node_modules/lodash/_isIndex.js +25 -0
  623. package/cli/node_modules/lodash/_isIterateeCall.js +30 -0
  624. package/cli/node_modules/lodash/_isKey.js +29 -0
  625. package/cli/node_modules/lodash/_isKeyable.js +15 -0
  626. package/cli/node_modules/lodash/_isLaziable.js +28 -0
  627. package/cli/node_modules/lodash/_isMaskable.js +14 -0
  628. package/cli/node_modules/lodash/_isMasked.js +20 -0
  629. package/cli/node_modules/lodash/_isPrototype.js +18 -0
  630. package/cli/node_modules/lodash/_isStrictComparable.js +15 -0
  631. package/cli/node_modules/lodash/_iteratorToArray.js +18 -0
  632. package/cli/node_modules/lodash/_lazyClone.js +23 -0
  633. package/cli/node_modules/lodash/_lazyReverse.js +23 -0
  634. package/cli/node_modules/lodash/_lazyValue.js +69 -0
  635. package/cli/node_modules/lodash/_listCacheClear.js +13 -0
  636. package/cli/node_modules/lodash/_listCacheDelete.js +35 -0
  637. package/cli/node_modules/lodash/_listCacheGet.js +19 -0
  638. package/cli/node_modules/lodash/_listCacheHas.js +16 -0
  639. package/cli/node_modules/lodash/_listCacheSet.js +26 -0
  640. package/cli/node_modules/lodash/_mapCacheClear.js +21 -0
  641. package/cli/node_modules/lodash/_mapCacheDelete.js +18 -0
  642. package/cli/node_modules/lodash/_mapCacheGet.js +16 -0
  643. package/cli/node_modules/lodash/_mapCacheHas.js +16 -0
  644. package/cli/node_modules/lodash/_mapCacheSet.js +22 -0
  645. package/cli/node_modules/lodash/_mapToArray.js +18 -0
  646. package/cli/node_modules/lodash/_matchesStrictComparable.js +20 -0
  647. package/cli/node_modules/lodash/_memoizeCapped.js +26 -0
  648. package/cli/node_modules/lodash/_mergeData.js +90 -0
  649. package/cli/node_modules/lodash/_metaMap.js +6 -0
  650. package/cli/node_modules/lodash/_nativeCreate.js +6 -0
  651. package/cli/node_modules/lodash/_nativeKeys.js +6 -0
  652. package/cli/node_modules/lodash/_nativeKeysIn.js +20 -0
  653. package/cli/node_modules/lodash/_nodeUtil.js +30 -0
  654. package/cli/node_modules/lodash/_objectToString.js +22 -0
  655. package/cli/node_modules/lodash/_overArg.js +15 -0
  656. package/cli/node_modules/lodash/_overRest.js +36 -0
  657. package/cli/node_modules/lodash/_parent.js +16 -0
  658. package/cli/node_modules/lodash/_reEscape.js +4 -0
  659. package/cli/node_modules/lodash/_reEvaluate.js +4 -0
  660. package/cli/node_modules/lodash/_reInterpolate.js +4 -0
  661. package/cli/node_modules/lodash/_realNames.js +4 -0
  662. package/cli/node_modules/lodash/_reorder.js +29 -0
  663. package/cli/node_modules/lodash/_replaceHolders.js +29 -0
  664. package/cli/node_modules/lodash/_root.js +9 -0
  665. package/cli/node_modules/lodash/_safeGet.js +21 -0
  666. package/cli/node_modules/lodash/_setCacheAdd.js +19 -0
  667. package/cli/node_modules/lodash/_setCacheHas.js +14 -0
  668. package/cli/node_modules/lodash/_setData.js +20 -0
  669. package/cli/node_modules/lodash/_setToArray.js +18 -0
  670. package/cli/node_modules/lodash/_setToPairs.js +18 -0
  671. package/cli/node_modules/lodash/_setToString.js +14 -0
  672. package/cli/node_modules/lodash/_setWrapToString.js +21 -0
  673. package/cli/node_modules/lodash/_shortOut.js +37 -0
  674. package/cli/node_modules/lodash/_shuffleSelf.js +28 -0
  675. package/cli/node_modules/lodash/_stackClear.js +15 -0
  676. package/cli/node_modules/lodash/_stackDelete.js +18 -0
  677. package/cli/node_modules/lodash/_stackGet.js +14 -0
  678. package/cli/node_modules/lodash/_stackHas.js +14 -0
  679. package/cli/node_modules/lodash/_stackSet.js +34 -0
  680. package/cli/node_modules/lodash/_strictIndexOf.js +23 -0
  681. package/cli/node_modules/lodash/_strictLastIndexOf.js +21 -0
  682. package/cli/node_modules/lodash/_stringSize.js +18 -0
  683. package/cli/node_modules/lodash/_stringToArray.js +18 -0
  684. package/cli/node_modules/lodash/_stringToPath.js +27 -0
  685. package/cli/node_modules/lodash/_toKey.js +21 -0
  686. package/cli/node_modules/lodash/_toSource.js +26 -0
  687. package/cli/node_modules/lodash/_trimmedEndIndex.js +19 -0
  688. package/cli/node_modules/lodash/_unescapeHtmlChar.js +21 -0
  689. package/cli/node_modules/lodash/_unicodeSize.js +44 -0
  690. package/cli/node_modules/lodash/_unicodeToArray.js +40 -0
  691. package/cli/node_modules/lodash/_unicodeWords.js +69 -0
  692. package/cli/node_modules/lodash/_updateWrapDetails.js +46 -0
  693. package/cli/node_modules/lodash/_wrapperClone.js +23 -0
  694. package/cli/node_modules/lodash/add.js +22 -0
  695. package/cli/node_modules/lodash/after.js +42 -0
  696. package/cli/node_modules/lodash/array.js +67 -0
  697. package/cli/node_modules/lodash/ary.js +29 -0
  698. package/cli/node_modules/lodash/assign.js +58 -0
  699. package/cli/node_modules/lodash/assignIn.js +40 -0
  700. package/cli/node_modules/lodash/assignInWith.js +38 -0
  701. package/cli/node_modules/lodash/assignWith.js +37 -0
  702. package/cli/node_modules/lodash/at.js +23 -0
  703. package/cli/node_modules/lodash/attempt.js +35 -0
  704. package/cli/node_modules/lodash/before.js +40 -0
  705. package/cli/node_modules/lodash/bind.js +57 -0
  706. package/cli/node_modules/lodash/bindAll.js +41 -0
  707. package/cli/node_modules/lodash/bindKey.js +68 -0
  708. package/cli/node_modules/lodash/camelCase.js +29 -0
  709. package/cli/node_modules/lodash/capitalize.js +23 -0
  710. package/cli/node_modules/lodash/castArray.js +44 -0
  711. package/cli/node_modules/lodash/ceil.js +26 -0
  712. package/cli/node_modules/lodash/chain.js +38 -0
  713. package/cli/node_modules/lodash/chunk.js +50 -0
  714. package/cli/node_modules/lodash/clamp.js +39 -0
  715. package/cli/node_modules/lodash/clone.js +36 -0
  716. package/cli/node_modules/lodash/cloneDeep.js +29 -0
  717. package/cli/node_modules/lodash/cloneDeepWith.js +40 -0
  718. package/cli/node_modules/lodash/cloneWith.js +42 -0
  719. package/cli/node_modules/lodash/collection.js +30 -0
  720. package/cli/node_modules/lodash/commit.js +33 -0
  721. package/cli/node_modules/lodash/compact.js +31 -0
  722. package/cli/node_modules/lodash/concat.js +43 -0
  723. package/cli/node_modules/lodash/cond.js +60 -0
  724. package/cli/node_modules/lodash/conforms.js +35 -0
  725. package/cli/node_modules/lodash/conformsTo.js +32 -0
  726. package/cli/node_modules/lodash/constant.js +26 -0
  727. package/cli/node_modules/lodash/core.js +3877 -0
  728. package/cli/node_modules/lodash/core.min.js +29 -0
  729. package/cli/node_modules/lodash/countBy.js +40 -0
  730. package/cli/node_modules/lodash/create.js +43 -0
  731. package/cli/node_modules/lodash/curry.js +57 -0
  732. package/cli/node_modules/lodash/curryRight.js +54 -0
  733. package/cli/node_modules/lodash/date.js +3 -0
  734. package/cli/node_modules/lodash/debounce.js +191 -0
  735. package/cli/node_modules/lodash/deburr.js +45 -0
  736. package/cli/node_modules/lodash/defaultTo.js +25 -0
  737. package/cli/node_modules/lodash/defaults.js +64 -0
  738. package/cli/node_modules/lodash/defaultsDeep.js +30 -0
  739. package/cli/node_modules/lodash/defer.js +26 -0
  740. package/cli/node_modules/lodash/delay.js +28 -0
  741. package/cli/node_modules/lodash/difference.js +33 -0
  742. package/cli/node_modules/lodash/differenceBy.js +44 -0
  743. package/cli/node_modules/lodash/differenceWith.js +40 -0
  744. package/cli/node_modules/lodash/divide.js +22 -0
  745. package/cli/node_modules/lodash/drop.js +38 -0
  746. package/cli/node_modules/lodash/dropRight.js +39 -0
  747. package/cli/node_modules/lodash/dropRightWhile.js +45 -0
  748. package/cli/node_modules/lodash/dropWhile.js +45 -0
  749. package/cli/node_modules/lodash/each.js +1 -0
  750. package/cli/node_modules/lodash/eachRight.js +1 -0
  751. package/cli/node_modules/lodash/endsWith.js +43 -0
  752. package/cli/node_modules/lodash/entries.js +1 -0
  753. package/cli/node_modules/lodash/entriesIn.js +1 -0
  754. package/cli/node_modules/lodash/eq.js +37 -0
  755. package/cli/node_modules/lodash/escape.js +43 -0
  756. package/cli/node_modules/lodash/escapeRegExp.js +32 -0
  757. package/cli/node_modules/lodash/every.js +56 -0
  758. package/cli/node_modules/lodash/extend.js +1 -0
  759. package/cli/node_modules/lodash/extendWith.js +1 -0
  760. package/cli/node_modules/lodash/fill.js +45 -0
  761. package/cli/node_modules/lodash/filter.js +52 -0
  762. package/cli/node_modules/lodash/find.js +42 -0
  763. package/cli/node_modules/lodash/findIndex.js +55 -0
  764. package/cli/node_modules/lodash/findKey.js +44 -0
  765. package/cli/node_modules/lodash/findLast.js +25 -0
  766. package/cli/node_modules/lodash/findLastIndex.js +59 -0
  767. package/cli/node_modules/lodash/findLastKey.js +44 -0
  768. package/cli/node_modules/lodash/first.js +1 -0
  769. package/cli/node_modules/lodash/flake.lock +40 -0
  770. package/cli/node_modules/lodash/flake.nix +20 -0
  771. package/cli/node_modules/lodash/flatMap.js +29 -0
  772. package/cli/node_modules/lodash/flatMapDeep.js +31 -0
  773. package/cli/node_modules/lodash/flatMapDepth.js +31 -0
  774. package/cli/node_modules/lodash/flatten.js +22 -0
  775. package/cli/node_modules/lodash/flattenDeep.js +25 -0
  776. package/cli/node_modules/lodash/flattenDepth.js +33 -0
  777. package/cli/node_modules/lodash/flip.js +28 -0
  778. package/cli/node_modules/lodash/floor.js +26 -0
  779. package/cli/node_modules/lodash/flow.js +27 -0
  780. package/cli/node_modules/lodash/flowRight.js +26 -0
  781. package/cli/node_modules/lodash/forEach.js +41 -0
  782. package/cli/node_modules/lodash/forEachRight.js +31 -0
  783. package/cli/node_modules/lodash/forIn.js +39 -0
  784. package/cli/node_modules/lodash/forInRight.js +37 -0
  785. package/cli/node_modules/lodash/forOwn.js +36 -0
  786. package/cli/node_modules/lodash/forOwnRight.js +34 -0
  787. package/cli/node_modules/lodash/fp/F.js +1 -0
  788. package/cli/node_modules/lodash/fp/T.js +1 -0
  789. package/cli/node_modules/lodash/fp/__.js +1 -0
  790. package/cli/node_modules/lodash/fp/_baseConvert.js +569 -0
  791. package/cli/node_modules/lodash/fp/_convertBrowser.js +18 -0
  792. package/cli/node_modules/lodash/fp/_falseOptions.js +7 -0
  793. package/cli/node_modules/lodash/fp/_mapping.js +358 -0
  794. package/cli/node_modules/lodash/fp/_util.js +16 -0
  795. package/cli/node_modules/lodash/fp/add.js +5 -0
  796. package/cli/node_modules/lodash/fp/after.js +5 -0
  797. package/cli/node_modules/lodash/fp/all.js +1 -0
  798. package/cli/node_modules/lodash/fp/allPass.js +1 -0
  799. package/cli/node_modules/lodash/fp/always.js +1 -0
  800. package/cli/node_modules/lodash/fp/any.js +1 -0
  801. package/cli/node_modules/lodash/fp/anyPass.js +1 -0
  802. package/cli/node_modules/lodash/fp/apply.js +1 -0
  803. package/cli/node_modules/lodash/fp/array.js +2 -0
  804. package/cli/node_modules/lodash/fp/ary.js +5 -0
  805. package/cli/node_modules/lodash/fp/assign.js +5 -0
  806. package/cli/node_modules/lodash/fp/assignAll.js +5 -0
  807. package/cli/node_modules/lodash/fp/assignAllWith.js +5 -0
  808. package/cli/node_modules/lodash/fp/assignIn.js +5 -0
  809. package/cli/node_modules/lodash/fp/assignInAll.js +5 -0
  810. package/cli/node_modules/lodash/fp/assignInAllWith.js +5 -0
  811. package/cli/node_modules/lodash/fp/assignInWith.js +5 -0
  812. package/cli/node_modules/lodash/fp/assignWith.js +5 -0
  813. package/cli/node_modules/lodash/fp/assoc.js +1 -0
  814. package/cli/node_modules/lodash/fp/assocPath.js +1 -0
  815. package/cli/node_modules/lodash/fp/at.js +5 -0
  816. package/cli/node_modules/lodash/fp/attempt.js +5 -0
  817. package/cli/node_modules/lodash/fp/before.js +5 -0
  818. package/cli/node_modules/lodash/fp/bind.js +5 -0
  819. package/cli/node_modules/lodash/fp/bindAll.js +5 -0
  820. package/cli/node_modules/lodash/fp/bindKey.js +5 -0
  821. package/cli/node_modules/lodash/fp/camelCase.js +5 -0
  822. package/cli/node_modules/lodash/fp/capitalize.js +5 -0
  823. package/cli/node_modules/lodash/fp/castArray.js +5 -0
  824. package/cli/node_modules/lodash/fp/ceil.js +5 -0
  825. package/cli/node_modules/lodash/fp/chain.js +5 -0
  826. package/cli/node_modules/lodash/fp/chunk.js +5 -0
  827. package/cli/node_modules/lodash/fp/clamp.js +5 -0
  828. package/cli/node_modules/lodash/fp/clone.js +5 -0
  829. package/cli/node_modules/lodash/fp/cloneDeep.js +5 -0
  830. package/cli/node_modules/lodash/fp/cloneDeepWith.js +5 -0
  831. package/cli/node_modules/lodash/fp/cloneWith.js +5 -0
  832. package/cli/node_modules/lodash/fp/collection.js +2 -0
  833. package/cli/node_modules/lodash/fp/commit.js +5 -0
  834. package/cli/node_modules/lodash/fp/compact.js +5 -0
  835. package/cli/node_modules/lodash/fp/complement.js +1 -0
  836. package/cli/node_modules/lodash/fp/compose.js +1 -0
  837. package/cli/node_modules/lodash/fp/concat.js +5 -0
  838. package/cli/node_modules/lodash/fp/cond.js +5 -0
  839. package/cli/node_modules/lodash/fp/conforms.js +1 -0
  840. package/cli/node_modules/lodash/fp/conformsTo.js +5 -0
  841. package/cli/node_modules/lodash/fp/constant.js +5 -0
  842. package/cli/node_modules/lodash/fp/contains.js +1 -0
  843. package/cli/node_modules/lodash/fp/convert.js +18 -0
  844. package/cli/node_modules/lodash/fp/countBy.js +5 -0
  845. package/cli/node_modules/lodash/fp/create.js +5 -0
  846. package/cli/node_modules/lodash/fp/curry.js +5 -0
  847. package/cli/node_modules/lodash/fp/curryN.js +5 -0
  848. package/cli/node_modules/lodash/fp/curryRight.js +5 -0
  849. package/cli/node_modules/lodash/fp/curryRightN.js +5 -0
  850. package/cli/node_modules/lodash/fp/date.js +2 -0
  851. package/cli/node_modules/lodash/fp/debounce.js +5 -0
  852. package/cli/node_modules/lodash/fp/deburr.js +5 -0
  853. package/cli/node_modules/lodash/fp/defaultTo.js +5 -0
  854. package/cli/node_modules/lodash/fp/defaults.js +5 -0
  855. package/cli/node_modules/lodash/fp/defaultsAll.js +5 -0
  856. package/cli/node_modules/lodash/fp/defaultsDeep.js +5 -0
  857. package/cli/node_modules/lodash/fp/defaultsDeepAll.js +5 -0
  858. package/cli/node_modules/lodash/fp/defer.js +5 -0
  859. package/cli/node_modules/lodash/fp/delay.js +5 -0
  860. package/cli/node_modules/lodash/fp/difference.js +5 -0
  861. package/cli/node_modules/lodash/fp/differenceBy.js +5 -0
  862. package/cli/node_modules/lodash/fp/differenceWith.js +5 -0
  863. package/cli/node_modules/lodash/fp/dissoc.js +1 -0
  864. package/cli/node_modules/lodash/fp/dissocPath.js +1 -0
  865. package/cli/node_modules/lodash/fp/divide.js +5 -0
  866. package/cli/node_modules/lodash/fp/drop.js +5 -0
  867. package/cli/node_modules/lodash/fp/dropLast.js +1 -0
  868. package/cli/node_modules/lodash/fp/dropLastWhile.js +1 -0
  869. package/cli/node_modules/lodash/fp/dropRight.js +5 -0
  870. package/cli/node_modules/lodash/fp/dropRightWhile.js +5 -0
  871. package/cli/node_modules/lodash/fp/dropWhile.js +5 -0
  872. package/cli/node_modules/lodash/fp/each.js +1 -0
  873. package/cli/node_modules/lodash/fp/eachRight.js +1 -0
  874. package/cli/node_modules/lodash/fp/endsWith.js +5 -0
  875. package/cli/node_modules/lodash/fp/entries.js +1 -0
  876. package/cli/node_modules/lodash/fp/entriesIn.js +1 -0
  877. package/cli/node_modules/lodash/fp/eq.js +5 -0
  878. package/cli/node_modules/lodash/fp/equals.js +1 -0
  879. package/cli/node_modules/lodash/fp/escape.js +5 -0
  880. package/cli/node_modules/lodash/fp/escapeRegExp.js +5 -0
  881. package/cli/node_modules/lodash/fp/every.js +5 -0
  882. package/cli/node_modules/lodash/fp/extend.js +1 -0
  883. package/cli/node_modules/lodash/fp/extendAll.js +1 -0
  884. package/cli/node_modules/lodash/fp/extendAllWith.js +1 -0
  885. package/cli/node_modules/lodash/fp/extendWith.js +1 -0
  886. package/cli/node_modules/lodash/fp/fill.js +5 -0
  887. package/cli/node_modules/lodash/fp/filter.js +5 -0
  888. package/cli/node_modules/lodash/fp/find.js +5 -0
  889. package/cli/node_modules/lodash/fp/findFrom.js +5 -0
  890. package/cli/node_modules/lodash/fp/findIndex.js +5 -0
  891. package/cli/node_modules/lodash/fp/findIndexFrom.js +5 -0
  892. package/cli/node_modules/lodash/fp/findKey.js +5 -0
  893. package/cli/node_modules/lodash/fp/findLast.js +5 -0
  894. package/cli/node_modules/lodash/fp/findLastFrom.js +5 -0
  895. package/cli/node_modules/lodash/fp/findLastIndex.js +5 -0
  896. package/cli/node_modules/lodash/fp/findLastIndexFrom.js +5 -0
  897. package/cli/node_modules/lodash/fp/findLastKey.js +5 -0
  898. package/cli/node_modules/lodash/fp/first.js +1 -0
  899. package/cli/node_modules/lodash/fp/flatMap.js +5 -0
  900. package/cli/node_modules/lodash/fp/flatMapDeep.js +5 -0
  901. package/cli/node_modules/lodash/fp/flatMapDepth.js +5 -0
  902. package/cli/node_modules/lodash/fp/flatten.js +5 -0
  903. package/cli/node_modules/lodash/fp/flattenDeep.js +5 -0
  904. package/cli/node_modules/lodash/fp/flattenDepth.js +5 -0
  905. package/cli/node_modules/lodash/fp/flip.js +5 -0
  906. package/cli/node_modules/lodash/fp/floor.js +5 -0
  907. package/cli/node_modules/lodash/fp/flow.js +5 -0
  908. package/cli/node_modules/lodash/fp/flowRight.js +5 -0
  909. package/cli/node_modules/lodash/fp/forEach.js +5 -0
  910. package/cli/node_modules/lodash/fp/forEachRight.js +5 -0
  911. package/cli/node_modules/lodash/fp/forIn.js +5 -0
  912. package/cli/node_modules/lodash/fp/forInRight.js +5 -0
  913. package/cli/node_modules/lodash/fp/forOwn.js +5 -0
  914. package/cli/node_modules/lodash/fp/forOwnRight.js +5 -0
  915. package/cli/node_modules/lodash/fp/fromPairs.js +5 -0
  916. package/cli/node_modules/lodash/fp/function.js +2 -0
  917. package/cli/node_modules/lodash/fp/functions.js +5 -0
  918. package/cli/node_modules/lodash/fp/functionsIn.js +5 -0
  919. package/cli/node_modules/lodash/fp/get.js +5 -0
  920. package/cli/node_modules/lodash/fp/getOr.js +5 -0
  921. package/cli/node_modules/lodash/fp/groupBy.js +5 -0
  922. package/cli/node_modules/lodash/fp/gt.js +5 -0
  923. package/cli/node_modules/lodash/fp/gte.js +5 -0
  924. package/cli/node_modules/lodash/fp/has.js +5 -0
  925. package/cli/node_modules/lodash/fp/hasIn.js +5 -0
  926. package/cli/node_modules/lodash/fp/head.js +5 -0
  927. package/cli/node_modules/lodash/fp/identical.js +1 -0
  928. package/cli/node_modules/lodash/fp/identity.js +5 -0
  929. package/cli/node_modules/lodash/fp/inRange.js +5 -0
  930. package/cli/node_modules/lodash/fp/includes.js +5 -0
  931. package/cli/node_modules/lodash/fp/includesFrom.js +5 -0
  932. package/cli/node_modules/lodash/fp/indexBy.js +1 -0
  933. package/cli/node_modules/lodash/fp/indexOf.js +5 -0
  934. package/cli/node_modules/lodash/fp/indexOfFrom.js +5 -0
  935. package/cli/node_modules/lodash/fp/init.js +1 -0
  936. package/cli/node_modules/lodash/fp/initial.js +5 -0
  937. package/cli/node_modules/lodash/fp/intersection.js +5 -0
  938. package/cli/node_modules/lodash/fp/intersectionBy.js +5 -0
  939. package/cli/node_modules/lodash/fp/intersectionWith.js +5 -0
  940. package/cli/node_modules/lodash/fp/invert.js +5 -0
  941. package/cli/node_modules/lodash/fp/invertBy.js +5 -0
  942. package/cli/node_modules/lodash/fp/invertObj.js +1 -0
  943. package/cli/node_modules/lodash/fp/invoke.js +5 -0
  944. package/cli/node_modules/lodash/fp/invokeArgs.js +5 -0
  945. package/cli/node_modules/lodash/fp/invokeArgsMap.js +5 -0
  946. package/cli/node_modules/lodash/fp/invokeMap.js +5 -0
  947. package/cli/node_modules/lodash/fp/isArguments.js +5 -0
  948. package/cli/node_modules/lodash/fp/isArray.js +5 -0
  949. package/cli/node_modules/lodash/fp/isArrayBuffer.js +5 -0
  950. package/cli/node_modules/lodash/fp/isArrayLike.js +5 -0
  951. package/cli/node_modules/lodash/fp/isArrayLikeObject.js +5 -0
  952. package/cli/node_modules/lodash/fp/isBoolean.js +5 -0
  953. package/cli/node_modules/lodash/fp/isBuffer.js +5 -0
  954. package/cli/node_modules/lodash/fp/isDate.js +5 -0
  955. package/cli/node_modules/lodash/fp/isElement.js +5 -0
  956. package/cli/node_modules/lodash/fp/isEmpty.js +5 -0
  957. package/cli/node_modules/lodash/fp/isEqual.js +5 -0
  958. package/cli/node_modules/lodash/fp/isEqualWith.js +5 -0
  959. package/cli/node_modules/lodash/fp/isError.js +5 -0
  960. package/cli/node_modules/lodash/fp/isFinite.js +5 -0
  961. package/cli/node_modules/lodash/fp/isFunction.js +5 -0
  962. package/cli/node_modules/lodash/fp/isInteger.js +5 -0
  963. package/cli/node_modules/lodash/fp/isLength.js +5 -0
  964. package/cli/node_modules/lodash/fp/isMap.js +5 -0
  965. package/cli/node_modules/lodash/fp/isMatch.js +5 -0
  966. package/cli/node_modules/lodash/fp/isMatchWith.js +5 -0
  967. package/cli/node_modules/lodash/fp/isNaN.js +5 -0
  968. package/cli/node_modules/lodash/fp/isNative.js +5 -0
  969. package/cli/node_modules/lodash/fp/isNil.js +5 -0
  970. package/cli/node_modules/lodash/fp/isNull.js +5 -0
  971. package/cli/node_modules/lodash/fp/isNumber.js +5 -0
  972. package/cli/node_modules/lodash/fp/isObject.js +5 -0
  973. package/cli/node_modules/lodash/fp/isObjectLike.js +5 -0
  974. package/cli/node_modules/lodash/fp/isPlainObject.js +5 -0
  975. package/cli/node_modules/lodash/fp/isRegExp.js +5 -0
  976. package/cli/node_modules/lodash/fp/isSafeInteger.js +5 -0
  977. package/cli/node_modules/lodash/fp/isSet.js +5 -0
  978. package/cli/node_modules/lodash/fp/isString.js +5 -0
  979. package/cli/node_modules/lodash/fp/isSymbol.js +5 -0
  980. package/cli/node_modules/lodash/fp/isTypedArray.js +5 -0
  981. package/cli/node_modules/lodash/fp/isUndefined.js +5 -0
  982. package/cli/node_modules/lodash/fp/isWeakMap.js +5 -0
  983. package/cli/node_modules/lodash/fp/isWeakSet.js +5 -0
  984. package/cli/node_modules/lodash/fp/iteratee.js +5 -0
  985. package/cli/node_modules/lodash/fp/join.js +5 -0
  986. package/cli/node_modules/lodash/fp/juxt.js +1 -0
  987. package/cli/node_modules/lodash/fp/kebabCase.js +5 -0
  988. package/cli/node_modules/lodash/fp/keyBy.js +5 -0
  989. package/cli/node_modules/lodash/fp/keys.js +5 -0
  990. package/cli/node_modules/lodash/fp/keysIn.js +5 -0
  991. package/cli/node_modules/lodash/fp/lang.js +2 -0
  992. package/cli/node_modules/lodash/fp/last.js +5 -0
  993. package/cli/node_modules/lodash/fp/lastIndexOf.js +5 -0
  994. package/cli/node_modules/lodash/fp/lastIndexOfFrom.js +5 -0
  995. package/cli/node_modules/lodash/fp/lowerCase.js +5 -0
  996. package/cli/node_modules/lodash/fp/lowerFirst.js +5 -0
  997. package/cli/node_modules/lodash/fp/lt.js +5 -0
  998. package/cli/node_modules/lodash/fp/lte.js +5 -0
  999. package/cli/node_modules/lodash/fp/map.js +5 -0
  1000. package/cli/node_modules/lodash/fp/mapKeys.js +5 -0
  1001. package/cli/node_modules/lodash/fp/mapValues.js +5 -0
  1002. package/cli/node_modules/lodash/fp/matches.js +1 -0
  1003. package/cli/node_modules/lodash/fp/matchesProperty.js +5 -0
  1004. package/cli/node_modules/lodash/fp/math.js +2 -0
  1005. package/cli/node_modules/lodash/fp/max.js +5 -0
  1006. package/cli/node_modules/lodash/fp/maxBy.js +5 -0
  1007. package/cli/node_modules/lodash/fp/mean.js +5 -0
  1008. package/cli/node_modules/lodash/fp/meanBy.js +5 -0
  1009. package/cli/node_modules/lodash/fp/memoize.js +5 -0
  1010. package/cli/node_modules/lodash/fp/merge.js +5 -0
  1011. package/cli/node_modules/lodash/fp/mergeAll.js +5 -0
  1012. package/cli/node_modules/lodash/fp/mergeAllWith.js +5 -0
  1013. package/cli/node_modules/lodash/fp/mergeWith.js +5 -0
  1014. package/cli/node_modules/lodash/fp/method.js +5 -0
  1015. package/cli/node_modules/lodash/fp/methodOf.js +5 -0
  1016. package/cli/node_modules/lodash/fp/min.js +5 -0
  1017. package/cli/node_modules/lodash/fp/minBy.js +5 -0
  1018. package/cli/node_modules/lodash/fp/mixin.js +5 -0
  1019. package/cli/node_modules/lodash/fp/multiply.js +5 -0
  1020. package/cli/node_modules/lodash/fp/nAry.js +1 -0
  1021. package/cli/node_modules/lodash/fp/negate.js +5 -0
  1022. package/cli/node_modules/lodash/fp/next.js +5 -0
  1023. package/cli/node_modules/lodash/fp/noop.js +5 -0
  1024. package/cli/node_modules/lodash/fp/now.js +5 -0
  1025. package/cli/node_modules/lodash/fp/nth.js +5 -0
  1026. package/cli/node_modules/lodash/fp/nthArg.js +5 -0
  1027. package/cli/node_modules/lodash/fp/number.js +2 -0
  1028. package/cli/node_modules/lodash/fp/object.js +2 -0
  1029. package/cli/node_modules/lodash/fp/omit.js +5 -0
  1030. package/cli/node_modules/lodash/fp/omitAll.js +1 -0
  1031. package/cli/node_modules/lodash/fp/omitBy.js +5 -0
  1032. package/cli/node_modules/lodash/fp/once.js +5 -0
  1033. package/cli/node_modules/lodash/fp/orderBy.js +5 -0
  1034. package/cli/node_modules/lodash/fp/over.js +5 -0
  1035. package/cli/node_modules/lodash/fp/overArgs.js +5 -0
  1036. package/cli/node_modules/lodash/fp/overEvery.js +5 -0
  1037. package/cli/node_modules/lodash/fp/overSome.js +5 -0
  1038. package/cli/node_modules/lodash/fp/pad.js +5 -0
  1039. package/cli/node_modules/lodash/fp/padChars.js +5 -0
  1040. package/cli/node_modules/lodash/fp/padCharsEnd.js +5 -0
  1041. package/cli/node_modules/lodash/fp/padCharsStart.js +5 -0
  1042. package/cli/node_modules/lodash/fp/padEnd.js +5 -0
  1043. package/cli/node_modules/lodash/fp/padStart.js +5 -0
  1044. package/cli/node_modules/lodash/fp/parseInt.js +5 -0
  1045. package/cli/node_modules/lodash/fp/partial.js +5 -0
  1046. package/cli/node_modules/lodash/fp/partialRight.js +5 -0
  1047. package/cli/node_modules/lodash/fp/partition.js +5 -0
  1048. package/cli/node_modules/lodash/fp/path.js +1 -0
  1049. package/cli/node_modules/lodash/fp/pathEq.js +1 -0
  1050. package/cli/node_modules/lodash/fp/pathOr.js +1 -0
  1051. package/cli/node_modules/lodash/fp/paths.js +1 -0
  1052. package/cli/node_modules/lodash/fp/pick.js +5 -0
  1053. package/cli/node_modules/lodash/fp/pickAll.js +1 -0
  1054. package/cli/node_modules/lodash/fp/pickBy.js +5 -0
  1055. package/cli/node_modules/lodash/fp/pipe.js +1 -0
  1056. package/cli/node_modules/lodash/fp/placeholder.js +6 -0
  1057. package/cli/node_modules/lodash/fp/plant.js +5 -0
  1058. package/cli/node_modules/lodash/fp/pluck.js +1 -0
  1059. package/cli/node_modules/lodash/fp/prop.js +1 -0
  1060. package/cli/node_modules/lodash/fp/propEq.js +1 -0
  1061. package/cli/node_modules/lodash/fp/propOr.js +1 -0
  1062. package/cli/node_modules/lodash/fp/property.js +1 -0
  1063. package/cli/node_modules/lodash/fp/propertyOf.js +5 -0
  1064. package/cli/node_modules/lodash/fp/props.js +1 -0
  1065. package/cli/node_modules/lodash/fp/pull.js +5 -0
  1066. package/cli/node_modules/lodash/fp/pullAll.js +5 -0
  1067. package/cli/node_modules/lodash/fp/pullAllBy.js +5 -0
  1068. package/cli/node_modules/lodash/fp/pullAllWith.js +5 -0
  1069. package/cli/node_modules/lodash/fp/pullAt.js +5 -0
  1070. package/cli/node_modules/lodash/fp/random.js +5 -0
  1071. package/cli/node_modules/lodash/fp/range.js +5 -0
  1072. package/cli/node_modules/lodash/fp/rangeRight.js +5 -0
  1073. package/cli/node_modules/lodash/fp/rangeStep.js +5 -0
  1074. package/cli/node_modules/lodash/fp/rangeStepRight.js +5 -0
  1075. package/cli/node_modules/lodash/fp/rearg.js +5 -0
  1076. package/cli/node_modules/lodash/fp/reduce.js +5 -0
  1077. package/cli/node_modules/lodash/fp/reduceRight.js +5 -0
  1078. package/cli/node_modules/lodash/fp/reject.js +5 -0
  1079. package/cli/node_modules/lodash/fp/remove.js +5 -0
  1080. package/cli/node_modules/lodash/fp/repeat.js +5 -0
  1081. package/cli/node_modules/lodash/fp/replace.js +5 -0
  1082. package/cli/node_modules/lodash/fp/rest.js +5 -0
  1083. package/cli/node_modules/lodash/fp/restFrom.js +5 -0
  1084. package/cli/node_modules/lodash/fp/result.js +5 -0
  1085. package/cli/node_modules/lodash/fp/reverse.js +5 -0
  1086. package/cli/node_modules/lodash/fp/round.js +5 -0
  1087. package/cli/node_modules/lodash/fp/sample.js +5 -0
  1088. package/cli/node_modules/lodash/fp/sampleSize.js +5 -0
  1089. package/cli/node_modules/lodash/fp/seq.js +2 -0
  1090. package/cli/node_modules/lodash/fp/set.js +5 -0
  1091. package/cli/node_modules/lodash/fp/setWith.js +5 -0
  1092. package/cli/node_modules/lodash/fp/shuffle.js +5 -0
  1093. package/cli/node_modules/lodash/fp/size.js +5 -0
  1094. package/cli/node_modules/lodash/fp/slice.js +5 -0
  1095. package/cli/node_modules/lodash/fp/snakeCase.js +5 -0
  1096. package/cli/node_modules/lodash/fp/some.js +5 -0
  1097. package/cli/node_modules/lodash/fp/sortBy.js +5 -0
  1098. package/cli/node_modules/lodash/fp/sortedIndex.js +5 -0
  1099. package/cli/node_modules/lodash/fp/sortedIndexBy.js +5 -0
  1100. package/cli/node_modules/lodash/fp/sortedIndexOf.js +5 -0
  1101. package/cli/node_modules/lodash/fp/sortedLastIndex.js +5 -0
  1102. package/cli/node_modules/lodash/fp/sortedLastIndexBy.js +5 -0
  1103. package/cli/node_modules/lodash/fp/sortedLastIndexOf.js +5 -0
  1104. package/cli/node_modules/lodash/fp/sortedUniq.js +5 -0
  1105. package/cli/node_modules/lodash/fp/sortedUniqBy.js +5 -0
  1106. package/cli/node_modules/lodash/fp/split.js +5 -0
  1107. package/cli/node_modules/lodash/fp/spread.js +5 -0
  1108. package/cli/node_modules/lodash/fp/spreadFrom.js +5 -0
  1109. package/cli/node_modules/lodash/fp/startCase.js +5 -0
  1110. package/cli/node_modules/lodash/fp/startsWith.js +5 -0
  1111. package/cli/node_modules/lodash/fp/string.js +2 -0
  1112. package/cli/node_modules/lodash/fp/stubArray.js +5 -0
  1113. package/cli/node_modules/lodash/fp/stubFalse.js +5 -0
  1114. package/cli/node_modules/lodash/fp/stubObject.js +5 -0
  1115. package/cli/node_modules/lodash/fp/stubString.js +5 -0
  1116. package/cli/node_modules/lodash/fp/stubTrue.js +5 -0
  1117. package/cli/node_modules/lodash/fp/subtract.js +5 -0
  1118. package/cli/node_modules/lodash/fp/sum.js +5 -0
  1119. package/cli/node_modules/lodash/fp/sumBy.js +5 -0
  1120. package/cli/node_modules/lodash/fp/symmetricDifference.js +1 -0
  1121. package/cli/node_modules/lodash/fp/symmetricDifferenceBy.js +1 -0
  1122. package/cli/node_modules/lodash/fp/symmetricDifferenceWith.js +1 -0
  1123. package/cli/node_modules/lodash/fp/tail.js +5 -0
  1124. package/cli/node_modules/lodash/fp/take.js +5 -0
  1125. package/cli/node_modules/lodash/fp/takeLast.js +1 -0
  1126. package/cli/node_modules/lodash/fp/takeLastWhile.js +1 -0
  1127. package/cli/node_modules/lodash/fp/takeRight.js +5 -0
  1128. package/cli/node_modules/lodash/fp/takeRightWhile.js +5 -0
  1129. package/cli/node_modules/lodash/fp/takeWhile.js +5 -0
  1130. package/cli/node_modules/lodash/fp/tap.js +5 -0
  1131. package/cli/node_modules/lodash/fp/template.js +5 -0
  1132. package/cli/node_modules/lodash/fp/templateSettings.js +5 -0
  1133. package/cli/node_modules/lodash/fp/throttle.js +5 -0
  1134. package/cli/node_modules/lodash/fp/thru.js +5 -0
  1135. package/cli/node_modules/lodash/fp/times.js +5 -0
  1136. package/cli/node_modules/lodash/fp/toArray.js +5 -0
  1137. package/cli/node_modules/lodash/fp/toFinite.js +5 -0
  1138. package/cli/node_modules/lodash/fp/toInteger.js +5 -0
  1139. package/cli/node_modules/lodash/fp/toIterator.js +5 -0
  1140. package/cli/node_modules/lodash/fp/toJSON.js +5 -0
  1141. package/cli/node_modules/lodash/fp/toLength.js +5 -0
  1142. package/cli/node_modules/lodash/fp/toLower.js +5 -0
  1143. package/cli/node_modules/lodash/fp/toNumber.js +5 -0
  1144. package/cli/node_modules/lodash/fp/toPairs.js +5 -0
  1145. package/cli/node_modules/lodash/fp/toPairsIn.js +5 -0
  1146. package/cli/node_modules/lodash/fp/toPath.js +5 -0
  1147. package/cli/node_modules/lodash/fp/toPlainObject.js +5 -0
  1148. package/cli/node_modules/lodash/fp/toSafeInteger.js +5 -0
  1149. package/cli/node_modules/lodash/fp/toString.js +5 -0
  1150. package/cli/node_modules/lodash/fp/toUpper.js +5 -0
  1151. package/cli/node_modules/lodash/fp/transform.js +5 -0
  1152. package/cli/node_modules/lodash/fp/trim.js +5 -0
  1153. package/cli/node_modules/lodash/fp/trimChars.js +5 -0
  1154. package/cli/node_modules/lodash/fp/trimCharsEnd.js +5 -0
  1155. package/cli/node_modules/lodash/fp/trimCharsStart.js +5 -0
  1156. package/cli/node_modules/lodash/fp/trimEnd.js +5 -0
  1157. package/cli/node_modules/lodash/fp/trimStart.js +5 -0
  1158. package/cli/node_modules/lodash/fp/truncate.js +5 -0
  1159. package/cli/node_modules/lodash/fp/unapply.js +1 -0
  1160. package/cli/node_modules/lodash/fp/unary.js +5 -0
  1161. package/cli/node_modules/lodash/fp/unescape.js +5 -0
  1162. package/cli/node_modules/lodash/fp/union.js +5 -0
  1163. package/cli/node_modules/lodash/fp/unionBy.js +5 -0
  1164. package/cli/node_modules/lodash/fp/unionWith.js +5 -0
  1165. package/cli/node_modules/lodash/fp/uniq.js +5 -0
  1166. package/cli/node_modules/lodash/fp/uniqBy.js +5 -0
  1167. package/cli/node_modules/lodash/fp/uniqWith.js +5 -0
  1168. package/cli/node_modules/lodash/fp/uniqueId.js +5 -0
  1169. package/cli/node_modules/lodash/fp/unnest.js +1 -0
  1170. package/cli/node_modules/lodash/fp/unset.js +5 -0
  1171. package/cli/node_modules/lodash/fp/unzip.js +5 -0
  1172. package/cli/node_modules/lodash/fp/unzipWith.js +5 -0
  1173. package/cli/node_modules/lodash/fp/update.js +5 -0
  1174. package/cli/node_modules/lodash/fp/updateWith.js +5 -0
  1175. package/cli/node_modules/lodash/fp/upperCase.js +5 -0
  1176. package/cli/node_modules/lodash/fp/upperFirst.js +5 -0
  1177. package/cli/node_modules/lodash/fp/useWith.js +1 -0
  1178. package/cli/node_modules/lodash/fp/util.js +2 -0
  1179. package/cli/node_modules/lodash/fp/value.js +5 -0
  1180. package/cli/node_modules/lodash/fp/valueOf.js +5 -0
  1181. package/cli/node_modules/lodash/fp/values.js +5 -0
  1182. package/cli/node_modules/lodash/fp/valuesIn.js +5 -0
  1183. package/cli/node_modules/lodash/fp/where.js +1 -0
  1184. package/cli/node_modules/lodash/fp/whereEq.js +1 -0
  1185. package/cli/node_modules/lodash/fp/without.js +5 -0
  1186. package/cli/node_modules/lodash/fp/words.js +5 -0
  1187. package/cli/node_modules/lodash/fp/wrap.js +5 -0
  1188. package/cli/node_modules/lodash/fp/wrapperAt.js +5 -0
  1189. package/cli/node_modules/lodash/fp/wrapperChain.js +5 -0
  1190. package/cli/node_modules/lodash/fp/wrapperLodash.js +5 -0
  1191. package/cli/node_modules/lodash/fp/wrapperReverse.js +5 -0
  1192. package/cli/node_modules/lodash/fp/wrapperValue.js +5 -0
  1193. package/cli/node_modules/lodash/fp/xor.js +5 -0
  1194. package/cli/node_modules/lodash/fp/xorBy.js +5 -0
  1195. package/cli/node_modules/lodash/fp/xorWith.js +5 -0
  1196. package/cli/node_modules/lodash/fp/zip.js +5 -0
  1197. package/cli/node_modules/lodash/fp/zipAll.js +5 -0
  1198. package/cli/node_modules/lodash/fp/zipObj.js +1 -0
  1199. package/cli/node_modules/lodash/fp/zipObject.js +5 -0
  1200. package/cli/node_modules/lodash/fp/zipObjectDeep.js +5 -0
  1201. package/cli/node_modules/lodash/fp/zipWith.js +5 -0
  1202. package/cli/node_modules/lodash/fp.js +2 -0
  1203. package/cli/node_modules/lodash/fromPairs.js +28 -0
  1204. package/cli/node_modules/lodash/function.js +25 -0
  1205. package/cli/node_modules/lodash/functions.js +31 -0
  1206. package/cli/node_modules/lodash/functionsIn.js +31 -0
  1207. package/cli/node_modules/lodash/get.js +33 -0
  1208. package/cli/node_modules/lodash/groupBy.js +41 -0
  1209. package/cli/node_modules/lodash/gt.js +29 -0
  1210. package/cli/node_modules/lodash/gte.js +30 -0
  1211. package/cli/node_modules/lodash/has.js +35 -0
  1212. package/cli/node_modules/lodash/hasIn.js +34 -0
  1213. package/cli/node_modules/lodash/head.js +23 -0
  1214. package/cli/node_modules/lodash/identity.js +21 -0
  1215. package/cli/node_modules/lodash/inRange.js +55 -0
  1216. package/cli/node_modules/lodash/includes.js +53 -0
  1217. package/cli/node_modules/lodash/index.js +1 -0
  1218. package/cli/node_modules/lodash/indexOf.js +42 -0
  1219. package/cli/node_modules/lodash/initial.js +22 -0
  1220. package/cli/node_modules/lodash/intersection.js +30 -0
  1221. package/cli/node_modules/lodash/intersectionBy.js +45 -0
  1222. package/cli/node_modules/lodash/intersectionWith.js +41 -0
  1223. package/cli/node_modules/lodash/invert.js +42 -0
  1224. package/cli/node_modules/lodash/invertBy.js +56 -0
  1225. package/cli/node_modules/lodash/invoke.js +24 -0
  1226. package/cli/node_modules/lodash/invokeMap.js +41 -0
  1227. package/cli/node_modules/lodash/isArguments.js +36 -0
  1228. package/cli/node_modules/lodash/isArray.js +26 -0
  1229. package/cli/node_modules/lodash/isArrayBuffer.js +27 -0
  1230. package/cli/node_modules/lodash/isArrayLike.js +33 -0
  1231. package/cli/node_modules/lodash/isArrayLikeObject.js +33 -0
  1232. package/cli/node_modules/lodash/isBoolean.js +29 -0
  1233. package/cli/node_modules/lodash/isBuffer.js +38 -0
  1234. package/cli/node_modules/lodash/isDate.js +27 -0
  1235. package/cli/node_modules/lodash/isElement.js +25 -0
  1236. package/cli/node_modules/lodash/isEmpty.js +77 -0
  1237. package/cli/node_modules/lodash/isEqual.js +35 -0
  1238. package/cli/node_modules/lodash/isEqualWith.js +41 -0
  1239. package/cli/node_modules/lodash/isError.js +36 -0
  1240. package/cli/node_modules/lodash/isFinite.js +36 -0
  1241. package/cli/node_modules/lodash/isFunction.js +37 -0
  1242. package/cli/node_modules/lodash/isInteger.js +33 -0
  1243. package/cli/node_modules/lodash/isLength.js +35 -0
  1244. package/cli/node_modules/lodash/isMap.js +27 -0
  1245. package/cli/node_modules/lodash/isMatch.js +36 -0
  1246. package/cli/node_modules/lodash/isMatchWith.js +41 -0
  1247. package/cli/node_modules/lodash/isNaN.js +38 -0
  1248. package/cli/node_modules/lodash/isNative.js +40 -0
  1249. package/cli/node_modules/lodash/isNil.js +25 -0
  1250. package/cli/node_modules/lodash/isNull.js +22 -0
  1251. package/cli/node_modules/lodash/isNumber.js +38 -0
  1252. package/cli/node_modules/lodash/isObject.js +31 -0
  1253. package/cli/node_modules/lodash/isObjectLike.js +29 -0
  1254. package/cli/node_modules/lodash/isPlainObject.js +62 -0
  1255. package/cli/node_modules/lodash/isRegExp.js +27 -0
  1256. package/cli/node_modules/lodash/isSafeInteger.js +37 -0
  1257. package/cli/node_modules/lodash/isSet.js +27 -0
  1258. package/cli/node_modules/lodash/isString.js +30 -0
  1259. package/cli/node_modules/lodash/isSymbol.js +29 -0
  1260. package/cli/node_modules/lodash/isTypedArray.js +27 -0
  1261. package/cli/node_modules/lodash/isUndefined.js +22 -0
  1262. package/cli/node_modules/lodash/isWeakMap.js +28 -0
  1263. package/cli/node_modules/lodash/isWeakSet.js +28 -0
  1264. package/cli/node_modules/lodash/iteratee.js +53 -0
  1265. package/cli/node_modules/lodash/join.js +26 -0
  1266. package/cli/node_modules/lodash/kebabCase.js +28 -0
  1267. package/cli/node_modules/lodash/keyBy.js +36 -0
  1268. package/cli/node_modules/lodash/keys.js +37 -0
  1269. package/cli/node_modules/lodash/keysIn.js +32 -0
  1270. package/cli/node_modules/lodash/lang.js +58 -0
  1271. package/cli/node_modules/lodash/last.js +20 -0
  1272. package/cli/node_modules/lodash/lastIndexOf.js +46 -0
  1273. package/cli/node_modules/lodash/lodash.js +17209 -0
  1274. package/cli/node_modules/lodash/lodash.min.js +140 -0
  1275. package/cli/node_modules/lodash/lowerCase.js +27 -0
  1276. package/cli/node_modules/lodash/lowerFirst.js +22 -0
  1277. package/cli/node_modules/lodash/lt.js +29 -0
  1278. package/cli/node_modules/lodash/lte.js +30 -0
  1279. package/cli/node_modules/lodash/map.js +53 -0
  1280. package/cli/node_modules/lodash/mapKeys.js +36 -0
  1281. package/cli/node_modules/lodash/mapValues.js +43 -0
  1282. package/cli/node_modules/lodash/matches.js +46 -0
  1283. package/cli/node_modules/lodash/matchesProperty.js +44 -0
  1284. package/cli/node_modules/lodash/math.js +17 -0
  1285. package/cli/node_modules/lodash/max.js +29 -0
  1286. package/cli/node_modules/lodash/maxBy.js +34 -0
  1287. package/cli/node_modules/lodash/mean.js +22 -0
  1288. package/cli/node_modules/lodash/meanBy.js +31 -0
  1289. package/cli/node_modules/lodash/memoize.js +73 -0
  1290. package/cli/node_modules/lodash/merge.js +39 -0
  1291. package/cli/node_modules/lodash/mergeWith.js +39 -0
  1292. package/cli/node_modules/lodash/method.js +34 -0
  1293. package/cli/node_modules/lodash/methodOf.js +33 -0
  1294. package/cli/node_modules/lodash/min.js +29 -0
  1295. package/cli/node_modules/lodash/minBy.js +34 -0
  1296. package/cli/node_modules/lodash/mixin.js +74 -0
  1297. package/cli/node_modules/lodash/multiply.js +22 -0
  1298. package/cli/node_modules/lodash/negate.js +40 -0
  1299. package/cli/node_modules/lodash/next.js +35 -0
  1300. package/cli/node_modules/lodash/noop.js +17 -0
  1301. package/cli/node_modules/lodash/now.js +23 -0
  1302. package/cli/node_modules/lodash/nth.js +29 -0
  1303. package/cli/node_modules/lodash/nthArg.js +32 -0
  1304. package/cli/node_modules/lodash/number.js +5 -0
  1305. package/cli/node_modules/lodash/object.js +49 -0
  1306. package/cli/node_modules/lodash/omit.js +57 -0
  1307. package/cli/node_modules/lodash/omitBy.js +29 -0
  1308. package/cli/node_modules/lodash/once.js +25 -0
  1309. package/cli/node_modules/lodash/orderBy.js +47 -0
  1310. package/cli/node_modules/lodash/over.js +24 -0
  1311. package/cli/node_modules/lodash/overArgs.js +61 -0
  1312. package/cli/node_modules/lodash/overEvery.js +34 -0
  1313. package/cli/node_modules/lodash/overSome.js +37 -0
  1314. package/cli/node_modules/lodash/package.json +17 -0
  1315. package/cli/node_modules/lodash/pad.js +49 -0
  1316. package/cli/node_modules/lodash/padEnd.js +39 -0
  1317. package/cli/node_modules/lodash/padStart.js +39 -0
  1318. package/cli/node_modules/lodash/parseInt.js +43 -0
  1319. package/cli/node_modules/lodash/partial.js +50 -0
  1320. package/cli/node_modules/lodash/partialRight.js +49 -0
  1321. package/cli/node_modules/lodash/partition.js +43 -0
  1322. package/cli/node_modules/lodash/pick.js +25 -0
  1323. package/cli/node_modules/lodash/pickBy.js +37 -0
  1324. package/cli/node_modules/lodash/plant.js +48 -0
  1325. package/cli/node_modules/lodash/property.js +32 -0
  1326. package/cli/node_modules/lodash/propertyOf.js +30 -0
  1327. package/cli/node_modules/lodash/pull.js +29 -0
  1328. package/cli/node_modules/lodash/pullAll.js +29 -0
  1329. package/cli/node_modules/lodash/pullAllBy.js +33 -0
  1330. package/cli/node_modules/lodash/pullAllWith.js +32 -0
  1331. package/cli/node_modules/lodash/pullAt.js +43 -0
  1332. package/cli/node_modules/lodash/random.js +82 -0
  1333. package/cli/node_modules/lodash/range.js +46 -0
  1334. package/cli/node_modules/lodash/rangeRight.js +41 -0
  1335. package/cli/node_modules/lodash/rearg.js +33 -0
  1336. package/cli/node_modules/lodash/reduce.js +51 -0
  1337. package/cli/node_modules/lodash/reduceRight.js +36 -0
  1338. package/cli/node_modules/lodash/reject.js +46 -0
  1339. package/cli/node_modules/lodash/release.md +48 -0
  1340. package/cli/node_modules/lodash/remove.js +53 -0
  1341. package/cli/node_modules/lodash/repeat.js +37 -0
  1342. package/cli/node_modules/lodash/replace.js +29 -0
  1343. package/cli/node_modules/lodash/rest.js +40 -0
  1344. package/cli/node_modules/lodash/result.js +56 -0
  1345. package/cli/node_modules/lodash/reverse.js +34 -0
  1346. package/cli/node_modules/lodash/round.js +26 -0
  1347. package/cli/node_modules/lodash/sample.js +24 -0
  1348. package/cli/node_modules/lodash/sampleSize.js +37 -0
  1349. package/cli/node_modules/lodash/seq.js +16 -0
  1350. package/cli/node_modules/lodash/set.js +35 -0
  1351. package/cli/node_modules/lodash/setWith.js +32 -0
  1352. package/cli/node_modules/lodash/shuffle.js +25 -0
  1353. package/cli/node_modules/lodash/size.js +46 -0
  1354. package/cli/node_modules/lodash/slice.js +37 -0
  1355. package/cli/node_modules/lodash/snakeCase.js +28 -0
  1356. package/cli/node_modules/lodash/some.js +51 -0
  1357. package/cli/node_modules/lodash/sortBy.js +48 -0
  1358. package/cli/node_modules/lodash/sortedIndex.js +24 -0
  1359. package/cli/node_modules/lodash/sortedIndexBy.js +33 -0
  1360. package/cli/node_modules/lodash/sortedIndexOf.js +31 -0
  1361. package/cli/node_modules/lodash/sortedLastIndex.js +25 -0
  1362. package/cli/node_modules/lodash/sortedLastIndexBy.js +33 -0
  1363. package/cli/node_modules/lodash/sortedLastIndexOf.js +31 -0
  1364. package/cli/node_modules/lodash/sortedUniq.js +24 -0
  1365. package/cli/node_modules/lodash/sortedUniqBy.js +26 -0
  1366. package/cli/node_modules/lodash/split.js +52 -0
  1367. package/cli/node_modules/lodash/spread.js +63 -0
  1368. package/cli/node_modules/lodash/startCase.js +29 -0
  1369. package/cli/node_modules/lodash/startsWith.js +39 -0
  1370. package/cli/node_modules/lodash/string.js +33 -0
  1371. package/cli/node_modules/lodash/stubArray.js +23 -0
  1372. package/cli/node_modules/lodash/stubFalse.js +18 -0
  1373. package/cli/node_modules/lodash/stubObject.js +23 -0
  1374. package/cli/node_modules/lodash/stubString.js +18 -0
  1375. package/cli/node_modules/lodash/stubTrue.js +18 -0
  1376. package/cli/node_modules/lodash/subtract.js +22 -0
  1377. package/cli/node_modules/lodash/sum.js +24 -0
  1378. package/cli/node_modules/lodash/sumBy.js +33 -0
  1379. package/cli/node_modules/lodash/tail.js +22 -0
  1380. package/cli/node_modules/lodash/take.js +37 -0
  1381. package/cli/node_modules/lodash/takeRight.js +39 -0
  1382. package/cli/node_modules/lodash/takeRightWhile.js +45 -0
  1383. package/cli/node_modules/lodash/takeWhile.js +45 -0
  1384. package/cli/node_modules/lodash/tap.js +29 -0
  1385. package/cli/node_modules/lodash/template.js +272 -0
  1386. package/cli/node_modules/lodash/templateSettings.js +67 -0
  1387. package/cli/node_modules/lodash/throttle.js +69 -0
  1388. package/cli/node_modules/lodash/thru.js +28 -0
  1389. package/cli/node_modules/lodash/times.js +51 -0
  1390. package/cli/node_modules/lodash/toArray.js +58 -0
  1391. package/cli/node_modules/lodash/toFinite.js +42 -0
  1392. package/cli/node_modules/lodash/toInteger.js +36 -0
  1393. package/cli/node_modules/lodash/toIterator.js +23 -0
  1394. package/cli/node_modules/lodash/toJSON.js +1 -0
  1395. package/cli/node_modules/lodash/toLength.js +38 -0
  1396. package/cli/node_modules/lodash/toLower.js +28 -0
  1397. package/cli/node_modules/lodash/toNumber.js +64 -0
  1398. package/cli/node_modules/lodash/toPairs.js +30 -0
  1399. package/cli/node_modules/lodash/toPairsIn.js +30 -0
  1400. package/cli/node_modules/lodash/toPath.js +33 -0
  1401. package/cli/node_modules/lodash/toPlainObject.js +32 -0
  1402. package/cli/node_modules/lodash/toSafeInteger.js +37 -0
  1403. package/cli/node_modules/lodash/toString.js +28 -0
  1404. package/cli/node_modules/lodash/toUpper.js +28 -0
  1405. package/cli/node_modules/lodash/transform.js +65 -0
  1406. package/cli/node_modules/lodash/trim.js +47 -0
  1407. package/cli/node_modules/lodash/trimEnd.js +41 -0
  1408. package/cli/node_modules/lodash/trimStart.js +43 -0
  1409. package/cli/node_modules/lodash/truncate.js +111 -0
  1410. package/cli/node_modules/lodash/unary.js +22 -0
  1411. package/cli/node_modules/lodash/unescape.js +34 -0
  1412. package/cli/node_modules/lodash/union.js +26 -0
  1413. package/cli/node_modules/lodash/unionBy.js +39 -0
  1414. package/cli/node_modules/lodash/unionWith.js +34 -0
  1415. package/cli/node_modules/lodash/uniq.js +25 -0
  1416. package/cli/node_modules/lodash/uniqBy.js +31 -0
  1417. package/cli/node_modules/lodash/uniqWith.js +28 -0
  1418. package/cli/node_modules/lodash/uniqueId.js +28 -0
  1419. package/cli/node_modules/lodash/unset.js +34 -0
  1420. package/cli/node_modules/lodash/unzip.js +45 -0
  1421. package/cli/node_modules/lodash/unzipWith.js +39 -0
  1422. package/cli/node_modules/lodash/update.js +35 -0
  1423. package/cli/node_modules/lodash/updateWith.js +33 -0
  1424. package/cli/node_modules/lodash/upperCase.js +27 -0
  1425. package/cli/node_modules/lodash/upperFirst.js +22 -0
  1426. package/cli/node_modules/lodash/util.js +34 -0
  1427. package/cli/node_modules/lodash/value.js +1 -0
  1428. package/cli/node_modules/lodash/valueOf.js +1 -0
  1429. package/cli/node_modules/lodash/values.js +34 -0
  1430. package/cli/node_modules/lodash/valuesIn.js +32 -0
  1431. package/cli/node_modules/lodash/without.js +31 -0
  1432. package/cli/node_modules/lodash/words.js +35 -0
  1433. package/cli/node_modules/lodash/wrap.js +30 -0
  1434. package/cli/node_modules/lodash/wrapperAt.js +48 -0
  1435. package/cli/node_modules/lodash/wrapperChain.js +34 -0
  1436. package/cli/node_modules/lodash/wrapperLodash.js +147 -0
  1437. package/cli/node_modules/lodash/wrapperReverse.js +44 -0
  1438. package/cli/node_modules/lodash/wrapperValue.js +21 -0
  1439. package/cli/node_modules/lodash/xor.js +28 -0
  1440. package/cli/node_modules/lodash/xorBy.js +39 -0
  1441. package/cli/node_modules/lodash/xorWith.js +34 -0
  1442. package/cli/node_modules/lodash/zip.js +22 -0
  1443. package/cli/node_modules/lodash/zipObject.js +24 -0
  1444. package/cli/node_modules/lodash/zipObjectDeep.js +23 -0
  1445. package/cli/node_modules/lodash/zipWith.js +32 -0
  1446. package/cli/node_modules/markdown-it/LICENSE +22 -0
  1447. package/cli/node_modules/markdown-it/README.md +307 -0
  1448. package/cli/node_modules/markdown-it/bin/markdown-it.js +117 -0
  1449. package/cli/node_modules/markdown-it/dist/markdown-it.js +8356 -0
  1450. package/cli/node_modules/markdown-it/dist/markdown-it.min.js +3 -0
  1451. package/cli/node_modules/markdown-it/index.js +4 -0
  1452. package/cli/node_modules/markdown-it/lib/common/entities.js +6 -0
  1453. package/cli/node_modules/markdown-it/lib/common/html_blocks.js +70 -0
  1454. package/cli/node_modules/markdown-it/lib/common/html_re.js +28 -0
  1455. package/cli/node_modules/markdown-it/lib/common/utils.js +317 -0
  1456. package/cli/node_modules/markdown-it/lib/helpers/index.js +7 -0
  1457. package/cli/node_modules/markdown-it/lib/helpers/parse_link_destination.js +82 -0
  1458. package/cli/node_modules/markdown-it/lib/helpers/parse_link_label.js +48 -0
  1459. package/cli/node_modules/markdown-it/lib/helpers/parse_link_title.js +55 -0
  1460. package/cli/node_modules/markdown-it/lib/index.js +582 -0
  1461. package/cli/node_modules/markdown-it/lib/parser_block.js +122 -0
  1462. package/cli/node_modules/markdown-it/lib/parser_core.js +58 -0
  1463. package/cli/node_modules/markdown-it/lib/parser_inline.js +177 -0
  1464. package/cli/node_modules/markdown-it/lib/presets/commonmark.js +80 -0
  1465. package/cli/node_modules/markdown-it/lib/presets/default.js +41 -0
  1466. package/cli/node_modules/markdown-it/lib/presets/zero.js +62 -0
  1467. package/cli/node_modules/markdown-it/lib/renderer.js +341 -0
  1468. package/cli/node_modules/markdown-it/lib/ruler.js +352 -0
  1469. package/cli/node_modules/markdown-it/lib/rules_block/blockquote.js +284 -0
  1470. package/cli/node_modules/markdown-it/lib/rules_block/code.js +34 -0
  1471. package/cli/node_modules/markdown-it/lib/rules_block/fence.js +98 -0
  1472. package/cli/node_modules/markdown-it/lib/rules_block/heading.js +55 -0
  1473. package/cli/node_modules/markdown-it/lib/rules_block/hr.js +45 -0
  1474. package/cli/node_modules/markdown-it/lib/rules_block/html_block.js +74 -0
  1475. package/cli/node_modules/markdown-it/lib/rules_block/lheading.js +83 -0
  1476. package/cli/node_modules/markdown-it/lib/rules_block/list.js +364 -0
  1477. package/cli/node_modules/markdown-it/lib/rules_block/paragraph.js +52 -0
  1478. package/cli/node_modules/markdown-it/lib/rules_block/reference.js +198 -0
  1479. package/cli/node_modules/markdown-it/lib/rules_block/state_block.js +231 -0
  1480. package/cli/node_modules/markdown-it/lib/rules_block/table.js +221 -0
  1481. package/cli/node_modules/markdown-it/lib/rules_core/block.js +16 -0
  1482. package/cli/node_modules/markdown-it/lib/rules_core/inline.js +13 -0
  1483. package/cli/node_modules/markdown-it/lib/rules_core/linkify.js +133 -0
  1484. package/cli/node_modules/markdown-it/lib/rules_core/normalize.js +21 -0
  1485. package/cli/node_modules/markdown-it/lib/rules_core/replacements.js +107 -0
  1486. package/cli/node_modules/markdown-it/lib/rules_core/smartquotes.js +201 -0
  1487. package/cli/node_modules/markdown-it/lib/rules_core/state_core.js +20 -0
  1488. package/cli/node_modules/markdown-it/lib/rules_inline/autolink.js +76 -0
  1489. package/cli/node_modules/markdown-it/lib/rules_inline/backticks.js +63 -0
  1490. package/cli/node_modules/markdown-it/lib/rules_inline/balance_pairs.js +130 -0
  1491. package/cli/node_modules/markdown-it/lib/rules_inline/emphasis.js +130 -0
  1492. package/cli/node_modules/markdown-it/lib/rules_inline/entity.js +48 -0
  1493. package/cli/node_modules/markdown-it/lib/rules_inline/escape.js +52 -0
  1494. package/cli/node_modules/markdown-it/lib/rules_inline/html_inline.js +47 -0
  1495. package/cli/node_modules/markdown-it/lib/rules_inline/image.js +152 -0
  1496. package/cli/node_modules/markdown-it/lib/rules_inline/link.js +148 -0
  1497. package/cli/node_modules/markdown-it/lib/rules_inline/newline.js +46 -0
  1498. package/cli/node_modules/markdown-it/lib/rules_inline/state_inline.js +154 -0
  1499. package/cli/node_modules/markdown-it/lib/rules_inline/strikethrough.js +130 -0
  1500. package/cli/node_modules/markdown-it/lib/rules_inline/text.js +89 -0
  1501. package/cli/node_modules/markdown-it/lib/rules_inline/text_collapse.js +41 -0
  1502. package/cli/node_modules/markdown-it/lib/token.js +201 -0
  1503. package/cli/node_modules/markdown-it/package.json +87 -0
  1504. package/cli/node_modules/markdown-it-anchor/README.md +561 -0
  1505. package/cli/node_modules/markdown-it-anchor/UNLICENSE +24 -0
  1506. package/cli/node_modules/markdown-it-anchor/dist/markdownItAnchor.js +2 -0
  1507. package/cli/node_modules/markdown-it-anchor/dist/markdownItAnchor.js.map +1 -0
  1508. package/cli/node_modules/markdown-it-anchor/dist/markdownItAnchor.mjs +2 -0
  1509. package/cli/node_modules/markdown-it-anchor/dist/markdownItAnchor.mjs.map +1 -0
  1510. package/cli/node_modules/markdown-it-anchor/dist/markdownItAnchor.modern.js +2 -0
  1511. package/cli/node_modules/markdown-it-anchor/dist/markdownItAnchor.modern.js.map +1 -0
  1512. package/cli/node_modules/markdown-it-anchor/dist/markdownItAnchor.umd.js +2 -0
  1513. package/cli/node_modules/markdown-it-anchor/dist/markdownItAnchor.umd.js.map +1 -0
  1514. package/cli/node_modules/markdown-it-anchor/package.json +53 -0
  1515. package/cli/node_modules/markdown-it-anchor/runkit.js +22 -0
  1516. package/cli/node_modules/markdown-it-anchor/types/index.d.ts +71 -0
  1517. package/cli/node_modules/marked/LICENSE.md +44 -0
  1518. package/cli/node_modules/marked/README.md +98 -0
  1519. package/cli/node_modules/marked/bin/marked.js +217 -0
  1520. package/cli/node_modules/marked/lib/marked.cjs +3056 -0
  1521. package/cli/node_modules/marked/lib/marked.esm.js +2796 -0
  1522. package/cli/node_modules/marked/lib/marked.umd.js +3062 -0
  1523. package/cli/node_modules/marked/man/marked.1 +92 -0
  1524. package/cli/node_modules/marked/man/marked.1.txt +86 -0
  1525. package/cli/node_modules/marked/marked.min.js +6 -0
  1526. package/cli/node_modules/marked/package.json +97 -0
  1527. package/cli/node_modules/marked/src/Lexer.js +502 -0
  1528. package/cli/node_modules/marked/src/Parser.js +286 -0
  1529. package/cli/node_modules/marked/src/Renderer.js +203 -0
  1530. package/cli/node_modules/marked/src/Slugger.js +55 -0
  1531. package/cli/node_modules/marked/src/TextRenderer.js +42 -0
  1532. package/cli/node_modules/marked/src/Tokenizer.js +785 -0
  1533. package/cli/node_modules/marked/src/defaults.js +29 -0
  1534. package/cli/node_modules/marked/src/helpers.js +276 -0
  1535. package/cli/node_modules/marked/src/marked.js +351 -0
  1536. package/cli/node_modules/marked/src/rules.js +302 -0
  1537. package/cli/node_modules/mdurl/CHANGELOG.md +16 -0
  1538. package/cli/node_modules/mdurl/LICENSE +45 -0
  1539. package/cli/node_modules/mdurl/README.md +102 -0
  1540. package/cli/node_modules/mdurl/decode.js +122 -0
  1541. package/cli/node_modules/mdurl/encode.js +98 -0
  1542. package/cli/node_modules/mdurl/format.js +25 -0
  1543. package/cli/node_modules/mdurl/index.js +7 -0
  1544. package/cli/node_modules/mdurl/package.json +16 -0
  1545. package/cli/node_modules/mdurl/parse.js +312 -0
  1546. package/cli/node_modules/minimatch/LICENSE +15 -0
  1547. package/cli/node_modules/minimatch/README.md +230 -0
  1548. package/cli/node_modules/minimatch/minimatch.js +947 -0
  1549. package/cli/node_modules/minimatch/package.json +33 -0
  1550. package/cli/node_modules/mkdirp/CHANGELOG.md +15 -0
  1551. package/cli/node_modules/mkdirp/LICENSE +21 -0
  1552. package/cli/node_modules/mkdirp/bin/cmd.js +68 -0
  1553. package/cli/node_modules/mkdirp/index.js +31 -0
  1554. package/cli/node_modules/mkdirp/lib/find-made.js +29 -0
  1555. package/cli/node_modules/mkdirp/lib/mkdirp-manual.js +64 -0
  1556. package/cli/node_modules/mkdirp/lib/mkdirp-native.js +39 -0
  1557. package/cli/node_modules/mkdirp/lib/opts-arg.js +23 -0
  1558. package/cli/node_modules/mkdirp/lib/path-arg.js +29 -0
  1559. package/cli/node_modules/mkdirp/lib/use-native.js +10 -0
  1560. package/cli/node_modules/mkdirp/package.json +44 -0
  1561. package/cli/node_modules/mkdirp/readme.markdown +266 -0
  1562. package/cli/node_modules/once/LICENSE +15 -0
  1563. package/cli/node_modules/once/README.md +79 -0
  1564. package/cli/node_modules/once/once.js +42 -0
  1565. package/cli/node_modules/once/package.json +33 -0
  1566. package/cli/node_modules/path-is-absolute/index.js +20 -0
  1567. package/cli/node_modules/path-is-absolute/license +21 -0
  1568. package/cli/node_modules/path-is-absolute/package.json +43 -0
  1569. package/cli/node_modules/path-is-absolute/readme.md +59 -0
  1570. package/cli/node_modules/requizzle/.editorconfig +12 -0
  1571. package/cli/node_modules/requizzle/.travis.yml +8 -0
  1572. package/cli/node_modules/requizzle/LICENSE +22 -0
  1573. package/cli/node_modules/requizzle/README.md +171 -0
  1574. package/cli/node_modules/requizzle/index.js +28 -0
  1575. package/cli/node_modules/requizzle/lib/loader.js +165 -0
  1576. package/cli/node_modules/requizzle/lib/requizzle.js +93 -0
  1577. package/cli/node_modules/requizzle/lib/wrappers/extras.js +21 -0
  1578. package/cli/node_modules/requizzle/lib/wrappers/requirepaths.js +46 -0
  1579. package/cli/node_modules/requizzle/lib/wrappers/strict.js +13 -0
  1580. package/cli/node_modules/requizzle/package.json +36 -0
  1581. package/cli/node_modules/rimraf/CHANGELOG.md +65 -0
  1582. package/cli/node_modules/rimraf/LICENSE +15 -0
  1583. package/cli/node_modules/rimraf/README.md +101 -0
  1584. package/cli/node_modules/rimraf/bin.js +68 -0
  1585. package/cli/node_modules/rimraf/package.json +32 -0
  1586. package/cli/node_modules/rimraf/rimraf.js +360 -0
  1587. package/cli/node_modules/source-map/CHANGELOG.md +301 -0
  1588. package/cli/node_modules/source-map/LICENSE +28 -0
  1589. package/cli/node_modules/source-map/README.md +742 -0
  1590. package/cli/node_modules/source-map/dist/source-map.debug.js +3234 -0
  1591. package/cli/node_modules/source-map/dist/source-map.js +3233 -0
  1592. package/cli/node_modules/source-map/dist/source-map.min.js +2 -0
  1593. package/cli/node_modules/source-map/dist/source-map.min.js.map +1 -0
  1594. package/cli/node_modules/source-map/lib/array-set.js +121 -0
  1595. package/cli/node_modules/source-map/lib/base64-vlq.js +140 -0
  1596. package/cli/node_modules/source-map/lib/base64.js +67 -0
  1597. package/cli/node_modules/source-map/lib/binary-search.js +111 -0
  1598. package/cli/node_modules/source-map/lib/mapping-list.js +79 -0
  1599. package/cli/node_modules/source-map/lib/quick-sort.js +114 -0
  1600. package/cli/node_modules/source-map/lib/source-map-consumer.js +1145 -0
  1601. package/cli/node_modules/source-map/lib/source-map-generator.js +425 -0
  1602. package/cli/node_modules/source-map/lib/source-node.js +413 -0
  1603. package/cli/node_modules/source-map/lib/util.js +488 -0
  1604. package/cli/node_modules/source-map/package.json +73 -0
  1605. package/cli/node_modules/source-map/source-map.d.ts +98 -0
  1606. package/cli/node_modules/source-map/source-map.js +8 -0
  1607. package/cli/node_modules/strip-json-comments/index.d.ts +36 -0
  1608. package/cli/node_modules/strip-json-comments/index.js +77 -0
  1609. package/cli/node_modules/strip-json-comments/license +9 -0
  1610. package/cli/node_modules/strip-json-comments/package.json +47 -0
  1611. package/cli/node_modules/strip-json-comments/readme.md +78 -0
  1612. package/cli/node_modules/taffydb/package.json +47 -0
  1613. package/cli/node_modules/taffydb/taffy-test.html +84 -0
  1614. package/cli/node_modules/taffydb/taffy.js +1973 -0
  1615. package/cli/node_modules/tmp/CHANGELOG.md +288 -0
  1616. package/cli/node_modules/tmp/LICENSE +21 -0
  1617. package/cli/node_modules/tmp/README.md +365 -0
  1618. package/cli/node_modules/tmp/lib/tmp.js +780 -0
  1619. package/cli/node_modules/tmp/package.json +58 -0
  1620. package/cli/node_modules/uc.micro/CHANGELOG.md +52 -0
  1621. package/cli/node_modules/uc.micro/LICENSE.txt +20 -0
  1622. package/cli/node_modules/uc.micro/README.md +14 -0
  1623. package/cli/node_modules/uc.micro/categories/Cc/regex.js +1 -0
  1624. package/cli/node_modules/uc.micro/categories/Cf/regex.js +1 -0
  1625. package/cli/node_modules/uc.micro/categories/P/regex.js +1 -0
  1626. package/cli/node_modules/uc.micro/categories/Z/regex.js +1 -0
  1627. package/cli/node_modules/uc.micro/index.js +7 -0
  1628. package/cli/node_modules/uc.micro/package.json +21 -0
  1629. package/cli/node_modules/uc.micro/properties/Any/regex.js +1 -0
  1630. package/cli/node_modules/underscore/LICENSE +22 -0
  1631. package/cli/node_modules/underscore/README.md +34 -0
  1632. package/cli/node_modules/underscore/amd/_baseCreate.js +21 -0
  1633. package/cli/node_modules/underscore/amd/_baseIteratee.js +15 -0
  1634. package/cli/node_modules/underscore/amd/_cb.js +12 -0
  1635. package/cli/node_modules/underscore/amd/_chainResult.js +10 -0
  1636. package/cli/node_modules/underscore/amd/_collectNonEnumProps.js +42 -0
  1637. package/cli/node_modules/underscore/amd/_createAssigner.js +24 -0
  1638. package/cli/node_modules/underscore/amd/_createEscaper.js +21 -0
  1639. package/cli/node_modules/underscore/amd/_createIndexFinder.js +30 -0
  1640. package/cli/node_modules/underscore/amd/_createPredicateIndexFinder.js +18 -0
  1641. package/cli/node_modules/underscore/amd/_createReduce.js +30 -0
  1642. package/cli/node_modules/underscore/amd/_createSizePropertyCheck.js +13 -0
  1643. package/cli/node_modules/underscore/amd/_deepGet.js +15 -0
  1644. package/cli/node_modules/underscore/amd/_escapeMap.js +15 -0
  1645. package/cli/node_modules/underscore/amd/_executeBound.js +16 -0
  1646. package/cli/node_modules/underscore/amd/_flatten.js +32 -0
  1647. package/cli/node_modules/underscore/amd/_getByteLength.js +8 -0
  1648. package/cli/node_modules/underscore/amd/_getLength.js +8 -0
  1649. package/cli/node_modules/underscore/amd/_group.js +18 -0
  1650. package/cli/node_modules/underscore/amd/_has.js +10 -0
  1651. package/cli/node_modules/underscore/amd/_hasObjectTag.js +7 -0
  1652. package/cli/node_modules/underscore/amd/_isArrayLike.js +11 -0
  1653. package/cli/node_modules/underscore/amd/_isBufferLike.js +9 -0
  1654. package/cli/node_modules/underscore/amd/_keyInObj.js +11 -0
  1655. package/cli/node_modules/underscore/amd/_methodFingerprint.js +44 -0
  1656. package/cli/node_modules/underscore/amd/_optimizeCb.js +27 -0
  1657. package/cli/node_modules/underscore/amd/_setup.js +70 -0
  1658. package/cli/node_modules/underscore/amd/_shallowProperty.js +12 -0
  1659. package/cli/node_modules/underscore/amd/_stringTagBug.js +16 -0
  1660. package/cli/node_modules/underscore/amd/_tagTester.js +13 -0
  1661. package/cli/node_modules/underscore/amd/_toBufferView.js +15 -0
  1662. package/cli/node_modules/underscore/amd/_toPath.js +11 -0
  1663. package/cli/node_modules/underscore/amd/_unescapeMap.js +8 -0
  1664. package/cli/node_modules/underscore/amd/after.js +14 -0
  1665. package/cli/node_modules/underscore/amd/allKeys.js +15 -0
  1666. package/cli/node_modules/underscore/amd/before.js +18 -0
  1667. package/cli/node_modules/underscore/amd/bind.js +15 -0
  1668. package/cli/node_modules/underscore/amd/bindAll.js +19 -0
  1669. package/cli/node_modules/underscore/amd/chain.js +12 -0
  1670. package/cli/node_modules/underscore/amd/chunk.js +17 -0
  1671. package/cli/node_modules/underscore/amd/clone.js +11 -0
  1672. package/cli/node_modules/underscore/amd/compact.js +10 -0
  1673. package/cli/node_modules/underscore/amd/compose.js +18 -0
  1674. package/cli/node_modules/underscore/amd/constant.js +12 -0
  1675. package/cli/node_modules/underscore/amd/contains.js +12 -0
  1676. package/cli/node_modules/underscore/amd/countBy.js +12 -0
  1677. package/cli/node_modules/underscore/amd/create.js +14 -0
  1678. package/cli/node_modules/underscore/amd/debounce.js +43 -0
  1679. package/cli/node_modules/underscore/amd/defaults.js +8 -0
  1680. package/cli/node_modules/underscore/amd/defer.js +9 -0
  1681. package/cli/node_modules/underscore/amd/delay.js +13 -0
  1682. package/cli/node_modules/underscore/amd/difference.js +14 -0
  1683. package/cli/node_modules/underscore/amd/each.js +25 -0
  1684. package/cli/node_modules/underscore/amd/escape.js +8 -0
  1685. package/cli/node_modules/underscore/amd/every.js +17 -0
  1686. package/cli/node_modules/underscore/amd/extend.js +8 -0
  1687. package/cli/node_modules/underscore/amd/extendOwn.js +10 -0
  1688. package/cli/node_modules/underscore/amd/filter.js +15 -0
  1689. package/cli/node_modules/underscore/amd/find.js +12 -0
  1690. package/cli/node_modules/underscore/amd/findIndex.js +8 -0
  1691. package/cli/node_modules/underscore/amd/findKey.js +15 -0
  1692. package/cli/node_modules/underscore/amd/findLastIndex.js +8 -0
  1693. package/cli/node_modules/underscore/amd/findWhere.js +11 -0
  1694. package/cli/node_modules/underscore/amd/first.js +13 -0
  1695. package/cli/node_modules/underscore/amd/flatten.js +11 -0
  1696. package/cli/node_modules/underscore/amd/functions.js +14 -0
  1697. package/cli/node_modules/underscore/amd/get.js +14 -0
  1698. package/cli/node_modules/underscore/amd/groupBy.js +11 -0
  1699. package/cli/node_modules/underscore/amd/has.js +19 -0
  1700. package/cli/node_modules/underscore/amd/identity.js +10 -0
  1701. package/cli/node_modules/underscore/amd/index-default.js +12 -0
  1702. package/cli/node_modules/underscore/amd/index.js +154 -0
  1703. package/cli/node_modules/underscore/amd/indexBy.js +11 -0
  1704. package/cli/node_modules/underscore/amd/indexOf.js +11 -0
  1705. package/cli/node_modules/underscore/amd/initial.js +12 -0
  1706. package/cli/node_modules/underscore/amd/intersection.js +22 -0
  1707. package/cli/node_modules/underscore/amd/invert.js +15 -0
  1708. package/cli/node_modules/underscore/amd/invoke.js +28 -0
  1709. package/cli/node_modules/underscore/amd/isArguments.js +19 -0
  1710. package/cli/node_modules/underscore/amd/isArray.js +9 -0
  1711. package/cli/node_modules/underscore/amd/isArrayBuffer.js +7 -0
  1712. package/cli/node_modules/underscore/amd/isBoolean.js +10 -0
  1713. package/cli/node_modules/underscore/amd/isDataView.js +15 -0
  1714. package/cli/node_modules/underscore/amd/isDate.js +7 -0
  1715. package/cli/node_modules/underscore/amd/isElement.js +10 -0
  1716. package/cli/node_modules/underscore/amd/isEmpty.js +18 -0
  1717. package/cli/node_modules/underscore/amd/isEqual.js +133 -0
  1718. package/cli/node_modules/underscore/amd/isError.js +7 -0
  1719. package/cli/node_modules/underscore/amd/isFinite.js +10 -0
  1720. package/cli/node_modules/underscore/amd/isFunction.js +18 -0
  1721. package/cli/node_modules/underscore/amd/isMap.js +7 -0
  1722. package/cli/node_modules/underscore/amd/isMatch.js +17 -0
  1723. package/cli/node_modules/underscore/amd/isNaN.js +10 -0
  1724. package/cli/node_modules/underscore/amd/isNull.js +10 -0
  1725. package/cli/node_modules/underscore/amd/isNumber.js +7 -0
  1726. package/cli/node_modules/underscore/amd/isObject.js +11 -0
  1727. package/cli/node_modules/underscore/amd/isRegExp.js +7 -0
  1728. package/cli/node_modules/underscore/amd/isSet.js +7 -0
  1729. package/cli/node_modules/underscore/amd/isString.js +7 -0
  1730. package/cli/node_modules/underscore/amd/isSymbol.js +7 -0
  1731. package/cli/node_modules/underscore/amd/isTypedArray.js +16 -0
  1732. package/cli/node_modules/underscore/amd/isUndefined.js +10 -0
  1733. package/cli/node_modules/underscore/amd/isWeakMap.js +7 -0
  1734. package/cli/node_modules/underscore/amd/isWeakSet.js +7 -0
  1735. package/cli/node_modules/underscore/amd/iteratee.js +13 -0
  1736. package/cli/node_modules/underscore/amd/keys.js +17 -0
  1737. package/cli/node_modules/underscore/amd/last.js +13 -0
  1738. package/cli/node_modules/underscore/amd/lastIndexOf.js +9 -0
  1739. package/cli/node_modules/underscore/amd/map.js +18 -0
  1740. package/cli/node_modules/underscore/amd/mapObject.js +19 -0
  1741. package/cli/node_modules/underscore/amd/matcher.js +14 -0
  1742. package/cli/node_modules/underscore/amd/max.js +30 -0
  1743. package/cli/node_modules/underscore/amd/memoize.js +17 -0
  1744. package/cli/node_modules/underscore/amd/min.js +30 -0
  1745. package/cli/node_modules/underscore/amd/mixin.js +18 -0
  1746. package/cli/node_modules/underscore/amd/negate.js +12 -0
  1747. package/cli/node_modules/underscore/amd/noop.js +8 -0
  1748. package/cli/node_modules/underscore/amd/now.js +10 -0
  1749. package/cli/node_modules/underscore/amd/object.js +20 -0
  1750. package/cli/node_modules/underscore/amd/omit.js +20 -0
  1751. package/cli/node_modules/underscore/amd/once.js +9 -0
  1752. package/cli/node_modules/underscore/amd/pairs.js +17 -0
  1753. package/cli/node_modules/underscore/amd/partial.js +25 -0
  1754. package/cli/node_modules/underscore/amd/partition.js +11 -0
  1755. package/cli/node_modules/underscore/amd/pick.js +25 -0
  1756. package/cli/node_modules/underscore/amd/pluck.js +10 -0
  1757. package/cli/node_modules/underscore/amd/property.js +14 -0
  1758. package/cli/node_modules/underscore/amd/propertyOf.js +13 -0
  1759. package/cli/node_modules/underscore/amd/random.js +14 -0
  1760. package/cli/node_modules/underscore/amd/range.js +27 -0
  1761. package/cli/node_modules/underscore/amd/reduce.js +9 -0
  1762. package/cli/node_modules/underscore/amd/reduceRight.js +8 -0
  1763. package/cli/node_modules/underscore/amd/reject.js +10 -0
  1764. package/cli/node_modules/underscore/amd/rest.js +12 -0
  1765. package/cli/node_modules/underscore/amd/restArguments.js +33 -0
  1766. package/cli/node_modules/underscore/amd/result.js +25 -0
  1767. package/cli/node_modules/underscore/amd/sample.js +27 -0
  1768. package/cli/node_modules/underscore/amd/shuffle.js +10 -0
  1769. package/cli/node_modules/underscore/amd/size.js +11 -0
  1770. package/cli/node_modules/underscore/amd/some.js +17 -0
  1771. package/cli/node_modules/underscore/amd/sortBy.js +26 -0
  1772. package/cli/node_modules/underscore/amd/sortedIndex.js +18 -0
  1773. package/cli/node_modules/underscore/amd/tap.js +13 -0
  1774. package/cli/node_modules/underscore/amd/template.js +103 -0
  1775. package/cli/node_modules/underscore/amd/templateSettings.js +13 -0
  1776. package/cli/node_modules/underscore/amd/throttle.js +51 -0
  1777. package/cli/node_modules/underscore/amd/times.js +13 -0
  1778. package/cli/node_modules/underscore/amd/toArray.js +18 -0
  1779. package/cli/node_modules/underscore/amd/toPath.js +12 -0
  1780. package/cli/node_modules/underscore/amd/underscore-array-methods.js +30 -0
  1781. package/cli/node_modules/underscore/amd/underscore.js +29 -0
  1782. package/cli/node_modules/underscore/amd/unescape.js +8 -0
  1783. package/cli/node_modules/underscore/amd/union.js +11 -0
  1784. package/cli/node_modules/underscore/amd/uniq.js +37 -0
  1785. package/cli/node_modules/underscore/amd/uniqueId.js +13 -0
  1786. package/cli/node_modules/underscore/amd/unzip.js +17 -0
  1787. package/cli/node_modules/underscore/amd/values.js +16 -0
  1788. package/cli/node_modules/underscore/amd/where.js +11 -0
  1789. package/cli/node_modules/underscore/amd/without.js +10 -0
  1790. package/cli/node_modules/underscore/amd/wrap.js +12 -0
  1791. package/cli/node_modules/underscore/amd/zip.js +9 -0
  1792. package/cli/node_modules/underscore/cjs/_baseCreate.js +20 -0
  1793. package/cli/node_modules/underscore/cjs/_baseIteratee.js +19 -0
  1794. package/cli/node_modules/underscore/cjs/_cb.js +12 -0
  1795. package/cli/node_modules/underscore/cjs/_chainResult.js +8 -0
  1796. package/cli/node_modules/underscore/cjs/_collectNonEnumProps.js +42 -0
  1797. package/cli/node_modules/underscore/cjs/_createAssigner.js +20 -0
  1798. package/cli/node_modules/underscore/cjs/_createEscaper.js +19 -0
  1799. package/cli/node_modules/underscore/cjs/_createIndexFinder.js +30 -0
  1800. package/cli/node_modules/underscore/cjs/_createPredicateIndexFinder.js +17 -0
  1801. package/cli/node_modules/underscore/cjs/_createReduce.js +30 -0
  1802. package/cli/node_modules/underscore/cjs/_createSizePropertyCheck.js +11 -0
  1803. package/cli/node_modules/underscore/cjs/_deepGet.js +11 -0
  1804. package/cli/node_modules/underscore/cjs/_escapeMap.js +11 -0
  1805. package/cli/node_modules/underscore/cjs/_executeBound.js +15 -0
  1806. package/cli/node_modules/underscore/cjs/_flatten.js +33 -0
  1807. package/cli/node_modules/underscore/cjs/_getByteLength.js +6 -0
  1808. package/cli/node_modules/underscore/cjs/_getLength.js +6 -0
  1809. package/cli/node_modules/underscore/cjs/_group.js +17 -0
  1810. package/cli/node_modules/underscore/cjs/_has.js +8 -0
  1811. package/cli/node_modules/underscore/cjs/_hasObjectTag.js +5 -0
  1812. package/cli/node_modules/underscore/cjs/_isArrayLike.js +10 -0
  1813. package/cli/node_modules/underscore/cjs/_isBufferLike.js +8 -0
  1814. package/cli/node_modules/underscore/cjs/_keyInObj.js +7 -0
  1815. package/cli/node_modules/underscore/cjs/_methodFingerprint.js +44 -0
  1816. package/cli/node_modules/underscore/cjs/_optimizeCb.js +23 -0
  1817. package/cli/node_modules/underscore/cjs/_setup.js +66 -0
  1818. package/cli/node_modules/underscore/cjs/_shallowProperty.js +8 -0
  1819. package/cli/node_modules/underscore/cjs/_stringTagBug.js +15 -0
  1820. package/cli/node_modules/underscore/cjs/_tagTester.js +11 -0
  1821. package/cli/node_modules/underscore/cjs/_toBufferView.js +13 -0
  1822. package/cli/node_modules/underscore/cjs/_toPath.js +10 -0
  1823. package/cli/node_modules/underscore/cjs/_unescapeMap.js +7 -0
  1824. package/cli/node_modules/underscore/cjs/after.js +10 -0
  1825. package/cli/node_modules/underscore/cjs/allKeys.js +15 -0
  1826. package/cli/node_modules/underscore/cjs/before.js +14 -0
  1827. package/cli/node_modules/underscore/cjs/bind.js +15 -0
  1828. package/cli/node_modules/underscore/cjs/bindAll.js +19 -0
  1829. package/cli/node_modules/underscore/cjs/chain.js +10 -0
  1830. package/cli/node_modules/underscore/cjs/chunk.js +15 -0
  1831. package/cli/node_modules/underscore/cjs/clone.js +11 -0
  1832. package/cli/node_modules/underscore/cjs/compact.js +8 -0
  1833. package/cli/node_modules/underscore/cjs/compose.js +14 -0
  1834. package/cli/node_modules/underscore/cjs/constant.js +8 -0
  1835. package/cli/node_modules/underscore/cjs/contains.js +12 -0
  1836. package/cli/node_modules/underscore/cjs/countBy.js +11 -0
  1837. package/cli/node_modules/underscore/cjs/create.js +13 -0
  1838. package/cli/node_modules/underscore/cjs/debounce.js +42 -0
  1839. package/cli/node_modules/underscore/cjs/defaults.js +7 -0
  1840. package/cli/node_modules/underscore/cjs/defer.js +9 -0
  1841. package/cli/node_modules/underscore/cjs/delay.js +11 -0
  1842. package/cli/node_modules/underscore/cjs/difference.js +15 -0
  1843. package/cli/node_modules/underscore/cjs/each.js +25 -0
  1844. package/cli/node_modules/underscore/cjs/escape.js +7 -0
  1845. package/cli/node_modules/underscore/cjs/every.js +17 -0
  1846. package/cli/node_modules/underscore/cjs/extend.js +7 -0
  1847. package/cli/node_modules/underscore/cjs/extendOwn.js +9 -0
  1848. package/cli/node_modules/underscore/cjs/filter.js +14 -0
  1849. package/cli/node_modules/underscore/cjs/find.js +12 -0
  1850. package/cli/node_modules/underscore/cjs/findIndex.js +6 -0
  1851. package/cli/node_modules/underscore/cjs/findKey.js +14 -0
  1852. package/cli/node_modules/underscore/cjs/findLastIndex.js +6 -0
  1853. package/cli/node_modules/underscore/cjs/findWhere.js +10 -0
  1854. package/cli/node_modules/underscore/cjs/first.js +11 -0
  1855. package/cli/node_modules/underscore/cjs/flatten.js +9 -0
  1856. package/cli/node_modules/underscore/cjs/functions.js +12 -0
  1857. package/cli/node_modules/underscore/cjs/get.js +14 -0
  1858. package/cli/node_modules/underscore/cjs/groupBy.js +10 -0
  1859. package/cli/node_modules/underscore/cjs/has.js +18 -0
  1860. package/cli/node_modules/underscore/cjs/identity.js +6 -0
  1861. package/cli/node_modules/underscore/cjs/index-default.js +11 -0
  1862. package/cli/node_modules/underscore/cjs/index.js +278 -0
  1863. package/cli/node_modules/underscore/cjs/indexBy.js +9 -0
  1864. package/cli/node_modules/underscore/cjs/indexOf.js +11 -0
  1865. package/cli/node_modules/underscore/cjs/initial.js +10 -0
  1866. package/cli/node_modules/underscore/cjs/intersection.js +21 -0
  1867. package/cli/node_modules/underscore/cjs/invert.js +13 -0
  1868. package/cli/node_modules/underscore/cjs/invoke.js +30 -0
  1869. package/cli/node_modules/underscore/cjs/isArguments.js +18 -0
  1870. package/cli/node_modules/underscore/cjs/isArray.js +8 -0
  1871. package/cli/node_modules/underscore/cjs/isArrayBuffer.js +5 -0
  1872. package/cli/node_modules/underscore/cjs/isBoolean.js +8 -0
  1873. package/cli/node_modules/underscore/cjs/isDataView.js +16 -0
  1874. package/cli/node_modules/underscore/cjs/isDate.js +5 -0
  1875. package/cli/node_modules/underscore/cjs/isElement.js +6 -0
  1876. package/cli/node_modules/underscore/cjs/isEmpty.js +20 -0
  1877. package/cli/node_modules/underscore/cjs/isEqual.js +140 -0
  1878. package/cli/node_modules/underscore/cjs/isError.js +5 -0
  1879. package/cli/node_modules/underscore/cjs/isFinite.js +9 -0
  1880. package/cli/node_modules/underscore/cjs/isFunction.js +17 -0
  1881. package/cli/node_modules/underscore/cjs/isMap.js +7 -0
  1882. package/cli/node_modules/underscore/cjs/isMatch.js +15 -0
  1883. package/cli/node_modules/underscore/cjs/isNaN.js +9 -0
  1884. package/cli/node_modules/underscore/cjs/isNull.js +6 -0
  1885. package/cli/node_modules/underscore/cjs/isNumber.js +5 -0
  1886. package/cli/node_modules/underscore/cjs/isObject.js +7 -0
  1887. package/cli/node_modules/underscore/cjs/isRegExp.js +5 -0
  1888. package/cli/node_modules/underscore/cjs/isSet.js +7 -0
  1889. package/cli/node_modules/underscore/cjs/isString.js +5 -0
  1890. package/cli/node_modules/underscore/cjs/isSymbol.js +5 -0
  1891. package/cli/node_modules/underscore/cjs/isTypedArray.js +17 -0
  1892. package/cli/node_modules/underscore/cjs/isUndefined.js +6 -0
  1893. package/cli/node_modules/underscore/cjs/isWeakMap.js +7 -0
  1894. package/cli/node_modules/underscore/cjs/isWeakSet.js +5 -0
  1895. package/cli/node_modules/underscore/cjs/iteratee.js +12 -0
  1896. package/cli/node_modules/underscore/cjs/keys.js +18 -0
  1897. package/cli/node_modules/underscore/cjs/last.js +11 -0
  1898. package/cli/node_modules/underscore/cjs/lastIndexOf.js +8 -0
  1899. package/cli/node_modules/underscore/cjs/map.js +18 -0
  1900. package/cli/node_modules/underscore/cjs/mapObject.js +18 -0
  1901. package/cli/node_modules/underscore/cjs/matcher.js +13 -0
  1902. package/cli/node_modules/underscore/cjs/max.js +31 -0
  1903. package/cli/node_modules/underscore/cjs/memoize.js +15 -0
  1904. package/cli/node_modules/underscore/cjs/min.js +31 -0
  1905. package/cli/node_modules/underscore/cjs/mixin.js +20 -0
  1906. package/cli/node_modules/underscore/cjs/negate.js +8 -0
  1907. package/cli/node_modules/underscore/cjs/noop.js +4 -0
  1908. package/cli/node_modules/underscore/cjs/now.js +6 -0
  1909. package/cli/node_modules/underscore/cjs/object.js +18 -0
  1910. package/cli/node_modules/underscore/cjs/omit.js +24 -0
  1911. package/cli/node_modules/underscore/cjs/once.js +8 -0
  1912. package/cli/node_modules/underscore/cjs/pairs.js +15 -0
  1913. package/cli/node_modules/underscore/cjs/partial.js +25 -0
  1914. package/cli/node_modules/underscore/cjs/partition.js +9 -0
  1915. package/cli/node_modules/underscore/cjs/pick.js +28 -0
  1916. package/cli/node_modules/underscore/cjs/pluck.js +9 -0
  1917. package/cli/node_modules/underscore/cjs/property.js +13 -0
  1918. package/cli/node_modules/underscore/cjs/propertyOf.js +12 -0
  1919. package/cli/node_modules/underscore/cjs/random.js +10 -0
  1920. package/cli/node_modules/underscore/cjs/range.js +23 -0
  1921. package/cli/node_modules/underscore/cjs/reduce.js +7 -0
  1922. package/cli/node_modules/underscore/cjs/reduceRight.js +6 -0
  1923. package/cli/node_modules/underscore/cjs/reject.js +10 -0
  1924. package/cli/node_modules/underscore/cjs/rest.js +10 -0
  1925. package/cli/node_modules/underscore/cjs/restArguments.js +29 -0
  1926. package/cli/node_modules/underscore/cjs/result.js +24 -0
  1927. package/cli/node_modules/underscore/cjs/sample.js +29 -0
  1928. package/cli/node_modules/underscore/cjs/shuffle.js +8 -0
  1929. package/cli/node_modules/underscore/cjs/size.js +10 -0
  1930. package/cli/node_modules/underscore/cjs/some.js +17 -0
  1931. package/cli/node_modules/underscore/cjs/sortBy.js +26 -0
  1932. package/cli/node_modules/underscore/cjs/sortedIndex.js +17 -0
  1933. package/cli/node_modules/underscore/cjs/tap.js +9 -0
  1934. package/cli/node_modules/underscore/cjs/template.js +103 -0
  1935. package/cli/node_modules/underscore/cjs/templateSettings.js +11 -0
  1936. package/cli/node_modules/underscore/cjs/throttle.js +49 -0
  1937. package/cli/node_modules/underscore/cjs/times.js +11 -0
  1938. package/cli/node_modules/underscore/cjs/toArray.js +22 -0
  1939. package/cli/node_modules/underscore/cjs/toPath.js +11 -0
  1940. package/cli/node_modules/underscore/cjs/underscore-array-methods.js +31 -0
  1941. package/cli/node_modules/underscore/cjs/underscore.js +27 -0
  1942. package/cli/node_modules/underscore/cjs/unescape.js +7 -0
  1943. package/cli/node_modules/underscore/cjs/union.js +11 -0
  1944. package/cli/node_modules/underscore/cjs/uniq.js +38 -0
  1945. package/cli/node_modules/underscore/cjs/uniqueId.js +9 -0
  1946. package/cli/node_modules/underscore/cjs/unzip.js +17 -0
  1947. package/cli/node_modules/underscore/cjs/values.js +14 -0
  1948. package/cli/node_modules/underscore/cjs/where.js +10 -0
  1949. package/cli/node_modules/underscore/cjs/without.js +9 -0
  1950. package/cli/node_modules/underscore/cjs/wrap.js +10 -0
  1951. package/cli/node_modules/underscore/cjs/zip.js +8 -0
  1952. package/cli/node_modules/underscore/modules/.eslintrc +21 -0
  1953. package/cli/node_modules/underscore/modules/_baseCreate.js +18 -0
  1954. package/cli/node_modules/underscore/modules/_baseIteratee.js +17 -0
  1955. package/cli/node_modules/underscore/modules/_cb.js +10 -0
  1956. package/cli/node_modules/underscore/modules/_chainResult.js +6 -0
  1957. package/cli/node_modules/underscore/modules/_collectNonEnumProps.js +40 -0
  1958. package/cli/node_modules/underscore/modules/_createAssigner.js +18 -0
  1959. package/cli/node_modules/underscore/modules/_createEscaper.js +17 -0
  1960. package/cli/node_modules/underscore/modules/_createIndexFinder.js +28 -0
  1961. package/cli/node_modules/underscore/modules/_createPredicateIndexFinder.js +15 -0
  1962. package/cli/node_modules/underscore/modules/_createReduce.js +28 -0
  1963. package/cli/node_modules/underscore/modules/_createSizePropertyCheck.js +9 -0
  1964. package/cli/node_modules/underscore/modules/_deepGet.js +9 -0
  1965. package/cli/node_modules/underscore/modules/_escapeMap.js +9 -0
  1966. package/cli/node_modules/underscore/modules/_executeBound.js +13 -0
  1967. package/cli/node_modules/underscore/modules/_flatten.js +31 -0
  1968. package/cli/node_modules/underscore/modules/_getByteLength.js +4 -0
  1969. package/cli/node_modules/underscore/modules/_getLength.js +4 -0
  1970. package/cli/node_modules/underscore/modules/_group.js +15 -0
  1971. package/cli/node_modules/underscore/modules/_has.js +6 -0
  1972. package/cli/node_modules/underscore/modules/_hasObjectTag.js +3 -0
  1973. package/cli/node_modules/underscore/modules/_isArrayLike.js +8 -0
  1974. package/cli/node_modules/underscore/modules/_isBufferLike.js +6 -0
  1975. package/cli/node_modules/underscore/modules/_keyInObj.js +5 -0
  1976. package/cli/node_modules/underscore/modules/_methodFingerprint.js +37 -0
  1977. package/cli/node_modules/underscore/modules/_optimizeCb.js +21 -0
  1978. package/cli/node_modules/underscore/modules/_setup.js +43 -0
  1979. package/cli/node_modules/underscore/modules/_shallowProperty.js +6 -0
  1980. package/cli/node_modules/underscore/modules/_stringTagBug.js +10 -0
  1981. package/cli/node_modules/underscore/modules/_tagTester.js +9 -0
  1982. package/cli/node_modules/underscore/modules/_toBufferView.js +11 -0
  1983. package/cli/node_modules/underscore/modules/_toPath.js +8 -0
  1984. package/cli/node_modules/underscore/modules/_unescapeMap.js +5 -0
  1985. package/cli/node_modules/underscore/modules/after.js +8 -0
  1986. package/cli/node_modules/underscore/modules/allKeys.js +13 -0
  1987. package/cli/node_modules/underscore/modules/before.js +12 -0
  1988. package/cli/node_modules/underscore/modules/bind.js +13 -0
  1989. package/cli/node_modules/underscore/modules/bindAll.js +17 -0
  1990. package/cli/node_modules/underscore/modules/chain.js +8 -0
  1991. package/cli/node_modules/underscore/modules/chunk.js +13 -0
  1992. package/cli/node_modules/underscore/modules/clone.js +9 -0
  1993. package/cli/node_modules/underscore/modules/compact.js +6 -0
  1994. package/cli/node_modules/underscore/modules/compose.js +12 -0
  1995. package/cli/node_modules/underscore/modules/constant.js +6 -0
  1996. package/cli/node_modules/underscore/modules/contains.js +10 -0
  1997. package/cli/node_modules/underscore/modules/countBy.js +9 -0
  1998. package/cli/node_modules/underscore/modules/create.js +11 -0
  1999. package/cli/node_modules/underscore/modules/debounce.js +40 -0
  2000. package/cli/node_modules/underscore/modules/defaults.js +5 -0
  2001. package/cli/node_modules/underscore/modules/defer.js +7 -0
  2002. package/cli/node_modules/underscore/modules/delay.js +9 -0
  2003. package/cli/node_modules/underscore/modules/difference.js +13 -0
  2004. package/cli/node_modules/underscore/modules/each.js +23 -0
  2005. package/cli/node_modules/underscore/modules/escape.js +5 -0
  2006. package/cli/node_modules/underscore/modules/every.js +15 -0
  2007. package/cli/node_modules/underscore/modules/extend.js +5 -0
  2008. package/cli/node_modules/underscore/modules/extendOwn.js +7 -0
  2009. package/cli/node_modules/underscore/modules/filter.js +12 -0
  2010. package/cli/node_modules/underscore/modules/find.js +10 -0
  2011. package/cli/node_modules/underscore/modules/findIndex.js +4 -0
  2012. package/cli/node_modules/underscore/modules/findKey.js +12 -0
  2013. package/cli/node_modules/underscore/modules/findLastIndex.js +4 -0
  2014. package/cli/node_modules/underscore/modules/findWhere.js +8 -0
  2015. package/cli/node_modules/underscore/modules/first.js +9 -0
  2016. package/cli/node_modules/underscore/modules/flatten.js +7 -0
  2017. package/cli/node_modules/underscore/modules/functions.js +10 -0
  2018. package/cli/node_modules/underscore/modules/get.js +12 -0
  2019. package/cli/node_modules/underscore/modules/groupBy.js +8 -0
  2020. package/cli/node_modules/underscore/modules/has.js +16 -0
  2021. package/cli/node_modules/underscore/modules/identity.js +4 -0
  2022. package/cli/node_modules/underscore/modules/index-all.js +18 -0
  2023. package/cli/node_modules/underscore/modules/index-default.js +27 -0
  2024. package/cli/node_modules/underscore/modules/index.js +200 -0
  2025. package/cli/node_modules/underscore/modules/indexBy.js +7 -0
  2026. package/cli/node_modules/underscore/modules/indexOf.js +9 -0
  2027. package/cli/node_modules/underscore/modules/initial.js +8 -0
  2028. package/cli/node_modules/underscore/modules/intersection.js +19 -0
  2029. package/cli/node_modules/underscore/modules/invert.js +11 -0
  2030. package/cli/node_modules/underscore/modules/invoke.js +28 -0
  2031. package/cli/node_modules/underscore/modules/isArguments.js +16 -0
  2032. package/cli/node_modules/underscore/modules/isArray.js +6 -0
  2033. package/cli/node_modules/underscore/modules/isArrayBuffer.js +3 -0
  2034. package/cli/node_modules/underscore/modules/isBoolean.js +6 -0
  2035. package/cli/node_modules/underscore/modules/isDataView.js +14 -0
  2036. package/cli/node_modules/underscore/modules/isDate.js +3 -0
  2037. package/cli/node_modules/underscore/modules/isElement.js +4 -0
  2038. package/cli/node_modules/underscore/modules/isEmpty.js +18 -0
  2039. package/cli/node_modules/underscore/modules/isEqual.js +138 -0
  2040. package/cli/node_modules/underscore/modules/isError.js +3 -0
  2041. package/cli/node_modules/underscore/modules/isFinite.js +7 -0
  2042. package/cli/node_modules/underscore/modules/isFunction.js +15 -0
  2043. package/cli/node_modules/underscore/modules/isMap.js +5 -0
  2044. package/cli/node_modules/underscore/modules/isMatch.js +13 -0
  2045. package/cli/node_modules/underscore/modules/isNaN.js +7 -0
  2046. package/cli/node_modules/underscore/modules/isNull.js +4 -0
  2047. package/cli/node_modules/underscore/modules/isNumber.js +3 -0
  2048. package/cli/node_modules/underscore/modules/isObject.js +5 -0
  2049. package/cli/node_modules/underscore/modules/isRegExp.js +3 -0
  2050. package/cli/node_modules/underscore/modules/isSet.js +5 -0
  2051. package/cli/node_modules/underscore/modules/isString.js +3 -0
  2052. package/cli/node_modules/underscore/modules/isSymbol.js +3 -0
  2053. package/cli/node_modules/underscore/modules/isTypedArray.js +15 -0
  2054. package/cli/node_modules/underscore/modules/isUndefined.js +4 -0
  2055. package/cli/node_modules/underscore/modules/isWeakMap.js +5 -0
  2056. package/cli/node_modules/underscore/modules/isWeakSet.js +3 -0
  2057. package/cli/node_modules/underscore/modules/iteratee.js +10 -0
  2058. package/cli/node_modules/underscore/modules/keys.js +16 -0
  2059. package/cli/node_modules/underscore/modules/last.js +9 -0
  2060. package/cli/node_modules/underscore/modules/lastIndexOf.js +6 -0
  2061. package/cli/node_modules/underscore/modules/map.js +16 -0
  2062. package/cli/node_modules/underscore/modules/mapObject.js +16 -0
  2063. package/cli/node_modules/underscore/modules/matcher.js +11 -0
  2064. package/cli/node_modules/underscore/modules/max.js +29 -0
  2065. package/cli/node_modules/underscore/modules/memoize.js +13 -0
  2066. package/cli/node_modules/underscore/modules/min.js +29 -0
  2067. package/cli/node_modules/underscore/modules/mixin.js +18 -0
  2068. package/cli/node_modules/underscore/modules/negate.js +6 -0
  2069. package/cli/node_modules/underscore/modules/noop.js +2 -0
  2070. package/cli/node_modules/underscore/modules/now.js +4 -0
  2071. package/cli/node_modules/underscore/modules/object.js +16 -0
  2072. package/cli/node_modules/underscore/modules/omit.js +22 -0
  2073. package/cli/node_modules/underscore/modules/once.js +6 -0
  2074. package/cli/node_modules/underscore/modules/package.json +1 -0
  2075. package/cli/node_modules/underscore/modules/pairs.js +13 -0
  2076. package/cli/node_modules/underscore/modules/partial.js +24 -0
  2077. package/cli/node_modules/underscore/modules/partition.js +7 -0
  2078. package/cli/node_modules/underscore/modules/pick.js +26 -0
  2079. package/cli/node_modules/underscore/modules/pluck.js +7 -0
  2080. package/cli/node_modules/underscore/modules/property.js +11 -0
  2081. package/cli/node_modules/underscore/modules/propertyOf.js +10 -0
  2082. package/cli/node_modules/underscore/modules/random.js +8 -0
  2083. package/cli/node_modules/underscore/modules/range.js +21 -0
  2084. package/cli/node_modules/underscore/modules/reduce.js +5 -0
  2085. package/cli/node_modules/underscore/modules/reduceRight.js +4 -0
  2086. package/cli/node_modules/underscore/modules/reject.js +8 -0
  2087. package/cli/node_modules/underscore/modules/rest.js +8 -0
  2088. package/cli/node_modules/underscore/modules/restArguments.js +27 -0
  2089. package/cli/node_modules/underscore/modules/result.js +22 -0
  2090. package/cli/node_modules/underscore/modules/sample.js +27 -0
  2091. package/cli/node_modules/underscore/modules/shuffle.js +6 -0
  2092. package/cli/node_modules/underscore/modules/size.js +8 -0
  2093. package/cli/node_modules/underscore/modules/some.js +15 -0
  2094. package/cli/node_modules/underscore/modules/sortBy.js +24 -0
  2095. package/cli/node_modules/underscore/modules/sortedIndex.js +15 -0
  2096. package/cli/node_modules/underscore/modules/tap.js +7 -0
  2097. package/cli/node_modules/underscore/modules/template.js +101 -0
  2098. package/cli/node_modules/underscore/modules/templateSettings.js +9 -0
  2099. package/cli/node_modules/underscore/modules/throttle.js +47 -0
  2100. package/cli/node_modules/underscore/modules/times.js +9 -0
  2101. package/cli/node_modules/underscore/modules/toArray.js +20 -0
  2102. package/cli/node_modules/underscore/modules/toPath.js +9 -0
  2103. package/cli/node_modules/underscore/modules/underscore-array-methods.js +31 -0
  2104. package/cli/node_modules/underscore/modules/underscore.js +25 -0
  2105. package/cli/node_modules/underscore/modules/unescape.js +5 -0
  2106. package/cli/node_modules/underscore/modules/union.js +9 -0
  2107. package/cli/node_modules/underscore/modules/uniq.js +36 -0
  2108. package/cli/node_modules/underscore/modules/uniqueId.js +7 -0
  2109. package/cli/node_modules/underscore/modules/unzip.js +15 -0
  2110. package/cli/node_modules/underscore/modules/values.js +12 -0
  2111. package/cli/node_modules/underscore/modules/where.js +8 -0
  2112. package/cli/node_modules/underscore/modules/without.js +7 -0
  2113. package/cli/node_modules/underscore/modules/wrap.js +8 -0
  2114. package/cli/node_modules/underscore/modules/zip.js +6 -0
  2115. package/cli/node_modules/underscore/package.json +122 -0
  2116. package/cli/node_modules/underscore/underscore-esm-min.js +5 -0
  2117. package/cli/node_modules/underscore/underscore-esm-min.js.map +1 -0
  2118. package/cli/node_modules/underscore/underscore-esm.js +2034 -0
  2119. package/cli/node_modules/underscore/underscore-esm.js.map +1 -0
  2120. package/cli/node_modules/underscore/underscore-min.js +6 -0
  2121. package/cli/node_modules/underscore/underscore-min.js.map +1 -0
  2122. package/cli/node_modules/underscore/underscore-node-f.cjs +2158 -0
  2123. package/cli/node_modules/underscore/underscore-node-f.cjs.map +1 -0
  2124. package/cli/node_modules/underscore/underscore-node.cjs +11 -0
  2125. package/cli/node_modules/underscore/underscore-node.cjs.map +1 -0
  2126. package/cli/node_modules/underscore/underscore-node.mjs +7 -0
  2127. package/cli/node_modules/underscore/underscore-node.mjs.map +1 -0
  2128. package/cli/node_modules/underscore/underscore-umd-min.js +6 -0
  2129. package/cli/node_modules/underscore/underscore-umd-min.js.map +1 -0
  2130. package/cli/node_modules/underscore/underscore-umd.js +2042 -0
  2131. package/cli/node_modules/underscore/underscore-umd.js.map +1 -0
  2132. package/cli/node_modules/underscore/underscore.js +2042 -0
  2133. package/cli/node_modules/wrappy/LICENSE +15 -0
  2134. package/cli/node_modules/wrappy/README.md +36 -0
  2135. package/cli/node_modules/wrappy/package.json +29 -0
  2136. package/cli/node_modules/wrappy/wrappy.js +33 -0
  2137. package/cli/node_modules/xmlcreate/CHANGES.md +53 -0
  2138. package/cli/node_modules/xmlcreate/LICENSE +201 -0
  2139. package/cli/node_modules/xmlcreate/NOTICE +2 -0
  2140. package/cli/node_modules/xmlcreate/README.md +141 -0
  2141. package/cli/node_modules/xmlcreate/lib/error.d.ts +19 -0
  2142. package/cli/node_modules/xmlcreate/lib/error.js +47 -0
  2143. package/cli/node_modules/xmlcreate/lib/escape.d.ts +37 -0
  2144. package/cli/node_modules/xmlcreate/lib/escape.js +55 -0
  2145. package/cli/node_modules/xmlcreate/lib/main.d.ts +38 -0
  2146. package/cli/node_modules/xmlcreate/lib/main.js +64 -0
  2147. package/cli/node_modules/xmlcreate/lib/nodes/XmlAttribute.d.ts +88 -0
  2148. package/cli/node_modules/xmlcreate/lib/nodes/XmlAttribute.js +146 -0
  2149. package/cli/node_modules/xmlcreate/lib/nodes/XmlAttributeText.d.ts +58 -0
  2150. package/cli/node_modules/xmlcreate/lib/nodes/XmlAttributeText.js +80 -0
  2151. package/cli/node_modules/xmlcreate/lib/nodes/XmlCdata.d.ts +63 -0
  2152. package/cli/node_modules/xmlcreate/lib/nodes/XmlCdata.js +88 -0
  2153. package/cli/node_modules/xmlcreate/lib/nodes/XmlCharData.d.ts +59 -0
  2154. package/cli/node_modules/xmlcreate/lib/nodes/XmlCharData.js +82 -0
  2155. package/cli/node_modules/xmlcreate/lib/nodes/XmlCharRef.d.ts +89 -0
  2156. package/cli/node_modules/xmlcreate/lib/nodes/XmlCharRef.js +136 -0
  2157. package/cli/node_modules/xmlcreate/lib/nodes/XmlComment.d.ts +62 -0
  2158. package/cli/node_modules/xmlcreate/lib/nodes/XmlComment.js +99 -0
  2159. package/cli/node_modules/xmlcreate/lib/nodes/XmlDecl.d.ts +92 -0
  2160. package/cli/node_modules/xmlcreate/lib/nodes/XmlDecl.js +180 -0
  2161. package/cli/node_modules/xmlcreate/lib/nodes/XmlDocument.d.ts +96 -0
  2162. package/cli/node_modules/xmlcreate/lib/nodes/XmlDocument.js +166 -0
  2163. package/cli/node_modules/xmlcreate/lib/nodes/XmlDtd.d.ts +147 -0
  2164. package/cli/node_modules/xmlcreate/lib/nodes/XmlDtd.js +312 -0
  2165. package/cli/node_modules/xmlcreate/lib/nodes/XmlDtdAttlist.d.ts +56 -0
  2166. package/cli/node_modules/xmlcreate/lib/nodes/XmlDtdAttlist.js +71 -0
  2167. package/cli/node_modules/xmlcreate/lib/nodes/XmlDtdElement.d.ts +56 -0
  2168. package/cli/node_modules/xmlcreate/lib/nodes/XmlDtdElement.js +71 -0
  2169. package/cli/node_modules/xmlcreate/lib/nodes/XmlDtdEntity.d.ts +56 -0
  2170. package/cli/node_modules/xmlcreate/lib/nodes/XmlDtdEntity.js +71 -0
  2171. package/cli/node_modules/xmlcreate/lib/nodes/XmlDtdNotation.d.ts +56 -0
  2172. package/cli/node_modules/xmlcreate/lib/nodes/XmlDtdNotation.js +71 -0
  2173. package/cli/node_modules/xmlcreate/lib/nodes/XmlDtdParamEntityRef.d.ts +56 -0
  2174. package/cli/node_modules/xmlcreate/lib/nodes/XmlDtdParamEntityRef.js +71 -0
  2175. package/cli/node_modules/xmlcreate/lib/nodes/XmlElement.d.ts +153 -0
  2176. package/cli/node_modules/xmlcreate/lib/nodes/XmlElement.js +302 -0
  2177. package/cli/node_modules/xmlcreate/lib/nodes/XmlEntityRef.d.ts +56 -0
  2178. package/cli/node_modules/xmlcreate/lib/nodes/XmlEntityRef.js +71 -0
  2179. package/cli/node_modules/xmlcreate/lib/nodes/XmlProcInst.d.ts +71 -0
  2180. package/cli/node_modules/xmlcreate/lib/nodes/XmlProcInst.js +112 -0
  2181. package/cli/node_modules/xmlcreate/lib/options.d.ts +51 -0
  2182. package/cli/node_modules/xmlcreate/lib/options.js +45 -0
  2183. package/cli/node_modules/xmlcreate/lib/validate.d.ts +46 -0
  2184. package/cli/node_modules/xmlcreate/lib/validate.js +274 -0
  2185. package/cli/node_modules/xmlcreate/package.json +55 -0
  2186. package/cli/package.json +3 -1
  2187. package/dist/light/protobuf.js +11 -7
  2188. package/dist/light/protobuf.js.map +1 -1
  2189. package/dist/light/protobuf.min.js +3 -3
  2190. package/dist/light/protobuf.min.js.map +1 -1
  2191. package/dist/minimal/protobuf.js +2 -2
  2192. package/dist/minimal/protobuf.min.js +3 -3
  2193. package/dist/minimal/protobuf.min.js.map +1 -1
  2194. package/dist/protobuf.js +11 -7
  2195. package/dist/protobuf.js.map +1 -1
  2196. package/dist/protobuf.min.js +3 -3
  2197. package/dist/protobuf.min.js.map +1 -1
  2198. package/package.json +3 -3
  2199. package/src/util.js +1 -1
  2200. package/CHANGELOG.md +0 -1027
  2201. package/package-lock.json +0 -7870
  2202. package/scripts/changelog.js +0 -150
@@ -0,0 +1,2796 @@
1
+ /**
2
+ * marked - a markdown parser
3
+ * Copyright (c) 2011-2022, Christopher Jeffrey. (MIT Licensed)
4
+ * https://github.com/markedjs/marked
5
+ */
6
+
7
+ /**
8
+ * DO NOT EDIT THIS FILE
9
+ * The code in this file is generated from files in ./src/
10
+ */
11
+
12
+ function getDefaults() {
13
+ return {
14
+ baseUrl: null,
15
+ breaks: false,
16
+ extensions: null,
17
+ gfm: true,
18
+ headerIds: true,
19
+ headerPrefix: '',
20
+ highlight: null,
21
+ langPrefix: 'language-',
22
+ mangle: true,
23
+ pedantic: false,
24
+ renderer: null,
25
+ sanitize: false,
26
+ sanitizer: null,
27
+ silent: false,
28
+ smartLists: false,
29
+ smartypants: false,
30
+ tokenizer: null,
31
+ walkTokens: null,
32
+ xhtml: false
33
+ };
34
+ }
35
+
36
+ let defaults = getDefaults();
37
+
38
+ function changeDefaults(newDefaults) {
39
+ defaults = newDefaults;
40
+ }
41
+
42
+ /**
43
+ * Helpers
44
+ */
45
+ const escapeTest = /[&<>"']/;
46
+ const escapeReplace = /[&<>"']/g;
47
+ const escapeTestNoEncode = /[<>"']|&(?!#?\w+;)/;
48
+ const escapeReplaceNoEncode = /[<>"']|&(?!#?\w+;)/g;
49
+ const escapeReplacements = {
50
+ '&': '&amp;',
51
+ '<': '&lt;',
52
+ '>': '&gt;',
53
+ '"': '&quot;',
54
+ "'": '&#39;'
55
+ };
56
+ const getEscapeReplacement = (ch) => escapeReplacements[ch];
57
+ function escape(html, encode) {
58
+ if (encode) {
59
+ if (escapeTest.test(html)) {
60
+ return html.replace(escapeReplace, getEscapeReplacement);
61
+ }
62
+ } else {
63
+ if (escapeTestNoEncode.test(html)) {
64
+ return html.replace(escapeReplaceNoEncode, getEscapeReplacement);
65
+ }
66
+ }
67
+
68
+ return html;
69
+ }
70
+
71
+ const unescapeTest = /&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;
72
+
73
+ /**
74
+ * @param {string} html
75
+ */
76
+ function unescape(html) {
77
+ // explicitly match decimal, hex, and named HTML entities
78
+ return html.replace(unescapeTest, (_, n) => {
79
+ n = n.toLowerCase();
80
+ if (n === 'colon') return ':';
81
+ if (n.charAt(0) === '#') {
82
+ return n.charAt(1) === 'x'
83
+ ? String.fromCharCode(parseInt(n.substring(2), 16))
84
+ : String.fromCharCode(+n.substring(1));
85
+ }
86
+ return '';
87
+ });
88
+ }
89
+
90
+ const caret = /(^|[^\[])\^/g;
91
+
92
+ /**
93
+ * @param {string | RegExp} regex
94
+ * @param {string} opt
95
+ */
96
+ function edit(regex, opt) {
97
+ regex = typeof regex === 'string' ? regex : regex.source;
98
+ opt = opt || '';
99
+ const obj = {
100
+ replace: (name, val) => {
101
+ val = val.source || val;
102
+ val = val.replace(caret, '$1');
103
+ regex = regex.replace(name, val);
104
+ return obj;
105
+ },
106
+ getRegex: () => {
107
+ return new RegExp(regex, opt);
108
+ }
109
+ };
110
+ return obj;
111
+ }
112
+
113
+ const nonWordAndColonTest = /[^\w:]/g;
114
+ const originIndependentUrl = /^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;
115
+
116
+ /**
117
+ * @param {boolean} sanitize
118
+ * @param {string} base
119
+ * @param {string} href
120
+ */
121
+ function cleanUrl(sanitize, base, href) {
122
+ if (sanitize) {
123
+ let prot;
124
+ try {
125
+ prot = decodeURIComponent(unescape(href))
126
+ .replace(nonWordAndColonTest, '')
127
+ .toLowerCase();
128
+ } catch (e) {
129
+ return null;
130
+ }
131
+ if (prot.indexOf('javascript:') === 0 || prot.indexOf('vbscript:') === 0 || prot.indexOf('data:') === 0) {
132
+ return null;
133
+ }
134
+ }
135
+ if (base && !originIndependentUrl.test(href)) {
136
+ href = resolveUrl(base, href);
137
+ }
138
+ try {
139
+ href = encodeURI(href).replace(/%25/g, '%');
140
+ } catch (e) {
141
+ return null;
142
+ }
143
+ return href;
144
+ }
145
+
146
+ const baseUrls = {};
147
+ const justDomain = /^[^:]+:\/*[^/]*$/;
148
+ const protocol = /^([^:]+:)[\s\S]*$/;
149
+ const domain = /^([^:]+:\/*[^/]*)[\s\S]*$/;
150
+
151
+ /**
152
+ * @param {string} base
153
+ * @param {string} href
154
+ */
155
+ function resolveUrl(base, href) {
156
+ if (!baseUrls[' ' + base]) {
157
+ // we can ignore everything in base after the last slash of its path component,
158
+ // but we might need to add _that_
159
+ // https://tools.ietf.org/html/rfc3986#section-3
160
+ if (justDomain.test(base)) {
161
+ baseUrls[' ' + base] = base + '/';
162
+ } else {
163
+ baseUrls[' ' + base] = rtrim(base, '/', true);
164
+ }
165
+ }
166
+ base = baseUrls[' ' + base];
167
+ const relativeBase = base.indexOf(':') === -1;
168
+
169
+ if (href.substring(0, 2) === '//') {
170
+ if (relativeBase) {
171
+ return href;
172
+ }
173
+ return base.replace(protocol, '$1') + href;
174
+ } else if (href.charAt(0) === '/') {
175
+ if (relativeBase) {
176
+ return href;
177
+ }
178
+ return base.replace(domain, '$1') + href;
179
+ } else {
180
+ return base + href;
181
+ }
182
+ }
183
+
184
+ const noopTest = { exec: function noopTest() {} };
185
+
186
+ function merge(obj) {
187
+ let i = 1,
188
+ target,
189
+ key;
190
+
191
+ for (; i < arguments.length; i++) {
192
+ target = arguments[i];
193
+ for (key in target) {
194
+ if (Object.prototype.hasOwnProperty.call(target, key)) {
195
+ obj[key] = target[key];
196
+ }
197
+ }
198
+ }
199
+
200
+ return obj;
201
+ }
202
+
203
+ function splitCells(tableRow, count) {
204
+ // ensure that every cell-delimiting pipe has a space
205
+ // before it to distinguish it from an escaped pipe
206
+ const row = tableRow.replace(/\|/g, (match, offset, str) => {
207
+ let escaped = false,
208
+ curr = offset;
209
+ while (--curr >= 0 && str[curr] === '\\') escaped = !escaped;
210
+ if (escaped) {
211
+ // odd number of slashes means | is escaped
212
+ // so we leave it alone
213
+ return '|';
214
+ } else {
215
+ // add space before unescaped |
216
+ return ' |';
217
+ }
218
+ }),
219
+ cells = row.split(/ \|/);
220
+ let i = 0;
221
+
222
+ // First/last cell in a row cannot be empty if it has no leading/trailing pipe
223
+ if (!cells[0].trim()) { cells.shift(); }
224
+ if (cells.length > 0 && !cells[cells.length - 1].trim()) { cells.pop(); }
225
+
226
+ if (cells.length > count) {
227
+ cells.splice(count);
228
+ } else {
229
+ while (cells.length < count) cells.push('');
230
+ }
231
+
232
+ for (; i < cells.length; i++) {
233
+ // leading or trailing whitespace is ignored per the gfm spec
234
+ cells[i] = cells[i].trim().replace(/\\\|/g, '|');
235
+ }
236
+ return cells;
237
+ }
238
+
239
+ /**
240
+ * Remove trailing 'c's. Equivalent to str.replace(/c*$/, '').
241
+ * /c*$/ is vulnerable to REDOS.
242
+ *
243
+ * @param {string} str
244
+ * @param {string} c
245
+ * @param {boolean} invert Remove suffix of non-c chars instead. Default falsey.
246
+ */
247
+ function rtrim(str, c, invert) {
248
+ const l = str.length;
249
+ if (l === 0) {
250
+ return '';
251
+ }
252
+
253
+ // Length of suffix matching the invert condition.
254
+ let suffLen = 0;
255
+
256
+ // Step left until we fail to match the invert condition.
257
+ while (suffLen < l) {
258
+ const currChar = str.charAt(l - suffLen - 1);
259
+ if (currChar === c && !invert) {
260
+ suffLen++;
261
+ } else if (currChar !== c && invert) {
262
+ suffLen++;
263
+ } else {
264
+ break;
265
+ }
266
+ }
267
+
268
+ return str.slice(0, l - suffLen);
269
+ }
270
+
271
+ function findClosingBracket(str, b) {
272
+ if (str.indexOf(b[1]) === -1) {
273
+ return -1;
274
+ }
275
+ const l = str.length;
276
+ let level = 0,
277
+ i = 0;
278
+ for (; i < l; i++) {
279
+ if (str[i] === '\\') {
280
+ i++;
281
+ } else if (str[i] === b[0]) {
282
+ level++;
283
+ } else if (str[i] === b[1]) {
284
+ level--;
285
+ if (level < 0) {
286
+ return i;
287
+ }
288
+ }
289
+ }
290
+ return -1;
291
+ }
292
+
293
+ function checkSanitizeDeprecation(opt) {
294
+ if (opt && opt.sanitize && !opt.silent) {
295
+ console.warn('marked(): sanitize and sanitizer parameters are deprecated since version 0.7.0, should not be used and will be removed in the future. Read more here: https://marked.js.org/#/USING_ADVANCED.md#options');
296
+ }
297
+ }
298
+
299
+ // copied from https://stackoverflow.com/a/5450113/806777
300
+ /**
301
+ * @param {string} pattern
302
+ * @param {number} count
303
+ */
304
+ function repeatString(pattern, count) {
305
+ if (count < 1) {
306
+ return '';
307
+ }
308
+ let result = '';
309
+ while (count > 1) {
310
+ if (count & 1) {
311
+ result += pattern;
312
+ }
313
+ count >>= 1;
314
+ pattern += pattern;
315
+ }
316
+ return result + pattern;
317
+ }
318
+
319
+ function outputLink(cap, link, raw, lexer) {
320
+ const href = link.href;
321
+ const title = link.title ? escape(link.title) : null;
322
+ const text = cap[1].replace(/\\([\[\]])/g, '$1');
323
+
324
+ if (cap[0].charAt(0) !== '!') {
325
+ lexer.state.inLink = true;
326
+ const token = {
327
+ type: 'link',
328
+ raw,
329
+ href,
330
+ title,
331
+ text,
332
+ tokens: lexer.inlineTokens(text, [])
333
+ };
334
+ lexer.state.inLink = false;
335
+ return token;
336
+ }
337
+ return {
338
+ type: 'image',
339
+ raw,
340
+ href,
341
+ title,
342
+ text: escape(text)
343
+ };
344
+ }
345
+
346
+ function indentCodeCompensation(raw, text) {
347
+ const matchIndentToCode = raw.match(/^(\s+)(?:```)/);
348
+
349
+ if (matchIndentToCode === null) {
350
+ return text;
351
+ }
352
+
353
+ const indentToCode = matchIndentToCode[1];
354
+
355
+ return text
356
+ .split('\n')
357
+ .map(node => {
358
+ const matchIndentInNode = node.match(/^\s+/);
359
+ if (matchIndentInNode === null) {
360
+ return node;
361
+ }
362
+
363
+ const [indentInNode] = matchIndentInNode;
364
+
365
+ if (indentInNode.length >= indentToCode.length) {
366
+ return node.slice(indentToCode.length);
367
+ }
368
+
369
+ return node;
370
+ })
371
+ .join('\n');
372
+ }
373
+
374
+ /**
375
+ * Tokenizer
376
+ */
377
+ class Tokenizer {
378
+ constructor(options) {
379
+ this.options = options || defaults;
380
+ }
381
+
382
+ space(src) {
383
+ const cap = this.rules.block.newline.exec(src);
384
+ if (cap && cap[0].length > 0) {
385
+ return {
386
+ type: 'space',
387
+ raw: cap[0]
388
+ };
389
+ }
390
+ }
391
+
392
+ code(src) {
393
+ const cap = this.rules.block.code.exec(src);
394
+ if (cap) {
395
+ const text = cap[0].replace(/^ {1,4}/gm, '');
396
+ return {
397
+ type: 'code',
398
+ raw: cap[0],
399
+ codeBlockStyle: 'indented',
400
+ text: !this.options.pedantic
401
+ ? rtrim(text, '\n')
402
+ : text
403
+ };
404
+ }
405
+ }
406
+
407
+ fences(src) {
408
+ const cap = this.rules.block.fences.exec(src);
409
+ if (cap) {
410
+ const raw = cap[0];
411
+ const text = indentCodeCompensation(raw, cap[3] || '');
412
+
413
+ return {
414
+ type: 'code',
415
+ raw,
416
+ lang: cap[2] ? cap[2].trim() : cap[2],
417
+ text
418
+ };
419
+ }
420
+ }
421
+
422
+ heading(src) {
423
+ const cap = this.rules.block.heading.exec(src);
424
+ if (cap) {
425
+ let text = cap[2].trim();
426
+
427
+ // remove trailing #s
428
+ if (/#$/.test(text)) {
429
+ const trimmed = rtrim(text, '#');
430
+ if (this.options.pedantic) {
431
+ text = trimmed.trim();
432
+ } else if (!trimmed || / $/.test(trimmed)) {
433
+ // CommonMark requires space before trailing #s
434
+ text = trimmed.trim();
435
+ }
436
+ }
437
+
438
+ const token = {
439
+ type: 'heading',
440
+ raw: cap[0],
441
+ depth: cap[1].length,
442
+ text,
443
+ tokens: []
444
+ };
445
+ this.lexer.inline(token.text, token.tokens);
446
+ return token;
447
+ }
448
+ }
449
+
450
+ hr(src) {
451
+ const cap = this.rules.block.hr.exec(src);
452
+ if (cap) {
453
+ return {
454
+ type: 'hr',
455
+ raw: cap[0]
456
+ };
457
+ }
458
+ }
459
+
460
+ blockquote(src) {
461
+ const cap = this.rules.block.blockquote.exec(src);
462
+ if (cap) {
463
+ const text = cap[0].replace(/^ *>[ \t]?/gm, '');
464
+
465
+ return {
466
+ type: 'blockquote',
467
+ raw: cap[0],
468
+ tokens: this.lexer.blockTokens(text, []),
469
+ text
470
+ };
471
+ }
472
+ }
473
+
474
+ list(src) {
475
+ let cap = this.rules.block.list.exec(src);
476
+ if (cap) {
477
+ let raw, istask, ischecked, indent, i, blankLine, endsWithBlankLine,
478
+ line, nextLine, rawLine, itemContents, endEarly;
479
+
480
+ let bull = cap[1].trim();
481
+ const isordered = bull.length > 1;
482
+
483
+ const list = {
484
+ type: 'list',
485
+ raw: '',
486
+ ordered: isordered,
487
+ start: isordered ? +bull.slice(0, -1) : '',
488
+ loose: false,
489
+ items: []
490
+ };
491
+
492
+ bull = isordered ? `\\d{1,9}\\${bull.slice(-1)}` : `\\${bull}`;
493
+
494
+ if (this.options.pedantic) {
495
+ bull = isordered ? bull : '[*+-]';
496
+ }
497
+
498
+ // Get next list item
499
+ const itemRegex = new RegExp(`^( {0,3}${bull})((?:[\t ][^\\n]*)?(?:\\n|$))`);
500
+
501
+ // Check if current bullet point can start a new List Item
502
+ while (src) {
503
+ endEarly = false;
504
+ if (!(cap = itemRegex.exec(src))) {
505
+ break;
506
+ }
507
+
508
+ if (this.rules.block.hr.test(src)) { // End list if bullet was actually HR (possibly move into itemRegex?)
509
+ break;
510
+ }
511
+
512
+ raw = cap[0];
513
+ src = src.substring(raw.length);
514
+
515
+ line = cap[2].split('\n', 1)[0];
516
+ nextLine = src.split('\n', 1)[0];
517
+
518
+ if (this.options.pedantic) {
519
+ indent = 2;
520
+ itemContents = line.trimLeft();
521
+ } else {
522
+ indent = cap[2].search(/[^ ]/); // Find first non-space char
523
+ indent = indent > 4 ? 1 : indent; // Treat indented code blocks (> 4 spaces) as having only 1 indent
524
+ itemContents = line.slice(indent);
525
+ indent += cap[1].length;
526
+ }
527
+
528
+ blankLine = false;
529
+
530
+ if (!line && /^ *$/.test(nextLine)) { // Items begin with at most one blank line
531
+ raw += nextLine + '\n';
532
+ src = src.substring(nextLine.length + 1);
533
+ endEarly = true;
534
+ }
535
+
536
+ if (!endEarly) {
537
+ const nextBulletRegex = new RegExp(`^ {0,${Math.min(3, indent - 1)}}(?:[*+-]|\\d{1,9}[.)])((?: [^\\n]*)?(?:\\n|$))`);
538
+ const hrRegex = new RegExp(`^ {0,${Math.min(3, indent - 1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`);
539
+ const fencesBeginRegex = new RegExp(`^ {0,${Math.min(3, indent - 1)}}(?:\`\`\`|~~~)`);
540
+ const headingBeginRegex = new RegExp(`^ {0,${Math.min(3, indent - 1)}}#`);
541
+
542
+ // Check if following lines should be included in List Item
543
+ while (src) {
544
+ rawLine = src.split('\n', 1)[0];
545
+ line = rawLine;
546
+
547
+ // Re-align to follow commonmark nesting rules
548
+ if (this.options.pedantic) {
549
+ line = line.replace(/^ {1,4}(?=( {4})*[^ ])/g, ' ');
550
+ }
551
+
552
+ // End list item if found code fences
553
+ if (fencesBeginRegex.test(line)) {
554
+ break;
555
+ }
556
+
557
+ // End list item if found start of new heading
558
+ if (headingBeginRegex.test(line)) {
559
+ break;
560
+ }
561
+
562
+ // End list item if found start of new bullet
563
+ if (nextBulletRegex.test(line)) {
564
+ break;
565
+ }
566
+
567
+ // Horizontal rule found
568
+ if (hrRegex.test(src)) {
569
+ break;
570
+ }
571
+
572
+ if (line.search(/[^ ]/) >= indent || !line.trim()) { // Dedent if possible
573
+ itemContents += '\n' + line.slice(indent);
574
+ } else if (!blankLine) { // Until blank line, item doesn't need indentation
575
+ itemContents += '\n' + line;
576
+ } else { // Otherwise, improper indentation ends this item
577
+ break;
578
+ }
579
+
580
+ if (!blankLine && !line.trim()) { // Check if current line is blank
581
+ blankLine = true;
582
+ }
583
+
584
+ raw += rawLine + '\n';
585
+ src = src.substring(rawLine.length + 1);
586
+ }
587
+ }
588
+
589
+ if (!list.loose) {
590
+ // If the previous item ended with a blank line, the list is loose
591
+ if (endsWithBlankLine) {
592
+ list.loose = true;
593
+ } else if (/\n *\n *$/.test(raw)) {
594
+ endsWithBlankLine = true;
595
+ }
596
+ }
597
+
598
+ // Check for task list items
599
+ if (this.options.gfm) {
600
+ istask = /^\[[ xX]\] /.exec(itemContents);
601
+ if (istask) {
602
+ ischecked = istask[0] !== '[ ] ';
603
+ itemContents = itemContents.replace(/^\[[ xX]\] +/, '');
604
+ }
605
+ }
606
+
607
+ list.items.push({
608
+ type: 'list_item',
609
+ raw,
610
+ task: !!istask,
611
+ checked: ischecked,
612
+ loose: false,
613
+ text: itemContents
614
+ });
615
+
616
+ list.raw += raw;
617
+ }
618
+
619
+ // Do not consume newlines at end of final item. Alternatively, make itemRegex *start* with any newlines to simplify/speed up endsWithBlankLine logic
620
+ list.items[list.items.length - 1].raw = raw.trimRight();
621
+ list.items[list.items.length - 1].text = itemContents.trimRight();
622
+ list.raw = list.raw.trimRight();
623
+
624
+ const l = list.items.length;
625
+
626
+ // Item child tokens handled here at end because we needed to have the final item to trim it first
627
+ for (i = 0; i < l; i++) {
628
+ this.lexer.state.top = false;
629
+ list.items[i].tokens = this.lexer.blockTokens(list.items[i].text, []);
630
+ const spacers = list.items[i].tokens.filter(t => t.type === 'space');
631
+ const hasMultipleLineBreaks = spacers.every(t => {
632
+ const chars = t.raw.split('');
633
+ let lineBreaks = 0;
634
+ for (const char of chars) {
635
+ if (char === '\n') {
636
+ lineBreaks += 1;
637
+ }
638
+ if (lineBreaks > 1) {
639
+ return true;
640
+ }
641
+ }
642
+
643
+ return false;
644
+ });
645
+
646
+ if (!list.loose && spacers.length && hasMultipleLineBreaks) {
647
+ // Having a single line break doesn't mean a list is loose. A single line break is terminating the last list item
648
+ list.loose = true;
649
+ list.items[i].loose = true;
650
+ }
651
+ }
652
+
653
+ return list;
654
+ }
655
+ }
656
+
657
+ html(src) {
658
+ const cap = this.rules.block.html.exec(src);
659
+ if (cap) {
660
+ const token = {
661
+ type: 'html',
662
+ raw: cap[0],
663
+ pre: !this.options.sanitizer
664
+ && (cap[1] === 'pre' || cap[1] === 'script' || cap[1] === 'style'),
665
+ text: cap[0]
666
+ };
667
+ if (this.options.sanitize) {
668
+ token.type = 'paragraph';
669
+ token.text = this.options.sanitizer ? this.options.sanitizer(cap[0]) : escape(cap[0]);
670
+ token.tokens = [];
671
+ this.lexer.inline(token.text, token.tokens);
672
+ }
673
+ return token;
674
+ }
675
+ }
676
+
677
+ def(src) {
678
+ const cap = this.rules.block.def.exec(src);
679
+ if (cap) {
680
+ if (cap[3]) cap[3] = cap[3].substring(1, cap[3].length - 1);
681
+ const tag = cap[1].toLowerCase().replace(/\s+/g, ' ');
682
+ return {
683
+ type: 'def',
684
+ tag,
685
+ raw: cap[0],
686
+ href: cap[2],
687
+ title: cap[3]
688
+ };
689
+ }
690
+ }
691
+
692
+ table(src) {
693
+ const cap = this.rules.block.table.exec(src);
694
+ if (cap) {
695
+ const item = {
696
+ type: 'table',
697
+ header: splitCells(cap[1]).map(c => { return { text: c }; }),
698
+ align: cap[2].replace(/^ *|\| *$/g, '').split(/ *\| */),
699
+ rows: cap[3] && cap[3].trim() ? cap[3].replace(/\n[ \t]*$/, '').split('\n') : []
700
+ };
701
+
702
+ if (item.header.length === item.align.length) {
703
+ item.raw = cap[0];
704
+
705
+ let l = item.align.length;
706
+ let i, j, k, row;
707
+ for (i = 0; i < l; i++) {
708
+ if (/^ *-+: *$/.test(item.align[i])) {
709
+ item.align[i] = 'right';
710
+ } else if (/^ *:-+: *$/.test(item.align[i])) {
711
+ item.align[i] = 'center';
712
+ } else if (/^ *:-+ *$/.test(item.align[i])) {
713
+ item.align[i] = 'left';
714
+ } else {
715
+ item.align[i] = null;
716
+ }
717
+ }
718
+
719
+ l = item.rows.length;
720
+ for (i = 0; i < l; i++) {
721
+ item.rows[i] = splitCells(item.rows[i], item.header.length).map(c => { return { text: c }; });
722
+ }
723
+
724
+ // parse child tokens inside headers and cells
725
+
726
+ // header child tokens
727
+ l = item.header.length;
728
+ for (j = 0; j < l; j++) {
729
+ item.header[j].tokens = [];
730
+ this.lexer.inline(item.header[j].text, item.header[j].tokens);
731
+ }
732
+
733
+ // cell child tokens
734
+ l = item.rows.length;
735
+ for (j = 0; j < l; j++) {
736
+ row = item.rows[j];
737
+ for (k = 0; k < row.length; k++) {
738
+ row[k].tokens = [];
739
+ this.lexer.inline(row[k].text, row[k].tokens);
740
+ }
741
+ }
742
+
743
+ return item;
744
+ }
745
+ }
746
+ }
747
+
748
+ lheading(src) {
749
+ const cap = this.rules.block.lheading.exec(src);
750
+ if (cap) {
751
+ const token = {
752
+ type: 'heading',
753
+ raw: cap[0],
754
+ depth: cap[2].charAt(0) === '=' ? 1 : 2,
755
+ text: cap[1],
756
+ tokens: []
757
+ };
758
+ this.lexer.inline(token.text, token.tokens);
759
+ return token;
760
+ }
761
+ }
762
+
763
+ paragraph(src) {
764
+ const cap = this.rules.block.paragraph.exec(src);
765
+ if (cap) {
766
+ const token = {
767
+ type: 'paragraph',
768
+ raw: cap[0],
769
+ text: cap[1].charAt(cap[1].length - 1) === '\n'
770
+ ? cap[1].slice(0, -1)
771
+ : cap[1],
772
+ tokens: []
773
+ };
774
+ this.lexer.inline(token.text, token.tokens);
775
+ return token;
776
+ }
777
+ }
778
+
779
+ text(src) {
780
+ const cap = this.rules.block.text.exec(src);
781
+ if (cap) {
782
+ const token = {
783
+ type: 'text',
784
+ raw: cap[0],
785
+ text: cap[0],
786
+ tokens: []
787
+ };
788
+ this.lexer.inline(token.text, token.tokens);
789
+ return token;
790
+ }
791
+ }
792
+
793
+ escape(src) {
794
+ const cap = this.rules.inline.escape.exec(src);
795
+ if (cap) {
796
+ return {
797
+ type: 'escape',
798
+ raw: cap[0],
799
+ text: escape(cap[1])
800
+ };
801
+ }
802
+ }
803
+
804
+ tag(src) {
805
+ const cap = this.rules.inline.tag.exec(src);
806
+ if (cap) {
807
+ if (!this.lexer.state.inLink && /^<a /i.test(cap[0])) {
808
+ this.lexer.state.inLink = true;
809
+ } else if (this.lexer.state.inLink && /^<\/a>/i.test(cap[0])) {
810
+ this.lexer.state.inLink = false;
811
+ }
812
+ if (!this.lexer.state.inRawBlock && /^<(pre|code|kbd|script)(\s|>)/i.test(cap[0])) {
813
+ this.lexer.state.inRawBlock = true;
814
+ } else if (this.lexer.state.inRawBlock && /^<\/(pre|code|kbd|script)(\s|>)/i.test(cap[0])) {
815
+ this.lexer.state.inRawBlock = false;
816
+ }
817
+
818
+ return {
819
+ type: this.options.sanitize
820
+ ? 'text'
821
+ : 'html',
822
+ raw: cap[0],
823
+ inLink: this.lexer.state.inLink,
824
+ inRawBlock: this.lexer.state.inRawBlock,
825
+ text: this.options.sanitize
826
+ ? (this.options.sanitizer
827
+ ? this.options.sanitizer(cap[0])
828
+ : escape(cap[0]))
829
+ : cap[0]
830
+ };
831
+ }
832
+ }
833
+
834
+ link(src) {
835
+ const cap = this.rules.inline.link.exec(src);
836
+ if (cap) {
837
+ const trimmedUrl = cap[2].trim();
838
+ if (!this.options.pedantic && /^</.test(trimmedUrl)) {
839
+ // commonmark requires matching angle brackets
840
+ if (!(/>$/.test(trimmedUrl))) {
841
+ return;
842
+ }
843
+
844
+ // ending angle bracket cannot be escaped
845
+ const rtrimSlash = rtrim(trimmedUrl.slice(0, -1), '\\');
846
+ if ((trimmedUrl.length - rtrimSlash.length) % 2 === 0) {
847
+ return;
848
+ }
849
+ } else {
850
+ // find closing parenthesis
851
+ const lastParenIndex = findClosingBracket(cap[2], '()');
852
+ if (lastParenIndex > -1) {
853
+ const start = cap[0].indexOf('!') === 0 ? 5 : 4;
854
+ const linkLen = start + cap[1].length + lastParenIndex;
855
+ cap[2] = cap[2].substring(0, lastParenIndex);
856
+ cap[0] = cap[0].substring(0, linkLen).trim();
857
+ cap[3] = '';
858
+ }
859
+ }
860
+ let href = cap[2];
861
+ let title = '';
862
+ if (this.options.pedantic) {
863
+ // split pedantic href and title
864
+ const link = /^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(href);
865
+
866
+ if (link) {
867
+ href = link[1];
868
+ title = link[3];
869
+ }
870
+ } else {
871
+ title = cap[3] ? cap[3].slice(1, -1) : '';
872
+ }
873
+
874
+ href = href.trim();
875
+ if (/^</.test(href)) {
876
+ if (this.options.pedantic && !(/>$/.test(trimmedUrl))) {
877
+ // pedantic allows starting angle bracket without ending angle bracket
878
+ href = href.slice(1);
879
+ } else {
880
+ href = href.slice(1, -1);
881
+ }
882
+ }
883
+ return outputLink(cap, {
884
+ href: href ? href.replace(this.rules.inline._escapes, '$1') : href,
885
+ title: title ? title.replace(this.rules.inline._escapes, '$1') : title
886
+ }, cap[0], this.lexer);
887
+ }
888
+ }
889
+
890
+ reflink(src, links) {
891
+ let cap;
892
+ if ((cap = this.rules.inline.reflink.exec(src))
893
+ || (cap = this.rules.inline.nolink.exec(src))) {
894
+ let link = (cap[2] || cap[1]).replace(/\s+/g, ' ');
895
+ link = links[link.toLowerCase()];
896
+ if (!link || !link.href) {
897
+ const text = cap[0].charAt(0);
898
+ return {
899
+ type: 'text',
900
+ raw: text,
901
+ text
902
+ };
903
+ }
904
+ return outputLink(cap, link, cap[0], this.lexer);
905
+ }
906
+ }
907
+
908
+ emStrong(src, maskedSrc, prevChar = '') {
909
+ let match = this.rules.inline.emStrong.lDelim.exec(src);
910
+ if (!match) return;
911
+
912
+ // _ can't be between two alphanumerics. \p{L}\p{N} includes non-english alphabet/numbers as well
913
+ if (match[3] && prevChar.match(/[\p{L}\p{N}]/u)) return;
914
+
915
+ const nextChar = match[1] || match[2] || '';
916
+
917
+ if (!nextChar || (nextChar && (prevChar === '' || this.rules.inline.punctuation.exec(prevChar)))) {
918
+ const lLength = match[0].length - 1;
919
+ let rDelim, rLength, delimTotal = lLength, midDelimTotal = 0;
920
+
921
+ const endReg = match[0][0] === '*' ? this.rules.inline.emStrong.rDelimAst : this.rules.inline.emStrong.rDelimUnd;
922
+ endReg.lastIndex = 0;
923
+
924
+ // Clip maskedSrc to same section of string as src (move to lexer?)
925
+ maskedSrc = maskedSrc.slice(-1 * src.length + lLength);
926
+
927
+ while ((match = endReg.exec(maskedSrc)) != null) {
928
+ rDelim = match[1] || match[2] || match[3] || match[4] || match[5] || match[6];
929
+
930
+ if (!rDelim) continue; // skip single * in __abc*abc__
931
+
932
+ rLength = rDelim.length;
933
+
934
+ if (match[3] || match[4]) { // found another Left Delim
935
+ delimTotal += rLength;
936
+ continue;
937
+ } else if (match[5] || match[6]) { // either Left or Right Delim
938
+ if (lLength % 3 && !((lLength + rLength) % 3)) {
939
+ midDelimTotal += rLength;
940
+ continue; // CommonMark Emphasis Rules 9-10
941
+ }
942
+ }
943
+
944
+ delimTotal -= rLength;
945
+
946
+ if (delimTotal > 0) continue; // Haven't found enough closing delimiters
947
+
948
+ // Remove extra characters. *a*** -> *a*
949
+ rLength = Math.min(rLength, rLength + delimTotal + midDelimTotal);
950
+
951
+ // Create `em` if smallest delimiter has odd char count. *a***
952
+ if (Math.min(lLength, rLength) % 2) {
953
+ const text = src.slice(1, lLength + match.index + rLength);
954
+ return {
955
+ type: 'em',
956
+ raw: src.slice(0, lLength + match.index + rLength + 1),
957
+ text,
958
+ tokens: this.lexer.inlineTokens(text, [])
959
+ };
960
+ }
961
+
962
+ // Create 'strong' if smallest delimiter has even char count. **a***
963
+ const text = src.slice(2, lLength + match.index + rLength - 1);
964
+ return {
965
+ type: 'strong',
966
+ raw: src.slice(0, lLength + match.index + rLength + 1),
967
+ text,
968
+ tokens: this.lexer.inlineTokens(text, [])
969
+ };
970
+ }
971
+ }
972
+ }
973
+
974
+ codespan(src) {
975
+ const cap = this.rules.inline.code.exec(src);
976
+ if (cap) {
977
+ let text = cap[2].replace(/\n/g, ' ');
978
+ const hasNonSpaceChars = /[^ ]/.test(text);
979
+ const hasSpaceCharsOnBothEnds = /^ /.test(text) && / $/.test(text);
980
+ if (hasNonSpaceChars && hasSpaceCharsOnBothEnds) {
981
+ text = text.substring(1, text.length - 1);
982
+ }
983
+ text = escape(text, true);
984
+ return {
985
+ type: 'codespan',
986
+ raw: cap[0],
987
+ text
988
+ };
989
+ }
990
+ }
991
+
992
+ br(src) {
993
+ const cap = this.rules.inline.br.exec(src);
994
+ if (cap) {
995
+ return {
996
+ type: 'br',
997
+ raw: cap[0]
998
+ };
999
+ }
1000
+ }
1001
+
1002
+ del(src) {
1003
+ const cap = this.rules.inline.del.exec(src);
1004
+ if (cap) {
1005
+ return {
1006
+ type: 'del',
1007
+ raw: cap[0],
1008
+ text: cap[2],
1009
+ tokens: this.lexer.inlineTokens(cap[2], [])
1010
+ };
1011
+ }
1012
+ }
1013
+
1014
+ autolink(src, mangle) {
1015
+ const cap = this.rules.inline.autolink.exec(src);
1016
+ if (cap) {
1017
+ let text, href;
1018
+ if (cap[2] === '@') {
1019
+ text = escape(this.options.mangle ? mangle(cap[1]) : cap[1]);
1020
+ href = 'mailto:' + text;
1021
+ } else {
1022
+ text = escape(cap[1]);
1023
+ href = text;
1024
+ }
1025
+
1026
+ return {
1027
+ type: 'link',
1028
+ raw: cap[0],
1029
+ text,
1030
+ href,
1031
+ tokens: [
1032
+ {
1033
+ type: 'text',
1034
+ raw: text,
1035
+ text
1036
+ }
1037
+ ]
1038
+ };
1039
+ }
1040
+ }
1041
+
1042
+ url(src, mangle) {
1043
+ let cap;
1044
+ if (cap = this.rules.inline.url.exec(src)) {
1045
+ let text, href;
1046
+ if (cap[2] === '@') {
1047
+ text = escape(this.options.mangle ? mangle(cap[0]) : cap[0]);
1048
+ href = 'mailto:' + text;
1049
+ } else {
1050
+ // do extended autolink path validation
1051
+ let prevCapZero;
1052
+ do {
1053
+ prevCapZero = cap[0];
1054
+ cap[0] = this.rules.inline._backpedal.exec(cap[0])[0];
1055
+ } while (prevCapZero !== cap[0]);
1056
+ text = escape(cap[0]);
1057
+ if (cap[1] === 'www.') {
1058
+ href = 'http://' + text;
1059
+ } else {
1060
+ href = text;
1061
+ }
1062
+ }
1063
+ return {
1064
+ type: 'link',
1065
+ raw: cap[0],
1066
+ text,
1067
+ href,
1068
+ tokens: [
1069
+ {
1070
+ type: 'text',
1071
+ raw: text,
1072
+ text
1073
+ }
1074
+ ]
1075
+ };
1076
+ }
1077
+ }
1078
+
1079
+ inlineText(src, smartypants) {
1080
+ const cap = this.rules.inline.text.exec(src);
1081
+ if (cap) {
1082
+ let text;
1083
+ if (this.lexer.state.inRawBlock) {
1084
+ text = this.options.sanitize ? (this.options.sanitizer ? this.options.sanitizer(cap[0]) : escape(cap[0])) : cap[0];
1085
+ } else {
1086
+ text = escape(this.options.smartypants ? smartypants(cap[0]) : cap[0]);
1087
+ }
1088
+ return {
1089
+ type: 'text',
1090
+ raw: cap[0],
1091
+ text
1092
+ };
1093
+ }
1094
+ }
1095
+ }
1096
+
1097
+ /**
1098
+ * Block-Level Grammar
1099
+ */
1100
+ const block = {
1101
+ newline: /^(?: *(?:\n|$))+/,
1102
+ code: /^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/,
1103
+ fences: /^ {0,3}(`{3,}(?=[^`\n]*\n)|~{3,})([^\n]*)\n(?:|([\s\S]*?)\n)(?: {0,3}\1[~`]* *(?=\n|$)|$)/,
1104
+ hr: /^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,
1105
+ heading: /^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,
1106
+ blockquote: /^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,
1107
+ list: /^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/,
1108
+ html: '^ {0,3}(?:' // optional indentation
1109
+ + '<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)' // (1)
1110
+ + '|comment[^\\n]*(\\n+|$)' // (2)
1111
+ + '|<\\?[\\s\\S]*?(?:\\?>\\n*|$)' // (3)
1112
+ + '|<![A-Z][\\s\\S]*?(?:>\\n*|$)' // (4)
1113
+ + '|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)' // (5)
1114
+ + '|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n *)+\\n|$)' // (6)
1115
+ + '|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$)' // (7) open tag
1116
+ + '|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$)' // (7) closing tag
1117
+ + ')',
1118
+ def: /^ {0,3}\[(label)\]: *(?:\n *)?<?([^\s>]+)>?(?:(?: +(?:\n *)?| *\n *)(title))? *(?:\n+|$)/,
1119
+ table: noopTest,
1120
+ lheading: /^([^\n]+)\n {0,3}(=+|-+) *(?:\n+|$)/,
1121
+ // regex template, placeholders will be replaced according to different paragraph
1122
+ // interruption rules of commonmark and the original markdown spec:
1123
+ _paragraph: /^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,
1124
+ text: /^[^\n]+/
1125
+ };
1126
+
1127
+ block._label = /(?!\s*\])(?:\\.|[^\[\]\\])+/;
1128
+ block._title = /(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/;
1129
+ block.def = edit(block.def)
1130
+ .replace('label', block._label)
1131
+ .replace('title', block._title)
1132
+ .getRegex();
1133
+
1134
+ block.bullet = /(?:[*+-]|\d{1,9}[.)])/;
1135
+ block.listItemStart = edit(/^( *)(bull) */)
1136
+ .replace('bull', block.bullet)
1137
+ .getRegex();
1138
+
1139
+ block.list = edit(block.list)
1140
+ .replace(/bull/g, block.bullet)
1141
+ .replace('hr', '\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))')
1142
+ .replace('def', '\\n+(?=' + block.def.source + ')')
1143
+ .getRegex();
1144
+
1145
+ block._tag = 'address|article|aside|base|basefont|blockquote|body|caption'
1146
+ + '|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption'
1147
+ + '|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe'
1148
+ + '|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option'
1149
+ + '|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr'
1150
+ + '|track|ul';
1151
+ block._comment = /<!--(?!-?>)[\s\S]*?(?:-->|$)/;
1152
+ block.html = edit(block.html, 'i')
1153
+ .replace('comment', block._comment)
1154
+ .replace('tag', block._tag)
1155
+ .replace('attribute', / +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/)
1156
+ .getRegex();
1157
+
1158
+ block.paragraph = edit(block._paragraph)
1159
+ .replace('hr', block.hr)
1160
+ .replace('heading', ' {0,3}#{1,6} ')
1161
+ .replace('|lheading', '') // setex headings don't interrupt commonmark paragraphs
1162
+ .replace('|table', '')
1163
+ .replace('blockquote', ' {0,3}>')
1164
+ .replace('fences', ' {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n')
1165
+ .replace('list', ' {0,3}(?:[*+-]|1[.)]) ') // only lists starting from 1 can interrupt
1166
+ .replace('html', '</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)')
1167
+ .replace('tag', block._tag) // pars can be interrupted by type (6) html blocks
1168
+ .getRegex();
1169
+
1170
+ block.blockquote = edit(block.blockquote)
1171
+ .replace('paragraph', block.paragraph)
1172
+ .getRegex();
1173
+
1174
+ /**
1175
+ * Normal Block Grammar
1176
+ */
1177
+
1178
+ block.normal = merge({}, block);
1179
+
1180
+ /**
1181
+ * GFM Block Grammar
1182
+ */
1183
+
1184
+ block.gfm = merge({}, block.normal, {
1185
+ table: '^ *([^\\n ].*\\|.*)\\n' // Header
1186
+ + ' {0,3}(?:\\| *)?(:?-+:? *(?:\\| *:?-+:? *)*)(?:\\| *)?' // Align
1187
+ + '(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)' // Cells
1188
+ });
1189
+
1190
+ block.gfm.table = edit(block.gfm.table)
1191
+ .replace('hr', block.hr)
1192
+ .replace('heading', ' {0,3}#{1,6} ')
1193
+ .replace('blockquote', ' {0,3}>')
1194
+ .replace('code', ' {4}[^\\n]')
1195
+ .replace('fences', ' {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n')
1196
+ .replace('list', ' {0,3}(?:[*+-]|1[.)]) ') // only lists starting from 1 can interrupt
1197
+ .replace('html', '</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)')
1198
+ .replace('tag', block._tag) // tables can be interrupted by type (6) html blocks
1199
+ .getRegex();
1200
+
1201
+ block.gfm.paragraph = edit(block._paragraph)
1202
+ .replace('hr', block.hr)
1203
+ .replace('heading', ' {0,3}#{1,6} ')
1204
+ .replace('|lheading', '') // setex headings don't interrupt commonmark paragraphs
1205
+ .replace('table', block.gfm.table) // interrupt paragraphs with table
1206
+ .replace('blockquote', ' {0,3}>')
1207
+ .replace('fences', ' {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n')
1208
+ .replace('list', ' {0,3}(?:[*+-]|1[.)]) ') // only lists starting from 1 can interrupt
1209
+ .replace('html', '</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)')
1210
+ .replace('tag', block._tag) // pars can be interrupted by type (6) html blocks
1211
+ .getRegex();
1212
+ /**
1213
+ * Pedantic grammar (original John Gruber's loose markdown specification)
1214
+ */
1215
+
1216
+ block.pedantic = merge({}, block.normal, {
1217
+ html: edit(
1218
+ '^ *(?:comment *(?:\\n|\\s*$)'
1219
+ + '|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)' // closed tag
1220
+ + '|<tag(?:"[^"]*"|\'[^\']*\'|\\s[^\'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))')
1221
+ .replace('comment', block._comment)
1222
+ .replace(/tag/g, '(?!(?:'
1223
+ + 'a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub'
1224
+ + '|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)'
1225
+ + '\\b)\\w+(?!:|[^\\w\\s@]*@)\\b')
1226
+ .getRegex(),
1227
+ def: /^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,
1228
+ heading: /^(#{1,6})(.*)(?:\n+|$)/,
1229
+ fences: noopTest, // fences not supported
1230
+ paragraph: edit(block.normal._paragraph)
1231
+ .replace('hr', block.hr)
1232
+ .replace('heading', ' *#{1,6} *[^\n]')
1233
+ .replace('lheading', block.lheading)
1234
+ .replace('blockquote', ' {0,3}>')
1235
+ .replace('|fences', '')
1236
+ .replace('|list', '')
1237
+ .replace('|html', '')
1238
+ .getRegex()
1239
+ });
1240
+
1241
+ /**
1242
+ * Inline-Level Grammar
1243
+ */
1244
+ const inline = {
1245
+ escape: /^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,
1246
+ autolink: /^<(scheme:[^\s\x00-\x1f<>]*|email)>/,
1247
+ url: noopTest,
1248
+ tag: '^comment'
1249
+ + '|^</[a-zA-Z][\\w:-]*\\s*>' // self-closing tag
1250
+ + '|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>' // open tag
1251
+ + '|^<\\?[\\s\\S]*?\\?>' // processing instruction, e.g. <?php ?>
1252
+ + '|^<![a-zA-Z]+\\s[\\s\\S]*?>' // declaration, e.g. <!DOCTYPE html>
1253
+ + '|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>', // CDATA section
1254
+ link: /^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/,
1255
+ reflink: /^!?\[(label)\]\[(ref)\]/,
1256
+ nolink: /^!?\[(ref)\](?:\[\])?/,
1257
+ reflinkSearch: 'reflink|nolink(?!\\()',
1258
+ emStrong: {
1259
+ lDelim: /^(?:\*+(?:([punct_])|[^\s*]))|^_+(?:([punct*])|([^\s_]))/,
1260
+ // (1) and (2) can only be a Right Delimiter. (3) and (4) can only be Left. (5) and (6) can be either Left or Right.
1261
+ // () Skip orphan inside strong () Consume to delim (1) #*** (2) a***#, a*** (3) #***a, ***a (4) ***# (5) #***# (6) a***a
1262
+ rDelimAst: /^[^_*]*?\_\_[^_*]*?\*[^_*]*?(?=\_\_)|[^*]+(?=[^*])|[punct_](\*+)(?=[\s]|$)|[^punct*_\s](\*+)(?=[punct_\s]|$)|[punct_\s](\*+)(?=[^punct*_\s])|[\s](\*+)(?=[punct_])|[punct_](\*+)(?=[punct_])|[^punct*_\s](\*+)(?=[^punct*_\s])/,
1263
+ rDelimUnd: /^[^_*]*?\*\*[^_*]*?\_[^_*]*?(?=\*\*)|[^_]+(?=[^_])|[punct*](\_+)(?=[\s]|$)|[^punct*_\s](\_+)(?=[punct*\s]|$)|[punct*\s](\_+)(?=[^punct*_\s])|[\s](\_+)(?=[punct*])|[punct*](\_+)(?=[punct*])/ // ^- Not allowed for _
1264
+ },
1265
+ code: /^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,
1266
+ br: /^( {2,}|\\)\n(?!\s*$)/,
1267
+ del: noopTest,
1268
+ text: /^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,
1269
+ punctuation: /^([\spunctuation])/
1270
+ };
1271
+
1272
+ // list of punctuation marks from CommonMark spec
1273
+ // without * and _ to handle the different emphasis markers * and _
1274
+ inline._punctuation = '!"#$%&\'()+\\-.,/:;<=>?@\\[\\]`^{|}~';
1275
+ inline.punctuation = edit(inline.punctuation).replace(/punctuation/g, inline._punctuation).getRegex();
1276
+
1277
+ // sequences em should skip over [title](link), `code`, <html>
1278
+ inline.blockSkip = /\[[^\]]*?\]\([^\)]*?\)|`[^`]*?`|<[^>]*?>/g;
1279
+ inline.escapedEmSt = /\\\*|\\_/g;
1280
+
1281
+ inline._comment = edit(block._comment).replace('(?:-->|$)', '-->').getRegex();
1282
+
1283
+ inline.emStrong.lDelim = edit(inline.emStrong.lDelim)
1284
+ .replace(/punct/g, inline._punctuation)
1285
+ .getRegex();
1286
+
1287
+ inline.emStrong.rDelimAst = edit(inline.emStrong.rDelimAst, 'g')
1288
+ .replace(/punct/g, inline._punctuation)
1289
+ .getRegex();
1290
+
1291
+ inline.emStrong.rDelimUnd = edit(inline.emStrong.rDelimUnd, 'g')
1292
+ .replace(/punct/g, inline._punctuation)
1293
+ .getRegex();
1294
+
1295
+ inline._escapes = /\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g;
1296
+
1297
+ inline._scheme = /[a-zA-Z][a-zA-Z0-9+.-]{1,31}/;
1298
+ inline._email = /[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/;
1299
+ inline.autolink = edit(inline.autolink)
1300
+ .replace('scheme', inline._scheme)
1301
+ .replace('email', inline._email)
1302
+ .getRegex();
1303
+
1304
+ inline._attribute = /\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/;
1305
+
1306
+ inline.tag = edit(inline.tag)
1307
+ .replace('comment', inline._comment)
1308
+ .replace('attribute', inline._attribute)
1309
+ .getRegex();
1310
+
1311
+ inline._label = /(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/;
1312
+ inline._href = /<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/;
1313
+ inline._title = /"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/;
1314
+
1315
+ inline.link = edit(inline.link)
1316
+ .replace('label', inline._label)
1317
+ .replace('href', inline._href)
1318
+ .replace('title', inline._title)
1319
+ .getRegex();
1320
+
1321
+ inline.reflink = edit(inline.reflink)
1322
+ .replace('label', inline._label)
1323
+ .replace('ref', block._label)
1324
+ .getRegex();
1325
+
1326
+ inline.nolink = edit(inline.nolink)
1327
+ .replace('ref', block._label)
1328
+ .getRegex();
1329
+
1330
+ inline.reflinkSearch = edit(inline.reflinkSearch, 'g')
1331
+ .replace('reflink', inline.reflink)
1332
+ .replace('nolink', inline.nolink)
1333
+ .getRegex();
1334
+
1335
+ /**
1336
+ * Normal Inline Grammar
1337
+ */
1338
+
1339
+ inline.normal = merge({}, inline);
1340
+
1341
+ /**
1342
+ * Pedantic Inline Grammar
1343
+ */
1344
+
1345
+ inline.pedantic = merge({}, inline.normal, {
1346
+ strong: {
1347
+ start: /^__|\*\*/,
1348
+ middle: /^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,
1349
+ endAst: /\*\*(?!\*)/g,
1350
+ endUnd: /__(?!_)/g
1351
+ },
1352
+ em: {
1353
+ start: /^_|\*/,
1354
+ middle: /^()\*(?=\S)([\s\S]*?\S)\*(?!\*)|^_(?=\S)([\s\S]*?\S)_(?!_)/,
1355
+ endAst: /\*(?!\*)/g,
1356
+ endUnd: /_(?!_)/g
1357
+ },
1358
+ link: edit(/^!?\[(label)\]\((.*?)\)/)
1359
+ .replace('label', inline._label)
1360
+ .getRegex(),
1361
+ reflink: edit(/^!?\[(label)\]\s*\[([^\]]*)\]/)
1362
+ .replace('label', inline._label)
1363
+ .getRegex()
1364
+ });
1365
+
1366
+ /**
1367
+ * GFM Inline Grammar
1368
+ */
1369
+
1370
+ inline.gfm = merge({}, inline.normal, {
1371
+ escape: edit(inline.escape).replace('])', '~|])').getRegex(),
1372
+ _extended_email: /[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/,
1373
+ url: /^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,
1374
+ _backpedal: /(?:[^?!.,:;*_~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_~)]+(?!$))+/,
1375
+ del: /^(~~?)(?=[^\s~])([\s\S]*?[^\s~])\1(?=[^~]|$)/,
1376
+ text: /^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/
1377
+ });
1378
+
1379
+ inline.gfm.url = edit(inline.gfm.url, 'i')
1380
+ .replace('email', inline.gfm._extended_email)
1381
+ .getRegex();
1382
+ /**
1383
+ * GFM + Line Breaks Inline Grammar
1384
+ */
1385
+
1386
+ inline.breaks = merge({}, inline.gfm, {
1387
+ br: edit(inline.br).replace('{2,}', '*').getRegex(),
1388
+ text: edit(inline.gfm.text)
1389
+ .replace('\\b_', '\\b_| {2,}\\n')
1390
+ .replace(/\{2,\}/g, '*')
1391
+ .getRegex()
1392
+ });
1393
+
1394
+ /**
1395
+ * smartypants text replacement
1396
+ * @param {string} text
1397
+ */
1398
+ function smartypants(text) {
1399
+ return text
1400
+ // em-dashes
1401
+ .replace(/---/g, '\u2014')
1402
+ // en-dashes
1403
+ .replace(/--/g, '\u2013')
1404
+ // opening singles
1405
+ .replace(/(^|[-\u2014/(\[{"\s])'/g, '$1\u2018')
1406
+ // closing singles & apostrophes
1407
+ .replace(/'/g, '\u2019')
1408
+ // opening doubles
1409
+ .replace(/(^|[-\u2014/(\[{\u2018\s])"/g, '$1\u201c')
1410
+ // closing doubles
1411
+ .replace(/"/g, '\u201d')
1412
+ // ellipses
1413
+ .replace(/\.{3}/g, '\u2026');
1414
+ }
1415
+
1416
+ /**
1417
+ * mangle email addresses
1418
+ * @param {string} text
1419
+ */
1420
+ function mangle(text) {
1421
+ let out = '',
1422
+ i,
1423
+ ch;
1424
+
1425
+ const l = text.length;
1426
+ for (i = 0; i < l; i++) {
1427
+ ch = text.charCodeAt(i);
1428
+ if (Math.random() > 0.5) {
1429
+ ch = 'x' + ch.toString(16);
1430
+ }
1431
+ out += '&#' + ch + ';';
1432
+ }
1433
+
1434
+ return out;
1435
+ }
1436
+
1437
+ /**
1438
+ * Block Lexer
1439
+ */
1440
+ class Lexer {
1441
+ constructor(options) {
1442
+ this.tokens = [];
1443
+ this.tokens.links = Object.create(null);
1444
+ this.options = options || defaults;
1445
+ this.options.tokenizer = this.options.tokenizer || new Tokenizer();
1446
+ this.tokenizer = this.options.tokenizer;
1447
+ this.tokenizer.options = this.options;
1448
+ this.tokenizer.lexer = this;
1449
+ this.inlineQueue = [];
1450
+ this.state = {
1451
+ inLink: false,
1452
+ inRawBlock: false,
1453
+ top: true
1454
+ };
1455
+
1456
+ const rules = {
1457
+ block: block.normal,
1458
+ inline: inline.normal
1459
+ };
1460
+
1461
+ if (this.options.pedantic) {
1462
+ rules.block = block.pedantic;
1463
+ rules.inline = inline.pedantic;
1464
+ } else if (this.options.gfm) {
1465
+ rules.block = block.gfm;
1466
+ if (this.options.breaks) {
1467
+ rules.inline = inline.breaks;
1468
+ } else {
1469
+ rules.inline = inline.gfm;
1470
+ }
1471
+ }
1472
+ this.tokenizer.rules = rules;
1473
+ }
1474
+
1475
+ /**
1476
+ * Expose Rules
1477
+ */
1478
+ static get rules() {
1479
+ return {
1480
+ block,
1481
+ inline
1482
+ };
1483
+ }
1484
+
1485
+ /**
1486
+ * Static Lex Method
1487
+ */
1488
+ static lex(src, options) {
1489
+ const lexer = new Lexer(options);
1490
+ return lexer.lex(src);
1491
+ }
1492
+
1493
+ /**
1494
+ * Static Lex Inline Method
1495
+ */
1496
+ static lexInline(src, options) {
1497
+ const lexer = new Lexer(options);
1498
+ return lexer.inlineTokens(src);
1499
+ }
1500
+
1501
+ /**
1502
+ * Preprocessing
1503
+ */
1504
+ lex(src) {
1505
+ src = src
1506
+ .replace(/\r\n|\r/g, '\n');
1507
+
1508
+ this.blockTokens(src, this.tokens);
1509
+
1510
+ let next;
1511
+ while (next = this.inlineQueue.shift()) {
1512
+ this.inlineTokens(next.src, next.tokens);
1513
+ }
1514
+
1515
+ return this.tokens;
1516
+ }
1517
+
1518
+ /**
1519
+ * Lexing
1520
+ */
1521
+ blockTokens(src, tokens = []) {
1522
+ if (this.options.pedantic) {
1523
+ src = src.replace(/\t/g, ' ').replace(/^ +$/gm, '');
1524
+ } else {
1525
+ src = src.replace(/^( *)(\t+)/gm, (_, leading, tabs) => {
1526
+ return leading + ' '.repeat(tabs.length);
1527
+ });
1528
+ }
1529
+
1530
+ let token, lastToken, cutSrc, lastParagraphClipped;
1531
+
1532
+ while (src) {
1533
+ if (this.options.extensions
1534
+ && this.options.extensions.block
1535
+ && this.options.extensions.block.some((extTokenizer) => {
1536
+ if (token = extTokenizer.call({ lexer: this }, src, tokens)) {
1537
+ src = src.substring(token.raw.length);
1538
+ tokens.push(token);
1539
+ return true;
1540
+ }
1541
+ return false;
1542
+ })) {
1543
+ continue;
1544
+ }
1545
+
1546
+ // newline
1547
+ if (token = this.tokenizer.space(src)) {
1548
+ src = src.substring(token.raw.length);
1549
+ if (token.raw.length === 1 && tokens.length > 0) {
1550
+ // if there's a single \n as a spacer, it's terminating the last line,
1551
+ // so move it there so that we don't get unecessary paragraph tags
1552
+ tokens[tokens.length - 1].raw += '\n';
1553
+ } else {
1554
+ tokens.push(token);
1555
+ }
1556
+ continue;
1557
+ }
1558
+
1559
+ // code
1560
+ if (token = this.tokenizer.code(src)) {
1561
+ src = src.substring(token.raw.length);
1562
+ lastToken = tokens[tokens.length - 1];
1563
+ // An indented code block cannot interrupt a paragraph.
1564
+ if (lastToken && (lastToken.type === 'paragraph' || lastToken.type === 'text')) {
1565
+ lastToken.raw += '\n' + token.raw;
1566
+ lastToken.text += '\n' + token.text;
1567
+ this.inlineQueue[this.inlineQueue.length - 1].src = lastToken.text;
1568
+ } else {
1569
+ tokens.push(token);
1570
+ }
1571
+ continue;
1572
+ }
1573
+
1574
+ // fences
1575
+ if (token = this.tokenizer.fences(src)) {
1576
+ src = src.substring(token.raw.length);
1577
+ tokens.push(token);
1578
+ continue;
1579
+ }
1580
+
1581
+ // heading
1582
+ if (token = this.tokenizer.heading(src)) {
1583
+ src = src.substring(token.raw.length);
1584
+ tokens.push(token);
1585
+ continue;
1586
+ }
1587
+
1588
+ // hr
1589
+ if (token = this.tokenizer.hr(src)) {
1590
+ src = src.substring(token.raw.length);
1591
+ tokens.push(token);
1592
+ continue;
1593
+ }
1594
+
1595
+ // blockquote
1596
+ if (token = this.tokenizer.blockquote(src)) {
1597
+ src = src.substring(token.raw.length);
1598
+ tokens.push(token);
1599
+ continue;
1600
+ }
1601
+
1602
+ // list
1603
+ if (token = this.tokenizer.list(src)) {
1604
+ src = src.substring(token.raw.length);
1605
+ tokens.push(token);
1606
+ continue;
1607
+ }
1608
+
1609
+ // html
1610
+ if (token = this.tokenizer.html(src)) {
1611
+ src = src.substring(token.raw.length);
1612
+ tokens.push(token);
1613
+ continue;
1614
+ }
1615
+
1616
+ // def
1617
+ if (token = this.tokenizer.def(src)) {
1618
+ src = src.substring(token.raw.length);
1619
+ lastToken = tokens[tokens.length - 1];
1620
+ if (lastToken && (lastToken.type === 'paragraph' || lastToken.type === 'text')) {
1621
+ lastToken.raw += '\n' + token.raw;
1622
+ lastToken.text += '\n' + token.raw;
1623
+ this.inlineQueue[this.inlineQueue.length - 1].src = lastToken.text;
1624
+ } else if (!this.tokens.links[token.tag]) {
1625
+ this.tokens.links[token.tag] = {
1626
+ href: token.href,
1627
+ title: token.title
1628
+ };
1629
+ }
1630
+ continue;
1631
+ }
1632
+
1633
+ // table (gfm)
1634
+ if (token = this.tokenizer.table(src)) {
1635
+ src = src.substring(token.raw.length);
1636
+ tokens.push(token);
1637
+ continue;
1638
+ }
1639
+
1640
+ // lheading
1641
+ if (token = this.tokenizer.lheading(src)) {
1642
+ src = src.substring(token.raw.length);
1643
+ tokens.push(token);
1644
+ continue;
1645
+ }
1646
+
1647
+ // top-level paragraph
1648
+ // prevent paragraph consuming extensions by clipping 'src' to extension start
1649
+ cutSrc = src;
1650
+ if (this.options.extensions && this.options.extensions.startBlock) {
1651
+ let startIndex = Infinity;
1652
+ const tempSrc = src.slice(1);
1653
+ let tempStart;
1654
+ this.options.extensions.startBlock.forEach(function(getStartIndex) {
1655
+ tempStart = getStartIndex.call({ lexer: this }, tempSrc);
1656
+ if (typeof tempStart === 'number' && tempStart >= 0) { startIndex = Math.min(startIndex, tempStart); }
1657
+ });
1658
+ if (startIndex < Infinity && startIndex >= 0) {
1659
+ cutSrc = src.substring(0, startIndex + 1);
1660
+ }
1661
+ }
1662
+ if (this.state.top && (token = this.tokenizer.paragraph(cutSrc))) {
1663
+ lastToken = tokens[tokens.length - 1];
1664
+ if (lastParagraphClipped && lastToken.type === 'paragraph') {
1665
+ lastToken.raw += '\n' + token.raw;
1666
+ lastToken.text += '\n' + token.text;
1667
+ this.inlineQueue.pop();
1668
+ this.inlineQueue[this.inlineQueue.length - 1].src = lastToken.text;
1669
+ } else {
1670
+ tokens.push(token);
1671
+ }
1672
+ lastParagraphClipped = (cutSrc.length !== src.length);
1673
+ src = src.substring(token.raw.length);
1674
+ continue;
1675
+ }
1676
+
1677
+ // text
1678
+ if (token = this.tokenizer.text(src)) {
1679
+ src = src.substring(token.raw.length);
1680
+ lastToken = tokens[tokens.length - 1];
1681
+ if (lastToken && lastToken.type === 'text') {
1682
+ lastToken.raw += '\n' + token.raw;
1683
+ lastToken.text += '\n' + token.text;
1684
+ this.inlineQueue.pop();
1685
+ this.inlineQueue[this.inlineQueue.length - 1].src = lastToken.text;
1686
+ } else {
1687
+ tokens.push(token);
1688
+ }
1689
+ continue;
1690
+ }
1691
+
1692
+ if (src) {
1693
+ const errMsg = 'Infinite loop on byte: ' + src.charCodeAt(0);
1694
+ if (this.options.silent) {
1695
+ console.error(errMsg);
1696
+ break;
1697
+ } else {
1698
+ throw new Error(errMsg);
1699
+ }
1700
+ }
1701
+ }
1702
+
1703
+ this.state.top = true;
1704
+ return tokens;
1705
+ }
1706
+
1707
+ inline(src, tokens = []) {
1708
+ this.inlineQueue.push({ src, tokens });
1709
+ return tokens;
1710
+ }
1711
+
1712
+ /**
1713
+ * Lexing/Compiling
1714
+ */
1715
+ inlineTokens(src, tokens = []) {
1716
+ let token, lastToken, cutSrc;
1717
+
1718
+ // String with links masked to avoid interference with em and strong
1719
+ let maskedSrc = src;
1720
+ let match;
1721
+ let keepPrevChar, prevChar;
1722
+
1723
+ // Mask out reflinks
1724
+ if (this.tokens.links) {
1725
+ const links = Object.keys(this.tokens.links);
1726
+ if (links.length > 0) {
1727
+ while ((match = this.tokenizer.rules.inline.reflinkSearch.exec(maskedSrc)) != null) {
1728
+ if (links.includes(match[0].slice(match[0].lastIndexOf('[') + 1, -1))) {
1729
+ maskedSrc = maskedSrc.slice(0, match.index) + '[' + repeatString('a', match[0].length - 2) + ']' + maskedSrc.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex);
1730
+ }
1731
+ }
1732
+ }
1733
+ }
1734
+ // Mask out other blocks
1735
+ while ((match = this.tokenizer.rules.inline.blockSkip.exec(maskedSrc)) != null) {
1736
+ maskedSrc = maskedSrc.slice(0, match.index) + '[' + repeatString('a', match[0].length - 2) + ']' + maskedSrc.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);
1737
+ }
1738
+
1739
+ // Mask out escaped em & strong delimiters
1740
+ while ((match = this.tokenizer.rules.inline.escapedEmSt.exec(maskedSrc)) != null) {
1741
+ maskedSrc = maskedSrc.slice(0, match.index) + '++' + maskedSrc.slice(this.tokenizer.rules.inline.escapedEmSt.lastIndex);
1742
+ }
1743
+
1744
+ while (src) {
1745
+ if (!keepPrevChar) {
1746
+ prevChar = '';
1747
+ }
1748
+ keepPrevChar = false;
1749
+
1750
+ // extensions
1751
+ if (this.options.extensions
1752
+ && this.options.extensions.inline
1753
+ && this.options.extensions.inline.some((extTokenizer) => {
1754
+ if (token = extTokenizer.call({ lexer: this }, src, tokens)) {
1755
+ src = src.substring(token.raw.length);
1756
+ tokens.push(token);
1757
+ return true;
1758
+ }
1759
+ return false;
1760
+ })) {
1761
+ continue;
1762
+ }
1763
+
1764
+ // escape
1765
+ if (token = this.tokenizer.escape(src)) {
1766
+ src = src.substring(token.raw.length);
1767
+ tokens.push(token);
1768
+ continue;
1769
+ }
1770
+
1771
+ // tag
1772
+ if (token = this.tokenizer.tag(src)) {
1773
+ src = src.substring(token.raw.length);
1774
+ lastToken = tokens[tokens.length - 1];
1775
+ if (lastToken && token.type === 'text' && lastToken.type === 'text') {
1776
+ lastToken.raw += token.raw;
1777
+ lastToken.text += token.text;
1778
+ } else {
1779
+ tokens.push(token);
1780
+ }
1781
+ continue;
1782
+ }
1783
+
1784
+ // link
1785
+ if (token = this.tokenizer.link(src)) {
1786
+ src = src.substring(token.raw.length);
1787
+ tokens.push(token);
1788
+ continue;
1789
+ }
1790
+
1791
+ // reflink, nolink
1792
+ if (token = this.tokenizer.reflink(src, this.tokens.links)) {
1793
+ src = src.substring(token.raw.length);
1794
+ lastToken = tokens[tokens.length - 1];
1795
+ if (lastToken && token.type === 'text' && lastToken.type === 'text') {
1796
+ lastToken.raw += token.raw;
1797
+ lastToken.text += token.text;
1798
+ } else {
1799
+ tokens.push(token);
1800
+ }
1801
+ continue;
1802
+ }
1803
+
1804
+ // em & strong
1805
+ if (token = this.tokenizer.emStrong(src, maskedSrc, prevChar)) {
1806
+ src = src.substring(token.raw.length);
1807
+ tokens.push(token);
1808
+ continue;
1809
+ }
1810
+
1811
+ // code
1812
+ if (token = this.tokenizer.codespan(src)) {
1813
+ src = src.substring(token.raw.length);
1814
+ tokens.push(token);
1815
+ continue;
1816
+ }
1817
+
1818
+ // br
1819
+ if (token = this.tokenizer.br(src)) {
1820
+ src = src.substring(token.raw.length);
1821
+ tokens.push(token);
1822
+ continue;
1823
+ }
1824
+
1825
+ // del (gfm)
1826
+ if (token = this.tokenizer.del(src)) {
1827
+ src = src.substring(token.raw.length);
1828
+ tokens.push(token);
1829
+ continue;
1830
+ }
1831
+
1832
+ // autolink
1833
+ if (token = this.tokenizer.autolink(src, mangle)) {
1834
+ src = src.substring(token.raw.length);
1835
+ tokens.push(token);
1836
+ continue;
1837
+ }
1838
+
1839
+ // url (gfm)
1840
+ if (!this.state.inLink && (token = this.tokenizer.url(src, mangle))) {
1841
+ src = src.substring(token.raw.length);
1842
+ tokens.push(token);
1843
+ continue;
1844
+ }
1845
+
1846
+ // text
1847
+ // prevent inlineText consuming extensions by clipping 'src' to extension start
1848
+ cutSrc = src;
1849
+ if (this.options.extensions && this.options.extensions.startInline) {
1850
+ let startIndex = Infinity;
1851
+ const tempSrc = src.slice(1);
1852
+ let tempStart;
1853
+ this.options.extensions.startInline.forEach(function(getStartIndex) {
1854
+ tempStart = getStartIndex.call({ lexer: this }, tempSrc);
1855
+ if (typeof tempStart === 'number' && tempStart >= 0) { startIndex = Math.min(startIndex, tempStart); }
1856
+ });
1857
+ if (startIndex < Infinity && startIndex >= 0) {
1858
+ cutSrc = src.substring(0, startIndex + 1);
1859
+ }
1860
+ }
1861
+ if (token = this.tokenizer.inlineText(cutSrc, smartypants)) {
1862
+ src = src.substring(token.raw.length);
1863
+ if (token.raw.slice(-1) !== '_') { // Track prevChar before string of ____ started
1864
+ prevChar = token.raw.slice(-1);
1865
+ }
1866
+ keepPrevChar = true;
1867
+ lastToken = tokens[tokens.length - 1];
1868
+ if (lastToken && lastToken.type === 'text') {
1869
+ lastToken.raw += token.raw;
1870
+ lastToken.text += token.text;
1871
+ } else {
1872
+ tokens.push(token);
1873
+ }
1874
+ continue;
1875
+ }
1876
+
1877
+ if (src) {
1878
+ const errMsg = 'Infinite loop on byte: ' + src.charCodeAt(0);
1879
+ if (this.options.silent) {
1880
+ console.error(errMsg);
1881
+ break;
1882
+ } else {
1883
+ throw new Error(errMsg);
1884
+ }
1885
+ }
1886
+ }
1887
+
1888
+ return tokens;
1889
+ }
1890
+ }
1891
+
1892
+ /**
1893
+ * Renderer
1894
+ */
1895
+ class Renderer {
1896
+ constructor(options) {
1897
+ this.options = options || defaults;
1898
+ }
1899
+
1900
+ code(code, infostring, escaped) {
1901
+ const lang = (infostring || '').match(/\S*/)[0];
1902
+ if (this.options.highlight) {
1903
+ const out = this.options.highlight(code, lang);
1904
+ if (out != null && out !== code) {
1905
+ escaped = true;
1906
+ code = out;
1907
+ }
1908
+ }
1909
+
1910
+ code = code.replace(/\n$/, '') + '\n';
1911
+
1912
+ if (!lang) {
1913
+ return '<pre><code>'
1914
+ + (escaped ? code : escape(code, true))
1915
+ + '</code></pre>\n';
1916
+ }
1917
+
1918
+ return '<pre><code class="'
1919
+ + this.options.langPrefix
1920
+ + escape(lang, true)
1921
+ + '">'
1922
+ + (escaped ? code : escape(code, true))
1923
+ + '</code></pre>\n';
1924
+ }
1925
+
1926
+ /**
1927
+ * @param {string} quote
1928
+ */
1929
+ blockquote(quote) {
1930
+ return `<blockquote>\n${quote}</blockquote>\n`;
1931
+ }
1932
+
1933
+ html(html) {
1934
+ return html;
1935
+ }
1936
+
1937
+ /**
1938
+ * @param {string} text
1939
+ * @param {string} level
1940
+ * @param {string} raw
1941
+ * @param {any} slugger
1942
+ */
1943
+ heading(text, level, raw, slugger) {
1944
+ if (this.options.headerIds) {
1945
+ const id = this.options.headerPrefix + slugger.slug(raw);
1946
+ return `<h${level} id="${id}">${text}</h${level}>\n`;
1947
+ }
1948
+
1949
+ // ignore IDs
1950
+ return `<h${level}>${text}</h${level}>\n`;
1951
+ }
1952
+
1953
+ hr() {
1954
+ return this.options.xhtml ? '<hr/>\n' : '<hr>\n';
1955
+ }
1956
+
1957
+ list(body, ordered, start) {
1958
+ const type = ordered ? 'ol' : 'ul',
1959
+ startatt = (ordered && start !== 1) ? (' start="' + start + '"') : '';
1960
+ return '<' + type + startatt + '>\n' + body + '</' + type + '>\n';
1961
+ }
1962
+
1963
+ /**
1964
+ * @param {string} text
1965
+ */
1966
+ listitem(text) {
1967
+ return `<li>${text}</li>\n`;
1968
+ }
1969
+
1970
+ checkbox(checked) {
1971
+ return '<input '
1972
+ + (checked ? 'checked="" ' : '')
1973
+ + 'disabled="" type="checkbox"'
1974
+ + (this.options.xhtml ? ' /' : '')
1975
+ + '> ';
1976
+ }
1977
+
1978
+ /**
1979
+ * @param {string} text
1980
+ */
1981
+ paragraph(text) {
1982
+ return `<p>${text}</p>\n`;
1983
+ }
1984
+
1985
+ /**
1986
+ * @param {string} header
1987
+ * @param {string} body
1988
+ */
1989
+ table(header, body) {
1990
+ if (body) body = `<tbody>${body}</tbody>`;
1991
+
1992
+ return '<table>\n'
1993
+ + '<thead>\n'
1994
+ + header
1995
+ + '</thead>\n'
1996
+ + body
1997
+ + '</table>\n';
1998
+ }
1999
+
2000
+ /**
2001
+ * @param {string} content
2002
+ */
2003
+ tablerow(content) {
2004
+ return `<tr>\n${content}</tr>\n`;
2005
+ }
2006
+
2007
+ tablecell(content, flags) {
2008
+ const type = flags.header ? 'th' : 'td';
2009
+ const tag = flags.align
2010
+ ? `<${type} align="${flags.align}">`
2011
+ : `<${type}>`;
2012
+ return tag + content + `</${type}>\n`;
2013
+ }
2014
+
2015
+ /**
2016
+ * span level renderer
2017
+ * @param {string} text
2018
+ */
2019
+ strong(text) {
2020
+ return `<strong>${text}</strong>`;
2021
+ }
2022
+
2023
+ /**
2024
+ * @param {string} text
2025
+ */
2026
+ em(text) {
2027
+ return `<em>${text}</em>`;
2028
+ }
2029
+
2030
+ /**
2031
+ * @param {string} text
2032
+ */
2033
+ codespan(text) {
2034
+ return `<code>${text}</code>`;
2035
+ }
2036
+
2037
+ br() {
2038
+ return this.options.xhtml ? '<br/>' : '<br>';
2039
+ }
2040
+
2041
+ /**
2042
+ * @param {string} text
2043
+ */
2044
+ del(text) {
2045
+ return `<del>${text}</del>`;
2046
+ }
2047
+
2048
+ /**
2049
+ * @param {string} href
2050
+ * @param {string} title
2051
+ * @param {string} text
2052
+ */
2053
+ link(href, title, text) {
2054
+ href = cleanUrl(this.options.sanitize, this.options.baseUrl, href);
2055
+ if (href === null) {
2056
+ return text;
2057
+ }
2058
+ let out = '<a href="' + escape(href) + '"';
2059
+ if (title) {
2060
+ out += ' title="' + title + '"';
2061
+ }
2062
+ out += '>' + text + '</a>';
2063
+ return out;
2064
+ }
2065
+
2066
+ /**
2067
+ * @param {string} href
2068
+ * @param {string} title
2069
+ * @param {string} text
2070
+ */
2071
+ image(href, title, text) {
2072
+ href = cleanUrl(this.options.sanitize, this.options.baseUrl, href);
2073
+ if (href === null) {
2074
+ return text;
2075
+ }
2076
+
2077
+ let out = `<img src="${href}" alt="${text}"`;
2078
+ if (title) {
2079
+ out += ` title="${title}"`;
2080
+ }
2081
+ out += this.options.xhtml ? '/>' : '>';
2082
+ return out;
2083
+ }
2084
+
2085
+ text(text) {
2086
+ return text;
2087
+ }
2088
+ }
2089
+
2090
+ /**
2091
+ * TextRenderer
2092
+ * returns only the textual part of the token
2093
+ */
2094
+ class TextRenderer {
2095
+ // no need for block level renderers
2096
+ strong(text) {
2097
+ return text;
2098
+ }
2099
+
2100
+ em(text) {
2101
+ return text;
2102
+ }
2103
+
2104
+ codespan(text) {
2105
+ return text;
2106
+ }
2107
+
2108
+ del(text) {
2109
+ return text;
2110
+ }
2111
+
2112
+ html(text) {
2113
+ return text;
2114
+ }
2115
+
2116
+ text(text) {
2117
+ return text;
2118
+ }
2119
+
2120
+ link(href, title, text) {
2121
+ return '' + text;
2122
+ }
2123
+
2124
+ image(href, title, text) {
2125
+ return '' + text;
2126
+ }
2127
+
2128
+ br() {
2129
+ return '';
2130
+ }
2131
+ }
2132
+
2133
+ /**
2134
+ * Slugger generates header id
2135
+ */
2136
+ class Slugger {
2137
+ constructor() {
2138
+ this.seen = {};
2139
+ }
2140
+
2141
+ /**
2142
+ * @param {string} value
2143
+ */
2144
+ serialize(value) {
2145
+ return value
2146
+ .toLowerCase()
2147
+ .trim()
2148
+ // remove html tags
2149
+ .replace(/<[!\/a-z].*?>/ig, '')
2150
+ // remove unwanted chars
2151
+ .replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g, '')
2152
+ .replace(/\s/g, '-');
2153
+ }
2154
+
2155
+ /**
2156
+ * Finds the next safe (unique) slug to use
2157
+ * @param {string} originalSlug
2158
+ * @param {boolean} isDryRun
2159
+ */
2160
+ getNextSafeSlug(originalSlug, isDryRun) {
2161
+ let slug = originalSlug;
2162
+ let occurenceAccumulator = 0;
2163
+ if (this.seen.hasOwnProperty(slug)) {
2164
+ occurenceAccumulator = this.seen[originalSlug];
2165
+ do {
2166
+ occurenceAccumulator++;
2167
+ slug = originalSlug + '-' + occurenceAccumulator;
2168
+ } while (this.seen.hasOwnProperty(slug));
2169
+ }
2170
+ if (!isDryRun) {
2171
+ this.seen[originalSlug] = occurenceAccumulator;
2172
+ this.seen[slug] = 0;
2173
+ }
2174
+ return slug;
2175
+ }
2176
+
2177
+ /**
2178
+ * Convert string to unique id
2179
+ * @param {object} [options]
2180
+ * @param {boolean} [options.dryrun] Generates the next unique slug without
2181
+ * updating the internal accumulator.
2182
+ */
2183
+ slug(value, options = {}) {
2184
+ const slug = this.serialize(value);
2185
+ return this.getNextSafeSlug(slug, options.dryrun);
2186
+ }
2187
+ }
2188
+
2189
+ /**
2190
+ * Parsing & Compiling
2191
+ */
2192
+ class Parser {
2193
+ constructor(options) {
2194
+ this.options = options || defaults;
2195
+ this.options.renderer = this.options.renderer || new Renderer();
2196
+ this.renderer = this.options.renderer;
2197
+ this.renderer.options = this.options;
2198
+ this.textRenderer = new TextRenderer();
2199
+ this.slugger = new Slugger();
2200
+ }
2201
+
2202
+ /**
2203
+ * Static Parse Method
2204
+ */
2205
+ static parse(tokens, options) {
2206
+ const parser = new Parser(options);
2207
+ return parser.parse(tokens);
2208
+ }
2209
+
2210
+ /**
2211
+ * Static Parse Inline Method
2212
+ */
2213
+ static parseInline(tokens, options) {
2214
+ const parser = new Parser(options);
2215
+ return parser.parseInline(tokens);
2216
+ }
2217
+
2218
+ /**
2219
+ * Parse Loop
2220
+ */
2221
+ parse(tokens, top = true) {
2222
+ let out = '',
2223
+ i,
2224
+ j,
2225
+ k,
2226
+ l2,
2227
+ l3,
2228
+ row,
2229
+ cell,
2230
+ header,
2231
+ body,
2232
+ token,
2233
+ ordered,
2234
+ start,
2235
+ loose,
2236
+ itemBody,
2237
+ item,
2238
+ checked,
2239
+ task,
2240
+ checkbox,
2241
+ ret;
2242
+
2243
+ const l = tokens.length;
2244
+ for (i = 0; i < l; i++) {
2245
+ token = tokens[i];
2246
+
2247
+ // Run any renderer extensions
2248
+ if (this.options.extensions && this.options.extensions.renderers && this.options.extensions.renderers[token.type]) {
2249
+ ret = this.options.extensions.renderers[token.type].call({ parser: this }, token);
2250
+ if (ret !== false || !['space', 'hr', 'heading', 'code', 'table', 'blockquote', 'list', 'html', 'paragraph', 'text'].includes(token.type)) {
2251
+ out += ret || '';
2252
+ continue;
2253
+ }
2254
+ }
2255
+
2256
+ switch (token.type) {
2257
+ case 'space': {
2258
+ continue;
2259
+ }
2260
+ case 'hr': {
2261
+ out += this.renderer.hr();
2262
+ continue;
2263
+ }
2264
+ case 'heading': {
2265
+ out += this.renderer.heading(
2266
+ this.parseInline(token.tokens),
2267
+ token.depth,
2268
+ unescape(this.parseInline(token.tokens, this.textRenderer)),
2269
+ this.slugger);
2270
+ continue;
2271
+ }
2272
+ case 'code': {
2273
+ out += this.renderer.code(token.text,
2274
+ token.lang,
2275
+ token.escaped);
2276
+ continue;
2277
+ }
2278
+ case 'table': {
2279
+ header = '';
2280
+
2281
+ // header
2282
+ cell = '';
2283
+ l2 = token.header.length;
2284
+ for (j = 0; j < l2; j++) {
2285
+ cell += this.renderer.tablecell(
2286
+ this.parseInline(token.header[j].tokens),
2287
+ { header: true, align: token.align[j] }
2288
+ );
2289
+ }
2290
+ header += this.renderer.tablerow(cell);
2291
+
2292
+ body = '';
2293
+ l2 = token.rows.length;
2294
+ for (j = 0; j < l2; j++) {
2295
+ row = token.rows[j];
2296
+
2297
+ cell = '';
2298
+ l3 = row.length;
2299
+ for (k = 0; k < l3; k++) {
2300
+ cell += this.renderer.tablecell(
2301
+ this.parseInline(row[k].tokens),
2302
+ { header: false, align: token.align[k] }
2303
+ );
2304
+ }
2305
+
2306
+ body += this.renderer.tablerow(cell);
2307
+ }
2308
+ out += this.renderer.table(header, body);
2309
+ continue;
2310
+ }
2311
+ case 'blockquote': {
2312
+ body = this.parse(token.tokens);
2313
+ out += this.renderer.blockquote(body);
2314
+ continue;
2315
+ }
2316
+ case 'list': {
2317
+ ordered = token.ordered;
2318
+ start = token.start;
2319
+ loose = token.loose;
2320
+ l2 = token.items.length;
2321
+
2322
+ body = '';
2323
+ for (j = 0; j < l2; j++) {
2324
+ item = token.items[j];
2325
+ checked = item.checked;
2326
+ task = item.task;
2327
+
2328
+ itemBody = '';
2329
+ if (item.task) {
2330
+ checkbox = this.renderer.checkbox(checked);
2331
+ if (loose) {
2332
+ if (item.tokens.length > 0 && item.tokens[0].type === 'paragraph') {
2333
+ item.tokens[0].text = checkbox + ' ' + item.tokens[0].text;
2334
+ if (item.tokens[0].tokens && item.tokens[0].tokens.length > 0 && item.tokens[0].tokens[0].type === 'text') {
2335
+ item.tokens[0].tokens[0].text = checkbox + ' ' + item.tokens[0].tokens[0].text;
2336
+ }
2337
+ } else {
2338
+ item.tokens.unshift({
2339
+ type: 'text',
2340
+ text: checkbox
2341
+ });
2342
+ }
2343
+ } else {
2344
+ itemBody += checkbox;
2345
+ }
2346
+ }
2347
+
2348
+ itemBody += this.parse(item.tokens, loose);
2349
+ body += this.renderer.listitem(itemBody, task, checked);
2350
+ }
2351
+
2352
+ out += this.renderer.list(body, ordered, start);
2353
+ continue;
2354
+ }
2355
+ case 'html': {
2356
+ // TODO parse inline content if parameter markdown=1
2357
+ out += this.renderer.html(token.text);
2358
+ continue;
2359
+ }
2360
+ case 'paragraph': {
2361
+ out += this.renderer.paragraph(this.parseInline(token.tokens));
2362
+ continue;
2363
+ }
2364
+ case 'text': {
2365
+ body = token.tokens ? this.parseInline(token.tokens) : token.text;
2366
+ while (i + 1 < l && tokens[i + 1].type === 'text') {
2367
+ token = tokens[++i];
2368
+ body += '\n' + (token.tokens ? this.parseInline(token.tokens) : token.text);
2369
+ }
2370
+ out += top ? this.renderer.paragraph(body) : body;
2371
+ continue;
2372
+ }
2373
+
2374
+ default: {
2375
+ const errMsg = 'Token with "' + token.type + '" type was not found.';
2376
+ if (this.options.silent) {
2377
+ console.error(errMsg);
2378
+ return;
2379
+ } else {
2380
+ throw new Error(errMsg);
2381
+ }
2382
+ }
2383
+ }
2384
+ }
2385
+
2386
+ return out;
2387
+ }
2388
+
2389
+ /**
2390
+ * Parse Inline Tokens
2391
+ */
2392
+ parseInline(tokens, renderer) {
2393
+ renderer = renderer || this.renderer;
2394
+ let out = '',
2395
+ i,
2396
+ token,
2397
+ ret;
2398
+
2399
+ const l = tokens.length;
2400
+ for (i = 0; i < l; i++) {
2401
+ token = tokens[i];
2402
+
2403
+ // Run any renderer extensions
2404
+ if (this.options.extensions && this.options.extensions.renderers && this.options.extensions.renderers[token.type]) {
2405
+ ret = this.options.extensions.renderers[token.type].call({ parser: this }, token);
2406
+ if (ret !== false || !['escape', 'html', 'link', 'image', 'strong', 'em', 'codespan', 'br', 'del', 'text'].includes(token.type)) {
2407
+ out += ret || '';
2408
+ continue;
2409
+ }
2410
+ }
2411
+
2412
+ switch (token.type) {
2413
+ case 'escape': {
2414
+ out += renderer.text(token.text);
2415
+ break;
2416
+ }
2417
+ case 'html': {
2418
+ out += renderer.html(token.text);
2419
+ break;
2420
+ }
2421
+ case 'link': {
2422
+ out += renderer.link(token.href, token.title, this.parseInline(token.tokens, renderer));
2423
+ break;
2424
+ }
2425
+ case 'image': {
2426
+ out += renderer.image(token.href, token.title, token.text);
2427
+ break;
2428
+ }
2429
+ case 'strong': {
2430
+ out += renderer.strong(this.parseInline(token.tokens, renderer));
2431
+ break;
2432
+ }
2433
+ case 'em': {
2434
+ out += renderer.em(this.parseInline(token.tokens, renderer));
2435
+ break;
2436
+ }
2437
+ case 'codespan': {
2438
+ out += renderer.codespan(token.text);
2439
+ break;
2440
+ }
2441
+ case 'br': {
2442
+ out += renderer.br();
2443
+ break;
2444
+ }
2445
+ case 'del': {
2446
+ out += renderer.del(this.parseInline(token.tokens, renderer));
2447
+ break;
2448
+ }
2449
+ case 'text': {
2450
+ out += renderer.text(token.text);
2451
+ break;
2452
+ }
2453
+ default: {
2454
+ const errMsg = 'Token with "' + token.type + '" type was not found.';
2455
+ if (this.options.silent) {
2456
+ console.error(errMsg);
2457
+ return;
2458
+ } else {
2459
+ throw new Error(errMsg);
2460
+ }
2461
+ }
2462
+ }
2463
+ }
2464
+ return out;
2465
+ }
2466
+ }
2467
+
2468
+ /**
2469
+ * Marked
2470
+ */
2471
+ function marked(src, opt, callback) {
2472
+ // throw error in case of non string input
2473
+ if (typeof src === 'undefined' || src === null) {
2474
+ throw new Error('marked(): input parameter is undefined or null');
2475
+ }
2476
+ if (typeof src !== 'string') {
2477
+ throw new Error('marked(): input parameter is of type '
2478
+ + Object.prototype.toString.call(src) + ', string expected');
2479
+ }
2480
+
2481
+ if (typeof opt === 'function') {
2482
+ callback = opt;
2483
+ opt = null;
2484
+ }
2485
+
2486
+ opt = merge({}, marked.defaults, opt || {});
2487
+ checkSanitizeDeprecation(opt);
2488
+
2489
+ if (callback) {
2490
+ const highlight = opt.highlight;
2491
+ let tokens;
2492
+
2493
+ try {
2494
+ tokens = Lexer.lex(src, opt);
2495
+ } catch (e) {
2496
+ return callback(e);
2497
+ }
2498
+
2499
+ const done = function(err) {
2500
+ let out;
2501
+
2502
+ if (!err) {
2503
+ try {
2504
+ if (opt.walkTokens) {
2505
+ marked.walkTokens(tokens, opt.walkTokens);
2506
+ }
2507
+ out = Parser.parse(tokens, opt);
2508
+ } catch (e) {
2509
+ err = e;
2510
+ }
2511
+ }
2512
+
2513
+ opt.highlight = highlight;
2514
+
2515
+ return err
2516
+ ? callback(err)
2517
+ : callback(null, out);
2518
+ };
2519
+
2520
+ if (!highlight || highlight.length < 3) {
2521
+ return done();
2522
+ }
2523
+
2524
+ delete opt.highlight;
2525
+
2526
+ if (!tokens.length) return done();
2527
+
2528
+ let pending = 0;
2529
+ marked.walkTokens(tokens, function(token) {
2530
+ if (token.type === 'code') {
2531
+ pending++;
2532
+ setTimeout(() => {
2533
+ highlight(token.text, token.lang, function(err, code) {
2534
+ if (err) {
2535
+ return done(err);
2536
+ }
2537
+ if (code != null && code !== token.text) {
2538
+ token.text = code;
2539
+ token.escaped = true;
2540
+ }
2541
+
2542
+ pending--;
2543
+ if (pending === 0) {
2544
+ done();
2545
+ }
2546
+ });
2547
+ }, 0);
2548
+ }
2549
+ });
2550
+
2551
+ if (pending === 0) {
2552
+ done();
2553
+ }
2554
+
2555
+ return;
2556
+ }
2557
+
2558
+ try {
2559
+ const tokens = Lexer.lex(src, opt);
2560
+ if (opt.walkTokens) {
2561
+ marked.walkTokens(tokens, opt.walkTokens);
2562
+ }
2563
+ return Parser.parse(tokens, opt);
2564
+ } catch (e) {
2565
+ e.message += '\nPlease report this to https://github.com/markedjs/marked.';
2566
+ if (opt.silent) {
2567
+ return '<p>An error occurred:</p><pre>'
2568
+ + escape(e.message + '', true)
2569
+ + '</pre>';
2570
+ }
2571
+ throw e;
2572
+ }
2573
+ }
2574
+
2575
+ /**
2576
+ * Options
2577
+ */
2578
+
2579
+ marked.options =
2580
+ marked.setOptions = function(opt) {
2581
+ merge(marked.defaults, opt);
2582
+ changeDefaults(marked.defaults);
2583
+ return marked;
2584
+ };
2585
+
2586
+ marked.getDefaults = getDefaults;
2587
+
2588
+ marked.defaults = defaults;
2589
+
2590
+ /**
2591
+ * Use Extension
2592
+ */
2593
+
2594
+ marked.use = function(...args) {
2595
+ const opts = merge({}, ...args);
2596
+ const extensions = marked.defaults.extensions || { renderers: {}, childTokens: {} };
2597
+ let hasExtensions;
2598
+
2599
+ args.forEach((pack) => {
2600
+ // ==-- Parse "addon" extensions --== //
2601
+ if (pack.extensions) {
2602
+ hasExtensions = true;
2603
+ pack.extensions.forEach((ext) => {
2604
+ if (!ext.name) {
2605
+ throw new Error('extension name required');
2606
+ }
2607
+ if (ext.renderer) { // Renderer extensions
2608
+ const prevRenderer = extensions.renderers ? extensions.renderers[ext.name] : null;
2609
+ if (prevRenderer) {
2610
+ // Replace extension with func to run new extension but fall back if false
2611
+ extensions.renderers[ext.name] = function(...args) {
2612
+ let ret = ext.renderer.apply(this, args);
2613
+ if (ret === false) {
2614
+ ret = prevRenderer.apply(this, args);
2615
+ }
2616
+ return ret;
2617
+ };
2618
+ } else {
2619
+ extensions.renderers[ext.name] = ext.renderer;
2620
+ }
2621
+ }
2622
+ if (ext.tokenizer) { // Tokenizer Extensions
2623
+ if (!ext.level || (ext.level !== 'block' && ext.level !== 'inline')) {
2624
+ throw new Error("extension level must be 'block' or 'inline'");
2625
+ }
2626
+ if (extensions[ext.level]) {
2627
+ extensions[ext.level].unshift(ext.tokenizer);
2628
+ } else {
2629
+ extensions[ext.level] = [ext.tokenizer];
2630
+ }
2631
+ if (ext.start) { // Function to check for start of token
2632
+ if (ext.level === 'block') {
2633
+ if (extensions.startBlock) {
2634
+ extensions.startBlock.push(ext.start);
2635
+ } else {
2636
+ extensions.startBlock = [ext.start];
2637
+ }
2638
+ } else if (ext.level === 'inline') {
2639
+ if (extensions.startInline) {
2640
+ extensions.startInline.push(ext.start);
2641
+ } else {
2642
+ extensions.startInline = [ext.start];
2643
+ }
2644
+ }
2645
+ }
2646
+ }
2647
+ if (ext.childTokens) { // Child tokens to be visited by walkTokens
2648
+ extensions.childTokens[ext.name] = ext.childTokens;
2649
+ }
2650
+ });
2651
+ }
2652
+
2653
+ // ==-- Parse "overwrite" extensions --== //
2654
+ if (pack.renderer) {
2655
+ const renderer = marked.defaults.renderer || new Renderer();
2656
+ for (const prop in pack.renderer) {
2657
+ const prevRenderer = renderer[prop];
2658
+ // Replace renderer with func to run extension, but fall back if false
2659
+ renderer[prop] = (...args) => {
2660
+ let ret = pack.renderer[prop].apply(renderer, args);
2661
+ if (ret === false) {
2662
+ ret = prevRenderer.apply(renderer, args);
2663
+ }
2664
+ return ret;
2665
+ };
2666
+ }
2667
+ opts.renderer = renderer;
2668
+ }
2669
+ if (pack.tokenizer) {
2670
+ const tokenizer = marked.defaults.tokenizer || new Tokenizer();
2671
+ for (const prop in pack.tokenizer) {
2672
+ const prevTokenizer = tokenizer[prop];
2673
+ // Replace tokenizer with func to run extension, but fall back if false
2674
+ tokenizer[prop] = (...args) => {
2675
+ let ret = pack.tokenizer[prop].apply(tokenizer, args);
2676
+ if (ret === false) {
2677
+ ret = prevTokenizer.apply(tokenizer, args);
2678
+ }
2679
+ return ret;
2680
+ };
2681
+ }
2682
+ opts.tokenizer = tokenizer;
2683
+ }
2684
+
2685
+ // ==-- Parse WalkTokens extensions --== //
2686
+ if (pack.walkTokens) {
2687
+ const walkTokens = marked.defaults.walkTokens;
2688
+ opts.walkTokens = function(token) {
2689
+ pack.walkTokens.call(this, token);
2690
+ if (walkTokens) {
2691
+ walkTokens.call(this, token);
2692
+ }
2693
+ };
2694
+ }
2695
+
2696
+ if (hasExtensions) {
2697
+ opts.extensions = extensions;
2698
+ }
2699
+
2700
+ marked.setOptions(opts);
2701
+ });
2702
+ };
2703
+
2704
+ /**
2705
+ * Run callback for every token
2706
+ */
2707
+
2708
+ marked.walkTokens = function(tokens, callback) {
2709
+ for (const token of tokens) {
2710
+ callback.call(marked, token);
2711
+ switch (token.type) {
2712
+ case 'table': {
2713
+ for (const cell of token.header) {
2714
+ marked.walkTokens(cell.tokens, callback);
2715
+ }
2716
+ for (const row of token.rows) {
2717
+ for (const cell of row) {
2718
+ marked.walkTokens(cell.tokens, callback);
2719
+ }
2720
+ }
2721
+ break;
2722
+ }
2723
+ case 'list': {
2724
+ marked.walkTokens(token.items, callback);
2725
+ break;
2726
+ }
2727
+ default: {
2728
+ if (marked.defaults.extensions && marked.defaults.extensions.childTokens && marked.defaults.extensions.childTokens[token.type]) { // Walk any extensions
2729
+ marked.defaults.extensions.childTokens[token.type].forEach(function(childTokens) {
2730
+ marked.walkTokens(token[childTokens], callback);
2731
+ });
2732
+ } else if (token.tokens) {
2733
+ marked.walkTokens(token.tokens, callback);
2734
+ }
2735
+ }
2736
+ }
2737
+ }
2738
+ };
2739
+
2740
+ /**
2741
+ * Parse Inline
2742
+ * @param {string} src
2743
+ */
2744
+ marked.parseInline = function(src, opt) {
2745
+ // throw error in case of non string input
2746
+ if (typeof src === 'undefined' || src === null) {
2747
+ throw new Error('marked.parseInline(): input parameter is undefined or null');
2748
+ }
2749
+ if (typeof src !== 'string') {
2750
+ throw new Error('marked.parseInline(): input parameter is of type '
2751
+ + Object.prototype.toString.call(src) + ', string expected');
2752
+ }
2753
+
2754
+ opt = merge({}, marked.defaults, opt || {});
2755
+ checkSanitizeDeprecation(opt);
2756
+
2757
+ try {
2758
+ const tokens = Lexer.lexInline(src, opt);
2759
+ if (opt.walkTokens) {
2760
+ marked.walkTokens(tokens, opt.walkTokens);
2761
+ }
2762
+ return Parser.parseInline(tokens, opt);
2763
+ } catch (e) {
2764
+ e.message += '\nPlease report this to https://github.com/markedjs/marked.';
2765
+ if (opt.silent) {
2766
+ return '<p>An error occurred:</p><pre>'
2767
+ + escape(e.message + '', true)
2768
+ + '</pre>';
2769
+ }
2770
+ throw e;
2771
+ }
2772
+ };
2773
+
2774
+ /**
2775
+ * Expose
2776
+ */
2777
+ marked.Parser = Parser;
2778
+ marked.parser = Parser.parse;
2779
+ marked.Renderer = Renderer;
2780
+ marked.TextRenderer = TextRenderer;
2781
+ marked.Lexer = Lexer;
2782
+ marked.lexer = Lexer.lex;
2783
+ marked.Tokenizer = Tokenizer;
2784
+ marked.Slugger = Slugger;
2785
+ marked.parse = marked;
2786
+
2787
+ const options = marked.options;
2788
+ const setOptions = marked.setOptions;
2789
+ const use = marked.use;
2790
+ const walkTokens = marked.walkTokens;
2791
+ const parseInline = marked.parseInline;
2792
+ const parse = marked;
2793
+ const parser = Parser.parse;
2794
+ const lexer = Lexer.lex;
2795
+
2796
+ export { Lexer, Parser, Renderer, Slugger, TextRenderer, Tokenizer, defaults, getDefaults, lexer, marked, options, parse, parseInline, parser, setOptions, use, walkTokens };