Socket
Socket
Sign inDemoInstall

@es-joy/jsdoccomment

Package Overview
Dependencies
Maintainers
2
Versions
99
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@es-joy/jsdoccomment - npm Package Compare versions

Comparing version 0.34.0 to 0.35.0

5

CHANGES.md
# CHANGES for `@es-joy/jsdoccomment`
## 0.35.0
- fix: allow newline even for 1st line (after 0th)
- feat: add `hasPreterminalDescription` property
## 0.34.0

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

2

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

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

@@ -111,2 +111,4 @@ # @es-joy/jsdoccomment

ends
5. `hasPreterminalDescription` - Set to 0 or 1. On if has a description on the
same line as the terminal `*/`.

@@ -113,0 +115,0 @@ May also have the following non-visitable properties from `comment-parser`:

@@ -146,2 +146,3 @@ import {parse as jsdocTypePrattParse} from 'jsdoc-type-pratt-parser';

terminal: endRoot,
hasPreterminalDescription: 0,
endLine,

@@ -195,2 +196,3 @@ postDelimiter: postDelimiterRoot,

if (description) {
ast.hasPreterminalDescription = 1;
ast.description += (ast.description ? '\n' : '') + description;

@@ -306,3 +308,3 @@ ast.descriptionLines.push({

if (!tag) {
holder.description += idx <= 1 && !lastTag
holder.description += (!holder.description && !lastTag)
? description

@@ -309,0 +311,0 @@ : '\n' + description;

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