@windrun-huaiin/dev-scripts 14.1.2 → 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 (242) 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/dist/commands/diaomao-update.d.ts.map +1 -1
  5. package/dist/commands/diaomao-update.js +13 -5
  6. package/dist/commands/diaomao-update.mjs +13 -5
  7. package/dist/config/schema.d.ts.map +1 -1
  8. package/dist/config/schema.js +74 -1
  9. package/dist/config/schema.mjs +74 -1
  10. package/package.json +1 -1
  11. package/dist/_virtual/_commonjsHelpers.js +0 -7
  12. package/dist/_virtual/_commonjsHelpers.mjs +0 -5
  13. package/dist/_virtual/index.js +0 -11
  14. package/dist/_virtual/index.mjs +0 -7
  15. package/dist/_virtual/re.js +0 -5
  16. package/dist/_virtual/re.mjs +0 -3
  17. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/classes/comparator.js +0 -161
  18. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/classes/comparator.mjs +0 -159
  19. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/classes/range.js +0 -576
  20. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/classes/range.mjs +0 -574
  21. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/classes/semver.js +0 -350
  22. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/classes/semver.mjs +0 -348
  23. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/clean.js +0 -21
  24. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/clean.mjs +0 -19
  25. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/cmp.js +0 -72
  26. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/cmp.mjs +0 -70
  27. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/coerce.js +0 -77
  28. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/coerce.mjs +0 -75
  29. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/compare-build.js +0 -22
  30. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/compare-build.mjs +0 -20
  31. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/compare-loose.js +0 -18
  32. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/compare-loose.mjs +0 -16
  33. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/compare.js +0 -20
  34. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/compare.mjs +0 -18
  35. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/diff.js +0 -73
  36. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/diff.mjs +0 -71
  37. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/eq.js +0 -18
  38. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/eq.mjs +0 -16
  39. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/gt.js +0 -18
  40. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/gt.mjs +0 -16
  41. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/gte.js +0 -18
  42. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/gte.mjs +0 -16
  43. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/inc.js +0 -34
  44. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/inc.mjs +0 -32
  45. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/lt.js +0 -18
  46. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/lt.mjs +0 -16
  47. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/lte.js +0 -18
  48. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/lte.mjs +0 -16
  49. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/major.js +0 -18
  50. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/major.mjs +0 -16
  51. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/minor.js +0 -18
  52. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/minor.mjs +0 -16
  53. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/neq.js +0 -18
  54. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/neq.mjs +0 -16
  55. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/parse.js +0 -31
  56. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/parse.mjs +0 -29
  57. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/patch.js +0 -18
  58. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/patch.mjs +0 -16
  59. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/prerelease.js +0 -21
  60. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/prerelease.mjs +0 -19
  61. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/rcompare.js +0 -18
  62. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/rcompare.mjs +0 -16
  63. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/rsort.js +0 -18
  64. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/rsort.mjs +0 -16
  65. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/satisfies.js +0 -25
  66. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/satisfies.mjs +0 -23
  67. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/sort.js +0 -18
  68. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/sort.mjs +0 -16
  69. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/valid.js +0 -21
  70. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/valid.mjs +0 -19
  71. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/index.js +0 -144
  72. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/index.mjs +0 -142
  73. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/internal/constants.js +0 -48
  74. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/internal/constants.mjs +0 -46
  75. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/internal/debug.js +0 -22
  76. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/internal/debug.mjs +0 -20
  77. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/internal/identifiers.js +0 -40
  78. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/internal/identifiers.mjs +0 -38
  79. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/internal/lrucache.js +0 -53
  80. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/internal/lrucache.mjs +0 -51
  81. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/internal/parse-options.js +0 -28
  82. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/internal/parse-options.mjs +0 -26
  83. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/internal/re.js +0 -239
  84. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/internal/re.mjs +0 -237
  85. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/ranges/gtr.js +0 -19
  86. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/ranges/gtr.mjs +0 -17
  87. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/ranges/intersects.js +0 -22
  88. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/ranges/intersects.mjs +0 -20
  89. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/ranges/ltr.js +0 -19
  90. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/ranges/ltr.mjs +0 -17
  91. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/ranges/max-satisfying.js +0 -41
  92. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/ranges/max-satisfying.mjs +0 -39
  93. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/ranges/min-satisfying.js +0 -40
  94. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/ranges/min-satisfying.mjs +0 -38
  95. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/ranges/min-version.js +0 -78
  96. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/ranges/min-version.mjs +0 -76
  97. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/ranges/outside.js +0 -102
  98. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/ranges/outside.mjs +0 -100
  99. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/ranges/simplify.js +0 -63
  100. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/ranges/simplify.mjs +0 -61
  101. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/ranges/subset.js +0 -265
  102. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/ranges/subset.mjs +0 -263
  103. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/ranges/to-comparators.js +0 -23
  104. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/ranges/to-comparators.mjs +0 -21
  105. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/ranges/valid.js +0 -26
  106. package/dist/node_modules/.pnpm/semver@7.7.4/node_modules/semver/ranges/valid.mjs +0 -24
  107. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/compose/compose-collection.js +0 -90
  108. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/compose/compose-collection.mjs +0 -88
  109. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/compose/compose-doc.js +0 -45
  110. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/compose/compose-doc.mjs +0 -43
  111. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/compose/compose-node.js +0 -105
  112. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/compose/compose-node.mjs +0 -102
  113. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/compose/compose-scalar.js +0 -88
  114. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/compose/compose-scalar.mjs +0 -86
  115. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/compose/composer.js +0 -219
  116. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/compose/composer.mjs +0 -217
  117. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/compose/resolve-block-map.js +0 -117
  118. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/compose/resolve-block-map.mjs +0 -115
  119. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/compose/resolve-block-scalar.js +0 -200
  120. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/compose/resolve-block-scalar.mjs +0 -198
  121. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/compose/resolve-block-seq.js +0 -51
  122. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/compose/resolve-block-seq.mjs +0 -49
  123. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/compose/resolve-end.js +0 -39
  124. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/compose/resolve-end.mjs +0 -37
  125. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/compose/resolve-flow-collection.js +0 -209
  126. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/compose/resolve-flow-collection.mjs +0 -207
  127. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/compose/resolve-flow-scalar.js +0 -225
  128. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/compose/resolve-flow-scalar.mjs +0 -223
  129. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/compose/resolve-props.js +0 -148
  130. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/compose/resolve-props.mjs +0 -146
  131. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/compose/util-contains-newline.js +0 -36
  132. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/compose/util-contains-newline.mjs +0 -34
  133. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/compose/util-empty-scalar-position.js +0 -28
  134. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/compose/util-empty-scalar-position.mjs +0 -26
  135. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/compose/util-flow-indent-check.js +0 -17
  136. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/compose/util-flow-indent-check.mjs +0 -15
  137. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/compose/util-map-includes.js +0 -15
  138. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/compose/util-map-includes.mjs +0 -13
  139. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/doc/Document.js +0 -337
  140. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/doc/Document.mjs +0 -335
  141. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/doc/anchors.js +0 -76
  142. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/doc/anchors.mjs +0 -71
  143. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/doc/applyReviver.js +0 -57
  144. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/doc/applyReviver.mjs +0 -55
  145. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/doc/createNode.js +0 -90
  146. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/doc/createNode.mjs +0 -88
  147. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/doc/directives.js +0 -178
  148. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/doc/directives.mjs +0 -176
  149. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/errors.js +0 -62
  150. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/errors.mjs +0 -57
  151. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/log.js +0 -9
  152. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/log.mjs +0 -7
  153. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/nodes/Alias.js +0 -116
  154. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/nodes/Alias.mjs +0 -114
  155. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/nodes/Collection.js +0 -151
  156. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/nodes/Collection.mjs +0 -147
  157. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/nodes/Node.js +0 -40
  158. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/nodes/Node.mjs +0 -38
  159. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/nodes/Pair.js +0 -39
  160. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/nodes/Pair.mjs +0 -36
  161. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/nodes/Scalar.js +0 -27
  162. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/nodes/Scalar.mjs +0 -24
  163. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/nodes/YAMLMap.js +0 -147
  164. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/nodes/YAMLMap.mjs +0 -144
  165. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/nodes/YAMLSeq.js +0 -115
  166. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/nodes/YAMLSeq.mjs +0 -113
  167. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/nodes/addPairToJSMap.js +0 -65
  168. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/nodes/addPairToJSMap.mjs +0 -63
  169. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/nodes/identity.js +0 -53
  170. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/nodes/identity.mjs +0 -36
  171. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/nodes/toJS.js +0 -39
  172. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/nodes/toJS.mjs +0 -37
  173. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/parse/cst.js +0 -79
  174. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/parse/cst.mjs +0 -73
  175. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/parse/lexer.js +0 -719
  176. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/parse/lexer.mjs +0 -717
  177. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/parse/line-counter.js +0 -41
  178. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/parse/line-counter.mjs +0 -39
  179. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/parse/parser.js +0 -969
  180. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/parse/parser.mjs +0 -967
  181. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/public-api.js +0 -68
  182. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/public-api.mjs +0 -64
  183. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/schema/Schema.js +0 -39
  184. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/schema/Schema.mjs +0 -37
  185. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/schema/common/map.js +0 -19
  186. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/schema/common/map.mjs +0 -17
  187. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/schema/common/null.js +0 -17
  188. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/schema/common/null.mjs +0 -15
  189. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/schema/common/seq.js +0 -19
  190. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/schema/common/seq.mjs +0 -17
  191. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/schema/common/string.js +0 -16
  192. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/schema/common/string.mjs +0 -14
  193. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/schema/core/bool.js +0 -21
  194. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/schema/core/bool.mjs +0 -19
  195. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/schema/core/float.js +0 -47
  196. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/schema/core/float.mjs +0 -43
  197. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/schema/core/int.js +0 -42
  198. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/schema/core/int.mjs +0 -38
  199. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/schema/core/schema.js +0 -25
  200. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/schema/core/schema.mjs +0 -23
  201. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/schema/json/schema.js +0 -64
  202. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/schema/json/schema.mjs +0 -62
  203. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/schema/tags.js +0 -99
  204. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/schema/tags.mjs +0 -96
  205. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/schema/yaml-1.1/binary.js +0 -60
  206. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/schema/yaml-1.1/binary.mjs +0 -58
  207. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/schema/yaml-1.1/bool.js +0 -29
  208. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/schema/yaml-1.1/bool.mjs +0 -26
  209. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/schema/yaml-1.1/float.js +0 -50
  210. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/schema/yaml-1.1/float.mjs +0 -46
  211. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/schema/yaml-1.1/int.js +0 -76
  212. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/schema/yaml-1.1/int.mjs +0 -71
  213. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/schema/yaml-1.1/merge.js +0 -68
  214. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/schema/yaml-1.1/merge.mjs +0 -64
  215. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/schema/yaml-1.1/omap.js +0 -77
  216. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/schema/yaml-1.1/omap.mjs +0 -74
  217. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/schema/yaml-1.1/pairs.js +0 -82
  218. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/schema/yaml-1.1/pairs.mjs +0 -78
  219. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/schema/yaml-1.1/schema.js +0 -41
  220. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/schema/yaml-1.1/schema.mjs +0 -39
  221. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/schema/yaml-1.1/set.js +0 -96
  222. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/schema/yaml-1.1/set.mjs +0 -93
  223. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/schema/yaml-1.1/timestamp.js +0 -105
  224. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/schema/yaml-1.1/timestamp.mjs +0 -101
  225. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/stringify/foldFlowLines.js +0 -151
  226. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/stringify/foldFlowLines.mjs +0 -146
  227. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/stringify/stringify.js +0 -131
  228. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/stringify/stringify.mjs +0 -128
  229. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/stringify/stringifyCollection.js +0 -145
  230. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/stringify/stringifyCollection.mjs +0 -143
  231. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/stringify/stringifyComment.js +0 -24
  232. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/stringify/stringifyComment.mjs +0 -20
  233. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/stringify/stringifyDocument.js +0 -87
  234. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/stringify/stringifyDocument.mjs +0 -85
  235. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/stringify/stringifyNumber.js +0 -26
  236. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/stringify/stringifyNumber.mjs +0 -24
  237. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/stringify/stringifyPair.js +0 -152
  238. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/stringify/stringifyPair.mjs +0 -150
  239. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/stringify/stringifyString.js +0 -338
  240. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/stringify/stringifyString.mjs +0 -336
  241. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/visit.js +0 -148
  242. package/dist/node_modules/.pnpm/yaml@2.8.2/node_modules/yaml/browser/dist/visit.mjs +0 -146
