@pokash/n8n-nodes-ksef 0.2.15 → 0.2.16

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/node_modules/@oozcitak/dom/LICENSE +21 -0
  2. package/node_modules/@oozcitak/dom/README.md +32 -0
  3. package/node_modules/@oozcitak/dom/lib/algorithm/AbortAlgorithm.d.ts +21 -0
  4. package/node_modules/@oozcitak/dom/lib/algorithm/AbortAlgorithm.js +79 -0
  5. package/node_modules/@oozcitak/dom/lib/algorithm/AbortAlgorithm.js.map +1 -0
  6. package/node_modules/@oozcitak/dom/lib/algorithm/AttrAlgorithm.d.ts +8 -0
  7. package/node_modules/@oozcitak/dom/lib/algorithm/AttrAlgorithm.js +23 -0
  8. package/node_modules/@oozcitak/dom/lib/algorithm/AttrAlgorithm.js.map +1 -0
  9. package/node_modules/@oozcitak/dom/lib/algorithm/BoundaryPointAlgorithm.d.ts +8 -0
  10. package/node_modules/@oozcitak/dom/lib/algorithm/BoundaryPointAlgorithm.js +76 -0
  11. package/node_modules/@oozcitak/dom/lib/algorithm/BoundaryPointAlgorithm.js.map +1 -0
  12. package/node_modules/@oozcitak/dom/lib/algorithm/CharacterDataAlgorithm.d.ts +19 -0
  13. package/node_modules/@oozcitak/dom/lib/algorithm/CharacterDataAlgorithm.js +140 -0
  14. package/node_modules/@oozcitak/dom/lib/algorithm/CharacterDataAlgorithm.js.map +1 -0
  15. package/node_modules/@oozcitak/dom/lib/algorithm/CreateAlgorithm.d.ts +192 -0
  16. package/node_modules/@oozcitak/dom/lib/algorithm/CreateAlgorithm.js +303 -0
  17. package/node_modules/@oozcitak/dom/lib/algorithm/CreateAlgorithm.js.map +1 -0
  18. package/node_modules/@oozcitak/dom/lib/algorithm/CustomElementAlgorithm.d.ts +61 -0
  19. package/node_modules/@oozcitak/dom/lib/algorithm/CustomElementAlgorithm.js +108 -0
  20. package/node_modules/@oozcitak/dom/lib/algorithm/CustomElementAlgorithm.js.map +1 -0
  21. package/node_modules/@oozcitak/dom/lib/algorithm/DOMAlgorithm.d.ts +72 -0
  22. package/node_modules/@oozcitak/dom/lib/algorithm/DOMAlgorithm.js +288 -0
  23. package/node_modules/@oozcitak/dom/lib/algorithm/DOMAlgorithm.js.map +1 -0
  24. package/node_modules/@oozcitak/dom/lib/algorithm/DOMTokenListAlgorithm.d.ts +21 -0
  25. package/node_modules/@oozcitak/dom/lib/algorithm/DOMTokenListAlgorithm.js +61 -0
  26. package/node_modules/@oozcitak/dom/lib/algorithm/DOMTokenListAlgorithm.js.map +1 -0
  27. package/node_modules/@oozcitak/dom/lib/algorithm/DocumentAlgorithm.d.ts +29 -0
  28. package/node_modules/@oozcitak/dom/lib/algorithm/DocumentAlgorithm.js +161 -0
  29. package/node_modules/@oozcitak/dom/lib/algorithm/DocumentAlgorithm.js.map +1 -0
  30. package/node_modules/@oozcitak/dom/lib/algorithm/ElementAlgorithm.d.ts +121 -0
  31. package/node_modules/@oozcitak/dom/lib/algorithm/ElementAlgorithm.js +608 -0
  32. package/node_modules/@oozcitak/dom/lib/algorithm/ElementAlgorithm.js.map +1 -0
  33. package/node_modules/@oozcitak/dom/lib/algorithm/EventAlgorithm.d.ts +146 -0
  34. package/node_modules/@oozcitak/dom/lib/algorithm/EventAlgorithm.js +995 -0
  35. package/node_modules/@oozcitak/dom/lib/algorithm/EventAlgorithm.js.map +1 -0
  36. package/node_modules/@oozcitak/dom/lib/algorithm/EventTargetAlgorithm.d.ts +33 -0
  37. package/node_modules/@oozcitak/dom/lib/algorithm/EventTargetAlgorithm.js +142 -0
  38. package/node_modules/@oozcitak/dom/lib/algorithm/EventTargetAlgorithm.js.map +1 -0
  39. package/node_modules/@oozcitak/dom/lib/algorithm/MutationAlgorithm.d.ts +66 -0
  40. package/node_modules/@oozcitak/dom/lib/algorithm/MutationAlgorithm.js +1173 -0
  41. package/node_modules/@oozcitak/dom/lib/algorithm/MutationAlgorithm.js.map +1 -0
  42. package/node_modules/@oozcitak/dom/lib/algorithm/MutationObserverAlgorithm.d.ts +43 -0
  43. package/node_modules/@oozcitak/dom/lib/algorithm/MutationObserverAlgorithm.js +276 -0
  44. package/node_modules/@oozcitak/dom/lib/algorithm/MutationObserverAlgorithm.js.map +1 -0
  45. package/node_modules/@oozcitak/dom/lib/algorithm/NamespaceAlgorithm.d.ts +25 -0
  46. package/node_modules/@oozcitak/dom/lib/algorithm/NamespaceAlgorithm.js +85 -0
  47. package/node_modules/@oozcitak/dom/lib/algorithm/NamespaceAlgorithm.js.map +1 -0
  48. package/node_modules/@oozcitak/dom/lib/algorithm/NodeAlgorithm.d.ts +68 -0
  49. package/node_modules/@oozcitak/dom/lib/algorithm/NodeAlgorithm.js +543 -0
  50. package/node_modules/@oozcitak/dom/lib/algorithm/NodeAlgorithm.js.map +1 -0
  51. package/node_modules/@oozcitak/dom/lib/algorithm/NodeIteratorAlgorithm.d.ts +15 -0
  52. package/node_modules/@oozcitak/dom/lib/algorithm/NodeIteratorAlgorithm.js +105 -0
  53. package/node_modules/@oozcitak/dom/lib/algorithm/NodeIteratorAlgorithm.js.map +1 -0
  54. package/node_modules/@oozcitak/dom/lib/algorithm/OrderedSetAlgorithm.d.ts +27 -0
  55. package/node_modules/@oozcitak/dom/lib/algorithm/OrderedSetAlgorithm.js +125 -0
  56. package/node_modules/@oozcitak/dom/lib/algorithm/OrderedSetAlgorithm.js.map +1 -0
  57. package/node_modules/@oozcitak/dom/lib/algorithm/ParentNodeAlgorithm.d.ts +9 -0
  58. package/node_modules/@oozcitak/dom/lib/algorithm/ParentNodeAlgorithm.js +69 -0
  59. package/node_modules/@oozcitak/dom/lib/algorithm/ParentNodeAlgorithm.js.map +1 -0
  60. package/node_modules/@oozcitak/dom/lib/algorithm/RangeAlgorithm.d.ts +82 -0
  61. package/node_modules/@oozcitak/dom/lib/algorithm/RangeAlgorithm.js +829 -0
  62. package/node_modules/@oozcitak/dom/lib/algorithm/RangeAlgorithm.js.map +1 -0
  63. package/node_modules/@oozcitak/dom/lib/algorithm/SelectorsAlgorithm.d.ts +8 -0
  64. package/node_modules/@oozcitak/dom/lib/algorithm/SelectorsAlgorithm.js +21 -0
  65. package/node_modules/@oozcitak/dom/lib/algorithm/SelectorsAlgorithm.js.map +1 -0
  66. package/node_modules/@oozcitak/dom/lib/algorithm/ShadowTreeAlgorithm.d.ts +57 -0
  67. package/node_modules/@oozcitak/dom/lib/algorithm/ShadowTreeAlgorithm.js +316 -0
  68. package/node_modules/@oozcitak/dom/lib/algorithm/ShadowTreeAlgorithm.js.map +1 -0
  69. package/node_modules/@oozcitak/dom/lib/algorithm/TextAlgorithm.d.ts +30 -0
  70. package/node_modules/@oozcitak/dom/lib/algorithm/TextAlgorithm.js +226 -0
  71. package/node_modules/@oozcitak/dom/lib/algorithm/TextAlgorithm.js.map +1 -0
  72. package/node_modules/@oozcitak/dom/lib/algorithm/TraversalAlgorithm.d.ts +8 -0
  73. package/node_modules/@oozcitak/dom/lib/algorithm/TraversalAlgorithm.js +62 -0
  74. package/node_modules/@oozcitak/dom/lib/algorithm/TraversalAlgorithm.js.map +1 -0
  75. package/node_modules/@oozcitak/dom/lib/algorithm/TreeAlgorithm.d.ts +268 -0
  76. package/node_modules/@oozcitak/dom/lib/algorithm/TreeAlgorithm.js +853 -0
  77. package/node_modules/@oozcitak/dom/lib/algorithm/TreeAlgorithm.js.map +1 -0
  78. package/node_modules/@oozcitak/dom/lib/algorithm/TreeWalkerAlgorithm.d.ts +17 -0
  79. package/node_modules/@oozcitak/dom/lib/algorithm/TreeWalkerAlgorithm.js +147 -0
  80. package/node_modules/@oozcitak/dom/lib/algorithm/TreeWalkerAlgorithm.js.map +1 -0
  81. package/node_modules/@oozcitak/dom/lib/algorithm/WebIDLAlgorithm.d.ts +8 -0
  82. package/node_modules/@oozcitak/dom/lib/algorithm/WebIDLAlgorithm.js +14 -0
  83. package/node_modules/@oozcitak/dom/lib/algorithm/WebIDLAlgorithm.js.map +1 -0
  84. package/node_modules/@oozcitak/dom/lib/algorithm/XMLAlgorithm.d.ts +25 -0
  85. package/node_modules/@oozcitak/dom/lib/algorithm/XMLAlgorithm.js +164 -0
  86. package/node_modules/@oozcitak/dom/lib/algorithm/XMLAlgorithm.js.map +1 -0
  87. package/node_modules/@oozcitak/dom/lib/algorithm/index.d.ts +28 -0
  88. package/node_modules/@oozcitak/dom/lib/algorithm/index.js +34 -0
  89. package/node_modules/@oozcitak/dom/lib/algorithm/index.js.map +1 -0
  90. package/node_modules/@oozcitak/dom/lib/dom/AbortControllerImpl.d.ts +15 -0
  91. package/node_modules/@oozcitak/dom/lib/dom/AbortControllerImpl.js +32 -0
  92. package/node_modules/@oozcitak/dom/lib/dom/AbortControllerImpl.js.map +1 -0
  93. package/node_modules/@oozcitak/dom/lib/dom/AbortSignalImpl.d.ts +23 -0
  94. package/node_modules/@oozcitak/dom/lib/dom/AbortSignalImpl.js +59 -0
  95. package/node_modules/@oozcitak/dom/lib/dom/AbortSignalImpl.js.map +1 -0
  96. package/node_modules/@oozcitak/dom/lib/dom/AbstractRangeImpl.d.ts +23 -0
  97. package/node_modules/@oozcitak/dom/lib/dom/AbstractRangeImpl.js +70 -0
  98. package/node_modules/@oozcitak/dom/lib/dom/AbstractRangeImpl.js.map +1 -0
  99. package/node_modules/@oozcitak/dom/lib/dom/AttrImpl.d.ts +45 -0
  100. package/node_modules/@oozcitak/dom/lib/dom/AttrImpl.js +118 -0
  101. package/node_modules/@oozcitak/dom/lib/dom/AttrImpl.js.map +1 -0
  102. package/node_modules/@oozcitak/dom/lib/dom/CDATASectionImpl.d.ts +21 -0
  103. package/node_modules/@oozcitak/dom/lib/dom/CDATASectionImpl.js +51 -0
  104. package/node_modules/@oozcitak/dom/lib/dom/CDATASectionImpl.js.map +1 -0
  105. package/node_modules/@oozcitak/dom/lib/dom/CharacterDataImpl.d.ts +35 -0
  106. package/node_modules/@oozcitak/dom/lib/dom/CharacterDataImpl.js +132 -0
  107. package/node_modules/@oozcitak/dom/lib/dom/CharacterDataImpl.js.map +1 -0
  108. package/node_modules/@oozcitak/dom/lib/dom/ChildNodeImpl.d.ts +16 -0
  109. package/node_modules/@oozcitak/dom/lib/dom/ChildNodeImpl.js +165 -0
  110. package/node_modules/@oozcitak/dom/lib/dom/ChildNodeImpl.js.map +1 -0
  111. package/node_modules/@oozcitak/dom/lib/dom/CommentImpl.d.ts +21 -0
  112. package/node_modules/@oozcitak/dom/lib/dom/CommentImpl.js +52 -0
  113. package/node_modules/@oozcitak/dom/lib/dom/CommentImpl.js.map +1 -0
  114. package/node_modules/@oozcitak/dom/lib/dom/CustomEventImpl.d.ts +16 -0
  115. package/node_modules/@oozcitak/dom/lib/dom/CustomEventImpl.js +60 -0
  116. package/node_modules/@oozcitak/dom/lib/dom/CustomEventImpl.js.map +1 -0
  117. package/node_modules/@oozcitak/dom/lib/dom/DOMException.d.ts +171 -0
  118. package/node_modules/@oozcitak/dom/lib/dom/DOMException.js +347 -0
  119. package/node_modules/@oozcitak/dom/lib/dom/DOMException.js.map +1 -0
  120. package/node_modules/@oozcitak/dom/lib/dom/DOMImpl.d.ts +48 -0
  121. package/node_modules/@oozcitak/dom/lib/dom/DOMImpl.js +100 -0
  122. package/node_modules/@oozcitak/dom/lib/dom/DOMImpl.js.map +1 -0
  123. package/node_modules/@oozcitak/dom/lib/dom/DOMImplementationImpl.d.ts +29 -0
  124. package/node_modules/@oozcitak/dom/lib/dom/DOMImplementationImpl.js +149 -0
  125. package/node_modules/@oozcitak/dom/lib/dom/DOMImplementationImpl.js.map +1 -0
  126. package/node_modules/@oozcitak/dom/lib/dom/DOMTokenListImpl.d.ts +46 -0
  127. package/node_modules/@oozcitak/dom/lib/dom/DOMTokenListImpl.js +312 -0
  128. package/node_modules/@oozcitak/dom/lib/dom/DOMTokenListImpl.js.map +1 -0
  129. package/node_modules/@oozcitak/dom/lib/dom/DocumentFragmentImpl.d.ts +32 -0
  130. package/node_modules/@oozcitak/dom/lib/dom/DocumentFragmentImpl.js +103 -0
  131. package/node_modules/@oozcitak/dom/lib/dom/DocumentFragmentImpl.js.map +1 -0
  132. package/node_modules/@oozcitak/dom/lib/dom/DocumentImpl.d.ts +116 -0
  133. package/node_modules/@oozcitak/dom/lib/dom/DocumentImpl.js +545 -0
  134. package/node_modules/@oozcitak/dom/lib/dom/DocumentImpl.js.map +1 -0
  135. package/node_modules/@oozcitak/dom/lib/dom/DocumentOrShadowRootImpl.d.ts +11 -0
  136. package/node_modules/@oozcitak/dom/lib/dom/DocumentOrShadowRootImpl.js +17 -0
  137. package/node_modules/@oozcitak/dom/lib/dom/DocumentOrShadowRootImpl.js.map +1 -0
  138. package/node_modules/@oozcitak/dom/lib/dom/DocumentTypeImpl.d.ts +39 -0
  139. package/node_modules/@oozcitak/dom/lib/dom/DocumentTypeImpl.js +109 -0
  140. package/node_modules/@oozcitak/dom/lib/dom/DocumentTypeImpl.js.map +1 -0
  141. package/node_modules/@oozcitak/dom/lib/dom/ElementImpl.d.ts +132 -0
  142. package/node_modules/@oozcitak/dom/lib/dom/ElementImpl.js +714 -0
  143. package/node_modules/@oozcitak/dom/lib/dom/ElementImpl.js.map +1 -0
  144. package/node_modules/@oozcitak/dom/lib/dom/EventImpl.d.ts +74 -0
  145. package/node_modules/@oozcitak/dom/lib/dom/EventImpl.js +313 -0
  146. package/node_modules/@oozcitak/dom/lib/dom/EventImpl.js.map +1 -0
  147. package/node_modules/@oozcitak/dom/lib/dom/EventTargetImpl.d.ts +30 -0
  148. package/node_modules/@oozcitak/dom/lib/dom/EventTargetImpl.js +133 -0
  149. package/node_modules/@oozcitak/dom/lib/dom/EventTargetImpl.js.map +1 -0
  150. package/node_modules/@oozcitak/dom/lib/dom/HTMLCollectionImpl.d.ts +44 -0
  151. package/node_modules/@oozcitak/dom/lib/dom/HTMLCollectionImpl.js +157 -0
  152. package/node_modules/@oozcitak/dom/lib/dom/HTMLCollectionImpl.js.map +1 -0
  153. package/node_modules/@oozcitak/dom/lib/dom/MutationObserverImpl.d.ts +22 -0
  154. package/node_modules/@oozcitak/dom/lib/dom/MutationObserverImpl.js +184 -0
  155. package/node_modules/@oozcitak/dom/lib/dom/MutationObserverImpl.js.map +1 -0
  156. package/node_modules/@oozcitak/dom/lib/dom/MutationRecordImpl.d.ts +73 -0
  157. package/node_modules/@oozcitak/dom/lib/dom/MutationRecordImpl.js +116 -0
  158. package/node_modules/@oozcitak/dom/lib/dom/MutationRecordImpl.js.map +1 -0
  159. package/node_modules/@oozcitak/dom/lib/dom/NamedNodeMapImpl.d.ts +34 -0
  160. package/node_modules/@oozcitak/dom/lib/dom/NamedNodeMapImpl.js +112 -0
  161. package/node_modules/@oozcitak/dom/lib/dom/NamedNodeMapImpl.js.map +1 -0
  162. package/node_modules/@oozcitak/dom/lib/dom/NodeFilterImpl.d.ts +50 -0
  163. package/node_modules/@oozcitak/dom/lib/dom/NodeFilterImpl.js +64 -0
  164. package/node_modules/@oozcitak/dom/lib/dom/NodeFilterImpl.js.map +1 -0
  165. package/node_modules/@oozcitak/dom/lib/dom/NodeImpl.d.ts +252 -0
  166. package/node_modules/@oozcitak/dom/lib/dom/NodeImpl.js +891 -0
  167. package/node_modules/@oozcitak/dom/lib/dom/NodeImpl.js.map +1 -0
  168. package/node_modules/@oozcitak/dom/lib/dom/NodeIteratorImpl.d.ts +34 -0
  169. package/node_modules/@oozcitak/dom/lib/dom/NodeIteratorImpl.js +86 -0
  170. package/node_modules/@oozcitak/dom/lib/dom/NodeIteratorImpl.js.map +1 -0
  171. package/node_modules/@oozcitak/dom/lib/dom/NodeListImpl.d.ts +46 -0
  172. package/node_modules/@oozcitak/dom/lib/dom/NodeListImpl.js +198 -0
  173. package/node_modules/@oozcitak/dom/lib/dom/NodeListImpl.js.map +1 -0
  174. package/node_modules/@oozcitak/dom/lib/dom/NodeListStaticImpl.d.ts +49 -0
  175. package/node_modules/@oozcitak/dom/lib/dom/NodeListStaticImpl.js +188 -0
  176. package/node_modules/@oozcitak/dom/lib/dom/NodeListStaticImpl.js.map +1 -0
  177. package/node_modules/@oozcitak/dom/lib/dom/NonDocumentTypeChildNodeImpl.d.ts +12 -0
  178. package/node_modules/@oozcitak/dom/lib/dom/NonDocumentTypeChildNodeImpl.js +53 -0
  179. package/node_modules/@oozcitak/dom/lib/dom/NonDocumentTypeChildNodeImpl.js.map +1 -0
  180. package/node_modules/@oozcitak/dom/lib/dom/NonElementParentNodeImpl.d.ts +9 -0
  181. package/node_modules/@oozcitak/dom/lib/dom/NonElementParentNodeImpl.js +31 -0
  182. package/node_modules/@oozcitak/dom/lib/dom/NonElementParentNodeImpl.js.map +1 -0
  183. package/node_modules/@oozcitak/dom/lib/dom/ParentNodeImpl.d.ts +24 -0
  184. package/node_modules/@oozcitak/dom/lib/dom/ParentNodeImpl.js +158 -0
  185. package/node_modules/@oozcitak/dom/lib/dom/ParentNodeImpl.js.map +1 -0
  186. package/node_modules/@oozcitak/dom/lib/dom/ProcessingInstructionImpl.d.ts +25 -0
  187. package/node_modules/@oozcitak/dom/lib/dom/ProcessingInstructionImpl.js +59 -0
  188. package/node_modules/@oozcitak/dom/lib/dom/ProcessingInstructionImpl.js.map +1 -0
  189. package/node_modules/@oozcitak/dom/lib/dom/RangeImpl.d.ts +71 -0
  190. package/node_modules/@oozcitak/dom/lib/dom/RangeImpl.js +649 -0
  191. package/node_modules/@oozcitak/dom/lib/dom/RangeImpl.js.map +1 -0
  192. package/node_modules/@oozcitak/dom/lib/dom/ShadowRootImpl.d.ts +33 -0
  193. package/node_modules/@oozcitak/dom/lib/dom/ShadowRootImpl.js +82 -0
  194. package/node_modules/@oozcitak/dom/lib/dom/ShadowRootImpl.js.map +1 -0
  195. package/node_modules/@oozcitak/dom/lib/dom/SlotableImpl.d.ts +16 -0
  196. package/node_modules/@oozcitak/dom/lib/dom/SlotableImpl.js +35 -0
  197. package/node_modules/@oozcitak/dom/lib/dom/SlotableImpl.js.map +1 -0
  198. package/node_modules/@oozcitak/dom/lib/dom/StaticRangeImpl.d.ts +13 -0
  199. package/node_modules/@oozcitak/dom/lib/dom/StaticRangeImpl.js +48 -0
  200. package/node_modules/@oozcitak/dom/lib/dom/StaticRangeImpl.js.map +1 -0
  201. package/node_modules/@oozcitak/dom/lib/dom/TextImpl.d.ts +28 -0
  202. package/node_modules/@oozcitak/dom/lib/dom/TextImpl.js +109 -0
  203. package/node_modules/@oozcitak/dom/lib/dom/TextImpl.js.map +1 -0
  204. package/node_modules/@oozcitak/dom/lib/dom/TraverserImpl.d.ts +23 -0
  205. package/node_modules/@oozcitak/dom/lib/dom/TraverserImpl.js +41 -0
  206. package/node_modules/@oozcitak/dom/lib/dom/TraverserImpl.js.map +1 -0
  207. package/node_modules/@oozcitak/dom/lib/dom/TreeWalkerImpl.d.ts +36 -0
  208. package/node_modules/@oozcitak/dom/lib/dom/TreeWalkerImpl.js +249 -0
  209. package/node_modules/@oozcitak/dom/lib/dom/TreeWalkerImpl.js.map +1 -0
  210. package/node_modules/@oozcitak/dom/lib/dom/WindowImpl.d.ts +26 -0
  211. package/node_modules/@oozcitak/dom/lib/dom/WindowImpl.js +57 -0
  212. package/node_modules/@oozcitak/dom/lib/dom/WindowImpl.js.map +1 -0
  213. package/node_modules/@oozcitak/dom/lib/dom/XMLDocumentImpl.d.ts +11 -0
  214. package/node_modules/@oozcitak/dom/lib/dom/XMLDocumentImpl.js +31 -0
  215. package/node_modules/@oozcitak/dom/lib/dom/XMLDocumentImpl.js.map +1 -0
  216. package/node_modules/@oozcitak/dom/lib/dom/index.d.ts +36 -0
  217. package/node_modules/@oozcitak/dom/lib/dom/index.js +102 -0
  218. package/node_modules/@oozcitak/dom/lib/dom/index.js.map +1 -0
  219. package/node_modules/@oozcitak/dom/lib/dom/interfaces.d.ts +2218 -0
  220. package/node_modules/@oozcitak/dom/lib/dom/interfaces.js +91 -0
  221. package/node_modules/@oozcitak/dom/lib/dom/interfaces.js.map +1 -0
  222. package/node_modules/@oozcitak/dom/lib/index.d.ts +3 -0
  223. package/node_modules/@oozcitak/dom/lib/index.js +11 -0
  224. package/node_modules/@oozcitak/dom/lib/index.js.map +1 -0
  225. package/node_modules/@oozcitak/dom/lib/parser/DOMParserImpl.d.ts +11 -0
  226. package/node_modules/@oozcitak/dom/lib/parser/DOMParserImpl.js +37 -0
  227. package/node_modules/@oozcitak/dom/lib/parser/DOMParserImpl.js.map +1 -0
  228. package/node_modules/@oozcitak/dom/lib/parser/XMLParserImpl.d.ts +26 -0
  229. package/node_modules/@oozcitak/dom/lib/parser/XMLParserImpl.js +240 -0
  230. package/node_modules/@oozcitak/dom/lib/parser/XMLParserImpl.js.map +1 -0
  231. package/node_modules/@oozcitak/dom/lib/parser/XMLStringLexer.d.ts +159 -0
  232. package/node_modules/@oozcitak/dom/lib/parser/XMLStringLexer.js +512 -0
  233. package/node_modules/@oozcitak/dom/lib/parser/XMLStringLexer.js.map +1 -0
  234. package/node_modules/@oozcitak/dom/lib/parser/index.d.ts +1 -0
  235. package/node_modules/@oozcitak/dom/lib/parser/index.js +6 -0
  236. package/node_modules/@oozcitak/dom/lib/parser/index.js.map +1 -0
  237. package/node_modules/@oozcitak/dom/lib/parser/interfaces.d.ts +131 -0
  238. package/node_modules/@oozcitak/dom/lib/parser/interfaces.js +18 -0
  239. package/node_modules/@oozcitak/dom/lib/parser/interfaces.js.map +1 -0
  240. package/node_modules/@oozcitak/dom/lib/serializer/LocalNameSet.d.ts +27 -0
  241. package/node_modules/@oozcitak/dom/lib/serializer/LocalNameSet.js +56 -0
  242. package/node_modules/@oozcitak/dom/lib/serializer/LocalNameSet.js.map +1 -0
  243. package/node_modules/@oozcitak/dom/lib/serializer/NamespacePrefixMap.d.ts +52 -0
  244. package/node_modules/@oozcitak/dom/lib/serializer/NamespacePrefixMap.js +151 -0
  245. package/node_modules/@oozcitak/dom/lib/serializer/NamespacePrefixMap.js.map +1 -0
  246. package/node_modules/@oozcitak/dom/lib/serializer/XMLSerializerImpl.d.ts +166 -0
  247. package/node_modules/@oozcitak/dom/lib/serializer/XMLSerializerImpl.js +1479 -0
  248. package/node_modules/@oozcitak/dom/lib/serializer/XMLSerializerImpl.js.map +1 -0
  249. package/node_modules/@oozcitak/dom/lib/serializer/index.d.ts +1 -0
  250. package/node_modules/@oozcitak/dom/lib/serializer/index.js +6 -0
  251. package/node_modules/@oozcitak/dom/lib/serializer/index.js.map +1 -0
  252. package/node_modules/@oozcitak/dom/lib/serializer/interfaces.d.ts +15 -0
  253. package/node_modules/@oozcitak/dom/lib/serializer/interfaces.js +3 -0
  254. package/node_modules/@oozcitak/dom/lib/serializer/interfaces.js.map +1 -0
  255. package/node_modules/@oozcitak/dom/lib/util/Cast.d.ts +12 -0
  256. package/node_modules/@oozcitak/dom/lib/util/Cast.js +26 -0
  257. package/node_modules/@oozcitak/dom/lib/util/Cast.js.map +1 -0
  258. package/node_modules/@oozcitak/dom/lib/util/EmptySet.d.ts +13 -0
  259. package/node_modules/@oozcitak/dom/lib/util/EmptySet.js +61 -0
  260. package/node_modules/@oozcitak/dom/lib/util/EmptySet.js.map +1 -0
  261. package/node_modules/@oozcitak/dom/lib/util/Guard.d.ts +135 -0
  262. package/node_modules/@oozcitak/dom/lib/util/Guard.js +192 -0
  263. package/node_modules/@oozcitak/dom/lib/util/Guard.js.map +1 -0
  264. package/node_modules/@oozcitak/dom/lib/util/index.d.ts +3 -0
  265. package/node_modules/@oozcitak/dom/lib/util/index.js +9 -0
  266. package/node_modules/@oozcitak/dom/lib/util/index.js.map +1 -0
  267. package/node_modules/@oozcitak/dom/package.json +72 -0
  268. package/node_modules/@oozcitak/infra/LICENSE +21 -0
  269. package/node_modules/@oozcitak/infra/README.md +13 -0
  270. package/node_modules/@oozcitak/infra/lib/Base64.d.ts +12 -0
  271. package/node_modules/@oozcitak/infra/lib/Base64.js +82 -0
  272. package/node_modules/@oozcitak/infra/lib/Base64.js.map +1 -0
  273. package/node_modules/@oozcitak/infra/lib/Byte.d.ts +6 -0
  274. package/node_modules/@oozcitak/infra/lib/Byte.js +15 -0
  275. package/node_modules/@oozcitak/infra/lib/Byte.js.map +1 -0
  276. package/node_modules/@oozcitak/infra/lib/ByteSequence.d.ts +45 -0
  277. package/node_modules/@oozcitak/infra/lib/ByteSequence.js +171 -0
  278. package/node_modules/@oozcitak/infra/lib/ByteSequence.js.map +1 -0
  279. package/node_modules/@oozcitak/infra/lib/CodePoints.d.ts +82 -0
  280. package/node_modules/@oozcitak/infra/lib/CodePoints.js +85 -0
  281. package/node_modules/@oozcitak/infra/lib/CodePoints.js.map +1 -0
  282. package/node_modules/@oozcitak/infra/lib/JSON.d.ts +24 -0
  283. package/node_modules/@oozcitak/infra/lib/JSON.js +123 -0
  284. package/node_modules/@oozcitak/infra/lib/JSON.js.map +1 -0
  285. package/node_modules/@oozcitak/infra/lib/List.d.ts +101 -0
  286. package/node_modules/@oozcitak/infra/lib/List.js +325 -0
  287. package/node_modules/@oozcitak/infra/lib/List.js.map +1 -0
  288. package/node_modules/@oozcitak/infra/lib/Map.d.ts +87 -0
  289. package/node_modules/@oozcitak/infra/lib/Map.js +308 -0
  290. package/node_modules/@oozcitak/infra/lib/Map.js.map +1 -0
  291. package/node_modules/@oozcitak/infra/lib/Namespace.d.ts +6 -0
  292. package/node_modules/@oozcitak/infra/lib/Namespace.js +9 -0
  293. package/node_modules/@oozcitak/infra/lib/Namespace.js.map +1 -0
  294. package/node_modules/@oozcitak/infra/lib/Queue.d.ts +13 -0
  295. package/node_modules/@oozcitak/infra/lib/Queue.js +22 -0
  296. package/node_modules/@oozcitak/infra/lib/Queue.js.map +1 -0
  297. package/node_modules/@oozcitak/infra/lib/Set.d.ts +136 -0
  298. package/node_modules/@oozcitak/infra/lib/Set.js +467 -0
  299. package/node_modules/@oozcitak/infra/lib/Set.js.map +1 -0
  300. package/node_modules/@oozcitak/infra/lib/Stack.d.ts +13 -0
  301. package/node_modules/@oozcitak/infra/lib/Stack.js +22 -0
  302. package/node_modules/@oozcitak/infra/lib/Stack.js.map +1 -0
  303. package/node_modules/@oozcitak/infra/lib/String.d.ts +129 -0
  304. package/node_modules/@oozcitak/infra/lib/String.js +472 -0
  305. package/node_modules/@oozcitak/infra/lib/String.js.map +1 -0
  306. package/node_modules/@oozcitak/infra/lib/index.d.ts +13 -0
  307. package/node_modules/@oozcitak/infra/lib/index.js +34 -0
  308. package/node_modules/@oozcitak/infra/lib/index.js.map +1 -0
  309. package/node_modules/@oozcitak/infra/package.json +54 -0
  310. package/node_modules/@oozcitak/url/LICENSE +21 -0
  311. package/node_modules/@oozcitak/url/README.md +27 -0
  312. package/node_modules/@oozcitak/url/lib/URLAlgorithm.d.ts +267 -0
  313. package/node_modules/@oozcitak/url/lib/URLAlgorithm.js +2758 -0
  314. package/node_modules/@oozcitak/url/lib/URLAlgorithm.js.map +1 -0
  315. package/node_modules/@oozcitak/url/lib/URLImpl.d.ts +53 -0
  316. package/node_modules/@oozcitak/url/lib/URLImpl.js +377 -0
  317. package/node_modules/@oozcitak/url/lib/URLImpl.js.map +1 -0
  318. package/node_modules/@oozcitak/url/lib/URLSearchParamsImpl.d.ts +38 -0
  319. package/node_modules/@oozcitak/url/lib/URLSearchParamsImpl.js +303 -0
  320. package/node_modules/@oozcitak/url/lib/URLSearchParamsImpl.js.map +1 -0
  321. package/node_modules/@oozcitak/url/lib/index.d.ts +2 -0
  322. package/node_modules/@oozcitak/url/lib/index.js +7 -0
  323. package/node_modules/@oozcitak/url/lib/index.js.map +1 -0
  324. package/node_modules/@oozcitak/url/lib/interfaces.d.ts +195 -0
  325. package/node_modules/@oozcitak/url/lib/interfaces.js +31 -0
  326. package/node_modules/@oozcitak/url/lib/interfaces.js.map +1 -0
  327. package/node_modules/@oozcitak/url/package.json +55 -0
  328. package/node_modules/@oozcitak/util/LICENSE +21 -0
  329. package/node_modules/@oozcitak/util/README.md +10 -0
  330. package/node_modules/@oozcitak/util/lib/CompareCache.d.ts +32 -0
  331. package/node_modules/@oozcitak/util/lib/CompareCache.js +59 -0
  332. package/node_modules/@oozcitak/util/lib/CompareCache.js.map +1 -0
  333. package/node_modules/@oozcitak/util/lib/FixedSizeSet.d.ts +64 -0
  334. package/node_modules/@oozcitak/util/lib/FixedSizeSet.js +174 -0
  335. package/node_modules/@oozcitak/util/lib/FixedSizeSet.js.map +1 -0
  336. package/node_modules/@oozcitak/util/lib/Lazy.d.ts +18 -0
  337. package/node_modules/@oozcitak/util/lib/Lazy.js +34 -0
  338. package/node_modules/@oozcitak/util/lib/Lazy.js.map +1 -0
  339. package/node_modules/@oozcitak/util/lib/ObjectCache.d.ts +71 -0
  340. package/node_modules/@oozcitak/util/lib/ObjectCache.js +181 -0
  341. package/node_modules/@oozcitak/util/lib/ObjectCache.js.map +1 -0
  342. package/node_modules/@oozcitak/util/lib/StringWalker.d.ts +49 -0
  343. package/node_modules/@oozcitak/util/lib/StringWalker.js +105 -0
  344. package/node_modules/@oozcitak/util/lib/StringWalker.js.map +1 -0
  345. package/node_modules/@oozcitak/util/lib/index.d.ts +178 -0
  346. package/node_modules/@oozcitak/util/lib/index.js +439 -0
  347. package/node_modules/@oozcitak/util/lib/index.js.map +1 -0
  348. package/node_modules/@oozcitak/util/package.json +50 -0
  349. package/node_modules/@xmldom/is-dom-node/LICENSE.md +21 -0
  350. package/node_modules/@xmldom/is-dom-node/README.md +91 -0
  351. package/node_modules/@xmldom/is-dom-node/dist/index.d.ts +33 -0
  352. package/node_modules/@xmldom/is-dom-node/dist/index.js +91 -0
  353. package/node_modules/@xmldom/is-dom-node/dist/index.js.map +1 -0
  354. package/node_modules/@xmldom/is-dom-node/package.json +69 -0
  355. package/node_modules/@xmldom/xmldom/CHANGELOG.md +468 -0
  356. package/node_modules/@xmldom/xmldom/LICENSE +8 -0
  357. package/node_modules/@xmldom/xmldom/SECURITY.md +50 -0
  358. package/node_modules/@xmldom/xmldom/index.d.ts +43 -0
  359. package/node_modules/@xmldom/xmldom/lib/.eslintrc.yml +2 -0
  360. package/node_modules/@xmldom/xmldom/lib/conventions.js +203 -0
  361. package/node_modules/@xmldom/xmldom/lib/dom-parser.js +322 -0
  362. package/node_modules/@xmldom/xmldom/lib/dom.js +1879 -0
  363. package/node_modules/@xmldom/xmldom/lib/entities.js +2166 -0
  364. package/node_modules/@xmldom/xmldom/lib/index.js +4 -0
  365. package/node_modules/@xmldom/xmldom/lib/sax.js +662 -0
  366. package/node_modules/@xmldom/xmldom/package.json +71 -0
  367. package/node_modules/@xmldom/xmldom/readme.md +356 -0
  368. package/node_modules/esprima/ChangeLog +235 -0
  369. package/node_modules/esprima/LICENSE.BSD +21 -0
  370. package/node_modules/esprima/README.md +46 -0
  371. package/node_modules/esprima/bin/esparse.js +139 -0
  372. package/node_modules/esprima/bin/esvalidate.js +236 -0
  373. package/node_modules/esprima/dist/esprima.js +6709 -0
  374. package/node_modules/esprima/package.json +112 -0
  375. package/node_modules/node-forge/LICENSE +331 -0
  376. package/node_modules/node-forge/README.md +2071 -0
  377. package/node_modules/node-forge/dist/forge.all.min.js +2 -0
  378. package/node_modules/node-forge/dist/forge.all.min.js.map +1 -0
  379. package/node_modules/node-forge/dist/forge.min.js +2 -0
  380. package/node_modules/node-forge/dist/forge.min.js.map +1 -0
  381. package/node_modules/node-forge/dist/prime.worker.min.js +2 -0
  382. package/node_modules/node-forge/dist/prime.worker.min.js.map +1 -0
  383. package/node_modules/node-forge/flash/swf/SocketPool.swf +0 -0
  384. package/node_modules/node-forge/lib/aes.js +1091 -0
  385. package/node_modules/node-forge/lib/aesCipherSuites.js +282 -0
  386. package/node_modules/node-forge/lib/asn1-validator.js +91 -0
  387. package/node_modules/node-forge/lib/asn1.js +1503 -0
  388. package/node_modules/node-forge/lib/baseN.js +186 -0
  389. package/node_modules/node-forge/lib/cipher.js +230 -0
  390. package/node_modules/node-forge/lib/cipherModes.js +999 -0
  391. package/node_modules/node-forge/lib/des.js +496 -0
  392. package/node_modules/node-forge/lib/ed25519.js +1072 -0
  393. package/node_modules/node-forge/lib/forge.js +13 -0
  394. package/node_modules/node-forge/lib/form.js +149 -0
  395. package/node_modules/node-forge/lib/hmac.js +146 -0
  396. package/node_modules/node-forge/lib/http.js +1346 -0
  397. package/node_modules/node-forge/lib/index.all.js +16 -0
  398. package/node_modules/node-forge/lib/index.js +33 -0
  399. package/node_modules/node-forge/lib/jsbn.js +1264 -0
  400. package/node_modules/node-forge/lib/kem.js +168 -0
  401. package/node_modules/node-forge/lib/log.js +319 -0
  402. package/node_modules/node-forge/lib/md.all.js +13 -0
  403. package/node_modules/node-forge/lib/md.js +11 -0
  404. package/node_modules/node-forge/lib/md5.js +289 -0
  405. package/node_modules/node-forge/lib/mgf.js +12 -0
  406. package/node_modules/node-forge/lib/mgf1.js +57 -0
  407. package/node_modules/node-forge/lib/oids.js +179 -0
  408. package/node_modules/node-forge/lib/pbe.js +1023 -0
  409. package/node_modules/node-forge/lib/pbkdf2.js +211 -0
  410. package/node_modules/node-forge/lib/pem.js +237 -0
  411. package/node_modules/node-forge/lib/pkcs1.js +276 -0
  412. package/node_modules/node-forge/lib/pkcs12.js +1078 -0
  413. package/node_modules/node-forge/lib/pkcs7.js +1260 -0
  414. package/node_modules/node-forge/lib/pkcs7asn1.js +410 -0
  415. package/node_modules/node-forge/lib/pki.js +102 -0
  416. package/node_modules/node-forge/lib/prime.js +297 -0
  417. package/node_modules/node-forge/lib/prime.worker.js +168 -0
  418. package/node_modules/node-forge/lib/prng.js +419 -0
  419. package/node_modules/node-forge/lib/pss.js +241 -0
  420. package/node_modules/node-forge/lib/random.js +191 -0
  421. package/node_modules/node-forge/lib/rc2.js +410 -0
  422. package/node_modules/node-forge/lib/rsa.js +1949 -0
  423. package/node_modules/node-forge/lib/sha1.js +319 -0
  424. package/node_modules/node-forge/lib/sha256.js +327 -0
  425. package/node_modules/node-forge/lib/sha512.js +561 -0
  426. package/node_modules/node-forge/lib/socket.js +287 -0
  427. package/node_modules/node-forge/lib/ssh.js +236 -0
  428. package/node_modules/node-forge/lib/tls.js +4282 -0
  429. package/node_modules/node-forge/lib/tlssocket.js +249 -0
  430. package/node_modules/node-forge/lib/util.js +2652 -0
  431. package/node_modules/node-forge/lib/x509.js +3242 -0
  432. package/node_modules/node-forge/lib/xhr.js +738 -0
  433. package/node_modules/node-forge/package.json +123 -0
  434. package/node_modules/sprintf-js/.npmignore +1 -0
  435. package/node_modules/sprintf-js/LICENSE +24 -0
  436. package/node_modules/sprintf-js/README.md +88 -0
  437. package/node_modules/sprintf-js/bower.json +14 -0
  438. package/node_modules/sprintf-js/demo/angular.html +20 -0
  439. package/node_modules/sprintf-js/dist/angular-sprintf.min.js +4 -0
  440. package/node_modules/sprintf-js/dist/angular-sprintf.min.js.map +1 -0
  441. package/node_modules/sprintf-js/dist/angular-sprintf.min.map +1 -0
  442. package/node_modules/sprintf-js/dist/sprintf.min.js +4 -0
  443. package/node_modules/sprintf-js/dist/sprintf.min.js.map +1 -0
  444. package/node_modules/sprintf-js/dist/sprintf.min.map +1 -0
  445. package/node_modules/sprintf-js/gruntfile.js +36 -0
  446. package/node_modules/sprintf-js/package.json +22 -0
  447. package/node_modules/sprintf-js/src/angular-sprintf.js +18 -0
  448. package/node_modules/sprintf-js/src/sprintf.js +208 -0
  449. package/node_modules/sprintf-js/test/test.js +82 -0
  450. package/node_modules/xml-crypto/LICENSE +22 -0
  451. package/node_modules/xml-crypto/README.md +557 -0
  452. package/node_modules/xml-crypto/lib/c14n-canonicalization.d.ts +39 -0
  453. package/node_modules/xml-crypto/lib/c14n-canonicalization.js +230 -0
  454. package/node_modules/xml-crypto/lib/c14n-canonicalization.js.map +1 -0
  455. package/node_modules/xml-crypto/lib/enveloped-signature.d.ts +7 -0
  456. package/node_modules/xml-crypto/lib/enveloped-signature.js +43 -0
  457. package/node_modules/xml-crypto/lib/enveloped-signature.js.map +1 -0
  458. package/node_modules/xml-crypto/lib/exclusive-canonicalization.d.ts +38 -0
  459. package/node_modules/xml-crypto/lib/exclusive-canonicalization.js +246 -0
  460. package/node_modules/xml-crypto/lib/exclusive-canonicalization.js.map +1 -0
  461. package/node_modules/xml-crypto/lib/hash-algorithms.d.ts +13 -0
  462. package/node_modules/xml-crypto/lib/hash-algorithms.js +47 -0
  463. package/node_modules/xml-crypto/lib/hash-algorithms.js.map +1 -0
  464. package/node_modules/xml-crypto/lib/index.d.ts +5 -0
  465. package/node_modules/xml-crypto/lib/index.js +28 -0
  466. package/node_modules/xml-crypto/lib/index.js.map +1 -0
  467. package/node_modules/xml-crypto/lib/signature-algorithms.d.ts +47 -0
  468. package/node_modules/xml-crypto/lib/signature-algorithms.js +86 -0
  469. package/node_modules/xml-crypto/lib/signature-algorithms.js.map +1 -0
  470. package/node_modules/xml-crypto/lib/signed-xml.d.ts +225 -0
  471. package/node_modules/xml-crypto/lib/signed-xml.js +960 -0
  472. package/node_modules/xml-crypto/lib/signed-xml.js.map +1 -0
  473. package/node_modules/xml-crypto/lib/types.d.ts +125 -0
  474. package/node_modules/xml-crypto/lib/types.js +57 -0
  475. package/node_modules/xml-crypto/lib/types.js.map +1 -0
  476. package/node_modules/xml-crypto/lib/utils.d.ts +65 -0
  477. package/node_modules/xml-crypto/lib/utils.js +256 -0
  478. package/node_modules/xml-crypto/lib/utils.js.map +1 -0
  479. package/node_modules/xml-crypto/node_modules/xpath/LICENSE +22 -0
  480. package/node_modules/xml-crypto/node_modules/xpath/README.md +133 -0
  481. package/node_modules/xml-crypto/node_modules/xpath/docs/XPathEvaluator.md +62 -0
  482. package/node_modules/xml-crypto/node_modules/xpath/docs/XPathResult.md +47 -0
  483. package/node_modules/xml-crypto/node_modules/xpath/docs/function resolvers.md +88 -0
  484. package/node_modules/xml-crypto/node_modules/xpath/docs/namespace resolvers.md +69 -0
  485. package/node_modules/xml-crypto/node_modules/xpath/docs/parsed expressions.md +21 -0
  486. package/node_modules/xml-crypto/node_modules/xpath/docs/variable resolvers.md +89 -0
  487. package/node_modules/xml-crypto/node_modules/xpath/docs/xpath methods.md +39 -0
  488. package/node_modules/xml-crypto/node_modules/xpath/package.json +39 -0
  489. package/node_modules/xml-crypto/node_modules/xpath/test.js +1186 -0
  490. package/node_modules/xml-crypto/node_modules/xpath/xpath.d.ts +51 -0
  491. package/node_modules/xml-crypto/node_modules/xpath/xpath.js +4938 -0
  492. package/node_modules/xml-crypto/package.json +73 -0
  493. package/node_modules/xmlbuilder2/CHANGELOG.md +309 -0
  494. package/node_modules/xmlbuilder2/LICENSE +21 -0
  495. package/node_modules/xmlbuilder2/README.md +183 -0
  496. package/node_modules/xmlbuilder2/lib/builder/BuilderFunctions.d.ts +236 -0
  497. package/node_modules/xmlbuilder2/lib/builder/BuilderFunctions.js +108 -0
  498. package/node_modules/xmlbuilder2/lib/builder/BuilderFunctions.js.map +1 -0
  499. package/node_modules/xmlbuilder2/lib/builder/BuilderFunctionsCB.d.ts +17 -0
  500. package/node_modules/xmlbuilder2/lib/builder/BuilderFunctionsCB.js +26 -0
  501. package/node_modules/xmlbuilder2/lib/builder/BuilderFunctionsCB.js.map +1 -0
  502. package/node_modules/xmlbuilder2/lib/builder/XMLBuilderCBImpl.d.ts +124 -0
  503. package/node_modules/xmlbuilder2/lib/builder/XMLBuilderCBImpl.js +782 -0
  504. package/node_modules/xmlbuilder2/lib/builder/XMLBuilderCBImpl.js.map +1 -0
  505. package/node_modules/xmlbuilder2/lib/builder/XMLBuilderImpl.d.ts +143 -0
  506. package/node_modules/xmlbuilder2/lib/builder/XMLBuilderImpl.js +841 -0
  507. package/node_modules/xmlbuilder2/lib/builder/XMLBuilderImpl.js.map +1 -0
  508. package/node_modules/xmlbuilder2/lib/builder/dom.d.ts +8 -0
  509. package/node_modules/xmlbuilder2/lib/builder/dom.js +67 -0
  510. package/node_modules/xmlbuilder2/lib/builder/dom.js.map +1 -0
  511. package/node_modules/xmlbuilder2/lib/builder/index.d.ts +4 -0
  512. package/node_modules/xmlbuilder2/lib/builder/index.js +15 -0
  513. package/node_modules/xmlbuilder2/lib/builder/index.js.map +1 -0
  514. package/node_modules/xmlbuilder2/lib/constants.d.ts +1 -0
  515. package/node_modules/xmlbuilder2/lib/constants.js +4 -0
  516. package/node_modules/xmlbuilder2/lib/constants.js.map +1 -0
  517. package/node_modules/xmlbuilder2/lib/index.d.ts +1 -0
  518. package/node_modules/xmlbuilder2/lib/index.js +10 -0
  519. package/node_modules/xmlbuilder2/lib/index.js.map +1 -0
  520. package/node_modules/xmlbuilder2/lib/interfaces.d.ts +1355 -0
  521. package/node_modules/xmlbuilder2/lib/interfaces.js +76 -0
  522. package/node_modules/xmlbuilder2/lib/interfaces.js.map +1 -0
  523. package/node_modules/xmlbuilder2/lib/readers/BaseReader.d.ts +109 -0
  524. package/node_modules/xmlbuilder2/lib/readers/BaseReader.js +167 -0
  525. package/node_modules/xmlbuilder2/lib/readers/BaseReader.js.map +1 -0
  526. package/node_modules/xmlbuilder2/lib/readers/JSONReader.d.ts +14 -0
  527. package/node_modules/xmlbuilder2/lib/readers/JSONReader.js +38 -0
  528. package/node_modules/xmlbuilder2/lib/readers/JSONReader.js.map +1 -0
  529. package/node_modules/xmlbuilder2/lib/readers/ObjectReader.d.ts +15 -0
  530. package/node_modules/xmlbuilder2/lib/readers/ObjectReader.js +168 -0
  531. package/node_modules/xmlbuilder2/lib/readers/ObjectReader.js.map +1 -0
  532. package/node_modules/xmlbuilder2/lib/readers/XMLReader.d.ts +14 -0
  533. package/node_modules/xmlbuilder2/lib/readers/XMLReader.js +206 -0
  534. package/node_modules/xmlbuilder2/lib/readers/XMLReader.js.map +1 -0
  535. package/node_modules/xmlbuilder2/lib/readers/YAMLReader.d.ts +14 -0
  536. package/node_modules/xmlbuilder2/lib/readers/YAMLReader.js +44 -0
  537. package/node_modules/xmlbuilder2/lib/readers/YAMLReader.js.map +1 -0
  538. package/node_modules/xmlbuilder2/lib/readers/index.d.ts +4 -0
  539. package/node_modules/xmlbuilder2/lib/readers/index.js +11 -0
  540. package/node_modules/xmlbuilder2/lib/readers/index.js.map +1 -0
  541. package/node_modules/xmlbuilder2/lib/writers/BaseCBWriter.d.ts +110 -0
  542. package/node_modules/xmlbuilder2/lib/writers/BaseCBWriter.js +23 -0
  543. package/node_modules/xmlbuilder2/lib/writers/BaseCBWriter.js.map +1 -0
  544. package/node_modules/xmlbuilder2/lib/writers/BaseWriter.d.ts +276 -0
  545. package/node_modules/xmlbuilder2/lib/writers/BaseWriter.js +1603 -0
  546. package/node_modules/xmlbuilder2/lib/writers/BaseWriter.js.map +1 -0
  547. package/node_modules/xmlbuilder2/lib/writers/JSONCBWriter.d.ts +68 -0
  548. package/node_modules/xmlbuilder2/lib/writers/JSONCBWriter.js +172 -0
  549. package/node_modules/xmlbuilder2/lib/writers/JSONCBWriter.js.map +1 -0
  550. package/node_modules/xmlbuilder2/lib/writers/JSONWriter.d.ts +67 -0
  551. package/node_modules/xmlbuilder2/lib/writers/JSONWriter.js +222 -0
  552. package/node_modules/xmlbuilder2/lib/writers/JSONWriter.js.map +1 -0
  553. package/node_modules/xmlbuilder2/lib/writers/MapWriter.d.ts +27 -0
  554. package/node_modules/xmlbuilder2/lib/writers/MapWriter.js +84 -0
  555. package/node_modules/xmlbuilder2/lib/writers/MapWriter.js.map +1 -0
  556. package/node_modules/xmlbuilder2/lib/writers/ObjectWriter.d.ts +56 -0
  557. package/node_modules/xmlbuilder2/lib/writers/ObjectWriter.js +483 -0
  558. package/node_modules/xmlbuilder2/lib/writers/ObjectWriter.js.map +1 -0
  559. package/node_modules/xmlbuilder2/lib/writers/XMLCBWriter.d.ts +51 -0
  560. package/node_modules/xmlbuilder2/lib/writers/XMLCBWriter.js +165 -0
  561. package/node_modules/xmlbuilder2/lib/writers/XMLCBWriter.js.map +1 -0
  562. package/node_modules/xmlbuilder2/lib/writers/XMLWriter.d.ts +60 -0
  563. package/node_modules/xmlbuilder2/lib/writers/XMLWriter.js +236 -0
  564. package/node_modules/xmlbuilder2/lib/writers/XMLWriter.js.map +1 -0
  565. package/node_modules/xmlbuilder2/lib/writers/YAMLCBWriter.d.ts +61 -0
  566. package/node_modules/xmlbuilder2/lib/writers/YAMLCBWriter.js +161 -0
  567. package/node_modules/xmlbuilder2/lib/writers/YAMLCBWriter.js.map +1 -0
  568. package/node_modules/xmlbuilder2/lib/writers/YAMLWriter.d.ts +55 -0
  569. package/node_modules/xmlbuilder2/lib/writers/YAMLWriter.js +186 -0
  570. package/node_modules/xmlbuilder2/lib/writers/YAMLWriter.js.map +1 -0
  571. package/node_modules/xmlbuilder2/lib/writers/index.d.ts +5 -0
  572. package/node_modules/xmlbuilder2/lib/writers/index.js +13 -0
  573. package/node_modules/xmlbuilder2/lib/writers/index.js.map +1 -0
  574. package/node_modules/xmlbuilder2/lib/xmlbuilder2.min.js +8 -0
  575. package/node_modules/xmlbuilder2/node_modules/argparse/CHANGELOG.md +185 -0
  576. package/node_modules/xmlbuilder2/node_modules/argparse/LICENSE +21 -0
  577. package/node_modules/xmlbuilder2/node_modules/argparse/README.md +257 -0
  578. package/node_modules/xmlbuilder2/node_modules/argparse/index.js +3 -0
  579. package/node_modules/xmlbuilder2/node_modules/argparse/lib/action/append/constant.js +47 -0
  580. package/node_modules/xmlbuilder2/node_modules/argparse/lib/action/append.js +53 -0
  581. package/node_modules/xmlbuilder2/node_modules/argparse/lib/action/count.js +40 -0
  582. package/node_modules/xmlbuilder2/node_modules/argparse/lib/action/help.js +47 -0
  583. package/node_modules/xmlbuilder2/node_modules/argparse/lib/action/store/constant.js +43 -0
  584. package/node_modules/xmlbuilder2/node_modules/argparse/lib/action/store/false.js +27 -0
  585. package/node_modules/xmlbuilder2/node_modules/argparse/lib/action/store/true.js +26 -0
  586. package/node_modules/xmlbuilder2/node_modules/argparse/lib/action/store.js +50 -0
  587. package/node_modules/xmlbuilder2/node_modules/argparse/lib/action/subparsers.js +149 -0
  588. package/node_modules/xmlbuilder2/node_modules/argparse/lib/action/version.js +47 -0
  589. package/node_modules/xmlbuilder2/node_modules/argparse/lib/action.js +146 -0
  590. package/node_modules/xmlbuilder2/node_modules/argparse/lib/action_container.js +482 -0
  591. package/node_modules/xmlbuilder2/node_modules/argparse/lib/argparse.js +14 -0
  592. package/node_modules/xmlbuilder2/node_modules/argparse/lib/argument/error.js +50 -0
  593. package/node_modules/xmlbuilder2/node_modules/argparse/lib/argument/exclusive.js +54 -0
  594. package/node_modules/xmlbuilder2/node_modules/argparse/lib/argument/group.js +75 -0
  595. package/node_modules/xmlbuilder2/node_modules/argparse/lib/argument_parser.js +1161 -0
  596. package/node_modules/xmlbuilder2/node_modules/argparse/lib/const.js +21 -0
  597. package/node_modules/xmlbuilder2/node_modules/argparse/lib/help/added_formatters.js +87 -0
  598. package/node_modules/xmlbuilder2/node_modules/argparse/lib/help/formatter.js +795 -0
  599. package/node_modules/xmlbuilder2/node_modules/argparse/lib/namespace.js +76 -0
  600. package/node_modules/xmlbuilder2/node_modules/argparse/lib/utils.js +57 -0
  601. package/node_modules/xmlbuilder2/node_modules/argparse/package.json +34 -0
  602. package/node_modules/xmlbuilder2/node_modules/js-yaml/CHANGELOG.md +557 -0
  603. package/node_modules/xmlbuilder2/node_modules/js-yaml/LICENSE +21 -0
  604. package/node_modules/xmlbuilder2/node_modules/js-yaml/README.md +299 -0
  605. package/node_modules/xmlbuilder2/node_modules/js-yaml/bin/js-yaml.js +132 -0
  606. package/node_modules/xmlbuilder2/node_modules/js-yaml/dist/js-yaml.js +3989 -0
  607. package/node_modules/xmlbuilder2/node_modules/js-yaml/dist/js-yaml.min.js +1 -0
  608. package/node_modules/xmlbuilder2/node_modules/js-yaml/index.js +7 -0
  609. package/node_modules/xmlbuilder2/node_modules/js-yaml/lib/js-yaml/common.js +59 -0
  610. package/node_modules/xmlbuilder2/node_modules/js-yaml/lib/js-yaml/dumper.js +850 -0
  611. package/node_modules/xmlbuilder2/node_modules/js-yaml/lib/js-yaml/exception.js +43 -0
  612. package/node_modules/xmlbuilder2/node_modules/js-yaml/lib/js-yaml/loader.js +1644 -0
  613. package/node_modules/xmlbuilder2/node_modules/js-yaml/lib/js-yaml/mark.js +76 -0
  614. package/node_modules/xmlbuilder2/node_modules/js-yaml/lib/js-yaml/schema/core.js +18 -0
  615. package/node_modules/xmlbuilder2/node_modules/js-yaml/lib/js-yaml/schema/default_full.js +25 -0
  616. package/node_modules/xmlbuilder2/node_modules/js-yaml/lib/js-yaml/schema/default_safe.js +28 -0
  617. package/node_modules/xmlbuilder2/node_modules/js-yaml/lib/js-yaml/schema/failsafe.js +17 -0
  618. package/node_modules/xmlbuilder2/node_modules/js-yaml/lib/js-yaml/schema/json.js +25 -0
  619. package/node_modules/xmlbuilder2/node_modules/js-yaml/lib/js-yaml/schema.js +108 -0
  620. package/node_modules/xmlbuilder2/node_modules/js-yaml/lib/js-yaml/type/binary.js +138 -0
  621. package/node_modules/xmlbuilder2/node_modules/js-yaml/lib/js-yaml/type/bool.js +35 -0
  622. package/node_modules/xmlbuilder2/node_modules/js-yaml/lib/js-yaml/type/float.js +116 -0
  623. package/node_modules/xmlbuilder2/node_modules/js-yaml/lib/js-yaml/type/int.js +173 -0
  624. package/node_modules/xmlbuilder2/node_modules/js-yaml/lib/js-yaml/type/js/function.js +93 -0
  625. package/node_modules/xmlbuilder2/node_modules/js-yaml/lib/js-yaml/type/js/regexp.js +60 -0
  626. package/node_modules/xmlbuilder2/node_modules/js-yaml/lib/js-yaml/type/js/undefined.js +28 -0
  627. package/node_modules/xmlbuilder2/node_modules/js-yaml/lib/js-yaml/type/map.js +8 -0
  628. package/node_modules/xmlbuilder2/node_modules/js-yaml/lib/js-yaml/type/merge.js +12 -0
  629. package/node_modules/xmlbuilder2/node_modules/js-yaml/lib/js-yaml/type/null.js +34 -0
  630. package/node_modules/xmlbuilder2/node_modules/js-yaml/lib/js-yaml/type/omap.js +44 -0
  631. package/node_modules/xmlbuilder2/node_modules/js-yaml/lib/js-yaml/type/pairs.js +53 -0
  632. package/node_modules/xmlbuilder2/node_modules/js-yaml/lib/js-yaml/type/seq.js +8 -0
  633. package/node_modules/xmlbuilder2/node_modules/js-yaml/lib/js-yaml/type/set.js +29 -0
  634. package/node_modules/xmlbuilder2/node_modules/js-yaml/lib/js-yaml/type/str.js +8 -0
  635. package/node_modules/xmlbuilder2/node_modules/js-yaml/lib/js-yaml/type/timestamp.js +88 -0
  636. package/node_modules/xmlbuilder2/node_modules/js-yaml/lib/js-yaml/type.js +61 -0
  637. package/node_modules/xmlbuilder2/node_modules/js-yaml/lib/js-yaml.js +39 -0
  638. package/node_modules/xmlbuilder2/node_modules/js-yaml/package.json +49 -0
  639. package/node_modules/xmlbuilder2/package.json +82 -0
  640. package/node_modules/xpath/LICENSE +22 -0
  641. package/node_modules/xpath/README.md +133 -0
  642. package/node_modules/xpath/package.json +43 -0
  643. package/node_modules/xpath/xpath.d.ts +51 -0
  644. package/node_modules/xpath/xpath.js +5041 -0
  645. package/package.json +9 -2
