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.33.0 to 0.33.1

6

CHANGES.md
# CHANGES for `@es-joy/jsdoccomment`
## 0.33.1
- fix: add to default no types: `description`, `example`, `file`,
`fileoverview`, `license`, `overview`, `see`, `summary`
- fix: add to no names: `file`, `fileoverview, `overview`
## 0.33.0

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

2

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

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

@@ -82,7 +82,8 @@ # @es-joy/jsdoccomment

- `defaultNoTypes` = The tags which allow no types by default:
`default`, `defaultvalue`, `see`;
`default`, `defaultvalue`, `description`, `example`, `file`,
`fileoverview`, `license`, `overview`, `see`, `summary`;
- `defaultNoNames` - The tags which allow no names by default:
`access`, `author`, `default`, `defaultvalue`, `description`, `example`,
`exception`, `kind`, `license`, `return`, `returns`, `since`, `summary`,
`throws`, `version`, `variation`
`exception`, `file`, `fileoverview`, `kind`, `license`, `overview`,
`return`, `returns`, `since`, `summary`, `throws`, `version`, `variation`

@@ -204,6 +205,10 @@ ## ESLint AST produced for `comment-parser` nodes (`JsdocBlock`, `JsdocTag`, and `JsdocDescriptionLine`)

1. Get complete code coverage
2. Might add `trailing` for `JsdocBlock` to know whether it is followed by a
1. Given that `esquery` expects a `right` property to search for `>` (the
child selector), we should perhaps insist, for example, that params are
the child property for `JsdocBlock` or such. Where `:has()` is currently
needed, one could thus instead just use `>`.
1. Might add `trailing` for `JsdocBlock` to know whether it is followed by a
line break or what not; `comment-parser` does not provide, however
3. Fix and properly utilize `indent` argument (challenging for
1. Fix and properly utilize `indent` argument (challenging for
`eslint-plugin-jsdoc` but needed for `jsdoc-eslint-parser` stringifiers
to be more faithful); should also then use the proposed `trailing` as well

@@ -18,3 +18,7 @@ /* eslint-disable prefer-named-capture-group -- Temporary */

export const defaultNoTypes = ['default', 'defaultvalue', 'see'];
export const defaultNoTypes = [
'default', 'defaultvalue', 'description', 'example',
'file', 'fileoverview', 'license',
'overview', 'see', 'summary'
];

@@ -25,4 +29,5 @@ export const defaultNoNames = [

'description',
'example', 'exception', 'kind',
'license',
'example', 'exception', 'file', 'fileoverview',
'kind',
'license', 'overview',
'return', 'returns',

@@ -29,0 +34,0 @@ 'since', 'summary',

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