Socket
Socket
Sign inDemoInstall

compromise

Package Overview
Dependencies
Maintainers
2
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

14.4.5

Diff

Changelog

Source

14.4.5 [August 2022]

  • [fix] - fix logic for greedy-negative matches - #936
  • [fix] - fix tagging for 3-digit year iso dates - #868
  • [update] - dependencies
spencermountain
published 14.4.4 •

Changelog

Source

14.4.4 [August 2022]

  • [fix] - support {root} matches without compromise/two
spencermountain
published 14.4.3 •

Changelog

Source

14.4.3 [August 2022]

  • [fix] - guard for toRoot methods in root match
  • [update] - compromise-stats
spencermountain
published 14.4.2 •

Changelog

Source

14.4.2 [July 2022]

  • [fix] - hotfix for sentence tokenization issue #935
spencermountain
published 14.4.1 •

Changelog

Source

14.4.1 [July 2022]

  • [change] - improvements to negative-optional match logic - !foo?
  • [change] - support short sentences embedded in quotes+parentheses
  • [change] - faster sentence tokenizer
  • [change] - ° symbol is not punctuation
  • [new] - implement .swap() for comparative/superlative adjectives
  • [fix] - sentence.toFuture() conjugation rules
  • [update] - dependencies
spencermountain
published 14.4.0 •

Changelog

Source

14.4.0 [July 2022]

  • [change] - support root matches like '{walk}' work without doing .compute('root')
  • [change] - split numbers+units '12km' as contraction - #919
  • [new] - .lazy(txt, match) fast-scan method 1
  • [fix] - support apostrophes in lexicon #932
  • [fix] - support unTag property in sweep
  • [change] - keep sentence caches, when still valid
  • [change] - alias nlp.compile() to .buildTrie()
  • [fix] - tagging fixes
  • [update] - dependencies plugin-releases: dates, speed, de-compromise
spencermountain
published 14.3.1 •

Changelog

Source

14.3.1 [June 2022]

  • [fix] - missed caches in .sweep()
  • [new] - .out('hash') and .json({hash:true})
spencermountain
published 14.3.0 •

Changelog

Source

14.3.0 [June 2022]

  • [fix] - unwanted logging in compromise/one
  • [fix] - dependency export path for react-native builds #928
  • [change] - split hyphenated words in match syntax 'foo-bar'
  • [change] - support 4-digit number-ranges (when not a phone number) plugin-releases: dates
spencermountain
published 14.2.1 •

Changelog

Source

14.2.1 [June 2022]

  • [fix] - double-contraction issue #925
  • [fix] - .not() memleak #926
spencermountain
published 14.2.0 •

Changelog

Source

14.2.0 [June 2022]

  • [fix] - speed improvements
  • [fix] - bug with fast-or possessive matches
  • [fix] - bug with slow-or end-matches
  • [change] - no-longer attempt 's contractions in compromise/one
  • [new] - flag novel tags in world.one.tagSet
  • [new] - .sweep() and nlp.buildNet() methods
  • [new] - some typescript support in plugins #918
  • [fix] - better unicode support with Unicode property escapes
  • [fix] - problems matching on cached documents
  • [fix] - typescript fixes
  • [fix] - suffix tagging issues
  • [fix] - uncached matches missing in .sweep()
  • [fix] - non-empty results when pointer is first repaired
  • [fix] - nouns().toPlural() fix for #921
  • [fix] - drop deprecated .subst() method internally
  • [new] - some support for .numbers().units() again #919
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