@oneblink/release-cli 1.2.0-beta.2 → 1.2.0-beta.3

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 (429) hide show
  1. package/node_modules/@yarnpkg/lockfile/README.md +22 -0
  2. package/node_modules/@yarnpkg/lockfile/index.js +10273 -0
  3. package/node_modules/@yarnpkg/lockfile/package.json +19 -0
  4. package/node_modules/ansi-styles/index.js +165 -0
  5. package/node_modules/ansi-styles/license +9 -0
  6. package/node_modules/ansi-styles/package.json +60 -0
  7. package/node_modules/ansi-styles/readme.md +147 -0
  8. package/node_modules/balanced-match/.github/FUNDING.yml +2 -0
  9. package/node_modules/balanced-match/LICENSE.md +21 -0
  10. package/node_modules/balanced-match/README.md +97 -0
  11. package/node_modules/balanced-match/index.js +62 -0
  12. package/node_modules/balanced-match/package.json +52 -0
  13. package/node_modules/brace-expansion/LICENSE +21 -0
  14. package/node_modules/brace-expansion/README.md +129 -0
  15. package/node_modules/brace-expansion/index.js +201 -0
  16. package/node_modules/brace-expansion/package.json +51 -0
  17. package/node_modules/braces/CHANGELOG.md +184 -0
  18. package/node_modules/braces/LICENSE +21 -0
  19. package/node_modules/braces/README.md +593 -0
  20. package/node_modules/braces/index.js +170 -0
  21. package/node_modules/braces/lib/compile.js +57 -0
  22. package/node_modules/braces/lib/constants.js +57 -0
  23. package/node_modules/braces/lib/expand.js +113 -0
  24. package/node_modules/braces/lib/parse.js +333 -0
  25. package/node_modules/braces/lib/stringify.js +32 -0
  26. package/node_modules/braces/lib/utils.js +112 -0
  27. package/node_modules/braces/package.json +81 -0
  28. package/node_modules/chalk/index.js +228 -0
  29. package/node_modules/chalk/index.js.flow +93 -0
  30. package/node_modules/chalk/license +9 -0
  31. package/node_modules/chalk/package.json +75 -0
  32. package/node_modules/chalk/readme.md +314 -0
  33. package/node_modules/chalk/templates.js +128 -0
  34. package/node_modules/chalk/types/index.d.ts +97 -0
  35. package/node_modules/changelog-parser/.DS_Store +0 -0
  36. package/node_modules/changelog-parser/.travis.yml +7 -0
  37. package/node_modules/changelog-parser/CHANGELOG.md +128 -0
  38. package/node_modules/changelog-parser/CONTRIBUTING.md +55 -0
  39. package/node_modules/changelog-parser/LICENSE.md +15 -0
  40. package/node_modules/changelog-parser/README.md +247 -0
  41. package/node_modules/changelog-parser/bin/cli.js +19 -0
  42. package/node_modules/changelog-parser/index.js +201 -0
  43. package/node_modules/changelog-parser/package.json +54 -0
  44. package/node_modules/changelog-parser/test/fixtures/CHANGELOG.md +44 -0
  45. package/node_modules/changelog-parser/test/fixtures/expected.js +113 -0
  46. package/node_modules/changelog-parser/test/fixtures/remove-markdown-expected.js +113 -0
  47. package/node_modules/changelog-parser/test/index.js +105 -0
  48. package/node_modules/ci-info/CHANGELOG.md +78 -0
  49. package/node_modules/ci-info/LICENSE +21 -0
  50. package/node_modules/ci-info/README.md +108 -0
  51. package/node_modules/ci-info/index.js +66 -0
  52. package/node_modules/ci-info/package.json +40 -0
  53. package/node_modules/ci-info/vendors.json +153 -0
  54. package/node_modules/color-convert/CHANGELOG.md +54 -0
  55. package/node_modules/color-convert/LICENSE +21 -0
  56. package/node_modules/color-convert/README.md +68 -0
  57. package/node_modules/color-convert/conversions.js +868 -0
  58. package/node_modules/color-convert/index.js +78 -0
  59. package/node_modules/color-convert/package.json +50 -0
  60. package/node_modules/color-convert/route.js +97 -0
  61. package/node_modules/color-name/.eslintrc.json +43 -0
  62. package/node_modules/color-name/.npmignore +107 -0
  63. package/node_modules/color-name/LICENSE +8 -0
  64. package/node_modules/color-name/README.md +11 -0
  65. package/node_modules/color-name/index.js +152 -0
  66. package/node_modules/color-name/package.json +29 -0
  67. package/node_modules/color-name/test.js +7 -0
  68. package/node_modules/concat-map/.travis.yml +4 -0
  69. package/node_modules/concat-map/LICENSE +18 -0
  70. package/node_modules/concat-map/README.markdown +62 -0
  71. package/node_modules/concat-map/example/map.js +6 -0
  72. package/node_modules/concat-map/index.js +13 -0
  73. package/node_modules/concat-map/package.json +47 -0
  74. package/node_modules/concat-map/test/map.js +39 -0
  75. package/node_modules/escape-string-regexp/index.js +11 -0
  76. package/node_modules/escape-string-regexp/license +21 -0
  77. package/node_modules/escape-string-regexp/package.json +45 -0
  78. package/node_modules/escape-string-regexp/readme.md +27 -0
  79. package/node_modules/fill-range/LICENSE +21 -0
  80. package/node_modules/fill-range/README.md +237 -0
  81. package/node_modules/fill-range/index.js +249 -0
  82. package/node_modules/fill-range/package.json +73 -0
  83. package/node_modules/find-yarn-workspace-root/CHANGELOG.md +53 -0
  84. package/node_modules/find-yarn-workspace-root/LICENSE +201 -0
  85. package/node_modules/find-yarn-workspace-root/README.md +56 -0
  86. package/node_modules/find-yarn-workspace-root/index.d.ts +3 -0
  87. package/node_modules/find-yarn-workspace-root/index.js +53 -0
  88. package/node_modules/find-yarn-workspace-root/package.json +38 -0
  89. package/node_modules/fs-extra/CHANGELOG.md +842 -0
  90. package/node_modules/fs-extra/LICENSE +15 -0
  91. package/node_modules/fs-extra/README.md +261 -0
  92. package/node_modules/fs-extra/lib/copy/copy.js +246 -0
  93. package/node_modules/fs-extra/lib/copy/index.js +6 -0
  94. package/node_modules/fs-extra/lib/copy-sync/copy-sync.js +193 -0
  95. package/node_modules/fs-extra/lib/copy-sync/index.js +5 -0
  96. package/node_modules/fs-extra/lib/empty/index.js +48 -0
  97. package/node_modules/fs-extra/lib/ensure/file.js +49 -0
  98. package/node_modules/fs-extra/lib/ensure/index.js +23 -0
  99. package/node_modules/fs-extra/lib/ensure/link.js +61 -0
  100. package/node_modules/fs-extra/lib/ensure/symlink-paths.js +99 -0
  101. package/node_modules/fs-extra/lib/ensure/symlink-type.js +31 -0
  102. package/node_modules/fs-extra/lib/ensure/symlink.js +63 -0
  103. package/node_modules/fs-extra/lib/fs/index.js +104 -0
  104. package/node_modules/fs-extra/lib/index.js +28 -0
  105. package/node_modules/fs-extra/lib/json/index.js +16 -0
  106. package/node_modules/fs-extra/lib/json/jsonfile.js +12 -0
  107. package/node_modules/fs-extra/lib/json/output-json-sync.js +18 -0
  108. package/node_modules/fs-extra/lib/json/output-json.js +27 -0
  109. package/node_modules/fs-extra/lib/mkdirs/index.js +14 -0
  110. package/node_modules/fs-extra/lib/mkdirs/mkdirs-sync.js +54 -0
  111. package/node_modules/fs-extra/lib/mkdirs/mkdirs.js +63 -0
  112. package/node_modules/fs-extra/lib/mkdirs/win32.js +25 -0
  113. package/node_modules/fs-extra/lib/move/index.js +82 -0
  114. package/node_modules/fs-extra/lib/move-sync/index.js +117 -0
  115. package/node_modules/fs-extra/lib/output/index.js +40 -0
  116. package/node_modules/fs-extra/lib/path-exists/index.js +12 -0
  117. package/node_modules/fs-extra/lib/remove/index.js +9 -0
  118. package/node_modules/fs-extra/lib/remove/rimraf.js +314 -0
  119. package/node_modules/fs-extra/lib/util/buffer.js +12 -0
  120. package/node_modules/fs-extra/lib/util/utimes.js +79 -0
  121. package/node_modules/fs-extra/package.json +72 -0
  122. package/node_modules/fs.realpath/LICENSE +43 -0
  123. package/node_modules/fs.realpath/README.md +33 -0
  124. package/node_modules/fs.realpath/index.js +66 -0
  125. package/node_modules/fs.realpath/old.js +303 -0
  126. package/node_modules/fs.realpath/package.json +30 -0
  127. package/node_modules/glob/LICENSE +21 -0
  128. package/node_modules/glob/README.md +375 -0
  129. package/node_modules/glob/changelog.md +67 -0
  130. package/node_modules/glob/common.js +240 -0
  131. package/node_modules/glob/glob.js +790 -0
  132. package/node_modules/glob/package.json +50 -0
  133. package/node_modules/glob/sync.js +486 -0
  134. package/node_modules/graceful-fs/LICENSE +15 -0
  135. package/node_modules/graceful-fs/README.md +133 -0
  136. package/node_modules/graceful-fs/clone.js +23 -0
  137. package/node_modules/graceful-fs/graceful-fs.js +373 -0
  138. package/node_modules/graceful-fs/legacy-streams.js +118 -0
  139. package/node_modules/graceful-fs/package.json +54 -0
  140. package/node_modules/graceful-fs/polyfills.js +346 -0
  141. package/node_modules/has-flag/index.js +8 -0
  142. package/node_modules/has-flag/license +9 -0
  143. package/node_modules/has-flag/package.json +48 -0
  144. package/node_modules/has-flag/readme.md +70 -0
  145. package/node_modules/inflight/LICENSE +15 -0
  146. package/node_modules/inflight/README.md +37 -0
  147. package/node_modules/inflight/inflight.js +54 -0
  148. package/node_modules/inflight/package.json +33 -0
  149. package/node_modules/inherits/LICENSE +16 -0
  150. package/node_modules/inherits/README.md +42 -0
  151. package/node_modules/inherits/inherits.js +9 -0
  152. package/node_modules/inherits/inherits_browser.js +27 -0
  153. package/node_modules/inherits/package.json +33 -0
  154. package/node_modules/is-ci/CHANGELOG.md +14 -0
  155. package/node_modules/is-ci/LICENSE +21 -0
  156. package/node_modules/is-ci/README.md +50 -0
  157. package/node_modules/is-ci/bin.js +4 -0
  158. package/node_modules/is-ci/index.js +3 -0
  159. package/node_modules/is-ci/package.json +42 -0
  160. package/node_modules/is-docker/cli.js +5 -0
  161. package/node_modules/is-docker/index.d.ts +15 -0
  162. package/node_modules/is-docker/index.js +29 -0
  163. package/node_modules/is-docker/license +9 -0
  164. package/node_modules/is-docker/package.json +46 -0
  165. package/node_modules/is-docker/readme.md +27 -0
  166. package/node_modules/is-number/LICENSE +21 -0
  167. package/node_modules/is-number/README.md +187 -0
  168. package/node_modules/is-number/index.js +18 -0
  169. package/node_modules/is-number/package.json +86 -0
  170. package/node_modules/is-wsl/index.d.ts +15 -0
  171. package/node_modules/is-wsl/index.js +31 -0
  172. package/node_modules/is-wsl/license +9 -0
  173. package/node_modules/is-wsl/package.json +49 -0
  174. package/node_modules/is-wsl/readme.md +36 -0
  175. package/node_modules/isexe/.npmignore +2 -0
  176. package/node_modules/isexe/LICENSE +15 -0
  177. package/node_modules/isexe/README.md +51 -0
  178. package/node_modules/isexe/index.js +57 -0
  179. package/node_modules/isexe/mode.js +41 -0
  180. package/node_modules/isexe/package.json +35 -0
  181. package/node_modules/isexe/test/basic.js +221 -0
  182. package/node_modules/isexe/windows.js +42 -0
  183. package/node_modules/jsonfile/CHANGELOG.md +145 -0
  184. package/node_modules/jsonfile/LICENSE +15 -0
  185. package/node_modules/jsonfile/README.md +168 -0
  186. package/node_modules/jsonfile/index.js +134 -0
  187. package/node_modules/jsonfile/package.json +41 -0
  188. package/node_modules/klaw-sync/CHANGELOG.md +73 -0
  189. package/node_modules/klaw-sync/LICENSE +20 -0
  190. package/node_modules/klaw-sync/README.md +164 -0
  191. package/node_modules/klaw-sync/klaw-sync.js +29 -0
  192. package/node_modules/klaw-sync/package.json +51 -0
  193. package/node_modules/line-reader/LICENSE +20 -0
  194. package/node_modules/line-reader/README.md +75 -0
  195. package/node_modules/line-reader/lib/line_reader.js +174 -0
  196. package/node_modules/line-reader/package.json +18 -0
  197. package/node_modules/line-reader/test/data/empty_file.txt +0 -0
  198. package/node_modules/line-reader/test/data/multi_separator_file.txt +2 -0
  199. package/node_modules/line-reader/test/data/multibyte_file.txt +2 -0
  200. package/node_modules/line-reader/test/data/normal_file.txt +6 -0
  201. package/node_modules/line-reader/test/data/one_line_file.txt +1 -0
  202. package/node_modules/line-reader/test/data/separator_file.txt +2 -0
  203. package/node_modules/line-reader/test/data/three_line_file.txt +3 -0
  204. package/node_modules/line-reader/test/line_reader.js +222 -0
  205. package/node_modules/lru-cache/LICENSE +15 -0
  206. package/node_modules/lru-cache/README.md +166 -0
  207. package/node_modules/lru-cache/index.js +334 -0
  208. package/node_modules/lru-cache/package.json +38 -0
  209. package/node_modules/micromatch/CHANGELOG.md +109 -0
  210. package/node_modules/micromatch/LICENSE +21 -0
  211. package/node_modules/micromatch/README.md +1008 -0
  212. package/node_modules/micromatch/index.js +467 -0
  213. package/node_modules/micromatch/package.json +123 -0
  214. package/node_modules/minimatch/LICENSE +15 -0
  215. package/node_modules/minimatch/README.md +209 -0
  216. package/node_modules/minimatch/minimatch.js +923 -0
  217. package/node_modules/minimatch/package.json +34 -0
  218. package/node_modules/minimist/.travis.yml +8 -0
  219. package/node_modules/minimist/LICENSE +18 -0
  220. package/node_modules/minimist/example/parse.js +2 -0
  221. package/node_modules/minimist/index.js +245 -0
  222. package/node_modules/minimist/package.json +49 -0
  223. package/node_modules/minimist/readme.markdown +95 -0
  224. package/node_modules/minimist/test/all_bool.js +32 -0
  225. package/node_modules/minimist/test/bool.js +178 -0
  226. package/node_modules/minimist/test/dash.js +31 -0
  227. package/node_modules/minimist/test/default_bool.js +35 -0
  228. package/node_modules/minimist/test/dotted.js +22 -0
  229. package/node_modules/minimist/test/kv_short.js +16 -0
  230. package/node_modules/minimist/test/long.js +31 -0
  231. package/node_modules/minimist/test/num.js +36 -0
  232. package/node_modules/minimist/test/parse.js +197 -0
  233. package/node_modules/minimist/test/parse_modified.js +9 -0
  234. package/node_modules/minimist/test/proto.js +44 -0
  235. package/node_modules/minimist/test/short.js +67 -0
  236. package/node_modules/minimist/test/stop_early.js +15 -0
  237. package/node_modules/minimist/test/unknown.js +102 -0
  238. package/node_modules/minimist/test/whitespace.js +8 -0
  239. package/node_modules/nice-try/CHANGELOG.md +21 -0
  240. package/node_modules/nice-try/LICENSE +21 -0
  241. package/node_modules/nice-try/README.md +32 -0
  242. package/node_modules/nice-try/package.json +37 -0
  243. package/node_modules/nice-try/src/index.js +12 -0
  244. package/node_modules/once/LICENSE +15 -0
  245. package/node_modules/once/README.md +79 -0
  246. package/node_modules/once/once.js +42 -0
  247. package/node_modules/once/package.json +37 -0
  248. package/node_modules/open/index.d.ts +88 -0
  249. package/node_modules/open/index.js +195 -0
  250. package/node_modules/open/license +9 -0
  251. package/node_modules/open/package.json +64 -0
  252. package/node_modules/open/readme.md +154 -0
  253. package/node_modules/open/xdg-open +1066 -0
  254. package/node_modules/os-tmpdir/index.js +25 -0
  255. package/node_modules/os-tmpdir/license +21 -0
  256. package/node_modules/os-tmpdir/package.json +45 -0
  257. package/node_modules/os-tmpdir/readme.md +32 -0
  258. package/node_modules/patch-package/CHANGELOG.md +389 -0
  259. package/node_modules/patch-package/LICENSE +19 -0
  260. package/node_modules/patch-package/README.md +269 -0
  261. package/node_modules/patch-package/dist/PackageDetails.js +102 -0
  262. package/node_modules/patch-package/dist/PackageDetails.test.js +228 -0
  263. package/node_modules/patch-package/dist/applyPatches.js +261 -0
  264. package/node_modules/patch-package/dist/assertNever.js +8 -0
  265. package/node_modules/patch-package/dist/createIssue.js +83 -0
  266. package/node_modules/patch-package/dist/detectPackageManager.js +64 -0
  267. package/node_modules/patch-package/dist/filterFiles.js +17 -0
  268. package/node_modules/patch-package/dist/getAppRootPath.js +22 -0
  269. package/node_modules/patch-package/dist/getPackageResolution.js +85 -0
  270. package/node_modules/patch-package/dist/getPackageVersion.js +9 -0
  271. package/node_modules/patch-package/dist/index.js +161 -0
  272. package/node_modules/patch-package/dist/makePatch.js +231 -0
  273. package/node_modules/patch-package/dist/makeRegExp.js +28 -0
  274. package/node_modules/patch-package/dist/packageIsDevDependency.js +15 -0
  275. package/node_modules/patch-package/dist/packageIsDevDependency.test.js +32 -0
  276. package/node_modules/patch-package/dist/patch/apply.js +197 -0
  277. package/node_modules/patch-package/dist/patch/parse.js +330 -0
  278. package/node_modules/patch-package/dist/patch/read.js +49 -0
  279. package/node_modules/patch-package/dist/patch/reverse.js +96 -0
  280. package/node_modules/patch-package/dist/patchFs.js +20 -0
  281. package/node_modules/patch-package/dist/path.js +17 -0
  282. package/node_modules/patch-package/dist/resolveRelativeFileDependencies.js +21 -0
  283. package/node_modules/patch-package/dist/resolveRelativeFileDependencies.test.js +22 -0
  284. package/node_modules/patch-package/dist/spawnSafe.js +28 -0
  285. package/node_modules/patch-package/index.js +3 -0
  286. package/node_modules/patch-package/node_modules/cross-spawn/CHANGELOG.md +100 -0
  287. package/node_modules/patch-package/node_modules/cross-spawn/LICENSE +21 -0
  288. package/node_modules/patch-package/node_modules/cross-spawn/README.md +94 -0
  289. package/node_modules/patch-package/node_modules/cross-spawn/index.js +39 -0
  290. package/node_modules/patch-package/node_modules/cross-spawn/lib/enoent.js +59 -0
  291. package/node_modules/patch-package/node_modules/cross-spawn/lib/parse.js +125 -0
  292. package/node_modules/patch-package/node_modules/cross-spawn/lib/util/escape.js +45 -0
  293. package/node_modules/patch-package/node_modules/cross-spawn/lib/util/readShebang.js +32 -0
  294. package/node_modules/patch-package/node_modules/cross-spawn/lib/util/resolveCommand.js +47 -0
  295. package/node_modules/patch-package/node_modules/cross-spawn/package.json +80 -0
  296. package/node_modules/patch-package/node_modules/path-key/index.js +13 -0
  297. package/node_modules/patch-package/node_modules/path-key/license +21 -0
  298. package/node_modules/patch-package/node_modules/path-key/package.json +43 -0
  299. package/node_modules/patch-package/node_modules/path-key/readme.md +51 -0
  300. package/node_modules/patch-package/node_modules/rimraf/LICENSE +15 -0
  301. package/node_modules/patch-package/node_modules/rimraf/README.md +101 -0
  302. package/node_modules/patch-package/node_modules/rimraf/bin.js +50 -0
  303. package/node_modules/patch-package/node_modules/rimraf/package.json +33 -0
  304. package/node_modules/patch-package/node_modules/rimraf/rimraf.js +372 -0
  305. package/node_modules/patch-package/node_modules/semver/CHANGELOG.md +39 -0
  306. package/node_modules/patch-package/node_modules/semver/LICENSE +15 -0
  307. package/node_modules/patch-package/node_modules/semver/README.md +412 -0
  308. package/node_modules/patch-package/node_modules/semver/bin/semver +160 -0
  309. package/node_modules/patch-package/node_modules/semver/package.json +32 -0
  310. package/node_modules/patch-package/node_modules/semver/range.bnf +16 -0
  311. package/node_modules/patch-package/node_modules/semver/semver.js +1483 -0
  312. package/node_modules/patch-package/node_modules/shebang-command/index.js +19 -0
  313. package/node_modules/patch-package/node_modules/shebang-command/license +21 -0
  314. package/node_modules/patch-package/node_modules/shebang-command/package.json +43 -0
  315. package/node_modules/patch-package/node_modules/shebang-command/readme.md +39 -0
  316. package/node_modules/patch-package/node_modules/shebang-regex/index.js +2 -0
  317. package/node_modules/patch-package/node_modules/shebang-regex/license +21 -0
  318. package/node_modules/patch-package/node_modules/shebang-regex/package.json +36 -0
  319. package/node_modules/patch-package/node_modules/shebang-regex/readme.md +29 -0
  320. package/node_modules/patch-package/node_modules/slash/index.js +11 -0
  321. package/node_modules/patch-package/node_modules/slash/license +9 -0
  322. package/node_modules/patch-package/node_modules/slash/package.json +38 -0
  323. package/node_modules/patch-package/node_modules/slash/readme.md +44 -0
  324. package/node_modules/patch-package/node_modules/which/CHANGELOG.md +152 -0
  325. package/node_modules/patch-package/node_modules/which/LICENSE +15 -0
  326. package/node_modules/patch-package/node_modules/which/README.md +51 -0
  327. package/node_modules/patch-package/node_modules/which/bin/which +52 -0
  328. package/node_modules/patch-package/node_modules/which/package.json +34 -0
  329. package/node_modules/patch-package/node_modules/which/which.js +135 -0
  330. package/node_modules/patch-package/package.json +100 -0
  331. package/node_modules/path-is-absolute/index.js +20 -0
  332. package/node_modules/path-is-absolute/license +21 -0
  333. package/node_modules/path-is-absolute/package.json +47 -0
  334. package/node_modules/path-is-absolute/readme.md +59 -0
  335. package/node_modules/picomatch/CHANGELOG.md +120 -0
  336. package/node_modules/picomatch/LICENSE +21 -0
  337. package/node_modules/picomatch/README.md +691 -0
  338. package/node_modules/picomatch/index.js +3 -0
  339. package/node_modules/picomatch/lib/constants.js +179 -0
  340. package/node_modules/picomatch/lib/parse.js +1078 -0
  341. package/node_modules/picomatch/lib/picomatch.js +339 -0
  342. package/node_modules/picomatch/lib/scan.js +385 -0
  343. package/node_modules/picomatch/lib/utils.js +64 -0
  344. package/node_modules/picomatch/package.json +85 -0
  345. package/node_modules/remove-markdown/.npmignore +1 -0
  346. package/node_modules/remove-markdown/LICENSE +21 -0
  347. package/node_modules/remove-markdown/README.md +44 -0
  348. package/node_modules/remove-markdown/index.js +60 -0
  349. package/node_modules/remove-markdown/package.json +31 -0
  350. package/node_modules/remove-markdown/test/remove-markdown.js +139 -0
  351. package/node_modules/semver/CHANGELOG.md +111 -0
  352. package/node_modules/semver/LICENSE +15 -0
  353. package/node_modules/semver/README.md +566 -0
  354. package/node_modules/semver/bin/semver.js +173 -0
  355. package/node_modules/semver/classes/comparator.js +135 -0
  356. package/node_modules/semver/classes/index.js +5 -0
  357. package/node_modules/semver/classes/range.js +510 -0
  358. package/node_modules/semver/classes/semver.js +287 -0
  359. package/node_modules/semver/functions/clean.js +6 -0
  360. package/node_modules/semver/functions/cmp.js +48 -0
  361. package/node_modules/semver/functions/coerce.js +51 -0
  362. package/node_modules/semver/functions/compare-build.js +7 -0
  363. package/node_modules/semver/functions/compare-loose.js +3 -0
  364. package/node_modules/semver/functions/compare.js +5 -0
  365. package/node_modules/semver/functions/diff.js +23 -0
  366. package/node_modules/semver/functions/eq.js +3 -0
  367. package/node_modules/semver/functions/gt.js +3 -0
  368. package/node_modules/semver/functions/gte.js +3 -0
  369. package/node_modules/semver/functions/inc.js +15 -0
  370. package/node_modules/semver/functions/lt.js +3 -0
  371. package/node_modules/semver/functions/lte.js +3 -0
  372. package/node_modules/semver/functions/major.js +3 -0
  373. package/node_modules/semver/functions/minor.js +3 -0
  374. package/node_modules/semver/functions/neq.js +3 -0
  375. package/node_modules/semver/functions/parse.js +33 -0
  376. package/node_modules/semver/functions/patch.js +3 -0
  377. package/node_modules/semver/functions/prerelease.js +6 -0
  378. package/node_modules/semver/functions/rcompare.js +3 -0
  379. package/node_modules/semver/functions/rsort.js +3 -0
  380. package/node_modules/semver/functions/satisfies.js +10 -0
  381. package/node_modules/semver/functions/sort.js +3 -0
  382. package/node_modules/semver/functions/valid.js +6 -0
  383. package/node_modules/semver/index.js +48 -0
  384. package/node_modules/semver/internal/constants.js +17 -0
  385. package/node_modules/semver/internal/debug.js +9 -0
  386. package/node_modules/semver/internal/identifiers.js +23 -0
  387. package/node_modules/semver/internal/parse-options.js +11 -0
  388. package/node_modules/semver/internal/re.js +182 -0
  389. package/node_modules/semver/package.json +45 -0
  390. package/node_modules/semver/preload.js +2 -0
  391. package/node_modules/semver/range.bnf +16 -0
  392. package/node_modules/semver/ranges/gtr.js +4 -0
  393. package/node_modules/semver/ranges/intersects.js +7 -0
  394. package/node_modules/semver/ranges/ltr.js +4 -0
  395. package/node_modules/semver/ranges/max-satisfying.js +25 -0
  396. package/node_modules/semver/ranges/min-satisfying.js +24 -0
  397. package/node_modules/semver/ranges/min-version.js +60 -0
  398. package/node_modules/semver/ranges/outside.js +80 -0
  399. package/node_modules/semver/ranges/simplify.js +44 -0
  400. package/node_modules/semver/ranges/subset.js +222 -0
  401. package/node_modules/semver/ranges/to-comparators.js +8 -0
  402. package/node_modules/semver/ranges/valid.js +11 -0
  403. package/node_modules/supports-color/browser.js +5 -0
  404. package/node_modules/supports-color/index.js +131 -0
  405. package/node_modules/supports-color/license +9 -0
  406. package/node_modules/supports-color/package.json +57 -0
  407. package/node_modules/supports-color/readme.md +66 -0
  408. package/node_modules/tmp/LICENSE +21 -0
  409. package/node_modules/tmp/README.md +314 -0
  410. package/node_modules/tmp/lib/tmp.js +611 -0
  411. package/node_modules/tmp/package.json +42 -0
  412. package/node_modules/to-regex-range/LICENSE +21 -0
  413. package/node_modules/to-regex-range/README.md +305 -0
  414. package/node_modules/to-regex-range/index.js +288 -0
  415. package/node_modules/to-regex-range/package.json +92 -0
  416. package/node_modules/universalify/LICENSE +20 -0
  417. package/node_modules/universalify/README.md +76 -0
  418. package/node_modules/universalify/index.js +25 -0
  419. package/node_modules/universalify/package.json +38 -0
  420. package/node_modules/wrappy/LICENSE +15 -0
  421. package/node_modules/wrappy/README.md +36 -0
  422. package/node_modules/wrappy/package.json +33 -0
  423. package/node_modules/wrappy/wrappy.js +33 -0
  424. package/node_modules/yallist/LICENSE +15 -0
  425. package/node_modules/yallist/README.md +204 -0
  426. package/node_modules/yallist/iterator.js +8 -0
  427. package/node_modules/yallist/package.json +33 -0
  428. package/node_modules/yallist/yallist.js +426 -0
  429. package/package.json +5 -1
