Skip to content
This repository has been archived by the owner on Apr 24, 2024. It is now read-only.

Commit

Permalink
Merge pull request #86 from hcodes/syntax_error
Browse files Browse the repository at this point in the history
Fixed SyntaxError
  • Loading branch information
hcodes committed Nov 5, 2017
2 parents 68ff92a + bf941c8 commit 5f56d23
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
5 changes: 4 additions & 1 deletion CHANGELOG.md
@@ -1,7 +1,10 @@
# Changelog

## v4.0.2
Fixed SyntaxError #83.

## 4.0.1
- Fixed error handling for Yandex.Speller API #83, #84.
- Fixed error handling for Yandex.Speller API #84.
- Updated deps in package.json.

## 4.0.0
Expand Down
2 changes: 1 addition & 1 deletion lib/yaspeller.js
Expand Up @@ -331,7 +331,7 @@ function checkSitemap(url, commonCallback, settings, callback) {
*/
function addPositions(text, data) {
data.forEach(function(item) {
if (item.position) {
if (item.code === TOO_MANY_ERRORS || item.position) {
return;
}

Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -10,7 +10,7 @@
"yaspeller": "./bin/yaspeller"
},
"description": "Search tool typos in the text, files and websites",
"version": "4.0.1",
"version": "4.0.2",
"license": "MIT",
"homepage": "https://github.com/hcodes/yaspeller",
"repository": {
Expand Down

0 comments on commit 5f56d23

Please sign in to comment.