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

extract-email-address

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

extract-email-address - npm Package Compare versions

Comparing version 1.3.0 to 1.4.0

2

dist/normalizeInput.js

@@ -16,3 +16,3 @@ "use strict";

return input.replace(emojiRegex, ' ').replace(/(?<=\s|^)([a-z0-9.-_@])\s?(?=[a-z0-9.-_@](?:\s|$))/g, '$1').replace(/\s+at\s+/g, '@').replace(/\s+dot\s+/g, '.').replace(/\s*<at>\s*/g, '@').replace(/\s*<dot>\s*/g, '.').replace(/\s*\(at\)\s*/g, '@').replace(/\s*\(dot\)\s*/g, '.').replace(/\s*\[at\]\s*/g, '@').replace(/\s*\[dot\]\s*/g, '.') // Matches all ASCII characters from the space to tilde.
.replace(/[^ -~]/g, ' ').trim();
.replace(/[^ -~]/g, ' ').trim().toLowerCase();
};

@@ -19,0 +19,0 @@

@@ -87,3 +87,3 @@ {

},
"version": "1.3.0"
"version": "1.4.0"
}

@@ -22,3 +22,4 @@ // @flow

.replace(/[^ -~]/g, ' ')
.trim();
.trim()
.toLowerCase();
};

Sorry, the diff of this file is not supported yet

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