@zowe/cli 8.36.0 → 8.37.0

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 (576) hide show
  1. package/lib/daemon/DaemonClient.d.ts.map +1 -1
  2. package/lib/daemon/DaemonClient.js +3 -0
  3. package/lib/daemon/DaemonClient.js.map +1 -1
  4. package/lib/zosfiles/-strings-/en.d.ts +2 -0
  5. package/lib/zosfiles/-strings-/en.d.ts.map +1 -1
  6. package/lib/zosfiles/-strings-/en.js +5 -1
  7. package/lib/zosfiles/-strings-/en.js.map +1 -1
  8. package/lib/zosfiles/ZosFiles.options.d.ts.map +1 -1
  9. package/lib/zosfiles/ZosFiles.options.js +3 -1
  10. package/lib/zosfiles/ZosFiles.options.js.map +1 -1
  11. package/lib/zosfiles/create/Create.utils.d.ts.map +1 -1
  12. package/lib/zosfiles/create/Create.utils.js +3 -1
  13. package/lib/zosfiles/create/Create.utils.js.map +1 -1
  14. package/lib/zosfiles/create/ussDir/ussDir.handler.d.ts.map +1 -1
  15. package/lib/zosfiles/create/ussDir/ussDir.handler.js +5 -1
  16. package/lib/zosfiles/create/ussDir/ussDir.handler.js.map +1 -1
  17. package/lib/zosfiles/create/ussFile/ussFile.handler.d.ts.map +1 -1
  18. package/lib/zosfiles/create/ussFile/ussFile.handler.js +5 -1
  19. package/lib/zosfiles/create/ussFile/ussFile.handler.js.map +1 -1
  20. package/lib/zosfiles/create/vsam/vsam.handler.d.ts.map +1 -1
  21. package/lib/zosfiles/create/vsam/vsam.handler.js +3 -1
  22. package/lib/zosfiles/create/vsam/vsam.handler.js.map +1 -1
  23. package/lib/zosfiles/create/zfs/zfs.handler.d.ts.map +1 -1
  24. package/lib/zosfiles/create/zfs/zfs.handler.js +3 -1
  25. package/lib/zosfiles/create/zfs/zfs.handler.js.map +1 -1
  26. package/lib/zosfiles/delete/ds/Ds.handler.d.ts.map +1 -1
  27. package/lib/zosfiles/delete/ds/Ds.handler.js +4 -1
  28. package/lib/zosfiles/delete/ds/Ds.handler.js.map +1 -1
  29. package/lib/zosfiles/delete/uss/Uss.handler.d.ts.map +1 -1
  30. package/lib/zosfiles/delete/uss/Uss.handler.js +5 -1
  31. package/lib/zosfiles/delete/uss/Uss.handler.js.map +1 -1
  32. package/lib/zosfiles/delete/vsam/Vsam.handler.d.ts.map +1 -1
  33. package/lib/zosfiles/delete/vsam/Vsam.handler.js +3 -1
  34. package/lib/zosfiles/delete/vsam/Vsam.handler.js.map +1 -1
  35. package/lib/zosfiles/delete/zfs/zfs.handler.d.ts.map +1 -1
  36. package/lib/zosfiles/delete/zfs/zfs.handler.js +3 -1
  37. package/lib/zosfiles/delete/zfs/zfs.handler.js.map +1 -1
  38. package/lib/zosfiles/download/am/AllMembers.handler.d.ts.map +1 -1
  39. package/lib/zosfiles/download/am/AllMembers.handler.js +3 -1
  40. package/lib/zosfiles/download/am/AllMembers.handler.js.map +1 -1
  41. package/lib/zosfiles/download/amm/AllMembersMatching.handler.d.ts.map +1 -1
  42. package/lib/zosfiles/download/amm/AllMembersMatching.handler.js +2 -0
  43. package/lib/zosfiles/download/amm/AllMembersMatching.handler.js.map +1 -1
  44. package/lib/zosfiles/download/ds/Dataset.handler.d.ts.map +1 -1
  45. package/lib/zosfiles/download/ds/Dataset.handler.js +3 -1
  46. package/lib/zosfiles/download/ds/Dataset.handler.js.map +1 -1
  47. package/lib/zosfiles/download/dsm/DataSetMatching.handler.d.ts.map +1 -1
  48. package/lib/zosfiles/download/dsm/DataSetMatching.handler.js +6 -2
  49. package/lib/zosfiles/download/dsm/DataSetMatching.handler.js.map +1 -1
  50. package/lib/zosfiles/download/uss/UssFile.handler.d.ts.map +1 -1
  51. package/lib/zosfiles/download/uss/UssFile.handler.js +2 -0
  52. package/lib/zosfiles/download/uss/UssFile.handler.js.map +1 -1
  53. package/lib/zosfiles/download/ussdir/UssDir.handler.d.ts.map +1 -1
  54. package/lib/zosfiles/download/ussdir/UssDir.handler.js +6 -2
  55. package/lib/zosfiles/download/ussdir/UssDir.handler.js.map +1 -1
  56. package/lib/zosfiles/edit/Edit.utils.d.ts +2 -2
  57. package/lib/zosfiles/edit/Edit.utils.d.ts.map +1 -1
  58. package/lib/zosfiles/edit/Edit.utils.js +10 -10
  59. package/lib/zosfiles/edit/Edit.utils.js.map +1 -1
  60. package/lib/zosfiles/invoke/amsFile/AmsFile.handler.d.ts.map +1 -1
  61. package/lib/zosfiles/invoke/amsFile/AmsFile.handler.js +5 -1
  62. package/lib/zosfiles/invoke/amsFile/AmsFile.handler.js.map +1 -1
  63. package/lib/zosfiles/invoke/amsStatements/AmsStatements.handler.d.ts.map +1 -1
  64. package/lib/zosfiles/invoke/amsStatements/AmsStatements.handler.js +5 -1
  65. package/lib/zosfiles/invoke/amsStatements/AmsStatements.handler.js.map +1 -1
  66. package/lib/zosfiles/list/alias/Alias.handler.d.ts.map +1 -1
  67. package/lib/zosfiles/list/alias/Alias.handler.js +3 -1
  68. package/lib/zosfiles/list/alias/Alias.handler.js.map +1 -1
  69. package/lib/zosfiles/list/am/AllMembers.handler.d.ts.map +1 -1
  70. package/lib/zosfiles/list/am/AllMembers.handler.js +3 -1
  71. package/lib/zosfiles/list/am/AllMembers.handler.js.map +1 -1
  72. package/lib/zosfiles/list/ds/DataSet.handler.d.ts.map +1 -1
  73. package/lib/zosfiles/list/ds/DataSet.handler.js +3 -1
  74. package/lib/zosfiles/list/ds/DataSet.handler.js.map +1 -1
  75. package/lib/zosfiles/list/fs/Fs.handler.d.ts.map +1 -1
  76. package/lib/zosfiles/list/fs/Fs.handler.js +6 -2
  77. package/lib/zosfiles/list/fs/Fs.handler.js.map +1 -1
  78. package/lib/zosfiles/list/uss/UssFile.handler.d.ts.map +1 -1
  79. package/lib/zosfiles/list/uss/UssFile.handler.js +3 -1
  80. package/lib/zosfiles/list/uss/UssFile.handler.js.map +1 -1
  81. package/lib/zosfiles/mount/fs/fs.handler.d.ts.map +1 -1
  82. package/lib/zosfiles/mount/fs/fs.handler.js +3 -1
  83. package/lib/zosfiles/mount/fs/fs.handler.js.map +1 -1
  84. package/lib/zosfiles/rename/ds/Ds.handler.d.ts.map +1 -1
  85. package/lib/zosfiles/rename/ds/Ds.handler.js +4 -1
  86. package/lib/zosfiles/rename/ds/Ds.handler.js.map +1 -1
  87. package/lib/zosfiles/rename/dsm/Dsm.handler.d.ts.map +1 -1
  88. package/lib/zosfiles/rename/dsm/Dsm.handler.js +4 -1
  89. package/lib/zosfiles/rename/dsm/Dsm.handler.js.map +1 -1
  90. package/lib/zosfiles/search/ds/DataSets.handler.d.ts.map +1 -1
  91. package/lib/zosfiles/search/ds/DataSets.handler.js +10 -2
  92. package/lib/zosfiles/search/ds/DataSets.handler.js.map +1 -1
  93. package/lib/zosfiles/upload/dtp/DirToPds.handler.d.ts.map +1 -1
  94. package/lib/zosfiles/upload/dtp/DirToPds.handler.js +3 -1
  95. package/lib/zosfiles/upload/dtp/DirToPds.handler.js.map +1 -1
  96. package/lib/zosfiles/upload/dtu/DirToUSSDir.handler.d.ts.map +1 -1
  97. package/lib/zosfiles/upload/dtu/DirToUSSDir.handler.js +3 -1
  98. package/lib/zosfiles/upload/dtu/DirToUSSDir.handler.js.map +1 -1
  99. package/lib/zosfiles/upload/ftds/FileToDataSet.handler.d.ts.map +1 -1
  100. package/lib/zosfiles/upload/ftds/FileToDataSet.handler.js +3 -1
  101. package/lib/zosfiles/upload/ftds/FileToDataSet.handler.js.map +1 -1
  102. package/lib/zosfiles/upload/ftu/FileToUSS.handler.d.ts.map +1 -1
  103. package/lib/zosfiles/upload/ftu/FileToUSS.handler.js +3 -1
  104. package/lib/zosfiles/upload/ftu/FileToUSS.handler.js.map +1 -1
  105. package/lib/zosfiles/upload/stds/StdinToDataSet.handler.d.ts.map +1 -1
  106. package/lib/zosfiles/upload/stds/StdinToDataSet.handler.js +3 -1
  107. package/lib/zosfiles/upload/stds/StdinToDataSet.handler.js.map +1 -1
  108. package/lib/zosfiles/view/ds/Dataset.handler.d.ts.map +1 -1
  109. package/lib/zosfiles/view/ds/Dataset.handler.js +3 -1
  110. package/lib/zosfiles/view/ds/Dataset.handler.js.map +1 -1
  111. package/lib/zosfiles/view/uss/USSFile.handler.d.ts.map +1 -1
  112. package/lib/zosfiles/view/uss/USSFile.handler.js +3 -1
  113. package/lib/zosfiles/view/uss/USSFile.handler.js.map +1 -1
  114. package/node_modules/@zowe/core-for-zowe-sdk/lib/rest/ZosmfHeaders.d.ts +14 -0
  115. package/node_modules/@zowe/core-for-zowe-sdk/lib/rest/ZosmfHeaders.d.ts.map +1 -1
  116. package/node_modules/@zowe/core-for-zowe-sdk/lib/rest/ZosmfHeaders.js +14 -0
  117. package/node_modules/@zowe/core-for-zowe-sdk/lib/rest/ZosmfHeaders.js.map +1 -1
  118. package/node_modules/@zowe/core-for-zowe-sdk/package.json +3 -3
  119. package/node_modules/@zowe/imperative/lib/config/src/ConfigSchema.d.ts.map +1 -1
  120. package/node_modules/@zowe/imperative/lib/config/src/ConfigSchema.js +1 -0
  121. package/node_modules/@zowe/imperative/lib/config/src/ConfigSchema.js.map +1 -1
  122. package/node_modules/@zowe/imperative/lib/logger/src/LoggerConfigBuilder.d.ts +1 -0
  123. package/node_modules/@zowe/imperative/lib/logger/src/LoggerConfigBuilder.d.ts.map +1 -1
  124. package/node_modules/@zowe/imperative/lib/logger/src/LoggerConfigBuilder.js +2 -0
  125. package/node_modules/@zowe/imperative/lib/logger/src/LoggerConfigBuilder.js.map +1 -1
  126. package/node_modules/@zowe/imperative/lib/logger/src/log4jsToWinston.d.ts +1 -0
  127. package/node_modules/@zowe/imperative/lib/logger/src/log4jsToWinston.d.ts.map +1 -1
  128. package/node_modules/@zowe/imperative/lib/logger/src/log4jsToWinston.js +11 -3
  129. package/node_modules/@zowe/imperative/lib/logger/src/log4jsToWinston.js.map +1 -1
  130. package/node_modules/@zowe/imperative/lib/utilities/src/TextUtils.d.ts.map +1 -1
  131. package/node_modules/@zowe/imperative/lib/utilities/src/TextUtils.js +25 -0
  132. package/node_modules/@zowe/imperative/lib/utilities/src/TextUtils.js.map +1 -1
  133. package/node_modules/@zowe/imperative/package.json +3 -3
  134. package/node_modules/@zowe/imperative/web-help/package-lock.json +62 -62
  135. package/node_modules/@zowe/provisioning-for-zowe-sdk/package.json +4 -4
  136. package/node_modules/@zowe/secrets-for-zowe-sdk/README.md +70 -0
  137. package/node_modules/@zowe/secrets-for-zowe-sdk/package.json +1 -1
  138. package/node_modules/@zowe/secrets-for-zowe-sdk/prebuilds/keyring.darwin-arm64.node +0 -0
  139. package/node_modules/@zowe/secrets-for-zowe-sdk/prebuilds/keyring.darwin-x64.node +0 -0
  140. package/node_modules/@zowe/secrets-for-zowe-sdk/prebuilds/keyring.linux-arm-gnueabihf.node +0 -0
  141. package/node_modules/@zowe/secrets-for-zowe-sdk/prebuilds/keyring.linux-arm64-gnu.node +0 -0
  142. package/node_modules/@zowe/secrets-for-zowe-sdk/prebuilds/keyring.linux-ia32-gnu.node +0 -0
  143. package/node_modules/@zowe/secrets-for-zowe-sdk/prebuilds/keyring.linux-x64-gnu.node +0 -0
  144. package/node_modules/@zowe/secrets-for-zowe-sdk/prebuilds/keyring.win32-arm64-msvc.node +0 -0
  145. package/node_modules/@zowe/secrets-for-zowe-sdk/prebuilds/keyring.win32-ia32-msvc.node +0 -0
  146. package/node_modules/@zowe/secrets-for-zowe-sdk/prebuilds/keyring.win32-x64-msvc.node +0 -0
  147. package/node_modules/@zowe/zos-console-for-zowe-sdk/package.json +4 -4
  148. package/node_modules/@zowe/zos-files-for-zowe-sdk/lib/doc/IZosFilesOptions.d.ts +12 -0
  149. package/node_modules/@zowe/zos-files-for-zowe-sdk/lib/doc/IZosFilesOptions.d.ts.map +1 -1
  150. package/node_modules/@zowe/zos-files-for-zowe-sdk/lib/methods/copy/Copy.js +1 -1
  151. package/node_modules/@zowe/zos-files-for-zowe-sdk/lib/methods/copy/Copy.js.map +1 -1
  152. package/node_modules/@zowe/zos-files-for-zowe-sdk/lib/methods/create/Create.d.ts.map +1 -1
  153. package/node_modules/@zowe/zos-files-for-zowe-sdk/lib/methods/create/Create.js +18 -3
  154. package/node_modules/@zowe/zos-files-for-zowe-sdk/lib/methods/create/Create.js.map +1 -1
  155. package/node_modules/@zowe/zos-files-for-zowe-sdk/lib/methods/delete/Delete.d.ts.map +1 -1
  156. package/node_modules/@zowe/zos-files-for-zowe-sdk/lib/methods/delete/Delete.js +7 -3
  157. package/node_modules/@zowe/zos-files-for-zowe-sdk/lib/methods/delete/Delete.js.map +1 -1
  158. package/node_modules/@zowe/zos-files-for-zowe-sdk/lib/methods/download/Download.js +1 -1
  159. package/node_modules/@zowe/zos-files-for-zowe-sdk/lib/methods/download/Download.js.map +1 -1
  160. package/node_modules/@zowe/zos-files-for-zowe-sdk/lib/methods/invoke/Invoke.d.ts.map +1 -1
  161. package/node_modules/@zowe/zos-files-for-zowe-sdk/lib/methods/invoke/Invoke.js +2 -1
  162. package/node_modules/@zowe/zos-files-for-zowe-sdk/lib/methods/invoke/Invoke.js.map +1 -1
  163. package/node_modules/@zowe/zos-files-for-zowe-sdk/lib/methods/list/List.d.ts.map +1 -1
  164. package/node_modules/@zowe/zos-files-for-zowe-sdk/lib/methods/list/List.js +6 -5
  165. package/node_modules/@zowe/zos-files-for-zowe-sdk/lib/methods/list/List.js.map +1 -1
  166. package/node_modules/@zowe/zos-files-for-zowe-sdk/lib/methods/mount/Mount.d.ts.map +1 -1
  167. package/node_modules/@zowe/zos-files-for-zowe-sdk/lib/methods/mount/Mount.js +6 -0
  168. package/node_modules/@zowe/zos-files-for-zowe-sdk/lib/methods/mount/Mount.js.map +1 -1
  169. package/node_modules/@zowe/zos-files-for-zowe-sdk/lib/methods/rename/Rename.d.ts.map +1 -1
  170. package/node_modules/@zowe/zos-files-for-zowe-sdk/lib/methods/rename/Rename.js +2 -1
  171. package/node_modules/@zowe/zos-files-for-zowe-sdk/lib/methods/rename/Rename.js.map +1 -1
  172. package/node_modules/@zowe/zos-files-for-zowe-sdk/lib/methods/unmount/Unmount.d.ts.map +1 -1
  173. package/node_modules/@zowe/zos-files-for-zowe-sdk/lib/methods/unmount/Unmount.js +3 -1
  174. package/node_modules/@zowe/zos-files-for-zowe-sdk/lib/methods/unmount/Unmount.js.map +1 -1
  175. package/node_modules/@zowe/zos-files-for-zowe-sdk/lib/methods/upload/Upload.d.ts.map +1 -1
  176. package/node_modules/@zowe/zos-files-for-zowe-sdk/lib/methods/upload/Upload.js +5 -5
  177. package/node_modules/@zowe/zos-files-for-zowe-sdk/lib/methods/upload/Upload.js.map +1 -1
  178. package/node_modules/@zowe/zos-files-for-zowe-sdk/lib/methods/utilities/Utilities.d.ts +4 -4
  179. package/node_modules/@zowe/zos-files-for-zowe-sdk/lib/methods/utilities/Utilities.d.ts.map +1 -1
  180. package/node_modules/@zowe/zos-files-for-zowe-sdk/lib/methods/utilities/Utilities.js +10 -33
  181. package/node_modules/@zowe/zos-files-for-zowe-sdk/lib/methods/utilities/Utilities.js.map +1 -1
  182. package/node_modules/@zowe/zos-files-for-zowe-sdk/lib/utils/ZosFilesUtils.d.ts +7 -0
  183. package/node_modules/@zowe/zos-files-for-zowe-sdk/lib/utils/ZosFilesUtils.d.ts.map +1 -1
  184. package/node_modules/@zowe/zos-files-for-zowe-sdk/lib/utils/ZosFilesUtils.js +16 -0
  185. package/node_modules/@zowe/zos-files-for-zowe-sdk/lib/utils/ZosFilesUtils.js.map +1 -1
  186. package/node_modules/@zowe/zos-files-for-zowe-sdk/package.json +5 -5
  187. package/node_modules/@zowe/zos-jobs-for-zowe-sdk/package.json +5 -5
  188. package/node_modules/@zowe/zos-logs-for-zowe-sdk/package.json +4 -4
  189. package/node_modules/@zowe/zos-tso-for-zowe-sdk/package.json +5 -5
  190. package/node_modules/@zowe/zos-uss-for-zowe-sdk/package.json +3 -3
  191. package/node_modules/@zowe/zos-workflows-for-zowe-sdk/package.json +5 -5
  192. package/node_modules/@zowe/zosmf-for-zowe-sdk/lib/constants/Zosmf.constants.d.ts.map +1 -1
  193. package/node_modules/@zowe/zosmf-for-zowe-sdk/lib/constants/Zosmf.constants.js +21 -0
  194. package/node_modules/@zowe/zosmf-for-zowe-sdk/lib/constants/Zosmf.constants.js.map +1 -1
  195. package/node_modules/@zowe/zosmf-for-zowe-sdk/lib/constants/Zosmf.profile.d.ts.map +1 -1
  196. package/node_modules/@zowe/zosmf-for-zowe-sdk/lib/constants/Zosmf.profile.js +8 -0
  197. package/node_modules/@zowe/zosmf-for-zowe-sdk/lib/constants/Zosmf.profile.js.map +1 -1
  198. package/node_modules/@zowe/zosmf-for-zowe-sdk/package.json +4 -4
  199. package/node_modules/js-yaml/dist/js-yaml.js +11 -3
  200. package/node_modules/js-yaml/dist/js-yaml.js.map +1 -1
  201. package/node_modules/js-yaml/dist/js-yaml.min.js +1 -1
  202. package/node_modules/js-yaml/dist/js-yaml.min.js.map +1 -1
  203. package/node_modules/js-yaml/dist/js-yaml.mjs +11 -3
  204. package/node_modules/js-yaml/dist/js-yaml.mjs.map +1 -1
  205. package/node_modules/js-yaml/lib/loader.js +16 -3
  206. package/node_modules/js-yaml/package.json +1 -1
  207. package/node_modules/sanitize-html/README.md +13 -0
  208. package/node_modules/sanitize-html/index.js +86 -12
  209. package/node_modules/sanitize-html/node_modules/dom-serializer/LICENSE +7 -0
  210. package/node_modules/{dom-serializer → sanitize-html/node_modules/dom-serializer}/README.md +14 -8
  211. package/node_modules/sanitize-html/node_modules/dom-serializer/dist/foreign-names.d.ts +11 -0
  212. package/node_modules/sanitize-html/node_modules/dom-serializer/dist/foreign-names.d.ts.map +1 -0
  213. package/node_modules/sanitize-html/node_modules/dom-serializer/dist/foreign-names.js +15 -0
  214. package/node_modules/sanitize-html/node_modules/dom-serializer/dist/foreign-names.js.map +1 -0
  215. package/node_modules/sanitize-html/node_modules/dom-serializer/dist/index.d.ts +72 -0
  216. package/node_modules/sanitize-html/node_modules/dom-serializer/dist/index.d.ts.map +1 -0
  217. package/node_modules/sanitize-html/node_modules/dom-serializer/dist/index.js +173 -0
  218. package/node_modules/sanitize-html/node_modules/dom-serializer/dist/index.js.map +1 -0
  219. package/node_modules/sanitize-html/node_modules/dom-serializer/package.json +69 -0
  220. package/node_modules/sanitize-html/node_modules/dom-serializer/src/foreign-names.ts +19 -0
  221. package/node_modules/sanitize-html/node_modules/dom-serializer/src/index.ts +315 -0
  222. package/node_modules/{domelementtype/lib → sanitize-html/node_modules/domelementtype/dist}/index.d.ts +12 -12
  223. package/node_modules/sanitize-html/node_modules/domelementtype/dist/index.d.ts.map +1 -0
  224. package/node_modules/{domelementtype/lib/esm → sanitize-html/node_modules/domelementtype/dist}/index.js +15 -6
  225. package/node_modules/sanitize-html/node_modules/domelementtype/package.json +59 -0
  226. package/node_modules/{domhandler/lib → sanitize-html/node_modules/domhandler/dist}/index.d.ts +9 -6
  227. package/node_modules/sanitize-html/node_modules/domhandler/dist/index.d.ts.map +1 -0
  228. package/node_modules/{domhandler/lib/esm → sanitize-html/node_modules/domhandler/dist}/index.js +34 -25
  229. package/node_modules/{domhandler/lib → sanitize-html/node_modules/domhandler/dist}/node.d.ts +34 -15
  230. package/node_modules/sanitize-html/node_modules/domhandler/dist/node.d.ts.map +1 -0
  231. package/node_modules/{domhandler/lib/esm → sanitize-html/node_modules/domhandler/dist}/node.js +81 -60
  232. package/node_modules/sanitize-html/node_modules/domhandler/package.json +65 -0
  233. package/node_modules/{domhandler → sanitize-html/node_modules/domhandler}/readme.md +1 -7
  234. package/node_modules/{domutils/lib → sanitize-html/node_modules/domutils/dist}/feeds.d.ts +2 -2
  235. package/node_modules/sanitize-html/node_modules/domutils/dist/feeds.d.ts.map +1 -0
  236. package/node_modules/{domutils/lib/esm → sanitize-html/node_modules/domutils/dist}/feeds.js +22 -25
  237. package/node_modules/sanitize-html/node_modules/domutils/dist/feeds.js.map +1 -0
  238. package/node_modules/{domutils/lib → sanitize-html/node_modules/domutils/dist}/helpers.d.ts +1 -1
  239. package/node_modules/sanitize-html/node_modules/domutils/dist/helpers.d.ts.map +1 -0
  240. package/node_modules/{domutils/lib/esm → sanitize-html/node_modules/domutils/dist}/helpers.js +16 -16
  241. package/node_modules/sanitize-html/node_modules/domutils/dist/helpers.js.map +1 -0
  242. package/node_modules/{domutils/lib/esm → sanitize-html/node_modules/domutils/dist}/index.d.ts +5 -7
  243. package/node_modules/sanitize-html/node_modules/domutils/dist/index.d.ts.map +1 -0
  244. package/node_modules/{domutils/lib/esm → sanitize-html/node_modules/domutils/dist}/index.js +5 -7
  245. package/node_modules/sanitize-html/node_modules/domutils/dist/index.js.map +1 -0
  246. package/node_modules/{domutils/lib/esm → sanitize-html/node_modules/domutils/dist}/legacy.d.ts +1 -1
  247. package/node_modules/sanitize-html/node_modules/domutils/dist/legacy.d.ts.map +1 -0
  248. package/node_modules/{domutils/lib/esm → sanitize-html/node_modules/domutils/dist}/legacy.js +15 -15
  249. package/node_modules/sanitize-html/node_modules/domutils/dist/legacy.js.map +1 -0
  250. package/node_modules/{domutils/lib/esm → sanitize-html/node_modules/domutils/dist}/manipulation.d.ts +9 -9
  251. package/node_modules/sanitize-html/node_modules/domutils/dist/manipulation.d.ts.map +1 -0
  252. package/node_modules/sanitize-html/node_modules/domutils/dist/manipulation.js +138 -0
  253. package/node_modules/sanitize-html/node_modules/domutils/dist/manipulation.js.map +1 -0
  254. package/node_modules/{domutils/lib → sanitize-html/node_modules/domutils/dist}/querying.d.ts +6 -16
  255. package/node_modules/sanitize-html/node_modules/domutils/dist/querying.d.ts.map +1 -0
  256. package/node_modules/{domutils/lib/esm → sanitize-html/node_modules/domutils/dist}/querying.js +13 -26
  257. package/node_modules/sanitize-html/node_modules/domutils/dist/querying.js.map +1 -0
  258. package/node_modules/{domutils/lib → sanitize-html/node_modules/domutils/dist}/stringify.d.ts +2 -2
  259. package/node_modules/sanitize-html/node_modules/domutils/dist/stringify.d.ts.map +1 -0
  260. package/node_modules/{domutils/lib/esm → sanitize-html/node_modules/domutils/dist}/stringify.js +1 -1
  261. package/node_modules/sanitize-html/node_modules/domutils/dist/stringify.js.map +1 -0
  262. package/node_modules/sanitize-html/node_modules/domutils/dist/traversal.d.ts +74 -0
  263. package/node_modules/sanitize-html/node_modules/domutils/dist/traversal.d.ts.map +1 -0
  264. package/node_modules/sanitize-html/node_modules/domutils/dist/traversal.js +105 -0
  265. package/node_modules/sanitize-html/node_modules/domutils/dist/traversal.js.map +1 -0
  266. package/node_modules/sanitize-html/node_modules/domutils/package.json +69 -0
  267. package/node_modules/{domutils → sanitize-html/node_modules/domutils}/readme.md +0 -6
  268. package/node_modules/sanitize-html/node_modules/domutils/src/__snapshots__/feeds.spec.ts.snap +103 -0
  269. package/node_modules/sanitize-html/node_modules/domutils/src/feeds.ts +301 -0
  270. package/node_modules/{domutils/lib/helpers.js → sanitize-html/node_modules/domutils/src/helpers.ts} +55 -43
  271. package/node_modules/{domutils/lib/index.d.ts → sanitize-html/node_modules/domutils/src/index.ts} +5 -8
  272. package/node_modules/sanitize-html/node_modules/domutils/src/legacy.ts +224 -0
  273. package/node_modules/sanitize-html/node_modules/domutils/src/manipulation.ts +156 -0
  274. package/node_modules/{domutils/lib/querying.js → sanitize-html/node_modules/domutils/src/querying.ts} +77 -60
  275. package/node_modules/sanitize-html/node_modules/domutils/src/stringify.ts +90 -0
  276. package/node_modules/sanitize-html/node_modules/domutils/src/traversal.ts +132 -0
  277. package/node_modules/sanitize-html/node_modules/entities/dist/decode-codepoint.d.ts +28 -0
  278. package/node_modules/sanitize-html/node_modules/entities/dist/decode-codepoint.d.ts.map +1 -0
  279. package/node_modules/sanitize-html/node_modules/entities/dist/decode-codepoint.js +61 -0
  280. package/node_modules/sanitize-html/node_modules/entities/dist/decode-codepoint.js.map +1 -0
  281. package/node_modules/{htmlparser2/node_modules/entities/dist/commonjs → sanitize-html/node_modules/entities/dist}/decode.d.ts +66 -44
  282. package/node_modules/sanitize-html/node_modules/entities/dist/decode.d.ts.map +1 -0
  283. package/node_modules/sanitize-html/node_modules/entities/dist/decode.js +1132 -0
  284. package/node_modules/sanitize-html/node_modules/entities/dist/decode.js.map +1 -0
  285. package/node_modules/{htmlparser2/node_modules/entities/dist/commonjs → sanitize-html/node_modules/entities/dist}/encode.d.ts +4 -0
  286. package/node_modules/sanitize-html/node_modules/entities/dist/encode.d.ts.map +1 -0
  287. package/node_modules/sanitize-html/node_modules/entities/dist/encode.js +295 -0
  288. package/node_modules/sanitize-html/node_modules/entities/dist/encode.js.map +1 -0
  289. package/node_modules/{htmlparser2/node_modules/entities/dist/commonjs → sanitize-html/node_modules/entities/dist}/escape.d.ts +23 -9
  290. package/node_modules/sanitize-html/node_modules/entities/dist/escape.d.ts.map +1 -0
  291. package/node_modules/sanitize-html/node_modules/entities/dist/escape.js +172 -0
  292. package/node_modules/sanitize-html/node_modules/entities/dist/escape.js.map +1 -0
  293. package/node_modules/sanitize-html/node_modules/entities/dist/generated/decode-data-html.d.ts +3 -0
  294. package/node_modules/sanitize-html/node_modules/entities/dist/generated/decode-data-html.d.ts.map +1 -0
  295. package/node_modules/sanitize-html/node_modules/entities/dist/generated/decode-data-html.js +5 -0
  296. package/node_modules/sanitize-html/node_modules/entities/dist/generated/decode-data-html.js.map +1 -0
  297. package/node_modules/sanitize-html/node_modules/entities/dist/generated/decode-data-xml.d.ts +3 -0
  298. package/node_modules/sanitize-html/node_modules/entities/dist/generated/decode-data-xml.d.ts.map +1 -0
  299. package/node_modules/sanitize-html/node_modules/entities/dist/generated/decode-data-xml.js +7 -0
  300. package/node_modules/sanitize-html/node_modules/entities/dist/generated/decode-data-xml.js.map +1 -0
  301. package/node_modules/sanitize-html/node_modules/entities/dist/generated/encode-html.d.ts +3 -0
  302. package/node_modules/sanitize-html/node_modules/entities/dist/generated/encode-html.d.ts.map +1 -0
  303. package/node_modules/sanitize-html/node_modules/entities/dist/generated/encode-html.js +3 -0
  304. package/node_modules/sanitize-html/node_modules/entities/dist/generated/encode-html.js.map +1 -0
  305. package/node_modules/{htmlparser2/node_modules/entities/dist/commonjs → sanitize-html/node_modules/entities/dist}/index.d.ts +11 -18
  306. package/node_modules/sanitize-html/node_modules/entities/dist/index.d.ts.map +1 -0
  307. package/node_modules/{htmlparser2/node_modules/entities/dist/esm → sanitize-html/node_modules/entities/dist}/index.js +9 -29
  308. package/node_modules/sanitize-html/node_modules/entities/dist/index.js.map +1 -0
  309. package/node_modules/sanitize-html/node_modules/entities/dist/internal/bin-trie-flags.d.ts +48 -0
  310. package/node_modules/sanitize-html/node_modules/entities/dist/internal/bin-trie-flags.d.ts.map +1 -0
  311. package/node_modules/sanitize-html/node_modules/entities/dist/internal/bin-trie-flags.js +49 -0
  312. package/node_modules/sanitize-html/node_modules/entities/dist/internal/bin-trie-flags.js.map +1 -0
  313. package/node_modules/sanitize-html/node_modules/entities/dist/internal/decode-shared.d.ts +38 -0
  314. package/node_modules/sanitize-html/node_modules/entities/dist/internal/decode-shared.d.ts.map +1 -0
  315. package/node_modules/sanitize-html/node_modules/entities/dist/internal/decode-shared.js +195 -0
  316. package/node_modules/sanitize-html/node_modules/entities/dist/internal/decode-shared.js.map +1 -0
  317. package/node_modules/sanitize-html/node_modules/entities/package.json +83 -0
  318. package/node_modules/{htmlparser2 → sanitize-html}/node_modules/entities/readme.md +4 -16
  319. package/node_modules/sanitize-html/node_modules/entities/src/decode-codepoint.ts +69 -0
  320. package/node_modules/sanitize-html/node_modules/entities/src/decode.ts +1368 -0
  321. package/node_modules/sanitize-html/node_modules/entities/src/encode.ts +337 -0
  322. package/node_modules/sanitize-html/node_modules/entities/src/escape.ts +187 -0
  323. package/node_modules/sanitize-html/node_modules/entities/src/generated/decode-data-html.ts +12 -0
  324. package/node_modules/sanitize-html/node_modules/entities/src/generated/decode-data-xml.ts +7 -0
  325. package/node_modules/sanitize-html/node_modules/entities/src/generated/encode-html.ts +3 -0
  326. package/node_modules/{htmlparser2 → sanitize-html}/node_modules/entities/src/index.ts +14 -41
  327. package/node_modules/sanitize-html/node_modules/entities/src/internal/bin-trie-flags.ts +47 -0
  328. package/node_modules/sanitize-html/node_modules/entities/src/internal/decode-shared.ts +209 -0
  329. package/node_modules/sanitize-html/node_modules/htmlparser2/README.md +257 -0
  330. package/node_modules/{htmlparser2/dist/esm → sanitize-html/node_modules/htmlparser2/dist}/Parser.d.ts +97 -38
  331. package/node_modules/sanitize-html/node_modules/htmlparser2/dist/Parser.d.ts.map +1 -0
  332. package/node_modules/sanitize-html/node_modules/htmlparser2/dist/Parser.js +644 -0
  333. package/node_modules/sanitize-html/node_modules/htmlparser2/dist/Parser.js.map +1 -0
  334. package/node_modules/{htmlparser2/dist/commonjs → sanitize-html/node_modules/htmlparser2/dist}/Tokenizer.d.ts +75 -7
  335. package/node_modules/sanitize-html/node_modules/htmlparser2/dist/Tokenizer.d.ts.map +1 -0
  336. package/node_modules/{htmlparser2/dist/esm → sanitize-html/node_modules/htmlparser2/dist}/Tokenizer.js +434 -179
  337. package/node_modules/sanitize-html/node_modules/htmlparser2/dist/Tokenizer.js.map +1 -0
  338. package/node_modules/sanitize-html/node_modules/htmlparser2/dist/WebWritableStream.d.ts +24 -0
  339. package/node_modules/sanitize-html/node_modules/htmlparser2/dist/WebWritableStream.d.ts.map +1 -0
  340. package/node_modules/sanitize-html/node_modules/htmlparser2/dist/WebWritableStream.js +44 -0
  341. package/node_modules/sanitize-html/node_modules/htmlparser2/dist/WebWritableStream.js.map +1 -0
  342. package/node_modules/{htmlparser2/dist/commonjs → sanitize-html/node_modules/htmlparser2/dist}/WritableStream.d.ts +1 -2
  343. package/node_modules/sanitize-html/node_modules/htmlparser2/dist/WritableStream.d.ts.map +1 -0
  344. package/node_modules/{htmlparser2/dist/esm → sanitize-html/node_modules/htmlparser2/dist}/WritableStream.js +3 -3
  345. package/node_modules/sanitize-html/node_modules/htmlparser2/dist/WritableStream.js.map +1 -0
  346. package/node_modules/{htmlparser2/dist/commonjs → sanitize-html/node_modules/htmlparser2/dist}/index.d.ts +6 -26
  347. package/node_modules/sanitize-html/node_modules/htmlparser2/dist/index.d.ts.map +1 -0
  348. package/node_modules/{htmlparser2/dist/esm → sanitize-html/node_modules/htmlparser2/dist}/index.js +2 -30
  349. package/node_modules/sanitize-html/node_modules/htmlparser2/dist/index.js.map +1 -0
  350. package/node_modules/sanitize-html/node_modules/htmlparser2/package.json +86 -0
  351. package/node_modules/{htmlparser2 → sanitize-html/node_modules/htmlparser2}/src/Parser.ts +260 -100
  352. package/node_modules/{htmlparser2 → sanitize-html/node_modules/htmlparser2}/src/Tokenizer.ts +438 -165
  353. package/node_modules/sanitize-html/node_modules/htmlparser2/src/WebWritableStream.ts +47 -0
  354. package/node_modules/{htmlparser2 → sanitize-html/node_modules/htmlparser2}/src/WritableStream.ts +1 -2
  355. package/node_modules/{htmlparser2 → sanitize-html/node_modules/htmlparser2}/src/index.ts +14 -43
  356. package/node_modules/sanitize-html/package.json +5 -2
  357. package/package.json +15 -15
  358. package/scripts/validateSecretsPrebuild.js +231 -0
  359. package/node_modules/dom-serializer/LICENSE +0 -11
  360. package/node_modules/dom-serializer/lib/esm/foreignNames.d.ts +0 -3
  361. package/node_modules/dom-serializer/lib/esm/foreignNames.d.ts.map +0 -1
  362. package/node_modules/dom-serializer/lib/esm/foreignNames.js +0 -100
  363. package/node_modules/dom-serializer/lib/esm/index.d.ts +0 -52
  364. package/node_modules/dom-serializer/lib/esm/index.d.ts.map +0 -1
  365. package/node_modules/dom-serializer/lib/esm/index.js +0 -190
  366. package/node_modules/dom-serializer/lib/esm/package.json +0 -1
  367. package/node_modules/dom-serializer/lib/foreignNames.d.ts +0 -3
  368. package/node_modules/dom-serializer/lib/foreignNames.d.ts.map +0 -1
  369. package/node_modules/dom-serializer/lib/foreignNames.js +0 -103
  370. package/node_modules/dom-serializer/lib/index.d.ts +0 -52
  371. package/node_modules/dom-serializer/lib/index.d.ts.map +0 -1
  372. package/node_modules/dom-serializer/lib/index.js +0 -229
  373. package/node_modules/dom-serializer/package.json +0 -69
  374. package/node_modules/domelementtype/lib/esm/index.d.ts +0 -48
  375. package/node_modules/domelementtype/lib/esm/index.d.ts.map +0 -1
  376. package/node_modules/domelementtype/lib/esm/package.json +0 -1
  377. package/node_modules/domelementtype/lib/index.d.ts.map +0 -1
  378. package/node_modules/domelementtype/lib/index.js +0 -55
  379. package/node_modules/domelementtype/package.json +0 -54
  380. package/node_modules/domhandler/lib/esm/index.d.ts +0 -76
  381. package/node_modules/domhandler/lib/esm/index.d.ts.map +0 -1
  382. package/node_modules/domhandler/lib/esm/node.d.ts +0 -245
  383. package/node_modules/domhandler/lib/esm/node.d.ts.map +0 -1
  384. package/node_modules/domhandler/lib/esm/package.json +0 -1
  385. package/node_modules/domhandler/lib/index.d.ts.map +0 -1
  386. package/node_modules/domhandler/lib/index.js +0 -165
  387. package/node_modules/domhandler/lib/node.d.ts.map +0 -1
  388. package/node_modules/domhandler/lib/node.js +0 -474
  389. package/node_modules/domhandler/package.json +0 -73
  390. package/node_modules/domutils/lib/esm/feeds.d.ts +0 -71
  391. package/node_modules/domutils/lib/esm/feeds.d.ts.map +0 -1
  392. package/node_modules/domutils/lib/esm/feeds.js.map +0 -1
  393. package/node_modules/domutils/lib/esm/helpers.d.ts +0 -59
  394. package/node_modules/domutils/lib/esm/helpers.d.ts.map +0 -1
  395. package/node_modules/domutils/lib/esm/helpers.js.map +0 -1
  396. package/node_modules/domutils/lib/esm/index.d.ts.map +0 -1
  397. package/node_modules/domutils/lib/esm/index.js.map +0 -1
  398. package/node_modules/domutils/lib/esm/legacy.d.ts.map +0 -1
  399. package/node_modules/domutils/lib/esm/legacy.js.map +0 -1
  400. package/node_modules/domutils/lib/esm/manipulation.d.ts.map +0 -1
  401. package/node_modules/domutils/lib/esm/manipulation.js +0 -134
  402. package/node_modules/domutils/lib/esm/manipulation.js.map +0 -1
  403. package/node_modules/domutils/lib/esm/package.json +0 -1
  404. package/node_modules/domutils/lib/esm/querying.d.ts +0 -64
  405. package/node_modules/domutils/lib/esm/querying.d.ts.map +0 -1
  406. package/node_modules/domutils/lib/esm/querying.js.map +0 -1
  407. package/node_modules/domutils/lib/esm/stringify.d.ts +0 -46
  408. package/node_modules/domutils/lib/esm/stringify.d.ts.map +0 -1
  409. package/node_modules/domutils/lib/esm/stringify.js.map +0 -1
  410. package/node_modules/domutils/lib/esm/traversal.d.ts +0 -67
  411. package/node_modules/domutils/lib/esm/traversal.d.ts.map +0 -1
  412. package/node_modules/domutils/lib/esm/traversal.js +0 -112
  413. package/node_modules/domutils/lib/esm/traversal.js.map +0 -1
  414. package/node_modules/domutils/lib/feeds.d.ts.map +0 -1
  415. package/node_modules/domutils/lib/feeds.js +0 -190
  416. package/node_modules/domutils/lib/feeds.js.map +0 -1
  417. package/node_modules/domutils/lib/helpers.d.ts.map +0 -1
  418. package/node_modules/domutils/lib/helpers.js.map +0 -1
  419. package/node_modules/domutils/lib/index.d.ts.map +0 -1
  420. package/node_modules/domutils/lib/index.js +0 -33
  421. package/node_modules/domutils/lib/index.js.map +0 -1
  422. package/node_modules/domutils/lib/legacy.d.ts +0 -79
  423. package/node_modules/domutils/lib/legacy.d.ts.map +0 -1
  424. package/node_modules/domutils/lib/legacy.js +0 -168
  425. package/node_modules/domutils/lib/legacy.js.map +0 -1
  426. package/node_modules/domutils/lib/manipulation.d.ts +0 -49
  427. package/node_modules/domutils/lib/manipulation.d.ts.map +0 -1
  428. package/node_modules/domutils/lib/manipulation.js +0 -142
  429. package/node_modules/domutils/lib/manipulation.js.map +0 -1
  430. package/node_modules/domutils/lib/querying.d.ts.map +0 -1
  431. package/node_modules/domutils/lib/querying.js.map +0 -1
  432. package/node_modules/domutils/lib/stringify.d.ts.map +0 -1
  433. package/node_modules/domutils/lib/stringify.js +0 -91
  434. package/node_modules/domutils/lib/stringify.js.map +0 -1
  435. package/node_modules/domutils/lib/traversal.d.ts +0 -67
  436. package/node_modules/domutils/lib/traversal.d.ts.map +0 -1
  437. package/node_modules/domutils/lib/traversal.js +0 -125
  438. package/node_modules/domutils/lib/traversal.js.map +0 -1
  439. package/node_modules/domutils/package.json +0 -79
  440. package/node_modules/htmlparser2/README.md +0 -171
  441. package/node_modules/htmlparser2/WritableStream.js +0 -3
  442. package/node_modules/htmlparser2/dist/commonjs/Parser.d.ts +0 -198
  443. package/node_modules/htmlparser2/dist/commonjs/Parser.d.ts.map +0 -1
  444. package/node_modules/htmlparser2/dist/commonjs/Parser.js +0 -527
  445. package/node_modules/htmlparser2/dist/commonjs/Parser.js.map +0 -1
  446. package/node_modules/htmlparser2/dist/commonjs/Tokenizer.d.ts.map +0 -1
  447. package/node_modules/htmlparser2/dist/commonjs/Tokenizer.js +0 -805
  448. package/node_modules/htmlparser2/dist/commonjs/Tokenizer.js.map +0 -1
  449. package/node_modules/htmlparser2/dist/commonjs/WritableStream.d.ts.map +0 -1
  450. package/node_modules/htmlparser2/dist/commonjs/WritableStream.js +0 -36
  451. package/node_modules/htmlparser2/dist/commonjs/WritableStream.js.map +0 -1
  452. package/node_modules/htmlparser2/dist/commonjs/index.d.ts.map +0 -1
  453. package/node_modules/htmlparser2/dist/commonjs/index.js +0 -123
  454. package/node_modules/htmlparser2/dist/commonjs/index.js.map +0 -1
  455. package/node_modules/htmlparser2/dist/commonjs/package.json +0 -3
  456. package/node_modules/htmlparser2/dist/esm/Parser.d.ts.map +0 -1
  457. package/node_modules/htmlparser2/dist/esm/Parser.js +0 -490
  458. package/node_modules/htmlparser2/dist/esm/Parser.js.map +0 -1
  459. package/node_modules/htmlparser2/dist/esm/Tokenizer.d.ts +0 -126
  460. package/node_modules/htmlparser2/dist/esm/Tokenizer.d.ts.map +0 -1
  461. package/node_modules/htmlparser2/dist/esm/Tokenizer.js.map +0 -1
  462. package/node_modules/htmlparser2/dist/esm/WritableStream.d.ts +0 -15
  463. package/node_modules/htmlparser2/dist/esm/WritableStream.d.ts.map +0 -1
  464. package/node_modules/htmlparser2/dist/esm/WritableStream.js.map +0 -1
  465. package/node_modules/htmlparser2/dist/esm/index.d.ts +0 -54
  466. package/node_modules/htmlparser2/dist/esm/index.d.ts.map +0 -1
  467. package/node_modules/htmlparser2/dist/esm/index.js.map +0 -1
  468. package/node_modules/htmlparser2/dist/esm/package.json +0 -3
  469. package/node_modules/htmlparser2/node_modules/entities/decode.d.ts +0 -3
  470. package/node_modules/htmlparser2/node_modules/entities/decode.js +0 -3
  471. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/decode-codepoint.d.ts +0 -19
  472. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/decode-codepoint.d.ts.map +0 -1
  473. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/decode-codepoint.js +0 -77
  474. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/decode-codepoint.js.map +0 -1
  475. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/decode.d.ts.map +0 -1
  476. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/decode.js +0 -568
  477. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/decode.js.map +0 -1
  478. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/encode.d.ts.map +0 -1
  479. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/encode.js +0 -92
  480. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/encode.js.map +0 -1
  481. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/escape.d.ts.map +0 -1
  482. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/escape.js +0 -138
  483. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/escape.js.map +0 -1
  484. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/generated/decode-data-html.d.ts +0 -2
  485. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/generated/decode-data-html.d.ts.map +0 -1
  486. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/generated/decode-data-html.js +0 -7
  487. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/generated/decode-data-html.js.map +0 -1
  488. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/generated/decode-data-xml.d.ts +0 -2
  489. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/generated/decode-data-xml.d.ts.map +0 -1
  490. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/generated/decode-data-xml.js +0 -7
  491. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/generated/decode-data-xml.js.map +0 -1
  492. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/generated/encode-html.d.ts +0 -3
  493. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/generated/encode-html.d.ts.map +0 -1
  494. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/generated/encode-html.js +0 -14
  495. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/generated/encode-html.js.map +0 -1
  496. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/index.d.ts.map +0 -1
  497. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/index.js +0 -131
  498. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/index.js.map +0 -1
  499. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/internal/bin-trie-flags.d.ts +0 -17
  500. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/internal/bin-trie-flags.d.ts.map +0 -1
  501. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/internal/bin-trie-flags.js +0 -21
  502. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/internal/bin-trie-flags.js.map +0 -1
  503. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/internal/decode-shared.d.ts +0 -2
  504. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/internal/decode-shared.d.ts.map +0 -1
  505. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/internal/decode-shared.js +0 -31
  506. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/internal/decode-shared.js.map +0 -1
  507. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/internal/encode-shared.d.ts +0 -32
  508. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/internal/encode-shared.d.ts.map +0 -1
  509. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/internal/encode-shared.js +0 -94
  510. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/internal/encode-shared.js.map +0 -1
  511. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/package.json +0 -3
  512. package/node_modules/htmlparser2/node_modules/entities/dist/esm/decode-codepoint.d.ts +0 -19
  513. package/node_modules/htmlparser2/node_modules/entities/dist/esm/decode-codepoint.d.ts.map +0 -1
  514. package/node_modules/htmlparser2/node_modules/entities/dist/esm/decode-codepoint.js +0 -72
  515. package/node_modules/htmlparser2/node_modules/entities/dist/esm/decode-codepoint.js.map +0 -1
  516. package/node_modules/htmlparser2/node_modules/entities/dist/esm/decode.d.ts +0 -205
  517. package/node_modules/htmlparser2/node_modules/entities/dist/esm/decode.d.ts.map +0 -1
  518. package/node_modules/htmlparser2/node_modules/entities/dist/esm/decode.js +0 -554
  519. package/node_modules/htmlparser2/node_modules/entities/dist/esm/decode.js.map +0 -1
  520. package/node_modules/htmlparser2/node_modules/entities/dist/esm/encode.d.ts +0 -22
  521. package/node_modules/htmlparser2/node_modules/entities/dist/esm/encode.d.ts.map +0 -1
  522. package/node_modules/htmlparser2/node_modules/entities/dist/esm/encode.js +0 -88
  523. package/node_modules/htmlparser2/node_modules/entities/dist/esm/encode.js.map +0 -1
  524. package/node_modules/htmlparser2/node_modules/entities/dist/esm/escape.d.ts +0 -46
  525. package/node_modules/htmlparser2/node_modules/entities/dist/esm/escape.d.ts.map +0 -1
  526. package/node_modules/htmlparser2/node_modules/entities/dist/esm/escape.js +0 -134
  527. package/node_modules/htmlparser2/node_modules/entities/dist/esm/escape.js.map +0 -1
  528. package/node_modules/htmlparser2/node_modules/entities/dist/esm/generated/decode-data-html.d.ts +0 -2
  529. package/node_modules/htmlparser2/node_modules/entities/dist/esm/generated/decode-data-html.d.ts.map +0 -1
  530. package/node_modules/htmlparser2/node_modules/entities/dist/esm/generated/decode-data-html.js +0 -4
  531. package/node_modules/htmlparser2/node_modules/entities/dist/esm/generated/decode-data-html.js.map +0 -1
  532. package/node_modules/htmlparser2/node_modules/entities/dist/esm/generated/decode-data-xml.d.ts +0 -2
  533. package/node_modules/htmlparser2/node_modules/entities/dist/esm/generated/decode-data-xml.d.ts.map +0 -1
  534. package/node_modules/htmlparser2/node_modules/entities/dist/esm/generated/decode-data-xml.js +0 -4
  535. package/node_modules/htmlparser2/node_modules/entities/dist/esm/generated/decode-data-xml.js.map +0 -1
  536. package/node_modules/htmlparser2/node_modules/entities/dist/esm/generated/encode-html.d.ts +0 -3
  537. package/node_modules/htmlparser2/node_modules/entities/dist/esm/generated/encode-html.d.ts.map +0 -1
  538. package/node_modules/htmlparser2/node_modules/entities/dist/esm/generated/encode-html.js +0 -11
  539. package/node_modules/htmlparser2/node_modules/entities/dist/esm/generated/encode-html.js.map +0 -1
  540. package/node_modules/htmlparser2/node_modules/entities/dist/esm/index.d.ts +0 -96
  541. package/node_modules/htmlparser2/node_modules/entities/dist/esm/index.d.ts.map +0 -1
  542. package/node_modules/htmlparser2/node_modules/entities/dist/esm/index.js.map +0 -1
  543. package/node_modules/htmlparser2/node_modules/entities/dist/esm/internal/bin-trie-flags.d.ts +0 -17
  544. package/node_modules/htmlparser2/node_modules/entities/dist/esm/internal/bin-trie-flags.d.ts.map +0 -1
  545. package/node_modules/htmlparser2/node_modules/entities/dist/esm/internal/bin-trie-flags.js +0 -18
  546. package/node_modules/htmlparser2/node_modules/entities/dist/esm/internal/bin-trie-flags.js.map +0 -1
  547. package/node_modules/htmlparser2/node_modules/entities/dist/esm/internal/decode-shared.d.ts +0 -2
  548. package/node_modules/htmlparser2/node_modules/entities/dist/esm/internal/decode-shared.d.ts.map +0 -1
  549. package/node_modules/htmlparser2/node_modules/entities/dist/esm/internal/decode-shared.js +0 -28
  550. package/node_modules/htmlparser2/node_modules/entities/dist/esm/internal/decode-shared.js.map +0 -1
  551. package/node_modules/htmlparser2/node_modules/entities/dist/esm/internal/encode-shared.d.ts +0 -32
  552. package/node_modules/htmlparser2/node_modules/entities/dist/esm/internal/encode-shared.d.ts.map +0 -1
  553. package/node_modules/htmlparser2/node_modules/entities/dist/esm/internal/encode-shared.js +0 -91
  554. package/node_modules/htmlparser2/node_modules/entities/dist/esm/internal/encode-shared.js.map +0 -1
  555. package/node_modules/htmlparser2/node_modules/entities/dist/esm/package.json +0 -3
  556. package/node_modules/htmlparser2/node_modules/entities/escape.d.ts +0 -3
  557. package/node_modules/htmlparser2/node_modules/entities/escape.js +0 -3
  558. package/node_modules/htmlparser2/node_modules/entities/package.json +0 -120
  559. package/node_modules/htmlparser2/node_modules/entities/src/decode-codepoint.ts +0 -81
  560. package/node_modules/htmlparser2/node_modules/entities/src/decode.ts +0 -685
  561. package/node_modules/htmlparser2/node_modules/entities/src/encode.ts +0 -93
  562. package/node_modules/htmlparser2/node_modules/entities/src/escape.ts +0 -161
  563. package/node_modules/htmlparser2/node_modules/entities/src/generated/.eslintrc.json +0 -10
  564. package/node_modules/htmlparser2/node_modules/entities/src/generated/decode-data-html.ts +0 -6
  565. package/node_modules/htmlparser2/node_modules/entities/src/generated/decode-data-xml.ts +0 -6
  566. package/node_modules/htmlparser2/node_modules/entities/src/generated/encode-html.ts +0 -17
  567. package/node_modules/htmlparser2/node_modules/entities/src/internal/bin-trie-flags.ts +0 -16
  568. package/node_modules/htmlparser2/node_modules/entities/src/internal/decode-shared.ts +0 -30
  569. package/node_modules/htmlparser2/node_modules/entities/src/internal/encode-shared.ts +0 -121
  570. package/node_modules/htmlparser2/package.json +0 -113
  571. /package/node_modules/{domelementtype → sanitize-html/node_modules/domelementtype}/LICENSE +0 -0
  572. /package/node_modules/{domelementtype → sanitize-html/node_modules/domelementtype}/readme.md +0 -0
  573. /package/node_modules/{domhandler → sanitize-html/node_modules/domhandler}/LICENSE +0 -0
  574. /package/node_modules/{domutils → sanitize-html/node_modules/domutils}/LICENSE +0 -0
  575. /package/node_modules/{htmlparser2 → sanitize-html}/node_modules/entities/LICENSE +0 -0
  576. /package/node_modules/{htmlparser2 → sanitize-html/node_modules/htmlparser2}/LICENSE +0 -0
