You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+14-1Lines changed: 14 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,20 @@
2
2
3
3
All notable changes to this project will be documented in this file.
4
4
5
-
This project adheres to [Semantic Versioning](https://semver.org) and follows the [Keep a Changelog](https://keepachangelog.com/en/1.1.0/) format.
5
+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6
+
7
+
## [1.1.0] - 2025-08-07
8
+
9
+
### Added
10
+
11
+
-**Fix for ES6 default export issues**: The plugin now corrects wrong names and structures for exported classes, functions, object literals, and their members.
12
+
- Fixes the issue where default exports appear as `exports` instead of their actual names
13
+
- Corrects class method scoping and memberof relationships
14
+
- Extracts meaningful names from `@type` annotations for object literals
15
+
- Properly links class members (constructor, properties, methods) to their parent class
Copy file name to clipboardExpand all lines: README.md
+36-4Lines changed: 36 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@
3
3
4
4
# JSDoc ESNext Plugin
5
5
6
-
**Smart JSDoc plugin that adds full ES2022+ class-feature support – private fields, static members and arrow-bound methods.**
6
+
**JSDoc plugin that adds full ES2022+ class-feature support – private fields, static members, arrow-bound methods, as well as ES6 default export fixes.**
7
7
8
8
Modern JavaScript syntax isn’t always accurately recognized by JSDoc. This plugin enables accurate recognition of modern ECMAScript class structures and enhances the resulting documentation.
9
9
@@ -14,6 +14,7 @@ Modern JavaScript syntax isn’t always accurately recognized by JSDoc. This plu
14
14
* Detects `static` class members and applies `@static` and `scope: static`.
15
15
* Treats arrow-bound methods as `@function`.
16
16
* Detects assignments like `this.#foo = ...` in constructors.
17
+
***Fixes various ES6 default export issues** - corrects wrong names and structures for exported classes, functions, object literals, and their members.
17
18
* Works seamlessly with JSDoc's default parser.
18
19
* Works with all themes (but see note below!).
19
20
* Perfectly integrates with [VisionTheme](https://github.com/alphanull/jsdoc-vision-theme) for a modern UI (optional).
@@ -35,7 +36,7 @@ Then, add the plugin to your JSDoc configuration file:
* Class members (constructor, properties, methods) are correctly linked to their parent class and do not appear in `Global`.
118
+
87
119
## Limitations
88
120
89
121
While there are no limitations with this plugin per se, for private members (which start with "#") there can be resulting hash links containing two hashes, like: `<a href="##privateMember">#privateMember</a>` which can lead to broken links. Unfortunately, this cannot be handled by the plugin itself and needs to be managed by the theme.
0 commit comments