windmill-cli 1.492.1 → 1.493.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 (340) hide show
  1. package/esm/bootstrap/script_bootstrap.js +2 -1
  2. package/esm/deps/jsr.io/@std/fs/1.0.17/_create_walk_entry.js +2 -2
  3. package/esm/deps/jsr.io/@std/fs/1.0.17/_is_same_path.js +1 -1
  4. package/esm/deps/jsr.io/@std/fs/1.0.17/_is_subdir.js +2 -2
  5. package/esm/deps/jsr.io/@std/fs/1.0.17/_to_path_string.js +1 -1
  6. package/esm/deps/jsr.io/@std/fs/1.0.17/copy.js +3 -3
  7. package/esm/deps/jsr.io/@std/fs/1.0.17/empty_dir.js +1 -1
  8. package/esm/deps/jsr.io/@std/fs/1.0.17/ensure_file.js +1 -1
  9. package/esm/deps/jsr.io/@std/fs/1.0.17/ensure_link.js +1 -1
  10. package/esm/deps/jsr.io/@std/fs/1.0.17/ensure_symlink.js +2 -2
  11. package/esm/deps/jsr.io/@std/fs/1.0.17/expand_glob.js +6 -6
  12. package/esm/deps/jsr.io/@std/fs/1.0.17/walk.js +1 -1
  13. package/esm/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/basename.js +2 -3
  14. package/esm/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/dirname.js +2 -3
  15. package/esm/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/extname.js +2 -3
  16. package/esm/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/join.js +5 -5
  17. package/esm/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/normalize.js +2 -3
  18. package/esm/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/posix/basename.js +6 -3
  19. package/esm/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/posix/dirname.js +5 -3
  20. package/esm/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/posix/extname.js +7 -3
  21. package/esm/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/posix/join.js +10 -7
  22. package/esm/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/posix/normalize.js +6 -5
  23. package/esm/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/windows/basename.js +6 -3
  24. package/esm/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/windows/dirname.js +6 -5
  25. package/esm/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/windows/extname.js +6 -5
  26. package/esm/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/windows/join.js +9 -6
  27. package/esm/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/windows/normalize.js +6 -5
  28. package/esm/deps/jsr.io/@std/yaml/{1.0.6 → 1.0.7}/_dumper_state.js +13 -4
  29. package/esm/deps.js +4 -4
  30. package/esm/gen/core/OpenAPI.js +1 -1
  31. package/esm/gen/services.gen.js +11 -0
  32. package/esm/main.js +1 -1
  33. package/esm/metadata.js +4 -0
  34. package/esm/script.js +7 -3
  35. package/esm/script_common.js +5 -2
  36. package/esm/sync.js +2 -0
  37. package/package.json +1 -1
  38. package/types/bootstrap/script_bootstrap.d.ts +1 -0
  39. package/types/bootstrap/script_bootstrap.d.ts.map +1 -1
  40. package/types/deps/jsr.io/@std/fs/1.0.17/expand_glob.d.ts +1 -1
  41. package/types/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/_common/assert_path.d.ts.map +1 -1
  42. package/types/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/_common/basename.d.ts.map +1 -1
  43. package/types/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/_common/common.d.ts.map +1 -1
  44. package/types/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/_common/constants.d.ts.map +1 -1
  45. package/types/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/_common/dirname.d.ts.map +1 -1
  46. package/types/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/_common/format.d.ts.map +1 -1
  47. package/types/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/_common/from_file_url.d.ts.map +1 -1
  48. package/types/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/_common/glob_to_reg_exp.d.ts.map +1 -1
  49. package/types/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/_common/normalize.d.ts.map +1 -1
  50. package/types/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/_common/normalize_string.d.ts.map +1 -1
  51. package/types/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/_common/relative.d.ts.map +1 -1
  52. package/types/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/_common/strip_trailing_separators.d.ts.map +1 -1
  53. package/types/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/_common/to_file_url.d.ts.map +1 -1
  54. package/types/deps/jsr.io/@std/path/1.1.0/_os.d.ts.map +1 -0
  55. package/types/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/basename.d.ts +3 -4
  56. package/types/deps/jsr.io/@std/path/1.1.0/basename.d.ts.map +1 -0
  57. package/types/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/common.d.ts.map +1 -1
  58. package/types/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/constants.d.ts.map +1 -1
  59. package/types/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/dirname.d.ts +3 -4
  60. package/types/deps/jsr.io/@std/path/1.1.0/dirname.d.ts.map +1 -0
  61. package/types/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/extname.d.ts +3 -4
  62. package/types/deps/jsr.io/@std/path/1.1.0/extname.d.ts.map +1 -0
  63. package/types/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/format.d.ts.map +1 -1
  64. package/types/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/from_file_url.d.ts.map +1 -1
  65. package/types/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/glob_to_regexp.d.ts.map +1 -1
  66. package/types/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/is_absolute.d.ts.map +1 -1
  67. package/types/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/is_glob.d.ts.map +1 -1
  68. package/types/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/join.d.ts +4 -4
  69. package/types/deps/jsr.io/@std/path/1.1.0/join.d.ts.map +1 -0
  70. package/types/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/join_globs.d.ts.map +1 -1
  71. package/types/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/mod.d.ts.map +1 -1
  72. package/types/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/normalize.d.ts +3 -4
  73. package/types/deps/jsr.io/@std/path/1.1.0/normalize.d.ts.map +1 -0
  74. package/types/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/normalize_glob.d.ts.map +1 -1
  75. package/types/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/parse.d.ts.map +1 -1
  76. package/types/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/posix/_util.d.ts.map +1 -1
  77. package/types/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/posix/basename.d.ts +3 -4
  78. package/types/deps/jsr.io/@std/path/1.1.0/posix/basename.d.ts.map +1 -0
  79. package/types/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/posix/constants.d.ts.map +1 -1
  80. package/types/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/posix/dirname.d.ts +2 -4
  81. package/types/deps/jsr.io/@std/path/1.1.0/posix/dirname.d.ts.map +1 -0
  82. package/types/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/posix/extname.d.ts +4 -4
  83. package/types/deps/jsr.io/@std/path/1.1.0/posix/extname.d.ts.map +1 -0
  84. package/types/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/posix/format.d.ts.map +1 -1
  85. package/types/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/posix/from_file_url.d.ts.map +1 -1
  86. package/types/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/posix/glob_to_regexp.d.ts.map +1 -1
  87. package/types/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/posix/is_absolute.d.ts.map +1 -1
  88. package/types/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/posix/join.d.ts +4 -6
  89. package/types/deps/jsr.io/@std/path/1.1.0/posix/join.d.ts.map +1 -0
  90. package/types/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/posix/join_globs.d.ts.map +1 -1
  91. package/types/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/posix/normalize.d.ts +3 -6
  92. package/types/deps/jsr.io/@std/path/1.1.0/posix/normalize.d.ts.map +1 -0
  93. package/types/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/posix/normalize_glob.d.ts.map +1 -1
  94. package/types/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/posix/parse.d.ts.map +1 -1
  95. package/types/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/posix/relative.d.ts.map +1 -1
  96. package/types/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/posix/resolve.d.ts.map +1 -1
  97. package/types/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/posix/to_file_url.d.ts.map +1 -1
  98. package/types/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/posix/to_namespaced_path.d.ts.map +1 -1
  99. package/types/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/relative.d.ts.map +1 -1
  100. package/types/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/resolve.d.ts.map +1 -1
  101. package/types/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/to_file_url.d.ts.map +1 -1
  102. package/types/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/to_namespaced_path.d.ts.map +1 -1
  103. package/types/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/types.d.ts.map +1 -1
  104. package/types/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/windows/_util.d.ts.map +1 -1
  105. package/types/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/windows/basename.d.ts +3 -4
  106. package/types/deps/jsr.io/@std/path/1.1.0/windows/basename.d.ts.map +1 -0
  107. package/types/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/windows/constants.d.ts.map +1 -1
  108. package/types/deps/jsr.io/@std/path/1.1.0/windows/dirname.d.ts +17 -0
  109. package/types/deps/jsr.io/@std/path/1.1.0/windows/dirname.d.ts.map +1 -0
  110. package/types/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/windows/extname.d.ts +3 -6
  111. package/types/deps/jsr.io/@std/path/1.1.0/windows/extname.d.ts.map +1 -0
  112. package/types/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/windows/format.d.ts.map +1 -1
  113. package/types/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/windows/from_file_url.d.ts.map +1 -1
  114. package/types/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/windows/glob_to_regexp.d.ts.map +1 -1
  115. package/types/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/windows/is_absolute.d.ts.map +1 -1
  116. package/types/deps/jsr.io/@std/path/1.1.0/windows/join.d.ts +18 -0
  117. package/types/deps/jsr.io/@std/path/1.1.0/windows/join.d.ts.map +1 -0
  118. package/types/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/windows/join_globs.d.ts.map +1 -1
  119. package/types/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/windows/normalize.d.ts +3 -6
  120. package/types/deps/jsr.io/@std/path/1.1.0/windows/normalize.d.ts.map +1 -0
  121. package/types/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/windows/normalize_glob.d.ts.map +1 -1
  122. package/types/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/windows/parse.d.ts.map +1 -1
  123. package/types/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/windows/relative.d.ts.map +1 -1
  124. package/types/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/windows/resolve.d.ts.map +1 -1
  125. package/types/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/windows/to_file_url.d.ts.map +1 -1
  126. package/types/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/windows/to_namespaced_path.d.ts.map +1 -1
  127. package/types/deps/jsr.io/@std/yaml/{1.0.6 → 1.0.7}/_chars.d.ts.map +1 -1
  128. package/types/deps/jsr.io/@std/yaml/{1.0.6 → 1.0.7}/_dumper_state.d.ts +8 -1
  129. package/types/deps/jsr.io/@std/yaml/1.0.7/_dumper_state.d.ts.map +1 -0
  130. package/types/deps/jsr.io/@std/yaml/{1.0.6 → 1.0.7}/_loader_state.d.ts.map +1 -1
  131. package/types/deps/jsr.io/@std/yaml/{1.0.6 → 1.0.7}/_schema.d.ts.map +1 -1
  132. package/types/deps/jsr.io/@std/yaml/{1.0.6 → 1.0.7}/_type/binary.d.ts.map +1 -1
  133. package/types/deps/jsr.io/@std/yaml/{1.0.6 → 1.0.7}/_type/bool.d.ts.map +1 -1
  134. package/types/deps/jsr.io/@std/yaml/{1.0.6 → 1.0.7}/_type/float.d.ts.map +1 -1
  135. package/types/deps/jsr.io/@std/yaml/{1.0.6 → 1.0.7}/_type/int.d.ts.map +1 -1
  136. package/types/deps/jsr.io/@std/yaml/{1.0.6 → 1.0.7}/_type/map.d.ts.map +1 -1
  137. package/types/deps/jsr.io/@std/yaml/{1.0.6 → 1.0.7}/_type/merge.d.ts.map +1 -1
  138. package/types/deps/jsr.io/@std/yaml/{1.0.6 → 1.0.7}/_type/nil.d.ts.map +1 -1
  139. package/types/deps/jsr.io/@std/yaml/{1.0.6 → 1.0.7}/_type/omap.d.ts.map +1 -1
  140. package/types/deps/jsr.io/@std/yaml/{1.0.6 → 1.0.7}/_type/pairs.d.ts.map +1 -1
  141. package/types/deps/jsr.io/@std/yaml/{1.0.6 → 1.0.7}/_type/regexp.d.ts.map +1 -1
  142. package/types/deps/jsr.io/@std/yaml/{1.0.6 → 1.0.7}/_type/seq.d.ts.map +1 -1
  143. package/types/deps/jsr.io/@std/yaml/{1.0.6 → 1.0.7}/_type/set.d.ts.map +1 -1
  144. package/types/deps/jsr.io/@std/yaml/{1.0.6 → 1.0.7}/_type/str.d.ts.map +1 -1
  145. package/types/deps/jsr.io/@std/yaml/{1.0.6 → 1.0.7}/_type/timestamp.d.ts.map +1 -1
  146. package/types/deps/jsr.io/@std/yaml/{1.0.6 → 1.0.7}/_type/undefined.d.ts.map +1 -1
  147. package/types/deps/jsr.io/@std/yaml/{1.0.6 → 1.0.7}/_type.d.ts.map +1 -1
  148. package/types/deps/jsr.io/@std/yaml/{1.0.6 → 1.0.7}/_utils.d.ts.map +1 -1
  149. package/types/deps/jsr.io/@std/yaml/{1.0.6 → 1.0.7}/mod.d.ts.map +1 -1
  150. package/types/deps/jsr.io/@std/yaml/{1.0.6 → 1.0.7}/parse.d.ts.map +1 -1
  151. package/types/deps/jsr.io/@std/yaml/{1.0.6 → 1.0.7}/stringify.d.ts.map +1 -1
  152. package/types/deps.d.ts +4 -4
  153. package/types/gen/services.gen.d.ts +7 -1
  154. package/types/gen/services.gen.d.ts.map +1 -1
  155. package/types/gen/types.gen.d.ts +2 -1
  156. package/types/gen/types.gen.d.ts.map +1 -1
  157. package/types/main.d.ts +1 -1
  158. package/types/metadata.d.ts.map +1 -1
  159. package/types/script.d.ts.map +1 -1
  160. package/types/script_common.d.ts +1 -1
  161. package/types/script_common.d.ts.map +1 -1
  162. package/types/sync.d.ts.map +1 -1
  163. package/types/wasm/regex/windmill_parser_wasm.d.ts.map +1 -1
  164. package/types/deps/jsr.io/@std/path/1.0.9/_os.d.ts.map +0 -1
  165. package/types/deps/jsr.io/@std/path/1.0.9/basename.d.ts.map +0 -1
  166. package/types/deps/jsr.io/@std/path/1.0.9/dirname.d.ts.map +0 -1
  167. package/types/deps/jsr.io/@std/path/1.0.9/extname.d.ts.map +0 -1
  168. package/types/deps/jsr.io/@std/path/1.0.9/join.d.ts.map +0 -1
  169. package/types/deps/jsr.io/@std/path/1.0.9/normalize.d.ts.map +0 -1
  170. package/types/deps/jsr.io/@std/path/1.0.9/posix/basename.d.ts.map +0 -1
  171. package/types/deps/jsr.io/@std/path/1.0.9/posix/dirname.d.ts.map +0 -1
  172. package/types/deps/jsr.io/@std/path/1.0.9/posix/extname.d.ts.map +0 -1
  173. package/types/deps/jsr.io/@std/path/1.0.9/posix/join.d.ts.map +0 -1
  174. package/types/deps/jsr.io/@std/path/1.0.9/posix/normalize.d.ts.map +0 -1
  175. package/types/deps/jsr.io/@std/path/1.0.9/windows/basename.d.ts.map +0 -1
  176. package/types/deps/jsr.io/@std/path/1.0.9/windows/dirname.d.ts +0 -20
  177. package/types/deps/jsr.io/@std/path/1.0.9/windows/dirname.d.ts.map +0 -1
  178. package/types/deps/jsr.io/@std/path/1.0.9/windows/extname.d.ts.map +0 -1
  179. package/types/deps/jsr.io/@std/path/1.0.9/windows/join.d.ts +0 -20
  180. package/types/deps/jsr.io/@std/path/1.0.9/windows/join.d.ts.map +0 -1
  181. package/types/deps/jsr.io/@std/path/1.0.9/windows/normalize.d.ts.map +0 -1
  182. package/types/deps/jsr.io/@std/yaml/1.0.6/_dumper_state.d.ts.map +0 -1
  183. /package/esm/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/_common/assert_path.js +0 -0
  184. /package/esm/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/_common/basename.js +0 -0
  185. /package/esm/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/_common/common.js +0 -0
  186. /package/esm/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/_common/constants.js +0 -0
  187. /package/esm/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/_common/dirname.js +0 -0
  188. /package/esm/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/_common/format.js +0 -0
  189. /package/esm/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/_common/from_file_url.js +0 -0
  190. /package/esm/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/_common/glob_to_reg_exp.js +0 -0
  191. /package/esm/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/_common/normalize.js +0 -0
  192. /package/esm/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/_common/normalize_string.js +0 -0
  193. /package/esm/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/_common/relative.js +0 -0
  194. /package/esm/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/_common/strip_trailing_separators.js +0 -0
  195. /package/esm/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/_common/to_file_url.js +0 -0
  196. /package/esm/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/_os.js +0 -0
  197. /package/esm/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/common.js +0 -0
  198. /package/esm/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/constants.js +0 -0
  199. /package/esm/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/format.js +0 -0
  200. /package/esm/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/from_file_url.js +0 -0
  201. /package/esm/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/glob_to_regexp.js +0 -0
  202. /package/esm/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/is_absolute.js +0 -0
  203. /package/esm/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/is_glob.js +0 -0
  204. /package/esm/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/join_globs.js +0 -0
  205. /package/esm/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/mod.js +0 -0
  206. /package/esm/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/normalize_glob.js +0 -0
  207. /package/esm/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/parse.js +0 -0
  208. /package/esm/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/posix/_util.js +0 -0
  209. /package/esm/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/posix/constants.js +0 -0
  210. /package/esm/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/posix/format.js +0 -0
  211. /package/esm/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/posix/from_file_url.js +0 -0
  212. /package/esm/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/posix/glob_to_regexp.js +0 -0
  213. /package/esm/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/posix/is_absolute.js +0 -0
  214. /package/esm/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/posix/join_globs.js +0 -0
  215. /package/esm/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/posix/normalize_glob.js +0 -0
  216. /package/esm/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/posix/parse.js +0 -0
  217. /package/esm/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/posix/relative.js +0 -0
  218. /package/esm/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/posix/resolve.js +0 -0
  219. /package/esm/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/posix/to_file_url.js +0 -0
  220. /package/esm/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/posix/to_namespaced_path.js +0 -0
  221. /package/esm/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/relative.js +0 -0
  222. /package/esm/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/resolve.js +0 -0
  223. /package/esm/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/to_file_url.js +0 -0
  224. /package/esm/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/to_namespaced_path.js +0 -0
  225. /package/esm/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/types.js +0 -0
  226. /package/esm/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/windows/_util.js +0 -0
  227. /package/esm/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/windows/constants.js +0 -0
  228. /package/esm/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/windows/format.js +0 -0
  229. /package/esm/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/windows/from_file_url.js +0 -0
  230. /package/esm/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/windows/glob_to_regexp.js +0 -0
  231. /package/esm/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/windows/is_absolute.js +0 -0
  232. /package/esm/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/windows/join_globs.js +0 -0
  233. /package/esm/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/windows/normalize_glob.js +0 -0
  234. /package/esm/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/windows/parse.js +0 -0
  235. /package/esm/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/windows/relative.js +0 -0
  236. /package/esm/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/windows/resolve.js +0 -0
  237. /package/esm/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/windows/to_file_url.js +0 -0
  238. /package/esm/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/windows/to_namespaced_path.js +0 -0
  239. /package/esm/deps/jsr.io/@std/yaml/{1.0.6 → 1.0.7}/_chars.js +0 -0
  240. /package/esm/deps/jsr.io/@std/yaml/{1.0.6 → 1.0.7}/_loader_state.js +0 -0
  241. /package/esm/deps/jsr.io/@std/yaml/{1.0.6 → 1.0.7}/_schema.js +0 -0
  242. /package/esm/deps/jsr.io/@std/yaml/{1.0.6 → 1.0.7}/_type/binary.js +0 -0
  243. /package/esm/deps/jsr.io/@std/yaml/{1.0.6 → 1.0.7}/_type/bool.js +0 -0
  244. /package/esm/deps/jsr.io/@std/yaml/{1.0.6 → 1.0.7}/_type/float.js +0 -0
  245. /package/esm/deps/jsr.io/@std/yaml/{1.0.6 → 1.0.7}/_type/int.js +0 -0
  246. /package/esm/deps/jsr.io/@std/yaml/{1.0.6 → 1.0.7}/_type/map.js +0 -0
  247. /package/esm/deps/jsr.io/@std/yaml/{1.0.6 → 1.0.7}/_type/merge.js +0 -0
  248. /package/esm/deps/jsr.io/@std/yaml/{1.0.6 → 1.0.7}/_type/nil.js +0 -0
  249. /package/esm/deps/jsr.io/@std/yaml/{1.0.6 → 1.0.7}/_type/omap.js +0 -0
  250. /package/esm/deps/jsr.io/@std/yaml/{1.0.6 → 1.0.7}/_type/pairs.js +0 -0
  251. /package/esm/deps/jsr.io/@std/yaml/{1.0.6 → 1.0.7}/_type/regexp.js +0 -0
  252. /package/esm/deps/jsr.io/@std/yaml/{1.0.6 → 1.0.7}/_type/seq.js +0 -0
  253. /package/esm/deps/jsr.io/@std/yaml/{1.0.6 → 1.0.7}/_type/set.js +0 -0
  254. /package/esm/deps/jsr.io/@std/yaml/{1.0.6 → 1.0.7}/_type/str.js +0 -0
  255. /package/esm/deps/jsr.io/@std/yaml/{1.0.6 → 1.0.7}/_type/timestamp.js +0 -0
  256. /package/esm/deps/jsr.io/@std/yaml/{1.0.6 → 1.0.7}/_type/undefined.js +0 -0
  257. /package/esm/deps/jsr.io/@std/yaml/{1.0.6 → 1.0.7}/_type.js +0 -0
  258. /package/esm/deps/jsr.io/@std/yaml/{1.0.6 → 1.0.7}/_utils.js +0 -0
  259. /package/esm/deps/jsr.io/@std/yaml/{1.0.6 → 1.0.7}/mod.js +0 -0
  260. /package/esm/deps/jsr.io/@std/yaml/{1.0.6 → 1.0.7}/parse.js +0 -0
  261. /package/esm/deps/jsr.io/@std/yaml/{1.0.6 → 1.0.7}/stringify.js +0 -0
  262. /package/types/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/_common/assert_path.d.ts +0 -0
  263. /package/types/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/_common/basename.d.ts +0 -0
  264. /package/types/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/_common/common.d.ts +0 -0
  265. /package/types/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/_common/constants.d.ts +0 -0
  266. /package/types/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/_common/dirname.d.ts +0 -0
  267. /package/types/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/_common/format.d.ts +0 -0
  268. /package/types/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/_common/from_file_url.d.ts +0 -0
  269. /package/types/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/_common/glob_to_reg_exp.d.ts +0 -0
  270. /package/types/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/_common/normalize.d.ts +0 -0
  271. /package/types/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/_common/normalize_string.d.ts +0 -0
  272. /package/types/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/_common/relative.d.ts +0 -0
  273. /package/types/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/_common/strip_trailing_separators.d.ts +0 -0
  274. /package/types/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/_common/to_file_url.d.ts +0 -0
  275. /package/types/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/_os.d.ts +0 -0
  276. /package/types/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/common.d.ts +0 -0
  277. /package/types/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/constants.d.ts +0 -0
  278. /package/types/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/format.d.ts +0 -0
  279. /package/types/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/from_file_url.d.ts +0 -0
  280. /package/types/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/glob_to_regexp.d.ts +0 -0
  281. /package/types/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/is_absolute.d.ts +0 -0
  282. /package/types/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/is_glob.d.ts +0 -0
  283. /package/types/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/join_globs.d.ts +0 -0
  284. /package/types/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/mod.d.ts +0 -0
  285. /package/types/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/normalize_glob.d.ts +0 -0
  286. /package/types/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/parse.d.ts +0 -0
  287. /package/types/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/posix/_util.d.ts +0 -0
  288. /package/types/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/posix/constants.d.ts +0 -0
  289. /package/types/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/posix/format.d.ts +0 -0
  290. /package/types/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/posix/from_file_url.d.ts +0 -0
  291. /package/types/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/posix/glob_to_regexp.d.ts +0 -0
  292. /package/types/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/posix/is_absolute.d.ts +0 -0
  293. /package/types/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/posix/join_globs.d.ts +0 -0
  294. /package/types/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/posix/normalize_glob.d.ts +0 -0
  295. /package/types/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/posix/parse.d.ts +0 -0
  296. /package/types/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/posix/relative.d.ts +0 -0
  297. /package/types/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/posix/resolve.d.ts +0 -0
  298. /package/types/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/posix/to_file_url.d.ts +0 -0
  299. /package/types/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/posix/to_namespaced_path.d.ts +0 -0
  300. /package/types/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/relative.d.ts +0 -0
  301. /package/types/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/resolve.d.ts +0 -0
  302. /package/types/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/to_file_url.d.ts +0 -0
  303. /package/types/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/to_namespaced_path.d.ts +0 -0
  304. /package/types/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/types.d.ts +0 -0
  305. /package/types/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/windows/_util.d.ts +0 -0
  306. /package/types/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/windows/constants.d.ts +0 -0
  307. /package/types/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/windows/format.d.ts +0 -0
  308. /package/types/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/windows/from_file_url.d.ts +0 -0
  309. /package/types/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/windows/glob_to_regexp.d.ts +0 -0
  310. /package/types/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/windows/is_absolute.d.ts +0 -0
  311. /package/types/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/windows/join_globs.d.ts +0 -0
  312. /package/types/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/windows/normalize_glob.d.ts +0 -0
  313. /package/types/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/windows/parse.d.ts +0 -0
  314. /package/types/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/windows/relative.d.ts +0 -0
  315. /package/types/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/windows/resolve.d.ts +0 -0
  316. /package/types/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/windows/to_file_url.d.ts +0 -0
  317. /package/types/deps/jsr.io/@std/path/{1.0.9 → 1.1.0}/windows/to_namespaced_path.d.ts +0 -0
  318. /package/types/deps/jsr.io/@std/yaml/{1.0.6 → 1.0.7}/_chars.d.ts +0 -0
  319. /package/types/deps/jsr.io/@std/yaml/{1.0.6 → 1.0.7}/_loader_state.d.ts +0 -0
  320. /package/types/deps/jsr.io/@std/yaml/{1.0.6 → 1.0.7}/_schema.d.ts +0 -0
  321. /package/types/deps/jsr.io/@std/yaml/{1.0.6 → 1.0.7}/_type/binary.d.ts +0 -0
  322. /package/types/deps/jsr.io/@std/yaml/{1.0.6 → 1.0.7}/_type/bool.d.ts +0 -0
  323. /package/types/deps/jsr.io/@std/yaml/{1.0.6 → 1.0.7}/_type/float.d.ts +0 -0
  324. /package/types/deps/jsr.io/@std/yaml/{1.0.6 → 1.0.7}/_type/int.d.ts +0 -0
  325. /package/types/deps/jsr.io/@std/yaml/{1.0.6 → 1.0.7}/_type/map.d.ts +0 -0
  326. /package/types/deps/jsr.io/@std/yaml/{1.0.6 → 1.0.7}/_type/merge.d.ts +0 -0
  327. /package/types/deps/jsr.io/@std/yaml/{1.0.6 → 1.0.7}/_type/nil.d.ts +0 -0
  328. /package/types/deps/jsr.io/@std/yaml/{1.0.6 → 1.0.7}/_type/omap.d.ts +0 -0
  329. /package/types/deps/jsr.io/@std/yaml/{1.0.6 → 1.0.7}/_type/pairs.d.ts +0 -0
  330. /package/types/deps/jsr.io/@std/yaml/{1.0.6 → 1.0.7}/_type/regexp.d.ts +0 -0
  331. /package/types/deps/jsr.io/@std/yaml/{1.0.6 → 1.0.7}/_type/seq.d.ts +0 -0
  332. /package/types/deps/jsr.io/@std/yaml/{1.0.6 → 1.0.7}/_type/set.d.ts +0 -0
  333. /package/types/deps/jsr.io/@std/yaml/{1.0.6 → 1.0.7}/_type/str.d.ts +0 -0
  334. /package/types/deps/jsr.io/@std/yaml/{1.0.6 → 1.0.7}/_type/timestamp.d.ts +0 -0
  335. /package/types/deps/jsr.io/@std/yaml/{1.0.6 → 1.0.7}/_type/undefined.d.ts +0 -0
  336. /package/types/deps/jsr.io/@std/yaml/{1.0.6 → 1.0.7}/_type.d.ts +0 -0
  337. /package/types/deps/jsr.io/@std/yaml/{1.0.6 → 1.0.7}/_utils.d.ts +0 -0
  338. /package/types/deps/jsr.io/@std/yaml/{1.0.6 → 1.0.7}/mod.d.ts +0 -0
  339. /package/types/deps/jsr.io/@std/yaml/{1.0.6 → 1.0.7}/parse.d.ts +0 -0
  340. /package/types/deps/jsr.io/@std/yaml/{1.0.6 → 1.0.7}/stringify.d.ts +0 -0
