@zowe/cli 8.37.0 → 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 (644) hide show
  1. package/lib/zosfiles/edit/Edit.utils.d.ts.map +1 -1
  2. package/lib/zosfiles/edit/Edit.utils.js +5 -1
  3. package/lib/zosfiles/edit/Edit.utils.js.map +1 -1
  4. package/node_modules/@zowe/core-for-zowe-sdk/package.json +3 -3
  5. package/node_modules/@zowe/imperative/lib/imperative/src/config/cmd/report-env/EnvItems.d.ts +1 -1
  6. package/node_modules/@zowe/imperative/lib/imperative/src/config/cmd/report-env/EnvItems.d.ts.map +1 -1
  7. package/node_modules/@zowe/imperative/lib/imperative/src/config/cmd/report-env/EnvItems.js +10 -12
  8. package/node_modules/@zowe/imperative/lib/imperative/src/config/cmd/report-env/EnvItems.js.map +1 -1
  9. package/node_modules/@zowe/imperative/lib/imperative/src/config/cmd/report-env/EnvQuery.d.ts.map +1 -1
  10. package/node_modules/@zowe/imperative/lib/imperative/src/config/cmd/report-env/EnvQuery.js +1 -4
  11. package/node_modules/@zowe/imperative/lib/imperative/src/config/cmd/report-env/EnvQuery.js.map +1 -1
  12. package/node_modules/@zowe/imperative/package.json +1 -1
  13. package/node_modules/@zowe/imperative/web-help/package-lock.json +58 -58
  14. package/node_modules/@zowe/provisioning-for-zowe-sdk/package.json +4 -4
  15. package/node_modules/@zowe/zos-console-for-zowe-sdk/package.json +4 -4
  16. package/node_modules/@zowe/zos-files-for-zowe-sdk/package.json +5 -5
  17. package/node_modules/@zowe/zos-jobs-for-zowe-sdk/package.json +5 -5
  18. package/node_modules/@zowe/zos-logs-for-zowe-sdk/package.json +4 -4
  19. package/node_modules/@zowe/zos-tso-for-zowe-sdk/package.json +5 -5
  20. package/node_modules/@zowe/zos-uss-for-zowe-sdk/package.json +3 -3
  21. package/node_modules/@zowe/zos-workflows-for-zowe-sdk/package.json +5 -5
  22. package/node_modules/@zowe/zosmf-for-zowe-sdk/package.json +4 -4
  23. package/node_modules/buildcheck/.eslintrc.js +5 -0
  24. package/node_modules/buildcheck/.github/workflows/ci.yml +72 -0
  25. package/node_modules/buildcheck/.github/workflows/lint.yml +23 -0
  26. package/node_modules/buildcheck/.npmignore +3 -0
  27. package/node_modules/{@zowe/zos-files-for-zowe-sdk/node_modules/brace-expansion → buildcheck}/LICENSE +10 -14
  28. package/node_modules/buildcheck/README.md +106 -0
  29. package/node_modules/buildcheck/deps/Find-VisualStudio.cs +250 -0
  30. package/node_modules/buildcheck/lib/findvs.js +345 -0
  31. package/node_modules/buildcheck/lib/index.js +738 -0
  32. package/node_modules/buildcheck/package.json +36 -0
  33. package/node_modules/buildcheck/test/test.js +8 -0
  34. package/node_modules/cpu-features/.eslintrc.js +5 -0
  35. package/node_modules/cpu-features/.github/workflows/ci.yml +68 -0
  36. package/node_modules/cpu-features/.github/workflows/lint.yml +27 -0
  37. package/node_modules/cpu-features/LICENSE +19 -0
  38. package/node_modules/cpu-features/README.md +59 -0
  39. package/node_modules/cpu-features/binding.gyp +16 -0
  40. package/node_modules/cpu-features/buildcheck.gypi +19 -0
  41. package/node_modules/cpu-features/buildcheck.js +32 -0
  42. package/node_modules/cpu-features/deps/cpu_features/.clang-format +4 -0
  43. package/node_modules/cpu-features/deps/cpu_features/.dockerignore +31 -0
  44. package/node_modules/cpu-features/deps/cpu_features/.github/workflows/Dockerfile +5 -0
  45. package/node_modules/cpu-features/deps/cpu_features/.github/workflows/aarch64_linux_cmake.yml +30 -0
  46. package/node_modules/cpu-features/deps/cpu_features/.github/workflows/amd64_freebsd_cmake.yml +22 -0
  47. package/node_modules/cpu-features/deps/cpu_features/.github/workflows/amd64_linux_bazel.yml +26 -0
  48. package/node_modules/cpu-features/deps/cpu_features/.github/workflows/amd64_linux_cmake.yml +31 -0
  49. package/node_modules/cpu-features/deps/cpu_features/.github/workflows/amd64_macos_cmake.yml +43 -0
  50. package/node_modules/cpu-features/deps/cpu_features/.github/workflows/amd64_windows_cmake.yml +25 -0
  51. package/node_modules/cpu-features/deps/cpu_features/.github/workflows/arm_linux_cmake.yml +31 -0
  52. package/node_modules/cpu-features/deps/cpu_features/.github/workflows/clang_format.yml +24 -0
  53. package/node_modules/cpu-features/deps/cpu_features/.github/workflows/mips_linux_cmake.yml +30 -0
  54. package/node_modules/cpu-features/deps/cpu_features/.github/workflows/power_linux_cmake.yml +29 -0
  55. package/node_modules/cpu-features/deps/cpu_features/.github/workflows/riscv_linux_cmake.yml +28 -0
  56. package/node_modules/cpu-features/deps/cpu_features/.github/workflows/s390x_linux_cmake.yml +27 -0
  57. package/node_modules/cpu-features/deps/cpu_features/.grenrc.yml +21 -0
  58. package/node_modules/cpu-features/deps/cpu_features/BUILD.bazel +329 -0
  59. package/node_modules/cpu-features/deps/cpu_features/CMakeLists.txt +261 -0
  60. package/node_modules/cpu-features/deps/cpu_features/CONTRIBUTING.md +23 -0
  61. package/node_modules/cpu-features/deps/cpu_features/LICENSE +230 -0
  62. package/node_modules/cpu-features/deps/cpu_features/README.md +272 -0
  63. package/node_modules/cpu-features/deps/cpu_features/WORKSPACE +19 -0
  64. package/node_modules/cpu-features/deps/cpu_features/bazel/ci/README.md +5 -0
  65. package/node_modules/cpu-features/deps/cpu_features/bazel/platforms.bzl +11 -0
  66. package/node_modules/cpu-features/deps/cpu_features/cmake/CpuFeaturesConfig.cmake.in +3 -0
  67. package/node_modules/cpu-features/deps/cpu_features/cmake/CpuFeaturesNdkCompatConfig.cmake.in +3 -0
  68. package/node_modules/cpu-features/deps/cpu_features/cmake/README.md +30 -0
  69. package/node_modules/cpu-features/deps/cpu_features/cmake/ci/Makefile +252 -0
  70. package/node_modules/cpu-features/deps/cpu_features/cmake/ci/README.md +40 -0
  71. package/node_modules/cpu-features/deps/cpu_features/cmake/ci/doc/docker.dot +64 -0
  72. package/node_modules/cpu-features/deps/cpu_features/cmake/ci/doc/docker.svg +312 -0
  73. package/node_modules/cpu-features/deps/cpu_features/cmake/ci/doc/generate_image.sh +7 -0
  74. package/node_modules/cpu-features/deps/cpu_features/cmake/ci/docker/amd64/Dockerfile +48 -0
  75. package/node_modules/cpu-features/deps/cpu_features/cmake/ci/docker/toolchain/Dockerfile +34 -0
  76. package/node_modules/cpu-features/deps/cpu_features/cmake/ci/sample/CMakeLists.txt +22 -0
  77. package/node_modules/cpu-features/deps/cpu_features/cmake/ci/sample/main.cpp +11 -0
  78. package/node_modules/cpu-features/deps/cpu_features/cmake/ci/vagrant/freebsd/Vagrantfile +107 -0
  79. package/node_modules/cpu-features/deps/cpu_features/cmake/googletest.CMakeLists.txt.in +15 -0
  80. package/node_modules/cpu-features/deps/cpu_features/cpu_features.gyp +104 -0
  81. package/node_modules/cpu-features/deps/cpu_features/include/cpu_features_cache_info.h +54 -0
  82. package/node_modules/cpu-features/deps/cpu_features/include/cpu_features_macros.h +384 -0
  83. package/node_modules/cpu-features/deps/cpu_features/include/cpuinfo_aarch64.h +259 -0
  84. package/node_modules/cpu-features/deps/cpu_features/include/cpuinfo_arm.h +121 -0
  85. package/node_modules/cpu-features/deps/cpu_features/include/cpuinfo_mips.h +74 -0
  86. package/node_modules/cpu-features/deps/cpu_features/include/cpuinfo_ppc.h +149 -0
  87. package/node_modules/cpu-features/deps/cpu_features/include/cpuinfo_riscv.h +72 -0
  88. package/node_modules/cpu-features/deps/cpu_features/include/cpuinfo_s390x.h +108 -0
  89. package/node_modules/cpu-features/deps/cpu_features/include/cpuinfo_x86.h +288 -0
  90. package/node_modules/cpu-features/deps/cpu_features/include/internal/bit_utils.h +40 -0
  91. package/node_modules/cpu-features/deps/cpu_features/include/internal/cpuid_x86.h +37 -0
  92. package/node_modules/cpu-features/deps/cpu_features/include/internal/filesystem.h +39 -0
  93. package/node_modules/cpu-features/deps/cpu_features/include/internal/hwcaps.h +240 -0
  94. package/node_modules/cpu-features/deps/cpu_features/include/internal/stack_line_reader.h +49 -0
  95. package/node_modules/cpu-features/deps/cpu_features/include/internal/string_view.h +110 -0
  96. package/node_modules/cpu-features/deps/cpu_features/include/internal/windows_utils.h +70 -0
  97. package/node_modules/cpu-features/deps/cpu_features/ndk_compat/CMakeLists.txt +60 -0
  98. package/node_modules/cpu-features/deps/cpu_features/ndk_compat/README.md +4 -0
  99. package/node_modules/cpu-features/deps/cpu_features/ndk_compat/cpu-features.c +205 -0
  100. package/node_modules/cpu-features/deps/cpu_features/ndk_compat/cpu-features.h +320 -0
  101. package/node_modules/cpu-features/deps/cpu_features/ndk_compat/ndk-compat-test.c +12 -0
  102. package/node_modules/cpu-features/deps/cpu_features/patches/0001-Add-Apple-Silicon-Support.patch +456 -0
  103. package/node_modules/cpu-features/deps/cpu_features/scripts/generate_badges.d +165 -0
  104. package/node_modules/cpu-features/deps/cpu_features/scripts/make_release.sh +75 -0
  105. package/node_modules/cpu-features/deps/cpu_features/scripts/run_integration.sh +490 -0
  106. package/node_modules/cpu-features/deps/cpu_features/scripts/test_integration.sh +79 -0
  107. package/node_modules/cpu-features/deps/cpu_features/src/copy.inl +19 -0
  108. package/node_modules/cpu-features/deps/cpu_features/src/define_introspection.inl +86 -0
  109. package/node_modules/cpu-features/deps/cpu_features/src/define_introspection_and_hwcaps.inl +26 -0
  110. package/node_modules/cpu-features/deps/cpu_features/src/equals.inl +22 -0
  111. package/node_modules/cpu-features/deps/cpu_features/src/filesystem.c +62 -0
  112. package/node_modules/cpu-features/deps/cpu_features/src/hwcaps.c +169 -0
  113. package/node_modules/cpu-features/deps/cpu_features/src/impl_aarch64__base_implementation.inl +88 -0
  114. package/node_modules/cpu-features/deps/cpu_features/src/impl_aarch64_linux_or_android.c +79 -0
  115. package/node_modules/cpu-features/deps/cpu_features/src/impl_aarch64_macos_or_iphone.c +82 -0
  116. package/node_modules/cpu-features/deps/cpu_features/src/impl_aarch64_windows.c +138 -0
  117. package/node_modules/cpu-features/deps/cpu_features/src/impl_arm_linux_or_android.c +212 -0
  118. package/node_modules/cpu-features/deps/cpu_features/src/impl_mips_linux_or_android.c +93 -0
  119. package/node_modules/cpu-features/deps/cpu_features/src/impl_ppc_linux.c +163 -0
  120. package/node_modules/cpu-features/deps/cpu_features/src/impl_riscv_linux.c +111 -0
  121. package/node_modules/cpu-features/deps/cpu_features/src/impl_s390x_linux.c +120 -0
  122. package/node_modules/cpu-features/deps/cpu_features/src/impl_x86__base_implementation.inl +2055 -0
  123. package/node_modules/cpu-features/deps/cpu_features/src/impl_x86_freebsd.c +68 -0
  124. package/node_modules/cpu-features/deps/cpu_features/src/impl_x86_linux_or_android.c +58 -0
  125. package/node_modules/cpu-features/deps/cpu_features/src/impl_x86_macos.c +57 -0
  126. package/node_modules/cpu-features/deps/cpu_features/src/impl_x86_windows.c +58 -0
  127. package/node_modules/cpu-features/deps/cpu_features/src/stack_line_reader.c +132 -0
  128. package/node_modules/cpu-features/deps/cpu_features/src/string_view.c +192 -0
  129. package/node_modules/cpu-features/deps/cpu_features/src/utils/list_cpu_features.c +461 -0
  130. package/node_modules/cpu-features/deps/cpu_features/test/CMakeLists.txt +114 -0
  131. package/node_modules/cpu-features/deps/cpu_features/test/bit_utils_test.cc +53 -0
  132. package/node_modules/cpu-features/deps/cpu_features/test/cpuinfo_aarch64_test.cc +396 -0
  133. package/node_modules/cpu-features/deps/cpu_features/test/cpuinfo_arm_test.cc +384 -0
  134. package/node_modules/cpu-features/deps/cpu_features/test/cpuinfo_mips_test.cc +176 -0
  135. package/node_modules/cpu-features/deps/cpu_features/test/cpuinfo_ppc_test.cc +131 -0
  136. package/node_modules/cpu-features/deps/cpu_features/test/cpuinfo_riscv_test.cc +180 -0
  137. package/node_modules/cpu-features/deps/cpu_features/test/cpuinfo_s390x_test.cc +82 -0
  138. package/node_modules/cpu-features/deps/cpu_features/test/cpuinfo_x86_test.cc +1729 -0
  139. package/node_modules/cpu-features/deps/cpu_features/test/filesystem_for_testing.cc +103 -0
  140. package/node_modules/cpu-features/deps/cpu_features/test/filesystem_for_testing.h +61 -0
  141. package/node_modules/cpu-features/deps/cpu_features/test/hwcaps_for_testing.cc +52 -0
  142. package/node_modules/cpu-features/deps/cpu_features/test/hwcaps_for_testing.h +31 -0
  143. package/node_modules/cpu-features/deps/cpu_features/test/stack_line_reader_test.cc +132 -0
  144. package/node_modules/cpu-features/deps/cpu_features/test/string_view_test.cc +202 -0
  145. package/node_modules/cpu-features/lib/index.js +5 -0
  146. package/node_modules/cpu-features/package.json +40 -0
  147. package/node_modules/cpu-features/src/binding.cc +151 -0
  148. package/node_modules/cpu-features/test/test.js +12 -0
  149. package/node_modules/{@zowe/imperative → cross-spawn}/node_modules/which/README.md +16 -13
  150. package/node_modules/{@zowe/imperative → cross-spawn/node_modules/which}/node_modules/isexe/LICENSE +1 -1
  151. package/node_modules/cross-spawn/node_modules/which/node_modules/isexe/README.md +51 -0
  152. package/node_modules/cross-spawn/node_modules/which/node_modules/isexe/package.json +31 -0
  153. package/node_modules/cross-spawn/node_modules/which/package.json +43 -0
  154. package/node_modules/isexe/LICENSE +1 -1
  155. package/node_modules/isexe/README.md +40 -17
  156. package/node_modules/isexe/package.json +79 -14
  157. package/node_modules/which/README.md +13 -16
  158. package/node_modules/which/package.json +34 -20
  159. package/package.json +13 -13
  160. package/node_modules/@zowe/imperative/node_modules/isexe/README.md +0 -74
  161. package/node_modules/@zowe/imperative/node_modules/isexe/package.json +0 -96
  162. package/node_modules/@zowe/imperative/node_modules/which/package.json +0 -57
  163. package/node_modules/@zowe/secrets-for-zowe-sdk/prebuilds/keyring.darwin-arm64.node +0 -0
  164. package/node_modules/@zowe/secrets-for-zowe-sdk/prebuilds/keyring.darwin-x64.node +0 -0
  165. package/node_modules/@zowe/secrets-for-zowe-sdk/prebuilds/keyring.linux-arm-gnueabihf.node +0 -0
  166. package/node_modules/@zowe/secrets-for-zowe-sdk/prebuilds/keyring.linux-arm64-gnu.node +0 -0
  167. package/node_modules/@zowe/secrets-for-zowe-sdk/prebuilds/keyring.linux-arm64-musl.node +0 -0
  168. package/node_modules/@zowe/secrets-for-zowe-sdk/prebuilds/keyring.linux-ia32-gnu.node +0 -0
  169. package/node_modules/@zowe/secrets-for-zowe-sdk/prebuilds/keyring.linux-x64-gnu.node +0 -0
  170. package/node_modules/@zowe/secrets-for-zowe-sdk/prebuilds/keyring.linux-x64-musl.node +0 -0
  171. package/node_modules/@zowe/secrets-for-zowe-sdk/prebuilds/keyring.win32-arm64-msvc.node +0 -0
  172. package/node_modules/@zowe/secrets-for-zowe-sdk/prebuilds/keyring.win32-ia32-msvc.node +0 -0
  173. package/node_modules/@zowe/secrets-for-zowe-sdk/prebuilds/keyring.win32-x64-msvc.node +0 -0
  174. package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/balanced-match/LICENSE.md +0 -23
  175. package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/balanced-match/README.md +0 -57
  176. package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/balanced-match/dist/commonjs/index.d.ts +0 -9
  177. package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/balanced-match/dist/commonjs/index.d.ts.map +0 -1
  178. package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/balanced-match/dist/commonjs/index.js +0 -59
  179. package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/balanced-match/dist/commonjs/index.js.map +0 -1
  180. package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/balanced-match/dist/esm/index.d.ts +0 -9
  181. package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/balanced-match/dist/esm/index.d.ts.map +0 -1
  182. package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/balanced-match/dist/esm/index.js +0 -54
  183. package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/balanced-match/dist/esm/index.js.map +0 -1
  184. package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/balanced-match/package.json +0 -68
  185. package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/brace-expansion/README.md +0 -105
  186. package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/brace-expansion/dist/commonjs/index.d.ts +0 -8
  187. package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/brace-expansion/dist/commonjs/index.d.ts.map +0 -1
  188. package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/brace-expansion/dist/commonjs/index.js +0 -289
  189. package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/brace-expansion/dist/commonjs/index.js.map +0 -1
  190. package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/brace-expansion/dist/commonjs/package.json +0 -3
  191. package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/brace-expansion/dist/esm/index.d.ts +0 -8
  192. package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/brace-expansion/dist/esm/index.d.ts.map +0 -1
  193. package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/brace-expansion/dist/esm/index.js +0 -285
  194. package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/brace-expansion/dist/esm/index.js.map +0 -1
  195. package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/brace-expansion/dist/esm/package.json +0 -3
  196. package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/brace-expansion/package.json +0 -64
  197. package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/LICENSE.md +0 -55
  198. package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/README.md +0 -528
  199. package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/commonjs/assert-valid-pattern.d.ts +0 -2
  200. package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/commonjs/assert-valid-pattern.d.ts.map +0 -1
  201. package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/commonjs/assert-valid-pattern.js +0 -14
  202. package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/commonjs/assert-valid-pattern.js.map +0 -1
  203. package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/commonjs/ast.d.ts +0 -22
  204. package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/commonjs/ast.d.ts.map +0 -1
  205. package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/commonjs/ast.js +0 -846
  206. package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/commonjs/ast.js.map +0 -1
  207. package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/commonjs/brace-expressions.d.ts +0 -8
  208. package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/commonjs/brace-expressions.d.ts.map +0 -1
  209. package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/commonjs/brace-expressions.js +0 -150
  210. package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/commonjs/brace-expressions.js.map +0 -1
  211. package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/commonjs/escape.d.ts +0 -15
  212. package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/commonjs/escape.d.ts.map +0 -1
  213. package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/commonjs/escape.js +0 -30
  214. package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/commonjs/escape.js.map +0 -1
  215. package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/commonjs/index.d.ts +0 -174
  216. package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/commonjs/index.d.ts.map +0 -1
  217. package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/commonjs/index.js +0 -1121
  218. package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/commonjs/index.js.map +0 -1
  219. package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/commonjs/package.json +0 -3
  220. package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/commonjs/unescape.d.ts +0 -22
  221. package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/commonjs/unescape.d.ts.map +0 -1
  222. package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/commonjs/unescape.js +0 -38
  223. package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/commonjs/unescape.js.map +0 -1
  224. package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/esm/assert-valid-pattern.d.ts +0 -2
  225. package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/esm/assert-valid-pattern.d.ts.map +0 -1
  226. package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/esm/assert-valid-pattern.js +0 -10
  227. package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/esm/assert-valid-pattern.js.map +0 -1
  228. package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/esm/ast.d.ts +0 -22
  229. package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/esm/ast.d.ts.map +0 -1
  230. package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/esm/ast.js +0 -842
  231. package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/esm/ast.js.map +0 -1
  232. package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/esm/brace-expressions.d.ts +0 -8
  233. package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/esm/brace-expressions.d.ts.map +0 -1
  234. package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/esm/brace-expressions.js +0 -146
  235. package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/esm/brace-expressions.js.map +0 -1
  236. package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/esm/escape.d.ts +0 -15
  237. package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/esm/escape.d.ts.map +0 -1
  238. package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/esm/escape.js +0 -26
  239. package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/esm/escape.js.map +0 -1
  240. package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/esm/index.d.ts +0 -174
  241. package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/esm/index.d.ts.map +0 -1
  242. package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/esm/index.js +0 -1108
  243. package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/esm/index.js.map +0 -1
  244. package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/esm/package.json +0 -3
  245. package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/esm/unescape.d.ts +0 -22
  246. package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/esm/unescape.d.ts.map +0 -1
  247. package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/esm/unescape.js +0 -34
  248. package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/dist/esm/unescape.js.map +0 -1
  249. package/node_modules/@zowe/zos-files-for-zowe-sdk/node_modules/minimatch/package.json +0 -67
  250. package/node_modules/tar/node_modules/yallist/dist/commonjs/package.json +0 -3
  251. package/node_modules/tar/node_modules/yallist/dist/esm/package.json +0 -3
  252. /package/node_modules/{strip-ansi/node_modules/ansi-regex → ansi-regex}/index.d.ts +0 -0
  253. /package/node_modules/{strip-ansi/node_modules/ansi-regex → ansi-regex}/index.js +0 -0
  254. /package/node_modules/{shebang-command/node_modules/shebang-regex → ansi-regex}/license +0 -0
  255. /package/node_modules/{strip-ansi/node_modules/ansi-regex → ansi-regex}/package.json +0 -0
  256. /package/node_modules/{strip-ansi/node_modules/ansi-regex → ansi-regex}/readme.md +0 -0
  257. /package/node_modules/{winston/node_modules/async → async}/CHANGELOG.md +0 -0
  258. /package/node_modules/{winston/node_modules/async → async}/LICENSE +0 -0
  259. /package/node_modules/{winston/node_modules/async → async}/README.md +0 -0
  260. /package/node_modules/{winston/node_modules/async → async}/all.js +0 -0
  261. /package/node_modules/{winston/node_modules/async → async}/allLimit.js +0 -0
  262. /package/node_modules/{winston/node_modules/async → async}/allSeries.js +0 -0
  263. /package/node_modules/{winston/node_modules/async → async}/any.js +0 -0
  264. /package/node_modules/{winston/node_modules/async → async}/anyLimit.js +0 -0
  265. /package/node_modules/{winston/node_modules/async → async}/anySeries.js +0 -0
  266. /package/node_modules/{winston/node_modules/async → async}/apply.js +0 -0
  267. /package/node_modules/{winston/node_modules/async → async}/applyEach.js +0 -0
  268. /package/node_modules/{winston/node_modules/async → async}/applyEachSeries.js +0 -0
  269. /package/node_modules/{winston/node_modules/async → async}/asyncify.js +0 -0
  270. /package/node_modules/{winston/node_modules/async → async}/auto.js +0 -0
  271. /package/node_modules/{winston/node_modules/async → async}/autoInject.js +0 -0
  272. /package/node_modules/{winston/node_modules/async → async}/bower.json +0 -0
  273. /package/node_modules/{winston/node_modules/async → async}/cargo.js +0 -0
  274. /package/node_modules/{winston/node_modules/async → async}/cargoQueue.js +0 -0
  275. /package/node_modules/{winston/node_modules/async → async}/compose.js +0 -0
  276. /package/node_modules/{winston/node_modules/async → async}/concat.js +0 -0
  277. /package/node_modules/{winston/node_modules/async → async}/concatLimit.js +0 -0
  278. /package/node_modules/{winston/node_modules/async → async}/concatSeries.js +0 -0
  279. /package/node_modules/{winston/node_modules/async → async}/constant.js +0 -0
  280. /package/node_modules/{winston/node_modules/async → async}/detect.js +0 -0
  281. /package/node_modules/{winston/node_modules/async → async}/detectLimit.js +0 -0
  282. /package/node_modules/{winston/node_modules/async → async}/detectSeries.js +0 -0
  283. /package/node_modules/{winston/node_modules/async → async}/dir.js +0 -0
  284. /package/node_modules/{winston/node_modules/async → async}/dist/async.js +0 -0
  285. /package/node_modules/{winston/node_modules/async → async}/dist/async.min.js +0 -0
  286. /package/node_modules/{winston/node_modules/async → async}/dist/async.mjs +0 -0
  287. /package/node_modules/{winston/node_modules/async → async}/doDuring.js +0 -0
  288. /package/node_modules/{winston/node_modules/async → async}/doUntil.js +0 -0
  289. /package/node_modules/{winston/node_modules/async → async}/doWhilst.js +0 -0
  290. /package/node_modules/{winston/node_modules/async → async}/during.js +0 -0
  291. /package/node_modules/{winston/node_modules/async → async}/each.js +0 -0
  292. /package/node_modules/{winston/node_modules/async → async}/eachLimit.js +0 -0
  293. /package/node_modules/{winston/node_modules/async → async}/eachOf.js +0 -0
  294. /package/node_modules/{winston/node_modules/async → async}/eachOfLimit.js +0 -0
  295. /package/node_modules/{winston/node_modules/async → async}/eachOfSeries.js +0 -0
  296. /package/node_modules/{winston/node_modules/async → async}/eachSeries.js +0 -0
  297. /package/node_modules/{winston/node_modules/async → async}/ensureAsync.js +0 -0
  298. /package/node_modules/{winston/node_modules/async → async}/every.js +0 -0
  299. /package/node_modules/{winston/node_modules/async → async}/everyLimit.js +0 -0
  300. /package/node_modules/{winston/node_modules/async → async}/everySeries.js +0 -0
  301. /package/node_modules/{winston/node_modules/async → async}/filter.js +0 -0
  302. /package/node_modules/{winston/node_modules/async → async}/filterLimit.js +0 -0
  303. /package/node_modules/{winston/node_modules/async → async}/filterSeries.js +0 -0
  304. /package/node_modules/{winston/node_modules/async → async}/find.js +0 -0
  305. /package/node_modules/{winston/node_modules/async → async}/findLimit.js +0 -0
  306. /package/node_modules/{winston/node_modules/async → async}/findSeries.js +0 -0
  307. /package/node_modules/{winston/node_modules/async → async}/flatMap.js +0 -0
  308. /package/node_modules/{winston/node_modules/async → async}/flatMapLimit.js +0 -0
  309. /package/node_modules/{winston/node_modules/async → async}/flatMapSeries.js +0 -0
  310. /package/node_modules/{winston/node_modules/async → async}/foldl.js +0 -0
  311. /package/node_modules/{winston/node_modules/async → async}/foldr.js +0 -0
  312. /package/node_modules/{winston/node_modules/async → async}/forEach.js +0 -0
  313. /package/node_modules/{winston/node_modules/async → async}/forEachLimit.js +0 -0
  314. /package/node_modules/{winston/node_modules/async → async}/forEachOf.js +0 -0
  315. /package/node_modules/{winston/node_modules/async → async}/forEachOfLimit.js +0 -0
  316. /package/node_modules/{winston/node_modules/async → async}/forEachOfSeries.js +0 -0
  317. /package/node_modules/{winston/node_modules/async → async}/forEachSeries.js +0 -0
  318. /package/node_modules/{winston/node_modules/async → async}/forever.js +0 -0
  319. /package/node_modules/{winston/node_modules/async → async}/groupBy.js +0 -0
  320. /package/node_modules/{winston/node_modules/async → async}/groupByLimit.js +0 -0
  321. /package/node_modules/{winston/node_modules/async → async}/groupBySeries.js +0 -0
  322. /package/node_modules/{winston/node_modules/async → async}/index.js +0 -0
  323. /package/node_modules/{winston/node_modules/async → async}/inject.js +0 -0
  324. /package/node_modules/{winston/node_modules/async → async}/internal/DoublyLinkedList.js +0 -0
  325. /package/node_modules/{winston/node_modules/async → async}/internal/Heap.js +0 -0
  326. /package/node_modules/{winston/node_modules/async → async}/internal/applyEach.js +0 -0
  327. /package/node_modules/{winston/node_modules/async → async}/internal/asyncEachOfLimit.js +0 -0
  328. /package/node_modules/{winston/node_modules/async → async}/internal/awaitify.js +0 -0
  329. /package/node_modules/{winston/node_modules/async → async}/internal/breakLoop.js +0 -0
  330. /package/node_modules/{winston/node_modules/async → async}/internal/consoleFunc.js +0 -0
  331. /package/node_modules/{winston/node_modules/async → async}/internal/createTester.js +0 -0
  332. /package/node_modules/{winston/node_modules/async → async}/internal/eachOfLimit.js +0 -0
  333. /package/node_modules/{winston/node_modules/async → async}/internal/filter.js +0 -0
  334. /package/node_modules/{winston/node_modules/async → async}/internal/getIterator.js +0 -0
  335. /package/node_modules/{winston/node_modules/async → async}/internal/initialParams.js +0 -0
  336. /package/node_modules/{winston/node_modules/async → async}/internal/isArrayLike.js +0 -0
  337. /package/node_modules/{winston/node_modules/async → async}/internal/iterator.js +0 -0
  338. /package/node_modules/{winston/node_modules/async → async}/internal/map.js +0 -0
  339. /package/node_modules/{winston/node_modules/async → async}/internal/once.js +0 -0
  340. /package/node_modules/{winston/node_modules/async → async}/internal/onlyOnce.js +0 -0
  341. /package/node_modules/{winston/node_modules/async → async}/internal/parallel.js +0 -0
  342. /package/node_modules/{winston/node_modules/async → async}/internal/promiseCallback.js +0 -0
  343. /package/node_modules/{winston/node_modules/async → async}/internal/queue.js +0 -0
  344. /package/node_modules/{winston/node_modules/async → async}/internal/range.js +0 -0
  345. /package/node_modules/{winston/node_modules/async → async}/internal/reject.js +0 -0
  346. /package/node_modules/{winston/node_modules/async → async}/internal/setImmediate.js +0 -0
  347. /package/node_modules/{winston/node_modules/async → async}/internal/withoutIndex.js +0 -0
  348. /package/node_modules/{winston/node_modules/async → async}/internal/wrapAsync.js +0 -0
  349. /package/node_modules/{winston/node_modules/async → async}/log.js +0 -0
  350. /package/node_modules/{winston/node_modules/async → async}/map.js +0 -0
  351. /package/node_modules/{winston/node_modules/async → async}/mapLimit.js +0 -0
  352. /package/node_modules/{winston/node_modules/async → async}/mapSeries.js +0 -0
  353. /package/node_modules/{winston/node_modules/async → async}/mapValues.js +0 -0
  354. /package/node_modules/{winston/node_modules/async → async}/mapValuesLimit.js +0 -0
  355. /package/node_modules/{winston/node_modules/async → async}/mapValuesSeries.js +0 -0
  356. /package/node_modules/{winston/node_modules/async → async}/memoize.js +0 -0
  357. /package/node_modules/{winston/node_modules/async → async}/nextTick.js +0 -0
  358. /package/node_modules/{winston/node_modules/async → async}/package.json +0 -0
  359. /package/node_modules/{winston/node_modules/async → async}/parallel.js +0 -0
  360. /package/node_modules/{winston/node_modules/async → async}/parallelLimit.js +0 -0
  361. /package/node_modules/{winston/node_modules/async → async}/priorityQueue.js +0 -0
  362. /package/node_modules/{winston/node_modules/async → async}/queue.js +0 -0
  363. /package/node_modules/{winston/node_modules/async → async}/race.js +0 -0
  364. /package/node_modules/{winston/node_modules/async → async}/reduce.js +0 -0
  365. /package/node_modules/{winston/node_modules/async → async}/reduceRight.js +0 -0
  366. /package/node_modules/{winston/node_modules/async → async}/reflect.js +0 -0
  367. /package/node_modules/{winston/node_modules/async → async}/reflectAll.js +0 -0
  368. /package/node_modules/{winston/node_modules/async → async}/reject.js +0 -0
  369. /package/node_modules/{winston/node_modules/async → async}/rejectLimit.js +0 -0
  370. /package/node_modules/{winston/node_modules/async → async}/rejectSeries.js +0 -0
  371. /package/node_modules/{winston/node_modules/async → async}/retry.js +0 -0
  372. /package/node_modules/{winston/node_modules/async → async}/retryable.js +0 -0
  373. /package/node_modules/{winston/node_modules/async → async}/select.js +0 -0
  374. /package/node_modules/{winston/node_modules/async → async}/selectLimit.js +0 -0
  375. /package/node_modules/{winston/node_modules/async → async}/selectSeries.js +0 -0
  376. /package/node_modules/{winston/node_modules/async → async}/seq.js +0 -0
  377. /package/node_modules/{winston/node_modules/async → async}/series.js +0 -0
  378. /package/node_modules/{winston/node_modules/async → async}/setImmediate.js +0 -0
  379. /package/node_modules/{winston/node_modules/async → async}/some.js +0 -0
  380. /package/node_modules/{winston/node_modules/async → async}/someLimit.js +0 -0
  381. /package/node_modules/{winston/node_modules/async → async}/someSeries.js +0 -0
  382. /package/node_modules/{winston/node_modules/async → async}/sortBy.js +0 -0
  383. /package/node_modules/{winston/node_modules/async → async}/timeout.js +0 -0
  384. /package/node_modules/{winston/node_modules/async → async}/times.js +0 -0
  385. /package/node_modules/{winston/node_modules/async → async}/timesLimit.js +0 -0
  386. /package/node_modules/{winston/node_modules/async → async}/timesSeries.js +0 -0
  387. /package/node_modules/{winston/node_modules/async → async}/transform.js +0 -0
  388. /package/node_modules/{winston/node_modules/async → async}/tryEach.js +0 -0
  389. /package/node_modules/{winston/node_modules/async → async}/unmemoize.js +0 -0
  390. /package/node_modules/{winston/node_modules/async → async}/until.js +0 -0
  391. /package/node_modules/{winston/node_modules/async → async}/waterfall.js +0 -0
  392. /package/node_modules/{winston/node_modules/async → async}/whilst.js +0 -0
  393. /package/node_modules/{winston/node_modules/async → async}/wrapSync.js +0 -0
  394. /package/node_modules/{yargs/node_modules/cliui → cliui}/LICENSE.txt +0 -0
  395. /package/node_modules/{yargs/node_modules/cliui → cliui}/README.md +0 -0
  396. /package/node_modules/{yargs/node_modules/cliui → cliui}/build/index.cjs +0 -0
  397. /package/node_modules/{yargs/node_modules/cliui → cliui}/build/index.d.cts +0 -0
  398. /package/node_modules/{yargs/node_modules/cliui → cliui}/build/lib/index.js +0 -0
  399. /package/node_modules/{yargs/node_modules/cliui → cliui}/build/lib/string-utils.js +0 -0
  400. /package/node_modules/{yargs/node_modules/cliui → cliui}/index.mjs +0 -0
  401. /package/node_modules/{yargs/node_modules/cliui → cliui}/package.json +0 -0
  402. /package/node_modules/color/node_modules/{color-name → color-convert/node_modules/color-name}/.eslintrc.json +0 -0
  403. /package/node_modules/color/node_modules/{color-name → color-convert/node_modules/color-name}/.npmignore +0 -0
  404. /package/node_modules/color/node_modules/{color-name → color-convert/node_modules/color-name}/LICENSE +0 -0
  405. /package/node_modules/color/node_modules/{color-name → color-convert/node_modules/color-name}/README.md +0 -0
  406. /package/node_modules/color/node_modules/{color-name → color-convert/node_modules/color-name}/index.js +0 -0
  407. /package/node_modules/color/node_modules/{color-name → color-convert/node_modules/color-name}/package.json +0 -0
  408. /package/node_modules/color/node_modules/{color-name → color-convert/node_modules/color-name}/test.js +0 -0
  409. /package/node_modules/{@zowe/imperative → cross-spawn}/node_modules/which/LICENSE +0 -0
  410. /package/node_modules/{which → cross-spawn/node_modules/which}/bin/node-which +0 -0
  411. /package/node_modules/{isexe → cross-spawn/node_modules/which/node_modules/isexe}/.npmignore +0 -0
  412. /package/node_modules/{isexe → cross-spawn/node_modules/which/node_modules/isexe}/index.js +0 -0
  413. /package/node_modules/{isexe → cross-spawn/node_modules/which/node_modules/isexe}/mode.js +0 -0
  414. /package/node_modules/{isexe → cross-spawn/node_modules/which/node_modules/isexe}/test/basic.js +0 -0
  415. /package/node_modules/{isexe → cross-spawn/node_modules/which/node_modules/isexe}/windows.js +0 -0
  416. /package/node_modules/{which → cross-spawn/node_modules/which}/which.js +0 -0
  417. /package/node_modules/{sanitize-html/node_modules/dom-serializer → dom-serializer}/LICENSE +0 -0
  418. /package/node_modules/{sanitize-html/node_modules/dom-serializer → dom-serializer}/README.md +0 -0
  419. /package/node_modules/{sanitize-html/node_modules/dom-serializer → dom-serializer}/dist/foreign-names.d.ts +0 -0
  420. /package/node_modules/{sanitize-html/node_modules/dom-serializer → dom-serializer}/dist/foreign-names.d.ts.map +0 -0
  421. /package/node_modules/{sanitize-html/node_modules/dom-serializer → dom-serializer}/dist/foreign-names.js +0 -0
  422. /package/node_modules/{sanitize-html/node_modules/dom-serializer → dom-serializer}/dist/foreign-names.js.map +0 -0
  423. /package/node_modules/{sanitize-html/node_modules/dom-serializer → dom-serializer}/dist/index.d.ts +0 -0
  424. /package/node_modules/{sanitize-html/node_modules/dom-serializer → dom-serializer}/dist/index.d.ts.map +0 -0
  425. /package/node_modules/{sanitize-html/node_modules/dom-serializer → dom-serializer}/dist/index.js +0 -0
  426. /package/node_modules/{sanitize-html/node_modules/dom-serializer → dom-serializer}/dist/index.js.map +0 -0
  427. /package/node_modules/{sanitize-html/node_modules/dom-serializer → dom-serializer}/package.json +0 -0
  428. /package/node_modules/{sanitize-html/node_modules/dom-serializer → dom-serializer}/src/foreign-names.ts +0 -0
  429. /package/node_modules/{sanitize-html/node_modules/dom-serializer → dom-serializer}/src/index.ts +0 -0
  430. /package/node_modules/{sanitize-html/node_modules/domelementtype → domelementtype}/LICENSE +0 -0
  431. /package/node_modules/{sanitize-html/node_modules/domelementtype → domelementtype}/dist/index.d.ts +0 -0
  432. /package/node_modules/{sanitize-html/node_modules/domelementtype → domelementtype}/dist/index.d.ts.map +0 -0
  433. /package/node_modules/{sanitize-html/node_modules/domelementtype → domelementtype}/dist/index.js +0 -0
  434. /package/node_modules/{sanitize-html/node_modules/domelementtype → domelementtype}/package.json +0 -0
  435. /package/node_modules/{sanitize-html/node_modules/domelementtype → domelementtype}/readme.md +0 -0
  436. /package/node_modules/{sanitize-html/node_modules/domhandler → domhandler}/LICENSE +0 -0
  437. /package/node_modules/{sanitize-html/node_modules/domhandler → domhandler}/dist/index.d.ts +0 -0
  438. /package/node_modules/{sanitize-html/node_modules/domhandler → domhandler}/dist/index.d.ts.map +0 -0
  439. /package/node_modules/{sanitize-html/node_modules/domhandler → domhandler}/dist/index.js +0 -0
  440. /package/node_modules/{sanitize-html/node_modules/domhandler → domhandler}/dist/node.d.ts +0 -0
  441. /package/node_modules/{sanitize-html/node_modules/domhandler → domhandler}/dist/node.d.ts.map +0 -0
  442. /package/node_modules/{sanitize-html/node_modules/domhandler → domhandler}/dist/node.js +0 -0
  443. /package/node_modules/{sanitize-html/node_modules/domhandler → domhandler}/package.json +0 -0
  444. /package/node_modules/{sanitize-html/node_modules/domhandler → domhandler}/readme.md +0 -0
  445. /package/node_modules/{sanitize-html/node_modules/domutils → domutils}/LICENSE +0 -0
  446. /package/node_modules/{sanitize-html/node_modules/domutils → domutils}/dist/feeds.d.ts +0 -0
  447. /package/node_modules/{sanitize-html/node_modules/domutils → domutils}/dist/feeds.d.ts.map +0 -0
  448. /package/node_modules/{sanitize-html/node_modules/domutils → domutils}/dist/feeds.js +0 -0
  449. /package/node_modules/{sanitize-html/node_modules/domutils → domutils}/dist/feeds.js.map +0 -0
  450. /package/node_modules/{sanitize-html/node_modules/domutils → domutils}/dist/helpers.d.ts +0 -0
  451. /package/node_modules/{sanitize-html/node_modules/domutils → domutils}/dist/helpers.d.ts.map +0 -0
  452. /package/node_modules/{sanitize-html/node_modules/domutils → domutils}/dist/helpers.js +0 -0
  453. /package/node_modules/{sanitize-html/node_modules/domutils → domutils}/dist/helpers.js.map +0 -0
  454. /package/node_modules/{sanitize-html/node_modules/domutils → domutils}/dist/index.d.ts +0 -0
  455. /package/node_modules/{sanitize-html/node_modules/domutils → domutils}/dist/index.d.ts.map +0 -0
  456. /package/node_modules/{sanitize-html/node_modules/domutils → domutils}/dist/index.js +0 -0
  457. /package/node_modules/{sanitize-html/node_modules/domutils → domutils}/dist/index.js.map +0 -0
  458. /package/node_modules/{sanitize-html/node_modules/domutils → domutils}/dist/legacy.d.ts +0 -0
  459. /package/node_modules/{sanitize-html/node_modules/domutils → domutils}/dist/legacy.d.ts.map +0 -0
  460. /package/node_modules/{sanitize-html/node_modules/domutils → domutils}/dist/legacy.js +0 -0
  461. /package/node_modules/{sanitize-html/node_modules/domutils → domutils}/dist/legacy.js.map +0 -0
  462. /package/node_modules/{sanitize-html/node_modules/domutils → domutils}/dist/manipulation.d.ts +0 -0
  463. /package/node_modules/{sanitize-html/node_modules/domutils → domutils}/dist/manipulation.d.ts.map +0 -0
  464. /package/node_modules/{sanitize-html/node_modules/domutils → domutils}/dist/manipulation.js +0 -0
  465. /package/node_modules/{sanitize-html/node_modules/domutils → domutils}/dist/manipulation.js.map +0 -0
  466. /package/node_modules/{sanitize-html/node_modules/domutils → domutils}/dist/querying.d.ts +0 -0
  467. /package/node_modules/{sanitize-html/node_modules/domutils → domutils}/dist/querying.d.ts.map +0 -0
  468. /package/node_modules/{sanitize-html/node_modules/domutils → domutils}/dist/querying.js +0 -0
  469. /package/node_modules/{sanitize-html/node_modules/domutils → domutils}/dist/querying.js.map +0 -0
  470. /package/node_modules/{sanitize-html/node_modules/domutils → domutils}/dist/stringify.d.ts +0 -0
  471. /package/node_modules/{sanitize-html/node_modules/domutils → domutils}/dist/stringify.d.ts.map +0 -0
  472. /package/node_modules/{sanitize-html/node_modules/domutils → domutils}/dist/stringify.js +0 -0
  473. /package/node_modules/{sanitize-html/node_modules/domutils → domutils}/dist/stringify.js.map +0 -0
  474. /package/node_modules/{sanitize-html/node_modules/domutils → domutils}/dist/traversal.d.ts +0 -0
  475. /package/node_modules/{sanitize-html/node_modules/domutils → domutils}/dist/traversal.d.ts.map +0 -0
  476. /package/node_modules/{sanitize-html/node_modules/domutils → domutils}/dist/traversal.js +0 -0
  477. /package/node_modules/{sanitize-html/node_modules/domutils → domutils}/dist/traversal.js.map +0 -0
  478. /package/node_modules/{sanitize-html/node_modules/domutils → domutils}/package.json +0 -0
  479. /package/node_modules/{sanitize-html/node_modules/domutils → domutils}/readme.md +0 -0
  480. /package/node_modules/{sanitize-html/node_modules/domutils → domutils}/src/__snapshots__/feeds.spec.ts.snap +0 -0
  481. /package/node_modules/{sanitize-html/node_modules/domutils → domutils}/src/feeds.ts +0 -0
  482. /package/node_modules/{sanitize-html/node_modules/domutils → domutils}/src/helpers.ts +0 -0
  483. /package/node_modules/{sanitize-html/node_modules/domutils → domutils}/src/index.ts +0 -0
  484. /package/node_modules/{sanitize-html/node_modules/domutils → domutils}/src/legacy.ts +0 -0
  485. /package/node_modules/{sanitize-html/node_modules/domutils → domutils}/src/manipulation.ts +0 -0
  486. /package/node_modules/{sanitize-html/node_modules/domutils → domutils}/src/querying.ts +0 -0
  487. /package/node_modules/{sanitize-html/node_modules/domutils → domutils}/src/stringify.ts +0 -0
  488. /package/node_modules/{sanitize-html/node_modules/domutils → domutils}/src/traversal.ts +0 -0
  489. /package/node_modules/{sanitize-html/node_modules/htmlparser2 → htmlparser2}/LICENSE +0 -0
  490. /package/node_modules/{sanitize-html/node_modules/htmlparser2 → htmlparser2}/README.md +0 -0
  491. /package/node_modules/{sanitize-html/node_modules/htmlparser2 → htmlparser2}/dist/Parser.d.ts +0 -0
  492. /package/node_modules/{sanitize-html/node_modules/htmlparser2 → htmlparser2}/dist/Parser.d.ts.map +0 -0
  493. /package/node_modules/{sanitize-html/node_modules/htmlparser2 → htmlparser2}/dist/Parser.js +0 -0
  494. /package/node_modules/{sanitize-html/node_modules/htmlparser2 → htmlparser2}/dist/Parser.js.map +0 -0
  495. /package/node_modules/{sanitize-html/node_modules/htmlparser2 → htmlparser2}/dist/Tokenizer.d.ts +0 -0
  496. /package/node_modules/{sanitize-html/node_modules/htmlparser2 → htmlparser2}/dist/Tokenizer.d.ts.map +0 -0
  497. /package/node_modules/{sanitize-html/node_modules/htmlparser2 → htmlparser2}/dist/Tokenizer.js +0 -0
  498. /package/node_modules/{sanitize-html/node_modules/htmlparser2 → htmlparser2}/dist/Tokenizer.js.map +0 -0
  499. /package/node_modules/{sanitize-html/node_modules/htmlparser2 → htmlparser2}/dist/WebWritableStream.d.ts +0 -0
  500. /package/node_modules/{sanitize-html/node_modules/htmlparser2 → htmlparser2}/dist/WebWritableStream.d.ts.map +0 -0
  501. /package/node_modules/{sanitize-html/node_modules/htmlparser2 → htmlparser2}/dist/WebWritableStream.js +0 -0
  502. /package/node_modules/{sanitize-html/node_modules/htmlparser2 → htmlparser2}/dist/WebWritableStream.js.map +0 -0
  503. /package/node_modules/{sanitize-html/node_modules/htmlparser2 → htmlparser2}/dist/WritableStream.d.ts +0 -0
  504. /package/node_modules/{sanitize-html/node_modules/htmlparser2 → htmlparser2}/dist/WritableStream.d.ts.map +0 -0
  505. /package/node_modules/{sanitize-html/node_modules/htmlparser2 → htmlparser2}/dist/WritableStream.js +0 -0
  506. /package/node_modules/{sanitize-html/node_modules/htmlparser2 → htmlparser2}/dist/WritableStream.js.map +0 -0
  507. /package/node_modules/{sanitize-html/node_modules/htmlparser2 → htmlparser2}/dist/index.d.ts +0 -0
  508. /package/node_modules/{sanitize-html/node_modules/htmlparser2 → htmlparser2}/dist/index.d.ts.map +0 -0
  509. /package/node_modules/{sanitize-html/node_modules/htmlparser2 → htmlparser2}/dist/index.js +0 -0
  510. /package/node_modules/{sanitize-html/node_modules/htmlparser2 → htmlparser2}/dist/index.js.map +0 -0
  511. /package/node_modules/{sanitize-html → htmlparser2}/node_modules/entities/LICENSE +0 -0
  512. /package/node_modules/{sanitize-html → htmlparser2}/node_modules/entities/dist/decode-codepoint.d.ts +0 -0
  513. /package/node_modules/{sanitize-html → htmlparser2}/node_modules/entities/dist/decode-codepoint.d.ts.map +0 -0
  514. /package/node_modules/{sanitize-html → htmlparser2}/node_modules/entities/dist/decode-codepoint.js +0 -0
  515. /package/node_modules/{sanitize-html → htmlparser2}/node_modules/entities/dist/decode-codepoint.js.map +0 -0
  516. /package/node_modules/{sanitize-html → htmlparser2}/node_modules/entities/dist/decode.d.ts +0 -0
  517. /package/node_modules/{sanitize-html → htmlparser2}/node_modules/entities/dist/decode.d.ts.map +0 -0
  518. /package/node_modules/{sanitize-html → htmlparser2}/node_modules/entities/dist/decode.js +0 -0
  519. /package/node_modules/{sanitize-html → htmlparser2}/node_modules/entities/dist/decode.js.map +0 -0
  520. /package/node_modules/{sanitize-html → htmlparser2}/node_modules/entities/dist/encode.d.ts +0 -0
  521. /package/node_modules/{sanitize-html → htmlparser2}/node_modules/entities/dist/encode.d.ts.map +0 -0
  522. /package/node_modules/{sanitize-html → htmlparser2}/node_modules/entities/dist/encode.js +0 -0
  523. /package/node_modules/{sanitize-html → htmlparser2}/node_modules/entities/dist/encode.js.map +0 -0
  524. /package/node_modules/{sanitize-html → htmlparser2}/node_modules/entities/dist/escape.d.ts +0 -0
  525. /package/node_modules/{sanitize-html → htmlparser2}/node_modules/entities/dist/escape.d.ts.map +0 -0
  526. /package/node_modules/{sanitize-html → htmlparser2}/node_modules/entities/dist/escape.js +0 -0
  527. /package/node_modules/{sanitize-html → htmlparser2}/node_modules/entities/dist/escape.js.map +0 -0
  528. /package/node_modules/{sanitize-html → htmlparser2}/node_modules/entities/dist/generated/decode-data-html.d.ts +0 -0
  529. /package/node_modules/{sanitize-html → htmlparser2}/node_modules/entities/dist/generated/decode-data-html.d.ts.map +0 -0
  530. /package/node_modules/{sanitize-html → htmlparser2}/node_modules/entities/dist/generated/decode-data-html.js +0 -0
  531. /package/node_modules/{sanitize-html → htmlparser2}/node_modules/entities/dist/generated/decode-data-html.js.map +0 -0
  532. /package/node_modules/{sanitize-html → htmlparser2}/node_modules/entities/dist/generated/decode-data-xml.d.ts +0 -0
  533. /package/node_modules/{sanitize-html → htmlparser2}/node_modules/entities/dist/generated/decode-data-xml.d.ts.map +0 -0
  534. /package/node_modules/{sanitize-html → htmlparser2}/node_modules/entities/dist/generated/decode-data-xml.js +0 -0
  535. /package/node_modules/{sanitize-html → htmlparser2}/node_modules/entities/dist/generated/decode-data-xml.js.map +0 -0
  536. /package/node_modules/{sanitize-html → htmlparser2}/node_modules/entities/dist/generated/encode-html.d.ts +0 -0
  537. /package/node_modules/{sanitize-html → htmlparser2}/node_modules/entities/dist/generated/encode-html.d.ts.map +0 -0
  538. /package/node_modules/{sanitize-html → htmlparser2}/node_modules/entities/dist/generated/encode-html.js +0 -0
  539. /package/node_modules/{sanitize-html → htmlparser2}/node_modules/entities/dist/generated/encode-html.js.map +0 -0
  540. /package/node_modules/{sanitize-html → htmlparser2}/node_modules/entities/dist/index.d.ts +0 -0
  541. /package/node_modules/{sanitize-html → htmlparser2}/node_modules/entities/dist/index.d.ts.map +0 -0
  542. /package/node_modules/{sanitize-html → htmlparser2}/node_modules/entities/dist/index.js +0 -0
  543. /package/node_modules/{sanitize-html → htmlparser2}/node_modules/entities/dist/index.js.map +0 -0
  544. /package/node_modules/{sanitize-html → htmlparser2}/node_modules/entities/dist/internal/bin-trie-flags.d.ts +0 -0
  545. /package/node_modules/{sanitize-html → htmlparser2}/node_modules/entities/dist/internal/bin-trie-flags.d.ts.map +0 -0
  546. /package/node_modules/{sanitize-html → htmlparser2}/node_modules/entities/dist/internal/bin-trie-flags.js +0 -0
  547. /package/node_modules/{sanitize-html → htmlparser2}/node_modules/entities/dist/internal/bin-trie-flags.js.map +0 -0
  548. /package/node_modules/{sanitize-html → htmlparser2}/node_modules/entities/dist/internal/decode-shared.d.ts +0 -0
  549. /package/node_modules/{sanitize-html → htmlparser2}/node_modules/entities/dist/internal/decode-shared.d.ts.map +0 -0
  550. /package/node_modules/{sanitize-html → htmlparser2}/node_modules/entities/dist/internal/decode-shared.js +0 -0
  551. /package/node_modules/{sanitize-html → htmlparser2}/node_modules/entities/dist/internal/decode-shared.js.map +0 -0
  552. /package/node_modules/{sanitize-html → htmlparser2}/node_modules/entities/package.json +0 -0
  553. /package/node_modules/{sanitize-html → htmlparser2}/node_modules/entities/readme.md +0 -0
  554. /package/node_modules/{sanitize-html → htmlparser2}/node_modules/entities/src/decode-codepoint.ts +0 -0
  555. /package/node_modules/{sanitize-html → htmlparser2}/node_modules/entities/src/decode.ts +0 -0
  556. /package/node_modules/{sanitize-html → htmlparser2}/node_modules/entities/src/encode.ts +0 -0
  557. /package/node_modules/{sanitize-html → htmlparser2}/node_modules/entities/src/escape.ts +0 -0
  558. /package/node_modules/{sanitize-html → htmlparser2}/node_modules/entities/src/generated/decode-data-html.ts +0 -0
  559. /package/node_modules/{sanitize-html → htmlparser2}/node_modules/entities/src/generated/decode-data-xml.ts +0 -0
  560. /package/node_modules/{sanitize-html → htmlparser2}/node_modules/entities/src/generated/encode-html.ts +0 -0
  561. /package/node_modules/{sanitize-html → htmlparser2}/node_modules/entities/src/index.ts +0 -0
  562. /package/node_modules/{sanitize-html → htmlparser2}/node_modules/entities/src/internal/bin-trie-flags.ts +0 -0
  563. /package/node_modules/{sanitize-html → htmlparser2}/node_modules/entities/src/internal/decode-shared.ts +0 -0
  564. /package/node_modules/{sanitize-html/node_modules/htmlparser2 → htmlparser2}/package.json +0 -0
  565. /package/node_modules/{sanitize-html/node_modules/htmlparser2 → htmlparser2}/src/Parser.ts +0 -0
  566. /package/node_modules/{sanitize-html/node_modules/htmlparser2 → htmlparser2}/src/Tokenizer.ts +0 -0
  567. /package/node_modules/{sanitize-html/node_modules/htmlparser2 → htmlparser2}/src/WebWritableStream.ts +0 -0
  568. /package/node_modules/{sanitize-html/node_modules/htmlparser2 → htmlparser2}/src/WritableStream.ts +0 -0
  569. /package/node_modules/{sanitize-html/node_modules/htmlparser2 → htmlparser2}/src/index.ts +0 -0
  570. /package/node_modules/{simple-swizzle/node_modules/is-arrayish → is-arrayish}/LICENSE +0 -0
  571. /package/node_modules/{simple-swizzle/node_modules/is-arrayish → is-arrayish}/README.md +0 -0
  572. /package/node_modules/{simple-swizzle/node_modules/is-arrayish → is-arrayish}/index.js +0 -0
  573. /package/node_modules/{simple-swizzle/node_modules/is-arrayish → is-arrayish}/package.json +0 -0
  574. /package/node_modules/{simple-swizzle/node_modules/is-arrayish → is-arrayish}/yarn-error.log +0 -0
  575. /package/node_modules/{@zowe/imperative/node_modules/isexe → isexe}/dist/cjs/index.d.ts +0 -0
  576. /package/node_modules/{@zowe/imperative/node_modules/isexe → isexe}/dist/cjs/index.d.ts.map +0 -0
  577. /package/node_modules/{@zowe/imperative/node_modules/isexe → isexe}/dist/cjs/index.js +0 -0
  578. /package/node_modules/{@zowe/imperative/node_modules/isexe → isexe}/dist/cjs/index.js.map +0 -0
  579. /package/node_modules/{@zowe/imperative/node_modules/isexe → isexe}/dist/cjs/options.d.ts +0 -0
  580. /package/node_modules/{@zowe/imperative/node_modules/isexe → isexe}/dist/cjs/options.d.ts.map +0 -0
  581. /package/node_modules/{@zowe/imperative/node_modules/isexe → isexe}/dist/cjs/options.js +0 -0
  582. /package/node_modules/{@zowe/imperative/node_modules/isexe → isexe}/dist/cjs/options.js.map +0 -0
  583. /package/node_modules/{@zowe/imperative/node_modules/isexe → isexe}/dist/cjs/package.json +0 -0
  584. /package/node_modules/{@zowe/imperative/node_modules/isexe → isexe}/dist/cjs/posix.d.ts +0 -0
  585. /package/node_modules/{@zowe/imperative/node_modules/isexe → isexe}/dist/cjs/posix.d.ts.map +0 -0
  586. /package/node_modules/{@zowe/imperative/node_modules/isexe → isexe}/dist/cjs/posix.js +0 -0
  587. /package/node_modules/{@zowe/imperative/node_modules/isexe → isexe}/dist/cjs/posix.js.map +0 -0
  588. /package/node_modules/{@zowe/imperative/node_modules/isexe → isexe}/dist/cjs/win32.d.ts +0 -0
  589. /package/node_modules/{@zowe/imperative/node_modules/isexe → isexe}/dist/cjs/win32.d.ts.map +0 -0
  590. /package/node_modules/{@zowe/imperative/node_modules/isexe → isexe}/dist/cjs/win32.js +0 -0
  591. /package/node_modules/{@zowe/imperative/node_modules/isexe → isexe}/dist/cjs/win32.js.map +0 -0
  592. /package/node_modules/{@zowe/imperative/node_modules/isexe → isexe}/dist/mjs/index.d.ts +0 -0
  593. /package/node_modules/{@zowe/imperative/node_modules/isexe → isexe}/dist/mjs/index.d.ts.map +0 -0
  594. /package/node_modules/{@zowe/imperative/node_modules/isexe → isexe}/dist/mjs/index.js +0 -0
  595. /package/node_modules/{@zowe/imperative/node_modules/isexe → isexe}/dist/mjs/index.js.map +0 -0
  596. /package/node_modules/{@zowe/imperative/node_modules/isexe → isexe}/dist/mjs/options.d.ts +0 -0
  597. /package/node_modules/{@zowe/imperative/node_modules/isexe → isexe}/dist/mjs/options.d.ts.map +0 -0
  598. /package/node_modules/{@zowe/imperative/node_modules/isexe → isexe}/dist/mjs/options.js +0 -0
  599. /package/node_modules/{@zowe/imperative/node_modules/isexe → isexe}/dist/mjs/options.js.map +0 -0
  600. /package/node_modules/{@zowe/imperative/node_modules/isexe → isexe}/dist/mjs/package.json +0 -0
  601. /package/node_modules/{@zowe/imperative/node_modules/isexe → isexe}/dist/mjs/posix.d.ts +0 -0
  602. /package/node_modules/{@zowe/imperative/node_modules/isexe → isexe}/dist/mjs/posix.d.ts.map +0 -0
  603. /package/node_modules/{@zowe/imperative/node_modules/isexe → isexe}/dist/mjs/posix.js +0 -0
  604. /package/node_modules/{@zowe/imperative/node_modules/isexe → isexe}/dist/mjs/posix.js.map +0 -0
  605. /package/node_modules/{@zowe/imperative/node_modules/isexe → isexe}/dist/mjs/win32.d.ts +0 -0
  606. /package/node_modules/{@zowe/imperative/node_modules/isexe → isexe}/dist/mjs/win32.d.ts.map +0 -0
  607. /package/node_modules/{@zowe/imperative/node_modules/isexe → isexe}/dist/mjs/win32.js +0 -0
  608. /package/node_modules/{@zowe/imperative/node_modules/isexe → isexe}/dist/mjs/win32.js.map +0 -0
  609. /package/node_modules/{shebang-command/node_modules/shebang-regex → shebang-regex}/index.d.ts +0 -0
  610. /package/node_modules/{shebang-command/node_modules/shebang-regex → shebang-regex}/index.js +0 -0
  611. /package/node_modules/{strip-ansi/node_modules/ansi-regex → shebang-regex}/license +0 -0
  612. /package/node_modules/{shebang-command/node_modules/shebang-regex → shebang-regex}/package.json +0 -0
  613. /package/node_modules/{shebang-command/node_modules/shebang-regex → shebang-regex}/readme.md +0 -0
  614. /package/node_modules/streamroller/node_modules/{jsonfile → fs-extra/node_modules/jsonfile}/LICENSE +0 -0
  615. /package/node_modules/streamroller/node_modules/{jsonfile → fs-extra/node_modules/jsonfile}/README.md +0 -0
  616. /package/node_modules/streamroller/node_modules/{jsonfile → fs-extra/node_modules/jsonfile}/index.js +0 -0
  617. /package/node_modules/streamroller/node_modules/{jsonfile → fs-extra/node_modules/jsonfile}/package.json +0 -0
  618. /package/node_modules/streamroller/node_modules/{universalify → fs-extra/node_modules/universalify}/LICENSE +0 -0
  619. /package/node_modules/streamroller/node_modules/{universalify → fs-extra/node_modules/universalify}/README.md +0 -0
  620. /package/node_modules/streamroller/node_modules/{universalify → fs-extra/node_modules/universalify}/index.js +0 -0
  621. /package/node_modules/streamroller/node_modules/{universalify → fs-extra/node_modules/universalify}/package.json +0 -0
  622. /package/node_modules/{@zowe/imperative/node_modules/which → which}/bin/which.js +0 -0
  623. /package/node_modules/{@zowe/imperative/node_modules/which → which}/lib/index.js +0 -0
  624. /package/node_modules/{yargs/node_modules/y18n → y18n}/LICENSE +0 -0
  625. /package/node_modules/{yargs/node_modules/y18n → y18n}/README.md +0 -0
  626. /package/node_modules/{yargs/node_modules/y18n → y18n}/build/index.cjs +0 -0
  627. /package/node_modules/{yargs/node_modules/y18n → y18n}/build/lib/cjs.js +0 -0
  628. /package/node_modules/{yargs/node_modules/y18n → y18n}/build/lib/index.js +0 -0
  629. /package/node_modules/{yargs/node_modules/y18n → y18n}/build/lib/platform-shims/node.js +0 -0
  630. /package/node_modules/{yargs/node_modules/y18n → y18n}/index.mjs +0 -0
  631. /package/node_modules/{yargs/node_modules/y18n → y18n}/package.json +0 -0
  632. /package/node_modules/{tar/node_modules/yallist → yallist}/LICENSE.md +0 -0
  633. /package/node_modules/{tar/node_modules/yallist → yallist}/README.md +0 -0
  634. /package/node_modules/{tar/node_modules/yallist → yallist}/dist/commonjs/index.d.ts +0 -0
  635. /package/node_modules/{tar/node_modules/yallist → yallist}/dist/commonjs/index.d.ts.map +0 -0
  636. /package/node_modules/{tar/node_modules/yallist → yallist}/dist/commonjs/index.js +0 -0
  637. /package/node_modules/{tar/node_modules/yallist → yallist}/dist/commonjs/index.js.map +0 -0
  638. /package/node_modules/{@zowe/zos-files-for-zowe-sdk/node_modules/balanced-match → yallist}/dist/commonjs/package.json +0 -0
  639. /package/node_modules/{tar/node_modules/yallist → yallist}/dist/esm/index.d.ts +0 -0
  640. /package/node_modules/{tar/node_modules/yallist → yallist}/dist/esm/index.d.ts.map +0 -0
  641. /package/node_modules/{tar/node_modules/yallist → yallist}/dist/esm/index.js +0 -0
  642. /package/node_modules/{tar/node_modules/yallist → yallist}/dist/esm/index.js.map +0 -0
  643. /package/node_modules/{@zowe/zos-files-for-zowe-sdk/node_modules/balanced-match → yallist}/dist/esm/package.json +0 -0
  644. /package/node_modules/{tar/node_modules/yallist → yallist}/package.json +0 -0
