New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

hmpo-form-wizard

Package Overview
Dependencies
Maintainers
2
Versions
102
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hmpo-form-wizard - npm Package Compare versions

Comparing version 11.2.1 to 11.3.0

2

lib/validation/validators.js

@@ -26,3 +26,3 @@ 'use strict';

email(value) {
return value === '' || validators.regex(value, /^[a-z0-9._%+-]+@[a-z0-9.-]+\.[a-z]{2,6}$/i);
return value === '' || validators.regex(value, /^[a-z0-9._%+-]+@([a-z0-9]+([a-z0-9-]*[a-z0-9]+)?\.)+[a-z]{2,6}$/i);
},

@@ -29,0 +29,0 @@

{
"name": "hmpo-form-wizard",
"version": "11.2.1",
"version": "11.3.0",
"description": "Routing and request handling for a multi-step form processes",

@@ -19,3 +19,3 @@ "main": "index.js",

"engines": {
"node": ">=4"
"node": ">=8"
},

@@ -32,3 +32,3 @@ "bugs": {

"hmpo-model": "^2.1.3",
"json5": "^2.1.0",
"json5": "^2.1.1",
"moment": "^2.17.1",

@@ -42,11 +42,11 @@ "underscore": "^1.8.2"

"chai": "^4.1.2",
"eslint": "^5.16.0",
"eslint": "^6.7.1",
"express": "^4.17.1",
"istanbul": "^0.4.3",
"mocha": "^6.2.0",
"proxyquire": "^2.1.1",
"mocha": "^6.2.2",
"proxyquire": "^2.1.3",
"reqres": "^2.0.0",
"sinon": "^7.4.0",
"sinon": "^7.5.0",
"sinon-chai": "^3.0.0"
}
}

@@ -72,3 +72,6 @@ 'use strict';

'test.com@',
'test@test@test.com'
'test@test@test.com',
'test@.example.com',
'test@example-.com',
'test@-.com'
];

@@ -89,3 +92,4 @@ _.each(inputs, i => {

'test+suffix@digital.cabinet-office.gov.uk',
'test.suffix@digital.cabinet-office.gov.uk'
'test.suffix@digital.cabinet-office.gov.uk',
'test@0-0-0-0.0-0-0.com'
];

@@ -92,0 +96,0 @@ _.each(inputs, i => {

Sorry, the diff of this file is not supported yet

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