windmill-cli 1.398.1 → 1.399.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 (133) hide show
  1. package/esm/deps/jsr.io/@std/fs/{1.0.3 → 1.0.4}/copy.js +6 -6
  2. package/esm/deps/jsr.io/@std/fs/{1.0.3 → 1.0.4}/empty_dir.js +2 -2
  3. package/esm/deps/jsr.io/@std/fs/{1.0.3 → 1.0.4}/ensure_dir.js +2 -2
  4. package/esm/deps/jsr.io/@std/fs/{1.0.3 → 1.0.4}/ensure_file.js +2 -2
  5. package/esm/deps/jsr.io/@std/fs/{1.0.3 → 1.0.4}/ensure_link.js +2 -2
  6. package/esm/deps/jsr.io/@std/fs/{1.0.3 → 1.0.4}/ensure_symlink.js +2 -2
  7. package/esm/deps/jsr.io/@std/fs/{1.0.3 → 1.0.4}/eol.js +3 -3
  8. package/esm/deps/jsr.io/@std/fs/{1.0.3 → 1.0.4}/exists.js +36 -16
  9. package/esm/deps/jsr.io/@std/fs/{1.0.3 → 1.0.4}/expand_glob.js +6 -6
  10. package/esm/deps/jsr.io/@std/fs/{1.0.3 → 1.0.4}/mod.js +1 -1
  11. package/esm/deps/jsr.io/@std/fs/{1.0.3 → 1.0.4}/move.js +4 -4
  12. package/esm/deps/jsr.io/@std/fs/{1.0.3 → 1.0.4}/walk.js +20 -20
  13. package/esm/deps/jsr.io/@std/io/{0.224.8 → 0.224.9}/copy.js +1 -1
  14. package/esm/deps/jsr.io/@std/io/{0.224.8 → 0.224.9}/read_all.js +2 -2
  15. package/esm/deps/jsr.io/@std/io/{0.224.8 → 0.224.9}/write_all.js +2 -2
  16. package/esm/deps/jsr.io/@std/log/{0.224.7 → 0.224.8}/console_handler.js +1 -0
  17. package/esm/deps/jsr.io/@std/log/{0.224.7 → 0.224.8}/file_handler.js +1 -1
  18. package/esm/deps/jsr.io/@std/log/{0.224.7 → 0.224.8}/mod.js +5 -5
  19. package/esm/deps/jsr.io/@std/log/{0.224.7 → 0.224.8}/rotating_file_handler.js +1 -1
  20. package/esm/deps.js +5 -5
  21. package/esm/gen/core/OpenAPI.js +1 -1
  22. package/esm/main.js +1 -1
  23. package/package.json +1 -1
  24. package/types/deps/jsr.io/@std/fs/{1.0.3 → 1.0.4}/_create_walk_entry.d.ts.map +1 -1
  25. package/types/deps/jsr.io/@std/fs/{1.0.3 → 1.0.4}/_get_file_info_type.d.ts.map +1 -1
  26. package/types/deps/jsr.io/@std/fs/{1.0.3 → 1.0.4}/_is_same_path.d.ts.map +1 -1
  27. package/types/deps/jsr.io/@std/fs/{1.0.3 → 1.0.4}/_is_subdir.d.ts.map +1 -1
  28. package/types/deps/jsr.io/@std/fs/{1.0.3 → 1.0.4}/_to_path_string.d.ts.map +1 -1
  29. package/types/deps/jsr.io/@std/fs/{1.0.3 → 1.0.4}/copy.d.ts +6 -6
  30. package/types/deps/jsr.io/@std/fs/{1.0.3 → 1.0.4}/copy.d.ts.map +1 -1
  31. package/types/deps/jsr.io/@std/fs/{1.0.3 → 1.0.4}/empty_dir.d.ts +2 -2
  32. package/types/deps/jsr.io/@std/fs/{1.0.3 → 1.0.4}/empty_dir.d.ts.map +1 -1
  33. package/types/deps/jsr.io/@std/fs/{1.0.3 → 1.0.4}/ensure_dir.d.ts +2 -2
  34. package/types/deps/jsr.io/@std/fs/{1.0.3 → 1.0.4}/ensure_dir.d.ts.map +1 -1
  35. package/types/deps/jsr.io/@std/fs/{1.0.3 → 1.0.4}/ensure_file.d.ts +2 -2
  36. package/types/deps/jsr.io/@std/fs/{1.0.3 → 1.0.4}/ensure_file.d.ts.map +1 -1
  37. package/types/deps/jsr.io/@std/fs/{1.0.3 → 1.0.4}/ensure_link.d.ts +2 -2
  38. package/types/deps/jsr.io/@std/fs/{1.0.3 → 1.0.4}/ensure_link.d.ts.map +1 -1
  39. package/types/deps/jsr.io/@std/fs/{1.0.3 → 1.0.4}/ensure_symlink.d.ts +2 -2
  40. package/types/deps/jsr.io/@std/fs/{1.0.3 → 1.0.4}/ensure_symlink.d.ts.map +1 -1
  41. package/types/deps/jsr.io/@std/fs/{1.0.3 → 1.0.4}/eol.d.ts +3 -3
  42. package/types/deps/jsr.io/@std/fs/{1.0.3 → 1.0.4}/eol.d.ts.map +1 -1
  43. package/types/deps/jsr.io/@std/fs/{1.0.3 → 1.0.4}/exists.d.ts +36 -16
  44. package/types/deps/jsr.io/@std/fs/1.0.4/exists.d.ts.map +1 -0
  45. package/types/deps/jsr.io/@std/fs/{1.0.3 → 1.0.4}/expand_glob.d.ts +6 -6
  46. package/types/deps/jsr.io/@std/fs/{1.0.3 → 1.0.4}/expand_glob.d.ts.map +1 -1
  47. package/types/deps/jsr.io/@std/fs/{1.0.3 → 1.0.4}/mod.d.ts +1 -1
  48. package/types/deps/jsr.io/@std/fs/{1.0.3 → 1.0.4}/mod.d.ts.map +1 -1
  49. package/types/deps/jsr.io/@std/fs/{1.0.3 → 1.0.4}/move.d.ts +4 -4
  50. package/types/deps/jsr.io/@std/fs/{1.0.3 → 1.0.4}/move.d.ts.map +1 -1
  51. package/types/deps/jsr.io/@std/fs/{1.0.3 → 1.0.4}/walk.d.ts +20 -20
  52. package/types/deps/jsr.io/@std/fs/{1.0.3 → 1.0.4}/walk.d.ts.map +1 -1
  53. package/types/deps/jsr.io/@std/io/{0.224.8 → 0.224.9}/_constants.d.ts.map +1 -1
  54. package/types/deps/jsr.io/@std/io/{0.224.8 → 0.224.9}/copy.d.ts +1 -1
  55. package/types/deps/jsr.io/@std/io/{0.224.8 → 0.224.9}/copy.d.ts.map +1 -1
  56. package/types/deps/jsr.io/@std/io/{0.224.8 → 0.224.9}/read_all.d.ts +2 -2
  57. package/types/deps/jsr.io/@std/io/{0.224.8 → 0.224.9}/read_all.d.ts.map +1 -1
  58. package/types/deps/jsr.io/@std/io/{0.224.8 → 0.224.9}/types.d.ts.map +1 -1
  59. package/types/deps/jsr.io/@std/io/{0.224.8 → 0.224.9}/write_all.d.ts +2 -2
  60. package/types/deps/jsr.io/@std/io/{0.224.8 → 0.224.9}/write_all.d.ts.map +1 -1
  61. package/types/deps/jsr.io/@std/log/{0.224.7 → 0.224.8}/_config.d.ts.map +1 -1
  62. package/types/deps/jsr.io/@std/log/{0.224.7 → 0.224.8}/_file_handler_symbols.d.ts.map +1 -1
  63. package/types/deps/jsr.io/@std/log/{0.224.7 → 0.224.8}/_state.d.ts.map +1 -1
  64. package/types/deps/jsr.io/@std/log/{0.224.7 → 0.224.8}/base_handler.d.ts.map +1 -1
  65. package/types/deps/jsr.io/@std/log/{0.224.7 → 0.224.8}/console_handler.d.ts.map +1 -1
  66. package/types/deps/jsr.io/@std/log/{0.224.7 → 0.224.8}/critical.d.ts.map +1 -1
  67. package/types/deps/jsr.io/@std/log/{0.224.7 → 0.224.8}/debug.d.ts.map +1 -1
  68. package/types/deps/jsr.io/@std/log/{0.224.7 → 0.224.8}/error.d.ts.map +1 -1
  69. package/types/deps/jsr.io/@std/log/{0.224.7 → 0.224.8}/file_handler.d.ts.map +1 -1
  70. package/types/deps/jsr.io/@std/log/{0.224.7 → 0.224.8}/formatters.d.ts.map +1 -1
  71. package/types/deps/jsr.io/@std/log/{0.224.7 → 0.224.8}/get_logger.d.ts.map +1 -1
  72. package/types/deps/jsr.io/@std/log/{0.224.7 → 0.224.8}/info.d.ts.map +1 -1
  73. package/types/deps/jsr.io/@std/log/{0.224.7 → 0.224.8}/levels.d.ts.map +1 -1
  74. package/types/deps/jsr.io/@std/log/{0.224.7 → 0.224.8}/logger.d.ts +1 -0
  75. package/types/deps/jsr.io/@std/log/0.224.8/logger.d.ts.map +1 -0
  76. package/types/deps/jsr.io/@std/log/{0.224.7 → 0.224.8}/mod.d.ts +5 -5
  77. package/types/deps/jsr.io/@std/log/{0.224.7 → 0.224.8}/mod.d.ts.map +1 -1
  78. package/types/deps/jsr.io/@std/log/{0.224.7 → 0.224.8}/rotating_file_handler.d.ts.map +1 -1
  79. package/types/deps/jsr.io/@std/log/{0.224.7 → 0.224.8}/setup.d.ts.map +1 -1
  80. package/types/deps/jsr.io/@std/log/0.224.8/warn.d.ts +51 -0
  81. package/types/deps/jsr.io/@std/log/0.224.8/warn.d.ts.map +1 -0
  82. package/types/deps/jsr.io/@windmill-labs/cliffy-ansi/1.0.0-rc.5/cursor_position.d.ts +1 -1
  83. package/types/deps/jsr.io/@windmill-labs/cliffy-ansi/1.0.0-rc.5/tty.d.ts +1 -1
  84. package/types/deps/jsr.io/@windmill-labs/cliffy-prompt/1.0.0-rc.6/_generic_prompt.d.ts +1 -1
  85. package/types/deps.d.ts +5 -5
  86. package/types/main.d.ts +1 -1
  87. package/types/deps/jsr.io/@std/fs/1.0.3/exists.d.ts.map +0 -1
  88. package/types/deps/jsr.io/@std/log/0.224.7/logger.d.ts.map +0 -1
  89. package/types/deps/jsr.io/@std/log/0.224.7/warn.d.ts +0 -5
  90. package/types/deps/jsr.io/@std/log/0.224.7/warn.d.ts.map +0 -1
  91. /package/esm/deps/jsr.io/@std/fs/{1.0.3 → 1.0.4}/_create_walk_entry.js +0 -0
  92. /package/esm/deps/jsr.io/@std/fs/{1.0.3 → 1.0.4}/_get_file_info_type.js +0 -0
  93. /package/esm/deps/jsr.io/@std/fs/{1.0.3 → 1.0.4}/_is_same_path.js +0 -0
  94. /package/esm/deps/jsr.io/@std/fs/{1.0.3 → 1.0.4}/_is_subdir.js +0 -0
  95. /package/esm/deps/jsr.io/@std/fs/{1.0.3 → 1.0.4}/_to_path_string.js +0 -0
  96. /package/esm/deps/jsr.io/@std/io/{0.224.8 → 0.224.9}/_constants.js +0 -0
  97. /package/esm/deps/jsr.io/@std/io/{0.224.8 → 0.224.9}/types.js +0 -0
  98. /package/esm/deps/jsr.io/@std/log/{0.224.7 → 0.224.8}/_config.js +0 -0
  99. /package/esm/deps/jsr.io/@std/log/{0.224.7 → 0.224.8}/_file_handler_symbols.js +0 -0
  100. /package/esm/deps/jsr.io/@std/log/{0.224.7 → 0.224.8}/_state.js +0 -0
  101. /package/esm/deps/jsr.io/@std/log/{0.224.7 → 0.224.8}/base_handler.js +0 -0
  102. /package/esm/deps/jsr.io/@std/log/{0.224.7 → 0.224.8}/critical.js +0 -0
  103. /package/esm/deps/jsr.io/@std/log/{0.224.7 → 0.224.8}/debug.js +0 -0
  104. /package/esm/deps/jsr.io/@std/log/{0.224.7 → 0.224.8}/error.js +0 -0
  105. /package/esm/deps/jsr.io/@std/log/{0.224.7 → 0.224.8}/formatters.js +0 -0
  106. /package/esm/deps/jsr.io/@std/log/{0.224.7 → 0.224.8}/get_logger.js +0 -0
  107. /package/esm/deps/jsr.io/@std/log/{0.224.7 → 0.224.8}/info.js +0 -0
  108. /package/esm/deps/jsr.io/@std/log/{0.224.7 → 0.224.8}/levels.js +0 -0
  109. /package/esm/deps/jsr.io/@std/log/{0.224.7 → 0.224.8}/logger.js +0 -0
  110. /package/esm/deps/jsr.io/@std/log/{0.224.7 → 0.224.8}/setup.js +0 -0
  111. /package/esm/deps/jsr.io/@std/log/{0.224.7 → 0.224.8}/warn.js +0 -0
  112. /package/types/deps/jsr.io/@std/fs/{1.0.3 → 1.0.4}/_create_walk_entry.d.ts +0 -0
  113. /package/types/deps/jsr.io/@std/fs/{1.0.3 → 1.0.4}/_get_file_info_type.d.ts +0 -0
  114. /package/types/deps/jsr.io/@std/fs/{1.0.3 → 1.0.4}/_is_same_path.d.ts +0 -0
  115. /package/types/deps/jsr.io/@std/fs/{1.0.3 → 1.0.4}/_is_subdir.d.ts +0 -0
  116. /package/types/deps/jsr.io/@std/fs/{1.0.3 → 1.0.4}/_to_path_string.d.ts +0 -0
  117. /package/types/deps/jsr.io/@std/io/{0.224.8 → 0.224.9}/_constants.d.ts +0 -0
  118. /package/types/deps/jsr.io/@std/io/{0.224.8 → 0.224.9}/types.d.ts +0 -0
  119. /package/types/deps/jsr.io/@std/log/{0.224.7 → 0.224.8}/_config.d.ts +0 -0
  120. /package/types/deps/jsr.io/@std/log/{0.224.7 → 0.224.8}/_file_handler_symbols.d.ts +0 -0
  121. /package/types/deps/jsr.io/@std/log/{0.224.7 → 0.224.8}/_state.d.ts +0 -0
  122. /package/types/deps/jsr.io/@std/log/{0.224.7 → 0.224.8}/base_handler.d.ts +0 -0
  123. /package/types/deps/jsr.io/@std/log/{0.224.7 → 0.224.8}/console_handler.d.ts +0 -0
  124. /package/types/deps/jsr.io/@std/log/{0.224.7 → 0.224.8}/critical.d.ts +0 -0
  125. /package/types/deps/jsr.io/@std/log/{0.224.7 → 0.224.8}/debug.d.ts +0 -0
  126. /package/types/deps/jsr.io/@std/log/{0.224.7 → 0.224.8}/error.d.ts +0 -0
  127. /package/types/deps/jsr.io/@std/log/{0.224.7 → 0.224.8}/file_handler.d.ts +0 -0
  128. /package/types/deps/jsr.io/@std/log/{0.224.7 → 0.224.8}/formatters.d.ts +0 -0
  129. /package/types/deps/jsr.io/@std/log/{0.224.7 → 0.224.8}/get_logger.d.ts +0 -0
  130. /package/types/deps/jsr.io/@std/log/{0.224.7 → 0.224.8}/info.d.ts +0 -0
  131. /package/types/deps/jsr.io/@std/log/{0.224.7 → 0.224.8}/levels.d.ts +0 -0
  132. /package/types/deps/jsr.io/@std/log/{0.224.7 → 0.224.8}/rotating_file_handler.d.ts +0 -0
  133. /package/types/deps/jsr.io/@std/log/{0.224.7 → 0.224.8}/setup.d.ts +0 -0