@@ -48,6 +48,7 @@ func main() (interface{}, error) {
48
48
  `,
49
49
  bash: `echo "Hello world"
50
50
  `,
51
+ duckdb: `SELECT 'Hello world' AS message`,
51
52
  oracledb: `SELECT 'Hello world' AS message`,
52
53
  powershell: `Write-Output "Hello world"`,
53
54
  php: `<?php
@@ -93,5 +94,5 @@ public class Main {
93
94
  }
94
95
  }
95
96
  `,
96
- // for related places search: ADD_NEW_LANG
97
+ // for related places search: ADD_NEW_LANG
97
98
  };
@@ -1,8 +1,8 @@
1
1
  // Copyright 2018-2025 the Deno authors. MIT license.
2
2
  // Copyright the Browserify authors. MIT License.
3
3
  import * as dntShim from "../../../../../_dnt.shims.js";
4
- import { basename } from "../../path/1.0.9/basename.js";
5
- import { normalize } from "../../path/1.0.9/normalize.js";
4
+ import { basename } from "../../path/1.1.0/basename.js";
5
+ import { normalize } from "../../path/1.1.0/normalize.js";
6
6
  import { toPathString } from "./_to_path_string.js";
7
7
  /** Create {@linkcode WalkEntry} for the `path` synchronously. */
8
8
  export function createWalkEntrySync(path) {
@@ -1,6 +1,6 @@
1
1
  // Copyright 2018-2025 the Deno authors. MIT license.
2
2
  // Copyright the Browserify authors. MIT License.
3
- import { resolve } from "../../path/1.0.9/resolve.js";
3
+ import { resolve } from "../../path/1.1.0/resolve.js";
4
4
  import { toPathString } from "./_to_path_string.js";
5
5
  /**
6
6
  * Checks if two paths are the same.
@@ -1,7 +1,7 @@
1
1
  // Copyright 2018-2025 the Deno authors. MIT license.
2
2
  // Copyright the Browserify authors. MIT License.
3
- import { resolve } from "../../path/1.0.9/resolve.js";
4
- import { SEPARATOR } from "../../path/1.0.9/constants.js";
3
+ import { resolve } from "../../path/1.1.0/resolve.js";
4
+ import { SEPARATOR } from "../../path/1.1.0/constants.js";
5
5
  import { toPathString } from "./_to_path_string.js";
6
6
  /**
7
7
  * Checks whether `src` is a sub-directory of `dest`.
@@ -1,6 +1,6 @@
1
1
  // Copyright 2018-2025 the Deno authors. MIT license.
2
2
  // Copyright the Browserify authors. MIT License.
3
- import { fromFileUrl } from "../../path/1.0.9/from_file_url.js";
3
+ import { fromFileUrl } from "../../path/1.1.0/from_file_url.js";
4
4
  /**
5
5
  * Convert a URL or string to a path.
6
6
  *
@@ -1,8 +1,8 @@
1
1
  // Copyright 2018-2025 the Deno authors. MIT license.
2
2
  import * as dntShim from "../../../../../_dnt.shims.js";
3
- import { basename } from "../../path/1.0.9/basename.js";
4
- import { join } from "../../path/1.0.9/join.js";
5
- import { resolve } from "../../path/1.0.9/resolve.js";
3
+ import { basename } from "../../path/1.1.0/basename.js";
4
+ import { join } from "../../path/1.1.0/join.js";
5
+ import { resolve } from "../../path/1.1.0/resolve.js";
6
6
  import { ensureDir, ensureDirSync } from "./ensure_dir.js";
7
7
  import { getFileInfoType } from "./_get_file_info_type.js";
8
8
  import { toPathString } from "./_to_path_string.js";
@@ -1,6 +1,6 @@
1
1
  // Copyright 2018-2025 the Deno authors. MIT license.
2
2
  import * as dntShim from "../../../../../_dnt.shims.js";
3
- import { join } from "../../path/1.0.9/join.js";
3
+ import { join } from "../../path/1.1.0/join.js";
4
4
  import { toPathString } from "./_to_path_string.js";
5
5
  /**
6
6
  * Asynchronously ensures that a directory is empty.
@@ -1,6 +1,6 @@
1
1
  // Copyright 2018-2025 the Deno authors. MIT license.
2
2
  import * as dntShim from "../../../../../_dnt.shims.js";
3
- import { dirname } from "../../path/1.0.9/dirname.js";
3
+ import { dirname } from "../../path/1.1.0/dirname.js";
4
4
  import { ensureDir, ensureDirSync } from "./ensure_dir.js";
5
5
  import { getFileInfoType } from "./_get_file_info_type.js";
6
6
  import { toPathString } from "./_to_path_string.js";
@@ -1,6 +1,6 @@
1
1
  // Copyright 2018-2025 the Deno authors. MIT license.
2
2
  import * as dntShim from "../../../../../_dnt.shims.js";
3
- import { dirname } from "../../path/1.0.9/dirname.js";
3
+ import { dirname } from "../../path/1.1.0/dirname.js";
4
4
  import { ensureDir, ensureDirSync } from "./ensure_dir.js";
5
5
  import { toPathString } from "./_to_path_string.js";
6
6
  /**
@@ -1,7 +1,7 @@
1
1
  // Copyright 2018-2025 the Deno authors. MIT license.
2
2
  import * as dntShim from "../../../../../_dnt.shims.js";
3
- import { dirname } from "../../path/1.0.9/dirname.js";
4
- import { resolve } from "../../path/1.0.9/resolve.js";
3
+ import { dirname } from "../../path/1.1.0/dirname.js";
4
+ import { resolve } from "../../path/1.1.0/resolve.js";
5
5
  import { ensureDir, ensureDirSync } from "./ensure_dir.js";
6
6
  import { getFileInfoType } from "./_get_file_info_type.js";
7
7
  import { toPathString } from "./_to_path_string.js";
@@ -1,11 +1,11 @@
1
1
  // Copyright 2018-2025 the Deno authors. MIT license.
2
2
  import * as dntShim from "../../../../../_dnt.shims.js";
3
- import { globToRegExp } from "../../path/1.0.9/glob_to_regexp.js";
4
- import { joinGlobs } from "../../path/1.0.9/join_globs.js";
5
- import { isGlob } from "../../path/1.0.9/is_glob.js";
6
- import { isAbsolute } from "../../path/1.0.9/is_absolute.js";
7
- import { resolve } from "../../path/1.0.9/resolve.js";
8
- import { SEPARATOR_PATTERN } from "../../path/1.0.9/constants.js";
3
+ import { globToRegExp } from "../../path/1.1.0/glob_to_regexp.js";
4
+ import { joinGlobs } from "../../path/1.1.0/join_globs.js";
5
+ import { isGlob } from "../../path/1.1.0/is_glob.js";
6
+ import { isAbsolute } from "../../path/1.1.0/is_absolute.js";
7
+ import { resolve } from "../../path/1.1.0/resolve.js";
8
+ import { SEPARATOR_PATTERN } from "../../path/1.1.0/constants.js";
9
9
  import { walk, walkSync } from "./walk.js";
10
10
  import { toPathString } from "./_to_path_string.js";
11
11
  import { createWalkEntry, createWalkEntrySync, } from "./_create_walk_entry.js";
@@ -3,7 +3,7 @@
3
3
  // https://golang.org/pkg/path/filepath/#Walk
4
4
  // Copyright 2009 The Go Authors. All rights reserved. BSD license.
5
5
  import * as dntShim from "../../../../../_dnt.shims.js";
6
- import { join } from "../../path/1.0.9/join.js";
6
+ import { join } from "../../path/1.1.0/join.js";
7
7
  import { toPathString } from "./_to_path_string.js";
8
8
  import { createWalkEntry, createWalkEntrySync, } from "./_create_walk_entry.js";
9
9
  function include(path, exts, match, skip) {
@@ -16,14 +16,13 @@ import { basename as windowsBasename } from "./windows/basename.js";
16
16
  *
17
17
  * if (Deno.build.os === "windows") {
18
18
  * assertEquals(basename("C:\\user\\Documents\\image.png"), "image.png");
19
+ * assertEquals(basename(new URL("file:///C:/user/Documents/image.png")), "image.png");
19
20
  * } else {
20
21
  * assertEquals(basename("/home/user/Documents/image.png"), "image.png");
22
+ * assertEquals(basename(new URL("file:///home/user/Documents/image.png")), "image.png");
21
23
  * }
22
24
  * ```
