@venos-inc/venos 0.1.10 → 0.1.12

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.
Files changed (68) hide show
  1. package/README.md +12 -9
  2. package/dist/index.js +77 -80
  3. package/etc/mcp-server/bin.js +2 -2
  4. package/etc/mcp-server/client.js +23 -0
  5. package/etc/mcp-server/node_modules/@babel/core/node_modules/.bin/json5 +2 -2
  6. package/etc/mcp-server/node_modules/@babel/core/node_modules/.bin/parser +2 -2
  7. package/etc/mcp-server/node_modules/@babel/core/node_modules/.bin/semver +2 -2
  8. package/etc/mcp-server/node_modules/@babel/generator/node_modules/.bin/jsesc +2 -2
  9. package/etc/mcp-server/node_modules/@babel/generator/node_modules/.bin/parser +2 -2
  10. package/etc/mcp-server/node_modules/@babel/helper-compilation-targets/node_modules/.bin/browserslist +2 -2
  11. package/etc/mcp-server/node_modules/@babel/helper-compilation-targets/node_modules/.bin/semver +2 -2
  12. package/etc/mcp-server/node_modules/@babel/template/node_modules/.bin/parser +2 -2
  13. package/etc/mcp-server/node_modules/@babel/traverse/node_modules/.bin/parser +2 -2
  14. package/etc/mcp-server/node_modules/@eslint/core/README.md +3 -3
  15. package/etc/mcp-server/node_modules/@eslint/core/dist/cjs/types.d.cts +47 -9
  16. package/etc/mcp-server/node_modules/@eslint/core/dist/esm/types.d.ts +47 -9
  17. package/etc/mcp-server/node_modules/@eslint/core/package.json +5 -5
  18. package/etc/mcp-server/node_modules/@eslint/eslintrc/node_modules/.bin/js-yaml +2 -2
  19. package/etc/mcp-server/node_modules/@eslint/plugin-kit/README.md +9 -11
  20. package/etc/mcp-server/node_modules/@eslint/plugin-kit/dist/cjs/index.cjs +21 -12
  21. package/etc/mcp-server/node_modules/@eslint/plugin-kit/dist/cjs/index.d.cts +31 -19
  22. package/etc/mcp-server/node_modules/@eslint/plugin-kit/dist/esm/index.d.ts +31 -19
  23. package/etc/mcp-server/node_modules/@eslint/plugin-kit/dist/esm/index.js +21 -12
  24. package/etc/mcp-server/node_modules/@eslint/plugin-kit/package.json +6 -9
  25. package/etc/mcp-server/node_modules/@eslint-community/eslint-utils/node_modules/.bin/eslint +2 -2
  26. package/etc/mcp-server/node_modules/@types/babel__core/node_modules/.bin/parser +2 -2
  27. package/etc/mcp-server/node_modules/@types/babel__template/node_modules/.bin/parser +2 -2
  28. package/etc/mcp-server/node_modules/@typescript-eslint/eslint-plugin/node_modules/.bin/eslint +2 -2
  29. package/etc/mcp-server/node_modules/@typescript-eslint/eslint-plugin/node_modules/.bin/tsc +2 -2
  30. package/etc/mcp-server/node_modules/@typescript-eslint/eslint-plugin/node_modules/.bin/tsserver +2 -2
  31. package/etc/mcp-server/node_modules/@typescript-eslint/parser/node_modules/.bin/eslint +2 -2
  32. package/etc/mcp-server/node_modules/@typescript-eslint/parser/node_modules/.bin/tsc +2 -2
  33. package/etc/mcp-server/node_modules/@typescript-eslint/parser/node_modules/.bin/tsserver +2 -2
  34. package/etc/mcp-server/node_modules/@typescript-eslint/project-service/node_modules/.bin/tsc +2 -2
  35. package/etc/mcp-server/node_modules/@typescript-eslint/project-service/node_modules/.bin/tsserver +2 -2
  36. package/etc/mcp-server/node_modules/@typescript-eslint/tsconfig-utils/node_modules/.bin/tsc +2 -2
  37. package/etc/mcp-server/node_modules/@typescript-eslint/tsconfig-utils/node_modules/.bin/tsserver +2 -2
  38. package/etc/mcp-server/node_modules/@typescript-eslint/type-utils/node_modules/.bin/eslint +2 -2
  39. package/etc/mcp-server/node_modules/@typescript-eslint/type-utils/node_modules/.bin/tsc +2 -2
  40. package/etc/mcp-server/node_modules/@typescript-eslint/type-utils/node_modules/.bin/tsserver +2 -2
  41. package/etc/mcp-server/node_modules/@typescript-eslint/typescript-estree/node_modules/.bin/semver +2 -2
  42. package/etc/mcp-server/node_modules/@typescript-eslint/typescript-estree/node_modules/.bin/tsc +2 -2
  43. package/etc/mcp-server/node_modules/@typescript-eslint/typescript-estree/node_modules/.bin/tsserver +2 -2
  44. package/etc/mcp-server/node_modules/@typescript-eslint/utils/node_modules/.bin/eslint +2 -2
  45. package/etc/mcp-server/node_modules/@typescript-eslint/utils/node_modules/.bin/tsc +2 -2
  46. package/etc/mcp-server/node_modules/@typescript-eslint/utils/node_modules/.bin/tsserver +2 -2
  47. package/etc/mcp-server/node_modules/@vitest/mocker/node_modules/.bin/vite +2 -2
  48. package/etc/mcp-server/node_modules/acorn-jsx/node_modules/.bin/acorn +2 -2
  49. package/etc/mcp-server/node_modules/browserslist/node_modules/.bin/baseline-browser-mapping +2 -2
  50. package/etc/mcp-server/node_modules/browserslist/node_modules/.bin/update-browserslist-db +2 -2
  51. package/etc/mcp-server/node_modules/cross-spawn/node_modules/.bin/node-which +2 -2
  52. package/etc/mcp-server/node_modules/espree/node_modules/.bin/acorn +2 -2
  53. package/etc/mcp-server/node_modules/postcss/node_modules/.bin/nanoid +2 -2
  54. package/etc/mcp-server/node_modules/sharp/node_modules/.bin/semver +2 -2
  55. package/etc/mcp-server/node_modules/ts-api-utils/node_modules/.bin/tsc +2 -2
  56. package/etc/mcp-server/node_modules/ts-api-utils/node_modules/.bin/tsserver +2 -2
  57. package/etc/mcp-server/node_modules/typescript-eslint/node_modules/.bin/eslint +2 -2
  58. package/etc/mcp-server/node_modules/typescript-eslint/node_modules/.bin/tsc +2 -2
  59. package/etc/mcp-server/node_modules/typescript-eslint/node_modules/.bin/tsserver +2 -2
  60. package/etc/mcp-server/node_modules/update-browserslist-db/node_modules/.bin/browserslist +2 -2
  61. package/etc/mcp-server/node_modules/vite/node_modules/.bin/esbuild +2 -2
  62. package/etc/mcp-server/node_modules/vite/node_modules/.bin/rollup +2 -2
  63. package/etc/mcp-server/node_modules/vite-node/node_modules/.bin/vite +2 -2
  64. package/etc/mcp-server/node_modules/vitest/node_modules/.bin/vite +2 -2
  65. package/etc/mcp-server/node_modules/vitest/node_modules/.bin/vite-node +2 -2
  66. package/etc/mcp-server/node_modules/vitest/node_modules/.bin/why-is-node-running +2 -2
  67. package/etc/mcp-server/tools.js +172 -138
  68. package/package.json +1 -1
