Socket
Socket
Sign inDemoInstall

velocityjs

Package Overview
Dependencies
0
Maintainers
1
Versions
76
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.1.0 to 1.1.1

4

History.md

@@ -0,1 +1,5 @@

## 1.1.1 2018-06-14
- fix: Allow own keySet, entrySet, put and size methods on objects by @lightsofapollo [!106](https://github.com/shepherdwind/velocity.js/pull/106)
## 1.1.0 2018-06-12

@@ -2,0 +6,0 @@

2

package.json
{
"name": "velocityjs",
"description": "Velocity Template Language(VTL) for JavaScript",
"version": "1.1.0",
"version": "1.1.1",
"license": "MIT",

@@ -6,0 +6,0 @@ "keywords": [

@@ -252,7 +252,7 @@ module.exports = function(Velocity, utils) {

return getter(baseRef, id.slice(2));
} else if (id === 'keySet') {
} else if (id === 'keySet' && !baseRef[id]) {
return utils.keys(baseRef);
} else if (id === 'entrySet') {
} else if (id === 'entrySet' && !baseRef[id]) {

@@ -266,6 +266,6 @@ ret = [];

} else if (id === 'size') {
} else if (id === 'size' && !baseRef[id]) {
return getSize(baseRef);
} else if (id === 'put') {
} else if (id === 'put' && !baseRef[id]) {
return baseRef[this.getLiteral(property.args[0])] = this.getLiteral(property.args[1]);

@@ -272,0 +272,0 @@ } else {

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc