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

letter-press

Package Overview
Dependencies
Maintainers
1
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

letter-press - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

2

ghmd.js

@@ -24,3 +24,3 @@ // based on 1000ch/node-github-markdown

return pug.renderFile(path.resolve(__dirname, './ghmd.pug'), {
return pug.renderFile(path.join(__dirname, 'ghmd.pug'), {
pretty: true,

@@ -27,0 +27,0 @@ title: title,

@@ -6,3 +6,3 @@ const fs = require('fs')

module.exports = (id, md, opts) => {
const dist = opts.dist ? opts.dist : path.join(__dirname, 'dist')
const dist = opts.dist ? opts.dist : path.resolve('dist')
if (!fs.existsSync(dist)) fs.mkdirSync(dist)

@@ -9,0 +9,0 @@ write(path.join(dist, id + '.md'), md)

{
"name": "letter-press",
"version": "1.0.1",
"version": "1.0.2",
"main": "index.js",

@@ -5,0 +5,0 @@ "scripts": {

@@ -11,3 +11,3 @@ {

"github": "dapibus",
"intro": "Dear Sir/Madam"
"salutation": "Dear Sir/Madam"
},

@@ -22,3 +22,3 @@ {

"github": "parturient",
"intro": "To whom it may concern"
"salutation": "To whom it may concern"
}

@@ -25,0 +25,0 @@ ],

module.exports = (date, from, to) =>
`<p style="text-align: right">${date}</p>
${from.intro},
${from.salutation},

@@ -6,0 +6,0 @@ Nullam quis risus eget urna mollis ornare vel eu leo the ${to.position} position at ${to.company}.

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