machinepack-fs
Advanced tools
Comparing version 0.1.3 to 0.1.4
{ | ||
"name": "machinepack-fs", | ||
"version": "0.1.3", | ||
"version": "0.1.4", | ||
"description": "Machines for working with the local filesystem.", | ||
@@ -5,0 +5,0 @@ "scripts": { |
@@ -35,2 +35,8 @@ /** | ||
defaultsTo: false | ||
}, | ||
options: { | ||
description: 'template options (see http://lodash.com/docs#template)', | ||
example: { | ||
interpolate: /{{([\s\S]+?)}}/g | ||
} | ||
} | ||
@@ -68,3 +74,4 @@ }, | ||
try { | ||
contents = _.template(contents, $i.data); | ||
var options = $i.options || {}; | ||
contents = _.template(contents, $i.data, options); | ||
@@ -71,0 +78,0 @@ // With lodash teplates, HTML entities are escaped by default. |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
9258
275