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.9.0-alpha.5 to 0.9.0-alpha.6

6

CHANGES.md
# CHANGES for `@es-joy/jsdoccomment`
## 0.9.0-alpha.6
### User-impacting
- Update: For `ocmment-parser` update, add `lineEnd`
## 0.9.0-alpha.5

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

4

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

@@ -49,3 +49,3 @@ "contributors": [],

"dependencies": {
"comment-parser": "1.1.6-beta.2",
"comment-parser": "1.1.6-beta.3",
"esquery": "^1.4.0",

@@ -52,0 +52,0 @@ "jsdoc-type-pratt-parser": "1.0.4"

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

delimiter: delimiterRoot,
lineEnd: lineEndRoot,
postDelimiter: postDelimiterRoot,

@@ -37,2 +38,3 @@ end: endRoot,

postDelimiter: postDelimiterRoot,
lineEnd: lineEndRoot,

@@ -39,0 +41,0 @@ type: 'JsdocBlock'

@@ -62,5 +62,5 @@ /* eslint-disable prefer-named-capture-group -- Temporary */

const extra = remainder.slice(pos + 1);
let postName = '', description = '';
let postName = '', description = '', lineEnd = '';
if (pos > -1) {
[, postName, description] = extra.match(/(\s*)(.*)/u);
[, postName, description, lineEnd] = extra.match(/(\s*)([^\r]*)(\r)?/u);
}

@@ -74,2 +74,3 @@

tokens.description = description;
tokens.lineEnd = lineEnd || '';

@@ -111,2 +112,3 @@ return spec;

description: '',
lineEnd: '',
end: '',

@@ -122,2 +124,3 @@ postDelimiter: '',

description: '',
lineEnd: '',
end: '*/',

@@ -124,0 +127,0 @@ postDelimiter: '',

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