@@ -195,7 +195,7 @@ function copyDirSync(src, dest, options) {
195
195
  * @returns A promise that resolves once the copy operation completes.
196
196
  *
197
197
  * @example Basic usage
198
- * ```ts no-eval
198
+ * ```ts ignore
199
199
  * import { copy } from "@std/fs/copy";
200
200
  *
201
201
  * await copy("./foo", "./bar");
@@ -205,7 +205,7 @@ function copyDirSync(src, dest, options) {
205
205
  * overwriting.
206
206
  *
207
207
  * @example Overwriting files/directories
208
- * ```ts no-eval
208
+ * ```ts ignore
209
209
  * import { copy } from "@std/fs/copy";
210
210
  *
211
211
  * await copy("./foo", "./bar", { overwrite: true });
@@ -215,7 +215,7 @@ function copyDirSync(src, dest, options) {
215
215
  * any existing files or directories.
216
216
  *
217
217
  * @example Preserving timestamps
218
- * ```ts no-eval
218
+ * ```ts ignore
219
219
  * import { copy } from "@std/fs/copy";
220
220
  *
221
221
  * await copy("./foo", "./bar", { preserveTimestamps: true });
@@ -262,7 +262,7 @@ export async function copy(src, dest, options = {}) {
262
262
  * @returns A void value that returns once the copy operation completes.
263
263
  *
264
264
  * @example Basic usage
265
- * ```ts no-eval
265
+ * ```ts ignore
266
266
  * import { copySync } from "@std/fs/copy";
267
267
  *
268
268
  * copySync("./foo", "./bar");
@@ -272,7 +272,7 @@ export async function copy(src, dest, options = {}) {
272
272
  * overwriting.
273
273
  *
274
274
  * @example Overwriting files/directories
275
- * ```ts no-eval
275
+ * ```ts ignore
276
276
  * import { copySync } from "@std/fs/copy";
277
277
  *
278
278
  * copySync("./foo", "./bar", { overwrite: true });
@@ -282,7 +282,7 @@ export async function copy(src, dest, options = {}) {
282
282
  * any existing files or directories.
283
283
  *
284
284
  * @example Preserving timestamps
285
- * ```ts no-eval
285
+ * ```ts ignore
286
286
  * import { copySync } from "@std/fs/copy";
287
287
  *
288
288
  * copySync("./foo", "./bar", { preserveTimestamps: true });
@@ -18,7 +18,7 @@ import { toPathString } from "./_to_path_string.js";
18
18
  * @returns A void promise that resolves once the directory is empty.
19
19
  *
20
20
  * @example Usage
21
- * ```ts no-eval
21
+ * ```ts ignore
22
22
  * import { emptyDir } from "@std/fs/empty-dir";
23
23
  *
24
24
  * await emptyDir("./foo");
@@ -59,7 +59,7 @@ export async function emptyDir(dir) {
59
59
  * @returns A void value that returns once the directory is empty.
60
60
  *
61
61
  * @example Usage
62
- * ```ts no-eval
62
+ * ```ts ignore
63
63
  * import { emptyDirSync } from "@std/fs/empty-dir";
64
64
  *
65
65
  * emptyDirSync("./foo");
@@ -18,7 +18,7 @@ import { getFileInfoType } from "./_get_file_info_type.js";
18
18
  * @returns A promise that resolves once the directory exists.
19
19
  *
20
20
  * @example Usage
21
- * ```ts no-eval
21
+ * ```ts ignore
22
22
  * import { ensureDir } from "@std/fs/ensure-dir";
23
23
  *
24
24
  * await ensureDir("./bar");
@@ -65,7 +65,7 @@ export async function ensureDir(dir) {
65
65
  * @returns A void value that returns once the directory exists.
66
66
  *
67
67
  * @example Usage
68
- * ```ts no-eval
68
+ * ```ts ignore
69
69
  * import { ensureDirSync } from "@std/fs/ensure-dir";
70
70
  *
71
71
  * ensureDirSync("./bar");
@@ -20,7 +20,7 @@ import { toPathString } from "./_to_path_string.js";
20
20
  * @returns A void promise that resolves once the file exists.
21
21
  *
22
22
  * @example Usage
23
- * ```ts no-eval
23
+ * ```ts ignore
24
24
  * import { ensureFile } from "@std/fs/ensure-file";
25
25
  *
26
26
  * await ensureFile("./folder/targetFile.dat");
@@ -62,7 +62,7 @@ export async function ensureFile(filePath) {
62
62
  * @returns A void value that returns once the file exists.
63
63
  *
64
64
  * @example Usage
65
- * ```ts no-eval
65
+ * ```ts ignore
66
66
  * import { ensureFileSync } from "@std/fs/ensure-file";
67
67
  *
68
68
  * ensureFileSync("./folder/targetFile.dat");
@@ -20,7 +20,7 @@ import { toPathString } from "./_to_path_string.js";
20
20
  * @returns A void promise that resolves once the hard link exists.
21
21
  *
22
22
  * @example Usage
23
- * ```ts no-eval
23
+ * ```ts ignore
24
24
  * import { ensureLink } from "@std/fs/ensure-link";
25
25
  *
26
26
  * await ensureLink("./folder/targetFile.dat", "./folder/targetFile.link.dat");
@@ -48,7 +48,7 @@ export async function ensureLink(src, dest) {
48
48
  * @returns A void value that returns once the hard link exists.
49
49
  *
50
50
  * @example Usage
51
- * ```ts no-eval
51
+ * ```ts ignore
52
52
  * import { ensureLinkSync } from "@std/fs/ensure-link";
53
53
  *
54
54
  * ensureLinkSync("./folder/targetFile.dat", "./folder/targetFile.link.dat");
@@ -38,7 +38,7 @@ function getSymlinkOption(type) {
38
38
  * @returns A void promise that resolves once the link exists.
39
39
  *
40
40
  * @example Usage
41
- * ```ts no-eval
41
+ * ```ts ignore
42
42
  * import { ensureSymlink } from "@std/fs/ensure-symlink";
43
43
  *
44
44
  * await ensureSymlink("./folder/targetFile.dat", "./folder/targetFile.link.dat");
@@ -87,7 +87,7 @@ export async function ensureSymlink(target, linkName) {
87
87
  * @returns A void value that returns once the link exists.
88
88
  *
89
89
  * @example Usage
90
- * ```ts no-eval
90
+ * ```ts ignore
91
91
  * import { ensureSymlinkSync } from "@std/fs/ensure-symlink";
92
92
  *
93
93
  * ensureSymlinkSync("./folder/targetFile.dat", "./folder/targetFile.link.dat");
@@ -8,7 +8,7 @@ export const CRLF = "\r\n";
8
8
  * End-of-line character evaluated for the current platform.
9
9
  *
10
10
  * @example Usage
11
- * ```ts no-eval
11
+ * ```ts ignore
12
12
  * import { EOL } from "@std/fs/eol";
13
13
  *
14
14
  * EOL; // "\n" on POSIX platforms and "\r\n" on Windows
@@ -25,7 +25,7 @@ const regDetect = /(?:\r?\n)/g;
25
25
  * @returns The detected EOL character(s) or `null` if no EOL character is detected.
26
26
  *
27
27
  * @example Usage
28
- * ```ts no-eval
28
+ * ```ts ignore
29
29
  * import { detect } from "@std/fs/eol";
30
30
  *
31
31
  * detect("deno\r\nis not\r\nnode"); // "\r\n"
@@ -51,7 +51,7 @@ export function detect(content) {
51
51
  * @returns The input string normalized to the targeted EOL.
52
52
  *
53
53
  * @example Usage
54
- * ```ts no-eval
54
+ * ```ts ignore
55
55
  * import { LF, format } from "@std/fs/eol";
56
56
  *
57
57
  * const CRLFinput = "deno\r\nis not\r\nnode";
@@ -13,7 +13,8 @@ import * as dntShim from "../../../../../_dnt.shims.js";
13
13
  * @see {@link https://en.wikipedia.org/wiki/Time-of-check_to_time-of-use} for
14
14
  * more information on the time-of-check to time-of-use bug.
15
15
  *
16
- * Requires `--allow-read` and `--allow-sys` permissions.
16
+ * Requires `--allow-read` permissions, and in some cases, `--allow-sys`
17
+ * permissions if `options.isReadable` is `true`.
17
18
  *
18
19
  * @see {@link https://docs.deno.com/runtime/manual/basics/permissions#file-system-access}
19
20
  * for more information on Deno's permissions system.
@@ -25,7 +26,7 @@ import * as dntShim from "../../../../../_dnt.shims.js";
25
26
  * otherwise.
26
27
  *
27
28
  * @example Recommended method
28
- * ```ts no-eval
29
+ * ```ts ignore
29
30
  * // Notice no use of exists
30
31
  * try {
31
32
  * await Deno.remove("./foo", { recursive: true });
@@ -41,7 +42,7 @@ import * as dntShim from "../../../../../_dnt.shims.js";
41
42
  * possible race condition. See the above note for details.
42
43
  *
43
44
  * @example Basic usage
44
- * ```ts no-eval
45
+ * ```ts ignore
45
46
  * import { exists } from "@std/fs/exists";
46
47
  *
47
48
  * await exists("./exists"); // true
@@ -49,7 +50,10 @@ import * as dntShim from "../../../../../_dnt.shims.js";
49
50
  * ```
50
51
  *
51
52
  * @example Check if a path is readable
52
- * ```ts no-eval
53
+ *
54
+ * Requires `--allow-sys` permissions in some cases.
55
+ *
56
+ * ```ts ignore
53
57
  * import { exists } from "@std/fs/exists";
54
58
  *
55
59
  * await exists("./readable", { isReadable: true }); // true
@@ -57,7 +61,7 @@ import * as dntShim from "../../../../../_dnt.shims.js";
57
61
  * ```
58
62
  *
59
63
  * @example Check if a path is a directory
60
- * ```ts no-eval
64
+ * ```ts ignore
61
65
  * import { exists } from "@std/fs/exists";
62
66
  *
63
67
  * await exists("./directory", { isDirectory: true }); // true
@@ -65,7 +69,7 @@ import * as dntShim from "../../../../../_dnt.shims.js";
65
69
  * ```
66
70
  *
67
71
  * @example Check if a path is a file
68
- * ```ts no-eval
72
+ * ```ts ignore
69
73
  * import { exists } from "@std/fs/exists";
70
74
  *
71
75
  * await exists("./file", { isFile: true }); // true
@@ -73,7 +77,10 @@ import * as dntShim from "../../../../../_dnt.shims.js";
73
77
  * ```
74
78
  *
75
79
  * @example Check if a path is a readable directory
76
- * ```ts no-eval
80
+ *
81
+ * Requires `--allow-sys` permissions in some cases.
82
+ *
83
+ * ```ts ignore
77
84
  * import { exists } from "@std/fs/exists";
78
85
  *
79
86
  * await exists("./readable_directory", { isReadable: true, isDirectory: true }); // true
@@ -81,7 +88,10 @@ import * as dntShim from "../../../../../_dnt.shims.js";
81
88
  * ```
82
89
  *
83
90
  * @example Check if a path is a readable file
84
- * ```ts no-eval
91
+ *
92
+ * Requires `--allow-sys` permissions in some cases.
93
+ *
94
+ * ```ts ignore
85
95
  * import { exists } from "@std/fs/exists";
86
96
  *
87
97
  * await exists("./readable_file", { isReadable: true, isFile: true }); // true
@@ -132,7 +142,8 @@ export async function exists(path, options) {
132
142
  * @see {@link https://en.wikipedia.org/wiki/Time-of-check_to_time-of-use} for
133
143
  * more information on the time-of-check to time-of-use bug.
134
144
  *
135
- * Requires `--allow-read` and `--allow-sys` permissions.
145
+ * Requires `--allow-read` permissions, and in some cases, `--allow-sys`
146
+ * permissions if `options.isReadable` is `true`.
136
147
  *
137
148
  * @see {@link https://docs.deno.com/runtime/manual/basics/permissions#file-system-access}
138
149
  * for more information on Deno's permissions system.
@@ -143,7 +154,7 @@ export async function exists(path, options) {
143
154
  * @returns `true` if the path exists, `false` otherwise.
144
155
  *
145
156
  * @example Recommended method
146
- * ```ts no-eval
157
+ * ```ts ignore
147
158
  * // Notice no use of exists
148
159
  * try {
149
160
  * Deno.removeSync("./foo", { recursive: true });
@@ -159,7 +170,7 @@ export async function exists(path, options) {
159
170
  * a possible race condition. See the above note for details.
160
171
  *
161
172
  * @example Basic usage
162
- * ```ts no-eval
173
+ * ```ts ignore
163
174
  * import { existsSync } from "@std/fs/exists";
164
175
  *
165
176
  * existsSync("./exists"); // true
@@ -167,7 +178,10 @@ export async function exists(path, options) {
167
178
  * ```
168
179
  *
169
180
  * @example Check if a path is readable
170
- * ```ts no-eval
181
+ *
182
+ * Requires `--allow-sys` permissions in some cases.
183
+ *
184
+ * ```ts ignore
171
185
  * import { existsSync } from "@std/fs/exists";
172
186
  *
173
187
  * existsSync("./readable", { isReadable: true }); // true
@@ -175,7 +189,7 @@ export async function exists(path, options) {
175
189
  * ```
176
190
  *
177
191
  * @example Check if a path is a directory
178
- * ```ts no-eval
192
+ * ```ts ignore
179
193
  * import { existsSync } from "@std/fs/exists";
180
194
  *
181
195
  * existsSync("./directory", { isDirectory: true }); // true
@@ -183,7 +197,7 @@ export async function exists(path, options) {
183
197
  * ```
184
198
  *
185
199
  * @example Check if a path is a file
186
- * ```ts no-eval
200
+ * ```ts ignore
187
201
  * import { existsSync } from "@std/fs/exists";
188
202
  *
189
203
  * existsSync("./file", { isFile: true }); // true
@@ -191,7 +205,10 @@ export async function exists(path, options) {
191
205
  * ```
192
206
  *
193
207
  * @example Check if a path is a readable directory
194
- * ```ts no-eval
208
+ *
209
+ * Requires `--allow-sys` permissions in some cases.
210
+ *
211
+ * ```ts ignore
195
212
  * import { existsSync } from "@std/fs/exists";
196
213
  *
197
214
  * existsSync("./readable_directory", { isReadable: true, isDirectory: true }); // true
@@ -199,7 +216,10 @@ export async function exists(path, options) {
199
216
  * ```
200
217
  *
201
218
  * @example Check if a path is a readable file
202
- * ```ts no-eval
219
+ *
220
+ * Requires `--allow-sys` permissions in some cases.
221
+ *
222
+ * ```ts ignore
203
223
  * import { existsSync } from "@std/fs/exists";
204
224
  *
205
225
  * existsSync("./readable_file", { isReadable: true, isFile: true }); // true
@@ -66,7 +66,7 @@ function comparePath(a, b) {
66
66
  * └── foo.ts
67
67
  * ```
68
68
  *
69
- * ```ts no-eval
69
+ * ```ts ignore
70
70
  * // script.ts
71
71
  * import { expandGlob } from "@std/fs/expand-glob";
72
72
  *
@@ -103,7 +103,7 @@ function comparePath(a, b) {
103
103
  * └── foo.ts
104
104
  * ```
105
105
  *
106
- * ```ts no-eval
106
+ * ```ts ignore
107
107
  * // script.ts
108
108
  * import { expandGlob } from "@std/fs/expand-glob";
109
109
  *
@@ -131,7 +131,7 @@ function comparePath(a, b) {
131
131
  * └── foo.ts
132
132
  * ```
133
133
  *
134
- * ```ts no-eval
134
+ * ```ts ignore
135
135
  * // script.ts
136
136
  * import { expandGlob } from "@std/fs/expand-glob";
137
137
  *
@@ -161,7 +161,7 @@ function comparePath(a, b) {
161
161
  * └── foo.ts
162
162
  * ```
163
163
  *
164
- * ```ts no-eval
164
+ * ```ts ignore
165
165
  * // script.ts
166
166
  * import { expandGlob } from "@std/fs/expand-glob";
167
167
  *
@@ -195,7 +195,7 @@ function comparePath(a, b) {
195
195
  * └── link.ts -> script.ts (symbolic link)
196
196
  * ```
197
197
  *
198
- * ```ts no-eval
198
+ * ```ts ignore
199
199
  * // script.ts
200
200
  * import { expandGlob } from "@std/fs/expand-glob";
201
201
  *
@@ -317,7 +317,7 @@ export async function* expandGlob(glob, options) {
317
317
  * └── foo.ts
318
318
  * ```
319
319
  *
320
- * ```ts no-eval
320
+ * ```ts ignore
321
321
  * // script.ts
322
322
  * import { expandGlobSync } from "@std/fs/expand-glob";
323
323
  *
@@ -2,7 +2,7 @@
2
2
  /**
3
3
  * Helpers for working with the filesystem.
4
4
  *
5
- * ```ts no-eval
5
+ * ```ts ignore
6
6
  * import { ensureFile, copy, ensureDir, move } from "@std/fs";
7
7
  *
8
8
  * await ensureFile("example.txt");
@@ -21,7 +21,7 @@ const EXISTS_ERROR = new dntShim.Deno.errors.AlreadyExists("dest already exists.
21
21
  * @returns A void promise that resolves once the operation completes.
22
22
  *
23
23
  * @example Basic usage
24
- * ```ts no-eval
24
+ * ```ts ignore
25
25
  * import { move } from "@std/fs/move";
26
26
  *
27
27
  * await move("./foo", "./bar");
@@ -31,7 +31,7 @@ const EXISTS_ERROR = new dntShim.Deno.errors.AlreadyExists("dest already exists.
31
31
  * overwriting.
32
32
  *
33
33
  * @example Overwriting
34
- * ```ts no-eval
34
+ * ```ts ignore
35
35
  * import { move } from "@std/fs/move";
36
36
  *
37
37
  * await move("./foo", "./bar", { overwrite: true });
@@ -88,7 +88,7 @@ export async function move(src, dest, options) {
88
88
  * @returns A void value that returns once the operation completes.
89
89
  *
90
90
  * @example Basic usage
91
- * ```ts no-eval
91
+ * ```ts ignore
92
92
  * import { moveSync } from "@std/fs/move";
93
93
  *
94
94
  * moveSync("./foo", "./bar");
@@ -98,7 +98,7 @@ export async function move(src, dest, options) {
98
98
  * overwriting.
99
99
  *
100
100
  * @example Overwriting
101
- * ```ts no-eval
101
+ * ```ts ignore
102
102
  * import { moveSync } from "@std/fs/move";
103
103
  *
104
104
  * moveSync("./foo", "./bar", { overwrite: true });
@@ -45,7 +45,7 @@ function include(path, exts, match, skip) {
45
45
  * └── foo.ts
46
46
  * ```
47
47
  *
48
- * ```ts no-eval
48
+ * ```ts ignore
49
49
  * import { walk } from "@std/fs/walk";
50
50
  *
51
51
  * await Array.fromAsync(walk("."));
@@ -87,7 +87,7 @@ function include(path, exts, match, skip) {
87
87
  * └── bar.ts
88
88
  * ```
89
89
  *
90
- * ```ts no-eval
90
+ * ```ts ignore
91
91
  * import { walk } from "@std/fs/walk";
92
92
  *
93
93
  * await Array.fromAsync(walk(".", { maxDepth: 1 }));
@@ -127,7 +127,7 @@ function include(path, exts, match, skip) {
127
127
  * └── foo
128
128
  * ```
129
129
  *
130
- * ```ts no-eval
130
+ * ```ts ignore
131
131
  * import { walk } from "@std/fs/walk";
132
132
  *
133
133
  * await Array.fromAsync(walk(".", { includeFiles: false }));
@@ -160,7 +160,7 @@ function include(path, exts, match, skip) {
160
160
  * └── foo
161
161
  * ```
162
162
  *
163
- * ```ts no-eval
163
+ * ```ts ignore
164
164
  * import { walk } from "@std/fs/walk";
165
165
  *
166
166
  * await Array.fromAsync(walk(".", { includeDirs: false }));
@@ -187,7 +187,7 @@ function include(path, exts, match, skip) {
187
187
  * └── link -> script.ts (symbolic link)
188
188
  * ```
189
189
  *
190
- * ```ts no-eval
190
+ * ```ts ignore
191
191
  * import { walk } from "@std/fs/walk";
192
192
  *
193
193
  * await Array.fromAsync(walk(".", { includeSymlinks: false }));
@@ -221,7 +221,7 @@ function include(path, exts, match, skip) {
221
221
  * └── link -> script.ts (symbolic link)
222
222
  * ```
223
223
  *
224
- * ```ts no-eval
224
+ * ```ts ignore
225
225
  * import { walk } from "@std/fs/walk";
226
226
  *
227
227
  * await Array.fromAsync(walk(".", { followSymlinks: true }));
@@ -263,7 +263,7 @@ function include(path, exts, match, skip) {
263
263
  * └── link -> script.ts (symbolic link)
264
264
  * ```
265
265
  *
266
- * ```ts no-eval
266
+ * ```ts ignore
267
267
  * import { walk } from "@std/fs/walk";
268
268
  *
269
269
  * await Array.fromAsync(walk(".", { followSymlinks: true, canonicalize: true }));
@@ -304,7 +304,7 @@ function include(path, exts, match, skip) {
304
304
  * └── foo.js
305
305
  * ```
306
306
  *
307
- * ```ts no-eval
307
+ * ```ts ignore
308
308
  * import { walk } from "@std/fs/walk";
309
309
  *
310
310
  * await Array.fromAsync(walk(".", { exts: [".ts"] }));
@@ -331,7 +331,7 @@ function include(path, exts, match, skip) {
331
331
  * └── README.md
332
332
  * ```
333
333
  *
334
- * ```ts no-eval
334
+ * ```ts ignore
335
335
  * import { walk } from "@std/fs/walk";
336
336
  *
337
337
  * await Array.fromAsync(walk(".", { match: [/s/] }));
@@ -358,7 +358,7 @@ function include(path, exts, match, skip) {
358
358
  * └── README.md
359
359
  * ```
360
360
  *
361
- * ```ts no-eval
361
+ * ```ts ignore
362
362
  * import { walk } from "@std/fs/walk";
363
363
  *
364
364
  * await Array.fromAsync(walk(".", { skip: [/s/] }));
@@ -457,7 +457,7 @@ export async function* walk(root, options) {
457
457
  * └── foo.ts
458
458
  * ```
459
459
  *
460
- * ```ts no-eval
460
+ * ```ts ignore
461
461
  * import { walkSync } from "@std/fs/walk";
462
462
  *
463
463
  * Array.from(walkSync("."));
@@ -499,7 +499,7 @@ export async function* walk(root, options) {
499
499
  * └── bar.ts
500
500
  * ```
501
501
  *
502
- * ```ts no-eval
502
+ * ```ts ignore
503
503
  * import { walkSync } from "@std/fs/walk";
504
504
  *
505
505
  * Array.from(walkSync(".", { maxDepth: 1 }));
@@ -539,7 +539,7 @@ export async function* walk(root, options) {
539
539
  * └── foo
540
540
  * ```
541
541
  *
542
- * ```ts no-eval
542
+ * ```ts ignore
543
543
  * import { walkSync } from "@std/fs/walk";
544
544
  *
545
545
  * Array.from(walkSync(".", { includeFiles: false }));
@@ -572,7 +572,7 @@ export async function* walk(root, options) {
572
572
  * └── foo
573
573
  * ```
574
574
  *
575
- * ```ts no-eval
575
+ * ```ts ignore
576
576
  * import { walkSync } from "@std/fs/walk";
577
577
  *
578
578
  * Array.from(walkSync(".", { includeDirs: false }));
@@ -599,7 +599,7 @@ export async function* walk(root, options) {
599
599
  * └── link -> script.ts (symbolic link)
600
600
  * ```
601
601
  *
602
- * ```ts no-eval
602
+ * ```ts ignore
603
603
  * import { walkSync } from "@std/fs/walk";
604
604
  *
605
605
  * Array.from(walkSync(".", { includeSymlinks: false }));
@@ -633,7 +633,7 @@ export async function* walk(root, options) {
633
633
  * └── link -> script.ts (symbolic link)
634
634
  * ```
635
635
  *
636
- * ```ts no-eval
636
+ * ```ts ignore
637
637
  * import { walkSync } from "@std/fs/walk";
638
638
  *
639
639
  * Array.from(walkSync(".", { followSymlinks: true }));
@@ -675,7 +675,7 @@ export async function* walk(root, options) {
675
675
  * └── link -> script.ts (symbolic link)
676
676
  * ```
677
677
  *
678
- * ```ts no-eval
678
+ * ```ts ignore
679
679
  * import { walkSync } from "@std/fs/walk";
680
680
  *
681
681
  * Array.from(walkSync(".", { followSymlinks: true, canonicalize: true }));
@@ -716,7 +716,7 @@ export async function* walk(root, options) {
716
716
  * └── foo.js
717
717
  * ```
718
718
  *
719
- * ```ts no-eval
719
+ * ```ts ignore
720
720
  * import { walkSync } from "@std/fs/walk";
721
721
  *
722
722
  * Array.from(walkSync(".", { exts: [".ts"] }));
@@ -743,7 +743,7 @@ export async function* walk(root, options) {
743
743
  * └── README.md
744
744
  * ```
745
745
  *
746
- * ```ts no-eval
746
+ * ```ts ignore
747
747
  * import { walkSync } from "@std/fs/walk";
748
748
  *
749
749
  * Array.from(walkSync(".", { match: [/s/] }));
@@ -770,7 +770,7 @@ export async function* walk(root, options) {
770
770
  * └── README.md
771
771
  * ```
772
772
  *
773
- * ```ts no-eval
773
+ * ```ts ignore
774
774
  * import { walkSync } from "@std/fs/walk";
775
775
  *
776
776
  * Array.from(walkSync(".", { skip: [/s/] }));
@@ -8,7 +8,7 @@ import { writeAll } from "./write_all.js";
8
8
  * the first error encountered while copying.
9
9
  *
10
10
  * @example Usage
11
- * ```ts no-eval
11
+ * ```ts ignore
12
12
  * import { copy } from "@std/io/copy";
13
13
  *
14
14
  * const source = await Deno.open("my_file.txt");
@@ -7,7 +7,7 @@ import { DEFAULT_CHUNK_SIZE } from "./_constants.js";
7
7
  * {@linkcode Uint8Array}.
8
8
  *
9
9
  * @example Usage
10
- * ```ts no-eval
10
+ * ```ts ignore
11
11
  * import { readAll } from "@std/io/read-all";
12
12
  *
13
13
  * // Example from stdin
@@ -41,7 +41,7 @@ export async function readAll(reader) {
41
41
  * the content as {@linkcode Uint8Array}.
42
42
  *
43
43
  * @example Usage
44
- * ```ts no-eval
44
+ * ```ts ignore
45
45
  * import { readAllSync } from "@std/io/read-all";
46
46
  *
47
47
  * // Example from stdin
@@ -12,7 +12,7 @@
12
12
  * ```
13
13
  *
14
14
  * @example Writing to file
15
- * ```ts no-eval no-assert
15
+ * ```ts ignore no-assert
16
16
  * import { writeAll } from "@std/io/write-all";
17
17
  *
18
18
  * const contentBytes = new TextEncoder().encode("Hello World");
@@ -42,7 +42,7 @@ export async function writeAll(writer, data) {
42
42
  * ```
43
43
  *
44
44
  * @example Writing to file
45
- * ```ts no-eval no-assert
45
+ * ```ts ignore no-assert
46
46
  * import { writeAllSync } from "@std/io/write-all";
47
47
  *
48
48
  * const contentBytes = new TextEncoder().encode("Hello World");
@@ -52,6 +52,7 @@ export class ConsoleHandler extends BaseHandler {
52
52
  return msg;
53
53
  }
54
54
  log(msg) {
55
+ // deno-lint-ignore no-console
55
56
  console.log(msg);
56
57
  }
57
58
  }
@@ -8,7 +8,7 @@ var _FileHandler_instances, _FileHandler_unloadCallback, _FileHandler_resetBuffe
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.224.8/write_all.js";
11
+ import { writeAllSync } from "../../io/0.224.9/write_all.js";
12
12
  import { bufSymbol, encoderSymbol, filenameSymbol, fileSymbol, modeSymbol, openOptionsSymbol, pointerSymbol, } from "./_file_handler_symbols.js";
13
13
  /**
14
14
  * This handler will output to a file using an optional mode (default is `a`,