Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

mac-hardlink

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mac-hardlink - npm Package Compare versions

Comparing version 1.0.7 to 1.0.8

12

bin/hardlink.js

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

const _ = require('lodash');
const p = require('path');

@@ -26,8 +25,2 @@ const shouldShowHelp = _.includes(process.argv, '-h');

function assertSourceExists() {
if (!fs.existsSync(source)) {
throw new Error(`${source} does not exist`);
}
}
function ensureDestExists() {

@@ -107,3 +100,6 @@ if (!fs.existsSync(dest)) {

}
assertSourceExists();
if (!fs.existsSync(source)) {
console.log(`hardlink: "${source}" does not exists`);
return;
}
if (!unlinkOnly) {

@@ -110,0 +106,0 @@ ensureDestExists();

{
"name": "mac-hardlink",
"version": "1.0.7",
"version": "1.0.8",
"description": "Hardlinks on macOS",

@@ -5,0 +5,0 @@ "author": "Daniel Zlotin <zlotindaniel@gmail.com>",

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