New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@expo/cli

Package Overview
Dependencies
Maintainers
27
Versions
238
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@expo/cli - npm Package Compare versions

Comparing version 1.0.0-canary-20250131-5c4e588 to 1.0.0-canary-20250207-8bc5146

build/src/start/server/AsyncWsTunnel.js

1

build/src/api/graphql/types/App.js

@@ -22,2 +22,3 @@ "use strict";

id
name
}

@@ -24,0 +25,0 @@ }

@@ -19,2 +19,3 @@ /**

AccountAppsSortByField: ()=>AccountAppsSortByField,
AccountUploadSessionType: ()=>AccountUploadSessionType,
ActivityTimelineProjectActivityType: ()=>ActivityTimelineProjectActivityType,

@@ -24,2 +25,3 @@ AndroidBuildType: ()=>AndroidBuildType,

AndroidKeystoreType: ()=>AndroidKeystoreType,
AppInternalDistributionBuildPrivacy: ()=>AppInternalDistributionBuildPrivacy,
AppPlatform: ()=>AppPlatform,

@@ -29,11 +31,17 @@ AppPrivacy: ()=>AppPrivacy,

AppStoreConnectUserRole: ()=>AppStoreConnectUserRole,
AppUploadSessionType: ()=>AppUploadSessionType,
AppleDeviceClass: ()=>AppleDeviceClass,
AppleTeamType: ()=>AppleTeamType,
AppsFilter: ()=>AppsFilter,
AssetMetadataStatus: ()=>AssetMetadataStatus,
AuditLogsExportFormat: ()=>AuditLogsExportFormat,
AuthProtocolType: ()=>AuthProtocolType,
AuthProviderIdentifier: ()=>AuthProviderIdentifier,
BackgroundJobResultType: ()=>BackgroundJobResultType,
BackgroundJobState: ()=>BackgroundJobState,
BuildCredentialsSource: ()=>BuildCredentialsSource,
BuildIosEnterpriseProvisioning: ()=>BuildIosEnterpriseProvisioning,
BuildJobLogsFormat: ()=>BuildJobLogsFormat,
BuildJobStatus: ()=>BuildJobStatus,
BuildLimitThresholdExceededMetadataType: ()=>BuildLimitThresholdExceededMetadataType,
BuildMode: ()=>BuildMode,
BuildPhase: ()=>BuildPhase,
BuildPriority: ()=>BuildPriority,

@@ -45,12 +53,30 @@ BuildResourceClass: ()=>BuildResourceClass,

BuildWorkflow: ()=>BuildWorkflow,
ContinentCode: ()=>ContinentCode,
CrashSampleFor: ()=>CrashSampleFor,
CustomDomainDnsRecordType: ()=>CustomDomainDnsRecordType,
CustomDomainStatus: ()=>CustomDomainStatus,
DistributionType: ()=>DistributionType,
EasBuildBillingResourceClass: ()=>EasBuildBillingResourceClass,
EasBuildDeprecationInfoType: ()=>EasBuildDeprecationInfoType,
EasBuildWaiverType: ()=>EasBuildWaiverType,
EasService: ()=>EasService,
EasServiceMetric: ()=>EasServiceMetric,
EasTotalPlanEnablementUnit: ()=>EasTotalPlanEnablementUnit,
EntityTypeName: ()=>EntityTypeName,
EnvironmentSecretType: ()=>EnvironmentSecretType,
EnvironmentVariableEnvironment: ()=>EnvironmentVariableEnvironment,
EnvironmentVariableScope: ()=>EnvironmentVariableScope,
EnvironmentVariableVisibility: ()=>EnvironmentVariableVisibility,
Experiment: ()=>Experiment,
Feature: ()=>Feature,
FingerprintSourceType: ()=>FingerprintSourceType,
GitHubAppEnvironment: ()=>GitHubAppEnvironment,
GitHubAppInstallationStatus: ()=>GitHubAppInstallationStatus,
GitHubBuildTriggerExecutionBehavior: ()=>GitHubBuildTriggerExecutionBehavior,
GitHubBuildTriggerRunStatus: ()=>GitHubBuildTriggerRunStatus,
GitHubBuildTriggerType: ()=>GitHubBuildTriggerType,
GitHubJobRunJobType: ()=>GitHubJobRunJobType,
GitHubJobRunTriggerRunStatus: ()=>GitHubJobRunTriggerRunStatus,
GitHubJobRunTriggerType: ()=>GitHubJobRunTriggerType,
InsightsFilterType: ()=>InsightsFilterType,
InvoiceDiscountType: ()=>InvoiceDiscountType,

@@ -61,2 +87,4 @@ IosBuildType: ()=>IosBuildType,

IosSchemeBuildConfiguration: ()=>IosSchemeBuildConfiguration,
JobRunPriority: ()=>JobRunPriority,
JobRunStatus: ()=>JobRunStatus,
MailchimpAudience: ()=>MailchimpAudience,

@@ -67,5 +95,14 @@ MailchimpTag: ()=>MailchimpTag,

OfferType: ()=>OfferType,
OnboardingDeviceType: ()=>OnboardingDeviceType,
OnboardingEnvironment: ()=>OnboardingEnvironment,
Order: ()=>Order,
Permission: ()=>Permission,
ProjectArchiveSourceType: ()=>ProjectArchiveSourceType,
RequestMethod: ()=>RequestMethod,
RequestsOrderByDirection: ()=>RequestsOrderByDirection,
RequestsOrderByField: ()=>RequestsOrderByField,
ResourceClassExperiment: ()=>ResourceClassExperiment,
ResponseCacheStatus: ()=>ResponseCacheStatus,
ResponseStatusType: ()=>ResponseStatusType,
ResponseType: ()=>ResponseType,
Role: ()=>Role,

@@ -82,7 +119,20 @@ SecondFactorMethod: ()=>SecondFactorMethod,

SubmissionArchiveSourceType: ()=>SubmissionArchiveSourceType,
SubmissionPriority: ()=>SubmissionPriority,
SubmissionStatus: ()=>SubmissionStatus,
TargetEntityMutationType: ()=>TargetEntityMutationType,
UploadSessionType: ()=>UploadSessionType,
UsageMetricType: ()=>UsageMetricType,
UsageMetricsGranularity: ()=>UsageMetricsGranularity,
WebhookType: ()=>WebhookType
UserAgentBrowser: ()=>UserAgentBrowser,
UserAgentOs: ()=>UserAgentOs,
UserEntityTypeName: ()=>UserEntityTypeName,
WebhookType: ()=>WebhookType,
WorkerDeploymentCrashKind: ()=>WorkerDeploymentCrashKind,
WorkerDeploymentLogLevel: ()=>WorkerDeploymentLogLevel,
WorkerLoggerLevel: ()=>WorkerLoggerLevel,
WorkflowJobStatus: ()=>WorkflowJobStatus,
WorkflowJobType: ()=>WorkflowJobType,
WorkflowProjectSourceType: ()=>WorkflowProjectSourceType,
WorkflowRunStatus: ()=>WorkflowRunStatus,
WorkflowRunTriggerEventType: ()=>WorkflowRunTriggerEventType
});

@@ -97,8 +147,14 @@ var AccountAppsSortByField;

})(AccountAppsSortByField || (AccountAppsSortByField = {}));
var AccountUploadSessionType;
(function(AccountUploadSessionType) {
AccountUploadSessionType["ProfileImageUpload"] = "PROFILE_IMAGE_UPLOAD";
AccountUploadSessionType["WorkflowsProjectSources"] = "WORKFLOWS_PROJECT_SOURCES";
})(AccountUploadSessionType || (AccountUploadSessionType = {}));
var ActivityTimelineProjectActivityType;
(function(ActivityTimelineProjectActivityType) {
ActivityTimelineProjectActivityType["Build"] = "BUILD";
ActivityTimelineProjectActivityType["BuildJob"] = "BUILD_JOB";
ActivityTimelineProjectActivityType["Submission"] = "SUBMISSION";
ActivityTimelineProjectActivityType["Update"] = "UPDATE";
ActivityTimelineProjectActivityType["Worker"] = "WORKER";
ActivityTimelineProjectActivityType["WorkflowRun"] = "WORKFLOW_RUN";
})(ActivityTimelineProjectActivityType || (ActivityTimelineProjectActivityType = {}));

@@ -122,2 +178,7 @@ var AndroidBuildType;

})(AndroidKeystoreType || (AndroidKeystoreType = {}));
var AppInternalDistributionBuildPrivacy;
(function(AppInternalDistributionBuildPrivacy) {
AppInternalDistributionBuildPrivacy["Private"] = "PRIVATE";
AppInternalDistributionBuildPrivacy["Public"] = "PUBLIC";
})(AppInternalDistributionBuildPrivacy || (AppInternalDistributionBuildPrivacy = {}));
var AppPlatform;

@@ -158,2 +219,6 @@ (function(AppPlatform) {

})(AppStoreConnectUserRole || (AppStoreConnectUserRole = {}));
var AppUploadSessionType;
(function(AppUploadSessionType) {
AppUploadSessionType["ProfileImageUpload"] = "PROFILE_IMAGE_UPLOAD";
})(AppUploadSessionType || (AppUploadSessionType = {}));
var AppleDeviceClass;

@@ -163,3 +228,11 @@ (function(AppleDeviceClass) {

AppleDeviceClass["Iphone"] = "IPHONE";
AppleDeviceClass["Mac"] = "MAC";
AppleDeviceClass["Unknown"] = "UNKNOWN";
})(AppleDeviceClass || (AppleDeviceClass = {}));
var AppleTeamType;
(function(AppleTeamType) {
AppleTeamType["CompanyOrOrganization"] = "COMPANY_OR_ORGANIZATION";
AppleTeamType["Individual"] = "INDIVIDUAL";
AppleTeamType["InHouse"] = "IN_HOUSE";
})(AppleTeamType || (AppleTeamType = {}));
var AppsFilter;

@@ -175,2 +248,8 @@ (function(AppsFilter) {

})(AssetMetadataStatus || (AssetMetadataStatus = {}));
var AuditLogsExportFormat;
(function(AuditLogsExportFormat) {
AuditLogsExportFormat["Csv"] = "CSV";
AuditLogsExportFormat["Json"] = "JSON";
AuditLogsExportFormat["Jsonl"] = "JSONL";
})(AuditLogsExportFormat || (AuditLogsExportFormat = {}));
var AuthProtocolType;

@@ -180,2 +259,24 @@ (function(AuthProtocolType) {

})(AuthProtocolType || (AuthProtocolType = {}));
var AuthProviderIdentifier;
(function(AuthProviderIdentifier) {
AuthProviderIdentifier["GoogleWs"] = "GOOGLE_WS";
AuthProviderIdentifier["MsEntraId"] = "MS_ENTRA_ID";
AuthProviderIdentifier["Okta"] = "OKTA";
AuthProviderIdentifier["OneLogin"] = "ONE_LOGIN";
AuthProviderIdentifier["StubIdp"] = "STUB_IDP";
})(AuthProviderIdentifier || (AuthProviderIdentifier = {}));
var BackgroundJobResultType;
(function(BackgroundJobResultType) {
BackgroundJobResultType["AuditLogsExport"] = "AUDIT_LOGS_EXPORT";
BackgroundJobResultType["GithubBuild"] = "GITHUB_BUILD";
BackgroundJobResultType["UserAuditLogsExport"] = "USER_AUDIT_LOGS_EXPORT";
BackgroundJobResultType["Void"] = "VOID";
})(BackgroundJobResultType || (BackgroundJobResultType = {}));
var BackgroundJobState;
(function(BackgroundJobState) {
BackgroundJobState["Failure"] = "FAILURE";
BackgroundJobState["InProgress"] = "IN_PROGRESS";
BackgroundJobState["Queued"] = "QUEUED";
BackgroundJobState["Success"] = "SUCCESS";
})(BackgroundJobState || (BackgroundJobState = {}));
var BuildCredentialsSource;

@@ -191,16 +292,7 @@ (function(BuildCredentialsSource) {

})(BuildIosEnterpriseProvisioning || (BuildIosEnterpriseProvisioning = {}));
var BuildJobLogsFormat;
(function(BuildJobLogsFormat) {
BuildJobLogsFormat["Json"] = "JSON";
BuildJobLogsFormat["Raw"] = "RAW";
})(BuildJobLogsFormat || (BuildJobLogsFormat = {}));
var BuildJobStatus;
(function(BuildJobStatus) {
BuildJobStatus["Errored"] = "ERRORED";
BuildJobStatus["Finished"] = "FINISHED";
BuildJobStatus["InProgress"] = "IN_PROGRESS";
BuildJobStatus["Pending"] = "PENDING";
BuildJobStatus["SentToQueue"] = "SENT_TO_QUEUE";
BuildJobStatus["Started"] = "STARTED";
})(BuildJobStatus || (BuildJobStatus = {}));
var BuildLimitThresholdExceededMetadataType;
(function(BuildLimitThresholdExceededMetadataType) {
BuildLimitThresholdExceededMetadataType["Ios"] = "IOS";
BuildLimitThresholdExceededMetadataType["Total"] = "TOTAL";
})(BuildLimitThresholdExceededMetadataType || (BuildLimitThresholdExceededMetadataType = {}));
var BuildMode;

@@ -210,4 +302,48 @@ (function(BuildMode) {

BuildMode["Custom"] = "CUSTOM";
BuildMode["Repack"] = "REPACK";
BuildMode["Resign"] = "RESIGN";
})(BuildMode || (BuildMode = {}));
var BuildPhase;
(function(BuildPhase) {
BuildPhase["BuilderInfo"] = "BUILDER_INFO";
BuildPhase["CleanUpCredentials"] = "CLEAN_UP_CREDENTIALS";
BuildPhase["CompleteBuild"] = "COMPLETE_BUILD";
BuildPhase["ConfigureExpoUpdates"] = "CONFIGURE_EXPO_UPDATES";
BuildPhase["ConfigureXcodeProject"] = "CONFIGURE_XCODE_PROJECT";
BuildPhase["Custom"] = "CUSTOM";
BuildPhase["DownloadApplicationArchive"] = "DOWNLOAD_APPLICATION_ARCHIVE";
BuildPhase["EasBuildInternal"] = "EAS_BUILD_INTERNAL";
BuildPhase["FailBuild"] = "FAIL_BUILD";
BuildPhase["FixGradlew"] = "FIX_GRADLEW";
BuildPhase["InstallCustomTools"] = "INSTALL_CUSTOM_TOOLS";
BuildPhase["InstallDependencies"] = "INSTALL_DEPENDENCIES";
BuildPhase["InstallPods"] = "INSTALL_PODS";
BuildPhase["OnBuildCancelHook"] = "ON_BUILD_CANCEL_HOOK";
BuildPhase["OnBuildCompleteHook"] = "ON_BUILD_COMPLETE_HOOK";
BuildPhase["OnBuildErrorHook"] = "ON_BUILD_ERROR_HOOK";
BuildPhase["OnBuildSuccessHook"] = "ON_BUILD_SUCCESS_HOOK";
BuildPhase["ParseCustomWorkflowConfig"] = "PARSE_CUSTOM_WORKFLOW_CONFIG";
BuildPhase["PostInstallHook"] = "POST_INSTALL_HOOK";
BuildPhase["Prebuild"] = "PREBUILD";
BuildPhase["PrepareArtifacts"] = "PREPARE_ARTIFACTS";
BuildPhase["PrepareCredentials"] = "PREPARE_CREDENTIALS";
BuildPhase["PrepareProject"] = "PREPARE_PROJECT";
BuildPhase["PreInstallHook"] = "PRE_INSTALL_HOOK";
BuildPhase["PreUploadArtifactsHook"] = "PRE_UPLOAD_ARTIFACTS_HOOK";
BuildPhase["Queue"] = "QUEUE";
BuildPhase["ReadAppConfig"] = "READ_APP_CONFIG";
BuildPhase["ReadPackageJson"] = "READ_PACKAGE_JSON";
BuildPhase["RestoreCache"] = "RESTORE_CACHE";
BuildPhase["RunExpoDoctor"] = "RUN_EXPO_DOCTOR";
BuildPhase["RunFastlane"] = "RUN_FASTLANE";
BuildPhase["RunGradlew"] = "RUN_GRADLEW";
BuildPhase["SaveCache"] = "SAVE_CACHE";
BuildPhase["SetUpBuildEnvironment"] = "SET_UP_BUILD_ENVIRONMENT";
BuildPhase["SpinUpBuilder"] = "SPIN_UP_BUILDER";
BuildPhase["StartBuild"] = "START_BUILD";
BuildPhase["Unknown"] = "UNKNOWN";
BuildPhase["UploadApplicationArchive"] = "UPLOAD_APPLICATION_ARCHIVE";
BuildPhase[/** @deprecated No longer supported */ "UploadArtifacts"] = "UPLOAD_ARTIFACTS";
BuildPhase["UploadBuildArtifacts"] = "UPLOAD_BUILD_ARTIFACTS";
})(BuildPhase || (BuildPhase = {}));
var BuildPriority;

