Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

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 2.2.1 to 2.3.0

3

CHANGELOG.md
# Changelog
## v2.3.0
- Доработки для использования в клиентских скриптах.
## v2.2.1

@@ -4,0 +7,0 @@ - Добавлено слово «чётномерная» в безопасный словарь.

16

lib/dictionary.js

@@ -5,4 +5,4 @@ 'use strict';

const path = require('path');
const safeDict = path.resolve(__dirname, '../dict/safe.txt');
const notSafeDict = path.resolve(__dirname, '../dict/not_safe.txt');
const pathSafeDict = '../dict/safe.txt';
const pathNotSafeDict = path.resolve(__dirname, '../dict/not_safe.txt');

@@ -46,3 +46,4 @@ module.exports = class Dictionary {

loadSafe(callback) {
this.load(safeDict, callback);
const preparedPath = path.resolve(__dirname, pathSafeDict);
this.load(preparedPath, callback);
}

@@ -54,3 +55,4 @@

loadSafeSync() {
this.loadSync(safeDict);
const preparedPath = path.resolve(__dirname, pathSafeDict);
this.loadSync(preparedPath);
}

@@ -64,3 +66,4 @@

loadNotSafe(callback) {
this.load(notSafeDict, callback);
const preparedPath = path.resolve(__dirname, pathNotSafeDict);
this.load(preparedPath, callback);
}

@@ -72,3 +75,4 @@

loadNotSafeSync() {
this.loadSync(notSafeDict);
const preparedPath = path.resolve(__dirname, pathNotSafeDict);
this.loadSync(preparedPath);
}

@@ -75,0 +79,0 @@

{
"name": "eyo-kernel",
"description": "Restoring the letter «ё» (yo) in russian texts",
"version": "2.2.1",
"version": "2.3.0",
"author": {

@@ -36,5 +36,5 @@ "name": "Denis Seleznev",

"chai": "^4.1.2",
"eslint": "^4.15.0",
"istanbul": "~0.4.5",
"mocha": "^4.1.0"
"eslint": "^4.19.1",
"istanbul": "^0.4.5",
"mocha": "^5.2.0"
},

@@ -41,0 +41,0 @@ "scripts": {

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