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

yog-swig

Package Overview
Dependencies
Maintainers
3
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

yog-swig - npm Package Compare versions

Comparing version 0.0.7 to 0.0.8

2

package.json
{
"name": "yog-swig",
"version": "0.0.7",
"version": "0.0.8",
"description": "custom swig template, add some tag or filter ",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -11,3 +11,3 @@ var exports = module.exports;

var code = compiler(content, parents, options, blockName);
return '_output += "<body>";' + code + '_output += _ctx._yog.JS_HOOK + "</body>" + _ctx._yog.BIGPIPE_HOOK;';
return '_output += "<body>";' + code + '_output += _ctx._yog.JS_HOOK + "</body>";';
};

@@ -14,0 +14,0 @@

var exports = module.exports;
exports.compile = function(compiler, args, content, parents, options, blockName) {
content.unshift('<html>');
content.push('</html>');
var code = '_ctx._yog.setFramework(' + args.pop() + ');' +
compiler(content, parents, options, blockName);
return code;
return '_output += "<html>";' + code + '_output += _ctx._yog.BIGPIPE_HOOK + "</html>";';
};

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