react-native-kookit 0.1.7 → 0.1.9

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 (1188) hide show
  1. package/package.json +14 -2
  2. package/.eslintrc.js +0 -5
  3. package/app.json +0 -5
  4. package/package-with-plugin.json +0 -51
  5. package/plugin/node_modules/.package-lock.json +0 -752
  6. package/plugin/node_modules/@babel/code-frame/LICENSE +0 -22
  7. package/plugin/node_modules/@babel/code-frame/README.md +0 -19
  8. package/plugin/node_modules/@babel/code-frame/lib/index.js +0 -167
  9. package/plugin/node_modules/@babel/code-frame/package.json +0 -25
  10. package/plugin/node_modules/@babel/helper-validator-identifier/LICENSE +0 -22
  11. package/plugin/node_modules/@babel/helper-validator-identifier/README.md +0 -19
  12. package/plugin/node_modules/@babel/helper-validator-identifier/lib/identifier.js +0 -70
  13. package/plugin/node_modules/@babel/helper-validator-identifier/lib/identifier.js.map +0 -1
  14. package/plugin/node_modules/@babel/helper-validator-identifier/lib/index.js +0 -57
  15. package/plugin/node_modules/@babel/helper-validator-identifier/lib/index.js.map +0 -1
  16. package/plugin/node_modules/@babel/helper-validator-identifier/lib/keyword.js +0 -35
  17. package/plugin/node_modules/@babel/helper-validator-identifier/lib/keyword.js.map +0 -1
  18. package/plugin/node_modules/@babel/helper-validator-identifier/package.json +0 -31
  19. package/plugin/node_modules/@babel/highlight/LICENSE +0 -22
  20. package/plugin/node_modules/@babel/highlight/README.md +0 -19
  21. package/plugin/node_modules/@babel/highlight/lib/index.js +0 -119
  22. package/plugin/node_modules/@babel/highlight/lib/index.js.map +0 -1
  23. package/plugin/node_modules/@babel/highlight/node_modules/ansi-styles/index.js +0 -165
  24. package/plugin/node_modules/@babel/highlight/node_modules/ansi-styles/license +0 -9
  25. package/plugin/node_modules/@babel/highlight/node_modules/ansi-styles/package.json +0 -56
  26. package/plugin/node_modules/@babel/highlight/node_modules/ansi-styles/readme.md +0 -147
  27. package/plugin/node_modules/@babel/highlight/node_modules/chalk/index.js +0 -228
  28. package/plugin/node_modules/@babel/highlight/node_modules/chalk/index.js.flow +0 -93
  29. package/plugin/node_modules/@babel/highlight/node_modules/chalk/license +0 -9
  30. package/plugin/node_modules/@babel/highlight/node_modules/chalk/package.json +0 -71
  31. package/plugin/node_modules/@babel/highlight/node_modules/chalk/readme.md +0 -314
  32. package/plugin/node_modules/@babel/highlight/node_modules/chalk/templates.js +0 -128
  33. package/plugin/node_modules/@babel/highlight/node_modules/chalk/types/index.d.ts +0 -97
  34. package/plugin/node_modules/@babel/highlight/node_modules/color-convert/CHANGELOG.md +0 -54
  35. package/plugin/node_modules/@babel/highlight/node_modules/color-convert/LICENSE +0 -21
  36. package/plugin/node_modules/@babel/highlight/node_modules/color-convert/README.md +0 -68
  37. package/plugin/node_modules/@babel/highlight/node_modules/color-convert/conversions.js +0 -868
  38. package/plugin/node_modules/@babel/highlight/node_modules/color-convert/index.js +0 -78
  39. package/plugin/node_modules/@babel/highlight/node_modules/color-convert/package.json +0 -46
  40. package/plugin/node_modules/@babel/highlight/node_modules/color-convert/route.js +0 -97
  41. package/plugin/node_modules/@babel/highlight/node_modules/color-name/.eslintrc.json +0 -43
  42. package/plugin/node_modules/@babel/highlight/node_modules/color-name/LICENSE +0 -8
  43. package/plugin/node_modules/@babel/highlight/node_modules/color-name/README.md +0 -11
  44. package/plugin/node_modules/@babel/highlight/node_modules/color-name/index.js +0 -152
  45. package/plugin/node_modules/@babel/highlight/node_modules/color-name/package.json +0 -25
  46. package/plugin/node_modules/@babel/highlight/node_modules/color-name/test.js +0 -7
  47. package/plugin/node_modules/@babel/highlight/node_modules/has-flag/index.js +0 -8
  48. package/plugin/node_modules/@babel/highlight/node_modules/has-flag/license +0 -9
  49. package/plugin/node_modules/@babel/highlight/node_modules/has-flag/package.json +0 -44
  50. package/plugin/node_modules/@babel/highlight/node_modules/has-flag/readme.md +0 -70
  51. package/plugin/node_modules/@babel/highlight/node_modules/supports-color/browser.js +0 -5
  52. package/plugin/node_modules/@babel/highlight/node_modules/supports-color/index.js +0 -131
  53. package/plugin/node_modules/@babel/highlight/node_modules/supports-color/license +0 -9
  54. package/plugin/node_modules/@babel/highlight/node_modules/supports-color/package.json +0 -53
  55. package/plugin/node_modules/@babel/highlight/node_modules/supports-color/readme.md +0 -66
  56. package/plugin/node_modules/@babel/highlight/package.json +0 -30
  57. package/plugin/node_modules/@expo/config-plugins/LICENSE +0 -22
  58. package/plugin/node_modules/@expo/config-plugins/README.md +0 -34
  59. package/plugin/node_modules/@expo/config-plugins/build/Plugin.types.d.ts +0 -177
  60. package/plugin/node_modules/@expo/config-plugins/build/Plugin.types.js +0 -51
  61. package/plugin/node_modules/@expo/config-plugins/build/Plugin.types.js.map +0 -1
  62. package/plugin/node_modules/@expo/config-plugins/build/android/AllowBackup.d.ts +0 -6
  63. package/plugin/node_modules/@expo/config-plugins/build/android/AllowBackup.js +0 -45
  64. package/plugin/node_modules/@expo/config-plugins/build/android/AllowBackup.js.map +0 -1
  65. package/plugin/node_modules/@expo/config-plugins/build/android/BuildProperties.d.ts +0 -28
  66. package/plugin/node_modules/@expo/config-plugins/build/android/BuildProperties.js +0 -93
  67. package/plugin/node_modules/@expo/config-plugins/build/android/BuildProperties.js.map +0 -1
  68. package/plugin/node_modules/@expo/config-plugins/build/android/Colors.d.ts +0 -29
  69. package/plugin/node_modules/@expo/config-plugins/build/android/Colors.js +0 -106
  70. package/plugin/node_modules/@expo/config-plugins/build/android/Colors.js.map +0 -1
  71. package/plugin/node_modules/@expo/config-plugins/build/android/EasBuild.d.ts +0 -3
  72. package/plugin/node_modules/@expo/config-plugins/build/android/EasBuild.js +0 -67
  73. package/plugin/node_modules/@expo/config-plugins/build/android/EasBuild.js.map +0 -1
  74. package/plugin/node_modules/@expo/config-plugins/build/android/EasBuildGradleScript.d.ts +0 -2
  75. package/plugin/node_modules/@expo/config-plugins/build/android/EasBuildGradleScript.js +0 -82
  76. package/plugin/node_modules/@expo/config-plugins/build/android/EasBuildGradleScript.js.map +0 -1
  77. package/plugin/node_modules/@expo/config-plugins/build/android/GoogleMapsApiKey.d.ts +0 -5
  78. package/plugin/node_modules/@expo/config-plugins/build/android/GoogleMapsApiKey.js +0 -46
  79. package/plugin/node_modules/@expo/config-plugins/build/android/GoogleMapsApiKey.js.map +0 -1
  80. package/plugin/node_modules/@expo/config-plugins/build/android/GoogleServices.d.ts +0 -17
  81. package/plugin/node_modules/@expo/config-plugins/build/android/GoogleServices.js +0 -138
  82. package/plugin/node_modules/@expo/config-plugins/build/android/GoogleServices.js.map +0 -1
  83. package/plugin/node_modules/@expo/config-plugins/build/android/IntentFilters.d.ts +0 -8
  84. package/plugin/node_modules/@expo/config-plugins/build/android/IntentFilters.js +0 -83
  85. package/plugin/node_modules/@expo/config-plugins/build/android/IntentFilters.js.map +0 -1
  86. package/plugin/node_modules/@expo/config-plugins/build/android/Manifest.d.ts +0 -157
  87. package/plugin/node_modules/@expo/config-plugins/build/android/Manifest.js +0 -221
  88. package/plugin/node_modules/@expo/config-plugins/build/android/Manifest.js.map +0 -1
  89. package/plugin/node_modules/@expo/config-plugins/build/android/Name.d.ts +0 -20
  90. package/plugin/node_modules/@expo/config-plugins/build/android/Name.js +0 -91
  91. package/plugin/node_modules/@expo/config-plugins/build/android/Name.js.map +0 -1
  92. package/plugin/node_modules/@expo/config-plugins/build/android/Orientation.d.ts +0 -6
  93. package/plugin/node_modules/@expo/config-plugins/build/android/Orientation.js +0 -39
  94. package/plugin/node_modules/@expo/config-plugins/build/android/Orientation.js.map +0 -1
  95. package/plugin/node_modules/@expo/config-plugins/build/android/Package.d.ts +0 -23
  96. package/plugin/node_modules/@expo/config-plugins/build/android/Package.js +0 -323
  97. package/plugin/node_modules/@expo/config-plugins/build/android/Package.js.map +0 -1
  98. package/plugin/node_modules/@expo/config-plugins/build/android/Paths.d.ts +0 -30
  99. package/plugin/node_modules/@expo/config-plugins/build/android/Paths.js +0 -154
  100. package/plugin/node_modules/@expo/config-plugins/build/android/Paths.js.map +0 -1
  101. package/plugin/node_modules/@expo/config-plugins/build/android/Permissions.d.ts +0 -20
  102. package/plugin/node_modules/@expo/config-plugins/build/android/Permissions.js +0 -207
  103. package/plugin/node_modules/@expo/config-plugins/build/android/Permissions.js.map +0 -1
  104. package/plugin/node_modules/@expo/config-plugins/build/android/PrimaryColor.d.ts +0 -6
  105. package/plugin/node_modules/@expo/config-plugins/build/android/PrimaryColor.js +0 -62
  106. package/plugin/node_modules/@expo/config-plugins/build/android/PrimaryColor.js.map +0 -1
  107. package/plugin/node_modules/@expo/config-plugins/build/android/Properties.d.ts +0 -12
  108. package/plugin/node_modules/@expo/config-plugins/build/android/Properties.js +0 -55
  109. package/plugin/node_modules/@expo/config-plugins/build/android/Properties.js.map +0 -1
  110. package/plugin/node_modules/@expo/config-plugins/build/android/Resources.d.ts +0 -87
  111. package/plugin/node_modules/@expo/config-plugins/build/android/Resources.js +0 -150
  112. package/plugin/node_modules/@expo/config-plugins/build/android/Resources.js.map +0 -1
  113. package/plugin/node_modules/@expo/config-plugins/build/android/Scheme.d.ts +0 -20
  114. package/plugin/node_modules/@expo/config-plugins/build/android/Scheme.js +0 -217
  115. package/plugin/node_modules/@expo/config-plugins/build/android/Scheme.js.map +0 -1
  116. package/plugin/node_modules/@expo/config-plugins/build/android/StatusBar.d.ts +0 -16
  117. package/plugin/node_modules/@expo/config-plugins/build/android/StatusBar.js +0 -112
  118. package/plugin/node_modules/@expo/config-plugins/build/android/StatusBar.js.map +0 -1
  119. package/plugin/node_modules/@expo/config-plugins/build/android/Strings.d.ts +0 -6
  120. package/plugin/node_modules/@expo/config-plugins/build/android/Strings.js +0 -54
  121. package/plugin/node_modules/@expo/config-plugins/build/android/Strings.js.map +0 -1
  122. package/plugin/node_modules/@expo/config-plugins/build/android/Styles.d.ts +0 -61
  123. package/plugin/node_modules/@expo/config-plugins/build/android/Styles.js +0 -169
  124. package/plugin/node_modules/@expo/config-plugins/build/android/Styles.js.map +0 -1
  125. package/plugin/node_modules/@expo/config-plugins/build/android/Updates.d.ts +0 -21
  126. package/plugin/node_modules/@expo/config-plugins/build/android/Updates.js +0 -159
  127. package/plugin/node_modules/@expo/config-plugins/build/android/Updates.js.map +0 -1
  128. package/plugin/node_modules/@expo/config-plugins/build/android/Version.d.ts +0 -16
  129. package/plugin/node_modules/@expo/config-plugins/build/android/Version.js +0 -87
  130. package/plugin/node_modules/@expo/config-plugins/build/android/Version.js.map +0 -1
  131. package/plugin/node_modules/@expo/config-plugins/build/android/WindowSoftInputMode.d.ts +0 -6
  132. package/plugin/node_modules/@expo/config-plugins/build/android/WindowSoftInputMode.js +0 -48
  133. package/plugin/node_modules/@expo/config-plugins/build/android/WindowSoftInputMode.js.map +0 -1
  134. package/plugin/node_modules/@expo/config-plugins/build/android/codeMod.d.ts +0 -20
  135. package/plugin/node_modules/@expo/config-plugins/build/android/codeMod.js +0 -93
  136. package/plugin/node_modules/@expo/config-plugins/build/android/codeMod.js.map +0 -1
  137. package/plugin/node_modules/@expo/config-plugins/build/android/index.d.ts +0 -25
  138. package/plugin/node_modules/@expo/config-plugins/build/android/index.js +0 -308
  139. package/plugin/node_modules/@expo/config-plugins/build/android/index.js.map +0 -1
  140. package/plugin/node_modules/@expo/config-plugins/build/index.d.ts +0 -36
  141. package/plugin/node_modules/@expo/config-plugins/build/index.js +0 -428
  142. package/plugin/node_modules/@expo/config-plugins/build/index.js.map +0 -1
  143. package/plugin/node_modules/@expo/config-plugins/build/ios/Bitcode.d.ts +0 -33
  144. package/plugin/node_modules/@expo/config-plugins/build/ios/Bitcode.js +0 -110
  145. package/plugin/node_modules/@expo/config-plugins/build/ios/Bitcode.js.map +0 -1
  146. package/plugin/node_modules/@expo/config-plugins/build/ios/BuildProperties.d.ts +0 -27
  147. package/plugin/node_modules/@expo/config-plugins/build/ios/BuildProperties.js +0 -67
  148. package/plugin/node_modules/@expo/config-plugins/build/ios/BuildProperties.js.map +0 -1
  149. package/plugin/node_modules/@expo/config-plugins/build/ios/BuildScheme.d.ts +0 -10
  150. package/plugin/node_modules/@expo/config-plugins/build/ios/BuildScheme.js +0 -112
  151. package/plugin/node_modules/@expo/config-plugins/build/ios/BuildScheme.js.map +0 -1
  152. package/plugin/node_modules/@expo/config-plugins/build/ios/BundleIdentifier.d.ts +0 -50
  153. package/plugin/node_modules/@expo/config-plugins/build/ios/BundleIdentifier.js +0 -241
  154. package/plugin/node_modules/@expo/config-plugins/build/ios/BundleIdentifier.js.map +0 -1
  155. package/plugin/node_modules/@expo/config-plugins/build/ios/DeviceFamily.d.ts +0 -19
  156. package/plugin/node_modules/@expo/config-plugins/build/ios/DeviceFamily.js +0 -92
  157. package/plugin/node_modules/@expo/config-plugins/build/ios/DeviceFamily.js.map +0 -1
  158. package/plugin/node_modules/@expo/config-plugins/build/ios/Entitlements.d.ts +0 -9
  159. package/plugin/node_modules/@expo/config-plugins/build/ios/Entitlements.js +0 -132
  160. package/plugin/node_modules/@expo/config-plugins/build/ios/Entitlements.js.map +0 -1
  161. package/plugin/node_modules/@expo/config-plugins/build/ios/Google.d.ts +0 -14
  162. package/plugin/node_modules/@expo/config-plugins/build/ios/Google.js +0 -139
  163. package/plugin/node_modules/@expo/config-plugins/build/ios/Google.js.map +0 -1
  164. package/plugin/node_modules/@expo/config-plugins/build/ios/IosConfig.types.d.ts +0 -48
  165. package/plugin/node_modules/@expo/config-plugins/build/ios/IosConfig.types.js +0 -2
  166. package/plugin/node_modules/@expo/config-plugins/build/ios/IosConfig.types.js.map +0 -1
  167. package/plugin/node_modules/@expo/config-plugins/build/ios/Locales.d.ts +0 -14
  168. package/plugin/node_modules/@expo/config-plugins/build/ios/Locales.js +0 -132
  169. package/plugin/node_modules/@expo/config-plugins/build/ios/Locales.js.map +0 -1
  170. package/plugin/node_modules/@expo/config-plugins/build/ios/Maps.d.ts +0 -17
  171. package/plugin/node_modules/@expo/config-plugins/build/ios/Maps.js +0 -211
  172. package/plugin/node_modules/@expo/config-plugins/build/ios/Maps.js.map +0 -1
  173. package/plugin/node_modules/@expo/config-plugins/build/ios/Name.d.ts +0 -20
  174. package/plugin/node_modules/@expo/config-plugins/build/ios/Name.js +0 -111
  175. package/plugin/node_modules/@expo/config-plugins/build/ios/Name.js.map +0 -1
  176. package/plugin/node_modules/@expo/config-plugins/build/ios/Orientation.d.ts +0 -7
  177. package/plugin/node_modules/@expo/config-plugins/build/ios/Orientation.js +0 -42
  178. package/plugin/node_modules/@expo/config-plugins/build/ios/Orientation.js.map +0 -1
  179. package/plugin/node_modules/@expo/config-plugins/build/ios/Paths.d.ts +0 -38
  180. package/plugin/node_modules/@expo/config-plugins/build/ios/Paths.js +0 -311
  181. package/plugin/node_modules/@expo/config-plugins/build/ios/Paths.js.map +0 -1
  182. package/plugin/node_modules/@expo/config-plugins/build/ios/Permissions.d.ts +0 -9
  183. package/plugin/node_modules/@expo/config-plugins/build/ios/Permissions.js +0 -58
  184. package/plugin/node_modules/@expo/config-plugins/build/ios/Permissions.js.map +0 -1
  185. package/plugin/node_modules/@expo/config-plugins/build/ios/PrivacyInfo.d.ts +0 -20
  186. package/plugin/node_modules/@expo/config-plugins/build/ios/PrivacyInfo.js +0 -129
  187. package/plugin/node_modules/@expo/config-plugins/build/ios/PrivacyInfo.js.map +0 -1
  188. package/plugin/node_modules/@expo/config-plugins/build/ios/ProvisioningProfile.d.ts +0 -8
  189. package/plugin/node_modules/@expo/config-plugins/build/ios/ProvisioningProfile.js +0 -67
  190. package/plugin/node_modules/@expo/config-plugins/build/ios/ProvisioningProfile.js.map +0 -1
  191. package/plugin/node_modules/@expo/config-plugins/build/ios/RequiresFullScreen.d.ts +0 -5
  192. package/plugin/node_modules/@expo/config-plugins/build/ios/RequiresFullScreen.js +0 -101
  193. package/plugin/node_modules/@expo/config-plugins/build/ios/RequiresFullScreen.js.map +0 -1
  194. package/plugin/node_modules/@expo/config-plugins/build/ios/Scheme.d.ts +0 -11
  195. package/plugin/node_modules/@expo/config-plugins/build/ios/Scheme.js +0 -111
  196. package/plugin/node_modules/@expo/config-plugins/build/ios/Scheme.js.map +0 -1
  197. package/plugin/node_modules/@expo/config-plugins/build/ios/Swift.d.ts +0 -34
  198. package/plugin/node_modules/@expo/config-plugins/build/ios/Swift.js +0 -196
  199. package/plugin/node_modules/@expo/config-plugins/build/ios/Swift.js.map +0 -1
  200. package/plugin/node_modules/@expo/config-plugins/build/ios/Target.d.ts +0 -27
  201. package/plugin/node_modules/@expo/config-plugins/build/ios/Target.js +0 -136
  202. package/plugin/node_modules/@expo/config-plugins/build/ios/Target.js.map +0 -1
  203. package/plugin/node_modules/@expo/config-plugins/build/ios/Updates.d.ts +0 -17
  204. package/plugin/node_modules/@expo/config-plugins/build/ios/Updates.js +0 -121
  205. package/plugin/node_modules/@expo/config-plugins/build/ios/Updates.js.map +0 -1
  206. package/plugin/node_modules/@expo/config-plugins/build/ios/UsesNonExemptEncryption.d.ts +0 -5
  207. package/plugin/node_modules/@expo/config-plugins/build/ios/UsesNonExemptEncryption.js +0 -38
  208. package/plugin/node_modules/@expo/config-plugins/build/ios/UsesNonExemptEncryption.js.map +0 -1
  209. package/plugin/node_modules/@expo/config-plugins/build/ios/Version.d.ts +0 -8
  210. package/plugin/node_modules/@expo/config-plugins/build/ios/Version.js +0 -44
  211. package/plugin/node_modules/@expo/config-plugins/build/ios/Version.js.map +0 -1
  212. package/plugin/node_modules/@expo/config-plugins/build/ios/XcodeProjectFile.d.ts +0 -31
  213. package/plugin/node_modules/@expo/config-plugins/build/ios/XcodeProjectFile.js +0 -99
  214. package/plugin/node_modules/@expo/config-plugins/build/ios/XcodeProjectFile.js.map +0 -1
  215. package/plugin/node_modules/@expo/config-plugins/build/ios/codeMod.d.ts +0 -81
  216. package/plugin/node_modules/@expo/config-plugins/build/ios/codeMod.js +0 -264
  217. package/plugin/node_modules/@expo/config-plugins/build/ios/codeMod.js.map +0 -1
  218. package/plugin/node_modules/@expo/config-plugins/build/ios/index.d.ts +0 -27
  219. package/plugin/node_modules/@expo/config-plugins/build/ios/index.js +0 -342
  220. package/plugin/node_modules/@expo/config-plugins/build/ios/index.js.map +0 -1
  221. package/plugin/node_modules/@expo/config-plugins/build/ios/utils/Xcodeproj.d.ts +0 -93
  222. package/plugin/node_modules/@expo/config-plugins/build/ios/utils/Xcodeproj.js +0 -484
  223. package/plugin/node_modules/@expo/config-plugins/build/ios/utils/Xcodeproj.js.map +0 -1
  224. package/plugin/node_modules/@expo/config-plugins/build/ios/utils/getInfoPlistPath.d.ts +0 -12
  225. package/plugin/node_modules/@expo/config-plugins/build/ios/utils/getInfoPlistPath.js +0 -49
  226. package/plugin/node_modules/@expo/config-plugins/build/ios/utils/getInfoPlistPath.js.map +0 -1
  227. package/plugin/node_modules/@expo/config-plugins/build/ios/utils/string.d.ts +0 -1
  228. package/plugin/node_modules/@expo/config-plugins/build/ios/utils/string.js +0 -10
  229. package/plugin/node_modules/@expo/config-plugins/build/ios/utils/string.js.map +0 -1
  230. package/plugin/node_modules/@expo/config-plugins/build/plugins/android-plugins.d.ts +0 -89
  231. package/plugin/node_modules/@expo/config-plugins/build/plugins/android-plugins.js +0 -210
  232. package/plugin/node_modules/@expo/config-plugins/build/plugins/android-plugins.js.map +0 -1
  233. package/plugin/node_modules/@expo/config-plugins/build/plugins/createBaseMod.d.ts +0 -31
  234. package/plugin/node_modules/@expo/config-plugins/build/plugins/createBaseMod.js +0 -129
  235. package/plugin/node_modules/@expo/config-plugins/build/plugins/createBaseMod.js.map +0 -1
  236. package/plugin/node_modules/@expo/config-plugins/build/plugins/ios-plugins.d.ts +0 -77
  237. package/plugin/node_modules/@expo/config-plugins/build/plugins/ios-plugins.js +0 -205
  238. package/plugin/node_modules/@expo/config-plugins/build/plugins/ios-plugins.js.map +0 -1
  239. package/plugin/node_modules/@expo/config-plugins/build/plugins/mod-compiler.d.ts +0 -39
  240. package/plugin/node_modules/@expo/config-plugins/build/plugins/mod-compiler.js +0 -226
  241. package/plugin/node_modules/@expo/config-plugins/build/plugins/mod-compiler.js.map +0 -1
  242. package/plugin/node_modules/@expo/config-plugins/build/plugins/withAndroidBaseMods.d.ts +0 -40
  243. package/plugin/node_modules/@expo/config-plugins/build/plugins/withAndroidBaseMods.js +0 -510
  244. package/plugin/node_modules/@expo/config-plugins/build/plugins/withAndroidBaseMods.js.map +0 -1
  245. package/plugin/node_modules/@expo/config-plugins/build/plugins/withDangerousMod.d.ts +0 -10
  246. package/plugin/node_modules/@expo/config-plugins/build/plugins/withDangerousMod.js +0 -30
  247. package/plugin/node_modules/@expo/config-plugins/build/plugins/withDangerousMod.js.map +0 -1
  248. package/plugin/node_modules/@expo/config-plugins/build/plugins/withFinalizedMod.d.ts +0 -10
  249. package/plugin/node_modules/@expo/config-plugins/build/plugins/withFinalizedMod.js +0 -30
  250. package/plugin/node_modules/@expo/config-plugins/build/plugins/withFinalizedMod.js.map +0 -1
  251. package/plugin/node_modules/@expo/config-plugins/build/plugins/withIosBaseMods.d.ts +0 -33
  252. package/plugin/node_modules/@expo/config-plugins/build/plugins/withIosBaseMods.js +0 -442
  253. package/plugin/node_modules/@expo/config-plugins/build/plugins/withIosBaseMods.js.map +0 -1
  254. package/plugin/node_modules/@expo/config-plugins/build/plugins/withMod.d.ts +0 -46
  255. package/plugin/node_modules/@expo/config-plugins/build/plugins/withMod.js +0 -208
  256. package/plugin/node_modules/@expo/config-plugins/build/plugins/withMod.js.map +0 -1
  257. package/plugin/node_modules/@expo/config-plugins/build/plugins/withPlugins.d.ts +0 -8
  258. package/plugin/node_modules/@expo/config-plugins/build/plugins/withPlugins.js +0 -35
  259. package/plugin/node_modules/@expo/config-plugins/build/plugins/withPlugins.js.map +0 -1
  260. package/plugin/node_modules/@expo/config-plugins/build/plugins/withRunOnce.d.ts +0 -20
  261. package/plugin/node_modules/@expo/config-plugins/build/plugins/withRunOnce.js +0 -55
  262. package/plugin/node_modules/@expo/config-plugins/build/plugins/withRunOnce.js.map +0 -1
  263. package/plugin/node_modules/@expo/config-plugins/build/plugins/withStaticPlugin.d.ts +0 -17
  264. package/plugin/node_modules/@expo/config-plugins/build/plugins/withStaticPlugin.js +0 -138
  265. package/plugin/node_modules/@expo/config-plugins/build/plugins/withStaticPlugin.js.map +0 -1
  266. package/plugin/node_modules/@expo/config-plugins/build/utils/BuildProperties.types.d.ts +0 -25
  267. package/plugin/node_modules/@expo/config-plugins/build/utils/BuildProperties.types.js +0 -2
  268. package/plugin/node_modules/@expo/config-plugins/build/utils/BuildProperties.types.js.map +0 -1
  269. package/plugin/node_modules/@expo/config-plugins/build/utils/Updates.d.ts +0 -29
  270. package/plugin/node_modules/@expo/config-plugins/build/utils/Updates.js +0 -217
  271. package/plugin/node_modules/@expo/config-plugins/build/utils/Updates.js.map +0 -1
  272. package/plugin/node_modules/@expo/config-plugins/build/utils/XML.d.ts +0 -27
  273. package/plugin/node_modules/@expo/config-plugins/build/utils/XML.js +0 -161
  274. package/plugin/node_modules/@expo/config-plugins/build/utils/XML.js.map +0 -1
  275. package/plugin/node_modules/@expo/config-plugins/build/utils/commonCodeMod.d.ts +0 -32
  276. package/plugin/node_modules/@expo/config-plugins/build/utils/commonCodeMod.js +0 -63
  277. package/plugin/node_modules/@expo/config-plugins/build/utils/commonCodeMod.js.map +0 -1
  278. package/plugin/node_modules/@expo/config-plugins/build/utils/errors.d.ts +0 -15
  279. package/plugin/node_modules/@expo/config-plugins/build/utils/errors.js +0 -27
  280. package/plugin/node_modules/@expo/config-plugins/build/utils/errors.js.map +0 -1
  281. package/plugin/node_modules/@expo/config-plugins/build/utils/fs.d.ts +0 -4
  282. package/plugin/node_modules/@expo/config-plugins/build/utils/fs.js +0 -45
  283. package/plugin/node_modules/@expo/config-plugins/build/utils/fs.js.map +0 -1
  284. package/plugin/node_modules/@expo/config-plugins/build/utils/generateCode.d.ts +0 -36
  285. package/plugin/node_modules/@expo/config-plugins/build/utils/generateCode.js +0 -128
  286. package/plugin/node_modules/@expo/config-plugins/build/utils/generateCode.js.map +0 -1
  287. package/plugin/node_modules/@expo/config-plugins/build/utils/history.d.ts +0 -11
  288. package/plugin/node_modules/@expo/config-plugins/build/utils/history.js +0 -24
  289. package/plugin/node_modules/@expo/config-plugins/build/utils/history.js.map +0 -1
  290. package/plugin/node_modules/@expo/config-plugins/build/utils/matchBrackets.d.ts +0 -7
  291. package/plugin/node_modules/@expo/config-plugins/build/utils/matchBrackets.js +0 -65
  292. package/plugin/node_modules/@expo/config-plugins/build/utils/matchBrackets.js.map +0 -1
  293. package/plugin/node_modules/@expo/config-plugins/build/utils/modules.d.ts +0 -3
  294. package/plugin/node_modules/@expo/config-plugins/build/utils/modules.js +0 -42
  295. package/plugin/node_modules/@expo/config-plugins/build/utils/modules.js.map +0 -1
  296. package/plugin/node_modules/@expo/config-plugins/build/utils/obj.d.ts +0 -2
  297. package/plugin/node_modules/@expo/config-plugins/build/utils/obj.js +0 -20
  298. package/plugin/node_modules/@expo/config-plugins/build/utils/obj.js.map +0 -1
  299. package/plugin/node_modules/@expo/config-plugins/build/utils/plugin-resolver.d.ts +0 -33
  300. package/plugin/node_modules/@expo/config-plugins/build/utils/plugin-resolver.js +0 -218
  301. package/plugin/node_modules/@expo/config-plugins/build/utils/plugin-resolver.js.map +0 -1
  302. package/plugin/node_modules/@expo/config-plugins/build/utils/sortObject.d.ts +0 -4
  303. package/plugin/node_modules/@expo/config-plugins/build/utils/sortObject.js +0 -42
  304. package/plugin/node_modules/@expo/config-plugins/build/utils/sortObject.js.map +0 -1
  305. package/plugin/node_modules/@expo/config-plugins/build/utils/versions.d.ts +0 -3
  306. package/plugin/node_modules/@expo/config-plugins/build/utils/versions.js +0 -42
  307. package/plugin/node_modules/@expo/config-plugins/build/utils/versions.js.map +0 -1
  308. package/plugin/node_modules/@expo/config-plugins/build/utils/warnings.d.ts +0 -26
  309. package/plugin/node_modules/@expo/config-plugins/build/utils/warnings.js +0 -52
  310. package/plugin/node_modules/@expo/config-plugins/build/utils/warnings.js.map +0 -1
  311. package/plugin/node_modules/@expo/config-plugins/package.json +0 -62
  312. package/plugin/node_modules/@expo/config-types/LICENSE +0 -22
  313. package/plugin/node_modules/@expo/config-types/README.md +0 -38
  314. package/plugin/node_modules/@expo/config-types/build/ExpoConfig.d.ts +0 -878
  315. package/plugin/node_modules/@expo/config-types/build/ExpoConfig.js +0 -6
  316. package/plugin/node_modules/@expo/config-types/package.json +0 -48
  317. package/plugin/node_modules/@expo/json-file/LICENSE +0 -22
  318. package/plugin/node_modules/@expo/json-file/README.md +0 -29
  319. package/plugin/node_modules/@expo/json-file/build/JsonFile.d.ts +0 -61
  320. package/plugin/node_modules/@expo/json-file/build/JsonFile.js +0 -283
  321. package/plugin/node_modules/@expo/json-file/build/JsonFile.js.map +0 -1
  322. package/plugin/node_modules/@expo/json-file/build/JsonFileError.d.ts +0 -13
  323. package/plugin/node_modules/@expo/json-file/build/JsonFileError.js +0 -35
  324. package/plugin/node_modules/@expo/json-file/build/JsonFileError.js.map +0 -1
  325. package/plugin/node_modules/@expo/json-file/package.json +0 -47
  326. package/plugin/node_modules/@expo/plist/README.md +0 -8
  327. package/plugin/node_modules/@expo/plist/build/build.d.ts +0 -11
  328. package/plugin/node_modules/@expo/plist/build/build.js +0 -152
  329. package/plugin/node_modules/@expo/plist/build/build.js.map +0 -1
  330. package/plugin/node_modules/@expo/plist/build/index.d.ts +0 -16
  331. package/plugin/node_modules/@expo/plist/build/index.js +0 -6
  332. package/plugin/node_modules/@expo/plist/build/index.js.map +0 -1
  333. package/plugin/node_modules/@expo/plist/build/parse.d.ts +0 -8
  334. package/plugin/node_modules/@expo/plist/build/parse.js +0 -201
  335. package/plugin/node_modules/@expo/plist/build/parse.js.map +0 -1
  336. package/plugin/node_modules/@expo/plist/package.json +0 -45
  337. package/plugin/node_modules/@expo/sdk-runtime-versions/README.md +0 -5
  338. package/plugin/node_modules/@expo/sdk-runtime-versions/build/index.d.ts +0 -4
  339. package/plugin/node_modules/@expo/sdk-runtime-versions/build/index.js +0 -21
  340. package/plugin/node_modules/@expo/sdk-runtime-versions/build/index.js.map +0 -1
  341. package/plugin/node_modules/@expo/sdk-runtime-versions/package.json +0 -29
  342. package/plugin/node_modules/@types/node/LICENSE +0 -21
  343. package/plugin/node_modules/@types/node/README.md +0 -15
  344. package/plugin/node_modules/@types/node/assert/strict.d.ts +0 -8
  345. package/plugin/node_modules/@types/node/assert.d.ts +0 -1044
  346. package/plugin/node_modules/@types/node/async_hooks.d.ts +0 -605
  347. package/plugin/node_modules/@types/node/buffer.buffer.d.ts +0 -462
  348. package/plugin/node_modules/@types/node/buffer.d.ts +0 -1932
  349. package/plugin/node_modules/@types/node/child_process.d.ts +0 -1548
  350. package/plugin/node_modules/@types/node/cluster.d.ts +0 -578
  351. package/plugin/node_modules/@types/node/compatibility/disposable.d.ts +0 -16
  352. package/plugin/node_modules/@types/node/compatibility/index.d.ts +0 -9
  353. package/plugin/node_modules/@types/node/compatibility/indexable.d.ts +0 -20
  354. package/plugin/node_modules/@types/node/compatibility/iterators.d.ts +0 -21
  355. package/plugin/node_modules/@types/node/console.d.ts +0 -452
  356. package/plugin/node_modules/@types/node/constants.d.ts +0 -21
  357. package/plugin/node_modules/@types/node/crypto.d.ts +0 -4570
  358. package/plugin/node_modules/@types/node/dgram.d.ts +0 -596
  359. package/plugin/node_modules/@types/node/diagnostics_channel.d.ts +0 -578
  360. package/plugin/node_modules/@types/node/dns/promises.d.ts +0 -479
  361. package/plugin/node_modules/@types/node/dns.d.ts +0 -871
  362. package/plugin/node_modules/@types/node/dom-events.d.ts +0 -99
  363. package/plugin/node_modules/@types/node/domain.d.ts +0 -170
  364. package/plugin/node_modules/@types/node/events.d.ts +0 -931
  365. package/plugin/node_modules/@types/node/fs/promises.d.ts +0 -1248
  366. package/plugin/node_modules/@types/node/fs.d.ts +0 -4362
  367. package/plugin/node_modules/@types/node/globals.d.ts +0 -335
  368. package/plugin/node_modules/@types/node/globals.typedarray.d.ts +0 -21
  369. package/plugin/node_modules/@types/node/http.d.ts +0 -2031
  370. package/plugin/node_modules/@types/node/http2.d.ts +0 -2623
  371. package/plugin/node_modules/@types/node/https.d.ts +0 -544
  372. package/plugin/node_modules/@types/node/index.d.ts +0 -91
  373. package/plugin/node_modules/@types/node/inspector.d.ts +0 -3966
  374. package/plugin/node_modules/@types/node/module.d.ts +0 -539
  375. package/plugin/node_modules/@types/node/net.d.ts +0 -1011
  376. package/plugin/node_modules/@types/node/os.d.ts +0 -495
  377. package/plugin/node_modules/@types/node/package.json +0 -140
  378. package/plugin/node_modules/@types/node/path.d.ts +0 -200
  379. package/plugin/node_modules/@types/node/perf_hooks.d.ts +0 -963
  380. package/plugin/node_modules/@types/node/process.d.ts +0 -1956
  381. package/plugin/node_modules/@types/node/punycode.d.ts +0 -117
  382. package/plugin/node_modules/@types/node/querystring.d.ts +0 -152
  383. package/plugin/node_modules/@types/node/readline/promises.d.ts +0 -162
  384. package/plugin/node_modules/@types/node/readline.d.ts +0 -589
  385. package/plugin/node_modules/@types/node/repl.d.ts +0 -430
  386. package/plugin/node_modules/@types/node/sea.d.ts +0 -153
  387. package/plugin/node_modules/@types/node/stream/consumers.d.ts +0 -38
  388. package/plugin/node_modules/@types/node/stream/promises.d.ts +0 -90
  389. package/plugin/node_modules/@types/node/stream/web.d.ts +0 -533
  390. package/plugin/node_modules/@types/node/stream.d.ts +0 -1668
  391. package/plugin/node_modules/@types/node/string_decoder.d.ts +0 -67
  392. package/plugin/node_modules/@types/node/test.d.ts +0 -1807
  393. package/plugin/node_modules/@types/node/timers/promises.d.ts +0 -108
  394. package/plugin/node_modules/@types/node/timers.d.ts +0 -286
  395. package/plugin/node_modules/@types/node/tls.d.ts +0 -1231
  396. package/plugin/node_modules/@types/node/trace_events.d.ts +0 -197
  397. package/plugin/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +0 -460
  398. package/plugin/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +0 -19
  399. package/plugin/node_modules/@types/node/ts5.6/index.d.ts +0 -91
  400. package/plugin/node_modules/@types/node/tty.d.ts +0 -208
  401. package/plugin/node_modules/@types/node/url.d.ts +0 -964
  402. package/plugin/node_modules/@types/node/util.d.ts +0 -2331
  403. package/plugin/node_modules/@types/node/v8.d.ts +0 -808
  404. package/plugin/node_modules/@types/node/vm.d.ts +0 -1030
  405. package/plugin/node_modules/@types/node/wasi.d.ts +0 -181
  406. package/plugin/node_modules/@types/node/worker_threads.d.ts +0 -724
  407. package/plugin/node_modules/@types/node/zlib.d.ts +0 -539
  408. package/plugin/node_modules/@xmldom/xmldom/CHANGELOG.md +0 -401
  409. package/plugin/node_modules/@xmldom/xmldom/LICENSE +0 -8
  410. package/plugin/node_modules/@xmldom/xmldom/index.d.ts +0 -43
  411. package/plugin/node_modules/@xmldom/xmldom/lib/.eslintrc.yml +0 -2
  412. package/plugin/node_modules/@xmldom/xmldom/lib/conventions.js +0 -177
  413. package/plugin/node_modules/@xmldom/xmldom/lib/dom-parser.js +0 -268
  414. package/plugin/node_modules/@xmldom/xmldom/lib/dom.js +0 -1808
  415. package/plugin/node_modules/@xmldom/xmldom/lib/entities.js +0 -2166
  416. package/plugin/node_modules/@xmldom/xmldom/lib/index.js +0 -4
  417. package/plugin/node_modules/@xmldom/xmldom/lib/sax.js +0 -656
  418. package/plugin/node_modules/@xmldom/xmldom/package.json +0 -60
  419. package/plugin/node_modules/@xmldom/xmldom/readme.md +0 -338
  420. package/plugin/node_modules/ansi-styles/index.d.ts +0 -345
  421. package/plugin/node_modules/ansi-styles/index.js +0 -163
  422. package/plugin/node_modules/ansi-styles/license +0 -9
  423. package/plugin/node_modules/ansi-styles/package.json +0 -56
  424. package/plugin/node_modules/ansi-styles/readme.md +0 -152
  425. package/plugin/node_modules/balanced-match/.github/FUNDING.yml +0 -2
  426. package/plugin/node_modules/balanced-match/LICENSE.md +0 -21
  427. package/plugin/node_modules/balanced-match/README.md +0 -97
  428. package/plugin/node_modules/balanced-match/index.js +0 -62
  429. package/plugin/node_modules/balanced-match/package.json +0 -48
  430. package/plugin/node_modules/base64-js/LICENSE +0 -21
  431. package/plugin/node_modules/base64-js/README.md +0 -34
  432. package/plugin/node_modules/base64-js/base64js.min.js +0 -1
  433. package/plugin/node_modules/base64-js/index.d.ts +0 -3
  434. package/plugin/node_modules/base64-js/index.js +0 -150
  435. package/plugin/node_modules/base64-js/package.json +0 -47
  436. package/plugin/node_modules/big-integer/BigInteger.d.ts +0 -2393
  437. package/plugin/node_modules/big-integer/BigInteger.js +0 -1453
  438. package/plugin/node_modules/big-integer/BigInteger.min.js +0 -1
  439. package/plugin/node_modules/big-integer/LICENSE +0 -24
  440. package/plugin/node_modules/big-integer/README.md +0 -589
  441. package/plugin/node_modules/big-integer/bower.json +0 -29
  442. package/plugin/node_modules/big-integer/package.json +0 -48
  443. package/plugin/node_modules/big-integer/tsconfig.json +0 -24
  444. package/plugin/node_modules/bplist-creator/LICENSE +0 -18
  445. package/plugin/node_modules/bplist-creator/README.md +0 -64
  446. package/plugin/node_modules/bplist-creator/bplistCreator.js +0 -460
  447. package/plugin/node_modules/bplist-creator/package.json +0 -28
  448. package/plugin/node_modules/bplist-creator/test/airplay.bplist +0 -0
  449. package/plugin/node_modules/bplist-creator/test/binaryData.bplist +0 -0
  450. package/plugin/node_modules/bplist-creator/test/creatorTest.js +0 -211
  451. package/plugin/node_modules/bplist-creator/test/iTunes-small.bplist +0 -0
  452. package/plugin/node_modules/bplist-creator/test/integers.bplist +0 -0
  453. package/plugin/node_modules/bplist-creator/test/sample1.bplist +0 -0
  454. package/plugin/node_modules/bplist-creator/test/sample2.bplist +0 -0
  455. package/plugin/node_modules/bplist-creator/test/uid.bplist +0 -0
  456. package/plugin/node_modules/bplist-creator/test/utf16.bplist +0 -0
  457. package/plugin/node_modules/bplist-parser/.editorconfig +0 -12
  458. package/plugin/node_modules/bplist-parser/.eslintignore +0 -1
  459. package/plugin/node_modules/bplist-parser/.eslintrc.js +0 -295
  460. package/plugin/node_modules/bplist-parser/README.md +0 -48
  461. package/plugin/node_modules/bplist-parser/bplistParser.d.ts +0 -6
  462. package/plugin/node_modules/bplist-parser/bplistParser.js +0 -366
  463. package/plugin/node_modules/bplist-parser/package.json +0 -35
  464. package/plugin/node_modules/brace-expansion/LICENSE +0 -21
  465. package/plugin/node_modules/brace-expansion/README.md +0 -129
  466. package/plugin/node_modules/brace-expansion/index.js +0 -201
  467. package/plugin/node_modules/brace-expansion/package.json +0 -50
  468. package/plugin/node_modules/chalk/index.d.ts +0 -415
  469. package/plugin/node_modules/chalk/license +0 -9
  470. package/plugin/node_modules/chalk/package.json +0 -68
  471. package/plugin/node_modules/chalk/readme.md +0 -341
  472. package/plugin/node_modules/chalk/source/index.js +0 -229
  473. package/plugin/node_modules/chalk/source/templates.js +0 -134
  474. package/plugin/node_modules/chalk/source/util.js +0 -39
  475. package/plugin/node_modules/color-convert/CHANGELOG.md +0 -54
  476. package/plugin/node_modules/color-convert/LICENSE +0 -21
  477. package/plugin/node_modules/color-convert/README.md +0 -68
  478. package/plugin/node_modules/color-convert/conversions.js +0 -839
  479. package/plugin/node_modules/color-convert/index.js +0 -81
  480. package/plugin/node_modules/color-convert/package.json +0 -48
  481. package/plugin/node_modules/color-convert/route.js +0 -97
  482. package/plugin/node_modules/color-name/LICENSE +0 -8
  483. package/plugin/node_modules/color-name/README.md +0 -11
  484. package/plugin/node_modules/color-name/index.js +0 -152
  485. package/plugin/node_modules/color-name/package.json +0 -28
  486. package/plugin/node_modules/concat-map/.travis.yml +0 -4
  487. package/plugin/node_modules/concat-map/LICENSE +0 -18
  488. package/plugin/node_modules/concat-map/README.markdown +0 -62
  489. package/plugin/node_modules/concat-map/example/map.js +0 -6
  490. package/plugin/node_modules/concat-map/index.js +0 -13
  491. package/plugin/node_modules/concat-map/package.json +0 -43
  492. package/plugin/node_modules/concat-map/test/map.js +0 -39
  493. package/plugin/node_modules/debug/LICENSE +0 -20
  494. package/plugin/node_modules/debug/README.md +0 -481
  495. package/plugin/node_modules/debug/package.json +0 -64
  496. package/plugin/node_modules/debug/src/browser.js +0 -272
  497. package/plugin/node_modules/debug/src/common.js +0 -292
  498. package/plugin/node_modules/debug/src/index.js +0 -10
  499. package/plugin/node_modules/debug/src/node.js +0 -263
  500. package/plugin/node_modules/escape-string-regexp/index.js +0 -11
  501. package/plugin/node_modules/escape-string-regexp/license +0 -21
  502. package/plugin/node_modules/escape-string-regexp/package.json +0 -41
  503. package/plugin/node_modules/escape-string-regexp/readme.md +0 -27
  504. package/plugin/node_modules/find-up/index.d.ts +0 -138
  505. package/plugin/node_modules/find-up/index.js +0 -89
  506. package/plugin/node_modules/find-up/license +0 -9
  507. package/plugin/node_modules/find-up/package.json +0 -54
  508. package/plugin/node_modules/find-up/readme.md +0 -151
  509. package/plugin/node_modules/fs.realpath/LICENSE +0 -43
  510. package/plugin/node_modules/fs.realpath/README.md +0 -33
  511. package/plugin/node_modules/fs.realpath/index.js +0 -66
  512. package/plugin/node_modules/fs.realpath/old.js +0 -303
  513. package/plugin/node_modules/fs.realpath/package.json +0 -26
  514. package/plugin/node_modules/getenv/LICENSE.md +0 -20
  515. package/plugin/node_modules/getenv/README.md +0 -197
  516. package/plugin/node_modules/getenv/index.js +0 -150
  517. package/plugin/node_modules/getenv/package.json +0 -38
  518. package/plugin/node_modules/glob/LICENSE +0 -21
  519. package/plugin/node_modules/glob/README.md +0 -375
  520. package/plugin/node_modules/glob/changelog.md +0 -67
  521. package/plugin/node_modules/glob/common.js +0 -240
  522. package/plugin/node_modules/glob/glob.js +0 -790
  523. package/plugin/node_modules/glob/package.json +0 -46
  524. package/plugin/node_modules/glob/sync.js +0 -486
  525. package/plugin/node_modules/graceful-fs/LICENSE +0 -15
  526. package/plugin/node_modules/graceful-fs/README.md +0 -143
  527. package/plugin/node_modules/graceful-fs/clone.js +0 -23
  528. package/plugin/node_modules/graceful-fs/graceful-fs.js +0 -448
  529. package/plugin/node_modules/graceful-fs/legacy-streams.js +0 -118
  530. package/plugin/node_modules/graceful-fs/package.json +0 -53
  531. package/plugin/node_modules/graceful-fs/polyfills.js +0 -355
  532. package/plugin/node_modules/has-flag/index.d.ts +0 -39
  533. package/plugin/node_modules/has-flag/index.js +0 -8
  534. package/plugin/node_modules/has-flag/license +0 -9
  535. package/plugin/node_modules/has-flag/package.json +0 -46
  536. package/plugin/node_modules/has-flag/readme.md +0 -89
  537. package/plugin/node_modules/imurmurhash/README.md +0 -122
  538. package/plugin/node_modules/imurmurhash/imurmurhash.js +0 -138
  539. package/plugin/node_modules/imurmurhash/imurmurhash.min.js +0 -12
  540. package/plugin/node_modules/imurmurhash/package.json +0 -40
  541. package/plugin/node_modules/inflight/LICENSE +0 -15
  542. package/plugin/node_modules/inflight/README.md +0 -37
  543. package/plugin/node_modules/inflight/inflight.js +0 -54
  544. package/plugin/node_modules/inflight/package.json +0 -29
  545. package/plugin/node_modules/inherits/LICENSE +0 -16
  546. package/plugin/node_modules/inherits/README.md +0 -42
  547. package/plugin/node_modules/inherits/inherits.js +0 -9
  548. package/plugin/node_modules/inherits/inherits_browser.js +0 -27
  549. package/plugin/node_modules/inherits/package.json +0 -29
  550. package/plugin/node_modules/js-tokens/CHANGELOG.md +0 -151
  551. package/plugin/node_modules/js-tokens/LICENSE +0 -21
  552. package/plugin/node_modules/js-tokens/README.md +0 -240
  553. package/plugin/node_modules/js-tokens/index.js +0 -23
  554. package/plugin/node_modules/js-tokens/package.json +0 -30
  555. package/plugin/node_modules/json5/LICENSE.md +0 -23
  556. package/plugin/node_modules/json5/README.md +0 -282
  557. package/plugin/node_modules/json5/dist/index.js +0 -1737
  558. package/plugin/node_modules/json5/dist/index.min.js +0 -1
  559. package/plugin/node_modules/json5/dist/index.min.mjs +0 -1
  560. package/plugin/node_modules/json5/dist/index.mjs +0 -1426
  561. package/plugin/node_modules/json5/lib/cli.js +0 -152
  562. package/plugin/node_modules/json5/lib/index.d.ts +0 -4
  563. package/plugin/node_modules/json5/lib/index.js +0 -9
  564. package/plugin/node_modules/json5/lib/parse.d.ts +0 -15
  565. package/plugin/node_modules/json5/lib/parse.js +0 -1114
  566. package/plugin/node_modules/json5/lib/register.js +0 -13
  567. package/plugin/node_modules/json5/lib/require.js +0 -4
  568. package/plugin/node_modules/json5/lib/stringify.d.ts +0 -89
  569. package/plugin/node_modules/json5/lib/stringify.js +0 -261
  570. package/plugin/node_modules/json5/lib/unicode.d.ts +0 -3
  571. package/plugin/node_modules/json5/lib/unicode.js +0 -4
  572. package/plugin/node_modules/json5/lib/util.d.ts +0 -5
  573. package/plugin/node_modules/json5/lib/util.js +0 -35
  574. package/plugin/node_modules/json5/package.json +0 -72
  575. package/plugin/node_modules/locate-path/index.d.ts +0 -83
  576. package/plugin/node_modules/locate-path/index.js +0 -68
  577. package/plugin/node_modules/locate-path/license +0 -9
  578. package/plugin/node_modules/locate-path/package.json +0 -46
  579. package/plugin/node_modules/locate-path/readme.md +0 -125
  580. package/plugin/node_modules/minimatch/LICENSE +0 -15
  581. package/plugin/node_modules/minimatch/README.md +0 -230
  582. package/plugin/node_modules/minimatch/minimatch.js +0 -947
  583. package/plugin/node_modules/minimatch/package.json +0 -33
  584. package/plugin/node_modules/ms/index.js +0 -162
  585. package/plugin/node_modules/ms/license.md +0 -21
  586. package/plugin/node_modules/ms/package.json +0 -38
  587. package/plugin/node_modules/ms/readme.md +0 -59
  588. package/plugin/node_modules/once/LICENSE +0 -15
  589. package/plugin/node_modules/once/README.md +0 -79
  590. package/plugin/node_modules/once/once.js +0 -42
  591. package/plugin/node_modules/once/package.json +0 -33
  592. package/plugin/node_modules/p-limit/index.d.ts +0 -42
  593. package/plugin/node_modules/p-limit/index.js +0 -71
  594. package/plugin/node_modules/p-limit/license +0 -9
  595. package/plugin/node_modules/p-limit/package.json +0 -52
  596. package/plugin/node_modules/p-limit/readme.md +0 -101
  597. package/plugin/node_modules/p-locate/index.d.ts +0 -53
  598. package/plugin/node_modules/p-locate/index.js +0 -50
  599. package/plugin/node_modules/p-locate/license +0 -9
  600. package/plugin/node_modules/p-locate/package.json +0 -54
  601. package/plugin/node_modules/p-locate/readme.md +0 -93
  602. package/plugin/node_modules/path-exists/index.d.ts +0 -28
  603. package/plugin/node_modules/path-exists/index.js +0 -23
  604. package/plugin/node_modules/path-exists/license +0 -9
  605. package/plugin/node_modules/path-exists/package.json +0 -39
  606. package/plugin/node_modules/path-exists/readme.md +0 -52
  607. package/plugin/node_modules/path-is-absolute/index.js +0 -20
  608. package/plugin/node_modules/path-is-absolute/license +0 -21
  609. package/plugin/node_modules/path-is-absolute/package.json +0 -43
  610. package/plugin/node_modules/path-is-absolute/readme.md +0 -59
  611. package/plugin/node_modules/picocolors/LICENSE +0 -15
  612. package/plugin/node_modules/picocolors/README.md +0 -21
  613. package/plugin/node_modules/picocolors/package.json +0 -25
  614. package/plugin/node_modules/picocolors/picocolors.browser.js +0 -4
  615. package/plugin/node_modules/picocolors/picocolors.d.ts +0 -5
  616. package/plugin/node_modules/picocolors/picocolors.js +0 -75
  617. package/plugin/node_modules/picocolors/types.d.ts +0 -51
  618. package/plugin/node_modules/plist/.github/workflows/ci.yml +0 -24
  619. package/plugin/node_modules/plist/.jshintrc +0 -4
  620. package/plugin/node_modules/plist/History.md +0 -196
  621. package/plugin/node_modules/plist/LICENSE +0 -24
  622. package/plugin/node_modules/plist/Makefile +0 -75
  623. package/plugin/node_modules/plist/README.md +0 -146
  624. package/plugin/node_modules/plist/dist/plist-build.js +0 -5348
  625. package/plugin/node_modules/plist/dist/plist-parse.js +0 -7456
  626. package/plugin/node_modules/plist/dist/plist.js +0 -9888
  627. package/plugin/node_modules/plist/examples/browser/index.html +0 -14
  628. package/plugin/node_modules/plist/index.js +0 -13
  629. package/plugin/node_modules/plist/lib/build.js +0 -143
  630. package/plugin/node_modules/plist/lib/parse.js +0 -227
  631. package/plugin/node_modules/plist/node_modules/@xmldom/xmldom/CHANGELOG.md +0 -459
  632. package/plugin/node_modules/plist/node_modules/@xmldom/xmldom/LICENSE +0 -8
  633. package/plugin/node_modules/plist/node_modules/@xmldom/xmldom/SECURITY.md +0 -50
  634. package/plugin/node_modules/plist/node_modules/@xmldom/xmldom/index.d.ts +0 -43
  635. package/plugin/node_modules/plist/node_modules/@xmldom/xmldom/lib/.eslintrc.yml +0 -2
  636. package/plugin/node_modules/plist/node_modules/@xmldom/xmldom/lib/conventions.js +0 -203
  637. package/plugin/node_modules/plist/node_modules/@xmldom/xmldom/lib/dom-parser.js +0 -322
  638. package/plugin/node_modules/plist/node_modules/@xmldom/xmldom/lib/dom.js +0 -1840
  639. package/plugin/node_modules/plist/node_modules/@xmldom/xmldom/lib/entities.js +0 -2166
  640. package/plugin/node_modules/plist/node_modules/@xmldom/xmldom/lib/index.js +0 -4
  641. package/plugin/node_modules/plist/node_modules/@xmldom/xmldom/lib/sax.js +0 -662
  642. package/plugin/node_modules/plist/node_modules/@xmldom/xmldom/package.json +0 -71
  643. package/plugin/node_modules/plist/node_modules/@xmldom/xmldom/readme.md +0 -356
  644. package/plugin/node_modules/plist/node_modules/xmlbuilder/.nycrc +0 -6
  645. package/plugin/node_modules/plist/node_modules/xmlbuilder/.vscode/launch.json +0 -23
  646. package/plugin/node_modules/plist/node_modules/xmlbuilder/CHANGELOG.md +0 -593
  647. package/plugin/node_modules/plist/node_modules/xmlbuilder/LICENSE +0 -21
  648. package/plugin/node_modules/plist/node_modules/xmlbuilder/README.md +0 -103
  649. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/Derivation.js +0 -10
  650. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/DocumentPosition.js +0 -12
  651. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/NodeType.js +0 -25
  652. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/OperationType.js +0 -11
  653. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/Utility.js +0 -88
  654. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/WriterState.js +0 -10
  655. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLAttribute.js +0 -130
  656. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLCData.js +0 -41
  657. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLCharacterData.js +0 -86
  658. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLComment.js +0 -41
  659. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLDOMConfiguration.js +0 -80
  660. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLDOMErrorHandler.js +0 -20
  661. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLDOMImplementation.js +0 -55
  662. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLDOMStringList.js +0 -44
  663. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLDTDAttList.js +0 -66
  664. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLDTDElement.js +0 -44
  665. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLDTDEntity.js +0 -115
  666. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLDTDNotation.js +0 -66
  667. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLDeclaration.js +0 -51
  668. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLDocType.js +0 -235
  669. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLDocument.js +0 -282
  670. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLDocumentCB.js +0 -650
  671. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLDocumentFragment.js +0 -21
  672. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLDummy.js +0 -39
  673. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLElement.js +0 -334
  674. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLNamedNodeMap.js +0 -77
  675. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLNode.js +0 -999
  676. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLNodeFilter.js +0 -51
  677. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLNodeList.js +0 -45
  678. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLProcessingInstruction.js +0 -56
  679. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLRaw.js +0 -40
  680. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLStreamWriter.js +0 -209
  681. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLStringWriter.js +0 -40
  682. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLStringifier.js +0 -291
  683. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLText.js +0 -82
  684. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLTypeInfo.js +0 -23
  685. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLUserDataHandler.js +0 -27
  686. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLWriterBase.js +0 -485
  687. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/index.js +0 -120
  688. package/plugin/node_modules/plist/node_modules/xmlbuilder/package.json +0 -51
  689. package/plugin/node_modules/plist/node_modules/xmlbuilder/perf/basic/escaping.coffee +0 -244
  690. package/plugin/node_modules/plist/node_modules/xmlbuilder/perf/basic/object.coffee +0 -21
  691. package/plugin/node_modules/plist/node_modules/xmlbuilder/perf/index.coffee +0 -161
  692. package/plugin/node_modules/plist/node_modules/xmlbuilder/perf/perf.list +0 -11
  693. package/plugin/node_modules/plist/node_modules/xmlbuilder/typings/index.d.ts +0 -1771
  694. package/plugin/node_modules/plist/package.json +0 -44
  695. package/plugin/node_modules/resolve-from/index.d.ts +0 -31
  696. package/plugin/node_modules/resolve-from/index.js +0 -47
  697. package/plugin/node_modules/resolve-from/license +0 -9
  698. package/plugin/node_modules/resolve-from/package.json +0 -36
  699. package/plugin/node_modules/resolve-from/readme.md +0 -72
  700. package/plugin/node_modules/sax/LICENSE +0 -41
  701. package/plugin/node_modules/sax/README.md +0 -228
  702. package/plugin/node_modules/sax/lib/sax.js +0 -1597
  703. package/plugin/node_modules/sax/package.json +0 -29
  704. package/plugin/node_modules/semver/LICENSE +0 -15
  705. package/plugin/node_modules/semver/README.md +0 -664
  706. package/plugin/node_modules/semver/bin/semver.js +0 -191
  707. package/plugin/node_modules/semver/classes/comparator.js +0 -143
  708. package/plugin/node_modules/semver/classes/index.js +0 -7
  709. package/plugin/node_modules/semver/classes/range.js +0 -556
  710. package/plugin/node_modules/semver/classes/semver.js +0 -319
  711. package/plugin/node_modules/semver/functions/clean.js +0 -8
  712. package/plugin/node_modules/semver/functions/cmp.js +0 -54
  713. package/plugin/node_modules/semver/functions/coerce.js +0 -62
  714. package/plugin/node_modules/semver/functions/compare-build.js +0 -9
  715. package/plugin/node_modules/semver/functions/compare-loose.js +0 -5
  716. package/plugin/node_modules/semver/functions/compare.js +0 -7
  717. package/plugin/node_modules/semver/functions/diff.js +0 -60
  718. package/plugin/node_modules/semver/functions/eq.js +0 -5
  719. package/plugin/node_modules/semver/functions/gt.js +0 -5
  720. package/plugin/node_modules/semver/functions/gte.js +0 -5
  721. package/plugin/node_modules/semver/functions/inc.js +0 -21
  722. package/plugin/node_modules/semver/functions/lt.js +0 -5
  723. package/plugin/node_modules/semver/functions/lte.js +0 -5
  724. package/plugin/node_modules/semver/functions/major.js +0 -5
  725. package/plugin/node_modules/semver/functions/minor.js +0 -5
  726. package/plugin/node_modules/semver/functions/neq.js +0 -5
  727. package/plugin/node_modules/semver/functions/parse.js +0 -18
  728. package/plugin/node_modules/semver/functions/patch.js +0 -5
  729. package/plugin/node_modules/semver/functions/prerelease.js +0 -8
  730. package/plugin/node_modules/semver/functions/rcompare.js +0 -5
  731. package/plugin/node_modules/semver/functions/rsort.js +0 -5
  732. package/plugin/node_modules/semver/functions/satisfies.js +0 -12
  733. package/plugin/node_modules/semver/functions/sort.js +0 -5
  734. package/plugin/node_modules/semver/functions/valid.js +0 -8
  735. package/plugin/node_modules/semver/index.js +0 -91
  736. package/plugin/node_modules/semver/internal/constants.js +0 -37
  737. package/plugin/node_modules/semver/internal/debug.js +0 -11
  738. package/plugin/node_modules/semver/internal/identifiers.js +0 -25
  739. package/plugin/node_modules/semver/internal/lrucache.js +0 -42
  740. package/plugin/node_modules/semver/internal/parse-options.js +0 -17
  741. package/plugin/node_modules/semver/internal/re.js +0 -223
  742. package/plugin/node_modules/semver/package.json +0 -78
  743. package/plugin/node_modules/semver/preload.js +0 -4
  744. package/plugin/node_modules/semver/range.bnf +0 -16
  745. package/plugin/node_modules/semver/ranges/gtr.js +0 -6
  746. package/plugin/node_modules/semver/ranges/intersects.js +0 -9
  747. package/plugin/node_modules/semver/ranges/ltr.js +0 -6
  748. package/plugin/node_modules/semver/ranges/max-satisfying.js +0 -27
  749. package/plugin/node_modules/semver/ranges/min-satisfying.js +0 -26
  750. package/plugin/node_modules/semver/ranges/min-version.js +0 -63
  751. package/plugin/node_modules/semver/ranges/outside.js +0 -82
  752. package/plugin/node_modules/semver/ranges/simplify.js +0 -49
  753. package/plugin/node_modules/semver/ranges/subset.js +0 -249
  754. package/plugin/node_modules/semver/ranges/to-comparators.js +0 -10
  755. package/plugin/node_modules/semver/ranges/valid.js +0 -13
  756. package/plugin/node_modules/signal-exit/LICENSE.txt +0 -16
  757. package/plugin/node_modules/signal-exit/README.md +0 -39
  758. package/plugin/node_modules/signal-exit/index.js +0 -202
  759. package/plugin/node_modules/signal-exit/package.json +0 -38
  760. package/plugin/node_modules/signal-exit/signals.js +0 -53
  761. package/plugin/node_modules/simple-plist/LICENSE +0 -20
  762. package/plugin/node_modules/simple-plist/README.md +0 -130
  763. package/plugin/node_modules/simple-plist/dist/index.d.ts +0 -24
  764. package/plugin/node_modules/simple-plist/dist/index.js +0 -41
  765. package/plugin/node_modules/simple-plist/dist/parse.d.ts +0 -8
  766. package/plugin/node_modules/simple-plist/dist/parse.js +0 -45
  767. package/plugin/node_modules/simple-plist/dist/readFile.d.ts +0 -4
  768. package/plugin/node_modules/simple-plist/dist/readFile.js +0 -36
  769. package/plugin/node_modules/simple-plist/dist/readFileSync.d.ts +0 -3
  770. package/plugin/node_modules/simple-plist/dist/readFileSync.js +0 -26
  771. package/plugin/node_modules/simple-plist/dist/stringify.d.ts +0 -2
  772. package/plugin/node_modules/simple-plist/dist/stringify.js +0 -21
  773. package/plugin/node_modules/simple-plist/dist/types.d.ts +0 -4
  774. package/plugin/node_modules/simple-plist/dist/types.js +0 -12
  775. package/plugin/node_modules/simple-plist/dist/writeBinaryFile.d.ts +0 -5
  776. package/plugin/node_modules/simple-plist/dist/writeBinaryFile.js +0 -30
  777. package/plugin/node_modules/simple-plist/dist/writeBinaryFileSync.d.ts +0 -4
  778. package/plugin/node_modules/simple-plist/dist/writeBinaryFileSync.js +0 -22
  779. package/plugin/node_modules/simple-plist/dist/writeFile.d.ts +0 -5
  780. package/plugin/node_modules/simple-plist/dist/writeFile.js +0 -30
  781. package/plugin/node_modules/simple-plist/dist/writeFileSync.d.ts +0 -4
  782. package/plugin/node_modules/simple-plist/dist/writeFileSync.js +0 -23
  783. package/plugin/node_modules/simple-plist/package.json +0 -53
  784. package/plugin/node_modules/slash/index.d.ts +0 -25
  785. package/plugin/node_modules/slash/index.js +0 -11
  786. package/plugin/node_modules/slash/license +0 -9
  787. package/plugin/node_modules/slash/package.json +0 -35
  788. package/plugin/node_modules/slash/readme.md +0 -44
  789. package/plugin/node_modules/slugify/CHANGELOG.md +0 -94
  790. package/plugin/node_modules/slugify/LICENSE +0 -21
  791. package/plugin/node_modules/slugify/README.md +0 -98
  792. package/plugin/node_modules/slugify/package.json +0 -42
  793. package/plugin/node_modules/slugify/slugify.d.ts +0 -24
  794. package/plugin/node_modules/slugify/slugify.js +0 -69
  795. package/plugin/node_modules/stream-buffers/.mailmap +0 -2
  796. package/plugin/node_modules/stream-buffers/.travis.yml +0 -28
  797. package/plugin/node_modules/stream-buffers/README.md +0 -157
  798. package/plugin/node_modules/stream-buffers/UNLICENSE +0 -24
  799. package/plugin/node_modules/stream-buffers/coverage/coverage.json +0 -1
  800. package/plugin/node_modules/stream-buffers/coverage/lcov-report/base.css +0 -182
  801. package/plugin/node_modules/stream-buffers/coverage/lcov-report/index.html +0 -73
  802. package/plugin/node_modules/stream-buffers/coverage/lcov-report/lib/constants.js.html +0 -63
  803. package/plugin/node_modules/stream-buffers/coverage/lcov-report/lib/index.html +0 -112
  804. package/plugin/node_modules/stream-buffers/coverage/lcov-report/lib/readable_streambuffer.js.html +0 -453
  805. package/plugin/node_modules/stream-buffers/coverage/lcov-report/lib/streambuffer.js.html +0 -54
  806. package/plugin/node_modules/stream-buffers/coverage/lcov-report/lib/writable_streambuffer.js.html +0 -336
  807. package/plugin/node_modules/stream-buffers/coverage/lcov-report/prettify.css +0 -1
  808. package/plugin/node_modules/stream-buffers/coverage/lcov-report/prettify.js +0 -1
  809. package/plugin/node_modules/stream-buffers/coverage/lcov-report/sort-arrow-sprite.png +0 -0
  810. package/plugin/node_modules/stream-buffers/coverage/lcov-report/sorter.js +0 -156
  811. package/plugin/node_modules/stream-buffers/coverage/lcov.info +0 -305
  812. package/plugin/node_modules/stream-buffers/lib/constants.js +0 -6
  813. package/plugin/node_modules/stream-buffers/lib/readable_streambuffer.js +0 -136
  814. package/plugin/node_modules/stream-buffers/lib/streambuffer.js +0 -3
  815. package/plugin/node_modules/stream-buffers/lib/writable_streambuffer.js +0 -97
  816. package/plugin/node_modules/stream-buffers/package.json +0 -28
  817. package/plugin/node_modules/supports-color/browser.js +0 -5
  818. package/plugin/node_modules/supports-color/index.js +0 -135
  819. package/plugin/node_modules/supports-color/license +0 -9
  820. package/plugin/node_modules/supports-color/package.json +0 -53
  821. package/plugin/node_modules/supports-color/readme.md +0 -76
  822. package/plugin/node_modules/typescript/LICENSE.txt +0 -55
  823. package/plugin/node_modules/typescript/README.md +0 -50
  824. package/plugin/node_modules/typescript/SECURITY.md +0 -41
  825. package/plugin/node_modules/typescript/ThirdPartyNoticeText.txt +0 -193
  826. package/plugin/node_modules/typescript/bin/tsc +0 -2
  827. package/plugin/node_modules/typescript/bin/tsserver +0 -2
  828. package/plugin/node_modules/typescript/lib/_tsc.js +0 -133792
  829. package/plugin/node_modules/typescript/lib/_tsserver.js +0 -659
  830. package/plugin/node_modules/typescript/lib/_typingsInstaller.js +0 -222
  831. package/plugin/node_modules/typescript/lib/cs/diagnosticMessages.generated.json +0 -2122
  832. package/plugin/node_modules/typescript/lib/de/diagnosticMessages.generated.json +0 -2122
  833. package/plugin/node_modules/typescript/lib/es/diagnosticMessages.generated.json +0 -2122
  834. package/plugin/node_modules/typescript/lib/fr/diagnosticMessages.generated.json +0 -2122
  835. package/plugin/node_modules/typescript/lib/it/diagnosticMessages.generated.json +0 -2122
  836. package/plugin/node_modules/typescript/lib/ja/diagnosticMessages.generated.json +0 -2122
  837. package/plugin/node_modules/typescript/lib/ko/diagnosticMessages.generated.json +0 -2122
  838. package/plugin/node_modules/typescript/lib/lib.d.ts +0 -22
  839. package/plugin/node_modules/typescript/lib/lib.decorators.d.ts +0 -384
  840. package/plugin/node_modules/typescript/lib/lib.decorators.legacy.d.ts +0 -22
  841. package/plugin/node_modules/typescript/lib/lib.dom.asynciterable.d.ts +0 -41
  842. package/plugin/node_modules/typescript/lib/lib.dom.d.ts +0 -39429
  843. package/plugin/node_modules/typescript/lib/lib.dom.iterable.d.ts +0 -571
  844. package/plugin/node_modules/typescript/lib/lib.es2015.collection.d.ts +0 -147
  845. package/plugin/node_modules/typescript/lib/lib.es2015.core.d.ts +0 -597
  846. package/plugin/node_modules/typescript/lib/lib.es2015.d.ts +0 -28
  847. package/plugin/node_modules/typescript/lib/lib.es2015.generator.d.ts +0 -77
  848. package/plugin/node_modules/typescript/lib/lib.es2015.iterable.d.ts +0 -605
  849. package/plugin/node_modules/typescript/lib/lib.es2015.promise.d.ts +0 -81
  850. package/plugin/node_modules/typescript/lib/lib.es2015.proxy.d.ts +0 -128
  851. package/plugin/node_modules/typescript/lib/lib.es2015.reflect.d.ts +0 -144
  852. package/plugin/node_modules/typescript/lib/lib.es2015.symbol.d.ts +0 -46
  853. package/plugin/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts +0 -326
  854. package/plugin/node_modules/typescript/lib/lib.es2016.array.include.d.ts +0 -116
  855. package/plugin/node_modules/typescript/lib/lib.es2016.d.ts +0 -21
  856. package/plugin/node_modules/typescript/lib/lib.es2016.full.d.ts +0 -23
  857. package/plugin/node_modules/typescript/lib/lib.es2016.intl.d.ts +0 -31
  858. package/plugin/node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts +0 -21
  859. package/plugin/node_modules/typescript/lib/lib.es2017.d.ts +0 -26
  860. package/plugin/node_modules/typescript/lib/lib.es2017.date.d.ts +0 -31
  861. package/plugin/node_modules/typescript/lib/lib.es2017.full.d.ts +0 -23
  862. package/plugin/node_modules/typescript/lib/lib.es2017.intl.d.ts +0 -44
  863. package/plugin/node_modules/typescript/lib/lib.es2017.object.d.ts +0 -49
  864. package/plugin/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts +0 -135
  865. package/plugin/node_modules/typescript/lib/lib.es2017.string.d.ts +0 -45
  866. package/plugin/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts +0 -53
  867. package/plugin/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts +0 -77
  868. package/plugin/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts +0 -53
  869. package/plugin/node_modules/typescript/lib/lib.es2018.d.ts +0 -24
  870. package/plugin/node_modules/typescript/lib/lib.es2018.full.d.ts +0 -24
  871. package/plugin/node_modules/typescript/lib/lib.es2018.intl.d.ts +0 -83
  872. package/plugin/node_modules/typescript/lib/lib.es2018.promise.d.ts +0 -30
  873. package/plugin/node_modules/typescript/lib/lib.es2018.regexp.d.ts +0 -37
  874. package/plugin/node_modules/typescript/lib/lib.es2019.array.d.ts +0 -79
  875. package/plugin/node_modules/typescript/lib/lib.es2019.d.ts +0 -24
  876. package/plugin/node_modules/typescript/lib/lib.es2019.full.d.ts +0 -24
  877. package/plugin/node_modules/typescript/lib/lib.es2019.intl.d.ts +0 -23
  878. package/plugin/node_modules/typescript/lib/lib.es2019.object.d.ts +0 -33
  879. package/plugin/node_modules/typescript/lib/lib.es2019.string.d.ts +0 -37
  880. package/plugin/node_modules/typescript/lib/lib.es2019.symbol.d.ts +0 -24
  881. package/plugin/node_modules/typescript/lib/lib.es2020.bigint.d.ts +0 -765
  882. package/plugin/node_modules/typescript/lib/lib.es2020.d.ts +0 -27
  883. package/plugin/node_modules/typescript/lib/lib.es2020.date.d.ts +0 -42
  884. package/plugin/node_modules/typescript/lib/lib.es2020.full.d.ts +0 -24
  885. package/plugin/node_modules/typescript/lib/lib.es2020.intl.d.ts +0 -474
  886. package/plugin/node_modules/typescript/lib/lib.es2020.number.d.ts +0 -28
  887. package/plugin/node_modules/typescript/lib/lib.es2020.promise.d.ts +0 -47
  888. package/plugin/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts +0 -99
  889. package/plugin/node_modules/typescript/lib/lib.es2020.string.d.ts +0 -44
  890. package/plugin/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts +0 -41
  891. package/plugin/node_modules/typescript/lib/lib.es2021.d.ts +0 -23
  892. package/plugin/node_modules/typescript/lib/lib.es2021.full.d.ts +0 -24
  893. package/plugin/node_modules/typescript/lib/lib.es2021.intl.d.ts +0 -166
  894. package/plugin/node_modules/typescript/lib/lib.es2021.promise.d.ts +0 -48
  895. package/plugin/node_modules/typescript/lib/lib.es2021.string.d.ts +0 -33
  896. package/plugin/node_modules/typescript/lib/lib.es2021.weakref.d.ts +0 -78
  897. package/plugin/node_modules/typescript/lib/lib.es2022.array.d.ts +0 -121
  898. package/plugin/node_modules/typescript/lib/lib.es2022.d.ts +0 -25
  899. package/plugin/node_modules/typescript/lib/lib.es2022.error.d.ts +0 -75
  900. package/plugin/node_modules/typescript/lib/lib.es2022.full.d.ts +0 -24
  901. package/plugin/node_modules/typescript/lib/lib.es2022.intl.d.ts +0 -145
  902. package/plugin/node_modules/typescript/lib/lib.es2022.object.d.ts +0 -26
  903. package/plugin/node_modules/typescript/lib/lib.es2022.regexp.d.ts +0 -39
  904. package/plugin/node_modules/typescript/lib/lib.es2022.string.d.ts +0 -25
  905. package/plugin/node_modules/typescript/lib/lib.es2023.array.d.ts +0 -924
  906. package/plugin/node_modules/typescript/lib/lib.es2023.collection.d.ts +0 -21
  907. package/plugin/node_modules/typescript/lib/lib.es2023.d.ts +0 -22
  908. package/plugin/node_modules/typescript/lib/lib.es2023.full.d.ts +0 -24
  909. package/plugin/node_modules/typescript/lib/lib.es2023.intl.d.ts +0 -56
  910. package/plugin/node_modules/typescript/lib/lib.es2024.arraybuffer.d.ts +0 -65
  911. package/plugin/node_modules/typescript/lib/lib.es2024.collection.d.ts +0 -29
  912. package/plugin/node_modules/typescript/lib/lib.es2024.d.ts +0 -26
  913. package/plugin/node_modules/typescript/lib/lib.es2024.full.d.ts +0 -24
  914. package/plugin/node_modules/typescript/lib/lib.es2024.object.d.ts +0 -29
  915. package/plugin/node_modules/typescript/lib/lib.es2024.promise.d.ts +0 -35
  916. package/plugin/node_modules/typescript/lib/lib.es2024.regexp.d.ts +0 -25
  917. package/plugin/node_modules/typescript/lib/lib.es2024.sharedmemory.d.ts +0 -68
  918. package/plugin/node_modules/typescript/lib/lib.es2024.string.d.ts +0 -29
  919. package/plugin/node_modules/typescript/lib/lib.es5.d.ts +0 -4601
  920. package/plugin/node_modules/typescript/lib/lib.es6.d.ts +0 -23
  921. package/plugin/node_modules/typescript/lib/lib.esnext.array.d.ts +0 -35
  922. package/plugin/node_modules/typescript/lib/lib.esnext.collection.d.ts +0 -96
  923. package/plugin/node_modules/typescript/lib/lib.esnext.d.ts +0 -29
  924. package/plugin/node_modules/typescript/lib/lib.esnext.decorators.d.ts +0 -28
  925. package/plugin/node_modules/typescript/lib/lib.esnext.disposable.d.ts +0 -193
  926. package/plugin/node_modules/typescript/lib/lib.esnext.error.d.ts +0 -24
  927. package/plugin/node_modules/typescript/lib/lib.esnext.float16.d.ts +0 -443
  928. package/plugin/node_modules/typescript/lib/lib.esnext.full.d.ts +0 -24
  929. package/plugin/node_modules/typescript/lib/lib.esnext.intl.d.ts +0 -21
  930. package/plugin/node_modules/typescript/lib/lib.esnext.iterator.d.ts +0 -148
  931. package/plugin/node_modules/typescript/lib/lib.esnext.promise.d.ts +0 -34
  932. package/plugin/node_modules/typescript/lib/lib.esnext.sharedmemory.d.ts +0 -25
  933. package/plugin/node_modules/typescript/lib/lib.scripthost.d.ts +0 -322
  934. package/plugin/node_modules/typescript/lib/lib.webworker.asynciterable.d.ts +0 -41
  935. package/plugin/node_modules/typescript/lib/lib.webworker.d.ts +0 -13150
  936. package/plugin/node_modules/typescript/lib/lib.webworker.importscripts.d.ts +0 -23
  937. package/plugin/node_modules/typescript/lib/lib.webworker.iterable.d.ts +0 -340
  938. package/plugin/node_modules/typescript/lib/pl/diagnosticMessages.generated.json +0 -2122
  939. package/plugin/node_modules/typescript/lib/pt-br/diagnosticMessages.generated.json +0 -2122
  940. package/plugin/node_modules/typescript/lib/ru/diagnosticMessages.generated.json +0 -2122
  941. package/plugin/node_modules/typescript/lib/tr/diagnosticMessages.generated.json +0 -2122
  942. package/plugin/node_modules/typescript/lib/tsc.js +0 -8
  943. package/plugin/node_modules/typescript/lib/tsserver.js +0 -8
  944. package/plugin/node_modules/typescript/lib/tsserverlibrary.d.ts +0 -17
  945. package/plugin/node_modules/typescript/lib/tsserverlibrary.js +0 -21
  946. package/plugin/node_modules/typescript/lib/typesMap.json +0 -497
  947. package/plugin/node_modules/typescript/lib/typescript.d.ts +0 -11438
  948. package/plugin/node_modules/typescript/lib/typescript.js +0 -200253
  949. package/plugin/node_modules/typescript/lib/typingsInstaller.js +0 -8
  950. package/plugin/node_modules/typescript/lib/watchGuard.js +0 -53
  951. package/plugin/node_modules/typescript/lib/zh-cn/diagnosticMessages.generated.json +0 -2122
  952. package/plugin/node_modules/typescript/lib/zh-tw/diagnosticMessages.generated.json +0 -2122
  953. package/plugin/node_modules/typescript/package.json +0 -120
  954. package/plugin/node_modules/undici-types/LICENSE +0 -21
  955. package/plugin/node_modules/undici-types/README.md +0 -6
  956. package/plugin/node_modules/undici-types/agent.d.ts +0 -31
  957. package/plugin/node_modules/undici-types/api.d.ts +0 -43
  958. package/plugin/node_modules/undici-types/balanced-pool.d.ts +0 -29
  959. package/plugin/node_modules/undici-types/cache.d.ts +0 -36
  960. package/plugin/node_modules/undici-types/client.d.ts +0 -108
  961. package/plugin/node_modules/undici-types/connector.d.ts +0 -34
  962. package/plugin/node_modules/undici-types/content-type.d.ts +0 -21
  963. package/plugin/node_modules/undici-types/cookies.d.ts +0 -28
  964. package/plugin/node_modules/undici-types/diagnostics-channel.d.ts +0 -66
  965. package/plugin/node_modules/undici-types/dispatcher.d.ts +0 -256
  966. package/plugin/node_modules/undici-types/env-http-proxy-agent.d.ts +0 -21
  967. package/plugin/node_modules/undici-types/errors.d.ts +0 -149
  968. package/plugin/node_modules/undici-types/eventsource.d.ts +0 -61
  969. package/plugin/node_modules/undici-types/fetch.d.ts +0 -209
  970. package/plugin/node_modules/undici-types/file.d.ts +0 -39
  971. package/plugin/node_modules/undici-types/filereader.d.ts +0 -54
  972. package/plugin/node_modules/undici-types/formdata.d.ts +0 -108
  973. package/plugin/node_modules/undici-types/global-dispatcher.d.ts +0 -9
  974. package/plugin/node_modules/undici-types/global-origin.d.ts +0 -7
  975. package/plugin/node_modules/undici-types/handlers.d.ts +0 -15
  976. package/plugin/node_modules/undici-types/header.d.ts +0 -4
  977. package/plugin/node_modules/undici-types/index.d.ts +0 -71
  978. package/plugin/node_modules/undici-types/interceptors.d.ts +0 -17
  979. package/plugin/node_modules/undici-types/mock-agent.d.ts +0 -50
  980. package/plugin/node_modules/undici-types/mock-client.d.ts +0 -25
  981. package/plugin/node_modules/undici-types/mock-errors.d.ts +0 -12
  982. package/plugin/node_modules/undici-types/mock-interceptor.d.ts +0 -93
  983. package/plugin/node_modules/undici-types/mock-pool.d.ts +0 -25
  984. package/plugin/node_modules/undici-types/package.json +0 -55
  985. package/plugin/node_modules/undici-types/patch.d.ts +0 -33
  986. package/plugin/node_modules/undici-types/pool-stats.d.ts +0 -19
  987. package/plugin/node_modules/undici-types/pool.d.ts +0 -39
  988. package/plugin/node_modules/undici-types/proxy-agent.d.ts +0 -28
  989. package/plugin/node_modules/undici-types/readable.d.ts +0 -65
  990. package/plugin/node_modules/undici-types/retry-agent.d.ts +0 -8
  991. package/plugin/node_modules/undici-types/retry-handler.d.ts +0 -116
  992. package/plugin/node_modules/undici-types/util.d.ts +0 -18
  993. package/plugin/node_modules/undici-types/webidl.d.ts +0 -228
  994. package/plugin/node_modules/undici-types/websocket.d.ts +0 -150
  995. package/plugin/node_modules/uuid/CHANGELOG.md +0 -156
  996. package/plugin/node_modules/uuid/CONTRIBUTING.md +0 -20
  997. package/plugin/node_modules/uuid/LICENSE.md +0 -21
  998. package/plugin/node_modules/uuid/README.md +0 -406
  999. package/plugin/node_modules/uuid/deprecate.js +0 -20
  1000. package/plugin/node_modules/uuid/dist/bin/uuid +0 -2
  1001. package/plugin/node_modules/uuid/dist/bytesToUuid.js +0 -27
  1002. package/plugin/node_modules/uuid/dist/esm-browser/bytesToUuid.js +0 -18
  1003. package/plugin/node_modules/uuid/dist/esm-browser/index.js +0 -4
  1004. package/plugin/node_modules/uuid/dist/esm-browser/md5.js +0 -218
  1005. package/plugin/node_modules/uuid/dist/esm-browser/rng.js +0 -15
  1006. package/plugin/node_modules/uuid/dist/esm-browser/sha1.js +0 -91
  1007. package/plugin/node_modules/uuid/dist/esm-browser/v1.js +0 -95
  1008. package/plugin/node_modules/uuid/dist/esm-browser/v3.js +0 -4
  1009. package/plugin/node_modules/uuid/dist/esm-browser/v35.js +0 -56
  1010. package/plugin/node_modules/uuid/dist/esm-browser/v4.js +0 -27
  1011. package/plugin/node_modules/uuid/dist/esm-browser/v5.js +0 -4
  1012. package/plugin/node_modules/uuid/dist/esm-node/bytesToUuid.js +0 -18
  1013. package/plugin/node_modules/uuid/dist/esm-node/index.js +0 -4
  1014. package/plugin/node_modules/uuid/dist/esm-node/md5.js +0 -13
  1015. package/plugin/node_modules/uuid/dist/esm-node/rng.js +0 -4
  1016. package/plugin/node_modules/uuid/dist/esm-node/sha1.js +0 -13
  1017. package/plugin/node_modules/uuid/dist/esm-node/v1.js +0 -95
  1018. package/plugin/node_modules/uuid/dist/esm-node/v3.js +0 -4
  1019. package/plugin/node_modules/uuid/dist/esm-node/v35.js +0 -56
  1020. package/plugin/node_modules/uuid/dist/esm-node/v4.js +0 -27
  1021. package/plugin/node_modules/uuid/dist/esm-node/v5.js +0 -4
  1022. package/plugin/node_modules/uuid/dist/index.js +0 -39
  1023. package/plugin/node_modules/uuid/dist/md5-browser.js +0 -225
  1024. package/plugin/node_modules/uuid/dist/md5.js +0 -24
  1025. package/plugin/node_modules/uuid/dist/rng-browser.js +0 -23
  1026. package/plugin/node_modules/uuid/dist/rng.js +0 -16
  1027. package/plugin/node_modules/uuid/dist/sha1-browser.js +0 -96
  1028. package/plugin/node_modules/uuid/dist/sha1.js +0 -24
  1029. package/plugin/node_modules/uuid/dist/umd/uuid.min.js +0 -1
  1030. package/plugin/node_modules/uuid/dist/umd/uuidv1.min.js +0 -1
  1031. package/plugin/node_modules/uuid/dist/umd/uuidv3.min.js +0 -1
  1032. package/plugin/node_modules/uuid/dist/umd/uuidv4.min.js +0 -1
  1033. package/plugin/node_modules/uuid/dist/umd/uuidv5.min.js +0 -1
  1034. package/plugin/node_modules/uuid/dist/uuid-bin.js +0 -67
  1035. package/plugin/node_modules/uuid/dist/v1.js +0 -108
  1036. package/plugin/node_modules/uuid/dist/v3.js +0 -17
  1037. package/plugin/node_modules/uuid/dist/v35.js +0 -69
  1038. package/plugin/node_modules/uuid/dist/v4.js +0 -41
  1039. package/plugin/node_modules/uuid/dist/v5.js +0 -17
  1040. package/plugin/node_modules/uuid/package.json +0 -115
  1041. package/plugin/node_modules/uuid/v1.js +0 -8
  1042. package/plugin/node_modules/uuid/v3.js +0 -8
  1043. package/plugin/node_modules/uuid/v4.js +0 -8
  1044. package/plugin/node_modules/uuid/v5.js +0 -8
  1045. package/plugin/node_modules/wrappy/LICENSE +0 -15
  1046. package/plugin/node_modules/wrappy/README.md +0 -36
  1047. package/plugin/node_modules/wrappy/package.json +0 -29
  1048. package/plugin/node_modules/wrappy/wrappy.js +0 -33
  1049. package/plugin/node_modules/write-file-atomic/CHANGELOG.md +0 -25
  1050. package/plugin/node_modules/write-file-atomic/LICENSE +0 -6
  1051. package/plugin/node_modules/write-file-atomic/README.md +0 -56
  1052. package/plugin/node_modules/write-file-atomic/index.js +0 -238
  1053. package/plugin/node_modules/write-file-atomic/package.json +0 -41
  1054. package/plugin/node_modules/xcode/AUTHORS +0 -6
  1055. package/plugin/node_modules/xcode/CONTRIBUTING.md +0 -37
  1056. package/plugin/node_modules/xcode/LICENSE +0 -202
  1057. package/plugin/node_modules/xcode/Makefile +0 -24
  1058. package/plugin/node_modules/xcode/NOTICE +0 -5
  1059. package/plugin/node_modules/xcode/README.md +0 -72
  1060. package/plugin/node_modules/xcode/RELEASENOTES.md +0 -77
  1061. package/plugin/node_modules/xcode/index.js +0 -18
  1062. package/plugin/node_modules/xcode/lib/parseJob.js +0 -32
  1063. package/plugin/node_modules/xcode/lib/parser/pbxproj.js +0 -1904
  1064. package/plugin/node_modules/xcode/lib/parser/pbxproj.pegjs +0 -280
  1065. package/plugin/node_modules/xcode/lib/pbxFile.js +0 -233
  1066. package/plugin/node_modules/xcode/lib/pbxProject.js +0 -2201
  1067. package/plugin/node_modules/xcode/lib/pbxWriter.js +0 -309
  1068. package/plugin/node_modules/xcode/package.json +0 -61
  1069. package/plugin/node_modules/xml2js/LICENSE +0 -19
  1070. package/plugin/node_modules/xml2js/README.md +0 -507
  1071. package/plugin/node_modules/xml2js/lib/bom.js +0 -12
  1072. package/plugin/node_modules/xml2js/lib/builder.js +0 -127
  1073. package/plugin/node_modules/xml2js/lib/defaults.js +0 -72
  1074. package/plugin/node_modules/xml2js/lib/parser.js +0 -396
  1075. package/plugin/node_modules/xml2js/lib/processors.js +0 -34
  1076. package/plugin/node_modules/xml2js/lib/xml2js.js +0 -39
  1077. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/CHANGELOG.md +0 -470
  1078. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/LICENSE +0 -21
  1079. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/README.md +0 -86
  1080. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/appveyor.yml +0 -20
  1081. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/Derivation.js +0 -10
  1082. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/DocumentPosition.js +0 -12
  1083. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/NodeType.js +0 -23
  1084. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/OperationType.js +0 -11
  1085. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/Utility.js +0 -83
  1086. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/WriterState.js +0 -10
  1087. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLAttribute.js +0 -108
  1088. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLCData.js +0 -36
  1089. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLCharacterData.js +0 -79
  1090. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLComment.js +0 -36
  1091. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDOMConfiguration.js +0 -64
  1092. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDOMErrorHandler.js +0 -16
  1093. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDOMImplementation.js +0 -32
  1094. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDOMStringList.js +0 -28
  1095. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDTDAttList.js +0 -55
  1096. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDTDElement.js +0 -38
  1097. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDTDEntity.js +0 -97
  1098. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDTDNotation.js +0 -52
  1099. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDeclaration.js +0 -43
  1100. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDocType.js +0 -186
  1101. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDocument.js +0 -242
  1102. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDocumentCB.js +0 -528
  1103. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDocumentFragment.js +0 -24
  1104. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDummy.js +0 -31
  1105. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLElement.js +0 -298
  1106. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLNamedNodeMap.js +0 -58
  1107. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLNode.js +0 -785
  1108. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLNodeFilter.js +0 -48
  1109. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLNodeList.js +0 -28
  1110. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLProcessingInstruction.js +0 -49
  1111. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLRaw.js +0 -35
  1112. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLStreamWriter.js +0 -176
  1113. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLStringWriter.js +0 -35
  1114. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLStringifier.js +0 -240
  1115. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLText.js +0 -69
  1116. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLTypeInfo.js +0 -21
  1117. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLUserDataHandler.js +0 -16
  1118. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLWriterBase.js +0 -428
  1119. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/index.js +0 -65
  1120. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/package.json +0 -39
  1121. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/typings/index.d.ts +0 -153
  1122. package/plugin/node_modules/xml2js/package.json +0 -93
  1123. package/plugin/node_modules/xmlbuilder/.nycrc +0 -6
  1124. package/plugin/node_modules/xmlbuilder/CHANGELOG.md +0 -568
  1125. package/plugin/node_modules/xmlbuilder/LICENSE +0 -21
  1126. package/plugin/node_modules/xmlbuilder/README.md +0 -103
  1127. package/plugin/node_modules/xmlbuilder/lib/Derivation.js +0 -10
  1128. package/plugin/node_modules/xmlbuilder/lib/DocumentPosition.js +0 -12
  1129. package/plugin/node_modules/xmlbuilder/lib/NodeType.js +0 -25
  1130. package/plugin/node_modules/xmlbuilder/lib/OperationType.js +0 -11
  1131. package/plugin/node_modules/xmlbuilder/lib/Utility.js +0 -88
  1132. package/plugin/node_modules/xmlbuilder/lib/WriterState.js +0 -10
  1133. package/plugin/node_modules/xmlbuilder/lib/XMLAttribute.js +0 -130
  1134. package/plugin/node_modules/xmlbuilder/lib/XMLCData.js +0 -41
  1135. package/plugin/node_modules/xmlbuilder/lib/XMLCharacterData.js +0 -86
  1136. package/plugin/node_modules/xmlbuilder/lib/XMLComment.js +0 -41
  1137. package/plugin/node_modules/xmlbuilder/lib/XMLDOMConfiguration.js +0 -80
  1138. package/plugin/node_modules/xmlbuilder/lib/XMLDOMErrorHandler.js +0 -20
  1139. package/plugin/node_modules/xmlbuilder/lib/XMLDOMImplementation.js +0 -55
  1140. package/plugin/node_modules/xmlbuilder/lib/XMLDOMStringList.js +0 -44
  1141. package/plugin/node_modules/xmlbuilder/lib/XMLDTDAttList.js +0 -66
  1142. package/plugin/node_modules/xmlbuilder/lib/XMLDTDElement.js +0 -44
  1143. package/plugin/node_modules/xmlbuilder/lib/XMLDTDEntity.js +0 -115
  1144. package/plugin/node_modules/xmlbuilder/lib/XMLDTDNotation.js +0 -66
  1145. package/plugin/node_modules/xmlbuilder/lib/XMLDeclaration.js +0 -51
  1146. package/plugin/node_modules/xmlbuilder/lib/XMLDocType.js +0 -235
  1147. package/plugin/node_modules/xmlbuilder/lib/XMLDocument.js +0 -282
  1148. package/plugin/node_modules/xmlbuilder/lib/XMLDocumentCB.js +0 -650
  1149. package/plugin/node_modules/xmlbuilder/lib/XMLDocumentFragment.js +0 -21
  1150. package/plugin/node_modules/xmlbuilder/lib/XMLDummy.js +0 -39
  1151. package/plugin/node_modules/xmlbuilder/lib/XMLElement.js +0 -334
  1152. package/plugin/node_modules/xmlbuilder/lib/XMLNamedNodeMap.js +0 -77
  1153. package/plugin/node_modules/xmlbuilder/lib/XMLNode.js +0 -999
  1154. package/plugin/node_modules/xmlbuilder/lib/XMLNodeFilter.js +0 -51
  1155. package/plugin/node_modules/xmlbuilder/lib/XMLNodeList.js +0 -45
  1156. package/plugin/node_modules/xmlbuilder/lib/XMLProcessingInstruction.js +0 -56
  1157. package/plugin/node_modules/xmlbuilder/lib/XMLRaw.js +0 -40
  1158. package/plugin/node_modules/xmlbuilder/lib/XMLStreamWriter.js +0 -209
  1159. package/plugin/node_modules/xmlbuilder/lib/XMLStringWriter.js +0 -40
  1160. package/plugin/node_modules/xmlbuilder/lib/XMLStringifier.js +0 -287
  1161. package/plugin/node_modules/xmlbuilder/lib/XMLText.js +0 -82
  1162. package/plugin/node_modules/xmlbuilder/lib/XMLTypeInfo.js +0 -23
  1163. package/plugin/node_modules/xmlbuilder/lib/XMLUserDataHandler.js +0 -27
  1164. package/plugin/node_modules/xmlbuilder/lib/XMLWriterBase.js +0 -485
  1165. package/plugin/node_modules/xmlbuilder/lib/index.js +0 -120
  1166. package/plugin/node_modules/xmlbuilder/package.json +0 -51
  1167. package/plugin/node_modules/xmlbuilder/perf/basic/escaping.coffee +0 -244
  1168. package/plugin/node_modules/xmlbuilder/perf/basic/object.coffee +0 -21
  1169. package/plugin/node_modules/xmlbuilder/perf/index.coffee +0 -161
  1170. package/plugin/node_modules/xmlbuilder/perf/perf.list +0 -11
  1171. package/plugin/node_modules/xmlbuilder/typings/index.d.ts +0 -1761
  1172. package/plugin/node_modules/yocto-queue/index.d.ts +0 -56
  1173. package/plugin/node_modules/yocto-queue/index.js +0 -68
  1174. package/plugin/node_modules/yocto-queue/license +0 -9
  1175. package/plugin/node_modules/yocto-queue/package.json +0 -43
  1176. package/plugin/node_modules/yocto-queue/readme.md +0 -64
  1177. package/plugin/package-lock.json +0 -763
  1178. package/plugin/src/withVolumeKeyIntercept.ts +0 -184
  1179. package/plugin/tsconfig.json +0 -18
  1180. package/plugin/tsconfig.tsbuildinfo +0 -1
  1181. package/src/ReactNativeKookit.types.ts +0 -24
  1182. package/src/ReactNativeKookitModule.ts +0 -36
  1183. package/src/ReactNativeKookitModule.web.ts +0 -48
  1184. package/src/ReactNativeKookitView.tsx +0 -11
  1185. package/src/ReactNativeKookitView.web.tsx +0 -15
  1186. package/src/index.ts +0 -5
  1187. package/test-volume-keys.sh +0 -25
  1188. package/tsconfig.json +0 -9
@@ -1,1668 +0,0 @@
1
- /**
2
- * A stream is an abstract interface for working with streaming data in Node.js.
3
- * The `node:stream` module provides an API for implementing the stream interface.
4
- *
5
- * There are many stream objects provided by Node.js. For instance, a [request to an HTTP server](https://nodejs.org/docs/latest-v20.x/api/http.html#class-httpincomingmessage)
6
- * and [`process.stdout`](https://nodejs.org/docs/latest-v20.x/api/process.html#processstdout) are both stream instances.
7
- *
8
- * Streams can be readable, writable, or both. All streams are instances of [`EventEmitter`](https://nodejs.org/docs/latest-v20.x/api/events.html#class-eventemitter).
9
- *
10
- * To access the `node:stream` module:
11
- *
12
- * ```js
13
- * import stream from 'node:stream';
14
- * ```
15
- *
16
- * The `node:stream` module is useful for creating new types of stream instances.
17
- * It is usually not necessary to use the `node:stream` module to consume streams.
18
- * @see [source](https://github.com/nodejs/node/blob/v20.13.1/lib/stream.js)
19
- */
20
- declare module "stream" {
21
- import { Abortable, EventEmitter } from "node:events";
22
- import { Blob as NodeBlob } from "node:buffer";
23
- import * as streamPromises from "node:stream/promises";
24
- import * as streamWeb from "node:stream/web";
25
-
26
- type ComposeFnParam = (source: any) => void;
27
-
28
- class Stream extends EventEmitter {
29
- pipe<T extends NodeJS.WritableStream>(
30
- destination: T,
31
- options?: {
32
- end?: boolean | undefined;
33
- },
34
- ): T;
35
- compose<T extends NodeJS.ReadableStream>(
36
- stream: T | ComposeFnParam | Iterable<T> | AsyncIterable<T>,
37
- options?: { signal: AbortSignal },
38
- ): T;
39
- }
40
- namespace Stream {
41
- export { Stream, streamPromises as promises };
42
- }
43
- namespace Stream {
44
- interface StreamOptions<T extends Stream> extends Abortable {
45
- emitClose?: boolean | undefined;
46
- highWaterMark?: number | undefined;
47
- objectMode?: boolean | undefined;
48
- construct?(this: T, callback: (error?: Error | null) => void): void;
49
- destroy?(this: T, error: Error | null, callback: (error?: Error | null) => void): void;
50
- autoDestroy?: boolean | undefined;
51
- }
52
- interface ReadableOptions<T extends Readable = Readable> extends StreamOptions<T> {
53
- encoding?: BufferEncoding | undefined;
54
- read?(this: T, size: number): void;
55
- }
56
- interface ArrayOptions {
57
- /**
58
- * The maximum concurrent invocations of `fn` to call on the stream at once.
59
- * @default 1
60
- */
61
- concurrency?: number;
62
- /** Allows destroying the stream if the signal is aborted. */
63
- signal?: AbortSignal;
64
- }
65
- /**
66
- * @since v0.9.4
67
- */
68
- class Readable extends Stream implements NodeJS.ReadableStream {
69
- /**
70
- * A utility method for creating Readable Streams out of iterators.
71
- * @since v12.3.0, v10.17.0
72
- * @param iterable Object implementing the `Symbol.asyncIterator` or `Symbol.iterator` iterable protocol. Emits an 'error' event if a null value is passed.
73
- * @param options Options provided to `new stream.Readable([options])`. By default, `Readable.from()` will set `options.objectMode` to `true`, unless this is explicitly opted out by setting `options.objectMode` to `false`.
74
- */
75
- static from(iterable: Iterable<any> | AsyncIterable<any>, options?: ReadableOptions): Readable;
76
- /**
77
- * A utility method for creating a `Readable` from a web `ReadableStream`.
78
- * @since v17.0.0
79
- * @experimental
80
- */
81
- static fromWeb(
82
- readableStream: streamWeb.ReadableStream,
83
- options?: Pick<ReadableOptions, "encoding" | "highWaterMark" | "objectMode" | "signal">,
84
- ): Readable;
85
- /**
86
- * A utility method for creating a web `ReadableStream` from a `Readable`.
87
- * @since v17.0.0
88
- * @experimental
89
- */
90
- static toWeb(
91
- streamReadable: Readable,
92
- options?: {
93
- strategy?: streamWeb.QueuingStrategy | undefined;
94
- },
95
- ): streamWeb.ReadableStream;
96
- /**
97
- * Returns whether the stream has been read from or cancelled.
98
- * @since v16.8.0
99
- */
100
- static isDisturbed(stream: Readable | NodeJS.ReadableStream): boolean;
101
- /**
102
- * Returns whether the stream was destroyed or errored before emitting `'end'`.
103
- * @since v16.8.0
104
- * @experimental
105
- */
106
- readonly readableAborted: boolean;
107
- /**
108
- * Is `true` if it is safe to call {@link read}, which means
109
- * the stream has not been destroyed or emitted `'error'` or `'end'`.
110
- * @since v11.4.0
111
- */
112
- readable: boolean;
113
- /**
114
- * Returns whether `'data'` has been emitted.
115
- * @since v16.7.0, v14.18.0
116
- * @experimental
117
- */
118
- readonly readableDidRead: boolean;
119
- /**
120
- * Getter for the property `encoding` of a given `Readable` stream. The `encoding` property can be set using the {@link setEncoding} method.
121
- * @since v12.7.0
122
- */
123
- readonly readableEncoding: BufferEncoding | null;
124
- /**
125
- * Becomes `true` when [`'end'`](https://nodejs.org/docs/latest-v20.x/api/stream.html#event-end) event is emitted.
126
- * @since v12.9.0
127
- */
128
- readonly readableEnded: boolean;
129
- /**
130
- * This property reflects the current state of a `Readable` stream as described
131
- * in the [Three states](https://nodejs.org/docs/latest-v20.x/api/stream.html#three-states) section.
132
- * @since v9.4.0
133
- */
134
- readonly readableFlowing: boolean | null;
135
- /**
136
- * Returns the value of `highWaterMark` passed when creating this `Readable`.
137
- * @since v9.3.0
138
- */
139
- readonly readableHighWaterMark: number;
140
- /**
141
- * This property contains the number of bytes (or objects) in the queue
142
- * ready to be read. The value provides introspection data regarding
143
- * the status of the `highWaterMark`.
144
- * @since v9.4.0
145
- */
146
- readonly readableLength: number;
147
- /**
148
- * Getter for the property `objectMode` of a given `Readable` stream.
149
- * @since v12.3.0
150
- */
151
- readonly readableObjectMode: boolean;
152
- /**
153
- * Is `true` after `readable.destroy()` has been called.
154
- * @since v8.0.0
155
- */
156
- destroyed: boolean;
157
- /**
158
- * Is `true` after `'close'` has been emitted.
159
- * @since v18.0.0
160
- */
161
- readonly closed: boolean;
162
- /**
163
- * Returns error if the stream has been destroyed with an error.
164
- * @since v18.0.0
165
- */
166
- readonly errored: Error | null;
167
- constructor(opts?: ReadableOptions);
168
- _construct?(callback: (error?: Error | null) => void): void;
169
- _read(size: number): void;
170
- /**
171
- * The `readable.read()` method reads data out of the internal buffer and
172
- * returns it. If no data is available to be read, `null` is returned. By default,
173
- * the data is returned as a `Buffer` object unless an encoding has been
174
- * specified using the `readable.setEncoding()` method or the stream is operating
175
- * in object mode.
176
- *
177
- * The optional `size` argument specifies a specific number of bytes to read. If
178
- * `size` bytes are not available to be read, `null` will be returned _unless_ the
179
- * stream has ended, in which case all of the data remaining in the internal buffer
180
- * will be returned.
181
- *
182
- * If the `size` argument is not specified, all of the data contained in the
183
- * internal buffer will be returned.
184
- *
185
- * The `size` argument must be less than or equal to 1 GiB.
186
- *
187
- * The `readable.read()` method should only be called on `Readable` streams
188
- * operating in paused mode. In flowing mode, `readable.read()` is called
189
- * automatically until the internal buffer is fully drained.
190
- *
191
- * ```js
192
- * const readable = getReadableStreamSomehow();
193
- *
194
- * // 'readable' may be triggered multiple times as data is buffered in
195
- * readable.on('readable', () => {
196
- * let chunk;
197
- * console.log('Stream is readable (new data received in buffer)');
198
- * // Use a loop to make sure we read all currently available data
199
- * while (null !== (chunk = readable.read())) {
200
- * console.log(`Read ${chunk.length} bytes of data...`);
201
- * }
202
- * });
203
- *
204
- * // 'end' will be triggered once when there is no more data available
205
- * readable.on('end', () => {
206
- * console.log('Reached end of stream.');
207
- * });
208
- * ```
209
- *
210
- * Each call to `readable.read()` returns a chunk of data, or `null`. The chunks
211
- * are not concatenated. A `while` loop is necessary to consume all data
212
- * currently in the buffer. When reading a large file `.read()` may return `null`,
213
- * having consumed all buffered content so far, but there is still more data to
214
- * come not yet buffered. In this case a new `'readable'` event will be emitted
215
- * when there is more data in the buffer. Finally the `'end'` event will be
216
- * emitted when there is no more data to come.
217
- *
218
- * Therefore to read a file's whole contents from a `readable`, it is necessary
219
- * to collect chunks across multiple `'readable'` events:
220
- *
221
- * ```js
222
- * const chunks = [];
223
- *
224
- * readable.on('readable', () => {
225
- * let chunk;
226
- * while (null !== (chunk = readable.read())) {
227
- * chunks.push(chunk);
228
- * }
229
- * });
230
- *
231
- * readable.on('end', () => {
232
- * const content = chunks.join('');
233
- * });
234
- * ```
235
- *
236
- * A `Readable` stream in object mode will always return a single item from
237
- * a call to `readable.read(size)`, regardless of the value of the `size` argument.
238
- *
239
- * If the `readable.read()` method returns a chunk of data, a `'data'` event will
240
- * also be emitted.
241
- *
242
- * Calling {@link read} after the `'end'` event has
243
- * been emitted will return `null`. No runtime error will be raised.
244
- * @since v0.9.4
245
- * @param size Optional argument to specify how much data to read.
246
- */
247
- read(size?: number): any;
248
- /**
249
- * The `readable.setEncoding()` method sets the character encoding for
250
- * data read from the `Readable` stream.
251
- *
252
- * By default, no encoding is assigned and stream data will be returned as `Buffer` objects. Setting an encoding causes the stream data
253
- * to be returned as strings of the specified encoding rather than as `Buffer` objects. For instance, calling `readable.setEncoding('utf8')` will cause the
254
- * output data to be interpreted as UTF-8 data, and passed as strings. Calling `readable.setEncoding('hex')` will cause the data to be encoded in hexadecimal
255
- * string format.
256
- *
257
- * The `Readable` stream will properly handle multi-byte characters delivered
258
- * through the stream that would otherwise become improperly decoded if simply
259
- * pulled from the stream as `Buffer` objects.
260
- *
261
- * ```js
262
- * const readable = getReadableStreamSomehow();
263
- * readable.setEncoding('utf8');
264
- * readable.on('data', (chunk) => {
265
- * assert.equal(typeof chunk, 'string');
266
- * console.log('Got %d characters of string data:', chunk.length);
267
- * });
268
- * ```
269
- * @since v0.9.4
270
- * @param encoding The encoding to use.
271
- */
272
- setEncoding(encoding: BufferEncoding): this;
273
- /**
274
- * The `readable.pause()` method will cause a stream in flowing mode to stop
275
- * emitting `'data'` events, switching out of flowing mode. Any data that
276
- * becomes available will remain in the internal buffer.
277
- *
278
- * ```js
279
- * const readable = getReadableStreamSomehow();
280
- * readable.on('data', (chunk) => {
281
- * console.log(`Received ${chunk.length} bytes of data.`);
282
- * readable.pause();
283
- * console.log('There will be no additional data for 1 second.');
284
- * setTimeout(() => {
285
- * console.log('Now data will start flowing again.');
286
- * readable.resume();
287
- * }, 1000);
288
- * });
289
- * ```
290
- *
291
- * The `readable.pause()` method has no effect if there is a `'readable'` event listener.
292
- * @since v0.9.4
293
- */
294
- pause(): this;
295
- /**
296
- * The `readable.resume()` method causes an explicitly paused `Readable` stream to
297
- * resume emitting `'data'` events, switching the stream into flowing mode.
298
- *
299
- * The `readable.resume()` method can be used to fully consume the data from a
300
- * stream without actually processing any of that data:
301
- *
302
- * ```js
303
- * getReadableStreamSomehow()
304
- * .resume()
305
- * .on('end', () => {
306
- * console.log('Reached the end, but did not read anything.');
307
- * });
308
- * ```
309
- *
310
- * The `readable.resume()` method has no effect if there is a `'readable'` event listener.
311
- * @since v0.9.4
312
- */
313
- resume(): this;
314
- /**
315
- * The `readable.isPaused()` method returns the current operating state of the `Readable`.
316
- * This is used primarily by the mechanism that underlies the `readable.pipe()` method.
317
- * In most typical cases, there will be no reason to use this method directly.
318
- *
319
- * ```js
320
- * const readable = new stream.Readable();
321
- *
322
- * readable.isPaused(); // === false
323
- * readable.pause();
324
- * readable.isPaused(); // === true
325
- * readable.resume();
326
- * readable.isPaused(); // === false
327
- * ```
328
- * @since v0.11.14
329
- */
330
- isPaused(): boolean;
331
- /**
332
- * The `readable.unpipe()` method detaches a `Writable` stream previously attached
333
- * using the {@link pipe} method.
334
- *
335
- * If the `destination` is not specified, then _all_ pipes are detached.
336
- *
337
- * If the `destination` is specified, but no pipe is set up for it, then
338
- * the method does nothing.
339
- *
340
- * ```js
341
- * import fs from 'node:fs';
342
- * const readable = getReadableStreamSomehow();
343
- * const writable = fs.createWriteStream('file.txt');
344
- * // All the data from readable goes into 'file.txt',
345
- * // but only for the first second.
346
- * readable.pipe(writable);
347
- * setTimeout(() => {
348
- * console.log('Stop writing to file.txt.');
349
- * readable.unpipe(writable);
350
- * console.log('Manually close the file stream.');
351
- * writable.end();
352
- * }, 1000);
353
- * ```
354
- * @since v0.9.4
355
- * @param destination Optional specific stream to unpipe
356
- */
357
- unpipe(destination?: NodeJS.WritableStream): this;
358
- /**
359
- * Passing `chunk` as `null` signals the end of the stream (EOF) and behaves the
360
- * same as `readable.push(null)`, after which no more data can be written. The EOF
361
- * signal is put at the end of the buffer and any buffered data will still be
362
- * flushed.
363
- *
364
- * The `readable.unshift()` method pushes a chunk of data back into the internal
365
- * buffer. This is useful in certain situations where a stream is being consumed by
366
- * code that needs to "un-consume" some amount of data that it has optimistically
367
- * pulled out of the source, so that the data can be passed on to some other party.
368
- *
369
- * The `stream.unshift(chunk)` method cannot be called after the `'end'` event
370
- * has been emitted or a runtime error will be thrown.
371
- *
372
- * Developers using `stream.unshift()` often should consider switching to
373
- * use of a `Transform` stream instead. See the `API for stream implementers` section for more information.
374
- *
375
- * ```js
376
- * // Pull off a header delimited by \n\n.
377
- * // Use unshift() if we get too much.
378
- * // Call the callback with (error, header, stream).
379
- * import { StringDecoder } from 'node:string_decoder';
380
- * function parseHeader(stream, callback) {
381
- * stream.on('error', callback);
382
- * stream.on('readable', onReadable);
383
- * const decoder = new StringDecoder('utf8');
384
- * let header = '';
385
- * function onReadable() {
386
- * let chunk;
387
- * while (null !== (chunk = stream.read())) {
388
- * const str = decoder.write(chunk);
389
- * if (str.includes('\n\n')) {
390
- * // Found the header boundary.
391
- * const split = str.split(/\n\n/);
392
- * header += split.shift();
393
- * const remaining = split.join('\n\n');
394
- * const buf = Buffer.from(remaining, 'utf8');
395
- * stream.removeListener('error', callback);
396
- * // Remove the 'readable' listener before unshifting.
397
- * stream.removeListener('readable', onReadable);
398
- * if (buf.length)
399
- * stream.unshift(buf);
400
- * // Now the body of the message can be read from the stream.
401
- * callback(null, header, stream);
402
- * return;
403
- * }
404
- * // Still reading the header.
405
- * header += str;
406
- * }
407
- * }
408
- * }
409
- * ```
410
- *
411
- * Unlike {@link push}, `stream.unshift(chunk)` will not
412
- * end the reading process by resetting the internal reading state of the stream.
413
- * This can cause unexpected results if `readable.unshift()` is called during a
414
- * read (i.e. from within a {@link _read} implementation on a
415
- * custom stream). Following the call to `readable.unshift()` with an immediate {@link push} will reset the reading state appropriately,
416
- * however it is best to simply avoid calling `readable.unshift()` while in the
417
- * process of performing a read.
418
- * @since v0.9.11
419
- * @param chunk Chunk of data to unshift onto the read queue. For streams not operating in object mode, `chunk` must
420
- * be a {string}, {Buffer}, {TypedArray}, {DataView} or `null`. For object mode streams, `chunk` may be any JavaScript value.
421
- * @param encoding Encoding of string chunks. Must be a valid `Buffer` encoding, such as `'utf8'` or `'ascii'`.
422
- */
423
- unshift(chunk: any, encoding?: BufferEncoding): void;
424
- /**
425
- * Prior to Node.js 0.10, streams did not implement the entire `node:stream` module API as it is currently defined. (See `Compatibility` for more
426
- * information.)
427
- *
428
- * When using an older Node.js library that emits `'data'` events and has a {@link pause} method that is advisory only, the `readable.wrap()` method can be used to create a `Readable`
429
- * stream that uses
430
- * the old stream as its data source.
431
- *
432
- * It will rarely be necessary to use `readable.wrap()` but the method has been
433
- * provided as a convenience for interacting with older Node.js applications and
434
- * libraries.
435
- *
436
- * ```js
437
- * import { OldReader } from './old-api-module.js';
438
- * import { Readable } from 'node:stream';
439
- * const oreader = new OldReader();
440
- * const myReader = new Readable().wrap(oreader);
441
- *
442
- * myReader.on('readable', () => {
443
- * myReader.read(); // etc.
444
- * });
445
- * ```
446
- * @since v0.9.4
447
- * @param stream An "old style" readable stream
448
- */
449
- wrap(stream: NodeJS.ReadableStream): this;
450
- push(chunk: any, encoding?: BufferEncoding): boolean;
451
- /**
452
- * The iterator created by this method gives users the option to cancel the destruction
453
- * of the stream if the `for await...of` loop is exited by `return`, `break`, or `throw`,
454
- * or if the iterator should destroy the stream if the stream emitted an error during iteration.
455
- * @since v16.3.0
456
- * @param options.destroyOnReturn When set to `false`, calling `return` on the async iterator,
457
- * or exiting a `for await...of` iteration using a `break`, `return`, or `throw` will not destroy the stream.
458
- * **Default: `true`**.
459
- */
460
- iterator(options?: { destroyOnReturn?: boolean }): NodeJS.AsyncIterator<any>;
461
- /**
462
- * This method allows mapping over the stream. The *fn* function will be called for every chunk in the stream.
463
- * If the *fn* function returns a promise - that promise will be `await`ed before being passed to the result stream.
464
- * @since v17.4.0, v16.14.0
465
- * @param fn a function to map over every chunk in the stream. Async or not.
466
- * @returns a stream mapped with the function *fn*.
467
- */
468
- map(fn: (data: any, options?: Pick<ArrayOptions, "signal">) => any, options?: ArrayOptions): Readable;
469
- /**
470
- * This method allows filtering the stream. For each chunk in the stream the *fn* function will be called
471
- * and if it returns a truthy value, the chunk will be passed to the result stream.
472
- * If the *fn* function returns a promise - that promise will be `await`ed.
473
- * @since v17.4.0, v16.14.0
474
- * @param fn a function to filter chunks from the stream. Async or not.
475
- * @returns a stream filtered with the predicate *fn*.
476
- */
477
- filter(
478
- fn: (data: any, options?: Pick<ArrayOptions, "signal">) => boolean | Promise<boolean>,
479
- options?: ArrayOptions,
480
- ): Readable;
481
- /**
482
- * This method allows iterating a stream. For each chunk in the stream the *fn* function will be called.
483
- * If the *fn* function returns a promise - that promise will be `await`ed.
484
- *
485
- * This method is different from `for await...of` loops in that it can optionally process chunks concurrently.
486
- * In addition, a `forEach` iteration can only be stopped by having passed a `signal` option
487
- * and aborting the related AbortController while `for await...of` can be stopped with `break` or `return`.
488
- * In either case the stream will be destroyed.
489
- *
490
- * This method is different from listening to the `'data'` event in that it uses the `readable` event
491
- * in the underlying machinary and can limit the number of concurrent *fn* calls.
492
- * @since v17.5.0
493
- * @param fn a function to call on each chunk of the stream. Async or not.
494
- * @returns a promise for when the stream has finished.
495
- */
496
- forEach(
497
- fn: (data: any, options?: Pick<ArrayOptions, "signal">) => void | Promise<void>,
498
- options?: ArrayOptions,
499
- ): Promise<void>;
500
- /**
501
- * This method allows easily obtaining the contents of a stream.
502
- *
503
- * As this method reads the entire stream into memory, it negates the benefits of streams. It's intended
504
- * for interoperability and convenience, not as the primary way to consume streams.
505
- * @since v17.5.0
506
- * @returns a promise containing an array with the contents of the stream.
507
- */
508
- toArray(options?: Pick<ArrayOptions, "signal">): Promise<any[]>;
509
- /**
510
- * This method is similar to `Array.prototype.some` and calls *fn* on each chunk in the stream
511
- * until the awaited return value is `true` (or any truthy value). Once an *fn* call on a chunk
512
- * `await`ed return value is truthy, the stream is destroyed and the promise is fulfilled with `true`.
513
- * If none of the *fn* calls on the chunks return a truthy value, the promise is fulfilled with `false`.
514
- * @since v17.5.0
515
- * @param fn a function to call on each chunk of the stream. Async or not.
516
- * @returns a promise evaluating to `true` if *fn* returned a truthy value for at least one of the chunks.
517
- */
518
- some(
519
- fn: (data: any, options?: Pick<ArrayOptions, "signal">) => boolean | Promise<boolean>,
520
- options?: ArrayOptions,
521
- ): Promise<boolean>;
522
- /**
523
- * This method is similar to `Array.prototype.find` and calls *fn* on each chunk in the stream
524
- * to find a chunk with a truthy value for *fn*. Once an *fn* call's awaited return value is truthy,
525
- * the stream is destroyed and the promise is fulfilled with value for which *fn* returned a truthy value.
526
- * If all of the *fn* calls on the chunks return a falsy value, the promise is fulfilled with `undefined`.
527
- * @since v17.5.0
528
- * @param fn a function to call on each chunk of the stream. Async or not.
529
- * @returns a promise evaluating to the first chunk for which *fn* evaluated with a truthy value,
530
- * or `undefined` if no element was found.
531
- */
532
- find<T>(
533
- fn: (data: any, options?: Pick<ArrayOptions, "signal">) => data is T,
534
- options?: ArrayOptions,
535
- ): Promise<T | undefined>;
536
- find(
537
- fn: (data: any, options?: Pick<ArrayOptions, "signal">) => boolean | Promise<boolean>,
538
- options?: ArrayOptions,
539
- ): Promise<any>;
540
- /**
541
- * This method is similar to `Array.prototype.every` and calls *fn* on each chunk in the stream
542
- * to check if all awaited return values are truthy value for *fn*. Once an *fn* call on a chunk
543
- * `await`ed return value is falsy, the stream is destroyed and the promise is fulfilled with `false`.
544
- * If all of the *fn* calls on the chunks return a truthy value, the promise is fulfilled with `true`.
545
- * @since v17.5.0
546
- * @param fn a function to call on each chunk of the stream. Async or not.
547
- * @returns a promise evaluating to `true` if *fn* returned a truthy value for every one of the chunks.
548
- */
549
- every(
550
- fn: (data: any, options?: Pick<ArrayOptions, "signal">) => boolean | Promise<boolean>,
551
- options?: ArrayOptions,
552
- ): Promise<boolean>;
553
- /**
554
- * This method returns a new stream by applying the given callback to each chunk of the stream
555
- * and then flattening the result.
556
- *
557
- * It is possible to return a stream or another iterable or async iterable from *fn* and the result streams
558
- * will be merged (flattened) into the returned stream.
559
- * @since v17.5.0
560
- * @param fn a function to map over every chunk in the stream. May be async. May be a stream or generator.
561
- * @returns a stream flat-mapped with the function *fn*.
562
- */
563
- flatMap(fn: (data: any, options?: Pick<ArrayOptions, "signal">) => any, options?: ArrayOptions): Readable;
564
- /**
565
- * This method returns a new stream with the first *limit* chunks dropped from the start.
566
- * @since v17.5.0
567
- * @param limit the number of chunks to drop from the readable.
568
- * @returns a stream with *limit* chunks dropped from the start.
569
- */
570
- drop(limit: number, options?: Pick<ArrayOptions, "signal">): Readable;
571
- /**
572
- * This method returns a new stream with the first *limit* chunks.
573
- * @since v17.5.0
574
- * @param limit the number of chunks to take from the readable.
575
- * @returns a stream with *limit* chunks taken.
576
- */
577
- take(limit: number, options?: Pick<ArrayOptions, "signal">): Readable;
578
- /**
579
- * This method returns a new stream with chunks of the underlying stream paired with a counter
580
- * in the form `[index, chunk]`. The first index value is `0` and it increases by 1 for each chunk produced.
581
- * @since v17.5.0
582
- * @returns a stream of indexed pairs.
583
- */
584
- asIndexedPairs(options?: Pick<ArrayOptions, "signal">): Readable;
585
- /**
586
- * This method calls *fn* on each chunk of the stream in order, passing it the result from the calculation
587
- * on the previous element. It returns a promise for the final value of the reduction.
588
- *
589
- * If no *initial* value is supplied the first chunk of the stream is used as the initial value.
590
- * If the stream is empty, the promise is rejected with a `TypeError` with the `ERR_INVALID_ARGS` code property.
591
- *
592
- * The reducer function iterates the stream element-by-element which means that there is no *concurrency* parameter
593
- * or parallelism. To perform a reduce concurrently, you can extract the async function to `readable.map` method.
594
- * @since v17.5.0
595
- * @param fn a reducer function to call over every chunk in the stream. Async or not.
596
- * @param initial the initial value to use in the reduction.
597
- * @returns a promise for the final value of the reduction.
598
- */
599
- reduce<T = any>(
600
- fn: (previous: any, data: any, options?: Pick<ArrayOptions, "signal">) => T,
601
- initial?: undefined,
602
- options?: Pick<ArrayOptions, "signal">,
603
- ): Promise<T>;
604
- reduce<T = any>(
605
- fn: (previous: T, data: any, options?: Pick<ArrayOptions, "signal">) => T,
606
- initial: T,
607
- options?: Pick<ArrayOptions, "signal">,
608
- ): Promise<T>;
609
- _destroy(error: Error | null, callback: (error?: Error | null) => void): void;
610
- /**
611
- * Destroy the stream. Optionally emit an `'error'` event, and emit a `'close'` event (unless `emitClose` is set to `false`). After this call, the readable
612
- * stream will release any internal resources and subsequent calls to `push()` will be ignored.
613
- *
614
- * Once `destroy()` has been called any further calls will be a no-op and no
615
- * further errors except from `_destroy()` may be emitted as `'error'`.
616
- *
617
- * Implementors should not override this method, but instead implement `readable._destroy()`.
618
- * @since v8.0.0
619
- * @param error Error which will be passed as payload in `'error'` event
620
- */
621
- destroy(error?: Error): this;
622
- /**
623
- * Event emitter
624
- * The defined events on documents including:
625
- * 1. close
626
- * 2. data
627
- * 3. end
628
- * 4. error
629
- * 5. pause
630
- * 6. readable
631
- * 7. resume
632
- */
633
- addListener(event: "close", listener: () => void): this;
634
- addListener(event: "data", listener: (chunk: any) => void): this;
635
- addListener(event: "end", listener: () => void): this;
636
- addListener(event: "error", listener: (err: Error) => void): this;
637
- addListener(event: "pause", listener: () => void): this;
638
- addListener(event: "readable", listener: () => void): this;
639
- addListener(event: "resume", listener: () => void): this;
640
- addListener(event: string | symbol, listener: (...args: any[]) => void): this;
641
- emit(event: "close"): boolean;
642
- emit(event: "data", chunk: any): boolean;
643
- emit(event: "end"): boolean;
644
- emit(event: "error", err: Error): boolean;
645
- emit(event: "pause"): boolean;
646
- emit(event: "readable"): boolean;
647
- emit(event: "resume"): boolean;
648
- emit(event: string | symbol, ...args: any[]): boolean;
649
- on(event: "close", listener: () => void): this;
650
- on(event: "data", listener: (chunk: any) => void): this;
651
- on(event: "end", listener: () => void): this;
652
- on(event: "error", listener: (err: Error) => void): this;
653
- on(event: "pause", listener: () => void): this;
654
- on(event: "readable", listener: () => void): this;
655
- on(event: "resume", listener: () => void): this;
656
- on(event: string | symbol, listener: (...args: any[]) => void): this;
657
- once(event: "close", listener: () => void): this;
658
- once(event: "data", listener: (chunk: any) => void): this;
659
- once(event: "end", listener: () => void): this;
660
- once(event: "error", listener: (err: Error) => void): this;
661
- once(event: "pause", listener: () => void): this;
662
- once(event: "readable", listener: () => void): this;
663
- once(event: "resume", listener: () => void): this;
664
- once(event: string | symbol, listener: (...args: any[]) => void): this;
665
- prependListener(event: "close", listener: () => void): this;
666
- prependListener(event: "data", listener: (chunk: any) => void): this;
667
- prependListener(event: "end", listener: () => void): this;
668
- prependListener(event: "error", listener: (err: Error) => void): this;
669
- prependListener(event: "pause", listener: () => void): this;
670
- prependListener(event: "readable", listener: () => void): this;
671
- prependListener(event: "resume", listener: () => void): this;
672
- prependListener(event: string | symbol, listener: (...args: any[]) => void): this;
673
- prependOnceListener(event: "close", listener: () => void): this;
674
- prependOnceListener(event: "data", listener: (chunk: any) => void): this;
675
- prependOnceListener(event: "end", listener: () => void): this;
676
- prependOnceListener(event: "error", listener: (err: Error) => void): this;
677
- prependOnceListener(event: "pause", listener: () => void): this;
678
- prependOnceListener(event: "readable", listener: () => void): this;
679
- prependOnceListener(event: "resume", listener: () => void): this;
680
- prependOnceListener(event: string | symbol, listener: (...args: any[]) => void): this;
681
- removeListener(event: "close", listener: () => void): this;
682
- removeListener(event: "data", listener: (chunk: any) => void): this;
683
- removeListener(event: "end", listener: () => void): this;
684
- removeListener(event: "error", listener: (err: Error) => void): this;
685
- removeListener(event: "pause", listener: () => void): this;
686
- removeListener(event: "readable", listener: () => void): this;
687
- removeListener(event: "resume", listener: () => void): this;
688
- removeListener(event: string | symbol, listener: (...args: any[]) => void): this;
689
- [Symbol.asyncIterator](): NodeJS.AsyncIterator<any>;
690
- /**
691
- * Calls `readable.destroy()` with an `AbortError` and returns a promise that fulfills when the stream is finished.
692
- * @since v20.4.0
693
- */
694
- [Symbol.asyncDispose](): Promise<void>;
695
- }
696
- interface WritableOptions<T extends Writable = Writable> extends StreamOptions<T> {
697
- decodeStrings?: boolean | undefined;
698
- defaultEncoding?: BufferEncoding | undefined;
699
- write?(
700
- this: T,
701
- chunk: any,
702
- encoding: BufferEncoding,
703
- callback: (error?: Error | null) => void,
704
- ): void;
705
- writev?(
706
- this: T,
707
- chunks: Array<{
708
- chunk: any;
709
- encoding: BufferEncoding;
710
- }>,
711
- callback: (error?: Error | null) => void,
712
- ): void;
713
- final?(this: T, callback: (error?: Error | null) => void): void;
714
- }
715
- /**
716
- * @since v0.9.4
717
- */
718
- class Writable extends Stream implements NodeJS.WritableStream {
719
- /**
720
- * A utility method for creating a `Writable` from a web `WritableStream`.
721
- * @since v17.0.0
722
- * @experimental
723
- */
724
- static fromWeb(
725
- writableStream: streamWeb.WritableStream,
726
- options?: Pick<WritableOptions, "decodeStrings" | "highWaterMark" | "objectMode" | "signal">,
727
- ): Writable;
728
- /**
729
- * A utility method for creating a web `WritableStream` from a `Writable`.
730
- * @since v17.0.0
731
- * @experimental
732
- */
733
- static toWeb(streamWritable: Writable): streamWeb.WritableStream;
734
- /**
735
- * Is `true` if it is safe to call `writable.write()`, which means
736
- * the stream has not been destroyed, errored, or ended.
737
- * @since v11.4.0
738
- */
739
- readonly writable: boolean;
740
- /**
741
- * Returns whether the stream was destroyed or errored before emitting `'finish'`.
742
- * @since v18.0.0, v16.17.0
743
- * @experimental
744
- */
745
- readonly writableAborted: boolean;
746
- /**
747
- * Is `true` after `writable.end()` has been called. This property
748
- * does not indicate whether the data has been flushed, for this use `writable.writableFinished` instead.
749
- * @since v12.9.0
750
- */
751
- readonly writableEnded: boolean;
752
- /**
753
- * Is set to `true` immediately before the `'finish'` event is emitted.
754
- * @since v12.6.0
755
- */
756
- readonly writableFinished: boolean;
757
- /**
758
- * Return the value of `highWaterMark` passed when creating this `Writable`.
759
- * @since v9.3.0
760
- */
761
- readonly writableHighWaterMark: number;
762
- /**
763
- * This property contains the number of bytes (or objects) in the queue
764
- * ready to be written. The value provides introspection data regarding
765
- * the status of the `highWaterMark`.
766
- * @since v9.4.0
767
- */
768
- readonly writableLength: number;
769
- /**
770
- * Getter for the property `objectMode` of a given `Writable` stream.
771
- * @since v12.3.0
772
- */
773
- readonly writableObjectMode: boolean;
774
- /**
775
- * Number of times `writable.uncork()` needs to be
776
- * called in order to fully uncork the stream.
777
- * @since v13.2.0, v12.16.0
778
- */
779
- readonly writableCorked: number;
780
- /**
781
- * Is `true` after `writable.destroy()` has been called.
782
- * @since v8.0.0
783
- */
784
- destroyed: boolean;
785
- /**
786
- * Is `true` after `'close'` has been emitted.
787
- * @since v18.0.0
788
- */
789
- readonly closed: boolean;
790
- /**
791
- * Returns error if the stream has been destroyed with an error.
792
- * @since v18.0.0
793
- */
794
- readonly errored: Error | null;
795
- /**
796
- * Is `true` if the stream's buffer has been full and stream will emit `'drain'`.
797
- * @since v15.2.0, v14.17.0
798
- */
799
- readonly writableNeedDrain: boolean;
800
- constructor(opts?: WritableOptions);
801
- _write(chunk: any, encoding: BufferEncoding, callback: (error?: Error | null) => void): void;
802
- _writev?(
803
- chunks: Array<{
804
- chunk: any;
805
- encoding: BufferEncoding;
806
- }>,
807
- callback: (error?: Error | null) => void,
808
- ): void;
809
- _construct?(callback: (error?: Error | null) => void): void;
810
- _destroy(error: Error | null, callback: (error?: Error | null) => void): void;
811
- _final(callback: (error?: Error | null) => void): void;
812
- /**
813
- * The `writable.write()` method writes some data to the stream, and calls the
814
- * supplied `callback` once the data has been fully handled. If an error
815
- * occurs, the `callback` will be called with the error as its
816
- * first argument. The `callback` is called asynchronously and before `'error'` is
817
- * emitted.
818
- *
819
- * The return value is `true` if the internal buffer is less than the `highWaterMark` configured when the stream was created after admitting `chunk`.
820
- * If `false` is returned, further attempts to write data to the stream should
821
- * stop until the `'drain'` event is emitted.
822
- *
823
- * While a stream is not draining, calls to `write()` will buffer `chunk`, and
824
- * return false. Once all currently buffered chunks are drained (accepted for
825
- * delivery by the operating system), the `'drain'` event will be emitted.
826
- * Once `write()` returns false, do not write more chunks
827
- * until the `'drain'` event is emitted. While calling `write()` on a stream that
828
- * is not draining is allowed, Node.js will buffer all written chunks until
829
- * maximum memory usage occurs, at which point it will abort unconditionally.
830
- * Even before it aborts, high memory usage will cause poor garbage collector
831
- * performance and high RSS (which is not typically released back to the system,
832
- * even after the memory is no longer required). Since TCP sockets may never
833
- * drain if the remote peer does not read the data, writing a socket that is
834
- * not draining may lead to a remotely exploitable vulnerability.
835
- *
836
- * Writing data while the stream is not draining is particularly
837
- * problematic for a `Transform`, because the `Transform` streams are paused
838
- * by default until they are piped or a `'data'` or `'readable'` event handler
839
- * is added.
840
- *
841
- * If the data to be written can be generated or fetched on demand, it is
842
- * recommended to encapsulate the logic into a `Readable` and use {@link pipe}. However, if calling `write()` is preferred, it is
843
- * possible to respect backpressure and avoid memory issues using the `'drain'` event:
844
- *
845
- * ```js
846
- * function write(data, cb) {
847
- * if (!stream.write(data)) {
848
- * stream.once('drain', cb);
849
- * } else {
850
- * process.nextTick(cb);
851
- * }
852
- * }
853
- *
854
- * // Wait for cb to be called before doing any other write.
855
- * write('hello', () => {
856
- * console.log('Write completed, do more writes now.');
857
- * });
858
- * ```
859
- *
860
- * A `Writable` stream in object mode will always ignore the `encoding` argument.
861
- * @since v0.9.4
862
- * @param chunk Optional data to write. For streams not operating in object mode, `chunk` must be a {string}, {Buffer},
863
- * {TypedArray} or {DataView}. For object mode streams, `chunk` may be any JavaScript value other than `null`.
864
- * @param [encoding='utf8'] The encoding, if `chunk` is a string.
865
- * @param callback Callback for when this chunk of data is flushed.
866
- * @return `false` if the stream wishes for the calling code to wait for the `'drain'` event to be emitted before continuing to write additional data; otherwise `true`.
867
- */
868
- write(chunk: any, callback?: (error: Error | null | undefined) => void): boolean;
869
- write(chunk: any, encoding: BufferEncoding, callback?: (error: Error | null | undefined) => void): boolean;
870
- /**
871
- * The `writable.setDefaultEncoding()` method sets the default `encoding` for a `Writable` stream.
872
- * @since v0.11.15
873
- * @param encoding The new default encoding
874
- */
875
- setDefaultEncoding(encoding: BufferEncoding): this;
876
- /**
877
- * Calling the `writable.end()` method signals that no more data will be written
878
- * to the `Writable`. The optional `chunk` and `encoding` arguments allow one
879
- * final additional chunk of data to be written immediately before closing the
880
- * stream.
881
- *
882
- * Calling the {@link write} method after calling {@link end} will raise an error.
883
- *
884
- * ```js
885
- * // Write 'hello, ' and then end with 'world!'.
886
- * import fs from 'node:fs';
887
- * const file = fs.createWriteStream('example.txt');
888
- * file.write('hello, ');
889
- * file.end('world!');
890
- * // Writing more now is not allowed!
891
- * ```
892
- * @since v0.9.4
893
- * @param chunk Optional data to write. For streams not operating in object mode, `chunk` must be a {string}, {Buffer},
894
- * {TypedArray} or {DataView}. For object mode streams, `chunk` may be any JavaScript value other than `null`.
895
- * @param encoding The encoding if `chunk` is a string
896
- * @param callback Callback for when the stream is finished.
897
- */
898
- end(cb?: () => void): this;
899
- end(chunk: any, cb?: () => void): this;
900
- end(chunk: any, encoding: BufferEncoding, cb?: () => void): this;
901
- /**
902
- * The `writable.cork()` method forces all written data to be buffered in memory.
903
- * The buffered data will be flushed when either the {@link uncork} or {@link end} methods are called.
904
- *
905
- * The primary intent of `writable.cork()` is to accommodate a situation in which
906
- * several small chunks are written to the stream in rapid succession. Instead of
907
- * immediately forwarding them to the underlying destination, `writable.cork()` buffers all the chunks until `writable.uncork()` is called, which will pass them
908
- * all to `writable._writev()`, if present. This prevents a head-of-line blocking
909
- * situation where data is being buffered while waiting for the first small chunk
910
- * to be processed. However, use of `writable.cork()` without implementing `writable._writev()` may have an adverse effect on throughput.
911
- *
912
- * See also: `writable.uncork()`, `writable._writev()`.
913
- * @since v0.11.2
914
- */
915
- cork(): void;
916
- /**
917
- * The `writable.uncork()` method flushes all data buffered since {@link cork} was called.
918
- *
919
- * When using `writable.cork()` and `writable.uncork()` to manage the buffering
920
- * of writes to a stream, defer calls to `writable.uncork()` using `process.nextTick()`. Doing so allows batching of all `writable.write()` calls that occur within a given Node.js event
921
- * loop phase.
922
- *
923
- * ```js
924
- * stream.cork();
925
- * stream.write('some ');
926
- * stream.write('data ');
927
- * process.nextTick(() => stream.uncork());
928
- * ```
929
- *
930
- * If the `writable.cork()` method is called multiple times on a stream, the
931
- * same number of calls to `writable.uncork()` must be called to flush the buffered
932
- * data.
933
- *
934
- * ```js
935
- * stream.cork();
936
- * stream.write('some ');
937
- * stream.cork();
938
- * stream.write('data ');
939
- * process.nextTick(() => {
940
- * stream.uncork();
941
- * // The data will not be flushed until uncork() is called a second time.
942
- * stream.uncork();
943
- * });
944
- * ```
945
- *
946
- * See also: `writable.cork()`.
947
- * @since v0.11.2
948
- */
949
- uncork(): void;
950
- /**
951
- * Destroy the stream. Optionally emit an `'error'` event, and emit a `'close'` event (unless `emitClose` is set to `false`). After this call, the writable
952
- * stream has ended and subsequent calls to `write()` or `end()` will result in
953
- * an `ERR_STREAM_DESTROYED` error.
954
- * This is a destructive and immediate way to destroy a stream. Previous calls to `write()` may not have drained, and may trigger an `ERR_STREAM_DESTROYED` error.
955
- * Use `end()` instead of destroy if data should flush before close, or wait for
956
- * the `'drain'` event before destroying the stream.
957
- *
958
- * Once `destroy()` has been called any further calls will be a no-op and no
959
- * further errors except from `_destroy()` may be emitted as `'error'`.
960
- *
961
- * Implementors should not override this method,
962
- * but instead implement `writable._destroy()`.
963
- * @since v8.0.0
964
- * @param error Optional, an error to emit with `'error'` event.
965
- */
966
- destroy(error?: Error): this;
967
- /**
968
- * Event emitter
969
- * The defined events on documents including:
970
- * 1. close
971
- * 2. drain
972
- * 3. error
973
- * 4. finish
974
- * 5. pipe
975
- * 6. unpipe
976
- */
977
- addListener(event: "close", listener: () => void): this;
978
- addListener(event: "drain", listener: () => void): this;
979
- addListener(event: "error", listener: (err: Error) => void): this;
980
- addListener(event: "finish", listener: () => void): this;
981
- addListener(event: "pipe", listener: (src: Readable) => void): this;
982
- addListener(event: "unpipe", listener: (src: Readable) => void): this;
983
- addListener(event: string | symbol, listener: (...args: any[]) => void): this;
984
- emit(event: "close"): boolean;
985
- emit(event: "drain"): boolean;
986
- emit(event: "error", err: Error): boolean;
987
- emit(event: "finish"): boolean;
988
- emit(event: "pipe", src: Readable): boolean;
989
- emit(event: "unpipe", src: Readable): boolean;
990
- emit(event: string | symbol, ...args: any[]): boolean;
991
- on(event: "close", listener: () => void): this;
992
- on(event: "drain", listener: () => void): this;
993
- on(event: "error", listener: (err: Error) => void): this;
994
- on(event: "finish", listener: () => void): this;
995
- on(event: "pipe", listener: (src: Readable) => void): this;
996
- on(event: "unpipe", listener: (src: Readable) => void): this;
997
- on(event: string | symbol, listener: (...args: any[]) => void): this;
998
- once(event: "close", listener: () => void): this;
999
- once(event: "drain", listener: () => void): this;
1000
- once(event: "error", listener: (err: Error) => void): this;
1001
- once(event: "finish", listener: () => void): this;
1002
- once(event: "pipe", listener: (src: Readable) => void): this;
1003
- once(event: "unpipe", listener: (src: Readable) => void): this;
1004
- once(event: string | symbol, listener: (...args: any[]) => void): this;
1005
- prependListener(event: "close", listener: () => void): this;
1006
- prependListener(event: "drain", listener: () => void): this;
1007
- prependListener(event: "error", listener: (err: Error) => void): this;
1008
- prependListener(event: "finish", listener: () => void): this;
1009
- prependListener(event: "pipe", listener: (src: Readable) => void): this;
1010
- prependListener(event: "unpipe", listener: (src: Readable) => void): this;
1011
- prependListener(event: string | symbol, listener: (...args: any[]) => void): this;
1012
- prependOnceListener(event: "close", listener: () => void): this;
1013
- prependOnceListener(event: "drain", listener: () => void): this;
1014
- prependOnceListener(event: "error", listener: (err: Error) => void): this;
1015
- prependOnceListener(event: "finish", listener: () => void): this;
1016
- prependOnceListener(event: "pipe", listener: (src: Readable) => void): this;
1017
- prependOnceListener(event: "unpipe", listener: (src: Readable) => void): this;
1018
- prependOnceListener(event: string | symbol, listener: (...args: any[]) => void): this;
1019
- removeListener(event: "close", listener: () => void): this;
1020
- removeListener(event: "drain", listener: () => void): this;
1021
- removeListener(event: "error", listener: (err: Error) => void): this;
1022
- removeListener(event: "finish", listener: () => void): this;
1023
- removeListener(event: "pipe", listener: (src: Readable) => void): this;
1024
- removeListener(event: "unpipe", listener: (src: Readable) => void): this;
1025
- removeListener(event: string | symbol, listener: (...args: any[]) => void): this;
1026
- }
1027
- interface DuplexOptions<T extends Duplex = Duplex> extends ReadableOptions<T>, WritableOptions<T> {
1028
- allowHalfOpen?: boolean | undefined;
1029
- readableObjectMode?: boolean | undefined;
1030
- writableObjectMode?: boolean | undefined;
1031
- readableHighWaterMark?: number | undefined;
1032
- writableHighWaterMark?: number | undefined;
1033
- writableCorked?: number | undefined;
1034
- }
1035
- /**
1036
- * Duplex streams are streams that implement both the `Readable` and `Writable` interfaces.
1037
- *
1038
- * Examples of `Duplex` streams include:
1039
- *
1040
- * * `TCP sockets`
1041
- * * `zlib streams`
1042
- * * `crypto streams`
1043
- * @since v0.9.4
1044
- */
1045
- class Duplex extends Stream implements NodeJS.ReadWriteStream {
1046
- /**
1047
- * If `false` then the stream will automatically end the writable side when the
1048
- * readable side ends. Set initially by the `allowHalfOpen` constructor option,
1049
- * which defaults to `true`.
1050
- *
1051
- * This can be changed manually to change the half-open behavior of an existing
1052
- * `Duplex` stream instance, but must be changed before the `'end'` event is emitted.
1053
- * @since v0.9.4
1054
- */
1055
- allowHalfOpen: boolean;
1056
- constructor(opts?: DuplexOptions);
1057
- /**
1058
- * A utility method for creating duplex streams.
1059
- *
1060
- * - `Stream` converts writable stream into writable `Duplex` and readable stream
1061
- * to `Duplex`.
1062
- * - `Blob` converts into readable `Duplex`.
1063
- * - `string` converts into readable `Duplex`.
1064
- * - `ArrayBuffer` converts into readable `Duplex`.
1065
- * - `AsyncIterable` converts into a readable `Duplex`. Cannot yield `null`.
1066
- * - `AsyncGeneratorFunction` converts into a readable/writable transform
1067
- * `Duplex`. Must take a source `AsyncIterable` as first parameter. Cannot yield
1068
- * `null`.
1069
- * - `AsyncFunction` converts into a writable `Duplex`. Must return
1070
- * either `null` or `undefined`
1071
- * - `Object ({ writable, readable })` converts `readable` and
1072
- * `writable` into `Stream` and then combines them into `Duplex` where the
1073
- * `Duplex` will write to the `writable` and read from the `readable`.
1074
- * - `Promise` converts into readable `Duplex`. Value `null` is ignored.
1075
- *
1076
- * @since v16.8.0
1077
- */
1078
- static from(
1079
- src:
1080
- | Stream
1081
- | NodeBlob
1082
- | ArrayBuffer
1083
- | string
1084
- | Iterable<any>
1085
- | AsyncIterable<any>
1086
- | AsyncGeneratorFunction
1087
- | Promise<any>
1088
- | Object,
1089
- ): Duplex;
1090
- /**
1091
- * A utility method for creating a web `ReadableStream` and `WritableStream` from a `Duplex`.
1092
- * @since v17.0.0
1093
- * @experimental
1094
- */
1095
- static toWeb(streamDuplex: Duplex): {
1096
- readable: streamWeb.ReadableStream;
1097
- writable: streamWeb.WritableStream;
1098
- };
1099
- /**
1100
- * A utility method for creating a `Duplex` from a web `ReadableStream` and `WritableStream`.
1101
- * @since v17.0.0
1102
- * @experimental
1103
- */
1104
- static fromWeb(
1105
- duplexStream: {
1106
- readable: streamWeb.ReadableStream;
1107
- writable: streamWeb.WritableStream;
1108
- },
1109
- options?: Pick<
1110
- DuplexOptions,
1111
- "allowHalfOpen" | "decodeStrings" | "encoding" | "highWaterMark" | "objectMode" | "signal"
1112
- >,
1113
- ): Duplex;
1114
- /**
1115
- * Event emitter
1116
- * The defined events on documents including:
1117
- * 1. close
1118
- * 2. data
1119
- * 3. drain
1120
- * 4. end
1121
- * 5. error
1122
- * 6. finish
1123
- * 7. pause
1124
- * 8. pipe
1125
- * 9. readable
1126
- * 10. resume
1127
- * 11. unpipe
1128
- */
1129
- addListener(event: "close", listener: () => void): this;
1130
- addListener(event: "data", listener: (chunk: any) => void): this;
1131
- addListener(event: "drain", listener: () => void): this;
1132
- addListener(event: "end", listener: () => void): this;
1133
- addListener(event: "error", listener: (err: Error) => void): this;
1134
- addListener(event: "finish", listener: () => void): this;
1135
- addListener(event: "pause", listener: () => void): this;
1136
- addListener(event: "pipe", listener: (src: Readable) => void): this;
1137
- addListener(event: "readable", listener: () => void): this;
1138
- addListener(event: "resume", listener: () => void): this;
1139
- addListener(event: "unpipe", listener: (src: Readable) => void): this;
1140
- addListener(event: string | symbol, listener: (...args: any[]) => void): this;
1141
- emit(event: "close"): boolean;
1142
- emit(event: "data", chunk: any): boolean;
1143
- emit(event: "drain"): boolean;
1144
- emit(event: "end"): boolean;
1145
- emit(event: "error", err: Error): boolean;
1146
- emit(event: "finish"): boolean;
1147
- emit(event: "pause"): boolean;
1148
- emit(event: "pipe", src: Readable): boolean;
1149
- emit(event: "readable"): boolean;
1150
- emit(event: "resume"): boolean;
1151
- emit(event: "unpipe", src: Readable): boolean;
1152
- emit(event: string | symbol, ...args: any[]): boolean;
1153
- on(event: "close", listener: () => void): this;
1154
- on(event: "data", listener: (chunk: any) => void): this;
1155
- on(event: "drain", listener: () => void): this;
1156
- on(event: "end", listener: () => void): this;
1157
- on(event: "error", listener: (err: Error) => void): this;
1158
- on(event: "finish", listener: () => void): this;
1159
- on(event: "pause", listener: () => void): this;
1160
- on(event: "pipe", listener: (src: Readable) => void): this;
1161
- on(event: "readable", listener: () => void): this;
1162
- on(event: "resume", listener: () => void): this;
1163
- on(event: "unpipe", listener: (src: Readable) => void): this;
1164
- on(event: string | symbol, listener: (...args: any[]) => void): this;
1165
- once(event: "close", listener: () => void): this;
1166
- once(event: "data", listener: (chunk: any) => void): this;
1167
- once(event: "drain", listener: () => void): this;
1168
- once(event: "end", listener: () => void): this;
1169
- once(event: "error", listener: (err: Error) => void): this;
1170
- once(event: "finish", listener: () => void): this;
1171
- once(event: "pause", listener: () => void): this;
1172
- once(event: "pipe", listener: (src: Readable) => void): this;
1173
- once(event: "readable", listener: () => void): this;
1174
- once(event: "resume", listener: () => void): this;
1175
- once(event: "unpipe", listener: (src: Readable) => void): this;
1176
- once(event: string | symbol, listener: (...args: any[]) => void): this;
1177
- prependListener(event: "close", listener: () => void): this;
1178
- prependListener(event: "data", listener: (chunk: any) => void): this;
1179
- prependListener(event: "drain", listener: () => void): this;
1180
- prependListener(event: "end", listener: () => void): this;
1181
- prependListener(event: "error", listener: (err: Error) => void): this;
1182
- prependListener(event: "finish", listener: () => void): this;
1183
- prependListener(event: "pause", listener: () => void): this;
1184
- prependListener(event: "pipe", listener: (src: Readable) => void): this;
1185
- prependListener(event: "readable", listener: () => void): this;
1186
- prependListener(event: "resume", listener: () => void): this;
1187
- prependListener(event: "unpipe", listener: (src: Readable) => void): this;
1188
- prependListener(event: string | symbol, listener: (...args: any[]) => void): this;
1189
- prependOnceListener(event: "close", listener: () => void): this;
1190
- prependOnceListener(event: "data", listener: (chunk: any) => void): this;
1191
- prependOnceListener(event: "drain", listener: () => void): this;
1192
- prependOnceListener(event: "end", listener: () => void): this;
1193
- prependOnceListener(event: "error", listener: (err: Error) => void): this;
1194
- prependOnceListener(event: "finish", listener: () => void): this;
1195
- prependOnceListener(event: "pause", listener: () => void): this;
1196
- prependOnceListener(event: "pipe", listener: (src: Readable) => void): this;
1197
- prependOnceListener(event: "readable", listener: () => void): this;
1198
- prependOnceListener(event: "resume", listener: () => void): this;
1199
- prependOnceListener(event: "unpipe", listener: (src: Readable) => void): this;
1200
- prependOnceListener(event: string | symbol, listener: (...args: any[]) => void): this;
1201
- removeListener(event: "close", listener: () => void): this;
1202
- removeListener(event: "data", listener: (chunk: any) => void): this;
1203
- removeListener(event: "drain", listener: () => void): this;
1204
- removeListener(event: "end", listener: () => void): this;
1205
- removeListener(event: "error", listener: (err: Error) => void): this;
1206
- removeListener(event: "finish", listener: () => void): this;
1207
- removeListener(event: "pause", listener: () => void): this;
1208
- removeListener(event: "pipe", listener: (src: Readable) => void): this;
1209
- removeListener(event: "readable", listener: () => void): this;
1210
- removeListener(event: "resume", listener: () => void): this;
1211
- removeListener(event: "unpipe", listener: (src: Readable) => void): this;
1212
- removeListener(event: string | symbol, listener: (...args: any[]) => void): this;
1213
- }
1214
- interface Duplex extends Readable, Writable {}
1215
- /**
1216
- * The utility function `duplexPair` returns an Array with two items,
1217
- * each being a `Duplex` stream connected to the other side:
1218
- *
1219
- * ```js
1220
- * const [ sideA, sideB ] = duplexPair();
1221
- * ```
1222
- *
1223
- * Whatever is written to one stream is made readable on the other. It provides
1224
- * behavior analogous to a network connection, where the data written by the client
1225
- * becomes readable by the server, and vice-versa.
1226
- *
1227
- * The Duplex streams are symmetrical; one or the other may be used without any
1228
- * difference in behavior.
1229
- * @param options A value to pass to both {@link Duplex} constructors,
1230
- * to set options such as buffering.
1231
- * @since v20.17.0
1232
- */
1233
- function duplexPair(options?: DuplexOptions): [Duplex, Duplex];
1234
- type TransformCallback = (error?: Error | null, data?: any) => void;
1235
- interface TransformOptions<T extends Transform = Transform> extends DuplexOptions<T> {
1236
- transform?(this: T, chunk: any, encoding: BufferEncoding, callback: TransformCallback): void;
1237
- flush?(this: T, callback: TransformCallback): void;
1238
- }
1239
- /**
1240
- * Transform streams are `Duplex` streams where the output is in some way
1241
- * related to the input. Like all `Duplex` streams, `Transform` streams
1242
- * implement both the `Readable` and `Writable` interfaces.
1243
- *
1244
- * Examples of `Transform` streams include:
1245
- *
1246
- * * `zlib streams`
1247
- * * `crypto streams`
1248
- * @since v0.9.4
1249
- */
1250
- class Transform extends Duplex {
1251
- constructor(opts?: TransformOptions);
1252
- _transform(chunk: any, encoding: BufferEncoding, callback: TransformCallback): void;
1253
- _flush(callback: TransformCallback): void;
1254
- }
1255
- /**
1256
- * The `stream.PassThrough` class is a trivial implementation of a `Transform` stream that simply passes the input bytes across to the output. Its purpose is
1257
- * primarily for examples and testing, but there are some use cases where `stream.PassThrough` is useful as a building block for novel sorts of streams.
1258
- */
1259
- class PassThrough extends Transform {}
1260
- /**
1261
- * A stream to attach a signal to.
1262
- *
1263
- * Attaches an AbortSignal to a readable or writeable stream. This lets code
1264
- * control stream destruction using an `AbortController`.
1265
- *
1266
- * Calling `abort` on the `AbortController` corresponding to the passed `AbortSignal` will behave the same way as calling `.destroy(new AbortError())` on the
1267
- * stream, and `controller.error(new AbortError())` for webstreams.
1268
- *
1269
- * ```js
1270
- * import fs from 'node:fs';
1271
- *
1272
- * const controller = new AbortController();
1273
- * const read = addAbortSignal(
1274
- * controller.signal,
1275
- * fs.createReadStream(('object.json')),
1276
- * );
1277
- * // Later, abort the operation closing the stream
1278
- * controller.abort();
1279
- * ```
1280
- *
1281
- * Or using an `AbortSignal` with a readable stream as an async iterable:
1282
- *
1283
- * ```js
1284
- * const controller = new AbortController();
1285
- * setTimeout(() => controller.abort(), 10_000); // set a timeout
1286
- * const stream = addAbortSignal(
1287
- * controller.signal,
1288
- * fs.createReadStream(('object.json')),
1289
- * );
1290
- * (async () => {
1291
- * try {
1292
- * for await (const chunk of stream) {
1293
- * await process(chunk);
1294
- * }
1295
- * } catch (e) {
1296
- * if (e.name === 'AbortError') {
1297
- * // The operation was cancelled
1298
- * } else {
1299
- * throw e;
1300
- * }
1301
- * }
1302
- * })();
1303
- * ```
1304
- *
1305
- * Or using an `AbortSignal` with a ReadableStream:
1306
- *
1307
- * ```js
1308
- * const controller = new AbortController();
1309
- * const rs = new ReadableStream({
1310
- * start(controller) {
1311
- * controller.enqueue('hello');
1312
- * controller.enqueue('world');
1313
- * controller.close();
1314
- * },
1315
- * });
1316
- *
1317
- * addAbortSignal(controller.signal, rs);
1318
- *
1319
- * finished(rs, (err) => {
1320
- * if (err) {
1321
- * if (err.name === 'AbortError') {
1322
- * // The operation was cancelled
1323
- * }
1324
- * }
1325
- * });
1326
- *
1327
- * const reader = rs.getReader();
1328
- *
1329
- * reader.read().then(({ value, done }) => {
1330
- * console.log(value); // hello
1331
- * console.log(done); // false
1332
- * controller.abort();
1333
- * });
1334
- * ```
1335
- * @since v15.4.0
1336
- * @param signal A signal representing possible cancellation
1337
- * @param stream A stream to attach a signal to.
1338
- */
1339
- function addAbortSignal<T extends Stream>(signal: AbortSignal, stream: T): T;
1340
- /**
1341
- * Returns the default highWaterMark used by streams.
1342
- * Defaults to `16384` (16 KiB), or `16` for `objectMode`.
1343
- * @since v19.9.0
1344
- */
1345
- function getDefaultHighWaterMark(objectMode: boolean): number;
1346
- /**
1347
- * Sets the default highWaterMark used by streams.
1348
- * @since v19.9.0
1349
- * @param value highWaterMark value
1350
- */
1351
- function setDefaultHighWaterMark(objectMode: boolean, value: number): void;
1352
- interface FinishedOptions extends Abortable {
1353
- error?: boolean | undefined;
1354
- readable?: boolean | undefined;
1355
- writable?: boolean | undefined;
1356
- }
1357
- /**
1358
- * A readable and/or writable stream/webstream.
1359
- *
1360
- * A function to get notified when a stream is no longer readable, writable
1361
- * or has experienced an error or a premature close event.
1362
- *
1363
- * ```js
1364
- * import { finished } from 'node:stream';
1365
- * import fs from 'node:fs';
1366
- *
1367
- * const rs = fs.createReadStream('archive.tar');
1368
- *
1369
- * finished(rs, (err) => {
1370
- * if (err) {
1371
- * console.error('Stream failed.', err);
1372
- * } else {
1373
- * console.log('Stream is done reading.');
1374
- * }
1375
- * });
1376
- *
1377
- * rs.resume(); // Drain the stream.
1378
- * ```
1379
- *
1380
- * Especially useful in error handling scenarios where a stream is destroyed
1381
- * prematurely (like an aborted HTTP request), and will not emit `'end'` or `'finish'`.
1382
- *
1383
- * The `finished` API provides [`promise version`](https://nodejs.org/docs/latest-v20.x/api/stream.html#streamfinishedstream-options).
1384
- *
1385
- * `stream.finished()` leaves dangling event listeners (in particular `'error'`, `'end'`, `'finish'` and `'close'`) after `callback` has been
1386
- * invoked. The reason for this is so that unexpected `'error'` events (due to
1387
- * incorrect stream implementations) do not cause unexpected crashes.
1388
- * If this is unwanted behavior then the returned cleanup function needs to be
1389
- * invoked in the callback:
1390
- *
1391
- * ```js
1392
- * const cleanup = finished(rs, (err) => {
1393
- * cleanup();
1394
- * // ...
1395
- * });
1396
- * ```
1397
- * @since v10.0.0
1398
- * @param stream A readable and/or writable stream.
1399
- * @param callback A callback function that takes an optional error argument.
1400
- * @returns A cleanup function which removes all registered listeners.
1401
- */
1402
- function finished(
1403
- stream: NodeJS.ReadableStream | NodeJS.WritableStream | NodeJS.ReadWriteStream,
1404
- options: FinishedOptions,
1405
- callback: (err?: NodeJS.ErrnoException | null) => void,
1406
- ): () => void;
1407
- function finished(
1408
- stream: NodeJS.ReadableStream | NodeJS.WritableStream | NodeJS.ReadWriteStream,
1409
- callback: (err?: NodeJS.ErrnoException | null) => void,
1410
- ): () => void;
1411
- namespace finished {
1412
- function __promisify__(
1413
- stream: NodeJS.ReadableStream | NodeJS.WritableStream | NodeJS.ReadWriteStream,
1414
- options?: FinishedOptions,
1415
- ): Promise<void>;
1416
- }
1417
- type PipelineSourceFunction<T> = () => Iterable<T> | AsyncIterable<T>;
1418
- type PipelineSource<T> = Iterable<T> | AsyncIterable<T> | NodeJS.ReadableStream | PipelineSourceFunction<T>;
1419
- type PipelineTransform<S extends PipelineTransformSource<any>, U> =
1420
- | NodeJS.ReadWriteStream
1421
- | ((
1422
- source: S extends (...args: any[]) => Iterable<infer ST> | AsyncIterable<infer ST> ? AsyncIterable<ST>
1423
- : S,
1424
- ) => AsyncIterable<U>);
1425
- type PipelineTransformSource<T> = PipelineSource<T> | PipelineTransform<any, T>;
1426
- type PipelineDestinationIterableFunction<T> = (source: AsyncIterable<T>) => AsyncIterable<any>;
1427
- type PipelineDestinationPromiseFunction<T, P> = (source: AsyncIterable<T>) => Promise<P>;
1428
- type PipelineDestination<S extends PipelineTransformSource<any>, P> = S extends
1429
- PipelineTransformSource<infer ST> ?
1430
- | NodeJS.WritableStream
1431
- | PipelineDestinationIterableFunction<ST>
1432
- | PipelineDestinationPromiseFunction<ST, P>
1433
- : never;
1434
- type PipelineCallback<S extends PipelineDestination<any, any>> = S extends
1435
- PipelineDestinationPromiseFunction<any, infer P> ? (err: NodeJS.ErrnoException | null, value: P) => void
1436
- : (err: NodeJS.ErrnoException | null) => void;
1437
- type PipelinePromise<S extends PipelineDestination<any, any>> = S extends
1438
- PipelineDestinationPromiseFunction<any, infer P> ? Promise<P> : Promise<void>;
1439
- interface PipelineOptions {
1440
- signal?: AbortSignal | undefined;
1441
- end?: boolean | undefined;
1442
- }
1443
- /**
1444
- * A module method to pipe between streams and generators forwarding errors and
1445
- * properly cleaning up and provide a callback when the pipeline is complete.
1446
- *
1447
- * ```js
1448
- * import { pipeline } from 'node:stream';
1449
- * import fs from 'node:fs';
1450
- * import zlib from 'node:zlib';
1451
- *
1452
- * // Use the pipeline API to easily pipe a series of streams
1453
- * // together and get notified when the pipeline is fully done.
1454
- *
1455
- * // A pipeline to gzip a potentially huge tar file efficiently:
1456
- *
1457
- * pipeline(
1458
- * fs.createReadStream('archive.tar'),
1459
- * zlib.createGzip(),
1460
- * fs.createWriteStream('archive.tar.gz'),
1461
- * (err) => {
1462
- * if (err) {
1463
- * console.error('Pipeline failed.', err);
1464
- * } else {
1465
- * console.log('Pipeline succeeded.');
1466
- * }
1467
- * },
1468
- * );
1469
- * ```
1470
- *
1471
- * The `pipeline` API provides a [`promise version`](https://nodejs.org/docs/latest-v20.x/api/stream.html#streampipelinesource-transforms-destination-options).
1472
- *
1473
- * `stream.pipeline()` will call `stream.destroy(err)` on all streams except:
1474
- *
1475
- * * `Readable` streams which have emitted `'end'` or `'close'`.
1476
- * * `Writable` streams which have emitted `'finish'` or `'close'`.
1477
- *
1478
- * `stream.pipeline()` leaves dangling event listeners on the streams
1479
- * after the `callback` has been invoked. In the case of reuse of streams after
1480
- * failure, this can cause event listener leaks and swallowed errors. If the last
1481
- * stream is readable, dangling event listeners will be removed so that the last
1482
- * stream can be consumed later.
1483
- *
1484
- * `stream.pipeline()` closes all the streams when an error is raised.
1485
- * The `IncomingRequest` usage with `pipeline` could lead to an unexpected behavior
1486
- * once it would destroy the socket without sending the expected response.
1487
- * See the example below:
1488
- *
1489
- * ```js
1490
- * import fs from 'node:fs';
1491
- * import http from 'node:http';
1492
- * import { pipeline } from 'node:stream';
1493
- *
1494
- * const server = http.createServer((req, res) => {
1495
- * const fileStream = fs.createReadStream('./fileNotExist.txt');
1496
- * pipeline(fileStream, res, (err) => {
1497
- * if (err) {
1498
- * console.log(err); // No such file
1499
- * // this message can't be sent once `pipeline` already destroyed the socket
1500
- * return res.end('error!!!');
1501
- * }
1502
- * });
1503
- * });
1504
- * ```
1505
- * @since v10.0.0
1506
- * @param callback Called when the pipeline is fully done.
1507
- */
1508
- function pipeline<A extends PipelineSource<any>, B extends PipelineDestination<A, any>>(
1509
- source: A,
1510
- destination: B,
1511
- callback: PipelineCallback<B>,
1512
- ): B extends NodeJS.WritableStream ? B : NodeJS.WritableStream;
1513
- function pipeline<
1514
- A extends PipelineSource<any>,
1515
- T1 extends PipelineTransform<A, any>,
1516
- B extends PipelineDestination<T1, any>,
1517
- >(
1518
- source: A,
1519
- transform1: T1,
1520
- destination: B,
1521
- callback: PipelineCallback<B>,
1522
- ): B extends NodeJS.WritableStream ? B : NodeJS.WritableStream;
1523
- function pipeline<
1524
- A extends PipelineSource<any>,
1525
- T1 extends PipelineTransform<A, any>,
1526
- T2 extends PipelineTransform<T1, any>,
1527
- B extends PipelineDestination<T2, any>,
1528
- >(
1529
- source: A,
1530
- transform1: T1,
1531
- transform2: T2,
1532
- destination: B,
1533
- callback: PipelineCallback<B>,
1534
- ): B extends NodeJS.WritableStream ? B : NodeJS.WritableStream;
1535
- function pipeline<
1536
- A extends PipelineSource<any>,
1537
- T1 extends PipelineTransform<A, any>,
1538
- T2 extends PipelineTransform<T1, any>,
1539
- T3 extends PipelineTransform<T2, any>,
1540
- B extends PipelineDestination<T3, any>,
1541
- >(
1542
- source: A,
1543
- transform1: T1,
1544
- transform2: T2,
1545
- transform3: T3,
1546
- destination: B,
1547
- callback: PipelineCallback<B>,
1548
- ): B extends NodeJS.WritableStream ? B : NodeJS.WritableStream;
1549
- function pipeline<
1550
- A extends PipelineSource<any>,
1551
- T1 extends PipelineTransform<A, any>,
1552
- T2 extends PipelineTransform<T1, any>,
1553
- T3 extends PipelineTransform<T2, any>,
1554
- T4 extends PipelineTransform<T3, any>,
1555
- B extends PipelineDestination<T4, any>,
1556
- >(
1557
- source: A,
1558
- transform1: T1,
1559
- transform2: T2,
1560
- transform3: T3,
1561
- transform4: T4,
1562
- destination: B,
1563
- callback: PipelineCallback<B>,
1564
- ): B extends NodeJS.WritableStream ? B : NodeJS.WritableStream;
1565
- function pipeline(
1566
- streams: ReadonlyArray<NodeJS.ReadableStream | NodeJS.WritableStream | NodeJS.ReadWriteStream>,
1567
- callback: (err: NodeJS.ErrnoException | null) => void,
1568
- ): NodeJS.WritableStream;
1569
- function pipeline(
1570
- stream1: NodeJS.ReadableStream,
1571
- stream2: NodeJS.ReadWriteStream | NodeJS.WritableStream,
1572
- ...streams: Array<
1573
- NodeJS.ReadWriteStream | NodeJS.WritableStream | ((err: NodeJS.ErrnoException | null) => void)
1574
- >
1575
- ): NodeJS.WritableStream;
1576
- namespace pipeline {
1577
- function __promisify__<A extends PipelineSource<any>, B extends PipelineDestination<A, any>>(
1578
- source: A,
1579
- destination: B,
1580
- options?: PipelineOptions,
1581
- ): PipelinePromise<B>;
1582
- function __promisify__<
1583
- A extends PipelineSource<any>,
1584
- T1 extends PipelineTransform<A, any>,
1585
- B extends PipelineDestination<T1, any>,
1586
- >(
1587
- source: A,
1588
- transform1: T1,
1589
- destination: B,
1590
- options?: PipelineOptions,
1591
- ): PipelinePromise<B>;
1592
- function __promisify__<
1593
- A extends PipelineSource<any>,
1594
- T1 extends PipelineTransform<A, any>,
1595
- T2 extends PipelineTransform<T1, any>,
1596
- B extends PipelineDestination<T2, any>,
1597
- >(
1598
- source: A,
1599
- transform1: T1,
1600
- transform2: T2,
1601
- destination: B,
1602
- options?: PipelineOptions,
1603
- ): PipelinePromise<B>;
1604
- function __promisify__<
1605
- A extends PipelineSource<any>,
1606
- T1 extends PipelineTransform<A, any>,
1607
- T2 extends PipelineTransform<T1, any>,
1608
- T3 extends PipelineTransform<T2, any>,
1609
- B extends PipelineDestination<T3, any>,
1610
- >(
1611
- source: A,
1612
- transform1: T1,
1613
- transform2: T2,
1614
- transform3: T3,
1615
- destination: B,
1616
- options?: PipelineOptions,
1617
- ): PipelinePromise<B>;
1618
- function __promisify__<
1619
- A extends PipelineSource<any>,
1620
- T1 extends PipelineTransform<A, any>,
1621
- T2 extends PipelineTransform<T1, any>,
1622
- T3 extends PipelineTransform<T2, any>,
1623
- T4 extends PipelineTransform<T3, any>,
1624
- B extends PipelineDestination<T4, any>,
1625
- >(
1626
- source: A,
1627
- transform1: T1,
1628
- transform2: T2,
1629
- transform3: T3,
1630
- transform4: T4,
1631
- destination: B,
1632
- options?: PipelineOptions,
1633
- ): PipelinePromise<B>;
1634
- function __promisify__(
1635
- streams: ReadonlyArray<NodeJS.ReadableStream | NodeJS.WritableStream | NodeJS.ReadWriteStream>,
1636
- options?: PipelineOptions,
1637
- ): Promise<void>;
1638
- function __promisify__(
1639
- stream1: NodeJS.ReadableStream,
1640
- stream2: NodeJS.ReadWriteStream | NodeJS.WritableStream,
1641
- ...streams: Array<NodeJS.ReadWriteStream | NodeJS.WritableStream | PipelineOptions>
1642
- ): Promise<void>;
1643
- }
1644
- interface Pipe {
1645
- close(): void;
1646
- hasRef(): boolean;
1647
- ref(): void;
1648
- unref(): void;
1649
- }
1650
- /**
1651
- * Returns whether the stream has encountered an error.
1652
- * @since v17.3.0, v16.14.0
1653
- * @experimental
1654
- */
1655
- function isErrored(stream: Readable | Writable | NodeJS.ReadableStream | NodeJS.WritableStream): boolean;
1656
- /**
1657
- * Returns whether the stream is readable.
1658
- * @since v17.4.0, v16.14.0
1659
- * @experimental
1660
- */
1661
- function isReadable(stream: Readable | NodeJS.ReadableStream): boolean;
1662
- }
1663
- export = Stream;
1664
- }
1665
- declare module "node:stream" {
1666
- import stream = require("stream");
1667
- export = stream;
1668
- }