react-native-kookit 0.1.1 → 0.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1196) hide show
  1. package/ANDROID_SETUP.md +188 -0
  2. package/EXPO_PLUGIN_README.md +136 -0
  3. package/README.md +219 -3
  4. package/README_NEW.md +143 -0
  5. package/RELEASE_CHECKLIST.md +115 -0
  6. package/TROUBLESHOOTING.md +132 -0
  7. package/android/src/main/java/expo/modules/kookit/ReactNativeKookitModule.kt +12 -1
  8. package/android/src/main/java/expo/modules/kookit/VolumeKeyReflectionHandler.kt +54 -0
  9. package/app.plugin.js +8 -0
  10. package/build/ReactNativeKookitModule.d.ts +16 -0
  11. package/build/ReactNativeKookitModule.d.ts.map +1 -1
  12. package/build/ReactNativeKookitModule.js.map +1 -1
  13. package/package-with-plugin.json +51 -0
  14. package/package.json +15 -4
  15. package/plugin/build/withVolumeKeyIntercept.d.ts +7 -0
  16. package/plugin/build/withVolumeKeyIntercept.d.ts.map +1 -0
  17. package/plugin/build/withVolumeKeyIntercept.js +143 -0
  18. package/plugin/build/withVolumeKeyIntercept.js.map +1 -0
  19. package/plugin/node_modules/.package-lock.json +752 -0
  20. package/plugin/node_modules/@babel/code-frame/LICENSE +22 -0
  21. package/plugin/node_modules/@babel/code-frame/README.md +19 -0
  22. package/plugin/node_modules/@babel/code-frame/lib/index.js +167 -0
  23. package/plugin/node_modules/@babel/code-frame/package.json +25 -0
  24. package/plugin/node_modules/@babel/helper-validator-identifier/LICENSE +22 -0
  25. package/plugin/node_modules/@babel/helper-validator-identifier/README.md +19 -0
  26. package/plugin/node_modules/@babel/helper-validator-identifier/lib/identifier.js +70 -0
  27. package/plugin/node_modules/@babel/helper-validator-identifier/lib/identifier.js.map +1 -0
  28. package/plugin/node_modules/@babel/helper-validator-identifier/lib/index.js +57 -0
  29. package/plugin/node_modules/@babel/helper-validator-identifier/lib/index.js.map +1 -0
  30. package/plugin/node_modules/@babel/helper-validator-identifier/lib/keyword.js +35 -0
  31. package/plugin/node_modules/@babel/helper-validator-identifier/lib/keyword.js.map +1 -0
  32. package/plugin/node_modules/@babel/helper-validator-identifier/package.json +31 -0
  33. package/plugin/node_modules/@babel/highlight/LICENSE +22 -0
  34. package/plugin/node_modules/@babel/highlight/README.md +19 -0
  35. package/plugin/node_modules/@babel/highlight/lib/index.js +119 -0
  36. package/plugin/node_modules/@babel/highlight/lib/index.js.map +1 -0
  37. package/plugin/node_modules/@babel/highlight/node_modules/ansi-styles/index.js +165 -0
  38. package/plugin/node_modules/@babel/highlight/node_modules/ansi-styles/license +9 -0
  39. package/plugin/node_modules/@babel/highlight/node_modules/ansi-styles/package.json +56 -0
  40. package/plugin/node_modules/@babel/highlight/node_modules/ansi-styles/readme.md +147 -0
  41. package/plugin/node_modules/@babel/highlight/node_modules/chalk/index.js +228 -0
  42. package/plugin/node_modules/@babel/highlight/node_modules/chalk/index.js.flow +93 -0
  43. package/plugin/node_modules/@babel/highlight/node_modules/chalk/license +9 -0
  44. package/plugin/node_modules/@babel/highlight/node_modules/chalk/package.json +71 -0
  45. package/plugin/node_modules/@babel/highlight/node_modules/chalk/readme.md +314 -0
  46. package/plugin/node_modules/@babel/highlight/node_modules/chalk/templates.js +128 -0
  47. package/plugin/node_modules/@babel/highlight/node_modules/chalk/types/index.d.ts +97 -0
  48. package/plugin/node_modules/@babel/highlight/node_modules/color-convert/CHANGELOG.md +54 -0
  49. package/plugin/node_modules/@babel/highlight/node_modules/color-convert/LICENSE +21 -0
  50. package/plugin/node_modules/@babel/highlight/node_modules/color-convert/README.md +68 -0
  51. package/plugin/node_modules/@babel/highlight/node_modules/color-convert/conversions.js +868 -0
  52. package/plugin/node_modules/@babel/highlight/node_modules/color-convert/index.js +78 -0
  53. package/plugin/node_modules/@babel/highlight/node_modules/color-convert/package.json +46 -0
  54. package/plugin/node_modules/@babel/highlight/node_modules/color-convert/route.js +97 -0
  55. package/plugin/node_modules/@babel/highlight/node_modules/color-name/.eslintrc.json +43 -0
  56. package/plugin/node_modules/@babel/highlight/node_modules/color-name/LICENSE +8 -0
  57. package/plugin/node_modules/@babel/highlight/node_modules/color-name/README.md +11 -0
  58. package/plugin/node_modules/@babel/highlight/node_modules/color-name/index.js +152 -0
  59. package/plugin/node_modules/@babel/highlight/node_modules/color-name/package.json +25 -0
  60. package/plugin/node_modules/@babel/highlight/node_modules/color-name/test.js +7 -0
  61. package/plugin/node_modules/@babel/highlight/node_modules/has-flag/index.js +8 -0
  62. package/plugin/node_modules/@babel/highlight/node_modules/has-flag/license +9 -0
  63. package/plugin/node_modules/@babel/highlight/node_modules/has-flag/package.json +44 -0
  64. package/plugin/node_modules/@babel/highlight/node_modules/has-flag/readme.md +70 -0
  65. package/plugin/node_modules/@babel/highlight/node_modules/supports-color/browser.js +5 -0
  66. package/plugin/node_modules/@babel/highlight/node_modules/supports-color/index.js +131 -0
  67. package/plugin/node_modules/@babel/highlight/node_modules/supports-color/license +9 -0
  68. package/plugin/node_modules/@babel/highlight/node_modules/supports-color/package.json +53 -0
  69. package/plugin/node_modules/@babel/highlight/node_modules/supports-color/readme.md +66 -0
  70. package/plugin/node_modules/@babel/highlight/package.json +30 -0
  71. package/plugin/node_modules/@expo/config-plugins/LICENSE +22 -0
  72. package/plugin/node_modules/@expo/config-plugins/README.md +34 -0
  73. package/plugin/node_modules/@expo/config-plugins/build/Plugin.types.d.ts +177 -0
  74. package/plugin/node_modules/@expo/config-plugins/build/Plugin.types.js +51 -0
  75. package/plugin/node_modules/@expo/config-plugins/build/Plugin.types.js.map +1 -0
  76. package/plugin/node_modules/@expo/config-plugins/build/android/AllowBackup.d.ts +6 -0
  77. package/plugin/node_modules/@expo/config-plugins/build/android/AllowBackup.js +45 -0
  78. package/plugin/node_modules/@expo/config-plugins/build/android/AllowBackup.js.map +1 -0
  79. package/plugin/node_modules/@expo/config-plugins/build/android/BuildProperties.d.ts +28 -0
  80. package/plugin/node_modules/@expo/config-plugins/build/android/BuildProperties.js +93 -0
  81. package/plugin/node_modules/@expo/config-plugins/build/android/BuildProperties.js.map +1 -0
  82. package/plugin/node_modules/@expo/config-plugins/build/android/Colors.d.ts +29 -0
  83. package/plugin/node_modules/@expo/config-plugins/build/android/Colors.js +106 -0
  84. package/plugin/node_modules/@expo/config-plugins/build/android/Colors.js.map +1 -0
  85. package/plugin/node_modules/@expo/config-plugins/build/android/EasBuild.d.ts +3 -0
  86. package/plugin/node_modules/@expo/config-plugins/build/android/EasBuild.js +67 -0
  87. package/plugin/node_modules/@expo/config-plugins/build/android/EasBuild.js.map +1 -0
  88. package/plugin/node_modules/@expo/config-plugins/build/android/EasBuildGradleScript.d.ts +2 -0
  89. package/plugin/node_modules/@expo/config-plugins/build/android/EasBuildGradleScript.js +82 -0
  90. package/plugin/node_modules/@expo/config-plugins/build/android/EasBuildGradleScript.js.map +1 -0
  91. package/plugin/node_modules/@expo/config-plugins/build/android/GoogleMapsApiKey.d.ts +5 -0
  92. package/plugin/node_modules/@expo/config-plugins/build/android/GoogleMapsApiKey.js +46 -0
  93. package/plugin/node_modules/@expo/config-plugins/build/android/GoogleMapsApiKey.js.map +1 -0
  94. package/plugin/node_modules/@expo/config-plugins/build/android/GoogleServices.d.ts +17 -0
  95. package/plugin/node_modules/@expo/config-plugins/build/android/GoogleServices.js +138 -0
  96. package/plugin/node_modules/@expo/config-plugins/build/android/GoogleServices.js.map +1 -0
  97. package/plugin/node_modules/@expo/config-plugins/build/android/IntentFilters.d.ts +8 -0
  98. package/plugin/node_modules/@expo/config-plugins/build/android/IntentFilters.js +83 -0
  99. package/plugin/node_modules/@expo/config-plugins/build/android/IntentFilters.js.map +1 -0
  100. package/plugin/node_modules/@expo/config-plugins/build/android/Manifest.d.ts +157 -0
  101. package/plugin/node_modules/@expo/config-plugins/build/android/Manifest.js +221 -0
  102. package/plugin/node_modules/@expo/config-plugins/build/android/Manifest.js.map +1 -0
  103. package/plugin/node_modules/@expo/config-plugins/build/android/Name.d.ts +20 -0
  104. package/plugin/node_modules/@expo/config-plugins/build/android/Name.js +91 -0
  105. package/plugin/node_modules/@expo/config-plugins/build/android/Name.js.map +1 -0
  106. package/plugin/node_modules/@expo/config-plugins/build/android/Orientation.d.ts +6 -0
  107. package/plugin/node_modules/@expo/config-plugins/build/android/Orientation.js +39 -0
  108. package/plugin/node_modules/@expo/config-plugins/build/android/Orientation.js.map +1 -0
  109. package/plugin/node_modules/@expo/config-plugins/build/android/Package.d.ts +23 -0
  110. package/plugin/node_modules/@expo/config-plugins/build/android/Package.js +323 -0
  111. package/plugin/node_modules/@expo/config-plugins/build/android/Package.js.map +1 -0
  112. package/plugin/node_modules/@expo/config-plugins/build/android/Paths.d.ts +30 -0
  113. package/plugin/node_modules/@expo/config-plugins/build/android/Paths.js +154 -0
  114. package/plugin/node_modules/@expo/config-plugins/build/android/Paths.js.map +1 -0
  115. package/plugin/node_modules/@expo/config-plugins/build/android/Permissions.d.ts +20 -0
  116. package/plugin/node_modules/@expo/config-plugins/build/android/Permissions.js +207 -0
  117. package/plugin/node_modules/@expo/config-plugins/build/android/Permissions.js.map +1 -0
  118. package/plugin/node_modules/@expo/config-plugins/build/android/PrimaryColor.d.ts +6 -0
  119. package/plugin/node_modules/@expo/config-plugins/build/android/PrimaryColor.js +62 -0
  120. package/plugin/node_modules/@expo/config-plugins/build/android/PrimaryColor.js.map +1 -0
  121. package/plugin/node_modules/@expo/config-plugins/build/android/Properties.d.ts +12 -0
  122. package/plugin/node_modules/@expo/config-plugins/build/android/Properties.js +55 -0
  123. package/plugin/node_modules/@expo/config-plugins/build/android/Properties.js.map +1 -0
  124. package/plugin/node_modules/@expo/config-plugins/build/android/Resources.d.ts +87 -0
  125. package/plugin/node_modules/@expo/config-plugins/build/android/Resources.js +150 -0
  126. package/plugin/node_modules/@expo/config-plugins/build/android/Resources.js.map +1 -0
  127. package/plugin/node_modules/@expo/config-plugins/build/android/Scheme.d.ts +20 -0
  128. package/plugin/node_modules/@expo/config-plugins/build/android/Scheme.js +217 -0
  129. package/plugin/node_modules/@expo/config-plugins/build/android/Scheme.js.map +1 -0
  130. package/plugin/node_modules/@expo/config-plugins/build/android/StatusBar.d.ts +16 -0
  131. package/plugin/node_modules/@expo/config-plugins/build/android/StatusBar.js +112 -0
  132. package/plugin/node_modules/@expo/config-plugins/build/android/StatusBar.js.map +1 -0
  133. package/plugin/node_modules/@expo/config-plugins/build/android/Strings.d.ts +6 -0
  134. package/plugin/node_modules/@expo/config-plugins/build/android/Strings.js +54 -0
  135. package/plugin/node_modules/@expo/config-plugins/build/android/Strings.js.map +1 -0
  136. package/plugin/node_modules/@expo/config-plugins/build/android/Styles.d.ts +61 -0
  137. package/plugin/node_modules/@expo/config-plugins/build/android/Styles.js +169 -0
  138. package/plugin/node_modules/@expo/config-plugins/build/android/Styles.js.map +1 -0
  139. package/plugin/node_modules/@expo/config-plugins/build/android/Updates.d.ts +21 -0
  140. package/plugin/node_modules/@expo/config-plugins/build/android/Updates.js +159 -0
  141. package/plugin/node_modules/@expo/config-plugins/build/android/Updates.js.map +1 -0
  142. package/plugin/node_modules/@expo/config-plugins/build/android/Version.d.ts +16 -0
  143. package/plugin/node_modules/@expo/config-plugins/build/android/Version.js +87 -0
  144. package/plugin/node_modules/@expo/config-plugins/build/android/Version.js.map +1 -0
  145. package/plugin/node_modules/@expo/config-plugins/build/android/WindowSoftInputMode.d.ts +6 -0
  146. package/plugin/node_modules/@expo/config-plugins/build/android/WindowSoftInputMode.js +48 -0
  147. package/plugin/node_modules/@expo/config-plugins/build/android/WindowSoftInputMode.js.map +1 -0
  148. package/plugin/node_modules/@expo/config-plugins/build/android/codeMod.d.ts +20 -0
  149. package/plugin/node_modules/@expo/config-plugins/build/android/codeMod.js +93 -0
  150. package/plugin/node_modules/@expo/config-plugins/build/android/codeMod.js.map +1 -0
  151. package/plugin/node_modules/@expo/config-plugins/build/android/index.d.ts +25 -0
  152. package/plugin/node_modules/@expo/config-plugins/build/android/index.js +308 -0
  153. package/plugin/node_modules/@expo/config-plugins/build/android/index.js.map +1 -0
  154. package/plugin/node_modules/@expo/config-plugins/build/index.d.ts +36 -0
  155. package/plugin/node_modules/@expo/config-plugins/build/index.js +428 -0
  156. package/plugin/node_modules/@expo/config-plugins/build/index.js.map +1 -0
  157. package/plugin/node_modules/@expo/config-plugins/build/ios/Bitcode.d.ts +33 -0
  158. package/plugin/node_modules/@expo/config-plugins/build/ios/Bitcode.js +110 -0
  159. package/plugin/node_modules/@expo/config-plugins/build/ios/Bitcode.js.map +1 -0
  160. package/plugin/node_modules/@expo/config-plugins/build/ios/BuildProperties.d.ts +27 -0
  161. package/plugin/node_modules/@expo/config-plugins/build/ios/BuildProperties.js +67 -0
  162. package/plugin/node_modules/@expo/config-plugins/build/ios/BuildProperties.js.map +1 -0
  163. package/plugin/node_modules/@expo/config-plugins/build/ios/BuildScheme.d.ts +10 -0
  164. package/plugin/node_modules/@expo/config-plugins/build/ios/BuildScheme.js +112 -0
  165. package/plugin/node_modules/@expo/config-plugins/build/ios/BuildScheme.js.map +1 -0
  166. package/plugin/node_modules/@expo/config-plugins/build/ios/BundleIdentifier.d.ts +50 -0
  167. package/plugin/node_modules/@expo/config-plugins/build/ios/BundleIdentifier.js +241 -0
  168. package/plugin/node_modules/@expo/config-plugins/build/ios/BundleIdentifier.js.map +1 -0
  169. package/plugin/node_modules/@expo/config-plugins/build/ios/DeviceFamily.d.ts +19 -0
  170. package/plugin/node_modules/@expo/config-plugins/build/ios/DeviceFamily.js +92 -0
  171. package/plugin/node_modules/@expo/config-plugins/build/ios/DeviceFamily.js.map +1 -0
  172. package/plugin/node_modules/@expo/config-plugins/build/ios/Entitlements.d.ts +9 -0
  173. package/plugin/node_modules/@expo/config-plugins/build/ios/Entitlements.js +132 -0
  174. package/plugin/node_modules/@expo/config-plugins/build/ios/Entitlements.js.map +1 -0
  175. package/plugin/node_modules/@expo/config-plugins/build/ios/Google.d.ts +14 -0
  176. package/plugin/node_modules/@expo/config-plugins/build/ios/Google.js +139 -0
  177. package/plugin/node_modules/@expo/config-plugins/build/ios/Google.js.map +1 -0
  178. package/plugin/node_modules/@expo/config-plugins/build/ios/IosConfig.types.d.ts +48 -0
  179. package/plugin/node_modules/@expo/config-plugins/build/ios/IosConfig.types.js +2 -0
  180. package/plugin/node_modules/@expo/config-plugins/build/ios/IosConfig.types.js.map +1 -0
  181. package/plugin/node_modules/@expo/config-plugins/build/ios/Locales.d.ts +14 -0
  182. package/plugin/node_modules/@expo/config-plugins/build/ios/Locales.js +132 -0
  183. package/plugin/node_modules/@expo/config-plugins/build/ios/Locales.js.map +1 -0
  184. package/plugin/node_modules/@expo/config-plugins/build/ios/Maps.d.ts +17 -0
  185. package/plugin/node_modules/@expo/config-plugins/build/ios/Maps.js +211 -0
  186. package/plugin/node_modules/@expo/config-plugins/build/ios/Maps.js.map +1 -0
  187. package/plugin/node_modules/@expo/config-plugins/build/ios/Name.d.ts +20 -0
  188. package/plugin/node_modules/@expo/config-plugins/build/ios/Name.js +111 -0
  189. package/plugin/node_modules/@expo/config-plugins/build/ios/Name.js.map +1 -0
  190. package/plugin/node_modules/@expo/config-plugins/build/ios/Orientation.d.ts +7 -0
  191. package/plugin/node_modules/@expo/config-plugins/build/ios/Orientation.js +42 -0
  192. package/plugin/node_modules/@expo/config-plugins/build/ios/Orientation.js.map +1 -0
  193. package/plugin/node_modules/@expo/config-plugins/build/ios/Paths.d.ts +38 -0
  194. package/plugin/node_modules/@expo/config-plugins/build/ios/Paths.js +311 -0
  195. package/plugin/node_modules/@expo/config-plugins/build/ios/Paths.js.map +1 -0
  196. package/plugin/node_modules/@expo/config-plugins/build/ios/Permissions.d.ts +9 -0
  197. package/plugin/node_modules/@expo/config-plugins/build/ios/Permissions.js +58 -0
  198. package/plugin/node_modules/@expo/config-plugins/build/ios/Permissions.js.map +1 -0
  199. package/plugin/node_modules/@expo/config-plugins/build/ios/PrivacyInfo.d.ts +20 -0
  200. package/plugin/node_modules/@expo/config-plugins/build/ios/PrivacyInfo.js +129 -0
  201. package/plugin/node_modules/@expo/config-plugins/build/ios/PrivacyInfo.js.map +1 -0
  202. package/plugin/node_modules/@expo/config-plugins/build/ios/ProvisioningProfile.d.ts +8 -0
  203. package/plugin/node_modules/@expo/config-plugins/build/ios/ProvisioningProfile.js +67 -0
  204. package/plugin/node_modules/@expo/config-plugins/build/ios/ProvisioningProfile.js.map +1 -0
  205. package/plugin/node_modules/@expo/config-plugins/build/ios/RequiresFullScreen.d.ts +5 -0
  206. package/plugin/node_modules/@expo/config-plugins/build/ios/RequiresFullScreen.js +101 -0
  207. package/plugin/node_modules/@expo/config-plugins/build/ios/RequiresFullScreen.js.map +1 -0
  208. package/plugin/node_modules/@expo/config-plugins/build/ios/Scheme.d.ts +11 -0
  209. package/plugin/node_modules/@expo/config-plugins/build/ios/Scheme.js +111 -0
  210. package/plugin/node_modules/@expo/config-plugins/build/ios/Scheme.js.map +1 -0
  211. package/plugin/node_modules/@expo/config-plugins/build/ios/Swift.d.ts +34 -0
  212. package/plugin/node_modules/@expo/config-plugins/build/ios/Swift.js +196 -0
  213. package/plugin/node_modules/@expo/config-plugins/build/ios/Swift.js.map +1 -0
  214. package/plugin/node_modules/@expo/config-plugins/build/ios/Target.d.ts +27 -0
  215. package/plugin/node_modules/@expo/config-plugins/build/ios/Target.js +136 -0
  216. package/plugin/node_modules/@expo/config-plugins/build/ios/Target.js.map +1 -0
  217. package/plugin/node_modules/@expo/config-plugins/build/ios/Updates.d.ts +17 -0
  218. package/plugin/node_modules/@expo/config-plugins/build/ios/Updates.js +121 -0
  219. package/plugin/node_modules/@expo/config-plugins/build/ios/Updates.js.map +1 -0
  220. package/plugin/node_modules/@expo/config-plugins/build/ios/UsesNonExemptEncryption.d.ts +5 -0
  221. package/plugin/node_modules/@expo/config-plugins/build/ios/UsesNonExemptEncryption.js +38 -0
  222. package/plugin/node_modules/@expo/config-plugins/build/ios/UsesNonExemptEncryption.js.map +1 -0
  223. package/plugin/node_modules/@expo/config-plugins/build/ios/Version.d.ts +8 -0
  224. package/plugin/node_modules/@expo/config-plugins/build/ios/Version.js +44 -0
  225. package/plugin/node_modules/@expo/config-plugins/build/ios/Version.js.map +1 -0
  226. package/plugin/node_modules/@expo/config-plugins/build/ios/XcodeProjectFile.d.ts +31 -0
  227. package/plugin/node_modules/@expo/config-plugins/build/ios/XcodeProjectFile.js +99 -0
  228. package/plugin/node_modules/@expo/config-plugins/build/ios/XcodeProjectFile.js.map +1 -0
  229. package/plugin/node_modules/@expo/config-plugins/build/ios/codeMod.d.ts +81 -0
  230. package/plugin/node_modules/@expo/config-plugins/build/ios/codeMod.js +264 -0
  231. package/plugin/node_modules/@expo/config-plugins/build/ios/codeMod.js.map +1 -0
  232. package/plugin/node_modules/@expo/config-plugins/build/ios/index.d.ts +27 -0
  233. package/plugin/node_modules/@expo/config-plugins/build/ios/index.js +342 -0
  234. package/plugin/node_modules/@expo/config-plugins/build/ios/index.js.map +1 -0
  235. package/plugin/node_modules/@expo/config-plugins/build/ios/utils/Xcodeproj.d.ts +93 -0
  236. package/plugin/node_modules/@expo/config-plugins/build/ios/utils/Xcodeproj.js +484 -0
  237. package/plugin/node_modules/@expo/config-plugins/build/ios/utils/Xcodeproj.js.map +1 -0
  238. package/plugin/node_modules/@expo/config-plugins/build/ios/utils/getInfoPlistPath.d.ts +12 -0
  239. package/plugin/node_modules/@expo/config-plugins/build/ios/utils/getInfoPlistPath.js +49 -0
  240. package/plugin/node_modules/@expo/config-plugins/build/ios/utils/getInfoPlistPath.js.map +1 -0
  241. package/plugin/node_modules/@expo/config-plugins/build/ios/utils/string.d.ts +1 -0
  242. package/plugin/node_modules/@expo/config-plugins/build/ios/utils/string.js +10 -0
  243. package/plugin/node_modules/@expo/config-plugins/build/ios/utils/string.js.map +1 -0
  244. package/plugin/node_modules/@expo/config-plugins/build/plugins/android-plugins.d.ts +89 -0
  245. package/plugin/node_modules/@expo/config-plugins/build/plugins/android-plugins.js +210 -0
  246. package/plugin/node_modules/@expo/config-plugins/build/plugins/android-plugins.js.map +1 -0
  247. package/plugin/node_modules/@expo/config-plugins/build/plugins/createBaseMod.d.ts +31 -0
  248. package/plugin/node_modules/@expo/config-plugins/build/plugins/createBaseMod.js +129 -0
  249. package/plugin/node_modules/@expo/config-plugins/build/plugins/createBaseMod.js.map +1 -0
  250. package/plugin/node_modules/@expo/config-plugins/build/plugins/ios-plugins.d.ts +77 -0
  251. package/plugin/node_modules/@expo/config-plugins/build/plugins/ios-plugins.js +205 -0
  252. package/plugin/node_modules/@expo/config-plugins/build/plugins/ios-plugins.js.map +1 -0
  253. package/plugin/node_modules/@expo/config-plugins/build/plugins/mod-compiler.d.ts +39 -0
  254. package/plugin/node_modules/@expo/config-plugins/build/plugins/mod-compiler.js +226 -0
  255. package/plugin/node_modules/@expo/config-plugins/build/plugins/mod-compiler.js.map +1 -0
  256. package/plugin/node_modules/@expo/config-plugins/build/plugins/withAndroidBaseMods.d.ts +40 -0
  257. package/plugin/node_modules/@expo/config-plugins/build/plugins/withAndroidBaseMods.js +510 -0
  258. package/plugin/node_modules/@expo/config-plugins/build/plugins/withAndroidBaseMods.js.map +1 -0
  259. package/plugin/node_modules/@expo/config-plugins/build/plugins/withDangerousMod.d.ts +10 -0
  260. package/plugin/node_modules/@expo/config-plugins/build/plugins/withDangerousMod.js +30 -0
  261. package/plugin/node_modules/@expo/config-plugins/build/plugins/withDangerousMod.js.map +1 -0
  262. package/plugin/node_modules/@expo/config-plugins/build/plugins/withFinalizedMod.d.ts +10 -0
  263. package/plugin/node_modules/@expo/config-plugins/build/plugins/withFinalizedMod.js +30 -0
  264. package/plugin/node_modules/@expo/config-plugins/build/plugins/withFinalizedMod.js.map +1 -0
  265. package/plugin/node_modules/@expo/config-plugins/build/plugins/withIosBaseMods.d.ts +33 -0
  266. package/plugin/node_modules/@expo/config-plugins/build/plugins/withIosBaseMods.js +442 -0
  267. package/plugin/node_modules/@expo/config-plugins/build/plugins/withIosBaseMods.js.map +1 -0
  268. package/plugin/node_modules/@expo/config-plugins/build/plugins/withMod.d.ts +46 -0
  269. package/plugin/node_modules/@expo/config-plugins/build/plugins/withMod.js +208 -0
  270. package/plugin/node_modules/@expo/config-plugins/build/plugins/withMod.js.map +1 -0
  271. package/plugin/node_modules/@expo/config-plugins/build/plugins/withPlugins.d.ts +8 -0
  272. package/plugin/node_modules/@expo/config-plugins/build/plugins/withPlugins.js +35 -0
  273. package/plugin/node_modules/@expo/config-plugins/build/plugins/withPlugins.js.map +1 -0
  274. package/plugin/node_modules/@expo/config-plugins/build/plugins/withRunOnce.d.ts +20 -0
  275. package/plugin/node_modules/@expo/config-plugins/build/plugins/withRunOnce.js +55 -0
  276. package/plugin/node_modules/@expo/config-plugins/build/plugins/withRunOnce.js.map +1 -0
  277. package/plugin/node_modules/@expo/config-plugins/build/plugins/withStaticPlugin.d.ts +17 -0
  278. package/plugin/node_modules/@expo/config-plugins/build/plugins/withStaticPlugin.js +138 -0
  279. package/plugin/node_modules/@expo/config-plugins/build/plugins/withStaticPlugin.js.map +1 -0
  280. package/plugin/node_modules/@expo/config-plugins/build/utils/BuildProperties.types.d.ts +25 -0
  281. package/plugin/node_modules/@expo/config-plugins/build/utils/BuildProperties.types.js +2 -0
  282. package/plugin/node_modules/@expo/config-plugins/build/utils/BuildProperties.types.js.map +1 -0
  283. package/plugin/node_modules/@expo/config-plugins/build/utils/Updates.d.ts +29 -0
  284. package/plugin/node_modules/@expo/config-plugins/build/utils/Updates.js +217 -0
  285. package/plugin/node_modules/@expo/config-plugins/build/utils/Updates.js.map +1 -0
  286. package/plugin/node_modules/@expo/config-plugins/build/utils/XML.d.ts +27 -0
  287. package/plugin/node_modules/@expo/config-plugins/build/utils/XML.js +161 -0
  288. package/plugin/node_modules/@expo/config-plugins/build/utils/XML.js.map +1 -0
  289. package/plugin/node_modules/@expo/config-plugins/build/utils/commonCodeMod.d.ts +32 -0
  290. package/plugin/node_modules/@expo/config-plugins/build/utils/commonCodeMod.js +63 -0
  291. package/plugin/node_modules/@expo/config-plugins/build/utils/commonCodeMod.js.map +1 -0
  292. package/plugin/node_modules/@expo/config-plugins/build/utils/errors.d.ts +15 -0
  293. package/plugin/node_modules/@expo/config-plugins/build/utils/errors.js +27 -0
  294. package/plugin/node_modules/@expo/config-plugins/build/utils/errors.js.map +1 -0
  295. package/plugin/node_modules/@expo/config-plugins/build/utils/fs.d.ts +4 -0
  296. package/plugin/node_modules/@expo/config-plugins/build/utils/fs.js +45 -0
  297. package/plugin/node_modules/@expo/config-plugins/build/utils/fs.js.map +1 -0
  298. package/plugin/node_modules/@expo/config-plugins/build/utils/generateCode.d.ts +36 -0
  299. package/plugin/node_modules/@expo/config-plugins/build/utils/generateCode.js +128 -0
  300. package/plugin/node_modules/@expo/config-plugins/build/utils/generateCode.js.map +1 -0
  301. package/plugin/node_modules/@expo/config-plugins/build/utils/history.d.ts +11 -0
  302. package/plugin/node_modules/@expo/config-plugins/build/utils/history.js +24 -0
  303. package/plugin/node_modules/@expo/config-plugins/build/utils/history.js.map +1 -0
  304. package/plugin/node_modules/@expo/config-plugins/build/utils/matchBrackets.d.ts +7 -0
  305. package/plugin/node_modules/@expo/config-plugins/build/utils/matchBrackets.js +65 -0
  306. package/plugin/node_modules/@expo/config-plugins/build/utils/matchBrackets.js.map +1 -0
  307. package/plugin/node_modules/@expo/config-plugins/build/utils/modules.d.ts +3 -0
  308. package/plugin/node_modules/@expo/config-plugins/build/utils/modules.js +42 -0
  309. package/plugin/node_modules/@expo/config-plugins/build/utils/modules.js.map +1 -0
  310. package/plugin/node_modules/@expo/config-plugins/build/utils/obj.d.ts +2 -0
  311. package/plugin/node_modules/@expo/config-plugins/build/utils/obj.js +20 -0
  312. package/plugin/node_modules/@expo/config-plugins/build/utils/obj.js.map +1 -0
  313. package/plugin/node_modules/@expo/config-plugins/build/utils/plugin-resolver.d.ts +33 -0
  314. package/plugin/node_modules/@expo/config-plugins/build/utils/plugin-resolver.js +218 -0
  315. package/plugin/node_modules/@expo/config-plugins/build/utils/plugin-resolver.js.map +1 -0
  316. package/plugin/node_modules/@expo/config-plugins/build/utils/sortObject.d.ts +4 -0
  317. package/plugin/node_modules/@expo/config-plugins/build/utils/sortObject.js +42 -0
  318. package/plugin/node_modules/@expo/config-plugins/build/utils/sortObject.js.map +1 -0
  319. package/plugin/node_modules/@expo/config-plugins/build/utils/versions.d.ts +3 -0
  320. package/plugin/node_modules/@expo/config-plugins/build/utils/versions.js +42 -0
  321. package/plugin/node_modules/@expo/config-plugins/build/utils/versions.js.map +1 -0
  322. package/plugin/node_modules/@expo/config-plugins/build/utils/warnings.d.ts +26 -0
  323. package/plugin/node_modules/@expo/config-plugins/build/utils/warnings.js +52 -0
  324. package/plugin/node_modules/@expo/config-plugins/build/utils/warnings.js.map +1 -0
  325. package/plugin/node_modules/@expo/config-plugins/package.json +62 -0
  326. package/plugin/node_modules/@expo/config-types/LICENSE +22 -0
  327. package/plugin/node_modules/@expo/config-types/README.md +38 -0
  328. package/plugin/node_modules/@expo/config-types/build/ExpoConfig.d.ts +878 -0
  329. package/plugin/node_modules/@expo/config-types/build/ExpoConfig.js +6 -0
  330. package/plugin/node_modules/@expo/config-types/package.json +48 -0
  331. package/plugin/node_modules/@expo/json-file/LICENSE +22 -0
  332. package/plugin/node_modules/@expo/json-file/README.md +29 -0
  333. package/plugin/node_modules/@expo/json-file/build/JsonFile.d.ts +61 -0
  334. package/plugin/node_modules/@expo/json-file/build/JsonFile.js +283 -0
  335. package/plugin/node_modules/@expo/json-file/build/JsonFile.js.map +1 -0
  336. package/plugin/node_modules/@expo/json-file/build/JsonFileError.d.ts +13 -0
  337. package/plugin/node_modules/@expo/json-file/build/JsonFileError.js +35 -0
  338. package/plugin/node_modules/@expo/json-file/build/JsonFileError.js.map +1 -0
  339. package/plugin/node_modules/@expo/json-file/package.json +47 -0
  340. package/plugin/node_modules/@expo/plist/README.md +8 -0
  341. package/plugin/node_modules/@expo/plist/build/build.d.ts +11 -0
  342. package/plugin/node_modules/@expo/plist/build/build.js +152 -0
  343. package/plugin/node_modules/@expo/plist/build/build.js.map +1 -0
  344. package/plugin/node_modules/@expo/plist/build/index.d.ts +16 -0
  345. package/plugin/node_modules/@expo/plist/build/index.js +6 -0
  346. package/plugin/node_modules/@expo/plist/build/index.js.map +1 -0
  347. package/plugin/node_modules/@expo/plist/build/parse.d.ts +8 -0
  348. package/plugin/node_modules/@expo/plist/build/parse.js +201 -0
  349. package/plugin/node_modules/@expo/plist/build/parse.js.map +1 -0
  350. package/plugin/node_modules/@expo/plist/package.json +45 -0
  351. package/plugin/node_modules/@expo/sdk-runtime-versions/README.md +5 -0
  352. package/plugin/node_modules/@expo/sdk-runtime-versions/build/index.d.ts +4 -0
  353. package/plugin/node_modules/@expo/sdk-runtime-versions/build/index.js +21 -0
  354. package/plugin/node_modules/@expo/sdk-runtime-versions/build/index.js.map +1 -0
  355. package/plugin/node_modules/@expo/sdk-runtime-versions/package.json +29 -0
  356. package/plugin/node_modules/@types/node/LICENSE +21 -0
  357. package/plugin/node_modules/@types/node/README.md +15 -0
  358. package/plugin/node_modules/@types/node/assert/strict.d.ts +8 -0
  359. package/plugin/node_modules/@types/node/assert.d.ts +1044 -0
  360. package/plugin/node_modules/@types/node/async_hooks.d.ts +605 -0
  361. package/plugin/node_modules/@types/node/buffer.buffer.d.ts +462 -0
  362. package/plugin/node_modules/@types/node/buffer.d.ts +1932 -0
  363. package/plugin/node_modules/@types/node/child_process.d.ts +1548 -0
  364. package/plugin/node_modules/@types/node/cluster.d.ts +578 -0
  365. package/plugin/node_modules/@types/node/compatibility/disposable.d.ts +16 -0
  366. package/plugin/node_modules/@types/node/compatibility/index.d.ts +9 -0
  367. package/plugin/node_modules/@types/node/compatibility/indexable.d.ts +20 -0
  368. package/plugin/node_modules/@types/node/compatibility/iterators.d.ts +21 -0
  369. package/plugin/node_modules/@types/node/console.d.ts +452 -0
  370. package/plugin/node_modules/@types/node/constants.d.ts +21 -0
  371. package/plugin/node_modules/@types/node/crypto.d.ts +4570 -0
  372. package/plugin/node_modules/@types/node/dgram.d.ts +596 -0
  373. package/plugin/node_modules/@types/node/diagnostics_channel.d.ts +578 -0
  374. package/plugin/node_modules/@types/node/dns/promises.d.ts +479 -0
  375. package/plugin/node_modules/@types/node/dns.d.ts +871 -0
  376. package/plugin/node_modules/@types/node/dom-events.d.ts +99 -0
  377. package/plugin/node_modules/@types/node/domain.d.ts +170 -0
  378. package/plugin/node_modules/@types/node/events.d.ts +931 -0
  379. package/plugin/node_modules/@types/node/fs/promises.d.ts +1248 -0
  380. package/plugin/node_modules/@types/node/fs.d.ts +4362 -0
  381. package/plugin/node_modules/@types/node/globals.d.ts +335 -0
  382. package/plugin/node_modules/@types/node/globals.typedarray.d.ts +21 -0
  383. package/plugin/node_modules/@types/node/http.d.ts +2031 -0
  384. package/plugin/node_modules/@types/node/http2.d.ts +2623 -0
  385. package/plugin/node_modules/@types/node/https.d.ts +544 -0
  386. package/plugin/node_modules/@types/node/index.d.ts +91 -0
  387. package/plugin/node_modules/@types/node/inspector.d.ts +3966 -0
  388. package/plugin/node_modules/@types/node/module.d.ts +539 -0
  389. package/plugin/node_modules/@types/node/net.d.ts +1011 -0
  390. package/plugin/node_modules/@types/node/os.d.ts +495 -0
  391. package/plugin/node_modules/@types/node/package.json +140 -0
  392. package/plugin/node_modules/@types/node/path.d.ts +200 -0
  393. package/plugin/node_modules/@types/node/perf_hooks.d.ts +963 -0
  394. package/plugin/node_modules/@types/node/process.d.ts +1956 -0
  395. package/plugin/node_modules/@types/node/punycode.d.ts +117 -0
  396. package/plugin/node_modules/@types/node/querystring.d.ts +152 -0
  397. package/plugin/node_modules/@types/node/readline/promises.d.ts +162 -0
  398. package/plugin/node_modules/@types/node/readline.d.ts +589 -0
  399. package/plugin/node_modules/@types/node/repl.d.ts +430 -0
  400. package/plugin/node_modules/@types/node/sea.d.ts +153 -0
  401. package/plugin/node_modules/@types/node/stream/consumers.d.ts +38 -0
  402. package/plugin/node_modules/@types/node/stream/promises.d.ts +90 -0
  403. package/plugin/node_modules/@types/node/stream/web.d.ts +533 -0
  404. package/plugin/node_modules/@types/node/stream.d.ts +1668 -0
  405. package/plugin/node_modules/@types/node/string_decoder.d.ts +67 -0
  406. package/plugin/node_modules/@types/node/test.d.ts +1807 -0
  407. package/plugin/node_modules/@types/node/timers/promises.d.ts +108 -0
  408. package/plugin/node_modules/@types/node/timers.d.ts +286 -0
  409. package/plugin/node_modules/@types/node/tls.d.ts +1231 -0
  410. package/plugin/node_modules/@types/node/trace_events.d.ts +197 -0
  411. package/plugin/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +460 -0
  412. package/plugin/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +19 -0
  413. package/plugin/node_modules/@types/node/ts5.6/index.d.ts +91 -0
  414. package/plugin/node_modules/@types/node/tty.d.ts +208 -0
  415. package/plugin/node_modules/@types/node/url.d.ts +964 -0
  416. package/plugin/node_modules/@types/node/util.d.ts +2331 -0
  417. package/plugin/node_modules/@types/node/v8.d.ts +808 -0
  418. package/plugin/node_modules/@types/node/vm.d.ts +1030 -0
  419. package/plugin/node_modules/@types/node/wasi.d.ts +181 -0
  420. package/plugin/node_modules/@types/node/worker_threads.d.ts +724 -0
  421. package/plugin/node_modules/@types/node/zlib.d.ts +539 -0
  422. package/plugin/node_modules/@xmldom/xmldom/CHANGELOG.md +401 -0
  423. package/plugin/node_modules/@xmldom/xmldom/LICENSE +8 -0
  424. package/plugin/node_modules/@xmldom/xmldom/index.d.ts +43 -0
  425. package/plugin/node_modules/@xmldom/xmldom/lib/.eslintrc.yml +2 -0
  426. package/plugin/node_modules/@xmldom/xmldom/lib/conventions.js +177 -0
  427. package/plugin/node_modules/@xmldom/xmldom/lib/dom-parser.js +268 -0
  428. package/plugin/node_modules/@xmldom/xmldom/lib/dom.js +1808 -0
  429. package/plugin/node_modules/@xmldom/xmldom/lib/entities.js +2166 -0
  430. package/plugin/node_modules/@xmldom/xmldom/lib/index.js +4 -0
  431. package/plugin/node_modules/@xmldom/xmldom/lib/sax.js +656 -0
  432. package/plugin/node_modules/@xmldom/xmldom/package.json +60 -0
  433. package/plugin/node_modules/@xmldom/xmldom/readme.md +338 -0
  434. package/plugin/node_modules/ansi-styles/index.d.ts +345 -0
  435. package/plugin/node_modules/ansi-styles/index.js +163 -0
  436. package/plugin/node_modules/ansi-styles/license +9 -0
  437. package/plugin/node_modules/ansi-styles/package.json +56 -0
  438. package/plugin/node_modules/ansi-styles/readme.md +152 -0
  439. package/plugin/node_modules/balanced-match/.github/FUNDING.yml +2 -0
  440. package/plugin/node_modules/balanced-match/LICENSE.md +21 -0
  441. package/plugin/node_modules/balanced-match/README.md +97 -0
  442. package/plugin/node_modules/balanced-match/index.js +62 -0
  443. package/plugin/node_modules/balanced-match/package.json +48 -0
  444. package/plugin/node_modules/base64-js/LICENSE +21 -0
  445. package/plugin/node_modules/base64-js/README.md +34 -0
  446. package/plugin/node_modules/base64-js/base64js.min.js +1 -0
  447. package/plugin/node_modules/base64-js/index.d.ts +3 -0
  448. package/plugin/node_modules/base64-js/index.js +150 -0
  449. package/plugin/node_modules/base64-js/package.json +47 -0
  450. package/plugin/node_modules/big-integer/BigInteger.d.ts +2393 -0
  451. package/plugin/node_modules/big-integer/BigInteger.js +1453 -0
  452. package/plugin/node_modules/big-integer/BigInteger.min.js +1 -0
  453. package/plugin/node_modules/big-integer/LICENSE +24 -0
  454. package/plugin/node_modules/big-integer/README.md +589 -0
  455. package/plugin/node_modules/big-integer/bower.json +29 -0
  456. package/plugin/node_modules/big-integer/package.json +48 -0
  457. package/plugin/node_modules/big-integer/tsconfig.json +24 -0
  458. package/plugin/node_modules/bplist-creator/LICENSE +18 -0
  459. package/plugin/node_modules/bplist-creator/README.md +64 -0
  460. package/plugin/node_modules/bplist-creator/bplistCreator.js +460 -0
  461. package/plugin/node_modules/bplist-creator/package.json +28 -0
  462. package/plugin/node_modules/bplist-creator/test/airplay.bplist +0 -0
  463. package/plugin/node_modules/bplist-creator/test/binaryData.bplist +0 -0
  464. package/plugin/node_modules/bplist-creator/test/creatorTest.js +211 -0
  465. package/plugin/node_modules/bplist-creator/test/iTunes-small.bplist +0 -0
  466. package/plugin/node_modules/bplist-creator/test/integers.bplist +0 -0
  467. package/plugin/node_modules/bplist-creator/test/sample1.bplist +0 -0
  468. package/plugin/node_modules/bplist-creator/test/sample2.bplist +0 -0
  469. package/plugin/node_modules/bplist-creator/test/uid.bplist +0 -0
  470. package/plugin/node_modules/bplist-creator/test/utf16.bplist +0 -0
  471. package/plugin/node_modules/bplist-parser/.editorconfig +12 -0
  472. package/plugin/node_modules/bplist-parser/.eslintignore +1 -0
  473. package/plugin/node_modules/bplist-parser/.eslintrc.js +295 -0
  474. package/plugin/node_modules/bplist-parser/README.md +48 -0
  475. package/plugin/node_modules/bplist-parser/bplistParser.d.ts +6 -0
  476. package/plugin/node_modules/bplist-parser/bplistParser.js +366 -0
  477. package/plugin/node_modules/bplist-parser/package.json +35 -0
  478. package/plugin/node_modules/brace-expansion/LICENSE +21 -0
  479. package/plugin/node_modules/brace-expansion/README.md +129 -0
  480. package/plugin/node_modules/brace-expansion/index.js +201 -0
  481. package/plugin/node_modules/brace-expansion/package.json +50 -0
  482. package/plugin/node_modules/chalk/index.d.ts +415 -0
  483. package/plugin/node_modules/chalk/license +9 -0
  484. package/plugin/node_modules/chalk/package.json +68 -0
  485. package/plugin/node_modules/chalk/readme.md +341 -0
  486. package/plugin/node_modules/chalk/source/index.js +229 -0
  487. package/plugin/node_modules/chalk/source/templates.js +134 -0
  488. package/plugin/node_modules/chalk/source/util.js +39 -0
  489. package/plugin/node_modules/color-convert/CHANGELOG.md +54 -0
  490. package/plugin/node_modules/color-convert/LICENSE +21 -0
  491. package/plugin/node_modules/color-convert/README.md +68 -0
  492. package/plugin/node_modules/color-convert/conversions.js +839 -0
  493. package/plugin/node_modules/color-convert/index.js +81 -0
  494. package/plugin/node_modules/color-convert/package.json +48 -0
  495. package/plugin/node_modules/color-convert/route.js +97 -0
  496. package/plugin/node_modules/color-name/LICENSE +8 -0
  497. package/plugin/node_modules/color-name/README.md +11 -0
  498. package/plugin/node_modules/color-name/index.js +152 -0
  499. package/plugin/node_modules/color-name/package.json +28 -0
  500. package/plugin/node_modules/concat-map/.travis.yml +4 -0
  501. package/plugin/node_modules/concat-map/LICENSE +18 -0
  502. package/plugin/node_modules/concat-map/README.markdown +62 -0
  503. package/plugin/node_modules/concat-map/example/map.js +6 -0
  504. package/plugin/node_modules/concat-map/index.js +13 -0
  505. package/plugin/node_modules/concat-map/package.json +43 -0
  506. package/plugin/node_modules/concat-map/test/map.js +39 -0
  507. package/plugin/node_modules/debug/LICENSE +20 -0
  508. package/plugin/node_modules/debug/README.md +481 -0
  509. package/plugin/node_modules/debug/package.json +64 -0
  510. package/plugin/node_modules/debug/src/browser.js +272 -0
  511. package/plugin/node_modules/debug/src/common.js +292 -0
  512. package/plugin/node_modules/debug/src/index.js +10 -0
  513. package/plugin/node_modules/debug/src/node.js +263 -0
  514. package/plugin/node_modules/escape-string-regexp/index.js +11 -0
  515. package/plugin/node_modules/escape-string-regexp/license +21 -0
  516. package/plugin/node_modules/escape-string-regexp/package.json +41 -0
  517. package/plugin/node_modules/escape-string-regexp/readme.md +27 -0
  518. package/plugin/node_modules/find-up/index.d.ts +138 -0
  519. package/plugin/node_modules/find-up/index.js +89 -0
  520. package/plugin/node_modules/find-up/license +9 -0
  521. package/plugin/node_modules/find-up/package.json +54 -0
  522. package/plugin/node_modules/find-up/readme.md +151 -0
  523. package/plugin/node_modules/fs.realpath/LICENSE +43 -0
  524. package/plugin/node_modules/fs.realpath/README.md +33 -0
  525. package/plugin/node_modules/fs.realpath/index.js +66 -0
  526. package/plugin/node_modules/fs.realpath/old.js +303 -0
  527. package/plugin/node_modules/fs.realpath/package.json +26 -0
  528. package/plugin/node_modules/getenv/LICENSE.md +20 -0
  529. package/plugin/node_modules/getenv/README.md +197 -0
  530. package/plugin/node_modules/getenv/index.js +150 -0
  531. package/plugin/node_modules/getenv/package.json +38 -0
  532. package/plugin/node_modules/glob/LICENSE +21 -0
  533. package/plugin/node_modules/glob/README.md +375 -0
  534. package/plugin/node_modules/glob/changelog.md +67 -0
  535. package/plugin/node_modules/glob/common.js +240 -0
  536. package/plugin/node_modules/glob/glob.js +790 -0
  537. package/plugin/node_modules/glob/package.json +46 -0
  538. package/plugin/node_modules/glob/sync.js +486 -0
  539. package/plugin/node_modules/graceful-fs/LICENSE +15 -0
  540. package/plugin/node_modules/graceful-fs/README.md +143 -0
  541. package/plugin/node_modules/graceful-fs/clone.js +23 -0
  542. package/plugin/node_modules/graceful-fs/graceful-fs.js +448 -0
  543. package/plugin/node_modules/graceful-fs/legacy-streams.js +118 -0
  544. package/plugin/node_modules/graceful-fs/package.json +53 -0
  545. package/plugin/node_modules/graceful-fs/polyfills.js +355 -0
  546. package/plugin/node_modules/has-flag/index.d.ts +39 -0
  547. package/plugin/node_modules/has-flag/index.js +8 -0
  548. package/plugin/node_modules/has-flag/license +9 -0
  549. package/plugin/node_modules/has-flag/package.json +46 -0
  550. package/plugin/node_modules/has-flag/readme.md +89 -0
  551. package/plugin/node_modules/imurmurhash/README.md +122 -0
  552. package/plugin/node_modules/imurmurhash/imurmurhash.js +138 -0
  553. package/plugin/node_modules/imurmurhash/imurmurhash.min.js +12 -0
  554. package/plugin/node_modules/imurmurhash/package.json +40 -0
  555. package/plugin/node_modules/inflight/LICENSE +15 -0
  556. package/plugin/node_modules/inflight/README.md +37 -0
  557. package/plugin/node_modules/inflight/inflight.js +54 -0
  558. package/plugin/node_modules/inflight/package.json +29 -0
  559. package/plugin/node_modules/inherits/LICENSE +16 -0
  560. package/plugin/node_modules/inherits/README.md +42 -0
  561. package/plugin/node_modules/inherits/inherits.js +9 -0
  562. package/plugin/node_modules/inherits/inherits_browser.js +27 -0
  563. package/plugin/node_modules/inherits/package.json +29 -0
  564. package/plugin/node_modules/js-tokens/CHANGELOG.md +151 -0
  565. package/plugin/node_modules/js-tokens/LICENSE +21 -0
  566. package/plugin/node_modules/js-tokens/README.md +240 -0
  567. package/plugin/node_modules/js-tokens/index.js +23 -0
  568. package/plugin/node_modules/js-tokens/package.json +30 -0
  569. package/plugin/node_modules/json5/LICENSE.md +23 -0
  570. package/plugin/node_modules/json5/README.md +282 -0
  571. package/plugin/node_modules/json5/dist/index.js +1737 -0
  572. package/plugin/node_modules/json5/dist/index.min.js +1 -0
  573. package/plugin/node_modules/json5/dist/index.min.mjs +1 -0
  574. package/plugin/node_modules/json5/dist/index.mjs +1426 -0
  575. package/plugin/node_modules/json5/lib/cli.js +152 -0
  576. package/plugin/node_modules/json5/lib/index.d.ts +4 -0
  577. package/plugin/node_modules/json5/lib/index.js +9 -0
  578. package/plugin/node_modules/json5/lib/parse.d.ts +15 -0
  579. package/plugin/node_modules/json5/lib/parse.js +1114 -0
  580. package/plugin/node_modules/json5/lib/register.js +13 -0
  581. package/plugin/node_modules/json5/lib/require.js +4 -0
  582. package/plugin/node_modules/json5/lib/stringify.d.ts +89 -0
  583. package/plugin/node_modules/json5/lib/stringify.js +261 -0
  584. package/plugin/node_modules/json5/lib/unicode.d.ts +3 -0
  585. package/plugin/node_modules/json5/lib/unicode.js +4 -0
  586. package/plugin/node_modules/json5/lib/util.d.ts +5 -0
  587. package/plugin/node_modules/json5/lib/util.js +35 -0
  588. package/plugin/node_modules/json5/package.json +72 -0
  589. package/plugin/node_modules/locate-path/index.d.ts +83 -0
  590. package/plugin/node_modules/locate-path/index.js +68 -0
  591. package/plugin/node_modules/locate-path/license +9 -0
  592. package/plugin/node_modules/locate-path/package.json +46 -0
  593. package/plugin/node_modules/locate-path/readme.md +125 -0
  594. package/plugin/node_modules/minimatch/LICENSE +15 -0
  595. package/plugin/node_modules/minimatch/README.md +230 -0
  596. package/plugin/node_modules/minimatch/minimatch.js +947 -0
  597. package/plugin/node_modules/minimatch/package.json +33 -0
  598. package/plugin/node_modules/ms/index.js +162 -0
  599. package/plugin/node_modules/ms/license.md +21 -0
  600. package/plugin/node_modules/ms/package.json +38 -0
  601. package/plugin/node_modules/ms/readme.md +59 -0
  602. package/plugin/node_modules/once/LICENSE +15 -0
  603. package/plugin/node_modules/once/README.md +79 -0
  604. package/plugin/node_modules/once/once.js +42 -0
  605. package/plugin/node_modules/once/package.json +33 -0
  606. package/plugin/node_modules/p-limit/index.d.ts +42 -0
  607. package/plugin/node_modules/p-limit/index.js +71 -0
  608. package/plugin/node_modules/p-limit/license +9 -0
  609. package/plugin/node_modules/p-limit/package.json +52 -0
  610. package/plugin/node_modules/p-limit/readme.md +101 -0
  611. package/plugin/node_modules/p-locate/index.d.ts +53 -0
  612. package/plugin/node_modules/p-locate/index.js +50 -0
  613. package/plugin/node_modules/p-locate/license +9 -0
  614. package/plugin/node_modules/p-locate/package.json +54 -0
  615. package/plugin/node_modules/p-locate/readme.md +93 -0
  616. package/plugin/node_modules/path-exists/index.d.ts +28 -0
  617. package/plugin/node_modules/path-exists/index.js +23 -0
  618. package/plugin/node_modules/path-exists/license +9 -0
  619. package/plugin/node_modules/path-exists/package.json +39 -0
  620. package/plugin/node_modules/path-exists/readme.md +52 -0
  621. package/plugin/node_modules/path-is-absolute/index.js +20 -0
  622. package/plugin/node_modules/path-is-absolute/license +21 -0
  623. package/plugin/node_modules/path-is-absolute/package.json +43 -0
  624. package/plugin/node_modules/path-is-absolute/readme.md +59 -0
  625. package/plugin/node_modules/picocolors/LICENSE +15 -0
  626. package/plugin/node_modules/picocolors/README.md +21 -0
  627. package/plugin/node_modules/picocolors/package.json +25 -0
  628. package/plugin/node_modules/picocolors/picocolors.browser.js +4 -0
  629. package/plugin/node_modules/picocolors/picocolors.d.ts +5 -0
  630. package/plugin/node_modules/picocolors/picocolors.js +75 -0
  631. package/plugin/node_modules/picocolors/types.d.ts +51 -0
  632. package/plugin/node_modules/plist/.github/workflows/ci.yml +24 -0
  633. package/plugin/node_modules/plist/.jshintrc +4 -0
  634. package/plugin/node_modules/plist/History.md +196 -0
  635. package/plugin/node_modules/plist/LICENSE +24 -0
  636. package/plugin/node_modules/plist/Makefile +75 -0
  637. package/plugin/node_modules/plist/README.md +146 -0
  638. package/plugin/node_modules/plist/dist/plist-build.js +5348 -0
  639. package/plugin/node_modules/plist/dist/plist-parse.js +7456 -0
  640. package/plugin/node_modules/plist/dist/plist.js +9888 -0
  641. package/plugin/node_modules/plist/examples/browser/index.html +14 -0
  642. package/plugin/node_modules/plist/index.js +13 -0
  643. package/plugin/node_modules/plist/lib/build.js +143 -0
  644. package/plugin/node_modules/plist/lib/parse.js +227 -0
  645. package/plugin/node_modules/plist/node_modules/@xmldom/xmldom/CHANGELOG.md +459 -0
  646. package/plugin/node_modules/plist/node_modules/@xmldom/xmldom/LICENSE +8 -0
  647. package/plugin/node_modules/plist/node_modules/@xmldom/xmldom/SECURITY.md +50 -0
  648. package/plugin/node_modules/plist/node_modules/@xmldom/xmldom/index.d.ts +43 -0
  649. package/plugin/node_modules/plist/node_modules/@xmldom/xmldom/lib/.eslintrc.yml +2 -0
  650. package/plugin/node_modules/plist/node_modules/@xmldom/xmldom/lib/conventions.js +203 -0
  651. package/plugin/node_modules/plist/node_modules/@xmldom/xmldom/lib/dom-parser.js +322 -0
  652. package/plugin/node_modules/plist/node_modules/@xmldom/xmldom/lib/dom.js +1840 -0
  653. package/plugin/node_modules/plist/node_modules/@xmldom/xmldom/lib/entities.js +2166 -0
  654. package/plugin/node_modules/plist/node_modules/@xmldom/xmldom/lib/index.js +4 -0
  655. package/plugin/node_modules/plist/node_modules/@xmldom/xmldom/lib/sax.js +662 -0
  656. package/plugin/node_modules/plist/node_modules/@xmldom/xmldom/package.json +71 -0
  657. package/plugin/node_modules/plist/node_modules/@xmldom/xmldom/readme.md +356 -0
  658. package/plugin/node_modules/plist/node_modules/xmlbuilder/.nycrc +6 -0
  659. package/plugin/node_modules/plist/node_modules/xmlbuilder/.vscode/launch.json +23 -0
  660. package/plugin/node_modules/plist/node_modules/xmlbuilder/CHANGELOG.md +593 -0
  661. package/plugin/node_modules/plist/node_modules/xmlbuilder/LICENSE +21 -0
  662. package/plugin/node_modules/plist/node_modules/xmlbuilder/README.md +103 -0
  663. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/Derivation.js +10 -0
  664. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/DocumentPosition.js +12 -0
  665. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/NodeType.js +25 -0
  666. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/OperationType.js +11 -0
  667. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/Utility.js +88 -0
  668. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/WriterState.js +10 -0
  669. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLAttribute.js +130 -0
  670. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLCData.js +41 -0
  671. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLCharacterData.js +86 -0
  672. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLComment.js +41 -0
  673. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLDOMConfiguration.js +80 -0
  674. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLDOMErrorHandler.js +20 -0
  675. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLDOMImplementation.js +55 -0
  676. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLDOMStringList.js +44 -0
  677. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLDTDAttList.js +66 -0
  678. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLDTDElement.js +44 -0
  679. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLDTDEntity.js +115 -0
  680. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLDTDNotation.js +66 -0
  681. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLDeclaration.js +51 -0
  682. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLDocType.js +235 -0
  683. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLDocument.js +282 -0
  684. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLDocumentCB.js +650 -0
  685. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLDocumentFragment.js +21 -0
  686. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLDummy.js +39 -0
  687. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLElement.js +334 -0
  688. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLNamedNodeMap.js +77 -0
  689. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLNode.js +999 -0
  690. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLNodeFilter.js +51 -0
  691. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLNodeList.js +45 -0
  692. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLProcessingInstruction.js +56 -0
  693. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLRaw.js +40 -0
  694. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLStreamWriter.js +209 -0
  695. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLStringWriter.js +40 -0
  696. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLStringifier.js +291 -0
  697. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLText.js +82 -0
  698. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLTypeInfo.js +23 -0
  699. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLUserDataHandler.js +27 -0
  700. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLWriterBase.js +485 -0
  701. package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/index.js +120 -0
  702. package/plugin/node_modules/plist/node_modules/xmlbuilder/package.json +51 -0
  703. package/plugin/node_modules/plist/node_modules/xmlbuilder/perf/basic/escaping.coffee +244 -0
  704. package/plugin/node_modules/plist/node_modules/xmlbuilder/perf/basic/object.coffee +21 -0
  705. package/plugin/node_modules/plist/node_modules/xmlbuilder/perf/index.coffee +161 -0
  706. package/plugin/node_modules/plist/node_modules/xmlbuilder/perf/perf.list +11 -0
  707. package/plugin/node_modules/plist/node_modules/xmlbuilder/typings/index.d.ts +1771 -0
  708. package/plugin/node_modules/plist/package.json +44 -0
  709. package/plugin/node_modules/resolve-from/index.d.ts +31 -0
  710. package/plugin/node_modules/resolve-from/index.js +47 -0
  711. package/plugin/node_modules/resolve-from/license +9 -0
  712. package/plugin/node_modules/resolve-from/package.json +36 -0
  713. package/plugin/node_modules/resolve-from/readme.md +72 -0
  714. package/plugin/node_modules/sax/LICENSE +41 -0
  715. package/plugin/node_modules/sax/README.md +228 -0
  716. package/plugin/node_modules/sax/lib/sax.js +1597 -0
  717. package/plugin/node_modules/sax/package.json +29 -0
  718. package/plugin/node_modules/semver/LICENSE +15 -0
  719. package/plugin/node_modules/semver/README.md +664 -0
  720. package/plugin/node_modules/semver/bin/semver.js +191 -0
  721. package/plugin/node_modules/semver/classes/comparator.js +143 -0
  722. package/plugin/node_modules/semver/classes/index.js +7 -0
  723. package/plugin/node_modules/semver/classes/range.js +556 -0
  724. package/plugin/node_modules/semver/classes/semver.js +319 -0
  725. package/plugin/node_modules/semver/functions/clean.js +8 -0
  726. package/plugin/node_modules/semver/functions/cmp.js +54 -0
  727. package/plugin/node_modules/semver/functions/coerce.js +62 -0
  728. package/plugin/node_modules/semver/functions/compare-build.js +9 -0
  729. package/plugin/node_modules/semver/functions/compare-loose.js +5 -0
  730. package/plugin/node_modules/semver/functions/compare.js +7 -0
  731. package/plugin/node_modules/semver/functions/diff.js +60 -0
  732. package/plugin/node_modules/semver/functions/eq.js +5 -0
  733. package/plugin/node_modules/semver/functions/gt.js +5 -0
  734. package/plugin/node_modules/semver/functions/gte.js +5 -0
  735. package/plugin/node_modules/semver/functions/inc.js +21 -0
  736. package/plugin/node_modules/semver/functions/lt.js +5 -0
  737. package/plugin/node_modules/semver/functions/lte.js +5 -0
  738. package/plugin/node_modules/semver/functions/major.js +5 -0
  739. package/plugin/node_modules/semver/functions/minor.js +5 -0
  740. package/plugin/node_modules/semver/functions/neq.js +5 -0
  741. package/plugin/node_modules/semver/functions/parse.js +18 -0
  742. package/plugin/node_modules/semver/functions/patch.js +5 -0
  743. package/plugin/node_modules/semver/functions/prerelease.js +8 -0
  744. package/plugin/node_modules/semver/functions/rcompare.js +5 -0
  745. package/plugin/node_modules/semver/functions/rsort.js +5 -0
  746. package/plugin/node_modules/semver/functions/satisfies.js +12 -0
  747. package/plugin/node_modules/semver/functions/sort.js +5 -0
  748. package/plugin/node_modules/semver/functions/valid.js +8 -0
  749. package/plugin/node_modules/semver/index.js +91 -0
  750. package/plugin/node_modules/semver/internal/constants.js +37 -0
  751. package/plugin/node_modules/semver/internal/debug.js +11 -0
  752. package/plugin/node_modules/semver/internal/identifiers.js +25 -0
  753. package/plugin/node_modules/semver/internal/lrucache.js +42 -0
  754. package/plugin/node_modules/semver/internal/parse-options.js +17 -0
  755. package/plugin/node_modules/semver/internal/re.js +223 -0
  756. package/plugin/node_modules/semver/package.json +78 -0
  757. package/plugin/node_modules/semver/preload.js +4 -0
  758. package/plugin/node_modules/semver/range.bnf +16 -0
  759. package/plugin/node_modules/semver/ranges/gtr.js +6 -0
  760. package/plugin/node_modules/semver/ranges/intersects.js +9 -0
  761. package/plugin/node_modules/semver/ranges/ltr.js +6 -0
  762. package/plugin/node_modules/semver/ranges/max-satisfying.js +27 -0
  763. package/plugin/node_modules/semver/ranges/min-satisfying.js +26 -0
  764. package/plugin/node_modules/semver/ranges/min-version.js +63 -0
  765. package/plugin/node_modules/semver/ranges/outside.js +82 -0
  766. package/plugin/node_modules/semver/ranges/simplify.js +49 -0
  767. package/plugin/node_modules/semver/ranges/subset.js +249 -0
  768. package/plugin/node_modules/semver/ranges/to-comparators.js +10 -0
  769. package/plugin/node_modules/semver/ranges/valid.js +13 -0
  770. package/plugin/node_modules/signal-exit/LICENSE.txt +16 -0
  771. package/plugin/node_modules/signal-exit/README.md +39 -0
  772. package/plugin/node_modules/signal-exit/index.js +202 -0
  773. package/plugin/node_modules/signal-exit/package.json +38 -0
  774. package/plugin/node_modules/signal-exit/signals.js +53 -0
  775. package/plugin/node_modules/simple-plist/LICENSE +20 -0
  776. package/plugin/node_modules/simple-plist/README.md +130 -0
  777. package/plugin/node_modules/simple-plist/dist/index.d.ts +24 -0
  778. package/plugin/node_modules/simple-plist/dist/index.js +41 -0
  779. package/plugin/node_modules/simple-plist/dist/parse.d.ts +8 -0
  780. package/plugin/node_modules/simple-plist/dist/parse.js +45 -0
  781. package/plugin/node_modules/simple-plist/dist/readFile.d.ts +4 -0
  782. package/plugin/node_modules/simple-plist/dist/readFile.js +36 -0
  783. package/plugin/node_modules/simple-plist/dist/readFileSync.d.ts +3 -0
  784. package/plugin/node_modules/simple-plist/dist/readFileSync.js +26 -0
  785. package/plugin/node_modules/simple-plist/dist/stringify.d.ts +2 -0
  786. package/plugin/node_modules/simple-plist/dist/stringify.js +21 -0
  787. package/plugin/node_modules/simple-plist/dist/types.d.ts +4 -0
  788. package/plugin/node_modules/simple-plist/dist/types.js +12 -0
  789. package/plugin/node_modules/simple-plist/dist/writeBinaryFile.d.ts +5 -0
  790. package/plugin/node_modules/simple-plist/dist/writeBinaryFile.js +30 -0
  791. package/plugin/node_modules/simple-plist/dist/writeBinaryFileSync.d.ts +4 -0
  792. package/plugin/node_modules/simple-plist/dist/writeBinaryFileSync.js +22 -0
  793. package/plugin/node_modules/simple-plist/dist/writeFile.d.ts +5 -0
  794. package/plugin/node_modules/simple-plist/dist/writeFile.js +30 -0
  795. package/plugin/node_modules/simple-plist/dist/writeFileSync.d.ts +4 -0
  796. package/plugin/node_modules/simple-plist/dist/writeFileSync.js +23 -0
  797. package/plugin/node_modules/simple-plist/package.json +53 -0
  798. package/plugin/node_modules/slash/index.d.ts +25 -0
  799. package/plugin/node_modules/slash/index.js +11 -0
  800. package/plugin/node_modules/slash/license +9 -0
  801. package/plugin/node_modules/slash/package.json +35 -0
  802. package/plugin/node_modules/slash/readme.md +44 -0
  803. package/plugin/node_modules/slugify/CHANGELOG.md +94 -0
  804. package/plugin/node_modules/slugify/LICENSE +21 -0
  805. package/plugin/node_modules/slugify/README.md +98 -0
  806. package/plugin/node_modules/slugify/package.json +42 -0
  807. package/plugin/node_modules/slugify/slugify.d.ts +24 -0
  808. package/plugin/node_modules/slugify/slugify.js +69 -0
  809. package/plugin/node_modules/stream-buffers/.mailmap +2 -0
  810. package/plugin/node_modules/stream-buffers/.travis.yml +28 -0
  811. package/plugin/node_modules/stream-buffers/README.md +157 -0
  812. package/plugin/node_modules/stream-buffers/UNLICENSE +24 -0
  813. package/plugin/node_modules/stream-buffers/coverage/coverage.json +1 -0
  814. package/plugin/node_modules/stream-buffers/coverage/lcov-report/base.css +182 -0
  815. package/plugin/node_modules/stream-buffers/coverage/lcov-report/index.html +73 -0
  816. package/plugin/node_modules/stream-buffers/coverage/lcov-report/lib/constants.js.html +63 -0
  817. package/plugin/node_modules/stream-buffers/coverage/lcov-report/lib/index.html +112 -0
  818. package/plugin/node_modules/stream-buffers/coverage/lcov-report/lib/readable_streambuffer.js.html +453 -0
  819. package/plugin/node_modules/stream-buffers/coverage/lcov-report/lib/streambuffer.js.html +54 -0
  820. package/plugin/node_modules/stream-buffers/coverage/lcov-report/lib/writable_streambuffer.js.html +336 -0
  821. package/plugin/node_modules/stream-buffers/coverage/lcov-report/prettify.css +1 -0
  822. package/plugin/node_modules/stream-buffers/coverage/lcov-report/prettify.js +1 -0
  823. package/plugin/node_modules/stream-buffers/coverage/lcov-report/sort-arrow-sprite.png +0 -0
  824. package/plugin/node_modules/stream-buffers/coverage/lcov-report/sorter.js +156 -0
  825. package/plugin/node_modules/stream-buffers/coverage/lcov.info +305 -0
  826. package/plugin/node_modules/stream-buffers/lib/constants.js +6 -0
  827. package/plugin/node_modules/stream-buffers/lib/readable_streambuffer.js +136 -0
  828. package/plugin/node_modules/stream-buffers/lib/streambuffer.js +3 -0
  829. package/plugin/node_modules/stream-buffers/lib/writable_streambuffer.js +97 -0
  830. package/plugin/node_modules/stream-buffers/package.json +28 -0
  831. package/plugin/node_modules/supports-color/browser.js +5 -0
  832. package/plugin/node_modules/supports-color/index.js +135 -0
  833. package/plugin/node_modules/supports-color/license +9 -0
  834. package/plugin/node_modules/supports-color/package.json +53 -0
  835. package/plugin/node_modules/supports-color/readme.md +76 -0
  836. package/plugin/node_modules/typescript/LICENSE.txt +55 -0
  837. package/plugin/node_modules/typescript/README.md +50 -0
  838. package/plugin/node_modules/typescript/SECURITY.md +41 -0
  839. package/plugin/node_modules/typescript/ThirdPartyNoticeText.txt +193 -0
  840. package/plugin/node_modules/typescript/bin/tsc +2 -0
  841. package/plugin/node_modules/typescript/bin/tsserver +2 -0
  842. package/plugin/node_modules/typescript/lib/_tsc.js +133792 -0
  843. package/plugin/node_modules/typescript/lib/_tsserver.js +659 -0
  844. package/plugin/node_modules/typescript/lib/_typingsInstaller.js +222 -0
  845. package/plugin/node_modules/typescript/lib/cs/diagnosticMessages.generated.json +2122 -0
  846. package/plugin/node_modules/typescript/lib/de/diagnosticMessages.generated.json +2122 -0
  847. package/plugin/node_modules/typescript/lib/es/diagnosticMessages.generated.json +2122 -0
  848. package/plugin/node_modules/typescript/lib/fr/diagnosticMessages.generated.json +2122 -0
  849. package/plugin/node_modules/typescript/lib/it/diagnosticMessages.generated.json +2122 -0
  850. package/plugin/node_modules/typescript/lib/ja/diagnosticMessages.generated.json +2122 -0
  851. package/plugin/node_modules/typescript/lib/ko/diagnosticMessages.generated.json +2122 -0
  852. package/plugin/node_modules/typescript/lib/lib.d.ts +22 -0
  853. package/plugin/node_modules/typescript/lib/lib.decorators.d.ts +384 -0
  854. package/plugin/node_modules/typescript/lib/lib.decorators.legacy.d.ts +22 -0
  855. package/plugin/node_modules/typescript/lib/lib.dom.asynciterable.d.ts +41 -0
  856. package/plugin/node_modules/typescript/lib/lib.dom.d.ts +39429 -0
  857. package/plugin/node_modules/typescript/lib/lib.dom.iterable.d.ts +571 -0
  858. package/plugin/node_modules/typescript/lib/lib.es2015.collection.d.ts +147 -0
  859. package/plugin/node_modules/typescript/lib/lib.es2015.core.d.ts +597 -0
  860. package/plugin/node_modules/typescript/lib/lib.es2015.d.ts +28 -0
  861. package/plugin/node_modules/typescript/lib/lib.es2015.generator.d.ts +77 -0
  862. package/plugin/node_modules/typescript/lib/lib.es2015.iterable.d.ts +605 -0
  863. package/plugin/node_modules/typescript/lib/lib.es2015.promise.d.ts +81 -0
  864. package/plugin/node_modules/typescript/lib/lib.es2015.proxy.d.ts +128 -0
  865. package/plugin/node_modules/typescript/lib/lib.es2015.reflect.d.ts +144 -0
  866. package/plugin/node_modules/typescript/lib/lib.es2015.symbol.d.ts +46 -0
  867. package/plugin/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts +326 -0
  868. package/plugin/node_modules/typescript/lib/lib.es2016.array.include.d.ts +116 -0
  869. package/plugin/node_modules/typescript/lib/lib.es2016.d.ts +21 -0
  870. package/plugin/node_modules/typescript/lib/lib.es2016.full.d.ts +23 -0
  871. package/plugin/node_modules/typescript/lib/lib.es2016.intl.d.ts +31 -0
  872. package/plugin/node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts +21 -0
  873. package/plugin/node_modules/typescript/lib/lib.es2017.d.ts +26 -0
  874. package/plugin/node_modules/typescript/lib/lib.es2017.date.d.ts +31 -0
  875. package/plugin/node_modules/typescript/lib/lib.es2017.full.d.ts +23 -0
  876. package/plugin/node_modules/typescript/lib/lib.es2017.intl.d.ts +44 -0
  877. package/plugin/node_modules/typescript/lib/lib.es2017.object.d.ts +49 -0
  878. package/plugin/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts +135 -0
  879. package/plugin/node_modules/typescript/lib/lib.es2017.string.d.ts +45 -0
  880. package/plugin/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts +53 -0
  881. package/plugin/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts +77 -0
  882. package/plugin/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts +53 -0
  883. package/plugin/node_modules/typescript/lib/lib.es2018.d.ts +24 -0
  884. package/plugin/node_modules/typescript/lib/lib.es2018.full.d.ts +24 -0
  885. package/plugin/node_modules/typescript/lib/lib.es2018.intl.d.ts +83 -0
  886. package/plugin/node_modules/typescript/lib/lib.es2018.promise.d.ts +30 -0
  887. package/plugin/node_modules/typescript/lib/lib.es2018.regexp.d.ts +37 -0
  888. package/plugin/node_modules/typescript/lib/lib.es2019.array.d.ts +79 -0
  889. package/plugin/node_modules/typescript/lib/lib.es2019.d.ts +24 -0
  890. package/plugin/node_modules/typescript/lib/lib.es2019.full.d.ts +24 -0
  891. package/plugin/node_modules/typescript/lib/lib.es2019.intl.d.ts +23 -0
  892. package/plugin/node_modules/typescript/lib/lib.es2019.object.d.ts +33 -0
  893. package/plugin/node_modules/typescript/lib/lib.es2019.string.d.ts +37 -0
  894. package/plugin/node_modules/typescript/lib/lib.es2019.symbol.d.ts +24 -0
  895. package/plugin/node_modules/typescript/lib/lib.es2020.bigint.d.ts +765 -0
  896. package/plugin/node_modules/typescript/lib/lib.es2020.d.ts +27 -0
  897. package/plugin/node_modules/typescript/lib/lib.es2020.date.d.ts +42 -0
  898. package/plugin/node_modules/typescript/lib/lib.es2020.full.d.ts +24 -0
  899. package/plugin/node_modules/typescript/lib/lib.es2020.intl.d.ts +474 -0
  900. package/plugin/node_modules/typescript/lib/lib.es2020.number.d.ts +28 -0
  901. package/plugin/node_modules/typescript/lib/lib.es2020.promise.d.ts +47 -0
  902. package/plugin/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts +99 -0
  903. package/plugin/node_modules/typescript/lib/lib.es2020.string.d.ts +44 -0
  904. package/plugin/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts +41 -0
  905. package/plugin/node_modules/typescript/lib/lib.es2021.d.ts +23 -0
  906. package/plugin/node_modules/typescript/lib/lib.es2021.full.d.ts +24 -0
  907. package/plugin/node_modules/typescript/lib/lib.es2021.intl.d.ts +166 -0
  908. package/plugin/node_modules/typescript/lib/lib.es2021.promise.d.ts +48 -0
  909. package/plugin/node_modules/typescript/lib/lib.es2021.string.d.ts +33 -0
  910. package/plugin/node_modules/typescript/lib/lib.es2021.weakref.d.ts +78 -0
  911. package/plugin/node_modules/typescript/lib/lib.es2022.array.d.ts +121 -0
  912. package/plugin/node_modules/typescript/lib/lib.es2022.d.ts +25 -0
  913. package/plugin/node_modules/typescript/lib/lib.es2022.error.d.ts +75 -0
  914. package/plugin/node_modules/typescript/lib/lib.es2022.full.d.ts +24 -0
  915. package/plugin/node_modules/typescript/lib/lib.es2022.intl.d.ts +145 -0
  916. package/plugin/node_modules/typescript/lib/lib.es2022.object.d.ts +26 -0
  917. package/plugin/node_modules/typescript/lib/lib.es2022.regexp.d.ts +39 -0
  918. package/plugin/node_modules/typescript/lib/lib.es2022.string.d.ts +25 -0
  919. package/plugin/node_modules/typescript/lib/lib.es2023.array.d.ts +924 -0
  920. package/plugin/node_modules/typescript/lib/lib.es2023.collection.d.ts +21 -0
  921. package/plugin/node_modules/typescript/lib/lib.es2023.d.ts +22 -0
  922. package/plugin/node_modules/typescript/lib/lib.es2023.full.d.ts +24 -0
  923. package/plugin/node_modules/typescript/lib/lib.es2023.intl.d.ts +56 -0
  924. package/plugin/node_modules/typescript/lib/lib.es2024.arraybuffer.d.ts +65 -0
  925. package/plugin/node_modules/typescript/lib/lib.es2024.collection.d.ts +29 -0
  926. package/plugin/node_modules/typescript/lib/lib.es2024.d.ts +26 -0
  927. package/plugin/node_modules/typescript/lib/lib.es2024.full.d.ts +24 -0
  928. package/plugin/node_modules/typescript/lib/lib.es2024.object.d.ts +29 -0
  929. package/plugin/node_modules/typescript/lib/lib.es2024.promise.d.ts +35 -0
  930. package/plugin/node_modules/typescript/lib/lib.es2024.regexp.d.ts +25 -0
  931. package/plugin/node_modules/typescript/lib/lib.es2024.sharedmemory.d.ts +68 -0
  932. package/plugin/node_modules/typescript/lib/lib.es2024.string.d.ts +29 -0
  933. package/plugin/node_modules/typescript/lib/lib.es5.d.ts +4601 -0
  934. package/plugin/node_modules/typescript/lib/lib.es6.d.ts +23 -0
  935. package/plugin/node_modules/typescript/lib/lib.esnext.array.d.ts +35 -0
  936. package/plugin/node_modules/typescript/lib/lib.esnext.collection.d.ts +96 -0
  937. package/plugin/node_modules/typescript/lib/lib.esnext.d.ts +29 -0
  938. package/plugin/node_modules/typescript/lib/lib.esnext.decorators.d.ts +28 -0
  939. package/plugin/node_modules/typescript/lib/lib.esnext.disposable.d.ts +193 -0
  940. package/plugin/node_modules/typescript/lib/lib.esnext.error.d.ts +24 -0
  941. package/plugin/node_modules/typescript/lib/lib.esnext.float16.d.ts +443 -0
  942. package/plugin/node_modules/typescript/lib/lib.esnext.full.d.ts +24 -0
  943. package/plugin/node_modules/typescript/lib/lib.esnext.intl.d.ts +21 -0
  944. package/plugin/node_modules/typescript/lib/lib.esnext.iterator.d.ts +148 -0
  945. package/plugin/node_modules/typescript/lib/lib.esnext.promise.d.ts +34 -0
  946. package/plugin/node_modules/typescript/lib/lib.esnext.sharedmemory.d.ts +25 -0
  947. package/plugin/node_modules/typescript/lib/lib.scripthost.d.ts +322 -0
  948. package/plugin/node_modules/typescript/lib/lib.webworker.asynciterable.d.ts +41 -0
  949. package/plugin/node_modules/typescript/lib/lib.webworker.d.ts +13150 -0
  950. package/plugin/node_modules/typescript/lib/lib.webworker.importscripts.d.ts +23 -0
  951. package/plugin/node_modules/typescript/lib/lib.webworker.iterable.d.ts +340 -0
  952. package/plugin/node_modules/typescript/lib/pl/diagnosticMessages.generated.json +2122 -0
  953. package/plugin/node_modules/typescript/lib/pt-br/diagnosticMessages.generated.json +2122 -0
  954. package/plugin/node_modules/typescript/lib/ru/diagnosticMessages.generated.json +2122 -0
  955. package/plugin/node_modules/typescript/lib/tr/diagnosticMessages.generated.json +2122 -0
  956. package/plugin/node_modules/typescript/lib/tsc.js +8 -0
  957. package/plugin/node_modules/typescript/lib/tsserver.js +8 -0
  958. package/plugin/node_modules/typescript/lib/tsserverlibrary.d.ts +17 -0
  959. package/plugin/node_modules/typescript/lib/tsserverlibrary.js +21 -0
  960. package/plugin/node_modules/typescript/lib/typesMap.json +497 -0
  961. package/plugin/node_modules/typescript/lib/typescript.d.ts +11438 -0
  962. package/plugin/node_modules/typescript/lib/typescript.js +200253 -0
  963. package/plugin/node_modules/typescript/lib/typingsInstaller.js +8 -0
  964. package/plugin/node_modules/typescript/lib/watchGuard.js +53 -0
  965. package/plugin/node_modules/typescript/lib/zh-cn/diagnosticMessages.generated.json +2122 -0
  966. package/plugin/node_modules/typescript/lib/zh-tw/diagnosticMessages.generated.json +2122 -0
  967. package/plugin/node_modules/typescript/package.json +120 -0
  968. package/plugin/node_modules/undici-types/LICENSE +21 -0
  969. package/plugin/node_modules/undici-types/README.md +6 -0
  970. package/plugin/node_modules/undici-types/agent.d.ts +31 -0
  971. package/plugin/node_modules/undici-types/api.d.ts +43 -0
  972. package/plugin/node_modules/undici-types/balanced-pool.d.ts +29 -0
  973. package/plugin/node_modules/undici-types/cache.d.ts +36 -0
  974. package/plugin/node_modules/undici-types/client.d.ts +108 -0
  975. package/plugin/node_modules/undici-types/connector.d.ts +34 -0
  976. package/plugin/node_modules/undici-types/content-type.d.ts +21 -0
  977. package/plugin/node_modules/undici-types/cookies.d.ts +28 -0
  978. package/plugin/node_modules/undici-types/diagnostics-channel.d.ts +66 -0
  979. package/plugin/node_modules/undici-types/dispatcher.d.ts +256 -0
  980. package/plugin/node_modules/undici-types/env-http-proxy-agent.d.ts +21 -0
  981. package/plugin/node_modules/undici-types/errors.d.ts +149 -0
  982. package/plugin/node_modules/undici-types/eventsource.d.ts +61 -0
  983. package/plugin/node_modules/undici-types/fetch.d.ts +209 -0
  984. package/plugin/node_modules/undici-types/file.d.ts +39 -0
  985. package/plugin/node_modules/undici-types/filereader.d.ts +54 -0
  986. package/plugin/node_modules/undici-types/formdata.d.ts +108 -0
  987. package/plugin/node_modules/undici-types/global-dispatcher.d.ts +9 -0
  988. package/plugin/node_modules/undici-types/global-origin.d.ts +7 -0
  989. package/plugin/node_modules/undici-types/handlers.d.ts +15 -0
  990. package/plugin/node_modules/undici-types/header.d.ts +4 -0
  991. package/plugin/node_modules/undici-types/index.d.ts +71 -0
  992. package/plugin/node_modules/undici-types/interceptors.d.ts +17 -0
  993. package/plugin/node_modules/undici-types/mock-agent.d.ts +50 -0
  994. package/plugin/node_modules/undici-types/mock-client.d.ts +25 -0
  995. package/plugin/node_modules/undici-types/mock-errors.d.ts +12 -0
  996. package/plugin/node_modules/undici-types/mock-interceptor.d.ts +93 -0
  997. package/plugin/node_modules/undici-types/mock-pool.d.ts +25 -0
  998. package/plugin/node_modules/undici-types/package.json +55 -0
  999. package/plugin/node_modules/undici-types/patch.d.ts +33 -0
  1000. package/plugin/node_modules/undici-types/pool-stats.d.ts +19 -0
  1001. package/plugin/node_modules/undici-types/pool.d.ts +39 -0
  1002. package/plugin/node_modules/undici-types/proxy-agent.d.ts +28 -0
  1003. package/plugin/node_modules/undici-types/readable.d.ts +65 -0
  1004. package/plugin/node_modules/undici-types/retry-agent.d.ts +8 -0
  1005. package/plugin/node_modules/undici-types/retry-handler.d.ts +116 -0
  1006. package/plugin/node_modules/undici-types/util.d.ts +18 -0
  1007. package/plugin/node_modules/undici-types/webidl.d.ts +228 -0
  1008. package/plugin/node_modules/undici-types/websocket.d.ts +150 -0
  1009. package/plugin/node_modules/uuid/CHANGELOG.md +156 -0
  1010. package/plugin/node_modules/uuid/CONTRIBUTING.md +20 -0
  1011. package/plugin/node_modules/uuid/LICENSE.md +21 -0
  1012. package/plugin/node_modules/uuid/README.md +406 -0
  1013. package/plugin/node_modules/uuid/deprecate.js +20 -0
  1014. package/plugin/node_modules/uuid/dist/bin/uuid +2 -0
  1015. package/plugin/node_modules/uuid/dist/bytesToUuid.js +27 -0
  1016. package/plugin/node_modules/uuid/dist/esm-browser/bytesToUuid.js +18 -0
  1017. package/plugin/node_modules/uuid/dist/esm-browser/index.js +4 -0
  1018. package/plugin/node_modules/uuid/dist/esm-browser/md5.js +218 -0
  1019. package/plugin/node_modules/uuid/dist/esm-browser/rng.js +15 -0
  1020. package/plugin/node_modules/uuid/dist/esm-browser/sha1.js +91 -0
  1021. package/plugin/node_modules/uuid/dist/esm-browser/v1.js +95 -0
  1022. package/plugin/node_modules/uuid/dist/esm-browser/v3.js +4 -0
  1023. package/plugin/node_modules/uuid/dist/esm-browser/v35.js +56 -0
  1024. package/plugin/node_modules/uuid/dist/esm-browser/v4.js +27 -0
  1025. package/plugin/node_modules/uuid/dist/esm-browser/v5.js +4 -0
  1026. package/plugin/node_modules/uuid/dist/esm-node/bytesToUuid.js +18 -0
  1027. package/plugin/node_modules/uuid/dist/esm-node/index.js +4 -0
  1028. package/plugin/node_modules/uuid/dist/esm-node/md5.js +13 -0
  1029. package/plugin/node_modules/uuid/dist/esm-node/rng.js +4 -0
  1030. package/plugin/node_modules/uuid/dist/esm-node/sha1.js +13 -0
  1031. package/plugin/node_modules/uuid/dist/esm-node/v1.js +95 -0
  1032. package/plugin/node_modules/uuid/dist/esm-node/v3.js +4 -0
  1033. package/plugin/node_modules/uuid/dist/esm-node/v35.js +56 -0
  1034. package/plugin/node_modules/uuid/dist/esm-node/v4.js +27 -0
  1035. package/plugin/node_modules/uuid/dist/esm-node/v5.js +4 -0
  1036. package/plugin/node_modules/uuid/dist/index.js +39 -0
  1037. package/plugin/node_modules/uuid/dist/md5-browser.js +225 -0
  1038. package/plugin/node_modules/uuid/dist/md5.js +24 -0
  1039. package/plugin/node_modules/uuid/dist/rng-browser.js +23 -0
  1040. package/plugin/node_modules/uuid/dist/rng.js +16 -0
  1041. package/plugin/node_modules/uuid/dist/sha1-browser.js +96 -0
  1042. package/plugin/node_modules/uuid/dist/sha1.js +24 -0
  1043. package/plugin/node_modules/uuid/dist/umd/uuid.min.js +1 -0
  1044. package/plugin/node_modules/uuid/dist/umd/uuidv1.min.js +1 -0
  1045. package/plugin/node_modules/uuid/dist/umd/uuidv3.min.js +1 -0
  1046. package/plugin/node_modules/uuid/dist/umd/uuidv4.min.js +1 -0
  1047. package/plugin/node_modules/uuid/dist/umd/uuidv5.min.js +1 -0
  1048. package/plugin/node_modules/uuid/dist/uuid-bin.js +67 -0
  1049. package/plugin/node_modules/uuid/dist/v1.js +108 -0
  1050. package/plugin/node_modules/uuid/dist/v3.js +17 -0
  1051. package/plugin/node_modules/uuid/dist/v35.js +69 -0
  1052. package/plugin/node_modules/uuid/dist/v4.js +41 -0
  1053. package/plugin/node_modules/uuid/dist/v5.js +17 -0
  1054. package/plugin/node_modules/uuid/package.json +115 -0
  1055. package/plugin/node_modules/uuid/v1.js +8 -0
  1056. package/plugin/node_modules/uuid/v3.js +8 -0
  1057. package/plugin/node_modules/uuid/v4.js +8 -0
  1058. package/plugin/node_modules/uuid/v5.js +8 -0
  1059. package/plugin/node_modules/wrappy/LICENSE +15 -0
  1060. package/plugin/node_modules/wrappy/README.md +36 -0
  1061. package/plugin/node_modules/wrappy/package.json +29 -0
  1062. package/plugin/node_modules/wrappy/wrappy.js +33 -0
  1063. package/plugin/node_modules/write-file-atomic/CHANGELOG.md +25 -0
  1064. package/plugin/node_modules/write-file-atomic/LICENSE +6 -0
  1065. package/plugin/node_modules/write-file-atomic/README.md +56 -0
  1066. package/plugin/node_modules/write-file-atomic/index.js +238 -0
  1067. package/plugin/node_modules/write-file-atomic/package.json +41 -0
  1068. package/plugin/node_modules/xcode/AUTHORS +6 -0
  1069. package/plugin/node_modules/xcode/CONTRIBUTING.md +37 -0
  1070. package/plugin/node_modules/xcode/LICENSE +202 -0
  1071. package/plugin/node_modules/xcode/Makefile +24 -0
  1072. package/plugin/node_modules/xcode/NOTICE +5 -0
  1073. package/plugin/node_modules/xcode/README.md +72 -0
  1074. package/plugin/node_modules/xcode/RELEASENOTES.md +77 -0
  1075. package/plugin/node_modules/xcode/index.js +18 -0
  1076. package/plugin/node_modules/xcode/lib/parseJob.js +32 -0
  1077. package/plugin/node_modules/xcode/lib/parser/pbxproj.js +1904 -0
  1078. package/plugin/node_modules/xcode/lib/parser/pbxproj.pegjs +280 -0
  1079. package/plugin/node_modules/xcode/lib/pbxFile.js +233 -0
  1080. package/plugin/node_modules/xcode/lib/pbxProject.js +2201 -0
  1081. package/plugin/node_modules/xcode/lib/pbxWriter.js +309 -0
  1082. package/plugin/node_modules/xcode/package.json +61 -0
  1083. package/plugin/node_modules/xml2js/LICENSE +19 -0
  1084. package/plugin/node_modules/xml2js/README.md +507 -0
  1085. package/plugin/node_modules/xml2js/lib/bom.js +12 -0
  1086. package/plugin/node_modules/xml2js/lib/builder.js +127 -0
  1087. package/plugin/node_modules/xml2js/lib/defaults.js +72 -0
  1088. package/plugin/node_modules/xml2js/lib/parser.js +396 -0
  1089. package/plugin/node_modules/xml2js/lib/processors.js +34 -0
  1090. package/plugin/node_modules/xml2js/lib/xml2js.js +39 -0
  1091. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/CHANGELOG.md +470 -0
  1092. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/LICENSE +21 -0
  1093. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/README.md +86 -0
  1094. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/appveyor.yml +20 -0
  1095. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/Derivation.js +10 -0
  1096. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/DocumentPosition.js +12 -0
  1097. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/NodeType.js +23 -0
  1098. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/OperationType.js +11 -0
  1099. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/Utility.js +83 -0
  1100. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/WriterState.js +10 -0
  1101. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLAttribute.js +108 -0
  1102. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLCData.js +36 -0
  1103. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLCharacterData.js +79 -0
  1104. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLComment.js +36 -0
  1105. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDOMConfiguration.js +64 -0
  1106. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDOMErrorHandler.js +16 -0
  1107. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDOMImplementation.js +32 -0
  1108. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDOMStringList.js +28 -0
  1109. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDTDAttList.js +55 -0
  1110. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDTDElement.js +38 -0
  1111. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDTDEntity.js +97 -0
  1112. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDTDNotation.js +52 -0
  1113. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDeclaration.js +43 -0
  1114. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDocType.js +186 -0
  1115. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDocument.js +242 -0
  1116. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDocumentCB.js +528 -0
  1117. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDocumentFragment.js +24 -0
  1118. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDummy.js +31 -0
  1119. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLElement.js +298 -0
  1120. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLNamedNodeMap.js +58 -0
  1121. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLNode.js +785 -0
  1122. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLNodeFilter.js +48 -0
  1123. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLNodeList.js +28 -0
  1124. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLProcessingInstruction.js +49 -0
  1125. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLRaw.js +35 -0
  1126. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLStreamWriter.js +176 -0
  1127. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLStringWriter.js +35 -0
  1128. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLStringifier.js +240 -0
  1129. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLText.js +69 -0
  1130. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLTypeInfo.js +21 -0
  1131. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLUserDataHandler.js +16 -0
  1132. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLWriterBase.js +428 -0
  1133. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/index.js +65 -0
  1134. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/package.json +39 -0
  1135. package/plugin/node_modules/xml2js/node_modules/xmlbuilder/typings/index.d.ts +153 -0
  1136. package/plugin/node_modules/xml2js/package.json +93 -0
  1137. package/plugin/node_modules/xmlbuilder/.nycrc +6 -0
  1138. package/plugin/node_modules/xmlbuilder/CHANGELOG.md +568 -0
  1139. package/plugin/node_modules/xmlbuilder/LICENSE +21 -0
  1140. package/plugin/node_modules/xmlbuilder/README.md +103 -0
  1141. package/plugin/node_modules/xmlbuilder/lib/Derivation.js +10 -0
  1142. package/plugin/node_modules/xmlbuilder/lib/DocumentPosition.js +12 -0
  1143. package/plugin/node_modules/xmlbuilder/lib/NodeType.js +25 -0
  1144. package/plugin/node_modules/xmlbuilder/lib/OperationType.js +11 -0
  1145. package/plugin/node_modules/xmlbuilder/lib/Utility.js +88 -0
  1146. package/plugin/node_modules/xmlbuilder/lib/WriterState.js +10 -0
  1147. package/plugin/node_modules/xmlbuilder/lib/XMLAttribute.js +130 -0
  1148. package/plugin/node_modules/xmlbuilder/lib/XMLCData.js +41 -0
  1149. package/plugin/node_modules/xmlbuilder/lib/XMLCharacterData.js +86 -0
  1150. package/plugin/node_modules/xmlbuilder/lib/XMLComment.js +41 -0
  1151. package/plugin/node_modules/xmlbuilder/lib/XMLDOMConfiguration.js +80 -0
  1152. package/plugin/node_modules/xmlbuilder/lib/XMLDOMErrorHandler.js +20 -0
  1153. package/plugin/node_modules/xmlbuilder/lib/XMLDOMImplementation.js +55 -0
  1154. package/plugin/node_modules/xmlbuilder/lib/XMLDOMStringList.js +44 -0
  1155. package/plugin/node_modules/xmlbuilder/lib/XMLDTDAttList.js +66 -0
  1156. package/plugin/node_modules/xmlbuilder/lib/XMLDTDElement.js +44 -0
  1157. package/plugin/node_modules/xmlbuilder/lib/XMLDTDEntity.js +115 -0
  1158. package/plugin/node_modules/xmlbuilder/lib/XMLDTDNotation.js +66 -0
  1159. package/plugin/node_modules/xmlbuilder/lib/XMLDeclaration.js +51 -0
  1160. package/plugin/node_modules/xmlbuilder/lib/XMLDocType.js +235 -0
  1161. package/plugin/node_modules/xmlbuilder/lib/XMLDocument.js +282 -0
  1162. package/plugin/node_modules/xmlbuilder/lib/XMLDocumentCB.js +650 -0
  1163. package/plugin/node_modules/xmlbuilder/lib/XMLDocumentFragment.js +21 -0
  1164. package/plugin/node_modules/xmlbuilder/lib/XMLDummy.js +39 -0
  1165. package/plugin/node_modules/xmlbuilder/lib/XMLElement.js +334 -0
  1166. package/plugin/node_modules/xmlbuilder/lib/XMLNamedNodeMap.js +77 -0
  1167. package/plugin/node_modules/xmlbuilder/lib/XMLNode.js +999 -0
  1168. package/plugin/node_modules/xmlbuilder/lib/XMLNodeFilter.js +51 -0
  1169. package/plugin/node_modules/xmlbuilder/lib/XMLNodeList.js +45 -0
  1170. package/plugin/node_modules/xmlbuilder/lib/XMLProcessingInstruction.js +56 -0
  1171. package/plugin/node_modules/xmlbuilder/lib/XMLRaw.js +40 -0
  1172. package/plugin/node_modules/xmlbuilder/lib/XMLStreamWriter.js +209 -0
  1173. package/plugin/node_modules/xmlbuilder/lib/XMLStringWriter.js +40 -0
  1174. package/plugin/node_modules/xmlbuilder/lib/XMLStringifier.js +287 -0
  1175. package/plugin/node_modules/xmlbuilder/lib/XMLText.js +82 -0
  1176. package/plugin/node_modules/xmlbuilder/lib/XMLTypeInfo.js +23 -0
  1177. package/plugin/node_modules/xmlbuilder/lib/XMLUserDataHandler.js +27 -0
  1178. package/plugin/node_modules/xmlbuilder/lib/XMLWriterBase.js +485 -0
  1179. package/plugin/node_modules/xmlbuilder/lib/index.js +120 -0
  1180. package/plugin/node_modules/xmlbuilder/package.json +51 -0
  1181. package/plugin/node_modules/xmlbuilder/perf/basic/escaping.coffee +244 -0
  1182. package/plugin/node_modules/xmlbuilder/perf/basic/object.coffee +21 -0
  1183. package/plugin/node_modules/xmlbuilder/perf/index.coffee +161 -0
  1184. package/plugin/node_modules/xmlbuilder/perf/perf.list +11 -0
  1185. package/plugin/node_modules/xmlbuilder/typings/index.d.ts +1761 -0
  1186. package/plugin/node_modules/yocto-queue/index.d.ts +56 -0
  1187. package/plugin/node_modules/yocto-queue/index.js +68 -0
  1188. package/plugin/node_modules/yocto-queue/license +9 -0
  1189. package/plugin/node_modules/yocto-queue/package.json +43 -0
  1190. package/plugin/node_modules/yocto-queue/readme.md +64 -0
  1191. package/plugin/package-lock.json +763 -0
  1192. package/plugin/package.json +16 -0
  1193. package/plugin/src/withVolumeKeyIntercept.ts +184 -0
  1194. package/plugin/tsconfig.json +18 -0
  1195. package/plugin/tsconfig.tsbuildinfo +1 -0
  1196. package/src/ReactNativeKookitModule.ts +20 -0
