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,168 +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
2
  Object.defineProperty(exports, "__esModule", { value: true });
27
- var DOMImpl_1 = require("./DOMImpl");
28
- var interfaces_1 = require("./interfaces");
29
- var EventTargetImpl_1 = require("./EventTargetImpl");
30
- var util_1 = require("../util");
31
- var DOMException_1 = require("./DOMException");
32
- var algorithm_1 = require("../algorithm");
33
- var URLAlgorithm_1 = require("@oozcitak/url/lib/URLAlgorithm");
34
- var WebIDLAlgorithm_1 = require("../algorithm/WebIDLAlgorithm");
3
+ exports.NodeImpl = void 0;
4
+ const DOMImpl_1 = require("./DOMImpl");
5
+ const interfaces_1 = require("./interfaces");
6
+ const EventTargetImpl_1 = require("./EventTargetImpl");
7
+ const util_1 = require("../util");
8
+ const DOMException_1 = require("./DOMException");
9
+ const algorithm_1 = require("../algorithm");
10
+ const URLAlgorithm_1 = require("@oozcitak/url/lib/URLAlgorithm");
11
+ const WebIDLAlgorithm_1 = require("../algorithm/WebIDLAlgorithm");
35
12
  /**
36
13
  * Represents a generic XML node.
37
14
  */
