Socket
Socket
Sign inDemoInstall

compromise

Package Overview
Dependencies
Maintainers
3
Versions
169
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

compromise - npm Package Versions

1
17

10.5.0

Diff

Changelog

Source

10.5.0

  • add increment/decrement/add/subtract methods to .values()
  • add units(), noUnits() methods to .values()
  • 'uncountable' nouns are no longer assumed to be singular
  • money tag is no longer always a value
spencermountain
published 10.4.2 •

spencermountain
published 10.4.1 •

spencermountain
published 10.4.0 •

Changelog

Source

10.4.0

  • improved tagging of VerbPhrase and Condition
  • fixes to contractions in sentence-changes - "i'm going -> i went"
  • several verb conjugation fixes
  • accept Terms & Result objects in .match() and .replace()
spencermountain
published 10.3.0 •

Changelog

Source

10.3.0

  • new Percent tag
  • lump more units in with .values()
spencermountain
published 10.2.2 •

spencermountain
published 10.2.1 •

spencermountain
published 10.2.0 •

Changelog

Source

10.2.0

  • .trim() method,
  • adjective tagging fixes
  • some new .out() methods
spencermountain
published 10.1.0 •

Changelog

Source

10.1.0

  • fix return format of .isPlural(), so it acts like a match filter
  • less-greedy date tagging & ambiguous month fixes

v10

  • cleanup & rename some .value() methods
  • change lumping behaviour of lexicon terms with multiple words
  • keep more former tags after a term replace method
  • new .random() method
  • new .lessThan(), .greaterThan(), .equalTo() methods
  • new prefix/suffix/infix matches with _ffix syntax
  • tag() supports a sequence of tags for a sequence of terms
  • .match 'range' queries now use a real match - #Adverb{2,4}
  • new .before() and .after() match methods
  • removes .lexicon() method for many-lexicons concept
  • changes params of .replaceWith() method to a 'keyTags' boolean
  • improved .debug() and logging on client-side
spencermountain
published 10.0.1 •

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