Socket
Socket
Sign inDemoInstall

templatizer

Package Overview
Dependencies
Maintainers
3
Versions
55
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

templatizer - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

3

lib/transformMixins.js

@@ -73,3 +73,4 @@ var escodegen = require('escodegen');

newCall = 'buf.push(' + options.rootName + bracketedName(options.dir.split('.').concat(mixinName));
newCall = node.source().replace(/^jade_mixins\[.*\]([\s\S]*);$/gm, newCall + '$1);');
// TODO: makde this use falafel/escodegen instead of regex replacement
newCall = node.source().replace(/^jade_mixins\[.*?\]([\s\S]*);$/gm, newCall + '$1);');

@@ -76,0 +77,0 @@ // TODO: use codegen to add buf to block

{
"name": "templatizer",
"description": "Simple solution for compiling jade templates into vanilla JS functions for blazin' fast client-side use.",
"version": "1.0.0",
"version": "1.0.1",
"author": "Henrik Joreteg <henrik@andyet.net>",

@@ -33,2 +33,3 @@ "bin": "./bin/cli",

"jshint": "^2.5.0",
"phantomjs": "^1.9.7-15",
"precommit-hook": "^0.4.1",

@@ -35,0 +36,0 @@ "testee": "0.0.13",

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