projen 0.98.32 → 0.98.34

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 (557) hide show
  1. package/.jsii +1906 -626
  2. package/lib/ai-instructions.js +2 -2
  3. package/lib/awscdk/auto-discover.js +5 -5
  4. package/lib/awscdk/awscdk-app-java.js +1 -1
  5. package/lib/awscdk/awscdk-app-py.js +1 -1
  6. package/lib/awscdk/awscdk-app-ts.js +1 -1
  7. package/lib/awscdk/awscdk-construct.js +2 -2
  8. package/lib/awscdk/awscdk-deps-java.js +1 -1
  9. package/lib/awscdk/awscdk-deps-js.js +1 -1
  10. package/lib/awscdk/awscdk-deps-py.js +1 -1
  11. package/lib/awscdk/awscdk-deps.js +1 -1
  12. package/lib/awscdk/cdk-config.js +4 -4
  13. package/lib/awscdk/cdk-tasks.js +1 -1
  14. package/lib/awscdk/integration-test.js +1 -1
  15. package/lib/awscdk/internal.d.ts +1 -2
  16. package/lib/awscdk/lambda-extension.js +1 -1
  17. package/lib/awscdk/lambda-function.js +2 -2
  18. package/lib/awscdk/private/feature-flags-v2.const.d.ts +2 -3
  19. package/lib/awscdk/private/feature-flags-v2.const.js +4 -5
  20. package/lib/build/build-workflow.js +6 -7
  21. package/lib/cdk/auto-discover-base.js +2 -2
  22. package/lib/cdk/construct-lib.js +1 -1
  23. package/lib/cdk/integration-test-base.js +1 -1
  24. package/lib/cdk/jsii-docgen.js +1 -1
  25. package/lib/cdk/jsii-project.js +1 -1
  26. package/lib/cdk8s/auto-discover.js +2 -2
  27. package/lib/cdk8s/cdk8s-app-py.js +1 -1
  28. package/lib/cdk8s/cdk8s-app-ts.js +1 -1
  29. package/lib/cdk8s/cdk8s-construct.js +1 -1
  30. package/lib/cdk8s/cdk8s-deps-py.js +1 -1
  31. package/lib/cdk8s/cdk8s-deps.js +1 -1
  32. package/lib/cdk8s/integration-test.js +1 -1
  33. package/lib/cdktf/cdktf-construct.js +1 -1
  34. package/lib/circleci/circleci.js +1 -1
  35. package/lib/cli/index.js +6 -3
  36. package/lib/component.js +1 -1
  37. package/lib/dependencies.js +1 -1
  38. package/lib/dev-env.js +1 -1
  39. package/lib/docker-compose/docker-compose-service.js +1 -1
  40. package/lib/docker-compose/docker-compose.js +1 -1
  41. package/lib/file.js +1 -1
  42. package/lib/gitattributes.js +1 -1
  43. package/lib/github/actions-provider.js +1 -1
  44. package/lib/github/auto-approve.js +1 -1
  45. package/lib/github/auto-merge.js +1 -1
  46. package/lib/github/auto-queue.js +1 -1
  47. package/lib/github/dependabot.js +1 -1
  48. package/lib/github/github-credentials.js +1 -1
  49. package/lib/github/github-project.js +1 -1
  50. package/lib/github/github.js +1 -1
  51. package/lib/github/merge-queue.js +1 -1
  52. package/lib/github/mergify.js +1 -1
  53. package/lib/github/pr-template.js +1 -1
  54. package/lib/github/private/util.d.ts +14 -0
  55. package/lib/github/private/util.js +20 -1
  56. package/lib/github/pull-request-backport.js +1 -1
  57. package/lib/github/pull-request-lint.js +1 -1
  58. package/lib/github/stale.js +1 -1
  59. package/lib/github/task-workflow-job.js +1 -1
  60. package/lib/github/task-workflow.js +1 -1
  61. package/lib/github/workflow-actions.js +1 -1
  62. package/lib/github/workflow-jobs.js +1 -1
  63. package/lib/github/workflow-steps.js +1 -1
  64. package/lib/github/workflows.js +1 -1
  65. package/lib/gitlab/configuration.js +1 -1
  66. package/lib/gitlab/gitlab-configuration.js +1 -1
  67. package/lib/gitlab/nested-configuration.js +1 -1
  68. package/lib/gitpod.js +1 -1
  69. package/lib/ignore-file.js +1 -1
  70. package/lib/ini.js +1 -1
  71. package/lib/java/java-project.js +1 -1
  72. package/lib/java/junit.js +1 -1
  73. package/lib/java/maven-compile.js +1 -1
  74. package/lib/java/maven-packaging.js +1 -1
  75. package/lib/java/maven-sample.js +1 -1
  76. package/lib/java/pom.js +2 -2
  77. package/lib/java/projenrc.js +1 -1
  78. package/lib/javascript/biome/biome-config.d.ts +126 -50
  79. package/lib/javascript/biome/biome-config.js +74 -39
  80. package/lib/javascript/biome/biome.js +1 -1
  81. package/lib/javascript/bundler.js +1 -1
  82. package/lib/javascript/eslint.js +1 -1
  83. package/lib/javascript/jest.js +4 -4
  84. package/lib/javascript/license-checker.js +1 -1
  85. package/lib/javascript/node-package.js +1 -1
  86. package/lib/javascript/node-project.d.ts +2 -2
  87. package/lib/javascript/node-project.js +3 -3
  88. package/lib/javascript/npm-config.js +1 -1
  89. package/lib/javascript/prettier.js +1 -1
  90. package/lib/javascript/projenrc.js +1 -1
  91. package/lib/javascript/typescript-config.js +2 -2
  92. package/lib/javascript/upgrade-dependencies.js +17 -9
  93. package/lib/javascript/yarnrc.js +1 -1
  94. package/lib/json-patch.js +1 -1
  95. package/lib/json.js +1 -1
  96. package/lib/license.js +1 -1
  97. package/lib/logger.js +1 -1
  98. package/lib/makefile.js +1 -1
  99. package/lib/object-file.js +1 -1
  100. package/lib/project-build.js +1 -1
  101. package/lib/project-tree.js +1 -1
  102. package/lib/project.js +1 -1
  103. package/lib/projects.js +1 -1
  104. package/lib/projenrc-json.js +2 -2
  105. package/lib/projenrc.js +1 -1
  106. package/lib/python/pip.js +1 -1
  107. package/lib/python/poetry.js +2 -2
  108. package/lib/python/projenrc.js +1 -1
  109. package/lib/python/pyproject-toml-file.js +1 -1
  110. package/lib/python/pytest-sample.js +1 -1
  111. package/lib/python/pytest.js +1 -1
  112. package/lib/python/python-project.js +1 -1
  113. package/lib/python/python-sample.js +1 -1
  114. package/lib/python/requirements-file.js +1 -1
  115. package/lib/python/setuppy.js +1 -1
  116. package/lib/python/setuptools.js +1 -1
  117. package/lib/python/uv-config.d.ts +437 -21
  118. package/lib/python/uv-config.js +437 -2
  119. package/lib/python/uv.js +1 -1
  120. package/lib/python/venv.js +1 -1
  121. package/lib/readme.js +1 -1
  122. package/lib/release/publisher.js +1 -1
  123. package/lib/release/release-trigger.js +1 -1
  124. package/lib/release/release.js +15 -18
  125. package/lib/renovatebot.js +1 -1
  126. package/lib/sample-file.js +2 -2
  127. package/lib/semver.js +1 -1
  128. package/lib/source-code.js +1 -1
  129. package/lib/task-runtime.js +1 -1
  130. package/lib/task.js +1 -1
  131. package/lib/tasks.js +1 -1
  132. package/lib/testing.js +1 -1
  133. package/lib/textfile.js +1 -1
  134. package/lib/toml.js +1 -1
  135. package/lib/typescript/projenrc-ts.js +1 -1
  136. package/lib/typescript/projenrc.js +1 -1
  137. package/lib/typescript/typescript-typedoc.js +1 -1
  138. package/lib/typescript/typescript.js +6 -6
  139. package/lib/version.js +2 -2
  140. package/lib/vscode/devcontainer.js +1 -1
  141. package/lib/vscode/extensions.js +1 -1
  142. package/lib/vscode/launch-config.js +1 -1
  143. package/lib/vscode/settings.js +1 -1
  144. package/lib/vscode/vscode.js +1 -1
  145. package/lib/web/next.js +3 -3
  146. package/lib/web/postcss.js +1 -1
  147. package/lib/web/react.js +4 -4
  148. package/lib/web/tailwind.js +1 -1
  149. package/lib/xmlfile.js +1 -1
  150. package/lib/yaml.js +1 -1
  151. package/node_modules/@oozcitak/dom/README.md +2 -4
  152. package/node_modules/@oozcitak/dom/lib/algorithm/AbortAlgorithm.js +7 -29
  153. package/node_modules/@oozcitak/dom/lib/algorithm/AbortAlgorithm.js.map +1 -1
  154. package/node_modules/@oozcitak/dom/lib/algorithm/AttrAlgorithm.js +3 -3
  155. package/node_modules/@oozcitak/dom/lib/algorithm/AttrAlgorithm.js.map +1 -1
  156. package/node_modules/@oozcitak/dom/lib/algorithm/BoundaryPointAlgorithm.js +14 -14
  157. package/node_modules/@oozcitak/dom/lib/algorithm/BoundaryPointAlgorithm.js.map +1 -1
  158. package/node_modules/@oozcitak/dom/lib/algorithm/CharacterDataAlgorithm.js +40 -62
  159. package/node_modules/@oozcitak/dom/lib/algorithm/CharacterDataAlgorithm.js.map +1 -1
  160. package/node_modules/@oozcitak/dom/lib/algorithm/CreateAlgorithm.js +53 -54
  161. package/node_modules/@oozcitak/dom/lib/algorithm/CreateAlgorithm.js.map +1 -1
  162. package/node_modules/@oozcitak/dom/lib/algorithm/CustomElementAlgorithm.js +14 -14
  163. package/node_modules/@oozcitak/dom/lib/algorithm/CustomElementAlgorithm.js.map +1 -1
  164. package/node_modules/@oozcitak/dom/lib/algorithm/DOMAlgorithm.js +29 -51
  165. package/node_modules/@oozcitak/dom/lib/algorithm/DOMAlgorithm.js.map +1 -1
  166. package/node_modules/@oozcitak/dom/lib/algorithm/DOMTokenListAlgorithm.js +11 -11
  167. package/node_modules/@oozcitak/dom/lib/algorithm/DOMTokenListAlgorithm.js.map +1 -1
  168. package/node_modules/@oozcitak/dom/lib/algorithm/DocumentAlgorithm.js +25 -63
  169. package/node_modules/@oozcitak/dom/lib/algorithm/DocumentAlgorithm.js.map +1 -1
  170. package/node_modules/@oozcitak/dom/lib/algorithm/ElementAlgorithm.js +79 -85
  171. package/node_modules/@oozcitak/dom/lib/algorithm/ElementAlgorithm.js.map +1 -1
  172. package/node_modules/@oozcitak/dom/lib/algorithm/EventAlgorithm.d.ts +1 -1
  173. package/node_modules/@oozcitak/dom/lib/algorithm/EventAlgorithm.js +96 -153
  174. package/node_modules/@oozcitak/dom/lib/algorithm/EventAlgorithm.js.map +1 -1
  175. package/node_modules/@oozcitak/dom/lib/algorithm/EventTargetAlgorithm.js +15 -37
  176. package/node_modules/@oozcitak/dom/lib/algorithm/EventTargetAlgorithm.js.map +1 -1
  177. package/node_modules/@oozcitak/dom/lib/algorithm/MutationAlgorithm.js +229 -404
  178. package/node_modules/@oozcitak/dom/lib/algorithm/MutationAlgorithm.js.map +1 -1
  179. package/node_modules/@oozcitak/dom/lib/algorithm/MutationObserverAlgorithm.js +47 -109
  180. package/node_modules/@oozcitak/dom/lib/algorithm/MutationObserverAlgorithm.js.map +1 -1
  181. package/node_modules/@oozcitak/dom/lib/algorithm/NamespaceAlgorithm.d.ts +5 -1
  182. package/node_modules/@oozcitak/dom/lib/algorithm/NamespaceAlgorithm.js +19 -19
  183. package/node_modules/@oozcitak/dom/lib/algorithm/NamespaceAlgorithm.js.map +1 -1
  184. package/node_modules/@oozcitak/dom/lib/algorithm/NodeAlgorithm.js +69 -124
  185. package/node_modules/@oozcitak/dom/lib/algorithm/NodeAlgorithm.js.map +1 -1
  186. package/node_modules/@oozcitak/dom/lib/algorithm/NodeIteratorAlgorithm.js +11 -11
  187. package/node_modules/@oozcitak/dom/lib/algorithm/NodeIteratorAlgorithm.js.map +1 -1
  188. package/node_modules/@oozcitak/dom/lib/algorithm/OrderedSetAlgorithm.js +20 -72
  189. package/node_modules/@oozcitak/dom/lib/algorithm/OrderedSetAlgorithm.js.map +1 -1
  190. package/node_modules/@oozcitak/dom/lib/algorithm/ParentNodeAlgorithm.js +12 -34
  191. package/node_modules/@oozcitak/dom/lib/algorithm/ParentNodeAlgorithm.js.map +1 -1
  192. package/node_modules/@oozcitak/dom/lib/algorithm/RangeAlgorithm.js +183 -289
  193. package/node_modules/@oozcitak/dom/lib/algorithm/RangeAlgorithm.js.map +1 -1
  194. package/node_modules/@oozcitak/dom/lib/algorithm/SelectorsAlgorithm.js +2 -2
  195. package/node_modules/@oozcitak/dom/lib/algorithm/SelectorsAlgorithm.js.map +1 -1
  196. package/node_modules/@oozcitak/dom/lib/algorithm/ShadowTreeAlgorithm.js +65 -140
  197. package/node_modules/@oozcitak/dom/lib/algorithm/ShadowTreeAlgorithm.js.map +1 -1
  198. package/node_modules/@oozcitak/dom/lib/algorithm/TextAlgorithm.js +63 -89
  199. package/node_modules/@oozcitak/dom/lib/algorithm/TextAlgorithm.js.map +1 -1
  200. package/node_modules/@oozcitak/dom/lib/algorithm/TraversalAlgorithm.js +6 -6
  201. package/node_modules/@oozcitak/dom/lib/algorithm/TraversalAlgorithm.js.map +1 -1
  202. package/node_modules/@oozcitak/dom/lib/algorithm/TreeAlgorithm.js +141 -208
  203. package/node_modules/@oozcitak/dom/lib/algorithm/TreeAlgorithm.js.map +1 -1
  204. package/node_modules/@oozcitak/dom/lib/algorithm/TreeWalkerAlgorithm.js +13 -13
  205. package/node_modules/@oozcitak/dom/lib/algorithm/TreeWalkerAlgorithm.js.map +1 -1
  206. package/node_modules/@oozcitak/dom/lib/algorithm/WebIDLAlgorithm.js +1 -1
  207. package/node_modules/@oozcitak/dom/lib/algorithm/WebIDLAlgorithm.js.map +1 -1
  208. package/node_modules/@oozcitak/dom/lib/algorithm/XMLAlgorithm.js +16 -16
  209. package/node_modules/@oozcitak/dom/lib/algorithm/XMLAlgorithm.js.map +1 -1
  210. package/node_modules/@oozcitak/dom/lib/algorithm/index.js +42 -31
  211. package/node_modules/@oozcitak/dom/lib/algorithm/index.js.map +1 -1
  212. package/node_modules/@oozcitak/dom/lib/dom/AbortControllerImpl.js +12 -15
  213. package/node_modules/@oozcitak/dom/lib/dom/AbortControllerImpl.js.map +1 -1
  214. package/node_modules/@oozcitak/dom/lib/dom/AbortSignalImpl.js +20 -43
  215. package/node_modules/@oozcitak/dom/lib/dom/AbortSignalImpl.js.map +1 -1
  216. package/node_modules/@oozcitak/dom/lib/dom/AbstractRangeImpl.js +20 -62
  217. package/node_modules/@oozcitak/dom/lib/dom/AbstractRangeImpl.js.map +1 -1
  218. package/node_modules/@oozcitak/dom/lib/dom/AttrImpl.js +53 -92
  219. package/node_modules/@oozcitak/dom/lib/dom/AttrImpl.js.map +1 -1
  220. package/node_modules/@oozcitak/dom/lib/dom/CDATASectionImpl.js +13 -27
  221. package/node_modules/@oozcitak/dom/lib/dom/CDATASectionImpl.js.map +1 -1
  222. package/node_modules/@oozcitak/dom/lib/dom/CharacterDataImpl.js +40 -88
  223. package/node_modules/@oozcitak/dom/lib/dom/CharacterDataImpl.js.map +1 -1
  224. package/node_modules/@oozcitak/dom/lib/dom/ChildNodeImpl.js +41 -55
  225. package/node_modules/@oozcitak/dom/lib/dom/ChildNodeImpl.js.map +1 -1
  226. package/node_modules/@oozcitak/dom/lib/dom/CommentImpl.js +13 -28
  227. package/node_modules/@oozcitak/dom/lib/dom/CommentImpl.js.map +1 -1
  228. package/node_modules/@oozcitak/dom/lib/dom/CustomEventImpl.js +14 -36
  229. package/node_modules/@oozcitak/dom/lib/dom/CustomEventImpl.js.map +1 -1
  230. package/node_modules/@oozcitak/dom/lib/dom/DOMException.js +114 -204
  231. package/node_modules/@oozcitak/dom/lib/dom/DOMException.js.map +1 -1
  232. package/node_modules/@oozcitak/dom/lib/dom/DOMImpl.js +51 -68
  233. package/node_modules/@oozcitak/dom/lib/dom/DOMImpl.js.map +1 -1
  234. package/node_modules/@oozcitak/dom/lib/dom/DOMImplementationImpl.js +32 -31
  235. package/node_modules/@oozcitak/dom/lib/dom/DOMImplementationImpl.js.map +1 -1
  236. package/node_modules/@oozcitak/dom/lib/dom/DOMTokenListImpl.js +105 -163
  237. package/node_modules/@oozcitak/dom/lib/dom/DOMTokenListImpl.js.map +1 -1
  238. package/node_modules/@oozcitak/dom/lib/dom/DocumentFragmentImpl.d.ts +1 -1
  239. package/node_modules/@oozcitak/dom/lib/dom/DocumentFragmentImpl.js +30 -73
  240. package/node_modules/@oozcitak/dom/lib/dom/DocumentFragmentImpl.js.map +1 -1
  241. package/node_modules/@oozcitak/dom/lib/dom/DocumentImpl.d.ts +1 -1
  242. package/node_modules/@oozcitak/dom/lib/dom/DocumentImpl.js +198 -330
  243. package/node_modules/@oozcitak/dom/lib/dom/DocumentImpl.js.map +1 -1
  244. package/node_modules/@oozcitak/dom/lib/dom/DocumentOrShadowRootImpl.js +3 -5
  245. package/node_modules/@oozcitak/dom/lib/dom/DocumentOrShadowRootImpl.js.map +1 -1
  246. package/node_modules/@oozcitak/dom/lib/dom/DocumentTypeImpl.js +29 -75
  247. package/node_modules/@oozcitak/dom/lib/dom/DocumentTypeImpl.js.map +1 -1
  248. package/node_modules/@oozcitak/dom/lib/dom/ElementImpl.d.ts +1 -1
  249. package/node_modules/@oozcitak/dom/lib/dom/ElementImpl.js +234 -393
  250. package/node_modules/@oozcitak/dom/lib/dom/ElementImpl.js.map +1 -1
  251. package/node_modules/@oozcitak/dom/lib/dom/EventImpl.js +89 -137
  252. package/node_modules/@oozcitak/dom/lib/dom/EventImpl.js.map +1 -1
  253. package/node_modules/@oozcitak/dom/lib/dom/EventTargetImpl.js +32 -57
  254. package/node_modules/@oozcitak/dom/lib/dom/EventTargetImpl.js.map +1 -1
  255. package/node_modules/@oozcitak/dom/lib/dom/HTMLCollectionImpl.js +58 -64
  256. package/node_modules/@oozcitak/dom/lib/dom/HTMLCollectionImpl.js.map +1 -1
  257. package/node_modules/@oozcitak/dom/lib/dom/MutationObserverImpl.js +36 -88
  258. package/node_modules/@oozcitak/dom/lib/dom/MutationObserverImpl.js.map +1 -1
  259. package/node_modules/@oozcitak/dom/lib/dom/MutationRecordImpl.js +33 -60
  260. package/node_modules/@oozcitak/dom/lib/dom/MutationRecordImpl.js.map +1 -1
  261. package/node_modules/@oozcitak/dom/lib/dom/NamedNodeMapImpl.js +33 -47
  262. package/node_modules/@oozcitak/dom/lib/dom/NamedNodeMapImpl.js.map +1 -1
  263. package/node_modules/@oozcitak/dom/lib/dom/NodeFilterImpl.js +58 -42
  264. package/node_modules/@oozcitak/dom/lib/dom/NodeFilterImpl.js.map +1 -1
  265. package/node_modules/@oozcitak/dom/lib/dom/NodeImpl.d.ts +1 -1
  266. package/node_modules/@oozcitak/dom/lib/dom/NodeImpl.js +375 -471
  267. package/node_modules/@oozcitak/dom/lib/dom/NodeImpl.js.map +1 -1
  268. package/node_modules/@oozcitak/dom/lib/dom/NodeIteratorImpl.js +29 -49
  269. package/node_modules/@oozcitak/dom/lib/dom/NodeIteratorImpl.js.map +1 -1
  270. package/node_modules/@oozcitak/dom/lib/dom/NodeListImpl.js +69 -97
  271. package/node_modules/@oozcitak/dom/lib/dom/NodeListImpl.js.map +1 -1
  272. package/node_modules/@oozcitak/dom/lib/dom/NodeListStaticImpl.js +66 -93
  273. package/node_modules/@oozcitak/dom/lib/dom/NodeListStaticImpl.js.map +1 -1
  274. package/node_modules/@oozcitak/dom/lib/dom/NonDocumentTypeChildNodeImpl.js +33 -43
  275. package/node_modules/@oozcitak/dom/lib/dom/NonDocumentTypeChildNodeImpl.js.map +1 -1
  276. package/node_modules/@oozcitak/dom/lib/dom/NonElementParentNodeImpl.js +9 -11
  277. package/node_modules/@oozcitak/dom/lib/dom/NonElementParentNodeImpl.js.map +1 -1
  278. package/node_modules/@oozcitak/dom/lib/dom/ParentNodeImpl.js +73 -121
  279. package/node_modules/@oozcitak/dom/lib/dom/ParentNodeImpl.js.map +1 -1
  280. package/node_modules/@oozcitak/dom/lib/dom/ProcessingInstructionImpl.js +19 -36
  281. package/node_modules/@oozcitak/dom/lib/dom/ProcessingInstructionImpl.js.map +1 -1
  282. package/node_modules/@oozcitak/dom/lib/dom/RangeImpl.js +174 -241
  283. package/node_modules/@oozcitak/dom/lib/dom/RangeImpl.js.map +1 -1
  284. package/node_modules/@oozcitak/dom/lib/dom/ShadowRootImpl.js +22 -43
  285. package/node_modules/@oozcitak/dom/lib/dom/ShadowRootImpl.js.map +1 -1
  286. package/node_modules/@oozcitak/dom/lib/dom/SlotableImpl.js +13 -25
  287. package/node_modules/@oozcitak/dom/lib/dom/SlotableImpl.js.map +1 -1
  288. package/node_modules/@oozcitak/dom/lib/dom/StaticRangeImpl.js +12 -25
  289. package/node_modules/@oozcitak/dom/lib/dom/StaticRangeImpl.js.map +1 -1
  290. package/node_modules/@oozcitak/dom/lib/dom/TextImpl.js +34 -80
  291. package/node_modules/@oozcitak/dom/lib/dom/TextImpl.js.map +1 -1
  292. package/node_modules/@oozcitak/dom/lib/dom/TraverserImpl.js +15 -23
  293. package/node_modules/@oozcitak/dom/lib/dom/TraverserImpl.js.map +1 -1
  294. package/node_modules/@oozcitak/dom/lib/dom/TreeWalkerImpl.js +46 -64
  295. package/node_modules/@oozcitak/dom/lib/dom/TreeWalkerImpl.js.map +1 -1
  296. package/node_modules/@oozcitak/dom/lib/dom/WindowImpl.js +21 -42
  297. package/node_modules/@oozcitak/dom/lib/dom/WindowImpl.js.map +1 -1
  298. package/node_modules/@oozcitak/dom/lib/dom/XMLDocumentImpl.js +6 -20
  299. package/node_modules/@oozcitak/dom/lib/dom/XMLDocumentImpl.js.map +1 -1
  300. package/node_modules/@oozcitak/dom/lib/dom/index.js +92 -91
  301. package/node_modules/@oozcitak/dom/lib/dom/index.js.map +1 -1
  302. package/node_modules/@oozcitak/dom/lib/dom/interfaces.d.ts +28 -25
  303. package/node_modules/@oozcitak/dom/lib/dom/interfaces.js +9 -7
  304. package/node_modules/@oozcitak/dom/lib/dom/interfaces.js.map +1 -1
  305. package/node_modules/@oozcitak/dom/lib/index.js +5 -4
  306. package/node_modules/@oozcitak/dom/lib/index.js.map +1 -1
  307. package/node_modules/@oozcitak/dom/lib/parser/DOMParserImpl.js +13 -15
  308. package/node_modules/@oozcitak/dom/lib/parser/DOMParserImpl.js.map +1 -1
  309. package/node_modules/@oozcitak/dom/lib/parser/XMLParserImpl.js +78 -128
  310. package/node_modules/@oozcitak/dom/lib/parser/XMLParserImpl.js.map +1 -1
  311. package/node_modules/@oozcitak/dom/lib/parser/XMLStringLexer.js +107 -123
  312. package/node_modules/@oozcitak/dom/lib/parser/XMLStringLexer.js.map +1 -1
  313. package/node_modules/@oozcitak/dom/lib/parser/index.js +2 -1
  314. package/node_modules/@oozcitak/dom/lib/parser/index.js.map +1 -1
  315. package/node_modules/@oozcitak/dom/lib/parser/interfaces.d.ts +2 -2
  316. package/node_modules/@oozcitak/dom/lib/parser/interfaces.js +2 -1
  317. package/node_modules/@oozcitak/dom/lib/parser/interfaces.js.map +1 -1
  318. package/node_modules/@oozcitak/dom/lib/serializer/LocalNameSet.js +10 -12
  319. package/node_modules/@oozcitak/dom/lib/serializer/LocalNameSet.js.map +1 -1
  320. package/node_modules/@oozcitak/dom/lib/serializer/NamespacePrefixMap.js +23 -25
  321. package/node_modules/@oozcitak/dom/lib/serializer/NamespacePrefixMap.js.map +1 -1
  322. package/node_modules/@oozcitak/dom/lib/serializer/XMLSerializerImpl.js +405 -517
  323. package/node_modules/@oozcitak/dom/lib/serializer/XMLSerializerImpl.js.map +1 -1
  324. package/node_modules/@oozcitak/dom/lib/serializer/index.js +2 -1
  325. package/node_modules/@oozcitak/dom/lib/serializer/index.js.map +1 -1
  326. package/node_modules/@oozcitak/dom/lib/util/Cast.js +6 -8
  327. package/node_modules/@oozcitak/dom/lib/util/Cast.js.map +1 -1
  328. package/node_modules/@oozcitak/dom/lib/util/EmptySet.d.ts +13 -5
  329. package/node_modules/@oozcitak/dom/lib/util/EmptySet.js +33 -46
  330. package/node_modules/@oozcitak/dom/lib/util/EmptySet.js.map +1 -1
  331. package/node_modules/@oozcitak/dom/lib/util/Guard.js +47 -49
  332. package/node_modules/@oozcitak/dom/lib/util/Guard.js.map +1 -1
  333. package/node_modules/@oozcitak/dom/lib/util/index.js +4 -3
  334. package/node_modules/@oozcitak/dom/lib/util/index.js.map +1 -1
  335. package/node_modules/@oozcitak/dom/package.json +14 -41
  336. package/node_modules/@oozcitak/infra/LICENSE +21 -21
  337. package/node_modules/@oozcitak/infra/README.md +11 -13
  338. package/node_modules/@oozcitak/infra/lib/Base64.js +3 -3
  339. package/node_modules/@oozcitak/infra/lib/Base64.js.map +1 -1
  340. package/node_modules/@oozcitak/infra/lib/Byte.js +1 -1
  341. package/node_modules/@oozcitak/infra/lib/Byte.js.map +1 -1
  342. package/node_modules/@oozcitak/infra/lib/ByteSequence.js +19 -39
  343. package/node_modules/@oozcitak/infra/lib/ByteSequence.js.map +1 -1
  344. package/node_modules/@oozcitak/infra/lib/CodePoints.js +1 -0
  345. package/node_modules/@oozcitak/infra/lib/CodePoints.js.map +1 -1
  346. package/node_modules/@oozcitak/infra/lib/JSON.d.ts +1 -1
  347. package/node_modules/@oozcitak/infra/lib/JSON.js +18 -40
  348. package/node_modules/@oozcitak/infra/lib/JSON.js.map +1 -1
  349. package/node_modules/@oozcitak/infra/lib/List.d.ts +4 -4
  350. package/node_modules/@oozcitak/infra/lib/List.js +49 -173
  351. package/node_modules/@oozcitak/infra/lib/List.js.map +1 -1
  352. package/node_modules/@oozcitak/infra/lib/Map.d.ts +1 -1
  353. package/node_modules/@oozcitak/infra/lib/Map.js +43 -177
  354. package/node_modules/@oozcitak/infra/lib/Map.js.map +1 -1
  355. package/node_modules/@oozcitak/infra/lib/Namespace.js +1 -0
  356. package/node_modules/@oozcitak/infra/lib/Namespace.js.map +1 -1
  357. package/node_modules/@oozcitak/infra/lib/Queue.d.ts +1 -1
  358. package/node_modules/@oozcitak/infra/lib/Queue.js +2 -2
  359. package/node_modules/@oozcitak/infra/lib/Queue.js.map +1 -1
  360. package/node_modules/@oozcitak/infra/lib/Set.d.ts +1 -1
  361. package/node_modules/@oozcitak/infra/lib/Set.js +76 -254
  362. package/node_modules/@oozcitak/infra/lib/Set.js.map +1 -1
  363. package/node_modules/@oozcitak/infra/lib/Stack.d.ts +1 -1
  364. package/node_modules/@oozcitak/infra/lib/Stack.js +2 -2
  365. package/node_modules/@oozcitak/infra/lib/Stack.js.map +1 -1
  366. package/node_modules/@oozcitak/infra/lib/String.d.ts +2 -2
  367. package/node_modules/@oozcitak/infra/lib/String.js +75 -131
  368. package/node_modules/@oozcitak/infra/lib/String.js.map +1 -1
  369. package/node_modules/@oozcitak/infra/lib/index.js +46 -19
  370. package/node_modules/@oozcitak/infra/lib/index.js.map +1 -1
  371. package/node_modules/@oozcitak/infra/package.json +41 -54
  372. package/node_modules/@oozcitak/url/LICENSE +21 -21
  373. package/node_modules/@oozcitak/url/README.md +25 -27
  374. package/node_modules/@oozcitak/url/lib/URLAlgorithm.d.ts +3 -3
  375. package/node_modules/@oozcitak/url/lib/URLAlgorithm.js +287 -460
  376. package/node_modules/@oozcitak/url/lib/URLAlgorithm.js.map +1 -1
  377. package/node_modules/@oozcitak/url/lib/URLImpl.js +285 -331
  378. package/node_modules/@oozcitak/url/lib/URLImpl.js.map +1 -1
  379. package/node_modules/@oozcitak/url/lib/URLSearchParamsImpl.d.ts +1 -1
  380. package/node_modules/@oozcitak/url/lib/URLSearchParamsImpl.js +71 -190
  381. package/node_modules/@oozcitak/url/lib/URLSearchParamsImpl.js.map +1 -1
  382. package/node_modules/@oozcitak/url/lib/index.js +3 -2
  383. package/node_modules/@oozcitak/url/lib/index.js.map +1 -1
  384. package/node_modules/@oozcitak/url/lib/interfaces.d.ts +2 -2
  385. package/node_modules/@oozcitak/url/lib/interfaces.js +2 -1
  386. package/node_modules/@oozcitak/url/lib/interfaces.js.map +1 -1
  387. package/node_modules/@oozcitak/url/package.json +42 -55
  388. package/node_modules/@oozcitak/util/LICENSE +21 -21
  389. package/node_modules/@oozcitak/util/README.md +8 -10
  390. package/node_modules/@oozcitak/util/lib/CompareCache.js +12 -12
  391. package/node_modules/@oozcitak/util/lib/CompareCache.js.map +1 -1
  392. package/node_modules/@oozcitak/util/lib/FixedSizeSet.d.ts +6 -6
  393. package/node_modules/@oozcitak/util/lib/FixedSizeSet.js +42 -117
  394. package/node_modules/@oozcitak/util/lib/FixedSizeSet.js.map +1 -1
  395. package/node_modules/@oozcitak/util/lib/Lazy.js +17 -19
  396. package/node_modules/@oozcitak/util/lib/Lazy.js.map +1 -1
  397. package/node_modules/@oozcitak/util/lib/ObjectCache.d.ts +4 -4
  398. package/node_modules/@oozcitak/util/lib/ObjectCache.js +44 -118
  399. package/node_modules/@oozcitak/util/lib/ObjectCache.js.map +1 -1
  400. package/node_modules/@oozcitak/util/lib/StringWalker.js +41 -47
  401. package/node_modules/@oozcitak/util/lib/StringWalker.js.map +1 -1
  402. package/node_modules/@oozcitak/util/lib/index.d.ts +23 -25
  403. package/node_modules/@oozcitak/util/lib/index.js +62 -88
  404. package/node_modules/@oozcitak/util/lib/index.js.map +1 -1
  405. package/node_modules/@oozcitak/util/package.json +37 -50
  406. package/node_modules/argparse/LICENSE +254 -0
  407. package/node_modules/argparse/README.md +84 -0
  408. package/node_modules/argparse/argparse.js +3707 -0
  409. package/node_modules/argparse/lib/sub.js +67 -0
  410. package/node_modules/argparse/lib/textwrap.js +440 -0
  411. package/node_modules/argparse/package.json +31 -0
  412. package/node_modules/{xmlbuilder2/node_modules/js-yaml → js-yaml}/README.md +36 -88
  413. package/node_modules/{xmlbuilder2/node_modules/js-yaml → js-yaml}/bin/js-yaml.js +17 -23
  414. package/node_modules/js-yaml/dist/js-yaml.js +3880 -0
  415. package/node_modules/js-yaml/dist/js-yaml.min.js +2 -0
  416. package/node_modules/{xmlbuilder2/node_modules/js-yaml/dist/js-yaml.js → js-yaml/dist/js-yaml.mjs} +2926 -3075
  417. package/node_modules/js-yaml/index.js +47 -0
  418. package/node_modules/{xmlbuilder2/node_modules/js-yaml/lib/js-yaml → js-yaml/lib}/dumper.js +205 -90
  419. package/node_modules/{xmlbuilder2/node_modules/js-yaml/lib/js-yaml → js-yaml/lib}/exception.js +22 -10
  420. package/node_modules/{xmlbuilder2/node_modules/js-yaml/lib/js-yaml → js-yaml/lib}/loader.js +149 -76
  421. package/node_modules/{xmlbuilder2/node_modules/js-yaml/lib/js-yaml → js-yaml/lib}/schema/core.js +1 -8
  422. package/node_modules/{xmlbuilder2/node_modules/js-yaml/lib/js-yaml/schema/default_safe.js → js-yaml/lib/schema/default.js} +1 -7
  423. package/node_modules/{xmlbuilder2/node_modules/js-yaml/lib/js-yaml → js-yaml/lib}/schema/json.js +1 -7
  424. package/node_modules/js-yaml/lib/schema.js +121 -0
  425. package/node_modules/js-yaml/lib/snippet.js +101 -0
  426. package/node_modules/{xmlbuilder2/node_modules/js-yaml/lib/js-yaml → js-yaml/lib}/type/binary.js +4 -17
  427. package/node_modules/{xmlbuilder2/node_modules/js-yaml/lib/js-yaml → js-yaml/lib}/type/float.js +2 -21
  428. package/node_modules/{xmlbuilder2/node_modules/js-yaml/lib/js-yaml → js-yaml/lib}/type/int.js +18 -35
  429. package/node_modules/{xmlbuilder2/node_modules/js-yaml/lib/js-yaml → js-yaml/lib}/type/null.js +2 -1
  430. package/node_modules/{xmlbuilder2/node_modules/js-yaml/lib/js-yaml → js-yaml/lib}/type.js +14 -9
  431. package/node_modules/js-yaml/package.json +66 -0
  432. package/node_modules/xmlbuilder2/README.md +8 -7
  433. package/node_modules/xmlbuilder2/lib/builder/BuilderFunctions.js +36 -37
  434. package/node_modules/xmlbuilder2/lib/builder/BuilderFunctions.js.map +1 -1
  435. package/node_modules/xmlbuilder2/lib/builder/BuilderFunctionsCB.js +3 -3
  436. package/node_modules/xmlbuilder2/lib/builder/BuilderFunctionsCB.js.map +1 -1
  437. package/node_modules/xmlbuilder2/lib/builder/XMLBuilderCBImpl.d.ts +0 -1
  438. package/node_modules/xmlbuilder2/lib/builder/XMLBuilderCBImpl.js +235 -333
  439. package/node_modules/xmlbuilder2/lib/builder/XMLBuilderCBImpl.js.map +1 -1
  440. package/node_modules/xmlbuilder2/lib/builder/XMLBuilderImpl.js +271 -371
  441. package/node_modules/xmlbuilder2/lib/builder/XMLBuilderImpl.js.map +1 -1
  442. package/node_modules/xmlbuilder2/lib/builder/dom.js +13 -13
  443. package/node_modules/xmlbuilder2/lib/builder/dom.js.map +1 -1
  444. package/node_modules/xmlbuilder2/lib/builder/index.js +9 -8
  445. package/node_modules/xmlbuilder2/lib/builder/index.js.map +1 -1
  446. package/node_modules/xmlbuilder2/lib/constants.js +1 -0
  447. package/node_modules/xmlbuilder2/lib/constants.js.map +1 -1
  448. package/node_modules/xmlbuilder2/lib/index.js +7 -6
  449. package/node_modules/xmlbuilder2/lib/index.js.map +1 -1
  450. package/node_modules/xmlbuilder2/lib/interfaces.d.ts +25 -24
  451. package/node_modules/xmlbuilder2/lib/interfaces.js +1 -0
  452. package/node_modules/xmlbuilder2/lib/interfaces.js.map +1 -1
  453. package/node_modules/xmlbuilder2/lib/readers/BaseReader.js +53 -56
  454. package/node_modules/xmlbuilder2/lib/readers/BaseReader.js.map +1 -1
  455. package/node_modules/xmlbuilder2/lib/readers/JSONReader.js +7 -24
  456. package/node_modules/xmlbuilder2/lib/readers/JSONReader.js.map +1 -1
  457. package/node_modules/xmlbuilder2/lib/readers/ObjectReader.js +59 -77
  458. package/node_modules/xmlbuilder2/lib/readers/ObjectReader.js.map +1 -1
  459. package/node_modules/xmlbuilder2/lib/readers/XMLReader.js +61 -126
  460. package/node_modules/xmlbuilder2/lib/readers/XMLReader.js.map +1 -1
  461. package/node_modules/xmlbuilder2/lib/readers/YAMLReader.js +9 -26
  462. package/node_modules/xmlbuilder2/lib/readers/YAMLReader.js.map +1 -1
  463. package/node_modules/xmlbuilder2/lib/readers/index.js +5 -4
  464. package/node_modules/xmlbuilder2/lib/readers/index.js.map +1 -1
  465. package/node_modules/xmlbuilder2/lib/writers/BaseCBWriter.d.ts +1 -0
  466. package/node_modules/xmlbuilder2/lib/writers/BaseCBWriter.js +14 -8
  467. package/node_modules/xmlbuilder2/lib/writers/BaseCBWriter.js.map +1 -1
  468. package/node_modules/xmlbuilder2/lib/writers/BaseWriter.js +474 -609
  469. package/node_modules/xmlbuilder2/lib/writers/BaseWriter.js.map +1 -1
  470. package/node_modules/xmlbuilder2/lib/writers/JSONCBWriter.js +48 -64
  471. package/node_modules/xmlbuilder2/lib/writers/JSONCBWriter.js.map +1 -1
  472. package/node_modules/xmlbuilder2/lib/writers/JSONWriter.js +54 -95
  473. package/node_modules/xmlbuilder2/lib/writers/JSONWriter.js.map +1 -1
  474. package/node_modules/xmlbuilder2/lib/writers/MapWriter.js +21 -36
  475. package/node_modules/xmlbuilder2/lib/writers/MapWriter.js.map +1 -1
  476. package/node_modules/xmlbuilder2/lib/writers/ObjectWriter.js +131 -166
  477. package/node_modules/xmlbuilder2/lib/writers/ObjectWriter.js.map +1 -1
  478. package/node_modules/xmlbuilder2/lib/writers/XMLCBWriter.d.ts +1 -1
  479. package/node_modules/xmlbuilder2/lib/writers/XMLCBWriter.js +42 -56
  480. package/node_modules/xmlbuilder2/lib/writers/XMLCBWriter.js.map +1 -1
  481. package/node_modules/xmlbuilder2/lib/writers/XMLWriter.js +48 -62
  482. package/node_modules/xmlbuilder2/lib/writers/XMLWriter.js.map +1 -1
  483. package/node_modules/xmlbuilder2/lib/writers/YAMLCBWriter.js +43 -59
  484. package/node_modules/xmlbuilder2/lib/writers/YAMLCBWriter.js.map +1 -1
  485. package/node_modules/xmlbuilder2/lib/writers/YAMLWriter.js +49 -89
  486. package/node_modules/xmlbuilder2/lib/writers/YAMLWriter.js.map +1 -1
  487. package/node_modules/xmlbuilder2/lib/writers/index.js +6 -5
  488. package/node_modules/xmlbuilder2/lib/writers/index.js.map +1 -1
  489. package/node_modules/xmlbuilder2/lib/xmlbuilder2.min.js +2 -8
  490. package/node_modules/xmlbuilder2/lib/xmlbuilder2.min.js.LICENSE.txt +10 -0
  491. package/node_modules/xmlbuilder2/package.json +34 -52
  492. package/package.json +8 -13
  493. package/node_modules/sprintf-js/.npmignore +0 -1
  494. package/node_modules/sprintf-js/LICENSE +0 -24
  495. package/node_modules/sprintf-js/README.md +0 -88
  496. package/node_modules/sprintf-js/bower.json +0 -14
  497. package/node_modules/sprintf-js/demo/angular.html +0 -20
  498. package/node_modules/sprintf-js/dist/angular-sprintf.min.js +0 -4
  499. package/node_modules/sprintf-js/dist/angular-sprintf.min.js.map +0 -1
  500. package/node_modules/sprintf-js/dist/angular-sprintf.min.map +0 -1
  501. package/node_modules/sprintf-js/dist/sprintf.min.js +0 -4
  502. package/node_modules/sprintf-js/dist/sprintf.min.js.map +0 -1
  503. package/node_modules/sprintf-js/dist/sprintf.min.map +0 -1
  504. package/node_modules/sprintf-js/gruntfile.js +0 -36
  505. package/node_modules/sprintf-js/package.json +0 -22
  506. package/node_modules/sprintf-js/src/angular-sprintf.js +0 -18
  507. package/node_modules/sprintf-js/src/sprintf.js +0 -208
  508. package/node_modules/sprintf-js/test/test.js +0 -82
  509. package/node_modules/xmlbuilder2/node_modules/argparse/LICENSE +0 -21
  510. package/node_modules/xmlbuilder2/node_modules/argparse/README.md +0 -257
  511. package/node_modules/xmlbuilder2/node_modules/argparse/index.js +0 -3
  512. package/node_modules/xmlbuilder2/node_modules/argparse/lib/action/append/constant.js +0 -47
  513. package/node_modules/xmlbuilder2/node_modules/argparse/lib/action/append.js +0 -53
  514. package/node_modules/xmlbuilder2/node_modules/argparse/lib/action/count.js +0 -40
  515. package/node_modules/xmlbuilder2/node_modules/argparse/lib/action/help.js +0 -47
  516. package/node_modules/xmlbuilder2/node_modules/argparse/lib/action/store/constant.js +0 -43
  517. package/node_modules/xmlbuilder2/node_modules/argparse/lib/action/store/false.js +0 -27
  518. package/node_modules/xmlbuilder2/node_modules/argparse/lib/action/store/true.js +0 -26
  519. package/node_modules/xmlbuilder2/node_modules/argparse/lib/action/store.js +0 -50
  520. package/node_modules/xmlbuilder2/node_modules/argparse/lib/action/subparsers.js +0 -149
  521. package/node_modules/xmlbuilder2/node_modules/argparse/lib/action/version.js +0 -47
  522. package/node_modules/xmlbuilder2/node_modules/argparse/lib/action.js +0 -146
  523. package/node_modules/xmlbuilder2/node_modules/argparse/lib/action_container.js +0 -482
  524. package/node_modules/xmlbuilder2/node_modules/argparse/lib/argparse.js +0 -14
  525. package/node_modules/xmlbuilder2/node_modules/argparse/lib/argument/error.js +0 -50
  526. package/node_modules/xmlbuilder2/node_modules/argparse/lib/argument/exclusive.js +0 -54
  527. package/node_modules/xmlbuilder2/node_modules/argparse/lib/argument/group.js +0 -75
  528. package/node_modules/xmlbuilder2/node_modules/argparse/lib/argument_parser.js +0 -1161
  529. package/node_modules/xmlbuilder2/node_modules/argparse/lib/const.js +0 -21
  530. package/node_modules/xmlbuilder2/node_modules/argparse/lib/help/added_formatters.js +0 -87
  531. package/node_modules/xmlbuilder2/node_modules/argparse/lib/help/formatter.js +0 -795
  532. package/node_modules/xmlbuilder2/node_modules/argparse/lib/namespace.js +0 -76
  533. package/node_modules/xmlbuilder2/node_modules/argparse/lib/utils.js +0 -57
  534. package/node_modules/xmlbuilder2/node_modules/argparse/package.json +0 -34
  535. package/node_modules/xmlbuilder2/node_modules/js-yaml/dist/js-yaml.min.js +0 -1
  536. package/node_modules/xmlbuilder2/node_modules/js-yaml/index.js +0 -7
  537. package/node_modules/xmlbuilder2/node_modules/js-yaml/lib/js-yaml/mark.js +0 -76
  538. package/node_modules/xmlbuilder2/node_modules/js-yaml/lib/js-yaml/schema/default_full.js +0 -25
  539. package/node_modules/xmlbuilder2/node_modules/js-yaml/lib/js-yaml/schema.js +0 -108
  540. package/node_modules/xmlbuilder2/node_modules/js-yaml/lib/js-yaml/type/js/function.js +0 -93
  541. package/node_modules/xmlbuilder2/node_modules/js-yaml/lib/js-yaml/type/js/regexp.js +0 -60
  542. package/node_modules/xmlbuilder2/node_modules/js-yaml/lib/js-yaml/type/js/undefined.js +0 -28
  543. package/node_modules/xmlbuilder2/node_modules/js-yaml/lib/js-yaml.js +0 -39
  544. package/node_modules/xmlbuilder2/node_modules/js-yaml/package.json +0 -49
  545. /package/node_modules/{xmlbuilder2/node_modules/js-yaml → js-yaml}/LICENSE +0 -0
  546. /package/node_modules/{xmlbuilder2/node_modules/js-yaml/lib/js-yaml → js-yaml/lib}/common.js +0 -0
  547. /package/node_modules/{xmlbuilder2/node_modules/js-yaml/lib/js-yaml → js-yaml/lib}/schema/failsafe.js +0 -0
  548. /package/node_modules/{xmlbuilder2/node_modules/js-yaml/lib/js-yaml → js-yaml/lib}/type/bool.js +0 -0
  549. /package/node_modules/{xmlbuilder2/node_modules/js-yaml/lib/js-yaml → js-yaml/lib}/type/map.js +0 -0
  550. /package/node_modules/{xmlbuilder2/node_modules/js-yaml/lib/js-yaml → js-yaml/lib}/type/merge.js +0 -0
  551. /package/node_modules/{xmlbuilder2/node_modules/js-yaml/lib/js-yaml → js-yaml/lib}/type/omap.js +0 -0
  552. /package/node_modules/{xmlbuilder2/node_modules/js-yaml/lib/js-yaml → js-yaml/lib}/type/pairs.js +0 -0
  553. /package/node_modules/{xmlbuilder2/node_modules/js-yaml/lib/js-yaml → js-yaml/lib}/type/seq.js +0 -0
  554. /package/node_modules/{xmlbuilder2/node_modules/js-yaml/lib/js-yaml → js-yaml/lib}/type/set.js +0 -0
  555. /package/node_modules/{xmlbuilder2/node_modules/js-yaml/lib/js-yaml → js-yaml/lib}/type/str.js +0 -0
  556. /package/node_modules/{xmlbuilder2/node_modules/js-yaml/lib/js-yaml → js-yaml/lib}/type/timestamp.js +0 -0
  557. /package/node_modules/xmlbuilder2/{LICENSE → LICENSE.txt} +0 -0
@@ -1,249 +1,151 @@
1
1
  "use strict";
2
- var __extends = (this && this.__extends) || (function () {
3
- var extendStatics = function (d, b) {
4
- extendStatics = Object.setPrototypeOf ||
5
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
6
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
7
- return extendStatics(d, b);
8
- };
9
- return function (d, b) {
10
- extendStatics(d, b);
11
- function __() { this.constructor = d; }
12
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
13
- };
14
- })();
15
- var __values = (this && this.__values) || function(o) {
16
- var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
17
- if (m) return m.call(o);
18
- if (o && typeof o.length === "number") return {
19
- next: function () {
20
- if (o && i >= o.length) o = void 0;
21
- return { value: o && o[i++], done: !o };
22
- }
23
- };
24
- throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
25
- };
26
- var __read = (this && this.__read) || function (o, n) {
27
- var m = typeof Symbol === "function" && o[Symbol.iterator];
28
- if (!m) return o;
29
- var i = m.call(o), r, ar = [], e;
30
- try {
31
- while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
32
- }
33
- catch (error) { e = { error: error }; }
34
- finally {
35
- try {
36
- if (r && !r.done && (m = i["return"])) m.call(i);
37
- }
38
- finally { if (e) throw e.error; }
39
- }
40
- return ar;
41
- };
42
2
  Object.defineProperty(exports, "__esModule", { value: true });
