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 48.2.0 to 48.2.1

2

package.json

@@ -144,3 +144,3 @@ {

},
"version": "48.2.0"
"version": "48.2.1"
}

@@ -902,5 +902,10 @@ import {

*/
const hasAccessibility = (node) => {
return accessibilityNodes.has(node.type) && 'accessibility' in node &&
node.accessibility !== 'public' && node.accessibility !== undefined;
const isPrivate = (node) => {
return accessibilityNodes.has(node.type) &&
(
'accessibility' in node &&
node.accessibility !== 'public' && node.accessibility !== undefined
) ||
'key' in node &&
node.key.type === 'PrivateIdentifier';
};

@@ -920,4 +925,4 @@

if (opt.esm) {
if (hasAccessibility(node) ||
node.parent && hasAccessibility(node.parent)) {
if (isPrivate(node) ||
node.parent && isPrivate(node.parent)) {
return false;

@@ -924,0 +929,0 @@ }

Sorry, the diff of this file is not supported yet

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