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.8.0 to 2.8.1

2

package.json
{
"name": "hbsfy",
"version": "2.8.0",
"version": "2.8.1",
"description": "Handlebars precompiler plugin for Browserify v2",

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

@@ -17,5 +17,9 @@

b.bundle().pipe(concat(function(data) {
assert(data.length < 35000, "Bundle is too big! Maybe full Handlebars got compiled in?");
b.bundle({ debug: false }).pipe(concat(function(data) {
// Browserify is not respecting the `debug` flag, so source maps
// are included, blowing up the size.
var stripped = data.toString('utf8').replace(/\/\/# sourceMappingURL.+/g, '');
assert(stripped.length < 35000, "Bundle is too big! Maybe full Handlebars got compiled in?");
vm.runInNewContext(data.toString(), context);
}));

@@ -22,0 +26,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