23
25
  *
24
- * Note: If you are working with file URLs,
25
- * use the new version of `basename` from `@std/path/unstable-basename`.
26
- *
27
26
  * @param path Path to extract the name from.
28
27
  * @param suffix Suffix to remove from extracted name.
29
28
  *
@@ -13,14 +13,13 @@ import { dirname as windowsDirname } from "./windows/dirname.js";
13
13
  *
14
14
  * if (Deno.build.os === "windows") {
15
15
  * assertEquals(dirname("C:\\home\\user\\Documents\\image.png"), "C:\\home\\user\\Documents");
16
+ * assertEquals(dirname(new URL("file:///C:/home/user/Documents/image.png")), "C:\\home\\user\\Documents");
16
17
  * } else {
17
18
  * assertEquals(dirname("/home/user/Documents/image.png"), "/home/user/Documents");
19
+ * assertEquals(dirname(new URL("file:///home/user/Documents/image.png")), "/home/user/Documents");
18
20
  * }
19
21
  * ```
20
22
  *
21
- * Note: If you are working with file URLs,
22
- * use the new version of `dirname` from `@std/path/unstable-dirname`.
23
- *
24
23
  * @param path Path to extract the directory from.
25
24
  * @returns The directory path.
26
25
  */
@@ -13,14 +13,13 @@ import { extname as windowsExtname } from "./windows/extname.js";
13
13
  *
14
14
  * if (Deno.build.os === "windows") {
15
15
  * assertEquals(extname("C:\\home\\user\\Documents\\image.png"), ".png");
16
+ * assertEquals(extname(new URL("file:///C:/home/user/Documents/image.png")), ".png");
16
17
  * } else {
17
18
  * assertEquals(extname("/home/user/Documents/image.png"), ".png");
19
+ * assertEquals(extname(new URL("file:///home/user/Documents/image.png")), ".png");
18
20
  * }
19
21
  * ```
