@marko/language-server 2.1.27 → 2.1.28

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.
@@ -402,7 +402,7 @@ declare global {
402
402
  ...path: Path
403
403
  ): <
404
404
  Name extends string,
405
- AttrTags extends readonly ([0] extends [1 & Tag]
405
+ const AttrTags extends readonly ([0] extends [1 & Tag]
406
406
  ? Record<Name, Marko.AttrTag<unknown>>
407
407
  : Record<
408
408
  Name,
@@ -60,8 +60,9 @@ declare global {
60
60
  destroy(): void;
61
61
  };
62
62
 
63
- export interface Out<Component = unknown>
64
- extends Marko.RenderedTemplate<Component> {
63
+ export interface Out<
64
+ Component = unknown,
65
+ > extends Marko.RenderedTemplate<Component> {
65
66
  /** The underlying ReadableStream Marko is writing into. */
66
67
  stream: unknown;
67
68
  /** A mutable global object for the current render. */
@@ -127,9 +128,10 @@ declare global {
127
128
  export type BodyParameters<B> =
128
129
  B extends Body<infer Params, any> ? Params : never;
129
130
 
130
- export class Component<Input = unknown, State = unknown>
131
- implements Emitter
132
- {
131
+ export class Component<
132
+ Input = unknown,
133
+ State = unknown,
134
+ > implements Emitter {
133
135
  /** A unique id for this instance. */
134
136
  public readonly id: string;
135
137
  /** The top level element rendered by this instance. */
package/package.json CHANGED
@@ -1,19 +1,19 @@
1
1
  {
2
2
  "name": "@marko/language-server",
3
3
  "description": "Marko Language Server",
4
- "version": "2.1.27",
4
+ "version": "2.1.28",
5
5
  "bin": {
6
6
  "marko-language-server": "./bin.js"
7
7
  },
8
8
  "bugs": "https://github.com/marko-js/language-server/issues/new?template=Bug_report.md",
9
9
  "dependencies": {
10
10
  "@luxass/strip-json-comments": "^1.4.0",
11
- "@marko/language-tools": "^2.5.53",
12
- "@marko/compiler": "^5.39.49",
11
+ "@marko/language-tools": "^2.5.55",
12
+ "@marko/compiler": "^5.39.53",
13
13
  "htmljs-parser": "^5.7.4",
14
- "marko": "^5.38.18",
14
+ "marko": "^5.38.22",
15
15
  "prettier": "^3.8.1",
16
- "prettier-plugin-marko": "^3.3.2",
16
+ "prettier-plugin-marko": "^3.3.4",
17
17
  "relative-import-path": "^1.0.0",
18
18
  "typescript": "^5.9.3",
19
19
  "vscode-css-languageservice": "^6.3.9",