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

@expo/config

Package Overview
Dependencies
Maintainers
20
Versions
241
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 2.4.0 to 2.5.0

paths/index.d.ts

6

build/Config.d.ts

@@ -6,7 +6,2 @@ import { JSONObject } from '@expo/json-file';

export declare function fileExists(file: string): boolean;
export declare function findConfigFileAsync(projectRoot: string): Promise<{
configPath: string;
configName: string;
configNamespace: 'expo';
}>;
export declare function findConfigFile(projectRoot: string): {

@@ -17,3 +12,2 @@ configPath: string;

};
export declare function configFilenameAsync(projectRoot: string): Promise<string>;
export declare function configFilename(projectRoot: string): string;

@@ -20,0 +14,0 @@ export declare function readExpRcAsync(projectRoot: string): Promise<ExpRc>;

17

build/Config.js

@@ -37,3 +37,4 @@ "use strict";

const DEFAULT_DISPLAY = 'standalone';
const DEFAULT_STATUS_BAR = 'default';
// Enable full-screen iOS PWAs
const DEFAULT_STATUS_BAR = 'black-translucent';
const DEFAULT_LANG_DIR = 'auto';

@@ -74,9 +75,2 @@ const DEFAULT_ORIENTATION = 'any';

exports.fileExists = fileExists;
// DEPRECATED: Use findConfigFile
function findConfigFileAsync(projectRoot) {
return __awaiter(this, void 0, void 0, function* () {
return findConfigFile(projectRoot);
});
}
exports.findConfigFileAsync = findConfigFileAsync;
function findConfigFile(projectRoot) {

@@ -93,9 +87,2 @@ let configPath;

exports.findConfigFile = findConfigFile;
// DEPRECATED: Use configFilename
function configFilenameAsync(projectRoot) {
return __awaiter(this, void 0, void 0, function* () {
return findConfigFile(projectRoot).configName;
});
}
exports.configFilenameAsync = configFilenameAsync;
function configFilename(projectRoot) {

@@ -102,0 +89,0 @@ return findConfigFile(projectRoot).configName;

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

for (const workflow of [...workflows, '']) {
// Support both TypeScript and JavaScript
for (const extension of extensions) {
// Ensure order is correct: [platformA.js, platformB.js, js]
for (const platform of [...platforms, '']) {
// Ensure order is correct: [platformA.js, platformB.js, js]
for (const platform of [...platforms, '']) {
// Support both TypeScript and JavaScript
for (const extension of extensions) {
fileExtensions.push([platform, workflow, extension].filter(Boolean).join('.'));

@@ -21,0 +21,0 @@ }

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

@@ -43,3 +43,4 @@ "main": "build/Config.js",

"files": [
"build"
"build",
"paths"
],

@@ -46,0 +47,0 @@ "dependencies": {

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