renovate 40.0.0-next.2 → 40.0.0-next.20

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 (294) hide show
  1. package/dist/config/decrypt/legacy.js +0 -1
  2. package/dist/config/decrypt/legacy.js.map +1 -1
  3. package/dist/config/decrypt.d.ts +3 -1
  4. package/dist/config/decrypt.js +56 -13
  5. package/dist/config/decrypt.js.map +1 -1
  6. package/dist/config/migrate-validate.js +3 -2
  7. package/dist/config/migrate-validate.js.map +1 -1
  8. package/dist/config/migration.js +2 -1
  9. package/dist/config/migration.js.map +1 -1
  10. package/dist/config/migrations/custom/rebase-stale-prs-migration.js +1 -1
  11. package/dist/config/migrations/custom/rebase-stale-prs-migration.js.map +1 -1
  12. package/dist/config/options/index.js +3 -3
  13. package/dist/config/options/index.js.map +1 -1
  14. package/dist/config/parse.js +2 -2
  15. package/dist/config/parse.js.map +1 -1
  16. package/dist/config/presets/gitea/index.js +0 -1
  17. package/dist/config/presets/gitea/index.js.map +1 -1
  18. package/dist/config/presets/github/index.js +0 -1
  19. package/dist/config/presets/github/index.js.map +1 -1
  20. package/dist/config/presets/gitlab/index.js +1 -1
  21. package/dist/config/presets/gitlab/index.js.map +1 -1
  22. package/dist/config/presets/http/index.js +1 -2
  23. package/dist/config/presets/http/index.js.map +1 -1
  24. package/dist/config/presets/index.js +0 -7
  25. package/dist/config/presets/index.js.map +1 -1
  26. package/dist/config/presets/internal/custom-managers.js +3 -4
  27. package/dist/config/presets/internal/custom-managers.js.map +1 -1
  28. package/dist/config/presets/internal/index.js +1 -3
  29. package/dist/config/presets/internal/index.js.map +1 -1
  30. package/dist/config/schema.d.ts +2 -2
  31. package/dist/config/validation.js +3 -5
  32. package/dist/config/validation.js.map +1 -1
  33. package/dist/config-validator.js +0 -1
  34. package/dist/config-validator.js.map +1 -1
  35. package/dist/constants/category.js +0 -1
  36. package/dist/constants/category.js.map +1 -1
  37. package/dist/data/monorepo.json +2 -1
  38. package/dist/instrumentation/index.js +5 -3
  39. package/dist/instrumentation/index.js.map +1 -1
  40. package/dist/instrumentation/utils.js +1 -1
  41. package/dist/instrumentation/utils.js.map +1 -1
  42. package/dist/logger/cmd-serializer.js +0 -1
  43. package/dist/logger/cmd-serializer.js.map +1 -1
  44. package/dist/logger/config-serializer.js +0 -1
  45. package/dist/logger/config-serializer.js.map +1 -1
  46. package/dist/logger/index.js +0 -3
  47. package/dist/logger/index.js.map +1 -1
  48. package/dist/logger/once.js +4 -2
  49. package/dist/logger/once.js.map +1 -1
  50. package/dist/logger/pretty-stdout.js +0 -1
  51. package/dist/logger/pretty-stdout.js.map +1 -1
  52. package/dist/logger/renovate-logger.js +1 -1
  53. package/dist/logger/renovate-logger.js.map +1 -1
  54. package/dist/logger/utils.js +6 -11
  55. package/dist/logger/utils.js.map +1 -1
  56. package/dist/modules/datasource/artifactory/index.js +1 -1
  57. package/dist/modules/datasource/artifactory/index.js.map +1 -1
  58. package/dist/modules/datasource/azure-pipelines-tasks/index.js +11 -1
  59. package/dist/modules/datasource/azure-pipelines-tasks/index.js.map +1 -1
  60. package/dist/modules/datasource/azure-pipelines-tasks/schema.d.ts +16 -0
  61. package/dist/modules/datasource/azure-pipelines-tasks/schema.js +2 -0
  62. package/dist/modules/datasource/azure-pipelines-tasks/schema.js.map +1 -1
  63. package/dist/modules/datasource/crate/index.js +1 -1
  64. package/dist/modules/datasource/crate/index.js.map +1 -1
  65. package/dist/modules/datasource/custom/formats/html.js +1 -1
  66. package/dist/modules/datasource/custom/formats/html.js.map +1 -1
  67. package/dist/modules/datasource/custom/formats/yaml.js +1 -1
  68. package/dist/modules/datasource/custom/formats/yaml.js.map +1 -1
  69. package/dist/modules/datasource/custom/schema.d.ts +5 -5
  70. package/dist/modules/datasource/deb/index.js +1 -1
  71. package/dist/modules/datasource/deb/index.js.map +1 -1
  72. package/dist/modules/datasource/deno/schema.d.ts +8 -8
  73. package/dist/modules/datasource/docker/common.js +1 -1
  74. package/dist/modules/datasource/docker/common.js.map +1 -1
  75. package/dist/modules/datasource/docker/index.js +5 -3
  76. package/dist/modules/datasource/docker/index.js.map +1 -1
  77. package/dist/modules/datasource/docker/schema.d.ts +32 -32
  78. package/dist/modules/datasource/galaxy/schema.d.ts +1 -1
  79. package/dist/modules/datasource/galaxy-collection/schema.d.ts +3 -3
  80. package/dist/modules/datasource/gitea-releases/schema.d.ts +4 -4
  81. package/dist/modules/datasource/gitea-tags/schema.d.ts +4 -4
  82. package/dist/modules/datasource/github-release-attachments/index.js +2 -2
  83. package/dist/modules/datasource/github-release-attachments/index.js.map +1 -1
  84. package/dist/modules/datasource/go/base.js +1 -1
  85. package/dist/modules/datasource/go/base.js.map +1 -1
  86. package/dist/modules/datasource/go/releases-goproxy.js +1 -1
  87. package/dist/modules/datasource/go/releases-goproxy.js.map +1 -1
  88. package/dist/modules/datasource/golang-version/index.js +1 -1
  89. package/dist/modules/datasource/golang-version/index.js.map +1 -1
  90. package/dist/modules/datasource/hex/schema.d.ts +11 -11
  91. package/dist/modules/datasource/hexpm-bob/index.js +1 -1
  92. package/dist/modules/datasource/hexpm-bob/index.js.map +1 -1
  93. package/dist/modules/datasource/index.js +2 -2
  94. package/dist/modules/datasource/index.js.map +1 -1
  95. package/dist/modules/datasource/maven/util.js +1 -1
  96. package/dist/modules/datasource/maven/util.js.map +1 -1
  97. package/dist/modules/datasource/nuget/v2.js +1 -1
  98. package/dist/modules/datasource/nuget/v2.js.map +1 -1
  99. package/dist/modules/datasource/nuget/v3.js +1 -1
  100. package/dist/modules/datasource/nuget/v3.js.map +1 -1
  101. package/dist/modules/datasource/packagist/schema.d.ts +30 -30
  102. package/dist/modules/datasource/pod/index.js +1 -1
  103. package/dist/modules/datasource/pod/index.js.map +1 -1
  104. package/dist/modules/datasource/pypi/index.js +1 -1
  105. package/dist/modules/datasource/pypi/index.js.map +1 -1
  106. package/dist/modules/datasource/ruby-version/index.js +1 -1
  107. package/dist/modules/datasource/ruby-version/index.js.map +1 -1
  108. package/dist/modules/datasource/rubygems/index.js +1 -1
  109. package/dist/modules/datasource/rubygems/index.js.map +1 -1
  110. package/dist/modules/datasource/rubygems/versions-endpoint-cache.js +2 -2
  111. package/dist/modules/datasource/rubygems/versions-endpoint-cache.js.map +1 -1
  112. package/dist/modules/datasource/terraform-provider/index.js +1 -1
  113. package/dist/modules/datasource/terraform-provider/index.js.map +1 -1
  114. package/dist/modules/datasource/unity3d/index.d.ts +4 -1
  115. package/dist/modules/datasource/unity3d/index.js +36 -42
  116. package/dist/modules/datasource/unity3d/index.js.map +1 -1
  117. package/dist/modules/datasource/unity3d/schema.d.ts +47 -0
  118. package/dist/modules/datasource/unity3d/schema.js +17 -0
  119. package/dist/modules/datasource/unity3d/schema.js.map +1 -0
  120. package/dist/modules/manager/argocd/schema.d.ts +10 -10
  121. package/dist/modules/manager/azure-pipelines/schema.d.ts +10 -10
  122. package/dist/modules/manager/batect/schema.d.ts +6 -6
  123. package/dist/modules/manager/batect-wrapper/artifacts.js +1 -1
  124. package/dist/modules/manager/batect-wrapper/artifacts.js.map +1 -1
  125. package/dist/modules/manager/bazel/rules/docker.d.ts +9 -9
  126. package/dist/modules/manager/bazel/rules/git.d.ts +10 -10
  127. package/dist/modules/manager/bazel/rules/git.js +7 -1
  128. package/dist/modules/manager/bazel/rules/git.js.map +1 -1
  129. package/dist/modules/manager/bazel/rules/go.d.ts +5 -5
  130. package/dist/modules/manager/bazel/rules/oci.d.ts +3 -3
  131. package/dist/modules/manager/bazel-module/parser/fragments.d.ts +40 -40
  132. package/dist/modules/manager/bazel-module/parser/maven.d.ts +27 -27
  133. package/dist/modules/manager/bazel-module/parser/oci.d.ts +17 -17
  134. package/dist/modules/manager/bazel-module/rules.d.ts +40 -40
  135. package/dist/modules/manager/bundler/artifacts.js.map +1 -1
  136. package/dist/modules/manager/cargo/schema.d.ts +100 -100
  137. package/dist/modules/manager/circleci/schema.d.ts +6 -6
  138. package/dist/modules/manager/composer/schema.d.ts +40 -40
  139. package/dist/modules/manager/composer/utils.js +9 -6
  140. package/dist/modules/manager/composer/utils.js.map +1 -1
  141. package/dist/modules/manager/crossplane/schema.d.ts +2 -2
  142. package/dist/modules/manager/custom/jsonata/index.js +4 -0
  143. package/dist/modules/manager/custom/jsonata/index.js.map +1 -1
  144. package/dist/modules/manager/custom/jsonata/schema.d.ts +7 -7
  145. package/dist/modules/manager/devbox/artifacts.d.ts +1 -1
  146. package/dist/modules/manager/devbox/artifacts.js +29 -11
  147. package/dist/modules/manager/devbox/artifacts.js.map +1 -1
  148. package/dist/modules/manager/fingerprint.generated.js +68 -68
  149. package/dist/modules/manager/fingerprint.generated.js.map +1 -1
  150. package/dist/modules/manager/fleet/schema.d.ts +12 -12
  151. package/dist/modules/manager/flux/schema.d.ts +50 -50
  152. package/dist/modules/manager/glasskube/schema.d.ts +8 -8
  153. package/dist/modules/manager/gradle-wrapper/artifacts.js +1 -1
  154. package/dist/modules/manager/gradle-wrapper/artifacts.js.map +1 -1
  155. package/dist/modules/manager/maven/extract.js +3 -1
  156. package/dist/modules/manager/maven/extract.js.map +1 -1
  157. package/dist/modules/manager/mise/extract.js +1 -1
  158. package/dist/modules/manager/mise/extract.js.map +1 -1
  159. package/dist/modules/manager/nix/schema.d.ts +24 -24
  160. package/dist/modules/manager/npm/schema.d.ts +13 -13
  161. package/dist/modules/manager/nuget/schema.d.ts +8 -8
  162. package/dist/modules/manager/ocb/schema.d.ts +6 -6
  163. package/dist/modules/manager/pep621/schema.d.ts +55 -55
  164. package/dist/modules/manager/pep621/utils.js +1 -1
  165. package/dist/modules/manager/pep621/utils.js.map +1 -1
  166. package/dist/modules/manager/poetry/artifacts.js +3 -3
  167. package/dist/modules/manager/poetry/artifacts.js.map +1 -1
  168. package/dist/modules/manager/poetry/extract.js +2 -1
  169. package/dist/modules/manager/poetry/extract.js.map +1 -1
  170. package/dist/modules/manager/poetry/schema.d.ts +48 -48
  171. package/dist/modules/manager/sveltos/schema.d.ts +12 -12
  172. package/dist/modules/manager/terraform/lockfile/hash.d.ts +1 -1
  173. package/dist/modules/manager/vendir/schema.d.ts +27 -27
  174. package/dist/modules/platform/api.d.ts +1 -1
  175. package/dist/modules/platform/bitbucket/index.d.ts +1 -0
  176. package/dist/modules/platform/bitbucket/index.js +6 -1
  177. package/dist/modules/platform/bitbucket/index.js.map +1 -1
  178. package/dist/modules/platform/bitbucket/schema.d.ts +17 -17
  179. package/dist/modules/platform/bitbucket-server/index.d.ts +1 -1
  180. package/dist/modules/platform/bitbucket-server/index.js +13 -11
  181. package/dist/modules/platform/bitbucket-server/index.js.map +1 -1
  182. package/dist/modules/platform/bitbucket-server/schema.d.ts +75 -0
  183. package/dist/modules/platform/bitbucket-server/schema.js +14 -1
  184. package/dist/modules/platform/bitbucket-server/schema.js.map +1 -1
  185. package/dist/modules/platform/bitbucket-server/types.d.ts +2 -1
  186. package/dist/modules/platform/bitbucket-server/types.js.map +1 -1
  187. package/dist/modules/platform/bitbucket-server/utils.d.ts +0 -2
  188. package/dist/modules/platform/bitbucket-server/utils.js +1 -51
  189. package/dist/modules/platform/bitbucket-server/utils.js.map +1 -1
  190. package/dist/modules/platform/gerrit/client.js +1 -1
  191. package/dist/modules/platform/gerrit/client.js.map +1 -1
  192. package/dist/modules/platform/gitea/index.d.ts +1 -0
  193. package/dist/modules/platform/gitea/index.js +11 -0
  194. package/dist/modules/platform/gitea/index.js.map +1 -1
  195. package/dist/modules/platform/gitea/schema.d.ts +8 -8
  196. package/dist/modules/platform/github/common.d.ts +2 -0
  197. package/dist/modules/platform/github/common.js +16 -0
  198. package/dist/modules/platform/github/common.js.map +1 -1
  199. package/dist/modules/platform/github/index.d.ts +1 -1
  200. package/dist/modules/platform/github/index.js +6 -4
  201. package/dist/modules/platform/github/index.js.map +1 -1
  202. package/dist/modules/platform/github/issue.d.ts +12 -12
  203. package/dist/modules/platform/github/schema.d.ts +65 -65
  204. package/dist/modules/platform/gitlab/index.d.ts +1 -0
  205. package/dist/modules/platform/gitlab/index.js +9 -0
  206. package/dist/modules/platform/gitlab/index.js.map +1 -1
  207. package/dist/modules/platform/scm.d.ts +1 -1
  208. package/dist/modules/versioning/composer/index.js +10 -0
  209. package/dist/modules/versioning/composer/index.js.map +1 -1
  210. package/dist/modules/versioning/npm/index.js +2 -1
  211. package/dist/modules/versioning/npm/index.js.map +1 -1
  212. package/dist/modules/versioning/schema.js +1 -1
  213. package/dist/modules/versioning/schema.js.map +1 -1
  214. package/dist/modules/versioning/types.d.ts +4 -0
  215. package/dist/modules/versioning/types.js.map +1 -1
  216. package/dist/proxy.js +2 -1
  217. package/dist/proxy.js.map +1 -1
  218. package/dist/renovate.js +2 -2
  219. package/dist/renovate.js.map +1 -1
  220. package/dist/util/cache/package/decorator.js +2 -2
  221. package/dist/util/cache/package/decorator.js.map +1 -1
  222. package/dist/util/cache/package/redis.js +0 -1
  223. package/dist/util/cache/package/redis.js.map +1 -1
  224. package/dist/util/cache/repository/impl/base.d.ts +1 -1
  225. package/dist/util/exec/containerbase.js +12 -12
  226. package/dist/util/exec/containerbase.js.map +1 -1
  227. package/dist/util/github/graphql/query-adapters/releases-query-adapter.d.ts +5 -5
  228. package/dist/util/http/auth.js +0 -1
  229. package/dist/util/http/auth.js.map +1 -1
  230. package/dist/util/http/bitbucket-server.d.ts +5 -4
  231. package/dist/util/http/bitbucket-server.js +17 -20
  232. package/dist/util/http/bitbucket-server.js.map +1 -1
  233. package/dist/util/http/bitbucket.d.ts +6 -5
  234. package/dist/util/http/bitbucket.js +30 -31
  235. package/dist/util/http/bitbucket.js.map +1 -1
  236. package/dist/util/http/cache/abstract-http-cache-provider.js +1 -1
  237. package/dist/util/http/cache/abstract-http-cache-provider.js.map +1 -1
  238. package/dist/util/http/cache/schema.d.ts +2 -2
  239. package/dist/util/http/errors.d.ts +2 -0
  240. package/dist/util/http/errors.js +8 -0
  241. package/dist/util/http/errors.js.map +1 -0
  242. package/dist/util/http/gerrit.d.ts +6 -4
  243. package/dist/util/http/gerrit.js +11 -12
  244. package/dist/util/http/gerrit.js.map +1 -1
  245. package/dist/util/http/gitea.d.ts +5 -4
  246. package/dist/util/http/gitea.js +12 -13
  247. package/dist/util/http/gitea.js.map +1 -1
  248. package/dist/util/http/github.d.ts +14 -8
  249. package/dist/util/http/github.js +64 -60
  250. package/dist/util/http/github.js.map +1 -1
  251. package/dist/util/http/gitlab.d.ts +7 -5
  252. package/dist/util/http/gitlab.js +56 -46
  253. package/dist/util/http/gitlab.js.map +1 -1
  254. package/dist/util/http/got.d.ts +9 -0
  255. package/dist/util/http/got.js +54 -0
  256. package/dist/util/http/got.js.map +1 -0
  257. package/dist/util/http/host-rules.d.ts +2 -1
  258. package/dist/util/http/host-rules.js.map +1 -1
  259. package/dist/util/http/http.d.ts +93 -0
  260. package/dist/util/http/http.js +339 -0
  261. package/dist/util/http/http.js.map +1 -0
  262. package/dist/util/http/index.d.ts +6 -74
  263. package/dist/util/http/index.js +5 -359
  264. package/dist/util/http/index.js.map +1 -1
  265. package/dist/util/http/legacy.js +4 -1
  266. package/dist/util/http/legacy.js.map +1 -1
  267. package/dist/util/http/types.d.ts +9 -16
  268. package/dist/util/http/types.js.map +1 -1
  269. package/dist/util/string.d.ts +15 -0
  270. package/dist/util/string.js +75 -0
  271. package/dist/util/string.js.map +1 -1
  272. package/dist/util/toml.d.ts +1 -0
  273. package/dist/util/toml.js +6 -0
  274. package/dist/util/toml.js.map +1 -1
  275. package/dist/util/url.js +3 -8
  276. package/dist/util/url.js.map +1 -1
  277. package/dist/util/yaml.js +2 -6
  278. package/dist/util/yaml.js.map +1 -1
  279. package/dist/workers/global/config/parse/env.js +3 -2
  280. package/dist/workers/global/config/parse/env.js.map +1 -1
  281. package/dist/workers/global/config/parse/file.js +19 -9
  282. package/dist/workers/global/config/parse/file.js.map +1 -1
  283. package/dist/workers/global/config/parse/host-rules-from-env.js +6 -2
  284. package/dist/workers/global/config/parse/host-rules-from-env.js.map +1 -1
  285. package/dist/workers/repository/cache.js +0 -1
  286. package/dist/workers/repository/cache.js.map +1 -1
  287. package/dist/workers/repository/onboarding/pr/config-description.js +3 -1
  288. package/dist/workers/repository/onboarding/pr/config-description.js.map +1 -1
  289. package/dist/workers/repository/update/pr/changelog/bitbucket/index.js +1 -1
  290. package/dist/workers/repository/update/pr/changelog/bitbucket/index.js.map +1 -1
  291. package/dist/workers/repository/update/pr/changelog/gitlab/index.js +1 -1
  292. package/dist/workers/repository/update/pr/changelog/gitlab/index.js.map +1 -1
  293. package/package.json +44 -49
  294. package/renovate-schema.json +2 -1
@@ -9,32 +9,32 @@ export declare const GitTarget: z.ZodEffects<z.ZodEffects<z.ZodObject<{
9
9
  remote: z.ZodString;
10
10
  }, "strip", z.ZodTypeAny, {
11
11
  name: string;
12
- remote: string;
13
12
  rule: "git_repository" | "_git_repository";
14
- tag?: string | undefined;
13
+ remote: string;
15
14
  commit?: string | undefined;
15
+ tag?: string | undefined;
16
16
  }, {
17
17
  name: string;
18
- remote: string;
19
18
  rule: "git_repository" | "_git_repository";
20
- tag?: string | undefined;
19
+ remote: string;
21
20
  commit?: string | undefined;
21
+ tag?: string | undefined;
22
22
  }>, {
23
23
  name: string;
24
- remote: string;
25
24
  rule: "git_repository" | "_git_repository";
26
- tag?: string | undefined;
25
+ remote: string;
27
26
  commit?: string | undefined;
27
+ tag?: string | undefined;
28
28
  }, {
29
29
  name: string;
30
- remote: string;
31
30
  rule: "git_repository" | "_git_repository";
32
- tag?: string | undefined;
31
+ remote: string;
33
32
  commit?: string | undefined;
33
+ tag?: string | undefined;
34
34
  }>, PackageDependency<Record<string, any>>[], {
35
35
  name: string;
36
- remote: string;
37
36
  rule: "git_repository" | "_git_repository";
38
- tag?: string | undefined;
37
+ remote: string;
39
38
  commit?: string | undefined;
39
+ tag?: string | undefined;
40
40
  }>;
