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 Compare versions

Comparing version 10.1.0 to 10.2.0

4

changelog.md

@@ -20,2 +20,6 @@ `compromise` uses semver, with occasional releases to npm and bower.

- less-greedy date tagging & ambiguous month fixes
* 10.2.0
- .trim() method,
- adjective tagging fixes
- some new .out() methods

@@ -22,0 +26,0 @@ ### v9  

@@ -27,3 +27,3 @@ 'use strict';

out: {
desc: 'render parsed data as an output. supports `text`, `normal`, `array`, `html`, `grid`, `color`, `debug`',
desc: 'render parsed data as an output. supports `text`, `normal`, `array`, `html`, `grid`, `color`, `debug`, `csv`',
returns: 'Text',

@@ -113,2 +113,7 @@ example: 'nlp(\'you might say there\u2019s a little Uter in all of us\').match(\'#Adjective uter\').out(\'html\')\n//<span><span class="nl-Adjective">little</span>&nbsp;<span class="nl-Person nl-FirstName">Uter</span></span>'

example: 'nlp(\'natural-language processing\').dehyphenate().out()\n//natural language processing'
},
trim: {
desc: 'remove leading and trailing whitespace from each match',
returns: 'Text',
example: 'nlp(\' Lenny and Carl \').people().trim().out()\n//[\'Lenny\', \'Carl\']'
}

@@ -115,0 +120,0 @@

2

package.json

@@ -5,3 +5,3 @@ {

"description": "natural language processing in the browser",
"version": "10.1.0",
"version": "10.2.0",
"main": "./builds/compromise.js",

@@ -8,0 +8,0 @@ "repository": {

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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