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

doubleplus-numbers

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

doubleplus-numbers - npm Package Compare versions

Comparing version 0.2.0 to 0.2.1

2

index.js
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 ],

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