38
- var NodeImpl = /** @class */ (function (_super) {
39
- __extends(NodeImpl, _super);
15
+ class NodeImpl extends EventTargetImpl_1.EventTargetImpl {
16
+ static ELEMENT_NODE = 1;
17
+ static ATTRIBUTE_NODE = 2;
18
+ static TEXT_NODE = 3;
19
+ static CDATA_SECTION_NODE = 4;
20
+ static ENTITY_REFERENCE_NODE = 5;
21
+ static ENTITY_NODE = 6;
22
+ static PROCESSING_INSTRUCTION_NODE = 7;
23
+ static COMMENT_NODE = 8;
24
+ static DOCUMENT_NODE = 9;
25
+ static DOCUMENT_TYPE_NODE = 10;
26
+ static DOCUMENT_FRAGMENT_NODE = 11;
27
+ static NOTATION_NODE = 12;
28
+ static DOCUMENT_POSITION_DISCONNECTED = 0x01;
29
+ static DOCUMENT_POSITION_PRECEDING = 0x02;
30
+ static DOCUMENT_POSITION_FOLLOWING = 0x04;
31
+ static DOCUMENT_POSITION_CONTAINS = 0x08;
32
+ static DOCUMENT_POSITION_CONTAINED_BY = 0x10;
33
+ static DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC = 0x20;
34
+ ELEMENT_NODE = 1;
35
+ ATTRIBUTE_NODE = 2;
36
+ TEXT_NODE = 3;
37
+ CDATA_SECTION_NODE = 4;
38
+ ENTITY_REFERENCE_NODE = 5;
39
+ ENTITY_NODE = 6;
40
+ PROCESSING_INSTRUCTION_NODE = 7;
41
+ COMMENT_NODE = 8;
42
+ DOCUMENT_NODE = 9;
43
+ DOCUMENT_TYPE_NODE = 10;
44
+ DOCUMENT_FRAGMENT_NODE = 11;
45
+ NOTATION_NODE = 12;
46
+ DOCUMENT_POSITION_DISCONNECTED = 0x01;
47
+ DOCUMENT_POSITION_PRECEDING = 0x02;
48
+ DOCUMENT_POSITION_FOLLOWING = 0x04;
49
+ DOCUMENT_POSITION_CONTAINS = 0x08;
50
+ DOCUMENT_POSITION_CONTAINED_BY = 0x10;
51
+ DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC = 0x20;
52
+ __childNodes;
53
+ get _childNodes() {
54
+ return this.__childNodes || (this.__childNodes = (0, algorithm_1.create_nodeList)(this));
55
+ }
56
+ _nodeDocumentOverride;
57
+ get _nodeDocument() { return this._nodeDocumentOverride || DOMImpl_1.dom.window._associatedDocument; }
58
+ set _nodeDocument(val) { this._nodeDocumentOverride = val; }
59
+ __registeredObserverList;
60
+ get _registeredObserverList() {
61
+ return this.__registeredObserverList || (this.__registeredObserverList = []);
62
+ }
63
+ _parent = null;
64
+ _children = new util_1.EmptySet;
65
+ _firstChild = null;
66
+ _lastChild = null;
67
+ _previousSibling = null;
68
+ _nextSibling = null;
40
69
  /**
41
70
  * Initializes a new instance of `Node`.
42
71
  */
43
- function NodeImpl() {
44
- var _this = _super.call(this) || this;
45
- _this._parent = null;
46
- _this._firstChild = null;
47
- _this._lastChild = null;
48
- _this._previousSibling = null;
49
- _this._nextSibling = null;
50
- return _this;
51
- }
52
- Object.defineProperty(NodeImpl.prototype, "_childNodes", {
53
- get: function () {
54
- return this.__childNodes || (this.__childNodes = algorithm_1.create_nodeList(this));
55
- },
56
- enumerable: true,
57
- configurable: true
58
- });
59
- Object.defineProperty(NodeImpl.prototype, "_nodeDocument", {
60
- get: function () { return this._nodeDocumentOverride || DOMImpl_1.dom.window._associatedDocument; },
61
- set: function (val) { this._nodeDocumentOverride = val; },
62
- enumerable: true,
63
- configurable: true
64
- });
65
- Object.defineProperty(NodeImpl.prototype, "_registeredObserverList", {
66
- get: function () {
67
- return this.__registeredObserverList || (this.__registeredObserverList = []);
68
- },
69
- enumerable: true,
70
- configurable: true
71
- });
72
- Object.defineProperty(NodeImpl.prototype, "nodeType", {
73
- /** @inheritdoc */
74
- get: function () { return this._nodeType; },
75
- enumerable: true,
76
- configurable: true
77
- });
78
- Object.defineProperty(NodeImpl.prototype, "nodeName", {
79
- /**
80
- * Returns a string appropriate for the type of node.
81
- */
82
- get: function () {
83
- if (util_1.Guard.isElementNode(this)) {
84
- return this._htmlUppercasedQualifiedName;
85
- }
86
- else if (util_1.Guard.isAttrNode(this)) {
87
- return this._qualifiedName;
88
- }
89
- else if (util_1.Guard.isExclusiveTextNode(this)) {
90
- return "#text";
91
- }
92
- else if (util_1.Guard.isCDATASectionNode(this)) {
93
- return "#cdata-section";
94
- }
95
- else if (util_1.Guard.isProcessingInstructionNode(this)) {
96
- return this._target;
97
- }
98
- else if (util_1.Guard.isCommentNode(this)) {
99
- return "#comment";
100
- }
101
- else if (util_1.Guard.isDocumentNode(this)) {
102
- return "#document";
103
- }
104
- else if (util_1.Guard.isDocumentTypeNode(this)) {
105
- return this._name;
106
- }
107
- else if (util_1.Guard.isDocumentFragmentNode(this)) {
108
- return "#document-fragment";
109
- }
110
- else {
111
- return "";
112
- }
113
- },
114
- enumerable: true,
115
- configurable: true
116
- });
117
- Object.defineProperty(NodeImpl.prototype, "baseURI", {
72
+ constructor() {
73
+ super();
74
+ }
75
+ /** @inheritdoc */
76
+ get nodeType() { return this._nodeType; }
77
+ /**
78
+ * Returns a string appropriate for the type of node.
79
+ */
80
+ get nodeName() {
81
+ if (util_1.Guard.isElementNode(this)) {
82
+ return this._htmlUppercasedQualifiedName;
83
+ }
84
+ else if (util_1.Guard.isAttrNode(this)) {
85
+ return this._qualifiedName;
86
+ }
87
+ else if (util_1.Guard.isExclusiveTextNode(this)) {
88
+ return "#text";
89
+ }
90
+ else if (util_1.Guard.isCDATASectionNode(this)) {
91
+ return "#cdata-section";
92
+ }
93
+ else if (util_1.Guard.isProcessingInstructionNode(this)) {
94
+ return this._target;
95
+ }
96
+ else if (util_1.Guard.isCommentNode(this)) {
97
+ return "#comment";
98
+ }
99
+ else if (util_1.Guard.isDocumentNode(this)) {
100
+ return "#document";
101
+ }
102
+ else if (util_1.Guard.isDocumentTypeNode(this)) {
103
+ return this._name;
104
+ }
105
+ else if (util_1.Guard.isDocumentFragmentNode(this)) {
106
+ return "#document-fragment";
107
+ }
108
+ else {
109
+ return "";
110
+ }
111
+ }
112
+ /**
113
+ * Gets the absolute base URL of the node.
114
+ */
115
+ get baseURI() {
118
116
  /**
119
- * Gets the absolute base URL of the node.
117
+ * The baseURI attribute’s getter must return node document’s document
118
+ * base URL, serialized.
119
+ * TODO: Implement in HTML DOM
120
+ * https://html.spec.whatwg.org/multipage/urls-and-fetching.html#document-base-url
120
121
  */
121
- get: function () {
122
- /**
123
- * The baseURI attribute’s getter must return node document’s document
124
- * base URL, serialized.
125
- * TODO: Implement in HTML DOM
126
- * https://html.spec.whatwg.org/multipage/urls-and-fetching.html#document-base-url
127
- */
128
- return URLAlgorithm_1.urlSerializer(this._nodeDocument._URL);
129
- },
130
- enumerable: true,
131
- configurable: true
132
- });
133
- Object.defineProperty(NodeImpl.prototype, "isConnected", {
122
+ return (0, URLAlgorithm_1.urlSerializer)(this._nodeDocument._URL);
123
+ }
124
+ /**
125
+ * Returns whether the node is rooted to a document node.
126
+ */
127
+ get isConnected() {
134
128
  /**
135
- * Returns whether the node is rooted to a document node.
129
+ * The isConnected attribute’s getter must return true, if context object
130
+ * is connected, and false otherwise.
136
131
  */
137
- get: function () {
138
- /**
139
- * The isConnected attribute’s getter must return true, if context object
140
- * is connected, and false otherwise.
141
- */
142
- return util_1.Guard.isElementNode(this) && algorithm_1.shadowTree_isConnected(this);
143
- },
144
- enumerable: true,
145
- configurable: true
146
- });
147
- Object.defineProperty(NodeImpl.prototype, "ownerDocument", {
132
+ return util_1.Guard.isElementNode(this) && (0, algorithm_1.shadowTree_isConnected)(this);
133
+ }
134
+ /**
135
+ * Returns the parent document.
136
+ */
137
+ get ownerDocument() {
148
138
  /**
149
- * Returns the parent document.
139
+ * The ownerDocument attribute’s getter must return null, if the context
140
+ * object is a document, and the context object’s node document otherwise.
141
+ * _Note:_ The node document of a document is that document itself. All
142
+ * nodes have a node document at all times.
150
143
  */
151
- get: function () {
152
- /**
153
- * The ownerDocument attribute’s getter must return null, if the context
154
- * object is a document, and the context object’s node document otherwise.
155
- * _Note:_ The node document of a document is that document itself. All
156
- * nodes have a node document at all times.
157
- */
158
- if (this._nodeType === interfaces_1.NodeType.Document)
159
- return null;
160
- else
161
- return this._nodeDocument;
162
- },
163
- enumerable: true,
164
- configurable: true
165
- });
144
+ if (this._nodeType === interfaces_1.NodeType.Document)
145
+ return null;
146
+ else
147
+ return this._nodeDocument;
148
+ }
166
149
  /**
167
150
  * Returns the root node.
168
151
  *
@@ -170,200 +153,164 @@ var NodeImpl = /** @class */ (function (_super) {
170
153
  * returns the node's shadow-including root, otherwise it returns
171
154
  * the node's root node.
172
155
  */
173
- NodeImpl.prototype.getRootNode = function (options) {
156
+ getRootNode(options) {
174
157
  /**
175
158
  * The getRootNode(options) method, when invoked, must return context
176
159
  * object’s shadow-including root if options’s composed is true,
177
160
  * and context object’s root otherwise.
178
161
  */
179
- return algorithm_1.tree_rootNode(this, !!options && options.composed);
180
- };
181
- Object.defineProperty(NodeImpl.prototype, "parentNode", {
162
+ return (0, algorithm_1.tree_rootNode)(this, !!options && options.composed);
163
+ }
164
+ /**
165
+ * Returns the parent node.
166
+ */
167
+ get parentNode() {
182
168
  /**
183
- * Returns the parent node.
169
+ * The parentNode attribute’s getter must return the context object’s parent.
170
+ * _Note:_ An Attr node has no parent.
184
171
  */
185
- get: function () {
186
- /**
187
- * The parentNode attribute’s getter must return the context object’s parent.
188
- * _Note:_ An Attr node has no parent.
189
- */
190
- if (this._nodeType === interfaces_1.NodeType.Attribute) {
191
- return null;
192
- }
193
- else {
194
- return this._parent;
195
- }
196
- },
197
- enumerable: true,
198
- configurable: true
199
- });
200
- Object.defineProperty(NodeImpl.prototype, "parentElement", {
172
+ if (this._nodeType === interfaces_1.NodeType.Attribute) {
173
+ return null;
174
+ }
175
+ else {
176
+ return this._parent;
177
+ }
178
+ }
179
+ /**
180
+ * Returns the parent element.
181
+ */
182
+ get parentElement() {
201
183
  /**
202
- * Returns the parent element.
184
+ * The parentElement attribute’s getter must return the context object’s
185
+ * parent element.
203
186
  */
204
- get: function () {
205
- /**
206
- * The parentElement attribute’s getter must return the context object’s
207
- * parent element.
208
- */
209
- if (this._parent && util_1.Guard.isElementNode(this._parent)) {
210
- return this._parent;
211
- }
212
- else {
213
- return null;
214
- }
215
- },
216
- enumerable: true,
217
- configurable: true
218
- });
187
+ if (this._parent && util_1.Guard.isElementNode(this._parent)) {
188
+ return this._parent;
189
+ }
190
+ else {
191
+ return null;
192
+ }
193
+ }
219
194
  /**
220
195
  * Determines whether a node has any children.
221
196
  */
222
- NodeImpl.prototype.hasChildNodes = function () {
197
+ hasChildNodes() {
223
198
  /**
224
199
  * The hasChildNodes() method, when invoked, must return true if the context
225
200
  * object has children, and false otherwise.
226
201
  */
227
202
  return (this._firstChild !== null);
228
- };
229
- Object.defineProperty(NodeImpl.prototype, "childNodes", {
203
+ }
204
+ /**
205
+ * Returns a {@link NodeList} of child nodes.
206
+ */
207
+ get childNodes() {
230
208
  /**
231
- * Returns a {@link NodeList} of child nodes.
209
+ * The childNodes attribute’s getter must return a NodeList rooted at the
210
+ * context object matching only children.
232
211
  */
233
- get: function () {
234
- /**
235
- * The childNodes attribute’s getter must return a NodeList rooted at the
236
- * context object matching only children.
237
- */
238
- return this._childNodes;
239
- },
240
- enumerable: true,
241
- configurable: true
242
- });
243
- Object.defineProperty(NodeImpl.prototype, "firstChild", {
212
+ return this._childNodes;
213
+ }
214
+ /**
215
+ * Returns the first child node.
216
+ */
217
+ get firstChild() {
244
218
  /**
245
- * Returns the first child node.
219
+ * The firstChild attribute’s getter must return the context object’s first
220
+ * child.
246
221
  */
247
- get: function () {
248
- /**
249
- * The firstChild attribute’s getter must return the context object’s first
250
- * child.
251
- */
252
- return this._firstChild;
253
- },
254
- enumerable: true,
255
- configurable: true
256
- });
257
- Object.defineProperty(NodeImpl.prototype, "lastChild", {
222
+ return this._firstChild;
223
+ }
224
+ /**
225
+ * Returns the last child node.
226
+ */
227
+ get lastChild() {
258
228
  /**
259
- * Returns the last child node.
229
+ * The lastChild attribute’s getter must return the context object’s last
230
+ * child.
260
231
  */
261
- get: function () {
262
- /**
263
- * The lastChild attribute’s getter must return the context object’s last
264
- * child.
265
- */
266
- return this._lastChild;
267
- },
268
- enumerable: true,
269
- configurable: true
270
- });
271
- Object.defineProperty(NodeImpl.prototype, "previousSibling", {
232
+ return this._lastChild;
233
+ }
234
+ /**
235
+ * Returns the previous sibling node.
236
+ */
237
+ get previousSibling() {
272
238
  /**
273
- * Returns the previous sibling node.
239
+ * The previousSibling attribute’s getter must return the context object’s
240
+ * previous sibling.
241
+ * _Note:_ An Attr node has no siblings.
274
242
  */
275
- get: function () {
276
- /**
277
- * The previousSibling attribute’s getter must return the context object’s
278
- * previous sibling.
279
- * _Note:_ An Attr node has no siblings.
280
- */
281
- return this._previousSibling;
282
- },
283
- enumerable: true,
284
- configurable: true
285
- });
286
- Object.defineProperty(NodeImpl.prototype, "nextSibling", {
243
+ return this._previousSibling;
244
+ }
245
+ /**
246
+ * Returns the next sibling node.
247
+ */
248
+ get nextSibling() {
287
249
  /**
288
- * Returns the next sibling node.
250
+ * The nextSibling attribute’s getter must return the context object’s
251
+ * next sibling.
289
252
  */
290
- get: function () {
291
- /**
292
- * The nextSibling attribute’s getter must return the context object’s
293
- * next sibling.
294
- */
295
- return this._nextSibling;
296
- },
297
- enumerable: true,
298
- configurable: true
299
- });
300
- Object.defineProperty(NodeImpl.prototype, "nodeValue", {
301
- /**
302
- * Gets or sets the data associated with a {@link CharacterData} node or the
303
- * value of an {@link @Attr} node. For other node types returns `null`.
304
- */
305
- get: function () {
306
- if (util_1.Guard.isAttrNode(this)) {
307
- return this._value;
308
- }
309
- else if (util_1.Guard.isCharacterDataNode(this)) {
310
- return this._data;
311
- }
312
- else {
313
- return null;
314
- }
315
- },
316
- set: function (value) {
317
- if (value === null) {
318
- value = '';
319
- }
320
- if (util_1.Guard.isAttrNode(this)) {
321
- algorithm_1.attr_setAnExistingAttributeValue(this, value);
322
- }
323
- else if (util_1.Guard.isCharacterDataNode(this)) {
324
- algorithm_1.characterData_replaceData(this, 0, this._data.length, value);
325
- }
326
- },
327
- enumerable: true,
328
- configurable: true
329
- });
330
- Object.defineProperty(NodeImpl.prototype, "textContent", {
331
- /**
332
- * Returns the concatenation of data of all the {@link Text}
333
- * node descendants in tree order. When set, replaces the text
334
- * contents of the node with the given value.
335
- */
336
- get: function () {
337
- if (util_1.Guard.isDocumentFragmentNode(this) || util_1.Guard.isElementNode(this)) {
338
- return algorithm_1.text_descendantTextContent(this);
339
- }
340
- else if (util_1.Guard.isAttrNode(this)) {
341
- return this._value;
342
- }
343
- else if (util_1.Guard.isCharacterDataNode(this)) {
344
- return this._data;
345
- }
346
- else {
347
- return null;
348
- }
349
- },
350
- set: function (value) {
351
- if (value === null) {
352
- value = '';
353
- }
354
- if (util_1.Guard.isDocumentFragmentNode(this) || util_1.Guard.isElementNode(this)) {
355
- algorithm_1.node_stringReplaceAll(value, this);
356
- }
357
- else if (util_1.Guard.isAttrNode(this)) {
358
- algorithm_1.attr_setAnExistingAttributeValue(this, value);
359
- }
360
- else if (util_1.Guard.isCharacterDataNode(this)) {
361
- algorithm_1.characterData_replaceData(this, 0, algorithm_1.tree_nodeLength(this), value);
362
- }
363
- },
364
- enumerable: true,
365
- configurable: true
366
- });
253
+ return this._nextSibling;
254
+ }
255
+ /**
256
+ * Gets or sets the data associated with a {@link CharacterData} node or the
257
+ * value of an {@link @Attr} node. For other node types returns `null`.
258
+ */
259
+ get nodeValue() {
260
+ if (util_1.Guard.isAttrNode(this)) {
261
+ return this._value;
262
+ }
263
+ else if (util_1.Guard.isCharacterDataNode(this)) {
264
+ return this._data;
265
+ }
266
+ else {
267
+ return null;
268
+ }
269
+ }
270
+ set nodeValue(value) {
271
+ if (value === null) {
272
+ value = '';
273
+ }
274
+ if (util_1.Guard.isAttrNode(this)) {
275
+ (0, algorithm_1.attr_setAnExistingAttributeValue)(this, value);
276
+ }
277
+ else if (util_1.Guard.isCharacterDataNode(this)) {
278
+ (0, algorithm_1.characterData_replaceData)(this, 0, this._data.length, value);
279
+ }
280
+ }
281
+ /**
282
+ * Returns the concatenation of data of all the {@link Text}
283
+ * node descendants in tree order. When set, replaces the text
284
+ * contents of the node with the given value.
285
+ */
286
+ get textContent() {
287
+ if (util_1.Guard.isDocumentFragmentNode(this) || util_1.Guard.isElementNode(this)) {
288
+ return (0, algorithm_1.text_descendantTextContent)(this);
289
+ }
290
+ else if (util_1.Guard.isAttrNode(this)) {
291
+ return this._value;
292
+ }
293
+ else if (util_1.Guard.isCharacterDataNode(this)) {
294
+ return this._data;
295
+ }
296
+ else {
297
+ return null;
298
+ }
299
+ }
300
+ set textContent(value) {
301
+ if (value === null) {
302
+ value = '';
303
+ }
304
+ if (util_1.Guard.isDocumentFragmentNode(this) || util_1.Guard.isElementNode(this)) {
305
+ (0, algorithm_1.node_stringReplaceAll)(value, this);
306
+ }
307
+ else if (util_1.Guard.isAttrNode(this)) {
308
+ (0, algorithm_1.attr_setAnExistingAttributeValue)(this, value);
309
+ }
310
+ else if (util_1.Guard.isCharacterDataNode(this)) {
311
+ (0, algorithm_1.characterData_replaceData)(this, 0, (0, algorithm_1.tree_nodeLength)(this), value);
312
+ }
313
+ }
367
314
  /**
368
315
  * Puts all {@link Text} nodes in the full depth of the sub-tree
369
316
  * underneath this node into a "normal" form where only markup
@@ -371,62 +318,51 @@ var NodeImpl = /** @class */ (function (_super) {
371
318
  * and entity references) separates {@link Text} nodes, i.e., there
372
319
  * are no adjacent Text nodes.
373
320
  */
374
- NodeImpl.prototype.normalize = function () {
375
- var e_1, _a, e_2, _b;
321
+ normalize() {
376
322
  /**
377
323
  * The normalize() method, when invoked, must run these steps for each
378
324
  * descendant exclusive Text node node of context object:
379
325
  */
380
- var descendantNodes = [];
381
- var node = algorithm_1.tree_getFirstDescendantNode(this, false, false, function (e) { return util_1.Guard.isExclusiveTextNode(e); });
326
+ const descendantNodes = [];
327
+ let node = (0, algorithm_1.tree_getFirstDescendantNode)(this, false, false, (e) => util_1.Guard.isExclusiveTextNode(e));
382
328
  while (node !== null) {
383
329
  descendantNodes.push(node);
384
- node = algorithm_1.tree_getNextDescendantNode(this, node, false, false, function (e) { return util_1.Guard.isExclusiveTextNode(e); });
330
+ node = (0, algorithm_1.tree_getNextDescendantNode)(this, node, false, false, (e) => util_1.Guard.isExclusiveTextNode(e));
385
331
  }
386
- for (var i = 0; i < descendantNodes.length; i++) {
387
- var node_1 = descendantNodes[i];
388
- if (node_1._parent === null)
332
+ for (let i = 0; i < descendantNodes.length; i++) {
333
+ const node = descendantNodes[i];
334
+ if (node._parent === null)
389
335
  continue;
390
336
  /**
391
337
  * 1. Let length be node’s length.
392
338
  * 2. If length is zero, then remove node and continue with the next
393
339
  * exclusive Text node, if any.
394
340
  */
395
- var length = algorithm_1.tree_nodeLength(node_1);
341
+ let length = (0, algorithm_1.tree_nodeLength)(node);
396
342
  if (length === 0) {
397
- algorithm_1.mutation_remove(node_1, node_1._parent);
343
+ (0, algorithm_1.mutation_remove)(node, node._parent);
398
344
  continue;
399
345
  }
400
346
  /**
401
347
  * 3. Let data be the concatenation of the data of node’s contiguous
402
348
  * exclusive Text nodes (excluding itself), in tree order.
403
349
  */
404
- var textSiblings = [];
405
- var data = '';
406
- try {
407
- for (var _c = (e_1 = void 0, __values(algorithm_1.text_contiguousExclusiveTextNodes(node_1))), _d = _c.next(); !_d.done; _d = _c.next()) {
408
- var sibling = _d.value;
409
- textSiblings.push(sibling);
410
- data += sibling._data;
411
- }
412
- }
413
- catch (e_1_1) { e_1 = { error: e_1_1 }; }
414
- finally {
415
- try {
416
- if (_d && !_d.done && (_a = _c.return)) _a.call(_c);
417
- }
418
- finally { if (e_1) throw e_1.error; }
350
+ const textSiblings = [];
351
+ let data = '';
352
+ for (const sibling of (0, algorithm_1.text_contiguousExclusiveTextNodes)(node)) {
353
+ textSiblings.push(sibling);
354
+ data += sibling._data;
419
355
  }
420
356
  /**
421
357
  * 4. Replace data with node node, offset length, count 0, and data data.
422
358
  */
423
- algorithm_1.characterData_replaceData(node_1, length, 0, data);
359
+ (0, algorithm_1.characterData_replaceData)(node, length, 0, data);
424
360
  /**
425
361
  * 5. Let currentNode be node’s next sibling.
426
362
  * 6. While currentNode is an exclusive Text node:
427
363
  */
428
364
  if (DOMImpl_1.dom.rangeList.size !== 0) {
429
- var currentNode = node_1._nextSibling;
365
+ let currentNode = node._nextSibling;
430
366
  while (currentNode !== null && util_1.Guard.isExclusiveTextNode(currentNode)) {
431
367
  /**
432
368
  * 6.1. For each live range whose start node is currentNode, add length
@@ -440,41 +376,31 @@ var NodeImpl = /** @class */ (function (_super) {
440
376
  * end offset is currentNode’s index, set its end node to node and its
441
377
  * end offset to length.
442
378
  */
443
- var cn = currentNode;
444
- var index = algorithm_1.tree_index(cn);
445
- try {
446
- for (var _e = (e_2 = void 0, __values(DOMImpl_1.dom.rangeList)), _f = _e.next(); !_f.done; _f = _e.next()) {
447
- var range = _f.value;
448
- if (range._start[0] === cn) {
449
- range._start[0] = node_1;
450
- range._start[1] += length;
451
- }
452
- if (range._end[0] === cn) {
453
- range._end[0] = node_1;
454
- range._end[1] += length;
455
- }
456
- if (range._start[0] === cn._parent && range._start[1] === index) {
457
- range._start[0] = node_1;
458
- range._start[1] = length;
459
- }
460
- if (range._end[0] === cn._parent && range._end[1] === index) {
461
- range._end[0] = node_1;
462
- range._end[1] = length;
463
- }
379
+ const cn = currentNode;
380
+ const index = (0, algorithm_1.tree_index)(cn);
381
+ for (const range of DOMImpl_1.dom.rangeList) {
382
+ if (range._start[0] === cn) {
383
+ range._start[0] = node;
384
+ range._start[1] += length;
464
385
  }
465
- }
466
- catch (e_2_1) { e_2 = { error: e_2_1 }; }
467
- finally {
468
- try {
469
- if (_f && !_f.done && (_b = _e.return)) _b.call(_e);
386
+ if (range._end[0] === cn) {
387
+ range._end[0] = node;
388
+ range._end[1] += length;
389
+ }
390
+ if (range._start[0] === cn._parent && range._start[1] === index) {
391
+ range._start[0] = node;
392
+ range._start[1] = length;
393
+ }
394
+ if (range._end[0] === cn._parent && range._end[1] === index) {
395
+ range._end[0] = node;
396
+ range._end[1] = length;
470
397
  }
471
- finally { if (e_2) throw e_2.error; }
472
398
  }
473
399
  /**
474
400
  * 6.5. Add currentNode’s length to length.
475
401
  * 6.6. Set currentNode to its next sibling.
476
402
  */
477
- length += algorithm_1.tree_nodeLength(currentNode);
403
+ length += (0, algorithm_1.tree_nodeLength)(currentNode);
478
404
  currentNode = currentNode._nextSibling;
479
405
  }
480
406
  }
@@ -482,14 +408,14 @@ var NodeImpl = /** @class */ (function (_super) {
482
408
  * 7. Remove node’s contiguous exclusive Text nodes (excluding itself),
483
409
  * in tree order.
484
410
  */
485
- for (var i_1 = 0; i_1 < textSiblings.length; i_1++) {
486
- var sibling = textSiblings[i_1];
411
+ for (let i = 0; i < textSiblings.length; i++) {
412
+ const sibling = textSiblings[i];
487
413
  if (sibling._parent === null)
488
414
  continue;
489
- algorithm_1.mutation_remove(sibling, sibling._parent);
415
+ (0, algorithm_1.mutation_remove)(sibling, sibling._parent);
490
416
  }
491
417
  }
492
- };
418
+ }
493
419
  /**
494
420
  * Returns a duplicate of this node, i.e., serves as a generic copy
495
421
  * constructor for nodes. The duplicate node has no parent
@@ -499,8 +425,7 @@ var NodeImpl = /** @class */ (function (_super) {
499
425
  * specified node. If `false`, clone only the node itself (and its
500
426
  * attributes, if it is an {@link Element}).
501
427
  */
502
- NodeImpl.prototype.cloneNode = function (deep) {
503
- if (deep === void 0) { deep = false; }
428
+ cloneNode(deep = false) {
504
429
  /**
505
430
  * 1. If context object is a shadow root, then throw a "NotSupportedError"
506
431
  * DOMException.
@@ -509,40 +434,38 @@ var NodeImpl = /** @class */ (function (_super) {
509
434
  */
510
435
  if (util_1.Guard.isShadowRoot(this))
511
436
  throw new DOMException_1.NotSupportedError();
512
- return algorithm_1.node_clone(this, null, deep);
513
- };
437
+ return (0, algorithm_1.node_clone)(this, null, deep);
438
+ }
514
439
  /**
515
440
  * Determines if the given node is equal to this one.
516
441
  *
517
442
  * @param node - the node to compare with
518
443
  */
519
- NodeImpl.prototype.isEqualNode = function (node) {
520
- if (node === void 0) { node = null; }
444
+ isEqualNode(node = null) {
521
445
  /**
522
446
  * The isEqualNode(otherNode) method, when invoked, must return true if
523
447
  * otherNode is non-null and context object equals otherNode, and false
524
448
  * otherwise.
525
449
  */
526
- return (node !== null && algorithm_1.node_equals(this, node));
527
- };
450
+ return (node !== null && (0, algorithm_1.node_equals)(this, node));
451
+ }
528
452
  /**
529
453
  * Determines if the given node is reference equal to this one.
530
454
  *
531
455
  * @param node - the node to compare with
532
456
  */
533
- NodeImpl.prototype.isSameNode = function (node) {
534
- if (node === void 0) { node = null; }
457
+ isSameNode(node = null) {
535
458
  /**
536
459
  * The isSameNode(otherNode) method, when invoked, must return true if
537
460
  * otherNode is context object, and false otherwise.
538
461
  */
539
462
  return (this === node);
540
- };
463
+ }
541
464
  /**
542
465
  * Returns a bitmask indicating the position of the given `node`
543
466
  * relative to this node.
544
467
  */
545
- NodeImpl.prototype.compareDocumentPosition = function (other) {
468
+ compareDocumentPosition(other) {
546
469
  /**
547
470
  * 1. If context object is other, then return zero.
548
471
  * 2. Let node1 be other and node2 be context object.
@@ -550,11 +473,11 @@ var NodeImpl = /** @class */ (function (_super) {
550
473
  * attr1’s element.
551
474
  */
552
475
  if (other === this)
553
- return 0;
554
- var node1 = other;
555
- var node2 = this;
556
- var attr1 = null;
557
- var attr2 = null;
476
+ return interfaces_1.Position.SameNode;
477
+ let node1 = other;
478
+ let node2 = this;
479
+ let attr1 = null;
480
+ let attr2 = null;
558
481
  /**
559
482
  * 4. If node1 is an attribute, then set attr1 to node1 and node1 to
560
483
  * attr1’s element.
@@ -579,8 +502,8 @@ var NodeImpl = /** @class */ (function (_super) {
579
502
  /**
580
503
  * 5.2. For each attr in node2’s attribute list:
581
504
  */
582
- for (var i = 0; i < node2._attributeList.length; i++) {
583
- var attr = node2._attributeList[i];
505
+ for (let i = 0; i < node2._attributeList.length; i++) {
506
+ const attr = node2._attributeList[i];
584
507
  /**
585
508
  * 5.2.1. If attr equals attr1, then return the result of adding
586
509
  * DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC and
@@ -589,10 +512,10 @@ var NodeImpl = /** @class */ (function (_super) {
589
512
  * DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC and
590
513
  * DOCUMENT_POSITION_FOLLOWING.
591
514
  */
592
- if (algorithm_1.node_equals(attr, attr1)) {
515
+ if ((0, algorithm_1.node_equals)(attr, attr1)) {
593
516
  return interfaces_1.Position.ImplementationSpecific | interfaces_1.Position.Preceding;
594
517
  }
595
- else if (algorithm_1.node_equals(attr, attr2)) {
518
+ else if ((0, algorithm_1.node_equals)(attr, attr2)) {
596
519
  return interfaces_1.Position.ImplementationSpecific | interfaces_1.Position.Following;
597
520
  }
598
521
  }
@@ -606,7 +529,7 @@ var NodeImpl = /** @class */ (function (_super) {
606
529
  * with the constraint that this is to be consistent, together.
607
530
  */
608
531
  if (node1 === null || node2 === null ||
609
- algorithm_1.tree_rootNode(node1) !== algorithm_1.tree_rootNode(node2)) {
532
+ (0, algorithm_1.tree_rootNode)(node1) !== (0, algorithm_1.tree_rootNode)(node2)) {
610
533
  // nodes are disconnected
611
534
  // return a random result but cache the value for consistency
612
535
  return interfaces_1.Position.Disconnected | interfaces_1.Position.ImplementationSpecific |
@@ -617,7 +540,7 @@ var NodeImpl = /** @class */ (function (_super) {
617
540
  * and attr2 is non-null, then return the result of adding
618
541
  * DOCUMENT_POSITION_CONTAINS to DOCUMENT_POSITION_PRECEDING.
619
542
  */
620
- if ((!attr1 && algorithm_1.tree_isAncestorOf(node2, node1)) ||
543
+ if ((!attr1 && (0, algorithm_1.tree_isAncestorOf)(node2, node1)) ||
621
544
  (attr2 && (node1 === node2))) {
622
545
  return interfaces_1.Position.Contains | interfaces_1.Position.Preceding;
623
546
  }
@@ -626,27 +549,27 @@ var NodeImpl = /** @class */ (function (_super) {
626
549
  * and attr1 is non-null, then return the result of adding
627
550
  * DOCUMENT_POSITION_CONTAINED_BY to DOCUMENT_POSITION_FOLLOWING.
628
551
  */
629
- if ((!attr2 && algorithm_1.tree_isDescendantOf(node2, node1)) ||
552
+ if ((!attr2 && (0, algorithm_1.tree_isDescendantOf)(node2, node1)) ||
630
553
  (attr1 && (node1 === node2))) {
631
554
  return interfaces_1.Position.ContainedBy | interfaces_1.Position.Following;
632
555
  }
633
556
  /**
634
557
  * 9. If node1 is preceding node2, then return DOCUMENT_POSITION_PRECEDING.
635
558
  */
636
- if (algorithm_1.tree_isPreceding(node2, node1))
559
+ if ((0, algorithm_1.tree_isPreceding)(node2, node1))
637
560
  return interfaces_1.Position.Preceding;
638
561
  /**
639
562
  * 10. Return DOCUMENT_POSITION_FOLLOWING.
640
563
  */
641
564
  return interfaces_1.Position.Following;
642
- };
565
+ }
643
566
  /**
644
567
  * Returns `true` if given node is an inclusive descendant of this
645
568
  * node, and `false` otherwise (including when other node is `null`).
646
569
  *
647
570
  * @param other - the node to check
648
571
  */
649
- NodeImpl.prototype.contains = function (other) {
572
+ contains(other) {
650
573
  /**
651
574
  * The contains(other) method, when invoked, must return true if other is an
652
575
  * inclusive descendant of context object, and false otherwise (including
@@ -654,15 +577,15 @@ var NodeImpl = /** @class */ (function (_super) {
654
577
  */
655
578
  if (other === null)
656
579
  return false;
657
- return algorithm_1.tree_isDescendantOf(this, other, true);
658
- };
580
+ return (0, algorithm_1.tree_isDescendantOf)(this, other, true);
581
+ }
659
582
  /**
660
583
  * Returns the prefix for a given namespace URI, if present, and
661
584
  * `null` if not.
662
585
  *
663
586
  * @param namespace - the namespace to search
664
587
  */
665
- NodeImpl.prototype.lookupPrefix = function (namespace) {
588
+ lookupPrefix(namespace) {
666
589
  /**
667
590
  * 1. If namespace is null or the empty string, then return null.
668
591
  * 2. Switch on the context object:
@@ -674,7 +597,7 @@ var NodeImpl = /** @class */ (function (_super) {
674
597
  * Return the result of locating a namespace prefix for it using
675
598
  * namespace.
676
599
  */
677
- return algorithm_1.node_locateANamespacePrefix(this, namespace);
600
+ return (0, algorithm_1.node_locateANamespacePrefix)(this, namespace);
678
601
  }
679
602
  else if (util_1.Guard.isDocumentNode(this)) {
680
603
  /**
@@ -685,7 +608,7 @@ var NodeImpl = /** @class */ (function (_super) {
685
608
  return null;
686
609
  }
687
610
  else {
688
- return algorithm_1.node_locateANamespacePrefix(this.documentElement, namespace);
611
+ return (0, algorithm_1.node_locateANamespacePrefix)(this.documentElement, namespace);
689
612
  }
690
613
  }
691
614
  else if (util_1.Guard.isDocumentTypeNode(this) || util_1.Guard.isDocumentFragmentNode(this)) {
@@ -700,7 +623,7 @@ var NodeImpl = /** @class */ (function (_super) {
700
623
  return null;
701
624
  }
702
625
  else {
703
- return algorithm_1.node_locateANamespacePrefix(this._element, namespace);
626
+ return (0, algorithm_1.node_locateANamespacePrefix)(this._element, namespace);
704
627
  }
705
628
  }
706
629
  else {
@@ -709,34 +632,34 @@ var NodeImpl = /** @class */ (function (_super) {
709
632
  * element, if its parent element is non-null, and null otherwise.
710
633
  */
711
634
  if (this._parent !== null && util_1.Guard.isElementNode(this._parent)) {
712
- return algorithm_1.node_locateANamespacePrefix(this._parent, namespace);
635
+ return (0, algorithm_1.node_locateANamespacePrefix)(this._parent, namespace);
713
636
  }
714
637
  else {
715
638
  return null;
716
639
  }
717
640
  }
718
- };
641
+ }
719
642
  /**
720
643
  * Returns the namespace URI for a given prefix if present, and `null`
721
644
  * if not.
722
645
  *
723
646
  * @param prefix - the prefix to search
724
647
  */
725
- NodeImpl.prototype.lookupNamespaceURI = function (prefix) {
648
+ lookupNamespaceURI(prefix) {
726
649
  /**
727
650
  * 1. If prefix is the empty string, then set it to null.
728
651
  * 2. Return the result of running locate a namespace for the context object
729
652
  * using prefix.
730
653
  */
731
- return algorithm_1.node_locateANamespace(this, prefix || null);
732
- };
654
+ return (0, algorithm_1.node_locateANamespace)(this, prefix || null);
655
+ }
733
656
  /**
734
657
  * Returns `true` if the namespace is the default namespace on this
735
658
  * node or `false` if not.
736
659
  *
737
660
  * @param namespace - the namespace to check
738
661
  */
739
- NodeImpl.prototype.isDefaultNamespace = function (namespace) {
662
+ isDefaultNamespace(namespace) {
740
663
  /**
741
664
  * 1. If namespace is the empty string, then set it to null.
742
665
  * 2. Let defaultNamespace be the result of running locate a namespace for
@@ -745,9 +668,9 @@ var NodeImpl = /** @class */ (function (_super) {
745
668
  */
746
669
  if (!namespace)
747
670
  namespace = null;
748
- var defaultNamespace = algorithm_1.node_locateANamespace(this, null);
671
+ const defaultNamespace = (0, algorithm_1.node_locateANamespace)(this, null);
749
672
  return (defaultNamespace === namespace);
750
- };
673
+ }
751
674
  /**
752
675
  * Inserts the node `newChild` before the existing child node
753
676
  * `refChild`. If `refChild` is `null`, inserts `newChild` at the end
@@ -764,13 +687,13 @@ var NodeImpl = /** @class */ (function (_super) {
764
687
  *
765
688
  * @returns the newly inserted child node
766
689
  */
767
- NodeImpl.prototype.insertBefore = function (newChild, refChild) {
690
+ insertBefore(newChild, refChild) {
768
691
  /**
769
692
  * The insertBefore(node, child) method, when invoked, must return the
770
693
  * result of pre-inserting node into context object before child.
771
694
  */
772
- return algorithm_1.mutation_preInsert(newChild, this, refChild);
773
- };
695
+ return (0, algorithm_1.mutation_preInsert)(newChild, this, refChild);
696
+ }
774
697
  /**
775
698
  * Adds the node `newChild` to the end of the list of children of this
776
699
  * node, and returns it. If `newChild` is already in the tree, it is
@@ -784,13 +707,13 @@ var NodeImpl = /** @class */ (function (_super) {
784
707
  *
785
708
  * @returns the newly inserted child node
786
709
  */
787
- NodeImpl.prototype.appendChild = function (newChild) {
710
+ appendChild(newChild) {
788
711
  /**
789
712
  * The appendChild(node) method, when invoked, must return the result of
790
713
  * appending node to context object.
791
714
  */
792
- return algorithm_1.mutation_append(newChild, this);
793
- };
715
+ return (0, algorithm_1.mutation_append)(newChild, this);
716
+ }
794
717
  /**
795
718
  * Replaces the child node `oldChild` with `newChild` in the list of
796
719
  * children, and returns the `oldChild` node. If `newChild` is already
@@ -801,13 +724,13 @@ var NodeImpl = /** @class */ (function (_super) {
801
724
  *
802
725
  * @returns the removed child node
803
726
  */
804
- NodeImpl.prototype.replaceChild = function (newChild, oldChild) {
727
+ replaceChild(newChild, oldChild) {
805
728
  /**
806
729
  * The replaceChild(node, child) method, when invoked, must return the
807
730
  * result of replacing child with node within context object.
808
731
  */
809
- return algorithm_1.mutation_replace(oldChild, newChild, this);
810
- };
732
+ return (0, algorithm_1.mutation_replace)(oldChild, newChild, this);
733
+ }
811
734
  /**
812
735
  * Removes the child node indicated by `oldChild` from the list of
813
736
  * children, and returns it.
@@ -816,50 +739,31 @@ var NodeImpl = /** @class */ (function (_super) {
816
739
  *
817
740
  * @returns the removed child node
818
741
  */
819
- NodeImpl.prototype.removeChild = function (oldChild) {
742
+ removeChild(oldChild) {
820
743
  /**
821
744
  * The removeChild(child) method, when invoked, must return the result of
822
745
  * pre-removing child from context object.
823
746
  */
824
- return algorithm_1.mutation_preRemove(oldChild, this);
825
- };
747
+ return (0, algorithm_1.mutation_preRemove)(oldChild, this);
748
+ }
826
749
  /**
827
750
  * Gets the parent event target for the given event.
828
751
  *
829
752
  * @param event - an event
830
753
  */
831
- NodeImpl.prototype._getTheParent = function (event) {
754
+ _getTheParent(event) {
832
755
  /**
833
756
  * A node’s get the parent algorithm, given an event, returns the node’s
834
757
  * assigned slot, if node is assigned, and node’s parent otherwise.
835
758
  */
836
- if (util_1.Guard.isSlotable(this) && algorithm_1.shadowTree_isAssigned(this)) {
759
+ if (util_1.Guard.isSlotable(this) && (0, algorithm_1.shadowTree_isAssigned)(this)) {
837
760
  return this._assignedSlot;
838
761
  }
839
762
  else {
840
763
  return this._parent;
841
764
  }
842
- };
843
- NodeImpl.ELEMENT_NODE = 1;
844
- NodeImpl.ATTRIBUTE_NODE = 2;
845
- NodeImpl.TEXT_NODE = 3;
846
- NodeImpl.CDATA_SECTION_NODE = 4;
847
- NodeImpl.ENTITY_REFERENCE_NODE = 5;
848
- NodeImpl.ENTITY_NODE = 6;
849
- NodeImpl.PROCESSING_INSTRUCTION_NODE = 7;
850
- NodeImpl.COMMENT_NODE = 8;
851
- NodeImpl.DOCUMENT_NODE = 9;
852
- NodeImpl.DOCUMENT_TYPE_NODE = 10;
853
- NodeImpl.DOCUMENT_FRAGMENT_NODE = 11;
854
- NodeImpl.NOTATION_NODE = 12;
855
- NodeImpl.DOCUMENT_POSITION_DISCONNECTED = 0x01;
856
- NodeImpl.DOCUMENT_POSITION_PRECEDING = 0x02;
857
- NodeImpl.DOCUMENT_POSITION_FOLLOWING = 0x04;
858
- NodeImpl.DOCUMENT_POSITION_CONTAINS = 0x08;
859
- NodeImpl.DOCUMENT_POSITION_CONTAINED_BY = 0x10;
860
- NodeImpl.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC = 0x20;
861
- return NodeImpl;
862
- }(EventTargetImpl_1.EventTargetImpl));
765
+ }
766
+ }
863
767
  exports.NodeImpl = NodeImpl;
864
768
  /**
865
769
  * A performance tweak to share an empty set between all node classes. This will
@@ -870,22 +774,22 @@ NodeImpl.prototype._children = new util_1.EmptySet();
870
774
  /**
871
775
  * Define constants on prototype.
872
776
  */
873
- WebIDLAlgorithm_1.idl_defineConst(NodeImpl.prototype, "ELEMENT_NODE", 1);
874
- WebIDLAlgorithm_1.idl_defineConst(NodeImpl.prototype, "ATTRIBUTE_NODE", 2);
875
- WebIDLAlgorithm_1.idl_defineConst(NodeImpl.prototype, "TEXT_NODE", 3);
876
- WebIDLAlgorithm_1.idl_defineConst(NodeImpl.prototype, "CDATA_SECTION_NODE", 4);
877
- WebIDLAlgorithm_1.idl_defineConst(NodeImpl.prototype, "ENTITY_REFERENCE_NODE", 5);
878
- WebIDLAlgorithm_1.idl_defineConst(NodeImpl.prototype, "ENTITY_NODE", 6);
879
- WebIDLAlgorithm_1.idl_defineConst(NodeImpl.prototype, "PROCESSING_INSTRUCTION_NODE", 7);
880
- WebIDLAlgorithm_1.idl_defineConst(NodeImpl.prototype, "COMMENT_NODE", 8);
881
- WebIDLAlgorithm_1.idl_defineConst(NodeImpl.prototype, "DOCUMENT_NODE", 9);
882
- WebIDLAlgorithm_1.idl_defineConst(NodeImpl.prototype, "DOCUMENT_TYPE_NODE", 10);
883
- WebIDLAlgorithm_1.idl_defineConst(NodeImpl.prototype, "DOCUMENT_FRAGMENT_NODE", 11);
884
- WebIDLAlgorithm_1.idl_defineConst(NodeImpl.prototype, "NOTATION_NODE", 12);
885
- WebIDLAlgorithm_1.idl_defineConst(NodeImpl.prototype, "DOCUMENT_POSITION_DISCONNECTED", 0x01);
886
- WebIDLAlgorithm_1.idl_defineConst(NodeImpl.prototype, "DOCUMENT_POSITION_PRECEDING", 0x02);
887
- WebIDLAlgorithm_1.idl_defineConst(NodeImpl.prototype, "DOCUMENT_POSITION_FOLLOWING", 0x04);
888
- WebIDLAlgorithm_1.idl_defineConst(NodeImpl.prototype, "DOCUMENT_POSITION_CONTAINS", 0x08);
889
- WebIDLAlgorithm_1.idl_defineConst(NodeImpl.prototype, "DOCUMENT_POSITION_CONTAINED_BY", 0x10);
890
- WebIDLAlgorithm_1.idl_defineConst(NodeImpl.prototype, "DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC", 0x20);
777
+ (0, WebIDLAlgorithm_1.idl_defineConst)(NodeImpl.prototype, "ELEMENT_NODE", 1);
778
+ (0, WebIDLAlgorithm_1.idl_defineConst)(NodeImpl.prototype, "ATTRIBUTE_NODE", 2);
779
+ (0, WebIDLAlgorithm_1.idl_defineConst)(NodeImpl.prototype, "TEXT_NODE", 3);
780
+ (0, WebIDLAlgorithm_1.idl_defineConst)(NodeImpl.prototype, "CDATA_SECTION_NODE", 4);
781
+ (0, WebIDLAlgorithm_1.idl_defineConst)(NodeImpl.prototype, "ENTITY_REFERENCE_NODE", 5);
782
+ (0, WebIDLAlgorithm_1.idl_defineConst)(NodeImpl.prototype, "ENTITY_NODE", 6);
783
+ (0, WebIDLAlgorithm_1.idl_defineConst)(NodeImpl.prototype, "PROCESSING_INSTRUCTION_NODE", 7);
784
+ (0, WebIDLAlgorithm_1.idl_defineConst)(NodeImpl.prototype, "COMMENT_NODE", 8);
785
+ (0, WebIDLAlgorithm_1.idl_defineConst)(NodeImpl.prototype, "DOCUMENT_NODE", 9);
786
+ (0, WebIDLAlgorithm_1.idl_defineConst)(NodeImpl.prototype, "DOCUMENT_TYPE_NODE", 10);
787
+ (0, WebIDLAlgorithm_1.idl_defineConst)(NodeImpl.prototype, "DOCUMENT_FRAGMENT_NODE", 11);
788
+ (0, WebIDLAlgorithm_1.idl_defineConst)(NodeImpl.prototype, "NOTATION_NODE", 12);
789
+ (0, WebIDLAlgorithm_1.idl_defineConst)(NodeImpl.prototype, "DOCUMENT_POSITION_DISCONNECTED", 0x01);
790
+ (0, WebIDLAlgorithm_1.idl_defineConst)(NodeImpl.prototype, "DOCUMENT_POSITION_PRECEDING", 0x02);
791
+ (0, WebIDLAlgorithm_1.idl_defineConst)(NodeImpl.prototype, "DOCUMENT_POSITION_FOLLOWING", 0x04);
792
+ (0, WebIDLAlgorithm_1.idl_defineConst)(NodeImpl.prototype, "DOCUMENT_POSITION_CONTAINS", 0x08);
793
+ (0, WebIDLAlgorithm_1.idl_defineConst)(NodeImpl.prototype, "DOCUMENT_POSITION_CONTAINED_BY", 0x10);
794
+ (0, WebIDLAlgorithm_1.idl_defineConst)(NodeImpl.prototype, "DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC", 0x20);
891
795
  //# sourceMappingURL=NodeImpl.js.map