version_final_sans_test

This commit is contained in:
2025-09-23 14:51:00 +02:00
parent b4061e8aff
commit 6577083b06
184 changed files with 19853 additions and 512 deletions

14
node_modules/node-cron/dist/cjs/create-id.js generated vendored Normal file
View File

@@ -0,0 +1,14 @@
"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.createID = createID;
const node_crypto_1 = __importDefault(require("node:crypto"));
function createID(prefix = '', length = 16) {
const charset = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789';
const values = node_crypto_1.default.randomBytes(length);
const id = Array.from(values, v => charset[v % charset.length]).join('');
return prefix ? `${prefix}-${id}` : id;
}
//# sourceMappingURL=create-id.js.map