plop-pack-fancy-comments
Advanced tools
Comparing version 0.2.0 to 0.2.1
@@ -0,1 +1,2 @@ | ||
const handlebars = require('handlebars'); | ||
@@ -27,3 +28,4 @@ module.exports = function (plop, config) { | ||
const padding = ' '; | ||
return `${cfg.commentStart}${border}${padding}END ${text}${padding}${border}${cfg.commentEnd}`; | ||
const out = `${cfg.commentStart}${border}${padding}END ${text}${padding}${border}${cfg.commentEnd}`; | ||
return handlebars.SafeString(out); | ||
}); | ||
@@ -44,3 +46,3 @@ | ||
return out; | ||
return new handlebars.SafeString(out); | ||
} | ||
@@ -47,0 +49,0 @@ }; |
{ | ||
"name": "plop-pack-fancy-comments", | ||
"version": "0.2.0", | ||
"version": "0.2.1", | ||
"description": "A set of plop helpers that provide some fancy code commenting", | ||
@@ -26,3 +26,6 @@ "main": "index.js", | ||
"chokidar-cli": "^1.2.0" | ||
}, | ||
"dependencies": { | ||
"handlebars": "^4.0.5" | ||
} | ||
} |
4075
59
1
+ Addedhandlebars@^4.0.5
+ Addedhandlebars@4.7.8(transitive)
+ Addedminimist@1.2.8(transitive)
+ Addedneo-async@2.6.2(transitive)
+ Addedsource-map@0.6.1(transitive)
+ Addeduglify-js@3.19.3(transitive)
+ Addedwordwrap@1.0.0(transitive)