Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

cldr-segmentation

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cldr-segmentation - npm Package Versions

2

2.2.1

Diff

Changelog

Source

2.2.1

  • Fix issue causing sentence segmentation to return incorrect results when a string ends with a suppression directly followed by a single space (#18, @didier-84)
camertron
published 2.2.0 •

Changelog

Source

2.2.0

  • Add Turkish suppressions (#17, @ozdemirburak)
camertron
published 2.1.3 •

Changelog

Source

2.1.3

  • Fix issue causing window.UtfString to be assigned to utfstring even if utfstring wasn't null.
camertron
published 2.1.2 •

Changelog

Source

2.1.2

  • Fix browser functionality.
    • Needed to pull UtfString off window since require('utfstring') is lowercased and therefore doesn't work in the browser.
camertron
published 2.1.1 •

Changelog

Source

2.1.1

  • Write state tables out as JSON strings instead of raw arrays.
    • Fixes a bug that causes Node to crash with "FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory."
  • Add documentation around importing (require vs import).
camertron
published 2.1.0 •

Changelog

Source

2.1.0

  • Add ability to copy and merge suppression objects.
    • Enables adding custom suppression strings.
  • Add custom English suppression for "Dr.".
camertron
published 2.0.3 •

Changelog

Source

2.0.3

  • Somehow the require of 'utfstring' was changed to 'UtfString', which worked on Mac OS's case-insensitive filesystem but errored in Linux environments.
camertron
published 2.0.2 •

Changelog

Source

2.0.2

  • Ensure suppressions are preceded by a space, i.e. are whole words.
    • Fixes bug where "Phillip. Is my name." would contain no breaks because 'pp.' is an English suppression.
camertron
published 2.0.1 •

Changelog

Source

2.0.1

  • Fix dependency issue causing problems installing via npm.
camertron
published 2.0.0 •

Changelog

Source

2.0.0

  • Massive performance improvements.
    • Switched from regex-based approach to state machine engine borrowed from ICU4J.
    • 190 i/s -> ~97,000 i/s for a simple 10-word sentence.
  • Added ability to swap in custom suppressions.
2
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc