Socket
Socket
Sign inDemoInstall

eyo-kernel

Package Overview
Dependencies
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eyo-kernel - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

2

lib/eyo.js

@@ -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

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