korext 0.8.0 → 0.8.2

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 (521) hide show
  1. package/package.json +3 -14
  2. package/CHANGELOG.md +0 -72
  3. package/dummy.pdf +0 -0
  4. package/korext.json +0 -11
  5. package/node_modules/ansi-regex/index.d.ts +0 -37
  6. package/node_modules/ansi-regex/index.js +0 -10
  7. package/node_modules/ansi-regex/license +0 -9
  8. package/node_modules/ansi-regex/package.json +0 -55
  9. package/node_modules/ansi-regex/readme.md +0 -78
  10. package/node_modules/ansi-styles/index.d.ts +0 -345
  11. package/node_modules/ansi-styles/index.js +0 -163
  12. package/node_modules/ansi-styles/license +0 -9
  13. package/node_modules/ansi-styles/package.json +0 -56
  14. package/node_modules/ansi-styles/readme.md +0 -152
  15. package/node_modules/balanced-match/LICENSE.md +0 -23
  16. package/node_modules/balanced-match/README.md +0 -57
  17. package/node_modules/balanced-match/dist/commonjs/index.d.ts +0 -9
  18. package/node_modules/balanced-match/dist/commonjs/index.d.ts.map +0 -1
  19. package/node_modules/balanced-match/dist/commonjs/index.js +0 -59
  20. package/node_modules/balanced-match/dist/commonjs/index.js.map +0 -1
  21. package/node_modules/balanced-match/dist/commonjs/package.json +0 -3
  22. package/node_modules/balanced-match/dist/esm/index.d.ts +0 -9
  23. package/node_modules/balanced-match/dist/esm/index.d.ts.map +0 -1
  24. package/node_modules/balanced-match/dist/esm/index.js +0 -54
  25. package/node_modules/balanced-match/dist/esm/index.js.map +0 -1
  26. package/node_modules/balanced-match/dist/esm/package.json +0 -3
  27. package/node_modules/balanced-match/package.json +0 -68
  28. package/node_modules/base64-js/LICENSE +0 -21
  29. package/node_modules/base64-js/README.md +0 -34
  30. package/node_modules/base64-js/base64js.min.js +0 -1
  31. package/node_modules/base64-js/index.d.ts +0 -3
  32. package/node_modules/base64-js/index.js +0 -150
  33. package/node_modules/base64-js/package.json +0 -47
  34. package/node_modules/bl/.travis.yml +0 -17
  35. package/node_modules/bl/BufferList.js +0 -396
  36. package/node_modules/bl/LICENSE.md +0 -13
  37. package/node_modules/bl/README.md +0 -247
  38. package/node_modules/bl/bl.js +0 -84
  39. package/node_modules/bl/package.json +0 -37
  40. package/node_modules/bl/test/convert.js +0 -21
  41. package/node_modules/bl/test/indexOf.js +0 -492
  42. package/node_modules/bl/test/isBufferList.js +0 -32
  43. package/node_modules/bl/test/test.js +0 -869
  44. package/node_modules/brace-expansion/LICENSE +0 -23
  45. package/node_modules/brace-expansion/README.md +0 -94
  46. package/node_modules/brace-expansion/dist/commonjs/index.d.ts +0 -6
  47. package/node_modules/brace-expansion/dist/commonjs/index.d.ts.map +0 -1
  48. package/node_modules/brace-expansion/dist/commonjs/index.js +0 -199
  49. package/node_modules/brace-expansion/dist/commonjs/index.js.map +0 -1
  50. package/node_modules/brace-expansion/dist/commonjs/package.json +0 -3
  51. package/node_modules/brace-expansion/dist/esm/index.d.ts +0 -6
  52. package/node_modules/brace-expansion/dist/esm/index.d.ts.map +0 -1
  53. package/node_modules/brace-expansion/dist/esm/index.js +0 -195
  54. package/node_modules/brace-expansion/dist/esm/index.js.map +0 -1
  55. package/node_modules/brace-expansion/dist/esm/package.json +0 -3
  56. package/node_modules/brace-expansion/package.json +0 -64
  57. package/node_modules/buffer/AUTHORS.md +0 -70
  58. package/node_modules/buffer/LICENSE +0 -21
  59. package/node_modules/buffer/README.md +0 -410
  60. package/node_modules/buffer/index.d.ts +0 -186
  61. package/node_modules/buffer/index.js +0 -1817
  62. package/node_modules/buffer/package.json +0 -96
  63. package/node_modules/chalk/index.d.ts +0 -415
  64. package/node_modules/chalk/license +0 -9
  65. package/node_modules/chalk/package.json +0 -68
  66. package/node_modules/chalk/readme.md +0 -341
  67. package/node_modules/chalk/source/index.js +0 -229
  68. package/node_modules/chalk/source/templates.js +0 -134
  69. package/node_modules/chalk/source/util.js +0 -39
  70. package/node_modules/cli-cursor/index.d.ts +0 -45
  71. package/node_modules/cli-cursor/index.js +0 -35
  72. package/node_modules/cli-cursor/license +0 -9
  73. package/node_modules/cli-cursor/package.json +0 -46
  74. package/node_modules/cli-cursor/readme.md +0 -55
  75. package/node_modules/cli-spinners/index.d.ts +0 -128
  76. package/node_modules/cli-spinners/index.js +0 -15
  77. package/node_modules/cli-spinners/license +0 -9
  78. package/node_modules/cli-spinners/package.json +0 -50
  79. package/node_modules/cli-spinners/readme.md +0 -54
  80. package/node_modules/cli-spinners/spinners.json +0 -1622
  81. package/node_modules/clone/.npmignore +0 -4
  82. package/node_modules/clone/LICENSE +0 -18
  83. package/node_modules/clone/README.md +0 -126
  84. package/node_modules/clone/clone.iml +0 -10
  85. package/node_modules/clone/clone.js +0 -166
  86. package/node_modules/clone/package.json +0 -51
  87. package/node_modules/color-convert/CHANGELOG.md +0 -54
  88. package/node_modules/color-convert/LICENSE +0 -21
  89. package/node_modules/color-convert/README.md +0 -68
  90. package/node_modules/color-convert/conversions.js +0 -839
  91. package/node_modules/color-convert/index.js +0 -81
  92. package/node_modules/color-convert/package.json +0 -48
  93. package/node_modules/color-convert/route.js +0 -97
  94. package/node_modules/color-name/LICENSE +0 -8
  95. package/node_modules/color-name/README.md +0 -11
  96. package/node_modules/color-name/index.js +0 -152
  97. package/node_modules/color-name/package.json +0 -28
  98. package/node_modules/commander/LICENSE +0 -22
  99. package/node_modules/commander/Readme.md +0 -1176
  100. package/node_modules/commander/esm.mjs +0 -16
  101. package/node_modules/commander/index.js +0 -24
  102. package/node_modules/commander/lib/argument.js +0 -150
  103. package/node_modules/commander/lib/command.js +0 -2777
  104. package/node_modules/commander/lib/error.js +0 -39
  105. package/node_modules/commander/lib/help.js +0 -747
  106. package/node_modules/commander/lib/option.js +0 -380
  107. package/node_modules/commander/lib/suggestSimilar.js +0 -101
  108. package/node_modules/commander/package-support.json +0 -19
  109. package/node_modules/commander/package.json +0 -82
  110. package/node_modules/commander/typings/esm.d.mts +0 -3
  111. package/node_modules/commander/typings/index.d.ts +0 -1113
  112. package/node_modules/data-uri-to-buffer/README.md +0 -88
  113. package/node_modules/data-uri-to-buffer/dist/index.d.ts +0 -15
  114. package/node_modules/data-uri-to-buffer/dist/index.js +0 -53
  115. package/node_modules/data-uri-to-buffer/dist/index.js.map +0 -1
  116. package/node_modules/data-uri-to-buffer/package.json +0 -62
  117. package/node_modules/data-uri-to-buffer/src/index.ts +0 -68
  118. package/node_modules/defaults/LICENSE +0 -22
  119. package/node_modules/defaults/README.md +0 -39
  120. package/node_modules/defaults/index.js +0 -13
  121. package/node_modules/defaults/package.json +0 -33
  122. package/node_modules/defaults/test.js +0 -34
  123. package/node_modules/fetch-blob/LICENSE +0 -21
  124. package/node_modules/fetch-blob/README.md +0 -106
  125. package/node_modules/fetch-blob/file.d.ts +0 -2
  126. package/node_modules/fetch-blob/file.js +0 -49
  127. package/node_modules/fetch-blob/from.d.ts +0 -26
  128. package/node_modules/fetch-blob/from.js +0 -100
  129. package/node_modules/fetch-blob/index.d.ts +0 -3
  130. package/node_modules/fetch-blob/index.js +0 -250
  131. package/node_modules/fetch-blob/package.json +0 -56
  132. package/node_modules/fetch-blob/streams.cjs +0 -51
  133. package/node_modules/formdata-polyfill/FormData.js +0 -441
  134. package/node_modules/formdata-polyfill/LICENSE +0 -21
  135. package/node_modules/formdata-polyfill/README.md +0 -145
  136. package/node_modules/formdata-polyfill/esm.min.d.ts +0 -5
  137. package/node_modules/formdata-polyfill/esm.min.js +0 -40
  138. package/node_modules/formdata-polyfill/formdata-to-blob.js +0 -39
  139. package/node_modules/formdata-polyfill/formdata.min.js +0 -21
  140. package/node_modules/formdata-polyfill/package.json +0 -50
  141. package/node_modules/glob/LICENSE.md +0 -63
  142. package/node_modules/glob/README.md +0 -1203
  143. package/node_modules/glob/dist/commonjs/glob.d.ts +0 -396
  144. package/node_modules/glob/dist/commonjs/glob.d.ts.map +0 -1
  145. package/node_modules/glob/dist/commonjs/glob.js +0 -248
  146. package/node_modules/glob/dist/commonjs/glob.js.map +0 -1
  147. package/node_modules/glob/dist/commonjs/has-magic.d.ts +0 -14
  148. package/node_modules/glob/dist/commonjs/has-magic.d.ts.map +0 -1
  149. package/node_modules/glob/dist/commonjs/has-magic.js +0 -27
  150. package/node_modules/glob/dist/commonjs/has-magic.js.map +0 -1
  151. package/node_modules/glob/dist/commonjs/ignore.d.ts +0 -24
  152. package/node_modules/glob/dist/commonjs/ignore.d.ts.map +0 -1
  153. package/node_modules/glob/dist/commonjs/ignore.js +0 -119
  154. package/node_modules/glob/dist/commonjs/ignore.js.map +0 -1
  155. package/node_modules/glob/dist/commonjs/index.d.ts +0 -97
  156. package/node_modules/glob/dist/commonjs/index.d.ts.map +0 -1
  157. package/node_modules/glob/dist/commonjs/index.js +0 -68
  158. package/node_modules/glob/dist/commonjs/index.js.map +0 -1
  159. package/node_modules/glob/dist/commonjs/index.min.js +0 -4
  160. package/node_modules/glob/dist/commonjs/index.min.js.map +0 -7
  161. package/node_modules/glob/dist/commonjs/package.json +0 -3
  162. package/node_modules/glob/dist/commonjs/pattern.d.ts +0 -79
  163. package/node_modules/glob/dist/commonjs/pattern.d.ts.map +0 -1
  164. package/node_modules/glob/dist/commonjs/pattern.js +0 -223
  165. package/node_modules/glob/dist/commonjs/pattern.js.map +0 -1
  166. package/node_modules/glob/dist/commonjs/processor.d.ts +0 -59
  167. package/node_modules/glob/dist/commonjs/processor.d.ts.map +0 -1
  168. package/node_modules/glob/dist/commonjs/processor.js +0 -301
  169. package/node_modules/glob/dist/commonjs/processor.js.map +0 -1
  170. package/node_modules/glob/dist/commonjs/walker.d.ts +0 -97
  171. package/node_modules/glob/dist/commonjs/walker.d.ts.map +0 -1
  172. package/node_modules/glob/dist/commonjs/walker.js +0 -387
  173. package/node_modules/glob/dist/commonjs/walker.js.map +0 -1
  174. package/node_modules/glob/dist/esm/glob.d.ts +0 -396
  175. package/node_modules/glob/dist/esm/glob.d.ts.map +0 -1
  176. package/node_modules/glob/dist/esm/glob.js +0 -244
  177. package/node_modules/glob/dist/esm/glob.js.map +0 -1
  178. package/node_modules/glob/dist/esm/has-magic.d.ts +0 -14
  179. package/node_modules/glob/dist/esm/has-magic.d.ts.map +0 -1
  180. package/node_modules/glob/dist/esm/has-magic.js +0 -23
  181. package/node_modules/glob/dist/esm/has-magic.js.map +0 -1
  182. package/node_modules/glob/dist/esm/ignore.d.ts +0 -24
  183. package/node_modules/glob/dist/esm/ignore.d.ts.map +0 -1
  184. package/node_modules/glob/dist/esm/ignore.js +0 -115
  185. package/node_modules/glob/dist/esm/ignore.js.map +0 -1
  186. package/node_modules/glob/dist/esm/index.d.ts +0 -97
  187. package/node_modules/glob/dist/esm/index.d.ts.map +0 -1
  188. package/node_modules/glob/dist/esm/index.js +0 -55
  189. package/node_modules/glob/dist/esm/index.js.map +0 -1
  190. package/node_modules/glob/dist/esm/index.min.js +0 -4
  191. package/node_modules/glob/dist/esm/index.min.js.map +0 -7
  192. package/node_modules/glob/dist/esm/package.json +0 -3
  193. package/node_modules/glob/dist/esm/pattern.d.ts +0 -79
  194. package/node_modules/glob/dist/esm/pattern.d.ts.map +0 -1
  195. package/node_modules/glob/dist/esm/pattern.js +0 -219
  196. package/node_modules/glob/dist/esm/pattern.js.map +0 -1
  197. package/node_modules/glob/dist/esm/processor.d.ts +0 -59
  198. package/node_modules/glob/dist/esm/processor.d.ts.map +0 -1
  199. package/node_modules/glob/dist/esm/processor.js +0 -294
  200. package/node_modules/glob/dist/esm/processor.js.map +0 -1
  201. package/node_modules/glob/dist/esm/walker.d.ts +0 -97
  202. package/node_modules/glob/dist/esm/walker.d.ts.map +0 -1
  203. package/node_modules/glob/dist/esm/walker.js +0 -381
  204. package/node_modules/glob/dist/esm/walker.js.map +0 -1
  205. package/node_modules/glob/package.json +0 -98
  206. package/node_modules/has-flag/index.d.ts +0 -39
  207. package/node_modules/has-flag/index.js +0 -8
  208. package/node_modules/has-flag/license +0 -9
  209. package/node_modules/has-flag/package.json +0 -46
  210. package/node_modules/has-flag/readme.md +0 -89
  211. package/node_modules/ieee754/LICENSE +0 -11
  212. package/node_modules/ieee754/README.md +0 -51
  213. package/node_modules/ieee754/index.d.ts +0 -10
  214. package/node_modules/ieee754/index.js +0 -85
  215. package/node_modules/ieee754/package.json +0 -52
  216. package/node_modules/inherits/LICENSE +0 -16
  217. package/node_modules/inherits/README.md +0 -42
  218. package/node_modules/inherits/inherits.js +0 -9
  219. package/node_modules/inherits/inherits_browser.js +0 -27
  220. package/node_modules/inherits/package.json +0 -29
  221. package/node_modules/is-interactive/index.d.ts +0 -31
  222. package/node_modules/is-interactive/index.js +0 -9
  223. package/node_modules/is-interactive/license +0 -9
  224. package/node_modules/is-interactive/package.json +0 -38
  225. package/node_modules/is-interactive/readme.md +0 -51
  226. package/node_modules/is-unicode-supported/index.d.ts +0 -14
  227. package/node_modules/is-unicode-supported/index.js +0 -13
  228. package/node_modules/is-unicode-supported/license +0 -9
  229. package/node_modules/is-unicode-supported/package.json +0 -41
  230. package/node_modules/is-unicode-supported/readme.md +0 -35
  231. package/node_modules/log-symbols/browser.js +0 -8
  232. package/node_modules/log-symbols/index.d.ts +0 -25
  233. package/node_modules/log-symbols/index.js +0 -19
  234. package/node_modules/log-symbols/license +0 -9
  235. package/node_modules/log-symbols/package.json +0 -52
  236. package/node_modules/log-symbols/readme.md +0 -51
  237. package/node_modules/lru-cache/LICENSE.md +0 -55
  238. package/node_modules/lru-cache/README.md +0 -383
  239. package/node_modules/lru-cache/dist/commonjs/index.d.ts +0 -1323
  240. package/node_modules/lru-cache/dist/commonjs/index.d.ts.map +0 -1
  241. package/node_modules/lru-cache/dist/commonjs/index.js +0 -1595
  242. package/node_modules/lru-cache/dist/commonjs/index.js.map +0 -1
  243. package/node_modules/lru-cache/dist/commonjs/index.min.js +0 -2
  244. package/node_modules/lru-cache/dist/commonjs/index.min.js.map +0 -7
  245. package/node_modules/lru-cache/dist/commonjs/package.json +0 -3
  246. package/node_modules/lru-cache/dist/esm/index.d.ts +0 -1323
  247. package/node_modules/lru-cache/dist/esm/index.d.ts.map +0 -1
  248. package/node_modules/lru-cache/dist/esm/index.js +0 -1591
  249. package/node_modules/lru-cache/dist/esm/index.js.map +0 -1
  250. package/node_modules/lru-cache/dist/esm/index.min.js +0 -2
  251. package/node_modules/lru-cache/dist/esm/index.min.js.map +0 -7
  252. package/node_modules/lru-cache/dist/esm/package.json +0 -3
  253. package/node_modules/lru-cache/package.json +0 -93
  254. package/node_modules/mimic-fn/index.d.ts +0 -54
  255. package/node_modules/mimic-fn/index.js +0 -13
  256. package/node_modules/mimic-fn/license +0 -9
  257. package/node_modules/mimic-fn/package.json +0 -42
  258. package/node_modules/mimic-fn/readme.md +0 -69
  259. package/node_modules/minimatch/LICENSE.md +0 -55
  260. package/node_modules/minimatch/README.md +0 -528
  261. package/node_modules/minimatch/dist/commonjs/assert-valid-pattern.d.ts +0 -2
  262. package/node_modules/minimatch/dist/commonjs/assert-valid-pattern.d.ts.map +0 -1
  263. package/node_modules/minimatch/dist/commonjs/assert-valid-pattern.js +0 -14
  264. package/node_modules/minimatch/dist/commonjs/assert-valid-pattern.js.map +0 -1
  265. package/node_modules/minimatch/dist/commonjs/ast.d.ts +0 -22
  266. package/node_modules/minimatch/dist/commonjs/ast.d.ts.map +0 -1
  267. package/node_modules/minimatch/dist/commonjs/ast.js +0 -846
  268. package/node_modules/minimatch/dist/commonjs/ast.js.map +0 -1
  269. package/node_modules/minimatch/dist/commonjs/brace-expressions.d.ts +0 -8
  270. package/node_modules/minimatch/dist/commonjs/brace-expressions.d.ts.map +0 -1
  271. package/node_modules/minimatch/dist/commonjs/brace-expressions.js +0 -150
  272. package/node_modules/minimatch/dist/commonjs/brace-expressions.js.map +0 -1
  273. package/node_modules/minimatch/dist/commonjs/escape.d.ts +0 -15
  274. package/node_modules/minimatch/dist/commonjs/escape.d.ts.map +0 -1
  275. package/node_modules/minimatch/dist/commonjs/escape.js +0 -30
  276. package/node_modules/minimatch/dist/commonjs/escape.js.map +0 -1
  277. package/node_modules/minimatch/dist/commonjs/index.d.ts +0 -174
  278. package/node_modules/minimatch/dist/commonjs/index.d.ts.map +0 -1
  279. package/node_modules/minimatch/dist/commonjs/index.js +0 -1121
  280. package/node_modules/minimatch/dist/commonjs/index.js.map +0 -1
  281. package/node_modules/minimatch/dist/commonjs/package.json +0 -3
  282. package/node_modules/minimatch/dist/commonjs/unescape.d.ts +0 -22
  283. package/node_modules/minimatch/dist/commonjs/unescape.d.ts.map +0 -1
  284. package/node_modules/minimatch/dist/commonjs/unescape.js +0 -38
  285. package/node_modules/minimatch/dist/commonjs/unescape.js.map +0 -1
  286. package/node_modules/minimatch/dist/esm/assert-valid-pattern.d.ts +0 -2
  287. package/node_modules/minimatch/dist/esm/assert-valid-pattern.d.ts.map +0 -1
  288. package/node_modules/minimatch/dist/esm/assert-valid-pattern.js +0 -10
  289. package/node_modules/minimatch/dist/esm/assert-valid-pattern.js.map +0 -1
  290. package/node_modules/minimatch/dist/esm/ast.d.ts +0 -22
  291. package/node_modules/minimatch/dist/esm/ast.d.ts.map +0 -1
  292. package/node_modules/minimatch/dist/esm/ast.js +0 -842
  293. package/node_modules/minimatch/dist/esm/ast.js.map +0 -1
  294. package/node_modules/minimatch/dist/esm/brace-expressions.d.ts +0 -8
  295. package/node_modules/minimatch/dist/esm/brace-expressions.d.ts.map +0 -1
  296. package/node_modules/minimatch/dist/esm/brace-expressions.js +0 -146
  297. package/node_modules/minimatch/dist/esm/brace-expressions.js.map +0 -1
  298. package/node_modules/minimatch/dist/esm/escape.d.ts +0 -15
  299. package/node_modules/minimatch/dist/esm/escape.d.ts.map +0 -1
  300. package/node_modules/minimatch/dist/esm/escape.js +0 -26
  301. package/node_modules/minimatch/dist/esm/escape.js.map +0 -1
  302. package/node_modules/minimatch/dist/esm/index.d.ts +0 -174
  303. package/node_modules/minimatch/dist/esm/index.d.ts.map +0 -1
  304. package/node_modules/minimatch/dist/esm/index.js +0 -1108
  305. package/node_modules/minimatch/dist/esm/index.js.map +0 -1
  306. package/node_modules/minimatch/dist/esm/package.json +0 -3
  307. package/node_modules/minimatch/dist/esm/unescape.d.ts +0 -22
  308. package/node_modules/minimatch/dist/esm/unescape.d.ts.map +0 -1
  309. package/node_modules/minimatch/dist/esm/unescape.js +0 -34
  310. package/node_modules/minimatch/dist/esm/unescape.js.map +0 -1
  311. package/node_modules/minimatch/package.json +0 -67
  312. package/node_modules/minipass/LICENSE.md +0 -55
  313. package/node_modules/minipass/README.md +0 -825
  314. package/node_modules/minipass/dist/commonjs/index.d.ts +0 -545
  315. package/node_modules/minipass/dist/commonjs/index.d.ts.map +0 -1
  316. package/node_modules/minipass/dist/commonjs/index.js +0 -1038
  317. package/node_modules/minipass/dist/commonjs/index.js.map +0 -1
  318. package/node_modules/minipass/dist/commonjs/package.json +0 -3
  319. package/node_modules/minipass/dist/esm/index.d.ts +0 -545
  320. package/node_modules/minipass/dist/esm/index.d.ts.map +0 -1
  321. package/node_modules/minipass/dist/esm/index.js +0 -1020
  322. package/node_modules/minipass/dist/esm/index.js.map +0 -1
  323. package/node_modules/minipass/dist/esm/package.json +0 -3
  324. package/node_modules/minipass/package.json +0 -77
  325. package/node_modules/node-domexception/.history/README_20210527203617.md +0 -2
  326. package/node_modules/node-domexception/.history/README_20210527212714.md +0 -41
  327. package/node_modules/node-domexception/.history/README_20210527213345.md +0 -36
  328. package/node_modules/node-domexception/.history/README_20210527213411.md +0 -36
  329. package/node_modules/node-domexception/.history/README_20210527213803.md +0 -36
  330. package/node_modules/node-domexception/.history/README_20210527214323.md +0 -38
  331. package/node_modules/node-domexception/.history/README_20210527214408.md +0 -38
  332. package/node_modules/node-domexception/.history/index_20210527203842.js +0 -0
  333. package/node_modules/node-domexception/.history/index_20210527203947.js +0 -8
  334. package/node_modules/node-domexception/.history/index_20210527204259.js +0 -9
  335. package/node_modules/node-domexception/.history/index_20210527204418.js +0 -9
  336. package/node_modules/node-domexception/.history/index_20210527204756.js +0 -11
  337. package/node_modules/node-domexception/.history/index_20210527204833.js +0 -11
  338. package/node_modules/node-domexception/.history/index_20210527211208.js +0 -15
  339. package/node_modules/node-domexception/.history/index_20210527211248.js +0 -15
  340. package/node_modules/node-domexception/.history/index_20210527212722.js +0 -23
  341. package/node_modules/node-domexception/.history/index_20210527212731.js +0 -23
  342. package/node_modules/node-domexception/.history/index_20210527212746.js +0 -15
  343. package/node_modules/node-domexception/.history/index_20210527212900.js +0 -16
  344. package/node_modules/node-domexception/.history/index_20210527213022.js +0 -16
  345. package/node_modules/node-domexception/.history/index_20210527213822.js +0 -16
  346. package/node_modules/node-domexception/.history/index_20210527213843.js +0 -17
  347. package/node_modules/node-domexception/.history/index_20210527213852.js +0 -17
  348. package/node_modules/node-domexception/.history/index_20210527213910.js +0 -16
  349. package/node_modules/node-domexception/.history/index_20210527214034.js +0 -16
  350. package/node_modules/node-domexception/.history/index_20210527214643.js +0 -41
  351. package/node_modules/node-domexception/.history/index_20210527214654.js +0 -41
  352. package/node_modules/node-domexception/.history/index_20210527214700.js +0 -16
  353. package/node_modules/node-domexception/.history/package_20210527203733.json +0 -19
  354. package/node_modules/node-domexception/.history/package_20210527203825.json +0 -16
  355. package/node_modules/node-domexception/.history/package_20210527204621.json +0 -19
  356. package/node_modules/node-domexception/.history/package_20210527204913.json +0 -25
  357. package/node_modules/node-domexception/.history/package_20210527204925.json +0 -25
  358. package/node_modules/node-domexception/.history/package_20210527205145.json +0 -29
  359. package/node_modules/node-domexception/.history/package_20210527205156.json +0 -29
  360. package/node_modules/node-domexception/.history/test_20210527205603.js +0 -0
  361. package/node_modules/node-domexception/.history/test_20210527205957.js +0 -3
  362. package/node_modules/node-domexception/.history/test_20210527210021.js +0 -3
  363. package/node_modules/node-domexception/LICENSE +0 -21
  364. package/node_modules/node-domexception/README.md +0 -46
  365. package/node_modules/node-domexception/index.js +0 -16
  366. package/node_modules/node-domexception/package.json +0 -29
  367. package/node_modules/node-fetch/@types/index.d.ts +0 -219
  368. package/node_modules/node-fetch/LICENSE.md +0 -22
  369. package/node_modules/node-fetch/README.md +0 -872
  370. package/node_modules/node-fetch/package.json +0 -131
  371. package/node_modules/node-fetch/src/body.js +0 -397
  372. package/node_modules/node-fetch/src/errors/abort-error.js +0 -10
  373. package/node_modules/node-fetch/src/errors/base.js +0 -17
  374. package/node_modules/node-fetch/src/errors/fetch-error.js +0 -26
  375. package/node_modules/node-fetch/src/headers.js +0 -267
  376. package/node_modules/node-fetch/src/index.js +0 -417
  377. package/node_modules/node-fetch/src/request.js +0 -313
  378. package/node_modules/node-fetch/src/response.js +0 -160
  379. package/node_modules/node-fetch/src/utils/get-search.js +0 -9
  380. package/node_modules/node-fetch/src/utils/is-redirect.js +0 -11
  381. package/node_modules/node-fetch/src/utils/is.js +0 -87
  382. package/node_modules/node-fetch/src/utils/multipart-parser.js +0 -432
  383. package/node_modules/node-fetch/src/utils/referrer.js +0 -340
  384. package/node_modules/onetime/index.d.ts +0 -64
  385. package/node_modules/onetime/index.js +0 -44
  386. package/node_modules/onetime/license +0 -9
  387. package/node_modules/onetime/package.json +0 -43
  388. package/node_modules/onetime/readme.md +0 -94
  389. package/node_modules/ora/index.d.ts +0 -277
  390. package/node_modules/ora/index.js +0 -407
  391. package/node_modules/ora/license +0 -9
  392. package/node_modules/ora/package.json +0 -57
  393. package/node_modules/ora/readme.md +0 -264
  394. package/node_modules/path-scurry/LICENSE.md +0 -55
  395. package/node_modules/path-scurry/README.md +0 -636
  396. package/node_modules/path-scurry/dist/commonjs/index.d.ts +0 -1115
  397. package/node_modules/path-scurry/dist/commonjs/index.d.ts.map +0 -1
  398. package/node_modules/path-scurry/dist/commonjs/index.js +0 -2018
  399. package/node_modules/path-scurry/dist/commonjs/index.js.map +0 -1
  400. package/node_modules/path-scurry/dist/commonjs/package.json +0 -3
  401. package/node_modules/path-scurry/dist/esm/index.d.ts +0 -1115
  402. package/node_modules/path-scurry/dist/esm/index.d.ts.map +0 -1
  403. package/node_modules/path-scurry/dist/esm/index.js +0 -1983
  404. package/node_modules/path-scurry/dist/esm/index.js.map +0 -1
  405. package/node_modules/path-scurry/dist/esm/package.json +0 -3
  406. package/node_modules/path-scurry/package.json +0 -72
  407. package/node_modules/readable-stream/CONTRIBUTING.md +0 -38
  408. package/node_modules/readable-stream/GOVERNANCE.md +0 -136
  409. package/node_modules/readable-stream/LICENSE +0 -47
  410. package/node_modules/readable-stream/README.md +0 -106
  411. package/node_modules/readable-stream/errors-browser.js +0 -127
  412. package/node_modules/readable-stream/errors.js +0 -116
  413. package/node_modules/readable-stream/experimentalWarning.js +0 -17
  414. package/node_modules/readable-stream/lib/_stream_duplex.js +0 -126
  415. package/node_modules/readable-stream/lib/_stream_passthrough.js +0 -37
  416. package/node_modules/readable-stream/lib/_stream_readable.js +0 -1027
  417. package/node_modules/readable-stream/lib/_stream_transform.js +0 -190
  418. package/node_modules/readable-stream/lib/_stream_writable.js +0 -641
  419. package/node_modules/readable-stream/lib/internal/streams/async_iterator.js +0 -180
  420. package/node_modules/readable-stream/lib/internal/streams/buffer_list.js +0 -183
  421. package/node_modules/readable-stream/lib/internal/streams/destroy.js +0 -96
  422. package/node_modules/readable-stream/lib/internal/streams/end-of-stream.js +0 -86
  423. package/node_modules/readable-stream/lib/internal/streams/from-browser.js +0 -3
  424. package/node_modules/readable-stream/lib/internal/streams/from.js +0 -52
  425. package/node_modules/readable-stream/lib/internal/streams/pipeline.js +0 -86
  426. package/node_modules/readable-stream/lib/internal/streams/state.js +0 -22
  427. package/node_modules/readable-stream/lib/internal/streams/stream-browser.js +0 -1
  428. package/node_modules/readable-stream/lib/internal/streams/stream.js +0 -1
  429. package/node_modules/readable-stream/package.json +0 -68
  430. package/node_modules/readable-stream/readable-browser.js +0 -9
  431. package/node_modules/readable-stream/readable.js +0 -16
  432. package/node_modules/restore-cursor/index.d.ts +0 -13
  433. package/node_modules/restore-cursor/index.js +0 -9
  434. package/node_modules/restore-cursor/license +0 -9
  435. package/node_modules/restore-cursor/package.json +0 -52
  436. package/node_modules/restore-cursor/readme.md +0 -26
  437. package/node_modules/safe-buffer/LICENSE +0 -21
  438. package/node_modules/safe-buffer/README.md +0 -584
  439. package/node_modules/safe-buffer/index.d.ts +0 -187
  440. package/node_modules/safe-buffer/index.js +0 -65
  441. package/node_modules/safe-buffer/package.json +0 -51
  442. package/node_modules/signal-exit/LICENSE.txt +0 -16
  443. package/node_modules/signal-exit/README.md +0 -39
  444. package/node_modules/signal-exit/index.js +0 -202
  445. package/node_modules/signal-exit/package.json +0 -38
  446. package/node_modules/signal-exit/signals.js +0 -53
  447. package/node_modules/string_decoder/LICENSE +0 -48
  448. package/node_modules/string_decoder/README.md +0 -47
  449. package/node_modules/string_decoder/lib/string_decoder.js +0 -296
  450. package/node_modules/string_decoder/package.json +0 -34
  451. package/node_modules/strip-ansi/index.d.ts +0 -17
  452. package/node_modules/strip-ansi/index.js +0 -4
  453. package/node_modules/strip-ansi/license +0 -9
  454. package/node_modules/strip-ansi/package.json +0 -54
  455. package/node_modules/strip-ansi/readme.md +0 -46
  456. package/node_modules/supports-color/browser.js +0 -5
  457. package/node_modules/supports-color/index.js +0 -135
  458. package/node_modules/supports-color/license +0 -9
  459. package/node_modules/supports-color/package.json +0 -53
  460. package/node_modules/supports-color/readme.md +0 -76
  461. package/node_modules/util-deprecate/History.md +0 -16
  462. package/node_modules/util-deprecate/LICENSE +0 -24
  463. package/node_modules/util-deprecate/README.md +0 -53
  464. package/node_modules/util-deprecate/browser.js +0 -67
  465. package/node_modules/util-deprecate/node.js +0 -6
  466. package/node_modules/util-deprecate/package.json +0 -27
  467. package/node_modules/wcwidth/.npmignore +0 -1
  468. package/node_modules/wcwidth/LICENSE +0 -30
  469. package/node_modules/wcwidth/Readme.md +0 -33
  470. package/node_modules/wcwidth/combining.js +0 -50
  471. package/node_modules/wcwidth/docs/index.md +0 -65
  472. package/node_modules/wcwidth/index.js +0 -99
  473. package/node_modules/wcwidth/package.json +0 -42
  474. package/node_modules/wcwidth/test/index.js +0 -64
  475. package/node_modules/web-streams-polyfill/LICENSE +0 -22
  476. package/node_modules/web-streams-polyfill/README.md +0 -110
  477. package/node_modules/web-streams-polyfill/dist/polyfill.es2018.js +0 -4765
  478. package/node_modules/web-streams-polyfill/dist/polyfill.es2018.js.map +0 -1
  479. package/node_modules/web-streams-polyfill/dist/polyfill.es2018.min.js +0 -9
  480. package/node_modules/web-streams-polyfill/dist/polyfill.es2018.min.js.map +0 -1
  481. package/node_modules/web-streams-polyfill/dist/polyfill.es2018.mjs +0 -4745
  482. package/node_modules/web-streams-polyfill/dist/polyfill.es2018.mjs.map +0 -1
  483. package/node_modules/web-streams-polyfill/dist/polyfill.es6.js +0 -4838
  484. package/node_modules/web-streams-polyfill/dist/polyfill.es6.js.map +0 -1
  485. package/node_modules/web-streams-polyfill/dist/polyfill.es6.min.js +0 -9
  486. package/node_modules/web-streams-polyfill/dist/polyfill.es6.min.js.map +0 -1
  487. package/node_modules/web-streams-polyfill/dist/polyfill.es6.mjs +0 -4818
  488. package/node_modules/web-streams-polyfill/dist/polyfill.es6.mjs.map +0 -1
  489. package/node_modules/web-streams-polyfill/dist/polyfill.js +0 -5011
  490. package/node_modules/web-streams-polyfill/dist/polyfill.js.map +0 -1
  491. package/node_modules/web-streams-polyfill/dist/polyfill.min.js +0 -9
  492. package/node_modules/web-streams-polyfill/dist/polyfill.min.js.map +0 -1
  493. package/node_modules/web-streams-polyfill/dist/polyfill.mjs +0 -4991
  494. package/node_modules/web-streams-polyfill/dist/polyfill.mjs.map +0 -1
  495. package/node_modules/web-streams-polyfill/dist/ponyfill.es2018.js +0 -4737
  496. package/node_modules/web-streams-polyfill/dist/ponyfill.es2018.js.map +0 -1
  497. package/node_modules/web-streams-polyfill/dist/ponyfill.es2018.mjs +0 -4717
  498. package/node_modules/web-streams-polyfill/dist/ponyfill.es2018.mjs.map +0 -1
  499. package/node_modules/web-streams-polyfill/dist/ponyfill.es6.js +0 -4810
  500. package/node_modules/web-streams-polyfill/dist/ponyfill.es6.js.map +0 -1
  501. package/node_modules/web-streams-polyfill/dist/ponyfill.es6.mjs +0 -4790
  502. package/node_modules/web-streams-polyfill/dist/ponyfill.es6.mjs.map +0 -1
  503. package/node_modules/web-streams-polyfill/dist/ponyfill.js +0 -4983
  504. package/node_modules/web-streams-polyfill/dist/ponyfill.js.map +0 -1
  505. package/node_modules/web-streams-polyfill/dist/ponyfill.mjs +0 -4963
  506. package/node_modules/web-streams-polyfill/dist/ponyfill.mjs.map +0 -1
  507. package/node_modules/web-streams-polyfill/dist/types/polyfill.d.ts +0 -24
  508. package/node_modules/web-streams-polyfill/dist/types/ponyfill.d.ts +0 -780
  509. package/node_modules/web-streams-polyfill/dist/types/ts3.6/polyfill.d.ts +0 -28
  510. package/node_modules/web-streams-polyfill/dist/types/ts3.6/ponyfill.d.ts +0 -821
  511. package/node_modules/web-streams-polyfill/dist/types/tsdoc-metadata.json +0 -11
  512. package/node_modules/web-streams-polyfill/es2018/package.json +0 -14
  513. package/node_modules/web-streams-polyfill/es6/package.json +0 -14
  514. package/node_modules/web-streams-polyfill/package.json +0 -83
  515. package/node_modules/web-streams-polyfill/ponyfill/es2018/package.json +0 -13
  516. package/node_modules/web-streams-polyfill/ponyfill/es6/package.json +0 -13
  517. package/node_modules/web-streams-polyfill/ponyfill/package.json +0 -13
  518. package/src/commands/policy.ts +0 -146
  519. package/test-policy.md +0 -55
  520. package/test_cli.ts +0 -16
  521. package/version.json +0 -18
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "korext",
3
- "version": "0.8.0",
3
+ "version": "0.8.2",
4
4
  "description": "Korext Command Line Interface",
