compromise-sentences
Advanced tools
Comparing version 0.1.1 to 0.2.0
@@ -1,2 +0,2 @@ | ||
/* compromise-sentences 0.1.1 MIT */ | ||
/* compromise-sentences 0.2.0 MIT */ | ||
(function (global, factory) { | ||
@@ -389,9 +389,9 @@ typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : | ||
var isQuestion_1 = isQuestion; | ||
var isQuestion_1$1 = isQuestion; | ||
/** return sentences ending with '?' */ | ||
var isQuestion_1$1 = function isQuestion_1$1() { | ||
var isQuestion_1 = function isQuestion_1() { | ||
return this.filter(function (d) { | ||
return isQuestion_1(d); | ||
return isQuestion_1$1(d); | ||
}); | ||
@@ -440,3 +440,3 @@ }; | ||
var questions = { | ||
isQuestion: isQuestion_1$1, | ||
isQuestion: isQuestion_1, | ||
isExclamation: isExclamation, | ||
@@ -443,0 +443,0 @@ isStatement: isStatement, |
{ | ||
"name": "compromise-sentences", | ||
"description": "plugin for nlp-compromise", | ||
"version": "0.1.1", | ||
"version": "0.2.0", | ||
"author": "Spencer Kelly <spencermountain@gmail.com> (http://spencermounta.in)", | ||
@@ -35,10 +35,10 @@ "main": "./builds/compromise-sentences.js", | ||
"peerDependencies": { | ||
"compromise": "^12.*.*" | ||
"compromise": ">=12.0.0" | ||
}, | ||
"dependencies": {}, | ||
"devDependencies": { | ||
"@rollup/plugin-commonjs": "17.0.0", | ||
"@rollup/plugin-commonjs": "17.1.0", | ||
"@rollup/plugin-json": "4.1.0", | ||
"@rollup/plugin-node-resolve": "11.0.1", | ||
"rollup": "2.35.1", | ||
"@rollup/plugin-node-resolve": "11.2.0", | ||
"rollup": "2.40.0", | ||
"rollup-plugin-babel": "4.4.0", | ||
@@ -48,5 +48,5 @@ "rollup-plugin-filesize-check": "0.0.1", | ||
"tap-dancer": "0.3.1", | ||
"tape": "5.0.1" | ||
"tape": "5.2.0" | ||
}, | ||
"license": "MIT" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
74922
8