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

react-avatar-edit

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-avatar-edit - npm Package Compare versions

Comparing version 0.5.3 to 0.5.4

docs/bundle.js

4

example/app.jsx

@@ -9,3 +9,3 @@ import React from 'react'

super(props)
const src = './example/einshtein.jpg'
const src = SOURCE_PATH + '/einshtein.jpg'
this.state = {

@@ -44,3 +44,3 @@ preview: null,

<div className="col-8">
<img src="./example/user.png" alt="" style={{ marginTop: '3px', marginRight: '15px', float: 'left', width: '36px', height: '36px'}}/>
<img src={SOURCE_PATH + '/user.png'} alt="" style={{ marginTop: '3px', marginRight: '15px', float: 'left', width: '36px', height: '36px'}}/>
<h1 style={{ marginTop: '3px', color: 'white', fontWeight: 300, fontSize: '2rem'}}>React avatar editor</h1>

@@ -47,0 +47,0 @@ </div>

{
"name": "react-avatar-edit",
"version": "0.5.3",
"version": "0.5.4",
"description": "ReactJS component to upload, crop, and preview avatars",

@@ -8,3 +8,4 @@ "main": "src/avatar.jsx",

"start": "webpack-dev-server --open --config webpack.dev.js",
"build": "webpack --config webpack.prod.js --optimize-minimize"
"build": "webpack --config webpack.prod.js --optimize-minimize",
"build:example": "webpack --config webpack.example.js --optimize-minimize"
},

@@ -11,0 +12,0 @@ "repository": {

@@ -24,3 +24,6 @@ const path = require('path')

plugins: [
HtmlWebpackPluginConfig
HtmlWebpackPluginConfig,
new webpack.DefinePlugin({
SOURCE_PATH: JSON.stringify('./docs')
})
],

@@ -27,0 +30,0 @@

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