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

hbsfy

Package Overview
Dependencies
Maintainers
2
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hbsfy - npm Package Compare versions

Comparing version 2.7.0 to 2.8.0

test/block_partial_require_test.js

2

index.js

@@ -26,3 +26,3 @@ /*jshint node: true*/

// handlebars 3,4
if (node.type === 'PartialStatement' && !inlinePartials[node.name.original]) {
if ((node.type === 'PartialStatement' || node.type === 'PartialBlockStatement') && node.name.original.substr(0,1) !== "@" && !inlinePartials[node.name.original]) {
partials.push(node.name.original);

@@ -29,0 +29,0 @@ return

{
"name": "hbsfy",
"version": "2.7.0",
"version": "2.8.0",
"description": "Handlebars precompiler plugin for Browserify v2",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -222,2 +222,10 @@ [![Build Status](https://travis-ci.org/epeli/node-hbsfy.png?branch=master)](https://travis-ci.org/epeli/node-hbsfy)

### 2.8.0
- Support block partials, ignoring templates with `@` prefix. [#60](https://github.com/epeli/node-hbsfy/pull/60)
### 2.7.0
- Allow inline partials when using `--traverse`. [#54](https://github.com/epeli/node-hbsfy/pull/54)
### 2.6.0

@@ -224,0 +232,0 @@

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