free-framework 4.5.5 → 4.5.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.
@@ -57,9 +57,9 @@ module.exports = function () {
57
57
  const code = fs.readFileSync(filePath, "utf-8");
58
58
 
59
59
  try {
60
- const tokens = tokenize(code, file);
61
- const ast = parse(tokens, file, code);
62
- console.log(` ✅ Parsed ${ast.length} nodes from ${file}`);
60
+ const tokens = tokenize(code, relativePath);
61
+ const ast = parse(tokens, relativePath, code);
62
+ console.log(` ✅ Parsed ${ast.length} nodes from ${relativePath}`);
63
63
  combinedAST = combinedAST.concat(ast);
64
64
  } catch (err) {
65
65
  if (err.name === 'FreeSyntaxError') {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "free-framework",
3
- "version": "4.5.5",
3
+ "version": "4.5.6",
4
4
  "description": "Professional Node.js engine for the .free language. Blazing-fast SSR, Islands Architecture, and built-in ORM.",
5
5
  "main": "index.js",
6
6
  "bin": {