Socket
Socket
Sign inDemoInstall

ghost-payment-service

Package Overview
Dependencies
Maintainers
3
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ghost-payment-service - npm Package Compare versions

Comparing version 1.2.4 to 1.2.5

2

lib/authorizeNet/schemata.js

@@ -33,3 +33,3 @@ const Joi = require('joi');

Schemata.creditCard = {
number: Joi.string().creditCard().required().error(new Error('Invalid credit card number.')),
number: Joi.string().regex(/^\d+$/).required().error(new Error('Invalid credit card number.')),
exp_year: Joi.string().regex(/^[12][0-9]{3}$/).error(new Error('Invalid expiration year.')),

@@ -36,0 +36,0 @@ exp_month: Joi.string().regex(/^(0?[1-9]|1[012])$/).required().error(new Error('Invalid expiration month.')),

{
"name": "ghost-payment-service",
"version": "1.2.4",
"version": "1.2.5",
"description": "nodejs client to interact with the authorize.net & stripe apis",

@@ -5,0 +5,0 @@ "main": "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