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

symlink-dir

Package Overview
Dependencies
Maintainers
1
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

symlink-dir - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

4

dist/cli.js
#!/usr/bin/env node
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const _1 = require(".");
const linkDir = require(".");
const args = process.argv.slice(2);
_1.default(args[0], args[1]);
linkDir(args[0], args[1]);
//# sourceMappingURL=cli.js.map

@@ -1,1 +0,2 @@

export default function symlinkDir(src: string, dest: string): Promise<void>;
declare function symlinkDir(src: string, dest: string): Promise<void>;
export = symlinkDir;

@@ -10,3 +10,2 @@ "use strict";

};
Object.defineProperty(exports, "__esModule", { value: true });
const fs = require("mz/fs");

@@ -38,3 +37,2 @@ const path = require("path");

}
exports.default = symlinkDir;
/**

@@ -61,2 +59,5 @@ * Creates a symlink. Re-link if a symlink already exists at the supplied

}
// for backward compatibility
symlinkDir['default'] = symlinkDir;
module.exports = symlinkDir;
//# sourceMappingURL=index.js.map
{
"name": "symlink-dir",
"version": "1.0.2",
"version": "1.0.3",
"description": "Cross-platform directory symlinking",

@@ -46,3 +46,3 @@ "main": "dist/index.js",

"dependencies": {
"@types/mz": "0.0.30",
"@types/mz": "0.0.31",
"@types/node": "^7.0.4",

@@ -49,0 +49,0 @@ "graceful-fs": "^4.1.11",

@@ -32,3 +32,3 @@ # symlink-dir

'use strict'
const symlinkDir = require('symlink-dir').default
const symlinkDir = require('symlink-dir')
const path = require('path')

@@ -35,0 +35,0 @@ const cwd = process.cwd()

Sorry, the diff of this file is not supported yet

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