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

@expo/image-utils

Package Overview
Dependencies
Maintainers
28
Versions
105
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@expo/image-utils - npm Package Compare versions

Comparing version 0.5.2-canary-20240927-ab8a962 to 0.6.0-canary-20241008-90b13ad

6

build/Cache.js

@@ -24,3 +24,7 @@ "use strict";

async function createCacheKeyWithDirectoryAsync(projectRoot, type, icon) {
const cacheKey = `${type}-${createCacheKey(icon.src, [icon.resizeMode, icon.backgroundColor])}`;
const iconProperties = [icon.resizeMode];
if (icon.backgroundColor) {
iconProperties.push(icon.backgroundColor);
}
const cacheKey = `${type}-${createCacheKey(icon.src, iconProperties)}`;
if (!(cacheKey in cacheKeys)) {

@@ -27,0 +31,0 @@ cacheKeys[cacheKey] = await ensureCacheDirectory(projectRoot, type, cacheKey);

2

build/Image.types.d.ts

@@ -7,3 +7,3 @@ export type ResizeMode = 'contain' | 'cover' | 'fill' | 'inside' | 'outside';

resizeMode: ResizeMode;
backgroundColor: string;
backgroundColor?: string;
removeTransparency?: boolean;

@@ -10,0 +10,0 @@ width: number;

{
"name": "@expo/image-utils",
"version": "0.5.2-canary-20240927-ab8a962",
"version": "0.6.0-canary-20241008-90b13ad",
"description": "A package used by Expo CLI for processing images",

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

"@types/semver": "^6.0.0",
"expo-module-scripts": "3.6.0-canary-20240927-ab8a962"
"expo-module-scripts": "3.6.0-canary-20241008-90b13ad"
},

@@ -55,3 +55,3 @@ "publishConfig": {

},
"gitHead": "ab8a962d2c3dddbda124a6bd88d24475831dae00"
"gitHead": "90b13ad9d0dd3469556ac776d8b74643375b1d97"
}

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