@marko/language-server 2.0.3 → 2.1.1

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/index.mjs CHANGED
@@ -2349,6 +2349,7 @@ var optionalModifierReg = /\boptional\b/;
2349
2349
  var deprecatedModifierReg = /\bdeprecated\b/;
2350
2350
  var colorModifierReg = /\bcolor\b/;
2351
2351
  var localInternalsPrefix = "__marko_internal_";
2352
+ var getCanonicalFileName = ts.sys.useCaseSensitiveFileNames ? (fileName) => fileName : (fileName) => fileName.toLocaleLowerCase();
2352
2353
  var requiredTSCompilerOptions = {
2353
2354
  module: ts.ModuleKind.ESNext,
2354
2355
  moduleResolution: ts.ModuleResolutionKind.Bundler,
@@ -3103,9 +3104,6 @@ function getTSTriggerChar(char) {
3103
3104
  if (char && tsTriggerChars.has(char))
3104
3105
  return char;
3105
3106
  }
3106
- function getCanonicalFileName(fileName) {
3107
- return ts.sys.useCaseSensitiveFileNames ? fileName : fileName.toLowerCase();
3108
- }
3109
3107
 
3110
3108
  // src/service/style/index.ts
3111
3109
  import { extractStyle } from "@marko/language-tools";