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

twig-layout

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

twig-layout - npm Package Compare versions

Comparing version 1.0.0-alpha.1.4 to 1.0.0-alpha.1.5

5

layout.js

@@ -791,5 +791,6 @@ /*!

async getTemplateContent(file) {
const exists = await utils.asyncFileExists(file)
const filePath = path.join(this._options.views, file);
const exists = await utils.asyncFileExists(filePath)
if (exists) {
return promisify(fs.readFile)(path.join(this._options.views, file), 'utf8')
return promisify(fs.readFile)(filePath, 'utf8')
} else {

@@ -796,0 +797,0 @@ throw new Error ('file not found: ' + file)

3

package.json

@@ -12,2 +12,3 @@ {

"@midgar/utils": "^1.0.0-alpha.1.2",
"node-eval": "^2.0.0",
"string-hash": "^1.1.3",

@@ -44,3 +45,3 @@ "twig": "^1.13.2"

},
"version": "1.0.0-alpha.1.4"
"version": "1.0.0-alpha.1.5"
}
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