eleventy-plugin-vento 5.0.0 → 5.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/CHANGELOG.md +10 -10
  2. package/package.json +4 -9
package/CHANGELOG.md CHANGED
@@ -1,5 +1,15 @@
1
1
  # eleventy-plugin-vento
2
2
 
3
+ ## 5.0.1
4
+
5
+ ### Patch Changes
6
+
7
+ - a2e961d: Update `debug` to 4.4.3.
8
+
9
+ 4.4.3 handles a vulnerability in 4.4.2 which was never distributed by this package. Pinning 4.4.3 over 4.4.2 circumvents the now-yanked version.
10
+
11
+ See https://github.com/debug-js/debug/issues/1005#issuecomment-3293627810 for more information.
12
+
3
13
  ## 5.0.0
4
14
 
5
15
  ### Major Changes
@@ -11,7 +21,6 @@
11
21
  More critical to note for Vento v2 is the rearrangement of core library features that this plugin exposes. Definitely review [the changelog for v2](https://github.com/ventojs/vento/blob/main/CHANGELOG.md#200---2025-09-01) to determine whether your implementation needs updating.
12
22
 
13
23
  The biggest changes are:
14
-
15
24
  - `meriyah` was removed via https://github.com/ventojs/vento/pull/128 at the benefit of performance. If you were absorbing `meriyah`'s functionality via this plugin, you should adjust accordingly.
16
25
  - `runStringSync` is no longer supported and has been removed
17
26
  - `ventoOptions.useWith` was previously deprecated and has since been removed. If you relied on `useWith` in your [plugin options](https://github.com/noelforte/eleventy-plugin-vento?tab=readme-ov-file#plugin-options), you should instead use `ventoOptions.dataVarname` and `ventoOptions.autoDataVarname` to control how the global namespace for template data is exposed. For more info, see more on [the Vento docs](https://vento.js.org/configuration/#datavarname).
@@ -52,7 +61,6 @@
52
61
  ### Minor Changes
53
62
 
54
63
  - 1f1a13a: Update ventojs to 1.14.0. This version bump incorporates the following new features:
55
-
56
64
  - Loading templates via URLs
57
65
  - Destructuring in `for` loops
58
66
  - `{{ continue }}` and `{{ break }}` tags
@@ -109,7 +117,6 @@
109
117
  - 335f21e: Select type updates (shouldn't affect compilation, however should improve DX)
110
118
 
111
119
  Changes are:
112
-
113
120
  - split types into separate files
114
121
  - namespace `ventojs` type imports
115
122
  - make `PluginOptions` optional by default
@@ -117,7 +124,6 @@
117
124
  - declare a special (`EleventyVentoEnvironment`) for this plugin to replace Vento's own `Environment`
118
125
 
119
126
  - 070109a: Refactored files and functions internally that shouldn't have any impact on usage or performance:
120
-
121
127
  - Split `debug` functions into separate exports, renamed `runCompatiblityCheck -> compatibilityCheck` (dd4c379b)
122
128
  - Utilities are now split into separate files (e06a83ab)
123
129
  - Main file renamed from `index.ts` to `plugin.ts` (1b122d2a)
@@ -148,7 +154,6 @@
148
154
  - 335f21e: Select type updates (shouldn't affect compilation, however should improve DX)
149
155
 
150
156
  Changes are:
151
-
152
157
  - split types into separate files
153
158
  - namespace `ventojs` type imports
154
159
  - make `PluginOptions` optional by default
@@ -158,7 +163,6 @@
158
163
  - 9eaa059: Update `debug` to v4.4.0
159
164
  - f387b5e: Update `ventojs` to v1.12.13
160
165
  - 070109a: Refactored files and functions internally that shouldn't have any impact on usage or performance:
161
-
162
166
  - Split `debug` functions into separate exports, renamed `runCompatiblityCheck -> compatibilityCheck` (dd4c379b)
163
167
  - Utilities are now split into separate files (e06a83ab)
164
168
  - Main file renamed from `index.ts` to `plugin.ts` (1b122d2a)
@@ -279,7 +283,6 @@
279
283
  ### Patch Changes
280
284
 
281
285
  - 693e1a2: Refactored the following features internally:
282
-
283
286
  - Reverts 2c3548c1 for modularity: The compatibility check has moved back to `modules/utils.js`
284
287
  - Revises caching further: Instead of deferring to Vento for everything, permalink templates and templates loaded by Vento (like includes) are cached by Vento. Everything else is cached by Eleventy.
285
288
  - Rename some internal variables to help with readability (`_11ty.ctx => _11Ctx`)
@@ -292,7 +295,6 @@
292
295
 
293
296
  - 7e6ba68: Separate `shortcodes` and `pairedShortcodes` into seperate object namespaces. Prior to this version, Eleventy shortcodes and paired shortcodes were merged into a single object keyed as `_11ty.functions` which allowed for naming collisions between shortcodes and their paired counterparts.
294
297
  - b8f0a03: Adds new dependency on `debug` package, to help out with testing and getting more verbose logs. The following `DEBUG` namespaces are implemented:
295
-
296
298
  - `Eleventy:Vento:Setup` - Logs initial setup of the plugin, loading features, pre-page compile setup steps (like changing `page` and `eleventy` objects)
297
299
  - `Eleventy:Vento:Cache` - Logs updates to Vento's own internal cache, which is used in tandem with Eleventy's cache.
298
300
  - `Eleventy:Vento:Template` - Logs rendered templates and other template related actions
@@ -320,7 +322,6 @@
320
322
  Templates are now compiled directly instead of using Vento's `.runString` method which reduces overhead and enables this plugin to manage the Vento cache in a more direct manner.
321
323
 
322
324
  - 494b184: Permalink compilation optimizations:
323
-
324
325
  - Permalinks now short-circuit to raw strings if they don't contain Vento template syntax, avoiding compilation entirely.
325
326
  - Permalinks are now assigned (fake) pathnames in Vento's cache. If you change template content but don't change a dynamic permalink in development, Vento will reuse the compiled permalink template. Note that **any** modifications to a template file will **always** cause it to be recompiled (see 19c352fa) — this improvement just optimizes recompiling dynamic permalinks that haven't changed.
326
327
 
@@ -352,7 +353,6 @@
352
353
  ### Patch Changes
353
354
 
354
355
  - 9f5a90f: Various Refactors - These changes shouldn't have any observable effect on your templates or usage.
355
-
356
356
  - Replaced `class` based approach for a closure implementation instead. Since there was only 1 Vento `env` object ever instanced in this plugin, steering away from using `class` removes some complexity and overhead.
357
357
 
358
358
  - `DATA_KEYS` (used internally) moved into utils file alongside other utilities (like compatibility checks) and renamed to `CONTEXT_DATA_KEYS`.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eleventy-plugin-vento",
3
- "version": "5.0.0",
3
+ "version": "5.0.1",
4
4
  "description": "Adds support for the Vento templating language to Eleventy.",
5
5
  "type": "module",
6
6
  "engines": {
@@ -36,7 +36,7 @@
36
36
  },
37
37
  "license": "MIT",
38
38
  "dependencies": {
39
- "debug": "4.4.1",
39
+ "debug": "4.4.3",
40
40
  "ventojs": "2.0.2"
41
41
  },
42
42
  "devDependencies": {
@@ -51,6 +51,7 @@
51
51
  "eslint-plugin-unicorn": "61.0.2",
52
52
  "globals": "16.4.0",
53
53
  "knip": "5.63.1",
54
+ "prettier": "3.6.2",
54
55
  "tsup": "8.5.0",
55
56
  "tsx": "4.20.5",
56
57
  "type-fest": "4.41.0",
@@ -58,12 +59,6 @@
58
59
  "typescript-eslint": "8.43.0",
59
60
  "vitest": "3.2.4"
60
61
  },
61
- "prettier": {
62
- "bracketSameLine": true,
63
- "singleQuote": true,
64
- "semi": true,
65
- "trailingComma": "es5"
66
- },
67
62
  "scripts": {
68
63
  "test": "vitest --run",
69
64
  "lint": "pnpm --color run '/^lint:/'",
@@ -75,6 +70,6 @@
75
70
  "ci:version": "changeset version && pnpm install --no-frozen-lockfile",
76
71
  "ci:publish": "changeset publish",
77
72
  "ci:generate-renovate-changesets": "tsx .github/scripts/renovate-changesets.ts",
78
- "format": "pnpm dlx prettier --config ./package.json --write ."
73
+ "fmt": "prettier --write ."
79
74
  }
80
75
  }