43
- var DOMImpl_1 = require("./DOMImpl");
44
- var interfaces_1 = require("./interfaces");
45
- var DOMException_1 = require("./DOMException");
46
- var NodeImpl_1 = require("./NodeImpl");
47
- var util_1 = require("../util");
48
- var util_2 = require("@oozcitak/util");
49
- var infra_1 = require("@oozcitak/infra");
50
- var URLAlgorithm_1 = require("@oozcitak/url/lib/URLAlgorithm");
51
- var algorithm_1 = require("../algorithm");
52
- var WebIDLAlgorithm_1 = require("../algorithm/WebIDLAlgorithm");
3
+ exports.DocumentImpl = void 0;
4
+ const DOMImpl_1 = require("./DOMImpl");
5
+ const interfaces_1 = require("./interfaces");
6
+ const DOMException_1 = require("./DOMException");
7
+ const NodeImpl_1 = require("./NodeImpl");
8
+ const util_1 = require("../util");
9
+ const util_2 = require("@oozcitak/util");
10
+ const infra_1 = require("@oozcitak/infra");
11
+ const URLAlgorithm_1 = require("@oozcitak/url/lib/URLAlgorithm");
12
+ const algorithm_1 = require("../algorithm");
13
+ const WebIDLAlgorithm_1 = require("../algorithm/WebIDLAlgorithm");
53
14
  /**
54
15
  * Represents a document node.
55
16
  */
