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

@expo/fingerprint

Package Overview
Dependencies
Maintainers
25
Versions
73
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@expo/fingerprint - npm Package Compare versions

Comparing version 0.10.1 to 0.10.2

18

build/Config.js

@@ -18,4 +18,7 @@ "use strict";

async function loadConfigAsync(projectRoot, silent = false) {
const configFile = await resolveConfigFileAsync(projectRoot);
if (!configFile) {
let configFile;
try {
configFile = await resolveConfigFileAsync(projectRoot);
}
catch {
return null;

@@ -55,10 +58,9 @@ }

async function resolveConfigFileAsync(projectRoot) {
return await Promise.race(CONFIG_FILES.map(async (file) => {
return await Promise.any(CONFIG_FILES.map(async (file) => {
const configPath = path_1.default.resolve(projectRoot, file);
try {
const stat = await promises_1.default.stat(configPath);
return stat.isFile() ? configPath : null;
const stat = await promises_1.default.stat(configPath);
if (!stat.isFile()) {
throw new Error(`Config file is not a file: ${configPath}`);
}
catch { }
return null;
return configPath;
}));

@@ -65,0 +67,0 @@ }

{
"name": "@expo/fingerprint",
"version": "0.10.1",
"version": "0.10.2",
"description": "A library to generate a fingerprint from a React Native project",

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

},
"gitHead": "d8434a8d6017606a9cc92f179c4cfd8ce5aa7f36"
"gitHead": "c36230e565489a9bbc214704b48a4b266520d157"
}

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