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

xjst

Package Overview
Dependencies
Maintainers
2
Versions
162
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

xjst - npm Package Compare versions

Comparing version 0.4.21 to 0.4.22

5

lib/xjst/compiler.js

@@ -157,4 +157,9 @@ var xjst = require('../xjst'),

if (options['no-opt']) {
var locals = [];
for (var i = ast._localStart; i < ast._localEnd; i++) {
locals.push('__r' + i);
}
// Just compile `template` to `if`, and `local`
body = [
locals.length > 0 ? 'var ' + locals.join(', ') + ';\n' : '',
XJSTCompiler.match(ast, 'topLevelEx', options.ometa)

@@ -161,0 +166,0 @@ ];

2

package.json
{
"name": "xjst",
"description": "XSLT inspired JavaScript templates (with spices)",
"version": "0.4.21",
"version": "0.4.22",
"homepage": "http://github.com/veged/xjst",

@@ -6,0 +6,0 @@ "author": "Sergey Berezhnoy <veged@mail.ru> (http://github.com/veged)",

Sorry, the diff of this file is not supported yet

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