Repository navigation
Fix .js imports not getting added
AllProfanity v1.1.0
A comprehensive multi-language profanity filter for JavaScript/TypeScript applications with built-in support for English, Hindi, Hinglish, Bengali, Tamil, Telugu, French, German, and Spanish content.
🔄 Important Update: Fixed ESM Compatibility (v1.1.0)
This release fixes a critical issue with ES module imports in JavaScript environments. The package now properly handles file extensions, making it compatible with both TypeScript and JavaScript projects using ESM.
What was fixed:
- Updated all import statements to include
.jsextensions for proper ESM compatibility - Modified TypeScript configuration to use
NodeNextfor module and moduleResolution - Updated package.json exports configuration for better module resolution
- Maintained full backward compatibility with existing implementations