chore(deps): update dependency eleventy-plugin-vento to ^4.1.1 #234
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^4.0.1
->^4.1.1
Release Notes
noelforte/eleventy-plugin-vento (eleventy-plugin-vento)
v4.1.1
Compare Source
Patch Changes
335f21e
: Select type updates (shouldn't affect compilation, however should improve DX)Changes are:
ventojs
type importsPluginOptions
optional by defaultEleventyVentoEnvironment
) for this plugin to replace Vento's ownEnvironment
070109a
: Refactored files and functions internally that shouldn't have any impact on usage or performance:debug
functions into separate exports, renamedrunCompatiblityCheck -> compatibilityCheck
(dd4c379
)e06a83a
)index.ts
toplugin.ts
(1b122d2
)c382be0
: Wrap all filters as regular synchronous functions to avoid ambiguity with sync and async handling. (fixes #96)This change enforces explicit use of the
await
keyword to unwrap returned values from filters before chaining more or printing the result.See the Vento docs on async chains for more information.
9eaa059
: Updatedebug
to v4.4.00b0f96a
: Update ventojs to v1.12.14v4.1.0
Compare Source
Minor Changes
eb33d79
: Expose Vento'sFilterThis
on Eleventy-declared filters. (fixes #72)Vento binds its own
this
object when executing filter functions. Thethis
object contains 2 keys,this.env
andthis.data
, for getting access to both the Vento environment and the template data respectively.In addition to Vento's object,
this.page
andthis.eleventy
are also cloned to the top level fromthis.data
to maintain feature-parity with Eleventy.With this change, you can now create filters that leverage the Vento environment. See README for more info.
eb33d79
: Update vento to 1.12.12Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.