Socket
Socket
Sign inDemoInstall

ejs

Package Overview
Dependencies
Maintainers
1
Versions
75
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ejs - npm Package Compare versions

Comparing version 0.6.0 to 0.6.1

test/fixtures/user.ejs

5

History.md
0.6.1 / 2011-12-09
==================
* Fixed `ejs.renderFile()`
0.6.0 / 2011-12-09

@@ -3,0 +8,0 @@ ==================

5

lib/ejs.js

@@ -12,3 +12,4 @@

var utils = require('./utils');
var utils = require('./utils')
, fs = require('fs');

@@ -19,3 +20,3 @@ /**

exports.version = '0.6.0';
exports.version = '0.6.1';

@@ -22,0 +23,0 @@ /**

2

package.json
{
"name": "ejs",
"description": "Embedded JavaScript templates",
"version": "0.6.0",
"version": "0.6.1",
"author": "TJ Holowaychuk <tj@vision-media.ca>",

@@ -6,0 +6,0 @@ "keywords": ["template", "engine", "ejs"],

@@ -17,2 +17,13 @@

},
'test renderFile': function(){
var html = '<h1>tj</h1>',
str = '<p><%= name %></p>',
options = { name: 'tj', open: '{', close: '}' };
ejs.renderFile(__dirname + '/fixtures/user.ejs', options, function(err, res){
assert.ok(!err);
assert.equal(res, html);
})
},

@@ -19,0 +30,0 @@ 'test buffered code': function(){

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc