projen 0.71.51 → 0.71.53

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 (313) hide show
  1. package/.jsii +3 -3
  2. package/lib/awscdk/auto-discover.js +5 -5
  3. package/lib/awscdk/awscdk-app-java.js +1 -1
  4. package/lib/awscdk/awscdk-app-py.js +1 -1
  5. package/lib/awscdk/awscdk-app-ts.js +1 -1
  6. package/lib/awscdk/awscdk-construct.js +2 -2
  7. package/lib/awscdk/awscdk-deps-java.js +1 -1
  8. package/lib/awscdk/awscdk-deps-js.js +1 -1
  9. package/lib/awscdk/awscdk-deps-py.js +1 -1
  10. package/lib/awscdk/awscdk-deps.js +1 -1
  11. package/lib/awscdk/cdk-config.js +1 -1
  12. package/lib/awscdk/cdk-tasks.js +1 -1
  13. package/lib/awscdk/integration-test.js +1 -1
  14. package/lib/awscdk/lambda-extension.js +1 -1
  15. package/lib/awscdk/lambda-function.js +2 -2
  16. package/lib/build/build-workflow.js +1 -1
  17. package/lib/cdk/auto-discover-base.js +2 -2
  18. package/lib/cdk/construct-lib.js +1 -1
  19. package/lib/cdk/integration-test-base.js +1 -1
  20. package/lib/cdk/jsii-docgen.js +1 -1
  21. package/lib/cdk/jsii-project.js +1 -1
  22. package/lib/cdk8s/auto-discover.js +2 -2
  23. package/lib/cdk8s/cdk8s-app-py.js +1 -1
  24. package/lib/cdk8s/cdk8s-app-ts.js +1 -1
  25. package/lib/cdk8s/cdk8s-construct.js +1 -1
  26. package/lib/cdk8s/cdk8s-deps-py.js +1 -1
  27. package/lib/cdk8s/cdk8s-deps.js +1 -1
  28. package/lib/cdk8s/integration-test.js +1 -1
  29. package/lib/cdktf/cdktf-construct.js +1 -1
  30. package/lib/circleci/circleci.js +1 -1
  31. package/lib/component.js +1 -1
  32. package/lib/dependencies.js +1 -1
  33. package/lib/dev-env.js +1 -1
  34. package/lib/docker-compose/docker-compose-service.js +1 -1
  35. package/lib/docker-compose/docker-compose.js +1 -1
  36. package/lib/file.js +1 -1
  37. package/lib/gitattributes.js +1 -1
  38. package/lib/github/actions-provider.js +1 -1
  39. package/lib/github/auto-approve.js +1 -1
  40. package/lib/github/auto-merge.js +1 -1
  41. package/lib/github/dependabot.js +1 -1
  42. package/lib/github/github-credentials.js +1 -1
  43. package/lib/github/github-project.js +1 -1
  44. package/lib/github/github.js +1 -1
  45. package/lib/github/mergify.js +1 -1
  46. package/lib/github/pr-template.js +1 -1
  47. package/lib/github/pull-request-lint.js +1 -1
  48. package/lib/github/stale.js +1 -1
  49. package/lib/github/task-workflow.js +1 -1
  50. package/lib/github/workflow-actions.js +1 -1
  51. package/lib/github/workflow-jobs.js +1 -1
  52. package/lib/github/workflows.js +1 -1
  53. package/lib/gitlab/configuration.js +1 -1
  54. package/lib/gitlab/gitlab-configuration.js +1 -1
  55. package/lib/gitlab/nested-configuration.js +1 -1
  56. package/lib/gitpod.js +1 -1
  57. package/lib/ignore-file.js +1 -1
  58. package/lib/ini.js +1 -1
  59. package/lib/java/java-project.js +1 -1
  60. package/lib/java/junit.js +1 -1
  61. package/lib/java/maven-compile.js +1 -1
  62. package/lib/java/maven-packaging.js +1 -1
  63. package/lib/java/maven-sample.js +1 -1
  64. package/lib/java/pom.js +1 -1
  65. package/lib/java/projenrc.js +1 -1
  66. package/lib/javascript/bundler.js +1 -1
  67. package/lib/javascript/eslint.js +1 -1
  68. package/lib/javascript/jest.js +4 -4
  69. package/lib/javascript/node-package.js +1 -1
  70. package/lib/javascript/node-project.js +1 -1
  71. package/lib/javascript/npm-config.js +1 -1
  72. package/lib/javascript/prettier.js +1 -1
  73. package/lib/javascript/projenrc.js +1 -1
  74. package/lib/javascript/typescript-config.js +2 -2
  75. package/lib/javascript/upgrade-dependencies.js +2 -2
  76. package/lib/json-patch.js +1 -1
  77. package/lib/json.js +1 -1
  78. package/lib/license.js +1 -1
  79. package/lib/logger.js +1 -1
  80. package/lib/makefile.js +1 -1
  81. package/lib/object-file.js +1 -1
  82. package/lib/project-build.js +1 -1
  83. package/lib/project.js +1 -1
  84. package/lib/projects.js +1 -1
  85. package/lib/projenrc-json.js +2 -2
  86. package/lib/projenrc.js +1 -1
  87. package/lib/python/pip.js +1 -1
  88. package/lib/python/poetry.js +2 -2
  89. package/lib/python/projenrc.js +1 -1
  90. package/lib/python/pytest-sample.js +1 -1
  91. package/lib/python/pytest.js +1 -1
  92. package/lib/python/python-project.js +1 -1
  93. package/lib/python/python-sample.js +1 -1
  94. package/lib/python/requirements-file.js +1 -1
  95. package/lib/python/setuppy.js +1 -1
  96. package/lib/python/setuptools.js +1 -1
  97. package/lib/python/venv.js +1 -1
  98. package/lib/readme.js +1 -1
  99. package/lib/release/publisher.js +1 -1
  100. package/lib/release/release-trigger.js +1 -1
  101. package/lib/release/release.js +1 -1
  102. package/lib/renovatebot.js +1 -1
  103. package/lib/sample-file.js +2 -2
  104. package/lib/semver.js +1 -1
  105. package/lib/source-code.js +1 -1
  106. package/lib/task-runtime.js +1 -1
  107. package/lib/task.js +1 -1
  108. package/lib/tasks.js +1 -1
  109. package/lib/testing.js +1 -1
  110. package/lib/textfile.js +1 -1
  111. package/lib/toml.js +1 -1
  112. package/lib/typescript/projenrc-ts.js +1 -1
  113. package/lib/typescript/projenrc.js +1 -1
  114. package/lib/typescript/typescript-typedoc.js +1 -1
  115. package/lib/typescript/typescript.js +3 -3
  116. package/lib/version.js +1 -1
  117. package/lib/vscode/devcontainer.js +1 -1
  118. package/lib/vscode/extensions.js +1 -1
  119. package/lib/vscode/launch-config.js +1 -1
  120. package/lib/vscode/settings.js +1 -1
  121. package/lib/vscode/vscode.js +1 -1
  122. package/lib/web/next.js +3 -3
  123. package/lib/web/postcss.js +1 -1
  124. package/lib/web/react.js +4 -4
  125. package/lib/web/tailwind.js +1 -1
  126. package/lib/xmlfile.js +1 -1
  127. package/lib/yaml.js +1 -1
  128. package/node_modules/@oozcitak/dom/LICENSE +21 -21
  129. package/node_modules/@oozcitak/dom/README.md +32 -32
  130. package/node_modules/@oozcitak/dom/lib/parser/XMLParserImpl.d.ts +12 -0
  131. package/node_modules/@oozcitak/dom/lib/parser/XMLParserImpl.js +23 -3
  132. package/node_modules/@oozcitak/dom/lib/parser/XMLParserImpl.js.map +1 -1
  133. package/node_modules/@oozcitak/dom/package.json +72 -72
  134. package/node_modules/xmlbuilder2/CHANGELOG.md +95 -1
  135. package/node_modules/xmlbuilder2/README.md +5 -4
  136. package/node_modules/xmlbuilder2/lib/builder/XMLBuilderCBImpl.d.ts +3 -1
  137. package/node_modules/xmlbuilder2/lib/builder/XMLBuilderCBImpl.js +44 -53
  138. package/node_modules/xmlbuilder2/lib/builder/XMLBuilderCBImpl.js.map +1 -1
  139. package/node_modules/xmlbuilder2/lib/constants.d.ts +1 -0
  140. package/node_modules/xmlbuilder2/lib/constants.js +4 -0
  141. package/node_modules/xmlbuilder2/lib/constants.js.map +1 -0
  142. package/node_modules/xmlbuilder2/lib/interfaces.d.ts +20 -8
  143. package/node_modules/xmlbuilder2/lib/interfaces.js +1 -0
  144. package/node_modules/xmlbuilder2/lib/interfaces.js.map +1 -1
  145. package/node_modules/xmlbuilder2/lib/readers/BaseReader.d.ts +14 -1
  146. package/node_modules/xmlbuilder2/lib/readers/BaseReader.js +30 -1
  147. package/node_modules/xmlbuilder2/lib/readers/BaseReader.js.map +1 -1
  148. package/node_modules/xmlbuilder2/lib/readers/ObjectReader.js +12 -5
  149. package/node_modules/xmlbuilder2/lib/readers/ObjectReader.js.map +1 -1
  150. package/node_modules/xmlbuilder2/lib/readers/XMLReader.js +11 -5
  151. package/node_modules/xmlbuilder2/lib/readers/XMLReader.js.map +1 -1
  152. package/node_modules/xmlbuilder2/lib/writers/BaseWriter.d.ts +1 -1
  153. package/node_modules/xmlbuilder2/lib/writers/BaseWriter.js +58 -92
  154. package/node_modules/xmlbuilder2/lib/writers/BaseWriter.js.map +1 -1
  155. package/node_modules/xmlbuilder2/lib/writers/JSONWriter.js +1 -3
  156. package/node_modules/xmlbuilder2/lib/writers/JSONWriter.js.map +1 -1
  157. package/node_modules/xmlbuilder2/lib/writers/MapWriter.js +0 -2
  158. package/node_modules/xmlbuilder2/lib/writers/MapWriter.js.map +1 -1
  159. package/node_modules/xmlbuilder2/lib/writers/ObjectWriter.js +1 -2
  160. package/node_modules/xmlbuilder2/lib/writers/ObjectWriter.js.map +1 -1
  161. package/node_modules/xmlbuilder2/lib/writers/XMLWriter.js +1 -2
  162. package/node_modules/xmlbuilder2/lib/writers/XMLWriter.js.map +1 -1
  163. package/node_modules/xmlbuilder2/lib/writers/YAMLWriter.js +1 -3
  164. package/node_modules/xmlbuilder2/lib/writers/YAMLWriter.js.map +1 -1
  165. package/node_modules/xmlbuilder2/lib/xmlbuilder2.min.js +2 -2
  166. package/node_modules/xmlbuilder2/node_modules/js-yaml/CHANGELOG.md +6 -0
  167. package/node_modules/xmlbuilder2/node_modules/js-yaml/dist/js-yaml.js +2 -2
  168. package/node_modules/xmlbuilder2/node_modules/js-yaml/dist/js-yaml.min.js +1 -1
  169. package/node_modules/xmlbuilder2/node_modules/js-yaml/lib/js-yaml/loader.js +1 -1
  170. package/node_modules/xmlbuilder2/node_modules/js-yaml/package.json +1 -1
  171. package/node_modules/xmlbuilder2/package.json +7 -7
  172. package/package.json +2 -2
  173. package/node_modules/@oozcitak/dom/lib/serializer/XMLSerializerImpl2.d.ts +0 -2
  174. package/node_modules/@oozcitak/dom/lib/serializer/XMLSerializerImpl2.js +0 -962
  175. package/node_modules/@oozcitak/dom/lib/serializer/XMLSerializerImpl2.js.map +0 -1
  176. package/node_modules/xmlbuilder2/node_modules/@types/node/LICENSE +0 -21
  177. package/node_modules/xmlbuilder2/node_modules/@types/node/README.md +0 -16
  178. package/node_modules/xmlbuilder2/node_modules/@types/node/assert/strict.d.ts +0 -8
  179. package/node_modules/xmlbuilder2/node_modules/@types/node/assert.d.ts +0 -957
  180. package/node_modules/xmlbuilder2/node_modules/@types/node/async_hooks.d.ts +0 -538
  181. package/node_modules/xmlbuilder2/node_modules/@types/node/buffer.d.ts +0 -2348
  182. package/node_modules/xmlbuilder2/node_modules/@types/node/child_process.d.ts +0 -1368
  183. package/node_modules/xmlbuilder2/node_modules/@types/node/cluster.d.ts +0 -410
  184. package/node_modules/xmlbuilder2/node_modules/@types/node/console.d.ts +0 -412
  185. package/node_modules/xmlbuilder2/node_modules/@types/node/constants.d.ts +0 -18
  186. package/node_modules/xmlbuilder2/node_modules/@types/node/crypto.d.ts +0 -3962
  187. package/node_modules/xmlbuilder2/node_modules/@types/node/dgram.d.ts +0 -545
  188. package/node_modules/xmlbuilder2/node_modules/@types/node/diagnostics_channel.d.ts +0 -191
  189. package/node_modules/xmlbuilder2/node_modules/@types/node/dns/promises.d.ts +0 -370
  190. package/node_modules/xmlbuilder2/node_modules/@types/node/dns.d.ts +0 -667
  191. package/node_modules/xmlbuilder2/node_modules/@types/node/dom-events.d.ts +0 -126
  192. package/node_modules/xmlbuilder2/node_modules/@types/node/domain.d.ts +0 -170
  193. package/node_modules/xmlbuilder2/node_modules/@types/node/events.d.ts +0 -682
  194. package/node_modules/xmlbuilder2/node_modules/@types/node/fs/promises.d.ts +0 -1189
  195. package/node_modules/xmlbuilder2/node_modules/@types/node/fs.d.ts +0 -4011
  196. package/node_modules/xmlbuilder2/node_modules/@types/node/globals.d.ts +0 -302
  197. package/node_modules/xmlbuilder2/node_modules/@types/node/globals.global.d.ts +0 -1
  198. package/node_modules/xmlbuilder2/node_modules/@types/node/http.d.ts +0 -1724
  199. package/node_modules/xmlbuilder2/node_modules/@types/node/http2.d.ts +0 -2129
  200. package/node_modules/xmlbuilder2/node_modules/@types/node/https.d.ts +0 -441
  201. package/node_modules/xmlbuilder2/node_modules/@types/node/index.d.ts +0 -134
  202. package/node_modules/xmlbuilder2/node_modules/@types/node/inspector.d.ts +0 -2748
  203. package/node_modules/xmlbuilder2/node_modules/@types/node/module.d.ts +0 -116
  204. package/node_modules/xmlbuilder2/node_modules/@types/node/net.d.ts +0 -886
  205. package/node_modules/xmlbuilder2/node_modules/@types/node/os.d.ts +0 -477
  206. package/node_modules/xmlbuilder2/node_modules/@types/node/package.json +0 -237
  207. package/node_modules/xmlbuilder2/node_modules/@types/node/path.d.ts +0 -191
  208. package/node_modules/xmlbuilder2/node_modules/@types/node/perf_hooks.d.ts +0 -638
  209. package/node_modules/xmlbuilder2/node_modules/@types/node/process.d.ts +0 -1485
  210. package/node_modules/xmlbuilder2/node_modules/@types/node/punycode.d.ts +0 -117
  211. package/node_modules/xmlbuilder2/node_modules/@types/node/querystring.d.ts +0 -131
  212. package/node_modules/xmlbuilder2/node_modules/@types/node/readline/promises.d.ts +0 -145
  213. package/node_modules/xmlbuilder2/node_modules/@types/node/readline.d.ts +0 -653
  214. package/node_modules/xmlbuilder2/node_modules/@types/node/repl.d.ts +0 -424
  215. package/node_modules/xmlbuilder2/node_modules/@types/node/stream/consumers.d.ts +0 -12
  216. package/node_modules/xmlbuilder2/node_modules/@types/node/stream/promises.d.ts +0 -42
  217. package/node_modules/xmlbuilder2/node_modules/@types/node/stream/web.d.ts +0 -330
  218. package/node_modules/xmlbuilder2/node_modules/@types/node/stream.d.ts +0 -1392
  219. package/node_modules/xmlbuilder2/node_modules/@types/node/string_decoder.d.ts +0 -67
  220. package/node_modules/xmlbuilder2/node_modules/@types/node/test.d.ts +0 -997
  221. package/node_modules/xmlbuilder2/node_modules/@types/node/timers/promises.d.ts +0 -93
  222. package/node_modules/xmlbuilder2/node_modules/@types/node/timers.d.ts +0 -101
  223. package/node_modules/xmlbuilder2/node_modules/@types/node/tls.d.ts +0 -1119
  224. package/node_modules/xmlbuilder2/node_modules/@types/node/trace_events.d.ts +0 -182
  225. package/node_modules/xmlbuilder2/node_modules/@types/node/ts4.8/assert/strict.d.ts +0 -8
  226. package/node_modules/xmlbuilder2/node_modules/@types/node/ts4.8/assert.d.ts +0 -957
  227. package/node_modules/xmlbuilder2/node_modules/@types/node/ts4.8/async_hooks.d.ts +0 -538
  228. package/node_modules/xmlbuilder2/node_modules/@types/node/ts4.8/buffer.d.ts +0 -2348
  229. package/node_modules/xmlbuilder2/node_modules/@types/node/ts4.8/child_process.d.ts +0 -1368
  230. package/node_modules/xmlbuilder2/node_modules/@types/node/ts4.8/cluster.d.ts +0 -410
  231. package/node_modules/xmlbuilder2/node_modules/@types/node/ts4.8/console.d.ts +0 -412
  232. package/node_modules/xmlbuilder2/node_modules/@types/node/ts4.8/constants.d.ts +0 -18
  233. package/node_modules/xmlbuilder2/node_modules/@types/node/ts4.8/crypto.d.ts +0 -3961
  234. package/node_modules/xmlbuilder2/node_modules/@types/node/ts4.8/dgram.d.ts +0 -545
  235. package/node_modules/xmlbuilder2/node_modules/@types/node/ts4.8/diagnostics_channel.d.ts +0 -191
  236. package/node_modules/xmlbuilder2/node_modules/@types/node/ts4.8/dns/promises.d.ts +0 -370
  237. package/node_modules/xmlbuilder2/node_modules/@types/node/ts4.8/dns.d.ts +0 -667
  238. package/node_modules/xmlbuilder2/node_modules/@types/node/ts4.8/dom-events.d.ts +0 -126
  239. package/node_modules/xmlbuilder2/node_modules/@types/node/ts4.8/domain.d.ts +0 -170
  240. package/node_modules/xmlbuilder2/node_modules/@types/node/ts4.8/events.d.ts +0 -682
  241. package/node_modules/xmlbuilder2/node_modules/@types/node/ts4.8/fs/promises.d.ts +0 -1189
  242. package/node_modules/xmlbuilder2/node_modules/@types/node/ts4.8/fs.d.ts +0 -4011
  243. package/node_modules/xmlbuilder2/node_modules/@types/node/ts4.8/globals.d.ts +0 -302
  244. package/node_modules/xmlbuilder2/node_modules/@types/node/ts4.8/globals.global.d.ts +0 -1
  245. package/node_modules/xmlbuilder2/node_modules/@types/node/ts4.8/http.d.ts +0 -1723
  246. package/node_modules/xmlbuilder2/node_modules/@types/node/ts4.8/http2.d.ts +0 -2129
  247. package/node_modules/xmlbuilder2/node_modules/@types/node/ts4.8/https.d.ts +0 -441
  248. package/node_modules/xmlbuilder2/node_modules/@types/node/ts4.8/index.d.ts +0 -88
  249. package/node_modules/xmlbuilder2/node_modules/@types/node/ts4.8/inspector.d.ts +0 -2748
  250. package/node_modules/xmlbuilder2/node_modules/@types/node/ts4.8/module.d.ts +0 -116
  251. package/node_modules/xmlbuilder2/node_modules/@types/node/ts4.8/net.d.ts +0 -886
  252. package/node_modules/xmlbuilder2/node_modules/@types/node/ts4.8/os.d.ts +0 -477
  253. package/node_modules/xmlbuilder2/node_modules/@types/node/ts4.8/path.d.ts +0 -191
  254. package/node_modules/xmlbuilder2/node_modules/@types/node/ts4.8/perf_hooks.d.ts +0 -638
  255. package/node_modules/xmlbuilder2/node_modules/@types/node/ts4.8/process.d.ts +0 -1485
  256. package/node_modules/xmlbuilder2/node_modules/@types/node/ts4.8/punycode.d.ts +0 -117
  257. package/node_modules/xmlbuilder2/node_modules/@types/node/ts4.8/querystring.d.ts +0 -131
  258. package/node_modules/xmlbuilder2/node_modules/@types/node/ts4.8/readline/promises.d.ts +0 -145
  259. package/node_modules/xmlbuilder2/node_modules/@types/node/ts4.8/readline.d.ts +0 -653
  260. package/node_modules/xmlbuilder2/node_modules/@types/node/ts4.8/repl.d.ts +0 -424
  261. package/node_modules/xmlbuilder2/node_modules/@types/node/ts4.8/stream/consumers.d.ts +0 -12
  262. package/node_modules/xmlbuilder2/node_modules/@types/node/ts4.8/stream/promises.d.ts +0 -42
  263. package/node_modules/xmlbuilder2/node_modules/@types/node/ts4.8/stream/web.d.ts +0 -330
  264. package/node_modules/xmlbuilder2/node_modules/@types/node/ts4.8/stream.d.ts +0 -1392
  265. package/node_modules/xmlbuilder2/node_modules/@types/node/ts4.8/string_decoder.d.ts +0 -67
  266. package/node_modules/xmlbuilder2/node_modules/@types/node/ts4.8/test.d.ts +0 -997
  267. package/node_modules/xmlbuilder2/node_modules/@types/node/ts4.8/timers/promises.d.ts +0 -93
  268. package/node_modules/xmlbuilder2/node_modules/@types/node/ts4.8/timers.d.ts +0 -101
  269. package/node_modules/xmlbuilder2/node_modules/@types/node/ts4.8/tls.d.ts +0 -1119
  270. package/node_modules/xmlbuilder2/node_modules/@types/node/ts4.8/trace_events.d.ts +0 -182
  271. package/node_modules/xmlbuilder2/node_modules/@types/node/ts4.8/tty.d.ts +0 -205
  272. package/node_modules/xmlbuilder2/node_modules/@types/node/ts4.8/url.d.ts +0 -892
  273. package/node_modules/xmlbuilder2/node_modules/@types/node/ts4.8/util.d.ts +0 -2044
  274. package/node_modules/xmlbuilder2/node_modules/@types/node/ts4.8/v8.d.ts +0 -635
  275. package/node_modules/xmlbuilder2/node_modules/@types/node/ts4.8/vm.d.ts +0 -894
  276. package/node_modules/xmlbuilder2/node_modules/@types/node/ts4.8/wasi.d.ts +0 -152
  277. package/node_modules/xmlbuilder2/node_modules/@types/node/ts4.8/worker_threads.d.ts +0 -693
  278. package/node_modules/xmlbuilder2/node_modules/@types/node/ts4.8/zlib.d.ts +0 -517
  279. package/node_modules/xmlbuilder2/node_modules/@types/node/tty.d.ts +0 -205
  280. package/node_modules/xmlbuilder2/node_modules/@types/node/url.d.ts +0 -892
  281. package/node_modules/xmlbuilder2/node_modules/@types/node/util.d.ts +0 -2052
  282. package/node_modules/xmlbuilder2/node_modules/@types/node/v8.d.ts +0 -635
  283. package/node_modules/xmlbuilder2/node_modules/@types/node/vm.d.ts +0 -894
  284. package/node_modules/xmlbuilder2/node_modules/@types/node/wasi.d.ts +0 -152
  285. package/node_modules/xmlbuilder2/node_modules/@types/node/worker_threads.d.ts +0 -693
  286. package/node_modules/xmlbuilder2/node_modules/@types/node/zlib.d.ts +0 -517
  287. /package/node_modules/{argparse → xmlbuilder2/node_modules/argparse}/CHANGELOG.md +0 -0
  288. /package/node_modules/{argparse → xmlbuilder2/node_modules/argparse}/LICENSE +0 -0
  289. /package/node_modules/{argparse → xmlbuilder2/node_modules/argparse}/README.md +0 -0
  290. /package/node_modules/{argparse → xmlbuilder2/node_modules/argparse}/index.js +0 -0
  291. /package/node_modules/{argparse → xmlbuilder2/node_modules/argparse}/lib/action/append/constant.js +0 -0
  292. /package/node_modules/{argparse → xmlbuilder2/node_modules/argparse}/lib/action/append.js +0 -0
  293. /package/node_modules/{argparse → xmlbuilder2/node_modules/argparse}/lib/action/count.js +0 -0
  294. /package/node_modules/{argparse → xmlbuilder2/node_modules/argparse}/lib/action/help.js +0 -0
  295. /package/node_modules/{argparse → xmlbuilder2/node_modules/argparse}/lib/action/store/constant.js +0 -0
  296. /package/node_modules/{argparse → xmlbuilder2/node_modules/argparse}/lib/action/store/false.js +0 -0
  297. /package/node_modules/{argparse → xmlbuilder2/node_modules/argparse}/lib/action/store/true.js +0 -0
  298. /package/node_modules/{argparse → xmlbuilder2/node_modules/argparse}/lib/action/store.js +0 -0
  299. /package/node_modules/{argparse → xmlbuilder2/node_modules/argparse}/lib/action/subparsers.js +0 -0
  300. /package/node_modules/{argparse → xmlbuilder2/node_modules/argparse}/lib/action/version.js +0 -0
  301. /package/node_modules/{argparse → xmlbuilder2/node_modules/argparse}/lib/action.js +0 -0
  302. /package/node_modules/{argparse → xmlbuilder2/node_modules/argparse}/lib/action_container.js +0 -0
  303. /package/node_modules/{argparse → xmlbuilder2/node_modules/argparse}/lib/argparse.js +0 -0
  304. /package/node_modules/{argparse → xmlbuilder2/node_modules/argparse}/lib/argument/error.js +0 -0
  305. /package/node_modules/{argparse → xmlbuilder2/node_modules/argparse}/lib/argument/exclusive.js +0 -0
  306. /package/node_modules/{argparse → xmlbuilder2/node_modules/argparse}/lib/argument/group.js +0 -0
  307. /package/node_modules/{argparse → xmlbuilder2/node_modules/argparse}/lib/argument_parser.js +0 -0
  308. /package/node_modules/{argparse → xmlbuilder2/node_modules/argparse}/lib/const.js +0 -0
  309. /package/node_modules/{argparse → xmlbuilder2/node_modules/argparse}/lib/help/added_formatters.js +0 -0
  310. /package/node_modules/{argparse → xmlbuilder2/node_modules/argparse}/lib/help/formatter.js +0 -0
  311. /package/node_modules/{argparse → xmlbuilder2/node_modules/argparse}/lib/namespace.js +0 -0
  312. /package/node_modules/{argparse → xmlbuilder2/node_modules/argparse}/lib/utils.js +0 -0
  313. /package/node_modules/{argparse → xmlbuilder2/node_modules/argparse}/package.json +0 -0