@@ -225,7 +361,7 @@ (function(BuildPriority) {

BuildResourceClass["IosDefault"] = "IOS_DEFAULT";
BuildResourceClass[/** @deprecated Use IOS_INTEL_MEDIUM instead */ "IosIntelLarge"] = "IOS_INTEL_LARGE";
BuildResourceClass["IosIntelMedium"] = "IOS_INTEL_MEDIUM";
BuildResourceClass[/** @deprecated No longer available. Use IOS_M_LARGE instead. */ "IosIntelLarge"] = "IOS_INTEL_LARGE";
BuildResourceClass[/** @deprecated No longer available. Use IOS_M_MEDIUM instead. */ "IosIntelMedium"] = "IOS_INTEL_MEDIUM";
BuildResourceClass["IosLarge"] = "IOS_LARGE";
BuildResourceClass[/** @deprecated Use IOS_M_MEDIUM instead */ "IosM1Large"] = "IOS_M1_LARGE";
BuildResourceClass["IosM1Medium"] = "IOS_M1_MEDIUM";
BuildResourceClass[/** @deprecated Use IOS_M_MEDIUM instead */ "IosM1Medium"] = "IOS_M1_MEDIUM";
BuildResourceClass["IosMedium"] = "IOS_MEDIUM";

@@ -235,2 +371,4 @@ BuildResourceClass["IosMLarge"] = "IOS_M_LARGE";

BuildResourceClass["Legacy"] = "LEGACY";
BuildResourceClass["LinuxLarge"] = "LINUX_LARGE";
BuildResourceClass["LinuxMedium"] = "LINUX_MEDIUM";
})(BuildResourceClass || (BuildResourceClass = {}));

