"use strict";
/* 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 socket_exports = {};
__export(socket_exports, {
  getSocketAcceptRisks: () => getSocketAcceptRisks,
  getSocketApiBaseUrl: () => getSocketApiBaseUrl,
  getSocketApiProxy: () => getSocketApiProxy,
  getSocketApiTimeout: () => getSocketApiTimeout,
  getSocketApiToken: () => getSocketApiToken,
  getSocketCacacheDir: () => getSocketCacacheDir,
  getSocketConfig: () => getSocketConfig,
  getSocketDebug: () => getSocketDebug,
  getSocketDlxDirEnv: () => getSocketDlxDirEnv,
  getSocketHome: () => getSocketHome,
  getSocketNoApiToken: () => getSocketNoApiToken,
  getSocketNpmRegistry: () => getSocketNpmRegistry,
  getSocketOrgSlug: () => getSocketOrgSlug,
  getSocketRegistryUrl: () => getSocketRegistryUrl,
  getSocketViewAllRisks: () => getSocketViewAllRisks
});
module.exports = __toCommonJS(socket_exports);
var import_helpers = require("./helpers");
var import_rewire = require("./rewire");
function getSocketAcceptRisks() {
  return (0, import_helpers.envAsBoolean)((0, import_rewire.getEnvValue)("SOCKET_ACCEPT_RISKS"));
}
function getSocketApiBaseUrl() {
  return (0, import_rewire.getEnvValue)("SOCKET_API_BASE_URL");
}
function getSocketApiProxy() {
  return (0, import_rewire.getEnvValue)("SOCKET_API_PROXY");
}
function getSocketApiTimeout() {
  return (0, import_helpers.envAsNumber)((0, import_rewire.getEnvValue)("SOCKET_API_TIMEOUT"));
}
function getSocketApiToken() {
  return (0, import_rewire.getEnvValue)("SOCKET_API_TOKEN");
}
function getSocketCacacheDir() {
  return (0, import_rewire.getEnvValue)("SOCKET_CACACHE_DIR");
}
function getSocketConfig() {
  return (0, import_rewire.getEnvValue)("SOCKET_CONFIG");
}
function getSocketDebug() {
  return (0, import_rewire.getEnvValue)("SOCKET_DEBUG");
}
function getSocketDlxDirEnv() {
  return (0, import_rewire.getEnvValue)("SOCKET_DLX_DIR");
}
function getSocketHome() {
  return (0, import_rewire.getEnvValue)("SOCKET_HOME");
}
function getSocketNoApiToken() {
  return (0, import_helpers.envAsBoolean)((0, import_rewire.getEnvValue)("SOCKET_NO_API_TOKEN"));
}
function getSocketNpmRegistry() {
  return (0, import_rewire.getEnvValue)("SOCKET_NPM_REGISTRY");
}
function getSocketOrgSlug() {
  return (0, import_rewire.getEnvValue)("SOCKET_ORG_SLUG");
}
function getSocketRegistryUrl() {
  return (0, import_rewire.getEnvValue)("SOCKET_REGISTRY_URL");
}
function getSocketViewAllRisks() {
  return (0, import_helpers.envAsBoolean)((0, import_rewire.getEnvValue)("SOCKET_VIEW_ALL_RISKS"));
}
// Annotate the CommonJS export names for ESM import in node:
0 && (module.exports = {
  getSocketAcceptRisks,
  getSocketApiBaseUrl,
  getSocketApiProxy,
  getSocketApiTimeout,
  getSocketApiToken,
  getSocketCacacheDir,
  getSocketConfig,
  getSocketDebug,
  getSocketDlxDirEnv,
  getSocketHome,
  getSocketNoApiToken,
  getSocketNpmRegistry,
  getSocketOrgSlug,
  getSocketRegistryUrl,
  getSocketViewAllRisks
});
