@paklo/core 0.6.0 → 0.7.0

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 (32) hide show
  1. package/README.md +16 -0
  2. package/dist/azure/index.d.mts +18 -5
  3. package/dist/azure/index.mjs +36 -24
  4. package/dist/azure/index.mjs.map +1 -1
  5. package/dist/dependabot/index.d.mts +3 -3
  6. package/dist/dependabot/index.mjs +5 -5
  7. package/dist/{dependabot-B3kgBX3l.mjs → dependabot-DBfBwsNy.mjs} +75 -13
  8. package/dist/dependabot-DBfBwsNy.mjs.map +1 -0
  9. package/dist/environment/index.d.mts +1 -1
  10. package/dist/environment/index.mjs +1 -1
  11. package/dist/{environment-Bym4B757.mjs → environment-DxHQ97yw.mjs} +3 -22
  12. package/dist/environment-DxHQ97yw.mjs.map +1 -0
  13. package/dist/github/index.d.mts +1 -1
  14. package/dist/github/index.mjs +2 -2
  15. package/dist/hono.d.mts +34 -0
  16. package/dist/hono.mjs +37 -0
  17. package/dist/hono.mjs.map +1 -0
  18. package/dist/http/index.mjs +2 -2
  19. package/dist/{http-CVZgS8c2.mjs → http-50rptIBF.mjs} +2 -2
  20. package/dist/{http-CVZgS8c2.mjs.map → http-50rptIBF.mjs.map} +1 -1
  21. package/dist/{index-Z81896Ma.d.mts → index-4kLQpBct.d.mts} +1 -1
  22. package/dist/{index-CcnWCDDV.d.mts → index-CLEzOAkx.d.mts} +338 -40
  23. package/dist/{job-N2pOBjBO.mjs → job-Bv41xyKj.mjs} +17 -8
  24. package/dist/job-Bv41xyKj.mjs.map +1 -0
  25. package/dist/{logger-SYCv5hwZ.mjs → logger-DIt9KuME.mjs} +2 -2
  26. package/dist/{logger-SYCv5hwZ.mjs.map → logger-DIt9KuME.mjs.map} +1 -1
  27. package/dist/logger.mjs +2 -2
  28. package/dist/usage.mjs +1 -1
  29. package/package.json +7 -3
  30. package/dist/dependabot-B3kgBX3l.mjs.map +0 -1
  31. package/dist/environment-Bym4B757.mjs.map +0 -1
  32. package/dist/job-N2pOBjBO.mjs.map +0 -1
@@ -1,4 +1,4 @@
1
- import { p as SecurityVulnerability } from "./index-Z81896Ma.mjs";
1
+ import { p as SecurityVulnerability } from "./index-4kLQpBct.mjs";
2
2
  import { z } from "zod";
3
3
  import { Hono } from "hono";
4
4
 
