@pokash/n8n-nodes-ksef 0.2.16 → 0.2.18

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 (645) hide show
  1. package/package.json +10 -11
  2. package/node_modules/@oozcitak/dom/LICENSE +0 -21
  3. package/node_modules/@oozcitak/dom/README.md +0 -32
  4. package/node_modules/@oozcitak/dom/lib/algorithm/AbortAlgorithm.d.ts +0 -21
  5. package/node_modules/@oozcitak/dom/lib/algorithm/AbortAlgorithm.js +0 -79
  6. package/node_modules/@oozcitak/dom/lib/algorithm/AbortAlgorithm.js.map +0 -1
  7. package/node_modules/@oozcitak/dom/lib/algorithm/AttrAlgorithm.d.ts +0 -8
  8. package/node_modules/@oozcitak/dom/lib/algorithm/AttrAlgorithm.js +0 -23
  9. package/node_modules/@oozcitak/dom/lib/algorithm/AttrAlgorithm.js.map +0 -1
  10. package/node_modules/@oozcitak/dom/lib/algorithm/BoundaryPointAlgorithm.d.ts +0 -8
  11. package/node_modules/@oozcitak/dom/lib/algorithm/BoundaryPointAlgorithm.js +0 -76
  12. package/node_modules/@oozcitak/dom/lib/algorithm/BoundaryPointAlgorithm.js.map +0 -1
  13. package/node_modules/@oozcitak/dom/lib/algorithm/CharacterDataAlgorithm.d.ts +0 -19
  14. package/node_modules/@oozcitak/dom/lib/algorithm/CharacterDataAlgorithm.js +0 -140
  15. package/node_modules/@oozcitak/dom/lib/algorithm/CharacterDataAlgorithm.js.map +0 -1
  16. package/node_modules/@oozcitak/dom/lib/algorithm/CreateAlgorithm.d.ts +0 -192
  17. package/node_modules/@oozcitak/dom/lib/algorithm/CreateAlgorithm.js +0 -303
  18. package/node_modules/@oozcitak/dom/lib/algorithm/CreateAlgorithm.js.map +0 -1
  19. package/node_modules/@oozcitak/dom/lib/algorithm/CustomElementAlgorithm.d.ts +0 -61
  20. package/node_modules/@oozcitak/dom/lib/algorithm/CustomElementAlgorithm.js +0 -108
  21. package/node_modules/@oozcitak/dom/lib/algorithm/CustomElementAlgorithm.js.map +0 -1
  22. package/node_modules/@oozcitak/dom/lib/algorithm/DOMAlgorithm.d.ts +0 -72
  23. package/node_modules/@oozcitak/dom/lib/algorithm/DOMAlgorithm.js +0 -288
  24. package/node_modules/@oozcitak/dom/lib/algorithm/DOMAlgorithm.js.map +0 -1
  25. package/node_modules/@oozcitak/dom/lib/algorithm/DOMTokenListAlgorithm.d.ts +0 -21
  26. package/node_modules/@oozcitak/dom/lib/algorithm/DOMTokenListAlgorithm.js +0 -61
  27. package/node_modules/@oozcitak/dom/lib/algorithm/DOMTokenListAlgorithm.js.map +0 -1
  28. package/node_modules/@oozcitak/dom/lib/algorithm/DocumentAlgorithm.d.ts +0 -29
  29. package/node_modules/@oozcitak/dom/lib/algorithm/DocumentAlgorithm.js +0 -161
  30. package/node_modules/@oozcitak/dom/lib/algorithm/DocumentAlgorithm.js.map +0 -1
  31. package/node_modules/@oozcitak/dom/lib/algorithm/ElementAlgorithm.d.ts +0 -121
  32. package/node_modules/@oozcitak/dom/lib/algorithm/ElementAlgorithm.js +0 -608
  33. package/node_modules/@oozcitak/dom/lib/algorithm/ElementAlgorithm.js.map +0 -1
  34. package/node_modules/@oozcitak/dom/lib/algorithm/EventAlgorithm.d.ts +0 -146
  35. package/node_modules/@oozcitak/dom/lib/algorithm/EventAlgorithm.js +0 -995
  36. package/node_modules/@oozcitak/dom/lib/algorithm/EventAlgorithm.js.map +0 -1
  37. package/node_modules/@oozcitak/dom/lib/algorithm/EventTargetAlgorithm.d.ts +0 -33
  38. package/node_modules/@oozcitak/dom/lib/algorithm/EventTargetAlgorithm.js +0 -142
  39. package/node_modules/@oozcitak/dom/lib/algorithm/EventTargetAlgorithm.js.map +0 -1
  40. package/node_modules/@oozcitak/dom/lib/algorithm/MutationAlgorithm.d.ts +0 -66
  41. package/node_modules/@oozcitak/dom/lib/algorithm/MutationAlgorithm.js +0 -1173
  42. package/node_modules/@oozcitak/dom/lib/algorithm/MutationAlgorithm.js.map +0 -1
  43. package/node_modules/@oozcitak/dom/lib/algorithm/MutationObserverAlgorithm.d.ts +0 -43
  44. package/node_modules/@oozcitak/dom/lib/algorithm/MutationObserverAlgorithm.js +0 -276
  45. package/node_modules/@oozcitak/dom/lib/algorithm/MutationObserverAlgorithm.js.map +0 -1
  46. package/node_modules/@oozcitak/dom/lib/algorithm/NamespaceAlgorithm.d.ts +0 -25
  47. package/node_modules/@oozcitak/dom/lib/algorithm/NamespaceAlgorithm.js +0 -85
  48. package/node_modules/@oozcitak/dom/lib/algorithm/NamespaceAlgorithm.js.map +0 -1
  49. package/node_modules/@oozcitak/dom/lib/algorithm/NodeAlgorithm.d.ts +0 -68
  50. package/node_modules/@oozcitak/dom/lib/algorithm/NodeAlgorithm.js +0 -543
  51. package/node_modules/@oozcitak/dom/lib/algorithm/NodeAlgorithm.js.map +0 -1
  52. package/node_modules/@oozcitak/dom/lib/algorithm/NodeIteratorAlgorithm.d.ts +0 -15
  53. package/node_modules/@oozcitak/dom/lib/algorithm/NodeIteratorAlgorithm.js +0 -105
  54. package/node_modules/@oozcitak/dom/lib/algorithm/NodeIteratorAlgorithm.js.map +0 -1
  55. package/node_modules/@oozcitak/dom/lib/algorithm/OrderedSetAlgorithm.d.ts +0 -27
  56. package/node_modules/@oozcitak/dom/lib/algorithm/OrderedSetAlgorithm.js +0 -125
  57. package/node_modules/@oozcitak/dom/lib/algorithm/OrderedSetAlgorithm.js.map +0 -1
  58. package/node_modules/@oozcitak/dom/lib/algorithm/ParentNodeAlgorithm.d.ts +0 -9
  59. package/node_modules/@oozcitak/dom/lib/algorithm/ParentNodeAlgorithm.js +0 -69
  60. package/node_modules/@oozcitak/dom/lib/algorithm/ParentNodeAlgorithm.js.map +0 -1
  61. package/node_modules/@oozcitak/dom/lib/algorithm/RangeAlgorithm.d.ts +0 -82
  62. package/node_modules/@oozcitak/dom/lib/algorithm/RangeAlgorithm.js +0 -829
  63. package/node_modules/@oozcitak/dom/lib/algorithm/RangeAlgorithm.js.map +0 -1
  64. package/node_modules/@oozcitak/dom/lib/algorithm/SelectorsAlgorithm.d.ts +0 -8
  65. package/node_modules/@oozcitak/dom/lib/algorithm/SelectorsAlgorithm.js +0 -21
  66. package/node_modules/@oozcitak/dom/lib/algorithm/SelectorsAlgorithm.js.map +0 -1
  67. package/node_modules/@oozcitak/dom/lib/algorithm/ShadowTreeAlgorithm.d.ts +0 -57
  68. package/node_modules/@oozcitak/dom/lib/algorithm/ShadowTreeAlgorithm.js +0 -316
  69. package/node_modules/@oozcitak/dom/lib/algorithm/ShadowTreeAlgorithm.js.map +0 -1
  70. package/node_modules/@oozcitak/dom/lib/algorithm/TextAlgorithm.d.ts +0 -30
  71. package/node_modules/@oozcitak/dom/lib/algorithm/TextAlgorithm.js +0 -226
  72. package/node_modules/@oozcitak/dom/lib/algorithm/TextAlgorithm.js.map +0 -1
  73. package/node_modules/@oozcitak/dom/lib/algorithm/TraversalAlgorithm.d.ts +0 -8
  74. package/node_modules/@oozcitak/dom/lib/algorithm/TraversalAlgorithm.js +0 -62
  75. package/node_modules/@oozcitak/dom/lib/algorithm/TraversalAlgorithm.js.map +0 -1
  76. package/node_modules/@oozcitak/dom/lib/algorithm/TreeAlgorithm.d.ts +0 -268
  77. package/node_modules/@oozcitak/dom/lib/algorithm/TreeAlgorithm.js +0 -853
  78. package/node_modules/@oozcitak/dom/lib/algorithm/TreeAlgorithm.js.map +0 -1
  79. package/node_modules/@oozcitak/dom/lib/algorithm/TreeWalkerAlgorithm.d.ts +0 -17
  80. package/node_modules/@oozcitak/dom/lib/algorithm/TreeWalkerAlgorithm.js +0 -147
  81. package/node_modules/@oozcitak/dom/lib/algorithm/TreeWalkerAlgorithm.js.map +0 -1
  82. package/node_modules/@oozcitak/dom/lib/algorithm/WebIDLAlgorithm.d.ts +0 -8
  83. package/node_modules/@oozcitak/dom/lib/algorithm/WebIDLAlgorithm.js +0 -14
  84. package/node_modules/@oozcitak/dom/lib/algorithm/WebIDLAlgorithm.js.map +0 -1
  85. package/node_modules/@oozcitak/dom/lib/algorithm/XMLAlgorithm.d.ts +0 -25
  86. package/node_modules/@oozcitak/dom/lib/algorithm/XMLAlgorithm.js +0 -164
  87. package/node_modules/@oozcitak/dom/lib/algorithm/XMLAlgorithm.js.map +0 -1
  88. package/node_modules/@oozcitak/dom/lib/algorithm/index.d.ts +0 -28
  89. package/node_modules/@oozcitak/dom/lib/algorithm/index.js +0 -34
  90. package/node_modules/@oozcitak/dom/lib/algorithm/index.js.map +0 -1
  91. package/node_modules/@oozcitak/dom/lib/dom/AbortControllerImpl.d.ts +0 -15
  92. package/node_modules/@oozcitak/dom/lib/dom/AbortControllerImpl.js +0 -32
  93. package/node_modules/@oozcitak/dom/lib/dom/AbortControllerImpl.js.map +0 -1
  94. package/node_modules/@oozcitak/dom/lib/dom/AbortSignalImpl.d.ts +0 -23
  95. package/node_modules/@oozcitak/dom/lib/dom/AbortSignalImpl.js +0 -59
  96. package/node_modules/@oozcitak/dom/lib/dom/AbortSignalImpl.js.map +0 -1
  97. package/node_modules/@oozcitak/dom/lib/dom/AbstractRangeImpl.d.ts +0 -23
  98. package/node_modules/@oozcitak/dom/lib/dom/AbstractRangeImpl.js +0 -70
  99. package/node_modules/@oozcitak/dom/lib/dom/AbstractRangeImpl.js.map +0 -1
  100. package/node_modules/@oozcitak/dom/lib/dom/AttrImpl.d.ts +0 -45
  101. package/node_modules/@oozcitak/dom/lib/dom/AttrImpl.js +0 -118
  102. package/node_modules/@oozcitak/dom/lib/dom/AttrImpl.js.map +0 -1
  103. package/node_modules/@oozcitak/dom/lib/dom/CDATASectionImpl.d.ts +0 -21
  104. package/node_modules/@oozcitak/dom/lib/dom/CDATASectionImpl.js +0 -51
  105. package/node_modules/@oozcitak/dom/lib/dom/CDATASectionImpl.js.map +0 -1
  106. package/node_modules/@oozcitak/dom/lib/dom/CharacterDataImpl.d.ts +0 -35
  107. package/node_modules/@oozcitak/dom/lib/dom/CharacterDataImpl.js +0 -132
  108. package/node_modules/@oozcitak/dom/lib/dom/CharacterDataImpl.js.map +0 -1
  109. package/node_modules/@oozcitak/dom/lib/dom/ChildNodeImpl.d.ts +0 -16
  110. package/node_modules/@oozcitak/dom/lib/dom/ChildNodeImpl.js +0 -165
  111. package/node_modules/@oozcitak/dom/lib/dom/ChildNodeImpl.js.map +0 -1
  112. package/node_modules/@oozcitak/dom/lib/dom/CommentImpl.d.ts +0 -21
  113. package/node_modules/@oozcitak/dom/lib/dom/CommentImpl.js +0 -52
  114. package/node_modules/@oozcitak/dom/lib/dom/CommentImpl.js.map +0 -1
  115. package/node_modules/@oozcitak/dom/lib/dom/CustomEventImpl.d.ts +0 -16
  116. package/node_modules/@oozcitak/dom/lib/dom/CustomEventImpl.js +0 -60
  117. package/node_modules/@oozcitak/dom/lib/dom/CustomEventImpl.js.map +0 -1
  118. package/node_modules/@oozcitak/dom/lib/dom/DOMException.d.ts +0 -171
  119. package/node_modules/@oozcitak/dom/lib/dom/DOMException.js +0 -347
  120. package/node_modules/@oozcitak/dom/lib/dom/DOMException.js.map +0 -1
  121. package/node_modules/@oozcitak/dom/lib/dom/DOMImpl.d.ts +0 -48
  122. package/node_modules/@oozcitak/dom/lib/dom/DOMImpl.js +0 -100
  123. package/node_modules/@oozcitak/dom/lib/dom/DOMImpl.js.map +0 -1
  124. package/node_modules/@oozcitak/dom/lib/dom/DOMImplementationImpl.d.ts +0 -29
  125. package/node_modules/@oozcitak/dom/lib/dom/DOMImplementationImpl.js +0 -149
  126. package/node_modules/@oozcitak/dom/lib/dom/DOMImplementationImpl.js.map +0 -1
  127. package/node_modules/@oozcitak/dom/lib/dom/DOMTokenListImpl.d.ts +0 -46
  128. package/node_modules/@oozcitak/dom/lib/dom/DOMTokenListImpl.js +0 -312
  129. package/node_modules/@oozcitak/dom/lib/dom/DOMTokenListImpl.js.map +0 -1
  130. package/node_modules/@oozcitak/dom/lib/dom/DocumentFragmentImpl.d.ts +0 -32
  131. package/node_modules/@oozcitak/dom/lib/dom/DocumentFragmentImpl.js +0 -103
  132. package/node_modules/@oozcitak/dom/lib/dom/DocumentFragmentImpl.js.map +0 -1
  133. package/node_modules/@oozcitak/dom/lib/dom/DocumentImpl.d.ts +0 -116
  134. package/node_modules/@oozcitak/dom/lib/dom/DocumentImpl.js +0 -545
  135. package/node_modules/@oozcitak/dom/lib/dom/DocumentImpl.js.map +0 -1
  136. package/node_modules/@oozcitak/dom/lib/dom/DocumentOrShadowRootImpl.d.ts +0 -11
  137. package/node_modules/@oozcitak/dom/lib/dom/DocumentOrShadowRootImpl.js +0 -17
  138. package/node_modules/@oozcitak/dom/lib/dom/DocumentOrShadowRootImpl.js.map +0 -1
  139. package/node_modules/@oozcitak/dom/lib/dom/DocumentTypeImpl.d.ts +0 -39
  140. package/node_modules/@oozcitak/dom/lib/dom/DocumentTypeImpl.js +0 -109
  141. package/node_modules/@oozcitak/dom/lib/dom/DocumentTypeImpl.js.map +0 -1
  142. package/node_modules/@oozcitak/dom/lib/dom/ElementImpl.d.ts +0 -132
  143. package/node_modules/@oozcitak/dom/lib/dom/ElementImpl.js +0 -714
  144. package/node_modules/@oozcitak/dom/lib/dom/ElementImpl.js.map +0 -1
  145. package/node_modules/@oozcitak/dom/lib/dom/EventImpl.d.ts +0 -74
  146. package/node_modules/@oozcitak/dom/lib/dom/EventImpl.js +0 -313
  147. package/node_modules/@oozcitak/dom/lib/dom/EventImpl.js.map +0 -1
  148. package/node_modules/@oozcitak/dom/lib/dom/EventTargetImpl.d.ts +0 -30
  149. package/node_modules/@oozcitak/dom/lib/dom/EventTargetImpl.js +0 -133
  150. package/node_modules/@oozcitak/dom/lib/dom/EventTargetImpl.js.map +0 -1
  151. package/node_modules/@oozcitak/dom/lib/dom/HTMLCollectionImpl.d.ts +0 -44
  152. package/node_modules/@oozcitak/dom/lib/dom/HTMLCollectionImpl.js +0 -157
  153. package/node_modules/@oozcitak/dom/lib/dom/HTMLCollectionImpl.js.map +0 -1
  154. package/node_modules/@oozcitak/dom/lib/dom/MutationObserverImpl.d.ts +0 -22
  155. package/node_modules/@oozcitak/dom/lib/dom/MutationObserverImpl.js +0 -184
  156. package/node_modules/@oozcitak/dom/lib/dom/MutationObserverImpl.js.map +0 -1
  157. package/node_modules/@oozcitak/dom/lib/dom/MutationRecordImpl.d.ts +0 -73
  158. package/node_modules/@oozcitak/dom/lib/dom/MutationRecordImpl.js +0 -116
  159. package/node_modules/@oozcitak/dom/lib/dom/MutationRecordImpl.js.map +0 -1
  160. package/node_modules/@oozcitak/dom/lib/dom/NamedNodeMapImpl.d.ts +0 -34
  161. package/node_modules/@oozcitak/dom/lib/dom/NamedNodeMapImpl.js +0 -112
  162. package/node_modules/@oozcitak/dom/lib/dom/NamedNodeMapImpl.js.map +0 -1
  163. package/node_modules/@oozcitak/dom/lib/dom/NodeFilterImpl.d.ts +0 -50
  164. package/node_modules/@oozcitak/dom/lib/dom/NodeFilterImpl.js +0 -64
  165. package/node_modules/@oozcitak/dom/lib/dom/NodeFilterImpl.js.map +0 -1
  166. package/node_modules/@oozcitak/dom/lib/dom/NodeImpl.d.ts +0 -252
  167. package/node_modules/@oozcitak/dom/lib/dom/NodeImpl.js +0 -891
  168. package/node_modules/@oozcitak/dom/lib/dom/NodeImpl.js.map +0 -1
  169. package/node_modules/@oozcitak/dom/lib/dom/NodeIteratorImpl.d.ts +0 -34
  170. package/node_modules/@oozcitak/dom/lib/dom/NodeIteratorImpl.js +0 -86
  171. package/node_modules/@oozcitak/dom/lib/dom/NodeIteratorImpl.js.map +0 -1
  172. package/node_modules/@oozcitak/dom/lib/dom/NodeListImpl.d.ts +0 -46
  173. package/node_modules/@oozcitak/dom/lib/dom/NodeListImpl.js +0 -198
  174. package/node_modules/@oozcitak/dom/lib/dom/NodeListImpl.js.map +0 -1
  175. package/node_modules/@oozcitak/dom/lib/dom/NodeListStaticImpl.d.ts +0 -49
  176. package/node_modules/@oozcitak/dom/lib/dom/NodeListStaticImpl.js +0 -188
  177. package/node_modules/@oozcitak/dom/lib/dom/NodeListStaticImpl.js.map +0 -1
  178. package/node_modules/@oozcitak/dom/lib/dom/NonDocumentTypeChildNodeImpl.d.ts +0 -12
  179. package/node_modules/@oozcitak/dom/lib/dom/NonDocumentTypeChildNodeImpl.js +0 -53
  180. package/node_modules/@oozcitak/dom/lib/dom/NonDocumentTypeChildNodeImpl.js.map +0 -1
  181. package/node_modules/@oozcitak/dom/lib/dom/NonElementParentNodeImpl.d.ts +0 -9
  182. package/node_modules/@oozcitak/dom/lib/dom/NonElementParentNodeImpl.js +0 -31
  183. package/node_modules/@oozcitak/dom/lib/dom/NonElementParentNodeImpl.js.map +0 -1
  184. package/node_modules/@oozcitak/dom/lib/dom/ParentNodeImpl.d.ts +0 -24
  185. package/node_modules/@oozcitak/dom/lib/dom/ParentNodeImpl.js +0 -158
  186. package/node_modules/@oozcitak/dom/lib/dom/ParentNodeImpl.js.map +0 -1
  187. package/node_modules/@oozcitak/dom/lib/dom/ProcessingInstructionImpl.d.ts +0 -25
  188. package/node_modules/@oozcitak/dom/lib/dom/ProcessingInstructionImpl.js +0 -59
  189. package/node_modules/@oozcitak/dom/lib/dom/ProcessingInstructionImpl.js.map +0 -1
  190. package/node_modules/@oozcitak/dom/lib/dom/RangeImpl.d.ts +0 -71
  191. package/node_modules/@oozcitak/dom/lib/dom/RangeImpl.js +0 -649
  192. package/node_modules/@oozcitak/dom/lib/dom/RangeImpl.js.map +0 -1
  193. package/node_modules/@oozcitak/dom/lib/dom/ShadowRootImpl.d.ts +0 -33
  194. package/node_modules/@oozcitak/dom/lib/dom/ShadowRootImpl.js +0 -82
  195. package/node_modules/@oozcitak/dom/lib/dom/ShadowRootImpl.js.map +0 -1
  196. package/node_modules/@oozcitak/dom/lib/dom/SlotableImpl.d.ts +0 -16
  197. package/node_modules/@oozcitak/dom/lib/dom/SlotableImpl.js +0 -35
  198. package/node_modules/@oozcitak/dom/lib/dom/SlotableImpl.js.map +0 -1
  199. package/node_modules/@oozcitak/dom/lib/dom/StaticRangeImpl.d.ts +0 -13
  200. package/node_modules/@oozcitak/dom/lib/dom/StaticRangeImpl.js +0 -48
  201. package/node_modules/@oozcitak/dom/lib/dom/StaticRangeImpl.js.map +0 -1
  202. package/node_modules/@oozcitak/dom/lib/dom/TextImpl.d.ts +0 -28
  203. package/node_modules/@oozcitak/dom/lib/dom/TextImpl.js +0 -109
  204. package/node_modules/@oozcitak/dom/lib/dom/TextImpl.js.map +0 -1
  205. package/node_modules/@oozcitak/dom/lib/dom/TraverserImpl.d.ts +0 -23
  206. package/node_modules/@oozcitak/dom/lib/dom/TraverserImpl.js +0 -41
  207. package/node_modules/@oozcitak/dom/lib/dom/TraverserImpl.js.map +0 -1
  208. package/node_modules/@oozcitak/dom/lib/dom/TreeWalkerImpl.d.ts +0 -36
  209. package/node_modules/@oozcitak/dom/lib/dom/TreeWalkerImpl.js +0 -249
  210. package/node_modules/@oozcitak/dom/lib/dom/TreeWalkerImpl.js.map +0 -1
  211. package/node_modules/@oozcitak/dom/lib/dom/WindowImpl.d.ts +0 -26
  212. package/node_modules/@oozcitak/dom/lib/dom/WindowImpl.js +0 -57
  213. package/node_modules/@oozcitak/dom/lib/dom/WindowImpl.js.map +0 -1
  214. package/node_modules/@oozcitak/dom/lib/dom/XMLDocumentImpl.d.ts +0 -11
  215. package/node_modules/@oozcitak/dom/lib/dom/XMLDocumentImpl.js +0 -31
  216. package/node_modules/@oozcitak/dom/lib/dom/XMLDocumentImpl.js.map +0 -1
  217. package/node_modules/@oozcitak/dom/lib/dom/index.d.ts +0 -36
  218. package/node_modules/@oozcitak/dom/lib/dom/index.js +0 -102
  219. package/node_modules/@oozcitak/dom/lib/dom/index.js.map +0 -1
  220. package/node_modules/@oozcitak/dom/lib/dom/interfaces.d.ts +0 -2218
  221. package/node_modules/@oozcitak/dom/lib/dom/interfaces.js +0 -91
  222. package/node_modules/@oozcitak/dom/lib/dom/interfaces.js.map +0 -1
  223. package/node_modules/@oozcitak/dom/lib/index.d.ts +0 -3
  224. package/node_modules/@oozcitak/dom/lib/index.js +0 -11
  225. package/node_modules/@oozcitak/dom/lib/index.js.map +0 -1
  226. package/node_modules/@oozcitak/dom/lib/parser/DOMParserImpl.d.ts +0 -11
  227. package/node_modules/@oozcitak/dom/lib/parser/DOMParserImpl.js +0 -37
  228. package/node_modules/@oozcitak/dom/lib/parser/DOMParserImpl.js.map +0 -1
  229. package/node_modules/@oozcitak/dom/lib/parser/XMLParserImpl.d.ts +0 -26
  230. package/node_modules/@oozcitak/dom/lib/parser/XMLParserImpl.js +0 -240
  231. package/node_modules/@oozcitak/dom/lib/parser/XMLParserImpl.js.map +0 -1
  232. package/node_modules/@oozcitak/dom/lib/parser/XMLStringLexer.d.ts +0 -159
  233. package/node_modules/@oozcitak/dom/lib/parser/XMLStringLexer.js +0 -512
  234. package/node_modules/@oozcitak/dom/lib/parser/XMLStringLexer.js.map +0 -1
  235. package/node_modules/@oozcitak/dom/lib/parser/index.d.ts +0 -1
  236. package/node_modules/@oozcitak/dom/lib/parser/index.js +0 -6
  237. package/node_modules/@oozcitak/dom/lib/parser/index.js.map +0 -1
  238. package/node_modules/@oozcitak/dom/lib/parser/interfaces.d.ts +0 -131
  239. package/node_modules/@oozcitak/dom/lib/parser/interfaces.js +0 -18
  240. package/node_modules/@oozcitak/dom/lib/parser/interfaces.js.map +0 -1
  241. package/node_modules/@oozcitak/dom/lib/serializer/LocalNameSet.d.ts +0 -27
  242. package/node_modules/@oozcitak/dom/lib/serializer/LocalNameSet.js +0 -56
  243. package/node_modules/@oozcitak/dom/lib/serializer/LocalNameSet.js.map +0 -1
  244. package/node_modules/@oozcitak/dom/lib/serializer/NamespacePrefixMap.d.ts +0 -52
  245. package/node_modules/@oozcitak/dom/lib/serializer/NamespacePrefixMap.js +0 -151
  246. package/node_modules/@oozcitak/dom/lib/serializer/NamespacePrefixMap.js.map +0 -1
  247. package/node_modules/@oozcitak/dom/lib/serializer/XMLSerializerImpl.d.ts +0 -166
  248. package/node_modules/@oozcitak/dom/lib/serializer/XMLSerializerImpl.js +0 -1479
  249. package/node_modules/@oozcitak/dom/lib/serializer/XMLSerializerImpl.js.map +0 -1
  250. package/node_modules/@oozcitak/dom/lib/serializer/index.d.ts +0 -1
  251. package/node_modules/@oozcitak/dom/lib/serializer/index.js +0 -6
  252. package/node_modules/@oozcitak/dom/lib/serializer/index.js.map +0 -1
  253. package/node_modules/@oozcitak/dom/lib/serializer/interfaces.d.ts +0 -15
  254. package/node_modules/@oozcitak/dom/lib/serializer/interfaces.js +0 -3
  255. package/node_modules/@oozcitak/dom/lib/serializer/interfaces.js.map +0 -1
  256. package/node_modules/@oozcitak/dom/lib/util/Cast.d.ts +0 -12
  257. package/node_modules/@oozcitak/dom/lib/util/Cast.js +0 -26
  258. package/node_modules/@oozcitak/dom/lib/util/Cast.js.map +0 -1
  259. package/node_modules/@oozcitak/dom/lib/util/EmptySet.d.ts +0 -13
  260. package/node_modules/@oozcitak/dom/lib/util/EmptySet.js +0 -61
  261. package/node_modules/@oozcitak/dom/lib/util/EmptySet.js.map +0 -1
  262. package/node_modules/@oozcitak/dom/lib/util/Guard.d.ts +0 -135
  263. package/node_modules/@oozcitak/dom/lib/util/Guard.js +0 -192
  264. package/node_modules/@oozcitak/dom/lib/util/Guard.js.map +0 -1
  265. package/node_modules/@oozcitak/dom/lib/util/index.d.ts +0 -3
  266. package/node_modules/@oozcitak/dom/lib/util/index.js +0 -9
  267. package/node_modules/@oozcitak/dom/lib/util/index.js.map +0 -1
  268. package/node_modules/@oozcitak/dom/package.json +0 -72
  269. package/node_modules/@oozcitak/infra/LICENSE +0 -21
  270. package/node_modules/@oozcitak/infra/README.md +0 -13
  271. package/node_modules/@oozcitak/infra/lib/Base64.d.ts +0 -12
  272. package/node_modules/@oozcitak/infra/lib/Base64.js +0 -82
  273. package/node_modules/@oozcitak/infra/lib/Base64.js.map +0 -1
  274. package/node_modules/@oozcitak/infra/lib/Byte.d.ts +0 -6
  275. package/node_modules/@oozcitak/infra/lib/Byte.js +0 -15
  276. package/node_modules/@oozcitak/infra/lib/Byte.js.map +0 -1
  277. package/node_modules/@oozcitak/infra/lib/ByteSequence.d.ts +0 -45
  278. package/node_modules/@oozcitak/infra/lib/ByteSequence.js +0 -171
  279. package/node_modules/@oozcitak/infra/lib/ByteSequence.js.map +0 -1
  280. package/node_modules/@oozcitak/infra/lib/CodePoints.d.ts +0 -82
  281. package/node_modules/@oozcitak/infra/lib/CodePoints.js +0 -85
  282. package/node_modules/@oozcitak/infra/lib/CodePoints.js.map +0 -1
  283. package/node_modules/@oozcitak/infra/lib/JSON.d.ts +0 -24
  284. package/node_modules/@oozcitak/infra/lib/JSON.js +0 -123
  285. package/node_modules/@oozcitak/infra/lib/JSON.js.map +0 -1
  286. package/node_modules/@oozcitak/infra/lib/List.d.ts +0 -101
  287. package/node_modules/@oozcitak/infra/lib/List.js +0 -325
  288. package/node_modules/@oozcitak/infra/lib/List.js.map +0 -1
  289. package/node_modules/@oozcitak/infra/lib/Map.d.ts +0 -87
  290. package/node_modules/@oozcitak/infra/lib/Map.js +0 -308
  291. package/node_modules/@oozcitak/infra/lib/Map.js.map +0 -1
  292. package/node_modules/@oozcitak/infra/lib/Namespace.d.ts +0 -6
  293. package/node_modules/@oozcitak/infra/lib/Namespace.js +0 -9
  294. package/node_modules/@oozcitak/infra/lib/Namespace.js.map +0 -1
  295. package/node_modules/@oozcitak/infra/lib/Queue.d.ts +0 -13
  296. package/node_modules/@oozcitak/infra/lib/Queue.js +0 -22
  297. package/node_modules/@oozcitak/infra/lib/Queue.js.map +0 -1
  298. package/node_modules/@oozcitak/infra/lib/Set.d.ts +0 -136
  299. package/node_modules/@oozcitak/infra/lib/Set.js +0 -467
  300. package/node_modules/@oozcitak/infra/lib/Set.js.map +0 -1
  301. package/node_modules/@oozcitak/infra/lib/Stack.d.ts +0 -13
  302. package/node_modules/@oozcitak/infra/lib/Stack.js +0 -22
  303. package/node_modules/@oozcitak/infra/lib/Stack.js.map +0 -1
  304. package/node_modules/@oozcitak/infra/lib/String.d.ts +0 -129
  305. package/node_modules/@oozcitak/infra/lib/String.js +0 -472
  306. package/node_modules/@oozcitak/infra/lib/String.js.map +0 -1
  307. package/node_modules/@oozcitak/infra/lib/index.d.ts +0 -13
  308. package/node_modules/@oozcitak/infra/lib/index.js +0 -34
  309. package/node_modules/@oozcitak/infra/lib/index.js.map +0 -1
  310. package/node_modules/@oozcitak/infra/package.json +0 -54
  311. package/node_modules/@oozcitak/url/LICENSE +0 -21
  312. package/node_modules/@oozcitak/url/README.md +0 -27
  313. package/node_modules/@oozcitak/url/lib/URLAlgorithm.d.ts +0 -267
  314. package/node_modules/@oozcitak/url/lib/URLAlgorithm.js +0 -2758
  315. package/node_modules/@oozcitak/url/lib/URLAlgorithm.js.map +0 -1
  316. package/node_modules/@oozcitak/url/lib/URLImpl.d.ts +0 -53
  317. package/node_modules/@oozcitak/url/lib/URLImpl.js +0 -377
  318. package/node_modules/@oozcitak/url/lib/URLImpl.js.map +0 -1
  319. package/node_modules/@oozcitak/url/lib/URLSearchParamsImpl.d.ts +0 -38
  320. package/node_modules/@oozcitak/url/lib/URLSearchParamsImpl.js +0 -303
  321. package/node_modules/@oozcitak/url/lib/URLSearchParamsImpl.js.map +0 -1
  322. package/node_modules/@oozcitak/url/lib/index.d.ts +0 -2
  323. package/node_modules/@oozcitak/url/lib/index.js +0 -7
  324. package/node_modules/@oozcitak/url/lib/index.js.map +0 -1
  325. package/node_modules/@oozcitak/url/lib/interfaces.d.ts +0 -195
  326. package/node_modules/@oozcitak/url/lib/interfaces.js +0 -31
  327. package/node_modules/@oozcitak/url/lib/interfaces.js.map +0 -1
  328. package/node_modules/@oozcitak/url/package.json +0 -55
  329. package/node_modules/@oozcitak/util/LICENSE +0 -21
  330. package/node_modules/@oozcitak/util/README.md +0 -10
  331. package/node_modules/@oozcitak/util/lib/CompareCache.d.ts +0 -32
  332. package/node_modules/@oozcitak/util/lib/CompareCache.js +0 -59
  333. package/node_modules/@oozcitak/util/lib/CompareCache.js.map +0 -1
  334. package/node_modules/@oozcitak/util/lib/FixedSizeSet.d.ts +0 -64
  335. package/node_modules/@oozcitak/util/lib/FixedSizeSet.js +0 -174
  336. package/node_modules/@oozcitak/util/lib/FixedSizeSet.js.map +0 -1
  337. package/node_modules/@oozcitak/util/lib/Lazy.d.ts +0 -18
  338. package/node_modules/@oozcitak/util/lib/Lazy.js +0 -34
  339. package/node_modules/@oozcitak/util/lib/Lazy.js.map +0 -1
  340. package/node_modules/@oozcitak/util/lib/ObjectCache.d.ts +0 -71
  341. package/node_modules/@oozcitak/util/lib/ObjectCache.js +0 -181
  342. package/node_modules/@oozcitak/util/lib/ObjectCache.js.map +0 -1
  343. package/node_modules/@oozcitak/util/lib/StringWalker.d.ts +0 -49
  344. package/node_modules/@oozcitak/util/lib/StringWalker.js +0 -105
  345. package/node_modules/@oozcitak/util/lib/StringWalker.js.map +0 -1
  346. package/node_modules/@oozcitak/util/lib/index.d.ts +0 -178
  347. package/node_modules/@oozcitak/util/lib/index.js +0 -439
  348. package/node_modules/@oozcitak/util/lib/index.js.map +0 -1
  349. package/node_modules/@oozcitak/util/package.json +0 -50
  350. package/node_modules/@xmldom/is-dom-node/LICENSE.md +0 -21
  351. package/node_modules/@xmldom/is-dom-node/README.md +0 -91
  352. package/node_modules/@xmldom/is-dom-node/dist/index.d.ts +0 -33
  353. package/node_modules/@xmldom/is-dom-node/dist/index.js +0 -91
  354. package/node_modules/@xmldom/is-dom-node/dist/index.js.map +0 -1
  355. package/node_modules/@xmldom/is-dom-node/package.json +0 -69
  356. package/node_modules/@xmldom/xmldom/CHANGELOG.md +0 -468
  357. package/node_modules/@xmldom/xmldom/LICENSE +0 -8
  358. package/node_modules/@xmldom/xmldom/SECURITY.md +0 -50
  359. package/node_modules/@xmldom/xmldom/index.d.ts +0 -43
  360. package/node_modules/@xmldom/xmldom/lib/.eslintrc.yml +0 -2
  361. package/node_modules/@xmldom/xmldom/lib/conventions.js +0 -203
  362. package/node_modules/@xmldom/xmldom/lib/dom-parser.js +0 -322
  363. package/node_modules/@xmldom/xmldom/lib/dom.js +0 -1879
  364. package/node_modules/@xmldom/xmldom/lib/entities.js +0 -2166
  365. package/node_modules/@xmldom/xmldom/lib/index.js +0 -4
  366. package/node_modules/@xmldom/xmldom/lib/sax.js +0 -662
  367. package/node_modules/@xmldom/xmldom/package.json +0 -71
  368. package/node_modules/@xmldom/xmldom/readme.md +0 -356
  369. package/node_modules/esprima/ChangeLog +0 -235
  370. package/node_modules/esprima/LICENSE.BSD +0 -21
  371. package/node_modules/esprima/README.md +0 -46
  372. package/node_modules/esprima/bin/esparse.js +0 -139
  373. package/node_modules/esprima/bin/esvalidate.js +0 -236
  374. package/node_modules/esprima/dist/esprima.js +0 -6709
  375. package/node_modules/esprima/package.json +0 -112
  376. package/node_modules/node-forge/LICENSE +0 -331
  377. package/node_modules/node-forge/README.md +0 -2071
  378. package/node_modules/node-forge/dist/forge.all.min.js +0 -2
  379. package/node_modules/node-forge/dist/forge.all.min.js.map +0 -1
  380. package/node_modules/node-forge/dist/forge.min.js +0 -2
  381. package/node_modules/node-forge/dist/forge.min.js.map +0 -1
  382. package/node_modules/node-forge/dist/prime.worker.min.js +0 -2
  383. package/node_modules/node-forge/dist/prime.worker.min.js.map +0 -1
  384. package/node_modules/node-forge/flash/swf/SocketPool.swf +0 -0
  385. package/node_modules/node-forge/lib/aes.js +0 -1091
  386. package/node_modules/node-forge/lib/aesCipherSuites.js +0 -282
  387. package/node_modules/node-forge/lib/asn1-validator.js +0 -91
  388. package/node_modules/node-forge/lib/asn1.js +0 -1503
  389. package/node_modules/node-forge/lib/baseN.js +0 -186
  390. package/node_modules/node-forge/lib/cipher.js +0 -230
  391. package/node_modules/node-forge/lib/cipherModes.js +0 -999
  392. package/node_modules/node-forge/lib/des.js +0 -496
  393. package/node_modules/node-forge/lib/ed25519.js +0 -1072
  394. package/node_modules/node-forge/lib/forge.js +0 -13
  395. package/node_modules/node-forge/lib/form.js +0 -149
  396. package/node_modules/node-forge/lib/hmac.js +0 -146
  397. package/node_modules/node-forge/lib/http.js +0 -1346
  398. package/node_modules/node-forge/lib/index.all.js +0 -16
  399. package/node_modules/node-forge/lib/index.js +0 -33
  400. package/node_modules/node-forge/lib/jsbn.js +0 -1264
  401. package/node_modules/node-forge/lib/kem.js +0 -168
  402. package/node_modules/node-forge/lib/log.js +0 -319
  403. package/node_modules/node-forge/lib/md.all.js +0 -13
  404. package/node_modules/node-forge/lib/md.js +0 -11
  405. package/node_modules/node-forge/lib/md5.js +0 -289
  406. package/node_modules/node-forge/lib/mgf.js +0 -12
  407. package/node_modules/node-forge/lib/mgf1.js +0 -57
  408. package/node_modules/node-forge/lib/oids.js +0 -179
  409. package/node_modules/node-forge/lib/pbe.js +0 -1023
  410. package/node_modules/node-forge/lib/pbkdf2.js +0 -211
  411. package/node_modules/node-forge/lib/pem.js +0 -237
  412. package/node_modules/node-forge/lib/pkcs1.js +0 -276
  413. package/node_modules/node-forge/lib/pkcs12.js +0 -1078
  414. package/node_modules/node-forge/lib/pkcs7.js +0 -1260
  415. package/node_modules/node-forge/lib/pkcs7asn1.js +0 -410
  416. package/node_modules/node-forge/lib/pki.js +0 -102
  417. package/node_modules/node-forge/lib/prime.js +0 -297
  418. package/node_modules/node-forge/lib/prime.worker.js +0 -168
  419. package/node_modules/node-forge/lib/prng.js +0 -419
  420. package/node_modules/node-forge/lib/pss.js +0 -241
  421. package/node_modules/node-forge/lib/random.js +0 -191
  422. package/node_modules/node-forge/lib/rc2.js +0 -410
  423. package/node_modules/node-forge/lib/rsa.js +0 -1949
  424. package/node_modules/node-forge/lib/sha1.js +0 -319
  425. package/node_modules/node-forge/lib/sha256.js +0 -327
  426. package/node_modules/node-forge/lib/sha512.js +0 -561
  427. package/node_modules/node-forge/lib/socket.js +0 -287
  428. package/node_modules/node-forge/lib/ssh.js +0 -236
  429. package/node_modules/node-forge/lib/tls.js +0 -4282
  430. package/node_modules/node-forge/lib/tlssocket.js +0 -249
  431. package/node_modules/node-forge/lib/util.js +0 -2652
  432. package/node_modules/node-forge/lib/x509.js +0 -3242
  433. package/node_modules/node-forge/lib/xhr.js +0 -738
  434. package/node_modules/node-forge/package.json +0 -123
  435. package/node_modules/sprintf-js/.npmignore +0 -1
  436. package/node_modules/sprintf-js/LICENSE +0 -24
  437. package/node_modules/sprintf-js/README.md +0 -88
  438. package/node_modules/sprintf-js/bower.json +0 -14
  439. package/node_modules/sprintf-js/demo/angular.html +0 -20
  440. package/node_modules/sprintf-js/dist/angular-sprintf.min.js +0 -4
  441. package/node_modules/sprintf-js/dist/angular-sprintf.min.js.map +0 -1
  442. package/node_modules/sprintf-js/dist/angular-sprintf.min.map +0 -1
  443. package/node_modules/sprintf-js/dist/sprintf.min.js +0 -4
  444. package/node_modules/sprintf-js/dist/sprintf.min.js.map +0 -1
  445. package/node_modules/sprintf-js/dist/sprintf.min.map +0 -1
  446. package/node_modules/sprintf-js/gruntfile.js +0 -36
  447. package/node_modules/sprintf-js/package.json +0 -22
  448. package/node_modules/sprintf-js/src/angular-sprintf.js +0 -18
  449. package/node_modules/sprintf-js/src/sprintf.js +0 -208
  450. package/node_modules/sprintf-js/test/test.js +0 -82
  451. package/node_modules/xml-crypto/LICENSE +0 -22
  452. package/node_modules/xml-crypto/README.md +0 -557
  453. package/node_modules/xml-crypto/lib/c14n-canonicalization.d.ts +0 -39
  454. package/node_modules/xml-crypto/lib/c14n-canonicalization.js +0 -230
  455. package/node_modules/xml-crypto/lib/c14n-canonicalization.js.map +0 -1
  456. package/node_modules/xml-crypto/lib/enveloped-signature.d.ts +0 -7
  457. package/node_modules/xml-crypto/lib/enveloped-signature.js +0 -43
  458. package/node_modules/xml-crypto/lib/enveloped-signature.js.map +0 -1
  459. package/node_modules/xml-crypto/lib/exclusive-canonicalization.d.ts +0 -38
  460. package/node_modules/xml-crypto/lib/exclusive-canonicalization.js +0 -246
  461. package/node_modules/xml-crypto/lib/exclusive-canonicalization.js.map +0 -1
  462. package/node_modules/xml-crypto/lib/hash-algorithms.d.ts +0 -13
  463. package/node_modules/xml-crypto/lib/hash-algorithms.js +0 -47
  464. package/node_modules/xml-crypto/lib/hash-algorithms.js.map +0 -1
  465. package/node_modules/xml-crypto/lib/index.d.ts +0 -5
  466. package/node_modules/xml-crypto/lib/index.js +0 -28
  467. package/node_modules/xml-crypto/lib/index.js.map +0 -1
  468. package/node_modules/xml-crypto/lib/signature-algorithms.d.ts +0 -47
  469. package/node_modules/xml-crypto/lib/signature-algorithms.js +0 -86
  470. package/node_modules/xml-crypto/lib/signature-algorithms.js.map +0 -1
  471. package/node_modules/xml-crypto/lib/signed-xml.d.ts +0 -225
  472. package/node_modules/xml-crypto/lib/signed-xml.js +0 -960
  473. package/node_modules/xml-crypto/lib/signed-xml.js.map +0 -1
  474. package/node_modules/xml-crypto/lib/types.d.ts +0 -125
  475. package/node_modules/xml-crypto/lib/types.js +0 -57
  476. package/node_modules/xml-crypto/lib/types.js.map +0 -1
  477. package/node_modules/xml-crypto/lib/utils.d.ts +0 -65
  478. package/node_modules/xml-crypto/lib/utils.js +0 -256
  479. package/node_modules/xml-crypto/lib/utils.js.map +0 -1
  480. package/node_modules/xml-crypto/node_modules/xpath/LICENSE +0 -22
  481. package/node_modules/xml-crypto/node_modules/xpath/README.md +0 -133
  482. package/node_modules/xml-crypto/node_modules/xpath/docs/XPathEvaluator.md +0 -62
  483. package/node_modules/xml-crypto/node_modules/xpath/docs/XPathResult.md +0 -47
  484. package/node_modules/xml-crypto/node_modules/xpath/docs/function resolvers.md +0 -88
  485. package/node_modules/xml-crypto/node_modules/xpath/docs/namespace resolvers.md +0 -69
  486. package/node_modules/xml-crypto/node_modules/xpath/docs/parsed expressions.md +0 -21
  487. package/node_modules/xml-crypto/node_modules/xpath/docs/variable resolvers.md +0 -89
  488. package/node_modules/xml-crypto/node_modules/xpath/docs/xpath methods.md +0 -39
  489. package/node_modules/xml-crypto/node_modules/xpath/package.json +0 -39
  490. package/node_modules/xml-crypto/node_modules/xpath/test.js +0 -1186
  491. package/node_modules/xml-crypto/node_modules/xpath/xpath.d.ts +0 -51
  492. package/node_modules/xml-crypto/node_modules/xpath/xpath.js +0 -4938
  493. package/node_modules/xml-crypto/package.json +0 -73
  494. package/node_modules/xmlbuilder2/CHANGELOG.md +0 -309
  495. package/node_modules/xmlbuilder2/LICENSE +0 -21
  496. package/node_modules/xmlbuilder2/README.md +0 -183
  497. package/node_modules/xmlbuilder2/lib/builder/BuilderFunctions.d.ts +0 -236
  498. package/node_modules/xmlbuilder2/lib/builder/BuilderFunctions.js +0 -108
  499. package/node_modules/xmlbuilder2/lib/builder/BuilderFunctions.js.map +0 -1
  500. package/node_modules/xmlbuilder2/lib/builder/BuilderFunctionsCB.d.ts +0 -17
  501. package/node_modules/xmlbuilder2/lib/builder/BuilderFunctionsCB.js +0 -26
  502. package/node_modules/xmlbuilder2/lib/builder/BuilderFunctionsCB.js.map +0 -1
  503. package/node_modules/xmlbuilder2/lib/builder/XMLBuilderCBImpl.d.ts +0 -124
  504. package/node_modules/xmlbuilder2/lib/builder/XMLBuilderCBImpl.js +0 -782
  505. package/node_modules/xmlbuilder2/lib/builder/XMLBuilderCBImpl.js.map +0 -1
  506. package/node_modules/xmlbuilder2/lib/builder/XMLBuilderImpl.d.ts +0 -143
  507. package/node_modules/xmlbuilder2/lib/builder/XMLBuilderImpl.js +0 -841
  508. package/node_modules/xmlbuilder2/lib/builder/XMLBuilderImpl.js.map +0 -1
  509. package/node_modules/xmlbuilder2/lib/builder/dom.d.ts +0 -8
  510. package/node_modules/xmlbuilder2/lib/builder/dom.js +0 -67
  511. package/node_modules/xmlbuilder2/lib/builder/dom.js.map +0 -1
  512. package/node_modules/xmlbuilder2/lib/builder/index.d.ts +0 -4
  513. package/node_modules/xmlbuilder2/lib/builder/index.js +0 -15
  514. package/node_modules/xmlbuilder2/lib/builder/index.js.map +0 -1
  515. package/node_modules/xmlbuilder2/lib/constants.d.ts +0 -1
  516. package/node_modules/xmlbuilder2/lib/constants.js +0 -4
  517. package/node_modules/xmlbuilder2/lib/constants.js.map +0 -1
  518. package/node_modules/xmlbuilder2/lib/index.d.ts +0 -1
  519. package/node_modules/xmlbuilder2/lib/index.js +0 -10
  520. package/node_modules/xmlbuilder2/lib/index.js.map +0 -1
  521. package/node_modules/xmlbuilder2/lib/interfaces.d.ts +0 -1355
  522. package/node_modules/xmlbuilder2/lib/interfaces.js +0 -76
  523. package/node_modules/xmlbuilder2/lib/interfaces.js.map +0 -1
  524. package/node_modules/xmlbuilder2/lib/readers/BaseReader.d.ts +0 -109
  525. package/node_modules/xmlbuilder2/lib/readers/BaseReader.js +0 -167
  526. package/node_modules/xmlbuilder2/lib/readers/BaseReader.js.map +0 -1
  527. package/node_modules/xmlbuilder2/lib/readers/JSONReader.d.ts +0 -14
  528. package/node_modules/xmlbuilder2/lib/readers/JSONReader.js +0 -38
  529. package/node_modules/xmlbuilder2/lib/readers/JSONReader.js.map +0 -1
  530. package/node_modules/xmlbuilder2/lib/readers/ObjectReader.d.ts +0 -15
  531. package/node_modules/xmlbuilder2/lib/readers/ObjectReader.js +0 -168
  532. package/node_modules/xmlbuilder2/lib/readers/ObjectReader.js.map +0 -1
  533. package/node_modules/xmlbuilder2/lib/readers/XMLReader.d.ts +0 -14
  534. package/node_modules/xmlbuilder2/lib/readers/XMLReader.js +0 -206
  535. package/node_modules/xmlbuilder2/lib/readers/XMLReader.js.map +0 -1
  536. package/node_modules/xmlbuilder2/lib/readers/YAMLReader.d.ts +0 -14
  537. package/node_modules/xmlbuilder2/lib/readers/YAMLReader.js +0 -44
  538. package/node_modules/xmlbuilder2/lib/readers/YAMLReader.js.map +0 -1
  539. package/node_modules/xmlbuilder2/lib/readers/index.d.ts +0 -4
  540. package/node_modules/xmlbuilder2/lib/readers/index.js +0 -11
  541. package/node_modules/xmlbuilder2/lib/readers/index.js.map +0 -1
  542. package/node_modules/xmlbuilder2/lib/writers/BaseCBWriter.d.ts +0 -110
  543. package/node_modules/xmlbuilder2/lib/writers/BaseCBWriter.js +0 -23
  544. package/node_modules/xmlbuilder2/lib/writers/BaseCBWriter.js.map +0 -1
  545. package/node_modules/xmlbuilder2/lib/writers/BaseWriter.d.ts +0 -276
  546. package/node_modules/xmlbuilder2/lib/writers/BaseWriter.js +0 -1603
  547. package/node_modules/xmlbuilder2/lib/writers/BaseWriter.js.map +0 -1
  548. package/node_modules/xmlbuilder2/lib/writers/JSONCBWriter.d.ts +0 -68
  549. package/node_modules/xmlbuilder2/lib/writers/JSONCBWriter.js +0 -172
  550. package/node_modules/xmlbuilder2/lib/writers/JSONCBWriter.js.map +0 -1
  551. package/node_modules/xmlbuilder2/lib/writers/JSONWriter.d.ts +0 -67
  552. package/node_modules/xmlbuilder2/lib/writers/JSONWriter.js +0 -222
  553. package/node_modules/xmlbuilder2/lib/writers/JSONWriter.js.map +0 -1
  554. package/node_modules/xmlbuilder2/lib/writers/MapWriter.d.ts +0 -27
  555. package/node_modules/xmlbuilder2/lib/writers/MapWriter.js +0 -84
  556. package/node_modules/xmlbuilder2/lib/writers/MapWriter.js.map +0 -1
  557. package/node_modules/xmlbuilder2/lib/writers/ObjectWriter.d.ts +0 -56
  558. package/node_modules/xmlbuilder2/lib/writers/ObjectWriter.js +0 -483
  559. package/node_modules/xmlbuilder2/lib/writers/ObjectWriter.js.map +0 -1
  560. package/node_modules/xmlbuilder2/lib/writers/XMLCBWriter.d.ts +0 -51
  561. package/node_modules/xmlbuilder2/lib/writers/XMLCBWriter.js +0 -165
  562. package/node_modules/xmlbuilder2/lib/writers/XMLCBWriter.js.map +0 -1
  563. package/node_modules/xmlbuilder2/lib/writers/XMLWriter.d.ts +0 -60
  564. package/node_modules/xmlbuilder2/lib/writers/XMLWriter.js +0 -236
  565. package/node_modules/xmlbuilder2/lib/writers/XMLWriter.js.map +0 -1
  566. package/node_modules/xmlbuilder2/lib/writers/YAMLCBWriter.d.ts +0 -61
  567. package/node_modules/xmlbuilder2/lib/writers/YAMLCBWriter.js +0 -161
  568. package/node_modules/xmlbuilder2/lib/writers/YAMLCBWriter.js.map +0 -1
  569. package/node_modules/xmlbuilder2/lib/writers/YAMLWriter.d.ts +0 -55
  570. package/node_modules/xmlbuilder2/lib/writers/YAMLWriter.js +0 -186
  571. package/node_modules/xmlbuilder2/lib/writers/YAMLWriter.js.map +0 -1
  572. package/node_modules/xmlbuilder2/lib/writers/index.d.ts +0 -5
  573. package/node_modules/xmlbuilder2/lib/writers/index.js +0 -13
  574. package/node_modules/xmlbuilder2/lib/writers/index.js.map +0 -1
  575. package/node_modules/xmlbuilder2/lib/xmlbuilder2.min.js +0 -8
  576. package/node_modules/xmlbuilder2/node_modules/argparse/CHANGELOG.md +0 -185
  577. package/node_modules/xmlbuilder2/node_modules/argparse/LICENSE +0 -21
  578. package/node_modules/xmlbuilder2/node_modules/argparse/README.md +0 -257
  579. package/node_modules/xmlbuilder2/node_modules/argparse/index.js +0 -3
  580. package/node_modules/xmlbuilder2/node_modules/argparse/lib/action/append/constant.js +0 -47
  581. package/node_modules/xmlbuilder2/node_modules/argparse/lib/action/append.js +0 -53
  582. package/node_modules/xmlbuilder2/node_modules/argparse/lib/action/count.js +0 -40
  583. package/node_modules/xmlbuilder2/node_modules/argparse/lib/action/help.js +0 -47
  584. package/node_modules/xmlbuilder2/node_modules/argparse/lib/action/store/constant.js +0 -43
  585. package/node_modules/xmlbuilder2/node_modules/argparse/lib/action/store/false.js +0 -27
  586. package/node_modules/xmlbuilder2/node_modules/argparse/lib/action/store/true.js +0 -26
  587. package/node_modules/xmlbuilder2/node_modules/argparse/lib/action/store.js +0 -50
  588. package/node_modules/xmlbuilder2/node_modules/argparse/lib/action/subparsers.js +0 -149
  589. package/node_modules/xmlbuilder2/node_modules/argparse/lib/action/version.js +0 -47
  590. package/node_modules/xmlbuilder2/node_modules/argparse/lib/action.js +0 -146
  591. package/node_modules/xmlbuilder2/node_modules/argparse/lib/action_container.js +0 -482
  592. package/node_modules/xmlbuilder2/node_modules/argparse/lib/argparse.js +0 -14
  593. package/node_modules/xmlbuilder2/node_modules/argparse/lib/argument/error.js +0 -50
  594. package/node_modules/xmlbuilder2/node_modules/argparse/lib/argument/exclusive.js +0 -54
  595. package/node_modules/xmlbuilder2/node_modules/argparse/lib/argument/group.js +0 -75
  596. package/node_modules/xmlbuilder2/node_modules/argparse/lib/argument_parser.js +0 -1161
  597. package/node_modules/xmlbuilder2/node_modules/argparse/lib/const.js +0 -21
  598. package/node_modules/xmlbuilder2/node_modules/argparse/lib/help/added_formatters.js +0 -87
  599. package/node_modules/xmlbuilder2/node_modules/argparse/lib/help/formatter.js +0 -795
  600. package/node_modules/xmlbuilder2/node_modules/argparse/lib/namespace.js +0 -76
  601. package/node_modules/xmlbuilder2/node_modules/argparse/lib/utils.js +0 -57
  602. package/node_modules/xmlbuilder2/node_modules/argparse/package.json +0 -34
  603. package/node_modules/xmlbuilder2/node_modules/js-yaml/CHANGELOG.md +0 -557
  604. package/node_modules/xmlbuilder2/node_modules/js-yaml/LICENSE +0 -21
  605. package/node_modules/xmlbuilder2/node_modules/js-yaml/README.md +0 -299
  606. package/node_modules/xmlbuilder2/node_modules/js-yaml/bin/js-yaml.js +0 -132
  607. package/node_modules/xmlbuilder2/node_modules/js-yaml/dist/js-yaml.js +0 -3989
  608. package/node_modules/xmlbuilder2/node_modules/js-yaml/dist/js-yaml.min.js +0 -1
  609. package/node_modules/xmlbuilder2/node_modules/js-yaml/index.js +0 -7
  610. package/node_modules/xmlbuilder2/node_modules/js-yaml/lib/js-yaml/common.js +0 -59
  611. package/node_modules/xmlbuilder2/node_modules/js-yaml/lib/js-yaml/dumper.js +0 -850
  612. package/node_modules/xmlbuilder2/node_modules/js-yaml/lib/js-yaml/exception.js +0 -43
  613. package/node_modules/xmlbuilder2/node_modules/js-yaml/lib/js-yaml/loader.js +0 -1644
  614. package/node_modules/xmlbuilder2/node_modules/js-yaml/lib/js-yaml/mark.js +0 -76
  615. package/node_modules/xmlbuilder2/node_modules/js-yaml/lib/js-yaml/schema/core.js +0 -18
  616. package/node_modules/xmlbuilder2/node_modules/js-yaml/lib/js-yaml/schema/default_full.js +0 -25
  617. package/node_modules/xmlbuilder2/node_modules/js-yaml/lib/js-yaml/schema/default_safe.js +0 -28
  618. package/node_modules/xmlbuilder2/node_modules/js-yaml/lib/js-yaml/schema/failsafe.js +0 -17
  619. package/node_modules/xmlbuilder2/node_modules/js-yaml/lib/js-yaml/schema/json.js +0 -25
  620. package/node_modules/xmlbuilder2/node_modules/js-yaml/lib/js-yaml/schema.js +0 -108
  621. package/node_modules/xmlbuilder2/node_modules/js-yaml/lib/js-yaml/type/binary.js +0 -138
  622. package/node_modules/xmlbuilder2/node_modules/js-yaml/lib/js-yaml/type/bool.js +0 -35
  623. package/node_modules/xmlbuilder2/node_modules/js-yaml/lib/js-yaml/type/float.js +0 -116
  624. package/node_modules/xmlbuilder2/node_modules/js-yaml/lib/js-yaml/type/int.js +0 -173
  625. package/node_modules/xmlbuilder2/node_modules/js-yaml/lib/js-yaml/type/js/function.js +0 -93
  626. package/node_modules/xmlbuilder2/node_modules/js-yaml/lib/js-yaml/type/js/regexp.js +0 -60
  627. package/node_modules/xmlbuilder2/node_modules/js-yaml/lib/js-yaml/type/js/undefined.js +0 -28
  628. package/node_modules/xmlbuilder2/node_modules/js-yaml/lib/js-yaml/type/map.js +0 -8
  629. package/node_modules/xmlbuilder2/node_modules/js-yaml/lib/js-yaml/type/merge.js +0 -12
  630. package/node_modules/xmlbuilder2/node_modules/js-yaml/lib/js-yaml/type/null.js +0 -34
  631. package/node_modules/xmlbuilder2/node_modules/js-yaml/lib/js-yaml/type/omap.js +0 -44
  632. package/node_modules/xmlbuilder2/node_modules/js-yaml/lib/js-yaml/type/pairs.js +0 -53
  633. package/node_modules/xmlbuilder2/node_modules/js-yaml/lib/js-yaml/type/seq.js +0 -8
  634. package/node_modules/xmlbuilder2/node_modules/js-yaml/lib/js-yaml/type/set.js +0 -29
  635. package/node_modules/xmlbuilder2/node_modules/js-yaml/lib/js-yaml/type/str.js +0 -8
  636. package/node_modules/xmlbuilder2/node_modules/js-yaml/lib/js-yaml/type/timestamp.js +0 -88
  637. package/node_modules/xmlbuilder2/node_modules/js-yaml/lib/js-yaml/type.js +0 -61
  638. package/node_modules/xmlbuilder2/node_modules/js-yaml/lib/js-yaml.js +0 -39
  639. package/node_modules/xmlbuilder2/node_modules/js-yaml/package.json +0 -49
  640. package/node_modules/xmlbuilder2/package.json +0 -82
  641. package/node_modules/xpath/LICENSE +0 -22
  642. package/node_modules/xpath/README.md +0 -133
  643. package/node_modules/xpath/package.json +0 -43
  644. package/node_modules/xpath/xpath.d.ts +0 -51
  645. package/node_modules/xpath/xpath.js +0 -5041
