Socket
Socket
Sign inDemoInstall

react-pencil

Package Overview
Dependencies
21
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.3 to 1.0.4

3

dist/react-pencil.js

@@ -286,3 +286,4 @@ 'use strict';

key: 'finishEdit',
value: function finishEdit(newValue) {
value: function finishEdit() {
var newValue = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';
var _props3 = this.props,

@@ -289,0 +290,0 @@ value = _props3.value,

{
"name": "react-pencil",
"version": "1.0.3",
"version": "1.0.4",
"description": "A React component that allows single and multiline in-place edits.",

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

@@ -199,3 +199,3 @@ import React from 'react';

finishEdit(newValue) {
finishEdit(newValue = '') {
const {value, name, multiline} = this.props;

@@ -202,0 +202,0 @@ newValue = newValue.trim();

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with โšก๏ธ by Socket Inc