repo stringlengths 5 106 | file_url stringlengths 78 301 | file_path stringlengths 4 211 | content stringlengths 0 32.8k | language stringclasses 1
value | license stringclasses 7
values | commit_sha stringlengths 40 40 | retrieved_at stringdate 2026-01-04 14:56:49 2026-01-05 02:23:25 | truncated bool 2
classes |
|---|---|---|---|---|---|---|---|---|
CAHLR/OATutor | https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/@smithy/util-base64/dist-cjs/fromBase64.browser.js | aws/aiHintGeneration/node_modules/@smithy/util-base64/dist-cjs/fromBase64.browser.js | "use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.fromBase64 = void 0;
const constants_browser_1 = require("./constants.browser");
const fromBase64 = (input) => {
let totalByteLength = (input.length / 4) * 3;
if (input.slice(-2) === "==") {
totalByteLength -= 2;
}
... | javascript | MIT | 10a5baf153a505267af8045b05c217b4be6bd8b4 | 2026-01-05T03:39:09.711315Z | false |
CAHLR/OATutor | https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/@smithy/util-base64/dist-cjs/index.js | aws/aiHintGeneration/node_modules/@smithy/util-base64/dist-cjs/index.js | var __defProp = Object.defineProperty;
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
var __getOwnPropNames = Object.getOwnPropertyNames;
var __hasOwnProp = Object.prototype.hasOwnProperty;
var __copyProps = (to, from, except, desc) => {
if (from && typeof from === "object" || typeof from === "function") {
... | javascript | MIT | 10a5baf153a505267af8045b05c217b4be6bd8b4 | 2026-01-05T03:39:09.711315Z | false |
CAHLR/OATutor | https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/@smithy/util-base64/dist-cjs/fromBase64.js | aws/aiHintGeneration/node_modules/@smithy/util-base64/dist-cjs/fromBase64.js | "use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.fromBase64 = void 0;
const util_buffer_from_1 = require("@smithy/util-buffer-from");
const BASE64_REGEX = /^[A-Za-z0-9+/]*={0,2}$/;
const fromBase64 = (input) => {
if ((input.length * 3) % 4 !== 0) {
throw new TypeError(`In... | javascript | MIT | 10a5baf153a505267af8045b05c217b4be6bd8b4 | 2026-01-05T03:39:09.711315Z | false |
CAHLR/OATutor | https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/@smithy/util-base64/dist-cjs/toBase64.browser.js | aws/aiHintGeneration/node_modules/@smithy/util-base64/dist-cjs/toBase64.browser.js | "use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.toBase64 = void 0;
const util_utf8_1 = require("@smithy/util-utf8");
const constants_browser_1 = require("./constants.browser");
function toBase64(_input) {
let input;
if (typeof _input === "string") {
input = (0, util_... | javascript | MIT | 10a5baf153a505267af8045b05c217b4be6bd8b4 | 2026-01-05T03:39:09.711315Z | false |
CAHLR/OATutor | https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/@smithy/util-base64/dist-cjs/constants.browser.js | aws/aiHintGeneration/node_modules/@smithy/util-base64/dist-cjs/constants.browser.js | "use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.maxLetterValue = exports.bitsPerByte = exports.bitsPerLetter = exports.alphabetByValue = exports.alphabetByEncoding = void 0;
const alphabetByEncoding = {};
exports.alphabetByEncoding = alphabetByEncoding;
const alphabetByValue = new A... | javascript | MIT | 10a5baf153a505267af8045b05c217b4be6bd8b4 | 2026-01-05T03:39:09.711315Z | false |
CAHLR/OATutor | https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/@smithy/util-base64/dist-cjs/toBase64.js | aws/aiHintGeneration/node_modules/@smithy/util-base64/dist-cjs/toBase64.js | "use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.toBase64 = void 0;
const util_buffer_from_1 = require("@smithy/util-buffer-from");
const util_utf8_1 = require("@smithy/util-utf8");
const toBase64 = (_input) => {
let input;
if (typeof _input === "string") {
input = (0... | javascript | MIT | 10a5baf153a505267af8045b05c217b4be6bd8b4 | 2026-01-05T03:39:09.711315Z | false |
CAHLR/OATutor | https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/@smithy/util-base64/dist-es/fromBase64.browser.js | aws/aiHintGeneration/node_modules/@smithy/util-base64/dist-es/fromBase64.browser.js | import { alphabetByEncoding, bitsPerByte, bitsPerLetter } from "./constants.browser";
export const fromBase64 = (input) => {
let totalByteLength = (input.length / 4) * 3;
if (input.slice(-2) === "==") {
totalByteLength -= 2;
}
else if (input.slice(-1) === "=") {
totalByteLength--;
}
... | javascript | MIT | 10a5baf153a505267af8045b05c217b4be6bd8b4 | 2026-01-05T03:39:09.711315Z | false |
CAHLR/OATutor | https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/@smithy/util-base64/dist-es/index.js | aws/aiHintGeneration/node_modules/@smithy/util-base64/dist-es/index.js | export * from "./fromBase64";
export * from "./toBase64";
| javascript | MIT | 10a5baf153a505267af8045b05c217b4be6bd8b4 | 2026-01-05T03:39:09.711315Z | false |
CAHLR/OATutor | https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/@smithy/util-base64/dist-es/fromBase64.js | aws/aiHintGeneration/node_modules/@smithy/util-base64/dist-es/fromBase64.js | import { fromString } from "@smithy/util-buffer-from";
const BASE64_REGEX = /^[A-Za-z0-9+/]*={0,2}$/;
export const fromBase64 = (input) => {
if ((input.length * 3) % 4 !== 0) {
throw new TypeError(`Incorrect padding on base64 string.`);
}
if (!BASE64_REGEX.exec(input)) {
throw new TypeError(... | javascript | MIT | 10a5baf153a505267af8045b05c217b4be6bd8b4 | 2026-01-05T03:39:09.711315Z | false |
CAHLR/OATutor | https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/@smithy/util-base64/dist-es/toBase64.browser.js | aws/aiHintGeneration/node_modules/@smithy/util-base64/dist-es/toBase64.browser.js | import { fromUtf8 } from "@smithy/util-utf8";
import { alphabetByValue, bitsPerByte, bitsPerLetter, maxLetterValue } from "./constants.browser";
export function toBase64(_input) {
let input;
if (typeof _input === "string") {
input = fromUtf8(_input);
}
else {
input = _input;
}
co... | javascript | MIT | 10a5baf153a505267af8045b05c217b4be6bd8b4 | 2026-01-05T03:39:09.711315Z | false |
CAHLR/OATutor | https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/@smithy/util-base64/dist-es/constants.browser.js | aws/aiHintGeneration/node_modules/@smithy/util-base64/dist-es/constants.browser.js | const alphabetByEncoding = {};
const alphabetByValue = new Array(64);
for (let i = 0, start = "A".charCodeAt(0), limit = "Z".charCodeAt(0); i + start <= limit; i++) {
const char = String.fromCharCode(i + start);
alphabetByEncoding[char] = i;
alphabetByValue[i] = char;
}
for (let i = 0, start = "a".charCodeA... | javascript | MIT | 10a5baf153a505267af8045b05c217b4be6bd8b4 | 2026-01-05T03:39:09.711315Z | false |
CAHLR/OATutor | https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/@smithy/util-base64/dist-es/toBase64.js | aws/aiHintGeneration/node_modules/@smithy/util-base64/dist-es/toBase64.js | import { fromArrayBuffer } from "@smithy/util-buffer-from";
import { fromUtf8 } from "@smithy/util-utf8";
export const toBase64 = (_input) => {
let input;
if (typeof _input === "string") {
input = fromUtf8(_input);
}
else {
input = _input;
}
if (typeof input !== "object" || typeo... | javascript | MIT | 10a5baf153a505267af8045b05c217b4be6bd8b4 | 2026-01-05T03:39:09.711315Z | false |
CAHLR/OATutor | https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/@smithy/node-http-handler/dist-cjs/node-http2-connection-pool.js | aws/aiHintGeneration/node_modules/@smithy/node-http-handler/dist-cjs/node-http2-connection-pool.js | module.exports = require("./index.js"); | javascript | MIT | 10a5baf153a505267af8045b05c217b4be6bd8b4 | 2026-01-05T03:39:09.711315Z | false |
CAHLR/OATutor | https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/@smithy/node-http-handler/dist-cjs/server.mock.js | aws/aiHintGeneration/node_modules/@smithy/node-http-handler/dist-cjs/server.mock.js | module.exports = require("./index.js"); | javascript | MIT | 10a5baf153a505267af8045b05c217b4be6bd8b4 | 2026-01-05T03:39:09.711315Z | false |
CAHLR/OATutor | https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/@smithy/node-http-handler/dist-cjs/set-connection-timeout.js | aws/aiHintGeneration/node_modules/@smithy/node-http-handler/dist-cjs/set-connection-timeout.js | module.exports = require("./index.js"); | javascript | MIT | 10a5baf153a505267af8045b05c217b4be6bd8b4 | 2026-01-05T03:39:09.711315Z | false |
CAHLR/OATutor | https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/@smithy/node-http-handler/dist-cjs/set-socket-timeout.js | aws/aiHintGeneration/node_modules/@smithy/node-http-handler/dist-cjs/set-socket-timeout.js | module.exports = require("./index.js"); | javascript | MIT | 10a5baf153a505267af8045b05c217b4be6bd8b4 | 2026-01-05T03:39:09.711315Z | false |
CAHLR/OATutor | https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/@smithy/node-http-handler/dist-cjs/index.js | aws/aiHintGeneration/node_modules/@smithy/node-http-handler/dist-cjs/index.js | var __create = Object.create;
var __defProp = Object.defineProperty;
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
var __getOwnPropNames = Object.getOwnPropertyNames;
var __getProtoOf = Object.getPrototypeOf;
var __hasOwnProp = Object.prototype.hasOwnProperty;
var __name = (target, value) => __defProp(target,... | javascript | MIT | 10a5baf153a505267af8045b05c217b4be6bd8b4 | 2026-01-05T03:39:09.711315Z | false |
CAHLR/OATutor | https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/@smithy/node-http-handler/dist-cjs/constants.js | aws/aiHintGeneration/node_modules/@smithy/node-http-handler/dist-cjs/constants.js | module.exports = require("./index.js"); | javascript | MIT | 10a5baf153a505267af8045b05c217b4be6bd8b4 | 2026-01-05T03:39:09.711315Z | false |
CAHLR/OATutor | https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/@smithy/node-http-handler/dist-cjs/readable.mock.js | aws/aiHintGeneration/node_modules/@smithy/node-http-handler/dist-cjs/readable.mock.js | module.exports = require("./index.js"); | javascript | MIT | 10a5baf153a505267af8045b05c217b4be6bd8b4 | 2026-01-05T03:39:09.711315Z | false |
CAHLR/OATutor | https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/@smithy/node-http-handler/dist-cjs/node-http2-connection-manager.js | aws/aiHintGeneration/node_modules/@smithy/node-http-handler/dist-cjs/node-http2-connection-manager.js | module.exports = require("./index.js"); | javascript | MIT | 10a5baf153a505267af8045b05c217b4be6bd8b4 | 2026-01-05T03:39:09.711315Z | false |
CAHLR/OATutor | https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/@smithy/node-http-handler/dist-cjs/get-transformed-headers.js | aws/aiHintGeneration/node_modules/@smithy/node-http-handler/dist-cjs/get-transformed-headers.js | module.exports = require("./index.js"); | javascript | MIT | 10a5baf153a505267af8045b05c217b4be6bd8b4 | 2026-01-05T03:39:09.711315Z | false |
CAHLR/OATutor | https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/@smithy/node-http-handler/dist-cjs/set-socket-keep-alive.js | aws/aiHintGeneration/node_modules/@smithy/node-http-handler/dist-cjs/set-socket-keep-alive.js | module.exports = require("./index.js"); | javascript | MIT | 10a5baf153a505267af8045b05c217b4be6bd8b4 | 2026-01-05T03:39:09.711315Z | false |
CAHLR/OATutor | https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/@smithy/node-http-handler/dist-cjs/node-http-handler.js | aws/aiHintGeneration/node_modules/@smithy/node-http-handler/dist-cjs/node-http-handler.js | module.exports = require("./index.js"); | javascript | MIT | 10a5baf153a505267af8045b05c217b4be6bd8b4 | 2026-01-05T03:39:09.711315Z | false |
CAHLR/OATutor | https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/@smithy/node-http-handler/dist-cjs/write-request-body.js | aws/aiHintGeneration/node_modules/@smithy/node-http-handler/dist-cjs/write-request-body.js | module.exports = require("./index.js"); | javascript | MIT | 10a5baf153a505267af8045b05c217b4be6bd8b4 | 2026-01-05T03:39:09.711315Z | false |
CAHLR/OATutor | https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/@smithy/node-http-handler/dist-cjs/node-http2-handler.js | aws/aiHintGeneration/node_modules/@smithy/node-http-handler/dist-cjs/node-http2-handler.js | module.exports = require("./index.js"); | javascript | MIT | 10a5baf153a505267af8045b05c217b4be6bd8b4 | 2026-01-05T03:39:09.711315Z | false |
CAHLR/OATutor | https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/@smithy/node-http-handler/dist-cjs/stream-collector/collector.js | aws/aiHintGeneration/node_modules/@smithy/node-http-handler/dist-cjs/stream-collector/collector.js | module.exports = require("../index.js"); | javascript | MIT | 10a5baf153a505267af8045b05c217b4be6bd8b4 | 2026-01-05T03:39:09.711315Z | false |
CAHLR/OATutor | https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/@smithy/node-http-handler/dist-cjs/stream-collector/index.js | aws/aiHintGeneration/node_modules/@smithy/node-http-handler/dist-cjs/stream-collector/index.js | module.exports = require("../index.js"); | javascript | MIT | 10a5baf153a505267af8045b05c217b4be6bd8b4 | 2026-01-05T03:39:09.711315Z | false |
CAHLR/OATutor | https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/@smithy/node-http-handler/dist-cjs/stream-collector/readable.mock.js | aws/aiHintGeneration/node_modules/@smithy/node-http-handler/dist-cjs/stream-collector/readable.mock.js | module.exports = require("../index.js"); | javascript | MIT | 10a5baf153a505267af8045b05c217b4be6bd8b4 | 2026-01-05T03:39:09.711315Z | false |
CAHLR/OATutor | https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/@smithy/node-http-handler/dist-es/node-http2-connection-pool.js | aws/aiHintGeneration/node_modules/@smithy/node-http-handler/dist-es/node-http2-connection-pool.js | export class NodeHttp2ConnectionPool {
constructor(sessions) {
this.sessions = [];
this.sessions = sessions ?? [];
}
poll() {
if (this.sessions.length > 0) {
return this.sessions.shift();
}
}
offerLast(session) {
this.sessions.push(session);
}
... | javascript | MIT | 10a5baf153a505267af8045b05c217b4be6bd8b4 | 2026-01-05T03:39:09.711315Z | false |
CAHLR/OATutor | https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/@smithy/node-http-handler/dist-es/server.mock.js | aws/aiHintGeneration/node_modules/@smithy/node-http-handler/dist-es/server.mock.js | import { readFileSync } from "fs";
import { createServer as createHttpServer } from "http";
import { createServer as createHttp2Server } from "http2";
import { createServer as createHttpsServer } from "https";
import { join } from "path";
import { Readable } from "stream";
const fixturesDir = join(__dirname, "..", "fix... | javascript | MIT | 10a5baf153a505267af8045b05c217b4be6bd8b4 | 2026-01-05T03:39:09.711315Z | false |
CAHLR/OATutor | https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/@smithy/node-http-handler/dist-es/set-connection-timeout.js | aws/aiHintGeneration/node_modules/@smithy/node-http-handler/dist-es/set-connection-timeout.js | const DEFER_EVENT_LISTENER_TIME = 1000;
export const setConnectionTimeout = (request, reject, timeoutInMs = 0) => {
if (!timeoutInMs) {
return -1;
}
const registerTimeout = (offset) => {
const timeoutId = setTimeout(() => {
request.destroy();
reject(Object.assign(new ... | javascript | MIT | 10a5baf153a505267af8045b05c217b4be6bd8b4 | 2026-01-05T03:39:09.711315Z | false |
CAHLR/OATutor | https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/@smithy/node-http-handler/dist-es/set-socket-timeout.js | aws/aiHintGeneration/node_modules/@smithy/node-http-handler/dist-es/set-socket-timeout.js | const DEFER_EVENT_LISTENER_TIME = 3000;
export const setSocketTimeout = (request, reject, timeoutInMs = 0) => {
const registerTimeout = (offset) => {
request.setTimeout(timeoutInMs - offset, () => {
request.destroy();
reject(Object.assign(new Error(`Connection timed out after ${timeo... | javascript | MIT | 10a5baf153a505267af8045b05c217b4be6bd8b4 | 2026-01-05T03:39:09.711315Z | false |
CAHLR/OATutor | https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/@smithy/node-http-handler/dist-es/index.js | aws/aiHintGeneration/node_modules/@smithy/node-http-handler/dist-es/index.js | export * from "./node-http-handler";
export * from "./node-http2-handler";
export * from "./stream-collector";
| javascript | MIT | 10a5baf153a505267af8045b05c217b4be6bd8b4 | 2026-01-05T03:39:09.711315Z | false |
CAHLR/OATutor | https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/@smithy/node-http-handler/dist-es/constants.js | aws/aiHintGeneration/node_modules/@smithy/node-http-handler/dist-es/constants.js | export const NODEJS_TIMEOUT_ERROR_CODES = ["ECONNRESET", "EPIPE", "ETIMEDOUT"];
| javascript | MIT | 10a5baf153a505267af8045b05c217b4be6bd8b4 | 2026-01-05T03:39:09.711315Z | false |
CAHLR/OATutor | https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/@smithy/node-http-handler/dist-es/readable.mock.js | aws/aiHintGeneration/node_modules/@smithy/node-http-handler/dist-es/readable.mock.js | import { Readable } from "stream";
export class ReadFromBuffers extends Readable {
constructor(options) {
super(options);
this.numBuffersRead = 0;
this.buffersToRead = options.buffers;
this.errorAfter = typeof options.errorAfter === "number" ? options.errorAfter : -1;
}
_read... | javascript | MIT | 10a5baf153a505267af8045b05c217b4be6bd8b4 | 2026-01-05T03:39:09.711315Z | false |
CAHLR/OATutor | https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/@smithy/node-http-handler/dist-es/node-http2-connection-manager.js | aws/aiHintGeneration/node_modules/@smithy/node-http-handler/dist-es/node-http2-connection-manager.js | import http2 from "http2";
import { NodeHttp2ConnectionPool } from "./node-http2-connection-pool";
export class NodeHttp2ConnectionManager {
constructor(config) {
this.sessionCache = new Map();
this.config = config;
if (this.config.maxConcurrency && this.config.maxConcurrency <= 0) {
... | javascript | MIT | 10a5baf153a505267af8045b05c217b4be6bd8b4 | 2026-01-05T03:39:09.711315Z | false |
CAHLR/OATutor | https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/@smithy/node-http-handler/dist-es/get-transformed-headers.js | aws/aiHintGeneration/node_modules/@smithy/node-http-handler/dist-es/get-transformed-headers.js | const getTransformedHeaders = (headers) => {
const transformedHeaders = {};
for (const name of Object.keys(headers)) {
const headerValues = headers[name];
transformedHeaders[name] = Array.isArray(headerValues) ? headerValues.join(",") : headerValues;
}
return transformedHeaders;
};
expor... | javascript | MIT | 10a5baf153a505267af8045b05c217b4be6bd8b4 | 2026-01-05T03:39:09.711315Z | false |
CAHLR/OATutor | https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/@smithy/node-http-handler/dist-es/set-socket-keep-alive.js | aws/aiHintGeneration/node_modules/@smithy/node-http-handler/dist-es/set-socket-keep-alive.js | const DEFER_EVENT_LISTENER_TIME = 3000;
export const setSocketKeepAlive = (request, { keepAlive, keepAliveMsecs }, deferTimeMs = DEFER_EVENT_LISTENER_TIME) => {
if (keepAlive !== true) {
return -1;
}
const registerListener = () => {
if (request.socket) {
request.socket.setKeepAli... | javascript | MIT | 10a5baf153a505267af8045b05c217b4be6bd8b4 | 2026-01-05T03:39:09.711315Z | false |
CAHLR/OATutor | https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/@smithy/node-http-handler/dist-es/node-http-handler.js | aws/aiHintGeneration/node_modules/@smithy/node-http-handler/dist-es/node-http-handler.js | import { HttpResponse } from "@smithy/protocol-http";
import { buildQueryString } from "@smithy/querystring-builder";
import { Agent as hAgent, request as hRequest } from "http";
import { Agent as hsAgent, request as hsRequest } from "https";
import { NODEJS_TIMEOUT_ERROR_CODES } from "./constants";
import { getTransfo... | javascript | MIT | 10a5baf153a505267af8045b05c217b4be6bd8b4 | 2026-01-05T03:39:09.711315Z | false |
CAHLR/OATutor | https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/@smithy/node-http-handler/dist-es/write-request-body.js | aws/aiHintGeneration/node_modules/@smithy/node-http-handler/dist-es/write-request-body.js | import { Readable } from "stream";
const MIN_WAIT_TIME = 1000;
export async function writeRequestBody(httpRequest, request, maxContinueTimeoutMs = MIN_WAIT_TIME) {
const headers = request.headers ?? {};
const expect = headers["Expect"] || headers["expect"];
let timeoutId = -1;
let hasError = false;
... | javascript | MIT | 10a5baf153a505267af8045b05c217b4be6bd8b4 | 2026-01-05T03:39:09.711315Z | false |
CAHLR/OATutor | https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/@smithy/node-http-handler/dist-es/node-http2-handler.js | aws/aiHintGeneration/node_modules/@smithy/node-http-handler/dist-es/node-http2-handler.js | import { HttpResponse } from "@smithy/protocol-http";
import { buildQueryString } from "@smithy/querystring-builder";
import { constants } from "http2";
import { getTransformedHeaders } from "./get-transformed-headers";
import { NodeHttp2ConnectionManager } from "./node-http2-connection-manager";
import { writeRequestB... | javascript | MIT | 10a5baf153a505267af8045b05c217b4be6bd8b4 | 2026-01-05T03:39:09.711315Z | false |
CAHLR/OATutor | https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/@smithy/node-http-handler/dist-es/stream-collector/collector.js | aws/aiHintGeneration/node_modules/@smithy/node-http-handler/dist-es/stream-collector/collector.js | import { Writable } from "stream";
export class Collector extends Writable {
constructor() {
super(...arguments);
this.bufferedBytes = [];
}
_write(chunk, encoding, callback) {
this.bufferedBytes.push(chunk);
callback();
}
}
| javascript | MIT | 10a5baf153a505267af8045b05c217b4be6bd8b4 | 2026-01-05T03:39:09.711315Z | false |
CAHLR/OATutor | https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/@smithy/node-http-handler/dist-es/stream-collector/index.js | aws/aiHintGeneration/node_modules/@smithy/node-http-handler/dist-es/stream-collector/index.js | import { Collector } from "./collector";
export const streamCollector = (stream) => {
if (isReadableStreamInstance(stream)) {
return collectReadableStream(stream);
}
return new Promise((resolve, reject) => {
const collector = new Collector();
stream.pipe(collector);
stream.on... | javascript | MIT | 10a5baf153a505267af8045b05c217b4be6bd8b4 | 2026-01-05T03:39:09.711315Z | false |
CAHLR/OATutor | https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/@smithy/node-http-handler/dist-es/stream-collector/readable.mock.js | aws/aiHintGeneration/node_modules/@smithy/node-http-handler/dist-es/stream-collector/readable.mock.js | import { Readable } from "stream";
export class ReadFromBuffers extends Readable {
constructor(options) {
super(options);
this.numBuffersRead = 0;
this.buffersToRead = options.buffers;
this.errorAfter = typeof options.errorAfter === "number" ? options.errorAfter : -1;
}
_read... | javascript | MIT | 10a5baf153a505267af8045b05c217b4be6bd8b4 | 2026-01-05T03:39:09.711315Z | false |
CAHLR/OATutor | https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/@smithy/middleware-retry/dist-cjs/retryDecider.js | aws/aiHintGeneration/node_modules/@smithy/middleware-retry/dist-cjs/retryDecider.js | module.exports = require("./index.js"); | javascript | MIT | 10a5baf153a505267af8045b05c217b4be6bd8b4 | 2026-01-05T03:39:09.711315Z | false |
CAHLR/OATutor | https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/@smithy/middleware-retry/dist-cjs/defaultRetryQuota.js | aws/aiHintGeneration/node_modules/@smithy/middleware-retry/dist-cjs/defaultRetryQuota.js | module.exports = require("./index.js"); | javascript | MIT | 10a5baf153a505267af8045b05c217b4be6bd8b4 | 2026-01-05T03:39:09.711315Z | false |
CAHLR/OATutor | https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/@smithy/middleware-retry/dist-cjs/retryMiddleware.js | aws/aiHintGeneration/node_modules/@smithy/middleware-retry/dist-cjs/retryMiddleware.js | module.exports = require("./index.js"); | javascript | MIT | 10a5baf153a505267af8045b05c217b4be6bd8b4 | 2026-01-05T03:39:09.711315Z | false |
CAHLR/OATutor | https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/@smithy/middleware-retry/dist-cjs/types.js | aws/aiHintGeneration/node_modules/@smithy/middleware-retry/dist-cjs/types.js | module.exports = require("./index.js"); | javascript | MIT | 10a5baf153a505267af8045b05c217b4be6bd8b4 | 2026-01-05T03:39:09.711315Z | false |
CAHLR/OATutor | https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/@smithy/middleware-retry/dist-cjs/index.js | aws/aiHintGeneration/node_modules/@smithy/middleware-retry/dist-cjs/index.js | var __defProp = Object.defineProperty;
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
var __getOwnPropNames = Object.getOwnPropertyNames;
var __hasOwnProp = Object.prototype.hasOwnProperty;
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
var __export = (target, all) =>... | javascript | MIT | 10a5baf153a505267af8045b05c217b4be6bd8b4 | 2026-01-05T03:39:09.711315Z | false |
CAHLR/OATutor | https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/@smithy/middleware-retry/dist-cjs/delayDecider.js | aws/aiHintGeneration/node_modules/@smithy/middleware-retry/dist-cjs/delayDecider.js | module.exports = require("./index.js"); | javascript | MIT | 10a5baf153a505267af8045b05c217b4be6bd8b4 | 2026-01-05T03:39:09.711315Z | false |
CAHLR/OATutor | https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/@smithy/middleware-retry/dist-cjs/omitRetryHeadersMiddleware.js | aws/aiHintGeneration/node_modules/@smithy/middleware-retry/dist-cjs/omitRetryHeadersMiddleware.js | module.exports = require("./index.js"); | javascript | MIT | 10a5baf153a505267af8045b05c217b4be6bd8b4 | 2026-01-05T03:39:09.711315Z | false |
CAHLR/OATutor | https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/@smithy/middleware-retry/dist-cjs/configurations.js | aws/aiHintGeneration/node_modules/@smithy/middleware-retry/dist-cjs/configurations.js | module.exports = require("./index.js"); | javascript | MIT | 10a5baf153a505267af8045b05c217b4be6bd8b4 | 2026-01-05T03:39:09.711315Z | false |
CAHLR/OATutor | https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/@smithy/middleware-retry/dist-cjs/util.js | aws/aiHintGeneration/node_modules/@smithy/middleware-retry/dist-cjs/util.js | module.exports = require("./index.js"); | javascript | MIT | 10a5baf153a505267af8045b05c217b4be6bd8b4 | 2026-01-05T03:39:09.711315Z | false |
CAHLR/OATutor | https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/@smithy/middleware-retry/dist-cjs/AdaptiveRetryStrategy.js | aws/aiHintGeneration/node_modules/@smithy/middleware-retry/dist-cjs/AdaptiveRetryStrategy.js | module.exports = require("./index.js"); | javascript | MIT | 10a5baf153a505267af8045b05c217b4be6bd8b4 | 2026-01-05T03:39:09.711315Z | false |
CAHLR/OATutor | https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/@smithy/middleware-retry/dist-cjs/StandardRetryStrategy.js | aws/aiHintGeneration/node_modules/@smithy/middleware-retry/dist-cjs/StandardRetryStrategy.js | module.exports = require("./index.js"); | javascript | MIT | 10a5baf153a505267af8045b05c217b4be6bd8b4 | 2026-01-05T03:39:09.711315Z | false |
CAHLR/OATutor | https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/@smithy/middleware-retry/dist-cjs/isStreamingPayload/isStreamingPayload.js | aws/aiHintGeneration/node_modules/@smithy/middleware-retry/dist-cjs/isStreamingPayload/isStreamingPayload.js | "use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.isStreamingPayload = void 0;
const stream_1 = require("stream");
const isStreamingPayload = (request) => (request === null || request === void 0 ? void 0 : request.body) instanceof stream_1.Readable ||
(typeof ReadableStream !== "u... | javascript | MIT | 10a5baf153a505267af8045b05c217b4be6bd8b4 | 2026-01-05T03:39:09.711315Z | false |
CAHLR/OATutor | https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/@smithy/middleware-retry/dist-cjs/isStreamingPayload/isStreamingPayload.browser.js | aws/aiHintGeneration/node_modules/@smithy/middleware-retry/dist-cjs/isStreamingPayload/isStreamingPayload.browser.js | "use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.isStreamingPayload = void 0;
const isStreamingPayload = (request) => (request === null || request === void 0 ? void 0 : request.body) instanceof ReadableStream;
exports.isStreamingPayload = isStreamingPayload;
| javascript | MIT | 10a5baf153a505267af8045b05c217b4be6bd8b4 | 2026-01-05T03:39:09.711315Z | false |
CAHLR/OATutor | https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/@smithy/middleware-retry/dist-es/retryDecider.js | aws/aiHintGeneration/node_modules/@smithy/middleware-retry/dist-es/retryDecider.js | import { isClockSkewError, isRetryableByTrait, isThrottlingError, isTransientError, } from "@smithy/service-error-classification";
export const defaultRetryDecider = (error) => {
if (!error) {
return false;
}
return isRetryableByTrait(error) || isClockSkewError(error) || isThrottlingError(error) || ... | javascript | MIT | 10a5baf153a505267af8045b05c217b4be6bd8b4 | 2026-01-05T03:39:09.711315Z | false |
CAHLR/OATutor | https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/@smithy/middleware-retry/dist-es/defaultRetryQuota.js | aws/aiHintGeneration/node_modules/@smithy/middleware-retry/dist-es/defaultRetryQuota.js | import { NO_RETRY_INCREMENT, RETRY_COST, TIMEOUT_RETRY_COST } from "@smithy/util-retry";
export const getDefaultRetryQuota = (initialRetryTokens, options) => {
const MAX_CAPACITY = initialRetryTokens;
const noRetryIncrement = options?.noRetryIncrement ?? NO_RETRY_INCREMENT;
const retryCost = options?.retryC... | javascript | MIT | 10a5baf153a505267af8045b05c217b4be6bd8b4 | 2026-01-05T03:39:09.711315Z | false |
CAHLR/OATutor | https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/@smithy/middleware-retry/dist-es/retryMiddleware.js | aws/aiHintGeneration/node_modules/@smithy/middleware-retry/dist-es/retryMiddleware.js | import { HttpRequest, HttpResponse } from "@smithy/protocol-http";
import { isServerError, isThrottlingError, isTransientError } from "@smithy/service-error-classification";
import { NoOpLogger } from "@smithy/smithy-client";
import { INVOCATION_ID_HEADER, REQUEST_HEADER } from "@smithy/util-retry";
import { v4 } from ... | javascript | MIT | 10a5baf153a505267af8045b05c217b4be6bd8b4 | 2026-01-05T03:39:09.711315Z | false |
CAHLR/OATutor | https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/@smithy/middleware-retry/dist-es/types.js | aws/aiHintGeneration/node_modules/@smithy/middleware-retry/dist-es/types.js | export {};
| javascript | MIT | 10a5baf153a505267af8045b05c217b4be6bd8b4 | 2026-01-05T03:39:09.711315Z | false |
CAHLR/OATutor | https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/@smithy/middleware-retry/dist-es/index.js | aws/aiHintGeneration/node_modules/@smithy/middleware-retry/dist-es/index.js | export * from "./AdaptiveRetryStrategy";
export * from "./StandardRetryStrategy";
export * from "./configurations";
export * from "./delayDecider";
export * from "./omitRetryHeadersMiddleware";
export * from "./retryDecider";
export * from "./retryMiddleware";
| javascript | MIT | 10a5baf153a505267af8045b05c217b4be6bd8b4 | 2026-01-05T03:39:09.711315Z | false |
CAHLR/OATutor | https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/@smithy/middleware-retry/dist-es/delayDecider.js | aws/aiHintGeneration/node_modules/@smithy/middleware-retry/dist-es/delayDecider.js | import { MAXIMUM_RETRY_DELAY } from "@smithy/util-retry";
export const defaultDelayDecider = (delayBase, attempts) => Math.floor(Math.min(MAXIMUM_RETRY_DELAY, Math.random() * 2 ** attempts * delayBase));
| javascript | MIT | 10a5baf153a505267af8045b05c217b4be6bd8b4 | 2026-01-05T03:39:09.711315Z | false |
CAHLR/OATutor | https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/@smithy/middleware-retry/dist-es/omitRetryHeadersMiddleware.js | aws/aiHintGeneration/node_modules/@smithy/middleware-retry/dist-es/omitRetryHeadersMiddleware.js | import { HttpRequest } from "@smithy/protocol-http";
import { INVOCATION_ID_HEADER, REQUEST_HEADER } from "@smithy/util-retry";
export const omitRetryHeadersMiddleware = () => (next) => async (args) => {
const { request } = args;
if (HttpRequest.isInstance(request)) {
delete request.headers[INVOCATION_I... | javascript | MIT | 10a5baf153a505267af8045b05c217b4be6bd8b4 | 2026-01-05T03:39:09.711315Z | false |
CAHLR/OATutor | https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/@smithy/middleware-retry/dist-es/configurations.js | aws/aiHintGeneration/node_modules/@smithy/middleware-retry/dist-es/configurations.js | import { normalizeProvider } from "@smithy/util-middleware";
import { AdaptiveRetryStrategy, DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE, RETRY_MODES, StandardRetryStrategy, } from "@smithy/util-retry";
export const ENV_MAX_ATTEMPTS = "AWS_MAX_ATTEMPTS";
export const CONFIG_MAX_ATTEMPTS = "max_attempts";
export const NODE... | javascript | MIT | 10a5baf153a505267af8045b05c217b4be6bd8b4 | 2026-01-05T03:39:09.711315Z | false |
CAHLR/OATutor | https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/@smithy/middleware-retry/dist-es/util.js | aws/aiHintGeneration/node_modules/@smithy/middleware-retry/dist-es/util.js | export const asSdkError = (error) => {
if (error instanceof Error)
return error;
if (error instanceof Object)
return Object.assign(new Error(), error);
if (typeof error === "string")
return new Error(error);
return new Error(`AWS SDK error wrapper for ${error}`);
};
| javascript | MIT | 10a5baf153a505267af8045b05c217b4be6bd8b4 | 2026-01-05T03:39:09.711315Z | false |
CAHLR/OATutor | https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/@smithy/middleware-retry/dist-es/AdaptiveRetryStrategy.js | aws/aiHintGeneration/node_modules/@smithy/middleware-retry/dist-es/AdaptiveRetryStrategy.js | import { DefaultRateLimiter, RETRY_MODES } from "@smithy/util-retry";
import { StandardRetryStrategy } from "./StandardRetryStrategy";
export class AdaptiveRetryStrategy extends StandardRetryStrategy {
constructor(maxAttemptsProvider, options) {
const { rateLimiter, ...superOptions } = options ?? {};
... | javascript | MIT | 10a5baf153a505267af8045b05c217b4be6bd8b4 | 2026-01-05T03:39:09.711315Z | false |
CAHLR/OATutor | https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/@smithy/middleware-retry/dist-es/StandardRetryStrategy.js | aws/aiHintGeneration/node_modules/@smithy/middleware-retry/dist-es/StandardRetryStrategy.js | import { HttpRequest, HttpResponse } from "@smithy/protocol-http";
import { isThrottlingError } from "@smithy/service-error-classification";
import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_DELAY_BASE, INITIAL_RETRY_TOKENS, INVOCATION_ID_HEADER, REQUEST_HEADER, RETRY_MODES, THROTTLING_RETRY_DELAY_BASE, } from "@smithy/util... | javascript | MIT | 10a5baf153a505267af8045b05c217b4be6bd8b4 | 2026-01-05T03:39:09.711315Z | false |
CAHLR/OATutor | https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/@smithy/middleware-retry/dist-es/isStreamingPayload/isStreamingPayload.js | aws/aiHintGeneration/node_modules/@smithy/middleware-retry/dist-es/isStreamingPayload/isStreamingPayload.js | import { Readable } from "stream";
export const isStreamingPayload = (request) => request?.body instanceof Readable ||
(typeof ReadableStream !== "undefined" && request?.body instanceof ReadableStream);
| javascript | MIT | 10a5baf153a505267af8045b05c217b4be6bd8b4 | 2026-01-05T03:39:09.711315Z | false |
CAHLR/OATutor | https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/@smithy/middleware-retry/dist-es/isStreamingPayload/isStreamingPayload.browser.js | aws/aiHintGeneration/node_modules/@smithy/middleware-retry/dist-es/isStreamingPayload/isStreamingPayload.browser.js | export const isStreamingPayload = (request) => request?.body instanceof ReadableStream;
| javascript | MIT | 10a5baf153a505267af8045b05c217b4be6bd8b4 | 2026-01-05T03:39:09.711315Z | false |
CAHLR/OATutor | https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/@smithy/util-body-length-node/dist-cjs/index.js | aws/aiHintGeneration/node_modules/@smithy/util-body-length-node/dist-cjs/index.js | var __defProp = Object.defineProperty;
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
var __getOwnPropNames = Object.getOwnPropertyNames;
var __hasOwnProp = Object.prototype.hasOwnProperty;
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
var __export = (target, all) =>... | javascript | MIT | 10a5baf153a505267af8045b05c217b4be6bd8b4 | 2026-01-05T03:39:09.711315Z | false |
CAHLR/OATutor | https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/@smithy/util-body-length-node/dist-cjs/calculateBodyLength.js | aws/aiHintGeneration/node_modules/@smithy/util-body-length-node/dist-cjs/calculateBodyLength.js | module.exports = require("./index.js"); | javascript | MIT | 10a5baf153a505267af8045b05c217b4be6bd8b4 | 2026-01-05T03:39:09.711315Z | false |
CAHLR/OATutor | https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/@smithy/util-body-length-node/dist-es/index.js | aws/aiHintGeneration/node_modules/@smithy/util-body-length-node/dist-es/index.js | export * from "./calculateBodyLength";
| javascript | MIT | 10a5baf153a505267af8045b05c217b4be6bd8b4 | 2026-01-05T03:39:09.711315Z | false |
CAHLR/OATutor | https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/@smithy/util-body-length-node/dist-es/calculateBodyLength.js | aws/aiHintGeneration/node_modules/@smithy/util-body-length-node/dist-es/calculateBodyLength.js | import { fstatSync, lstatSync } from "fs";
export const calculateBodyLength = (body) => {
if (!body) {
return 0;
}
if (typeof body === "string") {
return Buffer.byteLength(body);
}
else if (typeof body.byteLength === "number") {
return body.byteLength;
}
else if (type... | javascript | MIT | 10a5baf153a505267af8045b05c217b4be6bd8b4 | 2026-01-05T03:39:09.711315Z | false |
CAHLR/OATutor | https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getHomeDir.js | aws/aiHintGeneration/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getHomeDir.js | "use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getHomeDir = void 0;
const os_1 = require("os");
const path_1 = require("path");
const homeDirCache = {};
const getHomeDirCacheKey = () => {
if (process && process.geteuid) {
return `${process.geteuid()}`;
}
return ... | javascript | MIT | 10a5baf153a505267af8045b05c217b4be6bd8b4 | 2026-01-05T03:39:09.711315Z | false |
CAHLR/OATutor | https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getCredentialsFilepath.js | aws/aiHintGeneration/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getCredentialsFilepath.js | module.exports = require("./index.js"); | javascript | MIT | 10a5baf153a505267af8045b05c217b4be6bd8b4 | 2026-01-05T03:39:09.711315Z | false |
CAHLR/OATutor | https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/@smithy/shared-ini-file-loader/dist-cjs/types.js | aws/aiHintGeneration/node_modules/@smithy/shared-ini-file-loader/dist-cjs/types.js | module.exports = require("./index.js"); | javascript | MIT | 10a5baf153a505267af8045b05c217b4be6bd8b4 | 2026-01-05T03:39:09.711315Z | false |
CAHLR/OATutor | https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/@smithy/shared-ini-file-loader/dist-cjs/loadSsoSessionData.js | aws/aiHintGeneration/node_modules/@smithy/shared-ini-file-loader/dist-cjs/loadSsoSessionData.js | module.exports = require("./index.js"); | javascript | MIT | 10a5baf153a505267af8045b05c217b4be6bd8b4 | 2026-01-05T03:39:09.711315Z | false |
CAHLR/OATutor | https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/@smithy/shared-ini-file-loader/dist-cjs/index.js | aws/aiHintGeneration/node_modules/@smithy/shared-ini-file-loader/dist-cjs/index.js | var __defProp = Object.defineProperty;
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
var __getOwnPropNames = Object.getOwnPropertyNames;
var __hasOwnProp = Object.prototype.hasOwnProperty;
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
var __export = (target, all) =>... | javascript | MIT | 10a5baf153a505267af8045b05c217b4be6bd8b4 | 2026-01-05T03:39:09.711315Z | false |
CAHLR/OATutor | https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/@smithy/shared-ini-file-loader/dist-cjs/loadSharedConfigFiles.js | aws/aiHintGeneration/node_modules/@smithy/shared-ini-file-loader/dist-cjs/loadSharedConfigFiles.js | module.exports = require("./index.js"); | javascript | MIT | 10a5baf153a505267af8045b05c217b4be6bd8b4 | 2026-01-05T03:39:09.711315Z | false |
CAHLR/OATutor | https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/@smithy/shared-ini-file-loader/dist-cjs/parseIni.js | aws/aiHintGeneration/node_modules/@smithy/shared-ini-file-loader/dist-cjs/parseIni.js | module.exports = require("./index.js"); | javascript | MIT | 10a5baf153a505267af8045b05c217b4be6bd8b4 | 2026-01-05T03:39:09.711315Z | false |
CAHLR/OATutor | https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSSOTokenFilepath.js | aws/aiHintGeneration/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSSOTokenFilepath.js | "use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getSSOTokenFilepath = void 0;
const crypto_1 = require("crypto");
const path_1 = require("path");
const getHomeDir_1 = require("./getHomeDir");
const getSSOTokenFilepath = (id) => {
const hasher = (0, crypto_1.createHash)("sha1");
... | javascript | MIT | 10a5baf153a505267af8045b05c217b4be6bd8b4 | 2026-01-05T03:39:09.711315Z | false |
CAHLR/OATutor | https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSSOTokenFromFile.js | aws/aiHintGeneration/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSSOTokenFromFile.js | "use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getSSOTokenFromFile = void 0;
const fs_1 = require("fs");
const getSSOTokenFilepath_1 = require("./getSSOTokenFilepath");
const { readFile } = fs_1.promises;
const getSSOTokenFromFile = async (id) => {
const ssoTokenFilepath = (0, ... | javascript | MIT | 10a5baf153a505267af8045b05c217b4be6bd8b4 | 2026-01-05T03:39:09.711315Z | false |
CAHLR/OATutor | https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getProfileName.js | aws/aiHintGeneration/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getProfileName.js | module.exports = require("./index.js"); | javascript | MIT | 10a5baf153a505267af8045b05c217b4be6bd8b4 | 2026-01-05T03:39:09.711315Z | false |
CAHLR/OATutor | https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/@smithy/shared-ini-file-loader/dist-cjs/mergeConfigFiles.js | aws/aiHintGeneration/node_modules/@smithy/shared-ini-file-loader/dist-cjs/mergeConfigFiles.js | module.exports = require("./index.js"); | javascript | MIT | 10a5baf153a505267af8045b05c217b4be6bd8b4 | 2026-01-05T03:39:09.711315Z | false |
CAHLR/OATutor | https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getConfigFilepath.js | aws/aiHintGeneration/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getConfigFilepath.js | module.exports = require("./index.js"); | javascript | MIT | 10a5baf153a505267af8045b05c217b4be6bd8b4 | 2026-01-05T03:39:09.711315Z | false |
CAHLR/OATutor | https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getConfigData.js | aws/aiHintGeneration/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getConfigData.js | module.exports = require("./index.js"); | javascript | MIT | 10a5baf153a505267af8045b05c217b4be6bd8b4 | 2026-01-05T03:39:09.711315Z | false |
CAHLR/OATutor | https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/@smithy/shared-ini-file-loader/dist-cjs/parseKnownFiles.js | aws/aiHintGeneration/node_modules/@smithy/shared-ini-file-loader/dist-cjs/parseKnownFiles.js | module.exports = require("./index.js"); | javascript | MIT | 10a5baf153a505267af8045b05c217b4be6bd8b4 | 2026-01-05T03:39:09.711315Z | false |
CAHLR/OATutor | https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/@smithy/shared-ini-file-loader/dist-cjs/slurpFile.js | aws/aiHintGeneration/node_modules/@smithy/shared-ini-file-loader/dist-cjs/slurpFile.js | "use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.slurpFile = void 0;
const fs_1 = require("fs");
const { readFile } = fs_1.promises;
const filePromisesHash = {};
const slurpFile = (path, options) => {
if (!filePromisesHash[path] || (options === null || options === void 0 ? void 0... | javascript | MIT | 10a5baf153a505267af8045b05c217b4be6bd8b4 | 2026-01-05T03:39:09.711315Z | false |
CAHLR/OATutor | https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSsoSessionData.js | aws/aiHintGeneration/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSsoSessionData.js | module.exports = require("./index.js"); | javascript | MIT | 10a5baf153a505267af8045b05c217b4be6bd8b4 | 2026-01-05T03:39:09.711315Z | false |
CAHLR/OATutor | https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/@smithy/shared-ini-file-loader/dist-es/getHomeDir.js | aws/aiHintGeneration/node_modules/@smithy/shared-ini-file-loader/dist-es/getHomeDir.js | import { homedir } from "os";
import { sep } from "path";
const homeDirCache = {};
const getHomeDirCacheKey = () => {
if (process && process.geteuid) {
return `${process.geteuid()}`;
}
return "DEFAULT";
};
export const getHomeDir = () => {
const { HOME, USERPROFILE, HOMEPATH, HOMEDRIVE = `C:${se... | javascript | MIT | 10a5baf153a505267af8045b05c217b4be6bd8b4 | 2026-01-05T03:39:09.711315Z | false |
CAHLR/OATutor | https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/@smithy/shared-ini-file-loader/dist-es/getCredentialsFilepath.js | aws/aiHintGeneration/node_modules/@smithy/shared-ini-file-loader/dist-es/getCredentialsFilepath.js | import { join } from "path";
import { getHomeDir } from "./getHomeDir";
export const ENV_CREDENTIALS_PATH = "AWS_SHARED_CREDENTIALS_FILE";
export const getCredentialsFilepath = () => process.env[ENV_CREDENTIALS_PATH] || join(getHomeDir(), ".aws", "credentials");
| javascript | MIT | 10a5baf153a505267af8045b05c217b4be6bd8b4 | 2026-01-05T03:39:09.711315Z | false |
CAHLR/OATutor | https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/@smithy/shared-ini-file-loader/dist-es/types.js | aws/aiHintGeneration/node_modules/@smithy/shared-ini-file-loader/dist-es/types.js | export {};
| javascript | MIT | 10a5baf153a505267af8045b05c217b4be6bd8b4 | 2026-01-05T03:39:09.711315Z | false |
CAHLR/OATutor | https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/@smithy/shared-ini-file-loader/dist-es/loadSsoSessionData.js | aws/aiHintGeneration/node_modules/@smithy/shared-ini-file-loader/dist-es/loadSsoSessionData.js | import { getConfigFilepath } from "./getConfigFilepath";
import { getSsoSessionData } from "./getSsoSessionData";
import { parseIni } from "./parseIni";
import { slurpFile } from "./slurpFile";
const swallowError = () => ({});
export const loadSsoSessionData = async (init = {}) => slurpFile(init.configFilepath ?? getCo... | javascript | MIT | 10a5baf153a505267af8045b05c217b4be6bd8b4 | 2026-01-05T03:39:09.711315Z | false |
CAHLR/OATutor | https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/@smithy/shared-ini-file-loader/dist-es/index.js | aws/aiHintGeneration/node_modules/@smithy/shared-ini-file-loader/dist-es/index.js | export * from "./getHomeDir";
export * from "./getProfileName";
export * from "./getSSOTokenFilepath";
export * from "./getSSOTokenFromFile";
export * from "./loadSharedConfigFiles";
export * from "./loadSsoSessionData";
export * from "./parseKnownFiles";
export * from "./types";
| javascript | MIT | 10a5baf153a505267af8045b05c217b4be6bd8b4 | 2026-01-05T03:39:09.711315Z | false |
CAHLR/OATutor | https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/@smithy/shared-ini-file-loader/dist-es/loadSharedConfigFiles.js | aws/aiHintGeneration/node_modules/@smithy/shared-ini-file-loader/dist-es/loadSharedConfigFiles.js | import { join } from "path";
import { getConfigData } from "./getConfigData";
import { getConfigFilepath } from "./getConfigFilepath";
import { getCredentialsFilepath } from "./getCredentialsFilepath";
import { getHomeDir } from "./getHomeDir";
import { parseIni } from "./parseIni";
import { slurpFile } from "./slurpFi... | javascript | MIT | 10a5baf153a505267af8045b05c217b4be6bd8b4 | 2026-01-05T03:39:09.711315Z | false |
CAHLR/OATutor | https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/@smithy/shared-ini-file-loader/dist-es/parseIni.js | aws/aiHintGeneration/node_modules/@smithy/shared-ini-file-loader/dist-es/parseIni.js | import { IniSectionType } from "@smithy/types";
import { CONFIG_PREFIX_SEPARATOR } from "./loadSharedConfigFiles";
const prefixKeyRegex = /^([\w-]+)\s(["'])?([\w-@\+\.%:/]+)\2$/;
const profileNameBlockList = ["__proto__", "profile __proto__"];
export const parseIni = (iniData) => {
const map = {};
let currentSe... | javascript | MIT | 10a5baf153a505267af8045b05c217b4be6bd8b4 | 2026-01-05T03:39:09.711315Z | false |
CAHLR/OATutor | https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/@smithy/shared-ini-file-loader/dist-es/getSSOTokenFilepath.js | aws/aiHintGeneration/node_modules/@smithy/shared-ini-file-loader/dist-es/getSSOTokenFilepath.js | import { createHash } from "crypto";
import { join } from "path";
import { getHomeDir } from "./getHomeDir";
export const getSSOTokenFilepath = (id) => {
const hasher = createHash("sha1");
const cacheName = hasher.update(id).digest("hex");
return join(getHomeDir(), ".aws", "sso", "cache", `${cacheName}.json... | javascript | MIT | 10a5baf153a505267af8045b05c217b4be6bd8b4 | 2026-01-05T03:39:09.711315Z | false |
CAHLR/OATutor | https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/@smithy/shared-ini-file-loader/dist-es/getSSOTokenFromFile.js | aws/aiHintGeneration/node_modules/@smithy/shared-ini-file-loader/dist-es/getSSOTokenFromFile.js | import { promises as fsPromises } from "fs";
import { getSSOTokenFilepath } from "./getSSOTokenFilepath";
const { readFile } = fsPromises;
export const getSSOTokenFromFile = async (id) => {
const ssoTokenFilepath = getSSOTokenFilepath(id);
const ssoTokenText = await readFile(ssoTokenFilepath, "utf8");
retur... | javascript | MIT | 10a5baf153a505267af8045b05c217b4be6bd8b4 | 2026-01-05T03:39:09.711315Z | false |
CAHLR/OATutor | https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/@smithy/shared-ini-file-loader/dist-es/getProfileName.js | aws/aiHintGeneration/node_modules/@smithy/shared-ini-file-loader/dist-es/getProfileName.js | export const ENV_PROFILE = "AWS_PROFILE";
export const DEFAULT_PROFILE = "default";
export const getProfileName = (init) => init.profile || process.env[ENV_PROFILE] || DEFAULT_PROFILE;
| javascript | MIT | 10a5baf153a505267af8045b05c217b4be6bd8b4 | 2026-01-05T03:39:09.711315Z | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.