Socket
Socket
Sign inDemoInstall

remark-usage

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

remark-usage - npm Package Compare versions

Comparing version 3.0.0 to 4.0.0-alpha.1

2

index.js

@@ -170,3 +170,3 @@ /**

function parse(value) {
return remark.parse(value, {
return remark().parse(value, {
'position': false

@@ -173,0 +173,0 @@ }).children;

{
"name": "remark-usage",
"version": "3.0.0",
"version": "4.0.0-alpha.1",
"description": "Add a usage example to your README",

@@ -26,3 +26,3 @@ "license": "MIT",

"cept": "^1.0.0",
"remark": "^4.0.0-alpha.4",
"remark": "^5.0.0",
"mdast-util-heading-range": "^2.0.0",

@@ -36,13 +36,14 @@ "require-uncached": "^1.0.2",

"istanbul": "^0.4.0",
"jscs": "^2.0.0",
"jscs-jsdoc": "^1.0.0",
"jscs": "^3.0.0",
"jscs-jsdoc": "^2.0.0",
"remark-cli": "^1.0.0",
"remark-comment-config": "^4.0.0-alpha.1",
"remark-github": "^4.0.1",
"remark-lint": "^3.0.0",
"remark-lint": "^4.0.0",
"remark-slug": "^4.1.0",
"remark-comment-config": "^3.0.0",
"remark-validate-links": "^2.0.0",
"remark-validate-links": "^4.0.0-alpha.1",
"tape": "^4.0.0"
},
"scripts": {
"build-md": "remark . --quiet",
"build-md": "remark . --quiet --frail",
"build": "npm run build-md",

@@ -49,0 +50,0 @@ "lint-api": "eslint .",

@@ -23,3 +23,3 @@ # remark-usage [![Build Status][travis-badge]][travis] [![Coverage Status][codecov-badge]][codecov]

var fs = require('fs');
var remark = require('remark');
var remark = require('remark')();
var usage = require('remark-usage'); // This is changed from `./index.js` to `remark-usage`

@@ -26,0 +26,0 @@ ```

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