doubleplus-numbers
Advanced tools
Comparing version 0.2.0 to 0.2.1
var expressions = require('./redundancies').map(function(element) { | ||
return new RegExp(element); | ||
return new RegExp(element, 'i'); | ||
}); | ||
@@ -4,0 +4,0 @@ |
{ | ||
"name": "doubleplus-numbers", | ||
"description": "Common Form annotator to find and identify redundant and repeated number(s) and numeral(s)", | ||
"version": "0.2.0", | ||
"version": "0.2.1", | ||
"author": "Ansel Halliburton <github@anseljh.com> (http://anseljh.com)", | ||
@@ -6,0 +6,0 @@ "bugs": "https://github.com/anseljh/doubleplus-numbers/issues", |
@@ -12,3 +12,3 @@ # doubleplus-numbers | ||
assert.deepEqual( | ||
annotator({ content: [ 'Give me two (2) of those and four (4) of the other one.' ] }), | ||
annotator({ content: [ 'Give me two (2) of those. Four (4) of the other one, too.' ] }), | ||
[ { message: '"two (2)" repeats a written number and numeral, which is redundant and error-prone', | ||
@@ -19,3 +19,3 @@ level: "info", | ||
url: null }, | ||
{ message: '"four (4)" repeats a written number and numeral, which is redundant and error-prone', | ||
{ message: '"Four (4)" repeats a written number and numeral, which is redundant and error-prone', | ||
level: "info", | ||
@@ -22,0 +22,0 @@ path: [ 'content', 0 ], |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
17469
0