@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
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
var domhandler_1 = require("domhandler");
|
|
1
|
+
import {
|
|
2
|
+
type AnyNode,
|
|
3
|
+
type Element,
|
|
4
|
+
hasChildren,
|
|
5
|
+
isTag,
|
|
6
|
+
type ParentNode,
|
|
7
|
+
} from "domhandler";
|
|
8
|
+
|
|
10
9
|
/**
|
|
11
10
|
* Search a node and its children for nodes passing a test function. If `node` is not an array, it will be wrapped in one.
|
|
12
11
|
*
|
|
@@ -17,11 +16,15 @@ var domhandler_1 = require("domhandler");
|
|
|
17
16
|
* @param limit Maximum number of nodes to return.
|
|
18
17
|
* @returns All nodes passing `test`.
|
|
19
18
|
*/
|
|
20
|
-
function filter(
|
|
21
|
-
|
|
22
|
-
|
|
19
|
+
export function filter(
|
|
20
|
+
test: (element: AnyNode) => boolean,
|
|
21
|
+
node: AnyNode | AnyNode[],
|
|
22
|
+
recurse = true,
|
|
23
|
+
limit: number = Number.POSITIVE_INFINITY,
|
|
24
|
+
): AnyNode[] {
|
|
23
25
|
return find(test, Array.isArray(node) ? node : [node], recurse, limit);
|
|
24
26
|
}
|
|
27
|
+
|
|
25
28
|
/**
|
|
26
29
|
* Search an array of nodes and their children for nodes passing a test function.
|
|
27
30
|
*
|
|
@@ -32,12 +35,18 @@ function filter(test, node, recurse, limit) {
|
|
|
32
35
|
* @param limit Maximum number of nodes to return.
|
|
33
36
|
* @returns All nodes passing `test`.
|
|
34
37
|
*/
|
|
35
|
-
function find(
|
|
36
|
-
|
|
38
|
+
export function find(
|
|
39
|
+
test: (element: AnyNode) => boolean,
|
|
40
|
+
nodes: AnyNode[] | ParentNode,
|
|
41
|
+
recurse: boolean,
|
|
42
|
+
limit: number,
|
|
43
|
+
): AnyNode[] {
|
|
44
|
+
const result: AnyNode[] = [];
|
|
37
45
|
/** Stack of the arrays we are looking at. */
|
|
38
|
-
|
|
46
|
+
const nodeStack: AnyNode[][] = [Array.isArray(nodes) ? nodes : [nodes]];
|
|
39
47
|
/** Stack of the indices within the arrays. */
|
|
40
|
-
|
|
48
|
+
const indexStack = [0];
|
|
49
|
+
|
|
41
50
|
for (;;) {
|
|
42
51
|
// First, check if the current array has any more elements to look at.
|
|
43
52
|
if (indexStack[0] >= nodeStack[0].length) {
|
|
@@ -45,40 +54,33 @@ function find(test, nodes, recurse, limit) {
|
|
|
45
54
|
if (indexStack.length === 1) {
|
|
46
55
|
return result;
|
|
47
56
|
}
|
|
57
|
+
|
|
48
58
|
// Otherwise, remove the current array from the stack.
|
|
49
59
|
nodeStack.shift();
|
|
50
60
|
indexStack.shift();
|
|
61
|
+
|
|
51
62
|
// Loop back to the start to continue with the next array.
|
|
52
63
|
continue;
|
|
53
64
|
}
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
65
|
+
|
|
66
|
+
const element = nodeStack[0][indexStack[0]++];
|
|
67
|
+
|
|
68
|
+
if (test(element)) {
|
|
69
|
+
result.push(element);
|
|
70
|
+
if (--limit <= 0) return result;
|
|
59
71
|
}
|
|
60
|
-
|
|
72
|
+
|
|
73
|
+
if (recurse && hasChildren(element) && element.children.length > 0) {
|
|
61
74
|
/*
|
|
62
75
|
* Add the children to the stack. We are depth-first, so this is
|
|
63
76
|
* the next array we look at.
|
|
64
77
|
*/
|
|
65
78
|
indexStack.unshift(0);
|
|
66
|
-
nodeStack.unshift(
|
|
79
|
+
nodeStack.unshift(element.children);
|
|
67
80
|
}
|
|
68
81
|
}
|
|
69
82
|
}
|
|
70
|
-
|
|
71
|
-
* Finds the first element inside of an array that matches a test function. This is an alias for `Array.prototype.find`.
|
|
72
|
-
*
|
|
73
|
-
* @category Querying
|
|
74
|
-
* @param test Function to test nodes on.
|
|
75
|
-
* @param nodes Array of nodes to search.
|
|
76
|
-
* @returns The first node in the array that passes `test`.
|
|
77
|
-
* @deprecated Use `Array.prototype.find` directly.
|
|
78
|
-
*/
|
|
79
|
-
function findOneChild(test, nodes) {
|
|
80
|
-
return nodes.find(test);
|
|
81
|
-
}
|
|
83
|
+
|
|
82
84
|
/**
|
|
83
85
|
* Finds one element in a tree that passes a test.
|
|
84
86
|
*
|
|
@@ -88,22 +90,25 @@ function findOneChild(test, nodes) {
|
|
|
88
90
|
* @param recurse Also consider child nodes.
|
|
89
91
|
* @returns The first node that passes `test`.
|
|
90
92
|
*/
|
|
91
|
-
function findOne(
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
93
|
+
export function findOne(
|
|
94
|
+
test: (element: Element) => boolean,
|
|
95
|
+
nodes: AnyNode[] | ParentNode,
|
|
96
|
+
recurse = true,
|
|
97
|
+
): Element | null {
|
|
98
|
+
const searchedNodes = Array.isArray(nodes) ? nodes : [nodes];
|
|
99
|
+
for (const node of searchedNodes) {
|
|
100
|
+
if (isTag(node) && test(node)) {
|
|
97
101
|
return node;
|
|
98
102
|
}
|
|
99
|
-
if (recurse &&
|
|
100
|
-
|
|
101
|
-
if (found)
|
|
102
|
-
return found;
|
|
103
|
+
if (recurse && hasChildren(node) && node.children.length > 0) {
|
|
104
|
+
const found = findOne(test, node.children, true);
|
|
105
|
+
if (found) return found;
|
|
103
106
|
}
|
|
104
107
|
}
|
|
108
|
+
|
|
105
109
|
return null;
|
|
106
110
|
}
|
|
111
|
+
|
|
107
112
|
/**
|
|
108
113
|
* Checks if a tree of nodes contains at least one node passing a test.
|
|
109
114
|
*
|
|
@@ -112,12 +117,17 @@ function findOne(test, nodes, recurse) {
|
|
|
112
117
|
* @param nodes Array of nodes to search.
|
|
113
118
|
* @returns Whether a tree of nodes contains at least one node passing the test.
|
|
114
119
|
*/
|
|
115
|
-
function existsOne(
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
+
export function existsOne(
|
|
121
|
+
test: (element: Element) => boolean,
|
|
122
|
+
nodes: AnyNode[] | ParentNode,
|
|
123
|
+
): boolean {
|
|
124
|
+
return (Array.isArray(nodes) ? nodes : [nodes]).some(
|
|
125
|
+
(node) =>
|
|
126
|
+
(isTag(node) && test(node)) ||
|
|
127
|
+
(hasChildren(node) && existsOne(test, node.children)),
|
|
128
|
+
);
|
|
120
129
|
}
|
|
130
|
+
|
|
121
131
|
/**
|
|
122
132
|
* Search an array of nodes and their children for elements passing a test function.
|
|
123
133
|
*
|
|
@@ -128,28 +138,35 @@ function existsOne(test, nodes) {
|
|
|
128
138
|
* @param nodes Array of nodes to search.
|
|
129
139
|
* @returns All nodes passing `test`.
|
|
130
140
|
*/
|
|
131
|
-
function findAll(
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
141
|
+
export function findAll(
|
|
142
|
+
test: (element: Element) => boolean,
|
|
143
|
+
nodes: AnyNode[] | ParentNode,
|
|
144
|
+
): Element[] {
|
|
145
|
+
const result = [];
|
|
146
|
+
const nodeStack = [Array.isArray(nodes) ? nodes : [nodes]];
|
|
147
|
+
const indexStack = [0];
|
|
148
|
+
|
|
135
149
|
for (;;) {
|
|
136
150
|
if (indexStack[0] >= nodeStack[0].length) {
|
|
137
151
|
if (nodeStack.length === 1) {
|
|
138
152
|
return result;
|
|
139
153
|
}
|
|
154
|
+
|
|
140
155
|
// Otherwise, remove the current array from the stack.
|
|
141
156
|
nodeStack.shift();
|
|
142
157
|
indexStack.shift();
|
|
158
|
+
|
|
143
159
|
// Loop back to the start to continue with the next array.
|
|
144
160
|
continue;
|
|
145
161
|
}
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
if ((
|
|
162
|
+
|
|
163
|
+
const element = nodeStack[0][indexStack[0]++];
|
|
164
|
+
|
|
165
|
+
if (isTag(element) && test(element)) result.push(element);
|
|
166
|
+
|
|
167
|
+
if (hasChildren(element) && element.children.length > 0) {
|
|
150
168
|
indexStack.unshift(0);
|
|
151
|
-
nodeStack.unshift(
|
|
169
|
+
nodeStack.unshift(element.children);
|
|
152
170
|
}
|
|
153
171
|
}
|
|
154
172
|
}
|
|
155
|
-
//# sourceMappingURL=querying.js.map
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
import renderHTML, { type DomSerializerOptions } from "dom-serializer";
|
|
2
|
+
import { ElementType } from "domelementtype";
|
|
3
|
+
import {
|
|
4
|
+
type AnyNode,
|
|
5
|
+
hasChildren,
|
|
6
|
+
isCDATA,
|
|
7
|
+
isComment,
|
|
8
|
+
isTag,
|
|
9
|
+
isText,
|
|
10
|
+
} from "domhandler";
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* @category Stringify
|
|
14
|
+
* @deprecated Use the `dom-serializer` module directly.
|
|
15
|
+
* @param node Node to get the outer HTML of.
|
|
16
|
+
* @param options Options for serialization.
|
|
17
|
+
* @returns `node`'s outer HTML.
|
|
18
|
+
*/
|
|
19
|
+
export function getOuterHTML(
|
|
20
|
+
node: AnyNode | ArrayLike<AnyNode>,
|
|
21
|
+
options?: DomSerializerOptions,
|
|
22
|
+
): string {
|
|
23
|
+
return renderHTML(node, options);
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
/**
|
|
27
|
+
* @category Stringify
|
|
28
|
+
* @deprecated Use the `dom-serializer` module directly.
|
|
29
|
+
* @param node Node to get the inner HTML of.
|
|
30
|
+
* @param options Options for serialization.
|
|
31
|
+
* @returns `node`'s inner HTML.
|
|
32
|
+
*/
|
|
33
|
+
export function getInnerHTML(
|
|
34
|
+
node: AnyNode,
|
|
35
|
+
options?: DomSerializerOptions,
|
|
36
|
+
): string {
|
|
37
|
+
return hasChildren(node)
|
|
38
|
+
? node.children.map((node) => getOuterHTML(node, options)).join("")
|
|
39
|
+
: "";
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* Get a node's inner text. Same as `textContent`, but inserts newlines for `<br>` tags. Ignores comments.
|
|
44
|
+
*
|
|
45
|
+
* @category Stringify
|
|
46
|
+
* @deprecated Use `textContent` instead.
|
|
47
|
+
* @param node Node to get the inner text of.
|
|
48
|
+
* @returns `node`'s inner text.
|
|
49
|
+
*/
|
|
50
|
+
export function getText(node: AnyNode | AnyNode[]): string {
|
|
51
|
+
if (Array.isArray(node)) return node.map(getText).join("");
|
|
52
|
+
if (isTag(node)) return node.name === "br" ? "\n" : getText(node.children);
|
|
53
|
+
if (isCDATA(node)) return getText(node.children);
|
|
54
|
+
if (isText(node)) return node.data;
|
|
55
|
+
return "";
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
/**
|
|
59
|
+
* Get a node's text content. Ignores comments.
|
|
60
|
+
*
|
|
61
|
+
* @category Stringify
|
|
62
|
+
* @param node Node to get the text content of.
|
|
63
|
+
* @returns `node`'s text content.
|
|
64
|
+
* @see {@link https://developer.mozilla.org/en-US/docs/Web/API/Node/textContent}
|
|
65
|
+
*/
|
|
66
|
+
export function textContent(node: AnyNode | AnyNode[]): string {
|
|
67
|
+
if (Array.isArray(node)) return node.map(textContent).join("");
|
|
68
|
+
if (hasChildren(node) && !isComment(node)) {
|
|
69
|
+
return textContent(node.children);
|
|
70
|
+
}
|
|
71
|
+
if (isText(node)) return node.data;
|
|
72
|
+
return "";
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
/**
|
|
76
|
+
* Get a node's inner text, ignoring `<script>` and `<style>` tags. Ignores comments.
|
|
77
|
+
*
|
|
78
|
+
* @category Stringify
|
|
79
|
+
* @param node Node to get the inner text of.
|
|
80
|
+
* @returns `node`'s inner text.
|
|
81
|
+
* @see {@link https://developer.mozilla.org/en-US/docs/Web/API/Node/innerText}
|
|
82
|
+
*/
|
|
83
|
+
export function innerText(node: AnyNode | AnyNode[]): string {
|
|
84
|
+
if (Array.isArray(node)) return node.map(innerText).join("");
|
|
85
|
+
if (hasChildren(node) && (node.type === ElementType.Tag || isCDATA(node))) {
|
|
86
|
+
return innerText(node.children);
|
|
87
|
+
}
|
|
88
|
+
if (isText(node)) return node.data;
|
|
89
|
+
return "";
|
|
90
|
+
}
|
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
import {
|
|
2
|
+
type AnyNode,
|
|
3
|
+
type ChildNode,
|
|
4
|
+
type Element,
|
|
5
|
+
hasChildren,
|
|
6
|
+
isTag,
|
|
7
|
+
type ParentNode,
|
|
8
|
+
} from "domhandler";
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* Get a node's children.
|
|
12
|
+
*
|
|
13
|
+
* @category Traversal
|
|
14
|
+
* @param element Node to get the children of.
|
|
15
|
+
* @returns `element`'s children, or an empty array.
|
|
16
|
+
*/
|
|
17
|
+
export function getChildren(element: AnyNode): ChildNode[] {
|
|
18
|
+
return hasChildren(element) ? element.children : [];
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* Get a node's parent.
|
|
23
|
+
*
|
|
24
|
+
* @category Traversal
|
|
25
|
+
* @param element Node to get the parent of.
|
|
26
|
+
* @returns `element`'s parent node, or `null` if `element` is a root node.
|
|
27
|
+
*/
|
|
28
|
+
export function getParent(element: AnyNode): ParentNode | null;
|
|
29
|
+
export function getParent(element: AnyNode): ParentNode | null {
|
|
30
|
+
return element.parent || null;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* Gets an elements siblings, including the element itself.
|
|
35
|
+
*
|
|
36
|
+
* Attempts to get the children through the element's parent first. If we don't
|
|
37
|
+
* have a parent (the element is a root node), we walk the element's `prev` &
|
|
38
|
+
* `next` to get all remaining nodes.
|
|
39
|
+
*
|
|
40
|
+
* @category Traversal
|
|
41
|
+
* @param element Element to get the siblings of.
|
|
42
|
+
* @returns `element`'s siblings, including `element`.
|
|
43
|
+
*/
|
|
44
|
+
export function getSiblings(element: AnyNode): AnyNode[] {
|
|
45
|
+
const parent = getParent(element);
|
|
46
|
+
if (parent != null) return getChildren(parent);
|
|
47
|
+
|
|
48
|
+
const siblings = [element];
|
|
49
|
+
let { prev, next } = element;
|
|
50
|
+
while (prev != null) {
|
|
51
|
+
siblings.unshift(prev);
|
|
52
|
+
({ prev } = prev);
|
|
53
|
+
}
|
|
54
|
+
while (next != null) {
|
|
55
|
+
siblings.push(next);
|
|
56
|
+
({ next } = next);
|
|
57
|
+
}
|
|
58
|
+
return siblings;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
/**
|
|
62
|
+
* Gets an attribute from an element.
|
|
63
|
+
*
|
|
64
|
+
* @category Traversal
|
|
65
|
+
* @param element Element to check.
|
|
66
|
+
* @param name Attribute name to retrieve.
|
|
67
|
+
* @returns The element's attribute value, or `undefined`.
|
|
68
|
+
*/
|
|
69
|
+
export function getAttributeValue(
|
|
70
|
+
element: Element,
|
|
71
|
+
name: string,
|
|
72
|
+
): string | undefined {
|
|
73
|
+
const { attribs } = element as {
|
|
74
|
+
attribs?: Record<string, string | undefined>;
|
|
75
|
+
};
|
|
76
|
+
return attribs?.[name];
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
/**
|
|
80
|
+
* Checks whether an element has an attribute.
|
|
81
|
+
*
|
|
82
|
+
* @category Traversal
|
|
83
|
+
* @param element Element to check.
|
|
84
|
+
* @param name Attribute name to look for.
|
|
85
|
+
* @returns Returns whether `element` has the attribute `name`.
|
|
86
|
+
*/
|
|
87
|
+
export function hasAttrib(element: Element, name: string): boolean {
|
|
88
|
+
const { attribs } = element as { attribs?: Record<string, string | null> };
|
|
89
|
+
return (
|
|
90
|
+
attribs != null && Object.hasOwn(attribs, name) && attribs[name] != null
|
|
91
|
+
);
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
/**
|
|
95
|
+
* Get the tag name of an element.
|
|
96
|
+
*
|
|
97
|
+
* @category Traversal
|
|
98
|
+
* @param element The element to get the name for.
|
|
99
|
+
* @returns The tag name of `element`.
|
|
100
|
+
*/
|
|
101
|
+
export function getName(element: Element): string {
|
|
102
|
+
return element.name;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
/**
|
|
106
|
+
* Returns the next element sibling of a node.
|
|
107
|
+
*
|
|
108
|
+
* @category Traversal
|
|
109
|
+
* @param element The element to get the next sibling of.
|
|
110
|
+
* @returns `element`'s next sibling that is a tag, or `null` if there is no next
|
|
111
|
+
* sibling.
|
|
112
|
+
*/
|
|
113
|
+
export function nextElementSibling(element: AnyNode): Element | null {
|
|
114
|
+
let { next } = element;
|
|
115
|
+
while (next !== null && !isTag(next)) ({ next } = next);
|
|
116
|
+
return next;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
/**
|
|
120
|
+
* Returns the previous element sibling of a node.
|
|
121
|
+
*
|
|
122
|
+
* @category Traversal
|
|
123
|
+
* @param element The element to get the previous sibling of.
|
|
124
|
+
* @returns `element`'s previous sibling that is a tag, or `null` if there is no
|
|
125
|
+
* previous sibling.
|
|
126
|
+
*/
|
|
127
|
+
// eslint-disable-next-line unicorn/prevent-abbreviations -- Keep public API name for backwards compatibility.
|
|
128
|
+
export function prevElementSibling(element: AnyNode): Element | null {
|
|
129
|
+
let { prev } = element;
|
|
130
|
+
while (prev !== null && !isTag(prev)) ({ prev } = prev);
|
|
131
|
+
return prev;
|
|
132
|
+
}
|
|
@@ -83,8 +83,37 @@ JS! Hooray!
|
|
|
83
83
|
That's it?!
|
|
84
84
|
```
|
|
85
85
|
|
|
86
|
-
|
|
87
|
-
|
|
86
|
+
### Parser events
|
|
87
|
+
|
|
88
|
+
All callbacks are optional. The handler object you pass to `Parser` may implement any subset of these:
|
|
89
|
+
|
|
90
|
+
| Event | Description |
|
|
91
|
+
| -------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
92
|
+
| `onopentag(name, attribs, isImplied)` | Opening tag. `attribs` is an object mapping attribute names to values. `isImplied` is `true` when the tag was opened implicitly (HTML mode only). |
|
|
93
|
+
| `onopentagname(name)` | Emitted for the tag name as soon as it is available (before attributes are parsed). |
|
|
94
|
+
| `onattribute(name, value, quote)` | Attribute. `quote` is `"` / `'` / `null` (unquoted) / `undefined` (no value, e.g. `disabled`). |
|
|
95
|
+
| `onclosetag(name, isImplied)` | Closing tag. `isImplied` is `true` when the tag was closed implicitly (HTML mode only). |
|
|
96
|
+
| `ontext(data)` | Text content. May fire multiple times for a single text node. |
|
|
97
|
+
| `oncomment(data)` | Comment (content between `<!--` and `-->`). |
|
|
98
|
+
| `oncdatastart()` | Opening of a CDATA section (`<![CDATA[`). |
|
|
99
|
+
| `oncdataend()` | End of a CDATA section (`]]>`). |
|
|
100
|
+
| `onprocessinginstruction(name, data)` | Processing instruction (e.g. `<?xml ...?>`). |
|
|
101
|
+
| `oncommentend()` | Fires after a comment has ended. |
|
|
102
|
+
| `onparserinit(parser)` | Fires when the parser is initialized or reset. |
|
|
103
|
+
| `onreset()` | Fires when `parser.reset()` is called. |
|
|
104
|
+
| `onend()` | Fires when parsing is complete. |
|
|
105
|
+
| `onerror(error)` | Fires on error. |
|
|
106
|
+
|
|
107
|
+
### Parser options
|
|
108
|
+
|
|
109
|
+
| Option | Type | Default | Description |
|
|
110
|
+
| ------------------------ | --------- | ---------- | -------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
111
|
+
| `xmlMode` | `boolean` | `false` | Treat the document as XML. This affects entity decoding, self-closing tags, CDATA handling, and more. Set this to `true` for XML, RSS, Atom and RDF feeds. |
|
|
112
|
+
| `decodeEntities` | `boolean` | `true` | Decode HTML entities (e.g. `&` -> `&`). |
|
|
113
|
+
| `lowerCaseTags` | `boolean` | `!xmlMode` | Lowercase tag names. |
|
|
114
|
+
| `lowerCaseAttributeNames`| `boolean` | `!xmlMode` | Lowercase attribute names. |
|
|
115
|
+
| `recognizeSelfClosing` | `boolean` | `xmlMode` | Recognize self-closing tags (e.g. `<br/>`). Always enabled in `xmlMode`. |
|
|
116
|
+
| `recognizeCDATA` | `boolean` | `xmlMode` | Recognize CDATA sections as text. Always enabled in `xmlMode`. |
|
|
88
117
|
|
|
89
118
|
### Usage with streams
|
|
90
119
|
|
|
@@ -106,25 +135,100 @@ htmlStream.pipe(parserStream).on("finish", () => console.log("done"));
|
|
|
106
135
|
|
|
107
136
|
## Getting a DOM
|
|
108
137
|
|
|
109
|
-
The `
|
|
138
|
+
The `parseDocument` helper parses a string and returns a DOM tree (a [`Document`](https://github.com/fb55/domhandler) node).
|
|
110
139
|
|
|
111
140
|
```js
|
|
112
141
|
import * as htmlparser2 from "htmlparser2";
|
|
113
142
|
|
|
114
|
-
const dom = htmlparser2.parseDocument(
|
|
143
|
+
const dom = htmlparser2.parseDocument(
|
|
144
|
+
`<ul id="fruits">
|
|
145
|
+
<li class="apple">Apple</li>
|
|
146
|
+
<li class="orange">Orange</li>
|
|
147
|
+
</ul>`,
|
|
148
|
+
);
|
|
149
|
+
```
|
|
150
|
+
|
|
151
|
+
`parseDocument` accepts an optional second argument with both parser and [DOM handler options](https://github.com/fb55/domhandler):
|
|
152
|
+
|
|
153
|
+
```js
|
|
154
|
+
const dom = htmlparser2.parseDocument(data, {
|
|
155
|
+
// Parser options
|
|
156
|
+
xmlMode: true,
|
|
157
|
+
|
|
158
|
+
// domhandler options
|
|
159
|
+
withStartIndices: true, // Add `startIndex` to each node
|
|
160
|
+
withEndIndices: true, // Add `endIndex` to each node
|
|
161
|
+
});
|
|
162
|
+
```
|
|
163
|
+
|
|
164
|
+
### Searching the DOM
|
|
165
|
+
|
|
166
|
+
The [`DomUtils`](https://github.com/fb55/domutils) module (re-exported on the main `htmlparser2` export) provides helpers for finding nodes:
|
|
167
|
+
|
|
168
|
+
```js
|
|
169
|
+
import * as htmlparser2 from "htmlparser2";
|
|
170
|
+
|
|
171
|
+
const dom = htmlparser2.parseDocument(`<div><p id="greeting">Hello</p></div>`);
|
|
172
|
+
|
|
173
|
+
// Find elements by ID, tag name, or class
|
|
174
|
+
const greeting = htmlparser2.DomUtils.getElementById("greeting", dom);
|
|
175
|
+
const paragraphs = htmlparser2.DomUtils.getElementsByTagName("p", dom);
|
|
176
|
+
|
|
177
|
+
// Find elements with custom test functions
|
|
178
|
+
const all = htmlparser2.DomUtils.findAll(
|
|
179
|
+
(el) => el.attribs?.class === "active",
|
|
180
|
+
dom,
|
|
181
|
+
);
|
|
182
|
+
|
|
183
|
+
// Get text content
|
|
184
|
+
htmlparser2.DomUtils.textContent(greeting); // "Hello"
|
|
185
|
+
```
|
|
186
|
+
|
|
187
|
+
For CSS selector queries, use [`css-select`](https://github.com/fb55/css-select):
|
|
188
|
+
|
|
189
|
+
```js
|
|
190
|
+
import { selectAll, selectOne } from "css-select";
|
|
191
|
+
|
|
192
|
+
const results = selectAll("ul#fruits > li", dom);
|
|
193
|
+
const first = selectOne("li.apple", dom);
|
|
194
|
+
```
|
|
195
|
+
|
|
196
|
+
Or, if you'd prefer a jQuery-like API, use [`cheerio`](https://github.com/cheeriojs/cheerio).
|
|
197
|
+
|
|
198
|
+
### Modifying and serializing the DOM
|
|
199
|
+
|
|
200
|
+
Use `DomUtils` to modify the tree, and [`dom-serializer`](https://github.com/cheeriojs/dom-serializer) (also available as `DomUtils.getOuterHTML`) to serialize it back to HTML:
|
|
201
|
+
|
|
202
|
+
```js
|
|
203
|
+
import * as htmlparser2 from "htmlparser2";
|
|
204
|
+
|
|
205
|
+
const dom = htmlparser2.parseDocument(
|
|
206
|
+
`<ul><li>Apple</li><li>Orange</li></ul>`,
|
|
207
|
+
);
|
|
208
|
+
|
|
209
|
+
// Remove the first <li>
|
|
210
|
+
const items = htmlparser2.DomUtils.getElementsByTagName("li", dom);
|
|
211
|
+
htmlparser2.DomUtils.removeElement(items[0]);
|
|
212
|
+
|
|
213
|
+
// Serialize back to HTML
|
|
214
|
+
const html = htmlparser2.DomUtils.getOuterHTML(dom);
|
|
215
|
+
// "<ul><li>Orange</li></ul>"
|
|
115
216
|
```
|
|
116
217
|
|
|
117
|
-
|
|
118
|
-
Have a look at that for further information.
|
|
218
|
+
Other manipulation helpers include `appendChild`, `prependChild`, `append`, `prepend`, and `replaceElement` -- see the [`domutils` docs](https://github.com/fb55/domutils) for the full API.
|
|
119
219
|
|
|
120
|
-
## Parsing
|
|
220
|
+
## Parsing feeds
|
|
121
221
|
|
|
122
222
|
`htmlparser2` makes it easy to parse RSS, RDF and Atom feeds, by providing a `parseFeed` method:
|
|
123
223
|
|
|
124
224
|
```javascript
|
|
125
|
-
const feed = htmlparser2.parseFeed(content
|
|
225
|
+
const feed = htmlparser2.parseFeed(content);
|
|
126
226
|
```
|
|
127
227
|
|
|
228
|
+
This returns an object with `type`, `title`, `link`, `description`, `updated`, `author`, and `items` (an array of feed entries), or `null` if the document isn't a recognized feed format.
|
|
229
|
+
|
|
230
|
+
The `xmlMode` option is enabled by default for `parseFeed`. If you pass custom options, make sure to include `xmlMode: true`.
|
|
231
|
+
|
|
128
232
|
## Performance
|
|
129
233
|
|
|
130
234
|
After having some artificial benchmarks for some time, **@AndreasMadsen** published his [`htmlparser-benchmark`](https://github.com/AndreasMadsen/htmlparser-benchmark), which benchmarks HTML parses based on real-world websites.
|
|
@@ -147,25 +251,7 @@ saxes : 45.7921 ms/file ± 128.691
|
|
|
147
251
|
html5 : 120.844 ms/file ± 153.944
|
|
148
252
|
```
|
|
149
253
|
|
|
150
|
-
## How does this module differ from [node-htmlparser](https://github.com/tautologistics/node-htmlparser)?
|
|
151
|
-
|
|
152
|
-
In 2011, this module started as a fork of the `htmlparser` module.
|
|
153
|
-
`htmlparser2` was rewritten multiple times and, while it maintains an API that's mostly compatible with `htmlparser`, the projects don't share any code anymore.
|
|
154
|
-
|
|
155
|
-
The parser now provides a callback interface inspired by [sax.js](https://github.com/isaacs/sax-js) (originally targeted at [readabilitySAX](https://github.com/fb55/readabilitysax)).
|
|
156
|
-
As a result, old handlers won't work anymore.
|
|
157
|
-
|
|
158
|
-
The `DefaultHandler` was renamed to clarify its purpose (to `DomHandler`). The old name is still available when requiring `htmlparser2` and your code should work as expected.
|
|
159
|
-
|
|
160
|
-
The `RssHandler` was replaced with a `getFeed` function that takes a `DomHandler` DOM and returns a feed object. There is a `parseFeed` helper function that can be used to parse a feed from a string.
|
|
161
|
-
|
|
162
254
|
## Security contact information
|
|
163
255
|
|
|
164
256
|
To report a security vulnerability, please use the [Tidelift security contact](https://tidelift.com/security).
|
|
165
257
|
Tidelift will coordinate the fix and disclosure.
|
|
166
|
-
|
|
167
|
-
## `htmlparser2` for enterprise
|
|
168
|
-
|
|
169
|
-
Available as part of the Tidelift Subscription.
|
|
170
|
-
|
|
171
|
-
The maintainers of `htmlparser2` and thousands of other packages are working with Tidelift to deliver commercial support and maintenance for the open source dependencies you use to build your applications. Save time, reduce risk, and improve code health, while paying the maintainers of the exact dependencies you use. [Learn more.](https://tidelift.com/subscription/pkg/npm-htmlparser2?utm_source=npm-htmlparser2&utm_medium=referral&utm_campaign=enterprise&utm_term=repo)
|