shopify-liquid
Advanced tools
Comparing version 1.2.0 to 1.2.1
@@ -97,5 +97,5 @@ const Scope = require('./src/scope'); | ||
}, | ||
express: function() { | ||
express: function(renderingOptions) { | ||
return (filePath, options, callback) => { | ||
this.renderFile(filePath, options) | ||
this.renderFile(filePath, options, renderingOptions) | ||
.then(html => callback(null, html)) | ||
@@ -102,0 +102,0 @@ .catch(e => callback(e)); |
{ | ||
"name": "shopify-liquid", | ||
"version": "1.2.0", | ||
"version": "1.2.1", | ||
"description": "Liquid template engine in Node.js (Shopify compliant)", | ||
@@ -8,2 +8,3 @@ "main": "index.js", | ||
"test": "mocha --recursive", | ||
"prepublish": "npm test && make dist", | ||
"dist": "make dist" | ||
@@ -40,9 +41,9 @@ }, | ||
"istanbul": "^0.4.3", | ||
"mocha": "^2.5.3", | ||
"mocha": "^3.0.2", | ||
"mock-fs": "^3.9.0", | ||
"sinon": "^1.17.4", | ||
"sinon-chai": "^2.8.0", | ||
"supertest": "^1.2.0", | ||
"supertest": "^2.0.0", | ||
"uglifyjs": "^2.4.10" | ||
} | ||
} |
@@ -5,4 +5,4 @@ # shopify-liquid | ||
[![Build Status](https://travis-ci.org/harttle/shopify-liquid.svg?branch=master)](https://travis-ci.org/harttle/shopify-liquid) | ||
[![Coverage Status](https://coveralls.io/repos/github/harttle/shopify-liquid/badge.svg?branch=master&ver=1.1.1)](https://coveralls.io/github/harttle/shopify-liquid?branch=master) | ||
[![Dependency manager](https://david-dm.org/harttle/shopify-liquid.png)](https://david-dm.org/harttle/shopify-liquid) | ||
[![Coverage Status](https://img.shields.io/coveralls/harttle/shopify-liquid/master.svg)](https://coveralls.io/github/harttle/shopify-liquid?branch=master) | ||
[![Dependency manager](https://img.shields.io/david/harttle/shopify-liquid.svg?style=flat)](https://david-dm.org/harttle/shopify-liquid) | ||
@@ -9,0 +9,0 @@ A feature-rich [Liquid][shopify-liquid] implementation for Node.js, with compliance with [Jekyll][jekyll] and [Github Pages][gh]. |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
404667
43
2