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
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.4 to 0.0.5

10

index.js

@@ -49,3 +49,3 @@ /**

var SwigWrap = module.exports = function SwigWrap(options) {
var SwigWrap = module.exports = function SwigWrap(options, api) {

@@ -59,3 +59,9 @@ if (!(this instanceof SwigWrap)) {

var origin = this.swig.options.loader.resolve;
this.swig.options.loader.resolve = function(to, from) {
to = api.resolve(to);
return origin.call(this, to, from);
};
tags.forEach(function (tag) {

@@ -76,3 +82,3 @@ var t = require('./tags/' + tag);

if (err) {
return self.emit('error', error);
return self.emit('error', err);
}

@@ -79,0 +85,0 @@

2

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

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

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