@@ -1,39 +0,0 @@
1
- import type { CanonicalizationOrTransformationAlgorithm, CanonicalizationOrTransformationAlgorithmProcessOptions, NamespacePrefix, RenderedNamespace } from "./types";
2
- export declare class C14nCanonicalization implements CanonicalizationOrTransformationAlgorithm {
3
- protected includeComments: boolean;
4
- constructor();
5
- attrCompare(a: any, b: any): 1 | 0 | -1;
6
- nsCompare(a: any, b: any): any;
7
- renderAttrs(node: any): string;
8
- /**
9
- * Create the string of all namespace declarations that should appear on this element
10
- *
11
- * @param node The node we now render
12
- * @param prefixesInScope The prefixes defined on this node parents which are a part of the output set
13
- * @param defaultNs The current default namespace
14
- * @param defaultNsForPrefix
15
- * @param ancestorNamespaces Import ancestor namespaces if it is specified
16
- * @api private
17
- */
18
- renderNs(node: Element, prefixesInScope: string[], defaultNs: string, defaultNsForPrefix: string, ancestorNamespaces: NamespacePrefix[]): RenderedNamespace;
19
- /**
20
- * @param node Node
21
- */
22
- processInner(node: any, prefixesInScope: any, defaultNs: any, defaultNsForPrefix: any, ancestorNamespaces: any): string;
23
- renderComment(node: Comment): string;
24
- /**
25
- * Perform canonicalization of the given node
26
- *
27
- * @param node
28
- * @api public
29
- */
30
- process(node: Node, options: CanonicalizationOrTransformationAlgorithmProcessOptions): string;
31
- getAlgorithmName(): string;
32
- }
33
- /**
34
- * Add c14n#WithComments here (very simple subclass)
35
- */
36
- export declare class C14nCanonicalizationWithComments extends C14nCanonicalization {
37
- constructor();
38
- getAlgorithmName(): string;
39
- }
@@ -1,230 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.C14nCanonicalizationWithComments = exports.C14nCanonicalization = void 0;
4
- const utils = require("./utils");
5
- const isDomNode = require("@xmldom/is-dom-node");
6
- class C14nCanonicalization {
7
- constructor() {
8
- this.includeComments = false;
9
- this.includeComments = false;
10
- }
11
- attrCompare(a, b) {
12
- if (!a.namespaceURI && b.namespaceURI) {
13
- return -1;
14
- }
15
- if (!b.namespaceURI && a.namespaceURI) {
16
- return 1;
17
- }
18
- const left = a.namespaceURI + a.localName;
19
- const right = b.namespaceURI + b.localName;
20
- if (left === right) {
21
- return 0;
22
- }
23
- else if (left < right) {
24
- return -1;
25
- }
26
- else {
27
- return 1;
28
- }
29
- }
30
- nsCompare(a, b) {
31
- const attr1 = a.prefix;
32
- const attr2 = b.prefix;
33
- if (attr1 === attr2) {
34
- return 0;
35
- }
36
- return attr1.localeCompare(attr2);
37
- }
38
- renderAttrs(node) {
39
- let i;
40
- let attr;
41
- const attrListToRender = [];
42
- if (isDomNode.isCommentNode(node)) {
43
- return this.renderComment(node);
44
- }
45
- if (node.attributes) {
46
- for (i = 0; i < node.attributes.length; ++i) {
47
- attr = node.attributes[i];
48
- //ignore namespace definition attributes
49
- if (attr.name.indexOf("xmlns") === 0) {
50
- continue;
51
- }
52
- attrListToRender.push(attr);
53
- }
54
- }
55
- attrListToRender.sort(this.attrCompare);
56
- const res = attrListToRender.map((attr) => {
57
- return ` ${attr.name}="${utils.encodeSpecialCharactersInAttribute(attr.value)}"`;
58
- });
59
- return res.join("");
60
- }
61
- /**
62
- * Create the string of all namespace declarations that should appear on this element
63
- *
64
- * @param node The node we now render
65
- * @param prefixesInScope The prefixes defined on this node parents which are a part of the output set
66
- * @param defaultNs The current default namespace
67
- * @param defaultNsForPrefix
68
- * @param ancestorNamespaces Import ancestor namespaces if it is specified
69
- * @api private
70
- */
71
- renderNs(node, prefixesInScope, defaultNs, defaultNsForPrefix, ancestorNamespaces) {
72
- let i;
73
- let attr;
74
- const res = [];
75
- let newDefaultNs = defaultNs;
76
- const nsListToRender = [];
77
- const currNs = node.namespaceURI || "";
78
- //handle the namespace of the node itself
79
- if (node.prefix) {
80
- if (prefixesInScope.indexOf(node.prefix) === -1) {
81
- nsListToRender.push({
82
- prefix: node.prefix,
83
- namespaceURI: node.namespaceURI || defaultNsForPrefix[node.prefix],
84
- });
85
- prefixesInScope.push(node.prefix);
86
- }
87
- }
88
- else if (defaultNs !== currNs) {
89
- //new default ns
90
- newDefaultNs = node.namespaceURI || "";
91
- res.push(' xmlns="', newDefaultNs, '"');
92
- }
93
- //handle the attributes namespace
94
- if (node.attributes) {
95
- for (i = 0; i < node.attributes.length; ++i) {
96
- attr = node.attributes[i];
97
- //handle all prefixed attributes that are included in the prefix list and where
98
- //the prefix is not defined already. New prefixes can only be defined by `xmlns:`.
99
- if (attr.prefix === "xmlns" && prefixesInScope.indexOf(attr.localName) === -1) {
100
- nsListToRender.push({ prefix: attr.localName, namespaceURI: attr.value });
101
- prefixesInScope.push(attr.localName);
102
- }
103
- //handle all prefixed attributes that are not xmlns definitions and where
104
- //the prefix is not defined already
105
- if (attr.prefix &&
106
- prefixesInScope.indexOf(attr.prefix) === -1 &&
107
- attr.prefix !== "xmlns" &&
108
- attr.prefix !== "xml") {
109
- nsListToRender.push({ prefix: attr.prefix, namespaceURI: attr.namespaceURI });
110
- prefixesInScope.push(attr.prefix);
111
- }
112
- }
113
- }
114
- if (utils.isArrayHasLength(ancestorNamespaces)) {
115
- // Remove namespaces which are already present in nsListToRender
116
- for (const ancestorNamespace of ancestorNamespaces) {
117
- let alreadyListed = false;
118
- for (const nsToRender of nsListToRender) {
119
- if (nsToRender.prefix === ancestorNamespace.prefix &&
120
- nsToRender.namespaceURI === ancestorNamespace.namespaceURI) {
121
- alreadyListed = true;
122
- }
123
- }
124
- if (!alreadyListed) {
125
- nsListToRender.push(ancestorNamespace);
126
- }
127
- }
128
- }
129
- nsListToRender.sort(this.nsCompare);
130
- //render namespaces
131
- res.push(...nsListToRender.map((attr) => {
132
- if (attr.prefix) {
133
- return ` xmlns:${attr.prefix}="${attr.namespaceURI}"`;
134
- }
135
- return ` xmlns="${attr.namespaceURI}"`;
136
- }));
137
- return { rendered: res.join(""), newDefaultNs };
138
- }
139
- /**
140
- * @param node Node
141
- */
142
- processInner(node, prefixesInScope, defaultNs, defaultNsForPrefix, ancestorNamespaces) {
143
- if (isDomNode.isCommentNode(node)) {
144
- return this.renderComment(node);
145
- }
146
- if (node.data) {
147
- return utils.encodeSpecialCharactersInText(node.data);
148
- }
149
- if (isDomNode.isElementNode(node)) {
150
- let i;
151
- let pfxCopy;
152
- const ns = this.renderNs(node, prefixesInScope, defaultNs, defaultNsForPrefix, ancestorNamespaces);
153
- const res = ["<", node.tagName, ns.rendered, this.renderAttrs(node), ">"];
154
- for (i = 0; i < node.childNodes.length; ++i) {
155
- pfxCopy = prefixesInScope.slice(0);
156
- res.push(this.processInner(node.childNodes[i], pfxCopy, ns.newDefaultNs, defaultNsForPrefix, []));
157
- }
158
- res.push("</", node.tagName, ">");
159
- return res.join("");
160
- }
161
- throw new Error(`Unable to canonicalize node type: ${node.nodeType}`);
162
- }
163
- // Thanks to deoxxa/xml-c14n for comment renderer
164
- renderComment(node) {
165
- if (!this.includeComments) {
166
- return "";
167
- }
168
- const isOutsideDocument = node.ownerDocument === node.parentNode;
169
- let isBeforeDocument = false;
170
- let isAfterDocument = false;
171
- if (isOutsideDocument) {
172
- let nextNode = node;
173
- let previousNode = node;
174
- while (nextNode !== null) {
175
- if (nextNode === node.ownerDocument.documentElement) {
176
- isBeforeDocument = true;
177
- break;
178
- }
179
- nextNode = nextNode.nextSibling;
180
- }
181
- while (previousNode !== null) {
182
- if (previousNode === node.ownerDocument.documentElement) {
183
- isAfterDocument = true;
184
- break;
185
- }
186
- previousNode = previousNode.previousSibling;
187
- }
188
- }
189
- const afterDocument = isAfterDocument ? "\n" : "";
190
- const beforeDocument = isBeforeDocument ? "\n" : "";
191
- const encodedText = utils.encodeSpecialCharactersInText(node.data);
192
- return `${afterDocument}<!--${encodedText}-->${beforeDocument}`;
193
- }
194
- /**
195
- * Perform canonicalization of the given node
196
- *
197
- * @param node
198
- * @api public
199
- */
200
- process(node, options) {
201
- options = options || {};
202
- const defaultNs = options.defaultNs || "";
203
- const defaultNsForPrefix = options.defaultNsForPrefix || {};
204
- const ancestorNamespaces = options.ancestorNamespaces || [];
205
- const prefixesInScope = [];
206
- for (let i = 0; i < ancestorNamespaces.length; i++) {
207
- prefixesInScope.push(ancestorNamespaces[i].prefix);
208
- }
209
- const res = this.processInner(node, prefixesInScope, defaultNs, defaultNsForPrefix, ancestorNamespaces);
210
- return res;
211
- }
212
- getAlgorithmName() {
213
- return "http://www.w3.org/TR/2001/REC-xml-c14n-20010315";
214
- }
215
- }
216
- exports.C14nCanonicalization = C14nCanonicalization;
217
- /**
218
- * Add c14n#WithComments here (very simple subclass)
219
- */
220
- class C14nCanonicalizationWithComments extends C14nCanonicalization {
221
- constructor() {
222
- super();
223
- this.includeComments = true;
224
- }
225
- getAlgorithmName() {
226
- return "http://www.w3.org/TR/2001/REC-xml-c14n-20010315#WithComments";
227
- }
228
- }
229
- exports.C14nCanonicalizationWithComments = C14nCanonicalizationWithComments;
230
- //# sourceMappingURL=c14n-canonicalization.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"c14n-canonicalization.js","sourceRoot":"","sources":["../src/c14n-canonicalization.ts"],"names":[],"mappings":";;;AAMA,iCAAiC;AACjC,iDAAiD;AAEjD,MAAa,oBAAoB;IAG/B;QAFU,oBAAe,GAAG,KAAK,CAAC;QAGhC,IAAI,CAAC,eAAe,GAAG,KAAK,CAAC;IAC/B,CAAC;IAED,WAAW,CAAC,CAAC,EAAE,CAAC;QACd,IAAI,CAAC,CAAC,CAAC,YAAY,IAAI,CAAC,CAAC,YAAY,EAAE,CAAC;YACtC,OAAO,CA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C,kBAAkB,IAAI,EAAE,CAAC;QAE5D,MAAM,eAAe,GAAa,EAAE,CAAC;QACrC,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,kBAAkB,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE,CAAC;YACnD,eAAe,CAAC,IAAI,CAAC,kBAAkB,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC;QACrD,CAAC;QAED,MAAM,GAAG,GAAG,IAAI,CAAC,YAAY,CAC3B,IAAI,EACJ,eAAe,EACf,SAAS,EACT,kBAAkB,EAClB,kBAAkB,CACnB,CAAC;QACF,OAAO,GAAG,CAAC;IACb,CAAC;IAED,gBAAgB;QACd,OAAO,iDAAiD,CAAC;IAC3D,CAAC;CACF;AA/QD,oDA+QC;AAED;;GAEG;AACH,MAAa,gCAAiC,SAAQ,oBAAoB;IACxE;QACE,KAAK,EAAE,CAAC;QACR,IAAI,CAAC,eAAe,GAAG,IAAI,CAAC;IAC9B,CAAC;IAED,gBAAgB;QACd,OAAO,8DAA8D,CAAC;IACxE,CAAC;CACF;AATD,4EASC","sourcesContent":["import type {\n CanonicalizationOrTransformationAlgorithm,\n CanonicalizationOrTransformationAlgorithmProcessOptions,\n NamespacePrefix,\n RenderedNamespace,\n} from \"./types\";\nimport * as utils from \"./utils\";\nimport * as isDomNode from \"@xmldom/is-dom-node\";\n\nexport class C14nCanonicalization implements CanonicalizationOrTransformationAlgorithm {\n protected includeComments = false;\n\n constructor() {\n this.includeComments = false;\n }\n\n attrCompare(a, b) {\n if (!a.namespaceURI && b.namespaceURI) {\n return -1;\n }\n if (!b.namespaceURI && a.namespaceURI) {\n return 1;\n }\n\n const left = a.namespaceURI + a.localName;\n const right = b.namespaceURI + b.localName;\n\n if (left === right) {\n return 0;\n } else if (left < right) {\n return -1;\n } else {\n return 1;\n }\n }\n\n nsCompare(a, b) {\n const attr1 = a.prefix;\n const attr2 = b.prefix;\n if (attr1 === attr2) {\n return 0;\n }\n return attr1.localeCompare(attr2);\n }\n\n renderAttrs(node) {\n let i;\n let attr;\n const attrListToRender: Attr[] = [];\n\n if (isDomNode.isCommentNode(node)) {\n return this.renderComment(node);\n }\n\n if (node.attributes) {\n for (i = 0; i < node.attributes.length; ++i) {\n attr = node.attributes[i];\n //ignore namespace definition attributes\n if (attr.name.indexOf(\"xmlns\") === 0) {\n continue;\n }\n attrListToRender.push(attr);\n }\n }\n\n attrListToRender.sort(this.attrCompare);\n\n const res = attrListToRender.map((attr) => {\n return ` ${attr.name}=\"${utils.encodeSpecialCharactersInAttribute(attr.value)}\"`;\n });\n\n return res.join(\"\");\n }\n\n /**\n * Create the string of all namespace declarations that should appear on this element\n *\n * @param node The node we now render\n * @param prefixesInScope The prefixes defined on this node parents which are a part of the output set\n * @param defaultNs The current default namespace\n * @param defaultNsForPrefix\n * @param ancestorNamespaces Import ancestor namespaces if it is specified\n * @api private\n */\n renderNs(\n node: Element,\n prefixesInScope: string[],\n defaultNs: string,\n defaultNsForPrefix: string,\n ancestorNamespaces: NamespacePrefix[],\n ): RenderedNamespace {\n let i;\n let attr;\n const res: string[] = [];\n let newDefaultNs = defaultNs;\n const nsListToRender: { prefix: string; namespaceURI: string }[] = [];\n const currNs = node.namespaceURI || \"\";\n\n //handle the namespace of the node itself\n if (node.prefix) {\n if (prefixesInScope.indexOf(node.prefix) === -1) {\n nsListToRender.push({\n prefix: node.prefix,\n namespaceURI: node.namespaceURI || defaultNsForPrefix[node.prefix],\n });\n prefixesInScope.push(node.prefix);\n }\n } else if (defaultNs !== currNs) {\n //new default ns\n newDefaultNs = node.namespaceURI || \"\";\n res.push(' xmlns=\"', newDefaultNs, '\"');\n }\n\n //handle the attributes namespace\n if (node.attributes) {\n for (i = 0; i < node.attributes.length; ++i) {\n attr = node.attributes[i];\n\n //handle all prefixed attributes that are included in the prefix list and where\n //the prefix is not defined already. New prefixes can only be defined by `xmlns:`.\n if (attr.prefix === \"xmlns\" && prefixesInScope.indexOf(attr.localName) === -1) {\n nsListToRender.push({ prefix: attr.localName, namespaceURI: attr.value });\n prefixesInScope.push(attr.localName);\n }\n\n //handle all prefixed attributes that are not xmlns definitions and where\n //the prefix is not defined already\n if (\n attr.prefix &&\n prefixesInScope.indexOf(attr.prefix) === -1 &&\n attr.prefix !== \"xmlns\" &&\n attr.prefix !== \"xml\"\n ) {\n nsListToRender.push({ prefix: attr.prefix, namespaceURI: attr.namespaceURI });\n prefixesInScope.push(attr.prefix);\n }\n }\n }\n\n if (utils.isArrayHasLength(ancestorNamespaces)) {\n // Remove namespaces which are already present in nsListToRender\n for (const ancestorNamespace of ancestorNamespaces) {\n let alreadyListed = false;\n for (const nsToRender of nsListToRender) {\n if (\n nsToRender.prefix === ancestorNamespace.prefix &&\n nsToRender.namespaceURI === ancestorNamespace.namespaceURI\n ) {\n alreadyListed = true;\n }\n }\n\n if (!alreadyListed) {\n nsListToRender.push(ancestorNamespace);\n }\n }\n }\n\n nsListToRender.sort(this.nsCompare);\n\n //render namespaces\n res.push(\n ...nsListToRender.map((attr) => {\n if (attr.prefix) {\n return ` xmlns:${attr.prefix}=\"${attr.namespaceURI}\"`;\n }\n return ` xmlns=\"${attr.namespaceURI}\"`;\n }),\n );\n\n return { rendered: res.join(\"\"), newDefaultNs };\n }\n\n /**\n * @param node Node\n */\n processInner(node, prefixesInScope, defaultNs, defaultNsForPrefix, ancestorNamespaces) {\n if (isDomNode.isCommentNode(node)) {\n return this.renderComment(node);\n }\n if (node.data) {\n return utils.encodeSpecialCharactersInText(node.data);\n }\n\n if (isDomNode.isElementNode(node)) {\n let i;\n let pfxCopy;\n const ns = this.renderNs(\n node,\n prefixesInScope,\n defaultNs,\n defaultNsForPrefix,\n ancestorNamespaces,\n );\n const res = [\"<\", node.tagName, ns.rendered, this.renderAttrs(node), \">\"];\n\n for (i = 0; i < node.childNodes.length; ++i) {\n pfxCopy = prefixesInScope.slice(0);\n res.push(\n this.processInner(node.childNodes[i], pfxCopy, ns.newDefaultNs, defaultNsForPrefix, []),\n );\n }\n\n res.push(\"</\", node.tagName, \">\");\n return res.join(\"\");\n }\n\n throw new Error(`Unable to canonicalize node type: ${node.nodeType}`);\n }\n\n // Thanks to deoxxa/xml-c14n for comment renderer\n renderComment(node: Comment) {\n if (!this.includeComments) {\n return \"\";\n }\n\n const isOutsideDocument = node.ownerDocument === node.parentNode;\n let isBeforeDocument = false;\n let isAfterDocument = false;\n\n if (isOutsideDocument) {\n let nextNode: ChildNode | null = node;\n let previousNode: ChildNode | null = node;\n\n while (nextNode !== null) {\n if (nextNode === node.ownerDocument.documentElement) {\n isBeforeDocument = true;\n break;\n }\n\n nextNode = nextNode.nextSibling;\n }\n\n while (previousNode !== null) {\n if (previousNode === node.ownerDocument.documentElement) {\n isAfterDocument = true;\n break;\n }\n\n previousNode = previousNode.previousSibling;\n }\n }\n\n const afterDocument = isAfterDocument ? \"\\n\" : \"\";\n const beforeDocument = isBeforeDocument ? \"\\n\" : \"\";\n const encodedText = utils.encodeSpecialCharactersInText(node.data);\n\n return `${afterDocument}<!--${encodedText}-->${beforeDocument}`;\n }\n\n /**\n * Perform canonicalization of the given node\n *\n * @param node\n * @api public\n */\n process(node: Node, options: CanonicalizationOrTransformationAlgorithmProcessOptions): string {\n options = options || {};\n const defaultNs = options.defaultNs || \"\";\n const defaultNsForPrefix = options.defaultNsForPrefix || {};\n const ancestorNamespaces = options.ancestorNamespaces || [];\n\n const prefixesInScope: string[] = [];\n for (let i = 0; i < ancestorNamespaces.length; i++) {\n prefixesInScope.push(ancestorNamespaces[i].prefix);\n }\n\n const res = this.processInner(\n node,\n prefixesInScope,\n defaultNs,\n defaultNsForPrefix,\n ancestorNamespaces,\n );\n return res;\n }\n\n getAlgorithmName() {\n return \"http://www.w3.org/TR/2001/REC-xml-c14n-20010315\";\n }\n}\n\n/**\n * Add c14n#WithComments here (very simple subclass)\n */\nexport class C14nCanonicalizationWithComments extends C14nCanonicalization {\n constructor() {\n super();\n this.includeComments = true;\n }\n\n getAlgorithmName() {\n return \"http://www.w3.org/TR/2001/REC-xml-c14n-20010315#WithComments\";\n }\n}\n"]}
@@ -1,7 +0,0 @@
1
- import type { CanonicalizationOrTransformationAlgorithm, CanonicalizationOrTransformationAlgorithmProcessOptions, CanonicalizationOrTransformAlgorithmType } from "./types";
2
- export declare class EnvelopedSignature implements CanonicalizationOrTransformationAlgorithm {
3
- protected includeComments: boolean;
4
- constructor();
5
- process(node: Node, options: CanonicalizationOrTransformationAlgorithmProcessOptions): Node;
6
- getAlgorithmName(): CanonicalizationOrTransformAlgorithmType;
7
- }
@@ -1,43 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.EnvelopedSignature = void 0;
4
- const xpath = require("xpath");
5
- const isDomNode = require("@xmldom/is-dom-node");
6
- class EnvelopedSignature {
7
- constructor() {
8
- this.includeComments = false;
9
- this.includeComments = false;
10
- }
11
- process(node, options) {
12
- if (null == options.signatureNode) {
13
- const signature = xpath.select1("./*[local-name(.)='Signature' and namespace-uri(.)='http://www.w3.org/2000/09/xmldsig#']", node);
14
- if (isDomNode.isNodeLike(signature) && signature.parentNode) {
15
- signature.parentNode.removeChild(signature);
16
- }
17
- return node;
18
- }
19
- const signatureNode = options.signatureNode;
20
- const expectedSignatureValue = xpath.select1(".//*[local-name(.)='SignatureValue']/text()", signatureNode);
21
- if (isDomNode.isTextNode(expectedSignatureValue)) {
22
- const expectedSignatureValueData = expectedSignatureValue.data;
23
- const signatures = xpath.select(".//*[local-name(.)='Signature' and namespace-uri(.)='http://www.w3.org/2000/09/xmldsig#']", node);
24
- for (const nodeSignature of Array.isArray(signatures) ? signatures : []) {
25
- const signatureValue = xpath.select1(".//*[local-name(.)='SignatureValue']/text()", nodeSignature);
26
- if (isDomNode.isTextNode(signatureValue)) {
27
- const signatureValueData = signatureValue.data;
28
- if (expectedSignatureValueData === signatureValueData) {
29
- if (nodeSignature.parentNode) {
30
- nodeSignature.parentNode.removeChild(nodeSignature);
31
- }
32
- }
33
- }
34
- }
35
- }
36
- return node;
37
- }
38
- getAlgorithmName() {
39
- return "http://www.w3.org/2000/09/xmldsig#enveloped-signature";
40
- }
41
- }
42
- exports.EnvelopedSignature = EnvelopedSignature;
43
- //# sourceMappingURL=enveloped-signature.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"enveloped-signature.js","sourceRoot":"","sources":["../src/enveloped-signature.ts"],"names":[],"mappings":";;;AAAA,+BAA+B;AAC/B,iDAAiD;AAQjD,MAAa,kBAAkB;IAG7B;QAFU,oBAAe,GAAG,KAAK,CAAC;QAGhC,IAAI,CAAC,eAAe,GAAG,KAAK,CAAC;IAC/B,CAAC;IAED,OAAO,CAAC,IAAU,EAAE,OAAgE;QAClF,IAAI,IAAI,IAAI,OAAO,CAAC,aAAa,EAAE,CAAC;YAClC,MAAM,SAAS,GAAG,KAAK,CAAC,OAAO,CAC7B,0FAA0F,EAC1F,IAAI,CACL,CAAC;YACF,IAAI,SAAS,CAAC,UAAU,CAAC,SAAS,CAAC,IAAI,SAAS,CAAC,UAAU,EAAE,CAAC;gBAC5D,SAAS,CAAC,UAAU,CAAC,WAAW,CAAC,SAAS,CAAC,CAAC;YAC9C,CAAC;YACD,OAAO,IAAI,CAAC;QACd,CAAC;QACD,MAAM,aAAa,GAAG,OAAO,CAAC,aAAa,CAAC;QAC5C,MAAM,sBAAsB,GAAG,KAAK,CAAC,OAAO,CAC1C,6CAA6C,EAC7C,aAAa,CACd,CAAC;QACF,IAAI,SAAS,CAAC,UAAU,CAAC,sBAAsB,CAAC,EAAE,CAAC;YACjD,MAAM,0BAA0B,GAAG,sBAAsB,CAAC,IAAI,CAAC;YAE/D,MAAM,UAAU,GAAG,KAAK,CAAC,MAAM,CAC7B,2FAA2F,EAC3F,IAAI,CACL,CAAC;YACF,KAAK,MAAM,aAAa,IAAI,KAAK,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC;gBACxE,MAAM,cAAc,GAAG,KAAK,CAAC,OAAO,CAClC,6CAA6C,EAC7C,aAAa,CACd,CAAC;gBACF,IAAI,SAAS,CAAC,UAAU,CAAC,cAAc,CAAC,EAAE,CAAC;oBACzC,MAAM,kBAAkB,GAAG,cAAc,CAAC,IAAI,CAAC;oBAC/C,IAAI,0BAA0B,KAAK,kBAAkB,EAAE,CAAC;wBACtD,IAAI,aAAa,CAAC,UAAU,EAAE,CAAC;4BAC7B,aAAa,CAAC,UAAU,CAAC,WAAW,CAAC,aAAa,CAAC,CAAC;wBACtD,CAAC;oBACH,CAAC;gBACH,CAAC;YACH,CAAC;QACH,CAAC;QACD,OAAO,IAAI,CAAC;IACd,CAAC;IAED,gBAAgB;QACd,OAAO,uDAAuD,CAAC;IACjE,CAAC;CACF;AAnDD,gDAmDC","sourcesContent":["import * as xpath from \"xpath\";\nimport * as isDomNode from \"@xmldom/is-dom-node\";\n\nimport type {\n CanonicalizationOrTransformationAlgorithm,\n CanonicalizationOrTransformationAlgorithmProcessOptions,\n CanonicalizationOrTransformAlgorithmType,\n} from \"./types\";\n\nexport class EnvelopedSignature implements CanonicalizationOrTransformationAlgorithm {\n protected includeComments = false;\n\n constructor() {\n this.includeComments = false;\n }\n\n process(node: Node, options: CanonicalizationOrTransformationAlgorithmProcessOptions): Node {\n if (null == options.signatureNode) {\n const signature = xpath.select1(\n \"./*[local-name(.)='Signature' and namespace-uri(.)='http://www.w3.org/2000/09/xmldsig#']\",\n node,\n );\n if (isDomNode.isNodeLike(signature) && signature.parentNode) {\n signature.parentNode.removeChild(signature);\n }\n return node;\n }\n const signatureNode = options.signatureNode;\n const expectedSignatureValue = xpath.select1(\n \".//*[local-name(.)='SignatureValue']/text()\",\n signatureNode,\n );\n if (isDomNode.isTextNode(expectedSignatureValue)) {\n const expectedSignatureValueData = expectedSignatureValue.data;\n\n const signatures = xpath.select(\n \".//*[local-name(.)='Signature' and namespace-uri(.)='http://www.w3.org/2000/09/xmldsig#']\",\n node,\n );\n for (const nodeSignature of Array.isArray(signatures) ? signatures : []) {\n const signatureValue = xpath.select1(\n \".//*[local-name(.)='SignatureValue']/text()\",\n nodeSignature,\n );\n if (isDomNode.isTextNode(signatureValue)) {\n const signatureValueData = signatureValue.data;\n if (expectedSignatureValueData === signatureValueData) {\n if (nodeSignature.parentNode) {\n nodeSignature.parentNode.removeChild(nodeSignature);\n }\n }\n }\n }\n }\n return node;\n }\n\n getAlgorithmName(): CanonicalizationOrTransformAlgorithmType {\n return \"http://www.w3.org/2000/09/xmldsig#enveloped-signature\";\n }\n}\n"]}
@@ -1,38 +0,0 @@
1
- import type { CanonicalizationOrTransformationAlgorithm, CanonicalizationOrTransformationAlgorithmProcessOptions } from "./types";
2
- export declare class ExclusiveCanonicalization implements CanonicalizationOrTransformationAlgorithm {
3
- protected includeComments: boolean;
4
- constructor();
5
- attrCompare(a: any, b: any): 1 | 0 | -1;
6
- nsCompare(a: any, b: any): any;
7
- renderAttrs(node: any): string;
8
- /**
9
- * Create the string of all namespace declarations that should appear on this element
10
- *
11
- * @param {Node} node. The node we now render
12
- * @param {Array} prefixesInScope. The prefixes defined on this node
13
- * parents which are a part of the output set
14
- * @param {String} defaultNs. The current default namespace
15
- * @return {String}
16
- * @api private
17
- */
18
- renderNs(node: any, prefixesInScope: any, defaultNs: any, defaultNsForPrefix: any, inclusiveNamespacesPrefixList: string[]): {
19
- rendered: string;
20
- newDefaultNs: any;
21
- };
22
- /**
23
- * @param node Node
24
- */
25
- processInner(node: any, prefixesInScope: any, defaultNs: any, defaultNsForPrefix: any, inclusiveNamespacesPrefixList: string[]): string;
26
- renderComment(node: Comment): string;
27
- /**
28
- * Perform canonicalization of the given element node
29
- *
30
- * @api public
31
- */
32
- process(elem: Element, options: CanonicalizationOrTransformationAlgorithmProcessOptions): string;
33
- getAlgorithmName(): string;
34
- }
35
- export declare class ExclusiveCanonicalizationWithComments extends ExclusiveCanonicalization {
36
- constructor();
37
- getAlgorithmName(): string;
38
- }
@@ -1,246 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ExclusiveCanonicalizationWithComments = exports.ExclusiveCanonicalization = void 0;
4
- const utils = require("./utils");
5
- const isDomNode = require("@xmldom/is-dom-node");
6
- function isPrefixInScope(prefixesInScope, prefix, namespaceURI) {
7
- let ret = false;
8
- prefixesInScope.forEach(function (pf) {
9
- if (pf.prefix === prefix && pf.namespaceURI === namespaceURI) {
10
- ret = true;
11
- }
12
- });
13
- return ret;
14
- }
15
- class ExclusiveCanonicalization {
16
- constructor() {
17
- this.includeComments = false;
18
- this.includeComments = false;
19
- }
20
- attrCompare(a, b) {
21
- if (!a.namespaceURI && b.namespaceURI) {
22
- return -1;
23
- }
24
- if (!b.namespaceURI && a.namespaceURI) {
25
- return 1;
26
- }
27
- const left = a.namespaceURI + a.localName;
28
- const right = b.namespaceURI + b.localName;
29
- if (left === right) {
30
- return 0;
31
- }
32
- else if (left < right) {
33
- return -1;
34
- }
35
- else {
36
- return 1;
37
- }
38
- }
39
- nsCompare(a, b) {
40
- const attr1 = a.prefix;
41
- const attr2 = b.prefix;
42
- if (attr1 === attr2) {
43
- return 0;
44
- }
45
- return attr1.localeCompare(attr2);
46
- }
47
- renderAttrs(node) {
48
- let i;
49
- let attr;
50
- const res = [];
51
- const attrListToRender = [];
52
- if (isDomNode.isCommentNode(node)) {
53
- return this.renderComment(node);
54
- }
55
- if (node.attributes) {
56
- for (i = 0; i < node.attributes.length; ++i) {
57
- attr = node.attributes[i];
58
- //ignore namespace definition attributes
59
- if (attr.name.indexOf("xmlns") === 0) {
60
- continue;
61
- }
62
- attrListToRender.push(attr);
63
- }
64
- }
65
- attrListToRender.sort(this.attrCompare);
66
- for (attr of attrListToRender) {
67
- res.push(" ", attr.name, '="', utils.encodeSpecialCharactersInAttribute(attr.value), '"');
68
- }
69
- return res.join("");
70
- }
71
- /**
72
- * Create the string of all namespace declarations that should appear on this element
73
- *
74
- * @param {Node} node. The node we now render
75
- * @param {Array} prefixesInScope. The prefixes defined on this node
76
- * parents which are a part of the output set
77
- * @param {String} defaultNs. The current default namespace
78
- * @return {String}
79
- * @api private
80
- */
81
- renderNs(node, prefixesInScope, defaultNs, defaultNsForPrefix, inclusiveNamespacesPrefixList) {
82
- let i;
83
- let attr;
84
- const res = [];
85
- let newDefaultNs = defaultNs;
86
- const nsListToRender = [];
87
- const currNs = node.namespaceURI || "";
88
- //handle the namespaceof the node itself
89
- if (node.prefix) {
90
- if (!isPrefixInScope(prefixesInScope, node.prefix, node.namespaceURI || defaultNsForPrefix[node.prefix])) {
91
- nsListToRender.push({
92
- prefix: node.prefix,
93
- namespaceURI: node.namespaceURI || defaultNsForPrefix[node.prefix],
94
- });
95
- prefixesInScope.push({
96
- prefix: node.prefix,
97
- namespaceURI: node.namespaceURI || defaultNsForPrefix[node.prefix],
98
- });
99
- }
100
- }
101
- else if (defaultNs !== currNs) {
102
- //new default ns
103
- newDefaultNs = node.namespaceURI;
104
- res.push(' xmlns="', newDefaultNs, '"');
105
- }
106
- //handle the attributes namespace
107
- if (node.attributes) {
108
- for (i = 0; i < node.attributes.length; ++i) {
109
- attr = node.attributes[i];
110
- //handle all prefixed attributes that are included in the prefix list and where
111
- //the prefix is not defined already
112
- if (attr.prefix &&
113
- !isPrefixInScope(prefixesInScope, attr.localName, attr.value) &&
114
- inclusiveNamespacesPrefixList.indexOf(attr.localName) >= 0) {
115
- nsListToRender.push({ prefix: attr.localName, namespaceURI: attr.value });
116
- prefixesInScope.push({ prefix: attr.localName, namespaceURI: attr.value });
117
- }
118
- //handle all prefixed attributes that are not xmlns definitions and where
119
- //the prefix is not defined already
120
- if (attr.prefix &&
121
- !isPrefixInScope(prefixesInScope, attr.prefix, attr.namespaceURI) &&
122
- attr.prefix !== "xmlns" &&
123
- attr.prefix !== "xml") {
124
- nsListToRender.push({ prefix: attr.prefix, namespaceURI: attr.namespaceURI });
125
- prefixesInScope.push({ prefix: attr.prefix, namespaceURI: attr.namespaceURI });
126
- }
127
- }
128
- }
129
- nsListToRender.sort(this.nsCompare);
130
- //render namespaces
131
- for (const p of nsListToRender) {
132
- res.push(" xmlns:", p.prefix, '="', p.namespaceURI, '"');
133
- }
134
- return { rendered: res.join(""), newDefaultNs: newDefaultNs };
135
- }
136
- /**
137
- * @param node Node
138
- */
139
- processInner(node, prefixesInScope, defaultNs, defaultNsForPrefix, inclusiveNamespacesPrefixList) {
140
- if (isDomNode.isCommentNode(node)) {
141
- return this.renderComment(node);
142
- }
143
- if (node.data) {
144
- return utils.encodeSpecialCharactersInText(node.data);
145
- }
146
- if (isDomNode.isElementNode(node)) {
147
- let i;
148
- let pfxCopy;
149
- const ns = this.renderNs(node, prefixesInScope, defaultNs, defaultNsForPrefix, inclusiveNamespacesPrefixList);
150
- const res = ["<", node.tagName, ns.rendered, this.renderAttrs(node), ">"];
151
- for (i = 0; i < node.childNodes.length; ++i) {
152
- pfxCopy = prefixesInScope.slice(0);
153
- res.push(this.processInner(node.childNodes[i], pfxCopy, ns.newDefaultNs, defaultNsForPrefix, inclusiveNamespacesPrefixList));
154
- }
155
- res.push("</", node.tagName, ">");
156
- return res.join("");
157
- }
158
- throw new Error(`Unable to exclusive canonicalize node type: ${node.nodeType}`);
159
- }
160
- // Thanks to deoxxa/xml-c14n for comment renderer
161
- renderComment(node) {
162
- if (!this.includeComments) {
163
- return "";
164
- }
165
- const isOutsideDocument = node.ownerDocument === node.parentNode;
166
- let isBeforeDocument = false;
167
- let isAfterDocument = false;
168
- if (isOutsideDocument) {
169
- let nextNode = node;
170
- let previousNode = node;
171
- while (nextNode != null) {
172
- if (nextNode === node.ownerDocument.documentElement) {
173
- isBeforeDocument = true;
174
- break;
175
- }
176
- nextNode = nextNode.nextSibling;
177
- }
178
- while (previousNode != null) {
179
- if (previousNode === node.ownerDocument.documentElement) {
180
- isAfterDocument = true;
181
- break;
182
- }
183
- previousNode = previousNode.previousSibling;
184
- }
185
- }
186
- const afterDocument = isAfterDocument ? "\n" : "";
187
- const beforeDocument = isBeforeDocument ? "\n" : "";
188
- const encodedText = utils.encodeSpecialCharactersInText(node.data);
189
- return `${afterDocument}<!--${encodedText}-->${beforeDocument}`;
190
- }
191
- /**
192
- * Perform canonicalization of the given element node
193
- *
194
- * @api public
195
- */
196
- process(elem, options) {
197
- options = options || {};
198
- let inclusiveNamespacesPrefixList = options.inclusiveNamespacesPrefixList || [];
199
- const defaultNs = options.defaultNs || "";
200
- const defaultNsForPrefix = options.defaultNsForPrefix || {};
201
- const ancestorNamespaces = options.ancestorNamespaces || [];
202
- /**
203
- * If the inclusiveNamespacesPrefixList has not been explicitly provided then look it up in CanonicalizationMethod/InclusiveNamespaces
204
- */
205
- if (!utils.isArrayHasLength(inclusiveNamespacesPrefixList)) {
206
- const CanonicalizationMethod = utils.findChildren(elem, "CanonicalizationMethod");
207
- if (CanonicalizationMethod.length !== 0) {
208
- const inclusiveNamespaces = utils.findChildren(CanonicalizationMethod[0], "InclusiveNamespaces");
209
- if (inclusiveNamespaces.length !== 0) {
210
- inclusiveNamespacesPrefixList = (inclusiveNamespaces[0].getAttribute("PrefixList") || "").split(" ");
211
- }
212
- }
213
- }
214
- /**
215
- * If you have a PrefixList then use it and the ancestors to add the necessary namespaces
216
- */
217
- if (utils.isArrayHasLength(inclusiveNamespacesPrefixList)) {
218
- inclusiveNamespacesPrefixList.forEach(function (prefix) {
219
- if (ancestorNamespaces) {
220
- ancestorNamespaces.forEach(function (ancestorNamespace) {
221
- if (prefix === ancestorNamespace.prefix) {
222
- elem.setAttributeNS("http://www.w3.org/2000/xmlns/", `xmlns:${prefix}`, ancestorNamespace.namespaceURI);
223
- }
224
- });
225
- }
226
- });
227
- }
228
- const res = this.processInner(elem, [], defaultNs, defaultNsForPrefix, inclusiveNamespacesPrefixList);
229
- return res;
230
- }
231
- getAlgorithmName() {
232
- return "http://www.w3.org/2001/10/xml-exc-c14n#";
233
- }
234
- }
235
- exports.ExclusiveCanonicalization = ExclusiveCanonicalization;
236
- class ExclusiveCanonicalizationWithComments extends ExclusiveCanonicalization {
237
- constructor() {
238
- super();
239
- this.includeComments = true;
240
- }
241
- getAlgorithmName() {
242
- return "http://www.w3.org/2001/10/xml-exc-c14n#WithComments";
243
- }
244
- }
245
- exports.ExclusiveCanonicalizationWithComments = ExclusiveCanonicalizationWithComments;
246
- //# sourceMappingURL=exclusive-canonicalization.js.map