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

react-native-fit-image

Package Overview
Dependencies
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-fit-image - npm Package Compare versions

Comparing version 1.4.3 to 1.4.4

12

dist/FitImage.js

@@ -141,3 +141,7 @@ Object.defineProperty(exports,"__esModule",{value:true});var _jsxFileName='src/FitImage.js';var _createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;if("value" in descriptor)descriptor.writable=true;Object.defineProperty(target,descriptor.key,descriptor);}}return function(Constructor,protoProps,staticProps){if(protoProps)defineProperties(Constructor.prototype,protoProps);if(staticProps)defineProperties(Constructor,staticProps);return Constructor;};}();var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source){if(Object.prototype.hasOwnProperty.call(source,key)){target[key]=source[key];}}}return target;};var _react=require('react');var _react2=_interopRequireDefault(_react);

return (
_react2.default.createElement(_reactNative.Image,_extends({
_react2.default.createElement(_reactNative.Image,_extends({},
this.props,{
onLayout:this.resize,
onLoad:function onLoad(){_this3.setState({isLoading:false});},
onLoadStart:function onLoadStart(){_this3.setState({isLoading:true});},
source:this.props.source,

@@ -148,8 +152,4 @@ style:[

{height:this.state.height},
styles.container],
styles.container],__source:{fileName:_jsxFileName,lineNumber:141}}),
onLayout:this.resize,
onLoad:function onLoad(){_this3.setState({isLoading:false});},
onLoadStart:function onLoadStart(){_this3.setState({isLoading:true});}},
this.props,{__source:{fileName:_jsxFileName,lineNumber:141}}),

@@ -156,0 +156,0 @@ this.renderChildren()));}}]);return FitImage;}(_reactNative.Image);

{
"name": "react-native-fit-image",
"version": "1.4.3",
"version": "1.4.4",
"description": "Responsive image component to fit perfectly itself.",

@@ -5,0 +5,0 @@ "main": "dist/FitImage.js",

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