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

browserify-hogan

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

browserify-hogan - npm Package Compare versions

Comparing version 0.0.2 to 0.0.3

4

index.js
var hogan = require('hogan.js'),
through = require('through')
var filenamePattern = /\.(html|hogan|hg)$/
var filenamePattern = /\.(html|hogan|hg|mustache|ms)$/
var wrap = function(template) {
return 'module.exports=(function() {var Hogan = require(\'hogan.js\');var template = new Hogan.Template(' + template + ');return function(data) {return template.render(data)}}());'
return 'module.exports=(function() {var Template = require(\'hogan.js/lib/template\').Template;var template = new Template(' + template + ');return function(data) {return template.render(data)}}());'
}

@@ -9,0 +9,0 @@

@@ -11,3 +11,3 @@ {

],
"version": "0.0.2",
"version": "0.0.3",
"license": "MIT",

@@ -14,0 +14,0 @@ "repository": {

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