projen 0.99.0 → 0.99.2

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 (1741) hide show
  1. package/.jsii +93 -73
  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/lambda-extension.js +1 -1
  16. package/lib/awscdk/lambda-function.js +8 -8
  17. package/lib/awscdk/private/feature-flags-v2.const.d.ts +1 -1
  18. package/lib/awscdk/private/feature-flags-v2.const.js +2 -2
  19. package/lib/build/build-workflow.js +1 -1
  20. package/lib/cdk/auto-discover-base.js +2 -2
  21. package/lib/cdk/construct-lib.js +1 -1
  22. package/lib/cdk/integration-test-base.js +1 -1
  23. package/lib/cdk/jsii-docgen.js +1 -1
  24. package/lib/cdk/jsii-project.js +1 -1
  25. package/lib/cdk8s/auto-discover.js +2 -2
  26. package/lib/cdk8s/cdk8s-app-py.js +1 -1
  27. package/lib/cdk8s/cdk8s-app-ts.js +1 -1
  28. package/lib/cdk8s/cdk8s-construct.js +1 -1
  29. package/lib/cdk8s/cdk8s-deps-py.js +1 -1
  30. package/lib/cdk8s/cdk8s-deps.js +1 -1
  31. package/lib/cdk8s/integration-test.js +1 -1
  32. package/lib/cdktf/cdktf-construct.js +1 -1
  33. package/lib/circleci/circleci.js +1 -1
  34. package/lib/component.js +1 -1
  35. package/lib/dependencies.js +1 -1
  36. package/lib/dev-env.js +1 -1
  37. package/lib/docker-compose/docker-compose-service.js +1 -1
  38. package/lib/docker-compose/docker-compose.js +1 -1
  39. package/lib/file.js +1 -1
  40. package/lib/gitattributes.js +1 -1
  41. package/lib/github/actions-provider.js +1 -1
  42. package/lib/github/auto-approve.js +1 -1
  43. package/lib/github/auto-merge.js +1 -1
  44. package/lib/github/auto-queue.js +1 -1
  45. package/lib/github/dependabot.js +1 -1
  46. package/lib/github/github-credentials.js +1 -1
  47. package/lib/github/github-project.js +1 -1
  48. package/lib/github/github.js +1 -1
  49. package/lib/github/merge-queue.js +1 -1
  50. package/lib/github/mergify.js +1 -1
  51. package/lib/github/pr-template.js +1 -1
  52. package/lib/github/pull-request-backport.js +1 -1
  53. package/lib/github/pull-request-lint.js +1 -1
  54. package/lib/github/stale.js +1 -1
  55. package/lib/github/task-workflow-job.js +1 -1
  56. package/lib/github/task-workflow.js +1 -1
  57. package/lib/github/workflow-actions.js +1 -1
  58. package/lib/github/workflow-jobs.js +1 -1
  59. package/lib/github/workflow-steps.js +1 -1
  60. package/lib/github/workflows.js +1 -1
  61. package/lib/gitlab/configuration.js +1 -1
  62. package/lib/gitlab/gitlab-configuration.js +1 -1
  63. package/lib/gitlab/nested-configuration.js +1 -1
  64. package/lib/gitpod.js +1 -1
  65. package/lib/ignore-file.js +1 -1
  66. package/lib/ini.js +1 -1
  67. package/lib/java/java-project.js +1 -1
  68. package/lib/java/junit.js +1 -1
  69. package/lib/java/maven-compile.js +1 -1
  70. package/lib/java/maven-packaging.js +1 -1
  71. package/lib/java/maven-sample.js +1 -1
  72. package/lib/java/pom.js +2 -2
  73. package/lib/java/projenrc.js +1 -1
  74. package/lib/javascript/biome/biome.js +1 -1
  75. package/lib/javascript/bundler.js +1 -1
  76. package/lib/javascript/eslint.js +1 -1
  77. package/lib/javascript/jest.js +4 -4
  78. package/lib/javascript/license-checker.js +1 -1
  79. package/lib/javascript/node-package.js +1 -1
  80. package/lib/javascript/node-project.js +1 -1
  81. package/lib/javascript/npm-config.js +1 -1
  82. package/lib/javascript/prettier.js +1 -1
  83. package/lib/javascript/projenrc.js +1 -1
  84. package/lib/javascript/typescript-config.js +2 -2
  85. package/lib/javascript/upgrade-dependencies.js +2 -2
  86. package/lib/javascript/yarnrc.js +1 -1
  87. package/lib/json-patch.js +1 -1
  88. package/lib/json.js +1 -1
  89. package/lib/license.js +1 -1
  90. package/lib/logger.js +1 -1
  91. package/lib/makefile.js +1 -1
  92. package/lib/object-file.js +1 -1
  93. package/lib/project-build.js +1 -1
  94. package/lib/project-tree.d.ts +12 -0
  95. package/lib/project-tree.js +14 -2
  96. package/lib/project.d.ts +9 -0
  97. package/lib/project.js +7 -2
  98. package/lib/projects.js +1 -1
  99. package/lib/projenrc-json.js +2 -2
  100. package/lib/projenrc.js +1 -1
  101. package/lib/python/pip.js +1 -1
  102. package/lib/python/poetry.js +2 -2
  103. package/lib/python/projenrc.js +1 -1
  104. package/lib/python/pyproject-toml-file.js +1 -1
  105. package/lib/python/pytest-sample.js +1 -1
  106. package/lib/python/pytest.js +1 -1
  107. package/lib/python/python-project.js +1 -1
  108. package/lib/python/python-sample.js +1 -1
  109. package/lib/python/requirements-file.js +1 -1
  110. package/lib/python/setuppy.js +1 -1
  111. package/lib/python/setuptools.js +1 -1
  112. package/lib/python/uv.js +1 -1
  113. package/lib/python/venv.js +1 -1
  114. package/lib/readme.js +1 -1
  115. package/lib/release/publisher.js +1 -1
  116. package/lib/release/release-trigger.js +1 -1
  117. package/lib/release/release.js +1 -1
  118. package/lib/renovatebot.js +1 -1
  119. package/lib/sample-file.js +2 -2
  120. package/lib/semver.js +1 -1
  121. package/lib/source-code.js +1 -1
  122. package/lib/task-runtime.js +1 -1
  123. package/lib/task.js +1 -1
  124. package/lib/tasks.js +1 -1
  125. package/lib/testing.js +1 -1
  126. package/lib/textfile.js +1 -1
  127. package/lib/toml.js +1 -1
  128. package/lib/typescript/projenrc-ts.js +1 -1
  129. package/lib/typescript/projenrc.js +1 -1
  130. package/lib/typescript/typescript-typedoc.js +1 -1
  131. package/lib/typescript/typescript.js +6 -6
  132. package/lib/version.js +2 -2
  133. package/lib/vscode/devcontainer.js +1 -1
  134. package/lib/vscode/extensions.js +1 -1
  135. package/lib/vscode/launch-config.js +1 -1
  136. package/lib/vscode/settings.js +1 -1
  137. package/lib/vscode/vscode.js +1 -1
  138. package/lib/web/next.js +3 -3
  139. package/lib/web/postcss.js +1 -1
  140. package/lib/web/react.js +4 -4
  141. package/lib/web/tailwind.js +1 -1
  142. package/lib/xmlfile.js +1 -1
  143. package/lib/yaml.js +1 -1
  144. package/package.json +11 -21
  145. package/node_modules/@iarna/toml/LICENSE +0 -14
  146. package/node_modules/@iarna/toml/README.md +0 -301
  147. package/node_modules/@iarna/toml/index.d.ts +0 -57
  148. package/node_modules/@iarna/toml/lib/create-date.js +0 -23
  149. package/node_modules/@iarna/toml/lib/create-datetime-float.js +0 -24
  150. package/node_modules/@iarna/toml/lib/create-datetime.js +0 -10
  151. package/node_modules/@iarna/toml/lib/create-time.js +0 -22
  152. package/node_modules/@iarna/toml/lib/format-num.js +0 -6
  153. package/node_modules/@iarna/toml/lib/parser-debug.js +0 -60
  154. package/node_modules/@iarna/toml/lib/parser.js +0 -127
  155. package/node_modules/@iarna/toml/lib/toml-parser.js +0 -1379
  156. package/node_modules/@iarna/toml/package.json +0 -82
  157. package/node_modules/@iarna/toml/parse-async.js +0 -30
  158. package/node_modules/@iarna/toml/parse-pretty-error.js +0 -33
  159. package/node_modules/@iarna/toml/parse-stream.js +0 -80
  160. package/node_modules/@iarna/toml/parse-string.js +0 -18
  161. package/node_modules/@iarna/toml/parse.js +0 -5
  162. package/node_modules/@iarna/toml/stringify.js +0 -296
  163. package/node_modules/@iarna/toml/toml.js +0 -3
  164. package/node_modules/@nodelib/fs.scandir/LICENSE +0 -21
  165. package/node_modules/@nodelib/fs.scandir/README.md +0 -171
  166. package/node_modules/@nodelib/fs.scandir/out/adapters/fs.d.ts +0 -20
  167. package/node_modules/@nodelib/fs.scandir/out/adapters/fs.js +0 -19
  168. package/node_modules/@nodelib/fs.scandir/out/constants.d.ts +0 -4
  169. package/node_modules/@nodelib/fs.scandir/out/constants.js +0 -17
  170. package/node_modules/@nodelib/fs.scandir/out/index.d.ts +0 -12
  171. package/node_modules/@nodelib/fs.scandir/out/index.js +0 -26
  172. package/node_modules/@nodelib/fs.scandir/out/providers/async.d.ts +0 -7
  173. package/node_modules/@nodelib/fs.scandir/out/providers/async.js +0 -104
  174. package/node_modules/@nodelib/fs.scandir/out/providers/common.d.ts +0 -1
  175. package/node_modules/@nodelib/fs.scandir/out/providers/common.js +0 -13
  176. package/node_modules/@nodelib/fs.scandir/out/providers/sync.d.ts +0 -5
  177. package/node_modules/@nodelib/fs.scandir/out/providers/sync.js +0 -54
  178. package/node_modules/@nodelib/fs.scandir/out/settings.d.ts +0 -20
  179. package/node_modules/@nodelib/fs.scandir/out/settings.js +0 -24
  180. package/node_modules/@nodelib/fs.scandir/out/types/index.d.ts +0 -20
  181. package/node_modules/@nodelib/fs.scandir/out/types/index.js +0 -2
  182. package/node_modules/@nodelib/fs.scandir/out/utils/fs.d.ts +0 -2
  183. package/node_modules/@nodelib/fs.scandir/out/utils/fs.js +0 -19
  184. package/node_modules/@nodelib/fs.scandir/out/utils/index.d.ts +0 -2
  185. package/node_modules/@nodelib/fs.scandir/out/utils/index.js +0 -5
  186. package/node_modules/@nodelib/fs.scandir/package.json +0 -44
  187. package/node_modules/@nodelib/fs.stat/LICENSE +0 -21
  188. package/node_modules/@nodelib/fs.stat/README.md +0 -126
  189. package/node_modules/@nodelib/fs.stat/out/adapters/fs.d.ts +0 -13
  190. package/node_modules/@nodelib/fs.stat/out/adapters/fs.js +0 -17
  191. package/node_modules/@nodelib/fs.stat/out/index.d.ts +0 -12
  192. package/node_modules/@nodelib/fs.stat/out/index.js +0 -26
  193. package/node_modules/@nodelib/fs.stat/out/providers/async.d.ts +0 -4
  194. package/node_modules/@nodelib/fs.stat/out/providers/async.js +0 -36
  195. package/node_modules/@nodelib/fs.stat/out/providers/sync.d.ts +0 -3
  196. package/node_modules/@nodelib/fs.stat/out/providers/sync.js +0 -23
  197. package/node_modules/@nodelib/fs.stat/out/settings.d.ts +0 -16
  198. package/node_modules/@nodelib/fs.stat/out/settings.js +0 -16
  199. package/node_modules/@nodelib/fs.stat/out/types/index.d.ts +0 -4
  200. package/node_modules/@nodelib/fs.stat/out/types/index.js +0 -2
  201. package/node_modules/@nodelib/fs.stat/package.json +0 -37
  202. package/node_modules/@nodelib/fs.walk/LICENSE +0 -21
  203. package/node_modules/@nodelib/fs.walk/README.md +0 -215
  204. package/node_modules/@nodelib/fs.walk/out/index.d.ts +0 -14
  205. package/node_modules/@nodelib/fs.walk/out/index.js +0 -34
  206. package/node_modules/@nodelib/fs.walk/out/providers/async.d.ts +0 -12
  207. package/node_modules/@nodelib/fs.walk/out/providers/async.js +0 -30
  208. package/node_modules/@nodelib/fs.walk/out/providers/index.d.ts +0 -4
  209. package/node_modules/@nodelib/fs.walk/out/providers/index.js +0 -9
  210. package/node_modules/@nodelib/fs.walk/out/providers/stream.d.ts +0 -12
  211. package/node_modules/@nodelib/fs.walk/out/providers/stream.js +0 -34
  212. package/node_modules/@nodelib/fs.walk/out/providers/sync.d.ts +0 -10
  213. package/node_modules/@nodelib/fs.walk/out/providers/sync.js +0 -14
  214. package/node_modules/@nodelib/fs.walk/out/readers/async.d.ts +0 -30
  215. package/node_modules/@nodelib/fs.walk/out/readers/async.js +0 -97
  216. package/node_modules/@nodelib/fs.walk/out/readers/common.d.ts +0 -7
  217. package/node_modules/@nodelib/fs.walk/out/readers/common.js +0 -31
  218. package/node_modules/@nodelib/fs.walk/out/readers/reader.d.ts +0 -6
  219. package/node_modules/@nodelib/fs.walk/out/readers/reader.js +0 -11
  220. package/node_modules/@nodelib/fs.walk/out/readers/sync.d.ts +0 -15
  221. package/node_modules/@nodelib/fs.walk/out/readers/sync.js +0 -59
  222. package/node_modules/@nodelib/fs.walk/out/settings.d.ts +0 -30
  223. package/node_modules/@nodelib/fs.walk/out/settings.js +0 -26
  224. package/node_modules/@nodelib/fs.walk/out/types/index.d.ts +0 -8
  225. package/node_modules/@nodelib/fs.walk/out/types/index.js +0 -2
  226. package/node_modules/@nodelib/fs.walk/package.json +0 -44
  227. package/node_modules/@oozcitak/dom/LICENSE +0 -21
  228. package/node_modules/@oozcitak/dom/README.md +0 -30
  229. package/node_modules/@oozcitak/dom/lib/algorithm/AbortAlgorithm.d.ts +0 -21
  230. package/node_modules/@oozcitak/dom/lib/algorithm/AbortAlgorithm.js +0 -57
  231. package/node_modules/@oozcitak/dom/lib/algorithm/AbortAlgorithm.js.map +0 -1
  232. package/node_modules/@oozcitak/dom/lib/algorithm/AttrAlgorithm.d.ts +0 -8
  233. package/node_modules/@oozcitak/dom/lib/algorithm/AttrAlgorithm.js +0 -23
  234. package/node_modules/@oozcitak/dom/lib/algorithm/AttrAlgorithm.js.map +0 -1
  235. package/node_modules/@oozcitak/dom/lib/algorithm/BoundaryPointAlgorithm.d.ts +0 -8
  236. package/node_modules/@oozcitak/dom/lib/algorithm/BoundaryPointAlgorithm.js +0 -76
  237. package/node_modules/@oozcitak/dom/lib/algorithm/BoundaryPointAlgorithm.js.map +0 -1
  238. package/node_modules/@oozcitak/dom/lib/algorithm/CharacterDataAlgorithm.d.ts +0 -19
  239. package/node_modules/@oozcitak/dom/lib/algorithm/CharacterDataAlgorithm.js +0 -118
  240. package/node_modules/@oozcitak/dom/lib/algorithm/CharacterDataAlgorithm.js.map +0 -1
  241. package/node_modules/@oozcitak/dom/lib/algorithm/CreateAlgorithm.d.ts +0 -192
  242. package/node_modules/@oozcitak/dom/lib/algorithm/CreateAlgorithm.js +0 -302
  243. package/node_modules/@oozcitak/dom/lib/algorithm/CreateAlgorithm.js.map +0 -1
  244. package/node_modules/@oozcitak/dom/lib/algorithm/CustomElementAlgorithm.d.ts +0 -61
  245. package/node_modules/@oozcitak/dom/lib/algorithm/CustomElementAlgorithm.js +0 -108
  246. package/node_modules/@oozcitak/dom/lib/algorithm/CustomElementAlgorithm.js.map +0 -1
  247. package/node_modules/@oozcitak/dom/lib/algorithm/DOMAlgorithm.d.ts +0 -72
  248. package/node_modules/@oozcitak/dom/lib/algorithm/DOMAlgorithm.js +0 -266
  249. package/node_modules/@oozcitak/dom/lib/algorithm/DOMAlgorithm.js.map +0 -1
  250. package/node_modules/@oozcitak/dom/lib/algorithm/DOMTokenListAlgorithm.d.ts +0 -21
  251. package/node_modules/@oozcitak/dom/lib/algorithm/DOMTokenListAlgorithm.js +0 -61
  252. package/node_modules/@oozcitak/dom/lib/algorithm/DOMTokenListAlgorithm.js.map +0 -1
  253. package/node_modules/@oozcitak/dom/lib/algorithm/DocumentAlgorithm.d.ts +0 -29
  254. package/node_modules/@oozcitak/dom/lib/algorithm/DocumentAlgorithm.js +0 -123
  255. package/node_modules/@oozcitak/dom/lib/algorithm/DocumentAlgorithm.js.map +0 -1
  256. package/node_modules/@oozcitak/dom/lib/algorithm/ElementAlgorithm.d.ts +0 -121
  257. package/node_modules/@oozcitak/dom/lib/algorithm/ElementAlgorithm.js +0 -602
  258. package/node_modules/@oozcitak/dom/lib/algorithm/ElementAlgorithm.js.map +0 -1
  259. package/node_modules/@oozcitak/dom/lib/algorithm/EventAlgorithm.d.ts +0 -146
  260. package/node_modules/@oozcitak/dom/lib/algorithm/EventAlgorithm.js +0 -938
  261. package/node_modules/@oozcitak/dom/lib/algorithm/EventAlgorithm.js.map +0 -1
  262. package/node_modules/@oozcitak/dom/lib/algorithm/EventTargetAlgorithm.d.ts +0 -33
  263. package/node_modules/@oozcitak/dom/lib/algorithm/EventTargetAlgorithm.js +0 -120
  264. package/node_modules/@oozcitak/dom/lib/algorithm/EventTargetAlgorithm.js.map +0 -1
  265. package/node_modules/@oozcitak/dom/lib/algorithm/MutationAlgorithm.d.ts +0 -66
  266. package/node_modules/@oozcitak/dom/lib/algorithm/MutationAlgorithm.js +0 -998
  267. package/node_modules/@oozcitak/dom/lib/algorithm/MutationAlgorithm.js.map +0 -1
  268. package/node_modules/@oozcitak/dom/lib/algorithm/MutationObserverAlgorithm.d.ts +0 -43
  269. package/node_modules/@oozcitak/dom/lib/algorithm/MutationObserverAlgorithm.js +0 -214
  270. package/node_modules/@oozcitak/dom/lib/algorithm/MutationObserverAlgorithm.js.map +0 -1
  271. package/node_modules/@oozcitak/dom/lib/algorithm/NamespaceAlgorithm.d.ts +0 -29
  272. package/node_modules/@oozcitak/dom/lib/algorithm/NamespaceAlgorithm.js +0 -85
  273. package/node_modules/@oozcitak/dom/lib/algorithm/NamespaceAlgorithm.js.map +0 -1
  274. package/node_modules/@oozcitak/dom/lib/algorithm/NodeAlgorithm.d.ts +0 -68
  275. package/node_modules/@oozcitak/dom/lib/algorithm/NodeAlgorithm.js +0 -488
  276. package/node_modules/@oozcitak/dom/lib/algorithm/NodeAlgorithm.js.map +0 -1
  277. package/node_modules/@oozcitak/dom/lib/algorithm/NodeIteratorAlgorithm.d.ts +0 -15
  278. package/node_modules/@oozcitak/dom/lib/algorithm/NodeIteratorAlgorithm.js +0 -105
  279. package/node_modules/@oozcitak/dom/lib/algorithm/NodeIteratorAlgorithm.js.map +0 -1
  280. package/node_modules/@oozcitak/dom/lib/algorithm/OrderedSetAlgorithm.d.ts +0 -27
  281. package/node_modules/@oozcitak/dom/lib/algorithm/OrderedSetAlgorithm.js +0 -73
  282. package/node_modules/@oozcitak/dom/lib/algorithm/OrderedSetAlgorithm.js.map +0 -1
  283. package/node_modules/@oozcitak/dom/lib/algorithm/ParentNodeAlgorithm.d.ts +0 -9
  284. package/node_modules/@oozcitak/dom/lib/algorithm/ParentNodeAlgorithm.js +0 -47
  285. package/node_modules/@oozcitak/dom/lib/algorithm/ParentNodeAlgorithm.js.map +0 -1
  286. package/node_modules/@oozcitak/dom/lib/algorithm/RangeAlgorithm.d.ts +0 -82
  287. package/node_modules/@oozcitak/dom/lib/algorithm/RangeAlgorithm.js +0 -723
  288. package/node_modules/@oozcitak/dom/lib/algorithm/RangeAlgorithm.js.map +0 -1
  289. package/node_modules/@oozcitak/dom/lib/algorithm/SelectorsAlgorithm.d.ts +0 -8
  290. package/node_modules/@oozcitak/dom/lib/algorithm/SelectorsAlgorithm.js +0 -21
  291. package/node_modules/@oozcitak/dom/lib/algorithm/SelectorsAlgorithm.js.map +0 -1
  292. package/node_modules/@oozcitak/dom/lib/algorithm/ShadowTreeAlgorithm.d.ts +0 -57
  293. package/node_modules/@oozcitak/dom/lib/algorithm/ShadowTreeAlgorithm.js +0 -241
  294. package/node_modules/@oozcitak/dom/lib/algorithm/ShadowTreeAlgorithm.js.map +0 -1
  295. package/node_modules/@oozcitak/dom/lib/algorithm/TextAlgorithm.d.ts +0 -30
  296. package/node_modules/@oozcitak/dom/lib/algorithm/TextAlgorithm.js +0 -200
  297. package/node_modules/@oozcitak/dom/lib/algorithm/TextAlgorithm.js.map +0 -1
  298. package/node_modules/@oozcitak/dom/lib/algorithm/TraversalAlgorithm.d.ts +0 -8
  299. package/node_modules/@oozcitak/dom/lib/algorithm/TraversalAlgorithm.js +0 -62
  300. package/node_modules/@oozcitak/dom/lib/algorithm/TraversalAlgorithm.js.map +0 -1
  301. package/node_modules/@oozcitak/dom/lib/algorithm/TreeAlgorithm.d.ts +0 -268
  302. package/node_modules/@oozcitak/dom/lib/algorithm/TreeAlgorithm.js +0 -786
  303. package/node_modules/@oozcitak/dom/lib/algorithm/TreeAlgorithm.js.map +0 -1
  304. package/node_modules/@oozcitak/dom/lib/algorithm/TreeWalkerAlgorithm.d.ts +0 -17
  305. package/node_modules/@oozcitak/dom/lib/algorithm/TreeWalkerAlgorithm.js +0 -147
  306. package/node_modules/@oozcitak/dom/lib/algorithm/TreeWalkerAlgorithm.js.map +0 -1
  307. package/node_modules/@oozcitak/dom/lib/algorithm/WebIDLAlgorithm.d.ts +0 -8
  308. package/node_modules/@oozcitak/dom/lib/algorithm/WebIDLAlgorithm.js +0 -14
  309. package/node_modules/@oozcitak/dom/lib/algorithm/WebIDLAlgorithm.js.map +0 -1
  310. package/node_modules/@oozcitak/dom/lib/algorithm/XMLAlgorithm.d.ts +0 -25
  311. package/node_modules/@oozcitak/dom/lib/algorithm/XMLAlgorithm.js +0 -164
  312. package/node_modules/@oozcitak/dom/lib/algorithm/XMLAlgorithm.js.map +0 -1
  313. package/node_modules/@oozcitak/dom/lib/algorithm/index.d.ts +0 -28
  314. package/node_modules/@oozcitak/dom/lib/algorithm/index.js +0 -45
  315. package/node_modules/@oozcitak/dom/lib/algorithm/index.js.map +0 -1
  316. package/node_modules/@oozcitak/dom/lib/dom/AbortControllerImpl.d.ts +0 -15
  317. package/node_modules/@oozcitak/dom/lib/dom/AbortControllerImpl.js +0 -29
  318. package/node_modules/@oozcitak/dom/lib/dom/AbortControllerImpl.js.map +0 -1
  319. package/node_modules/@oozcitak/dom/lib/dom/AbortSignalImpl.d.ts +0 -23
  320. package/node_modules/@oozcitak/dom/lib/dom/AbortSignalImpl.js +0 -36
  321. package/node_modules/@oozcitak/dom/lib/dom/AbortSignalImpl.js.map +0 -1
  322. package/node_modules/@oozcitak/dom/lib/dom/AbstractRangeImpl.d.ts +0 -23
  323. package/node_modules/@oozcitak/dom/lib/dom/AbstractRangeImpl.js +0 -28
  324. package/node_modules/@oozcitak/dom/lib/dom/AbstractRangeImpl.js.map +0 -1
  325. package/node_modules/@oozcitak/dom/lib/dom/AttrImpl.d.ts +0 -45
  326. package/node_modules/@oozcitak/dom/lib/dom/AttrImpl.js +0 -79
  327. package/node_modules/@oozcitak/dom/lib/dom/AttrImpl.js.map +0 -1
  328. package/node_modules/@oozcitak/dom/lib/dom/CDATASectionImpl.d.ts +0 -21
  329. package/node_modules/@oozcitak/dom/lib/dom/CDATASectionImpl.js +0 -37
  330. package/node_modules/@oozcitak/dom/lib/dom/CDATASectionImpl.js.map +0 -1
  331. package/node_modules/@oozcitak/dom/lib/dom/CharacterDataImpl.d.ts +0 -35
  332. package/node_modules/@oozcitak/dom/lib/dom/CharacterDataImpl.js +0 -84
  333. package/node_modules/@oozcitak/dom/lib/dom/CharacterDataImpl.js.map +0 -1
  334. package/node_modules/@oozcitak/dom/lib/dom/ChildNodeImpl.d.ts +0 -16
  335. package/node_modules/@oozcitak/dom/lib/dom/ChildNodeImpl.js +0 -151
  336. package/node_modules/@oozcitak/dom/lib/dom/ChildNodeImpl.js.map +0 -1
  337. package/node_modules/@oozcitak/dom/lib/dom/CommentImpl.d.ts +0 -21
  338. package/node_modules/@oozcitak/dom/lib/dom/CommentImpl.js +0 -37
  339. package/node_modules/@oozcitak/dom/lib/dom/CommentImpl.js.map +0 -1
  340. package/node_modules/@oozcitak/dom/lib/dom/CustomEventImpl.d.ts +0 -16
  341. package/node_modules/@oozcitak/dom/lib/dom/CustomEventImpl.js +0 -38
  342. package/node_modules/@oozcitak/dom/lib/dom/CustomEventImpl.js.map +0 -1
  343. package/node_modules/@oozcitak/dom/lib/dom/DOMException.d.ts +0 -171
  344. package/node_modules/@oozcitak/dom/lib/dom/DOMException.js +0 -257
  345. package/node_modules/@oozcitak/dom/lib/dom/DOMException.js.map +0 -1
  346. package/node_modules/@oozcitak/dom/lib/dom/DOMImpl.d.ts +0 -48
  347. package/node_modules/@oozcitak/dom/lib/dom/DOMImpl.js +0 -83
  348. package/node_modules/@oozcitak/dom/lib/dom/DOMImpl.js.map +0 -1
  349. package/node_modules/@oozcitak/dom/lib/dom/DOMImplementationImpl.d.ts +0 -29
  350. package/node_modules/@oozcitak/dom/lib/dom/DOMImplementationImpl.js +0 -150
  351. package/node_modules/@oozcitak/dom/lib/dom/DOMImplementationImpl.js.map +0 -1
  352. package/node_modules/@oozcitak/dom/lib/dom/DOMTokenListImpl.d.ts +0 -46
  353. package/node_modules/@oozcitak/dom/lib/dom/DOMTokenListImpl.js +0 -254
  354. package/node_modules/@oozcitak/dom/lib/dom/DOMTokenListImpl.js.map +0 -1
  355. package/node_modules/@oozcitak/dom/lib/dom/DocumentFragmentImpl.d.ts +0 -32
  356. package/node_modules/@oozcitak/dom/lib/dom/DocumentFragmentImpl.js +0 -60
  357. package/node_modules/@oozcitak/dom/lib/dom/DocumentFragmentImpl.js.map +0 -1
  358. package/node_modules/@oozcitak/dom/lib/dom/DocumentImpl.d.ts +0 -116
  359. package/node_modules/@oozcitak/dom/lib/dom/DocumentImpl.js +0 -413
  360. package/node_modules/@oozcitak/dom/lib/dom/DocumentImpl.js.map +0 -1
  361. package/node_modules/@oozcitak/dom/lib/dom/DocumentOrShadowRootImpl.d.ts +0 -11
  362. package/node_modules/@oozcitak/dom/lib/dom/DocumentOrShadowRootImpl.js +0 -15
  363. package/node_modules/@oozcitak/dom/lib/dom/DocumentOrShadowRootImpl.js.map +0 -1
  364. package/node_modules/@oozcitak/dom/lib/dom/DocumentTypeImpl.d.ts +0 -39
  365. package/node_modules/@oozcitak/dom/lib/dom/DocumentTypeImpl.js +0 -63
  366. package/node_modules/@oozcitak/dom/lib/dom/DocumentTypeImpl.js.map +0 -1
  367. package/node_modules/@oozcitak/dom/lib/dom/ElementImpl.d.ts +0 -132
  368. package/node_modules/@oozcitak/dom/lib/dom/ElementImpl.js +0 -555
  369. package/node_modules/@oozcitak/dom/lib/dom/ElementImpl.js.map +0 -1
  370. package/node_modules/@oozcitak/dom/lib/dom/EventImpl.d.ts +0 -74
  371. package/node_modules/@oozcitak/dom/lib/dom/EventImpl.js +0 -265
  372. package/node_modules/@oozcitak/dom/lib/dom/EventImpl.js.map +0 -1
  373. package/node_modules/@oozcitak/dom/lib/dom/EventTargetImpl.d.ts +0 -30
  374. package/node_modules/@oozcitak/dom/lib/dom/EventTargetImpl.js +0 -108
  375. package/node_modules/@oozcitak/dom/lib/dom/EventTargetImpl.js.map +0 -1
  376. package/node_modules/@oozcitak/dom/lib/dom/HTMLCollectionImpl.d.ts +0 -44
  377. package/node_modules/@oozcitak/dom/lib/dom/HTMLCollectionImpl.js +0 -151
  378. package/node_modules/@oozcitak/dom/lib/dom/HTMLCollectionImpl.js.map +0 -1
  379. package/node_modules/@oozcitak/dom/lib/dom/MutationObserverImpl.d.ts +0 -22
  380. package/node_modules/@oozcitak/dom/lib/dom/MutationObserverImpl.js +0 -132
  381. package/node_modules/@oozcitak/dom/lib/dom/MutationObserverImpl.js.map +0 -1
  382. package/node_modules/@oozcitak/dom/lib/dom/MutationRecordImpl.d.ts +0 -73
  383. package/node_modules/@oozcitak/dom/lib/dom/MutationRecordImpl.js +0 -89
  384. package/node_modules/@oozcitak/dom/lib/dom/MutationRecordImpl.js.map +0 -1
  385. package/node_modules/@oozcitak/dom/lib/dom/NamedNodeMapImpl.d.ts +0 -34
  386. package/node_modules/@oozcitak/dom/lib/dom/NamedNodeMapImpl.js +0 -98
  387. package/node_modules/@oozcitak/dom/lib/dom/NamedNodeMapImpl.js.map +0 -1
  388. package/node_modules/@oozcitak/dom/lib/dom/NodeFilterImpl.d.ts +0 -50
  389. package/node_modules/@oozcitak/dom/lib/dom/NodeFilterImpl.js +0 -80
  390. package/node_modules/@oozcitak/dom/lib/dom/NodeFilterImpl.js.map +0 -1
  391. package/node_modules/@oozcitak/dom/lib/dom/NodeImpl.d.ts +0 -252
  392. package/node_modules/@oozcitak/dom/lib/dom/NodeImpl.js +0 -795
  393. package/node_modules/@oozcitak/dom/lib/dom/NodeImpl.js.map +0 -1
  394. package/node_modules/@oozcitak/dom/lib/dom/NodeIteratorImpl.d.ts +0 -34
  395. package/node_modules/@oozcitak/dom/lib/dom/NodeIteratorImpl.js +0 -66
  396. package/node_modules/@oozcitak/dom/lib/dom/NodeIteratorImpl.js.map +0 -1
  397. package/node_modules/@oozcitak/dom/lib/dom/NodeListImpl.d.ts +0 -46
  398. package/node_modules/@oozcitak/dom/lib/dom/NodeListImpl.js +0 -170
  399. package/node_modules/@oozcitak/dom/lib/dom/NodeListImpl.js.map +0 -1
  400. package/node_modules/@oozcitak/dom/lib/dom/NodeListStaticImpl.d.ts +0 -49
  401. package/node_modules/@oozcitak/dom/lib/dom/NodeListStaticImpl.js +0 -161
  402. package/node_modules/@oozcitak/dom/lib/dom/NodeListStaticImpl.js.map +0 -1
  403. package/node_modules/@oozcitak/dom/lib/dom/NonDocumentTypeChildNodeImpl.d.ts +0 -12
  404. package/node_modules/@oozcitak/dom/lib/dom/NonDocumentTypeChildNodeImpl.js +0 -43
  405. package/node_modules/@oozcitak/dom/lib/dom/NonDocumentTypeChildNodeImpl.js.map +0 -1
  406. package/node_modules/@oozcitak/dom/lib/dom/NonElementParentNodeImpl.d.ts +0 -9
  407. package/node_modules/@oozcitak/dom/lib/dom/NonElementParentNodeImpl.js +0 -29
  408. package/node_modules/@oozcitak/dom/lib/dom/NonElementParentNodeImpl.js.map +0 -1
  409. package/node_modules/@oozcitak/dom/lib/dom/ParentNodeImpl.d.ts +0 -24
  410. package/node_modules/@oozcitak/dom/lib/dom/ParentNodeImpl.js +0 -110
  411. package/node_modules/@oozcitak/dom/lib/dom/ParentNodeImpl.js.map +0 -1
  412. package/node_modules/@oozcitak/dom/lib/dom/ProcessingInstructionImpl.d.ts +0 -25
  413. package/node_modules/@oozcitak/dom/lib/dom/ProcessingInstructionImpl.js +0 -42
  414. package/node_modules/@oozcitak/dom/lib/dom/ProcessingInstructionImpl.js.map +0 -1
  415. package/node_modules/@oozcitak/dom/lib/dom/RangeImpl.d.ts +0 -71
  416. package/node_modules/@oozcitak/dom/lib/dom/RangeImpl.js +0 -582
  417. package/node_modules/@oozcitak/dom/lib/dom/RangeImpl.js.map +0 -1
  418. package/node_modules/@oozcitak/dom/lib/dom/ShadowRootImpl.d.ts +0 -33
  419. package/node_modules/@oozcitak/dom/lib/dom/ShadowRootImpl.js +0 -61
  420. package/node_modules/@oozcitak/dom/lib/dom/ShadowRootImpl.js.map +0 -1
  421. package/node_modules/@oozcitak/dom/lib/dom/SlotableImpl.d.ts +0 -16
  422. package/node_modules/@oozcitak/dom/lib/dom/SlotableImpl.js +0 -23
  423. package/node_modules/@oozcitak/dom/lib/dom/SlotableImpl.js.map +0 -1
  424. package/node_modules/@oozcitak/dom/lib/dom/StaticRangeImpl.d.ts +0 -13
  425. package/node_modules/@oozcitak/dom/lib/dom/StaticRangeImpl.js +0 -35
  426. package/node_modules/@oozcitak/dom/lib/dom/StaticRangeImpl.js.map +0 -1
  427. package/node_modules/@oozcitak/dom/lib/dom/TextImpl.d.ts +0 -28
  428. package/node_modules/@oozcitak/dom/lib/dom/TextImpl.js +0 -63
  429. package/node_modules/@oozcitak/dom/lib/dom/TextImpl.js.map +0 -1
  430. package/node_modules/@oozcitak/dom/lib/dom/TraverserImpl.d.ts +0 -23
  431. package/node_modules/@oozcitak/dom/lib/dom/TraverserImpl.js +0 -33
  432. package/node_modules/@oozcitak/dom/lib/dom/TraverserImpl.js.map +0 -1
  433. package/node_modules/@oozcitak/dom/lib/dom/TreeWalkerImpl.d.ts +0 -36
  434. package/node_modules/@oozcitak/dom/lib/dom/TreeWalkerImpl.js +0 -231
  435. package/node_modules/@oozcitak/dom/lib/dom/TreeWalkerImpl.js.map +0 -1
  436. package/node_modules/@oozcitak/dom/lib/dom/WindowImpl.d.ts +0 -26
  437. package/node_modules/@oozcitak/dom/lib/dom/WindowImpl.js +0 -36
  438. package/node_modules/@oozcitak/dom/lib/dom/WindowImpl.js.map +0 -1
  439. package/node_modules/@oozcitak/dom/lib/dom/XMLDocumentImpl.d.ts +0 -11
  440. package/node_modules/@oozcitak/dom/lib/dom/XMLDocumentImpl.js +0 -17
  441. package/node_modules/@oozcitak/dom/lib/dom/XMLDocumentImpl.js.map +0 -1
  442. package/node_modules/@oozcitak/dom/lib/dom/index.d.ts +0 -36
  443. package/node_modules/@oozcitak/dom/lib/dom/index.js +0 -103
  444. package/node_modules/@oozcitak/dom/lib/dom/index.js.map +0 -1
  445. package/node_modules/@oozcitak/dom/lib/dom/interfaces.d.ts +0 -2221
  446. package/node_modules/@oozcitak/dom/lib/dom/interfaces.js +0 -93
  447. package/node_modules/@oozcitak/dom/lib/dom/interfaces.js.map +0 -1
  448. package/node_modules/@oozcitak/dom/lib/index.d.ts +0 -3
  449. package/node_modules/@oozcitak/dom/lib/index.js +0 -12
  450. package/node_modules/@oozcitak/dom/lib/index.js.map +0 -1
  451. package/node_modules/@oozcitak/dom/lib/parser/DOMParserImpl.d.ts +0 -11
  452. package/node_modules/@oozcitak/dom/lib/parser/DOMParserImpl.js +0 -35
  453. package/node_modules/@oozcitak/dom/lib/parser/DOMParserImpl.js.map +0 -1
  454. package/node_modules/@oozcitak/dom/lib/parser/XMLParserImpl.d.ts +0 -26
  455. package/node_modules/@oozcitak/dom/lib/parser/XMLParserImpl.js +0 -190
  456. package/node_modules/@oozcitak/dom/lib/parser/XMLParserImpl.js.map +0 -1
  457. package/node_modules/@oozcitak/dom/lib/parser/XMLStringLexer.d.ts +0 -159
  458. package/node_modules/@oozcitak/dom/lib/parser/XMLStringLexer.js +0 -496
  459. package/node_modules/@oozcitak/dom/lib/parser/XMLStringLexer.js.map +0 -1
  460. package/node_modules/@oozcitak/dom/lib/parser/index.d.ts +0 -1
  461. package/node_modules/@oozcitak/dom/lib/parser/index.js +0 -7
  462. package/node_modules/@oozcitak/dom/lib/parser/index.js.map +0 -1
  463. package/node_modules/@oozcitak/dom/lib/parser/interfaces.d.ts +0 -131
  464. package/node_modules/@oozcitak/dom/lib/parser/interfaces.js +0 -19
  465. package/node_modules/@oozcitak/dom/lib/parser/interfaces.js.map +0 -1
  466. package/node_modules/@oozcitak/dom/lib/serializer/LocalNameSet.d.ts +0 -27
  467. package/node_modules/@oozcitak/dom/lib/serializer/LocalNameSet.js +0 -54
  468. package/node_modules/@oozcitak/dom/lib/serializer/LocalNameSet.js.map +0 -1
  469. package/node_modules/@oozcitak/dom/lib/serializer/NamespacePrefixMap.d.ts +0 -52
  470. package/node_modules/@oozcitak/dom/lib/serializer/NamespacePrefixMap.js +0 -149
  471. package/node_modules/@oozcitak/dom/lib/serializer/NamespacePrefixMap.js.map +0 -1
  472. package/node_modules/@oozcitak/dom/lib/serializer/XMLSerializerImpl.d.ts +0 -166
  473. package/node_modules/@oozcitak/dom/lib/serializer/XMLSerializerImpl.js +0 -1367
  474. package/node_modules/@oozcitak/dom/lib/serializer/XMLSerializerImpl.js.map +0 -1
  475. package/node_modules/@oozcitak/dom/lib/serializer/index.d.ts +0 -1
  476. package/node_modules/@oozcitak/dom/lib/serializer/index.js +0 -7
  477. package/node_modules/@oozcitak/dom/lib/serializer/index.js.map +0 -1
  478. package/node_modules/@oozcitak/dom/lib/serializer/interfaces.d.ts +0 -15
  479. package/node_modules/@oozcitak/dom/lib/serializer/interfaces.js +0 -3
  480. package/node_modules/@oozcitak/dom/lib/serializer/interfaces.js.map +0 -1
  481. package/node_modules/@oozcitak/dom/lib/util/Cast.d.ts +0 -12
  482. package/node_modules/@oozcitak/dom/lib/util/Cast.js +0 -24
  483. package/node_modules/@oozcitak/dom/lib/util/Cast.js.map +0 -1
  484. package/node_modules/@oozcitak/dom/lib/util/EmptySet.d.ts +0 -21
  485. package/node_modules/@oozcitak/dom/lib/util/EmptySet.js +0 -48
  486. package/node_modules/@oozcitak/dom/lib/util/EmptySet.js.map +0 -1
  487. package/node_modules/@oozcitak/dom/lib/util/Guard.d.ts +0 -135
  488. package/node_modules/@oozcitak/dom/lib/util/Guard.js +0 -190
  489. package/node_modules/@oozcitak/dom/lib/util/Guard.js.map +0 -1
  490. package/node_modules/@oozcitak/dom/lib/util/index.d.ts +0 -3
  491. package/node_modules/@oozcitak/dom/lib/util/index.js +0 -10
  492. package/node_modules/@oozcitak/dom/lib/util/index.js.map +0 -1
  493. package/node_modules/@oozcitak/dom/package.json +0 -45
  494. package/node_modules/@oozcitak/infra/LICENSE +0 -21
  495. package/node_modules/@oozcitak/infra/README.md +0 -11
  496. package/node_modules/@oozcitak/infra/lib/Base64.d.ts +0 -12
  497. package/node_modules/@oozcitak/infra/lib/Base64.js +0 -82
  498. package/node_modules/@oozcitak/infra/lib/Base64.js.map +0 -1
  499. package/node_modules/@oozcitak/infra/lib/Byte.d.ts +0 -6
  500. package/node_modules/@oozcitak/infra/lib/Byte.js +0 -15
  501. package/node_modules/@oozcitak/infra/lib/Byte.js.map +0 -1
  502. package/node_modules/@oozcitak/infra/lib/ByteSequence.d.ts +0 -45
  503. package/node_modules/@oozcitak/infra/lib/ByteSequence.js +0 -151
  504. package/node_modules/@oozcitak/infra/lib/ByteSequence.js.map +0 -1
  505. package/node_modules/@oozcitak/infra/lib/CodePoints.d.ts +0 -82
  506. package/node_modules/@oozcitak/infra/lib/CodePoints.js +0 -86
  507. package/node_modules/@oozcitak/infra/lib/CodePoints.js.map +0 -1
  508. package/node_modules/@oozcitak/infra/lib/JSON.d.ts +0 -24
  509. package/node_modules/@oozcitak/infra/lib/JSON.js +0 -101
  510. package/node_modules/@oozcitak/infra/lib/JSON.js.map +0 -1
  511. package/node_modules/@oozcitak/infra/lib/List.d.ts +0 -101
  512. package/node_modules/@oozcitak/infra/lib/List.js +0 -201
  513. package/node_modules/@oozcitak/infra/lib/List.js.map +0 -1
  514. package/node_modules/@oozcitak/infra/lib/Map.d.ts +0 -87
  515. package/node_modules/@oozcitak/infra/lib/Map.js +0 -174
  516. package/node_modules/@oozcitak/infra/lib/Map.js.map +0 -1
  517. package/node_modules/@oozcitak/infra/lib/Namespace.d.ts +0 -6
  518. package/node_modules/@oozcitak/infra/lib/Namespace.js +0 -10
  519. package/node_modules/@oozcitak/infra/lib/Namespace.js.map +0 -1
  520. package/node_modules/@oozcitak/infra/lib/Queue.d.ts +0 -13
  521. package/node_modules/@oozcitak/infra/lib/Queue.js +0 -22
  522. package/node_modules/@oozcitak/infra/lib/Queue.js.map +0 -1
  523. package/node_modules/@oozcitak/infra/lib/Set.d.ts +0 -136
  524. package/node_modules/@oozcitak/infra/lib/Set.js +0 -289
  525. package/node_modules/@oozcitak/infra/lib/Set.js.map +0 -1
  526. package/node_modules/@oozcitak/infra/lib/Stack.d.ts +0 -13
  527. package/node_modules/@oozcitak/infra/lib/Stack.js +0 -22
  528. package/node_modules/@oozcitak/infra/lib/Stack.js.map +0 -1
  529. package/node_modules/@oozcitak/infra/lib/String.d.ts +0 -129
  530. package/node_modules/@oozcitak/infra/lib/String.js +0 -416
  531. package/node_modules/@oozcitak/infra/lib/String.js.map +0 -1
  532. package/node_modules/@oozcitak/infra/lib/index.d.ts +0 -13
  533. package/node_modules/@oozcitak/infra/lib/index.js +0 -61
  534. package/node_modules/@oozcitak/infra/lib/index.js.map +0 -1
  535. package/node_modules/@oozcitak/infra/package.json +0 -41
  536. package/node_modules/@oozcitak/url/LICENSE +0 -21
  537. package/node_modules/@oozcitak/url/README.md +0 -25
  538. package/node_modules/@oozcitak/url/lib/URLAlgorithm.d.ts +0 -267
  539. package/node_modules/@oozcitak/url/lib/URLAlgorithm.js +0 -2585
  540. package/node_modules/@oozcitak/url/lib/URLAlgorithm.js.map +0 -1
  541. package/node_modules/@oozcitak/url/lib/URLImpl.d.ts +0 -53
  542. package/node_modules/@oozcitak/url/lib/URLImpl.js +0 -331
  543. package/node_modules/@oozcitak/url/lib/URLImpl.js.map +0 -1
  544. package/node_modules/@oozcitak/url/lib/URLSearchParamsImpl.d.ts +0 -38
  545. package/node_modules/@oozcitak/url/lib/URLSearchParamsImpl.js +0 -184
  546. package/node_modules/@oozcitak/url/lib/URLSearchParamsImpl.js.map +0 -1
  547. package/node_modules/@oozcitak/url/lib/index.d.ts +0 -2
  548. package/node_modules/@oozcitak/url/lib/index.js +0 -8
  549. package/node_modules/@oozcitak/url/lib/index.js.map +0 -1
  550. package/node_modules/@oozcitak/url/lib/interfaces.d.ts +0 -195
  551. package/node_modules/@oozcitak/url/lib/interfaces.js +0 -32
  552. package/node_modules/@oozcitak/url/lib/interfaces.js.map +0 -1
  553. package/node_modules/@oozcitak/url/package.json +0 -42
  554. package/node_modules/@oozcitak/util/LICENSE +0 -21
  555. package/node_modules/@oozcitak/util/README.md +0 -8
  556. package/node_modules/@oozcitak/util/lib/CompareCache.d.ts +0 -32
  557. package/node_modules/@oozcitak/util/lib/CompareCache.js +0 -59
  558. package/node_modules/@oozcitak/util/lib/CompareCache.js.map +0 -1
  559. package/node_modules/@oozcitak/util/lib/FixedSizeSet.d.ts +0 -64
  560. package/node_modules/@oozcitak/util/lib/FixedSizeSet.js +0 -99
  561. package/node_modules/@oozcitak/util/lib/FixedSizeSet.js.map +0 -1
  562. package/node_modules/@oozcitak/util/lib/Lazy.d.ts +0 -18
  563. package/node_modules/@oozcitak/util/lib/Lazy.js +0 -32
  564. package/node_modules/@oozcitak/util/lib/Lazy.js.map +0 -1
  565. package/node_modules/@oozcitak/util/lib/ObjectCache.d.ts +0 -71
  566. package/node_modules/@oozcitak/util/lib/ObjectCache.js +0 -107
  567. package/node_modules/@oozcitak/util/lib/ObjectCache.js.map +0 -1
  568. package/node_modules/@oozcitak/util/lib/StringWalker.d.ts +0 -49
  569. package/node_modules/@oozcitak/util/lib/StringWalker.js +0 -99
  570. package/node_modules/@oozcitak/util/lib/StringWalker.js.map +0 -1
  571. package/node_modules/@oozcitak/util/lib/index.d.ts +0 -176
  572. package/node_modules/@oozcitak/util/lib/index.js +0 -413
  573. package/node_modules/@oozcitak/util/lib/index.js.map +0 -1
  574. package/node_modules/@oozcitak/util/package.json +0 -37
  575. package/node_modules/ansi-regex/index.d.ts +0 -37
  576. package/node_modules/ansi-regex/index.js +0 -10
  577. package/node_modules/ansi-regex/license +0 -9
  578. package/node_modules/ansi-regex/package.json +0 -55
  579. package/node_modules/ansi-regex/readme.md +0 -78
  580. package/node_modules/ansi-styles/index.d.ts +0 -345
  581. package/node_modules/ansi-styles/index.js +0 -163
  582. package/node_modules/ansi-styles/license +0 -9
  583. package/node_modules/ansi-styles/package.json +0 -56
  584. package/node_modules/ansi-styles/readme.md +0 -152
  585. package/node_modules/argparse/LICENSE +0 -254
  586. package/node_modules/argparse/README.md +0 -84
  587. package/node_modules/argparse/argparse.js +0 -3707
  588. package/node_modules/argparse/lib/sub.js +0 -67
  589. package/node_modules/argparse/lib/textwrap.js +0 -440
  590. package/node_modules/argparse/package.json +0 -31
  591. package/node_modules/array-timsort/LICENSE +0 -21
  592. package/node_modules/array-timsort/README.md +0 -288
  593. package/node_modules/array-timsort/package.json +0 -55
  594. package/node_modules/array-timsort/src/index.js +0 -1080
  595. package/node_modules/braces/LICENSE +0 -21
  596. package/node_modules/braces/README.md +0 -586
  597. package/node_modules/braces/index.js +0 -170
  598. package/node_modules/braces/lib/compile.js +0 -60
  599. package/node_modules/braces/lib/constants.js +0 -57
  600. package/node_modules/braces/lib/expand.js +0 -113
  601. package/node_modules/braces/lib/parse.js +0 -331
  602. package/node_modules/braces/lib/stringify.js +0 -32
  603. package/node_modules/braces/lib/utils.js +0 -122
  604. package/node_modules/braces/package.json +0 -77
  605. package/node_modules/case/LICENSE +0 -22
  606. package/node_modules/case/README.md +0 -139
  607. package/node_modules/case/case.d.ts +0 -43
  608. package/node_modules/case/dist/Case.js +0 -171
  609. package/node_modules/case/dist/Case.min.js +0 -5
  610. package/node_modules/case/dist/Case.min.js.map +0 -1
  611. package/node_modules/case/dist/Case.plus.js +0 -189
  612. package/node_modules/case/dist/Case.plus.min.js +0 -5
  613. package/node_modules/case/dist/Case.plus.min.js.map +0 -1
  614. package/node_modules/case/package.json +0 -58
  615. package/node_modules/chalk/index.d.ts +0 -415
  616. package/node_modules/chalk/license +0 -9
  617. package/node_modules/chalk/package.json +0 -68
  618. package/node_modules/chalk/readme.md +0 -341
  619. package/node_modules/chalk/source/index.js +0 -229
  620. package/node_modules/chalk/source/templates.js +0 -134
  621. package/node_modules/chalk/source/util.js +0 -39
  622. package/node_modules/cliui/LICENSE.txt +0 -14
  623. package/node_modules/cliui/README.md +0 -141
  624. package/node_modules/cliui/build/index.cjs +0 -302
  625. package/node_modules/cliui/build/index.d.cts +0 -43
  626. package/node_modules/cliui/build/lib/index.js +0 -287
  627. package/node_modules/cliui/build/lib/string-utils.js +0 -27
  628. package/node_modules/cliui/index.mjs +0 -13
  629. package/node_modules/cliui/package.json +0 -83
  630. package/node_modules/color-convert/LICENSE +0 -21
  631. package/node_modules/color-convert/README.md +0 -68
  632. package/node_modules/color-convert/conversions.js +0 -839
  633. package/node_modules/color-convert/index.js +0 -81
  634. package/node_modules/color-convert/package.json +0 -48
  635. package/node_modules/color-convert/route.js +0 -97
  636. package/node_modules/color-name/LICENSE +0 -8
  637. package/node_modules/color-name/README.md +0 -11
  638. package/node_modules/color-name/index.js +0 -152
  639. package/node_modules/color-name/package.json +0 -28
  640. package/node_modules/comment-json/LICENSE +0 -21
  641. package/node_modules/comment-json/README.md +0 -580
  642. package/node_modules/comment-json/index.d.ts +0 -97
  643. package/node_modules/comment-json/package.json +0 -68
  644. package/node_modules/comment-json/src/array.js +0 -288
  645. package/node_modules/comment-json/src/common.js +0 -181
  646. package/node_modules/comment-json/src/index.js +0 -13
  647. package/node_modules/comment-json/src/parse.js +0 -451
  648. package/node_modules/comment-json/src/stringify.js +0 -366
  649. package/node_modules/conventional-changelog-config-spec/CHANGELOG.md +0 -15
  650. package/node_modules/conventional-changelog-config-spec/README.md +0 -7
  651. package/node_modules/conventional-changelog-config-spec/index.js +0 -1
  652. package/node_modules/conventional-changelog-config-spec/package.json +0 -32
  653. package/node_modules/conventional-changelog-config-spec/renovate.json +0 -5
  654. package/node_modules/conventional-changelog-config-spec/tests/shared.js +0 -38
  655. package/node_modules/conventional-changelog-config-spec/tests/v1.test.js +0 -7
  656. package/node_modules/conventional-changelog-config-spec/tests/v2.test.js +0 -26
  657. package/node_modules/conventional-changelog-config-spec/versions/1.0.0/README.md +0 -143
  658. package/node_modules/conventional-changelog-config-spec/versions/1.0.0/schema.json +0 -81
  659. package/node_modules/conventional-changelog-config-spec/versions/2.0.0/README.md +0 -155
  660. package/node_modules/conventional-changelog-config-spec/versions/2.0.0/schema.json +0 -89
  661. package/node_modules/conventional-changelog-config-spec/versions/2.1.0/README.md +0 -166
  662. package/node_modules/conventional-changelog-config-spec/versions/2.1.0/schema.json +0 -97
  663. package/node_modules/core-util-is/LICENSE +0 -19
  664. package/node_modules/core-util-is/README.md +0 -3
  665. package/node_modules/core-util-is/lib/util.js +0 -107
  666. package/node_modules/core-util-is/package.json +0 -38
  667. package/node_modules/emoji-regex/LICENSE-MIT.txt +0 -20
  668. package/node_modules/emoji-regex/README.md +0 -73
  669. package/node_modules/emoji-regex/es2015/index.js +0 -6
  670. package/node_modules/emoji-regex/es2015/text.js +0 -6
  671. package/node_modules/emoji-regex/index.d.ts +0 -23
  672. package/node_modules/emoji-regex/index.js +0 -6
  673. package/node_modules/emoji-regex/package.json +0 -50
  674. package/node_modules/emoji-regex/text.js +0 -6
  675. package/node_modules/end-of-stream/LICENSE +0 -21
  676. package/node_modules/end-of-stream/README.md +0 -54
  677. package/node_modules/end-of-stream/index.js +0 -96
  678. package/node_modules/end-of-stream/package.json +0 -37
  679. package/node_modules/escalade/dist/index.js +0 -22
  680. package/node_modules/escalade/dist/index.mjs +0 -22
  681. package/node_modules/escalade/index.d.mts +0 -11
  682. package/node_modules/escalade/index.d.ts +0 -15
  683. package/node_modules/escalade/license +0 -9
  684. package/node_modules/escalade/package.json +0 -74
  685. package/node_modules/escalade/readme.md +0 -211
  686. package/node_modules/escalade/sync/index.d.mts +0 -9
  687. package/node_modules/escalade/sync/index.d.ts +0 -13
  688. package/node_modules/escalade/sync/index.js +0 -18
  689. package/node_modules/escalade/sync/index.mjs +0 -18
  690. package/node_modules/esprima/LICENSE.BSD +0 -21
  691. package/node_modules/esprima/README.md +0 -46
  692. package/node_modules/esprima/bin/esparse.js +0 -139
  693. package/node_modules/esprima/bin/esvalidate.js +0 -236
  694. package/node_modules/esprima/dist/esprima.js +0 -6709
  695. package/node_modules/esprima/package.json +0 -112
  696. package/node_modules/fast-glob/LICENSE +0 -21
  697. package/node_modules/fast-glob/README.md +0 -830
  698. package/node_modules/fast-glob/node_modules/glob-parent/LICENSE +0 -15
  699. package/node_modules/fast-glob/node_modules/glob-parent/README.md +0 -137
  700. package/node_modules/fast-glob/node_modules/glob-parent/index.js +0 -42
  701. package/node_modules/fast-glob/node_modules/glob-parent/package.json +0 -48
  702. package/node_modules/fast-glob/out/index.d.ts +0 -40
  703. package/node_modules/fast-glob/out/index.js +0 -102
  704. package/node_modules/fast-glob/out/managers/tasks.d.ts +0 -22
  705. package/node_modules/fast-glob/out/managers/tasks.js +0 -110
  706. package/node_modules/fast-glob/out/providers/async.d.ts +0 -9
  707. package/node_modules/fast-glob/out/providers/async.js +0 -23
  708. package/node_modules/fast-glob/out/providers/filters/deep.d.ts +0 -16
  709. package/node_modules/fast-glob/out/providers/filters/deep.js +0 -62
  710. package/node_modules/fast-glob/out/providers/filters/entry.d.ts +0 -17
  711. package/node_modules/fast-glob/out/providers/filters/entry.js +0 -85
  712. package/node_modules/fast-glob/out/providers/filters/error.d.ts +0 -8
  713. package/node_modules/fast-glob/out/providers/filters/error.js +0 -15
  714. package/node_modules/fast-glob/out/providers/matchers/matcher.d.ts +0 -33
  715. package/node_modules/fast-glob/out/providers/matchers/matcher.js +0 -45
  716. package/node_modules/fast-glob/out/providers/matchers/partial.d.ts +0 -4
  717. package/node_modules/fast-glob/out/providers/matchers/partial.js +0 -38
  718. package/node_modules/fast-glob/out/providers/provider.d.ts +0 -19
  719. package/node_modules/fast-glob/out/providers/provider.js +0 -48
  720. package/node_modules/fast-glob/out/providers/stream.d.ts +0 -11
  721. package/node_modules/fast-glob/out/providers/stream.js +0 -31
  722. package/node_modules/fast-glob/out/providers/sync.d.ts +0 -9
  723. package/node_modules/fast-glob/out/providers/sync.js +0 -23
  724. package/node_modules/fast-glob/out/providers/transformers/entry.d.ts +0 -8
  725. package/node_modules/fast-glob/out/providers/transformers/entry.js +0 -26
  726. package/node_modules/fast-glob/out/readers/async.d.ts +0 -10
  727. package/node_modules/fast-glob/out/readers/async.js +0 -35
  728. package/node_modules/fast-glob/out/readers/reader.d.ts +0 -15
  729. package/node_modules/fast-glob/out/readers/reader.js +0 -33
  730. package/node_modules/fast-glob/out/readers/stream.d.ts +0 -14
  731. package/node_modules/fast-glob/out/readers/stream.js +0 -55
  732. package/node_modules/fast-glob/out/readers/sync.d.ts +0 -12
  733. package/node_modules/fast-glob/out/readers/sync.js +0 -43
  734. package/node_modules/fast-glob/out/settings.d.ts +0 -164
  735. package/node_modules/fast-glob/out/settings.js +0 -59
  736. package/node_modules/fast-glob/out/types/index.d.ts +0 -31
  737. package/node_modules/fast-glob/out/types/index.js +0 -2
  738. package/node_modules/fast-glob/out/utils/array.d.ts +0 -2
  739. package/node_modules/fast-glob/out/utils/array.js +0 -22
  740. package/node_modules/fast-glob/out/utils/errno.d.ts +0 -2
  741. package/node_modules/fast-glob/out/utils/errno.js +0 -7
  742. package/node_modules/fast-glob/out/utils/fs.d.ts +0 -4
  743. package/node_modules/fast-glob/out/utils/fs.js +0 -19
  744. package/node_modules/fast-glob/out/utils/index.d.ts +0 -8
  745. package/node_modules/fast-glob/out/utils/index.js +0 -17
  746. package/node_modules/fast-glob/out/utils/path.d.ts +0 -13
  747. package/node_modules/fast-glob/out/utils/path.js +0 -68
  748. package/node_modules/fast-glob/out/utils/pattern.d.ts +0 -49
  749. package/node_modules/fast-glob/out/utils/pattern.js +0 -206
  750. package/node_modules/fast-glob/out/utils/stream.d.ts +0 -4
  751. package/node_modules/fast-glob/out/utils/stream.js +0 -17
  752. package/node_modules/fast-glob/out/utils/string.d.ts +0 -2
  753. package/node_modules/fast-glob/out/utils/string.js +0 -11
  754. package/node_modules/fast-glob/package.json +0 -81
  755. package/node_modules/fast-json-patch/LICENSE.txt +0 -22
  756. package/node_modules/fast-json-patch/README.md +0 -428
  757. package/node_modules/fast-json-patch/commonjs/core.d.ts +0 -111
  758. package/node_modules/fast-json-patch/commonjs/core.js +0 -441
  759. package/node_modules/fast-json-patch/commonjs/duplex.d.ts +0 -23
  760. package/node_modules/fast-json-patch/commonjs/duplex.js +0 -181
  761. package/node_modules/fast-json-patch/commonjs/helpers.d.ts +0 -41
  762. package/node_modules/fast-json-patch/commonjs/helpers.js +0 -181
  763. package/node_modules/fast-json-patch/dist/fast-json-patch.js +0 -928
  764. package/node_modules/fast-json-patch/dist/fast-json-patch.min.js +0 -14
  765. package/node_modules/fast-json-patch/index.d.ts +0 -34
  766. package/node_modules/fast-json-patch/index.js +0 -11
  767. package/node_modules/fast-json-patch/index.mjs +0 -29
  768. package/node_modules/fast-json-patch/index.ts +0 -31
  769. package/node_modules/fast-json-patch/jasmine-run.mjs +0 -23
  770. package/node_modules/fast-json-patch/module/core.d.ts +0 -111
  771. package/node_modules/fast-json-patch/module/core.mjs +0 -433
  772. package/node_modules/fast-json-patch/module/duplex.d.ts +0 -23
  773. package/node_modules/fast-json-patch/module/duplex.mjs +0 -176
  774. package/node_modules/fast-json-patch/module/helpers.d.ts +0 -41
  775. package/node_modules/fast-json-patch/module/helpers.mjs +0 -171
  776. package/node_modules/fast-json-patch/package.json +0 -65
  777. package/node_modules/fast-json-patch/tsc-to-mjs.sh +0 -10
  778. package/node_modules/fast-json-patch/webpack.config.js +0 -63
  779. package/node_modules/fastq/.github/dependabot.yml +0 -11
  780. package/node_modules/fastq/.github/workflows/ci.yml +0 -75
  781. package/node_modules/fastq/LICENSE +0 -13
  782. package/node_modules/fastq/README.md +0 -312
  783. package/node_modules/fastq/SECURITY.md +0 -15
  784. package/node_modules/fastq/bench.js +0 -66
  785. package/node_modules/fastq/example.js +0 -14
  786. package/node_modules/fastq/example.mjs +0 -11
  787. package/node_modules/fastq/index.d.ts +0 -57
  788. package/node_modules/fastq/package.json +0 -53
  789. package/node_modules/fastq/queue.js +0 -311
  790. package/node_modules/fastq/test/example.ts +0 -83
  791. package/node_modules/fastq/test/promise.js +0 -291
  792. package/node_modules/fastq/test/test.js +0 -653
  793. package/node_modules/fastq/test/tsconfig.json +0 -11
  794. package/node_modules/fill-range/LICENSE +0 -21
  795. package/node_modules/fill-range/README.md +0 -237
  796. package/node_modules/fill-range/index.js +0 -248
  797. package/node_modules/fill-range/package.json +0 -74
  798. package/node_modules/function-bind/.eslintrc +0 -21
  799. package/node_modules/function-bind/.github/FUNDING.yml +0 -12
  800. package/node_modules/function-bind/.github/SECURITY.md +0 -3
  801. package/node_modules/function-bind/.nycrc +0 -13
  802. package/node_modules/function-bind/CHANGELOG.md +0 -136
  803. package/node_modules/function-bind/LICENSE +0 -20
  804. package/node_modules/function-bind/README.md +0 -46
  805. package/node_modules/function-bind/implementation.js +0 -84
  806. package/node_modules/function-bind/index.js +0 -5
  807. package/node_modules/function-bind/package.json +0 -87
  808. package/node_modules/function-bind/test/.eslintrc +0 -9
  809. package/node_modules/function-bind/test/index.js +0 -252
  810. package/node_modules/get-caller-file/LICENSE.md +0 -6
  811. package/node_modules/get-caller-file/README.md +0 -41
  812. package/node_modules/get-caller-file/index.d.ts +0 -2
  813. package/node_modules/get-caller-file/index.js +0 -22
  814. package/node_modules/get-caller-file/index.js.map +0 -1
  815. package/node_modules/get-caller-file/package.json +0 -42
  816. package/node_modules/has-flag/index.d.ts +0 -39
  817. package/node_modules/has-flag/index.js +0 -8
  818. package/node_modules/has-flag/license +0 -9
  819. package/node_modules/has-flag/package.json +0 -46
  820. package/node_modules/has-flag/readme.md +0 -89
  821. package/node_modules/has-own-prop/index.d.ts +0 -17
  822. package/node_modules/has-own-prop/index.js +0 -4
  823. package/node_modules/has-own-prop/license +0 -9
  824. package/node_modules/has-own-prop/package.json +0 -33
  825. package/node_modules/has-own-prop/readme.md +0 -30
  826. package/node_modules/hasown/.eslintrc +0 -5
  827. package/node_modules/hasown/.github/FUNDING.yml +0 -12
  828. package/node_modules/hasown/.nycrc +0 -13
  829. package/node_modules/hasown/CHANGELOG.md +0 -40
  830. package/node_modules/hasown/LICENSE +0 -21
  831. package/node_modules/hasown/README.md +0 -40
  832. package/node_modules/hasown/index.d.ts +0 -3
  833. package/node_modules/hasown/index.js +0 -8
  834. package/node_modules/hasown/package.json +0 -92
  835. package/node_modules/hasown/tsconfig.json +0 -6
  836. package/node_modules/ini/LICENSE +0 -15
  837. package/node_modules/ini/README.md +0 -102
  838. package/node_modules/ini/ini.js +0 -206
  839. package/node_modules/ini/package.json +0 -36
  840. package/node_modules/interpret/LICENSE +0 -22
  841. package/node_modules/interpret/README.md +0 -187
  842. package/node_modules/interpret/index.js +0 -168
  843. package/node_modules/interpret/mjs-stub.js +0 -1
  844. package/node_modules/interpret/package.json +0 -75
  845. package/node_modules/is-core-module/.eslintrc +0 -18
  846. package/node_modules/is-core-module/.nycrc +0 -9
  847. package/node_modules/is-core-module/CHANGELOG.md +0 -218
  848. package/node_modules/is-core-module/LICENSE +0 -20
  849. package/node_modules/is-core-module/README.md +0 -40
  850. package/node_modules/is-core-module/core.json +0 -162
  851. package/node_modules/is-core-module/index.js +0 -69
  852. package/node_modules/is-core-module/package.json +0 -76
  853. package/node_modules/is-core-module/test/index.js +0 -157
  854. package/node_modules/is-extglob/LICENSE +0 -21
  855. package/node_modules/is-extglob/README.md +0 -107
  856. package/node_modules/is-extglob/index.js +0 -20
  857. package/node_modules/is-extglob/package.json +0 -69
  858. package/node_modules/is-fullwidth-code-point/index.d.ts +0 -17
  859. package/node_modules/is-fullwidth-code-point/index.js +0 -50
  860. package/node_modules/is-fullwidth-code-point/license +0 -9
  861. package/node_modules/is-fullwidth-code-point/package.json +0 -42
  862. package/node_modules/is-fullwidth-code-point/readme.md +0 -39
  863. package/node_modules/is-glob/LICENSE +0 -21
  864. package/node_modules/is-glob/README.md +0 -206
  865. package/node_modules/is-glob/index.js +0 -150
  866. package/node_modules/is-glob/package.json +0 -81
  867. package/node_modules/is-number/LICENSE +0 -21
  868. package/node_modules/is-number/README.md +0 -187
  869. package/node_modules/is-number/index.js +0 -18
  870. package/node_modules/is-number/package.json +0 -82
  871. package/node_modules/isexe/.npmignore +0 -2
  872. package/node_modules/isexe/LICENSE +0 -15
  873. package/node_modules/isexe/README.md +0 -51
  874. package/node_modules/isexe/index.js +0 -57
  875. package/node_modules/isexe/mode.js +0 -41
  876. package/node_modules/isexe/package.json +0 -31
  877. package/node_modules/isexe/test/basic.js +0 -221
  878. package/node_modules/isexe/windows.js +0 -42
  879. package/node_modules/js-yaml/LICENSE +0 -21
  880. package/node_modules/js-yaml/README.md +0 -247
  881. package/node_modules/js-yaml/bin/js-yaml.js +0 -126
  882. package/node_modules/js-yaml/dist/js-yaml.js +0 -3880
  883. package/node_modules/js-yaml/dist/js-yaml.min.js +0 -2
  884. package/node_modules/js-yaml/dist/js-yaml.mjs +0 -3856
  885. package/node_modules/js-yaml/index.js +0 -47
  886. package/node_modules/js-yaml/lib/common.js +0 -59
  887. package/node_modules/js-yaml/lib/dumper.js +0 -965
  888. package/node_modules/js-yaml/lib/exception.js +0 -55
  889. package/node_modules/js-yaml/lib/loader.js +0 -1733
  890. package/node_modules/js-yaml/lib/schema/core.js +0 -11
  891. package/node_modules/js-yaml/lib/schema/default.js +0 -22
  892. package/node_modules/js-yaml/lib/schema/failsafe.js +0 -17
  893. package/node_modules/js-yaml/lib/schema/json.js +0 -19
  894. package/node_modules/js-yaml/lib/schema.js +0 -121
  895. package/node_modules/js-yaml/lib/snippet.js +0 -101
  896. package/node_modules/js-yaml/lib/type/binary.js +0 -125
  897. package/node_modules/js-yaml/lib/type/bool.js +0 -35
  898. package/node_modules/js-yaml/lib/type/float.js +0 -97
  899. package/node_modules/js-yaml/lib/type/int.js +0 -156
  900. package/node_modules/js-yaml/lib/type/map.js +0 -8
  901. package/node_modules/js-yaml/lib/type/merge.js +0 -12
  902. package/node_modules/js-yaml/lib/type/null.js +0 -35
  903. package/node_modules/js-yaml/lib/type/omap.js +0 -44
  904. package/node_modules/js-yaml/lib/type/pairs.js +0 -53
  905. package/node_modules/js-yaml/lib/type/seq.js +0 -8
  906. package/node_modules/js-yaml/lib/type/set.js +0 -29
  907. package/node_modules/js-yaml/lib/type/str.js +0 -8
  908. package/node_modules/js-yaml/lib/type/timestamp.js +0 -88
  909. package/node_modules/js-yaml/lib/type.js +0 -66
  910. package/node_modules/js-yaml/package.json +0 -66
  911. package/node_modules/json-parse-even-better-errors/LICENSE.md +0 -25
  912. package/node_modules/json-parse-even-better-errors/README.md +0 -96
  913. package/node_modules/json-parse-even-better-errors/lib/index.js +0 -137
  914. package/node_modules/json-parse-even-better-errors/package.json +0 -50
  915. package/node_modules/just-diff/CHANGELOG.md +0 -49
  916. package/node_modules/just-diff/LICENSE +0 -21
  917. package/node_modules/just-diff/README.md +0 -86
  918. package/node_modules/just-diff/index.cjs +0 -230
  919. package/node_modules/just-diff/index.d.ts +0 -20
  920. package/node_modules/just-diff/index.mjs +0 -227
  921. package/node_modules/just-diff/index.tests.ts +0 -65
  922. package/node_modules/just-diff/package.json +0 -33
  923. package/node_modules/just-diff/rollup.config.js +0 -3
  924. package/node_modules/just-diff-apply/CHANGELOG.md +0 -43
  925. package/node_modules/just-diff-apply/LICENSE +0 -21
  926. package/node_modules/just-diff-apply/README.md +0 -69
  927. package/node_modules/just-diff-apply/index.cjs +0 -161
  928. package/node_modules/just-diff-apply/index.d.ts +0 -17
  929. package/node_modules/just-diff-apply/index.mjs +0 -158
  930. package/node_modules/just-diff-apply/index.tests.ts +0 -108
  931. package/node_modules/just-diff-apply/package.json +0 -34
  932. package/node_modules/just-diff-apply/rollup.config.js +0 -3
  933. package/node_modules/merge2/LICENSE +0 -21
  934. package/node_modules/merge2/README.md +0 -144
  935. package/node_modules/merge2/index.js +0 -144
  936. package/node_modules/merge2/package.json +0 -43
  937. package/node_modules/micromatch/LICENSE +0 -21
  938. package/node_modules/micromatch/README.md +0 -1024
  939. package/node_modules/micromatch/index.js +0 -474
  940. package/node_modules/micromatch/package.json +0 -119
  941. package/node_modules/minimist/.eslintrc +0 -29
  942. package/node_modules/minimist/.github/FUNDING.yml +0 -12
  943. package/node_modules/minimist/.nycrc +0 -14
  944. package/node_modules/minimist/CHANGELOG.md +0 -298
  945. package/node_modules/minimist/LICENSE +0 -18
  946. package/node_modules/minimist/README.md +0 -121
  947. package/node_modules/minimist/example/parse.js +0 -4
  948. package/node_modules/minimist/index.js +0 -263
  949. package/node_modules/minimist/package.json +0 -75
  950. package/node_modules/minimist/test/all_bool.js +0 -34
  951. package/node_modules/minimist/test/bool.js +0 -177
  952. package/node_modules/minimist/test/dash.js +0 -43
  953. package/node_modules/minimist/test/default_bool.js +0 -37
  954. package/node_modules/minimist/test/dotted.js +0 -24
  955. package/node_modules/minimist/test/kv_short.js +0 -32
  956. package/node_modules/minimist/test/long.js +0 -33
  957. package/node_modules/minimist/test/num.js +0 -38
  958. package/node_modules/minimist/test/parse.js +0 -209
  959. package/node_modules/minimist/test/parse_modified.js +0 -11
  960. package/node_modules/minimist/test/proto.js +0 -64
  961. package/node_modules/minimist/test/short.js +0 -69
  962. package/node_modules/minimist/test/stop_early.js +0 -17
  963. package/node_modules/minimist/test/unknown.js +0 -104
  964. package/node_modules/minimist/test/whitespace.js +0 -10
  965. package/node_modules/nice-try/LICENSE +0 -21
  966. package/node_modules/nice-try/README.md +0 -32
  967. package/node_modules/nice-try/package.json +0 -33
  968. package/node_modules/nice-try/src/index.js +0 -12
  969. package/node_modules/once/LICENSE +0 -15
  970. package/node_modules/once/README.md +0 -79
  971. package/node_modules/once/once.js +0 -42
  972. package/node_modules/once/package.json +0 -33
  973. package/node_modules/p-finally/index.js +0 -15
  974. package/node_modules/p-finally/license +0 -21
  975. package/node_modules/p-finally/package.json +0 -42
  976. package/node_modules/p-finally/readme.md +0 -47
  977. package/node_modules/parse-conflict-json/LICENSE.md +0 -20
  978. package/node_modules/parse-conflict-json/README.md +0 -42
  979. package/node_modules/parse-conflict-json/lib/index.js +0 -104
  980. package/node_modules/parse-conflict-json/package.json +0 -51
  981. package/node_modules/path-parse/LICENSE +0 -21
  982. package/node_modules/path-parse/README.md +0 -42
  983. package/node_modules/path-parse/index.js +0 -75
  984. package/node_modules/path-parse/package.json +0 -33
  985. package/node_modules/picomatch/LICENSE +0 -21
  986. package/node_modules/picomatch/README.md +0 -708
  987. package/node_modules/picomatch/index.js +0 -3
  988. package/node_modules/picomatch/lib/constants.js +0 -179
  989. package/node_modules/picomatch/lib/parse.js +0 -1091
  990. package/node_modules/picomatch/lib/picomatch.js +0 -342
  991. package/node_modules/picomatch/lib/scan.js +0 -391
  992. package/node_modules/picomatch/lib/utils.js +0 -64
  993. package/node_modules/picomatch/package.json +0 -81
  994. package/node_modules/pump/.github/FUNDING.yml +0 -2
  995. package/node_modules/pump/.travis.yml +0 -5
  996. package/node_modules/pump/LICENSE +0 -21
  997. package/node_modules/pump/README.md +0 -74
  998. package/node_modules/pump/SECURITY.md +0 -5
  999. package/node_modules/pump/index.js +0 -86
  1000. package/node_modules/pump/package.json +0 -24
  1001. package/node_modules/pump/test-browser.js +0 -66
  1002. package/node_modules/pump/test-node.js +0 -53
  1003. package/node_modules/queue-microtask/LICENSE +0 -20
  1004. package/node_modules/queue-microtask/README.md +0 -90
  1005. package/node_modules/queue-microtask/index.d.ts +0 -2
  1006. package/node_modules/queue-microtask/index.js +0 -9
  1007. package/node_modules/queue-microtask/package.json +0 -55
  1008. package/node_modules/rechoir/.npmignore +0 -1
  1009. package/node_modules/rechoir/.travis.yml +0 -24
  1010. package/node_modules/rechoir/CHANGELOG +0 -38
  1011. package/node_modules/rechoir/LICENSE +0 -22
  1012. package/node_modules/rechoir/README.md +0 -42
  1013. package/node_modules/rechoir/index.js +0 -59
  1014. package/node_modules/rechoir/lib/extension.js +0 -11
  1015. package/node_modules/rechoir/lib/normalize.js +0 -15
  1016. package/node_modules/rechoir/lib/register.js +0 -15
  1017. package/node_modules/rechoir/package.json +0 -88
  1018. package/node_modules/repeat-string/LICENSE +0 -21
  1019. package/node_modules/repeat-string/README.md +0 -136
  1020. package/node_modules/repeat-string/index.js +0 -70
  1021. package/node_modules/repeat-string/package.json +0 -77
  1022. package/node_modules/require-directory/.jshintrc +0 -67
  1023. package/node_modules/require-directory/.npmignore +0 -1
  1024. package/node_modules/require-directory/.travis.yml +0 -3
  1025. package/node_modules/require-directory/LICENSE +0 -22
  1026. package/node_modules/require-directory/README.markdown +0 -184
  1027. package/node_modules/require-directory/index.js +0 -86
  1028. package/node_modules/require-directory/package.json +0 -40
  1029. package/node_modules/resolve/.editorconfig +0 -37
  1030. package/node_modules/resolve/.eslintrc +0 -65
  1031. package/node_modules/resolve/.github/FUNDING.yml +0 -12
  1032. package/node_modules/resolve/.github/INCIDENT_RESPONSE_PROCESS.md +0 -119
  1033. package/node_modules/resolve/.github/THREAT_MODEL.md +0 -74
  1034. package/node_modules/resolve/LICENSE +0 -21
  1035. package/node_modules/resolve/SECURITY.md +0 -11
  1036. package/node_modules/resolve/async.js +0 -3
  1037. package/node_modules/resolve/bin/resolve +0 -50
  1038. package/node_modules/resolve/example/async.js +0 -5
  1039. package/node_modules/resolve/example/sync.js +0 -3
  1040. package/node_modules/resolve/index.js +0 -6
  1041. package/node_modules/resolve/lib/async.js +0 -333
  1042. package/node_modules/resolve/lib/caller.js +0 -8
  1043. package/node_modules/resolve/lib/core.js +0 -12
  1044. package/node_modules/resolve/lib/core.json +0 -162
  1045. package/node_modules/resolve/lib/homedir.js +0 -24
  1046. package/node_modules/resolve/lib/is-core.js +0 -5
  1047. package/node_modules/resolve/lib/node-modules-paths.js +0 -45
  1048. package/node_modules/resolve/lib/normalize-options.js +0 -10
  1049. package/node_modules/resolve/lib/sync.js +0 -212
  1050. package/node_modules/resolve/package.json +0 -75
  1051. package/node_modules/resolve/readme.markdown +0 -301
  1052. package/node_modules/resolve/sync.js +0 -3
  1053. package/node_modules/resolve/test/core.js +0 -88
  1054. package/node_modules/resolve/test/dotdot/abc/index.js +0 -2
  1055. package/node_modules/resolve/test/dotdot/index.js +0 -1
  1056. package/node_modules/resolve/test/dotdot.js +0 -29
  1057. package/node_modules/resolve/test/faulty_basedir.js +0 -29
  1058. package/node_modules/resolve/test/filter.js +0 -34
  1059. package/node_modules/resolve/test/filter_sync.js +0 -33
  1060. package/node_modules/resolve/test/home_paths.js +0 -127
  1061. package/node_modules/resolve/test/home_paths_sync.js +0 -114
  1062. package/node_modules/resolve/test/mock.js +0 -315
  1063. package/node_modules/resolve/test/mock_sync.js +0 -214
  1064. package/node_modules/resolve/test/module_dir/xmodules/aaa/index.js +0 -1
  1065. package/node_modules/resolve/test/module_dir/ymodules/aaa/index.js +0 -1
  1066. package/node_modules/resolve/test/module_dir/zmodules/bbb/main.js +0 -1
  1067. package/node_modules/resolve/test/module_dir/zmodules/bbb/package.json +0 -3
  1068. package/node_modules/resolve/test/module_dir.js +0 -56
  1069. package/node_modules/resolve/test/node-modules-paths.js +0 -143
  1070. package/node_modules/resolve/test/node_path/x/aaa/index.js +0 -1
  1071. package/node_modules/resolve/test/node_path/x/ccc/index.js +0 -1
  1072. package/node_modules/resolve/test/node_path/y/bbb/index.js +0 -1
  1073. package/node_modules/resolve/test/node_path/y/ccc/index.js +0 -1
  1074. package/node_modules/resolve/test/node_path.js +0 -70
  1075. package/node_modules/resolve/test/nonstring.js +0 -9
  1076. package/node_modules/resolve/test/pathfilter/deep_ref/main.js +0 -0
  1077. package/node_modules/resolve/test/pathfilter.js +0 -75
  1078. package/node_modules/resolve/test/precedence/aaa/index.js +0 -1
  1079. package/node_modules/resolve/test/precedence/aaa/main.js +0 -1
  1080. package/node_modules/resolve/test/precedence/aaa.js +0 -1
  1081. package/node_modules/resolve/test/precedence/bbb/main.js +0 -1
  1082. package/node_modules/resolve/test/precedence/bbb.js +0 -1
  1083. package/node_modules/resolve/test/precedence.js +0 -23
  1084. package/node_modules/resolve/test/resolver/baz/doom.js +0 -0
  1085. package/node_modules/resolve/test/resolver/baz/package.json +0 -4
  1086. package/node_modules/resolve/test/resolver/baz/quux.js +0 -1
  1087. package/node_modules/resolve/test/resolver/browser_field/a.js +0 -0
  1088. package/node_modules/resolve/test/resolver/browser_field/b.js +0 -0
  1089. package/node_modules/resolve/test/resolver/browser_field/package.json +0 -5
  1090. package/node_modules/resolve/test/resolver/cup.coffee +0 -1
  1091. package/node_modules/resolve/test/resolver/dot_main/index.js +0 -1
  1092. package/node_modules/resolve/test/resolver/dot_main/package.json +0 -3
  1093. package/node_modules/resolve/test/resolver/dot_slash_main/index.js +0 -1
  1094. package/node_modules/resolve/test/resolver/dot_slash_main/package.json +0 -3
  1095. package/node_modules/resolve/test/resolver/false_main/index.js +0 -0
  1096. package/node_modules/resolve/test/resolver/false_main/package.json +0 -4
  1097. package/node_modules/resolve/test/resolver/foo.js +0 -1
  1098. package/node_modules/resolve/test/resolver/incorrect_main/index.js +0 -2
  1099. package/node_modules/resolve/test/resolver/incorrect_main/package.json +0 -3
  1100. package/node_modules/resolve/test/resolver/invalid_main/package.json +0 -7
  1101. package/node_modules/resolve/test/resolver/mug.coffee +0 -0
  1102. package/node_modules/resolve/test/resolver/mug.js +0 -0
  1103. package/node_modules/resolve/test/resolver/multirepo/lerna.json +0 -6
  1104. package/node_modules/resolve/test/resolver/multirepo/package.json +0 -20
  1105. package/node_modules/resolve/test/resolver/multirepo/packages/package-a/index.js +0 -35
  1106. package/node_modules/resolve/test/resolver/multirepo/packages/package-a/package.json +0 -14
  1107. package/node_modules/resolve/test/resolver/multirepo/packages/package-b/index.js +0 -0
  1108. package/node_modules/resolve/test/resolver/multirepo/packages/package-b/package.json +0 -14
  1109. package/node_modules/resolve/test/resolver/nested_symlinks/mylib/async.js +0 -26
  1110. package/node_modules/resolve/test/resolver/nested_symlinks/mylib/package.json +0 -15
  1111. package/node_modules/resolve/test/resolver/nested_symlinks/mylib/sync.js +0 -12
  1112. package/node_modules/resolve/test/resolver/other_path/lib/other-lib.js +0 -0
  1113. package/node_modules/resolve/test/resolver/other_path/root.js +0 -0
  1114. package/node_modules/resolve/test/resolver/quux/foo/index.js +0 -1
  1115. package/node_modules/resolve/test/resolver/same_names/foo/index.js +0 -1
  1116. package/node_modules/resolve/test/resolver/same_names/foo.js +0 -1
  1117. package/node_modules/resolve/test/resolver/symlinked/_/node_modules/foo.js +0 -0
  1118. package/node_modules/resolve/test/resolver/symlinked/_/symlink_target/.gitkeep +0 -0
  1119. package/node_modules/resolve/test/resolver/symlinked/package/bar.js +0 -1
  1120. package/node_modules/resolve/test/resolver/symlinked/package/package.json +0 -3
  1121. package/node_modules/resolve/test/resolver/without_basedir/main.js +0 -5
  1122. package/node_modules/resolve/test/resolver.js +0 -597
  1123. package/node_modules/resolve/test/resolver_sync.js +0 -730
  1124. package/node_modules/resolve/test/shadowed_core/node_modules/util/index.js +0 -0
  1125. package/node_modules/resolve/test/shadowed_core.js +0 -54
  1126. package/node_modules/resolve/test/subdirs.js +0 -13
  1127. package/node_modules/resolve/test/symlinks.js +0 -176
  1128. package/node_modules/reusify/.github/dependabot.yml +0 -7
  1129. package/node_modules/reusify/.github/workflows/ci.yml +0 -96
  1130. package/node_modules/reusify/LICENSE +0 -22
  1131. package/node_modules/reusify/README.md +0 -139
  1132. package/node_modules/reusify/SECURITY.md +0 -15
  1133. package/node_modules/reusify/benchmarks/createNoCodeFunction.js +0 -30
  1134. package/node_modules/reusify/benchmarks/fib.js +0 -13
  1135. package/node_modules/reusify/benchmarks/reuseNoCodeFunction.js +0 -38
  1136. package/node_modules/reusify/eslint.config.js +0 -14
  1137. package/node_modules/reusify/package.json +0 -50
  1138. package/node_modules/reusify/reusify.d.ts +0 -14
  1139. package/node_modules/reusify/reusify.js +0 -33
  1140. package/node_modules/reusify/test.js +0 -66
  1141. package/node_modules/reusify/tsconfig.json +0 -11
  1142. package/node_modules/run-parallel/LICENSE +0 -20
  1143. package/node_modules/run-parallel/README.md +0 -85
  1144. package/node_modules/run-parallel/index.js +0 -51
  1145. package/node_modules/run-parallel/package.json +0 -58
  1146. package/node_modules/semver/LICENSE +0 -15
  1147. package/node_modules/semver/README.md +0 -664
  1148. package/node_modules/semver/bin/semver.js +0 -191
  1149. package/node_modules/semver/classes/comparator.js +0 -143
  1150. package/node_modules/semver/classes/index.js +0 -7
  1151. package/node_modules/semver/classes/range.js +0 -557
  1152. package/node_modules/semver/classes/semver.js +0 -333
  1153. package/node_modules/semver/functions/clean.js +0 -8
  1154. package/node_modules/semver/functions/cmp.js +0 -54
  1155. package/node_modules/semver/functions/coerce.js +0 -62
  1156. package/node_modules/semver/functions/compare-build.js +0 -9
  1157. package/node_modules/semver/functions/compare-loose.js +0 -5
  1158. package/node_modules/semver/functions/compare.js +0 -7
  1159. package/node_modules/semver/functions/diff.js +0 -60
  1160. package/node_modules/semver/functions/eq.js +0 -5
  1161. package/node_modules/semver/functions/gt.js +0 -5
  1162. package/node_modules/semver/functions/gte.js +0 -5
  1163. package/node_modules/semver/functions/inc.js +0 -21
  1164. package/node_modules/semver/functions/lt.js +0 -5
  1165. package/node_modules/semver/functions/lte.js +0 -5
  1166. package/node_modules/semver/functions/major.js +0 -5
  1167. package/node_modules/semver/functions/minor.js +0 -5
  1168. package/node_modules/semver/functions/neq.js +0 -5
  1169. package/node_modules/semver/functions/parse.js +0 -18
  1170. package/node_modules/semver/functions/patch.js +0 -5
  1171. package/node_modules/semver/functions/prerelease.js +0 -8
  1172. package/node_modules/semver/functions/rcompare.js +0 -5
  1173. package/node_modules/semver/functions/rsort.js +0 -5
  1174. package/node_modules/semver/functions/satisfies.js +0 -12
  1175. package/node_modules/semver/functions/sort.js +0 -5
  1176. package/node_modules/semver/functions/valid.js +0 -8
  1177. package/node_modules/semver/index.js +0 -91
  1178. package/node_modules/semver/internal/constants.js +0 -37
  1179. package/node_modules/semver/internal/debug.js +0 -11
  1180. package/node_modules/semver/internal/identifiers.js +0 -29
  1181. package/node_modules/semver/internal/lrucache.js +0 -42
  1182. package/node_modules/semver/internal/parse-options.js +0 -17
  1183. package/node_modules/semver/internal/re.js +0 -223
  1184. package/node_modules/semver/package.json +0 -78
  1185. package/node_modules/semver/preload.js +0 -4
  1186. package/node_modules/semver/range.bnf +0 -16
  1187. package/node_modules/semver/ranges/gtr.js +0 -6
  1188. package/node_modules/semver/ranges/intersects.js +0 -9
  1189. package/node_modules/semver/ranges/ltr.js +0 -6
  1190. package/node_modules/semver/ranges/max-satisfying.js +0 -27
  1191. package/node_modules/semver/ranges/min-satisfying.js +0 -26
  1192. package/node_modules/semver/ranges/min-version.js +0 -63
  1193. package/node_modules/semver/ranges/outside.js +0 -82
  1194. package/node_modules/semver/ranges/simplify.js +0 -49
  1195. package/node_modules/semver/ranges/subset.js +0 -249
  1196. package/node_modules/semver/ranges/to-comparators.js +0 -10
  1197. package/node_modules/semver/ranges/valid.js +0 -13
  1198. package/node_modules/shelljs/LICENSE +0 -29
  1199. package/node_modules/shelljs/README.md +0 -943
  1200. package/node_modules/shelljs/bin/shjs +0 -48
  1201. package/node_modules/shelljs/global.js +0 -12
  1202. package/node_modules/shelljs/make.js +0 -57
  1203. package/node_modules/shelljs/node_modules/cross-spawn/LICENSE +0 -21
  1204. package/node_modules/shelljs/node_modules/cross-spawn/README.md +0 -94
  1205. package/node_modules/shelljs/node_modules/cross-spawn/index.js +0 -39
  1206. package/node_modules/shelljs/node_modules/cross-spawn/lib/enoent.js +0 -59
  1207. package/node_modules/shelljs/node_modules/cross-spawn/lib/parse.js +0 -125
  1208. package/node_modules/shelljs/node_modules/cross-spawn/lib/util/escape.js +0 -47
  1209. package/node_modules/shelljs/node_modules/cross-spawn/lib/util/readShebang.js +0 -32
  1210. package/node_modules/shelljs/node_modules/cross-spawn/lib/util/resolveCommand.js +0 -51
  1211. package/node_modules/shelljs/node_modules/cross-spawn/package.json +0 -75
  1212. package/node_modules/shelljs/node_modules/execa/index.js +0 -361
  1213. package/node_modules/shelljs/node_modules/execa/lib/errname.js +0 -39
  1214. package/node_modules/shelljs/node_modules/execa/lib/stdio.js +0 -41
  1215. package/node_modules/shelljs/node_modules/execa/license +0 -9
  1216. package/node_modules/shelljs/node_modules/execa/package.json +0 -69
  1217. package/node_modules/shelljs/node_modules/execa/readme.md +0 -327
  1218. package/node_modules/shelljs/node_modules/get-stream/buffer-stream.js +0 -51
  1219. package/node_modules/shelljs/node_modules/get-stream/index.js +0 -50
  1220. package/node_modules/shelljs/node_modules/get-stream/license +0 -9
  1221. package/node_modules/shelljs/node_modules/get-stream/package.json +0 -46
  1222. package/node_modules/shelljs/node_modules/get-stream/readme.md +0 -123
  1223. package/node_modules/shelljs/node_modules/is-stream/index.js +0 -21
  1224. package/node_modules/shelljs/node_modules/is-stream/license +0 -21
  1225. package/node_modules/shelljs/node_modules/is-stream/package.json +0 -38
  1226. package/node_modules/shelljs/node_modules/is-stream/readme.md +0 -42
  1227. package/node_modules/shelljs/node_modules/npm-run-path/index.js +0 -39
  1228. package/node_modules/shelljs/node_modules/npm-run-path/license +0 -21
  1229. package/node_modules/shelljs/node_modules/npm-run-path/package.json +0 -45
  1230. package/node_modules/shelljs/node_modules/npm-run-path/readme.md +0 -81
  1231. package/node_modules/shelljs/node_modules/path-key/index.js +0 -13
  1232. package/node_modules/shelljs/node_modules/path-key/license +0 -21
  1233. package/node_modules/shelljs/node_modules/path-key/package.json +0 -39
  1234. package/node_modules/shelljs/node_modules/path-key/readme.md +0 -51
  1235. package/node_modules/shelljs/node_modules/semver/LICENSE +0 -15
  1236. package/node_modules/shelljs/node_modules/semver/README.md +0 -412
  1237. package/node_modules/shelljs/node_modules/semver/bin/semver +0 -160
  1238. package/node_modules/shelljs/node_modules/semver/package.json +0 -38
  1239. package/node_modules/shelljs/node_modules/semver/range.bnf +0 -16
  1240. package/node_modules/shelljs/node_modules/semver/semver.js +0 -1525
  1241. package/node_modules/shelljs/node_modules/shebang-command/index.js +0 -19
  1242. package/node_modules/shelljs/node_modules/shebang-command/license +0 -21
  1243. package/node_modules/shelljs/node_modules/shebang-command/package.json +0 -39
  1244. package/node_modules/shelljs/node_modules/shebang-command/readme.md +0 -39
  1245. package/node_modules/shelljs/node_modules/shebang-regex/index.js +0 -2
  1246. package/node_modules/shelljs/node_modules/shebang-regex/license +0 -21
  1247. package/node_modules/shelljs/node_modules/shebang-regex/package.json +0 -32
  1248. package/node_modules/shelljs/node_modules/shebang-regex/readme.md +0 -29
  1249. package/node_modules/shelljs/node_modules/which/LICENSE +0 -15
  1250. package/node_modules/shelljs/node_modules/which/README.md +0 -51
  1251. package/node_modules/shelljs/node_modules/which/bin/which +0 -52
  1252. package/node_modules/shelljs/node_modules/which/package.json +0 -30
  1253. package/node_modules/shelljs/node_modules/which/which.js +0 -135
  1254. package/node_modules/shelljs/package.json +0 -95
  1255. package/node_modules/shelljs/plugin.js +0 -16
  1256. package/node_modules/shelljs/shell.js +0 -214
  1257. package/node_modules/shelljs/src/cat.js +0 -76
  1258. package/node_modules/shelljs/src/cd.js +0 -40
  1259. package/node_modules/shelljs/src/chmod.js +0 -222
  1260. package/node_modules/shelljs/src/cmd.js +0 -122
  1261. package/node_modules/shelljs/src/common.js +0 -542
  1262. package/node_modules/shelljs/src/cp.js +0 -314
  1263. package/node_modules/shelljs/src/dirs.js +0 -210
  1264. package/node_modules/shelljs/src/echo.js +0 -62
  1265. package/node_modules/shelljs/src/error.js +0 -15
  1266. package/node_modules/shelljs/src/errorCode.js +0 -10
  1267. package/node_modules/shelljs/src/exec-child.js +0 -71
  1268. package/node_modules/shelljs/src/exec.js +0 -255
  1269. package/node_modules/shelljs/src/find.js +0 -66
  1270. package/node_modules/shelljs/src/grep.js +0 -84
  1271. package/node_modules/shelljs/src/head.js +0 -107
  1272. package/node_modules/shelljs/src/ln.js +0 -75
  1273. package/node_modules/shelljs/src/ls.js +0 -155
  1274. package/node_modules/shelljs/src/mkdir.js +0 -102
  1275. package/node_modules/shelljs/src/mv.js +0 -119
  1276. package/node_modules/shelljs/src/popd.js +0 -1
  1277. package/node_modules/shelljs/src/pushd.js +0 -1
  1278. package/node_modules/shelljs/src/pwd.js +0 -16
  1279. package/node_modules/shelljs/src/rm.js +0 -201
  1280. package/node_modules/shelljs/src/sed.js +0 -95
  1281. package/node_modules/shelljs/src/set.js +0 -55
  1282. package/node_modules/shelljs/src/sort.js +0 -98
  1283. package/node_modules/shelljs/src/tail.js +0 -90
  1284. package/node_modules/shelljs/src/tempdir.js +0 -75
  1285. package/node_modules/shelljs/src/test.js +0 -86
  1286. package/node_modules/shelljs/src/to.js +0 -38
  1287. package/node_modules/shelljs/src/toEnd.js +0 -37
  1288. package/node_modules/shelljs/src/touch.js +0 -117
  1289. package/node_modules/shelljs/src/uniq.js +0 -93
  1290. package/node_modules/shelljs/src/which.js +0 -119
  1291. package/node_modules/shx/LICENSE +0 -21
  1292. package/node_modules/shx/README.md +0 -160
  1293. package/node_modules/shx/lib/cli.js +0 -40
  1294. package/node_modules/shx/lib/config.js +0 -58
  1295. package/node_modules/shx/lib/help.js +0 -37
  1296. package/node_modules/shx/lib/plugin-true-false.js +0 -25
  1297. package/node_modules/shx/lib/printCmdRet.js +0 -17
  1298. package/node_modules/shx/lib/shx.js +0 -162
  1299. package/node_modules/shx/package.json +0 -72
  1300. package/node_modules/signal-exit/LICENSE.txt +0 -16
  1301. package/node_modules/signal-exit/README.md +0 -39
  1302. package/node_modules/signal-exit/index.js +0 -202
  1303. package/node_modules/signal-exit/package.json +0 -38
  1304. package/node_modules/signal-exit/signals.js +0 -53
  1305. package/node_modules/string-width/index.d.ts +0 -29
  1306. package/node_modules/string-width/index.js +0 -47
  1307. package/node_modules/string-width/license +0 -9
  1308. package/node_modules/string-width/package.json +0 -56
  1309. package/node_modules/string-width/readme.md +0 -50
  1310. package/node_modules/strip-ansi/index.d.ts +0 -17
  1311. package/node_modules/strip-ansi/index.js +0 -4
  1312. package/node_modules/strip-ansi/license +0 -9
  1313. package/node_modules/strip-ansi/package.json +0 -54
  1314. package/node_modules/strip-ansi/readme.md +0 -46
  1315. package/node_modules/strip-eof/index.js +0 -15
  1316. package/node_modules/strip-eof/license +0 -21
  1317. package/node_modules/strip-eof/package.json +0 -39
  1318. package/node_modules/strip-eof/readme.md +0 -28
  1319. package/node_modules/supports-color/browser.js +0 -5
  1320. package/node_modules/supports-color/index.js +0 -135
  1321. package/node_modules/supports-color/license +0 -9
  1322. package/node_modules/supports-color/package.json +0 -53
  1323. package/node_modules/supports-color/readme.md +0 -76
  1324. package/node_modules/supports-preserve-symlinks-flag/.eslintrc +0 -14
  1325. package/node_modules/supports-preserve-symlinks-flag/.github/FUNDING.yml +0 -12
  1326. package/node_modules/supports-preserve-symlinks-flag/.nycrc +0 -9
  1327. package/node_modules/supports-preserve-symlinks-flag/CHANGELOG.md +0 -22
  1328. package/node_modules/supports-preserve-symlinks-flag/LICENSE +0 -21
  1329. package/node_modules/supports-preserve-symlinks-flag/README.md +0 -42
  1330. package/node_modules/supports-preserve-symlinks-flag/browser.js +0 -3
  1331. package/node_modules/supports-preserve-symlinks-flag/index.js +0 -9
  1332. package/node_modules/supports-preserve-symlinks-flag/package.json +0 -70
  1333. package/node_modules/supports-preserve-symlinks-flag/test/index.js +0 -29
  1334. package/node_modules/to-regex-range/LICENSE +0 -21
  1335. package/node_modules/to-regex-range/README.md +0 -305
  1336. package/node_modules/to-regex-range/index.js +0 -288
  1337. package/node_modules/to-regex-range/package.json +0 -88
  1338. package/node_modules/wrap-ansi/index.js +0 -216
  1339. package/node_modules/wrap-ansi/license +0 -9
  1340. package/node_modules/wrap-ansi/package.json +0 -62
  1341. package/node_modules/wrap-ansi/readme.md +0 -91
  1342. package/node_modules/wrappy/LICENSE +0 -15
  1343. package/node_modules/wrappy/README.md +0 -36
  1344. package/node_modules/wrappy/package.json +0 -29
  1345. package/node_modules/wrappy/wrappy.js +0 -33
  1346. package/node_modules/xmlbuilder2/LICENSE.txt +0 -21
  1347. package/node_modules/xmlbuilder2/README.md +0 -184
  1348. package/node_modules/xmlbuilder2/lib/builder/BuilderFunctions.d.ts +0 -236
  1349. package/node_modules/xmlbuilder2/lib/builder/BuilderFunctions.js +0 -107
  1350. package/node_modules/xmlbuilder2/lib/builder/BuilderFunctions.js.map +0 -1
  1351. package/node_modules/xmlbuilder2/lib/builder/BuilderFunctionsCB.d.ts +0 -17
  1352. package/node_modules/xmlbuilder2/lib/builder/BuilderFunctionsCB.js +0 -26
  1353. package/node_modules/xmlbuilder2/lib/builder/BuilderFunctionsCB.js.map +0 -1
  1354. package/node_modules/xmlbuilder2/lib/builder/XMLBuilderCBImpl.d.ts +0 -123
  1355. package/node_modules/xmlbuilder2/lib/builder/XMLBuilderCBImpl.js +0 -684
  1356. package/node_modules/xmlbuilder2/lib/builder/XMLBuilderCBImpl.js.map +0 -1
  1357. package/node_modules/xmlbuilder2/lib/builder/XMLBuilderImpl.d.ts +0 -143
  1358. package/node_modules/xmlbuilder2/lib/builder/XMLBuilderImpl.js +0 -741
  1359. package/node_modules/xmlbuilder2/lib/builder/XMLBuilderImpl.js.map +0 -1
  1360. package/node_modules/xmlbuilder2/lib/builder/dom.d.ts +0 -8
  1361. package/node_modules/xmlbuilder2/lib/builder/dom.js +0 -67
  1362. package/node_modules/xmlbuilder2/lib/builder/dom.js.map +0 -1
  1363. package/node_modules/xmlbuilder2/lib/builder/index.d.ts +0 -4
  1364. package/node_modules/xmlbuilder2/lib/builder/index.js +0 -16
  1365. package/node_modules/xmlbuilder2/lib/builder/index.js.map +0 -1
  1366. package/node_modules/xmlbuilder2/lib/constants.d.ts +0 -1
  1367. package/node_modules/xmlbuilder2/lib/constants.js +0 -5
  1368. package/node_modules/xmlbuilder2/lib/constants.js.map +0 -1
  1369. package/node_modules/xmlbuilder2/lib/index.d.ts +0 -1
  1370. package/node_modules/xmlbuilder2/lib/index.js +0 -11
  1371. package/node_modules/xmlbuilder2/lib/index.js.map +0 -1
  1372. package/node_modules/xmlbuilder2/lib/interfaces.d.ts +0 -1356
  1373. package/node_modules/xmlbuilder2/lib/interfaces.js +0 -77
  1374. package/node_modules/xmlbuilder2/lib/interfaces.js.map +0 -1
  1375. package/node_modules/xmlbuilder2/lib/readers/BaseReader.d.ts +0 -109
  1376. package/node_modules/xmlbuilder2/lib/readers/BaseReader.js +0 -164
  1377. package/node_modules/xmlbuilder2/lib/readers/BaseReader.js.map +0 -1
  1378. package/node_modules/xmlbuilder2/lib/readers/JSONReader.d.ts +0 -14
  1379. package/node_modules/xmlbuilder2/lib/readers/JSONReader.js +0 -21
  1380. package/node_modules/xmlbuilder2/lib/readers/JSONReader.js.map +0 -1
  1381. package/node_modules/xmlbuilder2/lib/readers/ObjectReader.d.ts +0 -15
  1382. package/node_modules/xmlbuilder2/lib/readers/ObjectReader.js +0 -150
  1383. package/node_modules/xmlbuilder2/lib/readers/ObjectReader.js.map +0 -1
  1384. package/node_modules/xmlbuilder2/lib/readers/XMLReader.d.ts +0 -14
  1385. package/node_modules/xmlbuilder2/lib/readers/XMLReader.js +0 -141
  1386. package/node_modules/xmlbuilder2/lib/readers/XMLReader.js.map +0 -1
  1387. package/node_modules/xmlbuilder2/lib/readers/YAMLReader.d.ts +0 -14
  1388. package/node_modules/xmlbuilder2/lib/readers/YAMLReader.js +0 -27
  1389. package/node_modules/xmlbuilder2/lib/readers/YAMLReader.js.map +0 -1
  1390. package/node_modules/xmlbuilder2/lib/readers/index.d.ts +0 -4
  1391. package/node_modules/xmlbuilder2/lib/readers/index.js +0 -12
  1392. package/node_modules/xmlbuilder2/lib/readers/index.js.map +0 -1
  1393. package/node_modules/xmlbuilder2/lib/writers/BaseCBWriter.d.ts +0 -111
  1394. package/node_modules/xmlbuilder2/lib/writers/BaseCBWriter.js +0 -29
  1395. package/node_modules/xmlbuilder2/lib/writers/BaseCBWriter.js.map +0 -1
  1396. package/node_modules/xmlbuilder2/lib/writers/BaseWriter.d.ts +0 -276
  1397. package/node_modules/xmlbuilder2/lib/writers/BaseWriter.js +0 -1468
  1398. package/node_modules/xmlbuilder2/lib/writers/BaseWriter.js.map +0 -1
  1399. package/node_modules/xmlbuilder2/lib/writers/JSONCBWriter.d.ts +0 -68
  1400. package/node_modules/xmlbuilder2/lib/writers/JSONCBWriter.js +0 -156
  1401. package/node_modules/xmlbuilder2/lib/writers/JSONCBWriter.js.map +0 -1
  1402. package/node_modules/xmlbuilder2/lib/writers/JSONWriter.d.ts +0 -67
  1403. package/node_modules/xmlbuilder2/lib/writers/JSONWriter.js +0 -181
  1404. package/node_modules/xmlbuilder2/lib/writers/JSONWriter.js.map +0 -1
  1405. package/node_modules/xmlbuilder2/lib/writers/MapWriter.d.ts +0 -27
  1406. package/node_modules/xmlbuilder2/lib/writers/MapWriter.js +0 -69
  1407. package/node_modules/xmlbuilder2/lib/writers/MapWriter.js.map +0 -1
  1408. package/node_modules/xmlbuilder2/lib/writers/ObjectWriter.d.ts +0 -56
  1409. package/node_modules/xmlbuilder2/lib/writers/ObjectWriter.js +0 -448
  1410. package/node_modules/xmlbuilder2/lib/writers/ObjectWriter.js.map +0 -1
  1411. package/node_modules/xmlbuilder2/lib/writers/XMLCBWriter.d.ts +0 -51
  1412. package/node_modules/xmlbuilder2/lib/writers/XMLCBWriter.js +0 -151
  1413. package/node_modules/xmlbuilder2/lib/writers/XMLCBWriter.js.map +0 -1
  1414. package/node_modules/xmlbuilder2/lib/writers/XMLWriter.d.ts +0 -60
  1415. package/node_modules/xmlbuilder2/lib/writers/XMLWriter.js +0 -222
  1416. package/node_modules/xmlbuilder2/lib/writers/XMLWriter.js.map +0 -1
  1417. package/node_modules/xmlbuilder2/lib/writers/YAMLCBWriter.d.ts +0 -61
  1418. package/node_modules/xmlbuilder2/lib/writers/YAMLCBWriter.js +0 -145
  1419. package/node_modules/xmlbuilder2/lib/writers/YAMLCBWriter.js.map +0 -1
  1420. package/node_modules/xmlbuilder2/lib/writers/YAMLWriter.d.ts +0 -55
  1421. package/node_modules/xmlbuilder2/lib/writers/YAMLWriter.js +0 -146
  1422. package/node_modules/xmlbuilder2/lib/writers/YAMLWriter.js.map +0 -1
  1423. package/node_modules/xmlbuilder2/lib/writers/index.d.ts +0 -5
  1424. package/node_modules/xmlbuilder2/lib/writers/index.js +0 -14
  1425. package/node_modules/xmlbuilder2/lib/writers/index.js.map +0 -1
  1426. package/node_modules/xmlbuilder2/lib/xmlbuilder2.min.js +0 -2
  1427. package/node_modules/xmlbuilder2/lib/xmlbuilder2.min.js.LICENSE.txt +0 -10
  1428. package/node_modules/xmlbuilder2/package.json +0 -64
  1429. package/node_modules/y18n/LICENSE +0 -13
  1430. package/node_modules/y18n/README.md +0 -127
  1431. package/node_modules/y18n/build/index.cjs +0 -203
  1432. package/node_modules/y18n/build/lib/cjs.js +0 -6
  1433. package/node_modules/y18n/build/lib/index.js +0 -174
  1434. package/node_modules/y18n/build/lib/platform-shims/node.js +0 -19
  1435. package/node_modules/y18n/index.mjs +0 -8
  1436. package/node_modules/y18n/package.json +0 -70
  1437. package/node_modules/yaml/LICENSE +0 -13
  1438. package/node_modules/yaml/README.md +0 -172
  1439. package/node_modules/yaml/bin.mjs +0 -11
  1440. package/node_modules/yaml/browser/dist/compose/compose-collection.js +0 -88
  1441. package/node_modules/yaml/browser/dist/compose/compose-doc.js +0 -43
  1442. package/node_modules/yaml/browser/dist/compose/compose-node.js +0 -102
  1443. package/node_modules/yaml/browser/dist/compose/compose-scalar.js +0 -86
  1444. package/node_modules/yaml/browser/dist/compose/composer.js +0 -217
  1445. package/node_modules/yaml/browser/dist/compose/resolve-block-map.js +0 -115
  1446. package/node_modules/yaml/browser/dist/compose/resolve-block-scalar.js +0 -198
  1447. package/node_modules/yaml/browser/dist/compose/resolve-block-seq.js +0 -49
  1448. package/node_modules/yaml/browser/dist/compose/resolve-end.js +0 -37
  1449. package/node_modules/yaml/browser/dist/compose/resolve-flow-collection.js +0 -207
  1450. package/node_modules/yaml/browser/dist/compose/resolve-flow-scalar.js +0 -223
  1451. package/node_modules/yaml/browser/dist/compose/resolve-props.js +0 -146
  1452. package/node_modules/yaml/browser/dist/compose/util-contains-newline.js +0 -34
  1453. package/node_modules/yaml/browser/dist/compose/util-empty-scalar-position.js +0 -26
  1454. package/node_modules/yaml/browser/dist/compose/util-flow-indent-check.js +0 -15
  1455. package/node_modules/yaml/browser/dist/compose/util-map-includes.js +0 -13
  1456. package/node_modules/yaml/browser/dist/doc/Document.js +0 -335
  1457. package/node_modules/yaml/browser/dist/doc/anchors.js +0 -71
  1458. package/node_modules/yaml/browser/dist/doc/applyReviver.js +0 -55
  1459. package/node_modules/yaml/browser/dist/doc/createNode.js +0 -88
  1460. package/node_modules/yaml/browser/dist/doc/directives.js +0 -176
  1461. package/node_modules/yaml/browser/dist/errors.js +0 -57
  1462. package/node_modules/yaml/browser/dist/index.js +0 -17
  1463. package/node_modules/yaml/browser/dist/log.js +0 -11
  1464. package/node_modules/yaml/browser/dist/nodes/Alias.js +0 -114
  1465. package/node_modules/yaml/browser/dist/nodes/Collection.js +0 -147
  1466. package/node_modules/yaml/browser/dist/nodes/Node.js +0 -38
  1467. package/node_modules/yaml/browser/dist/nodes/Pair.js +0 -36
  1468. package/node_modules/yaml/browser/dist/nodes/Scalar.js +0 -24
  1469. package/node_modules/yaml/browser/dist/nodes/YAMLMap.js +0 -144
  1470. package/node_modules/yaml/browser/dist/nodes/YAMLSeq.js +0 -113
  1471. package/node_modules/yaml/browser/dist/nodes/addPairToJSMap.js +0 -63
  1472. package/node_modules/yaml/browser/dist/nodes/identity.js +0 -36
  1473. package/node_modules/yaml/browser/dist/nodes/toJS.js +0 -37
  1474. package/node_modules/yaml/browser/dist/parse/cst-scalar.js +0 -214
  1475. package/node_modules/yaml/browser/dist/parse/cst-stringify.js +0 -61
  1476. package/node_modules/yaml/browser/dist/parse/cst-visit.js +0 -97
  1477. package/node_modules/yaml/browser/dist/parse/cst.js +0 -98
  1478. package/node_modules/yaml/browser/dist/parse/lexer.js +0 -717
  1479. package/node_modules/yaml/browser/dist/parse/line-counter.js +0 -39
  1480. package/node_modules/yaml/browser/dist/parse/parser.js +0 -967
  1481. package/node_modules/yaml/browser/dist/public-api.js +0 -102
  1482. package/node_modules/yaml/browser/dist/schema/Schema.js +0 -37
  1483. package/node_modules/yaml/browser/dist/schema/common/map.js +0 -17
  1484. package/node_modules/yaml/browser/dist/schema/common/null.js +0 -15
  1485. package/node_modules/yaml/browser/dist/schema/common/seq.js +0 -17
  1486. package/node_modules/yaml/browser/dist/schema/common/string.js +0 -14
  1487. package/node_modules/yaml/browser/dist/schema/core/bool.js +0 -19
  1488. package/node_modules/yaml/browser/dist/schema/core/float.js +0 -43
  1489. package/node_modules/yaml/browser/dist/schema/core/int.js +0 -38
  1490. package/node_modules/yaml/browser/dist/schema/core/schema.js +0 -23
  1491. package/node_modules/yaml/browser/dist/schema/json/schema.js +0 -62
  1492. package/node_modules/yaml/browser/dist/schema/tags.js +0 -96
  1493. package/node_modules/yaml/browser/dist/schema/yaml-1.1/binary.js +0 -58
  1494. package/node_modules/yaml/browser/dist/schema/yaml-1.1/bool.js +0 -26
  1495. package/node_modules/yaml/browser/dist/schema/yaml-1.1/float.js +0 -46
  1496. package/node_modules/yaml/browser/dist/schema/yaml-1.1/int.js +0 -71
  1497. package/node_modules/yaml/browser/dist/schema/yaml-1.1/merge.js +0 -64
  1498. package/node_modules/yaml/browser/dist/schema/yaml-1.1/omap.js +0 -74
  1499. package/node_modules/yaml/browser/dist/schema/yaml-1.1/pairs.js +0 -78
  1500. package/node_modules/yaml/browser/dist/schema/yaml-1.1/schema.js +0 -39
  1501. package/node_modules/yaml/browser/dist/schema/yaml-1.1/set.js +0 -93
  1502. package/node_modules/yaml/browser/dist/schema/yaml-1.1/timestamp.js +0 -101
  1503. package/node_modules/yaml/browser/dist/stringify/foldFlowLines.js +0 -146
  1504. package/node_modules/yaml/browser/dist/stringify/stringify.js +0 -128
  1505. package/node_modules/yaml/browser/dist/stringify/stringifyCollection.js +0 -143
  1506. package/node_modules/yaml/browser/dist/stringify/stringifyComment.js +0 -20
  1507. package/node_modules/yaml/browser/dist/stringify/stringifyDocument.js +0 -85
  1508. package/node_modules/yaml/browser/dist/stringify/stringifyNumber.js +0 -24
  1509. package/node_modules/yaml/browser/dist/stringify/stringifyPair.js +0 -150
  1510. package/node_modules/yaml/browser/dist/stringify/stringifyString.js +0 -336
  1511. package/node_modules/yaml/browser/dist/util.js +0 -11
  1512. package/node_modules/yaml/browser/dist/visit.js +0 -233
  1513. package/node_modules/yaml/browser/index.js +0 -5
  1514. package/node_modules/yaml/browser/package.json +0 -3
  1515. package/node_modules/yaml/dist/cli.d.ts +0 -8
  1516. package/node_modules/yaml/dist/cli.mjs +0 -201
  1517. package/node_modules/yaml/dist/compose/compose-collection.d.ts +0 -11
  1518. package/node_modules/yaml/dist/compose/compose-collection.js +0 -90
  1519. package/node_modules/yaml/dist/compose/compose-doc.d.ts +0 -7
  1520. package/node_modules/yaml/dist/compose/compose-doc.js +0 -45
  1521. package/node_modules/yaml/dist/compose/compose-node.d.ts +0 -29
  1522. package/node_modules/yaml/dist/compose/compose-node.js +0 -105
  1523. package/node_modules/yaml/dist/compose/compose-scalar.d.ts +0 -5
  1524. package/node_modules/yaml/dist/compose/compose-scalar.js +0 -88
  1525. package/node_modules/yaml/dist/compose/composer.d.ts +0 -63
  1526. package/node_modules/yaml/dist/compose/composer.js +0 -222
  1527. package/node_modules/yaml/dist/compose/resolve-block-map.d.ts +0 -6
  1528. package/node_modules/yaml/dist/compose/resolve-block-map.js +0 -117
  1529. package/node_modules/yaml/dist/compose/resolve-block-scalar.d.ts +0 -11
  1530. package/node_modules/yaml/dist/compose/resolve-block-scalar.js +0 -200
  1531. package/node_modules/yaml/dist/compose/resolve-block-seq.d.ts +0 -6
  1532. package/node_modules/yaml/dist/compose/resolve-block-seq.js +0 -51
  1533. package/node_modules/yaml/dist/compose/resolve-end.d.ts +0 -6
  1534. package/node_modules/yaml/dist/compose/resolve-end.js +0 -39
  1535. package/node_modules/yaml/dist/compose/resolve-flow-collection.d.ts +0 -7
  1536. package/node_modules/yaml/dist/compose/resolve-flow-collection.js +0 -209
  1537. package/node_modules/yaml/dist/compose/resolve-flow-scalar.d.ts +0 -10
  1538. package/node_modules/yaml/dist/compose/resolve-flow-scalar.js +0 -225
  1539. package/node_modules/yaml/dist/compose/resolve-props.d.ts +0 -23
  1540. package/node_modules/yaml/dist/compose/resolve-props.js +0 -148
  1541. package/node_modules/yaml/dist/compose/util-contains-newline.d.ts +0 -2
  1542. package/node_modules/yaml/dist/compose/util-contains-newline.js +0 -36
  1543. package/node_modules/yaml/dist/compose/util-empty-scalar-position.d.ts +0 -2
  1544. package/node_modules/yaml/dist/compose/util-empty-scalar-position.js +0 -28
  1545. package/node_modules/yaml/dist/compose/util-flow-indent-check.d.ts +0 -3
  1546. package/node_modules/yaml/dist/compose/util-flow-indent-check.js +0 -17
  1547. package/node_modules/yaml/dist/compose/util-map-includes.d.ts +0 -4
  1548. package/node_modules/yaml/dist/compose/util-map-includes.js +0 -15
  1549. package/node_modules/yaml/dist/doc/Document.d.ts +0 -141
  1550. package/node_modules/yaml/dist/doc/Document.js +0 -337
  1551. package/node_modules/yaml/dist/doc/anchors.d.ts +0 -24
  1552. package/node_modules/yaml/dist/doc/anchors.js +0 -76
  1553. package/node_modules/yaml/dist/doc/applyReviver.d.ts +0 -9
  1554. package/node_modules/yaml/dist/doc/applyReviver.js +0 -57
  1555. package/node_modules/yaml/dist/doc/createNode.d.ts +0 -17
  1556. package/node_modules/yaml/dist/doc/createNode.js +0 -90
  1557. package/node_modules/yaml/dist/doc/directives.d.ts +0 -49
  1558. package/node_modules/yaml/dist/doc/directives.js +0 -178
  1559. package/node_modules/yaml/dist/errors.d.ts +0 -21
  1560. package/node_modules/yaml/dist/errors.js +0 -62
  1561. package/node_modules/yaml/dist/index.d.ts +0 -25
  1562. package/node_modules/yaml/dist/index.js +0 -50
  1563. package/node_modules/yaml/dist/log.d.ts +0 -3
  1564. package/node_modules/yaml/dist/log.js +0 -19
  1565. package/node_modules/yaml/dist/nodes/Alias.d.ts +0 -29
  1566. package/node_modules/yaml/dist/nodes/Alias.js +0 -116
  1567. package/node_modules/yaml/dist/nodes/Collection.d.ts +0 -73
  1568. package/node_modules/yaml/dist/nodes/Collection.js +0 -151
  1569. package/node_modules/yaml/dist/nodes/Node.d.ts +0 -53
  1570. package/node_modules/yaml/dist/nodes/Node.js +0 -40
  1571. package/node_modules/yaml/dist/nodes/Pair.d.ts +0 -22
  1572. package/node_modules/yaml/dist/nodes/Pair.js +0 -39
  1573. package/node_modules/yaml/dist/nodes/Scalar.d.ts +0 -43
  1574. package/node_modules/yaml/dist/nodes/Scalar.js +0 -27
  1575. package/node_modules/yaml/dist/nodes/YAMLMap.d.ts +0 -53
  1576. package/node_modules/yaml/dist/nodes/YAMLMap.js +0 -147
  1577. package/node_modules/yaml/dist/nodes/YAMLSeq.d.ts +0 -60
  1578. package/node_modules/yaml/dist/nodes/YAMLSeq.js +0 -115
  1579. package/node_modules/yaml/dist/nodes/addPairToJSMap.d.ts +0 -4
  1580. package/node_modules/yaml/dist/nodes/addPairToJSMap.js +0 -65
  1581. package/node_modules/yaml/dist/nodes/identity.d.ts +0 -23
  1582. package/node_modules/yaml/dist/nodes/identity.js +0 -53
  1583. package/node_modules/yaml/dist/nodes/toJS.d.ts +0 -29
  1584. package/node_modules/yaml/dist/nodes/toJS.js +0 -39
  1585. package/node_modules/yaml/dist/options.d.ts +0 -344
  1586. package/node_modules/yaml/dist/parse/cst-scalar.d.ts +0 -64
  1587. package/node_modules/yaml/dist/parse/cst-scalar.js +0 -218
  1588. package/node_modules/yaml/dist/parse/cst-stringify.d.ts +0 -8
  1589. package/node_modules/yaml/dist/parse/cst-stringify.js +0 -63
  1590. package/node_modules/yaml/dist/parse/cst-visit.d.ts +0 -39
  1591. package/node_modules/yaml/dist/parse/cst-visit.js +0 -99
  1592. package/node_modules/yaml/dist/parse/cst.d.ts +0 -109
  1593. package/node_modules/yaml/dist/parse/cst.js +0 -112
  1594. package/node_modules/yaml/dist/parse/lexer.d.ts +0 -87
  1595. package/node_modules/yaml/dist/parse/lexer.js +0 -719
  1596. package/node_modules/yaml/dist/parse/line-counter.d.ts +0 -22
  1597. package/node_modules/yaml/dist/parse/line-counter.js +0 -41
  1598. package/node_modules/yaml/dist/parse/parser.d.ts +0 -84
  1599. package/node_modules/yaml/dist/parse/parser.js +0 -972
  1600. package/node_modules/yaml/dist/public-api.d.ts +0 -44
  1601. package/node_modules/yaml/dist/public-api.js +0 -107
  1602. package/node_modules/yaml/dist/schema/Schema.d.ts +0 -17
  1603. package/node_modules/yaml/dist/schema/Schema.js +0 -39
  1604. package/node_modules/yaml/dist/schema/common/map.d.ts +0 -2
  1605. package/node_modules/yaml/dist/schema/common/map.js +0 -19
  1606. package/node_modules/yaml/dist/schema/common/null.d.ts +0 -4
  1607. package/node_modules/yaml/dist/schema/common/null.js +0 -17
  1608. package/node_modules/yaml/dist/schema/common/seq.d.ts +0 -2
  1609. package/node_modules/yaml/dist/schema/common/seq.js +0 -19
  1610. package/node_modules/yaml/dist/schema/common/string.d.ts +0 -2
  1611. package/node_modules/yaml/dist/schema/common/string.js +0 -16
  1612. package/node_modules/yaml/dist/schema/core/bool.d.ts +0 -4
  1613. package/node_modules/yaml/dist/schema/core/bool.js +0 -21
  1614. package/node_modules/yaml/dist/schema/core/float.d.ts +0 -4
  1615. package/node_modules/yaml/dist/schema/core/float.js +0 -47
  1616. package/node_modules/yaml/dist/schema/core/int.d.ts +0 -4
  1617. package/node_modules/yaml/dist/schema/core/int.js +0 -42
  1618. package/node_modules/yaml/dist/schema/core/schema.d.ts +0 -1
  1619. package/node_modules/yaml/dist/schema/core/schema.js +0 -25
  1620. package/node_modules/yaml/dist/schema/json/schema.d.ts +0 -2
  1621. package/node_modules/yaml/dist/schema/json/schema.js +0 -64
  1622. package/node_modules/yaml/dist/schema/json-schema.d.ts +0 -69
  1623. package/node_modules/yaml/dist/schema/tags.d.ts +0 -48
  1624. package/node_modules/yaml/dist/schema/tags.js +0 -99
  1625. package/node_modules/yaml/dist/schema/types.d.ts +0 -92
  1626. package/node_modules/yaml/dist/schema/yaml-1.1/binary.d.ts +0 -2
  1627. package/node_modules/yaml/dist/schema/yaml-1.1/binary.js +0 -70
  1628. package/node_modules/yaml/dist/schema/yaml-1.1/bool.d.ts +0 -7
  1629. package/node_modules/yaml/dist/schema/yaml-1.1/bool.js +0 -29
  1630. package/node_modules/yaml/dist/schema/yaml-1.1/float.d.ts +0 -4
  1631. package/node_modules/yaml/dist/schema/yaml-1.1/float.js +0 -50
  1632. package/node_modules/yaml/dist/schema/yaml-1.1/int.d.ts +0 -5
  1633. package/node_modules/yaml/dist/schema/yaml-1.1/int.js +0 -76
  1634. package/node_modules/yaml/dist/schema/yaml-1.1/merge.d.ts +0 -9
  1635. package/node_modules/yaml/dist/schema/yaml-1.1/merge.js +0 -68
  1636. package/node_modules/yaml/dist/schema/yaml-1.1/omap.d.ts +0 -22
  1637. package/node_modules/yaml/dist/schema/yaml-1.1/omap.js +0 -77
  1638. package/node_modules/yaml/dist/schema/yaml-1.1/pairs.d.ts +0 -10
  1639. package/node_modules/yaml/dist/schema/yaml-1.1/pairs.js +0 -82
  1640. package/node_modules/yaml/dist/schema/yaml-1.1/schema.d.ts +0 -1
  1641. package/node_modules/yaml/dist/schema/yaml-1.1/schema.js +0 -41
  1642. package/node_modules/yaml/dist/schema/yaml-1.1/set.d.ts +0 -28
  1643. package/node_modules/yaml/dist/schema/yaml-1.1/set.js +0 -96
  1644. package/node_modules/yaml/dist/schema/yaml-1.1/timestamp.d.ts +0 -6
  1645. package/node_modules/yaml/dist/schema/yaml-1.1/timestamp.js +0 -105
  1646. package/node_modules/yaml/dist/stringify/foldFlowLines.d.ts +0 -34
  1647. package/node_modules/yaml/dist/stringify/foldFlowLines.js +0 -151
  1648. package/node_modules/yaml/dist/stringify/stringify.d.ts +0 -21
  1649. package/node_modules/yaml/dist/stringify/stringify.js +0 -131
  1650. package/node_modules/yaml/dist/stringify/stringifyCollection.d.ts +0 -17
  1651. package/node_modules/yaml/dist/stringify/stringifyCollection.js +0 -145
  1652. package/node_modules/yaml/dist/stringify/stringifyComment.d.ts +0 -10
  1653. package/node_modules/yaml/dist/stringify/stringifyComment.js +0 -24
  1654. package/node_modules/yaml/dist/stringify/stringifyDocument.d.ts +0 -4
  1655. package/node_modules/yaml/dist/stringify/stringifyDocument.js +0 -87
  1656. package/node_modules/yaml/dist/stringify/stringifyNumber.d.ts +0 -2
  1657. package/node_modules/yaml/dist/stringify/stringifyNumber.js +0 -26
  1658. package/node_modules/yaml/dist/stringify/stringifyPair.d.ts +0 -3
  1659. package/node_modules/yaml/dist/stringify/stringifyPair.js +0 -152
  1660. package/node_modules/yaml/dist/stringify/stringifyString.d.ts +0 -9
  1661. package/node_modules/yaml/dist/stringify/stringifyString.js +0 -338
  1662. package/node_modules/yaml/dist/test-events.d.ts +0 -4
  1663. package/node_modules/yaml/dist/test-events.js +0 -134
  1664. package/node_modules/yaml/dist/util.d.ts +0 -16
  1665. package/node_modules/yaml/dist/util.js +0 -28
  1666. package/node_modules/yaml/dist/visit.d.ts +0 -102
  1667. package/node_modules/yaml/dist/visit.js +0 -236
  1668. package/node_modules/yaml/package.json +0 -97
  1669. package/node_modules/yaml/util.js +0 -2
  1670. package/node_modules/yargs/LICENSE +0 -21
  1671. package/node_modules/yargs/README.md +0 -204
  1672. package/node_modules/yargs/browser.d.ts +0 -5
  1673. package/node_modules/yargs/browser.mjs +0 -7
  1674. package/node_modules/yargs/build/index.cjs +0 -1
  1675. package/node_modules/yargs/build/lib/argsert.js +0 -62
  1676. package/node_modules/yargs/build/lib/command.js +0 -449
  1677. package/node_modules/yargs/build/lib/completion-templates.js +0 -48
  1678. package/node_modules/yargs/build/lib/completion.js +0 -243
  1679. package/node_modules/yargs/build/lib/middleware.js +0 -88
  1680. package/node_modules/yargs/build/lib/parse-command.js +0 -32
  1681. package/node_modules/yargs/build/lib/typings/common-types.js +0 -9
  1682. package/node_modules/yargs/build/lib/typings/yargs-parser-types.js +0 -1
  1683. package/node_modules/yargs/build/lib/usage.js +0 -584
  1684. package/node_modules/yargs/build/lib/utils/apply-extends.js +0 -59
  1685. package/node_modules/yargs/build/lib/utils/is-promise.js +0 -5
  1686. package/node_modules/yargs/build/lib/utils/levenshtein.js +0 -34
  1687. package/node_modules/yargs/build/lib/utils/maybe-async-result.js +0 -17
  1688. package/node_modules/yargs/build/lib/utils/obj-filter.js +0 -10
  1689. package/node_modules/yargs/build/lib/utils/process-argv.js +0 -17
  1690. package/node_modules/yargs/build/lib/utils/set-blocking.js +0 -12
  1691. package/node_modules/yargs/build/lib/utils/which-module.js +0 -10
  1692. package/node_modules/yargs/build/lib/validation.js +0 -305
  1693. package/node_modules/yargs/build/lib/yargs-factory.js +0 -1512
  1694. package/node_modules/yargs/build/lib/yerror.js +0 -9
  1695. package/node_modules/yargs/helpers/helpers.mjs +0 -10
  1696. package/node_modules/yargs/helpers/index.js +0 -14
  1697. package/node_modules/yargs/helpers/package.json +0 -3
  1698. package/node_modules/yargs/index.cjs +0 -53
  1699. package/node_modules/yargs/index.mjs +0 -8
  1700. package/node_modules/yargs/lib/platform-shims/browser.mjs +0 -95
  1701. package/node_modules/yargs/lib/platform-shims/esm.mjs +0 -73
  1702. package/node_modules/yargs/locales/be.json +0 -46
  1703. package/node_modules/yargs/locales/cs.json +0 -51
  1704. package/node_modules/yargs/locales/de.json +0 -46
  1705. package/node_modules/yargs/locales/en.json +0 -55
  1706. package/node_modules/yargs/locales/es.json +0 -46
  1707. package/node_modules/yargs/locales/fi.json +0 -49
  1708. package/node_modules/yargs/locales/fr.json +0 -53
  1709. package/node_modules/yargs/locales/hi.json +0 -49
  1710. package/node_modules/yargs/locales/hu.json +0 -46
  1711. package/node_modules/yargs/locales/id.json +0 -50
  1712. package/node_modules/yargs/locales/it.json +0 -46
  1713. package/node_modules/yargs/locales/ja.json +0 -51
  1714. package/node_modules/yargs/locales/ko.json +0 -49
  1715. package/node_modules/yargs/locales/nb.json +0 -44
  1716. package/node_modules/yargs/locales/nl.json +0 -49
  1717. package/node_modules/yargs/locales/nn.json +0 -44
  1718. package/node_modules/yargs/locales/pirate.json +0 -13
  1719. package/node_modules/yargs/locales/pl.json +0 -49
  1720. package/node_modules/yargs/locales/pt.json +0 -45
  1721. package/node_modules/yargs/locales/pt_BR.json +0 -48
  1722. package/node_modules/yargs/locales/ru.json +0 -51
  1723. package/node_modules/yargs/locales/th.json +0 -46
  1724. package/node_modules/yargs/locales/tr.json +0 -48
  1725. package/node_modules/yargs/locales/uk_UA.json +0 -51
  1726. package/node_modules/yargs/locales/uz.json +0 -52
  1727. package/node_modules/yargs/locales/zh_CN.json +0 -48
  1728. package/node_modules/yargs/locales/zh_TW.json +0 -51
  1729. package/node_modules/yargs/node_modules/yargs-parser/LICENSE.txt +0 -14
  1730. package/node_modules/yargs/node_modules/yargs-parser/README.md +0 -518
  1731. package/node_modules/yargs/node_modules/yargs-parser/browser.js +0 -29
  1732. package/node_modules/yargs/node_modules/yargs-parser/build/index.cjs +0 -1050
  1733. package/node_modules/yargs/node_modules/yargs-parser/build/lib/index.js +0 -62
  1734. package/node_modules/yargs/node_modules/yargs-parser/build/lib/string-utils.js +0 -65
  1735. package/node_modules/yargs/node_modules/yargs-parser/build/lib/tokenize-arg-string.js +0 -40
  1736. package/node_modules/yargs/node_modules/yargs-parser/build/lib/yargs-parser-types.js +0 -12
  1737. package/node_modules/yargs/node_modules/yargs-parser/build/lib/yargs-parser.js +0 -1045
  1738. package/node_modules/yargs/node_modules/yargs-parser/package.json +0 -92
  1739. package/node_modules/yargs/package.json +0 -123
  1740. package/node_modules/yargs/yargs +0 -9
  1741. package/node_modules/yargs/yargs.mjs +0 -10
@@ -1,1468 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.BaseWriter = void 0;
4
- const interfaces_1 = require("@oozcitak/dom/lib/dom/interfaces");
5
- const LocalNameSet_1 = require("@oozcitak/dom/lib/serializer/LocalNameSet");
6
- const NamespacePrefixMap_1 = require("@oozcitak/dom/lib/serializer/NamespacePrefixMap");
7
- const infra_1 = require("@oozcitak/infra");
8
- const algorithm_1 = require("@oozcitak/dom/lib/algorithm");
9
- const constants_1 = require("../constants");
10
- /**
11
- * Pre-serializes XML nodes.
12
- */
13
- class BaseWriter {
14
- static _VoidElementNames = new Set(['area', 'base', 'basefont',
15
- 'bgsound', 'br', 'col', 'embed', 'frame', 'hr', 'img', 'input', 'keygen',
16
- 'link', 'menuitem', 'meta', 'param', 'source', 'track', 'wbr']);
17
- _builderOptions;
18
- _writerOptions;
19
- /**
20
- * Initializes a new instance of `BaseWriter`.
21
- *
22
- * @param builderOptions - XML builder options
23
- */
24
- constructor(builderOptions) {
25
- this._builderOptions = builderOptions;
26
- }
27
- /**
28
- * Used by derived classes to serialize the XML declaration.
29
- *
30
- * @param version - a version number string
31
- * @param encoding - encoding declaration
32
- * @param standalone - standalone document declaration
33
- */
34
- declaration(version, encoding, standalone) { }
35
- /**
36
- * Used by derived classes to serialize a DocType node.
37
- *
38
- * @param name - node name
39
- * @param publicId - public identifier
40
- * @param systemId - system identifier
41
- */
42
- docType(name, publicId, systemId) { }
43
- /**
44
- * Used by derived classes to serialize a comment node.
45
- *
46
- * @param data - node data
47
- */
48
- comment(data) { }
49
- /**
50
- * Used by derived classes to serialize a text node.
51
- *
52
- * @param data - node data
53
- */
54
- text(data) { }
55
- /**
56
- * Used by derived classes to serialize a processing instruction node.
57
- *
58
- * @param target - instruction target
59
- * @param data - node data
60
- */
61
- instruction(target, data) { }
62
- /**
63
- * Used by derived classes to serialize a CData section node.
64
- *
65
- * @param data - node data
66
- */
67
- cdata(data) { }
68
- /**
69
- * Used by derived classes to serialize the beginning of the opening tag of an
70
- * element node.
71
- *
72
- * @param name - node name
73
- */
74
- openTagBegin(name) { }
75
- /**
76
- * Used by derived classes to serialize the ending of the opening tag of an
77
- * element node.
78
- *
79
- * @param name - node name
80
- * @param selfClosing - whether the element node is self closing
81
- * @param voidElement - whether the element node is a HTML void element
82
- */
83
- openTagEnd(name, selfClosing, voidElement) { }
84
- /**
85
- * Used by derived classes to serialize the closing tag of an element node.
86
- *
87
- * @param name - node name
88
- */
89
- closeTag(name) { }
90
- /**
91
- * Used by derived classes to serialize attributes or namespace declarations.
92
- *
93
- * @param attributes - attribute array
94
- */
95
- attributes(attributes) {
96
- for (const attr of attributes) {
97
- this.attribute(attr[1] === null ? attr[2] : attr[1] + ':' + attr[2], attr[3]);
98
- }
99
- }
100
- /**
101
- * Used by derived classes to serialize an attribute or namespace declaration.
102
- *
103
- * @param name - node name
104
- * @param value - node value
105
- */
106
- attribute(name, value) { }
107
- /**
108
- * Used by derived classes to perform any pre-processing steps before starting
109
- * serializing an element node.
110
- *
111
- * @param name - node name
112
- */
113
- beginElement(name) { }
114
- /**
115
- * Used by derived classes to perform any post-processing steps after
116
- * completing serializing an element node.
117
- *
118
- * @param name - node name
119
- */
120
- endElement(name) { }
121
- /**
122
- * Gets the current depth of the XML tree.
123
- */
124
- level = 0;
125
- /**
126
- * Gets the current XML node.
127
- */
128
- currentNode;
129
- /**
130
- * Produces an XML serialization of the given node. The pre-serializer inserts
131
- * namespace declarations where necessary and produces qualified names for
132
- * nodes and attributes.
133
- *
134
- * @param node - node to serialize
135
- * @param requireWellFormed - whether to check conformance
136
- */
137
- serializeNode(node, requireWellFormed) {
138
- const hasNamespaces = (node._nodeDocument !== undefined && node._nodeDocument._hasNamespaces);
139
- this.level = 0;
140
- this.currentNode = node;
141
- if (hasNamespaces) {
142
- /** From: https://w3c.github.io/DOM-Parsing/#xml-serialization
143
- *
144
- * 1. Let namespace be a context namespace with value null.
145
- * The context namespace tracks the XML serialization algorithm's current
146
- * default namespace. The context namespace is changed when either an Element
147
- * Node has a default namespace declaration, or the algorithm generates a
148
- * default namespace declaration for the Element Node to match its own
149
- * namespace. The algorithm assumes no namespace (null) to start.
150
- * 2. Let prefix map be a new namespace prefix map.
151
- * 3. Add the XML namespace with prefix value "xml" to prefix map.
152
- * 4. Let prefix index be a generated namespace prefix index with value 1.
153
- * The generated namespace prefix index is used to generate a new unique
154
- * prefix value when no suitable existing namespace prefix is available to
155
- * serialize a node's namespaceURI (or the namespaceURI of one of node's
156
- * attributes). See the generate a prefix algorithm.
157
- */
158
- let namespace = null;
159
- const prefixMap = new NamespacePrefixMap_1.NamespacePrefixMap();
160
- prefixMap.set("xml", infra_1.namespace.XML);
161
- const prefixIndex = { value: 1 };
162
- /**
163
- * 5. Return the result of running the XML serialization algorithm on node
164
- * passing the context namespace namespace, namespace prefix map prefix map,
165
- * generated namespace prefix index reference to prefix index, and the
166
- * flag require well-formed. If an exception occurs during the execution
167
- * of the algorithm, then catch that exception and throw an
168
- * "InvalidStateError" DOMException.
169
- */
170
- this._serializeNodeNS(node, namespace, prefixMap, prefixIndex, requireWellFormed);
171
- }
172
- else {
173
- this._serializeNode(node, requireWellFormed);
174
- }
175
- }
176
- /**
177
- * Produces an XML serialization of a node.
178
- *
179
- * @param node - node to serialize
180
- * @param namespace - context namespace
181
- * @param prefixMap - namespace prefix map
182
- * @param prefixIndex - generated namespace prefix index
183
- * @param requireWellFormed - whether to check conformance
184
- */
185
- _serializeNodeNS(node, namespace, prefixMap, prefixIndex, requireWellFormed) {
186
- this.currentNode = node;
187
- switch (node.nodeType) {
188
- case interfaces_1.NodeType.Element:
189
- this._serializeElementNS(node, namespace, prefixMap, prefixIndex, requireWellFormed);
190
- break;
191
- case interfaces_1.NodeType.Document:
192
- this._serializeDocumentNS(node, namespace, prefixMap, prefixIndex, requireWellFormed);
193
- break;
194
- case interfaces_1.NodeType.Comment:
195
- this._serializeComment(node, requireWellFormed);
196
- break;
197
- case interfaces_1.NodeType.Text:
198
- this._serializeText(node, requireWellFormed);
199
- break;
200
- case interfaces_1.NodeType.DocumentFragment:
201
- this._serializeDocumentFragmentNS(node, namespace, prefixMap, prefixIndex, requireWellFormed);
202
- break;
203
- case interfaces_1.NodeType.DocumentType:
204
- this._serializeDocumentType(node, requireWellFormed);
205
- break;
206
- case interfaces_1.NodeType.ProcessingInstruction:
207
- this._serializeProcessingInstruction(node, requireWellFormed);
208
- break;
209
- case interfaces_1.NodeType.CData:
210
- this._serializeCData(node, requireWellFormed);
211
- break;
212
- default:
213
- throw new Error(`Unknown node type: ${node.nodeType}`);
214
- }
215
- }
216
- /**
217
- * Produces an XML serialization of a node.
218
- *
219
- * @param node - node to serialize
220
- * @param requireWellFormed - whether to check conformance
221
- */
222
- _serializeNode(node, requireWellFormed) {
223
- this.currentNode = node;
224
- switch (node.nodeType) {
225
- case interfaces_1.NodeType.Element:
226
- this._serializeElement(node, requireWellFormed);
227
- break;
228
- case interfaces_1.NodeType.Document:
229
- this._serializeDocument(node, requireWellFormed);
230
- break;
231
- case interfaces_1.NodeType.Comment:
232
- this._serializeComment(node, requireWellFormed);
233
- break;
234
- case interfaces_1.NodeType.Text:
235
- this._serializeText(node, requireWellFormed);
236
- break;
237
- case interfaces_1.NodeType.DocumentFragment:
238
- this._serializeDocumentFragment(node, requireWellFormed);
239
- break;
240
- case interfaces_1.NodeType.DocumentType:
241
- this._serializeDocumentType(node, requireWellFormed);
242
- break;
243
- case interfaces_1.NodeType.ProcessingInstruction:
244
- this._serializeProcessingInstruction(node, requireWellFormed);
245
- break;
246
- case interfaces_1.NodeType.CData:
247
- this._serializeCData(node, requireWellFormed);
248
- break;
249
- default:
250
- throw new Error(`Unknown node type: ${node.nodeType}`);
251
- }
252
- }
253
- /**
254
- * Produces an XML serialization of an element node.
255
- *
256
- * @param node - node to serialize
257
- * @param namespace - context namespace
258
- * @param prefixMap - namespace prefix map
259
- * @param prefixIndex - generated namespace prefix index
260
- * @param requireWellFormed - whether to check conformance
261
- */
262
- _serializeElementNS(node, namespace, prefixMap, prefixIndex, requireWellFormed) {
263
- const attributes = [];
264
- /**
265
- * From: https://w3c.github.io/DOM-Parsing/#xml-serializing-an-element-node
266
- *
267
- * 1. If the require well-formed flag is set (its value is true), and this
268
- * node's localName attribute contains the character ":" (U+003A COLON) or
269
- * does not match the XML Name production, then throw an exception; the
270
- * serialization of this node would not be a well-formed element.
271
- */
272
- if (requireWellFormed && (node.localName.indexOf(":") !== -1 ||
273
- !(0, algorithm_1.xml_isName)(node.localName))) {
274
- throw new Error("Node local name contains invalid characters (well-formed required).");
275
- }
276
- /**
277
- * 2. Let markup be the string "<" (U+003C LESS-THAN SIGN).
278
- * 3. Let qualified name be an empty string.
279
- * 4. Let skip end tag be a boolean flag with value false.
280
- * 5. Let ignore namespace definition attribute be a boolean flag with value
281
- * false.
282
- * 6. Given prefix map, copy a namespace prefix map and let map be the
283
- * result.
284
- * 7. Let local prefixes map be an empty map. The map has unique Node prefix
285
- * strings as its keys, with corresponding namespaceURI Node values as the
286
- * map's key values (in this map, the null namespace is represented by the
287
- * empty string).
288
- *
289
- * _Note:_ This map is local to each element. It is used to ensure there
290
- * are no conflicting prefixes should a new namespace prefix attribute need
291
- * to be generated. It is also used to enable skipping of duplicate prefix
292
- * definitions when writing an element's attributes: the map allows the
293
- * algorithm to distinguish between a prefix in the namespace prefix map
294
- * that might be locally-defined (to the current Element) and one that is
295
- * not.
296
- * 8. Let local default namespace be the result of recording the namespace
297
- * information for node given map and local prefixes map.
298
- *
299
- * _Note:_ The above step will update map with any found namespace prefix
300
- * definitions, add the found prefix definitions to the local prefixes map
301
- * and return a local default namespace value defined by a default namespace
302
- * attribute if one exists. Otherwise it returns null.
303
- * 9. Let inherited ns be a copy of namespace.
304
- * 10. Let ns be the value of node's namespaceURI attribute.
305
- */
306
- let qualifiedName = '';
307
- let skipEndTag = false;
308
- let ignoreNamespaceDefinitionAttribute = false;
309
- let map = prefixMap.copy();
310
- let localPrefixesMap = {};
311
- let localDefaultNamespace = this._recordNamespaceInformation(node, map, localPrefixesMap);
312
- let inheritedNS = namespace;
313
- let ns = node.namespaceURI;
314
- /** 11. If inherited ns is equal to ns, then: */
315
- if (inheritedNS === ns) {
316
- /**
317
- * 11.1. If local default namespace is not null, then set ignore
318
- * namespace definition attribute to true.
319
- */
320
- if (localDefaultNamespace !== null) {
321
- ignoreNamespaceDefinitionAttribute = true;
322
- }
323
- /**
324
- * 11.2. If ns is the XML namespace, then append to qualified name the
325
- * concatenation of the string "xml:" and the value of node's localName.
326
- * 11.3. Otherwise, append to qualified name the value of node's
327
- * localName. The node's prefix if it exists, is dropped.
328
- */
329
- if (ns === infra_1.namespace.XML) {
330
- qualifiedName = 'xml:' + node.localName;
331
- }
332
- else {
333
- qualifiedName = node.localName;
334
- }
335
- /** 11.4. Append the value of qualified name to markup. */
336
- this.beginElement(qualifiedName);
337
- this.openTagBegin(qualifiedName);
338
- }
339
- else {
340
- /**
341
- * 12. Otherwise, inherited ns is not equal to ns (the node's own
342
- * namespace is different from the context namespace of its parent).
343
- * Run these sub-steps:
344
- *
345
- * 12.1. Let prefix be the value of node's prefix attribute.
346
- * 12.2. Let candidate prefix be the result of retrieving a preferred
347
- * prefix string prefix from map given namespace ns. The above may return
348
- * null if no namespace key ns exists in map.
349
- */
350
- let prefix = node.prefix;
351
- /**
352
- * We don't need to run "retrieving a preferred prefix string" algorithm if
353
- * the element has no prefix and its namespace matches to the default
354
- * namespace.
355
- * See: https://github.com/web-platform-tests/wpt/pull/16703
356
- */
357
- let candidatePrefix = null;
358
- if (prefix !== null || ns !== localDefaultNamespace) {
359
- candidatePrefix = map.get(prefix, ns);
360
- }
361
- /**
362
- * 12.3. If the value of prefix matches "xmlns", then run the following
363
- * steps:
364
- */
365
- if (prefix === "xmlns") {
366
- /**
367
- * 12.3.1. If the require well-formed flag is set, then throw an error.
368
- * An Element with prefix "xmlns" will not legally round-trip in a
369
- * conforming XML parser.
370
- */
371
- if (requireWellFormed) {
372
- throw new Error("An element cannot have the 'xmlns' prefix (well-formed required).");
373
- }
374
- /**
375
- * 12.3.2. Let candidate prefix be the value of prefix.
376
- */
377
- candidatePrefix = prefix;
378
- }
379
- /**
380
- * 12.4.Found a suitable namespace prefix: if candidate prefix is not
381
- * null (a namespace prefix is defined which maps to ns), then:
382
- */
383
- if (candidatePrefix !== null) {
384
- /**
385
- * The following may serialize a different prefix than the Element's
386
- * existing prefix if it already had one. However, the retrieving a
387
- * preferred prefix string algorithm already tried to match the
388
- * existing prefix if possible.
389
- *
390
- * 12.4.1. Append to qualified name the concatenation of candidate
391
- * prefix, ":" (U+003A COLON), and node's localName. There exists on
392
- * this node or the node's ancestry a namespace prefix definition that
393
- * defines the node's namespace.
394
- * 12.4.2. If the local default namespace is not null (there exists a
395
- * locally-defined default namespace declaration attribute) and its
396
- * value is not the XML namespace, then let inherited ns get the value
397
- * of local default namespace unless the local default namespace is the
398
- * empty string in which case let it get null (the context namespace
399
- * is changed to the declared default, rather than this node's own
400
- * namespace).
401
- *
402
- * _Note:_ Any default namespace definitions or namespace prefixes that
403
- * define the XML namespace are omitted when serializing this node's
404
- * attributes.
405
- */
406
- qualifiedName = candidatePrefix + ':' + node.localName;
407
- if (localDefaultNamespace !== null && localDefaultNamespace !== infra_1.namespace.XML) {
408
- inheritedNS = localDefaultNamespace || null;
409
- }
410
- /**
411
- * 12.4.3. Append the value of qualified name to markup.
412
- */
413
- this.beginElement(qualifiedName);
414
- this.openTagBegin(qualifiedName);
415
- /** 12.5. Otherwise, if prefix is not null, then: */
416
- }
417
- else if (prefix !== null) {
418
- /**
419
- * _Note:_ By this step, there is no namespace or prefix mapping
420
- * declaration in this node (or any parent node visited by this
421
- * algorithm) that defines prefix otherwise the step labelled Found
422
- * a suitable namespace prefix would have been followed. The sub-steps
423
- * that follow will create a new namespace prefix declaration for prefix
424
- * and ensure that prefix does not conflict with an existing namespace
425
- * prefix declaration of the same localName in node's attribute list.
426
- *
427
- * 12.5.1. If the local prefixes map contains a key matching prefix,
428
- * then let prefix be the result of generating a prefix providing as
429
- * input map, ns, and prefix index.
430
- */
431
- if (prefix in localPrefixesMap) {
432
- prefix = this._generatePrefix(ns, map, prefixIndex);
433
- }
434
- /**
435
- * 12.5.2. Add prefix to map given namespace ns.
436
- * 12.5.3. Append to qualified name the concatenation of prefix, ":"
437
- * (U+003A COLON), and node's localName.
438
- * 12.5.4. Append the value of qualified name to markup.
439
- */
440
- map.set(prefix, ns);
441
- qualifiedName += prefix + ':' + node.localName;
442
- this.beginElement(qualifiedName);
443
- this.openTagBegin(qualifiedName);
444
- /**
445
- * 12.5.5. Append the following to markup, in the order listed:
446
- *
447
- * _Note:_ The following serializes a namespace prefix declaration for
448
- * prefix which was just added to the map.
449
- *
450
- * 12.5.5.1. " " (U+0020 SPACE);
451
- * 12.5.5.2. The string "xmlns:";
452
- * 12.5.5.3. The value of prefix;
453
- * 12.5.5.4. "="" (U+003D EQUALS SIGN, U+0022 QUOTATION MARK);
454
- * 12.5.5.5. The result of serializing an attribute value given ns and
455
- * the require well-formed flag as input;
456
- * 12.5.5.6. """ (U+0022 QUOTATION MARK).
457
- */
458
- attributes.push([null, 'xmlns', prefix,
459
- this._serializeAttributeValue(ns, requireWellFormed)]);
460
- /**
461
- * 12.5.5.7. If local default namespace is not null (there exists a
462
- * locally-defined default namespace declaration attribute), then
463
- * let inherited ns get the value of local default namespace unless the
464
- * local default namespace is the empty string in which case let it get
465
- * null.
466
- */
467
- if (localDefaultNamespace !== null) {
468
- inheritedNS = localDefaultNamespace || null;
469
- }
470
- /**
471
- * 12.6. Otherwise, if local default namespace is null, or local
472
- * default namespace is not null and its value is not equal to ns, then:
473
- */
474
- }
475
- else if (localDefaultNamespace === null ||
476
- (localDefaultNamespace !== null && localDefaultNamespace !== ns)) {
477
- /**
478
- * _Note:_ At this point, the namespace for this node still needs to be
479
- * serialized, but there's no prefix (or candidate prefix) available; the
480
- * following uses the default namespace declaration to define the
481
- * namespace--optionally replacing an existing default declaration
482
- * if present.
483
- *
484
- * 12.6.1. Set the ignore namespace definition attribute flag to true.
485
- * 12.6.2. Append to qualified name the value of node's localName.
486
- * 12.6.3. Let the value of inherited ns be ns.
487
- *
488
- * _Note:_ The new default namespace will be used in the serialization
489
- * to define this node's namespace and act as the context namespace for
490
- * its children.
491
- */
492
- ignoreNamespaceDefinitionAttribute = true;
493
- qualifiedName += node.localName;
494
- inheritedNS = ns;
495
- /**
496
- * 12.6.4. Append the value of qualified name to markup.
497
- */
498
- this.beginElement(qualifiedName);
499
- this.openTagBegin(qualifiedName);
500
- /**
501
- * 12.6.5. Append the following to markup, in the order listed:
502
- *
503
- * _Note:_ The following serializes the new (or replacement) default
504
- * namespace definition.
505
- *
506
- * 12.6.5.1. " " (U+0020 SPACE);
507
- * 12.6.5.2. The string "xmlns";
508
- * 12.6.5.3. "="" (U+003D EQUALS SIGN, U+0022 QUOTATION MARK);
509
- * 12.6.5.4. The result of serializing an attribute value given ns
510
- * and the require well-formed flag as input;
511
- * 12.6.5.5. """ (U+0022 QUOTATION MARK).
512
- */
513
- attributes.push([null, null, 'xmlns',
514
- this._serializeAttributeValue(ns, requireWellFormed)]);
515
- /**
516
- * 12.7. Otherwise, the node has a local default namespace that matches
517
- * ns. Append to qualified name the value of node's localName, let the
518
- * value of inherited ns be ns, and append the value of qualified name
519
- * to markup.
520
- */
521
- }
522
- else {
523
- qualifiedName += node.localName;
524
- inheritedNS = ns;
525
- this.beginElement(qualifiedName);
526
- this.openTagBegin(qualifiedName);
527
- }
528
- }
529
- /**
530
- * 13. Append to markup the result of the XML serialization of node's
531
- * attributes given map, prefix index, local prefixes map, ignore namespace
532
- * definition attribute flag, and require well-formed flag.
533
- */
534
- attributes.push(...this._serializeAttributesNS(node, map, prefixIndex, localPrefixesMap, ignoreNamespaceDefinitionAttribute, requireWellFormed));
535
- this.attributes(attributes);
536
- /**
537
- * 14. If ns is the HTML namespace, and the node's list of children is
538
- * empty, and the node's localName matches any one of the following void
539
- * elements: "area", "base", "basefont", "bgsound", "br", "col", "embed",
540
- * "frame", "hr", "img", "input", "keygen", "link", "menuitem", "meta",
541
- * "param", "source", "track", "wbr"; then append the following to markup,
542
- * in the order listed:
543
- * 14.1. " " (U+0020 SPACE);
544
- * 14.2. "/" (U+002F SOLIDUS).
545
- * and set the skip end tag flag to true.
546
- * 15. If ns is not the HTML namespace, and the node's list of children is
547
- * empty, then append "/" (U+002F SOLIDUS) to markup and set the skip end
548
- * tag flag to true.
549
- * 16. Append ">" (U+003E GREATER-THAN SIGN) to markup.
550
- */
551
- const isHTML = (ns === infra_1.namespace.HTML);
552
- if (isHTML && node.childNodes.length === 0 &&
553
- BaseWriter._VoidElementNames.has(node.localName)) {
554
- this.openTagEnd(qualifiedName, true, true);
555
- this.endElement(qualifiedName);
556
- skipEndTag = true;
557
- }
558
- else if (!isHTML && node.childNodes.length === 0) {
559
- this.openTagEnd(qualifiedName, true, false);
560
- this.endElement(qualifiedName);
561
- skipEndTag = true;
562
- }
563
- else {
564
- this.openTagEnd(qualifiedName, false, false);
565
- }
566
- /**
567
- * 17. If the value of skip end tag is true, then return the value of markup
568
- * and skip the remaining steps. The node is a leaf-node.
569
- */
570
- if (skipEndTag)
571
- return;
572
- /**
573
- * 18. If ns is the HTML namespace, and the node's localName matches the
574
- * string "template", then this is a template element. Append to markup the
575
- * result of XML serializing a DocumentFragment node given the template
576
- * element's template contents (a DocumentFragment), providing inherited
577
- * ns, map, prefix index, and the require well-formed flag.
578
- *
579
- * _Note:_ This allows template content to round-trip, given the rules for
580
- * parsing XHTML documents.
581
- *
582
- * 19. Otherwise, append to markup the result of running the XML
583
- * serialization algorithm on each of node's children, in tree order,
584
- * providing inherited ns, map, prefix index, and the require well-formed
585
- * flag.
586
- */
587
- if (isHTML && node.localName === "template") {
588
- // TODO: serialize template contents
589
- }
590
- else {
591
- for (const childNode of node.childNodes) {
592
- this.level++;
593
- this._serializeNodeNS(childNode, inheritedNS, map, prefixIndex, requireWellFormed);
594
- this.level--;
595
- }
596
- }
597
- /**
598
- * 20. Append the following to markup, in the order listed:
599
- * 20.1. "</" (U+003C LESS-THAN SIGN, U+002F SOLIDUS);
600
- * 20.2. The value of qualified name;
601
- * 20.3. ">" (U+003E GREATER-THAN SIGN).
602
- * 21. Return the value of markup.
603
- */
604
- this.closeTag(qualifiedName);
605
- this.endElement(qualifiedName);
606
- }
607
- /**
608
- * Produces an XML serialization of an element node.
609
- *
610
- * @param node - node to serialize
611
- * @param requireWellFormed - whether to check conformance
612
- */
613
- _serializeElement(node, requireWellFormed) {
614
- /**
615
- * From: https://w3c.github.io/DOM-Parsing/#xml-serializing-an-element-node
616
- *
617
- * 1. If the require well-formed flag is set (its value is true), and this
618
- * node's localName attribute contains the character ":" (U+003A COLON) or
619
- * does not match the XML Name production, then throw an exception; the
620
- * serialization of this node would not be a well-formed element.
621
- */
622
- if (requireWellFormed && (node.localName.indexOf(":") !== -1 ||
623
- !(0, algorithm_1.xml_isName)(node.localName))) {
624
- throw new Error("Node local name contains invalid characters (well-formed required).");
625
- }
626
- /**
627
- * 2. Let markup be the string "<" (U+003C LESS-THAN SIGN).
628
- * 3. Let qualified name be an empty string.
629
- * 4. Let skip end tag be a boolean flag with value false.
630
- * 5. Let ignore namespace definition attribute be a boolean flag with value
631
- * false.
632
- * 6. Given prefix map, copy a namespace prefix map and let map be the
633
- * result.
634
- * 7. Let local prefixes map be an empty map. The map has unique Node prefix
635
- * strings as its keys, with corresponding namespaceURI Node values as the
636
- * map's key values (in this map, the null namespace is represented by the
637
- * empty string).
638
- *
639
- * _Note:_ This map is local to each element. It is used to ensure there
640
- * are no conflicting prefixes should a new namespace prefix attribute need
641
- * to be generated. It is also used to enable skipping of duplicate prefix
642
- * definitions when writing an element's attributes: the map allows the
643
- * algorithm to distinguish between a prefix in the namespace prefix map
644
- * that might be locally-defined (to the current Element) and one that is
645
- * not.
646
- * 8. Let local default namespace be the result of recording the namespace
647
- * information for node given map and local prefixes map.
648
- *
649
- * _Note:_ The above step will update map with any found namespace prefix
650
- * definitions, add the found prefix definitions to the local prefixes map
651
- * and return a local default namespace value defined by a default namespace
652
- * attribute if one exists. Otherwise it returns null.
653
- * 9. Let inherited ns be a copy of namespace.
654
- * 10. Let ns be the value of node's namespaceURI attribute.
655
- */
656
- let skipEndTag = false;
657
- /** 11. If inherited ns is equal to ns, then: */
658
- /**
659
- * 11.1. If local default namespace is not null, then set ignore
660
- * namespace definition attribute to true.
661
- */
662
- /**
663
- * 11.2. If ns is the XML namespace, then append to qualified name the
664
- * concatenation of the string "xml:" and the value of node's localName.
665
- * 11.3. Otherwise, append to qualified name the value of node's
666
- * localName. The node's prefix if it exists, is dropped.
667
- */
668
- const qualifiedName = node.localName;
669
- /** 11.4. Append the value of qualified name to markup. */
670
- this.beginElement(qualifiedName);
671
- this.openTagBegin(qualifiedName);
672
- /**
673
- * 13. Append to markup the result of the XML serialization of node's
674
- * attributes given map, prefix index, local prefixes map, ignore namespace
675
- * definition attribute flag, and require well-formed flag.
676
- */
677
- const attributes = this._serializeAttributes(node, requireWellFormed);
678
- this.attributes(attributes);
679
- /**
680
- * 14. If ns is the HTML namespace, and the node's list of children is
681
- * empty, and the node's localName matches any one of the following void
682
- * elements: "area", "base", "basefont", "bgsound", "br", "col", "embed",
683
- * "frame", "hr", "img", "input", "keygen", "link", "menuitem", "meta",
684
- * "param", "source", "track", "wbr"; then append the following to markup,
685
- * in the order listed:
686
- * 14.1. " " (U+0020 SPACE);
687
- * 14.2. "/" (U+002F SOLIDUS).
688
- * and set the skip end tag flag to true.
689
- * 15. If ns is not the HTML namespace, and the node's list of children is
690
- * empty, then append "/" (U+002F SOLIDUS) to markup and set the skip end
691
- * tag flag to true.
692
- * 16. Append ">" (U+003E GREATER-THAN SIGN) to markup.
693
- */
694
- if (!node.hasChildNodes()) {
695
- this.openTagEnd(qualifiedName, true, false);
696
- this.endElement(qualifiedName);
697
- skipEndTag = true;
698
- }
699
- else {
700
- this.openTagEnd(qualifiedName, false, false);
701
- }
702
- /**
703
- * 17. If the value of skip end tag is true, then return the value of markup
704
- * and skip the remaining steps. The node is a leaf-node.
705
- */
706
- if (skipEndTag)
707
- return;
708
- /**
709
- * 18. If ns is the HTML namespace, and the node's localName matches the
710
- * string "template", then this is a template element. Append to markup the
711
- * result of XML serializing a DocumentFragment node given the template
712
- * element's template contents (a DocumentFragment), providing inherited
713
- * ns, map, prefix index, and the require well-formed flag.
714
- *
715
- * _Note:_ This allows template content to round-trip, given the rules for
716
- * parsing XHTML documents.
717
- *
718
- * 19. Otherwise, append to markup the result of running the XML
719
- * serialization algorithm on each of node's children, in tree order,
720
- * providing inherited ns, map, prefix index, and the require well-formed
721
- * flag.
722
- */
723
- for (const childNode of node._children) {
724
- this.level++;
725
- this._serializeNode(childNode, requireWellFormed);
726
- this.level--;
727
- }
728
- /**
729
- * 20. Append the following to markup, in the order listed:
730
- * 20.1. "</" (U+003C LESS-THAN SIGN, U+002F SOLIDUS);
731
- * 20.2. The value of qualified name;
732
- * 20.3. ">" (U+003E GREATER-THAN SIGN).
733
- * 21. Return the value of markup.
734
- */
735
- this.closeTag(qualifiedName);
736
- this.endElement(qualifiedName);
737
- }
738
- /**
739
- * Produces an XML serialization of a document node.
740
- *
741
- * @param node - node to serialize
742
- * @param namespace - context namespace
743
- * @param prefixMap - namespace prefix map
744
- * @param prefixIndex - generated namespace prefix index
745
- * @param requireWellFormed - whether to check conformance
746
- */
747
- _serializeDocumentNS(node, namespace, prefixMap, prefixIndex, requireWellFormed) {
748
- /**
749
- * If the require well-formed flag is set (its value is true), and this node
750
- * has no documentElement (the documentElement attribute's value is null),
751
- * then throw an exception; the serialization of this node would not be a
752
- * well-formed document.
753
- */
754
- if (requireWellFormed && node.documentElement === null) {
755
- throw new Error("Missing document element (well-formed required).");
756
- }
757
- /**
758
- * Otherwise, run the following steps:
759
- * 1. Let serialized document be an empty string.
760
- * 2. For each child child of node, in tree order, run the XML
761
- * serialization algorithm on the child passing along the provided
762
- * arguments, and append the result to serialized document.
763
- *
764
- * _Note:_ This will serialize any number of ProcessingInstruction and
765
- * Comment nodes both before and after the Document's documentElement node,
766
- * including at most one DocumentType node. (Text nodes are not allowed as
767
- * children of the Document.)
768
- *
769
- * 3. Return the value of serialized document.
770
- */
771
- for (const childNode of node.childNodes) {
772
- this._serializeNodeNS(childNode, namespace, prefixMap, prefixIndex, requireWellFormed);
773
- }
774
- }
775
- /**
776
- * Produces an XML serialization of a document node.
777
- *
778
- * @param node - node to serialize
779
- * @param requireWellFormed - whether to check conformance
780
- */
781
- _serializeDocument(node, requireWellFormed) {
782
- /**
783
- * If the require well-formed flag is set (its value is true), and this node
784
- * has no documentElement (the documentElement attribute's value is null),
785
- * then throw an exception; the serialization of this node would not be a
786
- * well-formed document.
787
- */
788
- if (requireWellFormed && node.documentElement === null) {
789
- throw new Error("Missing document element (well-formed required).");
790
- }
791
- /**
792
- * Otherwise, run the following steps:
793
- * 1. Let serialized document be an empty string.
794
- * 2. For each child child of node, in tree order, run the XML
795
- * serialization algorithm on the child passing along the provided
796
- * arguments, and append the result to serialized document.
797
- *
798
- * _Note:_ This will serialize any number of ProcessingInstruction and
799
- * Comment nodes both before and after the Document's documentElement node,
800
- * including at most one DocumentType node. (Text nodes are not allowed as
801
- * children of the Document.)
802
- *
803
- * 3. Return the value of serialized document.
804
- */
805
- for (const childNode of node._children) {
806
- this._serializeNode(childNode, requireWellFormed);
807
- }
808
- }
809
- /**
810
- * Produces an XML serialization of a comment node.
811
- *
812
- * @param node - node to serialize
813
- * @param requireWellFormed - whether to check conformance
814
- */
815
- _serializeComment(node, requireWellFormed) {
816
- /**
817
- * If the require well-formed flag is set (its value is true), and node's
818
- * data contains characters that are not matched by the XML Char production
819
- * or contains "--" (two adjacent U+002D HYPHEN-MINUS characters) or that
820
- * ends with a "-" (U+002D HYPHEN-MINUS) character, then throw an exception;
821
- * the serialization of this node's data would not be well-formed.
822
- */
823
- if (requireWellFormed && (!(0, algorithm_1.xml_isLegalChar)(node.data) ||
824
- node.data.indexOf("--") !== -1 || node.data.endsWith("-"))) {
825
- throw new Error("Comment data contains invalid characters (well-formed required).");
826
- }
827
- /**
828
- * Otherwise, return the concatenation of "<!--", node's data, and "-->".
829
- */
830
- this.comment(node.data);
831
- }
832
- /**
833
- * Produces an XML serialization of a text node.
834
- *
835
- * @param node - node to serialize
836
- * @param requireWellFormed - whether to check conformance
837
- * @param level - current depth of the XML tree
838
- */
839
- _serializeText(node, requireWellFormed) {
840
- /**
841
- * 1. If the require well-formed flag is set (its value is true), and
842
- * node's data contains characters that are not matched by the XML Char
843
- * production, then throw an exception; the serialization of this node's
844
- * data would not be well-formed.
845
- */
846
- if (requireWellFormed && !(0, algorithm_1.xml_isLegalChar)(node.data)) {
847
- throw new Error("Text data contains invalid characters (well-formed required).");
848
- }
849
- /**
850
- * 2. Let markup be the value of node's data.
851
- * 3. Replace any occurrences of "&" in markup by "&amp;".
852
- * 4. Replace any occurrences of "<" in markup by "&lt;".
853
- * 5. Replace any occurrences of ">" in markup by "&gt;".
854
- * 6. Return the value of markup.
855
- */
856
- const markup = node.data.replace(constants_1.nonEntityAmpersandRegex, '&amp;')
857
- .replace(/</g, '&lt;')
858
- .replace(/>/g, '&gt;');
859
- this.text(markup);
860
- }
861
- /**
862
- * Produces an XML serialization of a document fragment node.
863
- *
864
- * @param node - node to serialize
865
- * @param namespace - context namespace
866
- * @param prefixMap - namespace prefix map
867
- * @param prefixIndex - generated namespace prefix index
868
- * @param requireWellFormed - whether to check conformance
869
- */
870
- _serializeDocumentFragmentNS(node, namespace, prefixMap, prefixIndex, requireWellFormed) {
871
- /**
872
- * 1. Let markup the empty string.
873
- * 2. For each child child of node, in tree order, run the XML serialization
874
- * algorithm on the child given namespace, prefix map, a reference to prefix
875
- * index, and flag require well-formed. Concatenate the result to markup.
876
- * 3. Return the value of markup.
877
- */
878
- for (const childNode of node.childNodes) {
879
- this._serializeNodeNS(childNode, namespace, prefixMap, prefixIndex, requireWellFormed);
880
- }
881
- }
882
- /**
883
- * Produces an XML serialization of a document fragment node.
884
- *
885
- * @param node - node to serialize
886
- * @param requireWellFormed - whether to check conformance
887
- */
888
- _serializeDocumentFragment(node, requireWellFormed) {
889
- /**
890
- * 1. Let markup the empty string.
891
- * 2. For each child child of node, in tree order, run the XML serialization
892
- * algorithm on the child given namespace, prefix map, a reference to prefix
893
- * index, and flag require well-formed. Concatenate the result to markup.
894
- * 3. Return the value of markup.
895
- */
896
- for (const childNode of node._children) {
897
- this._serializeNode(childNode, requireWellFormed);
898
- }
899
- }
900
- /**
901
- * Produces an XML serialization of a document type node.
902
- *
903
- * @param node - node to serialize
904
- * @param requireWellFormed - whether to check conformance
905
- */
906
- _serializeDocumentType(node, requireWellFormed) {
907
- /**
908
- * 1. If the require well-formed flag is true and the node's publicId
909
- * attribute contains characters that are not matched by the XML PubidChar
910
- * production, then throw an exception; the serialization of this node
911
- * would not be a well-formed document type declaration.
912
- */
913
- if (requireWellFormed && !(0, algorithm_1.xml_isPubidChar)(node.publicId)) {
914
- throw new Error("DocType public identifier does not match PubidChar construct (well-formed required).");
915
- }
916
- /**
917
- * 2. If the require well-formed flag is true and the node's systemId
918
- * attribute contains characters that are not matched by the XML Char
919
- * production or that contains both a """ (U+0022 QUOTATION MARK) and a
920
- * "'" (U+0027 APOSTROPHE), then throw an exception; the serialization
921
- * of this node would not be a well-formed document type declaration.
922
- */
923
- if (requireWellFormed &&
924
- (!(0, algorithm_1.xml_isLegalChar)(node.systemId) ||
925
- (node.systemId.indexOf('"') !== -1 && node.systemId.indexOf("'") !== -1))) {
926
- throw new Error("DocType system identifier contains invalid characters (well-formed required).");
927
- }
928
- /**
929
- * 3. Let markup be an empty string.
930
- * 4. Append the string "<!DOCTYPE" to markup.
931
- * 5. Append " " (U+0020 SPACE) to markup.
932
- * 6. Append the value of the node's name attribute to markup. For a node
933
- * belonging to an HTML document, the value will be all lowercase.
934
- * 7. If the node's publicId is not the empty string then append the
935
- * following, in the order listed, to markup:
936
- * 7.1. " " (U+0020 SPACE);
937
- * 7.2. The string "PUBLIC";
938
- * 7.3. " " (U+0020 SPACE);
939
- * 7.4. """ (U+0022 QUOTATION MARK);
940
- * 7.5. The value of the node's publicId attribute;
941
- * 7.6. """ (U+0022 QUOTATION MARK).
942
- * 8. If the node's systemId is not the empty string and the node's publicId
943
- * is set to the empty string, then append the following, in the order
944
- * listed, to markup:
945
- * 8.1. " " (U+0020 SPACE);
946
- * 8.2. The string "SYSTEM".
947
- * 9. If the node's systemId is not the empty string then append the
948
- * following, in the order listed, to markup:
949
- * 9.2. " " (U+0020 SPACE);
950
- * 9.3. """ (U+0022 QUOTATION MARK);
951
- * 9.3. The value of the node's systemId attribute;
952
- * 9.4. """ (U+0022 QUOTATION MARK).
953
- * 10. Append ">" (U+003E GREATER-THAN SIGN) to markup.
954
- * 11. Return the value of markup.
955
- */
956
- this.docType(node.name, node.publicId, node.systemId);
957
- }
958
- /**
959
- * Produces an XML serialization of a processing instruction node.
960
- *
961
- * @param node - node to serialize
962
- * @param requireWellFormed - whether to check conformance
963
- */
964
- _serializeProcessingInstruction(node, requireWellFormed) {
965
- /**
966
- * 1. If the require well-formed flag is set (its value is true), and node's
967
- * target contains a ":" (U+003A COLON) character or is an ASCII
968
- * case-insensitive match for the string "xml", then throw an exception;
969
- * the serialization of this node's target would not be well-formed.
970
- */
971
- if (requireWellFormed && (node.target.indexOf(":") !== -1 || (/^xml$/i).test(node.target))) {
972
- throw new Error("Processing instruction target contains invalid characters (well-formed required).");
973
- }
974
- /**
975
- * 2. If the require well-formed flag is set (its value is true), and node's
976
- * data contains characters that are not matched by the XML Char production
977
- * or contains the string "?>" (U+003F QUESTION MARK,
978
- * U+003E GREATER-THAN SIGN), then throw an exception; the serialization of
979
- * this node's data would not be well-formed.
980
- */
981
- if (requireWellFormed && (!(0, algorithm_1.xml_isLegalChar)(node.data) ||
982
- node.data.indexOf("?>") !== -1)) {
983
- throw new Error("Processing instruction data contains invalid characters (well-formed required).");
984
- }
985
- /**
986
- * 3. Let markup be the concatenation of the following, in the order listed:
987
- * 3.1. "<?" (U+003C LESS-THAN SIGN, U+003F QUESTION MARK);
988
- * 3.2. The value of node's target;
989
- * 3.3. " " (U+0020 SPACE);
990
- * 3.4. The value of node's data;
991
- * 3.5. "?>" (U+003F QUESTION MARK, U+003E GREATER-THAN SIGN).
992
- * 4. Return the value of markup.
993
- */
994
- this.instruction(node.target, node.data);
995
- }
996
- /**
997
- * Produces an XML serialization of a CDATA node.
998
- *
999
- * @param node - node to serialize
1000
- * @param requireWellFormed - whether to check conformance
1001
- */
1002
- _serializeCData(node, requireWellFormed) {
1003
- if (requireWellFormed && (node.data.indexOf("]]>") !== -1)) {
1004
- throw new Error("CDATA contains invalid characters (well-formed required).");
1005
- }
1006
- this.cdata(node.data);
1007
- }
1008
- /**
1009
- * Produces an XML serialization of the attributes of an element node.
1010
- *
1011
- * @param node - node to serialize
1012
- * @param map - namespace prefix map
1013
- * @param prefixIndex - generated namespace prefix index
1014
- * @param localPrefixesMap - local prefixes map
1015
- * @param ignoreNamespaceDefinitionAttribute - whether to ignore namespace
1016
- * attributes
1017
- * @param requireWellFormed - whether to check conformance
1018
- */
1019
- _serializeAttributesNS(node, map, prefixIndex, localPrefixesMap, ignoreNamespaceDefinitionAttribute, requireWellFormed) {
1020
- /**
1021
- * 1. Let result be the empty string.
1022
- * 2. Let localname set be a new empty namespace localname set. This
1023
- * localname set will contain tuples of unique attribute namespaceURI and
1024
- * localName pairs, and is populated as each attr is processed. This set is
1025
- * used to [optionally] enforce the well-formed constraint that an element
1026
- * cannot have two attributes with the same namespaceURI and localName.
1027
- * This can occur when two otherwise identical attributes on the same
1028
- * element differ only by their prefix values.
1029
- */
1030
- const result = [];
1031
- const localNameSet = requireWellFormed ? new LocalNameSet_1.LocalNameSet() : undefined;
1032
- /**
1033
- * 3. Loop: For each attribute attr in element's attributes, in the order
1034
- * they are specified in the element's attribute list:
1035
- */
1036
- for (const attr of node.attributes) {
1037
- // Optimize common case
1038
- if (!requireWellFormed && !ignoreNamespaceDefinitionAttribute && attr.namespaceURI === null) {
1039
- result.push([null, null, attr.localName,
1040
- this._serializeAttributeValue(attr.value, requireWellFormed)]);
1041
- continue;
1042
- }
1043
- /**
1044
- * 3.1. If the require well-formed flag is set (its value is true), and the
1045
- * localname set contains a tuple whose values match those of a new tuple
1046
- * consisting of attr's namespaceURI attribute and localName attribute,
1047
- * then throw an exception; the serialization of this attr would fail to
1048
- * produce a well-formed element serialization.
1049
- */
1050
- if (requireWellFormed && localNameSet && localNameSet.has(attr.namespaceURI, attr.localName)) {
1051
- throw new Error("Element contains duplicate attributes (well-formed required).");
1052
- }
1053
- /**
1054
- * 3.2. Create a new tuple consisting of attr's namespaceURI attribute and
1055
- * localName attribute, and add it to the localname set.
1056
- * 3.3. Let attribute namespace be the value of attr's namespaceURI value.
1057
- * 3.4. Let candidate prefix be null.
1058
- */
1059
- if (requireWellFormed && localNameSet)
1060
- localNameSet.set(attr.namespaceURI, attr.localName);
1061
- let attributeNamespace = attr.namespaceURI;
1062
- let candidatePrefix = null;
1063
- /** 3.5. If attribute namespace is not null, then run these sub-steps: */
1064
- if (attributeNamespace !== null) {
1065
- /**
1066
- * 3.5.1. Let candidate prefix be the result of retrieving a preferred
1067
- * prefix string from map given namespace attribute namespace with
1068
- * preferred prefix being attr's prefix value.
1069
- */
1070
- candidatePrefix = map.get(attr.prefix, attributeNamespace);
1071
- /**
1072
- * 3.5.2. If the value of attribute namespace is the XMLNS namespace,
1073
- * then run these steps:
1074
- */
1075
- if (attributeNamespace === infra_1.namespace.XMLNS) {
1076
- /**
1077
- * 3.5.2.1. If any of the following are true, then stop running these
1078
- * steps and goto Loop to visit the next attribute:
1079
- * - the attr's value is the XML namespace;
1080
- * _Note:_ The XML namespace cannot be redeclared and survive
1081
- * round-tripping (unless it defines the prefix "xml"). To avoid this
1082
- * problem, this algorithm always prefixes elements in the XML
1083
- * namespace with "xml" and drops any related definitions as seen
1084
- * in the above condition.
1085
- * - the attr's prefix is null and the ignore namespace definition
1086
- * attribute flag is true (the Element's default namespace attribute
1087
- * should be skipped);
1088
- * - the attr's prefix is not null and either
1089
- * * the attr's localName is not a key contained in the local
1090
- * prefixes map, or
1091
- * * the attr's localName is present in the local prefixes map but
1092
- * the value of the key does not match attr's value
1093
- * and furthermore that the attr's localName (as the prefix to find)
1094
- * is found in the namespace prefix map given the namespace consisting
1095
- * of the attr's value (the current namespace prefix definition was
1096
- * exactly defined previously--on an ancestor element not the current
1097
- * element whose attributes are being processed).
1098
- */
1099
- if (attr.value === infra_1.namespace.XML ||
1100
- (attr.prefix === null && ignoreNamespaceDefinitionAttribute) ||
1101
- (attr.prefix !== null && (!(attr.localName in localPrefixesMap) ||
1102
- localPrefixesMap[attr.localName] !== attr.value) &&
1103
- map.has(attr.localName, attr.value)))
1104
- continue;
1105
- /**
1106
- * 3.5.2.2. If the require well-formed flag is set (its value is true),
1107
- * and the value of attr's value attribute matches the XMLNS
1108
- * namespace, then throw an exception; the serialization of this
1109
- * attribute would produce invalid XML because the XMLNS namespace
1110
- * is reserved and cannot be applied as an element's namespace via
1111
- * XML parsing.
1112
- *
1113
- * _Note:_ DOM APIs do allow creation of elements in the XMLNS
1114
- * namespace but with strict qualifications.
1115
- */
1116
- if (requireWellFormed && attr.value === infra_1.namespace.XMLNS) {
1117
- throw new Error("XMLNS namespace is reserved (well-formed required).");
1118
- }
1119
- /**
1120
- * 3.5.2.3. If the require well-formed flag is set (its value is true),
1121
- * and the value of attr's value attribute is the empty string, then
1122
- * throw an exception; namespace prefix declarations cannot be used
1123
- * to undeclare a namespace (use a default namespace declaration
1124
- * instead).
1125
- */
1126
- if (requireWellFormed && attr.value === '') {
1127
- throw new Error("Namespace prefix declarations cannot be used to undeclare a namespace (well-formed required).");
1128
- }
1129
- /**
1130
- * 3.5.2.4. the attr's prefix matches the string "xmlns", then let
1131
- * candidate prefix be the string "xmlns".
1132
- */
1133
- if (attr.prefix === 'xmlns')
1134
- candidatePrefix = 'xmlns';
1135
- /**
1136
- * 3.5.3. Otherwise, the attribute namespace is not the XMLNS namespace.
1137
- * Run these steps:
1138
- *
1139
- * _Note:_ The (candidatePrefix === null) check is not in the spec.
1140
- * We deviate from the spec here. Otherwise a prefix is generated for
1141
- * all attributes with namespaces.
1142
- */
1143
- }
1144
- else if (candidatePrefix === null) {
1145
- if (attr.prefix !== null &&
1146
- (!map.hasPrefix(attr.prefix) ||
1147
- map.has(attr.prefix, attributeNamespace))) {
1148
- /**
1149
- * Check if we can use the attribute's own prefix.
1150
- * We deviate from the spec here.
1151
- * TODO: This is not an efficient way of searching for prefixes.
1152
- * Follow developments to the spec.
1153
- */
1154
- candidatePrefix = attr.prefix;
1155
- }
1156
- else {
1157
- /**
1158
- * 3.5.3.1. Let candidate prefix be the result of generating a prefix
1159
- * providing map, attribute namespace, and prefix index as input.
1160
- */
1161
- candidatePrefix = this._generatePrefix(attributeNamespace, map, prefixIndex);
1162
- }
1163
- /**
1164
- * 3.5.3.2. Append the following to result, in the order listed:
1165
- * 3.5.3.2.1. " " (U+0020 SPACE);
1166
- * 3.5.3.2.2. The string "xmlns:";
1167
- * 3.5.3.2.3. The value of candidate prefix;
1168
- * 3.5.3.2.4. "="" (U+003D EQUALS SIGN, U+0022 QUOTATION MARK);
1169
- * 3.5.3.2.5. The result of serializing an attribute value given
1170
- * attribute namespace and the require well-formed flag as input;
1171
- * 3.5.3.2.6. """ (U+0022 QUOTATION MARK).
1172
- */
1173
- result.push([null, "xmlns", candidatePrefix,
1174
- this._serializeAttributeValue(attributeNamespace, requireWellFormed)]);
1175
- }
1176
- }
1177
- /**
1178
- * 3.6. Append a " " (U+0020 SPACE) to result.
1179
- * 3.7. If candidate prefix is not null, then append to result the
1180
- * concatenation of candidate prefix with ":" (U+003A COLON).
1181
- */
1182
- let attrName = '';
1183
- if (candidatePrefix !== null) {
1184
- attrName = candidatePrefix;
1185
- }
1186
- /**
1187
- * 3.8. If the require well-formed flag is set (its value is true), and
1188
- * this attr's localName attribute contains the character
1189
- * ":" (U+003A COLON) or does not match the XML Name production or
1190
- * equals "xmlns" and attribute namespace is null, then throw an
1191
- * exception; the serialization of this attr would not be a
1192
- * well-formed attribute.
1193
- */
1194
- if (requireWellFormed && (attr.localName.indexOf(":") !== -1 ||
1195
- !(0, algorithm_1.xml_isName)(attr.localName) ||
1196
- (attr.localName === "xmlns" && attributeNamespace === null))) {
1197
- throw new Error("Attribute local name contains invalid characters (well-formed required).");
1198
- }
1199
- /**
1200
- * 3.9. Append the following strings to result, in the order listed:
1201
- * 3.9.1. The value of attr's localName;
1202
- * 3.9.2. "="" (U+003D EQUALS SIGN, U+0022 QUOTATION MARK);
1203
- * 3.9.3. The result of serializing an attribute value given attr's value
1204
- * attribute and the require well-formed flag as input;
1205
- * 3.9.4. """ (U+0022 QUOTATION MARK).
1206
- */
1207
- result.push([attributeNamespace, candidatePrefix, attr.localName,
1208
- this._serializeAttributeValue(attr.value, requireWellFormed)]);
1209
- }
1210
- /**
1211
- * 4. Return the value of result.
1212
- */
1213
- return result;
1214
- }
1215
- /**
1216
- * Produces an XML serialization of the attributes of an element node.
1217
- *
1218
- * @param node - node to serialize
1219
- * @param requireWellFormed - whether to check conformance
1220
- */
1221
- _serializeAttributes(node, requireWellFormed) {
1222
- /**
1223
- * 1. Let result be the empty string.
1224
- * 2. Let localname set be a new empty namespace localname set. This
1225
- * localname set will contain tuples of unique attribute namespaceURI and
1226
- * localName pairs, and is populated as each attr is processed. This set is
1227
- * used to [optionally] enforce the well-formed constraint that an element
1228
- * cannot have two attributes with the same namespaceURI and localName.
1229
- * This can occur when two otherwise identical attributes on the same
1230
- * element differ only by their prefix values.
1231
- */
1232
- const result = [];
1233
- const localNameSet = requireWellFormed ? {} : undefined;
1234
- /**
1235
- * 3. Loop: For each attribute attr in element's attributes, in the order
1236
- * they are specified in the element's attribute list:
1237
- */
1238
- for (const attr of node.attributes) {
1239
- // Optimize common case
1240
- if (!requireWellFormed) {
1241
- result.push([null, null, attr.localName,
1242
- this._serializeAttributeValue(attr.value, requireWellFormed)]);
1243
- continue;
1244
- }
1245
- /**
1246
- * 3.1. If the require well-formed flag is set (its value is true), and the
1247
- * localname set contains a tuple whose values match those of a new tuple
1248
- * consisting of attr's namespaceURI attribute and localName attribute,
1249
- * then throw an exception; the serialization of this attr would fail to
1250
- * produce a well-formed element serialization.
1251
- */
1252
- if (requireWellFormed && localNameSet && (attr.localName in localNameSet)) {
1253
- throw new Error("Element contains duplicate attributes (well-formed required).");
1254
- }
1255
- /**
1256
- * 3.2. Create a new tuple consisting of attr's namespaceURI attribute and
1257
- * localName attribute, and add it to the localname set.
1258
- * 3.3. Let attribute namespace be the value of attr's namespaceURI value.
1259
- * 3.4. Let candidate prefix be null.
1260
- */
1261
- /* istanbul ignore else */
1262
- if (requireWellFormed && localNameSet)
1263
- localNameSet[attr.localName] = true;
1264
- /** 3.5. If attribute namespace is not null, then run these sub-steps: */
1265
- /**
1266
- * 3.6. Append a " " (U+0020 SPACE) to result.
1267
- * 3.7. If candidate prefix is not null, then append to result the
1268
- * concatenation of candidate prefix with ":" (U+003A COLON).
1269
- */
1270
- /**
1271
- * 3.8. If the require well-formed flag is set (its value is true), and
1272
- * this attr's localName attribute contains the character
1273
- * ":" (U+003A COLON) or does not match the XML Name production or
1274
- * equals "xmlns" and attribute namespace is null, then throw an
1275
- * exception; the serialization of this attr would not be a
1276
- * well-formed attribute.
1277
- */
1278
- if (requireWellFormed && (attr.localName.indexOf(":") !== -1 ||
1279
- !(0, algorithm_1.xml_isName)(attr.localName))) {
1280
- throw new Error("Attribute local name contains invalid characters (well-formed required).");
1281
- }
1282
- /**
1283
- * 3.9. Append the following strings to result, in the order listed:
1284
- * 3.9.1. The value of attr's localName;
1285
- * 3.9.2. "="" (U+003D EQUALS SIGN, U+0022 QUOTATION MARK);
1286
- * 3.9.3. The result of serializing an attribute value given attr's value
1287
- * attribute and the require well-formed flag as input;
1288
- * 3.9.4. """ (U+0022 QUOTATION MARK).
1289
- */
1290
- result.push([null, null, attr.localName,
1291
- this._serializeAttributeValue(attr.value, requireWellFormed)]);
1292
- }
1293
- /**
1294
- * 4. Return the value of result.
1295
- */
1296
- return result;
1297
- }
1298
- /**
1299
- * Records namespace information for the given element and returns the
1300
- * default namespace attribute value.
1301
- *
1302
- * @param node - element node to process
1303
- * @param map - namespace prefix map
1304
- * @param localPrefixesMap - local prefixes map
1305
- */
1306
- _recordNamespaceInformation(node, map, localPrefixesMap) {
1307
- /**
1308
- * 1. Let default namespace attr value be null.
1309
- */
1310
- let defaultNamespaceAttrValue = null;
1311
- /**
1312
- * 2. Main: For each attribute attr in element's attributes, in the order
1313
- * they are specified in the element's attribute list:
1314
- */
1315
- for (const attr of node.attributes) {
1316
- /**
1317
- * _Note:_ The following conditional steps find namespace prefixes. Only
1318
- * attributes in the XMLNS namespace are considered (e.g., attributes made
1319
- * to look like namespace declarations via
1320
- * setAttribute("xmlns:pretend-prefix", "pretend-namespace") are not
1321
- * included).
1322
- */
1323
- /** 2.1. Let attribute namespace be the value of attr's namespaceURI value. */
1324
- let attributeNamespace = attr.namespaceURI;
1325
- /** 2.2. Let attribute prefix be the value of attr's prefix. */
1326
- let attributePrefix = attr.prefix;
1327
- /** 2.3. If the attribute namespace is the XMLNS namespace, then: */
1328
- if (attributeNamespace === infra_1.namespace.XMLNS) {
1329
- /**
1330
- * 2.3.1. If attribute prefix is null, then attr is a default namespace
1331
- * declaration. Set the default namespace attr value to attr's value and
1332
- * stop running these steps, returning to Main to visit the next
1333
- * attribute.
1334
- */
1335
- if (attributePrefix === null) {
1336
- defaultNamespaceAttrValue = attr.value;
1337
- continue;
1338
- /**
1339
- * 2.3.2. Otherwise, the attribute prefix is not null and attr is a
1340
- * namespace prefix definition. Run the following steps:
1341
- */
1342
- }
1343
- else {
1344
- /** 2.3.2.1. Let prefix definition be the value of attr's localName. */
1345
- let prefixDefinition = attr.localName;
1346
- /** 2.3.2.2. Let namespace definition be the value of attr's value. */
1347
- let namespaceDefinition = attr.value;
1348
- /**
1349
- * 2.3.2.3. If namespace definition is the XML namespace, then stop
1350
- * running these steps, and return to Main to visit the next
1351
- * attribute.
1352
- *
1353
- * _Note:_ XML namespace definitions in prefixes are completely
1354
- * ignored (in order to avoid unnecessary work when there might be
1355
- * prefix conflicts). XML namespaced elements are always handled
1356
- * uniformly by prefixing (and overriding if necessary) the element's
1357
- * localname with the reserved "xml" prefix.
1358
- */
1359
- if (namespaceDefinition === infra_1.namespace.XML) {
1360
- continue;
1361
- }
1362
- /**
1363
- * 2.3.2.4. If namespace definition is the empty string (the
1364
- * declarative form of having no namespace), then let namespace
1365
- * definition be null instead.
1366
- */
1367
- if (namespaceDefinition === '') {
1368
- namespaceDefinition = null;
1369
- }
1370
- /**
1371
- * 2.3.2.5. If prefix definition is found in map given the namespace
1372
- * namespace definition, then stop running these steps, and return to
1373
- * Main to visit the next attribute.
1374
- *
1375
- * _Note:_ This step avoids adding duplicate prefix definitions for
1376
- * the same namespace in the map. This has the side-effect of avoiding
1377
- * later serialization of duplicate namespace prefix declarations in
1378
- * any descendant nodes.
1379
- */
1380
- if (map.has(prefixDefinition, namespaceDefinition)) {
1381
- continue;
1382
- }
1383
- /**
1384
- * 2.3.2.6. Add the prefix prefix definition to map given namespace
1385
- * namespace definition.
1386
- */
1387
- map.set(prefixDefinition, namespaceDefinition);
1388
- /**
1389
- * 2.3.2.7. Add the value of prefix definition as a new key to the
1390
- * local prefixes map, with the namespace definition as the key's
1391
- * value replacing the value of null with the empty string if
1392
- * applicable.
1393
- */
1394
- localPrefixesMap[prefixDefinition] = namespaceDefinition || '';
1395
- }
1396
- }
1397
- }
1398
- /**
1399
- * 3. Return the value of default namespace attr value.
1400
- *
1401
- * _Note:_ The empty string is a legitimate return value and is not
1402
- * converted to null.
1403
- */
1404
- return defaultNamespaceAttrValue;
1405
- }
1406
- /**
1407
- * Generates a new prefix for the given namespace.
1408
- *
1409
- * @param newNamespace - a namespace to generate prefix for
1410
- * @param prefixMap - namespace prefix map
1411
- * @param prefixIndex - generated namespace prefix index
1412
- */
1413
- _generatePrefix(newNamespace, prefixMap, prefixIndex) {
1414
- /**
1415
- * 1. Let generated prefix be the concatenation of the string "ns" and the
1416
- * current numerical value of prefix index.
1417
- * 2. Let the value of prefix index be incremented by one.
1418
- * 3. Add to map the generated prefix given the new namespace namespace.
1419
- * 4. Return the value of generated prefix.
1420
- */
1421
- const generatedPrefix = "ns" + prefixIndex.value.toString();
1422
- prefixIndex.value++;
1423
- prefixMap.set(generatedPrefix, newNamespace);
1424
- return generatedPrefix;
1425
- }
1426
- /**
1427
- * Produces an XML serialization of an attribute value.
1428
- *
1429
- * @param value - attribute value
1430
- * @param requireWellFormed - whether to check conformance
1431
- */
1432
- _serializeAttributeValue(value, requireWellFormed) {
1433
- /**
1434
- * From: https://w3c.github.io/DOM-Parsing/#dfn-serializing-an-attribute-value
1435
- *
1436
- * 1. If the require well-formed flag is set (its value is true), and
1437
- * attribute value contains characters that are not matched by the XML Char
1438
- * production, then throw an exception; the serialization of this attribute
1439
- * value would fail to produce a well-formed element serialization.
1440
- */
1441
- if (requireWellFormed && value !== null && !(0, algorithm_1.xml_isLegalChar)(value)) {
1442
- throw new Error("Invalid characters in attribute value.");
1443
- }
1444
- /**
1445
- * 2. If attribute value is null, then return the empty string.
1446
- */
1447
- if (value === null)
1448
- return "";
1449
- /**
1450
- * 3. Otherwise, attribute value is a string. Return the value of attribute
1451
- * value, first replacing any occurrences of the following:
1452
- * - "&" with "&amp;"
1453
- * - """ with "&quot;"
1454
- * - "<" with "&lt;"
1455
- * - ">" with "&gt;"
1456
- * NOTE
1457
- * This matches behavior present in browsers, and goes above and beyond the
1458
- * grammar requirement in the XML specification's AttValue production by
1459
- * also replacing ">" characters.
1460
- */
1461
- return value.replace(constants_1.nonEntityAmpersandRegex, '&amp;')
1462
- .replace(/</g, '&lt;')
1463
- .replace(/>/g, '&gt;')
1464
- .replace(/"/g, '&quot;');
1465
- }
1466
- }
1467
- exports.BaseWriter = BaseWriter;
1468
- //# sourceMappingURL=BaseWriter.js.map