@mikkelscheike/email-provider-links 2.6.1 → 2.7.0

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.
@@ -29,7 +29,7 @@ const KNOWN_GOOD_HASHES = {
29
29
  // SHA-256 hash of the legitimate emailproviders.json
30
30
  'emailproviders.json': 'f77814bf0537019c6f38bf2744ae21640f04a2d39cb67c5116f6e03160c9486f',
31
31
  // You can add hashes for other critical files
32
- 'package.json': '1057de7ce3b03211001dcc6e4533de5f5e64760a287418f994682ba2684cf53b'
32
+ 'package.json': '51ae1a3fb43cd6ccae6c7f0d5bf6886d4b5f388bf33642d9acde0911d8b61e49'
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": "2.6.1",
3
+ "version": "2.7.0",
4
4
  "description": "TypeScript library for email provider detection with 93 providers (178 domains), concurrent DNS resolution, optimized performance, 91.75% test coverage, and enterprise security for login and password reset flows",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -11,11 +11,12 @@
11
11
  "!dist/**/*.map"
12
12
  ],
13
13
  "scripts": {
14
- "build": "tsc",
14
+ "verify-hashes": "tsx scripts/verify-hashes.ts",
15
+ "build": "tsx scripts/verify-hashes.ts && tsc",
15
16
  "test": "jest --silent",
16
17
  "test:watch": "jest --watch",
17
18
  "test:coverage": "jest --coverage",
18
- "prepublishOnly": "npm run build",
19
+ "prepublishOnly": "npm run verify-hashes && npm run build",
19
20
  "dev": "tsx src/index.ts",
20
21
  "sync-versions": "node scripts/sync-versions.js",
21
22
  "pretest": "node scripts/sync-versions.js",