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

hexo-disqus-proxy

Package Overview
Dependencies
Maintainers
1
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hexo-disqus-proxy - npm Package Compare versions

Comparing version 1.3.5 to 1.3.6

8

lib/template_locals.js
module.exports = function (hexo) {
return function (locals) {
if (!locals.page || !locals.page.content) return locals
if (!locals.page || locals.page.__index) return locals

@@ -23,6 +23,8 @@ const config = hexo.config.disqus_proxy

</script>`
locals.page.content = locals.page.content + script
// Avoid the value undefined being casted into the string "undefined"
if (locals.page.content != null) locals.page.content = locals.page.content + script
return locals
}
}
}
{
"name": "hexo-disqus-proxy",
"version": "1.3.5",
"version": "1.3.6",
"main": "index",

@@ -5,0 +5,0 @@ "dependencies": {

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