8000 Release v1.1.8 · GLINCKER/glin-profanity · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

v1.1.8

Compare
Choose a tag to compare
@thegdsks thegdsks released this 08 Sep 16:16
· 6 commits to release since this release
e7f832d

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.

  • 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:

npm install glin-profanity

OR

yarn add glin-profanity

Thank you for using Glin-Profanity!

What's Changed

  • Fix: Unexpected token 'export' #29 by @gagandua078 in #30

Full Changelog: v1.1.7...v1.1.8

0