Comparing version 6.0.0 to 6.0.1
26
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.' | ||
].join('\n')); | ||
var load = require('load-plugin'); | ||
process.exit(1); | ||
var cli = load.resolve('remark-cli'); | ||
if (cli) { | ||
require(cli + '/cli'); | ||
} else { | ||
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.' | ||
].join('\n')); | ||
process.exit(1); | ||
} |
{ | ||
"name": "remark", | ||
"version": "6.0.0", | ||
"version": "6.0.1", | ||
"description": "Markdown processor powered by plugins", | ||
@@ -17,2 +17,3 @@ "license": "MIT", | ||
"dependencies": { | ||
"load-plugin": "^2.0.0", | ||
"remark-parse": "^2.0.0", | ||
@@ -19,0 +20,0 @@ "remark-stringify": "^2.0.0", |
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
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
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
3893
30
4
2
+ Addedload-plugin@^2.0.0
+ Addeddeep-extend@0.6.0(transitive)
+ Addedini@1.3.8(transitive)
+ Addedload-plugin@2.3.1(transitive)
+ Addedminimist@1.2.8(transitive)
+ Addednpm-prefix@1.2.0(transitive)
+ Addedos-homedir@1.0.2(transitive)
+ Addedrc@1.2.8(transitive)
+ Addedresolve-from@5.0.0(transitive)
+ Addedshellsubstitute@1.2.0(transitive)
+ Addedstrip-json-comments@2.0.1(transitive)
+ Addeduntildify@2.1.0(transitive)