@@ -253,2 +391,3 @@ var BuildRetryDisabledReason;

BuildStatus["New"] = "NEW";
BuildStatus["PendingCancel"] = "PENDING_CANCEL";
})(BuildStatus || (BuildStatus = {}));

@@ -266,2 +405,31 @@ var BuildTrigger;

})(BuildWorkflow || (BuildWorkflow = {}));
var ContinentCode;
(function(ContinentCode) {
ContinentCode["Af"] = "AF";
ContinentCode["An"] = "AN";
ContinentCode["As"] = "AS";
ContinentCode["Eu"] = "EU";
ContinentCode["Na"] = "NA";
ContinentCode["Oc"] = "OC";
ContinentCode["Sa"] = "SA";
ContinentCode["T1"] = "T1";
})(ContinentCode || (ContinentCode = {}));
var CrashSampleFor;
(function(CrashSampleFor) {
CrashSampleFor["Newest"] = "NEWEST";
CrashSampleFor["Oldest"] = "OLDEST";
})(CrashSampleFor || (CrashSampleFor = {}));
var CustomDomainDnsRecordType;
(function(CustomDomainDnsRecordType) {
CustomDomainDnsRecordType["A"] = "A";
CustomDomainDnsRecordType["Cname"] = "CNAME";
CustomDomainDnsRecordType["Txt"] = "TXT";
})(CustomDomainDnsRecordType || (CustomDomainDnsRecordType = {}));
var CustomDomainStatus;
(function(CustomDomainStatus) {
CustomDomainStatus["Active"] = "ACTIVE";
CustomDomainStatus["Error"] = "ERROR";
CustomDomainStatus["Pending"] = "PENDING";
CustomDomainStatus["TimedOut"] = "TIMED_OUT";
})(CustomDomainStatus || (CustomDomainStatus = {}));
var DistributionType;

@@ -283,5 +451,11 @@ (function(DistributionType) {

})(EasBuildDeprecationInfoType || (EasBuildDeprecationInfoType = {}));
var EasBuildWaiverType;
(function(EasBuildWaiverType) {
EasBuildWaiverType["FastFailedBuild"] = "FAST_FAILED_BUILD";
EasBuildWaiverType["SystemError"] = "SYSTEM_ERROR";
})(EasBuildWaiverType || (EasBuildWaiverType = {}));
var EasService;
(function(EasService) {
EasService["Builds"] = "BUILDS";
EasService["Jobs"] = "JOBS";
EasService["Updates"] = "UPDATES";

@@ -295,2 +469,3 @@ })(EasService || (EasService = {}));

EasServiceMetric["ManifestRequests"] = "MANIFEST_REQUESTS";
EasServiceMetric["RunTime"] = "RUN_TIME";
EasServiceMetric["UniqueUpdaters"] = "UNIQUE_UPDATERS";

@@ -308,2 +483,27 @@ EasServiceMetric["UniqueUsers"] = "UNIQUE_USERS";

})(EasTotalPlanEnablementUnit || (EasTotalPlanEnablementUnit = {}));
var EntityTypeName;
(function(EntityTypeName) {
EntityTypeName["AccountEntity"] = "AccountEntity";
EntityTypeName["AccountSsoConfigurationEntity"] = "AccountSSOConfigurationEntity";
EntityTypeName["AndroidAppCredentialsEntity"] = "AndroidAppCredentialsEntity";
EntityTypeName["AndroidKeystoreEntity"] = "AndroidKeystoreEntity";
EntityTypeName["AppEntity"] = "AppEntity";
EntityTypeName["AppStoreConnectApiKeyEntity"] = "AppStoreConnectApiKeyEntity";
EntityTypeName["AppleDeviceEntity"] = "AppleDeviceEntity";
EntityTypeName["AppleDistributionCertificateEntity"] = "AppleDistributionCertificateEntity";
EntityTypeName["AppleProvisioningProfileEntity"] = "AppleProvisioningProfileEntity";
EntityTypeName["AppleTeamEntity"] = "AppleTeamEntity";
EntityTypeName["BranchEntity"] = "BranchEntity";
EntityTypeName["ChannelEntity"] = "ChannelEntity";
EntityTypeName["CustomerEntity"] = "CustomerEntity";
EntityTypeName["GoogleServiceAccountKeyEntity"] = "GoogleServiceAccountKeyEntity";
EntityTypeName["IosAppCredentialsEntity"] = "IosAppCredentialsEntity";
EntityTypeName["UserInvitationEntity"] = "UserInvitationEntity";
EntityTypeName["UserPermissionEntity"] = "UserPermissionEntity";
EntityTypeName["WorkerCustomDomainEntity"] = "WorkerCustomDomainEntity";
EntityTypeName["WorkerDeploymentAliasEntity"] = "WorkerDeploymentAliasEntity";
EntityTypeName["WorkerEntity"] = "WorkerEntity";
EntityTypeName["WorkflowEntity"] = "WorkflowEntity";
EntityTypeName["WorkflowRevisionEntity"] = "WorkflowRevisionEntity";
})(EntityTypeName || (EntityTypeName = {}));
var EnvironmentSecretType;

