windmill-cli 1.475.0 → 1.476.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (476) hide show
  1. package/LICENSE +16 -4
  2. package/esm/codebase.js +14 -8
  3. package/esm/deps/jsr.io/@std/bytes/{1.0.5 → 1.0.2}/concat.js +1 -1
  4. package/esm/deps/jsr.io/@std/encoding/{1.0.7 → 1.0.5}/_base32_common.js +1 -1
  5. package/esm/deps/jsr.io/@std/encoding/{1.0.7 → 1.0.5}/_validate_binary_like.js +1 -1
  6. package/esm/deps/jsr.io/@std/encoding/{1.0.7 → 1.0.5}/ascii85.js +1 -1
  7. package/esm/deps/jsr.io/@std/encoding/{1.0.7 → 1.0.5}/base32.js +1 -1
  8. package/esm/deps/jsr.io/@std/encoding/{1.0.7 → 1.0.5}/base58.js +1 -1
  9. package/esm/deps/jsr.io/@std/encoding/{1.0.7 → 1.0.5}/base64.js +1 -1
  10. package/esm/deps/jsr.io/@std/encoding/{1.0.7 → 1.0.5}/base64url.js +1 -1
  11. package/esm/deps/jsr.io/@std/encoding/{1.0.7 → 1.0.5}/hex.js +1 -1
  12. package/esm/deps/jsr.io/@std/encoding/{1.0.7 → 1.0.5}/mod.js +1 -1
  13. package/esm/deps/jsr.io/@std/encoding/{1.0.7 → 1.0.5}/varint.js +3 -1
  14. package/esm/deps/jsr.io/@std/fmt/{1.0.6 → 1.0.2}/colors.js +1 -1
  15. package/esm/deps/jsr.io/@std/fs/{1.0.14 → 1.0.3}/_create_walk_entry.js +3 -3
  16. package/esm/deps/jsr.io/@std/fs/{1.0.14 → 1.0.3}/_is_same_path.js +2 -2
  17. package/esm/deps/jsr.io/@std/fs/{1.0.14 → 1.0.3}/_is_subdir.js +3 -3
  18. package/esm/deps/jsr.io/@std/fs/{1.0.14 → 1.0.3}/_to_path_string.js +2 -2
  19. package/esm/deps/jsr.io/@std/fs/{1.0.14 → 1.0.3}/copy.js +11 -12
  20. package/esm/deps/jsr.io/@std/fs/{1.0.14 → 1.0.3}/empty_dir.js +4 -4
  21. package/esm/deps/jsr.io/@std/fs/{1.0.14 → 1.0.3}/ensure_dir.js +3 -3
  22. package/esm/deps/jsr.io/@std/fs/{1.0.14 → 1.0.3}/ensure_file.js +4 -4
  23. package/esm/deps/jsr.io/@std/fs/{1.0.14 → 1.0.3}/ensure_link.js +4 -4
  24. package/esm/deps/jsr.io/@std/fs/{1.0.14 → 1.0.3}/ensure_symlink.js +14 -51
  25. package/esm/deps/jsr.io/@std/fs/{1.0.14 → 1.0.3}/eol.js +5 -7
  26. package/esm/deps/jsr.io/@std/fs/{1.0.14 → 1.0.3}/exists.js +17 -37
  27. package/esm/deps/jsr.io/@std/fs/{1.0.14 → 1.0.3}/expand_glob.js +14 -15
  28. package/esm/deps/jsr.io/@std/fs/{1.0.14 → 1.0.3}/mod.js +2 -2
  29. package/esm/deps/jsr.io/@std/fs/{1.0.14 → 1.0.3}/move.js +5 -5
  30. package/esm/deps/jsr.io/@std/fs/{1.0.14 → 1.0.3}/walk.js +22 -22
  31. package/esm/deps/jsr.io/@std/io/{0.225.2 → 0.224.8}/_constants.js +1 -1
  32. package/esm/deps/jsr.io/@std/io/{0.225.2 → 0.224.8}/copy.js +2 -2
  33. package/esm/deps/jsr.io/@std/io/{0.225.2 → 0.224.8}/read_all.js +7 -6
  34. package/esm/deps/jsr.io/@std/io/{0.225.2 → 0.224.8}/write_all.js +3 -3
  35. package/esm/deps/jsr.io/@std/log/{0.224.14 → 0.224.7}/_config.js +1 -1
  36. package/esm/deps/jsr.io/@std/log/{0.224.14 → 0.224.7}/_file_handler_symbols.js +1 -1
  37. package/esm/deps/jsr.io/@std/log/{0.224.14 → 0.224.7}/_state.js +1 -1
  38. package/esm/deps/jsr.io/@std/log/0.224.7/base_handler.js +60 -0
  39. package/esm/deps/jsr.io/@std/log/0.224.7/console_handler.js +58 -0
  40. package/esm/deps/jsr.io/@std/log/{0.224.14 → 0.224.7}/critical.js +1 -2
  41. package/esm/deps/jsr.io/@std/log/{0.224.14 → 0.224.7}/debug.js +1 -2
  42. package/esm/deps/jsr.io/@std/log/{0.224.14 → 0.224.7}/error.js +1 -2
  43. package/esm/deps/jsr.io/@std/log/{0.224.14 → 0.224.7}/file_handler.js +15 -147
  44. package/esm/deps/jsr.io/@std/log/0.224.7/formatters.js +19 -0
  45. package/esm/deps/jsr.io/@std/log/0.224.7/get_logger.js +21 -0
  46. package/esm/deps/jsr.io/@std/log/{0.224.14 → 0.224.7}/info.js +1 -2
  47. package/esm/deps/jsr.io/@std/log/{0.224.14 → 0.224.7}/levels.js +1 -3
  48. package/esm/deps/jsr.io/@std/log/0.224.7/logger.js +179 -0
  49. package/esm/deps/jsr.io/@std/log/{0.224.14 → 0.224.7}/mod.js +7 -11
  50. package/esm/deps/jsr.io/@std/log/{0.224.14 → 0.224.7}/rotating_file_handler.js +2 -2
  51. package/esm/deps/jsr.io/@std/log/{0.224.14 → 0.224.7}/setup.js +1 -1
  52. package/esm/deps/jsr.io/@std/log/{0.224.14 → 0.224.7}/warn.js +1 -2
  53. package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/posix/basename.js +0 -17
  54. package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/posix/dirname.js +0 -12
  55. package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/posix/extname.js +0 -16
  56. package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/posix/join.js +0 -13
  57. package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/posix/join_globs.js +2 -3
  58. package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/posix/normalize.js +0 -18
  59. package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/posix/normalize_glob.js +1 -2
  60. package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/windows/join_globs.js +2 -3
  61. package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/windows/normalize_glob.js +1 -2
  62. package/esm/deps.js +8 -8
  63. package/esm/flow.js +1 -1
  64. package/esm/gen/core/OpenAPI.js +1 -1
  65. package/esm/gen/services.gen.js +18 -0
  66. package/esm/main.js +1 -1
  67. package/esm/metadata.js +1 -1
  68. package/esm/pull.js +2 -2
  69. package/esm/script.js +4 -5
  70. package/esm/sync.js +65 -46
  71. package/package.json +1 -1
  72. package/types/codebase.d.ts +2 -2
  73. package/types/codebase.d.ts.map +1 -1
  74. package/types/conf.d.ts +1 -0
  75. package/types/conf.d.ts.map +1 -1
  76. package/types/deps/jsr.io/@std/bytes/{1.0.5 → 1.0.2}/concat.d.ts +1 -3
  77. package/types/deps/jsr.io/@std/bytes/1.0.2/concat.d.ts.map +1 -0
  78. package/types/deps/jsr.io/@std/encoding/{1.0.7 → 1.0.5}/_base32_common.d.ts +1 -2
  79. package/types/deps/jsr.io/@std/encoding/1.0.5/_base32_common.d.ts.map +1 -0
  80. package/types/deps/jsr.io/@std/encoding/{1.0.7 → 1.0.5}/_validate_binary_like.d.ts.map +1 -1
  81. package/types/deps/jsr.io/@std/encoding/{1.0.7 → 1.0.5}/ascii85.d.ts +1 -3
  82. package/types/deps/jsr.io/@std/encoding/1.0.5/ascii85.d.ts.map +1 -0
  83. package/types/deps/jsr.io/@std/encoding/{1.0.7 → 1.0.5}/base32.d.ts +1 -3
  84. package/types/deps/jsr.io/@std/encoding/1.0.5/base32.d.ts.map +1 -0
  85. package/types/deps/jsr.io/@std/encoding/{1.0.7 → 1.0.5}/base58.d.ts +1 -3
  86. package/types/deps/jsr.io/@std/encoding/1.0.5/base58.d.ts.map +1 -0
  87. package/types/deps/jsr.io/@std/encoding/{1.0.7 → 1.0.5}/base64.d.ts +1 -3
  88. package/types/deps/jsr.io/@std/encoding/1.0.5/base64.d.ts.map +1 -0
  89. package/types/deps/jsr.io/@std/encoding/{1.0.7 → 1.0.5}/base64url.d.ts +1 -3
  90. package/types/deps/jsr.io/@std/encoding/1.0.5/base64url.d.ts.map +1 -0
  91. package/types/deps/jsr.io/@std/encoding/{1.0.7 → 1.0.5}/hex.d.ts +1 -3
  92. package/types/deps/jsr.io/@std/encoding/1.0.5/hex.d.ts.map +1 -0
  93. package/types/deps/jsr.io/@std/encoding/{1.0.7 → 1.0.5}/mod.d.ts.map +1 -1
  94. package/types/deps/jsr.io/@std/encoding/{1.0.7 → 1.0.5}/varint.d.ts +1 -3
  95. package/types/deps/jsr.io/@std/encoding/1.0.5/varint.d.ts.map +1 -0
  96. package/types/deps/jsr.io/@std/fmt/{1.0.6 → 1.0.2}/colors.d.ts.map +1 -1
  97. package/types/deps/jsr.io/@std/fs/1.0.3/_create_walk_entry.d.ts.map +1 -0
  98. package/types/deps/jsr.io/@std/fs/1.0.3/_get_file_info_type.d.ts.map +1 -0
  99. package/types/deps/jsr.io/@std/fs/1.0.3/_is_same_path.d.ts.map +1 -0
  100. package/types/deps/jsr.io/@std/fs/1.0.3/_is_subdir.d.ts.map +1 -0
  101. package/types/deps/jsr.io/@std/fs/1.0.3/_to_path_string.d.ts.map +1 -0
  102. package/types/deps/jsr.io/@std/fs/{1.0.14 → 1.0.3}/copy.d.ts +6 -6
  103. package/types/deps/jsr.io/@std/fs/1.0.3/copy.d.ts.map +1 -0
  104. package/types/deps/jsr.io/@std/fs/{1.0.14 → 1.0.3}/empty_dir.d.ts +2 -2
  105. package/types/deps/jsr.io/@std/fs/1.0.3/empty_dir.d.ts.map +1 -0
  106. package/types/deps/jsr.io/@std/fs/{1.0.14 → 1.0.3}/ensure_dir.d.ts +2 -2
  107. package/types/deps/jsr.io/@std/fs/1.0.3/ensure_dir.d.ts.map +1 -0
  108. package/types/deps/jsr.io/@std/fs/{1.0.14 → 1.0.3}/ensure_file.d.ts +2 -2
  109. package/types/deps/jsr.io/@std/fs/1.0.3/ensure_file.d.ts.map +1 -0
  110. package/types/deps/jsr.io/@std/fs/{1.0.14 → 1.0.3}/ensure_link.d.ts +2 -2
  111. package/types/deps/jsr.io/@std/fs/1.0.3/ensure_link.d.ts.map +1 -0
  112. package/types/deps/jsr.io/@std/fs/{1.0.14 → 1.0.3}/ensure_symlink.d.ts +8 -26
  113. package/types/deps/jsr.io/@std/fs/1.0.3/ensure_symlink.d.ts.map +1 -0
  114. package/types/deps/jsr.io/@std/fs/{1.0.14 → 1.0.3}/eol.d.ts +3 -3
  115. package/types/deps/jsr.io/@std/fs/1.0.3/eol.d.ts.map +1 -0
  116. package/types/deps/jsr.io/@std/fs/{1.0.14 → 1.0.3}/exists.d.ts +16 -36
  117. package/types/deps/jsr.io/@std/fs/1.0.3/exists.d.ts.map +1 -0
  118. package/types/deps/jsr.io/@std/fs/{1.0.14 → 1.0.3}/expand_glob.d.ts +7 -7
  119. package/types/deps/jsr.io/@std/fs/1.0.3/expand_glob.d.ts.map +1 -0
  120. package/types/deps/jsr.io/@std/fs/{1.0.14 → 1.0.3}/mod.d.ts +1 -1
  121. package/types/deps/jsr.io/@std/fs/1.0.3/mod.d.ts.map +1 -0
  122. package/types/deps/jsr.io/@std/fs/{1.0.14 → 1.0.3}/move.d.ts +4 -4
  123. package/types/deps/jsr.io/@std/fs/1.0.3/move.d.ts.map +1 -0
  124. package/types/deps/jsr.io/@std/fs/{1.0.14 → 1.0.3}/walk.d.ts +20 -20
  125. package/types/deps/jsr.io/@std/fs/1.0.3/walk.d.ts.map +1 -0
  126. package/types/deps/jsr.io/@std/io/{0.225.2 → 0.224.8}/_constants.d.ts.map +1 -1
  127. package/types/deps/jsr.io/@std/io/{0.225.2 → 0.224.8}/copy.d.ts +1 -1
  128. package/types/deps/jsr.io/@std/io/{0.225.2 → 0.224.8}/copy.d.ts.map +1 -1
  129. package/types/deps/jsr.io/@std/io/{0.225.2 → 0.224.8}/read_all.d.ts +2 -2
  130. package/types/deps/jsr.io/@std/io/{0.225.2 → 0.224.8}/read_all.d.ts.map +1 -1
  131. package/types/deps/jsr.io/@std/io/{0.224.9 → 0.224.8}/types.d.ts.map +1 -1
  132. package/types/deps/jsr.io/@std/io/{0.225.2 → 0.224.8}/write_all.d.ts +2 -2
  133. package/types/deps/jsr.io/@std/io/{0.225.2 → 0.224.8}/write_all.d.ts.map +1 -1
  134. package/types/deps/jsr.io/@std/log/0.224.7/_config.d.ts.map +1 -0
  135. package/types/deps/jsr.io/@std/log/0.224.7/_file_handler_symbols.d.ts.map +1 -0
  136. package/types/deps/jsr.io/@std/log/0.224.7/_state.d.ts.map +1 -0
  137. package/types/deps/jsr.io/@std/log/0.224.7/base_handler.d.ts +22 -0
  138. package/types/deps/jsr.io/@std/log/0.224.7/base_handler.d.ts.map +1 -0
  139. package/types/deps/jsr.io/@std/log/0.224.7/console_handler.d.ts +18 -0
  140. package/types/deps/jsr.io/@std/log/0.224.7/console_handler.d.ts.map +1 -0
  141. package/types/deps/jsr.io/@std/log/0.224.7/critical.d.ts +5 -0
  142. package/types/deps/jsr.io/@std/log/0.224.7/critical.d.ts.map +1 -0
  143. package/types/deps/jsr.io/@std/log/0.224.7/debug.d.ts +5 -0
  144. package/types/deps/jsr.io/@std/log/0.224.7/debug.d.ts.map +1 -0
  145. package/types/deps/jsr.io/@std/log/0.224.7/error.d.ts +5 -0
  146. package/types/deps/jsr.io/@std/log/0.224.7/error.d.ts.map +1 -0
  147. package/types/deps/jsr.io/@std/log/0.224.7/file_handler.d.ts +54 -0
  148. package/types/deps/jsr.io/@std/log/0.224.7/file_handler.d.ts.map +1 -0
  149. package/types/deps/jsr.io/@std/log/0.224.7/formatters.d.ts +6 -0
  150. package/types/deps/jsr.io/@std/log/0.224.7/formatters.d.ts.map +1 -0
  151. package/types/deps/jsr.io/@std/log/0.224.7/get_logger.d.ts +4 -0
  152. package/types/deps/jsr.io/@std/log/0.224.7/get_logger.d.ts.map +1 -0
  153. package/types/deps/jsr.io/@std/log/0.224.7/info.d.ts +5 -0
  154. package/types/deps/jsr.io/@std/log/0.224.7/info.d.ts.map +1 -0
  155. package/types/deps/jsr.io/@std/log/{0.224.14 → 0.224.7}/levels.d.ts +0 -2
  156. package/types/deps/jsr.io/@std/log/0.224.7/levels.d.ts.map +1 -0
  157. package/types/deps/jsr.io/@std/log/0.224.7/logger.d.ts +62 -0
  158. package/types/deps/jsr.io/@std/log/0.224.7/logger.d.ts.map +1 -0
  159. package/types/deps/jsr.io/@std/log/{0.224.14 → 0.224.7}/mod.d.ts +6 -10
  160. package/types/deps/jsr.io/@std/log/0.224.7/mod.d.ts.map +1 -0
  161. package/types/deps/jsr.io/@std/log/0.224.7/rotating_file_handler.d.ts.map +1 -0
  162. package/types/deps/jsr.io/@std/log/0.224.7/setup.d.ts.map +1 -0
  163. package/types/deps/jsr.io/@std/log/0.224.7/warn.d.ts +5 -0
  164. package/types/deps/jsr.io/@std/log/0.224.7/warn.d.ts.map +1 -0
  165. package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/_common/assert_path.d.ts.map +1 -1
  166. package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/_common/basename.d.ts.map +1 -1
  167. package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/_common/common.d.ts.map +1 -1
  168. package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/_common/constants.d.ts.map +1 -1
  169. package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/_common/dirname.d.ts.map +1 -1
  170. package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/_common/format.d.ts.map +1 -1
  171. package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/_common/from_file_url.d.ts.map +1 -1
  172. package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/_common/glob_to_reg_exp.d.ts.map +1 -1
  173. package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/_common/normalize.d.ts.map +1 -1
  174. package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/_common/normalize_string.d.ts.map +1 -1
  175. package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/_common/relative.d.ts.map +1 -1
  176. package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/_common/strip_trailing_separators.d.ts.map +1 -1
  177. package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/_common/to_file_url.d.ts.map +1 -1
  178. package/types/deps/jsr.io/@std/path/1.0.6/_os.d.ts.map +1 -0
  179. package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/basename.d.ts.map +1 -1
  180. package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/common.d.ts.map +1 -1
  181. package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/constants.d.ts.map +1 -1
  182. package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/dirname.d.ts.map +1 -1
  183. package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/extname.d.ts.map +1 -1
  184. package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/format.d.ts.map +1 -1
  185. package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/from_file_url.d.ts.map +1 -1
  186. package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/glob_to_regexp.d.ts.map +1 -1
  187. package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/is_absolute.d.ts.map +1 -1
  188. package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/is_glob.d.ts.map +1 -1
  189. package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/join.d.ts.map +1 -1
  190. package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/join_globs.d.ts.map +1 -1
  191. package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/mod.d.ts.map +1 -1
  192. package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/normalize.d.ts.map +1 -1
  193. package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/normalize_glob.d.ts.map +1 -1
  194. package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/parse.d.ts.map +1 -1
  195. package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/posix/_util.d.ts.map +1 -1
  196. package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/posix/basename.d.ts +0 -17
  197. package/types/deps/jsr.io/@std/path/1.0.6/posix/basename.d.ts.map +1 -0
  198. package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/posix/constants.d.ts.map +1 -1
  199. package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/posix/dirname.d.ts +0 -12
  200. package/types/deps/jsr.io/@std/path/1.0.6/posix/dirname.d.ts.map +1 -0
  201. package/types/deps/jsr.io/@std/path/1.0.6/posix/extname.d.ts +21 -0
  202. package/types/deps/jsr.io/@std/path/1.0.6/posix/extname.d.ts.map +1 -0
  203. package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/posix/format.d.ts.map +1 -1
  204. package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/posix/from_file_url.d.ts.map +1 -1
  205. package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/posix/glob_to_regexp.d.ts.map +1 -1
  206. package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/posix/is_absolute.d.ts.map +1 -1
  207. package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/posix/join.d.ts +0 -13
  208. package/types/deps/jsr.io/@std/path/1.0.6/posix/join.d.ts.map +1 -0
  209. package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/posix/join_globs.d.ts +1 -1
  210. package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/posix/join_globs.d.ts.map +1 -1
  211. package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/posix/normalize.d.ts +0 -18
  212. package/types/deps/jsr.io/@std/path/1.0.6/posix/normalize.d.ts.map +1 -0
  213. package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/posix/normalize_glob.d.ts +1 -1
  214. package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/posix/normalize_glob.d.ts.map +1 -1
  215. package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/posix/parse.d.ts.map +1 -1
  216. package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/posix/relative.d.ts.map +1 -1
  217. package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/posix/resolve.d.ts.map +1 -1
  218. package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/posix/to_file_url.d.ts.map +1 -1
  219. package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/posix/to_namespaced_path.d.ts.map +1 -1
  220. package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/relative.d.ts.map +1 -1
  221. package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/resolve.d.ts.map +1 -1
  222. package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/to_file_url.d.ts.map +1 -1
  223. package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/to_namespaced_path.d.ts.map +1 -1
  224. package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/types.d.ts.map +1 -1
  225. package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/windows/_util.d.ts.map +1 -1
  226. package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/windows/basename.d.ts.map +1 -1
  227. package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/windows/constants.d.ts.map +1 -1
  228. package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/windows/dirname.d.ts.map +1 -1
  229. package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/windows/extname.d.ts.map +1 -1
  230. package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/windows/format.d.ts.map +1 -1
  231. package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/windows/from_file_url.d.ts.map +1 -1
  232. package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/windows/glob_to_regexp.d.ts.map +1 -1
  233. package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/windows/is_absolute.d.ts.map +1 -1
  234. package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/windows/join.d.ts.map +1 -1
  235. package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/windows/join_globs.d.ts +1 -1
  236. package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/windows/join_globs.d.ts.map +1 -1
  237. package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/windows/normalize.d.ts.map +1 -1
  238. package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/windows/normalize_glob.d.ts +1 -1
  239. package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/windows/normalize_glob.d.ts.map +1 -1
  240. package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/windows/parse.d.ts.map +1 -1
  241. package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/windows/relative.d.ts.map +1 -1
  242. package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/windows/resolve.d.ts.map +1 -1
  243. package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/windows/to_file_url.d.ts.map +1 -1
  244. package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/windows/to_namespaced_path.d.ts.map +1 -1
  245. package/types/deps/jsr.io/@windmill-labs/cliffy-ansi/1.0.0-rc.5/cursor_position.d.ts +1 -1
  246. package/types/deps/jsr.io/@windmill-labs/cliffy-ansi/1.0.0-rc.5/tty.d.ts +1 -1
  247. package/types/deps/jsr.io/@windmill-labs/cliffy-prompt/1.0.0-rc.6/_generic_prompt.d.ts +1 -1
  248. package/types/deps.d.ts +8 -8
  249. package/types/deps.d.ts.map +1 -1
  250. package/types/gen/services.gen.d.ts +10 -1
  251. package/types/gen/services.gen.d.ts.map +1 -1
  252. package/types/gen/types.gen.d.ts +9 -0
  253. package/types/gen/types.gen.d.ts.map +1 -1
  254. package/types/main.d.ts +1 -1
  255. package/types/pull.d.ts +1 -1
  256. package/types/pull.d.ts.map +1 -1
  257. package/types/script.d.ts.map +1 -1
  258. package/types/sync.d.ts +6 -1
  259. package/types/sync.d.ts.map +1 -1
  260. package/esm/deps/jsr.io/@std/bytes/1.0.5/_types.js +0 -2
  261. package/esm/deps/jsr.io/@std/encoding/1.0.7/_types.js +0 -2
  262. package/esm/deps/jsr.io/@std/io/0.225.2/types.js +0 -15
  263. package/esm/deps/jsr.io/@std/log/0.224.14/base_handler.js +0 -331
  264. package/esm/deps/jsr.io/@std/log/0.224.14/console_handler.js +0 -112
  265. package/esm/deps/jsr.io/@std/log/0.224.14/formatters.js +0 -45
  266. package/esm/deps/jsr.io/@std/log/0.224.14/get_logger.js +0 -75
  267. package/esm/deps/jsr.io/@std/log/0.224.14/logger.js +0 -525
  268. package/types/deps/jsr.io/@std/bytes/1.0.5/_types.d.ts +0 -9
  269. package/types/deps/jsr.io/@std/bytes/1.0.5/_types.d.ts.map +0 -1
  270. package/types/deps/jsr.io/@std/bytes/1.0.5/concat.d.ts.map +0 -1
  271. package/types/deps/jsr.io/@std/encoding/1.0.7/_base32_common.d.ts.map +0 -1
  272. package/types/deps/jsr.io/@std/encoding/1.0.7/_types.d.ts +0 -9
  273. package/types/deps/jsr.io/@std/encoding/1.0.7/_types.d.ts.map +0 -1
  274. package/types/deps/jsr.io/@std/encoding/1.0.7/ascii85.d.ts.map +0 -1
  275. package/types/deps/jsr.io/@std/encoding/1.0.7/base32.d.ts.map +0 -1
  276. package/types/deps/jsr.io/@std/encoding/1.0.7/base58.d.ts.map +0 -1
  277. package/types/deps/jsr.io/@std/encoding/1.0.7/base64.d.ts.map +0 -1
  278. package/types/deps/jsr.io/@std/encoding/1.0.7/base64url.d.ts.map +0 -1
  279. package/types/deps/jsr.io/@std/encoding/1.0.7/hex.d.ts.map +0 -1
  280. package/types/deps/jsr.io/@std/encoding/1.0.7/varint.d.ts.map +0 -1
  281. package/types/deps/jsr.io/@std/fs/1.0.14/_create_walk_entry.d.ts.map +0 -1
  282. package/types/deps/jsr.io/@std/fs/1.0.14/_get_file_info_type.d.ts.map +0 -1
  283. package/types/deps/jsr.io/@std/fs/1.0.14/_is_same_path.d.ts.map +0 -1
  284. package/types/deps/jsr.io/@std/fs/1.0.14/_is_subdir.d.ts.map +0 -1
  285. package/types/deps/jsr.io/@std/fs/1.0.14/_to_path_string.d.ts.map +0 -1
  286. package/types/deps/jsr.io/@std/fs/1.0.14/copy.d.ts.map +0 -1
  287. package/types/deps/jsr.io/@std/fs/1.0.14/empty_dir.d.ts.map +0 -1
  288. package/types/deps/jsr.io/@std/fs/1.0.14/ensure_dir.d.ts.map +0 -1
  289. package/types/deps/jsr.io/@std/fs/1.0.14/ensure_file.d.ts.map +0 -1
  290. package/types/deps/jsr.io/@std/fs/1.0.14/ensure_link.d.ts.map +0 -1
  291. package/types/deps/jsr.io/@std/fs/1.0.14/ensure_symlink.d.ts.map +0 -1
  292. package/types/deps/jsr.io/@std/fs/1.0.14/eol.d.ts.map +0 -1
  293. package/types/deps/jsr.io/@std/fs/1.0.14/exists.d.ts.map +0 -1
  294. package/types/deps/jsr.io/@std/fs/1.0.14/expand_glob.d.ts.map +0 -1
  295. package/types/deps/jsr.io/@std/fs/1.0.14/mod.d.ts.map +0 -1
  296. package/types/deps/jsr.io/@std/fs/1.0.14/move.d.ts.map +0 -1
  297. package/types/deps/jsr.io/@std/fs/1.0.14/walk.d.ts.map +0 -1
  298. package/types/deps/jsr.io/@std/io/0.225.2/types.d.ts +0 -146
  299. package/types/deps/jsr.io/@std/io/0.225.2/types.d.ts.map +0 -1
  300. package/types/deps/jsr.io/@std/log/0.224.14/_config.d.ts.map +0 -1
  301. package/types/deps/jsr.io/@std/log/0.224.14/_file_handler_symbols.d.ts.map +0 -1
  302. package/types/deps/jsr.io/@std/log/0.224.14/_state.d.ts.map +0 -1
  303. package/types/deps/jsr.io/@std/log/0.224.14/base_handler.d.ts +0 -326
  304. package/types/deps/jsr.io/@std/log/0.224.14/base_handler.d.ts.map +0 -1
  305. package/types/deps/jsr.io/@std/log/0.224.14/console_handler.d.ts +0 -76
  306. package/types/deps/jsr.io/@std/log/0.224.14/console_handler.d.ts.map +0 -1
  307. package/types/deps/jsr.io/@std/log/0.224.14/critical.d.ts +0 -53
  308. package/types/deps/jsr.io/@std/log/0.224.14/critical.d.ts.map +0 -1
  309. package/types/deps/jsr.io/@std/log/0.224.14/debug.d.ts +0 -105
  310. package/types/deps/jsr.io/@std/log/0.224.14/debug.d.ts.map +0 -1
  311. package/types/deps/jsr.io/@std/log/0.224.14/error.d.ts +0 -53
  312. package/types/deps/jsr.io/@std/log/0.224.14/error.d.ts.map +0 -1
  313. package/types/deps/jsr.io/@std/log/0.224.14/file_handler.d.ts +0 -200
  314. package/types/deps/jsr.io/@std/log/0.224.14/file_handler.d.ts.map +0 -1
  315. package/types/deps/jsr.io/@std/log/0.224.14/formatters.d.ts +0 -34
  316. package/types/deps/jsr.io/@std/log/0.224.14/formatters.d.ts.map +0 -1
  317. package/types/deps/jsr.io/@std/log/0.224.14/get_logger.d.ts +0 -59
  318. package/types/deps/jsr.io/@std/log/0.224.14/get_logger.d.ts.map +0 -1
  319. package/types/deps/jsr.io/@std/log/0.224.14/info.d.ts +0 -53
  320. package/types/deps/jsr.io/@std/log/0.224.14/info.d.ts.map +0 -1
  321. package/types/deps/jsr.io/@std/log/0.224.14/levels.d.ts.map +0 -1
  322. package/types/deps/jsr.io/@std/log/0.224.14/logger.d.ts +0 -622
  323. package/types/deps/jsr.io/@std/log/0.224.14/logger.d.ts.map +0 -1
  324. package/types/deps/jsr.io/@std/log/0.224.14/mod.d.ts.map +0 -1
  325. package/types/deps/jsr.io/@std/log/0.224.14/rotating_file_handler.d.ts.map +0 -1
  326. package/types/deps/jsr.io/@std/log/0.224.14/setup.d.ts.map +0 -1
  327. package/types/deps/jsr.io/@std/log/0.224.14/warn.d.ts +0 -53
  328. package/types/deps/jsr.io/@std/log/0.224.14/warn.d.ts.map +0 -1
  329. package/types/deps/jsr.io/@std/path/1.0.8/_os.d.ts.map +0 -1
  330. package/types/deps/jsr.io/@std/path/1.0.8/posix/basename.d.ts.map +0 -1
  331. package/types/deps/jsr.io/@std/path/1.0.8/posix/dirname.d.ts.map +0 -1
  332. package/types/deps/jsr.io/@std/path/1.0.8/posix/extname.d.ts +0 -37
  333. package/types/deps/jsr.io/@std/path/1.0.8/posix/extname.d.ts.map +0 -1
  334. package/types/deps/jsr.io/@std/path/1.0.8/posix/join.d.ts.map +0 -1
  335. package/types/deps/jsr.io/@std/path/1.0.8/posix/normalize.d.ts.map +0 -1
  336. /package/esm/deps/jsr.io/@std/fs/{1.0.14 → 1.0.3}/_get_file_info_type.js +0 -0
  337. /package/esm/deps/jsr.io/@std/io/{0.224.9 → 0.224.8}/types.js +0 -0
  338. /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/_common/assert_path.js +0 -0
  339. /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/_common/basename.js +0 -0
  340. /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/_common/common.js +0 -0
  341. /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/_common/constants.js +0 -0
  342. /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/_common/dirname.js +0 -0
  343. /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/_common/format.js +0 -0
  344. /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/_common/from_file_url.js +0 -0
  345. /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/_common/glob_to_reg_exp.js +0 -0
  346. /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/_common/normalize.js +0 -0
  347. /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/_common/normalize_string.js +0 -0
  348. /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/_common/relative.js +0 -0
  349. /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/_common/strip_trailing_separators.js +0 -0
  350. /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/_common/to_file_url.js +0 -0
  351. /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/_os.js +0 -0
  352. /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/basename.js +0 -0
  353. /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/common.js +0 -0
  354. /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/constants.js +0 -0
  355. /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/dirname.js +0 -0
  356. /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/extname.js +0 -0
  357. /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/format.js +0 -0
  358. /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/from_file_url.js +0 -0
  359. /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/glob_to_regexp.js +0 -0
  360. /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/is_absolute.js +0 -0
  361. /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/is_glob.js +0 -0
  362. /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/join.js +0 -0
  363. /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/join_globs.js +0 -0
  364. /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/mod.js +0 -0
  365. /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/normalize.js +0 -0
  366. /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/normalize_glob.js +0 -0
  367. /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/parse.js +0 -0
  368. /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/posix/_util.js +0 -0
  369. /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/posix/constants.js +0 -0
  370. /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/posix/format.js +0 -0
  371. /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/posix/from_file_url.js +0 -0
  372. /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/posix/glob_to_regexp.js +0 -0
  373. /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/posix/is_absolute.js +0 -0
  374. /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/posix/parse.js +0 -0
  375. /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/posix/relative.js +0 -0
  376. /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/posix/resolve.js +0 -0
  377. /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/posix/to_file_url.js +0 -0
  378. /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/posix/to_namespaced_path.js +0 -0
  379. /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/relative.js +0 -0
  380. /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/resolve.js +0 -0
  381. /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/to_file_url.js +0 -0
  382. /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/to_namespaced_path.js +0 -0
  383. /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/types.js +0 -0
  384. /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/windows/_util.js +0 -0
  385. /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/windows/basename.js +0 -0
  386. /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/windows/constants.js +0 -0
  387. /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/windows/dirname.js +0 -0
  388. /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/windows/extname.js +0 -0
  389. /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/windows/format.js +0 -0
  390. /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/windows/from_file_url.js +0 -0
  391. /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/windows/glob_to_regexp.js +0 -0
  392. /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/windows/is_absolute.js +0 -0
  393. /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/windows/join.js +0 -0
  394. /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/windows/normalize.js +0 -0
  395. /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/windows/parse.js +0 -0
  396. /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/windows/relative.js +0 -0
  397. /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/windows/resolve.js +0 -0
  398. /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/windows/to_file_url.js +0 -0
  399. /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/windows/to_namespaced_path.js +0 -0
  400. /package/types/deps/jsr.io/@std/encoding/{1.0.7 → 1.0.5}/_validate_binary_like.d.ts +0 -0
  401. /package/types/deps/jsr.io/@std/encoding/{1.0.7 → 1.0.5}/mod.d.ts +0 -0
  402. /package/types/deps/jsr.io/@std/fmt/{1.0.6 → 1.0.2}/colors.d.ts +0 -0
  403. /package/types/deps/jsr.io/@std/fs/{1.0.14 → 1.0.3}/_create_walk_entry.d.ts +0 -0
  404. /package/types/deps/jsr.io/@std/fs/{1.0.14 → 1.0.3}/_get_file_info_type.d.ts +0 -0
  405. /package/types/deps/jsr.io/@std/fs/{1.0.14 → 1.0.3}/_is_same_path.d.ts +0 -0
  406. /package/types/deps/jsr.io/@std/fs/{1.0.14 → 1.0.3}/_is_subdir.d.ts +0 -0
  407. /package/types/deps/jsr.io/@std/fs/{1.0.14 → 1.0.3}/_to_path_string.d.ts +0 -0
  408. /package/types/deps/jsr.io/@std/io/{0.225.2 → 0.224.8}/_constants.d.ts +0 -0
  409. /package/types/deps/jsr.io/@std/io/{0.224.9 → 0.224.8}/types.d.ts +0 -0
  410. /package/types/deps/jsr.io/@std/log/{0.224.14 → 0.224.7}/_config.d.ts +0 -0
  411. /package/types/deps/jsr.io/@std/log/{0.224.14 → 0.224.7}/_file_handler_symbols.d.ts +0 -0
  412. /package/types/deps/jsr.io/@std/log/{0.224.14 → 0.224.7}/_state.d.ts +0 -0
  413. /package/types/deps/jsr.io/@std/log/{0.224.14 → 0.224.7}/rotating_file_handler.d.ts +0 -0
  414. /package/types/deps/jsr.io/@std/log/{0.224.14 → 0.224.7}/setup.d.ts +0 -0
  415. /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/_common/assert_path.d.ts +0 -0
  416. /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/_common/basename.d.ts +0 -0
  417. /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/_common/common.d.ts +0 -0
  418. /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/_common/constants.d.ts +0 -0
  419. /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/_common/dirname.d.ts +0 -0
  420. /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/_common/format.d.ts +0 -0
  421. /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/_common/from_file_url.d.ts +0 -0
  422. /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/_common/glob_to_reg_exp.d.ts +0 -0
  423. /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/_common/normalize.d.ts +0 -0
  424. /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/_common/normalize_string.d.ts +0 -0
  425. /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/_common/relative.d.ts +0 -0
  426. /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/_common/strip_trailing_separators.d.ts +0 -0
  427. /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/_common/to_file_url.d.ts +0 -0
  428. /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/_os.d.ts +0 -0
  429. /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/basename.d.ts +0 -0
  430. /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/common.d.ts +0 -0
  431. /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/constants.d.ts +0 -0
  432. /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/dirname.d.ts +0 -0
  433. /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/extname.d.ts +0 -0
  434. /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/format.d.ts +0 -0
  435. /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/from_file_url.d.ts +0 -0
  436. /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/glob_to_regexp.d.ts +0 -0
  437. /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/is_absolute.d.ts +0 -0
  438. /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/is_glob.d.ts +0 -0
  439. /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/join.d.ts +0 -0
  440. /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/join_globs.d.ts +0 -0
  441. /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/mod.d.ts +0 -0
  442. /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/normalize.d.ts +0 -0
  443. /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/normalize_glob.d.ts +0 -0
  444. /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/parse.d.ts +0 -0
  445. /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/posix/_util.d.ts +0 -0
  446. /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/posix/constants.d.ts +0 -0
  447. /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/posix/format.d.ts +0 -0
  448. /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/posix/from_file_url.d.ts +0 -0
  449. /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/posix/glob_to_regexp.d.ts +0 -0
  450. /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/posix/is_absolute.d.ts +0 -0
  451. /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/posix/parse.d.ts +0 -0
  452. /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/posix/relative.d.ts +0 -0
  453. /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/posix/resolve.d.ts +0 -0
  454. /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/posix/to_file_url.d.ts +0 -0
  455. /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/posix/to_namespaced_path.d.ts +0 -0
  456. /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/relative.d.ts +0 -0
  457. /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/resolve.d.ts +0 -0
  458. /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/to_file_url.d.ts +0 -0
  459. /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/to_namespaced_path.d.ts +0 -0
  460. /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/types.d.ts +0 -0
  461. /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/windows/_util.d.ts +0 -0
  462. /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/windows/basename.d.ts +0 -0
  463. /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/windows/constants.d.ts +0 -0
  464. /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/windows/dirname.d.ts +0 -0
  465. /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/windows/extname.d.ts +0 -0
  466. /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/windows/format.d.ts +0 -0
  467. /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/windows/from_file_url.d.ts +0 -0
  468. /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/windows/glob_to_regexp.d.ts +0 -0
  469. /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/windows/is_absolute.d.ts +0 -0
  470. /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/windows/join.d.ts +0 -0
  471. /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/windows/normalize.d.ts +0 -0
  472. /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/windows/parse.d.ts +0 -0
  473. /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/windows/relative.d.ts +0 -0
  474. /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/windows/resolve.d.ts +0 -0
  475. /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/windows/to_file_url.d.ts +0 -0
  476. /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/windows/to_namespaced_path.d.ts +0 -0
@@ -0,0 +1,58 @@
1
+ var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {
2
+ if (kind === "m") throw new TypeError("Private method is not writable");
3
+ if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");
4
+ if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
5
+ return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
6
+ };
7
+ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {
8
+ if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
9
+ if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
10
+ return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
11
+ };
12
+ var _ConsoleHandler_useColors;
13
+ // Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
14
+ // This module is browser compatible.
15
+ import { LogLevels } from "./levels.js";
16
+ import { blue, bold, red, yellow } from "../../fmt/1.0.2/colors.js";
17
+ import { BaseHandler } from "./base_handler.js";
18
+ /**
19
+ * This is the default logger. It will output color coded log messages to the
20
+ * console via `console.log()`.
21
+ */
22
+ export class ConsoleHandler extends BaseHandler {
23
+ constructor(levelName, options = {}) {
24
+ super(levelName, options);
25
+ _ConsoleHandler_useColors.set(this, void 0);
26
+ __classPrivateFieldSet(this, _ConsoleHandler_useColors, options.useColors ?? true, "f");
27
+ }
28
+ format(logRecord) {
29
+ let msg = super.format(logRecord);
30
+ if (__classPrivateFieldGet(this, _ConsoleHandler_useColors, "f")) {
31
+ msg = this.applyColors(msg, logRecord.level);
32
+ }
33
+ return msg;
34
+ }
35
+ applyColors(msg, level) {
36
+ switch (level) {
37
+ case LogLevels.INFO:
38
+ msg = blue(msg);
39
+ break;
40
+ case LogLevels.WARN:
41
+ msg = yellow(msg);
42
+ break;
43
+ case LogLevels.ERROR:
44
+ msg = red(msg);
45
+ break;
46
+ case LogLevels.CRITICAL:
47
+ msg = bold(red(msg));
48
+ break;
49
+ default:
50
+ break;
51
+ }
52
+ return msg;
53
+ }
54
+ log(msg) {
55
+ console.log(msg);
56
+ }
57
+ }
58
+ _ConsoleHandler_useColors = new WeakMap();
@@ -1,7 +1,6 @@
1
- // Copyright 2018-2025 the Deno authors. MIT license.
1
+ // Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
2
2
  // This module is browser compatible.
3
3
  import { getLogger } from "./get_logger.js";
4
- import "./setup.js";
5
4
  export function critical(msg, ...args) {
6
5
  // Assist TS compiler with pass-through generic type
7
6
  if (msg instanceof Function) {
@@ -1,7 +1,6 @@
1
- // Copyright 2018-2025 the Deno authors. MIT license.
1
+ // Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
2
2
  // This module is browser compatible.
3
3
  import { getLogger } from "./get_logger.js";
4
- import "./setup.js";
5
4
  export function debug(msg, ...args) {
6
5
  // Assist TS compiler with pass-through generic type
7
6
  if (msg instanceof Function) {
@@ -1,7 +1,6 @@
1
- // Copyright 2018-2025 the Deno authors. MIT license.
1
+ // Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
2
2
  // This module is browser compatible.
3
3
  import { getLogger } from "./get_logger.js";
4
- import "./setup.js";
5
4
  export function error(msg, ...args) {
6
5
  // Assist TS compiler with pass-through generic type
7
6
  if (msg instanceof Function) {
@@ -4,110 +4,70 @@ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (
4
4
  return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
5
5
  };
6
6
  var _FileHandler_instances, _FileHandler_unloadCallback, _FileHandler_resetBuffer, _a, _b, _c, _d, _e, _f, _g;
7
- // Copyright 2018-2025 the Deno authors. MIT license.
7
+ // Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
8
8
  import * as dntShim from "../../../../../_dnt.shims.js";
9
9
  import { LogLevels } from "./levels.js";
10
10
  import { BaseHandler } from "./base_handler.js";
11
- import { writeAllSync } from "../../io/0.225.2/write_all.js";
11
+ import { writeAllSync } from "../../io/0.224.8/write_all.js";
12
12
  import { bufSymbol, encoderSymbol, filenameSymbol, fileSymbol, modeSymbol, openOptionsSymbol, pointerSymbol, } from "./_file_handler_symbols.js";
13
13
  /**
14
- * A file-based log handler that writes log messages to a specified file with buffering and optional modes.
15
- * The logs are buffered for optimized performance, writing to the file only
16
- * when the buffer is full, on manual .flush() call, during logging of a critical message or when process ends.
17
- * It is important to note that the file can grow indefinitely.
14
+ * This handler will output to a file using an optional mode (default is `a`,
15
+ * e.g. append). The file will grow indefinitely. It uses a buffer for writing
16
+ * to file. Logs can be manually flushed with `fileHandler.flush()`. Log
17
+ * messages with a log level greater than error are immediately flushed. Logs
18
+ * are also flushed on process completion.
18
19
  *
19
- * This handler requires `--allow-write` permission on the log file.
20
+ * Behavior of the log modes is as follows:
20
21
  *
21
- * @example Usage
22
- * ```ts no-assert
23
- * import { FileHandler } from "@std/log/file-handler";
22
+ * - `'a'` - Default mode. Appends new log messages to the end of an existing log
23
+ * file, or create a new log file if none exists.
24
+ * - `'w'` - Upon creation of the handler, any existing log file will be removed
25
+ * and a new one created.
26
+ * - `'x'` - This will create a new log file and throw an error if one already
27
+ * exists.
24
28
  *
25
- * const handler = new FileHandler("INFO", { filename: "./_tmp/logs.txt" });
26
- * handler.setup();
27
- * handler.log('Hello, world!'); // Buffers the message, or writes it to the file depending on buffer state
28
- * handler.flush(); // Manually flushes the buffer
29
- * handler.destroy(); // Closes the file and removes listeners
30
- * ```
29
+ * This handler requires `--allow-write` permission on the log file.
31
30
  */
32
31
  export class FileHandler extends BaseHandler {
33
- /**
34
- * Constructs a new FileHandler instance.
35
- *
36
- * @param levelName The level name to log messages at.
37
- * @param options Options for the handler.
38
- */
39
32
  constructor(levelName, options) {
40
33
  super(levelName, options);
41
34
  _FileHandler_instances.add(this);
42
- /** Opened file to append logs to.
43
- *
44
- * @private
45
- */
46
35
  Object.defineProperty(this, _a, {
47
36
  enumerable: true,
48
37
  configurable: true,
49
38
  writable: true,
50
39
  value: void 0
51
40
  });
52
- /** Buffer used to write to file.
53
- *
54
- * @private
55
- */
56
41
  Object.defineProperty(this, _b, {
57
42
  enumerable: true,
58
43
  configurable: true,
59
44
  writable: true,
60
45
  value: void 0
61
46
  });
62
- /**
63
- * Current position for pointer.
64
- *
65
- * @private
66
- */
67
47
  Object.defineProperty(this, _c, {
68
48
  enumerable: true,
69
49
  configurable: true,
70
50
  writable: true,
71
51
  value: 0
72
52
  });
73
- /**
74
- * Filename associated with the file being logged.
75
- *
76
- * @private
77
- */
78
53
  Object.defineProperty(this, _d, {
79
54
  enumerable: true,
80
55
  configurable: true,
81
56
  writable: true,
82
57
  value: void 0
83
58
  });
84
- /**
85
- * Current log mode.
86
- *
87
- * @private
88
- */
89
59
  Object.defineProperty(this, _e, {
90
60
  enumerable: true,
91
61
  configurable: true,
92
62
  writable: true,
93
63
  value: void 0
94
64
  });
95
- /**
96
- * File open options.
97
- *
98
- * @private
99
- */
100
65
  Object.defineProperty(this, _f, {
101
66
  enumerable: true,
102
67
  configurable: true,
103
68
  writable: true,
104
69
  value: void 0
105
70
  });
106
- /**
107
- * Text encoder.
108
- *
109
- * @private
110
- */
111
71
  Object.defineProperty(this, _g, {
112
72
  enumerable: true,
113
73
  configurable: true,
@@ -129,52 +89,11 @@ export class FileHandler extends BaseHandler {
129
89
  };
130
90
  this[bufSymbol] = new Uint8Array(options.bufferSize ?? 4096);
131
91
  }
132
- /**
133
- * Sets up the file handler by opening the specified file and initializing resources.
134
- *
135
- * @example Usage
136
- * ```ts no-assert
137
- * import { FileHandler } from "@std/log/file-handler";
138
- *
139
- * const handler = new FileHandler("INFO", { filename: "./_tmp/logs.txt" });
140
- * handler.setup(); // Opens the file and prepares the handler for logging.
141
- * handler.destroy();
142
- * ```
143
- */
144
92
  setup() {
145
93
  this[fileSymbol] = dntShim.Deno.openSync(this[filenameSymbol], this[openOptionsSymbol]);
146
94
  __classPrivateFieldGet(this, _FileHandler_instances, "m", _FileHandler_resetBuffer).call(this);
147
95
  addEventListener("unload", __classPrivateFieldGet(this, _FileHandler_unloadCallback, "f"));
148
96
  }
149
- /**
150
- * Handles a log record and flushes the buffer if the log level is higher than error.
151
- *
152
- * @param logRecord Log record to handle.
153
- *
154
- * @example Usage
155
- * ```ts
156
- * import { FileHandler } from "@std/log/file-handler";
157
- * import { assertInstanceOf } from "@std/assert/instance-of";
158
- * import { LogLevels } from "./levels.ts";
159
- * import { LogRecord } from "./logger.ts";
160
- *
161
- * const handler = new FileHandler("INFO", { filename: "./_tmp/logs.txt" });
162
- * handler.setup();
163
- *
164
- * // Flushes the buffer immediately and logs "CRITICAL This log is very critical indeed." into the file.
165
- * handler.handle(
166
- * new LogRecord({
167
- * msg: "This log is very critical indeed.",
168
- * args: [],
169
- * level: LogLevels.CRITICAL,
170
- * loggerName: "INFO",
171
- * }),
172
- * );
173
- * handler.destroy();
174
- *
175
- * assertInstanceOf(handler, FileHandler);
176
- * ```
177
- */
178
97
  handle(logRecord) {
179
98
  super.handle(logRecord);
180
99
  // Immediately flush if log level is higher than ERROR
@@ -182,25 +101,6 @@ export class FileHandler extends BaseHandler {
182
101
  this.flush();
183
102
  }
184
103
  }
185
- /**
186
- * Logs a message by adding it to the buffer, with flushing as needed.
187
- *
188
- * @param msg The message to log.
189
- *
190
- * @example Usage
191
- * ```ts
192
- * import { FileHandler } from "@std/log/file-handler";
193
- * import { assertInstanceOf } from "@std/assert/instance-of";
194
- *
195
- * const handler = new FileHandler("INFO", { filename: "./_tmp/logs.txt" });
196
- * handler.setup();
197
- * handler.log('Hello, world!');
198
- * handler.flush();
199
- * handler.destroy();
200
- *
201
- * assertInstanceOf(handler, FileHandler);
202
- * ```
203
- */
204
104
  log(msg) {
205
105
  const bytes = this[encoderSymbol].encode(msg + "\n");
206
106
  if (bytes.byteLength > this[bufSymbol].byteLength - this[pointerSymbol]) {
@@ -214,23 +114,6 @@ export class FileHandler extends BaseHandler {
214
114
  this[pointerSymbol] += bytes.byteLength;
215
115
  }
216
116
  }
217
- /**
218
- * Immediately writes the contents of the buffer to the previously opened file.
219
- *
220
- * @example Usage
221
- * ```ts
222
- * import { FileHandler } from "@std/log/file-handler";
223
- * import { assertInstanceOf } from "@std/assert/instance-of";
224
- *
225
- * const handler = new FileHandler("INFO", { filename: "./_tmp/logs.txt" });
226
- * handler.setup();
227
- * handler.log('Hello, world!');
228
- * handler.flush(); // Writes buffered log messages to the file immediately.
229
- * handler.destroy();
230
- *
231
- * assertInstanceOf(handler, FileHandler);
232
- * ```
233
- */
234
117
  flush() {
235
118
  if (this[pointerSymbol] > 0 && this[fileSymbol]) {
236
119
  let written = 0;
@@ -240,21 +123,6 @@ export class FileHandler extends BaseHandler {
240
123
  __classPrivateFieldGet(this, _FileHandler_instances, "m", _FileHandler_resetBuffer).call(this);
241
124
  }
242
125
  }
243
- /**
244
- * Destroys the handler, performing any cleanup that is required and closes the file handler.
245
- *
246
- * @example Usage
247
- * ```ts
248
- * import { FileHandler } from "@std/log/file-handler";
249
- * import { assertInstanceOf } from "@std/assert/instance-of";
250
- *
251
- * const handler = new FileHandler("INFO", { filename: "./_tmp/logs.txt" });
252
- * handler.setup();
253
- * handler.destroy();
254
- *
255
- * assertInstanceOf(handler, FileHandler);
256
- * ```
257
- */
258
126
  destroy() {
259
127
  this.flush();
260
128
  this[fileSymbol]?.close();
@@ -0,0 +1,19 @@
1
+ export function jsonFormatter(logRecord) {
2
+ return JSON.stringify({
3
+ level: logRecord.levelName,
4
+ datetime: logRecord.datetime.getTime(),
5
+ message: logRecord.msg,
6
+ args: flattenArgs(logRecord.args),
7
+ });
8
+ }
9
+ function flattenArgs(args) {
10
+ if (args.length === 1) {
11
+ return args[0];
12
+ }
13
+ else if (args.length > 1) {
14
+ return args;
15
+ }
16
+ }
17
+ export const formatters = {
18
+ jsonFormatter,
19
+ };
@@ -0,0 +1,21 @@
1
+ // Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
2
+ // This module is browser compatible.
3
+ import { Logger } from "./logger.js";
4
+ import { state } from "./_state.js";
5
+ /** Get a logger instance. If not specified `name`, get the default logger. */
6
+ export function getLogger(name) {
7
+ if (!name) {
8
+ const d = state.loggers.get("default");
9
+ if (d === undefined) {
10
+ throw new Error(`"default" logger must be set for getting logger without name`);
11
+ }
12
+ return d;
13
+ }
14
+ const result = state.loggers.get(name);
15
+ if (!result) {
16
+ const logger = new Logger(name, "NOTSET", { handlers: [] });
17
+ state.loggers.set(name, logger);
18
+ return logger;
19
+ }
20
+ return result;
21
+ }
@@ -1,7 +1,6 @@
1
- // Copyright 2018-2025 the Deno authors. MIT license.
1
+ // Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
2
2
  // This module is browser compatible.
3
3
  import { getLogger } from "./get_logger.js";
4
- import "./setup.js";
5
4
  export function info(msg, ...args) {
6
5
  // Assist TS compiler with pass-through generic type
7
6
  if (msg instanceof Function) {
@@ -1,10 +1,8 @@
1
- // Copyright 2018-2025 the Deno authors. MIT license.
1
+ // Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
2
2
  // This module is browser compatible.
3
3
  /**
4
4
  * Use this to retrieve the numeric log level by it's associated name.
5
5
  * Defaults to INFO.
6
- *
7
- * @internal
8
6
  */
9
7
  export const LogLevels = {
10
8
  NOTSET: 0,
@@ -0,0 +1,179 @@
1
+ var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {
2
+ if (kind === "m") throw new TypeError("Private method is not writable");
3
+ if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");
4
+ if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
5
+ return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
6
+ };
7
+ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {
8
+ if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
9
+ if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
10
+ return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
11
+ };
12
+ var _LogRecord_args, _LogRecord_datetime, _Logger_instances, _Logger_level, _Logger_loggerName, _Logger_log;
13
+ // Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
14
+ // This module is browser compatible.
15
+ import { getLevelByName, getLevelName, LogLevels } from "./levels.js";
16
+ export class LoggerConfig {
17
+ constructor() {
18
+ Object.defineProperty(this, "level", {
19
+ enumerable: true,
20
+ configurable: true,
21
+ writable: true,
22
+ value: void 0
23
+ });
24
+ Object.defineProperty(this, "handlers", {
25
+ enumerable: true,
26
+ configurable: true,
27
+ writable: true,
28
+ value: void 0
29
+ });
30
+ }
31
+ }
32
+ /**
33
+ * An object that encapsulates provided message and arguments as well some
34
+ * metadata that can be later used when formatting a message.
35
+ */
36
+ export class LogRecord {
37
+ constructor(options) {
38
+ Object.defineProperty(this, "msg", {
39
+ enumerable: true,
40
+ configurable: true,
41
+ writable: true,
42
+ value: void 0
43
+ });
44
+ _LogRecord_args.set(this, void 0);
45
+ _LogRecord_datetime.set(this, void 0);
46
+ Object.defineProperty(this, "level", {
47
+ enumerable: true,
48
+ configurable: true,
49
+ writable: true,
50
+ value: void 0
51
+ });
52
+ Object.defineProperty(this, "levelName", {
53
+ enumerable: true,
54
+ configurable: true,
55
+ writable: true,
56
+ value: void 0
57
+ });
58
+ Object.defineProperty(this, "loggerName", {
59
+ enumerable: true,
60
+ configurable: true,
61
+ writable: true,
62
+ value: void 0
63
+ });
64
+ this.msg = options.msg;
65
+ __classPrivateFieldSet(this, _LogRecord_args, [...options.args], "f");
66
+ this.level = options.level;
67
+ this.loggerName = options.loggerName;
68
+ __classPrivateFieldSet(this, _LogRecord_datetime, new Date(), "f");
69
+ this.levelName = getLevelName(options.level);
70
+ }
71
+ get args() {
72
+ return [...__classPrivateFieldGet(this, _LogRecord_args, "f")];
73
+ }
74
+ get datetime() {
75
+ return new Date(__classPrivateFieldGet(this, _LogRecord_datetime, "f").getTime());
76
+ }
77
+ }
78
+ _LogRecord_args = new WeakMap(), _LogRecord_datetime = new WeakMap();
79
+ export class Logger {
80
+ constructor(loggerName, levelName, options = {}) {
81
+ _Logger_instances.add(this);
82
+ _Logger_level.set(this, void 0);
83
+ Object.defineProperty(this, "handlers", {
84
+ enumerable: true,
85
+ configurable: true,
86
+ writable: true,
87
+ value: void 0
88
+ });
89
+ _Logger_loggerName.set(this, void 0);
90
+ __classPrivateFieldSet(this, _Logger_loggerName, loggerName, "f");
91
+ __classPrivateFieldSet(this, _Logger_level, getLevelByName(levelName), "f");
92
+ this.handlers = options.handlers ?? [];
93
+ }
94
+ /** Use this to retrieve the current numeric log level. */
95
+ get level() {
96
+ return __classPrivateFieldGet(this, _Logger_level, "f");
97
+ }
98
+ /** Use this to set the numeric log level. */
99
+ set level(level) {
100
+ try {
101
+ __classPrivateFieldSet(this, _Logger_level, getLevelByName(getLevelName(level)), "f");
102
+ }
103
+ catch (_) {
104
+ throw new TypeError(`Invalid log level: ${level}`);
105
+ }
106
+ }
107
+ get levelName() {
108
+ return getLevelName(__classPrivateFieldGet(this, _Logger_level, "f"));
109
+ }
110
+ set levelName(levelName) {
111
+ __classPrivateFieldSet(this, _Logger_level, getLevelByName(levelName), "f");
112
+ }
113
+ get loggerName() {
114
+ return __classPrivateFieldGet(this, _Logger_loggerName, "f");
115
+ }
116
+ asString(data, isProperty = false) {
117
+ if (typeof data === "string") {
118
+ if (isProperty)
119
+ return `"${data}"`;
120
+ return data;
121
+ }
122
+ else if (data === null ||
123
+ typeof data === "number" ||
124
+ typeof data === "bigint" ||
125
+ typeof data === "boolean" ||
126
+ typeof data === "undefined" ||
127
+ typeof data === "symbol") {
128
+ return String(data);
129
+ }
130
+ else if (data instanceof Error) {
131
+ return data.stack;
132
+ }
133
+ else if (typeof data === "object") {
134
+ return `{${Object.entries(data)
135
+ .map(([k, v]) => `"${k}":${this.asString(v, true)}`)
136
+ .join(",")}}`;
137
+ }
138
+ return "undefined";
139
+ }
140
+ debug(msg, ...args) {
141
+ return __classPrivateFieldGet(this, _Logger_instances, "m", _Logger_log).call(this, LogLevels.DEBUG, msg, ...args);
142
+ }
143
+ info(msg, ...args) {
144
+ return __classPrivateFieldGet(this, _Logger_instances, "m", _Logger_log).call(this, LogLevels.INFO, msg, ...args);
145
+ }
146
+ warn(msg, ...args) {
147
+ return __classPrivateFieldGet(this, _Logger_instances, "m", _Logger_log).call(this, LogLevels.WARN, msg, ...args);
148
+ }
149
+ error(msg, ...args) {
150
+ return __classPrivateFieldGet(this, _Logger_instances, "m", _Logger_log).call(this, LogLevels.ERROR, msg, ...args);
151
+ }
152
+ critical(msg, ...args) {
153
+ return __classPrivateFieldGet(this, _Logger_instances, "m", _Logger_log).call(this, LogLevels.CRITICAL, msg, ...args);
154
+ }
155
+ }
156
+ _Logger_level = new WeakMap(), _Logger_loggerName = new WeakMap(), _Logger_instances = new WeakSet(), _Logger_log = function _Logger_log(level, msg, ...args) {
157
+ if (this.level > level) {
158
+ return msg instanceof Function ? undefined : msg;
159
+ }
160
+ let fnResult;
161
+ let logMessage;
162
+ if (msg instanceof Function) {
163
+ fnResult = msg();
164
+ logMessage = this.asString(fnResult);
165
+ }
166
+ else {
167
+ logMessage = this.asString(msg);
168
+ }
169
+ const record = new LogRecord({
170
+ msg: logMessage,
171
+ args: args,
172
+ level: level,
173
+ loggerName: this.loggerName,
174
+ });
175
+ this.handlers.forEach((handler) => {
176
+ handler.handle(record);
177
+ });
178
+ return msg instanceof Function ? fnResult : msg;
179
+ };
@@ -1,12 +1,8 @@
1
- // Copyright 2018-2025 the Deno authors. MIT license.
1
+ // Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
2
2
  /**
3
- * Logging library with support for terminal and file outputs. Also provides
3
+ * Logging library with the support for terminal and file outputs. Also provides
4
4
  * interfaces for building custom loggers.
5
5
  *
6
- * > [!IMPORTANT]
7
- * > @std/log is [likely to be removed in the future](https://github.com/denoland/std/issues/6124).
8
- * > Consider using [Open Telemetry](https://docs.deno.com/runtime/fundamentals/open_telemetry/).
9
- *
10
6
  * ## Loggers
11
7
  *
12
8
  * Loggers are objects that you interact with. When you use a logger method it
@@ -28,7 +24,7 @@
28
24
  * `log.formatters.jsonFormatter` or write your own function that takes a
29
25
  * {@linkcode LogRecord} and returns a JSON.stringify'd object.
30
26
  * If you want the log to go to stdout then use {@linkcode ConsoleHandler} with
31
- * the configuration `useColors: false` to turn off the ANSI terminal colors.
27
+ * the configuration `useColors: false` to turn off the ANSI terminal colours.
32
28
  *
33
29
  * ```ts
34
30
  * import * as log from "@std/log";
@@ -85,12 +81,12 @@
85
81
  * return getLogger("my-awesome-module");
86
82
  * }
87
83
  *
88
- * function sum(a: number, b: number) {
84
+ * export function sum(a: number, b: number) {
89
85
  * logger().debug(`running ${a} + ${b}`);
90
86
  * return a + b;
91
87
  * }
92
88
  *
93
- * function mult(a: number, b: number) {
89
+ * export function mult(a: number, b: number) {
94
90
  * logger().debug(`running ${a} * ${b}`);
95
91
  * return a * b;
96
92
  * }
@@ -126,14 +122,14 @@
126
122
  *
127
123
  * const logger = getLogger("my-awesome-module");
128
124
  *
129
- * function sum(a: number, b: number) {
125
+ * export function sum(a: number, b: number) {
130
126
  * logger.debug(`running ${a} + ${b}`); // no message will be logged, because getLogger() was called before log.setup()
131
127
  * return a + b;
132
128
  * }
133
129
  * ```
134
130
  *
135
131
  * @example
136
- * ```ts ignore
132
+ * ```ts
137
133
  * import * as log from "@std/log";
138
134
  *
139
135
  * // Simple default logger out of the box. You can customize it
@@ -10,9 +10,9 @@ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (
10
10
  return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
11
11
  };
12
12
  var _RotatingFileHandler_maxBytes, _RotatingFileHandler_maxBackupCount, _RotatingFileHandler_currentFileSize;
13
- // Copyright 2018-2025 the Deno authors. MIT license.
13
+ // Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
14
14
  import * as dntShim from "../../../../../_dnt.shims.js";
15
- import { existsSync } from "../../fs/1.0.14/exists.js";
15
+ import { existsSync } from "../../fs/1.0.3/exists.js";
16
16
  import { FileHandler } from "./file_handler.js";
17
17
  import { encoderSymbol, filenameSymbol, fileSymbol, modeSymbol, openOptionsSymbol, } from "./_file_handler_symbols.js";
18
18
  /**
@@ -1,4 +1,4 @@
1
- // Copyright 2018-2025 the Deno authors. MIT license.
1
+ // Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
2
2
  // This module is browser compatible.
3
3
  import { DEFAULT_CONFIG, DEFAULT_LEVEL } from "./_config.js";
4
4
  import { Logger } from "./logger.js";
@@ -1,7 +1,6 @@
1
- // Copyright 2018-2025 the Deno authors. MIT license.
1
+ // Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
2
2
  // This module is browser compatible.
3
3
  import { getLogger } from "./get_logger.js";
4
- import "./setup.js";
5
4
  export function warn(msg, ...args) {
6
5
  // Assist TS compiler with pass-through generic type
7
6
  if (msg instanceof Function) {