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

awesome-readme-lint-double-link

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

awesome-readme-lint-double-link - npm Package Compare versions

Comparing version 0.0.2 to 0.0.3

10

changelog.md

@@ -0,3 +1,13 @@

## <small>0.0.3 (2020-06-30)</small>
* test: skip throw ([5972163](https://github.com/Scrum/awesome-readme-lint-double-link/commit/5972163))
* perf: remove chalk ([76764f8](https://github.com/Scrum/awesome-readme-lint-double-link/commit/76764f8))
* perf: try only console ([561a826](https://github.com/Scrum/awesome-readme-lint-double-link/commit/561a826))
## <small>0.0.2 (2020-06-30)</small>
* 0.0.2 ([6835dd9](https://github.com/Scrum/awesome-readme-lint-double-link/commit/6835dd9))
* build: update changelog ([ed38426](https://github.com/Scrum/awesome-readme-lint-double-link/commit/ed38426))
* ci: perf run job ([3fe637c](https://github.com/Scrum/awesome-readme-lint-double-link/commit/3fe637c))

@@ -4,0 +14,0 @@ * fix: npm folder libs ([2a17ad9](https://github.com/Scrum/awesome-readme-lint-double-link/commit/2a17ad9))

9

index.js
const markdownLinkExtractor = require('markdown-link-extractor');
const logSymbols = require('log-symbols');
const chalk = require('chalk');
const table = require('text-table');

@@ -15,7 +14,9 @@ const indentString = require('indent-string');

${chalk.red('error'.toUpperCase(), 'duplicate links found:')}
${table(double.map(link => Array.of(indentString(`${chalk.red(logSymbols.error)}`, 2), link)))}
${'error'.toUpperCase()}, duplicate links found:
${table(double.map(link => Array.of(indentString(`${logSymbols.error}`, 2), link)))}
`
reject(new Error(message));
console.error(message);
reject();
}

@@ -22,0 +23,0 @@

{
"name": "awesome-readme-lint-double-link",
"version": "0.0.2",
"version": "0.0.3",
"description": "Lint double link in awesome readme",

@@ -10,3 +10,2 @@ "main": "index.js",

"dependencies": {
"chalk": "^4.1.0",
"indent-string": "^4.0.0",

@@ -13,0 +12,0 @@ "log-symbols": "^4.0.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