@@ -0,0 +1,217 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.FINGERPRINT_RUNTIME_VERSION_SENTINEL = void 0;
7
+ exports.getAppVersion = getAppVersion;
8
+ exports.getExpoUpdatesPackageVersion = getExpoUpdatesPackageVersion;
9
+ exports.getNativeVersion = getNativeVersion;
10
+ exports.getRuntimeVersionAsync = getRuntimeVersionAsync;
11
+ exports.getRuntimeVersionNullableAsync = getRuntimeVersionNullableAsync;
12
+ exports.getSDKVersion = getSDKVersion;
13
+ exports.getUpdateUrl = getUpdateUrl;
14
+ exports.getUpdatesCheckOnLaunch = getUpdatesCheckOnLaunch;
15
+ exports.getUpdatesCodeSigningCertificate = getUpdatesCodeSigningCertificate;
16
+ exports.getUpdatesCodeSigningMetadata = getUpdatesCodeSigningMetadata;
17
+ exports.getUpdatesCodeSigningMetadataStringified = getUpdatesCodeSigningMetadataStringified;
18
+ exports.getUpdatesEnabled = getUpdatesEnabled;
19
+ exports.getUpdatesRequestHeaders = getUpdatesRequestHeaders;
20
+ exports.getUpdatesRequestHeadersStringified = getUpdatesRequestHeadersStringified;
21
+ exports.getUpdatesTimeout = getUpdatesTimeout;
22
+ exports.getUpdatesUseEmbeddedUpdate = getUpdatesUseEmbeddedUpdate;
23
+ exports.resolveRuntimeVersionPolicyAsync = resolveRuntimeVersionPolicyAsync;
24
+ function _sdkRuntimeVersions() {
25
+ const data = require("@expo/sdk-runtime-versions");
26
+ _sdkRuntimeVersions = function () {
27
+ return data;
28
+ };
29
+ return data;
30
+ }
31
+ function _fs() {
32
+ const data = _interopRequireDefault(require("fs"));
33
+ _fs = function () {
34
+ return data;
35
+ };
36
+ return data;
37
+ }
38
+ function _getenv() {
39
+ const data = require("getenv");
40
+ _getenv = function () {
41
+ return data;
42
+ };
43
+ return data;
44
+ }
45
+ function _path() {
46
+ const data = _interopRequireDefault(require("path"));
47
+ _path = function () {
48
+ return data;
49
+ };
50
+ return data;
51
+ }
52
+ function _resolveFrom() {
53
+ const data = _interopRequireDefault(require("resolve-from"));
54
+ _resolveFrom = function () {
55
+ return data;
56
+ };
57
+ return data;
58
+ }
59
+ function _semver() {
60
+ const data = _interopRequireDefault(require("semver"));
61
+ _semver = function () {
62
+ return data;
63
+ };
64
+ return data;
65
+ }
66
+ function _() {
67
+ const data = require("..");
68
+ _ = function () {
69
+ return data;
70
+ };
71
+ return data;
72
+ }
73
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
74
+ const FINGERPRINT_RUNTIME_VERSION_SENTINEL = exports.FINGERPRINT_RUNTIME_VERSION_SENTINEL = 'file:fingerprint';
75
+ function getExpoUpdatesPackageVersion(projectRoot) {
76
+ const expoUpdatesPackageJsonPath = _resolveFrom().default.silent(projectRoot, 'expo-updates/package.json');
77
+ if (!expoUpdatesPackageJsonPath || !_fs().default.existsSync(expoUpdatesPackageJsonPath)) {
78
+ return null;
79
+ }
80
+ const packageJson = JSON.parse(_fs().default.readFileSync(expoUpdatesPackageJsonPath, 'utf8'));
81
+ return packageJson.version;
82
+ }
83
+ function getUpdateUrl(config) {
84
+ return config.updates?.url ?? null;
85
+ }
86
+ function getAppVersion(config) {
87
+ return config.version ?? '1.0.0';
88
+ }
89
+ function getNativeVersion(config, platform) {
90
+ const version = _().IOSConfig.Version.getVersion(config);
91
+ switch (platform) {
92
+ case 'ios':
93
+ {
94
+ const buildNumber = _().IOSConfig.Version.getBuildNumber(config);
95
+ return `${version}(${buildNumber})`;
96
+ }
97
+ case 'android':
98
+ {
99
+ const versionCode = _().AndroidConfig.Version.getVersionCode(config);
100
+ return `${version}(${versionCode})`;
101
+ }
102
+ default:
103
+ {
104
+ throw new Error(`"${platform}" is not a supported platform. Choose either "ios" or "android".`);
105
+ }
106
+ }
107
+ }
108
+ async function getRuntimeVersionNullableAsync(...[projectRoot, config, platform]) {
109
+ try {
110
+ return await getRuntimeVersionAsync(projectRoot, config, platform);
111
+ } catch (e) {
112
+ if ((0, _getenv().boolish)('EXPO_DEBUG', false)) {
113
+ console.log(e);
114
+ }
115
+ return null;
116
+ }
117
+ }
118
+ async function getRuntimeVersionAsync(projectRoot, config, platform) {
119
+ const runtimeVersion = config[platform]?.runtimeVersion ?? config.runtimeVersion;
120
+ if (!runtimeVersion) {
121
+ return null;
122
+ }
123
+ if (typeof runtimeVersion === 'string') {
124
+ if (runtimeVersion === FINGERPRINT_RUNTIME_VERSION_SENTINEL) {
125
+ throw new Error(`${FINGERPRINT_RUNTIME_VERSION_SENTINEL} is a reserved value for runtime version. To use a fingerprint runtime version, use the "fingerprint" runtime version policy.`);
126
+ }
127
+ return runtimeVersion;
128
+ } else if (!runtimeVersion.policy) {
129
+ throw new Error(`"${runtimeVersion}" is not a valid runtime version. Only a string or a runtime version policy is supported.`);
130
+ } else if (runtimeVersion.policy === 'fingerprint') {
131
+ return FINGERPRINT_RUNTIME_VERSION_SENTINEL;
132
+ } else {
133
+ return await resolveRuntimeVersionPolicyAsync(runtimeVersion.policy, config, platform);
134
+ }
135
+ }
136
+ async function resolveRuntimeVersionPolicyAsync(policy, config, platform) {
137
+ if (policy === 'appVersion') {
138
+ return getAppVersion(config);
139
+ } else if (policy === 'nativeVersion') {
140
+ return getNativeVersion(config, platform);
141
+ } else if (policy === 'sdkVersion') {
142
+ if (!config.sdkVersion) {
143
+ throw new Error("An SDK version must be defined when using the 'sdkVersion' runtime policy.");
144
+ }
145
+ return (0, _sdkRuntimeVersions().getRuntimeVersionForSDKVersion)(config.sdkVersion);
146
+ } else {
147
+ // fingerprint is resolvable only at build time (not in config plugin).
148
+ throw new Error(`"${policy}" is not a valid runtime version policy type.`);
149
+ }
150
+ }
151
+ function getSDKVersion(config) {
152
+ return typeof config.sdkVersion === 'string' ? config.sdkVersion : null;
153
+ }
154
+ function getUpdatesEnabled(config) {
155
+ // allow override of enabled property
156
+ if (config.updates?.enabled !== undefined) {
157
+ return config.updates.enabled;
158
+ }
159
+ return getUpdateUrl(config) !== null;
160
+ }
161
+ function getUpdatesUseEmbeddedUpdate(config) {
162
+ if (config.updates?.useEmbeddedUpdate !== undefined) {
163
+ return config.updates.useEmbeddedUpdate;
164
+ }
165
+ return true;
166
+ }
167
+ function getUpdatesTimeout(config) {
168
+ return config.updates?.fallbackToCacheTimeout ?? 0;
169
+ }
170
+ function getUpdatesCheckOnLaunch(config, expoUpdatesPackageVersion) {
171
+ if (config.updates?.checkAutomatically === 'ON_ERROR_RECOVERY') {
172
+ // native 'ERROR_RECOVERY_ONLY' option was only introduced in 0.11.x
173
+ if (expoUpdatesPackageVersion && _semver().default.gte(expoUpdatesPackageVersion, '0.11.0')) {
174
+ return 'ERROR_RECOVERY_ONLY';
175
+ }
176
+ return 'NEVER';
177
+ } else if (config.updates?.checkAutomatically === 'ON_LOAD') {
178
+ return 'ALWAYS';
179
+ } else if (config.updates?.checkAutomatically === 'WIFI_ONLY') {
180
+ return 'WIFI_ONLY';
181
+ } else if (config.updates?.checkAutomatically === 'NEVER') {
182
+ return 'NEVER';
183
+ }
184
+ return 'ALWAYS';
185
+ }
186
+ function getUpdatesCodeSigningCertificate(projectRoot, config) {
187
+ const codeSigningCertificatePath = config.updates?.codeSigningCertificate;
188
+ if (!codeSigningCertificatePath) {
189
+ return undefined;
190
+ }
191
+ const finalPath = _path().default.join(projectRoot, codeSigningCertificatePath);
192
+ if (!_fs().default.existsSync(finalPath)) {
193
+ throw new Error(`File not found at \`updates.codeSigningCertificate\` path: ${finalPath}`);
194
+ }
195
+ return _fs().default.readFileSync(finalPath, 'utf8');
196
+ }
197
+ function getUpdatesCodeSigningMetadata(config) {
198
+ return config.updates?.codeSigningMetadata;
199
+ }
200
+ function getUpdatesCodeSigningMetadataStringified(config) {
201
+ const metadata = getUpdatesCodeSigningMetadata(config);
202
+ if (!metadata) {
203
+ return undefined;
204
+ }
205
+ return JSON.stringify(metadata);
206
+ }
207
+ function getUpdatesRequestHeaders(config) {
208
+ return config.updates?.requestHeaders;
209
+ }
210
+ function getUpdatesRequestHeadersStringified(config) {
211
+ const metadata = getUpdatesRequestHeaders(config);
212
+ if (!metadata) {
213
+ return undefined;
214
+ }
215
+ return JSON.stringify(metadata);
216
+ }
217
+ //# sourceMappingURL=Updates.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Updates.js","names":["_sdkRuntimeVersions","data","require","_fs","_interopRequireDefault","_getenv","_path","_resolveFrom","_semver","_","obj","__esModule","default","FINGERPRINT_RUNTIME_VERSION_SENTINEL","exports","getExpoUpdatesPackageVersion","projectRoot","expoUpdatesPackageJsonPath","resolveFrom","silent","fs","existsSync","packageJson","JSON","parse","readFileSync","version","getUpdateUrl","config","updates","url","getAppVersion","getNativeVersion","platform","IOSConfig","Version","getVersion","buildNumber","getBuildNumber","versionCode","AndroidConfig","getVersionCode","Error","getRuntimeVersionNullableAsync","getRuntimeVersionAsync","e","boolish","console","log","runtimeVersion","policy","resolveRuntimeVersionPolicyAsync","sdkVersion","getRuntimeVersionForSDKVersion","getSDKVersion","getUpdatesEnabled","enabled","undefined","getUpdatesUseEmbeddedUpdate","useEmbeddedUpdate","getUpdatesTimeout","fallbackToCacheTimeout","getUpdatesCheckOnLaunch","expoUpdatesPackageVersion","checkAutomatically","semver","gte","getUpdatesCodeSigningCertificate","codeSigningCertificatePath","codeSigningCertificate","finalPath","path","join","getUpdatesCodeSigningMetadata","codeSigningMetadata","getUpdatesCodeSigningMetadataStringified","metadata","stringify","getUpdatesRequestHeaders","requestHeaders","getUpdatesRequestHeadersStringified"],"sources":["../../src/utils/Updates.ts"],"sourcesContent":["import { Android, ExpoConfig, IOS } from '@expo/config-types';\nimport { getRuntimeVersionForSDKVersion } from '@expo/sdk-runtime-versions';\nimport fs from 'fs';\nimport { boolish } from 'getenv';\nimport path from 'path';\nimport resolveFrom from 'resolve-from';\nimport semver from 'semver';\n\nimport { AndroidConfig, IOSConfig } from '..';\n\nexport type ExpoConfigUpdates = Pick<\n ExpoConfig,\n 'sdkVersion' | 'owner' | 'runtimeVersion' | 'updates' | 'slug'\n>;\n\nexport const FINGERPRINT_RUNTIME_VERSION_SENTINEL = 'file:fingerprint';\n\nexport function getExpoUpdatesPackageVersion(projectRoot: string): string | null {\n const expoUpdatesPackageJsonPath = resolveFrom.silent(projectRoot, 'expo-updates/package.json');\n if (!expoUpdatesPackageJsonPath || !fs.existsSync(expoUpdatesPackageJsonPath)) {\n return null;\n }\n const packageJson = JSON.parse(fs.readFileSync(expoUpdatesPackageJsonPath, 'utf8'));\n return packageJson.version;\n}\n\nexport function getUpdateUrl(config: Pick<ExpoConfigUpdates, 'updates'>): string | null {\n return config.updates?.url ?? null;\n}\n\nexport function getAppVersion(config: Pick<ExpoConfig, 'version'>): string {\n return config.version ?? '1.0.0';\n}\n\nexport function getNativeVersion(\n config: Pick<ExpoConfig, 'version'> & {\n android?: Pick<Android, 'versionCode'>;\n ios?: Pick<IOS, 'buildNumber'>;\n },\n platform: 'android' | 'ios'\n): string {\n const version = IOSConfig.Version.getVersion(config);\n switch (platform) {\n case 'ios': {\n const buildNumber = IOSConfig.Version.getBuildNumber(config);\n return `${version}(${buildNumber})`;\n }\n case 'android': {\n const versionCode = AndroidConfig.Version.getVersionCode(config);\n return `${version}(${versionCode})`;\n }\n default: {\n throw new Error(\n `\"${platform}\" is not a supported platform. Choose either \"ios\" or \"android\".`\n );\n }\n }\n}\n\nexport async function getRuntimeVersionNullableAsync(\n ...[projectRoot, config, platform]: Parameters<typeof getRuntimeVersionAsync>\n): Promise<string | null> {\n try {\n return await getRuntimeVersionAsync(projectRoot, config, platform);\n } catch (e) {\n if (boolish('EXPO_DEBUG', false)) {\n console.log(e);\n }\n return null;\n }\n}\n\nexport async function getRuntimeVersionAsync(\n projectRoot: string,\n config: Pick<ExpoConfig, 'version' | 'runtimeVersion' | 'sdkVersion'> & {\n android?: Pick<Android, 'versionCode' | 'runtimeVersion'>;\n ios?: Pick<IOS, 'buildNumber' | 'runtimeVersion'>;\n },\n platform: 'android' | 'ios'\n): Promise<string | null> {\n const runtimeVersion = config[platform]?.runtimeVersion ?? config.runtimeVersion;\n if (!runtimeVersion) {\n return null;\n }\n\n if (typeof runtimeVersion === 'string') {\n if (runtimeVersion === FINGERPRINT_RUNTIME_VERSION_SENTINEL) {\n throw new Error(\n `${FINGERPRINT_RUNTIME_VERSION_SENTINEL} is a reserved value for runtime version. To use a fingerprint runtime version, use the \"fingerprint\" runtime version policy.`\n );\n }\n return runtimeVersion;\n } else if (!runtimeVersion.policy) {\n throw new Error(\n `\"${runtimeVersion}\" is not a valid runtime version. Only a string or a runtime version policy is supported.`\n );\n } else if (runtimeVersion.policy === 'fingerprint') {\n return FINGERPRINT_RUNTIME_VERSION_SENTINEL;\n } else {\n return await resolveRuntimeVersionPolicyAsync(runtimeVersion.policy, config, platform);\n }\n}\n\nexport async function resolveRuntimeVersionPolicyAsync(\n policy: 'appVersion' | 'nativeVersion' | 'sdkVersion',\n config: Pick<ExpoConfig, 'version' | 'sdkVersion'> & {\n android?: Pick<Android, 'versionCode'>;\n ios?: Pick<IOS, 'buildNumber'>;\n },\n platform: 'android' | 'ios'\n): Promise<string> {\n if (policy === 'appVersion') {\n return getAppVersion(config);\n } else if (policy === 'nativeVersion') {\n return getNativeVersion(config, platform);\n } else if (policy === 'sdkVersion') {\n if (!config.sdkVersion) {\n throw new Error(\"An SDK version must be defined when using the 'sdkVersion' runtime policy.\");\n }\n return getRuntimeVersionForSDKVersion(config.sdkVersion);\n } else {\n // fingerprint is resolvable only at build time (not in config plugin).\n throw new Error(`\"${policy}\" is not a valid runtime version policy type.`);\n }\n}\n\nexport function getSDKVersion(config: Pick<ExpoConfigUpdates, 'sdkVersion'>): string | null {\n return typeof config.sdkVersion === 'string' ? config.sdkVersion : null;\n}\n\nexport function getUpdatesEnabled(config: Pick<ExpoConfigUpdates, 'updates'>): boolean {\n // allow override of enabled property\n if (config.updates?.enabled !== undefined) {\n return config.updates.enabled;\n }\n\n return getUpdateUrl(config) !== null;\n}\n\nexport function getUpdatesUseEmbeddedUpdate(config: Pick<ExpoConfigUpdates, 'updates'>): boolean {\n if (config.updates?.useEmbeddedUpdate !== undefined) {\n return config.updates.useEmbeddedUpdate;\n }\n\n return true;\n}\n\nexport function getUpdatesTimeout(config: Pick<ExpoConfigUpdates, 'updates'>): number {\n return config.updates?.fallbackToCacheTimeout ?? 0;\n}\n\nexport function getUpdatesCheckOnLaunch(\n config: Pick<ExpoConfigUpdates, 'updates'>,\n expoUpdatesPackageVersion?: string | null\n): 'NEVER' | 'ERROR_RECOVERY_ONLY' | 'ALWAYS' | 'WIFI_ONLY' {\n if (config.updates?.checkAutomatically === 'ON_ERROR_RECOVERY') {\n // native 'ERROR_RECOVERY_ONLY' option was only introduced in 0.11.x\n if (expoUpdatesPackageVersion && semver.gte(expoUpdatesPackageVersion, '0.11.0')) {\n return 'ERROR_RECOVERY_ONLY';\n }\n return 'NEVER';\n } else if (config.updates?.checkAutomatically === 'ON_LOAD') {\n return 'ALWAYS';\n } else if (config.updates?.checkAutomatically === 'WIFI_ONLY') {\n return 'WIFI_ONLY';\n } else if (config.updates?.checkAutomatically === 'NEVER') {\n return 'NEVER';\n }\n return 'ALWAYS';\n}\n\nexport function getUpdatesCodeSigningCertificate(\n projectRoot: string,\n config: Pick<ExpoConfigUpdates, 'updates'>\n): string | undefined {\n const codeSigningCertificatePath = config.updates?.codeSigningCertificate;\n if (!codeSigningCertificatePath) {\n return undefined;\n }\n\n const finalPath = path.join(projectRoot, codeSigningCertificatePath);\n if (!fs.existsSync(finalPath)) {\n throw new Error(`File not found at \\`updates.codeSigningCertificate\\` path: ${finalPath}`);\n }\n\n return fs.readFileSync(finalPath, 'utf8');\n}\n\nexport function getUpdatesCodeSigningMetadata(\n config: Pick<ExpoConfigUpdates, 'updates'>\n): NonNullable<ExpoConfigUpdates['updates']>['codeSigningMetadata'] {\n return config.updates?.codeSigningMetadata;\n}\n\nexport function getUpdatesCodeSigningMetadataStringified(\n config: Pick<ExpoConfigUpdates, 'updates'>\n): string | undefined {\n const metadata = getUpdatesCodeSigningMetadata(config);\n if (!metadata) {\n return undefined;\n }\n\n return JSON.stringify(metadata);\n}\n\nexport function getUpdatesRequestHeaders(\n config: Pick<ExpoConfigUpdates, 'updates'>\n): NonNullable<ExpoConfigUpdates['updates']>['requestHeaders'] {\n return config.updates?.requestHeaders;\n}\n\nexport function getUpdatesRequestHeadersStringified(\n config: Pick<ExpoConfigUpdates, 'updates'>\n): string | undefined {\n const metadata = getUpdatesRequestHeaders(config);\n if (!metadata) {\n return undefined;\n }\n\n return JSON.stringify(metadata);\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AACA,SAAAA,oBAAA;EAAA,MAAAC,IAAA,GAAAC,OAAA;EAAAF,mBAAA,YAAAA,CAAA;IAAA,OAAAC,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAE,IAAA;EAAA,MAAAF,IAAA,GAAAG,sBAAA,CAAAF,OAAA;EAAAC,GAAA,YAAAA,CAAA;IAAA,OAAAF,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAI,QAAA;EAAA,MAAAJ,IAAA,GAAAC,OAAA;EAAAG,OAAA,YAAAA,CAAA;IAAA,OAAAJ,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAK,MAAA;EAAA,MAAAL,IAAA,GAAAG,sBAAA,CAAAF,OAAA;EAAAI,KAAA,YAAAA,CAAA;IAAA,OAAAL,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAM,aAAA;EAAA,MAAAN,IAAA,GAAAG,sBAAA,CAAAF,OAAA;EAAAK,YAAA,YAAAA,CAAA;IAAA,OAAAN,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,SAAAO,QAAA;EAAA,MAAAP,IAAA,GAAAG,sBAAA,CAAAF,OAAA;EAAAM,OAAA,YAAAA,CAAA;IAAA,OAAAP,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAEA,SAAAQ,EAAA;EAAA,MAAAR,IAAA,GAAAC,OAAA;EAAAO,CAAA,YAAAA,CAAA;IAAA,OAAAR,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AAA8C,SAAAG,uBAAAM,GAAA,WAAAA,GAAA,IAAAA,GAAA,CAAAC,UAAA,GAAAD,GAAA,KAAAE,OAAA,EAAAF,GAAA;AAOvC,MAAMG,oCAAoC,GAAAC,OAAA,CAAAD,oCAAA,GAAG,kBAAkB;AAE/D,SAASE,4BAA4BA,CAACC,WAAmB,EAAiB;EAC/E,MAAMC,0BAA0B,GAAGC,sBAAW,CAACC,MAAM,CAACH,WAAW,EAAE,2BAA2B,CAAC;EAC/F,IAAI,CAACC,0BAA0B,IAAI,CAACG,aAAE,CAACC,UAAU,CAACJ,0BAA0B,CAAC,EAAE;IAC7E,OAAO,IAAI;EACb;EACA,MAAMK,WAAW,GAAGC,IAAI,CAACC,KAAK,CAACJ,aAAE,CAACK,YAAY,CAACR,0BAA0B,EAAE,MAAM,CAAC,CAAC;EACnF,OAAOK,WAAW,CAACI,OAAO;AAC5B;AAEO,SAASC,YAAYA,CAACC,MAA0C,EAAiB;EACtF,OAAOA,MAAM,CAACC,OAAO,EAAEC,GAAG,IAAI,IAAI;AACpC;AAEO,SAASC,aAAaA,CAACH,MAAmC,EAAU;EACzE,OAAOA,MAAM,CAACF,OAAO,IAAI,OAAO;AAClC;AAEO,SAASM,gBAAgBA,CAC9BJ,MAGC,EACDK,QAA2B,EACnB;EACR,MAAMP,OAAO,GAAGQ,aAAS,CAACC,OAAO,CAACC,UAAU,CAACR,MAAM,CAAC;EACpD,QAAQK,QAAQ;IACd,KAAK,KAAK;MAAE;QACV,MAAMI,WAAW,GAAGH,aAAS,CAACC,OAAO,CAACG,cAAc,CAACV,MAAM,CAAC;QAC5D,OAAO,GAAGF,OAAO,IAAIW,WAAW,GAAG;MACrC;IACA,KAAK,SAAS;MAAE;QACd,MAAME,WAAW,GAAGC,iBAAa,CAACL,OAAO,CAACM,cAAc,CAACb,MAAM,CAAC;QAChE,OAAO,GAAGF,OAAO,IAAIa,WAAW,GAAG;MACrC;IACA;MAAS;QACP,MAAM,IAAIG,KAAK,CACb,IAAIT,QAAQ,kEACd,CAAC;MACH;EACF;AACF;AAEO,eAAeU,8BAA8BA,CAClD,GAAG,CAAC3B,WAAW,EAAEY,MAAM,EAAEK,QAAQ,CAA4C,EACrD;EACxB,IAAI;IACF,OAAO,MAAMW,sBAAsB,CAAC5B,WAAW,EAAEY,MAAM,EAAEK,QAAQ,CAAC;EACpE,CAAC,CAAC,OAAOY,CAAC,EAAE;IACV,IAAI,IAAAC,iBAAO,EAAC,YAAY,EAAE,KAAK,CAAC,EAAE;MAChCC,OAAO,CAACC,GAAG,CAACH,CAAC,CAAC;IAChB;IACA,OAAO,IAAI;EACb;AACF;AAEO,eAAeD,sBAAsBA,CAC1C5B,WAAmB,EACnBY,MAGC,EACDK,QAA2B,EACH;EACxB,MAAMgB,cAAc,GAAGrB,MAAM,CAACK,QAAQ,CAAC,EAAEgB,cAAc,IAAIrB,MAAM,CAACqB,cAAc;EAChF,IAAI,CAACA,cAAc,EAAE;IACnB,OAAO,IAAI;EACb;EAEA,IAAI,OAAOA,cAAc,KAAK,QAAQ,EAAE;IACtC,IAAIA,cAAc,KAAKpC,oCAAoC,EAAE;MAC3D,MAAM,IAAI6B,KAAK,CACb,GAAG7B,oCAAoC,+HACzC,CAAC;IACH;IACA,OAAOoC,cAAc;EACvB,CAAC,MAAM,IAAI,CAACA,cAAc,CAACC,MAAM,EAAE;IACjC,MAAM,IAAIR,KAAK,CACb,IAAIO,cAAc,2FACpB,CAAC;EACH,CAAC,MAAM,IAAIA,cAAc,CAACC,MAAM,KAAK,aAAa,EAAE;IAClD,OAAOrC,oCAAoC;EAC7C,CAAC,MAAM;IACL,OAAO,MAAMsC,gCAAgC,CAACF,cAAc,CAACC,MAAM,EAAEtB,MAAM,EAAEK,QAAQ,CAAC;EACxF;AACF;AAEO,eAAekB,gCAAgCA,CACpDD,MAAqD,EACrDtB,MAGC,EACDK,QAA2B,EACV;EACjB,IAAIiB,MAAM,KAAK,YAAY,EAAE;IAC3B,OAAOnB,aAAa,CAACH,MAAM,CAAC;EAC9B,CAAC,MAAM,IAAIsB,MAAM,KAAK,eAAe,EAAE;IACrC,OAAOlB,gBAAgB,CAACJ,MAAM,EAAEK,QAAQ,CAAC;EAC3C,CAAC,MAAM,IAAIiB,MAAM,KAAK,YAAY,EAAE;IAClC,IAAI,CAACtB,MAAM,CAACwB,UAAU,EAAE;MACtB,MAAM,IAAIV,KAAK,CAAC,4EAA4E,CAAC;IAC/F;IACA,OAAO,IAAAW,oDAA8B,EAACzB,MAAM,CAACwB,UAAU,CAAC;EAC1D,CAAC,MAAM;IACL;IACA,MAAM,IAAIV,KAAK,CAAC,IAAIQ,MAAM,+CAA+C,CAAC;EAC5E;AACF;AAEO,SAASI,aAAaA,CAAC1B,MAA6C,EAAiB;EAC1F,OAAO,OAAOA,MAAM,CAACwB,UAAU,KAAK,QAAQ,GAAGxB,MAAM,CAACwB,UAAU,GAAG,IAAI;AACzE;AAEO,SAASG,iBAAiBA,CAAC3B,MAA0C,EAAW;EACrF;EACA,IAAIA,MAAM,CAACC,OAAO,EAAE2B,OAAO,KAAKC,SAAS,EAAE;IACzC,OAAO7B,MAAM,CAACC,OAAO,CAAC2B,OAAO;EAC/B;EAEA,OAAO7B,YAAY,CAACC,MAAM,CAAC,KAAK,IAAI;AACtC;AAEO,SAAS8B,2BAA2BA,CAAC9B,MAA0C,EAAW;EAC/F,IAAIA,MAAM,CAACC,OAAO,EAAE8B,iBAAiB,KAAKF,SAAS,EAAE;IACnD,OAAO7B,MAAM,CAACC,OAAO,CAAC8B,iBAAiB;EACzC;EAEA,OAAO,IAAI;AACb;AAEO,SAASC,iBAAiBA,CAAChC,MAA0C,EAAU;EACpF,OAAOA,MAAM,CAACC,OAAO,EAAEgC,sBAAsB,IAAI,CAAC;AACpD;AAEO,SAASC,uBAAuBA,CACrClC,MAA0C,EAC1CmC,yBAAyC,EACiB;EAC1D,IAAInC,MAAM,CAACC,OAAO,EAAEmC,kBAAkB,KAAK,mBAAmB,EAAE;IAC9D;IACA,IAAID,yBAAyB,IAAIE,iBAAM,CAACC,GAAG,CAACH,yBAAyB,EAAE,QAAQ,CAAC,EAAE;MAChF,OAAO,qBAAqB;IAC9B;IACA,OAAO,OAAO;EAChB,CAAC,MAAM,IAAInC,MAAM,CAACC,OAAO,EAAEmC,kBAAkB,KAAK,SAAS,EAAE;IAC3D,OAAO,QAAQ;EACjB,CAAC,MAAM,IAAIpC,MAAM,CAACC,OAAO,EAAEmC,kBAAkB,KAAK,WAAW,EAAE;IAC7D,OAAO,WAAW;EACpB,CAAC,MAAM,IAAIpC,MAAM,CAACC,OAAO,EAAEmC,kBAAkB,KAAK,OAAO,EAAE;IACzD,OAAO,OAAO;EAChB;EACA,OAAO,QAAQ;AACjB;AAEO,SAASG,gCAAgCA,CAC9CnD,WAAmB,EACnBY,MAA0C,EACtB;EACpB,MAAMwC,0BAA0B,GAAGxC,MAAM,CAACC,OAAO,EAAEwC,sBAAsB;EACzE,IAAI,CAACD,0BAA0B,EAAE;IAC/B,OAAOX,SAAS;EAClB;EAEA,MAAMa,SAAS,GAAGC,eAAI,CAACC,IAAI,CAACxD,WAAW,EAAEoD,0BAA0B,CAAC;EACpE,IAAI,CAAChD,aAAE,CAACC,UAAU,CAACiD,SAAS,CAAC,EAAE;IAC7B,MAAM,IAAI5B,KAAK,CAAC,8DAA8D4B,SAAS,EAAE,CAAC;EAC5F;EAEA,OAAOlD,aAAE,CAACK,YAAY,CAAC6C,SAAS,EAAE,MAAM,CAAC;AAC3C;AAEO,SAASG,6BAA6BA,CAC3C7C,MAA0C,EACwB;EAClE,OAAOA,MAAM,CAACC,OAAO,EAAE6C,mBAAmB;AAC5C;AAEO,SAASC,wCAAwCA,CACtD/C,MAA0C,EACtB;EACpB,MAAMgD,QAAQ,GAAGH,6BAA6B,CAAC7C,MAAM,CAAC;EACtD,IAAI,CAACgD,QAAQ,EAAE;IACb,OAAOnB,SAAS;EAClB;EAEA,OAAOlC,IAAI,CAACsD,SAAS,CAACD,QAAQ,CAAC;AACjC;AAEO,SAASE,wBAAwBA,CACtClD,MAA0C,EACmB;EAC7D,OAAOA,MAAM,CAACC,OAAO,EAAEkD,cAAc;AACvC;AAEO,SAASC,mCAAmCA,CACjDpD,MAA0C,EACtB;EACpB,MAAMgD,QAAQ,GAAGE,wBAAwB,CAAClD,MAAM,CAAC;EACjD,IAAI,CAACgD,QAAQ,EAAE;IACb,OAAOnB,SAAS;EAClB;EAEA,OAAOlC,IAAI,CAACsD,SAAS,CAACD,QAAQ,CAAC;AACjC","ignoreList":[]}
@@ -0,0 +1,27 @@
1
+ export type XMLValue = boolean | number | string | null | XMLArray | XMLObject;
2
+ export interface XMLArray extends Array<XMLValue> {
3
+ }
4
+ export interface XMLObject {
5
+ [key: string]: XMLValue | undefined;
6
+ }
7
+ export declare function writeXMLAsync(options: {
8
+ path: string;
9
+ xml: any;
10
+ }): Promise<void>;
11
+ export declare function readXMLAsync(options: {
12
+ path: string;
13
+ fallback?: string | null;
14
+ }): Promise<XMLObject>;
15
+ export declare function _processAndroidXML(manifest: any): XMLObject;
16
+ export declare function parseXMLAsync(contents: string): Promise<XMLObject>;
17
+ export declare function format(manifest: any, { indentLevel, newline }?: {
18
+ indentLevel?: number | undefined;
19
+ newline?: string | undefined;
20
+ }): string;
21
+ /**
22
+ * Escapes Android string literals, specifically characters `"`, `'`, `\`, `\n`, `\r`, `\t`
23
+ *
24
+ * @param value unescaped Android XML string literal.
25
+ */
26
+ export declare function escapeAndroidString(value: string): string;
27
+ export declare function unescapeAndroidString(value: string): string;
@@ -0,0 +1,161 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports._processAndroidXML = _processAndroidXML;
7
+ exports.escapeAndroidString = escapeAndroidString;
8
+ exports.format = format;
9
+ exports.parseXMLAsync = parseXMLAsync;
10
+ exports.readXMLAsync = readXMLAsync;
11
+ exports.unescapeAndroidString = unescapeAndroidString;
12
+ exports.writeXMLAsync = writeXMLAsync;
13
+ function _fs() {
14
+ const data = _interopRequireDefault(require("fs"));
15
+ _fs = function () {
16
+ return data;
17
+ };
18
+ return data;
19
+ }
20
+ function _os() {
21
+ const data = require("os");
22
+ _os = function () {
23
+ return data;
24
+ };
25
+ return data;
26
+ }
27
+ function _path() {
28
+ const data = _interopRequireDefault(require("path"));
29
+ _path = function () {
30
+ return data;
31
+ };
32
+ return data;
33
+ }
34
+ function _xml2js() {
35
+ const data = require("xml2js");
36
+ _xml2js = function () {
37
+ return data;
38
+ };
39
+ return data;
40
+ }
41
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
42
+ async function writeXMLAsync(options) {
43
+ const xml = format(options.xml);
44
+ await _fs().default.promises.mkdir(_path().default.dirname(options.path), {
45
+ recursive: true
46
+ });
47
+ await _fs().default.promises.writeFile(options.path, xml);
48
+ }
49
+ async function readXMLAsync(options) {
50
+ let contents = '';
51
+ try {
52
+ contents = await _fs().default.promises.readFile(options.path, {
53
+ encoding: 'utf8',
54
+ flag: 'r'
55
+ });
56
+ } catch {
57
+ // catch and use fallback
58
+ }
59
+ const parser = new (_xml2js().Parser)();
60
+ const manifest = await parser.parseStringPromise(contents || options.fallback || '');
61
+ return _processAndroidXML(manifest);
62
+ }
63
+ function _processAndroidXML(manifest) {
64
+ // For strings.xml
65
+ if (Array.isArray(manifest?.resources?.string)) {
66
+ for (const string of manifest?.resources?.string) {
67
+ if (string.$.translatable === 'false' || string.$.translatable === false) {
68
+ continue;
69
+ }
70
+ string._ = unescapeAndroidString(string._);
71
+ }
72
+ }
73
+ return manifest;
74
+ }
75
+ async function parseXMLAsync(contents) {
76
+ const xml = await new (_xml2js().Parser)().parseStringPromise(contents);
77
+ return xml;
78
+ }
79
+ const stringTimesN = (n, char) => Array(n + 1).join(char);
80
+ function format(manifest, {
81
+ indentLevel = 2,
82
+ newline = _os().EOL
83
+ } = {}) {
84
+ let xmlInput;
85
+ if (typeof manifest === 'string') {
86
+ xmlInput = manifest;
87
+ } else if (manifest.toString) {
88
+ const builder = new (_xml2js().Builder)({
89
+ headless: true
90
+ });
91
+
92
+ // For strings.xml
93
+ if (Array.isArray(manifest?.resources?.string)) {
94
+ for (const string of manifest?.resources?.string) {
95
+ if (string.$.translatable === 'false' || string.$.translatable === false) {
96
+ continue;
97
+ }
98
+ string._ = escapeAndroidString(string._);
99
+ }
100
+ }
101
+ xmlInput = builder.buildObject(manifest);
102
+ return xmlInput;
103
+ } else {
104
+ throw new Error(`Invalid XML value passed in: ${manifest}`);
105
+ }
106
+ const indentString = stringTimesN(indentLevel, ' ');
107
+ let formatted = '';
108
+ const regex = /(>)(<)(\/*)/g;
109
+ const xml = xmlInput.replace(regex, `$1${newline}$2$3`);
110
+ let pad = 0;
111
+ xml.split(/\r?\n/).map(line => line.trim()).forEach(line => {
112
+ let indent = 0;
113
+ if (line.match(/.+<\/\w[^>]*>$/)) {
114
+ indent = 0;
115
+ } else if (line.match(/^<\/\w/)) {
116
+ if (pad !== 0) {
117
+ pad -= 1;
118
+ }
119
+ } else if (line.match(/^<\w([^>]*[^/])?>.*$/)) {
120
+ indent = 1;
121
+ } else {
122
+ indent = 0;
123
+ }
124
+ const padding = stringTimesN(pad, indentString);
125
+ formatted += padding + line + newline;
126
+ pad += indent;
127
+ });
128
+ return formatted.trim();
129
+ }
130
+
131
+ /**
132
+ * Escapes Android string literals, specifically characters `"`, `'`, `\`, `\n`, `\r`, `\t`
133
+ *
134
+ * @param value unescaped Android XML string literal.
135
+ */
136
+ function escapeAndroidString(value) {
137
+ value = value.replace(/[\n\r\t'"@]/g, m => {
138
+ switch (m) {
139
+ case '"':
140
+ case "'":
141
+ case '@':
142
+ return '\\' + m;
143
+ case '\n':
144
+ return '\\n';
145
+ case '\r':
146
+ return '\\r';
147
+ case '\t':
148
+ return '\\t';
149
+ default:
150
+ throw new Error(`Cannot escape unhandled XML character: ${m}`);
151
+ }
152
+ });
153
+ if (value.match(/(^\s|\s$)/)) {
154
+ value = '"' + value + '"';
155
+ }
156
+ return value;
157
+ }
158
+ function unescapeAndroidString(value) {
159
+ return value.replace(/\\(.)/g, '$1');
160
+ }
161
+ //# sourceMappingURL=XML.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"XML.js","names":["_fs","data","_interopRequireDefault","require","_os","_path","_xml2js","obj","__esModule","default","writeXMLAsync","options","xml","format","fs","promises","mkdir","path","dirname","recursive","writeFile","readXMLAsync","contents","readFile","encoding","flag","parser","Parser","manifest","parseStringPromise","fallback","_processAndroidXML","Array","isArray","resources","string","$","translatable","_","unescapeAndroidString","parseXMLAsync","stringTimesN","n","char","join","indentLevel","newline","EOL","xmlInput","toString","builder","Builder","headless","escapeAndroidString","buildObject","Error","indentString","formatted","regex","replace","pad","split","map","line","trim","forEach","indent","match","padding","value","m"],"sources":["../../src/utils/XML.ts"],"sourcesContent":["import fs from 'fs';\nimport { EOL } from 'os';\nimport path from 'path';\nimport { Builder, Parser } from 'xml2js';\n\nexport type XMLValue = boolean | number | string | null | XMLArray | XMLObject;\n\nexport interface XMLArray extends Array<XMLValue> {}\n\nexport interface XMLObject {\n [key: string]: XMLValue | undefined;\n}\n\nexport async function writeXMLAsync(options: { path: string; xml: any }): Promise<void> {\n const xml = format(options.xml);\n await fs.promises.mkdir(path.dirname(options.path), { recursive: true });\n await fs.promises.writeFile(options.path, xml);\n}\n\nexport async function readXMLAsync(options: {\n path: string;\n fallback?: string | null;\n}): Promise<XMLObject> {\n let contents: string = '';\n try {\n contents = await fs.promises.readFile(options.path, { encoding: 'utf8', flag: 'r' });\n } catch {\n // catch and use fallback\n }\n const parser = new Parser();\n const manifest = await parser.parseStringPromise(contents || options.fallback || '');\n\n return _processAndroidXML(manifest);\n}\n\nexport function _processAndroidXML(manifest: any): XMLObject {\n // For strings.xml\n if (Array.isArray(manifest?.resources?.string)) {\n for (const string of manifest?.resources?.string) {\n if (string.$.translatable === 'false' || string.$.translatable === false) {\n continue;\n }\n string._ = unescapeAndroidString(string._);\n }\n }\n\n return manifest;\n}\n\nexport async function parseXMLAsync(contents: string): Promise<XMLObject> {\n const xml = await new Parser().parseStringPromise(contents);\n return xml;\n}\n\nconst stringTimesN = (n: number, char: string) => Array(n + 1).join(char);\n\nexport function format(manifest: any, { indentLevel = 2, newline = EOL } = {}): string {\n let xmlInput: string;\n if (typeof manifest === 'string') {\n xmlInput = manifest;\n } else if (manifest.toString) {\n const builder = new Builder({\n headless: true,\n });\n\n // For strings.xml\n if (Array.isArray(manifest?.resources?.string)) {\n for (const string of manifest?.resources?.string) {\n if (string.$.translatable === 'false' || string.$.translatable === false) {\n continue;\n }\n string._ = escapeAndroidString(string._);\n }\n }\n\n xmlInput = builder.buildObject(manifest);\n\n return xmlInput;\n } else {\n throw new Error(`Invalid XML value passed in: ${manifest}`);\n }\n const indentString = stringTimesN(indentLevel, ' ');\n\n let formatted = '';\n const regex = /(>)(<)(\\/*)/g;\n const xml = xmlInput.replace(regex, `$1${newline}$2$3`);\n let pad = 0;\n xml\n .split(/\\r?\\n/)\n .map((line: string) => line.trim())\n .forEach((line: string) => {\n let indent = 0;\n if (line.match(/.+<\\/\\w[^>]*>$/)) {\n indent = 0;\n } else if (line.match(/^<\\/\\w/)) {\n if (pad !== 0) {\n pad -= 1;\n }\n } else if (line.match(/^<\\w([^>]*[^/])?>.*$/)) {\n indent = 1;\n } else {\n indent = 0;\n }\n\n const padding = stringTimesN(pad, indentString);\n formatted += padding + line + newline;\n pad += indent;\n });\n\n return formatted.trim();\n}\n\n/**\n * Escapes Android string literals, specifically characters `\"`, `'`, `\\`, `\\n`, `\\r`, `\\t`\n *\n * @param value unescaped Android XML string literal.\n */\nexport function escapeAndroidString(value: string): string {\n value = value.replace(/[\\n\\r\\t'\"@]/g, (m) => {\n switch (m) {\n case '\"':\n case \"'\":\n case '@':\n return '\\\\' + m;\n case '\\n':\n return '\\\\n';\n case '\\r':\n return '\\\\r';\n case '\\t':\n return '\\\\t';\n default:\n throw new Error(`Cannot escape unhandled XML character: ${m}`);\n }\n });\n if (value.match(/(^\\s|\\s$)/)) {\n value = '\"' + value + '\"';\n }\n return value;\n}\n\nexport function unescapeAndroidString(value: string): string {\n return value.replace(/\\\\(.)/g, '$1');\n}\n"],"mappings":"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","ignoreList":[]}
@@ -0,0 +1,32 @@
1
+ export interface CodeBlock {
2
+ start: number;
3
+ end: number;
4
+ code: string;
5
+ }
6
+ /**
7
+ * Insert contents at given offset
8
+ * @param srcContents source contents
9
+ * @param insertion content to insert
10
+ * @param offset `srcContents` offset to insert `insertion`
11
+ * @returns updated contents
12
+ */
13
+ export declare function insertContentsAtOffset(srcContents: string, insertion: string, offset: number): string;
14
+ /**
15
+ * Replace contents at given start and end offset
16
+ *
17
+ * @param contents source contents
18
+ * @param replacement new contents to place in [startOffset:endOffset]
19
+ * @param startOffset `contents` start offset for replacement
20
+ * @param endOffset `contents` end offset for replacement
21
+ * @returns updated contents
22
+ */
23
+ export declare function replaceContentsWithOffset(contents: string, replacement: string, startOffset: number, endOffset: number): string;
24
+ /**
25
+ * String.prototype.search() with offset support
26
+ *
27
+ * @param source source string to search
28
+ * @param regexp RegExp pattern to search
29
+ * @param offset start offset of `source` to search `regexp` pattern
30
+ * @returns The index of the first match between the regular expression and the given string, or -1 if no match was found.
31
+ */
32
+ export declare function searchFromOffset(source: string, regexp: RegExp, offset: number): number;
@@ -0,0 +1,63 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.insertContentsAtOffset = insertContentsAtOffset;
7
+ exports.replaceContentsWithOffset = replaceContentsWithOffset;
8
+ exports.searchFromOffset = searchFromOffset;
9
+ /**
10
+ * Insert contents at given offset
11
+ * @param srcContents source contents
12
+ * @param insertion content to insert
13
+ * @param offset `srcContents` offset to insert `insertion`
14
+ * @returns updated contents
15
+ */
16
+ function insertContentsAtOffset(srcContents, insertion, offset) {
17
+ const srcContentsLength = srcContents.length;
18
+ if (offset < 0 || offset > srcContentsLength) {
19
+ throw new Error('Invalid parameters.');
20
+ }
21
+ if (offset === 0) {
22
+ return `${insertion}${srcContents}`;
23
+ } else if (offset === srcContentsLength) {
24
+ return `${srcContents}${insertion}`;
25
+ }
26
+ const prefix = srcContents.substring(0, offset);
27
+ const suffix = srcContents.substring(offset);
28
+ return `${prefix}${insertion}${suffix}`;
29
+ }
30
+
31
+ /**
32
+ * Replace contents at given start and end offset
33
+ *
34
+ * @param contents source contents
35
+ * @param replacement new contents to place in [startOffset:endOffset]
36
+ * @param startOffset `contents` start offset for replacement
37
+ * @param endOffset `contents` end offset for replacement
38
+ * @returns updated contents
39
+ */
40
+ function replaceContentsWithOffset(contents, replacement, startOffset, endOffset) {
41
+ const contentsLength = contents.length;
42
+ if (startOffset < 0 || endOffset < 0 || startOffset >= contentsLength || endOffset >= contentsLength || startOffset > endOffset) {
43
+ throw new Error('Invalid parameters.');
44
+ }
45
+ const prefix = contents.substring(0, startOffset);
46
+ const suffix = contents.substring(endOffset + 1);
47
+ return `${prefix}${replacement}${suffix}`;
48
+ }
49
+
50
+ /**
51
+ * String.prototype.search() with offset support
52
+ *
53
+ * @param source source string to search
54
+ * @param regexp RegExp pattern to search
55
+ * @param offset start offset of `source` to search `regexp` pattern
56
+ * @returns The index of the first match between the regular expression and the given string, or -1 if no match was found.
57
+ */
58
+ function searchFromOffset(source, regexp, offset) {
59
+ const target = source.substring(offset);
60
+ const matchedIndex = target.search(regexp);
61
+ return matchedIndex < 0 ? matchedIndex : matchedIndex + offset;
62
+ }
63
+ //# sourceMappingURL=commonCodeMod.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"commonCodeMod.js","names":["insertContentsAtOffset","srcContents","insertion","offset","srcContentsLength","length","Error","prefix","substring","suffix","replaceContentsWithOffset","contents","replacement","startOffset","endOffset","contentsLength","searchFromOffset","source","regexp","target","matchedIndex","search"],"sources":["../../src/utils/commonCodeMod.ts"],"sourcesContent":["export interface CodeBlock {\n start: number;\n end: number;\n code: string;\n}\n\n/**\n * Insert contents at given offset\n * @param srcContents source contents\n * @param insertion content to insert\n * @param offset `srcContents` offset to insert `insertion`\n * @returns updated contents\n */\nexport function insertContentsAtOffset(\n srcContents: string,\n insertion: string,\n offset: number\n): string {\n const srcContentsLength = srcContents.length;\n if (offset < 0 || offset > srcContentsLength) {\n throw new Error('Invalid parameters.');\n }\n if (offset === 0) {\n return `${insertion}${srcContents}`;\n } else if (offset === srcContentsLength) {\n return `${srcContents}${insertion}`;\n }\n\n const prefix = srcContents.substring(0, offset);\n const suffix = srcContents.substring(offset);\n return `${prefix}${insertion}${suffix}`;\n}\n\n/**\n * Replace contents at given start and end offset\n *\n * @param contents source contents\n * @param replacement new contents to place in [startOffset:endOffset]\n * @param startOffset `contents` start offset for replacement\n * @param endOffset `contents` end offset for replacement\n * @returns updated contents\n */\nexport function replaceContentsWithOffset(\n contents: string,\n replacement: string,\n startOffset: number,\n endOffset: number\n): string {\n const contentsLength = contents.length;\n if (\n startOffset < 0 ||\n endOffset < 0 ||\n startOffset >= contentsLength ||\n endOffset >= contentsLength ||\n startOffset > endOffset\n ) {\n throw new Error('Invalid parameters.');\n }\n const prefix = contents.substring(0, startOffset);\n const suffix = contents.substring(endOffset + 1);\n return `${prefix}${replacement}${suffix}`;\n}\n\n/**\n * String.prototype.search() with offset support\n *\n * @param source source string to search\n * @param regexp RegExp pattern to search\n * @param offset start offset of `source` to search `regexp` pattern\n * @returns The index of the first match between the regular expression and the given string, or -1 if no match was found.\n */\nexport function searchFromOffset(source: string, regexp: RegExp, offset: number): number {\n const target = source.substring(offset);\n const matchedIndex = target.search(regexp);\n return matchedIndex < 0 ? matchedIndex : matchedIndex + offset;\n}\n"],"mappings":";;;;;;;;AAMA;AACA;AACA;AACA;AACA;AACA;AACA;AACO,SAASA,sBAAsBA,CACpCC,WAAmB,EACnBC,SAAiB,EACjBC,MAAc,EACN;EACR,MAAMC,iBAAiB,GAAGH,WAAW,CAACI,MAAM;EAC5C,IAAIF,MAAM,GAAG,CAAC,IAAIA,MAAM,GAAGC,iBAAiB,EAAE;IAC5C,MAAM,IAAIE,KAAK,CAAC,qBAAqB,CAAC;EACxC;EACA,IAAIH,MAAM,KAAK,CAAC,EAAE;IAChB,OAAO,GAAGD,SAAS,GAAGD,WAAW,EAAE;EACrC,CAAC,MAAM,IAAIE,MAAM,KAAKC,iBAAiB,EAAE;IACvC,OAAO,GAAGH,WAAW,GAAGC,SAAS,EAAE;EACrC;EAEA,MAAMK,MAAM,GAAGN,WAAW,CAACO,SAAS,CAAC,CAAC,EAAEL,MAAM,CAAC;EAC/C,MAAMM,MAAM,GAAGR,WAAW,CAACO,SAAS,CAACL,MAAM,CAAC;EAC5C,OAAO,GAAGI,MAAM,GAAGL,SAAS,GAAGO,MAAM,EAAE;AACzC;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACO,SAASC,yBAAyBA,CACvCC,QAAgB,EAChBC,WAAmB,EACnBC,WAAmB,EACnBC,SAAiB,EACT;EACR,MAAMC,cAAc,GAAGJ,QAAQ,CAACN,MAAM;EACtC,IACEQ,WAAW,GAAG,CAAC,IACfC,SAAS,GAAG,CAAC,IACbD,WAAW,IAAIE,cAAc,IAC7BD,SAAS,IAAIC,cAAc,IAC3BF,WAAW,GAAGC,SAAS,EACvB;IACA,MAAM,IAAIR,KAAK,CAAC,qBAAqB,CAAC;EACxC;EACA,MAAMC,MAAM,GAAGI,QAAQ,CAACH,SAAS,CAAC,CAAC,EAAEK,WAAW,CAAC;EACjD,MAAMJ,MAAM,GAAGE,QAAQ,CAACH,SAAS,CAACM,SAAS,GAAG,CAAC,CAAC;EAChD,OAAO,GAAGP,MAAM,GAAGK,WAAW,GAAGH,MAAM,EAAE;AAC3C;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACO,SAASO,gBAAgBA,CAACC,MAAc,EAAEC,MAAc,EAAEf,MAAc,EAAU;EACvF,MAAMgB,MAAM,GAAGF,MAAM,CAACT,SAAS,CAACL,MAAM,CAAC;EACvC,MAAMiB,YAAY,GAAGD,MAAM,CAACE,MAAM,CAACH,MAAM,CAAC;EAC1C,OAAOE,YAAY,GAAG,CAAC,GAAGA,YAAY,GAAGA,YAAY,GAAGjB,MAAM;AAChE","ignoreList":[]}
@@ -0,0 +1,15 @@
1
+ export declare class UnexpectedError extends Error {
2
+ readonly name = "UnexpectedError";
3
+ constructor(message: string);
4
+ }
5
+ export type PluginErrorCode = 'INVALID_PLUGIN_TYPE' | 'INVALID_PLUGIN_IMPORT' | 'PLUGIN_NOT_FOUND' | 'CONFLICTING_PROVIDER' | 'INVALID_MOD_ORDER' | 'MISSING_PROVIDER';
6
+ /**
7
+ * Based on `JsonFileError` from `@expo/json-file`
8
+ */
9
+ export declare class PluginError extends Error {
10
+ code: PluginErrorCode;
11
+ cause?: Error | undefined;
12
+ readonly name = "PluginError";
13
+ readonly isPluginError = true;
14
+ constructor(message: string, code: PluginErrorCode, cause?: Error | undefined);
15
+ }
@@ -0,0 +1,27 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.UnexpectedError = exports.PluginError = void 0;
7
+ class UnexpectedError extends Error {
8
+ name = 'UnexpectedError';
9
+ constructor(message) {
10
+ super(`${message}\nPlease report this as an issue on https://github.com/expo/expo/issues`);
11
+ }
12
+ }
13
+ exports.UnexpectedError = UnexpectedError;
14
+ /**
15
+ * Based on `JsonFileError` from `@expo/json-file`
16
+ */
17
+ class PluginError extends Error {
18
+ name = 'PluginError';
19
+ isPluginError = true;
20
+ constructor(message, code, cause) {
21
+ super(cause ? `${message}\n└─ Cause: ${cause.name}: ${cause.message}` : message);
22
+ this.code = code;
23
+ this.cause = cause;
24
+ }
25
+ }
26
+ exports.PluginError = PluginError;
27
+ //# sourceMappingURL=errors.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"errors.js","names":["UnexpectedError","Error","name","constructor","message","exports","PluginError","isPluginError","code","cause"],"sources":["../../src/utils/errors.ts"],"sourcesContent":["export class UnexpectedError extends Error {\n readonly name = 'UnexpectedError';\n\n constructor(message: string) {\n super(`${message}\\nPlease report this as an issue on https://github.com/expo/expo/issues`);\n }\n}\n\nexport type PluginErrorCode =\n | 'INVALID_PLUGIN_TYPE'\n | 'INVALID_PLUGIN_IMPORT'\n | 'PLUGIN_NOT_FOUND'\n | 'CONFLICTING_PROVIDER'\n | 'INVALID_MOD_ORDER'\n | 'MISSING_PROVIDER';\n\n/**\n * Based on `JsonFileError` from `@expo/json-file`\n */\nexport class PluginError extends Error {\n readonly name = 'PluginError';\n readonly isPluginError = true;\n\n constructor(\n message: string,\n public code: PluginErrorCode,\n public cause?: Error\n ) {\n super(cause ? `${message}\\n└─ Cause: ${cause.name}: ${cause.message}` : message);\n }\n}\n"],"mappings":";;;;;;AAAO,MAAMA,eAAe,SAASC,KAAK,CAAC;EAChCC,IAAI,GAAG,iBAAiB;EAEjCC,WAAWA,CAACC,OAAe,EAAE;IAC3B,KAAK,CAAC,GAAGA,OAAO,yEAAyE,CAAC;EAC5F;AACF;AAACC,OAAA,CAAAL,eAAA,GAAAA,eAAA;AAUD;AACA;AACA;AACO,MAAMM,WAAW,SAASL,KAAK,CAAC;EAC5BC,IAAI,GAAG,aAAa;EACpBK,aAAa,GAAG,IAAI;EAE7BJ,WAAWA,CACTC,OAAe,EACRI,IAAqB,EACrBC,KAAa,EACpB;IACA,KAAK,CAACA,KAAK,GAAG,GAAGL,OAAO,eAAeK,KAAK,CAACP,IAAI,KAAKO,KAAK,CAACL,OAAO,EAAE,GAAGA,OAAO,CAAC;IAAC,KAH1EI,IAAqB,GAArBA,IAAqB;IAAA,KACrBC,KAAa,GAAbA,KAAa;EAGtB;AACF;AAACJ,OAAA,CAAAC,WAAA,GAAAA,WAAA","ignoreList":[]}
@@ -0,0 +1,4 @@
1
+ /** A basic function that copies a single file to another file location. */
2
+ export declare function copyFilePathToPathAsync(src: string, dest: string): Promise<void>;
3
+ /** Remove a single file (not directory). Returns `true` if a file was actually deleted. */
4
+ export declare function removeFile(filePath: string): boolean;