This commit is contained in:
2026-01-28 00:55:06 +03:00
parent fc033be6a5
commit 25fc82c14a
1642 changed files with 101122 additions and 0 deletions

13
node_modules/@redis/client/dist/lib/commands/TIME.js generated vendored Normal file
View File

@ -0,0 +1,13 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.transformReply = exports.transformArguments = void 0;
function transformArguments() {
return ['TIME'];
}
exports.transformArguments = transformArguments;
function transformReply(reply) {
const seconds = Number(reply[0]), microseconds = Number(reply[1]), d = new Date(seconds * 1000 + microseconds / 1000);
d.microseconds = microseconds;
return d;
}
exports.transformReply = transformReply;