Comparing version 1.0.0 to 1.1.0
{ | ||
"name": "minstache", | ||
"version": "1.0.0", | ||
"version": "1.1.0", | ||
"description": "Mini mustache template engine", | ||
"keywords": ["mustache", "template", "engine"], | ||
"scripts": ["index.js"] | ||
} | ||
} |
1.1.0 / 2013-07-04 | ||
================== | ||
* add unescaped property support | ||
* remove support for single braces | ||
0.0.1 / 2010-01-03 | ||
@@ -3,0 +9,0 @@ ================== |
@@ -62,2 +62,7 @@ | ||
break; | ||
case '!': | ||
tok = tok.slice(1); | ||
assertProperty(tok); | ||
js.push(' + obj.' + tok + ' + '); | ||
break; | ||
default: | ||
@@ -145,2 +150,2 @@ assertProperty(tok); | ||
.replace(/>/g, '>'); | ||
} | ||
} |
{ | ||
"name": "minstache", | ||
"version": "1.0.0", | ||
"version": "1.1.0", | ||
"description": "Mini mustache template engine", | ||
@@ -18,2 +18,2 @@ "keywords": ["mustache", "template", "engine"], | ||
"main": "index" | ||
} | ||
} |
@@ -13,3 +13,3 @@ | ||
The `minstache(1)` executable can compile a file to a valid | ||
The `minstache(1)` executable can compile a file to a valid | ||
stand-alone commonjs module for you, there's no need to have minstache | ||
@@ -67,8 +67,8 @@ as a dependency: | ||
Minstache also allows `{` as an alias of `{{` to reduce the noise. | ||
Partials are not supported, this lib is meant to be a small template engine solution for stand-alone [component](http://github.com/component) templates. If your template takes "partials" then pass other rendered strings to it. If you need a full-blown mustache solution Hogan.js is still great. | ||
## License | ||
Minstache uses `{{!name}}` for unescaped properties. | ||
## License | ||
MIT |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
5735
135
0