@marko/type-check 1.3.25 → 2.0.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.
Files changed (2) hide show
  1. package/dist/cli.js +1 -1
  2. package/package.json +2 -2
package/dist/cli.js CHANGED
@@ -44,7 +44,7 @@ var Display = {
44
44
  var currentDirectory = import_tsserverlibrary.default.sys.getCurrentDirectory();
45
45
  var getCanonicalFileName = import_tsserverlibrary.default.sys.useCaseSensitiveFileNames ? (fileName) => fileName : (fileName) => fileName.toLowerCase();
46
46
  var fsPathReg = /^(?:[./\\]|[A-Z]:)/i;
47
- var importTagReg = /<([^>]+)>/;
47
+ var importTagReg = /^<([^>]+)>$/;
48
48
  var modulePartsReg = /^((?:@(?:[^/]+)\/)?(?:[^/]+))(.*)$/;
49
49
  var isRemapExtensionReg = /\.ts$/;
50
50
  var isSourceMapExtensionReg = /\.map$/;
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@marko/type-check",
3
3
  "description": "A CLI to type check Marko projects",
4
- "version": "1.3.25",
4
+ "version": "2.0.1",
5
5
  "bugs": "https://github.com/marko-js/language-server/issues/new?template=Bug_report.md",
6
6
  "dependencies": {
7
7
  "@babel/code-frame": "^7.27.1",
8
8
  "@luxass/strip-json-comments": "^1.4.0",
9
- "@marko/language-tools": "^2.5.24",
9
+ "@marko/language-tools": "^2.5.26",
10
10
  "arg": "^5.0.2",
11
11
  "kleur": "^4.1.5",
12
12
  "typescript": "^5.8.3"