Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@es-joy/jsdoccomment

Package Overview
Dependencies
Maintainers
1
Versions
101
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.23.5 to 0.23.6

6

CHANGES.md
# CHANGES for `@es-joy/jsdoccomment`
## 0.23.6
- fix(`commentParserToESTree`): ensure `postType` added after multi-line type
- fix(`estreeToString`): ensure `JsdocTypeLine` stringified with `initial` and
that they are joined together with newlines
## 0.23.5

@@ -4,0 +10,0 @@

2

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

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

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

postName,
postType,
tag: tg

@@ -210,2 +211,3 @@ }} = source[idx + i];

if (name) {
tkns.postType = postType;
tkns.name = name;

@@ -212,0 +214,0 @@ tkns.postName = postName;

@@ -41,3 +41,3 @@ import {

}) {
return `${delimiter}${postDelimiter}{${rawType}}`;
return `${initial}${delimiter}${postDelimiter}${rawType}`;
},

@@ -58,3 +58,3 @@ JsdocTag (node, parsedType, typeLines, descriptionLines) {

// We can't use raw `typeLines` as first argument has delimiter on it
typeLines
typeLines.length ? `{${typeLines.join('\n')}}` : ''
}${postType}${

@@ -61,0 +61,0 @@ name ? `${name}${postName || (description ? '\n' : '')}` : ''

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