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,2031 +0,0 @@
1
- /**
2
- * To use the HTTP server and client one must import the `node:http` module.
3
- *
4
- * The HTTP interfaces in Node.js are designed to support many features
5
- * of the protocol which have been traditionally difficult to use.
6
- * In particular, large, possibly chunk-encoded, messages. The interface is
7
- * careful to never buffer entire requests or responses, so the
8
- * user is able to stream data.
9
- *
10
- * HTTP message headers are represented by an object like this:
11
- *
12
- * ```json
13
- * { "content-length": "123",
14
- * "content-type": "text/plain",
15
- * "connection": "keep-alive",
16
- * "host": "example.com",
17
- * "accept": "*" }
18
- * ```
19
- *
20
- * Keys are lowercased. Values are not modified.
21
- *
22
- * In order to support the full spectrum of possible HTTP applications, the Node.js
23
- * HTTP API is very low-level. It deals with stream handling and message
24
- * parsing only. It parses a message into headers and body but it does not
25
- * parse the actual headers or the body.
26
- *
27
- * See `message.headers` for details on how duplicate headers are handled.
28
- *
29
- * The raw headers as they were received are retained in the `rawHeaders` property, which is an array of `[key, value, key2, value2, ...]`. For
30
- * example, the previous message header object might have a `rawHeaders` list like the following:
31
- *
32
- * ```js
33
- * [ 'ConTent-Length', '123456',
34
- * 'content-LENGTH', '123',
35
- * 'content-type', 'text/plain',
36
- * 'CONNECTION', 'keep-alive',
37
- * 'Host', 'example.com',
38
- * 'accepT', '*' ]
39
- * ```
40
- * @see [source](https://github.com/nodejs/node/blob/v20.13.1/lib/http.js)
41
- */
42
- declare module "http" {
43
- import * as stream from "node:stream";
44
- import { URL } from "node:url";
45
- import { LookupOptions } from "node:dns";
46
- import { EventEmitter } from "node:events";
47
- import { LookupFunction, Server as NetServer, Socket, TcpSocketConnectOpts } from "node:net";
48
- // incoming headers will never contain number
49
- interface IncomingHttpHeaders extends NodeJS.Dict<string | string[]> {
50
- accept?: string | undefined;
51
- "accept-encoding"?: string | undefined;
52
- "accept-language"?: string | undefined;
53
- "accept-patch"?: string | undefined;
54
- "accept-ranges"?: string | undefined;
55
- "access-control-allow-credentials"?: string | undefined;
56
- "access-control-allow-headers"?: string | undefined;
57
- "access-control-allow-methods"?: string | undefined;
58
- "access-control-allow-origin"?: string | undefined;
59
- "access-control-expose-headers"?: string | undefined;
60
- "access-control-max-age"?: string | undefined;
61
- "access-control-request-headers"?: string | undefined;
62
- "access-control-request-method"?: string | undefined;
63
- age?: string | undefined;
64
- allow?: string | undefined;
65
- "alt-svc"?: string | undefined;
66
- authorization?: string | undefined;
67
- "cache-control"?: string | undefined;
68
- connection?: string | undefined;
69
- "content-disposition"?: string | undefined;
70
- "content-encoding"?: string | undefined;
71
- "content-language"?: string | undefined;
72
- "content-length"?: string | undefined;
73
- "content-location"?: string | undefined;
74
- "content-range"?: string | undefined;
75
- "content-type"?: string | undefined;
76
- cookie?: string | undefined;
77
- date?: string | undefined;
78
- etag?: string | undefined;
79
- expect?: string | undefined;
80
- expires?: string | undefined;
81
- forwarded?: string | undefined;
82
- from?: string | undefined;
83
- host?: string | undefined;
84
- "if-match"?: string | undefined;
85
- "if-modified-since"?: string | undefined;
86
- "if-none-match"?: string | undefined;
87
- "if-unmodified-since"?: string | undefined;
88
- "last-modified"?: string | undefined;
89
- location?: string | undefined;
90
- origin?: string | undefined;
91
- pragma?: string | undefined;
92
- "proxy-authenticate"?: string | undefined;
93
- "proxy-authorization"?: string | undefined;
94
- "public-key-pins"?: string | undefined;
95
- range?: string | undefined;
96
- referer?: string | undefined;
97
- "retry-after"?: string | undefined;
98
- "sec-fetch-site"?: string | undefined;
99
- "sec-fetch-mode"?: string | undefined;
100
- "sec-fetch-user"?: string | undefined;
101
- "sec-fetch-dest"?: string | undefined;
102
- "sec-websocket-accept"?: string | undefined;
103
- "sec-websocket-extensions"?: string | undefined;
104
- "sec-websocket-key"?: string | undefined;
105
- "sec-websocket-protocol"?: string | undefined;
106
- "sec-websocket-version"?: string | undefined;
107
- "set-cookie"?: string[] | undefined;
108
- "strict-transport-security"?: string | undefined;
109
- tk?: string | undefined;
110
- trailer?: string | undefined;
111
- "transfer-encoding"?: string | undefined;
112
- upgrade?: string | undefined;
113
- "user-agent"?: string | undefined;
114
- vary?: string | undefined;
115
- via?: string | undefined;
116
- warning?: string | undefined;
117
- "www-authenticate"?: string | undefined;
118
- }
119
- // outgoing headers allows numbers (as they are converted internally to strings)
120
- type OutgoingHttpHeader = number | string | string[];
121
- interface OutgoingHttpHeaders extends NodeJS.Dict<OutgoingHttpHeader> {
122
- accept?: string | string[] | undefined;
123
- "accept-charset"?: string | string[] | undefined;
124
- "accept-encoding"?: string | string[] | undefined;
125
- "accept-language"?: string | string[] | undefined;
126
- "accept-ranges"?: string | undefined;
127
- "access-control-allow-credentials"?: string | undefined;
128
- "access-control-allow-headers"?: string | undefined;
129
- "access-control-allow-methods"?: string | undefined;
130
- "access-control-allow-origin"?: string | undefined;
131
- "access-control-expose-headers"?: string | undefined;
132
- "access-control-max-age"?: string | undefined;
133
- "access-control-request-headers"?: string | undefined;
134
- "access-control-request-method"?: string | undefined;
135
- age?: string | undefined;
136
- allow?: string | undefined;
137
- authorization?: string | undefined;
138
- "cache-control"?: string | undefined;
139
- "cdn-cache-control"?: string | undefined;
140
- connection?: string | string[] | undefined;
141
- "content-disposition"?: string | undefined;
142
- "content-encoding"?: string | undefined;
143
- "content-language"?: string | undefined;
144
- "content-length"?: string | number | undefined;
145
- "content-location"?: string | undefined;
146
- "content-range"?: string | undefined;
147
- "content-security-policy"?: string | undefined;
148
- "content-security-policy-report-only"?: string | undefined;
149
- cookie?: string | string[] | undefined;
150
- dav?: string | string[] | undefined;
151
- dnt?: string | undefined;
152
- date?: string | undefined;
153
- etag?: string | undefined;
154
- expect?: string | undefined;
155
- expires?: string | undefined;
156
- forwarded?: string | undefined;
157
- from?: string | undefined;
158
- host?: string | undefined;
159
- "if-match"?: string | undefined;
160
- "if-modified-since"?: string | undefined;
161
- "if-none-match"?: string | undefined;
162
- "if-range"?: string | undefined;
163
- "if-unmodified-since"?: string | undefined;
164
- "last-modified"?: string | undefined;
165
- link?: string | string[] | undefined;
166
- location?: string | undefined;
167
- "max-forwards"?: string | undefined;
168
- origin?: string | undefined;
169
- pragma?: string | string[] | undefined;
170
- "proxy-authenticate"?: string | string[] | undefined;
171
- "proxy-authorization"?: string | undefined;
172
- "public-key-pins"?: string | undefined;
173
- "public-key-pins-report-only"?: string | undefined;
174
- range?: string | undefined;
175
- referer?: string | undefined;
176
- "referrer-policy"?: string | undefined;
177
- refresh?: string | undefined;
178
- "retry-after"?: string | undefined;
179
- "sec-websocket-accept"?: string | undefined;
180
- "sec-websocket-extensions"?: string | string[] | undefined;
181
- "sec-websocket-key"?: string | undefined;
182
- "sec-websocket-protocol"?: string | string[] | undefined;
183
- "sec-websocket-version"?: string | undefined;
184
- server?: string | undefined;
185
- "set-cookie"?: string | string[] | undefined;
186
- "strict-transport-security"?: string | undefined;
187
- te?: string | undefined;
188
- trailer?: string | undefined;
189
- "transfer-encoding"?: string | undefined;
190
- "user-agent"?: string | undefined;
191
- upgrade?: string | undefined;
192
- "upgrade-insecure-requests"?: string | undefined;
193
- vary?: string | undefined;
194
- via?: string | string[] | undefined;
195
- warning?: string | undefined;
196
- "www-authenticate"?: string | string[] | undefined;
197
- "x-content-type-options"?: string | undefined;
198
- "x-dns-prefetch-control"?: string | undefined;
199
- "x-frame-options"?: string | undefined;
200
- "x-xss-protection"?: string | undefined;
201
- }
202
- interface ClientRequestArgs {
203
- _defaultAgent?: Agent | undefined;
204
- agent?: Agent | boolean | undefined;
205
- auth?: string | null | undefined;
206
- createConnection?:
207
- | ((
208
- options: ClientRequestArgs,
209
- oncreate: (err: Error | null, socket: stream.Duplex) => void,
210
- ) => stream.Duplex | null | undefined)
211
- | undefined;
212
- defaultPort?: number | string | undefined;
213
- family?: number | undefined;
214
- headers?: OutgoingHttpHeaders | readonly string[] | undefined;
215
- hints?: LookupOptions["hints"];
216
- host?: string | null | undefined;
217
- hostname?: string | null | undefined;
218
- insecureHTTPParser?: boolean | undefined;
219
- localAddress?: string | undefined;
220
- localPort?: number | undefined;
221
- lookup?: LookupFunction | undefined;
222
- /**
223
- * @default 16384
224
- */
225
- maxHeaderSize?: number | undefined;
226
- method?: string | undefined;
227
- path?: string | null | undefined;
228
- port?: number | string | null | undefined;
229
- protocol?: string | null | undefined;
230
- setHost?: boolean | undefined;
231
- signal?: AbortSignal | undefined;
232
- socketPath?: string | undefined;
233
- timeout?: number | undefined;
234
- uniqueHeaders?: Array<string | string[]> | undefined;
235
- joinDuplicateHeaders?: boolean;
236
- }
237
- interface ServerOptions<
238
- Request extends typeof IncomingMessage = typeof IncomingMessage,
239
- Response extends typeof ServerResponse<InstanceType<Request>> = typeof ServerResponse,
240
- > {
241
- /**
242
- * Specifies the `IncomingMessage` class to be used. Useful for extending the original `IncomingMessage`.
243
- */
244
- IncomingMessage?: Request | undefined;
245
- /**
246
- * Specifies the `ServerResponse` class to be used. Useful for extending the original `ServerResponse`.
247
- */
248
- ServerResponse?: Response | undefined;
249
- /**
250
- * Sets the timeout value in milliseconds for receiving the entire request from the client.
251
- * @see Server.requestTimeout for more information.
252
- * @default 300000
253
- * @since v18.0.0
254
- */
255
- requestTimeout?: number | undefined;
256
- /**
257
- * It joins the field line values of multiple headers in a request with `, ` instead of discarding the duplicates.
258
- * @default false
259
- * @since v18.14.0
260
- */
261
- joinDuplicateHeaders?: boolean;
262
- /**
263
- * The number of milliseconds of inactivity a server needs to wait for additional incoming data,
264
- * after it has finished writing the last response, before a socket will be destroyed.
265
- * @see Server.keepAliveTimeout for more information.
266
- * @default 5000
267
- * @since v18.0.0
268
- */
269
- keepAliveTimeout?: number | undefined;
270
- /**
271
- * Sets the interval value in milliseconds to check for request and headers timeout in incomplete requests.
272
- * @default 30000
273
- */
274
- connectionsCheckingInterval?: number | undefined;
275
- /**
276
- * Sets the timeout value in milliseconds for receiving the complete HTTP headers from the client.
277
- * See {@link Server.headersTimeout} for more information.
278
- * @default 60000
279
- * @since 18.0.0
280
- */
281
- headersTimeout?: number | undefined;
282
- /**
283
- * Optionally overrides all `socket`s' `readableHighWaterMark` and `writableHighWaterMark`.
284
- * This affects `highWaterMark` property of both `IncomingMessage` and `ServerResponse`.
285
- * Default: @see stream.getDefaultHighWaterMark().
286
- * @since v20.1.0
287
- */
288
- highWaterMark?: number | undefined;
289
- /**
290
- * Use an insecure HTTP parser that accepts invalid HTTP headers when `true`.
291
- * Using the insecure parser should be avoided.
292
- * See --insecure-http-parser for more information.
293
- * @default false
294
- */
295
- insecureHTTPParser?: boolean | undefined;
296
- /**
297
- * Optionally overrides the value of `--max-http-header-size` for requests received by
298
- * this server, i.e. the maximum length of request headers in bytes.
299
- * @default 16384
300
- * @since v13.3.0
301
- */
302
- maxHeaderSize?: number | undefined;
303
- /**
304
- * If set to `true`, it disables the use of Nagle's algorithm immediately after a new incoming connection is received.
305
- * @default true
306
- * @since v16.5.0
307
- */
308
- noDelay?: boolean | undefined;
309
- /**
310
- * If set to `true`, it forces the server to respond with a 400 (Bad Request) status code
311
- * to any HTTP/1.1 request message that lacks a Host header (as mandated by the specification).
312
- * @default true
313
- * @since 20.0.0
314
- */
315
- requireHostHeader?: boolean | undefined;
316
- /**
317
- * If set to `true`, it enables keep-alive functionality on the socket immediately after a new incoming connection is received,
318
- * similarly on what is done in `socket.setKeepAlive([enable][, initialDelay])`.
319
- * @default false
320
- * @since v16.5.0
321
- */
322
- keepAlive?: boolean | undefined;
323
- /**
324
- * If set to a positive number, it sets the initial delay before the first keepalive probe is sent on an idle socket.
325
- * @default 0
326
- * @since v16.5.0
327
- */
328
- keepAliveInitialDelay?: number | undefined;
329
- /**
330
- * A list of response headers that should be sent only once.
331
- * If the header's value is an array, the items will be joined using `; `.
332
- */
333
- uniqueHeaders?: Array<string | string[]> | undefined;
334
- /**
335
- * If set to `true`, an error is thrown when writing to an HTTP response which does not have a body.
336
- * @default false
337
- * @since v18.17.0, v20.2.0
338
- */
339
- rejectNonStandardBodyWrites?: boolean | undefined;
340
- }
341
- type RequestListener<
342
- Request extends typeof IncomingMessage = typeof IncomingMessage,
343
- Response extends typeof ServerResponse<InstanceType<Request>> = typeof ServerResponse,
344
- > = (req: InstanceType<Request>, res: InstanceType<Response> & { req: InstanceType<Request> }) => void;
345
- /**
346
- * @since v0.1.17
347
- */
348
- class Server<
349
- Request extends typeof IncomingMessage = typeof IncomingMessage,
350
- Response extends typeof ServerResponse<InstanceType<Request>> = typeof ServerResponse,
351
- > extends NetServer {
352
- constructor(requestListener?: RequestListener<Request, Response>);
353
- constructor(options: ServerOptions<Request, Response>, requestListener?: RequestListener<Request, Response>);
354
- /**
355
- * Sets the timeout value for sockets, and emits a `'timeout'` event on
356
- * the Server object, passing the socket as an argument, if a timeout
357
- * occurs.
358
- *
359
- * If there is a `'timeout'` event listener on the Server object, then it
360
- * will be called with the timed-out socket as an argument.
361
- *
362
- * By default, the Server does not timeout sockets. However, if a callback
363
- * is assigned to the Server's `'timeout'` event, timeouts must be handled
364
- * explicitly.
365
- * @since v0.9.12
366
- * @param [msecs=0 (no timeout)]
367
- */
368
- setTimeout(msecs?: number, callback?: (socket: Socket) => void): this;
369
- setTimeout(callback: (socket: Socket) => void): this;
370
- /**
371
- * Limits maximum incoming headers count. If set to 0, no limit will be applied.
372
- * @since v0.7.0
373
- */
374
- maxHeadersCount: number | null;
375
- /**
376
- * The maximum number of requests socket can handle
377
- * before closing keep alive connection.
378
- *
379
- * A value of `0` will disable the limit.
380
- *
381
- * When the limit is reached it will set the `Connection` header value to `close`,
382
- * but will not actually close the connection, subsequent requests sent
383
- * after the limit is reached will get `503 Service Unavailable` as a response.
384
- * @since v16.10.0
385
- */
386
- maxRequestsPerSocket: number | null;
387
- /**
388
- * The number of milliseconds of inactivity before a socket is presumed
389
- * to have timed out.
390
- *
391
- * A value of `0` will disable the timeout behavior on incoming connections.
392
- *
393
- * The socket timeout logic is set up on connection, so changing this
394
- * value only affects new connections to the server, not any existing connections.
395
- * @since v0.9.12
396
- */
397
- timeout: number;
398
- /**
399
- * Limit the amount of time the parser will wait to receive the complete HTTP
400
- * headers.
401
- *
402
- * If the timeout expires, the server responds with status 408 without
403
- * forwarding the request to the request listener and then closes the connection.
404
- *
405
- * It must be set to a non-zero value (e.g. 120 seconds) to protect against
406
- * potential Denial-of-Service attacks in case the server is deployed without a
407
- * reverse proxy in front.
408
- * @since v11.3.0, v10.14.0
409
- */
410
- headersTimeout: number;
411
- /**
412
- * The number of milliseconds of inactivity a server needs to wait for additional
413
- * incoming data, after it has finished writing the last response, before a socket
414
- * will be destroyed. If the server receives new data before the keep-alive
415
- * timeout has fired, it will reset the regular inactivity timeout, i.e., `server.timeout`.
416
- *
417
- * A value of `0` will disable the keep-alive timeout behavior on incoming
418
- * connections.
419
- * A value of `0` makes the http server behave similarly to Node.js versions prior
420
- * to 8.0.0, which did not have a keep-alive timeout.
421
- *
422
- * The socket timeout logic is set up on connection, so changing this value only
423
- * affects new connections to the server, not any existing connections.
424
- * @since v8.0.0
425
- */
426
- keepAliveTimeout: number;
427
- /**
428
- * Sets the timeout value in milliseconds for receiving the entire request from
429
- * the client.
430
- *
431
- * If the timeout expires, the server responds with status 408 without
432
- * forwarding the request to the request listener and then closes the connection.
433
- *
434
- * It must be set to a non-zero value (e.g. 120 seconds) to protect against
435
- * potential Denial-of-Service attacks in case the server is deployed without a
436
- * reverse proxy in front.
437
- * @since v14.11.0
438
- */
439
- requestTimeout: number;
440
- /**
441
- * Closes all connections connected to this server.
442
- * @since v18.2.0
443
- */
444
- closeAllConnections(): void;
445
- /**
446
- * Closes all connections connected to this server which are not sending a request
447
- * or waiting for a response.
448
- * @since v18.2.0
449
- */
450
- closeIdleConnections(): void;
451
- addListener(event: string, listener: (...args: any[]) => void): this;
452
- addListener(event: "close", listener: () => void): this;
453
- addListener(event: "connection", listener: (socket: Socket) => void): this;
454
- addListener(event: "error", listener: (err: Error) => void): this;
455
- addListener(event: "listening", listener: () => void): this;
456
- addListener(event: "checkContinue", listener: RequestListener<Request, Response>): this;
457
- addListener(event: "checkExpectation", listener: RequestListener<Request, Response>): this;
458
- addListener(event: "clientError", listener: (err: Error, socket: stream.Duplex) => void): this;
459
- addListener(
460
- event: "connect",
461
- listener: (req: InstanceType<Request>, socket: stream.Duplex, head: Buffer) => void,
462
- ): this;
463
- addListener(event: "dropRequest", listener: (req: InstanceType<Request>, socket: stream.Duplex) => void): this;
464
- addListener(event: "request", listener: RequestListener<Request, Response>): this;
465
- addListener(
466
- event: "upgrade",
467
- listener: (req: InstanceType<Request>, socket: stream.Duplex, head: Buffer) => void,
468
- ): this;
469
- emit(event: string, ...args: any[]): boolean;
470
- emit(event: "close"): boolean;
471
- emit(event: "connection", socket: Socket): boolean;
472
- emit(event: "error", err: Error): boolean;
473
- emit(event: "listening"): boolean;
474
- emit(
475
- event: "checkContinue",
476
- req: InstanceType<Request>,
477
- res: InstanceType<Response> & { req: InstanceType<Request> },
478
- ): boolean;
479
- emit(
480
- event: "checkExpectation",
481
- req: InstanceType<Request>,
482
- res: InstanceType<Response> & { req: InstanceType<Request> },
483
- ): boolean;
484
- emit(event: "clientError", err: Error, socket: stream.Duplex): boolean;
485
- emit(event: "connect", req: InstanceType<Request>, socket: stream.Duplex, head: Buffer): boolean;
486
- emit(event: "dropRequest", req: InstanceType<Request>, socket: stream.Duplex): boolean;
487
- emit(
488
- event: "request",
489
- req: InstanceType<Request>,
490
- res: InstanceType<Response> & { req: InstanceType<Request> },
491
- ): boolean;
492
- emit(event: "upgrade", req: InstanceType<Request>, socket: stream.Duplex, head: Buffer): boolean;
493
- on(event: string, listener: (...args: any[]) => void): this;
494
- on(event: "close", listener: () => void): this;
495
- on(event: "connection", listener: (socket: Socket) => void): this;
496
- on(event: "error", listener: (err: Error) => void): this;
497
- on(event: "listening", listener: () => void): this;
498
- on(event: "checkContinue", listener: RequestListener<Request, Response>): this;
499
- on(event: "checkExpectation", listener: RequestListener<Request, Response>): this;
500
- on(event: "clientError", listener: (err: Error, socket: stream.Duplex) => void): this;
501
- on(event: "connect", listener: (req: InstanceType<Request>, socket: stream.Duplex, head: Buffer) => void): this;
502
- on(event: "dropRequest", listener: (req: InstanceType<Request>, socket: stream.Duplex) => void): this;
503
- on(event: "request", listener: RequestListener<Request, Response>): this;
504
- on(event: "upgrade", listener: (req: InstanceType<Request>, socket: stream.Duplex, head: Buffer) => void): this;
505
- once(event: string, listener: (...args: any[]) => void): this;
506
- once(event: "close", listener: () => void): this;
507
- once(event: "connection", listener: (socket: Socket) => void): this;
508
- once(event: "error", listener: (err: Error) => void): this;
509
- once(event: "listening", listener: () => void): this;
510
- once(event: "checkContinue", listener: RequestListener<Request, Response>): this;
511
- once(event: "checkExpectation", listener: RequestListener<Request, Response>): this;
512
- once(event: "clientError", listener: (err: Error, socket: stream.Duplex) => void): this;
513
- once(
514
- event: "connect",
515
- listener: (req: InstanceType<Request>, socket: stream.Duplex, head: Buffer) => void,
516
- ): this;
517
- once(event: "dropRequest", listener: (req: InstanceType<Request>, socket: stream.Duplex) => void): this;
518
- once(event: "request", listener: RequestListener<Request, Response>): this;
519
- once(
520
- event: "upgrade",
521
- listener: (req: InstanceType<Request>, socket: stream.Duplex, head: Buffer) => void,
522
- ): this;
523
- prependListener(event: string, listener: (...args: any[]) => void): this;
524
- prependListener(event: "close", listener: () => void): this;
525
- prependListener(event: "connection", listener: (socket: Socket) => void): this;
526
- prependListener(event: "error", listener: (err: Error) => void): this;
527
- prependListener(event: "listening", listener: () => void): this;
528
- prependListener(event: "checkContinue", listener: RequestListener<Request, Response>): this;
529
- prependListener(event: "checkExpectation", listener: RequestListener<Request, Response>): this;
530
- prependListener(event: "clientError", listener: (err: Error, socket: stream.Duplex) => void): this;
531
- prependListener(
532
- event: "connect",
533
- listener: (req: InstanceType<Request>, socket: stream.Duplex, head: Buffer) => void,
534
- ): this;
535
- prependListener(
536
- event: "dropRequest",
537
- listener: (req: InstanceType<Request>, socket: stream.Duplex) => void,
538
- ): this;
539
- prependListener(event: "request", listener: RequestListener<Request, Response>): this;
540
- prependListener(
541
- event: "upgrade",
542
- listener: (req: InstanceType<Request>, socket: stream.Duplex, head: Buffer) => void,
543
- ): this;
544
- prependOnceListener(event: string, listener: (...args: any[]) => void): this;
545
- prependOnceListener(event: "close", listener: () => void): this;
546
- prependOnceListener(event: "connection", listener: (socket: Socket) => void): this;
547
- prependOnceListener(event: "error", listener: (err: Error) => void): this;
548
- prependOnceListener(event: "listening", listener: () => void): this;
549
- prependOnceListener(event: "checkContinue", listener: RequestListener<Request, Response>): this;
550
- prependOnceListener(event: "checkExpectation", listener: RequestListener<Request, Response>): this;
551
- prependOnceListener(event: "clientError", listener: (err: Error, socket: stream.Duplex) => void): this;
552
- prependOnceListener(
553
- event: "connect",
554
- listener: (req: InstanceType<Request>, socket: stream.Duplex, head: Buffer) => void,
555
- ): this;
556
- prependOnceListener(
557
- event: "dropRequest",
558
- listener: (req: InstanceType<Request>, socket: stream.Duplex) => void,
559
- ): this;
560
- prependOnceListener(event: "request", listener: RequestListener<Request, Response>): this;
561
- prependOnceListener(
562
- event: "upgrade",
563
- listener: (req: InstanceType<Request>, socket: stream.Duplex, head: Buffer) => void,
564
- ): this;
565
- }
566
- /**
567
- * This class serves as the parent class of {@link ClientRequest} and {@link ServerResponse}. It is an abstract outgoing message from
568
- * the perspective of the participants of an HTTP transaction.
569
- * @since v0.1.17
570
- */
571
- class OutgoingMessage<Request extends IncomingMessage = IncomingMessage> extends stream.Writable {
572
- readonly req: Request;
573
- chunkedEncoding: boolean;
574
- shouldKeepAlive: boolean;
575
- useChunkedEncodingByDefault: boolean;
576
- sendDate: boolean;
577
- /**
578
- * @deprecated Use `writableEnded` instead.
579
- */
580
- finished: boolean;
581
- /**
582
- * Read-only. `true` if the headers were sent, otherwise `false`.
583
- * @since v0.9.3
584
- */
585
- readonly headersSent: boolean;
586
- /**
587
- * Alias of `outgoingMessage.socket`.
588
- * @since v0.3.0
589
- * @deprecated Since v15.12.0,v14.17.1 - Use `socket` instead.
590
- */
591
- readonly connection: Socket | null;
592
- /**
593
- * Reference to the underlying socket. Usually, users will not want to access
594
- * this property.
595
- *
596
- * After calling `outgoingMessage.end()`, this property will be nulled.
597
- * @since v0.3.0
598
- */
599
- readonly socket: Socket | null;
600
- constructor();
601
- /**
602
- * Once a socket is associated with the message and is connected, `socket.setTimeout()` will be called with `msecs` as the first parameter.
603
- * @since v0.9.12
604
- * @param callback Optional function to be called when a timeout occurs. Same as binding to the `timeout` event.
605
- */
606
- setTimeout(msecs: number, callback?: () => void): this;
607
- /**
608
- * Sets a single header value. If the header already exists in the to-be-sent
609
- * headers, its value will be replaced. Use an array of strings to send multiple
610
- * headers with the same name.
611
- * @since v0.4.0
612
- * @param name Header name
613
- * @param value Header value
614
- */
615
- setHeader(name: string, value: number | string | readonly string[]): this;
616
- /**
617
- * Sets multiple header values for implicit headers. headers must be an instance of
618
- * `Headers` or `Map`, if a header already exists in the to-be-sent headers, its
619
- * value will be replaced.
620
- *
621
- * ```js
622
- * const headers = new Headers({ foo: 'bar' });
623
- * outgoingMessage.setHeaders(headers);
624
- * ```
625
- *
626
- * or
627
- *
628
- * ```js
629
- * const headers = new Map([['foo', 'bar']]);
630
- * outgoingMessage.setHeaders(headers);
631
- * ```
632
- *
633
- * When headers have been set with `outgoingMessage.setHeaders()`, they will be
634
- * merged with any headers passed to `response.writeHead()`, with the headers passed
635
- * to `response.writeHead()` given precedence.
636
- *
637
- * ```js
638
- * // Returns content-type = text/plain
639
- * const server = http.createServer((req, res) => {
640
- * const headers = new Headers({ 'Content-Type': 'text/html' });
641
- * res.setHeaders(headers);
642
- * res.writeHead(200, { 'Content-Type': 'text/plain' });
643
- * res.end('ok');
644
- * });
645
- * ```
646
- *
647
- * @since v19.6.0, v18.15.0
648
- * @param name Header name
649
- * @param value Header value
650
- */
651
- setHeaders(headers: Headers | Map<string, number | string | readonly string[]>): this;
652
- /**
653
- * Append a single header value to the header object.
654
- *
655
- * If the value is an array, this is equivalent to calling this method multiple
656
- * times.
657
- *
658
- * If there were no previous values for the header, this is equivalent to calling `outgoingMessage.setHeader(name, value)`.
659
- *
660
- * Depending of the value of `options.uniqueHeaders` when the client request or the
661
- * server were created, this will end up in the header being sent multiple times or
662
- * a single time with values joined using `; `.
663
- * @since v18.3.0, v16.17.0
664
- * @param name Header name
665
- * @param value Header value
666
- */
667
- appendHeader(name: string, value: string | readonly string[]): this;
668
- /**
669
- * Gets the value of the HTTP header with the given name. If that header is not
670
- * set, the returned value will be `undefined`.
671
- * @since v0.4.0
672
- * @param name Name of header
673
- */
674
- getHeader(name: string): number | string | string[] | undefined;
675
- /**
676
- * Returns a shallow copy of the current outgoing headers. Since a shallow
677
- * copy is used, array values may be mutated without additional calls to
678
- * various header-related HTTP module methods. The keys of the returned
679
- * object are the header names and the values are the respective header
680
- * values. All header names are lowercase.
681
- *
682
- * The object returned by the `outgoingMessage.getHeaders()` method does
683
- * not prototypically inherit from the JavaScript `Object`. This means that
684
- * typical `Object` methods such as `obj.toString()`, `obj.hasOwnProperty()`,
685
- * and others are not defined and will not work.
686
- *
687
- * ```js
688
- * outgoingMessage.setHeader('Foo', 'bar');
689
- * outgoingMessage.setHeader('Set-Cookie', ['foo=bar', 'bar=baz']);
690
- *
691
- * const headers = outgoingMessage.getHeaders();
692
- * // headers === { foo: 'bar', 'set-cookie': ['foo=bar', 'bar=baz'] }
693
- * ```
694
- * @since v7.7.0
695
- */
696
- getHeaders(): OutgoingHttpHeaders;
697
- /**
698
- * Returns an array containing the unique names of the current outgoing headers.
699
- * All names are lowercase.
700
- * @since v7.7.0
701
- */
702
- getHeaderNames(): string[];
703
- /**
704
- * Returns `true` if the header identified by `name` is currently set in the
705
- * outgoing headers. The header name is case-insensitive.
706
- *
707
- * ```js
708
- * const hasContentType = outgoingMessage.hasHeader('content-type');
709
- * ```
710
- * @since v7.7.0
711
- */
712
- hasHeader(name: string): boolean;
713
- /**
714
- * Removes a header that is queued for implicit sending.
715
- *
716
- * ```js
717
- * outgoingMessage.removeHeader('Content-Encoding');
718
- * ```
719
- * @since v0.4.0
720
- * @param name Header name
721
- */
722
- removeHeader(name: string): void;
723
- /**
724
- * Adds HTTP trailers (headers but at the end of the message) to the message.
725
- *
726
- * Trailers will **only** be emitted if the message is chunked encoded. If not,
727
- * the trailers will be silently discarded.
728
- *
729
- * HTTP requires the `Trailer` header to be sent to emit trailers,
730
- * with a list of header field names in its value, e.g.
731
- *
732
- * ```js
733
- * message.writeHead(200, { 'Content-Type': 'text/plain',
734
- * 'Trailer': 'Content-MD5' });
735
- * message.write(fileData);
736
- * message.addTrailers({ 'Content-MD5': '7895bf4b8828b55ceaf47747b4bca667' });
737
- * message.end();
738
- * ```
739
- *
740
- * Attempting to set a header field name or value that contains invalid characters
741
- * will result in a `TypeError` being thrown.
742
- * @since v0.3.0
743
- */
744
- addTrailers(headers: OutgoingHttpHeaders | ReadonlyArray<[string, string]>): void;
745
- /**
746
- * Flushes the message headers.
747
- *
748
- * For efficiency reason, Node.js normally buffers the message headers
749
- * until `outgoingMessage.end()` is called or the first chunk of message data
750
- * is written. It then tries to pack the headers and data into a single TCP
751
- * packet.
752
- *
753
- * It is usually desired (it saves a TCP round-trip), but not when the first
754
- * data is not sent until possibly much later. `outgoingMessage.flushHeaders()` bypasses the optimization and kickstarts the message.
755
- * @since v1.6.0
756
- */
757
- flushHeaders(): void;
758
- }
759
- /**
760
- * This object is created internally by an HTTP server, not by the user. It is
761
- * passed as the second parameter to the `'request'` event.
762
- * @since v0.1.17
763
- */
764
- class ServerResponse<Request extends IncomingMessage = IncomingMessage> extends OutgoingMessage<Request> {
765
- /**
766
- * When using implicit headers (not calling `response.writeHead()` explicitly),
767
- * this property controls the status code that will be sent to the client when
768
- * the headers get flushed.
769
- *
770
- * ```js
771
- * response.statusCode = 404;
772
- * ```
773
- *
774
- * After response header was sent to the client, this property indicates the
775
- * status code which was sent out.
776
- * @since v0.4.0
777
- */
778
- statusCode: number;
779
- /**
780
- * When using implicit headers (not calling `response.writeHead()` explicitly),
781
- * this property controls the status message that will be sent to the client when
782
- * the headers get flushed. If this is left as `undefined` then the standard
783
- * message for the status code will be used.
784
- *
785
- * ```js
786
- * response.statusMessage = 'Not found';
787
- * ```
788
- *
789
- * After response header was sent to the client, this property indicates the
790
- * status message which was sent out.
791
- * @since v0.11.8
792
- */
793
- statusMessage: string;
794
- /**
795
- * If set to `true`, Node.js will check whether the `Content-Length` header value and the size of the body, in bytes, are equal.
796
- * Mismatching the `Content-Length` header value will result
797
- * in an `Error` being thrown, identified by `code:``'ERR_HTTP_CONTENT_LENGTH_MISMATCH'`.
798
- * @since v18.10.0, v16.18.0
799
- */
800
- strictContentLength: boolean;
801
- constructor(req: Request);
802
- assignSocket(socket: Socket): void;
803
- detachSocket(socket: Socket): void;
804
- /**
805
- * Sends an HTTP/1.1 100 Continue message to the client, indicating that
806
- * the request body should be sent. See the `'checkContinue'` event on `Server`.
807
- * @since v0.3.0
808
- */
809
- writeContinue(callback?: () => void): void;
810
- /**
811
- * Sends an HTTP/1.1 103 Early Hints message to the client with a Link header,
812
- * indicating that the user agent can preload/preconnect the linked resources.
813
- * The `hints` is an object containing the values of headers to be sent with
814
- * early hints message. The optional `callback` argument will be called when
815
- * the response message has been written.
816
- *
817
- * **Example**
818
- *
819
- * ```js
820
- * const earlyHintsLink = '</styles.css>; rel=preload; as=style';
821
- * response.writeEarlyHints({
822
- * 'link': earlyHintsLink,
823
- * });
824
- *
825
- * const earlyHintsLinks = [
826
- * '</styles.css>; rel=preload; as=style',
827
- * '</scripts.js>; rel=preload; as=script',
828
- * ];
829
- * response.writeEarlyHints({
830
- * 'link': earlyHintsLinks,
831
- * 'x-trace-id': 'id for diagnostics',
832
- * });
833
- *
834
- * const earlyHintsCallback = () => console.log('early hints message sent');
835
- * response.writeEarlyHints({
836
- * 'link': earlyHintsLinks,
837
- * }, earlyHintsCallback);
838
- * ```
839
- * @since v18.11.0
840
- * @param hints An object containing the values of headers
841
- * @param callback Will be called when the response message has been written
842
- */
843
- writeEarlyHints(hints: Record<string, string | string[]>, callback?: () => void): void;
844
- /**
845
- * Sends a response header to the request. The status code is a 3-digit HTTP
846
- * status code, like `404`. The last argument, `headers`, are the response headers.
847
- * Optionally one can give a human-readable `statusMessage` as the second
848
- * argument.
849
- *
850
- * `headers` may be an `Array` where the keys and values are in the same list.
851
- * It is _not_ a list of tuples. So, the even-numbered offsets are key values,
852
- * and the odd-numbered offsets are the associated values. The array is in the same
853
- * format as `request.rawHeaders`.
854
- *
855
- * Returns a reference to the `ServerResponse`, so that calls can be chained.
856
- *
857
- * ```js
858
- * const body = 'hello world';
859
- * response
860
- * .writeHead(200, {
861
- * 'Content-Length': Buffer.byteLength(body),
862
- * 'Content-Type': 'text/plain',
863
- * })
864
- * .end(body);
865
- * ```
866
- *
867
- * This method must only be called once on a message and it must
868
- * be called before `response.end()` is called.
869
- *
870
- * If `response.write()` or `response.end()` are called before calling
871
- * this, the implicit/mutable headers will be calculated and call this function.
872
- *
873
- * When headers have been set with `response.setHeader()`, they will be merged
874
- * with any headers passed to `response.writeHead()`, with the headers passed
875
- * to `response.writeHead()` given precedence.
876
- *
877
- * If this method is called and `response.setHeader()` has not been called,
878
- * it will directly write the supplied header values onto the network channel
879
- * without caching internally, and the `response.getHeader()` on the header
880
- * will not yield the expected result. If progressive population of headers is
881
- * desired with potential future retrieval and modification, use `response.setHeader()` instead.
882
- *
883
- * ```js
884
- * // Returns content-type = text/plain
885
- * const server = http.createServer((req, res) => {
886
- * res.setHeader('Content-Type', 'text/html');
887
- * res.setHeader('X-Foo', 'bar');
888
- * res.writeHead(200, { 'Content-Type': 'text/plain' });
889
- * res.end('ok');
890
- * });
891
- * ```
892
- *
893
- * `Content-Length` is read in bytes, not characters. Use `Buffer.byteLength()` to determine the length of the body in bytes. Node.js
894
- * will check whether `Content-Length` and the length of the body which has
895
- * been transmitted are equal or not.
896
- *
897
- * Attempting to set a header field name or value that contains invalid characters
898
- * will result in a \[`Error`\]\[\] being thrown.
899
- * @since v0.1.30
900
- */
901
- writeHead(
902
- statusCode: number,
903
- statusMessage?: string,
904
- headers?: OutgoingHttpHeaders | OutgoingHttpHeader[],
905
- ): this;
906
- writeHead(statusCode: number, headers?: OutgoingHttpHeaders | OutgoingHttpHeader[]): this;
907
- /**
908
- * Sends a HTTP/1.1 102 Processing message to the client, indicating that
909
- * the request body should be sent.
910
- * @since v10.0.0
911
- */
912
- writeProcessing(callback?: () => void): void;
913
- }
914
- interface InformationEvent {
915
- statusCode: number;
916
- statusMessage: string;
917
- httpVersion: string;
918
- httpVersionMajor: number;
919
- httpVersionMinor: number;
920
- headers: IncomingHttpHeaders;
921
- rawHeaders: string[];
922
- }
923
- /**
924
- * This object is created internally and returned from {@link request}. It
925
- * represents an _in-progress_ request whose header has already been queued. The
926
- * header is still mutable using the `setHeader(name, value)`, `getHeader(name)`, `removeHeader(name)` API. The actual header will
927
- * be sent along with the first data chunk or when calling `request.end()`.
928
- *
929
- * To get the response, add a listener for `'response'` to the request object. `'response'` will be emitted from the request object when the response
930
- * headers have been received. The `'response'` event is executed with one
931
- * argument which is an instance of {@link IncomingMessage}.
932
- *
933
- * During the `'response'` event, one can add listeners to the
934
- * response object; particularly to listen for the `'data'` event.
935
- *
936
- * If no `'response'` handler is added, then the response will be
937
- * entirely discarded. However, if a `'response'` event handler is added,
938
- * then the data from the response object **must** be consumed, either by
939
- * calling `response.read()` whenever there is a `'readable'` event, or
940
- * by adding a `'data'` handler, or by calling the `.resume()` method.
941
- * Until the data is consumed, the `'end'` event will not fire. Also, until
942
- * the data is read it will consume memory that can eventually lead to a
943
- * 'process out of memory' error.
944
- *
945
- * For backward compatibility, `res` will only emit `'error'` if there is an `'error'` listener registered.
946
- *
947
- * Set `Content-Length` header to limit the response body size.
948
- * If `response.strictContentLength` is set to `true`, mismatching the `Content-Length` header value will result in an `Error` being thrown,
949
- * identified by `code:``'ERR_HTTP_CONTENT_LENGTH_MISMATCH'`.
950
- *
951
- * `Content-Length` value should be in bytes, not characters. Use `Buffer.byteLength()` to determine the length of the body in bytes.
952
- * @since v0.1.17
953
- */
954
- class ClientRequest extends OutgoingMessage {
955
- /**
956
- * The `request.aborted` property will be `true` if the request has
957
- * been aborted.
958
- * @since v0.11.14
959
- * @deprecated Since v17.0.0, v16.12.0 - Check `destroyed` instead.
960
- */
961
- aborted: boolean;
962
- /**
963
- * The request host.
964
- * @since v14.5.0, v12.19.0
965
- */
966
- host: string;
967
- /**
968
- * The request protocol.
969
- * @since v14.5.0, v12.19.0
970
- */
971
- protocol: string;
972
- /**
973
- * When sending request through a keep-alive enabled agent, the underlying socket
974
- * might be reused. But if server closes connection at unfortunate time, client
975
- * may run into a 'ECONNRESET' error.
976
- *
977
- * ```js
978
- * import http from 'node:http';
979
- *
980
- * // Server has a 5 seconds keep-alive timeout by default
981
- * http
982
- * .createServer((req, res) => {
983
- * res.write('hello\n');
984
- * res.end();
985
- * })
986
- * .listen(3000);
987
- *
988
- * setInterval(() => {
989
- * // Adapting a keep-alive agent
990
- * http.get('http://localhost:3000', { agent }, (res) => {
991
- * res.on('data', (data) => {
992
- * // Do nothing
993
- * });
994
- * });
995
- * }, 5000); // Sending request on 5s interval so it's easy to hit idle timeout
996
- * ```
997
- *
998
- * By marking a request whether it reused socket or not, we can do
999
- * automatic error retry base on it.
1000
- *
1001
- * ```js
1002
- * import http from 'node:http';
1003
- * const agent = new http.Agent({ keepAlive: true });
1004
- *
1005
- * function retriableRequest() {
1006
- * const req = http
1007
- * .get('http://localhost:3000', { agent }, (res) => {
1008
- * // ...
1009
- * })
1010
- * .on('error', (err) => {
1011
- * // Check if retry is needed
1012
- * if (req.reusedSocket &#x26;&#x26; err.code === 'ECONNRESET') {
1013
- * retriableRequest();
1014
- * }
1015
- * });
1016
- * }
1017
- *
1018
- * retriableRequest();
1019
- * ```
1020
- * @since v13.0.0, v12.16.0
1021
- */
1022
- reusedSocket: boolean;
1023
- /**
1024
- * Limits maximum response headers count. If set to 0, no limit will be applied.
1025
- */
1026
- maxHeadersCount: number;
1027
- constructor(url: string | URL | ClientRequestArgs, cb?: (res: IncomingMessage) => void);
1028
- /**
1029
- * The request method.
1030
- * @since v0.1.97
1031
- */
1032
- method: string;
1033
- /**
1034
- * The request path.
1035
- * @since v0.4.0
1036
- */
1037
- path: string;
1038
- /**
1039
- * Marks the request as aborting. Calling this will cause remaining data
1040
- * in the response to be dropped and the socket to be destroyed.
1041
- * @since v0.3.8
1042
- * @deprecated Since v14.1.0,v13.14.0 - Use `destroy` instead.
1043
- */
1044
- abort(): void;
1045
- onSocket(socket: Socket): void;
1046
- /**
1047
- * Once a socket is assigned to this request and is connected `socket.setTimeout()` will be called.
1048
- * @since v0.5.9
1049
- * @param timeout Milliseconds before a request times out.
1050
- * @param callback Optional function to be called when a timeout occurs. Same as binding to the `'timeout'` event.
1051
- */
1052
- setTimeout(timeout: number, callback?: () => void): this;
1053
- /**
1054
- * Once a socket is assigned to this request and is connected `socket.setNoDelay()` will be called.
1055
- * @since v0.5.9
1056
- */
1057
- setNoDelay(noDelay?: boolean): void;
1058
- /**
1059
- * Once a socket is assigned to this request and is connected `socket.setKeepAlive()` will be called.
1060
- * @since v0.5.9
1061
- */
1062
- setSocketKeepAlive(enable?: boolean, initialDelay?: number): void;
1063
- /**
1064
- * Returns an array containing the unique names of the current outgoing raw
1065
- * headers. Header names are returned with their exact casing being set.
1066
- *
1067
- * ```js
1068
- * request.setHeader('Foo', 'bar');
1069
- * request.setHeader('Set-Cookie', ['foo=bar', 'bar=baz']);
1070
- *
1071
- * const headerNames = request.getRawHeaderNames();
1072
- * // headerNames === ['Foo', 'Set-Cookie']
1073
- * ```
1074
- * @since v15.13.0, v14.17.0
1075
- */
1076
- getRawHeaderNames(): string[];
1077
- /**
1078
- * @deprecated
1079
- */
1080
- addListener(event: "abort", listener: () => void): this;
1081
- addListener(
1082
- event: "connect",
1083
- listener: (response: IncomingMessage, socket: Socket, head: Buffer) => void,
1084
- ): this;
1085
- addListener(event: "continue", listener: () => void): this;
1086
- addListener(event: "information", listener: (info: InformationEvent) => void): this;
1087
- addListener(event: "response", listener: (response: IncomingMessage) => void): this;
1088
- addListener(event: "socket", listener: (socket: Socket) => void): this;
1089
- addListener(event: "timeout", listener: () => void): this;
1090
- addListener(
1091
- event: "upgrade",
1092
- listener: (response: IncomingMessage, socket: Socket, head: Buffer) => void,
1093
- ): this;
1094
- addListener(event: "close", listener: () => void): this;
1095
- addListener(event: "drain", listener: () => void): this;
1096
- addListener(event: "error", listener: (err: Error) => void): this;
1097
- addListener(event: "finish", listener: () => void): this;
1098
- addListener(event: "pipe", listener: (src: stream.Readable) => void): this;
1099
- addListener(event: "unpipe", listener: (src: stream.Readable) => void): this;
1100
- addListener(event: string | symbol, listener: (...args: any[]) => void): this;
1101
- /**
1102
- * @deprecated
1103
- */
1104
- on(event: "abort", listener: () => void): this;
1105
- on(event: "connect", listener: (response: IncomingMessage, socket: Socket, head: Buffer) => void): this;
1106
- on(event: "continue", listener: () => void): this;
1107
- on(event: "information", listener: (info: InformationEvent) => void): this;
1108
- on(event: "response", listener: (response: IncomingMessage) => void): this;
1109
- on(event: "socket", listener: (socket: Socket) => void): this;
1110
- on(event: "timeout", listener: () => void): this;
1111
- on(event: "upgrade", listener: (response: IncomingMessage, socket: Socket, head: Buffer) => void): this;
1112
- on(event: "close", listener: () => void): this;
1113
- on(event: "drain", listener: () => void): this;
1114
- on(event: "error", listener: (err: Error) => void): this;
1115
- on(event: "finish", listener: () => void): this;
1116
- on(event: "pipe", listener: (src: stream.Readable) => void): this;
1117
- on(event: "unpipe", listener: (src: stream.Readable) => void): this;
1118
- on(event: string | symbol, listener: (...args: any[]) => void): this;
1119
- /**
1120
- * @deprecated
1121
- */
1122
- once(event: "abort", listener: () => void): this;
1123
- once(event: "connect", listener: (response: IncomingMessage, socket: Socket, head: Buffer) => void): this;
1124
- once(event: "continue", listener: () => void): this;
1125
- once(event: "information", listener: (info: InformationEvent) => void): this;
1126
- once(event: "response", listener: (response: IncomingMessage) => void): this;
1127
- once(event: "socket", listener: (socket: Socket) => void): this;
1128
- once(event: "timeout", listener: () => void): this;
1129
- once(event: "upgrade", listener: (response: IncomingMessage, socket: Socket, head: Buffer) => void): this;
1130
- once(event: "close", listener: () => void): this;
1131
- once(event: "drain", listener: () => void): this;
1132
- once(event: "error", listener: (err: Error) => void): this;
1133
- once(event: "finish", listener: () => void): this;
1134
- once(event: "pipe", listener: (src: stream.Readable) => void): this;
1135
- once(event: "unpipe", listener: (src: stream.Readable) => void): this;
1136
- once(event: string | symbol, listener: (...args: any[]) => void): this;
1137
- /**
1138
- * @deprecated
1139
- */
1140
- prependListener(event: "abort", listener: () => void): this;
1141
- prependListener(
1142
- event: "connect",
1143
- listener: (response: IncomingMessage, socket: Socket, head: Buffer) => void,
1144
- ): this;
1145
- prependListener(event: "continue", listener: () => void): this;
1146
- prependListener(event: "information", listener: (info: InformationEvent) => void): this;
1147
- prependListener(event: "response", listener: (response: IncomingMessage) => void): this;
1148
- prependListener(event: "socket", listener: (socket: Socket) => void): this;
1149
- prependListener(event: "timeout", listener: () => void): this;
1150
- prependListener(
1151
- event: "upgrade",
1152
- listener: (response: IncomingMessage, socket: Socket, head: Buffer) => void,
1153
- ): this;
1154
- prependListener(event: "close", listener: () => void): this;
1155
- prependListener(event: "drain", listener: () => void): this;
1156
- prependListener(event: "error", listener: (err: Error) => void): this;
1157
- prependListener(event: "finish", listener: () => void): this;
1158
- prependListener(event: "pipe", listener: (src: stream.Readable) => void): this;
1159
- prependListener(event: "unpipe", listener: (src: stream.Readable) => void): this;
1160
- prependListener(event: string | symbol, listener: (...args: any[]) => void): this;
1161
- /**
1162
- * @deprecated
1163
- */
1164
- prependOnceListener(event: "abort", listener: () => void): this;
1165
- prependOnceListener(
1166
- event: "connect",
1167
- listener: (response: IncomingMessage, socket: Socket, head: Buffer) => void,
1168
- ): this;
1169
- prependOnceListener(event: "continue", listener: () => void): this;
1170
- prependOnceListener(event: "information", listener: (info: InformationEvent) => void): this;
1171
- prependOnceListener(event: "response", listener: (response: IncomingMessage) => void): this;
1172
- prependOnceListener(event: "socket", listener: (socket: Socket) => void): this;
1173
- prependOnceListener(event: "timeout", listener: () => void): this;
1174
- prependOnceListener(
1175
- event: "upgrade",
1176
- listener: (response: IncomingMessage, socket: Socket, head: Buffer) => void,
1177
- ): this;
1178
- prependOnceListener(event: "close", listener: () => void): this;
1179
- prependOnceListener(event: "drain", listener: () => void): this;
1180
- prependOnceListener(event: "error", listener: (err: Error) => void): this;
1181
- prependOnceListener(event: "finish", listener: () => void): this;
1182
- prependOnceListener(event: "pipe", listener: (src: stream.Readable) => void): this;
1183
- prependOnceListener(event: "unpipe", listener: (src: stream.Readable) => void): this;
1184
- prependOnceListener(event: string | symbol, listener: (...args: any[]) => void): this;
1185
- }
1186
- /**
1187
- * An `IncomingMessage` object is created by {@link Server} or {@link ClientRequest} and passed as the first argument to the `'request'` and `'response'` event respectively. It may be used to
1188
- * access response
1189
- * status, headers, and data.
1190
- *
1191
- * Different from its `socket` value which is a subclass of `stream.Duplex`, the `IncomingMessage` itself extends `stream.Readable` and is created separately to
1192
- * parse and emit the incoming HTTP headers and payload, as the underlying socket
1193
- * may be reused multiple times in case of keep-alive.
1194
- * @since v0.1.17
1195
- */
1196
- class IncomingMessage extends stream.Readable {
1197
- constructor(socket: Socket);
1198
- /**
1199
- * The `message.aborted` property will be `true` if the request has
1200
- * been aborted.
1201
- * @since v10.1.0
1202
- * @deprecated Since v17.0.0,v16.12.0 - Check `message.destroyed` from <a href="stream.html#class-streamreadable" class="type">stream.Readable</a>.
1203
- */
1204
- aborted: boolean;
1205
- /**
1206
- * In case of server request, the HTTP version sent by the client. In the case of
1207
- * client response, the HTTP version of the connected-to server.
1208
- * Probably either `'1.1'` or `'1.0'`.
1209
- *
1210
- * Also `message.httpVersionMajor` is the first integer and `message.httpVersionMinor` is the second.
1211
- * @since v0.1.1
1212
- */
1213
- httpVersion: string;
1214
- httpVersionMajor: number;
1215
- httpVersionMinor: number;
1216
- /**
1217
- * The `message.complete` property will be `true` if a complete HTTP message has
1218
- * been received and successfully parsed.
1219
- *
1220
- * This property is particularly useful as a means of determining if a client or
1221
- * server fully transmitted a message before a connection was terminated:
1222
- *
1223
- * ```js
1224
- * const req = http.request({
1225
- * host: '127.0.0.1',
1226
- * port: 8080,
1227
- * method: 'POST',
1228
- * }, (res) => {
1229
- * res.resume();
1230
- * res.on('end', () => {
1231
- * if (!res.complete)
1232
- * console.error(
1233
- * 'The connection was terminated while the message was still being sent');
1234
- * });
1235
- * });
1236
- * ```
1237
- * @since v0.3.0
1238
- */
1239
- complete: boolean;
1240
- /**
1241
- * Alias for `message.socket`.
1242
- * @since v0.1.90
1243
- * @deprecated Since v16.0.0 - Use `socket`.
1244
- */
1245
- connection: Socket;
1246
- /**
1247
- * The `net.Socket` object associated with the connection.
1248
- *
1249
- * With HTTPS support, use `request.socket.getPeerCertificate()` to obtain the
1250
- * client's authentication details.
1251
- *
1252
- * This property is guaranteed to be an instance of the `net.Socket` class,
1253
- * a subclass of `stream.Duplex`, unless the user specified a socket
1254
- * type other than `net.Socket` or internally nulled.
1255
- * @since v0.3.0
1256
- */
1257
- socket: Socket;
1258
- /**
1259
- * The request/response headers object.
1260
- *
1261
- * Key-value pairs of header names and values. Header names are lower-cased.
1262
- *
1263
- * ```js
1264
- * // Prints something like:
1265
- * //
1266
- * // { 'user-agent': 'curl/7.22.0',
1267
- * // host: '127.0.0.1:8000',
1268
- * // accept: '*' }
1269
- * console.log(request.headers);
1270
- * ```
1271
- *
1272
- * Duplicates in raw headers are handled in the following ways, depending on the
1273
- * header name:
1274
- *
1275
- * * Duplicates of `age`, `authorization`, `content-length`, `content-type`, `etag`, `expires`, `from`, `host`, `if-modified-since`, `if-unmodified-since`, `last-modified`, `location`,
1276
- * `max-forwards`, `proxy-authorization`, `referer`, `retry-after`, `server`, or `user-agent` are discarded.
1277
- * To allow duplicate values of the headers listed above to be joined,
1278
- * use the option `joinDuplicateHeaders` in {@link request} and {@link createServer}. See RFC 9110 Section 5.3 for more
1279
- * information.
1280
- * * `set-cookie` is always an array. Duplicates are added to the array.
1281
- * * For duplicate `cookie` headers, the values are joined together with `; `.
1282
- * * For all other headers, the values are joined together with `, `.
1283
- * @since v0.1.5
1284
- */
1285
- headers: IncomingHttpHeaders;
1286
- /**
1287
- * Similar to `message.headers`, but there is no join logic and the values are
1288
- * always arrays of strings, even for headers received just once.
1289
- *
1290
- * ```js
1291
- * // Prints something like:
1292
- * //
1293
- * // { 'user-agent': ['curl/7.22.0'],
1294
- * // host: ['127.0.0.1:8000'],
1295
- * // accept: ['*'] }
1296
- * console.log(request.headersDistinct);
1297
- * ```
1298
- * @since v18.3.0, v16.17.0
1299
- */
1300
- headersDistinct: NodeJS.Dict<string[]>;
1301
- /**
1302
- * The raw request/response headers list exactly as they were received.
1303
- *
1304
- * The keys and values are in the same list. It is _not_ a
1305
- * list of tuples. So, the even-numbered offsets are key values, and the
1306
- * odd-numbered offsets are the associated values.
1307
- *
1308
- * Header names are not lowercased, and duplicates are not merged.
1309
- *
1310
- * ```js
1311
- * // Prints something like:
1312
- * //
1313
- * // [ 'user-agent',
1314
- * // 'this is invalid because there can be only one',
1315
- * // 'User-Agent',
1316
- * // 'curl/7.22.0',
1317
- * // 'Host',
1318
- * // '127.0.0.1:8000',
1319
- * // 'ACCEPT',
1320
- * // '*' ]
1321
- * console.log(request.rawHeaders);
1322
- * ```
1323
- * @since v0.11.6
1324
- */
1325
- rawHeaders: string[];
1326
- /**
1327
- * The request/response trailers object. Only populated at the `'end'` event.
1328
- * @since v0.3.0
1329
- */
1330
- trailers: NodeJS.Dict<string>;
1331
- /**
1332
- * Similar to `message.trailers`, but there is no join logic and the values are
1333
- * always arrays of strings, even for headers received just once.
1334
- * Only populated at the `'end'` event.
1335
- * @since v18.3.0, v16.17.0
1336
- */
1337
- trailersDistinct: NodeJS.Dict<string[]>;
1338
- /**
1339
- * The raw request/response trailer keys and values exactly as they were
1340
- * received. Only populated at the `'end'` event.
1341
- * @since v0.11.6
1342
- */
1343
- rawTrailers: string[];
1344
- /**
1345
- * Calls `message.socket.setTimeout(msecs, callback)`.
1346
- * @since v0.5.9
1347
- */
1348
- setTimeout(msecs: number, callback?: () => void): this;
1349
- /**
1350
- * **Only valid for request obtained from {@link Server}.**
1351
- *
1352
- * The request method as a string. Read only. Examples: `'GET'`, `'DELETE'`.
1353
- * @since v0.1.1
1354
- */
1355
- method?: string | undefined;
1356
- /**
1357
- * **Only valid for request obtained from {@link Server}.**
1358
- *
1359
- * Request URL string. This contains only the URL that is present in the actual
1360
- * HTTP request. Take the following request:
1361
- *
1362
- * ```http
1363
- * GET /status?name=ryan HTTP/1.1
1364
- * Accept: text/plain
1365
- * ```
1366
- *
1367
- * To parse the URL into its parts:
1368
- *
1369
- * ```js
1370
- * new URL(`http://${process.env.HOST ?? 'localhost'}${request.url}`);
1371
- * ```
1372
- *
1373
- * When `request.url` is `'/status?name=ryan'` and `process.env.HOST` is undefined:
1374
- *
1375
- * ```console
1376
- * $ node
1377
- * > new URL(`http://${process.env.HOST ?? 'localhost'}${request.url}`);
1378
- * URL {
1379
- * href: 'http://localhost/status?name=ryan',
1380
- * origin: 'http://localhost',
1381
- * protocol: 'http:',
1382
- * username: '',
1383
- * password: '',
1384
- * host: 'localhost',
1385
- * hostname: 'localhost',
1386
- * port: '',
1387
- * pathname: '/status',
1388
- * search: '?name=ryan',
1389
- * searchParams: URLSearchParams { 'name' => 'ryan' },
1390
- * hash: ''
1391
- * }
1392
- * ```
1393
- *
1394
- * Ensure that you set `process.env.HOST` to the server's host name, or consider replacing this part entirely. If using `req.headers.host`, ensure proper
1395
- * validation is used, as clients may specify a custom `Host` header.
1396
- * @since v0.1.90
1397
- */
1398
- url?: string | undefined;
1399
- /**
1400
- * **Only valid for response obtained from {@link ClientRequest}.**
1401
- *
1402
- * The 3-digit HTTP response status code. E.G. `404`.
1403
- * @since v0.1.1
1404
- */
1405
- statusCode?: number | undefined;
1406
- /**
1407
- * **Only valid for response obtained from {@link ClientRequest}.**
1408
- *
1409
- * The HTTP response status message (reason phrase). E.G. `OK` or `Internal Server Error`.
1410
- * @since v0.11.10
1411
- */
1412
- statusMessage?: string | undefined;
1413
- /**
1414
- * Calls `destroy()` on the socket that received the `IncomingMessage`. If `error` is provided, an `'error'` event is emitted on the socket and `error` is passed
1415
- * as an argument to any listeners on the event.
1416
- * @since v0.3.0
1417
- */
1418
- destroy(error?: Error): this;
1419
- }
1420
- interface AgentOptions extends Partial<TcpSocketConnectOpts> {
1421
- /**
1422
- * Keep sockets around in a pool to be used by other requests in the future. Default = false
1423
- */
1424
- keepAlive?: boolean | undefined;
1425
- /**
1426
- * When using HTTP KeepAlive, how often to send TCP KeepAlive packets over sockets being kept alive. Default = 1000.
1427
- * Only relevant if keepAlive is set to true.
1428
- */
1429
- keepAliveMsecs?: number | undefined;
1430
- /**
1431
- * Maximum number of sockets to allow per host. Default for Node 0.10 is 5, default for Node 0.12 is Infinity
1432
- */
1433
- maxSockets?: number | undefined;
1434
- /**
1435
- * Maximum number of sockets allowed for all hosts in total. Each request will use a new socket until the maximum is reached. Default: Infinity.
1436
- */
1437
- maxTotalSockets?: number | undefined;
1438
- /**
1439
- * Maximum number of sockets to leave open in a free state. Only relevant if keepAlive is set to true. Default = 256.
1440
- */
1441
- maxFreeSockets?: number | undefined;
1442
- /**
1443
- * Socket timeout in milliseconds. This will set the timeout after the socket is connected.
1444
- */
1445
- timeout?: number | undefined;
1446
- /**
1447
- * Scheduling strategy to apply when picking the next free socket to use.
1448
- * @default `lifo`
1449
- */
1450
- scheduling?: "fifo" | "lifo" | undefined;
1451
- }
1452
- /**
1453
- * An `Agent` is responsible for managing connection persistence
1454
- * and reuse for HTTP clients. It maintains a queue of pending requests
1455
- * for a given host and port, reusing a single socket connection for each
1456
- * until the queue is empty, at which time the socket is either destroyed
1457
- * or put into a pool where it is kept to be used again for requests to the
1458
- * same host and port. Whether it is destroyed or pooled depends on the `keepAlive` `option`.
1459
- *
1460
- * Pooled connections have TCP Keep-Alive enabled for them, but servers may
1461
- * still close idle connections, in which case they will be removed from the
1462
- * pool and a new connection will be made when a new HTTP request is made for
1463
- * that host and port. Servers may also refuse to allow multiple requests
1464
- * over the same connection, in which case the connection will have to be
1465
- * remade for every request and cannot be pooled. The `Agent` will still make
1466
- * the requests to that server, but each one will occur over a new connection.
1467
- *
1468
- * When a connection is closed by the client or the server, it is removed
1469
- * from the pool. Any unused sockets in the pool will be unrefed so as not
1470
- * to keep the Node.js process running when there are no outstanding requests.
1471
- * (see `socket.unref()`).
1472
- *
1473
- * It is good practice, to `destroy()` an `Agent` instance when it is no
1474
- * longer in use, because unused sockets consume OS resources.
1475
- *
1476
- * Sockets are removed from an agent when the socket emits either
1477
- * a `'close'` event or an `'agentRemove'` event. When intending to keep one
1478
- * HTTP request open for a long time without keeping it in the agent, something
1479
- * like the following may be done:
1480
- *
1481
- * ```js
1482
- * http.get(options, (res) => {
1483
- * // Do stuff
1484
- * }).on('socket', (socket) => {
1485
- * socket.emit('agentRemove');
1486
- * });
1487
- * ```
1488
- *
1489
- * An agent may also be used for an individual request. By providing `{agent: false}` as an option to the `http.get()` or `http.request()` functions, a one-time use `Agent` with default options
1490
- * will be used
1491
- * for the client connection.
1492
- *
1493
- * `agent:false`:
1494
- *
1495
- * ```js
1496
- * http.get({
1497
- * hostname: 'localhost',
1498
- * port: 80,
1499
- * path: '/',
1500
- * agent: false, // Create a new agent just for this one request
1501
- * }, (res) => {
1502
- * // Do stuff with response
1503
- * });
1504
- * ```
1505
- *
1506
- * `options` in [`socket.connect()`](https://nodejs.org/docs/latest-v20.x/api/net.html#socketconnectoptions-connectlistener) are also supported.
1507
- *
1508
- * To configure any of them, a custom {@link Agent} instance must be created.
1509
- *
1510
- * ```js
1511
- * import http from 'node:http';
1512
- * const keepAliveAgent = new http.Agent({ keepAlive: true });
1513
- * options.agent = keepAliveAgent;
1514
- * http.request(options, onResponseCallback)
1515
- * ```
1516
- * @since v0.3.4
1517
- */
1518
- class Agent extends EventEmitter {
1519
- /**
1520
- * By default set to 256. For agents with `keepAlive` enabled, this
1521
- * sets the maximum number of sockets that will be left open in the free
1522
- * state.
1523
- * @since v0.11.7
1524
- */
1525
- maxFreeSockets: number;
1526
- /**
1527
- * By default set to `Infinity`. Determines how many concurrent sockets the agent
1528
- * can have open per origin. Origin is the returned value of `agent.getName()`.
1529
- * @since v0.3.6
1530
- */
1531
- maxSockets: number;
1532
- /**
1533
- * By default set to `Infinity`. Determines how many concurrent sockets the agent
1534
- * can have open. Unlike `maxSockets`, this parameter applies across all origins.
1535
- * @since v14.5.0, v12.19.0
1536
- */
1537
- maxTotalSockets: number;
1538
- /**
1539
- * An object which contains arrays of sockets currently awaiting use by
1540
- * the agent when `keepAlive` is enabled. Do not modify.
1541
- *
1542
- * Sockets in the `freeSockets` list will be automatically destroyed and
1543
- * removed from the array on `'timeout'`.
1544
- * @since v0.11.4
1545
- */
1546
- readonly freeSockets: NodeJS.ReadOnlyDict<Socket[]>;
1547
- /**
1548
- * An object which contains arrays of sockets currently in use by the
1549
- * agent. Do not modify.
1550
- * @since v0.3.6
1551
- */
1552
- readonly sockets: NodeJS.ReadOnlyDict<Socket[]>;
1553
- /**
1554
- * An object which contains queues of requests that have not yet been assigned to
1555
- * sockets. Do not modify.
1556
- * @since v0.5.9
1557
- */
1558
- readonly requests: NodeJS.ReadOnlyDict<IncomingMessage[]>;
1559
- constructor(opts?: AgentOptions);
1560
- /**
1561
- * Destroy any sockets that are currently in use by the agent.
1562
- *
1563
- * It is usually not necessary to do this. However, if using an
1564
- * agent with `keepAlive` enabled, then it is best to explicitly shut down
1565
- * the agent when it is no longer needed. Otherwise,
1566
- * sockets might stay open for quite a long time before the server
1567
- * terminates them.
1568
- * @since v0.11.4
1569
- */
1570
- destroy(): void;
1571
- /**
1572
- * Produces a socket/stream to be used for HTTP requests.
1573
- *
1574
- * By default, this function is the same as `net.createConnection()`. However,
1575
- * custom agents may override this method in case greater flexibility is desired.
1576
- *
1577
- * A socket/stream can be supplied in one of two ways: by returning the
1578
- * socket/stream from this function, or by passing the socket/stream to `callback`.
1579
- *
1580
- * This method is guaranteed to return an instance of the `net.Socket` class,
1581
- * a subclass of `stream.Duplex`, unless the user specifies a socket
1582
- * type other than `net.Socket`.
1583
- *
1584
- * `callback` has a signature of `(err, stream)`.
1585
- * @since v0.11.4
1586
- * @param options Options containing connection details. Check `createConnection` for the format of the options
1587
- * @param callback Callback function that receives the created socket
1588
- */
1589
- createConnection(
1590
- options: ClientRequestArgs,
1591
- callback?: (err: Error | null, stream: stream.Duplex) => void,
1592
- ): stream.Duplex;
1593
- /**
1594
- * Called when `socket` is detached from a request and could be persisted by the`Agent`. Default behavior is to:
1595
- *
1596
- * ```js
1597
- * socket.setKeepAlive(true, this.keepAliveMsecs);
1598
- * socket.unref();
1599
- * return true;
1600
- * ```
1601
- *
1602
- * This method can be overridden by a particular `Agent` subclass. If this
1603
- * method returns a falsy value, the socket will be destroyed instead of persisting
1604
- * it for use with the next request.
1605
- *
1606
- * The `socket` argument can be an instance of `net.Socket`, a subclass of `stream.Duplex`.
1607
- * @since v8.1.0
1608
- */
1609
- keepSocketAlive(socket: stream.Duplex): void;
1610
- /**
1611
- * Called when `socket` is attached to `request` after being persisted because of
1612
- * the keep-alive options. Default behavior is to:
1613
- *
1614
- * ```js
1615
- * socket.ref();
1616
- * ```
1617
- *
1618
- * This method can be overridden by a particular `Agent` subclass.
1619
- *
1620
- * The `socket` argument can be an instance of `net.Socket`, a subclass of `stream.Duplex`.
1621
- * @since v8.1.0
1622
- */
1623
- reuseSocket(socket: stream.Duplex, request: ClientRequest): void;
1624
- /**
1625
- * Get a unique name for a set of request options, to determine whether a
1626
- * connection can be reused. For an HTTP agent, this returns`host:port:localAddress` or `host:port:localAddress:family`. For an HTTPS agent,
1627
- * the name includes the CA, cert, ciphers, and other HTTPS/TLS-specific options
1628
- * that determine socket reusability.
1629
- * @since v0.11.4
1630
- * @param options A set of options providing information for name generation
1631
- */
1632
- getName(options?: ClientRequestArgs): string;
1633
- }
1634
- const METHODS: string[];
1635
- const STATUS_CODES: {
1636
- [errorCode: number]: string | undefined;
1637
- [errorCode: string]: string | undefined;
1638
- };
1639
- /**
1640
- * Returns a new instance of {@link Server}.
1641
- *
1642
- * The `requestListener` is a function which is automatically
1643
- * added to the `'request'` event.
1644
- *
1645
- * ```js
1646
- * import http from 'node:http';
1647
- *
1648
- * // Create a local server to receive data from
1649
- * const server = http.createServer((req, res) => {
1650
- * res.writeHead(200, { 'Content-Type': 'application/json' });
1651
- * res.end(JSON.stringify({
1652
- * data: 'Hello World!',
1653
- * }));
1654
- * });
1655
- *
1656
- * server.listen(8000);
1657
- * ```
1658
- *
1659
- * ```js
1660
- * import http from 'node:http';
1661
- *
1662
- * // Create a local server to receive data from
1663
- * const server = http.createServer();
1664
- *
1665
- * // Listen to the request event
1666
- * server.on('request', (request, res) => {
1667
- * res.writeHead(200, { 'Content-Type': 'application/json' });
1668
- * res.end(JSON.stringify({
1669
- * data: 'Hello World!',
1670
- * }));
1671
- * });
1672
- *
1673
- * server.listen(8000);
1674
- * ```
1675
- * @since v0.1.13
1676
- */
1677
- function createServer<
1678
- Request extends typeof IncomingMessage = typeof IncomingMessage,
1679
- Response extends typeof ServerResponse<InstanceType<Request>> = typeof ServerResponse,
1680
- >(requestListener?: RequestListener<Request, Response>): Server<Request, Response>;
1681
- function createServer<
1682
- Request extends typeof IncomingMessage = typeof IncomingMessage,
1683
- Response extends typeof ServerResponse<InstanceType<Request>> = typeof ServerResponse,
1684
- >(
1685
- options: ServerOptions<Request, Response>,
1686
- requestListener?: RequestListener<Request, Response>,
1687
- ): Server<Request, Response>;
1688
- // although RequestOptions are passed as ClientRequestArgs to ClientRequest directly,
1689
- // create interface RequestOptions would make the naming more clear to developers
1690
- interface RequestOptions extends ClientRequestArgs {}
1691
- /**
1692
- * `options` in `socket.connect()` are also supported.
1693
- *
1694
- * Node.js maintains several connections per server to make HTTP requests.
1695
- * This function allows one to transparently issue requests.
1696
- *
1697
- * `url` can be a string or a `URL` object. If `url` is a
1698
- * string, it is automatically parsed with `new URL()`. If it is a `URL` object, it will be automatically converted to an ordinary `options` object.
1699
- *
1700
- * If both `url` and `options` are specified, the objects are merged, with the `options` properties taking precedence.
1701
- *
1702
- * The optional `callback` parameter will be added as a one-time listener for
1703
- * the `'response'` event.
1704
- *
1705
- * `http.request()` returns an instance of the {@link ClientRequest} class. The `ClientRequest` instance is a writable stream. If one needs to
1706
- * upload a file with a POST request, then write to the `ClientRequest` object.
1707
- *
1708
- * ```js
1709
- * import http from 'node:http';
1710
- * import { Buffer } from 'node:buffer';
1711
- *
1712
- * const postData = JSON.stringify({
1713
- * 'msg': 'Hello World!',
1714
- * });
1715
- *
1716
- * const options = {
1717
- * hostname: 'www.google.com',
1718
- * port: 80,
1719
- * path: '/upload',
1720
- * method: 'POST',
1721
- * headers: {
1722
- * 'Content-Type': 'application/json',
1723
- * 'Content-Length': Buffer.byteLength(postData),
1724
- * },
1725
- * };
1726
- *
1727
- * const req = http.request(options, (res) => {
1728
- * console.log(`STATUS: ${res.statusCode}`);
1729
- * console.log(`HEADERS: ${JSON.stringify(res.headers)}`);
1730
- * res.setEncoding('utf8');
1731
- * res.on('data', (chunk) => {
1732
- * console.log(`BODY: ${chunk}`);
1733
- * });
1734
- * res.on('end', () => {
1735
- * console.log('No more data in response.');
1736
- * });
1737
- * });
1738
- *
1739
- * req.on('error', (e) => {
1740
- * console.error(`problem with request: ${e.message}`);
1741
- * });
1742
- *
1743
- * // Write data to request body
1744
- * req.write(postData);
1745
- * req.end();
1746
- * ```
1747
- *
1748
- * In the example `req.end()` was called. With `http.request()` one
1749
- * must always call `req.end()` to signify the end of the request -
1750
- * even if there is no data being written to the request body.
1751
- *
1752
- * If any error is encountered during the request (be that with DNS resolution,
1753
- * TCP level errors, or actual HTTP parse errors) an `'error'` event is emitted
1754
- * on the returned request object. As with all `'error'` events, if no listeners
1755
- * are registered the error will be thrown.
1756
- *
1757
- * There are a few special headers that should be noted.
1758
- *
1759
- * * Sending a 'Connection: keep-alive' will notify Node.js that the connection to
1760
- * the server should be persisted until the next request.
1761
- * * Sending a 'Content-Length' header will disable the default chunked encoding.
1762
- * * Sending an 'Expect' header will immediately send the request headers.
1763
- * Usually, when sending 'Expect: 100-continue', both a timeout and a listener
1764
- * for the `'continue'` event should be set. See RFC 2616 Section 8.2.3 for more
1765
- * information.
1766
- * * Sending an Authorization header will override using the `auth` option
1767
- * to compute basic authentication.
1768
- *
1769
- * Example using a `URL` as `options`:
1770
- *
1771
- * ```js
1772
- * const options = new URL('http://abc:xyz@example.com');
1773
- *
1774
- * const req = http.request(options, (res) => {
1775
- * // ...
1776
- * });
1777
- * ```
1778
- *
1779
- * In a successful request, the following events will be emitted in the following
1780
- * order:
1781
- *
1782
- * * `'socket'`
1783
- * * `'response'`
1784
- * * `'data'` any number of times, on the `res` object
1785
- * (`'data'` will not be emitted at all if the response body is empty, for
1786
- * instance, in most redirects)
1787
- * * `'end'` on the `res` object
1788
- * * `'close'`
1789
- *
1790
- * In the case of a connection error, the following events will be emitted:
1791
- *
1792
- * * `'socket'`
1793
- * * `'error'`
1794
- * * `'close'`
1795
- *
1796
- * In the case of a premature connection close before the response is received,
1797
- * the following events will be emitted in the following order:
1798
- *
1799
- * * `'socket'`
1800
- * * `'error'` with an error with message `'Error: socket hang up'` and code `'ECONNRESET'`
1801
- * * `'close'`
1802
- *
1803
- * In the case of a premature connection close after the response is received,
1804
- * the following events will be emitted in the following order:
1805
- *
1806
- * * `'socket'`
1807
- * * `'response'`
1808
- * * `'data'` any number of times, on the `res` object
1809
- * * (connection closed here)
1810
- * * `'aborted'` on the `res` object
1811
- * * `'close'`
1812
- * * `'error'` on the `res` object with an error with message `'Error: aborted'` and code `'ECONNRESET'`
1813
- * * `'close'` on the `res` object
1814
- *
1815
- * If `req.destroy()` is called before a socket is assigned, the following
1816
- * events will be emitted in the following order:
1817
- *
1818
- * * (`req.destroy()` called here)
1819
- * * `'error'` with an error with message `'Error: socket hang up'` and code `'ECONNRESET'`, or the error with which `req.destroy()` was called
1820
- * * `'close'`
1821
- *
1822
- * If `req.destroy()` is called before the connection succeeds, the following
1823
- * events will be emitted in the following order:
1824
- *
1825
- * * `'socket'`
1826
- * * (`req.destroy()` called here)
1827
- * * `'error'` with an error with message `'Error: socket hang up'` and code `'ECONNRESET'`, or the error with which `req.destroy()` was called
1828
- * * `'close'`
1829
- *
1830
- * If `req.destroy()` is called after the response is received, the following
1831
- * events will be emitted in the following order:
1832
- *
1833
- * * `'socket'`
1834
- * * `'response'`
1835
- * * `'data'` any number of times, on the `res` object
1836
- * * (`req.destroy()` called here)
1837
- * * `'aborted'` on the `res` object
1838
- * * `'close'`
1839
- * * `'error'` on the `res` object with an error with message `'Error: aborted'` and code `'ECONNRESET'`, or the error with which `req.destroy()` was called
1840
- * * `'close'` on the `res` object
1841
- *
1842
- * If `req.abort()` is called before a socket is assigned, the following
1843
- * events will be emitted in the following order:
1844
- *
1845
- * * (`req.abort()` called here)
1846
- * * `'abort'`
1847
- * * `'close'`
1848
- *
1849
- * If `req.abort()` is called before the connection succeeds, the following
1850
- * events will be emitted in the following order:
1851
- *
1852
- * * `'socket'`
1853
- * * (`req.abort()` called here)
1854
- * * `'abort'`
1855
- * * `'error'` with an error with message `'Error: socket hang up'` and code `'ECONNRESET'`
1856
- * * `'close'`
1857
- *
1858
- * If `req.abort()` is called after the response is received, the following
1859
- * events will be emitted in the following order:
1860
- *
1861
- * * `'socket'`
1862
- * * `'response'`
1863
- * * `'data'` any number of times, on the `res` object
1864
- * * (`req.abort()` called here)
1865
- * * `'abort'`
1866
- * * `'aborted'` on the `res` object
1867
- * * `'error'` on the `res` object with an error with message `'Error: aborted'` and code `'ECONNRESET'`.
1868
- * * `'close'`
1869
- * * `'close'` on the `res` object
1870
- *
1871
- * Setting the `timeout` option or using the `setTimeout()` function will
1872
- * not abort the request or do anything besides add a `'timeout'` event.
1873
- *
1874
- * Passing an `AbortSignal` and then calling `abort()` on the corresponding `AbortController` will behave the same way as calling `.destroy()` on the
1875
- * request. Specifically, the `'error'` event will be emitted with an error with
1876
- * the message `'AbortError: The operation was aborted'`, the code `'ABORT_ERR'` and the `cause`, if one was provided.
1877
- * @since v0.3.6
1878
- */
1879
- function request(options: RequestOptions | string | URL, callback?: (res: IncomingMessage) => void): ClientRequest;
1880
- function request(
1881
- url: string | URL,
1882
- options: RequestOptions,
1883
- callback?: (res: IncomingMessage) => void,
1884
- ): ClientRequest;
1885
- /**
1886
- * Since most requests are GET requests without bodies, Node.js provides this
1887
- * convenience method. The only difference between this method and {@link request} is that it sets the method to GET by default and calls `req.end()` automatically. The callback must take care to
1888
- * consume the response
1889
- * data for reasons stated in {@link ClientRequest} section.
1890
- *
1891
- * The `callback` is invoked with a single argument that is an instance of {@link IncomingMessage}.
1892
- *
1893
- * JSON fetching example:
1894
- *
1895
- * ```js
1896
- * http.get('http://localhost:8000/', (res) => {
1897
- * const { statusCode } = res;
1898
- * const contentType = res.headers['content-type'];
1899
- *
1900
- * let error;
1901
- * // Any 2xx status code signals a successful response but
1902
- * // here we're only checking for 200.
1903
- * if (statusCode !== 200) {
1904
- * error = new Error('Request Failed.\n' +
1905
- * `Status Code: ${statusCode}`);
1906
- * } else if (!/^application\/json/.test(contentType)) {
1907
- * error = new Error('Invalid content-type.\n' +
1908
- * `Expected application/json but received ${contentType}`);
1909
- * }
1910
- * if (error) {
1911
- * console.error(error.message);
1912
- * // Consume response data to free up memory
1913
- * res.resume();
1914
- * return;
1915
- * }
1916
- *
1917
- * res.setEncoding('utf8');
1918
- * let rawData = '';
1919
- * res.on('data', (chunk) => { rawData += chunk; });
1920
- * res.on('end', () => {
1921
- * try {
1922
- * const parsedData = JSON.parse(rawData);
1923
- * console.log(parsedData);
1924
- * } catch (e) {
1925
- * console.error(e.message);
1926
- * }
1927
- * });
1928
- * }).on('error', (e) => {
1929
- * console.error(`Got error: ${e.message}`);
1930
- * });
1931
- *
1932
- * // Create a local server to receive data from
1933
- * const server = http.createServer((req, res) => {
1934
- * res.writeHead(200, { 'Content-Type': 'application/json' });
1935
- * res.end(JSON.stringify({
1936
- * data: 'Hello World!',
1937
- * }));
1938
- * });
1939
- *
1940
- * server.listen(8000);
1941
- * ```
1942
- * @since v0.3.6
1943
- * @param options Accepts the same `options` as {@link request}, with the method set to GET by default.
1944
- */
1945
- function get(options: RequestOptions | string | URL, callback?: (res: IncomingMessage) => void): ClientRequest;
1946
- function get(url: string | URL, options: RequestOptions, callback?: (res: IncomingMessage) => void): ClientRequest;
1947
- /**
1948
- * Performs the low-level validations on the provided `name` that are done when `res.setHeader(name, value)` is called.
1949
- *
1950
- * Passing illegal value as `name` will result in a `TypeError` being thrown,
1951
- * identified by `code: 'ERR_INVALID_HTTP_TOKEN'`.
1952
- *
1953
- * It is not necessary to use this method before passing headers to an HTTP request
1954
- * or response. The HTTP module will automatically validate such headers.
1955
- *
1956
- * Example:
1957
- *
1958
- * ```js
1959
- * import { validateHeaderName } from 'node:http';
1960
- *
1961
- * try {
1962
- * validateHeaderName('');
1963
- * } catch (err) {
1964
- * console.error(err instanceof TypeError); // --> true
1965
- * console.error(err.code); // --> 'ERR_INVALID_HTTP_TOKEN'
1966
- * console.error(err.message); // --> 'Header name must be a valid HTTP token [""]'
1967
- * }
1968
- * ```
1969
- * @since v14.3.0
1970
- * @param [label='Header name'] Label for error message.
1971
- */
1972
- function validateHeaderName(name: string): void;
1973
- /**
1974
- * Performs the low-level validations on the provided `value` that are done when `res.setHeader(name, value)` is called.
1975
- *
1976
- * Passing illegal value as `value` will result in a `TypeError` being thrown.
1977
- *
1978
- * * Undefined value error is identified by `code: 'ERR_HTTP_INVALID_HEADER_VALUE'`.
1979
- * * Invalid value character error is identified by `code: 'ERR_INVALID_CHAR'`.
1980
- *
1981
- * It is not necessary to use this method before passing headers to an HTTP request
1982
- * or response. The HTTP module will automatically validate such headers.
1983
- *
1984
- * Examples:
1985
- *
1986
- * ```js
1987
- * import { validateHeaderValue } from 'node:http';
1988
- *
1989
- * try {
1990
- * validateHeaderValue('x-my-header', undefined);
1991
- * } catch (err) {
1992
- * console.error(err instanceof TypeError); // --> true
1993
- * console.error(err.code === 'ERR_HTTP_INVALID_HEADER_VALUE'); // --> true
1994
- * console.error(err.message); // --> 'Invalid value "undefined" for header "x-my-header"'
1995
- * }
1996
- *
1997
- * try {
1998
- * validateHeaderValue('x-my-header', 'oʊmɪɡə');
1999
- * } catch (err) {
2000
- * console.error(err instanceof TypeError); // --> true
2001
- * console.error(err.code === 'ERR_INVALID_CHAR'); // --> true
2002
- * console.error(err.message); // --> 'Invalid character in header content ["x-my-header"]'
2003
- * }
2004
- * ```
2005
- * @since v14.3.0
2006
- * @param name Header name
2007
- * @param value Header value
2008
- */
2009
- function validateHeaderValue(name: string, value: string): void;
2010
- /**
2011
- * Set the maximum number of idle HTTP parsers.
2012
- * @since v18.8.0, v16.18.0
2013
- * @param [max=1000]
2014
- */
2015
- function setMaxIdleHTTPParsers(max: number): void;
2016
- /**
2017
- * Global instance of `Agent` which is used as the default for all HTTP client
2018
- * requests. Diverges from a default `Agent` configuration by having `keepAlive`
2019
- * enabled and a `timeout` of 5 seconds.
2020
- * @since v0.5.9
2021
- */
2022
- let globalAgent: Agent;
2023
- /**
2024
- * Read-only property specifying the maximum allowed size of HTTP headers in bytes.
2025
- * Defaults to 16KB. Configurable using the `--max-http-header-size` CLI option.
2026
- */
2027
- const maxHeaderSize: number;
2028
- }
2029
- declare module "node:http" {
2030
- export * from "http";
2031
- }