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

payment

Package Overview
Dependencies
Maintainers
1
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

payment - npm Package Compare versions

Comparing version 2.2.0 to 2.2.1

2

bower.json
{
"name": "payment",
"version": "2.2.0",
"version": "2.2.1",
"main": "dist/payment.js"
}

@@ -229,12 +229,8 @@ var payment =

upperLength = upperLengths[i];
if (length > upperLength && upperLengths[i + 1]) {
if (length >= upperLength && upperLengths[i + 1]) {
continue;
}
if (length > upperLength) {
if (length >= upperLength) {
return;
}
if (length === upperLength) {
QJ.val(target, value + digit);
return;
}
}

@@ -253,6 +249,2 @@ if (hasTextSelected(target)) {

return QJ.trigger(target, 'change');
} else if (re.test(value + digit)) {
e.preventDefault();
QJ.val(target, value + digit + ' ');
return QJ.trigger(target, 'change');
}

@@ -259,0 +251,0 @@ };

@@ -184,12 +184,8 @@ // Generated by CoffeeScript 1.10.0

upperLength = upperLengths[i];
if (length > upperLength && upperLengths[i + 1]) {
if (length >= upperLength && upperLengths[i + 1]) {
continue;
}
if (length > upperLength) {
if (length >= upperLength) {
return;
}
if (length === upperLength) {
QJ.val(target, value + digit);
return;
}
}

@@ -208,6 +204,2 @@ if (hasTextSelected(target)) {

return QJ.trigger(target, 'change');
} else if (re.test(value + digit)) {
e.preventDefault();
QJ.val(target, value + digit + ' ');
return QJ.trigger(target, 'change');
}

@@ -214,0 +206,0 @@ };

{
"name": "payment",
"version": "2.2.0",
"version": "2.2.1",
"description": "A general purpose library for building credit card forms, validating inputs and formatting numbers. Base on jquery.payment by @stripe, but without the jQuery.",

@@ -5,0 +5,0 @@ "keywords": [

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