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

yog-view

Package Overview
Dependencies
Maintainers
2
Versions
52
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

yog-view - npm Package Compare versions

Comparing version 0.0.5 to 0.0.6

14

index.js

@@ -98,2 +98,3 @@ // todo 用更好的方式继承 app.response.

bufs.push(output);
flush();
done();

@@ -136,3 +137,3 @@ });

api.setFramework = function(js) {
fis.framework = js;
this.fis.framework = js;
};

@@ -145,3 +146,12 @@

api.fork = function(fis, bigpipe, views) {
views = views || api.views;
if (arguments.length === 0 ) {
fis = this.fis;
bigpipe = this.bigpipe;
views = this.views;
} else if (arguments.length === 1) {
bigpipe = this.bigpipe;
views = this.views;
} else if (arguments.length === 2) {
views = this.views;
}

@@ -148,0 +158,0 @@ var forked = createHanlder(fis, bigpipe, views);

2

package.json
{
"name": "yog-view",
"version": "0.0.5",
"version": "0.0.6",
"description": "An express.js middleware for optimizing the order of js\\css output, and enabling render template in bigpipe mode.",

@@ -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