/* Socket Lib - Built with esbuild */
var __defProp = Object.defineProperty;
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
var __getOwnPropNames = Object.getOwnPropertyNames;
var __hasOwnProp = Object.prototype.hasOwnProperty;
var __export = (target, all) => {
  for (var name in all)
    __defProp(target, name, { get: all[name], enumerable: true });
};
var __copyProps = (to, from, except, desc) => {
  if (from && typeof from === "object" || typeof from === "function") {
    for (let key of __getOwnPropNames(from))
      if (!__hasOwnProp.call(to, key) && key !== except)
        __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
  }
  return to;
};
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
var getters_exports = {};
__export(getters_exports, {
  getDebug: () => getDebug,
  getGithubApiUrl: () => getGithubApiUrl,
  getGithubBaseRef: () => getGithubBaseRef,
  getGithubRefName: () => getGithubRefName,
  getGithubRefType: () => getGithubRefType,
  getGithubRepository: () => getGithubRepository,
  getGithubServerUrl: () => getGithubServerUrl,
  getGithubToken: () => getGithubToken,
  getHome: () => getHome,
  getLocale: () => getLocale,
  getNodeAuthToken: () => getNodeAuthToken,
  getNodeEnv: () => getNodeEnv,
  getNpmConfigUserAgent: () => getNpmConfigUserAgent,
  getNpmLifecycleEvent: () => getNpmLifecycleEvent,
  getNpmRegistry: () => getNpmRegistry,
  getNpmToken: () => getNpmToken,
  getPath: () => getPath,
  getShell: () => getShell,
  getSocketAcceptRisks: () => getSocketAcceptRisks,
  getSocketApiBaseUrl: () => getSocketApiBaseUrl,
  getSocketApiProxy: () => getSocketApiProxy,
  getSocketApiTimeout: () => getSocketApiTimeout,
  getSocketApiToken: () => getSocketApiToken,
  getSocketConfig: () => getSocketConfig,
  getSocketDebug: () => getSocketDebug,
  getSocketHome: () => getSocketHome,
  getSocketNoApiToken: () => getSocketNoApiToken,
  getSocketOrgSlug: () => getSocketOrgSlug,
  getSocketRegistryUrl: () => getSocketRegistryUrl,
  getSocketViewAllRisks: () => getSocketViewAllRisks,
  getTemp: () => getTemp,
  getTerm: () => getTerm,
  getXdgCacheHome: () => getXdgCacheHome,
  getXdgConfigHome: () => getXdgConfigHome,
  getXdgDataHome: () => getXdgDataHome,
  isCI: () => isCI,
  isDevelopment: () => isDevelopment,
  isPreCommit: () => isPreCommit,
  isProduction: () => isProduction,
  isTest: () => isTest
});
module.exports = __toCommonJS(getters_exports);
var import_ci = require("#env/ci");
var import_debug = require("#env/debug");
var import_github_api_url = require("#env/github-api-url");
var import_github_base_ref = require("#env/github-base-ref");
var import_github_ref_name = require("#env/github-ref-name");
var import_github_ref_type = require("#env/github-ref-type");
var import_github_repository = require("#env/github-repository");
var import_github_server_url = require("#env/github-server-url");
var import_github_token = require("#env/github-token");
var import_helpers = require("#env/helpers");
var import_home = require("#env/home");
var import_jest_worker_id = require("#env/jest-worker-id");
var import_lang = require("#env/lang");
var import_lc_all = require("#env/lc-all");
var import_lc_messages = require("#env/lc-messages");
var import_node_auth_token = require("#env/node-auth-token");
var import_node_env = require("#env/node-env");
var import_npm_config_registry = require("#env/npm-config-registry");
var import_npm_config_user_agent = require("#env/npm-config-user-agent");
var import_npm_lifecycle_event = require("#env/npm-lifecycle-event");
var import_npm_registry = require("#env/npm-registry");
var import_npm_token = require("#env/npm-token");
var import_path = require("#env/path");
var import_pre_commit = require("#env/pre-commit");
var import_shell = require("#env/shell");
var import_socket_accept_risks = require("#env/socket-accept-risks");
var import_socket_api_base_url = require("#env/socket-api-base-url");
var import_socket_api_proxy = require("#env/socket-api-proxy");
var import_socket_api_timeout = require("#env/socket-api-timeout");
var import_socket_api_token = require("#env/socket-api-token");
var import_socket_cli_accept_risks = require("#env/socket-cli-accept-risks");
var import_socket_cli_api_base_url = require("#env/socket-cli-api-base-url");
var import_socket_cli_api_proxy = require("#env/socket-cli-api-proxy");
var import_socket_cli_api_timeout = require("#env/socket-cli-api-timeout");
var import_socket_cli_api_token = require("#env/socket-cli-api-token");
var import_socket_cli_config = require("#env/socket-cli-config");
var import_socket_cli_no_api_token = require("#env/socket-cli-no-api-token");
var import_socket_cli_org_slug = require("#env/socket-cli-org-slug");
var import_socket_cli_view_all_risks = require("#env/socket-cli-view-all-risks");
var import_socket_config = require("#env/socket-config");
var import_socket_debug = require("#env/socket-debug");
var import_socket_home = require("#env/socket-home");
var import_socket_no_api_token = require("#env/socket-no-api-token");
var import_socket_npm_registry = require("#env/socket-npm-registry");
var import_socket_org_slug = require("#env/socket-org-slug");
var import_socket_registry_url = require("#env/socket-registry-url");
var import_socket_view_all_risks = require("#env/socket-view-all-risks");
var import_temp = require("#env/temp");
var import_term = require("#env/term");
var import_tmp = require("#env/tmp");
var import_tmpdir = require("#env/tmpdir");
var import_userprofile = require("#env/userprofile");
var import_vitest = require("#env/vitest");
var import_xdg_cache_home = require("#env/xdg-cache-home");
var import_xdg_config_home = require("#env/xdg-config-home");
var import_xdg_data_home = require("#env/xdg-data-home");
function getNodeEnv() {
  return (0, import_helpers.envAsString)(import_node_env.NODE_ENV) || "production";
}
function isProduction() {
  return getNodeEnv() === "production";
}
function isDevelopment() {
  return getNodeEnv() === "development";
}
function isTest() {
  const nodeEnv = getNodeEnv();
  return nodeEnv === "test" || !!import_vitest.VITEST || !!import_jest_worker_id.JEST_WORKER_ID;
}
function isCI() {
  return import_ci.CI;
}
function getNodeAuthToken() {
  return import_node_auth_token.NODE_AUTH_TOKEN;
}
function getNpmToken() {
  return import_npm_token.NPM_TOKEN;
}
function getNpmConfigUserAgent() {
  return import_npm_config_user_agent.npm_config_user_agent;
}
function getNpmRegistry() {
  return import_npm_registry.NPM_REGISTRY || import_npm_config_registry.npm_config_registry;
}
function getPath() {
  return (0, import_helpers.envAsString)(import_path.PATH);
}
function getHome() {
  return import_home.HOME || import_userprofile.USERPROFILE;
}
function getTemp() {
  return import_tmpdir.TMPDIR || import_temp.TEMP || import_tmp.TMP;
}
function getShell() {
  return import_shell.SHELL;
}
function getTerm() {
  return import_term.TERM;
}
function getLocale() {
  return import_lang.LANG || import_lc_all.LC_ALL || import_lc_messages.LC_MESSAGES || "en_US.UTF-8";
}
function getGithubToken() {
  return import_github_token.GITHUB_TOKEN;
}
function getGithubServerUrl() {
  return (0, import_helpers.envAsString)(import_github_server_url.GITHUB_SERVER_URL) || "https://github.com";
}
function getGithubApiUrl() {
  return (0, import_helpers.envAsString)(import_github_api_url.GITHUB_API_URL) || "https://api.github.com";
}
function getGithubRepository() {
  return import_github_repository.GITHUB_REPOSITORY;
}
function getGithubRefName() {
  return import_github_ref_name.GITHUB_REF_NAME;
}
function getGithubRefType() {
  return import_github_ref_type.GITHUB_REF_TYPE;
}
function getGithubBaseRef() {
  return import_github_base_ref.GITHUB_BASE_REF;
}
function getSocketApiToken() {
  return import_socket_api_token.SOCKET_API_TOKEN || import_socket_cli_api_token.SOCKET_CLI_API_TOKEN;
}
function getSocketApiBaseUrl() {
  return import_socket_api_base_url.SOCKET_API_BASE_URL || import_socket_cli_api_base_url.SOCKET_CLI_API_BASE_URL;
}
function getSocketApiProxy() {
  return import_socket_api_proxy.SOCKET_API_PROXY || import_socket_cli_api_proxy.SOCKET_CLI_API_PROXY;
}
function getSocketApiTimeout() {
  return import_socket_api_timeout.SOCKET_API_TIMEOUT || import_socket_cli_api_timeout.SOCKET_CLI_API_TIMEOUT;
}
function getSocketOrgSlug() {
  return import_socket_org_slug.SOCKET_ORG_SLUG || import_socket_cli_org_slug.SOCKET_CLI_ORG_SLUG;
}
function getSocketHome() {
  return import_socket_home.SOCKET_HOME;
}
function getSocketRegistryUrl() {
  return import_socket_registry_url.SOCKET_REGISTRY_URL || import_socket_npm_registry.SOCKET_NPM_REGISTRY;
}
function getSocketConfig() {
  return import_socket_config.SOCKET_CONFIG || import_socket_cli_config.SOCKET_CLI_CONFIG;
}
function getSocketAcceptRisks() {
  return import_socket_accept_risks.SOCKET_ACCEPT_RISKS || import_socket_cli_accept_risks.SOCKET_CLI_ACCEPT_RISKS;
}
function getSocketViewAllRisks() {
  return import_socket_view_all_risks.SOCKET_VIEW_ALL_RISKS || import_socket_cli_view_all_risks.SOCKET_CLI_VIEW_ALL_RISKS;
}
function getSocketNoApiToken() {
  return import_socket_no_api_token.SOCKET_NO_API_TOKEN || import_socket_cli_no_api_token.SOCKET_CLI_NO_API_TOKEN;
}
function isPreCommit() {
  return import_pre_commit.PRE_COMMIT;
}
function getXdgDataHome() {
  return import_xdg_data_home.XDG_DATA_HOME;
}
function getXdgConfigHome() {
  return import_xdg_config_home.XDG_CONFIG_HOME;
}
function getXdgCacheHome() {
  return import_xdg_cache_home.XDG_CACHE_HOME;
}
function getNpmLifecycleEvent() {
  return import_npm_lifecycle_event.npm_lifecycle_event;
}
function getDebug() {
  return import_debug.DEBUG;
}
function getSocketDebug() {
  return import_socket_debug.SOCKET_DEBUG;
}
// Annotate the CommonJS export names for ESM import in node:
0 && (module.exports = {
  getDebug,
  getGithubApiUrl,
  getGithubBaseRef,
  getGithubRefName,
  getGithubRefType,
  getGithubRepository,
  getGithubServerUrl,
  getGithubToken,
  getHome,
  getLocale,
  getNodeAuthToken,
  getNodeEnv,
  getNpmConfigUserAgent,
  getNpmLifecycleEvent,
  getNpmRegistry,
  getNpmToken,
  getPath,
  getShell,
  getSocketAcceptRisks,
  getSocketApiBaseUrl,
  getSocketApiProxy,
  getSocketApiTimeout,
  getSocketApiToken,
  getSocketConfig,
  getSocketDebug,
  getSocketHome,
  getSocketNoApiToken,
  getSocketOrgSlug,
  getSocketRegistryUrl,
  getSocketViewAllRisks,
  getTemp,
  getTerm,
  getXdgCacheHome,
  getXdgConfigHome,
  getXdgDataHome,
  isCI,
  isDevelopment,
  isPreCommit,
  isProduction,
  isTest
});
//# sourceMappingURL=getters.js.map
