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 |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3724
24
84
+ Addedis-alphanumeric@1.0.0(transitive)
+ Addedis-buffer@1.1.6(transitive)
+ Addedis-whitespace-character@1.0.4(transitive)
+ Addedis-word-character@1.0.4(transitive)
+ Addedlongest-streak@2.0.4(transitive)
+ Addedmarkdown-escapes@1.0.4(transitive)
+ Addedmarkdown-table@1.1.3(transitive)
+ Addedmdast-util-compact@1.0.4(transitive)
+ Addedremark-parse@2.3.0(transitive)
+ Addedremark-stringify@2.4.0(transitive)
+ Addedreplace-ext@1.0.0(transitive)
+ Addedstate-toggle@1.0.3(transitive)
+ Addedunified@5.1.0(transitive)
+ Addedunist-util-stringify-position@1.1.2(transitive)
+ Addedvfile@2.3.0(transitive)
+ Addedvfile-message@1.1.1(transitive)
+ Addedx-is-string@0.1.0(transitive)
- Removedlongest-streak@1.0.0(transitive)
- Removedmarkdown-table@0.4.0(transitive)
- Removedremark-parse@1.1.0(transitive)
- Removedremark-stringify@1.1.0(transitive)
- Removedunified@4.2.1(transitive)
- Removedvfile@1.4.0(transitive)
Updatedremark-parse@^2.0.0
Updatedremark-stringify@^2.0.0
Updatedunified@^5.0.0