5
5
  "type": "module",
6
6
  "main": "bin/korext.js",
@@ -17,19 +17,8 @@
17
17
  "node-fetch": "^3.3.2",
18
18
  "ora": "^5.4.1"
19
19
  },
20
- "bundledDependencies": [
21
- "chalk",
22
- "commander",
23
- "glob",
24
- "node-fetch",
25
- "ora"
26
- ],
27
- "bundleDependencies": [
28
- "chalk",
29
- "commander",
30
- "glob",
31
- "node-fetch",
32
- "ora"
20
+ "files": [
21
+ "bin/"
33
22
  ],
34
23
  "homepage": "https://www.korext.com",
35
24
  "bugs": {
package/CHANGELOG.md DELETED
@@ -1,72 +0,0 @@
1
- ## 0.8.0 - 2026-03-27
2
-
3
- ### New
4
- - Scoped AI fixes: fixes are constrained to the violation region. Surrounding code is never modified.
5
- - Four deterministic verification guards: every fix is checked for scope boundary, security function preservation, dangerous function introduction, and middleware chain integrity before it is applied.
6
- - Silent token refresh: sessions no longer expire after one hour. Tokens refresh automatically in the background.
7
- - Tiered AI concurrency: Enterprise (15), Team (10), Free (5) concurrent AI calls for faster explanations on large files.
8
- - Offline mode improvements: status bar shows "Offline (local rules only)" with helpful messaging instead of error states.
9
- - 478 policy rules across 44 packs with real detection logic. Zero stubs.
10
- - Full 3-layer governance mappings on every rule: regulatory citations, technical standards (CWE, OWASP), and security intelligence (MITRE ATT&CK).
11
- - 9 jurisdiction coverage: US, EU, UK, Canada, Australia, New Zealand, Japan, Taiwan, Singapore.
12
-
13
- ### Fixed
14
- - IDE and dashboard fix paths unified. Both use the same scoped extraction and deterministic guards.
15
- - HMAC signature verification now returns signatureValid: true for correctly signed bundles.
16
- - Auto-subscription for first-time users. No more access denied on sign-in.
17
-
18
- ### Improved
19
- - Consistent KOREXT_API_TOKEN environment variable across all clients. KOREXT_TOKEN is deprecated with a warning.
20
- - Rate limiting adjusted: IDE status polling (200/min), explain stream (30/min).
21
-
22
- ## 0.7.0 - 2026-03-19
23
-
24
- ### Added
25
- - Three layer governance context on every
26
- violation: regulatory compliance, technical
27
- standards, and security intelligence
28
- - Per violation AI explanations with individual
29
- reasoning for each finding
30
- - Code snippet extraction showing the exact
31
- lines around each violation
32
- - Real Shadow Test verification on dashboard
33
- fixes for Team and Enterprise tiers
34
- - Diff preview before applying fixes, showing
35
- exactly what changed before accepting
36
- - Undo support to restore original code after
37
- applying a fix
38
- - Git context (repository, branch, commit)
39
- included in proof bundles from IDE and CLI
40
- - Organisation ID on proof bundles for
41
- enterprise filtering
42
- - Honest hash type labelling: deterministic
43
- replay hash for IDE and CLI, session
44
- identifier for dashboard
45
- - Publication quality proof bundle PDF export
46
- with QR verification, governance coverage
47
- tables, and three layer compliance mapping
48
- - Enterprise branding on proof bundle PDFs
49
- - Public bundle verification page
50
- - Expanded knowledge graph sources including
51
- MITRE ATLAS, CISA KEV, NIST AI RMF,
52
- ISO 42001, EU AI Act, OWASP Top 10 for
53
- LLMs, OSV, and FIRST EPSS
54
-
55
- ### Changed
56
- - HMAC signing consolidated to server side
57
- for all paths
58
- - Governance mappings restructured from flat
59
- citations to three layer context covering
60
- US, EU, UK, Canadian, and Australian
61
- regulatory frameworks
62
- - Security hardening: environment aware HMAC
63
- key validation, Zod validation on all
64
- endpoints, typed request interfaces
65
-
66
- ### Fixed
67
- - Original code preserved in dashboard state
68
- after applying fixes
69
- - Shadow Test Protocol section on dashboard
70
- now shows real results instead of static UI
71
- - Documentation formatting corrected across
72
- all marketplace listings
package/dummy.pdf DELETED
File without changes
package/korext.json DELETED
@@ -1,11 +0,0 @@
1
- {
2
- "project": "my-app",
3
- "targetPacks": [
4
- "security-strict-v1",
5
- "web-platform-v2"
6
- ],
7
- "exclude": [
8
- "node_modules/**",
9
- "dist/**"
10
- ]
11
- }
@@ -1,37 +0,0 @@
1
- declare namespace ansiRegex {
2
- interface Options {
3
- /**
4
- Match only the first ANSI escape.
5
-
6
- @default false
7
- */
8
- onlyFirst: boolean;
9
- }
10
- }
11
-
12
- /**
13
- Regular expression for matching ANSI escape codes.
14
-
15
- @example
16
- ```
17
- import ansiRegex = require('ansi-regex');
18
-
19
- ansiRegex().test('\u001B[4mcake\u001B[0m');
20
- //=> true
21
-
22
- ansiRegex().test('cake');
23
- //=> false
24
-
25
- '\u001B[4mcake\u001B[0m'.match(ansiRegex());
26
- //=> ['\u001B[4m', '\u001B[0m']
27
-
28
- '\u001B[4mcake\u001B[0m'.match(ansiRegex({onlyFirst: true}));
29
- //=> ['\u001B[4m']
30
-
31
- '\u001B]8;;https://github.com\u0007click\u001B]8;;\u0007'.match(ansiRegex());
32
- //=> ['\u001B]8;;https://github.com\u0007', '\u001B]8;;\u0007']
33
- ```
34
- */
35
- declare function ansiRegex(options?: ansiRegex.Options): RegExp;
36
-
37
- export = ansiRegex;
@@ -1,10 +0,0 @@
1
- 'use strict';
2
-
3
- module.exports = ({onlyFirst = false} = {}) => {
4
- const pattern = [
5
- '[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)',
6
- '(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))'
7
- ].join('|');
8
-
9
- return new RegExp(pattern, onlyFirst ? undefined : 'g');
10
- };
@@ -1,9 +0,0 @@
1
- MIT License
2
-
3
- Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
6
-
7
- The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
8
-
9
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -1,55 +0,0 @@
1
- {
2
- "name": "ansi-regex",
3
- "version": "5.0.1",
4
- "description": "Regular expression for matching ANSI escape codes",
5
- "license": "MIT",
6
- "repository": "chalk/ansi-regex",
7
- "author": {
8
- "name": "Sindre Sorhus",
9
- "email": "sindresorhus@gmail.com",
10
- "url": "sindresorhus.com"
11
- },
12
- "engines": {
13
- "node": ">=8"
14
- },
15
- "scripts": {
16
- "test": "xo && ava && tsd",
17
- "view-supported": "node fixtures/view-codes.js"
18
- },
19
- "files": [
20
- "index.js",
21
- "index.d.ts"
22
- ],
23
- "keywords": [
24
- "ansi",
25
- "styles",
26
- "color",
27
- "colour",
28
- "colors",
29
- "terminal",
30
- "console",
31
- "cli",
32
- "string",
33
- "tty",
34
- "escape",
35
- "formatting",
36
- "rgb",
37
- "256",
38
- "shell",
39
- "xterm",
40
- "command-line",
41
- "text",
42
- "regex",
43
- "regexp",
44
- "re",
45
- "match",
46
- "test",
47
- "find",
48
- "pattern"
49
- ],
50
- "devDependencies": {
51
- "ava": "^2.4.0",
52
- "tsd": "^0.9.0",
53
- "xo": "^0.25.3"
54
- }
55
- }
@@ -1,78 +0,0 @@
1
- # ansi-regex
2
-
3
- > Regular expression for matching [ANSI escape codes](https://en.wikipedia.org/wiki/ANSI_escape_code)
4
-
5
-
6
- ## Install
7
-
8
- ```
9
- $ npm install ansi-regex
10
- ```
11
-
12
-
13
- ## Usage
14
-
15
- ```js
16
- const ansiRegex = require('ansi-regex');
17
-
18
- ansiRegex().test('\u001B[4mcake\u001B[0m');
19
- //=> true
20
-
21
- ansiRegex().test('cake');
22
- //=> false
23
-
24
- '\u001B[4mcake\u001B[0m'.match(ansiRegex());
25
- //=> ['\u001B[4m', '\u001B[0m']
26
-
27
- '\u001B[4mcake\u001B[0m'.match(ansiRegex({onlyFirst: true}));
28
- //=> ['\u001B[4m']
29
-
30
- '\u001B]8;;https://github.com\u0007click\u001B]8;;\u0007'.match(ansiRegex());
31
- //=> ['\u001B]8;;https://github.com\u0007', '\u001B]8;;\u0007']
32
- ```
33
-
34
-
35
- ## API
36
-
37
- ### ansiRegex(options?)
38
-
39
- Returns a regex for matching ANSI escape codes.
40
-
41
- #### options
42
-
43
- Type: `object`
44
-
45
- ##### onlyFirst
46
-
47
- Type: `boolean`<br>
48
- Default: `false` *(Matches any ANSI escape codes in a string)*
49
-
50
- Match only the first ANSI escape.
51
-
52
-
53
- ## FAQ
54
-
55
- ### Why do you test for codes not in the ECMA 48 standard?
56
-
57
- Some of the codes we run as a test are codes that we acquired finding various lists of non-standard or manufacturer specific codes. We test for both standard and non-standard codes, as most of them follow the same or similar format and can be safely matched in strings without the risk of removing actual string content. There are a few non-standard control codes that do not follow the traditional format (i.e. they end in numbers) thus forcing us to exclude them from the test because we cannot reliably match them.
58
-
59
- On the historical side, those ECMA standards were established in the early 90's whereas the VT100, for example, was designed in the mid/late 70's. At that point in time, control codes were still pretty ungoverned and engineers used them for a multitude of things, namely to activate hardware ports that may have been proprietary. Somewhere else you see a similar 'anarchy' of codes is in the x86 architecture for processors; there are a ton of "interrupts" that can mean different things on certain brands of processors, most of which have been phased out.
60
-
61
-
62
- ## Maintainers
63
-
64
- - [Sindre Sorhus](https://github.com/sindresorhus)
65
- - [Josh Junon](https://github.com/qix-)
66
-
67
-
68
- ---
69
-
70
- <div align="center">
71
- <b>
72
- <a href="https://tidelift.com/subscription/pkg/npm-ansi-regex?utm_source=npm-ansi-regex&utm_medium=referral&utm_campaign=readme">Get professional support for this package with a Tidelift subscription</a>
73
- </b>
74
- <br>
75
- <sub>
76
- Tidelift helps make open source sustainable for maintainers while giving companies<br>assurances about security, maintenance, and licensing for their dependencies.
77
- </sub>
78
- </div>
@@ -1,345 +0,0 @@
1
- declare type CSSColor =
2
- | 'aliceblue'
3
- | 'antiquewhite'
4
- | 'aqua'
5
- | 'aquamarine'
6
- | 'azure'
7
- | 'beige'
8
- | 'bisque'
9
- | 'black'
10
- | 'blanchedalmond'
11
- | 'blue'
12
- | 'blueviolet'
13
- | 'brown'
14
- | 'burlywood'
15
- | 'cadetblue'
16
- | 'chartreuse'
17
- | 'chocolate'
18
- | 'coral'
19
- | 'cornflowerblue'
20
- | 'cornsilk'
21
- | 'crimson'
22
- | 'cyan'
23
- | 'darkblue'
24
- | 'darkcyan'
25
- | 'darkgoldenrod'
26
- | 'darkgray'
27
- | 'darkgreen'
28
- | 'darkgrey'
29
- | 'darkkhaki'
30
- | 'darkmagenta'
31
- | 'darkolivegreen'
32
- | 'darkorange'
33
- | 'darkorchid'
34
- | 'darkred'
35
- | 'darksalmon'
36
- | 'darkseagreen'
37
- | 'darkslateblue'
38
- | 'darkslategray'
39
- | 'darkslategrey'
40
- | 'darkturquoise'
41
- | 'darkviolet'
42
- | 'deeppink'
43
- | 'deepskyblue'
44
- | 'dimgray'
45
- | 'dimgrey'
46
- | 'dodgerblue'
47
- | 'firebrick'
48
- | 'floralwhite'
49
- | 'forestgreen'
50
- | 'fuchsia'
51
- | 'gainsboro'
52
- | 'ghostwhite'
53
- | 'gold'
54
- | 'goldenrod'
55
- | 'gray'
56
- | 'green'
57
- | 'greenyellow'
58
- | 'grey'
59
- | 'honeydew'
60
- | 'hotpink'
61
- | 'indianred'
62
- | 'indigo'
63
- | 'ivory'
64
- | 'khaki'
65
- | 'lavender'
66
- | 'lavenderblush'
67
- | 'lawngreen'
68
- | 'lemonchiffon'
69
- | 'lightblue'
70
- | 'lightcoral'
71
- | 'lightcyan'
72
- | 'lightgoldenrodyellow'
73
- | 'lightgray'
74
- | 'lightgreen'
75
- | 'lightgrey'
76
- | 'lightpink'
77
- | 'lightsalmon'
78
- | 'lightseagreen'
79
- | 'lightskyblue'
80
- | 'lightslategray'
81
- | 'lightslategrey'
82
- | 'lightsteelblue'
83
- | 'lightyellow'
84
- | 'lime'
85
- | 'limegreen'
86
- | 'linen'
87
- | 'magenta'
88
- | 'maroon'
89
- | 'mediumaquamarine'
90
- | 'mediumblue'
91
- | 'mediumorchid'
92
- | 'mediumpurple'
93
- | 'mediumseagreen'
94
- | 'mediumslateblue'
95
- | 'mediumspringgreen'
96
- | 'mediumturquoise'
97
- | 'mediumvioletred'
98
- | 'midnightblue'
99
- | 'mintcream'
100
- | 'mistyrose'
101
- | 'moccasin'
102
- | 'navajowhite'
103
- | 'navy'
104
- | 'oldlace'
105
- | 'olive'
106
- | 'olivedrab'
107
- | 'orange'
108
- | 'orangered'
109
- | 'orchid'
110
- | 'palegoldenrod'
111
- | 'palegreen'
112
- | 'paleturquoise'
113
- | 'palevioletred'
114
- | 'papayawhip'
115
- | 'peachpuff'
116
- | 'peru'
117
- | 'pink'
118
- | 'plum'
119
- | 'powderblue'
120
- | 'purple'
121
- | 'rebeccapurple'
122
- | 'red'
123
- | 'rosybrown'
124
- | 'royalblue'
125
- | 'saddlebrown'
126
- | 'salmon'
127
- | 'sandybrown'
128
- | 'seagreen'
129
- | 'seashell'
130
- | 'sienna'
131
- | 'silver'
132
- | 'skyblue'
133
- | 'slateblue'
134
- | 'slategray'
135
- | 'slategrey'
136
- | 'snow'
137
- | 'springgreen'
138
- | 'steelblue'
139
- | 'tan'
140
- | 'teal'
141
- | 'thistle'
142
- | 'tomato'
143
- | 'turquoise'
144
- | 'violet'
145
- | 'wheat'
146
- | 'white'
147
- | 'whitesmoke'
148
- | 'yellow'
149
- | 'yellowgreen';
150
-
151
- declare namespace ansiStyles {
152
- interface ColorConvert {
153
- /**
154
- The RGB color space.
155
-
156
- @param red - (`0`-`255`)
157
- @param green - (`0`-`255`)
158
- @param blue - (`0`-`255`)
159
- */
160
- rgb(red: number, green: number, blue: number): string;
161
-
162
- /**
163
- The RGB HEX color space.
164
-
165
- @param hex - A hexadecimal string containing RGB data.
166
- */
167
- hex(hex: string): string;
168
-
169
- /**
170
- @param keyword - A CSS color name.
171
- */
172
- keyword(keyword: CSSColor): string;
173
-
174
- /**
175
- The HSL color space.
176
-
177
- @param hue - (`0`-`360`)
178
- @param saturation - (`0`-`100`)
179
- @param lightness - (`0`-`100`)
180
- */
181
- hsl(hue: number, saturation: number, lightness: number): string;
182
-
183
- /**
184
- The HSV color space.
185
-
186
- @param hue - (`0`-`360`)
187
- @param saturation - (`0`-`100`)
188
- @param value - (`0`-`100`)
189
- */
190
- hsv(hue: number, saturation: number, value: number): string;
191
-
192
- /**
193
- The HSV color space.
194
-
195
- @param hue - (`0`-`360`)
196
- @param whiteness - (`0`-`100`)
197
- @param blackness - (`0`-`100`)
198
- */
199
- hwb(hue: number, whiteness: number, blackness: number): string;
200
-
201
- /**
202
- Use a [4-bit unsigned number](https://en.wikipedia.org/wiki/ANSI_escape_code#3/4-bit) to set text color.
203
- */
204
- ansi(ansi: number): string;
205
-
206
- /**
207
- Use an [8-bit unsigned number](https://en.wikipedia.org/wiki/ANSI_escape_code#8-bit) to set text color.
208
- */
209
- ansi256(ansi: number): string;
210
- }
211
-
212
- interface CSPair {
213
- /**
214
- The ANSI terminal control sequence for starting this style.
215
- */
216
- readonly open: string;
217
-
218
- /**
219
- The ANSI terminal control sequence for ending this style.
220
- */
221
- readonly close: string;
222
- }
223
-
224
- interface ColorBase {
225
- readonly ansi: ColorConvert;
226
- readonly ansi256: ColorConvert;
227
- readonly ansi16m: ColorConvert;
228
-
229
- /**
230
- The ANSI terminal control sequence for ending this color.
231
- */
232
- readonly close: string;
233
- }
234
-
235
- interface Modifier {
236
- /**
237
- Resets the current color chain.
238
- */
239
- readonly reset: CSPair;
240
-
241
- /**
242
- Make text bold.
243
- */
244
- readonly bold: CSPair;
245
-
246
- /**
247
- Emitting only a small amount of light.
248
- */
249
- readonly dim: CSPair;
250
-
251
- /**
252
- Make text italic. (Not widely supported)
253
- */
254
- readonly italic: CSPair;
255
-
256
- /**
257
- Make text underline. (Not widely supported)
258
- */
259
- readonly underline: CSPair;
260
-
261
- /**
262
- Inverse background and foreground colors.
263
- */
264
- readonly inverse: CSPair;
265
-
266
- /**
267
- Prints the text, but makes it invisible.
268
- */
269
- readonly hidden: CSPair;
270
-
271
- /**
272
- Puts a horizontal line through the center of the text. (Not widely supported)
273
- */
274
- readonly strikethrough: CSPair;
275
- }
276
-
277
- interface ForegroundColor {
278
- readonly black: CSPair;
279
- readonly red: CSPair;
280
- readonly green: CSPair;
281
- readonly yellow: CSPair;
282
- readonly blue: CSPair;
283
- readonly cyan: CSPair;
284
- readonly magenta: CSPair;
285
- readonly white: CSPair;
286
-
287
- /**
288
- Alias for `blackBright`.
289
- */
290
- readonly gray: CSPair;
291
-
292
- /**
293
- Alias for `blackBright`.
294
- */
295
- readonly grey: CSPair;
296
-
297
- readonly blackBright: CSPair;
298
- readonly redBright: CSPair;
299
- readonly greenBright: CSPair;
300
- readonly yellowBright: CSPair;
301
- readonly blueBright: CSPair;
302
- readonly cyanBright: CSPair;
303
- readonly magentaBright: CSPair;
304
- readonly whiteBright: CSPair;
305
- }
306
-
307
- interface BackgroundColor {
308
- readonly bgBlack: CSPair;
309
- readonly bgRed: CSPair;
310
- readonly bgGreen: CSPair;
311
- readonly bgYellow: CSPair;
312
- readonly bgBlue: CSPair;
313
- readonly bgCyan: CSPair;
314
- readonly bgMagenta: CSPair;
315
- readonly bgWhite: CSPair;
316
-
317
- /**
318
- Alias for `bgBlackBright`.
319
- */
320
- readonly bgGray: CSPair;
321
-
322
- /**
323
- Alias for `bgBlackBright`.
324
- */
325
- readonly bgGrey: CSPair;
326
-
327
- readonly bgBlackBright: CSPair;
328
- readonly bgRedBright: CSPair;
329
- readonly bgGreenBright: CSPair;
330
- readonly bgYellowBright: CSPair;
331
- readonly bgBlueBright: CSPair;
332
- readonly bgCyanBright: CSPair;
333
- readonly bgMagentaBright: CSPair;
334
- readonly bgWhiteBright: CSPair;
335
- }
336
- }
337
-
338
- declare const ansiStyles: {
339
- readonly modifier: ansiStyles.Modifier;
340
- readonly color: ansiStyles.ForegroundColor & ansiStyles.ColorBase;
341
- readonly bgColor: ansiStyles.BackgroundColor & ansiStyles.ColorBase;
342
- readonly codes: ReadonlyMap<number, number>;
343
- } & ansiStyles.BackgroundColor & ansiStyles.ForegroundColor & ansiStyles.Modifier;
344
-
345
- export = ansiStyles;