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

@expo/config

Package Overview
Dependencies
Maintainers
25
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 8.0.4 to 8.0.5

6

build/paths/paths.d.ts

@@ -6,7 +6,7 @@ import { ProjectConfig } from '../Config.types';

platform: string;
projectConfig?: Partial<ProjectConfig>;
projectConfig?: ProjectConfig;
}): string | null;
export declare function getEntryPoint(projectRoot: string, entryFiles: string[], platforms: string[], projectConfig?: Partial<ProjectConfig>): string | null;
export declare function getEntryPointWithExtensions(projectRoot: string, entryFiles: string[], extensions: string[], projectConfig?: Partial<ProjectConfig>): string;
export declare function getEntryPoint(projectRoot: string, entryFiles: string[], platforms: string[], projectConfig?: ProjectConfig): string | null;
export declare function getEntryPointWithExtensions(projectRoot: string, entryFiles: string[], extensions: string[], projectConfig?: ProjectConfig): string;
export declare function resolveFromSilentWithExtensions(fromDirectory: string, moduleId: string, extensions: string[]): string | null;
export declare function getFileWithExtensions(fromDirectory: string, moduleId: string, extensions: string[]): string | null;

@@ -41,2 +41,9 @@ "use strict";

}
function _Errors() {
const data = require("../Errors");
_Errors = function () {
return data;
};
return data;
}
function _extensions() {

@@ -92,4 +99,9 @@ const data = require("./extensions");

const {
exp,
pkg
} = projectConfig;
if (typeof (exp === null || exp === void 0 ? void 0 : exp.entryPoint) === 'string') {
// We want to stop reading the app.json for determining the entry file in SDK +49
throw new (_Errors().ConfigError)('expo.entryPoint has been removed in favor of the main field in the package.json.', 'DEPRECATED');
}
if (pkg) {

@@ -96,0 +108,0 @@ // If the config doesn't define a custom entry then we want to look at the `package.json`s `main` field, and try again.

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

@@ -36,4 +36,4 @@ "main": "build/index.js",

"@babel/code-frame": "~7.10.4",
"@expo/config-plugins": "~7.0.0",
"@expo/config-types": "^49.0.0-alpha.1",
"@expo/config-plugins": "~6.0.0",
"@expo/config-types": "^48.0.0",
"@expo/json-file": "^8.2.37",

@@ -54,3 +54,3 @@ "getenv": "^1.0.0",

},
"gitHead": "51f434ef271cece0aadf07f73912eaf11356865c"
"gitHead": "7d75b6c7a0903e3f31e6ade6282f823408382f0d"
}

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