@@ -113,11 +113,11 @@ type DependabotGroup = z.infer<typeof DependabotGroupSchema>;
113
113
  declare const DependabotAllowConditionSchema: z.ZodObject<{
114
114
  'dependency-name': z.ZodOptional<z.ZodString>;
115
115
  'dependency-type': z.ZodOptional<z.ZodEnum<{
116
- all: "all";
117
- development: "development";
118
- production: "production";
119
116
  direct: "direct";
120
117
  indirect: "indirect";
118
+ development: "development";
119
+ all: "all";
120
+ production: "production";
121
121
  }>>;
122
122
  'update-type': z.ZodOptional<z.ZodEnum<{
123
123
  all: "all";
@@ -276,11 +276,11 @@ declare const DependabotUpdateSchema: z.ZodPipe<z.ZodObject<{
276
276
  allow: z.ZodOptional<z.ZodArray<z.ZodObject<{
277
277
  'dependency-name': z.ZodOptional<z.ZodString>;
278
278
  'dependency-type': z.ZodOptional<z.ZodEnum<{
279
- all: "all";
280
- development: "development";
281
- production: "production";
282
279
  direct: "direct";
283
280
  indirect: "indirect";
281
+ development: "development";
282
+ all: "all";
283
+ production: "production";
284
284
  }>>;
285
285
  'update-type': z.ZodOptional<z.ZodEnum<{
286
286
  all: "all";
@@ -393,7 +393,7 @@ declare const DependabotUpdateSchema: z.ZodPipe<z.ZodObject<{
393
393
  'exclude-paths'?: string[] | undefined;
394
394
  allow?: {
395
395
  'dependency-name'?: string | undefined;
396
- 'dependency-type'?: "all" | "development" | "production" | "direct" | "indirect" | undefined;
396
+ 'dependency-type'?: "direct" | "indirect" | "development" | "all" | "production" | undefined;
397
397
  'update-type'?: "all" | "security" | undefined;
398
398
  }[] | undefined;
399
399
  assignees?: string[] | undefined;
@@ -451,7 +451,7 @@ declare const DependabotUpdateSchema: z.ZodPipe<z.ZodObject<{
451
451
  'exclude-paths'?: string[] | undefined;
452
452
  allow?: {
453
453
  'dependency-name'?: string | undefined;
454
- 'dependency-type'?: "all" | "development" | "production" | "direct" | "indirect" | undefined;
454
+ 'dependency-type'?: "direct" | "indirect" | "development" | "all" | "production" | undefined;
455
455
  'update-type'?: "all" | "security" | undefined;
456
456
  }[] | undefined;
457
457
  assignees?: string[] | undefined;
@@ -651,11 +651,11 @@ declare const DependabotConfigSchema: z.ZodPipe<z.ZodObject<{
651
651
  allow: z.ZodOptional<z.ZodArray<z.ZodObject<{
652
652
  'dependency-name': z.ZodOptional<z.ZodString>;
653
653
  'dependency-type': z.ZodOptional<z.ZodEnum<{
654
- all: "all";
655
- development: "development";
656
- production: "production";
657
654
  direct: "direct";
658
655
  indirect: "indirect";
656
+ development: "development";
657
+ all: "all";
658
+ production: "production";
659
659
  }>>;
660
660
  'update-type': z.ZodOptional<z.ZodEnum<{
661
661
  all: "all";
@@ -768,7 +768,7 @@ declare const DependabotConfigSchema: z.ZodPipe<z.ZodObject<{
768
768
  'exclude-paths'?: string[] | undefined;
769
769
  allow?: {
770
770
  'dependency-name'?: string | undefined;
771
- 'dependency-type'?: "all" | "development" | "production" | "direct" | "indirect" | undefined;
771
+ 'dependency-type'?: "direct" | "indirect" | "development" | "all" | "production" | undefined;
772
772
  'update-type'?: "all" | "security" | undefined;
773
773
  }[] | undefined;
774
774
  assignees?: string[] | undefined;
@@ -826,7 +826,7 @@ declare const DependabotConfigSchema: z.ZodPipe<z.ZodObject<{
826
826
  'exclude-paths'?: string[] | undefined;
827
827
  allow?: {
828
828
  'dependency-name'?: string | undefined;
829
- 'dependency-type'?: "all" | "development" | "production" | "direct" | "indirect" | undefined;
829
+ 'dependency-type'?: "direct" | "indirect" | "development" | "all" | "production" | undefined;
830
830
  'update-type'?: "all" | "security" | undefined;
831
831
  }[] | undefined;
832
832
  assignees?: string[] | undefined;
@@ -956,7 +956,7 @@ declare const DependabotConfigSchema: z.ZodPipe<z.ZodObject<{
956
956
  'exclude-paths'?: string[] | undefined;
957
957
  allow?: {
958
958
  'dependency-name'?: string | undefined;
959
- 'dependency-type'?: "all" | "development" | "production" | "direct" | "indirect" | undefined;
959
+ 'dependency-type'?: "direct" | "indirect" | "development" | "all" | "production" | undefined;
960
960
  'update-type'?: "all" | "security" | undefined;
961
961
  }[] | undefined;
962
962
  assignees?: string[] | undefined;
@@ -1057,7 +1057,7 @@ declare const DependabotConfigSchema: z.ZodPipe<z.ZodObject<{
1057
1057
  'exclude-paths'?: string[] | undefined;
1058
1058
  allow?: {
1059
1059
  'dependency-name'?: string | undefined;
1060
- 'dependency-type'?: "all" | "development" | "production" | "direct" | "indirect" | undefined;
1060
+ 'dependency-type'?: "direct" | "indirect" | "development" | "all" | "production" | undefined;
1061
1061
  'update-type'?: "all" | "security" | undefined;
1062
1062
  }[] | undefined;
1063
1063
  assignees?: string[] | undefined;
@@ -1795,9 +1795,11 @@ declare const DependabotRequestTypeSchema: z.ZodEnum<{
1795
1795
  update_pull_request: "update_pull_request";
1796
1796
  close_pull_request: "close_pull_request";
1797
1797
  record_update_job_error: "record_update_job_error";
1798
+ record_update_job_warning: "record_update_job_warning";
1798
1799
  record_update_job_unknown_error: "record_update_job_unknown_error";
1799
1800
  mark_as_processed: "mark_as_processed";
1800
1801
  update_dependency_list: "update_dependency_list";
1802
+ create_dependency_submission: "create_dependency_submission";
1801
1803
  record_ecosystem_versions: "record_ecosystem_versions";
1802
1804
  record_ecosystem_meta: "record_ecosystem_meta";
1803
1805
  increment_metric: "increment_metric";
@@ -1834,16 +1836,30 @@ declare const DependabotRequestSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1834
1836
  directory: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1835
1837
  }, z.core.$strip>>;
1836
1838
  'updated-dependency-files': z.ZodArray<z.ZodObject<{
1837
- content: z.ZodString;
1838
- content_encoding: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1839
+ content: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1840
+ content_encoding: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
1841
+ "utf-8": "utf-8";
1842
+ base64: "base64";
1843
+ }>>>;
1839
1844
  deleted: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1840
1845
  directory: z.ZodString;
1841
1846
  name: z.ZodString;
1842
- operation: z.ZodString;
1847
+ operation: z.ZodEnum<{
1848
+ update: "update";
1849
+ create: "create";
1850
+ delete: "delete";
1851
+ }>;
1843
1852
  support_file: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1853
+ vendored_file: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1844
1854
  symlink_target: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1845
1855
  type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1846
- mode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1856
+ mode: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodEnum<{
1857
+ readonly executable: "100755";
1858
+ readonly file: "100644";
1859
+ readonly directory: "040000";
1860
+ readonly submodule: "160000";
1861
+ readonly symlink: "120000";
1862
+ }>, z.ZodString]>>>;
1847
1863
  }, z.core.$strip>>;
1848
1864
  'pr-title': z.ZodString;
1849
1865
  'pr-body': z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -1856,16 +1872,30 @@ declare const DependabotRequestSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1856
1872
  'base-commit-sha': z.ZodString;
1857
1873
  'dependency-names': z.ZodArray<z.ZodString>;
1858
1874
  'updated-dependency-files': z.ZodArray<z.ZodObject<{
1859
- content: z.ZodString;
1860
- content_encoding: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1875
+ content: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1876
+ content_encoding: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
1877
+ "utf-8": "utf-8";
1878
+ base64: "base64";
1879
+ }>>>;
1861
1880
  deleted: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1862
1881
  directory: z.ZodString;
1863
1882
  name: z.ZodString;
1864
- operation: z.ZodString;
1883
+ operation: z.ZodEnum<{
1884
+ update: "update";
1885
+ create: "create";
1886
+ delete: "delete";
1887
+ }>;
1865
1888
  support_file: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1889
+ vendored_file: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1866
1890
  symlink_target: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1867
1891
  type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1868
- mode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1892
+ mode: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodEnum<{
1893
+ readonly executable: "100755";
1894
+ readonly file: "100644";
1895
+ readonly directory: "040000";
1896
+ readonly submodule: "160000";
1897
+ readonly symlink: "120000";
1898
+ }>, z.ZodString]>>>;
1869
1899
  }, z.core.$strip>>;
1870
1900
  'pr-title': z.ZodOptional<z.ZodNullable<z.ZodString>>;
1871
1901
  'pr-body': z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -1876,7 +1906,13 @@ declare const DependabotRequestSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1876
1906
  type: z.ZodLiteral<"close_pull_request">;
1877
1907
  data: z.ZodObject<{
1878
1908
  'dependency-names': z.ZodArray<z.ZodString>;
1879
- reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1909
+ reason: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
1910
+ dependencies_changed: "dependencies_changed";
1911
+ dependency_group_empty: "dependency_group_empty";
1912
+ dependency_removed: "dependency_removed";
1913
+ up_to_date: "up_to_date";
1914
+ update_no_longer_possible: "update_no_longer_possible";
1915
+ }>>>;
1880
1916
  }, z.core.$strip>;
1881
1917
  }, z.core.$strip>, z.ZodObject<{
1882
1918
  type: z.ZodLiteral<"record_update_job_error">;
@@ -1884,6 +1920,13 @@ declare const DependabotRequestSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1884
1920
  'error-type': z.ZodString;
1885
1921
  'error-details': z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>>;
1886
1922
  }, z.core.$strip>;
1923
+ }, z.core.$strip>, z.ZodObject<{
1924
+ type: z.ZodLiteral<"record_update_job_warning">;
1925
+ data: z.ZodObject<{
1926
+ 'warn-type': z.ZodString;
1927
+ 'warn-title': z.ZodString;
1928
+ 'warn-description': z.ZodString;
1929
+ }, z.core.$strip>;
1887
1930
  }, z.core.$strip>, z.ZodObject<{
1888
1931
  type: z.ZodLiteral<"record_update_job_unknown_error">;
1889
1932
  data: z.ZodObject<{
@@ -1925,6 +1968,96 @@ declare const DependabotRequestSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1925
1968
  }, z.core.$strip>>;
1926
1969
  dependency_files: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
1927
1970
  }, z.core.$strip>;
1971
+ }, z.core.$strip>, z.ZodObject<{
1972
+ type: z.ZodLiteral<"create_dependency_submission">;
1973
+ data: z.ZodObject<{
1974
+ version: z.ZodNumber;
1975
+ sha: z.ZodString;
1976
+ ref: z.ZodString;
1977
+ job: z.ZodObject<{
1978
+ correlator: z.ZodString;
1979
+ id: z.ZodString;
1980
+ }, z.core.$strip>;
1981
+ detector: z.ZodObject<{
1982
+ name: z.ZodString;
1983
+ version: z.ZodString;
1984
+ url: z.ZodString;
1985
+ }, z.core.$strip>;
1986
+ manifests: z.ZodObject<{
1987
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1988
+ file: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1989
+ source_location: z.ZodString;
1990
+ }, z.core.$strip>>>;
1991
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1992
+ ecosystem: z.ZodEnum<{
1993
+ bundler: "bundler";
1994
+ cargo: "cargo";
1995
+ composer: "composer";
1996
+ pub: "pub";
1997
+ docker: "docker";
1998
+ elm: "elm";
1999
+ github_actions: "github_actions";
2000
+ submodules: "submodules";
2001
+ go_modules: "go_modules";
2002
+ gradle: "gradle";
2003
+ maven: "maven";
2004
+ hex: "hex";
2005
+ nuget: "nuget";
2006
+ npm_and_yarn: "npm_and_yarn";
2007
+ pip: "pip";
2008
+ rust_toolchain: "rust_toolchain";
2009
+ swift: "swift";
2010
+ terraform: "terraform";
2011
+ devcontainers: "devcontainers";
2012
+ dotnet_sdk: "dotnet_sdk";
2013
+ bun: "bun";
2014
+ docker_compose: "docker_compose";
2015
+ uv: "uv";
2016
+ vcpkg: "vcpkg";
2017
+ helm: "helm";
2018
+ julia: "julia";
2019
+ bazel: "bazel";
2020
+ opentofu: "opentofu";
2021
+ }>;
2022
+ }, z.core.$strip>>>;
2023
+ resolved: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2024
+ package_url: z.ZodString;
2025
+ relationship: z.ZodEnum<{
2026
+ direct: "direct";
2027
+ indirect: "indirect";
2028
+ }>;
2029
+ scope: z.ZodEnum<{
2030
+ runtime: "runtime";
2031
+ development: "development";
2032
+ }>;
2033
+ dependencies: z.ZodArray<z.ZodObject<{
2034
+ name: z.ZodString;
2035
+ 'previous-requirements': z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
2036
+ file: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2037
+ groups: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
2038
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>>;
2039
+ requirement: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2040
+ source: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>>;
2041
+ version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2042
+ 'previous-version': z.ZodOptional<z.ZodNullable<z.ZodString>>;
2043
+ }, z.core.$strip>>>>;
2044
+ 'previous-version': z.ZodOptional<z.ZodNullable<z.ZodString>>;
2045
+ version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2046
+ requirements: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
2047
+ file: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2048
+ groups: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
2049
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>>;
2050
+ requirement: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2051
+ source: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>>;
2052
+ version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2053
+ 'previous-version': z.ZodOptional<z.ZodNullable<z.ZodString>>;
2054
+ }, z.core.$strip>>>>;
2055
+ removed: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
2056
+ directory: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2057
+ }, z.core.$strip>>;
2058
+ }, z.core.$strip>>>;
2059
+ }, z.core.$strip>;
2060
+ }, z.core.$strip>;
1928
2061
  }, z.core.$strip>, z.ZodObject<{
1929
2062
  type: z.ZodLiteral<"record_ecosystem_versions">;
1930
2063
  data: z.ZodObject<{
@@ -1987,6 +2120,14 @@ type AuthenticatorFunc = (type: DependabotTokenType, id: string, value: string)
1987
2120
  * @returns A promise that resolves to the result of handling the request.
1988
2121
  */
1989
2122
  type HandlerFunc = (id: string, request: DependabotRequest) => Promise<boolean>;
2123
+ /**
2124
+ * Function for inspecting raw dependabot requests.
2125
+ * @param id - The ID of the dependabot job.
2126
+ * @param type - The type of dependabot request.
2127
+ * @param raw - The raw JSON data of the request.
2128
+ * @returns A promise that resolves when the operation is complete.
2129
+ */
2130
+ type InspectRequestFunc = (id: string, type: DependabotRequestType, raw: unknown) => Promise<void>;
1990
2131
  /**
1991
2132
  * Function for getting a dependabot job config by ID.
1992
2133
  * @param id - The ID of the dependabot job.
@@ -2011,6 +2152,11 @@ type CreateApiServerAppOptions = {
2011
2152
  getJob: GetJobFunc;
2012
2153
  /** Function for getting dependabot credentials by job ID. */
2013
2154
  getCredentials: GetCredentialsFunc;
2155
+ /**
2156
+ * Optional function for inspecting raw dependabot requests.
2157
+ * Should only be used for troubleshooting.
2158
+ * */
2159
+ inspect?: InspectRequestFunc;
2014
2160
  /** Handler function for processing the operations. */
2015
2161
  handle: HandlerFunc;
2016
2162
  };
@@ -2031,21 +2177,36 @@ declare function createApiServerApp({
2031
2177
  authenticate,
2032
2178
  getJob,
2033
2179
  getCredentials,
2180
+ inspect,
2034
2181
  handle
2035
2182
  }: CreateApiServerAppOptions): Hono;
2036
2183
  //#endregion
2037
2184
  //#region src/dependabot/update.d.ts
2038
2185
  declare const DependabotDependencyFileSchema: z.ZodObject<{
2039
- content: z.ZodString;
2040
- content_encoding: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2186
+ content: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2187
+ content_encoding: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
2188
+ "utf-8": "utf-8";
2189
+ base64: "base64";
2190
+ }>>>;
2041
2191
  deleted: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
2042
2192
  directory: z.ZodString;
2043
2193
  name: z.ZodString;
2044
- operation: z.ZodString;
2194
+ operation: z.ZodEnum<{
2195
+ update: "update";
2196
+ create: "create";
2197
+ delete: "delete";
2198
+ }>;
2045
2199
  support_file: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
2200
+ vendored_file: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
2046
2201
  symlink_target: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2047
2202
  type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2048
- mode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2203
+ mode: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodEnum<{
2204
+ readonly executable: "100755";
2205
+ readonly file: "100644";
2206
+ readonly directory: "040000";
2207
+ readonly submodule: "160000";
2208
+ readonly symlink: "120000";
2209
+ }>, z.ZodString]>>>;
2049
2210
  }, z.core.$strip>;