@@ -27,6 +27,7 @@ const validSeverities = new Set([0, 1, 2, "off", "warn", "error"]);
27
27
  /**
28
28
  * Determines if the severity in the rule configuration is valid.
29
29
  * @param {RuleConfig} ruleConfig A rule's configuration.
30
+ * @returns {boolean} `true` if the severity is valid, otherwise `false`.
30
31
  */
31
32
  function isSeverityValid(ruleConfig) {
32
33
  const severity = Array.isArray(ruleConfig) ? ruleConfig[0] : ruleConfig;
@@ -151,7 +152,7 @@ class ConfigCommentParser {
151
152
  * But we are supporting that. So this is a fallback for that.
152
153
  */
153
154
  const normalizedString = string
154
- .replace(/([-a-zA-Z0-9/]+):/gu, '"$1":')
155
+ .replace(/(?<![-a-zA-Z0-9/])([-a-zA-Z0-9/]+):/gu, '"$1":')
155
156
  .replace(/(\]|[0-9])\s+(?=")/u, "$1,");
156
157
 
157
158
  try {
@@ -255,13 +256,17 @@ class ConfigCommentParser {
255
256
 
256
257
  /** @typedef {import("@eslint/core").VisitTraversalStep} VisitTraversalStep */
257
258
  /** @typedef {import("@eslint/core").CallTraversalStep} CallTraversalStep */
258
- /** @typedef {import("@eslint/core").TextSourceCode} TextSourceCode */
259
259
  /** @typedef {import("@eslint/core").TraversalStep} TraversalStep */
260
260
  /** @typedef {import("@eslint/core").SourceLocation} SourceLocation */
261
261
  /** @typedef {import("@eslint/core").SourceLocationWithOffset} SourceLocationWithOffset */
262
262
  /** @typedef {import("@eslint/core").SourceRange} SourceRange */
263
263
  /** @typedef {import("@eslint/core").Directive} IDirective */
264
264
  /** @typedef {import("@eslint/core").DirectiveType} DirectiveType */
265
+ /** @typedef {import("@eslint/core").SourceCodeBaseTypeOptions} SourceCodeBaseTypeOptions */
266
+ /**
267
+ * @typedef {import("@eslint/core").TextSourceCode<Options>} TextSourceCode<Options>
268
+ * @template {SourceCodeBaseTypeOptions} [Options=SourceCodeBaseTypeOptions]
269
+ */
265
270
 
266
271
  //-----------------------------------------------------------------------------
267
272
  // Helpers
@@ -456,7 +461,8 @@ class Directive {
456
461
 
457
462
  /**
458
463
  * Source Code Base Object
459
- * @implements {TextSourceCode}
464
+ * @template {SourceCodeBaseTypeOptions & {SyntaxElementWithLoc: object}} [Options=SourceCodeBaseTypeOptions & {SyntaxElementWithLoc: object}]
465
+ * @implements {TextSourceCode<Options>}
460
466
  */
461
467
  class TextSourceCodeBase {
462
468
  /**
@@ -467,7 +473,7 @@ class TextSourceCodeBase {
467
473
 
468
474
  /**
469
475
  * The AST of the source code.
470
- * @type {object}
476
+ * @type {Options['RootNode']}
471
477
  */
472
478
  ast;
473
479
 
@@ -481,7 +487,7 @@ class TextSourceCodeBase {
481
487
  * Creates a new instance.
482
488
  * @param {Object} options The options for the instance.
483
489
  * @param {string} options.text The source code text.
484
- * @param {object} options.ast The root AST node.
490
+ * @param {Options['RootNode']} options.ast The root AST node.
485
491
  * @param {RegExp} [options.lineEndingPattern] The pattern to match lineEndings in the source code.
486
492
  */
487
493
  constructor({ text, ast, lineEndingPattern = /\r?\n/u }) {
@@ -492,8 +498,9 @@ class TextSourceCodeBase {
492
498
 
493
499
  /**
494
500
  * Returns the loc information for the given node or token.
495
- * @param {object} nodeOrToken The node or token to get the loc information for.
501
+ * @param {Options['SyntaxElementWithLoc']} nodeOrToken The node or token to get the loc information for.
496
502
  * @returns {SourceLocation} The loc information for the node or token.
503
+ * @throws {Error} If the node or token does not have loc information.
497
504
  */
498
505
  getLoc(nodeOrToken) {
499
506
  if (hasESTreeStyleLoc(nodeOrToken)) {
@@ -511,8 +518,9 @@ class TextSourceCodeBase {
511
518
 
512
519
  /**
513
520
  * Returns the range information for the given node or token.
514
- * @param {object} nodeOrToken The node or token to get the range information for.
521
+ * @param {Options['SyntaxElementWithLoc']} nodeOrToken The node or token to get the range information for.
515
522
  * @returns {SourceRange} The range information for the node or token.
523
+ * @throws {Error} If the node or token does not have range information.
516
524
  */
517
525
  getRange(nodeOrToken) {
518
526
  if (hasESTreeStyleRange(nodeOrToken)) {
@@ -534,8 +542,9 @@ class TextSourceCodeBase {
534
542
  /* eslint-disable no-unused-vars -- Required to complete interface. */
535
543
  /**
536
544
  * Returns the parent of the given node.
537
- * @param {object} node The node to get the parent of.
538
- * @returns {object|undefined} The parent of the node.
545
+ * @param {Options['SyntaxElementWithLoc']} node The node to get the parent of.
546
+ * @returns {Options['SyntaxElementWithLoc']|undefined} The parent of the node.
547
+ * @throws {Error} If the method is not implemented in the subclass.
539
548
  */
540
549
  getParent(node) {
541
550
  throw new Error("Not implemented.");
@@ -544,8 +553,8 @@ class TextSourceCodeBase {
544
553
 
545
554
  /**
546
555
  * Gets all the ancestors of a given node
547
- * @param {object} node The node
548
- * @returns {Array<object>} All the ancestor nodes in the AST, not including the provided node, starting
556
+ * @param {Options['SyntaxElementWithLoc']} node The node
557
+ * @returns {Array<Options['SyntaxElementWithLoc']>} All the ancestor nodes in the AST, not including the provided node, starting
549
558
  * from the root node at index 0 and going inwards to the parent node.
550
559
  * @throws {TypeError} When `node` is missing.
551
560
  */
@@ -569,7 +578,7 @@ class TextSourceCodeBase {
569
578
 
570
579
  /**
571
580
  * Gets the source code for the given node.
572
- * @param {object} [node] The AST node to get the text for.
581
+ * @param {Options['SyntaxElementWithLoc']} [node] The AST node to get the text for.
573
582
  * @param {number} [beforeCount] The number of characters before the node to retrieve.
574
583
  * @param {number} [afterCount] The number of characters after the node to retrieve.
575
584
  * @returns {string} The text representing the AST node.
@@ -1,12 +1,16 @@
1
1
  export type VisitTraversalStep = import("@eslint/core").VisitTraversalStep;
2
2
  export type CallTraversalStep = import("@eslint/core").CallTraversalStep;
3
- export type TextSourceCode = import("@eslint/core").TextSourceCode;
4
3
  export type TraversalStep = import("@eslint/core").TraversalStep;
5
4
  export type SourceLocation = import("@eslint/core").SourceLocation;
6
5
  export type SourceLocationWithOffset = import("@eslint/core").SourceLocationWithOffset;
7
6
  export type SourceRange = import("@eslint/core").SourceRange;
8
7
  export type IDirective = import("@eslint/core").Directive;
9
8
  export type DirectiveType = import("@eslint/core").DirectiveType;
9
+ export type SourceCodeBaseTypeOptions = import("@eslint/core").SourceCodeBaseTypeOptions;
10
+ /**
11
+ * <Options>
12
+ */
13
+ export type TextSourceCode<Options extends SourceCodeBaseTypeOptions = import("@eslint/core").SourceCodeBaseTypeOptions> = import("@eslint/core").TextSourceCode<Options>;
10
14
  export type RuleConfig = import("@eslint/core").RuleConfig;
11
15
  export type RulesConfig = import("@eslint/core").RulesConfig;
12
16
  export type StringConfig = import("./types.cts").StringConfig;
@@ -137,26 +141,31 @@ export class Directive implements IDirective {
137
141
  }
138
142
  /**
139
143
  * Source Code Base Object
140
- * @implements {TextSourceCode}
144
+ * @template {SourceCodeBaseTypeOptions & {SyntaxElementWithLoc: object}} [Options=SourceCodeBaseTypeOptions & {SyntaxElementWithLoc: object}]
145
+ * @implements {TextSourceCode<Options>}
141
146
  */
142
- export class TextSourceCodeBase implements TextSourceCode {
147
+ export class TextSourceCodeBase<Options extends SourceCodeBaseTypeOptions & {
148
+ SyntaxElementWithLoc: object;
149
+ } = import("@eslint/core").SourceCodeBaseTypeOptions & {
150
+ SyntaxElementWithLoc: object;
151
+ }> implements TextSourceCode<Options> {
143
152
  /**
144
153
  * Creates a new instance.
145
154
  * @param {Object} options The options for the instance.
146
155
  * @param {string} options.text The source code text.
147
- * @param {object} options.ast The root AST node.
156
+ * @param {Options['RootNode']} options.ast The root AST node.
148
157
  * @param {RegExp} [options.lineEndingPattern] The pattern to match lineEndings in the source code.
149
158
  */
150
159
  constructor({ text, ast, lineEndingPattern }: {
151
160
  text: string;
152
- ast: object;
161
+ ast: Options["RootNode"];
153
162
  lineEndingPattern?: RegExp;
154
163
  });
155
164
  /**
156
165
  * The AST of the source code.
157
- * @type {object}
166
+ * @type {Options['RootNode']}
158
167
  */
159
- ast: object;
168
+ ast: Options["RootNode"];
160
169
  /**
161
170
  * The text of the source code.
162
171
  * @type {string}
@@ -164,39 +173,42 @@ export class TextSourceCodeBase implements TextSourceCode {
164
173
  text: string;
165
174
  /**
166
175
  * Returns the loc information for the given node or token.
167
- * @param {object} nodeOrToken The node or token to get the loc information for.
176
+ * @param {Options['SyntaxElementWithLoc']} nodeOrToken The node or token to get the loc information for.
168
177
  * @returns {SourceLocation} The loc information for the node or token.
178
+ * @throws {Error} If the node or token does not have loc information.
169
179
  */
170
- getLoc(nodeOrToken: object): SourceLocation;
180
+ getLoc(nodeOrToken: Options["SyntaxElementWithLoc"]): SourceLocation;
171
181
  /**
172
182
  * Returns the range information for the given node or token.
173
- * @param {object} nodeOrToken The node or token to get the range information for.
183
+ * @param {Options['SyntaxElementWithLoc']} nodeOrToken The node or token to get the range information for.
174
184
  * @returns {SourceRange} The range information for the node or token.
185
+ * @throws {Error} If the node or token does not have range information.
175
186
  */
176
- getRange(nodeOrToken: object): SourceRange;
187
+ getRange(nodeOrToken: Options["SyntaxElementWithLoc"]): SourceRange;
177
188
  /**
178
189
  * Returns the parent of the given node.
179
- * @param {object} node The node to get the parent of.
180
- * @returns {object|undefined} The parent of the node.
190
+ * @param {Options['SyntaxElementWithLoc']} node The node to get the parent of.
191
+ * @returns {Options['SyntaxElementWithLoc']|undefined} The parent of the node.
192
+ * @throws {Error} If the method is not implemented in the subclass.
181
193
  */
182
- getParent(node: object): object | undefined;
194
+ getParent(node: Options["SyntaxElementWithLoc"]): Options["SyntaxElementWithLoc"] | undefined;
183
195
  /**
184
196
  * Gets all the ancestors of a given node
185
- * @param {object} node The node
186
- * @returns {Array<object>} All the ancestor nodes in the AST, not including the provided node, starting
197
+ * @param {Options['SyntaxElementWithLoc']} node The node
198
+ * @returns {Array<Options['SyntaxElementWithLoc']>} All the ancestor nodes in the AST, not including the provided node, starting
187
199
  * from the root node at index 0 and going inwards to the parent node.
188
200
  * @throws {TypeError} When `node` is missing.
189
201
  */
190
- getAncestors(node: object): Array<object>;
202
+ getAncestors(node: Options["SyntaxElementWithLoc"]): Array<Options["SyntaxElementWithLoc"]>;
191
203
  /**
192
204
  * Gets the source code for the given node.
193
- * @param {object} [node] The AST node to get the text for.
205
+ * @param {Options['SyntaxElementWithLoc']} [node] The AST node to get the text for.
194
206
  * @param {number} [beforeCount] The number of characters before the node to retrieve.
195
207
  * @param {number} [afterCount] The number of characters after the node to retrieve.
196
208
  * @returns {string} The text representing the AST node.
197
209
  * @public
198
210
  */
199
- public getText(node?: object, beforeCount?: number, afterCount?: number): string;
211
+ public getText(node?: Options["SyntaxElementWithLoc"], beforeCount?: number, afterCount?: number): string;
200
212
  /**
201
213
  * Gets the entire source text split into an array of lines.
202
214
  * @returns {Array<string>} The source text as an array of lines.
@@ -1,12 +1,16 @@
1
1
  export type VisitTraversalStep = import("@eslint/core").VisitTraversalStep;
2
2
  export type CallTraversalStep = import("@eslint/core").CallTraversalStep;
3
- export type TextSourceCode = import("@eslint/core").TextSourceCode;
4
3
  export type TraversalStep = import("@eslint/core").TraversalStep;
5
4
  export type SourceLocation = import("@eslint/core").SourceLocation;
6
5
  export type SourceLocationWithOffset = import("@eslint/core").SourceLocationWithOffset;
7
6
  export type SourceRange = import("@eslint/core").SourceRange;
8
7
  export type IDirective = import("@eslint/core").Directive;
9
8
  export type DirectiveType = import("@eslint/core").DirectiveType;
9
+ export type SourceCodeBaseTypeOptions = import("@eslint/core").SourceCodeBaseTypeOptions;
10
+ /**
11
+ * <Options>
12
+ */
13
+ export type TextSourceCode<Options extends SourceCodeBaseTypeOptions = import("@eslint/core").SourceCodeBaseTypeOptions> = import("@eslint/core").TextSourceCode<Options>;
10
14
  export type RuleConfig = import("@eslint/core").RuleConfig;
11
15
  export type RulesConfig = import("@eslint/core").RulesConfig;
12
16
  export type StringConfig = import("./types.ts").StringConfig;
@@ -137,26 +141,31 @@ export class Directive implements IDirective {
137
141
  }
138
142
  /**
139
143
  * Source Code Base Object
140
- * @implements {TextSourceCode}
144
+ * @template {SourceCodeBaseTypeOptions & {SyntaxElementWithLoc: object}} [Options=SourceCodeBaseTypeOptions & {SyntaxElementWithLoc: object}]
145
+ * @implements {TextSourceCode<Options>}
141
146
  */
142
- export class TextSourceCodeBase implements TextSourceCode {
147
+ export class TextSourceCodeBase<Options extends SourceCodeBaseTypeOptions & {
148
+ SyntaxElementWithLoc: object;
149
+ } = import("@eslint/core").SourceCodeBaseTypeOptions & {
150
+ SyntaxElementWithLoc: object;
151
+ }> implements TextSourceCode<Options> {
143
152
  /**
144
153
  * Creates a new instance.
145
154
  * @param {Object} options The options for the instance.
146
155
  * @param {string} options.text The source code text.
147
- * @param {object} options.ast The root AST node.
156
+ * @param {Options['RootNode']} options.ast The root AST node.
148
157
  * @param {RegExp} [options.lineEndingPattern] The pattern to match lineEndings in the source code.
149
158
  */
150
159
  constructor({ text, ast, lineEndingPattern }: {
151
160
  text: string;
152
- ast: object;
161
+ ast: Options["RootNode"];
153
162
  lineEndingPattern?: RegExp;
154
163
  });
155
164
  /**
156
165
  * The AST of the source code.
157
- * @type {object}
166
+ * @type {Options['RootNode']}
158
167
  */
159
- ast: object;
168
+ ast: Options["RootNode"];
160
169
  /**
161
170
  * The text of the source code.
162
171
  * @type {string}
@@ -164,39 +173,42 @@ export class TextSourceCodeBase implements TextSourceCode {
164
173
  text: string;
165
174
  /**
166
175
  * Returns the loc information for the given node or token.
167
- * @param {object} nodeOrToken The node or token to get the loc information for.
176
+ * @param {Options['SyntaxElementWithLoc']} nodeOrToken The node or token to get the loc information for.
168
177
  * @returns {SourceLocation} The loc information for the node or token.
178
+ * @throws {Error} If the node or token does not have loc information.
169
179
  */
170
- getLoc(nodeOrToken: object): SourceLocation;
180
+ getLoc(nodeOrToken: Options["SyntaxElementWithLoc"]): SourceLocation;
171
181
  /**
172
182
  * Returns the range information for the given node or token.
173
- * @param {object} nodeOrToken The node or token to get the range information for.
183
+ * @param {Options['SyntaxElementWithLoc']} nodeOrToken The node or token to get the range information for.
174
184
  * @returns {SourceRange} The range information for the node or token.
185
+ * @throws {Error} If the node or token does not have range information.
175
186
  */
176
- getRange(nodeOrToken: object): SourceRange;
187
+ getRange(nodeOrToken: Options["SyntaxElementWithLoc"]): SourceRange;
177
188
  /**
178
189
  * Returns the parent of the given node.
179
- * @param {object} node The node to get the parent of.
180
- * @returns {object|undefined} The parent of the node.
190
+ * @param {Options['SyntaxElementWithLoc']} node The node to get the parent of.
191
+ * @returns {Options['SyntaxElementWithLoc']|undefined} The parent of the node.
192
+ * @throws {Error} If the method is not implemented in the subclass.
181
193
  */
182
- getParent(node: object): object | undefined;
194
+ getParent(node: Options["SyntaxElementWithLoc"]): Options["SyntaxElementWithLoc"] | undefined;
183
195
  /**
184
196
  * Gets all the ancestors of a given node
185
- * @param {object} node The node
186
- * @returns {Array<object>} All the ancestor nodes in the AST, not including the provided node, starting
197
+ * @param {Options['SyntaxElementWithLoc']} node The node
198
+ * @returns {Array<Options['SyntaxElementWithLoc']>} All the ancestor nodes in the AST, not including the provided node, starting
187
199
  * from the root node at index 0 and going inwards to the parent node.
188
200
  * @throws {TypeError} When `node` is missing.
189
201
  */
190
- getAncestors(node: object): Array<object>;
202
+ getAncestors(node: Options["SyntaxElementWithLoc"]): Array<Options["SyntaxElementWithLoc"]>;
191
203
  /**
192
204
  * Gets the source code for the given node.
193
- * @param {object} [node] The AST node to get the text for.
205
+ * @param {Options['SyntaxElementWithLoc']} [node] The AST node to get the text for.
194
206
  * @param {number} [beforeCount] The number of characters before the node to retrieve.
195
207
  * @param {number} [afterCount] The number of characters after the node to retrieve.
196
208
  * @returns {string} The text representing the AST node.
197
209
  * @public
198
210
  */
199
- public getText(node?: object, beforeCount?: number, afterCount?: number): string;
211
+ public getText(node?: Options["SyntaxElementWithLoc"], beforeCount?: number, afterCount?: number): string;
200
212
  /**
201
213
  * Gets the entire source text split into an array of lines.
202
214
  * @returns {Array<string>} The source text as an array of lines.
@@ -26,6 +26,7 @@ const validSeverities = new Set([0, 1, 2, "off", "warn", "error"]);
26
26
  /**
27
27
  * Determines if the severity in the rule configuration is valid.
28
28
  * @param {RuleConfig} ruleConfig A rule's configuration.
29
+ * @returns {boolean} `true` if the severity is valid, otherwise `false`.
29
30
  */
30
31
  function isSeverityValid(ruleConfig) {
31
32
  const severity = Array.isArray(ruleConfig) ? ruleConfig[0] : ruleConfig;
@@ -150,7 +151,7 @@ class ConfigCommentParser {
150
151
  * But we are supporting that. So this is a fallback for that.
151
152
  */
152
153
  const normalizedString = string
153
- .replace(/([-a-zA-Z0-9/]+):/gu, '"$1":')
154
+ .replace(/(?<![-a-zA-Z0-9/])([-a-zA-Z0-9/]+):/gu, '"$1":')
154
155
  .replace(/(\]|[0-9])\s+(?=")/u, "$1,");
155
156
 
156
157
  try {
@@ -254,13 +255,17 @@ class ConfigCommentParser {
254
255
 
255
256
  /** @typedef {import("@eslint/core").VisitTraversalStep} VisitTraversalStep */
256
257
  /** @typedef {import("@eslint/core").CallTraversalStep} CallTraversalStep */
257
- /** @typedef {import("@eslint/core").TextSourceCode} TextSourceCode */
258
258
  /** @typedef {import("@eslint/core").TraversalStep} TraversalStep */
259
259
  /** @typedef {import("@eslint/core").SourceLocation} SourceLocation */
260
260
  /** @typedef {import("@eslint/core").SourceLocationWithOffset} SourceLocationWithOffset */
261
261
  /** @typedef {import("@eslint/core").SourceRange} SourceRange */
262
262
  /** @typedef {import("@eslint/core").Directive} IDirective */
263
263
  /** @typedef {import("@eslint/core").DirectiveType} DirectiveType */
264
+ /** @typedef {import("@eslint/core").SourceCodeBaseTypeOptions} SourceCodeBaseTypeOptions */
265
+ /**
266
+ * @typedef {import("@eslint/core").TextSourceCode<Options>} TextSourceCode<Options>
267
+ * @template {SourceCodeBaseTypeOptions} [Options=SourceCodeBaseTypeOptions]
268
+ */
264
269
 
265
270
  //-----------------------------------------------------------------------------
266
271
  // Helpers
@@ -455,7 +460,8 @@ class Directive {
455
460
 
456
461
  /**
457
462
  * Source Code Base Object
458
- * @implements {TextSourceCode}
463
+ * @template {SourceCodeBaseTypeOptions & {SyntaxElementWithLoc: object}} [Options=SourceCodeBaseTypeOptions & {SyntaxElementWithLoc: object}]
464
+ * @implements {TextSourceCode<Options>}
459
465
  */
460
466
  class TextSourceCodeBase {
461
467
  /**
@@ -466,7 +472,7 @@ class TextSourceCodeBase {
466
472
 
467
473
  /**
468
474
  * The AST of the source code.
469
- * @type {object}
475
+ * @type {Options['RootNode']}
470
476
  */
471
477
  ast;
472
478
 
@@ -480,7 +486,7 @@ class TextSourceCodeBase {
480
486
  * Creates a new instance.
481
487
  * @param {Object} options The options for the instance.
482
488
  * @param {string} options.text The source code text.
483
- * @param {object} options.ast The root AST node.
489
+ * @param {Options['RootNode']} options.ast The root AST node.
484
490
  * @param {RegExp} [options.lineEndingPattern] The pattern to match lineEndings in the source code.
485
491
  */
486
492
  constructor({ text, ast, lineEndingPattern = /\r?\n/u }) {
@@ -491,8 +497,9 @@ class TextSourceCodeBase {
491
497
 
492
498
  /**
493
499
  * Returns the loc information for the given node or token.
494
- * @param {object} nodeOrToken The node or token to get the loc information for.
500
+ * @param {Options['SyntaxElementWithLoc']} nodeOrToken The node or token to get the loc information for.
495
501
  * @returns {SourceLocation} The loc information for the node or token.
502
+ * @throws {Error} If the node or token does not have loc information.
496
503
  */
497
504
  getLoc(nodeOrToken) {
498
505
  if (hasESTreeStyleLoc(nodeOrToken)) {
@@ -510,8 +517,9 @@ class TextSourceCodeBase {
510
517
 
511
518
  /**
512
519
  * Returns the range information for the given node or token.
513
- * @param {object} nodeOrToken The node or token to get the range information for.
520
+ * @param {Options['SyntaxElementWithLoc']} nodeOrToken The node or token to get the range information for.
514
521
  * @returns {SourceRange} The range information for the node or token.
522
+ * @throws {Error} If the node or token does not have range information.
515
523
  */
516
524
  getRange(nodeOrToken) {
517
525
  if (hasESTreeStyleRange(nodeOrToken)) {
@@ -533,8 +541,9 @@ class TextSourceCodeBase {
533
541
  /* eslint-disable no-unused-vars -- Required to complete interface. */
534
542
  /**
535
543
  * Returns the parent of the given node.
536
- * @param {object} node The node to get the parent of.
537
- * @returns {object|undefined} The parent of the node.
544
+ * @param {Options['SyntaxElementWithLoc']} node The node to get the parent of.
545
+ * @returns {Options['SyntaxElementWithLoc']|undefined} The parent of the node.
546
+ * @throws {Error} If the method is not implemented in the subclass.
538
547
  */
539
548
  getParent(node) {
540
549
  throw new Error("Not implemented.");
@@ -543,8 +552,8 @@ class TextSourceCodeBase {
543
552
 
544
553
  /**
545
554
  * Gets all the ancestors of a given node
546
- * @param {object} node The node
547
- * @returns {Array<object>} All the ancestor nodes in the AST, not including the provided node, starting
555
+ * @param {Options['SyntaxElementWithLoc']} node The node
556
+ * @returns {Array<Options['SyntaxElementWithLoc']>} All the ancestor nodes in the AST, not including the provided node, starting
548
557
  * from the root node at index 0 and going inwards to the parent node.
549
558
  * @throws {TypeError} When `node` is missing.
550
559
  */
@@ -568,7 +577,7 @@ class TextSourceCodeBase {
568
577
 
569
578
  /**
570
579
  * Gets the source code for the given node.
571
- * @param {object} [node] The AST node to get the text for.
580
+ * @param {Options['SyntaxElementWithLoc']} [node] The AST node to get the text for.
572
581
  * @param {number} [beforeCount] The number of characters before the node to retrieve.
573
582
  * @param {number} [afterCount] The number of characters after the node to retrieve.
574
583
  * @returns {string} The text representing the AST node.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eslint/plugin-kit",
3
- "version": "0.2.8",
3
+ "version": "0.3.4",
4
4
  "description": "Utilities for building ESLint plugins.",
5
5
  "author": "Nicholas C. Zakas",
6
6
  "type": "module",
@@ -24,12 +24,13 @@
24
24
  },
25
25
  "repository": {
26
26
  "type": "git",
27
- "url": "git+https://github.com/eslint/rewrite.git"
27
+ "url": "git+https://github.com/eslint/rewrite.git",
28
+ "directory": "packages/plugin-kit"
28
29
  },
29
30
  "bugs": {
30
31
  "url": "https://github.com/eslint/rewrite/issues"
31
32
  },
32
- "homepage": "https://github.com/eslint/rewrite#readme",
33
+ "homepage": "https://github.com/eslint/rewrite/tree/main/packages/plugin-kit#readme",
33
34
  "scripts": {
34
35
  "build:dedupe-types": "node ../../tools/dedupe-types.js dist/cjs/index.cjs dist/esm/index.js",
35
36
  "build:cts": "node ../../tools/build-cts.js dist/esm/index.d.ts dist/cjs/index.d.cts",
@@ -47,16 +48,12 @@
47
48
  ],
48
49
  "license": "Apache-2.0",
49
50
  "dependencies": {
50
- "@eslint/core": "^0.13.0",
51
+ "@eslint/core": "^0.15.1",
51
52
  "levn": "^0.4.1"
52
53
  },
53
54
  "devDependencies": {
54
55
  "@types/levn": "^0.4.0",
55
- "c8": "^9.1.0",
56
- "mocha": "^10.4.0",
57
- "rollup": "^4.16.2",
58
- "rollup-plugin-copy": "^3.5.0",
59
- "typescript": "^5.4.5"
56
+ "rollup-plugin-copy": "^3.5.0"
60
57
  },
61
58
  "engines": {
62
59
  "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
@@ -6,9 +6,9 @@ case `uname` in
6
6
  esac
7
7
 
8
8
  if [ -z "$NODE_PATH" ]; then
9
- export NODE_PATH="/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.10/node_modules/.pnpm/eslint@9.17.0/node_modules/eslint/bin/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.10/node_modules/.pnpm/eslint@9.17.0/node_modules/eslint/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.10/node_modules/.pnpm/eslint@9.17.0/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.10/node_modules/.pnpm/node_modules"
9
+ export NODE_PATH="/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.12/node_modules/.pnpm/eslint@9.17.0/node_modules/eslint/bin/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.12/node_modules/.pnpm/eslint@9.17.0/node_modules/eslint/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.12/node_modules/.pnpm/eslint@9.17.0/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.12/node_modules/.pnpm/node_modules"
10
10
  else
11
- export NODE_PATH="/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.10/node_modules/.pnpm/eslint@9.17.0/node_modules/eslint/bin/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.10/node_modules/.pnpm/eslint@9.17.0/node_modules/eslint/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.10/node_modules/.pnpm/eslint@9.17.0/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.10/node_modules/.pnpm/node_modules:$NODE_PATH"
11
+ export NODE_PATH="/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.12/node_modules/.pnpm/eslint@9.17.0/node_modules/eslint/bin/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.12/node_modules/.pnpm/eslint@9.17.0/node_modules/eslint/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.12/node_modules/.pnpm/eslint@9.17.0/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.12/node_modules/.pnpm/node_modules:$NODE_PATH"
12
12
  fi
13
13
  if [ -x "$basedir/node" ]; then
14
14
  exec "$basedir/node" "$basedir/../../../../../../eslint@9.17.0/node_modules/eslint/bin/eslint.js" "$@"
@@ -6,9 +6,9 @@ case `uname` in
6
6
  esac
7
7
 
8
8
  if [ -z "$NODE_PATH" ]; then
9
- export NODE_PATH="/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.10/node_modules/.pnpm/@babel+parser@7.29.7/node_modules/@babel/parser/bin/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.10/node_modules/.pnpm/@babel+parser@7.29.7/node_modules/@babel/parser/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.10/node_modules/.pnpm/@babel+parser@7.29.7/node_modules/@babel/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.10/node_modules/.pnpm/@babel+parser@7.29.7/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.10/node_modules/.pnpm/node_modules"
9
+ export NODE_PATH="/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.12/node_modules/.pnpm/@babel+parser@7.29.7/node_modules/@babel/parser/bin/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.12/node_modules/.pnpm/@babel+parser@7.29.7/node_modules/@babel/parser/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.12/node_modules/.pnpm/@babel+parser@7.29.7/node_modules/@babel/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.12/node_modules/.pnpm/@babel+parser@7.29.7/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.12/node_modules/.pnpm/node_modules"
10
10
  else
11
- export NODE_PATH="/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.10/node_modules/.pnpm/@babel+parser@7.29.7/node_modules/@babel/parser/bin/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.10/node_modules/.pnpm/@babel+parser@7.29.7/node_modules/@babel/parser/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.10/node_modules/.pnpm/@babel+parser@7.29.7/node_modules/@babel/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.10/node_modules/.pnpm/@babel+parser@7.29.7/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.10/node_modules/.pnpm/node_modules:$NODE_PATH"
11
+ export NODE_PATH="/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.12/node_modules/.pnpm/@babel+parser@7.29.7/node_modules/@babel/parser/bin/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.12/node_modules/.pnpm/@babel+parser@7.29.7/node_modules/@babel/parser/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.12/node_modules/.pnpm/@babel+parser@7.29.7/node_modules/@babel/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.12/node_modules/.pnpm/@babel+parser@7.29.7/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.12/node_modules/.pnpm/node_modules:$NODE_PATH"
12
12
  fi
13
13
  if [ -x "$basedir/node" ]; then
14
14
  exec "$basedir/node" "$basedir/../../../../../../@babel+parser@7.29.7/node_modules/@babel/parser/bin/babel-parser.js" "$@"
@@ -6,9 +6,9 @@ case `uname` in
6
6
  esac
7
7
 
8
8
  if [ -z "$NODE_PATH" ]; then
9
- export NODE_PATH="/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.10/node_modules/.pnpm/@babel+parser@7.29.7/node_modules/@babel/parser/bin/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.10/node_modules/.pnpm/@babel+parser@7.29.7/node_modules/@babel/parser/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.10/node_modules/.pnpm/@babel+parser@7.29.7/node_modules/@babel/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.10/node_modules/.pnpm/@babel+parser@7.29.7/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.10/node_modules/.pnpm/node_modules"
9
+ export NODE_PATH="/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.12/node_modules/.pnpm/@babel+parser@7.29.7/node_modules/@babel/parser/bin/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.12/node_modules/.pnpm/@babel+parser@7.29.7/node_modules/@babel/parser/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.12/node_modules/.pnpm/@babel+parser@7.29.7/node_modules/@babel/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.12/node_modules/.pnpm/@babel+parser@7.29.7/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.12/node_modules/.pnpm/node_modules"
10
10
  else
11
- export NODE_PATH="/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.10/node_modules/.pnpm/@babel+parser@7.29.7/node_modules/@babel/parser/bin/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.10/node_modules/.pnpm/@babel+parser@7.29.7/node_modules/@babel/parser/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.10/node_modules/.pnpm/@babel+parser@7.29.7/node_modules/@babel/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.10/node_modules/.pnpm/@babel+parser@7.29.7/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.10/node_modules/.pnpm/node_modules:$NODE_PATH"
11
+ export NODE_PATH="/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.12/node_modules/.pnpm/@babel+parser@7.29.7/node_modules/@babel/parser/bin/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.12/node_modules/.pnpm/@babel+parser@7.29.7/node_modules/@babel/parser/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.12/node_modules/.pnpm/@babel+parser@7.29.7/node_modules/@babel/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.12/node_modules/.pnpm/@babel+parser@7.29.7/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.12/node_modules/.pnpm/node_modules:$NODE_PATH"
12
12
  fi
13
13
  if [ -x "$basedir/node" ]; then
14
14
  exec "$basedir/node" "$basedir/../../../../../../@babel+parser@7.29.7/node_modules/@babel/parser/bin/babel-parser.js" "$@"
@@ -6,9 +6,9 @@ case `uname` in
6
6
  esac
7
7
 
8
8
  if [ -z "$NODE_PATH" ]; then
9
- export NODE_PATH="/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.10/node_modules/.pnpm/eslint@9.17.0/node_modules/eslint/bin/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.10/node_modules/.pnpm/eslint@9.17.0/node_modules/eslint/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.10/node_modules/.pnpm/eslint@9.17.0/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.10/node_modules/.pnpm/node_modules"
9
+ export NODE_PATH="/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.12/node_modules/.pnpm/eslint@9.17.0/node_modules/eslint/bin/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.12/node_modules/.pnpm/eslint@9.17.0/node_modules/eslint/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.12/node_modules/.pnpm/eslint@9.17.0/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.12/node_modules/.pnpm/node_modules"
10
10
  else
11
- export NODE_PATH="/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.10/node_modules/.pnpm/eslint@9.17.0/node_modules/eslint/bin/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.10/node_modules/.pnpm/eslint@9.17.0/node_modules/eslint/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.10/node_modules/.pnpm/eslint@9.17.0/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.10/node_modules/.pnpm/node_modules:$NODE_PATH"
11
+ export NODE_PATH="/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.12/node_modules/.pnpm/eslint@9.17.0/node_modules/eslint/bin/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.12/node_modules/.pnpm/eslint@9.17.0/node_modules/eslint/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.12/node_modules/.pnpm/eslint@9.17.0/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.12/node_modules/.pnpm/node_modules:$NODE_PATH"
12
12
  fi
13
13
  if [ -x "$basedir/node" ]; then
14
14
  exec "$basedir/node" "$basedir/../../../../../../eslint@9.17.0/node_modules/eslint/bin/eslint.js" "$@"
@@ -6,9 +6,9 @@ case `uname` in
6
6
  esac
7
7
 
8
8
  if [ -z "$NODE_PATH" ]; then
9
- export NODE_PATH="/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.10/node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/bin/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.10/node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.10/node_modules/.pnpm/typescript@5.6.3/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.10/node_modules/.pnpm/node_modules"
9
+ export NODE_PATH="/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.12/node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/bin/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.12/node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.12/node_modules/.pnpm/typescript@5.6.3/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.12/node_modules/.pnpm/node_modules"
10
10
  else
11
- export NODE_PATH="/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.10/node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/bin/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.10/node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.10/node_modules/.pnpm/typescript@5.6.3/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.10/node_modules/.pnpm/node_modules:$NODE_PATH"
11
+ export NODE_PATH="/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.12/node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/bin/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.12/node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.12/node_modules/.pnpm/typescript@5.6.3/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.12/node_modules/.pnpm/node_modules:$NODE_PATH"
12
12
  fi
13
13
  if [ -x "$basedir/node" ]; then
14
14
  exec "$basedir/node" "$basedir/../../../../../../typescript@5.6.3/node_modules/typescript/bin/tsc" "$@"
@@ -6,9 +6,9 @@ case `uname` in
6
6
  esac
7
7
 
8
8
  if [ -z "$NODE_PATH" ]; then
9
- export NODE_PATH="/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.10/node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/bin/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.10/node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.10/node_modules/.pnpm/typescript@5.6.3/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.10/node_modules/.pnpm/node_modules"
9
+ export NODE_PATH="/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.12/node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/bin/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.12/node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.12/node_modules/.pnpm/typescript@5.6.3/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.12/node_modules/.pnpm/node_modules"
10
10
  else
11
- export NODE_PATH="/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.10/node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/bin/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.10/node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.10/node_modules/.pnpm/typescript@5.6.3/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.10/node_modules/.pnpm/node_modules:$NODE_PATH"
11
+ export NODE_PATH="/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.12/node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/bin/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.12/node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.12/node_modules/.pnpm/typescript@5.6.3/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.12/node_modules/.pnpm/node_modules:$NODE_PATH"
12
12
  fi
13
13
  if [ -x "$basedir/node" ]; then
14
14
  exec "$basedir/node" "$basedir/../../../../../../typescript@5.6.3/node_modules/typescript/bin/tsserver" "$@"
@@ -6,9 +6,9 @@ case `uname` in
6
6
  esac
7
7
 
8
8
  if [ -z "$NODE_PATH" ]; then
9
- export NODE_PATH="/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.10/node_modules/.pnpm/eslint@9.17.0/node_modules/eslint/bin/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.10/node_modules/.pnpm/eslint@9.17.0/node_modules/eslint/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.10/node_modules/.pnpm/eslint@9.17.0/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.10/node_modules/.pnpm/node_modules"
9
+ export NODE_PATH="/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.12/node_modules/.pnpm/eslint@9.17.0/node_modules/eslint/bin/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.12/node_modules/.pnpm/eslint@9.17.0/node_modules/eslint/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.12/node_modules/.pnpm/eslint@9.17.0/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.12/node_modules/.pnpm/node_modules"
10
10
  else
11
- export NODE_PATH="/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.10/node_modules/.pnpm/eslint@9.17.0/node_modules/eslint/bin/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.10/node_modules/.pnpm/eslint@9.17.0/node_modules/eslint/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.10/node_modules/.pnpm/eslint@9.17.0/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.10/node_modules/.pnpm/node_modules:$NODE_PATH"
11
+ export NODE_PATH="/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.12/node_modules/.pnpm/eslint@9.17.0/node_modules/eslint/bin/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.12/node_modules/.pnpm/eslint@9.17.0/node_modules/eslint/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.12/node_modules/.pnpm/eslint@9.17.0/node_modules:/Users/baraklagziel/code/venos/.worktrees/cli-publish-0.1.12/node_modules/.pnpm/node_modules:$NODE_PATH"
12
12
  fi
13
13
  if [ -x "$basedir/node" ]; then
14
14
  exec "$basedir/node" "$basedir/../../../../../../eslint@9.17.0/node_modules/eslint/bin/eslint.js" "$@"