Comparing version 1.11.1 to 1.12.0
@@ -0,1 +1,12 @@ | ||
Version 1.12.0, released 2018-06-11 | ||
----------------------------------- | ||
Major improvements: | ||
* Fix array declaration on multiple lines (#546) | ||
* Fix extend when add is null (#559) | ||
Minor improvements: | ||
* Improve namespaces support (#556) | ||
* Allow express to render async (#558) | ||
Version 1.11.1, released 2018-05-22 | ||
@@ -2,0 +13,0 @@ ----------------------------------- |
@@ -5,3 +5,3 @@ { | ||
"description": "JS port of the Twig templating language.", | ||
"version": "1.11.1", | ||
"version": "1.12.0", | ||
"homepage": "https://github.com/twigjs/twig.js", | ||
@@ -40,3 +40,3 @@ "licenses": [ | ||
"chai": "^3.5.0", | ||
"mocha": "3.1.x", | ||
"mocha": "^4.1.0", | ||
"require-uncached": "^1.0.3", | ||
@@ -47,4 +47,4 @@ "should": "11.1.x", | ||
"tokenizer": "1.1.x", | ||
"webpack": "^4.6.0", | ||
"webpack-cli": "^2.0.15" | ||
"webpack": "^4.12.0", | ||
"webpack-cli": "^3.0.3" | ||
}, | ||
@@ -51,0 +51,0 @@ "browser": { |
@@ -12,3 +12,3 @@ [![Stories in Ready](https://badge.waffle.io/twigjs/twig.js.png?label=ready&title=Ready)](https://waffle.io/twigjs/twig.js) | ||
src="https://user-images.githubusercontent.com/3282350/29336704-ab1be05c-81dc-11e7-92e5-cf11cca7b344.png"> | ||
Twig.js is a pure JavaScript implementation of the Twig PHP templating language | ||
@@ -69,3 +69,3 @@ (<http://twig.sensiolabs.org/>) | ||
twig = Twig.twig; // Render function | ||
``` | ||
``` | ||
@@ -98,2 +98,3 @@ ### Usage without Express | ||
app.set("twig options", { | ||
allow_async: true, // Allow asynchronous compiling | ||
strict_variables: false | ||
@@ -100,0 +101,0 @@ }); |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
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
1246128
1835
160
9