@@ -314,2 +514,23 @@ (function(EnvironmentSecretType) {

})(EnvironmentSecretType || (EnvironmentSecretType = {}));
var EnvironmentVariableEnvironment;
(function(EnvironmentVariableEnvironment) {
EnvironmentVariableEnvironment["Development"] = "DEVELOPMENT";
EnvironmentVariableEnvironment["Preview"] = "PREVIEW";
EnvironmentVariableEnvironment["Production"] = "PRODUCTION";
})(EnvironmentVariableEnvironment || (EnvironmentVariableEnvironment = {}));
var EnvironmentVariableScope;
(function(EnvironmentVariableScope) {
EnvironmentVariableScope["Project"] = "PROJECT";
EnvironmentVariableScope["Shared"] = "SHARED";
})(EnvironmentVariableScope || (EnvironmentVariableScope = {}));
var EnvironmentVariableVisibility;
(function(EnvironmentVariableVisibility) {
EnvironmentVariableVisibility["Public"] = "PUBLIC";
EnvironmentVariableVisibility["Secret"] = "SECRET";
EnvironmentVariableVisibility["Sensitive"] = "SENSITIVE";
})(EnvironmentVariableVisibility || (EnvironmentVariableVisibility = {}));
var Experiment;
(function(Experiment) {
Experiment["Orbit"] = "ORBIT";
})(Experiment || (Experiment = {}));
var Feature;

@@ -322,2 +543,6 @@ (function(Feature) {

})(Feature || (Feature = {}));
var FingerprintSourceType;
(function(FingerprintSourceType) {
FingerprintSourceType["Gcs"] = "GCS";
})(FingerprintSourceType || (FingerprintSourceType = {}));
var GitHubAppEnvironment;

@@ -335,2 +560,36 @@ (function(GitHubAppEnvironment) {

})(GitHubAppInstallationStatus || (GitHubAppInstallationStatus = {}));
var GitHubBuildTriggerExecutionBehavior;
(function(GitHubBuildTriggerExecutionBehavior) {
GitHubBuildTriggerExecutionBehavior["Always"] = "ALWAYS";
GitHubBuildTriggerExecutionBehavior["BaseDirectoryChanged"] = "BASE_DIRECTORY_CHANGED";
})(GitHubBuildTriggerExecutionBehavior || (GitHubBuildTriggerExecutionBehavior = {}));
var GitHubBuildTriggerRunStatus;
(function(GitHubBuildTriggerRunStatus) {
GitHubBuildTriggerRunStatus["Errored"] = "ERRORED";
GitHubBuildTriggerRunStatus["Success"] = "SUCCESS";
})(GitHubBuildTriggerRunStatus || (GitHubBuildTriggerRunStatus = {}));
var GitHubBuildTriggerType;
(function(GitHubBuildTriggerType) {
GitHubBuildTriggerType["PullRequestUpdated"] = "PULL_REQUEST_UPDATED";
GitHubBuildTriggerType["PushToBranch"] = "PUSH_TO_BRANCH";
GitHubBuildTriggerType["TagUpdated"] = "TAG_UPDATED";
})(GitHubBuildTriggerType || (GitHubBuildTriggerType = {}));
var GitHubJobRunJobType;
(function(GitHubJobRunJobType) {
GitHubJobRunJobType["PublishUpdate"] = "PUBLISH_UPDATE";
})(GitHubJobRunJobType || (GitHubJobRunJobType = {}));
var GitHubJobRunTriggerRunStatus;
(function(GitHubJobRunTriggerRunStatus) {
GitHubJobRunTriggerRunStatus["Errored"] = "ERRORED";
GitHubJobRunTriggerRunStatus["Success"] = "SUCCESS";
})(GitHubJobRunTriggerRunStatus || (GitHubJobRunTriggerRunStatus = {}));
var GitHubJobRunTriggerType;
(function(GitHubJobRunTriggerType) {
GitHubJobRunTriggerType["PullRequestUpdated"] = "PULL_REQUEST_UPDATED";
GitHubJobRunTriggerType["PushToBranch"] = "PUSH_TO_BRANCH";
})(GitHubJobRunTriggerType || (GitHubJobRunTriggerType = {}));
var InsightsFilterType;
(function(InsightsFilterType) {
InsightsFilterType["Platform"] = "PLATFORM";
})(InsightsFilterType || (InsightsFilterType = {}));
var InvoiceDiscountType;

@@ -363,5 +622,23 @@ (function(InvoiceDiscountType) {

})(IosSchemeBuildConfiguration || (IosSchemeBuildConfiguration = {}));
var JobRunPriority;
(function(JobRunPriority) {
JobRunPriority["High"] = "HIGH";
JobRunPriority["Normal"] = "NORMAL";
})(JobRunPriority || (JobRunPriority = {}));
var JobRunStatus;
(function(JobRunStatus) {
JobRunStatus["Canceled"] = "CANCELED";
JobRunStatus["Errored"] = "ERRORED";
JobRunStatus["Finished"] = "FINISHED";
JobRunStatus["InProgress"] = "IN_PROGRESS";
JobRunStatus["InQueue"] = "IN_QUEUE";
JobRunStatus["New"] = "NEW";
JobRunStatus["PendingCancel"] = "PENDING_CANCEL";
})(JobRunStatus || (JobRunStatus = {}));
var MailchimpAudience;
(function(MailchimpAudience) {
MailchimpAudience["ExpoDevelopers"] = "EXPO_DEVELOPERS";
MailchimpAudience["ExpoDeveloperOnboarding"] = "EXPO_DEVELOPER_ONBOARDING";
MailchimpAudience["LaunchParty_2024"] = "LAUNCH_PARTY_2024";
MailchimpAudience["NonprodExpoDevelopers"] = "NONPROD_EXPO_DEVELOPERS";
})(MailchimpAudience || (MailchimpAudience = {}));

@@ -371,3 +648,5 @@ var MailchimpTag;

MailchimpTag["DevClientUsers"] = "DEV_CLIENT_USERS";
MailchimpTag["DidSubscribeToEasAtLeastOnce"] = "DID_SUBSCRIBE_TO_EAS_AT_LEAST_ONCE";
MailchimpTag["EasMasterList"] = "EAS_MASTER_LIST";
MailchimpTag["NewsletterSignupList"] = "NEWSLETTER_SIGNUP_LIST";
})(MailchimpTag || (MailchimpTag = {}));

@@ -377,3 +656,8 @@ var NotificationEvent;

NotificationEvent["BuildComplete"] = "BUILD_COMPLETE";
NotificationEvent["BuildErrored"] = "BUILD_ERRORED";
NotificationEvent["BuildLimitThresholdExceeded"] = "BUILD_LIMIT_THRESHOLD_EXCEEDED";
NotificationEvent["BuildPlanCreditThresholdExceeded"] = "BUILD_PLAN_CREDIT_THRESHOLD_EXCEEDED";
NotificationEvent["SubmissionComplete"] = "SUBMISSION_COMPLETE";
NotificationEvent["SubmissionErrored"] = "SUBMISSION_ERRORED";
NotificationEvent["Test"] = "TEST";
})(NotificationEvent || (NotificationEvent = {}));

@@ -383,2 +667,3 @@ var NotificationType;

NotificationType["Email"] = "EMAIL";
NotificationType["Web"] = "WEB";
})(NotificationType || (NotificationType = {}));