@@ -1,239 +0,0 @@
1
- 'use strict';
2
-
3
- var re = require('../../../../../../_virtual/re.js');
4
- var constants = require('./constants.js');
5
- var debug = require('./debug.js');
6
-
7
- var hasRequiredRe;
8
-
9
- function requireRe () {
10
- if (hasRequiredRe) return re.__module.exports;
11
- hasRequiredRe = 1;
12
- (function (module, exports) {
13
-
14
- const {
15
- MAX_SAFE_COMPONENT_LENGTH,
16
- MAX_SAFE_BUILD_LENGTH,
17
- MAX_LENGTH,
18
- } = constants.__require();
19
- const debug$1 = debug.__require();
20
- exports = module.exports = {};
21
-
22
- // The actual regexps go on exports.re
23
- const re = exports.re = [];
24
- const safeRe = exports.safeRe = [];
25
- const src = exports.src = [];
26
- const safeSrc = exports.safeSrc = [];
27
- const t = exports.t = {};
28
- let R = 0;
29
-
30
- const LETTERDASHNUMBER = '[a-zA-Z0-9-]';
31
-
32
- // Replace some greedy regex tokens to prevent regex dos issues. These regex are
33
- // used internally via the safeRe object since all inputs in this library get
34
- // normalized first to trim and collapse all extra whitespace. The original
35
- // regexes are exported for userland consumption and lower level usage. A
36
- // future breaking change could export the safer regex only with a note that
37
- // all input should have extra whitespace removed.
38
- const safeRegexReplacements = [
39
- ['\\s', 1],
40
- ['\\d', MAX_LENGTH],
41
- [LETTERDASHNUMBER, MAX_SAFE_BUILD_LENGTH],
42
- ];
43
-
44
- const makeSafeRegex = (value) => {
45
- for (const [token, max] of safeRegexReplacements) {
46
- value = value
47
- .split(`${token}*`).join(`${token}{0,${max}}`)
48
- .split(`${token}+`).join(`${token}{1,${max}}`);
49
- }
50
- return value
51
- };
52
-
53
- const createToken = (name, value, isGlobal) => {
54
- const safe = makeSafeRegex(value);
55
- const index = R++;
56
- debug$1(name, index, value);
57
- t[name] = index;
58
- src[index] = value;
59
- safeSrc[index] = safe;
60
- re[index] = new RegExp(value, isGlobal ? 'g' : undefined);
61
- safeRe[index] = new RegExp(safe, isGlobal ? 'g' : undefined);
62
- };
63
-
64
- // The following Regular Expressions can be used for tokenizing,
65
- // validating, and parsing SemVer version strings.
66
-
67
- // ## Numeric Identifier
68
- // A single `0`, or a non-zero digit followed by zero or more digits.
69
-
70
- createToken('NUMERICIDENTIFIER', '0|[1-9]\\d*');
71
- createToken('NUMERICIDENTIFIERLOOSE', '\\d+');
72
-
73
- // ## Non-numeric Identifier
74
- // Zero or more digits, followed by a letter or hyphen, and then zero or
75
- // more letters, digits, or hyphens.
76
-
77
- createToken('NONNUMERICIDENTIFIER', `\\d*[a-zA-Z-]${LETTERDASHNUMBER}*`);
78
-
79
- // ## Main Version
80
- // Three dot-separated numeric identifiers.
81
-
82
- createToken('MAINVERSION', `(${src[t.NUMERICIDENTIFIER]})\\.` +
83
- `(${src[t.NUMERICIDENTIFIER]})\\.` +
84
- `(${src[t.NUMERICIDENTIFIER]})`);
85
-
86
- createToken('MAINVERSIONLOOSE', `(${src[t.NUMERICIDENTIFIERLOOSE]})\\.` +
87
- `(${src[t.NUMERICIDENTIFIERLOOSE]})\\.` +
88
- `(${src[t.NUMERICIDENTIFIERLOOSE]})`);
89
-
90
- // ## Pre-release Version Identifier
91
- // A numeric identifier, or a non-numeric identifier.
92
- // Non-numeric identifiers include numeric identifiers but can be longer.
93
- // Therefore non-numeric identifiers must go first.
94
-
95
- createToken('PRERELEASEIDENTIFIER', `(?:${src[t.NONNUMERICIDENTIFIER]
96
- }|${src[t.NUMERICIDENTIFIER]})`);
97
-
98
- createToken('PRERELEASEIDENTIFIERLOOSE', `(?:${src[t.NONNUMERICIDENTIFIER]
99
- }|${src[t.NUMERICIDENTIFIERLOOSE]})`);
100
-
101
- // ## Pre-release Version
102
- // Hyphen, followed by one or more dot-separated pre-release version
103
- // identifiers.
104
-
105
- createToken('PRERELEASE', `(?:-(${src[t.PRERELEASEIDENTIFIER]
106
- }(?:\\.${src[t.PRERELEASEIDENTIFIER]})*))`);
107
-
108
- createToken('PRERELEASELOOSE', `(?:-?(${src[t.PRERELEASEIDENTIFIERLOOSE]
109
- }(?:\\.${src[t.PRERELEASEIDENTIFIERLOOSE]})*))`);
110
-
111
- // ## Build Metadata Identifier
112
- // Any combination of digits, letters, or hyphens.
113
-
114
- createToken('BUILDIDENTIFIER', `${LETTERDASHNUMBER}+`);
115
-
116
- // ## Build Metadata
117
- // Plus sign, followed by one or more period-separated build metadata
118
- // identifiers.
119
-
120
- createToken('BUILD', `(?:\\+(${src[t.BUILDIDENTIFIER]
121
- }(?:\\.${src[t.BUILDIDENTIFIER]})*))`);
122
-
123
- // ## Full Version String
124
- // A main version, followed optionally by a pre-release version and
125
- // build metadata.
126
-
127
- // Note that the only major, minor, patch, and pre-release sections of
128
- // the version string are capturing groups. The build metadata is not a
129
- // capturing group, because it should not ever be used in version
130
- // comparison.
131
-
132
- createToken('FULLPLAIN', `v?${src[t.MAINVERSION]
133
- }${src[t.PRERELEASE]}?${
134
- src[t.BUILD]}?`);
135
-
136
- createToken('FULL', `^${src[t.FULLPLAIN]}$`);
137
-
138
- // like full, but allows v1.2.3 and =1.2.3, which people do sometimes.
139
- // also, 1.0.0alpha1 (prerelease without the hyphen) which is pretty
140
- // common in the npm registry.
141
- createToken('LOOSEPLAIN', `[v=\\s]*${src[t.MAINVERSIONLOOSE]
142
- }${src[t.PRERELEASELOOSE]}?${
143
- src[t.BUILD]}?`);
144
-
145
- createToken('LOOSE', `^${src[t.LOOSEPLAIN]}$`);
146
-
147
- createToken('GTLT', '((?:<|>)?=?)');
148
-
149
- // Something like "2.*" or "1.2.x".
150
- // Note that "x.x" is a valid xRange identifer, meaning "any version"
151
- // Only the first item is strictly required.
152
- createToken('XRANGEIDENTIFIERLOOSE', `${src[t.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);
153
- createToken('XRANGEIDENTIFIER', `${src[t.NUMERICIDENTIFIER]}|x|X|\\*`);
154
-
155
- createToken('XRANGEPLAIN', `[v=\\s]*(${src[t.XRANGEIDENTIFIER]})` +
156
- `(?:\\.(${src[t.XRANGEIDENTIFIER]})` +
157
- `(?:\\.(${src[t.XRANGEIDENTIFIER]})` +
158
- `(?:${src[t.PRERELEASE]})?${
159
- src[t.BUILD]}?` +
160
- `)?)?`);
161
-
162
- createToken('XRANGEPLAINLOOSE', `[v=\\s]*(${src[t.XRANGEIDENTIFIERLOOSE]})` +
163
- `(?:\\.(${src[t.XRANGEIDENTIFIERLOOSE]})` +
164
- `(?:\\.(${src[t.XRANGEIDENTIFIERLOOSE]})` +
165
- `(?:${src[t.PRERELEASELOOSE]})?${
166
- src[t.BUILD]}?` +
167
- `)?)?`);
168
-
169
- createToken('XRANGE', `^${src[t.GTLT]}\\s*${src[t.XRANGEPLAIN]}$`);
170
- createToken('XRANGELOOSE', `^${src[t.GTLT]}\\s*${src[t.XRANGEPLAINLOOSE]}$`);
171
-
172
- // Coercion.
173
- // Extract anything that could conceivably be a part of a valid semver
174
- createToken('COERCEPLAIN', `${'(^|[^\\d])' +
175
- '(\\d{1,'}${MAX_SAFE_COMPONENT_LENGTH}})` +
176
- `(?:\\.(\\d{1,${MAX_SAFE_COMPONENT_LENGTH}}))?` +
177
- `(?:\\.(\\d{1,${MAX_SAFE_COMPONENT_LENGTH}}))?`);
178
- createToken('COERCE', `${src[t.COERCEPLAIN]}(?:$|[^\\d])`);
179
- createToken('COERCEFULL', src[t.COERCEPLAIN] +
180
- `(?:${src[t.PRERELEASE]})?` +
181
- `(?:${src[t.BUILD]})?` +
182
- `(?:$|[^\\d])`);
183
- createToken('COERCERTL', src[t.COERCE], true);
184
- createToken('COERCERTLFULL', src[t.COERCEFULL], true);
185
-
186
- // Tilde ranges.
187
- // Meaning is "reasonably at or greater than"
188
- createToken('LONETILDE', '(?:~>?)');
189
-
190
- createToken('TILDETRIM', `(\\s*)${src[t.LONETILDE]}\\s+`, true);
191
- exports.tildeTrimReplace = '$1~';
192
-
193
- createToken('TILDE', `^${src[t.LONETILDE]}${src[t.XRANGEPLAIN]}$`);
194
- createToken('TILDELOOSE', `^${src[t.LONETILDE]}${src[t.XRANGEPLAINLOOSE]}$`);
195
-
196
- // Caret ranges.
197
- // Meaning is "at least and backwards compatible with"
198
- createToken('LONECARET', '(?:\\^)');
199
-
200
- createToken('CARETTRIM', `(\\s*)${src[t.LONECARET]}\\s+`, true);
201
- exports.caretTrimReplace = '$1^';
202
-
203
- createToken('CARET', `^${src[t.LONECARET]}${src[t.XRANGEPLAIN]}$`);
204
- createToken('CARETLOOSE', `^${src[t.LONECARET]}${src[t.XRANGEPLAINLOOSE]}$`);
205
-
206
- // A simple gt/lt/eq thing, or just "" to indicate "any version"
207
- createToken('COMPARATORLOOSE', `^${src[t.GTLT]}\\s*(${src[t.LOOSEPLAIN]})$|^$`);
208
- createToken('COMPARATOR', `^${src[t.GTLT]}\\s*(${src[t.FULLPLAIN]})$|^$`);
209
-
210
- // An expression to strip any whitespace between the gtlt and the thing
211
- // it modifies, so that `> 1.2.3` ==> `>1.2.3`
212
- createToken('COMPARATORTRIM', `(\\s*)${src[t.GTLT]
213
- }\\s*(${src[t.LOOSEPLAIN]}|${src[t.XRANGEPLAIN]})`, true);
214
- exports.comparatorTrimReplace = '$1$2$3';
215
-
216
- // Something like `1.2.3 - 1.2.4`
217
- // Note that these all use the loose form, because they'll be
218
- // checked against either the strict or loose comparator form
219
- // later.
220
- createToken('HYPHENRANGE', `^\\s*(${src[t.XRANGEPLAIN]})` +
221
- `\\s+-\\s+` +
222
- `(${src[t.XRANGEPLAIN]})` +
223
- `\\s*$`);
224
-
225
- createToken('HYPHENRANGELOOSE', `^\\s*(${src[t.XRANGEPLAINLOOSE]})` +
226
- `\\s+-\\s+` +
227
- `(${src[t.XRANGEPLAINLOOSE]})` +
228
- `\\s*$`);
229
-
230
- // Star ranges basically just allow anything at all.
231
- createToken('STAR', '(<|>)?=?\\s*\\*');
232
- // >=0.0.0 is like a star
233
- createToken('GTE0', '^\\s*>=\\s*0\\.0\\.0\\s*$');
234
- createToken('GTE0PRE', '^\\s*>=\\s*0\\.0\\.0-0\\s*$');
235
- } (re.__module, re.__module.exports));
236
- return re.__module.exports;
237
- }
238
-
239
- exports.__require = requireRe;
@@ -1,237 +0,0 @@
1
- import { __module as re } from '../../../../../../_virtual/re.mjs';
2
- import { __require as requireConstants } from './constants.mjs';
3
- import { __require as requireDebug } from './debug.mjs';
4
-
5
- var hasRequiredRe;
6
-
7
- function requireRe () {
8
- if (hasRequiredRe) return re.exports;
9
- hasRequiredRe = 1;
10
- (function (module, exports) {
11
-
12
- const {
13
- MAX_SAFE_COMPONENT_LENGTH,
14
- MAX_SAFE_BUILD_LENGTH,
15
- MAX_LENGTH,
16
- } = requireConstants();
17
- const debug = requireDebug();
18
- exports = module.exports = {};
19
-
20
- // The actual regexps go on exports.re
21
- const re = exports.re = [];
22
- const safeRe = exports.safeRe = [];
23
- const src = exports.src = [];
24
- const safeSrc = exports.safeSrc = [];
25
- const t = exports.t = {};
26
- let R = 0;
27
-
28
- const LETTERDASHNUMBER = '[a-zA-Z0-9-]';
29
-
30
- // Replace some greedy regex tokens to prevent regex dos issues. These regex are
31
- // used internally via the safeRe object since all inputs in this library get
32
- // normalized first to trim and collapse all extra whitespace. The original
33
- // regexes are exported for userland consumption and lower level usage. A
34
- // future breaking change could export the safer regex only with a note that
35
- // all input should have extra whitespace removed.
36
- const safeRegexReplacements = [
37
- ['\\s', 1],
38
- ['\\d', MAX_LENGTH],
39
- [LETTERDASHNUMBER, MAX_SAFE_BUILD_LENGTH],
40
- ];
41
-
42
- const makeSafeRegex = (value) => {
43
- for (const [token, max] of safeRegexReplacements) {
44
- value = value
45
- .split(`${token}*`).join(`${token}{0,${max}}`)
46
- .split(`${token}+`).join(`${token}{1,${max}}`);
47
- }
48
- return value
49
- };
50
-
51
- const createToken = (name, value, isGlobal) => {
52
- const safe = makeSafeRegex(value);
53
- const index = R++;
54
- debug(name, index, value);
55
- t[name] = index;
56
- src[index] = value;
57
- safeSrc[index] = safe;
58
- re[index] = new RegExp(value, isGlobal ? 'g' : undefined);
59
- safeRe[index] = new RegExp(safe, isGlobal ? 'g' : undefined);
60
- };
61
-
62
- // The following Regular Expressions can be used for tokenizing,
63
- // validating, and parsing SemVer version strings.
64
-
65
- // ## Numeric Identifier
66
- // A single `0`, or a non-zero digit followed by zero or more digits.
67
-
68
- createToken('NUMERICIDENTIFIER', '0|[1-9]\\d*');
69
- createToken('NUMERICIDENTIFIERLOOSE', '\\d+');
70
-
71
- // ## Non-numeric Identifier
72
- // Zero or more digits, followed by a letter or hyphen, and then zero or
73
- // more letters, digits, or hyphens.
74
-
75
- createToken('NONNUMERICIDENTIFIER', `\\d*[a-zA-Z-]${LETTERDASHNUMBER}*`);
76
-
77
- // ## Main Version
78
- // Three dot-separated numeric identifiers.
79
-
80
- createToken('MAINVERSION', `(${src[t.NUMERICIDENTIFIER]})\\.` +
81
- `(${src[t.NUMERICIDENTIFIER]})\\.` +
82
- `(${src[t.NUMERICIDENTIFIER]})`);
83
-
84
- createToken('MAINVERSIONLOOSE', `(${src[t.NUMERICIDENTIFIERLOOSE]})\\.` +
85
- `(${src[t.NUMERICIDENTIFIERLOOSE]})\\.` +
86
- `(${src[t.NUMERICIDENTIFIERLOOSE]})`);
87
-
88
- // ## Pre-release Version Identifier
89
- // A numeric identifier, or a non-numeric identifier.
90
- // Non-numeric identifiers include numeric identifiers but can be longer.
91
- // Therefore non-numeric identifiers must go first.
92
-
93
- createToken('PRERELEASEIDENTIFIER', `(?:${src[t.NONNUMERICIDENTIFIER]
94
- }|${src[t.NUMERICIDENTIFIER]})`);
95
-
96
- createToken('PRERELEASEIDENTIFIERLOOSE', `(?:${src[t.NONNUMERICIDENTIFIER]
97
- }|${src[t.NUMERICIDENTIFIERLOOSE]})`);
98
-
99
- // ## Pre-release Version
100
- // Hyphen, followed by one or more dot-separated pre-release version
101
- // identifiers.
102
-
103
- createToken('PRERELEASE', `(?:-(${src[t.PRERELEASEIDENTIFIER]
104
- }(?:\\.${src[t.PRERELEASEIDENTIFIER]})*))`);
105
-
106
- createToken('PRERELEASELOOSE', `(?:-?(${src[t.PRERELEASEIDENTIFIERLOOSE]
107
- }(?:\\.${src[t.PRERELEASEIDENTIFIERLOOSE]})*))`);
108
-
109
- // ## Build Metadata Identifier
110
- // Any combination of digits, letters, or hyphens.
111
-
112
- createToken('BUILDIDENTIFIER', `${LETTERDASHNUMBER}+`);
113
-
114
- // ## Build Metadata
115
- // Plus sign, followed by one or more period-separated build metadata
116
- // identifiers.
117
-
118
- createToken('BUILD', `(?:\\+(${src[t.BUILDIDENTIFIER]
119
- }(?:\\.${src[t.BUILDIDENTIFIER]})*))`);
120
-
121
- // ## Full Version String
122
- // A main version, followed optionally by a pre-release version and
123
- // build metadata.
124
-
125
- // Note that the only major, minor, patch, and pre-release sections of
126
- // the version string are capturing groups. The build metadata is not a
127
- // capturing group, because it should not ever be used in version
128
- // comparison.
129
-
130
- createToken('FULLPLAIN', `v?${src[t.MAINVERSION]
131
- }${src[t.PRERELEASE]}?${
132
- src[t.BUILD]}?`);
133
-
134
- createToken('FULL', `^${src[t.FULLPLAIN]}$`);
135
-
136
- // like full, but allows v1.2.3 and =1.2.3, which people do sometimes.
137
- // also, 1.0.0alpha1 (prerelease without the hyphen) which is pretty
138
- // common in the npm registry.
139
- createToken('LOOSEPLAIN', `[v=\\s]*${src[t.MAINVERSIONLOOSE]
140
- }${src[t.PRERELEASELOOSE]}?${
141
- src[t.BUILD]}?`);
142
-
143
- createToken('LOOSE', `^${src[t.LOOSEPLAIN]}$`);
144
-
145
- createToken('GTLT', '((?:<|>)?=?)');
146
-
147
- // Something like "2.*" or "1.2.x".
148
- // Note that "x.x" is a valid xRange identifer, meaning "any version"
149
- // Only the first item is strictly required.
150
- createToken('XRANGEIDENTIFIERLOOSE', `${src[t.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);
151
- createToken('XRANGEIDENTIFIER', `${src[t.NUMERICIDENTIFIER]}|x|X|\\*`);
152
-
153
- createToken('XRANGEPLAIN', `[v=\\s]*(${src[t.XRANGEIDENTIFIER]})` +
154
- `(?:\\.(${src[t.XRANGEIDENTIFIER]})` +
155
- `(?:\\.(${src[t.XRANGEIDENTIFIER]})` +
156
- `(?:${src[t.PRERELEASE]})?${
157
- src[t.BUILD]}?` +
158
- `)?)?`);
159
-
160
- createToken('XRANGEPLAINLOOSE', `[v=\\s]*(${src[t.XRANGEIDENTIFIERLOOSE]})` +
161
- `(?:\\.(${src[t.XRANGEIDENTIFIERLOOSE]})` +
162
- `(?:\\.(${src[t.XRANGEIDENTIFIERLOOSE]})` +
163
- `(?:${src[t.PRERELEASELOOSE]})?${
164
- src[t.BUILD]}?` +
165
- `)?)?`);
166
-
167
- createToken('XRANGE', `^${src[t.GTLT]}\\s*${src[t.XRANGEPLAIN]}$`);
168
- createToken('XRANGELOOSE', `^${src[t.GTLT]}\\s*${src[t.XRANGEPLAINLOOSE]}$`);
169
-
170
- // Coercion.
171
- // Extract anything that could conceivably be a part of a valid semver
172
- createToken('COERCEPLAIN', `${'(^|[^\\d])' +
173
- '(\\d{1,'}${MAX_SAFE_COMPONENT_LENGTH}})` +
174
- `(?:\\.(\\d{1,${MAX_SAFE_COMPONENT_LENGTH}}))?` +
175
- `(?:\\.(\\d{1,${MAX_SAFE_COMPONENT_LENGTH}}))?`);
176
- createToken('COERCE', `${src[t.COERCEPLAIN]}(?:$|[^\\d])`);
177
- createToken('COERCEFULL', src[t.COERCEPLAIN] +
178
- `(?:${src[t.PRERELEASE]})?` +
179
- `(?:${src[t.BUILD]})?` +
180
- `(?:$|[^\\d])`);
181
- createToken('COERCERTL', src[t.COERCE], true);
182
- createToken('COERCERTLFULL', src[t.COERCEFULL], true);
183
-
184
- // Tilde ranges.
185
- // Meaning is "reasonably at or greater than"
186
- createToken('LONETILDE', '(?:~>?)');
187
-
188
- createToken('TILDETRIM', `(\\s*)${src[t.LONETILDE]}\\s+`, true);
189
- exports.tildeTrimReplace = '$1~';
190
-
191
- createToken('TILDE', `^${src[t.LONETILDE]}${src[t.XRANGEPLAIN]}$`);
192
- createToken('TILDELOOSE', `^${src[t.LONETILDE]}${src[t.XRANGEPLAINLOOSE]}$`);
193
-
194
- // Caret ranges.
195
- // Meaning is "at least and backwards compatible with"
196
- createToken('LONECARET', '(?:\\^)');
197
-
198
- createToken('CARETTRIM', `(\\s*)${src[t.LONECARET]}\\s+`, true);
199
- exports.caretTrimReplace = '$1^';
200
-
201
- createToken('CARET', `^${src[t.LONECARET]}${src[t.XRANGEPLAIN]}$`);
202
- createToken('CARETLOOSE', `^${src[t.LONECARET]}${src[t.XRANGEPLAINLOOSE]}$`);
203
-
204
- // A simple gt/lt/eq thing, or just "" to indicate "any version"
205
- createToken('COMPARATORLOOSE', `^${src[t.GTLT]}\\s*(${src[t.LOOSEPLAIN]})$|^$`);
206
- createToken('COMPARATOR', `^${src[t.GTLT]}\\s*(${src[t.FULLPLAIN]})$|^$`);
207
-
208
- // An expression to strip any whitespace between the gtlt and the thing
209
- // it modifies, so that `> 1.2.3` ==> `>1.2.3`
210
- createToken('COMPARATORTRIM', `(\\s*)${src[t.GTLT]
211
- }\\s*(${src[t.LOOSEPLAIN]}|${src[t.XRANGEPLAIN]})`, true);
212
- exports.comparatorTrimReplace = '$1$2$3';
213
-
214
- // Something like `1.2.3 - 1.2.4`
215
- // Note that these all use the loose form, because they'll be
216
- // checked against either the strict or loose comparator form
217
- // later.
218
- createToken('HYPHENRANGE', `^\\s*(${src[t.XRANGEPLAIN]})` +
219
- `\\s+-\\s+` +
220
- `(${src[t.XRANGEPLAIN]})` +
221
- `\\s*$`);
222
-
223
- createToken('HYPHENRANGELOOSE', `^\\s*(${src[t.XRANGEPLAINLOOSE]})` +
224
- `\\s+-\\s+` +
225
- `(${src[t.XRANGEPLAINLOOSE]})` +
226
- `\\s*$`);
227
-
228
- // Star ranges basically just allow anything at all.
229
- createToken('STAR', '(<|>)?=?\\s*\\*');
230
- // >=0.0.0 is like a star
231
- createToken('GTE0', '^\\s*>=\\s*0\\.0\\.0\\s*$');
232
- createToken('GTE0PRE', '^\\s*>=\\s*0\\.0\\.0-0\\s*$');
233
- } (re, re.exports));
234
- return re.exports;
235
- }
236
-
237
- export { requireRe as __require };
@@ -1,19 +0,0 @@
1
- 'use strict';
2
-
3
- var outside = require('./outside.js');
4
-
5
- var gtr_1;
6
- var hasRequiredGtr;
7
-
8
- function requireGtr () {
9
- if (hasRequiredGtr) return gtr_1;
10
- hasRequiredGtr = 1;
11
-
12
- // Determine if version is greater than all the versions possible in the range.
13
- const outside$1 = outside.__require();
14
- const gtr = (version, range, options) => outside$1(version, range, '>', options);
15
- gtr_1 = gtr;
16
- return gtr_1;
17
- }
18
-
19
- exports.__require = requireGtr;
@@ -1,17 +0,0 @@
1
- import { __require as requireOutside } from './outside.mjs';
2
-
3
- var gtr_1;
4
- var hasRequiredGtr;
5
-
6
- function requireGtr () {
7
- if (hasRequiredGtr) return gtr_1;
8
- hasRequiredGtr = 1;
9
-
10
- // Determine if version is greater than all the versions possible in the range.
11
- const outside = requireOutside();
12
- const gtr = (version, range, options) => outside(version, range, '>', options);
13
- gtr_1 = gtr;
14
- return gtr_1;
15
- }
16
-
17
- export { requireGtr as __require };
@@ -1,22 +0,0 @@
1
- 'use strict';
2
-
3
- var range = require('../classes/range.js');
4
-
5
- var intersects_1;
6
- var hasRequiredIntersects;
7
-
8
- function requireIntersects () {
9
- if (hasRequiredIntersects) return intersects_1;
10
- hasRequiredIntersects = 1;
11
-
12
- const Range = range.__require();
13
- const intersects = (r1, r2, options) => {
14
- r1 = new Range(r1, options);
15
- r2 = new Range(r2, options);
16
- return r1.intersects(r2, options)
17
- };
18
- intersects_1 = intersects;
19
- return intersects_1;
20
- }
21
-
22
- exports.__require = requireIntersects;
@@ -1,20 +0,0 @@
1
- import { __require as requireRange } from '../classes/range.mjs';
2
-
3
- var intersects_1;
4
- var hasRequiredIntersects;
5
-
6
- function requireIntersects () {
7
- if (hasRequiredIntersects) return intersects_1;
8
- hasRequiredIntersects = 1;
9
-
10
- const Range = requireRange();
11
- const intersects = (r1, r2, options) => {
12
- r1 = new Range(r1, options);
13
- r2 = new Range(r2, options);
14
- return r1.intersects(r2, options)
15
- };
16
- intersects_1 = intersects;
17
- return intersects_1;
18
- }
19
-
20
- export { requireIntersects as __require };
@@ -1,19 +0,0 @@
1
- 'use strict';
2
-
3
- var outside = require('./outside.js');
4
-
5
- var ltr_1;
6
- var hasRequiredLtr;
7
-
8
- function requireLtr () {
9
- if (hasRequiredLtr) return ltr_1;
10
- hasRequiredLtr = 1;
11
-
12
- const outside$1 = outside.__require();
13
- // Determine if version is less than all the versions possible in the range
14
- const ltr = (version, range, options) => outside$1(version, range, '<', options);
15
- ltr_1 = ltr;
16
- return ltr_1;
17
- }
18
-
19
- exports.__require = requireLtr;
@@ -1,17 +0,0 @@
1
- import { __require as requireOutside } from './outside.mjs';
2
-
3
- var ltr_1;
4
- var hasRequiredLtr;
5
-
6
- function requireLtr () {
7
- if (hasRequiredLtr) return ltr_1;
8
- hasRequiredLtr = 1;
9
-
10
- const outside = requireOutside();
11
- // Determine if version is less than all the versions possible in the range
12
- const ltr = (version, range, options) => outside(version, range, '<', options);
13
- ltr_1 = ltr;
14
- return ltr_1;
15
- }
16
-
17
- export { requireLtr as __require };
@@ -1,41 +0,0 @@
1
- 'use strict';
2
-
3
- var semver = require('../classes/semver.js');
4
- var range = require('../classes/range.js');
5
-
6
- var maxSatisfying_1;
7
- var hasRequiredMaxSatisfying;
8
-
9
- function requireMaxSatisfying () {
10
- if (hasRequiredMaxSatisfying) return maxSatisfying_1;
11
- hasRequiredMaxSatisfying = 1;
12
-
13
- const SemVer = semver.__require();
14
- const Range = range.__require();
15
-
16
- const maxSatisfying = (versions, range, options) => {
17
- let max = null;
18
- let maxSV = null;
19
- let rangeObj = null;
20
- try {
21
- rangeObj = new Range(range, options);
22
- } catch (er) {
23
- return null
24
- }
25
- versions.forEach((v) => {
26
- if (rangeObj.test(v)) {
27
- // satisfies(v, range, options)
28
- if (!max || maxSV.compare(v) === -1) {
29
- // compare(max, v, true)
30
- max = v;
31
- maxSV = new SemVer(max, options);
32
- }
33
- }
34
- });
35
- return max
36
- };
37
- maxSatisfying_1 = maxSatisfying;
38
- return maxSatisfying_1;
39
- }
40
-
41
- exports.__require = requireMaxSatisfying;
@@ -1,39 +0,0 @@
1
- import { __require as requireSemver } from '../classes/semver.mjs';
2
- import { __require as requireRange } from '../classes/range.mjs';
3
-
4
- var maxSatisfying_1;
5
- var hasRequiredMaxSatisfying;
6
-
7
- function requireMaxSatisfying () {
8
- if (hasRequiredMaxSatisfying) return maxSatisfying_1;
9
- hasRequiredMaxSatisfying = 1;
10
-
11
- const SemVer = requireSemver();
12
- const Range = requireRange();
13
-
14
- const maxSatisfying = (versions, range, options) => {
15
- let max = null;
16
- let maxSV = null;
17
- let rangeObj = null;
18
- try {
19
- rangeObj = new Range(range, options);
20
- } catch (er) {
21
- return null
22
- }
23
- versions.forEach((v) => {
24
- if (rangeObj.test(v)) {
25
- // satisfies(v, range, options)
26
- if (!max || maxSV.compare(v) === -1) {
27
- // compare(max, v, true)
28
- max = v;
29
- maxSV = new SemVer(max, options);
30
- }
31
- }
32
- });
33
- return max
34
- };
35
- maxSatisfying_1 = maxSatisfying;
36
- return maxSatisfying_1;
37
- }
38
-
39
- export { requireMaxSatisfying as __require };