20
22
  *
21
- * Note: If you are working with file URLs,
22
- * use the new version of `extname` from `@std/path/unstable-extname`.
23
- *
24
23
  * @param path Path with extension.
25
24
  * @returns The file extension. E.g. returns `.ts` for `file.ts`.
26
25
  */
@@ -13,17 +13,17 @@ import { join as windowsJoin } from "./windows/join.js";
13
13
  *
14
14
  * if (Deno.build.os === "windows") {
15
15
  * assertEquals(join("C:\\foo", "bar", "baz\\quux", "garply", ".."), "C:\\foo\\bar\\baz\\quux");
16
+ * assertEquals(join(new URL("file:///C:/foo"), "bar", "baz/asdf", "quux", ".."), "C:\\foo\\bar\\baz\\asdf");
16
17
  * } else {
17
18
  * assertEquals(join("/foo", "bar", "baz/quux", "garply", ".."), "/foo/bar/baz/quux");
19
+ * assertEquals(join(new URL("file:///foo"), "bar", "baz/asdf", "quux", ".."), "/foo/bar/baz/asdf");
18
20
  * }
19
21
  * ```
20
22
  *
21
- * Note: If you are working with file URLs,
22
- * use the new version of `join` from `@std/path/unstable-join`.
23
- *
23
+ * @param path The path to join. This can be string or file URL.
24
24
  * @param paths Paths to be joined and normalized.
25
25
  * @returns The joined and normalized path.
26
26
  */
27
- export function join(...paths) {
28
- return isWindows ? windowsJoin(...paths) : posixJoin(...paths);
27
+ export function join(path, ...paths) {
28
+ return isWindows ? windowsJoin(path, ...paths) : posixJoin(path, ...paths);
29
29
  }
@@ -17,14 +17,13 @@ import { normalize as windowsNormalize } from "./windows/normalize.js";
17
17
  *
18
18
  * if (Deno.build.os === "windows") {
19
19
  * assertEquals(normalize("C:\\foo\\bar\\..\\baz\\quux"), "C:\\foo\\baz\\quux");
20
+ * assertEquals(normalize(new URL("file:///C:/foo/bar/../baz/quux")), "C:\\foo\\baz\\quux");
20
21
  * } else {
21
22
  * assertEquals(normalize("/foo/bar/../baz/quux"), "/foo/baz/quux");
23
+ * assertEquals(normalize(new URL("file:///foo/bar/../baz/quux")), "/foo/baz/quux");
22
24
  * }
23
25
  * ```
24
26
  *
25
- * Note: If you are working with file URLs,
26
- * use the new version of `normalize` from `@std/path/unstable-normalize`.
27
- *
28
27
  * @param path Path to be normalized
29
28
  * @returns The normalized path.
30
29
  */
@@ -1,6 +1,7 @@
1
1
  // Copyright 2018-2025 the Deno authors. MIT license.
2
2
  // This module is browser compatible.
3
3
  import { assertArgs, lastPathSegment, stripSuffix, } from "../_common/basename.js";
4
+ import { fromFileUrl } from "./from_file_url.js";
4
5
  import { stripTrailingSeparators } from "../_common/strip_trailing_separators.js";
5
6
  import { isPosixPathSeparator } from "./_util.js";
6
7
  /**
@@ -15,6 +16,8 @@ import { isPosixPathSeparator } from "./_util.js";
15
16
  * assertEquals(basename("/home/user/Documents/"), "Documents");
16
17
  * assertEquals(basename("/home/user/Documents/image.png"), "image.png");
17
18
  * assertEquals(basename("/home/user/Documents/image.png", ".png"), "image");
19
+ * assertEquals(basename(new URL("file:///home/user/Documents/image.png")), "image.png");
20
+ * assertEquals(basename(new URL("file:///home/user/Documents/image.png"), ".png"), "image");
18
21
  * ```
19
22
  *
20
23
  * @example Working with URLs
@@ -34,14 +37,14 @@ import { isPosixPathSeparator } from "./_util.js";
34
37
  * assertEquals(basename("https://deno.land/std/path/mod.ts#header"), "mod.ts#header");
35
38
  * ```
36
39
  *
37
- * Note: If you are working with file URLs,
38
- * use the new version of `basename` from `@std/path/posix/unstable-basename`.
39
- *
40
40
  * @param path The path to extract the name from.
41
41
  * @param suffix The suffix to remove from extracted name.
42
42
  * @returns The extracted name.
43
43
  */
