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.2 to 48.2.3

2

package.json

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

},
"version": "48.2.2"
"version": "48.2.3"
}

@@ -13,2 +13,9 @@ import iterateJsdoc from '../iterateJsdoc.js';

const jsdocTypePrattKeywords = new Set([
'typeof',
'readonly',
'import',
'is',
]);
const asExpression = /as\s+/u;

@@ -111,3 +118,6 @@

const validNamepathParsing = function (namepath, tagName) {
if (tryParsePathIgnoreError(namepath)) {
if (
tryParsePathIgnoreError(namepath) ||
jsdocTypePrattKeywords.has(namepath)
) {
return true;

@@ -114,0 +124,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