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

docpad-plugin-commentator

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

docpad-plugin-commentator - npm Package Compare versions

Comparing version 2.0.5 to 2.0.6

8

out/commentator.plugin.js

@@ -165,3 +165,3 @@ // Generated by CoffeeScript 1.6.3

server.post(this.getConfig().postUrl, function(req, res, next) {
var content, documentAttributes, key, meta, now, nowString, nowTime, outFile, outPath, safefs, val, _ref1;
var content, documentAttributes, key, meta, now, nowString, nowTime, outFile, outPath, val, _ref1;
now = new Date();

@@ -192,5 +192,5 @@ nowTime = now.getTime();

content = '---\r\n' + meta + '\r\n---\r\n' + documentAttributes.data;
safefs = require('safefs');
safefs.writeFile(outFile, content, function(err2) {
if (err2) {
fs.writeFile(outFile, content, function(err) {
if (err) {
console.log(err);
return next(err2);

@@ -197,0 +197,0 @@ }

{
"name": "docpad-plugin-commentator",
"version": "2.0.5",
"version": "2.0.6",
"description": "Post commenting system for docpad. Uses ajax to post comments back to the server and save them as markdown. Allows nested comments - ie comments associated with other comments on the page and displayed directly underneath and indented.",

@@ -5,0 +5,0 @@ "homepage": "",

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