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

yog-swig

Package Overview
Dependencies
Maintainers
5
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.2.3 to 0.2.4

5

index.js

@@ -112,3 +112,3 @@ /**

if (!layer.supportBigPipe() || !attr.mode || attr.mode === 'sync' || layer.isPagelet) {
if (!layer.supportBigPipe() || !attr.mode || attr.mode === 'sync') {
layer.load(id);

@@ -125,2 +125,3 @@ return this.compileFile(pathname, options);

id: attr.id,
lazy: attr.lazy === 'true',
mode: attr.mode,

@@ -140,2 +141,2 @@ locals: locals,

};
};
};

2

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

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

var ignore = 'ignore',
missing = 'missing',
only = 'only',
attrs = ["id", "mode", "group", "for", "model"];
attrs = ["id", "mode", "group", "for", "model", "lazy", "cache"];

@@ -6,0 +6,0 @@ /**

var ignore = 'ignore',
missing = 'missing',
only = 'only',
attrs = ["id", "mode", "group", "for", "model"];
attrs = ["id", "mode", "group", "for", "model", "lazy", "cache"];

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