Socket
Socket
Sign inDemoInstall

@hipster/mdx2-issue-checker

Package Overview
Dependencies
Maintainers
2
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hipster/mdx2-issue-checker - npm Package Compare versions

Comparing version 0.0.6 to 0.0.7

15

index.js

@@ -11,13 +11,14 @@ #!/usr/bin/env node

if(!process.argv.includes('--verbose')) {
process.argv = process.argv.concat(['--silent'])
} else {
const index = process.argv.indexOf('--verbose');
process.argv.splice(index, 1);
}
const inputs = process.argv.slice(2)
const isAllFlags = inputs.every((input) => input.startsWith('-'))
if(process.argv.length === 3) {
if(isAllFlags) {
process.argv = process.argv.concat(['.'])
}
if(!inputs.includes('--watch')) {
const silentTip = !inputs.includes('--silent') ? ' You can also run it with the --silent flag if you want only errors to be reported.' : ''
console.log(`Tip: you can run this command with the --watch flag to continuously check for issues as you change your files.${silentTip}\n`)
}
process.argv = process.argv.concat(['--use', require.resolve('remark-mdx')])

@@ -24,0 +25,0 @@

{
"name": "@hipster/mdx2-issue-checker",
"version": "0.0.6",
"version": "0.0.7",
"description": "Wrapper around remark-cli to make it easier to check for MDX v2 syntax issues",

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

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