Socket
Socket
Sign inDemoInstall

remark-cli

Package Overview
Dependencies
Maintainers
3
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

remark-cli - npm Package Compare versions

Comparing version 12.0.0 to 12.0.1

14

cli.js

@@ -17,3 +17,3 @@ #!/usr/bin/env node

/** @type {Pack} */
const proc = JSON.parse(
const process_ = JSON.parse(
String(

@@ -34,12 +34,12 @@ await fs.readFile(

extensions: markdownExtensions,
ignoreName: '.' + proc.name + 'ignore',
name: proc.name,
packageField: proc.name + 'Config',
pluginPrefix: proc.name,
ignoreName: '.' + process_.name + 'ignore',
name: process_.name,
packageField: process_.name + 'Config',
pluginPrefix: process_.name,
processor: remark,
rcName: '.' + proc.name + 'rc',
rcName: '.' + process_.name + 'rc',
version: [
proc.name + ': ' + proc.version,
process_.name + ': ' + process_.version,
cli.name + ': ' + cli.version
].join(', ')
})
{
"name": "remark-cli",
"version": "12.0.0",
"version": "12.0.1",
"description": "CLI to process markdown with remark",

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

"dependencies": {
"import-meta-resolve": "^3.0.0",
"import-meta-resolve": "^4.0.0",
"markdown-extensions": "^2.0.0",

@@ -37,0 +37,0 @@ "remark": "^15.0.0",

@@ -14,15 +14,15 @@ # remark-cli

* [What is this?](#what-is-this)
* [When should I use this?](#when-should-i-use-this)
* [Install](#install)
* [Use](#use)
* [CLI](#cli)
* [Examples](#examples)
* [Example: checking and formatting markdown on the CLI](#example-checking-and-formatting-markdown-on-the-cli)
* [Example: config files (JSON, YAML, JS)](#example-config-files-json-yaml-js)
* [Compatibility](#compatibility)
* [Security](#security)
* [Contribute](#contribute)
* [Sponsor](#sponsor)
* [License](#license)
* [What is this?](#what-is-this)
* [When should I use this?](#when-should-i-use-this)
* [Install](#install)
* [Use](#use)
* [CLI](#cli)
* [Examples](#examples)
* [Example: checking and formatting markdown on the CLI](#example-checking-and-formatting-markdown-on-the-cli)
* [Example: config files (JSON, YAML, JS)](#example-config-files-json-yaml-js)
* [Compatibility](#compatibility)
* [Security](#security)
* [Contribute](#contribute)
* [Sponsor](#sponsor)
* [License](#license)

@@ -126,10 +126,10 @@ ## What is this?

* load `remark-` plugins
* search for markdown extensions
([`.md`, `.markdown`, etc][markdown-extensions])
* ignore paths found in [`.remarkignore` files][ignore-file]
* load configuration from
[`.remarkrc`, `.remarkrc.js`, etc files][config-file]
* use configuration from
[`remarkConfig` fields in `package.json` files][config-file]
* load `remark-` plugins
* search for markdown extensions
([`.md`, `.markdown`, etc][markdown-extensions])
* ignore paths found in [`.remarkignore` files][ignore-file]
* load configuration from
[`.remarkrc`, `.remarkrc.js`, etc files][config-file]
* use configuration from
[`remarkConfig` fields in `package.json` files][config-file]

@@ -273,10 +273,10 @@ ## Examples

1. `.remarkrc` (JSON)
3. `.remarkrc.cjs` (CJS)
5. `.remarkrc.js` (CJS or ESM, depending on `type: 'module'` in `package.json`)
2. `.remarkrc.json` (JSON)
4. `.remarkrc.mjs` (ESM)
6. `.remarkrc.yaml` (YAML)
7. `.remarkrc.yml` (YAML)
8. `package.json` with `remarkConfig` field
1. `.remarkrc` (JSON)
2. `.remarkrc.cjs` (CJS)
3. `.remarkrc.js` (CJS or ESM, depending on `type: 'module'` in `package.json`)
4. `.remarkrc.json` (JSON)
5. `.remarkrc.mjs` (ESM)
6. `.remarkrc.yaml` (YAML)
7. `.remarkrc.yml` (YAML)
8. `package.json` with `remarkConfig` field

@@ -283,0 +283,0 @@ ## Compatibility

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