Skip to content

fix(deps): update dependency node-email-verifier to v3 #1354

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jun 16, 2025

This PR contains the following updates:

Package Change Age Confidence
node-email-verifier 2.0.0 -> 3.4.1 age confidence

Release Notes

jesselpalmer/node-email-verifier (node-email-verifier)

v3.4.1

Compare Source

Fixed
  • Fixed missing dist files in npm package by adding .npmignore file (#​65)
    • dist/index.js and dist/index.d.ts were excluded from npm package due to .gitignore
    • Added .npmignore to ensure dist files are included while keeping them out of git
Added
  • Added sponsorship information to README with links to support the project
  • Added sponsor badge to encourage community support
  • Enhanced prepublishOnly hook to run comprehensive validation before npm publish
  • Added package size enforcement (1MB limit) to local validation
  • Enhanced pre-push git hook to validate packages on main/release branches
  • Updated release documentation with automatic safeguards explanation

v3.4.0

Compare Source

Added
  • MX Record Caching with LRU Eviction Strategy (PR #​51):
    • TTL-based caching with configurable default TTL (5 minutes) and max cache size (1000 entries)
    • LRU (Least Recently Used) eviction strategy that keeps frequently accessed domains in memory
    • Cache statistics tracking (hits, misses, evictions, hit rate) included in detailed validation
      results
    • Global cache management with flush, delete, and reset statistics methods
    • 7.7x performance improvement with realistic DNS latency (25ms)
    • 87%+ cache hit rate in typical usage patterns with mixed domain popularity
    • 872 DNS lookups avoided out of 1000 requests (87.2% reduction)
    • Automatic periodic cleanup of expired entries to prevent memory accumulation
    • Comprehensive performance benchmarks demonstrating real-world improvements
  • Enhanced TypeScript Support (PR #​57):
    • Export EmailValidationError class and isEmailValidationError helper function for better
      error handling
    • All major interfaces and types now exported: MxRecord, ValidationResult,
      EmailValidatorOptions, CacheStatistics, MxCacheOptions
    • Comprehensive JSDoc documentation on all public APIs

v3.3.0

Compare Source

Added
  • AI Debug Mode (debug: true option) for enhanced debugging and observability:
    • Structured JSON logging with MCP-compatible format
    • Performance timing for each validation phase
    • Memory usage tracking (heap, RSS, external)
    • Detailed error logging with stack traces
    • Debug mode example demonstrating production usage patterns
  • Examples directory with comprehensive usage examples:
    • Basic validation patterns (examples/basic-validation.js)
    • TypeScript integration with full type support (examples/typescript-usage.ts)
    • Bulk email validation strategies (examples/bulk-validation.js)
    • Error handling with error codes (examples/error-handling.js)
    • CommonJS compatibility examples (examples/commonjs-usage.cjs)
    • Debug mode usage and production wrapper (examples/debug-mode.js)

v3.2.0

Compare Source

Added
  • Comprehensive error codes system with ErrorCode enum for programmatic error handling
  • Custom EmailValidationError class for better error context
  • Error codes included in detailed validation results (errorCode field)
  • Top-level errorCode in ValidationResult for quick error access
  • Automated dependency management with Dependabot configuration
  • Auto-merge workflow for Dependabot PRs (patch and minor updates)
  • Weekly dependency check workflow that creates GitHub issues
  • GitHub CodeQL security scanning for JavaScript/TypeScript
  • Security policy (SECURITY.md) with vulnerability reporting guidelines
  • AI workflow documentation (docs/AI_WORKFLOW.md) for AI agent interactions
  • Better test synchronization with file size checks in waitForFilesToExist
  • Performance benchmarks for disposable domain lookups (npm run benchmark)
  • Performance documentation (docs/PERFORMANCE.md) with detailed analysis
  • Pre-commit hooks with husky and lint-staged for automatic code quality checks
  • Pre-push hook to run tests before pushing
  • API best practices documentation (docs/API_BEST_PRACTICES.md) with rate limiting guidance
  • Git hooks documentation in README
  • Moved integration tests to test/integration/ directory for better organization
Changed
  • Error messages now use centralized ErrorMessages mapping
  • Improved test coverage for error scenarios
  • Updated README with comprehensive error handling examples
  • Updated CLAUDE.md to mark completed improvements
Fixed
  • Path issues in integration tests after directory reorganization
  • Race condition in CommonJS import tests by correcting retry parameter order
  • Test flakiness by adding proper file content validation

v3.1.3

Compare Source

Fixed
  • Fixed curl command example in README.md by adding missing Content-Type header

v3.1.2

Compare Source

Changed
  • Updated README.md to include information about ValidKit hosted API service

v3.1.1

Compare Source

Fixed
  • Fixed ESM module import issue by adding proper exports field in package.json
    (#​20)
  • Added CommonJS compatibility through automatic wrapper generation
  • Fixed Windows CI multiline echo commands using heredoc syntax
  • Ensured dist directory is properly included in npm packages with files field
Added
  • CommonJS wrapper (dist/index.cjs) for require() support
  • Comprehensive import tests for both ESM and CommonJS
  • Build script with error handling for wrapper generation
  • Documentation for dual module system support
  • Examples for handling promises in CommonJS
  • Markdown linting with markdownlint-cli2 and auto-fix capabilities
  • YAML linting with custom validation script using async I/O
  • Integration tests for CommonJS, ESM, and TypeScript usage
  • npm run check command to run all quality checks
  • Comprehensive CONTRIBUTING.md guide for contributors
  • lint:all, lint:md, lint:md:fix, and lint:yaml npm scripts
Changed
  • Build process now generates CommonJS wrapper automatically
  • Enhanced documentation with both ESM and CommonJS usage examples
  • CI workflows now use npm ci for faster, more reliable builds
  • Improved cross-platform compatibility in GitHub Actions
  • Optimized YAML linting with path segment checking

v3.1.0

Compare Source

Added
  • Disposable email detection with 600+ known providers
  • Detailed validation results with specific failure reasons
  • Performance optimizations for disposable email checking
  • 24 new tests for comprehensive coverage
Changed
  • All new features are opt-in to maintain backward compatibility
  • Enhanced error messaging consistency

v3.0.0

Compare Source

Changed
  • BREAKING: Migrated from CommonJS to ES Modules
  • BREAKING: Requires Node.js 18.0.0 or higher
  • Converted entire codebase to TypeScript
  • Modernized build and test infrastructure
Added
  • Full TypeScript support with type definitions
  • ES Module syntax throughout
  • Modern development tooling

Configuration

📅 Schedule: Branch creation - Monday through Friday ( * * * * 1-5 ) (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/node-email-verifier-3.x branch 4 times, most recently from 0163940 to 89a9f3d Compare June 24, 2025 09:13
@renovate renovate bot force-pushed the renovate/node-email-verifier-3.x branch from 89a9f3d to 0e3d249 Compare June 30, 2025 23:10
@renovate renovate bot force-pushed the renovate/node-email-verifier-3.x branch from 0e3d249 to 7ffd1fd Compare July 17, 2025 09:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants