Socket
Socket
Sign inDemoInstall

@es-joy/jsdoccomment

Package Overview
Dependencies
4
Maintainers
1
Versions
94
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.22.0 to 0.22.1

5

CHANGES.md
# CHANGES for `@es-joy/jsdoccomment`
## 0.22.1
- fix: ensure `getJSDocComment` does not treat block comments as JSDoc unless
their first asterisk is followed by whitespace
## 0.22.0

@@ -4,0 +9,0 @@

2

package.json
{
"name": "@es-joy/jsdoccomment",
"version": "0.22.0",
"version": "0.22.1",
"author": "Brett Zamir <brettz9@yahoo.com>",

@@ -5,0 +5,0 @@ "contributors": [],

@@ -236,3 +236,3 @@ /**

tokenBefore.type === 'Block' &&
tokenBefore.value.charAt(0) === '*' &&
(/^\*\s/u).test(tokenBefore.value) &&
currentNode.loc.start.line - tokenBefore.loc.end.line >= minLines &&

@@ -239,0 +239,0 @@ currentNode.loc.start.line - tokenBefore.loc.end.line <= maxLines

Sorry, the diff of this file is not supported yet

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