New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

mailchimp-react

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mailchimp-react - npm Package Compare versions

Comparing version
0.0.3
to
0.0.4
+1
-1
dist/index.js

@@ -109,3 +109,3 @@ (function (global, factory) {

e.preventDefault();
var url = (action + "&" + e.target.value).replace("/post?", "/post-json?");
var url = (action + "&EMAIL=" + email).replace("/post?", "/post-json?");
var regex = /^([\w_\.\-\+])+\@([\w\-]+\.)+([\w]{2,10})+$/;

@@ -112,0 +112,0 @@ !regex.test(email) ? setStatus("empty") : sendData(url);

{
"name": "mailchimp-react",
"version": "0.0.3",
"version": "0.0.4",
"description": "React subscribe field for Mailchimp",

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

@@ -34,3 +34,3 @@ import React, { useState } from "react";

e.preventDefault();
const url = `${action}&${e.target.value}`.replace("/post?", "/post-json?");
const url = `${action}&EMAIL=${email}`.replace("/post?", "/post-json?");
const regex = /^([\w_\.\-\+])+\@([\w\-]+\.)+([\w]{2,10})+$/;

@@ -37,0 +37,0 @@ !regex.test(email) ? setStatus("empty") : sendData(url);