Socket
Socket
Sign inDemoInstall

@hapi/address

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hapi/address - npm Package Compare versions

Comparing version 2.1.2 to 2.1.3

API.md

2

lib/domain.js

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

nonAsciiRx: /[^\x00-\x7f]/,
domainControlRx: /[\x00-\x20]/, // Control + space
domainControlRx: /[\x00-\x20@:]/, // Control + space
tldSegmentRx: /^[a-zA-Z](?:[a-zA-Z0-9\-]*[a-zA-Z0-9])?$/,

@@ -12,0 +12,0 @@ domainSegmentRx: /^[a-zA-Z0-9](?:[a-zA-Z0-9\-]*[a-zA-Z0-9])?$/,

@@ -0,0 +0,0 @@ 'use strict';

@@ -0,0 +0,0 @@ 'use strict';

{
"name": "@hapi/address",
"description": "Email address and domain validation",
"version": "2.1.2",
"version": "2.1.3",
"repository": "git://github.com/hapijs/address",

@@ -6,0 +6,0 @@ "main": "lib/index.js",

@@ -1,7 +0,16 @@

<a href="http://hapijs.com"><img src="https://raw.githubusercontent.com/hapijs/assets/master/images/family.png" width="180px" align="right" /></a>
<a href="https://hapi.dev"><img src="https://raw.githubusercontent.com/hapijs/assets/master/images/family.png" width="180px" align="right" /></a>
# @hapi/address
Validate email address and domain
#### Validate email address and domain.
[![Build Status](https://secure.travis-ci.org/hapijs/address.svg)](http://travis-ci.org/hapijs/address)
**address** is part of the **hapi** ecosystem and was designed to work seamlessly with the [hapi web framework](https://hapi.dev) and its other components (but works great on its own or with other frameworks). If you are using a different web framework and find this module useful, check out [hapi](https://hapi.dev) � they work even better together.
### Visit the [hapi.dev](https://hapi.dev) Developer Portal for tutorials, documentation, and support
## Useful resources
- [Documentation and API](https://hapi.dev/family/address/)
- [Versions status](https://hapi.dev/resources/status/#address)
- [Project policies](https://hapi.dev/policies/)
- [Free and commercial support options](https://hapi.dev/support/)

@@ -422,3 +422,4 @@ 'use strict';

['255.255.255.255', false],
['XN--UNUP4Y', true, { minDomainSegments: 1 }]
['XN--UNUP4Y', true, { minDomainSegments: 1 }],
['test@example.com', false]
];

@@ -425,0 +426,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