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

ep_markdown

Package Overview
Dependencies
Maintainers
5
Versions
71
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ep_markdown - npm Package Compare versions

Comparing version 0.0.10 to 0.1.0

13

exportMarkdown.js

@@ -424,13 +424,10 @@ /**

exports.getPadMarkdownDocument = function (padId, revNum, callback)
exports.getPadMarkdownDocument = async function (padId, revNum, callback)
{
padManager.getPad(padId, function (err, pad)
var pad = await padManager.getPad(padId)
getPadMarkdown(pad, revNum, function (err, Markdown)
{
if(ERR(err, callback)) return;
getPadMarkdown(pad, revNum, function (err, Markdown)
{
if(ERR(err, callback)) return;
callback(null, Markdown);
});
callback(null, Markdown);
});

@@ -437,0 +434,0 @@ }

@@ -9,2 +9,3 @@ var exportMarkdown = require('./exportMarkdown');

exportMarkdown.getPadMarkdownDocument(padID, revision, function(err, result) {
res.setHeader('Content-disposition', 'attachment; filename='+padID+'.md');
res.contentType('plain/text');

@@ -11,0 +12,0 @@ res.send(result);

{
"name": "ep_markdown",
"description": "Edit and Export as Markdown in Etherpad",
"version": "0.0.10",
"version": "0.1.0",
"author": {

@@ -6,0 +6,0 @@ "name": "John McLear",

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