Socket
Socket
Sign inDemoInstall

yaspeller

Package Overview
Dependencies
Maintainers
1
Versions
65
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

yaspeller - npm Package Compare versions

Comparing version 6.0.1 to 6.0.2

3

CHANGELOG.md
# Changelog
## v6.0.2
- Updated deps in package.json.
## v6.0.1

@@ -4,0 +7,0 @@ - Updated deps in package.json.

12

lib/yaspeller.js

@@ -12,6 +12,6 @@ 'use strict';

const pth = require('path');
const showdown = require('showdown');
const MarkdownIt = require('markdown-it');
const xml2js = require('xml2js');
const yaspellerApi = require('yandex-speller');
const markdownConverter = new showdown.Converter();
const md = new MarkdownIt();
const printDebug = require('../lib/debug').print;

@@ -61,3 +61,3 @@ const MAX_LEN_TEXT = 10000; // Max length of text for Yandex.Speller API

if (format === 'markdown') {
text = markdownConverter.makeHtml(text);
text = md.render(text);
}

@@ -94,5 +94,5 @@

if (error) {
cb(false, [true, error]);
cb(null, [true, error]);
} else {
cb(false, [false, body]);
cb(null, [false, body]);
}

@@ -315,3 +315,3 @@ }, apiSettings);

callback && callback(err, data, originalText);
cb(false, [err, data]);
cb(null, [err, data]);
}, settings);

@@ -318,0 +318,0 @@ });

@@ -13,3 +13,3 @@ {

"description": "Search tool typos in the text, files and websites",
"version": "6.0.1",
"version": "6.0.2",
"license": "MIT",

@@ -36,3 +36,3 @@ "homepage": "https://github.com/hcodes/yaspeller",

"dependencies": {
"async": "^2.6.3",
"async": "^3.1.0",
"chalk": "^2.4.2",

@@ -46,5 +46,5 @@ "commander": "^3.0.0",

"isutf8": "^2.0.3",
"markdown-it": "^10.0.0",
"minimatch": "^3.0.4",
"request": "^2.88.0",
"showdown": "^1.9.0",
"strip-json-comments": "^3.0.0",

@@ -51,0 +51,0 @@ "xml2js": "^0.4.19",

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