english-verbs-helper
Advanced tools
Comparing version 1.1.6 to 1.1.7
@@ -113,6 +113,7 @@ "use strict"; | ||
} | ||
else if (verb.match(new RegExp(`[${consonants}]e$`, 'g'))) { | ||
else if (verb.match(new RegExp(`[${consonants}]e$`, 'g')) && verb != 'be') { | ||
// If the infinitive ends with a consonant followed by an –e, | ||
// you have to take off the –e to form your present participle. | ||
// this is not in the english-verbs-gerunds list | ||
// hum and unless it is 'to be'! which becomes being, not bing. | ||
return verb.substring(0, verb.length - 1) + 'ing'; | ||
@@ -119,0 +120,0 @@ } |
{ | ||
"name": "english-verbs-helper", | ||
"version": "1.1.6", | ||
"version": "1.1.7", | ||
"description": "English verbs conjugation", | ||
@@ -48,4 +48,4 @@ "main": "dist/index.js", | ||
"devDependencies": { | ||
"english-verbs-gerunds": "1.1.6", | ||
"english-verbs-irregular": "1.1.6" | ||
"english-verbs-gerunds": "1.1.7", | ||
"english-verbs-irregular": "1.1.7" | ||
}, | ||
@@ -63,3 +63,3 @@ "keywords": [ | ||
}, | ||
"gitHead": "6904dacad306ec084f4a73dd670f41afbb95c2a2" | ||
"gitHead": "a501d0473fdc12407624be4eac58618e1702dcdc" | ||
} |
Sorry, the diff of this file is not supported yet
21225
292