@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.
- package/lib/daemon/DaemonClient.d.ts.map +1 -1
- package/lib/daemon/DaemonClient.js +3 -0
- package/lib/daemon/DaemonClient.js.map +1 -1
- 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/lib/logger/src/LoggerConfigBuilder.d.ts +1 -0
- package/node_modules/@zowe/imperative/lib/logger/src/LoggerConfigBuilder.d.ts.map +1 -1
- package/node_modules/@zowe/imperative/lib/logger/src/LoggerConfigBuilder.js +2 -0
- package/node_modules/@zowe/imperative/lib/logger/src/LoggerConfigBuilder.js.map +1 -1
- package/node_modules/@zowe/imperative/lib/logger/src/log4jsToWinston.d.ts +1 -0
- package/node_modules/@zowe/imperative/lib/logger/src/log4jsToWinston.d.ts.map +1 -1
- package/node_modules/@zowe/imperative/lib/logger/src/log4jsToWinston.js +11 -3
- package/node_modules/@zowe/imperative/lib/logger/src/log4jsToWinston.js.map +1 -1
- package/node_modules/@zowe/imperative/lib/utilities/src/TextUtils.d.ts.map +1 -1
- package/node_modules/@zowe/imperative/lib/utilities/src/TextUtils.js +25 -0
- package/node_modules/@zowe/imperative/lib/utilities/src/TextUtils.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
|
@@ -1,554 +0,0 @@
|
|
|
1
|
-
import { fromCodePoint, replaceCodePoint } from "./decode-codepoint.js";
|
|
2
|
-
import { htmlDecodeTree } from "./generated/decode-data-html.js";
|
|
3
|
-
import { xmlDecodeTree } from "./generated/decode-data-xml.js";
|
|
4
|
-
import { BinTrieFlags } from "./internal/bin-trie-flags.js";
|
|
5
|
-
var CharCodes;
|
|
6
|
-
(function (CharCodes) {
|
|
7
|
-
CharCodes[CharCodes["NUM"] = 35] = "NUM";
|
|
8
|
-
CharCodes[CharCodes["SEMI"] = 59] = "SEMI";
|
|
9
|
-
CharCodes[CharCodes["EQUALS"] = 61] = "EQUALS";
|
|
10
|
-
CharCodes[CharCodes["ZERO"] = 48] = "ZERO";
|
|
11
|
-
CharCodes[CharCodes["NINE"] = 57] = "NINE";
|
|
12
|
-
CharCodes[CharCodes["LOWER_A"] = 97] = "LOWER_A";
|
|
13
|
-
CharCodes[CharCodes["LOWER_F"] = 102] = "LOWER_F";
|
|
14
|
-
CharCodes[CharCodes["LOWER_X"] = 120] = "LOWER_X";
|
|
15
|
-
CharCodes[CharCodes["LOWER_Z"] = 122] = "LOWER_Z";
|
|
16
|
-
CharCodes[CharCodes["UPPER_A"] = 65] = "UPPER_A";
|
|
17
|
-
CharCodes[CharCodes["UPPER_F"] = 70] = "UPPER_F";
|
|
18
|
-
CharCodes[CharCodes["UPPER_Z"] = 90] = "UPPER_Z";
|
|
19
|
-
})(CharCodes || (CharCodes = {}));
|
|
20
|
-
/** Bit that needs to be set to convert an upper case ASCII character to lower case */
|
|
21
|
-
const TO_LOWER_BIT = 32;
|
|
22
|
-
function isNumber(code) {
|
|
23
|
-
return code >= CharCodes.ZERO && code <= CharCodes.NINE;
|
|
24
|
-
}
|
|
25
|
-
function isHexadecimalCharacter(code) {
|
|
26
|
-
return ((code >= CharCodes.UPPER_A && code <= CharCodes.UPPER_F) ||
|
|
27
|
-
(code >= CharCodes.LOWER_A && code <= CharCodes.LOWER_F));
|
|
28
|
-
}
|
|
29
|
-
function isAsciiAlphaNumeric(code) {
|
|
30
|
-
return ((code >= CharCodes.UPPER_A && code <= CharCodes.UPPER_Z) ||
|
|
31
|
-
(code >= CharCodes.LOWER_A && code <= CharCodes.LOWER_Z) ||
|
|
32
|
-
isNumber(code));
|
|
33
|
-
}
|
|
34
|
-
/**
|
|
35
|
-
* Checks if the given character is a valid end character for an entity in an attribute.
|
|
36
|
-
*
|
|
37
|
-
* Attribute values that aren't terminated properly aren't parsed, and shouldn't lead to a parser error.
|
|
38
|
-
* See the example in https://html.spec.whatwg.org/multipage/parsing.html#named-character-reference-state
|
|
39
|
-
*/
|
|
40
|
-
function isEntityInAttributeInvalidEnd(code) {
|
|
41
|
-
return code === CharCodes.EQUALS || isAsciiAlphaNumeric(code);
|
|
42
|
-
}
|
|
43
|
-
var EntityDecoderState;
|
|
44
|
-
(function (EntityDecoderState) {
|
|
45
|
-
EntityDecoderState[EntityDecoderState["EntityStart"] = 0] = "EntityStart";
|
|
46
|
-
EntityDecoderState[EntityDecoderState["NumericStart"] = 1] = "NumericStart";
|
|
47
|
-
EntityDecoderState[EntityDecoderState["NumericDecimal"] = 2] = "NumericDecimal";
|
|
48
|
-
EntityDecoderState[EntityDecoderState["NumericHex"] = 3] = "NumericHex";
|
|
49
|
-
EntityDecoderState[EntityDecoderState["NamedEntity"] = 4] = "NamedEntity";
|
|
50
|
-
})(EntityDecoderState || (EntityDecoderState = {}));
|
|
51
|
-
export var DecodingMode;
|
|
52
|
-
(function (DecodingMode) {
|
|
53
|
-
/** Entities in text nodes that can end with any character. */
|
|
54
|
-
DecodingMode[DecodingMode["Legacy"] = 0] = "Legacy";
|
|
55
|
-
/** Only allow entities terminated with a semicolon. */
|
|
56
|
-
DecodingMode[DecodingMode["Strict"] = 1] = "Strict";
|
|
57
|
-
/** Entities in attributes have limitations on ending characters. */
|
|
58
|
-
DecodingMode[DecodingMode["Attribute"] = 2] = "Attribute";
|
|
59
|
-
})(DecodingMode || (DecodingMode = {}));
|
|
60
|
-
/**
|
|
61
|
-
* Token decoder with support of writing partial entities.
|
|
62
|
-
*/
|
|
63
|
-
export class EntityDecoder {
|
|
64
|
-
constructor(
|
|
65
|
-
/** The tree used to decode entities. */
|
|
66
|
-
// biome-ignore lint/correctness/noUnusedPrivateClassMembers: False positive
|
|
67
|
-
decodeTree,
|
|
68
|
-
/**
|
|
69
|
-
* The function that is called when a codepoint is decoded.
|
|
70
|
-
*
|
|
71
|
-
* For multi-byte named entities, this will be called multiple times,
|
|
72
|
-
* with the second codepoint, and the same `consumed` value.
|
|
73
|
-
*
|
|
74
|
-
* @param codepoint The decoded codepoint.
|
|
75
|
-
* @param consumed The number of bytes consumed by the decoder.
|
|
76
|
-
*/
|
|
77
|
-
emitCodePoint,
|
|
78
|
-
/** An object that is used to produce errors. */
|
|
79
|
-
errors) {
|
|
80
|
-
this.decodeTree = decodeTree;
|
|
81
|
-
this.emitCodePoint = emitCodePoint;
|
|
82
|
-
this.errors = errors;
|
|
83
|
-
/** The current state of the decoder. */
|
|
84
|
-
this.state = EntityDecoderState.EntityStart;
|
|
85
|
-
/** Characters that were consumed while parsing an entity. */
|
|
86
|
-
this.consumed = 1;
|
|
87
|
-
/**
|
|
88
|
-
* The result of the entity.
|
|
89
|
-
*
|
|
90
|
-
* Either the result index of a numeric entity, or the codepoint of a
|
|
91
|
-
* numeric entity.
|
|
92
|
-
*/
|
|
93
|
-
this.result = 0;
|
|
94
|
-
/** The current index in the decode tree. */
|
|
95
|
-
this.treeIndex = 0;
|
|
96
|
-
/** The number of characters that were consumed in excess. */
|
|
97
|
-
this.excess = 1;
|
|
98
|
-
/** The mode in which the decoder is operating. */
|
|
99
|
-
this.decodeMode = DecodingMode.Strict;
|
|
100
|
-
/** The number of characters that have been consumed in the current run. */
|
|
101
|
-
this.runConsumed = 0;
|
|
102
|
-
}
|
|
103
|
-
/** Resets the instance to make it reusable. */
|
|
104
|
-
startEntity(decodeMode) {
|
|
105
|
-
this.decodeMode = decodeMode;
|
|
106
|
-
this.state = EntityDecoderState.EntityStart;
|
|
107
|
-
this.result = 0;
|
|
108
|
-
this.treeIndex = 0;
|
|
109
|
-
this.excess = 1;
|
|
110
|
-
this.consumed = 1;
|
|
111
|
-
this.runConsumed = 0;
|
|
112
|
-
}
|
|
113
|
-
/**
|
|
114
|
-
* Write an entity to the decoder. This can be called multiple times with partial entities.
|
|
115
|
-
* If the entity is incomplete, the decoder will return -1.
|
|
116
|
-
*
|
|
117
|
-
* Mirrors the implementation of `getDecoder`, but with the ability to stop decoding if the
|
|
118
|
-
* entity is incomplete, and resume when the next string is written.
|
|
119
|
-
*
|
|
120
|
-
* @param input The string containing the entity (or a continuation of the entity).
|
|
121
|
-
* @param offset The offset at which the entity begins. Should be 0 if this is not the first call.
|
|
122
|
-
* @returns The number of characters that were consumed, or -1 if the entity is incomplete.
|
|
123
|
-
*/
|
|
124
|
-
write(input, offset) {
|
|
125
|
-
switch (this.state) {
|
|
126
|
-
case EntityDecoderState.EntityStart: {
|
|
127
|
-
if (input.charCodeAt(offset) === CharCodes.NUM) {
|
|
128
|
-
this.state = EntityDecoderState.NumericStart;
|
|
129
|
-
this.consumed += 1;
|
|
130
|
-
return this.stateNumericStart(input, offset + 1);
|
|
131
|
-
}
|
|
132
|
-
this.state = EntityDecoderState.NamedEntity;
|
|
133
|
-
return this.stateNamedEntity(input, offset);
|
|
134
|
-
}
|
|
135
|
-
case EntityDecoderState.NumericStart: {
|
|
136
|
-
return this.stateNumericStart(input, offset);
|
|
137
|
-
}
|
|
138
|
-
case EntityDecoderState.NumericDecimal: {
|
|
139
|
-
return this.stateNumericDecimal(input, offset);
|
|
140
|
-
}
|
|
141
|
-
case EntityDecoderState.NumericHex: {
|
|
142
|
-
return this.stateNumericHex(input, offset);
|
|
143
|
-
}
|
|
144
|
-
case EntityDecoderState.NamedEntity: {
|
|
145
|
-
return this.stateNamedEntity(input, offset);
|
|
146
|
-
}
|
|
147
|
-
}
|
|
148
|
-
}
|
|
149
|
-
/**
|
|
150
|
-
* Switches between the numeric decimal and hexadecimal states.
|
|
151
|
-
*
|
|
152
|
-
* Equivalent to the `Numeric character reference state` in the HTML spec.
|
|
153
|
-
*
|
|
154
|
-
* @param input The string containing the entity (or a continuation of the entity).
|
|
155
|
-
* @param offset The current offset.
|
|
156
|
-
* @returns The number of characters that were consumed, or -1 if the entity is incomplete.
|
|
157
|
-
*/
|
|
158
|
-
stateNumericStart(input, offset) {
|
|
159
|
-
if (offset >= input.length) {
|
|
160
|
-
return -1;
|
|
161
|
-
}
|
|
162
|
-
if ((input.charCodeAt(offset) | TO_LOWER_BIT) === CharCodes.LOWER_X) {
|
|
163
|
-
this.state = EntityDecoderState.NumericHex;
|
|
164
|
-
this.consumed += 1;
|
|
165
|
-
return this.stateNumericHex(input, offset + 1);
|
|
166
|
-
}
|
|
167
|
-
this.state = EntityDecoderState.NumericDecimal;
|
|
168
|
-
return this.stateNumericDecimal(input, offset);
|
|
169
|
-
}
|
|
170
|
-
/**
|
|
171
|
-
* Parses a hexadecimal numeric entity.
|
|
172
|
-
*
|
|
173
|
-
* Equivalent to the `Hexademical character reference state` in the HTML spec.
|
|
174
|
-
*
|
|
175
|
-
* @param input The string containing the entity (or a continuation of the entity).
|
|
176
|
-
* @param offset The current offset.
|
|
177
|
-
* @returns The number of characters that were consumed, or -1 if the entity is incomplete.
|
|
178
|
-
*/
|
|
179
|
-
stateNumericHex(input, offset) {
|
|
180
|
-
while (offset < input.length) {
|
|
181
|
-
const char = input.charCodeAt(offset);
|
|
182
|
-
if (isNumber(char) || isHexadecimalCharacter(char)) {
|
|
183
|
-
// Convert hex digit to value (0-15); 'a'/'A' -> 10.
|
|
184
|
-
const digit = char <= CharCodes.NINE
|
|
185
|
-
? char - CharCodes.ZERO
|
|
186
|
-
: (char | TO_LOWER_BIT) - CharCodes.LOWER_A + 10;
|
|
187
|
-
this.result = this.result * 16 + digit;
|
|
188
|
-
this.consumed++;
|
|
189
|
-
offset++;
|
|
190
|
-
}
|
|
191
|
-
else {
|
|
192
|
-
return this.emitNumericEntity(char, 3);
|
|
193
|
-
}
|
|
194
|
-
}
|
|
195
|
-
return -1; // Incomplete entity
|
|
196
|
-
}
|
|
197
|
-
/**
|
|
198
|
-
* Parses a decimal numeric entity.
|
|
199
|
-
*
|
|
200
|
-
* Equivalent to the `Decimal character reference state` in the HTML spec.
|
|
201
|
-
*
|
|
202
|
-
* @param input The string containing the entity (or a continuation of the entity).
|
|
203
|
-
* @param offset The current offset.
|
|
204
|
-
* @returns The number of characters that were consumed, or -1 if the entity is incomplete.
|
|
205
|
-
*/
|
|
206
|
-
stateNumericDecimal(input, offset) {
|
|
207
|
-
while (offset < input.length) {
|
|
208
|
-
const char = input.charCodeAt(offset);
|
|
209
|
-
if (isNumber(char)) {
|
|
210
|
-
this.result = this.result * 10 + (char - CharCodes.ZERO);
|
|
211
|
-
this.consumed++;
|
|
212
|
-
offset++;
|
|
213
|
-
}
|
|
214
|
-
else {
|
|
215
|
-
return this.emitNumericEntity(char, 2);
|
|
216
|
-
}
|
|
217
|
-
}
|
|
218
|
-
return -1; // Incomplete entity
|
|
219
|
-
}
|
|
220
|
-
/**
|
|
221
|
-
* Validate and emit a numeric entity.
|
|
222
|
-
*
|
|
223
|
-
* Implements the logic from the `Hexademical character reference start
|
|
224
|
-
* state` and `Numeric character reference end state` in the HTML spec.
|
|
225
|
-
*
|
|
226
|
-
* @param lastCp The last code point of the entity. Used to see if the
|
|
227
|
-
* entity was terminated with a semicolon.
|
|
228
|
-
* @param expectedLength The minimum number of characters that should be
|
|
229
|
-
* consumed. Used to validate that at least one digit
|
|
230
|
-
* was consumed.
|
|
231
|
-
* @returns The number of characters that were consumed.
|
|
232
|
-
*/
|
|
233
|
-
emitNumericEntity(lastCp, expectedLength) {
|
|
234
|
-
var _a;
|
|
235
|
-
// Ensure we consumed at least one digit.
|
|
236
|
-
if (this.consumed <= expectedLength) {
|
|
237
|
-
(_a = this.errors) === null || _a === void 0 ? void 0 : _a.absenceOfDigitsInNumericCharacterReference(this.consumed);
|
|
238
|
-
return 0;
|
|
239
|
-
}
|
|
240
|
-
// Figure out if this is a legit end of the entity
|
|
241
|
-
if (lastCp === CharCodes.SEMI) {
|
|
242
|
-
this.consumed += 1;
|
|
243
|
-
}
|
|
244
|
-
else if (this.decodeMode === DecodingMode.Strict) {
|
|
245
|
-
return 0;
|
|
246
|
-
}
|
|
247
|
-
this.emitCodePoint(replaceCodePoint(this.result), this.consumed);
|
|
248
|
-
if (this.errors) {
|
|
249
|
-
if (lastCp !== CharCodes.SEMI) {
|
|
250
|
-
this.errors.missingSemicolonAfterCharacterReference();
|
|
251
|
-
}
|
|
252
|
-
this.errors.validateNumericCharacterReference(this.result);
|
|
253
|
-
}
|
|
254
|
-
return this.consumed;
|
|
255
|
-
}
|
|
256
|
-
/**
|
|
257
|
-
* Parses a named entity.
|
|
258
|
-
*
|
|
259
|
-
* Equivalent to the `Named character reference state` in the HTML spec.
|
|
260
|
-
*
|
|
261
|
-
* @param input The string containing the entity (or a continuation of the entity).
|
|
262
|
-
* @param offset The current offset.
|
|
263
|
-
* @returns The number of characters that were consumed, or -1 if the entity is incomplete.
|
|
264
|
-
*/
|
|
265
|
-
stateNamedEntity(input, offset) {
|
|
266
|
-
const { decodeTree } = this;
|
|
267
|
-
let current = decodeTree[this.treeIndex];
|
|
268
|
-
// The length is the number of bytes of the value, including the current byte.
|
|
269
|
-
let valueLength = (current & BinTrieFlags.VALUE_LENGTH) >> 14;
|
|
270
|
-
while (offset < input.length) {
|
|
271
|
-
// Handle compact runs (possibly inline): valueLength == 0 and SEMI_REQUIRED bit set.
|
|
272
|
-
if (valueLength === 0 && (current & BinTrieFlags.FLAG13) !== 0) {
|
|
273
|
-
const runLength = (current & BinTrieFlags.BRANCH_LENGTH) >> 7; /* 2..63 */
|
|
274
|
-
// If we are starting a run, check the first char.
|
|
275
|
-
if (this.runConsumed === 0) {
|
|
276
|
-
const firstChar = current & BinTrieFlags.JUMP_TABLE;
|
|
277
|
-
if (input.charCodeAt(offset) !== firstChar) {
|
|
278
|
-
return this.result === 0
|
|
279
|
-
? 0
|
|
280
|
-
: this.emitNotTerminatedNamedEntity();
|
|
281
|
-
}
|
|
282
|
-
offset++;
|
|
283
|
-
this.excess++;
|
|
284
|
-
this.runConsumed++;
|
|
285
|
-
}
|
|
286
|
-
// Check remaining characters in the run.
|
|
287
|
-
while (this.runConsumed < runLength) {
|
|
288
|
-
if (offset >= input.length) {
|
|
289
|
-
return -1;
|
|
290
|
-
}
|
|
291
|
-
const charIndexInPacked = this.runConsumed - 1;
|
|
292
|
-
const packedWord = decodeTree[this.treeIndex + 1 + (charIndexInPacked >> 1)];
|
|
293
|
-
const expectedChar = charIndexInPacked % 2 === 0
|
|
294
|
-
? packedWord & 0xff
|
|
295
|
-
: (packedWord >> 8) & 0xff;
|
|
296
|
-
if (input.charCodeAt(offset) !== expectedChar) {
|
|
297
|
-
this.runConsumed = 0;
|
|
298
|
-
return this.result === 0
|
|
299
|
-
? 0
|
|
300
|
-
: this.emitNotTerminatedNamedEntity();
|
|
301
|
-
}
|
|
302
|
-
offset++;
|
|
303
|
-
this.excess++;
|
|
304
|
-
this.runConsumed++;
|
|
305
|
-
}
|
|
306
|
-
this.runConsumed = 0;
|
|
307
|
-
this.treeIndex += 1 + (runLength >> 1);
|
|
308
|
-
current = decodeTree[this.treeIndex];
|
|
309
|
-
valueLength = (current & BinTrieFlags.VALUE_LENGTH) >> 14;
|
|
310
|
-
}
|
|
311
|
-
if (offset >= input.length)
|
|
312
|
-
break;
|
|
313
|
-
const char = input.charCodeAt(offset);
|
|
314
|
-
/*
|
|
315
|
-
* Implicit semicolon handling for nodes that require a semicolon but
|
|
316
|
-
* don't have an explicit ';' branch stored in the trie. If we have
|
|
317
|
-
* a value on the current node, it requires a semicolon, and the
|
|
318
|
-
* current input character is a semicolon, emit the entity using the
|
|
319
|
-
* current node (without descending further).
|
|
320
|
-
*/
|
|
321
|
-
if (char === CharCodes.SEMI &&
|
|
322
|
-
valueLength !== 0 &&
|
|
323
|
-
(current & BinTrieFlags.FLAG13) !== 0) {
|
|
324
|
-
return this.emitNamedEntityData(this.treeIndex, valueLength, this.consumed + this.excess);
|
|
325
|
-
}
|
|
326
|
-
this.treeIndex = determineBranch(decodeTree, current, this.treeIndex + Math.max(1, valueLength), char);
|
|
327
|
-
if (this.treeIndex < 0) {
|
|
328
|
-
return this.result === 0 ||
|
|
329
|
-
// If we are parsing an attribute
|
|
330
|
-
(this.decodeMode === DecodingMode.Attribute &&
|
|
331
|
-
// We shouldn't have consumed any characters after the entity,
|
|
332
|
-
(valueLength === 0 ||
|
|
333
|
-
// And there should be no invalid characters.
|
|
334
|
-
isEntityInAttributeInvalidEnd(char)))
|
|
335
|
-
? 0
|
|
336
|
-
: this.emitNotTerminatedNamedEntity();
|
|
337
|
-
}
|
|
338
|
-
current = decodeTree[this.treeIndex];
|
|
339
|
-
valueLength = (current & BinTrieFlags.VALUE_LENGTH) >> 14;
|
|
340
|
-
// If the branch is a value, store it and continue
|
|
341
|
-
if (valueLength !== 0) {
|
|
342
|
-
// If the entity is terminated by a semicolon, we are done.
|
|
343
|
-
if (char === CharCodes.SEMI) {
|
|
344
|
-
return this.emitNamedEntityData(this.treeIndex, valueLength, this.consumed + this.excess);
|
|
345
|
-
}
|
|
346
|
-
// If we encounter a non-terminated (legacy) entity while parsing strictly, then ignore it.
|
|
347
|
-
if (this.decodeMode !== DecodingMode.Strict &&
|
|
348
|
-
(current & BinTrieFlags.FLAG13) === 0) {
|
|
349
|
-
this.result = this.treeIndex;
|
|
350
|
-
this.consumed += this.excess;
|
|
351
|
-
this.excess = 0;
|
|
352
|
-
}
|
|
353
|
-
}
|
|
354
|
-
// Increment offset & excess for next iteration
|
|
355
|
-
offset++;
|
|
356
|
-
this.excess++;
|
|
357
|
-
}
|
|
358
|
-
return -1;
|
|
359
|
-
}
|
|
360
|
-
/**
|
|
361
|
-
* Emit a named entity that was not terminated with a semicolon.
|
|
362
|
-
*
|
|
363
|
-
* @returns The number of characters consumed.
|
|
364
|
-
*/
|
|
365
|
-
emitNotTerminatedNamedEntity() {
|
|
366
|
-
var _a;
|
|
367
|
-
const { result, decodeTree } = this;
|
|
368
|
-
const valueLength = (decodeTree[result] & BinTrieFlags.VALUE_LENGTH) >> 14;
|
|
369
|
-
this.emitNamedEntityData(result, valueLength, this.consumed);
|
|
370
|
-
(_a = this.errors) === null || _a === void 0 ? void 0 : _a.missingSemicolonAfterCharacterReference();
|
|
371
|
-
return this.consumed;
|
|
372
|
-
}
|
|
373
|
-
/**
|
|
374
|
-
* Emit a named entity.
|
|
375
|
-
*
|
|
376
|
-
* @param result The index of the entity in the decode tree.
|
|
377
|
-
* @param valueLength The number of bytes in the entity.
|
|
378
|
-
* @param consumed The number of characters consumed.
|
|
379
|
-
*
|
|
380
|
-
* @returns The number of characters consumed.
|
|
381
|
-
*/
|
|
382
|
-
emitNamedEntityData(result, valueLength, consumed) {
|
|
383
|
-
const { decodeTree } = this;
|
|
384
|
-
this.emitCodePoint(valueLength === 1
|
|
385
|
-
? decodeTree[result] &
|
|
386
|
-
~(BinTrieFlags.VALUE_LENGTH | BinTrieFlags.FLAG13)
|
|
387
|
-
: decodeTree[result + 1], consumed);
|
|
388
|
-
if (valueLength === 3) {
|
|
389
|
-
// For multi-byte values, we need to emit the second byte.
|
|
390
|
-
this.emitCodePoint(decodeTree[result + 2], consumed);
|
|
391
|
-
}
|
|
392
|
-
return consumed;
|
|
393
|
-
}
|
|
394
|
-
/**
|
|
395
|
-
* Signal to the parser that the end of the input was reached.
|
|
396
|
-
*
|
|
397
|
-
* Remaining data will be emitted and relevant errors will be produced.
|
|
398
|
-
*
|
|
399
|
-
* @returns The number of characters consumed.
|
|
400
|
-
*/
|
|
401
|
-
end() {
|
|
402
|
-
var _a;
|
|
403
|
-
switch (this.state) {
|
|
404
|
-
case EntityDecoderState.NamedEntity: {
|
|
405
|
-
// Emit a named entity if we have one.
|
|
406
|
-
return this.result !== 0 &&
|
|
407
|
-
(this.decodeMode !== DecodingMode.Attribute ||
|
|
408
|
-
this.result === this.treeIndex)
|
|
409
|
-
? this.emitNotTerminatedNamedEntity()
|
|
410
|
-
: 0;
|
|
411
|
-
}
|
|
412
|
-
// Otherwise, emit a numeric entity if we have one.
|
|
413
|
-
case EntityDecoderState.NumericDecimal: {
|
|
414
|
-
return this.emitNumericEntity(0, 2);
|
|
415
|
-
}
|
|
416
|
-
case EntityDecoderState.NumericHex: {
|
|
417
|
-
return this.emitNumericEntity(0, 3);
|
|
418
|
-
}
|
|
419
|
-
case EntityDecoderState.NumericStart: {
|
|
420
|
-
(_a = this.errors) === null || _a === void 0 ? void 0 : _a.absenceOfDigitsInNumericCharacterReference(this.consumed);
|
|
421
|
-
return 0;
|
|
422
|
-
}
|
|
423
|
-
case EntityDecoderState.EntityStart: {
|
|
424
|
-
// Return 0 if we have no entity.
|
|
425
|
-
return 0;
|
|
426
|
-
}
|
|
427
|
-
}
|
|
428
|
-
}
|
|
429
|
-
}
|
|
430
|
-
/**
|
|
431
|
-
* Creates a function that decodes entities in a string.
|
|
432
|
-
*
|
|
433
|
-
* @param decodeTree The decode tree.
|
|
434
|
-
* @returns A function that decodes entities in a string.
|
|
435
|
-
*/
|
|
436
|
-
function getDecoder(decodeTree) {
|
|
437
|
-
let returnValue = "";
|
|
438
|
-
const decoder = new EntityDecoder(decodeTree, (data) => (returnValue += fromCodePoint(data)));
|
|
439
|
-
return function decodeWithTrie(input, decodeMode) {
|
|
440
|
-
let lastIndex = 0;
|
|
441
|
-
let offset = 0;
|
|
442
|
-
while ((offset = input.indexOf("&", offset)) >= 0) {
|
|
443
|
-
returnValue += input.slice(lastIndex, offset);
|
|
444
|
-
decoder.startEntity(decodeMode);
|
|
445
|
-
const length = decoder.write(input,
|
|
446
|
-
// Skip the "&"
|
|
447
|
-
offset + 1);
|
|
448
|
-
if (length < 0) {
|
|
449
|
-
lastIndex = offset + decoder.end();
|
|
450
|
-
break;
|
|
451
|
-
}
|
|
452
|
-
lastIndex = offset + length;
|
|
453
|
-
// If `length` is 0, skip the current `&` and continue.
|
|
454
|
-
offset = length === 0 ? lastIndex + 1 : lastIndex;
|
|
455
|
-
}
|
|
456
|
-
const result = returnValue + input.slice(lastIndex);
|
|
457
|
-
// Make sure we don't keep a reference to the final string.
|
|
458
|
-
returnValue = "";
|
|
459
|
-
return result;
|
|
460
|
-
};
|
|
461
|
-
}
|
|
462
|
-
/**
|
|
463
|
-
* Determines the branch of the current node that is taken given the current
|
|
464
|
-
* character. This function is used to traverse the trie.
|
|
465
|
-
*
|
|
466
|
-
* @param decodeTree The trie.
|
|
467
|
-
* @param current The current node.
|
|
468
|
-
* @param nodeIdx The index right after the current node and its value.
|
|
469
|
-
* @param char The current character.
|
|
470
|
-
* @returns The index of the next node, or -1 if no branch is taken.
|
|
471
|
-
*/
|
|
472
|
-
export function determineBranch(decodeTree, current, nodeIndex, char) {
|
|
473
|
-
const branchCount = (current & BinTrieFlags.BRANCH_LENGTH) >> 7;
|
|
474
|
-
const jumpOffset = current & BinTrieFlags.JUMP_TABLE;
|
|
475
|
-
// Case 1: Single branch encoded in jump offset
|
|
476
|
-
if (branchCount === 0) {
|
|
477
|
-
return jumpOffset !== 0 && char === jumpOffset ? nodeIndex : -1;
|
|
478
|
-
}
|
|
479
|
-
// Case 2: Multiple branches encoded in jump table
|
|
480
|
-
if (jumpOffset) {
|
|
481
|
-
const value = char - jumpOffset;
|
|
482
|
-
return value < 0 || value >= branchCount
|
|
483
|
-
? -1
|
|
484
|
-
: decodeTree[nodeIndex + value] - 1;
|
|
485
|
-
}
|
|
486
|
-
// Case 3: Multiple branches encoded in packed dictionary (two keys per uint16)
|
|
487
|
-
const packedKeySlots = (branchCount + 1) >> 1;
|
|
488
|
-
/*
|
|
489
|
-
* Treat packed keys as a virtual sorted array of length `branchCount`.
|
|
490
|
-
* Key(i) = low byte for even i, high byte for odd i in slot i>>1.
|
|
491
|
-
*/
|
|
492
|
-
let lo = 0;
|
|
493
|
-
let hi = branchCount - 1;
|
|
494
|
-
while (lo <= hi) {
|
|
495
|
-
const mid = (lo + hi) >>> 1;
|
|
496
|
-
const slot = mid >> 1;
|
|
497
|
-
const packed = decodeTree[nodeIndex + slot];
|
|
498
|
-
const midKey = (packed >> ((mid & 1) * 8)) & 0xff;
|
|
499
|
-
if (midKey < char) {
|
|
500
|
-
lo = mid + 1;
|
|
501
|
-
}
|
|
502
|
-
else if (midKey > char) {
|
|
503
|
-
hi = mid - 1;
|
|
504
|
-
}
|
|
505
|
-
else {
|
|
506
|
-
return decodeTree[nodeIndex + packedKeySlots + mid];
|
|
507
|
-
}
|
|
508
|
-
}
|
|
509
|
-
return -1;
|
|
510
|
-
}
|
|
511
|
-
const htmlDecoder = /* #__PURE__ */ getDecoder(htmlDecodeTree);
|
|
512
|
-
const xmlDecoder = /* #__PURE__ */ getDecoder(xmlDecodeTree);
|
|
513
|
-
/**
|
|
514
|
-
* Decodes an HTML string.
|
|
515
|
-
*
|
|
516
|
-
* @param htmlString The string to decode.
|
|
517
|
-
* @param mode The decoding mode.
|
|
518
|
-
* @returns The decoded string.
|
|
519
|
-
*/
|
|
520
|
-
export function decodeHTML(htmlString, mode = DecodingMode.Legacy) {
|
|
521
|
-
return htmlDecoder(htmlString, mode);
|
|
522
|
-
}
|
|
523
|
-
/**
|
|
524
|
-
* Decodes an HTML string in an attribute.
|
|
525
|
-
*
|
|
526
|
-
* @param htmlAttribute The string to decode.
|
|
527
|
-
* @returns The decoded string.
|
|
528
|
-
*/
|
|
529
|
-
export function decodeHTMLAttribute(htmlAttribute) {
|
|
530
|
-
return htmlDecoder(htmlAttribute, DecodingMode.Attribute);
|
|
531
|
-
}
|
|
532
|
-
/**
|
|
533
|
-
* Decodes an HTML string, requiring all entities to be terminated by a semicolon.
|
|
534
|
-
*
|
|
535
|
-
* @param htmlString The string to decode.
|
|
536
|
-
* @returns The decoded string.
|
|
537
|
-
*/
|
|
538
|
-
export function decodeHTMLStrict(htmlString) {
|
|
539
|
-
return htmlDecoder(htmlString, DecodingMode.Strict);
|
|
540
|
-
}
|
|
541
|
-
/**
|
|
542
|
-
* Decodes an XML string, requiring all entities to be terminated by a semicolon.
|
|
543
|
-
*
|
|
544
|
-
* @param xmlString The string to decode.
|
|
545
|
-
* @returns The decoded string.
|
|
546
|
-
*/
|
|
547
|
-
export function decodeXML(xmlString) {
|
|
548
|
-
return xmlDecoder(xmlString, DecodingMode.Strict);
|
|
549
|
-
}
|
|
550
|
-
export { decodeCodePoint, fromCodePoint, replaceCodePoint, } from "./decode-codepoint.js";
|
|
551
|
-
// Re-export for use by eg. htmlparser2
|
|
552
|
-
export { htmlDecodeTree } from "./generated/decode-data-html.js";
|
|
553
|
-
export { xmlDecodeTree } from "./generated/decode-data-xml.js";
|
|
554
|
-
//# sourceMappingURL=decode.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"decode.js","sourceRoot":"","sources":["../../src/decode.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AACxE,OAAO,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAC;AACjE,OAAO,EAAE,aAAa,EAAE,MAAM,gCAAgC,CAAC;AAC/D,OAAO,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAE5D,IAAW,SAaV;AAbD,WAAW,SAAS;IAChB,wCAAQ,CAAA;IACR,0CAAS,CAAA;IACT,8CAAW,CAAA;IACX,0CAAS,CAAA;IACT,0CAAS,CAAA;IACT,gDAAY,CAAA;IACZ,iDAAa,CAAA;IACb,iDAAa,CAAA;IACb,iDAAa,CAAA;IACb,gDAAY,CAAA;IACZ,gDAAY,CAAA;IACZ,gDAAY,CAAA;AAChB,CAAC,EAbU,SAAS,KAAT,SAAS,QAanB;AAED,sFAAsF;AACtF,MAAM,YAAY,GAAG,EAAS,CAAC;AAE/B,SAAS,QAAQ,CAAC,IAAY;IAC1B,OAAO,IAAI,IAAI,SAAS,CAAC,IAAI,IAAI,IAAI,IAAI,SAAS,CAAC,IAAI,CAAC;AAC5D,CAAC;AAED,SAAS,sBAAsB,CAAC,IAAY;IACxC,OAAO,CACH,CAAC,IAAI,IAAI,SAAS,CAAC,OAAO,IAAI,IAAI,IAAI,SAAS,CAAC,OAA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AKG;AACH,MAAM,UAAU,gBAAgB,CAAC,UAAkB;IAC/C,OAAO,WAAW,CAAC,UAAU,EAAE,YAAY,CAAC,MAAM,CAAC,CAAC;AACxD,CAAC;AAED;;;;;GAKG;AACH,MAAM,UAAU,SAAS,CAAC,SAAiB;IACvC,OAAO,UAAU,CAAC,SAAS,EAAE,YAAY,CAAC,MAAM,CAAC,CAAC;AACtD,CAAC;AAED,OAAO,EACH,eAAe,EACf,aAAa,EACb,gBAAgB,GACnB,MAAM,uBAAuB,CAAC;AAC/B,uCAAuC;AACvC,OAAO,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAC;AACjE,OAAO,EAAE,aAAa,EAAE,MAAM,gCAAgC,CAAC"}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Encodes all characters in the input using HTML entities. This includes
|
|
3
|
-
* characters that are valid ASCII characters in HTML documents, such as `#`.
|
|
4
|
-
*
|
|
5
|
-
* To get a more compact output, consider using the `encodeNonAsciiHTML`
|
|
6
|
-
* function, which will only encode characters that are not valid in HTML
|
|
7
|
-
* documents, as well as non-ASCII characters.
|
|
8
|
-
*
|
|
9
|
-
* If a character has no equivalent entity, a numeric hexadecimal reference
|
|
10
|
-
* (eg. `ü`) will be used.
|
|
11
|
-
*/
|
|
12
|
-
export declare function encodeHTML(input: string): string;
|
|
13
|
-
/**
|
|
14
|
-
* Encodes all non-ASCII characters, as well as characters not valid in HTML
|
|
15
|
-
* documents using HTML entities. This function will not encode characters that
|
|
16
|
-
* are valid in HTML documents, such as `#`.
|
|
17
|
-
*
|
|
18
|
-
* If a character has no equivalent entity, a numeric hexadecimal reference
|
|
19
|
-
* (eg. `ü`) will be used.
|
|
20
|
-
*/
|
|
21
|
-
export declare function encodeNonAsciiHTML(input: string): string;
|
|
22
|
-
//# sourceMappingURL=encode.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"encode.d.ts","sourceRoot":"","sources":["../../src/encode.ts"],"names":[],"mappings":"AAeA;;;;;;;;;;GAUG;AACH,wBAAgB,UAAU,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAEhD;AACD;;;;;;;GAOG;AACH,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAExD"}
|