squirrelly
Advanced tools
Comparing version 7.8.0 to 7.9.0
{ | ||
"name": "squirrelly", | ||
"version": "7.8.0", | ||
"version": "7.9.0", | ||
"description": "Simple and powerful template engine that supports helpers, partials, filters, native code, and Express.", | ||
@@ -8,2 +8,3 @@ "main": "./dist/squirrelly.min.js", | ||
"homepage": "https://squirrelly.js.org", | ||
"sideEffects": false, | ||
"scripts": { | ||
@@ -10,0 +11,0 @@ "test": "./node_modules/.bin/standard 'src/*.js' && ./node_modules/.bin/mocha", |
@@ -5,3 +5,3 @@ <a href="https://squirrelly.js.org"><img src="https://cdn.jsdelivr.net/gh/squirrellyjs/squirrelly-logo@1.0/svg-minified/squirrelly-fit-acorn.svg" align="right" width="30%" alt="Squirrel"></a> | ||
[![Build Status](https://travis-ci.org/nebrelbug/squirrelly.svg?branch=master)](https://travis-ci.org/nebrelbug/squirrelly) [![Codacy Badge](https://api.codacy.com/project/badge/Grade/b848f0c508e841cf8fd3ab7308cfee34)](https://www.codacy.com/app/nebrelbug/squirrelly?utm_source=github.com&utm_medium=referral&utm_content=nebrelbug/squirrelly&utm_campaign=Badge_Grade)[![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com) [![Join the chat at https://gitter.im/squirrellyjs/Lobby](https://badges.gitter.im/squirrellyjs/Lobby.svg)](https://gitter.im/squirrellyjs/Lobby?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) [![Tip me at paypal.me/bengubler](https://img.shields.io/badge/Paypal-tip%20me-brightgreen.svg)](https://paypal.me/bengubler)[![All Contributors](https://img.shields.io/badge/all_contributors-3-orange.svg?style=flat-square)](#contributors) | ||
[![Build Status](https://img.shields.io/travis/com/squirrellyjs/squirrelly)](https://travis-ci.org/nebrelbug/squirrelly) [![Codacy Badge](https://img.shields.io/codacy/grade/b848f0c508e841cf8fd3ab7308cfee34)](https://www.codacy.com/app/nebrelbug/squirrelly?utm_source=github.com&utm_medium=referral&utm_content=nebrelbug/squirrelly&utm_campaign=Badge_Grade) [![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com) [![Join the chat at https://gitter.im/squirrellyjs/Lobby](https://img.shields.io/gitter/room/squirrellyjs/squirrelly?color=%2346BC99)](https://gitter.im/squirrellyjs/Lobby?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) [![Tip me at paypal.me/bengubler](https://img.shields.io/badge/Paypal-tip%20me-brightgreen.svg)](https://paypal.me/bengubler) [![All Contributors](https://img.shields.io/badge/all_contributors-3-orange.svg?style=flat)](#contributors) | ||
@@ -16,23 +16,28 @@ **Summary** | ||
### Features: | ||
Simply put, Squirrelly is super lightweight, super fast, simple, and gets the job done. | ||
- Custom helpers | ||
- Custom filters | ||
- Conditionals | ||
- Loops | ||
- Custom delimeters | ||
- Precompilation | ||
- Partials | ||
- Writing JavaScript inside the template | ||
- Comments | ||
- Caching | ||
- Just look at the performance benchmarks [here](https://github.com/nebrelbug/squirrelly-benchmarks) | ||
### 🌟 Features | ||
## Docs | ||
- :wrench: Custom helpers | ||
- :wrench: Custom filters | ||
- :package: 0 dependencies | ||
- :hammer: Conditionals | ||
- :zap: Exports ES Modules as well as UMD | ||
- :hammer: Loops | ||
- :wrench: Custom delimeters | ||
- :pencil2: Easy template syntax | ||
- :wrench: Precompilation | ||
- :hammer: Partials | ||
- :wrench: Inline JavaScript | ||
- :hammer: Comments | ||
- :wrench: Caching | ||
- :rocket: SUPER fast (look at the performance benchmarks [here](https://github.com/nebrelbug/squirrelly-benchmarks)) | ||
## :scroll: Docs | ||
We know nobody reads through the long and boring documentation in the ReadMe anyway, so head over to the documentation website: | ||
[https://squirrelly.js.org](https://squirrelly.js.org) | ||
:pencil: [https://squirrelly.js.org](https://squirrelly.js.org) | ||
## Examples | ||
## :notebook: Examples | ||
@@ -43,3 +48,3 @@ ### Simple Template | ||
var myTemplate = "<p>My favorite kind of cake is: {{favoriteCake}}</p>" | ||
| ||
Sqrl.Render(myTemplate, {favoriteCake: 'Chocolate!'}) | ||
@@ -69,7 +74,7 @@ // Returns: '<p>My favorite kind of cake is: Chocolate!</p> | ||
## Tests | ||
## :heavy_check_mark: Tests | ||
The default test can be run with `npm test`, and it just checks that compiling and rendering a simple template results in the correct string. | ||
## Contributing | ||
## :handshake: Contributing | ||
@@ -111,7 +116,7 @@ We love contributions from the community! Contributions are | ||
## Version 8 | ||
## :fire: Version 8 | ||
Some of you may have been wondering about the lack of activity on this repository over the last few months. The answer is that, for quite a while, I've been working on a brand-new version of Squirrelly. You can [read about it on GitHub](https://github.com/nebrelbug/squirrelly/issues/106), but here's a quick overview: | ||
### Low-Level Changes | ||
### :sparkles: Low-Level Changes | ||
@@ -123,3 +128,3 @@ - New, more reliable parser -- see a draft [here](https://gist.github.com/nebrelbug/7f1d0d0c80b90c86ed629cc8a10e6cb5) | ||
### New Features | ||
### :sparkles: New Features | ||
@@ -135,3 +140,3 @@ - Layouts | ||
### Bug Fixes | ||
### :bug: Bug Fixes | ||
@@ -138,0 +143,0 @@ - ~~Filter chaining will work once more~~ (this was fixed in 7.5.0) |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
189885
141
4