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

yog2-kernel

Package Overview
Dependencies
Maintainers
2
Versions
105
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

yog2-kernel - npm Package Compare versions

Comparing version 0.0.24 to 0.0.25

2

package.json
{
"name": "yog2-kernel",
"version": "0.0.24",
"version": "0.0.25",
"description": "yog2 kernel",

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

var mapjson = require('./mapjson.js');
var yogView = require('yog-view');
var yogBigPipe = require('yog-bigpipe');
var _ = require('lodash');

@@ -19,7 +20,9 @@ module.exports.views = function(app, conf){

//设置view engine
app.engine('tpl', yogView.init({
cache: conf.cache,
engine: 'yog-swig'
}, app));
_(conf.engine).forEach(function(engine, name){
//设置view engine
app.engine(name, yogView.init({
cache: conf.cache,
engine: engine
}, app));
});

@@ -37,3 +40,6 @@ if (conf.cache){

confDir: yog.ROOT_PATH + '/conf/fis',
bigpipe: true
bigpipe: true,
engine: {
tpl: require('yog-swig')
}
};
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