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

magic-templates

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

magic-templates - npm Package Compare versions

Comparing version 0.1.1 to 0.1.2

2

package.json
{
"name": "magic-templates",
"description": "Templating framework for NodeJS inspired by Django templates.",
"version": "0.1.1",
"version": "0.1.2",
"homepage": "https://github.com/Kami/magic-templates",

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

@@ -28,3 +28,3 @@ Magic templates

var sys = require('sys')
var util = require('util')
, templates = require('template');

@@ -39,9 +39,9 @@

if( err ) // load/parse errors (invalid filename, bad template syntax)
sys.puts( err );
util.puts( err );
else
template.render( context, function( err, output ) {
if( err ) // render errors (invalid filename in context variables, bad context variables)
sys.puts( err );
util.puts( err );
else
sys.puts( output.join("") );
util.puts( output.join("") );
});

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