eleventy-plugin-vento 5.4.0 → 5.4.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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # eleventy-plugin-vento
2
2
 
3
+ ## 5.4.1
4
+
5
+ ### Patch Changes
6
+
7
+ - 744f059: correct minor formatting issue in errors
8
+
3
9
  ## 5.4.0
4
10
 
5
11
  ### Minor Changes
package/dist/plugin.mjs CHANGED
@@ -76,7 +76,7 @@ var EleventyVentoError = class extends Error {
76
76
  err.message += `${indent} ${" ".repeat(sourceColumn - 1)}^`;
77
77
  if (!ctx.code || ctx.line === void 0 || ctx.column === void 0) return err;
78
78
  const codelines = codeToLines(ctx.code);
79
- err.message += `\n\n${indent} | /* ...compiled to... */\n${indent} │ ${codelines[ctx.line - 1].trimEnd()}\n${indent} ${" ".repeat(ctx.column - 1)}^`;
79
+ err.message += `\n\n${indent} │ /// compiled Vento function for ${ctx.file} ///\n${indent} │ ${codelines[ctx.line - 1].trimEnd()}\n${indent} ${" ".repeat(ctx.column - 1)}^`;
80
80
  return err;
81
81
  }
82
82
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eleventy-plugin-vento",
3
- "version": "5.4.0",
3
+ "version": "5.4.1",
4
4
  "description": "Adds support for the Vento templating language to Eleventy.",
5
5
  "type": "module",
6
6
  "engines": {