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.2 to 1.0.3

2

lib/rendy.js

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

str = data[param];
expr = '{{\\s*' + param + '\\s*}}';
expr = '{{\\s' + param + '\\s}}';
regExp = RegExp(expr, 'g');

@@ -28,0 +28,0 @@ result = result.replace(regExp, str);

{
"name": "rendy",
"version": "1.0.2",
"version": "1.0.3",
"description": "simple template engine",

@@ -26,4 +26,4 @@ "main": "lib/rendy.js",

"gulp-mocha": "~2.0.0",
"should": "~4.3.1"
"should": "~4.6.0"
}
}

@@ -18,8 +18,8 @@ # Rendy

<script>
Tmpl = 'hello {{ where }}';
result = rendy(Tmpl, {
where: 'in browser'
});
// returns
'hello in browser'
var Tmpl = 'hello {{ where }}';
result = rendy(Tmpl, {
where: 'in browser'
});
// returns
'hello in browser'
</script>

@@ -26,0 +26,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