You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are excited to announce the release of Glin-Profanity v1.1.8! This update focuses on improving compatibility and providing support for both CommonJS (CJS) and ESModules (ESM) environments, along with other enhancements.
🚀 What's New in v1.1.8
1. Dual Build Support (CommonJS & ESM)
With this release, Glin-Profanity is now built and packaged to support both CommonJS and ESModule environments. This ensures compatibility with modern bundlers like Webpack and Rollup, as well as traditional Node.js applications.
CommonJS (CJS): Built files are available in lib/cjs/.
ESModules (ESM): Built files are available in lib/esm/.
UMD Build: Universal build available for broader compatibility across various environments.
2. Updated Package Structure
The package now includes a new structure for better module resolution:
exports field in package.json for streamlined imports.
Updated main, module, and types fields in package.json to point to the correct build files.
3. Improved Error Handling
Enhancements have been made to resolve issues related to module import errors in different environments, ensuring smoother integration in various platforms and applications.
🐛 Bug Fixes
Fixed issues with incorrect severity levels being reported.
Improved the handling of profane words merged into other words.
Addressed the bug where certain complex word patterns were not correctly detected as profanity.
📦 Package Structure Changes
Split builds into lib/cjs/ for CommonJS and lib/esm/ for ES Modules.
Removed extra root files for better package size management.
⚙️ Future Plans
Further enhancements to custom word list management.
Additional language support and improved multilingual handling.
Continuous integration and delivery improvements for faster release cycles.
Check out the Glin-Profanity project on GitHub or install the latest version via npm:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Release Notes: Glin-Profanity v1.1.8
We are excited to announce the release of Glin-Profanity v1.1.8! This update focuses on improving compatibility and providing support for both CommonJS (CJS) and ESModules (ESM) environments, along with other enhancements.
🚀 What's New in v1.1.8
1. Dual Build Support (CommonJS & ESM)
With this release, Glin-Profanity is now built and packaged to support both CommonJS and ESModule environments. This ensures compatibility with modern bundlers like Webpack and Rollup, as well as traditional Node.js applications.
lib/cjs/
.lib/esm/
.2. Updated Package Structure
The package now includes a new structure for better module resolution:
exports
field inpackage.json
for streamlined imports.main
,module
, andtypes
fields inpackage.json
to point to the correct build files.3. Improved Error Handling
Enhancements have been made to resolve issues related to module import errors in different environments, ensuring smoother integration in various platforms and applications.
🐛 Bug Fixes
📦 Package Structure Changes
lib/cjs/
for CommonJS andlib/esm/
for ES Modules.⚙️ Future Plans
Check out the Glin-Profanity project on GitHub or install the latest version via npm:
OR
Thank you for using Glin-Profanity!
What's Changed
Full Changelog: v1.1.7...v1.1.8
This discussion was created from the release v1.1.8.
Beta Was this translation helpful? Give feedback.
All reactions