@@ -391,2 +676,12 @@ var OfferType;

})(OfferType || (OfferType = {}));
var OnboardingDeviceType;
(function(OnboardingDeviceType) {
OnboardingDeviceType["Device"] = "DEVICE";
OnboardingDeviceType["Simulator"] = "SIMULATOR";
})(OnboardingDeviceType || (OnboardingDeviceType = {}));
var OnboardingEnvironment;
(function(OnboardingEnvironment) {
OnboardingEnvironment["DevBuild"] = "DEV_BUILD";
OnboardingEnvironment["ExpoGo"] = "EXPO_GO";
})(OnboardingEnvironment || (OnboardingEnvironment = {}));
var Order;

@@ -412,2 +707,52 @@ (function(Order) {

})(ProjectArchiveSourceType || (ProjectArchiveSourceType = {}));
var RequestMethod;
(function(RequestMethod) {
RequestMethod["Delete"] = "DELETE";
RequestMethod["Get"] = "GET";
RequestMethod["Head"] = "HEAD";
RequestMethod["Options"] = "OPTIONS";
RequestMethod["Patch"] = "PATCH";
RequestMethod["Post"] = "POST";
RequestMethod["Put"] = "PUT";
})(RequestMethod || (RequestMethod = {}));
var RequestsOrderByDirection;
(function(RequestsOrderByDirection) {
RequestsOrderByDirection["Asc"] = "ASC";
RequestsOrderByDirection["Desc"] = "DESC";
})(RequestsOrderByDirection || (RequestsOrderByDirection = {}));
var RequestsOrderByField;
(function(RequestsOrderByField) {
RequestsOrderByField["AssetsSum"] = "ASSETS_SUM";
RequestsOrderByField["CacheHitRatio"] = "CACHE_HIT_RATIO";
RequestsOrderByField["CachePassRatio"] = "CACHE_PASS_RATIO";
RequestsOrderByField["CrashesSum"] = "CRASHES_SUM";
RequestsOrderByField["Duration"] = "DURATION";
RequestsOrderByField["RequestsSum"] = "REQUESTS_SUM";
})(RequestsOrderByField || (RequestsOrderByField = {}));
var ResourceClassExperiment;
(function(ResourceClassExperiment) {
ResourceClassExperiment["C3D"] = "C3D";
ResourceClassExperiment["N2"] = "N2";
})(ResourceClassExperiment || (ResourceClassExperiment = {}));
var ResponseCacheStatus;
(function(ResponseCacheStatus) {
ResponseCacheStatus["Hit"] = "HIT";
ResponseCacheStatus["Miss"] = "MISS";
ResponseCacheStatus["Pass"] = "PASS";
})(ResponseCacheStatus || (ResponseCacheStatus = {}));
var ResponseStatusType;
(function(ResponseStatusType) {
ResponseStatusType["ClientError"] = "CLIENT_ERROR";
ResponseStatusType["None"] = "NONE";
ResponseStatusType["Redirect"] = "REDIRECT";
ResponseStatusType["ServerError"] = "SERVER_ERROR";
ResponseStatusType["Successful"] = "SUCCESSFUL";
})(ResponseStatusType || (ResponseStatusType = {}));
var ResponseType;
(function(ResponseType) {
ResponseType["Asset"] = "ASSET";
ResponseType["Crash"] = "CRASH";
ResponseType["Rejected"] = "REJECTED";
ResponseType["Route"] = "ROUTE";
})(ResponseType || (ResponseType = {}));
var Role;

@@ -459,2 +804,4 @@ (function(Role) {

StatuspageServiceName["EasUpdate"] = "EAS_UPDATE";
StatuspageServiceName["GithubApiRequests"] = "GITHUB_API_REQUESTS";
StatuspageServiceName["GithubWebhooks"] = "GITHUB_WEBHOOKS";
})(StatuspageServiceName || (StatuspageServiceName = {}));

@@ -491,5 +838,11 @@ var StatuspageServiceStatus;

SubmissionArchiveSourceType["GcsBuildApplicationArchive"] = "GCS_BUILD_APPLICATION_ARCHIVE";
SubmissionArchiveSourceType["GcsBuildApplicationArchiveOrchestrator"] = "GCS_BUILD_APPLICATION_ARCHIVE_ORCHESTRATOR";
SubmissionArchiveSourceType["GcsSubmitArchive"] = "GCS_SUBMIT_ARCHIVE";
SubmissionArchiveSourceType["Url"] = "URL";
})(SubmissionArchiveSourceType || (SubmissionArchiveSourceType = {}));
var SubmissionPriority;
(function(SubmissionPriority) {
SubmissionPriority["High"] = "HIGH";
SubmissionPriority["Normal"] = "NORMAL";
})(SubmissionPriority || (SubmissionPriority = {}));
var SubmissionStatus;

@@ -504,8 +857,16 @@ (function(SubmissionStatus) {

})(SubmissionStatus || (SubmissionStatus = {}));
var TargetEntityMutationType;
(function(TargetEntityMutationType) {
TargetEntityMutationType["Create"] = "CREATE";
TargetEntityMutationType["Delete"] = "DELETE";
TargetEntityMutationType["Update"] = "UPDATE";
})(TargetEntityMutationType || (TargetEntityMutationType = {}));
var UploadSessionType;
(function(UploadSessionType) {
UploadSessionType["EasBuildGcsProjectMetadata"] = "EAS_BUILD_GCS_PROJECT_METADATA";
UploadSessionType["EasBuildGcsProjectSources"] = "EAS_BUILD_GCS_PROJECT_SOURCES";
UploadSessionType["EasBuildProjectSources"] = "EAS_BUILD_PROJECT_SOURCES";
UploadSessionType["EasSubmitAppArchive"] = "EAS_SUBMIT_APP_ARCHIVE";
UploadSessionType[/** @deprecated Use EAS_BUILD_GCS_PROJECT_SOURCES instead. */ "EasBuildProjectSources"] = "EAS_BUILD_PROJECT_SOURCES";
UploadSessionType[/** @deprecated Use EAS_SUBMIT_GCS_APP_ARCHIVE instead. */ "EasSubmitAppArchive"] = "EAS_SUBMIT_APP_ARCHIVE";
UploadSessionType["EasSubmitGcsAppArchive"] = "EAS_SUBMIT_GCS_APP_ARCHIVE";
UploadSessionType["EasUpdateFingerprint"] = "EAS_UPDATE_FINGERPRINT";
})(UploadSessionType || (UploadSessionType = {}));

@@ -516,2 +877,3 @@ var UsageMetricType;

UsageMetricType["Build"] = "BUILD";
UsageMetricType["Minute"] = "MINUTE";
UsageMetricType["Request"] = "REQUEST";

