UNPKG

@juit/check-updates

Version:

Small and fast utility to update package dependencies

52 lines (50 loc) 1.48 kB
"use strict"; 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); // debug.ts var debug_exports = {}; __export(debug_exports, { B: () => B, G: () => G, K: () => K, R: () => R, X: () => X, Y: () => Y, makeDebug: () => makeDebug }); module.exports = __toCommonJS(debug_exports); var X = "\x1B[0m"; var R = "\x1B[38;5;203m"; var G = "\x1B[38;5;76m"; var Y = "\x1B[38;5;220m"; var B = "\x1B[38;5;69m"; var K = "\x1B[38;5;240m"; function makeDebug(debug) { return debug ? (...args) => void (args.length && console.log(`${K}[DEBUG]${X}`, ...args)) : () => void 0; } // Annotate the CommonJS export names for ESM import in node: 0 && (module.exports = { B, G, K, R, X, Y, makeDebug }); //# sourceMappingURL=debug.cjs.map