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

rax-image

Package Overview
Dependencies
Maintainers
8
Versions
121
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rax-image - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1

12

lib/miniapp/index.js

@@ -19,3 +19,5 @@ "use strict";

lazyLoad: false,
onClick: function onClick() {}
onClick: function onClick(e) {},
onLoad: function onLoad(e) {},
onError: function onError(e) {}
},

@@ -35,2 +37,10 @@ onInit: function onInit() {

},
onLoad: function onLoad(e) {
var event = (0, _fmtEvent.default)(this.props, e);
this.props.onLoad(event);
},
onError: function onError(e) {
var event = (0, _fmtEvent.default)(this.props, e);
this.props.onError(event);
},
initImage: function initImage(e) {

@@ -37,0 +47,0 @@ var mode = 'aspectFit';

2

package.json
{
"name": "rax-image",
"version": "1.1.0",
"version": "1.1.1",
"description": "Image component for Rax.",

@@ -5,0 +5,0 @@ "license": "BSD-3-Clause",

@@ -15,3 +15,5 @@ import fmtEvent from './fmtEvent';

lazyLoad: false,
onClick: function onClick() {}
onClick: e => {},
onLoad: e => {},
onError: e => {}
},

@@ -31,2 +33,10 @@ onInit() {

},
onLoad: function onLoad(e) {
var event = fmtEvent(this.props, e);
this.props.onLoad(event);
},
onError: function onError(e) {
var event = fmtEvent(this.props, e);
this.props.onError(event);
},
initImage: function initImage(e) {

@@ -33,0 +43,0 @@ var mode = 'aspectFit';

Sorry, the diff of this file is not supported yet

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