@@ -528,2 +890,42 @@ UsageMetricType["Update"] = "UPDATE";

})(UsageMetricsGranularity || (UsageMetricsGranularity = {}));
var UserAgentBrowser;
(function(UserAgentBrowser) {
UserAgentBrowser["AndroidMobile"] = "ANDROID_MOBILE";
UserAgentBrowser["Chrome"] = "CHROME";
UserAgentBrowser["ChromeIos"] = "CHROME_IOS";
UserAgentBrowser["Edge"] = "EDGE";
UserAgentBrowser["FacebookMobile"] = "FACEBOOK_MOBILE";
UserAgentBrowser["Firefox"] = "FIREFOX";
UserAgentBrowser["FirefoxIos"] = "FIREFOX_IOS";
UserAgentBrowser["InternetExplorer"] = "INTERNET_EXPLORER";
UserAgentBrowser["Konqueror"] = "KONQUEROR";
UserAgentBrowser["Mozilla"] = "MOZILLA";
UserAgentBrowser["Opera"] = "OPERA";
UserAgentBrowser["Safari"] = "SAFARI";
UserAgentBrowser["SafariMobile"] = "SAFARI_MOBILE";
UserAgentBrowser["SamsungInternet"] = "SAMSUNG_INTERNET";
UserAgentBrowser["UcBrowser"] = "UC_BROWSER";
})(UserAgentBrowser || (UserAgentBrowser = {}));
var UserAgentOs;
(function(UserAgentOs) {
UserAgentOs["Android"] = "ANDROID";
UserAgentOs["ChromeOs"] = "CHROME_OS";
UserAgentOs["Ios"] = "IOS";
UserAgentOs["IpadOs"] = "IPAD_OS";
UserAgentOs["Linux"] = "LINUX";
UserAgentOs["MacOs"] = "MAC_OS";
UserAgentOs["Windows"] = "WINDOWS";
})(UserAgentOs || (UserAgentOs = {}));
var UserEntityTypeName;
(function(UserEntityTypeName) {
UserEntityTypeName["AccessTokenEntity"] = "AccessTokenEntity";
UserEntityTypeName["DiscordUserEntity"] = "DiscordUserEntity";
UserEntityTypeName["GitHubUserEntity"] = "GitHubUserEntity";
UserEntityTypeName["PasswordEntity"] = "PasswordEntity";
UserEntityTypeName["SsoUserEntity"] = "SSOUserEntity";
UserEntityTypeName["UserEntity"] = "UserEntity";
UserEntityTypeName["UserPermissionEntity"] = "UserPermissionEntity";
UserEntityTypeName["UserSecondFactorBackupCodesEntity"] = "UserSecondFactorBackupCodesEntity";
UserEntityTypeName["UserSecondFactorDeviceEntity"] = "UserSecondFactorDeviceEntity";
})(UserEntityTypeName || (UserEntityTypeName = {}));
var WebhookType;

@@ -534,3 +936,72 @@ (function(WebhookType) {

})(WebhookType || (WebhookType = {}));
var WorkerDeploymentCrashKind;
(function(WorkerDeploymentCrashKind) {
WorkerDeploymentCrashKind["ExceededCpu"] = "EXCEEDED_CPU";
WorkerDeploymentCrashKind["ExceededMemory"] = "EXCEEDED_MEMORY";
WorkerDeploymentCrashKind["ExceededSubrequests"] = "EXCEEDED_SUBREQUESTS";
WorkerDeploymentCrashKind["Generic"] = "GENERIC";
WorkerDeploymentCrashKind["Internal"] = "INTERNAL";
WorkerDeploymentCrashKind["ResponseStreamDisconnected"] = "RESPONSE_STREAM_DISCONNECTED";
})(WorkerDeploymentCrashKind || (WorkerDeploymentCrashKind = {}));
var WorkerDeploymentLogLevel;
(function(WorkerDeploymentLogLevel) {
WorkerDeploymentLogLevel["Debug"] = "DEBUG";
WorkerDeploymentLogLevel["Error"] = "ERROR";
WorkerDeploymentLogLevel["Fatal"] = "FATAL";
WorkerDeploymentLogLevel["Info"] = "INFO";
WorkerDeploymentLogLevel["Log"] = "LOG";
WorkerDeploymentLogLevel["Warn"] = "WARN";
})(WorkerDeploymentLogLevel || (WorkerDeploymentLogLevel = {}));
var WorkerLoggerLevel;
(function(WorkerLoggerLevel) {
WorkerLoggerLevel["Debug"] = "DEBUG";
WorkerLoggerLevel["Error"] = "ERROR";
WorkerLoggerLevel["Fatal"] = "FATAL";
WorkerLoggerLevel["Info"] = "INFO";
WorkerLoggerLevel["Trace"] = "TRACE";
WorkerLoggerLevel["Warn"] = "WARN";
})(WorkerLoggerLevel || (WorkerLoggerLevel = {}));
var WorkflowJobStatus;
(function(WorkflowJobStatus) {
WorkflowJobStatus["ActionRequired"] = "ACTION_REQUIRED";
WorkflowJobStatus["Canceled"] = "CANCELED";
WorkflowJobStatus["Failure"] = "FAILURE";
WorkflowJobStatus["InProgress"] = "IN_PROGRESS";
WorkflowJobStatus["New"] = "NEW";
WorkflowJobStatus["PendingCancel"] = "PENDING_CANCEL";
WorkflowJobStatus["Skipped"] = "SKIPPED";
WorkflowJobStatus["Success"] = "SUCCESS";
})(WorkflowJobStatus || (WorkflowJobStatus = {}));
var WorkflowJobType;
(function(WorkflowJobType) {
WorkflowJobType["AppleDeviceRegistrationRequest"] = "APPLE_DEVICE_REGISTRATION_REQUEST";
WorkflowJobType["Build"] = "BUILD";
WorkflowJobType["Custom"] = "CUSTOM";
WorkflowJobType["Deploy"] = "DEPLOY";
WorkflowJobType["GetBuild"] = "GET_BUILD";
WorkflowJobType["MaestroTest"] = "MAESTRO_TEST";
WorkflowJobType["RequireApproval"] = "REQUIRE_APPROVAL";
WorkflowJobType["Submission"] = "SUBMISSION";
WorkflowJobType["Update"] = "UPDATE";
})(WorkflowJobType || (WorkflowJobType = {}));
var WorkflowProjectSourceType;
(function(WorkflowProjectSourceType) {
WorkflowProjectSourceType["Gcs"] = "GCS";
})(WorkflowProjectSourceType || (WorkflowProjectSourceType = {}));
var WorkflowRunStatus;
(function(WorkflowRunStatus) {
WorkflowRunStatus["ActionRequired"] = "ACTION_REQUIRED";
WorkflowRunStatus["Canceled"] = "CANCELED";
WorkflowRunStatus["Failure"] = "FAILURE";
WorkflowRunStatus["InProgress"] = "IN_PROGRESS";
WorkflowRunStatus["New"] = "NEW";
WorkflowRunStatus["PendingCancel"] = "PENDING_CANCEL";
WorkflowRunStatus["Success"] = "SUCCESS";
})(WorkflowRunStatus || (WorkflowRunStatus = {}));
var WorkflowRunTriggerEventType;
(function(WorkflowRunTriggerEventType) {
WorkflowRunTriggerEventType["Github"] = "GITHUB";
WorkflowRunTriggerEventType["Manual"] = "MANUAL";
})(WorkflowRunTriggerEventType || (WorkflowRunTriggerEventType = {}));
//# sourceMappingURL=generated.js.map

4

build/src/prebuild/configureProjectAsync.js

@@ -70,3 +70,3 @@ "use strict";

// Check bundle ID before reading the config because it may mutate the config if the user is prompted to define it.
bundleIdentifier = await (0, _getOrPromptApplicationId.getOrPromptForBundleIdentifier)(projectRoot, exp);
bundleIdentifier = await (0, _getOrPromptApplicationId.getOrPromptForBundleIdentifierAsync)(projectRoot, exp);
}

@@ -76,3 +76,3 @@ let packageName;

// Check package before reading the config because it may mutate the config if the user is prompted to define it.
packageName = await (0, _getOrPromptApplicationId.getOrPromptForPackage)(projectRoot, exp);
packageName = await (0, _getOrPromptApplicationId.getOrPromptForPackageAsync)(projectRoot, exp);
}

@@ -79,0 +79,0 @@ let { exp: config } = await (0, _prebuildConfig().getPrebuildConfigAsync)(projectRoot, {

@@ -21,6 +21,6 @@ "use strict";

if (platforms.includes("android")) {
await (0, _getOrPromptApplicationId.getOrPromptForPackage)(projectRoot);
await (0, _getOrPromptApplicationId.getOrPromptForPackageAsync)(projectRoot);
}
if (platforms.includes("ios")) {
await (0, _getOrPromptApplicationId.getOrPromptForBundleIdentifier)(projectRoot);
await (0, _getOrPromptApplicationId.getOrPromptForBundleIdentifierAsync)(projectRoot);
}

@@ -27,0 +27,0 @@ // Read config again because prompting for bundle id or package name may have mutated the results.

@@ -33,2 +33,3 @@ "use strict";

const _log = require("../log");
const _env = require("../utils/env");
const _errors = require("../utils/errors");

@@ -130,2 +131,6 @@ const _port = require("../utils/port");

}
// If no option is provided, and we are running in Stackblitz, enable tunnel by default
if ((0, _env.envIsWebcontainer)()) {
return "tunnel";
}
return "lan";

@@ -132,0 +137,0 @@ }

