@astrojs/language-server 0.29.5 → 0.29.6

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.
@@ -3,5 +3,5 @@ import type { TSXResult } from '@astrojs/compiler/types';
3
3
  * Parse code by `@astrojs/compiler`
4
4
  */
5
5
  export declare function convertToTSX(source: string, options: {
6
- sourcefile: string;
6
+ filename: string;
7
7
  }): TSXResult;
@@ -1,2 +1,2 @@
1
- import { TSXResult } from '@astrojs/compiler/types';
1
+ import type { TSXResult } from '@astrojs/compiler/types';
2
2
  export default function (content: string, fileName: string): TSXResult;
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const TSXService_1 = require("../../core/worker/TSXService");
4
4
  function default_1(content, fileName) {
5
- const tsx = (0, TSXService_1.convertToTSX)(content, { sourcefile: fileName });
5
+ const tsx = (0, TSXService_1.convertToTSX)(content, { filename: fileName });
6
6
  return tsx;
7
7
  }
8
8
  exports.default = default_1;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@astrojs/language-server",
3
- "version": "0.29.5",
3
+ "version": "0.29.6",
4
4
  "author": "withastro",
5
5
  "license": "MIT",
6
6
  "type": "commonjs",
@@ -14,7 +14,7 @@
14
14
  "types"
15
15
  ],
16
16
  "dependencies": {
17
- "@astrojs/compiler": "^0.31.3",
17
+ "@astrojs/compiler": "^1.1.1",
18
18
  "@jridgewell/trace-mapping": "^0.3.14",
19
19
  "@vscode/emmet-helper": "^2.8.4",
20
20
  "events": "^3.3.0",