New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@cuvent/react-native-fast-image

Package Overview
Dependencies
Maintainers
2
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cuvent/react-native-fast-image - npm Package Compare versions

Comparing version 8.4.2 to 8.4.3

8

dist/index.cjs.js

@@ -14,2 +14,3 @@ 'use strict';

const FastImageViewNativeModule = reactNative.NativeModules.FastImageView;
function findBorderRadius(style) {

@@ -27,5 +28,2 @@ if (Array.isArray(style)) {

}
const FastImageViewNativeModule = reactNative.NativeModules.FastImageView;
const findBorderRadius$1 = findBorderRadius;
const resizeMode = {

@@ -83,3 +81,3 @@ contain: 'contain',

const borderRadius = Math.round(reactNative.PixelRatio.getPixelSizeForLayoutSize((_findBorderRadius = findBorderRadius$1(style)) !== null && _findBorderRadius !== void 0 ? _findBorderRadius : 0));
const borderRadius = Math.round(reactNative.PixelRatio.getPixelSizeForLayoutSize((_findBorderRadius = findBorderRadius(style)) !== null && _findBorderRadius !== void 0 ? _findBorderRadius : 0));
const resolvedSource = reactNative.Image.resolveAssetSource(source instanceof Object && borderRadius > 0 ? { ...source,

@@ -173,2 +171,2 @@ borderRadius: borderRadius

exports.default = FastImage;
exports.findBorderRadius = findBorderRadius$1;
exports.findBorderRadius = findBorderRadius;
import React from 'react';
import { FlexStyle, LayoutChangeEvent, ShadowStyleIOS, StyleProp, TransformsStyle, ViewProps, ImageResolvedAssetSource } from 'react-native';
import * as utilities from './utilities';
export declare type ResizeMode = 'contain' | 'cover' | 'stretch' | 'center';
export declare const findBorderRadius: typeof utilities.findBorderRadius;
export declare function findBorderRadius(style: unknown): number | undefined;
export declare type Priority = 'low' | 'normal' | 'high';

@@ -7,0 +6,0 @@ declare type Cache = 'immutable' | 'web' | 'cacheOnly';

@@ -5,2 +5,3 @@ import _extends from '@babel/runtime/helpers/extends';

const FastImageViewNativeModule = NativeModules.FastImageView;
function findBorderRadius(style) {

@@ -18,5 +19,2 @@ if (Array.isArray(style)) {

}
const FastImageViewNativeModule = NativeModules.FastImageView;
const findBorderRadius$1 = findBorderRadius;
const resizeMode = {

@@ -74,3 +72,3 @@ contain: 'contain',

const borderRadius = Math.round(PixelRatio.getPixelSizeForLayoutSize((_findBorderRadius = findBorderRadius$1(style)) !== null && _findBorderRadius !== void 0 ? _findBorderRadius : 0));
const borderRadius = Math.round(PixelRatio.getPixelSizeForLayoutSize((_findBorderRadius = findBorderRadius(style)) !== null && _findBorderRadius !== void 0 ? _findBorderRadius : 0));
const resolvedSource = Image.resolveAssetSource(source instanceof Object && borderRadius > 0 ? { ...source,

@@ -164,2 +162,2 @@ borderRadius: borderRadius

export default FastImage;
export { findBorderRadius$1 as findBorderRadius };
export { findBorderRadius };
{
"name": "@cuvent/react-native-fast-image",
"version": "8.4.2",
"version": "8.4.3",
"description": "🚩 FastImage, performant React Native image component. Cuvent fork.",

@@ -5,0 +5,0 @@ "keywords": [

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