56
- var DocumentImpl = /** @class */ (function (_super) {
57
- __extends(DocumentImpl, _super);
17
+ class DocumentImpl extends NodeImpl_1.NodeImpl {
18
+ _nodeType = interfaces_1.NodeType.Document;
19
+ _children = new Set();
20
+ _encoding = {
21
+ name: "UTF-8",
22
+ labels: ["unicode-1-1-utf-8", "utf-8", "utf8"]
23
+ };
24
+ _contentType = 'application/xml';
25
+ _URL = {
26
+ scheme: "about",
27
+ username: "",
28
+ password: "",
29
+ host: null,
30
+ port: null,
31
+ path: ["blank"],
32
+ query: null,
33
+ fragment: null,
34
+ _cannotBeABaseURLFlag: true,
35
+ _blobURLEntry: null
36
+ };
37
+ _origin = null;
38
+ _type = "xml";
39
+ _mode = "no-quirks";
40
+ _implementation;
41
+ _documentElement = null;
42
+ _hasNamespaces = false;
43
+ _nodeDocumentOverwrite = null;
44
+ get _nodeDocument() { return this._nodeDocumentOverwrite || this; }
45
+ set _nodeDocument(val) { this._nodeDocumentOverwrite = val; }
58
46
  /**
59
47
  * Initializes a new instance of `Document`.
60
48
  */
61
- function DocumentImpl() {
62
- var _this = _super.call(this) || this;
63
- _this._children = new Set();
64
- _this._encoding = {
65
- name: "UTF-8",
66
- labels: ["unicode-1-1-utf-8", "utf-8", "utf8"]
67
- };
68
- _this._contentType = 'application/xml';
69
- _this._URL = {
70
- scheme: "about",
71
- username: "",
72
- password: "",
73
- host: null,
74
- port: null,
75
- path: ["blank"],
76
- query: null,
77
- fragment: null,
78
- _cannotBeABaseURLFlag: true,
79
- _blobURLEntry: null
80
- };
81
- _this._origin = null;
82
- _this._type = "xml";
83
- _this._mode = "no-quirks";
84
- _this._documentElement = null;
85
- _this._hasNamespaces = false;
86
- _this._nodeDocumentOverwrite = null;
87
- return _this;
49
+ constructor() {
50
+ super();
51
+ }
52
+ /** @inheritdoc */
53
+ get implementation() {
54
+ /**
55
+ * The implementation attribute’s getter must return the DOMImplementation
56
+ * object that is associated with the document.
57
+ */
58
+ return this._implementation || (this._implementation = (0, algorithm_1.create_domImplementation)(this));
59
+ }
60
+ /** @inheritdoc */
61
+ get URL() {
62
+ /**
63
+ * The URL attribute’s getter and documentURI attribute’s getter must return
64
+ * the URL, serialized.
65
+ * See: https://url.spec.whatwg.org/#concept-url-serializer
66
+ */
67
+ return (0, URLAlgorithm_1.urlSerializer)(this._URL);
68
+ }
69
+ /** @inheritdoc */
70
+ get documentURI() { return this.URL; }
71
+ /** @inheritdoc */
72
+ get origin() {
73
+ return "null";
74
+ }
75
+ /** @inheritdoc */
76
+ get compatMode() {
77
+ /**
78
+ * The compatMode attribute’s getter must return "BackCompat" if context
79
+ * object’s mode is "quirks", and "CSS1Compat" otherwise.
80
+ */
81
+ return this._mode === "quirks" ? "BackCompat" : "CSS1Compat";
82
+ }
83
+ /** @inheritdoc */
84
+ get characterSet() {
85
+ /**
86
+ * The characterSet attribute’s getter, charset attribute’s getter, and
87
+ * inputEncoding attribute’s getter, must return context object’s
88
+ * encoding’s name.
89
+ */
90
+ return this._encoding.name;
91
+ }
92
+ /** @inheritdoc */
93
+ get charset() { return this._encoding.name; }
94
+ /** @inheritdoc */
95
+ get inputEncoding() { return this._encoding.name; }
96
+ /** @inheritdoc */
97
+ get contentType() {
98
+ /**
99
+ * The contentType attribute’s getter must return the content type.
100
+ */
101
+ return this._contentType;
102
+ }
103
+ /** @inheritdoc */
104
+ get doctype() {
105
+ /**
106
+ * The doctype attribute’s getter must return the child of the document
107
+ * that is a doctype, and null otherwise.
108
+ */
109
+ for (const child of this._children) {
110
+ if (util_1.Guard.isDocumentTypeNode(child))
111
+ return child;
112
+ }
113
+ return null;
114
+ }
115
+ /** @inheritdoc */
116
+ get documentElement() {
117
+ /**
118
+ * The documentElement attribute’s getter must return the document element.
119
+ */
120
+ return this._documentElement;
88
121
  }
89
- Object.defineProperty(DocumentImpl.prototype, "_nodeDocument", {
90
- get: function () { return this._nodeDocumentOverwrite || this; },
91
- set: function (val) { this._nodeDocumentOverwrite = val; },
92
- enumerable: true,
93
- configurable: true
94
- });
95
- Object.defineProperty(DocumentImpl.prototype, "implementation", {
96
- /** @inheritdoc */
97
- get: function () {
98
- /**
99
- * The implementation attribute’s getter must return the DOMImplementation
100
- * object that is associated with the document.
101
- */
102
- return this._implementation || (this._implementation = algorithm_1.create_domImplementation(this));
103
- },
104
- enumerable: true,
105
- configurable: true
106
- });
107
- Object.defineProperty(DocumentImpl.prototype, "URL", {
108
- /** @inheritdoc */
109
- get: function () {
110
- /**
111
- * The URL attribute’s getter and documentURI attribute’s getter must return
112
- * the URL, serialized.
113
- * See: https://url.spec.whatwg.org/#concept-url-serializer
114
- */
115
- return URLAlgorithm_1.urlSerializer(this._URL);
116
- },
117
- enumerable: true,
118
- configurable: true
119
- });
120
- Object.defineProperty(DocumentImpl.prototype, "documentURI", {
121
- /** @inheritdoc */
122
- get: function () { return this.URL; },
123
- enumerable: true,
124
- configurable: true
125
- });
126
- Object.defineProperty(DocumentImpl.prototype, "origin", {
127
- /** @inheritdoc */
128
- get: function () {
129
- return "null";
130
- },
131
- enumerable: true,
132
- configurable: true
133
- });
134
- Object.defineProperty(DocumentImpl.prototype, "compatMode", {
135
- /** @inheritdoc */
136
- get: function () {
137
- /**
138
- * The compatMode attribute’s getter must return "BackCompat" if context
139
- * object’s mode is "quirks", and "CSS1Compat" otherwise.
140
- */
141
- return this._mode === "quirks" ? "BackCompat" : "CSS1Compat";
142
- },
143
- enumerable: true,
144
- configurable: true
145
- });
146
- Object.defineProperty(DocumentImpl.prototype, "characterSet", {
147
- /** @inheritdoc */
148
- get: function () {
149
- /**
150
- * The characterSet attribute’s getter, charset attribute’s getter, and
151
- * inputEncoding attribute’s getter, must return context object’s
152
- * encoding’s name.
153
- */
154
- return this._encoding.name;
155
- },
156
- enumerable: true,
157
- configurable: true
158
- });
159
- Object.defineProperty(DocumentImpl.prototype, "charset", {
160
- /** @inheritdoc */
161
- get: function () { return this._encoding.name; },
162
- enumerable: true,
163
- configurable: true
164
- });
165
- Object.defineProperty(DocumentImpl.prototype, "inputEncoding", {
166
- /** @inheritdoc */
167
- get: function () { return this._encoding.name; },
168
- enumerable: true,
169
- configurable: true
170
- });
171
- Object.defineProperty(DocumentImpl.prototype, "contentType", {
172
- /** @inheritdoc */
173
- get: function () {
174
- /**
175
- * The contentType attribute’s getter must return the content type.
176
- */
177
- return this._contentType;
178
- },
179
- enumerable: true,
180
- configurable: true
181
- });
182
- Object.defineProperty(DocumentImpl.prototype, "doctype", {
183
- /** @inheritdoc */
184
- get: function () {
185
- var e_1, _a;
186
- try {
187
- /**
188
- * The doctype attribute’s getter must return the child of the document
189
- * that is a doctype, and null otherwise.
190
- */
191
- for (var _b = __values(this._children), _c = _b.next(); !_c.done; _c = _b.next()) {
192
- var child = _c.value;
193
- if (util_1.Guard.isDocumentTypeNode(child))
194
- return child;
195
- }
196
- }
197
- catch (e_1_1) { e_1 = { error: e_1_1 }; }
198
- finally {
199
- try {
200
- if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
201
- }
202
- finally { if (e_1) throw e_1.error; }
203
- }
204
- return null;
205
- },
206
- enumerable: true,
207
- configurable: true
208
- });
209
- Object.defineProperty(DocumentImpl.prototype, "documentElement", {
210
- /** @inheritdoc */
211
- get: function () {
212
- /**
213
- * The documentElement attribute’s getter must return the document element.
214
- */
215
- return this._documentElement;
216
- },
217
- enumerable: true,
218
- configurable: true
219
- });
220
122
  /** @inheritdoc */
221
- DocumentImpl.prototype.getElementsByTagName = function (qualifiedName) {
123
+ getElementsByTagName(qualifiedName) {
222
124
  /**
223
125
  * The getElementsByTagName(qualifiedName) method, when invoked, must return
224
126
  * the list of elements with qualified name qualifiedName for the context object.
225
127
  */
226
- return algorithm_1.node_listOfElementsWithQualifiedName(qualifiedName, this);
227
- };
128
+ return (0, algorithm_1.node_listOfElementsWithQualifiedName)(qualifiedName, this);
129
+ }
228
130
  /** @inheritdoc */
229
- DocumentImpl.prototype.getElementsByTagNameNS = function (namespace, localName) {
131
+ getElementsByTagNameNS(namespace, localName) {
230
132
  /**
231
133
  * The getElementsByTagNameNS(namespace, localName) method, when invoked,
232
134
  * must return the list of elements with namespace namespace and local name
233
135
  * localName for the context object.
234
136
  */
235
- return algorithm_1.node_listOfElementsWithNamespace(namespace, localName, this);
236
- };
137
+ return (0, algorithm_1.node_listOfElementsWithNamespace)(namespace, localName, this);
138
+ }
237
139
  /** @inheritdoc */
238
- DocumentImpl.prototype.getElementsByClassName = function (classNames) {
140
+ getElementsByClassName(classNames) {
239
141
  /**
240
142
  * The getElementsByClassName(classNames) method, when invoked, must return
241
143
  * the list of elements with class names classNames for the context object.
242
144
  */
243
- return algorithm_1.node_listOfElementsWithClassNames(classNames, this);
244
- };
145
+ return (0, algorithm_1.node_listOfElementsWithClassNames)(classNames, this);
146
+ }
245
147
  /** @inheritdoc */
246
- DocumentImpl.prototype.createElement = function (localName, options) {
148
+ createElement(localName, options) {
247
149
  /**
248
150
  * 1. If localName does not match the Name production, then throw an
249
151
  * "InvalidCharacterError" DOMException.
@@ -259,50 +161,50 @@ var DocumentImpl = /** @class */ (function (_super) {
259
161
  * localName, namespace, null, is, and with the synchronous custom elements
260
162
  * flag set.
261
163
  */
262
- if (!algorithm_1.xml_isName(localName))
164
+ if (!(0, algorithm_1.xml_isName)(localName))
263
165
  throw new DOMException_1.InvalidCharacterError();
264
166
  if (this._type === "html")
265
167
  localName = localName.toLowerCase();
266
- var is = null;
168
+ let is = null;
267
169
  if (options !== undefined) {
268
- if (util_2.isString(options)) {
170
+ if ((0, util_2.isString)(options)) {
269
171
  is = options;
270
172
  }
271
173
  else {
272
174
  is = options.is;
273
175
  }
274
176
  }
275
- var namespace = (this._type === "html" || this._contentType === "application/xhtml+xml") ?
177
+ const namespace = (this._type === "html" || this._contentType === "application/xhtml+xml") ?
276
178
  infra_1.namespace.HTML : null;
277
- return algorithm_1.element_createAnElement(this, localName, namespace, null, is, true);
278
- };
179
+ return (0, algorithm_1.element_createAnElement)(this, localName, namespace, null, is, true);
180
+ }
279
181
  /** @inheritdoc */
280
- DocumentImpl.prototype.createElementNS = function (namespace, qualifiedName, options) {
182
+ createElementNS(namespace, qualifiedName, options) {
281
183
  /**
282
184
  * The createElementNS(namespace, qualifiedName, options) method, when
283
185
  * invoked, must return the result of running the internal createElementNS
284
186
  * steps, given context object, namespace, qualifiedName, and options.
285
187
  */
286
- return algorithm_1.document_internalCreateElementNS(this, namespace, qualifiedName, options);
287
- };
188
+ return (0, algorithm_1.document_internalCreateElementNS)(this, namespace, qualifiedName, options);
189
+ }
288
190
  /** @inheritdoc */
289
- DocumentImpl.prototype.createDocumentFragment = function () {
191
+ createDocumentFragment() {
290
192
  /**
291
193
  * The createDocumentFragment() method, when invoked, must return a new
292
194
  * DocumentFragment node with its node document set to the context object.
293
195
  */
294
- return algorithm_1.create_documentFragment(this);
295
- };
196
+ return (0, algorithm_1.create_documentFragment)(this);
197
+ }
296
198
  /** @inheritdoc */
297
- DocumentImpl.prototype.createTextNode = function (data) {
199
+ createTextNode(data) {
298
200
  /**
299
201
  * The createTextNode(data) method, when invoked, must return a new Text
300
202
  * node with its data set to data and node document set to the context object.
301
203
  */
302
- return algorithm_1.create_text(this, data);
303
- };
204
+ return (0, algorithm_1.create_text)(this, data);
205
+ }
304
206
  /** @inheritdoc */
305
- DocumentImpl.prototype.createCDATASection = function (data) {
207
+ createCDATASection(data) {
306
208
  /**
307
209
  * 1. If context object is an HTML document, then throw a
308
210
  * "NotSupportedError" DOMException.
@@ -315,18 +217,18 @@ var DocumentImpl = /** @class */ (function (_super) {
315
217
  throw new DOMException_1.NotSupportedError();
316
218
  if (data.indexOf(']]>') !== -1)
317
219
  throw new DOMException_1.InvalidCharacterError();
318
- return algorithm_1.create_cdataSection(this, data);
319
- };
220
+ return (0, algorithm_1.create_cdataSection)(this, data);
221
+ }
320
222
  /** @inheritdoc */
321
- DocumentImpl.prototype.createComment = function (data) {
223
+ createComment(data) {
322
224
  /**
323
225
  * The createComment(data) method, when invoked, must return a new Comment
324
226
  * node with its data set to data and node document set to the context object.
325
227
  */
326
- return algorithm_1.create_comment(this, data);
327
- };
228
+ return (0, algorithm_1.create_comment)(this, data);
229
+ }
328
230
  /** @inheritdoc */
329
- DocumentImpl.prototype.createProcessingInstruction = function (target, data) {
231
+ createProcessingInstruction(target, data) {
330
232
  /**
331
233
  * 1. If target does not match the Name production, then throw an
332
234
  * "InvalidCharacterError" DOMException.
@@ -335,15 +237,14 @@ var DocumentImpl = /** @class */ (function (_super) {
335
237
  * 3. Return a new ProcessingInstruction node, with target set to target,
336
238
  * data set to data, and node document set to the context object.
337
239
  */
338
- if (!algorithm_1.xml_isName(target))
240
+ if (!(0, algorithm_1.xml_isName)(target))
339
241
  throw new DOMException_1.InvalidCharacterError();
340
242
  if (data.indexOf("?>") !== -1)
341
243
  throw new DOMException_1.InvalidCharacterError();
342
- return algorithm_1.create_processingInstruction(this, target, data);
343
- };
244
+ return (0, algorithm_1.create_processingInstruction)(this, target, data);
245
+ }
344
246
  /** @inheritdoc */
345
- DocumentImpl.prototype.importNode = function (node, deep) {
346
- if (deep === void 0) { deep = false; }
247
+ importNode(node, deep = false) {
347
248
  /**
348
249
  * 1. If node is a document or shadow root, then throw a "NotSupportedError" DOMException.
349
250
  */
@@ -352,10 +253,10 @@ var DocumentImpl = /** @class */ (function (_super) {
352
253
  /**
353
254
  * 2. Return a clone of node, with context object and the clone children flag set if deep is true.
354
255
  */
355
- return algorithm_1.node_clone(node, this, deep);
356
- };
256
+ return (0, algorithm_1.node_clone)(node, this, deep);
257
+ }
357
258
  /** @inheritdoc */
358
- DocumentImpl.prototype.adoptNode = function (node) {
259
+ adoptNode(node) {
359
260
  /**
360
261
  * 1. If node is a document, then throw a "NotSupportedError" DOMException.
361
262
  */
@@ -370,11 +271,11 @@ var DocumentImpl = /** @class */ (function (_super) {
370
271
  * 3. Adopt node into the context object.
371
272
  * 4. Return node.
372
273
  */
373
- algorithm_1.document_adopt(node, this);
274
+ (0, algorithm_1.document_adopt)(node, this);
374
275
  return node;
375
- };
276
+ }
376
277
  /** @inheritdoc */
377
- DocumentImpl.prototype.createAttribute = function (localName) {
278
+ createAttribute(localName) {
378
279
  /**
379
280
  * 1. If localName does not match the Name production in XML, then throw
380
281
  * an "InvalidCharacterError" DOMException.
@@ -383,47 +284,45 @@ var DocumentImpl = /** @class */ (function (_super) {
383
284
  * 3. Return a new attribute whose local name is localName and node document
384
285
  * is context object.
385
286
  */
386
- if (!algorithm_1.xml_isName(localName))
287
+ if (!(0, algorithm_1.xml_isName)(localName))
387
288
  throw new DOMException_1.InvalidCharacterError();
388
289
  if (this._type === "html") {
389
290
  localName = localName.toLowerCase();
390
291
  }
391
- var attr = algorithm_1.create_attr(this, localName);
292
+ const attr = (0, algorithm_1.create_attr)(this, localName);
392
293
  return attr;
393
- };
294
+ }
394
295
  /** @inheritdoc */
395
- DocumentImpl.prototype.createAttributeNS = function (namespace, qualifiedName) {
296
+ createAttributeNS(namespace, qualifiedName) {
396
297
  /**
397
298
  * 1. Let namespace, prefix, and localName be the result of passing
398
299
  * namespace and qualifiedName to validate and extract.
399
300
  * 2. Return a new attribute whose namespace is namespace, namespace prefix
400
301
  * is prefix, local name is localName, and node document is context object.
401
302
  */
402
- var _a = __read(algorithm_1.namespace_validateAndExtract(namespace, qualifiedName), 3), ns = _a[0], prefix = _a[1], localName = _a[2];
403
- var attr = algorithm_1.create_attr(this, localName);
303
+ const [ns, prefix, localName] = (0, algorithm_1.namespace_validateAndExtract)(namespace, qualifiedName);
304
+ const attr = (0, algorithm_1.create_attr)(this, localName);
404
305
  attr._namespace = ns;
405
306
  attr._namespacePrefix = prefix;
406
307
  return attr;
407
- };
308
+ }
408
309
  /** @inheritdoc */
409
- DocumentImpl.prototype.createEvent = function (eventInterface) {
410
- return algorithm_1.event_createLegacyEvent(eventInterface);
411
- };
310
+ createEvent(eventInterface) {
311
+ return (0, algorithm_1.event_createLegacyEvent)(eventInterface);
312
+ }
412
313
  /** @inheritdoc */
413
- DocumentImpl.prototype.createRange = function () {
314
+ createRange() {
414
315
  /**
415
316
  * The createRange() method, when invoked, must return a new live range
416
317
  * with (context object, 0) as its start and end.
417
318
  */
418
- var range = algorithm_1.create_range();
319
+ const range = (0, algorithm_1.create_range)();
419
320
  range._start = [this, 0];
420
321
  range._end = [this, 0];
421
322
  return range;
422
- };
323
+ }
423
324
  /** @inheritdoc */
424
- DocumentImpl.prototype.createNodeIterator = function (root, whatToShow, filter) {
425
- if (whatToShow === void 0) { whatToShow = interfaces_1.WhatToShow.All; }
426
- if (filter === void 0) { filter = null; }
325
+ createNodeIterator(root, whatToShow = interfaces_1.WhatToShow.All, filter = null) {
427
326
  /**
428
327
  * 1. Let iterator be a new NodeIterator object.
429
328
  * 2. Set iterator’s root and iterator’s reference to root.
@@ -432,22 +331,20 @@ var DocumentImpl = /** @class */ (function (_super) {
432
331
  * 5. Set iterator’s filter to filter.
433
332
  * 6. Return iterator.
434
333
  */
435
- var iterator = algorithm_1.create_nodeIterator(root, root, true);
334
+ const iterator = (0, algorithm_1.create_nodeIterator)(root, root, true);
436
335
  iterator._whatToShow = whatToShow;
437
- iterator._iteratorCollection = algorithm_1.create_nodeList(root);
438
- if (util_2.isFunction(filter)) {
439
- iterator._filter = algorithm_1.create_nodeFilter();
336
+ iterator._iteratorCollection = (0, algorithm_1.create_nodeList)(root);
337
+ if ((0, util_2.isFunction)(filter)) {
338
+ iterator._filter = (0, algorithm_1.create_nodeFilter)();
440
339
  iterator._filter.acceptNode = filter;
441
340
  }
442
341
  else {
443
342
  iterator._filter = filter;
444
343
  }
445
344
  return iterator;
446
- };
345
+ }
447
346
  /** @inheritdoc */
448
- DocumentImpl.prototype.createTreeWalker = function (root, whatToShow, filter) {
449
- if (whatToShow === void 0) { whatToShow = interfaces_1.WhatToShow.All; }
450
- if (filter === void 0) { filter = null; }
347
+ createTreeWalker(root, whatToShow = interfaces_1.WhatToShow.All, filter = null) {
451
348
  /**
452
349
  * 1. Let walker be a new TreeWalker object.
453
350
  * 2. Set walker’s root and walker’s current to root.
@@ -455,23 +352,23 @@ var DocumentImpl = /** @class */ (function (_super) {
455
352
  * 4. Set walker’s filter to filter.
456
353
  * 5. Return walker.
457
354
  */
458
- var walker = algorithm_1.create_treeWalker(root, root);
355
+ const walker = (0, algorithm_1.create_treeWalker)(root, root);
459
356
  walker._whatToShow = whatToShow;
460
- if (util_2.isFunction(filter)) {
461
- walker._filter = algorithm_1.create_nodeFilter();
357
+ if ((0, util_2.isFunction)(filter)) {
358
+ walker._filter = (0, algorithm_1.create_nodeFilter)();
462
359
  walker._filter.acceptNode = filter;
463
360
  }
464
361
  else {
465
362
  walker._filter = filter;
466
363
  }
467
364
  return walker;
468
- };
365
+ }
469
366
  /**
470
367
  * Gets the parent event target for the given event.
471
368
  *
472
369
  * @param event - an event
473
370
  */
474
- DocumentImpl.prototype._getTheParent = function (event) {
371
+ _getTheParent(event) {
475
372
  /**
476
373
  * TODO: Implement realms
477
374
  * A document’s get the parent algorithm, given an event, returns null if
@@ -484,62 +381,33 @@ var DocumentImpl = /** @class */ (function (_super) {
484
381
  else {
485
382
  return DOMImpl_1.dom.window;
486
383
  }
487
- };
384
+ }
488
385
  // MIXIN: NonElementParentNode
489
386
  /* istanbul ignore next */
490
- DocumentImpl.prototype.getElementById = function (elementId) { throw new Error("Mixin: NonElementParentNode not implemented."); };
491
- Object.defineProperty(DocumentImpl.prototype, "children", {
492
- // MIXIN: DocumentOrShadowRoot
493
- // No elements
494
- // MIXIN: ParentNode
495
- /* istanbul ignore next */
496
- get: function () { throw new Error("Mixin: ParentNode not implemented."); },
497
- enumerable: true,
498
- configurable: true
499
- });
500
- Object.defineProperty(DocumentImpl.prototype, "firstElementChild", {
501
- /* istanbul ignore next */
502
- get: function () { throw new Error("Mixin: ParentNode not implemented."); },
503
- enumerable: true,
504
- configurable: true
505
- });
506
- Object.defineProperty(DocumentImpl.prototype, "lastElementChild", {
507
- /* istanbul ignore next */
508
- get: function () { throw new Error("Mixin: ParentNode not implemented."); },
509
- enumerable: true,
510
- configurable: true
511
- });
512
- Object.defineProperty(DocumentImpl.prototype, "childElementCount", {
513
- /* istanbul ignore next */
514
- get: function () { throw new Error("Mixin: ParentNode not implemented."); },
515
- enumerable: true,
516
- configurable: true
517
- });
387
+ getElementById(elementId) { throw new Error("Mixin: NonElementParentNode not implemented."); }
388
+ // MIXIN: DocumentOrShadowRoot
389
+ // No elements
390
+ // MIXIN: ParentNode
518
391
  /* istanbul ignore next */
519
- DocumentImpl.prototype.prepend = function () {
520
- var nodes = [];
521
- for (var _i = 0; _i < arguments.length; _i++) {
522
- nodes[_i] = arguments[_i];
523
- }
524
- throw new Error("Mixin: ParentNode not implemented.");
525
- };
392
+ get children() { throw new Error("Mixin: ParentNode not implemented."); }
526
393
  /* istanbul ignore next */
527
- DocumentImpl.prototype.append = function () {
528
- var nodes = [];
529
- for (var _i = 0; _i < arguments.length; _i++) {
530
- nodes[_i] = arguments[_i];
531
- }
532
- throw new Error("Mixin: ParentNode not implemented.");
533
- };
394
+ get firstElementChild() { throw new Error("Mixin: ParentNode not implemented."); }
395
+ /* istanbul ignore next */
396
+ get lastElementChild() { throw new Error("Mixin: ParentNode not implemented."); }
397
+ /* istanbul ignore next */
398
+ get childElementCount() { throw new Error("Mixin: ParentNode not implemented."); }
399
+ /* istanbul ignore next */
400
+ prepend(...nodes) { throw new Error("Mixin: ParentNode not implemented."); }
401
+ /* istanbul ignore next */
402
+ append(...nodes) { throw new Error("Mixin: ParentNode not implemented."); }
534
403
  /* istanbul ignore next */
535
- DocumentImpl.prototype.querySelector = function (selectors) { throw new Error("Mixin: ParentNode not implemented."); };
404
+ querySelector(selectors) { throw new Error("Mixin: ParentNode not implemented."); }
536
405
  /* istanbul ignore next */
537
- DocumentImpl.prototype.querySelectorAll = function (selectors) { throw new Error("Mixin: ParentNode not implemented."); };
538
- return DocumentImpl;
539
- }(NodeImpl_1.NodeImpl));
406
+ querySelectorAll(selectors) { throw new Error("Mixin: ParentNode not implemented."); }
407
+ }
540
408
  exports.DocumentImpl = DocumentImpl;
541
409
  /**
542
410
  * Initialize prototype properties
543
411
  */
544
- WebIDLAlgorithm_1.idl_defineConst(DocumentImpl.prototype, "_nodeType", interfaces_1.NodeType.Document);
412
+ (0, WebIDLAlgorithm_1.idl_defineConst)(DocumentImpl.prototype, "_nodeType", interfaces_1.NodeType.Document);
545
413
  //# sourceMappingURL=DocumentImpl.js.map