Skip to content

Eleventy Utils v3.0.0

Choose a tag to compare

@zachleat zachleat released this 13 Oct 19:01
· 30 commits to main since this release
Immutable release. Only release title and notes can be modified.
8659eba
  • Breaking: TemplatePath.startsWithSubPath and TemplatePath.stripLeadingSubPath now match whole path segments only, so src2/file.md is no longer inside src (#9).
  • Breaking: TemplatePath.startsWithSubPath(path, ".") is now true for any relative path inside the current directory and false for .. or absolute paths (#9).
  • Merge ignores __proto__ keys (including override:__proto__) and no longer merges into inherited properties like constructor, preventing prototype pollution (#8).
  • isPlainObject(Object.prototype) now returns false (#8).