Socket
Socket
Sign inDemoInstall

manila

Package Overview
Dependencies
0
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.2.1 to 2.2.2

2

package.json
{
"name": "manila",
"version": "2.2.1",
"version": "2.2.2",
"description": "A simple template engine for Node",

@@ -5,0 +5,0 @@ "main": "manila.js",

@@ -10,10 +10,9 @@ 'use strict';

template
.replace(/\\'/g, "\\\\'")
.replace(/\\/g, "\\\\")
.replace(/`/g, "\\`")
.replace(/<::(?!\s*}.*?::>)(?!.*{\s*::>)(.*?)::>/g, "`);try{p.push($1)}catch(e){}p.push(`")
.replace(/<::\s*(.*?)\s*::>/g, "`);$1\np.push(`")
.replace(/<:(?!\s*}.*?:>)(?!.*{\s*:>)(.*?):>/g, "`);try{p.push(manila.e($1))}catch(e){}p.push(`")
.replace(/<:\s*(.*?)\s*:>/g, "`);$1\np.push(`")
.replace(/<::?(?!\s*}.*?::?>)(?!.*{\s*::?>)(.*?)::?>/g, "`);try{p.push(manila.e($1))}catch(e){}p.push(`")
.replace(/<::?(.*?)::?>/g, "`);$1\np.push(`")
+ "`);}return p.join('');");
};
SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc