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

yog-view

Package Overview
Dependencies
Maintainers
4
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.25 to 0.0.26

3

lib/layer.js

@@ -155,3 +155,3 @@ var path = require('path');

var info, pkgInfo, url, type;
//异步资源即使因为pkg.has引入过,也需要重新处理,向asyncs中添加
if (loaded[id] && !async) {

@@ -171,2 +171,3 @@ if (!async && asyncs[id] && !asyncToSync[id]) {

type = info['type'];
//不重复对同一个pkg处理,避免死循环
if (info['pkg'] && !handledPkg[info.pkg]) {

@@ -173,0 +174,0 @@ handledPkg[info.pkg] = true;

@@ -6,2 +6,6 @@ var proto = module.exports = {

options['response'] = this;
if (!this.get('Content-Type')) {
this.type('html');
}

@@ -8,0 +12,0 @@ var ret = proto.__proto__.render.call(this, path, options, next);

{
"name": "yog-view",
"version": "0.0.25",
"version": "0.0.26",
"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