Comparing version 1.14.0 to 1.15.0
@@ -0,1 +1,16 @@ | ||
Version 1.15.0, unreleased | ||
-------------------------- | ||
Major improvements: | ||
* Add support for arrays with `include` ([#681](https://github.com/twigjs/twig.js/pull/681) by [@justafish](https://github.com/justafish)) | ||
* Add babel preset on serverBuild ([#707](https://github.com/twigjs/twig.js/pull/707) by [@stephane-r](https://github.com/stephane-r)) | ||
* Support for "do" tag ([#703](https://github.com/twigjs/twig.js/pull/703) by [@drzraf](https://github.com/drzraf)) | ||
* Update [`xo`](https://www.npmjs.com/package/xo) and code syntax by [@RobLoach](https://github.com/robloach) | ||
* Deprecate Node.js 8 from testing by [@RobLoach](https://github.com/robloach) | ||
* Support for Source Maps ([#700](https://github.com/twigjs/twig.js/pull/700) by [@drzraf](https://github.com/drzraf)) | ||
* Search for block within all ascendants instead of parent only ([#698](https://github.com/twigjs/twig.js/pull/698) by [@drzraf](https://github.com/drzraf)) | ||
Minor improvements: | ||
* Fix autoescape for empty includes ([#687](https://github.com/twigjs/twig.js/pull/687) by [@tgabi333](https://github.com/tgabi333)) | ||
* Fix filters with empty string input ([#690](https://github.com/twigjs/twig.js/pull/690) by [@tbence94](https://github.com/tbence94)) | ||
Version 1.14.0, released 2019-11-13 | ||
@@ -2,0 +17,0 @@ ----------------------------------- |
@@ -65,4 +65,4 @@ const FS = require('fs'); | ||
exports.stripSlash = function (path) { | ||
if (path.substr(-1) === '/') { | ||
path = path.substring(0, path.length - 1); | ||
if (path.slice(-1) === '/') { | ||
path = path.slice(0, Math.max(0, path.length - 1)); | ||
} | ||
@@ -69,0 +69,0 @@ |
@@ -5,3 +5,3 @@ { | ||
"description": "JS port of the Twig templating language.", | ||
"version": "1.14.0", | ||
"version": "1.15.0", | ||
"homepage": "https://github.com/twigjs/twig.js", | ||
@@ -21,3 +21,3 @@ "license": "BSD-2-Clause", | ||
"engines": { | ||
"node": ">=6.0" | ||
"node": ">=8.16" | ||
}, | ||
@@ -36,4 +36,4 @@ "bin": { | ||
"dependencies": { | ||
"@babel/runtime": "^7.6.3", | ||
"locutus": "^2.0.5", | ||
"@babel/runtime": "^7.8.4", | ||
"locutus": "^2.0.11", | ||
"minimatch": "3.0.x", | ||
@@ -43,16 +43,16 @@ "walk": "2.3.x" | ||
"devDependencies": { | ||
"@babel/core": "^7.6.4", | ||
"@babel/plugin-transform-runtime": "^7.6.2", | ||
"@babel/preset-env": "^7.6.3", | ||
"@babel/core": "^7.8.4", | ||
"@babel/plugin-transform-runtime": "^7.8.3", | ||
"@babel/preset-env": "^7.8.4", | ||
"babel-loader": "^8.0.6", | ||
"eslint-plugin-mocha": "^5.3.0", | ||
"mocha": "^4.1.0", | ||
"eslint-plugin-mocha": "^6.3.0", | ||
"mocha": "^7.0.1", | ||
"should": "^13.2.3", | ||
"should-sinon": "0.0.6", | ||
"sinon": "^7.5.0", | ||
"terser-webpack-plugin": "^1.4.1", | ||
"sinon": "^9.0.0", | ||
"terser-webpack-plugin": "^2.3.5", | ||
"tokenizer": "1.1.x", | ||
"webpack": "^4.41.2", | ||
"webpack-cli": "^3.3.9", | ||
"xo": "^0.24.0" | ||
"webpack": "^4.41.6", | ||
"webpack-cli": "^3.3.11", | ||
"xo": "^0.26.1" | ||
}, | ||
@@ -73,2 +73,3 @@ "browser": { | ||
"rules": { | ||
"promise/prefer-await-to-then": 0, | ||
"prefer-arrow-callback": 0, | ||
@@ -75,0 +76,0 @@ "mocha/prefer-arrow-callback": 2 |
@@ -1,2 +0,1 @@ | ||
[![Stories in Ready](https://badge.waffle.io/twigjs/twig.js.png?label=ready&title=Ready)](https://waffle.io/twigjs/twig.js) | ||
[![Known Vulnerabilities](https://snyk.io/test/github/twigjs/twig.js/badge.svg)](https://snyk.io/test/github/twigjs/twig.js) | ||
@@ -3,0 +2,0 @@ [![Build Status](https://secure.travis-ci.org/twigjs/twig.js.svg)](http://travis-ci.org/twigjs/twig.js) |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Unidentified License
License(Experimental) Something that seems like a license was found, but its contents could not be matched with a known license.
Found 1 instance in 1 package
875245
13
8365
1
80
162
Updated@babel/runtime@^7.8.4
Updatedlocutus@^2.0.11