@openclaw/googlechat 2026.5.20 → 2026.5.22

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 (1101) hide show
  1. package/node_modules/agent-base/LICENSE +22 -0
  2. package/node_modules/agent-base/README.md +69 -0
  3. package/node_modules/agent-base/dist/helpers.d.ts +15 -0
  4. package/node_modules/agent-base/dist/helpers.d.ts.map +1 -0
  5. package/node_modules/agent-base/dist/helpers.js +66 -0
  6. package/node_modules/agent-base/dist/helpers.js.map +1 -0
  7. package/node_modules/agent-base/dist/index.d.ts +41 -0
  8. package/node_modules/agent-base/dist/index.d.ts.map +1 -0
  9. package/node_modules/agent-base/dist/index.js +178 -0
  10. package/node_modules/agent-base/dist/index.js.map +1 -0
  11. package/node_modules/agent-base/package.json +46 -0
  12. package/node_modules/base64-js/LICENSE +21 -0
  13. package/node_modules/base64-js/README.md +34 -0
  14. package/node_modules/base64-js/base64js.min.js +1 -0
  15. package/node_modules/base64-js/index.d.ts +3 -0
  16. package/node_modules/base64-js/index.js +150 -0
  17. package/node_modules/base64-js/package.json +47 -0
  18. package/node_modules/bignumber.js/CHANGELOG.md +381 -0
  19. package/node_modules/bignumber.js/LICENCE.md +26 -0
  20. package/node_modules/bignumber.js/README.md +289 -0
  21. package/node_modules/bignumber.js/bignumber.d.mts +6 -0
  22. package/node_modules/bignumber.js/bignumber.d.ts +5 -0
  23. package/node_modules/bignumber.js/bignumber.js +2922 -0
  24. package/node_modules/bignumber.js/bignumber.mjs +2907 -0
  25. package/node_modules/bignumber.js/doc/API.html +2249 -0
  26. package/node_modules/bignumber.js/package.json +60 -0
  27. package/node_modules/bignumber.js/types.d.ts +1821 -0
  28. package/node_modules/buffer-equal-constant-time/.npmignore +2 -0
  29. package/node_modules/buffer-equal-constant-time/.travis.yml +4 -0
  30. package/node_modules/buffer-equal-constant-time/LICENSE.txt +12 -0
  31. package/node_modules/buffer-equal-constant-time/README.md +50 -0
  32. package/node_modules/buffer-equal-constant-time/index.js +41 -0
  33. package/node_modules/buffer-equal-constant-time/package.json +21 -0
  34. package/node_modules/buffer-equal-constant-time/test.js +42 -0
  35. package/node_modules/data-uri-to-buffer/README.md +88 -0
  36. package/node_modules/data-uri-to-buffer/dist/index.d.ts +15 -0
  37. package/node_modules/data-uri-to-buffer/dist/index.js +53 -0
  38. package/node_modules/data-uri-to-buffer/dist/index.js.map +1 -0
  39. package/node_modules/data-uri-to-buffer/package.json +62 -0
  40. package/node_modules/data-uri-to-buffer/src/index.ts +68 -0
  41. package/node_modules/debug/LICENSE +20 -0
  42. package/node_modules/debug/README.md +481 -0
  43. package/node_modules/debug/package.json +64 -0
  44. package/node_modules/debug/src/browser.js +272 -0
  45. package/node_modules/debug/src/common.js +292 -0
  46. package/node_modules/debug/src/index.js +10 -0
  47. package/node_modules/debug/src/node.js +263 -0
  48. package/node_modules/ecdsa-sig-formatter/CODEOWNERS +1 -0
  49. package/node_modules/ecdsa-sig-formatter/LICENSE +201 -0
  50. package/node_modules/ecdsa-sig-formatter/README.md +65 -0
  51. package/node_modules/ecdsa-sig-formatter/package.json +46 -0
  52. package/node_modules/ecdsa-sig-formatter/src/ecdsa-sig-formatter.d.ts +17 -0
  53. package/node_modules/ecdsa-sig-formatter/src/ecdsa-sig-formatter.js +187 -0
  54. package/node_modules/ecdsa-sig-formatter/src/param-bytes-for-alg.js +23 -0
  55. package/node_modules/extend/.editorconfig +20 -0
  56. package/node_modules/extend/.eslintrc +17 -0
  57. package/node_modules/extend/.jscs.json +175 -0
  58. package/node_modules/extend/.travis.yml +230 -0
  59. package/node_modules/extend/CHANGELOG.md +83 -0
  60. package/node_modules/extend/LICENSE +23 -0
  61. package/node_modules/extend/README.md +81 -0
  62. package/node_modules/extend/component.json +32 -0
  63. package/node_modules/extend/index.js +117 -0
  64. package/node_modules/extend/package.json +42 -0
  65. package/node_modules/fetch-blob/LICENSE +21 -0
  66. package/node_modules/fetch-blob/README.md +106 -0
  67. package/node_modules/fetch-blob/file.d.ts +2 -0
  68. package/node_modules/fetch-blob/file.js +49 -0
  69. package/node_modules/fetch-blob/from.d.ts +26 -0
  70. package/node_modules/fetch-blob/from.js +100 -0
  71. package/node_modules/fetch-blob/index.d.ts +3 -0
  72. package/node_modules/fetch-blob/index.js +250 -0
  73. package/node_modules/fetch-blob/package.json +56 -0
  74. package/node_modules/fetch-blob/streams.cjs +51 -0
  75. package/node_modules/formdata-polyfill/FormData.js +441 -0
  76. package/node_modules/formdata-polyfill/LICENSE +21 -0
  77. package/node_modules/formdata-polyfill/README.md +145 -0
  78. package/node_modules/formdata-polyfill/esm.min.d.ts +5 -0
  79. package/node_modules/formdata-polyfill/esm.min.js +40 -0
  80. package/node_modules/formdata-polyfill/formdata-to-blob.js +39 -0
  81. package/node_modules/formdata-polyfill/formdata.min.js +21 -0
  82. package/node_modules/formdata-polyfill/package.json +50 -0
  83. package/node_modules/gaxios/LICENSE +202 -0
  84. package/node_modules/gaxios/README.md +240 -0
  85. package/node_modules/gaxios/build/cjs/browser-test/browser-test-runner.d.ts +1 -0
  86. package/node_modules/gaxios/build/cjs/browser-test/browser-test-runner.js +109 -0
  87. package/node_modules/gaxios/build/cjs/browser-test/browser-test-runner.js.map +1 -0
  88. package/node_modules/gaxios/build/cjs/browser-test/test.browser.d.ts +1 -0
  89. package/node_modules/gaxios/build/cjs/browser-test/test.browser.js +81 -0
  90. package/node_modules/gaxios/build/cjs/browser-test/test.browser.js.map +1 -0
  91. package/node_modules/gaxios/build/cjs/src/common.d.ts +329 -0
  92. package/node_modules/gaxios/build/cjs/src/common.js +311 -0
  93. package/node_modules/gaxios/build/cjs/src/common.js.map +1 -0
  94. package/node_modules/gaxios/build/cjs/src/gaxios.d.ts +104 -0
  95. package/node_modules/gaxios/build/cjs/src/gaxios.js +564 -0
  96. package/node_modules/gaxios/build/cjs/src/gaxios.js.map +1 -0
  97. package/node_modules/gaxios/build/cjs/src/index.d.ts +15 -0
  98. package/node_modules/gaxios/build/cjs/src/index.js +48 -0
  99. package/node_modules/gaxios/build/cjs/src/index.js.map +1 -0
  100. package/node_modules/gaxios/build/cjs/src/interceptor.d.ts +25 -0
  101. package/node_modules/gaxios/build/cjs/src/interceptor.js +22 -0
  102. package/node_modules/gaxios/build/cjs/src/interceptor.js.map +1 -0
  103. package/node_modules/gaxios/build/cjs/src/retry.d.ts +8 -0
  104. package/node_modules/gaxios/build/cjs/src/retry.js +165 -0
  105. package/node_modules/gaxios/build/cjs/src/retry.js.map +1 -0
  106. package/node_modules/gaxios/build/cjs/src/util.cjs +16 -0
  107. package/node_modules/gaxios/build/cjs/src/util.cjs.map +1 -0
  108. package/node_modules/gaxios/build/cjs/src/util.d.cts +7 -0
  109. package/node_modules/gaxios/build/cjs/system-test/test.install.d.ts +1 -0
  110. package/node_modules/gaxios/build/cjs/system-test/test.install.js +128 -0
  111. package/node_modules/gaxios/build/cjs/system-test/test.install.js.map +1 -0
  112. package/node_modules/gaxios/build/cjs/test/test.getch.d.ts +1 -0
  113. package/node_modules/gaxios/build/cjs/test/test.getch.js +1444 -0
  114. package/node_modules/gaxios/build/cjs/test/test.getch.js.map +1 -0
  115. package/node_modules/gaxios/build/cjs/test/test.index.d.ts +1 -0
  116. package/node_modules/gaxios/build/cjs/test/test.index.js +61 -0
  117. package/node_modules/gaxios/build/cjs/test/test.index.js.map +1 -0
  118. package/node_modules/gaxios/build/cjs/test/test.retry.d.ts +1 -0
  119. package/node_modules/gaxios/build/cjs/test/test.retry.js +367 -0
  120. package/node_modules/gaxios/build/cjs/test/test.retry.js.map +1 -0
  121. package/node_modules/gaxios/build/cjs/tsconfig.cjs.tsbuildinfo +1 -0
  122. package/node_modules/gaxios/build/esm/browser-test/browser-test-runner.d.ts +1 -0
  123. package/node_modules/gaxios/build/esm/browser-test/browser-test-runner.js +71 -0
  124. package/node_modules/gaxios/build/esm/browser-test/browser-test-runner.js.map +1 -0
  125. package/node_modules/gaxios/build/esm/browser-test/test.browser.d.ts +1 -0
  126. package/node_modules/gaxios/build/esm/browser-test/test.browser.js +76 -0
  127. package/node_modules/gaxios/build/esm/browser-test/test.browser.js.map +1 -0
  128. package/node_modules/gaxios/build/esm/package.json +1 -0
  129. package/node_modules/gaxios/build/esm/src/common.d.ts +329 -0
  130. package/node_modules/gaxios/build/esm/src/common.js +303 -0
  131. package/node_modules/gaxios/build/esm/src/common.js.map +1 -0
  132. package/node_modules/gaxios/build/esm/src/gaxios.d.ts +104 -0
  133. package/node_modules/gaxios/build/esm/src/gaxios.js +557 -0
  134. package/node_modules/gaxios/build/esm/src/gaxios.js.map +1 -0
  135. package/node_modules/gaxios/build/esm/src/index.d.ts +15 -0
  136. package/node_modules/gaxios/build/esm/src/index.js +29 -0
  137. package/node_modules/gaxios/build/esm/src/index.js.map +1 -0
  138. package/node_modules/gaxios/build/esm/src/interceptor.d.ts +25 -0
  139. package/node_modules/gaxios/build/esm/src/interceptor.js +18 -0
  140. package/node_modules/gaxios/build/esm/src/interceptor.js.map +1 -0
  141. package/node_modules/gaxios/build/esm/src/retry.d.ts +8 -0
  142. package/node_modules/gaxios/build/esm/src/retry.js +162 -0
  143. package/node_modules/gaxios/build/esm/src/retry.js.map +1 -0
  144. package/node_modules/gaxios/build/esm/src/util.cjs +15 -0
  145. package/node_modules/gaxios/build/esm/src/util.cjs.map +1 -0
  146. package/node_modules/gaxios/build/esm/src/util.d.cts +7 -0
  147. package/node_modules/gaxios/build/esm/system-test/test.install.d.ts +1 -0
  148. package/node_modules/gaxios/build/esm/system-test/test.install.js +123 -0
  149. package/node_modules/gaxios/build/esm/system-test/test.install.js.map +1 -0
  150. package/node_modules/gaxios/build/esm/test/test.getch.d.ts +1 -0
  151. package/node_modules/gaxios/build/esm/test/test.getch.js +1406 -0
  152. package/node_modules/gaxios/build/esm/test/test.getch.js.map +1 -0
  153. package/node_modules/gaxios/build/esm/test/test.index.d.ts +1 -0
  154. package/node_modules/gaxios/build/esm/test/test.index.js +23 -0
  155. package/node_modules/gaxios/build/esm/test/test.index.js.map +1 -0
  156. package/node_modules/gaxios/build/esm/test/test.retry.d.ts +1 -0
  157. package/node_modules/gaxios/build/esm/test/test.retry.js +362 -0
  158. package/node_modules/gaxios/build/esm/test/test.retry.js.map +1 -0
  159. package/node_modules/gaxios/build/esm/tsconfig.tsbuildinfo +1 -0
  160. package/node_modules/gaxios/package.json +107 -0
  161. package/node_modules/gcp-metadata/LICENSE +202 -0
  162. package/node_modules/gcp-metadata/README.md +235 -0
  163. package/node_modules/gcp-metadata/build/src/gcp-residency.d.ts +57 -0
  164. package/node_modules/gcp-metadata/build/src/gcp-residency.js +114 -0
  165. package/node_modules/gcp-metadata/build/src/gcp-residency.js.map +1 -0
  166. package/node_modules/gcp-metadata/build/src/index.d.ts +141 -0
  167. package/node_modules/gcp-metadata/build/src/index.js +402 -0
  168. package/node_modules/gcp-metadata/build/src/index.js.map +1 -0
  169. package/node_modules/gcp-metadata/package.json +77 -0
  170. package/node_modules/google-auth-library/LICENSE +202 -0
  171. package/node_modules/google-auth-library/README.md +1504 -0
  172. package/node_modules/google-auth-library/build/src/auth/authclient.d.ts +298 -0
  173. package/node_modules/google-auth-library/build/src/auth/authclient.js +286 -0
  174. package/node_modules/google-auth-library/build/src/auth/awsclient.d.ts +115 -0
  175. package/node_modules/google-auth-library/build/src/auth/awsclient.js +154 -0
  176. package/node_modules/google-auth-library/build/src/auth/awsrequestsigner.d.ts +40 -0
  177. package/node_modules/google-auth-library/build/src/auth/awsrequestsigner.js +213 -0
  178. package/node_modules/google-auth-library/build/src/auth/baseexternalclient.d.ts +318 -0
  179. package/node_modules/google-auth-library/build/src/auth/baseexternalclient.js +477 -0
  180. package/node_modules/google-auth-library/build/src/auth/certificatesubjecttokensupplier.d.ts +60 -0
  181. package/node_modules/google-auth-library/build/src/auth/certificatesubjecttokensupplier.js +223 -0
  182. package/node_modules/google-auth-library/build/src/auth/computeclient.d.ts +37 -0
  183. package/node_modules/google-auth-library/build/src/auth/computeclient.js +118 -0
  184. package/node_modules/google-auth-library/build/src/auth/credentials.d.ts +76 -0
  185. package/node_modules/google-auth-library/build/src/auth/credentials.js +16 -0
  186. package/node_modules/google-auth-library/build/src/auth/defaultawssecuritycredentialssupplier.d.ts +79 -0
  187. package/node_modules/google-auth-library/build/src/auth/defaultawssecuritycredentialssupplier.js +199 -0
  188. package/node_modules/google-auth-library/build/src/auth/downscopedclient.d.ts +149 -0
  189. package/node_modules/google-auth-library/build/src/auth/downscopedclient.js +273 -0
  190. package/node_modules/google-auth-library/build/src/auth/envDetect.d.ts +11 -0
  191. package/node_modules/google-auth-library/build/src/auth/envDetect.js +97 -0
  192. package/node_modules/google-auth-library/build/src/auth/executable-response.d.ts +137 -0
  193. package/node_modules/google-auth-library/build/src/auth/executable-response.js +178 -0
  194. package/node_modules/google-auth-library/build/src/auth/externalAccountAuthorizedUserClient.d.ts +72 -0
  195. package/node_modules/google-auth-library/build/src/auth/externalAccountAuthorizedUserClient.js +233 -0
  196. package/node_modules/google-auth-library/build/src/auth/externalclient.d.ts +29 -0
  197. package/node_modules/google-auth-library/build/src/auth/externalclient.js +68 -0
  198. package/node_modules/google-auth-library/build/src/auth/filesubjecttokensupplier.d.ts +41 -0
  199. package/node_modules/google-auth-library/build/src/auth/filesubjecttokensupplier.js +84 -0
  200. package/node_modules/google-auth-library/build/src/auth/googleauth.d.ts +527 -0
  201. package/node_modules/google-auth-library/build/src/auth/googleauth.js +899 -0
  202. package/node_modules/google-auth-library/build/src/auth/iam.d.ts +23 -0
  203. package/node_modules/google-auth-library/build/src/auth/iam.js +44 -0
  204. package/node_modules/google-auth-library/build/src/auth/identitypoolclient.d.ts +132 -0
  205. package/node_modules/google-auth-library/build/src/auth/identitypoolclient.js +131 -0
  206. package/node_modules/google-auth-library/build/src/auth/idtokenclient.d.ts +27 -0
  207. package/node_modules/google-auth-library/build/src/auth/idtokenclient.js +56 -0
  208. package/node_modules/google-auth-library/build/src/auth/impersonated.d.ts +134 -0
  209. package/node_modules/google-auth-library/build/src/auth/impersonated.js +197 -0
  210. package/node_modules/google-auth-library/build/src/auth/jwtaccess.d.ts +61 -0
  211. package/node_modules/google-auth-library/build/src/auth/jwtaccess.js +201 -0
  212. package/node_modules/google-auth-library/build/src/auth/jwtclient.d.ts +137 -0
  213. package/node_modules/google-auth-library/build/src/auth/jwtclient.js +301 -0
  214. package/node_modules/google-auth-library/build/src/auth/loginticket.d.ts +140 -0
  215. package/node_modules/google-auth-library/build/src/auth/loginticket.js +60 -0
  216. package/node_modules/google-auth-library/build/src/auth/oauth2client.d.ts +610 -0
  217. package/node_modules/google-auth-library/build/src/auth/oauth2client.js +820 -0
  218. package/node_modules/google-auth-library/build/src/auth/oauth2common.d.ts +103 -0
  219. package/node_modules/google-auth-library/build/src/auth/oauth2common.js +189 -0
  220. package/node_modules/google-auth-library/build/src/auth/passthrough.d.ts +37 -0
  221. package/node_modules/google-auth-library/build/src/auth/passthrough.js +60 -0
  222. package/node_modules/google-auth-library/build/src/auth/pluggable-auth-client.d.ts +141 -0
  223. package/node_modules/google-auth-library/build/src/auth/pluggable-auth-client.js +220 -0
  224. package/node_modules/google-auth-library/build/src/auth/pluggable-auth-handler.d.ts +61 -0
  225. package/node_modules/google-auth-library/build/src/auth/pluggable-auth-handler.js +174 -0
  226. package/node_modules/google-auth-library/build/src/auth/refreshclient.d.ts +75 -0
  227. package/node_modules/google-auth-library/build/src/auth/refreshclient.js +160 -0
  228. package/node_modules/google-auth-library/build/src/auth/stscredentials.d.ts +125 -0
  229. package/node_modules/google-auth-library/build/src/auth/stscredentials.js +107 -0
  230. package/node_modules/google-auth-library/build/src/auth/urlsubjecttokensupplier.d.ts +57 -0
  231. package/node_modules/google-auth-library/build/src/auth/urlsubjecttokensupplier.js +71 -0
  232. package/node_modules/google-auth-library/build/src/crypto/browser/crypto.d.ts +27 -0
  233. package/node_modules/google-auth-library/build/src/crypto/browser/crypto.js +127 -0
  234. package/node_modules/google-auth-library/build/src/crypto/crypto.d.ts +8 -0
  235. package/node_modules/google-auth-library/build/src/crypto/crypto.js +54 -0
  236. package/node_modules/google-auth-library/build/src/crypto/node/crypto.d.ts +25 -0
  237. package/node_modules/google-auth-library/build/src/crypto/node/crypto.js +88 -0
  238. package/node_modules/google-auth-library/build/src/crypto/shared.d.ts +47 -0
  239. package/node_modules/google-auth-library/build/src/crypto/shared.js +32 -0
  240. package/node_modules/google-auth-library/build/src/gtoken/errorWithCode.d.ts +5 -0
  241. package/node_modules/google-auth-library/build/src/gtoken/errorWithCode.js +25 -0
  242. package/node_modules/google-auth-library/build/src/gtoken/getCredentials.d.ts +14 -0
  243. package/node_modules/google-auth-library/build/src/gtoken/getCredentials.js +132 -0
  244. package/node_modules/google-auth-library/build/src/gtoken/getToken.d.ts +23 -0
  245. package/node_modules/google-auth-library/build/src/gtoken/getToken.js +66 -0
  246. package/node_modules/google-auth-library/build/src/gtoken/googleToken.d.ts +73 -0
  247. package/node_modules/google-auth-library/build/src/gtoken/googleToken.js +125 -0
  248. package/node_modules/google-auth-library/build/src/gtoken/jwsSign.d.ts +33 -0
  249. package/node_modules/google-auth-library/build/src/gtoken/jwsSign.js +54 -0
  250. package/node_modules/google-auth-library/build/src/gtoken/revokeToken.d.ts +9 -0
  251. package/node_modules/google-auth-library/build/src/gtoken/revokeToken.js +34 -0
  252. package/node_modules/google-auth-library/build/src/gtoken/tokenHandler.d.ts +43 -0
  253. package/node_modules/google-auth-library/build/src/gtoken/tokenHandler.js +97 -0
  254. package/node_modules/google-auth-library/build/src/gtoken/tokenOptions.d.ts +44 -0
  255. package/node_modules/google-auth-library/build/src/gtoken/tokenOptions.js +16 -0
  256. package/node_modules/google-auth-library/build/src/index.d.ts +38 -0
  257. package/node_modules/google-auth-library/build/src/index.js +85 -0
  258. package/node_modules/google-auth-library/build/src/shared.cjs +22 -0
  259. package/node_modules/google-auth-library/build/src/shared.d.cts +7 -0
  260. package/node_modules/google-auth-library/build/src/util.d.ts +151 -0
  261. package/node_modules/google-auth-library/build/src/util.js +176 -0
  262. package/node_modules/google-auth-library/package.json +92 -0
  263. package/node_modules/google-logging-utils/LICENSE +202 -0
  264. package/node_modules/google-logging-utils/README.md +73 -0
  265. package/node_modules/google-logging-utils/build/src/colours.d.ts +29 -0
  266. package/node_modules/google-logging-utils/build/src/colours.js +81 -0
  267. package/node_modules/google-logging-utils/build/src/colours.js.map +1 -0
  268. package/node_modules/google-logging-utils/build/src/index.d.ts +1 -0
  269. package/node_modules/google-logging-utils/build/src/index.js +31 -0
  270. package/node_modules/google-logging-utils/build/src/index.js.map +1 -0
  271. package/node_modules/google-logging-utils/build/src/logging-utils.d.ts +222 -0
  272. package/node_modules/google-logging-utils/build/src/logging-utils.js +437 -0
  273. package/node_modules/google-logging-utils/build/src/logging-utils.js.map +1 -0
  274. package/node_modules/google-logging-utils/build/src/temporal.d.ts +45 -0
  275. package/node_modules/google-logging-utils/build/src/temporal.js +68 -0
  276. package/node_modules/google-logging-utils/build/src/temporal.js.map +1 -0
  277. package/node_modules/google-logging-utils/package.json +45 -0
  278. package/node_modules/https-proxy-agent/LICENSE +22 -0
  279. package/node_modules/https-proxy-agent/README.md +70 -0
  280. package/node_modules/https-proxy-agent/dist/index.d.ts +47 -0
  281. package/node_modules/https-proxy-agent/dist/index.d.ts.map +1 -0
  282. package/node_modules/https-proxy-agent/dist/index.js +180 -0
  283. package/node_modules/https-proxy-agent/dist/index.js.map +1 -0
  284. package/node_modules/https-proxy-agent/dist/parse-proxy-response.d.ts +15 -0
  285. package/node_modules/https-proxy-agent/dist/parse-proxy-response.d.ts.map +1 -0
  286. package/node_modules/https-proxy-agent/dist/parse-proxy-response.js +101 -0
  287. package/node_modules/https-proxy-agent/dist/parse-proxy-response.js.map +1 -0
  288. package/node_modules/https-proxy-agent/package.json +50 -0
  289. package/node_modules/json-bigint/LICENSE +20 -0
  290. package/node_modules/json-bigint/README.md +240 -0
  291. package/node_modules/json-bigint/index.js +12 -0
  292. package/node_modules/json-bigint/lib/parse.js +443 -0
  293. package/node_modules/json-bigint/lib/stringify.js +384 -0
  294. package/node_modules/json-bigint/package.json +34 -0
  295. package/node_modules/jwa/LICENSE +17 -0
  296. package/node_modules/jwa/README.md +150 -0
  297. package/node_modules/jwa/index.js +266 -0
  298. package/node_modules/jwa/opslevel.yml +6 -0
  299. package/node_modules/jwa/package.json +37 -0
  300. package/node_modules/jws/CHANGELOG.md +56 -0
  301. package/node_modules/jws/LICENSE +17 -0
  302. package/node_modules/jws/index.js +22 -0
  303. package/node_modules/jws/lib/data-stream.js +55 -0
  304. package/node_modules/jws/lib/sign-stream.js +83 -0
  305. package/node_modules/jws/lib/tostring.js +10 -0
  306. package/node_modules/jws/lib/verify-stream.js +125 -0
  307. package/node_modules/jws/opslevel.yml +6 -0
  308. package/node_modules/jws/package.json +34 -0
  309. package/node_modules/jws/readme.md +255 -0
  310. package/node_modules/ms/index.js +162 -0
  311. package/node_modules/ms/license.md +21 -0
  312. package/node_modules/ms/package.json +38 -0
  313. package/node_modules/ms/readme.md +59 -0
  314. package/node_modules/node-domexception/LICENSE +21 -0
  315. package/node_modules/node-domexception/index.js +2 -0
  316. package/node_modules/node-domexception/package.json +19 -0
  317. package/node_modules/node-fetch/@types/index.d.ts +219 -0
  318. package/node_modules/node-fetch/LICENSE.md +22 -0
  319. package/node_modules/node-fetch/README.md +872 -0
  320. package/node_modules/node-fetch/package.json +131 -0
  321. package/node_modules/node-fetch/src/body.js +397 -0
  322. package/node_modules/node-fetch/src/errors/abort-error.js +10 -0
  323. package/node_modules/node-fetch/src/errors/base.js +17 -0
  324. package/node_modules/node-fetch/src/errors/fetch-error.js +26 -0
  325. package/node_modules/node-fetch/src/headers.js +267 -0
  326. package/node_modules/node-fetch/src/index.js +417 -0
  327. package/node_modules/node-fetch/src/request.js +313 -0
  328. package/node_modules/node-fetch/src/response.js +160 -0
  329. package/node_modules/node-fetch/src/utils/get-search.js +9 -0
  330. package/node_modules/node-fetch/src/utils/is-redirect.js +11 -0
  331. package/node_modules/node-fetch/src/utils/is.js +87 -0
  332. package/node_modules/node-fetch/src/utils/multipart-parser.js +432 -0
  333. package/node_modules/node-fetch/src/utils/referrer.js +340 -0
  334. package/node_modules/safe-buffer/LICENSE +21 -0
  335. package/node_modules/safe-buffer/README.md +584 -0
  336. package/node_modules/safe-buffer/index.d.ts +187 -0
  337. package/node_modules/safe-buffer/index.js +65 -0
  338. package/node_modules/safe-buffer/package.json +51 -0
  339. package/node_modules/web-streams-polyfill/LICENSE +22 -0
  340. package/node_modules/web-streams-polyfill/README.md +110 -0
  341. package/node_modules/web-streams-polyfill/dist/polyfill.es2018.js +4765 -0
  342. package/node_modules/web-streams-polyfill/dist/polyfill.es2018.js.map +1 -0
  343. package/node_modules/web-streams-polyfill/dist/polyfill.es2018.min.js +9 -0
  344. package/node_modules/web-streams-polyfill/dist/polyfill.es2018.min.js.map +1 -0
  345. package/node_modules/web-streams-polyfill/dist/polyfill.es2018.mjs +4745 -0
  346. package/node_modules/web-streams-polyfill/dist/polyfill.es2018.mjs.map +1 -0
  347. package/node_modules/web-streams-polyfill/dist/polyfill.es6.js +4838 -0
  348. package/node_modules/web-streams-polyfill/dist/polyfill.es6.js.map +1 -0
  349. package/node_modules/web-streams-polyfill/dist/polyfill.es6.min.js +9 -0
  350. package/node_modules/web-streams-polyfill/dist/polyfill.es6.min.js.map +1 -0
  351. package/node_modules/web-streams-polyfill/dist/polyfill.es6.mjs +4818 -0
  352. package/node_modules/web-streams-polyfill/dist/polyfill.es6.mjs.map +1 -0
  353. package/node_modules/web-streams-polyfill/dist/polyfill.js +5011 -0
  354. package/node_modules/web-streams-polyfill/dist/polyfill.js.map +1 -0
  355. package/node_modules/web-streams-polyfill/dist/polyfill.min.js +9 -0
  356. package/node_modules/web-streams-polyfill/dist/polyfill.min.js.map +1 -0
  357. package/node_modules/web-streams-polyfill/dist/polyfill.mjs +4991 -0
  358. package/node_modules/web-streams-polyfill/dist/polyfill.mjs.map +1 -0
  359. package/node_modules/web-streams-polyfill/dist/ponyfill.es2018.js +4737 -0
  360. package/node_modules/web-streams-polyfill/dist/ponyfill.es2018.js.map +1 -0
  361. package/node_modules/web-streams-polyfill/dist/ponyfill.es2018.mjs +4717 -0
  362. package/node_modules/web-streams-polyfill/dist/ponyfill.es2018.mjs.map +1 -0
  363. package/node_modules/web-streams-polyfill/dist/ponyfill.es6.js +4810 -0
  364. package/node_modules/web-streams-polyfill/dist/ponyfill.es6.js.map +1 -0
  365. package/node_modules/web-streams-polyfill/dist/ponyfill.es6.mjs +4790 -0
  366. package/node_modules/web-streams-polyfill/dist/ponyfill.es6.mjs.map +1 -0
  367. package/node_modules/web-streams-polyfill/dist/ponyfill.js +4983 -0
  368. package/node_modules/web-streams-polyfill/dist/ponyfill.js.map +1 -0
  369. package/node_modules/web-streams-polyfill/dist/ponyfill.mjs +4963 -0
  370. package/node_modules/web-streams-polyfill/dist/ponyfill.mjs.map +1 -0
  371. package/node_modules/web-streams-polyfill/dist/types/polyfill.d.ts +24 -0
  372. package/node_modules/web-streams-polyfill/dist/types/ponyfill.d.ts +780 -0
  373. package/node_modules/web-streams-polyfill/dist/types/ts3.6/polyfill.d.ts +28 -0
  374. package/node_modules/web-streams-polyfill/dist/types/ts3.6/ponyfill.d.ts +821 -0
  375. package/node_modules/web-streams-polyfill/dist/types/tsdoc-metadata.json +11 -0
  376. package/node_modules/web-streams-polyfill/es2018/package.json +14 -0
  377. package/node_modules/web-streams-polyfill/es6/package.json +14 -0
  378. package/node_modules/web-streams-polyfill/package.json +83 -0
  379. package/node_modules/web-streams-polyfill/ponyfill/es2018/package.json +13 -0
  380. package/node_modules/web-streams-polyfill/ponyfill/es6/package.json +13 -0
  381. package/node_modules/web-streams-polyfill/ponyfill/package.json +13 -0
  382. package/node_modules/zod/LICENSE +21 -0
  383. package/node_modules/zod/README.md +191 -0
  384. package/node_modules/zod/index.cjs +33 -0
  385. package/node_modules/zod/index.d.cts +4 -0
  386. package/node_modules/zod/index.d.ts +4 -0
  387. package/node_modules/zod/index.js +4 -0
  388. package/node_modules/zod/locales/index.cjs +17 -0
  389. package/node_modules/zod/locales/index.d.cts +1 -0
  390. package/node_modules/zod/locales/index.d.ts +1 -0
  391. package/node_modules/zod/locales/index.js +1 -0
  392. package/node_modules/zod/locales/package.json +7 -0
  393. package/node_modules/zod/mini/index.cjs +32 -0
  394. package/node_modules/zod/mini/index.d.cts +3 -0
  395. package/node_modules/zod/mini/index.d.ts +3 -0
  396. package/node_modules/zod/mini/index.js +3 -0
  397. package/node_modules/zod/mini/package.json +7 -0
  398. package/node_modules/zod/package.json +135 -0
  399. package/node_modules/zod/src/index.ts +4 -0
  400. package/node_modules/zod/src/locales/index.ts +1 -0
  401. package/node_modules/zod/src/mini/index.ts +3 -0
  402. package/node_modules/zod/src/v3/ZodError.ts +330 -0
  403. package/node_modules/zod/src/v3/benchmarks/datetime.ts +58 -0
  404. package/node_modules/zod/src/v3/benchmarks/discriminatedUnion.ts +80 -0
  405. package/node_modules/zod/src/v3/benchmarks/index.ts +59 -0
  406. package/node_modules/zod/src/v3/benchmarks/ipv4.ts +57 -0
  407. package/node_modules/zod/src/v3/benchmarks/object.ts +69 -0
  408. package/node_modules/zod/src/v3/benchmarks/primitives.ts +162 -0
  409. package/node_modules/zod/src/v3/benchmarks/realworld.ts +63 -0
  410. package/node_modules/zod/src/v3/benchmarks/string.ts +55 -0
  411. package/node_modules/zod/src/v3/benchmarks/union.ts +80 -0
  412. package/node_modules/zod/src/v3/errors.ts +13 -0
  413. package/node_modules/zod/src/v3/external.ts +6 -0
  414. package/node_modules/zod/src/v3/helpers/enumUtil.ts +17 -0
  415. package/node_modules/zod/src/v3/helpers/errorUtil.ts +8 -0
  416. package/node_modules/zod/src/v3/helpers/parseUtil.ts +176 -0
  417. package/node_modules/zod/src/v3/helpers/partialUtil.ts +34 -0
  418. package/node_modules/zod/src/v3/helpers/typeAliases.ts +2 -0
  419. package/node_modules/zod/src/v3/helpers/util.ts +224 -0
  420. package/node_modules/zod/src/v3/index.ts +4 -0
  421. package/node_modules/zod/src/v3/locales/en.ts +124 -0
  422. package/node_modules/zod/src/v3/standard-schema.ts +113 -0
  423. package/node_modules/zod/src/v3/tests/Mocker.ts +54 -0
  424. package/node_modules/zod/src/v3/tests/all-errors.test.ts +157 -0
  425. package/node_modules/zod/src/v3/tests/anyunknown.test.ts +28 -0
  426. package/node_modules/zod/src/v3/tests/array.test.ts +71 -0
  427. package/node_modules/zod/src/v3/tests/async-parsing.test.ts +388 -0
  428. package/node_modules/zod/src/v3/tests/async-refinements.test.ts +46 -0
  429. package/node_modules/zod/src/v3/tests/base.test.ts +29 -0
  430. package/node_modules/zod/src/v3/tests/bigint.test.ts +55 -0
  431. package/node_modules/zod/src/v3/tests/branded.test.ts +53 -0
  432. package/node_modules/zod/src/v3/tests/catch.test.ts +220 -0
  433. package/node_modules/zod/src/v3/tests/coerce.test.ts +133 -0
  434. package/node_modules/zod/src/v3/tests/complex.test.ts +70 -0
  435. package/node_modules/zod/src/v3/tests/custom.test.ts +31 -0
  436. package/node_modules/zod/src/v3/tests/date.test.ts +32 -0
  437. package/node_modules/zod/src/v3/tests/deepmasking.test.ts +186 -0
  438. package/node_modules/zod/src/v3/tests/default.test.ts +112 -0
  439. package/node_modules/zod/src/v3/tests/description.test.ts +33 -0
  440. package/node_modules/zod/src/v3/tests/discriminated-unions.test.ts +315 -0
  441. package/node_modules/zod/src/v3/tests/enum.test.ts +80 -0
  442. package/node_modules/zod/src/v3/tests/error.test.ts +551 -0
  443. package/node_modules/zod/src/v3/tests/firstparty.test.ts +87 -0
  444. package/node_modules/zod/src/v3/tests/firstpartyschematypes.test.ts +21 -0
  445. package/node_modules/zod/src/v3/tests/function.test.ts +261 -0
  446. package/node_modules/zod/src/v3/tests/generics.test.ts +48 -0
  447. package/node_modules/zod/src/v3/tests/instanceof.test.ts +37 -0
  448. package/node_modules/zod/src/v3/tests/intersection.test.ts +110 -0
  449. package/node_modules/zod/src/v3/tests/language-server.source.ts +76 -0
  450. package/node_modules/zod/src/v3/tests/language-server.test.ts +207 -0
  451. package/node_modules/zod/src/v3/tests/literal.test.ts +36 -0
  452. package/node_modules/zod/src/v3/tests/map.test.ts +110 -0
  453. package/node_modules/zod/src/v3/tests/masking.test.ts +4 -0
  454. package/node_modules/zod/src/v3/tests/mocker.test.ts +19 -0
  455. package/node_modules/zod/src/v3/tests/nan.test.ts +24 -0
  456. package/node_modules/zod/src/v3/tests/nativeEnum.test.ts +87 -0
  457. package/node_modules/zod/src/v3/tests/nullable.test.ts +42 -0
  458. package/node_modules/zod/src/v3/tests/number.test.ts +176 -0
  459. package/node_modules/zod/src/v3/tests/object-augmentation.test.ts +29 -0
  460. package/node_modules/zod/src/v3/tests/object-in-es5-env.test.ts +29 -0
  461. package/node_modules/zod/src/v3/tests/object.test.ts +434 -0
  462. package/node_modules/zod/src/v3/tests/optional.test.ts +42 -0
  463. package/node_modules/zod/src/v3/tests/parseUtil.test.ts +23 -0
  464. package/node_modules/zod/src/v3/tests/parser.test.ts +41 -0
  465. package/node_modules/zod/src/v3/tests/partials.test.ts +243 -0
  466. package/node_modules/zod/src/v3/tests/pickomit.test.ts +111 -0
  467. package/node_modules/zod/src/v3/tests/pipeline.test.ts +29 -0
  468. package/node_modules/zod/src/v3/tests/preprocess.test.ts +186 -0
  469. package/node_modules/zod/src/v3/tests/primitive.test.ts +440 -0
  470. package/node_modules/zod/src/v3/tests/promise.test.ts +90 -0
  471. package/node_modules/zod/src/v3/tests/readonly.test.ts +194 -0
  472. package/node_modules/zod/src/v3/tests/record.test.ts +171 -0
  473. package/node_modules/zod/src/v3/tests/recursive.test.ts +197 -0
  474. package/node_modules/zod/src/v3/tests/refine.test.ts +313 -0
  475. package/node_modules/zod/src/v3/tests/safeparse.test.ts +27 -0
  476. package/node_modules/zod/src/v3/tests/set.test.ts +142 -0
  477. package/node_modules/zod/src/v3/tests/standard-schema.test.ts +83 -0
  478. package/node_modules/zod/src/v3/tests/string.test.ts +916 -0
  479. package/node_modules/zod/src/v3/tests/transformer.test.ts +233 -0
  480. package/node_modules/zod/src/v3/tests/tuple.test.ts +90 -0
  481. package/node_modules/zod/src/v3/tests/unions.test.ts +57 -0
  482. package/node_modules/zod/src/v3/tests/validations.test.ts +133 -0
  483. package/node_modules/zod/src/v3/tests/void.test.ts +15 -0
  484. package/node_modules/zod/src/v3/types.ts +5138 -0
  485. package/node_modules/zod/src/v4/classic/checks.ts +32 -0
  486. package/node_modules/zod/src/v4/classic/coerce.ts +27 -0
  487. package/node_modules/zod/src/v4/classic/compat.ts +70 -0
  488. package/node_modules/zod/src/v4/classic/errors.ts +82 -0
  489. package/node_modules/zod/src/v4/classic/external.ts +52 -0
  490. package/node_modules/zod/src/v4/classic/from-json-schema.ts +659 -0
  491. package/node_modules/zod/src/v4/classic/index.ts +5 -0
  492. package/node_modules/zod/src/v4/classic/iso.ts +90 -0
  493. package/node_modules/zod/src/v4/classic/parse.ts +82 -0
  494. package/node_modules/zod/src/v4/classic/schemas.ts +2672 -0
  495. package/node_modules/zod/src/v4/classic/tests/anyunknown.test.ts +26 -0
  496. package/node_modules/zod/src/v4/classic/tests/apply.test.ts +59 -0
  497. package/node_modules/zod/src/v4/classic/tests/array.test.ts +264 -0
  498. package/node_modules/zod/src/v4/classic/tests/assignability.test.ts +216 -0
  499. package/node_modules/zod/src/v4/classic/tests/async-parsing.test.ts +381 -0
  500. package/node_modules/zod/src/v4/classic/tests/async-refinements.test.ts +68 -0
  501. package/node_modules/zod/src/v4/classic/tests/base.test.ts +7 -0
  502. package/node_modules/zod/src/v4/classic/tests/bigint.test.ts +54 -0
  503. package/node_modules/zod/src/v4/classic/tests/brand.test.ts +106 -0
  504. package/node_modules/zod/src/v4/classic/tests/catch.test.ts +326 -0
  505. package/node_modules/zod/src/v4/classic/tests/coalesce.test.ts +20 -0
  506. package/node_modules/zod/src/v4/classic/tests/codec-examples.test.ts +573 -0
  507. package/node_modules/zod/src/v4/classic/tests/codec.test.ts +703 -0
  508. package/node_modules/zod/src/v4/classic/tests/coerce.test.ts +160 -0
  509. package/node_modules/zod/src/v4/classic/tests/continuability.test.ts +374 -0
  510. package/node_modules/zod/src/v4/classic/tests/custom.test.ts +40 -0
  511. package/node_modules/zod/src/v4/classic/tests/date.test.ts +62 -0
  512. package/node_modules/zod/src/v4/classic/tests/datetime.test.ts +302 -0
  513. package/node_modules/zod/src/v4/classic/tests/default.test.ts +409 -0
  514. package/node_modules/zod/src/v4/classic/tests/describe-meta-checks.test.ts +27 -0
  515. package/node_modules/zod/src/v4/classic/tests/description.test.ts +32 -0
  516. package/node_modules/zod/src/v4/classic/tests/detached-methods.test.ts +197 -0
  517. package/node_modules/zod/src/v4/classic/tests/discriminated-unions.test.ts +694 -0
  518. package/node_modules/zod/src/v4/classic/tests/enum.test.ts +285 -0
  519. package/node_modules/zod/src/v4/classic/tests/error-utils.test.ts +807 -0
  520. package/node_modules/zod/src/v4/classic/tests/error.test.ts +711 -0
  521. package/node_modules/zod/src/v4/classic/tests/file.test.ts +96 -0
  522. package/node_modules/zod/src/v4/classic/tests/firstparty.test.ts +179 -0
  523. package/node_modules/zod/src/v4/classic/tests/fix-json-issue.test.ts +26 -0
  524. package/node_modules/zod/src/v4/classic/tests/from-json-schema.test.ts +895 -0
  525. package/node_modules/zod/src/v4/classic/tests/function.test.ts +360 -0
  526. package/node_modules/zod/src/v4/classic/tests/generics.test.ts +72 -0
  527. package/node_modules/zod/src/v4/classic/tests/global-config.test.ts +39 -0
  528. package/node_modules/zod/src/v4/classic/tests/hash.test.ts +68 -0
  529. package/node_modules/zod/src/v4/classic/tests/index.test.ts +939 -0
  530. package/node_modules/zod/src/v4/classic/tests/instanceof.test.ts +60 -0
  531. package/node_modules/zod/src/v4/classic/tests/intersection.test.ts +198 -0
  532. package/node_modules/zod/src/v4/classic/tests/jitless-allows-eval.test.ts +46 -0
  533. package/node_modules/zod/src/v4/classic/tests/json.test.ts +109 -0
  534. package/node_modules/zod/src/v4/classic/tests/lazy.test.ts +227 -0
  535. package/node_modules/zod/src/v4/classic/tests/literal.test.ts +117 -0
  536. package/node_modules/zod/src/v4/classic/tests/locales_ka.test.ts +29 -0
  537. package/node_modules/zod/src/v4/classic/tests/locales_ro.test.ts +24 -0
  538. package/node_modules/zod/src/v4/classic/tests/map.test.ts +330 -0
  539. package/node_modules/zod/src/v4/classic/tests/nan.test.ts +21 -0
  540. package/node_modules/zod/src/v4/classic/tests/nested-refine.test.ts +168 -0
  541. package/node_modules/zod/src/v4/classic/tests/nonoptional.test.ts +101 -0
  542. package/node_modules/zod/src/v4/classic/tests/nullable.test.ts +22 -0
  543. package/node_modules/zod/src/v4/classic/tests/number.test.ts +325 -0
  544. package/node_modules/zod/src/v4/classic/tests/object.test.ts +717 -0
  545. package/node_modules/zod/src/v4/classic/tests/optional.test.ts +333 -0
  546. package/node_modules/zod/src/v4/classic/tests/partial.test.ts +450 -0
  547. package/node_modules/zod/src/v4/classic/tests/pickomit.test.ts +211 -0
  548. package/node_modules/zod/src/v4/classic/tests/pipe.test.ts +101 -0
  549. package/node_modules/zod/src/v4/classic/tests/prefault.test.ts +74 -0
  550. package/node_modules/zod/src/v4/classic/tests/preprocess-types.test.ts +26 -0
  551. package/node_modules/zod/src/v4/classic/tests/preprocess.test.ts +351 -0
  552. package/node_modules/zod/src/v4/classic/tests/primitive.test.ts +175 -0
  553. package/node_modules/zod/src/v4/classic/tests/promise.test.ts +81 -0
  554. package/node_modules/zod/src/v4/classic/tests/prototypes.test.ts +23 -0
  555. package/node_modules/zod/src/v4/classic/tests/readonly.test.ts +252 -0
  556. package/node_modules/zod/src/v4/classic/tests/record.test.ts +717 -0
  557. package/node_modules/zod/src/v4/classic/tests/recursive-types.test.ts +631 -0
  558. package/node_modules/zod/src/v4/classic/tests/refine.test.ts +633 -0
  559. package/node_modules/zod/src/v4/classic/tests/registries.test.ts +243 -0
  560. package/node_modules/zod/src/v4/classic/tests/set.test.ts +181 -0
  561. package/node_modules/zod/src/v4/classic/tests/standard-schema.test.ts +134 -0
  562. package/node_modules/zod/src/v4/classic/tests/string-formats.test.ts +125 -0
  563. package/node_modules/zod/src/v4/classic/tests/string.test.ts +1224 -0
  564. package/node_modules/zod/src/v4/classic/tests/stringbool.test.ts +106 -0
  565. package/node_modules/zod/src/v4/classic/tests/template-literal.test.ts +771 -0
  566. package/node_modules/zod/src/v4/classic/tests/to-json-schema-methods.test.ts +438 -0
  567. package/node_modules/zod/src/v4/classic/tests/to-json-schema.test.ts +3125 -0
  568. package/node_modules/zod/src/v4/classic/tests/transform.test.ts +378 -0
  569. package/node_modules/zod/src/v4/classic/tests/tuple.test.ts +496 -0
  570. package/node_modules/zod/src/v4/classic/tests/union.test.ts +273 -0
  571. package/node_modules/zod/src/v4/classic/tests/url.test.ts +13 -0
  572. package/node_modules/zod/src/v4/classic/tests/validations.test.ts +283 -0
  573. package/node_modules/zod/src/v4/classic/tests/void.test.ts +12 -0
  574. package/node_modules/zod/src/v4/core/api.ts +1823 -0
  575. package/node_modules/zod/src/v4/core/checks.ts +1293 -0
  576. package/node_modules/zod/src/v4/core/config.ts +15 -0
  577. package/node_modules/zod/src/v4/core/core.ts +153 -0
  578. package/node_modules/zod/src/v4/core/doc.ts +44 -0
  579. package/node_modules/zod/src/v4/core/errors.ts +455 -0
  580. package/node_modules/zod/src/v4/core/index.ts +16 -0
  581. package/node_modules/zod/src/v4/core/json-schema-generator.ts +126 -0
  582. package/node_modules/zod/src/v4/core/json-schema-processors.ts +666 -0
  583. package/node_modules/zod/src/v4/core/json-schema.ts +147 -0
  584. package/node_modules/zod/src/v4/core/parse.ts +195 -0
  585. package/node_modules/zod/src/v4/core/regexes.ts +190 -0
  586. package/node_modules/zod/src/v4/core/registries.ts +105 -0
  587. package/node_modules/zod/src/v4/core/schemas.ts +4730 -0
  588. package/node_modules/zod/src/v4/core/standard-schema.ts +159 -0
  589. package/node_modules/zod/src/v4/core/tests/extend.test.ts +59 -0
  590. package/node_modules/zod/src/v4/core/tests/index.test.ts +46 -0
  591. package/node_modules/zod/src/v4/core/tests/locales/be.test.ts +124 -0
  592. package/node_modules/zod/src/v4/core/tests/locales/el.test.ts +215 -0
  593. package/node_modules/zod/src/v4/core/tests/locales/en.test.ts +22 -0
  594. package/node_modules/zod/src/v4/core/tests/locales/es.test.ts +181 -0
  595. package/node_modules/zod/src/v4/core/tests/locales/fr.test.ts +72 -0
  596. package/node_modules/zod/src/v4/core/tests/locales/he.test.ts +379 -0
  597. package/node_modules/zod/src/v4/core/tests/locales/hr.test.ts +163 -0
  598. package/node_modules/zod/src/v4/core/tests/locales/nl.test.ts +46 -0
  599. package/node_modules/zod/src/v4/core/tests/locales/ru.test.ts +128 -0
  600. package/node_modules/zod/src/v4/core/tests/locales/tr.test.ts +69 -0
  601. package/node_modules/zod/src/v4/core/tests/locales/uz.test.ts +105 -0
  602. package/node_modules/zod/src/v4/core/tests/record-constructor.test.ts +125 -0
  603. package/node_modules/zod/src/v4/core/tests/recursive-tuples.test.ts +45 -0
  604. package/node_modules/zod/src/v4/core/to-json-schema.ts +622 -0
  605. package/node_modules/zod/src/v4/core/util.ts +983 -0
  606. package/node_modules/zod/src/v4/core/versions.ts +5 -0
  607. package/node_modules/zod/src/v4/core/zsf.ts +323 -0
  608. package/node_modules/zod/src/v4/index.ts +4 -0
  609. package/node_modules/zod/src/v4/locales/ar.ts +115 -0
  610. package/node_modules/zod/src/v4/locales/az.ts +111 -0
  611. package/node_modules/zod/src/v4/locales/be.ts +176 -0
  612. package/node_modules/zod/src/v4/locales/bg.ts +128 -0
  613. package/node_modules/zod/src/v4/locales/ca.ts +116 -0
  614. package/node_modules/zod/src/v4/locales/cs.ts +118 -0
  615. package/node_modules/zod/src/v4/locales/da.ts +123 -0
  616. package/node_modules/zod/src/v4/locales/de.ts +116 -0
  617. package/node_modules/zod/src/v4/locales/el.ts +121 -0
  618. package/node_modules/zod/src/v4/locales/en.ts +123 -0
  619. package/node_modules/zod/src/v4/locales/eo.ts +118 -0
  620. package/node_modules/zod/src/v4/locales/es.ts +141 -0
  621. package/node_modules/zod/src/v4/locales/fa.ts +126 -0
  622. package/node_modules/zod/src/v4/locales/fi.ts +121 -0
  623. package/node_modules/zod/src/v4/locales/fr-CA.ts +116 -0
  624. package/node_modules/zod/src/v4/locales/fr.ts +132 -0
  625. package/node_modules/zod/src/v4/locales/he.ts +246 -0
  626. package/node_modules/zod/src/v4/locales/hr.ts +131 -0
  627. package/node_modules/zod/src/v4/locales/hu.ts +117 -0
  628. package/node_modules/zod/src/v4/locales/hy.ts +164 -0
  629. package/node_modules/zod/src/v4/locales/id.ts +115 -0
  630. package/node_modules/zod/src/v4/locales/index.ts +52 -0
  631. package/node_modules/zod/src/v4/locales/is.ts +119 -0
  632. package/node_modules/zod/src/v4/locales/it.ts +116 -0
  633. package/node_modules/zod/src/v4/locales/ja.ts +114 -0
  634. package/node_modules/zod/src/v4/locales/ka.ts +123 -0
  635. package/node_modules/zod/src/v4/locales/kh.ts +7 -0
  636. package/node_modules/zod/src/v4/locales/km.ts +119 -0
  637. package/node_modules/zod/src/v4/locales/ko.ts +121 -0
  638. package/node_modules/zod/src/v4/locales/lt.ts +239 -0
  639. package/node_modules/zod/src/v4/locales/mk.ts +118 -0
  640. package/node_modules/zod/src/v4/locales/ms.ts +115 -0
  641. package/node_modules/zod/src/v4/locales/nl.ts +121 -0
  642. package/node_modules/zod/src/v4/locales/no.ts +116 -0
  643. package/node_modules/zod/src/v4/locales/ota.ts +117 -0
  644. package/node_modules/zod/src/v4/locales/pl.ts +118 -0
  645. package/node_modules/zod/src/v4/locales/ps.ts +126 -0
  646. package/node_modules/zod/src/v4/locales/pt.ts +116 -0
  647. package/node_modules/zod/src/v4/locales/ro.ts +129 -0
  648. package/node_modules/zod/src/v4/locales/ru.ts +176 -0
  649. package/node_modules/zod/src/v4/locales/sl.ts +118 -0
  650. package/node_modules/zod/src/v4/locales/sv.ts +119 -0
  651. package/node_modules/zod/src/v4/locales/ta.ts +118 -0
  652. package/node_modules/zod/src/v4/locales/th.ts +119 -0
  653. package/node_modules/zod/src/v4/locales/tr.ts +111 -0
  654. package/node_modules/zod/src/v4/locales/ua.ts +7 -0
  655. package/node_modules/zod/src/v4/locales/uk.ts +117 -0
  656. package/node_modules/zod/src/v4/locales/ur.ts +119 -0
  657. package/node_modules/zod/src/v4/locales/uz.ts +117 -0
  658. package/node_modules/zod/src/v4/locales/vi.ts +117 -0
  659. package/node_modules/zod/src/v4/locales/yo.ts +124 -0
  660. package/node_modules/zod/src/v4/locales/zh-CN.ts +116 -0
  661. package/node_modules/zod/src/v4/locales/zh-TW.ts +115 -0
  662. package/node_modules/zod/src/v4/mini/checks.ts +32 -0
  663. package/node_modules/zod/src/v4/mini/coerce.ts +27 -0
  664. package/node_modules/zod/src/v4/mini/external.ts +41 -0
  665. package/node_modules/zod/src/v4/mini/index.ts +3 -0
  666. package/node_modules/zod/src/v4/mini/iso.ts +66 -0
  667. package/node_modules/zod/src/v4/mini/parse.ts +14 -0
  668. package/node_modules/zod/src/v4/mini/schemas.ts +1947 -0
  669. package/node_modules/zod/src/v4/mini/tests/apply.test.ts +24 -0
  670. package/node_modules/zod/src/v4/mini/tests/assignability.test.ts +129 -0
  671. package/node_modules/zod/src/v4/mini/tests/brand.test.ts +94 -0
  672. package/node_modules/zod/src/v4/mini/tests/checks.test.ts +144 -0
  673. package/node_modules/zod/src/v4/mini/tests/codec.test.ts +548 -0
  674. package/node_modules/zod/src/v4/mini/tests/computed.test.ts +36 -0
  675. package/node_modules/zod/src/v4/mini/tests/error.test.ts +22 -0
  676. package/node_modules/zod/src/v4/mini/tests/functions.test.ts +5 -0
  677. package/node_modules/zod/src/v4/mini/tests/index.test.ts +993 -0
  678. package/node_modules/zod/src/v4/mini/tests/number.test.ts +95 -0
  679. package/node_modules/zod/src/v4/mini/tests/object.test.ts +227 -0
  680. package/node_modules/zod/src/v4/mini/tests/prototypes.test.ts +43 -0
  681. package/node_modules/zod/src/v4/mini/tests/recursive-types.test.ts +325 -0
  682. package/node_modules/zod/src/v4/mini/tests/standard-schema.test.ts +50 -0
  683. package/node_modules/zod/src/v4/mini/tests/string.test.ts +352 -0
  684. package/node_modules/zod/src/v4-mini/index.ts +3 -0
  685. package/node_modules/zod/v3/ZodError.cjs +138 -0
  686. package/node_modules/zod/v3/ZodError.d.cts +164 -0
  687. package/node_modules/zod/v3/ZodError.d.ts +164 -0
  688. package/node_modules/zod/v3/ZodError.js +133 -0
  689. package/node_modules/zod/v3/errors.cjs +17 -0
  690. package/node_modules/zod/v3/errors.d.cts +5 -0
  691. package/node_modules/zod/v3/errors.d.ts +5 -0
  692. package/node_modules/zod/v3/errors.js +9 -0
  693. package/node_modules/zod/v3/external.cjs +22 -0
  694. package/node_modules/zod/v3/external.d.cts +6 -0
  695. package/node_modules/zod/v3/external.d.ts +6 -0
  696. package/node_modules/zod/v3/external.js +6 -0
  697. package/node_modules/zod/v3/helpers/enumUtil.cjs +2 -0
  698. package/node_modules/zod/v3/helpers/enumUtil.d.cts +8 -0
  699. package/node_modules/zod/v3/helpers/enumUtil.d.ts +8 -0
  700. package/node_modules/zod/v3/helpers/enumUtil.js +1 -0
  701. package/node_modules/zod/v3/helpers/errorUtil.cjs +9 -0
  702. package/node_modules/zod/v3/helpers/errorUtil.d.cts +9 -0
  703. package/node_modules/zod/v3/helpers/errorUtil.d.ts +9 -0
  704. package/node_modules/zod/v3/helpers/errorUtil.js +6 -0
  705. package/node_modules/zod/v3/helpers/parseUtil.cjs +124 -0
  706. package/node_modules/zod/v3/helpers/parseUtil.d.cts +78 -0
  707. package/node_modules/zod/v3/helpers/parseUtil.d.ts +78 -0
  708. package/node_modules/zod/v3/helpers/parseUtil.js +109 -0
  709. package/node_modules/zod/v3/helpers/partialUtil.cjs +2 -0
  710. package/node_modules/zod/v3/helpers/partialUtil.d.cts +8 -0
  711. package/node_modules/zod/v3/helpers/partialUtil.d.ts +8 -0
  712. package/node_modules/zod/v3/helpers/partialUtil.js +1 -0
  713. package/node_modules/zod/v3/helpers/typeAliases.cjs +2 -0
  714. package/node_modules/zod/v3/helpers/typeAliases.d.cts +2 -0
  715. package/node_modules/zod/v3/helpers/typeAliases.d.ts +2 -0
  716. package/node_modules/zod/v3/helpers/typeAliases.js +1 -0
  717. package/node_modules/zod/v3/helpers/util.cjs +137 -0
  718. package/node_modules/zod/v3/helpers/util.d.cts +85 -0
  719. package/node_modules/zod/v3/helpers/util.d.ts +85 -0
  720. package/node_modules/zod/v3/helpers/util.js +133 -0
  721. package/node_modules/zod/v3/index.cjs +33 -0
  722. package/node_modules/zod/v3/index.d.cts +4 -0
  723. package/node_modules/zod/v3/index.d.ts +4 -0
  724. package/node_modules/zod/v3/index.js +4 -0
  725. package/node_modules/zod/v3/locales/en.cjs +112 -0
  726. package/node_modules/zod/v3/locales/en.d.cts +3 -0
  727. package/node_modules/zod/v3/locales/en.d.ts +3 -0
  728. package/node_modules/zod/v3/locales/en.js +109 -0
  729. package/node_modules/zod/v3/package.json +7 -0
  730. package/node_modules/zod/v3/standard-schema.cjs +2 -0
  731. package/node_modules/zod/v3/standard-schema.d.cts +102 -0
  732. package/node_modules/zod/v3/standard-schema.d.ts +102 -0
  733. package/node_modules/zod/v3/standard-schema.js +1 -0
  734. package/node_modules/zod/v3/types.cjs +3777 -0
  735. package/node_modules/zod/v3/types.d.cts +1034 -0
  736. package/node_modules/zod/v3/types.d.ts +1034 -0
  737. package/node_modules/zod/v3/types.js +3695 -0
  738. package/node_modules/zod/v4/classic/checks.cjs +33 -0
  739. package/node_modules/zod/v4/classic/checks.d.cts +1 -0
  740. package/node_modules/zod/v4/classic/checks.d.ts +1 -0
  741. package/node_modules/zod/v4/classic/checks.js +1 -0
  742. package/node_modules/zod/v4/classic/coerce.cjs +47 -0
  743. package/node_modules/zod/v4/classic/coerce.d.cts +17 -0
  744. package/node_modules/zod/v4/classic/coerce.d.ts +17 -0
  745. package/node_modules/zod/v4/classic/coerce.js +17 -0
  746. package/node_modules/zod/v4/classic/compat.cjs +61 -0
  747. package/node_modules/zod/v4/classic/compat.d.cts +50 -0
  748. package/node_modules/zod/v4/classic/compat.d.ts +50 -0
  749. package/node_modules/zod/v4/classic/compat.js +31 -0
  750. package/node_modules/zod/v4/classic/errors.cjs +74 -0
  751. package/node_modules/zod/v4/classic/errors.d.cts +30 -0
  752. package/node_modules/zod/v4/classic/errors.d.ts +30 -0
  753. package/node_modules/zod/v4/classic/errors.js +48 -0
  754. package/node_modules/zod/v4/classic/external.cjs +73 -0
  755. package/node_modules/zod/v4/classic/external.d.cts +16 -0
  756. package/node_modules/zod/v4/classic/external.d.ts +16 -0
  757. package/node_modules/zod/v4/classic/external.js +20 -0
  758. package/node_modules/zod/v4/classic/from-json-schema.cjs +625 -0
  759. package/node_modules/zod/v4/classic/from-json-schema.d.cts +12 -0
  760. package/node_modules/zod/v4/classic/from-json-schema.d.ts +12 -0
  761. package/node_modules/zod/v4/classic/from-json-schema.js +599 -0
  762. package/node_modules/zod/v4/classic/index.cjs +33 -0
  763. package/node_modules/zod/v4/classic/index.d.cts +4 -0
  764. package/node_modules/zod/v4/classic/index.d.ts +4 -0
  765. package/node_modules/zod/v4/classic/index.js +4 -0
  766. package/node_modules/zod/v4/classic/iso.cjs +60 -0
  767. package/node_modules/zod/v4/classic/iso.d.cts +22 -0
  768. package/node_modules/zod/v4/classic/iso.d.ts +22 -0
  769. package/node_modules/zod/v4/classic/iso.js +30 -0
  770. package/node_modules/zod/v4/classic/package.json +7 -0
  771. package/node_modules/zod/v4/classic/parse.cjs +41 -0
  772. package/node_modules/zod/v4/classic/parse.d.cts +31 -0
  773. package/node_modules/zod/v4/classic/parse.d.ts +31 -0
  774. package/node_modules/zod/v4/classic/parse.js +15 -0
  775. package/node_modules/zod/v4/classic/schemas.cjs +1511 -0
  776. package/node_modules/zod/v4/classic/schemas.d.cts +767 -0
  777. package/node_modules/zod/v4/classic/schemas.d.ts +767 -0
  778. package/node_modules/zod/v4/classic/schemas.js +1395 -0
  779. package/node_modules/zod/v4/core/api.cjs +1227 -0
  780. package/node_modules/zod/v4/core/api.d.cts +325 -0
  781. package/node_modules/zod/v4/core/api.d.ts +325 -0
  782. package/node_modules/zod/v4/core/api.js +1087 -0
  783. package/node_modules/zod/v4/core/checks.cjs +601 -0
  784. package/node_modules/zod/v4/core/checks.d.cts +278 -0
  785. package/node_modules/zod/v4/core/checks.d.ts +278 -0
  786. package/node_modules/zod/v4/core/checks.js +575 -0
  787. package/node_modules/zod/v4/core/core.cjs +85 -0
  788. package/node_modules/zod/v4/core/core.d.cts +70 -0
  789. package/node_modules/zod/v4/core/core.d.ts +70 -0
  790. package/node_modules/zod/v4/core/core.js +78 -0
  791. package/node_modules/zod/v4/core/doc.cjs +39 -0
  792. package/node_modules/zod/v4/core/doc.d.cts +14 -0
  793. package/node_modules/zod/v4/core/doc.d.ts +14 -0
  794. package/node_modules/zod/v4/core/doc.js +35 -0
  795. package/node_modules/zod/v4/core/errors.cjs +216 -0
  796. package/node_modules/zod/v4/core/errors.d.cts +221 -0
  797. package/node_modules/zod/v4/core/errors.d.ts +221 -0
  798. package/node_modules/zod/v4/core/errors.js +185 -0
  799. package/node_modules/zod/v4/core/index.cjs +47 -0
  800. package/node_modules/zod/v4/core/index.d.cts +16 -0
  801. package/node_modules/zod/v4/core/index.d.ts +16 -0
  802. package/node_modules/zod/v4/core/index.js +16 -0
  803. package/node_modules/zod/v4/core/json-schema-generator.cjs +99 -0
  804. package/node_modules/zod/v4/core/json-schema-generator.d.cts +65 -0
  805. package/node_modules/zod/v4/core/json-schema-generator.d.ts +65 -0
  806. package/node_modules/zod/v4/core/json-schema-generator.js +95 -0
  807. package/node_modules/zod/v4/core/json-schema-processors.cjs +644 -0
  808. package/node_modules/zod/v4/core/json-schema-processors.d.cts +49 -0
  809. package/node_modules/zod/v4/core/json-schema-processors.d.ts +49 -0
  810. package/node_modules/zod/v4/core/json-schema-processors.js +601 -0
  811. package/node_modules/zod/v4/core/json-schema.cjs +2 -0
  812. package/node_modules/zod/v4/core/json-schema.d.cts +88 -0
  813. package/node_modules/zod/v4/core/json-schema.d.ts +88 -0
  814. package/node_modules/zod/v4/core/json-schema.js +1 -0
  815. package/node_modules/zod/v4/core/package.json +7 -0
  816. package/node_modules/zod/v4/core/parse.cjs +131 -0
  817. package/node_modules/zod/v4/core/parse.d.cts +49 -0
  818. package/node_modules/zod/v4/core/parse.d.ts +49 -0
  819. package/node_modules/zod/v4/core/parse.js +93 -0
  820. package/node_modules/zod/v4/core/regexes.cjs +172 -0
  821. package/node_modules/zod/v4/core/regexes.d.cts +85 -0
  822. package/node_modules/zod/v4/core/regexes.d.ts +85 -0
  823. package/node_modules/zod/v4/core/regexes.js +139 -0
  824. package/node_modules/zod/v4/core/registries.cjs +56 -0
  825. package/node_modules/zod/v4/core/registries.d.cts +35 -0
  826. package/node_modules/zod/v4/core/registries.d.ts +35 -0
  827. package/node_modules/zod/v4/core/registries.js +51 -0
  828. package/node_modules/zod/v4/core/schemas.cjs +2270 -0
  829. package/node_modules/zod/v4/core/schemas.d.cts +1184 -0
  830. package/node_modules/zod/v4/core/schemas.d.ts +1184 -0
  831. package/node_modules/zod/v4/core/schemas.js +2239 -0
  832. package/node_modules/zod/v4/core/standard-schema.cjs +2 -0
  833. package/node_modules/zod/v4/core/standard-schema.d.cts +126 -0
  834. package/node_modules/zod/v4/core/standard-schema.d.ts +126 -0
  835. package/node_modules/zod/v4/core/standard-schema.js +1 -0
  836. package/node_modules/zod/v4/core/to-json-schema.cjs +457 -0
  837. package/node_modules/zod/v4/core/to-json-schema.d.cts +114 -0
  838. package/node_modules/zod/v4/core/to-json-schema.d.ts +114 -0
  839. package/node_modules/zod/v4/core/to-json-schema.js +448 -0
  840. package/node_modules/zod/v4/core/util.cjs +734 -0
  841. package/node_modules/zod/v4/core/util.d.cts +200 -0
  842. package/node_modules/zod/v4/core/util.d.ts +200 -0
  843. package/node_modules/zod/v4/core/util.js +674 -0
  844. package/node_modules/zod/v4/core/versions.cjs +8 -0
  845. package/node_modules/zod/v4/core/versions.d.cts +5 -0
  846. package/node_modules/zod/v4/core/versions.d.ts +5 -0
  847. package/node_modules/zod/v4/core/versions.js +5 -0
  848. package/node_modules/zod/v4/index.cjs +22 -0
  849. package/node_modules/zod/v4/index.d.cts +3 -0
  850. package/node_modules/zod/v4/index.d.ts +3 -0
  851. package/node_modules/zod/v4/index.js +3 -0
  852. package/node_modules/zod/v4/locales/ar.cjs +133 -0
  853. package/node_modules/zod/v4/locales/ar.d.cts +5 -0
  854. package/node_modules/zod/v4/locales/ar.d.ts +4 -0
  855. package/node_modules/zod/v4/locales/ar.js +106 -0
  856. package/node_modules/zod/v4/locales/az.cjs +132 -0
  857. package/node_modules/zod/v4/locales/az.d.cts +5 -0
  858. package/node_modules/zod/v4/locales/az.d.ts +4 -0
  859. package/node_modules/zod/v4/locales/az.js +105 -0
  860. package/node_modules/zod/v4/locales/be.cjs +183 -0
  861. package/node_modules/zod/v4/locales/be.d.cts +5 -0
  862. package/node_modules/zod/v4/locales/be.d.ts +4 -0
  863. package/node_modules/zod/v4/locales/be.js +156 -0
  864. package/node_modules/zod/v4/locales/bg.cjs +147 -0
  865. package/node_modules/zod/v4/locales/bg.d.cts +5 -0
  866. package/node_modules/zod/v4/locales/bg.d.ts +4 -0
  867. package/node_modules/zod/v4/locales/bg.js +120 -0
  868. package/node_modules/zod/v4/locales/ca.cjs +134 -0
  869. package/node_modules/zod/v4/locales/ca.d.cts +5 -0
  870. package/node_modules/zod/v4/locales/ca.d.ts +4 -0
  871. package/node_modules/zod/v4/locales/ca.js +107 -0
  872. package/node_modules/zod/v4/locales/cs.cjs +138 -0
  873. package/node_modules/zod/v4/locales/cs.d.cts +5 -0
  874. package/node_modules/zod/v4/locales/cs.d.ts +4 -0
  875. package/node_modules/zod/v4/locales/cs.js +111 -0
  876. package/node_modules/zod/v4/locales/da.cjs +142 -0
  877. package/node_modules/zod/v4/locales/da.d.cts +5 -0
  878. package/node_modules/zod/v4/locales/da.d.ts +4 -0
  879. package/node_modules/zod/v4/locales/da.js +115 -0
  880. package/node_modules/zod/v4/locales/de.cjs +135 -0
  881. package/node_modules/zod/v4/locales/de.d.cts +5 -0
  882. package/node_modules/zod/v4/locales/de.d.ts +4 -0
  883. package/node_modules/zod/v4/locales/de.js +108 -0
  884. package/node_modules/zod/v4/locales/el.cjs +136 -0
  885. package/node_modules/zod/v4/locales/el.d.cts +5 -0
  886. package/node_modules/zod/v4/locales/el.d.ts +4 -0
  887. package/node_modules/zod/v4/locales/el.js +109 -0
  888. package/node_modules/zod/v4/locales/en.cjs +140 -0
  889. package/node_modules/zod/v4/locales/en.d.cts +5 -0
  890. package/node_modules/zod/v4/locales/en.d.ts +4 -0
  891. package/node_modules/zod/v4/locales/en.js +113 -0
  892. package/node_modules/zod/v4/locales/eo.cjs +136 -0
  893. package/node_modules/zod/v4/locales/eo.d.cts +5 -0
  894. package/node_modules/zod/v4/locales/eo.d.ts +4 -0
  895. package/node_modules/zod/v4/locales/eo.js +109 -0
  896. package/node_modules/zod/v4/locales/es.cjs +159 -0
  897. package/node_modules/zod/v4/locales/es.d.cts +5 -0
  898. package/node_modules/zod/v4/locales/es.d.ts +4 -0
  899. package/node_modules/zod/v4/locales/es.js +132 -0
  900. package/node_modules/zod/v4/locales/fa.cjs +141 -0
  901. package/node_modules/zod/v4/locales/fa.d.cts +5 -0
  902. package/node_modules/zod/v4/locales/fa.d.ts +4 -0
  903. package/node_modules/zod/v4/locales/fa.js +114 -0
  904. package/node_modules/zod/v4/locales/fi.cjs +139 -0
  905. package/node_modules/zod/v4/locales/fi.d.cts +5 -0
  906. package/node_modules/zod/v4/locales/fi.d.ts +4 -0
  907. package/node_modules/zod/v4/locales/fi.js +112 -0
  908. package/node_modules/zod/v4/locales/fr-CA.cjs +134 -0
  909. package/node_modules/zod/v4/locales/fr-CA.d.cts +5 -0
  910. package/node_modules/zod/v4/locales/fr-CA.d.ts +4 -0
  911. package/node_modules/zod/v4/locales/fr-CA.js +107 -0
  912. package/node_modules/zod/v4/locales/fr.cjs +152 -0
  913. package/node_modules/zod/v4/locales/fr.d.cts +5 -0
  914. package/node_modules/zod/v4/locales/fr.d.ts +4 -0
  915. package/node_modules/zod/v4/locales/fr.js +125 -0
  916. package/node_modules/zod/v4/locales/he.cjs +241 -0
  917. package/node_modules/zod/v4/locales/he.d.cts +5 -0
  918. package/node_modules/zod/v4/locales/he.d.ts +4 -0
  919. package/node_modules/zod/v4/locales/he.js +214 -0
  920. package/node_modules/zod/v4/locales/hr.cjs +149 -0
  921. package/node_modules/zod/v4/locales/hr.d.cts +5 -0
  922. package/node_modules/zod/v4/locales/hr.d.ts +4 -0
  923. package/node_modules/zod/v4/locales/hr.js +122 -0
  924. package/node_modules/zod/v4/locales/hu.cjs +135 -0
  925. package/node_modules/zod/v4/locales/hu.d.cts +5 -0
  926. package/node_modules/zod/v4/locales/hu.d.ts +4 -0
  927. package/node_modules/zod/v4/locales/hu.js +108 -0
  928. package/node_modules/zod/v4/locales/hy.cjs +174 -0
  929. package/node_modules/zod/v4/locales/hy.d.cts +5 -0
  930. package/node_modules/zod/v4/locales/hy.d.ts +4 -0
  931. package/node_modules/zod/v4/locales/hy.js +147 -0
  932. package/node_modules/zod/v4/locales/id.cjs +133 -0
  933. package/node_modules/zod/v4/locales/id.d.cts +5 -0
  934. package/node_modules/zod/v4/locales/id.d.ts +4 -0
  935. package/node_modules/zod/v4/locales/id.js +106 -0
  936. package/node_modules/zod/v4/locales/index.cjs +111 -0
  937. package/node_modules/zod/v4/locales/index.d.cts +52 -0
  938. package/node_modules/zod/v4/locales/index.d.ts +52 -0
  939. package/node_modules/zod/v4/locales/index.js +52 -0
  940. package/node_modules/zod/v4/locales/is.cjs +136 -0
  941. package/node_modules/zod/v4/locales/is.d.cts +5 -0
  942. package/node_modules/zod/v4/locales/is.d.ts +4 -0
  943. package/node_modules/zod/v4/locales/is.js +109 -0
  944. package/node_modules/zod/v4/locales/it.cjs +135 -0
  945. package/node_modules/zod/v4/locales/it.d.cts +5 -0
  946. package/node_modules/zod/v4/locales/it.d.ts +4 -0
  947. package/node_modules/zod/v4/locales/it.js +108 -0
  948. package/node_modules/zod/v4/locales/ja.cjs +134 -0
  949. package/node_modules/zod/v4/locales/ja.d.cts +5 -0
  950. package/node_modules/zod/v4/locales/ja.d.ts +4 -0
  951. package/node_modules/zod/v4/locales/ja.js +107 -0
  952. package/node_modules/zod/v4/locales/ka.cjs +139 -0
  953. package/node_modules/zod/v4/locales/ka.d.cts +5 -0
  954. package/node_modules/zod/v4/locales/ka.d.ts +4 -0
  955. package/node_modules/zod/v4/locales/ka.js +112 -0
  956. package/node_modules/zod/v4/locales/kh.cjs +12 -0
  957. package/node_modules/zod/v4/locales/kh.d.cts +5 -0
  958. package/node_modules/zod/v4/locales/kh.d.ts +5 -0
  959. package/node_modules/zod/v4/locales/kh.js +5 -0
  960. package/node_modules/zod/v4/locales/km.cjs +137 -0
  961. package/node_modules/zod/v4/locales/km.d.cts +5 -0
  962. package/node_modules/zod/v4/locales/km.d.ts +4 -0
  963. package/node_modules/zod/v4/locales/km.js +110 -0
  964. package/node_modules/zod/v4/locales/ko.cjs +138 -0
  965. package/node_modules/zod/v4/locales/ko.d.cts +5 -0
  966. package/node_modules/zod/v4/locales/ko.d.ts +4 -0
  967. package/node_modules/zod/v4/locales/ko.js +111 -0
  968. package/node_modules/zod/v4/locales/lt.cjs +230 -0
  969. package/node_modules/zod/v4/locales/lt.d.cts +5 -0
  970. package/node_modules/zod/v4/locales/lt.d.ts +4 -0
  971. package/node_modules/zod/v4/locales/lt.js +203 -0
  972. package/node_modules/zod/v4/locales/mk.cjs +136 -0
  973. package/node_modules/zod/v4/locales/mk.d.cts +5 -0
  974. package/node_modules/zod/v4/locales/mk.d.ts +4 -0
  975. package/node_modules/zod/v4/locales/mk.js +109 -0
  976. package/node_modules/zod/v4/locales/ms.cjs +134 -0
  977. package/node_modules/zod/v4/locales/ms.d.cts +5 -0
  978. package/node_modules/zod/v4/locales/ms.d.ts +4 -0
  979. package/node_modules/zod/v4/locales/ms.js +107 -0
  980. package/node_modules/zod/v4/locales/nl.cjs +137 -0
  981. package/node_modules/zod/v4/locales/nl.d.cts +5 -0
  982. package/node_modules/zod/v4/locales/nl.d.ts +4 -0
  983. package/node_modules/zod/v4/locales/nl.js +110 -0
  984. package/node_modules/zod/v4/locales/no.cjs +135 -0
  985. package/node_modules/zod/v4/locales/no.d.cts +5 -0
  986. package/node_modules/zod/v4/locales/no.d.ts +4 -0
  987. package/node_modules/zod/v4/locales/no.js +108 -0
  988. package/node_modules/zod/v4/locales/ota.cjs +136 -0
  989. package/node_modules/zod/v4/locales/ota.d.cts +5 -0
  990. package/node_modules/zod/v4/locales/ota.d.ts +4 -0
  991. package/node_modules/zod/v4/locales/ota.js +109 -0
  992. package/node_modules/zod/v4/locales/package.json +7 -0
  993. package/node_modules/zod/v4/locales/pl.cjs +136 -0
  994. package/node_modules/zod/v4/locales/pl.d.cts +5 -0
  995. package/node_modules/zod/v4/locales/pl.d.ts +4 -0
  996. package/node_modules/zod/v4/locales/pl.js +109 -0
  997. package/node_modules/zod/v4/locales/ps.cjs +141 -0
  998. package/node_modules/zod/v4/locales/ps.d.cts +5 -0
  999. package/node_modules/zod/v4/locales/ps.d.ts +4 -0
  1000. package/node_modules/zod/v4/locales/ps.js +114 -0
  1001. package/node_modules/zod/v4/locales/pt.cjs +135 -0
  1002. package/node_modules/zod/v4/locales/pt.d.cts +5 -0
  1003. package/node_modules/zod/v4/locales/pt.d.ts +4 -0
  1004. package/node_modules/zod/v4/locales/pt.js +108 -0
  1005. package/node_modules/zod/v4/locales/ro.cjs +146 -0
  1006. package/node_modules/zod/v4/locales/ro.d.cts +5 -0
  1007. package/node_modules/zod/v4/locales/ro.d.ts +4 -0
  1008. package/node_modules/zod/v4/locales/ro.js +119 -0
  1009. package/node_modules/zod/v4/locales/ru.cjs +183 -0
  1010. package/node_modules/zod/v4/locales/ru.d.cts +5 -0
  1011. package/node_modules/zod/v4/locales/ru.d.ts +4 -0
  1012. package/node_modules/zod/v4/locales/ru.js +156 -0
  1013. package/node_modules/zod/v4/locales/sl.cjs +136 -0
  1014. package/node_modules/zod/v4/locales/sl.d.cts +5 -0
  1015. package/node_modules/zod/v4/locales/sl.d.ts +4 -0
  1016. package/node_modules/zod/v4/locales/sl.js +109 -0
  1017. package/node_modules/zod/v4/locales/sv.cjs +137 -0
  1018. package/node_modules/zod/v4/locales/sv.d.cts +5 -0
  1019. package/node_modules/zod/v4/locales/sv.d.ts +4 -0
  1020. package/node_modules/zod/v4/locales/sv.js +110 -0
  1021. package/node_modules/zod/v4/locales/ta.cjs +137 -0
  1022. package/node_modules/zod/v4/locales/ta.d.cts +5 -0
  1023. package/node_modules/zod/v4/locales/ta.d.ts +4 -0
  1024. package/node_modules/zod/v4/locales/ta.js +110 -0
  1025. package/node_modules/zod/v4/locales/th.cjs +137 -0
  1026. package/node_modules/zod/v4/locales/th.d.cts +5 -0
  1027. package/node_modules/zod/v4/locales/th.d.ts +4 -0
  1028. package/node_modules/zod/v4/locales/th.js +110 -0
  1029. package/node_modules/zod/v4/locales/tr.cjs +132 -0
  1030. package/node_modules/zod/v4/locales/tr.d.cts +5 -0
  1031. package/node_modules/zod/v4/locales/tr.d.ts +4 -0
  1032. package/node_modules/zod/v4/locales/tr.js +105 -0
  1033. package/node_modules/zod/v4/locales/ua.cjs +12 -0
  1034. package/node_modules/zod/v4/locales/ua.d.cts +5 -0
  1035. package/node_modules/zod/v4/locales/ua.d.ts +5 -0
  1036. package/node_modules/zod/v4/locales/ua.js +5 -0
  1037. package/node_modules/zod/v4/locales/uk.cjs +135 -0
  1038. package/node_modules/zod/v4/locales/uk.d.cts +5 -0
  1039. package/node_modules/zod/v4/locales/uk.d.ts +4 -0
  1040. package/node_modules/zod/v4/locales/uk.js +108 -0
  1041. package/node_modules/zod/v4/locales/ur.cjs +137 -0
  1042. package/node_modules/zod/v4/locales/ur.d.cts +5 -0
  1043. package/node_modules/zod/v4/locales/ur.d.ts +4 -0
  1044. package/node_modules/zod/v4/locales/ur.js +110 -0
  1045. package/node_modules/zod/v4/locales/uz.cjs +137 -0
  1046. package/node_modules/zod/v4/locales/uz.d.cts +5 -0
  1047. package/node_modules/zod/v4/locales/uz.d.ts +4 -0
  1048. package/node_modules/zod/v4/locales/uz.js +110 -0
  1049. package/node_modules/zod/v4/locales/vi.cjs +135 -0
  1050. package/node_modules/zod/v4/locales/vi.d.cts +5 -0
  1051. package/node_modules/zod/v4/locales/vi.d.ts +4 -0
  1052. package/node_modules/zod/v4/locales/vi.js +108 -0
  1053. package/node_modules/zod/v4/locales/yo.cjs +134 -0
  1054. package/node_modules/zod/v4/locales/yo.d.cts +5 -0
  1055. package/node_modules/zod/v4/locales/yo.d.ts +4 -0
  1056. package/node_modules/zod/v4/locales/yo.js +107 -0
  1057. package/node_modules/zod/v4/locales/zh-CN.cjs +136 -0
  1058. package/node_modules/zod/v4/locales/zh-CN.d.cts +5 -0
  1059. package/node_modules/zod/v4/locales/zh-CN.d.ts +4 -0
  1060. package/node_modules/zod/v4/locales/zh-CN.js +109 -0
  1061. package/node_modules/zod/v4/locales/zh-TW.cjs +134 -0
  1062. package/node_modules/zod/v4/locales/zh-TW.d.cts +5 -0
  1063. package/node_modules/zod/v4/locales/zh-TW.d.ts +4 -0
  1064. package/node_modules/zod/v4/locales/zh-TW.js +107 -0
  1065. package/node_modules/zod/v4/mini/checks.cjs +34 -0
  1066. package/node_modules/zod/v4/mini/checks.d.cts +1 -0
  1067. package/node_modules/zod/v4/mini/checks.d.ts +1 -0
  1068. package/node_modules/zod/v4/mini/checks.js +1 -0
  1069. package/node_modules/zod/v4/mini/coerce.cjs +52 -0
  1070. package/node_modules/zod/v4/mini/coerce.d.cts +7 -0
  1071. package/node_modules/zod/v4/mini/coerce.d.ts +7 -0
  1072. package/node_modules/zod/v4/mini/coerce.js +22 -0
  1073. package/node_modules/zod/v4/mini/external.cjs +63 -0
  1074. package/node_modules/zod/v4/mini/external.d.cts +13 -0
  1075. package/node_modules/zod/v4/mini/external.d.ts +13 -0
  1076. package/node_modules/zod/v4/mini/external.js +14 -0
  1077. package/node_modules/zod/v4/mini/index.cjs +32 -0
  1078. package/node_modules/zod/v4/mini/index.d.cts +3 -0
  1079. package/node_modules/zod/v4/mini/index.d.ts +3 -0
  1080. package/node_modules/zod/v4/mini/index.js +3 -0
  1081. package/node_modules/zod/v4/mini/iso.cjs +64 -0
  1082. package/node_modules/zod/v4/mini/iso.d.cts +22 -0
  1083. package/node_modules/zod/v4/mini/iso.d.ts +22 -0
  1084. package/node_modules/zod/v4/mini/iso.js +34 -0
  1085. package/node_modules/zod/v4/mini/package.json +7 -0
  1086. package/node_modules/zod/v4/mini/parse.cjs +16 -0
  1087. package/node_modules/zod/v4/mini/parse.d.cts +1 -0
  1088. package/node_modules/zod/v4/mini/parse.d.ts +1 -0
  1089. package/node_modules/zod/v4/mini/parse.js +1 -0
  1090. package/node_modules/zod/v4/mini/schemas.cjs +1083 -0
  1091. package/node_modules/zod/v4/mini/schemas.d.cts +445 -0
  1092. package/node_modules/zod/v4/mini/schemas.d.ts +445 -0
  1093. package/node_modules/zod/v4/mini/schemas.js +961 -0
  1094. package/node_modules/zod/v4/package.json +7 -0
  1095. package/node_modules/zod/v4-mini/index.cjs +32 -0
  1096. package/node_modules/zod/v4-mini/index.d.cts +3 -0
  1097. package/node_modules/zod/v4-mini/index.d.ts +3 -0
  1098. package/node_modules/zod/v4-mini/index.js +3 -0
  1099. package/node_modules/zod/v4-mini/package.json +7 -0
  1100. package/npm-shrinkwrap.json +314 -0
  1101. package/package.json +11 -9
@@ -0,0 +1,235 @@
1
+ [//]: # "This README.md file is auto-generated, all changes to this file will be lost."
2
+ [//]: # "To regenerate it, use `python -m synthtool`."
3
+ <img src="https://avatars2.githubusercontent.com/u/2810941?v=3&s=96" alt="Google Cloud Platform logo" title="Google Cloud Platform" align="right" height="96" width="96"/>
4
+
5
+ # [GCP Metadata: Node.js Client](https://github.com/googleapis/gcp-metadata)
6
+
7
+ [![release level](https://img.shields.io/badge/release%20level-stable-brightgreen.svg?style=flat)](https://cloud.google.com/terms/launch-stages)
8
+ [![npm version](https://img.shields.io/npm/v/gcp-metadata.svg)](https://www.npmjs.com/package/gcp-metadata)
9
+
10
+
11
+
12
+
13
+ Get the metadata from a Google Cloud Platform environment
14
+
15
+
16
+ A comprehensive list of changes in each version may be found in
17
+ [the CHANGELOG](https://github.com/googleapis/gcp-metadata/blob/main/CHANGELOG.md).
18
+
19
+ * [GCP Metadata Node.js Client API Reference][client-docs]
20
+ * [GCP Metadata Documentation][product-docs]
21
+ * [github.com/googleapis/gcp-metadata](https://github.com/googleapis/gcp-metadata)
22
+
23
+ Read more about the client libraries for Cloud APIs, including the older
24
+ Google APIs Client Libraries, in [Client Libraries Explained][explained].
25
+
26
+ [explained]: https://cloud.google.com/apis/docs/client-libraries-explained
27
+
28
+ **Table of contents:**
29
+
30
+
31
+ * [Quickstart](#quickstart)
32
+
33
+ * [Installing the client library](#installing-the-client-library)
34
+ * [Using the client library](#using-the-client-library)
35
+ * [Samples](#samples)
36
+ * [Versioning](#versioning)
37
+ * [Contributing](#contributing)
38
+ * [License](#license)
39
+
40
+ ## Quickstart
41
+
42
+ ### Installing the client library
43
+
44
+ ```bash
45
+ npm install gcp-metadata
46
+ ```
47
+
48
+
49
+ ### Using the client library
50
+
51
+ ```javascript
52
+ const gcpMetadata = require('gcp-metadata');
53
+
54
+ async function quickstart() {
55
+ // check to see if this code can access a metadata server
56
+ const isAvailable = await gcpMetadata.isAvailable();
57
+ console.log(`Is available: ${isAvailable}`);
58
+
59
+ // Instance and Project level metadata will only be available if
60
+ // running inside of a Google Cloud compute environment such as
61
+ // Cloud Functions, App Engine, Kubernetes Engine, or Compute Engine.
62
+ // To learn more about the differences between instance and project
63
+ // level metadata, see:
64
+ // https://cloud.google.com/compute/docs/storing-retrieving-metadata#project-instance-metadata
65
+ if (isAvailable) {
66
+ // grab all top level metadata from the service
67
+ const instanceMetadata = await gcpMetadata.instance();
68
+ console.log('Instance metadata:');
69
+ console.log(instanceMetadata);
70
+
71
+ // get all project level metadata
72
+ const projectMetadata = await gcpMetadata.project();
73
+ console.log('Project metadata:');
74
+ console.log(projectMetadata);
75
+ }
76
+ }
77
+
78
+ quickstart();
79
+
80
+ ```
81
+
82
+ #### Check to see if the metadata server is available
83
+ ```js
84
+ const isAvailable = await gcpMetadata.isAvailable();
85
+ ```
86
+
87
+ #### Access all metadata
88
+
89
+ ```js
90
+ const data = await gcpMetadata.instance();
91
+ console.log(data); // ... All metadata properties
92
+ ```
93
+
94
+ #### Access specific properties
95
+ ```js
96
+ const data = await gcpMetadata.instance('hostname');
97
+ console.log(data); // ...Instance hostname
98
+ const projectId = await gcpMetadata.project('project-id');
99
+ console.log(projectId); // ...Project ID of the running instance
100
+ ```
101
+
102
+ #### Access nested properties with the relative path
103
+ ```js
104
+ const data = await gcpMetadata.instance('service-accounts/default/email');
105
+ console.log(data); // ...Email address of the Compute identity service account
106
+ ```
107
+
108
+ #### Access specific properties with query parameters
109
+ ```js
110
+ const data = await gcpMetadata.instance({
111
+ property: 'tags',
112
+ params: { alt: 'text' }
113
+ });
114
+ console.log(data) // ...Tags as newline-delimited list
115
+ ```
116
+
117
+ #### Access with custom headers
118
+ ```js
119
+ await gcpMetadata.instance({
120
+ headers: { 'no-trace': '1' }
121
+ }); // ...Request is untraced
122
+ ```
123
+
124
+ ### Take care with large number valued properties
125
+
126
+ In some cases number valued properties returned by the Metadata Service may be
127
+ too large to be representable as JavaScript numbers. In such cases we return
128
+ those values as `BigNumber` objects (from the [bignumber.js](https://github.com/MikeMcl/bignumber.js) library). Numbers
129
+ that fit within the JavaScript number range will be returned as normal number
130
+ values.
131
+
132
+ ```js
133
+ const id = await gcpMetadata.instance('id');
134
+ console.log(id) // ... BigNumber { s: 1, e: 18, c: [ 45200, 31799277581759 ] }
135
+ console.log(id.toString()) // ... 4520031799277581759
136
+ ```
137
+
138
+ ### Environment variables
139
+
140
+ * `GCE_METADATA_HOST`: provide an alternate host or IP to perform lookup against (useful, for example, you're connecting through a custom proxy server).
141
+
142
+ For example:
143
+ ```
144
+ export GCE_METADATA_HOST='169.254.169.254'
145
+ ```
146
+
147
+ * `DETECT_GCP_RETRIES`: number representing number of retries that should be attempted on metadata lookup.
148
+
149
+ * `DEBUG_AUTH`: emit debugging logs
150
+
151
+ * `METADATA_SERVER_DETECTION`: configure desired metadata server availability check behavior.
152
+
153
+ * `assume-present`: don't try to ping the metadata server, but assume it's present
154
+ * `none`: don't try to ping the metadata server, but don't try to use it either
155
+ * `bios-only`: treat the result of a BIOS probe as canonical (don't fall back to pinging)
156
+ * `ping-only`: skip the BIOS probe, and go straight to pinging
157
+
158
+
159
+ ## Samples
160
+
161
+ Samples are in the [`samples/`](https://github.com/googleapis/gcp-metadata/tree/main/samples) directory. Each sample's `README.md` has instructions for running its sample.
162
+
163
+ | Sample | Source Code | Try it |
164
+ | --------------------------- | --------------------------------- | ------ |
165
+ | Quickstart | [source code](https://github.com/googleapis/gcp-metadata/blob/main/samples/quickstart.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/gcp-metadata&page=editor&open_in_editor=samples/quickstart.js,samples/README.md) |
166
+
167
+
168
+
169
+ The [GCP Metadata Node.js Client API Reference][client-docs] documentation
170
+ also contains samples.
171
+
172
+ ## Supported Node.js Versions
173
+
174
+ Our client libraries follow the [Node.js release schedule](https://github.com/nodejs/release#release-schedule).
175
+ Libraries are compatible with all current _active_ and _maintenance_ versions of
176
+ Node.js.
177
+ If you are using an end-of-life version of Node.js, we recommend that you update
178
+ as soon as possible to an actively supported LTS version.
179
+
180
+ Google's client libraries support legacy versions of Node.js runtimes on a
181
+ best-efforts basis with the following warnings:
182
+
183
+ * Legacy versions are not tested in continuous integration.
184
+ * Some security patches and features cannot be backported.
185
+ * Dependencies cannot be kept up-to-date.
186
+
187
+ Client libraries targeting some end-of-life versions of Node.js are available, and
188
+ can be installed through npm [dist-tags](https://docs.npmjs.com/cli/dist-tag).
189
+ The dist-tags follow the naming convention `legacy-(version)`.
190
+ For example, `npm install gcp-metadata@legacy-8` installs client libraries
191
+ for versions compatible with Node.js 8.
192
+
193
+ ## Versioning
194
+
195
+ This library follows [Semantic Versioning](http://semver.org/).
196
+
197
+
198
+
199
+ This library is considered to be **stable**. The code surface will not change in backwards-incompatible ways
200
+ unless absolutely necessary (e.g. because of critical security issues) or with
201
+ an extensive deprecation period. Issues and requests against **stable** libraries
202
+ are addressed with the highest priority.
203
+
204
+
205
+
206
+
207
+
208
+
209
+ More Information: [Google Cloud Platform Launch Stages][launch_stages]
210
+
211
+ [launch_stages]: https://cloud.google.com/terms/launch-stages
212
+
213
+ ## Contributing
214
+
215
+ Contributions welcome! See the [Contributing Guide](https://github.com/googleapis/gcp-metadata/blob/main/CONTRIBUTING.md).
216
+
217
+ Please note that this `README.md`, the `samples/README.md`,
218
+ and a variety of configuration files in this repository (including `.nycrc` and `tsconfig.json`)
219
+ are generated from a central template. To edit one of these files, make an edit
220
+ to its templates in
221
+ [directory](https://github.com/googleapis/synthtool).
222
+
223
+ ## License
224
+
225
+ Apache Version 2.0
226
+
227
+ See [LICENSE](https://github.com/googleapis/gcp-metadata/blob/main/LICENSE)
228
+
229
+ [client-docs]: https://cloud.google.com/nodejs/docs/reference/gcp-metadata/latest
230
+ [product-docs]: https://cloud.google.com/compute/docs/storing-retrieving-metadata
231
+ [shell_img]: https://gstatic.com/cloudssh/images/open-btn.png
232
+ [projects]: https://console.cloud.google.com/project
233
+ [billing]: https://support.google.com/cloud/answer/6293499#enable-billing
234
+
235
+ [auth]: https://cloud.google.com/docs/authentication/external/set-up-adc-local
@@ -0,0 +1,57 @@
1
+ /**
2
+ * Copyright 2022 Google LLC
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ /**
17
+ * Known paths unique to Google Compute Engine Linux instances
18
+ */
19
+ export declare const GCE_LINUX_BIOS_PATHS: {
20
+ BIOS_DATE: string;
21
+ BIOS_VENDOR: string;
22
+ };
23
+ /**
24
+ * Determines if the process is running on a Google Cloud Serverless environment (Cloud Run or Cloud Functions instance).
25
+ *
26
+ * Uses the:
27
+ * - {@link https://cloud.google.com/run/docs/container-contract#env-vars Cloud Run environment variables}.
28
+ * - {@link https://cloud.google.com/functions/docs/env-var Cloud Functions environment variables}.
29
+ *
30
+ * @returns {boolean} `true` if the process is running on GCP serverless, `false` otherwise.
31
+ */
32
+ export declare function isGoogleCloudServerless(): boolean;
33
+ /**
34
+ * Determines if the process is running on a Linux Google Compute Engine instance.
35
+ *
36
+ * @returns {boolean} `true` if the process is running on Linux GCE, `false` otherwise.
37
+ */
38
+ export declare function isGoogleComputeEngineLinux(): boolean;
39
+ /**
40
+ * Determines if the process is running on a Google Compute Engine instance with a known
41
+ * MAC address.
42
+ *
43
+ * @returns {boolean} `true` if the process is running on GCE (as determined by MAC address), `false` otherwise.
44
+ */
45
+ export declare function isGoogleComputeEngineMACAddress(): boolean;
46
+ /**
47
+ * Determines if the process is running on a Google Compute Engine instance.
48
+ *
49
+ * @returns {boolean} `true` if the process is running on GCE, `false` otherwise.
50
+ */
51
+ export declare function isGoogleComputeEngine(): boolean;
52
+ /**
53
+ * Determines if the process is running on Google Cloud Platform.
54
+ *
55
+ * @returns {boolean} `true` if the process is running on GCP, `false` otherwise.
56
+ */
57
+ export declare function detectGCPResidency(): boolean;
@@ -0,0 +1,114 @@
1
+ "use strict";
2
+ /**
3
+ * Copyright 2022 Google LLC
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 (the "License");
6
+ * you may not use this file except in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing, software
12
+ * distributed under the License is distributed on an "AS IS" BASIS,
13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ * See the License for the specific language governing permissions and
15
+ * limitations under the License.
16
+ */
17
+ Object.defineProperty(exports, "__esModule", { value: true });
18
+ exports.GCE_LINUX_BIOS_PATHS = void 0;
19
+ exports.isGoogleCloudServerless = isGoogleCloudServerless;
20
+ exports.isGoogleComputeEngineLinux = isGoogleComputeEngineLinux;
21
+ exports.isGoogleComputeEngineMACAddress = isGoogleComputeEngineMACAddress;
22
+ exports.isGoogleComputeEngine = isGoogleComputeEngine;
23
+ exports.detectGCPResidency = detectGCPResidency;
24
+ const fs_1 = require("fs");
25
+ const os_1 = require("os");
26
+ /**
27
+ * Known paths unique to Google Compute Engine Linux instances
28
+ */
29
+ exports.GCE_LINUX_BIOS_PATHS = {
30
+ BIOS_DATE: '/sys/class/dmi/id/bios_date',
31
+ BIOS_VENDOR: '/sys/class/dmi/id/bios_vendor',
32
+ };
33
+ const GCE_MAC_ADDRESS_REGEX = /^42:01/;
34
+ /**
35
+ * Determines if the process is running on a Google Cloud Serverless environment (Cloud Run or Cloud Functions instance).
36
+ *
37
+ * Uses the:
38
+ * - {@link https://cloud.google.com/run/docs/container-contract#env-vars Cloud Run environment variables}.
39
+ * - {@link https://cloud.google.com/functions/docs/env-var Cloud Functions environment variables}.
40
+ *
41
+ * @returns {boolean} `true` if the process is running on GCP serverless, `false` otherwise.
42
+ */
43
+ function isGoogleCloudServerless() {
44
+ /**
45
+ * `CLOUD_RUN_JOB` is used for Cloud Run Jobs
46
+ * - See {@link https://cloud.google.com/run/docs/container-contract#env-vars Cloud Run environment variables}.
47
+ *
48
+ * `FUNCTION_NAME` is used in older Cloud Functions environments:
49
+ * - See {@link https://cloud.google.com/functions/docs/env-var Python 3.7 and Go 1.11}.
50
+ *
51
+ * `K_SERVICE` is used in Cloud Run and newer Cloud Functions environments:
52
+ * - See {@link https://cloud.google.com/run/docs/container-contract#env-vars Cloud Run environment variables}.
53
+ * - See {@link https://cloud.google.com/functions/docs/env-var Cloud Functions newer runtimes}.
54
+ */
55
+ const isGFEnvironment = process.env.CLOUD_RUN_JOB ||
56
+ process.env.FUNCTION_NAME ||
57
+ process.env.K_SERVICE;
58
+ return !!isGFEnvironment;
59
+ }
60
+ /**
61
+ * Determines if the process is running on a Linux Google Compute Engine instance.
62
+ *
63
+ * @returns {boolean} `true` if the process is running on Linux GCE, `false` otherwise.
64
+ */
65
+ function isGoogleComputeEngineLinux() {
66
+ if ((0, os_1.platform)() !== 'linux')
67
+ return false;
68
+ try {
69
+ // ensure this file exist
70
+ (0, fs_1.statSync)(exports.GCE_LINUX_BIOS_PATHS.BIOS_DATE);
71
+ // ensure this file exist and matches
72
+ const biosVendor = (0, fs_1.readFileSync)(exports.GCE_LINUX_BIOS_PATHS.BIOS_VENDOR, 'utf8');
73
+ return /Google/.test(biosVendor);
74
+ }
75
+ catch {
76
+ return false;
77
+ }
78
+ }
79
+ /**
80
+ * Determines if the process is running on a Google Compute Engine instance with a known
81
+ * MAC address.
82
+ *
83
+ * @returns {boolean} `true` if the process is running on GCE (as determined by MAC address), `false` otherwise.
84
+ */
85
+ function isGoogleComputeEngineMACAddress() {
86
+ const interfaces = (0, os_1.networkInterfaces)();
87
+ for (const item of Object.values(interfaces)) {
88
+ if (!item)
89
+ continue;
90
+ for (const { mac } of item) {
91
+ if (GCE_MAC_ADDRESS_REGEX.test(mac)) {
92
+ return true;
93
+ }
94
+ }
95
+ }
96
+ return false;
97
+ }
98
+ /**
99
+ * Determines if the process is running on a Google Compute Engine instance.
100
+ *
101
+ * @returns {boolean} `true` if the process is running on GCE, `false` otherwise.
102
+ */
103
+ function isGoogleComputeEngine() {
104
+ return isGoogleComputeEngineLinux() || isGoogleComputeEngineMACAddress();
105
+ }
106
+ /**
107
+ * Determines if the process is running on Google Cloud Platform.
108
+ *
109
+ * @returns {boolean} `true` if the process is running on GCP, `false` otherwise.
110
+ */
111
+ function detectGCPResidency() {
112
+ return isGoogleCloudServerless() || isGoogleComputeEngine();
113
+ }
114
+ //# sourceMappingURL=gcp-residency.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"gcp-residency.js","sourceRoot":"","sources":["../../src/gcp-residency.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAwBH,0DAkBC;AAOD,gEAcC;AAQD,0EAcC;AAOD,sDAEC;AAOD,gDAEC;AArGD,2BAA0C;AAC1C,2BAA+C;AAE/C;;GAEG;AACU,QAAA,oBAAoB,GAAG;IAClC,SAAS,EAAE,6BAA6B;IACxC,WAAW,EAAE,+BAA+B;CAC7C,CAAC;AAEF,MAAM,qBAAqB,GAAG,QAAQ,CAAC;AAEvC;;;;;;;;GAQG;AACH,SAAgB,uBAAuB;IACrC;;;;;;;;;;OAUG;IACH,MAAM,eAAe,GACnB,OAAO,CAAC,GAAG,CAAC,aAAa;QACzB,OAAO,CAAC,GAAG,CAAC,aAAa;QACzB,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC;IAExB,OAAO,CAAC,CAAC,eAAe,CAAC;AAC3B,CAAC;AAED;;;;GAIG;AACH,SAAgB,0BAA0B;IACxC,IAAI,IAAA,aAAQ,GAAE,KAAK,OAAO;QAAE,OAAO,KAAK,CAAC;IAEzC,IAAI,CAAC;QACH,yBAAyB;QACzB,IAAA,aAAQ,EAAC,4BAAoB,CAAC,SAAS,CAAC,CAAC;QAEzC,qCAAqC;QACrC,MAAM,UAAU,GAAG,IAAA,iBAAY,EAAC,4BAAoB,CAAC,WAAW,EAAE,MAAM,CAAC,CAAC;QAE1E,OAAO,QAAQ,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;IACnC,CAAC;IAAC,MAAM,CAAC;QACP,OAAO,KAAK,CAAC;IACf,CAAC;AACH,CAAC;AAED;;;;;GAKG;AACH,SAAgB,+BAA+B;IAC7C,MAAM,UAAU,GAAG,IAAA,sBAAiB,GAAE,CAAC;IAEvC,KAAK,MAAM,IAAI,IAAI,MAAM,CAAC,MAAM,CAAC,UAAU,CAAC,EAAE,CAAC;QAC7C,IAAI,CAAC,IAAI;YAAE,SAAS;QAEpB,KAAK,MAAM,EAAC,GAAG,EAAC,IAAI,IAAI,EAAE,CAAC;YACzB,IAAI,qBAAqB,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC;gBACpC,OAAO,IAAI,CAAC;YACd,CAAC;QACH,CAAC;IACH,CAAC;IAED,OAAO,KAAK,CAAC;AACf,CAAC;AAED;;;;GAIG;AACH,SAAgB,qBAAqB;IACnC,OAAO,0BAA0B,EAAE,IAAI,+BAA+B,EAAE,CAAC;AAC3E,CAAC;AAED;;;;GAIG;AACH,SAAgB,kBAAkB;IAChC,OAAO,uBAAuB,EAAE,IAAI,qBAAqB,EAAE,CAAC;AAC9D,CAAC"}
@@ -0,0 +1,141 @@
1
+ export declare const BASE_PATH = "/computeMetadata/v1";
2
+ export declare const HOST_ADDRESS = "http://169.254.169.254";
3
+ export declare const SECONDARY_HOST_ADDRESS = "http://metadata.google.internal.";
4
+ export declare const HEADER_NAME = "Metadata-Flavor";
5
+ export declare const HEADER_VALUE = "Google";
6
+ export declare const HEADERS: Readonly<{
7
+ "Metadata-Flavor": "Google";
8
+ }>;
9
+ /**
10
+ * Metadata server detection override options.
11
+ *
12
+ * Available via `process.env.METADATA_SERVER_DETECTION`.
13
+ */
14
+ export declare const METADATA_SERVER_DETECTION: Readonly<{
15
+ 'assume-present': "don't try to ping the metadata server, but assume it's present";
16
+ none: "don't try to ping the metadata server, but don't try to use it either";
17
+ 'bios-only': "treat the result of a BIOS probe as canonical (don't fall back to pinging)";
18
+ 'ping-only': "skip the BIOS probe, and go straight to pinging";
19
+ }>;
20
+ type HeadersInit = ConstructorParameters<typeof Headers>[0];
21
+ export interface Options {
22
+ params?: {
23
+ [index: string]: string;
24
+ };
25
+ property?: string;
26
+ headers?: HeadersInit;
27
+ }
28
+ export interface MetadataAccessor {
29
+ /**
30
+ *
31
+ * @example
32
+ *
33
+ * // equivalent to `project('project-id')`;
34
+ * const metadataKey = 'project/project-id';
35
+ */
36
+ metadataKey: string;
37
+ params?: Options['params'];
38
+ headers?: Options['headers'];
39
+ noResponseRetries?: number;
40
+ fastFail?: boolean;
41
+ }
42
+ export type BulkResults<T extends readonly MetadataAccessor[]> = {
43
+ [key in T[number]['metadataKey']]: ReturnType<JSON['parse']>;
44
+ };
45
+ /**
46
+ * Obtain metadata for the current GCE instance.
47
+ *
48
+ * @see {@link https://cloud.google.com/compute/docs/metadata/predefined-metadata-keys}
49
+ *
50
+ * @example
51
+ * ```
52
+ * const serviceAccount: {} = await instance('service-accounts/');
53
+ * const serviceAccountEmail: string = await instance('service-accounts/default/email');
54
+ * ```
55
+ */
56
+ export declare function instance<T = any>(options?: string | Options): Promise<T>;
57
+ /**
58
+ * Obtain metadata for the current GCP project.
59
+ *
60
+ * @see {@link https://cloud.google.com/compute/docs/metadata/predefined-metadata-keys}
61
+ *
62
+ * @example
63
+ * ```
64
+ * const projectId: string = await project('project-id');
65
+ * const numericProjectId: number = await project('numeric-project-id');
66
+ * ```
67
+ */
68
+ export declare function project<T = any>(options?: string | Options): Promise<T>;
69
+ /**
70
+ * Obtain metadata for the current universe.
71
+ *
72
+ * @see {@link https://cloud.google.com/compute/docs/metadata/predefined-metadata-keys}
73
+ *
74
+ * @example
75
+ * ```
76
+ * const universeDomain: string = await universe('universe-domain');
77
+ * ```
78
+ */
79
+ export declare function universe<T>(options?: string | Options): Promise<T>;
80
+ /**
81
+ * Retrieve metadata items in parallel.
82
+ *
83
+ * @see {@link https://cloud.google.com/compute/docs/metadata/predefined-metadata-keys}
84
+ *
85
+ * @example
86
+ * ```
87
+ * const data = await bulk([
88
+ * {
89
+ * metadataKey: 'instance',
90
+ * },
91
+ * {
92
+ * metadataKey: 'project/project-id',
93
+ * },
94
+ * ] as const);
95
+ *
96
+ * // data.instance;
97
+ * // data['project/project-id'];
98
+ * ```
99
+ *
100
+ * @param properties The metadata properties to retrieve
101
+ * @returns The metadata in `metadatakey:value` format
102
+ */
103
+ export declare function bulk<T extends readonly Readonly<MetadataAccessor>[], R extends BulkResults<T> = BulkResults<T>>(properties: T): Promise<R>;
104
+ /**
105
+ * Determine if the metadata server is currently available.
106
+ */
107
+ export declare function isAvailable(): Promise<boolean>;
108
+ /**
109
+ * reset the memoized isAvailable() lookup.
110
+ */
111
+ export declare function resetIsAvailableCache(): void;
112
+ /**
113
+ * A cache for the detected GCP Residency.
114
+ */
115
+ export declare let gcpResidencyCache: boolean | null;
116
+ /**
117
+ * Detects GCP Residency.
118
+ * Caches results to reduce costs for subsequent calls.
119
+ *
120
+ * @see setGCPResidency for setting
121
+ */
122
+ export declare function getGCPResidency(): boolean;
123
+ /**
124
+ * Sets the detected GCP Residency.
125
+ * Useful for forcing metadata server detection behavior.
126
+ *
127
+ * Set `null` to autodetect the environment (default behavior).
128
+ * @see getGCPResidency for getting
129
+ */
130
+ export declare function setGCPResidency(value?: boolean | null): void;
131
+ /**
132
+ * Obtain the timeout for requests to the metadata server.
133
+ *
134
+ * In certain environments and conditions requests can take longer than
135
+ * the default timeout to complete. This function will determine the
136
+ * appropriate timeout based on the environment.
137
+ *
138
+ * @returns {number} a request timeout duration in milliseconds.
139
+ */
140
+ export declare function requestTimeout(): number;
141
+ export * from './gcp-residency';