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.8.1 to 0.8.2

5

History.md
0.8.2 / 2012-08-16
==================
* fix include "open" / "close" options. Closes #64
0.8.1 / 2012-08-11

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

2

lib/ejs.js

@@ -159,3 +159,3 @@

include = read(path, 'utf8');
include = exports.parse(include, { filename: path, _with: false });
include = exports.parse(include, { filename: path, _with: false, open: open, close: close });
buf.push("' + (function(){" + include + "})() + '");

@@ -162,0 +162,0 @@ js = '';

{
"name": "ejs",
"description": "Embedded JavaScript templates",
"version": "0.8.1",
"version": "0.8.2",
"author": "TJ Holowaychuk <tj@vision-media.ca>",

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

@@ -172,3 +172,3 @@ /**

var file = 'test/fixtures/include.ejs';
ejs.render(fixture('include.ejs'), { filename: file, pets: users })
ejs.render(fixture('include.ejs'), { filename: file, pets: users, open: '[[', close: ']]' })
.should.equal(fixture('include.html'));

@@ -175,0 +175,0 @@ })

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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