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

bigkoa

Package Overview
Dependencies
Maintainers
4
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bigkoa - npm Package Compare versions

Comparing version 0.1.11 to 0.1.12

2

package.json
{
"name": "bigkoa",
"version": "0.1.11",
"version": "0.1.12",
"description": "",

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

@@ -208,14 +208,18 @@ 'use strict'

}
this.ctx.render(tpl, data, function (err, html) {
if (err) {
return Utils.log(err)
}
// let html = str + Utils.ready(this.debug)
// 在pipeline模式下会直接写layout到浏览器
cb && cb(err, html)
if (cacheLevel1 || cacheLevel2) {
return
}
lurMapCache.set(tpl, html)
})
if (tpl && data) {
this.ctx.render(tpl, data, function (err, html) {
if (err) {
return Utils.log(err)
}
// let html = str + Utils.ready(this.debug)
// 在pipeline模式下会直接写layout到浏览器
cb && cb(err, html)
// if (cacheLevel1 || cacheLevel2) {
// return
// }
// lurMapCache.set(tpl, html)
})
} else {
cb && cb(null, '')
}
}

@@ -258,6 +262,6 @@

resolve(html)
if (cacheLevel1 || cacheLevel2) {
return
}
lurMapCache.set(tpl, html)
// if (cacheLevel1 || cacheLevel2) {
// return
// }
// lurMapCache.set(tpl, html)
}

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