expo-modules-core
Advanced tools
Comparing version 2.0.0-preview.8 to 2.0.0-preview.9
@@ -50,2 +50,18 @@ import type { EventEmitter } from './EventEmitter'; | ||
}; | ||
export interface ExpoProcess { | ||
env: { | ||
NODE_ENV: string; | ||
/** Used in `@expo/metro-runtime`. */ | ||
EXPO_DEV_SERVER_ORIGIN?: string; | ||
EXPO_ROUTER_IMPORT_MODE?: string; | ||
EXPO_ROUTER_ABS_APP_ROOT?: string; | ||
EXPO_ROUTER_APP_ROOT?: string; | ||
/** Maps to the `experiments.baseUrl` property in the project Expo config. This is injected by `babel-preset-expo` and supports automatic cache invalidation. */ | ||
EXPO_BASE_URL?: string; | ||
/** Build-time representation of the `Platform.OS` value that the current JavaScript was bundled for. Does not support platform shaking wrapped require statements. */ | ||
EXPO_OS?: string; | ||
[key: string]: any; | ||
}; | ||
[key: string]: any; | ||
} | ||
declare global { | ||
@@ -57,20 +73,5 @@ /** | ||
var expo: ExpoGlobal; | ||
const process: { | ||
env: { | ||
NODE_ENV: string; | ||
/** Used in `@expo/metro-runtime`. */ | ||
EXPO_DEV_SERVER_ORIGIN?: string; | ||
EXPO_ROUTER_IMPORT_MODE?: string; | ||
EXPO_ROUTER_ABS_APP_ROOT?: string; | ||
EXPO_ROUTER_APP_ROOT?: string; | ||
/** Maps to the `experiments.baseUrl` property in the project Expo config. This is injected by `babel-preset-expo` and supports automatic cache invalidation. */ | ||
EXPO_BASE_URL?: string; | ||
/** Build-time representation of the `Platform.OS` value that the current JavaScript was bundled for. Does not support platform shaking wrapped require statements. */ | ||
EXPO_OS?: string; | ||
[key: string]: any; | ||
}; | ||
[key: string]: any; | ||
}; | ||
var process: ExpoProcess; | ||
} | ||
export {}; | ||
//# sourceMappingURL=global.d.ts.map |
{ | ||
"name": "expo-modules-core", | ||
"version": "2.0.0-preview.8", | ||
"version": "2.0.0-preview.9", | ||
"description": "The core of Expo Modules architecture", | ||
@@ -47,3 +47,3 @@ "main": "src/index.ts", | ||
}, | ||
"gitHead": "1f7a56b5a5bcef23ac6e55b16db53077f6a4065c" | ||
"gitHead": "a1e9c35ea13fa802878d5f3132a25174a4a56d35" | ||
} |
@@ -63,2 +63,23 @@ import type { EventEmitter } from './EventEmitter'; | ||
export interface ExpoProcess { | ||
env: { | ||
NODE_ENV: string; | ||
/** Used in `@expo/metro-runtime`. */ | ||
EXPO_DEV_SERVER_ORIGIN?: string; | ||
EXPO_ROUTER_IMPORT_MODE?: string; | ||
EXPO_ROUTER_ABS_APP_ROOT?: string; | ||
EXPO_ROUTER_APP_ROOT?: string; | ||
/** Maps to the `experiments.baseUrl` property in the project Expo config. This is injected by `babel-preset-expo` and supports automatic cache invalidation. */ | ||
EXPO_BASE_URL?: string; | ||
/** Build-time representation of the `Platform.OS` value that the current JavaScript was bundled for. Does not support platform shaking wrapped require statements. */ | ||
EXPO_OS?: string; | ||
[key: string]: any; | ||
}; | ||
[key: string]: any; | ||
} | ||
/* eslint-disable no-var */ | ||
@@ -73,22 +94,3 @@ | ||
const process: { | ||
env: { | ||
NODE_ENV: string; | ||
/** Used in `@expo/metro-runtime`. */ | ||
EXPO_DEV_SERVER_ORIGIN?: string; | ||
EXPO_ROUTER_IMPORT_MODE?: string; | ||
EXPO_ROUTER_ABS_APP_ROOT?: string; | ||
EXPO_ROUTER_APP_ROOT?: string; | ||
/** Maps to the `experiments.baseUrl` property in the project Expo config. This is injected by `babel-preset-expo` and supports automatic cache invalidation. */ | ||
EXPO_BASE_URL?: string; | ||
/** Build-time representation of the `Platform.OS` value that the current JavaScript was bundled for. Does not support platform shaking wrapped require statements. */ | ||
EXPO_OS?: string; | ||
[key: string]: any; | ||
}; | ||
[key: string]: any; | ||
}; | ||
var process: ExpoProcess; | ||
} |
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
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 too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1691008
1968