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

@github/auto-check-element

Package Overview
Dependencies
Maintainers
13
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@github/auto-check-element - npm Package Compare versions

Comparing version 5.0.0 to 5.0.1

13

dist/index.esm.js

@@ -66,4 +66,3 @@ function throttle(callback) {

check: checker,
controller: null,
previousValue: null
controller: null
};

@@ -220,9 +219,2 @@ states.set(this, state);

const body = new FormData();
body.append('authenticity_token', csrf);
body.append('value', input.value);
const id = body.entries ? [...body.entries()].sort().toString() : null;
if (id && id === state.previousValue) return;
state.previousValue = id;
if (!input.value.trim()) {

@@ -236,2 +228,5 @@ if (autoCheckElement.required) {

const body = new FormData();
body.append('authenticity_token', csrf);
body.append('value', input.value);
input.dispatchEvent(new CustomEvent('auto-check-send', {

@@ -238,0 +233,0 @@ bubbles: true,

@@ -72,4 +72,3 @@ (function (global, factory) {

check: checker,
controller: null,
previousValue: null
controller: null
};

@@ -226,9 +225,2 @@ states.set(this, state);

const body = new FormData();
body.append('authenticity_token', csrf);
body.append('value', input.value);
const id = body.entries ? [...body.entries()].sort().toString() : null;
if (id && id === state.previousValue) return;
state.previousValue = id;
if (!input.value.trim()) {

@@ -242,2 +234,5 @@ if (autoCheckElement.required) {

const body = new FormData();
body.append('authenticity_token', csrf);
body.append('value', input.value);
input.dispatchEvent(new CustomEvent('auto-check-send', {

@@ -244,0 +239,0 @@ bubbles: true,

{
"name": "@github/auto-check-element",
"version": "5.0.0",
"version": "5.0.1",
"description": "An input element that validates its value with a server endpoint.",

@@ -5,0 +5,0 @@ "repository": "github/auto-check-element",

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