windmill-cli 1.447.3 → 1.447.5

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 (448) hide show
  1. package/esm/bootstrap/script_bootstrap.js +10 -1
  2. package/esm/deps/jsr.io/@std/fmt/{1.0.4 → 1.0.2}/colors.js +1 -1
  3. package/esm/deps/jsr.io/@std/fs/{1.0.9 → 1.0.3}/_create_walk_entry.js +3 -3
  4. package/esm/deps/jsr.io/@std/fs/{1.0.9 → 1.0.3}/_is_same_path.js +2 -2
  5. package/esm/deps/jsr.io/@std/fs/{1.0.9 → 1.0.3}/_is_subdir.js +3 -3
  6. package/esm/deps/jsr.io/@std/fs/{1.0.9 → 1.0.3}/_to_path_string.js +2 -2
  7. package/esm/deps/jsr.io/@std/fs/{1.0.9 → 1.0.3}/copy.js +11 -12
  8. package/esm/deps/jsr.io/@std/fs/{1.0.9 → 1.0.3}/empty_dir.js +4 -4
  9. package/esm/deps/jsr.io/@std/fs/{1.0.9 → 1.0.3}/ensure_dir.js +3 -3
  10. package/esm/deps/jsr.io/@std/fs/{1.0.9 → 1.0.3}/ensure_file.js +4 -4
  11. package/esm/deps/jsr.io/@std/fs/{1.0.9 → 1.0.3}/ensure_link.js +4 -4
  12. package/esm/deps/jsr.io/@std/fs/{1.0.9 → 1.0.3}/ensure_symlink.js +14 -51
  13. package/esm/deps/jsr.io/@std/fs/{1.0.9 → 1.0.3}/eol.js +5 -7
  14. package/esm/deps/jsr.io/@std/fs/{1.0.9 → 1.0.3}/exists.js +17 -37
  15. package/esm/deps/jsr.io/@std/fs/{1.0.9 → 1.0.3}/expand_glob.js +14 -15
  16. package/esm/deps/jsr.io/@std/fs/{1.0.9 → 1.0.3}/mod.js +2 -2
  17. package/esm/deps/jsr.io/@std/fs/{1.0.9 → 1.0.3}/move.js +5 -5
  18. package/esm/deps/jsr.io/@std/fs/{1.0.9 → 1.0.3}/walk.js +22 -22
  19. package/esm/deps/jsr.io/@std/io/{0.225.0 → 0.224.8}/copy.js +1 -1
  20. package/esm/deps/jsr.io/@std/io/{0.225.0 → 0.224.8}/read_all.js +3 -3
  21. package/esm/deps/jsr.io/@std/io/{0.225.0 → 0.224.8}/write_all.js +2 -2
  22. package/esm/deps/jsr.io/@std/log/{0.224.13 → 0.224.7}/_config.js +1 -1
  23. package/esm/deps/jsr.io/@std/log/{0.224.13 → 0.224.7}/_file_handler_symbols.js +1 -1
  24. package/esm/deps/jsr.io/@std/log/{0.224.13 → 0.224.7}/_state.js +1 -1
  25. package/esm/deps/jsr.io/@std/log/0.224.7/base_handler.js +60 -0
  26. package/esm/deps/jsr.io/@std/log/0.224.7/console_handler.js +58 -0
  27. package/esm/deps/jsr.io/@std/log/{0.224.13 → 0.224.7}/critical.js +1 -2
  28. package/esm/deps/jsr.io/@std/log/{0.224.13 → 0.224.7}/debug.js +1 -2
  29. package/esm/deps/jsr.io/@std/log/{0.224.13 → 0.224.7}/error.js +1 -2
  30. package/esm/deps/jsr.io/@std/log/{0.224.13 → 0.224.7}/file_handler.js +15 -147
  31. package/esm/deps/jsr.io/@std/log/0.224.7/formatters.js +19 -0
  32. package/esm/deps/jsr.io/@std/log/0.224.7/get_logger.js +21 -0
  33. package/esm/deps/jsr.io/@std/log/{0.224.13 → 0.224.7}/info.js +1 -2
  34. package/esm/deps/jsr.io/@std/log/{0.224.13 → 0.224.7}/levels.js +1 -3
  35. package/esm/deps/jsr.io/@std/log/0.224.7/logger.js +179 -0
  36. package/esm/deps/jsr.io/@std/log/{0.224.13 → 0.224.7}/mod.js +6 -6
  37. package/esm/deps/jsr.io/@std/log/{0.224.13 → 0.224.7}/rotating_file_handler.js +2 -2
  38. package/esm/deps/jsr.io/@std/log/{0.224.13 → 0.224.7}/setup.js +1 -1
  39. package/esm/deps/jsr.io/@std/log/{0.224.13 → 0.224.7}/warn.js +1 -2
  40. package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/posix/basename.js +0 -17
  41. package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/posix/dirname.js +0 -12
  42. package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/posix/extname.js +0 -16
  43. package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/posix/join.js +0 -13
  44. package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/posix/join_globs.js +2 -3
  45. package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/posix/normalize.js +0 -18
  46. package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/posix/normalize_glob.js +1 -2
  47. package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/windows/join_globs.js +2 -3
  48. package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/windows/normalize_glob.js +1 -2
  49. package/esm/deps.js +8 -8
  50. package/esm/gen/core/OpenAPI.js +1 -1
  51. package/esm/gen/services.gen.js +44 -2
  52. package/esm/main.js +1 -1
  53. package/esm/metadata.js +11 -1
  54. package/esm/script.js +8 -0
  55. package/esm/script_common.js +6 -0
  56. package/esm/sync.js +5 -0
  57. package/esm/types.js +1 -0
  58. package/esm/wasm/windmill_parser_wasm.generated.js +164 -116
  59. package/esm/wasm/windmill_parser_wasm_bg.wasm +0 -0
  60. package/package.json +1 -1
  61. package/types/bootstrap/script_bootstrap.d.ts +2 -0
  62. package/types/bootstrap/script_bootstrap.d.ts.map +1 -1
  63. package/types/deps/jsr.io/@std/bytes/{1.0.4 → 1.0.2}/concat.d.ts.map +1 -1
  64. package/types/deps/jsr.io/@std/encoding/{1.0.6 → 1.0.5}/_base32_common.d.ts.map +1 -1
  65. package/types/deps/jsr.io/@std/encoding/{1.0.6 → 1.0.5}/_validate_binary_like.d.ts.map +1 -1
  66. package/types/deps/jsr.io/@std/encoding/{1.0.6 → 1.0.5}/ascii85.d.ts.map +1 -1
  67. package/types/deps/jsr.io/@std/encoding/{1.0.6 → 1.0.5}/base32.d.ts.map +1 -1
  68. package/types/deps/jsr.io/@std/encoding/{1.0.6 → 1.0.5}/base58.d.ts.map +1 -1
  69. package/types/deps/jsr.io/@std/encoding/{1.0.6 → 1.0.5}/base64.d.ts.map +1 -1
  70. package/types/deps/jsr.io/@std/encoding/{1.0.6 → 1.0.5}/base64url.d.ts.map +1 -1
  71. package/types/deps/jsr.io/@std/encoding/{1.0.6 → 1.0.5}/hex.d.ts.map +1 -1
  72. package/types/deps/jsr.io/@std/encoding/{1.0.6 → 1.0.5}/mod.d.ts.map +1 -1
  73. package/types/deps/jsr.io/@std/encoding/{1.0.6 → 1.0.5}/varint.d.ts.map +1 -1
  74. package/types/deps/jsr.io/@std/fmt/{1.0.4 → 1.0.2}/colors.d.ts.map +1 -1
  75. package/types/deps/jsr.io/@std/fs/{1.0.9 → 1.0.3}/_create_walk_entry.d.ts.map +1 -1
  76. package/types/deps/jsr.io/@std/fs/{1.0.9 → 1.0.3}/_get_file_info_type.d.ts.map +1 -1
  77. package/types/deps/jsr.io/@std/fs/{1.0.9 → 1.0.3}/_is_same_path.d.ts.map +1 -1
  78. package/types/deps/jsr.io/@std/fs/{1.0.9 → 1.0.3}/_is_subdir.d.ts.map +1 -1
  79. package/types/deps/jsr.io/@std/fs/{1.0.9 → 1.0.3}/_to_path_string.d.ts.map +1 -1
  80. package/types/deps/jsr.io/@std/fs/{1.0.9 → 1.0.3}/copy.d.ts +6 -6
  81. package/types/deps/jsr.io/@std/fs/{1.0.9 → 1.0.3}/copy.d.ts.map +1 -1
  82. package/types/deps/jsr.io/@std/fs/{1.0.9 → 1.0.3}/empty_dir.d.ts +2 -2
  83. package/types/deps/jsr.io/@std/fs/{1.0.9 → 1.0.3}/empty_dir.d.ts.map +1 -1
  84. package/types/deps/jsr.io/@std/fs/{1.0.9 → 1.0.3}/ensure_dir.d.ts +2 -2
  85. package/types/deps/jsr.io/@std/fs/{1.0.9 → 1.0.3}/ensure_dir.d.ts.map +1 -1
  86. package/types/deps/jsr.io/@std/fs/{1.0.9 → 1.0.3}/ensure_file.d.ts +2 -2
  87. package/types/deps/jsr.io/@std/fs/{1.0.9 → 1.0.3}/ensure_file.d.ts.map +1 -1
  88. package/types/deps/jsr.io/@std/fs/{1.0.9 → 1.0.3}/ensure_link.d.ts +2 -2
  89. package/types/deps/jsr.io/@std/fs/{1.0.9 → 1.0.3}/ensure_link.d.ts.map +1 -1
  90. package/types/deps/jsr.io/@std/fs/{1.0.9 → 1.0.3}/ensure_symlink.d.ts +8 -26
  91. package/types/deps/jsr.io/@std/fs/1.0.3/ensure_symlink.d.ts.map +1 -0
  92. package/types/deps/jsr.io/@std/fs/{1.0.9 → 1.0.3}/eol.d.ts +3 -3
  93. package/types/deps/jsr.io/@std/fs/{1.0.9 → 1.0.3}/eol.d.ts.map +1 -1
  94. package/types/deps/jsr.io/@std/fs/{1.0.9 → 1.0.3}/exists.d.ts +16 -36
  95. package/types/deps/jsr.io/@std/fs/1.0.3/exists.d.ts.map +1 -0
  96. package/types/deps/jsr.io/@std/fs/{1.0.9 → 1.0.3}/expand_glob.d.ts +7 -7
  97. package/types/deps/jsr.io/@std/fs/{1.0.9 → 1.0.3}/expand_glob.d.ts.map +1 -1
  98. package/types/deps/jsr.io/@std/fs/{1.0.9 → 1.0.3}/mod.d.ts +1 -1
  99. package/types/deps/jsr.io/@std/fs/{1.0.9 → 1.0.3}/mod.d.ts.map +1 -1
  100. package/types/deps/jsr.io/@std/fs/{1.0.9 → 1.0.3}/move.d.ts +4 -4
  101. package/types/deps/jsr.io/@std/fs/{1.0.9 → 1.0.3}/move.d.ts.map +1 -1
  102. package/types/deps/jsr.io/@std/fs/{1.0.9 → 1.0.3}/walk.d.ts +20 -20
  103. package/types/deps/jsr.io/@std/fs/{1.0.9 → 1.0.3}/walk.d.ts.map +1 -1
  104. package/types/deps/jsr.io/@std/io/{0.225.0 → 0.224.8}/_constants.d.ts.map +1 -1
  105. package/types/deps/jsr.io/@std/io/{0.225.0 → 0.224.8}/copy.d.ts +1 -1
  106. package/types/deps/jsr.io/@std/io/{0.225.0 → 0.224.8}/copy.d.ts.map +1 -1
  107. package/types/deps/jsr.io/@std/io/{0.225.0 → 0.224.8}/read_all.d.ts +2 -2
  108. package/types/deps/jsr.io/@std/io/{0.225.0 → 0.224.8}/read_all.d.ts.map +1 -1
  109. package/types/deps/jsr.io/@std/io/{0.224.9 → 0.224.8}/types.d.ts.map +1 -1
  110. package/types/deps/jsr.io/@std/io/{0.225.0 → 0.224.8}/write_all.d.ts +2 -2
  111. package/types/deps/jsr.io/@std/io/{0.225.0 → 0.224.8}/write_all.d.ts.map +1 -1
  112. package/types/deps/jsr.io/@std/log/0.224.7/_config.d.ts.map +1 -0
  113. package/types/deps/jsr.io/@std/log/0.224.7/_file_handler_symbols.d.ts.map +1 -0
  114. package/types/deps/jsr.io/@std/log/0.224.7/_state.d.ts.map +1 -0
  115. package/types/deps/jsr.io/@std/log/0.224.7/base_handler.d.ts +22 -0
  116. package/types/deps/jsr.io/@std/log/0.224.7/base_handler.d.ts.map +1 -0
  117. package/types/deps/jsr.io/@std/log/0.224.7/console_handler.d.ts +18 -0
  118. package/types/deps/jsr.io/@std/log/0.224.7/console_handler.d.ts.map +1 -0
  119. package/types/deps/jsr.io/@std/log/0.224.7/critical.d.ts +5 -0
  120. package/types/deps/jsr.io/@std/log/0.224.7/critical.d.ts.map +1 -0
  121. package/types/deps/jsr.io/@std/log/0.224.7/debug.d.ts +5 -0
  122. package/types/deps/jsr.io/@std/log/0.224.7/debug.d.ts.map +1 -0
  123. package/types/deps/jsr.io/@std/log/0.224.7/error.d.ts +5 -0
  124. package/types/deps/jsr.io/@std/log/0.224.7/error.d.ts.map +1 -0
  125. package/types/deps/jsr.io/@std/log/0.224.7/file_handler.d.ts +54 -0
  126. package/types/deps/jsr.io/@std/log/0.224.7/file_handler.d.ts.map +1 -0
  127. package/types/deps/jsr.io/@std/log/0.224.7/formatters.d.ts +6 -0
  128. package/types/deps/jsr.io/@std/log/0.224.7/formatters.d.ts.map +1 -0
  129. package/types/deps/jsr.io/@std/log/0.224.7/get_logger.d.ts +4 -0
  130. package/types/deps/jsr.io/@std/log/0.224.7/get_logger.d.ts.map +1 -0
  131. package/types/deps/jsr.io/@std/log/0.224.7/info.d.ts +5 -0
  132. package/types/deps/jsr.io/@std/log/0.224.7/info.d.ts.map +1 -0
  133. package/types/deps/jsr.io/@std/log/{0.224.13 → 0.224.7}/levels.d.ts +0 -2
  134. package/types/deps/jsr.io/@std/log/0.224.7/levels.d.ts.map +1 -0
  135. package/types/deps/jsr.io/@std/log/0.224.7/logger.d.ts +62 -0
  136. package/types/deps/jsr.io/@std/log/0.224.7/logger.d.ts.map +1 -0
  137. package/types/deps/jsr.io/@std/log/{0.224.13 → 0.224.7}/mod.d.ts +5 -5
  138. package/types/deps/jsr.io/@std/log/0.224.7/mod.d.ts.map +1 -0
  139. package/types/deps/jsr.io/@std/log/0.224.7/rotating_file_handler.d.ts.map +1 -0
  140. package/types/deps/jsr.io/@std/log/0.224.7/setup.d.ts.map +1 -0
  141. package/types/deps/jsr.io/@std/log/0.224.7/warn.d.ts +5 -0
  142. package/types/deps/jsr.io/@std/log/0.224.7/warn.d.ts.map +1 -0
  143. package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/_common/assert_path.d.ts.map +1 -1
  144. package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/_common/basename.d.ts.map +1 -1
  145. package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/_common/common.d.ts.map +1 -1
  146. package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/_common/constants.d.ts.map +1 -1
  147. package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/_common/dirname.d.ts.map +1 -1
  148. package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/_common/format.d.ts.map +1 -1
  149. package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/_common/from_file_url.d.ts.map +1 -1
  150. package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/_common/glob_to_reg_exp.d.ts.map +1 -1
  151. package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/_common/normalize.d.ts.map +1 -1
  152. package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/_common/normalize_string.d.ts.map +1 -1
  153. package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/_common/relative.d.ts.map +1 -1
  154. package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/_common/strip_trailing_separators.d.ts.map +1 -1
  155. package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/_common/to_file_url.d.ts.map +1 -1
  156. package/types/deps/jsr.io/@std/path/1.0.6/_os.d.ts.map +1 -0
  157. package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/basename.d.ts.map +1 -1
  158. package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/common.d.ts.map +1 -1
  159. package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/constants.d.ts.map +1 -1
  160. package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/dirname.d.ts.map +1 -1
  161. package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/extname.d.ts.map +1 -1
  162. package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/format.d.ts.map +1 -1
  163. package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/from_file_url.d.ts.map +1 -1
  164. package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/glob_to_regexp.d.ts.map +1 -1
  165. package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/is_absolute.d.ts.map +1 -1
  166. package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/is_glob.d.ts.map +1 -1
  167. package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/join.d.ts.map +1 -1
  168. package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/join_globs.d.ts.map +1 -1
  169. package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/mod.d.ts.map +1 -1
  170. package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/normalize.d.ts.map +1 -1
  171. package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/normalize_glob.d.ts.map +1 -1
  172. package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/parse.d.ts.map +1 -1
  173. package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/posix/_util.d.ts.map +1 -1
  174. package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/posix/basename.d.ts +0 -17
  175. package/types/deps/jsr.io/@std/path/1.0.6/posix/basename.d.ts.map +1 -0
  176. package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/posix/constants.d.ts.map +1 -1
  177. package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/posix/dirname.d.ts +0 -12
  178. package/types/deps/jsr.io/@std/path/1.0.6/posix/dirname.d.ts.map +1 -0
  179. package/types/deps/jsr.io/@std/path/1.0.6/posix/extname.d.ts +21 -0
  180. package/types/deps/jsr.io/@std/path/1.0.6/posix/extname.d.ts.map +1 -0
  181. package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/posix/format.d.ts.map +1 -1
  182. package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/posix/from_file_url.d.ts.map +1 -1
  183. package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/posix/glob_to_regexp.d.ts.map +1 -1
  184. package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/posix/is_absolute.d.ts.map +1 -1
  185. package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/posix/join.d.ts +0 -13
  186. package/types/deps/jsr.io/@std/path/1.0.6/posix/join.d.ts.map +1 -0
  187. package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/posix/join_globs.d.ts +1 -1
  188. package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/posix/join_globs.d.ts.map +1 -1
  189. package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/posix/normalize.d.ts +0 -18
  190. package/types/deps/jsr.io/@std/path/1.0.6/posix/normalize.d.ts.map +1 -0
  191. package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/posix/normalize_glob.d.ts +1 -1
  192. package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/posix/normalize_glob.d.ts.map +1 -1
  193. package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/posix/parse.d.ts.map +1 -1
  194. package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/posix/relative.d.ts.map +1 -1
  195. package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/posix/resolve.d.ts.map +1 -1
  196. package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/posix/to_file_url.d.ts.map +1 -1
  197. package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/posix/to_namespaced_path.d.ts.map +1 -1
  198. package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/relative.d.ts.map +1 -1
  199. package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/resolve.d.ts.map +1 -1
  200. package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/to_file_url.d.ts.map +1 -1
  201. package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/to_namespaced_path.d.ts.map +1 -1
  202. package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/types.d.ts.map +1 -1
  203. package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/windows/_util.d.ts.map +1 -1
  204. package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/windows/basename.d.ts.map +1 -1
  205. package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/windows/constants.d.ts.map +1 -1
  206. package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/windows/dirname.d.ts.map +1 -1
  207. package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/windows/extname.d.ts.map +1 -1
  208. package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/windows/format.d.ts.map +1 -1
  209. package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/windows/from_file_url.d.ts.map +1 -1
  210. package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/windows/glob_to_regexp.d.ts.map +1 -1
  211. package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/windows/is_absolute.d.ts.map +1 -1
  212. package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/windows/join.d.ts.map +1 -1
  213. package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/windows/join_globs.d.ts +1 -1
  214. package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/windows/join_globs.d.ts.map +1 -1
  215. package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/windows/normalize.d.ts.map +1 -1
  216. package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/windows/normalize_glob.d.ts +1 -1
  217. package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/windows/normalize_glob.d.ts.map +1 -1
  218. package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/windows/parse.d.ts.map +1 -1
  219. package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/windows/relative.d.ts.map +1 -1
  220. package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/windows/resolve.d.ts.map +1 -1
  221. package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/windows/to_file_url.d.ts.map +1 -1
  222. package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/windows/to_namespaced_path.d.ts.map +1 -1
  223. package/types/deps/jsr.io/@windmill-labs/cliffy-ansi/1.0.0-rc.5/cursor_position.d.ts +1 -1
  224. package/types/deps/jsr.io/@windmill-labs/cliffy-ansi/1.0.0-rc.5/tty.d.ts +1 -1
  225. package/types/deps/jsr.io/@windmill-labs/cliffy-prompt/1.0.0-rc.6/_generic_prompt.d.ts +1 -1
  226. package/types/deps.d.ts +8 -8
  227. package/types/deps.d.ts.map +1 -1
  228. package/types/gen/services.gen.d.ts +22 -2
  229. package/types/gen/services.gen.d.ts.map +1 -1
  230. package/types/gen/types.gen.d.ts +27 -5
  231. package/types/gen/types.gen.d.ts.map +1 -1
  232. package/types/main.d.ts +1 -1
  233. package/types/metadata.d.ts.map +1 -1
  234. package/types/script.d.ts.map +1 -1
  235. package/types/script_common.d.ts +1 -1
  236. package/types/script_common.d.ts.map +1 -1
  237. package/types/sync.d.ts.map +1 -1
  238. package/types/types.d.ts.map +1 -1
  239. package/types/wasm/windmill_parser_wasm.generated.d.ts +14 -0
  240. package/types/wasm/windmill_parser_wasm.generated.d.ts.map +1 -1
  241. package/esm/deps/jsr.io/@std/io/0.225.0/types.js +0 -15
  242. package/esm/deps/jsr.io/@std/log/0.224.13/base_handler.js +0 -331
  243. package/esm/deps/jsr.io/@std/log/0.224.13/console_handler.js +0 -112
  244. package/esm/deps/jsr.io/@std/log/0.224.13/formatters.js +0 -45
  245. package/esm/deps/jsr.io/@std/log/0.224.13/get_logger.js +0 -75
  246. package/esm/deps/jsr.io/@std/log/0.224.13/logger.js +0 -525
  247. package/types/deps/jsr.io/@std/fs/1.0.9/ensure_symlink.d.ts.map +0 -1
  248. package/types/deps/jsr.io/@std/fs/1.0.9/exists.d.ts.map +0 -1
  249. package/types/deps/jsr.io/@std/io/0.225.0/types.d.ts +0 -146
  250. package/types/deps/jsr.io/@std/io/0.225.0/types.d.ts.map +0 -1
  251. package/types/deps/jsr.io/@std/log/0.224.13/_config.d.ts.map +0 -1
  252. package/types/deps/jsr.io/@std/log/0.224.13/_file_handler_symbols.d.ts.map +0 -1
  253. package/types/deps/jsr.io/@std/log/0.224.13/_state.d.ts.map +0 -1
  254. package/types/deps/jsr.io/@std/log/0.224.13/base_handler.d.ts +0 -326
  255. package/types/deps/jsr.io/@std/log/0.224.13/base_handler.d.ts.map +0 -1
  256. package/types/deps/jsr.io/@std/log/0.224.13/console_handler.d.ts +0 -76
  257. package/types/deps/jsr.io/@std/log/0.224.13/console_handler.d.ts.map +0 -1
  258. package/types/deps/jsr.io/@std/log/0.224.13/critical.d.ts +0 -53
  259. package/types/deps/jsr.io/@std/log/0.224.13/critical.d.ts.map +0 -1
  260. package/types/deps/jsr.io/@std/log/0.224.13/debug.d.ts +0 -105
  261. package/types/deps/jsr.io/@std/log/0.224.13/debug.d.ts.map +0 -1
  262. package/types/deps/jsr.io/@std/log/0.224.13/error.d.ts +0 -53
  263. package/types/deps/jsr.io/@std/log/0.224.13/error.d.ts.map +0 -1
  264. package/types/deps/jsr.io/@std/log/0.224.13/file_handler.d.ts +0 -200
  265. package/types/deps/jsr.io/@std/log/0.224.13/file_handler.d.ts.map +0 -1
  266. package/types/deps/jsr.io/@std/log/0.224.13/formatters.d.ts +0 -34
  267. package/types/deps/jsr.io/@std/log/0.224.13/formatters.d.ts.map +0 -1
  268. package/types/deps/jsr.io/@std/log/0.224.13/get_logger.d.ts +0 -59
  269. package/types/deps/jsr.io/@std/log/0.224.13/get_logger.d.ts.map +0 -1
  270. package/types/deps/jsr.io/@std/log/0.224.13/info.d.ts +0 -53
  271. package/types/deps/jsr.io/@std/log/0.224.13/info.d.ts.map +0 -1
  272. package/types/deps/jsr.io/@std/log/0.224.13/levels.d.ts.map +0 -1
  273. package/types/deps/jsr.io/@std/log/0.224.13/logger.d.ts +0 -622
  274. package/types/deps/jsr.io/@std/log/0.224.13/logger.d.ts.map +0 -1
  275. package/types/deps/jsr.io/@std/log/0.224.13/mod.d.ts.map +0 -1
  276. package/types/deps/jsr.io/@std/log/0.224.13/rotating_file_handler.d.ts.map +0 -1
  277. package/types/deps/jsr.io/@std/log/0.224.13/setup.d.ts.map +0 -1
  278. package/types/deps/jsr.io/@std/log/0.224.13/warn.d.ts +0 -53
  279. package/types/deps/jsr.io/@std/log/0.224.13/warn.d.ts.map +0 -1
  280. package/types/deps/jsr.io/@std/path/1.0.8/_os.d.ts.map +0 -1
  281. package/types/deps/jsr.io/@std/path/1.0.8/posix/basename.d.ts.map +0 -1
  282. package/types/deps/jsr.io/@std/path/1.0.8/posix/dirname.d.ts.map +0 -1
  283. package/types/deps/jsr.io/@std/path/1.0.8/posix/extname.d.ts +0 -37
  284. package/types/deps/jsr.io/@std/path/1.0.8/posix/extname.d.ts.map +0 -1
  285. package/types/deps/jsr.io/@std/path/1.0.8/posix/join.d.ts.map +0 -1
  286. package/types/deps/jsr.io/@std/path/1.0.8/posix/normalize.d.ts.map +0 -1
  287. /package/esm/deps/jsr.io/@std/bytes/{1.0.4 → 1.0.2}/concat.js +0 -0
  288. /package/esm/deps/jsr.io/@std/encoding/{1.0.6 → 1.0.5}/_base32_common.js +0 -0
  289. /package/esm/deps/jsr.io/@std/encoding/{1.0.6 → 1.0.5}/_validate_binary_like.js +0 -0
  290. /package/esm/deps/jsr.io/@std/encoding/{1.0.6 → 1.0.5}/ascii85.js +0 -0
  291. /package/esm/deps/jsr.io/@std/encoding/{1.0.6 → 1.0.5}/base32.js +0 -0
  292. /package/esm/deps/jsr.io/@std/encoding/{1.0.6 → 1.0.5}/base58.js +0 -0
  293. /package/esm/deps/jsr.io/@std/encoding/{1.0.6 → 1.0.5}/base64.js +0 -0
  294. /package/esm/deps/jsr.io/@std/encoding/{1.0.6 → 1.0.5}/base64url.js +0 -0
  295. /package/esm/deps/jsr.io/@std/encoding/{1.0.6 → 1.0.5}/hex.js +0 -0
  296. /package/esm/deps/jsr.io/@std/encoding/{1.0.6 → 1.0.5}/mod.js +0 -0
  297. /package/esm/deps/jsr.io/@std/encoding/{1.0.6 → 1.0.5}/varint.js +0 -0
  298. /package/esm/deps/jsr.io/@std/fs/{1.0.9 → 1.0.3}/_get_file_info_type.js +0 -0
  299. /package/esm/deps/jsr.io/@std/io/{0.225.0 → 0.224.8}/_constants.js +0 -0
  300. /package/esm/deps/jsr.io/@std/io/{0.224.9 → 0.224.8}/types.js +0 -0
  301. /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/_common/assert_path.js +0 -0
  302. /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/_common/basename.js +0 -0
  303. /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/_common/common.js +0 -0
  304. /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/_common/constants.js +0 -0
  305. /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/_common/dirname.js +0 -0
  306. /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/_common/format.js +0 -0
  307. /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/_common/from_file_url.js +0 -0
  308. /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/_common/glob_to_reg_exp.js +0 -0
  309. /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/_common/normalize.js +0 -0
  310. /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/_common/normalize_string.js +0 -0
  311. /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/_common/relative.js +0 -0
  312. /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/_common/strip_trailing_separators.js +0 -0
  313. /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/_common/to_file_url.js +0 -0
  314. /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/_os.js +0 -0
  315. /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/basename.js +0 -0
  316. /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/common.js +0 -0
  317. /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/constants.js +0 -0
  318. /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/dirname.js +0 -0
  319. /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/extname.js +0 -0
  320. /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/format.js +0 -0
  321. /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/from_file_url.js +0 -0
  322. /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/glob_to_regexp.js +0 -0
  323. /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/is_absolute.js +0 -0
  324. /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/is_glob.js +0 -0
  325. /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/join.js +0 -0
  326. /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/join_globs.js +0 -0
  327. /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/mod.js +0 -0
  328. /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/normalize.js +0 -0
  329. /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/normalize_glob.js +0 -0
  330. /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/parse.js +0 -0
  331. /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/posix/_util.js +0 -0
  332. /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/posix/constants.js +0 -0
  333. /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/posix/format.js +0 -0
  334. /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/posix/from_file_url.js +0 -0
  335. /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/posix/glob_to_regexp.js +0 -0
  336. /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/posix/is_absolute.js +0 -0
  337. /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/posix/parse.js +0 -0
  338. /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/posix/relative.js +0 -0
  339. /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/posix/resolve.js +0 -0
  340. /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/posix/to_file_url.js +0 -0
  341. /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/posix/to_namespaced_path.js +0 -0
  342. /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/relative.js +0 -0
  343. /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/resolve.js +0 -0
  344. /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/to_file_url.js +0 -0
  345. /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/to_namespaced_path.js +0 -0
  346. /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/types.js +0 -0
  347. /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/windows/_util.js +0 -0
  348. /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/windows/basename.js +0 -0
  349. /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/windows/constants.js +0 -0
  350. /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/windows/dirname.js +0 -0
  351. /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/windows/extname.js +0 -0
  352. /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/windows/format.js +0 -0
  353. /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/windows/from_file_url.js +0 -0
  354. /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/windows/glob_to_regexp.js +0 -0
  355. /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/windows/is_absolute.js +0 -0
  356. /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/windows/join.js +0 -0
  357. /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/windows/normalize.js +0 -0
  358. /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/windows/parse.js +0 -0
  359. /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/windows/relative.js +0 -0
  360. /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/windows/resolve.js +0 -0
  361. /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/windows/to_file_url.js +0 -0
  362. /package/esm/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/windows/to_namespaced_path.js +0 -0
  363. /package/types/deps/jsr.io/@std/bytes/{1.0.4 → 1.0.2}/concat.d.ts +0 -0
  364. /package/types/deps/jsr.io/@std/encoding/{1.0.6 → 1.0.5}/_base32_common.d.ts +0 -0
  365. /package/types/deps/jsr.io/@std/encoding/{1.0.6 → 1.0.5}/_validate_binary_like.d.ts +0 -0
  366. /package/types/deps/jsr.io/@std/encoding/{1.0.6 → 1.0.5}/ascii85.d.ts +0 -0
  367. /package/types/deps/jsr.io/@std/encoding/{1.0.6 → 1.0.5}/base32.d.ts +0 -0
  368. /package/types/deps/jsr.io/@std/encoding/{1.0.6 → 1.0.5}/base58.d.ts +0 -0
  369. /package/types/deps/jsr.io/@std/encoding/{1.0.6 → 1.0.5}/base64.d.ts +0 -0
  370. /package/types/deps/jsr.io/@std/encoding/{1.0.6 → 1.0.5}/base64url.d.ts +0 -0
  371. /package/types/deps/jsr.io/@std/encoding/{1.0.6 → 1.0.5}/hex.d.ts +0 -0
  372. /package/types/deps/jsr.io/@std/encoding/{1.0.6 → 1.0.5}/mod.d.ts +0 -0
  373. /package/types/deps/jsr.io/@std/encoding/{1.0.6 → 1.0.5}/varint.d.ts +0 -0
  374. /package/types/deps/jsr.io/@std/fmt/{1.0.4 → 1.0.2}/colors.d.ts +0 -0
  375. /package/types/deps/jsr.io/@std/fs/{1.0.9 → 1.0.3}/_create_walk_entry.d.ts +0 -0
  376. /package/types/deps/jsr.io/@std/fs/{1.0.9 → 1.0.3}/_get_file_info_type.d.ts +0 -0
  377. /package/types/deps/jsr.io/@std/fs/{1.0.9 → 1.0.3}/_is_same_path.d.ts +0 -0
  378. /package/types/deps/jsr.io/@std/fs/{1.0.9 → 1.0.3}/_is_subdir.d.ts +0 -0
  379. /package/types/deps/jsr.io/@std/fs/{1.0.9 → 1.0.3}/_to_path_string.d.ts +0 -0
  380. /package/types/deps/jsr.io/@std/io/{0.225.0 → 0.224.8}/_constants.d.ts +0 -0
  381. /package/types/deps/jsr.io/@std/io/{0.224.9 → 0.224.8}/types.d.ts +0 -0
  382. /package/types/deps/jsr.io/@std/log/{0.224.13 → 0.224.7}/_config.d.ts +0 -0
  383. /package/types/deps/jsr.io/@std/log/{0.224.13 → 0.224.7}/_file_handler_symbols.d.ts +0 -0
  384. /package/types/deps/jsr.io/@std/log/{0.224.13 → 0.224.7}/_state.d.ts +0 -0
  385. /package/types/deps/jsr.io/@std/log/{0.224.13 → 0.224.7}/rotating_file_handler.d.ts +0 -0
  386. /package/types/deps/jsr.io/@std/log/{0.224.13 → 0.224.7}/setup.d.ts +0 -0
  387. /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/_common/assert_path.d.ts +0 -0
  388. /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/_common/basename.d.ts +0 -0
  389. /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/_common/common.d.ts +0 -0
  390. /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/_common/constants.d.ts +0 -0
  391. /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/_common/dirname.d.ts +0 -0
  392. /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/_common/format.d.ts +0 -0
  393. /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/_common/from_file_url.d.ts +0 -0
  394. /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/_common/glob_to_reg_exp.d.ts +0 -0
  395. /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/_common/normalize.d.ts +0 -0
  396. /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/_common/normalize_string.d.ts +0 -0
  397. /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/_common/relative.d.ts +0 -0
  398. /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/_common/strip_trailing_separators.d.ts +0 -0
  399. /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/_common/to_file_url.d.ts +0 -0
  400. /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/_os.d.ts +0 -0
  401. /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/basename.d.ts +0 -0
  402. /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/common.d.ts +0 -0
  403. /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/constants.d.ts +0 -0
  404. /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/dirname.d.ts +0 -0
  405. /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/extname.d.ts +0 -0
  406. /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/format.d.ts +0 -0
  407. /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/from_file_url.d.ts +0 -0
  408. /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/glob_to_regexp.d.ts +0 -0
  409. /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/is_absolute.d.ts +0 -0
  410. /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/is_glob.d.ts +0 -0
  411. /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/join.d.ts +0 -0
  412. /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/join_globs.d.ts +0 -0
  413. /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/mod.d.ts +0 -0
  414. /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/normalize.d.ts +0 -0
  415. /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/normalize_glob.d.ts +0 -0
  416. /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/parse.d.ts +0 -0
  417. /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/posix/_util.d.ts +0 -0
  418. /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/posix/constants.d.ts +0 -0
  419. /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/posix/format.d.ts +0 -0
  420. /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/posix/from_file_url.d.ts +0 -0
  421. /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/posix/glob_to_regexp.d.ts +0 -0
  422. /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/posix/is_absolute.d.ts +0 -0
  423. /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/posix/parse.d.ts +0 -0
  424. /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/posix/relative.d.ts +0 -0
  425. /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/posix/resolve.d.ts +0 -0
  426. /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/posix/to_file_url.d.ts +0 -0
  427. /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/posix/to_namespaced_path.d.ts +0 -0
  428. /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/relative.d.ts +0 -0
  429. /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/resolve.d.ts +0 -0
  430. /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/to_file_url.d.ts +0 -0
  431. /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/to_namespaced_path.d.ts +0 -0
  432. /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/types.d.ts +0 -0
  433. /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/windows/_util.d.ts +0 -0
  434. /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/windows/basename.d.ts +0 -0
  435. /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/windows/constants.d.ts +0 -0
  436. /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/windows/dirname.d.ts +0 -0
  437. /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/windows/extname.d.ts +0 -0
  438. /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/windows/format.d.ts +0 -0
  439. /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/windows/from_file_url.d.ts +0 -0
  440. /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/windows/glob_to_regexp.d.ts +0 -0
  441. /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/windows/is_absolute.d.ts +0 -0
  442. /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/windows/join.d.ts +0 -0
  443. /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/windows/normalize.d.ts +0 -0
  444. /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/windows/parse.d.ts +0 -0
  445. /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/windows/relative.d.ts +0 -0
  446. /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/windows/resolve.d.ts +0 -0
  447. /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/windows/to_file_url.d.ts +0 -0
  448. /package/types/deps/jsr.io/@std/path/{1.0.8 → 1.0.6}/windows/to_namespaced_path.d.ts +0 -0
