@zowe/cli 8.36.1 → 8.37.1
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 +15 -11
- 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/imperative/src/config/cmd/report-env/EnvItems.d.ts +1 -1
- package/node_modules/@zowe/imperative/lib/imperative/src/config/cmd/report-env/EnvItems.d.ts.map +1 -1
- package/node_modules/@zowe/imperative/lib/imperative/src/config/cmd/report-env/EnvItems.js +10 -12
- package/node_modules/@zowe/imperative/lib/imperative/src/config/cmd/report-env/EnvItems.js.map +1 -1
- package/node_modules/@zowe/imperative/lib/imperative/src/config/cmd/report-env/EnvQuery.d.ts.map +1 -1
- package/node_modules/@zowe/imperative/lib/imperative/src/config/cmd/report-env/EnvQuery.js +1 -4
- package/node_modules/@zowe/imperative/lib/imperative/src/config/cmd/report-env/EnvQuery.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/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/buildcheck/.eslintrc.js +5 -0
- package/node_modules/buildcheck/.github/workflows/ci.yml +72 -0
- package/node_modules/buildcheck/.github/workflows/lint.yml +23 -0
- package/node_modules/buildcheck/.npmignore +3 -0
- package/node_modules/{@zowe/zos-files-for-zowe-sdk/node_modules/brace-expansion → buildcheck}/LICENSE +10 -14
- package/node_modules/buildcheck/README.md +106 -0
- package/node_modules/buildcheck/deps/Find-VisualStudio.cs +250 -0
- package/node_modules/buildcheck/lib/findvs.js +345 -0
- package/node_modules/buildcheck/lib/index.js +738 -0
- package/node_modules/buildcheck/package.json +36 -0
- package/node_modules/buildcheck/test/test.js +8 -0
- package/node_modules/cpu-features/.eslintrc.js +5 -0
- package/node_modules/cpu-features/.github/workflows/ci.yml +68 -0
- package/node_modules/cpu-features/.github/workflows/lint.yml +27 -0
- package/node_modules/cpu-features/LICENSE +19 -0
- package/node_modules/cpu-features/README.md +59 -0
- package/node_modules/cpu-features/binding.gyp +16 -0
- package/node_modules/cpu-features/buildcheck.gypi +19 -0
- package/node_modules/cpu-features/buildcheck.js +32 -0
- package/node_modules/cpu-features/deps/cpu_features/.clang-format +4 -0
- package/node_modules/cpu-features/deps/cpu_features/.dockerignore +31 -0
- package/node_modules/cpu-features/deps/cpu_features/.github/workflows/Dockerfile +5 -0
- package/node_modules/cpu-features/deps/cpu_features/.github/workflows/aarch64_linux_cmake.yml +30 -0
- package/node_modules/cpu-features/deps/cpu_features/.github/workflows/amd64_freebsd_cmake.yml +22 -0
- package/node_modules/cpu-features/deps/cpu_features/.github/workflows/amd64_linux_bazel.yml +26 -0
- package/node_modules/cpu-features/deps/cpu_features/.github/workflows/amd64_linux_cmake.yml +31 -0
- package/node_modules/cpu-features/deps/cpu_features/.github/workflows/amd64_macos_cmake.yml +43 -0
- package/node_modules/cpu-features/deps/cpu_features/.github/workflows/amd64_windows_cmake.yml +25 -0
- package/node_modules/cpu-features/deps/cpu_features/.github/workflows/arm_linux_cmake.yml +31 -0
- package/node_modules/cpu-features/deps/cpu_features/.github/workflows/clang_format.yml +24 -0
- package/node_modules/cpu-features/deps/cpu_features/.github/workflows/mips_linux_cmake.yml +30 -0
- package/node_modules/cpu-features/deps/cpu_features/.github/workflows/power_linux_cmake.yml +29 -0
- package/node_modules/cpu-features/deps/cpu_features/.github/workflows/riscv_linux_cmake.yml +28 -0
- package/node_modules/cpu-features/deps/cpu_features/.github/workflows/s390x_linux_cmake.yml +27 -0
- package/node_modules/cpu-features/deps/cpu_features/.grenrc.yml +21 -0
- package/node_modules/cpu-features/deps/cpu_features/BUILD.bazel +329 -0
- package/node_modules/cpu-features/deps/cpu_features/CMakeLists.txt +261 -0
- package/node_modules/cpu-features/deps/cpu_features/CONTRIBUTING.md +23 -0
- package/node_modules/cpu-features/deps/cpu_features/LICENSE +230 -0
- package/node_modules/cpu-features/deps/cpu_features/README.md +272 -0
- package/node_modules/cpu-features/deps/cpu_features/WORKSPACE +19 -0
- package/node_modules/cpu-features/deps/cpu_features/bazel/ci/README.md +5 -0
- package/node_modules/cpu-features/deps/cpu_features/bazel/platforms.bzl +11 -0
- package/node_modules/cpu-features/deps/cpu_features/cmake/CpuFeaturesConfig.cmake.in +3 -0
- package/node_modules/cpu-features/deps/cpu_features/cmake/CpuFeaturesNdkCompatConfig.cmake.in +3 -0
- package/node_modules/cpu-features/deps/cpu_features/cmake/README.md +30 -0
- package/node_modules/cpu-features/deps/cpu_features/cmake/ci/Makefile +252 -0
- package/node_modules/cpu-features/deps/cpu_features/cmake/ci/README.md +40 -0
- package/node_modules/cpu-features/deps/cpu_features/cmake/ci/doc/docker.dot +64 -0
- package/node_modules/cpu-features/deps/cpu_features/cmake/ci/doc/docker.svg +312 -0
- package/node_modules/cpu-features/deps/cpu_features/cmake/ci/doc/generate_image.sh +7 -0
- package/node_modules/cpu-features/deps/cpu_features/cmake/ci/docker/amd64/Dockerfile +48 -0
- package/node_modules/cpu-features/deps/cpu_features/cmake/ci/docker/toolchain/Dockerfile +34 -0
- package/node_modules/cpu-features/deps/cpu_features/cmake/ci/sample/CMakeLists.txt +22 -0
- package/node_modules/cpu-features/deps/cpu_features/cmake/ci/sample/main.cpp +11 -0
- package/node_modules/cpu-features/deps/cpu_features/cmake/ci/vagrant/freebsd/Vagrantfile +107 -0
- package/node_modules/cpu-features/deps/cpu_features/cmake/googletest.CMakeLists.txt.in +15 -0
- package/node_modules/cpu-features/deps/cpu_features/cpu_features.gyp +104 -0
- package/node_modules/cpu-features/deps/cpu_features/include/cpu_features_cache_info.h +54 -0
- package/node_modules/cpu-features/deps/cpu_features/include/cpu_features_macros.h +384 -0
- package/node_modules/cpu-features/deps/cpu_features/include/cpuinfo_aarch64.h +259 -0
- package/node_modules/cpu-features/deps/cpu_features/include/cpuinfo_arm.h +121 -0
- package/node_modules/cpu-features/deps/cpu_features/include/cpuinfo_mips.h +74 -0
- package/node_modules/cpu-features/deps/cpu_features/include/cpuinfo_ppc.h +149 -0
- package/node_modules/cpu-features/deps/cpu_features/include/cpuinfo_riscv.h +72 -0
- package/node_modules/cpu-features/deps/cpu_features/include/cpuinfo_s390x.h +108 -0
- package/node_modules/cpu-features/deps/cpu_features/include/cpuinfo_x86.h +288 -0
- package/node_modules/cpu-features/deps/cpu_features/include/internal/bit_utils.h +40 -0
- package/node_modules/cpu-features/deps/cpu_features/include/internal/cpuid_x86.h +37 -0
- package/node_modules/cpu-features/deps/cpu_features/include/internal/filesystem.h +39 -0
- package/node_modules/cpu-features/deps/cpu_features/include/internal/hwcaps.h +240 -0
- package/node_modules/cpu-features/deps/cpu_features/include/internal/stack_line_reader.h +49 -0
- package/node_modules/cpu-features/deps/cpu_features/include/internal/string_view.h +110 -0
- package/node_modules/cpu-features/deps/cpu_features/include/internal/windows_utils.h +70 -0
- package/node_modules/cpu-features/deps/cpu_features/ndk_compat/CMakeLists.txt +60 -0
- package/node_modules/cpu-features/deps/cpu_features/ndk_compat/README.md +4 -0
- package/node_modules/cpu-features/deps/cpu_features/ndk_compat/cpu-features.c +205 -0
- package/node_modules/cpu-features/deps/cpu_features/ndk_compat/cpu-features.h +320 -0
- package/node_modules/cpu-features/deps/cpu_features/ndk_compat/ndk-compat-test.c +12 -0
- package/node_modules/cpu-features/deps/cpu_features/patches/0001-Add-Apple-Silicon-Support.patch +456 -0
- package/node_modules/cpu-features/deps/cpu_features/scripts/generate_badges.d +165 -0
- package/node_modules/cpu-features/deps/cpu_features/scripts/make_release.sh +75 -0
- package/node_modules/cpu-features/deps/cpu_features/scripts/run_integration.sh +490 -0
- package/node_modules/cpu-features/deps/cpu_features/scripts/test_integration.sh +79 -0
- package/node_modules/cpu-features/deps/cpu_features/src/copy.inl +19 -0
- package/node_modules/cpu-features/deps/cpu_features/src/define_introspection.inl +86 -0
- package/node_modules/cpu-features/deps/cpu_features/src/define_introspection_and_hwcaps.inl +26 -0
- package/node_modules/cpu-features/deps/cpu_features/src/equals.inl +22 -0
- package/node_modules/cpu-features/deps/cpu_features/src/filesystem.c +62 -0
- package/node_modules/cpu-features/deps/cpu_features/src/hwcaps.c +169 -0
- package/node_modules/cpu-features/deps/cpu_features/src/impl_aarch64__base_implementation.inl +88 -0
- package/node_modules/cpu-features/deps/cpu_features/src/impl_aarch64_linux_or_android.c +79 -0
- package/node_modules/cpu-features/deps/cpu_features/src/impl_aarch64_macos_or_iphone.c +82 -0
- package/node_modules/cpu-features/deps/cpu_features/src/impl_aarch64_windows.c +138 -0
- package/node_modules/cpu-features/deps/cpu_features/src/impl_arm_linux_or_android.c +212 -0
- package/node_modules/cpu-features/deps/cpu_features/src/impl_mips_linux_or_android.c +93 -0
- package/node_modules/cpu-features/deps/cpu_features/src/impl_ppc_linux.c +163 -0
- package/node_modules/cpu-features/deps/cpu_features/src/impl_riscv_linux.c +111 -0
- package/node_modules/cpu-features/deps/cpu_features/src/impl_s390x_linux.c +120 -0
- package/node_modules/cpu-features/deps/cpu_features/src/impl_x86__base_implementation.inl +2055 -0
- package/node_modules/cpu-features/deps/cpu_features/src/impl_x86_freebsd.c +68 -0
- package/node_modules/cpu-features/deps/cpu_features/src/impl_x86_linux_or_android.c +58 -0
- package/node_modules/cpu-features/deps/cpu_features/src/impl_x86_macos.c +57 -0
- package/node_modules/cpu-features/deps/cpu_features/src/impl_x86_windows.c +58 -0
- package/node_modules/cpu-features/deps/cpu_features/src/stack_line_reader.c +132 -0
- package/node_modules/cpu-features/deps/cpu_features/src/string_view.c +192 -0
- package/node_modules/cpu-features/deps/cpu_features/src/utils/list_cpu_features.c +461 -0
- package/node_modules/cpu-features/deps/cpu_features/test/CMakeLists.txt +114 -0
- package/node_modules/cpu-features/deps/cpu_features/test/bit_utils_test.cc +53 -0
- package/node_modules/cpu-features/deps/cpu_features/test/cpuinfo_aarch64_test.cc +396 -0
- package/node_modules/cpu-features/deps/cpu_features/test/cpuinfo_arm_test.cc +384 -0
- package/node_modules/cpu-features/deps/cpu_features/test/cpuinfo_mips_test.cc +176 -0
- package/node_modules/cpu-features/deps/cpu_features/test/cpuinfo_ppc_test.cc +131 -0
- package/node_modules/cpu-features/deps/cpu_features/test/cpuinfo_riscv_test.cc +180 -0
- package/node_modules/cpu-features/deps/cpu_features/test/cpuinfo_s390x_test.cc +82 -0
- package/node_modules/cpu-features/deps/cpu_features/test/cpuinfo_x86_test.cc +1729 -0
- package/node_modules/cpu-features/deps/cpu_features/test/filesystem_for_testing.cc +103 -0
- package/node_modules/cpu-features/deps/cpu_features/test/filesystem_for_testing.h +61 -0
- package/node_modules/cpu-features/deps/cpu_features/test/hwcaps_for_testing.cc +52 -0
- package/node_modules/cpu-features/deps/cpu_features/test/hwcaps_for_testing.h +31 -0
- package/node_modules/cpu-features/deps/cpu_features/test/stack_line_reader_test.cc +132 -0
- package/node_modules/cpu-features/deps/cpu_features/test/string_view_test.cc +202 -0
- package/node_modules/cpu-features/lib/index.js +5 -0
- package/node_modules/cpu-features/package.json +40 -0
- package/node_modules/cpu-features/src/binding.cc +151 -0
- package/node_modules/cpu-features/test/test.js +12 -0
- package/node_modules/{@zowe/imperative → cross-spawn}/node_modules/which/README.md +16 -13
- package/node_modules/{@zowe/imperative → cross-spawn/node_modules/which}/node_modules/isexe/LICENSE +1 -1
- package/node_modules/cross-spawn/node_modules/which/node_modules/isexe/README.md +51 -0
- package/node_modules/cross-spawn/node_modules/which/node_modules/isexe/package.json +31 -0
- package/node_modules/cross-spawn/node_modules/which/package.json +43 -0
- package/node_modules/dom-serializer/LICENSE +3 -7
- package/node_modules/dom-serializer/README.md +14 -8
- package/node_modules/dom-serializer/dist/foreign-names.d.ts +11 -0
- package/node_modules/dom-serializer/dist/foreign-names.d.ts.map +1 -0
- package/node_modules/dom-serializer/dist/foreign-names.js +15 -0
- package/node_modules/dom-serializer/dist/foreign-names.js.map +1 -0
- package/node_modules/dom-serializer/dist/index.d.ts +72 -0
- package/node_modules/dom-serializer/dist/index.d.ts.map +1 -0
- package/node_modules/dom-serializer/dist/index.js +173 -0
- package/node_modules/dom-serializer/dist/index.js.map +1 -0
- package/node_modules/dom-serializer/package.json +41 -41
- package/node_modules/dom-serializer/src/foreign-names.ts +19 -0
- package/node_modules/dom-serializer/src/index.ts +315 -0
- package/node_modules/domelementtype/{lib → dist}/index.d.ts +12 -12
- package/node_modules/domelementtype/dist/index.d.ts.map +1 -0
- package/node_modules/domelementtype/{lib/esm → dist}/index.js +15 -6
- package/node_modules/domelementtype/package.json +28 -23
- package/node_modules/domhandler/{lib → dist}/index.d.ts +9 -6
- package/node_modules/domhandler/dist/index.d.ts.map +1 -0
- package/node_modules/domhandler/{lib/esm → dist}/index.js +34 -25
- package/node_modules/domhandler/{lib → dist}/node.d.ts +34 -15
- package/node_modules/domhandler/dist/node.d.ts.map +1 -0
- package/node_modules/domhandler/{lib/esm → dist}/node.js +81 -60
- package/node_modules/domhandler/package.json +34 -42
- package/node_modules/domhandler/readme.md +1 -7
- package/node_modules/domutils/{lib → dist}/feeds.d.ts +2 -2
- package/node_modules/domutils/dist/feeds.d.ts.map +1 -0
- package/node_modules/domutils/{lib/esm → dist}/feeds.js +22 -25
- package/node_modules/domutils/dist/feeds.js.map +1 -0
- package/node_modules/domutils/{lib/esm → dist}/helpers.d.ts +1 -1
- package/node_modules/domutils/dist/helpers.d.ts.map +1 -0
- package/node_modules/domutils/{lib/esm → dist}/helpers.js +16 -16
- package/node_modules/domutils/dist/helpers.js.map +1 -0
- package/node_modules/domutils/{lib/esm → dist}/index.d.ts +5 -7
- package/node_modules/domutils/dist/index.d.ts.map +1 -0
- package/node_modules/domutils/{lib/esm → dist}/index.js +5 -7
- package/node_modules/domutils/dist/index.js.map +1 -0
- package/node_modules/domutils/{lib/esm → dist}/legacy.d.ts +1 -1
- package/node_modules/domutils/dist/legacy.d.ts.map +1 -0
- package/node_modules/domutils/{lib/esm → dist}/legacy.js +15 -15
- package/node_modules/domutils/dist/legacy.js.map +1 -0
- package/node_modules/domutils/{lib/esm → dist}/manipulation.d.ts +9 -9
- package/node_modules/domutils/dist/manipulation.d.ts.map +1 -0
- package/node_modules/domutils/dist/manipulation.js +138 -0
- package/node_modules/domutils/dist/manipulation.js.map +1 -0
- package/node_modules/domutils/{lib → dist}/querying.d.ts +6 -16
- package/node_modules/domutils/dist/querying.d.ts.map +1 -0
- package/node_modules/domutils/{lib/esm → dist}/querying.js +13 -26
- package/node_modules/domutils/dist/querying.js.map +1 -0
- package/node_modules/domutils/{lib → dist}/stringify.d.ts +2 -2
- package/node_modules/domutils/dist/stringify.d.ts.map +1 -0
- package/node_modules/domutils/{lib/esm → dist}/stringify.js +1 -1
- package/node_modules/domutils/dist/stringify.js.map +1 -0
- package/node_modules/domutils/dist/traversal.d.ts +74 -0
- package/node_modules/domutils/dist/traversal.d.ts.map +1 -0
- package/node_modules/domutils/dist/traversal.js +105 -0
- package/node_modules/domutils/dist/traversal.js.map +1 -0
- package/node_modules/domutils/package.json +39 -49
- package/node_modules/domutils/readme.md +0 -6
- package/node_modules/domutils/src/__snapshots__/feeds.spec.ts.snap +103 -0
- package/node_modules/domutils/src/feeds.ts +301 -0
- package/node_modules/domutils/{lib/helpers.js → src/helpers.ts} +55 -43
- package/node_modules/domutils/{lib/index.d.ts → src/index.ts} +5 -8
- package/node_modules/domutils/src/legacy.ts +224 -0
- package/node_modules/domutils/src/manipulation.ts +156 -0
- package/node_modules/domutils/{lib/querying.js → src/querying.ts} +77 -60
- package/node_modules/domutils/src/stringify.ts +90 -0
- package/node_modules/domutils/src/traversal.ts +132 -0
- package/node_modules/htmlparser2/README.md +112 -26
- package/node_modules/htmlparser2/dist/{esm/Parser.d.ts → Parser.d.ts} +97 -38
- package/node_modules/htmlparser2/dist/Parser.d.ts.map +1 -0
- package/node_modules/htmlparser2/dist/Parser.js +644 -0
- package/node_modules/htmlparser2/dist/Parser.js.map +1 -0
- package/node_modules/htmlparser2/dist/{esm/Tokenizer.d.ts → Tokenizer.d.ts} +75 -7
- package/node_modules/htmlparser2/dist/Tokenizer.d.ts.map +1 -0
- package/node_modules/htmlparser2/dist/{esm/Tokenizer.js → Tokenizer.js} +434 -179
- package/node_modules/htmlparser2/dist/Tokenizer.js.map +1 -0
- package/node_modules/htmlparser2/dist/WebWritableStream.d.ts +24 -0
- package/node_modules/htmlparser2/dist/WebWritableStream.d.ts.map +1 -0
- package/node_modules/htmlparser2/dist/WebWritableStream.js +44 -0
- package/node_modules/htmlparser2/dist/WebWritableStream.js.map +1 -0
- package/node_modules/htmlparser2/dist/{esm/WritableStream.d.ts → WritableStream.d.ts} +1 -2
- package/node_modules/htmlparser2/dist/WritableStream.d.ts.map +1 -0
- package/node_modules/htmlparser2/dist/{esm/WritableStream.js → WritableStream.js} +3 -3
- package/node_modules/htmlparser2/dist/WritableStream.js.map +1 -0
- package/node_modules/htmlparser2/dist/{commonjs/index.d.ts → index.d.ts} +6 -26
- package/node_modules/htmlparser2/dist/index.d.ts.map +1 -0
- package/node_modules/htmlparser2/dist/{esm/index.js → index.js} +2 -30
- package/node_modules/htmlparser2/dist/index.js.map +1 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/decode-codepoint.d.ts +28 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/decode-codepoint.d.ts.map +1 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/decode-codepoint.js +61 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/decode-codepoint.js.map +1 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/{commonjs/decode.d.ts → decode.d.ts} +66 -44
- package/node_modules/htmlparser2/node_modules/entities/dist/decode.d.ts.map +1 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/decode.js +1132 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/decode.js.map +1 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/{commonjs/encode.d.ts → encode.d.ts} +4 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/encode.d.ts.map +1 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/encode.js +295 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/encode.js.map +1 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/{commonjs/escape.d.ts → escape.d.ts} +23 -9
- package/node_modules/htmlparser2/node_modules/entities/dist/escape.d.ts.map +1 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/escape.js +172 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/escape.js.map +1 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/generated/decode-data-html.d.ts +3 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/generated/decode-data-html.d.ts.map +1 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/generated/decode-data-html.js +5 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/generated/decode-data-html.js.map +1 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/generated/decode-data-xml.d.ts +3 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/generated/decode-data-xml.d.ts.map +1 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/generated/decode-data-xml.js +7 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/generated/decode-data-xml.js.map +1 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/generated/encode-html.d.ts +3 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/generated/encode-html.d.ts.map +1 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/generated/encode-html.js +3 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/generated/encode-html.js.map +1 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/{commonjs/index.d.ts → index.d.ts} +11 -18
- package/node_modules/htmlparser2/node_modules/entities/dist/index.d.ts.map +1 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/{esm/index.js → index.js} +9 -29
- package/node_modules/htmlparser2/node_modules/entities/dist/index.js.map +1 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/internal/bin-trie-flags.d.ts +48 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/internal/bin-trie-flags.d.ts.map +1 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/internal/bin-trie-flags.js +49 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/internal/bin-trie-flags.js.map +1 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/internal/decode-shared.d.ts +38 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/internal/decode-shared.d.ts.map +1 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/internal/decode-shared.js +195 -0
- package/node_modules/htmlparser2/node_modules/entities/dist/internal/decode-shared.js.map +1 -0
- package/node_modules/htmlparser2/node_modules/entities/package.json +28 -65
- package/node_modules/htmlparser2/node_modules/entities/readme.md +4 -16
- package/node_modules/htmlparser2/node_modules/entities/src/decode-codepoint.ts +51 -63
- package/node_modules/htmlparser2/node_modules/entities/src/decode.ts +944 -261
- package/node_modules/htmlparser2/node_modules/entities/src/encode.ts +289 -45
- package/node_modules/htmlparser2/node_modules/entities/src/escape.ts +114 -88
- package/node_modules/htmlparser2/node_modules/entities/src/generated/decode-data-html.ts +9 -3
- package/node_modules/htmlparser2/node_modules/entities/src/generated/decode-data-xml.ts +5 -4
- package/node_modules/htmlparser2/node_modules/entities/src/generated/encode-html.ts +1 -15
- package/node_modules/htmlparser2/node_modules/entities/src/index.ts +14 -41
- package/node_modules/htmlparser2/node_modules/entities/src/internal/bin-trie-flags.ts +38 -7
- package/node_modules/htmlparser2/node_modules/entities/src/internal/decode-shared.ts +203 -24
- package/node_modules/htmlparser2/package.json +34 -61
- package/node_modules/htmlparser2/src/Parser.ts +260 -100
- package/node_modules/htmlparser2/src/Tokenizer.ts +438 -165
- package/node_modules/htmlparser2/src/WebWritableStream.ts +47 -0
- package/node_modules/htmlparser2/src/WritableStream.ts +1 -2
- package/node_modules/htmlparser2/src/index.ts +14 -43
- package/node_modules/isexe/LICENSE +1 -1
- package/node_modules/isexe/README.md +40 -17
- package/node_modules/isexe/package.json +79 -14
- 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/package.json +5 -2
- package/node_modules/which/README.md +13 -16
- package/node_modules/which/package.json +34 -20
- package/package.json +15 -15
- package/scripts/validateSecretsPrebuild.js +231 -0
- package/node_modules/@zowe/imperative/node_modules/isexe/README.md +0 -74
- package/node_modules/@zowe/imperative/node_modules/isexe/package.json +0 -96
- package/node_modules/@zowe/imperative/node_modules/which/package.json +0 -57
- 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-arm64-musl.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.linux-x64-musl.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-files-for-zowe-sdk/node_modules/balanced-match/LICENSE.md +0 -23
- package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/balanced-match/README.md +0 -57
- package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/balanced-match/dist/commonjs/index.d.ts +0 -9
- package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/balanced-match/dist/commonjs/index.d.ts.map +0 -1
- package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/balanced-match/dist/commonjs/index.js +0 -59
- package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/balanced-match/dist/commonjs/index.js.map +0 -1
- package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/balanced-match/dist/esm/index.d.ts +0 -9
- package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/balanced-match/dist/esm/index.d.ts.map +0 -1
- package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/balanced-match/dist/esm/index.js +0 -54
- package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/balanced-match/dist/esm/index.js.map +0 -1
- package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/balanced-match/package.json +0 -68
- package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/brace-expansion/README.md +0 -105
- package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/brace-expansion/dist/commonjs/index.d.ts +0 -8
- package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/brace-expansion/dist/commonjs/index.d.ts.map +0 -1
- package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/brace-expansion/dist/commonjs/index.js +0 -289
- package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/brace-expansion/dist/commonjs/index.js.map +0 -1
- package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/brace-expansion/dist/commonjs/package.json +0 -3
- package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/brace-expansion/dist/esm/index.d.ts +0 -8
- package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/brace-expansion/dist/esm/index.d.ts.map +0 -1
- package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/brace-expansion/dist/esm/index.js +0 -285
- package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/brace-expansion/dist/esm/index.js.map +0 -1
- package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/brace-expansion/dist/esm/package.json +0 -3
- package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/brace-expansion/package.json +0 -64
- package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/LICENSE.md +0 -55
- package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/README.md +0 -528
- package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/commonjs/assert-valid-pattern.d.ts +0 -2
- package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/commonjs/assert-valid-pattern.d.ts.map +0 -1
- package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/commonjs/assert-valid-pattern.js +0 -14
- package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/commonjs/assert-valid-pattern.js.map +0 -1
- package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/commonjs/ast.d.ts +0 -22
- package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/commonjs/ast.d.ts.map +0 -1
- package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/commonjs/ast.js +0 -846
- package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/commonjs/ast.js.map +0 -1
- package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/commonjs/brace-expressions.d.ts +0 -8
- package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/commonjs/brace-expressions.d.ts.map +0 -1
- package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/commonjs/brace-expressions.js +0 -150
- package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/commonjs/brace-expressions.js.map +0 -1
- package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/commonjs/escape.d.ts +0 -15
- package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/commonjs/escape.d.ts.map +0 -1
- package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/commonjs/escape.js +0 -30
- package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/commonjs/escape.js.map +0 -1
- package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/commonjs/index.d.ts +0 -174
- package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/commonjs/index.d.ts.map +0 -1
- package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/commonjs/index.js +0 -1121
- package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/commonjs/index.js.map +0 -1
- package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/commonjs/package.json +0 -3
- package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/commonjs/unescape.d.ts +0 -22
- package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/commonjs/unescape.d.ts.map +0 -1
- package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/commonjs/unescape.js +0 -38
- package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/commonjs/unescape.js.map +0 -1
- package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/esm/assert-valid-pattern.d.ts +0 -2
- package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/esm/assert-valid-pattern.d.ts.map +0 -1
- package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/esm/assert-valid-pattern.js +0 -10
- package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/esm/assert-valid-pattern.js.map +0 -1
- package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/esm/ast.d.ts +0 -22
- package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/esm/ast.d.ts.map +0 -1
- package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/esm/ast.js +0 -842
- package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/esm/ast.js.map +0 -1
- package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/esm/brace-expressions.d.ts +0 -8
- package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/esm/brace-expressions.d.ts.map +0 -1
- package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/esm/brace-expressions.js +0 -146
- package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/esm/brace-expressions.js.map +0 -1
- package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/esm/escape.d.ts +0 -15
- package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/esm/escape.d.ts.map +0 -1
- package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/esm/escape.js +0 -26
- package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/esm/escape.js.map +0 -1
- package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/esm/index.d.ts +0 -174
- package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/esm/index.d.ts.map +0 -1
- package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/esm/index.js +0 -1108
- package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/esm/index.js.map +0 -1
- package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/esm/package.json +0 -3
- package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/esm/unescape.d.ts +0 -22
- package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/esm/unescape.d.ts.map +0 -1
- package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/esm/unescape.js +0 -34
- package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/esm/unescape.js.map +0 -1
- package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/package.json +0 -67
- 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/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/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/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.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 +0 -59
- 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/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 +0 -126
- 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 +0 -15
- 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.map +0 -1
- package/node_modules/htmlparser2/dist/esm/Tokenizer.js.map +0 -1
- 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/src/generated/.eslintrc.json +0 -10
- package/node_modules/htmlparser2/node_modules/entities/src/internal/encode-shared.ts +0 -121
- package/node_modules/tar/node_modules/yallist/dist/commonjs/package.json +0 -3
- package/node_modules/tar/node_modules/yallist/dist/esm/package.json +0 -3
- /package/node_modules/{strip-ansi/node_modules/ansi-regex → ansi-regex}/index.d.ts +0 -0
- /package/node_modules/{strip-ansi/node_modules/ansi-regex → ansi-regex}/index.js +0 -0
- /package/node_modules/{shebang-command/node_modules/shebang-regex → ansi-regex}/license +0 -0
- /package/node_modules/{strip-ansi/node_modules/ansi-regex → ansi-regex}/package.json +0 -0
- /package/node_modules/{strip-ansi/node_modules/ansi-regex → ansi-regex}/readme.md +0 -0
- /package/node_modules/{winston/node_modules/async → async}/CHANGELOG.md +0 -0
- /package/node_modules/{winston/node_modules/async → async}/LICENSE +0 -0
- /package/node_modules/{winston/node_modules/async → async}/README.md +0 -0
- /package/node_modules/{winston/node_modules/async → async}/all.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/allLimit.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/allSeries.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/any.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/anyLimit.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/anySeries.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/apply.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/applyEach.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/applyEachSeries.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/asyncify.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/auto.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/autoInject.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/bower.json +0 -0
- /package/node_modules/{winston/node_modules/async → async}/cargo.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/cargoQueue.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/compose.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/concat.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/concatLimit.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/concatSeries.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/constant.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/detect.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/detectLimit.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/detectSeries.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/dir.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/dist/async.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/dist/async.min.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/dist/async.mjs +0 -0
- /package/node_modules/{winston/node_modules/async → async}/doDuring.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/doUntil.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/doWhilst.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/during.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/each.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/eachLimit.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/eachOf.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/eachOfLimit.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/eachOfSeries.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/eachSeries.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/ensureAsync.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/every.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/everyLimit.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/everySeries.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/filter.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/filterLimit.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/filterSeries.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/find.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/findLimit.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/findSeries.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/flatMap.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/flatMapLimit.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/flatMapSeries.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/foldl.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/foldr.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/forEach.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/forEachLimit.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/forEachOf.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/forEachOfLimit.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/forEachOfSeries.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/forEachSeries.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/forever.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/groupBy.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/groupByLimit.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/groupBySeries.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/index.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/inject.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/internal/DoublyLinkedList.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/internal/Heap.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/internal/applyEach.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/internal/asyncEachOfLimit.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/internal/awaitify.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/internal/breakLoop.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/internal/consoleFunc.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/internal/createTester.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/internal/eachOfLimit.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/internal/filter.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/internal/getIterator.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/internal/initialParams.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/internal/isArrayLike.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/internal/iterator.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/internal/map.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/internal/once.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/internal/onlyOnce.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/internal/parallel.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/internal/promiseCallback.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/internal/queue.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/internal/range.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/internal/reject.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/internal/setImmediate.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/internal/withoutIndex.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/internal/wrapAsync.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/log.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/map.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/mapLimit.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/mapSeries.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/mapValues.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/mapValuesLimit.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/mapValuesSeries.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/memoize.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/nextTick.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/package.json +0 -0
- /package/node_modules/{winston/node_modules/async → async}/parallel.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/parallelLimit.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/priorityQueue.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/queue.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/race.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/reduce.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/reduceRight.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/reflect.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/reflectAll.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/reject.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/rejectLimit.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/rejectSeries.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/retry.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/retryable.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/select.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/selectLimit.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/selectSeries.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/seq.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/series.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/setImmediate.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/some.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/someLimit.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/someSeries.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/sortBy.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/timeout.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/times.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/timesLimit.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/timesSeries.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/transform.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/tryEach.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/unmemoize.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/until.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/waterfall.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/whilst.js +0 -0
- /package/node_modules/{winston/node_modules/async → async}/wrapSync.js +0 -0
- /package/node_modules/{yargs/node_modules/cliui → cliui}/LICENSE.txt +0 -0
- /package/node_modules/{yargs/node_modules/cliui → cliui}/README.md +0 -0
- /package/node_modules/{yargs/node_modules/cliui → cliui}/build/index.cjs +0 -0
- /package/node_modules/{yargs/node_modules/cliui → cliui}/build/index.d.cts +0 -0
- /package/node_modules/{yargs/node_modules/cliui → cliui}/build/lib/index.js +0 -0
- /package/node_modules/{yargs/node_modules/cliui → cliui}/build/lib/string-utils.js +0 -0
- /package/node_modules/{yargs/node_modules/cliui → cliui}/index.mjs +0 -0
- /package/node_modules/{yargs/node_modules/cliui → cliui}/package.json +0 -0
- /package/node_modules/color/node_modules/{color-name → color-convert/node_modules/color-name}/.eslintrc.json +0 -0
- /package/node_modules/color/node_modules/{color-name → color-convert/node_modules/color-name}/.npmignore +0 -0
- /package/node_modules/color/node_modules/{color-name → color-convert/node_modules/color-name}/LICENSE +0 -0
- /package/node_modules/color/node_modules/{color-name → color-convert/node_modules/color-name}/README.md +0 -0
- /package/node_modules/color/node_modules/{color-name → color-convert/node_modules/color-name}/index.js +0 -0
- /package/node_modules/color/node_modules/{color-name → color-convert/node_modules/color-name}/package.json +0 -0
- /package/node_modules/color/node_modules/{color-name → color-convert/node_modules/color-name}/test.js +0 -0
- /package/node_modules/{@zowe/imperative → cross-spawn}/node_modules/which/LICENSE +0 -0
- /package/node_modules/{which → cross-spawn/node_modules/which}/bin/node-which +0 -0
- /package/node_modules/{isexe → cross-spawn/node_modules/which/node_modules/isexe}/.npmignore +0 -0
- /package/node_modules/{isexe → cross-spawn/node_modules/which/node_modules/isexe}/index.js +0 -0
- /package/node_modules/{isexe → cross-spawn/node_modules/which/node_modules/isexe}/mode.js +0 -0
- /package/node_modules/{isexe → cross-spawn/node_modules/which/node_modules/isexe}/test/basic.js +0 -0
- /package/node_modules/{isexe → cross-spawn/node_modules/which/node_modules/isexe}/windows.js +0 -0
- /package/node_modules/{which → cross-spawn/node_modules/which}/which.js +0 -0
- /package/node_modules/{simple-swizzle/node_modules/is-arrayish → is-arrayish}/LICENSE +0 -0
- /package/node_modules/{simple-swizzle/node_modules/is-arrayish → is-arrayish}/README.md +0 -0
- /package/node_modules/{simple-swizzle/node_modules/is-arrayish → is-arrayish}/index.js +0 -0
- /package/node_modules/{simple-swizzle/node_modules/is-arrayish → is-arrayish}/package.json +0 -0
- /package/node_modules/{simple-swizzle/node_modules/is-arrayish → is-arrayish}/yarn-error.log +0 -0
- /package/node_modules/{@zowe/imperative/node_modules/isexe → isexe}/dist/cjs/index.d.ts +0 -0
- /package/node_modules/{@zowe/imperative/node_modules/isexe → isexe}/dist/cjs/index.d.ts.map +0 -0
- /package/node_modules/{@zowe/imperative/node_modules/isexe → isexe}/dist/cjs/index.js +0 -0
- /package/node_modules/{@zowe/imperative/node_modules/isexe → isexe}/dist/cjs/index.js.map +0 -0
- /package/node_modules/{@zowe/imperative/node_modules/isexe → isexe}/dist/cjs/options.d.ts +0 -0
- /package/node_modules/{@zowe/imperative/node_modules/isexe → isexe}/dist/cjs/options.d.ts.map +0 -0
- /package/node_modules/{@zowe/imperative/node_modules/isexe → isexe}/dist/cjs/options.js +0 -0
- /package/node_modules/{@zowe/imperative/node_modules/isexe → isexe}/dist/cjs/options.js.map +0 -0
- /package/node_modules/{@zowe/imperative/node_modules/isexe → isexe}/dist/cjs/package.json +0 -0
- /package/node_modules/{@zowe/imperative/node_modules/isexe → isexe}/dist/cjs/posix.d.ts +0 -0
- /package/node_modules/{@zowe/imperative/node_modules/isexe → isexe}/dist/cjs/posix.d.ts.map +0 -0
- /package/node_modules/{@zowe/imperative/node_modules/isexe → isexe}/dist/cjs/posix.js +0 -0
- /package/node_modules/{@zowe/imperative/node_modules/isexe → isexe}/dist/cjs/posix.js.map +0 -0
- /package/node_modules/{@zowe/imperative/node_modules/isexe → isexe}/dist/cjs/win32.d.ts +0 -0
- /package/node_modules/{@zowe/imperative/node_modules/isexe → isexe}/dist/cjs/win32.d.ts.map +0 -0
- /package/node_modules/{@zowe/imperative/node_modules/isexe → isexe}/dist/cjs/win32.js +0 -0
- /package/node_modules/{@zowe/imperative/node_modules/isexe → isexe}/dist/cjs/win32.js.map +0 -0
- /package/node_modules/{@zowe/imperative/node_modules/isexe → isexe}/dist/mjs/index.d.ts +0 -0
- /package/node_modules/{@zowe/imperative/node_modules/isexe → isexe}/dist/mjs/index.d.ts.map +0 -0
- /package/node_modules/{@zowe/imperative/node_modules/isexe → isexe}/dist/mjs/index.js +0 -0
- /package/node_modules/{@zowe/imperative/node_modules/isexe → isexe}/dist/mjs/index.js.map +0 -0
- /package/node_modules/{@zowe/imperative/node_modules/isexe → isexe}/dist/mjs/options.d.ts +0 -0
- /package/node_modules/{@zowe/imperative/node_modules/isexe → isexe}/dist/mjs/options.d.ts.map +0 -0
- /package/node_modules/{@zowe/imperative/node_modules/isexe → isexe}/dist/mjs/options.js +0 -0
- /package/node_modules/{@zowe/imperative/node_modules/isexe → isexe}/dist/mjs/options.js.map +0 -0
- /package/node_modules/{@zowe/imperative/node_modules/isexe → isexe}/dist/mjs/package.json +0 -0
- /package/node_modules/{@zowe/imperative/node_modules/isexe → isexe}/dist/mjs/posix.d.ts +0 -0
- /package/node_modules/{@zowe/imperative/node_modules/isexe → isexe}/dist/mjs/posix.d.ts.map +0 -0
- /package/node_modules/{@zowe/imperative/node_modules/isexe → isexe}/dist/mjs/posix.js +0 -0
- /package/node_modules/{@zowe/imperative/node_modules/isexe → isexe}/dist/mjs/posix.js.map +0 -0
- /package/node_modules/{@zowe/imperative/node_modules/isexe → isexe}/dist/mjs/win32.d.ts +0 -0
- /package/node_modules/{@zowe/imperative/node_modules/isexe → isexe}/dist/mjs/win32.d.ts.map +0 -0
- /package/node_modules/{@zowe/imperative/node_modules/isexe → isexe}/dist/mjs/win32.js +0 -0
- /package/node_modules/{@zowe/imperative/node_modules/isexe → isexe}/dist/mjs/win32.js.map +0 -0
- /package/node_modules/{shebang-command/node_modules/shebang-regex → shebang-regex}/index.d.ts +0 -0
- /package/node_modules/{shebang-command/node_modules/shebang-regex → shebang-regex}/index.js +0 -0
- /package/node_modules/{strip-ansi/node_modules/ansi-regex → shebang-regex}/license +0 -0
- /package/node_modules/{shebang-command/node_modules/shebang-regex → shebang-regex}/package.json +0 -0
- /package/node_modules/{shebang-command/node_modules/shebang-regex → shebang-regex}/readme.md +0 -0
- /package/node_modules/streamroller/node_modules/{jsonfile → fs-extra/node_modules/jsonfile}/LICENSE +0 -0
- /package/node_modules/streamroller/node_modules/{jsonfile → fs-extra/node_modules/jsonfile}/README.md +0 -0
- /package/node_modules/streamroller/node_modules/{jsonfile → fs-extra/node_modules/jsonfile}/index.js +0 -0
- /package/node_modules/streamroller/node_modules/{jsonfile → fs-extra/node_modules/jsonfile}/package.json +0 -0
- /package/node_modules/streamroller/node_modules/{universalify → fs-extra/node_modules/universalify}/LICENSE +0 -0
- /package/node_modules/streamroller/node_modules/{universalify → fs-extra/node_modules/universalify}/README.md +0 -0
- /package/node_modules/streamroller/node_modules/{universalify → fs-extra/node_modules/universalify}/index.js +0 -0
- /package/node_modules/streamroller/node_modules/{universalify → fs-extra/node_modules/universalify}/package.json +0 -0
- /package/node_modules/{@zowe/imperative/node_modules/which → which}/bin/which.js +0 -0
- /package/node_modules/{@zowe/imperative/node_modules/which → which}/lib/index.js +0 -0
- /package/node_modules/{yargs/node_modules/y18n → y18n}/LICENSE +0 -0
- /package/node_modules/{yargs/node_modules/y18n → y18n}/README.md +0 -0
- /package/node_modules/{yargs/node_modules/y18n → y18n}/build/index.cjs +0 -0
- /package/node_modules/{yargs/node_modules/y18n → y18n}/build/lib/cjs.js +0 -0
- /package/node_modules/{yargs/node_modules/y18n → y18n}/build/lib/index.js +0 -0
- /package/node_modules/{yargs/node_modules/y18n → y18n}/build/lib/platform-shims/node.js +0 -0
- /package/node_modules/{yargs/node_modules/y18n → y18n}/index.mjs +0 -0
- /package/node_modules/{yargs/node_modules/y18n → y18n}/package.json +0 -0
- /package/node_modules/{tar/node_modules/yallist → yallist}/LICENSE.md +0 -0
- /package/node_modules/{tar/node_modules/yallist → yallist}/README.md +0 -0
- /package/node_modules/{tar/node_modules/yallist → yallist}/dist/commonjs/index.d.ts +0 -0
- /package/node_modules/{tar/node_modules/yallist → yallist}/dist/commonjs/index.d.ts.map +0 -0
- /package/node_modules/{tar/node_modules/yallist → yallist}/dist/commonjs/index.js +0 -0
- /package/node_modules/{tar/node_modules/yallist → yallist}/dist/commonjs/index.js.map +0 -0
- /package/node_modules/{@zowe/zos-files-for-zowe-sdk/node_modules/balanced-match → yallist}/dist/commonjs/package.json +0 -0
- /package/node_modules/{tar/node_modules/yallist → yallist}/dist/esm/index.d.ts +0 -0
- /package/node_modules/{tar/node_modules/yallist → yallist}/dist/esm/index.d.ts.map +0 -0
- /package/node_modules/{tar/node_modules/yallist → yallist}/dist/esm/index.js +0 -0
- /package/node_modules/{tar/node_modules/yallist → yallist}/dist/esm/index.js.map +0 -0
- /package/node_modules/{@zowe/zos-files-for-zowe-sdk/node_modules/balanced-match → yallist}/dist/esm/package.json +0 -0
- /package/node_modules/{tar/node_modules/yallist → yallist}/package.json +0 -0
|
@@ -0,0 +1,173 @@
|
|
|
1
|
+
import * as ElementType from "domelementtype";
|
|
2
|
+
import { encodeXML, escapeAttribute, escapeText } from "entities";
|
|
3
|
+
import { attributeNames, elementNames } from "./foreign-names.js";
|
|
4
|
+
// ── Constants ────────────────────────────────────────────────────────
|
|
5
|
+
/** Elements whose text content is never entity-encoded. */
|
|
6
|
+
const unencodedElements = new Set("style script xmp iframe noembed noframes plaintext noscript".split(" "));
|
|
7
|
+
/** HTML void elements — they cannot have children. */
|
|
8
|
+
const voidElements = new Set("area base basefont br col command embed frame hr img input isindex keygen link meta param source track wbr".split(" "));
|
|
9
|
+
/** Elements that switch the parser into foreign (XML-like) mode. */
|
|
10
|
+
const foreignElements = new Set(["svg", "math"]);
|
|
11
|
+
/**
|
|
12
|
+
* Foreign-mode integration points: children of these elements are parsed
|
|
13
|
+
* as HTML again, not as foreign content.
|
|
14
|
+
*/
|
|
15
|
+
const foreignModeIntegrationPoints = new Set("mi mo mn ms mtext annotation-xml foreignObject desc title".split(" "));
|
|
16
|
+
// ── Public API ───────────────────────────────────────────────────────
|
|
17
|
+
/**
|
|
18
|
+
* Renders a DOM node or an array of DOM nodes to a string.
|
|
19
|
+
*
|
|
20
|
+
* Can be thought of as the equivalent of the `outerHTML` of the passed
|
|
21
|
+
* node(s).
|
|
22
|
+
* @param node Node to be rendered.
|
|
23
|
+
* @param options Changes serialization behavior
|
|
24
|
+
*/
|
|
25
|
+
export function render(node, options = {}) {
|
|
26
|
+
const nodes = "length" in node ? node : [node];
|
|
27
|
+
/*
|
|
28
|
+
* `xmlMode` is threaded as a separate argument through the internal
|
|
29
|
+
* functions so that foreign-mode transitions (svg/mathml ↔ html) can
|
|
30
|
+
* adjust it without copying the options object on every element.
|
|
31
|
+
*/
|
|
32
|
+
const xmlMode = options.xmlMode ?? false;
|
|
33
|
+
let output = "";
|
|
34
|
+
// eslint-disable-next-line unicorn/no-for-loop
|
|
35
|
+
for (let index = 0; index < nodes.length; index++) {
|
|
36
|
+
output += renderNode(nodes[index], options, xmlMode);
|
|
37
|
+
}
|
|
38
|
+
return output;
|
|
39
|
+
}
|
|
40
|
+
export default render;
|
|
41
|
+
// ── Internal rendering ───────────────────────────────────────────────
|
|
42
|
+
/**
|
|
43
|
+
* Render an array of child nodes (skips the single-node wrapping in `render`).
|
|
44
|
+
* @param children The child nodes to render.
|
|
45
|
+
* @param options The serialization options.
|
|
46
|
+
* @param xmlMode The XML mode to use.
|
|
47
|
+
*/
|
|
48
|
+
function renderChildren(children, options, xmlMode) {
|
|
49
|
+
let output = "";
|
|
50
|
+
// eslint-disable-next-line unicorn/no-for-loop
|
|
51
|
+
for (let index = 0; index < children.length; index++) {
|
|
52
|
+
output += renderNode(children[index], options, xmlMode);
|
|
53
|
+
}
|
|
54
|
+
return output;
|
|
55
|
+
}
|
|
56
|
+
function renderNode(node, options, xmlMode) {
|
|
57
|
+
switch (node.type) {
|
|
58
|
+
case ElementType.Root: {
|
|
59
|
+
return renderChildren(node.children, options, xmlMode);
|
|
60
|
+
}
|
|
61
|
+
case ElementType.Directive: {
|
|
62
|
+
return `<${node.data}>`;
|
|
63
|
+
}
|
|
64
|
+
case ElementType.Comment: {
|
|
65
|
+
return `<!--${node.data}-->`;
|
|
66
|
+
}
|
|
67
|
+
case ElementType.CDATA: {
|
|
68
|
+
return `<![CDATA[${node.children[0].data}]]>`;
|
|
69
|
+
}
|
|
70
|
+
case ElementType.Script:
|
|
71
|
+
case ElementType.Style:
|
|
72
|
+
case ElementType.Tag: {
|
|
73
|
+
return renderTag(node, options, xmlMode);
|
|
74
|
+
}
|
|
75
|
+
case ElementType.Text: {
|
|
76
|
+
const element = node;
|
|
77
|
+
const data = element.data || "";
|
|
78
|
+
/*
|
|
79
|
+
* Skip encoding when entities weren't decoded on input, or when
|
|
80
|
+
* inside a raw-text element (script, style, etc.) in HTML mode.
|
|
81
|
+
*/
|
|
82
|
+
if ((options.encodeEntities ?? options.decodeEntities) !== false &&
|
|
83
|
+
!(!xmlMode &&
|
|
84
|
+
element.parent &&
|
|
85
|
+
unencodedElements.has(element.parent.name))) {
|
|
86
|
+
// `xmlMode: "foreign"` is truthy
|
|
87
|
+
return xmlMode || options.encodeEntities !== "utf8"
|
|
88
|
+
? encodeXML(data)
|
|
89
|
+
: escapeText(data);
|
|
90
|
+
}
|
|
91
|
+
return data;
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
function renderTag(element, options, xmlMode) {
|
|
96
|
+
if (xmlMode === "foreign") {
|
|
97
|
+
// Correct lowercase element names back to their canonical mixed-case form
|
|
98
|
+
element.name = elementNames.get(element.name) ?? element.name;
|
|
99
|
+
// Integration points exit foreign mode: their children are HTML
|
|
100
|
+
if (element.parent &&
|
|
101
|
+
foreignModeIntegrationPoints.has(element.parent.name)) {
|
|
102
|
+
xmlMode = false;
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
if (!xmlMode && foreignElements.has(element.name)) {
|
|
106
|
+
xmlMode = "foreign";
|
|
107
|
+
}
|
|
108
|
+
const { name, children } = element;
|
|
109
|
+
// Cache the void-element check — used for both self-closing and closing-tag logic
|
|
110
|
+
const isVoid = !xmlMode && voidElements.has(name);
|
|
111
|
+
let tag = `<${name}${formatAttributes(element.attribs, options, xmlMode)}`;
|
|
112
|
+
if (children.length === 0 &&
|
|
113
|
+
(xmlMode
|
|
114
|
+
? options.selfClosingTags !== false
|
|
115
|
+
: options.selfClosingTags && isVoid)) {
|
|
116
|
+
// XML: `<br/>`, HTML: `<br />`
|
|
117
|
+
tag += xmlMode ? "/>" : " />";
|
|
118
|
+
}
|
|
119
|
+
else {
|
|
120
|
+
tag += ">";
|
|
121
|
+
if (children.length > 0) {
|
|
122
|
+
tag += renderChildren(children, options, xmlMode);
|
|
123
|
+
}
|
|
124
|
+
if (!isVoid) {
|
|
125
|
+
tag += `</${name}>`;
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
return tag;
|
|
129
|
+
}
|
|
130
|
+
// ── Attribute formatting ─────────────────────────────────────────────
|
|
131
|
+
function replaceQuotes(value) {
|
|
132
|
+
return value.replaceAll('"', """);
|
|
133
|
+
}
|
|
134
|
+
/**
|
|
135
|
+
* Serialize an element's attribute map to a string.
|
|
136
|
+
*
|
|
137
|
+
* Returns a string with a leading space before each attribute, or an
|
|
138
|
+
* empty string if there are no attributes. This convention lets the
|
|
139
|
+
* caller unconditionally concatenate the result onto the tag name.
|
|
140
|
+
* @param attributes
|
|
141
|
+
* @param options
|
|
142
|
+
* @param xmlMode
|
|
143
|
+
*/
|
|
144
|
+
function formatAttributes(attributes, options, xmlMode) {
|
|
145
|
+
if (!attributes)
|
|
146
|
+
return "";
|
|
147
|
+
/*
|
|
148
|
+
* Pick the right encoder:
|
|
149
|
+
* - Encoding disabled → only escape double-quotes (for valid attributes)
|
|
150
|
+
* - XML / non-utf8 → full numeric entity encoding (encodeXML)
|
|
151
|
+
* - HTML + utf8 → minimal escaping (escapeAttribute)
|
|
152
|
+
*/
|
|
153
|
+
const encode = (options.encodeEntities ?? options.decodeEntities) === false
|
|
154
|
+
? replaceQuotes
|
|
155
|
+
: xmlMode || options.encodeEntities !== "utf8"
|
|
156
|
+
? encodeXML
|
|
157
|
+
: escapeAttribute;
|
|
158
|
+
const isForeign = xmlMode === "foreign";
|
|
159
|
+
const showEmpty = !!(options.emptyAttrs ?? xmlMode);
|
|
160
|
+
let result = "";
|
|
161
|
+
for (const key in attributes) {
|
|
162
|
+
if (!Object.hasOwn(attributes, key))
|
|
163
|
+
continue;
|
|
164
|
+
const value = attributes[key];
|
|
165
|
+
const k = isForeign ? (attributeNames.get(key) ?? key) : key;
|
|
166
|
+
result +=
|
|
167
|
+
!showEmpty && (value == null || value === "")
|
|
168
|
+
? ` ${k}`
|
|
169
|
+
: ` ${k}="${encode(value == null ? "" : String(value))}"`;
|
|
170
|
+
}
|
|
171
|
+
return result;
|
|
172
|
+
}
|
|
173
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"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"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
{
|
|
2
|
+
"type": "module",
|
|
2
3
|
"name": "dom-serializer",
|
|
3
|
-
"version": "
|
|
4
|
+
"version": "3.1.1",
|
|
4
5
|
"description": "render domhandler DOM nodes to a string",
|
|
5
6
|
"author": "Felix Boehm <me@feedic.com>",
|
|
6
7
|
"sideEffects": false,
|
|
@@ -13,57 +14,56 @@
|
|
|
13
14
|
"type": "git",
|
|
14
15
|
"url": "git://github.com/cheeriojs/dom-serializer.git"
|
|
15
16
|
},
|
|
16
|
-
"main": "
|
|
17
|
-
"types": "
|
|
18
|
-
"module": "lib/esm/index.js",
|
|
17
|
+
"main": "./dist/index.js",
|
|
18
|
+
"types": "./dist/index.d.ts",
|
|
19
19
|
"exports": {
|
|
20
|
-
"
|
|
21
|
-
|
|
20
|
+
".": {
|
|
21
|
+
"types": "./dist/index.d.ts",
|
|
22
|
+
"default": "./dist/index.js"
|
|
23
|
+
}
|
|
22
24
|
},
|
|
23
25
|
"files": [
|
|
24
|
-
"
|
|
26
|
+
"dist",
|
|
27
|
+
"src",
|
|
28
|
+
"!**/*.spec.ts",
|
|
29
|
+
"!**/*.bench.ts"
|
|
25
30
|
],
|
|
26
31
|
"dependencies": {
|
|
27
|
-
"domelementtype": "^
|
|
28
|
-
"domhandler": "^
|
|
29
|
-
"entities": "^
|
|
32
|
+
"domelementtype": "^3.0.0",
|
|
33
|
+
"domhandler": "^6.0.0",
|
|
34
|
+
"entities": "^8.0.0"
|
|
30
35
|
},
|
|
31
36
|
"devDependencies": {
|
|
32
|
-
"@
|
|
33
|
-
"@
|
|
34
|
-
"@
|
|
35
|
-
"@
|
|
36
|
-
"cheerio": "^1.
|
|
37
|
-
"eslint": "^
|
|
38
|
-
"eslint-config-
|
|
39
|
-
"
|
|
40
|
-
"
|
|
41
|
-
"
|
|
42
|
-
|
|
43
|
-
|
|
37
|
+
"@biomejs/biome": "^2.4.14",
|
|
38
|
+
"@eslint/compat": "^2.0.5",
|
|
39
|
+
"@feedic/eslint-config": "^0.4.1",
|
|
40
|
+
"@types/node": "^25.6.0",
|
|
41
|
+
"cheerio": "^1.2.0",
|
|
42
|
+
"eslint": "^10.3.0",
|
|
43
|
+
"eslint-config-biome": "^2.1.3",
|
|
44
|
+
"typescript": "^6.0.2",
|
|
45
|
+
"typescript-eslint": "^8.59.1",
|
|
46
|
+
"vitest": "^4.1.5"
|
|
47
|
+
},
|
|
48
|
+
"engines": {
|
|
49
|
+
"node": ">=20.19.0"
|
|
44
50
|
},
|
|
45
51
|
"scripts": {
|
|
46
|
-
"
|
|
47
|
-
"
|
|
48
|
-
"
|
|
49
|
-
"lint:es": "eslint --ignore-path .gitignore .",
|
|
50
|
-
"lint:prettier": "npm run prettier -- --check",
|
|
51
|
-
"format": "npm run format:es && npm run format:prettier",
|
|
52
|
+
"build": "tsc",
|
|
53
|
+
"format": "npm run format:es && npm run format:biome",
|
|
54
|
+
"format:biome": "biome check --write .",
|
|
52
55
|
"format:es": "npm run lint:es -- --fix",
|
|
53
|
-
"
|
|
54
|
-
"
|
|
55
|
-
"
|
|
56
|
-
"
|
|
57
|
-
"
|
|
58
|
-
"
|
|
56
|
+
"lint": "npm run lint:es && npm run lint:ts && npm run lint:biome",
|
|
57
|
+
"lint:biome": "biome check .",
|
|
58
|
+
"lint:es": "eslint .",
|
|
59
|
+
"lint:ts": "tsc --noEmit -p tsconfig.eslint.json",
|
|
60
|
+
"prepare": "npm run build",
|
|
61
|
+
"test": "npm run test:vi && npm run lint",
|
|
62
|
+
"test:vi": "vitest run"
|
|
59
63
|
},
|
|
60
|
-
"
|
|
61
|
-
"
|
|
62
|
-
"
|
|
63
|
-
"moduleNameMapper": {
|
|
64
|
-
"^(.*)\\.js$": "$1"
|
|
65
|
-
}
|
|
64
|
+
"funding": {
|
|
65
|
+
"type": "github",
|
|
66
|
+
"url": "https://github.com/cheeriojs/dom-serializer?sponsor=1"
|
|
66
67
|
},
|
|
67
|
-
"funding": "https://github.com/cheeriojs/dom-serializer?sponsor=1",
|
|
68
68
|
"license": "MIT"
|
|
69
69
|
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Mixed-case SVG and MathML element names recognized in foreign content.
|
|
3
|
+
* @see https://html.spec.whatwg.org/multipage/parsing.html#parsing-main-inforeign
|
|
4
|
+
*/
|
|
5
|
+
export const elementNames = new Map<string, string>(
|
|
6
|
+
"altGlyph altGlyphDef altGlyphItem animateColor animateMotion animateTransform clipPath feBlend feColorMatrix feComponentTransfer feComposite feConvolveMatrix feDiffuseLighting feDisplacementMap feDistantLight feDropShadow feFlood feFuncA feFuncB feFuncG feFuncR feGaussianBlur feImage feMerge feMergeNode feMorphology feOffset fePointLight feSpecularLighting feSpotLight feTile feTurbulence foreignObject glyphRef linearGradient radialGradient textPath"
|
|
7
|
+
.split(" ")
|
|
8
|
+
.map((name) => [name.toLowerCase(), name]),
|
|
9
|
+
);
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* Mixed-case SVG and MathML attribute names recognized in foreign content.
|
|
13
|
+
* @see https://html.spec.whatwg.org/multipage/parsing.html#parsing-main-inforeign
|
|
14
|
+
*/
|
|
15
|
+
export const attributeNames = new Map<string, string>(
|
|
16
|
+
"definitionURL attributeName attributeType baseFrequency baseProfile calcMode clipPathUnits diffuseConstant edgeMode filterUnits glyphRef gradientTransform gradientUnits kernelMatrix kernelUnitLength keyPoints keySplines keyTimes lengthAdjust limitingConeAngle markerHeight markerUnits markerWidth maskContentUnits maskUnits numOctaves pathLength patternContentUnits patternTransform patternUnits pointsAtX pointsAtY pointsAtZ preserveAlpha preserveAspectRatio primitiveUnits refX refY repeatCount repeatDur requiredExtensions requiredFeatures specularConstant specularExponent spreadMethod startOffset stdDeviation stitchTiles surfaceScale systemLanguage tableValues targetX targetY textLength viewBox viewTarget xChannelSelector yChannelSelector zoomAndPan"
|
|
17
|
+
.split(" ")
|
|
18
|
+
.map((name) => [name.toLowerCase(), name]),
|
|
19
|
+
);
|
|
@@ -0,0 +1,315 @@
|
|
|
1
|
+
import * as ElementType from "domelementtype";
|
|
2
|
+
import type {
|
|
3
|
+
AnyNode,
|
|
4
|
+
CDATA,
|
|
5
|
+
Comment,
|
|
6
|
+
Element,
|
|
7
|
+
ProcessingInstruction,
|
|
8
|
+
Text,
|
|
9
|
+
} from "domhandler";
|
|
10
|
+
import { encodeXML, escapeAttribute, escapeText } from "entities";
|
|
11
|
+
import { attributeNames, elementNames } from "./foreign-names.js";
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* Options for DOM serialization.
|
|
15
|
+
*/
|
|
16
|
+
export interface DomSerializerOptions {
|
|
17
|
+
/**
|
|
18
|
+
* Print an empty attribute's value.
|
|
19
|
+
* @default xmlMode
|
|
20
|
+
* @example With <code>emptyAttrs: false</code>: <code><input checked></code>
|
|
21
|
+
* @example With <code>emptyAttrs: true</code>: <code><input checked=""></code>
|
|
22
|
+
*/
|
|
23
|
+
emptyAttrs?: boolean;
|
|
24
|
+
/**
|
|
25
|
+
* Print self-closing tags for tags without contents. If `xmlMode` is set,
|
|
26
|
+
* this will apply to all tags. Otherwise, only tags that are defined as
|
|
27
|
+
* self-closing in the HTML specification will be printed as such.
|
|
28
|
+
* @default xmlMode
|
|
29
|
+
* @example With <code>selfClosingTags: false</code>: <code><foo></foo><br></br></code>
|
|
30
|
+
* @example With <code>xmlMode: true</code> and <code>selfClosingTags: true</code>: <code><foo/><br/></code>
|
|
31
|
+
* @example With <code>xmlMode: false</code> and <code>selfClosingTags: true</code>: <code><foo></foo><br /></code>
|
|
32
|
+
*/
|
|
33
|
+
selfClosingTags?: boolean;
|
|
34
|
+
/**
|
|
35
|
+
* Treat the input as an XML document; enables the `emptyAttrs` and
|
|
36
|
+
* `selfClosingTags` options.
|
|
37
|
+
*
|
|
38
|
+
* If the value is `"foreign"`, it will try to correct mixed-case attribute
|
|
39
|
+
* names.
|
|
40
|
+
* @default false
|
|
41
|
+
*/
|
|
42
|
+
xmlMode?: boolean | "foreign";
|
|
43
|
+
/**
|
|
44
|
+
* Encode characters reserved in HTML or XML in text and attribute values.
|
|
45
|
+
*
|
|
46
|
+
* If `xmlMode` is set or the value is not `'utf8'`, characters outside the
|
|
47
|
+
* ASCII range will also be encoded as numeric entities.
|
|
48
|
+
*
|
|
49
|
+
* **Security:** Setting this to `false` disables encoding of `<`, `>`, `&`,
|
|
50
|
+
* and (in attribute values) `'` — only `"` in attribute values is escaped.
|
|
51
|
+
* This is safe for the round-trip case (DOM was parsed with
|
|
52
|
+
* `decodeEntities: false`, so any markup characters in text or attribute
|
|
53
|
+
* values exist only as entity references), and unsafe otherwise. If text
|
|
54
|
+
* or attribute values in the DOM contain raw `<`, `>`, or `&`, those
|
|
55
|
+
* characters will appear literally in the output.
|
|
56
|
+
* @default `decodeEntities`
|
|
57
|
+
*/
|
|
58
|
+
encodeEntities?: boolean | "utf8";
|
|
59
|
+
/**
|
|
60
|
+
* Default for `encodeEntities`. Named to match the parser option of the
|
|
61
|
+
* same name so a single options object can be threaded through parse and
|
|
62
|
+
* serialize for a faithful round-trip — for example, cheerio parses with
|
|
63
|
+
* `decodeEntities: false` to preserve entity references and passes the
|
|
64
|
+
* same option here so they are not re-encoded.
|
|
65
|
+
*
|
|
66
|
+
* Despite the name, on the serializer this option controls *encoding*.
|
|
67
|
+
* Setting it to `false` carries the same caveat as `encodeEntities: false`
|
|
68
|
+
* — see that option.
|
|
69
|
+
* @default true
|
|
70
|
+
*/
|
|
71
|
+
decodeEntities?: boolean;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
// ── Constants ────────────────────────────────────────────────────────
|
|
75
|
+
|
|
76
|
+
/** Elements whose text content is never entity-encoded. */
|
|
77
|
+
const unencodedElements = new Set(
|
|
78
|
+
"style script xmp iframe noembed noframes plaintext noscript".split(" "),
|
|
79
|
+
);
|
|
80
|
+
|
|
81
|
+
/** HTML void elements — they cannot have children. */
|
|
82
|
+
const voidElements = new Set(
|
|
83
|
+
"area base basefont br col command embed frame hr img input isindex keygen link meta param source track wbr".split(
|
|
84
|
+
" ",
|
|
85
|
+
),
|
|
86
|
+
);
|
|
87
|
+
|
|
88
|
+
/** Elements that switch the parser into foreign (XML-like) mode. */
|
|
89
|
+
const foreignElements = new Set(["svg", "math"]);
|
|
90
|
+
|
|
91
|
+
/**
|
|
92
|
+
* Foreign-mode integration points: children of these elements are parsed
|
|
93
|
+
* as HTML again, not as foreign content.
|
|
94
|
+
*/
|
|
95
|
+
const foreignModeIntegrationPoints = new Set(
|
|
96
|
+
"mi mo mn ms mtext annotation-xml foreignObject desc title".split(" "),
|
|
97
|
+
);
|
|
98
|
+
|
|
99
|
+
// ── Public API ───────────────────────────────────────────────────────
|
|
100
|
+
|
|
101
|
+
/**
|
|
102
|
+
* Renders a DOM node or an array of DOM nodes to a string.
|
|
103
|
+
*
|
|
104
|
+
* Can be thought of as the equivalent of the `outerHTML` of the passed
|
|
105
|
+
* node(s).
|
|
106
|
+
* @param node Node to be rendered.
|
|
107
|
+
* @param options Changes serialization behavior
|
|
108
|
+
*/
|
|
109
|
+
export function render(
|
|
110
|
+
node: AnyNode | ArrayLike<AnyNode>,
|
|
111
|
+
options: DomSerializerOptions = {},
|
|
112
|
+
): string {
|
|
113
|
+
const nodes = "length" in node ? node : [node];
|
|
114
|
+
|
|
115
|
+
/*
|
|
116
|
+
* `xmlMode` is threaded as a separate argument through the internal
|
|
117
|
+
* functions so that foreign-mode transitions (svg/mathml ↔ html) can
|
|
118
|
+
* adjust it without copying the options object on every element.
|
|
119
|
+
*/
|
|
120
|
+
const xmlMode = options.xmlMode ?? false;
|
|
121
|
+
|
|
122
|
+
let output = "";
|
|
123
|
+
// eslint-disable-next-line unicorn/no-for-loop
|
|
124
|
+
for (let index = 0; index < nodes.length; index++) {
|
|
125
|
+
output += renderNode(nodes[index], options, xmlMode);
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
return output;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
export default render;
|
|
132
|
+
|
|
133
|
+
// ── Internal rendering ───────────────────────────────────────────────
|
|
134
|
+
|
|
135
|
+
/**
|
|
136
|
+
* Render an array of child nodes (skips the single-node wrapping in `render`).
|
|
137
|
+
* @param children The child nodes to render.
|
|
138
|
+
* @param options The serialization options.
|
|
139
|
+
* @param xmlMode The XML mode to use.
|
|
140
|
+
*/
|
|
141
|
+
function renderChildren(
|
|
142
|
+
children: ArrayLike<AnyNode>,
|
|
143
|
+
options: DomSerializerOptions,
|
|
144
|
+
xmlMode: boolean | "foreign",
|
|
145
|
+
): string {
|
|
146
|
+
let output = "";
|
|
147
|
+
// eslint-disable-next-line unicorn/no-for-loop
|
|
148
|
+
for (let index = 0; index < children.length; index++) {
|
|
149
|
+
output += renderNode(children[index], options, xmlMode);
|
|
150
|
+
}
|
|
151
|
+
return output;
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
function renderNode(
|
|
155
|
+
node: AnyNode,
|
|
156
|
+
options: DomSerializerOptions,
|
|
157
|
+
xmlMode: boolean | "foreign",
|
|
158
|
+
): string {
|
|
159
|
+
switch (node.type) {
|
|
160
|
+
case ElementType.Root: {
|
|
161
|
+
return renderChildren(node.children, options, xmlMode);
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
case ElementType.Directive: {
|
|
165
|
+
return `<${(node as ProcessingInstruction).data}>`;
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
case ElementType.Comment: {
|
|
169
|
+
return `<!--${(node as Comment).data}-->`;
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
case ElementType.CDATA: {
|
|
173
|
+
return `<![CDATA[${((node as CDATA).children[0] as Text).data}]]>`;
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
case ElementType.Script:
|
|
177
|
+
case ElementType.Style:
|
|
178
|
+
case ElementType.Tag: {
|
|
179
|
+
return renderTag(node as Element, options, xmlMode);
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
case ElementType.Text: {
|
|
183
|
+
const element = node as Text;
|
|
184
|
+
const data = element.data || "";
|
|
185
|
+
|
|
186
|
+
/*
|
|
187
|
+
* Skip encoding when entities weren't decoded on input, or when
|
|
188
|
+
* inside a raw-text element (script, style, etc.) in HTML mode.
|
|
189
|
+
*/
|
|
190
|
+
if (
|
|
191
|
+
(options.encodeEntities ?? options.decodeEntities) !== false &&
|
|
192
|
+
!(
|
|
193
|
+
!xmlMode &&
|
|
194
|
+
element.parent &&
|
|
195
|
+
unencodedElements.has((element.parent as Element).name)
|
|
196
|
+
)
|
|
197
|
+
) {
|
|
198
|
+
// `xmlMode: "foreign"` is truthy
|
|
199
|
+
return xmlMode || options.encodeEntities !== "utf8"
|
|
200
|
+
? encodeXML(data)
|
|
201
|
+
: escapeText(data);
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
return data;
|
|
205
|
+
}
|
|
206
|
+
}
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
function renderTag(
|
|
210
|
+
element: Element,
|
|
211
|
+
options: DomSerializerOptions,
|
|
212
|
+
xmlMode: boolean | "foreign",
|
|
213
|
+
) {
|
|
214
|
+
if (xmlMode === "foreign") {
|
|
215
|
+
// Correct lowercase element names back to their canonical mixed-case form
|
|
216
|
+
element.name = elementNames.get(element.name) ?? element.name;
|
|
217
|
+
|
|
218
|
+
// Integration points exit foreign mode: their children are HTML
|
|
219
|
+
if (
|
|
220
|
+
element.parent &&
|
|
221
|
+
foreignModeIntegrationPoints.has((element.parent as Element).name)
|
|
222
|
+
) {
|
|
223
|
+
xmlMode = false;
|
|
224
|
+
}
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
if (!xmlMode && foreignElements.has(element.name)) {
|
|
228
|
+
xmlMode = "foreign";
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
const { name, children } = element;
|
|
232
|
+
|
|
233
|
+
// Cache the void-element check — used for both self-closing and closing-tag logic
|
|
234
|
+
const isVoid = !xmlMode && voidElements.has(name);
|
|
235
|
+
|
|
236
|
+
let tag = `<${name}${formatAttributes(element.attribs, options, xmlMode)}`;
|
|
237
|
+
|
|
238
|
+
if (
|
|
239
|
+
children.length === 0 &&
|
|
240
|
+
(xmlMode
|
|
241
|
+
? options.selfClosingTags !== false
|
|
242
|
+
: options.selfClosingTags && isVoid)
|
|
243
|
+
) {
|
|
244
|
+
// XML: `<br/>`, HTML: `<br />`
|
|
245
|
+
tag += xmlMode ? "/>" : " />";
|
|
246
|
+
} else {
|
|
247
|
+
tag += ">";
|
|
248
|
+
|
|
249
|
+
if (children.length > 0) {
|
|
250
|
+
tag += renderChildren(children, options, xmlMode);
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
if (!isVoid) {
|
|
254
|
+
tag += `</${name}>`;
|
|
255
|
+
}
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
return tag;
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
// ── Attribute formatting ─────────────────────────────────────────────
|
|
262
|
+
|
|
263
|
+
function replaceQuotes(value: string): string {
|
|
264
|
+
return value.replaceAll('"', """);
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
/**
|
|
268
|
+
* Serialize an element's attribute map to a string.
|
|
269
|
+
*
|
|
270
|
+
* Returns a string with a leading space before each attribute, or an
|
|
271
|
+
* empty string if there are no attributes. This convention lets the
|
|
272
|
+
* caller unconditionally concatenate the result onto the tag name.
|
|
273
|
+
* @param attributes
|
|
274
|
+
* @param options
|
|
275
|
+
* @param xmlMode
|
|
276
|
+
*/
|
|
277
|
+
function formatAttributes(
|
|
278
|
+
attributes: Record<string, unknown> | undefined,
|
|
279
|
+
options: DomSerializerOptions,
|
|
280
|
+
xmlMode: boolean | "foreign",
|
|
281
|
+
) {
|
|
282
|
+
if (!attributes) return "";
|
|
283
|
+
|
|
284
|
+
/*
|
|
285
|
+
* Pick the right encoder:
|
|
286
|
+
* - Encoding disabled → only escape double-quotes (for valid attributes)
|
|
287
|
+
* - XML / non-utf8 → full numeric entity encoding (encodeXML)
|
|
288
|
+
* - HTML + utf8 → minimal escaping (escapeAttribute)
|
|
289
|
+
*/
|
|
290
|
+
const encode =
|
|
291
|
+
(options.encodeEntities ?? options.decodeEntities) === false
|
|
292
|
+
? replaceQuotes
|
|
293
|
+
: xmlMode || options.encodeEntities !== "utf8"
|
|
294
|
+
? encodeXML
|
|
295
|
+
: escapeAttribute;
|
|
296
|
+
|
|
297
|
+
const isForeign = xmlMode === "foreign";
|
|
298
|
+
const showEmpty = !!(options.emptyAttrs ?? xmlMode);
|
|
299
|
+
|
|
300
|
+
let result = "";
|
|
301
|
+
|
|
302
|
+
for (const key in attributes) {
|
|
303
|
+
if (!Object.hasOwn(attributes, key)) continue;
|
|
304
|
+
|
|
305
|
+
const value = attributes[key];
|
|
306
|
+
const k = isForeign ? (attributeNames.get(key) ?? key) : key;
|
|
307
|
+
|
|
308
|
+
result +=
|
|
309
|
+
!showEmpty && (value == null || value === "")
|
|
310
|
+
? ` ${k}`
|
|
311
|
+
: ` ${k}="${encode(value == null ? "" : String(value))}"`;
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
return result;
|
|
315
|
+
}
|
|
@@ -21,28 +21,28 @@ export declare enum ElementType {
|
|
|
21
21
|
}
|
|
22
22
|
/**
|
|
23
23
|
* Tests whether an element is a tag or not.
|
|
24
|
-
*
|
|
25
|
-
* @param
|
|
24
|
+
* @param element Element to test
|
|
25
|
+
* @param element.type Node type discriminator to check.
|
|
26
26
|
*/
|
|
27
|
-
export declare function isTag(
|
|
27
|
+
export declare function isTag(element: {
|
|
28
28
|
type: ElementType;
|
|
29
29
|
}): boolean;
|
|
30
30
|
/** Type for the root element of a document */
|
|
31
|
-
export declare const Root
|
|
31
|
+
export declare const Root: ElementType.Root;
|
|
32
32
|
/** Type for Text */
|
|
33
|
-
export declare const Text
|
|
33
|
+
export declare const Text: ElementType.Text;
|
|
34
34
|
/** Type for <? ... ?> */
|
|
35
|
-
export declare const Directive
|
|
35
|
+
export declare const Directive: ElementType.Directive;
|
|
36
36
|
/** Type for <!-- ... --> */
|
|
37
|
-
export declare const Comment
|
|
37
|
+
export declare const Comment: ElementType.Comment;
|
|
38
38
|
/** Type for <script> tags */
|
|
39
|
-
export declare const Script
|
|
39
|
+
export declare const Script: ElementType.Script;
|
|
40
40
|
/** Type for <style> tags */
|
|
41
|
-
export declare const Style
|
|
41
|
+
export declare const Style: ElementType.Style;
|
|
42
42
|
/** Type for Any tag */
|
|
43
|
-
export declare const Tag
|
|
43
|
+
export declare const Tag: ElementType.Tag;
|
|
44
44
|
/** Type for <![CDATA[ ... ]]> */
|
|
45
|
-
export declare const CDATA
|
|
45
|
+
export declare const CDATA: ElementType.CDATA;
|
|
46
46
|
/** Type for <!doctype ...> */
|
|
47
|
-
export declare const Doctype
|
|
47
|
+
export declare const Doctype: ElementType.Doctype;
|
|
48
48
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,mDAAmD;AACnD,oBAAY,WAAW;IACnB,8CAA8C;IAC9C,IAAI,SAAS;IACb,oBAAoB;IACpB,IAAI,SAAS;IACb,yBAAyB;IACzB,SAAS,cAAc;IACvB,4BAA4B;IAC5B,OAAO,YAAY;IACnB,6BAA6B;IAC7B,MAAM,WAAW;IACjB,4BAA4B;IAC5B,KAAK,UAAU;IACf,uBAAuB;IACvB,GAAG,QAAQ;IACX,iCAAiC;IACjC,KAAK,UAAU;IACf,8BAA8B;IAC9B,OAAO,YAAY;CACtB;AAED;;;;GAIG;AACH,wBAAgB,KAAK,CAAC,OAAO,EAAE;IAAE,IAAI,EAAE,WAAW,CAAA;CAAE,GAAG,OAAO,CAM7D;AAGD,8CAA8C;AAE9C,eAAO,MAAM,IAAI,EAAE,WAAW,CAAC,IAAuB,CAAC;AACvD,oBAAoB;AAEpB,eAAO,MAAM,IAAI,EAAE,WAAW,CAAC,IAAuB,CAAC;AACvD,yBAAyB;AAEzB,eAAO,MAAM,SAAS,EAAE,WAAW,CAAC,SAAiC,CAAC;AACtE,4BAA4B;AAE5B,eAAO,MAAM,OAAO,EAAE,WAAW,CAAC,OAA6B,CAAC;AAChE,6BAA6B;AAE7B,eAAO,MAAM,MAAM,EAAE,WAAW,CAAC,MAA2B,CAAC;AAC7D,4BAA4B;AAE5B,eAAO,MAAM,KAAK,EAAE,WAAW,CAAC,KAAyB,CAAC;AAC1D,uBAAuB;AAEvB,eAAO,MAAM,GAAG,EAAE,WAAW,CAAC,GAAqB,CAAC;AACpD,iCAAiC;AAEjC,eAAO,MAAM,KAAK,EAAE,WAAW,CAAC,KAAyB,CAAC;AAC1D,8BAA8B;AAE9B,eAAO,MAAM,OAAO,EAAE,WAAW,CAAC,OAA6B,CAAC"}
|