exists-sync
Advanced tools
Comparing version 0.0.3 to 0.0.4
@@ -15,3 +15,3 @@ 'use strict'; | ||
if (stats && stats.isSymbolicLink()) { | ||
link = readlinkSync(resolvedPath); | ||
link = path.normalize(readlinkSync(resolvedPath)); | ||
linkRoot = path.dirname(resolvedPath); | ||
@@ -18,0 +18,0 @@ |
{ | ||
"name": "exists-sync", | ||
"version": "0.0.3", | ||
"version": "0.0.4", | ||
"description": "existsSync that also checks for symlinks", | ||
"main": "index.js", | ||
"files": [ | ||
"index.js" | ||
], | ||
"scripts": { | ||
"test": "mocha test" | ||
"test": "mocha test", | ||
"preversion": "npm test", | ||
"postversion": "git push origin master --follow-tags && npm publish" | ||
}, | ||
@@ -9,0 +14,0 @@ "keywords": [ |
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
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
3
3689
3
53