velocityjs
Advanced tools
Comparing version 1.1.2 to 1.1.3
@@ -0,1 +1,5 @@ | ||
## 1.1.3 2018-09-18 | ||
- fixes issue#113 support for add method on arrays by @gauravlanjekar [#114](https://github.com/shepherdwind/velocity.js/pull/114/) | ||
## 1.1.2 2018-08-09 | ||
@@ -2,0 +6,0 @@ |
{ | ||
"name": "velocityjs", | ||
"description": "Velocity Template Language(VTL) for JavaScript", | ||
"version": "1.1.2", | ||
"version": "1.1.3", | ||
"license": "MIT", | ||
@@ -34,3 +34,3 @@ "keywords": [ | ||
"scripts": { | ||
"test": "make test", | ||
"test": "mocha tests --require should", | ||
"pub": "npm version patch && npm publish && git push origin master && git push origin --tag" | ||
@@ -37,0 +37,0 @@ }, |
@@ -270,2 +270,4 @@ module.exports = function(Velocity, utils) { | ||
return baseRef[this.getLiteral(property.args[0])] = this.getLiteral(property.args[1]); | ||
} else if (id === 'add' && !baseRef[id] && typeof baseRef.push === 'function') { | ||
return baseRef.push(this.getLiteral(property.args[0])); | ||
} else { | ||
@@ -272,0 +274,0 @@ |
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
385967
2746