Comparing version 4.0.0 to 4.0.1
@@ -79,3 +79,3 @@ 'use strict'; | ||
'where', | ||
'name="%username%"', | ||
`name="${process.env.USERNAME}"`, | ||
'get', | ||
@@ -85,3 +85,3 @@ 'fullname' | ||
const fullName = stdout.replace('FullName', ''); | ||
const fullName = stdout.replace('FullName', '').trim(); | ||
@@ -135,2 +135,3 @@ if (!fullName) { | ||
module.exports = mem(getFullName, { | ||
cachePromiseRejection: false, | ||
cacheKey() { | ||
@@ -137,0 +138,0 @@ return JSON.stringify(filterObj(process.env, environmentVariables)); |
{ | ||
"name": "fullname", | ||
"version": "4.0.0", | ||
"version": "4.0.1", | ||
"description": "Get the fullname of the current user", | ||
@@ -39,3 +39,3 @@ "license": "MIT", | ||
"filter-obj": "^2.0.0", | ||
"mem": "^4.3.0", | ||
"mem": "^5.1.0", | ||
"p-any": "^2.1.0", | ||
@@ -46,8 +46,8 @@ "passwd-user": "^3.0.0", | ||
"devDependencies": { | ||
"ava": "^1.4.1", | ||
"ava": "^2.1.0", | ||
"import-fresh": "^3.0.0", | ||
"mock-require": "^3.0.3", | ||
"tsd": "^0.7.2", | ||
"tsd": "^0.7.3", | ||
"xo": "^0.24.0" | ||
} | ||
} |
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
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
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
5624
120
3
+ Addedmem@5.1.1(transitive)
- Removedmem@4.3.0(transitive)
Updatedmem@^5.1.0