@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
@@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B,CAAC;AAC/B,uCAAuC;AACvC,OAAO,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAC;AACjE,OAAO,EAAE,aAAa,EAAE,MAAM,gCAAgC,CAAC"}
@@ -8,6 +8,7 @@
8
8
  *
9
9
  * If a character has no equivalent entity, a numeric hexadecimal reference
10
10
  * (eg. `ü`) will be used.
11
+ * @param input Input string to encode.
11
12
  */
12
13
  export declare function encodeHTML(input: string): string;
13
14
  /**
@@ -17,6 +18,9 @@ export declare function encodeHTML(input: string): string;
17
18
  *
18
19
  * If a character has no equivalent entity, a numeric hexadecimal reference
19
20
  * (eg. `ü`) will be used.
21
+ * @param input Input string to encode.
20
22
  */
21
23
  export declare function encodeNonAsciiHTML(input: string): string;
24
+ /** @internal Exported for tests; not re-exported from the package entry. */
25
+ export declare const INLINE_SCAN_WINDOW = 16;
22
26
  //# sourceMappingURL=encode.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"encode.d.ts","sourceRoot":"","sources":["../src/encode.ts"],"names":[],"mappings":"AAmKA;;;;;;;;;;;GAWG;AACH,wBAAgB,UAAU,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAEhD;AACD;;;;;;;;GAQG;AACH,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAExD;AAwBD,4EAA4E;AAC5E,eAAO,MAAM,kBAAkB,KAAK,CAAC"}
