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

spemailhandler

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

spemailhandler - npm Package Compare versions

Comparing version 1.0.4 to 1.1.0

.github/dependabot.yml

7

dist/index.js

@@ -90,6 +90,11 @@ "use strict";

const name = nameElement?.value || "";
const turnstileInput = document.getElementsByName(
"cf-turnstile-response"
)[0];
const turnstileToken = turnstileInput?.value || "";
const data = {
name,
email,
message
message,
turnstileToken
};

@@ -96,0 +101,0 @@ this.sendMessage(data);

2

package.json
{
"name": "spemailhandler",
"version": "1.0.4",
"version": "1.1.0",
"description": "A script to handle the interaction between a Bootstrap-based contact form and the server, handling form submission and feedback.",

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

@@ -116,2 +116,7 @@ import "bootstrap";

const turnstileInput = document.getElementsByName(
"cf-turnstile-response",
)[0] as HTMLInputElement | null;
const turnstileToken = turnstileInput?.value || "";
const data = {

@@ -121,2 +126,3 @@ name,

message,
turnstileToken,
};

@@ -123,0 +129,0 @@

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