Socket
Socket
Sign inDemoInstall

remark

Package Overview
Dependencies
Maintainers
13
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 9.0.0 to 10.0.0

13

index.js

@@ -1,7 +0,10 @@

'use strict';
'use strict'
var unified = require('unified');
var parse = require('remark-parse');
var stringify = require('remark-stringify');
var unified = require('unified')
var parse = require('remark-parse')
var stringify = require('remark-stringify')
module.exports = unified().use(parse).use(stringify).freeze();
module.exports = unified()
.use(parse)
.use(stringify)
.freeze()
{
"name": "remark",
"version": "9.0.0",
"version": "10.0.0",
"description": "Markdown processor powered by plugins",

@@ -16,7 +16,2 @@ "license": "MIT",

],
"dependencies": {
"remark-parse": "^5.0.0",
"remark-stringify": "^5.0.0",
"unified": "^6.0.0"
},
"homepage": "http://remark.js.org",

@@ -32,4 +27,14 @@ "repository": "https://github.com/remarkjs/remark/tree/master/packages/remark",

],
"scripts": {},
"dependencies": {
"remark-parse": "^6.0.0",
"remark-stringify": "^6.0.0",
"unified": "^7.0.0"
},
"devDependencies": {
"tape": "^4.9.1"
},
"scripts": {
"test": "tape test.js"
},
"xo": false
}

@@ -1,2 +0,2 @@

# remark [![Build Status][build-badge]][build-status] [![Coverage Status][coverage-badge]][coverage-status] [![Chat][chat-badge]][chat]
# remark [![Travis][build-badge]][build-status] [![Coverage][coverage-badge]][coverage-status] [![Downloads][dl-badge]][dl] [![Size][size-badge]][size] [![Chat][chat-badge]][chat]

@@ -29,6 +29,6 @@ The [`remark`][remark] processor is a markdown processor powered by

```js
var remark = require('remark');
var recommended = require('remark-preset-lint-recommended');
var html = require('remark-html');
var report = require('vfile-reporter');
var remark = require('remark')
var recommended = require('remark-preset-lint-recommended')
var html = require('remark-html')
var report = require('vfile-reporter')

@@ -38,6 +38,6 @@ remark()

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

@@ -63,10 +63,10 @@

```js
var remark = require('remark');
var remark = require('remark')
remark()
.data('settings', {commonmark: true, emphasis: '*', strong: '*'})
.process('_Emphasis_ and __importance__', function (err, file) {
if (err) throw err;
console.log(String(file));
});
.process('_Emphasis_ and __importance__', function(err, file) {
if (err) throw err
console.log(String(file))
})
```

@@ -86,3 +86,3 @@

```js
var remark = require('remark');
var remark = require('remark')

@@ -93,6 +93,6 @@ remark()

})
.process('_Emphasis_ and __importance__', function (err, file) {
if (err) throw err;
console.log(String(file));
});
.process('_Emphasis_ and __importance__', function(err, file) {
if (err) throw err
console.log(String(file))
})
```

@@ -112,3 +112,3 @@

[build-badge]: https://img.shields.io/travis/remarkjs/remark.svg
[build-badge]: https://img.shields.io/travis/remarkjs/remark/master.svg

@@ -121,2 +121,10 @@ [build-status]: https://travis-ci.org/remarkjs/remark

[dl-badge]: https://img.shields.io/npm/dm/remark.svg
[dl]: https://www.npmjs.com/package/remark
[size-badge]: https://img.shields.io/bundlephobia/minzip/remark.svg
[size]: https://bundlephobia.com/result?p=remark
[chat-badge]: https://img.shields.io/gitter/room/remarkjs/Lobby.svg

@@ -126,3 +134,3 @@

[license]: https://github.com/remarkjs/remark/blob/master/LICENSE
[license]: https://github.com/remarkjs/remark/blob/master/license

@@ -129,0 +137,0 @@ [author]: http://wooorm.com

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