@mikkelscheike/email-provider-links 3.0.1 → 3.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,6 +1,8 @@
1
1
  # Email Provider Links
2
2
 
3
- 🔒 **Modern email provider detection library with enhanced TypeScript support and enterprise security**
3
+ [![npm version](https://badge.fury.io/js/@mikkelscheike%2Femail-provider-links.svg)](https://www.npmjs.com/package/@mikkelscheike/email-provider-links)
4
+
5
+ > **Generate direct login links for any email address across 93+ providers (Gmail, Outlook, Yahoo, etc.) to streamline user authentication flows.**
4
6
 
5
7
  A robust TypeScript library providing direct links to **93 email providers** (180 domains) with **concurrent DNS resolution**, **optimized performance**, **comprehensive email validation**, and advanced security features for login and password reset flows.
6
8
 
@@ -253,7 +255,7 @@ Extensively optimized for both speed and memory efficiency:
253
255
  **Speed Metrics**:
254
256
  - Initial provider load: ~0.5ms
255
257
  - Known provider lookup: <1ms
256
- - DNS-based detection: ~27ms average
258
+ - DNS-based detection: ~10ms average
257
259
  - Batch processing: 1000 operations in ~1.1ms
258
260
  - Email validation: <1ms for complex IDN domains
259
261
 
@@ -268,7 +270,7 @@ Extensively optimized for both speed and memory efficiency:
268
270
  - 50,000+ operations/second for known providers
269
271
  - 100 concurrent DNS lookups in <1 second
270
272
  - Average latency: <1ms for cached lookups
271
- - Maximum latency: <5ms per lookup
273
+ - Maximum latency: <25ms per lookup
272
274
 
273
275
  To run benchmarks:
274
276
  ```bash
@@ -29,7 +29,7 @@ const KNOWN_GOOD_HASHES = {
29
29
  // SHA-256 hash of the legitimate emailproviders.json
30
30
  'emailproviders.json': '65c136a13cbcd31507241b7ddc8850f81b98196d2e57fcd9ce6060825a010cef',
31
31
  // You can add hashes for other critical files
32
- 'package.json': '5137f5f634e8fe9476e7432c8eac9d4d015c2a7404947888a4d3ddaba17669c1',
32
+ 'package.json': '56a61dc28002a1fb8c1fd86cd259cab00da790381e987f571d704f27ed94b982',
33
33
  };
34
34
  /**
35
35
  * Calculates SHA-256 hash of a file or string content
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mikkelscheike/email-provider-links",
3
- "version": "3.0.1",
3
+ "version": "3.0.3",
4
4
  "description": "TypeScript library for email provider detection with 93 providers (207 domains), concurrent DNS resolution, optimized performance, 94.65% test coverage, and enterprise security for login and password reset flows",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -63,6 +63,10 @@
63
63
  "publishConfig": {
64
64
  "access": "public"
65
65
  },
66
+ "overrides": {
67
+ "glob": "^10.4.5",
68
+ "test-exclude": "^7.0.1"
69
+ },
66
70
  "devDependencies": {
67
71
  "@jest/globals": "^30.0.3",
68
72
  "@semantic-release/commit-analyzer": "^13.0.1",