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

express-freemarker

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

express-freemarker - npm Package Compare versions

Comparing version 0.1.2 to 0.1.3

10

index.js

@@ -10,4 +10,2 @@ // libs/fmpp/bin/fmpp test/template/index.ftl -D "tdd(../data.json)" -o test/index.html

module.exports
module.exports = function( options){

@@ -19,2 +17,8 @@ options = options || {};

var sourceRoot = data.settings.views;
//clean the data
delete data.settings;
delete data._locals;
delete data.cache;
var data = JSON.stringify(data);

@@ -32,3 +36,3 @@ var dirname = staticTmp || path.dirname(filename);

// args = [filename, "-D", "tdd(" + path.join( basedir, dataname) + ")", "-o", path.join(basedir, tname)];
var args = [filename, "-D", data, "-o", tname ];
var args = [filename, "-D", data, "-o", tname ,"-S", sourceRoot ];
var fmpp = spawn(path2fmpp, args, {})

@@ -35,0 +39,0 @@

{
"name": "express-freemarker",
"version": "0.1.2",
"version": "0.1.3",
"description": "",

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

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