@socketsecurity/lib
Version:
Core utilities and infrastructure for Socket.dev security tools
51 lines (50 loc) • 1.73 kB
JavaScript
;
/* 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 encoding_exports = {};
__export(encoding_exports, {
CHAR_BACKWARD_SLASH: () => CHAR_BACKWARD_SLASH,
CHAR_COLON: () => CHAR_COLON,
CHAR_FORWARD_SLASH: () => CHAR_FORWARD_SLASH,
CHAR_LOWERCASE_A: () => CHAR_LOWERCASE_A,
CHAR_LOWERCASE_Z: () => CHAR_LOWERCASE_Z,
CHAR_UPPERCASE_A: () => CHAR_UPPERCASE_A,
CHAR_UPPERCASE_Z: () => CHAR_UPPERCASE_Z,
UTF8: () => UTF8
});
module.exports = __toCommonJS(encoding_exports);
const UTF8 = "utf8";
const CHAR_BACKWARD_SLASH = 92;
const CHAR_COLON = 58;
const CHAR_FORWARD_SLASH = 47;
const CHAR_LOWERCASE_A = 97;
const CHAR_LOWERCASE_Z = 122;
const CHAR_UPPERCASE_A = 65;
const CHAR_UPPERCASE_Z = 90;
// Annotate the CommonJS export names for ESM import in node:
0 && (module.exports = {
CHAR_BACKWARD_SLASH,
CHAR_COLON,
CHAR_FORWARD_SLASH,
CHAR_LOWERCASE_A,
CHAR_LOWERCASE_Z,
CHAR_UPPERCASE_A,
CHAR_UPPERCASE_Z,
UTF8
});