@dotpi/tools 2.12.2 → 2.12.4

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 (462) hide show
  1. package/dotpi_root/bin/dotpi_prepare_system +12 -7
  2. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/CHANGELOG.md +3646 -0
  3. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/LICENSE +22 -0
  4. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/README.md +298 -0
  5. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/bin/pnpm.cjs +3 -0
  6. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/bin/pnpm.mjs +36 -0
  7. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/bin/pnpx.cjs +3 -0
  8. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/bin/pnpx.mjs +5 -0
  9. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node-gyp-bin/node-gyp +6 -0
  10. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node-gyp-bin/node-gyp.cmd +5 -0
  11. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/.bin/node-gyp +95 -0
  12. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/.bin/node-which +95 -0
  13. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/.bin/nopt +95 -0
  14. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/.bin/semver +95 -0
  15. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/@isaacs/fs-minipass/LICENSE +15 -0
  16. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/@isaacs/fs-minipass/dist/commonjs/index.js +430 -0
  17. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/@isaacs/fs-minipass/dist/commonjs/package.json +3 -0
  18. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/@isaacs/fs-minipass/dist/esm/index.js +420 -0
  19. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/@isaacs/fs-minipass/dist/esm/package.json +3 -0
  20. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/@isaacs/fs-minipass/package.json +72 -0
  21. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/@reflink/reflink/binding.js +259 -0
  22. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/@reflink/reflink/index.js +51 -0
  23. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/@reflink/reflink/package.json +63 -0
  24. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/@reflink/reflink-darwin-arm64/package.json +23 -0
  25. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/@reflink/reflink-darwin-arm64/reflink.darwin-arm64.node +0 -0
  26. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/@reflink/reflink-darwin-x64/package.json +23 -0
  27. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/@reflink/reflink-darwin-x64/reflink.darwin-x64.node +0 -0
  28. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/@reflink/reflink-win32-arm64-msvc/package.json +23 -0
  29. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/@reflink/reflink-win32-arm64-msvc/reflink.win32-arm64-msvc.node +0 -0
  30. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/@reflink/reflink-win32-x64-msvc/package.json +23 -0
  31. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/@reflink/reflink-win32-x64-msvc/reflink.win32-x64-msvc.node +0 -0
  32. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/abbrev/LICENSE +46 -0
  33. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/abbrev/lib/index.js +53 -0
  34. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/abbrev/package.json +41 -0
  35. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/chownr/dist/commonjs/index.js +93 -0
  36. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/chownr/dist/commonjs/package.json +3 -0
  37. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/chownr/dist/esm/index.js +85 -0
  38. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/chownr/dist/esm/package.json +3 -0
  39. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/chownr/package.json +69 -0
  40. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/env-paths/index.js +74 -0
  41. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/env-paths/license +9 -0
  42. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/env-paths/package.json +45 -0
  43. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/exponential-backoff/LICENSE +202 -0
  44. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/exponential-backoff/dist/backoff.js +124 -0
  45. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/exponential-backoff/dist/delay/always/always.delay.js +25 -0
  46. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/exponential-backoff/dist/delay/delay.base.js +45 -0
  47. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/exponential-backoff/dist/delay/delay.factory.js +17 -0
  48. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/exponential-backoff/dist/delay/delay.interface.js +3 -0
  49. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/exponential-backoff/dist/delay/skip-first/skip-first.delay.js +82 -0
  50. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/exponential-backoff/dist/jitter/full/full.jitter.js +8 -0
  51. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/exponential-backoff/dist/jitter/jitter.factory.js +15 -0
  52. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/exponential-backoff/dist/jitter/no/no.jitter.js +7 -0
  53. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/exponential-backoff/dist/options.js +31 -0
  54. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/exponential-backoff/package.json +62 -0
  55. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/fdir/LICENSE +7 -0
  56. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/fdir/dist/index.cjs +588 -0
  57. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/fdir/dist/index.d.cts +155 -0
  58. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/fdir/dist/index.d.mts +155 -0
  59. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/fdir/dist/index.mjs +570 -0
  60. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/fdir/package.json +103 -0
  61. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/graceful-fs/LICENSE +15 -0
  62. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/graceful-fs/clone.js +23 -0
  63. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/graceful-fs/graceful-fs.js +448 -0
  64. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/graceful-fs/legacy-streams.js +118 -0
  65. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/graceful-fs/package.json +53 -0
  66. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/graceful-fs/polyfills.js +355 -0
  67. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/isexe/dist/commonjs/index.js +56 -0
  68. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/isexe/dist/commonjs/index.min.js +2 -0
  69. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/isexe/dist/commonjs/options.js +3 -0
  70. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/isexe/dist/commonjs/package.json +3 -0
  71. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/isexe/dist/commonjs/posix.js +67 -0
  72. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/isexe/dist/commonjs/win32.js +63 -0
  73. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/isexe/dist/esm/index.js +16 -0
  74. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/isexe/dist/esm/index.min.js +2 -0
  75. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/isexe/dist/esm/options.js +2 -0
  76. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/isexe/dist/esm/package.json +3 -0
  77. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/isexe/dist/esm/posix.js +62 -0
  78. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/isexe/dist/esm/win32.js +58 -0
  79. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/isexe/package.json +78 -0
  80. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/minipass/dist/commonjs/index.js +1038 -0
  81. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/minipass/dist/commonjs/package.json +3 -0
  82. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/minipass/dist/esm/index.js +1020 -0
  83. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/minipass/dist/esm/package.json +3 -0
  84. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/minipass/package.json +77 -0
  85. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/minizlib/LICENSE +26 -0
  86. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/minizlib/dist/commonjs/constants.js +123 -0
  87. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/minizlib/dist/commonjs/index.js +416 -0
  88. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/minizlib/dist/commonjs/package.json +3 -0
  89. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/minizlib/dist/esm/constants.js +117 -0
  90. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/minizlib/dist/esm/index.js +363 -0
  91. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/minizlib/dist/esm/package.json +3 -0
  92. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/minizlib/package.json +80 -0
  93. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/node-gyp/.release-please-manifest.json +3 -0
  94. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/node-gyp/LICENSE +24 -0
  95. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/node-gyp/addon.gypi +204 -0
  96. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/node-gyp/bin/node-gyp.js +145 -0
  97. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/node-gyp/eslint.config.js +3 -0
  98. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/node-gyp/gyp/.release-please-manifest.json +3 -0
  99. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/node-gyp/gyp/LICENSE +28 -0
  100. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/node-gyp/gyp/data/ninja/build.ninja +4 -0
  101. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/node-gyp/gyp/data/win/large-pdb-shim.cc +12 -0
  102. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/node-gyp/gyp/gyp +8 -0
  103. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/node-gyp/gyp/gyp.bat +5 -0
  104. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/node-gyp/gyp/gyp_main.py +45 -0
  105. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/node-gyp/gyp/pylib/gyp/MSVSNew.py +365 -0
  106. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/node-gyp/gyp/pylib/gyp/MSVSProject.py +206 -0
  107. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/node-gyp/gyp/pylib/gyp/MSVSSettings.py +1283 -0
  108. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/node-gyp/gyp/pylib/gyp/MSVSSettings_test.py +1545 -0
  109. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/node-gyp/gyp/pylib/gyp/MSVSToolFile.py +59 -0
  110. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/node-gyp/gyp/pylib/gyp/MSVSUserFile.py +152 -0
  111. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/node-gyp/gyp/pylib/gyp/MSVSUtil.py +270 -0
  112. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/node-gyp/gyp/pylib/gyp/MSVSVersion.py +607 -0
  113. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/node-gyp/gyp/pylib/gyp/__init__.py +706 -0
  114. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/node-gyp/gyp/pylib/gyp/common.py +725 -0
  115. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/node-gyp/gyp/pylib/gyp/common_test.py +186 -0
  116. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/node-gyp/gyp/pylib/gyp/easy_xml.py +170 -0
  117. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/node-gyp/gyp/pylib/gyp/easy_xml_test.py +113 -0
  118. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/node-gyp/gyp/pylib/gyp/flock_tool.py +55 -0
  119. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/node-gyp/gyp/pylib/gyp/generator/__init__.py +0 -0
  120. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/node-gyp/gyp/pylib/gyp/generator/analyzer.py +805 -0
  121. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/node-gyp/gyp/pylib/gyp/generator/android.py +1169 -0
  122. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/node-gyp/gyp/pylib/gyp/generator/cmake.py +1316 -0
  123. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/node-gyp/gyp/pylib/gyp/generator/compile_commands_json.py +128 -0
  124. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/node-gyp/gyp/pylib/gyp/generator/dump_dependency_json.py +104 -0
  125. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/node-gyp/gyp/pylib/gyp/generator/eclipse.py +461 -0
  126. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/node-gyp/gyp/pylib/gyp/generator/gypd.py +88 -0
  127. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/node-gyp/gyp/pylib/gyp/generator/gypsh.py +55 -0
  128. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/node-gyp/gyp/pylib/gyp/generator/make.py +2755 -0
  129. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/node-gyp/gyp/pylib/gyp/generator/msvs.py +3970 -0
  130. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/node-gyp/gyp/pylib/gyp/generator/msvs_test.py +44 -0
  131. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/node-gyp/gyp/pylib/gyp/generator/ninja.py +2957 -0
  132. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/node-gyp/gyp/pylib/gyp/generator/ninja_test.py +77 -0
  133. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/node-gyp/gyp/pylib/gyp/generator/xcode.py +1389 -0
  134. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/node-gyp/gyp/pylib/gyp/generator/xcode_test.py +26 -0
  135. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/node-gyp/gyp/pylib/gyp/input.py +3097 -0
  136. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/node-gyp/gyp/pylib/gyp/input_test.py +99 -0
  137. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/node-gyp/gyp/pylib/gyp/mac_tool.py +765 -0
  138. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/node-gyp/gyp/pylib/gyp/msvs_emulation.py +1255 -0
  139. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/node-gyp/gyp/pylib/gyp/ninja_syntax.py +174 -0
  140. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/node-gyp/gyp/pylib/gyp/simple_copy.py +61 -0
  141. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/node-gyp/gyp/pylib/gyp/win_tool.py +371 -0
  142. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py +1936 -0
  143. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation_test.py +54 -0
  144. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/node-gyp/gyp/pylib/gyp/xcode_ninja.py +301 -0
  145. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/node-gyp/gyp/pylib/gyp/xcodeproj_file.py +3180 -0
  146. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/node-gyp/gyp/pylib/gyp/xml_fix.py +64 -0
  147. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/node-gyp/gyp/pylib/packaging/LICENSE +3 -0
  148. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/node-gyp/gyp/pylib/packaging/LICENSE.APACHE +177 -0
  149. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/node-gyp/gyp/pylib/packaging/LICENSE.BSD +23 -0
  150. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/node-gyp/gyp/pylib/packaging/__init__.py +15 -0
  151. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/node-gyp/gyp/pylib/packaging/_elffile.py +107 -0
  152. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/node-gyp/gyp/pylib/packaging/_manylinux.py +252 -0
  153. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/node-gyp/gyp/pylib/packaging/_musllinux.py +83 -0
  154. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/node-gyp/gyp/pylib/packaging/_parser.py +359 -0
  155. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/node-gyp/gyp/pylib/packaging/_structures.py +61 -0
  156. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/node-gyp/gyp/pylib/packaging/_tokenizer.py +192 -0
  157. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/node-gyp/gyp/pylib/packaging/markers.py +251 -0
  158. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/node-gyp/gyp/pylib/packaging/metadata.py +807 -0
  159. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/node-gyp/gyp/pylib/packaging/py.typed +0 -0
  160. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/node-gyp/gyp/pylib/packaging/requirements.py +90 -0
  161. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/node-gyp/gyp/pylib/packaging/specifiers.py +1030 -0
  162. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/node-gyp/gyp/pylib/packaging/tags.py +541 -0
  163. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/node-gyp/gyp/pylib/packaging/utils.py +172 -0
  164. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/node-gyp/gyp/pylib/packaging/version.py +563 -0
  165. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/node-gyp/gyp/pyproject.toml +116 -0
  166. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/node-gyp/gyp/release-please-config.json +11 -0
  167. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/node-gyp/gyp/test_gyp.py +260 -0
  168. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/node-gyp/lib/Find-VisualStudio.cs +250 -0
  169. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/node-gyp/lib/build.js +230 -0
  170. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/node-gyp/lib/clean.js +15 -0
  171. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/node-gyp/lib/configure.js +328 -0
  172. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/node-gyp/lib/create-config-gypi.js +153 -0
  173. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/node-gyp/lib/download.js +86 -0
  174. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/node-gyp/lib/find-node-directory.js +63 -0
  175. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/node-gyp/lib/find-python.js +304 -0
  176. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/node-gyp/lib/find-visualstudio.js +606 -0
  177. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/node-gyp/lib/install.js +411 -0
  178. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/node-gyp/lib/list.js +26 -0
  179. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/node-gyp/lib/log.js +168 -0
  180. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/node-gyp/lib/node-gyp.js +199 -0
  181. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/node-gyp/lib/process-release.js +144 -0
  182. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/node-gyp/lib/rebuild.js +12 -0
  183. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/node-gyp/lib/remove.js +43 -0
  184. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/node-gyp/lib/util.js +81 -0
  185. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/node-gyp/macOS_Catalina_acid_test.sh +21 -0
  186. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/node-gyp/package.json +52 -0
  187. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/node-gyp/release-please-config.json +40 -0
  188. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/node-gyp/src/win_delay_load_hook.cc +41 -0
  189. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/nopt/LICENSE +15 -0
  190. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/nopt/bin/nopt.js +29 -0
  191. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/nopt/lib/debug.js +5 -0
  192. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/nopt/lib/nopt-lib.js +514 -0
  193. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/nopt/lib/nopt.js +34 -0
  194. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/nopt/lib/type-defs.js +91 -0
  195. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/nopt/package.json +52 -0
  196. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/picomatch/LICENSE +21 -0
  197. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/picomatch/index.js +17 -0
  198. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/picomatch/lib/constants.js +184 -0
  199. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/picomatch/lib/parse.js +1425 -0
  200. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/picomatch/lib/picomatch.js +361 -0
  201. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/picomatch/lib/scan.js +403 -0
  202. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/picomatch/lib/utils.js +72 -0
  203. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/picomatch/package.json +83 -0
  204. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/picomatch/posix.js +3 -0
  205. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/proc-log/LICENSE +15 -0
  206. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/proc-log/lib/index.js +158 -0
  207. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/proc-log/package.json +46 -0
  208. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/semver/LICENSE +15 -0
  209. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/semver/bin/semver.js +195 -0
  210. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/semver/classes/comparator.js +143 -0
  211. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/semver/classes/index.js +7 -0
  212. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/semver/classes/range.js +577 -0
  213. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/semver/classes/semver.js +350 -0
  214. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/semver/functions/clean.js +8 -0
  215. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/semver/functions/cmp.js +54 -0
  216. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/semver/functions/coerce.js +62 -0
  217. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/semver/functions/compare-build.js +9 -0
  218. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/semver/functions/compare-loose.js +5 -0
  219. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/semver/functions/compare.js +7 -0
  220. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/semver/functions/diff.js +60 -0
  221. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/semver/functions/eq.js +5 -0
  222. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/semver/functions/gt.js +5 -0
  223. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/semver/functions/gte.js +5 -0
  224. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/semver/functions/inc.js +21 -0
  225. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/semver/functions/lt.js +5 -0
  226. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/semver/functions/lte.js +5 -0
  227. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/semver/functions/major.js +5 -0
  228. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/semver/functions/minor.js +5 -0
  229. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/semver/functions/neq.js +5 -0
  230. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/semver/functions/parse.js +18 -0
  231. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/semver/functions/patch.js +5 -0
  232. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/semver/functions/prerelease.js +8 -0
  233. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/semver/functions/rcompare.js +5 -0
  234. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/semver/functions/rsort.js +5 -0
  235. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/semver/functions/satisfies.js +12 -0
  236. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/semver/functions/sort.js +5 -0
  237. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/semver/functions/truncate.js +48 -0
  238. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/semver/functions/valid.js +8 -0
  239. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/semver/index.js +93 -0
  240. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/semver/internal/constants.js +37 -0
  241. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/semver/internal/debug.js +11 -0
  242. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/semver/internal/identifiers.js +29 -0
  243. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/semver/internal/lrucache.js +42 -0
  244. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/semver/internal/parse-options.js +17 -0
  245. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/semver/internal/re.js +223 -0
  246. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/semver/package.json +78 -0
  247. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/semver/preload.js +4 -0
  248. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/semver/range.bnf +17 -0
  249. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/semver/ranges/gtr.js +6 -0
  250. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/semver/ranges/intersects.js +9 -0
  251. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/semver/ranges/ltr.js +6 -0
  252. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/semver/ranges/max-satisfying.js +27 -0
  253. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/semver/ranges/min-satisfying.js +26 -0
  254. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/semver/ranges/min-version.js +63 -0
  255. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/semver/ranges/outside.js +82 -0
  256. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/semver/ranges/simplify.js +49 -0
  257. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/semver/ranges/subset.js +249 -0
  258. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/semver/ranges/to-comparators.js +10 -0
  259. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/semver/ranges/valid.js +13 -0
  260. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/tar/dist/commonjs/create.js +82 -0
  261. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/tar/dist/commonjs/cwd-error.js +18 -0
  262. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/tar/dist/commonjs/extract.js +88 -0
  263. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/tar/dist/commonjs/get-write-flag.js +32 -0
  264. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/tar/dist/commonjs/header.js +348 -0
  265. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/tar/dist/commonjs/index.js +64 -0
  266. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/tar/dist/commonjs/index.min.js +4 -0
  267. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/tar/dist/commonjs/large-numbers.js +99 -0
  268. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/tar/dist/commonjs/list.js +153 -0
  269. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/tar/dist/commonjs/make-command.js +52 -0
  270. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/tar/dist/commonjs/mkdir.js +187 -0
  271. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/tar/dist/commonjs/mode-fix.js +29 -0
  272. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/tar/dist/commonjs/normalize-unicode.js +38 -0
  273. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/tar/dist/commonjs/normalize-windows-path.js +12 -0
  274. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/tar/dist/commonjs/options.js +66 -0
  275. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/tar/dist/commonjs/pack.js +544 -0
  276. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/tar/dist/commonjs/package.json +3 -0
  277. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/tar/dist/commonjs/parse.js +655 -0
  278. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/tar/dist/commonjs/path-reservations.js +170 -0
  279. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/tar/dist/commonjs/pax.js +182 -0
  280. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/tar/dist/commonjs/process-umask.js +7 -0
  281. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/tar/dist/commonjs/read-entry.js +136 -0
  282. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/tar/dist/commonjs/replace.js +227 -0
  283. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/tar/dist/commonjs/strip-absolute-path.js +29 -0
  284. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/tar/dist/commonjs/strip-trailing-slashes.js +18 -0
  285. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/tar/dist/commonjs/symlink-error.js +19 -0
  286. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/tar/dist/commonjs/types.js +70 -0
  287. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/tar/dist/commonjs/unpack.js +932 -0
  288. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/tar/dist/commonjs/update.js +33 -0
  289. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/tar/dist/commonjs/warn-method.js +31 -0
  290. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/tar/dist/commonjs/winchars.js +14 -0
  291. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/tar/dist/commonjs/write-entry.js +698 -0
  292. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/tar/dist/esm/create.js +76 -0
  293. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/tar/dist/esm/cwd-error.js +14 -0
  294. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/tar/dist/esm/extract.js +49 -0
  295. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/tar/dist/esm/get-write-flag.js +26 -0
  296. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/tar/dist/esm/header.js +311 -0
  297. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/tar/dist/esm/index.js +20 -0
  298. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/tar/dist/esm/index.min.js +4 -0
  299. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/tar/dist/esm/large-numbers.js +94 -0
  300. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/tar/dist/esm/list.js +113 -0
  301. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/tar/dist/esm/make-command.js +48 -0
  302. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/tar/dist/esm/mkdir.js +179 -0
  303. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/tar/dist/esm/mode-fix.js +25 -0
  304. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/tar/dist/esm/normalize-unicode.js +34 -0
  305. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/tar/dist/esm/normalize-windows-path.js +9 -0
  306. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/tar/dist/esm/options.js +54 -0
  307. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/tar/dist/esm/pack.js +502 -0
  308. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/tar/dist/esm/package.json +3 -0
  309. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/tar/dist/esm/parse.js +651 -0
  310. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/tar/dist/esm/path-reservations.js +166 -0
  311. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/tar/dist/esm/pax.js +178 -0
  312. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/tar/dist/esm/process-umask.js +3 -0
  313. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/tar/dist/esm/read-entry.js +132 -0
  314. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/tar/dist/esm/replace.js +221 -0
  315. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/tar/dist/esm/strip-absolute-path.js +25 -0
  316. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/tar/dist/esm/strip-trailing-slashes.js +14 -0
  317. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/tar/dist/esm/symlink-error.js +15 -0
  318. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/tar/dist/esm/types.js +65 -0
  319. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/tar/dist/esm/unpack.js +891 -0
  320. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/tar/dist/esm/update.js +30 -0
  321. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/tar/dist/esm/warn-method.js +27 -0
  322. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/tar/dist/esm/winchars.js +9 -0
  323. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/tar/dist/esm/write-entry.js +656 -0
  324. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/tar/package.json +298 -0
  325. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/tinyglobby/LICENSE +21 -0
  326. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/tinyglobby/dist/index.cjs +335 -0
  327. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/tinyglobby/dist/index.d.cts +148 -0
  328. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/tinyglobby/dist/index.d.mts +148 -0
  329. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/tinyglobby/dist/index.mjs +307 -0
  330. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/tinyglobby/package.json +70 -0
  331. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/undici/LICENSE +21 -0
  332. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/undici/index-fetch.js +35 -0
  333. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/undici/index.js +169 -0
  334. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/undici/lib/api/abort-signal.js +57 -0
  335. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/undici/lib/api/api-connect.js +108 -0
  336. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/undici/lib/api/api-pipeline.js +251 -0
  337. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/undici/lib/api/api-request.js +214 -0
  338. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/undici/lib/api/api-stream.js +220 -0
  339. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/undici/lib/api/api-upgrade.js +108 -0
  340. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/undici/lib/api/index.js +7 -0
  341. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/undici/lib/api/readable.js +385 -0
  342. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/undici/lib/api/util.js +93 -0
  343. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/undici/lib/core/connect.js +240 -0
  344. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/undici/lib/core/constants.js +118 -0
  345. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/undici/lib/core/diagnostics.js +202 -0
  346. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/undici/lib/core/errors.js +425 -0
  347. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/undici/lib/core/request.js +482 -0
  348. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/undici/lib/core/symbols.js +67 -0
  349. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/undici/lib/core/tree.js +152 -0
  350. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/undici/lib/core/util.js +719 -0
  351. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/undici/lib/dispatcher/agent.js +133 -0
  352. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/undici/lib/dispatcher/balanced-pool.js +209 -0
  353. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/undici/lib/dispatcher/client-h1.js +1513 -0
  354. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/undici/lib/dispatcher/client-h2.js +792 -0
  355. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/undici/lib/dispatcher/client.js +624 -0
  356. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/undici/lib/dispatcher/dispatcher-base.js +208 -0
  357. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/undici/lib/dispatcher/dispatcher.js +65 -0
  358. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/undici/lib/dispatcher/env-http-proxy-agent.js +160 -0
  359. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/undici/lib/dispatcher/fixed-queue.js +117 -0
  360. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/undici/lib/dispatcher/pool-base.js +194 -0
  361. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/undici/lib/dispatcher/pool-stats.js +34 -0
  362. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/undici/lib/dispatcher/pool.js +107 -0
  363. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/undici/lib/dispatcher/proxy-agent.js +274 -0
  364. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/undici/lib/dispatcher/retry-agent.js +35 -0
  365. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/undici/lib/global.js +32 -0
  366. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/undici/lib/handler/decorator-handler.js +44 -0
  367. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/undici/lib/handler/redirect-handler.js +232 -0
  368. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/undici/lib/handler/retry-handler.js +437 -0
  369. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/undici/lib/interceptor/dns.js +375 -0
  370. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/undici/lib/interceptor/dump.js +123 -0
  371. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/undici/lib/interceptor/redirect-interceptor.js +21 -0
  372. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/undici/lib/interceptor/redirect.js +24 -0
  373. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/undici/lib/interceptor/response-error.js +86 -0
  374. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/undici/lib/interceptor/retry.js +19 -0
  375. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/undici/lib/llhttp/.gitkeep +0 -0
  376. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/undici/lib/llhttp/constants.js +278 -0
  377. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/undici/lib/llhttp/llhttp-wasm.js +5 -0
  378. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/undici/lib/llhttp/llhttp_simd-wasm.js +5 -0
  379. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/undici/lib/llhttp/utils.js +15 -0
  380. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/undici/lib/mock/mock-agent.js +160 -0
  381. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/undici/lib/mock/mock-client.js +59 -0
  382. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/undici/lib/mock/mock-errors.js +28 -0
  383. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/undici/lib/mock/mock-interceptor.js +207 -0
  384. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/undici/lib/mock/mock-pool.js +59 -0
  385. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/undici/lib/mock/mock-symbols.js +23 -0
  386. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/undici/lib/mock/mock-utils.js +367 -0
  387. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/undici/lib/mock/pending-interceptors-formatter.js +43 -0
  388. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/undici/lib/mock/pluralizer.js +29 -0
  389. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/undici/lib/util/timers.js +423 -0
  390. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/undici/lib/web/cache/cache.js +859 -0
  391. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/undici/lib/web/cache/cachestorage.js +152 -0
  392. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/undici/lib/web/cache/symbols.js +5 -0
  393. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/undici/lib/web/cache/util.js +45 -0
  394. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/undici/lib/web/cookies/constants.js +12 -0
  395. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/undici/lib/web/cookies/index.js +184 -0
  396. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/undici/lib/web/cookies/parse.js +310 -0
  397. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/undici/lib/web/cookies/util.js +352 -0
  398. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/undici/lib/web/eventsource/eventsource-stream.js +574 -0
  399. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/undici/lib/web/eventsource/eventsource.js +483 -0
  400. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/undici/lib/web/eventsource/util.js +37 -0
  401. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/undici/lib/web/fetch/LICENSE +21 -0
  402. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/undici/lib/web/fetch/body.js +529 -0
  403. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/undici/lib/web/fetch/constants.js +124 -0
  404. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/undici/lib/web/fetch/data-url.js +744 -0
  405. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/undici/lib/web/fetch/dispatcher-weakref.js +46 -0
  406. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/undici/lib/web/fetch/file.js +126 -0
  407. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/undici/lib/web/fetch/formdata-parser.js +474 -0
  408. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/undici/lib/web/fetch/formdata.js +252 -0
  409. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/undici/lib/web/fetch/global.js +40 -0
  410. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/undici/lib/web/fetch/headers.js +687 -0
  411. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/undici/lib/web/fetch/index.js +2270 -0
  412. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/undici/lib/web/fetch/request.js +1037 -0
  413. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/undici/lib/web/fetch/response.js +610 -0
  414. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/undici/lib/web/fetch/symbols.js +9 -0
  415. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/undici/lib/web/fetch/util.js +1632 -0
  416. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/undici/lib/web/fetch/webidl.js +695 -0
  417. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/undici/lib/web/fileapi/encoding.js +290 -0
  418. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/undici/lib/web/fileapi/filereader.js +344 -0
  419. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/undici/lib/web/fileapi/progressevent.js +78 -0
  420. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/undici/lib/web/fileapi/symbols.js +10 -0
  421. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/undici/lib/web/fileapi/util.js +391 -0
  422. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/undici/lib/web/websocket/connection.js +371 -0
  423. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/undici/lib/web/websocket/constants.js +66 -0
  424. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/undici/lib/web/websocket/events.js +329 -0
  425. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/undici/lib/web/websocket/frame.js +96 -0
  426. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/undici/lib/web/websocket/permessage-deflate.js +105 -0
  427. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/undici/lib/web/websocket/receiver.js +527 -0
  428. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/undici/lib/web/websocket/sender.js +104 -0
  429. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/undici/lib/web/websocket/symbols.js +12 -0
  430. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/undici/lib/web/websocket/util.js +322 -0
  431. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/undici/lib/web/websocket/websocket.js +595 -0
  432. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/undici/package.json +160 -0
  433. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/undici/scripts/strip-comments.js +8 -0
  434. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/v8-compile-cache/LICENSE +21 -0
  435. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/v8-compile-cache/package.json +34 -0
  436. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/v8-compile-cache/v8-compile-cache.js +373 -0
  437. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/which/LICENSE +15 -0
  438. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/which/bin/which.js +52 -0
  439. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/which/lib/index.js +111 -0
  440. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/which/package.json +52 -0
  441. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/yallist/dist/commonjs/index.js +384 -0
  442. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/yallist/dist/commonjs/package.json +3 -0
  443. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/yallist/dist/esm/index.js +379 -0
  444. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/yallist/dist/esm/package.json +3 -0
  445. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/node_modules/yallist/package.json +68 -0
  446. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/pnpm.mjs +373687 -0
  447. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/pnpmrc +2 -0
  448. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/templates/completion.bash +31 -0
  449. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/templates/completion.fish +22 -0
  450. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/templates/completion.ps1 +193 -0
  451. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/templates/completion.zsh +27 -0
  452. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/vendor/fastlist-0.3.0-x64.exe +0 -0
  453. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/vendor/fastlist-0.3.0-x86.exe +0 -0
  454. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/dist/worker.js +18825 -0
  455. package/dotpi_root/dist/@dotpi/module/node_modules/pnpm/package.json +91 -0
  456. package/dotpi_root/dist/@dotpi/module/package.json +3 -3
  457. package/dotpi_root/dist/@dotpi/module/src/pnpm.js +2 -1
  458. package/dotpi_root/dist/@dotpi/module/src/uninstall.js +1 -2
  459. package/dotpi_root/dist/@dotpi/module-module/package.json +3 -3
  460. package/dotpi_root/etc/dotpi_environment_default.bash +1 -4
  461. package/dotpi_root/share/dotpi_functions/dotpi_functions_audio_device.bash +37 -3
  462. package/package.json +3 -3
