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

react-multi-email

Package Overview
Dependencies
Maintainers
2
Versions
47
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-multi-email - npm Package Compare versions

Comparing version 0.4.0 to 0.4.1

3

commonjs/ReactMultiEmail.js

@@ -85,5 +85,4 @@ "use strict";

_this.setState(function (prevState) {
prevState.emails.splice(index, 1);
return {
emails: prevState.emails,
emails: prevState.emails.slice(0, index).concat(prevState.emails.slice(index + 1)),
};

@@ -90,0 +89,0 @@ }, function () {

@@ -72,5 +72,7 @@ import * as React from 'react';

this.setState(prevState => {
prevState.emails.splice(index, 1);
return {
emails: prevState.emails,
emails: [
...prevState.emails.slice(0, index),
...prevState.emails.slice(index + 1),
],
};

@@ -77,0 +79,0 @@ }, () => {

{
"name": "react-multi-email",
"version": "0.4.0",
"version": "0.4.1",
"description": "React multi email input",

@@ -5,0 +5,0 @@ "jsnext:main": "es6/index.js",

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