@@ -1,2 +0,0 @@
1
- export declare function decodeBase64(input: string): Uint16Array;
2
- //# sourceMappingURL=decode-shared.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"decode-shared.d.ts","sourceRoot":"","sources":["../../../src/internal/decode-shared.ts"],"names":[],"mappings":"AAIA,wBAAgB,YAAY,CAAC,KAAK,EAAE,MAAM,GAAG,WAAW,CAyBvD"}
@@ -1,31 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.decodeBase64 = decodeBase64;
4
- /*
5
- * Shared base64 decode helper for generated decode data.
6
- * Assumes global atob is available.
7
- */
8
- function decodeBase64(input) {
9
- const binary =
10
- // eslint-disable-next-line n/no-unsupported-features/node-builtins
11
- typeof atob === "function"
12
- ? // Browser (and Node >=16)
13
- // eslint-disable-next-line n/no-unsupported-features/node-builtins
14
- atob(input)
15
- : // Older Node versions (<16)
16
- // eslint-disable-next-line n/no-unsupported-features/node-builtins
17
- typeof Buffer.from === "function"
18
- ? // eslint-disable-next-line n/no-unsupported-features/node-builtins
19
- Buffer.from(input, "base64").toString("binary")
20
- : // eslint-disable-next-line unicorn/no-new-buffer, n/no-deprecated-api
21
- new Buffer(input, "base64").toString("binary");
22
- const evenLength = binary.length & ~1; // Round down to even length
23
- const out = new Uint16Array(evenLength / 2);
24
- for (let index = 0, outIndex = 0; index < evenLength; index += 2) {
25
- const lo = binary.charCodeAt(index);
26
- const hi = binary.charCodeAt(index + 1);
27
- out[outIndex++] = lo | (hi << 8);
28
- }
29
- return out;
30
- }
31
- //# sourceMappingURL=decode-shared.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"decode-shared.js","sourceRoot":"","sources":["../../../src/internal/decode-shared.ts"],"names":[],"mappings":";;AAIA,oCAyBC;AA7BD;;;GAGG;AACH,SAAgB,YAAY,CAAC,KAAa;IACtC,MAAM,MAAM;IACR,mEAAmE;IACnE,OAAO,IAAI,KAAK,UAAU;QACtB,CAAC,CAAC,0BAA0B;YAC1B,mEAAmE;YACnE,IAAI,CAAC,KAAK,CAAC;QACb,CAAC,CAAC,4BAA4B;YAC5B,mEAAmE;YACnE,OAAO,MAAM,CAAC,IAAI,KAAK,UAAU;gBACjC,CAAC,CAAC,mEAAmE;oBACnE,MAAM,CAAC,IAAI,CAAC,KAAK,EAAE,QAAQ,CAAC,CAAC,QAAQ,CAAC,QAAQ,CAAC;gBACjD,CAAC,CAAC,sEAAsE;oBACtE,IAAI,MAAM,CAAC,KAAK,EAAE,QAAQ,CAAC,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAC;IAE3D,MAAM,UAAU,GAAG,MAAM,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,4BAA4B;IACnE,MAAM,GAAG,GAAG,IAAI,WAAW,CAAC,UAAU,GAAG,CAAC,CAAC,CAAC;IAE5C,KAAK,IAAI,KAAK,GAAG,CAAC,EAAE,QAAQ,GAAG,CAAC,EAAE,KAAK,GAAG,UAAU,EAAE,KAAK,IAAI,CAAC,EAAE,CAAC;QAC/D,MAAM,EAAE,GAAG,MAAM,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC;QACpC,MAAM,EAAE,GAAG,MAAM,CAAC,UAAU,CAAC,KAAK,GAAG,CAAC,CAAC,CAAC;QACxC,GAAG,CAAC,QAAQ,EAAE,CAAC,GAAG,EAAE,GAAG,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC;IACrC,CAAC;IAED,OAAO,GAAG,CAAC;AACf,CAAC"}
@@ -1,32 +0,0 @@
1
- /**
2
- * A node inside the encoding trie used by `encode.ts`.
3
- *
4
- * There are two physical shapes to minimize allocations and lookup cost:
5
- *
6
- * 1. Leaf node (string)
7
- * - A plain string (already in the form `"&name;"`).
8
- * - Represents a terminal match with no children.
9
- *
10
- * 2. Branch / value node (object)
11
- */
12
- export type EncodeTrieNode = string | {
13
- /**
14
- * Entity value for the current code point sequence (wrapped: `&...;`).
15
- * Present when the path to this node itself is a valid named entity.
16
- */
17
- value: string | undefined;
18
- /** If a number, the next code unit of the only next character. */
19
- next: number | Map<number, EncodeTrieNode>;
20
- /** If next is a number, `nextValue` contains the entity value. */
21
- nextValue?: string;
22
- };
23
- /**
24
- * Parse a compact encode trie string into a Map structure used for encoding.
25
- *
26
- * Format per entry (ascending code points using delta encoding):
27
- * <diffBase36>[&name;][{<children>}] -- diff omitted when 0
28
- * Where diff = currentKey - previousKey - 1 (first entry stores absolute key).
29
- * `&name;` is the entity value (already wrapped); a following `{` denotes children.
30
- */
31
- export declare function parseEncodeTrie(serialized: string): Map<number, EncodeTrieNode>;
32
- //# sourceMappingURL=encode-shared.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"encode-shared.d.ts","sourceRoot":"","sources":["../../../src/internal/encode-shared.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AACH,MAAM,MAAM,cAAc,GACpB,MAAM,GACN;IACI;;;OAGG;IACH,KAAK,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B,kEAAkE;IAClE,IAAI,EAAE,MAAM,GAAG,GAAG,CAAC,MAAM,EAAE,cAAc,CAAC,CAAC;IAC3C,kEAAkE;IAClE,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB,CAAC;AAER;;;;;;;GAOG;AACH,wBAAgB,eAAe,CAC3B,UAAU,EAAE,MAAM,GACnB,GAAG,CAAC,MAAM,EAAE,cAAc,CAAC,CAqF7B"}
@@ -1,94 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.parseEncodeTrie = parseEncodeTrie;
4
- /**
5
- * Parse a compact encode trie string into a Map structure used for encoding.
6
- *
7
- * Format per entry (ascending code points using delta encoding):
8
- * <diffBase36>[&name;][{<children>}] -- diff omitted when 0
9
- * Where diff = currentKey - previousKey - 1 (first entry stores absolute key).
10
- * `&name;` is the entity value (already wrapped); a following `{` denotes children.
11
- */
12
- function parseEncodeTrie(serialized) {
13
- const top = new Map();
14
- const totalLength = serialized.length;
15
- let cursor = 0;
16
- let lastTopKey = -1;
17
- function readDiff() {
18
- const start = cursor;
19
- while (cursor < totalLength) {
20
- const char = serialized.charAt(cursor);
21
- if ((char < "0" || char > "9") && (char < "a" || char > "z")) {
22
- break;
23
- }
24
- cursor++;
25
- }
26
- if (cursor === start)
27
- return 0;
28
- return Number.parseInt(serialized.slice(start, cursor), 36);
29
- }
30
- function readEntity() {
31
- if (serialized[cursor] !== "&") {
32
- throw new Error(`Child entry missing value near index ${cursor}`);
33
- }
34
- // Cursor currently points at '&'
35
- const start = cursor;
36
- const end = serialized.indexOf(";", cursor + 1);
37
- if (end === -1) {
38
- throw new Error(`Unterminated entity starting at index ${start}`);
39
- }
40
- cursor = end + 1; // Move past ';'
41
- return serialized.slice(start, cursor); // Includes & ... ;
42
- }
43
- while (cursor < totalLength) {
44
- const keyDiff = readDiff();
45
- const key = lastTopKey === -1 ? keyDiff : lastTopKey + keyDiff + 1;
46
- let value;
47
- if (serialized[cursor] === "&")
48
- value = readEntity();
49
- if (serialized[cursor] === "{") {
50
- cursor++; // Skip '{'
51
- // Parse first child
52
- let diff = readDiff();
53
- let childKey = diff; // First key (lastChildKey = -1)
54
- const firstValue = readEntity();
55
- if (serialized[cursor] === "{") {
56
- throw new Error("Unexpected nested '{' beyond depth 2");
57
- }
58
- // If end of block -> single child optimization
59
- if (serialized[cursor] === "}") {
60
- top.set(key, { value, next: childKey, nextValue: firstValue });
61
- cursor++; // Skip '}'
62
- }
63
- else {
64
- const childMap = new Map();
65
- childMap.set(childKey, firstValue);
66
- let lastChildKey = childKey;
67
- while (cursor < totalLength && serialized[cursor] !== "}") {
68
- diff = readDiff();
69
- childKey = lastChildKey + diff + 1;
70
- const childValue = readEntity();
71
- if (serialized[cursor] === "{") {
72
- throw new Error("Unexpected nested '{' beyond depth 2");
73
- }
74
- childMap.set(childKey, childValue);
75
- lastChildKey = childKey;
76
- }
77
- if (serialized[cursor] !== "}") {
78
- throw new Error("Unterminated child block");
79
- }
80
- cursor++; // Skip '}'
81
- top.set(key, { value, next: childMap });
82
- }
83
- }
84
- else if (value === undefined) {
85
- throw new Error(`Malformed encode trie: missing value at index ${cursor}`);
86
- }
87
- else {
88
- top.set(key, value);
89
- }
90
- lastTopKey = key;
91
- }
92
- return top;
93
- }
94
- //# sourceMappingURL=encode-shared.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"encode-shared.js","sourceRoot":"","sources":["../../../src/internal/encode-shared.ts"],"names":[],"mappings":";;AAiCA,0CAuFC;AA/FD;;;;;;;GAOG;AACH,SAAgB,eAAe,CAC3B,UAAkB;IAElB,MAAM,GAAG,GAAG,IAAI,GAAG,EAA0B,CAAC;IAC9C,MAAM,WAAW,GAAG,UAAU,CAAC,MAAM,CAAC;IACtC,IAAI,MAAM,GAAG,CAAC,CAAC;IACf,IAAI,UAAU,GAAG,CAAC,CAAC,CAAC;IAEpB,SAAS,QAAQ;QACb,MAAM,KAAK,GAAG,MAAM,CAAC;QACrB,OAAO,MAAM,GAAG,WAAW,EAAE,CAAC;YAC1B,MAAM,IAAI,GAAG,UAAU,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;YAEvC,IAAI,CAAC,IAAI,GAAG,GAAG,IAAI,IAAI,GAAG,GAAG,CAAC,IAAI,CAAC,IAAI,GAAG,GAAG,IAAI,IAAI,GAAG,GAAG,CAAC,EAAE,CAAC;gBAC3D,MAAM;YACV,CAAC;YACD,MAAM,EAAE,CAAC;QACb,CAAC;QACD,IAAI,MAAM,KAAK,KAAK;YAAE,OAAO,CAAC,CAAC;QAC/B,OAAO,MAAM,CAAC,QAAQ,CAAC,UAAU,CAAC,KAAK,CAAC,KAAK,EAAE,MAAM,CAAC,EAAE,EAAE,CAAC,CAAC;IAChE,CAAC;IAED,SAAS,UAAU;QACf,IAAI,UAAU,CAAC,MAAM,CAAC,KAAK,GAAG,EAAE,CAAC;YAC7B,MAAM,IAAI,KAAK,CAAC,wCAAwC,MAAM,EAAE,CAAC,CAAC;QACtE,CAAC;QAED,iCAAiC;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ACD,UAAU,GAAG,GAAG,CAAC;IACrB,CAAC;IACD,OAAO,GAAG,CAAC;AACf,CAAC"}
@@ -1,19 +0,0 @@
1
- /**
2
- * Polyfill for `String.fromCodePoint`. It is used to create a string from a Unicode code point.
3
- */
4
- export declare const fromCodePoint: (...codePoints: number[]) => string;
5
- /**
6
- * Replace the given code point with a replacement character if it is a
7
- * surrogate or is outside the valid range. Otherwise return the code
8
- * point unchanged.
9
- */
10
- export declare function replaceCodePoint(codePoint: number): number;
11
- /**
12
- * Replace the code point if relevant, then convert it to a string.
13
- *
14
- * @deprecated Use `fromCodePoint(replaceCodePoint(codePoint))` instead.
15
- * @param codePoint The code point to decode.
16
- * @returns The decoded code point.
17
- */
18
- export declare function decodeCodePoint(codePoint: number): string;
19
- //# sourceMappingURL=decode-codepoint.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"decode-codepoint.d.ts","sourceRoot":"","sources":["../../src/decode-codepoint.ts"],"names":[],"mappings":"AAkCA;;GAEG;AACH,eAAO,MAAM,aAAa,EAAE,CAAC,GAAG,UAAU,EAAE,MAAM,EAAE,KAAK,MAgBnD,CAAC;AAEP;;;;GAIG;AACH,wBAAgB,gBAAgB,CAAC,SAAS,EAAE,MAAM,GAAG,MAAM,CAS1D;AAED;;;;;;GAMG;AACH,wBAAgB,eAAe,CAAC,SAAS,EAAE,MAAM,GAAG,MAAM,CAEzD"}
@@ -1,72 +0,0 @@
1
- // Adapted from https://github.com/mathiasbynens/he/blob/36afe179392226cf1b6ccdb16ebbb7a5a844d93a/src/he.js#L106-L134
2
- var _a;
3
- const decodeMap = new Map([
4
- [0, 65533],
5
- // C1 Unicode control character reference replacements
6
- [128, 8364],
7
- [130, 8218],
8
- [131, 402],
9
- [132, 8222],
10
- [133, 8230],
11
- [134, 8224],
12
- [135, 8225],
13
- [136, 710],
14
- [137, 8240],
15
- [138, 352],
16
- [139, 8249],
17
- [140, 338],
18
- [142, 381],
19
- [145, 8216],
20
- [146, 8217],
21
- [147, 8220],
22
- [148, 8221],
23
- [149, 8226],
24
- [150, 8211],
25
- [151, 8212],
26
- [152, 732],
27
- [153, 8482],
28
- [154, 353],
29
- [155, 8250],
30
- [156, 339],
31
- [158, 382],
32
- [159, 376],
33
- ]);
34
- /**
35
- * Polyfill for `String.fromCodePoint`. It is used to create a string from a Unicode code point.
36
- */
37
- export const fromCodePoint =
38
- // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition, n/no-unsupported-features/es-builtins
39
- (_a = String.fromCodePoint) !== null && _a !== void 0 ? _a : ((codePoint) => {
40
- let output = "";
41
- if (codePoint > 65535) {
42
- codePoint -= 65536;
43
- output += String.fromCharCode(((codePoint >>> 10) & 1023) | 55296);
44
- codePoint = 56320 | (codePoint & 1023);
45
- }
46
- output += String.fromCharCode(codePoint);
47
- return output;
48
- });
49
- /**
50
- * Replace the given code point with a replacement character if it is a
51
- * surrogate or is outside the valid range. Otherwise return the code
52
- * point unchanged.
53
- */
54
- export function replaceCodePoint(codePoint) {
55
- var _a;
56
- if ((codePoint >= 55296 && codePoint <= 57343) ||
57
- codePoint > 1114111) {
58
- return 65533;
59
- }
60
- return (_a = decodeMap.get(codePoint)) !== null && _a !== void 0 ? _a : codePoint;
61
- }
62
- /**
63
- * Replace the code point if relevant, then convert it to a string.
64
- *
65
- * @deprecated Use `fromCodePoint(replaceCodePoint(codePoint))` instead.
66
- * @param codePoint The code point to decode.
67
- * @returns The decoded code point.
68
- */
69
- export function decodeCodePoint(codePoint) {
70
- return fromCodePoint(replaceCodePoint(codePoint));
71
- }
72
- //# sourceMappingURL=decode-codepoint.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"decode-codepoint.js","sourceRoot":"","sources":["../../src/decode-codepoint.ts"],"names":[],"mappings":"AAAA,qHAAqH;;AAErH,MAAM,SAAS,GAAG,IAAI,GAAG,CAAC;IACtB,CAAC,CAAC,EAAE,KAAM,CAAC;IACX,sDAAsD;IACtD,CAAC,GAAG,EAAE,IAAI,CAAC;IACX,CA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GAAG,IAAM,CAAC,GAAG,KAAO,CAC1C,CAAC;QACF,SAAS,GAAG,KAAO,GAAG,CAAC,SAAS,GAAG,IAAM,CAAC,CAAC;IAC/C,CAAC;IAED,MAAM,IAAI,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,CAAC;IACzC,OAAO,MAAM,CAAC;AAClB,CAAC,CAAC,CAAC;AAEP;;;;GAIG;AACH,MAAM,UAAU,gBAAgB,CAAC,SAAiB;;IAC9C,IACI,CAAC,SAAS,IAAI,KAAO,IAAI,SAAS,IAAI,KAAO,CAAC;QAC9C,SAAS,GAAG,OAAU,EACxB,CAAC;QACC,OAAO,KAAO,CAAC;IACnB,CAAC;IAED,OAAO,MAAA,SAAS,CAAC,GAAG,CAAC,SAAS,CAAC,mCAAI,SAAS,CAAC;AACjD,CAAC;AAED;;;;;;GAMG;AACH,MAAM,UAAU,eAAe,CAAC,SAAiB;IAC7C,OAAO,aAAa,CAAC,gBAAgB,CAAC,SAAS,CAAC,CAAC,CAAC;AACtD,CAAC"}
@@ -1,205 +0,0 @@
1
- export declare enum DecodingMode {
2
- /** Entities in text nodes that can end with any character. */
3
- Legacy = 0,
4
- /** Only allow entities terminated with a semicolon. */
5
- Strict = 1,
6
- /** Entities in attributes have limitations on ending characters. */
7
- Attribute = 2
8
- }
9
- /**
10
- * Producers for character reference errors as defined in the HTML spec.
11
- */
12
- export interface EntityErrorProducer {
13
- missingSemicolonAfterCharacterReference(): void;
14
- absenceOfDigitsInNumericCharacterReference(consumedCharacters: number): void;
15
- validateNumericCharacterReference(code: number): void;
16
- }
17
- /**
18
- * Token decoder with support of writing partial entities.
19
- */
20
- export declare class EntityDecoder {
21
- /** The tree used to decode entities. */
22
- private readonly decodeTree;
23
- /**
24
- * The function that is called when a codepoint is decoded.
25
- *
26
- * For multi-byte named entities, this will be called multiple times,
27
- * with the second codepoint, and the same `consumed` value.
28
- *
29
- * @param codepoint The decoded codepoint.
30
- * @param consumed The number of bytes consumed by the decoder.
31
- */
32
- private readonly emitCodePoint;
33
- /** An object that is used to produce errors. */
34
- private readonly errors?;
35
- constructor(
36
- /** The tree used to decode entities. */
37
- decodeTree: Uint16Array,
38
- /**
39
- * The function that is called when a codepoint is decoded.
40
- *
41
- * For multi-byte named entities, this will be called multiple times,
42
- * with the second codepoint, and the same `consumed` value.
43
- *
44
- * @param codepoint The decoded codepoint.
45
- * @param consumed The number of bytes consumed by the decoder.
46
- */
47
- emitCodePoint: (cp: number, consumed: number) => void,
48
- /** An object that is used to produce errors. */
49
- errors?: EntityErrorProducer | undefined);
50
- /** The current state of the decoder. */
51
- private state;
52
- /** Characters that were consumed while parsing an entity. */
53
- private consumed;
54
- /**
55
- * The result of the entity.
56
- *
57
- * Either the result index of a numeric entity, or the codepoint of a
58
- * numeric entity.
59
- */
60
- private result;
61
- /** The current index in the decode tree. */
62
- private treeIndex;
63
- /** The number of characters that were consumed in excess. */
64
- private excess;
65
- /** The mode in which the decoder is operating. */
66
- private decodeMode;
67
- /** The number of characters that have been consumed in the current run. */
68
- private runConsumed;
69
- /** Resets the instance to make it reusable. */
70
- startEntity(decodeMode: DecodingMode): void;
71
- /**
72
- * Write an entity to the decoder. This can be called multiple times with partial entities.
73
- * If the entity is incomplete, the decoder will return -1.
74
- *
75
- * Mirrors the implementation of `getDecoder`, but with the ability to stop decoding if the
76
- * entity is incomplete, and resume when the next string is written.
77
- *
78
- * @param input The string containing the entity (or a continuation of the entity).
79
- * @param offset The offset at which the entity begins. Should be 0 if this is not the first call.
80
- * @returns The number of characters that were consumed, or -1 if the entity is incomplete.
81
- */
82
- write(input: string, offset: number): number;
83
- /**
84
- * Switches between the numeric decimal and hexadecimal states.
85
- *
86
- * Equivalent to the `Numeric character reference state` in the HTML spec.
87
- *
88
- * @param input The string containing the entity (or a continuation of the entity).
89
- * @param offset The current offset.
90
- * @returns The number of characters that were consumed, or -1 if the entity is incomplete.
91
- */
92
- private stateNumericStart;
93
- /**
94
- * Parses a hexadecimal numeric entity.
95
- *
96
- * Equivalent to the `Hexademical character reference state` in the HTML spec.
97
- *
98
- * @param input The string containing the entity (or a continuation of the entity).
99
- * @param offset The current offset.
100
- * @returns The number of characters that were consumed, or -1 if the entity is incomplete.
101
- */
102
- private stateNumericHex;
103
- /**
104
- * Parses a decimal numeric entity.
105
- *
106
- * Equivalent to the `Decimal character reference state` in the HTML spec.
107
- *
108
- * @param input The string containing the entity (or a continuation of the entity).
109
- * @param offset The current offset.
110
- * @returns The number of characters that were consumed, or -1 if the entity is incomplete.
111
- */
112
- private stateNumericDecimal;
113
- /**
114
- * Validate and emit a numeric entity.
115
- *
116
- * Implements the logic from the `Hexademical character reference start
117
- * state` and `Numeric character reference end state` in the HTML spec.
118
- *
119
- * @param lastCp The last code point of the entity. Used to see if the
120
- * entity was terminated with a semicolon.
121
- * @param expectedLength The minimum number of characters that should be
122
- * consumed. Used to validate that at least one digit
123
- * was consumed.
124
- * @returns The number of characters that were consumed.
125
- */
126
- private emitNumericEntity;
127
- /**
128
- * Parses a named entity.
129
- *
130
- * Equivalent to the `Named character reference state` in the HTML spec.
131
- *
132
- * @param input The string containing the entity (or a continuation of the entity).
133
- * @param offset The current offset.
134
- * @returns The number of characters that were consumed, or -1 if the entity is incomplete.
135
- */
136
- private stateNamedEntity;
137
- /**
138
- * Emit a named entity that was not terminated with a semicolon.
139
- *
140
- * @returns The number of characters consumed.
141
- */
142
- private emitNotTerminatedNamedEntity;
143
- /**
144
- * Emit a named entity.
145
- *
146
- * @param result The index of the entity in the decode tree.
147
- * @param valueLength The number of bytes in the entity.
148
- * @param consumed The number of characters consumed.
149
- *
150
- * @returns The number of characters consumed.
151
- */
152
- private emitNamedEntityData;
153
- /**
154
- * Signal to the parser that the end of the input was reached.
155
- *
156
- * Remaining data will be emitted and relevant errors will be produced.
157
- *
158
- * @returns The number of characters consumed.
159
- */
160
- end(): number;
161
- }
162
- /**
163
- * Determines the branch of the current node that is taken given the current
164
- * character. This function is used to traverse the trie.
165
- *
166
- * @param decodeTree The trie.
167
- * @param current The current node.
168
- * @param nodeIdx The index right after the current node and its value.
169
- * @param char The current character.
170
- * @returns The index of the next node, or -1 if no branch is taken.
171
- */
172
- export declare function determineBranch(decodeTree: Uint16Array, current: number, nodeIndex: number, char: number): number;
173
- /**
174
- * Decodes an HTML string.
175
- *
176
- * @param htmlString The string to decode.
177
- * @param mode The decoding mode.
178
- * @returns The decoded string.
179
- */
180
- export declare function decodeHTML(htmlString: string, mode?: DecodingMode): string;
181
- /**
182
- * Decodes an HTML string in an attribute.
183
- *
184
- * @param htmlAttribute The string to decode.
185
- * @returns The decoded string.
186
- */
187
- export declare function decodeHTMLAttribute(htmlAttribute: string): string;
188
- /**
189
- * Decodes an HTML string, requiring all entities to be terminated by a semicolon.
190
- *
191
- * @param htmlString The string to decode.
192
- * @returns The decoded string.
193
- */
194
- export declare function decodeHTMLStrict(htmlString: string): string;
195
- /**
196
- * Decodes an XML string, requiring all entities to be terminated by a semicolon.
197
- *
198
- * @param xmlString The string to decode.
199
- * @returns The decoded string.
200
- */
201
- export declare function decodeXML(xmlString: string): string;
202
- export { decodeCodePoint, fromCodePoint, replaceCodePoint, } from "./decode-codepoint.js";
203
- export { htmlDecodeTree } from "./generated/decode-data-html.js";
204
- export { xmlDecodeTree } from "./generated/decode-data-xml.js";
205
- //# sourceMappingURL=decode.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"decode.d.ts","sourceRoot":"","sources":["../../src/decode.ts"],"names":[],"mappings":"AA4DA,oBAAY,YAAY;IACpB,8DAA8D;IAC9D,MAAM,IAAI;IACV,uDAAuD;IACvD,MAAM,IAAI;IACV,oEAAoE;IACpE,SAAS,IAAI;CAChB;AAED;;GAEG;AACH,MAAM,WAAW,mBAAmB;IAChC,uCAAuC,IAAI,IAAI,CAAC;IAChD,0CAA0C,CACtC,kBAAkB,EAAE,MAAM,GAC3B,IAAI,CAAC;IACR,iCAAiC,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;CACzD;AAED;;GAEG;AAC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