Socket
Socket
Sign inDemoInstall

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 0.10.0 to 0.10.1

4

History.md

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

## 0.10.1 2017-11-10
- fix: #set variable key not work [!91](https://github.com/shepherdwind/velocity.js/issues/92)
## 0.10.0 2017-11-08

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

2

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

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

@@ -55,2 +55,3 @@ module.exports = function(Velocity, utils){

const self = this;
//console.log(val);

@@ -61,3 +62,9 @@ utils.some(ref.path, function(exp, i){

var key = exp.id;
if (exp.type === 'index') key = key.value;
if (exp.type === 'index') {
if (exp.id) {
key = self.getLiteral(exp.id);
} else {
key = key.value;
}
}

@@ -64,0 +71,0 @@ if (isEnd) {

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