@@ -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.0/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,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
  /**
3
3
  * Logging library with the support for terminal and file outputs. Also provides
4
4
  * interfaces for building custom loggers.
@@ -24,7 +24,7 @@
24
24
  * `log.formatters.jsonFormatter` or write your own function that takes a
25
25
  * {@linkcode LogRecord} and returns a JSON.stringify'd object.
26
26
  * If you want the log to go to stdout then use {@linkcode ConsoleHandler} with
27
- * the configuration `useColors: false` to turn off the ANSI terminal colors.
27
+ * the configuration `useColors: false` to turn off the ANSI terminal colours.
28
28
  *
29
29
  * ```ts
30
30
  * import * as log from "@std/log";
@@ -81,12 +81,12 @@
81
81
  * return getLogger("my-awesome-module");
82
82
  * }
83
83
  *
84
- * function sum(a: number, b: number) {
84
+ * export function sum(a: number, b: number) {
85
85
  * logger().debug(`running ${a} + ${b}`);
86
86
  * return a + b;
87
87
  * }
88
88
  *
89
- * function mult(a: number, b: number) {
89
+ * export function mult(a: number, b: number) {
90
90
  * logger().debug(`running ${a} * ${b}`);
91
91
  * return a * b;
92
92
  * }
@@ -122,14 +122,14 @@
122
122
  *
123
123
  * const logger = getLogger("my-awesome-module");
124
124
  *
125
- * function sum(a: number, b: number) {
125
+ * export function sum(a: number, b: number) {
126
126
  * logger.debug(`running ${a} + ${b}`); // no message will be logged, because getLogger() was called before log.setup()
127
127
  * return a + b;
128
128
  * }
129
129
  * ```
130
130
  *
131
131
  * @example
132
- * ```ts ignore
132
+ * ```ts
133
133
  * import * as log from "@std/log";
134
134
  *
135
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.9/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) {
@@ -17,23 +17,6 @@ import { isPosixPathSeparator } from "./_util.js";
17
17
  * assertEquals(basename("/home/user/Documents/image.png", ".png"), "image");
18
18
  * ```
19
19
  *
20
- * @example Working with URLs
21
- *
22
- * Note: This function doesn't automatically strip hash and query parts from
23
- * URLs. If your URL contains a hash or query, remove them before passing the
24
- * URL to the function. This can be done by passing the URL to `new URL(url)`,
25
- * and setting the `hash` and `search` properties to empty strings.
26
- *
27
- * ```ts
28
- * import { basename } from "@std/path/posix/basename";
29
- * import { assertEquals } from "@std/assert";
30
- *
31
- * assertEquals(basename("https://deno.land/std/path/mod.ts"), "mod.ts");
32
- * assertEquals(basename("https://deno.land/std/path/mod.ts", ".ts"), "mod");
33
- * assertEquals(basename("https://deno.land/std/path/mod.ts?a=b"), "mod.ts?a=b");
34
- * assertEquals(basename("https://deno.land/std/path/mod.ts#header"), "mod.ts#header");
35
- * ```
36
- *
37
20
  * Note: If you are working with file URLs,
38
21
  * use the new version of `basename` from `@std/path/posix/unstable-basename`.
39
22
  *
@@ -13,18 +13,6 @@ import { isPosixPathSeparator } from "./_util.js";
13
13
  *
14
14
  * assertEquals(dirname("/home/user/Documents/"), "/home/user");
15
15
  * assertEquals(dirname("/home/user/Documents/image.png"), "/home/user/Documents");
16
- * assertEquals(dirname("https://deno.land/std/path/mod.ts"), "https://deno.land/std/path");
17
- * ```
18
- *
19
- * @example Working with URLs
20
- *
21
- * ```ts
22
- * import { dirname } from "@std/path/posix/dirname";
23
- * import { assertEquals } from "@std/assert";
24
- *
25
- * assertEquals(dirname("https://deno.land/std/path/mod.ts"), "https://deno.land/std/path");
26
- * assertEquals(dirname("https://deno.land/std/path/mod.ts?a=b"), "https://deno.land/std/path");
27
- * assertEquals(dirname("https://deno.land/std/path/mod.ts#header"), "https://deno.land/std/path");
28
16
  * ```
29
17
  *
30
18
  * Note: If you are working with file URLs,
@@ -16,22 +16,6 @@ import { isPosixPathSeparator } from "./_util.js";
16
16
  * assertEquals(extname("/home/user/Documents/image.png"), ".png");
17
17
  * ```
18
18
  *
19
- * @example Working with URLs
20
- *
21
- * Note: This function doesn't automatically strip hash and query parts from
22
- * URLs. If your URL contains a hash or query, remove them before passing the
23
- * URL to the function. This can be done by passing the URL to `new URL(url)`,
24
- * and setting the `hash` and `search` properties to empty strings.
25
- *
26
- * ```ts
27
- * import { extname } from "@std/path/posix/extname";
28
- * import { assertEquals } from "@std/assert";
29
- *
30
- * assertEquals(extname("https://deno.land/std/path/mod.ts"), ".ts");
31
- * assertEquals(extname("https://deno.land/std/path/mod.ts?a=b"), ".ts?a=b");
32
- * assertEquals(extname("https://deno.land/std/path/mod.ts#header"), ".ts#header");
33
- * ```
34
- *
35
19
  * Note: If you are working with file URLs,
36
20
  * use the new version of `extname` from `@std/path/posix/unstable-extname`.
37
21
  *
@@ -14,19 +14,6 @@ import { normalize } from "./normalize.js";
14
14
  * assertEquals(path, "/foo/bar/baz/asdf");
15
15
  * ```
16
16
  *
17
- * @example Working with URLs
18
- * ```ts
19
- * import { join } from "@std/path/posix/join";
20
- * import { assertEquals } from "@std/assert";
21
- *
22
- * const url = new URL("https://deno.land");
23
- * url.pathname = join("std", "path", "mod.ts");
24
- * assertEquals(url.href, "https://deno.land/std/path/mod.ts");
25
- *
26
- * url.pathname = join("//std", "path/", "/mod.ts");
27
- * assertEquals(url.href, "https://deno.land/std/path/mod.ts");
28
- * ```
29
- *
30
17
  * Note: If you are working with file URLs,
31
18
  * use the new version of `join` from `@std/path/posix/unstable-join`.
32
19
  *