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

rendy

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rendy - npm Package Compare versions

Comparing version 1.0.6 to 1.1.0

2

bower.json
{
"name": "rendy",
"version": "1.0.6",
"version": "1.1.0",
"homepage": "https://github.com/coderaiser/rendy",

@@ -5,0 +5,0 @@ "authors": [

@@ -13,3 +13,3 @@ (function(global) {

* @param templ
* @param view
* @param data
*/

@@ -24,7 +24,7 @@ function rendy(templ, data) {

.forEach(function(param) {
var str = data[param],
expr = '{{\\s' + param + '\\s}}',
regExp = RegExp(expr, 'g');
var name = '{{ ' + param + ' }}',
str = data[param];
result = result.replace(regExp, str);
while(~result.indexOf(name))
result = result.replace(name, str);
});

@@ -31,0 +31,0 @@

{
"name": "rendy",
"version": "1.0.6",
"description": "simple template engine",
"version": "1.1.0",
"description": "simplest template engine",
"main": "lib/rendy.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
"test": "gulp test"
},

@@ -26,4 +26,4 @@ "repository": {

"gulp-mocha": "~2.0.0",
"should": "~5.0.0"
"should": "~6.0.1"
}
}
# Rendy [![License][LicenseIMGURL]][LicenseURL] [![NPM version][NPMIMGURL]][NPMURL] [![Dependency Status][DependencyStatusIMGURL]][DependencyStatusURL] [![Build Status][BuildStatusIMGURL]][BuildStatusURL]
Simple template engine
Simple template engine compatible with [handlebars](http://handlebarsjs.com "Handlebars") and [mustache](https://mustache.github.io "Mustache").

@@ -4,0 +4,0 @@ ## Install

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