@@ -1,191 +0,0 @@
1
- /**
2
- * The `node:diagnostics_channel` module provides an API to create named channels
3
- * to report arbitrary message data for diagnostics purposes.
4
- *
5
- * It can be accessed using:
6
- *
7
- * ```js
8
- * import diagnostics_channel from 'node:diagnostics_channel';
9
- * ```
10
- *
11
- * It is intended that a module writer wanting to report diagnostics messages
12
- * will create one or many top-level channels to report messages through.
13
- * Channels may also be acquired at runtime but it is not encouraged
14
- * due to the additional overhead of doing so. Channels may be exported for
15
- * convenience, but as long as the name is known it can be acquired anywhere.
16
- *
17
- * If you intend for your module to produce diagnostics data for others to
18
- * consume it is recommended that you include documentation of what named
19
- * channels are used along with the shape of the message data. Channel names
20
- * should generally include the module name to avoid collisions with data from
21
- * other modules.
22
- * @since v15.1.0, v14.17.0
23
- * @see [source](https://github.com/nodejs/node/blob/v20.1.0/lib/diagnostics_channel.js)
24
- */
25
- declare module 'diagnostics_channel' {
26
- /**
27
- * Check if there are active subscribers to the named channel. This is helpful if
28
- * the message you want to send might be expensive to prepare.
29
- *
30
- * This API is optional but helpful when trying to publish messages from very
31
- * performance-sensitive code.
32
- *
33
- * ```js
34
- * import diagnostics_channel from 'node:diagnostics_channel';
35
- *
36
- * if (diagnostics_channel.hasSubscribers('my-channel')) {
37
- * // There are subscribers, prepare and publish message
38
- * }
39
- * ```
40
- * @since v15.1.0, v14.17.0
41
- * @param name The channel name
42
- * @return If there are active subscribers
43
- */
44
- function hasSubscribers(name: string | symbol): boolean;
45
- /**
46
- * This is the primary entry-point for anyone wanting to publish to a named
47
- * channel. It produces a channel object which is optimized to reduce overhead at
48
- * publish time as much as possible.
49
- *
50
- * ```js
51
- * import diagnostics_channel from 'node:diagnostics_channel';
52
- *
53
- * const channel = diagnostics_channel.channel('my-channel');
54
- * ```
55
- * @since v15.1.0, v14.17.0
56
- * @param name The channel name
57
- * @return The named channel object
58
- */
59
- function channel(name: string | symbol): Channel;
60
- type ChannelListener = (message: unknown, name: string | symbol) => void;
61
- /**
62
- * Register a message handler to subscribe to this channel. This message handler
63
- * will be run synchronously whenever a message is published to the channel. Any
64
- * errors thrown in the message handler will trigger an `'uncaughtException'`.
65
- *
66
- * ```js
67
- * import diagnostics_channel from 'node:diagnostics_channel';
68
- *
69
- * diagnostics_channel.subscribe('my-channel', (message, name) => {
70
- * // Received data
71
- * });
72
- * ```
73
- * @since v18.7.0, v16.17.0
74
- * @param name The channel name
75
- * @param onMessage The handler to receive channel messages
76
- */
77
- function subscribe(name: string | symbol, onMessage: ChannelListener): void;
78
- /**
79
- * Remove a message handler previously registered to this channel with {@link subscribe}.
80
- *
81
- * ```js
82
- * import diagnostics_channel from 'node:diagnostics_channel';
83
- *
84
- * function onMessage(message, name) {
85
- * // Received data
86
- * }
87
- *
88
- * diagnostics_channel.subscribe('my-channel', onMessage);
89
- *
90
- * diagnostics_channel.unsubscribe('my-channel', onMessage);
91
- * ```
92
- * @since v18.7.0, v16.17.0
93
- * @param name The channel name
94
- * @param onMessage The previous subscribed handler to remove
95
- * @return `true` if the handler was found, `false` otherwise.
96
- */
97
- function unsubscribe(name: string | symbol, onMessage: ChannelListener): boolean;
98
- /**
99
- * The class `Channel` represents an individual named channel within the data
100
- * pipeline. It is used to track subscribers and to publish messages when there
101
- * are subscribers present. It exists as a separate object to avoid channel
102
- * lookups at publish time, enabling very fast publish speeds and allowing
103
- * for heavy use while incurring very minimal cost. Channels are created with {@link channel}, constructing a channel directly
104
- * with `new Channel(name)` is not supported.
105
- * @since v15.1.0, v14.17.0
106
- */
107
- class Channel {
108
- readonly name: string | symbol;
109
- /**
110
- * Check if there are active subscribers to this channel. This is helpful if
111
- * the message you want to send might be expensive to prepare.
112
- *
113
- * This API is optional but helpful when trying to publish messages from very
114
- * performance-sensitive code.
115
- *
116
- * ```js
117
- * import diagnostics_channel from 'node:diagnostics_channel';
118
- *
119
- * const channel = diagnostics_channel.channel('my-channel');
120
- *
121
- * if (channel.hasSubscribers) {
122
- * // There are subscribers, prepare and publish message
123
- * }
124
- * ```
125
- * @since v15.1.0, v14.17.0
126
- */
127
- readonly hasSubscribers: boolean;
128
- private constructor(name: string | symbol);
129
- /**
130
- * Publish a message to any subscribers to the channel. This will trigger
131
- * message handlers synchronously so they will execute within the same context.
132
- *
133
- * ```js
134
- * import diagnostics_channel from 'node:diagnostics_channel';
135
- *
136
- * const channel = diagnostics_channel.channel('my-channel');
137
- *
138
- * channel.publish({
139
- * some: 'message',
140
- * });
141
- * ```
142
- * @since v15.1.0, v14.17.0
143
- * @param message The message to send to the channel subscribers
144
- */
145
- publish(message: unknown): void;
146
- /**
147
- * Register a message handler to subscribe to this channel. This message handler
148
- * will be run synchronously whenever a message is published to the channel. Any
149
- * errors thrown in the message handler will trigger an `'uncaughtException'`.
150
- *
151
- * ```js
152
- * import diagnostics_channel from 'node:diagnostics_channel';
153
- *
154
- * const channel = diagnostics_channel.channel('my-channel');
155
- *
156
- * channel.subscribe((message, name) => {
157
- * // Received data
158
- * });
159
- * ```
160
- * @since v15.1.0, v14.17.0
161
- * @deprecated Since v18.7.0,v16.17.0 - Use {@link subscribe(name, onMessage)}
162
- * @param onMessage The handler to receive channel messages
163
- */
164
- subscribe(onMessage: ChannelListener): void;
165
- /**
166
- * Remove a message handler previously registered to this channel with `channel.subscribe(onMessage)`.
167
- *
168
- * ```js
169
- * import diagnostics_channel from 'node:diagnostics_channel';
170
- *
171
- * const channel = diagnostics_channel.channel('my-channel');
172
- *
173
- * function onMessage(message, name) {
174
- * // Received data
175
- * }
176
- *
177
- * channel.subscribe(onMessage);
178
- *
179
- * channel.unsubscribe(onMessage);
180
- * ```
181
- * @since v15.1.0, v14.17.0
182
- * @deprecated Since v18.7.0,v16.17.0 - Use {@link unsubscribe(name, onMessage)}
183
- * @param onMessage The previous subscribed handler to remove
184
- * @return `true` if the handler was found, `false` otherwise.
185
- */
186
- unsubscribe(onMessage: ChannelListener): void;
187
- }
188
- }
189
- declare module 'node:diagnostics_channel' {
190
- export * from 'diagnostics_channel';
191
- }
@@ -1,370 +0,0 @@
1
- /**
2
- * The `dns.promises` API provides an alternative set of asynchronous DNS methods
3
- * that return `Promise` objects rather than using callbacks. The API is accessible
4
- * via `require('node:dns').promises` or `require('node:dns/promises')`.
5
- * @since v10.6.0
6
- */
7
- declare module 'dns/promises' {
8
- import {
9
- LookupAddress,
10
- LookupOneOptions,
11
- LookupAllOptions,
12
- LookupOptions,
13
- AnyRecord,
14
- CaaRecord,
15
- MxRecord,
16
- NaptrRecord,
17
- SoaRecord,
18
- SrvRecord,
19
- ResolveWithTtlOptions,
20
- RecordWithTtl,
21
- ResolveOptions,
22
- ResolverOptions,
23
- } from 'node:dns';
24
- /**
25
- * Returns an array of IP address strings, formatted according to [RFC 5952](https://tools.ietf.org/html/rfc5952#section-6),
26
- * that are currently configured for DNS resolution. A string will include a port
27
- * section if a custom port is used.
28
- *
29
- * ```js
30
- * [
31
- * '4.4.4.4',
32
- * '2001:4860:4860::8888',
33
- * '4.4.4.4:1053',
34
- * '[2001:4860:4860::8888]:1053',
35
- * ]
36
- * ```
37
- * @since v10.6.0
38
- */
39
- function getServers(): string[];
40
- /**
41
- * Resolves a host name (e.g. `'nodejs.org'`) into the first found A (IPv4) or
42
- * AAAA (IPv6) record. All `option` properties are optional. If `options` is an
43
- * integer, then it must be `4` or `6` – if `options` is not provided, then IPv4
44
- * and IPv6 addresses are both returned if found.
45
- *
46
- * With the `all` option set to `true`, the `Promise` is resolved with `addresses`being an array of objects with the properties `address` and `family`.
47
- *
48
- * On error, the `Promise` is rejected with an `Error` object, where `err.code`is the error code.
49
- * Keep in mind that `err.code` will be set to `'ENOTFOUND'` not only when
50
- * the host name does not exist but also when the lookup fails in other ways
51
- * such as no available file descriptors.
52
- *
53
- * `dnsPromises.lookup()` does not necessarily have anything to do with the DNS
54
- * protocol. The implementation uses an operating system facility that can
55
- * associate names with addresses and vice versa. This implementation can have
56
- * subtle but important consequences on the behavior of any Node.js program. Please
57
- * take some time to consult the `Implementation considerations section` before
58
- * using `dnsPromises.lookup()`.
59
- *
60
- * Example usage:
61
- *
62
- * ```js
63
- * const dns = require('node:dns');
64
- * const dnsPromises = dns.promises;
65
- * const options = {
66
- * family: 6,
67
- * hints: dns.ADDRCONFIG | dns.V4MAPPED,
68
- * };
69
- *
70
- * dnsPromises.lookup('example.com', options).then((result) => {
71
- * console.log('address: %j family: IPv%s', result.address, result.family);
72
- * // address: "2606:2800:220:1:248:1893:25c8:1946" family: IPv6
73
- * });
74
- *
75
- * // When options.all is true, the result will be an Array.
76
- * options.all = true;
77
- * dnsPromises.lookup('example.com', options).then((result) => {
78
- * console.log('addresses: %j', result);
79
- * // addresses: [{"address":"2606:2800:220:1:248:1893:25c8:1946","family":6}]
80
- * });
81
- * ```
82
- * @since v10.6.0
83
- */
84
- function lookup(hostname: string, family: number): Promise<LookupAddress>;
85
- function lookup(hostname: string, options: LookupOneOptions): Promise<LookupAddress>;
86
- function lookup(hostname: string, options: LookupAllOptions): Promise<LookupAddress[]>;
87
- function lookup(hostname: string, options: LookupOptions): Promise<LookupAddress | LookupAddress[]>;
88
- function lookup(hostname: string): Promise<LookupAddress>;
89
- /**
90
- * Resolves the given `address` and `port` into a host name and service using
91
- * the operating system's underlying `getnameinfo` implementation.
92
- *
93
- * If `address` is not a valid IP address, a `TypeError` will be thrown.
94
- * The `port` will be coerced to a number. If it is not a legal port, a `TypeError`will be thrown.
95
- *
96
- * On error, the `Promise` is rejected with an `Error` object, where `err.code`is the error code.
97
- *
98
- * ```js
99
- * const dnsPromises = require('node:dns').promises;
100
- * dnsPromises.lookupService('127.0.0.1', 22).then((result) => {
101
- * console.log(result.hostname, result.service);
102
- * // Prints: localhost ssh
103
- * });
104
- * ```
105
- * @since v10.6.0
106
- */
107
- function lookupService(
108
- address: string,
109
- port: number
110
- ): Promise<{
111
- hostname: string;
112
- service: string;
113
- }>;
114
- /**
115
- * Uses the DNS protocol to resolve a host name (e.g. `'nodejs.org'`) into an array
116
- * of the resource records. When successful, the `Promise` is resolved with an
117
- * array of resource records. The type and structure of individual results vary
118
- * based on `rrtype`:
119
- *
120
- * <omitted>
121
- *
122
- * On error, the `Promise` is rejected with an `Error` object, where `err.code`is one of the `DNS error codes`.
123
- * @since v10.6.0
124
- * @param hostname Host name to resolve.
125
- * @param [rrtype='A'] Resource record type.
126
- */
127
- function resolve(hostname: string): Promise<string[]>;
128
- function resolve(hostname: string, rrtype: 'A'): Promise<string[]>;
129
- function resolve(hostname: string, rrtype: 'AAAA'): Promise<string[]>;
130
- function resolve(hostname: string, rrtype: 'ANY'): Promise<AnyRecord[]>;
131
- function resolve(hostname: string, rrtype: 'CAA'): Promise<CaaRecord[]>;
132
- function resolve(hostname: string, rrtype: 'CNAME'): Promise<string[]>;
133
- function resolve(hostname: string, rrtype: 'MX'): Promise<MxRecord[]>;
134
- function resolve(hostname: string, rrtype: 'NAPTR'): Promise<NaptrRecord[]>;
135
- function resolve(hostname: string, rrtype: 'NS'): Promise<string[]>;
136
- function resolve(hostname: string, rrtype: 'PTR'): Promise<string[]>;
137
- function resolve(hostname: string, rrtype: 'SOA'): Promise<SoaRecord>;
138
- function resolve(hostname: string, rrtype: 'SRV'): Promise<SrvRecord[]>;
139
- function resolve(hostname: string, rrtype: 'TXT'): Promise<string[][]>;
140
- function resolve(hostname: string, rrtype: string): Promise<string[] | MxRecord[] | NaptrRecord[] | SoaRecord | SrvRecord[] | string[][] | AnyRecord[]>;
141
- /**
142
- * Uses the DNS protocol to resolve IPv4 addresses (`A` records) for the`hostname`. On success, the `Promise` is resolved with an array of IPv4
143
- * addresses (e.g. `['74.125.79.104', '74.125.79.105', '74.125.79.106']`).
144
- * @since v10.6.0
145
- * @param hostname Host name to resolve.
146
- */
147
- function resolve4(hostname: string): Promise<string[]>;
148
- function resolve4(hostname: string, options: ResolveWithTtlOptions): Promise<RecordWithTtl[]>;
149
- function resolve4(hostname: string, options: ResolveOptions): Promise<string[] | RecordWithTtl[]>;
150
- /**
151
- * Uses the DNS protocol to resolve IPv6 addresses (`AAAA` records) for the`hostname`. On success, the `Promise` is resolved with an array of IPv6
152
- * addresses.
153
- * @since v10.6.0
154
- * @param hostname Host name to resolve.
155
- */
156
- function resolve6(hostname: string): Promise<string[]>;
157
- function resolve6(hostname: string, options: ResolveWithTtlOptions): Promise<RecordWithTtl[]>;
158
- function resolve6(hostname: string, options: ResolveOptions): Promise<string[] | RecordWithTtl[]>;
159
- /**
160
- * Uses the DNS protocol to resolve all records (also known as `ANY` or `*` query).
161
- * On success, the `Promise` is resolved with an array containing various types of
162
- * records. Each object has a property `type` that indicates the type of the
163
- * current record. And depending on the `type`, additional properties will be
164
- * present on the object:
165
- *
166
- * <omitted>
167
- *
168
- * Here is an example of the result object:
169
- *
170
- * ```js
171
- * [ { type: 'A', address: '127.0.0.1', ttl: 299 },
172
- * { type: 'CNAME', value: 'example.com' },
173
- * { type: 'MX', exchange: 'alt4.aspmx.l.example.com', priority: 50 },
174
- * { type: 'NS', value: 'ns1.example.com' },
175
- * { type: 'TXT', entries: [ 'v=spf1 include:_spf.example.com ~all' ] },
176
- * { type: 'SOA',
177
- * nsname: 'ns1.example.com',
178
- * hostmaster: 'admin.example.com',
179
- * serial: 156696742,
180
- * refresh: 900,
181
- * retry: 900,
182
- * expire: 1800,
183
- * minttl: 60 } ]
184
- * ```
185
- * @since v10.6.0
186
- */
187
- function resolveAny(hostname: string): Promise<AnyRecord[]>;
188
- /**
189
- * Uses the DNS protocol to resolve `CAA` records for the `hostname`. On success,
190
- * the `Promise` is resolved with an array of objects containing available
191
- * certification authority authorization records available for the `hostname`(e.g. `[{critical: 0, iodef: 'mailto:pki@example.com'},{critical: 128, issue: 'pki.example.com'}]`).
192
- * @since v15.0.0, v14.17.0
193
- */
194
- function resolveCaa(hostname: string): Promise<CaaRecord[]>;
195
- /**
196
- * Uses the DNS protocol to resolve `CNAME` records for the `hostname`. On success,
197
- * the `Promise` is resolved with an array of canonical name records available for
198
- * the `hostname` (e.g. `['bar.example.com']`).
199
- * @since v10.6.0
200
- */
201
- function resolveCname(hostname: string): Promise<string[]>;
202
- /**
203
- * Uses the DNS protocol to resolve mail exchange records (`MX` records) for the`hostname`. On success, the `Promise` is resolved with an array of objects
204
- * containing both a `priority` and `exchange` property (e.g.`[{priority: 10, exchange: 'mx.example.com'}, ...]`).
205
- * @since v10.6.0
206
- */
207
- function resolveMx(hostname: string): Promise<MxRecord[]>;
208
- /**
209
- * Uses the DNS protocol to resolve regular expression-based records (`NAPTR`records) for the `hostname`. On success, the `Promise` is resolved with an array
210
- * of objects with the following properties:
211
- *
212
- * * `flags`
213
- * * `service`
214
- * * `regexp`
215
- * * `replacement`
216
- * * `order`
217
- * * `preference`
218
- *
219
- * ```js
220
- * {
221
- * flags: 's',
222
- * service: 'SIP+D2U',
223
- * regexp: '',
224
- * replacement: '_sip._udp.example.com',
225
- * order: 30,
226
- * preference: 100
227
- * }
228
- * ```
229
- * @since v10.6.0
230
- */
231
- function resolveNaptr(hostname: string): Promise<NaptrRecord[]>;
232
- /**
233
- * Uses the DNS protocol to resolve name server records (`NS` records) for the`hostname`. On success, the `Promise` is resolved with an array of name server
234
- * records available for `hostname` (e.g.`['ns1.example.com', 'ns2.example.com']`).
235
- * @since v10.6.0
236
- */
237
- function resolveNs(hostname: string): Promise<string[]>;
238
- /**
239
- * Uses the DNS protocol to resolve pointer records (`PTR` records) for the`hostname`. On success, the `Promise` is resolved with an array of strings
240
- * containing the reply records.
241
- * @since v10.6.0
242
- */
243
- function resolvePtr(hostname: string): Promise<string[]>;
244
- /**
245
- * Uses the DNS protocol to resolve a start of authority record (`SOA` record) for
246
- * the `hostname`. On success, the `Promise` is resolved with an object with the
247
- * following properties:
248
- *
249
- * * `nsname`
250
- * * `hostmaster`
251
- * * `serial`
252
- * * `refresh`
253
- * * `retry`
254
- * * `expire`
255
- * * `minttl`
256
- *
257
- * ```js
258
- * {
259
- * nsname: 'ns.example.com',
260
- * hostmaster: 'root.example.com',
261
- * serial: 2013101809,
262
- * refresh: 10000,
263
- * retry: 2400,
264
- * expire: 604800,
265
- * minttl: 3600
266
- * }
267
- * ```
268
- * @since v10.6.0
269
- */
270
- function resolveSoa(hostname: string): Promise<SoaRecord>;
271
- /**
272
- * Uses the DNS protocol to resolve service records (`SRV` records) for the`hostname`. On success, the `Promise` is resolved with an array of objects with
273
- * the following properties:
274
- *
275
- * * `priority`
276
- * * `weight`
277
- * * `port`
278
- * * `name`
279
- *
280
- * ```js
281
- * {
282
- * priority: 10,
283
- * weight: 5,
284
- * port: 21223,
285
- * name: 'service.example.com'
286
- * }
287
- * ```
288
- * @since v10.6.0
289
- */
290
- function resolveSrv(hostname: string): Promise<SrvRecord[]>;
291
- /**
292
- * Uses the DNS protocol to resolve text queries (`TXT` records) for the`hostname`. On success, the `Promise` is resolved with a two-dimensional array
293
- * of the text records available for `hostname` (e.g.`[ ['v=spf1 ip4:0.0.0.0 ', '~all' ] ]`). Each sub-array contains TXT chunks of
294
- * one record. Depending on the use case, these could be either joined together or
295
- * treated separately.
296
- * @since v10.6.0
297
- */
298
- function resolveTxt(hostname: string): Promise<string[][]>;
299
- /**
300
- * Performs a reverse DNS query that resolves an IPv4 or IPv6 address to an
301
- * array of host names.
302
- *
303
- * On error, the `Promise` is rejected with an `Error` object, where `err.code`is one of the `DNS error codes`.
304
- * @since v10.6.0
305
- */
306
- function reverse(ip: string): Promise<string[]>;
307
- /**
308
- * Sets the IP address and port of servers to be used when performing DNS
309
- * resolution. The `servers` argument is an array of [RFC 5952](https://tools.ietf.org/html/rfc5952#section-6) formatted
310
- * addresses. If the port is the IANA default DNS port (53) it can be omitted.
311
- *
312
- * ```js
313
- * dnsPromises.setServers([
314
- * '4.4.4.4',
315
- * '[2001:4860:4860::8888]',
316
- * '4.4.4.4:1053',
317
- * '[2001:4860:4860::8888]:1053',
318
- * ]);
319
- * ```
320
- *
321
- * An error will be thrown if an invalid address is provided.
322
- *
323
- * The `dnsPromises.setServers()` method must not be called while a DNS query is in
324
- * progress.
325
- *
326
- * This method works much like [resolve.conf](https://man7.org/linux/man-pages/man5/resolv.conf.5.html).
327
- * That is, if attempting to resolve with the first server provided results in a`NOTFOUND` error, the `resolve()` method will _not_ attempt to resolve with
328
- * subsequent servers provided. Fallback DNS servers will only be used if the
329
- * earlier ones time out or result in some other error.
330
- * @since v10.6.0
331
- * @param servers array of `RFC 5952` formatted addresses
332
- */
333
- function setServers(servers: ReadonlyArray<string>): void;
334
- /**
335
- * Set the default value of `verbatim` in `dns.lookup()` and `dnsPromises.lookup()`. The value could be:
336
- *
337
- * * `ipv4first`: sets default `verbatim` `false`.
338
- * * `verbatim`: sets default `verbatim` `true`.
339
- *
340
- * The default is `verbatim` and `dnsPromises.setDefaultResultOrder()` have
341
- * higher priority than `--dns-result-order`. When using `worker threads`,`dnsPromises.setDefaultResultOrder()` from the main thread won't affect the
342
- * default dns orders in workers.
343
- * @since v16.4.0, v14.18.0
344
- * @param order must be `'ipv4first'` or `'verbatim'`.
345
- */
346
- function setDefaultResultOrder(order: 'ipv4first' | 'verbatim'): void;
347
- class Resolver {
348
- constructor(options?: ResolverOptions);
349
- cancel(): void;
350
- getServers: typeof getServers;
351
- resolve: typeof resolve;
352
- resolve4: typeof resolve4;
353
- resolve6: typeof resolve6;
354
- resolveAny: typeof resolveAny;
355
- resolveCname: typeof resolveCname;
356
- resolveMx: typeof resolveMx;
357
- resolveNaptr: typeof resolveNaptr;
358
- resolveNs: typeof resolveNs;
359
- resolvePtr: typeof resolvePtr;
360
- resolveSoa: typeof resolveSoa;
361
- resolveSrv: typeof resolveSrv;
362
- resolveTxt: typeof resolveTxt;
363
- reverse: typeof reverse;
364
- setLocalAddress(ipv4?: string, ipv6?: string): void;
365
- setServers: typeof setServers;
366
- }
367
- }
368
- declare module 'node:dns/promises' {
369
- export * from 'dns/promises';
370
- }