@@ -7,6 +7,7 @@ const zod_1 = require("zod");
7
7
  const logger_1 = require("../../../../logger");
8
8
  const regex_1 = require("../../../../util/regex");
9
9
  const github_releases_1 = require("../../../datasource/github-releases");
10
+ const github_tags_1 = require("../../../datasource/github-tags");
10
11
  const githubUrlRegex = (0, regex_1.regEx)(/^https:\/\/github\.com\/(?<packageName>[^/]+\/[^/]+)/);
11
12
  function githubPackageName(input) {
12
13
  // istanbul ignore if
@@ -38,8 +39,13 @@ exports.GitTarget = zod_1.z
38
39
  }
39
40
  const githubPackage = githubPackageName(remote);
40
41
  if (githubPackage) {
41
- dep.datasource = github_releases_1.GithubReleasesDatasource.id;
42
42
  dep.packageName = githubPackage;
43
+ if (dep.currentValue) {
44
+ dep.datasource = github_releases_1.GithubReleasesDatasource.id;
45
+ }
46
+ else {
47
+ dep.datasource = github_tags_1.GithubTagsDatasource.id;
48
+ }
43
49
  }
44
50
  if (!dep.datasource) {
45
51
  dep.skipReason = 'unsupported-datasource';
@@ -1 +1 @@
1
- {"version":3,"file":"git.js","sourceRoot":"","sources":["../../../../../lib/modules/manager/bazel/rules/git.ts"],"names":[],"mappings":";;;;AAAA,sFAAiD;AACjD,6BAAwB;AACxB,+CAA4C;AAC5C,kDAA+C;AAC/C,yEAA+E;AAG/E,MAAM,cAAc,GAAG,IAAA,aAAK,EAC1B,sDAAsD,CACvD,CAAC;AAEF,SAAS,iBAAiB,CAAC,KAAa;IACtC,qBAAqB;IACrB,IAAI,CAAC,KAAK,CAAC,UAAU,CAAC,UAAU,CAAC,EAAE,CAAC;QAClC,eAAM,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,GAAG,EAAE,KAAK,EAAE,EAAE,qCAAqC,CAAC,CAAC;IAC1E,CAAC;IACD,OAAO,IAAA,6BAAc,EAAC,KAAK,CAAC,EAAE,KAAK,CAAC,cAAc,CAAC,EAAE,MAAM,EAAE,WAAW,CAAC;AAC3E,CAAC;AAEY,QAAA,QAAQ,GAAG,CAAC,gBAAgB,EAAE,iBAAiB,CAAU,CAAC;AAE1D,QAAA,SAAS,GAAG,OAAC;KACvB,MAAM,CAAC;IACN,IAAI,EAAE,OAAC,CAAC,IAAI,CAAC,gBAAQ,CAAC;IACtB,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE;IAChB,GAAG,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC1B,MAAM,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC7B,MAAM,EAAE,OAAC,CAAC,MAAM,EAAE;CACnB,CAAC;KACD,MAAM,CAAC,CAAC,EAAE,GAAG,EAAE,MAAM,EAAE,EAAE,EAAE,CAAC,CAAC,CAAC,GAAG,IAAI,CAAC,CAAC,MAAM,CAAC;KAC9C,SAAS,CAAC,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,EAAE,EAAuB,EAAE;IACtE,MAAM,GAAG,GAAsB;QAC7B,OAAO,EAAE,IAAI;QACb,OAAO,EAAE,IAAI;KACd,CAAC;IAEF,IAAI,GAAG,EAAE,CAAC;QACR,GAAG,CAAC,YAAY,GAAG,GAAG,CAAC;IACzB,CAAC;IAED,IAAI,MAAM,EAAE,CAAC;QACX,GAAG,CAAC,aAAa,GAAG,MAAM,CAAC;IAC7B,CAAC;IAED,MAAM,aAAa,GAAG,iBAAiB,CAAC,MAAM,CAAC,CAAC;IAChD,IAAI,aAAa,EAAE,CAAC;QAClB,GAAG,CAAC,UAAU,GAAG,0CAAwB,CAAC,EAAE,CAAC;QAC7C,GAAG,CAAC,WAAW,GAAG,aAAa,CAAC;IAClC,CAAC;IAED,IAAI,CAAC,GAAG,CAAC,UAAU,EAAE,CAAC;QACpB,GAAG,CAAC,UAAU,GAAG,wBAAwB,CAAC;IAC5C,CAAC;IAED,OAAO,CAAC,GAAG,CAAC,CAAC;AACf,CAAC,CAAC,CAAC","sourcesContent":["import parseGithubUrl from 'github-url-from-git';\nimport { z } from 'zod';\nimport { logger } from '../../../../logger';\nimport { regEx } from '../../../../util/regex';\nimport { GithubReleasesDatasource } from '../../../datasource/github-releases';\nimport type { PackageDependency } from '../../types';\n\nconst githubUrlRegex = regEx(\n /^https:\\/\\/github\\.com\\/(?<packageName>[^/]+\\/[^/]+)/,\n);\n\nfunction githubPackageName(input: string): string | undefined {\n // istanbul ignore if\n if (!input.startsWith('https://')) {\n logger.once.info({ url: input }, `Bazel: non-https git_repository URL`);\n }\n return parseGithubUrl(input)?.match(githubUrlRegex)?.groups?.packageName;\n}\n\nexport const gitRules = ['git_repository', '_git_repository'] as const;\n\nexport const GitTarget = z\n .object({\n rule: z.enum(gitRules),\n name: z.string(),\n tag: z.string().optional(),\n commit: z.string().optional(),\n remote: z.string(),\n })\n .refine(({ tag, commit }) => !!tag || !!commit)\n .transform(({ rule, name, tag, commit, remote }): PackageDependency[] => {\n const dep: PackageDependency = {\n depType: rule,\n depName: name,\n };\n\n if (tag) {\n dep.currentValue = tag;\n }\n\n if (commit) {\n dep.currentDigest = commit;\n }\n\n const githubPackage = githubPackageName(remote);\n if (githubPackage) {\n dep.datasource = GithubReleasesDatasource.id;\n dep.packageName = githubPackage;\n }\n\n if (!dep.datasource) {\n dep.skipReason = 'unsupported-datasource';\n }\n\n return [dep];\n });\n"]}
1
+ {"version":3,"file":"git.js","sourceRoot":"","sources":["../../../../../lib/modules/manager/bazel/rules/git.ts"],"names":[],"mappings":";;;;AAAA,sFAAiD;AACjD,6BAAwB;AACxB,+CAA4C;AAC5C,kDAA+C;AAC/C,yEAA+E;AAC/E,iEAAuE;AAGvE,MAAM,cAAc,GAAG,IAAA,aAAK,EAC1B,sDAAsD,CACvD,CAAC;AAEF,SAAS,iBAAiB,CAAC,KAAa;IACtC,qBAAqB;IACrB,IAAI,CAAC,KAAK,CAAC,UAAU,CAAC,UAAU,CAAC,EAAE,CAAC;QAClC,eAAM,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,GAAG,EAAE,KAAK,EAAE,EAAE,qCAAqC,CAAC,CAAC;IAC1E,CAAC;IACD,OAAO,IAAA,6BAAc,EAAC,KAAK,CAAC,EAAE,KAAK,CAAC,cAAc,CAAC,EAAE,MAAM,EAAE,WAAW,CAAC;AAC3E,CAAC;AAEY,QAAA,QAAQ,GAAG,CAAC,gBAAgB,EAAE,iBAAiB,CAAU,CAAC;AAE1D,QAAA,SAAS,GAAG,OAAC;KACvB,MAAM,CAAC;IACN,IAAI,EAAE,OAAC,CAAC,IAAI,CAAC,gBAAQ,CAAC;IACtB,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE;IAChB,GAAG,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC1B,MAAM,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC7B,MAAM,EAAE,OAAC,CAAC,MAAM,EAAE;CACnB,CAAC;KACD,MAAM,CAAC,CAAC,EAAE,GAAG,EAAE,MAAM,EAAE,EAAE,EAAE,CAAC,CAAC,CAAC,GAAG,IAAI,CAAC,CAAC,MAAM,CAAC;KAC9C,SAAS,CAAC,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,EAAE,EAAuB,EAAE;IACtE,MAAM,GAAG,GAAsB;QAC7B,OAAO,EAAE,IAAI;QACb,OAAO,EAAE,IAAI;KACd,CAAC;IAEF,IAAI,GAAG,EAAE,CAAC;QACR,GAAG,CAAC,YAAY,GAAG,GAAG,CAAC;IACzB,CAAC;IAED,IAAI,MAAM,EAAE,CAAC;QACX,GAAG,CAAC,aAAa,GAAG,MAAM,CAAC;IAC7B,CAAC;IAED,MAAM,aAAa,GAAG,iBAAiB,CAAC,MAAM,CAAC,CAAC;IAChD,IAAI,aAAa,EAAE,CAAC;QAClB,GAAG,CAAC,WAAW,GAAG,aAAa,CAAC;QAChC,IAAI,GAAG,CAAC,YAAY,EAAE,CAAC;YACrB,GAAG,CAAC,UAAU,GAAG,0CAAwB,CAAC,EAAE,CAAC;QAC/C,CAAC;aAAM,CAAC;YACN,GAAG,CAAC,UAAU,GAAG,kCAAoB,CAAC,EAAE,CAAC;QAC3C,CAAC;IACH,CAAC;IAED,IAAI,CAAC,GAAG,CAAC,UAAU,EAAE,CAAC;QACpB,GAAG,CAAC,UAAU,GAAG,wBAAwB,CAAC;IAC5C,CAAC;IAED,OAAO,CAAC,GAAG,CAAC,CAAC;AACf,CAAC,CAAC,CAAC","sourcesContent":["import parseGithubUrl from 'github-url-from-git';\nimport { z } from 'zod';\nimport { logger } from '../../../../logger';\nimport { regEx } from '../../../../util/regex';\nimport { GithubReleasesDatasource } from '../../../datasource/github-releases';\nimport { GithubTagsDatasource } from '../../../datasource/github-tags';\nimport type { PackageDependency } from '../../types';\n\nconst githubUrlRegex = regEx(\n /^https:\\/\\/github\\.com\\/(?<packageName>[^/]+\\/[^/]+)/,\n);\n\nfunction githubPackageName(input: string): string | undefined {\n // istanbul ignore if\n if (!input.startsWith('https://')) {\n logger.once.info({ url: input }, `Bazel: non-https git_repository URL`);\n }\n return parseGithubUrl(input)?.match(githubUrlRegex)?.groups?.packageName;\n}\n\nexport const gitRules = ['git_repository', '_git_repository'] as const;\n\nexport const GitTarget = z\n .object({\n rule: z.enum(gitRules),\n name: z.string(),\n tag: z.string().optional(),\n commit: z.string().optional(),\n remote: z.string(),\n })\n .refine(({ tag, commit }) => !!tag || !!commit)\n .transform(({ rule, name, tag, commit, remote }): PackageDependency[] => {\n const dep: PackageDependency = {\n depType: rule,\n depName: name,\n };\n\n if (tag) {\n dep.currentValue = tag;\n }\n\n if (commit) {\n dep.currentDigest = commit;\n }\n\n const githubPackage = githubPackageName(remote);\n if (githubPackage) {\n dep.packageName = githubPackage;\n if (dep.currentValue) {\n dep.datasource = GithubReleasesDatasource.id;\n } else {\n dep.datasource = GithubTagsDatasource.id;\n }\n }\n\n if (!dep.datasource) {\n dep.skipReason = 'unsupported-datasource';\n }\n\n return [dep];\n });\n"]}
@@ -12,35 +12,35 @@ export declare const GoTarget: z.ZodEffects<z.ZodEffects<z.ZodObject<{
12
12
  name: string;
13
13
  rule: "go_repository" | "_go_repository";
14
14
  importpath: string;
15
- tag?: string | undefined;
16
15
  commit?: string | undefined;
16
+ tag?: string | undefined;
17
17
  remote?: string | undefined;
18
18
  }, {
19
19
  name: string;
20
20
  rule: "go_repository" | "_go_repository";
21
21
  importpath: string;
22
- tag?: string | undefined;
23
22
  commit?: string | undefined;
23
+ tag?: string | undefined;
24
24
  remote?: string | undefined;
25
25
  }>, {
26
26
  name: string;
27
27
  rule: "go_repository" | "_go_repository";
28
28
  importpath: string;
29
- tag?: string | undefined;
30
29
  commit?: string | undefined;
30
+ tag?: string | undefined;
31
31
  remote?: string | undefined;
32
32
  }, {
33
33
  name: string;
34
34
  rule: "go_repository" | "_go_repository";
35
35
  importpath: string;
36
- tag?: string | undefined;
37
36
  commit?: string | undefined;
37
+ tag?: string | undefined;
38
38
  remote?: string | undefined;
39
39
  }>, PackageDependency<Record<string, any>>[], {
40
40
  name: string;
41
41
  rule: "go_repository" | "_go_repository";
42
42
  importpath: string;
43
- tag?: string | undefined;
44
43
  commit?: string | undefined;
44
+ tag?: string | undefined;
45
45
  remote?: string | undefined;
46
46
  }>;
@@ -11,18 +11,18 @@ export declare const OciTarget: z.ZodEffects<z.ZodObject<{
11
11
  name: string;
12
12
  image: string;
13
13
  rule: "oci_pull" | "_oci_pull";
14
- tag?: string | undefined;
15
14
  digest?: string | undefined;
15
+ tag?: string | undefined;
16
16
  }, {
17
17
  name: string;
18
18
  image: string;
19
19
  rule: "oci_pull" | "_oci_pull";
20
- tag?: string | undefined;
21
20
  digest?: string | undefined;
21
+ tag?: string | undefined;
22
22
  }>, PackageDependency<Record<string, any>>[], {
23
23
  name: string;
24
24
  image: string;
25
25
  rule: "oci_pull" | "_oci_pull";
26
- tag?: string | undefined;
27
26
  digest?: string | undefined;
27
+ tag?: string | undefined;
28
28
  }>;
@@ -64,6 +64,7 @@ export declare const ArrayFragmentSchema: z.ZodObject<{
64
64
  isComplete: z.ZodBoolean;
65
65
  }, "strip", z.ZodTypeAny, {
66
66
  type: "array";
67
+ isComplete: boolean;
67
68
  items: ({
68
69
  type: "string";
69
70
  value: string;
@@ -73,11 +74,10 @@ export declare const ArrayFragmentSchema: z.ZodObject<{
73
74
  value: boolean;
74
75
  isComplete: true;
75
76
  })[];
76
- isComplete: boolean;
77
77
  }, {
78
78
  type: "array";
79
- items: any[];
80
79
  isComplete: boolean;
80
+ items: any[];
81
81
  }>;
82
82
  export declare const StringArrayFragmentSchema: z.ZodObject<{
83
83
  type: z.ZodLiteral<"array">;
@@ -89,16 +89,16 @@ export declare const StringArrayFragmentSchema: z.ZodObject<{
89
89
  isComplete: z.ZodBoolean;
90
90
  }, "strip", z.ZodTypeAny, {
91
91
  type: "array";
92
+ isComplete: boolean;
92
93
  items: {
93
94
  type: "string";
94
95
  value: string;
95
96
  isComplete: true;
96
97
  }[];
97
- isComplete: boolean;
98
98
  }, {
99
99
  type: "array";
100
- items: any[];
101
100
  isComplete: boolean;
101
+ items: any[];
102
102
  }>;
103
103
  declare const ValueFragmentsSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
104
104
  type: z.ZodLiteral<"string">;
@@ -138,6 +138,7 @@ declare const ValueFragmentsSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject
138
138
  isComplete: z.ZodBoolean;
139
139
  }, "strip", z.ZodTypeAny, {
140
140
  type: "array";
141
+ isComplete: boolean;
141
142
  items: ({
142
143
  type: "string";
143
144
  value: string;
@@ -147,11 +148,10 @@ declare const ValueFragmentsSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject
147
148
  value: boolean;
148
149
  isComplete: true;
149
150
  })[];
150
- isComplete: boolean;
151
151
  }, {
152
152
  type: "array";
153
- items: any[];
154
153
  isComplete: boolean;
154
+ items: any[];
155
155
  }>]>;
156
156
  export declare const RuleFragmentSchema: z.ZodObject<{
157
157
  type: z.ZodLiteral<"rule">;
@@ -166,6 +166,7 @@ export declare const RuleFragmentSchema: z.ZodObject<{
166
166
  isComplete: true;
167
167
  } | {
168
168
  type: "array";
169
+ isComplete: boolean;
169
170
  items: ({
170
171
  type: "string";
171
172
  value: string;
@@ -175,11 +176,11 @@ export declare const RuleFragmentSchema: z.ZodObject<{
175
176
  value: boolean;
176
177
  isComplete: true;
177
178
  })[];
178
- isComplete: boolean;
179
179
  }>, Record<string, any>>;
180
180
  isComplete: z.ZodBoolean;
181
181
  }, "strip", z.ZodTypeAny, {
182
182
  type: "rule";
183
+ rule: string;
183
184
  children: Record<string, {
184
185
  type: "string";
185
186
  value: string;
@@ -190,6 +191,7 @@ export declare const RuleFragmentSchema: z.ZodObject<{
190
191
  isComplete: true;
191
192
  } | {
192
193
  type: "array";
194
+ isComplete: boolean;
193
195
  items: ({
194
196
  type: "string";
195
197
  value: string;
@@ -199,14 +201,12 @@ export declare const RuleFragmentSchema: z.ZodObject<{
199
201
  value: boolean;
200
202
  isComplete: true;
201
203
  })[];
202
- isComplete: boolean;
203
204
  }>;
204
- rule: string;
205
205
  isComplete: boolean;
206
206
  }, {
207
207
  type: "rule";
208
- children: Record<string, any>;
209
208
  rule: string;
209
+ children: Record<string, any>;
210
210
  isComplete: boolean;
211
211
  }>;
212
212
  export declare const PreparedExtensionTagFragmentSchema: z.ZodObject<{
@@ -243,6 +243,7 @@ export declare const ExtensionTagFragmentSchema: z.ZodObject<{
243
243
  isComplete: true;
244
244
  } | {
245
245
  type: "array";
246
+ isComplete: boolean;
246
247
  items: ({
247
248
  type: "string";
248
249
  value: string;
@@ -252,14 +253,13 @@ export declare const ExtensionTagFragmentSchema: z.ZodObject<{
252
253
  value: boolean;
253
254
  isComplete: true;
254
255
  })[];
255
- isComplete: boolean;
256
256
  }>, Record<string, any>>;
257
257
  isComplete: z.ZodBoolean;
258
258
  offset: z.ZodNumber;
259
259
  rawString: z.ZodOptional<z.ZodString>;
260
260
  }, "strip", z.ZodTypeAny, {
261
261
  type: "extensionTag";
262
- offset: number;
262
+ tag: string;
263
263
  children: Record<string, {
264
264
  type: "string";
265
265
  value: string;
@@ -270,6 +270,7 @@ export declare const ExtensionTagFragmentSchema: z.ZodObject<{
270
270
  isComplete: true;
271
271
  } | {
272
272
  type: "array";
273
+ isComplete: boolean;
273
274
  items: ({
274
275
  type: "string";
275
276
  value: string;
@@ -279,18 +280,17 @@ export declare const ExtensionTagFragmentSchema: z.ZodObject<{
279
280
  value: boolean;
280
281
  isComplete: true;
281
282
  })[];
282
- isComplete: boolean;
283
283
  }>;
284
- tag: string;
284
+ offset: number;
285
285
  isComplete: boolean;
286
286
  extension: string;
287
287
  rawExtension: string;
288
288
  rawString?: string | undefined;
289
289
  }, {
290
290
  type: "extensionTag";
291
- offset: number;
292
- children: Record<string, any>;
293
291
  tag: string;
292
+ children: Record<string, any>;
293
+ offset: number;
294
294
  isComplete: boolean;
295
295
  extension: string;
296
296
  rawExtension: string;
@@ -337,6 +337,7 @@ export declare const AttributeFragmentSchema: z.ZodObject<{
337
337
  isComplete: z.ZodBoolean;
338
338
  }, "strip", z.ZodTypeAny, {
339
339
  type: "array";
340
+ isComplete: boolean;
340
341
  items: ({
341
342
  type: "string";
342
343
  value: string;
@@ -346,16 +347,15 @@ export declare const AttributeFragmentSchema: z.ZodObject<{
346
347
  value: boolean;
347
348
  isComplete: true;
348
349
  })[];
349
- isComplete: boolean;
350
350
  }, {
351
351
  type: "array";
352
- items: any[];
353
352
  isComplete: boolean;
353
+ items: any[];
354
354
  }>]>>;
355
355
  isComplete: z.ZodBoolean;
356
356
  }, "strip", z.ZodTypeAny, {
357
- name: string;
358
357
  type: "attribute";
358
+ name: string;
359
359
  isComplete: boolean;
360
360
  value?: {
361
361
  type: "string";
@@ -367,6 +367,7 @@ export declare const AttributeFragmentSchema: z.ZodObject<{
367
367
  isComplete: true;
368
368
  } | {
369
369
  type: "array";
370
+ isComplete: boolean;
370
371
  items: ({
371
372
  type: "string";
372
373
  value: string;
@@ -376,11 +377,10 @@ export declare const AttributeFragmentSchema: z.ZodObject<{
376
377
  value: boolean;
377
378
  isComplete: true;
378
379
  })[];
379
- isComplete: boolean;
380
380
  } | undefined;
381
381
  }, {
382
- name: string;
383
382
  type: "attribute";
383
+ name: string;
384
384
  isComplete: boolean;
385
385
  value?: {
386
386
  type: "string";
@@ -392,8 +392,8 @@ export declare const AttributeFragmentSchema: z.ZodObject<{
392
392
  isComplete: true;
393
393
  } | {
394
394
  type: "array";
395
- items: any[];
396
395
  isComplete: boolean;
396
+ items: any[];
397
397
  } | undefined;
398
398
  }>;
399
399
  export declare const AllFragmentsSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
@@ -410,6 +410,7 @@ export declare const AllFragmentsSchema: z.ZodDiscriminatedUnion<"type", [z.ZodO
410
410
  isComplete: z.ZodBoolean;
411
411
  }, "strip", z.ZodTypeAny, {
412
412
  type: "array";
413
+ isComplete: boolean;
413
414
  items: ({
414
415
  type: "string";
415
416
  value: string;
@@ -419,11 +420,10 @@ export declare const AllFragmentsSchema: z.ZodDiscriminatedUnion<"type", [z.ZodO
419
420
  value: boolean;
420
421
  isComplete: true;
421
422
  })[];
422
- isComplete: boolean;
423
423
  }, {
424
424
  type: "array";
425
- items: any[];
426
425
  isComplete: boolean;
426
+ items: any[];
427
427
  }>, z.ZodObject<{
428
428
  type: z.ZodLiteral<"attribute">;
429
429
  name: z.ZodString;
@@ -465,6 +465,7 @@ export declare const AllFragmentsSchema: z.ZodDiscriminatedUnion<"type", [z.ZodO
465
465
  isComplete: z.ZodBoolean;
466
466
  }, "strip", z.ZodTypeAny, {
467
467
  type: "array";
468
+ isComplete: boolean;
468
469
  items: ({
469
470
  type: "string";
470
471
  value: string;
@@ -474,16 +475,15 @@ export declare const AllFragmentsSchema: z.ZodDiscriminatedUnion<"type", [z.ZodO
474
475
  value: boolean;
475
476
  isComplete: true;
476
477
  })[];
477
- isComplete: boolean;
478
478
  }, {
479
479
  type: "array";
480
- items: any[];
481
480
  isComplete: boolean;
481
+ items: any[];
482
482
  }>]>>;
483
483
  isComplete: z.ZodBoolean;
484
484
  }, "strip", z.ZodTypeAny, {
485
- name: string;
486
485
  type: "attribute";
486
+ name: string;
487
487
  isComplete: boolean;
488
488
  value?: {
489
489
  type: "string";
@@ -495,6 +495,7 @@ export declare const AllFragmentsSchema: z.ZodDiscriminatedUnion<"type", [z.ZodO
495
495
  isComplete: true;
496
496
  } | {
497
497
  type: "array";
498
+ isComplete: boolean;
498
499
  items: ({
499
500
  type: "string";
500
501
  value: string;
@@ -504,11 +505,10 @@ export declare const AllFragmentsSchema: z.ZodDiscriminatedUnion<"type", [z.ZodO
504
505
  value: boolean;
505
506
  isComplete: true;
506
507
  })[];
507
- isComplete: boolean;
508
508
  } | undefined;
509
509
  }, {
510
- name: string;
511
510
  type: "attribute";
511
+ name: string;
512
512
  isComplete: boolean;
513
513
  value?: {
514
514
  type: "string";
@@ -520,8 +520,8 @@ export declare const AllFragmentsSchema: z.ZodDiscriminatedUnion<"type", [z.ZodO
520
520
  isComplete: true;
521
521
  } | {
522
522
  type: "array";
523
- items: any[];
524
523
  isComplete: boolean;
524
+ items: any[];
525
525
  } | undefined;
526
526
  }>, z.ZodObject<{
527
527
  type: z.ZodLiteral<"boolean">;
@@ -548,6 +548,7 @@ export declare const AllFragmentsSchema: z.ZodDiscriminatedUnion<"type", [z.ZodO
548
548
  isComplete: true;
549
549
  } | {
550
550
  type: "array";
551
+ isComplete: boolean;
551
552
  items: ({
552
553
  type: "string";
553
554
  value: string;
@@ -557,11 +558,11 @@ export declare const AllFragmentsSchema: z.ZodDiscriminatedUnion<"type", [z.ZodO
557
558
  value: boolean;
558
559
  isComplete: true;
559
560
  })[];
560
- isComplete: boolean;
561
561
  }>, Record<string, any>>;
562
562
  isComplete: z.ZodBoolean;
563
563
  }, "strip", z.ZodTypeAny, {
564
564
  type: "rule";
565
+ rule: string;
565
566
  children: Record<string, {
566
567
  type: "string";
567
568
  value: string;
@@ -572,6 +573,7 @@ export declare const AllFragmentsSchema: z.ZodDiscriminatedUnion<"type", [z.ZodO
572
573
  isComplete: true;
573
574
  } | {
574
575
  type: "array";
576
+ isComplete: boolean;
575
577
  items: ({
576
578
  type: "string";
577
579
  value: string;
@@ -581,14 +583,12 @@ export declare const AllFragmentsSchema: z.ZodDiscriminatedUnion<"type", [z.ZodO
581
583
  value: boolean;
582
584
  isComplete: true;
583
585
  })[];
584
- isComplete: boolean;
585
586
  }>;
586
- rule: string;
587
587
  isComplete: boolean;
588
588
  }, {
589
589
  type: "rule";
590
- children: Record<string, any>;
591
590
  rule: string;
591
+ children: Record<string, any>;
592
592
  isComplete: boolean;
593
593
  }>, z.ZodObject<{
594
594
  type: z.ZodLiteral<"preparedExtensionTag">;
@@ -623,6 +623,7 @@ export declare const AllFragmentsSchema: z.ZodDiscriminatedUnion<"type", [z.ZodO
623
623
  isComplete: true;
624
624
  } | {
625
625
  type: "array";
626
+ isComplete: boolean;
626
627
  items: ({
627
628
  type: "string";
628
629
  value: string;
@@ -632,14 +633,13 @@ export declare const AllFragmentsSchema: z.ZodDiscriminatedUnion<"type", [z.ZodO
632
633
  value: boolean;
633
634
  isComplete: true;
634
635
  })[];
635
- isComplete: boolean;
636
636
  }>, Record<string, any>>;
637
637
  isComplete: z.ZodBoolean;
638
638
  offset: z.ZodNumber;
639
639
  rawString: z.ZodOptional<z.ZodString>;
640
640
  }, "strip", z.ZodTypeAny, {
641
641
  type: "extensionTag";
642
- offset: number;
642
+ tag: string;
643
643
  children: Record<string, {
644
644
  type: "string";
645
645
  value: string;
@@ -650,6 +650,7 @@ export declare const AllFragmentsSchema: z.ZodDiscriminatedUnion<"type", [z.ZodO
650
650
  isComplete: true;
651
651
  } | {
652
652
  type: "array";
653
+ isComplete: boolean;
653
654
  items: ({
654
655
  type: "string";
655
656
  value: string;
@@ -659,18 +660,17 @@ export declare const AllFragmentsSchema: z.ZodDiscriminatedUnion<"type", [z.ZodO
659
660
  value: boolean;
660
661
  isComplete: true;
661
662
  })[];
662
- isComplete: boolean;
663
663
  }>;
664
- tag: string;
664
+ offset: number;
665
665
  isComplete: boolean;
666
666
  extension: string;
667
667
  rawExtension: string;
668
668
  rawString?: string | undefined;
669
669
  }, {
670
670
  type: "extensionTag";
671
- offset: number;
672
- children: Record<string, any>;
673
671
  tag: string;
672
+ children: Record<string, any>;
673
+ offset: number;
674
674
  isComplete: boolean;
675
675
  extension: string;
676
676
  rawExtension: string;