jstransformer-twig
Advanced tools
Comparing version 1.6.0 to 1.6.1
# Changelog | ||
## v1.6.1: 2019-04-30 | ||
- Fix xo warnings | ||
## v1.6.0: 2019-01-10 | ||
@@ -4,0 +8,0 @@ |
@@ -41,3 +41,2 @@ 'use strict' | ||
try { | ||
// eslint-disable-next-line import/no-dynamic-require | ||
options[extendableName] = require(options[extendableName]) | ||
@@ -48,2 +47,3 @@ } catch (error) { | ||
} | ||
// Loop through all the given filters. | ||
@@ -56,3 +56,2 @@ for (const name in options[extendableName] || {}) { | ||
// Load the filter module. | ||
// eslint-disable-next-line import/no-dynamic-require | ||
const out = require(options[extendableName][name]) | ||
@@ -74,2 +73,3 @@ | ||
} | ||
break | ||
@@ -76,0 +76,0 @@ case 'function': |
{ | ||
"name": "jstransformer-twig", | ||
"version": "1.6.0", | ||
"version": "1.6.1", | ||
"description": "Twig.js support for JSTransformers.", | ||
@@ -21,3 +21,2 @@ "dependencies": { | ||
"scripts": { | ||
"coverage": "test-jstransformer coverage", | ||
"test": "test-jstransformer", | ||
@@ -24,0 +23,0 @@ "posttest": "xo --space=2 --no-semicolon index.js" |
7131
83