@@ -24,2 +24,3 @@ "use strict";

const _asyncNgrok = require("./AsyncNgrok");
const _asyncWsTunnel = require("./AsyncWsTunnel");
const _devToolsPluginManager = /*#__PURE__*/ _interopRequireDefault(require("./DevToolsPluginManager"));

@@ -87,3 +88,3 @@ const _developmentSession = require("./DevelopmentSession");

this.platformBundlers = platformBundlers;
this.ngrok = null;
this.tunnel = null;
this.devSession = null;

@@ -169,2 +170,4 @@ this.instance = null;

await this._startTunnelAsync();
} else if ((0, _env.envIsWebcontainer)()) {
await this._startTunnelAsync();
}

@@ -186,6 +189,6 @@ if (!options.isExporting) {

if (!port) return null;
debug("[ngrok] connect to port: " + port);
this.ngrok = new _asyncNgrok.AsyncNgrok(this.projectRoot, port);
await this.ngrok.startAsync();
return this.ngrok;
debug("[tunnel] connect to port: " + port);
this.tunnel = (0, _env.envIsWebcontainer)() ? new _asyncWsTunnel.AsyncWsTunnel(this.projectRoot, port) : new _asyncNgrok.AsyncNgrok(this.projectRoot, port);
await this.tunnel.startAsync();
return this.tunnel;
}