@@ -1,285 +0,0 @@
1
- import { balanced } from 'balanced-match';
2
- const escSlash = '\0SLASH' + Math.random() + '\0';
3
- const escOpen = '\0OPEN' + Math.random() + '\0';
4
- const escClose = '\0CLOSE' + Math.random() + '\0';
5
- const escComma = '\0COMMA' + Math.random() + '\0';
6
- const escPeriod = '\0PERIOD' + Math.random() + '\0';
7
- const escSlashPattern = new RegExp(escSlash, 'g');
8
- const escOpenPattern = new RegExp(escOpen, 'g');
9
- const escClosePattern = new RegExp(escClose, 'g');
10
- const escCommaPattern = new RegExp(escComma, 'g');
11
- const escPeriodPattern = new RegExp(escPeriod, 'g');
12
- const slashPattern = /\\\\/g;
13
- const openPattern = /\\{/g;
14
- const closePattern = /\\}/g;
15
- const commaPattern = /\\,/g;
16
- const periodPattern = /\\\./g;
17
- export const EXPANSION_MAX = 100_000;
18
- // `EXPANSION_MAX` caps the *number* of expansions, but not their length. An
19
- // input like `'{a,b}'.repeat(1500)` stays under that count - its output is
20
- // truncated to 100k results - while making every result ~1500 characters
21
- // long. The result set, and the intermediate arrays built while combining
22
- // brace sets, then grow large enough to exhaust memory and crash the process
23
- // (CVE-2026-14257). `EXPANSION_MAX_LENGTH` bounds the total number of
24
- // characters the accumulator may hold at any point, so memory stays flat no
25
- // matter how many brace groups are chained. The limit sits well above any
26
- // realistic expansion (100k results hitting `EXPANSION_MAX` measure ~1M
27
- // characters) so legitimate input is unaffected.
28
- export const EXPANSION_MAX_LENGTH = 4_000_000;
29
- function numeric(str) {
30
- return !isNaN(str) ? parseInt(str, 10) : str.charCodeAt(0);
31
- }
32
- function escapeBraces(str) {
33
- return str
34
- .replace(slashPattern, escSlash)
35
- .replace(openPattern, escOpen)
36
- .replace(closePattern, escClose)
37
- .replace(commaPattern, escComma)
38
- .replace(periodPattern, escPeriod);
39
- }
40
- function unescapeBraces(str) {
41
- return str
42
- .replace(escSlashPattern, '\\')
43
- .replace(escOpenPattern, '{')
44
- .replace(escClosePattern, '}')
45
- .replace(escCommaPattern, ',')
46
- .replace(escPeriodPattern, '.');
47
- }
48
- /**
49
- * Basically just str.split(","), but handling cases
50
- * where we have nested braced sections, which should be
51
- * treated as individual members, like {a,{b,c},d}
52
- */
53
- function parseCommaParts(str) {
54
- if (!str) {
55
- return [''];
56
- }
57
- const parts = [];
58
- const m = balanced('{', '}', str);
59
- if (!m) {
60
- return str.split(',');
61
- }
62
- const { pre, body, post } = m;
63
- const p = pre.split(',');
64
- p[p.length - 1] += '{' + body + '}';
65
- const postParts = parseCommaParts(post);
66
- if (post.length) {
67
- ;
68
- p[p.length - 1] += postParts.shift();
69
- p.push.apply(p, postParts);
70
- }
71
- parts.push.apply(parts, p);
72
- return parts;
73
- }
74
- export function expand(str, options = {}) {
75
- if (!str) {
76
- return [];
77
- }
78
- const { max = EXPANSION_MAX, maxLength = EXPANSION_MAX_LENGTH } = options;
79
- // I don't know why Bash 4.3 does this, but it does.
80
- // Anything starting with {} will have the first two bytes preserved
81
- // but *only* at the top level, so {},a}b will not expand to anything,
82
- // but a{},b}c will be expanded to [a}c,abc].
83
- // One could argue that this is a bug in Bash, but since the goal of
84
- // this module is to match Bash's rules, we escape a leading {}
85
- if (str.slice(0, 2) === '{}') {
86
- str = '\\{\\}' + str.slice(2);
87
- }
88
- return expand_(escapeBraces(str), max, maxLength, true).map(unescapeBraces);
89
- }
90
- function embrace(str) {
91
- return '{' + str + '}';
92
- }
93
- function isPadded(el) {
94
- return /^-?0\d/.test(el);
95
- }
96
- function lte(i, y) {
97
- return i <= y;
98
- }
99
- function gte(i, y) {
100
- return i >= y;
101
- }
102
- // Build `{ acc[a] + pre + values[v] }` for every combination, capping the
103
- // number of results at `max` and the total number of characters at `maxLength`.
104
- // This is the one place output grows, so bounding it here keeps the single
105
- // accumulator - and therefore memory - flat regardless of how many brace groups
106
- // are combined (CVE-2026-14257).
107
- function combine(acc, pre, values, max, maxLength, dropEmpties) {
108
- const out = [];
109
- let length = 0;
110
- for (let a = 0; a < acc.length; a++) {
111
- for (let v = 0; v < values.length; v++) {
112
- if (out.length >= max)
113
- return out;
114
- const expansion = acc[a] + pre + values[v];
115
- // Bash drops empty results at the top level. Skip them before they count
116
- // against `max`, so `max` bounds the number of *kept* results.
117
- if (dropEmpties && !expansion)
118
- continue;
119
- if (length + expansion.length > maxLength)
120
- return out;
121
- out.push(expansion);
122
- length += expansion.length;
123
- }
124
- }
125
- return out;
126
- }
127
- // The expansion values of a single numeric (`1..5`) or alphabetic (`a..e..2`)
128
- // sequence body.
129
- function expandSequence(body, isAlphaSequence, max, maxLength) {
130
- const n = body.split(/\.\./);
131
- const N = [];
132
- // A sequence body always splits into two or three parts, but the compiler
133
- // can't know that.
134
- /* c8 ignore start */
135
- if (n[0] === undefined || n[1] === undefined) {
136
- return N;
137
- }
138
- /* c8 ignore stop */
139
- const x = numeric(n[0]);
140
- const y = numeric(n[1]);
141
- const width = Math.max(n[0].length, n[1].length);
142
- let incr = n.length === 3 && n[2] !== undefined ?
143
- Math.max(Math.abs(numeric(n[2])), 1)
144
- : 1;
145
- let test = lte;
146
- const reverse = y < x;
147
- if (reverse) {
148
- incr *= -1;
149
- test = gte;
150
- }
151
- const pad = n.some(isPadded);
152
- let length = 0;
153
- for (let i = x; test(i, y) && N.length < max; i += incr) {
154
- let c;
155
- if (isAlphaSequence) {
156
- c = String.fromCharCode(i);
157
- if (c === '\\') {
158
- c = '';
159
- }
160
- }
161
- else {
162
- c = String(i);
163
- if (pad) {
164
- const need = width - c.length;
165
- if (need > 0) {
166
- const z = new Array(need + 1).join('0');
167
- if (i < 0) {
168
- c = '-' + z + c.slice(1);
169
- }
170
- else {
171
- c = z + c;
172
- }
173
- }
174
- }
175
- }
176
- if (length + c.length > maxLength)
177
- break;
178
- N.push(c);
179
- length += c.length;
180
- }
181
- return N;
182
- }
183
- function expand_(str, max, maxLength, isTop) {
184
- // Consume the string's top-level brace groups left to right, threading a
185
- // running set of combined prefixes (`acc`). Expanding the tail iteratively -
186
- // rather than recursing on `m.post` once per group - keeps the native stack
187
- // depth constant, so deeply chained input (`'{a,b}'.repeat(3000)`) can no
188
- // longer overflow the stack, and leaves a single accumulator whose size
189
- // `maxLength` bounds directly (CVE-2026-14257).
190
- let acc = [''];
191
- // Bash drops empty results, but only when the *first* top-level group is a
192
- // comma set - a sequence like `{a..\}` may legitimately yield ''. The drop
193
- // is on the final strings, so it is applied to whichever `combine` produces
194
- // them (the one with no brace set left in the tail).
195
- let dropEmpties = false;
196
- let firstGroup = true;
197
- for (;;) {
198
- const m = balanced('{', '}', str);
199
- // No brace set left: the rest of the string is literal.
200
- if (!m) {
201
- return combine(acc, str, [''], max, maxLength, dropEmpties);
202
- }
203
- // no need to expand pre, since it is guaranteed to be free of brace-sets
204
- const pre = m.pre;
205
- if (/\$$/.test(pre)) {
206
- acc = combine(acc, pre + '{' + m.body + '}', [''], max, maxLength, dropEmpties && !m.post.length);
207
- firstGroup = false;
208
- if (!m.post.length)
209
- break;
210
- str = m.post;
211
- continue;
212
- }
213
- const isNumericSequence = /^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(m.body);
214
- const isAlphaSequence = /^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(m.body);
215
- const isSequence = isNumericSequence || isAlphaSequence;
216
- const isOptions = m.body.indexOf(',') >= 0;
217
- if (!isSequence && !isOptions) {
218
- // {a},b}
219
- if (m.post.match(/,(?!,).*\}/)) {
220
- str = m.pre + '{' + m.body + escClose + m.post;
221
- isTop = true;
222
- continue;
223
- }
224
- // Nothing here expands, so the whole remaining string is literal.
225
- return combine(acc, pre + '{' + m.body + '}' + m.post, [''], max, maxLength, dropEmpties);
226
- }
227
- if (firstGroup) {
228
- dropEmpties = isTop && !isSequence;
229
- firstGroup = false;
230
- }
231
- let values;
232
- if (isSequence) {
233
- values = expandSequence(m.body, isAlphaSequence, max, maxLength);
234
- }
235
- else {
236
- let n = parseCommaParts(m.body);
237
- if (n.length === 1 && n[0] !== undefined) {
238
- // x{{a,b}}y ==> x{a}y x{b}y
239
- n = expand_(n[0], max, maxLength, false).map(embrace);
240
- //XXX is this necessary? Can't seem to hit it in tests.
241
- /* c8 ignore start */
242
- if (n.length === 1) {
243
- acc = combine(acc, pre + n[0], [''], max, maxLength, dropEmpties && !m.post.length);
244
- if (!m.post.length)
245
- break;
246
- str = m.post;
247
- continue;
248
- }
249
- /* c8 ignore stop */
250
- }
251
- // Values that `combine` is going to drop as empty produce no result, so
252
- // they must not count against `max` - otherwise `{a,,b}` with `max: 2`
253
- // would stop at `['a', '']` and yield one result instead of two. Skipping
254
- // them outright keeps `values` bounded while leaving `max` a bound on
255
- // *kept* results.
256
- let dropsEmpties = dropEmpties && !m.post.length && !pre;
257
- for (let d = 0; dropsEmpties && d < acc.length; d++) {
258
- if (acc[d]) {
259
- dropsEmpties = false;
260
- }
261
- }
262
- values = [];
263
- let valuesLength = 0;
264
- outer: for (let j = 0; j < n.length; j++) {
265
- const expanded = expand_(n[j], max, maxLength, false);
266
- for (let k = 0; k < expanded.length; k++) {
267
- const v = expanded[k];
268
- if (dropsEmpties && !v)
269
- continue;
270
- if (values.length >= max || valuesLength + v.length > maxLength) {
271
- break outer;
272
- }
273
- values.push(v);
274
- valuesLength += v.length;
275
- }
276
- }
277
- }
278
- acc = combine(acc, pre, values, max, maxLength, dropEmpties && !m.post.length);
279
- if (!m.post.length)
280
- break;
281
- str = m.post;
282
- }
283
- return acc;
284
- }
285
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAA;AAEzC,MAAM,QAAQ,GAAG,SAAS,GAAG,IAAI,CAAC,MAAM,EAAE,GAAG,IAAI,CAAA;AACjD,MAAM,OAAO,GAAG,QAAQ,GAAG,IAAI,CAAC,MAAM,EAAE,GAAG,IAAI,CAAA;AAC/C,MAAM,QAAQ,GAAG,SAAS,GAAG,IAAI,CAAC,MAAM,EAAE,GAAG,IAAI,CAAA;AACjD,MAAM,QAAQ,GAAG,SAAS,GAAG,IAAI,CAAC,MAAM,EAAE,GAAG,IAAI,CAAA;AACjD,MAAM,SAAS,GAAG,UAAU,GAAG,IAAI,CAAC,MAAM,EAAE,GAAG,IAAI,CAAA;AACnD,MAAM,eAAe,GAAG,IAAI,MAAM,CAAC,QAAQ,EAAE,GAAG,CAAC,CAAA;AACjD,MAAM,cAAc,GAAG,IAAI,MAAM,CAAC,OAAO,EAAE,GAAG,CAAC,CAAA;AAC/C,MAAM,eAAe,GAAG,IAAI,MAAM,CAAC,QAAQ,EAAE,GAAG,CAAC,CAAA;AACjD,MAAM,eAAe,GAAG,IAAI,MAAM,CAAC,QAAQ,EAAE,GAAG,CAAC,CAAA;AACjD,MAAM,gBAAgB,GAAG,IAAI,MAAM,CAAC,SAAS,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AAG,CAAC,EAAE,CAAC,GAAG,CAAC,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE,CAAC;gBACzC,MAAM,QAAQ,GAAG,OAAO,CAAC,CAAC,CAAC,CAAC,CAAW,EAAE,GAAG,EAAE,SAAS,EAAE,KAAK,CAAC,CAAA;gBAC/D,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,QAAQ,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE,CAAC;oBACzC,MAAM,CAAC,GAAG,QAAQ,CAAC,CAAC,CAAW,CAAA;oBAC/B,IAAI,YAAY,IAAI,CAAC,CAAC;wBAAE,SAAQ;oBAChC,IAAI,MAAM,CAAC,MAAM,IAAI,GAAG,IAAI,YAAY,GAAG,CAAC,CAAC,MAAM,GAAG,SAAS,EAAE,CAAC;wBAChE,MAAM,KAAK,CAAA;oBACb,CAAC;oBACD,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,CAAA;oBACd,YAAY,IAAI,CAAC,CAAC,MAAM,CAAA;gBAC1B,CAAC;YACH,CAAC;QACH,CAAC;QAED,GAAG,GAAG,OAAO,CAAC,GAAG,EAAE,GAAG,EAAE,MAAM,EAAE,GAAG,EAAE,SAAS,EAAE,WAAW,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAA;QAC9E,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM;YAAE,MAAK;QACzB,GAAG,GAAG,CAAC,CAAC,IAAI,CAAA;IACd,CAAC;IAED,OAAO,GAAG,CAAA;AACZ,CAAC","sourcesContent":["import { balanced } from 'balanced-match'\n\nconst escSlash = '\\0SLASH' + Math.random() + '\\0'\nconst escOpen = '\\0OPEN' + Math.random() + '\\0'\nconst escClose = '\\0CLOSE' + Math.random() + '\\0'\nconst escComma = '\\0COMMA' + Math.random() + '\\0'\nconst escPeriod = '\\0PERIOD' + Math.random() + '\\0'\nconst escSlashPattern = new RegExp(escSlash, 'g')\nconst escOpenPattern = new RegExp(escOpen, 'g')\nconst escClosePattern = new RegExp(escClose, 'g')\nconst escCommaPattern = new RegExp(escComma, 'g')\nconst escPeriodPattern = new RegExp(escPeriod, 'g')\nconst slashPattern = /\\\\\\\\/g\nconst openPattern = /\\\\{/g\nconst closePattern = /\\\\}/g\nconst commaPattern = /\\\\,/g\nconst periodPattern = /\\\\\\./g\n\nexport const EXPANSION_MAX = 100_000\n\n// `EXPANSION_MAX` caps the *number* of expansions, but not their length. An\n// input like `'{a,b}'.repeat(1500)` stays under that count - its output is\n// truncated to 100k results - while making every result ~1500 characters\n// long. The result set, and the intermediate arrays built while combining\n// brace sets, then grow large enough to exhaust memory and crash the process\n// (CVE-2026-14257). `EXPANSION_MAX_LENGTH` bounds the total number of\n// characters the accumulator may hold at any point, so memory stays flat no\n// matter how many brace groups are chained. The limit sits well above any\n// realistic expansion (100k results hitting `EXPANSION_MAX` measure ~1M\n// characters) so legitimate input is unaffected.\nexport const EXPANSION_MAX_LENGTH = 4_000_000\n\nfunction numeric(str: string) {\n return !isNaN(str as any) ? parseInt(str, 10) : str.charCodeAt(0)\n}\n\nfunction escapeBraces(str: string) {\n return str\n .replace(slashPattern, escSlash)\n .replace(openPattern, escOpen)\n .replace(closePattern, escClose)\n .replace(commaPattern, escComma)\n .replace(periodPattern, escPeriod)\n}\n\nfunction unescapeBraces(str: string) {\n return str\n .replace(escSlashPattern, '\\\\')\n .replace(escOpenPattern, '{')\n .replace(escClosePattern, '}')\n .replace(escCommaPattern, ',')\n .replace(escPeriodPattern, '.')\n}\n\n/**\n * Basically just str.split(\",\"), but handling cases\n * where we have nested braced sections, which should be\n * treated as individual members, like {a,{b,c},d}\n */\nfunction parseCommaParts(str: string) {\n if (!str) {\n return ['']\n }\n\n const parts: string[] = []\n const m = balanced('{', '}', str)\n\n if (!m) {\n return str.split(',')\n }\n\n const { pre, body, post } = m\n const p = pre.split(',')\n\n p[p.length - 1] += '{' + body + '}'\n const postParts = parseCommaParts(post)\n if (post.length) {\n ;(p[p.length - 1] as string) += postParts.shift()\n p.push.apply(p, postParts)\n }\n\n parts.push.apply(parts, p)\n\n return parts\n}\n\nexport type BraceExpansionOptions = {\n max?: number\n maxLength?: number\n}\n\nexport function expand(str: string, options: BraceExpansionOptions = {}) {\n if (!str) {\n return []\n }\n\n const { max = EXPANSION_MAX, maxLength = EXPANSION_MAX_LENGTH } = options\n\n // I don't know why Bash 4.3 does this, but it does.\n // Anything starting with {} will have the first two bytes preserved\n // but *only* at the top level, so {},a}b will not expand to anything,\n // but a{},b}c will be expanded to [a}c,abc].\n // One could argue that this is a bug in Bash, but since the goal of\n // this module is to match Bash's rules, we escape a leading {}\n if (str.slice(0, 2) === '{}') {\n str = '\\\\{\\\\}' + str.slice(2)\n }\n\n return expand_(escapeBraces(str), max, maxLength, true).map(unescapeBraces)\n}\n\nfunction embrace(str: string) {\n return '{' + str + '}'\n}\n\nfunction isPadded(el: string) {\n return /^-?0\\d/.test(el)\n}\n\nfunction lte(i: number, y: number) {\n return i <= y\n}\n\nfunction gte(i: number, y: number) {\n return i >= y\n}\n\n// Build `{ acc[a] + pre + values[v] }` for every combination, capping the\n// number of results at `max` and the total number of characters at `maxLength`.\n// This is the one place output grows, so bounding it here keeps the single\n// accumulator - and therefore memory - flat regardless of how many brace groups\n// are combined (CVE-2026-14257).\nfunction combine(\n acc: string[],\n pre: string,\n values: string[],\n max: number,\n maxLength: number,\n dropEmpties: boolean,\n): string[] {\n const out: string[] = []\n let length = 0\n for (let a = 0; a < acc.length; a++) {\n for (let v = 0; v < values.length; v++) {\n if (out.length >= max) return out\n const expansion = (acc[a] as string) + pre + values[v]\n // Bash drops empty results at the top level. Skip them before they count\n // against `max`, so `max` bounds the number of *kept* results.\n if (dropEmpties && !expansion) continue\n if (length + expansion.length > maxLength) return out\n out.push(expansion)\n length += expansion.length\n }\n }\n return out\n}\n\n// The expansion values of a single numeric (`1..5`) or alphabetic (`a..e..2`)\n// sequence body.\nfunction expandSequence(\n body: string,\n isAlphaSequence: boolean,\n max: number,\n maxLength: number,\n): string[] {\n const n = body.split(/\\.\\./)\n const N: string[] = []\n // A sequence body always splits into two or three parts, but the compiler\n // can't know that.\n /* c8 ignore start */\n if (n[0] === undefined || n[1] === undefined) {\n return N\n }\n /* c8 ignore stop */\n const x = numeric(n[0])\n const y = numeric(n[1])\n const width = Math.max(n[0].length, n[1].length)\n let incr =\n n.length === 3 && n[2] !== undefined ?\n Math.max(Math.abs(numeric(n[2])), 1)\n : 1\n let test = lte\n const reverse = y < x\n if (reverse) {\n incr *= -1\n test = gte\n }\n const pad = n.some(isPadded)\n\n let length = 0\n for (let i = x; test(i, y) && N.length < max; i += incr) {\n let c\n if (isAlphaSequence) {\n c = String.fromCharCode(i)\n if (c === '\\\\') {\n c = ''\n }\n } else {\n c = String(i)\n if (pad) {\n const need = width - c.length\n if (need > 0) {\n const z = new Array(need + 1).join('0')\n if (i < 0) {\n c = '-' + z + c.slice(1)\n } else {\n c = z + c\n }\n }\n }\n }\n if (length + c.length > maxLength) break\n N.push(c)\n length += c.length\n }\n return N\n}\n\nfunction expand_(\n str: string,\n max: number,\n maxLength: number,\n isTop: boolean,\n): string[] {\n // Consume the string's top-level brace groups left to right, threading a\n // running set of combined prefixes (`acc`). Expanding the tail iteratively -\n // rather than recursing on `m.post` once per group - keeps the native stack\n // depth constant, so deeply chained input (`'{a,b}'.repeat(3000)`) can no\n // longer overflow the stack, and leaves a single accumulator whose size\n // `maxLength` bounds directly (CVE-2026-14257).\n let acc: string[] = ['']\n\n // Bash drops empty results, but only when the *first* top-level group is a\n // comma set - a sequence like `{a..\\}` may legitimately yield ''. The drop\n // is on the final strings, so it is applied to whichever `combine` produces\n // them (the one with no brace set left in the tail).\n let dropEmpties = false\n let firstGroup = true\n\n for (;;) {\n const m = balanced('{', '}', str)\n\n // No brace set left: the rest of the string is literal.\n if (!m) {\n return combine(acc, str, [''], max, maxLength, dropEmpties)\n }\n\n // no need to expand pre, since it is guaranteed to be free of brace-sets\n const pre = m.pre\n\n if (/\\$$/.test(pre)) {\n acc = combine(\n acc,\n pre + '{' + m.body + '}',\n [''],\n max,\n maxLength,\n dropEmpties && !m.post.length,\n )\n firstGroup = false\n if (!m.post.length) break\n str = m.post\n continue\n }\n\n const isNumericSequence = /^-?\\d+\\.\\.-?\\d+(?:\\.\\.-?\\d+)?$/.test(m.body)\n const isAlphaSequence = /^[a-zA-Z]\\.\\.[a-zA-Z](?:\\.\\.-?\\d+)?$/.test(\n m.body,\n )\n const isSequence = isNumericSequence || isAlphaSequence\n const isOptions = m.body.indexOf(',') >= 0\n if (!isSequence && !isOptions) {\n // {a},b}\n if (m.post.match(/,(?!,).*\\}/)) {\n str = m.pre + '{' + m.body + escClose + m.post\n isTop = true\n continue\n }\n // Nothing here expands, so the whole remaining string is literal.\n return combine(\n acc,\n pre + '{' + m.body + '}' + m.post,\n [''],\n max,\n maxLength,\n dropEmpties,\n )\n }\n\n if (firstGroup) {\n dropEmpties = isTop && !isSequence\n firstGroup = false\n }\n\n let values: string[]\n if (isSequence) {\n values = expandSequence(m.body, isAlphaSequence, max, maxLength)\n } else {\n let n = parseCommaParts(m.body)\n if (n.length === 1 && n[0] !== undefined) {\n // x{{a,b}}y ==> x{a}y x{b}y\n n = expand_(n[0], max, maxLength, false).map(embrace)\n //XXX is this necessary? Can't seem to hit it in tests.\n /* c8 ignore start */\n if (n.length === 1) {\n acc = combine(\n acc,\n pre + n[0],\n [''],\n max,\n maxLength,\n dropEmpties && !m.post.length,\n )\n if (!m.post.length) break\n str = m.post\n continue\n }\n /* c8 ignore stop */\n }\n\n // Values that `combine` is going to drop as empty produce no result, so\n // they must not count against `max` - otherwise `{a,,b}` with `max: 2`\n // would stop at `['a', '']` and yield one result instead of two. Skipping\n // them outright keeps `values` bounded while leaving `max` a bound on\n // *kept* results.\n let dropsEmpties = dropEmpties && !m.post.length && !pre\n for (let d = 0; dropsEmpties && d < acc.length; d++) {\n if (acc[d]) {\n dropsEmpties = false\n }\n }\n\n values = []\n let valuesLength = 0\n outer: for (let j = 0; j < n.length; j++) {\n const expanded = expand_(n[j] as string, max, maxLength, false)\n for (let k = 0; k < expanded.length; k++) {\n const v = expanded[k] as string\n if (dropsEmpties && !v) continue\n if (values.length >= max || valuesLength + v.length > maxLength) {\n break outer\n }\n values.push(v)\n valuesLength += v.length\n }\n }\n }\n\n acc = combine(acc, pre, values, max, maxLength, dropEmpties && !m.post.length)\n if (!m.post.length) break\n str = m.post\n }\n\n return acc\n}\n"]}
@@ -1,64 +0,0 @@
1
- {
2
- "name": "brace-expansion",
3
- "description": "Brace expansion as known from sh/bash",
4
- "version": "5.0.9",
5
- "files": [
6
- "dist"
7
- ],
8
- "exports": {
9
- "./package.json": "./package.json",
10
- ".": {
11
- "import": {
12
- "types": "./dist/esm/index.d.ts",
13
- "default": "./dist/esm/index.js"
14
- },
15
- "require": {
16
- "types": "./dist/commonjs/index.d.ts",
17
- "default": "./dist/commonjs/index.js"
18
- }
19
- }
20
- },
21
- "type": "module",
22
- "scripts": {
23
- "preversion": "npm test",
24
- "postversion": "npm publish",
25
- "prepublishOnly": "git push origin --follow-tags",
26
- "prepare": "tshy",
27
- "pretest": "npm run prepare",
28
- "presnap": "npm run prepare",
29
- "test": "tap",
30
- "snap": "tap",
31
- "format": "prettier --write .",
32
- "benchmark": "node benchmark/index.js",
33
- "typedoc": "typedoc --tsconfig .tshy/esm.json ./src/*.ts"
34
- },
35
- "devDependencies": {
36
- "@types/brace-expansion": "^1.1.2",
37
- "@types/node": "^25.2.1",
38
- "mkdirp": "^3.0.1",
39
- "prettier": "^3.3.2",
40
- "tap": "^21.6.2",
41
- "tshy": "^3.0.2",
42
- "typedoc": "^0.28.5"
43
- },
44
- "dependencies": {
45
- "balanced-match": "^4.0.2"
46
- },
47
- "license": "MIT",
48
- "engines": {
49
- "node": "20 || >=22"
50
- },
51
- "tshy": {
52
- "exports": {
53
- "./package.json": "./package.json",
54
- ".": "./src/index.ts"
55
- }
56
- },
57
- "main": "./dist/commonjs/index.js",
58
- "types": "./dist/commonjs/index.d.ts",
59
- "module": "./dist/esm/index.js",
60
- "repository": {
61
- "type": "git",
62
- "url": "git+https://github.com/juliangruber/brace-expansion.git"
63
- }
64
- }
@@ -1,55 +0,0 @@
1
- # Blue Oak Model License
2
-
3
- Version 1.0.0
4
-
5
- ## Purpose
6
-
7
- This license gives everyone as much permission to work with
8
- this software as possible, while protecting contributors
9
- from liability.
10
-
11
- ## Acceptance
12
-
13
- In order to receive this license, you must agree to its
14
- rules. The rules of this license are both obligations
15
- under that agreement and conditions to your license.
16
- You must not do anything with this software that triggers
17
- a rule that you cannot or will not follow.
18
-
19
- ## Copyright
20
-
21
- Each contributor licenses you to do everything with this
22
- software that would otherwise infringe that contributor's
23
- copyright in it.
24
-
25
- ## Notices
26
-
27
- You must ensure that everyone who gets a copy of
28
- any part of this software from you, with or without
29
- changes, also gets the text of this license or a link to
30
- <https://blueoakcouncil.org/license/1.0.0>.
31
-
32
- ## Excuse
33
-
34
- If anyone notifies you in writing that you have not
35
- complied with [Notices](#notices), you can keep your
36
- license by taking all practical steps to comply within 30
37
- days after the notice. If you do not do so, your license
38
- ends immediately.
39
-
40
- ## Patent
41
-
42
- Each contributor licenses you to do everything with this
43
- software that would otherwise infringe any patent claims
44
- they can license or become able to license.
45
-
46
- ## Reliability
47
-
48
- No contributor can revoke this license.
49
-
50
- ## No Liability
51
-
52
- **_As far as the law allows, this software comes as is,
53
- without any warranty or condition, and no contributor
54
- will be liable to anyone for any damages related to this
55
- software or this license, under any kind of legal claim._**