Skip to content

Eleventy Utils v2.0.3

Choose a tag to compare

@zachleat zachleat released this 29 Apr 14:57
· 41 commits to main since this release

Adds support for multiple arguments to new createHash utility to pass multiple pieces of content to the hashing function (backwards compatible with Node’s support for multiple .update() calls).

import { createHash } from "@11ty/eleventy-utils";

const base64hash = await createHash("This", "is", "an", "arbitrary", "string.");

Full Changelog: v2.0.2...v2.0.3