prismic-ts-codegen 0.1.28 → 0.1.29

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 (811) hide show
  1. package/dist/_virtual/_rolldown/runtime.cjs +23 -0
  2. package/dist/cli/configSchema.cjs +29 -36
  3. package/dist/cli/configSchema.cjs.map +1 -1
  4. package/dist/cli/configSchema.d.cts +39 -0
  5. package/dist/cli/configSchema.d.cts.map +1 -0
  6. package/dist/cli/configSchema.d.ts +39 -3
  7. package/dist/cli/configSchema.d.ts.map +1 -0
  8. package/dist/cli/configSchema.js +29 -37
  9. package/dist/cli/configSchema.js.map +1 -1
  10. package/dist/cli/constants.cjs +4 -3
  11. package/dist/cli/constants.cjs.map +1 -1
  12. package/dist/cli/constants.d.cts +5 -0
  13. package/dist/cli/constants.d.cts.map +1 -0
  14. package/dist/cli/constants.d.ts +5 -1
  15. package/dist/cli/constants.d.ts.map +1 -0
  16. package/dist/cli/constants.js +5 -4
  17. package/dist/cli/constants.js.map +1 -1
  18. package/dist/cli/loadConfig.cjs +17 -27
  19. package/dist/cli/loadConfig.cjs.map +1 -1
  20. package/dist/cli/loadConfig.js +13 -25
  21. package/dist/cli/loadConfig.js.map +1 -1
  22. package/dist/cli/loadLocaleIDs.cjs +18 -17
  23. package/dist/cli/loadLocaleIDs.cjs.map +1 -1
  24. package/dist/cli/loadLocaleIDs.js +16 -18
  25. package/dist/cli/loadLocaleIDs.js.map +1 -1
  26. package/dist/cli/loadModels.cjs +45 -70
  27. package/dist/cli/loadModels.cjs.map +1 -1
  28. package/dist/cli/loadModels.js +40 -52
  29. package/dist/cli/loadModels.js.map +1 -1
  30. package/dist/cli.cjs +78 -91
  31. package/dist/cli.cjs.map +1 -1
  32. package/dist/cli.d.cts +1 -0
  33. package/dist/cli.d.ts +1 -0
  34. package/dist/cli.js +68 -81
  35. package/dist/cli.js.map +1 -1
  36. package/dist/constants.cjs +26 -25
  37. package/dist/constants.cjs.map +1 -1
  38. package/dist/constants.js +27 -28
  39. package/dist/constants.js.map +1 -1
  40. package/dist/detectTypesProvider.cjs +22 -17
  41. package/dist/detectTypesProvider.cjs.map +1 -1
  42. package/dist/detectTypesProvider.d.cts +17 -0
  43. package/dist/detectTypesProvider.d.cts.map +1 -0
  44. package/dist/detectTypesProvider.d.ts +10 -6
  45. package/dist/detectTypesProvider.d.ts.map +1 -0
  46. package/dist/detectTypesProvider.js +21 -17
  47. package/dist/detectTypesProvider.js.map +1 -1
  48. package/dist/generateTypes.cjs +76 -85
  49. package/dist/generateTypes.cjs.map +1 -1
  50. package/dist/generateTypes.d.cts +21 -0
  51. package/dist/generateTypes.d.cts.map +1 -0
  52. package/dist/generateTypes.d.ts +20 -15
  53. package/dist/generateTypes.d.ts.map +1 -0
  54. package/dist/generateTypes.js +70 -81
  55. package/dist/generateTypes.js.map +1 -1
  56. package/dist/index.cjs +6 -8
  57. package/dist/index.d.cts +5 -0
  58. package/dist/index.d.ts +5 -6
  59. package/dist/index.js +1 -6
  60. package/dist/lib/addBlankLine.cjs +7 -9
  61. package/dist/lib/addBlankLine.cjs.map +1 -1
  62. package/dist/lib/addBlankLine.js +7 -9
  63. package/dist/lib/addBlankLine.js.map +1 -1
  64. package/dist/lib/addLine.cjs +6 -5
  65. package/dist/lib/addLine.cjs.map +1 -1
  66. package/dist/lib/addLine.js +6 -5
  67. package/dist/lib/addLine.js.map +1 -1
  68. package/dist/lib/addSection.cjs +6 -5
  69. package/dist/lib/addSection.cjs.map +1 -1
  70. package/dist/lib/addSection.js +6 -5
  71. package/dist/lib/addSection.js.map +1 -1
  72. package/dist/lib/addTrailingNewLine.cjs +6 -8
  73. package/dist/lib/addTrailingNewLine.cjs.map +1 -1
  74. package/dist/lib/addTrailingNewLine.js +7 -9
  75. package/dist/lib/addTrailingNewLine.js.map +1 -1
  76. package/dist/lib/buildCustomTypeDataType.cjs +41 -44
  77. package/dist/lib/buildCustomTypeDataType.cjs.map +1 -1
  78. package/dist/lib/buildCustomTypeDataType.js +39 -43
  79. package/dist/lib/buildCustomTypeDataType.js.map +1 -1
  80. package/dist/lib/buildCustomTypeType.cjs +50 -50
  81. package/dist/lib/buildCustomTypeType.cjs.map +1 -1
  82. package/dist/lib/buildCustomTypeType.js +44 -45
  83. package/dist/lib/buildCustomTypeType.js.map +1 -1
  84. package/dist/lib/buildFieldDocs.cjs +59 -92
  85. package/dist/lib/buildFieldDocs.cjs.map +1 -1
  86. package/dist/lib/buildFieldDocs.js +56 -89
  87. package/dist/lib/buildFieldDocs.js.map +1 -1
  88. package/dist/lib/buildFieldProperties.cjs +255 -309
  89. package/dist/lib/buildFieldProperties.cjs.map +1 -1
  90. package/dist/lib/buildFieldProperties.js +249 -304
  91. package/dist/lib/buildFieldProperties.js.map +1 -1
  92. package/dist/lib/buildSharedSliceType.cjs +106 -109
  93. package/dist/lib/buildSharedSliceType.cjs.map +1 -1
  94. package/dist/lib/buildSharedSliceType.js +98 -102
  95. package/dist/lib/buildSharedSliceType.js.map +1 -1
  96. package/dist/lib/buildTypeName.cjs +9 -11
  97. package/dist/lib/buildTypeName.cjs.map +1 -1
  98. package/dist/lib/buildTypeName.js +8 -11
  99. package/dist/lib/buildTypeName.js.map +1 -1
  100. package/dist/lib/buildUnion.cjs +5 -4
  101. package/dist/lib/buildUnion.cjs.map +1 -1
  102. package/dist/lib/buildUnion.js +6 -5
  103. package/dist/lib/buildUnion.js.map +1 -1
  104. package/dist/lib/checkHasUIDFIeld.cjs +5 -4
  105. package/dist/lib/checkHasUIDFIeld.cjs.map +1 -1
  106. package/dist/lib/checkHasUIDFIeld.js +6 -5
  107. package/dist/lib/checkHasUIDFIeld.js.map +1 -1
  108. package/dist/lib/getAPIIDPath.cjs +21 -23
  109. package/dist/lib/getAPIIDPath.cjs.map +1 -1
  110. package/dist/lib/getAPIIDPath.js +22 -24
  111. package/dist/lib/getAPIIDPath.js.map +1 -1
  112. package/dist/lib/getCacheKey.cjs +14 -22
  113. package/dist/lib/getCacheKey.cjs.map +1 -1
  114. package/dist/lib/getCacheKey.js +12 -5
  115. package/dist/lib/getCacheKey.js.map +1 -1
  116. package/dist/lib/getHumanReadableModelName.cjs +12 -17
  117. package/dist/lib/getHumanReadableModelName.cjs.map +1 -1
  118. package/dist/lib/getHumanReadableModelName.js +13 -18
  119. package/dist/lib/getHumanReadableModelName.js.map +1 -1
  120. package/dist/lib/getHumanReadablePath.cjs +13 -16
  121. package/dist/lib/getHumanReadablePath.cjs.map +1 -1
  122. package/dist/lib/getHumanReadablePath.js +13 -16
  123. package/dist/lib/getHumanReadablePath.js.map +1 -1
  124. package/dist/types.d.cts +14 -0
  125. package/dist/types.d.cts.map +1 -0
  126. package/dist/types.d.ts +13 -21
  127. package/dist/types.d.ts.map +1 -0
  128. package/package.json +35 -49
  129. package/src/cli/configSchema.ts +181 -50
  130. package/src/cli/constants.ts +1 -2
  131. package/src/cli/index.ts +14 -24
  132. package/src/cli/loadConfig.ts +5 -9
  133. package/src/cli/loadLocaleIDs.ts +1 -3
  134. package/src/cli/loadModels.ts +8 -10
  135. package/src/constants.ts +1 -2
  136. package/src/detectTypesProvider.ts +3 -8
  137. package/src/generateTypes.ts +3 -10
  138. package/src/index.ts +1 -2
  139. package/src/lib/addBlankLine.ts +1 -1
  140. package/src/lib/addLine.ts +1 -1
  141. package/src/lib/addSection.ts +1 -1
  142. package/src/lib/addTrailingNewLine.ts +1 -4
  143. package/src/lib/buildCustomTypeDataType.ts +1 -3
  144. package/src/lib/buildCustomTypeType.ts +4 -6
  145. package/src/lib/buildFieldDocs.ts +7 -23
  146. package/src/lib/buildFieldProperties.ts +25 -66
  147. package/src/lib/buildSharedSliceType.ts +8 -10
  148. package/src/lib/buildTypeName.ts +1 -1
  149. package/src/lib/buildUnion.ts +1 -1
  150. package/src/lib/getAPIIDPath.ts +2 -2
  151. package/src/lib/getCacheKey.ts +1 -3
  152. package/src/lib/getHumanReadableModelName.ts +2 -8
  153. package/src/lib/getHumanReadablePath.ts +2 -3
  154. package/src/types.ts +1 -5
  155. package/dist/_node_modules/@babel/code-frame/lib/index.cjs +0 -217
  156. package/dist/_node_modules/@babel/code-frame/lib/index.cjs.map +0 -1
  157. package/dist/_node_modules/@babel/code-frame/lib/index.js +0 -216
  158. package/dist/_node_modules/@babel/code-frame/lib/index.js.map +0 -1
  159. package/dist/_node_modules/@babel/helper-validator-identifier/lib/identifier.cjs +0 -82
  160. package/dist/_node_modules/@babel/helper-validator-identifier/lib/identifier.cjs.map +0 -1
  161. package/dist/_node_modules/@babel/helper-validator-identifier/lib/identifier.js +0 -83
  162. package/dist/_node_modules/@babel/helper-validator-identifier/lib/identifier.js.map +0 -1
  163. package/dist/_node_modules/@babel/helper-validator-identifier/lib/index.cjs +0 -62
  164. package/dist/_node_modules/@babel/helper-validator-identifier/lib/index.cjs.map +0 -1
  165. package/dist/_node_modules/@babel/helper-validator-identifier/lib/index.js +0 -61
  166. package/dist/_node_modules/@babel/helper-validator-identifier/lib/index.js.map +0 -1
  167. package/dist/_node_modules/@babel/helper-validator-identifier/lib/keyword.cjs +0 -35
  168. package/dist/_node_modules/@babel/helper-validator-identifier/lib/keyword.cjs.map +0 -1
  169. package/dist/_node_modules/@babel/helper-validator-identifier/lib/keyword.js +0 -36
  170. package/dist/_node_modules/@babel/helper-validator-identifier/lib/keyword.js.map +0 -1
  171. package/dist/_node_modules/@prismicio/client/dist/Client.cjs +0 -1231
  172. package/dist/_node_modules/@prismicio/client/dist/Client.cjs.map +0 -1
  173. package/dist/_node_modules/@prismicio/client/dist/Client.js +0 -1231
  174. package/dist/_node_modules/@prismicio/client/dist/Client.js.map +0 -1
  175. package/dist/_node_modules/@prismicio/client/dist/buildQueryURL.cjs +0 -66
  176. package/dist/_node_modules/@prismicio/client/dist/buildQueryURL.cjs.map +0 -1
  177. package/dist/_node_modules/@prismicio/client/dist/buildQueryURL.js +0 -66
  178. package/dist/_node_modules/@prismicio/client/dist/buildQueryURL.js.map +0 -1
  179. package/dist/_node_modules/@prismicio/client/dist/cookie.cjs +0 -5
  180. package/dist/_node_modules/@prismicio/client/dist/cookie.cjs.map +0 -1
  181. package/dist/_node_modules/@prismicio/client/dist/cookie.js +0 -5
  182. package/dist/_node_modules/@prismicio/client/dist/cookie.js.map +0 -1
  183. package/dist/_node_modules/@prismicio/client/dist/createClient.cjs +0 -6
  184. package/dist/_node_modules/@prismicio/client/dist/createClient.cjs.map +0 -1
  185. package/dist/_node_modules/@prismicio/client/dist/createClient.js +0 -6
  186. package/dist/_node_modules/@prismicio/client/dist/createClient.js.map +0 -1
  187. package/dist/_node_modules/@prismicio/client/dist/errors/ForbiddenError.cjs +0 -7
  188. package/dist/_node_modules/@prismicio/client/dist/errors/ForbiddenError.cjs.map +0 -1
  189. package/dist/_node_modules/@prismicio/client/dist/errors/ForbiddenError.js +0 -7
  190. package/dist/_node_modules/@prismicio/client/dist/errors/ForbiddenError.js.map +0 -1
  191. package/dist/_node_modules/@prismicio/client/dist/errors/NotFoundError.cjs +0 -7
  192. package/dist/_node_modules/@prismicio/client/dist/errors/NotFoundError.cjs.map +0 -1
  193. package/dist/_node_modules/@prismicio/client/dist/errors/NotFoundError.js +0 -7
  194. package/dist/_node_modules/@prismicio/client/dist/errors/NotFoundError.js.map +0 -1
  195. package/dist/_node_modules/@prismicio/client/dist/errors/ParsingError.cjs +0 -7
  196. package/dist/_node_modules/@prismicio/client/dist/errors/ParsingError.cjs.map +0 -1
  197. package/dist/_node_modules/@prismicio/client/dist/errors/ParsingError.js +0 -7
  198. package/dist/_node_modules/@prismicio/client/dist/errors/ParsingError.js.map +0 -1
  199. package/dist/_node_modules/@prismicio/client/dist/errors/PreviewTokenExpired.cjs +0 -7
  200. package/dist/_node_modules/@prismicio/client/dist/errors/PreviewTokenExpired.cjs.map +0 -1
  201. package/dist/_node_modules/@prismicio/client/dist/errors/PreviewTokenExpired.js +0 -7
  202. package/dist/_node_modules/@prismicio/client/dist/errors/PreviewTokenExpired.js.map +0 -1
  203. package/dist/_node_modules/@prismicio/client/dist/errors/PrismicError.cjs +0 -16
  204. package/dist/_node_modules/@prismicio/client/dist/errors/PrismicError.cjs.map +0 -1
  205. package/dist/_node_modules/@prismicio/client/dist/errors/PrismicError.js +0 -16
  206. package/dist/_node_modules/@prismicio/client/dist/errors/PrismicError.js.map +0 -1
  207. package/dist/_node_modules/@prismicio/client/dist/errors/RefExpiredError.cjs +0 -7
  208. package/dist/_node_modules/@prismicio/client/dist/errors/RefExpiredError.cjs.map +0 -1
  209. package/dist/_node_modules/@prismicio/client/dist/errors/RefExpiredError.js +0 -7
  210. package/dist/_node_modules/@prismicio/client/dist/errors/RefExpiredError.js.map +0 -1
  211. package/dist/_node_modules/@prismicio/client/dist/errors/RefNotFoundError.cjs +0 -7
  212. package/dist/_node_modules/@prismicio/client/dist/errors/RefNotFoundError.cjs.map +0 -1
  213. package/dist/_node_modules/@prismicio/client/dist/errors/RefNotFoundError.js +0 -7
  214. package/dist/_node_modules/@prismicio/client/dist/errors/RefNotFoundError.js.map +0 -1
  215. package/dist/_node_modules/@prismicio/client/dist/errors/RepositoryNotFoundError.cjs +0 -7
  216. package/dist/_node_modules/@prismicio/client/dist/errors/RepositoryNotFoundError.cjs.map +0 -1
  217. package/dist/_node_modules/@prismicio/client/dist/errors/RepositoryNotFoundError.js +0 -7
  218. package/dist/_node_modules/@prismicio/client/dist/errors/RepositoryNotFoundError.js.map +0 -1
  219. package/dist/_node_modules/@prismicio/client/dist/filter.cjs +0 -247
  220. package/dist/_node_modules/@prismicio/client/dist/filter.cjs.map +0 -1
  221. package/dist/_node_modules/@prismicio/client/dist/filter.js +0 -247
  222. package/dist/_node_modules/@prismicio/client/dist/filter.js.map +0 -1
  223. package/dist/_node_modules/@prismicio/client/dist/getRepositoryEndpoint.cjs +0 -13
  224. package/dist/_node_modules/@prismicio/client/dist/getRepositoryEndpoint.cjs.map +0 -1
  225. package/dist/_node_modules/@prismicio/client/dist/getRepositoryEndpoint.js +0 -13
  226. package/dist/_node_modules/@prismicio/client/dist/getRepositoryEndpoint.js.map +0 -1
  227. package/dist/_node_modules/@prismicio/client/dist/getRepositoryName.cjs +0 -17
  228. package/dist/_node_modules/@prismicio/client/dist/getRepositoryName.cjs.map +0 -1
  229. package/dist/_node_modules/@prismicio/client/dist/getRepositoryName.js +0 -17
  230. package/dist/_node_modules/@prismicio/client/dist/getRepositoryName.js.map +0 -1
  231. package/dist/_node_modules/@prismicio/client/dist/helpers/asLink.cjs +0 -47
  232. package/dist/_node_modules/@prismicio/client/dist/helpers/asLink.cjs.map +0 -1
  233. package/dist/_node_modules/@prismicio/client/dist/helpers/asLink.js +0 -47
  234. package/dist/_node_modules/@prismicio/client/dist/helpers/asLink.js.map +0 -1
  235. package/dist/_node_modules/@prismicio/client/dist/helpers/documentToLinkField.cjs +0 -27
  236. package/dist/_node_modules/@prismicio/client/dist/helpers/documentToLinkField.cjs.map +0 -1
  237. package/dist/_node_modules/@prismicio/client/dist/helpers/documentToLinkField.js +0 -27
  238. package/dist/_node_modules/@prismicio/client/dist/helpers/documentToLinkField.js.map +0 -1
  239. package/dist/_node_modules/@prismicio/client/dist/isRepositoryEndpoint.cjs +0 -12
  240. package/dist/_node_modules/@prismicio/client/dist/isRepositoryEndpoint.cjs.map +0 -1
  241. package/dist/_node_modules/@prismicio/client/dist/isRepositoryEndpoint.js +0 -12
  242. package/dist/_node_modules/@prismicio/client/dist/isRepositoryEndpoint.js.map +0 -1
  243. package/dist/_node_modules/@prismicio/client/dist/isRepositoryName.cjs +0 -7
  244. package/dist/_node_modules/@prismicio/client/dist/isRepositoryName.cjs.map +0 -1
  245. package/dist/_node_modules/@prismicio/client/dist/isRepositoryName.js +0 -7
  246. package/dist/_node_modules/@prismicio/client/dist/isRepositoryName.js.map +0 -1
  247. package/dist/_node_modules/@prismicio/client/dist/lib/appendFilters.cjs +0 -11
  248. package/dist/_node_modules/@prismicio/client/dist/lib/appendFilters.cjs.map +0 -1
  249. package/dist/_node_modules/@prismicio/client/dist/lib/appendFilters.js +0 -11
  250. package/dist/_node_modules/@prismicio/client/dist/lib/appendFilters.js.map +0 -1
  251. package/dist/_node_modules/@prismicio/client/dist/lib/castArray.cjs +0 -7
  252. package/dist/_node_modules/@prismicio/client/dist/lib/castArray.cjs.map +0 -1
  253. package/dist/_node_modules/@prismicio/client/dist/lib/castArray.js +0 -7
  254. package/dist/_node_modules/@prismicio/client/dist/lib/castArray.js.map +0 -1
  255. package/dist/_node_modules/@prismicio/client/dist/lib/castThunk.cjs +0 -7
  256. package/dist/_node_modules/@prismicio/client/dist/lib/castThunk.cjs.map +0 -1
  257. package/dist/_node_modules/@prismicio/client/dist/lib/castThunk.js +0 -7
  258. package/dist/_node_modules/@prismicio/client/dist/lib/castThunk.js.map +0 -1
  259. package/dist/_node_modules/@prismicio/client/dist/lib/devMsg.cjs +0 -8
  260. package/dist/_node_modules/@prismicio/client/dist/lib/devMsg.cjs.map +0 -1
  261. package/dist/_node_modules/@prismicio/client/dist/lib/devMsg.js +0 -8
  262. package/dist/_node_modules/@prismicio/client/dist/lib/devMsg.js.map +0 -1
  263. package/dist/_node_modules/@prismicio/client/dist/lib/everyTagFilter.cjs +0 -9
  264. package/dist/_node_modules/@prismicio/client/dist/lib/everyTagFilter.cjs.map +0 -1
  265. package/dist/_node_modules/@prismicio/client/dist/lib/everyTagFilter.js +0 -9
  266. package/dist/_node_modules/@prismicio/client/dist/lib/everyTagFilter.js.map +0 -1
  267. package/dist/_node_modules/@prismicio/client/dist/lib/findMasterRef.cjs +0 -8
  268. package/dist/_node_modules/@prismicio/client/dist/lib/findMasterRef.cjs.map +0 -1
  269. package/dist/_node_modules/@prismicio/client/dist/lib/findMasterRef.js +0 -8
  270. package/dist/_node_modules/@prismicio/client/dist/lib/findMasterRef.js.map +0 -1
  271. package/dist/_node_modules/@prismicio/client/dist/lib/findRef.cjs +0 -12
  272. package/dist/_node_modules/@prismicio/client/dist/lib/findRef.cjs.map +0 -1
  273. package/dist/_node_modules/@prismicio/client/dist/lib/findRef.js +0 -12
  274. package/dist/_node_modules/@prismicio/client/dist/lib/findRef.js.map +0 -1
  275. package/dist/_node_modules/@prismicio/client/dist/lib/findRefByID.cjs +0 -8
  276. package/dist/_node_modules/@prismicio/client/dist/lib/findRefByID.cjs.map +0 -1
  277. package/dist/_node_modules/@prismicio/client/dist/lib/findRefByID.js +0 -8
  278. package/dist/_node_modules/@prismicio/client/dist/lib/findRefByID.js.map +0 -1
  279. package/dist/_node_modules/@prismicio/client/dist/lib/findRefByLabel.cjs +0 -8
  280. package/dist/_node_modules/@prismicio/client/dist/lib/findRefByLabel.cjs.map +0 -1
  281. package/dist/_node_modules/@prismicio/client/dist/lib/findRefByLabel.js +0 -8
  282. package/dist/_node_modules/@prismicio/client/dist/lib/findRefByLabel.js.map +0 -1
  283. package/dist/_node_modules/@prismicio/client/dist/lib/getPreviewCookie.cjs +0 -21
  284. package/dist/_node_modules/@prismicio/client/dist/lib/getPreviewCookie.cjs.map +0 -1
  285. package/dist/_node_modules/@prismicio/client/dist/lib/getPreviewCookie.js +0 -21
  286. package/dist/_node_modules/@prismicio/client/dist/lib/getPreviewCookie.js.map +0 -1
  287. package/dist/_node_modules/@prismicio/client/dist/lib/minifyGraphQLQuery.cjs +0 -7
  288. package/dist/_node_modules/@prismicio/client/dist/lib/minifyGraphQLQuery.cjs.map +0 -1
  289. package/dist/_node_modules/@prismicio/client/dist/lib/minifyGraphQLQuery.js +0 -7
  290. package/dist/_node_modules/@prismicio/client/dist/lib/minifyGraphQLQuery.js.map +0 -1
  291. package/dist/_node_modules/@prismicio/client/dist/lib/pLimit.cjs +0 -49
  292. package/dist/_node_modules/@prismicio/client/dist/lib/pLimit.cjs.map +0 -1
  293. package/dist/_node_modules/@prismicio/client/dist/lib/pLimit.js +0 -49
  294. package/dist/_node_modules/@prismicio/client/dist/lib/pLimit.js.map +0 -1
  295. package/dist/_node_modules/@prismicio/client/dist/lib/request.cjs +0 -43
  296. package/dist/_node_modules/@prismicio/client/dist/lib/request.cjs.map +0 -1
  297. package/dist/_node_modules/@prismicio/client/dist/lib/request.js +0 -43
  298. package/dist/_node_modules/@prismicio/client/dist/lib/request.js.map +0 -1
  299. package/dist/_node_modules/@prismicio/client/dist/lib/someTagsFilter.cjs +0 -9
  300. package/dist/_node_modules/@prismicio/client/dist/lib/someTagsFilter.cjs.map +0 -1
  301. package/dist/_node_modules/@prismicio/client/dist/lib/someTagsFilter.js +0 -9
  302. package/dist/_node_modules/@prismicio/client/dist/lib/someTagsFilter.js.map +0 -1
  303. package/dist/_node_modules/@prismicio/client/dist/lib/throttledLog.cjs +0 -17
  304. package/dist/_node_modules/@prismicio/client/dist/lib/throttledLog.cjs.map +0 -1
  305. package/dist/_node_modules/@prismicio/client/dist/lib/throttledLog.js +0 -17
  306. package/dist/_node_modules/@prismicio/client/dist/lib/throttledLog.js.map +0 -1
  307. package/dist/_node_modules/@prismicio/client/dist/lib/typeFilter.cjs +0 -8
  308. package/dist/_node_modules/@prismicio/client/dist/lib/typeFilter.cjs.map +0 -1
  309. package/dist/_node_modules/@prismicio/client/dist/lib/typeFilter.js +0 -8
  310. package/dist/_node_modules/@prismicio/client/dist/lib/typeFilter.js.map +0 -1
  311. package/dist/_node_modules/@prismicio/client/dist/package.json.cjs +0 -5
  312. package/dist/_node_modules/@prismicio/client/dist/package.json.cjs.map +0 -1
  313. package/dist/_node_modules/@prismicio/client/dist/package.json.js +0 -5
  314. package/dist/_node_modules/@prismicio/client/dist/package.json.js.map +0 -1
  315. package/dist/_node_modules/@prismicio/client/dist/types/model/types.cjs +0 -39
  316. package/dist/_node_modules/@prismicio/client/dist/types/model/types.cjs.map +0 -1
  317. package/dist/_node_modules/@prismicio/client/dist/types/model/types.js +0 -39
  318. package/dist/_node_modules/@prismicio/client/dist/types/model/types.js.map +0 -1
  319. package/dist/_node_modules/@prismicio/client/dist/types/value/link.cjs +0 -10
  320. package/dist/_node_modules/@prismicio/client/dist/types/value/link.cjs.map +0 -1
  321. package/dist/_node_modules/@prismicio/client/dist/types/value/link.js +0 -10
  322. package/dist/_node_modules/@prismicio/client/dist/types/value/link.js.map +0 -1
  323. package/dist/_node_modules/arrify/index.cjs +0 -10
  324. package/dist/_node_modules/arrify/index.cjs.map +0 -1
  325. package/dist/_node_modules/arrify/index.js +0 -10
  326. package/dist/_node_modules/arrify/index.js.map +0 -1
  327. package/dist/_node_modules/camelcase/index.cjs +0 -83
  328. package/dist/_node_modules/camelcase/index.cjs.map +0 -1
  329. package/dist/_node_modules/camelcase/index.js +0 -84
  330. package/dist/_node_modules/camelcase/index.js.map +0 -1
  331. package/dist/_node_modules/camelcase-keys/index.cjs +0 -55
  332. package/dist/_node_modules/camelcase-keys/index.cjs.map +0 -1
  333. package/dist/_node_modules/camelcase-keys/index.js +0 -56
  334. package/dist/_node_modules/camelcase-keys/index.js.map +0 -1
  335. package/dist/_node_modules/data-uri-to-buffer/dist/index.cjs +0 -41
  336. package/dist/_node_modules/data-uri-to-buffer/dist/index.cjs.map +0 -1
  337. package/dist/_node_modules/data-uri-to-buffer/dist/index.js +0 -41
  338. package/dist/_node_modules/data-uri-to-buffer/dist/index.js.map +0 -1
  339. package/dist/_node_modules/decamelize/index.cjs +0 -38
  340. package/dist/_node_modules/decamelize/index.cjs.map +0 -1
  341. package/dist/_node_modules/decamelize/index.js +0 -39
  342. package/dist/_node_modules/decamelize/index.js.map +0 -1
  343. package/dist/_node_modules/decamelize-keys/index.cjs +0 -50
  344. package/dist/_node_modules/decamelize-keys/index.cjs.map +0 -1
  345. package/dist/_node_modules/decamelize-keys/index.js +0 -51
  346. package/dist/_node_modules/decamelize-keys/index.js.map +0 -1
  347. package/dist/_node_modules/error-ex/index.cjs +0 -109
  348. package/dist/_node_modules/error-ex/index.cjs.map +0 -1
  349. package/dist/_node_modules/error-ex/index.js +0 -109
  350. package/dist/_node_modules/error-ex/index.js.map +0 -1
  351. package/dist/_node_modules/fetch-blob/file.cjs +0 -61
  352. package/dist/_node_modules/fetch-blob/file.cjs.map +0 -1
  353. package/dist/_node_modules/fetch-blob/file.js +0 -61
  354. package/dist/_node_modules/fetch-blob/file.js.map +0 -1
  355. package/dist/_node_modules/fetch-blob/index.cjs +0 -223
  356. package/dist/_node_modules/fetch-blob/index.cjs.map +0 -1
  357. package/dist/_node_modules/fetch-blob/index.js +0 -223
  358. package/dist/_node_modules/fetch-blob/index.js.map +0 -1
  359. package/dist/_node_modules/fetch-blob/streams.cjs +0 -43
  360. package/dist/_node_modules/fetch-blob/streams.cjs.map +0 -1
  361. package/dist/_node_modules/fetch-blob/streams.js +0 -42
  362. package/dist/_node_modules/fetch-blob/streams.js.map +0 -1
  363. package/dist/_node_modules/formdata-polyfill/esm.min.cjs +0 -116
  364. package/dist/_node_modules/formdata-polyfill/esm.min.cjs.map +0 -1
  365. package/dist/_node_modules/formdata-polyfill/esm.min.js +0 -116
  366. package/dist/_node_modules/formdata-polyfill/esm.min.js.map +0 -1
  367. package/dist/_node_modules/function-bind/implementation.cjs +0 -47
  368. package/dist/_node_modules/function-bind/implementation.cjs.map +0 -1
  369. package/dist/_node_modules/function-bind/implementation.js +0 -47
  370. package/dist/_node_modules/function-bind/implementation.js.map +0 -1
  371. package/dist/_node_modules/function-bind/index.cjs +0 -7
  372. package/dist/_node_modules/function-bind/index.cjs.map +0 -1
  373. package/dist/_node_modules/function-bind/index.js +0 -7
  374. package/dist/_node_modules/function-bind/index.js.map +0 -1
  375. package/dist/_node_modules/hard-rejection/index.cjs +0 -25
  376. package/dist/_node_modules/hard-rejection/index.cjs.map +0 -1
  377. package/dist/_node_modules/hard-rejection/index.js +0 -26
  378. package/dist/_node_modules/hard-rejection/index.js.map +0 -1
  379. package/dist/_node_modules/has/src/index.cjs +0 -7
  380. package/dist/_node_modules/has/src/index.cjs.map +0 -1
  381. package/dist/_node_modules/has/src/index.js +0 -7
  382. package/dist/_node_modules/has/src/index.js.map +0 -1
  383. package/dist/_node_modules/hosted-git-info/lib/from-url.cjs +0 -93
  384. package/dist/_node_modules/hosted-git-info/lib/from-url.cjs.map +0 -1
  385. package/dist/_node_modules/hosted-git-info/lib/from-url.js +0 -93
  386. package/dist/_node_modules/hosted-git-info/lib/from-url.js.map +0 -1
  387. package/dist/_node_modules/hosted-git-info/lib/hosts.cjs +0 -164
  388. package/dist/_node_modules/hosted-git-info/lib/hosts.cjs.map +0 -1
  389. package/dist/_node_modules/hosted-git-info/lib/hosts.js +0 -164
  390. package/dist/_node_modules/hosted-git-info/lib/hosts.js.map +0 -1
  391. package/dist/_node_modules/hosted-git-info/lib/index.cjs +0 -168
  392. package/dist/_node_modules/hosted-git-info/lib/index.cjs.map +0 -1
  393. package/dist/_node_modules/hosted-git-info/lib/index.js +0 -168
  394. package/dist/_node_modules/hosted-git-info/lib/index.js.map +0 -1
  395. package/dist/_node_modules/hosted-git-info/lib/parse-url.cjs +0 -51
  396. package/dist/_node_modules/hosted-git-info/lib/parse-url.cjs.map +0 -1
  397. package/dist/_node_modules/hosted-git-info/lib/parse-url.js +0 -51
  398. package/dist/_node_modules/hosted-git-info/lib/parse-url.js.map +0 -1
  399. package/dist/_node_modules/indent-string/index.cjs +0 -34
  400. package/dist/_node_modules/indent-string/index.cjs.map +0 -1
  401. package/dist/_node_modules/indent-string/index.js +0 -35
  402. package/dist/_node_modules/indent-string/index.js.map +0 -1
  403. package/dist/_node_modules/is-arrayish/index.cjs +0 -10
  404. package/dist/_node_modules/is-arrayish/index.cjs.map +0 -1
  405. package/dist/_node_modules/is-arrayish/index.js +0 -10
  406. package/dist/_node_modules/is-arrayish/index.js.map +0 -1
  407. package/dist/_node_modules/is-core-module/core.json.cjs +0 -496
  408. package/dist/_node_modules/is-core-module/core.json.cjs.map +0 -1
  409. package/dist/_node_modules/is-core-module/core.json.js +0 -496
  410. package/dist/_node_modules/is-core-module/core.json.js.map +0 -1
  411. package/dist/_node_modules/is-core-module/index.cjs +0 -62
  412. package/dist/_node_modules/is-core-module/index.cjs.map +0 -1
  413. package/dist/_node_modules/is-core-module/index.js +0 -62
  414. package/dist/_node_modules/is-core-module/index.js.map +0 -1
  415. package/dist/_node_modules/is-plain-obj/index.cjs +0 -9
  416. package/dist/_node_modules/is-plain-obj/index.cjs.map +0 -1
  417. package/dist/_node_modules/is-plain-obj/index.js +0 -9
  418. package/dist/_node_modules/is-plain-obj/index.js.map +0 -1
  419. package/dist/_node_modules/js-tokens/index.cjs +0 -27
  420. package/dist/_node_modules/js-tokens/index.cjs.map +0 -1
  421. package/dist/_node_modules/js-tokens/index.js +0 -26
  422. package/dist/_node_modules/js-tokens/index.js.map +0 -1
  423. package/dist/_node_modules/json-parse-even-better-errors/index.cjs +0 -90
  424. package/dist/_node_modules/json-parse-even-better-errors/index.cjs.map +0 -1
  425. package/dist/_node_modules/json-parse-even-better-errors/index.js +0 -90
  426. package/dist/_node_modules/json-parse-even-better-errors/index.js.map +0 -1
  427. package/dist/_node_modules/kind-of/index.cjs +0 -129
  428. package/dist/_node_modules/kind-of/index.cjs.map +0 -1
  429. package/dist/_node_modules/kind-of/index.js +0 -129
  430. package/dist/_node_modules/kind-of/index.js.map +0 -1
  431. package/dist/_node_modules/lines-and-columns/build/index.cjs +0 -67
  432. package/dist/_node_modules/lines-and-columns/build/index.cjs.map +0 -1
  433. package/dist/_node_modules/lines-and-columns/build/index.js +0 -66
  434. package/dist/_node_modules/lines-and-columns/build/index.js.map +0 -1
  435. package/dist/_node_modules/lru-cache/index.cjs +0 -1015
  436. package/dist/_node_modules/lru-cache/index.cjs.map +0 -1
  437. package/dist/_node_modules/lru-cache/index.js +0 -1015
  438. package/dist/_node_modules/lru-cache/index.js.map +0 -1
  439. package/dist/_node_modules/map-obj/index.cjs +0 -49
  440. package/dist/_node_modules/map-obj/index.cjs.map +0 -1
  441. package/dist/_node_modules/map-obj/index.js +0 -50
  442. package/dist/_node_modules/map-obj/index.js.map +0 -1
  443. package/dist/_node_modules/meow/source/index.cjs +0 -88
  444. package/dist/_node_modules/meow/source/index.cjs.map +0 -1
  445. package/dist/_node_modules/meow/source/index.js +0 -89
  446. package/dist/_node_modules/meow/source/index.js.map +0 -1
  447. package/dist/_node_modules/meow/source/options.cjs +0 -83
  448. package/dist/_node_modules/meow/source/options.cjs.map +0 -1
  449. package/dist/_node_modules/meow/source/options.js +0 -83
  450. package/dist/_node_modules/meow/source/options.js.map +0 -1
  451. package/dist/_node_modules/meow/source/parser.cjs +0 -61
  452. package/dist/_node_modules/meow/source/parser.cjs.map +0 -1
  453. package/dist/_node_modules/meow/source/parser.js +0 -61
  454. package/dist/_node_modules/meow/source/parser.js.map +0 -1
  455. package/dist/_node_modules/meow/source/utils.cjs +0 -8
  456. package/dist/_node_modules/meow/source/utils.cjs.map +0 -1
  457. package/dist/_node_modules/meow/source/utils.js +0 -8
  458. package/dist/_node_modules/meow/source/utils.js.map +0 -1
  459. package/dist/_node_modules/meow/source/validate.cjs +0 -102
  460. package/dist/_node_modules/meow/source/validate.cjs.map +0 -1
  461. package/dist/_node_modules/meow/source/validate.js +0 -102
  462. package/dist/_node_modules/meow/source/validate.js.map +0 -1
  463. package/dist/_node_modules/min-indent/index.cjs +0 -12
  464. package/dist/_node_modules/min-indent/index.cjs.map +0 -1
  465. package/dist/_node_modules/min-indent/index.js +0 -13
  466. package/dist/_node_modules/min-indent/index.js.map +0 -1
  467. package/dist/_node_modules/minimist-options/index.cjs +0 -94
  468. package/dist/_node_modules/minimist-options/index.cjs.map +0 -1
  469. package/dist/_node_modules/minimist-options/index.js +0 -95
  470. package/dist/_node_modules/minimist-options/index.js.map +0 -1
  471. package/dist/_node_modules/node-domexception/index.cjs +0 -11
  472. package/dist/_node_modules/node-domexception/index.cjs.map +0 -1
  473. package/dist/_node_modules/node-domexception/index.js +0 -10
  474. package/dist/_node_modules/node-domexception/index.js.map +0 -1
  475. package/dist/_node_modules/node-fetch/src/body.cjs +0 -262
  476. package/dist/_node_modules/node-fetch/src/body.cjs.map +0 -1
  477. package/dist/_node_modules/node-fetch/src/body.js +0 -262
  478. package/dist/_node_modules/node-fetch/src/body.js.map +0 -1
  479. package/dist/_node_modules/node-fetch/src/errors/abort-error.cjs +0 -10
  480. package/dist/_node_modules/node-fetch/src/errors/abort-error.cjs.map +0 -1
  481. package/dist/_node_modules/node-fetch/src/errors/abort-error.js +0 -10
  482. package/dist/_node_modules/node-fetch/src/errors/abort-error.js.map +0 -1
  483. package/dist/_node_modules/node-fetch/src/errors/base.cjs +0 -17
  484. package/dist/_node_modules/node-fetch/src/errors/base.cjs.map +0 -1
  485. package/dist/_node_modules/node-fetch/src/errors/base.js +0 -17
  486. package/dist/_node_modules/node-fetch/src/errors/base.js.map +0 -1
  487. package/dist/_node_modules/node-fetch/src/errors/fetch-error.cjs +0 -19
  488. package/dist/_node_modules/node-fetch/src/errors/fetch-error.cjs.map +0 -1
  489. package/dist/_node_modules/node-fetch/src/errors/fetch-error.js +0 -19
  490. package/dist/_node_modules/node-fetch/src/errors/fetch-error.js.map +0 -1
  491. package/dist/_node_modules/node-fetch/src/headers.cjs +0 -190
  492. package/dist/_node_modules/node-fetch/src/headers.cjs.map +0 -1
  493. package/dist/_node_modules/node-fetch/src/headers.js +0 -190
  494. package/dist/_node_modules/node-fetch/src/headers.js.map +0 -1
  495. package/dist/_node_modules/node-fetch/src/index.cjs +0 -292
  496. package/dist/_node_modules/node-fetch/src/index.cjs.map +0 -1
  497. package/dist/_node_modules/node-fetch/src/index.js +0 -292
  498. package/dist/_node_modules/node-fetch/src/index.js.map +0 -1
  499. package/dist/_node_modules/node-fetch/src/request.cjs +0 -203
  500. package/dist/_node_modules/node-fetch/src/request.cjs.map +0 -1
  501. package/dist/_node_modules/node-fetch/src/request.js +0 -203
  502. package/dist/_node_modules/node-fetch/src/request.js.map +0 -1
  503. package/dist/_node_modules/node-fetch/src/response.cjs +0 -122
  504. package/dist/_node_modules/node-fetch/src/response.cjs.map +0 -1
  505. package/dist/_node_modules/node-fetch/src/response.js +0 -123
  506. package/dist/_node_modules/node-fetch/src/response.js.map +0 -1
  507. package/dist/_node_modules/node-fetch/src/utils/get-search.cjs +0 -12
  508. package/dist/_node_modules/node-fetch/src/utils/get-search.cjs.map +0 -1
  509. package/dist/_node_modules/node-fetch/src/utils/get-search.js +0 -12
  510. package/dist/_node_modules/node-fetch/src/utils/get-search.js.map +0 -1
  511. package/dist/_node_modules/node-fetch/src/utils/is-redirect.cjs +0 -8
  512. package/dist/_node_modules/node-fetch/src/utils/is-redirect.cjs.map +0 -1
  513. package/dist/_node_modules/node-fetch/src/utils/is-redirect.js +0 -8
  514. package/dist/_node_modules/node-fetch/src/utils/is-redirect.js.map +0 -1
  515. package/dist/_node_modules/node-fetch/src/utils/is.cjs +0 -28
  516. package/dist/_node_modules/node-fetch/src/utils/is.cjs.map +0 -1
  517. package/dist/_node_modules/node-fetch/src/utils/is.js +0 -28
  518. package/dist/_node_modules/node-fetch/src/utils/is.js.map +0 -1
  519. package/dist/_node_modules/node-fetch/src/utils/multipart-parser.cjs +0 -356
  520. package/dist/_node_modules/node-fetch/src/utils/multipart-parser.cjs.map +0 -1
  521. package/dist/_node_modules/node-fetch/src/utils/multipart-parser.js +0 -356
  522. package/dist/_node_modules/node-fetch/src/utils/multipart-parser.js.map +0 -1
  523. package/dist/_node_modules/node-fetch/src/utils/referrer.cjs +0 -149
  524. package/dist/_node_modules/node-fetch/src/utils/referrer.cjs.map +0 -1
  525. package/dist/_node_modules/node-fetch/src/utils/referrer.js +0 -149
  526. package/dist/_node_modules/node-fetch/src/utils/referrer.js.map +0 -1
  527. package/dist/_node_modules/normalize-package-data/lib/extract_description.cjs +0 -24
  528. package/dist/_node_modules/normalize-package-data/lib/extract_description.cjs.map +0 -1
  529. package/dist/_node_modules/normalize-package-data/lib/extract_description.js +0 -24
  530. package/dist/_node_modules/normalize-package-data/lib/extract_description.js.map +0 -1
  531. package/dist/_node_modules/normalize-package-data/lib/fixer.cjs +0 -438
  532. package/dist/_node_modules/normalize-package-data/lib/fixer.cjs.map +0 -1
  533. package/dist/_node_modules/normalize-package-data/lib/fixer.js +0 -438
  534. package/dist/_node_modules/normalize-package-data/lib/fixer.js.map +0 -1
  535. package/dist/_node_modules/normalize-package-data/lib/make_warning.cjs +0 -26
  536. package/dist/_node_modules/normalize-package-data/lib/make_warning.cjs.map +0 -1
  537. package/dist/_node_modules/normalize-package-data/lib/make_warning.js +0 -26
  538. package/dist/_node_modules/normalize-package-data/lib/make_warning.js.map +0 -1
  539. package/dist/_node_modules/normalize-package-data/lib/normalize.cjs +0 -58
  540. package/dist/_node_modules/normalize-package-data/lib/normalize.cjs.map +0 -1
  541. package/dist/_node_modules/normalize-package-data/lib/normalize.js +0 -59
  542. package/dist/_node_modules/normalize-package-data/lib/normalize.js.map +0 -1
  543. package/dist/_node_modules/normalize-package-data/lib/typos.json.cjs +0 -41
  544. package/dist/_node_modules/normalize-package-data/lib/typos.json.cjs.map +0 -1
  545. package/dist/_node_modules/normalize-package-data/lib/typos.json.js +0 -41
  546. package/dist/_node_modules/normalize-package-data/lib/typos.json.js.map +0 -1
  547. package/dist/_node_modules/normalize-package-data/lib/warning_messages.json.cjs +0 -90
  548. package/dist/_node_modules/normalize-package-data/lib/warning_messages.json.cjs.map +0 -1
  549. package/dist/_node_modules/normalize-package-data/lib/warning_messages.json.js +0 -90
  550. package/dist/_node_modules/normalize-package-data/lib/warning_messages.json.js.map +0 -1
  551. package/dist/_node_modules/parse-json/index.cjs +0 -54
  552. package/dist/_node_modules/parse-json/index.cjs.map +0 -1
  553. package/dist/_node_modules/parse-json/index.js +0 -55
  554. package/dist/_node_modules/parse-json/index.js.map +0 -1
  555. package/dist/_node_modules/picocolors/picocolors.browser.cjs +0 -12
  556. package/dist/_node_modules/picocolors/picocolors.browser.cjs.map +0 -1
  557. package/dist/_node_modules/picocolors/picocolors.browser.js +0 -12
  558. package/dist/_node_modules/picocolors/picocolors.browser.js.map +0 -1
  559. package/dist/_node_modules/quick-lru/index.cjs +0 -235
  560. package/dist/_node_modules/quick-lru/index.cjs.map +0 -1
  561. package/dist/_node_modules/quick-lru/index.js +0 -236
  562. package/dist/_node_modules/quick-lru/index.js.map +0 -1
  563. package/dist/_node_modules/read-pkg/_node_modules/hosted-git-info/git-host-info.cjs +0 -159
  564. package/dist/_node_modules/read-pkg/_node_modules/hosted-git-info/git-host-info.cjs.map +0 -1
  565. package/dist/_node_modules/read-pkg/_node_modules/hosted-git-info/git-host-info.js +0 -159
  566. package/dist/_node_modules/read-pkg/_node_modules/hosted-git-info/git-host-info.js.map +0 -1
  567. package/dist/_node_modules/read-pkg/_node_modules/hosted-git-info/git-host.cjs +0 -88
  568. package/dist/_node_modules/read-pkg/_node_modules/hosted-git-info/git-host.cjs.map +0 -1
  569. package/dist/_node_modules/read-pkg/_node_modules/hosted-git-info/git-host.js +0 -88
  570. package/dist/_node_modules/read-pkg/_node_modules/hosted-git-info/git-host.js.map +0 -1
  571. package/dist/_node_modules/read-pkg/_node_modules/hosted-git-info/index.cjs +0 -180
  572. package/dist/_node_modules/read-pkg/_node_modules/hosted-git-info/index.cjs.map +0 -1
  573. package/dist/_node_modules/read-pkg/_node_modules/hosted-git-info/index.js +0 -180
  574. package/dist/_node_modules/read-pkg/_node_modules/hosted-git-info/index.js.map +0 -1
  575. package/dist/_node_modules/read-pkg/_node_modules/lru-cache/index.cjs +0 -268
  576. package/dist/_node_modules/read-pkg/_node_modules/lru-cache/index.cjs.map +0 -1
  577. package/dist/_node_modules/read-pkg/_node_modules/lru-cache/index.js +0 -268
  578. package/dist/_node_modules/read-pkg/_node_modules/lru-cache/index.js.map +0 -1
  579. package/dist/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/extract_description.cjs +0 -20
  580. package/dist/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/extract_description.cjs.map +0 -1
  581. package/dist/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/extract_description.js +0 -20
  582. package/dist/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/extract_description.js.map +0 -1
  583. package/dist/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/fixer.cjs +0 -438
  584. package/dist/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/fixer.cjs.map +0 -1
  585. package/dist/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/fixer.js +0 -438
  586. package/dist/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/fixer.js.map +0 -1
  587. package/dist/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/make_warning.cjs +0 -26
  588. package/dist/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/make_warning.cjs.map +0 -1
  589. package/dist/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/make_warning.js +0 -26
  590. package/dist/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/make_warning.js.map +0 -1
  591. package/dist/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/normalize.cjs +0 -58
  592. package/dist/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/normalize.cjs.map +0 -1
  593. package/dist/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/normalize.js +0 -59
  594. package/dist/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/normalize.js.map +0 -1
  595. package/dist/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/typos.json.cjs +0 -41
  596. package/dist/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/typos.json.cjs.map +0 -1
  597. package/dist/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/typos.json.js +0 -41
  598. package/dist/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/typos.json.js.map +0 -1
  599. package/dist/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/warning_messages.json.cjs +0 -90
  600. package/dist/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/warning_messages.json.cjs.map +0 -1
  601. package/dist/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/warning_messages.json.js +0 -90
  602. package/dist/_node_modules/read-pkg/_node_modules/normalize-package-data/lib/warning_messages.json.js.map +0 -1
  603. package/dist/_node_modules/read-pkg/index.cjs +0 -20
  604. package/dist/_node_modules/read-pkg/index.cjs.map +0 -1
  605. package/dist/_node_modules/read-pkg/index.js +0 -20
  606. package/dist/_node_modules/read-pkg/index.js.map +0 -1
  607. package/dist/_node_modules/read-pkg-up/_node_modules/find-up/index.cjs +0 -48
  608. package/dist/_node_modules/read-pkg-up/_node_modules/find-up/index.cjs.map +0 -1
  609. package/dist/_node_modules/read-pkg-up/_node_modules/find-up/index.js +0 -48
  610. package/dist/_node_modules/read-pkg-up/_node_modules/find-up/index.js.map +0 -1
  611. package/dist/_node_modules/read-pkg-up/_node_modules/locate-path/index.cjs +0 -43
  612. package/dist/_node_modules/read-pkg-up/_node_modules/locate-path/index.cjs.map +0 -1
  613. package/dist/_node_modules/read-pkg-up/_node_modules/locate-path/index.js +0 -43
  614. package/dist/_node_modules/read-pkg-up/_node_modules/locate-path/index.js.map +0 -1
  615. package/dist/_node_modules/read-pkg-up/index.cjs +0 -17
  616. package/dist/_node_modules/read-pkg-up/index.cjs.map +0 -1
  617. package/dist/_node_modules/read-pkg-up/index.js +0 -17
  618. package/dist/_node_modules/read-pkg-up/index.js.map +0 -1
  619. package/dist/_node_modules/redent/index.cjs +0 -8
  620. package/dist/_node_modules/redent/index.cjs.map +0 -1
  621. package/dist/_node_modules/redent/index.js +0 -9
  622. package/dist/_node_modules/redent/index.js.map +0 -1
  623. package/dist/_node_modules/semver/classes/semver.cjs +0 -245
  624. package/dist/_node_modules/semver/classes/semver.cjs.map +0 -1
  625. package/dist/_node_modules/semver/classes/semver.js +0 -245
  626. package/dist/_node_modules/semver/classes/semver.js.map +0 -1
  627. package/dist/_node_modules/semver/functions/clean.cjs +0 -11
  628. package/dist/_node_modules/semver/functions/clean.cjs.map +0 -1
  629. package/dist/_node_modules/semver/functions/clean.js +0 -11
  630. package/dist/_node_modules/semver/functions/clean.js.map +0 -1
  631. package/dist/_node_modules/semver/functions/parse.cjs +0 -20
  632. package/dist/_node_modules/semver/functions/parse.cjs.map +0 -1
  633. package/dist/_node_modules/semver/functions/parse.js +0 -20
  634. package/dist/_node_modules/semver/functions/parse.js.map +0 -1
  635. package/dist/_node_modules/semver/functions/valid.cjs +0 -11
  636. package/dist/_node_modules/semver/functions/valid.cjs.map +0 -1
  637. package/dist/_node_modules/semver/functions/valid.js +0 -11
  638. package/dist/_node_modules/semver/functions/valid.js.map +0 -1
  639. package/dist/_node_modules/semver/internal/constants.cjs +0 -29
  640. package/dist/_node_modules/semver/internal/constants.cjs.map +0 -1
  641. package/dist/_node_modules/semver/internal/constants.js +0 -29
  642. package/dist/_node_modules/semver/internal/constants.js.map +0 -1
  643. package/dist/_node_modules/semver/internal/debug.cjs +0 -7
  644. package/dist/_node_modules/semver/internal/debug.cjs.map +0 -1
  645. package/dist/_node_modules/semver/internal/debug.js +0 -7
  646. package/dist/_node_modules/semver/internal/debug.js.map +0 -1
  647. package/dist/_node_modules/semver/internal/identifiers.cjs +0 -19
  648. package/dist/_node_modules/semver/internal/identifiers.cjs.map +0 -1
  649. package/dist/_node_modules/semver/internal/identifiers.js +0 -19
  650. package/dist/_node_modules/semver/internal/identifiers.js.map +0 -1
  651. package/dist/_node_modules/semver/internal/parse-options.cjs +0 -16
  652. package/dist/_node_modules/semver/internal/parse-options.cjs.map +0 -1
  653. package/dist/_node_modules/semver/internal/parse-options.js +0 -16
  654. package/dist/_node_modules/semver/internal/parse-options.js.map +0 -1
  655. package/dist/_node_modules/semver/internal/re.cjs +0 -82
  656. package/dist/_node_modules/semver/internal/re.cjs.map +0 -1
  657. package/dist/_node_modules/semver/internal/re.js +0 -82
  658. package/dist/_node_modules/semver/internal/re.js.map +0 -1
  659. package/dist/_node_modules/spdx-correct/index.cjs +0 -334
  660. package/dist/_node_modules/spdx-correct/index.cjs.map +0 -1
  661. package/dist/_node_modules/spdx-correct/index.js +0 -334
  662. package/dist/_node_modules/spdx-correct/index.js.map +0 -1
  663. package/dist/_node_modules/spdx-exceptions/index.json.cjs +0 -43
  664. package/dist/_node_modules/spdx-exceptions/index.json.cjs.map +0 -1
  665. package/dist/_node_modules/spdx-exceptions/index.json.js +0 -44
  666. package/dist/_node_modules/spdx-exceptions/index.json.js.map +0 -1
  667. package/dist/_node_modules/spdx-expression-parse/index.cjs +0 -11
  668. package/dist/_node_modules/spdx-expression-parse/index.cjs.map +0 -1
  669. package/dist/_node_modules/spdx-expression-parse/index.js +0 -11
  670. package/dist/_node_modules/spdx-expression-parse/index.js.map +0 -1
  671. package/dist/_node_modules/spdx-expression-parse/parse.cjs +0 -111
  672. package/dist/_node_modules/spdx-expression-parse/parse.cjs.map +0 -1
  673. package/dist/_node_modules/spdx-expression-parse/parse.js +0 -111
  674. package/dist/_node_modules/spdx-expression-parse/parse.js.map +0 -1
  675. package/dist/_node_modules/spdx-expression-parse/scan.cjs +0 -104
  676. package/dist/_node_modules/spdx-expression-parse/scan.cjs.map +0 -1
  677. package/dist/_node_modules/spdx-expression-parse/scan.js +0 -104
  678. package/dist/_node_modules/spdx-expression-parse/scan.js.map +0 -1
  679. package/dist/_node_modules/spdx-license-ids/deprecated.json.cjs +0 -30
  680. package/dist/_node_modules/spdx-license-ids/deprecated.json.cjs.map +0 -1
  681. package/dist/_node_modules/spdx-license-ids/deprecated.json.js +0 -31
  682. package/dist/_node_modules/spdx-license-ids/deprecated.json.js.map +0 -1
  683. package/dist/_node_modules/spdx-license-ids/index.json.cjs +0 -510
  684. package/dist/_node_modules/spdx-license-ids/index.json.cjs.map +0 -1
  685. package/dist/_node_modules/spdx-license-ids/index.json.js +0 -511
  686. package/dist/_node_modules/spdx-license-ids/index.json.js.map +0 -1
  687. package/dist/_node_modules/strip-indent/index.cjs +0 -12
  688. package/dist/_node_modules/strip-indent/index.cjs.map +0 -1
  689. package/dist/_node_modules/strip-indent/index.js +0 -13
  690. package/dist/_node_modules/strip-indent/index.js.map +0 -1
  691. package/dist/_node_modules/trim-newlines/index.cjs +0 -15
  692. package/dist/_node_modules/trim-newlines/index.cjs.map +0 -1
  693. package/dist/_node_modules/trim-newlines/index.js +0 -15
  694. package/dist/_node_modules/trim-newlines/index.js.map +0 -1
  695. package/dist/_node_modules/validate-npm-package-license/index.cjs +0 -71
  696. package/dist/_node_modules/validate-npm-package-license/index.cjs.map +0 -1
  697. package/dist/_node_modules/validate-npm-package-license/index.js +0 -71
  698. package/dist/_node_modules/validate-npm-package-license/index.js.map +0 -1
  699. package/dist/_node_modules/web-streams-polyfill/dist/ponyfill.es2018.cjs +0 -3822
  700. package/dist/_node_modules/web-streams-polyfill/dist/ponyfill.es2018.cjs.map +0 -1
  701. package/dist/_node_modules/web-streams-polyfill/dist/ponyfill.es2018.js +0 -3822
  702. package/dist/_node_modules/web-streams-polyfill/dist/ponyfill.es2018.js.map +0 -1
  703. package/dist/_node_modules/yallist/iterator.cjs +0 -19
  704. package/dist/_node_modules/yallist/iterator.cjs.map +0 -1
  705. package/dist/_node_modules/yallist/iterator.js +0 -19
  706. package/dist/_node_modules/yallist/iterator.js.map +0 -1
  707. package/dist/_node_modules/yallist/yallist.cjs +0 -367
  708. package/dist/_node_modules/yallist/yallist.cjs.map +0 -1
  709. package/dist/_node_modules/yallist/yallist.js +0 -367
  710. package/dist/_node_modules/yallist/yallist.js.map +0 -1
  711. package/dist/_node_modules/yargs-parser/build/lib/index.cjs +0 -56
  712. package/dist/_node_modules/yargs-parser/build/lib/index.cjs.map +0 -1
  713. package/dist/_node_modules/yargs-parser/build/lib/index.js +0 -57
  714. package/dist/_node_modules/yargs-parser/build/lib/index.js.map +0 -1
  715. package/dist/_node_modules/yargs-parser/build/lib/string-utils.cjs +0 -63
  716. package/dist/_node_modules/yargs-parser/build/lib/string-utils.cjs.map +0 -1
  717. package/dist/_node_modules/yargs-parser/build/lib/string-utils.js +0 -63
  718. package/dist/_node_modules/yargs-parser/build/lib/string-utils.js.map +0 -1
  719. package/dist/_node_modules/yargs-parser/build/lib/tokenize-arg-string.cjs +0 -39
  720. package/dist/_node_modules/yargs-parser/build/lib/tokenize-arg-string.cjs.map +0 -1
  721. package/dist/_node_modules/yargs-parser/build/lib/tokenize-arg-string.js +0 -39
  722. package/dist/_node_modules/yargs-parser/build/lib/tokenize-arg-string.js.map +0 -1
  723. package/dist/_node_modules/yargs-parser/build/lib/yargs-parser-types.cjs +0 -15
  724. package/dist/_node_modules/yargs-parser/build/lib/yargs-parser-types.cjs.map +0 -1
  725. package/dist/_node_modules/yargs-parser/build/lib/yargs-parser-types.js +0 -16
  726. package/dist/_node_modules/yargs-parser/build/lib/yargs-parser-types.js.map +0 -1
  727. package/dist/_node_modules/yargs-parser/build/lib/yargs-parser.cjs +0 -847
  728. package/dist/_node_modules/yargs-parser/build/lib/yargs-parser.cjs.map +0 -1
  729. package/dist/_node_modules/yargs-parser/build/lib/yargs-parser.js +0 -847
  730. package/dist/_node_modules/yargs-parser/build/lib/yargs-parser.js.map +0 -1
  731. package/dist/_virtual/_commonjsHelpers.cjs +0 -9
  732. package/dist/_virtual/_commonjsHelpers.cjs.map +0 -1
  733. package/dist/_virtual/_commonjsHelpers.js +0 -9
  734. package/dist/_virtual/_commonjsHelpers.js.map +0 -1
  735. package/dist/_virtual/identifier.cjs +0 -5
  736. package/dist/_virtual/identifier.cjs.map +0 -1
  737. package/dist/_virtual/identifier.js +0 -5
  738. package/dist/_virtual/identifier.js.map +0 -1
  739. package/dist/_virtual/index.cjs +0 -5
  740. package/dist/_virtual/index.cjs.map +0 -1
  741. package/dist/_virtual/index.js +0 -5
  742. package/dist/_virtual/index.js.map +0 -1
  743. package/dist/_virtual/index2.cjs +0 -5
  744. package/dist/_virtual/index2.cjs.map +0 -1
  745. package/dist/_virtual/index2.js +0 -5
  746. package/dist/_virtual/index2.js.map +0 -1
  747. package/dist/_virtual/index3.cjs +0 -5
  748. package/dist/_virtual/index3.cjs.map +0 -1
  749. package/dist/_virtual/index3.js +0 -5
  750. package/dist/_virtual/index3.js.map +0 -1
  751. package/dist/_virtual/index4.cjs +0 -5
  752. package/dist/_virtual/index4.cjs.map +0 -1
  753. package/dist/_virtual/index4.js +0 -5
  754. package/dist/_virtual/index4.js.map +0 -1
  755. package/dist/_virtual/index5.cjs +0 -5
  756. package/dist/_virtual/index5.cjs.map +0 -1
  757. package/dist/_virtual/index5.js +0 -5
  758. package/dist/_virtual/index5.js.map +0 -1
  759. package/dist/_virtual/index6.cjs +0 -5
  760. package/dist/_virtual/index6.cjs.map +0 -1
  761. package/dist/_virtual/index6.js +0 -5
  762. package/dist/_virtual/index6.js.map +0 -1
  763. package/dist/_virtual/index7.cjs +0 -5
  764. package/dist/_virtual/index7.cjs.map +0 -1
  765. package/dist/_virtual/index7.js +0 -5
  766. package/dist/_virtual/index7.js.map +0 -1
  767. package/dist/_virtual/index8.cjs +0 -5
  768. package/dist/_virtual/index8.cjs.map +0 -1
  769. package/dist/_virtual/index8.js +0 -5
  770. package/dist/_virtual/index8.js.map +0 -1
  771. package/dist/_virtual/keyword.cjs +0 -5
  772. package/dist/_virtual/keyword.cjs.map +0 -1
  773. package/dist/_virtual/keyword.js +0 -5
  774. package/dist/_virtual/keyword.js.map +0 -1
  775. package/dist/_virtual/picocolors.browser.cjs +0 -5
  776. package/dist/_virtual/picocolors.browser.cjs.map +0 -1
  777. package/dist/_virtual/picocolors.browser.js +0 -5
  778. package/dist/_virtual/picocolors.browser.js.map +0 -1
  779. package/dist/_virtual/ponyfill.es2018.cjs +0 -5
  780. package/dist/_virtual/ponyfill.es2018.cjs.map +0 -1
  781. package/dist/_virtual/ponyfill.es2018.js +0 -5
  782. package/dist/_virtual/ponyfill.es2018.js.map +0 -1
  783. package/dist/_virtual/re.cjs +0 -5
  784. package/dist/_virtual/re.cjs.map +0 -1
  785. package/dist/_virtual/re.js +0 -5
  786. package/dist/_virtual/re.js.map +0 -1
  787. package/dist/cli/index.d.ts +0 -1
  788. package/dist/cli/loadConfig.d.ts +0 -6
  789. package/dist/cli/loadLocaleIDs.d.ts +0 -10
  790. package/dist/cli/loadModels.d.ts +0 -15
  791. package/dist/cli/types.d.ts +0 -175
  792. package/dist/constants.d.ts +0 -26
  793. package/dist/index.cjs.map +0 -1
  794. package/dist/index.js.map +0 -1
  795. package/dist/lib/addBlankLine.d.ts +0 -5
  796. package/dist/lib/addLine.d.ts +0 -1
  797. package/dist/lib/addSection.d.ts +0 -1
  798. package/dist/lib/addTrailingNewLine.d.ts +0 -5
  799. package/dist/lib/buildCustomTypeDataType.d.ts +0 -14
  800. package/dist/lib/buildCustomTypeType.d.ts +0 -17
  801. package/dist/lib/buildFieldDocs.d.ts +0 -10
  802. package/dist/lib/buildFieldProperties.d.ts +0 -15
  803. package/dist/lib/buildSharedSliceType.d.ts +0 -17
  804. package/dist/lib/buildTypeName.d.ts +0 -1
  805. package/dist/lib/buildUnion.d.ts +0 -1
  806. package/dist/lib/checkHasUIDFIeld.d.ts +0 -2
  807. package/dist/lib/getAPIIDPath.d.ts +0 -6
  808. package/dist/lib/getCacheKey.d.ts +0 -9
  809. package/dist/lib/getHumanReadableModelName.d.ts +0 -7
  810. package/dist/lib/getHumanReadablePath.d.ts +0 -6
  811. package/src/cli/types.ts +0 -192
