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 0.9.1 to 0.9.2

2

index.d.ts
interface Velocity {
parse(vmString: string, blocks?: { [blockName: string]: boolean }, ignoreSpace?: boolean): Array<VELOCITY_AST>
render(vmString: string, context?: RenderContext, macros?: Macros): string
render(vmString: string, context?: RenderContext, macros?: Macros, config?: CompileConfig): string

@@ -5,0 +5,0 @@ Compile: Compile

{
"name": "velocityjs",
"description": "Velocity Template Language(VTL) for JavaScript",
"version": "0.9.1",
"version": "0.9.2",
"keywords": [

@@ -32,3 +32,4 @@ "velocity template"

"scripts": {
"test": "make test"
"test": "make test",
"pub": "npm version patch && git push origin master && git push origin --tag"
},

@@ -35,0 +36,0 @@ "spm": {

@@ -14,6 +14,6 @@ 'use strict';

Velocity.render = function(template, context, macros) {
Velocity.render = function(template, context, macros, config) {
var asts = parse(template);
var compile = new Compile(asts);
var compile = new Compile(asts, config);
return compile.render(context, macros);

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