@windrun-huaiin/dev-scripts 14.1.3 → 14.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (236) hide show
  1. package/dist/commands/create-diaomao-app.d.ts.map +1 -1
  2. package/dist/commands/create-diaomao-app.js +2 -0
  3. package/dist/commands/create-diaomao-app.mjs +2 -0
  4. package/package.json +1 -1
  5. package/dist/_virtual/_commonjsHelpers.js +0 -7
  6. package/dist/_virtual/_commonjsHelpers.mjs +0 -5
  7. package/dist/_virtual/index.js +0 -11
  8. package/dist/_virtual/index.mjs +0 -7
  9. package/dist/_virtual/re.js +0 -5
  10. package/dist/_virtual/re.mjs +0 -3
  11. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/classes/comparator.js +0 -161
  12. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/classes/comparator.mjs +0 -159
  13. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/classes/range.js +0 -576
  14. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/classes/range.mjs +0 -574
  15. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/classes/semver.js +0 -350
  16. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/classes/semver.mjs +0 -348
  17. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/clean.js +0 -21
  18. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/clean.mjs +0 -19
  19. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/cmp.js +0 -72
  20. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/cmp.mjs +0 -70
  21. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/coerce.js +0 -77
  22. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/coerce.mjs +0 -75
  23. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/compare-build.js +0 -22
  24. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/compare-build.mjs +0 -20
  25. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/compare-loose.js +0 -18
  26. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/compare-loose.mjs +0 -16
  27. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/compare.js +0 -20
  28. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/compare.mjs +0 -18
  29. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/diff.js +0 -73
  30. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/diff.mjs +0 -71
  31. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/eq.js +0 -18
  32. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/eq.mjs +0 -16
  33. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/gt.js +0 -18
  34. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/gt.mjs +0 -16
  35. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/gte.js +0 -18
  36. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/gte.mjs +0 -16
  37. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/inc.js +0 -34
  38. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/inc.mjs +0 -32
  39. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/lt.js +0 -18
  40. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/lt.mjs +0 -16
  41. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/lte.js +0 -18
  42. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/lte.mjs +0 -16
  43. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/major.js +0 -18
  44. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/major.mjs +0 -16
  45. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/minor.js +0 -18
  46. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/minor.mjs +0 -16
  47. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/neq.js +0 -18
  48. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/neq.mjs +0 -16
  49. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/parse.js +0 -31
  50. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/parse.mjs +0 -29
  51. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/patch.js +0 -18
  52. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/patch.mjs +0 -16
  53. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/prerelease.js +0 -21
  54. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/prerelease.mjs +0 -19
  55. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/rcompare.js +0 -18
  56. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/rcompare.mjs +0 -16
  57. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/rsort.js +0 -18
  58. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/rsort.mjs +0 -16
  59. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/satisfies.js +0 -25
  60. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/satisfies.mjs +0 -23
  61. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/sort.js +0 -18
  62. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/sort.mjs +0 -16
  63. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/valid.js +0 -21
  64. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/valid.mjs +0 -19
  65. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/index.js +0 -144
  66. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/index.mjs +0 -142
  67. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/internal/constants.js +0 -48
  68. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/internal/constants.mjs +0 -46
  69. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/internal/debug.js +0 -22
  70. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/internal/debug.mjs +0 -20
  71. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/internal/identifiers.js +0 -40
  72. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/internal/identifiers.mjs +0 -38
  73. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/internal/lrucache.js +0 -53
  74. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/internal/lrucache.mjs +0 -51
  75. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/internal/parse-options.js +0 -28
  76. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/internal/parse-options.mjs +0 -26
  77. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/internal/re.js +0 -239
  78. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/internal/re.mjs +0 -237
  79. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/ranges/gtr.js +0 -19
  80. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/ranges/gtr.mjs +0 -17
  81. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/ranges/intersects.js +0 -22
  82. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/ranges/intersects.mjs +0 -20
  83. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/ranges/ltr.js +0 -19
  84. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/ranges/ltr.mjs +0 -17
  85. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/ranges/max-satisfying.js +0 -41
  86. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/ranges/max-satisfying.mjs +0 -39
  87. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/ranges/min-satisfying.js +0 -40
  88. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/ranges/min-satisfying.mjs +0 -38
  89. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/ranges/min-version.js +0 -78
  90. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/ranges/min-version.mjs +0 -76
  91. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/ranges/outside.js +0 -102
  92. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/ranges/outside.mjs +0 -100
  93. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/ranges/simplify.js +0 -63
  94. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/ranges/simplify.mjs +0 -61
  95. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/ranges/subset.js +0 -265
  96. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/ranges/subset.mjs +0 -263
  97. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/ranges/to-comparators.js +0 -23
  98. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/ranges/to-comparators.mjs +0 -21
  99. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/ranges/valid.js +0 -26
  100. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/ranges/valid.mjs +0 -24
  101. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/compose/compose-collection.js +0 -90
  102. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/compose/compose-collection.mjs +0 -88
  103. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/compose/compose-doc.js +0 -45
  104. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/compose/compose-doc.mjs +0 -43
  105. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/compose/compose-node.js +0 -105
  106. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/compose/compose-node.mjs +0 -102
  107. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/compose/compose-scalar.js +0 -88
  108. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/compose/compose-scalar.mjs +0 -86
  109. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/compose/composer.js +0 -219
  110. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/compose/composer.mjs +0 -217
  111. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/compose/resolve-block-map.js +0 -117
  112. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/compose/resolve-block-map.mjs +0 -115
  113. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/compose/resolve-block-scalar.js +0 -200
  114. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/compose/resolve-block-scalar.mjs +0 -198
  115. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/compose/resolve-block-seq.js +0 -51
  116. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/compose/resolve-block-seq.mjs +0 -49
  117. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/compose/resolve-end.js +0 -39
  118. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/compose/resolve-end.mjs +0 -37
  119. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/compose/resolve-flow-collection.js +0 -209
  120. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/compose/resolve-flow-collection.mjs +0 -207
  121. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/compose/resolve-flow-scalar.js +0 -225
  122. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/compose/resolve-flow-scalar.mjs +0 -223
  123. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/compose/resolve-props.js +0 -148
  124. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/compose/resolve-props.mjs +0 -146
  125. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/compose/util-contains-newline.js +0 -36
  126. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/compose/util-contains-newline.mjs +0 -34
  127. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/compose/util-empty-scalar-position.js +0 -28
  128. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/compose/util-empty-scalar-position.mjs +0 -26
  129. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/compose/util-flow-indent-check.js +0 -17
  130. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/compose/util-flow-indent-check.mjs +0 -15
  131. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/compose/util-map-includes.js +0 -15
  132. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/compose/util-map-includes.mjs +0 -13
  133. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/doc/Document.js +0 -337
  134. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/doc/Document.mjs +0 -335
  135. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/doc/anchors.js +0 -76
  136. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/doc/anchors.mjs +0 -71
  137. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/doc/applyReviver.js +0 -57
  138. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/doc/applyReviver.mjs +0 -55
  139. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/doc/createNode.js +0 -90
  140. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/doc/createNode.mjs +0 -88
  141. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/doc/directives.js +0 -178
  142. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/doc/directives.mjs +0 -176
  143. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/errors.js +0 -62
  144. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/errors.mjs +0 -57
  145. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/log.js +0 -9
  146. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/log.mjs +0 -7
  147. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/nodes/Alias.js +0 -116
  148. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/nodes/Alias.mjs +0 -114
  149. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/nodes/Collection.js +0 -151
  150. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/nodes/Collection.mjs +0 -147
  151. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/nodes/Node.js +0 -40
  152. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/nodes/Node.mjs +0 -38
  153. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/nodes/Pair.js +0 -39
  154. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/nodes/Pair.mjs +0 -36
  155. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/nodes/Scalar.js +0 -27
  156. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/nodes/Scalar.mjs +0 -24
  157. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/nodes/YAMLMap.js +0 -147
  158. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/nodes/YAMLMap.mjs +0 -144
  159. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/nodes/YAMLSeq.js +0 -115
  160. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/nodes/YAMLSeq.mjs +0 -113
  161. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/nodes/addPairToJSMap.js +0 -65
  162. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/nodes/addPairToJSMap.mjs +0 -63
  163. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/nodes/identity.js +0 -53
  164. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/nodes/identity.mjs +0 -36
  165. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/nodes/toJS.js +0 -39
  166. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/nodes/toJS.mjs +0 -37
  167. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/parse/cst.js +0 -79
  168. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/parse/cst.mjs +0 -73
  169. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/parse/lexer.js +0 -719
  170. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/parse/lexer.mjs +0 -717
  171. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/parse/line-counter.js +0 -41
  172. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/parse/line-counter.mjs +0 -39
  173. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/parse/parser.js +0 -969
  174. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/parse/parser.mjs +0 -967
  175. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/public-api.js +0 -68
  176. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/public-api.mjs +0 -64
  177. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/schema/Schema.js +0 -39
  178. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/schema/Schema.mjs +0 -37
  179. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/schema/common/map.js +0 -19
  180. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/schema/common/map.mjs +0 -17
  181. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/schema/common/null.js +0 -17
  182. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/schema/common/null.mjs +0 -15
  183. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/schema/common/seq.js +0 -19
  184. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/schema/common/seq.mjs +0 -17
  185. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/schema/common/string.js +0 -16
  186. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/schema/common/string.mjs +0 -14
  187. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/schema/core/bool.js +0 -21
  188. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/schema/core/bool.mjs +0 -19
  189. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/schema/core/float.js +0 -47
  190. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/schema/core/float.mjs +0 -43
  191. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/schema/core/int.js +0 -42
  192. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/schema/core/int.mjs +0 -38
  193. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/schema/core/schema.js +0 -25
  194. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/schema/core/schema.mjs +0 -23
  195. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/schema/json/schema.js +0 -64
  196. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/schema/json/schema.mjs +0 -62
  197. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/schema/tags.js +0 -99
  198. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/schema/tags.mjs +0 -96
  199. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/schema/yaml-1.1/binary.js +0 -60
  200. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/schema/yaml-1.1/binary.mjs +0 -58
  201. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/schema/yaml-1.1/bool.js +0 -29
  202. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/schema/yaml-1.1/bool.mjs +0 -26
  203. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/schema/yaml-1.1/float.js +0 -50
  204. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/schema/yaml-1.1/float.mjs +0 -46
  205. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/schema/yaml-1.1/int.js +0 -76
  206. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/schema/yaml-1.1/int.mjs +0 -71
  207. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/schema/yaml-1.1/merge.js +0 -68
  208. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/schema/yaml-1.1/merge.mjs +0 -64
  209. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/schema/yaml-1.1/omap.js +0 -77
  210. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/schema/yaml-1.1/omap.mjs +0 -74
  211. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/schema/yaml-1.1/pairs.js +0 -82
  212. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/schema/yaml-1.1/pairs.mjs +0 -78
  213. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/schema/yaml-1.1/schema.js +0 -41
  214. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/schema/yaml-1.1/schema.mjs +0 -39
  215. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/schema/yaml-1.1/set.js +0 -96
  216. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/schema/yaml-1.1/set.mjs +0 -93
  217. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/schema/yaml-1.1/timestamp.js +0 -105
  218. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/schema/yaml-1.1/timestamp.mjs +0 -101
  219. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/stringify/foldFlowLines.js +0 -151
  220. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/stringify/foldFlowLines.mjs +0 -146
  221. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/stringify/stringify.js +0 -131
  222. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/stringify/stringify.mjs +0 -128
  223. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/stringify/stringifyCollection.js +0 -145
  224. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/stringify/stringifyCollection.mjs +0 -143
  225. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/stringify/stringifyComment.js +0 -24
  226. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/stringify/stringifyComment.mjs +0 -20
  227. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/stringify/stringifyDocument.js +0 -87
  228. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/stringify/stringifyDocument.mjs +0 -85
  229. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/stringify/stringifyNumber.js +0 -26
  230. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/stringify/stringifyNumber.mjs +0 -24
  231. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/stringify/stringifyPair.js +0 -152
  232. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/stringify/stringifyPair.mjs +0 -150
  233. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/stringify/stringifyString.js +0 -338
  234. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/stringify/stringifyString.mjs +0 -336
  235. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/visit.js +0 -148
  236. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/visit.mjs +0 -146
@@ -1,350 +0,0 @@
1
- 'use strict';
2
-
3
- var debug = require('../internal/debug.js');
4
- var constants = require('../internal/constants.js');
5
- var re = require('../internal/re.js');
6
- var parseOptions = require('../internal/parse-options.js');
7
- var identifiers = require('../internal/identifiers.js');
8
-
9
- var semver;
10
- var hasRequiredSemver;
11
-
12
- function requireSemver () {
13
- if (hasRequiredSemver) return semver;
14
- hasRequiredSemver = 1;
15
-
16
- const debug$1 = debug.__require();
17
- const { MAX_LENGTH, MAX_SAFE_INTEGER } = constants.__require();
18
- const { safeRe: re$1, t } = re.__require();
19
-
20
- const parseOptions$1 = parseOptions.__require();
21
- const { compareIdentifiers } = identifiers.__require();
22
- class SemVer {
23
- constructor (version, options) {
24
- options = parseOptions$1(options);
25
-
26
- if (version instanceof SemVer) {
27
- if (version.loose === !!options.loose &&
28
- version.includePrerelease === !!options.includePrerelease) {
29
- return version
30
- } else {
31
- version = version.version;
32
- }
33
- } else if (typeof version !== 'string') {
34
- throw new TypeError(`Invalid version. Must be a string. Got type "${typeof version}".`)
35
- }
36
-
37
- if (version.length > MAX_LENGTH) {
38
- throw new TypeError(
39
- `version is longer than ${MAX_LENGTH} characters`
40
- )
41
- }
42
-
43
- debug$1('SemVer', version, options);
44
- this.options = options;
45
- this.loose = !!options.loose;
46
- // this isn't actually relevant for versions, but keep it so that we
47
- // don't run into trouble passing this.options around.
48
- this.includePrerelease = !!options.includePrerelease;
49
-
50
- const m = version.trim().match(options.loose ? re$1[t.LOOSE] : re$1[t.FULL]);
51
-
52
- if (!m) {
53
- throw new TypeError(`Invalid Version: ${version}`)
54
- }
55
-
56
- this.raw = version;
57
-
58
- // these are actually numbers
59
- this.major = +m[1];
60
- this.minor = +m[2];
61
- this.patch = +m[3];
62
-
63
- if (this.major > MAX_SAFE_INTEGER || this.major < 0) {
64
- throw new TypeError('Invalid major version')
65
- }
66
-
67
- if (this.minor > MAX_SAFE_INTEGER || this.minor < 0) {
68
- throw new TypeError('Invalid minor version')
69
- }
70
-
71
- if (this.patch > MAX_SAFE_INTEGER || this.patch < 0) {
72
- throw new TypeError('Invalid patch version')
73
- }
74
-
75
- // numberify any prerelease numeric ids
76
- if (!m[4]) {
77
- this.prerelease = [];
78
- } else {
79
- this.prerelease = m[4].split('.').map((id) => {
80
- if (/^[0-9]+$/.test(id)) {
81
- const num = +id;
82
- if (num >= 0 && num < MAX_SAFE_INTEGER) {
83
- return num
84
- }
85
- }
86
- return id
87
- });
88
- }
89
-
90
- this.build = m[5] ? m[5].split('.') : [];
91
- this.format();
92
- }
93
-
94
- format () {
95
- this.version = `${this.major}.${this.minor}.${this.patch}`;
96
- if (this.prerelease.length) {
97
- this.version += `-${this.prerelease.join('.')}`;
98
- }
99
- return this.version
100
- }
101
-
102
- toString () {
103
- return this.version
104
- }
105
-
106
- compare (other) {
107
- debug$1('SemVer.compare', this.version, this.options, other);
108
- if (!(other instanceof SemVer)) {
109
- if (typeof other === 'string' && other === this.version) {
110
- return 0
111
- }
112
- other = new SemVer(other, this.options);
113
- }
114
-
115
- if (other.version === this.version) {
116
- return 0
117
- }
118
-
119
- return this.compareMain(other) || this.comparePre(other)
120
- }
121
-
122
- compareMain (other) {
123
- if (!(other instanceof SemVer)) {
124
- other = new SemVer(other, this.options);
125
- }
126
-
127
- if (this.major < other.major) {
128
- return -1
129
- }
130
- if (this.major > other.major) {
131
- return 1
132
- }
133
- if (this.minor < other.minor) {
134
- return -1
135
- }
136
- if (this.minor > other.minor) {
137
- return 1
138
- }
139
- if (this.patch < other.patch) {
140
- return -1
141
- }
142
- if (this.patch > other.patch) {
143
- return 1
144
- }
145
- return 0
146
- }
147
-
148
- comparePre (other) {
149
- if (!(other instanceof SemVer)) {
150
- other = new SemVer(other, this.options);
151
- }
152
-
153
- // NOT having a prerelease is > having one
154
- if (this.prerelease.length && !other.prerelease.length) {
155
- return -1
156
- } else if (!this.prerelease.length && other.prerelease.length) {
157
- return 1
158
- } else if (!this.prerelease.length && !other.prerelease.length) {
159
- return 0
160
- }
161
-
162
- let i = 0;
163
- do {
164
- const a = this.prerelease[i];
165
- const b = other.prerelease[i];
166
- debug$1('prerelease compare', i, a, b);
167
- if (a === undefined && b === undefined) {
168
- return 0
169
- } else if (b === undefined) {
170
- return 1
171
- } else if (a === undefined) {
172
- return -1
173
- } else if (a === b) {
174
- continue
175
- } else {
176
- return compareIdentifiers(a, b)
177
- }
178
- } while (++i)
179
- }
180
-
181
- compareBuild (other) {
182
- if (!(other instanceof SemVer)) {
183
- other = new SemVer(other, this.options);
184
- }
185
-
186
- let i = 0;
187
- do {
188
- const a = this.build[i];
189
- const b = other.build[i];
190
- debug$1('build compare', i, a, b);
191
- if (a === undefined && b === undefined) {
192
- return 0
193
- } else if (b === undefined) {
194
- return 1
195
- } else if (a === undefined) {
196
- return -1
197
- } else if (a === b) {
198
- continue
199
- } else {
200
- return compareIdentifiers(a, b)
201
- }
202
- } while (++i)
203
- }
204
-
205
- // preminor will bump the version up to the next minor release, and immediately
206
- // down to pre-release. premajor and prepatch work the same way.
207
- inc (release, identifier, identifierBase) {
208
- if (release.startsWith('pre')) {
209
- if (!identifier && identifierBase === false) {
210
- throw new Error('invalid increment argument: identifier is empty')
211
- }
212
- // Avoid an invalid semver results
213
- if (identifier) {
214
- const match = `-${identifier}`.match(this.options.loose ? re$1[t.PRERELEASELOOSE] : re$1[t.PRERELEASE]);
215
- if (!match || match[1] !== identifier) {
216
- throw new Error(`invalid identifier: ${identifier}`)
217
- }
218
- }
219
- }
220
-
221
- switch (release) {
222
- case 'premajor':
223
- this.prerelease.length = 0;
224
- this.patch = 0;
225
- this.minor = 0;
226
- this.major++;
227
- this.inc('pre', identifier, identifierBase);
228
- break
229
- case 'preminor':
230
- this.prerelease.length = 0;
231
- this.patch = 0;
232
- this.minor++;
233
- this.inc('pre', identifier, identifierBase);
234
- break
235
- case 'prepatch':
236
- // If this is already a prerelease, it will bump to the next version
237
- // drop any prereleases that might already exist, since they are not
238
- // relevant at this point.
239
- this.prerelease.length = 0;
240
- this.inc('patch', identifier, identifierBase);
241
- this.inc('pre', identifier, identifierBase);
242
- break
243
- // If the input is a non-prerelease version, this acts the same as
244
- // prepatch.
245
- case 'prerelease':
246
- if (this.prerelease.length === 0) {
247
- this.inc('patch', identifier, identifierBase);
248
- }
249
- this.inc('pre', identifier, identifierBase);
250
- break
251
- case 'release':
252
- if (this.prerelease.length === 0) {
253
- throw new Error(`version ${this.raw} is not a prerelease`)
254
- }
255
- this.prerelease.length = 0;
256
- break
257
-
258
- case 'major':
259
- // If this is a pre-major version, bump up to the same major version.
260
- // Otherwise increment major.
261
- // 1.0.0-5 bumps to 1.0.0
262
- // 1.1.0 bumps to 2.0.0
263
- if (
264
- this.minor !== 0 ||
265
- this.patch !== 0 ||
266
- this.prerelease.length === 0
267
- ) {
268
- this.major++;
269
- }
270
- this.minor = 0;
271
- this.patch = 0;
272
- this.prerelease = [];
273
- break
274
- case 'minor':
275
- // If this is a pre-minor version, bump up to the same minor version.
276
- // Otherwise increment minor.
277
- // 1.2.0-5 bumps to 1.2.0
278
- // 1.2.1 bumps to 1.3.0
279
- if (this.patch !== 0 || this.prerelease.length === 0) {
280
- this.minor++;
281
- }
282
- this.patch = 0;
283
- this.prerelease = [];
284
- break
285
- case 'patch':
286
- // If this is not a pre-release version, it will increment the patch.
287
- // If it is a pre-release it will bump up to the same patch version.
288
- // 1.2.0-5 patches to 1.2.0
289
- // 1.2.0 patches to 1.2.1
290
- if (this.prerelease.length === 0) {
291
- this.patch++;
292
- }
293
- this.prerelease = [];
294
- break
295
- // This probably shouldn't be used publicly.
296
- // 1.0.0 'pre' would become 1.0.0-0 which is the wrong direction.
297
- case 'pre': {
298
- const base = Number(identifierBase) ? 1 : 0;
299
-
300
- if (this.prerelease.length === 0) {
301
- this.prerelease = [base];
302
- } else {
303
- let i = this.prerelease.length;
304
- while (--i >= 0) {
305
- if (typeof this.prerelease[i] === 'number') {
306
- this.prerelease[i]++;
307
- i = -2;
308
- }
309
- }
310
- if (i === -1) {
311
- // didn't increment anything
312
- if (identifier === this.prerelease.join('.') && identifierBase === false) {
313
- throw new Error('invalid increment argument: identifier already exists')
314
- }
315
- this.prerelease.push(base);
316
- }
317
- }
318
- if (identifier) {
319
- // 1.2.0-beta.1 bumps to 1.2.0-beta.2,
320
- // 1.2.0-beta.fooblz or 1.2.0-beta bumps to 1.2.0-beta.0
321
- let prerelease = [identifier, base];
322
- if (identifierBase === false) {
323
- prerelease = [identifier];
324
- }
325
- if (compareIdentifiers(this.prerelease[0], identifier) === 0) {
326
- if (isNaN(this.prerelease[1])) {
327
- this.prerelease = prerelease;
328
- }
329
- } else {
330
- this.prerelease = prerelease;
331
- }
332
- }
333
- break
334
- }
335
- default:
336
- throw new Error(`invalid increment argument: ${release}`)
337
- }
338
- this.raw = this.format();
339
- if (this.build.length) {
340
- this.raw += `+${this.build.join('.')}`;
341
- }
342
- return this
343
- }
344
- }
345
-
346
- semver = SemVer;
347
- return semver;
348
- }
349
-
350
- exports.__require = requireSemver;
@@ -1,348 +0,0 @@
1
- import { __require as requireDebug } from '../internal/debug.mjs';
2
- import { __require as requireConstants } from '../internal/constants.mjs';
3
- import { __require as requireRe } from '../internal/re.mjs';
4
- import { __require as requireParseOptions } from '../internal/parse-options.mjs';
5
- import { __require as requireIdentifiers } from '../internal/identifiers.mjs';
6
-
7
- var semver;
8
- var hasRequiredSemver;
9
-
10
- function requireSemver () {
11
- if (hasRequiredSemver) return semver;
12
- hasRequiredSemver = 1;
13
-
14
- const debug = requireDebug();
15
- const { MAX_LENGTH, MAX_SAFE_INTEGER } = requireConstants();
16
- const { safeRe: re, t } = requireRe();
17
-
18
- const parseOptions = requireParseOptions();
19
- const { compareIdentifiers } = requireIdentifiers();
20
- class SemVer {
21
- constructor (version, options) {
22
- options = parseOptions(options);
23
-
24
- if (version instanceof SemVer) {
25
- if (version.loose === !!options.loose &&
26
- version.includePrerelease === !!options.includePrerelease) {
27
- return version
28
- } else {
29
- version = version.version;
30
- }
31
- } else if (typeof version !== 'string') {
32
- throw new TypeError(`Invalid version. Must be a string. Got type "${typeof version}".`)
33
- }
34
-
35
- if (version.length > MAX_LENGTH) {
36
- throw new TypeError(
37
- `version is longer than ${MAX_LENGTH} characters`
38
- )
39
- }
40
-
41
- debug('SemVer', version, options);
42
- this.options = options;
43
- this.loose = !!options.loose;
44
- // this isn't actually relevant for versions, but keep it so that we
45
- // don't run into trouble passing this.options around.
46
- this.includePrerelease = !!options.includePrerelease;
47
-
48
- const m = version.trim().match(options.loose ? re[t.LOOSE] : re[t.FULL]);
49
-
50
- if (!m) {
51
- throw new TypeError(`Invalid Version: ${version}`)
52
- }
53
-
54
- this.raw = version;
55
-
56
- // these are actually numbers
57
- this.major = +m[1];
58
- this.minor = +m[2];
59
- this.patch = +m[3];
60
-
61
- if (this.major > MAX_SAFE_INTEGER || this.major < 0) {
62
- throw new TypeError('Invalid major version')
63
- }
64
-
65
- if (this.minor > MAX_SAFE_INTEGER || this.minor < 0) {
66
- throw new TypeError('Invalid minor version')
67
- }
68
-
69
- if (this.patch > MAX_SAFE_INTEGER || this.patch < 0) {
70
- throw new TypeError('Invalid patch version')
71
- }
72
-
73
- // numberify any prerelease numeric ids
74
- if (!m[4]) {
75
- this.prerelease = [];
76
- } else {
77
- this.prerelease = m[4].split('.').map((id) => {
78
- if (/^[0-9]+$/.test(id)) {
79
- const num = +id;
80
- if (num >= 0 && num < MAX_SAFE_INTEGER) {
81
- return num
82
- }
83
- }
84
- return id
85
- });
86
- }
87
-
88
- this.build = m[5] ? m[5].split('.') : [];
89
- this.format();
90
- }
91
-
92
- format () {
93
- this.version = `${this.major}.${this.minor}.${this.patch}`;
94
- if (this.prerelease.length) {
95
- this.version += `-${this.prerelease.join('.')}`;
96
- }
97
- return this.version
98
- }
99
-
100
- toString () {
101
- return this.version
102
- }
103
-
104
- compare (other) {
105
- debug('SemVer.compare', this.version, this.options, other);
106
- if (!(other instanceof SemVer)) {
107
- if (typeof other === 'string' && other === this.version) {
108
- return 0
109
- }
110
- other = new SemVer(other, this.options);
111
- }
112
-
113
- if (other.version === this.version) {
114
- return 0
115
- }
116
-
117
- return this.compareMain(other) || this.comparePre(other)
118
- }
119
-
120
- compareMain (other) {
121
- if (!(other instanceof SemVer)) {
122
- other = new SemVer(other, this.options);
123
- }
124
-
125
- if (this.major < other.major) {
126
- return -1
127
- }
128
- if (this.major > other.major) {
129
- return 1
130
- }
131
- if (this.minor < other.minor) {
132
- return -1
133
- }
134
- if (this.minor > other.minor) {
135
- return 1
136
- }
137
- if (this.patch < other.patch) {
138
- return -1
139
- }
140
- if (this.patch > other.patch) {
141
- return 1
142
- }
143
- return 0
144
- }
145
-
146
- comparePre (other) {
147
- if (!(other instanceof SemVer)) {
148
- other = new SemVer(other, this.options);
149
- }
150
-
151
- // NOT having a prerelease is > having one
152
- if (this.prerelease.length && !other.prerelease.length) {
153
- return -1
154
- } else if (!this.prerelease.length && other.prerelease.length) {
155
- return 1
156
- } else if (!this.prerelease.length && !other.prerelease.length) {
157
- return 0
158
- }
159
-
160
- let i = 0;
161
- do {
162
- const a = this.prerelease[i];
163
- const b = other.prerelease[i];
164
- debug('prerelease compare', i, a, b);
165
- if (a === undefined && b === undefined) {
166
- return 0
167
- } else if (b === undefined) {
168
- return 1
169
- } else if (a === undefined) {
170
- return -1
171
- } else if (a === b) {
172
- continue
173
- } else {
174
- return compareIdentifiers(a, b)
175
- }
176
- } while (++i)
177
- }
178
-
179
- compareBuild (other) {
180
- if (!(other instanceof SemVer)) {
181
- other = new SemVer(other, this.options);
182
- }
183
-
184
- let i = 0;
185
- do {
186
- const a = this.build[i];
187
- const b = other.build[i];
188
- debug('build compare', i, a, b);
189
- if (a === undefined && b === undefined) {
190
- return 0
191
- } else if (b === undefined) {
192
- return 1
193
- } else if (a === undefined) {
194
- return -1
195
- } else if (a === b) {
196
- continue
197
- } else {
198
- return compareIdentifiers(a, b)
199
- }
200
- } while (++i)
201
- }
202
-
203
- // preminor will bump the version up to the next minor release, and immediately
204
- // down to pre-release. premajor and prepatch work the same way.
205
- inc (release, identifier, identifierBase) {
206
- if (release.startsWith('pre')) {
207
- if (!identifier && identifierBase === false) {
208
- throw new Error('invalid increment argument: identifier is empty')
209
- }
210
- // Avoid an invalid semver results
211
- if (identifier) {
212
- const match = `-${identifier}`.match(this.options.loose ? re[t.PRERELEASELOOSE] : re[t.PRERELEASE]);
213
- if (!match || match[1] !== identifier) {
214
- throw new Error(`invalid identifier: ${identifier}`)
215
- }
216
- }
217
- }
218
-
219
- switch (release) {
220
- case 'premajor':
221
- this.prerelease.length = 0;
222
- this.patch = 0;
223
- this.minor = 0;
224
- this.major++;
225
- this.inc('pre', identifier, identifierBase);
226
- break
227
- case 'preminor':
228
- this.prerelease.length = 0;
229
- this.patch = 0;
230
- this.minor++;
231
- this.inc('pre', identifier, identifierBase);
232
- break
233
- case 'prepatch':
234
- // If this is already a prerelease, it will bump to the next version
235
- // drop any prereleases that might already exist, since they are not
236
- // relevant at this point.
237
- this.prerelease.length = 0;
238
- this.inc('patch', identifier, identifierBase);
239
- this.inc('pre', identifier, identifierBase);
240
- break
241
- // If the input is a non-prerelease version, this acts the same as
242
- // prepatch.
243
- case 'prerelease':
244
- if (this.prerelease.length === 0) {
245
- this.inc('patch', identifier, identifierBase);
246
- }
247
- this.inc('pre', identifier, identifierBase);
248
- break
249
- case 'release':
250
- if (this.prerelease.length === 0) {
251
- throw new Error(`version ${this.raw} is not a prerelease`)
252
- }
253
- this.prerelease.length = 0;
254
- break
255
-
256
- case 'major':
257
- // If this is a pre-major version, bump up to the same major version.
258
- // Otherwise increment major.
259
- // 1.0.0-5 bumps to 1.0.0
260
- // 1.1.0 bumps to 2.0.0
261
- if (
262
- this.minor !== 0 ||
263
- this.patch !== 0 ||
264
- this.prerelease.length === 0
265
- ) {
266
- this.major++;
267
- }
268
- this.minor = 0;
269
- this.patch = 0;
270
- this.prerelease = [];
271
- break
272
- case 'minor':
273
- // If this is a pre-minor version, bump up to the same minor version.
274
- // Otherwise increment minor.
275
- // 1.2.0-5 bumps to 1.2.0
276
- // 1.2.1 bumps to 1.3.0
277
- if (this.patch !== 0 || this.prerelease.length === 0) {
278
- this.minor++;
279
- }
280
- this.patch = 0;
281
- this.prerelease = [];
282
- break
283
- case 'patch':
284
- // If this is not a pre-release version, it will increment the patch.
285
- // If it is a pre-release it will bump up to the same patch version.
286
- // 1.2.0-5 patches to 1.2.0
287
- // 1.2.0 patches to 1.2.1
288
- if (this.prerelease.length === 0) {
289
- this.patch++;
290
- }
291
- this.prerelease = [];
292
- break
293
- // This probably shouldn't be used publicly.
294
- // 1.0.0 'pre' would become 1.0.0-0 which is the wrong direction.
295
- case 'pre': {
296
- const base = Number(identifierBase) ? 1 : 0;
297
-
298
- if (this.prerelease.length === 0) {
299
- this.prerelease = [base];
300
- } else {
301
- let i = this.prerelease.length;
302
- while (--i >= 0) {
303
- if (typeof this.prerelease[i] === 'number') {
304
- this.prerelease[i]++;
305
- i = -2;
306
- }
307
- }
308
- if (i === -1) {
309
- // didn't increment anything
310
- if (identifier === this.prerelease.join('.') && identifierBase === false) {
311
- throw new Error('invalid increment argument: identifier already exists')
312
- }
313
- this.prerelease.push(base);
314
- }
315
- }
316
- if (identifier) {
317
- // 1.2.0-beta.1 bumps to 1.2.0-beta.2,
318
- // 1.2.0-beta.fooblz or 1.2.0-beta bumps to 1.2.0-beta.0
319
- let prerelease = [identifier, base];
320
- if (identifierBase === false) {
321
- prerelease = [identifier];
322
- }
323
- if (compareIdentifiers(this.prerelease[0], identifier) === 0) {
324
- if (isNaN(this.prerelease[1])) {
325
- this.prerelease = prerelease;
326
- }
327
- } else {
328
- this.prerelease = prerelease;
329
- }
330
- }
331
- break
332
- }
333
- default:
334
- throw new Error(`invalid increment argument: ${release}`)
335
- }
336
- this.raw = this.format();
337
- if (this.build.length) {
338
- this.raw += `+${this.build.join('.')}`;
339
- }
340
- return this
341
- }
342
- }
343
-
344
- semver = SemVer;
345
- return semver;
346
- }
347
-
348
- export { requireSemver as __require };
@@ -1,21 +0,0 @@
1
- 'use strict';
2
-
3
- var parse = require('./parse.js');
4
-
5
- var clean_1;
6
- var hasRequiredClean;
7
-
8
- function requireClean () {
9
- if (hasRequiredClean) return clean_1;
10
- hasRequiredClean = 1;
11
-
12
- const parse$1 = parse.__require();
13
- const clean = (version, options) => {
14
- const s = parse$1(version.trim().replace(/^[=v]+/, ''), options);
15
- return s ? s.version : null
16
- };
17
- clean_1 = clean;
18
- return clean_1;
19
- }
20
-
21
- exports.__require = requireClean;