Socket
Socket
Sign inDemoInstall

express-hbs

Package Overview
Dependencies
63
Maintainers
5
Versions
57
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.3.1 to 2.3.2

.github/workflows/test.yml

4

lib/hbs.js

@@ -154,3 +154,3 @@ 'use strict';

function readNext() {
readdirp({root: self.partialsDir[count], fileFilter: '*' + self._options.extname})
readdirp(self.partialsDir[count], {fileFilter: '*' + self._options.extname})
.on('warn', function(err) {

@@ -169,3 +169,3 @@ console.warn('Non-fatal error in express-hbs cachePartials.', err);

var name = dirname + path.basename(entry.name, self._options.extname);
var name = dirname + path.basename(entry.basename, self._options.extname);
// fix the path in windows

@@ -172,0 +172,0 @@ name = name.split('\\').join('/');

{
"name": "express-hbs",
"version": "2.3.1",
"version": "2.3.2",
"description": "Express handlebars template engine complete with multiple layouts, partials and blocks.",

@@ -19,31 +19,33 @@ "keywords": [

"test": "mocha",
"posttest": "npm run lint",
"coverage": "nyc npm run test"
"posttest": "yarn lint",
"coverage": "nyc yarn test",
"preship": "yarn test",
"ship": "STATUS=$(git status --porcelain); echo $STATUS; if [ -z \"$STATUS\" ]; then yarn publish && git push --follow-tags; fi"
},
"repository": {
"type": "git",
"url": "https://github.com/barc/express-hbs"
"url": "https://github.com/TryGhost/express-hbs"
},
"bugs": "https://github.com/barc/express-hbs/issues",
"bugs": "https://github.com/TryGhost/express-hbs/issues",
"author": "Mario Gutierrez <mario@barc.com>",
"license": "MIT",
"devDependencies": {
"cookie-parser": "1.4.3",
"eslint": "^6.8.0",
"express": "4.16.4",
"i18n": "0.8.3",
"mocha": "5.2.0",
"nyc": "14.1.1",
"rewire": "4.0.1",
"supertest": "3.3.0"
"cookie-parser": "1.4.5",
"eslint": "6.8.0",
"express": "4.17.1",
"i18n": "0.8.6",
"mocha": "7.1.1",
"nyc": "15.0.0",
"rewire": "5.0.0",
"supertest": "4.0.2"
},
"dependencies": {
"bluebird": "^3.5.3",
"handlebars": "4.5.3",
"handlebars": "4.7.4",
"lodash": "4.17.15",
"readdirp": "2.2.1"
"readdirp": "3.4.0"
},
"optionalDependencies": {
"js-beautify": "1.8.8"
"js-beautify": "1.10.3"
}
}

@@ -5,4 +5,2 @@ # express-hbs

Open source project from [Barc](http://barc.com), instant real-time forum on any website.
## v2.0.0

@@ -12,3 +10,3 @@

Full details: https://github.com/barc/express-hbs/releases/tag/2.0.0
Full details: https://github.com/TryGhost/express-hbs/releases/tag/2.0.0

@@ -20,3 +18,3 @@ ## v1.0.0 Breaking Changes

1. Handlebars @v4.0.5 - please see the [handlebars v4.0 compatibility notes](https://github.com/wycats/handlebars.js/blob/master/release-notes.md#v400---september-1st-2015)
2. The file extension for partial files must now match the extension configured in `extname` - please see [the PR](https://github.com/barc/express-hbs/pull/88)
2. The file extension for partial files must now match the extension configured in `extname` - please see [the PR](https://github.com/TryGhost/express-hbs/pull/88)

@@ -298,3 +296,3 @@ ## Usage

Big thanks to all [CONTRIBUTORS](https://github.com/barc/express-hbs/contributors)
Big thanks to all [CONTRIBUTORS](https://github.com/TryGhost/express-hbs/contributors)

@@ -306,4 +304,2 @@

Copyright (c) 2012-2014 Barc, Inc.
See file LICENSE for copying permissions.
Copyright (c) 2012-2020 Barc, Inc., Ghost Foundation - Released under the [MIT license](LICENSE).

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc