Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

velocityjs

Package Overview
Dependencies
Maintainers
1
Versions
78
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

velocityjs - npm Package Compare versions

Comparing version 1.1.2 to 1.1.3

4

History.md

@@ -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 @@

4

package.json
{
"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 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc