jsdoczoom 0.4.19 → 0.4.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -118,6 +118,11 @@ function getAllBlockComments(sourceText, start, end) {
118
118
  pos++;
119
119
  continue;
120
120
  }
121
+ // Skip shebang line (e.g. #!/usr/bin/env node) — only valid at position 0
122
+ if (pos === 0 && sourceText[0] === "#" && sourceText[1] === "!") {
123
+ pos = findLineCommentEnd(sourceText, pos + 2);
124
+ continue;
125
+ }
121
126
  const nextChar = sourceText[pos + 1];
122
127
  if (sourceText[pos] !== "/" || pos + 1 >= end) break;
123
128
  if (nextChar === "*") {
@@ -28,6 +28,7 @@ const serviceCache = new Map();
28
28
  export function resolveCompilerOptions(filePath) {
29
29
  // Required overrides that must always be present
30
30
  const requiredOverrides = {
31
+ noEmit: false,
31
32
  declaration: true,
32
33
  emitDeclarationOnly: true,
33
34
  removeComments: false,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jsdoczoom",
3
- "version": "0.4.19",
3
+ "version": "0.4.21",
4
4
  "description": "CLI tool for extracting JSDoc summaries at configurable depths",
5
5
  "type": "module",
6
6
  "sideEffects": false,