2050
2211
  type DependabotDependencyFile = z.infer<typeof DependabotDependencyFileSchema>;
2051
2212
  declare const DependabotUpdateDependencyListSchema: z.ZodObject<{
@@ -2077,6 +2238,95 @@ declare const DependabotUpdateDependencyListSchema: z.ZodObject<{
2077
2238
  dependency_files: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
2078
2239
  }, z.core.$strip>;
2079
2240
  type DependabotUpdateDependencyList = z.infer<typeof DependabotUpdateDependencyListSchema>;
2241
+ declare const DependabotDependencySubmissionSchema: z.ZodObject<{
2242
+ version: z.ZodNumber;
2243
+ sha: z.ZodString;
2244
+ ref: z.ZodString;
2245
+ job: z.ZodObject<{
2246
+ correlator: z.ZodString;
2247
+ id: z.ZodString;
2248
+ }, z.core.$strip>;
2249
+ detector: z.ZodObject<{
2250
+ name: z.ZodString;
2251
+ version: z.ZodString;
2252
+ url: z.ZodString;
2253
+ }, z.core.$strip>;
2254
+ manifests: z.ZodObject<{
2255
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2256
+ file: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2257
+ source_location: z.ZodString;
2258
+ }, z.core.$strip>>>;
2259
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2260
+ ecosystem: z.ZodEnum<{
2261
+ bundler: "bundler";
2262
+ cargo: "cargo";
2263
+ composer: "composer";
2264
+ pub: "pub";
2265
+ docker: "docker";
2266
+ elm: "elm";
2267
+ github_actions: "github_actions";
2268
+ submodules: "submodules";
2269
+ go_modules: "go_modules";
2270
+ gradle: "gradle";
2271
+ maven: "maven";
2272
+ hex: "hex";
2273
+ nuget: "nuget";
2274
+ npm_and_yarn: "npm_and_yarn";
2275
+ pip: "pip";
2276
+ rust_toolchain: "rust_toolchain";
2277
+ swift: "swift";
2278
+ terraform: "terraform";
2279
+ devcontainers: "devcontainers";
2280
+ dotnet_sdk: "dotnet_sdk";
2281
+ bun: "bun";
2282
+ docker_compose: "docker_compose";
2283
+ uv: "uv";
2284
+ vcpkg: "vcpkg";
2285
+ helm: "helm";
2286
+ julia: "julia";
2287
+ bazel: "bazel";
2288
+ opentofu: "opentofu";
2289
+ }>;
2290
+ }, z.core.$strip>>>;
2291
+ resolved: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2292
+ package_url: z.ZodString;
2293
+ relationship: z.ZodEnum<{
2294
+ direct: "direct";
2295
+ indirect: "indirect";
2296
+ }>;
2297
+ scope: z.ZodEnum<{
2298
+ runtime: "runtime";
2299
+ development: "development";
2300
+ }>;
2301
+ dependencies: z.ZodArray<z.ZodObject<{
2302
+ name: z.ZodString;
2303
+ 'previous-requirements': z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
2304
+ file: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2305
+ groups: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
2306
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>>;
2307
+ requirement: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2308
+ source: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>>;
2309
+ version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2310
+ 'previous-version': z.ZodOptional<z.ZodNullable<z.ZodString>>;
2311
+ }, z.core.$strip>>>>;
2312
+ 'previous-version': z.ZodOptional<z.ZodNullable<z.ZodString>>;
2313
+ version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2314
+ requirements: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
2315
+ file: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2316
+ groups: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
2317
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>>;
2318
+ requirement: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2319
+ source: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>>;
2320
+ version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2321
+ 'previous-version': z.ZodOptional<z.ZodNullable<z.ZodString>>;
2322
+ }, z.core.$strip>>>>;
2323
+ removed: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
2324
+ directory: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2325
+ }, z.core.$strip>>;
2326
+ }, z.core.$strip>>>;
2327
+ }, z.core.$strip>;
2328
+ }, z.core.$strip>;
2329
+ type DependabotDependencySubmission = z.infer<typeof DependabotDependencySubmissionSchema>;
2080
2330
  declare const DependabotCreatePullRequestSchema: z.ZodObject<{
2081
2331
  'base-commit-sha': z.ZodString;
2082
2332
  dependencies: z.ZodArray<z.ZodObject<{
@@ -2105,16 +2355,30 @@ declare const DependabotCreatePullRequestSchema: z.ZodObject<{
2105
2355
  directory: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2106
2356
  }, z.core.$strip>>;
2107
2357
  'updated-dependency-files': z.ZodArray<z.ZodObject<{
2108
- content: z.ZodString;
2109
- content_encoding: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2358
+ content: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2359
+ content_encoding: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
2360
+ "utf-8": "utf-8";
2361
+ base64: "base64";
2362
+ }>>>;
2110
2363
  deleted: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
2111
2364
  directory: z.ZodString;
2112
2365
  name: z.ZodString;
2113
- operation: z.ZodString;
2366
+ operation: z.ZodEnum<{
2367
+ update: "update";
2368
+ create: "create";
2369
+ delete: "delete";
2370
+ }>;
2114
2371
  support_file: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
2372
+ vendored_file: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
2115
2373
  symlink_target: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2116
2374
  type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2117
- mode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2375
+ mode: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodEnum<{
2376
+ readonly executable: "100755";
2377
+ readonly file: "100644";
2378
+ readonly directory: "040000";
2379
+ readonly submodule: "160000";
2380
+ readonly symlink: "120000";
2381
+ }>, z.ZodString]>>>;
2118
2382
  }, z.core.$strip>>;
