@marko/language-tools 2.4.5 → 2.4.7

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.
package/dist/parser.d.ts CHANGED
@@ -2,7 +2,7 @@ import { type Range, type Ranges, TagType } from "htmljs-parser";
2
2
  export type Repeated<T> = [T, ...T[]] | [...T[], T] | [T, ...T[], T];
3
3
  export type Repeatable<T> = undefined | Repeated<T>;
4
4
  export declare const UNFINISHED: number;
5
- export { getLines, getPosition, getLocation, type Range, type Ranges, type Position, type Location, } from "htmljs-parser";
5
+ export { getLines, getLocation, getPosition, type Location, type Position, type Range, type Ranges, } from "htmljs-parser";
6
6
  export type Parsed = ReturnType<typeof parse>;
7
7
  export declare enum NodeType {
8
8
  Program = 0,
@@ -1,6 +1,6 @@
1
- import type TS from "typescript/lib/tsserverlibrary";
2
1
  import type { TaglibLookup } from "@marko/babel-utils";
3
2
  import type * as Compiler from "@marko/compiler";
3
+ import type TS from "typescript/lib/tsserverlibrary";
4
4
  import { ScriptLang } from "../extractors/script";
5
5
  export interface Meta {
6
6
  compiler: typeof Compiler;
@@ -1,7 +1,6 @@
1
1
  // This is a typescript file which defines utilities used in the output of the typescript extractor.
2
2
  declare global {
3
3
  namespace Marko {
4
- // eslint-disable-next-line @typescript-eslint/no-empty-interface
5
4
  export interface Directives {}
6
5
 
7
6
  // Extend the Body type to keep track of what is yielded (used for scope hoisted types).
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@marko/language-tools",
3
3
  "description": "Marko Language Tools",
4
- "version": "2.4.5",
4
+ "version": "2.4.7",
5
5
  "bugs": "https://github.com/marko-js/language-server/issues/new?template=Bug_report.md",
6
6
  "peerDependencies": {
7
7
  "@marko/compiler": "^5.28.4"
@@ -9,17 +9,17 @@
9
9
  "dependencies": {
10
10
  "@babel/parser": "^7.26.2",
11
11
  "@luxass/strip-json-comments": "^1.3.2",
12
- "htmljs-parser": "^5.5.2",
12
+ "htmljs-parser": "^5.5.3",
13
13
  "relative-import-path": "^1.0.0"
14
14
  },
15
15
  "devDependencies": {
16
16
  "@babel/code-frame": "^7.26.2",
17
- "@marko/compiler": "^5.37.23",
18
- "@marko/translator-default": "^6.0.23",
17
+ "@marko/compiler": "^5.38.0",
18
+ "@marko/translator-default": "^6.1.0",
19
19
  "@types/babel__code-frame": "^7.0.6",
20
20
  "@typescript/vfs": "^1.6.0",
21
- "marko": "^5.35.32",
22
- "mitata": "^0.1.8",
21
+ "marko": "^5.36.0",
22
+ "mitata": "^1.0.16",
23
23
  "tsx": "^4.19.2"
24
24
  },
25
25
  "exports": {