@@ -0,0 +1,64 @@
1
+ 'use strict';
2
+
3
+ const path = require('path');
4
+ const win32 = process.platform === 'win32';
5
+ const {
6
+ REGEX_BACKSLASH,
7
+ REGEX_REMOVE_BACKSLASH,
8
+ REGEX_SPECIAL_CHARS,
9
+ REGEX_SPECIAL_CHARS_GLOBAL
10
+ } = require('./constants');
11
+
12
+ exports.isObject = val => val !== null && typeof val === 'object' && !Array.isArray(val);
13
+ exports.hasRegexChars = str => REGEX_SPECIAL_CHARS.test(str);
14
+ exports.isRegexChar = str => str.length === 1 && exports.hasRegexChars(str);
15
+ exports.escapeRegex = str => str.replace(REGEX_SPECIAL_CHARS_GLOBAL, '\\$1');
16
+ exports.toPosixSlashes = str => str.replace(REGEX_BACKSLASH, '/');
17
+
18
+ exports.removeBackslashes = str => {
19
+ return str.replace(REGEX_REMOVE_BACKSLASH, match => {
20
+ return match === '\\' ? '' : match;
21
+ });
22
+ };
23
+
24
+ exports.supportsLookbehinds = () => {
25
+ const segs = process.version.slice(1).split('.').map(Number);
26
+ if (segs.length === 3 && segs[0] >= 9 || (segs[0] === 8 && segs[1] >= 10)) {
27
+ return true;
28
+ }
29
+ return false;
30
+ };
31
+
32
+ exports.isWindows = options => {
33
+ if (options && typeof options.windows === 'boolean') {
34
+ return options.windows;
35
+ }
36
+ return win32 === true || path.sep === '\\';
37
+ };
38
+
39
+ exports.escapeLast = (input, char, lastIdx) => {
40
+ const idx = input.lastIndexOf(char, lastIdx);
41
+ if (idx === -1) return input;
42
+ if (input[idx - 1] === '\\') return exports.escapeLast(input, char, idx - 1);
43
+ return `${input.slice(0, idx)}\\${input.slice(idx)}`;
44
+ };
45
+
46
+ exports.removePrefix = (input, state = {}) => {
47
+ let output = input;
48
+ if (output.startsWith('./')) {
49
+ output = output.slice(2);
50
+ state.prefix = './';
51
+ }
52
+ return output;
53
+ };
54
+
55
+ exports.wrapOutput = (input, state = {}, options = {}) => {
56
+ const prepend = options.contains ? '' : '^';
57
+ const append = options.contains ? '' : '$';
58
+
59
+ let output = `${prepend}(?:${input})${append}`;
60
+ if (state.negated === true) {
61
+ output = `(?:^(?!${output}).*$)`;
62
+ }
63
+ return output;
64
+ };
@@ -0,0 +1,85 @@
1
+ {
2
+ "name": "picomatch",
3
+ "description": "Blazing fast and accurate glob matcher written in JavaScript, with no dependencies and full support for standard and extended Bash glob features, including braces, extglobs, POSIX brackets, and regular expressions.",
4
+ "version": "2.2.3",
5
+ "homepage": "https://github.com/micromatch/picomatch",
6
+ "author": "Jon Schlinkert (https://github.com/jonschlinkert)",
7
+ "funding": "https://github.com/sponsors/jonschlinkert",
8
+ "repository": "micromatch/picomatch",
9
+ "bugs": {
10
+ "url": "https://github.com/micromatch/picomatch/issues"
11
+ },
12
+ "license": "MIT",
13
+ "files": [
14
+ "index.js",
15
+ "lib"
16
+ ],
17
+ "main": "index.js",
18
+ "engines": {
19
+ "node": ">=8.6"
20
+ },
21
+ "scripts": {
22
+ "lint": "eslint --cache --cache-location node_modules/.cache/.eslintcache --report-unused-disable-directives --ignore-path .gitignore .",
23
+ "mocha": "mocha --reporter dot",
24
+ "test": "npm run lint && npm run mocha",
25
+ "test:ci": "npm run test:cover",
26
+ "test:cover": "nyc npm run mocha"
27
+ },
28
+ "devDependencies": {
29
+ "eslint": "^6.8.0",
30
+ "fill-range": "^7.0.1",
31
+ "gulp-format-md": "^2.0.0",
32
+ "mocha": "^6.2.2",
33
+ "nyc": "^15.0.0",
34
+ "time-require": "github:jonschlinkert/time-require"
35
+ },
36
+ "keywords": [
37
+ "glob",
38
+ "match",
39
+ "picomatch"
40
+ ],
41
+ "nyc": {
42
+ "reporter": [
43
+ "html",
44
+ "lcov",
45
+ "text-summary"
46
+ ]
47
+ },
48
+ "verb": {
49
+ "toc": {
50
+ "render": true,
51
+ "method": "preWrite",
52
+ "maxdepth": 3
53
+ },
54
+ "layout": "empty",
55
+ "tasks": [
56
+ "readme"
57
+ ],
58
+ "plugins": [
59
+ "gulp-format-md"
60
+ ],
61
+ "lint": {
62
+ "reflinks": true
63
+ },
64
+ "related": {
65
+ "list": [
66
+ "braces",
67
+ "micromatch"
68
+ ]
69
+ },
70
+ "reflinks": [
71
+ "braces",
72
+ "expand-brackets",
73
+ "extglob",
74
+ "fill-range",
75
+ "micromatch",
76
+ "minimatch",
77
+ "nanomatch",
78
+ "picomatch"
79
+ ]
80
+ }
81
+
82
+ ,"_resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.2.3.tgz"
83
+ ,"_integrity": "sha512-KpELjfwcCDUb9PeigTs2mBJzXUPzAuP2oPcA989He8Rte0+YUAjw1JVedDhuTKPkHjSYzMN3npC9luThGYEKdg=="
84
+ ,"_from": "picomatch@2.2.3"
85
+ }
@@ -0,0 +1 @@
1
+ node_modules/
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2015 Stian Grytøyr
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,44 @@
1
+ [![CircleCI](https://circleci.com/gh/stiang/remove-markdown.svg?style=svg&circle-token=cac2feef7dc90e6b8578aec361be369412be1c6a)](https://circleci.com/gh/stiang/remove-markdown)
2
+
3
+ ## What is it?
4
+ **remove-markdown** is a node.js module that will remove (strip) Markdown formatting from a text. "Markdown formatting" means pretty much anything that doesn’t look like regular text, like square brackets, asterisks etc.
5
+
6
+ ## When do I need it?
7
+ The typical use case is to display an excerpt of a Markdown text, without the actual Markdown (or rendered HTML, for that matter), for example in a list of posts.
8
+
9
+ ## Installation
10
+
11
+ ```
12
+ npm install remove-markdown
13
+ ```
14
+
15
+ ## Usage
16
+ ```js
17
+ const removeMd = require('remove-markdown');
18
+ const markdown = '# This is a heading\n\nThis is a paragraph with [a link](http://www.disney.com/) in it.';
19
+ const plainText = removeMd(markdown); // plainText is now 'This is a heading\n\nThis is a paragraph with a link in it.'
20
+ ```
21
+
22
+ You can also supply an options object to the function. Currently, the following options are supported:
23
+
24
+ ```js
25
+ var plainText = removeMd(markdown, {
26
+ stripListLeaders: true , // strip list leaders (default: true)
27
+ listUnicodeChar: '', // char to insert instead of stripped list leaders (default: '')
28
+ gfm: true // support GitHub-Flavored Markdown (default: true)
29
+ });
30
+ ```
31
+
32
+ Setting `stripListLeaders` to false will retain any list characters (`*, -, +, (digit).`).
33
+
34
+ ## TODO
35
+ PRs are very much welcome.
36
+ * Allow the RegEx expressions to be customized per rule
37
+ * Make the rules more robust, support more edge cases
38
+ * Add more (comprehensive) tests
39
+
40
+ ## Credits
41
+ The code is based on [Markdown Service Tools - Strip Markdown](http://brettterpstra.com/2013/10/18/a-markdown-service-to-strip-markdown/) by Brett Terpstra.
42
+
43
+ ## Author
44
+ Stian Grytøyr
@@ -0,0 +1,60 @@
1
+ module.exports = function(md, options) {
2
+ options = options || {};
3
+ options.listUnicodeChar = options.hasOwnProperty('listUnicodeChar') ? options.listUnicodeChar : false;
4
+ options.stripListLeaders = options.hasOwnProperty('stripListLeaders') ? options.stripListLeaders : true;
5
+ options.gfm = options.hasOwnProperty('gfm') ? options.gfm : true;
6
+
7
+ var output = md || '';
8
+
9
+ // Remove horizontal rules (stripListHeaders conflict with this rule, which is why it has been moved to the top)
10
+ output = output.replace(/^(-\s*?|\*\s*?|_\s*?){3,}\s*$/gm, '');
11
+
12
+ try {
13
+ if (options.stripListLeaders) {
14
+ if (options.listUnicodeChar)
15
+ output = output.replace(/^([\s\t]*)([\*\-\+]|\d+\.)\s+/gm, options.listUnicodeChar + ' $1');
16
+ else
17
+ output = output.replace(/^([\s\t]*)([\*\-\+]|\d+\.)\s+/gm, '$1');
18
+ }
19
+ if (options.gfm) {
20
+ output = output
21
+ // Header
22
+ .replace(/\n={2,}/g, '\n')
23
+ // Strikethrough
24
+ .replace(/~~/g, '')
25
+ // Fenced codeblocks
26
+ .replace(/`{3}.*\n/g, '');
27
+ }
28
+ output = output
29
+ // Remove HTML tags
30
+ .replace(/<[^>]*>/g, '')
31
+ // Remove setext-style headers
32
+ .replace(/^[=\-]{2,}\s*$/g, '')
33
+ // Remove footnotes?
34
+ .replace(/\[\^.+?\](\: .*?$)?/g, '')
35
+ .replace(/\s{0,2}\[.*?\]: .*?$/g, '')
36
+ // Remove images
37
+ .replace(/\!\[.*?\][\[\(].*?[\]\)]/g, '')
38
+ // Remove inline links
39
+ .replace(/\[(.*?)\][\[\(].*?[\]\)]/g, '$1')
40
+ // Remove blockquotes
41
+ .replace(/^\s{0,3}>\s?/g, '')
42
+ // Remove reference-style links?
43
+ .replace(/^\s{1,2}\[(.*?)\]: (\S+)( ".*?")?\s*$/g, '')
44
+ // Remove atx-style headers
45
+ .replace(/^(\n)?\s{0,}#{1,6}\s+| {0,}(\n)?\s{0,}#{0,} {0,}(\n)?\s{0,}$/gm, '$1$2$3')
46
+ // Remove emphasis (repeat the line to remove double emphasis)
47
+ .replace(/([\*_]{1,3})(\S.*?\S{0,1})\1/g, '$2')
48
+ .replace(/([\*_]{1,3})(\S.*?\S{0,1})\1/g, '$2')
49
+ // Remove code blocks
50
+ .replace(/(`{3,})(.*?)\1/gm, '$2')
51
+ // Remove inline code
52
+ .replace(/`(.+?)`/g, '$1')
53
+ // Replace two or more newlines with exactly two? Not entirely sure this belongs here...
54
+ .replace(/\n{2,}/g, '\n\n');
55
+ } catch(e) {
56
+ console.error(e);
57
+ return md;
58
+ }
59
+ return output;
60
+ };
@@ -0,0 +1,31 @@
1
+ {
2
+ "name": "remove-markdown",
3
+ "version": "0.2.2",
4
+ "description": "Remove Markdown formatting from text",
5
+ "main": "index.js",
6
+ "scripts": {
7
+ "test": "./node_modules/.bin/mocha -R spec test/remove-markdown.js"
8
+ },
9
+ "repository": {
10
+ "type": "git",
11
+ "url": "https://github.com/stiang/remove-markdown.git"
12
+ },
13
+ "keywords": [
14
+ "markdown"
15
+ ],
16
+ "author": "Stian Grytøyr",
17
+ "license": "MIT",
18
+ "bugs": {
19
+ "url": "https://github.com/stiang/remove-markdown/issues"
20
+ },
21
+ "homepage": "https://github.com/stiang/remove-markdown",
22
+ "devDependencies": {
23
+ "chai": "^4.0.2",
24
+ "mocha": "^2.1.0",
25
+ "should": "^5.0.0"
26
+ }
27
+
28
+ ,"_resolved": "https://registry.npmjs.org/remove-markdown/-/remove-markdown-0.2.2.tgz"
29
+ ,"_integrity": "sha1-ZrDO66n7d8qWNrsbAwfOIaMqEqY="
30
+ ,"_from": "remove-markdown@0.2.2"
31
+ }
@@ -0,0 +1,139 @@
1
+ 'use strict';
2
+ const expect = require('chai').expect;
3
+ const removeMd = require('../');
4
+
5
+ describe('remove Markdown', function () {
6
+ describe('removeMd', function () {
7
+ it('should leave a string alone without markdown', function () {
8
+ const string = 'Javascript Developers are the best.';
9
+ expect(removeMd(string)).to.equal(string);
10
+ });
11
+
12
+ it('should strip out remaining markdown', function () {
13
+ const string = '*Javascript* developers are the _best_.';
14
+ const expected = 'Javascript developers are the best.';
15
+ expect(removeMd(string)).to.equal(expected);
16
+ });
17
+
18
+ it('should leave non-matching markdown markdown', function () {
19
+ const string = '*Javascript* developers* are the _best_.';
20
+ const expected = 'Javascript developers* are the best.';
21
+ expect(removeMd(string)).to.equal(expected);
22
+ });
23
+
24
+ it('should leave non-matching markdown, but strip empty anchors', function () {
25
+ const string = '*Javascript* [developers]()* are the _best_.';
26
+ const expected = 'Javascript developers* are the best.';
27
+ expect(removeMd(string)).to.equal(expected);
28
+ });
29
+
30
+ it('should strip HTML', function () {
31
+ const string = '<p>Hello World</p>';
32
+ const expected = 'Hello World';
33
+ expect(removeMd(string)).to.equal(expected);
34
+ });
35
+
36
+ it('should strip anchors', function () {
37
+ const string = '*Javascript* [developers](https://engineering.condenast.io/)* are the _best_.';
38
+ const expected = 'Javascript developers* are the best.';
39
+ expect(removeMd(string)).to.equal(expected);
40
+ });
41
+
42
+ it('should strip img tags', function () {
43
+ const string = '![bear](https://placebear.com/640/480)*Javascript* developers are the _best_.';
44
+ const expected = 'Javascript developers are the best.';
45
+ expect(removeMd(string)).to.equal(expected);
46
+ });
47
+
48
+ it('should strip code tags', function () {
49
+ const string = 'In `Getting Started` we set up `something` foo.';
50
+ const expected = 'In Getting Started we set up something foo.';
51
+ expect(removeMd(string)).to.equal(expected);
52
+ });
53
+
54
+ it('should leave hashtags in headings', function () {
55
+ const string = '## This #heading contains #hashtags';
56
+ const expected = 'This #heading contains #hashtags';
57
+ expect(removeMd(string)).to.equal(expected);
58
+ });
59
+
60
+ it('should remove emphasis', function () {
61
+ const string = 'I italicized an *I* and it _made_ me *sad*.';
62
+ const expected = 'I italicized an I and it made me sad.';
63
+ expect(removeMd(string)).to.equal(expected);
64
+ });
65
+
66
+ it('should remove double emphasis', function () {
67
+ const string = '**this sentence has __double styling__**';
68
+ const expected = 'this sentence has double styling';
69
+ expect(removeMd(string)).to.equal(expected);
70
+ });
71
+
72
+ it('should remove horizontal rules', function () {
73
+ const string = 'Some text on a line\n\n---\n\nA line below';
74
+ const expected = 'Some text on a line\n\nA line below';
75
+ expect(removeMd(string)).to.equal(expected);
76
+ });
77
+
78
+ it('should remove horizontal rules with space-separated asterisks', function () {
79
+ const string = 'Some text on a line\n\n* * *\n\nA line below';
80
+ const expected = 'Some text on a line\n\nA line below';
81
+ expect(removeMd(string)).to.equal(expected);
82
+ });
83
+
84
+ it('should remove blockquotes', function () {
85
+ const string = '>I am a blockquote';
86
+ const expected = 'I am a blockquote';
87
+ expect(removeMd(string)).to.equal(expected);
88
+ });
89
+
90
+ it('should remove blockquotes with spaces', function () {
91
+ const string = '> I am a blockquote';
92
+ const expected = 'I am a blockquote';
93
+ expect(removeMd(string)).to.equal(expected);
94
+ });
95
+
96
+ it('should remove indented blockquotes', function () {
97
+ var tests = [
98
+ { string: ' > I am a blockquote', expected: 'I am a blockquote' },
99
+ { string: ' > I am a blockquote', expected: 'I am a blockquote' },
100
+ { string: ' > I am a blockquote', expected: 'I am a blockquote' },
101
+ ];
102
+ tests.forEach(function (test) {
103
+ expect(removeMd(test.string)).to.equal(test.expected);
104
+ });
105
+ });
106
+
107
+ it('should not remove greater than signs', function () {
108
+ var tests = [
109
+ { string: '100 > 0', expected: '100 > 0' },
110
+ { string: '100 >= 0', expected: '100 >= 0' },
111
+ { string: '100>0', expected: '100>0' },
112
+ { string: '> 100 > 0', expected: '100 > 0' },
113
+ { string: '1 < 100', expected: '1 < 100' },
114
+ { string: '1 <= 100', expected: '1 <= 100' },
115
+ ];
116
+ tests.forEach(function (test) {
117
+ expect(removeMd(test.string)).to.equal(test.expected);
118
+ });
119
+ });
120
+
121
+ it('should strip unordered list leaders', function () {
122
+ const string = 'Some text on a line\n\n* A list Item\n* Another list item';
123
+ const expected = 'Some text on a line\n\nA list Item\nAnother list item';
124
+ expect(removeMd(string)).to.equal(expected);
125
+ });
126
+
127
+ it('should strip ordered list leaders', function () {
128
+ const string = 'Some text on a line\n\n9. A list Item\n10. Another list item';
129
+ const expected = 'Some text on a line\n\nA list Item\nAnother list item';
130
+ expect(removeMd(string)).to.equal(expected);
131
+ });
132
+
133
+ it('should handle paragraphs with markdown', function () {
134
+ const paragraph = '\n## This is a heading ##\n\nThis is a paragraph with [a link](http://www.disney.com/).\n\n### This is another heading\n\nIn `Getting Started` we set up `something` foo.\n\n * Some list\n * With items\n * Even indented';
135
+ const expected = '\nThis is a heading\n\nThis is a paragraph with a link.\n\nThis is another heading\n\nIn Getting Started we set up something foo.\n\n Some list\n With items\n Even indented';
136
+ expect(removeMd(paragraph)).to.equal(expected);
137
+ });
138
+ });
139
+ });
@@ -0,0 +1,111 @@
1
+ # changes log
2
+
3
+ ## 7.3.0
4
+
5
+ * Add `subset(r1, r2)` method to determine if `r1` range is entirely
6
+ contained by `r2` range.
7
+
8
+ ## 7.2.3
9
+
10
+ * Fix handling of `includePrelease` mode where version ranges like `1.0.0 -
11
+ 2.0.0` would include `3.0.0-pre` and not `1.0.0-pre`.
12
+
13
+ ## 7.2.2
14
+
15
+ * Fix bug where `2.0.0-pre` would be included in `^1.0.0` if
16
+ `includePrerelease` was set to true.
17
+
18
+ ## 7.2.0
19
+
20
+ * Add `simplifyRange` method to attempt to generate a more human-readable
21
+ range expression that is equivalent to a supplied range, for a given set
22
+ of versions.
23
+
24
+ ## 7.1.2
25
+
26
+ * Remove fancy lazy-loading logic, as it was causing problems for webpack
27
+ users.
28
+
29
+ ## 7.1.0
30
+
31
+ * Add `require('semver/preload')` to load the entire module without using
32
+ lazy getter methods.
33
+
34
+ ## 7.0.0
35
+
36
+ * Refactor module into separate files for better tree-shaking
37
+ * Drop support for very old node versions, use const/let, `=>` functions,
38
+ and classes.
39
+
40
+ ## 6.3.0
41
+
42
+ * Expose the token enum on the exports
43
+
44
+ ## 6.2.0
45
+
46
+ * Coerce numbers to strings when passed to semver.coerce()
47
+ * Add `rtl` option to coerce from right to left
48
+
49
+ ## 6.1.3
50
+
51
+ * Handle X-ranges properly in includePrerelease mode
52
+
53
+ ## 6.1.2
54
+
55
+ * Do not throw when testing invalid version strings
56
+
57
+ ## 6.1.1
58
+
59
+ * Add options support for semver.coerce()
60
+ * Handle undefined version passed to Range.test
61
+
62
+ ## 6.1.0
63
+
64
+ * Add semver.compareBuild function
65
+ * Support `*` in semver.intersects
66
+
67
+ ## 6.0
68
+
69
+ * Fix `intersects` logic.
70
+
71
+ This is technically a bug fix, but since it is also a change to behavior
72
+ that may require users updating their code, it is marked as a major
73
+ version increment.
74
+
75
+ ## 5.7
76
+
77
+ * Add `minVersion` method
78
+
79
+ ## 5.6
80
+
81
+ * Move boolean `loose` param to an options object, with
82
+ backwards-compatibility protection.
83
+ * Add ability to opt out of special prerelease version handling with
84
+ the `includePrerelease` option flag.
85
+
86
+ ## 5.5
87
+
88
+ * Add version coercion capabilities
89
+
90
+ ## 5.4
91
+
92
+ * Add intersection checking
93
+
94
+ ## 5.3
95
+
96
+ * Add `minSatisfying` method
97
+
98
+ ## 5.2
99
+
100
+ * Add `prerelease(v)` that returns prerelease components
101
+
102
+ ## 5.1
103
+
104
+ * Add Backus-Naur for ranges
105
+ * Remove excessively cute inspection methods
106
+
107
+ ## 5.0
108
+
109
+ * Remove AMD/Browserified build artifacts
110
+ * Fix ltr and gtr when using the `*` range
111
+ * Fix for range `*` with a prerelease identifier
@@ -0,0 +1,15 @@
1
+ The ISC License
2
+
3
+ Copyright (c) Isaac Z. Schlueter and Contributors
4
+
5
+ Permission to use, copy, modify, and/or distribute this software for any
6
+ purpose with or without fee is hereby granted, provided that the above
7
+ copyright notice and this permission notice appear in all copies.
8
+
9
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
10
+ WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
11
+ MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
12
+ ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
13
+ WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
14
+ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
15
+ IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.