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

symlink-or-copy

Package Overview
Dependencies
Maintainers
3
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

symlink-or-copy - npm Package Compare versions

Comparing version 1.3.0 to 1.3.1

4

CHANGELOG.md
# master
# 1.3.1
* Ensure symlink support detection cannot fail when cleaning up
# 1.3.0

@@ -4,0 +8,0 @@

8

index.js

@@ -44,4 +44,4 @@ 'use strict';

fs.unlinkSync(canLinkSrc);
try {
fs.unlinkSync(canLinkSrc);
fs.unlinkSync(canLinkDest);

@@ -67,3 +67,7 @@ } catch (e) {

} catch (e) {
fs.rmdirSync(canLinkSrc);
try {
fs.rmdirSync(canLinkSrc);
} catch(e) {
// In case rmdir failed
}
result.directories = false;

@@ -70,0 +74,0 @@ }

{
"name": "symlink-or-copy",
"description": "Symlink files or directories, falling back to copying on Windows",
"version": "1.3.0",
"version": "1.3.1",
"author": "Jo Liss <joliss42@gmail.com>",

@@ -6,0 +6,0 @@ "main": "index.js",

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