UNPKG

@socketsecurity/lib

Version:

Core utilities and infrastructure for Socket.dev security tools

62 lines (61 loc) 2.16 kB
"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 types_exports = {}; __export(types_exports, { PURL_Type: () => PURL_Type }); module.exports = __toCommonJS(types_exports); var PURL_Type = /* @__PURE__ */ ((PURL_Type2) => { PURL_Type2["APK"] = "apk"; PURL_Type2["BITBUCKET"] = "bitbucket"; PURL_Type2["COCOAPODS"] = "cocoapods"; PURL_Type2["CARGO"] = "cargo"; PURL_Type2["CHROME"] = "chrome"; PURL_Type2["COMPOSER"] = "composer"; PURL_Type2["CONAN"] = "conan"; PURL_Type2["CONDA"] = "conda"; PURL_Type2["CRAN"] = "cran"; PURL_Type2["DEB"] = "deb"; PURL_Type2["DOCKER"] = "docker"; PURL_Type2["GEM"] = "gem"; PURL_Type2["GENERIC"] = "generic"; PURL_Type2["GITHUB"] = "github"; PURL_Type2["GOLANG"] = "golang"; PURL_Type2["HACKAGE"] = "hackage"; PURL_Type2["HEX"] = "hex"; PURL_Type2["HUGGINGFACE"] = "huggingface"; PURL_Type2["MAVEN"] = "maven"; PURL_Type2["MLFLOW"] = "mlflow"; PURL_Type2["NPM"] = "npm"; PURL_Type2["NUGET"] = "nuget"; PURL_Type2["OCI"] = "oci"; PURL_Type2["PUB"] = "pub"; PURL_Type2["PYPI"] = "pypi"; PURL_Type2["QPKG"] = "qpkg"; PURL_Type2["RPM"] = "rpm"; PURL_Type2["SWID"] = "swid"; PURL_Type2["SWIFT"] = "swift"; PURL_Type2["VCS"] = "vcs"; return PURL_Type2; })(PURL_Type || {}); // Annotate the CommonJS export names for ESM import in node: 0 && (module.exports = { PURL_Type });