symlink-dir
Advanced tools
Comparing version 1.0.2 to 1.0.3
#!/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
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
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
10547
106
+ Added@types/mz@0.0.31(transitive)
- Removed@types/mz@0.0.30(transitive)
Updated@types/mz@0.0.31