@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.
Files changed (1005) hide show
  1. package/lib/zosfiles/-strings-/en.d.ts +2 -0
  2. package/lib/zosfiles/-strings-/en.d.ts.map +1 -1
  3. package/lib/zosfiles/-strings-/en.js +5 -1
  4. package/lib/zosfiles/-strings-/en.js.map +1 -1
  5. package/lib/zosfiles/ZosFiles.options.d.ts.map +1 -1
  6. package/lib/zosfiles/ZosFiles.options.js +3 -1
  7. package/lib/zosfiles/ZosFiles.options.js.map +1 -1
  8. package/lib/zosfiles/create/Create.utils.d.ts.map +1 -1
  9. package/lib/zosfiles/create/Create.utils.js +3 -1
  10. package/lib/zosfiles/create/Create.utils.js.map +1 -1
  11. package/lib/zosfiles/create/ussDir/ussDir.handler.d.ts.map +1 -1
  12. package/lib/zosfiles/create/ussDir/ussDir.handler.js +5 -1
  13. package/lib/zosfiles/create/ussDir/ussDir.handler.js.map +1 -1
  14. package/lib/zosfiles/create/ussFile/ussFile.handler.d.ts.map +1 -1
  15. package/lib/zosfiles/create/ussFile/ussFile.handler.js +5 -1
  16. package/lib/zosfiles/create/ussFile/ussFile.handler.js.map +1 -1
  17. package/lib/zosfiles/create/vsam/vsam.handler.d.ts.map +1 -1
  18. package/lib/zosfiles/create/vsam/vsam.handler.js +3 -1
  19. package/lib/zosfiles/create/vsam/vsam.handler.js.map +1 -1
  20. package/lib/zosfiles/create/zfs/zfs.handler.d.ts.map +1 -1
  21. package/lib/zosfiles/create/zfs/zfs.handler.js +3 -1
  22. package/lib/zosfiles/create/zfs/zfs.handler.js.map +1 -1
  23. package/lib/zosfiles/delete/ds/Ds.handler.d.ts.map +1 -1
  24. package/lib/zosfiles/delete/ds/Ds.handler.js +4 -1
  25. package/lib/zosfiles/delete/ds/Ds.handler.js.map +1 -1
  26. package/lib/zosfiles/delete/uss/Uss.handler.d.ts.map +1 -1
  27. package/lib/zosfiles/delete/uss/Uss.handler.js +5 -1
  28. package/lib/zosfiles/delete/uss/Uss.handler.js.map +1 -1
  29. package/lib/zosfiles/delete/vsam/Vsam.handler.d.ts.map +1 -1
  30. package/lib/zosfiles/delete/vsam/Vsam.handler.js +3 -1
  31. package/lib/zosfiles/delete/vsam/Vsam.handler.js.map +1 -1
  32. package/lib/zosfiles/delete/zfs/zfs.handler.d.ts.map +1 -1
  33. package/lib/zosfiles/delete/zfs/zfs.handler.js +3 -1
  34. package/lib/zosfiles/delete/zfs/zfs.handler.js.map +1 -1
  35. package/lib/zosfiles/download/am/AllMembers.handler.d.ts.map +1 -1
  36. package/lib/zosfiles/download/am/AllMembers.handler.js +3 -1
  37. package/lib/zosfiles/download/am/AllMembers.handler.js.map +1 -1
  38. package/lib/zosfiles/download/amm/AllMembersMatching.handler.d.ts.map +1 -1
  39. package/lib/zosfiles/download/amm/AllMembersMatching.handler.js +2 -0
  40. package/lib/zosfiles/download/amm/AllMembersMatching.handler.js.map +1 -1
  41. package/lib/zosfiles/download/ds/Dataset.handler.d.ts.map +1 -1
  42. package/lib/zosfiles/download/ds/Dataset.handler.js +3 -1
  43. package/lib/zosfiles/download/ds/Dataset.handler.js.map +1 -1
  44. package/lib/zosfiles/download/dsm/DataSetMatching.handler.d.ts.map +1 -1
  45. package/lib/zosfiles/download/dsm/DataSetMatching.handler.js +6 -2
  46. package/lib/zosfiles/download/dsm/DataSetMatching.handler.js.map +1 -1
  47. package/lib/zosfiles/download/uss/UssFile.handler.d.ts.map +1 -1
  48. package/lib/zosfiles/download/uss/UssFile.handler.js +2 -0
  49. package/lib/zosfiles/download/uss/UssFile.handler.js.map +1 -1
  50. package/lib/zosfiles/download/ussdir/UssDir.handler.d.ts.map +1 -1
  51. package/lib/zosfiles/download/ussdir/UssDir.handler.js +6 -2
  52. package/lib/zosfiles/download/ussdir/UssDir.handler.js.map +1 -1
  53. package/lib/zosfiles/edit/Edit.utils.d.ts +2 -2
  54. package/lib/zosfiles/edit/Edit.utils.d.ts.map +1 -1
  55. package/lib/zosfiles/edit/Edit.utils.js +15 -11
  56. package/lib/zosfiles/edit/Edit.utils.js.map +1 -1
  57. package/lib/zosfiles/invoke/amsFile/AmsFile.handler.d.ts.map +1 -1
  58. package/lib/zosfiles/invoke/amsFile/AmsFile.handler.js +5 -1
  59. package/lib/zosfiles/invoke/amsFile/AmsFile.handler.js.map +1 -1
  60. package/lib/zosfiles/invoke/amsStatements/AmsStatements.handler.d.ts.map +1 -1
  61. package/lib/zosfiles/invoke/amsStatements/AmsStatements.handler.js +5 -1
  62. package/lib/zosfiles/invoke/amsStatements/AmsStatements.handler.js.map +1 -1
  63. package/lib/zosfiles/list/alias/Alias.handler.d.ts.map +1 -1
  64. package/lib/zosfiles/list/alias/Alias.handler.js +3 -1
  65. package/lib/zosfiles/list/alias/Alias.handler.js.map +1 -1
  66. package/lib/zosfiles/list/am/AllMembers.handler.d.ts.map +1 -1
  67. package/lib/zosfiles/list/am/AllMembers.handler.js +3 -1
  68. package/lib/zosfiles/list/am/AllMembers.handler.js.map +1 -1
  69. package/lib/zosfiles/list/ds/DataSet.handler.d.ts.map +1 -1
  70. package/lib/zosfiles/list/ds/DataSet.handler.js +3 -1
  71. package/lib/zosfiles/list/ds/DataSet.handler.js.map +1 -1
  72. package/lib/zosfiles/list/fs/Fs.handler.d.ts.map +1 -1
  73. package/lib/zosfiles/list/fs/Fs.handler.js +6 -2
  74. package/lib/zosfiles/list/fs/Fs.handler.js.map +1 -1
  75. package/lib/zosfiles/list/uss/UssFile.handler.d.ts.map +1 -1
  76. package/lib/zosfiles/list/uss/UssFile.handler.js +3 -1
  77. package/lib/zosfiles/list/uss/UssFile.handler.js.map +1 -1
  78. package/lib/zosfiles/mount/fs/fs.handler.d.ts.map +1 -1
  79. package/lib/zosfiles/mount/fs/fs.handler.js +3 -1
  80. package/lib/zosfiles/mount/fs/fs.handler.js.map +1 -1
  81. package/lib/zosfiles/rename/ds/Ds.handler.d.ts.map +1 -1
  82. package/lib/zosfiles/rename/ds/Ds.handler.js +4 -1
  83. package/lib/zosfiles/rename/ds/Ds.handler.js.map +1 -1
  84. package/lib/zosfiles/rename/dsm/Dsm.handler.d.ts.map +1 -1
  85. package/lib/zosfiles/rename/dsm/Dsm.handler.js +4 -1
  86. package/lib/zosfiles/rename/dsm/Dsm.handler.js.map +1 -1
  87. package/lib/zosfiles/search/ds/DataSets.handler.d.ts.map +1 -1
  88. package/lib/zosfiles/search/ds/DataSets.handler.js +10 -2
  89. package/lib/zosfiles/search/ds/DataSets.handler.js.map +1 -1
  90. package/lib/zosfiles/upload/dtp/DirToPds.handler.d.ts.map +1 -1
  91. package/lib/zosfiles/upload/dtp/DirToPds.handler.js +3 -1
  92. package/lib/zosfiles/upload/dtp/DirToPds.handler.js.map +1 -1
  93. package/lib/zosfiles/upload/dtu/DirToUSSDir.handler.d.ts.map +1 -1
  94. package/lib/zosfiles/upload/dtu/DirToUSSDir.handler.js +3 -1
  95. package/lib/zosfiles/upload/dtu/DirToUSSDir.handler.js.map +1 -1
  96. package/lib/zosfiles/upload/ftds/FileToDataSet.handler.d.ts.map +1 -1
  97. package/lib/zosfiles/upload/ftds/FileToDataSet.handler.js +3 -1
  98. package/lib/zosfiles/upload/ftds/FileToDataSet.handler.js.map +1 -1
  99. package/lib/zosfiles/upload/ftu/FileToUSS.handler.d.ts.map +1 -1
  100. package/lib/zosfiles/upload/ftu/FileToUSS.handler.js +3 -1
  101. package/lib/zosfiles/upload/ftu/FileToUSS.handler.js.map +1 -1
  102. package/lib/zosfiles/upload/stds/StdinToDataSet.handler.d.ts.map +1 -1
  103. package/lib/zosfiles/upload/stds/StdinToDataSet.handler.js +3 -1
  104. package/lib/zosfiles/upload/stds/StdinToDataSet.handler.js.map +1 -1
  105. package/lib/zosfiles/view/ds/Dataset.handler.d.ts.map +1 -1
  106. package/lib/zosfiles/view/ds/Dataset.handler.js +3 -1
  107. package/lib/zosfiles/view/ds/Dataset.handler.js.map +1 -1
  108. package/lib/zosfiles/view/uss/USSFile.handler.d.ts.map +1 -1
  109. package/lib/zosfiles/view/uss/USSFile.handler.js +3 -1
  110. package/lib/zosfiles/view/uss/USSFile.handler.js.map +1 -1
  111. package/node_modules/@zowe/core-for-zowe-sdk/lib/rest/ZosmfHeaders.d.ts +14 -0
  112. package/node_modules/@zowe/core-for-zowe-sdk/lib/rest/ZosmfHeaders.d.ts.map +1 -1
  113. package/node_modules/@zowe/core-for-zowe-sdk/lib/rest/ZosmfHeaders.js +14 -0
  114. package/node_modules/@zowe/core-for-zowe-sdk/lib/rest/ZosmfHeaders.js.map +1 -1
  115. package/node_modules/@zowe/core-for-zowe-sdk/package.json +3 -3
  116. package/node_modules/@zowe/imperative/lib/config/src/ConfigSchema.d.ts.map +1 -1
  117. package/node_modules/@zowe/imperative/lib/config/src/ConfigSchema.js +1 -0
  118. package/node_modules/@zowe/imperative/lib/config/src/ConfigSchema.js.map +1 -1
  119. package/node_modules/@zowe/imperative/lib/imperative/src/config/cmd/report-env/EnvItems.d.ts +1 -1
  120. package/node_modules/@zowe/imperative/lib/imperative/src/config/cmd/report-env/EnvItems.d.ts.map +1 -1
  121. package/node_modules/@zowe/imperative/lib/imperative/src/config/cmd/report-env/EnvItems.js +10 -12
  122. package/node_modules/@zowe/imperative/lib/imperative/src/config/cmd/report-env/EnvItems.js.map +1 -1
  123. package/node_modules/@zowe/imperative/lib/imperative/src/config/cmd/report-env/EnvQuery.d.ts.map +1 -1
  124. package/node_modules/@zowe/imperative/lib/imperative/src/config/cmd/report-env/EnvQuery.js +1 -4
  125. package/node_modules/@zowe/imperative/lib/imperative/src/config/cmd/report-env/EnvQuery.js.map +1 -1
  126. package/node_modules/@zowe/imperative/package.json +3 -3
  127. package/node_modules/@zowe/imperative/web-help/package-lock.json +62 -62
  128. package/node_modules/@zowe/provisioning-for-zowe-sdk/package.json +4 -4
  129. package/node_modules/@zowe/secrets-for-zowe-sdk/README.md +70 -0
  130. package/node_modules/@zowe/secrets-for-zowe-sdk/package.json +1 -1
  131. package/node_modules/@zowe/zos-console-for-zowe-sdk/package.json +4 -4
  132. package/node_modules/@zowe/zos-files-for-zowe-sdk/lib/doc/IZosFilesOptions.d.ts +12 -0
  133. package/node_modules/@zowe/zos-files-for-zowe-sdk/lib/doc/IZosFilesOptions.d.ts.map +1 -1
  134. package/node_modules/@zowe/zos-files-for-zowe-sdk/lib/methods/copy/Copy.js +1 -1
  135. package/node_modules/@zowe/zos-files-for-zowe-sdk/lib/methods/copy/Copy.js.map +1 -1
  136. package/node_modules/@zowe/zos-files-for-zowe-sdk/lib/methods/create/Create.d.ts.map +1 -1
  137. package/node_modules/@zowe/zos-files-for-zowe-sdk/lib/methods/create/Create.js +18 -3
  138. package/node_modules/@zowe/zos-files-for-zowe-sdk/lib/methods/create/Create.js.map +1 -1
  139. package/node_modules/@zowe/zos-files-for-zowe-sdk/lib/methods/delete/Delete.d.ts.map +1 -1
  140. package/node_modules/@zowe/zos-files-for-zowe-sdk/lib/methods/delete/Delete.js +7 -3
  141. package/node_modules/@zowe/zos-files-for-zowe-sdk/lib/methods/delete/Delete.js.map +1 -1
  142. package/node_modules/@zowe/zos-files-for-zowe-sdk/lib/methods/download/Download.js +1 -1
  143. package/node_modules/@zowe/zos-files-for-zowe-sdk/lib/methods/download/Download.js.map +1 -1
  144. package/node_modules/@zowe/zos-files-for-zowe-sdk/lib/methods/invoke/Invoke.d.ts.map +1 -1
  145. package/node_modules/@zowe/zos-files-for-zowe-sdk/lib/methods/invoke/Invoke.js +2 -1
  146. package/node_modules/@zowe/zos-files-for-zowe-sdk/lib/methods/invoke/Invoke.js.map +1 -1
  147. package/node_modules/@zowe/zos-files-for-zowe-sdk/lib/methods/list/List.d.ts.map +1 -1
  148. package/node_modules/@zowe/zos-files-for-zowe-sdk/lib/methods/list/List.js +6 -5
  149. package/node_modules/@zowe/zos-files-for-zowe-sdk/lib/methods/list/List.js.map +1 -1
  150. package/node_modules/@zowe/zos-files-for-zowe-sdk/lib/methods/mount/Mount.d.ts.map +1 -1
  151. package/node_modules/@zowe/zos-files-for-zowe-sdk/lib/methods/mount/Mount.js +6 -0
  152. package/node_modules/@zowe/zos-files-for-zowe-sdk/lib/methods/mount/Mount.js.map +1 -1
  153. package/node_modules/@zowe/zos-files-for-zowe-sdk/lib/methods/rename/Rename.d.ts.map +1 -1
  154. package/node_modules/@zowe/zos-files-for-zowe-sdk/lib/methods/rename/Rename.js +2 -1
  155. package/node_modules/@zowe/zos-files-for-zowe-sdk/lib/methods/rename/Rename.js.map +1 -1
  156. package/node_modules/@zowe/zos-files-for-zowe-sdk/lib/methods/unmount/Unmount.d.ts.map +1 -1
  157. package/node_modules/@zowe/zos-files-for-zowe-sdk/lib/methods/unmount/Unmount.js +3 -1
  158. package/node_modules/@zowe/zos-files-for-zowe-sdk/lib/methods/unmount/Unmount.js.map +1 -1
  159. package/node_modules/@zowe/zos-files-for-zowe-sdk/lib/methods/upload/Upload.d.ts.map +1 -1
  160. package/node_modules/@zowe/zos-files-for-zowe-sdk/lib/methods/upload/Upload.js +5 -5
  161. package/node_modules/@zowe/zos-files-for-zowe-sdk/lib/methods/upload/Upload.js.map +1 -1
  162. package/node_modules/@zowe/zos-files-for-zowe-sdk/lib/methods/utilities/Utilities.d.ts +4 -4
  163. package/node_modules/@zowe/zos-files-for-zowe-sdk/lib/methods/utilities/Utilities.d.ts.map +1 -1
  164. package/node_modules/@zowe/zos-files-for-zowe-sdk/lib/methods/utilities/Utilities.js +10 -33
  165. package/node_modules/@zowe/zos-files-for-zowe-sdk/lib/methods/utilities/Utilities.js.map +1 -1
  166. package/node_modules/@zowe/zos-files-for-zowe-sdk/lib/utils/ZosFilesUtils.d.ts +7 -0
  167. package/node_modules/@zowe/zos-files-for-zowe-sdk/lib/utils/ZosFilesUtils.d.ts.map +1 -1
  168. package/node_modules/@zowe/zos-files-for-zowe-sdk/lib/utils/ZosFilesUtils.js +16 -0
  169. package/node_modules/@zowe/zos-files-for-zowe-sdk/lib/utils/ZosFilesUtils.js.map +1 -1
  170. package/node_modules/@zowe/zos-files-for-zowe-sdk/package.json +5 -5
  171. package/node_modules/@zowe/zos-jobs-for-zowe-sdk/package.json +5 -5
  172. package/node_modules/@zowe/zos-logs-for-zowe-sdk/package.json +4 -4
  173. package/node_modules/@zowe/zos-tso-for-zowe-sdk/package.json +5 -5
  174. package/node_modules/@zowe/zos-uss-for-zowe-sdk/package.json +3 -3
  175. package/node_modules/@zowe/zos-workflows-for-zowe-sdk/package.json +5 -5
  176. package/node_modules/@zowe/zosmf-for-zowe-sdk/lib/constants/Zosmf.constants.d.ts.map +1 -1
  177. package/node_modules/@zowe/zosmf-for-zowe-sdk/lib/constants/Zosmf.constants.js +21 -0
  178. package/node_modules/@zowe/zosmf-for-zowe-sdk/lib/constants/Zosmf.constants.js.map +1 -1
  179. package/node_modules/@zowe/zosmf-for-zowe-sdk/lib/constants/Zosmf.profile.d.ts.map +1 -1
  180. package/node_modules/@zowe/zosmf-for-zowe-sdk/lib/constants/Zosmf.profile.js +8 -0
  181. package/node_modules/@zowe/zosmf-for-zowe-sdk/lib/constants/Zosmf.profile.js.map +1 -1
  182. package/node_modules/@zowe/zosmf-for-zowe-sdk/package.json +4 -4
  183. package/node_modules/buildcheck/.eslintrc.js +5 -0
  184. package/node_modules/buildcheck/.github/workflows/ci.yml +72 -0
  185. package/node_modules/buildcheck/.github/workflows/lint.yml +23 -0
  186. package/node_modules/buildcheck/.npmignore +3 -0
  187. package/node_modules/{@zowe/zos-files-for-zowe-sdk/node_modules/brace-expansion → buildcheck}/LICENSE +10 -14
  188. package/node_modules/buildcheck/README.md +106 -0
  189. package/node_modules/buildcheck/deps/Find-VisualStudio.cs +250 -0
  190. package/node_modules/buildcheck/lib/findvs.js +345 -0
  191. package/node_modules/buildcheck/lib/index.js +738 -0
  192. package/node_modules/buildcheck/package.json +36 -0
  193. package/node_modules/buildcheck/test/test.js +8 -0
  194. package/node_modules/cpu-features/.eslintrc.js +5 -0
  195. package/node_modules/cpu-features/.github/workflows/ci.yml +68 -0
  196. package/node_modules/cpu-features/.github/workflows/lint.yml +27 -0
  197. package/node_modules/cpu-features/LICENSE +19 -0
  198. package/node_modules/cpu-features/README.md +59 -0
  199. package/node_modules/cpu-features/binding.gyp +16 -0
  200. package/node_modules/cpu-features/buildcheck.gypi +19 -0
  201. package/node_modules/cpu-features/buildcheck.js +32 -0
  202. package/node_modules/cpu-features/deps/cpu_features/.clang-format +4 -0
  203. package/node_modules/cpu-features/deps/cpu_features/.dockerignore +31 -0
  204. package/node_modules/cpu-features/deps/cpu_features/.github/workflows/Dockerfile +5 -0
  205. package/node_modules/cpu-features/deps/cpu_features/.github/workflows/aarch64_linux_cmake.yml +30 -0
  206. package/node_modules/cpu-features/deps/cpu_features/.github/workflows/amd64_freebsd_cmake.yml +22 -0
  207. package/node_modules/cpu-features/deps/cpu_features/.github/workflows/amd64_linux_bazel.yml +26 -0
  208. package/node_modules/cpu-features/deps/cpu_features/.github/workflows/amd64_linux_cmake.yml +31 -0
  209. package/node_modules/cpu-features/deps/cpu_features/.github/workflows/amd64_macos_cmake.yml +43 -0
  210. package/node_modules/cpu-features/deps/cpu_features/.github/workflows/amd64_windows_cmake.yml +25 -0
  211. package/node_modules/cpu-features/deps/cpu_features/.github/workflows/arm_linux_cmake.yml +31 -0
  212. package/node_modules/cpu-features/deps/cpu_features/.github/workflows/clang_format.yml +24 -0
  213. package/node_modules/cpu-features/deps/cpu_features/.github/workflows/mips_linux_cmake.yml +30 -0
  214. package/node_modules/cpu-features/deps/cpu_features/.github/workflows/power_linux_cmake.yml +29 -0
  215. package/node_modules/cpu-features/deps/cpu_features/.github/workflows/riscv_linux_cmake.yml +28 -0
  216. package/node_modules/cpu-features/deps/cpu_features/.github/workflows/s390x_linux_cmake.yml +27 -0
  217. package/node_modules/cpu-features/deps/cpu_features/.grenrc.yml +21 -0
  218. package/node_modules/cpu-features/deps/cpu_features/BUILD.bazel +329 -0
  219. package/node_modules/cpu-features/deps/cpu_features/CMakeLists.txt +261 -0
  220. package/node_modules/cpu-features/deps/cpu_features/CONTRIBUTING.md +23 -0
  221. package/node_modules/cpu-features/deps/cpu_features/LICENSE +230 -0
  222. package/node_modules/cpu-features/deps/cpu_features/README.md +272 -0
  223. package/node_modules/cpu-features/deps/cpu_features/WORKSPACE +19 -0
  224. package/node_modules/cpu-features/deps/cpu_features/bazel/ci/README.md +5 -0
  225. package/node_modules/cpu-features/deps/cpu_features/bazel/platforms.bzl +11 -0
  226. package/node_modules/cpu-features/deps/cpu_features/cmake/CpuFeaturesConfig.cmake.in +3 -0
  227. package/node_modules/cpu-features/deps/cpu_features/cmake/CpuFeaturesNdkCompatConfig.cmake.in +3 -0
  228. package/node_modules/cpu-features/deps/cpu_features/cmake/README.md +30 -0
  229. package/node_modules/cpu-features/deps/cpu_features/cmake/ci/Makefile +252 -0
  230. package/node_modules/cpu-features/deps/cpu_features/cmake/ci/README.md +40 -0
  231. package/node_modules/cpu-features/deps/cpu_features/cmake/ci/doc/docker.dot +64 -0
  232. package/node_modules/cpu-features/deps/cpu_features/cmake/ci/doc/docker.svg +312 -0
  233. package/node_modules/cpu-features/deps/cpu_features/cmake/ci/doc/generate_image.sh +7 -0
  234. package/node_modules/cpu-features/deps/cpu_features/cmake/ci/docker/amd64/Dockerfile +48 -0
  235. package/node_modules/cpu-features/deps/cpu_features/cmake/ci/docker/toolchain/Dockerfile +34 -0
  236. package/node_modules/cpu-features/deps/cpu_features/cmake/ci/sample/CMakeLists.txt +22 -0
  237. package/node_modules/cpu-features/deps/cpu_features/cmake/ci/sample/main.cpp +11 -0
  238. package/node_modules/cpu-features/deps/cpu_features/cmake/ci/vagrant/freebsd/Vagrantfile +107 -0
  239. package/node_modules/cpu-features/deps/cpu_features/cmake/googletest.CMakeLists.txt.in +15 -0
  240. package/node_modules/cpu-features/deps/cpu_features/cpu_features.gyp +104 -0
  241. package/node_modules/cpu-features/deps/cpu_features/include/cpu_features_cache_info.h +54 -0
  242. package/node_modules/cpu-features/deps/cpu_features/include/cpu_features_macros.h +384 -0
  243. package/node_modules/cpu-features/deps/cpu_features/include/cpuinfo_aarch64.h +259 -0
  244. package/node_modules/cpu-features/deps/cpu_features/include/cpuinfo_arm.h +121 -0
  245. package/node_modules/cpu-features/deps/cpu_features/include/cpuinfo_mips.h +74 -0
  246. package/node_modules/cpu-features/deps/cpu_features/include/cpuinfo_ppc.h +149 -0
  247. package/node_modules/cpu-features/deps/cpu_features/include/cpuinfo_riscv.h +72 -0
  248. package/node_modules/cpu-features/deps/cpu_features/include/cpuinfo_s390x.h +108 -0
  249. package/node_modules/cpu-features/deps/cpu_features/include/cpuinfo_x86.h +288 -0
  250. package/node_modules/cpu-features/deps/cpu_features/include/internal/bit_utils.h +40 -0
  251. package/node_modules/cpu-features/deps/cpu_features/include/internal/cpuid_x86.h +37 -0
  252. package/node_modules/cpu-features/deps/cpu_features/include/internal/filesystem.h +39 -0
  253. package/node_modules/cpu-features/deps/cpu_features/include/internal/hwcaps.h +240 -0
  254. package/node_modules/cpu-features/deps/cpu_features/include/internal/stack_line_reader.h +49 -0
  255. package/node_modules/cpu-features/deps/cpu_features/include/internal/string_view.h +110 -0
  256. package/node_modules/cpu-features/deps/cpu_features/include/internal/windows_utils.h +70 -0
  257. package/node_modules/cpu-features/deps/cpu_features/ndk_compat/CMakeLists.txt +60 -0
  258. package/node_modules/cpu-features/deps/cpu_features/ndk_compat/README.md +4 -0
  259. package/node_modules/cpu-features/deps/cpu_features/ndk_compat/cpu-features.c +205 -0
  260. package/node_modules/cpu-features/deps/cpu_features/ndk_compat/cpu-features.h +320 -0
  261. package/node_modules/cpu-features/deps/cpu_features/ndk_compat/ndk-compat-test.c +12 -0
  262. package/node_modules/cpu-features/deps/cpu_features/patches/0001-Add-Apple-Silicon-Support.patch +456 -0
  263. package/node_modules/cpu-features/deps/cpu_features/scripts/generate_badges.d +165 -0
  264. package/node_modules/cpu-features/deps/cpu_features/scripts/make_release.sh +75 -0
  265. package/node_modules/cpu-features/deps/cpu_features/scripts/run_integration.sh +490 -0
  266. package/node_modules/cpu-features/deps/cpu_features/scripts/test_integration.sh +79 -0
  267. package/node_modules/cpu-features/deps/cpu_features/src/copy.inl +19 -0
  268. package/node_modules/cpu-features/deps/cpu_features/src/define_introspection.inl +86 -0
  269. package/node_modules/cpu-features/deps/cpu_features/src/define_introspection_and_hwcaps.inl +26 -0
  270. package/node_modules/cpu-features/deps/cpu_features/src/equals.inl +22 -0
  271. package/node_modules/cpu-features/deps/cpu_features/src/filesystem.c +62 -0
  272. package/node_modules/cpu-features/deps/cpu_features/src/hwcaps.c +169 -0
  273. package/node_modules/cpu-features/deps/cpu_features/src/impl_aarch64__base_implementation.inl +88 -0
  274. package/node_modules/cpu-features/deps/cpu_features/src/impl_aarch64_linux_or_android.c +79 -0
  275. package/node_modules/cpu-features/deps/cpu_features/src/impl_aarch64_macos_or_iphone.c +82 -0
  276. package/node_modules/cpu-features/deps/cpu_features/src/impl_aarch64_windows.c +138 -0
  277. package/node_modules/cpu-features/deps/cpu_features/src/impl_arm_linux_or_android.c +212 -0
  278. package/node_modules/cpu-features/deps/cpu_features/src/impl_mips_linux_or_android.c +93 -0
  279. package/node_modules/cpu-features/deps/cpu_features/src/impl_ppc_linux.c +163 -0
  280. package/node_modules/cpu-features/deps/cpu_features/src/impl_riscv_linux.c +111 -0
  281. package/node_modules/cpu-features/deps/cpu_features/src/impl_s390x_linux.c +120 -0
  282. package/node_modules/cpu-features/deps/cpu_features/src/impl_x86__base_implementation.inl +2055 -0
  283. package/node_modules/cpu-features/deps/cpu_features/src/impl_x86_freebsd.c +68 -0
  284. package/node_modules/cpu-features/deps/cpu_features/src/impl_x86_linux_or_android.c +58 -0
  285. package/node_modules/cpu-features/deps/cpu_features/src/impl_x86_macos.c +57 -0
  286. package/node_modules/cpu-features/deps/cpu_features/src/impl_x86_windows.c +58 -0
  287. package/node_modules/cpu-features/deps/cpu_features/src/stack_line_reader.c +132 -0
  288. package/node_modules/cpu-features/deps/cpu_features/src/string_view.c +192 -0
  289. package/node_modules/cpu-features/deps/cpu_features/src/utils/list_cpu_features.c +461 -0
  290. package/node_modules/cpu-features/deps/cpu_features/test/CMakeLists.txt +114 -0
  291. package/node_modules/cpu-features/deps/cpu_features/test/bit_utils_test.cc +53 -0
  292. package/node_modules/cpu-features/deps/cpu_features/test/cpuinfo_aarch64_test.cc +396 -0
  293. package/node_modules/cpu-features/deps/cpu_features/test/cpuinfo_arm_test.cc +384 -0
  294. package/node_modules/cpu-features/deps/cpu_features/test/cpuinfo_mips_test.cc +176 -0
  295. package/node_modules/cpu-features/deps/cpu_features/test/cpuinfo_ppc_test.cc +131 -0
  296. package/node_modules/cpu-features/deps/cpu_features/test/cpuinfo_riscv_test.cc +180 -0
  297. package/node_modules/cpu-features/deps/cpu_features/test/cpuinfo_s390x_test.cc +82 -0
  298. package/node_modules/cpu-features/deps/cpu_features/test/cpuinfo_x86_test.cc +1729 -0
  299. package/node_modules/cpu-features/deps/cpu_features/test/filesystem_for_testing.cc +103 -0
  300. package/node_modules/cpu-features/deps/cpu_features/test/filesystem_for_testing.h +61 -0
  301. package/node_modules/cpu-features/deps/cpu_features/test/hwcaps_for_testing.cc +52 -0
  302. package/node_modules/cpu-features/deps/cpu_features/test/hwcaps_for_testing.h +31 -0
  303. package/node_modules/cpu-features/deps/cpu_features/test/stack_line_reader_test.cc +132 -0
  304. package/node_modules/cpu-features/deps/cpu_features/test/string_view_test.cc +202 -0
  305. package/node_modules/cpu-features/lib/index.js +5 -0
  306. package/node_modules/cpu-features/package.json +40 -0
  307. package/node_modules/cpu-features/src/binding.cc +151 -0
  308. package/node_modules/cpu-features/test/test.js +12 -0
  309. package/node_modules/{@zowe/imperative → cross-spawn}/node_modules/which/README.md +16 -13
  310. package/node_modules/{@zowe/imperative → cross-spawn/node_modules/which}/node_modules/isexe/LICENSE +1 -1
  311. package/node_modules/cross-spawn/node_modules/which/node_modules/isexe/README.md +51 -0
  312. package/node_modules/cross-spawn/node_modules/which/node_modules/isexe/package.json +31 -0
  313. package/node_modules/cross-spawn/node_modules/which/package.json +43 -0
  314. package/node_modules/dom-serializer/LICENSE +3 -7
  315. package/node_modules/dom-serializer/README.md +14 -8
  316. package/node_modules/dom-serializer/dist/foreign-names.d.ts +11 -0
  317. package/node_modules/dom-serializer/dist/foreign-names.d.ts.map +1 -0
  318. package/node_modules/dom-serializer/dist/foreign-names.js +15 -0
  319. package/node_modules/dom-serializer/dist/foreign-names.js.map +1 -0
  320. package/node_modules/dom-serializer/dist/index.d.ts +72 -0
  321. package/node_modules/dom-serializer/dist/index.d.ts.map +1 -0
  322. package/node_modules/dom-serializer/dist/index.js +173 -0
  323. package/node_modules/dom-serializer/dist/index.js.map +1 -0
  324. package/node_modules/dom-serializer/package.json +41 -41
  325. package/node_modules/dom-serializer/src/foreign-names.ts +19 -0
  326. package/node_modules/dom-serializer/src/index.ts +315 -0
  327. package/node_modules/domelementtype/{lib → dist}/index.d.ts +12 -12
  328. package/node_modules/domelementtype/dist/index.d.ts.map +1 -0
  329. package/node_modules/domelementtype/{lib/esm → dist}/index.js +15 -6
  330. package/node_modules/domelementtype/package.json +28 -23
  331. package/node_modules/domhandler/{lib → dist}/index.d.ts +9 -6
  332. package/node_modules/domhandler/dist/index.d.ts.map +1 -0
  333. package/node_modules/domhandler/{lib/esm → dist}/index.js +34 -25
  334. package/node_modules/domhandler/{lib → dist}/node.d.ts +34 -15
  335. package/node_modules/domhandler/dist/node.d.ts.map +1 -0
  336. package/node_modules/domhandler/{lib/esm → dist}/node.js +81 -60
  337. package/node_modules/domhandler/package.json +34 -42
  338. package/node_modules/domhandler/readme.md +1 -7
  339. package/node_modules/domutils/{lib → dist}/feeds.d.ts +2 -2
  340. package/node_modules/domutils/dist/feeds.d.ts.map +1 -0
  341. package/node_modules/domutils/{lib/esm → dist}/feeds.js +22 -25
  342. package/node_modules/domutils/dist/feeds.js.map +1 -0
  343. package/node_modules/domutils/{lib/esm → dist}/helpers.d.ts +1 -1
  344. package/node_modules/domutils/dist/helpers.d.ts.map +1 -0
  345. package/node_modules/domutils/{lib/esm → dist}/helpers.js +16 -16
  346. package/node_modules/domutils/dist/helpers.js.map +1 -0
  347. package/node_modules/domutils/{lib/esm → dist}/index.d.ts +5 -7
  348. package/node_modules/domutils/dist/index.d.ts.map +1 -0
  349. package/node_modules/domutils/{lib/esm → dist}/index.js +5 -7
  350. package/node_modules/domutils/dist/index.js.map +1 -0
  351. package/node_modules/domutils/{lib/esm → dist}/legacy.d.ts +1 -1
  352. package/node_modules/domutils/dist/legacy.d.ts.map +1 -0
  353. package/node_modules/domutils/{lib/esm → dist}/legacy.js +15 -15
  354. package/node_modules/domutils/dist/legacy.js.map +1 -0
  355. package/node_modules/domutils/{lib/esm → dist}/manipulation.d.ts +9 -9
  356. package/node_modules/domutils/dist/manipulation.d.ts.map +1 -0
  357. package/node_modules/domutils/dist/manipulation.js +138 -0
  358. package/node_modules/domutils/dist/manipulation.js.map +1 -0
  359. package/node_modules/domutils/{lib → dist}/querying.d.ts +6 -16
  360. package/node_modules/domutils/dist/querying.d.ts.map +1 -0
  361. package/node_modules/domutils/{lib/esm → dist}/querying.js +13 -26
  362. package/node_modules/domutils/dist/querying.js.map +1 -0
  363. package/node_modules/domutils/{lib → dist}/stringify.d.ts +2 -2
  364. package/node_modules/domutils/dist/stringify.d.ts.map +1 -0
  365. package/node_modules/domutils/{lib/esm → dist}/stringify.js +1 -1
  366. package/node_modules/domutils/dist/stringify.js.map +1 -0
  367. package/node_modules/domutils/dist/traversal.d.ts +74 -0
  368. package/node_modules/domutils/dist/traversal.d.ts.map +1 -0
  369. package/node_modules/domutils/dist/traversal.js +105 -0
  370. package/node_modules/domutils/dist/traversal.js.map +1 -0
  371. package/node_modules/domutils/package.json +39 -49
  372. package/node_modules/domutils/readme.md +0 -6
  373. package/node_modules/domutils/src/__snapshots__/feeds.spec.ts.snap +103 -0
  374. package/node_modules/domutils/src/feeds.ts +301 -0
  375. package/node_modules/domutils/{lib/helpers.js → src/helpers.ts} +55 -43
  376. package/node_modules/domutils/{lib/index.d.ts → src/index.ts} +5 -8
  377. package/node_modules/domutils/src/legacy.ts +224 -0
  378. package/node_modules/domutils/src/manipulation.ts +156 -0
  379. package/node_modules/domutils/{lib/querying.js → src/querying.ts} +77 -60
  380. package/node_modules/domutils/src/stringify.ts +90 -0
  381. package/node_modules/domutils/src/traversal.ts +132 -0
  382. package/node_modules/htmlparser2/README.md +112 -26
  383. package/node_modules/htmlparser2/dist/{esm/Parser.d.ts → Parser.d.ts} +97 -38
  384. package/node_modules/htmlparser2/dist/Parser.d.ts.map +1 -0
  385. package/node_modules/htmlparser2/dist/Parser.js +644 -0
  386. package/node_modules/htmlparser2/dist/Parser.js.map +1 -0
  387. package/node_modules/htmlparser2/dist/{esm/Tokenizer.d.ts → Tokenizer.d.ts} +75 -7
  388. package/node_modules/htmlparser2/dist/Tokenizer.d.ts.map +1 -0
  389. package/node_modules/htmlparser2/dist/{esm/Tokenizer.js → Tokenizer.js} +434 -179
  390. package/node_modules/htmlparser2/dist/Tokenizer.js.map +1 -0
  391. package/node_modules/htmlparser2/dist/WebWritableStream.d.ts +24 -0
  392. package/node_modules/htmlparser2/dist/WebWritableStream.d.ts.map +1 -0
  393. package/node_modules/htmlparser2/dist/WebWritableStream.js +44 -0
  394. package/node_modules/htmlparser2/dist/WebWritableStream.js.map +1 -0
  395. package/node_modules/htmlparser2/dist/{esm/WritableStream.d.ts → WritableStream.d.ts} +1 -2
  396. package/node_modules/htmlparser2/dist/WritableStream.d.ts.map +1 -0
  397. package/node_modules/htmlparser2/dist/{esm/WritableStream.js → WritableStream.js} +3 -3
  398. package/node_modules/htmlparser2/dist/WritableStream.js.map +1 -0
  399. package/node_modules/htmlparser2/dist/{commonjs/index.d.ts → index.d.ts} +6 -26
  400. package/node_modules/htmlparser2/dist/index.d.ts.map +1 -0
  401. package/node_modules/htmlparser2/dist/{esm/index.js → index.js} +2 -30
  402. package/node_modules/htmlparser2/dist/index.js.map +1 -0
  403. package/node_modules/htmlparser2/node_modules/entities/dist/decode-codepoint.d.ts +28 -0
  404. package/node_modules/htmlparser2/node_modules/entities/dist/decode-codepoint.d.ts.map +1 -0
  405. package/node_modules/htmlparser2/node_modules/entities/dist/decode-codepoint.js +61 -0
  406. package/node_modules/htmlparser2/node_modules/entities/dist/decode-codepoint.js.map +1 -0
  407. package/node_modules/htmlparser2/node_modules/entities/dist/{commonjs/decode.d.ts → decode.d.ts} +66 -44
  408. package/node_modules/htmlparser2/node_modules/entities/dist/decode.d.ts.map +1 -0
  409. package/node_modules/htmlparser2/node_modules/entities/dist/decode.js +1132 -0
  410. package/node_modules/htmlparser2/node_modules/entities/dist/decode.js.map +1 -0
  411. package/node_modules/htmlparser2/node_modules/entities/dist/{commonjs/encode.d.ts → encode.d.ts} +4 -0
  412. package/node_modules/htmlparser2/node_modules/entities/dist/encode.d.ts.map +1 -0
  413. package/node_modules/htmlparser2/node_modules/entities/dist/encode.js +295 -0
  414. package/node_modules/htmlparser2/node_modules/entities/dist/encode.js.map +1 -0
  415. package/node_modules/htmlparser2/node_modules/entities/dist/{commonjs/escape.d.ts → escape.d.ts} +23 -9
  416. package/node_modules/htmlparser2/node_modules/entities/dist/escape.d.ts.map +1 -0
  417. package/node_modules/htmlparser2/node_modules/entities/dist/escape.js +172 -0
  418. package/node_modules/htmlparser2/node_modules/entities/dist/escape.js.map +1 -0
  419. package/node_modules/htmlparser2/node_modules/entities/dist/generated/decode-data-html.d.ts +3 -0
  420. package/node_modules/htmlparser2/node_modules/entities/dist/generated/decode-data-html.d.ts.map +1 -0
  421. package/node_modules/htmlparser2/node_modules/entities/dist/generated/decode-data-html.js +5 -0
  422. package/node_modules/htmlparser2/node_modules/entities/dist/generated/decode-data-html.js.map +1 -0
  423. package/node_modules/htmlparser2/node_modules/entities/dist/generated/decode-data-xml.d.ts +3 -0
  424. package/node_modules/htmlparser2/node_modules/entities/dist/generated/decode-data-xml.d.ts.map +1 -0
  425. package/node_modules/htmlparser2/node_modules/entities/dist/generated/decode-data-xml.js +7 -0
  426. package/node_modules/htmlparser2/node_modules/entities/dist/generated/decode-data-xml.js.map +1 -0
  427. package/node_modules/htmlparser2/node_modules/entities/dist/generated/encode-html.d.ts +3 -0
  428. package/node_modules/htmlparser2/node_modules/entities/dist/generated/encode-html.d.ts.map +1 -0
  429. package/node_modules/htmlparser2/node_modules/entities/dist/generated/encode-html.js +3 -0
  430. package/node_modules/htmlparser2/node_modules/entities/dist/generated/encode-html.js.map +1 -0
  431. package/node_modules/htmlparser2/node_modules/entities/dist/{commonjs/index.d.ts → index.d.ts} +11 -18
  432. package/node_modules/htmlparser2/node_modules/entities/dist/index.d.ts.map +1 -0
  433. package/node_modules/htmlparser2/node_modules/entities/dist/{esm/index.js → index.js} +9 -29
  434. package/node_modules/htmlparser2/node_modules/entities/dist/index.js.map +1 -0
  435. package/node_modules/htmlparser2/node_modules/entities/dist/internal/bin-trie-flags.d.ts +48 -0
  436. package/node_modules/htmlparser2/node_modules/entities/dist/internal/bin-trie-flags.d.ts.map +1 -0
  437. package/node_modules/htmlparser2/node_modules/entities/dist/internal/bin-trie-flags.js +49 -0
  438. package/node_modules/htmlparser2/node_modules/entities/dist/internal/bin-trie-flags.js.map +1 -0
  439. package/node_modules/htmlparser2/node_modules/entities/dist/internal/decode-shared.d.ts +38 -0
  440. package/node_modules/htmlparser2/node_modules/entities/dist/internal/decode-shared.d.ts.map +1 -0
  441. package/node_modules/htmlparser2/node_modules/entities/dist/internal/decode-shared.js +195 -0
  442. package/node_modules/htmlparser2/node_modules/entities/dist/internal/decode-shared.js.map +1 -0
  443. package/node_modules/htmlparser2/node_modules/entities/package.json +28 -65
  444. package/node_modules/htmlparser2/node_modules/entities/readme.md +4 -16
  445. package/node_modules/htmlparser2/node_modules/entities/src/decode-codepoint.ts +51 -63
  446. package/node_modules/htmlparser2/node_modules/entities/src/decode.ts +944 -261
  447. package/node_modules/htmlparser2/node_modules/entities/src/encode.ts +289 -45
  448. package/node_modules/htmlparser2/node_modules/entities/src/escape.ts +114 -88
  449. package/node_modules/htmlparser2/node_modules/entities/src/generated/decode-data-html.ts +9 -3
  450. package/node_modules/htmlparser2/node_modules/entities/src/generated/decode-data-xml.ts +5 -4
  451. package/node_modules/htmlparser2/node_modules/entities/src/generated/encode-html.ts +1 -15
  452. package/node_modules/htmlparser2/node_modules/entities/src/index.ts +14 -41
  453. package/node_modules/htmlparser2/node_modules/entities/src/internal/bin-trie-flags.ts +38 -7
  454. package/node_modules/htmlparser2/node_modules/entities/src/internal/decode-shared.ts +203 -24
  455. package/node_modules/htmlparser2/package.json +34 -61
  456. package/node_modules/htmlparser2/src/Parser.ts +260 -100
  457. package/node_modules/htmlparser2/src/Tokenizer.ts +438 -165
  458. package/node_modules/htmlparser2/src/WebWritableStream.ts +47 -0
  459. package/node_modules/htmlparser2/src/WritableStream.ts +1 -2
  460. package/node_modules/htmlparser2/src/index.ts +14 -43
  461. package/node_modules/isexe/LICENSE +1 -1
  462. package/node_modules/isexe/README.md +40 -17
  463. package/node_modules/isexe/package.json +79 -14
  464. package/node_modules/js-yaml/dist/js-yaml.js +11 -3
  465. package/node_modules/js-yaml/dist/js-yaml.js.map +1 -1
  466. package/node_modules/js-yaml/dist/js-yaml.min.js +1 -1
  467. package/node_modules/js-yaml/dist/js-yaml.min.js.map +1 -1
  468. package/node_modules/js-yaml/dist/js-yaml.mjs +11 -3
  469. package/node_modules/js-yaml/dist/js-yaml.mjs.map +1 -1
  470. package/node_modules/js-yaml/lib/loader.js +16 -3
  471. package/node_modules/js-yaml/package.json +1 -1
  472. package/node_modules/sanitize-html/README.md +13 -0
  473. package/node_modules/sanitize-html/index.js +86 -12
  474. package/node_modules/sanitize-html/package.json +5 -2
  475. package/node_modules/which/README.md +13 -16
  476. package/node_modules/which/package.json +34 -20
  477. package/package.json +15 -15
  478. package/scripts/validateSecretsPrebuild.js +231 -0
  479. package/node_modules/@zowe/imperative/node_modules/isexe/README.md +0 -74
  480. package/node_modules/@zowe/imperative/node_modules/isexe/package.json +0 -96
  481. package/node_modules/@zowe/imperative/node_modules/which/package.json +0 -57
  482. package/node_modules/@zowe/secrets-for-zowe-sdk/prebuilds/keyring.darwin-arm64.node +0 -0
  483. package/node_modules/@zowe/secrets-for-zowe-sdk/prebuilds/keyring.darwin-x64.node +0 -0
  484. package/node_modules/@zowe/secrets-for-zowe-sdk/prebuilds/keyring.linux-arm-gnueabihf.node +0 -0
  485. package/node_modules/@zowe/secrets-for-zowe-sdk/prebuilds/keyring.linux-arm64-gnu.node +0 -0
  486. package/node_modules/@zowe/secrets-for-zowe-sdk/prebuilds/keyring.linux-arm64-musl.node +0 -0
  487. package/node_modules/@zowe/secrets-for-zowe-sdk/prebuilds/keyring.linux-ia32-gnu.node +0 -0
  488. package/node_modules/@zowe/secrets-for-zowe-sdk/prebuilds/keyring.linux-x64-gnu.node +0 -0
  489. package/node_modules/@zowe/secrets-for-zowe-sdk/prebuilds/keyring.linux-x64-musl.node +0 -0
  490. package/node_modules/@zowe/secrets-for-zowe-sdk/prebuilds/keyring.win32-arm64-msvc.node +0 -0
  491. package/node_modules/@zowe/secrets-for-zowe-sdk/prebuilds/keyring.win32-ia32-msvc.node +0 -0
  492. package/node_modules/@zowe/secrets-for-zowe-sdk/prebuilds/keyring.win32-x64-msvc.node +0 -0
  493. package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/balanced-match/LICENSE.md +0 -23
  494. package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/balanced-match/README.md +0 -57
  495. package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/balanced-match/dist/commonjs/index.d.ts +0 -9
  496. package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/balanced-match/dist/commonjs/index.d.ts.map +0 -1
  497. package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/balanced-match/dist/commonjs/index.js +0 -59
  498. package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/balanced-match/dist/commonjs/index.js.map +0 -1
  499. package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/balanced-match/dist/esm/index.d.ts +0 -9
  500. package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/balanced-match/dist/esm/index.d.ts.map +0 -1
  501. package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/balanced-match/dist/esm/index.js +0 -54
  502. package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/balanced-match/dist/esm/index.js.map +0 -1
  503. package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/balanced-match/package.json +0 -68
  504. package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/brace-expansion/README.md +0 -105
  505. package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/brace-expansion/dist/commonjs/index.d.ts +0 -8
  506. package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/brace-expansion/dist/commonjs/index.d.ts.map +0 -1
  507. package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/brace-expansion/dist/commonjs/index.js +0 -289
  508. package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/brace-expansion/dist/commonjs/index.js.map +0 -1
  509. package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/brace-expansion/dist/commonjs/package.json +0 -3
  510. package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/brace-expansion/dist/esm/index.d.ts +0 -8
  511. package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/brace-expansion/dist/esm/index.d.ts.map +0 -1
  512. package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/brace-expansion/dist/esm/index.js +0 -285
  513. package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/brace-expansion/dist/esm/index.js.map +0 -1
  514. package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/brace-expansion/dist/esm/package.json +0 -3
  515. package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/brace-expansion/package.json +0 -64
  516. package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/LICENSE.md +0 -55
  517. package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/README.md +0 -528
  518. package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/commonjs/assert-valid-pattern.d.ts +0 -2
  519. package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/commonjs/assert-valid-pattern.d.ts.map +0 -1
  520. package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/commonjs/assert-valid-pattern.js +0 -14
  521. package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/commonjs/assert-valid-pattern.js.map +0 -1
  522. package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/commonjs/ast.d.ts +0 -22
  523. package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/commonjs/ast.d.ts.map +0 -1
  524. package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/commonjs/ast.js +0 -846
  525. package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/commonjs/ast.js.map +0 -1
  526. package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/commonjs/brace-expressions.d.ts +0 -8
  527. package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/commonjs/brace-expressions.d.ts.map +0 -1
  528. package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/commonjs/brace-expressions.js +0 -150
  529. package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/commonjs/brace-expressions.js.map +0 -1
  530. package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/commonjs/escape.d.ts +0 -15
  531. package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/commonjs/escape.d.ts.map +0 -1
  532. package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/commonjs/escape.js +0 -30
  533. package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/commonjs/escape.js.map +0 -1
  534. package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/commonjs/index.d.ts +0 -174
  535. package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/commonjs/index.d.ts.map +0 -1
  536. package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/commonjs/index.js +0 -1121
  537. package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/commonjs/index.js.map +0 -1
  538. package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/commonjs/package.json +0 -3
  539. package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/commonjs/unescape.d.ts +0 -22
  540. package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/commonjs/unescape.d.ts.map +0 -1
  541. package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/commonjs/unescape.js +0 -38
  542. package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/commonjs/unescape.js.map +0 -1
  543. package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/esm/assert-valid-pattern.d.ts +0 -2
  544. package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/esm/assert-valid-pattern.d.ts.map +0 -1
  545. package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/esm/assert-valid-pattern.js +0 -10
  546. package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/esm/assert-valid-pattern.js.map +0 -1
  547. package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/esm/ast.d.ts +0 -22
  548. package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/esm/ast.d.ts.map +0 -1
  549. package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/esm/ast.js +0 -842
  550. package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/esm/ast.js.map +0 -1
  551. package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/esm/brace-expressions.d.ts +0 -8
  552. package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/esm/brace-expressions.d.ts.map +0 -1
  553. package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/esm/brace-expressions.js +0 -146
  554. package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/esm/brace-expressions.js.map +0 -1
  555. package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/esm/escape.d.ts +0 -15
  556. package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/esm/escape.d.ts.map +0 -1
  557. package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/esm/escape.js +0 -26
  558. package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/esm/escape.js.map +0 -1
  559. package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/esm/index.d.ts +0 -174
  560. package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/esm/index.d.ts.map +0 -1
  561. package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/esm/index.js +0 -1108
  562. package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/esm/index.js.map +0 -1
  563. package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/esm/package.json +0 -3
  564. package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/esm/unescape.d.ts +0 -22
  565. package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/esm/unescape.d.ts.map +0 -1
  566. package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/esm/unescape.js +0 -34
  567. package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/esm/unescape.js.map +0 -1
  568. package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/package.json +0 -67
  569. package/node_modules/dom-serializer/lib/esm/foreignNames.d.ts +0 -3
  570. package/node_modules/dom-serializer/lib/esm/foreignNames.d.ts.map +0 -1
  571. package/node_modules/dom-serializer/lib/esm/foreignNames.js +0 -100
  572. package/node_modules/dom-serializer/lib/esm/index.d.ts +0 -52
  573. package/node_modules/dom-serializer/lib/esm/index.d.ts.map +0 -1
  574. package/node_modules/dom-serializer/lib/esm/index.js +0 -190
  575. package/node_modules/dom-serializer/lib/esm/package.json +0 -1
  576. package/node_modules/dom-serializer/lib/foreignNames.d.ts +0 -3
  577. package/node_modules/dom-serializer/lib/foreignNames.d.ts.map +0 -1
  578. package/node_modules/dom-serializer/lib/foreignNames.js +0 -103
  579. package/node_modules/dom-serializer/lib/index.d.ts +0 -52
  580. package/node_modules/dom-serializer/lib/index.d.ts.map +0 -1
  581. package/node_modules/dom-serializer/lib/index.js +0 -229
  582. package/node_modules/domelementtype/lib/esm/index.d.ts +0 -48
  583. package/node_modules/domelementtype/lib/esm/index.d.ts.map +0 -1
  584. package/node_modules/domelementtype/lib/esm/package.json +0 -1
  585. package/node_modules/domelementtype/lib/index.d.ts.map +0 -1
  586. package/node_modules/domelementtype/lib/index.js +0 -55
  587. package/node_modules/domhandler/lib/esm/index.d.ts +0 -76
  588. package/node_modules/domhandler/lib/esm/index.d.ts.map +0 -1
  589. package/node_modules/domhandler/lib/esm/node.d.ts +0 -245
  590. package/node_modules/domhandler/lib/esm/node.d.ts.map +0 -1
  591. package/node_modules/domhandler/lib/esm/package.json +0 -1
  592. package/node_modules/domhandler/lib/index.d.ts.map +0 -1
  593. package/node_modules/domhandler/lib/index.js +0 -165
  594. package/node_modules/domhandler/lib/node.d.ts.map +0 -1
  595. package/node_modules/domhandler/lib/node.js +0 -474
  596. package/node_modules/domutils/lib/esm/feeds.d.ts +0 -71
  597. package/node_modules/domutils/lib/esm/feeds.d.ts.map +0 -1
  598. package/node_modules/domutils/lib/esm/feeds.js.map +0 -1
  599. package/node_modules/domutils/lib/esm/helpers.d.ts.map +0 -1
  600. package/node_modules/domutils/lib/esm/helpers.js.map +0 -1
  601. package/node_modules/domutils/lib/esm/index.d.ts.map +0 -1
  602. package/node_modules/domutils/lib/esm/index.js.map +0 -1
  603. package/node_modules/domutils/lib/esm/legacy.d.ts.map +0 -1
  604. package/node_modules/domutils/lib/esm/legacy.js.map +0 -1
  605. package/node_modules/domutils/lib/esm/manipulation.d.ts.map +0 -1
  606. package/node_modules/domutils/lib/esm/manipulation.js +0 -134
  607. package/node_modules/domutils/lib/esm/manipulation.js.map +0 -1
  608. package/node_modules/domutils/lib/esm/package.json +0 -1
  609. package/node_modules/domutils/lib/esm/querying.d.ts +0 -64
  610. package/node_modules/domutils/lib/esm/querying.d.ts.map +0 -1
  611. package/node_modules/domutils/lib/esm/querying.js.map +0 -1
  612. package/node_modules/domutils/lib/esm/stringify.d.ts +0 -46
  613. package/node_modules/domutils/lib/esm/stringify.d.ts.map +0 -1
  614. package/node_modules/domutils/lib/esm/stringify.js.map +0 -1
  615. package/node_modules/domutils/lib/esm/traversal.d.ts +0 -67
  616. package/node_modules/domutils/lib/esm/traversal.d.ts.map +0 -1
  617. package/node_modules/domutils/lib/esm/traversal.js +0 -112
  618. package/node_modules/domutils/lib/esm/traversal.js.map +0 -1
  619. package/node_modules/domutils/lib/feeds.d.ts.map +0 -1
  620. package/node_modules/domutils/lib/feeds.js +0 -190
  621. package/node_modules/domutils/lib/feeds.js.map +0 -1
  622. package/node_modules/domutils/lib/helpers.d.ts +0 -59
  623. package/node_modules/domutils/lib/helpers.d.ts.map +0 -1
  624. package/node_modules/domutils/lib/helpers.js.map +0 -1
  625. package/node_modules/domutils/lib/index.d.ts.map +0 -1
  626. package/node_modules/domutils/lib/index.js +0 -33
  627. package/node_modules/domutils/lib/index.js.map +0 -1
  628. package/node_modules/domutils/lib/legacy.d.ts +0 -79
  629. package/node_modules/domutils/lib/legacy.d.ts.map +0 -1
  630. package/node_modules/domutils/lib/legacy.js +0 -168
  631. package/node_modules/domutils/lib/legacy.js.map +0 -1
  632. package/node_modules/domutils/lib/manipulation.d.ts +0 -49
  633. package/node_modules/domutils/lib/manipulation.d.ts.map +0 -1
  634. package/node_modules/domutils/lib/manipulation.js +0 -142
  635. package/node_modules/domutils/lib/manipulation.js.map +0 -1
  636. package/node_modules/domutils/lib/querying.d.ts.map +0 -1
  637. package/node_modules/domutils/lib/querying.js.map +0 -1
  638. package/node_modules/domutils/lib/stringify.d.ts.map +0 -1
  639. package/node_modules/domutils/lib/stringify.js +0 -91
  640. package/node_modules/domutils/lib/stringify.js.map +0 -1
  641. package/node_modules/domutils/lib/traversal.d.ts +0 -67
  642. package/node_modules/domutils/lib/traversal.d.ts.map +0 -1
  643. package/node_modules/domutils/lib/traversal.js +0 -125
  644. package/node_modules/domutils/lib/traversal.js.map +0 -1
  645. package/node_modules/htmlparser2/WritableStream.js +0 -3
  646. package/node_modules/htmlparser2/dist/commonjs/Parser.d.ts +0 -198
  647. package/node_modules/htmlparser2/dist/commonjs/Parser.d.ts.map +0 -1
  648. package/node_modules/htmlparser2/dist/commonjs/Parser.js +0 -527
  649. package/node_modules/htmlparser2/dist/commonjs/Parser.js.map +0 -1
  650. package/node_modules/htmlparser2/dist/commonjs/Tokenizer.d.ts +0 -126
  651. package/node_modules/htmlparser2/dist/commonjs/Tokenizer.d.ts.map +0 -1
  652. package/node_modules/htmlparser2/dist/commonjs/Tokenizer.js +0 -805
  653. package/node_modules/htmlparser2/dist/commonjs/Tokenizer.js.map +0 -1
  654. package/node_modules/htmlparser2/dist/commonjs/WritableStream.d.ts +0 -15
  655. package/node_modules/htmlparser2/dist/commonjs/WritableStream.d.ts.map +0 -1
  656. package/node_modules/htmlparser2/dist/commonjs/WritableStream.js +0 -36
  657. package/node_modules/htmlparser2/dist/commonjs/WritableStream.js.map +0 -1
  658. package/node_modules/htmlparser2/dist/commonjs/index.d.ts.map +0 -1
  659. package/node_modules/htmlparser2/dist/commonjs/index.js +0 -123
  660. package/node_modules/htmlparser2/dist/commonjs/index.js.map +0 -1
  661. package/node_modules/htmlparser2/dist/commonjs/package.json +0 -3
  662. package/node_modules/htmlparser2/dist/esm/Parser.d.ts.map +0 -1
  663. package/node_modules/htmlparser2/dist/esm/Parser.js +0 -490
  664. package/node_modules/htmlparser2/dist/esm/Parser.js.map +0 -1
  665. package/node_modules/htmlparser2/dist/esm/Tokenizer.d.ts.map +0 -1
  666. package/node_modules/htmlparser2/dist/esm/Tokenizer.js.map +0 -1
  667. package/node_modules/htmlparser2/dist/esm/WritableStream.d.ts.map +0 -1
  668. package/node_modules/htmlparser2/dist/esm/WritableStream.js.map +0 -1
  669. package/node_modules/htmlparser2/dist/esm/index.d.ts +0 -54
  670. package/node_modules/htmlparser2/dist/esm/index.d.ts.map +0 -1
  671. package/node_modules/htmlparser2/dist/esm/index.js.map +0 -1
  672. package/node_modules/htmlparser2/dist/esm/package.json +0 -3
  673. package/node_modules/htmlparser2/node_modules/entities/decode.d.ts +0 -3
  674. package/node_modules/htmlparser2/node_modules/entities/decode.js +0 -3
  675. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/decode-codepoint.d.ts +0 -19
  676. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/decode-codepoint.d.ts.map +0 -1
  677. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/decode-codepoint.js +0 -77
  678. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/decode-codepoint.js.map +0 -1
  679. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/decode.d.ts.map +0 -1
  680. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/decode.js +0 -568
  681. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/decode.js.map +0 -1
  682. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/encode.d.ts.map +0 -1
  683. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/encode.js +0 -92
  684. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/encode.js.map +0 -1
  685. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/escape.d.ts.map +0 -1
  686. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/escape.js +0 -138
  687. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/escape.js.map +0 -1
  688. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/generated/decode-data-html.d.ts +0 -2
  689. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/generated/decode-data-html.d.ts.map +0 -1
  690. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/generated/decode-data-html.js +0 -7
  691. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/generated/decode-data-html.js.map +0 -1
  692. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/generated/decode-data-xml.d.ts +0 -2
  693. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/generated/decode-data-xml.d.ts.map +0 -1
  694. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/generated/decode-data-xml.js +0 -7
  695. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/generated/decode-data-xml.js.map +0 -1
  696. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/generated/encode-html.d.ts +0 -3
  697. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/generated/encode-html.d.ts.map +0 -1
  698. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/generated/encode-html.js +0 -14
  699. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/generated/encode-html.js.map +0 -1
  700. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/index.d.ts.map +0 -1
  701. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/index.js +0 -131
  702. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/index.js.map +0 -1
  703. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/internal/bin-trie-flags.d.ts +0 -17
  704. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/internal/bin-trie-flags.d.ts.map +0 -1
  705. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/internal/bin-trie-flags.js +0 -21
  706. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/internal/bin-trie-flags.js.map +0 -1
  707. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/internal/decode-shared.d.ts +0 -2
  708. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/internal/decode-shared.d.ts.map +0 -1
  709. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/internal/decode-shared.js +0 -31
  710. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/internal/decode-shared.js.map +0 -1
  711. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/internal/encode-shared.d.ts +0 -32
  712. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/internal/encode-shared.d.ts.map +0 -1
  713. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/internal/encode-shared.js +0 -94
  714. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/internal/encode-shared.js.map +0 -1
  715. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/package.json +0 -3
  716. package/node_modules/htmlparser2/node_modules/entities/dist/esm/decode-codepoint.d.ts +0 -19
  717. package/node_modules/htmlparser2/node_modules/entities/dist/esm/decode-codepoint.d.ts.map +0 -1
  718. package/node_modules/htmlparser2/node_modules/entities/dist/esm/decode-codepoint.js +0 -72
  719. package/node_modules/htmlparser2/node_modules/entities/dist/esm/decode-codepoint.js.map +0 -1
  720. package/node_modules/htmlparser2/node_modules/entities/dist/esm/decode.d.ts +0 -205
  721. package/node_modules/htmlparser2/node_modules/entities/dist/esm/decode.d.ts.map +0 -1
  722. package/node_modules/htmlparser2/node_modules/entities/dist/esm/decode.js +0 -554
  723. package/node_modules/htmlparser2/node_modules/entities/dist/esm/decode.js.map +0 -1
  724. package/node_modules/htmlparser2/node_modules/entities/dist/esm/encode.d.ts +0 -22
  725. package/node_modules/htmlparser2/node_modules/entities/dist/esm/encode.d.ts.map +0 -1
  726. package/node_modules/htmlparser2/node_modules/entities/dist/esm/encode.js +0 -88
  727. package/node_modules/htmlparser2/node_modules/entities/dist/esm/encode.js.map +0 -1
  728. package/node_modules/htmlparser2/node_modules/entities/dist/esm/escape.d.ts +0 -46
  729. package/node_modules/htmlparser2/node_modules/entities/dist/esm/escape.d.ts.map +0 -1
  730. package/node_modules/htmlparser2/node_modules/entities/dist/esm/escape.js +0 -134
  731. package/node_modules/htmlparser2/node_modules/entities/dist/esm/escape.js.map +0 -1
  732. package/node_modules/htmlparser2/node_modules/entities/dist/esm/generated/decode-data-html.d.ts +0 -2
  733. package/node_modules/htmlparser2/node_modules/entities/dist/esm/generated/decode-data-html.d.ts.map +0 -1
  734. package/node_modules/htmlparser2/node_modules/entities/dist/esm/generated/decode-data-html.js +0 -4
  735. package/node_modules/htmlparser2/node_modules/entities/dist/esm/generated/decode-data-html.js.map +0 -1
  736. package/node_modules/htmlparser2/node_modules/entities/dist/esm/generated/decode-data-xml.d.ts +0 -2
  737. package/node_modules/htmlparser2/node_modules/entities/dist/esm/generated/decode-data-xml.d.ts.map +0 -1
  738. package/node_modules/htmlparser2/node_modules/entities/dist/esm/generated/decode-data-xml.js +0 -4
  739. package/node_modules/htmlparser2/node_modules/entities/dist/esm/generated/decode-data-xml.js.map +0 -1
  740. package/node_modules/htmlparser2/node_modules/entities/dist/esm/generated/encode-html.d.ts +0 -3
  741. package/node_modules/htmlparser2/node_modules/entities/dist/esm/generated/encode-html.d.ts.map +0 -1
  742. package/node_modules/htmlparser2/node_modules/entities/dist/esm/generated/encode-html.js +0 -11
  743. package/node_modules/htmlparser2/node_modules/entities/dist/esm/generated/encode-html.js.map +0 -1
  744. package/node_modules/htmlparser2/node_modules/entities/dist/esm/index.d.ts +0 -96
  745. package/node_modules/htmlparser2/node_modules/entities/dist/esm/index.d.ts.map +0 -1
  746. package/node_modules/htmlparser2/node_modules/entities/dist/esm/index.js.map +0 -1
  747. package/node_modules/htmlparser2/node_modules/entities/dist/esm/internal/bin-trie-flags.d.ts +0 -17
  748. package/node_modules/htmlparser2/node_modules/entities/dist/esm/internal/bin-trie-flags.d.ts.map +0 -1
  749. package/node_modules/htmlparser2/node_modules/entities/dist/esm/internal/bin-trie-flags.js +0 -18
  750. package/node_modules/htmlparser2/node_modules/entities/dist/esm/internal/bin-trie-flags.js.map +0 -1
  751. package/node_modules/htmlparser2/node_modules/entities/dist/esm/internal/decode-shared.d.ts +0 -2
  752. package/node_modules/htmlparser2/node_modules/entities/dist/esm/internal/decode-shared.d.ts.map +0 -1
  753. package/node_modules/htmlparser2/node_modules/entities/dist/esm/internal/decode-shared.js +0 -28
  754. package/node_modules/htmlparser2/node_modules/entities/dist/esm/internal/decode-shared.js.map +0 -1
  755. package/node_modules/htmlparser2/node_modules/entities/dist/esm/internal/encode-shared.d.ts +0 -32
  756. package/node_modules/htmlparser2/node_modules/entities/dist/esm/internal/encode-shared.d.ts.map +0 -1
  757. package/node_modules/htmlparser2/node_modules/entities/dist/esm/internal/encode-shared.js +0 -91
  758. package/node_modules/htmlparser2/node_modules/entities/dist/esm/internal/encode-shared.js.map +0 -1
  759. package/node_modules/htmlparser2/node_modules/entities/dist/esm/package.json +0 -3
  760. package/node_modules/htmlparser2/node_modules/entities/escape.d.ts +0 -3
  761. package/node_modules/htmlparser2/node_modules/entities/escape.js +0 -3
  762. package/node_modules/htmlparser2/node_modules/entities/src/generated/.eslintrc.json +0 -10
  763. package/node_modules/htmlparser2/node_modules/entities/src/internal/encode-shared.ts +0 -121
  764. package/node_modules/tar/node_modules/yallist/dist/commonjs/package.json +0 -3
  765. package/node_modules/tar/node_modules/yallist/dist/esm/package.json +0 -3
  766. /package/node_modules/{strip-ansi/node_modules/ansi-regex → ansi-regex}/index.d.ts +0 -0
  767. /package/node_modules/{strip-ansi/node_modules/ansi-regex → ansi-regex}/index.js +0 -0
  768. /package/node_modules/{shebang-command/node_modules/shebang-regex → ansi-regex}/license +0 -0
  769. /package/node_modules/{strip-ansi/node_modules/ansi-regex → ansi-regex}/package.json +0 -0
  770. /package/node_modules/{strip-ansi/node_modules/ansi-regex → ansi-regex}/readme.md +0 -0
  771. /package/node_modules/{winston/node_modules/async → async}/CHANGELOG.md +0 -0
  772. /package/node_modules/{winston/node_modules/async → async}/LICENSE +0 -0
  773. /package/node_modules/{winston/node_modules/async → async}/README.md +0 -0
  774. /package/node_modules/{winston/node_modules/async → async}/all.js +0 -0
  775. /package/node_modules/{winston/node_modules/async → async}/allLimit.js +0 -0
  776. /package/node_modules/{winston/node_modules/async → async}/allSeries.js +0 -0
  777. /package/node_modules/{winston/node_modules/async → async}/any.js +0 -0
  778. /package/node_modules/{winston/node_modules/async → async}/anyLimit.js +0 -0
  779. /package/node_modules/{winston/node_modules/async → async}/anySeries.js +0 -0
  780. /package/node_modules/{winston/node_modules/async → async}/apply.js +0 -0
  781. /package/node_modules/{winston/node_modules/async → async}/applyEach.js +0 -0
  782. /package/node_modules/{winston/node_modules/async → async}/applyEachSeries.js +0 -0
  783. /package/node_modules/{winston/node_modules/async → async}/asyncify.js +0 -0
  784. /package/node_modules/{winston/node_modules/async → async}/auto.js +0 -0
  785. /package/node_modules/{winston/node_modules/async → async}/autoInject.js +0 -0
  786. /package/node_modules/{winston/node_modules/async → async}/bower.json +0 -0
  787. /package/node_modules/{winston/node_modules/async → async}/cargo.js +0 -0
  788. /package/node_modules/{winston/node_modules/async → async}/cargoQueue.js +0 -0
  789. /package/node_modules/{winston/node_modules/async → async}/compose.js +0 -0
  790. /package/node_modules/{winston/node_modules/async → async}/concat.js +0 -0
  791. /package/node_modules/{winston/node_modules/async → async}/concatLimit.js +0 -0
  792. /package/node_modules/{winston/node_modules/async → async}/concatSeries.js +0 -0
  793. /package/node_modules/{winston/node_modules/async → async}/constant.js +0 -0
  794. /package/node_modules/{winston/node_modules/async → async}/detect.js +0 -0
  795. /package/node_modules/{winston/node_modules/async → async}/detectLimit.js +0 -0
  796. /package/node_modules/{winston/node_modules/async → async}/detectSeries.js +0 -0
  797. /package/node_modules/{winston/node_modules/async → async}/dir.js +0 -0
  798. /package/node_modules/{winston/node_modules/async → async}/dist/async.js +0 -0
  799. /package/node_modules/{winston/node_modules/async → async}/dist/async.min.js +0 -0
  800. /package/node_modules/{winston/node_modules/async → async}/dist/async.mjs +0 -0
  801. /package/node_modules/{winston/node_modules/async → async}/doDuring.js +0 -0
  802. /package/node_modules/{winston/node_modules/async → async}/doUntil.js +0 -0
  803. /package/node_modules/{winston/node_modules/async → async}/doWhilst.js +0 -0
  804. /package/node_modules/{winston/node_modules/async → async}/during.js +0 -0
  805. /package/node_modules/{winston/node_modules/async → async}/each.js +0 -0
  806. /package/node_modules/{winston/node_modules/async → async}/eachLimit.js +0 -0
  807. /package/node_modules/{winston/node_modules/async → async}/eachOf.js +0 -0
  808. /package/node_modules/{winston/node_modules/async → async}/eachOfLimit.js +0 -0
  809. /package/node_modules/{winston/node_modules/async → async}/eachOfSeries.js +0 -0
  810. /package/node_modules/{winston/node_modules/async → async}/eachSeries.js +0 -0
  811. /package/node_modules/{winston/node_modules/async → async}/ensureAsync.js +0 -0
  812. /package/node_modules/{winston/node_modules/async → async}/every.js +0 -0
  813. /package/node_modules/{winston/node_modules/async → async}/everyLimit.js +0 -0
  814. /package/node_modules/{winston/node_modules/async → async}/everySeries.js +0 -0
  815. /package/node_modules/{winston/node_modules/async → async}/filter.js +0 -0
  816. /package/node_modules/{winston/node_modules/async → async}/filterLimit.js +0 -0
  817. /package/node_modules/{winston/node_modules/async → async}/filterSeries.js +0 -0
  818. /package/node_modules/{winston/node_modules/async → async}/find.js +0 -0
  819. /package/node_modules/{winston/node_modules/async → async}/findLimit.js +0 -0
  820. /package/node_modules/{winston/node_modules/async → async}/findSeries.js +0 -0
  821. /package/node_modules/{winston/node_modules/async → async}/flatMap.js +0 -0
  822. /package/node_modules/{winston/node_modules/async → async}/flatMapLimit.js +0 -0
  823. /package/node_modules/{winston/node_modules/async → async}/flatMapSeries.js +0 -0
  824. /package/node_modules/{winston/node_modules/async → async}/foldl.js +0 -0
  825. /package/node_modules/{winston/node_modules/async → async}/foldr.js +0 -0
  826. /package/node_modules/{winston/node_modules/async → async}/forEach.js +0 -0
  827. /package/node_modules/{winston/node_modules/async → async}/forEachLimit.js +0 -0
  828. /package/node_modules/{winston/node_modules/async → async}/forEachOf.js +0 -0
  829. /package/node_modules/{winston/node_modules/async → async}/forEachOfLimit.js +0 -0
  830. /package/node_modules/{winston/node_modules/async → async}/forEachOfSeries.js +0 -0
  831. /package/node_modules/{winston/node_modules/async → async}/forEachSeries.js +0 -0
  832. /package/node_modules/{winston/node_modules/async → async}/forever.js +0 -0
  833. /package/node_modules/{winston/node_modules/async → async}/groupBy.js +0 -0
  834. /package/node_modules/{winston/node_modules/async → async}/groupByLimit.js +0 -0
  835. /package/node_modules/{winston/node_modules/async → async}/groupBySeries.js +0 -0
  836. /package/node_modules/{winston/node_modules/async → async}/index.js +0 -0
  837. /package/node_modules/{winston/node_modules/async → async}/inject.js +0 -0
  838. /package/node_modules/{winston/node_modules/async → async}/internal/DoublyLinkedList.js +0 -0
  839. /package/node_modules/{winston/node_modules/async → async}/internal/Heap.js +0 -0
  840. /package/node_modules/{winston/node_modules/async → async}/internal/applyEach.js +0 -0
  841. /package/node_modules/{winston/node_modules/async → async}/internal/asyncEachOfLimit.js +0 -0
  842. /package/node_modules/{winston/node_modules/async → async}/internal/awaitify.js +0 -0
  843. /package/node_modules/{winston/node_modules/async → async}/internal/breakLoop.js +0 -0
  844. /package/node_modules/{winston/node_modules/async → async}/internal/consoleFunc.js +0 -0
  845. /package/node_modules/{winston/node_modules/async → async}/internal/createTester.js +0 -0
  846. /package/node_modules/{winston/node_modules/async → async}/internal/eachOfLimit.js +0 -0
  847. /package/node_modules/{winston/node_modules/async → async}/internal/filter.js +0 -0
  848. /package/node_modules/{winston/node_modules/async → async}/internal/getIterator.js +0 -0
  849. /package/node_modules/{winston/node_modules/async → async}/internal/initialParams.js +0 -0
  850. /package/node_modules/{winston/node_modules/async → async}/internal/isArrayLike.js +0 -0
  851. /package/node_modules/{winston/node_modules/async → async}/internal/iterator.js +0 -0
  852. /package/node_modules/{winston/node_modules/async → async}/internal/map.js +0 -0
  853. /package/node_modules/{winston/node_modules/async → async}/internal/once.js +0 -0
  854. /package/node_modules/{winston/node_modules/async → async}/internal/onlyOnce.js +0 -0
  855. /package/node_modules/{winston/node_modules/async → async}/internal/parallel.js +0 -0
  856. /package/node_modules/{winston/node_modules/async → async}/internal/promiseCallback.js +0 -0
  857. /package/node_modules/{winston/node_modules/async → async}/internal/queue.js +0 -0
  858. /package/node_modules/{winston/node_modules/async → async}/internal/range.js +0 -0
  859. /package/node_modules/{winston/node_modules/async → async}/internal/reject.js +0 -0
  860. /package/node_modules/{winston/node_modules/async → async}/internal/setImmediate.js +0 -0
  861. /package/node_modules/{winston/node_modules/async → async}/internal/withoutIndex.js +0 -0
  862. /package/node_modules/{winston/node_modules/async → async}/internal/wrapAsync.js +0 -0
  863. /package/node_modules/{winston/node_modules/async → async}/log.js +0 -0
  864. /package/node_modules/{winston/node_modules/async → async}/map.js +0 -0
  865. /package/node_modules/{winston/node_modules/async → async}/mapLimit.js +0 -0
  866. /package/node_modules/{winston/node_modules/async → async}/mapSeries.js +0 -0
  867. /package/node_modules/{winston/node_modules/async → async}/mapValues.js +0 -0
  868. /package/node_modules/{winston/node_modules/async → async}/mapValuesLimit.js +0 -0
  869. /package/node_modules/{winston/node_modules/async → async}/mapValuesSeries.js +0 -0
  870. /package/node_modules/{winston/node_modules/async → async}/memoize.js +0 -0
  871. /package/node_modules/{winston/node_modules/async → async}/nextTick.js +0 -0
  872. /package/node_modules/{winston/node_modules/async → async}/package.json +0 -0
  873. /package/node_modules/{winston/node_modules/async → async}/parallel.js +0 -0
  874. /package/node_modules/{winston/node_modules/async → async}/parallelLimit.js +0 -0
  875. /package/node_modules/{winston/node_modules/async → async}/priorityQueue.js +0 -0
  876. /package/node_modules/{winston/node_modules/async → async}/queue.js +0 -0
  877. /package/node_modules/{winston/node_modules/async → async}/race.js +0 -0
  878. /package/node_modules/{winston/node_modules/async → async}/reduce.js +0 -0
  879. /package/node_modules/{winston/node_modules/async → async}/reduceRight.js +0 -0
  880. /package/node_modules/{winston/node_modules/async → async}/reflect.js +0 -0
  881. /package/node_modules/{winston/node_modules/async → async}/reflectAll.js +0 -0
  882. /package/node_modules/{winston/node_modules/async → async}/reject.js +0 -0
  883. /package/node_modules/{winston/node_modules/async → async}/rejectLimit.js +0 -0
  884. /package/node_modules/{winston/node_modules/async → async}/rejectSeries.js +0 -0
  885. /package/node_modules/{winston/node_modules/async → async}/retry.js +0 -0
  886. /package/node_modules/{winston/node_modules/async → async}/retryable.js +0 -0
  887. /package/node_modules/{winston/node_modules/async → async}/select.js +0 -0
  888. /package/node_modules/{winston/node_modules/async → async}/selectLimit.js +0 -0
  889. /package/node_modules/{winston/node_modules/async → async}/selectSeries.js +0 -0
  890. /package/node_modules/{winston/node_modules/async → async}/seq.js +0 -0
  891. /package/node_modules/{winston/node_modules/async → async}/series.js +0 -0
  892. /package/node_modules/{winston/node_modules/async → async}/setImmediate.js +0 -0
  893. /package/node_modules/{winston/node_modules/async → async}/some.js +0 -0
  894. /package/node_modules/{winston/node_modules/async → async}/someLimit.js +0 -0
  895. /package/node_modules/{winston/node_modules/async → async}/someSeries.js +0 -0
  896. /package/node_modules/{winston/node_modules/async → async}/sortBy.js +0 -0
  897. /package/node_modules/{winston/node_modules/async → async}/timeout.js +0 -0
  898. /package/node_modules/{winston/node_modules/async → async}/times.js +0 -0
  899. /package/node_modules/{winston/node_modules/async → async}/timesLimit.js +0 -0
  900. /package/node_modules/{winston/node_modules/async → async}/timesSeries.js +0 -0
  901. /package/node_modules/{winston/node_modules/async → async}/transform.js +0 -0
  902. /package/node_modules/{winston/node_modules/async → async}/tryEach.js +0 -0
  903. /package/node_modules/{winston/node_modules/async → async}/unmemoize.js +0 -0
  904. /package/node_modules/{winston/node_modules/async → async}/until.js +0 -0
  905. /package/node_modules/{winston/node_modules/async → async}/waterfall.js +0 -0
  906. /package/node_modules/{winston/node_modules/async → async}/whilst.js +0 -0
  907. /package/node_modules/{winston/node_modules/async → async}/wrapSync.js +0 -0
  908. /package/node_modules/{yargs/node_modules/cliui → cliui}/LICENSE.txt +0 -0
  909. /package/node_modules/{yargs/node_modules/cliui → cliui}/README.md +0 -0
  910. /package/node_modules/{yargs/node_modules/cliui → cliui}/build/index.cjs +0 -0
  911. /package/node_modules/{yargs/node_modules/cliui → cliui}/build/index.d.cts +0 -0
  912. /package/node_modules/{yargs/node_modules/cliui → cliui}/build/lib/index.js +0 -0
  913. /package/node_modules/{yargs/node_modules/cliui → cliui}/build/lib/string-utils.js +0 -0
  914. /package/node_modules/{yargs/node_modules/cliui → cliui}/index.mjs +0 -0
  915. /package/node_modules/{yargs/node_modules/cliui → cliui}/package.json +0 -0
  916. /package/node_modules/color/node_modules/{color-name → color-convert/node_modules/color-name}/.eslintrc.json +0 -0
  917. /package/node_modules/color/node_modules/{color-name → color-convert/node_modules/color-name}/.npmignore +0 -0
  918. /package/node_modules/color/node_modules/{color-name → color-convert/node_modules/color-name}/LICENSE +0 -0
  919. /package/node_modules/color/node_modules/{color-name → color-convert/node_modules/color-name}/README.md +0 -0
  920. /package/node_modules/color/node_modules/{color-name → color-convert/node_modules/color-name}/index.js +0 -0
  921. /package/node_modules/color/node_modules/{color-name → color-convert/node_modules/color-name}/package.json +0 -0
  922. /package/node_modules/color/node_modules/{color-name → color-convert/node_modules/color-name}/test.js +0 -0
  923. /package/node_modules/{@zowe/imperative → cross-spawn}/node_modules/which/LICENSE +0 -0
  924. /package/node_modules/{which → cross-spawn/node_modules/which}/bin/node-which +0 -0
  925. /package/node_modules/{isexe → cross-spawn/node_modules/which/node_modules/isexe}/.npmignore +0 -0
  926. /package/node_modules/{isexe → cross-spawn/node_modules/which/node_modules/isexe}/index.js +0 -0
  927. /package/node_modules/{isexe → cross-spawn/node_modules/which/node_modules/isexe}/mode.js +0 -0
  928. /package/node_modules/{isexe → cross-spawn/node_modules/which/node_modules/isexe}/test/basic.js +0 -0
  929. /package/node_modules/{isexe → cross-spawn/node_modules/which/node_modules/isexe}/windows.js +0 -0
  930. /package/node_modules/{which → cross-spawn/node_modules/which}/which.js +0 -0
  931. /package/node_modules/{simple-swizzle/node_modules/is-arrayish → is-arrayish}/LICENSE +0 -0
  932. /package/node_modules/{simple-swizzle/node_modules/is-arrayish → is-arrayish}/README.md +0 -0
  933. /package/node_modules/{simple-swizzle/node_modules/is-arrayish → is-arrayish}/index.js +0 -0
  934. /package/node_modules/{simple-swizzle/node_modules/is-arrayish → is-arrayish}/package.json +0 -0
  935. /package/node_modules/{simple-swizzle/node_modules/is-arrayish → is-arrayish}/yarn-error.log +0 -0
  936. /package/node_modules/{@zowe/imperative/node_modules/isexe → isexe}/dist/cjs/index.d.ts +0 -0
  937. /package/node_modules/{@zowe/imperative/node_modules/isexe → isexe}/dist/cjs/index.d.ts.map +0 -0
  938. /package/node_modules/{@zowe/imperative/node_modules/isexe → isexe}/dist/cjs/index.js +0 -0
  939. /package/node_modules/{@zowe/imperative/node_modules/isexe → isexe}/dist/cjs/index.js.map +0 -0
  940. /package/node_modules/{@zowe/imperative/node_modules/isexe → isexe}/dist/cjs/options.d.ts +0 -0
  941. /package/node_modules/{@zowe/imperative/node_modules/isexe → isexe}/dist/cjs/options.d.ts.map +0 -0
  942. /package/node_modules/{@zowe/imperative/node_modules/isexe → isexe}/dist/cjs/options.js +0 -0
  943. /package/node_modules/{@zowe/imperative/node_modules/isexe → isexe}/dist/cjs/options.js.map +0 -0
  944. /package/node_modules/{@zowe/imperative/node_modules/isexe → isexe}/dist/cjs/package.json +0 -0
  945. /package/node_modules/{@zowe/imperative/node_modules/isexe → isexe}/dist/cjs/posix.d.ts +0 -0
  946. /package/node_modules/{@zowe/imperative/node_modules/isexe → isexe}/dist/cjs/posix.d.ts.map +0 -0
  947. /package/node_modules/{@zowe/imperative/node_modules/isexe → isexe}/dist/cjs/posix.js +0 -0
  948. /package/node_modules/{@zowe/imperative/node_modules/isexe → isexe}/dist/cjs/posix.js.map +0 -0
  949. /package/node_modules/{@zowe/imperative/node_modules/isexe → isexe}/dist/cjs/win32.d.ts +0 -0
  950. /package/node_modules/{@zowe/imperative/node_modules/isexe → isexe}/dist/cjs/win32.d.ts.map +0 -0
  951. /package/node_modules/{@zowe/imperative/node_modules/isexe → isexe}/dist/cjs/win32.js +0 -0
  952. /package/node_modules/{@zowe/imperative/node_modules/isexe → isexe}/dist/cjs/win32.js.map +0 -0
  953. /package/node_modules/{@zowe/imperative/node_modules/isexe → isexe}/dist/mjs/index.d.ts +0 -0
  954. /package/node_modules/{@zowe/imperative/node_modules/isexe → isexe}/dist/mjs/index.d.ts.map +0 -0
  955. /package/node_modules/{@zowe/imperative/node_modules/isexe → isexe}/dist/mjs/index.js +0 -0
  956. /package/node_modules/{@zowe/imperative/node_modules/isexe → isexe}/dist/mjs/index.js.map +0 -0
  957. /package/node_modules/{@zowe/imperative/node_modules/isexe → isexe}/dist/mjs/options.d.ts +0 -0
  958. /package/node_modules/{@zowe/imperative/node_modules/isexe → isexe}/dist/mjs/options.d.ts.map +0 -0
  959. /package/node_modules/{@zowe/imperative/node_modules/isexe → isexe}/dist/mjs/options.js +0 -0
  960. /package/node_modules/{@zowe/imperative/node_modules/isexe → isexe}/dist/mjs/options.js.map +0 -0
  961. /package/node_modules/{@zowe/imperative/node_modules/isexe → isexe}/dist/mjs/package.json +0 -0
  962. /package/node_modules/{@zowe/imperative/node_modules/isexe → isexe}/dist/mjs/posix.d.ts +0 -0
  963. /package/node_modules/{@zowe/imperative/node_modules/isexe → isexe}/dist/mjs/posix.d.ts.map +0 -0
  964. /package/node_modules/{@zowe/imperative/node_modules/isexe → isexe}/dist/mjs/posix.js +0 -0
  965. /package/node_modules/{@zowe/imperative/node_modules/isexe → isexe}/dist/mjs/posix.js.map +0 -0
  966. /package/node_modules/{@zowe/imperative/node_modules/isexe → isexe}/dist/mjs/win32.d.ts +0 -0
  967. /package/node_modules/{@zowe/imperative/node_modules/isexe → isexe}/dist/mjs/win32.d.ts.map +0 -0
  968. /package/node_modules/{@zowe/imperative/node_modules/isexe → isexe}/dist/mjs/win32.js +0 -0
  969. /package/node_modules/{@zowe/imperative/node_modules/isexe → isexe}/dist/mjs/win32.js.map +0 -0
  970. /package/node_modules/{shebang-command/node_modules/shebang-regex → shebang-regex}/index.d.ts +0 -0
  971. /package/node_modules/{shebang-command/node_modules/shebang-regex → shebang-regex}/index.js +0 -0
  972. /package/node_modules/{strip-ansi/node_modules/ansi-regex → shebang-regex}/license +0 -0
  973. /package/node_modules/{shebang-command/node_modules/shebang-regex → shebang-regex}/package.json +0 -0
  974. /package/node_modules/{shebang-command/node_modules/shebang-regex → shebang-regex}/readme.md +0 -0
  975. /package/node_modules/streamroller/node_modules/{jsonfile → fs-extra/node_modules/jsonfile}/LICENSE +0 -0
  976. /package/node_modules/streamroller/node_modules/{jsonfile → fs-extra/node_modules/jsonfile}/README.md +0 -0
  977. /package/node_modules/streamroller/node_modules/{jsonfile → fs-extra/node_modules/jsonfile}/index.js +0 -0
  978. /package/node_modules/streamroller/node_modules/{jsonfile → fs-extra/node_modules/jsonfile}/package.json +0 -0
  979. /package/node_modules/streamroller/node_modules/{universalify → fs-extra/node_modules/universalify}/LICENSE +0 -0
  980. /package/node_modules/streamroller/node_modules/{universalify → fs-extra/node_modules/universalify}/README.md +0 -0
  981. /package/node_modules/streamroller/node_modules/{universalify → fs-extra/node_modules/universalify}/index.js +0 -0
  982. /package/node_modules/streamroller/node_modules/{universalify → fs-extra/node_modules/universalify}/package.json +0 -0
  983. /package/node_modules/{@zowe/imperative/node_modules/which → which}/bin/which.js +0 -0
  984. /package/node_modules/{@zowe/imperative/node_modules/which → which}/lib/index.js +0 -0
  985. /package/node_modules/{yargs/node_modules/y18n → y18n}/LICENSE +0 -0
  986. /package/node_modules/{yargs/node_modules/y18n → y18n}/README.md +0 -0
  987. /package/node_modules/{yargs/node_modules/y18n → y18n}/build/index.cjs +0 -0
  988. /package/node_modules/{yargs/node_modules/y18n → y18n}/build/lib/cjs.js +0 -0
  989. /package/node_modules/{yargs/node_modules/y18n → y18n}/build/lib/index.js +0 -0
  990. /package/node_modules/{yargs/node_modules/y18n → y18n}/build/lib/platform-shims/node.js +0 -0
  991. /package/node_modules/{yargs/node_modules/y18n → y18n}/index.mjs +0 -0
  992. /package/node_modules/{yargs/node_modules/y18n → y18n}/package.json +0 -0
  993. /package/node_modules/{tar/node_modules/yallist → yallist}/LICENSE.md +0 -0
  994. /package/node_modules/{tar/node_modules/yallist → yallist}/README.md +0 -0
  995. /package/node_modules/{tar/node_modules/yallist → yallist}/dist/commonjs/index.d.ts +0 -0
  996. /package/node_modules/{tar/node_modules/yallist → yallist}/dist/commonjs/index.d.ts.map +0 -0
  997. /package/node_modules/{tar/node_modules/yallist → yallist}/dist/commonjs/index.js +0 -0
  998. /package/node_modules/{tar/node_modules/yallist → yallist}/dist/commonjs/index.js.map +0 -0
  999. /package/node_modules/{@zowe/zos-files-for-zowe-sdk/node_modules/balanced-match → yallist}/dist/commonjs/package.json +0 -0
  1000. /package/node_modules/{tar/node_modules/yallist → yallist}/dist/esm/index.d.ts +0 -0
  1001. /package/node_modules/{tar/node_modules/yallist → yallist}/dist/esm/index.d.ts.map +0 -0
  1002. /package/node_modules/{tar/node_modules/yallist → yallist}/dist/esm/index.js +0 -0
  1003. /package/node_modules/{tar/node_modules/yallist → yallist}/dist/esm/index.js.map +0 -0
  1004. /package/node_modules/{@zowe/zos-files-for-zowe-sdk/node_modules/balanced-match → yallist}/dist/esm/package.json +0 -0
  1005. /package/node_modules/{tar/node_modules/yallist → yallist}/package.json +0 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"decode.js","sourceRoot":"","sources":["../src/decode.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,iBAAiB,EACjB,gBAAgB,EAChB,mBAAmB,GACtB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,cAA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ric hexadecimal reference
10
10
  * (eg. `ü`) will be used.
11
+ * @param input Input string to encode.
11
12
  */
12
13
  export declare function encodeHTML(input: string): string;
13
14
  /**
@@ -17,6 +18,9 @@ export declare function encodeHTML(input: string): string;
17
18
  *
18
19
  * If a character has no equivalent entity, a numeric hexadecimal reference
19
20
  * (eg. `ü`) will be used.
21
+ * @param input Input string to encode.
20
22
  */
21
23
  export declare function encodeNonAsciiHTML(input: string): string;
24
+ /** @internal Exported for tests; not re-exported from the package entry. */
25
+ export declare const INLINE_SCAN_WINDOW = 16;
22
26
  //# sourceMappingURL=encode.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"encode.d.ts","sourceRoot":"","sources":["../src/encode.ts"],"names":[],"mappings":"AAmKA;;;;;;;;;;;GAWG;AACH,wBAAgB,UAAU,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAEhD;AACD;;;;;;;;GAQG;AACH,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAExD;AAwBD,4EAA4E;AAC5E,eAAO,MAAM,kBAAkB,KAAK,CAAC"}
@@ -0,0 +1,295 @@
1
+ import { XML_BITSET_VALUE, xmlEncodeRegex } from "./escape.js";
2
+ import htmlTrieData from "./generated/encode-html.js";
3
+ /**
4
+ * Flat lookup table for ASCII entity values (code points 0–127).
5
+ *
6
+ * Built once at startup from the full trie. For ASCII characters that need
7
+ * encoding, a direct `asciiEntities[charCode]` array index is much faster
8
+ * than `Map.get(charCode)` because it avoids hashing and bucket lookup.
9
+ *
10
+ * A few ASCII characters also start multi-code-point entities
11
+ * (e.g. `<` + U+20D2 → `&nvlt;`). For those, the table holds the branch
12
+ * node itself (children plus the single-char value), so the ASCII path
13
+ * never consults `htmlTrie`.
14
+ */
15
+ const asciiEntities = /* #__PURE__ */ Array.from({ length: 128 }, () => null);
16
+ const htmlTrie = (() => {
17
+ /**
18
+ * Parse a compact encode trie string into a Map keyed by code point.
19
+ *
20
+ * The serialized format (produced by `scripts/write-encode-map.ts`) stores
21
+ * entries in ascending code-point order with delta encoding:
22
+ *
23
+ * [gap]name;[{children}]
24
+ *
25
+ * - `gap` is a base-10 integer giving `currentKey - previousKey - 1`.
26
+ * The very first entry stores the absolute key. A gap of 0 is omitted.
27
+ * - `name;` is the entity name (without `&` prefix) terminated by `;`.
28
+ * Because gaps use only digits `[0-9]` and entity names always start with
29
+ * a letter `[A-Za-z]`, no additional delimiter is needed.
30
+ * - `{…}` is an optional children block using the same scheme recursively.
31
+ * Children represent the second code unit of multi-character entities
32
+ * (e.g. `<` + U+20D2 → `&nvlt;`).
33
+ */
34
+ const trie = new Map();
35
+ const data = htmlTrieData;
36
+ let cursor = 0;
37
+ let lastKey = -1;
38
+ function readGap() {
39
+ let value = 0;
40
+ let ch;
41
+ while ((ch = data.charCodeAt(cursor)) >= 48 /* '0' */ &&
42
+ ch <= 57 /* '9' */) {
43
+ value = value * 10 + ch - 48;
44
+ cursor++;
45
+ }
46
+ return value;
47
+ }
48
+ function readEntity() {
49
+ const semi = data.indexOf(";", cursor);
50
+ const entity = `&${data.substring(cursor, semi)};`;
51
+ cursor = semi + 1;
52
+ return entity;
53
+ }
54
+ const astralEntries = [];
55
+ while (cursor < data.length) {
56
+ lastKey += readGap() + 1;
57
+ const entityValue = data.charCodeAt(cursor) === 123 /* '{' */ ? null : readEntity();
58
+ if (data.charCodeAt(cursor) === 123 /* '{' */) {
59
+ cursor++; // Skip '{'
60
+ const next = new Map();
61
+ let childKey = -1;
62
+ while (data.charCodeAt(cursor) !== 125 /* '}' */) {
63
+ childKey += readGap() + 1;
64
+ next.set(childKey, readEntity());
65
+ }
66
+ const branch = { value: entityValue, next };
67
+ trie.set(lastKey, branch);
68
+ cursor++; // Skip '}'
69
+ // ASCII fast path holds the branch node itself (children + value).
70
+ if (lastKey < 0x80) {
71
+ asciiEntities[lastKey] = branch;
72
+ }
73
+ }
74
+ else if (lastKey < 0x80) {
75
+ asciiEntities[lastKey] = entityValue;
76
+ }
77
+ else if (lastKey > 0xff_ff) {
78
+ astralEntries.push([lastKey, entityValue]);
79
+ }
80
+ else {
81
+ trie.set(lastKey, entityValue);
82
+ }
83
+ }
84
+ /*
85
+ * Batch-insert astral entries as surrogate-pair trie nodes.
86
+ * Entries are sorted by code point, so same-high-surrogate groups
87
+ * are contiguous — no intermediate grouping Map needed.
88
+ */
89
+ let astralIndex = 0;
90
+ while (astralIndex < astralEntries.length) {
91
+ const hi = 0xd8_00 | ((astralEntries[astralIndex][0] - 0x1_00_00) >> 10);
92
+ const children = [];
93
+ while (astralIndex < astralEntries.length &&
94
+ (0xd8_00 | ((astralEntries[astralIndex][0] - 0x1_00_00) >> 10)) ===
95
+ hi) {
96
+ const lo = 0xdc_00 |
97
+ ((astralEntries[astralIndex][0] - 0x1_00_00) & 0x3_ff);
98
+ children.push([lo, astralEntries[astralIndex][1]]);
99
+ astralIndex++;
100
+ }
101
+ trie.set(hi, { value: null, next: new Map(children) });
102
+ }
103
+ return trie;
104
+ })();
105
+ /**
106
+ * Bitset covering ASCII code points 0–127. Each of the four 32-bit words
107
+ * covers a 32-code-point range. A set bit means "this character needs
108
+ * encoding" when used with `encodeHTML`.
109
+ */
110
+ const HTML_BITSET = /* #__PURE__ */ new Uint32Array([
111
+ 0x16_00, // 09 (\t), 0A (\n), 0C (\f)
112
+ 0xfc_00_ff_fe, // 21-2D (!-.), 2E (.), 2F (/), 3A-3F (:;<=>?)
113
+ 0xf8_00_00_01, // 40 (@), 5B-5F ([\]^_)
114
+ 0x38_00_00_01, // 60 (`), 7B-7D ({|})
115
+ ]);
116
+ const XML_BITSET = /* #__PURE__ */ new Uint32Array([0, XML_BITSET_VALUE, 0, 0]);
117
+ /*
118
+ * Regex equivalent of `HTML_BITSET` (plus all non-ASCII code units, lone
119
+ * surrogates included — no `u` flag). Must stay in sync with the bitset:
120
+ * the scan uses the regex to find candidates and the bitset to re-check
121
+ * adjacent characters. The XML equivalent is `xmlEncodeRegex`, shared with
122
+ * `escape.ts`.
123
+ */
124
+ // eslint-disable-next-line unicorn/prefer-unicode-code-point-escapes -- the `\u{...}` form requires the `u` flag, which we deliberately omit so lone surrogates match by code unit
125
+ const HTML_ENCODE_RE = /[\t\n\f!-/:-@[-`{-}\u0080-\uFFFF]/g;
126
+ const numericReference = (cp) => `&#x${cp.toString(16)};`;
127
+ /**
128
+ * Encodes all characters in the input using HTML entities. This includes
129
+ * characters that are valid ASCII characters in HTML documents, such as `#`.
130
+ *
131
+ * To get a more compact output, consider using the `encodeNonAsciiHTML`
132
+ * function, which will only encode characters that are not valid in HTML
133
+ * documents, as well as non-ASCII characters.
134
+ *
135
+ * If a character has no equivalent entity, a numeric hexadecimal reference
136
+ * (eg. `&#xfc;`) will be used.
137
+ * @param input Input string to encode.
138
+ */
139
+ export function encodeHTML(input) {
140
+ return encodeHTMLTrieRe(HTML_BITSET, HTML_ENCODE_RE, input);
141
+ }
142
+ /**
143
+ * Encodes all non-ASCII characters, as well as characters not valid in HTML
144
+ * documents using HTML entities. This function will not encode characters that
145
+ * are valid in HTML documents, such as `#`.
146
+ *
147
+ * If a character has no equivalent entity, a numeric hexadecimal reference
148
+ * (eg. `&#xfc;`) will be used.
149
+ * @param input Input string to encode.
150
+ */
151
+ export function encodeNonAsciiHTML(input) {
152
+ return encodeHTMLTrieRe(XML_BITSET, xmlEncodeRegex, input);
153
+ }
154
+ /**
155
+ * Whether `code` (a UTF-16 code unit) must be encoded: any non-ASCII unit, or
156
+ * an ASCII unit flagged in `bitset`.
157
+ * @param bitset Bitset of ASCII characters to encode.
158
+ * @param code Code unit to test.
159
+ */
160
+ function isEncodable(bitset, code) {
161
+ return code >= 0x80 || ((bitset[code >>> 5] >>> code) & 1) === 1;
162
+ }
163
+ /*
164
+ * The inline scan beats the regex jump only for short gaps (measured
165
+ * break-even is ~7 characters; below it the per-call regex overhead
166
+ * dominates, above it the regex skips clean spans faster in native code).
167
+ * So we scan at most `INLINE_SCAN_WINDOW` characters inline before deferring
168
+ * to the regex. Any gap long enough to exhaust the window switches to
169
+ * long-gap mode, which skips the inline scan entirely; we stay in that mode
170
+ * while total gaps are at least `LONG_GAP_THRESHOLD` characters long and
171
+ * drop back to the inline scan as soon as a shorter gap appears. Gaps are
172
+ * always measured from where they start, so every window-exhausting gap
173
+ * enters long-gap mode and no gap length pays both scans repeatedly.
174
+ */
175
+ /** @internal Exported for tests; not re-exported from the package entry. */
176
+ export const INLINE_SCAN_WINDOW = 16;
177
+ const LONG_GAP_THRESHOLD = 8;
178
+ function encodeHTMLTrieRe(bitset, re, input) {
179
+ const { length } = input;
180
+ let out;
181
+ let last = 0; // Start of the next untouched slice.
182
+ let index = 0;
183
+ let wasLongGap = false; // The previous gap was long; skip the inline scan.
184
+ while (index < length) {
185
+ let char = input.charCodeAt(index);
186
+ /*
187
+ * Find the next encodable character (one matching `bitset`, or any
188
+ * non-ASCII unit). Gaps between entities in dense text are only a
189
+ * few characters, so scan a short window inline first; the regex —
190
+ * which matches exactly the same characters and skips clean spans
191
+ * in native code — runs for longer gaps. Gap lengths cluster, so
192
+ * after a window-exhausting gap the window is skipped until a gap
193
+ * shorter than LONG_GAP_THRESHOLD reappears. Once located, the
194
+ * character is captured in `char` and control falls through to the
195
+ * encode logic below instead of re-testing it on the next loop
196
+ * iteration.
197
+ */
198
+ if (!isEncodable(bitset, char)) {
199
+ const gapStart = index;
200
+ let next = index + 1;
201
+ let wasFound = false;
202
+ if (!wasLongGap) {
203
+ const bound = Math.min(index + INLINE_SCAN_WINDOW, length);
204
+ while (next < bound &&
205
+ !isEncodable(bitset, (char = input.charCodeAt(next)))) {
206
+ next++;
207
+ }
208
+ if (next < bound) {
209
+ // `char` already holds the encodable unit at `next`.
210
+ index = next;
211
+ wasFound = true;
212
+ }
213
+ else if (next >= length) {
214
+ break;
215
+ }
216
+ }
217
+ if (!wasFound) {
218
+ /*
219
+ * Every match is a single code unit, so `test` pins it at
220
+ * `lastIndex - 1` without allocating a match object.
221
+ */
222
+ re.lastIndex = next;
223
+ if (!re.test(input))
224
+ break;
225
+ index = re.lastIndex - 1;
226
+ /*
227
+ * Reaching the regex from the inline scan means the gap
228
+ * exhausted the window, so it is long by definition; once
229
+ * in long-gap mode, stay until a gap shorter than the
230
+ * threshold appears.
231
+ */
232
+ wasLongGap =
233
+ !wasLongGap || index - gapStart >= LONG_GAP_THRESHOLD;
234
+ char = input.charCodeAt(index);
235
+ }
236
+ }
237
+ // Lazy-init: copy the prefix before the first character that needs encoding.
238
+ if (out == null)
239
+ out = input.substring(0, index);
240
+ else if (last !== index)
241
+ out += input.substring(last, index);
242
+ if (char < 0x80) {
243
+ const node = asciiEntities[char];
244
+ if (typeof node === "object" && node !== null) {
245
+ // Multi-code-point entity first (e.g. < + U+20D2 → &nvlt;).
246
+ if (index + 1 < length) {
247
+ const value = node.next.get(input.charCodeAt(index + 1));
248
+ if (value != null) {
249
+ out += value;
250
+ last = index += 2;
251
+ continue;
252
+ }
253
+ }
254
+ out += node.value ?? numericReference(char);
255
+ }
256
+ else {
257
+ out += node ?? numericReference(char);
258
+ }
259
+ }
260
+ else {
261
+ // Non-ASCII: full trie lookup with multi-char entity support.
262
+ let node = htmlTrie.get(char);
263
+ if (typeof node === "object") {
264
+ if (index + 1 < length) {
265
+ const value = node.next.get(input.charCodeAt(index + 1));
266
+ if (value != null) {
267
+ out += value;
268
+ last = index += 2;
269
+ continue;
270
+ }
271
+ }
272
+ node = node.value;
273
+ }
274
+ if (node == null) {
275
+ // No named entity exists; emit a hexadecimal numeric reference.
276
+ const cp = input.codePointAt(index);
277
+ out += numericReference(cp);
278
+ // Astral code points consume two UTF-16 code units.
279
+ if (cp !== char)
280
+ index++;
281
+ }
282
+ else {
283
+ out += node;
284
+ }
285
+ }
286
+ last = index += 1;
287
+ }
288
+ // If nothing needed encoding, return the original string (avoids allocation).
289
+ if (out == null)
290
+ return input;
291
+ if (last < length)
292
+ out += input.substr(last);
293
+ return out;
294
+ }
295
+ //# sourceMappingURL=encode.js.map
@@ -0,0 +1 @@
1
+ {"version":3,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,KAAK,CAAC;wBACb,IAAI,GAAG,KAAK,IAAI,CAAC,CAAC;wBAClB,SAAS;oBACb,CAAC;gBACL,CAAC;gBACD,IAAI,GAAG,IAAI,CAAC,KAAK,CAAC;YACtB,CAAC;YAED,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;gBACf,gEAAgE;gBAChE,MAAM,EAAE,GAAG,KAAK,CAAC,WAAW,CAAC,KAAK,CAAE,CAAC;gBACrC,GAAG,IAAI,gBAAgB,CAAC,EAAE,CAAC,CAAC;gBAC5B,oDAAoD;gBACpD,IAAI,EAAE,KAAK,IAAI;oBAAE,KAAK,EAAE,CAAC;YAC7B,CAAC;iBAAM,CAAC;gBACJ,GAAG,IAAI,IAAI,CAAC;YAChB,CAAC;QACL,CAAC;QACD,IAAI,GAAG,KAAK,IAAI,CAAC,CAAC;IACtB,CAAC;IAED,8EAA8E;IAC9E,IAAI,GAAG,IAAI,IAAI;QAAE,OAAO,KAAK,CAAC;IAC9B,IAAI,IAAI,GAAG,MAAM;QAAE,GAAG,IAAI,KAAK,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;IAC7C,OAAO,GAAG,CAAC;AACf,CAAC"}
@@ -1,14 +1,32 @@
1
- export declare const getCodePoint: (c: string, index: number) => number;
1
+ /**
2
+ * Read a code point at a given index.
3
+ * @param input String to read the code point from.
4
+ * @param index Current read position in the input string.
5
+ * @returns The code point at `index`, or `undefined` if `index` is out of range.
6
+ * @deprecated Use `String.prototype.codePointAt` directly instead; this export
7
+ * will be removed in the next major.
8
+ */
9
+ export declare const getCodePoint: (input: string, index: number) => number;
2
10
  /**
3
11
  * Bitset for ASCII characters that need to be escaped in XML.
4
12
  */
5
13
  export declare const XML_BITSET_VALUE = 1342177476;
14
+ /**
15
+ * Matches exactly the characters `encodeXML` escapes: the five XML special
16
+ * characters plus every non-ASCII code unit (lone surrogates included — no
17
+ * `u` flag). Kept in sync with `XML_BITSET_VALUE`.
18
+ *
19
+ * Shared with `encodeNonAsciiHTML` in `encode.ts`. Because the regex is
20
+ * stateful (`g` flag), every call site must set `lastIndex` before use.
21
+ */
22
+ export declare const xmlEncodeRegex: RegExp;
6
23
  /**
7
24
  * Encodes all non-ASCII characters, as well as characters not valid in XML
8
- * documents using XML entities. Uses a fast bitset scan instead of RegExp.
25
+ * documents using XML entities.
9
26
  *
10
27
  * If a character has no equivalent entity, a numeric hexadecimal reference
11
28
  * (eg. `&#xfc;`) will be used.
29
+ * @param input Input string to encode.
12
30
  */
13
31
  export declare function encodeXML(input: string): string;
14
32
  /**
@@ -17,7 +35,6 @@ export declare function encodeXML(input: string): string;
17
35
  *
18
36
  * Have a look at `escapeUTF8` if you want a more concise output at the expense
19
37
  * of reduced transportability.
20
- *
21
38
  * @param data String to escape.
22
39
  */
23
40
  export declare const escape: typeof encodeXML;
@@ -25,22 +42,19 @@ export declare const escape: typeof encodeXML;
25
42
  * Encodes all characters not valid in XML documents using XML entities.
26
43
  *
27
44
  * Note that the output will be character-set dependent.
28
- *
29
45
  * @param data String to escape.
30
46
  */
31
- export declare const escapeUTF8: (data: string) => string;
47
+ export declare function escapeUTF8(data: string): string;
32
48
  /**
33
49
  * Encodes all characters that have to be escaped in HTML attributes,
34
50
  * following {@link https://html.spec.whatwg.org/multipage/parsing.html#escapingString}.
35
- *
36
51
  * @param data String to escape.
37
52
  */
38
- export declare const escapeAttribute: (data: string) => string;
53
+ export declare function escapeAttribute(data: string): string;
39
54
  /**
40
55
  * Encodes all characters that have to be escaped in HTML text,
41
56
  * following {@link https://html.spec.whatwg.org/multipage/parsing.html#escapingString}.
42
- *
43
57
  * @param data String to escape.
44
58
  */
45
- export declare const escapeText: (data: string) => string;
59
+ export declare function escapeText(data: string): string;
46
60
  //# sourceMappingURL=escape.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"escape.d.ts","sourceRoot":"","sources":["../src/escape.ts"],"names":[],"mappings":"AAkBA;;;;;;;GAOG;AACH,eAAO,MAAM,YAAY,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,KAAK,MAGvB,CAAC;AAEvC;;GAEG;AACH,eAAO,MAAM,gBAAgB,aAAgB,CAAC;AAE9C;;;;;;;GAOG;AAEH,eAAO,MAAM,cAAc,EAAE,MAAgC,CAAC;AAe9D;;;;;;;GAOG;AACH,wBAAgB,SAAS,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAmD/C;AAED;;;;;;;GAOG;AACH,eAAO,MAAM,MAAM,EAAE,OAAO,SAAqB,CAAC;AA2BlD;;;;;GAKG;AACH,wBAAgB,UAAU,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAE/C;AAID;;;;GAIG;AACH,wBAAgB,eAAe,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAEpD;AAID;;;;GAIG;AACH,wBAAgB,UAAU,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAE/C"}
@@ -0,0 +1,172 @@
1
+ /**
2
+ * Get the named reference for an XML special character or U+00A0.
3
+ * @param char Code unit matched by one of the escape regexes.
4
+ */
5
+ function getEscape(char) {
6
+ return char === 34
7
+ ? "&quot;"
8
+ : char === 38
9
+ ? "&amp;"
10
+ : char === 39
11
+ ? "&apos;"
12
+ : char === 60
13
+ ? "&lt;"
14
+ : char === 62
15
+ ? "&gt;"
16
+ : "&nbsp;";
17
+ }
18
+ /**
19
+ * Read a code point at a given index.
20
+ * @param input String to read the code point from.
21
+ * @param index Current read position in the input string.
22
+ * @returns The code point at `index`, or `undefined` if `index` is out of range.
23
+ * @deprecated Use `String.prototype.codePointAt` directly instead; this export
24
+ * will be removed in the next major.
25
+ */
26
+ export const getCodePoint = (input, index) => input.codePointAt(index);
27
+ /**
28
+ * Bitset for ASCII characters that need to be escaped in XML.
29
+ */
30
+ export const XML_BITSET_VALUE = 0x50_00_00_c4; // 32..63 -> 34 ("),38 (&),39 ('),60 (<),62 (>)
31
+ /**
32
+ * Matches exactly the characters `encodeXML` escapes: the five XML special
33
+ * characters plus every non-ASCII code unit (lone surrogates included — no
34
+ * `u` flag). Kept in sync with `XML_BITSET_VALUE`.
35
+ *
36
+ * Shared with `encodeNonAsciiHTML` in `encode.ts`. Because the regex is
37
+ * stateful (`g` flag), every call site must set `lastIndex` before use.
38
+ */
39
+ // eslint-disable-next-line unicorn/prefer-unicode-code-point-escapes -- the `\u{...}` form requires the `u` flag, which we deliberately omit so lone surrogates match by code unit
40
+ export const xmlEncodeRegex = /["&'<>\u0080-\uFFFF]/g;
41
+ /**
42
+ * Whether `code` (a UTF-16 code unit) is escaped by {@link encodeXML}: a
43
+ * non-ASCII unit, or one of the five XML specials flagged in
44
+ * `XML_BITSET_VALUE` (which is only meaningful for code units 32-63).
45
+ * @param code Code unit to test.
46
+ */
47
+ function isXmlEscapable(code) {
48
+ return (code >= 0x80 ||
49
+ (code >= 32 && code < 64 && ((XML_BITSET_VALUE >>> code) & 1) === 1));
50
+ }
51
+ /**
52
+ * Encodes all non-ASCII characters, as well as characters not valid in XML
53
+ * documents using XML entities.
54
+ *
55
+ * If a character has no equivalent entity, a numeric hexadecimal reference
56
+ * (eg. `&#xfc;`) will be used.
57
+ * @param input Input string to encode.
58
+ */
59
+ export function encodeXML(input) {
60
+ const { length } = input;
61
+ let out;
62
+ let last = 0;
63
+ let index = 0;
64
+ while (index < length) {
65
+ const char = input.charCodeAt(index);
66
+ /*
67
+ * Find the next character to escape: scan a short window inline
68
+ * (escapable characters cluster in markup-heavy input), then fall
69
+ * back to the regex, which skips clean spans in native code.
70
+ */
71
+ if (!isXmlEscapable(char)) {
72
+ const bound = Math.min(index + 32, length);
73
+ let next = index + 1;
74
+ while (next < bound && !isXmlEscapable(input.charCodeAt(next))) {
75
+ next++;
76
+ }
77
+ if (next < bound) {
78
+ index = next;
79
+ continue;
80
+ }
81
+ if (next >= length)
82
+ break;
83
+ xmlEncodeRegex.lastIndex = next;
84
+ if (!xmlEncodeRegex.test(input))
85
+ break;
86
+ index = xmlEncodeRegex.lastIndex - 1;
87
+ continue;
88
+ }
89
+ if (out === undefined)
90
+ out = input.substring(0, index);
91
+ else if (last !== index)
92
+ out += input.substring(last, index);
93
+ if (char < 64) {
94
+ // Known replacement
95
+ out += getEscape(char);
96
+ last = index += 1;
97
+ continue;
98
+ }
99
+ // Non-ASCII: encode as numeric entity (handle surrogate pair)
100
+ const cp = input.codePointAt(index);
101
+ out += `&#x${cp.toString(16)};`;
102
+ if (cp !== char)
103
+ index++; // Skip trailing surrogate
104
+ last = index += 1;
105
+ }
106
+ if (out === undefined)
107
+ return input;
108
+ if (last < length)
109
+ out += input.substr(last);
110
+ return out;
111
+ }
112
+ /**
113
+ * Encodes all non-ASCII characters, as well as characters not valid in XML
114
+ * documents using numeric hexadecimal reference (eg. `&#xfc;`).
115
+ *
116
+ * Have a look at `escapeUTF8` if you want a more concise output at the expense
117
+ * of reduced transportability.
118
+ * @param data String to escape.
119
+ */
120
+ export const escape = encodeXML;
121
+ /**
122
+ * Escape `data` using `re`, mapping each matched character to its entity.
123
+ * Every match is one UTF-16 code unit, so its index is `lastIndex - 1`.
124
+ * @param re Global regex matching exactly the characters to escape
125
+ * (`"`, `&`, `'`, `<`, `>`, `\u00A0` at most).
126
+ * @param data String to escape.
127
+ */
128
+ function escapeWithRegex(re, data) {
129
+ re.lastIndex = 0;
130
+ if (!re.test(data))
131
+ return data;
132
+ let out = "";
133
+ let last = 0;
134
+ do {
135
+ const index = re.lastIndex - 1;
136
+ if (last !== index)
137
+ out += data.substring(last, index);
138
+ const char = data.charCodeAt(index);
139
+ out += getEscape(char);
140
+ last = index + 1;
141
+ } while (re.test(data));
142
+ return out + data.substring(last);
143
+ }
144
+ const xmlEscapeRegex = /["&'<>]/g;
145
+ /**
146
+ * Encodes all characters not valid in XML documents using XML entities.
147
+ *
148
+ * Note that the output will be character-set dependent.
149
+ * @param data String to escape.
150
+ */
151
+ export function escapeUTF8(data) {
152
+ return escapeWithRegex(xmlEscapeRegex, data);
153
+ }
154
+ const attributeEscapeRegex = /["&\u{A0}]/gu;
155
+ /**
156
+ * Encodes all characters that have to be escaped in HTML attributes,
157
+ * following {@link https://html.spec.whatwg.org/multipage/parsing.html#escapingString}.
158
+ * @param data String to escape.
159
+ */
160
+ export function escapeAttribute(data) {
161
+ return escapeWithRegex(attributeEscapeRegex, data);
162
+ }
163
+ const textEscapeRegex = /[&<>\u{A0}]/gu;
164
+ /**
165
+ * Encodes all characters that have to be escaped in HTML text,
166
+ * following {@link https://html.spec.whatwg.org/multipage/parsing.html#escapingString}.
167
+ * @param data String to escape.
168
+ */
169
+ export function escapeText(data) {
170
+ return escapeWithRegex(textEscapeRegex, data);
171
+ }
172
+ //# sourceMappingURL=escape.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"escape.js","sourceRoot":"","sources":["../src/escape.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,SAAS,SAAS,CAAC,IAAY;IAC3B,OAAO,IAAI,KAAK,EAAE;QACd,CAAC,CAAC,QAAQ;QACV,CAAC,CAAC,IAAI,KAAK,EAAE;YACX,CAAC,CAAC,OAAO;YACT,CAAC,CAAC,IAAI,KAAK,EAAE;gBACX,CAAC,CAAC,QAAQ;gBACV,CAAC,CAAC,IAAI,KAAK,EAAE;oBACX,CAAC,CAAC,MAAM;oBACR,CAAC,CAAC,IAAI,KAAK,EAAE;wBACX,CAAC,CAAC,MAAM;wBACR,CAAC,CAAC,QAAQ,CAAC;AAC3B,CAAC;AAED;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,YAAY,GAA6C,CAClE,KAAa,EACb,KAAa,EACP,EAAE,CAAC,KAAK,CAAC,WAAW,CAAC,KAAK,CAAE,CAAC;AAEvC;;GAEG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAAG,aAAa,CAAC,CAAC,+CAA+C;AAE9F;;;;;;;GAOG;AACH,mLAAmL;AACnL,MAAM,CAAC,MAAM,cAAc,GAAW,uBAAuB,CAAC;AAE9D;;;;;GAKG;AACH,SAAS,cAAc,CAAC,IAAY;IAChC,OAAO,CAC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I,EAAE,KAAK,CAAC,CAAC;QACvD,MAAM,IAAI,GAAG,IAAI,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC;QACpC,GAAG,IAAI,SAAS,CAAC,IAAI,CAAC,CAAC;QACvB,IAAI,GAAG,KAAK,GAAG,CAAC,CAAC;IACrB,CAAC,QAAQ,EAAE,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE;IAExB,OAAO,GAAG,GAAG,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC;AACtC,CAAC;AAED,MAAM,cAAc,GAAG,UAAU,CAAC;AAClC;;;;;GAKG;AACH,MAAM,UAAU,UAAU,CAAC,IAAY;IACnC,OAAO,eAAe,CAAC,cAAc,EAAE,IAAI,CAAC,CAAC;AACjD,CAAC;AAED,MAAM,oBAAoB,GAAG,cAAc,CAAC;AAE5C;;;;GAIG;AACH,MAAM,UAAU,eAAe,CAAC,IAAY;IACxC,OAAO,eAAe,CAAC,oBAAoB,EAAE,IAAI,CAAC,CAAC;AACvD,CAAC;AAED,MAAM,eAAe,GAAG,eAAe,CAAC;AAExC;;;;GAIG;AACH,MAAM,UAAU,UAAU,CAAC,IAAY;IACnC,OAAO,eAAe,CAAC,eAAe,EAAE,IAAI,CAAC,CAAC;AAClD,CAAC"}
@@ -0,0 +1,3 @@
1
+ /** Packed HTML decode trie data. */
2
+ export declare const htmlDecodeTree: Uint16Array;
3
+ //# sourceMappingURL=decode-data-html.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"decode-data-html.d.ts","sourceRoot":"","sources":["../../src/generated/decode-data-html.ts"],"names":[],"mappings":"AAGA,oCAAoC;AACpC,eAAO,MAAM,cAAc,EAAE,WAO5B,CAAC"}