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

express-ejs-layouts

Package Overview
Dependencies
Maintainers
2
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

express-ejs-layouts - npm Package Compare versions

Comparing version 2.3.1 to 2.4.0

5

lib/express-layouts.js

@@ -92,2 +92,7 @@ /*jslint sloppy:true indent:2 plusplus:true regexp:true*/

if (typeof locals.body !== 'string') {
res.__render.call(self, view, locals, fn);
return;
}
if (options.extractScripts === true || (options.extractScripts === undefined && app.get('layout extractScripts') === true)) {

@@ -94,0 +99,0 @@ locals.script = '';

2

package.json

@@ -10,3 +10,3 @@ {

],
"version": "2.3.1",
"version": "2.4.0",
"main": "lib/express-layouts.js",

@@ -13,0 +13,0 @@ "dependencies": {},

@@ -5,2 +5,3 @@ # express-ejs-layouts

[![npm version](https://badge.fury.io/js/express-ejs-layouts.svg)](https://badge.fury.io/js/express-ejs-layouts)
[![build status](https://secure.travis-ci.org/Soarez/express-ejs-layouts.svg)](http://travis-ci.org/Soarez/express-ejs-layouts)

@@ -7,0 +8,0 @@

Sorry, the diff of this file is not supported yet

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