@@ -0,0 +1,792 @@
1
+ 'use strict'
2
+
3
+ const assert = require('node:assert')
4
+ const { errorMonitor } = require('node:events')
5
+ const { pipeline } = require('node:stream')
6
+ const util = require('../core/util.js')
7
+ const {
8
+ RequestContentLengthMismatchError,
9
+ RequestAbortedError,
10
+ SocketError,
11
+ InformationalError
12
+ } = require('../core/errors.js')
13
+ const {
14
+ kUrl,
15
+ kReset,
16
+ kClient,
17
+ kRunning,
18
+ kPending,
19
+ kQueue,
20
+ kPendingIdx,
21
+ kRunningIdx,
22
+ kError,
23
+ kSocket,
24
+ kStrictContentLength,
25
+ kOnError,
26
+ kMaxConcurrentStreams,
27
+ kHTTP2Session,
28
+ kResume,
29
+ kSize,
30
+ kHTTPContext
31
+ } = require('../core/symbols.js')
32
+
33
+ const kOpenStreams = Symbol('open streams')
34
+
35
+ let extractBody
36
+
37
+ // Experimental
38
+ let h2ExperimentalWarned = false
39
+
40
+ /** @type {import('http2')} */
41
+ let http2
42
+ try {
43
+ http2 = require('node:http2')
44
+ } catch {
45
+ // @ts-ignore
46
+ http2 = { constants: {} }
47
+ }
48
+
49
+ const {
50
+ constants: {
51
+ HTTP2_HEADER_AUTHORITY,
52
+ HTTP2_HEADER_METHOD,
53
+ HTTP2_HEADER_PATH,
54
+ HTTP2_HEADER_SCHEME,
55
+ HTTP2_HEADER_CONTENT_LENGTH,
56
+ HTTP2_HEADER_EXPECT,
57
+ HTTP2_HEADER_STATUS
58
+ }
59
+ } = http2
60
+
61
+ function parseH2Headers (headers) {
62
+ const result = []
63
+
64
+ for (const [name, value] of Object.entries(headers)) {
65
+ // h2 may concat the header value by array
66
+ // e.g. Set-Cookie
67
+ if (Array.isArray(value)) {
68
+ for (const subvalue of value) {
69
+ // we need to provide each header value of header name
70
+ // because the headers handler expect name-value pair
71
+ result.push(Buffer.from(name), Buffer.from(subvalue))
72
+ }
73
+ } else {
74
+ result.push(Buffer.from(name), Buffer.from(value))
75
+ }
76
+ }
77
+
78
+ return result
79
+ }
80
+
81
+ /**
82
+ * @param {import('node:http2').IncomingHttpHeaders} headers
83
+ * @returns {Buffer[]}
84
+ */
85
+ function parseH2ResponseHeaders (headers) {
86
+ const { [HTTP2_HEADER_STATUS]: _statusCode, ...realHeaders } = headers
87
+ return parseH2Headers(realHeaders)
88
+ }
89
+
90
+ async function connectH2 (client, socket) {
91
+ client[kSocket] = socket
92
+
93
+ if (!h2ExperimentalWarned) {
94
+ h2ExperimentalWarned = true
95
+ process.emitWarning('H2 support is experimental, expect them to change at any time.', {
96
+ code: 'UNDICI-H2'
97
+ })
98
+ }
99
+
100
+ const session = http2.connect(client[kUrl], {
101
+ createConnection: () => socket,
102
+ peerMaxConcurrentStreams: client[kMaxConcurrentStreams]
103
+ })
104
+
105
+ session[kOpenStreams] = 0
106
+ session[kClient] = client
107
+ session[kSocket] = socket
108
+
109
+ util.addListener(session, 'error', onHttp2SessionError)
110
+ util.addListener(session, 'frameError', onHttp2FrameError)
111
+ util.addListener(session, 'end', onHttp2SessionEnd)
112
+ util.addListener(session, 'goaway', onHTTP2GoAway)
113
+ util.addListener(session, 'close', function () {
114
+ const { [kClient]: client } = this
115
+ const { [kSocket]: socket } = client
116
+
117
+ const err = this[kSocket][kError] || this[kError] || new SocketError('closed', util.getSocketInfo(socket))
118
+
119
+ client[kHTTP2Session] = null
120
+
121
+ if (client.destroyed) {
122
+ assert(client[kPending] === 0)
123
+
124
+ // Fail entire queue.
125
+ const requests = client[kQueue].splice(client[kRunningIdx])
126
+ for (let i = 0; i < requests.length; i++) {
127
+ const request = requests[i]
128
+ util.errorRequest(client, request, err)
129
+ }
130
+ }
131
+ })
132
+
133
+ session.unref()
134
+
135
+ client[kHTTP2Session] = session
136
+ socket[kHTTP2Session] = session
137
+
138
+ util.addListener(socket, 'error', function (err) {
139
+ this[kError] = err
140
+
141
+ this[kClient][kOnError](err)
142
+ })
143
+
144
+ util.addListener(socket, 'end', function () {
145
+ util.destroy(this, new SocketError('other side closed', util.getSocketInfo(this)))
146
+ })
147
+
148
+ util.addListener(socket, 'close', function () {
149
+ const err = this[kError] || new SocketError('closed', util.getSocketInfo(this))
150
+
151
+ client[kSocket] = null
152
+
153
+ if (this[kHTTP2Session] != null) {
154
+ this[kHTTP2Session].destroy(err)
155
+ }
156
+
157
+ client[kPendingIdx] = client[kRunningIdx]
158
+
159
+ assert(client[kRunning] === 0)
160
+
161
+ client.emit('disconnect', client[kUrl], [client], err)
162
+
163
+ client[kResume]()
164
+ })
165
+
166
+ let closed = false
167
+ socket.on('close', () => {
168
+ closed = true
169
+ })
170
+
171
+ return {
172
+ version: 'h2',
173
+ defaultPipelining: Infinity,
174
+ write (...args) {
175
+ return writeH2(client, ...args)
176
+ },
177
+ resume () {
178
+ resumeH2(client)
179
+ },
180
+ destroy (err, callback) {
181
+ if (closed) {
182
+ queueMicrotask(callback)
183
+ } else {
184
+ // Destroying the socket will trigger the session close
185
+ socket.destroy(err).on('close', callback)
186
+ }
187
+ },
188
+ get destroyed () {
189
+ return socket.destroyed
190
+ },
191
+ busy () {
192
+ return false
193
+ }
194
+ }
195
+ }
196
+
197
+ function resumeH2 (client) {
198
+ const socket = client[kSocket]
199
+
200
+ if (socket?.destroyed === false) {
201
+ if (client[kSize] === 0 && client[kMaxConcurrentStreams] === 0) {
202
+ socket.unref()
203
+ client[kHTTP2Session].unref()
204
+ } else {
205
+ socket.ref()
206
+ client[kHTTP2Session].ref()
207
+ }
208
+ }
209
+ }
210
+
211
+ function onHttp2SessionError (err) {
212
+ this[kSocket][kError] = err
213
+ this[kClient][kOnError](err)
214
+ }
215
+
216
+ function onHttp2FrameError (type, code, id) {
217
+ if (id === 0) {
218
+ const err = new InformationalError(`HTTP/2: "frameError" received - type ${type}, code ${code}`)
219
+ this[kSocket][kError] = err
220
+ this[kClient][kOnError](err)
221
+ }
222
+ }
223
+
224
+ function onHttp2SessionEnd () {
225
+ const err = new SocketError('other side closed', util.getSocketInfo(this[kSocket]))
226
+ this.destroy(err)
227
+ util.destroy(this[kSocket], err)
228
+ }
229
+
230
+ /**
231
+ * This is the root cause of #3011
232
+ * We need to handle GOAWAY frames properly, and trigger the session close
233
+ * along with the socket right away
234
+ */
235
+ function onHTTP2GoAway (code) {
236
+ // We cannot recover, so best to close the session and the socket
237
+ const err = this[kError] || new SocketError(`HTTP/2: "GOAWAY" frame received with code ${code}`, util.getSocketInfo(this))
238
+ const client = this[kClient]
239
+
240
+ client[kSocket] = null
241
+ client[kHTTPContext] = null
242
+
243
+ if (this[kHTTP2Session] != null) {
244
+ this[kHTTP2Session].destroy(err)
245
+ this[kHTTP2Session] = null
246
+ }
247
+
248
+ util.destroy(this[kSocket], err)
249
+
250
+ // Fail head of pipeline.
251
+ if (client[kRunningIdx] < client[kQueue].length) {
252
+ const request = client[kQueue][client[kRunningIdx]]
253
+ client[kQueue][client[kRunningIdx]++] = null
254
+ util.errorRequest(client, request, err)
255
+ client[kPendingIdx] = client[kRunningIdx]
256
+ }
257
+
258
+ assert(client[kRunning] === 0)
259
+
260
+ client.emit('disconnect', client[kUrl], [client], err)
261
+
262
+ client[kResume]()
263
+ }
264
+
265
+ // https://www.rfc-editor.org/rfc/rfc7230#section-3.3.2
266
+ function shouldSendContentLength (method) {
267
+ return method !== 'GET' && method !== 'HEAD' && method !== 'OPTIONS' && method !== 'TRACE' && method !== 'CONNECT'
268
+ }
269
+
270
+ function writeH2 (client, request) {
271
+ const session = client[kHTTP2Session]
272
+ const { method, path, host, upgrade, expectContinue, signal, headers: reqHeaders } = request
273
+ let { body } = request
274
+
275
+ if (upgrade) {
276
+ util.errorRequest(client, request, new Error('Upgrade not supported for H2'))
277
+ return false
278
+ }
279
+
280
+ const headers = {}
281
+ for (let n = 0; n < reqHeaders.length; n += 2) {
282
+ const key = reqHeaders[n + 0]
283
+ const val = reqHeaders[n + 1]
284
+
285
+ if (Array.isArray(val)) {
286
+ for (let i = 0; i < val.length; i++) {
287
+ if (headers[key]) {
288
+ headers[key] += `,${val[i]}`
289
+ } else {
290
+ headers[key] = val[i]
291
+ }
292
+ }
293
+ } else {
294
+ headers[key] = val
295
+ }
296
+ }
297
+
298
+ /** @type {import('node:http2').ClientHttp2Stream} */
299
+ let stream
300
+
301
+ const { hostname, port } = client[kUrl]
302
+
303
+ headers[HTTP2_HEADER_AUTHORITY] = host || `${hostname}${port ? `:${port}` : ''}`
304
+ headers[HTTP2_HEADER_METHOD] = method
305
+
306
+ /**
307
+ * @param {Error} [error]
308
+ */
309
+ const abort = (error) => {
310
+ if (request.aborted) {
311
+ return
312
+ }
313
+
314
+ if (request.completed) {
315
+ if (method === 'CONNECT' && stream != null) {
316
+ util.destroy(stream, error || new RequestAbortedError())
317
+ }
318
+ return
319
+ }
320
+
321
+ error = error || new RequestAbortedError()
322
+
323
+ util.errorRequest(client, request, error)
324
+
325
+ if (stream != null) {
326
+ util.destroy(stream, error)
327
+ }
328
+
329
+ // We do not destroy the socket as we can continue using the session
330
+ // the stream get's destroyed and the session remains to create new streams
331
+ util.destroy(body, error)
332
+ client[kQueue][client[kRunningIdx]++] = null
333
+ client[kResume]()
334
+ }
335
+
336
+ try {
337
+ // We are already connected, streams are pending.
338
+ // We can call on connect, and wait for abort
339
+ request.onConnect(abort)
340
+ } catch (err) {
341
+ util.errorRequest(client, request, err)
342
+ }
343
+
344
+ if (request.aborted) {
345
+ return false
346
+ }
347
+
348
+ if (method === 'CONNECT') {
349
+ session.ref()
350
+ // We disabled endStream to allow the user to write to the stream
351
+ stream = session.request(headers, { endStream: false, signal })
352
+ let upgradeResponseFinished = false
353
+
354
+ /**
355
+ * @param {import('node:http2').IncomingHttpHeaders} headers
356
+ */
357
+ const onResponse = (headers) => {
358
+ upgradeResponseFinished = true
359
+ stream.off(errorMonitor, onUpgradeError)
360
+ request.onUpgradeResponse(Number(headers[HTTP2_HEADER_STATUS]), headers, parseH2ResponseHeaders)
361
+ }
362
+
363
+ /**
364
+ * @param {Error} error
365
+ */
366
+ const onUpgradeError = (error) => {
367
+ upgradeResponseFinished = true
368
+ stream.off('response', onResponse)
369
+ request.onUpgradeError(error)
370
+ }
371
+
372
+ const onReady = () => {
373
+ try {
374
+ request.onUpgrade(null, null, stream)
375
+ } catch (error) {
376
+ stream.off('response', onResponse)
377
+ abort(error)
378
+ return
379
+ }
380
+
381
+ if (request.aborted) {
382
+ return
383
+ }
384
+
385
+ stream.off('error', abort)
386
+ stream.once(errorMonitor, onUpgradeError)
387
+ client[kQueue][client[kRunningIdx]++] = null
388
+ }
389
+
390
+ stream.once('response', onResponse)
391
+ stream.once('error', abort)
392
+ ++session[kOpenStreams]
393
+ onReady()
394
+
395
+ stream.once('close', () => {
396
+ if (!upgradeResponseFinished && request.completed) {
397
+ stream.off('response', onResponse)
398
+ stream.off(errorMonitor, onUpgradeError)
399
+ request.onUpgradeError(new InformationalError(`HTTP/2: "stream error" received - code ${stream.rstCode}`))
400
+ }
401
+ session[kOpenStreams] -= 1
402
+ if (session[kOpenStreams] === 0) session.unref()
403
+ })
404
+
405
+ return true
406
+ }
407
+
408
+ // https://tools.ietf.org/html/rfc7540#section-8.3
409
+ // :path and :scheme headers must be omitted when sending CONNECT
410
+
411
+ headers[HTTP2_HEADER_PATH] = path
412
+ headers[HTTP2_HEADER_SCHEME] = 'https'
413
+
414
+ // https://tools.ietf.org/html/rfc7231#section-4.3.1
415
+ // https://tools.ietf.org/html/rfc7231#section-4.3.2
416
+ // https://tools.ietf.org/html/rfc7231#section-4.3.5
417
+
418
+ // Sending a payload body on a request that does not
419
+ // expect it can cause undefined behavior on some
420
+ // servers and corrupt connection state. Do not
421
+ // re-use the connection for further requests.
422
+
423
+ const expectsPayload = (
424
+ method === 'PUT' ||
425
+ method === 'POST' ||
426
+ method === 'PATCH'
427
+ )
428
+
429
+ if (body && typeof body.read === 'function') {
430
+ // Try to read EOF in order to get length.
431
+ body.read(0)
432
+ }
433
+
434
+ let contentLength = util.bodyLength(body)
435
+
436
+ if (util.isFormDataLike(body)) {
437
+ extractBody ??= require('../web/fetch/body.js').extractBody
438
+
439
+ const [bodyStream, contentType] = extractBody(body)
440
+ headers['content-type'] = contentType
441
+
442
+ body = bodyStream.stream
443
+ contentLength = bodyStream.length
444
+ }
445
+
446
+ if (contentLength == null) {
447
+ contentLength = request.contentLength
448
+ }
449
+
450
+ if (contentLength === 0 || !expectsPayload) {
451
+ // https://tools.ietf.org/html/rfc7230#section-3.3.2
452
+ // A user agent SHOULD NOT send a Content-Length header field when
453
+ // the request message does not contain a payload body and the method
454
+ // semantics do not anticipate such a body.
455
+
456
+ contentLength = null
457
+ }
458
+
459
+ // https://github.com/nodejs/undici/issues/2046
460
+ // A user agent may send a Content-Length header with 0 value, this should be allowed.
461
+ if (shouldSendContentLength(method) && contentLength > 0 && request.contentLength != null && request.contentLength !== contentLength) {
462
+ if (client[kStrictContentLength]) {
463
+ util.errorRequest(client, request, new RequestContentLengthMismatchError())
464
+ return false
465
+ }
466
+
467
+ process.emitWarning(new RequestContentLengthMismatchError())
468
+ }
469
+
470
+ if (contentLength != null) {
471
+ assert(body, 'no body must not have content length')
472
+ headers[HTTP2_HEADER_CONTENT_LENGTH] = `${contentLength}`
473
+ }
474
+
475
+ session.ref()
476
+
477
+ const shouldEndStream = method === 'GET' || method === 'HEAD' || body === null
478
+ if (expectContinue) {
479
+ headers[HTTP2_HEADER_EXPECT] = '100-continue'
480
+ stream = session.request(headers, { endStream: shouldEndStream, signal })
481
+
482
+ stream.once('continue', writeBodyH2)
483
+ } else {
484
+ stream = session.request(headers, {
485
+ endStream: shouldEndStream,
486
+ signal
487
+ })
488
+ writeBodyH2()
489
+ }
490
+
491
+ // Increment counter as we have new streams open
492
+ ++session[kOpenStreams]
493
+
494
+ stream.once('response', headers => {
495
+ const { [HTTP2_HEADER_STATUS]: statusCode, ...realHeaders } = headers
496
+ request.onResponseStarted()
497
+
498
+ // Due to the stream nature, it is possible we face a race condition
499
+ // where the stream has been assigned, but the request has been aborted
500
+ // the request remains in-flight and headers hasn't been received yet
501
+ // for those scenarios, best effort is to destroy the stream immediately
502
+ // as there's no value to keep it open.
503
+ if (request.aborted) {
504
+ const err = new RequestAbortedError()
505
+ util.errorRequest(client, request, err)
506
+ util.destroy(stream, err)
507
+ return
508
+ }
509
+
510
+ if (request.onHeaders(Number(statusCode), parseH2Headers(realHeaders), stream.resume.bind(stream), '') === false) {
511
+ stream.pause()
512
+ }
513
+
514
+ stream.on('data', (chunk) => {
515
+ if (request.onData(chunk) === false) {
516
+ stream.pause()
517
+ }
518
+ })
519
+ })
520
+
521
+ stream.once('end', () => {
522
+ // When state is null, it means we haven't consumed body and the stream still do not have
523
+ // a state.
524
+ // Present specially when using pipeline or stream
525
+ if (stream.state?.state == null || stream.state.state < 6) {
526
+ request.onComplete([])
527
+ }
528
+
529
+ if (session[kOpenStreams] === 0) {
530
+ // Stream is closed or half-closed-remote (6), decrement counter and cleanup
531
+ // It does not have sense to continue working with the stream as we do not
532
+ // have yet RST_STREAM support on client-side
533
+
534
+ session.unref()
535
+ }
536
+
537
+ abort(new InformationalError('HTTP/2: stream half-closed (remote)'))
538
+ client[kQueue][client[kRunningIdx]++] = null
539
+ client[kPendingIdx] = client[kRunningIdx]
540
+ client[kResume]()
541
+ })
542
+
543
+ stream.once('close', () => {
544
+ session[kOpenStreams] -= 1
545
+ if (session[kOpenStreams] === 0) {
546
+ session.unref()
547
+ }
548
+ })
549
+
550
+ stream.once('error', function (err) {
551
+ abort(err)
552
+ })
553
+
554
+ stream.once('frameError', (type, code) => {
555
+ abort(new InformationalError(`HTTP/2: "frameError" received - type ${type}, code ${code}`))
556
+ })
557
+
558
+ // stream.on('aborted', () => {
559
+ // // TODO(HTTP/2): Support aborted
560
+ // })
561
+
562
+ // stream.on('timeout', () => {
563
+ // // TODO(HTTP/2): Support timeout
564
+ // })
565
+
566
+ // stream.on('push', headers => {
567
+ // // TODO(HTTP/2): Support push
568
+ // })
569
+
570
+ // stream.on('trailers', headers => {
571
+ // // TODO(HTTP/2): Support trailers
572
+ // })
573
+
574
+ return true
575
+
576
+ function writeBodyH2 () {
577
+ /* istanbul ignore else: assertion */
578
+ if (!body || contentLength === 0) {
579
+ writeBuffer(
580
+ abort,
581
+ stream,
582
+ null,
583
+ client,
584
+ request,
585
+ client[kSocket],
586
+ contentLength,
587
+ expectsPayload
588
+ )
589
+ } else if (util.isBuffer(body)) {
590
+ writeBuffer(
591
+ abort,
592
+ stream,
593
+ body,
594
+ client,
595
+ request,
596
+ client[kSocket],
597
+ contentLength,
598
+ expectsPayload
599
+ )
600
+ } else if (util.isBlobLike(body)) {
601
+ if (typeof body.stream === 'function') {
602
+ writeIterable(
603
+ abort,
604
+ stream,
605
+ body.stream(),
606
+ client,
607
+ request,
608
+ client[kSocket],
609
+ contentLength,
610
+ expectsPayload
611
+ )
612
+ } else {
613
+ writeBlob(
614
+ abort,
615
+ stream,
616
+ body,
617
+ client,
618
+ request,
619
+ client[kSocket],
620
+ contentLength,
621
+ expectsPayload
622
+ )
623
+ }
624
+ } else if (util.isStream(body)) {
625
+ writeStream(
626
+ abort,
627
+ client[kSocket],
628
+ expectsPayload,
629
+ stream,
630
+ body,
631
+ client,
632
+ request,
633
+ contentLength
634
+ )
635
+ } else if (util.isIterable(body)) {
636
+ writeIterable(
637
+ abort,
638
+ stream,
639
+ body,
640
+ client,
641
+ request,
642
+ client[kSocket],
643
+ contentLength,
644
+ expectsPayload
645
+ )
646
+ } else {
647
+ assert(false)
648
+ }
649
+ }
650
+ }
651
+
652
+ function writeBuffer (abort, h2stream, body, client, request, socket, contentLength, expectsPayload) {
653
+ try {
654
+ if (body != null && util.isBuffer(body)) {
655
+ assert(contentLength === body.byteLength, 'buffer body must have content length')
656
+ h2stream.cork()
657
+ h2stream.write(body)
658
+ h2stream.uncork()
659
+ h2stream.end()
660
+
661
+ request.onBodySent(body)
662
+ }
663
+
664
+ if (!expectsPayload) {
665
+ socket[kReset] = true
666
+ }
667
+
668
+ request.onRequestSent()
669
+ client[kResume]()
670
+ } catch (error) {
671
+ abort(error)
672
+ }
673
+ }
674
+
675
+ function writeStream (abort, socket, expectsPayload, h2stream, body, client, request, contentLength) {
676
+ assert(contentLength !== 0 || client[kRunning] === 0, 'stream body cannot be pipelined')
677
+
678
+ // For HTTP/2, is enough to pipe the stream
679
+ const pipe = pipeline(
680
+ body,
681
+ h2stream,
682
+ (err) => {
683
+ if (err) {
684
+ util.destroy(pipe, err)
685
+ abort(err)
686
+ } else {
687
+ util.removeAllListeners(pipe)
688
+ request.onRequestSent()
689
+
690
+ if (!expectsPayload) {
691
+ socket[kReset] = true
692
+ }
693
+
694
+ client[kResume]()
695
+ }
696
+ }
697
+ )
698
+
699
+ util.addListener(pipe, 'data', onPipeData)
700
+
701
+ function onPipeData (chunk) {
702
+ request.onBodySent(chunk)
703
+ }
704
+ }
705
+
706
+ async function writeBlob (abort, h2stream, body, client, request, socket, contentLength, expectsPayload) {
707
+ assert(contentLength === body.size, 'blob body must have content length')
708
+
709
+ try {
710
+ if (contentLength != null && contentLength !== body.size) {
711
+ throw new RequestContentLengthMismatchError()
712
+ }
713
+
714
+ const buffer = Buffer.from(await body.arrayBuffer())
715
+
716
+ h2stream.cork()
717
+ h2stream.write(buffer)
718
+ h2stream.uncork()
719
+ h2stream.end()
720
+
721
+ request.onBodySent(buffer)
722
+ request.onRequestSent()
723
+
724
+ if (!expectsPayload) {
725
+ socket[kReset] = true
726
+ }
727
+
728
+ client[kResume]()
729
+ } catch (err) {
730
+ abort(err)
731
+ }
732
+ }
733
+
734
+ async function writeIterable (abort, h2stream, body, client, request, socket, contentLength, expectsPayload) {
735
+ assert(contentLength !== 0 || client[kRunning] === 0, 'iterator body cannot be pipelined')
736
+
737
+ let callback = null
738
+ function onDrain () {
739
+ if (callback) {
740
+ const cb = callback
741
+ callback = null
742
+ cb()
743
+ }
744
+ }
745
+
746
+ const waitForDrain = () => new Promise((resolve, reject) => {
747
+ assert(callback === null)
748
+
749
+ if (socket[kError]) {
750
+ reject(socket[kError])
751
+ } else {
752
+ callback = resolve
753
+ }
754
+ })
755
+
756
+ h2stream
757
+ .on('close', onDrain)
758
+ .on('drain', onDrain)
759
+
760
+ try {
761
+ // It's up to the user to somehow abort the async iterable.
762
+ for await (const chunk of body) {
763
+ if (socket[kError]) {
764
+ throw socket[kError]
765
+ }
766
+
767
+ const res = h2stream.write(chunk)
768
+ request.onBodySent(chunk)
769
+ if (!res) {
770
+ await waitForDrain()
771
+ }
772
+ }
773
+
774
+ h2stream.end()
775
+
776
+ request.onRequestSent()
777
+
778
+ if (!expectsPayload) {
779
+ socket[kReset] = true
780
+ }
781
+
782
+ client[kResume]()
783
+ } catch (err) {
784
+ abort(err)
785
+ } finally {
786
+ h2stream
787
+ .off('close', onDrain)
788
+ .off('drain', onDrain)
789
+ }
790
+ }
791
+
792
+ module.exports = connectH2