Semi-embedded JS template engine that supports helpers, filters, partials, and template inheritance. 4KB minzipped, written in TypeScript ⛺
MIT License
Bot releases are visible (Hide)
Published by nebrelbug 4 months ago
https://github.com/squirrellyjs/squirrelly/compare/v9.0.0...v9.1.0
The main news in this commit is that the settings
field in the data object is no longer merged with your configuration. This resolves several security issues.
This may cause changes in the way you use Express.js with Squirrelly, since you'll have to configure caching and the views directory for both Express and Squirrelly separately.
Example:
app.engine("sqrl", Sqrl.renderFile)
eta.configure({ views: "./views", cache: true })
app.set("views", "./views")
app.set("view cache", true)
app.set("view engine", "sqrl")
https://github.com/squirrellyjs/squirrelly/compare/v8.0.8...v9.0.0
Published by nebrelbug about 4 years ago
FilterFunction
containers.ts
into container-utils.ts
, and wrote accompanying tests 🎉https://github.com/squirrellyjs/squirrelly/compare/v8.0.7...v8.0.8
Published by nebrelbug about 4 years ago
Mainly minor updates. One important fix by @futurelucas4502 preventing renderFile
from erroring if the data argument was undefined or null; see #201.
https://github.com/squirrellyjs/squirrelly/compare/v8.0.6...v8.0.7
Published by nebrelbug about 4 years ago
Nothing exciting here, just a little package cleanup! All our dev dependencies are now up-to-date.
https://github.com/squirrellyjs/squirrelly/compare/v8.0.5...v8.0.6
Published by nebrelbug about 4 years ago
This release just contains a few quick README updates.
https://github.com/squirrellyjs/squirrelly/compare/v8.0.4...v8.0.5
Published by nebrelbug about 4 years ago
Changes in this release:
e
) is now applied after all other filters by default. See #189 and #198
https://github.com/squirrellyjs/squirrelly/compare/v8.0.3...v8.0.4
Published by nebrelbug over 4 years ago
Just updated the README to add a note about the contributors to Version 7 (who unfortunately aren't listed in the README) and removed the badge for David-DM (which has had downtime problems).
https://github.com/squirrellyjs/squirrelly/compare/v8.0.2...v8.0.3
Published by nebrelbug over 4 years ago
This commit merged #195 (which fixes a compilation error thrown in newer versions of TypeScript), updated dev dependencies, and updated some unit tests to import functions from index.ts
(to improve test coverage)
https://github.com/squirrellyjs/squirrelly/compare/v8.0.1...v8.0.2
Published by nebrelbug over 4 years ago
https://github.com/squirrellyjs/squirrelly/compare/v8.0.0...v8.0.1
Published by nebrelbug over 4 years ago
Thank you to all those who helped with development or gave feedback!
Documentation is at https://squirrelly.js.org
This is the last prerelease before a stable release! I fixed a parsing issue (where {{! /* stuff */}}
, with the */
directly in front of the }}
, would fail. I also added a default RunKit template and "try on runkit" badge, and rearranged the benchmarks to move Squirrelly higher up.
https://github.com/squirrellyjs/squirrelly/compare/v8.0.0-beta.11...v8.0.0-beta.12
Published by nebrelbug over 4 years ago
The biggest change in this release was changing the helper prefix from ~
to @
. Your helpers will break with this beta release, until you either update your templates or the configuration (as of this version, you can customize prefixes).
Additional changes:
rmWhitespace
in the config?
(it was redundant and unnecessary)Check out the new release of Squirrelly's docs at https://squirrelly.js.org!
https://github.com/squirrellyjs/squirrelly/compare/v8.0.0-beta.10...v8.0.0-beta.11
Published by nebrelbug over 4 years ago
\n
after exec taghttps://github.com/squirrellyjs/squirrelly/compare/v8.0.0-beta.9...v8.0.0-beta.10
Published by nebrelbug over 4 years ago
This release contains:
https://github.com/squirrellyjs/squirrelly/compare/v8.0.0-beta.8...v8.0.0-beta.9
Published by nebrelbug over 4 years ago
https://github.com/squirrellyjs/squirrelly/compare/v8.0.0-beta.7...v8.0.0-beta.8
Published by nebrelbug over 4 years ago
Non-vital changes like updating README and adding "sideEffects": false
to package.json
https://github.com/squirrellyjs/squirrelly/compare/v8.0.0-beta.6...v8.0.0-beta.7
Published by nebrelbug over 4 years ago
https://github.com/squirrellyjs/squirrelly/compare/v7.9.1...v7.9.2
Published by nebrelbug over 4 years ago
useScope
helperhttps://github.com/squirrellyjs/squirrelly/compare/v8.0.0-beta.5...v8.0.0-beta.6
Published by nebrelbug over 4 years ago
https://github.com/squirrellyjs/squirrelly/compare/v8.0.0-beta.4...v8.0.0-beta.5