Comparing version 0.4.1 to 0.4.2
0.4.2 / 2011-05-11 | ||
================== | ||
* Added client side support | ||
0.4.1 / 2011-04-21 | ||
@@ -3,0 +8,0 @@ ================== |
@@ -12,4 +12,3 @@ | ||
var sys = require('sys') | ||
, utils = require('./utils'); | ||
var utils = require('./utils'); | ||
@@ -20,3 +19,3 @@ /** | ||
exports.version = '0.4.1'; | ||
exports.version = '0.4.2'; | ||
@@ -197,3 +196,3 @@ /** | ||
if (options.debug) sys.puts(str); | ||
if (options.debug) console.log(str); | ||
var fn = new Function('locals, filters, escape', str); | ||
@@ -200,0 +199,0 @@ return function(locals){ |
{ | ||
"name": "ejs", | ||
"description": "Embedded JavaScript templates", | ||
"version": "0.4.1", | ||
"version": "0.4.2", | ||
"author": "TJ Holowaychuk <tj@vision-media.ca>", | ||
@@ -6,0 +6,0 @@ "keywords": ["template", "engine", "ejs"], |
@@ -19,2 +19,3 @@ | ||
* Filter support for designer-friendly templates | ||
* Client-side support | ||
@@ -115,2 +116,6 @@ ## Example | ||
## client-side support | ||
include `./ejs.js` or `./ejs.min.js` and `require("ejs").compile(str)`. | ||
## License | ||
@@ -117,0 +122,0 @@ |
Sorry, the diff of this file is not supported yet
Uses eval
Supply chain riskPackage uses dynamic code execution (e.g., eval()), which is a dangerous practice. This can prevent the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.
Found 1 instance in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
156847
37
1357
143
3
18
4