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,2331 +0,0 @@
1
- /**
2
- * The `node:util` module supports the needs of Node.js internal APIs. Many of the
3
- * utilities are useful for application and module developers as well. To access
4
- * it:
5
- *
6
- * ```js
7
- * import util from 'node:util';
8
- * ```
9
- * @see [source](https://github.com/nodejs/node/blob/v20.13.1/lib/util.js)
10
- */
11
- declare module "util" {
12
- import * as types from "node:util/types";
13
- export interface InspectOptions {
14
- /**
15
- * If `true`, object's non-enumerable symbols and properties are included in the formatted result.
16
- * `WeakMap` and `WeakSet` entries are also included as well as user defined prototype properties (excluding method properties).
17
- * @default false
18
- */
19
- showHidden?: boolean | undefined;
20
- /**
21
- * Specifies the number of times to recurse while formatting object.
22
- * This is useful for inspecting large objects.
23
- * To recurse up to the maximum call stack size pass `Infinity` or `null`.
24
- * @default 2
25
- */
26
- depth?: number | null | undefined;
27
- /**
28
- * If `true`, the output is styled with ANSI color codes. Colors are customizable.
29
- */
30
- colors?: boolean | undefined;
31
- /**
32
- * If `false`, `[util.inspect.custom](depth, opts, inspect)` functions are not invoked.
33
- * @default true
34
- */
35
- customInspect?: boolean | undefined;
36
- /**
37
- * If `true`, `Proxy` inspection includes the target and handler objects.
38
- * @default false
39
- */
40
- showProxy?: boolean | undefined;
41
- /**
42
- * Specifies the maximum number of `Array`, `TypedArray`, `WeakMap`, and `WeakSet` elements
43
- * to include when formatting. Set to `null` or `Infinity` to show all elements.
44
- * Set to `0` or negative to show no elements.
45
- * @default 100
46
- */
47
- maxArrayLength?: number | null | undefined;
48
- /**
49
- * Specifies the maximum number of characters to
50
- * include when formatting. Set to `null` or `Infinity` to show all elements.
51
- * Set to `0` or negative to show no characters.
52
- * @default 10000
53
- */
54
- maxStringLength?: number | null | undefined;
55
- /**
56
- * The length at which input values are split across multiple lines.
57
- * Set to `Infinity` to format the input as a single line
58
- * (in combination with `compact` set to `true` or any number >= `1`).
59
- * @default 80
60
- */
61
- breakLength?: number | undefined;
62
- /**
63
- * Setting this to `false` causes each object key
64
- * to be displayed on a new line. It will also add new lines to text that is
65
- * longer than `breakLength`. If set to a number, the most `n` inner elements
66
- * are united on a single line as long as all properties fit into
67
- * `breakLength`. Short array elements are also grouped together. Note that no
68
- * text will be reduced below 16 characters, no matter the `breakLength` size.
69
- * For more information, see the example below.
70
- * @default true
71
- */
72
- compact?: boolean | number | undefined;
73
- /**
74
- * If set to `true` or a function, all properties of an object, and `Set` and `Map`
75
- * entries are sorted in the resulting string.
76
- * If set to `true` the default sort is used.
77
- * If set to a function, it is used as a compare function.
78
- */
79
- sorted?: boolean | ((a: string, b: string) => number) | undefined;
80
- /**
81
- * If set to `true`, getters are going to be
82
- * inspected as well. If set to `'get'` only getters without setter are going
83
- * to be inspected. If set to `'set'` only getters having a corresponding
84
- * setter are going to be inspected. This might cause side effects depending on
85
- * the getter function.
86
- * @default false
87
- */
88
- getters?: "get" | "set" | boolean | undefined;
89
- /**
90
- * If set to `true`, an underscore is used to separate every three digits in all bigints and numbers.
91
- * @default false
92
- */
93
- numericSeparator?: boolean | undefined;
94
- }
95
- export type Style =
96
- | "special"
97
- | "number"
98
- | "bigint"
99
- | "boolean"
100
- | "undefined"
101
- | "null"
102
- | "string"
103
- | "symbol"
104
- | "date"
105
- | "regexp"
106
- | "module";
107
- export type CustomInspectFunction = (depth: number, options: InspectOptionsStylized) => any; // TODO: , inspect: inspect
108
- export interface InspectOptionsStylized extends InspectOptions {
109
- stylize(text: string, styleType: Style): string;
110
- }
111
- /**
112
- * The `util.format()` method returns a formatted string using the first argument
113
- * as a `printf`-like format string which can contain zero or more format
114
- * specifiers. Each specifier is replaced with the converted value from the
115
- * corresponding argument. Supported specifiers are:
116
- *
117
- * If a specifier does not have a corresponding argument, it is not replaced:
118
- *
119
- * ```js
120
- * util.format('%s:%s', 'foo');
121
- * // Returns: 'foo:%s'
122
- * ```
123
- *
124
- * Values that are not part of the format string are formatted using `util.inspect()` if their type is not `string`.
125
- *
126
- * If there are more arguments passed to the `util.format()` method than the
127
- * number of specifiers, the extra arguments are concatenated to the returned
128
- * string, separated by spaces:
129
- *
130
- * ```js
131
- * util.format('%s:%s', 'foo', 'bar', 'baz');
132
- * // Returns: 'foo:bar baz'
133
- * ```
134
- *
135
- * If the first argument does not contain a valid format specifier, `util.format()` returns a string that is the concatenation of all arguments separated by spaces:
136
- *
137
- * ```js
138
- * util.format(1, 2, 3);
139
- * // Returns: '1 2 3'
140
- * ```
141
- *
142
- * If only one argument is passed to `util.format()`, it is returned as it is
143
- * without any formatting:
144
- *
145
- * ```js
146
- * util.format('%% %s');
147
- * // Returns: '%% %s'
148
- * ```
149
- *
150
- * `util.format()` is a synchronous method that is intended as a debugging tool.
151
- * Some input values can have a significant performance overhead that can block the
152
- * event loop. Use this function with care and never in a hot code path.
153
- * @since v0.5.3
154
- * @param format A `printf`-like format string.
155
- */
156
- export function format(format?: any, ...param: any[]): string;
157
- /**
158
- * This function is identical to {@link format}, except in that it takes
159
- * an `inspectOptions` argument which specifies options that are passed along to {@link inspect}.
160
- *
161
- * ```js
162
- * util.formatWithOptions({ colors: true }, 'See object %O', { foo: 42 });
163
- * // Returns 'See object { foo: 42 }', where `42` is colored as a number
164
- * // when printed to a terminal.
165
- * ```
166
- * @since v10.0.0
167
- */
168
- export function formatWithOptions(inspectOptions: InspectOptions, format?: any, ...param: any[]): string;
169
- /**
170
- * Returns the string name for a numeric error code that comes from a Node.js API.
171
- * The mapping between error codes and error names is platform-dependent.
172
- * See `Common System Errors` for the names of common errors.
173
- *
174
- * ```js
175
- * fs.access('file/that/does/not/exist', (err) => {
176
- * const name = util.getSystemErrorName(err.errno);
177
- * console.error(name); // ENOENT
178
- * });
179
- * ```
180
- * @since v9.7.0
181
- */
182
- export function getSystemErrorName(err: number): string;
183
- /**
184
- * Returns a Map of all system error codes available from the Node.js API.
185
- * The mapping between error codes and error names is platform-dependent.
186
- * See `Common System Errors` for the names of common errors.
187
- *
188
- * ```js
189
- * fs.access('file/that/does/not/exist', (err) => {
190
- * const errorMap = util.getSystemErrorMap();
191
- * const name = errorMap.get(err.errno);
192
- * console.error(name); // ENOENT
193
- * });
194
- * ```
195
- * @since v16.0.0, v14.17.0
196
- */
197
- export function getSystemErrorMap(): Map<number, [string, string]>;
198
- /**
199
- * The `util.log()` method prints the given `string` to `stdout` with an included
200
- * timestamp.
201
- *
202
- * ```js
203
- * import util from 'node:util';
204
- *
205
- * util.log('Timestamped message.');
206
- * ```
207
- * @since v0.3.0
208
- * @deprecated Since v6.0.0 - Use a third party module instead.
209
- */
210
- export function log(string: string): void;
211
- /**
212
- * Returns the `string` after replacing any surrogate code points
213
- * (or equivalently, any unpaired surrogate code units) with the
214
- * Unicode "replacement character" U+FFFD.
215
- * @since v16.8.0, v14.18.0
216
- */
217
- export function toUSVString(string: string): string;
218
- /**
219
- * Creates and returns an `AbortController` instance whose `AbortSignal` is marked
220
- * as transferable and can be used with `structuredClone()` or `postMessage()`.
221
- * @since v18.11.0
222
- * @experimental
223
- * @returns A transferable AbortController
224
- */
225
- export function transferableAbortController(): AbortController;
226
- /**
227
- * Marks the given `AbortSignal` as transferable so that it can be used with`structuredClone()` and `postMessage()`.
228
- *
229
- * ```js
230
- * const signal = transferableAbortSignal(AbortSignal.timeout(100));
231
- * const channel = new MessageChannel();
232
- * channel.port2.postMessage(signal, [signal]);
233
- * ```
234
- * @since v18.11.0
235
- * @experimental
236
- * @param signal The AbortSignal
237
- * @returns The same AbortSignal
238
- */
239
- export function transferableAbortSignal(signal: AbortSignal): AbortSignal;
240
- /**
241
- * Listens to abort event on the provided `signal` and
242
- * returns a promise that is fulfilled when the `signal` is
243
- * aborted. If the passed `resource` is garbage collected before the `signal` is
244
- * aborted, the returned promise shall remain pending indefinitely.
245
- *
246
- * ```js
247
- * import { aborted } from 'node:util';
248
- *
249
- * const dependent = obtainSomethingAbortable();
250
- *
251
- * aborted(dependent.signal, dependent).then(() => {
252
- * // Do something when dependent is aborted.
253
- * });
254
- *
255
- * dependent.on('event', () => {
256
- * dependent.abort();
257
- * });
258
- * ```
259
- * @since v19.7.0
260
- * @experimental
261
- * @param resource Any non-null entity, reference to which is held weakly.
262
- */
263
- export function aborted(signal: AbortSignal, resource: any): Promise<void>;
264
- /**
265
- * The `util.inspect()` method returns a string representation of `object` that is
266
- * intended for debugging. The output of `util.inspect` may change at any time
267
- * and should not be depended upon programmatically. Additional `options` may be
268
- * passed that alter the result. `util.inspect()` will use the constructor's name and/or `@@toStringTag` to make
269
- * an identifiable tag for an inspected value.
270
- *
271
- * ```js
272
- * class Foo {
273
- * get [Symbol.toStringTag]() {
274
- * return 'bar';
275
- * }
276
- * }
277
- *
278
- * class Bar {}
279
- *
280
- * const baz = Object.create(null, { [Symbol.toStringTag]: { value: 'foo' } });
281
- *
282
- * util.inspect(new Foo()); // 'Foo [bar] {}'
283
- * util.inspect(new Bar()); // 'Bar {}'
284
- * util.inspect(baz); // '[foo] {}'
285
- * ```
286
- *
287
- * Circular references point to their anchor by using a reference index:
288
- *
289
- * ```js
290
- * import { inspect } from 'node:util';
291
- *
292
- * const obj = {};
293
- * obj.a = [obj];
294
- * obj.b = {};
295
- * obj.b.inner = obj.b;
296
- * obj.b.obj = obj;
297
- *
298
- * console.log(inspect(obj));
299
- * // <ref *1> {
300
- * // a: [ [Circular *1] ],
301
- * // b: <ref *2> { inner: [Circular *2], obj: [Circular *1] }
302
- * // }
303
- * ```
304
- *
305
- * The following example inspects all properties of the `util` object:
306
- *
307
- * ```js
308
- * import util from 'node:util';
309
- *
310
- * console.log(util.inspect(util, { showHidden: true, depth: null }));
311
- * ```
312
- *
313
- * The following example highlights the effect of the `compact` option:
314
- *
315
- * ```js
316
- * import util from 'node:util';
317
- *
318
- * const o = {
319
- * a: [1, 2, [[
320
- * 'Lorem ipsum dolor sit amet,\nconsectetur adipiscing elit, sed do ' +
321
- * 'eiusmod \ntempor incididunt ut labore et dolore magna aliqua.',
322
- * 'test',
323
- * 'foo']], 4],
324
- * b: new Map([['za', 1], ['zb', 'test']]),
325
- * };
326
- * console.log(util.inspect(o, { compact: true, depth: 5, breakLength: 80 }));
327
- *
328
- * // { a:
329
- * // [ 1,
330
- * // 2,
331
- * // [ [ 'Lorem ipsum dolor sit amet,\nconsectetur [...]', // A long line
332
- * // 'test',
333
- * // 'foo' ] ],
334
- * // 4 ],
335
- * // b: Map(2) { 'za' => 1, 'zb' => 'test' } }
336
- *
337
- * // Setting `compact` to false or an integer creates more reader friendly output.
338
- * console.log(util.inspect(o, { compact: false, depth: 5, breakLength: 80 }));
339
- *
340
- * // {
341
- * // a: [
342
- * // 1,
343
- * // 2,
344
- * // [
345
- * // [
346
- * // 'Lorem ipsum dolor sit amet,\n' +
347
- * // 'consectetur adipiscing elit, sed do eiusmod \n' +
348
- * // 'tempor incididunt ut labore et dolore magna aliqua.',
349
- * // 'test',
350
- * // 'foo'
351
- * // ]
352
- * // ],
353
- * // 4
354
- * // ],
355
- * // b: Map(2) {
356
- * // 'za' => 1,
357
- * // 'zb' => 'test'
358
- * // }
359
- * // }
360
- *
361
- * // Setting `breakLength` to e.g. 150 will print the "Lorem ipsum" text in a
362
- * // single line.
363
- * ```
364
- *
365
- * The `showHidden` option allows [`WeakMap`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WeakMap) and
366
- * [`WeakSet`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WeakSet) entries to be
367
- * inspected. If there are more entries than `maxArrayLength`, there is no
368
- * guarantee which entries are displayed. That means retrieving the same [`WeakSet`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WeakSet) entries twice may
369
- * result in different output. Furthermore, entries
370
- * with no remaining strong references may be garbage collected at any time.
371
- *
372
- * ```js
373
- * import { inspect } from 'node:util';
374
- *
375
- * const obj = { a: 1 };
376
- * const obj2 = { b: 2 };
377
- * const weakSet = new WeakSet([obj, obj2]);
378
- *
379
- * console.log(inspect(weakSet, { showHidden: true }));
380
- * // WeakSet { { a: 1 }, { b: 2 } }
381
- * ```
382
- *
383
- * The `sorted` option ensures that an object's property insertion order does not
384
- * impact the result of `util.inspect()`.
385
- *
386
- * ```js
387
- * import { inspect } from 'node:util';
388
- * import assert from 'node:assert';
389
- *
390
- * const o1 = {
391
- * b: [2, 3, 1],
392
- * a: '`a` comes before `b`',
393
- * c: new Set([2, 3, 1]),
394
- * };
395
- * console.log(inspect(o1, { sorted: true }));
396
- * // { a: '`a` comes before `b`', b: [ 2, 3, 1 ], c: Set(3) { 1, 2, 3 } }
397
- * console.log(inspect(o1, { sorted: (a, b) => b.localeCompare(a) }));
398
- * // { c: Set(3) { 3, 2, 1 }, b: [ 2, 3, 1 ], a: '`a` comes before `b`' }
399
- *
400
- * const o2 = {
401
- * c: new Set([2, 1, 3]),
402
- * a: '`a` comes before `b`',
403
- * b: [2, 3, 1],
404
- * };
405
- * assert.strict.equal(
406
- * inspect(o1, { sorted: true }),
407
- * inspect(o2, { sorted: true }),
408
- * );
409
- * ```
410
- *
411
- * The `numericSeparator` option adds an underscore every three digits to all
412
- * numbers.
413
- *
414
- * ```js
415
- * import { inspect } from 'node:util';
416
- *
417
- * const thousand = 1_000;
418
- * const million = 1_000_000;
419
- * const bigNumber = 123_456_789n;
420
- * const bigDecimal = 1_234.123_45;
421
- *
422
- * console.log(inspect(thousand, { numericSeparator: true }));
423
- * // 1_000
424
- * console.log(inspect(million, { numericSeparator: true }));
425
- * // 1_000_000
426
- * console.log(inspect(bigNumber, { numericSeparator: true }));
427
- * // 123_456_789n
428
- * console.log(inspect(bigDecimal, { numericSeparator: true }));
429
- * // 1_234.123_45
430
- * ```
431
- *
432
- * `util.inspect()` is a synchronous method intended for debugging. Its maximum
433
- * output length is approximately 128 MiB. Inputs that result in longer output will
434
- * be truncated.
435
- * @since v0.3.0
436
- * @param object Any JavaScript primitive or `Object`.
437
- * @return The representation of `object`.
438
- */
439
- export function inspect(object: any, showHidden?: boolean, depth?: number | null, color?: boolean): string;
440
- export function inspect(object: any, options?: InspectOptions): string;
441
- export namespace inspect {
442
- let colors: NodeJS.Dict<[number, number]>;
443
- let styles: {
444
- [K in Style]: string;
445
- };
446
- let defaultOptions: InspectOptions;
447
- /**
448
- * Allows changing inspect settings from the repl.
449
- */
450
- let replDefaults: InspectOptions;
451
- /**
452
- * That can be used to declare custom inspect functions.
453
- */
454
- const custom: unique symbol;
455
- }
456
- /**
457
- * Alias for [`Array.isArray()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/isArray).
458
- *
459
- * Returns `true` if the given `object` is an `Array`. Otherwise, returns `false`.
460
- *
461
- * ```js
462
- * import util from 'node:util';
463
- *
464
- * util.isArray([]);
465
- * // Returns: true
466
- * util.isArray(new Array());
467
- * // Returns: true
468
- * util.isArray({});
469
- * // Returns: false
470
- * ```
471
- * @since v0.6.0
472
- * @deprecated Since v4.0.0 - Use `isArray` instead.
473
- */
474
- export function isArray(object: unknown): object is unknown[];
475
- /**
476
- * Returns `true` if the given `object` is a `RegExp`. Otherwise, returns `false`.
477
- *
478
- * ```js
479
- * import util from 'node:util';
480
- *
481
- * util.isRegExp(/some regexp/);
482
- * // Returns: true
483
- * util.isRegExp(new RegExp('another regexp'));
484
- * // Returns: true
485
- * util.isRegExp({});
486
- * // Returns: false
487
- * ```
488
- * @since v0.6.0
489
- * @deprecated Since v4.0.0 - Deprecated
490
- */
491
- export function isRegExp(object: unknown): object is RegExp;
492
- /**
493
- * Returns `true` if the given `object` is a `Date`. Otherwise, returns `false`.
494
- *
495
- * ```js
496
- * import util from 'node:util';
497
- *
498
- * util.isDate(new Date());
499
- * // Returns: true
500
- * util.isDate(Date());
501
- * // false (without 'new' returns a String)
502
- * util.isDate({});
503
- * // Returns: false
504
- * ```
505
- * @since v0.6.0
506
- * @deprecated Since v4.0.0 - Use {@link types.isDate} instead.
507
- */
508
- export function isDate(object: unknown): object is Date;
509
- /**
510
- * Returns `true` if the given `object` is an `Error`. Otherwise, returns `false`.
511
- *
512
- * ```js
513
- * import util from 'node:util';
514
- *
515
- * util.isError(new Error());
516
- * // Returns: true
517
- * util.isError(new TypeError());
518
- * // Returns: true
519
- * util.isError({ name: 'Error', message: 'an error occurred' });
520
- * // Returns: false
521
- * ```
522
- *
523
- * This method relies on `Object.prototype.toString()` behavior. It is
524
- * possible to obtain an incorrect result when the `object` argument manipulates `@@toStringTag`.
525
- *
526
- * ```js
527
- * import util from 'node:util';
528
- * const obj = { name: 'Error', message: 'an error occurred' };
529
- *
530
- * util.isError(obj);
531
- * // Returns: false
532
- * obj[Symbol.toStringTag] = 'Error';
533
- * util.isError(obj);
534
- * // Returns: true
535
- * ```
536
- * @since v0.6.0
537
- * @deprecated Since v4.0.0 - Use {@link types.isNativeError} instead.
538
- */
539
- export function isError(object: unknown): object is Error;
540
- /**
541
- * Usage of `util.inherits()` is discouraged. Please use the ES6 `class` and `extends` keywords to get language level inheritance support. Also note
542
- * that the two styles are [semantically incompatible](https://github.com/nodejs/node/issues/4179).
543
- *
544
- * Inherit the prototype methods from one [constructor](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/constructor) into another. The
545
- * prototype of `constructor` will be set to a new object created from `superConstructor`.
546
- *
547
- * This mainly adds some input validation on top of`Object.setPrototypeOf(constructor.prototype, superConstructor.prototype)`.
548
- * As an additional convenience, `superConstructor` will be accessible
549
- * through the `constructor.super_` property.
550
- *
551
- * ```js
552
- * import util from 'node:util';
553
- * import EventEmitter from 'node:events';
554
- *
555
- * function MyStream() {
556
- * EventEmitter.call(this);
557
- * }
558
- *
559
- * util.inherits(MyStream, EventEmitter);
560
- *
561
- * MyStream.prototype.write = function(data) {
562
- * this.emit('data', data);
563
- * };
564
- *
565
- * const stream = new MyStream();
566
- *
567
- * console.log(stream instanceof EventEmitter); // true
568
- * console.log(MyStream.super_ === EventEmitter); // true
569
- *
570
- * stream.on('data', (data) => {
571
- * console.log(`Received data: "${data}"`);
572
- * });
573
- * stream.write('It works!'); // Received data: "It works!"
574
- * ```
575
- *
576
- * ES6 example using `class` and `extends`:
577
- *
578
- * ```js
579
- * import EventEmitter from 'node:events';
580
- *
581
- * class MyStream extends EventEmitter {
582
- * write(data) {
583
- * this.emit('data', data);
584
- * }
585
- * }
586
- *
587
- * const stream = new MyStream();
588
- *
589
- * stream.on('data', (data) => {
590
- * console.log(`Received data: "${data}"`);
591
- * });
592
- * stream.write('With ES6');
593
- * ```
594
- * @since v0.3.0
595
- * @legacy Use ES2015 class syntax and `extends` keyword instead.
596
- */
597
- export function inherits(constructor: unknown, superConstructor: unknown): void;
598
- export type DebugLoggerFunction = (msg: string, ...param: unknown[]) => void;
599
- export interface DebugLogger extends DebugLoggerFunction {
600
- enabled: boolean;
601
- }
602
- /**
603
- * The `util.debuglog()` method is used to create a function that conditionally
604
- * writes debug messages to `stderr` based on the existence of the `NODE_DEBUG`environment variable. If the `section` name appears within the value of that
605
- * environment variable, then the returned function operates similar to `console.error()`. If not, then the returned function is a no-op.
606
- *
607
- * ```js
608
- * import util from 'node:util';
609
- * const debuglog = util.debuglog('foo');
610
- *
611
- * debuglog('hello from foo [%d]', 123);
612
- * ```
613
- *
614
- * If this program is run with `NODE_DEBUG=foo` in the environment, then
615
- * it will output something like:
616
- *
617
- * ```console
618
- * FOO 3245: hello from foo [123]
619
- * ```
620
- *
621
- * where `3245` is the process id. If it is not run with that
622
- * environment variable set, then it will not print anything.
623
- *
624
- * The `section` supports wildcard also:
625
- *
626
- * ```js
627
- * import util from 'node:util';
628
- * const debuglog = util.debuglog('foo-bar');
629
- *
630
- * debuglog('hi there, it\'s foo-bar [%d]', 2333);
631
- * ```
632
- *
633
- * if it is run with `NODE_DEBUG=foo*` in the environment, then it will output
634
- * something like:
635
- *
636
- * ```console
637
- * FOO-BAR 3257: hi there, it's foo-bar [2333]
638
- * ```
639
- *
640
- * Multiple comma-separated `section` names may be specified in the `NODE_DEBUG`environment variable: `NODE_DEBUG=fs,net,tls`.
641
- *
642
- * The optional `callback` argument can be used to replace the logging function
643
- * with a different function that doesn't have any initialization or
644
- * unnecessary wrapping.
645
- *
646
- * ```js
647
- * import util from 'node:util';
648
- * let debuglog = util.debuglog('internals', (debug) => {
649
- * // Replace with a logging function that optimizes out
650
- * // testing if the section is enabled
651
- * debuglog = debug;
652
- * });
653
- * ```
654
- * @since v0.11.3
655
- * @param section A string identifying the portion of the application for which the `debuglog` function is being created.
656
- * @param callback A callback invoked the first time the logging function is called with a function argument that is a more optimized logging function.
657
- * @return The logging function
658
- */
659
- export function debuglog(section: string, callback?: (fn: DebugLoggerFunction) => void): DebugLogger;
660
- export const debug: typeof debuglog;
661
- /**
662
- * Returns `true` if the given `object` is a `Boolean`. Otherwise, returns `false`.
663
- *
664
- * ```js
665
- * import util from 'node:util';
666
- *
667
- * util.isBoolean(1);
668
- * // Returns: false
669
- * util.isBoolean(0);
670
- * // Returns: false
671
- * util.isBoolean(false);
672
- * // Returns: true
673
- * ```
674
- * @since v0.11.5
675
- * @deprecated Since v4.0.0 - Use `typeof value === 'boolean'` instead.
676
- */
677
- export function isBoolean(object: unknown): object is boolean;
678
- /**
679
- * Returns `true` if the given `object` is a `Buffer`. Otherwise, returns `false`.
680
- *
681
- * ```js
682
- * import util from 'node:util';
683
- *
684
- * util.isBuffer({ length: 0 });
685
- * // Returns: false
686
- * util.isBuffer([]);
687
- * // Returns: false
688
- * util.isBuffer(Buffer.from('hello world'));
689
- * // Returns: true
690
- * ```
691
- * @since v0.11.5
692
- * @deprecated Since v4.0.0 - Use `isBuffer` instead.
693
- */
694
- export function isBuffer(object: unknown): object is Buffer;
695
- /**
696
- * Returns `true` if the given `object` is a `Function`. Otherwise, returns `false`.
697
- *
698
- * ```js
699
- * import util from 'node:util';
700
- *
701
- * function Foo() {}
702
- * const Bar = () => {};
703
- *
704
- * util.isFunction({});
705
- * // Returns: false
706
- * util.isFunction(Foo);
707
- * // Returns: true
708
- * util.isFunction(Bar);
709
- * // Returns: true
710
- * ```
711
- * @since v0.11.5
712
- * @deprecated Since v4.0.0 - Use `typeof value === 'function'` instead.
713
- */
714
- export function isFunction(object: unknown): boolean;
715
- /**
716
- * Returns `true` if the given `object` is strictly `null`. Otherwise, returns`false`.
717
- *
718
- * ```js
719
- * import util from 'node:util';
720
- *
721
- * util.isNull(0);
722
- * // Returns: false
723
- * util.isNull(undefined);
724
- * // Returns: false
725
- * util.isNull(null);
726
- * // Returns: true
727
- * ```
728
- * @since v0.11.5
729
- * @deprecated Since v4.0.0 - Use `value === null` instead.
730
- */
731
- export function isNull(object: unknown): object is null;
732
- /**
733
- * Returns `true` if the given `object` is `null` or `undefined`. Otherwise,
734
- * returns `false`.
735
- *
736
- * ```js
737
- * import util from 'node:util';
738
- *
739
- * util.isNullOrUndefined(0);
740
- * // Returns: false
741
- * util.isNullOrUndefined(undefined);
742
- * // Returns: true
743
- * util.isNullOrUndefined(null);
744
- * // Returns: true
745
- * ```
746
- * @since v0.11.5
747
- * @deprecated Since v4.0.0 - Use `value === undefined || value === null` instead.
748
- */
749
- export function isNullOrUndefined(object: unknown): object is null | undefined;
750
- /**
751
- * Returns `true` if the given `object` is a `Number`. Otherwise, returns `false`.
752
- *
753
- * ```js
754
- * import util from 'node:util';
755
- *
756
- * util.isNumber(false);
757
- * // Returns: false
758
- * util.isNumber(Infinity);
759
- * // Returns: true
760
- * util.isNumber(0);
761
- * // Returns: true
762
- * util.isNumber(NaN);
763
- * // Returns: true
764
- * ```
765
- * @since v0.11.5
766
- * @deprecated Since v4.0.0 - Use `typeof value === 'number'` instead.
767
- */
768
- export function isNumber(object: unknown): object is number;
769
- /**
770
- * Returns `true` if the given `object` is strictly an `Object`**and** not a`Function` (even though functions are objects in JavaScript).
771
- * Otherwise, returns `false`.
772
- *
773
- * ```js
774
- * import util from 'node:util';
775
- *
776
- * util.isObject(5);
777
- * // Returns: false
778
- * util.isObject(null);
779
- * // Returns: false
780
- * util.isObject({});
781
- * // Returns: true
782
- * util.isObject(() => {});
783
- * // Returns: false
784
- * ```
785
- * @since v0.11.5
786
- * @deprecated Since v4.0.0 - Use `value !== null && typeof value === 'object'` instead.
787
- */
788
- export function isObject(object: unknown): boolean;
789
- /**
790
- * Returns `true` if the given `object` is a primitive type. Otherwise, returns`false`.
791
- *
792
- * ```js
793
- * import util from 'node:util';
794
- *
795
- * util.isPrimitive(5);
796
- * // Returns: true
797
- * util.isPrimitive('foo');
798
- * // Returns: true
799
- * util.isPrimitive(false);
800
- * // Returns: true
801
- * util.isPrimitive(null);
802
- * // Returns: true
803
- * util.isPrimitive(undefined);
804
- * // Returns: true
805
- * util.isPrimitive({});
806
- * // Returns: false
807
- * util.isPrimitive(() => {});
808
- * // Returns: false
809
- * util.isPrimitive(/^$/);
810
- * // Returns: false
811
- * util.isPrimitive(new Date());
812
- * // Returns: false
813
- * ```
814
- * @since v0.11.5
815
- * @deprecated Since v4.0.0 - Use `(typeof value !== 'object' && typeof value !== 'function') || value === null` instead.
816
- */
817
- export function isPrimitive(object: unknown): boolean;
818
- /**
819
- * Returns `true` if the given `object` is a `string`. Otherwise, returns `false`.
820
- *
821
- * ```js
822
- * import util from 'node:util';
823
- *
824
- * util.isString('');
825
- * // Returns: true
826
- * util.isString('foo');
827
- * // Returns: true
828
- * util.isString(String('foo'));
829
- * // Returns: true
830
- * util.isString(5);
831
- * // Returns: false
832
- * ```
833
- * @since v0.11.5
834
- * @deprecated Since v4.0.0 - Use `typeof value === 'string'` instead.
835
- */
836
- export function isString(object: unknown): object is string;
837
- /**
838
- * Returns `true` if the given `object` is a `Symbol`. Otherwise, returns `false`.
839
- *
840
- * ```js
841
- * import util from 'node:util';
842
- *
843
- * util.isSymbol(5);
844
- * // Returns: false
845
- * util.isSymbol('foo');
846
- * // Returns: false
847
- * util.isSymbol(Symbol('foo'));
848
- * // Returns: true
849
- * ```
850
- * @since v0.11.5
851
- * @deprecated Since v4.0.0 - Use `typeof value === 'symbol'` instead.
852
- */
853
- export function isSymbol(object: unknown): object is symbol;
854
- /**
855
- * Returns `true` if the given `object` is `undefined`. Otherwise, returns `false`.
856
- *
857
- * ```js
858
- * import util from 'node:util';
859
- *
860
- * const foo = undefined;
861
- * util.isUndefined(5);
862
- * // Returns: false
863
- * util.isUndefined(foo);
864
- * // Returns: true
865
- * util.isUndefined(null);
866
- * // Returns: false
867
- * ```
868
- * @since v0.11.5
869
- * @deprecated Since v4.0.0 - Use `value === undefined` instead.
870
- */
871
- export function isUndefined(object: unknown): object is undefined;
872
- /**
873
- * The `util.deprecate()` method wraps `fn` (which may be a function or class) in
874
- * such a way that it is marked as deprecated.
875
- *
876
- * ```js
877
- * import util from 'node:util';
878
- *
879
- * exports.obsoleteFunction = util.deprecate(() => {
880
- * // Do something here.
881
- * }, 'obsoleteFunction() is deprecated. Use newShinyFunction() instead.');
882
- * ```
883
- *
884
- * When called, `util.deprecate()` will return a function that will emit a `DeprecationWarning` using the `'warning'` event. The warning will
885
- * be emitted and printed to `stderr` the first time the returned function is
886
- * called. After the warning is emitted, the wrapped function is called without
887
- * emitting a warning.
888
- *
889
- * If the same optional `code` is supplied in multiple calls to `util.deprecate()`,
890
- * the warning will be emitted only once for that `code`.
891
- *
892
- * ```js
893
- * import util from 'node:util';
894
- *
895
- * const fn1 = util.deprecate(someFunction, someMessage, 'DEP0001');
896
- * const fn2 = util.deprecate(someOtherFunction, someOtherMessage, 'DEP0001');
897
- * fn1(); // Emits a deprecation warning with code DEP0001
898
- * fn2(); // Does not emit a deprecation warning because it has the same code
899
- * ```
900
- *
901
- * If either the `--no-deprecation` or `--no-warnings` command-line flags are
902
- * used, or if the `process.noDeprecation` property is set to `true`_prior_ to
903
- * the first deprecation warning, the `util.deprecate()` method does nothing.
904
- *
905
- * If the `--trace-deprecation` or `--trace-warnings` command-line flags are set,
906
- * or the `process.traceDeprecation` property is set to `true`, a warning and a
907
- * stack trace are printed to `stderr` the first time the deprecated function is
908
- * called.
909
- *
910
- * If the `--throw-deprecation` command-line flag is set, or the `process.throwDeprecation` property is set to `true`, then an exception will be
911
- * thrown when the deprecated function is called.
912
- *
913
- * The `--throw-deprecation` command-line flag and `process.throwDeprecation` property take precedence over `--trace-deprecation` and `process.traceDeprecation`.
914
- * @since v0.8.0
915
- * @param fn The function that is being deprecated.
916
- * @param msg A warning message to display when the deprecated function is invoked.
917
- * @param code A deprecation code. See the `list of deprecated APIs` for a list of codes.
918
- * @return The deprecated function wrapped to emit a warning.
919
- */
920
- export function deprecate<T extends Function>(fn: T, msg: string, code?: string): T;
921
- /**
922
- * Returns `true` if there is deep strict equality between `val1` and `val2`.
923
- * Otherwise, returns `false`.
924
- *
925
- * See `assert.deepStrictEqual()` for more information about deep strict
926
- * equality.
927
- * @since v9.0.0
928
- */
929
- export function isDeepStrictEqual(val1: unknown, val2: unknown): boolean;
930
- /**
931
- * Returns `str` with any ANSI escape codes removed.
932
- *
933
- * ```js
934
- * console.log(util.stripVTControlCharacters('\u001B[4mvalue\u001B[0m'));
935
- * // Prints "value"
936
- * ```
937
- * @since v16.11.0
938
- */
939
- export function stripVTControlCharacters(str: string): string;
940
- /**
941
- * Takes an `async` function (or a function that returns a `Promise`) and returns a
942
- * function following the error-first callback style, i.e. taking
943
- * an `(err, value) => ...` callback as the last argument. In the callback, the
944
- * first argument will be the rejection reason (or `null` if the `Promise` resolved), and the second argument will be the resolved value.
945
- *
946
- * ```js
947
- * import util from 'node:util';
948
- *
949
- * async function fn() {
950
- * return 'hello world';
951
- * }
952
- * const callbackFunction = util.callbackify(fn);
953
- *
954
- * callbackFunction((err, ret) => {
955
- * if (err) throw err;
956
- * console.log(ret);
957
- * });
958
- * ```
959
- *
960
- * Will print:
961
- *
962
- * ```text
963
- * hello world
964
- * ```
965
- *
966
- * The callback is executed asynchronously, and will have a limited stack trace.
967
- * If the callback throws, the process will emit an `'uncaughtException'` event, and if not handled will exit.
968
- *
969
- * Since `null` has a special meaning as the first argument to a callback, if a
970
- * wrapped function rejects a `Promise` with a falsy value as a reason, the value
971
- * is wrapped in an `Error` with the original value stored in a field named `reason`.
972
- *
973
- * ```js
974
- * function fn() {
975
- * return Promise.reject(null);
976
- * }
977
- * const callbackFunction = util.callbackify(fn);
978
- *
979
- * callbackFunction((err, ret) => {
980
- * // When the Promise was rejected with `null` it is wrapped with an Error and
981
- * // the original value is stored in `reason`.
982
- * err &#x26;&#x26; Object.hasOwn(err, 'reason') &#x26;&#x26; err.reason === null; // true
983
- * });
984
- * ```
985
- * @since v8.2.0
986
- * @param fn An `async` function
987
- * @return a callback style function
988
- */
989
- export function callbackify(fn: () => Promise<void>): (callback: (err: NodeJS.ErrnoException) => void) => void;
990
- export function callbackify<TResult>(
991
- fn: () => Promise<TResult>,
992
- ): (callback: (err: NodeJS.ErrnoException, result: TResult) => void) => void;
993
- export function callbackify<T1>(
994
- fn: (arg1: T1) => Promise<void>,
995
- ): (arg1: T1, callback: (err: NodeJS.ErrnoException) => void) => void;
996
- export function callbackify<T1, TResult>(
997
- fn: (arg1: T1) => Promise<TResult>,
998
- ): (arg1: T1, callback: (err: NodeJS.ErrnoException, result: TResult) => void) => void;
999
- export function callbackify<T1, T2>(
1000
- fn: (arg1: T1, arg2: T2) => Promise<void>,
1001
- ): (arg1: T1, arg2: T2, callback: (err: NodeJS.ErrnoException) => void) => void;
1002
- export function callbackify<T1, T2, TResult>(
1003
- fn: (arg1: T1, arg2: T2) => Promise<TResult>,
1004
- ): (arg1: T1, arg2: T2, callback: (err: NodeJS.ErrnoException | null, result: TResult) => void) => void;
1005
- export function callbackify<T1, T2, T3>(
1006
- fn: (arg1: T1, arg2: T2, arg3: T3) => Promise<void>,
1007
- ): (arg1: T1, arg2: T2, arg3: T3, callback: (err: NodeJS.ErrnoException) => void) => void;
1008
- export function callbackify<T1, T2, T3, TResult>(
1009
- fn: (arg1: T1, arg2: T2, arg3: T3) => Promise<TResult>,
1010
- ): (arg1: T1, arg2: T2, arg3: T3, callback: (err: NodeJS.ErrnoException | null, result: TResult) => void) => void;
1011
- export function callbackify<T1, T2, T3, T4>(
1012
- fn: (arg1: T1, arg2: T2, arg3: T3, arg4: T4) => Promise<void>,
1013
- ): (arg1: T1, arg2: T2, arg3: T3, arg4: T4, callback: (err: NodeJS.ErrnoException) => void) => void;
1014
- export function callbackify<T1, T2, T3, T4, TResult>(
1015
- fn: (arg1: T1, arg2: T2, arg3: T3, arg4: T4) => Promise<TResult>,
1016
- ): (
1017
- arg1: T1,
1018
- arg2: T2,
1019
- arg3: T3,
1020
- arg4: T4,
1021
- callback: (err: NodeJS.ErrnoException | null, result: TResult) => void,
1022
- ) => void;
1023
- export function callbackify<T1, T2, T3, T4, T5>(
1024
- fn: (arg1: T1, arg2: T2, arg3: T3, arg4: T4, arg5: T5) => Promise<void>,
1025
- ): (arg1: T1, arg2: T2, arg3: T3, arg4: T4, arg5: T5, callback: (err: NodeJS.ErrnoException) => void) => void;
1026
- export function callbackify<T1, T2, T3, T4, T5, TResult>(
1027
- fn: (arg1: T1, arg2: T2, arg3: T3, arg4: T4, arg5: T5) => Promise<TResult>,
1028
- ): (
1029
- arg1: T1,
1030
- arg2: T2,
1031
- arg3: T3,
1032
- arg4: T4,
1033
- arg5: T5,
1034
- callback: (err: NodeJS.ErrnoException | null, result: TResult) => void,
1035
- ) => void;
1036
- export function callbackify<T1, T2, T3, T4, T5, T6>(
1037
- fn: (arg1: T1, arg2: T2, arg3: T3, arg4: T4, arg5: T5, arg6: T6) => Promise<void>,
1038
- ): (
1039
- arg1: T1,
1040
- arg2: T2,
1041
- arg3: T3,
1042
- arg4: T4,
1043
- arg5: T5,
1044
- arg6: T6,
1045
- callback: (err: NodeJS.ErrnoException) => void,
1046
- ) => void;
1047
- export function callbackify<T1, T2, T3, T4, T5, T6, TResult>(
1048
- fn: (arg1: T1, arg2: T2, arg3: T3, arg4: T4, arg5: T5, arg6: T6) => Promise<TResult>,
1049
- ): (
1050
- arg1: T1,
1051
- arg2: T2,
1052
- arg3: T3,
1053
- arg4: T4,
1054
- arg5: T5,
1055
- arg6: T6,
1056
- callback: (err: NodeJS.ErrnoException | null, result: TResult) => void,
1057
- ) => void;
1058
- export interface CustomPromisifyLegacy<TCustom extends Function> extends Function {
1059
- __promisify__: TCustom;
1060
- }
1061
- export interface CustomPromisifySymbol<TCustom extends Function> extends Function {
1062
- [promisify.custom]: TCustom;
1063
- }
1064
- export type CustomPromisify<TCustom extends Function> =
1065
- | CustomPromisifySymbol<TCustom>
1066
- | CustomPromisifyLegacy<TCustom>;
1067
- /**
1068
- * Takes a function following the common error-first callback style, i.e. taking
1069
- * an `(err, value) => ...` callback as the last argument, and returns a version
1070
- * that returns promises.
1071
- *
1072
- * ```js
1073
- * import util from 'node:util';
1074
- * import fs from 'node:fs';
1075
- *
1076
- * const stat = util.promisify(fs.stat);
1077
- * stat('.').then((stats) => {
1078
- * // Do something with `stats`
1079
- * }).catch((error) => {
1080
- * // Handle the error.
1081
- * });
1082
- * ```
1083
- *
1084
- * Or, equivalently using `async function`s:
1085
- *
1086
- * ```js
1087
- * import util from 'node:util';
1088
- * import fs from 'node:fs';
1089
- *
1090
- * const stat = util.promisify(fs.stat);
1091
- *
1092
- * async function callStat() {
1093
- * const stats = await stat('.');
1094
- * console.log(`This directory is owned by ${stats.uid}`);
1095
- * }
1096
- *
1097
- * callStat();
1098
- * ```
1099
- *
1100
- * If there is an `original[util.promisify.custom]` property present, `promisify` will return its value, see `Custom promisified functions`.
1101
- *
1102
- * `promisify()` assumes that `original` is a function taking a callback as its
1103
- * final argument in all cases. If `original` is not a function, `promisify()` will throw an error. If `original` is a function but its last argument is not
1104
- * an error-first callback, it will still be passed an error-first
1105
- * callback as its last argument.
1106
- *
1107
- * Using `promisify()` on class methods or other methods that use `this` may not
1108
- * work as expected unless handled specially:
1109
- *
1110
- * ```js
1111
- * import util from 'node:util';
1112
- *
1113
- * class Foo {
1114
- * constructor() {
1115
- * this.a = 42;
1116
- * }
1117
- *
1118
- * bar(callback) {
1119
- * callback(null, this.a);
1120
- * }
1121
- * }
1122
- *
1123
- * const foo = new Foo();
1124
- *
1125
- * const naiveBar = util.promisify(foo.bar);
1126
- * // TypeError: Cannot read property 'a' of undefined
1127
- * // naiveBar().then(a => console.log(a));
1128
- *
1129
- * naiveBar.call(foo).then((a) => console.log(a)); // '42'
1130
- *
1131
- * const bindBar = naiveBar.bind(foo);
1132
- * bindBar().then((a) => console.log(a)); // '42'
1133
- * ```
1134
- * @since v8.0.0
1135
- */
1136
- export function promisify<TCustom extends Function>(fn: CustomPromisify<TCustom>): TCustom;
1137
- export function promisify<TResult>(
1138
- fn: (callback: (err: any, result: TResult) => void) => void,
1139
- ): () => Promise<TResult>;
1140
- export function promisify(fn: (callback: (err?: any) => void) => void): () => Promise<void>;
1141
- export function promisify<T1, TResult>(
1142
- fn: (arg1: T1, callback: (err: any, result: TResult) => void) => void,
1143
- ): (arg1: T1) => Promise<TResult>;
1144
- export function promisify<T1>(fn: (arg1: T1, callback: (err?: any) => void) => void): (arg1: T1) => Promise<void>;
1145
- export function promisify<T1, T2, TResult>(
1146
- fn: (arg1: T1, arg2: T2, callback: (err: any, result: TResult) => void) => void,
1147
- ): (arg1: T1, arg2: T2) => Promise<TResult>;
1148
- export function promisify<T1, T2>(
1149
- fn: (arg1: T1, arg2: T2, callback: (err?: any) => void) => void,
1150
- ): (arg1: T1, arg2: T2) => Promise<void>;
1151
- export function promisify<T1, T2, T3, TResult>(
1152
- fn: (arg1: T1, arg2: T2, arg3: T3, callback: (err: any, result: TResult) => void) => void,
1153
- ): (arg1: T1, arg2: T2, arg3: T3) => Promise<TResult>;
1154
- export function promisify<T1, T2, T3>(
1155
- fn: (arg1: T1, arg2: T2, arg3: T3, callback: (err?: any) => void) => void,
1156
- ): (arg1: T1, arg2: T2, arg3: T3) => Promise<void>;
1157
- export function promisify<T1, T2, T3, T4, TResult>(
1158
- fn: (arg1: T1, arg2: T2, arg3: T3, arg4: T4, callback: (err: any, result: TResult) => void) => void,
1159
- ): (arg1: T1, arg2: T2, arg3: T3, arg4: T4) => Promise<TResult>;
1160
- export function promisify<T1, T2, T3, T4>(
1161
- fn: (arg1: T1, arg2: T2, arg3: T3, arg4: T4, callback: (err?: any) => void) => void,
1162
- ): (arg1: T1, arg2: T2, arg3: T3, arg4: T4) => Promise<void>;
1163
- export function promisify<T1, T2, T3, T4, T5, TResult>(
1164
- fn: (arg1: T1, arg2: T2, arg3: T3, arg4: T4, arg5: T5, callback: (err: any, result: TResult) => void) => void,
1165
- ): (arg1: T1, arg2: T2, arg3: T3, arg4: T4, arg5: T5) => Promise<TResult>;
1166
- export function promisify<T1, T2, T3, T4, T5>(
1167
- fn: (arg1: T1, arg2: T2, arg3: T3, arg4: T4, arg5: T5, callback: (err?: any) => void) => void,
1168
- ): (arg1: T1, arg2: T2, arg3: T3, arg4: T4, arg5: T5) => Promise<void>;
1169
- export function promisify(fn: Function): Function;
1170
- export namespace promisify {
1171
- /**
1172
- * That can be used to declare custom promisified variants of functions.
1173
- */
1174
- const custom: unique symbol;
1175
- }
1176
- /**
1177
- * Stability: 1.1 - Active development
1178
- * Given an example `.env` file:
1179
- *
1180
- * ```js
1181
- * import { parseEnv } from 'node:util';
1182
- *
1183
- * parseEnv('HELLO=world\nHELLO=oh my\n');
1184
- * // Returns: { HELLO: 'oh my' }
1185
- * ```
1186
- * @param content The raw contents of a `.env` file.
1187
- * @since v20.12.0
1188
- */
1189
- export function parseEnv(content: string): NodeJS.Dict<string>;
1190
- // https://nodejs.org/docs/latest/api/util.html#foreground-colors
1191
- type ForegroundColors =
1192
- | "black"
1193
- | "blackBright"
1194
- | "blue"
1195
- | "blueBright"
1196
- | "cyan"
1197
- | "cyanBright"
1198
- | "gray"
1199
- | "green"
1200
- | "greenBright"
1201
- | "grey"
1202
- | "magenta"
1203
- | "magentaBright"
1204
- | "red"
1205
- | "redBright"
1206
- | "white"
1207
- | "whiteBright"
1208
- | "yellow"
1209
- | "yellowBright";
1210
- // https://nodejs.org/docs/latest/api/util.html#background-colors
1211
- type BackgroundColors =
1212
- | "bgBlack"
1213
- | "bgBlackBright"
1214
- | "bgBlue"
1215
- | "bgBlueBright"
1216
- | "bgCyan"
1217
- | "bgCyanBright"
1218
- | "bgGray"
1219
- | "bgGreen"
1220
- | "bgGreenBright"
1221
- | "bgGrey"
1222
- | "bgMagenta"
1223
- | "bgMagentaBright"
1224
- | "bgRed"
1225
- | "bgRedBright"
1226
- | "bgWhite"
1227
- | "bgWhiteBright"
1228
- | "bgYellow"
1229
- | "bgYellowBright";
1230
- // https://nodejs.org/docs/latest/api/util.html#modifiers
1231
- type Modifiers =
1232
- | "blink"
1233
- | "bold"
1234
- | "dim"
1235
- | "doubleunderline"
1236
- | "framed"
1237
- | "hidden"
1238
- | "inverse"
1239
- | "italic"
1240
- | "overlined"
1241
- | "reset"
1242
- | "strikethrough"
1243
- | "underline";
1244
- export interface StyleTextOptions {
1245
- /**
1246
- * When true, `stream` is checked to see if it can handle colors.
1247
- * @default true
1248
- */
1249
- validateStream?: boolean | undefined;
1250
- /**
1251
- * A stream that will be validated if it can be colored.
1252
- * @default process.stdout
1253
- */
1254
- stream?: NodeJS.WritableStream | undefined;
1255
- }
1256
- /**
1257
- * Stability: 1.1 - Active development
1258
- *
1259
- * This function returns a formatted text considering the `format` passed.
1260
- *
1261
- * ```js
1262
- * import { styleText } from 'node:util';
1263
- * const errorMessage = styleText('red', 'Error! Error!');
1264
- * console.log(errorMessage);
1265
- * ```
1266
- *
1267
- * `util.inspect.colors` also provides text formats such as `italic`, and `underline` and you can combine both:
1268
- *
1269
- * ```js
1270
- * console.log(
1271
- * util.styleText(['underline', 'italic'], 'My italic underlined message'),
1272
- * );
1273
- * ```
1274
- *
1275
- * When passing an array of formats, the order of the format applied is left to right so the following style
1276
- * might overwrite the previous one.
1277
- *
1278
- * ```js
1279
- * console.log(
1280
- * util.styleText(['red', 'green'], 'text'), // green
1281
- * );
1282
- * ```
1283
- *
1284
- * The full list of formats can be found in [modifiers](https://nodejs.org/docs/latest-v20.x/api/util.html#modifiers).
1285
- * @param format A text format or an Array of text formats defined in `util.inspect.colors`.
1286
- * @param text The text to to be formatted.
1287
- * @since v20.12.0
1288
- */
1289
- export function styleText(
1290
- format:
1291
- | ForegroundColors
1292
- | BackgroundColors
1293
- | Modifiers
1294
- | Array<ForegroundColors | BackgroundColors | Modifiers>,
1295
- text: string,
1296
- options?: StyleTextOptions,
1297
- ): string;
1298
- /**
1299
- * An implementation of the [WHATWG Encoding Standard](https://encoding.spec.whatwg.org/) `TextDecoder` API.
1300
- *
1301
- * ```js
1302
- * const decoder = new TextDecoder();
1303
- * const u8arr = new Uint8Array([72, 101, 108, 108, 111]);
1304
- * console.log(decoder.decode(u8arr)); // Hello
1305
- * ```
1306
- * @since v8.3.0
1307
- */
1308
- export class TextDecoder {
1309
- /**
1310
- * The encoding supported by the `TextDecoder` instance.
1311
- */
1312
- readonly encoding: string;
1313
- /**
1314
- * The value will be `true` if decoding errors result in a `TypeError` being
1315
- * thrown.
1316
- */
1317
- readonly fatal: boolean;
1318
- /**
1319
- * The value will be `true` if the decoding result will include the byte order
1320
- * mark.
1321
- */
1322
- readonly ignoreBOM: boolean;
1323
- constructor(
1324
- encoding?: string,
1325
- options?: {
1326
- fatal?: boolean | undefined;
1327
- ignoreBOM?: boolean | undefined;
1328
- },
1329
- );
1330
- /**
1331
- * Decodes the `input` and returns a string. If `options.stream` is `true`, any
1332
- * incomplete byte sequences occurring at the end of the `input` are buffered
1333
- * internally and emitted after the next call to `textDecoder.decode()`.
1334
- *
1335
- * If `textDecoder.fatal` is `true`, decoding errors that occur will result in a `TypeError` being thrown.
1336
- * @param input An `ArrayBuffer`, `DataView`, or `TypedArray` instance containing the encoded data.
1337
- */
1338
- decode(
1339
- input?: NodeJS.ArrayBufferView | ArrayBuffer | null,
1340
- options?: {
1341
- stream?: boolean | undefined;
1342
- },
1343
- ): string;
1344
- }
1345
- export interface EncodeIntoResult {
1346
- /**
1347
- * The read Unicode code units of input.
1348
- */
1349
- read: number;
1350
- /**
1351
- * The written UTF-8 bytes of output.
1352
- */
1353
- written: number;
1354
- }
1355
- export { types };
1356
-
1357
- //// TextEncoder/Decoder
1358
- /**
1359
- * An implementation of the [WHATWG Encoding Standard](https://encoding.spec.whatwg.org/) `TextEncoder` API. All
1360
- * instances of `TextEncoder` only support UTF-8 encoding.
1361
- *
1362
- * ```js
1363
- * const encoder = new TextEncoder();
1364
- * const uint8array = encoder.encode('this is some data');
1365
- * ```
1366
- *
1367
- * The `TextEncoder` class is also available on the global object.
1368
- * @since v8.3.0
1369
- */
1370
- export class TextEncoder {
1371
- /**
1372
- * The encoding supported by the `TextEncoder` instance. Always set to `'utf-8'`.
1373
- */
1374
- readonly encoding: string;
1375
- /**
1376
- * UTF-8 encodes the `input` string and returns a `Uint8Array` containing the
1377
- * encoded bytes.
1378
- * @param [input='an empty string'] The text to encode.
1379
- */
1380
- encode(input?: string): Uint8Array;
1381
- /**
1382
- * UTF-8 encodes the `src` string to the `dest` Uint8Array and returns an object
1383
- * containing the read Unicode code units and written UTF-8 bytes.
1384
- *
1385
- * ```js
1386
- * const encoder = new TextEncoder();
1387
- * const src = 'this is some data';
1388
- * const dest = new Uint8Array(10);
1389
- * const { read, written } = encoder.encodeInto(src, dest);
1390
- * ```
1391
- * @param src The text to encode.
1392
- * @param dest The array to hold the encode result.
1393
- */
1394
- encodeInto(src: string, dest: Uint8Array): EncodeIntoResult;
1395
- }
1396
- import { TextDecoder as _TextDecoder, TextEncoder as _TextEncoder } from "util";
1397
- global {
1398
- /**
1399
- * `TextDecoder` class is a global reference for `import { TextDecoder } from 'node:util'`
1400
- * https://nodejs.org/api/globals.html#textdecoder
1401
- * @since v11.0.0
1402
- */
1403
- var TextDecoder: typeof globalThis extends {
1404
- onmessage: any;
1405
- TextDecoder: infer TextDecoder;
1406
- } ? TextDecoder
1407
- : typeof _TextDecoder;
1408
- /**
1409
- * `TextEncoder` class is a global reference for `import { TextEncoder } from 'node:util'`
1410
- * https://nodejs.org/api/globals.html#textencoder
1411
- * @since v11.0.0
1412
- */
1413
- var TextEncoder: typeof globalThis extends {
1414
- onmessage: any;
1415
- TextEncoder: infer TextEncoder;
1416
- } ? TextEncoder
1417
- : typeof _TextEncoder;
1418
- }
1419
-
1420
- //// parseArgs
1421
- /**
1422
- * Provides a higher level API for command-line argument parsing than interacting
1423
- * with `process.argv` directly. Takes a specification for the expected arguments
1424
- * and returns a structured object with the parsed options and positionals.
1425
- *
1426
- * ```js
1427
- * import { parseArgs } from 'node:util';
1428
- * const args = ['-f', '--bar', 'b'];
1429
- * const options = {
1430
- * foo: {
1431
- * type: 'boolean',
1432
- * short: 'f',
1433
- * },
1434
- * bar: {
1435
- * type: 'string',
1436
- * },
1437
- * };
1438
- * const {
1439
- * values,
1440
- * positionals,
1441
- * } = parseArgs({ args, options });
1442
- * console.log(values, positionals);
1443
- * // Prints: [Object: null prototype] { foo: true, bar: 'b' } []
1444
- * ```
1445
- * @since v18.3.0, v16.17.0
1446
- * @param config Used to provide arguments for parsing and to configure the parser. `config` supports the following properties:
1447
- * @return The parsed command line arguments:
1448
- */
1449
- export function parseArgs<T extends ParseArgsConfig>(config?: T): ParsedResults<T>;
1450
- interface ParseArgsOptionConfig {
1451
- /**
1452
- * Type of argument.
1453
- */
1454
- type: "string" | "boolean";
1455
- /**
1456
- * Whether this option can be provided multiple times.
1457
- * If `true`, all values will be collected in an array.
1458
- * If `false`, values for the option are last-wins.
1459
- * @default false.
1460
- */
1461
- multiple?: boolean | undefined;
1462
- /**
1463
- * A single character alias for the option.
1464
- */
1465
- short?: string | undefined;
1466
- /**
1467
- * The default option value when it is not set by args.
1468
- * It must be of the same type as the the `type` property.
1469
- * When `multiple` is `true`, it must be an array.
1470
- * @since v18.11.0
1471
- */
1472
- default?: string | boolean | string[] | boolean[] | undefined;
1473
- }
1474
- interface ParseArgsOptionsConfig {
1475
- [longOption: string]: ParseArgsOptionConfig;
1476
- }
1477
- export interface ParseArgsConfig {
1478
- /**
1479
- * Array of argument strings.
1480
- */
1481
- args?: string[] | undefined;
1482
- /**
1483
- * Used to describe arguments known to the parser.
1484
- */
1485
- options?: ParseArgsOptionsConfig | undefined;
1486
- /**
1487
- * Should an error be thrown when unknown arguments are encountered,
1488
- * or when arguments are passed that do not match the `type` configured in `options`.
1489
- * @default true
1490
- */
1491
- strict?: boolean | undefined;
1492
- /**
1493
- * Whether this command accepts positional arguments.
1494
- */
1495
- allowPositionals?: boolean | undefined;
1496
- /**
1497
- * If `true`, allows explicitly setting boolean options to `false` by prefixing the option name with `--no-`.
1498
- * @default false
1499
- * @since v20.16.0
1500
- */
1501
- allowNegative?: boolean | undefined;
1502
- /**
1503
- * Return the parsed tokens. This is useful for extending the built-in behavior,
1504
- * from adding additional checks through to reprocessing the tokens in different ways.
1505
- * @default false
1506
- */
1507
- tokens?: boolean | undefined;
1508
- }
1509
- /*
1510
- IfDefaultsTrue and IfDefaultsFalse are helpers to handle default values for missing boolean properties.
1511
- TypeScript does not have exact types for objects: https://github.com/microsoft/TypeScript/issues/12936
1512
- This means it is impossible to distinguish between "field X is definitely not present" and "field X may or may not be present".
1513
- But we expect users to generally provide their config inline or `as const`, which means TS will always know whether a given field is present.
1514
- So this helper treats "not definitely present" (i.e., not `extends boolean`) as being "definitely not present", i.e. it should have its default value.
1515
- This is technically incorrect but is a much nicer UX for the common case.
1516
- The IfDefaultsTrue version is for things which default to true; the IfDefaultsFalse version is for things which default to false.
1517
- */
1518
- type IfDefaultsTrue<T, IfTrue, IfFalse> = T extends true ? IfTrue
1519
- : T extends false ? IfFalse
1520
- : IfTrue;
1521
-
1522
- // we put the `extends false` condition first here because `undefined` compares like `any` when `strictNullChecks: false`
1523
- type IfDefaultsFalse<T, IfTrue, IfFalse> = T extends false ? IfFalse
1524
- : T extends true ? IfTrue
1525
- : IfFalse;
1526
-
1527
- type ExtractOptionValue<T extends ParseArgsConfig, O extends ParseArgsOptionConfig> = IfDefaultsTrue<
1528
- T["strict"],
1529
- O["type"] extends "string" ? string : O["type"] extends "boolean" ? boolean : string | boolean,
1530
- string | boolean
1531
- >;
1532
-
1533
- type ApplyOptionalModifiers<O extends ParseArgsOptionsConfig, V extends Record<keyof O, unknown>> = (
1534
- & { -readonly [LongOption in keyof O]?: V[LongOption] }
1535
- & { [LongOption in keyof O as O[LongOption]["default"] extends {} ? LongOption : never]: V[LongOption] }
1536
- ) extends infer P ? { [K in keyof P]: P[K] } : never; // resolve intersection to object
1537
-
1538
- type ParsedValues<T extends ParseArgsConfig> =
1539
- & IfDefaultsTrue<T["strict"], unknown, { [longOption: string]: undefined | string | boolean }>
1540
- & (T["options"] extends ParseArgsOptionsConfig ? ApplyOptionalModifiers<
1541
- T["options"],
1542
- {
1543
- [LongOption in keyof T["options"]]: IfDefaultsFalse<
1544
- T["options"][LongOption]["multiple"],
1545
- Array<ExtractOptionValue<T, T["options"][LongOption]>>,
1546
- ExtractOptionValue<T, T["options"][LongOption]>
1547
- >;
1548
- }
1549
- >
1550
- : {});
1551
-
1552
- type ParsedPositionals<T extends ParseArgsConfig> = IfDefaultsTrue<
1553
- T["strict"],
1554
- IfDefaultsFalse<T["allowPositionals"], string[], []>,
1555
- IfDefaultsTrue<T["allowPositionals"], string[], []>
1556
- >;
1557
-
1558
- type PreciseTokenForOptions<
1559
- K extends string,
1560
- O extends ParseArgsOptionConfig,
1561
- > = O["type"] extends "string" ? {
1562
- kind: "option";
1563
- index: number;
1564
- name: K;
1565
- rawName: string;
1566
- value: string;
1567
- inlineValue: boolean;
1568
- }
1569
- : O["type"] extends "boolean" ? {
1570
- kind: "option";
1571
- index: number;
1572
- name: K;
1573
- rawName: string;
1574
- value: undefined;
1575
- inlineValue: undefined;
1576
- }
1577
- : OptionToken & { name: K };
1578
-
1579
- type TokenForOptions<
1580
- T extends ParseArgsConfig,
1581
- K extends keyof T["options"] = keyof T["options"],
1582
- > = K extends unknown
1583
- ? T["options"] extends ParseArgsOptionsConfig ? PreciseTokenForOptions<K & string, T["options"][K]>
1584
- : OptionToken
1585
- : never;
1586
-
1587
- type ParsedOptionToken<T extends ParseArgsConfig> = IfDefaultsTrue<T["strict"], TokenForOptions<T>, OptionToken>;
1588
-
1589
- type ParsedPositionalToken<T extends ParseArgsConfig> = IfDefaultsTrue<
1590
- T["strict"],
1591
- IfDefaultsFalse<T["allowPositionals"], { kind: "positional"; index: number; value: string }, never>,
1592
- IfDefaultsTrue<T["allowPositionals"], { kind: "positional"; index: number; value: string }, never>
1593
- >;
1594
-
1595
- type ParsedTokens<T extends ParseArgsConfig> = Array<
1596
- ParsedOptionToken<T> | ParsedPositionalToken<T> | { kind: "option-terminator"; index: number }
1597
- >;
1598
-
1599
- type PreciseParsedResults<T extends ParseArgsConfig> = IfDefaultsFalse<
1600
- T["tokens"],
1601
- {
1602
- values: ParsedValues<T>;
1603
- positionals: ParsedPositionals<T>;
1604
- tokens: ParsedTokens<T>;
1605
- },
1606
- {
1607
- values: ParsedValues<T>;
1608
- positionals: ParsedPositionals<T>;
1609
- }
1610
- >;
1611
-
1612
- type OptionToken =
1613
- | { kind: "option"; index: number; name: string; rawName: string; value: string; inlineValue: boolean }
1614
- | {
1615
- kind: "option";
1616
- index: number;
1617
- name: string;
1618
- rawName: string;
1619
- value: undefined;
1620
- inlineValue: undefined;
1621
- };
1622
-
1623
- type Token =
1624
- | OptionToken
1625
- | { kind: "positional"; index: number; value: string }
1626
- | { kind: "option-terminator"; index: number };
1627
-
1628
- // If ParseArgsConfig extends T, then the user passed config constructed elsewhere.
1629
- // So we can't rely on the `"not definitely present" implies "definitely not present"` assumption mentioned above.
1630
- type ParsedResults<T extends ParseArgsConfig> = ParseArgsConfig extends T ? {
1631
- values: {
1632
- [longOption: string]: undefined | string | boolean | Array<string | boolean>;
1633
- };
1634
- positionals: string[];
1635
- tokens?: Token[];
1636
- }
1637
- : PreciseParsedResults<T>;
1638
-
1639
- /**
1640
- * An implementation of [the MIMEType class](https://bmeck.github.io/node-proposal-mime-api/).
1641
- *
1642
- * In accordance with browser conventions, all properties of `MIMEType` objects
1643
- * are implemented as getters and setters on the class prototype, rather than as
1644
- * data properties on the object itself.
1645
- *
1646
- * A MIME string is a structured string containing multiple meaningful
1647
- * components. When parsed, a `MIMEType` object is returned containing
1648
- * properties for each of these components.
1649
- * @since v19.1.0, v18.13.0
1650
- * @experimental
1651
- */
1652
- export class MIMEType {
1653
- /**
1654
- * Creates a new MIMEType object by parsing the input.
1655
- *
1656
- * A `TypeError` will be thrown if the `input` is not a valid MIME.
1657
- * Note that an effort will be made to coerce the given values into strings.
1658
- * @param input The input MIME to parse.
1659
- */
1660
- constructor(input: string | { toString: () => string });
1661
-
1662
- /**
1663
- * Gets and sets the type portion of the MIME.
1664
- *
1665
- * ```js
1666
- * import { MIMEType } from 'node:util';
1667
- *
1668
- * const myMIME = new MIMEType('text/javascript');
1669
- * console.log(myMIME.type);
1670
- * // Prints: text
1671
- * myMIME.type = 'application';
1672
- * console.log(myMIME.type);
1673
- * // Prints: application
1674
- * console.log(String(myMIME));
1675
- * // Prints: application/javascript
1676
- * ```
1677
- */
1678
- type: string;
1679
- /**
1680
- * Gets and sets the subtype portion of the MIME.
1681
- *
1682
- * ```js
1683
- * import { MIMEType } from 'node:util';
1684
- *
1685
- * const myMIME = new MIMEType('text/ecmascript');
1686
- * console.log(myMIME.subtype);
1687
- * // Prints: ecmascript
1688
- * myMIME.subtype = 'javascript';
1689
- * console.log(myMIME.subtype);
1690
- * // Prints: javascript
1691
- * console.log(String(myMIME));
1692
- * // Prints: text/javascript
1693
- * ```
1694
- */
1695
- subtype: string;
1696
- /**
1697
- * Gets the essence of the MIME. This property is read only.
1698
- * Use `mime.type` or `mime.subtype` to alter the MIME.
1699
- *
1700
- * ```js
1701
- * import { MIMEType } from 'node:util';
1702
- *
1703
- * const myMIME = new MIMEType('text/javascript;key=value');
1704
- * console.log(myMIME.essence);
1705
- * // Prints: text/javascript
1706
- * myMIME.type = 'application';
1707
- * console.log(myMIME.essence);
1708
- * // Prints: application/javascript
1709
- * console.log(String(myMIME));
1710
- * // Prints: application/javascript;key=value
1711
- * ```
1712
- */
1713
- readonly essence: string;
1714
- /**
1715
- * Gets the `MIMEParams` object representing the
1716
- * parameters of the MIME. This property is read-only. See `MIMEParams` documentation for details.
1717
- */
1718
- readonly params: MIMEParams;
1719
- /**
1720
- * The `toString()` method on the `MIMEType` object returns the serialized MIME.
1721
- *
1722
- * Because of the need for standard compliance, this method does not allow users
1723
- * to customize the serialization process of the MIME.
1724
- */
1725
- toString(): string;
1726
- }
1727
- /**
1728
- * The `MIMEParams` API provides read and write access to the parameters of a `MIMEType`.
1729
- * @since v19.1.0, v18.13.0
1730
- */
1731
- export class MIMEParams {
1732
- /**
1733
- * Remove all name-value pairs whose name is `name`.
1734
- */
1735
- delete(name: string): void;
1736
- /**
1737
- * Returns an iterator over each of the name-value pairs in the parameters.
1738
- * Each item of the iterator is a JavaScript `Array`. The first item of the array
1739
- * is the `name`, the second item of the array is the `value`.
1740
- */
1741
- entries(): NodeJS.Iterator<[name: string, value: string]>;
1742
- /**
1743
- * Returns the value of the first name-value pair whose name is `name`. If there
1744
- * are no such pairs, `null` is returned.
1745
- * @return or `null` if there is no name-value pair with the given `name`.
1746
- */
1747
- get(name: string): string | null;
1748
- /**
1749
- * Returns `true` if there is at least one name-value pair whose name is `name`.
1750
- */
1751
- has(name: string): boolean;
1752
- /**
1753
- * Returns an iterator over the names of each name-value pair.
1754
- *
1755
- * ```js
1756
- * import { MIMEType } from 'node:util';
1757
- *
1758
- * const { params } = new MIMEType('text/plain;foo=0;bar=1');
1759
- * for (const name of params.keys()) {
1760
- * console.log(name);
1761
- * }
1762
- * // Prints:
1763
- * // foo
1764
- * // bar
1765
- * ```
1766
- */
1767
- keys(): NodeJS.Iterator<string>;
1768
- /**
1769
- * Sets the value in the `MIMEParams` object associated with `name` to `value`. If there are any pre-existing name-value pairs whose names are `name`,
1770
- * set the first such pair's value to `value`.
1771
- *
1772
- * ```js
1773
- * import { MIMEType } from 'node:util';
1774
- *
1775
- * const { params } = new MIMEType('text/plain;foo=0;bar=1');
1776
- * params.set('foo', 'def');
1777
- * params.set('baz', 'xyz');
1778
- * console.log(params.toString());
1779
- * // Prints: foo=def;bar=1;baz=xyz
1780
- * ```
1781
- */
1782
- set(name: string, value: string): void;
1783
- /**
1784
- * Returns an iterator over the values of each name-value pair.
1785
- */
1786
- values(): NodeJS.Iterator<string>;
1787
- /**
1788
- * Returns an iterator over each of the name-value pairs in the parameters.
1789
- */
1790
- [Symbol.iterator](): NodeJS.Iterator<[name: string, value: string]>;
1791
- }
1792
- }
1793
- declare module "util/types" {
1794
- import { KeyObject, webcrypto } from "node:crypto";
1795
- /**
1796
- * Returns `true` if the value is a built-in [`ArrayBuffer`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer) or
1797
- * [`SharedArrayBuffer`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/SharedArrayBuffer) instance.
1798
- *
1799
- * See also `util.types.isArrayBuffer()` and `util.types.isSharedArrayBuffer()`.
1800
- *
1801
- * ```js
1802
- * util.types.isAnyArrayBuffer(new ArrayBuffer()); // Returns true
1803
- * util.types.isAnyArrayBuffer(new SharedArrayBuffer()); // Returns true
1804
- * ```
1805
- * @since v10.0.0
1806
- */
1807
- function isAnyArrayBuffer(object: unknown): object is ArrayBufferLike;
1808
- /**
1809
- * Returns `true` if the value is an `arguments` object.
1810
- *
1811
- * ```js
1812
- * function foo() {
1813
- * util.types.isArgumentsObject(arguments); // Returns true
1814
- * }
1815
- * ```
1816
- * @since v10.0.0
1817
- */
1818
- function isArgumentsObject(object: unknown): object is IArguments;
1819
- /**
1820
- * Returns `true` if the value is a built-in [`ArrayBuffer`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer) instance.
1821
- * This does _not_ include [`SharedArrayBuffer`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/SharedArrayBuffer) instances. Usually, it is
1822
- * desirable to test for both; See `util.types.isAnyArrayBuffer()` for that.
1823
- *
1824
- * ```js
1825
- * util.types.isArrayBuffer(new ArrayBuffer()); // Returns true
1826
- * util.types.isArrayBuffer(new SharedArrayBuffer()); // Returns false
1827
- * ```
1828
- * @since v10.0.0
1829
- */
1830
- function isArrayBuffer(object: unknown): object is ArrayBuffer;
1831
- /**
1832
- * Returns `true` if the value is an instance of one of the [`ArrayBuffer`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer) views, such as typed
1833
- * array objects or [`DataView`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DataView). Equivalent to
1834
- * [`ArrayBuffer.isView()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer/isView).
1835
- *
1836
- * ```js
1837
- * util.types.isArrayBufferView(new Int8Array()); // true
1838
- * util.types.isArrayBufferView(Buffer.from('hello world')); // true
1839
- * util.types.isArrayBufferView(new DataView(new ArrayBuffer(16))); // true
1840
- * util.types.isArrayBufferView(new ArrayBuffer()); // false
1841
- * ```
1842
- * @since v10.0.0
1843
- */
1844
- function isArrayBufferView(object: unknown): object is NodeJS.ArrayBufferView;
1845
- /**
1846
- * Returns `true` if the value is an [async function](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/async_function).
1847
- * This only reports back what the JavaScript engine is seeing;
1848
- * in particular, the return value may not match the original source code if
1849
- * a transpilation tool was used.
1850
- *
1851
- * ```js
1852
- * util.types.isAsyncFunction(function foo() {}); // Returns false
1853
- * util.types.isAsyncFunction(async function foo() {}); // Returns true
1854
- * ```
1855
- * @since v10.0.0
1856
- */
1857
- function isAsyncFunction(object: unknown): boolean;
1858
- /**
1859
- * Returns `true` if the value is a `BigInt64Array` instance.
1860
- *
1861
- * ```js
1862
- * util.types.isBigInt64Array(new BigInt64Array()); // Returns true
1863
- * util.types.isBigInt64Array(new BigUint64Array()); // Returns false
1864
- * ```
1865
- * @since v10.0.0
1866
- */
1867
- function isBigInt64Array(value: unknown): value is BigInt64Array;
1868
- /**
1869
- * Returns `true` if the value is a BigInt object, e.g. created
1870
- * by `Object(BigInt(123))`.
1871
- *
1872
- * ```js
1873
- * util.types.isBigIntObject(Object(BigInt(123))); // Returns true
1874
- * util.types.isBigIntObject(BigInt(123)); // Returns false
1875
- * util.types.isBigIntObject(123); // Returns false
1876
- * ```
1877
- * @since v10.4.0
1878
- */
1879
- function isBigIntObject(object: unknown): object is BigInt;
1880
- /**
1881
- * Returns `true` if the value is a `BigUint64Array` instance.
1882
- *
1883
- * ```js
1884
- * util.types.isBigUint64Array(new BigInt64Array()); // Returns false
1885
- * util.types.isBigUint64Array(new BigUint64Array()); // Returns true
1886
- * ```
1887
- * @since v10.0.0
1888
- */
1889
- function isBigUint64Array(value: unknown): value is BigUint64Array;
1890
- /**
1891
- * Returns `true` if the value is a boolean object, e.g. created
1892
- * by `new Boolean()`.
1893
- *
1894
- * ```js
1895
- * util.types.isBooleanObject(false); // Returns false
1896
- * util.types.isBooleanObject(true); // Returns false
1897
- * util.types.isBooleanObject(new Boolean(false)); // Returns true
1898
- * util.types.isBooleanObject(new Boolean(true)); // Returns true
1899
- * util.types.isBooleanObject(Boolean(false)); // Returns false
1900
- * util.types.isBooleanObject(Boolean(true)); // Returns false
1901
- * ```
1902
- * @since v10.0.0
1903
- */
1904
- function isBooleanObject(object: unknown): object is Boolean;
1905
- /**
1906
- * Returns `true` if the value is any boxed primitive object, e.g. created
1907
- * by `new Boolean()`, `new String()` or `Object(Symbol())`.
1908
- *
1909
- * For example:
1910
- *
1911
- * ```js
1912
- * util.types.isBoxedPrimitive(false); // Returns false
1913
- * util.types.isBoxedPrimitive(new Boolean(false)); // Returns true
1914
- * util.types.isBoxedPrimitive(Symbol('foo')); // Returns false
1915
- * util.types.isBoxedPrimitive(Object(Symbol('foo'))); // Returns true
1916
- * util.types.isBoxedPrimitive(Object(BigInt(5))); // Returns true
1917
- * ```
1918
- * @since v10.11.0
1919
- */
1920
- function isBoxedPrimitive(object: unknown): object is String | Number | BigInt | Boolean | Symbol;
1921
- /**
1922
- * Returns `true` if the value is a built-in [`DataView`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DataView) instance.
1923
- *
1924
- * ```js
1925
- * const ab = new ArrayBuffer(20);
1926
- * util.types.isDataView(new DataView(ab)); // Returns true
1927
- * util.types.isDataView(new Float64Array()); // Returns false
1928
- * ```
1929
- *
1930
- * See also [`ArrayBuffer.isView()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer/isView).
1931
- * @since v10.0.0
1932
- */
1933
- function isDataView(object: unknown): object is DataView;
1934
- /**
1935
- * Returns `true` if the value is a built-in [`Date`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) instance.
1936
- *
1937
- * ```js
1938
- * util.types.isDate(new Date()); // Returns true
1939
- * ```
1940
- * @since v10.0.0
1941
- */
1942
- function isDate(object: unknown): object is Date;
1943
- /**
1944
- * Returns `true` if the value is a native `External` value.
1945
- *
1946
- * A native `External` value is a special type of object that contains a
1947
- * raw C++ pointer (`void*`) for access from native code, and has no other
1948
- * properties. Such objects are created either by Node.js internals or native
1949
- * addons. In JavaScript, they are [frozen](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/freeze) objects with a`null` prototype.
1950
- *
1951
- * ```c
1952
- * #include <js_native_api.h>
1953
- * #include <stdlib.h>
1954
- * napi_value result;
1955
- * static napi_value MyNapi(napi_env env, napi_callback_info info) {
1956
- * int* raw = (int*) malloc(1024);
1957
- * napi_status status = napi_create_external(env, (void*) raw, NULL, NULL, &#x26;result);
1958
- * if (status != napi_ok) {
1959
- * napi_throw_error(env, NULL, "napi_create_external failed");
1960
- * return NULL;
1961
- * }
1962
- * return result;
1963
- * }
1964
- * ...
1965
- * DECLARE_NAPI_PROPERTY("myNapi", MyNapi)
1966
- * ...
1967
- * ```
1968
- *
1969
- * ```js
1970
- * const native =require('napi_addon.node');
1971
- * const data = native.myNapi();
1972
- * util.types.isExternal(data); // returns true
1973
- * util.types.isExternal(0); // returns false
1974
- * util.types.isExternal(new String('foo')); // returns false
1975
- * ```
1976
- *
1977
- * For further information on `napi_create_external`, refer to `napi_create_external()`.
1978
- * @since v10.0.0
1979
- */
1980
- function isExternal(object: unknown): boolean;
1981
- /**
1982
- * Returns `true` if the value is a built-in [`Float32Array`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Float32Array) instance.
1983
- *
1984
- * ```js
1985
- * util.types.isFloat32Array(new ArrayBuffer()); // Returns false
1986
- * util.types.isFloat32Array(new Float32Array()); // Returns true
1987
- * util.types.isFloat32Array(new Float64Array()); // Returns false
1988
- * ```
1989
- * @since v10.0.0
1990
- */
1991
- function isFloat32Array(object: unknown): object is Float32Array;
1992
- /**
1993
- * Returns `true` if the value is a built-in [`Float64Array`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Float64Array) instance.
1994
- *
1995
- * ```js
1996
- * util.types.isFloat64Array(new ArrayBuffer()); // Returns false
1997
- * util.types.isFloat64Array(new Uint8Array()); // Returns false
1998
- * util.types.isFloat64Array(new Float64Array()); // Returns true
1999
- * ```
2000
- * @since v10.0.0
2001
- */
2002
- function isFloat64Array(object: unknown): object is Float64Array;
2003
- /**
2004
- * Returns `true` if the value is a generator function.
2005
- * This only reports back what the JavaScript engine is seeing;
2006
- * in particular, the return value may not match the original source code if
2007
- * a transpilation tool was used.
2008
- *
2009
- * ```js
2010
- * util.types.isGeneratorFunction(function foo() {}); // Returns false
2011
- * util.types.isGeneratorFunction(function* foo() {}); // Returns true
2012
- * ```
2013
- * @since v10.0.0
2014
- */
2015
- function isGeneratorFunction(object: unknown): object is GeneratorFunction;
2016
- /**
2017
- * Returns `true` if the value is a generator object as returned from a
2018
- * built-in generator function.
2019
- * This only reports back what the JavaScript engine is seeing;
2020
- * in particular, the return value may not match the original source code if
2021
- * a transpilation tool was used.
2022
- *
2023
- * ```js
2024
- * function* foo() {}
2025
- * const generator = foo();
2026
- * util.types.isGeneratorObject(generator); // Returns true
2027
- * ```
2028
- * @since v10.0.0
2029
- */
2030
- function isGeneratorObject(object: unknown): object is Generator;
2031
- /**
2032
- * Returns `true` if the value is a built-in [`Int8Array`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Int8Array) instance.
2033
- *
2034
- * ```js
2035
- * util.types.isInt8Array(new ArrayBuffer()); // Returns false
2036
- * util.types.isInt8Array(new Int8Array()); // Returns true
2037
- * util.types.isInt8Array(new Float64Array()); // Returns false
2038
- * ```
2039
- * @since v10.0.0
2040
- */
2041
- function isInt8Array(object: unknown): object is Int8Array;
2042
- /**
2043
- * Returns `true` if the value is a built-in [`Int16Array`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Int16Array) instance.
2044
- *
2045
- * ```js
2046
- * util.types.isInt16Array(new ArrayBuffer()); // Returns false
2047
- * util.types.isInt16Array(new Int16Array()); // Returns true
2048
- * util.types.isInt16Array(new Float64Array()); // Returns false
2049
- * ```
2050
- * @since v10.0.0
2051
- */
2052
- function isInt16Array(object: unknown): object is Int16Array;
2053
- /**
2054
- * Returns `true` if the value is a built-in [`Int32Array`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Int32Array) instance.
2055
- *
2056
- * ```js
2057
- * util.types.isInt32Array(new ArrayBuffer()); // Returns false
2058
- * util.types.isInt32Array(new Int32Array()); // Returns true
2059
- * util.types.isInt32Array(new Float64Array()); // Returns false
2060
- * ```
2061
- * @since v10.0.0
2062
- */
2063
- function isInt32Array(object: unknown): object is Int32Array;
2064
- /**
2065
- * Returns `true` if the value is a built-in [`Map`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map) instance.
2066
- *
2067
- * ```js
2068
- * util.types.isMap(new Map()); // Returns true
2069
- * ```
2070
- * @since v10.0.0
2071
- */
2072
- function isMap<T>(
2073
- object: T | {},
2074
- ): object is T extends ReadonlyMap<any, any> ? (unknown extends T ? never : ReadonlyMap<any, any>)
2075
- : Map<unknown, unknown>;
2076
- /**
2077
- * Returns `true` if the value is an iterator returned for a built-in [`Map`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map) instance.
2078
- *
2079
- * ```js
2080
- * const map = new Map();
2081
- * util.types.isMapIterator(map.keys()); // Returns true
2082
- * util.types.isMapIterator(map.values()); // Returns true
2083
- * util.types.isMapIterator(map.entries()); // Returns true
2084
- * util.types.isMapIterator(map[Symbol.iterator]()); // Returns true
2085
- * ```
2086
- * @since v10.0.0
2087
- */
2088
- function isMapIterator(object: unknown): boolean;
2089
- /**
2090
- * Returns `true` if the value is an instance of a [Module Namespace Object](https://tc39.github.io/ecma262/#sec-module-namespace-exotic-objects).
2091
- *
2092
- * ```js
2093
- * import * as ns from './a.js';
2094
- *
2095
- * util.types.isModuleNamespaceObject(ns); // Returns true
2096
- * ```
2097
- * @since v10.0.0
2098
- */
2099
- function isModuleNamespaceObject(value: unknown): boolean;
2100
- /**
2101
- * Returns `true` if the value was returned by the constructor of a [built-in `Error` type](https://tc39.es/ecma262/#sec-error-objects).
2102
- *
2103
- * ```js
2104
- * console.log(util.types.isNativeError(new Error())); // true
2105
- * console.log(util.types.isNativeError(new TypeError())); // true
2106
- * console.log(util.types.isNativeError(new RangeError())); // true
2107
- * ```
2108
- *
2109
- * Subclasses of the native error types are also native errors:
2110
- *
2111
- * ```js
2112
- * class MyError extends Error {}
2113
- * console.log(util.types.isNativeError(new MyError())); // true
2114
- * ```
2115
- *
2116
- * A value being `instanceof` a native error class is not equivalent to `isNativeError()` returning `true` for that value. `isNativeError()` returns `true` for errors
2117
- * which come from a different [realm](https://tc39.es/ecma262/#realm) while `instanceof Error` returns `false` for these errors:
2118
- *
2119
- * ```js
2120
- * import vm from 'node:vm';
2121
- * const context = vm.createContext({});
2122
- * const myError = vm.runInContext('new Error()', context);
2123
- * console.log(util.types.isNativeError(myError)); // true
2124
- * console.log(myError instanceof Error); // false
2125
- * ```
2126
- *
2127
- * Conversely, `isNativeError()` returns `false` for all objects which were not
2128
- * returned by the constructor of a native error. That includes values
2129
- * which are `instanceof` native errors:
2130
- *
2131
- * ```js
2132
- * const myError = { __proto__: Error.prototype };
2133
- * console.log(util.types.isNativeError(myError)); // false
2134
- * console.log(myError instanceof Error); // true
2135
- * ```
2136
- * @since v10.0.0
2137
- */
2138
- function isNativeError(object: unknown): object is Error;
2139
- /**
2140
- * Returns `true` if the value is a number object, e.g. created
2141
- * by `new Number()`.
2142
- *
2143
- * ```js
2144
- * util.types.isNumberObject(0); // Returns false
2145
- * util.types.isNumberObject(new Number(0)); // Returns true
2146
- * ```
2147
- * @since v10.0.0
2148
- */
2149
- function isNumberObject(object: unknown): object is Number;
2150
- /**
2151
- * Returns `true` if the value is a built-in [`Promise`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise).
2152
- *
2153
- * ```js
2154
- * util.types.isPromise(Promise.resolve(42)); // Returns true
2155
- * ```
2156
- * @since v10.0.0
2157
- */
2158
- function isPromise(object: unknown): object is Promise<unknown>;
2159
- /**
2160
- * Returns `true` if the value is a [`Proxy`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Proxy) instance.
2161
- *
2162
- * ```js
2163
- * const target = {};
2164
- * const proxy = new Proxy(target, {});
2165
- * util.types.isProxy(target); // Returns false
2166
- * util.types.isProxy(proxy); // Returns true
2167
- * ```
2168
- * @since v10.0.0
2169
- */
2170
- function isProxy(object: unknown): boolean;
2171
- /**
2172
- * Returns `true` if the value is a regular expression object.
2173
- *
2174
- * ```js
2175
- * util.types.isRegExp(/abc/); // Returns true
2176
- * util.types.isRegExp(new RegExp('abc')); // Returns true
2177
- * ```
2178
- * @since v10.0.0
2179
- */
2180
- function isRegExp(object: unknown): object is RegExp;
2181
- /**
2182
- * Returns `true` if the value is a built-in [`Set`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Set) instance.
2183
- *
2184
- * ```js
2185
- * util.types.isSet(new Set()); // Returns true
2186
- * ```
2187
- * @since v10.0.0
2188
- */
2189
- function isSet<T>(
2190
- object: T | {},
2191
- ): object is T extends ReadonlySet<any> ? (unknown extends T ? never : ReadonlySet<any>) : Set<unknown>;
2192
- /**
2193
- * Returns `true` if the value is an iterator returned for a built-in [`Set`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Set) instance.
2194
- *
2195
- * ```js
2196
- * const set = new Set();
2197
- * util.types.isSetIterator(set.keys()); // Returns true
2198
- * util.types.isSetIterator(set.values()); // Returns true
2199
- * util.types.isSetIterator(set.entries()); // Returns true
2200
- * util.types.isSetIterator(set[Symbol.iterator]()); // Returns true
2201
- * ```
2202
- * @since v10.0.0
2203
- */
2204
- function isSetIterator(object: unknown): boolean;
2205
- /**
2206
- * Returns `true` if the value is a built-in [`SharedArrayBuffer`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/SharedArrayBuffer) instance.
2207
- * This does _not_ include [`ArrayBuffer`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer) instances. Usually, it is
2208
- * desirable to test for both; See `util.types.isAnyArrayBuffer()` for that.
2209
- *
2210
- * ```js
2211
- * util.types.isSharedArrayBuffer(new ArrayBuffer()); // Returns false
2212
- * util.types.isSharedArrayBuffer(new SharedArrayBuffer()); // Returns true
2213
- * ```
2214
- * @since v10.0.0
2215
- */
2216
- function isSharedArrayBuffer(object: unknown): object is SharedArrayBuffer;
2217
- /**
2218
- * Returns `true` if the value is a string object, e.g. created
2219
- * by `new String()`.
2220
- *
2221
- * ```js
2222
- * util.types.isStringObject('foo'); // Returns false
2223
- * util.types.isStringObject(new String('foo')); // Returns true
2224
- * ```
2225
- * @since v10.0.0
2226
- */
2227
- function isStringObject(object: unknown): object is String;
2228
- /**
2229
- * Returns `true` if the value is a symbol object, created
2230
- * by calling `Object()` on a `Symbol` primitive.
2231
- *
2232
- * ```js
2233
- * const symbol = Symbol('foo');
2234
- * util.types.isSymbolObject(symbol); // Returns false
2235
- * util.types.isSymbolObject(Object(symbol)); // Returns true
2236
- * ```
2237
- * @since v10.0.0
2238
- */
2239
- function isSymbolObject(object: unknown): object is Symbol;
2240
- /**
2241
- * Returns `true` if the value is a built-in [`TypedArray`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/TypedArray) instance.
2242
- *
2243
- * ```js
2244
- * util.types.isTypedArray(new ArrayBuffer()); // Returns false
2245
- * util.types.isTypedArray(new Uint8Array()); // Returns true
2246
- * util.types.isTypedArray(new Float64Array()); // Returns true
2247
- * ```
2248
- *
2249
- * See also [`ArrayBuffer.isView()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer/isView).
2250
- * @since v10.0.0
2251
- */
2252
- function isTypedArray(object: unknown): object is NodeJS.TypedArray;
2253
- /**
2254
- * Returns `true` if the value is a built-in [`Uint8Array`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array) instance.
2255
- *
2256
- * ```js
2257
- * util.types.isUint8Array(new ArrayBuffer()); // Returns false
2258
- * util.types.isUint8Array(new Uint8Array()); // Returns true
2259
- * util.types.isUint8Array(new Float64Array()); // Returns false
2260
- * ```
2261
- * @since v10.0.0
2262
- */
2263
- function isUint8Array(object: unknown): object is Uint8Array;
2264
- /**
2265
- * Returns `true` if the value is a built-in [`Uint8ClampedArray`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8ClampedArray) instance.
2266
- *
2267
- * ```js
2268
- * util.types.isUint8ClampedArray(new ArrayBuffer()); // Returns false
2269
- * util.types.isUint8ClampedArray(new Uint8ClampedArray()); // Returns true
2270
- * util.types.isUint8ClampedArray(new Float64Array()); // Returns false
2271
- * ```
2272
- * @since v10.0.0
2273
- */
2274
- function isUint8ClampedArray(object: unknown): object is Uint8ClampedArray;
2275
- /**
2276
- * Returns `true` if the value is a built-in [`Uint16Array`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint16Array) instance.
2277
- *
2278
- * ```js
2279
- * util.types.isUint16Array(new ArrayBuffer()); // Returns false
2280
- * util.types.isUint16Array(new Uint16Array()); // Returns true
2281
- * util.types.isUint16Array(new Float64Array()); // Returns false
2282
- * ```
2283
- * @since v10.0.0
2284
- */
2285
- function isUint16Array(object: unknown): object is Uint16Array;
2286
- /**
2287
- * Returns `true` if the value is a built-in [`Uint32Array`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint32Array) instance.
2288
- *
2289
- * ```js
2290
- * util.types.isUint32Array(new ArrayBuffer()); // Returns false
2291
- * util.types.isUint32Array(new Uint32Array()); // Returns true
2292
- * util.types.isUint32Array(new Float64Array()); // Returns false
2293
- * ```
2294
- * @since v10.0.0
2295
- */
2296
- function isUint32Array(object: unknown): object is Uint32Array;
2297
- /**
2298
- * Returns `true` if the value is a built-in [`WeakMap`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WeakMap) instance.
2299
- *
2300
- * ```js
2301
- * util.types.isWeakMap(new WeakMap()); // Returns true
2302
- * ```
2303
- * @since v10.0.0
2304
- */
2305
- function isWeakMap(object: unknown): object is WeakMap<object, unknown>;
2306
- /**
2307
- * Returns `true` if the value is a built-in [`WeakSet`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WeakSet) instance.
2308
- *
2309
- * ```js
2310
- * util.types.isWeakSet(new WeakSet()); // Returns true
2311
- * ```
2312
- * @since v10.0.0
2313
- */
2314
- function isWeakSet(object: unknown): object is WeakSet<object>;
2315
- /**
2316
- * Returns `true` if `value` is a `KeyObject`, `false` otherwise.
2317
- * @since v16.2.0
2318
- */
2319
- function isKeyObject(object: unknown): object is KeyObject;
2320
- /**
2321
- * Returns `true` if `value` is a `CryptoKey`, `false` otherwise.
2322
- * @since v16.2.0
2323
- */
2324
- function isCryptoKey(object: unknown): object is webcrypto.CryptoKey;
2325
- }
2326
- declare module "node:util" {
2327
- export * from "util";
2328
- }
2329
- declare module "node:util/types" {
2330
- export * from "util/types";
2331
- }