44
44
  export function basename(path, suffix = "") {
45
+ if (path instanceof URL) {
46
+ path = fromFileUrl(path);
47
+ }
45
48
  assertArgs(path, suffix);
46
49
  const lastSegment = lastPathSegment(path, isPosixPathSeparator);
47
50
  const strippedSegment = stripTrailingSeparators(lastSegment, isPosixPathSeparator);
@@ -3,6 +3,7 @@
3
3
  import { assertArg } from "../_common/dirname.js";
4
4
  import { stripTrailingSeparators } from "../_common/strip_trailing_separators.js";
5
5
  import { isPosixPathSeparator } from "./_util.js";
6
+ import { fromFileUrl } from "./from_file_url.js";
6
7
  /**
7
8
  * Return the directory path of a `path`.
8
9
  *
@@ -14,6 +15,7 @@ import { isPosixPathSeparator } from "./_util.js";
14
15
  * assertEquals(dirname("/home/user/Documents/"), "/home/user");
15
16
  * assertEquals(dirname("/home/user/Documents/image.png"), "/home/user/Documents");
16
17
  * assertEquals(dirname("https://deno.land/std/path/mod.ts"), "https://deno.land/std/path");
18
+ * assertEquals(dirname(new URL("file:///home/user/Documents/image.png")), "/home/user/Documents");
17
19
  * ```
18
20
  *
19
21
  * @example Working with URLs
@@ -27,13 +29,13 @@ import { isPosixPathSeparator } from "./_util.js";
27
29
  * assertEquals(dirname("https://deno.land/std/path/mod.ts#header"), "https://deno.land/std/path");
28
30
  * ```
29
31
  *
30
- * Note: If you are working with file URLs,
31
- * use the new version of `dirname` from `@std/path/posix/unstable-dirname`.
32
- *
33
32
  * @param path The path to get the directory from.
34
33
  * @returns The directory path.
35
34
  */
36
35
  export function dirname(path) {
36
+ if (path instanceof URL) {
37
+ path = fromFileUrl(path);
38
+ }
37
39
  assertArg(path);
38
40
  let end = -1;
39
41
  let matchedNonSeparator = false;
@@ -3,6 +3,7 @@
3
3
  import { CHAR_DOT } from "../_common/constants.js";
4
4
  import { assertPath } from "../_common/assert_path.js";
5
5
  import { isPosixPathSeparator } from "./_util.js";
6
+ import { fromFileUrl } from "./from_file_url.js";
6
7
  /**
7
8
  * Return the extension of the `path` with leading period.
8
9
  *
@@ -14,6 +15,9 @@ import { isPosixPathSeparator } from "./_util.js";
14
15
  * assertEquals(extname("/home/user/Documents/file.ts"), ".ts");
15
16
  * assertEquals(extname("/home/user/Documents/"), "");
16
17
  * assertEquals(extname("/home/user/Documents/image.png"), ".png");
18
+ * assertEquals(extname(new URL("file:///home/user/Documents/file.ts")), ".ts");
19
+ * assertEquals(extname(new URL("file:///home/user/Documents/file.ts?a=b")), ".ts");
20
+ * assertEquals(extname(new URL("file:///home/user/Documents/file.ts#header")), ".ts");
17
21
  * ```
18
22
  *
19
23
  * @example Working with URLs
@@ -32,13 +36,13 @@ import { isPosixPathSeparator } from "./_util.js";
32
36
  * assertEquals(extname("https://deno.land/std/path/mod.ts#header"), ".ts#header");
33
37
  * ```
34
38
  *
35
- * Note: If you are working with file URLs,
36
- * use the new version of `extname` from `@std/path/posix/unstable-extname`.
37
- *
38
39
  * @param path The path to get the extension from.
39
40
  * @returns The extension (ex. for `file.ts` returns `.ts`).
40
41
  */
41
42
  export function extname(path) {
43
+ if (path instanceof URL) {
44
+ path = fromFileUrl(path);
45
+ }
42
46
  assertPath(path);
43
47
  let startDot = -1;
44
48
  let startPart = 0;
@@ -1,6 +1,7 @@
1
1
  // Copyright 2018-2025 the Deno authors. MIT license.
2
2
  // This module is browser compatible.
3
3
  import { assertPath } from "../_common/assert_path.js";
4
+ import { fromFileUrl } from "./from_file_url.js";
4
5
  import { normalize } from "./normalize.js";
5
6
  /**
6
7
  * Join all given a sequence of `paths`,then normalizes the resulting path.
@@ -10,8 +11,8 @@ import { normalize } from "./normalize.js";
10
11
  * import { join } from "@std/path/posix/join";
11
12
  * import { assertEquals } from "@std/assert";
12
13
  *
13
- * const path = join("/foo", "bar", "baz/asdf", "quux", "..");
14
- * assertEquals(path, "/foo/bar/baz/asdf");
14
+ * assertEquals(join("/foo", "bar", "baz/asdf", "quux", ".."), "/foo/bar/baz/asdf");
15
+ * assertEquals(join(new URL("file:///foo"), "bar", "baz/asdf", "quux", ".."), "/foo/bar/baz/asdf");
15
16
  * ```
16
17
  *
17
18
  * @example Working with URLs
@@ -27,15 +28,17 @@ import { normalize } from "./normalize.js";
27
28
  * assertEquals(url.href, "https://deno.land/std/path/mod.ts");
28
29
  * ```
29
30
  *
30
- * Note: If you are working with file URLs,
31
- * use the new version of `join` from `@std/path/posix/unstable-join`.
32
- *
31
+ * @param path The path to join. This can be string or file URL.
33
32
  * @param paths The paths to join.
34
33
  * @returns The joined path.
35
34
  */
36
- export function join(...paths) {
37
- if (paths.length === 0)
35
+ export function join(path, ...paths) {
36
+ if (path === undefined)
38
37
  return ".";
38
+ if (path instanceof URL) {
39
+ path = fromFileUrl(path);
40
+ }
41
+ paths = path ? [path, ...paths] : paths;
39
42
  paths.forEach((path) => assertPath(path));
40
43
  const joined = paths.filter((path) => path.length > 0).join("/");
41
44
  return joined === "" ? "." : normalize(joined);
@@ -3,6 +3,7 @@
3
3
  import { assertArg } from "../_common/normalize.js";
4
4
  import { normalizeString } from "../_common/normalize_string.js";
5
5
  import { isPosixPathSeparator } from "./_util.js";
6
+ import { fromFileUrl } from "./from_file_url.js";
6
7
  /**
7
8
  * Normalize the `path`, resolving `'..'` and `'.'` segments.
8
9
  * Note that resolving these segments does not necessarily mean that all will be eliminated.
@@ -13,8 +14,8 @@ import { isPosixPathSeparator } from "./_util.js";
13
14
  * import { normalize } from "@std/path/posix/normalize";
14
15
  * import { assertEquals } from "@std/assert";
15
16
  *
16
- * const path = normalize("/foo/bar//baz/asdf/quux/..");
17
- * assertEquals(path, "/foo/bar/baz/asdf");
17
+ * assertEquals(normalize("/foo/bar//baz/asdf/quux/.."), "/foo/bar/baz/asdf");
18
+ * assertEquals(normalize(new URL("file:///foo/bar//baz/asdf/quux/..")), "/foo/bar/baz/asdf/");
18
19
  * ```
19
20
  *
20
21
  * @example Working with URLs
@@ -35,13 +36,13 @@ import { isPosixPathSeparator } from "./_util.js";
35
36
  * assertEquals(url.href, "https://deno.land/std/async/retry.ts");
36
37
  * ```
37
38
  *
38
- * Note: If you are working with file URLs,
39
- * use the new version of `normalize` from `@std/path/posix/unstable-normalize`.
40
- *
41
39
  * @param path The path to normalize.
42
40
  * @returns The normalized path.
43
41
  */
44
42
  export function normalize(path) {
43
+ if (path instanceof URL) {
44
+ path = fromFileUrl(path);
45
+ }
45
46
  assertArg(path);
46
47
  const isAbsolute = isPosixPathSeparator(path.charCodeAt(0));
47
48
  const trailingSeparator = isPosixPathSeparator(path.charCodeAt(path.length - 1));
@@ -4,6 +4,7 @@ import { assertArgs, lastPathSegment, stripSuffix, } from "../_common/basename.j
4
4
  import { CHAR_COLON } from "../_common/constants.js";
5
5
  import { stripTrailingSeparators } from "../_common/strip_trailing_separators.js";
6
6
  import { isPathSeparator, isWindowsDeviceRoot } from "./_util.js";
7
+ import { fromFileUrl } from "./from_file_url.js";
7
8
  /**
8
9
  * Return the last portion of a `path`.
9
10
  * Trailing directory separators are ignored, and optional suffix is removed.
@@ -16,16 +17,18 @@ import { isPathSeparator, isWindowsDeviceRoot } from "./_util.js";
16
17
  * assertEquals(basename("C:\\user\\Documents\\"), "Documents");
17
18
  * assertEquals(basename("C:\\user\\Documents\\image.png"), "image.png");
18
19
  * assertEquals(basename("C:\\user\\Documents\\image.png", ".png"), "image");
20
+ * assertEquals(basename(new URL("file:///C:/user/Documents/image.png")), "image.png");
21
+ * assertEquals(basename(new URL("file:///C:/user/Documents/image.png"), ".png"), "image");
19
22
  * ```
20
23
  *
21
- * Note: If you are working with file URLs,
22
- * use the new version of `basename` from `@std/path/windows/unstable-basename`.
23
- *
24
24
  * @param path The path to extract the name from.
25
25
  * @param suffix The suffix to remove from extracted name.
26
26
  * @returns The extracted name.
27
27
  */
28
28
  export function basename(path, suffix = "") {
29
+ if (path instanceof URL) {
30
+ path = fromFileUrl(path);
31
+ }
29
32
  assertArgs(path, suffix);
30
33
  // Check for a drive letter prefix so as not to mistake the following
31
34
  // path separator as an extra separator at the end of the path that can be
@@ -4,6 +4,7 @@ import { assertArg } from "../_common/dirname.js";
4
4
  import { CHAR_COLON } from "../_common/constants.js";
5
5
  import { stripTrailingSeparators } from "../_common/strip_trailing_separators.js";
6
6
  import { isPathSeparator, isPosixPathSeparator, isWindowsDeviceRoot, } from "./_util.js";
7
+ import { fromFileUrl } from "./from_file_url.js";
7
8
  /**
8
9
  * Return the directory path of a `path`.
9
10
  *
@@ -12,17 +13,17 @@ import { isPathSeparator, isPosixPathSeparator, isWindowsDeviceRoot, } from "./_
12
13
  * import { dirname } from "@std/path/windows/dirname";
13
14
  * import { assertEquals } from "@std/assert";
14
15
  *
15
- * const dir = dirname("C:\\foo\\bar\\baz.ext");
16
- * assertEquals(dir, "C:\\foo\\bar");
16
+ * assertEquals(dirname("C:\\foo\\bar\\baz.ext"), "C:\\foo\\bar");
17
+ * assertEquals(dirname(new URL("file:///C:/foo/bar/baz.ext")), "C:\\foo\\bar");
17
18
  * ```
18
19
  *
19
- * Note: If you are working with file URLs,
20
- * use the new version of `dirname` from `@std/path/windows/unstable-dirname`.
21
- *
22
20
  * @param path The path to get the directory from.
23
21
  * @returns The directory path.
24
22
  */
25
23
  export function dirname(path) {
24
+ if (path instanceof URL) {
25
+ path = fromFileUrl(path);
26
+ }
26
27
  assertArg(path);
27
28
  const len = path.length;
28
29
  let rootEnd = -1;
@@ -3,6 +3,7 @@
3
3
  import { CHAR_COLON, CHAR_DOT } from "../_common/constants.js";
4
4
  import { assertPath } from "../_common/assert_path.js";
5
5
  import { isPathSeparator, isWindowsDeviceRoot } from "./_util.js";
6
+ import { fromFileUrl } from "./from_file_url.js";
6
7
  /**
7
8
  * Return the extension of the `path` with leading period.
8
9
  *
@@ -11,17 +12,17 @@ import { isPathSeparator, isWindowsDeviceRoot } from "./_util.js";
11
12
  * import { extname } from "@std/path/windows/extname";
12
13
  * import { assertEquals } from "@std/assert";
13
14
  *
14
- * const ext = extname("file.ts");
15
- * assertEquals(ext, ".ts");
15
+ * assertEquals(extname("file.ts"), ".ts");
16
+ * assertEquals(extname(new URL("file:///C:/foo/bar/baz.ext")), ".ext");
16
17
  * ```
17
18
  *
18
- * Note: If you are working with file URLs,
19
- * use the new version of `extname` from `@std/path/windows/unstable-extname`.
20
- *
21
19
  * @param path The path to get the extension from.
22
20
  * @returns The extension of the `path`.
23
21
  */
24
22
  export function extname(path) {
23
+ if (path instanceof URL) {
24
+ path = fromFileUrl(path);
25
+ }
25
26
  assertPath(path);
26
27
  let start = 0;
27
28
  let startDot = -1;
@@ -3,6 +3,7 @@
3
3
  import { assertPath } from "../_common/assert_path.js";
4
4
  import { isPathSeparator } from "./_util.js";
5
5
  import { normalize } from "./normalize.js";
6
+ import { fromFileUrl } from "./from_file_url.js";
6
7
  /**
7
8
  * Join all given a sequence of `paths`,then normalizes the resulting path.
8
9
  *
@@ -11,17 +12,19 @@ import { normalize } from "./normalize.js";
11
12
  * import { join } from "@std/path/windows/join";
12
13
  * import { assertEquals } from "@std/assert";
13
14
  *
14
- * const joined = join("C:\\foo", "bar", "baz\\..");
15
- * assertEquals(joined, "C:\\foo\\bar");
15
+ * assertEquals(join("C:\\foo", "bar", "baz\\.."), "C:\\foo\\bar");
16
+ * assertEquals(join(new URL("file:///C:/foo"), "bar", "baz\\.."), "C:\\foo\\bar");
16
17
  * ```
17
18
  *
18
- * Note: If you are working with file URLs,
19
- * use the new version of `join` from `@std/path/windows/unstable-join`.
20
- *
19
+ * @param path The path to join. This can be string or file URL.
21
20
  * @param paths The paths to join.
22
21
  * @returns The joined path.
23
22
  */
24
- export function join(...paths) {
23
+ export function join(path, ...paths) {
24
+ if (path instanceof URL) {
25
+ path = fromFileUrl(path);
26
+ }
27
+ paths = path ? [path, ...paths] : paths;
25
28
  paths.forEach((path) => assertPath(path));
26
29
  paths = paths.filter((path) => path.length > 0);
27
30
  if (paths.length === 0)
@@ -4,6 +4,7 @@ import { assertArg } from "../_common/normalize.js";
4
4
  import { CHAR_COLON } from "../_common/constants.js";
5
5
  import { normalizeString } from "../_common/normalize_string.js";
6
6
  import { isPathSeparator, isWindowsDeviceRoot } from "./_util.js";
7
+ import { fromFileUrl } from "./from_file_url.js";
7
8
  /**
8
9
  * Normalize the `path`, resolving `'..'` and `'.'` segments.
9
10
  * Note that resolving these segments does not necessarily mean that all will be eliminated.
@@ -14,17 +15,17 @@ import { isPathSeparator, isWindowsDeviceRoot } from "./_util.js";
14
15
  * import { normalize } from "@std/path/windows/normalize";
15
16
  * import { assertEquals } from "@std/assert";
16
17
  *
17
- * const normalized = normalize("C:\\foo\\..\\bar");
18
- * assertEquals(normalized, "C:\\bar");
18
+ * assertEquals(normalize("C:\\foo\\..\\bar"), "C:\\bar");
19
+ * assertEquals(normalize(new URL("file:///C:/foo/../bar")), "C:\\bar");
19
20
  * ```
20
21
  *
21
- * Note: If you are working with file URLs,
22
- * use the new version of `normalize` from `@std/path/windows/unstable-normalize`.
23
- *
24
22
  * @param path The path to normalize
25
23
  * @returns The normalized path
26
24
  */
27
25
  export function normalize(path) {
26
+ if (path instanceof URL) {
27
+ path = fromFileUrl(path);
28
+ }
28
29
  assertArg(path);
29
30
  const len = path.length;
30
31
  let rootEnd = 0;
@@ -135,7 +135,7 @@ function needIndentIndicator(string) {
135
135
  // STYLE_PLAIN or STYLE_SINGLE => no \n are in the string.
136
136
  // STYLE_LITERAL => no lines are suitable for folding (or lineWidth is -1).
137
137
  // STYLE_FOLDED => a line > lineWidth and can be folded (and lineWidth !== -1).
138
- function chooseScalarStyle(string, singleLineOnly, indentPerLevel, lineWidth, implicitTypes) {
138
+ function chooseScalarStyle(string, singleLineOnly, indentPerLevel, lineWidth, implicitTypes, quoteStyle) {
139
139
  const shouldTrackWidth = lineWidth !== -1;
140
140
  let hasLineBreak = false;
141
141
  let hasFoldableLine = false; // only checked if shouldTrackWidth
@@ -189,7 +189,9 @@ function chooseScalarStyle(string, singleLineOnly, indentPerLevel, lineWidth, im
189
189
  // e.g. the string 'true' vs. the boolean true.
190
190
  return plain && !implicitTypes.some((type) => type.resolve(string))
191
191
  ? STYLE_PLAIN
192
- : STYLE_SINGLE;
192
+ : quoteStyle === "'"
193
+ ? STYLE_SINGLE
194
+ : STYLE_DOUBLE;
193
195
  }
194
196
  // Edge case: block indentation indicator can only have one digit.
195
197
  if (indentPerLevel > 9 && needIndentIndicator(string)) {
@@ -327,7 +329,7 @@ function inspectNode(object, objects, duplicateObjects) {
327
329
  }
328
330
  }
329
331
  export class DumperState {
330
- constructor({ schema = DEFAULT_SCHEMA, indent = 2, arrayIndent = true, skipInvalid = false, flowLevel = -1, styles = undefined, sortKeys = false, lineWidth = 80, useAnchors = true, compatMode = true, condenseFlow = false, }) {
332
+ constructor({ schema = DEFAULT_SCHEMA, indent = 2, arrayIndent = true, skipInvalid = false, flowLevel = -1, styles = undefined, sortKeys = false, lineWidth = 80, useAnchors = true, compatMode = true, condenseFlow = false, quoteStyle = "'", }) {
331
333
  Object.defineProperty(this, "indent", {
332
334
  enumerable: true,
333
335
  configurable: true,
@@ -412,6 +414,12 @@ export class DumperState {
412
414
  writable: true,
413
415
  value: new Map()
414
416
  });
417
+ Object.defineProperty(this, "quoteStyle", {
418
+ enumerable: true,
419
+ configurable: true,
420
+ writable: true,
421
+ value: void 0
422
+ });
415
423
  this.indent = Math.max(1, indent);
416
424
  this.arrayIndent = arrayIndent;
417
425
  this.skipInvalid = skipInvalid;
@@ -425,6 +433,7 @@ export class DumperState {
425
433
  this.condenseFlow = condenseFlow;
426
434
  this.implicitTypes = schema.implicitTypes;
427
435
  this.explicitTypes = schema.explicitTypes;
436
+ this.quoteStyle = quoteStyle;
428
437
  }
429
438
  // Note: line breaking/folding is implemented for only the folded style.
430
439
  // NB. We drop the last trailing newline (if any) of a returned block scalar
@@ -457,7 +466,7 @@ export class DumperState {
457
466
  const singleLineOnly = isKey ||
458
467
  // No block styles in flow mode.
459
468
  (this.flowLevel > -1 && level >= this.flowLevel);
460
- const scalarStyle = chooseScalarStyle(string, singleLineOnly, this.indent, lineWidth, this.implicitTypes);
469
+ const scalarStyle = chooseScalarStyle(string, singleLineOnly, this.indent, lineWidth, this.implicitTypes, this.quoteStyle);
461
470
  switch (scalarStyle) {
462
471
  case STYLE_PLAIN:
463
472
  return string;