New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

yog-swig

Package Overview
Dependencies
Maintainers
4
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.15 to 0.0.16

2

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

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

@@ -58,2 +58,10 @@ /**

parser.on(types.OPERATOR, function(token) {
var val = token.match;
if (val === '-' && key) {
key += val;
}
});
parser.on(types.VAR, function(token) {

@@ -60,0 +68,0 @@ key += token.match;

@@ -55,2 +55,10 @@ exports.compile = function(compiler, args, content, parents, options, blockName) {

parser.on(types.OPERATOR, function(token) {
var val = token.match;
if (val === '-' && key) {
key += val;
}
});
parser.on(types.VAR, function(token) {

@@ -57,0 +65,0 @@ key += token.match;

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