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.8.0-alpha.1 to 0.8.0-alpha.2

6

CHANGES.md
# CHANGES for `@es-joy/jsdoccomment`
## 0.8.0
## 0.8.0-alpha.2
- Fix: Avoid erring with missing `typeLines`
## 0.8.0-alpha.1
- Breaking change: Export globally as `JsdocComment`

@@ -6,0 +10,0 @@ - Breaking change: Change `JSDoc` prefixes of all node types to `Jsdoc`

2

package.json
{
"name": "@es-joy/jsdoccomment",
"version": "0.8.0-alpha.1",
"version": "0.8.0-alpha.2",
"author": "Brett Zamir <brettz9@yahoo.com>",

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

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

stripEncapsulatingBrackets(lastTag);
stripEncapsulatingBrackets(lastTag.typeLines, true);
if (lastTag.typeLines.length) {
stripEncapsulatingBrackets(lastTag.typeLines, true);
}

@@ -68,0 +70,0 @@ // With even a multiline type now in full, add parsing

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