@smithy/shared-ini-file-loader
Advanced tools
Comparing version 2.0.7 to 2.0.8
@@ -6,7 +6,6 @@ "use strict"; | ||
const path_1 = require("path"); | ||
const process_1 = require("process"); | ||
const homeDirCache = {}; | ||
const getHomeDirCacheKey = () => { | ||
if (process_1.geteuid) { | ||
return `${(0, process_1.geteuid)()}`; | ||
if (process && process.geteuid) { | ||
return `${process.geteuid()}`; | ||
} | ||
@@ -13,0 +12,0 @@ return "DEFAULT"; |
import { homedir } from "os"; | ||
import { sep } from "path"; | ||
import { geteuid } from "process"; | ||
const homeDirCache = {}; | ||
const getHomeDirCacheKey = () => { | ||
if (geteuid) { | ||
return `${geteuid()}`; | ||
if (process && process.geteuid) { | ||
return `${process.geteuid()}`; | ||
} | ||
@@ -9,0 +8,0 @@ return "DEFAULT"; |
{ | ||
"name": "@smithy/shared-ini-file-loader", | ||
"version": "2.0.7", | ||
"version": "2.0.8", | ||
"dependencies": { | ||
@@ -5,0 +5,0 @@ "@smithy/types": "^2.3.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
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
44065
701