Socket
Socket
Sign inDemoInstall

remark

Package Overview
Dependencies
Maintainers
1
Versions
49
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

remark - npm Package Compare versions

Comparing version 5.1.0 to 6.0.0

12

cli.js
#!/usr/bin/env node
console.error([
'Whoops, `remark` is mistakenly installed instead of `remark-cli`',
'',
' npm uninstall remark',
' npm install remark-cli',
'',
'See https://git.io/vonyG for more information.'
'Whoops, `remark` is mistakenly installed instead of `remark-cli`',
'',
' npm uninstall remark',
' npm install remark-cli',
'',
'See https://git.io/vonyG for more information.'
].join('\n'));
process.exit(1);
/**
* @author Titus Wormer
* @copyright 2015-2016 Titus Wormer
* @copyright 2015 Titus Wormer
* @license MIT

@@ -11,4 +11,2 @@ * @module remark

/* eslint-env commonjs */
/* Dependencies. */

@@ -15,0 +13,0 @@ var unified = require('unified');

{
"name": "remark",
"version": "5.1.0",
"version": "6.0.0",
"description": "Markdown processor powered by plugins",

@@ -17,5 +17,5 @@ "license": "MIT",

"dependencies": {
"remark-parse": "^1.1.0",
"remark-stringify": "^1.1.0",
"unified": "^4.1.1"
"remark-parse": "^2.0.0",
"remark-stringify": "^2.0.0",
"unified": "^5.0.0"
},

@@ -22,0 +22,0 @@ "homepage": "http://remark.js.org",

@@ -31,4 +31,4 @@ # remark [![Build Status][build-badge]][build-status] [![Coverage Status][coverage-badge]][coverage-status] [![Chat][chat-badge]][chat]

remark().use(lint).use(html).process('## Hello world!', function (err, file) {
console.error(report(file));
console.log(file.toString());
console.error(report(err || file));
console.log(String(file));
});

@@ -40,3 +40,2 @@ ```

```txt
<stdin>
1:1 warning Missing newline character at end of file final-newline

@@ -43,0 +42,0 @@ 1:1-1:16 warning First heading level should be `1` first-heading-level

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