@happier-dev/relay-server 0.2.6-dev.1778098335.1 → 0.2.11-preview.3

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 (406) hide show
  1. package/bin/happier-server.mjs +13 -21
  2. package/node_modules/@happier-dev/release-runtime/dist/archiveExtraction.d.ts +38 -0
  3. package/node_modules/@happier-dev/release-runtime/dist/archiveExtraction.d.ts.map +1 -0
  4. package/node_modules/@happier-dev/release-runtime/dist/archiveExtraction.js +1123 -0
  5. package/node_modules/@happier-dev/release-runtime/dist/archiveExtraction.js.map +1 -0
  6. package/node_modules/@happier-dev/release-runtime/dist/assets.d.ts.map +1 -1
  7. package/node_modules/@happier-dev/release-runtime/dist/github.d.ts +2 -0
  8. package/node_modules/@happier-dev/release-runtime/dist/github.d.ts.map +1 -1
  9. package/node_modules/@happier-dev/release-runtime/dist/github.js +17 -15
  10. package/node_modules/@happier-dev/release-runtime/dist/github.js.map +1 -1
  11. package/node_modules/@happier-dev/release-runtime/dist/index.d.ts +1 -1
  12. package/node_modules/@happier-dev/release-runtime/dist/index.d.ts.map +1 -1
  13. package/node_modules/@happier-dev/release-runtime/dist/index.js +1 -1
  14. package/node_modules/@happier-dev/release-runtime/dist/index.js.map +1 -1
  15. package/node_modules/@happier-dev/release-runtime/dist/releaseRings.d.ts +3 -2
  16. package/node_modules/@happier-dev/release-runtime/dist/releaseRings.d.ts.map +1 -1
  17. package/node_modules/@happier-dev/release-runtime/dist/releaseRings.js +5 -0
  18. package/node_modules/@happier-dev/release-runtime/dist/releaseRings.js.map +1 -1
  19. package/node_modules/@happier-dev/release-runtime/node_modules/tar/LICENSE.md +55 -0
  20. package/node_modules/@happier-dev/release-runtime/node_modules/tar/README.md +1233 -0
  21. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/create.d.ts +3 -0
  22. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/create.d.ts.map +1 -0
  23. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/create.js +82 -0
  24. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/create.js.map +1 -0
  25. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/cwd-error.d.ts +8 -0
  26. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/cwd-error.d.ts.map +1 -0
  27. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/cwd-error.js +18 -0
  28. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/cwd-error.js.map +1 -0
  29. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/extract.d.ts +3 -0
  30. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/extract.d.ts.map +1 -0
  31. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/extract.js +88 -0
  32. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/extract.js.map +1 -0
  33. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/get-write-flag.d.ts +2 -0
  34. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/get-write-flag.d.ts.map +1 -0
  35. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/get-write-flag.js +32 -0
  36. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/get-write-flag.js.map +1 -0
  37. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/header.d.ts +53 -0
  38. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/header.d.ts.map +1 -0
  39. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/header.js +348 -0
  40. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/header.js.map +1 -0
  41. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/index.d.ts +20 -0
  42. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/index.d.ts.map +1 -0
  43. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/index.js +64 -0
  44. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/index.js.map +1 -0
  45. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/index.min.js +4 -0
  46. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/index.min.js.map +7 -0
  47. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/large-numbers.d.ts +3 -0
  48. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/large-numbers.d.ts.map +1 -0
  49. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/large-numbers.js +99 -0
  50. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/large-numbers.js.map +1 -0
  51. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/list.d.ts +7 -0
  52. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/list.d.ts.map +1 -0
  53. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/list.js +153 -0
  54. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/list.js.map +1 -0
  55. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/make-command.d.ts +49 -0
  56. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/make-command.d.ts.map +1 -0
  57. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/make-command.js +52 -0
  58. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/make-command.js.map +1 -0
  59. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/mkdir.d.ts +25 -0
  60. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/mkdir.d.ts.map +1 -0
  61. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/mkdir.js +187 -0
  62. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/mkdir.js.map +1 -0
  63. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/mode-fix.d.ts +2 -0
  64. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/mode-fix.d.ts.map +1 -0
  65. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/mode-fix.js +29 -0
  66. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/mode-fix.js.map +1 -0
  67. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/normalize-unicode.d.ts +2 -0
  68. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/normalize-unicode.d.ts.map +1 -0
  69. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/normalize-unicode.js +38 -0
  70. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/normalize-unicode.js.map +1 -0
  71. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/normalize-windows-path.d.ts +2 -0
  72. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/normalize-windows-path.d.ts.map +1 -0
  73. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/normalize-windows-path.js +12 -0
  74. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/normalize-windows-path.js.map +1 -0
  75. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/options.d.ts +604 -0
  76. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/options.d.ts.map +1 -0
  77. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/options.js +66 -0
  78. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/options.js.map +1 -0
  79. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/pack.d.ts +105 -0
  80. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/pack.d.ts.map +1 -0
  81. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/pack.js +544 -0
  82. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/pack.js.map +1 -0
  83. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/package.json +3 -0
  84. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/parse.d.ts +92 -0
  85. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/parse.d.ts.map +1 -0
  86. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/parse.js +655 -0
  87. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/parse.js.map +1 -0
  88. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/path-reservations.d.ts +11 -0
  89. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/path-reservations.d.ts.map +1 -0
  90. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/path-reservations.js +170 -0
  91. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/path-reservations.js.map +1 -0
  92. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/pax.d.ts +26 -0
  93. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/pax.d.ts.map +1 -0
  94. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/pax.js +182 -0
  95. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/pax.js.map +1 -0
  96. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/process-umask.d.ts +2 -0
  97. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/process-umask.d.ts.map +1 -0
  98. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/process-umask.js +7 -0
  99. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/process-umask.js.map +1 -0
  100. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/read-entry.d.ts +36 -0
  101. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/read-entry.d.ts.map +1 -0
  102. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/read-entry.js +136 -0
  103. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/read-entry.js.map +1 -0
  104. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/replace.d.ts +2 -0
  105. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/replace.d.ts.map +1 -0
  106. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/replace.js +227 -0
  107. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/replace.js.map +1 -0
  108. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/strip-absolute-path.d.ts +2 -0
  109. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/strip-absolute-path.d.ts.map +1 -0
  110. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/strip-absolute-path.js +29 -0
  111. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/strip-absolute-path.js.map +1 -0
  112. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/strip-trailing-slashes.d.ts +2 -0
  113. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/strip-trailing-slashes.d.ts.map +1 -0
  114. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/strip-trailing-slashes.js +18 -0
  115. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/strip-trailing-slashes.js.map +1 -0
  116. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/symlink-error.d.ts +9 -0
  117. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/symlink-error.d.ts.map +1 -0
  118. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/symlink-error.js +19 -0
  119. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/symlink-error.js.map +1 -0
  120. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/types.d.ts +16 -0
  121. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/types.d.ts.map +1 -0
  122. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/types.js +70 -0
  123. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/types.js.map +1 -0
  124. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/unpack.d.ts +101 -0
  125. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/unpack.d.ts.map +1 -0
  126. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/unpack.js +932 -0
  127. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/unpack.js.map +1 -0
  128. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/update.d.ts +2 -0
  129. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/update.d.ts.map +1 -0
  130. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/update.js +33 -0
  131. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/update.js.map +1 -0
  132. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/warn-method.d.ts +24 -0
  133. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/warn-method.d.ts.map +1 -0
  134. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/warn-method.js +31 -0
  135. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/warn-method.js.map +1 -0
  136. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/winchars.d.ts +3 -0
  137. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/winchars.d.ts.map +1 -0
  138. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/winchars.js +14 -0
  139. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/winchars.js.map +1 -0
  140. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/write-entry.d.ts +129 -0
  141. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/write-entry.d.ts.map +1 -0
  142. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/write-entry.js +698 -0
  143. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/commonjs/write-entry.js.map +1 -0
  144. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/create.d.ts +3 -0
  145. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/create.d.ts.map +1 -0
  146. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/create.js +76 -0
  147. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/create.js.map +1 -0
  148. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/cwd-error.d.ts +8 -0
  149. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/cwd-error.d.ts.map +1 -0
  150. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/cwd-error.js +14 -0
  151. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/cwd-error.js.map +1 -0
  152. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/extract.d.ts +3 -0
  153. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/extract.d.ts.map +1 -0
  154. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/extract.js +49 -0
  155. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/extract.js.map +1 -0
  156. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/get-write-flag.d.ts +2 -0
  157. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/get-write-flag.d.ts.map +1 -0
  158. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/get-write-flag.js +26 -0
  159. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/get-write-flag.js.map +1 -0
  160. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/header.d.ts +53 -0
  161. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/header.d.ts.map +1 -0
  162. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/header.js +311 -0
  163. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/header.js.map +1 -0
  164. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/index.d.ts +20 -0
  165. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/index.d.ts.map +1 -0
  166. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/index.js +20 -0
  167. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/index.js.map +1 -0
  168. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/index.min.js +4 -0
  169. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/index.min.js.map +7 -0
  170. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/large-numbers.d.ts +3 -0
  171. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/large-numbers.d.ts.map +1 -0
  172. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/large-numbers.js +94 -0
  173. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/large-numbers.js.map +1 -0
  174. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/list.d.ts +7 -0
  175. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/list.d.ts.map +1 -0
  176. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/list.js +113 -0
  177. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/list.js.map +1 -0
  178. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/make-command.d.ts +49 -0
  179. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/make-command.d.ts.map +1 -0
  180. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/make-command.js +48 -0
  181. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/make-command.js.map +1 -0
  182. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/mkdir.d.ts +25 -0
  183. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/mkdir.d.ts.map +1 -0
  184. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/mkdir.js +179 -0
  185. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/mkdir.js.map +1 -0
  186. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/mode-fix.d.ts +2 -0
  187. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/mode-fix.d.ts.map +1 -0
  188. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/mode-fix.js +25 -0
  189. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/mode-fix.js.map +1 -0
  190. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/normalize-unicode.d.ts +2 -0
  191. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/normalize-unicode.d.ts.map +1 -0
  192. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/normalize-unicode.js +34 -0
  193. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/normalize-unicode.js.map +1 -0
  194. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/normalize-windows-path.d.ts +2 -0
  195. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/normalize-windows-path.d.ts.map +1 -0
  196. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/normalize-windows-path.js +9 -0
  197. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/normalize-windows-path.js.map +1 -0
  198. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/options.d.ts +604 -0
  199. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/options.d.ts.map +1 -0
  200. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/options.js +54 -0
  201. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/options.js.map +1 -0
  202. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/pack.d.ts +105 -0
  203. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/pack.d.ts.map +1 -0
  204. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/pack.js +502 -0
  205. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/pack.js.map +1 -0
  206. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/package.json +3 -0
  207. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/parse.d.ts +92 -0
  208. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/parse.d.ts.map +1 -0
  209. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/parse.js +651 -0
  210. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/parse.js.map +1 -0
  211. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/path-reservations.d.ts +11 -0
  212. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/path-reservations.d.ts.map +1 -0
  213. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/path-reservations.js +166 -0
  214. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/path-reservations.js.map +1 -0
  215. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/pax.d.ts +26 -0
  216. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/pax.d.ts.map +1 -0
  217. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/pax.js +178 -0
  218. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/pax.js.map +1 -0
  219. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/process-umask.d.ts +2 -0
  220. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/process-umask.d.ts.map +1 -0
  221. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/process-umask.js +3 -0
  222. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/process-umask.js.map +1 -0
  223. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/read-entry.d.ts +36 -0
  224. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/read-entry.d.ts.map +1 -0
  225. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/read-entry.js +132 -0
  226. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/read-entry.js.map +1 -0
  227. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/replace.d.ts +2 -0
  228. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/replace.d.ts.map +1 -0
  229. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/replace.js +221 -0
  230. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/replace.js.map +1 -0
  231. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/strip-absolute-path.d.ts +2 -0
  232. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/strip-absolute-path.d.ts.map +1 -0
  233. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/strip-absolute-path.js +25 -0
  234. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/strip-absolute-path.js.map +1 -0
  235. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/strip-trailing-slashes.d.ts +2 -0
  236. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/strip-trailing-slashes.d.ts.map +1 -0
  237. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/strip-trailing-slashes.js +14 -0
  238. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/strip-trailing-slashes.js.map +1 -0
  239. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/symlink-error.d.ts +9 -0
  240. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/symlink-error.d.ts.map +1 -0
  241. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/symlink-error.js +15 -0
  242. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/symlink-error.js.map +1 -0
  243. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/types.d.ts +16 -0
  244. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/types.d.ts.map +1 -0
  245. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/types.js +65 -0
  246. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/types.js.map +1 -0
  247. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/unpack.d.ts +101 -0
  248. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/unpack.d.ts.map +1 -0
  249. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/unpack.js +891 -0
  250. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/unpack.js.map +1 -0
  251. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/update.d.ts +2 -0
  252. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/update.d.ts.map +1 -0
  253. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/update.js +30 -0
  254. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/update.js.map +1 -0
  255. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/warn-method.d.ts +24 -0
  256. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/warn-method.d.ts.map +1 -0
  257. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/warn-method.js +27 -0
  258. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/warn-method.js.map +1 -0
  259. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/winchars.d.ts +3 -0
  260. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/winchars.d.ts.map +1 -0
  261. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/winchars.js +9 -0
  262. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/winchars.js.map +1 -0
  263. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/write-entry.d.ts +129 -0
  264. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/write-entry.d.ts.map +1 -0
  265. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/write-entry.js +656 -0
  266. package/node_modules/@happier-dev/release-runtime/node_modules/tar/dist/esm/write-entry.js.map +1 -0
  267. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/@isaacs/fs-minipass/LICENSE +15 -0
  268. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/@isaacs/fs-minipass/README.md +71 -0
  269. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/@isaacs/fs-minipass/dist/commonjs/index.d.ts +118 -0
  270. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/@isaacs/fs-minipass/dist/commonjs/index.d.ts.map +1 -0
  271. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/@isaacs/fs-minipass/dist/commonjs/index.js +430 -0
  272. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/@isaacs/fs-minipass/dist/commonjs/index.js.map +1 -0
  273. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/@isaacs/fs-minipass/dist/commonjs/package.json +3 -0
  274. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/@isaacs/fs-minipass/dist/esm/index.d.ts +118 -0
  275. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/@isaacs/fs-minipass/dist/esm/index.d.ts.map +1 -0
  276. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/@isaacs/fs-minipass/dist/esm/index.js +420 -0
  277. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/@isaacs/fs-minipass/dist/esm/index.js.map +1 -0
  278. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/@isaacs/fs-minipass/dist/esm/package.json +3 -0
  279. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/@isaacs/fs-minipass/node_modules/minipass/LICENSE +15 -0
  280. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/@isaacs/fs-minipass/node_modules/minipass/README.md +825 -0
  281. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/@isaacs/fs-minipass/node_modules/minipass/dist/commonjs/index.d.ts +549 -0
  282. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/@isaacs/fs-minipass/node_modules/minipass/dist/commonjs/index.d.ts.map +1 -0
  283. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/@isaacs/fs-minipass/node_modules/minipass/dist/commonjs/index.js +1028 -0
  284. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/@isaacs/fs-minipass/node_modules/minipass/dist/commonjs/index.js.map +1 -0
  285. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/@isaacs/fs-minipass/node_modules/minipass/dist/commonjs/package.json +3 -0
  286. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/@isaacs/fs-minipass/node_modules/minipass/dist/esm/index.d.ts +549 -0
  287. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/@isaacs/fs-minipass/node_modules/minipass/dist/esm/index.d.ts.map +1 -0
  288. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/@isaacs/fs-minipass/node_modules/minipass/dist/esm/index.js +1018 -0
  289. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/@isaacs/fs-minipass/node_modules/minipass/dist/esm/index.js.map +1 -0
  290. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/@isaacs/fs-minipass/node_modules/minipass/dist/esm/package.json +3 -0
  291. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/@isaacs/fs-minipass/node_modules/minipass/package.json +82 -0
  292. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/@isaacs/fs-minipass/package.json +72 -0
  293. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/chownr/LICENSE.md +63 -0
  294. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/chownr/README.md +3 -0
  295. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/chownr/dist/commonjs/index.d.ts +3 -0
  296. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/chownr/dist/commonjs/index.d.ts.map +1 -0
  297. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/chownr/dist/commonjs/index.js +93 -0
  298. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/chownr/dist/commonjs/index.js.map +1 -0
  299. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/chownr/dist/commonjs/package.json +3 -0
  300. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/chownr/dist/esm/index.d.ts +3 -0
  301. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/chownr/dist/esm/index.d.ts.map +1 -0
  302. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/chownr/dist/esm/index.js +85 -0
  303. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/chownr/dist/esm/index.js.map +1 -0
  304. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/chownr/dist/esm/package.json +3 -0
  305. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/chownr/package.json +69 -0
  306. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minipass/LICENSE +15 -0
  307. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minipass/README.md +825 -0
  308. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minipass/dist/commonjs/index.d.ts +549 -0
  309. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minipass/dist/commonjs/index.d.ts.map +1 -0
  310. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minipass/dist/commonjs/index.js +1028 -0
  311. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minipass/dist/commonjs/index.js.map +1 -0
  312. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minipass/dist/commonjs/package.json +3 -0
  313. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minipass/dist/esm/index.d.ts +549 -0
  314. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minipass/dist/esm/index.d.ts.map +1 -0
  315. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minipass/dist/esm/index.js +1018 -0
  316. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minipass/dist/esm/index.js.map +1 -0
  317. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minipass/dist/esm/package.json +3 -0
  318. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minipass/package.json +82 -0
  319. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minizlib/LICENSE +26 -0
  320. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minizlib/README.md +64 -0
  321. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minizlib/dist/commonjs/constants.d.ts +2 -0
  322. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minizlib/dist/commonjs/constants.d.ts.map +1 -0
  323. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minizlib/dist/commonjs/constants.js +123 -0
  324. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minizlib/dist/commonjs/constants.js.map +1 -0
  325. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minizlib/dist/commonjs/index.d.ts +99 -0
  326. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minizlib/dist/commonjs/index.d.ts.map +1 -0
  327. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minizlib/dist/commonjs/index.js +416 -0
  328. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minizlib/dist/commonjs/index.js.map +1 -0
  329. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minizlib/dist/commonjs/package.json +3 -0
  330. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minizlib/dist/esm/constants.d.ts +2 -0
  331. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minizlib/dist/esm/constants.d.ts.map +1 -0
  332. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minizlib/dist/esm/constants.js +117 -0
  333. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minizlib/dist/esm/constants.js.map +1 -0
  334. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minizlib/dist/esm/index.d.ts +99 -0
  335. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minizlib/dist/esm/index.d.ts.map +1 -0
  336. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minizlib/dist/esm/index.js +363 -0
  337. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minizlib/dist/esm/index.js.map +1 -0
  338. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minizlib/dist/esm/package.json +3 -0
  339. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minizlib/node_modules/minipass/LICENSE +15 -0
  340. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minizlib/node_modules/minipass/README.md +825 -0
  341. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minizlib/node_modules/minipass/dist/commonjs/index.d.ts +549 -0
  342. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minizlib/node_modules/minipass/dist/commonjs/index.d.ts.map +1 -0
  343. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minizlib/node_modules/minipass/dist/commonjs/index.js +1028 -0
  344. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minizlib/node_modules/minipass/dist/commonjs/index.js.map +1 -0
  345. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minizlib/node_modules/minipass/dist/commonjs/package.json +3 -0
  346. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minizlib/node_modules/minipass/dist/esm/index.d.ts +549 -0
  347. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minizlib/node_modules/minipass/dist/esm/index.d.ts.map +1 -0
  348. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minizlib/node_modules/minipass/dist/esm/index.js +1018 -0
  349. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minizlib/node_modules/minipass/dist/esm/index.js.map +1 -0
  350. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minizlib/node_modules/minipass/dist/esm/package.json +3 -0
  351. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minizlib/node_modules/minipass/package.json +82 -0
  352. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/minizlib/package.json +80 -0
  353. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/yallist/LICENSE.md +63 -0
  354. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/yallist/README.md +205 -0
  355. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/yallist/dist/commonjs/index.d.ts +39 -0
  356. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/yallist/dist/commonjs/index.d.ts.map +1 -0
  357. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/yallist/dist/commonjs/index.js +384 -0
  358. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/yallist/dist/commonjs/index.js.map +1 -0
  359. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/yallist/dist/commonjs/package.json +3 -0
  360. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/yallist/dist/esm/index.d.ts +39 -0
  361. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/yallist/dist/esm/index.d.ts.map +1 -0
  362. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/yallist/dist/esm/index.js +379 -0
  363. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/yallist/dist/esm/index.js.map +1 -0
  364. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/yallist/dist/esm/package.json +3 -0
  365. package/node_modules/@happier-dev/release-runtime/node_modules/tar/node_modules/yallist/package.json +68 -0
  366. package/node_modules/@happier-dev/release-runtime/node_modules/tar/package.json +298 -0
  367. package/node_modules/@happier-dev/release-runtime/node_modules/xz-decompress/README.md +72 -0
  368. package/node_modules/@happier-dev/release-runtime/node_modules/xz-decompress/dist/package/xz-decompress.js +273 -0
  369. package/node_modules/@happier-dev/release-runtime/node_modules/xz-decompress/dist/package/xz-decompress.min.js +6 -0
  370. package/node_modules/@happier-dev/release-runtime/node_modules/xz-decompress/package.json +55 -0
  371. package/node_modules/@happier-dev/release-runtime/node_modules/xz-decompress/types.d.ts +3 -0
  372. package/node_modules/@happier-dev/release-runtime/node_modules/yauzl/LICENSE +21 -0
  373. package/node_modules/@happier-dev/release-runtime/node_modules/yauzl/README.md +658 -0
  374. package/node_modules/@happier-dev/release-runtime/node_modules/yauzl/index.js +796 -0
  375. package/node_modules/@happier-dev/release-runtime/node_modules/yauzl/node_modules/buffer-crc32/LICENSE +19 -0
  376. package/node_modules/@happier-dev/release-runtime/node_modules/yauzl/node_modules/buffer-crc32/README.md +47 -0
  377. package/node_modules/@happier-dev/release-runtime/node_modules/yauzl/node_modules/buffer-crc32/index.js +111 -0
  378. package/node_modules/@happier-dev/release-runtime/node_modules/yauzl/node_modules/buffer-crc32/package.json +39 -0
  379. package/node_modules/@happier-dev/release-runtime/node_modules/yauzl/node_modules/fd-slicer/.npmignore +2 -0
  380. package/node_modules/@happier-dev/release-runtime/node_modules/yauzl/node_modules/fd-slicer/.travis.yml +7 -0
  381. package/node_modules/@happier-dev/release-runtime/node_modules/yauzl/node_modules/fd-slicer/CHANGELOG.md +49 -0
  382. package/node_modules/@happier-dev/release-runtime/node_modules/yauzl/node_modules/fd-slicer/LICENSE +21 -0
  383. package/node_modules/@happier-dev/release-runtime/node_modules/yauzl/node_modules/fd-slicer/README.md +199 -0
  384. package/node_modules/@happier-dev/release-runtime/node_modules/yauzl/node_modules/fd-slicer/index.js +296 -0
  385. package/node_modules/@happier-dev/release-runtime/node_modules/yauzl/node_modules/fd-slicer/node_modules/pend/LICENSE +23 -0
  386. package/node_modules/@happier-dev/release-runtime/node_modules/yauzl/node_modules/fd-slicer/node_modules/pend/README.md +41 -0
  387. package/node_modules/@happier-dev/release-runtime/node_modules/yauzl/node_modules/fd-slicer/node_modules/pend/index.js +55 -0
  388. package/node_modules/@happier-dev/release-runtime/node_modules/yauzl/node_modules/fd-slicer/node_modules/pend/package.json +18 -0
  389. package/node_modules/@happier-dev/release-runtime/node_modules/yauzl/node_modules/fd-slicer/node_modules/pend/test.js +137 -0
  390. package/node_modules/@happier-dev/release-runtime/node_modules/yauzl/node_modules/fd-slicer/package.json +36 -0
  391. package/node_modules/@happier-dev/release-runtime/node_modules/yauzl/node_modules/fd-slicer/test/test.js +350 -0
  392. package/node_modules/@happier-dev/release-runtime/node_modules/yauzl/package.json +40 -0
  393. package/node_modules/@happier-dev/release-runtime/package.json +8 -3
  394. package/node_modules/@happier-dev/release-runtime/releaseRings.cjs +204 -0
  395. package/package.json +1 -1
  396. package/src/archiveCache.mjs +25 -0
  397. package/src/archiveCache.test.mjs +82 -0
  398. package/src/runnerConfig.mjs +1 -1
  399. package/src/runnerConfig.test.mjs +3 -3
  400. package/node_modules/@happier-dev/release-runtime/dist/.tsbuildinfo +0 -1
  401. package/node_modules/@happier-dev/release-runtime/dist/_cjs/releaseRings.js +0 -134
  402. package/node_modules/@happier-dev/release-runtime/dist/extractPlan.d.ts +0 -14
  403. package/node_modules/@happier-dev/release-runtime/dist/extractPlan.d.ts.map +0 -1
  404. package/node_modules/@happier-dev/release-runtime/dist/extractPlan.js +0 -48
  405. package/node_modules/@happier-dev/release-runtime/dist/extractPlan.js.map +0 -1
  406. package/node_modules/@happier-dev/release-runtime/dist/releaseRings.cjs +0 -134
@@ -0,0 +1,604 @@
1
+ import { type GzipOptions, type ZlibOptions } from 'minizlib';
2
+ import { type Stats } from 'node:fs';
3
+ import { type ReadEntry } from './read-entry.js';
4
+ import { type WarnData } from './warn-method.js';
5
+ import type { WriteEntry } from './write-entry.js';
6
+ /**
7
+ * The options that can be provided to tar commands.
8
+ *
9
+ * Note that some of these are only relevant for certain commands, since
10
+ * they are specific to reading or writing.
11
+ *
12
+ * Aliases are provided in the {@link TarOptionsWithAliases} type.
13
+ */
14
+ export interface TarOptions {
15
+ /**
16
+ * Perform all I/O operations synchronously. If the stream is ended
17
+ * immediately, then it will be processed entirely synchronously.
18
+ */
19
+ sync?: boolean;
20
+ /**
21
+ * The tar file to be read and/or written. When this is set, a stream
22
+ * is not returned. Asynchronous commands will return a promise indicating
23
+ * when the operation is completed, and synchronous commands will return
24
+ * immediately.
25
+ */
26
+ file?: string;
27
+ /**
28
+ * Treat warnings as crash-worthy errors. Defaults false.
29
+ */
30
+ strict?: boolean;
31
+ /**
32
+ * The effective current working directory for this tar command
33
+ */
34
+ cwd?: string;
35
+ /**
36
+ * When creating a tar archive, this can be used to compress it as well.
37
+ * Set to `true` to use the default gzip options, or customize them as
38
+ * needed.
39
+ *
40
+ * When reading, if this is unset, then the compression status will be
41
+ * inferred from the archive data. This is generally best, unless you are
42
+ * sure of the compression settings in use to create the archive, and want to
43
+ * fail if the archive doesn't match expectations.
44
+ */
45
+ gzip?: boolean | GzipOptions;
46
+ /**
47
+ * When creating archives, preserve absolute and `..` paths in the archive,
48
+ * rather than sanitizing them under the cwd.
49
+ *
50
+ * When extracting, allow absolute paths, paths containing `..`, and
51
+ * extracting through symbolic links. By default, the root `/` is stripped
52
+ * from absolute paths (eg, turning `/x/y/z` into `x/y/z`), paths containing
53
+ * `..` are not extracted, and any file whose location would be modified by a
54
+ * symbolic link is not extracted.
55
+ *
56
+ * **WARNING** This is almost always unsafe, and must NEVER be used on
57
+ * archives from untrusted sources, such as user input, and every entry must
58
+ * be validated to ensure it is safe to write. Even if the input is not
59
+ * malicious, mistakes can cause a lot of damage!
60
+ */
61
+ preservePaths?: boolean;
62
+ /**
63
+ * When extracting, do not set the `mtime` value for extracted entries to
64
+ * match the `mtime` in the archive.
65
+ *
66
+ * When creating archives, do not store the `mtime` value in the entry. Note
67
+ * that this prevents properly using other mtime-based features (such as
68
+ * `tar.update` or the `newer` option) with the resulting archive.
69
+ */
70
+ noMtime?: boolean;
71
+ /**
72
+ * Set to `true` or an object with settings for `zlib.BrotliCompress()` to
73
+ * create a brotli-compressed archive
74
+ *
75
+ * When extracting, this will cause the archive to be treated as a
76
+ * brotli-compressed file if set to `true` or a ZlibOptions object.
77
+ *
78
+ * If set `false`, then brotli options will not be used.
79
+ *
80
+ * If this, the `gzip`, and `zstd` options are left `undefined`, then tar
81
+ * will attempt to infer the brotli compression status, but can only do so
82
+ * based on the filename. If the filename ends in `.tbr` or `.tar.br`, and
83
+ * the first 512 bytes are not a valid tar header, then brotli decompression
84
+ * will be attempted.
85
+ */
86
+ brotli?: boolean | ZlibOptions;
87
+ /**
88
+ * Set to `true` or an object with settings for `zstd.compress()` to
89
+ * create a zstd-compressed archive
90
+ *
91
+ * When extracting, this will cause the archive to be treated as a
92
+ * zstd-compressed file if set to `true` or a ZlibOptions object.
93
+ *
94
+ * If set `false`, then zstd options will not be used.
95
+ *
96
+ * If this, the `gzip`, and `brotli` options are left `undefined`, then tar
97
+ * will attempt to infer the zstd compression status, but can only do so
98
+ * based on the filename. If the filename ends in `.tzst` or `.tar.zst`, and
99
+ * the first 512 bytes are not a valid tar header, then zstd decompression
100
+ * will be attempted.
101
+ */
102
+ zstd?: boolean | ZlibOptions;
103
+ /**
104
+ * A function that is called with `(path, stat)` when creating an archive, or
105
+ * `(path, entry)` when extracting. Return true to process the file/entry, or
106
+ * false to exclude it.
107
+ */
108
+ filter?: (path: string, entry: Stats | ReadEntry) => boolean;
109
+ /**
110
+ * A function that gets called for any warning encountered.
111
+ *
112
+ * Note: if `strict` is set, then the warning will throw, and this method
113
+ * will not be called.
114
+ */
115
+ onwarn?: (code: string, message: string, data: WarnData) => unknown;
116
+ /**
117
+ * The maximum allowed ratio of decompressed bytes to compressed bytes when
118
+ * reading gzip, brotli, or zstd-compressed archives.
119
+ *
120
+ * This defaults to `1000` and aborts extraction or parsing when exceeded.
121
+ * Set to `Infinity` to disable the limit.
122
+ */
123
+ maxDecompressionRatio?: number;
124
+ /**
125
+ * When extracting, unlink files before creating them. Without this option,
126
+ * tar overwrites existing files, which preserves existing hardlinks. With
127
+ * this option, existing hardlinks will be broken, as will any symlink that
128
+ * would affect the location of an extracted file.
129
+ */
130
+ unlink?: boolean;
131
+ /**
132
+ * When extracting, strip the specified number of path portions from the
133
+ * entry path. For example, with `{strip: 2}`, the entry `a/b/c/d` would be
134
+ * extracted to `{cwd}/c/d`.
135
+ *
136
+ * Any entry whose entire path is stripped will be excluded.
137
+ */
138
+ strip?: number;
139
+ /**
140
+ * When extracting, keep the existing file on disk if it's newer than the
141
+ * file in the archive.
142
+ */
143
+ newer?: boolean;
144
+ /**
145
+ * When extracting, do not overwrite existing files at all.
146
+ */
147
+ keep?: boolean;
148
+ /**
149
+ * When extracting, set the `uid` and `gid` of extracted entries to the `uid`
150
+ * and `gid` fields in the archive. Defaults to true when run as root, and
151
+ * false otherwise.
152
+ *
153
+ * If false, then files and directories will be set with the owner and group
154
+ * of the user running the process. This is similar to `-p` in `tar(1)`, but
155
+ * ACLs and other system-specific data is never unpacked in this
156
+ * implementation, and modes are set by default already.
157
+ */
158
+ preserveOwner?: boolean;
159
+ /**
160
+ * The maximum depth of subfolders to extract into. This defaults to 1024.
161
+ * Anything deeper than the limit will raise a warning and skip the entry.
162
+ * Set to `Infinity` to remove the limitation.
163
+ */
164
+ maxDepth?: number;
165
+ /**
166
+ * When extracting, force all created files and directories, and all
167
+ * implicitly created directories, to be owned by the specified user id,
168
+ * regardless of the `uid` field in the archive.
169
+ *
170
+ * Cannot be used along with `preserveOwner`. Requires also setting the `gid`
171
+ * option.
172
+ */
173
+ uid?: number;
174
+ /**
175
+ * When extracting, force all created files and directories, and all
176
+ * implicitly created directories, to be owned by the specified group id,
177
+ * regardless of the `gid` field in the archive.
178
+ *
179
+ * Cannot be used along with `preserveOwner`. Requires also setting the `uid`
180
+ * option.
181
+ */
182
+ gid?: number;
183
+ /**
184
+ * When extracting, provide a function that takes an `entry` object, and
185
+ * returns a stream, or any falsey value. If a stream is provided, then that
186
+ * stream's data will be written instead of the contents of the archive
187
+ * entry. If a falsey value is provided, then the entry is written to disk as
188
+ * normal.
189
+ *
190
+ * To exclude items from extraction, use the `filter` option.
191
+ *
192
+ * Note that using an asynchronous stream type with the `transform` option
193
+ * will cause undefined behavior in synchronous extractions.
194
+ * [MiniPass](http://npm.im/minipass)-based streams are designed for this use
195
+ * case.
196
+ */
197
+ transform?: (entry: ReadEntry) => ReadEntry | null | undefined | false | 0 | '';
198
+ /**
199
+ * Call `chmod()` to ensure that extracted files match the entry's mode
200
+ * field. Without this field set, all mode fields in archive entries are a
201
+ * best effort attempt only.
202
+ *
203
+ * Setting this necessitates a call to the deprecated `process.umask()`
204
+ * method to determine the default umask value, unless a `processUmask`
205
+ * config is provided as well.
206
+ *
207
+ * If not set, tar will attempt to create file system entries with whatever
208
+ * mode is provided, and let the implicit process `umask` apply normally, but
209
+ * if a file already exists to be written to, then its existing mode will not
210
+ * be modified.
211
+ *
212
+ * When setting `chmod: true`, it is highly recommend to set the
213
+ * {@link TarOptions#processUmask} option as well, to avoid the call to the
214
+ * deprecated (and thread-unsafe) `process.umask()` method.
215
+ */
216
+ chmod?: boolean;
217
+ /**
218
+ * When setting the {@link TarOptions#chmod} option to `true`, you may
219
+ * provide a value here to avoid having to call the deprecated and
220
+ * thread-unsafe `process.umask()` method.
221
+ *
222
+ * This has no effect with `chmod` is not set to true, as mode values are not
223
+ * set explicitly anyway. If `chmod` is set to `true`, and a value is not
224
+ * provided here, then `process.umask()` must be called, which will result in
225
+ * deprecation warnings.
226
+ *
227
+ * The most common values for this are `0o22` (resulting in directories
228
+ * created with mode `0o755` and files with `0o644` by default) and `0o2`
229
+ * (resulting in directores created with mode `0o775` and files `0o664`, so
230
+ * they are group-writable).
231
+ */
232
+ processUmask?: number;
233
+ /**
234
+ * When parsing/listing archives, `entry` streams are by default resumed
235
+ * (set into "flowing" mode) immediately after the call to `onReadEntry()`.
236
+ * Set `noResume: true` to suppress this behavior.
237
+ *
238
+ * Note that when this is set, the stream will never complete until the
239
+ * data is consumed somehow.
240
+ *
241
+ * Set automatically in extract operations, since the entry is piped to
242
+ * a file system entry right away. Only relevant when parsing.
243
+ */
244
+ noResume?: boolean;
245
+ /**
246
+ * When creating, updating, or replacing within archives, this method will
247
+ * be called with each WriteEntry that is created.
248
+ */
249
+ onWriteEntry?: (entry: WriteEntry) => unknown;
250
+ /**
251
+ * When extracting or listing archives, this method will be called with
252
+ * each entry that is not excluded by a `filter`.
253
+ *
254
+ * Important when listing archives synchronously from a file, because there
255
+ * is otherwise no way to interact with the data!
256
+ */
257
+ onReadEntry?: (entry: ReadEntry) => unknown;
258
+ /**
259
+ * Pack the targets of symbolic links rather than the link itself.
260
+ */
261
+ follow?: boolean;
262
+ /**
263
+ * When creating archives, omit any metadata that is system-specific:
264
+ * `ctime`, `atime`, `uid`, `gid`, `uname`, `gname`, `dev`, `ino`, and
265
+ * `nlink`. Note that `mtime` is still included, because this is necessary
266
+ * for other time-based operations such as `tar.update`. Additionally, `mode`
267
+ * is set to a "reasonable default" for mose unix systems, based on an
268
+ * effective `umask` of `0o22`.
269
+ *
270
+ * This also defaults the `portable` option in the gzip configs when creating
271
+ * a compressed archive, in order to produce deterministic archives that are
272
+ * not operating-system specific.
273
+ */
274
+ portable?: boolean;
275
+ /**
276
+ * When creating archives, do not recursively archive the contents of
277
+ * directories. By default, archiving a directory archives all of its
278
+ * contents as well.
279
+ */
280
+ noDirRecurse?: boolean;
281
+ /**
282
+ * Suppress Pax extended headers when creating archives. Note that this means
283
+ * long paths and linkpaths will be truncated, and large or negative numeric
284
+ * values may be interpreted incorrectly.
285
+ */
286
+ noPax?: boolean;
287
+ /**
288
+ * Set to a `Date` object to force a specific `mtime` value for everything
289
+ * written to an archive.
290
+ *
291
+ * This is useful when creating archives that are intended to be
292
+ * deterministic based on their contents, irrespective of the file's last
293
+ * modification time.
294
+ *
295
+ * Overridden by `noMtime`.
296
+ */
297
+ mtime?: Date;
298
+ /**
299
+ * A path portion to prefix onto the entries added to an archive.
300
+ */
301
+ prefix?: string;
302
+ /**
303
+ * The mode to set on any created file archive, defaults to 0o666
304
+ * masked by the process umask, often resulting in 0o644.
305
+ *
306
+ * This does *not* affect the mode fields of individual entries, or the
307
+ * mode status of extracted entries on the filesystem.
308
+ */
309
+ mode?: number;
310
+ /**
311
+ * A cache of mtime values, to avoid having to stat the same file repeatedly.
312
+ *
313
+ * @internal
314
+ */
315
+ mtimeCache?: Map<string, Date>;
316
+ /**
317
+ * maximum buffer size for `fs.read()` operations.
318
+ *
319
+ * @internal
320
+ */
321
+ maxReadSize?: number;
322
+ /**
323
+ * Filter modes of entries being unpacked, like `process.umask()`
324
+ *
325
+ * @internal
326
+ */
327
+ umask?: number;
328
+ /**
329
+ * Default mode for directories. Used for all implicitly created directories,
330
+ * and any directories in the archive that do not have a mode field.
331
+ *
332
+ * @internal
333
+ */
334
+ dmode?: number;
335
+ /**
336
+ * default mode for files
337
+ *
338
+ * @internal
339
+ */
340
+ fmode?: number;
341
+ /**
342
+ * Map that tracks which directories already exist, for extraction
343
+ *
344
+ * @internal
345
+ */
346
+ dirCache?: Map<string, boolean>;
347
+ /**
348
+ * maximum supported size of meta entries. Defaults to 1MB
349
+ *
350
+ * @internal
351
+ */
352
+ maxMetaEntrySize?: number;
353
+ /**
354
+ * A Map object containing the device and inode value for any file whose
355
+ * `nlink` value is greater than 1, to identify hard links when creating
356
+ * archives.
357
+ *
358
+ * @internal
359
+ */
360
+ linkCache?: Map<LinkCacheKey, string>;
361
+ /**
362
+ * A map object containing the results of `fs.readdir()` calls.
363
+ *
364
+ * @internal
365
+ */
366
+ readdirCache?: Map<string, string[]>;
367
+ /**
368
+ * A cache of all `lstat` results, for use in creating archives.
369
+ *
370
+ * @internal
371
+ */
372
+ statCache?: Map<string, Stats>;
373
+ /**
374
+ * Number of concurrent jobs to run when creating archives.
375
+ *
376
+ * Defaults to 4.
377
+ *
378
+ * @internal
379
+ */
380
+ jobs?: number;
381
+ /**
382
+ * Automatically set to true on Windows systems.
383
+ *
384
+ * When extracting, causes behavior where filenames containing `<|>?:`
385
+ * characters are converted to windows-compatible escape sequences in the
386
+ * created filesystem entries.
387
+ *
388
+ * When packing, causes behavior where paths replace `\` with `/`, and
389
+ * filenames containing the windows-compatible escaped forms of `<|>?:` are
390
+ * converted to actual `<|>?:` characters in the archive.
391
+ *
392
+ * @internal
393
+ */
394
+ win32?: boolean;
395
+ /**
396
+ * For `WriteEntry` objects, the absolute path to the entry on the
397
+ * filesystem. By default, this is `resolve(cwd, entry.path)`, but it can be
398
+ * overridden explicitly.
399
+ *
400
+ * @internal
401
+ */
402
+ absolute?: string;
403
+ /**
404
+ * Used with Parser stream interface, to attach and take over when the
405
+ * stream is completely parsed. If this is set, then the prefinish,
406
+ * finish, and end events will not fire, and are the responsibility of
407
+ * the ondone method to emit properly.
408
+ *
409
+ * @internal
410
+ */
411
+ ondone?: () => void;
412
+ /**
413
+ * Mostly for testing, but potentially useful in some cases.
414
+ * Forcibly trigger a chown on every entry, no matter what.
415
+ */
416
+ forceChown?: boolean;
417
+ /**
418
+ * ambiguous deprecated name for {@link onReadEntry}
419
+ *
420
+ * @deprecated
421
+ */
422
+ onentry?: (entry: ReadEntry) => unknown;
423
+ }
424
+ export type TarOptionsSync = TarOptions & {
425
+ sync: true;
426
+ };
427
+ export type TarOptionsAsync = TarOptions & {
428
+ sync?: false;
429
+ };
430
+ export type TarOptionsFile = TarOptions & {
431
+ file: string;
432
+ };
433
+ export type TarOptionsNoFile = TarOptions & {
434
+ file?: undefined;
435
+ };
436
+ export type TarOptionsSyncFile = TarOptionsSync & TarOptionsFile;
437
+ export type TarOptionsAsyncFile = TarOptionsAsync & TarOptionsFile;
438
+ export type TarOptionsSyncNoFile = TarOptionsSync & TarOptionsNoFile;
439
+ export type TarOptionsAsyncNoFile = TarOptionsAsync & TarOptionsNoFile;
440
+ export type LinkCacheKey = `${number}:${number}`;
441
+ export interface TarOptionsWithAliases extends TarOptions {
442
+ /**
443
+ * The effective current working directory for this tar command
444
+ */
445
+ C?: TarOptions['cwd'];
446
+ /**
447
+ * The tar file to be read and/or written. When this is set, a stream
448
+ * is not returned. Asynchronous commands will return a promise indicating
449
+ * when the operation is completed, and synchronous commands will return
450
+ * immediately.
451
+ */
452
+ f?: TarOptions['file'];
453
+ /**
454
+ * When creating a tar archive, this can be used to compress it as well.
455
+ * Set to `true` to use the default gzip options, or customize them as
456
+ * needed.
457
+ *
458
+ * When reading, if this is unset, then the compression status will be
459
+ * inferred from the archive data. This is generally best, unless you are
460
+ * sure of the compression settings in use to create the archive, and want to
461
+ * fail if the archive doesn't match expectations.
462
+ */
463
+ z?: TarOptions['gzip'];
464
+ /**
465
+ * When creating archives, preserve absolute and `..` paths in the archive,
466
+ * rather than sanitizing them under the cwd.
467
+ *
468
+ * When extracting, allow absolute paths, paths containing `..`, and
469
+ * extracting through symbolic links. By default, the root `/` is stripped
470
+ * from absolute paths (eg, turning `/x/y/z` into `x/y/z`), paths containing
471
+ * `..` are not extracted, and any file whose location would be modified by a
472
+ * symbolic link is not extracted.
473
+ *
474
+ * **WARNING** This is almost always unsafe, and must NEVER be used on
475
+ * archives from untrusted sources, such as user input, and every entry must
476
+ * be validated to ensure it is safe to write. Even if the input is not
477
+ * malicious, mistakes can cause a lot of damage!
478
+ */
479
+ P?: TarOptions['preservePaths'];
480
+ /**
481
+ * When extracting, unlink files before creating them. Without this option,
482
+ * tar overwrites existing files, which preserves existing hardlinks. With
483
+ * this option, existing hardlinks will be broken, as will any symlink that
484
+ * would affect the location of an extracted file.
485
+ */
486
+ U?: TarOptions['unlink'];
487
+ /**
488
+ * When extracting, strip the specified number of path portions from the
489
+ * entry path. For example, with `{strip: 2}`, the entry `a/b/c/d` would be
490
+ * extracted to `{cwd}/c/d`.
491
+ */
492
+ 'strip-components'?: TarOptions['strip'];
493
+ /**
494
+ * When extracting, strip the specified number of path portions from the
495
+ * entry path. For example, with `{strip: 2}`, the entry `a/b/c/d` would be
496
+ * extracted to `{cwd}/c/d`.
497
+ */
498
+ stripComponents?: TarOptions['strip'];
499
+ /**
500
+ * When extracting, keep the existing file on disk if it's newer than the
501
+ * file in the archive.
502
+ */
503
+ 'keep-newer'?: TarOptions['newer'];
504
+ /**
505
+ * When extracting, keep the existing file on disk if it's newer than the
506
+ * file in the archive.
507
+ */
508
+ keepNewer?: TarOptions['newer'];
509
+ /**
510
+ * When extracting, keep the existing file on disk if it's newer than the
511
+ * file in the archive.
512
+ */
513
+ 'keep-newer-files'?: TarOptions['newer'];
514
+ /**
515
+ * When extracting, keep the existing file on disk if it's newer than the
516
+ * file in the archive.
517
+ */
518
+ keepNewerFiles?: TarOptions['newer'];
519
+ /**
520
+ * When extracting, do not overwrite existing files at all.
521
+ */
522
+ k?: TarOptions['keep'];
523
+ /**
524
+ * When extracting, do not overwrite existing files at all.
525
+ */
526
+ 'keep-existing'?: TarOptions['keep'];
527
+ /**
528
+ * When extracting, do not overwrite existing files at all.
529
+ */
530
+ keepExisting?: TarOptions['keep'];
531
+ /**
532
+ * When extracting, do not set the `mtime` value for extracted entries to
533
+ * match the `mtime` in the archive.
534
+ *
535
+ * When creating archives, do not store the `mtime` value in the entry. Note
536
+ * that this prevents properly using other mtime-based features (such as
537
+ * `tar.update` or the `newer` option) with the resulting archive.
538
+ */
539
+ m?: TarOptions['noMtime'];
540
+ /**
541
+ * When extracting, do not set the `mtime` value for extracted entries to
542
+ * match the `mtime` in the archive.
543
+ *
544
+ * When creating archives, do not store the `mtime` value in the entry. Note
545
+ * that this prevents properly using other mtime-based features (such as
546
+ * `tar.update` or the `newer` option) with the resulting archive.
547
+ */
548
+ 'no-mtime'?: TarOptions['noMtime'];
549
+ /**
550
+ * When extracting, set the `uid` and `gid` of extracted entries to the `uid`
551
+ * and `gid` fields in the archive. Defaults to true when run as root, and
552
+ * false otherwise.
553
+ *
554
+ * If false, then files and directories will be set with the owner and group
555
+ * of the user running the process. This is similar to `-p` in `tar(1)`, but
556
+ * ACLs and other system-specific data is never unpacked in this
557
+ * implementation, and modes are set by default already.
558
+ */
559
+ p?: TarOptions['preserveOwner'];
560
+ /**
561
+ * Pack the targets of symbolic links rather than the link itself.
562
+ */
563
+ L?: TarOptions['follow'];
564
+ /**
565
+ * Pack the targets of symbolic links rather than the link itself.
566
+ */
567
+ h?: TarOptions['follow'];
568
+ /**
569
+ * Deprecated option. Set explicitly false to set `chmod: true`. Ignored
570
+ * if {@link TarOptions#chmod} is set to any boolean value.
571
+ *
572
+ * @deprecated
573
+ */
574
+ noChmod?: boolean;
575
+ }
576
+ export type TarOptionsWithAliasesSync = TarOptionsWithAliases & {
577
+ sync: true;
578
+ };
579
+ export type TarOptionsWithAliasesAsync = TarOptionsWithAliases & {
580
+ sync?: false;
581
+ };
582
+ export type TarOptionsWithAliasesFile = (TarOptionsWithAliases & {
583
+ file: string;
584
+ }) | (TarOptionsWithAliases & {
585
+ f: string;
586
+ });
587
+ export type TarOptionsWithAliasesSyncFile = TarOptionsWithAliasesSync & TarOptionsWithAliasesFile;
588
+ export type TarOptionsWithAliasesAsyncFile = TarOptionsWithAliasesAsync & TarOptionsWithAliasesFile;
589
+ export type TarOptionsWithAliasesNoFile = TarOptionsWithAliases & {
590
+ f?: undefined;
591
+ file?: undefined;
592
+ };
593
+ export type TarOptionsWithAliasesSyncNoFile = TarOptionsWithAliasesSync & TarOptionsWithAliasesNoFile;
594
+ export type TarOptionsWithAliasesAsyncNoFile = TarOptionsWithAliasesAsync & TarOptionsWithAliasesNoFile;
595
+ export declare const isSyncFile: <O extends TarOptions>(o: O) => o is O & TarOptionsSyncFile;
596
+ export declare const isAsyncFile: <O extends TarOptions>(o: O) => o is O & TarOptionsAsyncFile;
597
+ export declare const isSyncNoFile: <O extends TarOptions>(o: O) => o is O & TarOptionsSyncNoFile;
598
+ export declare const isAsyncNoFile: <O extends TarOptions>(o: O) => o is O & TarOptionsAsyncNoFile;
599
+ export declare const isSync: <O extends TarOptions>(o: O) => o is O & TarOptionsSync;
600
+ export declare const isAsync: <O extends TarOptions>(o: O) => o is O & TarOptionsAsync;
601
+ export declare const isFile: <O extends TarOptions>(o: O) => o is O & TarOptionsFile;
602
+ export declare const isNoFile: <O extends TarOptions>(o: O) => o is O & TarOptionsNoFile;
603
+ export declare const dealias: (opt?: TarOptionsWithAliases) => TarOptions;
604
+ //# sourceMappingURL=options.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"options.d.ts","sourceRoot":"","sources":["../../src/options.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,WAAW,EAAE,KAAK,WAAW,EAAE,MAAM,UAAU,CAAA;AAC7D,OAAO,EAAE,KAAK,KAAK,EAAE,MAAM,SAAS,CAAA;AACpC,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,iBAAiB,CAAA;AAChD,OAAO,EAAE,KAAK,QAAQ,EAAE,MAAM,kBAAkB,CAAA;AAChD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;AAyBlD;;;;;;;GAOG;AACH,MAAM,WAAW,UAAU;IAIzB;;;OAGG;IACH,IAAI,CAAC,EAAE,OAAO,CAAA;IAEd;;;;;OAKG;IACH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YAAY,GAAI,CAAC,SAAS,UAAU,EAC/C,GAAG,CAAC,KACH,CAAC,IAAI,CAAC,GAAG,oBAA2C,CAAA;AACvD,eAAO,MAAM,aAAa,GAAI,CAAC,SAAS,UAAU,EAChD,GAAG,CAAC,KACH,CAAC,IAAI,CAAC,GAAG,qBAA2C,CAAA;AACvD,eAAO,MAAM,MAAM,GAAI,CAAC,SAAS,UAAU,EACzC,GAAG,CAAC,KACH,CAAC,IAAI,CAAC,GAAG,cAA0B,CAAA;AACtC,eAAO,MAAM,OAAO,GAAI,CAAC,SAAS,UAAU,EAC1C,GAAG,CAAC,KACH,CAAC,IAAI,CAAC,GAAG,eAA0B,CAAA;AACtC,eAAO,MAAM,MAAM,GAAI,CAAC,SAAS,UAAU,EACzC,GAAG,CAAC,KACH,CAAC,IAAI,CAAC,GAAG,cAA0B,CAAA;AACtC,eAAO,MAAM,QAAQ,GAAI,CAAC,SAAS,UAAU,EAC3C,GAAG,CAAC,KACH,CAAC,IAAI,CAAC,GAAG,gBAA2B,CAAA;AAQvC,eAAO,MAAM,OAAO,GAAI,MAAK,qBAA0B,KAAG,UAiBzD,CAAA"}
@@ -0,0 +1,66 @@
1
+ "use strict";
2
+ // turn tar(1) style args like `C` into the more verbose things like `cwd`
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.dealias = exports.isNoFile = exports.isFile = exports.isAsync = exports.isSync = exports.isAsyncNoFile = exports.isSyncNoFile = exports.isAsyncFile = exports.isSyncFile = void 0;
5
+ const argmap = new Map([
6
+ ['C', 'cwd'],
7
+ ['f', 'file'],
8
+ ['z', 'gzip'],
9
+ ['P', 'preservePaths'],
10
+ ['U', 'unlink'],
11
+ ['strip-components', 'strip'],
12
+ ['stripComponents', 'strip'],
13
+ ['keep-newer', 'newer'],
14
+ ['keepNewer', 'newer'],
15
+ ['keep-newer-files', 'newer'],
16
+ ['keepNewerFiles', 'newer'],
17
+ ['k', 'keep'],
18
+ ['keep-existing', 'keep'],
19
+ ['keepExisting', 'keep'],
20
+ ['m', 'noMtime'],
21
+ ['no-mtime', 'noMtime'],
22
+ ['p', 'preserveOwner'],
23
+ ['L', 'follow'],
24
+ ['h', 'follow'],
25
+ ['onentry', 'onReadEntry'],
26
+ ]);
27
+ const isSyncFile = (o) => !!o.sync && !!o.file;
28
+ exports.isSyncFile = isSyncFile;
29
+ const isAsyncFile = (o) => !o.sync && !!o.file;
30
+ exports.isAsyncFile = isAsyncFile;
31
+ const isSyncNoFile = (o) => !!o.sync && !o.file;
32
+ exports.isSyncNoFile = isSyncNoFile;
33
+ const isAsyncNoFile = (o) => !o.sync && !o.file;
34
+ exports.isAsyncNoFile = isAsyncNoFile;
35
+ const isSync = (o) => !!o.sync;
36
+ exports.isSync = isSync;
37
+ const isAsync = (o) => !o.sync;
38
+ exports.isAsync = isAsync;
39
+ const isFile = (o) => !!o.file;
40
+ exports.isFile = isFile;
41
+ const isNoFile = (o) => !o.file;
42
+ exports.isNoFile = isNoFile;
43
+ const dealiasKey = (k) => {
44
+ const d = argmap.get(k);
45
+ if (d)
46
+ return d;
47
+ return k;
48
+ };
49
+ const dealias = (opt = {}) => {
50
+ if (!opt)
51
+ return {};
52
+ const result = {};
53
+ for (const [key, v] of Object.entries(opt)) {
54
+ // TS doesn't know that aliases are going to always be the same type
55
+ const k = dealiasKey(key);
56
+ result[k] = v;
57
+ }
58
+ // affordance for deprecated noChmod -> chmod
59
+ if (result.chmod === undefined && result.noChmod === false) {
60
+ result.chmod = true;
61
+ }
62
+ delete result.noChmod;
63
+ return result;
64
+ };
65
+ exports.dealias = dealias;
66
+ //# sourceMappingURL=options.js.map