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

hbs

Package Overview
Dependencies
Maintainers
2
Versions
49
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hbs - npm Package Compare versions

Comparing version 2.0.1 to 2.0.2

2

examples/extend/app.js

@@ -21,3 +21,3 @@ // 3rd party

block.push(context(this));
block.push(context.fn(this)); // for older versions of handlebars, use block.push(context(this));
});

@@ -24,0 +24,0 @@

{
"name": "hbs",
"description": "Express.js template engine plugin for Handlebars",
"version": "2.0.1",
"version": "2.0.2",
"homepage": "https://github.com/donpark/hbs",

@@ -12,6 +12,6 @@ "author": "Don Park <donpark@docuverse.com> (http://blog.docuverse.com)",

"dependencies": {
"handlebars": "1.0.7"
"handlebars": "1.0.9"
},
"devDependencies": {
"mocha": "~1.7.0",
"mocha": "1.6.0",
"npm": "~1.1.62",

@@ -26,3 +26,6 @@ "request": "~2.9.202"

},
"optionalDependencies": {}
"repository": {
"type": "git",
"url": "git://github.com/donpark/hbs.git"
}
}

@@ -44,2 +44,14 @@ # hbs [![Build Status](https://secure.travis-ci.org/donpark/hbs.png)](http://travis-ci.org/donpark/hbs) #

## handlebars
The handlebars require used by hbs can be accessed via the `handlebars` property on the `hbs` module.
If you wish to use handlebars methods like `SafeString` please do so on this property. Do not register
helpers or partials in this way.
```
// hbs.handlebars is the handlebars module
hbs.handlebars === require('handlebars');
```
## Recipes ##

@@ -46,0 +58,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