New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

handlebars-precompiler

Package Overview
Dependencies
Maintainers
2
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

handlebars-precompiler - npm Package Compare versions

Comparing version 1.0.6 to 2.0.0

7

handlebars-precompiler.js

@@ -126,6 +126,3 @@ // Modified version of https://github.com/wycats/handlebars.js/blob/master/bin/handlebars

if (opts.min) {
var ast = uglify.parser.parse(output);
ast = uglify.uglify.ast_mangle(ast);
ast = uglify.uglify.ast_squeeze(ast);
output = uglify.uglify.gen_code(ast);
output = uglify.minify(output, { fromString: true }).code;
}

@@ -236,3 +233,3 @@

watch.watchTree(dir, {
interval: 100,
interval: options.pollInterval,
ignoreDotFiles: true,

@@ -239,0 +236,0 @@ persistent: true,

{
"name": "handlebars-precompiler",
"description": "Handlebars precompiler node module",
"version": "1.0.6",
"version": "2.0.0",
"homepage": "http://github.com/nicjansma/node-handlebars-precompiler",

@@ -17,6 +17,6 @@ "keywords": [

"dependencies": {
"handlebars": "~1.0",
"uglify-js": "~1.2",
"handlebars": "^2.0.0",
"uglify-js": "^2.4.15",
"watch": "^0.11.0",
"lodash": ">= 0.0.0"
"lodash": ">=2.4.1"
},

@@ -23,0 +23,0 @@ "devDependencies": {

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