2119
2383
  'pr-title': z.ZodString;
2120
2384
  'pr-body': z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -2126,16 +2390,30 @@ declare const DependabotUpdatePullRequestSchema: z.ZodObject<{
2126
2390
  'base-commit-sha': z.ZodString;
2127
2391
  'dependency-names': z.ZodArray<z.ZodString>;
2128
2392
  'updated-dependency-files': z.ZodArray<z.ZodObject<{
2129
- content: z.ZodString;
2130
- content_encoding: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2393
+ content: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2394
+ content_encoding: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
2395
+ "utf-8": "utf-8";
2396
+ base64: "base64";
2397
+ }>>>;
2131
2398
  deleted: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
2132
2399
  directory: z.ZodString;
2133
2400
  name: z.ZodString;
2134
- operation: z.ZodString;
2401
+ operation: z.ZodEnum<{
2402
+ update: "update";
2403
+ create: "create";
2404
+ delete: "delete";
2405
+ }>;
2135
2406
  support_file: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
2407
+ vendored_file: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
2136
2408
  symlink_target: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2137
2409
  type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2138
- mode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2410
+ mode: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodEnum<{
2411
+ readonly executable: "100755";
2412
+ readonly file: "100644";
2413
+ readonly directory: "040000";
2414
+ readonly submodule: "160000";
2415
+ readonly symlink: "120000";
2416
+ }>, z.ZodString]>>>;
2139
2417
  }, z.core.$strip>>;
