@zowe/cli 8.36.1 → 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.
- package/lib/zosfiles/-strings-/en.d.ts +2 -0
- package/lib/zosfiles/-strings-/en.d.ts.map +1 -1
- package/lib/zosfiles/-strings-/en.js +5 -1
- package/lib/zosfiles/-strings-/en.js.map +1 -1
- package/lib/zosfiles/ZosFiles.options.d.ts.map +1 -1
- package/lib/zosfiles/ZosFiles.options.js +3 -1
- package/lib/zosfiles/ZosFiles.options.js.map +1 -1
- package/lib/zosfiles/create/Create.utils.d.ts.map +1 -1
- package/lib/zosfiles/create/Create.utils.js +3 -1
- package/lib/zosfiles/create/Create.utils.js.map +1 -1
- package/lib/zosfiles/create/ussDir/ussDir.handler.d.ts.map +1 -1
- package/lib/zosfiles/create/ussDir/ussDir.handler.js +5 -1
- package/lib/zosfiles/create/ussDir/ussDir.handler.js.map +1 -1
- package/lib/zosfiles/create/ussFile/ussFile.handler.d.ts.map +1 -1
- package/lib/zosfiles/create/ussFile/ussFile.handler.js +5 -1
- package/lib/zosfiles/create/ussFile/ussFile.handler.js.map +1 -1
- package/lib/zosfiles/create/vsam/vsam.handler.d.ts.map +1 -1
- package/lib/zosfiles/create/vsam/vsam.handler.js +3 -1
- package/lib/zosfiles/create/vsam/vsam.handler.js.map +1 -1
- package/lib/zosfiles/create/zfs/zfs.handler.d.ts.map +1 -1
- package/lib/zosfiles/create/zfs/zfs.handler.js +3 -1
- package/lib/zosfiles/create/zfs/zfs.handler.js.map +1 -1
- package/lib/zosfiles/delete/ds/Ds.handler.d.ts.map +1 -1
- package/lib/zosfiles/delete/ds/Ds.handler.js +4 -1
- package/lib/zosfiles/delete/ds/Ds.handler.js.map +1 -1
- package/lib/zosfiles/delete/uss/Uss.handler.d.ts.map +1 -1
- package/lib/zosfiles/delete/uss/Uss.handler.js +5 -1
- package/lib/zosfiles/delete/uss/Uss.handler.js.map +1 -1
- package/lib/zosfiles/delete/vsam/Vsam.handler.d.ts.map +1 -1
- package/lib/zosfiles/delete/vsam/Vsam.handler.js +3 -1
- package/lib/zosfiles/delete/vsam/Vsam.handler.js.map +1 -1
- package/lib/zosfiles/delete/zfs/zfs.handler.d.ts.map +1 -1
- package/lib/zosfiles/delete/zfs/zfs.handler.js +3 -1
- package/lib/zosfiles/delete/zfs/zfs.handler.js.map +1 -1
- package/lib/zosfiles/download/am/AllMembers.handler.d.ts.map +1 -1
- package/lib/zosfiles/download/am/AllMembers.handler.js +3 -1
- package/lib/zosfiles/download/am/AllMembers.handler.js.map +1 -1
- package/lib/zosfiles/download/amm/AllMembersMatching.handler.d.ts.map +1 -1
- package/lib/zosfiles/download/amm/AllMembersMatching.handler.js +2 -0
- package/lib/zosfiles/download/amm/AllMembersMatching.handler.js.map +1 -1
- package/lib/zosfiles/download/ds/Dataset.handler.d.ts.map +1 -1
- package/lib/zosfiles/download/ds/Dataset.handler.js +3 -1
- package/lib/zosfiles/download/ds/Dataset.handler.js.map +1 -1
- package/lib/zosfiles/download/dsm/DataSetMatching.handler.d.ts.map +1 -1
- package/lib/zosfiles/download/dsm/DataSetMatching.handler.js +6 -2
- package/lib/zosfiles/download/dsm/DataSetMatching.handler.js.map +1 -1
- package/lib/zosfiles/download/uss/UssFile.handler.d.ts.map +1 -1
- package/lib/zosfiles/download/uss/UssFile.handler.js +2 -0
- package/lib/zosfiles/download/uss/UssFile.handler.js.map +1 -1
- package/lib/zosfiles/download/ussdir/UssDir.handler.d.ts.map +1 -1
- package/lib/zosfiles/download/ussdir/UssDir.handler.js +6 -2
- package/lib/zosfiles/download/ussdir/UssDir.handler.js.map +1 -1
- package/lib/zosfiles/edit/Edit.utils.d.ts +2 -2
- package/lib/zosfiles/edit/Edit.utils.d.ts.map +1 -1
- package/lib/zosfiles/edit/Edit.utils.js +10 -10
- package/lib/zosfiles/edit/Edit.utils.js.map +1 -1
- package/lib/zosfiles/invoke/amsFile/AmsFile.handler.d.ts.map +1 -1
- package/lib/zosfiles/invoke/amsFile/AmsFile.handler.js +5 -1
- package/lib/zosfiles/invoke/amsFile/AmsFile.handler.js.map +1 -1
- package/lib/zosfiles/invoke/amsStatements/AmsStatements.handler.d.ts.map +1 -1
- package/lib/zosfiles/invoke/amsStatements/AmsStatements.handler.js +5 -1
- package/lib/zosfiles/invoke/amsStatements/AmsStatements.handler.js.map +1 -1
- package/lib/zosfiles/list/alias/Alias.handler.d.ts.map +1 -1
- package/lib/zosfiles/list/alias/Alias.handler.js +3 -1
- package/lib/zosfiles/list/alias/Alias.handler.js.map +1 -1
- package/lib/zosfiles/list/am/AllMembers.handler.d.ts.map +1 -1
- package/lib/zosfiles/list/am/AllMembers.handler.js +3 -1
- package/lib/zosfiles/list/am/AllMembers.handler.js.map +1 -1
- package/lib/zosfiles/list/ds/DataSet.handler.d.ts.map +1 -1
- package/lib/zosfiles/list/ds/DataSet.handler.js +3 -1
- package/lib/zosfiles/list/ds/DataSet.handler.js.map +1 -1
- package/lib/zosfiles/list/fs/Fs.handler.d.ts.map +1 -1
- package/lib/zosfiles/list/fs/Fs.handler.js +6 -2
- package/lib/zosfiles/list/fs/Fs.handler.js.map +1 -1
- package/lib/zosfiles/list/uss/UssFile.handler.d.ts.map +1 -1
- package/lib/zosfiles/list/uss/UssFile.handler.js +3 -1
- package/lib/zosfiles/list/uss/UssFile.handler.js.map +1 -1
- package/lib/zosfiles/mount/fs/fs.handler.d.ts.map +1 -1
- package/lib/zosfiles/mount/fs/fs.handler.js +3 -1
- package/lib/zosfiles/mount/fs/fs.handler.js.map +1 -1
- package/lib/zosfiles/rename/ds/Ds.handler.d.ts.map +1 -1
- package/lib/zosfiles/rename/ds/Ds.handler.js +4 -1
- package/lib/zosfiles/rename/ds/Ds.handler.js.map +1 -1
- package/lib/zosfiles/rename/dsm/Dsm.handler.d.ts.map +1 -1
- package/lib/zosfiles/rename/dsm/Dsm.handler.js +4 -1
- package/lib/zosfiles/rename/dsm/Dsm.handler.js.map +1 -1
- package/lib/zosfiles/search/ds/DataSets.handler.d.ts.map +1 -1
- package/lib/zosfiles/search/ds/DataSets.handler.js +10 -2
- package/lib/zosfiles/search/ds/DataSets.handler.js.map +1 -1
- package/lib/zosfiles/upload/dtp/DirToPds.handler.d.ts.map +1 -1
- package/lib/zosfiles/upload/dtp/DirToPds.handler.js +3 -1
- package/lib/zosfiles/upload/dtp/DirToPds.handler.js.map +1 -1
- package/lib/zosfiles/upload/dtu/DirToUSSDir.handler.d.ts.map +1 -1
- package/lib/zosfiles/upload/dtu/DirToUSSDir.handler.js +3 -1
- package/lib/zosfiles/upload/dtu/DirToUSSDir.handler.js.map +1 -1
- package/lib/zosfiles/upload/ftds/FileToDataSet.handler.d.ts.map +1 -1
- package/lib/zosfiles/upload/ftds/FileToDataSet.handler.js +3 -1
- package/lib/zosfiles/upload/ftds/FileToDataSet.handler.js.map +1 -1
- package/lib/zosfiles/upload/ftu/FileToUSS.handler.d.ts.map +1 -1
- package/lib/zosfiles/upload/ftu/FileToUSS.handler.js +3 -1
- package/lib/zosfiles/upload/ftu/FileToUSS.handler.js.map +1 -1
- package/lib/zosfiles/upload/stds/StdinToDataSet.handler.d.ts.map +1 -1
- package/lib/zosfiles/upload/stds/StdinToDataSet.handler.js +3 -1
- package/lib/zosfiles/upload/stds/StdinToDataSet.handler.js.map +1 -1
- package/lib/zosfiles/view/ds/Dataset.handler.d.ts.map +1 -1
- package/lib/zosfiles/view/ds/Dataset.handler.js +3 -1
- package/lib/zosfiles/view/ds/Dataset.handler.js.map +1 -1
- package/lib/zosfiles/view/uss/USSFile.handler.d.ts.map +1 -1
- package/lib/zosfiles/view/uss/USSFile.handler.js +3 -1
- package/lib/zosfiles/view/uss/USSFile.handler.js.map +1 -1
- package/node_modules/@zowe/core-for-zowe-sdk/lib/rest/ZosmfHeaders.d.ts +14 -0
- package/node_modules/@zowe/core-for-zowe-sdk/lib/rest/ZosmfHeaders.d.ts.map +1 -1
- package/node_modules/@zowe/core-for-zowe-sdk/lib/rest/ZosmfHeaders.js +14 -0
- package/node_modules/@zowe/core-for-zowe-sdk/lib/rest/ZosmfHeaders.js.map +1 -1
- package/node_modules/@zowe/core-for-zowe-sdk/package.json +3 -3
- package/node_modules/@zowe/imperative/lib/config/src/ConfigSchema.d.ts.map +1 -1
- package/node_modules/@zowe/imperative/lib/config/src/ConfigSchema.js +1 -0
- package/node_modules/@zowe/imperative/lib/config/src/ConfigSchema.js.map +1 -1
- package/node_modules/@zowe/imperative/package.json +3 -3
- package/node_modules/@zowe/imperative/web-help/package-lock.json +62 -62
- package/node_modules/@zowe/provisioning-for-zowe-sdk/package.json +4 -4
- package/node_modules/@zowe/secrets-for-zowe-sdk/README.md +70 -0
- package/node_modules/@zowe/secrets-for-zowe-sdk/package.json +1 -1
- package/node_modules/@zowe/secrets-for-zowe-sdk/prebuilds/keyring.darwin-arm64.node +0 -0
- package/node_modules/@zowe/secrets-for-zowe-sdk/prebuilds/keyring.darwin-x64.node +0 -0
- package/node_modules/@zowe/secrets-for-zowe-sdk/prebuilds/keyring.linux-arm-gnueabihf.node +0 -0
- package/node_modules/@zowe/secrets-for-zowe-sdk/prebuilds/keyring.linux-arm64-gnu.node +0 -0
- package/node_modules/@zowe/secrets-for-zowe-sdk/prebuilds/keyring.linux-ia32-gnu.node +0 -0
- package/node_modules/@zowe/secrets-for-zowe-sdk/prebuilds/keyring.linux-x64-gnu.node +0 -0
- package/node_modules/@zowe/secrets-for-zowe-sdk/prebuilds/keyring.win32-arm64-msvc.node +0 -0
- package/node_modules/@zowe/secrets-for-zowe-sdk/prebuilds/keyring.win32-ia32-msvc.node +0 -0
- package/node_modules/@zowe/secrets-for-zowe-sdk/prebuilds/keyring.win32-x64-msvc.node +0 -0
- package/node_modules/@zowe/zos-console-for-zowe-sdk/package.json +4 -4
- package/node_modules/@zowe/zos-files-for-zowe-sdk/lib/doc/IZosFilesOptions.d.ts +12 -0
- package/node_modules/@zowe/zos-files-for-zowe-sdk/lib/doc/IZosFilesOptions.d.ts.map +1 -1
- package/node_modules/@zowe/zos-files-for-zowe-sdk/lib/methods/copy/Copy.js +1 -1
- package/node_modules/@zowe/zos-files-for-zowe-sdk/lib/methods/copy/Copy.js.map +1 -1
- package/node_modules/@zowe/zos-files-for-zowe-sdk/lib/methods/create/Create.d.ts.map +1 -1
- package/node_modules/@zowe/zos-files-for-zowe-sdk/lib/methods/create/Create.js +18 -3
- package/node_modules/@zowe/zos-files-for-zowe-sdk/lib/methods/create/Create.js.map +1 -1
- package/node_modules/@zowe/zos-files-for-zowe-sdk/lib/methods/delete/Delete.d.ts.map +1 -1
- package/node_modules/@zowe/zos-files-for-zowe-sdk/lib/methods/delete/Delete.js +7 -3
- package/node_modules/@zowe/zos-files-for-zowe-sdk/lib/methods/delete/Delete.js.map +1 -1
- package/node_modules/@zowe/zos-files-for-zowe-sdk/lib/methods/download/Download.js +1 -1
- package/node_modules/@zowe/zos-files-for-zowe-sdk/lib/methods/download/Download.js.map +1 -1
- package/node_modules/@zowe/zos-files-for-zowe-sdk/lib/methods/invoke/Invoke.d.ts.map +1 -1
- package/node_modules/@zowe/zos-files-for-zowe-sdk/lib/methods/invoke/Invoke.js +2 -1
- package/node_modules/@zowe/zos-files-for-zowe-sdk/lib/methods/invoke/Invoke.js.map +1 -1
- package/node_modules/@zowe/zos-files-for-zowe-sdk/lib/methods/list/List.d.ts.map +1 -1
- package/node_modules/@zowe/zos-files-for-zowe-sdk/lib/methods/list/List.js +6 -5
- package/node_modules/@zowe/zos-files-for-zowe-sdk/lib/methods/list/List.js.map +1 -1
- package/node_modules/@zowe/zos-files-for-zowe-sdk/lib/methods/mount/Mount.d.ts.map +1 -1
- package/node_modules/@zowe/zos-files-for-zowe-sdk/lib/methods/mount/Mount.js +6 -0
- package/node_modules/@zowe/zos-files-for-zowe-sdk/lib/methods/mount/Mount.js.map +1 -1
- package/node_modules/@zowe/zos-files-for-zowe-sdk/lib/methods/rename/Rename.d.ts.map +1 -1
- package/node_modules/@zowe/zos-files-for-zowe-sdk/lib/methods/rename/Rename.js +2 -1
- package/node_modules/@zowe/zos-files-for-zowe-sdk/lib/methods/rename/Rename.js.map +1 -1
- package/node_modules/@zowe/zos-files-for-zowe-sdk/lib/methods/unmount/Unmount.d.ts.map +1 -1
- package/node_modules/@zowe/zos-files-for-zowe-sdk/lib/methods/unmount/Unmount.js +3 -1
- package/node_modules/@zowe/zos-files-for-zowe-sdk/lib/methods/unmount/Unmount.js.map +1 -1
- package/node_modules/@zowe/zos-files-for-zowe-sdk/lib/methods/upload/Upload.d.ts.map +1 -1
- package/node_modules/@zowe/zos-files-for-zowe-sdk/lib/methods/upload/Upload.js +5 -5
- package/node_modules/@zowe/zos-files-for-zowe-sdk/lib/methods/upload/Upload.js.map +1 -1
- package/node_modules/@zowe/zos-files-for-zowe-sdk/lib/methods/utilities/Utilities.d.ts +4 -4
- package/node_modules/@zowe/zos-files-for-zowe-sdk/lib/methods/utilities/Utilities.d.ts.map +1 -1
- package/node_modules/@zowe/zos-files-for-zowe-sdk/lib/methods/utilities/Utilities.js +10 -33
- package/node_modules/@zowe/zos-files-for-zowe-sdk/lib/methods/utilities/Utilities.js.map +1 -1
- package/node_modules/@zowe/zos-files-for-zowe-sdk/lib/utils/ZosFilesUtils.d.ts +7 -0
- package/node_modules/@zowe/zos-files-for-zowe-sdk/lib/utils/ZosFilesUtils.d.ts.map +1 -1
- package/node_modules/@zowe/zos-files-for-zowe-sdk/lib/utils/ZosFilesUtils.js +16 -0
- package/node_modules/@zowe/zos-files-for-zowe-sdk/lib/utils/ZosFilesUtils.js.map +1 -1
- package/node_modules/@zowe/zos-files-for-zowe-sdk/package.json +5 -5
- package/node_modules/@zowe/zos-jobs-for-zowe-sdk/package.json +5 -5
- package/node_modules/@zowe/zos-logs-for-zowe-sdk/package.json +4 -4
- package/node_modules/@zowe/zos-tso-for-zowe-sdk/package.json +5 -5
- package/node_modules/@zowe/zos-uss-for-zowe-sdk/package.json +3 -3
- package/node_modules/@zowe/zos-workflows-for-zowe-sdk/package.json +5 -5
- package/node_modules/@zowe/zosmf-for-zowe-sdk/lib/constants/Zosmf.constants.d.ts.map +1 -1
- package/node_modules/@zowe/zosmf-for-zowe-sdk/lib/constants/Zosmf.constants.js +21 -0
- package/node_modules/@zowe/zosmf-for-zowe-sdk/lib/constants/Zosmf.constants.js.map +1 -1
- package/node_modules/@zowe/zosmf-for-zowe-sdk/lib/constants/Zosmf.profile.d.ts.map +1 -1
- package/node_modules/@zowe/zosmf-for-zowe-sdk/lib/constants/Zosmf.profile.js +8 -0
- package/node_modules/@zowe/zosmf-for-zowe-sdk/lib/constants/Zosmf.profile.js.map +1 -1
- package/node_modules/@zowe/zosmf-for-zowe-sdk/package.json +4 -4
- package/node_modules/js-yaml/dist/js-yaml.js +11 -3
- package/node_modules/js-yaml/dist/js-yaml.js.map +1 -1
- package/node_modules/js-yaml/dist/js-yaml.min.js +1 -1
- package/node_modules/js-yaml/dist/js-yaml.min.js.map +1 -1
- package/node_modules/js-yaml/dist/js-yaml.mjs +11 -3
- package/node_modules/js-yaml/dist/js-yaml.mjs.map +1 -1
- package/node_modules/js-yaml/lib/loader.js +16 -3
- package/node_modules/js-yaml/package.json +1 -1
- package/node_modules/sanitize-html/README.md +13 -0
- package/node_modules/sanitize-html/index.js +86 -12
- package/node_modules/sanitize-html/node_modules/dom-serializer/LICENSE +7 -0
- package/node_modules/{dom-serializer → sanitize-html/node_modules/dom-serializer}/README.md +14 -8
- package/node_modules/sanitize-html/node_modules/dom-serializer/dist/foreign-names.d.ts +11 -0
- package/node_modules/sanitize-html/node_modules/dom-serializer/dist/foreign-names.d.ts.map +1 -0
- package/node_modules/sanitize-html/node_modules/dom-serializer/dist/foreign-names.js +15 -0
- package/node_modules/sanitize-html/node_modules/dom-serializer/dist/foreign-names.js.map +1 -0
- package/node_modules/sanitize-html/node_modules/dom-serializer/dist/index.d.ts +72 -0
- package/node_modules/sanitize-html/node_modules/dom-serializer/dist/index.d.ts.map +1 -0
- package/node_modules/sanitize-html/node_modules/dom-serializer/dist/index.js +173 -0
- package/node_modules/sanitize-html/node_modules/dom-serializer/dist/index.js.map +1 -0
- package/node_modules/sanitize-html/node_modules/dom-serializer/package.json +69 -0
- package/node_modules/sanitize-html/node_modules/dom-serializer/src/foreign-names.ts +19 -0
- package/node_modules/sanitize-html/node_modules/dom-serializer/src/index.ts +315 -0
- package/node_modules/{domelementtype/lib → sanitize-html/node_modules/domelementtype/dist}/index.d.ts +12 -12
- package/node_modules/sanitize-html/node_modules/domelementtype/dist/index.d.ts.map +1 -0
- package/node_modules/{domelementtype/lib/esm → sanitize-html/node_modules/domelementtype/dist}/index.js +15 -6
- package/node_modules/sanitize-html/node_modules/domelementtype/package.json +59 -0
- package/node_modules/{domhandler/lib → sanitize-html/node_modules/domhandler/dist}/index.d.ts +9 -6
- package/node_modules/sanitize-html/node_modules/domhandler/dist/index.d.ts.map +1 -0
- package/node_modules/{domhandler/lib/esm → sanitize-html/node_modules/domhandler/dist}/index.js +34 -25
- package/node_modules/{domhandler/lib → sanitize-html/node_modules/domhandler/dist}/node.d.ts +34 -15
- package/node_modules/sanitize-html/node_modules/domhandler/dist/node.d.ts.map +1 -0
- package/node_modules/{domhandler/lib/esm → sanitize-html/node_modules/domhandler/dist}/node.js +81 -60
- package/node_modules/sanitize-html/node_modules/domhandler/package.json +65 -0
- package/node_modules/{domhandler → sanitize-html/node_modules/domhandler}/readme.md +1 -7
- package/node_modules/{domutils/lib → sanitize-html/node_modules/domutils/dist}/feeds.d.ts +2 -2
- package/node_modules/sanitize-html/node_modules/domutils/dist/feeds.d.ts.map +1 -0
- package/node_modules/{domutils/lib/esm → sanitize-html/node_modules/domutils/dist}/feeds.js +22 -25
- package/node_modules/sanitize-html/node_modules/domutils/dist/feeds.js.map +1 -0
- package/node_modules/{domutils/lib → sanitize-html/node_modules/domutils/dist}/helpers.d.ts +1 -1
- package/node_modules/sanitize-html/node_modules/domutils/dist/helpers.d.ts.map +1 -0
- package/node_modules/{domutils/lib/esm → sanitize-html/node_modules/domutils/dist}/helpers.js +16 -16
- package/node_modules/sanitize-html/node_modules/domutils/dist/helpers.js.map +1 -0
- package/node_modules/{domutils/lib/esm → sanitize-html/node_modules/domutils/dist}/index.d.ts +5 -7
- package/node_modules/sanitize-html/node_modules/domutils/dist/index.d.ts.map +1 -0
- package/node_modules/{domutils/lib/esm → sanitize-html/node_modules/domutils/dist}/index.js +5 -7
- package/node_modules/sanitize-html/node_modules/domutils/dist/index.js.map +1 -0
- package/node_modules/{domutils/lib/esm → sanitize-html/node_modules/domutils/dist}/legacy.d.ts +1 -1
- package/node_modules/sanitize-html/node_modules/domutils/dist/legacy.d.ts.map +1 -0
- package/node_modules/{domutils/lib/esm → sanitize-html/node_modules/domutils/dist}/legacy.js +15 -15
- package/node_modules/sanitize-html/node_modules/domutils/dist/legacy.js.map +1 -0
- package/node_modules/{domutils/lib/esm → sanitize-html/node_modules/domutils/dist}/manipulation.d.ts +9 -9
- package/node_modules/sanitize-html/node_modules/domutils/dist/manipulation.d.ts.map +1 -0
- package/node_modules/sanitize-html/node_modules/domutils/dist/manipulation.js +138 -0
- package/node_modules/sanitize-html/node_modules/domutils/dist/manipulation.js.map +1 -0
- package/node_modules/{domutils/lib → sanitize-html/node_modules/domutils/dist}/querying.d.ts +6 -16
- package/node_modules/sanitize-html/node_modules/domutils/dist/querying.d.ts.map +1 -0
- package/node_modules/{domutils/lib/esm → sanitize-html/node_modules/domutils/dist}/querying.js +13 -26
- package/node_modules/sanitize-html/node_modules/domutils/dist/querying.js.map +1 -0
- package/node_modules/{domutils/lib → sanitize-html/node_modules/domutils/dist}/stringify.d.ts +2 -2
- package/node_modules/sanitize-html/node_modules/domutils/dist/stringify.d.ts.map +1 -0
- package/node_modules/{domutils/lib/esm → sanitize-html/node_modules/domutils/dist}/stringify.js +1 -1
- package/node_modules/sanitize-html/node_modules/domutils/dist/stringify.js.map +1 -0
- package/node_modules/sanitize-html/node_modules/domutils/dist/traversal.d.ts +74 -0
- package/node_modules/sanitize-html/node_modules/domutils/dist/traversal.d.ts.map +1 -0
- package/node_modules/sanitize-html/node_modules/domutils/dist/traversal.js +105 -0
- package/node_modules/sanitize-html/node_modules/domutils/dist/traversal.js.map +1 -0
- package/node_modules/sanitize-html/node_modules/domutils/package.json +69 -0
- package/node_modules/{domutils → sanitize-html/node_modules/domutils}/readme.md +0 -6
- package/node_modules/sanitize-html/node_modules/domutils/src/__snapshots__/feeds.spec.ts.snap +103 -0
- package/node_modules/sanitize-html/node_modules/domutils/src/feeds.ts +301 -0
- package/node_modules/{domutils/lib/helpers.js → sanitize-html/node_modules/domutils/src/helpers.ts} +55 -43
- package/node_modules/{domutils/lib/index.d.ts → sanitize-html/node_modules/domutils/src/index.ts} +5 -8
- package/node_modules/sanitize-html/node_modules/domutils/src/legacy.ts +224 -0
- package/node_modules/sanitize-html/node_modules/domutils/src/manipulation.ts +156 -0
- package/node_modules/{domutils/lib/querying.js → sanitize-html/node_modules/domutils/src/querying.ts} +77 -60
- package/node_modules/sanitize-html/node_modules/domutils/src/stringify.ts +90 -0
- package/node_modules/sanitize-html/node_modules/domutils/src/traversal.ts +132 -0
- package/node_modules/sanitize-html/node_modules/entities/dist/decode-codepoint.d.ts +28 -0
- package/node_modules/sanitize-html/node_modules/entities/dist/decode-codepoint.d.ts.map +1 -0
- package/node_modules/sanitize-html/node_modules/entities/dist/decode-codepoint.js +61 -0
- package/node_modules/sanitize-html/node_modules/entities/dist/decode-codepoint.js.map +1 -0
- package/node_modules/{htmlparser2/node_modules/entities/dist/commonjs → sanitize-html/node_modules/entities/dist}/decode.d.ts +66 -44
- package/node_modules/sanitize-html/node_modules/entities/dist/decode.d.ts.map +1 -0
- package/node_modules/sanitize-html/node_modules/entities/dist/decode.js +1132 -0
- package/node_modules/sanitize-html/node_modules/entities/dist/decode.js.map +1 -0
- package/node_modules/{htmlparser2/node_modules/entities/dist/commonjs → sanitize-html/node_modules/entities/dist}/encode.d.ts +4 -0
- package/node_modules/sanitize-html/node_modules/entities/dist/encode.d.ts.map +1 -0
- package/node_modules/sanitize-html/node_modules/entities/dist/encode.js +295 -0
- package/node_modules/sanitize-html/node_modules/entities/dist/encode.js.map +1 -0
- package/node_modules/{htmlparser2/node_modules/entities/dist/commonjs → sanitize-html/node_modules/entities/dist}/escape.d.ts +23 -9
- package/node_modules/sanitize-html/node_modules/entities/dist/escape.d.ts.map +1 -0
- package/node_modules/sanitize-html/node_modules/entities/dist/escape.js +172 -0
- package/node_modules/sanitize-html/node_modules/entities/dist/escape.js.map +1 -0
- package/node_modules/sanitize-html/node_modules/entities/dist/generated/decode-data-html.d.ts +3 -0
- package/node_modules/sanitize-html/node_modules/entities/dist/generated/decode-data-html.d.ts.map +1 -0
- package/node_modules/sanitize-html/node_modules/entities/dist/generated/decode-data-html.js +5 -0
- package/node_modules/sanitize-html/node_modules/entities/dist/generated/decode-data-html.js.map +1 -0
- package/node_modules/sanitize-html/node_modules/entities/dist/generated/decode-data-xml.d.ts +3 -0
- package/node_modules/sanitize-html/node_modules/entities/dist/generated/decode-data-xml.d.ts.map +1 -0
- package/node_modules/sanitize-html/node_modules/entities/dist/generated/decode-data-xml.js +7 -0
- package/node_modules/sanitize-html/node_modules/entities/dist/generated/decode-data-xml.js.map +1 -0
- package/node_modules/sanitize-html/node_modules/entities/dist/generated/encode-html.d.ts +3 -0
- package/node_modules/sanitize-html/node_modules/entities/dist/generated/encode-html.d.ts.map +1 -0
- package/node_modules/sanitize-html/node_modules/entities/dist/generated/encode-html.js +3 -0
- package/node_modules/sanitize-html/node_modules/entities/dist/generated/encode-html.js.map +1 -0
- package/node_modules/{htmlparser2/node_modules/entities/dist/commonjs → sanitize-html/node_modules/entities/dist}/index.d.ts +11 -18
- package/node_modules/sanitize-html/node_modules/entities/dist/index.d.ts.map +1 -0
- package/node_modules/{htmlparser2/node_modules/entities/dist/esm → sanitize-html/node_modules/entities/dist}/index.js +9 -29
- package/node_modules/sanitize-html/node_modules/entities/dist/index.js.map +1 -0
- package/node_modules/sanitize-html/node_modules/entities/dist/internal/bin-trie-flags.d.ts +48 -0
- package/node_modules/sanitize-html/node_modules/entities/dist/internal/bin-trie-flags.d.ts.map +1 -0
- package/node_modules/sanitize-html/node_modules/entities/dist/internal/bin-trie-flags.js +49 -0
- package/node_modules/sanitize-html/node_modules/entities/dist/internal/bin-trie-flags.js.map +1 -0
- package/node_modules/sanitize-html/node_modules/entities/dist/internal/decode-shared.d.ts +38 -0
- package/node_modules/sanitize-html/node_modules/entities/dist/internal/decode-shared.d.ts.map +1 -0
- package/node_modules/sanitize-html/node_modules/entities/dist/internal/decode-shared.js +195 -0
- package/node_modules/sanitize-html/node_modules/entities/dist/internal/decode-shared.js.map +1 -0
- package/node_modules/sanitize-html/node_modules/entities/package.json +83 -0
- package/node_modules/{htmlparser2 → sanitize-html}/node_modules/entities/readme.md +4 -16
- package/node_modules/sanitize-html/node_modules/entities/src/decode-codepoint.ts +69 -0
- package/node_modules/sanitize-html/node_modules/entities/src/decode.ts +1368 -0
- package/node_modules/sanitize-html/node_modules/entities/src/encode.ts +337 -0
- package/node_modules/sanitize-html/node_modules/entities/src/escape.ts +187 -0
- package/node_modules/sanitize-html/node_modules/entities/src/generated/decode-data-html.ts +12 -0
- package/node_modules/sanitize-html/node_modules/entities/src/generated/decode-data-xml.ts +7 -0
- package/node_modules/sanitize-html/node_modules/entities/src/generated/encode-html.ts +3 -0
- package/node_modules/{htmlparser2 → sanitize-html}/node_modules/entities/src/index.ts +14 -41
- package/node_modules/sanitize-html/node_modules/entities/src/internal/bin-trie-flags.ts +47 -0
- package/node_modules/sanitize-html/node_modules/entities/src/internal/decode-shared.ts +209 -0
- package/node_modules/sanitize-html/node_modules/htmlparser2/README.md +257 -0
- package/node_modules/{htmlparser2/dist/esm → sanitize-html/node_modules/htmlparser2/dist}/Parser.d.ts +97 -38
- package/node_modules/sanitize-html/node_modules/htmlparser2/dist/Parser.d.ts.map +1 -0
- package/node_modules/sanitize-html/node_modules/htmlparser2/dist/Parser.js +644 -0
- package/node_modules/sanitize-html/node_modules/htmlparser2/dist/Parser.js.map +1 -0
- package/node_modules/{htmlparser2/dist/commonjs → sanitize-html/node_modules/htmlparser2/dist}/Tokenizer.d.ts +75 -7
- package/node_modules/sanitize-html/node_modules/htmlparser2/dist/Tokenizer.d.ts.map +1 -0
- package/node_modules/{htmlparser2/dist/esm → sanitize-html/node_modules/htmlparser2/dist}/Tokenizer.js +434 -179
- package/node_modules/sanitize-html/node_modules/htmlparser2/dist/Tokenizer.js.map +1 -0
- package/node_modules/sanitize-html/node_modules/htmlparser2/dist/WebWritableStream.d.ts +24 -0
- package/node_modules/sanitize-html/node_modules/htmlparser2/dist/WebWritableStream.d.ts.map +1 -0
- package/node_modules/sanitize-html/node_modules/htmlparser2/dist/WebWritableStream.js +44 -0
- package/node_modules/sanitize-html/node_modules/htmlparser2/dist/WebWritableStream.js.map +1 -0
- package/node_modules/{htmlparser2/dist/commonjs → sanitize-html/node_modules/htmlparser2/dist}/WritableStream.d.ts +1 -2
- package/node_modules/sanitize-html/node_modules/htmlparser2/dist/WritableStream.d.ts.map +1 -0
- package/node_modules/{htmlparser2/dist/esm → sanitize-html/node_modules/htmlparser2/dist}/WritableStream.js +3 -3
- package/node_modules/sanitize-html/node_modules/htmlparser2/dist/WritableStream.js.map +1 -0
- package/node_modules/{htmlparser2/dist/commonjs → sanitize-html/node_modules/htmlparser2/dist}/index.d.ts +6 -26
- package/node_modules/sanitize-html/node_modules/htmlparser2/dist/index.d.ts.map +1 -0
- package/node_modules/{htmlparser2/dist/esm → sanitize-html/node_modules/htmlparser2/dist}/index.js +2 -30
- package/node_modules/sanitize-html/node_modules/htmlparser2/dist/index.js.map +1 -0
- package/node_modules/sanitize-html/node_modules/htmlparser2/package.json +86 -0
- package/node_modules/{htmlparser2 → sanitize-html/node_modules/htmlparser2}/src/Parser.ts +260 -100
- package/node_modules/{htmlparser2 → sanitize-html/node_modules/htmlparser2}/src/Tokenizer.ts +438 -165
- package/node_modules/sanitize-html/node_modules/htmlparser2/src/WebWritableStream.ts +47 -0
- package/node_modules/{htmlparser2 → sanitize-html/node_modules/htmlparser2}/src/WritableStream.ts +1 -2
- package/node_modules/{htmlparser2 → sanitize-html/node_modules/htmlparser2}/src/index.ts +14 -43
- package/node_modules/sanitize-html/package.json +5 -2
- package/package.json +15 -15
- package/scripts/validateSecretsPrebuild.js +231 -0
- package/node_modules/dom-serializer/LICENSE +0 -11
- package/node_modules/dom-serializer/lib/esm/foreignNames.d.ts +0 -3
- package/node_modules/dom-serializer/lib/esm/foreignNames.d.ts.map +0 -1
- package/node_modules/dom-serializer/lib/esm/foreignNames.js +0 -100
- package/node_modules/dom-serializer/lib/esm/index.d.ts +0 -52
- package/node_modules/dom-serializer/lib/esm/index.d.ts.map +0 -1
- package/node_modules/dom-serializer/lib/esm/index.js +0 -190
- package/node_modules/dom-serializer/lib/esm/package.json +0 -1
- package/node_modules/dom-serializer/lib/foreignNames.d.ts +0 -3
- package/node_modules/dom-serializer/lib/foreignNames.d.ts.map +0 -1
- package/node_modules/dom-serializer/lib/foreignNames.js +0 -103
- package/node_modules/dom-serializer/lib/index.d.ts +0 -52
- package/node_modules/dom-serializer/lib/index.d.ts.map +0 -1
- package/node_modules/dom-serializer/lib/index.js +0 -229
- package/node_modules/dom-serializer/package.json +0 -69
- package/node_modules/domelementtype/lib/esm/index.d.ts +0 -48
- package/node_modules/domelementtype/lib/esm/index.d.ts.map +0 -1
- package/node_modules/domelementtype/lib/esm/package.json +0 -1
- package/node_modules/domelementtype/lib/index.d.ts.map +0 -1
- package/node_modules/domelementtype/lib/index.js +0 -55
- package/node_modules/domelementtype/package.json +0 -54
- package/node_modules/domhandler/lib/esm/index.d.ts +0 -76
- package/node_modules/domhandler/lib/esm/index.d.ts.map +0 -1
- package/node_modules/domhandler/lib/esm/node.d.ts +0 -245
- package/node_modules/domhandler/lib/esm/node.d.ts.map +0 -1
- package/node_modules/domhandler/lib/esm/package.json +0 -1
- package/node_modules/domhandler/lib/index.d.ts.map +0 -1
- package/node_modules/domhandler/lib/index.js +0 -165
- package/node_modules/domhandler/lib/node.d.ts.map +0 -1
- package/node_modules/domhandler/lib/node.js +0 -474
- package/node_modules/domhandler/package.json +0 -73
- package/node_modules/domutils/lib/esm/feeds.d.ts +0 -71
- package/node_modules/domutils/lib/esm/feeds.d.ts.map +0 -1
- package/node_modules/domutils/lib/esm/feeds.js.map +0 -1
- package/node_modules/domutils/lib/esm/helpers.d.ts +0 -59
- package/node_modules/domutils/lib/esm/helpers.d.ts.map +0 -1
- package/node_modules/domutils/lib/esm/helpers.js.map +0 -1
- package/node_modules/domutils/lib/esm/index.d.ts.map +0 -1
- package/node_modules/domutils/lib/esm/index.js.map +0 -1
- package/node_modules/domutils/lib/esm/legacy.d.ts.map +0 -1
- package/node_modules/domutils/lib/esm/legacy.js.map +0 -1
- package/node_modules/domutils/lib/esm/manipulation.d.ts.map +0 -1
- package/node_modules/domutils/lib/esm/manipulation.js +0 -134
- package/node_modules/domutils/lib/esm/manipulation.js.map +0 -1
- package/node_modules/domutils/lib/esm/package.json +0 -1
- package/node_modules/domutils/lib/esm/querying.d.ts +0 -64
- package/node_modules/domutils/lib/esm/querying.d.ts.map +0 -1
- package/node_modules/domutils/lib/esm/querying.js.map +0 -1
- package/node_modules/domutils/lib/esm/stringify.d.ts +0 -46
- package/node_modules/domutils/lib/esm/stringify.d.ts.map +0 -1
- package/node_modules/domutils/lib/esm/stringify.js.map +0 -1
- package/node_modules/domutils/lib/esm/traversal.d.ts +0 -67
- package/node_modules/domutils/lib/esm/traversal.d.ts.map +0 -1
- package/node_modules/domutils/lib/esm/traversal.js +0 -112
- package/node_modules/domutils/lib/esm/traversal.js.map +0 -1
- package/node_modules/domutils/lib/feeds.d.ts.map +0 -1
- package/node_modules/domutils/lib/feeds.js +0 -190
- package/node_modules/domutils/lib/feeds.js.map +0 -1
- package/node_modules/domutils/lib/helpers.d.ts.map +0 -1
- package/node_modules/domutils/lib/helpers.js.map +0 -1
- package/node_modules/domutils/lib/index.d.ts.map +0 -1
- package/node_modules/domutils/lib/index.js +0 -33
- package/node_modules/domutils/lib/index.js.map +0 -1
- package/node_modules/domutils/lib/legacy.d.ts +0 -79
- package/node_modules/domutils/lib/legacy.d.ts.map +0 -1
- package/node_modules/domutils/lib/legacy.js +0 -168
- package/node_modules/domutils/lib/legacy.js.map +0 -1
- package/node_modules/domutils/lib/manipulation.d.ts +0 -49
- package/node_modules/domutils/lib/manipulation.d.ts.map +0 -1
- package/node_modules/domutils/lib/manipulation.js +0 -142
- package/node_modules/domutils/lib/manipulation.js.map +0 -1
- package/node_modules/domutils/lib/querying.d.ts.map +0 -1
- package/node_modules/domutils/lib/querying.js.map +0 -1
- package/node_modules/domutils/lib/stringify.d.ts.map +0 -1
- package/node_modules/domutils/lib/stringify.js +0 -91
- package/node_modules/domutils/lib/stringify.js.map +0 -1
- package/node_modules/domutils/lib/traversal.d.ts +0 -67
- package/node_modules/domutils/lib/traversal.d.ts.map +0 -1
- package/node_modules/domutils/lib/traversal.js +0 -125
- package/node_modules/domutils/lib/traversal.js.map +0 -1
- package/node_modules/domutils/package.json +0 -79
- package/node_modules/htmlparser2/README.md +0 -171
- package/node_modules/htmlparser2/WritableStream.js +0 -3
- package/node_modules/htmlparser2/dist/commonjs/Parser.d.ts +0 -198
- package/node_modules/htmlparser2/dist/commonjs/Parser.d.ts.map +0 -1
- package/node_modules/htmlparser2/dist/commonjs/Parser.js +0 -527
- package/node_modules/htmlparser2/dist/commonjs/Parser.js.map +0 -1
- package/node_modules/htmlparser2/dist/commonjs/Tokenizer.d.ts.map +0 -1
- package/node_modules/htmlparser2/dist/commonjs/Tokenizer.js +0 -805
- package/node_modules/htmlparser2/dist/commonjs/Tokenizer.js.map +0 -1
- package/node_modules/htmlparser2/dist/commonjs/WritableStream.d.ts.map +0 -1
- package/node_modules/htmlparser2/dist/commonjs/WritableStream.js +0 -36
- package/node_modules/htmlparser2/dist/commonjs/WritableStream.js.map +0 -1
- package/node_modules/htmlparser2/dist/commonjs/index.d.ts.map +0 -1
- package/node_modules/htmlparser2/dist/commonjs/index.js +0 -123
- package/node_modules/htmlparser2/dist/commonjs/index.js.map +0 -1
- package/node_modules/htmlparser2/dist/commonjs/package.json +0 -3
- package/node_modules/htmlparser2/dist/esm/Parser.d.ts.map +0 -1
- package/node_modules/htmlparser2/dist/esm/Parser.js +0 -490
- package/node_modules/htmlparser2/dist/esm/Parser.js.map +0 -1
- package/node_modules/htmlparser2/dist/esm/Tokenizer.d.ts +0 -126
- package/node_modules/htmlparser2/dist/esm/Tokenizer.d.ts.map +0 -1
- package/node_modules/htmlparser2/dist/esm/Tokenizer.js.map +0 -1
- package/node_modules/htmlparser2/dist/esm/WritableStream.d.ts +0 -15
- package/node_modules/htmlparser2/dist/esm/WritableStream.d.ts.map +0 -1
- package/node_modules/htmlparser2/dist/esm/WritableStream.js.map +0 -1
- package/node_modules/htmlparser2/dist/esm/index.d.ts +0 -54
- package/node_modules/htmlparser2/dist/esm/index.d.ts.map +0 -1
- package/node_modules/htmlparser2/dist/esm/index.js.map +0 -1
- package/node_modules/htmlparser2/dist/esm/package.json +0 -3
- package/node_modules/htmlparser2/node_modules/entities/decode.d.ts +0 -3
- package/node_modules/htmlparser2/node_modules/entities/decode.js +0 -3
- package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/decode-codepoint.d.ts +0 -19
- package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/decode-codepoint.d.ts.map +0 -1
- package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/decode-codepoint.js +0 -77
- package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/decode-codepoint.js.map +0 -1
- package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/decode.d.ts.map +0 -1
- package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/decode.js +0 -568
- package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/decode.js.map +0 -1
- package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/encode.d.ts.map +0 -1
- package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/encode.js +0 -92
- package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/encode.js.map +0 -1
- package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/escape.d.ts.map +0 -1
- package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/escape.js +0 -138
- package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/escape.js.map +0 -1
- package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/generated/decode-data-html.d.ts +0 -2
- package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/generated/decode-data-html.d.ts.map +0 -1
- package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/generated/decode-data-html.js +0 -7
- package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/generated/decode-data-html.js.map +0 -1
- package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/generated/decode-data-xml.d.ts +0 -2
- package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/generated/decode-data-xml.d.ts.map +0 -1
- package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/generated/decode-data-xml.js +0 -7
- package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/generated/decode-data-xml.js.map +0 -1
- package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/generated/encode-html.d.ts +0 -3
- package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/generated/encode-html.d.ts.map +0 -1
- package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/generated/encode-html.js +0 -14
- package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/generated/encode-html.js.map +0 -1
- package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/index.d.ts.map +0 -1
- package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/index.js +0 -131
- package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/index.js.map +0 -1
- package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/internal/bin-trie-flags.d.ts +0 -17
- package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/internal/bin-trie-flags.d.ts.map +0 -1
- package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/internal/bin-trie-flags.js +0 -21
- package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/internal/bin-trie-flags.js.map +0 -1
- package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/internal/decode-shared.d.ts +0 -2
- package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/internal/decode-shared.d.ts.map +0 -1
- package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/internal/decode-shared.js +0 -31
- package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/internal/decode-shared.js.map +0 -1
- package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/internal/encode-shared.d.ts +0 -32
- package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/internal/encode-shared.d.ts.map +0 -1
- package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/internal/encode-shared.js +0 -94
- package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/internal/encode-shared.js.map +0 -1
- package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/package.json +0 -3
- package/node_modules/htmlparser2/node_modules/entities/dist/esm/decode-codepoint.d.ts +0 -19
- package/node_modules/htmlparser2/node_modules/entities/dist/esm/decode-codepoint.d.ts.map +0 -1
- package/node_modules/htmlparser2/node_modules/entities/dist/esm/decode-codepoint.js +0 -72
- package/node_modules/htmlparser2/node_modules/entities/dist/esm/decode-codepoint.js.map +0 -1
- package/node_modules/htmlparser2/node_modules/entities/dist/esm/decode.d.ts +0 -205
- package/node_modules/htmlparser2/node_modules/entities/dist/esm/decode.d.ts.map +0 -1
- package/node_modules/htmlparser2/node_modules/entities/dist/esm/decode.js +0 -554
- package/node_modules/htmlparser2/node_modules/entities/dist/esm/decode.js.map +0 -1
- package/node_modules/htmlparser2/node_modules/entities/dist/esm/encode.d.ts +0 -22
- package/node_modules/htmlparser2/node_modules/entities/dist/esm/encode.d.ts.map +0 -1
- package/node_modules/htmlparser2/node_modules/entities/dist/esm/encode.js +0 -88
- package/node_modules/htmlparser2/node_modules/entities/dist/esm/encode.js.map +0 -1
- package/node_modules/htmlparser2/node_modules/entities/dist/esm/escape.d.ts +0 -46
- package/node_modules/htmlparser2/node_modules/entities/dist/esm/escape.d.ts.map +0 -1
- package/node_modules/htmlparser2/node_modules/entities/dist/esm/escape.js +0 -134
- package/node_modules/htmlparser2/node_modules/entities/dist/esm/escape.js.map +0 -1
- package/node_modules/htmlparser2/node_modules/entities/dist/esm/generated/decode-data-html.d.ts +0 -2
- package/node_modules/htmlparser2/node_modules/entities/dist/esm/generated/decode-data-html.d.ts.map +0 -1
- package/node_modules/htmlparser2/node_modules/entities/dist/esm/generated/decode-data-html.js +0 -4
- package/node_modules/htmlparser2/node_modules/entities/dist/esm/generated/decode-data-html.js.map +0 -1
- package/node_modules/htmlparser2/node_modules/entities/dist/esm/generated/decode-data-xml.d.ts +0 -2
- package/node_modules/htmlparser2/node_modules/entities/dist/esm/generated/decode-data-xml.d.ts.map +0 -1
- package/node_modules/htmlparser2/node_modules/entities/dist/esm/generated/decode-data-xml.js +0 -4
- package/node_modules/htmlparser2/node_modules/entities/dist/esm/generated/decode-data-xml.js.map +0 -1
- package/node_modules/htmlparser2/node_modules/entities/dist/esm/generated/encode-html.d.ts +0 -3
- package/node_modules/htmlparser2/node_modules/entities/dist/esm/generated/encode-html.d.ts.map +0 -1
- package/node_modules/htmlparser2/node_modules/entities/dist/esm/generated/encode-html.js +0 -11
- package/node_modules/htmlparser2/node_modules/entities/dist/esm/generated/encode-html.js.map +0 -1
- package/node_modules/htmlparser2/node_modules/entities/dist/esm/index.d.ts +0 -96
- package/node_modules/htmlparser2/node_modules/entities/dist/esm/index.d.ts.map +0 -1
- package/node_modules/htmlparser2/node_modules/entities/dist/esm/index.js.map +0 -1
- package/node_modules/htmlparser2/node_modules/entities/dist/esm/internal/bin-trie-flags.d.ts +0 -17
- package/node_modules/htmlparser2/node_modules/entities/dist/esm/internal/bin-trie-flags.d.ts.map +0 -1
- package/node_modules/htmlparser2/node_modules/entities/dist/esm/internal/bin-trie-flags.js +0 -18
- package/node_modules/htmlparser2/node_modules/entities/dist/esm/internal/bin-trie-flags.js.map +0 -1
- package/node_modules/htmlparser2/node_modules/entities/dist/esm/internal/decode-shared.d.ts +0 -2
- package/node_modules/htmlparser2/node_modules/entities/dist/esm/internal/decode-shared.d.ts.map +0 -1
- package/node_modules/htmlparser2/node_modules/entities/dist/esm/internal/decode-shared.js +0 -28
- package/node_modules/htmlparser2/node_modules/entities/dist/esm/internal/decode-shared.js.map +0 -1
- package/node_modules/htmlparser2/node_modules/entities/dist/esm/internal/encode-shared.d.ts +0 -32
- package/node_modules/htmlparser2/node_modules/entities/dist/esm/internal/encode-shared.d.ts.map +0 -1
- package/node_modules/htmlparser2/node_modules/entities/dist/esm/internal/encode-shared.js +0 -91
- package/node_modules/htmlparser2/node_modules/entities/dist/esm/internal/encode-shared.js.map +0 -1
- package/node_modules/htmlparser2/node_modules/entities/dist/esm/package.json +0 -3
- package/node_modules/htmlparser2/node_modules/entities/escape.d.ts +0 -3
- package/node_modules/htmlparser2/node_modules/entities/escape.js +0 -3
- package/node_modules/htmlparser2/node_modules/entities/package.json +0 -120
- package/node_modules/htmlparser2/node_modules/entities/src/decode-codepoint.ts +0 -81
- package/node_modules/htmlparser2/node_modules/entities/src/decode.ts +0 -685
- package/node_modules/htmlparser2/node_modules/entities/src/encode.ts +0 -93
- package/node_modules/htmlparser2/node_modules/entities/src/escape.ts +0 -161
- package/node_modules/htmlparser2/node_modules/entities/src/generated/.eslintrc.json +0 -10
- package/node_modules/htmlparser2/node_modules/entities/src/generated/decode-data-html.ts +0 -6
- package/node_modules/htmlparser2/node_modules/entities/src/generated/decode-data-xml.ts +0 -6
- package/node_modules/htmlparser2/node_modules/entities/src/generated/encode-html.ts +0 -17
- package/node_modules/htmlparser2/node_modules/entities/src/internal/bin-trie-flags.ts +0 -16
- package/node_modules/htmlparser2/node_modules/entities/src/internal/decode-shared.ts +0 -30
- package/node_modules/htmlparser2/node_modules/entities/src/internal/encode-shared.ts +0 -121
- package/node_modules/htmlparser2/package.json +0 -113
- /package/node_modules/{domelementtype → sanitize-html/node_modules/domelementtype}/LICENSE +0 -0
- /package/node_modules/{domelementtype → sanitize-html/node_modules/domelementtype}/readme.md +0 -0
- /package/node_modules/{domhandler → sanitize-html/node_modules/domhandler}/LICENSE +0 -0
- /package/node_modules/{domutils → sanitize-html/node_modules/domutils}/LICENSE +0 -0
- /package/node_modules/{htmlparser2 → sanitize-html}/node_modules/entities/LICENSE +0 -0
- /package/node_modules/{htmlparser2 → sanitize-html/node_modules/htmlparser2}/LICENSE +0 -0
|
@@ -0,0 +1,644 @@
|
|
|
1
|
+
const { fromCodePoint } = String;
|
|
2
|
+
import Tokenizer, { QuoteType } from "./Tokenizer.js";
|
|
3
|
+
const formTags = new Set([
|
|
4
|
+
"input",
|
|
5
|
+
"option",
|
|
6
|
+
"optgroup",
|
|
7
|
+
"select",
|
|
8
|
+
"button",
|
|
9
|
+
"datalist",
|
|
10
|
+
"textarea",
|
|
11
|
+
]);
|
|
12
|
+
const pTag = new Set(["p"]);
|
|
13
|
+
const headingTags = new Set(["h1", "h2", "h3", "h4", "h5", "h6", "p"]);
|
|
14
|
+
const tableSectionTags = new Set(["thead", "tbody"]);
|
|
15
|
+
const ddtTags = new Set(["dd", "dt"]);
|
|
16
|
+
const rtpTags = new Set(["rt", "rp"]);
|
|
17
|
+
const openImpliesClose = new Map([
|
|
18
|
+
["tr", new Set(["tr", "th", "td"])],
|
|
19
|
+
["th", new Set(["th"])],
|
|
20
|
+
["td", new Set(["thead", "th", "td"])],
|
|
21
|
+
["body", new Set(["head", "link", "script"])],
|
|
22
|
+
["a", new Set(["a"])],
|
|
23
|
+
["li", new Set(["li"])],
|
|
24
|
+
["p", pTag],
|
|
25
|
+
["h1", headingTags],
|
|
26
|
+
["h2", headingTags],
|
|
27
|
+
["h3", headingTags],
|
|
28
|
+
["h4", headingTags],
|
|
29
|
+
["h5", headingTags],
|
|
30
|
+
["h6", headingTags],
|
|
31
|
+
["select", formTags],
|
|
32
|
+
["input", formTags],
|
|
33
|
+
["output", formTags],
|
|
34
|
+
["button", formTags],
|
|
35
|
+
["datalist", formTags],
|
|
36
|
+
["textarea", formTags],
|
|
37
|
+
["option", new Set(["option"])],
|
|
38
|
+
["optgroup", new Set(["optgroup", "option"])],
|
|
39
|
+
["dd", ddtTags],
|
|
40
|
+
["dt", ddtTags],
|
|
41
|
+
["address", pTag],
|
|
42
|
+
["article", pTag],
|
|
43
|
+
["aside", pTag],
|
|
44
|
+
["blockquote", pTag],
|
|
45
|
+
["details", pTag],
|
|
46
|
+
["div", pTag],
|
|
47
|
+
["dl", pTag],
|
|
48
|
+
["fieldset", pTag],
|
|
49
|
+
["figcaption", pTag],
|
|
50
|
+
["figure", pTag],
|
|
51
|
+
["footer", pTag],
|
|
52
|
+
["form", pTag],
|
|
53
|
+
["header", pTag],
|
|
54
|
+
["hr", pTag],
|
|
55
|
+
["main", pTag],
|
|
56
|
+
["nav", pTag],
|
|
57
|
+
["ol", pTag],
|
|
58
|
+
["pre", pTag],
|
|
59
|
+
["section", pTag],
|
|
60
|
+
["table", pTag],
|
|
61
|
+
["ul", pTag],
|
|
62
|
+
["rt", rtpTags],
|
|
63
|
+
["rp", rtpTags],
|
|
64
|
+
["tbody", tableSectionTags],
|
|
65
|
+
["tfoot", tableSectionTags],
|
|
66
|
+
]);
|
|
67
|
+
const DOCUMENT_TYPE = "doctype";
|
|
68
|
+
const voidElements = new Set([
|
|
69
|
+
"area",
|
|
70
|
+
"base",
|
|
71
|
+
"basefont",
|
|
72
|
+
"br",
|
|
73
|
+
"col",
|
|
74
|
+
"command",
|
|
75
|
+
"embed",
|
|
76
|
+
"frame",
|
|
77
|
+
"hr",
|
|
78
|
+
"img",
|
|
79
|
+
"input",
|
|
80
|
+
"isindex",
|
|
81
|
+
"keygen",
|
|
82
|
+
"link",
|
|
83
|
+
"meta",
|
|
84
|
+
"param",
|
|
85
|
+
"source",
|
|
86
|
+
"track",
|
|
87
|
+
"wbr",
|
|
88
|
+
]);
|
|
89
|
+
const foreignContextElements = new Set(["math", "svg"]);
|
|
90
|
+
/**
|
|
91
|
+
* Elements that can be used to integrate HTML content within foreign namespaces (e.g., SVG or MathML).
|
|
92
|
+
*
|
|
93
|
+
* Entries must use the SVG-adjusted casing (e.g. "foreignObject" not
|
|
94
|
+
* "foreignobject") since they are compared against adjusted tag names.
|
|
95
|
+
*/
|
|
96
|
+
const htmlIntegrationElements = new Set([
|
|
97
|
+
"mi",
|
|
98
|
+
"mo",
|
|
99
|
+
"mn",
|
|
100
|
+
"ms",
|
|
101
|
+
"mtext",
|
|
102
|
+
"annotation-xml",
|
|
103
|
+
"foreignObject",
|
|
104
|
+
"desc",
|
|
105
|
+
"title",
|
|
106
|
+
]);
|
|
107
|
+
const svgTagNameAdjustments = new Map([
|
|
108
|
+
["altglyph", "altGlyph"],
|
|
109
|
+
["altglyphdef", "altGlyphDef"],
|
|
110
|
+
["altglyphitem", "altGlyphItem"],
|
|
111
|
+
["animatecolor", "animateColor"],
|
|
112
|
+
["animatemotion", "animateMotion"],
|
|
113
|
+
["animatetransform", "animateTransform"],
|
|
114
|
+
["clippath", "clipPath"],
|
|
115
|
+
["feblend", "feBlend"],
|
|
116
|
+
["fecolormatrix", "feColorMatrix"],
|
|
117
|
+
["fecomponenttransfer", "feComponentTransfer"],
|
|
118
|
+
["fecomposite", "feComposite"],
|
|
119
|
+
["feconvolvematrix", "feConvolveMatrix"],
|
|
120
|
+
["fediffuselighting", "feDiffuseLighting"],
|
|
121
|
+
["fedisplacementmap", "feDisplacementMap"],
|
|
122
|
+
["fedistantlight", "feDistantLight"],
|
|
123
|
+
["fedropshadow", "feDropShadow"],
|
|
124
|
+
["feflood", "feFlood"],
|
|
125
|
+
["fefunca", "feFuncA"],
|
|
126
|
+
["fefuncb", "feFuncB"],
|
|
127
|
+
["fefuncg", "feFuncG"],
|
|
128
|
+
["fefuncr", "feFuncR"],
|
|
129
|
+
["fegaussianblur", "feGaussianBlur"],
|
|
130
|
+
["feimage", "feImage"],
|
|
131
|
+
["femerge", "feMerge"],
|
|
132
|
+
["femergenode", "feMergeNode"],
|
|
133
|
+
["femorphology", "feMorphology"],
|
|
134
|
+
["feoffset", "feOffset"],
|
|
135
|
+
["fepointlight", "fePointLight"],
|
|
136
|
+
["fespecularlighting", "feSpecularLighting"],
|
|
137
|
+
["fespotlight", "feSpotLight"],
|
|
138
|
+
["fetile", "feTile"],
|
|
139
|
+
["feturbulence", "feTurbulence"],
|
|
140
|
+
["foreignobject", "foreignObject"],
|
|
141
|
+
["glyphref", "glyphRef"],
|
|
142
|
+
["lineargradient", "linearGradient"],
|
|
143
|
+
["radialgradient", "radialGradient"],
|
|
144
|
+
["textpath", "textPath"],
|
|
145
|
+
]);
|
|
146
|
+
var ForeignContext;
|
|
147
|
+
(function (ForeignContext) {
|
|
148
|
+
ForeignContext[ForeignContext["None"] = 0] = "None";
|
|
149
|
+
ForeignContext[ForeignContext["Svg"] = 1] = "Svg";
|
|
150
|
+
ForeignContext[ForeignContext["MathML"] = 2] = "MathML";
|
|
151
|
+
})(ForeignContext || (ForeignContext = {}));
|
|
152
|
+
const reNameEnd = /\s|\//;
|
|
153
|
+
/**
|
|
154
|
+
* Incremental parser implementation.
|
|
155
|
+
*/
|
|
156
|
+
export class Parser {
|
|
157
|
+
options;
|
|
158
|
+
/** The start index of the last event. */
|
|
159
|
+
startIndex = 0;
|
|
160
|
+
/** The end index of the last event. */
|
|
161
|
+
endIndex = 0;
|
|
162
|
+
/**
|
|
163
|
+
* Store the start index of the current open tag,
|
|
164
|
+
* so we can update the start index for attributes.
|
|
165
|
+
*/
|
|
166
|
+
openTagStart = 0;
|
|
167
|
+
tagname = "";
|
|
168
|
+
attribname = "";
|
|
169
|
+
attribvalue = "";
|
|
170
|
+
attribs = null;
|
|
171
|
+
stack = [];
|
|
172
|
+
foreignContext;
|
|
173
|
+
cbs;
|
|
174
|
+
lowerCaseTagNames;
|
|
175
|
+
lowerCaseAttributeNames;
|
|
176
|
+
recognizeSelfClosing;
|
|
177
|
+
/** We are parsing HTML. Inverse of the `xmlMode` option. */
|
|
178
|
+
htmlMode;
|
|
179
|
+
tokenizer;
|
|
180
|
+
buffers = [];
|
|
181
|
+
bufferOffset = 0;
|
|
182
|
+
/** The index of the last written buffer. Used when resuming after a `pause()`. */
|
|
183
|
+
writeIndex = 0;
|
|
184
|
+
/** Indicates whether the parser has finished running / `.end` has been called. */
|
|
185
|
+
ended = false;
|
|
186
|
+
constructor(cbs, options = {}) {
|
|
187
|
+
this.options = options;
|
|
188
|
+
this.cbs = cbs ?? {};
|
|
189
|
+
this.htmlMode = !this.options.xmlMode;
|
|
190
|
+
this.lowerCaseTagNames = options.lowerCaseTags ?? this.htmlMode;
|
|
191
|
+
this.lowerCaseAttributeNames =
|
|
192
|
+
options.lowerCaseAttributeNames ?? this.htmlMode;
|
|
193
|
+
this.recognizeSelfClosing =
|
|
194
|
+
options.recognizeSelfClosing ?? !this.htmlMode;
|
|
195
|
+
this.tokenizer = new (options.Tokenizer ?? Tokenizer)(this.options, this);
|
|
196
|
+
this.foreignContext = [ForeignContext.None];
|
|
197
|
+
this.cbs.onparserinit?.(this);
|
|
198
|
+
}
|
|
199
|
+
// Tokenizer event handlers
|
|
200
|
+
/**
|
|
201
|
+
* @param start Start index for the current parser event.
|
|
202
|
+
* @param endIndex End index for the current parser event.
|
|
203
|
+
* @internal
|
|
204
|
+
*/
|
|
205
|
+
ontext(start, endIndex) {
|
|
206
|
+
const data = this.getSlice(start, endIndex);
|
|
207
|
+
this.endIndex = endIndex - 1;
|
|
208
|
+
this.cbs.ontext?.(data);
|
|
209
|
+
this.startIndex = endIndex;
|
|
210
|
+
}
|
|
211
|
+
/**
|
|
212
|
+
* @param cp Current Unicode code point.
|
|
213
|
+
* @param endIndex End index for the current parser event.
|
|
214
|
+
* @internal
|
|
215
|
+
*/
|
|
216
|
+
ontextentity(cp, endIndex) {
|
|
217
|
+
this.endIndex = endIndex - 1;
|
|
218
|
+
this.cbs.ontext?.(fromCodePoint(cp));
|
|
219
|
+
this.startIndex = endIndex;
|
|
220
|
+
}
|
|
221
|
+
/** @internal */
|
|
222
|
+
isInForeignContext() {
|
|
223
|
+
return this.foreignContext[0] !== ForeignContext.None;
|
|
224
|
+
}
|
|
225
|
+
/**
|
|
226
|
+
* Checks if the current tag is a void element. Override this if you want
|
|
227
|
+
* to specify your own additional void elements.
|
|
228
|
+
* @param name Name of the pseudo selector.
|
|
229
|
+
*/
|
|
230
|
+
isVoidElement(name) {
|
|
231
|
+
return this.htmlMode && voidElements.has(name);
|
|
232
|
+
}
|
|
233
|
+
/**
|
|
234
|
+
* Read a tag name from the buffer.
|
|
235
|
+
*
|
|
236
|
+
* When `lowerCaseTagNames` is enabled (the default in HTML mode), the name
|
|
237
|
+
* is lowercased and may be adjusted for SVG casing or the `image` → `img`
|
|
238
|
+
* alias.
|
|
239
|
+
* @param start Start index of the tag name in the buffer.
|
|
240
|
+
* @param endIndex End index of the tag name in the buffer.
|
|
241
|
+
*/
|
|
242
|
+
readTagName(start, endIndex) {
|
|
243
|
+
const name = this.lowerCaseTagNames
|
|
244
|
+
? this.getSlice(start, endIndex).toLowerCase()
|
|
245
|
+
: this.getSlice(start, endIndex);
|
|
246
|
+
if (!(this.lowerCaseTagNames && this.htmlMode)) {
|
|
247
|
+
return name;
|
|
248
|
+
}
|
|
249
|
+
if (this.foreignContext[0] === ForeignContext.Svg) {
|
|
250
|
+
return svgTagNameAdjustments.get(name) ?? name;
|
|
251
|
+
}
|
|
252
|
+
/*
|
|
253
|
+
* Closing tags for SVG elements inside HTML integration points
|
|
254
|
+
* (e.g. </foreignObject> while inside its own content) need case
|
|
255
|
+
* adjustment so the name matches what was pushed to the stack.
|
|
256
|
+
* `foreignContext.length > 1` means a foreign ancestor exists —
|
|
257
|
+
* the base [None] entry plus at least one pushed context.
|
|
258
|
+
*/
|
|
259
|
+
if (this.foreignContext.length > 1) {
|
|
260
|
+
const adjusted = svgTagNameAdjustments.get(name);
|
|
261
|
+
if (adjusted !== undefined && this.stack.includes(adjusted)) {
|
|
262
|
+
return adjusted;
|
|
263
|
+
}
|
|
264
|
+
}
|
|
265
|
+
if (!this.isInForeignContext()) {
|
|
266
|
+
return name === "image" ? "img" : name;
|
|
267
|
+
}
|
|
268
|
+
return name;
|
|
269
|
+
}
|
|
270
|
+
/**
|
|
271
|
+
* @param start Start index for the current parser event.
|
|
272
|
+
* @param endIndex End index for the current parser event.
|
|
273
|
+
* @internal
|
|
274
|
+
*/
|
|
275
|
+
onopentagname(start, endIndex) {
|
|
276
|
+
this.endIndex = endIndex;
|
|
277
|
+
this.emitOpenTag(this.readTagName(start, endIndex));
|
|
278
|
+
}
|
|
279
|
+
emitOpenTag(name) {
|
|
280
|
+
this.openTagStart = this.startIndex;
|
|
281
|
+
this.tagname = name;
|
|
282
|
+
/*
|
|
283
|
+
* The spec ignores a second <form> when one is already open.
|
|
284
|
+
* Setting tagname to "" suppresses all downstream effects: attribs
|
|
285
|
+
* stays null so endOpenTag is a no-op, and closeCurrentTag can't
|
|
286
|
+
* match "" on the stack.
|
|
287
|
+
*/
|
|
288
|
+
if (this.htmlMode && name === "form" && this.stack.includes("form")) {
|
|
289
|
+
this.tagname = "";
|
|
290
|
+
return;
|
|
291
|
+
}
|
|
292
|
+
const impliesClose = this.htmlMode && openImpliesClose.get(name);
|
|
293
|
+
if (impliesClose) {
|
|
294
|
+
while (this.stack.length > 0 && impliesClose.has(this.stack[0])) {
|
|
295
|
+
this.popElement(true);
|
|
296
|
+
}
|
|
297
|
+
}
|
|
298
|
+
if (!this.isVoidElement(name)) {
|
|
299
|
+
this.stack.unshift(name);
|
|
300
|
+
if (this.htmlMode) {
|
|
301
|
+
if (name === "svg") {
|
|
302
|
+
this.foreignContext.unshift(ForeignContext.Svg);
|
|
303
|
+
}
|
|
304
|
+
else if (name === "math") {
|
|
305
|
+
this.foreignContext.unshift(ForeignContext.MathML);
|
|
306
|
+
}
|
|
307
|
+
else if (htmlIntegrationElements.has(name)) {
|
|
308
|
+
this.foreignContext.unshift(ForeignContext.None);
|
|
309
|
+
}
|
|
310
|
+
}
|
|
311
|
+
}
|
|
312
|
+
this.cbs.onopentagname?.(name);
|
|
313
|
+
if (this.cbs.onopentag)
|
|
314
|
+
this.attribs = {};
|
|
315
|
+
}
|
|
316
|
+
endOpenTag(isImplied) {
|
|
317
|
+
this.startIndex = this.openTagStart;
|
|
318
|
+
if (this.attribs) {
|
|
319
|
+
this.cbs.onopentag?.(this.tagname, this.attribs, isImplied);
|
|
320
|
+
this.attribs = null;
|
|
321
|
+
}
|
|
322
|
+
if (this.cbs.onclosetag && this.isVoidElement(this.tagname)) {
|
|
323
|
+
this.cbs.onclosetag(this.tagname, true);
|
|
324
|
+
}
|
|
325
|
+
this.tagname = "";
|
|
326
|
+
}
|
|
327
|
+
/**
|
|
328
|
+
* @param endIndex End index for the current parser event.
|
|
329
|
+
* @internal
|
|
330
|
+
*/
|
|
331
|
+
onopentagend(endIndex) {
|
|
332
|
+
this.endIndex = endIndex;
|
|
333
|
+
this.endOpenTag(false);
|
|
334
|
+
// Set `startIndex` for next node
|
|
335
|
+
this.startIndex = endIndex + 1;
|
|
336
|
+
}
|
|
337
|
+
/**
|
|
338
|
+
* @param start Start index for the current parser event.
|
|
339
|
+
* @param endIndex End index for the current parser event.
|
|
340
|
+
* @internal
|
|
341
|
+
*/
|
|
342
|
+
onclosetag(start, endIndex) {
|
|
343
|
+
this.endIndex = endIndex;
|
|
344
|
+
const name = this.readTagName(start, endIndex);
|
|
345
|
+
if (!this.isVoidElement(name)) {
|
|
346
|
+
const pos = this.stack.indexOf(name);
|
|
347
|
+
if (pos !== -1) {
|
|
348
|
+
for (let index = 0; index < pos; index++) {
|
|
349
|
+
this.popElement(true);
|
|
350
|
+
}
|
|
351
|
+
this.popElement(false);
|
|
352
|
+
}
|
|
353
|
+
else if (this.htmlMode && name === "p") {
|
|
354
|
+
// Implicit open before close
|
|
355
|
+
this.emitOpenTag("p");
|
|
356
|
+
this.closeCurrentTag(true);
|
|
357
|
+
}
|
|
358
|
+
}
|
|
359
|
+
else if (this.htmlMode && name === "br") {
|
|
360
|
+
// We can't use `emitOpenTag` for implicit open, as `br` would be implicitly closed.
|
|
361
|
+
this.cbs.onopentagname?.("br");
|
|
362
|
+
this.cbs.onopentag?.("br", {}, true);
|
|
363
|
+
this.cbs.onclosetag?.("br", false);
|
|
364
|
+
}
|
|
365
|
+
// Set `startIndex` for next node
|
|
366
|
+
this.startIndex = endIndex + 1;
|
|
367
|
+
}
|
|
368
|
+
/**
|
|
369
|
+
* @param endIndex End index for the current parser event.
|
|
370
|
+
* @internal
|
|
371
|
+
*/
|
|
372
|
+
onselfclosingtag(endIndex) {
|
|
373
|
+
this.endIndex = endIndex;
|
|
374
|
+
if (this.recognizeSelfClosing || this.isInForeignContext()) {
|
|
375
|
+
this.closeCurrentTag(false);
|
|
376
|
+
// Set `startIndex` for next node
|
|
377
|
+
this.startIndex = endIndex + 1;
|
|
378
|
+
}
|
|
379
|
+
else {
|
|
380
|
+
// Ignore the fact that the tag is self-closing.
|
|
381
|
+
this.onopentagend(endIndex);
|
|
382
|
+
}
|
|
383
|
+
}
|
|
384
|
+
/**
|
|
385
|
+
* Pop the top element off the stack, emit a close event, and maintain
|
|
386
|
+
* the foreign context stack.
|
|
387
|
+
* @param implied Whether this close is implied (not from an explicit end tag).
|
|
388
|
+
*/
|
|
389
|
+
popElement(implied) {
|
|
390
|
+
// biome-ignore lint/style/noNonNullAssertion: The element is guaranteed to exist.
|
|
391
|
+
const element = this.stack.shift();
|
|
392
|
+
if (this.htmlMode &&
|
|
393
|
+
(foreignContextElements.has(element) ||
|
|
394
|
+
htmlIntegrationElements.has(element))) {
|
|
395
|
+
this.foreignContext.shift();
|
|
396
|
+
}
|
|
397
|
+
this.cbs.onclosetag?.(element, implied);
|
|
398
|
+
}
|
|
399
|
+
closeCurrentTag(isOpenImplied) {
|
|
400
|
+
const name = this.tagname;
|
|
401
|
+
this.endOpenTag(isOpenImplied);
|
|
402
|
+
// Self-closing tags will be on the top of the stack
|
|
403
|
+
if (this.stack[0] === name) {
|
|
404
|
+
this.popElement(!isOpenImplied);
|
|
405
|
+
}
|
|
406
|
+
}
|
|
407
|
+
/**
|
|
408
|
+
* @param start Start index for the current parser event.
|
|
409
|
+
* @param endIndex End index for the current parser event.
|
|
410
|
+
* @internal
|
|
411
|
+
*/
|
|
412
|
+
onattribname(start, endIndex) {
|
|
413
|
+
this.startIndex = start;
|
|
414
|
+
const name = this.getSlice(start, endIndex);
|
|
415
|
+
this.attribname = this.lowerCaseAttributeNames
|
|
416
|
+
? name.toLowerCase()
|
|
417
|
+
: name;
|
|
418
|
+
}
|
|
419
|
+
/**
|
|
420
|
+
* @param start Start index for the current parser event.
|
|
421
|
+
* @param endIndex End index for the current parser event.
|
|
422
|
+
* @internal
|
|
423
|
+
*/
|
|
424
|
+
onattribdata(start, endIndex) {
|
|
425
|
+
this.attribvalue += this.getSlice(start, endIndex);
|
|
426
|
+
}
|
|
427
|
+
/**
|
|
428
|
+
* @param cp Current Unicode code point.
|
|
429
|
+
* @internal
|
|
430
|
+
*/
|
|
431
|
+
onattribentity(cp) {
|
|
432
|
+
this.attribvalue += fromCodePoint(cp);
|
|
433
|
+
}
|
|
434
|
+
/**
|
|
435
|
+
* @param quote Quote type used for the current attribute.
|
|
436
|
+
* @param endIndex End index for the current parser event.
|
|
437
|
+
* @internal
|
|
438
|
+
*/
|
|
439
|
+
onattribend(quote, endIndex) {
|
|
440
|
+
this.endIndex = endIndex;
|
|
441
|
+
this.cbs.onattribute?.(this.attribname, this.attribvalue, quote === QuoteType.Double
|
|
442
|
+
? '"'
|
|
443
|
+
: quote === QuoteType.Single
|
|
444
|
+
? "'"
|
|
445
|
+
: quote === QuoteType.NoValue
|
|
446
|
+
? undefined
|
|
447
|
+
: null);
|
|
448
|
+
if (this.attribs && !Object.hasOwn(this.attribs, this.attribname)) {
|
|
449
|
+
this.attribs[this.attribname] = this.attribvalue;
|
|
450
|
+
}
|
|
451
|
+
this.attribvalue = "";
|
|
452
|
+
}
|
|
453
|
+
getInstructionName(value) {
|
|
454
|
+
const index = value.search(reNameEnd);
|
|
455
|
+
let name = index < 0 ? value : value.substr(0, index);
|
|
456
|
+
if (this.lowerCaseTagNames) {
|
|
457
|
+
name = name.toLowerCase();
|
|
458
|
+
}
|
|
459
|
+
return name;
|
|
460
|
+
}
|
|
461
|
+
/**
|
|
462
|
+
* @param start Start index for the current parser event.
|
|
463
|
+
* @param endIndex End index for the current parser event.
|
|
464
|
+
* @internal
|
|
465
|
+
*/
|
|
466
|
+
ondeclaration(start, endIndex) {
|
|
467
|
+
this.endIndex = endIndex;
|
|
468
|
+
const value = this.getSlice(start, endIndex);
|
|
469
|
+
if (this.cbs.onprocessinginstruction) {
|
|
470
|
+
/*
|
|
471
|
+
* In HTML mode, ondeclaration is only reached for DOCTYPE
|
|
472
|
+
* (the tokenizer routes everything else to bogus comments).
|
|
473
|
+
*/
|
|
474
|
+
const name = this.htmlMode
|
|
475
|
+
? this.lowerCaseTagNames
|
|
476
|
+
? DOCUMENT_TYPE
|
|
477
|
+
: value.slice(0, DOCUMENT_TYPE.length)
|
|
478
|
+
: this.getInstructionName(value);
|
|
479
|
+
this.cbs.onprocessinginstruction(`!${name}`, `!${value}`);
|
|
480
|
+
}
|
|
481
|
+
// Set `startIndex` for next node
|
|
482
|
+
this.startIndex = endIndex + 1;
|
|
483
|
+
}
|
|
484
|
+
/**
|
|
485
|
+
* @param start Start index for the current parser event.
|
|
486
|
+
* @param endIndex End index for the current parser event.
|
|
487
|
+
* @internal
|
|
488
|
+
*/
|
|
489
|
+
onprocessinginstruction(start, endIndex) {
|
|
490
|
+
this.endIndex = endIndex;
|
|
491
|
+
const value = this.getSlice(start, endIndex);
|
|
492
|
+
if (this.cbs.onprocessinginstruction) {
|
|
493
|
+
const name = this.getInstructionName(value);
|
|
494
|
+
this.cbs.onprocessinginstruction(`?${name}`, `?${value}`);
|
|
495
|
+
}
|
|
496
|
+
// Set `startIndex` for next node
|
|
497
|
+
this.startIndex = endIndex + 1;
|
|
498
|
+
}
|
|
499
|
+
/**
|
|
500
|
+
* @param start Start index for the current parser event.
|
|
501
|
+
* @param endIndex End index for the current parser event.
|
|
502
|
+
* @param offset Offset applied when computing parser indices.
|
|
503
|
+
* @internal
|
|
504
|
+
*/
|
|
505
|
+
oncomment(start, endIndex, offset) {
|
|
506
|
+
this.endIndex = endIndex;
|
|
507
|
+
this.cbs.oncomment?.(this.getSlice(start, endIndex - offset));
|
|
508
|
+
this.cbs.oncommentend?.();
|
|
509
|
+
// Set `startIndex` for next node
|
|
510
|
+
this.startIndex = endIndex + 1;
|
|
511
|
+
}
|
|
512
|
+
/**
|
|
513
|
+
* @param start Start index for the current parser event.
|
|
514
|
+
* @param endIndex End index for the current parser event.
|
|
515
|
+
* @param offset Offset applied when computing parser indices.
|
|
516
|
+
* @internal
|
|
517
|
+
*/
|
|
518
|
+
oncdata(start, endIndex, offset) {
|
|
519
|
+
this.endIndex = endIndex;
|
|
520
|
+
const value = this.getSlice(start, endIndex - offset);
|
|
521
|
+
if (!this.htmlMode || this.options.recognizeCDATA) {
|
|
522
|
+
this.cbs.oncdatastart?.();
|
|
523
|
+
this.cbs.ontext?.(value);
|
|
524
|
+
this.cbs.oncdataend?.();
|
|
525
|
+
}
|
|
526
|
+
else if (this.isInForeignContext()) {
|
|
527
|
+
this.cbs.ontext?.(value);
|
|
528
|
+
}
|
|
529
|
+
else {
|
|
530
|
+
this.cbs.oncomment?.(`[CDATA[${value}]]`);
|
|
531
|
+
this.cbs.oncommentend?.();
|
|
532
|
+
}
|
|
533
|
+
// Set `startIndex` for next node
|
|
534
|
+
this.startIndex = endIndex + 1;
|
|
535
|
+
}
|
|
536
|
+
/** @internal */
|
|
537
|
+
onend() {
|
|
538
|
+
if (this.cbs.onclosetag) {
|
|
539
|
+
// Set the end index for all remaining tags
|
|
540
|
+
this.endIndex = this.startIndex;
|
|
541
|
+
for (let index = 0; index < this.stack.length; index++) {
|
|
542
|
+
this.cbs.onclosetag(this.stack[index], true);
|
|
543
|
+
}
|
|
544
|
+
}
|
|
545
|
+
this.cbs.onend?.();
|
|
546
|
+
}
|
|
547
|
+
/**
|
|
548
|
+
* Resets the parser to a blank state, ready to parse a new HTML document
|
|
549
|
+
*/
|
|
550
|
+
reset() {
|
|
551
|
+
this.cbs.onreset?.();
|
|
552
|
+
this.tokenizer.reset();
|
|
553
|
+
this.tagname = "";
|
|
554
|
+
this.attribname = "";
|
|
555
|
+
this.attribvalue = "";
|
|
556
|
+
this.attribs = null;
|
|
557
|
+
this.stack.length = 0;
|
|
558
|
+
this.startIndex = 0;
|
|
559
|
+
this.endIndex = 0;
|
|
560
|
+
this.cbs.onparserinit?.(this);
|
|
561
|
+
this.buffers.length = 0;
|
|
562
|
+
this.foreignContext.length = 0;
|
|
563
|
+
this.foreignContext.unshift(ForeignContext.None);
|
|
564
|
+
this.bufferOffset = 0;
|
|
565
|
+
this.writeIndex = 0;
|
|
566
|
+
this.ended = false;
|
|
567
|
+
}
|
|
568
|
+
/**
|
|
569
|
+
* Resets the parser, then parses a complete document and
|
|
570
|
+
* pushes it to the handler.
|
|
571
|
+
* @param data Document to parse.
|
|
572
|
+
*/
|
|
573
|
+
parseComplete(data) {
|
|
574
|
+
this.reset();
|
|
575
|
+
this.end(data);
|
|
576
|
+
}
|
|
577
|
+
getSlice(start, end) {
|
|
578
|
+
if (start === end) {
|
|
579
|
+
return "";
|
|
580
|
+
}
|
|
581
|
+
while (start - this.bufferOffset >= this.buffers[0].length) {
|
|
582
|
+
this.shiftBuffer();
|
|
583
|
+
}
|
|
584
|
+
let slice = this.buffers[0].slice(start - this.bufferOffset, end - this.bufferOffset);
|
|
585
|
+
while (end - this.bufferOffset > this.buffers[0].length) {
|
|
586
|
+
this.shiftBuffer();
|
|
587
|
+
slice += this.buffers[0].slice(0, end - this.bufferOffset);
|
|
588
|
+
}
|
|
589
|
+
return slice;
|
|
590
|
+
}
|
|
591
|
+
shiftBuffer() {
|
|
592
|
+
this.bufferOffset += this.buffers[0].length;
|
|
593
|
+
this.writeIndex--;
|
|
594
|
+
this.buffers.shift();
|
|
595
|
+
}
|
|
596
|
+
/**
|
|
597
|
+
* Parses a chunk of data and calls the corresponding callbacks.
|
|
598
|
+
* @param chunk Chunk to parse.
|
|
599
|
+
*/
|
|
600
|
+
write(chunk) {
|
|
601
|
+
if (this.ended) {
|
|
602
|
+
this.cbs.onerror?.(new Error(".write() after done!"));
|
|
603
|
+
return;
|
|
604
|
+
}
|
|
605
|
+
this.buffers.push(chunk);
|
|
606
|
+
if (this.tokenizer.running) {
|
|
607
|
+
this.tokenizer.write(chunk);
|
|
608
|
+
this.writeIndex++;
|
|
609
|
+
}
|
|
610
|
+
}
|
|
611
|
+
/**
|
|
612
|
+
* Parses the end of the buffer and clears the stack, calls onend.
|
|
613
|
+
* @param chunk Optional final chunk to parse.
|
|
614
|
+
*/
|
|
615
|
+
end(chunk) {
|
|
616
|
+
if (this.ended) {
|
|
617
|
+
this.cbs.onerror?.(new Error(".end() after done!"));
|
|
618
|
+
return;
|
|
619
|
+
}
|
|
620
|
+
if (chunk)
|
|
621
|
+
this.write(chunk);
|
|
622
|
+
this.ended = true;
|
|
623
|
+
this.tokenizer.end();
|
|
624
|
+
}
|
|
625
|
+
/**
|
|
626
|
+
* Pauses parsing. The parser won't emit events until `resume` is called.
|
|
627
|
+
*/
|
|
628
|
+
pause() {
|
|
629
|
+
this.tokenizer.pause();
|
|
630
|
+
}
|
|
631
|
+
/**
|
|
632
|
+
* Resumes parsing after `pause` was called.
|
|
633
|
+
*/
|
|
634
|
+
resume() {
|
|
635
|
+
this.tokenizer.resume();
|
|
636
|
+
while (this.tokenizer.running &&
|
|
637
|
+
this.writeIndex < this.buffers.length) {
|
|
638
|
+
this.tokenizer.write(this.buffers[this.writeIndex++]);
|
|
639
|
+
}
|
|
640
|
+
if (this.ended)
|
|
641
|
+
this.tokeniz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