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 12.2.0 to 12.2.1

14

changelog.md

@@ -26,6 +26,18 @@ compromise uses semver, and pushes to npm frequently

- add `concat` param to `.pre()` and `.post()`
- allow ellipses at start of term *"....so"* in `@hasEllipses`
- allow ellipses at start of term _"....so"_ in `@hasEllipses`
- fix matches with optional-end `foo?$` match syntax
- add typescript types for subsets
##### 12.2.1
- fix 'aint' contraction
- make Doc.world writable
- update deps
- more tests
- fix shared period with acronym at end of sentence
- fix some mis-classification of contraction
- fix over-active emoji regex
- tag 'cookin', 'hootin' as `Gerund`
- support unicode single-quote symbols in contractions
### v11

@@ -32,0 +44,0 @@

8

package.json

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

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

@@ -52,7 +52,7 @@ "unpkg": "./builds/compromise.min.js",

"devDependencies": {
"@babel/core": "7.7.4",
"@babel/preset-env": "7.7.4",
"@babel/core": "7.7.5",
"@babel/preset-env": "7.7.5",
"amble": "0.0.7",
"efrt": "2.2.1",
"rollup": "1.27.5",
"rollup": "1.27.8",
"rollup-plugin-babel": "4.3.3",

@@ -59,0 +59,0 @@ "rollup-plugin-commonjs": "10.1.0",

@@ -432,2 +432,3 @@ <div align="center">

- **[.phoneNumbers()](https://observablehq.com/@spencermountain/compromise-selections)** - things like `'(939) 555-0113'`
- **[.money()](https://observablehq.com/@spencermountain/compromise-values)** - things like `'$2.50'`
- **[.hashTags()](https://observablehq.com/@spencermountain/compromise-selections)** - things like `'#nlp'`

@@ -524,3 +525,2 @@ - **[.emails()](https://observablehq.com/@spencermountain/compromise-selections)** - things like `'hi@compromise.cool'`

- **[.numbers().units()](https://observablehq.com/@spencermountain/compromise-values)** - grab 'kilos' from `25 kilos'`
- **[.numbers().money()](https://observablehq.com/@spencermountain/compromise-values)** - things like `'$2.50'`
- **[.numbers().fractions()](https://observablehq.com/@spencermountain/compromise-values)** - things like `1/3rd`

@@ -527,0 +527,0 @@ - **[.numbers().toText()](https://observablehq.com/@spencermountain/compromise-values)** - convert number to `five` or `fifth`

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

Sorry, the diff of this file is not supported yet

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

Sorry, the diff of this file is not supported yet

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