2140
2418
  'pr-title': z.ZodOptional<z.ZodNullable<z.ZodString>>;
2141
2419
  'pr-body': z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -2143,9 +2421,23 @@ declare const DependabotUpdatePullRequestSchema: z.ZodObject<{
2143
2421
  'dependency-group': z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>>;
2144
2422
  }, z.core.$strip>;
2145
2423
  type DependabotUpdatePullRequest = z.infer<typeof DependabotUpdatePullRequestSchema>;
2424
+ declare const DependabotClosePullRequestReasonEnum: z.ZodEnum<{
2425
+ dependencies_changed: "dependencies_changed";
2426
+ dependency_group_empty: "dependency_group_empty";
2427
+ dependency_removed: "dependency_removed";
2428
+ up_to_date: "up_to_date";
2429
+ update_no_longer_possible: "update_no_longer_possible";
2430
+ }>;
2431
+ type DependabotClosePullRequestReason = z.infer<typeof DependabotClosePullRequestReasonEnum>;
2146
2432
  declare const DependabotClosePullRequestSchema: z.ZodObject<{
2147
2433
  'dependency-names': z.ZodArray<z.ZodString>;
2148
- reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2434
+ reason: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
2435
+ dependencies_changed: "dependencies_changed";
2436
+ dependency_group_empty: "dependency_group_empty";
2437
+ dependency_removed: "dependency_removed";
2438
+ up_to_date: "up_to_date";
2439
+ update_no_longer_possible: "update_no_longer_possible";
2440
+ }>>>;
2149
2441
  }, z.core.$strip>;
2150
2442
  type DependabotClosePullRequest = z.infer<typeof DependabotClosePullRequestSchema>;
2151
2443
  declare const DependabotMarkAsProcessedSchema: z.ZodObject<{
@@ -2157,6 +2449,12 @@ declare const DependabotRecordUpdateJobErrorSchema: z.ZodObject<{
2157
2449
  'error-details': z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>>;
2158
2450
  }, z.core.$strip>;
2159
2451
  type DependabotRecordUpdateJobError = z.infer<typeof DependabotRecordUpdateJobErrorSchema>;
2452
+ declare const DependabotRecordUpdateJobWarningSchema: z.ZodObject<{
2453
+ 'warn-type': z.ZodString;
2454
+ 'warn-title': z.ZodString;
2455
+ 'warn-description': z.ZodString;
2456
+ }, z.core.$strip>;
2457
+ type DependabotRecordUpdateJobWarning = z.infer<typeof DependabotRecordUpdateJobWarningSchema>;
2160
2458
  declare const DependabotRecordUpdateJobUnknownErrorSchema: z.ZodObject<{
2161
2459
  'error-type': z.ZodString;
2162
2460
  'error-details': z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>>;
@@ -2226,5 +2524,5 @@ declare const DependabotMetricSchema: z.ZodObject<{
2226
2524
  }, z.core.$strip>;
2227
2525
  type DependabotMetric = z.infer<typeof DependabotMetricSchema>;
2228
2526
  //#endregion
2229
- export { sanitizeRef as $, DependabotGroup as $t, DependabotRequest as A, DependabotProxyConfig as At, mapAllowedUpdatesFromDependabotConfigToJobConfig as B, DependabotSourceProviderSchema as Bt, DependabotRecordUpdateJobUnknownError as C, extractPlaceholder as Cn, DependabotGroupRuleJobSchema as Ct, DependabotUpdatePullRequest as D, DependabotJobFileSchema as Dt, DependabotUpdateDependencyListSchema as E, GitAuthor as En, DependabotJobFile as Et, createApiServerApp as F, DependabotRequirementSourceSchema as Ft, mapPackageEcosystemToPackageManager as G, DependabotAllowCondition as Gt, mapExperiments as H, FetchedFiles as Ht, DependabotJobBuilder as I, DependabotSecurityAdvisory as It, mapVersionStrategyToRequirementsUpdateStrategy as J, DependabotCommitMessageSchema as Jt, mapSecurityAdvisories as K, DependabotAllowConditionSchema as Kt, DependabotJobBuilderOutput as L, DependabotSecurityAdvisorySchema as Lt, DependabotRequestType as M, DependabotRequirement as Mt, DependabotRequestTypeSchema as N, DependabotRequirementSchema as Nt, DependabotUpdatePullRequestSchema as O, DependabotPackageManager as Ot, DependabotTokenType as P, DependabotRequirementSource as Pt, getBranchNameForUpdate as Q, DependabotCooldownSchema as Qt, DependabotSourceInfo as R, DependabotSource as Rt, DependabotRecordUpdateJobErrorSchema as S, convertPlaceholder as Sn, DependabotGroupRuleJob as St, DependabotUpdateDependencyList as T, DEPENDABOT_DEFAULT_AUTHOR_NAME as Tn, DependabotJobConfigSchema as Tt, mapGroupsFromDependabotConfigToJobConfig as U, FileFetcherInput as Ut, mapCredentials as V, DependabotSourceSchema as Vt, mapIgnoreConditionsFromDependabotConfigToJobConfig as W, FileUpdaterInput as Wt, parseExperiments as X, DependabotConfigSchema as Xt, DEFAULT_EXPERIMENTS as Y, DependabotConfig as Yt, makeDirectoryKey as Z, DependabotCooldown as Zt, DependabotRecordEcosystemMeta as _, parseDependabotConfig as _n, DependabotExistingPRSchema as _t, DependabotDependencyFile as a, DependabotPullRequestBranchName as an, DependabotCommandSchema as at, DependabotRecordEcosystemVersionsSchema as b, validateConfiguration as bn, DependabotGroupJob as bt, DependabotEcosystemMetaSchema as c, DependabotSchedule as cn, DependabotCondition as ct, DependabotIncrementMetric as d, DependabotUpdateSchema as dn, DependabotCredentialSchema as dt, DependabotGroupSchema as en, CertificateAuthority as et, DependabotIncrementMetricSchema as f, POSSIBLE_CONFIG_FILE_PATHS as fn, DependabotDependency as ft, DependabotMetricSchema as g, VersioningStrategySchema as gn, DependabotExistingPR as gt, DependabotMetric as h, VersioningStrategy as hn, DependabotExistingGroupPRSchema as ht, DependabotCreatePullRequestSchema as i, DependabotMultiEcosystemGroupSchema as in, DependabotCommand as it, DependabotRequestSchema as j, DependabotProxyConfigSchema as jt, CreateApiServerAppOptions as k, DependabotPackageManagerSchema as kt, DependabotEcosystemVersionManager as l, DependabotScheduleSchema as ln, DependabotConditionSchema as lt, DependabotMarkAsProcessedSchema as m, PackageEcosystemSchema as mn, DependabotExistingGroupPR as mt, DependabotClosePullRequestSchema as n, DependabotIgnoreConditionSchema as nn, DependabotAllowed as nt, DependabotDependencyFileSchema as o, DependabotRegistry as on, DependabotCommitOptions as ot, DependabotMarkAsProcessed as p, PackageEcosystem as pn, DependabotDependencySchema as pt, mapSourceFromDependabotConfigToJobConfig as q, DependabotCommitMessage as qt, DependabotCreatePullRequest as r, DependabotMultiEcosystemGroup as rn, DependabotAllowedSchema as rt, DependabotEcosystemMeta as s, DependabotRegistrySchema as sn, DependabotCommitOptionsSchema as st, DependabotClosePullRequest as t, DependabotIgnoreCondition as tn, CertificateAuthoritySchema as tt, DependabotEcosystemVersionManagerSchema as u, DependabotUpdate as un, DependabotCredential as ut, DependabotRecordEcosystemMetaSchema as v, parseRegistries as vn, DependabotExperiments as vt, DependabotRecordUpdateJobUnknownErrorSchema as w, DEPENDABOT_DEFAULT_AUTHOR_EMAIL as wn, DependabotJobConfig as wt, DependabotRecordUpdateJobError as x, VariableFinderFn as xn, DependabotGroupJobSchema as xt, DependabotRecordEcosystemVersions as y, parseUpdates as yn, DependabotExperimentsSchema as yt, makeRandomJobId as z, DependabotSourceProvider as zt };
2230
- //# sourceMappingURL=index-CcnWCDDV.d.mts.map
2527
+ export { mapSourceFromDependabotConfigToJobConfig as $, DependabotCommitMessage as $t, DependabotRecordUpdateJobWarningSchema as A, DEPENDABOT_DEFAULT_AUTHOR_EMAIL as An, DependabotJobConfig as At, DependabotTokenType as B, DependabotRequirementSource as Bt, DependabotRecordEcosystemVersions as C, parseDependabotConfig as Cn, DependabotExistingPRSchema as Ct, DependabotRecordUpdateJobUnknownError as D, VariableFinderFn as Dn, DependabotGroupJobSchema as Dt, DependabotRecordUpdateJobErrorSchema as E, validateConfiguration as En, DependabotGroupJob as Et, CreateApiServerAppOptions as F, DependabotPackageManagerSchema as Ft, makeRandomJobId as G, DependabotSourceProvider as Gt, DependabotJobBuilder as H, DependabotSecurityAdvisory as Ht, DependabotRequest as I, DependabotProxyConfig as It, mapExperiments as J, FetchedFiles as Jt, mapAllowedUpdatesFromDependabotConfigToJobConfig as K, DependabotSourceProviderSchema as Kt, DependabotRequestSchema as L, DependabotProxyConfigSchema as Lt, DependabotUpdateDependencyListSchema as M, GitAuthor as Mn, DependabotJobFile as Mt, DependabotUpdatePullRequest as N, DependabotJobFileSchema as Nt, DependabotRecordUpdateJobUnknownErrorSchema as O, convertPlaceholder as On, DependabotGroupRuleJob as Ot, DependabotUpdatePullRequestSchema as P, DependabotPackageManager as Pt, mapSecurityAdvisories as Q, DependabotAllowConditionSchema as Qt, DependabotRequestType as R, DependabotRequirement as Rt, DependabotRecordEcosystemMetaSchema as S, VersioningStrategySchema as Sn, DependabotExistingPR as St, DependabotRecordUpdateJobError as T, parseUpdates as Tn, DependabotExperimentsSchema as Tt, DependabotJobBuilderOutput as U, DependabotSecurityAdvisorySchema as Ut, createApiServerApp as V, DependabotRequirementSourceSchema as Vt, DependabotSourceInfo as W, DependabotSource as Wt, mapIgnoreConditionsFromDependabotConfigToJobConfig as X, FileUpdaterInput as Xt, mapGroupsFromDependabotConfigToJobConfig as Y, FileFetcherInput as Yt, mapPackageEcosystemToPackageManager as Z, DependabotAllowCondition as Zt, DependabotMarkAsProcessed as _, DependabotUpdateSchema as _n, DependabotCredentialSchema as _t, DependabotCreatePullRequest as a, DependabotGroup as an, sanitizeRef as at, DependabotMetricSchema as b, PackageEcosystemSchema as bn, DependabotExistingGroupPR as bt, DependabotDependencyFileSchema as c, DependabotIgnoreConditionSchema as cn, DependabotAllowed as ct, DependabotEcosystemMeta as d, DependabotPullRequestBranchName as dn, DependabotCommandSchema as dt, DependabotCommitMessageSchema as en, mapVersionStrategyToRequirementsUpdateStrategy as et, DependabotEcosystemMetaSchema as f, DependabotRegistry as fn, DependabotCommitOptions as ft, DependabotIncrementMetricSchema as g, DependabotUpdate as gn, DependabotCredential as gt, DependabotIncrementMetric as h, DependabotScheduleSchema as hn, DependabotConditionSchema as ht, DependabotClosePullRequestSchema as i, DependabotCooldownSchema as in, getBranchNameForUpdate as it, DependabotUpdateDependencyList as j, DEPENDABOT_DEFAULT_AUTHOR_NAME as jn, DependabotJobConfigSchema as jt, DependabotRecordUpdateJobWarning as k, extractPlaceholder as kn, DependabotGroupRuleJobSchema as kt, DependabotDependencySubmission as l, DependabotMultiEcosystemGroup as ln, DependabotAllowedSchema as lt, DependabotEcosystemVersionManagerSchema as m, DependabotSchedule as mn, DependabotCondition as mt, DependabotClosePullRequestReason as n, DependabotConfigSchema as nn, parseExperiments as nt, DependabotCreatePullRequestSchema as o, DependabotGroupSchema as on, CertificateAuthority as ot, DependabotEcosystemVersionManager as p, DependabotRegistrySchema as pn, DependabotCommitOptionsSchema as pt, mapCredentials as q, DependabotSourceSchema as qt, DependabotClosePullRequestReasonEnum as r, DependabotCooldown as rn, makeDirectoryKey as rt, DependabotDependencyFile as s, DependabotIgnoreCondition as sn, CertificateAuthoritySchema as st, DependabotClosePullRequest as t, DependabotConfig as tn, DEFAULT_EXPERIMENTS as tt, DependabotDependencySubmissionSchema as u, DependabotMultiEcosystemGroupSchema as un, DependabotCommand as ut, DependabotMarkAsProcessedSchema as v, POSSIBLE_CONFIG_FILE_PATHS as vn, DependabotDependency as vt, DependabotRecordEcosystemVersionsSchema as w, parseRegistries as wn, DependabotExperiments as wt, DependabotRecordEcosystemMeta as x, VersioningStrategy as xn, DependabotExistingGroupPRSchema as xt, DependabotMetric as y, PackageEcosystem as yn, DependabotDependencySchema as yt, DependabotRequestTypeSchema as z, DependabotRequirementSchema as zt };
2528
+ //# sourceMappingURL=index-CLEzOAkx.d.mts.map
@@ -52,13 +52,22 @@ async function convertPlaceholder({ input, variableFinder }) {
52
52
  return result;
53
53
  }
54
54
  function extractPlaceholder(input) {
55
- return matchAll(input, /\${{\s*([a-zA-Z_]+[a-zA-Z0-9._-]*)\s*}}/g);
56
- }
57
- function matchAll(input, regexp, matches = []) {
58
- const matchIfAny = regexp.exec(input);
59
- if (matchIfAny) {
60
- matches.push(matchIfAny);
61
- matchAll(input, regexp, matches);
55
+ const matches = [];
56
+ const regexp = /\$\{\{\s{0,10}([a-zA-Z_][a-zA-Z0-9._-]{0,99})\s{0,10}\}\}/;
57
+ let searchInput = input;
58
+ let offset = 0;
59
+ while (searchInput.length > 0) {
60
+ const match = searchInput.match(regexp);
61
+ if (!match || match.index === void 0) break;
62
+ const adjustedMatch = Object.assign([...match], {
63
+ index: match.index + offset,
64
+ input,
65
+ groups: match.groups
66
+ });
67
+ matches.push(adjustedMatch);
68
+ const nextStart = match.index + match[0].length;
69
+ offset += nextStart;
70
+ searchInput = searchInput.slice(nextStart);
62
71
  }
63
72
  return matches;
64
73
  }
@@ -542,4 +551,4 @@ const DependabotJobFileSchema = z.object({ job: DependabotJobConfigSchema });
542
551
 
543
552
  //#endregion
544
553
  export { DependabotScheduleSchema as A, extractPlaceholder as B, DependabotCommitMessageSchema as C, DependabotIgnoreConditionSchema as D, DependabotGroupSchema as E, parseDependabotConfig as F, parseRegistries as I, parseUpdates as L, POSSIBLE_CONFIG_FILE_PATHS as M, PackageEcosystemSchema as N, DependabotMultiEcosystemGroupSchema as O, VersioningStrategySchema as P, validateConfiguration as R, DependabotAllowConditionSchema as S, DependabotCooldownSchema as T, makeDirectoryKey as V, DependabotRequirementSchema as _, DependabotConditionSchema as a, DependabotSourceProviderSchema as b, DependabotExistingGroupPRSchema as c, DependabotGroupJobSchema as d, DependabotGroupRuleJobSchema as f, DependabotProxyConfigSchema as g, DependabotPackageManagerSchema as h, DependabotCommitOptionsSchema as i, DependabotUpdateSchema as j, DependabotRegistrySchema as k, DependabotExistingPRSchema as l, DependabotJobFileSchema as m, DependabotAllowedSchema as n, DependabotCredentialSchema as o, DependabotJobConfigSchema as p, DependabotCommandSchema as r, DependabotDependencySchema as s, CertificateAuthoritySchema as t, DependabotExperimentsSchema as u, DependabotRequirementSourceSchema as v, DependabotConfigSchema as w, DependabotSourceSchema as x, DependabotSecurityAdvisorySchema as y, convertPlaceholder as z };
545
- //# sourceMappingURL=job-N2pOBjBO.mjs.map
554
+ //# sourceMappingURL=job-Bv41xyKj.mjs.map