@@ -0,0 +1,295 @@
1
+ import { XML_BITSET_VALUE, xmlEncodeRegex } from "./escape.js";
2
+ import htmlTrieData from "./generated/encode-html.js";
3
+ /**
4
+ * Flat lookup table for ASCII entity values (code points 0–127).
5
+ *
6
+ * Built once at startup from the full trie. For ASCII characters that need
7
+ * encoding, a direct `asciiEntities[charCode]` array index is much faster
8
+ * than `Map.get(charCode)` because it avoids hashing and bucket lookup.
9
+ *
10
+ * A few ASCII characters also start multi-code-point entities
11
+ * (e.g. `<` + U+20D2 → `&nvlt;`). For those, the table holds the branch
12
+ * node itself (children plus the single-char value), so the ASCII path
13
+ * never consults `htmlTrie`.
14
+ */
15
+ const asciiEntities = /* #__PURE__ */ Array.from({ length: 128 }, () => null);
16
+ const htmlTrie = (() => {
17
+ /**
18
+ * Parse a compact encode trie string into a Map keyed by code point.
19
+ *
20
+ * The serialized format (produced by `scripts/write-encode-map.ts`) stores
21
+ * entries in ascending code-point order with delta encoding:
22
+ *
23
+ * [gap]name;[{children}]
24
+ *
25
+ * - `gap` is a base-10 integer giving `currentKey - previousKey - 1`.
26
+ * The very first entry stores the absolute key. A gap of 0 is omitted.
27
+ * - `name;` is the entity name (without `&` prefix) terminated by `;`.
28
+ * Because gaps use only digits `[0-9]` and entity names always start with
29
+ * a letter `[A-Za-z]`, no additional delimiter is needed.
30
+ * - `{…}` is an optional children block using the same scheme recursively.
31
+ * Children represent the second code unit of multi-character entities
32
+ * (e.g. `<` + U+20D2 → `&nvlt;`).
33
+ */
34
+ const trie = new Map();
35
+ const data = htmlTrieData;
36
+ let cursor = 0;
37
+ let lastKey = -1;
38
+ function readGap() {
39
+ let value = 0;
40
+ let ch;
41
+ while ((ch = data.charCodeAt(cursor)) >= 48 /* '0' */ &&
42
+ ch <= 57 /* '9' */) {
43
+ value = value * 10 + ch - 48;
44
+ cursor++;
45
+ }
46
+ return value;
47
+ }
48
+ function readEntity() {
49
+ const semi = data.indexOf(";", cursor);
50
+ const entity = `&${data.substring(cursor, semi)};`;
51
+ cursor = semi + 1;
52
+ return entity;
53
+ }
54
+ const astralEntries = [];
55
+ while (cursor < data.length) {
56
+ lastKey += readGap() + 1;
57
+ const entityValue = data.charCodeAt(cursor) === 123 /* '{' */ ? null : readEntity();
58
+ if (data.charCodeAt(cursor) === 123 /* '{' */) {
59
+ cursor++; // Skip '{'
60
+ const next = new Map();
61
+ let childKey = -1;
62
+ while (data.charCodeAt(cursor) !== 125 /* '}' */) {
63
+ childKey += readGap() + 1;
64
+ next.set(childKey, readEntity());
65
+ }
66
+ const branch = { value: entityValue, next };
67
+ trie.set(lastKey, branch);
68
+ cursor++; // Skip '}'
69
+ // ASCII fast path holds the branch node itself (children + value).
70
+ if (lastKey < 0x80) {
71
+ asciiEntities[lastKey] = branch;
72
+ }
73
+ }
74
+ else if (lastKey < 0x80) {
75
+ asciiEntities[lastKey] = entityValue;
76
+ }
77
+ else if (lastKey > 0xff_ff) {
78
+ astralEntries.push([lastKey, entityValue]);
79
+ }
80
+ else {
81
+ trie.set(lastKey, entityValue);
82
+ }
83
+ }
84
+ /*
85
+ * Batch-insert astral entries as surrogate-pair trie nodes.
86
+ * Entries are sorted by code point, so same-high-surrogate groups
87
+ * are contiguous — no intermediate grouping Map needed.
88
+ */
89
+ let astralIndex = 0;
90
+ while (astralIndex < astralEntries.length) {
91
+ const hi = 0xd8_00 | ((astralEntries[astralIndex][0] - 0x1_00_00) >> 10);
92
+ const children = [];
93
+ while (astralIndex < astralEntries.length &&
94
+ (0xd8_00 | ((astralEntries[astralIndex][0] - 0x1_00_00) >> 10)) ===
95
+ hi) {
96
+ const lo = 0xdc_00 |
97
+ ((astralEntries[astralIndex][0] - 0x1_00_00) & 0x3_ff);
98
+ children.push([lo, astralEntries[astralIndex][1]]);
99
+ astralIndex++;
100
+ }
101
+ trie.set(hi, { value: null, next: new Map(children) });
102
+ }
103
+ return trie;
104
+ })();
105
+ /**
106
+ * Bitset covering ASCII code points 0–127. Each of the four 32-bit words
107
+ * covers a 32-code-point range. A set bit means "this character needs
108
+ * encoding" when used with `encodeHTML`.
109
+ */
110
+ const HTML_BITSET = /* #__PURE__ */ new Uint32Array([
111
+ 0x16_00, // 09 (\t), 0A (\n), 0C (\f)
112
+ 0xfc_00_ff_fe, // 21-2D (!-.), 2E (.), 2F (/), 3A-3F (:;<=>?)
113
+ 0xf8_00_00_01, // 40 (@), 5B-5F ([\]^_)
114
+ 0x38_00_00_01, // 60 (`), 7B-7D ({|})
115
+ ]);
116
+ const XML_BITSET = /* #__PURE__ */ new Uint32Array([0, XML_BITSET_VALUE, 0, 0]);
117
+ /*
118
+ * Regex equivalent of `HTML_BITSET` (plus all non-ASCII code units, lone
119
+ * surrogates included — no `u` flag). Must stay in sync with the bitset:
120
+ * the scan uses the regex to find candidates and the bitset to re-check
121
+ * adjacent characters. The XML equivalent is `xmlEncodeRegex`, shared with
122
+ * `escape.ts`.
123
+ */
124
+ // eslint-disable-next-line unicorn/prefer-unicode-code-point-escapes -- the `\u{...}` form requires the `u` flag, which we deliberately omit so lone surrogates match by code unit
125
+ const HTML_ENCODE_RE = /[\t\n\f!-/:-@[-`{-}\u0080-\uFFFF]/g;
126
+ const numericReference = (cp) => `&#x${cp.toString(16)};`;
127
+ /**
128
+ * Encodes all characters in the input using HTML entities. This includes
129
+ * characters that are valid ASCII characters in HTML documents, such as `#`.
130
+ *
131
+ * To get a more compact output, consider using the `encodeNonAsciiHTML`
132
+ * function, which will only encode characters that are not valid in HTML
133
+ * documents, as well as non-ASCII characters.
134
+ *
135
+ * If a character has no equivalent entity, a numeric hexadecimal reference
136
+ * (eg. `&#xfc;`) will be used.
137
+ * @param input Input string to encode.
138
+ */
139
+ export function encodeHTML(input) {
140
+ return encodeHTMLTrieRe(HTML_BITSET, HTML_ENCODE_RE, input);
141
+ }
142
+ /**
143
+ * Encodes all non-ASCII characters, as well as characters not valid in HTML
144
+ * documents using HTML entities. This function will not encode characters that
145
+ * are valid in HTML documents, such as `#`.
146
+ *
147
+ * If a character has no equivalent entity, a numeric hexadecimal reference
148
+ * (eg. `&#xfc;`) will be used.
149
+ * @param input Input string to encode.
150
+ */
151
+ export function encodeNonAsciiHTML(input) {
152
+ return encodeHTMLTrieRe(XML_BITSET, xmlEncodeRegex, input);
153
+ }
154
+ /**
155
+ * Whether `code` (a UTF-16 code unit) must be encoded: any non-ASCII unit, or
156
+ * an ASCII unit flagged in `bitset`.
157
+ * @param bitset Bitset of ASCII characters to encode.
158
+ * @param code Code unit to test.
159
+ */
160
+ function isEncodable(bitset, code) {
161
+ return code >= 0x80 || ((bitset[code >>> 5] >>> code) & 1) === 1;
162
+ }
163
+ /*
164
+ * The inline scan beats the regex jump only for short gaps (measured
165
+ * break-even is ~7 characters; below it the per-call regex overhead
166
+ * dominates, above it the regex skips clean spans faster in native code).
167
+ * So we scan at most `INLINE_SCAN_WINDOW` characters inline before deferring
168
+ * to the regex. Any gap long enough to exhaust the window switches to
169
+ * long-gap mode, which skips the inline scan entirely; we stay in that mode
170
+ * while total gaps are at least `LONG_GAP_THRESHOLD` characters long and
171
+ * drop back to the inline scan as soon as a shorter gap appears. Gaps are
172
+ * always measured from where they start, so every window-exhausting gap
173
+ * enters long-gap mode and no gap length pays both scans repeatedly.
174
+ */
175
+ /** @internal Exported for tests; not re-exported from the package entry. */
176
+ export const INLINE_SCAN_WINDOW = 16;
177
+ const LONG_GAP_THRESHOLD = 8;
178
+ function encodeHTMLTrieRe(bitset, re, input) {
179
+ const { length } = input;
180
+ let out;
181
+ let last = 0; // Start of the next untouched slice.
182
+ let index = 0;
183
+ let wasLongGap = false; // The previous gap was long; skip the inline scan.
184
+ while (index < length) {
185
+ let char = input.charCodeAt(index);
186
+ /*
187
+ * Find the next encodable character (one matching `bitset`, or any
188
+ * non-ASCII unit). Gaps between entities in dense text are only a
189
+ * few characters, so scan a short window inline first; the regex —
190
+ * which matches exactly the same characters and skips clean spans
191
+ * in native code — runs for longer gaps. Gap lengths cluster, so
192
+ * after a window-exhausting gap the window is skipped until a gap
193
+ * shorter than LONG_GAP_THRESHOLD reappears. Once located, the
194
+ * character is captured in `char` and control falls through to the
195
+ * encode logic below instead of re-testing it on the next loop
196
+ * iteration.
197
+ */
198
+ if (!isEncodable(bitset, char)) {
199
+ const gapStart = index;
200
+ let next = index + 1;
201
+ let wasFound = false;
202
+ if (!wasLongGap) {
203
+ const bound = Math.min(index + INLINE_SCAN_WINDOW, length);
204
+ while (next < bound &&
205
+ !isEncodable(bitset, (char = input.charCodeAt(next)))) {
206
+ next++;
207
+ }
208
+ if (next < bound) {
209
+ // `char` already holds the encodable unit at `next`.
210
+ index = next;
211
+ wasFound = true;
212
+ }
213
+ else if (next >= length) {
214
+ break;
215
+ }
216
+ }
217
+ if (!wasFound) {
218
+ /*
219
+ * Every match is a single code unit, so `test` pins it at
220
+ * `lastIndex - 1` without allocating a match object.
221
+ */
222
+ re.lastIndex = next;
223
+ if (!re.test(input))
224
+ break;
225
+ index = re.lastIndex - 1;
226
+ /*
227
+ * Reaching the regex from the inline scan means the gap
228
+ * exhausted the window, so it is long by definition; once
229
+ * in long-gap mode, stay until a gap shorter than the
230
+ * threshold appears.
231
+ */
232
+ wasLongGap =
233
+ !wasLongGap || index - gapStart >= LONG_GAP_THRESHOLD;
234
+ char = input.charCodeAt(index);
235
+ }
236
+ }
237
+ // Lazy-init: copy the prefix before the first character that needs encoding.
238
+ if (out == null)
239
+ out = input.substring(0, index);
240
+ else if (last !== index)
241
+ out += input.substring(last, index);
242
+ if (char < 0x80) {
243
+ const node = asciiEntities[char];
244
+ if (typeof node === "object" && node !== null) {
245
+ // Multi-code-point entity first (e.g. < + U+20D2 → &nvlt;).
246
+ if (index + 1 < length) {
247
+ const value = node.next.get(input.charCodeAt(index + 1));
248
+ if (value != null) {
249
+ out += value;
250
+ last = index += 2;
251
+ continue;
252
+ }
253
+ }
254
+ out += node.value ?? numericReference(char);
255
+ }
256
+ else {
257
+ out += node ?? numericReference(char);
258
+ }
259
+ }
260
+ else {
261
+ // Non-ASCII: full trie lookup with multi-char entity support.
262
+ let node = htmlTrie.get(char);
263
+ if (typeof node === "object") {
264
+ if (index + 1 < length) {
265
+ const value = node.next.get(input.charCodeAt(index + 1));
266
+ if (value != null) {
267
+ out += value;
268
+ last = index += 2;
269
+ continue;
270
+ }
271
+ }
272
+ node = node.value;
273
+ }
274
+ if (node == null) {
275
+ // No named entity exists; emit a hexadecimal numeric reference.
276
+ const cp = input.codePointAt(index);
277
+ out += numericReference(cp);
278
+ // Astral code points consume two UTF-16 code units.
279
+ if (cp !== char)
280
+ index++;
281
+ }
282
+ else {
283
+ out += node;
284
+ }
285
+ }
286
+ last = index += 1;
287
+ }
288
+ // If nothing needed encoding, return the original string (avoids allocation).
289
+ if (out == null)
290
+ return input;
291
+ if (last < length)
292
+ out += input.substr(last);
293
+ return out;
294
+ }
295
+ //# sourceMappingURL=encode.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"encode.js","sourceRoot":"","sources":["../src/encode.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAC/D,OAAO,YAAY,MAAM,4BAA4B,CAAC;AAiBtD;;;;;;;;;;;GAWG;AACH,MAAM,aAAa,GAA8B,eAAe,CAAC,KAAK,CAAC,IAAI,CACvE,EAAE,MAAM,EAAE,GAAG,EAAE,EACf,GAAG,EAAE,CAAC,IAAI,CACb,CAAC;AAEF,MAAM,QAAQ,GAAgC,CAAC,GAAG,EAAE;IAChD;;;;;;;;;;;;;;;;OAgBG;IACH,MAAM,IAAI,GAAG,IAAI,GAAG,EAA0B,CAAC;IAC/C,MAAM,IAAI,GAAG,YAAY,CAAC;IAC1B,IAAI,MAAM,GAAG,CAAC,CAAC;IACf,IAAI,OAAO,GAAG,CAAC,CAAC,CAAC;IAEjB,SAAS,OAAO;QACZ,IAAI,KAAK,GAAG,CAAC,CAAC;QACd,IAAI,EAAU,CAAC;QACf,OACI,CAAC,EAAE,GAAG,IAAI,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC,IAAI,EAAE,CAAC,SAAS;YAC9C,EAAE,IAAI,EAAE,CAAC,SAAS,EACpB,CAAC;YACC,KAAK,GAAG,KAAK,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,CAAC;YAC7B,MAAM,EAAE,CAAC;QACb,CAAC;QACD,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,SAAS,UAAU;QACf,MAAM,IAAI,GAAG,IAAI,CAAC,OAAO,CAAC,GAAG,EAAE,MAAM,CAAC,CAAC;QACvC,MAAM,MAAM,GAAG,IAAI,IAAI,CAAC,SAAS,CA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ACrB,MAAM,KAAK,GAAG,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,KAAK,CAAC,UAAU,CAAC,KAAK,GAAG,CAAC,CAAC,CAAC,CAAC;oBACzD,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;wBAChB,GAAG,IAAI,KAAK,CAAC;wBACb,IAAI,GAAG,KAAK,IAAI,CAAC,CAAC;wBAClB,SAAS;oBACb,CAAC;gBACL,CAAC;gBACD,IAAI,GAAG,IAAI,CAAC,KAAK,CAAC;YACtB,CAAC;YAED,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;gBACf,gEAAgE;gBAChE,MAAM,EAAE,GAAG,KAAK,CAAC,WAAW,CAAC,KAAK,CAAE,CAAC;gBACrC,GAAG,IAAI,gBAAgB,CAAC,EAAE,CAAC,CAAC;gBAC5B,oDAAoD;gBACpD,IAAI,EAAE,KAAK,IAAI;oBAAE,KAAK,EAAE,CAAC;YAC7B,CAAC;iBAAM,CAAC;gBACJ,GAAG,IAAI,IAAI,CAAC;YAChB,CAAC;QACL,CAAC;QACD,IAAI,GAAG,KAAK,IAAI,CAAC,CAAC;IACtB,CAAC;IAED,8EAA8E;IAC9E,IAAI,GAAG,IAAI,IAAI;QAAE,OAAO,KAAK,CAAC;IAC9B,IAAI,IAAI,GAAG,MAAM;QAAE,GAAG,IAAI,KAAK,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;IAC7C,OAAO,GAAG,CAAC;AACf,CAAC"}
@@ -1,14 +1,32 @@
1
- export declare const getCodePoint: (c: string, index: number) => number;
1
+ /**
2
+ * Read a code point at a given index.
3
+ * @param input String to read the code point from.
4
+ * @param index Current read position in the input string.
5
+ * @returns The code point at `index`, or `undefined` if `index` is out of range.
6
+ * @deprecated Use `String.prototype.codePointAt` directly instead; this export
7
+ * will be removed in the next major.
8
+ */
9
+ export declare const getCodePoint: (input: string, index: number) => number;
2
10
  /**
3
11
  * Bitset for ASCII characters that need to be escaped in XML.
4
12
  */
5
13
  export declare const XML_BITSET_VALUE = 1342177476;
14
+ /**
15
+ * Matches exactly the characters `encodeXML` escapes: the five XML special
16
+ * characters plus every non-ASCII code unit (lone surrogates included — no
17
+ * `u` flag). Kept in sync with `XML_BITSET_VALUE`.
18
+ *
19
+ * Shared with `encodeNonAsciiHTML` in `encode.ts`. Because the regex is
20
+ * stateful (`g` flag), every call site must set `lastIndex` before use.
21
+ */
22
+ export declare const xmlEncodeRegex: RegExp;
6
23
  /**
7
24
  * Encodes all non-ASCII characters, as well as characters not valid in XML
8
- * documents using XML entities. Uses a fast bitset scan instead of RegExp.
25
+ * documents using XML entities.
9
26
  *
10
27
  * If a character has no equivalent entity, a numeric hexadecimal reference
11
28
  * (eg. `&#xfc;`) will be used.
29
+ * @param input Input string to encode.
12
30
  */
13
31
  export declare function encodeXML(input: string): string;
14
32
  /**
@@ -17,7 +35,6 @@ export declare function encodeXML(input: string): string;
17
35
  *
18
36
  * Have a look at `escapeUTF8` if you want a more concise output at the expense
19
37
  * of reduced transportability.
20
- *
21
38
  * @param data String to escape.
22
39
  */
23
40
  export declare const escape: typeof encodeXML;
@@ -25,22 +42,19 @@ export declare const escape: typeof encodeXML;
25
42
  * Encodes all characters not valid in XML documents using XML entities.
26
43
  *
27
44
  * Note that the output will be character-set dependent.
28
- *
29
45
  * @param data String to escape.
30
46
  */
31
- export declare const escapeUTF8: (data: string) => string;
47
+ export declare function escapeUTF8(data: string): string;
32
48
  /**
33
49
  * Encodes all characters that have to be escaped in HTML attributes,
34
50
  * following {@link https://html.spec.whatwg.org/multipage/parsing.html#escapingString}.
35
- *
36
51
  * @param data String to escape.
37
52
  */
38
- export declare const escapeAttribute: (data: string) => string;
53
+ export declare function escapeAttribute(data: string): string;
39
54
  /**
40
55
  * Encodes all characters that have to be escaped in HTML text,
41
56
  * following {@link https://html.spec.whatwg.org/multipage/parsing.html#escapingString}.
42
- *
43
57
  * @param data String to escape.
44
58
  */
45
- export declare const escapeText: (data: string) => string;
59
+ export declare function escapeText(data: string): string;
46
60
  //# sourceMappingURL=escape.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"escape.d.ts","sourceRoot":"","sources":["../src/escape.ts"],"names":[],"mappings":"AAkBA;;;;;;;GAOG;AACH,eAAO,MAAM,YAAY,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,KAAK,MAGvB,CAAC;AAEvC;;GAEG;AACH,eAAO,MAAM,gBAAgB,aAAgB,CAAC;AAE9C;;;;;;;GAOG;AAEH,eAAO,MAAM,cAAc,EAAE,MAAgC,CAAC;AAe9D;;;;;;;GAOG;AACH,wBAAgB,SAAS,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAmD/C;AAED;;;;;;;GAOG;AACH,eAAO,MAAM,MAAM,EAAE,OAAO,SAAqB,CAAC;AA2BlD;;;;;GAKG;AACH,wBAAgB,UAAU,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAE/C;AAID;;;;GAIG;AACH,wBAAgB,eAAe,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAEpD;AAID;;;;GAIG;AACH,wBAAgB,UAAU,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAE/C"}
@@ -0,0 +1,172 @@
1
+ /**
2
+ * Get the named reference for an XML special character or U+00A0.
3
+ * @param char Code unit matched by one of the escape regexes.
4
+ */
5
+ function getEscape(char) {
6
+ return char === 34
7
+ ? "&quot;"
8
+ : char === 38
9
+ ? "&amp;"
10
+ : char === 39
11
+ ? "&apos;"
12
+ : char === 60
13
+ ? "&lt;"
14
+ : char === 62
15
+ ? "&gt;"
16
+ : "&nbsp;";
17
+ }
18
+ /**
19
+ * Read a code point at a given index.
20
+ * @param input String to read the code point from.
21
+ * @param index Current read position in the input string.
22
+ * @returns The code point at `index`, or `undefined` if `index` is out of range.
23
+ * @deprecated Use `String.prototype.codePointAt` directly instead; this export
24
+ * will be removed in the next major.
25
+ */
26
+ export const getCodePoint = (input, index) => input.codePointAt(index);
27
+ /**
28
+ * Bitset for ASCII characters that need to be escaped in XML.
29
+ */
30
+ export const XML_BITSET_VALUE = 0x50_00_00_c4; // 32..63 -> 34 ("),38 (&),39 ('),60 (<),62 (>)
31
+ /**
32
+ * Matches exactly the characters `encodeXML` escapes: the five XML special
33
+ * characters plus every non-ASCII code unit (lone surrogates included — no
34
+ * `u` flag). Kept in sync with `XML_BITSET_VALUE`.
35
+ *
36
+ * Shared with `encodeNonAsciiHTML` in `encode.ts`. Because the regex is
37
+ * stateful (`g` flag), every call site must set `lastIndex` before use.
38
+ */
39
+ // eslint-disable-next-line unicorn/prefer-unicode-code-point-escapes -- the `\u{...}` form requires the `u` flag, which we deliberately omit so lone surrogates match by code unit
40
+ export const xmlEncodeRegex = /["&'<>\u0080-\uFFFF]/g;
41
+ /**
42
+ * Whether `code` (a UTF-16 code unit) is escaped by {@link encodeXML}: a
43
+ * non-ASCII unit, or one of the five XML specials flagged in
44
+ * `XML_BITSET_VALUE` (which is only meaningful for code units 32-63).
45
+ * @param code Code unit to test.
46
+ */
47
+ function isXmlEscapable(code) {
48
+ return (code >= 0x80 ||
49
+ (code >= 32 && code < 64 && ((XML_BITSET_VALUE >>> code) & 1) === 1));
50
+ }
51
+ /**
52
+ * Encodes all non-ASCII characters, as well as characters not valid in XML
53
+ * documents using XML entities.
54
+ *
55
+ * If a character has no equivalent entity, a numeric hexadecimal reference
56
+ * (eg. `&#xfc;`) will be used.
57
+ * @param input Input string to encode.
58
+ */
59
+ export function encodeXML(input) {
60
+ const { length } = input;
61
+ let out;
62
+ let last = 0;
63
+ let index = 0;
64
+ while (index < length) {
65
+ const char = input.charCodeAt(index);
66
+ /*
67
+ * Find the next character to escape: scan a short window inline
68
+ * (escapable characters cluster in markup-heavy input), then fall
69
+ * back to the regex, which skips clean spans in native code.
70
+ */
71
+ if (!isXmlEscapable(char)) {
72
+ const bound = Math.min(index + 32, length);
73
+ let next = index + 1;
74
+ while (next < bound && !isXmlEscapable(input.charCodeAt(next))) {
75
+ next++;
76
+ }
77
+ if (next < bound) {
78
+ index = next;
79
+ continue;
80
+ }
81
+ if (next >= length)
82
+ break;
83
+ xmlEncodeRegex.lastIndex = next;
84
+ if (!xmlEncodeRegex.test(input))
85
+ break;
86
+ index = xmlEncodeRegex.lastIndex - 1;
87
+ continue;
88
+ }
89
+ if (out === undefined)
90
+ out = input.substring(0, index);
91
+ else if (last !== index)
92
+ out += input.substring(last, index);
93
+ if (char < 64) {
94
+ // Known replacement
95
+ out += getEscape(char);
96
+ last = index += 1;
97
+ continue;
98
+ }
99
+ // Non-ASCII: encode as numeric entity (handle surrogate pair)
100
+ const cp = input.codePointAt(index);
101
+ out += `&#x${cp.toString(16)};`;
102
+ if (cp !== char)
103
+ index++; // Skip trailing surrogate
104
+ last = index += 1;
105
+ }
106
+ if (out === undefined)
107
+ return input;
108
+ if (last < length)
109
+ out += input.substr(last);
110
+ return out;
111
+ }
112
+ /**
113
+ * Encodes all non-ASCII characters, as well as characters not valid in XML
114
+ * documents using numeric hexadecimal reference (eg. `&#xfc;`).
115
+ *
116
+ * Have a look at `escapeUTF8` if you want a more concise output at the expense
117
+ * of reduced transportability.
118
+ * @param data String to escape.
119
+ */
120
+ export const escape = encodeXML;
121
+ /**
122
+ * Escape `data` using `re`, mapping each matched character to its entity.
123
+ * Every match is one UTF-16 code unit, so its index is `lastIndex - 1`.
124
+ * @param re Global regex matching exactly the characters to escape
125
+ * (`"`, `&`, `'`, `<`, `>`, `\u00A0` at most).
126
+ * @param data String to escape.
127
+ */
128
+ function escapeWithRegex(re, data) {
129
+ re.lastIndex = 0;
130
+ if (!re.test(data))
131
+ return data;
132
+ let out = "";
133
+ let last = 0;
134
+ do {
135
+ const index = re.lastIndex - 1;
136
+ if (last !== index)
137
+ out += data.substring(last, index);
138
+ const char = data.charCodeAt(index);
139
+ out += getEscape(char);
140
+ last = index + 1;
141
+ } while (re.test(data));
142
+ return out + data.substring(last);
143
+ }
144
+ const xmlEscapeRegex = /["&'<>]/g;
145
+ /**
146
+ * Encodes all characters not valid in XML documents using XML entities.
147
+ *
148
+ * Note that the output will be character-set dependent.
149
+ * @param data String to escape.
150
+ */
151
+ export function escapeUTF8(data) {
152
+ return escapeWithRegex(xmlEscapeRegex, data);
153
+ }
154
+ const attributeEscapeRegex = /["&\u{A0}]/gu;
155
+ /**
156
+ * Encodes all characters that have to be escaped in HTML attributes,
157
+ * following {@link https://html.spec.whatwg.org/multipage/parsing.html#escapingString}.
158
+ * @param data String to escape.
159
+ */
160
+ export function escapeAttribute(data) {
161
+ return escapeWithRegex(attributeEscapeRegex, data);
162
+ }
163
+ const textEscapeRegex = /[&<>\u{A0}]/gu;
164
+ /**
165
+ * Encodes all characters that have to be escaped in HTML text,
166
+ * following {@link https://html.spec.whatwg.org/multipage/parsing.html#escapingString}.
167
+ * @param data String to escape.
168
+ */
169
+ export function escapeText(data) {
170
+ return escapeWithRegex(textEscapeRegex, data);
171
+ }
172
+ //# sourceMappingURL=escape.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"escape.js","sourceRoot":"","sources":["../src/escape.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,SAAS,SAAS,CAAC,IAAY;IAC3B,OAAO,IAAI,KAAK,EAAE;QACd,CAAC,CAAC,QAAQ;QACV,CAAC,CAAC,IAAI,KAAK,EAAE;YACX,CAAC,CAAC,OAAO;YACT,CAAC,CAAC,IAAI,KAAK,EAAE;gBACX,CAAC,CAAC,QAAQ;gBACV,CAAC,CAAC,IAAI,KAAK,EAAE;oBACX,CAAC,CAAC,MAAM;oBACR,CAAC,CAAC,IAAI,KAAK,EAAE;wBACX,CAAC,CAAC,MAAM;wBACR,CAAC,CAAC,QAAQ,CAAC;AAC3B,CAAC;AAED;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,YAAY,GAA6C,CAClE,KAAa,EACb,KAAa,EACP,EAAE,CAAC,KAAK,CAAC,WAAW,CAAC,KAAK,CAAE,CAAC;AAEvC;;GAEG;AACH,MAAM,CAAC,MAAM,gBAAg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AI,IAAI,GAAG,CAAC,CAAC;IACb,GAAG,CAAC;QACA,MAAM,KAAK,GAAG,EAAE,CAAC,SAAS,GAAG,CAAC,CAAC;QAC/B,IAAI,IAAI,KAAK,KAAK;YAAE,GAAG,IAAI,IAAI,CAAC,SAAS,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;QACvD,MAAM,IAAI,GAAG,IAAI,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC;QACpC,GAAG,IAAI,SAAS,CAAC,IAAI,CAAC,CAAC;QACvB,IAAI,GAAG,KAAK,GAAG,CAAC,CAAC;IACrB,CAAC,QAAQ,EAAE,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE;IAExB,OAAO,GAAG,GAAG,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC;AACtC,CAAC;AAED,MAAM,cAAc,GAAG,UAAU,CAAC;AAClC;;;;;GAKG;AACH,MAAM,UAAU,UAAU,CAAC,IAAY;IACnC,OAAO,eAAe,CAAC,cAAc,EAAE,IAAI,CAAC,CAAC;AACjD,CAAC;AAED,MAAM,oBAAoB,GAAG,cAAc,CAAC;AAE5C;;;;GAIG;AACH,MAAM,UAAU,eAAe,CAAC,IAAY;IACxC,OAAO,eAAe,CAAC,oBAAoB,EAAE,IAAI,CAAC,CAAC;AACvD,CAAC;AAED,MAAM,eAAe,GAAG,eAAe,CAAC;AAExC;;;;GAIG;AACH,MAAM,UAAU,UAAU,CAAC,IAAY;IACnC,OAAO,eAAe,CAAC,eAAe,EAAE,IAAI,CAAC,CAAC;AAClD,CAAC"}
@@ -0,0 +1,3 @@
1
+ /** Packed HTML decode trie data. */
2
+ export declare const htmlDecodeTree: Uint16Array;
3
+ //# sourceMappingURL=decode-data-html.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"decode-data-html.d.ts","sourceRoot":"","sources":["../../src/generated/decode-data-html.ts"],"names":[],"mappings":"AAGA,oCAAoC;AACpC,eAAO,MAAM,cAAc,EAAE,WAO5B,CAAC"}