Socket
Socket
Sign inDemoInstall

eslint-plugin-jsdoc

Package Overview
Dependencies
Maintainers
1
Versions
655
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-plugin-jsdoc - npm Package Compare versions

Comparing version 46.4.0 to 46.4.1

3

dist/exportParser.js

@@ -703,2 +703,5 @@ "use strict";

if (opt.esm) {
if (node.type === 'PropertyDefinition' && 'accessibility' in node && node.accessibility !== 'public') {
return false;
}
const exportNode = getExportAncestor(node);

@@ -705,0 +708,0 @@

@@ -993,2 +993,15 @@ <a name="user-content-require-jsdoc"></a>

// Message: Missing JSDoc comment.
export class MyClass {
public myPublicProperty: number = 1;
/* ^ Missing JSDoc comment. eslint(jsdoc/require-jsdoc) - expected ✅ */
private myPrivateProp: number = -1;
/* ^ Missing JSDoc comment. eslint(jsdoc/require-jsdoc) - unexpected ❌ */
// ...
}
// "jsdoc/require-jsdoc": ["error"|"warn", {"contexts":["PropertyDefinition"],"publicOnly":true}]
// Message: Missing JSDoc comment.
````

@@ -995,0 +1008,0 @@

2

package.json

@@ -139,3 +139,3 @@ {

},
"version": "46.4.0"
"version": "46.4.1"
}

Sorry, the diff of this file is not supported yet

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