New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

marksnap

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

marksnap - npm Package Compare versions

Comparing version 0.9.1 to 0.9.2

lib/path-is-absolute.js

2

bin/marksnap.js

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

* ----------------------------------------------------------------------------
* @version 0.9.1
* @version 0.9.2
* @author AaronJan <https://github.com/AaronJan>

@@ -12,0 +12,0 @@ * @link https://github.com/AaronJan/marksnap

@@ -149,3 +149,3 @@ /**

*/
options.source = path.isAbsolute(argv._[0]) ?
options.source = helper.pathIsAbsolute(argv._[0]) ?
argv._[0] :

@@ -168,3 +168,3 @@ path.resolve(process.cwd(), argv._[0]);

if (argv._.length >= 2) {
options.directory = path.isAbsolute(argv._[1]) ?
options.directory = helper.pathIsAbsolute(argv._[1]) ?
argv._[1] :

@@ -171,0 +171,0 @@ path.resolve(process.cwd(), argv._[1]);

@@ -7,2 +7,3 @@ /**

var chalk = require('chalk');
var pathIsAbsolute = require('./path-is-absolute.js');

@@ -27,4 +28,9 @@

/**
* Determines whether path is an absolute path.
*
* @param path
*/
helper.pathIsAbsolute = pathIsAbsolute;
module.exports = helper;
{
"name": "marksnap",
"version": "0.9.1",
"version": "0.9.2",
"description": "CLI tool for parse markdown(.md) to HTML, PDF.",

@@ -5,0 +5,0 @@ "readmeFilename": "README.md",

@@ -10,3 +10,3 @@ # Marksnap.js

**This package requires `node` version `>= 0.12`.**
**This package requires `node` version `>= 0.10`.**

@@ -13,0 +13,0 @@ ### Example usage

Sorry, the diff of this file is not supported yet

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