eyo-kernel
Advanced tools
Comparing version 1.0.2 to 1.0.3
@@ -6,3 +6,3 @@ // jshint maxlen:1024 | ||
punctuation = '[{}()[\\]|<>=\\_"\'«»„“#$^%&*+-:;.,?!]', | ||
re = new RegExp('([А-ЯЁ]|[а-яё])[а-яё]{2,}(?!\\.\\s+([а-яё]|[А-ЯЁ]{2}|' + punctuation + ')|\\.' + punctuation + ')', 'g'), | ||
re = new RegExp('([А-ЯЁ]|[а-яё])[а-яё]{2,}(?![а-яё]|\\.\\s+([а-яё]|[А-ЯЁ]{2}|' + punctuation + ')|\\.' + punctuation + ')', 'g'), | ||
tableSafe = {}, | ||
@@ -9,0 +9,0 @@ tableNotSafe = {}, |
@@ -6,3 +6,3 @@ module.exports = { | ||
* @param {Array} data | ||
* return {Array} | ||
* @return {Array} | ||
*/ | ||
@@ -70,3 +70,3 @@ delDuplicates: function(data) { | ||
* @param {number} index | ||
* return {Object} | ||
* @return {Object} | ||
*/ | ||
@@ -73,0 +73,0 @@ getPosition: function(text, index) { |
{ | ||
"name": "eyo-kernel", | ||
"description": "Restoring the letter «ё» (yo) in russian texts", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"author": { | ||
@@ -31,7 +31,7 @@ "name": "Denis Seleznev", | ||
"devDependencies": { | ||
"chai": "~3.4.1", | ||
"chai": "~3.5.0", | ||
"istanbul": "~0.4.2", | ||
"jscs": "~2.8.0", | ||
"jscs": "~3.0.5", | ||
"jshint": "~2.9.1", | ||
"mocha": "~2.3.4" | ||
"mocha": "~2.5.3" | ||
}, | ||
@@ -38,0 +38,0 @@ "scripts": { |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3935139
7