@@ -229,5 +232,5 @@ async startDevSessionAsync() {

await ((ref1 = this.devSession) == null ? void 0 : ref1.closeAsync());
// Stop ngrok if running.
await ((ref2 = this.ngrok) == null ? void 0 : ref2.stopAsync().catch((e)=>{
_log.error(`Error stopping ngrok:`);
// Stop tunnel if running.
await ((ref2 = this.tunnel) == null ? void 0 : ref2.stopAsync().catch((e)=>{
_log.error(`Error stopping tunnel:`);
_log.exception(e);

@@ -288,2 +291,6 @@ }));

}
// If we have an active WS tunnel instance, we always need to return the tunnel location.
if (this.tunnel && this.tunnel instanceof _asyncWsTunnel.AsyncWsTunnel) {
return this.getUrlCreator().constructUrl();
}
const { location } = instance;

@@ -310,5 +317,5 @@ if (options.hostType === "localhost") {

}
/** Get the tunnel URL from ngrok. */ getTunnelUrl() {
/** Get the tunnel URL from the tunnel. */ getTunnelUrl() {
var ref;
return ((ref = this.ngrok) == null ? void 0 : ref.getActiveUrl()) ?? null;
return ((ref = this.tunnel) == null ? void 0 : ref.getActiveUrl()) ?? null;
}

@@ -315,0 +322,0 @@ /** Open the dev server in a runtime. */ async openPlatformAsync(launchTarget, resolver = {}) {

@@ -5,5 +5,11 @@ "use strict";

});
Object.defineProperty(exports, "env", {
enumerable: true,
get: ()=>env
function _export(target, all) {
for(var name in all)Object.defineProperty(target, name, {
enumerable: true,
get: all[name]
});
}
_export(exports, {
env: ()=>env,
envIsWebcontainer: ()=>envIsWebcontainer
});

@@ -17,2 +23,14 @@ function _getenv() {

}
function _nodeProcess() {
const data = /*#__PURE__*/ _interopRequireDefault(require("node:process"));
_nodeProcess = function() {
return data;
};
return data;
}
function _interopRequireDefault(obj) {
return obj && obj.__esModule ? obj : {
default: obj
};
}
// @expo/webpack-config -> expo-pwa -> @expo/image-utils: EXPO_IMAGE_UTILS_NO_SHARP

@@ -121,3 +139,3 @@ // TODO: EXPO_CLI_USERNAME, EXPO_CLI_PASSWORD

*/ get HTTP_PROXY() {
return process.env.HTTP_PROXY || process.env.http_proxy || "";
return _nodeProcess().default.env.HTTP_PROXY || _nodeProcess().default.env.http_proxy || "";
}

@@ -189,8 +207,15 @@ /**

// Default to disabling when running in a web container (stackblitz, bolt, etc).
const isWebContainer = process.versions.webcontainer != null;
const isWebContainer = _nodeProcess().default.versions.webcontainer != null;
return (0, _getenv().boolish)("EXPO_NO_DEPENDENCY_VALIDATION", isWebContainer);
}
/** Force Expo CLI to run in webcontainer mode, this has impact on which URL Expo is using by default */ get EXPO_FORCE_WEBCONTAINER_ENV() {
return (0, _getenv().boolish)("EXPO_FORCE_WEBCONTAINER_ENV", false);
}
}
const env = new Env();
function envIsWebcontainer() {
// See: https://github.com/unjs/std-env/blob/4b1e03c4efce58249858efc2cc5f5eac727d0adb/src/providers.ts#L134-L143
return env.EXPO_FORCE_WEBCONTAINER_ENV || _nodeProcess().default.env.SHELL === "/bin/jsh" && !!_nodeProcess().default.versions.webcontainer;
}
//# sourceMappingURL=env.js.map

@@ -12,5 +12,12 @@ "use strict";

_export(exports, {
getOrPromptForBundleIdentifier: ()=>getOrPromptForBundleIdentifier,
getOrPromptForPackage: ()=>getOrPromptForPackage
getOrPromptForBundleIdentifierAsync: ()=>getOrPromptForBundleIdentifierAsync,
getOrPromptForPackageAsync: ()=>getOrPromptForPackageAsync
});
function _graphqlWeb() {
const data = require("@0no-co/graphql.web");
_graphqlWeb = function() {
return data;
};
return data;
}
function _config() {

@@ -23,2 +30,9 @@ const data = require("@expo/config");

}
function _core() {
const data = require("@urql/core");
_core = function() {
return data;
};
return data;
}
function _chalk() {

@@ -36,4 +50,4 @@ const data = /*#__PURE__*/ _interopRequireDefault(require("chalk"));

const _validateApplicationId = require("./validateApplicationId");
const _appQuery = require("../api/graphql/queries/AppQuery");
const _log = /*#__PURE__*/ _interopRequireWildcard(require("../log"));
const _getAccountUsername = require("./getAccountUsername");
function _interopRequireDefault(obj) {

@@ -84,9 +98,21 @@ return obj && obj.__esModule ? obj : {

const debug = require("debug")("expo:app-id");
function getExpoUsername(exp) {
// Account for if the environment variable was an empty string.
return (0, _getAccountUsername.getAccountUsername)(exp) || "anonymous";
async function getRecommendedReverseDomainNameSecondPartAsync(exp) {
var ref, ref1;
const easProjectId = (ref = exp.extra) == null ? void 0 : (ref1 = ref.eas) == null ? void 0 : ref1.projectId;
if (!easProjectId) {
return null;
}
try {
const app = await _appQuery.AppQuery.byIdAsync(easProjectId);
return app.ownerAccount.name;
} catch (e) {
if (e instanceof _graphqlWeb().GraphQLError || e instanceof _core().CombinedError) {
return null;
}
throw e;
}
}
const NO_BUNDLE_ID_MESSAGE = `Project must have a \`ios.bundleIdentifier\` set in the Expo config (app.json or app.config.js).`;
const NO_PACKAGE_MESSAGE = `Project must have a \`android.package\` set in the Expo config (app.json or app.config.js).`;
async function getOrPromptForBundleIdentifier(projectRoot, exp = (0, _config().getConfig)(projectRoot).exp) {
async function getOrPromptForBundleIdentifierAsync(projectRoot, exp = (0, _config().getConfig)(projectRoot).exp) {
var ref;

@@ -98,3 +124,3 @@ const current = (ref = exp.ios) == null ? void 0 : ref.bundleIdentifier;

}
return promptForBundleIdWithInitialAsync(projectRoot, exp, getRecommendedBundleId(exp));
return promptForBundleIdWithInitialAsync(projectRoot, exp, await getRecommendedBundleIdAsync(exp));
}

@@ -153,4 +179,4 @@ const memoLog = (0, _fn.memoize)(_log.log);

}
// Recommend a bundle identifier based on the username and project slug.
function getRecommendedBundleId(exp) {
// Recommend a bundle identifier based on the account name of the owner of the project and project slug.
async function getRecommendedBundleIdAsync(exp) {
var ref;

@@ -162,6 +188,10 @@ const possibleIdFromAndroid = ((ref = exp.android) == null ? void 0 : ref.package) ? (0, _validateApplicationId.getSanitizedBundleIdentifier)(exp.android.package) : undefined;

} else {
const username = getExpoUsername(exp);
const possibleId = (0, _validateApplicationId.getSanitizedBundleIdentifier)(`com.${username}.${exp.slug}`);
if ((0, _validateApplicationId.validateBundleId)(possibleId)) {
return possibleId;
const recommendedReverseDomainNameSecondPart = await getRecommendedReverseDomainNameSecondPartAsync(exp);
if (recommendedReverseDomainNameSecondPart) {
const possibleId = (0, _validateApplicationId.getSanitizedBundleIdentifier)(`com.${recommendedReverseDomainNameSecondPart}.${exp.slug}`);
if ((0, _validateApplicationId.validateBundleId)(possibleId)) {
return possibleId;
}
} else {
debug("Could not generate recommended name from EAS");
}

@@ -171,4 +201,4 @@ }

}
// Recommend a package name based on the username and project slug.
function getRecommendedPackageName(exp) {
// Recommend a package name based on the account name of the owner of the project and project slug.
async function getRecommendedPackageNameAsync(exp) {
var ref;

@@ -180,8 +210,12 @@ const possibleIdFromApple = ((ref = exp.ios) == null ? void 0 : ref.bundleIdentifier) ? (0, _validateApplicationId.getSanitizedPackage)(exp.ios.bundleIdentifier) : undefined;

} else {
const username = getExpoUsername(exp);
const possibleId = (0, _validateApplicationId.getSanitizedPackage)(`com.${username}.${exp.slug}`);
if ((0, _validateApplicationId.validatePackage)(possibleId)) {
return possibleId;
const recommendedReverseDomainNameSecondPart = await getRecommendedReverseDomainNameSecondPartAsync(exp);
if (recommendedReverseDomainNameSecondPart) {
const possibleId = (0, _validateApplicationId.getSanitizedPackage)(`com.${recommendedReverseDomainNameSecondPart}.${exp.slug}`);
if ((0, _validateApplicationId.validatePackage)(possibleId)) {
return possibleId;
} else {
debug(`Recommended package name is invalid: "${possibleId}" (owner: ${recommendedReverseDomainNameSecondPart}, slug: ${exp.slug})`);
}
} else {
debug(`Recommended package name is invalid: "${possibleId}" (username: ${username}, slug: ${exp.slug})`);
debug("Could not generate recommended name from EAS");
}

@@ -191,3 +225,3 @@ }

}
async function getOrPromptForPackage(projectRoot, exp = (0, _config().getConfig)(projectRoot).exp) {
async function getOrPromptForPackageAsync(projectRoot, exp = (0, _config().getConfig)(projectRoot).exp) {
var ref;

@@ -201,4 +235,4 @@ const current = (ref = exp.android) == null ? void 0 : ref.package;

}
function promptForPackageAsync(projectRoot, exp) {
return promptForPackageWithInitialAsync(projectRoot, exp, getRecommendedPackageName(exp));
async function promptForPackageAsync(projectRoot, exp) {
return promptForPackageWithInitialAsync(projectRoot, exp, await getRecommendedPackageNameAsync(exp));
}

@@ -205,0 +239,0 @@ async function promptForPackageWithInitialAsync(projectRoot, exp, packageName) {

@@ -34,3 +34,3 @@ "use strict";

"content-type": "application/json",
"user-agent": `expo-cli/${"1.0.0-canary-20250131-5c4e588"}`,
"user-agent": `expo-cli/${"1.0.0-canary-20250207-8bc5146"}`,
authorization: "Basic " + _nodeBuffer().Buffer.from(`${target}:`).toString("base64")

@@ -37,0 +37,0 @@ };

@@ -82,3 +82,3 @@ "use strict";

name: "expo/cli",
version: "1.0.0-canary-20250131-5c4e588"
version: "1.0.0-canary-20250207-8bc5146"
},

@@ -85,0 +85,0 @@ ci: _ciInfo().isCI ? {

{
"name": "@expo/cli",
"version": "1.0.0-canary-20250131-5c4e588",
"version": "1.0.0-canary-20250207-8bc5146",
"description": "The Expo CLI",

@@ -45,15 +45,16 @@ "main": "build/bin/cli",

"@expo/code-signing-certificates": "^0.0.5",
"@expo/config": "11.0.0-canary-20250131-5c4e588",
"@expo/config-plugins": "9.0.15-canary-20250131-5c4e588",
"@expo/config": "11.0.0-canary-20250207-8bc5146",
"@expo/config-plugins": "9.0.16-canary-20250207-8bc5146",
"@expo/devcert": "^1.1.2",
"@expo/env": "1.0.1-canary-20250131-5c4e588",
"@expo/image-utils": "0.6.5-canary-20250131-5c4e588",
"@expo/json-file": "9.0.2-canary-20250131-5c4e588",
"@expo/metro-config": "0.20.0-canary-20250131-5c4e588",
"@expo/osascript": "2.1.6-canary-20250131-5c4e588",
"@expo/package-manager": "1.8.0-canary-20250131-5c4e588",
"@expo/plist": "0.2.2-canary-20250131-5c4e588",
"@expo/prebuild-config": "8.0.26-canary-20250131-5c4e588",
"@expo/env": "1.0.1-canary-20250207-8bc5146",
"@expo/image-utils": "0.6.5-canary-20250207-8bc5146",
"@expo/json-file": "9.0.2-canary-20250207-8bc5146",
"@expo/metro-config": "0.20.0-canary-20250207-8bc5146",
"@expo/osascript": "2.1.6-canary-20250207-8bc5146",
"@expo/package-manager": "1.8.0-canary-20250207-8bc5146",
"@expo/plist": "0.2.2-canary-20250207-8bc5146",
"@expo/prebuild-config": "8.0.27-canary-20250207-8bc5146",
"@expo/rudder-sdk-node": "^1.1.1",
"@expo/spawn-async": "^1.7.2",
"@expo/ws-tunnel": "^1.0.1",
"@expo/xcpretty": "^4.3.0",

@@ -123,3 +124,3 @@ "@react-native/dev-middleware": "0.76.5",

"@expo/ngrok": "4.1.3",
"@expo/server": "0.5.2-canary-20250131-5c4e588",
"@expo/server": "0.5.2-canary-20250207-8bc5146",
"@graphql-codegen/cli": "^2.16.3",

@@ -159,3 +160,3 @@ "@graphql-codegen/typescript": "^2.8.7",

"expo-atlas": "^0.4.0",
"expo-module-scripts": "4.0.4-canary-20250131-5c4e588",
"expo-module-scripts": "4.0.4-canary-20250207-8bc5146",
"find-process": "^1.4.7",

@@ -172,3 +173,4 @@ "jest-runner-tsd": "^6.0.0",

"tsd": "^0.28.1"
}
},
"gitHead": "8bc5146852ccd7033138bac9ef8d3c41ae85a211"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc