Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

expo-modules-core

Package Overview
Dependencies
Maintainers
27
Versions
200
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

expo-modules-core - npm Package Compare versions

Comparing version 2.1.3 to 2.1.4

ios/AppDelegates/ExpoAppInstance.swift

36

build/ts-declarations/global.d.ts

@@ -50,19 +50,27 @@ import type { EventEmitter } from './EventEmitter';

};
export interface ExpoProcessEnv {
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;
}
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;
};
env: ExpoProcessEnv;
[key: string]: any;
}
declare global {
namespace NodeJS {
interface ProcessEnv extends ExpoProcessEnv {
}
interface Process extends ExpoProcess {
env: ProcessEnv;
}
}
/**

@@ -73,3 +81,3 @@ * Global object containing all the native bindings installed by Expo.

var expo: ExpoGlobal;
var process: ExpoProcess;
var process: NodeJS.Process;
/**

@@ -76,0 +84,0 @@ * ExpoDomWebView is defined in `@expo/dom-webview` runtime.

{
"name": "expo-modules-core",
"version": "2.1.3",
"version": "2.1.4",
"description": "The core of Expo Modules architecture",

@@ -47,3 +47,3 @@ "main": "src/index.ts",

},
"gitHead": "986a4689b91f3efc527f7178a320b987c0005842"
"gitHead": "0a0c6d35a691fc59c0d94675d159ac9e3dfd6f26"
}

@@ -63,26 +63,35 @@ import type { EventEmitter } from './EventEmitter';

export interface ExpoProcess {
env: {
NODE_ENV: string;
/** Used in `@expo/metro-runtime`. */
EXPO_DEV_SERVER_ORIGIN?: string;
export interface ExpoProcessEnv {
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;
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;
/** 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;
/** 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;
}
export interface ExpoProcess {
env: ExpoProcessEnv;
[key: string]: any;
}
/* eslint-disable no-var */
declare global {
namespace NodeJS {
export interface ProcessEnv extends ExpoProcessEnv {}
export interface Process extends ExpoProcess {
env: ProcessEnv;
}
}
/**

@@ -94,4 +103,3 @@ * Global object containing all the native bindings installed by Expo.

// @ts-ignore - Suppress incompatible `NodeJS.Process` type if people include process type from `@types/node`
var process: ExpoProcess;
var process: NodeJS.Process;

@@ -98,0 +106,0 @@ /**

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

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