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,538 +0,0 @@
1
- /**
2
- * We strongly discourage the use of the `async_hooks` API.
3
- * Other APIs that can cover most of its use cases include:
4
- *
5
- * * `AsyncLocalStorage` tracks async context
6
- * * `process.getActiveResourcesInfo()` tracks active resources
7
- *
8
- * The `node:async_hooks` module provides an API to track asynchronous resources.
9
- * It can be accessed using:
10
- *
11
- * ```js
12
- * import async_hooks from 'node:async_hooks';
13
- * ```
14
- * @experimental
15
- * @see [source](https://github.com/nodejs/node/blob/v20.1.0/lib/async_hooks.js)
16
- */
17
- declare module 'async_hooks' {
18
- /**
19
- * ```js
20
- * import { executionAsyncId } from 'node:async_hooks';
21
- * import fs from 'node:fs';
22
- *
23
- * console.log(executionAsyncId()); // 1 - bootstrap
24
- * fs.open(path, 'r', (err, fd) => {
25
- * console.log(executionAsyncId()); // 6 - open()
26
- * });
27
- * ```
28
- *
29
- * The ID returned from `executionAsyncId()` is related to execution timing, not
30
- * causality (which is covered by `triggerAsyncId()`):
31
- *
32
- * ```js
33
- * const server = net.createServer((conn) => {
34
- * // Returns the ID of the server, not of the new connection, because the
35
- * // callback runs in the execution scope of the server's MakeCallback().
36
- * async_hooks.executionAsyncId();
37
- *
38
- * }).listen(port, () => {
39
- * // Returns the ID of a TickObject (process.nextTick()) because all
40
- * // callbacks passed to .listen() are wrapped in a nextTick().
41
- * async_hooks.executionAsyncId();
42
- * });
43
- * ```
44
- *
45
- * Promise contexts may not get precise `executionAsyncIds` by default.
46
- * See the section on `promise execution tracking`.
47
- * @since v8.1.0
48
- * @return The `asyncId` of the current execution context. Useful to track when something calls.
49
- */
50
- function executionAsyncId(): number;
51
- /**
52
- * Resource objects returned by `executionAsyncResource()` are most often internal
53
- * Node.js handle objects with undocumented APIs. Using any functions or properties
54
- * on the object is likely to crash your application and should be avoided.
55
- *
56
- * Using `executionAsyncResource()` in the top-level execution context will
57
- * return an empty object as there is no handle or request object to use,
58
- * but having an object representing the top-level can be helpful.
59
- *
60
- * ```js
61
- * import { open } from 'node:fs';
62
- * import { executionAsyncId, executionAsyncResource } from 'node:async_hooks';
63
- *
64
- * console.log(executionAsyncId(), executionAsyncResource()); // 1 {}
65
- * open(new URL(import.meta.url), 'r', (err, fd) => {
66
- * console.log(executionAsyncId(), executionAsyncResource()); // 7 FSReqWrap
67
- * });
68
- * ```
69
- *
70
- * This can be used to implement continuation local storage without the
71
- * use of a tracking `Map` to store the metadata:
72
- *
73
- * ```js
74
- * import { createServer } from 'node:http';
75
- * import {
76
- * executionAsyncId,
77
- * executionAsyncResource,
78
- * createHook,
79
- * } from 'async_hooks';
80
- * const sym = Symbol('state'); // Private symbol to avoid pollution
81
- *
82
- * createHook({
83
- * init(asyncId, type, triggerAsyncId, resource) {
84
- * const cr = executionAsyncResource();
85
- * if (cr) {
86
- * resource[sym] = cr[sym];
87
- * }
88
- * },
89
- * }).enable();
90
- *
91
- * const server = createServer((req, res) => {
92
- * executionAsyncResource()[sym] = { state: req.url };
93
- * setTimeout(function() {
94
- * res.end(JSON.stringify(executionAsyncResource()[sym]));
95
- * }, 100);
96
- * }).listen(3000);
97
- * ```
98
- * @since v13.9.0, v12.17.0
99
- * @return The resource representing the current execution. Useful to store data within the resource.
100
- */
101
- function executionAsyncResource(): object;
102
- /**
103
- * ```js
104
- * const server = net.createServer((conn) => {
105
- * // The resource that caused (or triggered) this callback to be called
106
- * // was that of the new connection. Thus the return value of triggerAsyncId()
107
- * // is the asyncId of "conn".
108
- * async_hooks.triggerAsyncId();
109
- *
110
- * }).listen(port, () => {
111
- * // Even though all callbacks passed to .listen() are wrapped in a nextTick()
112
- * // the callback itself exists because the call to the server's .listen()
113
- * // was made. So the return value would be the ID of the server.
114
- * async_hooks.triggerAsyncId();
115
- * });
116
- * ```
117
- *
118
- * Promise contexts may not get valid `triggerAsyncId`s by default. See
119
- * the section on `promise execution tracking`.
120
- * @return The ID of the resource responsible for calling the callback that is currently being executed.
121
- */
122
- function triggerAsyncId(): number;
123
- interface HookCallbacks {
124
- /**
125
- * Called when a class is constructed that has the possibility to emit an asynchronous event.
126
- * @param asyncId a unique ID for the async resource
127
- * @param type the type of the async resource
128
- * @param triggerAsyncId the unique ID of the async resource in whose execution context this async resource was created
129
- * @param resource reference to the resource representing the async operation, needs to be released during destroy
130
- */
131
- init?(asyncId: number, type: string, triggerAsyncId: number, resource: object): void;
132
- /**
133
- * When an asynchronous operation is initiated or completes a callback is called to notify the user.
134
- * The before callback is called just before said callback is executed.
135
- * @param asyncId the unique identifier assigned to the resource about to execute the callback.
136
- */
137
- before?(asyncId: number): void;
138
- /**
139
- * Called immediately after the callback specified in before is completed.
140
- * @param asyncId the unique identifier assigned to the resource which has executed the callback.
141
- */
142
- after?(asyncId: number): void;
143
- /**
144
- * Called when a promise has resolve() called. This may not be in the same execution id
145
- * as the promise itself.
146
- * @param asyncId the unique id for the promise that was resolve()d.
147
- */
148
- promiseResolve?(asyncId: number): void;
149
- /**
150
- * Called after the resource corresponding to asyncId is destroyed
151
- * @param asyncId a unique ID for the async resource
152
- */
153
- destroy?(asyncId: number): void;
154
- }
155
- interface AsyncHook {
156
- /**
157
- * Enable the callbacks for a given AsyncHook instance. If no callbacks are provided enabling is a noop.
158
- */
159
- enable(): this;
160
- /**
161
- * Disable the callbacks for a given AsyncHook instance from the global pool of AsyncHook callbacks to be executed. Once a hook has been disabled it will not be called again until enabled.
162
- */
163
- disable(): this;
164
- }
165
- /**
166
- * Registers functions to be called for different lifetime events of each async
167
- * operation.
168
- *
169
- * The callbacks `init()`/`before()`/`after()`/`destroy()` are called for the
170
- * respective asynchronous event during a resource's lifetime.
171
- *
172
- * All callbacks are optional. For example, if only resource cleanup needs to
173
- * be tracked, then only the `destroy` callback needs to be passed. The
174
- * specifics of all functions that can be passed to `callbacks` is in the `Hook Callbacks` section.
175
- *
176
- * ```js
177
- * import { createHook } from 'node:async_hooks';
178
- *
179
- * const asyncHook = createHook({
180
- * init(asyncId, type, triggerAsyncId, resource) { },
181
- * destroy(asyncId) { },
182
- * });
183
- * ```
184
- *
185
- * The callbacks will be inherited via the prototype chain:
186
- *
187
- * ```js
188
- * class MyAsyncCallbacks {
189
- * init(asyncId, type, triggerAsyncId, resource) { }
190
- * destroy(asyncId) {}
191
- * }
192
- *
193
- * class MyAddedCallbacks extends MyAsyncCallbacks {
194
- * before(asyncId) { }
195
- * after(asyncId) { }
196
- * }
197
- *
198
- * const asyncHook = async_hooks.createHook(new MyAddedCallbacks());
199
- * ```
200
- *
201
- * Because promises are asynchronous resources whose lifecycle is tracked
202
- * via the async hooks mechanism, the `init()`, `before()`, `after()`, and`destroy()` callbacks _must not_ be async functions that return promises.
203
- * @since v8.1.0
204
- * @param callbacks The `Hook Callbacks` to register
205
- * @return Instance used for disabling and enabling hooks
206
- */
207
- function createHook(callbacks: HookCallbacks): AsyncHook;
208
- interface AsyncResourceOptions {
209
- /**
210
- * The ID of the execution context that created this async event.
211
- * @default executionAsyncId()
212
- */
213
- triggerAsyncId?: number | undefined;
214
- /**
215
- * Disables automatic `emitDestroy` when the object is garbage collected.
216
- * This usually does not need to be set (even if `emitDestroy` is called
217
- * manually), unless the resource's `asyncId` is retrieved and the
218
- * sensitive API's `emitDestroy` is called with it.
219
- * @default false
220
- */
221
- requireManualDestroy?: boolean | undefined;
222
- }
223
- /**
224
- * The class `AsyncResource` is designed to be extended by the embedder's async
225
- * resources. Using this, users can easily trigger the lifetime events of their
226
- * own resources.
227
- *
228
- * The `init` hook will trigger when an `AsyncResource` is instantiated.
229
- *
230
- * The following is an overview of the `AsyncResource` API.
231
- *
232
- * ```js
233
- * import { AsyncResource, executionAsyncId } from 'node:async_hooks';
234
- *
235
- * // AsyncResource() is meant to be extended. Instantiating a
236
- * // new AsyncResource() also triggers init. If triggerAsyncId is omitted then
237
- * // async_hook.executionAsyncId() is used.
238
- * const asyncResource = new AsyncResource(
239
- * type, { triggerAsyncId: executionAsyncId(), requireManualDestroy: false },
240
- * );
241
- *
242
- * // Run a function in the execution context of the resource. This will
243
- * // * establish the context of the resource
244
- * // * trigger the AsyncHooks before callbacks
245
- * // * call the provided function `fn` with the supplied arguments
246
- * // * trigger the AsyncHooks after callbacks
247
- * // * restore the original execution context
248
- * asyncResource.runInAsyncScope(fn, thisArg, ...args);
249
- *
250
- * // Call AsyncHooks destroy callbacks.
251
- * asyncResource.emitDestroy();
252
- *
253
- * // Return the unique ID assigned to the AsyncResource instance.
254
- * asyncResource.asyncId();
255
- *
256
- * // Return the trigger ID for the AsyncResource instance.
257
- * asyncResource.triggerAsyncId();
258
- * ```
259
- */
260
- class AsyncResource {
261
- /**
262
- * AsyncResource() is meant to be extended. Instantiating a
263
- * new AsyncResource() also triggers init. If triggerAsyncId is omitted then
264
- * async_hook.executionAsyncId() is used.
265
- * @param type The type of async event.
266
- * @param triggerAsyncId The ID of the execution context that created
267
- * this async event (default: `executionAsyncId()`), or an
268
- * AsyncResourceOptions object (since v9.3.0)
269
- */
270
- constructor(type: string, triggerAsyncId?: number | AsyncResourceOptions);
271
- /**
272
- * Binds the given function to the current execution context.
273
- * @since v14.8.0, v12.19.0
274
- * @param fn The function to bind to the current execution context.
275
- * @param type An optional name to associate with the underlying `AsyncResource`.
276
- */
277
- static bind<Func extends (this: ThisArg, ...args: any[]) => any, ThisArg>(
278
- fn: Func,
279
- type?: string,
280
- thisArg?: ThisArg
281
- ): Func;
282
- /**
283
- * Binds the given function to execute to this `AsyncResource`'s scope.
284
- * @since v14.8.0, v12.19.0
285
- * @param fn The function to bind to the current `AsyncResource`.
286
- */
287
- bind<Func extends (...args: any[]) => any>(
288
- fn: Func
289
- ): Func;
290
- /**
291
- * Call the provided function with the provided arguments in the execution context
292
- * of the async resource. This will establish the context, trigger the AsyncHooks
293
- * before callbacks, call the function, trigger the AsyncHooks after callbacks, and
294
- * then restore the original execution context.
295
- * @since v9.6.0
296
- * @param fn The function to call in the execution context of this async resource.
297
- * @param thisArg The receiver to be used for the function call.
298
- * @param args Optional arguments to pass to the function.
299
- */
300
- runInAsyncScope<This, Result>(fn: (this: This, ...args: any[]) => Result, thisArg?: This, ...args: any[]): Result;
301
- /**
302
- * Call all `destroy` hooks. This should only ever be called once. An error will
303
- * be thrown if it is called more than once. This **must** be manually called. If
304
- * the resource is left to be collected by the GC then the `destroy` hooks will
305
- * never be called.
306
- * @return A reference to `asyncResource`.
307
- */
308
- emitDestroy(): this;
309
- /**
310
- * @return The unique `asyncId` assigned to the resource.
311
- */
312
- asyncId(): number;
313
- /**
314
- *
315
- * @return The same `triggerAsyncId` that is passed to the `AsyncResource` constructor.
316
- */
317
- triggerAsyncId(): number;
318
- }
319
- /**
320
- * This class creates stores that stay coherent through asynchronous operations.
321
- *
322
- * While you can create your own implementation on top of the `node:async_hooks`module, `AsyncLocalStorage` should be preferred as it is a performant and memory
323
- * safe implementation that involves significant optimizations that are non-obvious
324
- * to implement.
325
- *
326
- * The following example uses `AsyncLocalStorage` to build a simple logger
327
- * that assigns IDs to incoming HTTP requests and includes them in messages
328
- * logged within each request.
329
- *
330
- * ```js
331
- * import http from 'node:http';
332
- * import { AsyncLocalStorage } from 'node:async_hooks';
333
- *
334
- * const asyncLocalStorage = new AsyncLocalStorage();
335
- *
336
- * function logWithId(msg) {
337
- * const id = asyncLocalStorage.getStore();
338
- * console.log(`${id !== undefined ? id : '-'}:`, msg);
339
- * }
340
- *
341
- * let idSeq = 0;
342
- * http.createServer((req, res) => {
343
- * asyncLocalStorage.run(idSeq++, () => {
344
- * logWithId('start');
345
- * // Imagine any chain of async operations here
346
- * setImmediate(() => {
347
- * logWithId('finish');
348
- * res.end();
349
- * });
350
- * });
351
- * }).listen(8080);
352
- *
353
- * http.get('http://localhost:8080');
354
- * http.get('http://localhost:8080');
355
- * // Prints:
356
- * // 0: start
357
- * // 1: start
358
- * // 0: finish
359
- * // 1: finish
360
- * ```
361
- *
362
- * Each instance of `AsyncLocalStorage` maintains an independent storage context.
363
- * Multiple instances can safely exist simultaneously without risk of interfering
364
- * with each other's data.
365
- * @since v13.10.0, v12.17.0
366
- */
367
- class AsyncLocalStorage<T> {
368
- /**
369
- * Binds the given function to the current execution context.
370
- * @since v19.8.0
371
- * @experimental
372
- * @param fn The function to bind to the current execution context.
373
- * @return A new function that calls `fn` within the captured execution context.
374
- */
375
- static bind<Func extends (...args: any[]) => any>(
376
- fn: Func
377
- ): Func;
378
- /**
379
- * Captures the current execution context and returns a function that accepts a
380
- * function as an argument. Whenever the returned function is called, it
381
- * calls the function passed to it within the captured context.
382
- *
383
- * ```js
384
- * const asyncLocalStorage = new AsyncLocalStorage();
385
- * const runInAsyncScope = asyncLocalStorage.run(123, () => AsyncLocalStorage.snapshot());
386
- * const result = asyncLocalStorage.run(321, () => runInAsyncScope(() => asyncLocalStorage.getStore()));
387
- * console.log(result); // returns 123
388
- * ```
389
- *
390
- * AsyncLocalStorage.snapshot() can replace the use of AsyncResource for simple
391
- * async context tracking purposes, for example:
392
- *
393
- * ```js
394
- * class Foo {
395
- * #runInAsyncScope = AsyncLocalStorage.snapshot();
396
- *
397
- * get() { return this.#runInAsyncScope(() => asyncLocalStorage.getStore()); }
398
- * }
399
- *
400
- * const foo = asyncLocalStorage.run(123, () => new Foo());
401
- * console.log(asyncLocalStorage.run(321, () => foo.get())); // returns 123
402
- * ```
403
- * @since v19.8.0
404
- * @experimental
405
- * @return A new function with the signature `(fn: (...args) : R, ...args) : R`.
406
- */
407
- static snapshot(): <R, TArgs extends any[]>(fn: (...args: TArgs) => R, ...args: TArgs) => R;
408
- /**
409
- * Disables the instance of `AsyncLocalStorage`. All subsequent calls
410
- * to `asyncLocalStorage.getStore()` will return `undefined` until`asyncLocalStorage.run()` or `asyncLocalStorage.enterWith()` is called again.
411
- *
412
- * When calling `asyncLocalStorage.disable()`, all current contexts linked to the
413
- * instance will be exited.
414
- *
415
- * Calling `asyncLocalStorage.disable()` is required before the`asyncLocalStorage` can be garbage collected. This does not apply to stores
416
- * provided by the `asyncLocalStorage`, as those objects are garbage collected
417
- * along with the corresponding async resources.
418
- *
419
- * Use this method when the `asyncLocalStorage` is not in use anymore
420
- * in the current process.
421
- * @since v13.10.0, v12.17.0
422
- * @experimental
423
- */
424
- disable(): void;
425
- /**
426
- * Returns the current store.
427
- * If called outside of an asynchronous context initialized by
428
- * calling `asyncLocalStorage.run()` or `asyncLocalStorage.enterWith()`, it
429
- * returns `undefined`.
430
- * @since v13.10.0, v12.17.0
431
- */
432
- getStore(): T | undefined;
433
- /**
434
- * Runs a function synchronously within a context and returns its
435
- * return value. The store is not accessible outside of the callback function.
436
- * The store is accessible to any asynchronous operations created within the
437
- * callback.
438
- *
439
- * The optional `args` are passed to the callback function.
440
- *
441
- * If the callback function throws an error, the error is thrown by `run()` too.
442
- * The stacktrace is not impacted by this call and the context is exited.
443
- *
444
- * Example:
445
- *
446
- * ```js
447
- * const store = { id: 2 };
448
- * try {
449
- * asyncLocalStorage.run(store, () => {
450
- * asyncLocalStorage.getStore(); // Returns the store object
451
- * setTimeout(() => {
452
- * asyncLocalStorage.getStore(); // Returns the store object
453
- * }, 200);
454
- * throw new Error();
455
- * });
456
- * } catch (e) {
457
- * asyncLocalStorage.getStore(); // Returns undefined
458
- * // The error will be caught here
459
- * }
460
- * ```
461
- * @since v13.10.0, v12.17.0
462
- */
463
- run<R, TArgs extends any[]>(store: T, callback: (...args: TArgs) => R, ...args: TArgs): R;
464
- /**
465
- * Runs a function synchronously outside of a context and returns its
466
- * return value. The store is not accessible within the callback function or
467
- * the asynchronous operations created within the callback. Any `getStore()`call done within the callback function will always return `undefined`.
468
- *
469
- * The optional `args` are passed to the callback function.
470
- *
471
- * If the callback function throws an error, the error is thrown by `exit()` too.
472
- * The stacktrace is not impacted by this call and the context is re-entered.
473
- *
474
- * Example:
475
- *
476
- * ```js
477
- * // Within a call to run
478
- * try {
479
- * asyncLocalStorage.getStore(); // Returns the store object or value
480
- * asyncLocalStorage.exit(() => {
481
- * asyncLocalStorage.getStore(); // Returns undefined
482
- * throw new Error();
483
- * });
484
- * } catch (e) {
485
- * asyncLocalStorage.getStore(); // Returns the same object or value
486
- * // The error will be caught here
487
- * }
488
- * ```
489
- * @since v13.10.0, v12.17.0
490
- * @experimental
491
- */
492
- exit<R, TArgs extends any[]>(callback: (...args: TArgs) => R, ...args: TArgs): R;
493
- /**
494
- * Transitions into the context for the remainder of the current
495
- * synchronous execution and then persists the store through any following
496
- * asynchronous calls.
497
- *
498
- * Example:
499
- *
500
- * ```js
501
- * const store = { id: 1 };
502
- * // Replaces previous store with the given store object
503
- * asyncLocalStorage.enterWith(store);
504
- * asyncLocalStorage.getStore(); // Returns the store object
505
- * someAsyncOperation(() => {
506
- * asyncLocalStorage.getStore(); // Returns the same object
507
- * });
508
- * ```
509
- *
510
- * This transition will continue for the _entire_ synchronous execution.
511
- * This means that if, for example, the context is entered within an event
512
- * handler subsequent event handlers will also run within that context unless
513
- * specifically bound to another context with an `AsyncResource`. That is why`run()` should be preferred over `enterWith()` unless there are strong reasons
514
- * to use the latter method.
515
- *
516
- * ```js
517
- * const store = { id: 1 };
518
- *
519
- * emitter.on('my-event', () => {
520
- * asyncLocalStorage.enterWith(store);
521
- * });
522
- * emitter.on('my-event', () => {
523
- * asyncLocalStorage.getStore(); // Returns the same object
524
- * });
525
- *
526
- * asyncLocalStorage.getStore(); // Returns undefined
527
- * emitter.emit('my-event');
528
- * asyncLocalStorage.getStore(); // Returns the same object
529
- * ```
530
- * @since v13.11.0, v12.17.0
531
- * @experimental
532
- */
533
- enterWith(store: T): void;
534
- }
535
- }
536
- declare module 'node:async_hooks' {
537
- export * from 'async_hooks';
538
- }