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

rc-image

Package Overview
Dependencies
Maintainers
3
Versions
92
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rc-image - npm Package Compare versions

Comparing version 3.0.2 to 3.0.3

4

es/Image.js

@@ -102,3 +102,3 @@ import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";

};
return React.createElement("div", Object.assign({}, otherProps, {
return React.createElement(React.Fragment, null, React.createElement("div", Object.assign({}, otherProps, {
className: className,

@@ -119,3 +119,3 @@ onClick: preview && !isError ? onPreview : onClick,

className: "".concat(prefixCls, "-placeholder")
}, placeholder), preview && !isError && React.createElement(Preview, {
}, placeholder)), preview && !isError && React.createElement(Preview, {
"aria-hidden": !isShowPreview,

@@ -122,0 +122,0 @@ visible: isShowPreview,

@@ -118,3 +118,3 @@ "use strict";

};
return React.createElement("div", Object.assign({}, otherProps, {
return React.createElement(React.Fragment, null, React.createElement("div", Object.assign({}, otherProps, {
className: className,

@@ -135,3 +135,3 @@ onClick: preview && !isError ? onPreview : onClick,

className: "".concat(prefixCls, "-placeholder")
}, placeholder), preview && !isError && React.createElement(_Preview.default, {
}, placeholder)), preview && !isError && React.createElement(_Preview.default, {
"aria-hidden": !isShowPreview,

@@ -138,0 +138,0 @@ visible: isShowPreview,

{
"name": "rc-image",
"version": "3.0.2",
"version": "3.0.3",
"description": "React easy to use image component",

@@ -32,5 +32,3 @@ "keywords": [

"compile": "father build && lessc assets/index.less assets/index.css",
"gh-pages": "npm run build && father doc deploy",
"prepublishOnly": "npm run compile && np --yolo --no-publish",
"postpublish": "npm run gh-pages",
"lint": "eslint src/ --ext .ts,.tsx,.jsx,.js,.md",

@@ -69,4 +67,4 @@ "prettier": "prettier --write \"**/*.{ts,tsx,js,jsx,json,md}\"",

"react-dom": "^16.13.1",
"typescript": "^3.9.7"
"typescript": "^4.0.2"
}
}
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