New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

markdown-magic

Package Overview
Dependencies
Maintainers
1
Versions
58
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

markdown-magic - npm Package Compare versions

Comparing version 0.2.1 to 1.0.0

18

examples/generate-readme.js

@@ -40,11 +40,11 @@ const fs = require('fs')

if(!mdPath) return false
const gitAdd = execSync(`git add ${mdPath}`, {}, (error) => {
if (error) console.warn(error)
const msg = `${mdPath} automatically updated by markdown-magic`
const gitCommitCommand = `git commit -m '${msg}' --no-verify`
// execSync(gitCommitCommand, {}, (err) => {
// if (err) console.warn(err)
// console.log('git commit automatically ran. Push up your changes!')
// })
})
// const gitAdd = execSync(`git add ${mdPath}`, {}, (error) => {
// if (error) console.warn(error)
// const msg = `${mdPath} automatically updated by markdown-magic`
// const gitCommitCommand = `git commit -m '${msg}' --no-verify`
// // execSync(gitCommitCommand, {}, (err) => {
// // if (err) console.warn(err)
// // console.log('git commit automatically ran. Push up your changes!')
// // })
// })
})

@@ -51,0 +51,0 @@ }

{
"name": "markdown-magic",
"version": "0.2.1",
"version": "1.0.0",
"description": "Automatically update markdown files with content from external sources",

@@ -34,14 +34,16 @@ "main": "index.js",

"is-local-path": "^0.1.6",
"markdown-toc": "^1.0.2",
"markdown-toc": "^1.2.0",
"sync-request": "^3.0.1"
},
"devDependencies": {
"ava": "^0.17.0",
"babel-eslint": "^7.1.1",
"ava": "^2.3.0",
"dox": "^0.9.0",
"eslint": "^3.11.1",
"eslint-config-airbnb-base": "^10.0.1",
"eslint-plugin-import": "^2.2.0",
"sinon": "^1.17.6"
},
"ava": {
"files": [
"test/**/*.test.js"
],
"verbose": true
}
}
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