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

rikimaru09-react-image-picker

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rikimaru09-react-image-picker - npm Package Compare versions

Comparing version 1.1.6 to 1.1.7

2

package.json
{
"name": "rikimaru09-react-image-picker",
"version": "1.1.6",
"version": "1.1.7",
"description": "Picks images from gallery",

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

@@ -9,2 +9,3 @@ import React, { Component } from 'react'

import img4 from './assets/images/kitten/203.jpg'
import { Map } from 'immutable';

@@ -38,2 +39,3 @@ const imageList = [img1, img2, img3, img4]

onPick={this.onPickImage.bind(this)}
picked={Map().set(0, '0e1abaf656c3367fc89f628f0d52ad11.jpg')}
/>

@@ -40,0 +42,0 @@ <textarea rows="4" cols="100" value={this.state.image && JSON.stringify(this.state.image)} disabled/>

@@ -18,2 +18,8 @@ import React, { Component } from 'react';

componentWillReceiveProps(nextProps) {
if(this.props.picked.get(0) !== nextProps.picked.get(0)) {
this.setState({picked: nextProps.picked});
}
}
handleImageClick(image) {

@@ -20,0 +26,0 @@ const { multiple, onPick } = this.props

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