react-native-kookit 0.1.0 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ANDROID_SETUP.md +188 -0
- package/EXPO_PLUGIN_README.md +136 -0
- package/README.md +219 -3
- package/README_NEW.md +133 -0
- package/android/src/main/java/expo/modules/kookit/ReactNativeKookitModule.kt +12 -1
- package/android/src/main/java/expo/modules/kookit/VolumeKeyReflectionHandler.kt +54 -0
- package/app.plugin.js +1 -0
- package/build/ReactNativeKookitModule.d.ts +16 -0
- package/build/ReactNativeKookitModule.d.ts.map +1 -1
- package/build/ReactNativeKookitModule.js.map +1 -1
- package/package-with-plugin.json +51 -0
- package/package.json +14 -3
- package/plugin/build/withVolumeKeyIntercept.d.ts +7 -0
- package/plugin/build/withVolumeKeyIntercept.d.ts.map +1 -0
- package/plugin/build/withVolumeKeyIntercept.js +143 -0
- package/plugin/build/withVolumeKeyIntercept.js.map +1 -0
- package/plugin/node_modules/.package-lock.json +752 -0
- package/plugin/node_modules/@babel/code-frame/LICENSE +22 -0
- package/plugin/node_modules/@babel/code-frame/README.md +19 -0
- package/plugin/node_modules/@babel/code-frame/lib/index.js +167 -0
- package/plugin/node_modules/@babel/code-frame/package.json +25 -0
- package/plugin/node_modules/@babel/helper-validator-identifier/LICENSE +22 -0
- package/plugin/node_modules/@babel/helper-validator-identifier/README.md +19 -0
- package/plugin/node_modules/@babel/helper-validator-identifier/lib/identifier.js +70 -0
- package/plugin/node_modules/@babel/helper-validator-identifier/lib/identifier.js.map +1 -0
- package/plugin/node_modules/@babel/helper-validator-identifier/lib/index.js +57 -0
- package/plugin/node_modules/@babel/helper-validator-identifier/lib/index.js.map +1 -0
- package/plugin/node_modules/@babel/helper-validator-identifier/lib/keyword.js +35 -0
- package/plugin/node_modules/@babel/helper-validator-identifier/lib/keyword.js.map +1 -0
- package/plugin/node_modules/@babel/helper-validator-identifier/package.json +31 -0
- package/plugin/node_modules/@babel/highlight/LICENSE +22 -0
- package/plugin/node_modules/@babel/highlight/README.md +19 -0
- package/plugin/node_modules/@babel/highlight/lib/index.js +119 -0
- package/plugin/node_modules/@babel/highlight/lib/index.js.map +1 -0
- package/plugin/node_modules/@babel/highlight/node_modules/ansi-styles/index.js +165 -0
- package/plugin/node_modules/@babel/highlight/node_modules/ansi-styles/license +9 -0
- package/plugin/node_modules/@babel/highlight/node_modules/ansi-styles/package.json +56 -0
- package/plugin/node_modules/@babel/highlight/node_modules/ansi-styles/readme.md +147 -0
- package/plugin/node_modules/@babel/highlight/node_modules/chalk/index.js +228 -0
- package/plugin/node_modules/@babel/highlight/node_modules/chalk/index.js.flow +93 -0
- package/plugin/node_modules/@babel/highlight/node_modules/chalk/license +9 -0
- package/plugin/node_modules/@babel/highlight/node_modules/chalk/package.json +71 -0
- package/plugin/node_modules/@babel/highlight/node_modules/chalk/readme.md +314 -0
- package/plugin/node_modules/@babel/highlight/node_modules/chalk/templates.js +128 -0
- package/plugin/node_modules/@babel/highlight/node_modules/chalk/types/index.d.ts +97 -0
- package/plugin/node_modules/@babel/highlight/node_modules/color-convert/CHANGELOG.md +54 -0
- package/plugin/node_modules/@babel/highlight/node_modules/color-convert/LICENSE +21 -0
- package/plugin/node_modules/@babel/highlight/node_modules/color-convert/README.md +68 -0
- package/plugin/node_modules/@babel/highlight/node_modules/color-convert/conversions.js +868 -0
- package/plugin/node_modules/@babel/highlight/node_modules/color-convert/index.js +78 -0
- package/plugin/node_modules/@babel/highlight/node_modules/color-convert/package.json +46 -0
- package/plugin/node_modules/@babel/highlight/node_modules/color-convert/route.js +97 -0
- package/plugin/node_modules/@babel/highlight/node_modules/color-name/.eslintrc.json +43 -0
- package/plugin/node_modules/@babel/highlight/node_modules/color-name/LICENSE +8 -0
- package/plugin/node_modules/@babel/highlight/node_modules/color-name/README.md +11 -0
- package/plugin/node_modules/@babel/highlight/node_modules/color-name/index.js +152 -0
- package/plugin/node_modules/@babel/highlight/node_modules/color-name/package.json +25 -0
- package/plugin/node_modules/@babel/highlight/node_modules/color-name/test.js +7 -0
- package/plugin/node_modules/@babel/highlight/node_modules/has-flag/index.js +8 -0
- package/plugin/node_modules/@babel/highlight/node_modules/has-flag/license +9 -0
- package/plugin/node_modules/@babel/highlight/node_modules/has-flag/package.json +44 -0
- package/plugin/node_modules/@babel/highlight/node_modules/has-flag/readme.md +70 -0
- package/plugin/node_modules/@babel/highlight/node_modules/supports-color/browser.js +5 -0
- package/plugin/node_modules/@babel/highlight/node_modules/supports-color/index.js +131 -0
- package/plugin/node_modules/@babel/highlight/node_modules/supports-color/license +9 -0
- package/plugin/node_modules/@babel/highlight/node_modules/supports-color/package.json +53 -0
- package/plugin/node_modules/@babel/highlight/node_modules/supports-color/readme.md +66 -0
- package/plugin/node_modules/@babel/highlight/package.json +30 -0
- package/plugin/node_modules/@expo/config-plugins/LICENSE +22 -0
- package/plugin/node_modules/@expo/config-plugins/README.md +34 -0
- package/plugin/node_modules/@expo/config-plugins/build/Plugin.types.d.ts +177 -0
- package/plugin/node_modules/@expo/config-plugins/build/Plugin.types.js +51 -0
- package/plugin/node_modules/@expo/config-plugins/build/Plugin.types.js.map +1 -0
- package/plugin/node_modules/@expo/config-plugins/build/android/AllowBackup.d.ts +6 -0
- package/plugin/node_modules/@expo/config-plugins/build/android/AllowBackup.js +45 -0
- package/plugin/node_modules/@expo/config-plugins/build/android/AllowBackup.js.map +1 -0
- package/plugin/node_modules/@expo/config-plugins/build/android/BuildProperties.d.ts +28 -0
- package/plugin/node_modules/@expo/config-plugins/build/android/BuildProperties.js +93 -0
- package/plugin/node_modules/@expo/config-plugins/build/android/BuildProperties.js.map +1 -0
- package/plugin/node_modules/@expo/config-plugins/build/android/Colors.d.ts +29 -0
- package/plugin/node_modules/@expo/config-plugins/build/android/Colors.js +106 -0
- package/plugin/node_modules/@expo/config-plugins/build/android/Colors.js.map +1 -0
- package/plugin/node_modules/@expo/config-plugins/build/android/EasBuild.d.ts +3 -0
- package/plugin/node_modules/@expo/config-plugins/build/android/EasBuild.js +67 -0
- package/plugin/node_modules/@expo/config-plugins/build/android/EasBuild.js.map +1 -0
- package/plugin/node_modules/@expo/config-plugins/build/android/EasBuildGradleScript.d.ts +2 -0
- package/plugin/node_modules/@expo/config-plugins/build/android/EasBuildGradleScript.js +82 -0
- package/plugin/node_modules/@expo/config-plugins/build/android/EasBuildGradleScript.js.map +1 -0
- package/plugin/node_modules/@expo/config-plugins/build/android/GoogleMapsApiKey.d.ts +5 -0
- package/plugin/node_modules/@expo/config-plugins/build/android/GoogleMapsApiKey.js +46 -0
- package/plugin/node_modules/@expo/config-plugins/build/android/GoogleMapsApiKey.js.map +1 -0
- package/plugin/node_modules/@expo/config-plugins/build/android/GoogleServices.d.ts +17 -0
- package/plugin/node_modules/@expo/config-plugins/build/android/GoogleServices.js +138 -0
- package/plugin/node_modules/@expo/config-plugins/build/android/GoogleServices.js.map +1 -0
- package/plugin/node_modules/@expo/config-plugins/build/android/IntentFilters.d.ts +8 -0
- package/plugin/node_modules/@expo/config-plugins/build/android/IntentFilters.js +83 -0
- package/plugin/node_modules/@expo/config-plugins/build/android/IntentFilters.js.map +1 -0
- package/plugin/node_modules/@expo/config-plugins/build/android/Manifest.d.ts +157 -0
- package/plugin/node_modules/@expo/config-plugins/build/android/Manifest.js +221 -0
- package/plugin/node_modules/@expo/config-plugins/build/android/Manifest.js.map +1 -0
- package/plugin/node_modules/@expo/config-plugins/build/android/Name.d.ts +20 -0
- package/plugin/node_modules/@expo/config-plugins/build/android/Name.js +91 -0
- package/plugin/node_modules/@expo/config-plugins/build/android/Name.js.map +1 -0
- package/plugin/node_modules/@expo/config-plugins/build/android/Orientation.d.ts +6 -0
- package/plugin/node_modules/@expo/config-plugins/build/android/Orientation.js +39 -0
- package/plugin/node_modules/@expo/config-plugins/build/android/Orientation.js.map +1 -0
- package/plugin/node_modules/@expo/config-plugins/build/android/Package.d.ts +23 -0
- package/plugin/node_modules/@expo/config-plugins/build/android/Package.js +323 -0
- package/plugin/node_modules/@expo/config-plugins/build/android/Package.js.map +1 -0
- package/plugin/node_modules/@expo/config-plugins/build/android/Paths.d.ts +30 -0
- package/plugin/node_modules/@expo/config-plugins/build/android/Paths.js +154 -0
- package/plugin/node_modules/@expo/config-plugins/build/android/Paths.js.map +1 -0
- package/plugin/node_modules/@expo/config-plugins/build/android/Permissions.d.ts +20 -0
- package/plugin/node_modules/@expo/config-plugins/build/android/Permissions.js +207 -0
- package/plugin/node_modules/@expo/config-plugins/build/android/Permissions.js.map +1 -0
- package/plugin/node_modules/@expo/config-plugins/build/android/PrimaryColor.d.ts +6 -0
- package/plugin/node_modules/@expo/config-plugins/build/android/PrimaryColor.js +62 -0
- package/plugin/node_modules/@expo/config-plugins/build/android/PrimaryColor.js.map +1 -0
- package/plugin/node_modules/@expo/config-plugins/build/android/Properties.d.ts +12 -0
- package/plugin/node_modules/@expo/config-plugins/build/android/Properties.js +55 -0
- package/plugin/node_modules/@expo/config-plugins/build/android/Properties.js.map +1 -0
- package/plugin/node_modules/@expo/config-plugins/build/android/Resources.d.ts +87 -0
- package/plugin/node_modules/@expo/config-plugins/build/android/Resources.js +150 -0
- package/plugin/node_modules/@expo/config-plugins/build/android/Resources.js.map +1 -0
- package/plugin/node_modules/@expo/config-plugins/build/android/Scheme.d.ts +20 -0
- package/plugin/node_modules/@expo/config-plugins/build/android/Scheme.js +217 -0
- package/plugin/node_modules/@expo/config-plugins/build/android/Scheme.js.map +1 -0
- package/plugin/node_modules/@expo/config-plugins/build/android/StatusBar.d.ts +16 -0
- package/plugin/node_modules/@expo/config-plugins/build/android/StatusBar.js +112 -0
- package/plugin/node_modules/@expo/config-plugins/build/android/StatusBar.js.map +1 -0
- package/plugin/node_modules/@expo/config-plugins/build/android/Strings.d.ts +6 -0
- package/plugin/node_modules/@expo/config-plugins/build/android/Strings.js +54 -0
- package/plugin/node_modules/@expo/config-plugins/build/android/Strings.js.map +1 -0
- package/plugin/node_modules/@expo/config-plugins/build/android/Styles.d.ts +61 -0
- package/plugin/node_modules/@expo/config-plugins/build/android/Styles.js +169 -0
- package/plugin/node_modules/@expo/config-plugins/build/android/Styles.js.map +1 -0
- package/plugin/node_modules/@expo/config-plugins/build/android/Updates.d.ts +21 -0
- package/plugin/node_modules/@expo/config-plugins/build/android/Updates.js +159 -0
- package/plugin/node_modules/@expo/config-plugins/build/android/Updates.js.map +1 -0
- package/plugin/node_modules/@expo/config-plugins/build/android/Version.d.ts +16 -0
- package/plugin/node_modules/@expo/config-plugins/build/android/Version.js +87 -0
- package/plugin/node_modules/@expo/config-plugins/build/android/Version.js.map +1 -0
- package/plugin/node_modules/@expo/config-plugins/build/android/WindowSoftInputMode.d.ts +6 -0
- package/plugin/node_modules/@expo/config-plugins/build/android/WindowSoftInputMode.js +48 -0
- package/plugin/node_modules/@expo/config-plugins/build/android/WindowSoftInputMode.js.map +1 -0
- package/plugin/node_modules/@expo/config-plugins/build/android/codeMod.d.ts +20 -0
- package/plugin/node_modules/@expo/config-plugins/build/android/codeMod.js +93 -0
- package/plugin/node_modules/@expo/config-plugins/build/android/codeMod.js.map +1 -0
- package/plugin/node_modules/@expo/config-plugins/build/android/index.d.ts +25 -0
- package/plugin/node_modules/@expo/config-plugins/build/android/index.js +308 -0
- package/plugin/node_modules/@expo/config-plugins/build/android/index.js.map +1 -0
- package/plugin/node_modules/@expo/config-plugins/build/index.d.ts +36 -0
- package/plugin/node_modules/@expo/config-plugins/build/index.js +428 -0
- package/plugin/node_modules/@expo/config-plugins/build/index.js.map +1 -0
- package/plugin/node_modules/@expo/config-plugins/build/ios/Bitcode.d.ts +33 -0
- package/plugin/node_modules/@expo/config-plugins/build/ios/Bitcode.js +110 -0
- package/plugin/node_modules/@expo/config-plugins/build/ios/Bitcode.js.map +1 -0
- package/plugin/node_modules/@expo/config-plugins/build/ios/BuildProperties.d.ts +27 -0
- package/plugin/node_modules/@expo/config-plugins/build/ios/BuildProperties.js +67 -0
- package/plugin/node_modules/@expo/config-plugins/build/ios/BuildProperties.js.map +1 -0
- package/plugin/node_modules/@expo/config-plugins/build/ios/BuildScheme.d.ts +10 -0
- package/plugin/node_modules/@expo/config-plugins/build/ios/BuildScheme.js +112 -0
- package/plugin/node_modules/@expo/config-plugins/build/ios/BuildScheme.js.map +1 -0
- package/plugin/node_modules/@expo/config-plugins/build/ios/BundleIdentifier.d.ts +50 -0
- package/plugin/node_modules/@expo/config-plugins/build/ios/BundleIdentifier.js +241 -0
- package/plugin/node_modules/@expo/config-plugins/build/ios/BundleIdentifier.js.map +1 -0
- package/plugin/node_modules/@expo/config-plugins/build/ios/DeviceFamily.d.ts +19 -0
- package/plugin/node_modules/@expo/config-plugins/build/ios/DeviceFamily.js +92 -0
- package/plugin/node_modules/@expo/config-plugins/build/ios/DeviceFamily.js.map +1 -0
- package/plugin/node_modules/@expo/config-plugins/build/ios/Entitlements.d.ts +9 -0
- package/plugin/node_modules/@expo/config-plugins/build/ios/Entitlements.js +132 -0
- package/plugin/node_modules/@expo/config-plugins/build/ios/Entitlements.js.map +1 -0
- package/plugin/node_modules/@expo/config-plugins/build/ios/Google.d.ts +14 -0
- package/plugin/node_modules/@expo/config-plugins/build/ios/Google.js +139 -0
- package/plugin/node_modules/@expo/config-plugins/build/ios/Google.js.map +1 -0
- package/plugin/node_modules/@expo/config-plugins/build/ios/IosConfig.types.d.ts +48 -0
- package/plugin/node_modules/@expo/config-plugins/build/ios/IosConfig.types.js +2 -0
- package/plugin/node_modules/@expo/config-plugins/build/ios/IosConfig.types.js.map +1 -0
- package/plugin/node_modules/@expo/config-plugins/build/ios/Locales.d.ts +14 -0
- package/plugin/node_modules/@expo/config-plugins/build/ios/Locales.js +132 -0
- package/plugin/node_modules/@expo/config-plugins/build/ios/Locales.js.map +1 -0
- package/plugin/node_modules/@expo/config-plugins/build/ios/Maps.d.ts +17 -0
- package/plugin/node_modules/@expo/config-plugins/build/ios/Maps.js +211 -0
- package/plugin/node_modules/@expo/config-plugins/build/ios/Maps.js.map +1 -0
- package/plugin/node_modules/@expo/config-plugins/build/ios/Name.d.ts +20 -0
- package/plugin/node_modules/@expo/config-plugins/build/ios/Name.js +111 -0
- package/plugin/node_modules/@expo/config-plugins/build/ios/Name.js.map +1 -0
- package/plugin/node_modules/@expo/config-plugins/build/ios/Orientation.d.ts +7 -0
- package/plugin/node_modules/@expo/config-plugins/build/ios/Orientation.js +42 -0
- package/plugin/node_modules/@expo/config-plugins/build/ios/Orientation.js.map +1 -0
- package/plugin/node_modules/@expo/config-plugins/build/ios/Paths.d.ts +38 -0
- package/plugin/node_modules/@expo/config-plugins/build/ios/Paths.js +311 -0
- package/plugin/node_modules/@expo/config-plugins/build/ios/Paths.js.map +1 -0
- package/plugin/node_modules/@expo/config-plugins/build/ios/Permissions.d.ts +9 -0
- package/plugin/node_modules/@expo/config-plugins/build/ios/Permissions.js +58 -0
- package/plugin/node_modules/@expo/config-plugins/build/ios/Permissions.js.map +1 -0
- package/plugin/node_modules/@expo/config-plugins/build/ios/PrivacyInfo.d.ts +20 -0
- package/plugin/node_modules/@expo/config-plugins/build/ios/PrivacyInfo.js +129 -0
- package/plugin/node_modules/@expo/config-plugins/build/ios/PrivacyInfo.js.map +1 -0
- package/plugin/node_modules/@expo/config-plugins/build/ios/ProvisioningProfile.d.ts +8 -0
- package/plugin/node_modules/@expo/config-plugins/build/ios/ProvisioningProfile.js +67 -0
- package/plugin/node_modules/@expo/config-plugins/build/ios/ProvisioningProfile.js.map +1 -0
- package/plugin/node_modules/@expo/config-plugins/build/ios/RequiresFullScreen.d.ts +5 -0
- package/plugin/node_modules/@expo/config-plugins/build/ios/RequiresFullScreen.js +101 -0
- package/plugin/node_modules/@expo/config-plugins/build/ios/RequiresFullScreen.js.map +1 -0
- package/plugin/node_modules/@expo/config-plugins/build/ios/Scheme.d.ts +11 -0
- package/plugin/node_modules/@expo/config-plugins/build/ios/Scheme.js +111 -0
- package/plugin/node_modules/@expo/config-plugins/build/ios/Scheme.js.map +1 -0
- package/plugin/node_modules/@expo/config-plugins/build/ios/Swift.d.ts +34 -0
- package/plugin/node_modules/@expo/config-plugins/build/ios/Swift.js +196 -0
- package/plugin/node_modules/@expo/config-plugins/build/ios/Swift.js.map +1 -0
- package/plugin/node_modules/@expo/config-plugins/build/ios/Target.d.ts +27 -0
- package/plugin/node_modules/@expo/config-plugins/build/ios/Target.js +136 -0
- package/plugin/node_modules/@expo/config-plugins/build/ios/Target.js.map +1 -0
- package/plugin/node_modules/@expo/config-plugins/build/ios/Updates.d.ts +17 -0
- package/plugin/node_modules/@expo/config-plugins/build/ios/Updates.js +121 -0
- package/plugin/node_modules/@expo/config-plugins/build/ios/Updates.js.map +1 -0
- package/plugin/node_modules/@expo/config-plugins/build/ios/UsesNonExemptEncryption.d.ts +5 -0
- package/plugin/node_modules/@expo/config-plugins/build/ios/UsesNonExemptEncryption.js +38 -0
- package/plugin/node_modules/@expo/config-plugins/build/ios/UsesNonExemptEncryption.js.map +1 -0
- package/plugin/node_modules/@expo/config-plugins/build/ios/Version.d.ts +8 -0
- package/plugin/node_modules/@expo/config-plugins/build/ios/Version.js +44 -0
- package/plugin/node_modules/@expo/config-plugins/build/ios/Version.js.map +1 -0
- package/plugin/node_modules/@expo/config-plugins/build/ios/XcodeProjectFile.d.ts +31 -0
- package/plugin/node_modules/@expo/config-plugins/build/ios/XcodeProjectFile.js +99 -0
- package/plugin/node_modules/@expo/config-plugins/build/ios/XcodeProjectFile.js.map +1 -0
- package/plugin/node_modules/@expo/config-plugins/build/ios/codeMod.d.ts +81 -0
- package/plugin/node_modules/@expo/config-plugins/build/ios/codeMod.js +264 -0
- package/plugin/node_modules/@expo/config-plugins/build/ios/codeMod.js.map +1 -0
- package/plugin/node_modules/@expo/config-plugins/build/ios/index.d.ts +27 -0
- package/plugin/node_modules/@expo/config-plugins/build/ios/index.js +342 -0
- package/plugin/node_modules/@expo/config-plugins/build/ios/index.js.map +1 -0
- package/plugin/node_modules/@expo/config-plugins/build/ios/utils/Xcodeproj.d.ts +93 -0
- package/plugin/node_modules/@expo/config-plugins/build/ios/utils/Xcodeproj.js +484 -0
- package/plugin/node_modules/@expo/config-plugins/build/ios/utils/Xcodeproj.js.map +1 -0
- package/plugin/node_modules/@expo/config-plugins/build/ios/utils/getInfoPlistPath.d.ts +12 -0
- package/plugin/node_modules/@expo/config-plugins/build/ios/utils/getInfoPlistPath.js +49 -0
- package/plugin/node_modules/@expo/config-plugins/build/ios/utils/getInfoPlistPath.js.map +1 -0
- package/plugin/node_modules/@expo/config-plugins/build/ios/utils/string.d.ts +1 -0
- package/plugin/node_modules/@expo/config-plugins/build/ios/utils/string.js +10 -0
- package/plugin/node_modules/@expo/config-plugins/build/ios/utils/string.js.map +1 -0
- package/plugin/node_modules/@expo/config-plugins/build/plugins/android-plugins.d.ts +89 -0
- package/plugin/node_modules/@expo/config-plugins/build/plugins/android-plugins.js +210 -0
- package/plugin/node_modules/@expo/config-plugins/build/plugins/android-plugins.js.map +1 -0
- package/plugin/node_modules/@expo/config-plugins/build/plugins/createBaseMod.d.ts +31 -0
- package/plugin/node_modules/@expo/config-plugins/build/plugins/createBaseMod.js +129 -0
- package/plugin/node_modules/@expo/config-plugins/build/plugins/createBaseMod.js.map +1 -0
- package/plugin/node_modules/@expo/config-plugins/build/plugins/ios-plugins.d.ts +77 -0
- package/plugin/node_modules/@expo/config-plugins/build/plugins/ios-plugins.js +205 -0
- package/plugin/node_modules/@expo/config-plugins/build/plugins/ios-plugins.js.map +1 -0
- package/plugin/node_modules/@expo/config-plugins/build/plugins/mod-compiler.d.ts +39 -0
- package/plugin/node_modules/@expo/config-plugins/build/plugins/mod-compiler.js +226 -0
- package/plugin/node_modules/@expo/config-plugins/build/plugins/mod-compiler.js.map +1 -0
- package/plugin/node_modules/@expo/config-plugins/build/plugins/withAndroidBaseMods.d.ts +40 -0
- package/plugin/node_modules/@expo/config-plugins/build/plugins/withAndroidBaseMods.js +510 -0
- package/plugin/node_modules/@expo/config-plugins/build/plugins/withAndroidBaseMods.js.map +1 -0
- package/plugin/node_modules/@expo/config-plugins/build/plugins/withDangerousMod.d.ts +10 -0
- package/plugin/node_modules/@expo/config-plugins/build/plugins/withDangerousMod.js +30 -0
- package/plugin/node_modules/@expo/config-plugins/build/plugins/withDangerousMod.js.map +1 -0
- package/plugin/node_modules/@expo/config-plugins/build/plugins/withFinalizedMod.d.ts +10 -0
- package/plugin/node_modules/@expo/config-plugins/build/plugins/withFinalizedMod.js +30 -0
- package/plugin/node_modules/@expo/config-plugins/build/plugins/withFinalizedMod.js.map +1 -0
- package/plugin/node_modules/@expo/config-plugins/build/plugins/withIosBaseMods.d.ts +33 -0
- package/plugin/node_modules/@expo/config-plugins/build/plugins/withIosBaseMods.js +442 -0
- package/plugin/node_modules/@expo/config-plugins/build/plugins/withIosBaseMods.js.map +1 -0
- package/plugin/node_modules/@expo/config-plugins/build/plugins/withMod.d.ts +46 -0
- package/plugin/node_modules/@expo/config-plugins/build/plugins/withMod.js +208 -0
- package/plugin/node_modules/@expo/config-plugins/build/plugins/withMod.js.map +1 -0
- package/plugin/node_modules/@expo/config-plugins/build/plugins/withPlugins.d.ts +8 -0
- package/plugin/node_modules/@expo/config-plugins/build/plugins/withPlugins.js +35 -0
- package/plugin/node_modules/@expo/config-plugins/build/plugins/withPlugins.js.map +1 -0
- package/plugin/node_modules/@expo/config-plugins/build/plugins/withRunOnce.d.ts +20 -0
- package/plugin/node_modules/@expo/config-plugins/build/plugins/withRunOnce.js +55 -0
- package/plugin/node_modules/@expo/config-plugins/build/plugins/withRunOnce.js.map +1 -0
- package/plugin/node_modules/@expo/config-plugins/build/plugins/withStaticPlugin.d.ts +17 -0
- package/plugin/node_modules/@expo/config-plugins/build/plugins/withStaticPlugin.js +138 -0
- package/plugin/node_modules/@expo/config-plugins/build/plugins/withStaticPlugin.js.map +1 -0
- package/plugin/node_modules/@expo/config-plugins/build/utils/BuildProperties.types.d.ts +25 -0
- package/plugin/node_modules/@expo/config-plugins/build/utils/BuildProperties.types.js +2 -0
- package/plugin/node_modules/@expo/config-plugins/build/utils/BuildProperties.types.js.map +1 -0
- package/plugin/node_modules/@expo/config-plugins/build/utils/Updates.d.ts +29 -0
- package/plugin/node_modules/@expo/config-plugins/build/utils/Updates.js +217 -0
- package/plugin/node_modules/@expo/config-plugins/build/utils/Updates.js.map +1 -0
- package/plugin/node_modules/@expo/config-plugins/build/utils/XML.d.ts +27 -0
- package/plugin/node_modules/@expo/config-plugins/build/utils/XML.js +161 -0
- package/plugin/node_modules/@expo/config-plugins/build/utils/XML.js.map +1 -0
- package/plugin/node_modules/@expo/config-plugins/build/utils/commonCodeMod.d.ts +32 -0
- package/plugin/node_modules/@expo/config-plugins/build/utils/commonCodeMod.js +63 -0
- package/plugin/node_modules/@expo/config-plugins/build/utils/commonCodeMod.js.map +1 -0
- package/plugin/node_modules/@expo/config-plugins/build/utils/errors.d.ts +15 -0
- package/plugin/node_modules/@expo/config-plugins/build/utils/errors.js +27 -0
- package/plugin/node_modules/@expo/config-plugins/build/utils/errors.js.map +1 -0
- package/plugin/node_modules/@expo/config-plugins/build/utils/fs.d.ts +4 -0
- package/plugin/node_modules/@expo/config-plugins/build/utils/fs.js +45 -0
- package/plugin/node_modules/@expo/config-plugins/build/utils/fs.js.map +1 -0
- package/plugin/node_modules/@expo/config-plugins/build/utils/generateCode.d.ts +36 -0
- package/plugin/node_modules/@expo/config-plugins/build/utils/generateCode.js +128 -0
- package/plugin/node_modules/@expo/config-plugins/build/utils/generateCode.js.map +1 -0
- package/plugin/node_modules/@expo/config-plugins/build/utils/history.d.ts +11 -0
- package/plugin/node_modules/@expo/config-plugins/build/utils/history.js +24 -0
- package/plugin/node_modules/@expo/config-plugins/build/utils/history.js.map +1 -0
- package/plugin/node_modules/@expo/config-plugins/build/utils/matchBrackets.d.ts +7 -0
- package/plugin/node_modules/@expo/config-plugins/build/utils/matchBrackets.js +65 -0
- package/plugin/node_modules/@expo/config-plugins/build/utils/matchBrackets.js.map +1 -0
- package/plugin/node_modules/@expo/config-plugins/build/utils/modules.d.ts +3 -0
- package/plugin/node_modules/@expo/config-plugins/build/utils/modules.js +42 -0
- package/plugin/node_modules/@expo/config-plugins/build/utils/modules.js.map +1 -0
- package/plugin/node_modules/@expo/config-plugins/build/utils/obj.d.ts +2 -0
- package/plugin/node_modules/@expo/config-plugins/build/utils/obj.js +20 -0
- package/plugin/node_modules/@expo/config-plugins/build/utils/obj.js.map +1 -0
- package/plugin/node_modules/@expo/config-plugins/build/utils/plugin-resolver.d.ts +33 -0
- package/plugin/node_modules/@expo/config-plugins/build/utils/plugin-resolver.js +218 -0
- package/plugin/node_modules/@expo/config-plugins/build/utils/plugin-resolver.js.map +1 -0
- package/plugin/node_modules/@expo/config-plugins/build/utils/sortObject.d.ts +4 -0
- package/plugin/node_modules/@expo/config-plugins/build/utils/sortObject.js +42 -0
- package/plugin/node_modules/@expo/config-plugins/build/utils/sortObject.js.map +1 -0
- package/plugin/node_modules/@expo/config-plugins/build/utils/versions.d.ts +3 -0
- package/plugin/node_modules/@expo/config-plugins/build/utils/versions.js +42 -0
- package/plugin/node_modules/@expo/config-plugins/build/utils/versions.js.map +1 -0
- package/plugin/node_modules/@expo/config-plugins/build/utils/warnings.d.ts +26 -0
- package/plugin/node_modules/@expo/config-plugins/build/utils/warnings.js +52 -0
- package/plugin/node_modules/@expo/config-plugins/build/utils/warnings.js.map +1 -0
- package/plugin/node_modules/@expo/config-plugins/package.json +62 -0
- package/plugin/node_modules/@expo/config-types/LICENSE +22 -0
- package/plugin/node_modules/@expo/config-types/README.md +38 -0
- package/plugin/node_modules/@expo/config-types/build/ExpoConfig.d.ts +878 -0
- package/plugin/node_modules/@expo/config-types/build/ExpoConfig.js +6 -0
- package/plugin/node_modules/@expo/config-types/package.json +48 -0
- package/plugin/node_modules/@expo/json-file/LICENSE +22 -0
- package/plugin/node_modules/@expo/json-file/README.md +29 -0
- package/plugin/node_modules/@expo/json-file/build/JsonFile.d.ts +61 -0
- package/plugin/node_modules/@expo/json-file/build/JsonFile.js +283 -0
- package/plugin/node_modules/@expo/json-file/build/JsonFile.js.map +1 -0
- package/plugin/node_modules/@expo/json-file/build/JsonFileError.d.ts +13 -0
- package/plugin/node_modules/@expo/json-file/build/JsonFileError.js +35 -0
- package/plugin/node_modules/@expo/json-file/build/JsonFileError.js.map +1 -0
- package/plugin/node_modules/@expo/json-file/package.json +47 -0
- package/plugin/node_modules/@expo/plist/README.md +8 -0
- package/plugin/node_modules/@expo/plist/build/build.d.ts +11 -0
- package/plugin/node_modules/@expo/plist/build/build.js +152 -0
- package/plugin/node_modules/@expo/plist/build/build.js.map +1 -0
- package/plugin/node_modules/@expo/plist/build/index.d.ts +16 -0
- package/plugin/node_modules/@expo/plist/build/index.js +6 -0
- package/plugin/node_modules/@expo/plist/build/index.js.map +1 -0
- package/plugin/node_modules/@expo/plist/build/parse.d.ts +8 -0
- package/plugin/node_modules/@expo/plist/build/parse.js +201 -0
- package/plugin/node_modules/@expo/plist/build/parse.js.map +1 -0
- package/plugin/node_modules/@expo/plist/package.json +45 -0
- package/plugin/node_modules/@expo/sdk-runtime-versions/README.md +5 -0
- package/plugin/node_modules/@expo/sdk-runtime-versions/build/index.d.ts +4 -0
- package/plugin/node_modules/@expo/sdk-runtime-versions/build/index.js +21 -0
- package/plugin/node_modules/@expo/sdk-runtime-versions/build/index.js.map +1 -0
- package/plugin/node_modules/@expo/sdk-runtime-versions/package.json +29 -0
- package/plugin/node_modules/@types/node/LICENSE +21 -0
- package/plugin/node_modules/@types/node/README.md +15 -0
- package/plugin/node_modules/@types/node/assert/strict.d.ts +8 -0
- package/plugin/node_modules/@types/node/assert.d.ts +1044 -0
- package/plugin/node_modules/@types/node/async_hooks.d.ts +605 -0
- package/plugin/node_modules/@types/node/buffer.buffer.d.ts +462 -0
- package/plugin/node_modules/@types/node/buffer.d.ts +1932 -0
- package/plugin/node_modules/@types/node/child_process.d.ts +1548 -0
- package/plugin/node_modules/@types/node/cluster.d.ts +578 -0
- package/plugin/node_modules/@types/node/compatibility/disposable.d.ts +16 -0
- package/plugin/node_modules/@types/node/compatibility/index.d.ts +9 -0
- package/plugin/node_modules/@types/node/compatibility/indexable.d.ts +20 -0
- package/plugin/node_modules/@types/node/compatibility/iterators.d.ts +21 -0
- package/plugin/node_modules/@types/node/console.d.ts +452 -0
- package/plugin/node_modules/@types/node/constants.d.ts +21 -0
- package/plugin/node_modules/@types/node/crypto.d.ts +4570 -0
- package/plugin/node_modules/@types/node/dgram.d.ts +596 -0
- package/plugin/node_modules/@types/node/diagnostics_channel.d.ts +578 -0
- package/plugin/node_modules/@types/node/dns/promises.d.ts +479 -0
- package/plugin/node_modules/@types/node/dns.d.ts +871 -0
- package/plugin/node_modules/@types/node/dom-events.d.ts +99 -0
- package/plugin/node_modules/@types/node/domain.d.ts +170 -0
- package/plugin/node_modules/@types/node/events.d.ts +931 -0
- package/plugin/node_modules/@types/node/fs/promises.d.ts +1248 -0
- package/plugin/node_modules/@types/node/fs.d.ts +4362 -0
- package/plugin/node_modules/@types/node/globals.d.ts +335 -0
- package/plugin/node_modules/@types/node/globals.typedarray.d.ts +21 -0
- package/plugin/node_modules/@types/node/http.d.ts +2031 -0
- package/plugin/node_modules/@types/node/http2.d.ts +2623 -0
- package/plugin/node_modules/@types/node/https.d.ts +544 -0
- package/plugin/node_modules/@types/node/index.d.ts +91 -0
- package/plugin/node_modules/@types/node/inspector.d.ts +3966 -0
- package/plugin/node_modules/@types/node/module.d.ts +539 -0
- package/plugin/node_modules/@types/node/net.d.ts +1011 -0
- package/plugin/node_modules/@types/node/os.d.ts +495 -0
- package/plugin/node_modules/@types/node/package.json +140 -0
- package/plugin/node_modules/@types/node/path.d.ts +200 -0
- package/plugin/node_modules/@types/node/perf_hooks.d.ts +963 -0
- package/plugin/node_modules/@types/node/process.d.ts +1956 -0
- package/plugin/node_modules/@types/node/punycode.d.ts +117 -0
- package/plugin/node_modules/@types/node/querystring.d.ts +152 -0
- package/plugin/node_modules/@types/node/readline/promises.d.ts +162 -0
- package/plugin/node_modules/@types/node/readline.d.ts +589 -0
- package/plugin/node_modules/@types/node/repl.d.ts +430 -0
- package/plugin/node_modules/@types/node/sea.d.ts +153 -0
- package/plugin/node_modules/@types/node/stream/consumers.d.ts +38 -0
- package/plugin/node_modules/@types/node/stream/promises.d.ts +90 -0
- package/plugin/node_modules/@types/node/stream/web.d.ts +533 -0
- package/plugin/node_modules/@types/node/stream.d.ts +1668 -0
- package/plugin/node_modules/@types/node/string_decoder.d.ts +67 -0
- package/plugin/node_modules/@types/node/test.d.ts +1807 -0
- package/plugin/node_modules/@types/node/timers/promises.d.ts +108 -0
- package/plugin/node_modules/@types/node/timers.d.ts +286 -0
- package/plugin/node_modules/@types/node/tls.d.ts +1231 -0
- package/plugin/node_modules/@types/node/trace_events.d.ts +197 -0
- package/plugin/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +460 -0
- package/plugin/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +19 -0
- package/plugin/node_modules/@types/node/ts5.6/index.d.ts +91 -0
- package/plugin/node_modules/@types/node/tty.d.ts +208 -0
- package/plugin/node_modules/@types/node/url.d.ts +964 -0
- package/plugin/node_modules/@types/node/util.d.ts +2331 -0
- package/plugin/node_modules/@types/node/v8.d.ts +808 -0
- package/plugin/node_modules/@types/node/vm.d.ts +1030 -0
- package/plugin/node_modules/@types/node/wasi.d.ts +181 -0
- package/plugin/node_modules/@types/node/worker_threads.d.ts +724 -0
- package/plugin/node_modules/@types/node/zlib.d.ts +539 -0
- package/plugin/node_modules/@xmldom/xmldom/CHANGELOG.md +401 -0
- package/plugin/node_modules/@xmldom/xmldom/LICENSE +8 -0
- package/plugin/node_modules/@xmldom/xmldom/index.d.ts +43 -0
- package/plugin/node_modules/@xmldom/xmldom/lib/.eslintrc.yml +2 -0
- package/plugin/node_modules/@xmldom/xmldom/lib/conventions.js +177 -0
- package/plugin/node_modules/@xmldom/xmldom/lib/dom-parser.js +268 -0
- package/plugin/node_modules/@xmldom/xmldom/lib/dom.js +1808 -0
- package/plugin/node_modules/@xmldom/xmldom/lib/entities.js +2166 -0
- package/plugin/node_modules/@xmldom/xmldom/lib/index.js +4 -0
- package/plugin/node_modules/@xmldom/xmldom/lib/sax.js +656 -0
- package/plugin/node_modules/@xmldom/xmldom/package.json +60 -0
- package/plugin/node_modules/@xmldom/xmldom/readme.md +338 -0
- package/plugin/node_modules/ansi-styles/index.d.ts +345 -0
- package/plugin/node_modules/ansi-styles/index.js +163 -0
- package/plugin/node_modules/ansi-styles/license +9 -0
- package/plugin/node_modules/ansi-styles/package.json +56 -0
- package/plugin/node_modules/ansi-styles/readme.md +152 -0
- package/plugin/node_modules/balanced-match/.github/FUNDING.yml +2 -0
- package/plugin/node_modules/balanced-match/LICENSE.md +21 -0
- package/plugin/node_modules/balanced-match/README.md +97 -0
- package/plugin/node_modules/balanced-match/index.js +62 -0
- package/plugin/node_modules/balanced-match/package.json +48 -0
- package/plugin/node_modules/base64-js/LICENSE +21 -0
- package/plugin/node_modules/base64-js/README.md +34 -0
- package/plugin/node_modules/base64-js/base64js.min.js +1 -0
- package/plugin/node_modules/base64-js/index.d.ts +3 -0
- package/plugin/node_modules/base64-js/index.js +150 -0
- package/plugin/node_modules/base64-js/package.json +47 -0
- package/plugin/node_modules/big-integer/BigInteger.d.ts +2393 -0
- package/plugin/node_modules/big-integer/BigInteger.js +1453 -0
- package/plugin/node_modules/big-integer/BigInteger.min.js +1 -0
- package/plugin/node_modules/big-integer/LICENSE +24 -0
- package/plugin/node_modules/big-integer/README.md +589 -0
- package/plugin/node_modules/big-integer/bower.json +29 -0
- package/plugin/node_modules/big-integer/package.json +48 -0
- package/plugin/node_modules/big-integer/tsconfig.json +24 -0
- package/plugin/node_modules/bplist-creator/LICENSE +18 -0
- package/plugin/node_modules/bplist-creator/README.md +64 -0
- package/plugin/node_modules/bplist-creator/bplistCreator.js +460 -0
- package/plugin/node_modules/bplist-creator/package.json +28 -0
- package/plugin/node_modules/bplist-creator/test/airplay.bplist +0 -0
- package/plugin/node_modules/bplist-creator/test/binaryData.bplist +0 -0
- package/plugin/node_modules/bplist-creator/test/creatorTest.js +211 -0
- package/plugin/node_modules/bplist-creator/test/iTunes-small.bplist +0 -0
- package/plugin/node_modules/bplist-creator/test/integers.bplist +0 -0
- package/plugin/node_modules/bplist-creator/test/sample1.bplist +0 -0
- package/plugin/node_modules/bplist-creator/test/sample2.bplist +0 -0
- package/plugin/node_modules/bplist-creator/test/uid.bplist +0 -0
- package/plugin/node_modules/bplist-creator/test/utf16.bplist +0 -0
- package/plugin/node_modules/bplist-parser/.editorconfig +12 -0
- package/plugin/node_modules/bplist-parser/.eslintignore +1 -0
- package/plugin/node_modules/bplist-parser/.eslintrc.js +295 -0
- package/plugin/node_modules/bplist-parser/README.md +48 -0
- package/plugin/node_modules/bplist-parser/bplistParser.d.ts +6 -0
- package/plugin/node_modules/bplist-parser/bplistParser.js +366 -0
- package/plugin/node_modules/bplist-parser/package.json +35 -0
- package/plugin/node_modules/brace-expansion/LICENSE +21 -0
- package/plugin/node_modules/brace-expansion/README.md +129 -0
- package/plugin/node_modules/brace-expansion/index.js +201 -0
- package/plugin/node_modules/brace-expansion/package.json +50 -0
- package/plugin/node_modules/chalk/index.d.ts +415 -0
- package/plugin/node_modules/chalk/license +9 -0
- package/plugin/node_modules/chalk/package.json +68 -0
- package/plugin/node_modules/chalk/readme.md +341 -0
- package/plugin/node_modules/chalk/source/index.js +229 -0
- package/plugin/node_modules/chalk/source/templates.js +134 -0
- package/plugin/node_modules/chalk/source/util.js +39 -0
- package/plugin/node_modules/color-convert/CHANGELOG.md +54 -0
- package/plugin/node_modules/color-convert/LICENSE +21 -0
- package/plugin/node_modules/color-convert/README.md +68 -0
- package/plugin/node_modules/color-convert/conversions.js +839 -0
- package/plugin/node_modules/color-convert/index.js +81 -0
- package/plugin/node_modules/color-convert/package.json +48 -0
- package/plugin/node_modules/color-convert/route.js +97 -0
- package/plugin/node_modules/color-name/LICENSE +8 -0
- package/plugin/node_modules/color-name/README.md +11 -0
- package/plugin/node_modules/color-name/index.js +152 -0
- package/plugin/node_modules/color-name/package.json +28 -0
- package/plugin/node_modules/concat-map/.travis.yml +4 -0
- package/plugin/node_modules/concat-map/LICENSE +18 -0
- package/plugin/node_modules/concat-map/README.markdown +62 -0
- package/plugin/node_modules/concat-map/example/map.js +6 -0
- package/plugin/node_modules/concat-map/index.js +13 -0
- package/plugin/node_modules/concat-map/package.json +43 -0
- package/plugin/node_modules/concat-map/test/map.js +39 -0
- package/plugin/node_modules/debug/LICENSE +20 -0
- package/plugin/node_modules/debug/README.md +481 -0
- package/plugin/node_modules/debug/package.json +64 -0
- package/plugin/node_modules/debug/src/browser.js +272 -0
- package/plugin/node_modules/debug/src/common.js +292 -0
- package/plugin/node_modules/debug/src/index.js +10 -0
- package/plugin/node_modules/debug/src/node.js +263 -0
- package/plugin/node_modules/escape-string-regexp/index.js +11 -0
- package/plugin/node_modules/escape-string-regexp/license +21 -0
- package/plugin/node_modules/escape-string-regexp/package.json +41 -0
- package/plugin/node_modules/escape-string-regexp/readme.md +27 -0
- package/plugin/node_modules/find-up/index.d.ts +138 -0
- package/plugin/node_modules/find-up/index.js +89 -0
- package/plugin/node_modules/find-up/license +9 -0
- package/plugin/node_modules/find-up/package.json +54 -0
- package/plugin/node_modules/find-up/readme.md +151 -0
- package/plugin/node_modules/fs.realpath/LICENSE +43 -0
- package/plugin/node_modules/fs.realpath/README.md +33 -0
- package/plugin/node_modules/fs.realpath/index.js +66 -0
- package/plugin/node_modules/fs.realpath/old.js +303 -0
- package/plugin/node_modules/fs.realpath/package.json +26 -0
- package/plugin/node_modules/getenv/LICENSE.md +20 -0
- package/plugin/node_modules/getenv/README.md +197 -0
- package/plugin/node_modules/getenv/index.js +150 -0
- package/plugin/node_modules/getenv/package.json +38 -0
- package/plugin/node_modules/glob/LICENSE +21 -0
- package/plugin/node_modules/glob/README.md +375 -0
- package/plugin/node_modules/glob/changelog.md +67 -0
- package/plugin/node_modules/glob/common.js +240 -0
- package/plugin/node_modules/glob/glob.js +790 -0
- package/plugin/node_modules/glob/package.json +46 -0
- package/plugin/node_modules/glob/sync.js +486 -0
- package/plugin/node_modules/graceful-fs/LICENSE +15 -0
- package/plugin/node_modules/graceful-fs/README.md +143 -0
- package/plugin/node_modules/graceful-fs/clone.js +23 -0
- package/plugin/node_modules/graceful-fs/graceful-fs.js +448 -0
- package/plugin/node_modules/graceful-fs/legacy-streams.js +118 -0
- package/plugin/node_modules/graceful-fs/package.json +53 -0
- package/plugin/node_modules/graceful-fs/polyfills.js +355 -0
- package/plugin/node_modules/has-flag/index.d.ts +39 -0
- package/plugin/node_modules/has-flag/index.js +8 -0
- package/plugin/node_modules/has-flag/license +9 -0
- package/plugin/node_modules/has-flag/package.json +46 -0
- package/plugin/node_modules/has-flag/readme.md +89 -0
- package/plugin/node_modules/imurmurhash/README.md +122 -0
- package/plugin/node_modules/imurmurhash/imurmurhash.js +138 -0
- package/plugin/node_modules/imurmurhash/imurmurhash.min.js +12 -0
- package/plugin/node_modules/imurmurhash/package.json +40 -0
- package/plugin/node_modules/inflight/LICENSE +15 -0
- package/plugin/node_modules/inflight/README.md +37 -0
- package/plugin/node_modules/inflight/inflight.js +54 -0
- package/plugin/node_modules/inflight/package.json +29 -0
- package/plugin/node_modules/inherits/LICENSE +16 -0
- package/plugin/node_modules/inherits/README.md +42 -0
- package/plugin/node_modules/inherits/inherits.js +9 -0
- package/plugin/node_modules/inherits/inherits_browser.js +27 -0
- package/plugin/node_modules/inherits/package.json +29 -0
- package/plugin/node_modules/js-tokens/CHANGELOG.md +151 -0
- package/plugin/node_modules/js-tokens/LICENSE +21 -0
- package/plugin/node_modules/js-tokens/README.md +240 -0
- package/plugin/node_modules/js-tokens/index.js +23 -0
- package/plugin/node_modules/js-tokens/package.json +30 -0
- package/plugin/node_modules/json5/LICENSE.md +23 -0
- package/plugin/node_modules/json5/README.md +282 -0
- package/plugin/node_modules/json5/dist/index.js +1737 -0
- package/plugin/node_modules/json5/dist/index.min.js +1 -0
- package/plugin/node_modules/json5/dist/index.min.mjs +1 -0
- package/plugin/node_modules/json5/dist/index.mjs +1426 -0
- package/plugin/node_modules/json5/lib/cli.js +152 -0
- package/plugin/node_modules/json5/lib/index.d.ts +4 -0
- package/plugin/node_modules/json5/lib/index.js +9 -0
- package/plugin/node_modules/json5/lib/parse.d.ts +15 -0
- package/plugin/node_modules/json5/lib/parse.js +1114 -0
- package/plugin/node_modules/json5/lib/register.js +13 -0
- package/plugin/node_modules/json5/lib/require.js +4 -0
- package/plugin/node_modules/json5/lib/stringify.d.ts +89 -0
- package/plugin/node_modules/json5/lib/stringify.js +261 -0
- package/plugin/node_modules/json5/lib/unicode.d.ts +3 -0
- package/plugin/node_modules/json5/lib/unicode.js +4 -0
- package/plugin/node_modules/json5/lib/util.d.ts +5 -0
- package/plugin/node_modules/json5/lib/util.js +35 -0
- package/plugin/node_modules/json5/package.json +72 -0
- package/plugin/node_modules/locate-path/index.d.ts +83 -0
- package/plugin/node_modules/locate-path/index.js +68 -0
- package/plugin/node_modules/locate-path/license +9 -0
- package/plugin/node_modules/locate-path/package.json +46 -0
- package/plugin/node_modules/locate-path/readme.md +125 -0
- package/plugin/node_modules/minimatch/LICENSE +15 -0
- package/plugin/node_modules/minimatch/README.md +230 -0
- package/plugin/node_modules/minimatch/minimatch.js +947 -0
- package/plugin/node_modules/minimatch/package.json +33 -0
- package/plugin/node_modules/ms/index.js +162 -0
- package/plugin/node_modules/ms/license.md +21 -0
- package/plugin/node_modules/ms/package.json +38 -0
- package/plugin/node_modules/ms/readme.md +59 -0
- package/plugin/node_modules/once/LICENSE +15 -0
- package/plugin/node_modules/once/README.md +79 -0
- package/plugin/node_modules/once/once.js +42 -0
- package/plugin/node_modules/once/package.json +33 -0
- package/plugin/node_modules/p-limit/index.d.ts +42 -0
- package/plugin/node_modules/p-limit/index.js +71 -0
- package/plugin/node_modules/p-limit/license +9 -0
- package/plugin/node_modules/p-limit/package.json +52 -0
- package/plugin/node_modules/p-limit/readme.md +101 -0
- package/plugin/node_modules/p-locate/index.d.ts +53 -0
- package/plugin/node_modules/p-locate/index.js +50 -0
- package/plugin/node_modules/p-locate/license +9 -0
- package/plugin/node_modules/p-locate/package.json +54 -0
- package/plugin/node_modules/p-locate/readme.md +93 -0
- package/plugin/node_modules/path-exists/index.d.ts +28 -0
- package/plugin/node_modules/path-exists/index.js +23 -0
- package/plugin/node_modules/path-exists/license +9 -0
- package/plugin/node_modules/path-exists/package.json +39 -0
- package/plugin/node_modules/path-exists/readme.md +52 -0
- package/plugin/node_modules/path-is-absolute/index.js +20 -0
- package/plugin/node_modules/path-is-absolute/license +21 -0
- package/plugin/node_modules/path-is-absolute/package.json +43 -0
- package/plugin/node_modules/path-is-absolute/readme.md +59 -0
- package/plugin/node_modules/picocolors/LICENSE +15 -0
- package/plugin/node_modules/picocolors/README.md +21 -0
- package/plugin/node_modules/picocolors/package.json +25 -0
- package/plugin/node_modules/picocolors/picocolors.browser.js +4 -0
- package/plugin/node_modules/picocolors/picocolors.d.ts +5 -0
- package/plugin/node_modules/picocolors/picocolors.js +75 -0
- package/plugin/node_modules/picocolors/types.d.ts +51 -0
- package/plugin/node_modules/plist/.github/workflows/ci.yml +24 -0
- package/plugin/node_modules/plist/.jshintrc +4 -0
- package/plugin/node_modules/plist/History.md +196 -0
- package/plugin/node_modules/plist/LICENSE +24 -0
- package/plugin/node_modules/plist/Makefile +75 -0
- package/plugin/node_modules/plist/README.md +146 -0
- package/plugin/node_modules/plist/dist/plist-build.js +5348 -0
- package/plugin/node_modules/plist/dist/plist-parse.js +7456 -0
- package/plugin/node_modules/plist/dist/plist.js +9888 -0
- package/plugin/node_modules/plist/examples/browser/index.html +14 -0
- package/plugin/node_modules/plist/index.js +13 -0
- package/plugin/node_modules/plist/lib/build.js +143 -0
- package/plugin/node_modules/plist/lib/parse.js +227 -0
- package/plugin/node_modules/plist/node_modules/@xmldom/xmldom/CHANGELOG.md +459 -0
- package/plugin/node_modules/plist/node_modules/@xmldom/xmldom/LICENSE +8 -0
- package/plugin/node_modules/plist/node_modules/@xmldom/xmldom/SECURITY.md +50 -0
- package/plugin/node_modules/plist/node_modules/@xmldom/xmldom/index.d.ts +43 -0
- package/plugin/node_modules/plist/node_modules/@xmldom/xmldom/lib/.eslintrc.yml +2 -0
- package/plugin/node_modules/plist/node_modules/@xmldom/xmldom/lib/conventions.js +203 -0
- package/plugin/node_modules/plist/node_modules/@xmldom/xmldom/lib/dom-parser.js +322 -0
- package/plugin/node_modules/plist/node_modules/@xmldom/xmldom/lib/dom.js +1840 -0
- package/plugin/node_modules/plist/node_modules/@xmldom/xmldom/lib/entities.js +2166 -0
- package/plugin/node_modules/plist/node_modules/@xmldom/xmldom/lib/index.js +4 -0
- package/plugin/node_modules/plist/node_modules/@xmldom/xmldom/lib/sax.js +662 -0
- package/plugin/node_modules/plist/node_modules/@xmldom/xmldom/package.json +71 -0
- package/plugin/node_modules/plist/node_modules/@xmldom/xmldom/readme.md +356 -0
- package/plugin/node_modules/plist/node_modules/xmlbuilder/.nycrc +6 -0
- package/plugin/node_modules/plist/node_modules/xmlbuilder/.vscode/launch.json +23 -0
- package/plugin/node_modules/plist/node_modules/xmlbuilder/CHANGELOG.md +593 -0
- package/plugin/node_modules/plist/node_modules/xmlbuilder/LICENSE +21 -0
- package/plugin/node_modules/plist/node_modules/xmlbuilder/README.md +103 -0
- package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/Derivation.js +10 -0
- package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/DocumentPosition.js +12 -0
- package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/NodeType.js +25 -0
- package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/OperationType.js +11 -0
- package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/Utility.js +88 -0
- package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/WriterState.js +10 -0
- package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLAttribute.js +130 -0
- package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLCData.js +41 -0
- package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLCharacterData.js +86 -0
- package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLComment.js +41 -0
- package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLDOMConfiguration.js +80 -0
- package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLDOMErrorHandler.js +20 -0
- package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLDOMImplementation.js +55 -0
- package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLDOMStringList.js +44 -0
- package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLDTDAttList.js +66 -0
- package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLDTDElement.js +44 -0
- package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLDTDEntity.js +115 -0
- package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLDTDNotation.js +66 -0
- package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLDeclaration.js +51 -0
- package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLDocType.js +235 -0
- package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLDocument.js +282 -0
- package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLDocumentCB.js +650 -0
- package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLDocumentFragment.js +21 -0
- package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLDummy.js +39 -0
- package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLElement.js +334 -0
- package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLNamedNodeMap.js +77 -0
- package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLNode.js +999 -0
- package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLNodeFilter.js +51 -0
- package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLNodeList.js +45 -0
- package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLProcessingInstruction.js +56 -0
- package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLRaw.js +40 -0
- package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLStreamWriter.js +209 -0
- package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLStringWriter.js +40 -0
- package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLStringifier.js +291 -0
- package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLText.js +82 -0
- package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLTypeInfo.js +23 -0
- package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLUserDataHandler.js +27 -0
- package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/XMLWriterBase.js +485 -0
- package/plugin/node_modules/plist/node_modules/xmlbuilder/lib/index.js +120 -0
- package/plugin/node_modules/plist/node_modules/xmlbuilder/package.json +51 -0
- package/plugin/node_modules/plist/node_modules/xmlbuilder/perf/basic/escaping.coffee +244 -0
- package/plugin/node_modules/plist/node_modules/xmlbuilder/perf/basic/object.coffee +21 -0
- package/plugin/node_modules/plist/node_modules/xmlbuilder/perf/index.coffee +161 -0
- package/plugin/node_modules/plist/node_modules/xmlbuilder/perf/perf.list +11 -0
- package/plugin/node_modules/plist/node_modules/xmlbuilder/typings/index.d.ts +1771 -0
- package/plugin/node_modules/plist/package.json +44 -0
- package/plugin/node_modules/resolve-from/index.d.ts +31 -0
- package/plugin/node_modules/resolve-from/index.js +47 -0
- package/plugin/node_modules/resolve-from/license +9 -0
- package/plugin/node_modules/resolve-from/package.json +36 -0
- package/plugin/node_modules/resolve-from/readme.md +72 -0
- package/plugin/node_modules/sax/LICENSE +41 -0
- package/plugin/node_modules/sax/README.md +228 -0
- package/plugin/node_modules/sax/lib/sax.js +1597 -0
- package/plugin/node_modules/sax/package.json +29 -0
- package/plugin/node_modules/semver/LICENSE +15 -0
- package/plugin/node_modules/semver/README.md +664 -0
- package/plugin/node_modules/semver/bin/semver.js +191 -0
- package/plugin/node_modules/semver/classes/comparator.js +143 -0
- package/plugin/node_modules/semver/classes/index.js +7 -0
- package/plugin/node_modules/semver/classes/range.js +556 -0
- package/plugin/node_modules/semver/classes/semver.js +319 -0
- package/plugin/node_modules/semver/functions/clean.js +8 -0
- package/plugin/node_modules/semver/functions/cmp.js +54 -0
- package/plugin/node_modules/semver/functions/coerce.js +62 -0
- package/plugin/node_modules/semver/functions/compare-build.js +9 -0
- package/plugin/node_modules/semver/functions/compare-loose.js +5 -0
- package/plugin/node_modules/semver/functions/compare.js +7 -0
- package/plugin/node_modules/semver/functions/diff.js +60 -0
- package/plugin/node_modules/semver/functions/eq.js +5 -0
- package/plugin/node_modules/semver/functions/gt.js +5 -0
- package/plugin/node_modules/semver/functions/gte.js +5 -0
- package/plugin/node_modules/semver/functions/inc.js +21 -0
- package/plugin/node_modules/semver/functions/lt.js +5 -0
- package/plugin/node_modules/semver/functions/lte.js +5 -0
- package/plugin/node_modules/semver/functions/major.js +5 -0
- package/plugin/node_modules/semver/functions/minor.js +5 -0
- package/plugin/node_modules/semver/functions/neq.js +5 -0
- package/plugin/node_modules/semver/functions/parse.js +18 -0
- package/plugin/node_modules/semver/functions/patch.js +5 -0
- package/plugin/node_modules/semver/functions/prerelease.js +8 -0
- package/plugin/node_modules/semver/functions/rcompare.js +5 -0
- package/plugin/node_modules/semver/functions/rsort.js +5 -0
- package/plugin/node_modules/semver/functions/satisfies.js +12 -0
- package/plugin/node_modules/semver/functions/sort.js +5 -0
- package/plugin/node_modules/semver/functions/valid.js +8 -0
- package/plugin/node_modules/semver/index.js +91 -0
- package/plugin/node_modules/semver/internal/constants.js +37 -0
- package/plugin/node_modules/semver/internal/debug.js +11 -0
- package/plugin/node_modules/semver/internal/identifiers.js +25 -0
- package/plugin/node_modules/semver/internal/lrucache.js +42 -0
- package/plugin/node_modules/semver/internal/parse-options.js +17 -0
- package/plugin/node_modules/semver/internal/re.js +223 -0
- package/plugin/node_modules/semver/package.json +78 -0
- package/plugin/node_modules/semver/preload.js +4 -0
- package/plugin/node_modules/semver/range.bnf +16 -0
- package/plugin/node_modules/semver/ranges/gtr.js +6 -0
- package/plugin/node_modules/semver/ranges/intersects.js +9 -0
- package/plugin/node_modules/semver/ranges/ltr.js +6 -0
- package/plugin/node_modules/semver/ranges/max-satisfying.js +27 -0
- package/plugin/node_modules/semver/ranges/min-satisfying.js +26 -0
- package/plugin/node_modules/semver/ranges/min-version.js +63 -0
- package/plugin/node_modules/semver/ranges/outside.js +82 -0
- package/plugin/node_modules/semver/ranges/simplify.js +49 -0
- package/plugin/node_modules/semver/ranges/subset.js +249 -0
- package/plugin/node_modules/semver/ranges/to-comparators.js +10 -0
- package/plugin/node_modules/semver/ranges/valid.js +13 -0
- package/plugin/node_modules/signal-exit/LICENSE.txt +16 -0
- package/plugin/node_modules/signal-exit/README.md +39 -0
- package/plugin/node_modules/signal-exit/index.js +202 -0
- package/plugin/node_modules/signal-exit/package.json +38 -0
- package/plugin/node_modules/signal-exit/signals.js +53 -0
- package/plugin/node_modules/simple-plist/LICENSE +20 -0
- package/plugin/node_modules/simple-plist/README.md +130 -0
- package/plugin/node_modules/simple-plist/dist/index.d.ts +24 -0
- package/plugin/node_modules/simple-plist/dist/index.js +41 -0
- package/plugin/node_modules/simple-plist/dist/parse.d.ts +8 -0
- package/plugin/node_modules/simple-plist/dist/parse.js +45 -0
- package/plugin/node_modules/simple-plist/dist/readFile.d.ts +4 -0
- package/plugin/node_modules/simple-plist/dist/readFile.js +36 -0
- package/plugin/node_modules/simple-plist/dist/readFileSync.d.ts +3 -0
- package/plugin/node_modules/simple-plist/dist/readFileSync.js +26 -0
- package/plugin/node_modules/simple-plist/dist/stringify.d.ts +2 -0
- package/plugin/node_modules/simple-plist/dist/stringify.js +21 -0
- package/plugin/node_modules/simple-plist/dist/types.d.ts +4 -0
- package/plugin/node_modules/simple-plist/dist/types.js +12 -0
- package/plugin/node_modules/simple-plist/dist/writeBinaryFile.d.ts +5 -0
- package/plugin/node_modules/simple-plist/dist/writeBinaryFile.js +30 -0
- package/plugin/node_modules/simple-plist/dist/writeBinaryFileSync.d.ts +4 -0
- package/plugin/node_modules/simple-plist/dist/writeBinaryFileSync.js +22 -0
- package/plugin/node_modules/simple-plist/dist/writeFile.d.ts +5 -0
- package/plugin/node_modules/simple-plist/dist/writeFile.js +30 -0
- package/plugin/node_modules/simple-plist/dist/writeFileSync.d.ts +4 -0
- package/plugin/node_modules/simple-plist/dist/writeFileSync.js +23 -0
- package/plugin/node_modules/simple-plist/package.json +53 -0
- package/plugin/node_modules/slash/index.d.ts +25 -0
- package/plugin/node_modules/slash/index.js +11 -0
- package/plugin/node_modules/slash/license +9 -0
- package/plugin/node_modules/slash/package.json +35 -0
- package/plugin/node_modules/slash/readme.md +44 -0
- package/plugin/node_modules/slugify/CHANGELOG.md +94 -0
- package/plugin/node_modules/slugify/LICENSE +21 -0
- package/plugin/node_modules/slugify/README.md +98 -0
- package/plugin/node_modules/slugify/package.json +42 -0
- package/plugin/node_modules/slugify/slugify.d.ts +24 -0
- package/plugin/node_modules/slugify/slugify.js +69 -0
- package/plugin/node_modules/stream-buffers/.mailmap +2 -0
- package/plugin/node_modules/stream-buffers/.travis.yml +28 -0
- package/plugin/node_modules/stream-buffers/README.md +157 -0
- package/plugin/node_modules/stream-buffers/UNLICENSE +24 -0
- package/plugin/node_modules/stream-buffers/coverage/coverage.json +1 -0
- package/plugin/node_modules/stream-buffers/coverage/lcov-report/base.css +182 -0
- package/plugin/node_modules/stream-buffers/coverage/lcov-report/index.html +73 -0
- package/plugin/node_modules/stream-buffers/coverage/lcov-report/lib/constants.js.html +63 -0
- package/plugin/node_modules/stream-buffers/coverage/lcov-report/lib/index.html +112 -0
- package/plugin/node_modules/stream-buffers/coverage/lcov-report/lib/readable_streambuffer.js.html +453 -0
- package/plugin/node_modules/stream-buffers/coverage/lcov-report/lib/streambuffer.js.html +54 -0
- package/plugin/node_modules/stream-buffers/coverage/lcov-report/lib/writable_streambuffer.js.html +336 -0
- package/plugin/node_modules/stream-buffers/coverage/lcov-report/prettify.css +1 -0
- package/plugin/node_modules/stream-buffers/coverage/lcov-report/prettify.js +1 -0
- package/plugin/node_modules/stream-buffers/coverage/lcov-report/sort-arrow-sprite.png +0 -0
- package/plugin/node_modules/stream-buffers/coverage/lcov-report/sorter.js +156 -0
- package/plugin/node_modules/stream-buffers/coverage/lcov.info +305 -0
- package/plugin/node_modules/stream-buffers/lib/constants.js +6 -0
- package/plugin/node_modules/stream-buffers/lib/readable_streambuffer.js +136 -0
- package/plugin/node_modules/stream-buffers/lib/streambuffer.js +3 -0
- package/plugin/node_modules/stream-buffers/lib/writable_streambuffer.js +97 -0
- package/plugin/node_modules/stream-buffers/package.json +28 -0
- package/plugin/node_modules/supports-color/browser.js +5 -0
- package/plugin/node_modules/supports-color/index.js +135 -0
- package/plugin/node_modules/supports-color/license +9 -0
- package/plugin/node_modules/supports-color/package.json +53 -0
- package/plugin/node_modules/supports-color/readme.md +76 -0
- package/plugin/node_modules/typescript/LICENSE.txt +55 -0
- package/plugin/node_modules/typescript/README.md +50 -0
- package/plugin/node_modules/typescript/SECURITY.md +41 -0
- package/plugin/node_modules/typescript/ThirdPartyNoticeText.txt +193 -0
- package/plugin/node_modules/typescript/bin/tsc +2 -0
- package/plugin/node_modules/typescript/bin/tsserver +2 -0
- package/plugin/node_modules/typescript/lib/_tsc.js +133792 -0
- package/plugin/node_modules/typescript/lib/_tsserver.js +659 -0
- package/plugin/node_modules/typescript/lib/_typingsInstaller.js +222 -0
- package/plugin/node_modules/typescript/lib/cs/diagnosticMessages.generated.json +2122 -0
- package/plugin/node_modules/typescript/lib/de/diagnosticMessages.generated.json +2122 -0
- package/plugin/node_modules/typescript/lib/es/diagnosticMessages.generated.json +2122 -0
- package/plugin/node_modules/typescript/lib/fr/diagnosticMessages.generated.json +2122 -0
- package/plugin/node_modules/typescript/lib/it/diagnosticMessages.generated.json +2122 -0
- package/plugin/node_modules/typescript/lib/ja/diagnosticMessages.generated.json +2122 -0
- package/plugin/node_modules/typescript/lib/ko/diagnosticMessages.generated.json +2122 -0
- package/plugin/node_modules/typescript/lib/lib.d.ts +22 -0
- package/plugin/node_modules/typescript/lib/lib.decorators.d.ts +384 -0
- package/plugin/node_modules/typescript/lib/lib.decorators.legacy.d.ts +22 -0
- package/plugin/node_modules/typescript/lib/lib.dom.asynciterable.d.ts +41 -0
- package/plugin/node_modules/typescript/lib/lib.dom.d.ts +39429 -0
- package/plugin/node_modules/typescript/lib/lib.dom.iterable.d.ts +571 -0
- package/plugin/node_modules/typescript/lib/lib.es2015.collection.d.ts +147 -0
- package/plugin/node_modules/typescript/lib/lib.es2015.core.d.ts +597 -0
- package/plugin/node_modules/typescript/lib/lib.es2015.d.ts +28 -0
- package/plugin/node_modules/typescript/lib/lib.es2015.generator.d.ts +77 -0
- package/plugin/node_modules/typescript/lib/lib.es2015.iterable.d.ts +605 -0
- package/plugin/node_modules/typescript/lib/lib.es2015.promise.d.ts +81 -0
- package/plugin/node_modules/typescript/lib/lib.es2015.proxy.d.ts +128 -0
- package/plugin/node_modules/typescript/lib/lib.es2015.reflect.d.ts +144 -0
- package/plugin/node_modules/typescript/lib/lib.es2015.symbol.d.ts +46 -0
- package/plugin/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts +326 -0
- package/plugin/node_modules/typescript/lib/lib.es2016.array.include.d.ts +116 -0
- package/plugin/node_modules/typescript/lib/lib.es2016.d.ts +21 -0
- package/plugin/node_modules/typescript/lib/lib.es2016.full.d.ts +23 -0
- package/plugin/node_modules/typescript/lib/lib.es2016.intl.d.ts +31 -0
- package/plugin/node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts +21 -0
- package/plugin/node_modules/typescript/lib/lib.es2017.d.ts +26 -0
- package/plugin/node_modules/typescript/lib/lib.es2017.date.d.ts +31 -0
- package/plugin/node_modules/typescript/lib/lib.es2017.full.d.ts +23 -0
- package/plugin/node_modules/typescript/lib/lib.es2017.intl.d.ts +44 -0
- package/plugin/node_modules/typescript/lib/lib.es2017.object.d.ts +49 -0
- package/plugin/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts +135 -0
- package/plugin/node_modules/typescript/lib/lib.es2017.string.d.ts +45 -0
- package/plugin/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts +53 -0
- package/plugin/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts +77 -0
- package/plugin/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts +53 -0
- package/plugin/node_modules/typescript/lib/lib.es2018.d.ts +24 -0
- package/plugin/node_modules/typescript/lib/lib.es2018.full.d.ts +24 -0
- package/plugin/node_modules/typescript/lib/lib.es2018.intl.d.ts +83 -0
- package/plugin/node_modules/typescript/lib/lib.es2018.promise.d.ts +30 -0
- package/plugin/node_modules/typescript/lib/lib.es2018.regexp.d.ts +37 -0
- package/plugin/node_modules/typescript/lib/lib.es2019.array.d.ts +79 -0
- package/plugin/node_modules/typescript/lib/lib.es2019.d.ts +24 -0
- package/plugin/node_modules/typescript/lib/lib.es2019.full.d.ts +24 -0
- package/plugin/node_modules/typescript/lib/lib.es2019.intl.d.ts +23 -0
- package/plugin/node_modules/typescript/lib/lib.es2019.object.d.ts +33 -0
- package/plugin/node_modules/typescript/lib/lib.es2019.string.d.ts +37 -0
- package/plugin/node_modules/typescript/lib/lib.es2019.symbol.d.ts +24 -0
- package/plugin/node_modules/typescript/lib/lib.es2020.bigint.d.ts +765 -0
- package/plugin/node_modules/typescript/lib/lib.es2020.d.ts +27 -0
- package/plugin/node_modules/typescript/lib/lib.es2020.date.d.ts +42 -0
- package/plugin/node_modules/typescript/lib/lib.es2020.full.d.ts +24 -0
- package/plugin/node_modules/typescript/lib/lib.es2020.intl.d.ts +474 -0
- package/plugin/node_modules/typescript/lib/lib.es2020.number.d.ts +28 -0
- package/plugin/node_modules/typescript/lib/lib.es2020.promise.d.ts +47 -0
- package/plugin/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts +99 -0
- package/plugin/node_modules/typescript/lib/lib.es2020.string.d.ts +44 -0
- package/plugin/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts +41 -0
- package/plugin/node_modules/typescript/lib/lib.es2021.d.ts +23 -0
- package/plugin/node_modules/typescript/lib/lib.es2021.full.d.ts +24 -0
- package/plugin/node_modules/typescript/lib/lib.es2021.intl.d.ts +166 -0
- package/plugin/node_modules/typescript/lib/lib.es2021.promise.d.ts +48 -0
- package/plugin/node_modules/typescript/lib/lib.es2021.string.d.ts +33 -0
- package/plugin/node_modules/typescript/lib/lib.es2021.weakref.d.ts +78 -0
- package/plugin/node_modules/typescript/lib/lib.es2022.array.d.ts +121 -0
- package/plugin/node_modules/typescript/lib/lib.es2022.d.ts +25 -0
- package/plugin/node_modules/typescript/lib/lib.es2022.error.d.ts +75 -0
- package/plugin/node_modules/typescript/lib/lib.es2022.full.d.ts +24 -0
- package/plugin/node_modules/typescript/lib/lib.es2022.intl.d.ts +145 -0
- package/plugin/node_modules/typescript/lib/lib.es2022.object.d.ts +26 -0
- package/plugin/node_modules/typescript/lib/lib.es2022.regexp.d.ts +39 -0
- package/plugin/node_modules/typescript/lib/lib.es2022.string.d.ts +25 -0
- package/plugin/node_modules/typescript/lib/lib.es2023.array.d.ts +924 -0
- package/plugin/node_modules/typescript/lib/lib.es2023.collection.d.ts +21 -0
- package/plugin/node_modules/typescript/lib/lib.es2023.d.ts +22 -0
- package/plugin/node_modules/typescript/lib/lib.es2023.full.d.ts +24 -0
- package/plugin/node_modules/typescript/lib/lib.es2023.intl.d.ts +56 -0
- package/plugin/node_modules/typescript/lib/lib.es2024.arraybuffer.d.ts +65 -0
- package/plugin/node_modules/typescript/lib/lib.es2024.collection.d.ts +29 -0
- package/plugin/node_modules/typescript/lib/lib.es2024.d.ts +26 -0
- package/plugin/node_modules/typescript/lib/lib.es2024.full.d.ts +24 -0
- package/plugin/node_modules/typescript/lib/lib.es2024.object.d.ts +29 -0
- package/plugin/node_modules/typescript/lib/lib.es2024.promise.d.ts +35 -0
- package/plugin/node_modules/typescript/lib/lib.es2024.regexp.d.ts +25 -0
- package/plugin/node_modules/typescript/lib/lib.es2024.sharedmemory.d.ts +68 -0
- package/plugin/node_modules/typescript/lib/lib.es2024.string.d.ts +29 -0
- package/plugin/node_modules/typescript/lib/lib.es5.d.ts +4601 -0
- package/plugin/node_modules/typescript/lib/lib.es6.d.ts +23 -0
- package/plugin/node_modules/typescript/lib/lib.esnext.array.d.ts +35 -0
- package/plugin/node_modules/typescript/lib/lib.esnext.collection.d.ts +96 -0
- package/plugin/node_modules/typescript/lib/lib.esnext.d.ts +29 -0
- package/plugin/node_modules/typescript/lib/lib.esnext.decorators.d.ts +28 -0
- package/plugin/node_modules/typescript/lib/lib.esnext.disposable.d.ts +193 -0
- package/plugin/node_modules/typescript/lib/lib.esnext.error.d.ts +24 -0
- package/plugin/node_modules/typescript/lib/lib.esnext.float16.d.ts +443 -0
- package/plugin/node_modules/typescript/lib/lib.esnext.full.d.ts +24 -0
- package/plugin/node_modules/typescript/lib/lib.esnext.intl.d.ts +21 -0
- package/plugin/node_modules/typescript/lib/lib.esnext.iterator.d.ts +148 -0
- package/plugin/node_modules/typescript/lib/lib.esnext.promise.d.ts +34 -0
- package/plugin/node_modules/typescript/lib/lib.esnext.sharedmemory.d.ts +25 -0
- package/plugin/node_modules/typescript/lib/lib.scripthost.d.ts +322 -0
- package/plugin/node_modules/typescript/lib/lib.webworker.asynciterable.d.ts +41 -0
- package/plugin/node_modules/typescript/lib/lib.webworker.d.ts +13150 -0
- package/plugin/node_modules/typescript/lib/lib.webworker.importscripts.d.ts +23 -0
- package/plugin/node_modules/typescript/lib/lib.webworker.iterable.d.ts +340 -0
- package/plugin/node_modules/typescript/lib/pl/diagnosticMessages.generated.json +2122 -0
- package/plugin/node_modules/typescript/lib/pt-br/diagnosticMessages.generated.json +2122 -0
- package/plugin/node_modules/typescript/lib/ru/diagnosticMessages.generated.json +2122 -0
- package/plugin/node_modules/typescript/lib/tr/diagnosticMessages.generated.json +2122 -0
- package/plugin/node_modules/typescript/lib/tsc.js +8 -0
- package/plugin/node_modules/typescript/lib/tsserver.js +8 -0
- package/plugin/node_modules/typescript/lib/tsserverlibrary.d.ts +17 -0
- package/plugin/node_modules/typescript/lib/tsserverlibrary.js +21 -0
- package/plugin/node_modules/typescript/lib/typesMap.json +497 -0
- package/plugin/node_modules/typescript/lib/typescript.d.ts +11438 -0
- package/plugin/node_modules/typescript/lib/typescript.js +200253 -0
- package/plugin/node_modules/typescript/lib/typingsInstaller.js +8 -0
- package/plugin/node_modules/typescript/lib/watchGuard.js +53 -0
- package/plugin/node_modules/typescript/lib/zh-cn/diagnosticMessages.generated.json +2122 -0
- package/plugin/node_modules/typescript/lib/zh-tw/diagnosticMessages.generated.json +2122 -0
- package/plugin/node_modules/typescript/package.json +120 -0
- package/plugin/node_modules/undici-types/LICENSE +21 -0
- package/plugin/node_modules/undici-types/README.md +6 -0
- package/plugin/node_modules/undici-types/agent.d.ts +31 -0
- package/plugin/node_modules/undici-types/api.d.ts +43 -0
- package/plugin/node_modules/undici-types/balanced-pool.d.ts +29 -0
- package/plugin/node_modules/undici-types/cache.d.ts +36 -0
- package/plugin/node_modules/undici-types/client.d.ts +108 -0
- package/plugin/node_modules/undici-types/connector.d.ts +34 -0
- package/plugin/node_modules/undici-types/content-type.d.ts +21 -0
- package/plugin/node_modules/undici-types/cookies.d.ts +28 -0
- package/plugin/node_modules/undici-types/diagnostics-channel.d.ts +66 -0
- package/plugin/node_modules/undici-types/dispatcher.d.ts +256 -0
- package/plugin/node_modules/undici-types/env-http-proxy-agent.d.ts +21 -0
- package/plugin/node_modules/undici-types/errors.d.ts +149 -0
- package/plugin/node_modules/undici-types/eventsource.d.ts +61 -0
- package/plugin/node_modules/undici-types/fetch.d.ts +209 -0
- package/plugin/node_modules/undici-types/file.d.ts +39 -0
- package/plugin/node_modules/undici-types/filereader.d.ts +54 -0
- package/plugin/node_modules/undici-types/formdata.d.ts +108 -0
- package/plugin/node_modules/undici-types/global-dispatcher.d.ts +9 -0
- package/plugin/node_modules/undici-types/global-origin.d.ts +7 -0
- package/plugin/node_modules/undici-types/handlers.d.ts +15 -0
- package/plugin/node_modules/undici-types/header.d.ts +4 -0
- package/plugin/node_modules/undici-types/index.d.ts +71 -0
- package/plugin/node_modules/undici-types/interceptors.d.ts +17 -0
- package/plugin/node_modules/undici-types/mock-agent.d.ts +50 -0
- package/plugin/node_modules/undici-types/mock-client.d.ts +25 -0
- package/plugin/node_modules/undici-types/mock-errors.d.ts +12 -0
- package/plugin/node_modules/undici-types/mock-interceptor.d.ts +93 -0
- package/plugin/node_modules/undici-types/mock-pool.d.ts +25 -0
- package/plugin/node_modules/undici-types/package.json +55 -0
- package/plugin/node_modules/undici-types/patch.d.ts +33 -0
- package/plugin/node_modules/undici-types/pool-stats.d.ts +19 -0
- package/plugin/node_modules/undici-types/pool.d.ts +39 -0
- package/plugin/node_modules/undici-types/proxy-agent.d.ts +28 -0
- package/plugin/node_modules/undici-types/readable.d.ts +65 -0
- package/plugin/node_modules/undici-types/retry-agent.d.ts +8 -0
- package/plugin/node_modules/undici-types/retry-handler.d.ts +116 -0
- package/plugin/node_modules/undici-types/util.d.ts +18 -0
- package/plugin/node_modules/undici-types/webidl.d.ts +228 -0
- package/plugin/node_modules/undici-types/websocket.d.ts +150 -0
- package/plugin/node_modules/uuid/CHANGELOG.md +156 -0
- package/plugin/node_modules/uuid/CONTRIBUTING.md +20 -0
- package/plugin/node_modules/uuid/LICENSE.md +21 -0
- package/plugin/node_modules/uuid/README.md +406 -0
- package/plugin/node_modules/uuid/deprecate.js +20 -0
- package/plugin/node_modules/uuid/dist/bin/uuid +2 -0
- package/plugin/node_modules/uuid/dist/bytesToUuid.js +27 -0
- package/plugin/node_modules/uuid/dist/esm-browser/bytesToUuid.js +18 -0
- package/plugin/node_modules/uuid/dist/esm-browser/index.js +4 -0
- package/plugin/node_modules/uuid/dist/esm-browser/md5.js +218 -0
- package/plugin/node_modules/uuid/dist/esm-browser/rng.js +15 -0
- package/plugin/node_modules/uuid/dist/esm-browser/sha1.js +91 -0
- package/plugin/node_modules/uuid/dist/esm-browser/v1.js +95 -0
- package/plugin/node_modules/uuid/dist/esm-browser/v3.js +4 -0
- package/plugin/node_modules/uuid/dist/esm-browser/v35.js +56 -0
- package/plugin/node_modules/uuid/dist/esm-browser/v4.js +27 -0
- package/plugin/node_modules/uuid/dist/esm-browser/v5.js +4 -0
- package/plugin/node_modules/uuid/dist/esm-node/bytesToUuid.js +18 -0
- package/plugin/node_modules/uuid/dist/esm-node/index.js +4 -0
- package/plugin/node_modules/uuid/dist/esm-node/md5.js +13 -0
- package/plugin/node_modules/uuid/dist/esm-node/rng.js +4 -0
- package/plugin/node_modules/uuid/dist/esm-node/sha1.js +13 -0
- package/plugin/node_modules/uuid/dist/esm-node/v1.js +95 -0
- package/plugin/node_modules/uuid/dist/esm-node/v3.js +4 -0
- package/plugin/node_modules/uuid/dist/esm-node/v35.js +56 -0
- package/plugin/node_modules/uuid/dist/esm-node/v4.js +27 -0
- package/plugin/node_modules/uuid/dist/esm-node/v5.js +4 -0
- package/plugin/node_modules/uuid/dist/index.js +39 -0
- package/plugin/node_modules/uuid/dist/md5-browser.js +225 -0
- package/plugin/node_modules/uuid/dist/md5.js +24 -0
- package/plugin/node_modules/uuid/dist/rng-browser.js +23 -0
- package/plugin/node_modules/uuid/dist/rng.js +16 -0
- package/plugin/node_modules/uuid/dist/sha1-browser.js +96 -0
- package/plugin/node_modules/uuid/dist/sha1.js +24 -0
- package/plugin/node_modules/uuid/dist/umd/uuid.min.js +1 -0
- package/plugin/node_modules/uuid/dist/umd/uuidv1.min.js +1 -0
- package/plugin/node_modules/uuid/dist/umd/uuidv3.min.js +1 -0
- package/plugin/node_modules/uuid/dist/umd/uuidv4.min.js +1 -0
- package/plugin/node_modules/uuid/dist/umd/uuidv5.min.js +1 -0
- package/plugin/node_modules/uuid/dist/uuid-bin.js +67 -0
- package/plugin/node_modules/uuid/dist/v1.js +108 -0
- package/plugin/node_modules/uuid/dist/v3.js +17 -0
- package/plugin/node_modules/uuid/dist/v35.js +69 -0
- package/plugin/node_modules/uuid/dist/v4.js +41 -0
- package/plugin/node_modules/uuid/dist/v5.js +17 -0
- package/plugin/node_modules/uuid/package.json +115 -0
- package/plugin/node_modules/uuid/v1.js +8 -0
- package/plugin/node_modules/uuid/v3.js +8 -0
- package/plugin/node_modules/uuid/v4.js +8 -0
- package/plugin/node_modules/uuid/v5.js +8 -0
- package/plugin/node_modules/wrappy/LICENSE +15 -0
- package/plugin/node_modules/wrappy/README.md +36 -0
- package/plugin/node_modules/wrappy/package.json +29 -0
- package/plugin/node_modules/wrappy/wrappy.js +33 -0
- package/plugin/node_modules/write-file-atomic/CHANGELOG.md +25 -0
- package/plugin/node_modules/write-file-atomic/LICENSE +6 -0
- package/plugin/node_modules/write-file-atomic/README.md +56 -0
- package/plugin/node_modules/write-file-atomic/index.js +238 -0
- package/plugin/node_modules/write-file-atomic/package.json +41 -0
- package/plugin/node_modules/xcode/AUTHORS +6 -0
- package/plugin/node_modules/xcode/CONTRIBUTING.md +37 -0
- package/plugin/node_modules/xcode/LICENSE +202 -0
- package/plugin/node_modules/xcode/Makefile +24 -0
- package/plugin/node_modules/xcode/NOTICE +5 -0
- package/plugin/node_modules/xcode/README.md +72 -0
- package/plugin/node_modules/xcode/RELEASENOTES.md +77 -0
- package/plugin/node_modules/xcode/index.js +18 -0
- package/plugin/node_modules/xcode/lib/parseJob.js +32 -0
- package/plugin/node_modules/xcode/lib/parser/pbxproj.js +1904 -0
- package/plugin/node_modules/xcode/lib/parser/pbxproj.pegjs +280 -0
- package/plugin/node_modules/xcode/lib/pbxFile.js +233 -0
- package/plugin/node_modules/xcode/lib/pbxProject.js +2201 -0
- package/plugin/node_modules/xcode/lib/pbxWriter.js +309 -0
- package/plugin/node_modules/xcode/package.json +61 -0
- package/plugin/node_modules/xml2js/LICENSE +19 -0
- package/plugin/node_modules/xml2js/README.md +507 -0
- package/plugin/node_modules/xml2js/lib/bom.js +12 -0
- package/plugin/node_modules/xml2js/lib/builder.js +127 -0
- package/plugin/node_modules/xml2js/lib/defaults.js +72 -0
- package/plugin/node_modules/xml2js/lib/parser.js +396 -0
- package/plugin/node_modules/xml2js/lib/processors.js +34 -0
- package/plugin/node_modules/xml2js/lib/xml2js.js +39 -0
- package/plugin/node_modules/xml2js/node_modules/xmlbuilder/CHANGELOG.md +470 -0
- package/plugin/node_modules/xml2js/node_modules/xmlbuilder/LICENSE +21 -0
- package/plugin/node_modules/xml2js/node_modules/xmlbuilder/README.md +86 -0
- package/plugin/node_modules/xml2js/node_modules/xmlbuilder/appveyor.yml +20 -0
- package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/Derivation.js +10 -0
- package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/DocumentPosition.js +12 -0
- package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/NodeType.js +23 -0
- package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/OperationType.js +11 -0
- package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/Utility.js +83 -0
- package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/WriterState.js +10 -0
- package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLAttribute.js +108 -0
- package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLCData.js +36 -0
- package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLCharacterData.js +79 -0
- package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLComment.js +36 -0
- package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDOMConfiguration.js +64 -0
- package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDOMErrorHandler.js +16 -0
- package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDOMImplementation.js +32 -0
- package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDOMStringList.js +28 -0
- package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDTDAttList.js +55 -0
- package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDTDElement.js +38 -0
- package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDTDEntity.js +97 -0
- package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDTDNotation.js +52 -0
- package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDeclaration.js +43 -0
- package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDocType.js +186 -0
- package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDocument.js +242 -0
- package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDocumentCB.js +528 -0
- package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDocumentFragment.js +24 -0
- package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLDummy.js +31 -0
- package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLElement.js +298 -0
- package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLNamedNodeMap.js +58 -0
- package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLNode.js +785 -0
- package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLNodeFilter.js +48 -0
- package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLNodeList.js +28 -0
- package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLProcessingInstruction.js +49 -0
- package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLRaw.js +35 -0
- package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLStreamWriter.js +176 -0
- package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLStringWriter.js +35 -0
- package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLStringifier.js +240 -0
- package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLText.js +69 -0
- package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLTypeInfo.js +21 -0
- package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLUserDataHandler.js +16 -0
- package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/XMLWriterBase.js +428 -0
- package/plugin/node_modules/xml2js/node_modules/xmlbuilder/lib/index.js +65 -0
- package/plugin/node_modules/xml2js/node_modules/xmlbuilder/package.json +39 -0
- package/plugin/node_modules/xml2js/node_modules/xmlbuilder/typings/index.d.ts +153 -0
- package/plugin/node_modules/xml2js/package.json +93 -0
- package/plugin/node_modules/xmlbuilder/.nycrc +6 -0
- package/plugin/node_modules/xmlbuilder/CHANGELOG.md +568 -0
- package/plugin/node_modules/xmlbuilder/LICENSE +21 -0
- package/plugin/node_modules/xmlbuilder/README.md +103 -0
- package/plugin/node_modules/xmlbuilder/lib/Derivation.js +10 -0
- package/plugin/node_modules/xmlbuilder/lib/DocumentPosition.js +12 -0
- package/plugin/node_modules/xmlbuilder/lib/NodeType.js +25 -0
- package/plugin/node_modules/xmlbuilder/lib/OperationType.js +11 -0
- package/plugin/node_modules/xmlbuilder/lib/Utility.js +88 -0
- package/plugin/node_modules/xmlbuilder/lib/WriterState.js +10 -0
- package/plugin/node_modules/xmlbuilder/lib/XMLAttribute.js +130 -0
- package/plugin/node_modules/xmlbuilder/lib/XMLCData.js +41 -0
- package/plugin/node_modules/xmlbuilder/lib/XMLCharacterData.js +86 -0
- package/plugin/node_modules/xmlbuilder/lib/XMLComment.js +41 -0
- package/plugin/node_modules/xmlbuilder/lib/XMLDOMConfiguration.js +80 -0
- package/plugin/node_modules/xmlbuilder/lib/XMLDOMErrorHandler.js +20 -0
- package/plugin/node_modules/xmlbuilder/lib/XMLDOMImplementation.js +55 -0
- package/plugin/node_modules/xmlbuilder/lib/XMLDOMStringList.js +44 -0
- package/plugin/node_modules/xmlbuilder/lib/XMLDTDAttList.js +66 -0
- package/plugin/node_modules/xmlbuilder/lib/XMLDTDElement.js +44 -0
- package/plugin/node_modules/xmlbuilder/lib/XMLDTDEntity.js +115 -0
- package/plugin/node_modules/xmlbuilder/lib/XMLDTDNotation.js +66 -0
- package/plugin/node_modules/xmlbuilder/lib/XMLDeclaration.js +51 -0
- package/plugin/node_modules/xmlbuilder/lib/XMLDocType.js +235 -0
- package/plugin/node_modules/xmlbuilder/lib/XMLDocument.js +282 -0
- package/plugin/node_modules/xmlbuilder/lib/XMLDocumentCB.js +650 -0
- package/plugin/node_modules/xmlbuilder/lib/XMLDocumentFragment.js +21 -0
- package/plugin/node_modules/xmlbuilder/lib/XMLDummy.js +39 -0
- package/plugin/node_modules/xmlbuilder/lib/XMLElement.js +334 -0
- package/plugin/node_modules/xmlbuilder/lib/XMLNamedNodeMap.js +77 -0
- package/plugin/node_modules/xmlbuilder/lib/XMLNode.js +999 -0
- package/plugin/node_modules/xmlbuilder/lib/XMLNodeFilter.js +51 -0
- package/plugin/node_modules/xmlbuilder/lib/XMLNodeList.js +45 -0
- package/plugin/node_modules/xmlbuilder/lib/XMLProcessingInstruction.js +56 -0
- package/plugin/node_modules/xmlbuilder/lib/XMLRaw.js +40 -0
- package/plugin/node_modules/xmlbuilder/lib/XMLStreamWriter.js +209 -0
- package/plugin/node_modules/xmlbuilder/lib/XMLStringWriter.js +40 -0
- package/plugin/node_modules/xmlbuilder/lib/XMLStringifier.js +287 -0
- package/plugin/node_modules/xmlbuilder/lib/XMLText.js +82 -0
- package/plugin/node_modules/xmlbuilder/lib/XMLTypeInfo.js +23 -0
- package/plugin/node_modules/xmlbuilder/lib/XMLUserDataHandler.js +27 -0
- package/plugin/node_modules/xmlbuilder/lib/XMLWriterBase.js +485 -0
- package/plugin/node_modules/xmlbuilder/lib/index.js +120 -0
- package/plugin/node_modules/xmlbuilder/package.json +51 -0
- package/plugin/node_modules/xmlbuilder/perf/basic/escaping.coffee +244 -0
- package/plugin/node_modules/xmlbuilder/perf/basic/object.coffee +21 -0
- package/plugin/node_modules/xmlbuilder/perf/index.coffee +161 -0
- package/plugin/node_modules/xmlbuilder/perf/perf.list +11 -0
- package/plugin/node_modules/xmlbuilder/typings/index.d.ts +1761 -0
- package/plugin/node_modules/yocto-queue/index.d.ts +56 -0
- package/plugin/node_modules/yocto-queue/index.js +68 -0
- package/plugin/node_modules/yocto-queue/license +9 -0
- package/plugin/node_modules/yocto-queue/package.json +43 -0
- package/plugin/node_modules/yocto-queue/readme.md +64 -0
- package/plugin/package-lock.json +763 -0
- package/plugin/package.json +16 -0
- package/plugin/src/withVolumeKeyIntercept.ts +184 -0
- package/plugin/tsconfig.json +18 -0
- package/plugin/tsconfig.tsbuildinfo +1 -0
- package/src/ReactNativeKookitModule.ts +20 -0
|
@@ -0,0 +1,138 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.applyPlugin = applyPlugin;
|
|
7
|
+
exports.getGoogleServicesFilePath = getGoogleServicesFilePath;
|
|
8
|
+
exports.setClassPath = setClassPath;
|
|
9
|
+
exports.setGoogleServicesFile = setGoogleServicesFile;
|
|
10
|
+
exports.withGoogleServicesFile = exports.withClassPath = exports.withApplyPlugin = void 0;
|
|
11
|
+
function _path() {
|
|
12
|
+
const data = _interopRequireDefault(require("path"));
|
|
13
|
+
_path = function () {
|
|
14
|
+
return data;
|
|
15
|
+
};
|
|
16
|
+
return data;
|
|
17
|
+
}
|
|
18
|
+
function _androidPlugins() {
|
|
19
|
+
const data = require("../plugins/android-plugins");
|
|
20
|
+
_androidPlugins = function () {
|
|
21
|
+
return data;
|
|
22
|
+
};
|
|
23
|
+
return data;
|
|
24
|
+
}
|
|
25
|
+
function _withDangerousMod() {
|
|
26
|
+
const data = require("../plugins/withDangerousMod");
|
|
27
|
+
_withDangerousMod = function () {
|
|
28
|
+
return data;
|
|
29
|
+
};
|
|
30
|
+
return data;
|
|
31
|
+
}
|
|
32
|
+
function _fs() {
|
|
33
|
+
const data = require("../utils/fs");
|
|
34
|
+
_fs = function () {
|
|
35
|
+
return data;
|
|
36
|
+
};
|
|
37
|
+
return data;
|
|
38
|
+
}
|
|
39
|
+
function _warnings() {
|
|
40
|
+
const data = require("../utils/warnings");
|
|
41
|
+
_warnings = function () {
|
|
42
|
+
return data;
|
|
43
|
+
};
|
|
44
|
+
return data;
|
|
45
|
+
}
|
|
46
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
47
|
+
const DEFAULT_TARGET_PATH = './android/app/google-services.json';
|
|
48
|
+
const googleServicesClassPath = 'com.google.gms:google-services';
|
|
49
|
+
const googleServicesPlugin = 'com.google.gms.google-services';
|
|
50
|
+
|
|
51
|
+
// NOTE(brentvatne): This may be annoying to keep up to date...
|
|
52
|
+
const googleServicesVersion = '4.4.1';
|
|
53
|
+
const withClassPath = config => {
|
|
54
|
+
return (0, _androidPlugins().withProjectBuildGradle)(config, config => {
|
|
55
|
+
if (config.modResults.language === 'groovy') {
|
|
56
|
+
config.modResults.contents = setClassPath(config, config.modResults.contents);
|
|
57
|
+
} else {
|
|
58
|
+
(0, _warnings().addWarningAndroid)('android.googleServicesFile', `Cannot automatically configure project build.gradle if it's not groovy`);
|
|
59
|
+
}
|
|
60
|
+
return config;
|
|
61
|
+
});
|
|
62
|
+
};
|
|
63
|
+
exports.withClassPath = withClassPath;
|
|
64
|
+
const withApplyPlugin = config => {
|
|
65
|
+
return (0, _androidPlugins().withAppBuildGradle)(config, config => {
|
|
66
|
+
if (config.modResults.language === 'groovy') {
|
|
67
|
+
config.modResults.contents = applyPlugin(config, config.modResults.contents);
|
|
68
|
+
} else {
|
|
69
|
+
(0, _warnings().addWarningAndroid)('android.googleServicesFile', `Cannot automatically configure app build.gradle if it's not groovy`);
|
|
70
|
+
}
|
|
71
|
+
return config;
|
|
72
|
+
});
|
|
73
|
+
};
|
|
74
|
+
|
|
75
|
+
/**
|
|
76
|
+
* Add `google-services.json` to project
|
|
77
|
+
*/
|
|
78
|
+
exports.withApplyPlugin = withApplyPlugin;
|
|
79
|
+
const withGoogleServicesFile = config => {
|
|
80
|
+
return (0, _withDangerousMod().withDangerousMod)(config, ['android', async config => {
|
|
81
|
+
await setGoogleServicesFile(config, config.modRequest.projectRoot);
|
|
82
|
+
return config;
|
|
83
|
+
}]);
|
|
84
|
+
};
|
|
85
|
+
exports.withGoogleServicesFile = withGoogleServicesFile;
|
|
86
|
+
function getGoogleServicesFilePath(config) {
|
|
87
|
+
return config.android?.googleServicesFile ?? null;
|
|
88
|
+
}
|
|
89
|
+
async function setGoogleServicesFile(config, projectRoot, targetPath = DEFAULT_TARGET_PATH) {
|
|
90
|
+
const partialSourcePath = getGoogleServicesFilePath(config);
|
|
91
|
+
if (!partialSourcePath) {
|
|
92
|
+
return false;
|
|
93
|
+
}
|
|
94
|
+
const completeSourcePath = _path().default.resolve(projectRoot, partialSourcePath);
|
|
95
|
+
const destinationPath = _path().default.resolve(projectRoot, targetPath);
|
|
96
|
+
try {
|
|
97
|
+
await (0, _fs().copyFilePathToPathAsync)(completeSourcePath, destinationPath);
|
|
98
|
+
} catch (e) {
|
|
99
|
+
console.log(e);
|
|
100
|
+
throw new Error(`Cannot copy google-services.json from ${completeSourcePath} to ${destinationPath}. Please make sure the source and destination paths exist.`);
|
|
101
|
+
}
|
|
102
|
+
return true;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
/**
|
|
106
|
+
* Adding the Google Services plugin
|
|
107
|
+
* NOTE(brentvatne): string replacement is a fragile approach! we need a
|
|
108
|
+
* better solution than this.
|
|
109
|
+
*/
|
|
110
|
+
function setClassPath(config, buildGradle) {
|
|
111
|
+
const googleServicesFile = getGoogleServicesFilePath(config);
|
|
112
|
+
if (!googleServicesFile) {
|
|
113
|
+
return buildGradle;
|
|
114
|
+
}
|
|
115
|
+
if (buildGradle.includes(googleServicesClassPath)) {
|
|
116
|
+
return buildGradle;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
//
|
|
120
|
+
return buildGradle.replace(/dependencies\s?{/, `dependencies {
|
|
121
|
+
classpath '${googleServicesClassPath}:${googleServicesVersion}'`);
|
|
122
|
+
}
|
|
123
|
+
function applyPlugin(config, appBuildGradle) {
|
|
124
|
+
const googleServicesFile = getGoogleServicesFilePath(config);
|
|
125
|
+
if (!googleServicesFile) {
|
|
126
|
+
return appBuildGradle;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
// Make sure the project does not have the plugin already
|
|
130
|
+
const pattern = new RegExp(`apply\\s+plugin:\\s+['"]${googleServicesPlugin}['"]`);
|
|
131
|
+
if (appBuildGradle.match(pattern)) {
|
|
132
|
+
return appBuildGradle;
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
// Add it to the end of the file
|
|
136
|
+
return appBuildGradle + `\napply plugin: '${googleServicesPlugin}'`;
|
|
137
|
+
}
|
|
138
|
+
//# sourceMappingURL=GoogleServices.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GoogleServices.js","names":["_path","data","_interopRequireDefault","require","_androidPlugins","_withDangerousMod","_fs","_warnings","obj","__esModule","default","DEFAULT_TARGET_PATH","googleServicesClassPath","googleServicesPlugin","googleServicesVersion","withClassPath","config","withProjectBuildGradle","modResults","language","contents","setClassPath","addWarningAndroid","exports","withApplyPlugin","withAppBuildGradle","applyPlugin","withGoogleServicesFile","withDangerousMod","setGoogleServicesFile","modRequest","projectRoot","getGoogleServicesFilePath","android","googleServicesFile","targetPath","partialSourcePath","completeSourcePath","path","resolve","destinationPath","copyFilePathToPathAsync","e","console","log","Error","buildGradle","includes","replace","appBuildGradle","pattern","RegExp","match"],"sources":["../../src/android/GoogleServices.ts"],"sourcesContent":["import { ExpoConfig } from '@expo/config-types';\nimport path from 'path';\n\nimport { ConfigPlugin } from '../Plugin.types';\nimport { withAppBuildGradle, withProjectBuildGradle } from '../plugins/android-plugins';\nimport { withDangerousMod } from '../plugins/withDangerousMod';\nimport { copyFilePathToPathAsync } from '../utils/fs';\nimport { addWarningAndroid } from '../utils/warnings';\n\nconst DEFAULT_TARGET_PATH = './android/app/google-services.json';\n\nconst googleServicesClassPath = 'com.google.gms:google-services';\nconst googleServicesPlugin = 'com.google.gms.google-services';\n\n// NOTE(brentvatne): This may be annoying to keep up to date...\nconst googleServicesVersion = '4.4.1';\n\nexport const withClassPath: ConfigPlugin = (config) => {\n return withProjectBuildGradle(config, (config) => {\n if (config.modResults.language === 'groovy') {\n config.modResults.contents = setClassPath(config, config.modResults.contents);\n } else {\n addWarningAndroid(\n 'android.googleServicesFile',\n `Cannot automatically configure project build.gradle if it's not groovy`\n );\n }\n return config;\n });\n};\n\nexport const withApplyPlugin: ConfigPlugin = (config) => {\n return withAppBuildGradle(config, (config) => {\n if (config.modResults.language === 'groovy') {\n config.modResults.contents = applyPlugin(config, config.modResults.contents);\n } else {\n addWarningAndroid(\n 'android.googleServicesFile',\n `Cannot automatically configure app build.gradle if it's not groovy`\n );\n }\n return config;\n });\n};\n\n/**\n * Add `google-services.json` to project\n */\nexport const withGoogleServicesFile: ConfigPlugin = (config) => {\n return withDangerousMod(config, [\n 'android',\n async (config) => {\n await setGoogleServicesFile(config, config.modRequest.projectRoot);\n return config;\n },\n ]);\n};\n\nexport function getGoogleServicesFilePath(config: Pick<ExpoConfig, 'android'>) {\n return config.android?.googleServicesFile ?? null;\n}\n\nexport async function setGoogleServicesFile(\n config: Pick<ExpoConfig, 'android'>,\n projectRoot: string,\n targetPath: string = DEFAULT_TARGET_PATH\n) {\n const partialSourcePath = getGoogleServicesFilePath(config);\n if (!partialSourcePath) {\n return false;\n }\n\n const completeSourcePath = path.resolve(projectRoot, partialSourcePath);\n const destinationPath = path.resolve(projectRoot, targetPath);\n\n try {\n await copyFilePathToPathAsync(completeSourcePath, destinationPath);\n } catch (e) {\n console.log(e);\n throw new Error(\n `Cannot copy google-services.json from ${completeSourcePath} to ${destinationPath}. Please make sure the source and destination paths exist.`\n );\n }\n return true;\n}\n\n/**\n * Adding the Google Services plugin\n * NOTE(brentvatne): string replacement is a fragile approach! we need a\n * better solution than this.\n */\nexport function setClassPath(config: Pick<ExpoConfig, 'android'>, buildGradle: string) {\n const googleServicesFile = getGoogleServicesFilePath(config);\n if (!googleServicesFile) {\n return buildGradle;\n }\n\n if (buildGradle.includes(googleServicesClassPath)) {\n return buildGradle;\n }\n\n //\n return buildGradle.replace(\n /dependencies\\s?{/,\n `dependencies {\n classpath '${googleServicesClassPath}:${googleServicesVersion}'`\n );\n}\n\nexport function applyPlugin(config: Pick<ExpoConfig, 'android'>, appBuildGradle: string) {\n const googleServicesFile = getGoogleServicesFilePath(config);\n if (!googleServicesFile) {\n return appBuildGradle;\n }\n\n // Make sure the project does not have the plugin already\n const pattern = new RegExp(`apply\\\\s+plugin:\\\\s+['\"]${googleServicesPlugin}['\"]`);\n if (appBuildGradle.match(pattern)) {\n return appBuildGradle;\n }\n\n // Add it to the end of the file\n return appBuildGradle + `\\napply plugin: '${googleServicesPlugin}'`;\n}\n"],"mappings":"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","ignoreList":[]}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Android, ExpoConfig } from '@expo/config-types';
|
|
2
|
+
import { AndroidManifest, ManifestIntentFilter } from './Manifest';
|
|
3
|
+
type AndroidIntentFilters = NonNullable<Android['intentFilters']>;
|
|
4
|
+
export declare const withAndroidIntentFilters: import("..").ConfigPlugin;
|
|
5
|
+
export declare function getIntentFilters(config: Pick<ExpoConfig, 'android'>): AndroidIntentFilters;
|
|
6
|
+
export declare function setAndroidIntentFilters(config: Pick<ExpoConfig, 'android'>, androidManifest: AndroidManifest): AndroidManifest;
|
|
7
|
+
export default function renderIntentFilters(intentFilters: AndroidIntentFilters): ManifestIntentFilter[];
|
|
8
|
+
export {};
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = renderIntentFilters;
|
|
7
|
+
exports.getIntentFilters = getIntentFilters;
|
|
8
|
+
exports.setAndroidIntentFilters = setAndroidIntentFilters;
|
|
9
|
+
exports.withAndroidIntentFilters = void 0;
|
|
10
|
+
function _Manifest() {
|
|
11
|
+
const data = require("./Manifest");
|
|
12
|
+
_Manifest = function () {
|
|
13
|
+
return data;
|
|
14
|
+
};
|
|
15
|
+
return data;
|
|
16
|
+
}
|
|
17
|
+
function _androidPlugins() {
|
|
18
|
+
const data = require("../plugins/android-plugins");
|
|
19
|
+
_androidPlugins = function () {
|
|
20
|
+
return data;
|
|
21
|
+
};
|
|
22
|
+
return data;
|
|
23
|
+
}
|
|
24
|
+
const GENERATED_TAG = 'data-generated';
|
|
25
|
+
const withAndroidIntentFilters = exports.withAndroidIntentFilters = (0, _androidPlugins().createAndroidManifestPlugin)(setAndroidIntentFilters, 'withAndroidIntentFilters');
|
|
26
|
+
function getIntentFilters(config) {
|
|
27
|
+
return config.android?.intentFilters ?? [];
|
|
28
|
+
}
|
|
29
|
+
function setAndroidIntentFilters(config, androidManifest) {
|
|
30
|
+
// Always ensure old tags are removed.
|
|
31
|
+
const mainActivity = (0, _Manifest().getMainActivityOrThrow)(androidManifest);
|
|
32
|
+
// Remove all generated tags from previous runs...
|
|
33
|
+
if (mainActivity['intent-filter']?.length) {
|
|
34
|
+
mainActivity['intent-filter'] = mainActivity['intent-filter'].filter(value => value.$?.[GENERATED_TAG] !== 'true');
|
|
35
|
+
}
|
|
36
|
+
const intentFilters = getIntentFilters(config);
|
|
37
|
+
if (!intentFilters.length) {
|
|
38
|
+
return androidManifest;
|
|
39
|
+
}
|
|
40
|
+
mainActivity['intent-filter'] = mainActivity['intent-filter']?.concat(renderIntentFilters(intentFilters));
|
|
41
|
+
return androidManifest;
|
|
42
|
+
}
|
|
43
|
+
function renderIntentFilters(intentFilters) {
|
|
44
|
+
return intentFilters.map(intentFilter => {
|
|
45
|
+
// <intent-filter>
|
|
46
|
+
return {
|
|
47
|
+
$: {
|
|
48
|
+
'android:autoVerify': intentFilter.autoVerify ? 'true' : undefined,
|
|
49
|
+
// Add a custom "generated" tag that we can query later to remove.
|
|
50
|
+
[GENERATED_TAG]: 'true'
|
|
51
|
+
},
|
|
52
|
+
action: [
|
|
53
|
+
// <action android:name="android.intent.action.VIEW"/>
|
|
54
|
+
{
|
|
55
|
+
$: {
|
|
56
|
+
'android:name': `android.intent.action.${intentFilter.action}`
|
|
57
|
+
}
|
|
58
|
+
}],
|
|
59
|
+
data: renderIntentFilterData(intentFilter.data),
|
|
60
|
+
category: renderIntentFilterCategory(intentFilter.category)
|
|
61
|
+
};
|
|
62
|
+
});
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
/** Like `<data android:scheme="exp"/>` */
|
|
66
|
+
function renderIntentFilterData(data) {
|
|
67
|
+
return (Array.isArray(data) ? data : [data]).filter(Boolean).map(datum => ({
|
|
68
|
+
$: Object.entries(datum ?? {}).reduce((prev, [key, value]) => ({
|
|
69
|
+
...prev,
|
|
70
|
+
[`android:${key}`]: value
|
|
71
|
+
}), {})
|
|
72
|
+
}));
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
/** Like `<category android:name="android.intent.category.DEFAULT"/>` */
|
|
76
|
+
function renderIntentFilterCategory(category) {
|
|
77
|
+
return (Array.isArray(category) ? category : [category]).filter(Boolean).map(cat => ({
|
|
78
|
+
$: {
|
|
79
|
+
'android:name': `android.intent.category.${cat}`
|
|
80
|
+
}
|
|
81
|
+
}));
|
|
82
|
+
}
|
|
83
|
+
//# sourceMappingURL=IntentFilters.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IntentFilters.js","names":["_Manifest","data","require","_androidPlugins","GENERATED_TAG","withAndroidIntentFilters","exports","createAndroidManifestPlugin","setAndroidIntentFilters","getIntentFilters","config","android","intentFilters","androidManifest","mainActivity","getMainActivityOrThrow","length","filter","value","$","concat","renderIntentFilters","map","intentFilter","autoVerify","undefined","action","renderIntentFilterData","category","renderIntentFilterCategory","Array","isArray","Boolean","datum","Object","entries","reduce","prev","key","cat"],"sources":["../../src/android/IntentFilters.ts"],"sourcesContent":["import { Android, AndroidIntentFiltersData, ExpoConfig } from '@expo/config-types';\n\nimport { AndroidManifest, getMainActivityOrThrow, ManifestIntentFilter } from './Manifest';\nimport { createAndroidManifestPlugin } from '../plugins/android-plugins';\n\ntype AndroidIntentFilters = NonNullable<Android['intentFilters']>;\n\nconst GENERATED_TAG = 'data-generated';\n\nexport const withAndroidIntentFilters = createAndroidManifestPlugin(\n setAndroidIntentFilters,\n 'withAndroidIntentFilters'\n);\n\nexport function getIntentFilters(config: Pick<ExpoConfig, 'android'>): AndroidIntentFilters {\n return config.android?.intentFilters ?? [];\n}\n\nexport function setAndroidIntentFilters(\n config: Pick<ExpoConfig, 'android'>,\n androidManifest: AndroidManifest\n): AndroidManifest {\n // Always ensure old tags are removed.\n const mainActivity = getMainActivityOrThrow(androidManifest);\n // Remove all generated tags from previous runs...\n if (mainActivity['intent-filter']?.length) {\n mainActivity['intent-filter'] = mainActivity['intent-filter'].filter(\n (value) => value.$?.[GENERATED_TAG] !== 'true'\n );\n }\n\n const intentFilters = getIntentFilters(config);\n if (!intentFilters.length) {\n return androidManifest;\n }\n\n mainActivity['intent-filter'] = mainActivity['intent-filter']?.concat(\n renderIntentFilters(intentFilters)\n );\n\n return androidManifest;\n}\n\nexport default function renderIntentFilters(\n intentFilters: AndroidIntentFilters\n): ManifestIntentFilter[] {\n return intentFilters.map((intentFilter) => {\n // <intent-filter>\n return {\n $: {\n 'android:autoVerify': intentFilter.autoVerify ? 'true' : undefined,\n // Add a custom \"generated\" tag that we can query later to remove.\n [GENERATED_TAG]: 'true',\n },\n action: [\n // <action android:name=\"android.intent.action.VIEW\"/>\n {\n $: {\n 'android:name': `android.intent.action.${intentFilter.action}`,\n },\n },\n ],\n data: renderIntentFilterData(intentFilter.data),\n category: renderIntentFilterCategory(intentFilter.category),\n };\n });\n}\n\n/** Like `<data android:scheme=\"exp\"/>` */\nfunction renderIntentFilterData(data?: AndroidIntentFiltersData | AndroidIntentFiltersData[]) {\n return (Array.isArray(data) ? data : [data]).filter(Boolean).map((datum) => ({\n $: Object.entries(datum ?? {}).reduce(\n (prev, [key, value]) => ({ ...prev, [`android:${key}`]: value }),\n {}\n ),\n }));\n}\n\n/** Like `<category android:name=\"android.intent.category.DEFAULT\"/>` */\nfunction renderIntentFilterCategory(category?: string | string[]) {\n return (Array.isArray(category) ? category : [category]).filter(Boolean).map((cat) => ({\n $: {\n 'android:name': `android.intent.category.${cat}`,\n },\n }));\n}\n"],"mappings":"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","ignoreList":[]}
|
|
@@ -0,0 +1,157 @@
|
|
|
1
|
+
export type StringBoolean = 'true' | 'false';
|
|
2
|
+
type ManifestMetaDataAttributes = AndroidManifestAttributes & {
|
|
3
|
+
'android:value'?: string;
|
|
4
|
+
'android:resource'?: string;
|
|
5
|
+
};
|
|
6
|
+
type AndroidManifestAttributes = {
|
|
7
|
+
'android:name': string | 'android.intent.action.VIEW';
|
|
8
|
+
'tools:node'?: string | 'remove';
|
|
9
|
+
};
|
|
10
|
+
type ManifestAction = {
|
|
11
|
+
$: AndroidManifestAttributes;
|
|
12
|
+
};
|
|
13
|
+
type ManifestCategory = {
|
|
14
|
+
$: AndroidManifestAttributes;
|
|
15
|
+
};
|
|
16
|
+
type ManifestData = {
|
|
17
|
+
$: {
|
|
18
|
+
[key: string]: string | undefined;
|
|
19
|
+
'android:host'?: string;
|
|
20
|
+
'android:pathPrefix'?: string;
|
|
21
|
+
'android:scheme'?: string;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
type ManifestReceiver = {
|
|
25
|
+
$: AndroidManifestAttributes & {
|
|
26
|
+
'android:exported'?: StringBoolean;
|
|
27
|
+
'android:enabled'?: StringBoolean;
|
|
28
|
+
};
|
|
29
|
+
'intent-filter'?: ManifestIntentFilter[];
|
|
30
|
+
};
|
|
31
|
+
export type ManifestIntentFilter = {
|
|
32
|
+
$?: {
|
|
33
|
+
'android:autoVerify'?: StringBoolean;
|
|
34
|
+
'data-generated'?: StringBoolean;
|
|
35
|
+
};
|
|
36
|
+
action?: ManifestAction[];
|
|
37
|
+
data?: ManifestData[];
|
|
38
|
+
category?: ManifestCategory[];
|
|
39
|
+
};
|
|
40
|
+
export type ManifestMetaData = {
|
|
41
|
+
$: ManifestMetaDataAttributes;
|
|
42
|
+
};
|
|
43
|
+
type ManifestServiceAttributes = AndroidManifestAttributes & {
|
|
44
|
+
'android:enabled'?: StringBoolean;
|
|
45
|
+
'android:exported'?: StringBoolean;
|
|
46
|
+
'android:permission'?: string;
|
|
47
|
+
};
|
|
48
|
+
type ManifestService = {
|
|
49
|
+
$: ManifestServiceAttributes;
|
|
50
|
+
'intent-filter'?: ManifestIntentFilter[];
|
|
51
|
+
};
|
|
52
|
+
type ManifestApplicationAttributes = {
|
|
53
|
+
'android:name': string | '.MainApplication';
|
|
54
|
+
'android:icon'?: string;
|
|
55
|
+
'android:roundIcon'?: string;
|
|
56
|
+
'android:label'?: string;
|
|
57
|
+
'android:allowBackup'?: StringBoolean;
|
|
58
|
+
'android:largeHeap'?: StringBoolean;
|
|
59
|
+
'android:requestLegacyExternalStorage'?: StringBoolean;
|
|
60
|
+
'android:supportsPictureInPicture'?: StringBoolean;
|
|
61
|
+
'android:usesCleartextTraffic'?: StringBoolean;
|
|
62
|
+
[key: string]: string | undefined;
|
|
63
|
+
};
|
|
64
|
+
export type ManifestActivity = {
|
|
65
|
+
$: ManifestApplicationAttributes & {
|
|
66
|
+
'android:exported'?: StringBoolean;
|
|
67
|
+
'android:launchMode'?: string;
|
|
68
|
+
'android:theme'?: string;
|
|
69
|
+
'android:windowSoftInputMode'?: string | 'stateUnspecified' | 'stateUnchanged' | 'stateHidden' | 'stateAlwaysHidden' | 'stateVisible' | 'stateAlwaysVisible' | 'adjustUnspecified' | 'adjustResize' | 'adjustPan';
|
|
70
|
+
[key: string]: string | undefined;
|
|
71
|
+
};
|
|
72
|
+
'intent-filter'?: ManifestIntentFilter[];
|
|
73
|
+
};
|
|
74
|
+
export type ManifestUsesLibrary = {
|
|
75
|
+
$: AndroidManifestAttributes & {
|
|
76
|
+
'android:required'?: StringBoolean;
|
|
77
|
+
};
|
|
78
|
+
};
|
|
79
|
+
export type ManifestApplication = {
|
|
80
|
+
$: ManifestApplicationAttributes;
|
|
81
|
+
activity?: ManifestActivity[];
|
|
82
|
+
service?: ManifestService[];
|
|
83
|
+
receiver?: ManifestReceiver[];
|
|
84
|
+
'meta-data'?: ManifestMetaData[];
|
|
85
|
+
'uses-library'?: ManifestUsesLibrary[];
|
|
86
|
+
};
|
|
87
|
+
type ManifestPermission = {
|
|
88
|
+
$: AndroidManifestAttributes & {
|
|
89
|
+
'android:protectionLevel'?: string | 'signature';
|
|
90
|
+
};
|
|
91
|
+
};
|
|
92
|
+
export type ManifestUsesPermission = {
|
|
93
|
+
$: AndroidManifestAttributes;
|
|
94
|
+
};
|
|
95
|
+
type ManifestUsesFeature = {
|
|
96
|
+
$: AndroidManifestAttributes & {
|
|
97
|
+
'android:glEsVersion'?: string;
|
|
98
|
+
'android:required': StringBoolean;
|
|
99
|
+
};
|
|
100
|
+
};
|
|
101
|
+
export type AndroidManifest = {
|
|
102
|
+
manifest: {
|
|
103
|
+
$: {
|
|
104
|
+
'xmlns:android': string;
|
|
105
|
+
'xmlns:tools'?: string;
|
|
106
|
+
package?: string;
|
|
107
|
+
[key: string]: string | undefined;
|
|
108
|
+
};
|
|
109
|
+
permission?: ManifestPermission[];
|
|
110
|
+
'uses-permission'?: ManifestUsesPermission[];
|
|
111
|
+
'uses-permission-sdk-23'?: ManifestUsesPermission[];
|
|
112
|
+
'uses-feature'?: ManifestUsesFeature[];
|
|
113
|
+
queries: ManifestQuery[];
|
|
114
|
+
application?: ManifestApplication[];
|
|
115
|
+
};
|
|
116
|
+
};
|
|
117
|
+
type ManifestQueryIntent = Omit<ManifestIntentFilter, '$'>;
|
|
118
|
+
export type ManifestQuery = {
|
|
119
|
+
package?: {
|
|
120
|
+
$: {
|
|
121
|
+
'android:name': string;
|
|
122
|
+
};
|
|
123
|
+
}[];
|
|
124
|
+
intent?: ManifestQueryIntent[];
|
|
125
|
+
provider?: {
|
|
126
|
+
$: {
|
|
127
|
+
'android:authorities': string;
|
|
128
|
+
};
|
|
129
|
+
}[];
|
|
130
|
+
};
|
|
131
|
+
export declare function writeAndroidManifestAsync(manifestPath: string, androidManifest: AndroidManifest): Promise<void>;
|
|
132
|
+
export declare function readAndroidManifestAsync(manifestPath: string): Promise<AndroidManifest>;
|
|
133
|
+
/** Returns the `manifest.application` tag ending in `.MainApplication` */
|
|
134
|
+
export declare function getMainApplication(androidManifest: AndroidManifest): ManifestApplication | null;
|
|
135
|
+
export declare function getMainApplicationOrThrow(androidManifest: AndroidManifest): ManifestApplication;
|
|
136
|
+
export declare function getMainActivityOrThrow(androidManifest: AndroidManifest): ManifestActivity;
|
|
137
|
+
export declare function getRunnableActivity(androidManifest: AndroidManifest): ManifestActivity | null;
|
|
138
|
+
export declare function getMainActivity(androidManifest: AndroidManifest): ManifestActivity | null;
|
|
139
|
+
export declare function addMetaDataItemToMainApplication(mainApplication: ManifestApplication, itemName: string, itemValue: string, itemType?: 'resource' | 'value'): ManifestApplication;
|
|
140
|
+
export declare function removeMetaDataItemFromMainApplication(mainApplication: any, itemName: string): any;
|
|
141
|
+
export declare function findMetaDataItem(mainApplication: any, itemName: string): number;
|
|
142
|
+
export declare function findUsesLibraryItem(mainApplication: any, itemName: string): number;
|
|
143
|
+
export declare function getMainApplicationMetaDataValue(androidManifest: AndroidManifest, name: string): string | null;
|
|
144
|
+
export declare function addUsesLibraryItemToMainApplication(mainApplication: ManifestApplication, item: {
|
|
145
|
+
name: string;
|
|
146
|
+
required?: boolean;
|
|
147
|
+
}): ManifestApplication;
|
|
148
|
+
export declare function removeUsesLibraryItemFromMainApplication(mainApplication: ManifestApplication, itemName: string): ManifestApplication;
|
|
149
|
+
export declare function prefixAndroidKeys<T extends Record<string, any> = Record<string, string>>(head: T): Record<string, any>;
|
|
150
|
+
/**
|
|
151
|
+
* Ensure the `tools:*` namespace is available in the manifest.
|
|
152
|
+
*
|
|
153
|
+
* @param manifest AndroidManifest.xml
|
|
154
|
+
* @returns manifest with the `tools:*` namespace available
|
|
155
|
+
*/
|
|
156
|
+
export declare function ensureToolsAvailable(manifest: AndroidManifest): AndroidManifest;
|
|
157
|
+
export {};
|
|
@@ -0,0 +1,221 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.addMetaDataItemToMainApplication = addMetaDataItemToMainApplication;
|
|
7
|
+
exports.addUsesLibraryItemToMainApplication = addUsesLibraryItemToMainApplication;
|
|
8
|
+
exports.ensureToolsAvailable = ensureToolsAvailable;
|
|
9
|
+
exports.findMetaDataItem = findMetaDataItem;
|
|
10
|
+
exports.findUsesLibraryItem = findUsesLibraryItem;
|
|
11
|
+
exports.getMainActivity = getMainActivity;
|
|
12
|
+
exports.getMainActivityOrThrow = getMainActivityOrThrow;
|
|
13
|
+
exports.getMainApplication = getMainApplication;
|
|
14
|
+
exports.getMainApplicationMetaDataValue = getMainApplicationMetaDataValue;
|
|
15
|
+
exports.getMainApplicationOrThrow = getMainApplicationOrThrow;
|
|
16
|
+
exports.getRunnableActivity = getRunnableActivity;
|
|
17
|
+
exports.prefixAndroidKeys = prefixAndroidKeys;
|
|
18
|
+
exports.readAndroidManifestAsync = readAndroidManifestAsync;
|
|
19
|
+
exports.removeMetaDataItemFromMainApplication = removeMetaDataItemFromMainApplication;
|
|
20
|
+
exports.removeUsesLibraryItemFromMainApplication = removeUsesLibraryItemFromMainApplication;
|
|
21
|
+
exports.writeAndroidManifestAsync = writeAndroidManifestAsync;
|
|
22
|
+
function _assert() {
|
|
23
|
+
const data = _interopRequireDefault(require("assert"));
|
|
24
|
+
_assert = function () {
|
|
25
|
+
return data;
|
|
26
|
+
};
|
|
27
|
+
return data;
|
|
28
|
+
}
|
|
29
|
+
function _fs() {
|
|
30
|
+
const data = _interopRequireDefault(require("fs"));
|
|
31
|
+
_fs = function () {
|
|
32
|
+
return data;
|
|
33
|
+
};
|
|
34
|
+
return data;
|
|
35
|
+
}
|
|
36
|
+
function _path() {
|
|
37
|
+
const data = _interopRequireDefault(require("path"));
|
|
38
|
+
_path = function () {
|
|
39
|
+
return data;
|
|
40
|
+
};
|
|
41
|
+
return data;
|
|
42
|
+
}
|
|
43
|
+
function XML() {
|
|
44
|
+
const data = _interopRequireWildcard(require("../utils/XML"));
|
|
45
|
+
XML = function () {
|
|
46
|
+
return data;
|
|
47
|
+
};
|
|
48
|
+
return data;
|
|
49
|
+
}
|
|
50
|
+
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
|
51
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
52
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
53
|
+
async function writeAndroidManifestAsync(manifestPath, androidManifest) {
|
|
54
|
+
const manifestXml = XML().format(androidManifest);
|
|
55
|
+
await _fs().default.promises.mkdir(_path().default.dirname(manifestPath), {
|
|
56
|
+
recursive: true
|
|
57
|
+
});
|
|
58
|
+
await _fs().default.promises.writeFile(manifestPath, manifestXml);
|
|
59
|
+
}
|
|
60
|
+
async function readAndroidManifestAsync(manifestPath) {
|
|
61
|
+
const xml = await XML().readXMLAsync({
|
|
62
|
+
path: manifestPath
|
|
63
|
+
});
|
|
64
|
+
if (!isManifest(xml)) {
|
|
65
|
+
throw new Error('Invalid manifest found at: ' + manifestPath);
|
|
66
|
+
}
|
|
67
|
+
return xml;
|
|
68
|
+
}
|
|
69
|
+
function isManifest(xml) {
|
|
70
|
+
// TODO: Maybe more validation
|
|
71
|
+
return !!xml.manifest;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
/** Returns the `manifest.application` tag ending in `.MainApplication` */
|
|
75
|
+
function getMainApplication(androidManifest) {
|
|
76
|
+
return androidManifest?.manifest?.application?.filter(e => e?.$?.['android:name'].endsWith('.MainApplication'))[0] ?? null;
|
|
77
|
+
}
|
|
78
|
+
function getMainApplicationOrThrow(androidManifest) {
|
|
79
|
+
const mainApplication = getMainApplication(androidManifest);
|
|
80
|
+
(0, _assert().default)(mainApplication, 'AndroidManifest.xml is missing the required MainApplication element');
|
|
81
|
+
return mainApplication;
|
|
82
|
+
}
|
|
83
|
+
function getMainActivityOrThrow(androidManifest) {
|
|
84
|
+
const mainActivity = getMainActivity(androidManifest);
|
|
85
|
+
(0, _assert().default)(mainActivity, 'AndroidManifest.xml is missing the required MainActivity element');
|
|
86
|
+
return mainActivity;
|
|
87
|
+
}
|
|
88
|
+
function getRunnableActivity(androidManifest) {
|
|
89
|
+
// Get enabled activities
|
|
90
|
+
const enabledActivities = androidManifest?.manifest?.application?.[0]?.activity?.filter?.(e => e.$['android:enabled'] !== 'false' && e.$['android:enabled'] !== false);
|
|
91
|
+
if (!enabledActivities) {
|
|
92
|
+
return null;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
// Get the activity that has a runnable intent-filter
|
|
96
|
+
for (const activity of enabledActivities) {
|
|
97
|
+
if (Array.isArray(activity['intent-filter'])) {
|
|
98
|
+
for (const intentFilter of activity['intent-filter']) {
|
|
99
|
+
if (intentFilter.action?.find(action => action.$['android:name'] === 'android.intent.action.MAIN') && intentFilter.category?.find(category => category.$['android:name'] === 'android.intent.category.LAUNCHER')) {
|
|
100
|
+
return activity;
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
return null;
|
|
106
|
+
}
|
|
107
|
+
function getMainActivity(androidManifest) {
|
|
108
|
+
const mainActivity = androidManifest?.manifest?.application?.[0]?.activity?.filter?.(e => e.$['android:name'] === '.MainActivity');
|
|
109
|
+
return mainActivity?.[0] ?? null;
|
|
110
|
+
}
|
|
111
|
+
function addMetaDataItemToMainApplication(mainApplication, itemName, itemValue, itemType = 'value') {
|
|
112
|
+
let existingMetaDataItem;
|
|
113
|
+
const newItem = {
|
|
114
|
+
$: prefixAndroidKeys({
|
|
115
|
+
name: itemName,
|
|
116
|
+
[itemType]: itemValue
|
|
117
|
+
})
|
|
118
|
+
};
|
|
119
|
+
if (mainApplication['meta-data']) {
|
|
120
|
+
existingMetaDataItem = mainApplication['meta-data'].filter(e => e.$['android:name'] === itemName);
|
|
121
|
+
if (existingMetaDataItem.length) {
|
|
122
|
+
existingMetaDataItem[0].$[`android:${itemType}`] = itemValue;
|
|
123
|
+
} else {
|
|
124
|
+
mainApplication['meta-data'].push(newItem);
|
|
125
|
+
}
|
|
126
|
+
} else {
|
|
127
|
+
mainApplication['meta-data'] = [newItem];
|
|
128
|
+
}
|
|
129
|
+
return mainApplication;
|
|
130
|
+
}
|
|
131
|
+
function removeMetaDataItemFromMainApplication(mainApplication, itemName) {
|
|
132
|
+
const index = findMetaDataItem(mainApplication, itemName);
|
|
133
|
+
if (mainApplication?.['meta-data'] && index > -1) {
|
|
134
|
+
mainApplication['meta-data'].splice(index, 1);
|
|
135
|
+
}
|
|
136
|
+
return mainApplication;
|
|
137
|
+
}
|
|
138
|
+
function findApplicationSubItem(mainApplication, category, itemName) {
|
|
139
|
+
const parent = mainApplication[category];
|
|
140
|
+
if (Array.isArray(parent)) {
|
|
141
|
+
const index = parent.findIndex(e => e.$['android:name'] === itemName);
|
|
142
|
+
return index;
|
|
143
|
+
}
|
|
144
|
+
return -1;
|
|
145
|
+
}
|
|
146
|
+
function findMetaDataItem(mainApplication, itemName) {
|
|
147
|
+
return findApplicationSubItem(mainApplication, 'meta-data', itemName);
|
|
148
|
+
}
|
|
149
|
+
function findUsesLibraryItem(mainApplication, itemName) {
|
|
150
|
+
return findApplicationSubItem(mainApplication, 'uses-library', itemName);
|
|
151
|
+
}
|
|
152
|
+
function getMainApplicationMetaDataValue(androidManifest, name) {
|
|
153
|
+
const mainApplication = getMainApplication(androidManifest);
|
|
154
|
+
if (mainApplication?.hasOwnProperty('meta-data')) {
|
|
155
|
+
const item = mainApplication?.['meta-data']?.find(e => e.$['android:name'] === name);
|
|
156
|
+
return item?.$['android:value'] ?? null;
|
|
157
|
+
}
|
|
158
|
+
return null;
|
|
159
|
+
}
|
|
160
|
+
function addUsesLibraryItemToMainApplication(mainApplication, item) {
|
|
161
|
+
let existingMetaDataItem;
|
|
162
|
+
const newItem = {
|
|
163
|
+
$: prefixAndroidKeys(item)
|
|
164
|
+
};
|
|
165
|
+
if (mainApplication['uses-library']) {
|
|
166
|
+
existingMetaDataItem = mainApplication['uses-library'].filter(e => e.$['android:name'] === item.name);
|
|
167
|
+
if (existingMetaDataItem.length) {
|
|
168
|
+
existingMetaDataItem[0].$ = newItem.$;
|
|
169
|
+
} else {
|
|
170
|
+
mainApplication['uses-library'].push(newItem);
|
|
171
|
+
}
|
|
172
|
+
} else {
|
|
173
|
+
mainApplication['uses-library'] = [newItem];
|
|
174
|
+
}
|
|
175
|
+
return mainApplication;
|
|
176
|
+
}
|
|
177
|
+
function removeUsesLibraryItemFromMainApplication(mainApplication, itemName) {
|
|
178
|
+
const index = findUsesLibraryItem(mainApplication, itemName);
|
|
179
|
+
if (mainApplication?.['uses-library'] && index > -1) {
|
|
180
|
+
mainApplication['uses-library'].splice(index, 1);
|
|
181
|
+
}
|
|
182
|
+
return mainApplication;
|
|
183
|
+
}
|
|
184
|
+
function prefixAndroidKeys(head) {
|
|
185
|
+
// prefix all keys with `android:`
|
|
186
|
+
return Object.entries(head).reduce((prev, [key, curr]) => ({
|
|
187
|
+
...prev,
|
|
188
|
+
[`android:${key}`]: curr
|
|
189
|
+
}), {});
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
/**
|
|
193
|
+
* Ensure the `tools:*` namespace is available in the manifest.
|
|
194
|
+
*
|
|
195
|
+
* @param manifest AndroidManifest.xml
|
|
196
|
+
* @returns manifest with the `tools:*` namespace available
|
|
197
|
+
*/
|
|
198
|
+
function ensureToolsAvailable(manifest) {
|
|
199
|
+
return ensureManifestHasNamespace(manifest, {
|
|
200
|
+
namespace: 'xmlns:tools',
|
|
201
|
+
url: 'http://schemas.android.com/tools'
|
|
202
|
+
});
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
/**
|
|
206
|
+
* Ensure a particular namespace is available in the manifest.
|
|
207
|
+
*
|
|
208
|
+
* @param manifest `AndroidManifest.xml`
|
|
209
|
+
* @returns manifest with the provided namespace available
|
|
210
|
+
*/
|
|
211
|
+
function ensureManifestHasNamespace(manifest, {
|
|
212
|
+
namespace,
|
|
213
|
+
url
|
|
214
|
+
}) {
|
|
215
|
+
if (manifest?.manifest?.$?.[namespace]) {
|
|
216
|
+
return manifest;
|
|
217
|
+
}
|
|
218
|
+
manifest.manifest.$[namespace] = url;
|
|
219
|
+
return manifest;
|
|
220
|
+
}
|
|
221
|
+
//# sourceMappingURL=Manifest.js.map
|