Latest Threat Research:SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains.Details
Socket
Book a DemoSign in
Socket

@expo/config

Package Overview
Dependencies
Maintainers
10
Versions
357
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@expo/config - npm Package Compare versions

Comparing version
55.0.6
to
55.0.7
+15
-7
build/Config.js

@@ -315,8 +315,13 @@ "use strict";

}
const DYNAMIC_CONFIG_EXTS = ['.ts', '.mts', '.cts', '.mjs', '.cjs', '.js'];
function getDynamicConfigFilePath(projectRoot) {
for (const fileName of ['app.config.ts', 'app.config.js']) {
const fileNames = DYNAMIC_CONFIG_EXTS.map(ext => `app.config${ext}`);
for (const fileName of fileNames) {
const configPath = _path().default.join(projectRoot, fileName);
if (_fs().default.existsSync(configPath)) {
return configPath;
}
try {
const stat = _fs().default.statSync(configPath);
if (stat.isFile()) {
return configPath;
}
} catch {}
}

@@ -328,5 +333,8 @@ return null;

const configPath = _path().default.join(projectRoot, fileName);
if (_fs().default.existsSync(configPath)) {
return configPath;
}
try {
const stat = _fs().default.statSync(configPath);
if (stat.isFile()) {
return configPath;
}
} catch {}
}

@@ -333,0 +341,0 @@ return null;

{
"name": "@expo/config",
"version": "55.0.6",
"version": "55.0.7",
"description": "A library for interacting with the app.json",

@@ -39,3 +39,3 @@ "main": "build/index.js",

"@expo/json-file": "^10.0.12",
"@expo/require-utils": "^55.0.0",
"@expo/require-utils": "^55.0.1",
"deepmerge": "^4.3.1",

@@ -56,3 +56,3 @@ "getenv": "^2.0.0",

},
"gitHead": "aeb65063e482533ed1119f736555bcca5af2af94"
"gitHead": "22e2ad4afba05b91f833f8cf07a36637748a1f70"
}

Sorry, the diff of this file is not supported yet