New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

jqtpl

Package Overview
Dependencies
Maintainers
0
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jqtpl - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

4

lib/jqtpl.express.js

@@ -56,6 +56,2 @@ var jqtpl = require('./jqtpl');

if (!options.cache) {
delete jqtpl.template[name];
}
return tpl;

@@ -62,0 +58,0 @@ };

2

package.json
{
"name": "jqtpl",
"description": "A port of jQuery's template engine",
"version": "1.0.2",
"version": "1.0.3",
"author": "Oleg Slobodskoi <oleg008@gmail.com>",

@@ -6,0 +6,0 @@ "contributors": [

@@ -112,1 +112,10 @@ var o = {

test("rendering multiple times of the same template #29", function() {
var template = 'Just example ${example}'
var je = require('../').express
var render = je.compile(template, {filename: 'example.html'})
equal(render({example: 'Hello'}), 'Just example Hello', 'template rendered correctly');
equal(render({example: 'Hello'}), 'Just example Hello', 'template rendered correctly');
});
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