@@ -1,245 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const debug$1 = require("../internal/debug.cjs");
4
- const constants = require("../internal/constants.cjs");
5
- const re$1 = require("../internal/re.cjs");
6
- const parseOptions$1 = require("../internal/parse-options.cjs");
7
- const identifiers = require("../internal/identifiers.cjs");
8
- const debug = debug$1.debug_1;
9
- const { MAX_LENGTH, MAX_SAFE_INTEGER } = constants.constants;
10
- const { safeRe: re, t } = re$1.reExports;
11
- const parseOptions = parseOptions$1.parseOptions_1;
12
- const { compareIdentifiers } = identifiers.identifiers;
13
- class SemVer {
14
- constructor(version, options) {
15
- options = parseOptions(options);
16
- if (version instanceof SemVer) {
17
- if (version.loose === !!options.loose && version.includePrerelease === !!options.includePrerelease) {
18
- return version;
19
- } else {
20
- version = version.version;
21
- }
22
- } else if (typeof version !== "string") {
23
- throw new TypeError(`Invalid version. Must be a string. Got type "${typeof version}".`);
24
- }
25
- if (version.length > MAX_LENGTH) {
26
- throw new TypeError(
27
- `version is longer than ${MAX_LENGTH} characters`
28
- );
29
- }
30
- debug("SemVer", version, options);
31
- this.options = options;
32
- this.loose = !!options.loose;
33
- this.includePrerelease = !!options.includePrerelease;
34
- const m = version.trim().match(options.loose ? re[t.LOOSE] : re[t.FULL]);
35
- if (!m) {
36
- throw new TypeError(`Invalid Version: ${version}`);
37
- }
38
- this.raw = version;
39
- this.major = +m[1];
40
- this.minor = +m[2];
41
- this.patch = +m[3];
42
- if (this.major > MAX_SAFE_INTEGER || this.major < 0) {
43
- throw new TypeError("Invalid major version");
44
- }
45
- if (this.minor > MAX_SAFE_INTEGER || this.minor < 0) {
46
- throw new TypeError("Invalid minor version");
47
- }
48
- if (this.patch > MAX_SAFE_INTEGER || this.patch < 0) {
49
- throw new TypeError("Invalid patch version");
50
- }
51
- if (!m[4]) {
52
- this.prerelease = [];
53
- } else {
54
- this.prerelease = m[4].split(".").map((id) => {
55
- if (/^[0-9]+$/.test(id)) {
56
- const num = +id;
57
- if (num >= 0 && num < MAX_SAFE_INTEGER) {
58
- return num;
59
- }
60
- }
61
- return id;
62
- });
63
- }
64
- this.build = m[5] ? m[5].split(".") : [];
65
- this.format();
66
- }
67
- format() {
68
- this.version = `${this.major}.${this.minor}.${this.patch}`;
69
- if (this.prerelease.length) {
70
- this.version += `-${this.prerelease.join(".")}`;
71
- }
72
- return this.version;
73
- }
74
- toString() {
75
- return this.version;
76
- }
77
- compare(other) {
78
- debug("SemVer.compare", this.version, this.options, other);
79
- if (!(other instanceof SemVer)) {
80
- if (typeof other === "string" && other === this.version) {
81
- return 0;
82
- }
83
- other = new SemVer(other, this.options);
84
- }
85
- if (other.version === this.version) {
86
- return 0;
87
- }
88
- return this.compareMain(other) || this.comparePre(other);
89
- }
90
- compareMain(other) {
91
- if (!(other instanceof SemVer)) {
92
- other = new SemVer(other, this.options);
93
- }
94
- return compareIdentifiers(this.major, other.major) || compareIdentifiers(this.minor, other.minor) || compareIdentifiers(this.patch, other.patch);
95
- }
96
- comparePre(other) {
97
- if (!(other instanceof SemVer)) {
98
- other = new SemVer(other, this.options);
99
- }
100
- if (this.prerelease.length && !other.prerelease.length) {
101
- return -1;
102
- } else if (!this.prerelease.length && other.prerelease.length) {
103
- return 1;
104
- } else if (!this.prerelease.length && !other.prerelease.length) {
105
- return 0;
106
- }
107
- let i = 0;
108
- do {
109
- const a = this.prerelease[i];
110
- const b = other.prerelease[i];
111
- debug("prerelease compare", i, a, b);
112
- if (a === void 0 && b === void 0) {
113
- return 0;
114
- } else if (b === void 0) {
115
- return 1;
116
- } else if (a === void 0) {
117
- return -1;
118
- } else if (a === b) {
119
- continue;
120
- } else {
121
- return compareIdentifiers(a, b);
122
- }
123
- } while (++i);
124
- }
125
- compareBuild(other) {
126
- if (!(other instanceof SemVer)) {
127
- other = new SemVer(other, this.options);
128
- }
129
- let i = 0;
130
- do {
131
- const a = this.build[i];
132
- const b = other.build[i];
133
- debug("prerelease compare", i, a, b);
134
- if (a === void 0 && b === void 0) {
135
- return 0;
136
- } else if (b === void 0) {
137
- return 1;
138
- } else if (a === void 0) {
139
- return -1;
140
- } else if (a === b) {
141
- continue;
142
- } else {
143
- return compareIdentifiers(a, b);
144
- }
145
- } while (++i);
146
- }
147
- // preminor will bump the version up to the next minor release, and immediately
148
- // down to pre-release. premajor and prepatch work the same way.
149
- inc(release, identifier, identifierBase) {
150
- switch (release) {
151
- case "premajor":
152
- this.prerelease.length = 0;
153
- this.patch = 0;
154
- this.minor = 0;
155
- this.major++;
156
- this.inc("pre", identifier, identifierBase);
157
- break;
158
- case "preminor":
159
- this.prerelease.length = 0;
160
- this.patch = 0;
161
- this.minor++;
162
- this.inc("pre", identifier, identifierBase);
163
- break;
164
- case "prepatch":
165
- this.prerelease.length = 0;
166
- this.inc("patch", identifier, identifierBase);
167
- this.inc("pre", identifier, identifierBase);
168
- break;
169
- case "prerelease":
170
- if (this.prerelease.length === 0) {
171
- this.inc("patch", identifier, identifierBase);
172
- }
173
- this.inc("pre", identifier, identifierBase);
174
- break;
175
- case "major":
176
- if (this.minor !== 0 || this.patch !== 0 || this.prerelease.length === 0) {
177
- this.major++;
178
- }
179
- this.minor = 0;
180
- this.patch = 0;
181
- this.prerelease = [];
182
- break;
183
- case "minor":
184
- if (this.patch !== 0 || this.prerelease.length === 0) {
185
- this.minor++;
186
- }
187
- this.patch = 0;
188
- this.prerelease = [];
189
- break;
190
- case "patch":
191
- if (this.prerelease.length === 0) {
192
- this.patch++;
193
- }
194
- this.prerelease = [];
195
- break;
196
- case "pre": {
197
- const base = Number(identifierBase) ? 1 : 0;
198
- if (!identifier && identifierBase === false) {
199
- throw new Error("invalid increment argument: identifier is empty");
200
- }
201
- if (this.prerelease.length === 0) {
202
- this.prerelease = [base];
203
- } else {
204
- let i = this.prerelease.length;
205
- while (--i >= 0) {
206
- if (typeof this.prerelease[i] === "number") {
207
- this.prerelease[i]++;
208
- i = -2;
209
- }
210
- }
211
- if (i === -1) {
212
- if (identifier === this.prerelease.join(".") && identifierBase === false) {
213
- throw new Error("invalid increment argument: identifier already exists");
214
- }
215
- this.prerelease.push(base);
216
- }
217
- }
218
- if (identifier) {
219
- let prerelease = [identifier, base];
220
- if (identifierBase === false) {
221
- prerelease = [identifier];
222
- }
223
- if (compareIdentifiers(this.prerelease[0], identifier) === 0) {
224
- if (isNaN(this.prerelease[1])) {
225
- this.prerelease = prerelease;
226
- }
227
- } else {
228
- this.prerelease = prerelease;
229
- }
230
- }
231
- break;
232
- }
233
- default:
234
- throw new Error(`invalid increment argument: ${release}`);
235
- }
236
- this.raw = this.format();
237
- if (this.build.length) {
238
- this.raw += `+${this.build.join(".")}`;
239
- }
240
- return this;
241
- }
242
- }
243
- var semver = SemVer;
244
- exports.semver = semver;
245
- //# sourceMappingURL=semver.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"semver.cjs","sources":["../../../../node_modules/semver/classes/semver.js"],"sourcesContent":["const debug = require('../internal/debug')\nconst { MAX_LENGTH, MAX_SAFE_INTEGER } = require('../internal/constants')\nconst { safeRe: re, t } = require('../internal/re')\n\nconst parseOptions = require('../internal/parse-options')\nconst { compareIdentifiers } = require('../internal/identifiers')\nclass SemVer {\n constructor (version, options) {\n options = parseOptions(options)\n\n if (version instanceof SemVer) {\n if (version.loose === !!options.loose &&\n version.includePrerelease === !!options.includePrerelease) {\n return version\n } else {\n version = version.version\n }\n } else if (typeof version !== 'string') {\n throw new TypeError(`Invalid version. Must be a string. Got type \"${typeof version}\".`)\n }\n\n if (version.length > MAX_LENGTH) {\n throw new TypeError(\n `version is longer than ${MAX_LENGTH} characters`\n )\n }\n\n debug('SemVer', version, options)\n this.options = options\n this.loose = !!options.loose\n // this isn't actually relevant for versions, but keep it so that we\n // don't run into trouble passing this.options around.\n this.includePrerelease = !!options.includePrerelease\n\n const m = version.trim().match(options.loose ? re[t.LOOSE] : re[t.FULL])\n\n if (!m) {\n throw new TypeError(`Invalid Version: ${version}`)\n }\n\n this.raw = version\n\n // these are actually numbers\n this.major = +m[1]\n this.minor = +m[2]\n this.patch = +m[3]\n\n if (this.major > MAX_SAFE_INTEGER || this.major < 0) {\n throw new TypeError('Invalid major version')\n }\n\n if (this.minor > MAX_SAFE_INTEGER || this.minor < 0) {\n throw new TypeError('Invalid minor version')\n }\n\n if (this.patch > MAX_SAFE_INTEGER || this.patch < 0) {\n throw new TypeError('Invalid patch version')\n }\n\n // numberify any prerelease numeric ids\n if (!m[4]) {\n this.prerelease = []\n } else {\n this.prerelease = m[4].split('.').map((id) => {\n if (/^[0-9]+$/.test(id)) {\n const num = +id\n if (num >= 0 && num < MAX_SAFE_INTEGER) {\n return num\n }\n }\n return id\n })\n }\n\n this.build = m[5] ? m[5].split('.') : []\n this.format()\n }\n\n format () {\n this.version = `${this.major}.${this.minor}.${this.patch}`\n if (this.prerelease.length) {\n this.version += `-${this.prerelease.join('.')}`\n }\n return this.version\n }\n\n toString () {\n return this.version\n }\n\n compare (other) {\n debug('SemVer.compare', this.version, this.options, other)\n if (!(other instanceof SemVer)) {\n if (typeof other === 'string' && other === this.version) {\n return 0\n }\n other = new SemVer(other, this.options)\n }\n\n if (other.version === this.version) {\n return 0\n }\n\n return this.compareMain(other) || this.comparePre(other)\n }\n\n compareMain (other) {\n if (!(other instanceof SemVer)) {\n other = new SemVer(other, this.options)\n }\n\n return (\n compareIdentifiers(this.major, other.major) ||\n compareIdentifiers(this.minor, other.minor) ||\n compareIdentifiers(this.patch, other.patch)\n )\n }\n\n comparePre (other) {\n if (!(other instanceof SemVer)) {\n other = new SemVer(other, this.options)\n }\n\n // NOT having a prerelease is > having one\n if (this.prerelease.length && !other.prerelease.length) {\n return -1\n } else if (!this.prerelease.length && other.prerelease.length) {\n return 1\n } else if (!this.prerelease.length && !other.prerelease.length) {\n return 0\n }\n\n let i = 0\n do {\n const a = this.prerelease[i]\n const b = other.prerelease[i]\n debug('prerelease compare', i, a, b)\n if (a === undefined && b === undefined) {\n return 0\n } else if (b === undefined) {\n return 1\n } else if (a === undefined) {\n return -1\n } else if (a === b) {\n continue\n } else {\n return compareIdentifiers(a, b)\n }\n } while (++i)\n }\n\n compareBuild (other) {\n if (!(other instanceof SemVer)) {\n other = new SemVer(other, this.options)\n }\n\n let i = 0\n do {\n const a = this.build[i]\n const b = other.build[i]\n debug('prerelease compare', i, a, b)\n if (a === undefined && b === undefined) {\n return 0\n } else if (b === undefined) {\n return 1\n } else if (a === undefined) {\n return -1\n } else if (a === b) {\n continue\n } else {\n return compareIdentifiers(a, b)\n }\n } while (++i)\n }\n\n // preminor will bump the version up to the next minor release, and immediately\n // down to pre-release. premajor and prepatch work the same way.\n inc (release, identifier, identifierBase) {\n switch (release) {\n case 'premajor':\n this.prerelease.length = 0\n this.patch = 0\n this.minor = 0\n this.major++\n this.inc('pre', identifier, identifierBase)\n break\n case 'preminor':\n this.prerelease.length = 0\n this.patch = 0\n this.minor++\n this.inc('pre', identifier, identifierBase)\n break\n case 'prepatch':\n // If this is already a prerelease, it will bump to the next version\n // drop any prereleases that might already exist, since they are not\n // relevant at this point.\n this.prerelease.length = 0\n this.inc('patch', identifier, identifierBase)\n this.inc('pre', identifier, identifierBase)\n break\n // If the input is a non-prerelease version, this acts the same as\n // prepatch.\n case 'prerelease':\n if (this.prerelease.length === 0) {\n this.inc('patch', identifier, identifierBase)\n }\n this.inc('pre', identifier, identifierBase)\n break\n\n case 'major':\n // If this is a pre-major version, bump up to the same major version.\n // Otherwise increment major.\n // 1.0.0-5 bumps to 1.0.0\n // 1.1.0 bumps to 2.0.0\n if (\n this.minor !== 0 ||\n this.patch !== 0 ||\n this.prerelease.length === 0\n ) {\n this.major++\n }\n this.minor = 0\n this.patch = 0\n this.prerelease = []\n break\n case 'minor':\n // If this is a pre-minor version, bump up to the same minor version.\n // Otherwise increment minor.\n // 1.2.0-5 bumps to 1.2.0\n // 1.2.1 bumps to 1.3.0\n if (this.patch !== 0 || this.prerelease.length === 0) {\n this.minor++\n }\n this.patch = 0\n this.prerelease = []\n break\n case 'patch':\n // If this is not a pre-release version, it will increment the patch.\n // If it is a pre-release it will bump up to the same patch version.\n // 1.2.0-5 patches to 1.2.0\n // 1.2.0 patches to 1.2.1\n if (this.prerelease.length === 0) {\n this.patch++\n }\n this.prerelease = []\n break\n // This probably shouldn't be used publicly.\n // 1.0.0 'pre' would become 1.0.0-0 which is the wrong direction.\n case 'pre': {\n const base = Number(identifierBase) ? 1 : 0\n\n if (!identifier && identifierBase === false) {\n throw new Error('invalid increment argument: identifier is empty')\n }\n\n if (this.prerelease.length === 0) {\n this.prerelease = [base]\n } else {\n let i = this.prerelease.length\n while (--i >= 0) {\n if (typeof this.prerelease[i] === 'number') {\n this.prerelease[i]++\n i = -2\n }\n }\n if (i === -1) {\n // didn't increment anything\n if (identifier === this.prerelease.join('.') && identifierBase === false) {\n throw new Error('invalid increment argument: identifier already exists')\n }\n this.prerelease.push(base)\n }\n }\n if (identifier) {\n // 1.2.0-beta.1 bumps to 1.2.0-beta.2,\n // 1.2.0-beta.fooblz or 1.2.0-beta bumps to 1.2.0-beta.0\n let prerelease = [identifier, base]\n if (identifierBase === false) {\n prerelease = [identifier]\n }\n if (compareIdentifiers(this.prerelease[0], identifier) === 0) {\n if (isNaN(this.prerelease[1])) {\n this.prerelease = prerelease\n }\n } else {\n this.prerelease = prerelease\n }\n }\n break\n }\n default:\n throw new Error(`invalid increment argument: ${release}`)\n }\n this.raw = this.format()\n if (this.build.length) {\n this.raw += `+${this.build.join('.')}`\n }\n return this\n }\n}\n\nmodule.exports = SemVer\n"],"names":["require$$0","require$$1","require$$2","require$$3","require$$4"],"mappings":";;;;;;;AAAA,MAAM,QAAQA,QAA4B;AAC1C,MAAM,EAAE,YAAY,iBAAgB,IAAKC,UAAgC;AACzE,MAAM,EAAE,QAAQ,IAAI,EAAC,IAAKC,KAAyB;AAEnD,MAAM,eAAeC,eAAoC;AACzD,MAAM,EAAE,mBAAoB,IAAGC,YAAkC;AACjE,MAAM,OAAO;AAAA,EACX,YAAa,SAAS,SAAS;AAC7B,cAAU,aAAa,OAAO;AAE9B,QAAI,mBAAmB,QAAQ;AAC7B,UAAI,QAAQ,UAAU,CAAC,CAAC,QAAQ,SAC5B,QAAQ,sBAAsB,CAAC,CAAC,QAAQ,mBAAmB;AAC7D,eAAO;AAAA,MACf,OAAa;AACL,kBAAU,QAAQ;AAAA,MACnB;AAAA,IACP,WAAe,OAAO,YAAY,UAAU;AACtC,YAAM,IAAI,UAAU,gDAAgD,OAAO,OAAO,IAAI;AAAA,IACvF;AAED,QAAI,QAAQ,SAAS,YAAY;AAC/B,YAAM,IAAI;AAAA,QACR,0BAA0B,UAAU;AAAA,MACrC;AAAA,IACF;AAED,UAAM,UAAU,SAAS,OAAO;AAChC,SAAK,UAAU;AACf,SAAK,QAAQ,CAAC,CAAC,QAAQ;AAGvB,SAAK,oBAAoB,CAAC,CAAC,QAAQ;AAEnC,UAAM,IAAI,QAAQ,KAAI,EAAG,MAAM,QAAQ,QAAQ,GAAG,EAAE,KAAK,IAAI,GAAG,EAAE,IAAI,CAAC;AAEvE,QAAI,CAAC,GAAG;AACN,YAAM,IAAI,UAAU,oBAAoB,O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D;AAAA,MACD;AACE,cAAM,IAAI,MAAM,+BAA+B,OAAO,EAAE;AAAA,IAC3D;AACD,SAAK,MAAM,KAAK,OAAQ;AACxB,QAAI,KAAK,MAAM,QAAQ;AACrB,WAAK,OAAO,IAAI,KAAK,MAAM,KAAK,GAAG,CAAC;AAAA,IACrC;AACD,WAAO;AAAA,EACR;AACH;AAEA,IAAA,SAAiB;;","x_google_ignoreList":[0]}
@@ -1,245 +0,0 @@
1
- import { d as debug_1 } from "../internal/debug.js";
2
- import { c as constants } from "../internal/constants.js";
3
- import { r as reExports } from "../internal/re.js";
4
- import { p as parseOptions_1 } from "../internal/parse-options.js";
5
- import { i as identifiers } from "../internal/identifiers.js";
6
- const debug = debug_1;
7
- const { MAX_LENGTH, MAX_SAFE_INTEGER } = constants;
8
- const { safeRe: re, t } = reExports;
9
- const parseOptions = parseOptions_1;
10
- const { compareIdentifiers } = identifiers;
11
- class SemVer {
12
- constructor(version, options) {
13
- options = parseOptions(options);
14
- if (version instanceof SemVer) {
15
- if (version.loose === !!options.loose && version.includePrerelease === !!options.includePrerelease) {
16
- return version;
17
- } else {
18
- version = version.version;
19
- }
20
- } else if (typeof version !== "string") {
21
- throw new TypeError(`Invalid version. Must be a string. Got type "${typeof version}".`);
22
- }
23
- if (version.length > MAX_LENGTH) {
24
- throw new TypeError(
25
- `version is longer than ${MAX_LENGTH} characters`
26
- );
27
- }
28
- debug("SemVer", version, options);
29
- this.options = options;
30
- this.loose = !!options.loose;
31
- this.includePrerelease = !!options.includePrerelease;
32
- const m = version.trim().match(options.loose ? re[t.LOOSE] : re[t.FULL]);
33
- if (!m) {
34
- throw new TypeError(`Invalid Version: ${version}`);
35
- }
36
- this.raw = version;
37
- this.major = +m[1];
38
- this.minor = +m[2];
39
- this.patch = +m[3];
40
- if (this.major > MAX_SAFE_INTEGER || this.major < 0) {
41
- throw new TypeError("Invalid major version");
42
- }
43
- if (this.minor > MAX_SAFE_INTEGER || this.minor < 0) {
44
- throw new TypeError("Invalid minor version");
45
- }
46
- if (this.patch > MAX_SAFE_INTEGER || this.patch < 0) {
47
- throw new TypeError("Invalid patch version");
48
- }
49
- if (!m[4]) {
50
- this.prerelease = [];
51
- } else {
52
- this.prerelease = m[4].split(".").map((id) => {
53
- if (/^[0-9]+$/.test(id)) {
54
- const num = +id;
55
- if (num >= 0 && num < MAX_SAFE_INTEGER) {
56
- return num;
57
- }
58
- }
59
- return id;
60
- });
61
- }
62
- this.build = m[5] ? m[5].split(".") : [];
63
- this.format();
64
- }
65
- format() {
66
- this.version = `${this.major}.${this.minor}.${this.patch}`;
67
- if (this.prerelease.length) {
68
- this.version += `-${this.prerelease.join(".")}`;
69
- }
70
- return this.version;
71
- }
72
- toString() {
73
- return this.version;
74
- }
75
- compare(other) {
76
- debug("SemVer.compare", this.version, this.options, other);
77
- if (!(other instanceof SemVer)) {
78
- if (typeof other === "string" && other === this.version) {
79
- return 0;
80
- }
81
- other = new SemVer(other, this.options);
82
- }
83
- if (other.version === this.version) {
84
- return 0;
85
- }
86
- return this.compareMain(other) || this.comparePre(other);
87
- }
88
- compareMain(other) {
89
- if (!(other instanceof SemVer)) {
90
- other = new SemVer(other, this.options);
91
- }
92
- return compareIdentifiers(this.major, other.major) || compareIdentifiers(this.minor, other.minor) || compareIdentifiers(this.patch, other.patch);
93
- }
94
- comparePre(other) {
95
- if (!(other instanceof SemVer)) {
96
- other = new SemVer(other, this.options);
97
- }
98
- if (this.prerelease.length && !other.prerelease.length) {
99
- return -1;
100
- } else if (!this.prerelease.length && other.prerelease.length) {
101
- return 1;
102
- } else if (!this.prerelease.length && !other.prerelease.length) {
103
- return 0;
104
- }
105
- let i = 0;
106
- do {
107
- const a = this.prerelease[i];
108
- const b = other.prerelease[i];
109
- debug("prerelease compare", i, a, b);
110
- if (a === void 0 && b === void 0) {
111
- return 0;
112
- } else if (b === void 0) {
113
- return 1;
114
- } else if (a === void 0) {
115
- return -1;
116
- } else if (a === b) {
117
- continue;
118
- } else {
119
- return compareIdentifiers(a, b);
120
- }
121
- } while (++i);
122
- }
123
- compareBuild(other) {
124
- if (!(other instanceof SemVer)) {
125
- other = new SemVer(other, this.options);
126
- }
127
- let i = 0;
128
- do {
129
- const a = this.build[i];
130
- const b = other.build[i];
131
- debug("prerelease compare", i, a, b);
132
- if (a === void 0 && b === void 0) {
133
- return 0;
134
- } else if (b === void 0) {
135
- return 1;
136
- } else if (a === void 0) {
137
- return -1;
138
- } else if (a === b) {
139
- continue;
140
- } else {
141
- return compareIdentifiers(a, b);
142
- }
143
- } while (++i);
144
- }
145
- // preminor will bump the version up to the next minor release, and immediately
146
- // down to pre-release. premajor and prepatch work the same way.
147
- inc(release, identifier, identifierBase) {
148
- switch (release) {
149
- case "premajor":
150
- this.prerelease.length = 0;
151
- this.patch = 0;
152
- this.minor = 0;
153
- this.major++;
154
- this.inc("pre", identifier, identifierBase);
155
- break;
156
- case "preminor":
157
- this.prerelease.length = 0;
158
- this.patch = 0;
159
- this.minor++;
160
- this.inc("pre", identifier, identifierBase);
161
- break;
162
- case "prepatch":
163
- this.prerelease.length = 0;
164
- this.inc("patch", identifier, identifierBase);
165
- this.inc("pre", identifier, identifierBase);
166
- break;
167
- case "prerelease":
168
- if (this.prerelease.length === 0) {
169
- this.inc("patch", identifier, identifierBase);
170
- }
171
- this.inc("pre", identifier, identifierBase);
172
- break;
173
- case "major":
174
- if (this.minor !== 0 || this.patch !== 0 || this.prerelease.length === 0) {
175
- this.major++;
176
- }
177
- this.minor = 0;
178
- this.patch = 0;
179
- this.prerelease = [];
180
- break;
181
- case "minor":
182
- if (this.patch !== 0 || this.prerelease.length === 0) {
183
- this.minor++;
184
- }
185
- this.patch = 0;
186
- this.prerelease = [];
187
- break;
188
- case "patch":
189
- if (this.prerelease.length === 0) {
190
- this.patch++;
191
- }
192
- this.prerelease = [];
193
- break;
194
- case "pre": {
195
- const base = Number(identifierBase) ? 1 : 0;
196
- if (!identifier && identifierBase === false) {
197
- throw new Error("invalid increment argument: identifier is empty");
198
- }
199
- if (this.prerelease.length === 0) {
200
- this.prerelease = [base];
201
- } else {
202
- let i = this.prerelease.length;
203
- while (--i >= 0) {
204
- if (typeof this.prerelease[i] === "number") {
205
- this.prerelease[i]++;
206
- i = -2;
207
- }
208
- }
209
- if (i === -1) {
210
- if (identifier === this.prerelease.join(".") && identifierBase === false) {
211
- throw new Error("invalid increment argument: identifier already exists");
212
- }
213
- this.prerelease.push(base);
214
- }
215
- }
216
- if (identifier) {
217
- let prerelease = [identifier, base];
218
- if (identifierBase === false) {
219
- prerelease = [identifier];
220
- }
221
- if (compareIdentifiers(this.prerelease[0], identifier) === 0) {
222
- if (isNaN(this.prerelease[1])) {
223
- this.prerelease = prerelease;
224
- }
225
- } else {
226
- this.prerelease = prerelease;
227
- }
228
- }
229
- break;
230
- }
231
- default:
232
- throw new Error(`invalid increment argument: ${release}`);
233
- }
234
- this.raw = this.format();
235
- if (this.build.length) {
236
- this.raw += `+${this.build.join(".")}`;
237
- }
238
- return this;
239
- }
240
- }
241
- var semver = SemVer;
242
- export {
243
- semver as s
244
- };
245
- //# sourceMappingURL=semver.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"semver.js","sources":["../../../../node_modules/semver/classes/semver.js"],"sourcesContent":["const debug = require('../internal/debug')\nconst { MAX_LENGTH, MAX_SAFE_INTEGER } = require('../internal/constants')\nconst { safeRe: re, t } = require('../internal/re')\n\nconst parseOptions = require('../internal/parse-options')\nconst { compareIdentifiers } = require('../internal/identifiers')\nclass SemVer {\n constructor (version, options) {\n options = parseOptions(options)\n\n if (version instanceof SemVer) {\n if (version.loose === !!options.loose &&\n version.includePrerelease === !!options.includePrerelease) {\n return version\n } else {\n version = version.version\n }\n } else if (typeof version !== 'string') {\n throw new TypeError(`Invalid version. Must be a string. Got type \"${typeof version}\".`)\n }\n\n if (version.length > MAX_LENGTH) {\n throw new TypeError(\n `version is longer than ${MAX_LENGTH} characters`\n )\n }\n\n debug('SemVer', version, options)\n this.options = options\n this.loose = !!options.loose\n // this isn't actually relevant for versions, but keep it so that we\n // don't run into trouble passing this.options around.\n this.includePrerelease = !!options.includePrerelease\n\n const m = version.trim().match(options.loose ? re[t.LOOSE] : re[t.FULL])\n\n if (!m) {\n throw new TypeError(`Invalid Version: ${version}`)\n }\n\n this.raw = version\n\n // these are actually numbers\n this.major = +m[1]\n this.minor = +m[2]\n this.patch = +m[3]\n\n if (this.major > MAX_SAFE_INTEGER || this.major < 0) {\n throw new TypeError('Invalid major version')\n }\n\n if (this.minor > MAX_SAFE_INTEGER || this.minor < 0) {\n throw new TypeError('Invalid minor version')\n }\n\n if (this.patch > MAX_SAFE_INTEGER || this.patch < 0) {\n throw new TypeError('Invalid patch version')\n }\n\n // numberify any prerelease numeric ids\n if (!m[4]) {\n this.prerelease = []\n } else {\n this.prerelease = m[4].split('.').map((id) => {\n if (/^[0-9]+$/.test(id)) {\n const num = +id\n if (num >= 0 && num < MAX_SAFE_INTEGER) {\n return num\n }\n }\n return id\n })\n }\n\n this.build = m[5] ? m[5].split('.') : []\n this.format()\n }\n\n format () {\n this.version = `${this.major}.${this.minor}.${this.patch}`\n if (this.prerelease.length) {\n this.version += `-${this.prerelease.join('.')}`\n }\n return this.version\n }\n\n toString () {\n return this.version\n }\n\n compare (other) {\n debug('SemVer.compare', this.version, this.options, other)\n if (!(other instanceof SemVer)) {\n if (typeof other === 'string' && other === this.version) {\n return 0\n }\n other = new SemVer(other, this.options)\n }\n\n if (other.version === this.version) {\n return 0\n }\n\n return this.compareMain(other) || this.comparePre(other)\n }\n\n compareMain (other) {\n if (!(other instanceof SemVer)) {\n other = new SemVer(other, this.options)\n }\n\n return (\n compareIdentifiers(this.major, other.major) ||\n compareIdentifiers(this.minor, other.minor) ||\n compareIdentifiers(this.patch, other.patch)\n )\n }\n\n comparePre (other) {\n if (!(other instanceof SemVer)) {\n other = new SemVer(other, this.options)\n }\n\n // NOT having a prerelease is > having one\n if (this.prerelease.length && !other.prerelease.length) {\n return -1\n } else if (!this.prerelease.length && other.prerelease.length) {\n return 1\n } else if (!this.prerelease.length && !other.prerelease.length) {\n return 0\n }\n\n let i = 0\n do {\n const a = this.prerelease[i]\n const b = other.prerelease[i]\n debug('prerelease compare', i, a, b)\n if (a === undefined && b === undefined) {\n return 0\n } else if (b === undefined) {\n return 1\n } else if (a === undefined) {\n return -1\n } else if (a === b) {\n continue\n } else {\n return compareIdentifiers(a, b)\n }\n } while (++i)\n }\n\n compareBuild (other) {\n if (!(other instanceof SemVer)) {\n other = new SemVer(other, this.options)\n }\n\n let i = 0\n do {\n const a = this.build[i]\n const b = other.build[i]\n debug('prerelease compare', i, a, b)\n if (a === undefined && b === undefined) {\n return 0\n } else if (b === undefined) {\n return 1\n } else if (a === undefined) {\n return -1\n } else if (a === b) {\n continue\n } else {\n return compareIdentifiers(a, b)\n }\n } while (++i)\n }\n\n // preminor will bump the version up to the next minor release, and immediately\n // down to pre-release. premajor and prepatch work the same way.\n inc (release, identifier, identifierBase) {\n switch (release) {\n case 'premajor':\n this.prerelease.length = 0\n this.patch = 0\n this.minor = 0\n this.major++\n this.inc('pre', identifier, identifierBase)\n break\n case 'preminor':\n this.prerelease.length = 0\n this.patch = 0\n this.minor++\n this.inc('pre', identifier, identifierBase)\n break\n case 'prepatch':\n // If this is already a prerelease, it will bump to the next version\n // drop any prereleases that might already exist, since they are not\n // relevant at this point.\n this.prerelease.length = 0\n this.inc('patch', identifier, identifierBase)\n this.inc('pre', identifier, identifierBase)\n break\n // If the input is a non-prerelease version, this acts the same as\n // prepatch.\n case 'prerelease':\n if (this.prerelease.length === 0) {\n this.inc('patch', identifier, identifierBase)\n }\n this.inc('pre', identifier, identifierBase)\n break\n\n case 'major':\n // If this is a pre-major version, bump up to the same major version.\n // Otherwise increment major.\n // 1.0.0-5 bumps to 1.0.0\n // 1.1.0 bumps to 2.0.0\n if (\n this.minor !== 0 ||\n this.patch !== 0 ||\n this.prerelease.length === 0\n ) {\n this.major++\n }\n this.minor = 0\n this.patch = 0\n this.prerelease = []\n break\n case 'minor':\n // If this is a pre-minor version, bump up to the same minor version.\n // Otherwise increment minor.\n // 1.2.0-5 bumps to 1.2.0\n // 1.2.1 bumps to 1.3.0\n if (this.patch !== 0 || this.prerelease.length === 0) {\n this.minor++\n }\n this.patch = 0\n this.prerelease = []\n break\n case 'patch':\n // If this is not a pre-release version, it will increment the patch.\n // If it is a pre-release it will bump up to the same patch version.\n // 1.2.0-5 patches to 1.2.0\n // 1.2.0 patches to 1.2.1\n if (this.prerelease.length === 0) {\n this.patch++\n }\n this.prerelease = []\n break\n // This probably shouldn't be used publicly.\n // 1.0.0 'pre' would become 1.0.0-0 which is the wrong direction.\n case 'pre': {\n const base = Number(identifierBase) ? 1 : 0\n\n if (!identifier && identifierBase === false) {\n throw new Error('invalid increment argument: identifier is empty')\n }\n\n if (this.prerelease.length === 0) {\n this.prerelease = [base]\n } else {\n let i = this.prerelease.length\n while (--i >= 0) {\n if (typeof this.prerelease[i] === 'number') {\n this.prerelease[i]++\n i = -2\n }\n }\n if (i === -1) {\n // didn't increment anything\n if (identifier === this.prerelease.join('.') && identifierBase === false) {\n throw new Error('invalid increment argument: identifier already exists')\n }\n this.prerelease.push(base)\n }\n }\n if (identifier) {\n // 1.2.0-beta.1 bumps to 1.2.0-beta.2,\n // 1.2.0-beta.fooblz or 1.2.0-beta bumps to 1.2.0-beta.0\n let prerelease = [identifier, base]\n if (identifierBase === false) {\n prerelease = [identifier]\n }\n if (compareIdentifiers(this.prerelease[0], identifier) === 0) {\n if (isNaN(this.prerelease[1])) {\n this.prerelease = prerelease\n }\n } else {\n this.prerelease = prerelease\n }\n }\n break\n }\n default:\n throw new Error(`invalid increment argument: ${release}`)\n }\n this.raw = this.format()\n if (this.build.length) {\n this.raw += `+${this.build.join('.')}`\n }\n return this\n }\n}\n\nmodule.exports = SemVer\n"],"names":["require$$0","require$$1","require$$2","require$$3","require$$4"],"mappings":";;;;;AAAA,MAAM,QAAQA;AACd,MAAM,EAAE,YAAY,iBAAgB,IAAKC;AACzC,MAA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AAmB,OAAO;AAC3C,gBAAM,IAAI,MAAM,iDAAiD;AAAA,QAClE;AAED,YAAI,KAAK,WAAW,WAAW,GAAG;AAChC,eAAK,aAAa,CAAC,IAAI;AAAA,QACjC,OAAe;AACL,cAAI,IAAI,KAAK,WAAW;AACxB,iBAAO,EAAE,KAAK,GAAG;AACf,gBAAI,OAAO,KAAK,WAAW,CAAC,MAAM,UAAU;AAC1C,mBAAK,WAAW,CAAC;AACjB,kBAAI;AAAA,YACL;AAAA,UACF;AACD,cAAI,MAAM,IAAI;AAEZ,gBAAI,eAAe,KAAK,WAAW,KAAK,GAAG,KAAK,mBAAmB,OAAO;AACxE,oBAAM,IAAI,MAAM,uDAAuD;AAAA,YACxE;AACD,iBAAK,WAAW,KAAK,IAAI;AAAA,UAC1B;AAAA,QACF;AACD,YAAI,YAAY;AAGd,cAAI,aAAa,CAAC,YAAY,IAAI;AAClC,cAAI,mBAAmB,OAAO;AAC5B,yBAAa,CAAC,UAAU;AAAA,UACzB;AACD,cAAI,mBAAmB,KAAK,WAAW,CAAC,GAAG,UAAU,MAAM,GAAG;AAC5D,gBAAI,MAAM,KAAK,WAAW,CAAC,CAAC,GAAG;AAC7B,mBAAK,aAAa;AAAA,YACnB;AAAA,UACb,OAAiB;AACL,iBAAK,aAAa;AAAA,UACnB;AAAA,QACF;AACD;AAAA,MACD;AAAA,MACD;AACE,cAAM,IAAI,MAAM,+BAA+B,OAAO,EAAE;AAAA,IAC3D;AACD,SAAK,MAAM,KAAK,OAAQ;AACxB,QAAI,KAAK,MAAM,QAAQ;AACrB,WAAK,OAAO,IAAI,KAAK,MAAM,KAAK,GAAG,CAAC;AAAA,IACrC;AACD,WAAO;AAAA,EACR;AACH;AAEA,IAAA,SAAiB;","x_google_ignoreList":[0]}
@@ -1,11 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const parse$1 = require("./parse.cjs");
4
- const parse = parse$1.parse_1;
5
- const clean = (version, options) => {
6
- const s = parse(version.trim().replace(/^[=v]+/, ""), options);
7
- return s ? s.version : null;
8
- };
9
- var clean_1 = clean;
10
- exports.clean_1 = clean_1;
11
- //# sourceMappingURL=clean.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"clean.cjs","sources":["../../../../node_modules/semver/functions/clean.js"],"sourcesContent":["const parse = require('./parse')\nconst clean = (version, options) => {\n const s = parse(version.trim().replace(/^[=v]+/, ''), options)\n return s ? s.version : null\n}\nmodule.exports = clean\n"],"names":["require$$0"],"mappings":";;;AAAA,MAAM,QAAQA,QAAkB;AAChC,MAAM,QAAQ,CAAC,SAAS,YAAY;AAClC,QAAM,IAAI,MAAM,QAAQ,KAAI,EAAG,QAAQ,UAAU,EAAE,GAAG,OAAO;AAC7D,SAAO,IAAI,EAAE,UAAU;AACzB;AACA,IAAA,UAAiB;;","x_google_ignoreList":[0]}
@@ -1,11 +0,0 @@
1
- import { p as parse_1 } from "./parse.js";
2
- const parse = parse_1;
3
- const clean = (version, options) => {
4
- const s = parse(version.trim().replace(/^[=v]+/, ""), options);
5
- return s ? s.version : null;
6
- };
7
- var clean_1 = clean;
8
- export {
9
- clean_1 as c
10
- };
11
- //# sourceMappingURL=clean.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"clean.js","sources":["../../../../node_modules/semver/functions/clean.js"],"sourcesContent":["const parse = require('./parse')\nconst clean = (version, options) => {\n const s = parse(version.trim().replace(/^[=v]+/, ''), options)\n return s ? s.version : null\n}\nmodule.exports = clean\n"],"names":["require$$0"],"mappings":";AAAA,MAAM,QAAQA;AACd,MAAM,QAAQ,CAAC,SAAS,YAAY;AAClC,QAAM,IAAI,MAAM,QAAQ,KAAI,EAAG,QAAQ,UAAU,EAAE,GAAG,OAAO;AAC7D,SAAO,IAAI,EAAE,UAAU;AACzB;AACA,IAAA,UAAiB;","x_google_ignoreList":[0]}
@@ -1,20 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const semver = require("../classes/semver.cjs");
4
- const SemVer = semver.semver;
5
- const parse = (version, options, throwErrors = false) => {
6
- if (version instanceof SemVer) {
7
- return version;
8
- }
9
- try {
10
- return new SemVer(version, options);
11
- } catch (er) {
12
- if (!throwErrors) {
13
- return null;
14
- }
15
- throw er;
16
- }
17
- };
18
- var parse_1 = parse;
19
- exports.parse_1 = parse_1;
20
- //# sourceMappingURL=parse.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"parse.cjs","sources":["../../../../node_modules/semver/functions/parse.js"],"sourcesContent":["const SemVer = require('../classes/semver')\nconst parse = (version, options, throwErrors = false) => {\n if (version instanceof SemVer) {\n return version\n }\n try {\n return new SemVer(version, options)\n } catch (er) {\n if (!throwErrors) {\n return null\n }\n throw er\n }\n}\n\nmodule.exports = parse\n"],"names":["require$$0"],"mappings":";;;AAAA,MAAM,SAASA,OAA4B;AAC3C,MAAM,QAAQ,CAAC,SAAS,SAAS,cAAc,UAAU;AACvD,MAAI,mBAAmB,QAAQ;AAC7B,WAAO;AAAA,EACR;AACD,MAAI;AACF,WAAO,IAAI,OAAO,SAAS,OAAO;AAAA,EACnC,SAAQ,IAAP;AACA,QAAI,CAAC,aAAa;AAChB,aAAO;AAAA,IACR;AACD,UAAM;AAAA,EACP;AACH;AAEA,IAAA,UAAiB;;","x_google_ignoreList":[0]}
@@ -1,20 +0,0 @@
1
- import { s as semver } from "../classes/semver.js";
2
- const SemVer = semver;
3
- const parse = (version, options, throwErrors = false) => {
4
- if (version instanceof SemVer) {
5
- return version;
6
- }
7
- try {
8
- return new SemVer(version, options);
9
- } catch (er) {
10
- if (!throwErrors) {
11
- return null;
12
- }
13
- throw er;
14
- }
15
- };
16
- var parse_1 = parse;
17
- export {
18
- parse_1 as p
19
- };
20
- //# sourceMappingURL=parse.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"parse.js","sources":["../../../../node_modules/semver/functions/parse.js"],"sourcesContent":["const SemVer = require('../classes/semver')\nconst parse = (version, options, throwErrors = false) => {\n if (version instanceof SemVer) {\n return version\n }\n try {\n return new SemVer(version, options)\n } catch (er) {\n if (!throwErrors) {\n return null\n }\n throw er\n }\n}\n\nmodule.exports = parse\n"],"names":["require$$0"],"mappings":";AAAA,MAAM,SAASA;AACf,MAAM,QAAQ,CAAC,SAAS,SAAS,cAAc,UAAU;AACvD,MAAI,mBAAmB,QAAQ;AAC7B,WAAO;AAAA,EACR;AACD,MAAI;AACF,WAAO,IAAI,OAAO,SAAS,OAAO;AAAA,EACnC,SAAQ,IAAP;AACA,QAAI,CAAC,aAAa;AAChB,aAAO;AAAA,IACR;AACD,UAAM;AAAA,EACP;AACH;AAEA,IAAA,UAAiB;","x_google_ignoreList":[0]}
@@ -1,11 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const parse$1 = require("./parse.cjs");
4
- const parse = parse$1.parse_1;
5
- const valid = (version, options) => {
6
- const v = parse(version, options);
7
- return v ? v.version : null;
8
- };
9
- var valid_1 = valid;
10
- exports.valid_1 = valid_1;
11
- //# sourceMappingURL=valid.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"valid.cjs","sources":["../../../../node_modules/semver/functions/valid.js"],"sourcesContent":["const parse = require('./parse')\nconst valid = (version, options) => {\n const v = parse(version, options)\n return v ? v.version : null\n}\nmodule.exports = valid\n"],"names":["require$$0"],"mappings":";;;AAAA,MAAM,QAAQA,QAAkB;AAChC,MAAM,QAAQ,CAAC,SAAS,YAAY;AAClC,QAAM,IAAI,MAAM,SAAS,OAAO;AAChC,SAAO,IAAI,EAAE,UAAU;AACzB;AACA,IAAA,UAAiB;;","x_google_ignoreList":[0]}
@@ -1,11 +0,0 @@
1
- import { p as parse_1 } from "./parse.js";
2
- const parse = parse_1;
3
- const valid = (version, options) => {
4
- const v = parse(version, options);
5
- return v ? v.version : null;
6
- };
7
- var valid_1 = valid;
8
- export {
9
- valid_1 as v
10
- };
11
- //# sourceMappingURL=valid.js.map