@@ -0,0 +1 @@
1
+ {"version":3,"file":"exclusive-canonicalization.js","sourceRoot":"","sources":["../src/exclusive-canonicalization.ts"],"names":[],"mappings":";;;AAKA,iCAAiC;AACjC,iDAAiD;AAEjD,SAAS,eAAe,CAAC,eAAe,EAAE,MAAM,EAAE,YAAY;IAC5D,IAAI,GAAG,GAAG,KAAK,CAAC;IAChB,eAAe,CAAC,OAAO,CAAC,UAAU,EAAE;QAClC,IAAI,EAAE,CAAC,MAAM,KAAK,MAAM,IAAI,EAAE,CAAC,YAAY,KAAK,YAAY,EAAE,CAAC;YAC7D,GAAG,GAAG,IAAI,CAAC;QACb,CAAC;IACH,CAAC,CAAC,CAAC;IAEH,OAAO,GAAG,CAAC;AACb,CAAC;AAED,MAAa,yBAAyB;IAGpC;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,CAAC,CAAC,CAAC;QACZ,CAAC;QACD,IAAI,CAAC,CAAC,CAAC,YAAY,IAAI,CAAC,CAAC,YAAY,EAAE,CAAC;YACtC,OAAO,CAAC,CAAC;QACX,CAAC;QAED,MAAM,IAAI,GAAG,CAAC,CAAC,YAAY,GAAG,CA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tB,CAAC;gBACF,IAAI,mBAAmB,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;oBACrC,6BAA6B,GAAG,CAC9B,mBAAmB,CAAC,CAAC,CAAC,CAAC,YAAY,CAAC,YAAY,CAAC,IAAI,EAAE,CACxD,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;gBACf,CAAC;YACH,CAAC;QACH,CAAC;QAED;;WAEG;QACH,IAAI,KAAK,CAAC,gBAAgB,CAAC,6BAA6B,CAAC,EAAE,CAAC;YAC1D,6BAA6B,CAAC,OAAO,CAAC,UAAU,MAAM;gBACpD,IAAI,kBAAkB,EAAE,CAAC;oBACvB,kBAAkB,CAAC,OAAO,CAAC,UAAU,iBAAiB;wBACpD,IAAI,MAAM,KAAK,iBAAiB,CAAC,MAAM,EAAE,CAAC;4BACxC,IAAI,CAAC,cAAc,CACjB,+BAA+B,EAC/B,SAAS,MAAM,EAAE,EACjB,iBAAiB,CAAC,YAAY,CAC/B,CAAC;wBACJ,CAAC;oBACH,CAAC,CAAC,CAAC;gBACL,CAAC;YACH,CAAC,CAAC,CAAC;QACL,CAAC;QAED,MAAM,GAAG,GAAG,IAAI,CAAC,YAAY,CAC3B,IAAI,EACJ,EAAE,EACF,SAAS,EACT,kBAAkB,EAClB,6BAA6B,CAC9B,CAAC;QACF,OAAO,GAAG,CAAC;IACb,CAAC;IAED,gBAAgB;QACd,OAAO,yCAAyC,CAAC;IACnD,CAAC;CACF;AAjTD,8DAiTC;AAED,MAAa,qCAAsC,SAAQ,yBAAyB;IAClF;QACE,KAAK,EAAE,CAAC;QACR,IAAI,CAAC,eAAe,GAAG,IAAI,CAAC;IAC9B,CAAC;IAED,gBAAgB;QACd,OAAO,qDAAqD,CAAC;IAC/D,CAAC;CACF;AATD,sFASC","sourcesContent":["import type {\n CanonicalizationOrTransformationAlgorithm,\n CanonicalizationOrTransformationAlgorithmProcessOptions,\n NamespacePrefix,\n} from \"./types\";\nimport * as utils from \"./utils\";\nimport * as isDomNode from \"@xmldom/is-dom-node\";\n\nfunction isPrefixInScope(prefixesInScope, prefix, namespaceURI) {\n let ret = false;\n prefixesInScope.forEach(function (pf) {\n if (pf.prefix === prefix && pf.namespaceURI === namespaceURI) {\n ret = true;\n }\n });\n\n return ret;\n}\n\nexport class ExclusiveCanonicalization 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 res: string[] = [];\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 for (attr of attrListToRender) {\n res.push(\" \", 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} node. The node we now render\n * @param {Array} prefixesInScope. The prefixes defined on this node\n * parents which are a part of the output set\n * @param {String} defaultNs. The current default namespace\n * @return {String}\n * @api private\n */\n renderNs(\n node,\n prefixesInScope,\n defaultNs,\n defaultNsForPrefix,\n inclusiveNamespacesPrefixList: string[],\n ) {\n let i;\n let attr;\n const res: string[] = [];\n let newDefaultNs = defaultNs;\n const nsListToRender: NamespacePrefix[] = [];\n const currNs = node.namespaceURI || \"\";\n\n //handle the namespaceof the node itself\n if (node.prefix) {\n if (\n !isPrefixInScope(\n prefixesInScope,\n node.prefix,\n node.namespaceURI || defaultNsForPrefix[node.prefix],\n )\n ) {\n nsListToRender.push({\n prefix: node.prefix,\n namespaceURI: node.namespaceURI || defaultNsForPrefix[node.prefix],\n });\n prefixesInScope.push({\n prefix: node.prefix,\n namespaceURI: node.namespaceURI || defaultNsForPrefix[node.prefix],\n });\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\n if (\n attr.prefix &&\n !isPrefixInScope(prefixesInScope, attr.localName, attr.value) &&\n inclusiveNamespacesPrefixList.indexOf(attr.localName) >= 0\n ) {\n nsListToRender.push({ prefix: attr.localName, namespaceURI: attr.value });\n prefixesInScope.push({ prefix: attr.localName, namespaceURI: attr.value });\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 !isPrefixInScope(prefixesInScope, attr.prefix, attr.namespaceURI) &&\n attr.prefix !== \"xmlns\" &&\n attr.prefix !== \"xml\"\n ) {\n nsListToRender.push({ prefix: attr.prefix, namespaceURI: attr.namespaceURI });\n prefixesInScope.push({ prefix: attr.prefix, namespaceURI: attr.namespaceURI });\n }\n }\n }\n\n nsListToRender.sort(this.nsCompare);\n\n //render namespaces\n for (const p of nsListToRender) {\n res.push(\" xmlns:\", p.prefix, '=\"', p.namespaceURI, '\"');\n }\n\n return { rendered: res.join(\"\"), newDefaultNs: newDefaultNs };\n }\n\n /**\n * @param node Node\n */\n processInner(\n node,\n prefixesInScope,\n defaultNs,\n defaultNsForPrefix,\n inclusiveNamespacesPrefixList: string[],\n ) {\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 inclusiveNamespacesPrefixList,\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(\n node.childNodes[i],\n pfxCopy,\n ns.newDefaultNs,\n defaultNsForPrefix,\n inclusiveNamespacesPrefixList,\n ),\n );\n }\n\n res.push(\"</\", node.tagName, \">\");\n return res.join(\"\");\n }\n\n throw new Error(`Unable to exclusive 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 element node\n *\n * @api public\n */\n process(elem: Element, options: CanonicalizationOrTransformationAlgorithmProcessOptions): string {\n options = options || {};\n let inclusiveNamespacesPrefixList = options.inclusiveNamespacesPrefixList || [];\n const defaultNs = options.defaultNs || \"\";\n const defaultNsForPrefix = options.defaultNsForPrefix || {};\n const ancestorNamespaces = options.ancestorNamespaces || [];\n\n /**\n * If the inclusiveNamespacesPrefixList has not been explicitly provided then look it up in CanonicalizationMethod/InclusiveNamespaces\n */\n if (!utils.isArrayHasLength(inclusiveNamespacesPrefixList)) {\n const CanonicalizationMethod = utils.findChildren(elem, \"CanonicalizationMethod\");\n if (CanonicalizationMethod.length !== 0) {\n const inclusiveNamespaces = utils.findChildren(\n CanonicalizationMethod[0],\n \"InclusiveNamespaces\",\n );\n if (inclusiveNamespaces.length !== 0) {\n inclusiveNamespacesPrefixList = (\n inclusiveNamespaces[0].getAttribute(\"PrefixList\") || \"\"\n ).split(\" \");\n }\n }\n }\n\n /**\n * If you have a PrefixList then use it and the ancestors to add the necessary namespaces\n */\n if (utils.isArrayHasLength(inclusiveNamespacesPrefixList)) {\n inclusiveNamespacesPrefixList.forEach(function (prefix) {\n if (ancestorNamespaces) {\n ancestorNamespaces.forEach(function (ancestorNamespace) {\n if (prefix === ancestorNamespace.prefix) {\n elem.setAttributeNS(\n \"http://www.w3.org/2000/xmlns/\",\n `xmlns:${prefix}`,\n ancestorNamespace.namespaceURI,\n );\n }\n });\n }\n });\n }\n\n const res = this.processInner(\n elem,\n [],\n defaultNs,\n defaultNsForPrefix,\n inclusiveNamespacesPrefixList,\n );\n return res;\n }\n\n getAlgorithmName() {\n return \"http://www.w3.org/2001/10/xml-exc-c14n#\";\n }\n}\n\nexport class ExclusiveCanonicalizationWithComments extends ExclusiveCanonicalization {\n constructor() {\n super();\n this.includeComments = true;\n }\n\n getAlgorithmName() {\n return \"http://www.w3.org/2001/10/xml-exc-c14n#WithComments\";\n }\n}\n"]}
@@ -0,0 +1,13 @@
1
+ import type { HashAlgorithm } from "./types";
2
+ export declare class Sha1 implements HashAlgorithm {
3
+ getHash: (xml: any) => string;
4
+ getAlgorithmName: () => string;
5
+ }
6
+ export declare class Sha256 implements HashAlgorithm {
7
+ getHash: (xml: any) => string;
8
+ getAlgorithmName: () => string;
9
+ }
10
+ export declare class Sha512 implements HashAlgorithm {
11
+ getHash: (xml: any) => string;
12
+ getAlgorithmName: () => string;
13
+ }
@@ -0,0 +1,47 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Sha512 = exports.Sha256 = exports.Sha1 = void 0;
4
+ const crypto = require("crypto");
5
+ class Sha1 {
6
+ constructor() {
7
+ this.getHash = function (xml) {
8
+ const shasum = crypto.createHash("sha1");
9
+ shasum.update(xml, "utf8");
10
+ const res = shasum.digest("base64");
11
+ return res;
12
+ };
13
+ this.getAlgorithmName = function () {
14
+ return "http://www.w3.org/2000/09/xmldsig#sha1";
15
+ };
16
+ }
17
+ }
18
+ exports.Sha1 = Sha1;
19
+ class Sha256 {
20
+ constructor() {
21
+ this.getHash = function (xml) {
22
+ const shasum = crypto.createHash("sha256");
23
+ shasum.update(xml, "utf8");
24
+ const res = shasum.digest("base64");
25
+ return res;
26
+ };
27
+ this.getAlgorithmName = function () {
28
+ return "http://www.w3.org/2001/04/xmlenc#sha256";
29
+ };
30
+ }
31
+ }
32
+ exports.Sha256 = Sha256;
33
+ class Sha512 {
34
+ constructor() {
35
+ this.getHash = function (xml) {
36
+ const shasum = crypto.createHash("sha512");
37
+ shasum.update(xml, "utf8");
38
+ const res = shasum.digest("base64");
39
+ return res;
40
+ };
41
+ this.getAlgorithmName = function () {
42
+ return "http://www.w3.org/2001/04/xmlenc#sha512";
43
+ };
44
+ }
45
+ }
46
+ exports.Sha512 = Sha512;
47
+ //# sourceMappingURL=hash-algorithms.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"hash-algorithms.js","sourceRoot":"","sources":["../src/hash-algorithms.ts"],"names":[],"mappings":";;;AAAA,iCAAiC;AAGjC,MAAa,IAAI;IAAjB;QACE,YAAO,GAAG,UAAU,GAAG;YACrB,MAAM,MAAM,GAAG,MAAM,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC;YACzC,MAAM,CAAC,MAAM,CAAC,GAAG,EAAE,MAAM,CAAC,CAAC;YAC3B,MAAM,GAAG,GAAG,MAAM,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC;YACpC,OAAO,GAAG,CAAC;QACb,CAAC,CAAC;QAEF,qBAAgB,GAAG;YACjB,OAAO,wCAAwC,CAAC;QAClD,CAAC,CAAC;IACJ,CAAC;CAAA;AAXD,oBAWC;AAED,MAAa,MAAM;IAAnB;QACE,YAAO,GAAG,UAAU,GAAG;YACrB,MAAM,MAAM,GAAG,MAAM,CAAC,UAAU,CAAC,QAAQ,CAAC,CAAC;YAC3C,MAAM,CAAC,MAAM,CAAC,GAAG,EAAE,MAAM,CAAC,CAAC;YAC3B,MAAM,GAAG,GAAG,MAAM,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC;YACpC,OAAO,GAAG,CAAC;QACb,CAAC,CAAC;QAEF,qBAAgB,GAAG;YACjB,OAAO,yCAAyC,CAAC;QACnD,CAAC,CAAC;IACJ,CAAC;CAAA;AAXD,wBAWC;AAED,MAAa,MAAM;IAAnB;QACE,YAAO,GAAG,UAAU,GAAG;YACrB,MAAM,MAAM,GAAG,MAAM,CAAC,UAAU,CAAC,QAAQ,CAAC,CAAC;YAC3C,MAAM,CAAC,MAAM,CAAC,GAAG,EAAE,MAAM,CAAC,CAAC;YAC3B,MAAM,GAAG,GAAG,MAAM,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC;YACpC,OAAO,GAAG,CAAC;QACb,CAAC,CAAC;QAEF,qBAAgB,GAAG;YACjB,OAAO,yCAAyC,CAAC;QACnD,CAAC,CAAC;IACJ,CAAC;CAAA;AAXD,wBAWC","sourcesContent":["import * as crypto from \"crypto\";\nimport type { HashAlgorithm } from \"./types\";\n\nexport class Sha1 implements HashAlgorithm {\n getHash = function (xml) {\n const shasum = crypto.createHash(\"sha1\");\n shasum.update(xml, \"utf8\");\n const res = shasum.digest(\"base64\");\n return res;\n };\n\n getAlgorithmName = function () {\n return \"http://www.w3.org/2000/09/xmldsig#sha1\";\n };\n}\n\nexport class Sha256 implements HashAlgorithm {\n getHash = function (xml) {\n const shasum = crypto.createHash(\"sha256\");\n shasum.update(xml, \"utf8\");\n const res = shasum.digest(\"base64\");\n return res;\n };\n\n getAlgorithmName = function () {\n return \"http://www.w3.org/2001/04/xmlenc#sha256\";\n };\n}\n\nexport class Sha512 implements HashAlgorithm {\n getHash = function (xml) {\n const shasum = crypto.createHash(\"sha512\");\n shasum.update(xml, \"utf8\");\n const res = shasum.digest(\"base64\");\n return res;\n };\n\n getAlgorithmName = function () {\n return \"http://www.w3.org/2001/04/xmlenc#sha512\";\n };\n}\n"]}
@@ -0,0 +1,5 @@
1
+ export { C14nCanonicalization, C14nCanonicalizationWithComments } from "./c14n-canonicalization";
2
+ export { ExclusiveCanonicalization, ExclusiveCanonicalizationWithComments, } from "./exclusive-canonicalization";
3
+ export { SignedXml } from "./signed-xml";
4
+ export * from "./types";
5
+ export * from "./utils";
@@ -0,0 +1,28 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ exports.SignedXml = exports.ExclusiveCanonicalizationWithComments = exports.ExclusiveCanonicalization = exports.C14nCanonicalizationWithComments = exports.C14nCanonicalization = void 0;
18
+ var c14n_canonicalization_1 = require("./c14n-canonicalization");
19
+ Object.defineProperty(exports, "C14nCanonicalization", { enumerable: true, get: function () { return c14n_canonicalization_1.C14nCanonicalization; } });
20
+ Object.defineProperty(exports, "C14nCanonicalizationWithComments", { enumerable: true, get: function () { return c14n_canonicalization_1.C14nCanonicalizationWithComments; } });
21
+ var exclusive_canonicalization_1 = require("./exclusive-canonicalization");
22
+ Object.defineProperty(exports, "ExclusiveCanonicalization", { enumerable: true, get: function () { return exclusive_canonicalization_1.ExclusiveCanonicalization; } });
23
+ Object.defineProperty(exports, "ExclusiveCanonicalizationWithComments", { enumerable: true, get: function () { return exclusive_canonicalization_1.ExclusiveCanonicalizationWithComments; } });
24
+ var signed_xml_1 = require("./signed-xml");
25
+ Object.defineProperty(exports, "SignedXml", { enumerable: true, get: function () { return signed_xml_1.SignedXml; } });
26
+ __exportStar(require("./types"), exports);
27
+ __exportStar(require("./utils"), exports);
28
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,iEAAiG;AAAxF,6HAAA,oBAAoB,OAAA;AAAE,yIAAA,gCAAgC,OAAA;AAC/D,2EAGsC;AAFpC,uIAAA,yBAAyB,OAAA;AACzB,mJAAA,qCAAqC,OAAA;AAEvC,2CAAyC;AAAhC,uGAAA,SAAS,OAAA;AAClB,0CAAwB;AACxB,0CAAwB","sourcesContent":["export { C14nCanonicalization, C14nCanonicalizationWithComments } from \"./c14n-canonicalization\";\nexport {\n ExclusiveCanonicalization,\n ExclusiveCanonicalizationWithComments,\n} from \"./exclusive-canonicalization\";\nexport { SignedXml } from \"./signed-xml\";\nexport * from \"./types\";\nexport * from \"./utils\";\n"]}
@@ -0,0 +1,47 @@
1
+ /// <reference types="node" />
2
+ import * as crypto from "crypto";
3
+ import { type SignatureAlgorithm } from "./types";
4
+ export declare class RsaSha1 implements SignatureAlgorithm {
5
+ getSignature: {
6
+ (signedInfo: crypto.BinaryLike, privateKey: crypto.KeyLike): string;
7
+ (signedInfo: crypto.BinaryLike, privateKey: crypto.KeyLike, args_2: import("./types").ErrorFirstCallback<string>): void;
8
+ };
9
+ verifySignature: {
10
+ (material: string, key: crypto.KeyLike, signatureValue: string): boolean;
11
+ (material: string, key: crypto.KeyLike, signatureValue: string, args_3: import("./types").ErrorFirstCallback<boolean>): void;
12
+ };
13
+ getAlgorithmName: () => string;
14
+ }
15
+ export declare class RsaSha256 implements SignatureAlgorithm {
16
+ getSignature: {
17
+ (signedInfo: crypto.BinaryLike, privateKey: crypto.KeyLike): string;
18
+ (signedInfo: crypto.BinaryLike, privateKey: crypto.KeyLike, args_2: import("./types").ErrorFirstCallback<string>): void;
19
+ };
20
+ verifySignature: {
21
+ (material: string, key: crypto.KeyLike, signatureValue: string): boolean;
22
+ (material: string, key: crypto.KeyLike, signatureValue: string, args_3: import("./types").ErrorFirstCallback<boolean>): void;
23
+ };
24
+ getAlgorithmName: () => string;
25
+ }
26
+ export declare class RsaSha512 implements SignatureAlgorithm {
27
+ getSignature: {
28
+ (signedInfo: crypto.BinaryLike, privateKey: crypto.KeyLike): string;
29
+ (signedInfo: crypto.BinaryLike, privateKey: crypto.KeyLike, args_2: import("./types").ErrorFirstCallback<string>): void;
30
+ };
31
+ verifySignature: {
32
+ (material: string, key: crypto.KeyLike, signatureValue: string): boolean;
33
+ (material: string, key: crypto.KeyLike, signatureValue: string, args_3: import("./types").ErrorFirstCallback<boolean>): void;
34
+ };
35
+ getAlgorithmName: () => string;
36
+ }
37
+ export declare class HmacSha1 implements SignatureAlgorithm {
38
+ getSignature: {
39
+ (signedInfo: crypto.BinaryLike, privateKey: crypto.KeyLike): string;
40
+ (signedInfo: crypto.BinaryLike, privateKey: crypto.KeyLike, args_2: import("./types").ErrorFirstCallback<string>): void;
41
+ };
42
+ verifySignature: {
43
+ (material: string, key: crypto.KeyLike, signatureValue: string): boolean;
44
+ (material: string, key: crypto.KeyLike, signatureValue: string, args_3: import("./types").ErrorFirstCallback<boolean>): void;
45
+ };
46
+ getAlgorithmName: () => string;
47
+ }
@@ -0,0 +1,86 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.HmacSha1 = exports.RsaSha512 = exports.RsaSha256 = exports.RsaSha1 = void 0;
4
+ const crypto = require("crypto");
5
+ const types_1 = require("./types");
6
+ class RsaSha1 {
7
+ constructor() {
8
+ this.getSignature = (0, types_1.createOptionalCallbackFunction)((signedInfo, privateKey) => {
9
+ const signer = crypto.createSign("RSA-SHA1");
10
+ signer.update(signedInfo);
11
+ const res = signer.sign(privateKey, "base64");
12
+ return res;
13
+ });
14
+ this.verifySignature = (0, types_1.createOptionalCallbackFunction)((material, key, signatureValue) => {
15
+ const verifier = crypto.createVerify("RSA-SHA1");
16
+ verifier.update(material);
17
+ const res = verifier.verify(key, signatureValue, "base64");
18
+ return res;
19
+ });
20
+ this.getAlgorithmName = () => {
21
+ return "http://www.w3.org/2000/09/xmldsig#rsa-sha1";
22
+ };
23
+ }
24
+ }
25
+ exports.RsaSha1 = RsaSha1;
26
+ class RsaSha256 {
27
+ constructor() {
28
+ this.getSignature = (0, types_1.createOptionalCallbackFunction)((signedInfo, privateKey) => {
29
+ const signer = crypto.createSign("RSA-SHA256");
30
+ signer.update(signedInfo);
31
+ const res = signer.sign(privateKey, "base64");
32
+ return res;
33
+ });
34
+ this.verifySignature = (0, types_1.createOptionalCallbackFunction)((material, key, signatureValue) => {
35
+ const verifier = crypto.createVerify("RSA-SHA256");
36
+ verifier.update(material);
37
+ const res = verifier.verify(key, signatureValue, "base64");
38
+ return res;
39
+ });
40
+ this.getAlgorithmName = () => {
41
+ return "http://www.w3.org/2001/04/xmldsig-more#rsa-sha256";
42
+ };
43
+ }
44
+ }
45
+ exports.RsaSha256 = RsaSha256;
46
+ class RsaSha512 {
47
+ constructor() {
48
+ this.getSignature = (0, types_1.createOptionalCallbackFunction)((signedInfo, privateKey) => {
49
+ const signer = crypto.createSign("RSA-SHA512");
50
+ signer.update(signedInfo);
51
+ const res = signer.sign(privateKey, "base64");
52
+ return res;
53
+ });
54
+ this.verifySignature = (0, types_1.createOptionalCallbackFunction)((material, key, signatureValue) => {
55
+ const verifier = crypto.createVerify("RSA-SHA512");
56
+ verifier.update(material);
57
+ const res = verifier.verify(key, signatureValue, "base64");
58
+ return res;
59
+ });
60
+ this.getAlgorithmName = () => {
61
+ return "http://www.w3.org/2001/04/xmldsig-more#rsa-sha512";
62
+ };
63
+ }
64
+ }
65
+ exports.RsaSha512 = RsaSha512;
66
+ class HmacSha1 {
67
+ constructor() {
68
+ this.getSignature = (0, types_1.createOptionalCallbackFunction)((signedInfo, privateKey) => {
69
+ const signer = crypto.createHmac("SHA1", privateKey);
70
+ signer.update(signedInfo);
71
+ const res = signer.digest("base64");
72
+ return res;
73
+ });
74
+ this.verifySignature = (0, types_1.createOptionalCallbackFunction)((material, key, signatureValue) => {
75
+ const verifier = crypto.createHmac("SHA1", key);
76
+ verifier.update(material);
77
+ const res = verifier.digest("base64");
78
+ return res === signatureValue;
79
+ });
80
+ this.getAlgorithmName = () => {
81
+ return "http://www.w3.org/2000/09/xmldsig#hmac-sha1";
82
+ };
83
+ }
84
+ }
85
+ exports.HmacSha1 = HmacSha1;
86
+ //# sourceMappingURL=signature-algorithms.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"signature-algorithms.js","sourceRoot":"","sources":["../src/signature-algorithms.ts"],"names":[],"mappings":";;;AAAA,iCAAiC;AACjC,mCAAkF;AAElF,MAAa,OAAO;IAApB;QACE,iBAAY,GAAG,IAAA,sCAA8B,EAC3C,CAAC,UAA6B,EAAE,UAA0B,EAAU,EAAE;YACpE,MAAM,MAAM,GAAG,MAAM,CAAC,UAAU,CAAC,UAAU,CAAC,CAAC;YAC7C,MAAM,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC;YAC1B,MAAM,GAAG,GAAG,MAAM,CAAC,IAAI,CAAC,UAAU,EAAE,QA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;QACb,CAAC,CACF,CAAC;QAEF,oBAAe,GAAG,IAAA,sCAA8B,EAC9C,CAAC,QAAgB,EAAE,GAAmB,EAAE,cAAsB,EAAW,EAAE;YACzE,MAAM,QAAQ,GAAG,MAAM,CAAC,UAAU,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;YAChD,QAAQ,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC;YAC1B,MAAM,GAAG,GAAG,QAAQ,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC;YAEtC,OAAO,GAAG,KAAK,cAAc,CAAC;QAChC,CAAC,CACF,CAAC;QAEF,qBAAgB,GAAG,GAAG,EAAE;YACtB,OAAO,6CAA6C,CAAC;QACvD,CAAC,CAAC;IACJ,CAAC;CAAA;AAxBD,4BAwBC","sourcesContent":["import * as crypto from \"crypto\";\nimport { type SignatureAlgorithm, createOptionalCallbackFunction } from \"./types\";\n\nexport class RsaSha1 implements SignatureAlgorithm {\n getSignature = createOptionalCallbackFunction(\n (signedInfo: crypto.BinaryLike, privateKey: crypto.KeyLike): string => {\n const signer = crypto.createSign(\"RSA-SHA1\");\n signer.update(signedInfo);\n const res = signer.sign(privateKey, \"base64\");\n\n return res;\n },\n );\n\n verifySignature = createOptionalCallbackFunction(\n (material: string, key: crypto.KeyLike, signatureValue: string): boolean => {\n const verifier = crypto.createVerify(\"RSA-SHA1\");\n verifier.update(material);\n const res = verifier.verify(key, signatureValue, \"base64\");\n\n return res;\n },\n );\n\n getAlgorithmName = () => {\n return \"http://www.w3.org/2000/09/xmldsig#rsa-sha1\";\n };\n}\n\nexport class RsaSha256 implements SignatureAlgorithm {\n getSignature = createOptionalCallbackFunction(\n (signedInfo: crypto.BinaryLike, privateKey: crypto.KeyLike): string => {\n const signer = crypto.createSign(\"RSA-SHA256\");\n signer.update(signedInfo);\n const res = signer.sign(privateKey, \"base64\");\n\n return res;\n },\n );\n\n verifySignature = createOptionalCallbackFunction(\n (material: string, key: crypto.KeyLike, signatureValue: string): boolean => {\n const verifier = crypto.createVerify(\"RSA-SHA256\");\n verifier.update(material);\n const res = verifier.verify(key, signatureValue, \"base64\");\n\n return res;\n },\n );\n\n getAlgorithmName = () => {\n return \"http://www.w3.org/2001/04/xmldsig-more#rsa-sha256\";\n };\n}\n\nexport class RsaSha512 implements SignatureAlgorithm {\n getSignature = createOptionalCallbackFunction(\n (signedInfo: crypto.BinaryLike, privateKey: crypto.KeyLike): string => {\n const signer = crypto.createSign(\"RSA-SHA512\");\n signer.update(signedInfo);\n const res = signer.sign(privateKey, \"base64\");\n\n return res;\n },\n );\n\n verifySignature = createOptionalCallbackFunction(\n (material: string, key: crypto.KeyLike, signatureValue: string): boolean => {\n const verifier = crypto.createVerify(\"RSA-SHA512\");\n verifier.update(material);\n const res = verifier.verify(key, signatureValue, \"base64\");\n\n return res;\n },\n );\n\n getAlgorithmName = () => {\n return \"http://www.w3.org/2001/04/xmldsig-more#rsa-sha512\";\n };\n}\n\nexport class HmacSha1 implements SignatureAlgorithm {\n getSignature = createOptionalCallbackFunction(\n (signedInfo: crypto.BinaryLike, privateKey: crypto.KeyLike): string => {\n const signer = crypto.createHmac(\"SHA1\", privateKey);\n signer.update(signedInfo);\n const res = signer.digest(\"base64\");\n\n return res;\n },\n );\n\n verifySignature = createOptionalCallbackFunction(\n (material: string, key: crypto.KeyLike, signatureValue: string): boolean => {\n const verifier = crypto.createHmac(\"SHA1\", key);\n verifier.update(material);\n const res = verifier.digest(\"base64\");\n\n return res === signatureValue;\n },\n );\n\n getAlgorithmName = () => {\n return \"http://www.w3.org/2000/09/xmldsig#hmac-sha1\";\n };\n}\n"]}
@@ -0,0 +1,225 @@
1
+ /// <reference types="node" />
2
+ import type { CanonicalizationAlgorithmType, CanonicalizationOrTransformAlgorithmType, CanonicalizationOrTransformationAlgorithm, CanonicalizationOrTransformationAlgorithmProcessOptions, ComputeSignatureOptions, ErrorFirstCallback, GetKeyInfoContentArgs, HashAlgorithm, HashAlgorithmType, Reference, SignatureAlgorithm, SignatureAlgorithmType, SignedXmlOptions } from "./types";
3
+ import * as crypto from "crypto";
4
+ export declare class SignedXml {
5
+ idMode?: "wssecurity";
6
+ idAttributes: string[];
7
+ /**
8
+ * A {@link Buffer} or pem encoded {@link String} containing your private key
9
+ */
10
+ privateKey?: crypto.KeyLike;
11
+ publicCert?: crypto.KeyLike;
12
+ /**
13
+ * One of the supported signature algorithms.
14
+ * @see {@link SignatureAlgorithmType}
15
+ */
16
+ signatureAlgorithm?: SignatureAlgorithmType;
17
+ /**
18
+ * Rules used to convert an XML document into its canonical form.
19
+ */
20
+ canonicalizationAlgorithm?: CanonicalizationAlgorithmType;
21
+ /**
22
+ * It specifies a list of namespace prefixes that should be considered "inclusive" during the canonicalization process.
23
+ */
24
+ inclusiveNamespacesPrefixList: string[];
25
+ namespaceResolver: XPathNSResolver;
26
+ implicitTransforms: ReadonlyArray<CanonicalizationOrTransformAlgorithmType>;
27
+ keyInfoAttributes: {
28
+ [attrName: string]: string;
29
+ };
30
+ getKeyInfoContent: typeof SignedXml.getKeyInfoContent;
31
+ getCertFromKeyInfo: typeof SignedXml.getCertFromKeyInfo;
32
+ private id;
33
+ private signedXml;
34
+ private signatureXml;
35
+ private signatureNode;
36
+ private signatureValue;
37
+ private originalXmlWithIds;
38
+ private keyInfo;
39
+ /**
40
+ * Contains the references that were signed.
41
+ * @see {@link Reference}
42
+ */
43
+ private references;
44
+ /**
45
+ * Contains the canonicalized XML of the references that were validly signed.
46
+ *
47
+ * This populates with the canonical XML of the reference only after
48
+ * verifying the signature is cryptographically authentic.
49
+ */
50
+ private signedReferences;
51
+ /**
52
+ * To add a new transformation algorithm create a new class that implements the {@link TransformationAlgorithm} interface, and register it here. More info: {@link https://github.com/node-saml/xml-crypto#customizing-algorithms|Customizing Algorithms}
53
+ */
54
+ CanonicalizationAlgorithms: Record<CanonicalizationOrTransformAlgorithmType, new () => CanonicalizationOrTransformationAlgorithm>;
55
+ /**
56
+ * To add a new hash algorithm create a new class that implements the {@link HashAlgorithm} interface, and register it here. More info: {@link https://github.com/node-saml/xml-crypto#customizing-algorithms|Customizing Algorithms}
57
+ */
58
+ HashAlgorithms: Record<HashAlgorithmType, new () => HashAlgorithm>;
59
+ /**
60
+ * To add a new signature algorithm create a new class that implements the {@link SignatureAlgorithm} interface, and register it here. More info: {@link https://github.com/node-saml/xml-crypto#customizing-algorithms|Customizing Algorithms}
61
+ */
62
+ SignatureAlgorithms: Record<SignatureAlgorithmType, new () => SignatureAlgorithm>;
63
+ static defaultNsForPrefix: {
64
+ ds: string;
65
+ };
66
+ static noop: () => null;
67
+ /**
68
+ * The SignedXml constructor provides an abstraction for sign and verify xml documents. The object is constructed using
69
+ * @param options {@link SignedXmlOptions}
70
+ */
71
+ constructor(options?: SignedXmlOptions);
72
+ /**
73
+ * Due to key-confusion issues, it's risky to have both hmac
74
+ * and digital signature algorithms enabled at the same time.
75
+ * This enables HMAC and disables other signing algorithms.
76
+ */
77
+ enableHMAC(): void;
78
+ /**
79
+ * Builds the contents of a KeyInfo element as an XML string.
80
+ *
81
+ * For example, if the value of the prefix argument is 'foo', then
82
+ * the resultant XML string will be "<foo:X509Data></foo:X509Data>"
83
+ *
84
+ * @return an XML string representation of the contents of a KeyInfo element, or `null` if no `KeyInfo` element should be included
85
+ */
86
+ static getKeyInfoContent({ publicCert, prefix }: GetKeyInfoContentArgs): string | null;
87
+ /**
88
+ * Returns the value of the signing certificate based on the contents of the
89
+ * specified KeyInfo.
90
+ *
91
+ * @param keyInfo KeyInfo element (@see https://www.w3.org/TR/2008/REC-xmldsig-core-20080610/#sec-X509Data)
92
+ * @return the signing certificate as a string in PEM format
93
+ */
94
+ static getCertFromKeyInfo(keyInfo?: Node | null): string | null;
95
+ /**
96
+ * Validates the signature of the provided XML document synchronously using the configured key info provider.
97
+ *
98
+ * @param xml The XML document containing the signature to be validated.
99
+ * @returns `true` if the signature is valid
100
+ * @throws Error if no key info resolver is provided.
101
+ */
102
+ checkSignature(xml: string): boolean;
103
+ /**
104
+ * Validates the signature of the provided XML document synchronously using the configured key info provider.
105
+ *
106
+ * @param xml The XML document containing the signature to be validated.
107
+ * @param callback Callback function to handle the validation result asynchronously.
108
+ * @throws Error if the last parameter is provided and is not a function, or if no key info resolver is provided.
109
+ */
110
+ checkSignature(xml: string, callback: (error: Error | null, isValid?: boolean) => void): void;
111
+ private getCanonSignedInfoXml;
112
+ private getCanonReferenceXml;
113
+ private calculateSignatureValue;
114
+ private findSignatureAlgorithm;
115
+ private findCanonicalizationAlgorithm;
116
+ private findHashAlgorithm;
117
+ validateElementAgainstReferences(elemOrXpath: Element | string, doc: Document): Reference;
118
+ private validateReference;
119
+ findSignatures(doc: Node): Node[];
120
+ /**
121
+ * Loads the signature information from the provided XML node or string.
122
+ *
123
+ * @param signatureNode The XML node or string representing the signature.
124
+ */
125
+ loadSignature(signatureNode: Node | string): void;
126
+ /**
127
+ * Load the reference xml node to a model
128
+ *
129
+ */
130
+ private loadReference;
131
+ /**
132
+ * Adds a reference to the signature.
133
+ *
134
+ * @param xpath The XPath expression to select the XML nodes to be referenced.
135
+ * @param transforms An array of transform algorithms to be applied to the selected nodes.
136
+ * @param digestAlgorithm The digest algorithm to use for computing the digest value.
137
+ * @param uri The URI identifier for the reference. If empty, an empty URI will be used.
138
+ * @param digestValue The expected digest value for the reference.
139
+ * @param inclusiveNamespacesPrefixList The prefix list for inclusive namespace canonicalization.
140
+ * @param isEmptyUri Indicates whether the URI is empty. Defaults to `false`.
141
+ */
142
+ addReference({ xpath, transforms, digestAlgorithm, uri, digestValue, inclusiveNamespacesPrefixList, isEmptyUri, }: Partial<Reference> & Pick<Reference, "xpath">): void;
143
+ /**
144
+ * Returns the list of references.
145
+ */
146
+ getReferences(): Reference[];
147
+ getSignedReferences(): string[];
148
+ /**
149
+ * Compute the signature of the given XML (using the already defined settings).
150
+ *
151
+ * @param xml The XML to compute the signature for.
152
+ * @param callback A callback function to handle the signature computation asynchronously.
153
+ * @returns void
154
+ * @throws TypeError If the xml can not be parsed.
155
+ */
156
+ computeSignature(xml: string): void;
157
+ /**
158
+ * Compute the signature of the given XML (using the already defined settings).
159
+ *
160
+ * @param xml The XML to compute the signature for.
161
+ * @param callback A callback function to handle the signature computation asynchronously.
162
+ * @returns void
163
+ * @throws TypeError If the xml can not be parsed.
164
+ */
165
+ computeSignature(xml: string, callback: ErrorFirstCallback<SignedXml>): void;
166
+ /**
167
+ * Compute the signature of the given XML (using the already defined settings).
168
+ *
169
+ * @param xml The XML to compute the signature for.
170
+ * @param opts An object containing options for the signature computation.
171
+ * @returns If no callback is provided, returns `this` (the instance of SignedXml).
172
+ * @throws TypeError If the xml can not be parsed, or Error if there were invalid options passed.
173
+ */
174
+ computeSignature(xml: string, options: ComputeSignatureOptions): void;
175
+ /**
176
+ * Compute the signature of the given XML (using the already defined settings).
177
+ *
178
+ * @param xml The XML to compute the signature for.
179
+ * @param opts An object containing options for the signature computation.
180
+ * @param callback A callback function to handle the signature computation asynchronously.
181
+ * @returns void
182
+ * @throws TypeError If the xml can not be parsed, or Error if there were invalid options passed.
183
+ */
184
+ computeSignature(xml: string, options: ComputeSignatureOptions, callback: ErrorFirstCallback<SignedXml>): void;
185
+ private getKeyInfo;
186
+ /**
187
+ * Generate the Reference nodes (as part of the signature process)
188
+ *
189
+ */
190
+ private createReferences;
191
+ getCanonXml(transforms: Reference["transforms"], node: Node, options?: CanonicalizationOrTransformationAlgorithmProcessOptions): string;
192
+ /**
193
+ * Ensure an element has Id attribute. If not create it with unique value.
194
+ * Work with both normal and wssecurity Id flavour
195
+ */
196
+ private ensureHasId;
197
+ /**
198
+ * Create the SignedInfo element
199
+ *
200
+ */
201
+ private createSignedInfo;
202
+ /**
203
+ * Create the Signature element
204
+ *
205
+ */
206
+ private createSignature;
207
+ /**
208
+ * Returns just the signature part, must be called only after {@link computeSignature}
209
+ *
210
+ * @returns The signature XML.
211
+ */
212
+ getSignatureXml(): string;
213
+ /**
214
+ * Returns the original xml with Id attributes added on relevant elements (required for validation), must be called only after {@link computeSignature}
215
+ *
216
+ * @returns The original XML with IDs.
217
+ */
218
+ getOriginalXmlWithIds(): string;
219
+ /**
220
+ * Returns the original xml document with the signature in it, must be called only after {@link computeSignature}
221
+ *
222
+ * @returns The signed XML.
223
+ */
224
+ getSignedXml(): string;
225
+ }