retext-repeated-words
Advanced tools
Comparing version 2.0.0 to 3.0.0
10
index.js
@@ -43,3 +43,3 @@ 'use strict' | ||
var node | ||
var prev | ||
var previous | ||
var message | ||
@@ -59,6 +59,6 @@ var position | ||
before = value | ||
prev = node | ||
previous = node | ||
value = node = position = null | ||
} else { | ||
before = value = prev = node = position = start = null | ||
before = value = previous = node = position = start = null | ||
} | ||
@@ -70,3 +70,3 @@ | ||
{ | ||
start: prev.position.start, | ||
start: previous.position.start, | ||
end: node.position.end | ||
@@ -78,3 +78,3 @@ }, | ||
message.actual = toString(children.slice(start, position + 1)) | ||
message.expected = [toString(prev)] | ||
message.expected = [toString(previous)] | ||
} | ||
@@ -81,0 +81,0 @@ } |
{ | ||
"name": "retext-repeated-words", | ||
"version": "2.0.0", | ||
"version": "3.0.0", | ||
"description": "retext plugin to check for for repeated words", | ||
@@ -9,3 +9,5 @@ "license": "MIT", | ||
"retext", | ||
"retext-plugin", | ||
"plugin", | ||
"repeat", | ||
"repeated", | ||
@@ -17,2 +19,6 @@ "repetition", | ||
"bugs": "https://github.com/retextjs/retext-repeated-words/issues", | ||
"funding": { | ||
"type": "opencollective", | ||
"url": "https://opencollective.com/unified" | ||
}, | ||
"author": "Titus Wormer <tituswormer@gmail.com> (https://wooorm.com)", | ||
@@ -28,15 +34,15 @@ "contributors": [ | ||
"nlcst-to-string": "^2.0.0", | ||
"unist-util-is": "^3.0.0", | ||
"unist-util-visit": "^1.1.0" | ||
"unist-util-is": "^4.0.0", | ||
"unist-util-visit": "^2.0.0" | ||
}, | ||
"devDependencies": { | ||
"browserify": "^16.0.0", | ||
"nyc": "^14.0.0", | ||
"nyc": "^15.0.0", | ||
"prettier": "^1.0.0", | ||
"remark-cli": "^6.0.0", | ||
"remark-preset-wooorm": "^5.0.0", | ||
"retext": "^6.0.0", | ||
"remark-cli": "^7.0.0", | ||
"remark-preset-wooorm": "^6.0.0", | ||
"retext": "^7.0.0", | ||
"tape": "^4.0.0", | ||
"tinyify": "^2.5.1", | ||
"xo": "^0.24.0" | ||
"tinyify": "^2.0.0", | ||
"xo": "^0.28.0" | ||
}, | ||
@@ -70,2 +76,3 @@ "scripts": { | ||
"rules": { | ||
"unicorn/prefer-includes": "off", | ||
"no-multi-assign": "off" | ||
@@ -72,0 +79,0 @@ }, |
@@ -105,4 +105,4 @@ # retext-repeated-words | ||
This project has a [Code of Conduct][coc]. | ||
By interacting with this repository, organisation, or community you agree to | ||
This project has a [code of conduct][coc]. | ||
By interacting with this repository, organization, or community you agree to | ||
abide by its terms. | ||
@@ -138,3 +138,3 @@ | ||
[chat-badge]: https://img.shields.io/badge/join%20the%20community-on%20spectrum-7b16ff.svg | ||
[chat-badge]: https://img.shields.io/badge/chat-spectrum-7b16ff.svg | ||
@@ -141,0 +141,0 @@ [chat]: https://spectrum.chat/unified/retext |
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
9708
+ Added@types/unist@2.0.11(transitive)
+ Addedunist-util-is@4.1.0(transitive)
+ Addedunist-util-visit@2.0.3(transitive)
+ Addedunist-util-visit-parents@3.1.1(transitive)
- Removedunist-util-is@3.0.0(transitive)
- Removedunist-util-visit@1.4.1(transitive)
- Removedunist-util-visit-parents@2.1.2(transitive)
Updatedunist-util-is@^4.0.0
Updatedunist-util-visit@^2.0.0