Socket
Socket
Sign inDemoInstall

eslint-docgen

Package Overview
Dependencies
100
Maintainers
2
Versions
16
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.6.0 to 0.6.1

3

Changelog.md
# eslint-docgen release history
## v0.6.1
* Fix: Filter out docgen:false tests before parsing (#120)
## v0.6.0

@@ -4,0 +7,0 @@ * Breaking change: Drop deprecated 'noDoc' option and '--doc' CLI flag (#115)

2

package.json
{
"name": "eslint-docgen",
"version": "0.6.0",
"version": "0.6.1",
"description": "Automatically generate ESLint plugin documentation from rule metadata and test cases.",

@@ -5,0 +5,0 @@ "repository": {

@@ -82,2 +82,8 @@ 'use strict';

function buildRuleDetails( testList, valid, showFixes ) {
testList = testList.filter( ( test ) =>
test.docgen === undefined ?
!config.excludeExamplesByDefault :
test.docgen
);
let fixedCode, fixedOutput, maxCodeLength;

@@ -119,10 +125,2 @@ const testsByOptions = {};

testList.forEach( function ( test, i ) {
const docgen = test.docgen === undefined ?
!config.excludeExamplesByDefault :
test.docgen;
if ( !docgen ) {
return;
}
const filename = getFilename( test );

@@ -129,0 +127,0 @@ let lang = 'js';

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc