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

rax-image

Package Overview
Dependencies
Maintainers
7
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.0.0-miniapp.beta.6 to 1.0.0-miniapp.beta.7

7

lib/miniapp/index.js

@@ -19,2 +19,6 @@ import fmtEvent from '../_util/fmtEvent';

var mode = 'aspectFit';
const { width, height } = this.props.source || {};
let style = this.props.style || '';
if (width) style += 'width:' + width + 'rpx;';
if (height) style += 'height:' + height + 'rpx;';

@@ -39,3 +43,4 @@ switch (this.props.resizeMode) {

this.setData({
mode: mode
mode: mode,
style: style
});

@@ -42,0 +47,0 @@ },

2

package.json
{
"name": "rax-image",
"version": "1.0.0-miniapp.beta.6",
"version": "1.0.0-miniapp.beta.7",
"description": "Image component for Rax.",

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

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