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.0.0 to 1.0.1

4

History.md

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

## 10.1 2018-03-08
- fix: #set bug in nested #foreach loops [#100](https://github.com/shepherdwind/velocity.js/issues/100)
## 1.0.0 2018-01-13

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

2

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

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

@@ -14,3 +14,3 @@ Velocity - Template Engine

[download-url]: https://npmjs.org/package/velocityjs
[travis-image]: https://img.shields.io/travis/shepherdwind/velocity.js.svg?style=flat-square
[travis-image]: https://img.shields.io/travis/shepherdwind/velocity.js/master.svg?style=flat-square
[travis-url]: https://travis-ci.org/shepherdwind/velocity.js

@@ -17,0 +17,0 @@ [coveralls-image]: https://img.shields.io/coveralls/shepherdwind/velocity.js.svg?style=flat-square

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

//see https://github.com/shepherdwind/velocity.js/issues/25
// @see #25
if (this.condition && this.condition.indexOf('macro:') === 0) {
context = this.context;
} else if (this.context[ref.id] != null) {
} else {
// set var to global context, see #100
context = this.context;

@@ -31,0 +32,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