@marko/type-check 0.0.16 → 0.0.18

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
@@ -560,7 +560,7 @@ For more information, visit ${import_kleur2.default.blue(
560
560
  )}
561
561
  `);
562
562
  } else if (args["--version"]) {
563
- const require2 = (0, import_module.createRequire)(__dirname);
563
+ const require2 = (0, import_module.createRequire)(__filename);
564
564
  const getPackageVersion = (id) => {
565
565
  try {
566
566
  return `${id} v${require2(`${id}/package.json`).version}`;
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@marko/type-check",
3
3
  "description": "A CLI to type check Marko projects",
4
- "version": "0.0.16",
4
+ "version": "0.0.18",
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.22.5",
8
- "@marko/language-tools": "^2.1.2",
8
+ "@marko/language-tools": "^2.1.4",
9
9
  "arg": "^5.0.2",
10
10
  "kleur": "^4.1.5",
11
11
  "strip-json-comments": "^3.1.1",