cache-directory
Advanced tools
Comparing version 1.0.0 to 1.1.0
@@ -5,2 +5,6 @@ # `cache-directory` changelog | ||
## 1.1.0 - 2016-07-23 | ||
* Added Windows support | ||
## 1.0.0 - 2016-07-22 | ||
@@ -7,0 +11,0 @@ |
@@ -25,3 +25,3 @@ /* | ||
case 'win32': | ||
return null; | ||
return process.env.APPDATA ? path.join(process.env.APPDATA, appName, 'Caches') : null; | ||
case 'darwin': | ||
@@ -28,0 +28,0 @@ return home ? path.join(home, 'Library/Caches', appName) : null; |
{ | ||
"name": "cache-directory", | ||
"version": "1.0.0", | ||
"version": "1.1.0", | ||
"description": "Find the proper cache directory based on operating system", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -21,4 +21,2 @@ # `cache-directory` | ||
`cache-directory` doesn't support Windows. I will accept PRs to add this functionality, but all the docs I found were useless. | ||
When run on OS X, `cache-directory` assumes it isn't run in a sandboxed process environment. If it is, it will probably break. Additionally, the app name is used instead of the [conventional][1] bundle identifier (for simplicity and because many `cache-directory` consumers won't necessarily _have_ a bundle identifier). | ||
@@ -25,0 +23,0 @@ |
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
46629
35
2