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/@pkgjs/parseargs/internal/util.js
aws/aiHintGeneration/node_modules/@pkgjs/parseargs/internal/util.js
'use strict'; // This is a placeholder for util.js in node.js land. const { ObjectCreate, ObjectFreeze, } = require('./primordials'); const kEmptyObject = ObjectFreeze(ObjectCreate(null)); module.exports = { kEmptyObject, };
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
false
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/@pkgjs/parseargs/internal/errors.js
aws/aiHintGeneration/node_modules/@pkgjs/parseargs/internal/errors.js
'use strict'; class ERR_INVALID_ARG_TYPE extends TypeError { constructor(name, expected, actual) { super(`${name} must be ${expected} got ${actual}`); this.code = 'ERR_INVALID_ARG_TYPE'; } } class ERR_INVALID_ARG_VALUE extends TypeError { constructor(arg1, arg2, expected) { super(`The property ${arg...
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
false
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/@pkgjs/parseargs/examples/is-default-value.js
aws/aiHintGeneration/node_modules/@pkgjs/parseargs/examples/is-default-value.js
'use strict'; // This example shows how to understand if a default value is used or not. // 1. const { parseArgs } = require('node:util'); // from node // 2. const { parseArgs } = require('@pkgjs/parseargs'); // from package const { parseArgs } = require('..'); // in repo const options = { file: { short: 'f', type...
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
false
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/@pkgjs/parseargs/examples/simple-hard-coded.js
aws/aiHintGeneration/node_modules/@pkgjs/parseargs/examples/simple-hard-coded.js
'use strict'; // This example is used in the documentation. // 1. const { parseArgs } = require('node:util'); // from node // 2. const { parseArgs } = require('@pkgjs/parseargs'); // from package const { parseArgs } = require('..'); // in repo const args = ['-f', '--bar', 'b']; const options = { foo: { type: '...
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
false
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/@pkgjs/parseargs/examples/negate.js
aws/aiHintGeneration/node_modules/@pkgjs/parseargs/examples/negate.js
'use strict'; // This example is used in the documentation. // How might I add my own support for --no-foo? // 1. const { parseArgs } = require('node:util'); // from node // 2. const { parseArgs } = require('@pkgjs/parseargs'); // from package const { parseArgs } = require('..'); // in repo const options = { 'col...
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
false
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/@pkgjs/parseargs/examples/no-repeated-options.js
aws/aiHintGeneration/node_modules/@pkgjs/parseargs/examples/no-repeated-options.js
'use strict'; // This is an example of using tokens to add a custom behaviour. // // Throw an error if an option is used more than once. // 1. const { parseArgs } = require('node:util'); // from node // 2. const { parseArgs } = require('@pkgjs/parseargs'); // from package const { parseArgs } = require('..'); // in re...
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
false
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/@pkgjs/parseargs/examples/limit-long-syntax.js
aws/aiHintGeneration/node_modules/@pkgjs/parseargs/examples/limit-long-syntax.js
'use strict'; // This is an example of using tokens to add a custom behaviour. // // Require the use of `=` for long options and values by blocking // the use of space separated values. // So allow `--foo=bar`, and not allow `--foo bar`. // // Note: this is not a common behaviour, most CLIs allow both forms. // 1. co...
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
false
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/merge-stream/index.js
aws/aiHintGeneration/node_modules/merge-stream/index.js
'use strict'; const { PassThrough } = require('stream'); module.exports = function (/*streams...*/) { var sources = [] var output = new PassThrough({objectMode: true}) output.setMaxListeners(0) output.add = add output.isEmpty = isEmpty output.on('unpipe', remove) Array.prototype.slice.call(argument...
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
false
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/sorted-array-functions/index.js
aws/aiHintGeneration/node_modules/sorted-array-functions/index.js
exports.add = add exports.addFromFront = addFromFront exports.remove = remove exports.has = has exports.eq = eq exports.lte = lte exports.lt = lt exports.gte = gte exports.gt = gt exports.nearest = nearest function defaultCmp (a, b) { if (a === b) return 0 return a < b ? -1 : 1 } function add (list, value, cmp) {...
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
false
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/sorted-array-functions/test.js
aws/aiHintGeneration/node_modules/sorted-array-functions/test.js
var tape = require('tape') var sorted = require('./') tape('add', function (t) { var list = [] sorted.add(list, 3) sorted.add(list, 4) sorted.add(list, 3) sorted.add(list, 9) sorted.add(list, 0) sorted.add(list, 5) sorted.add(list, 8) t.same(list, [0, 3, 3, 4, 5, 8, 9]) t.end() }) tape('addFromF...
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
false
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/sorted-array-functions/example.js
aws/aiHintGeneration/node_modules/sorted-array-functions/example.js
var sorted = require('./') var list = [] sorted.add(list, 1) sorted.add(list, 4) sorted.add(list, 2) console.log(list) // prints out [1, 2, 4] console.log(sorted.has(list, 2)) // returns true console.log(sorted.has(list, 3)) // returns false console.log(sorted.eq(list, 2)) // returns 1 (the index) console.log(sorted....
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
false
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/ws/index.js
aws/aiHintGeneration/node_modules/ws/index.js
'use strict'; const WebSocket = require('./lib/websocket'); WebSocket.createWebSocketStream = require('./lib/stream'); WebSocket.Server = require('./lib/websocket-server'); WebSocket.Receiver = require('./lib/receiver'); WebSocket.Sender = require('./lib/sender'); WebSocket.WebSocket = WebSocket; WebSocket.WebSocket...
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
false
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/ws/browser.js
aws/aiHintGeneration/node_modules/ws/browser.js
'use strict'; module.exports = function () { throw new Error( 'ws does not work in the browser. Browser clients must use the native ' + 'WebSocket object' ); };
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
false
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/ws/lib/websocket.js
aws/aiHintGeneration/node_modules/ws/lib/websocket.js
/* eslint no-unused-vars: ["error", { "varsIgnorePattern": "^Duplex|Readable$", "caughtErrors": "none" }] */ 'use strict'; const EventEmitter = require('events'); const https = require('https'); const http = require('http'); const net = require('net'); const tls = require('tls'); const { randomBytes, createHash } = r...
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
true
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/ws/lib/event-target.js
aws/aiHintGeneration/node_modules/ws/lib/event-target.js
'use strict'; const { kForOnEventAttribute, kListener } = require('./constants'); const kCode = Symbol('kCode'); const kData = Symbol('kData'); const kError = Symbol('kError'); const kMessage = Symbol('kMessage'); const kReason = Symbol('kReason'); const kTarget = Symbol('kTarget'); const kType = Symbol('kType'); con...
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
false
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/ws/lib/websocket-server.js
aws/aiHintGeneration/node_modules/ws/lib/websocket-server.js
/* eslint no-unused-vars: ["error", { "varsIgnorePattern": "^Duplex$", "caughtErrors": "none" }] */ 'use strict'; const EventEmitter = require('events'); const http = require('http'); const { Duplex } = require('stream'); const { createHash } = require('crypto'); const extension = require('./extension'); const PerMe...
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
false
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/ws/lib/sender.js
aws/aiHintGeneration/node_modules/ws/lib/sender.js
/* eslint no-unused-vars: ["error", { "varsIgnorePattern": "^Duplex" }] */ 'use strict'; const { Duplex } = require('stream'); const { randomFillSync } = require('crypto'); const PerMessageDeflate = require('./permessage-deflate'); const { EMPTY_BUFFER, kWebSocket, NOOP } = require('./constants'); const { isBlob, is...
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
false
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/ws/lib/subprotocol.js
aws/aiHintGeneration/node_modules/ws/lib/subprotocol.js
'use strict'; const { tokenChars } = require('./validation'); /** * Parses the `Sec-WebSocket-Protocol` header into a set of subprotocol names. * * @param {String} header The field value of the header * @return {Set} The subprotocol names * @public */ function parse(header) { const protocols = new Set(); le...
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
false
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/ws/lib/validation.js
aws/aiHintGeneration/node_modules/ws/lib/validation.js
'use strict'; const { isUtf8 } = require('buffer'); const { hasBlob } = require('./constants'); // // Allowed token characters: // // '!', '#', '$', '%', '&', ''', '*', '+', '-', // '.', 0-9, A-Z, '^', '_', '`', a-z, '|', '~' // // tokenChars[32] === 0 // ' ' // tokenChars[33] === 1 // '!' // tokenChars[34] === 0 //...
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
false
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/ws/lib/constants.js
aws/aiHintGeneration/node_modules/ws/lib/constants.js
'use strict'; const BINARY_TYPES = ['nodebuffer', 'arraybuffer', 'fragments']; const hasBlob = typeof Blob !== 'undefined'; if (hasBlob) BINARY_TYPES.push('blob'); module.exports = { BINARY_TYPES, EMPTY_BUFFER: Buffer.alloc(0), GUID: '258EAFA5-E914-47DA-95CA-C5AB0DC85B11', hasBlob, kForOnEventAttribute: Sy...
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
false
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/ws/lib/limiter.js
aws/aiHintGeneration/node_modules/ws/lib/limiter.js
'use strict'; const kDone = Symbol('kDone'); const kRun = Symbol('kRun'); /** * A very simple job queue with adjustable concurrency. Adapted from * https://github.com/STRML/async-limiter */ class Limiter { /** * Creates a new `Limiter`. * * @param {Number} [concurrency=Infinity] The maximum number of jo...
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
false
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/ws/lib/stream.js
aws/aiHintGeneration/node_modules/ws/lib/stream.js
'use strict'; const { Duplex } = require('stream'); /** * Emits the `'close'` event on a stream. * * @param {Duplex} stream The stream. * @private */ function emitClose(stream) { stream.emit('close'); } /** * The listener of the `'end'` event. * * @private */ function duplexOnEnd() { if (!this.destroyed...
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
false
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/ws/lib/permessage-deflate.js
aws/aiHintGeneration/node_modules/ws/lib/permessage-deflate.js
'use strict'; const zlib = require('zlib'); const bufferUtil = require('./buffer-util'); const Limiter = require('./limiter'); const { kStatusCode } = require('./constants'); const FastBuffer = Buffer[Symbol.species]; const TRAILER = Buffer.from([0x00, 0x00, 0xff, 0xff]); const kPerMessageDeflate = Symbol('permessag...
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
false
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/ws/lib/extension.js
aws/aiHintGeneration/node_modules/ws/lib/extension.js
'use strict'; const { tokenChars } = require('./validation'); /** * Adds an offer to the map of extension offers or a parameter to the map of * parameters. * * @param {Object} dest The map of extension offers or parameters * @param {String} name The extension or parameter name * @param {(Object|Boolean|String)}...
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
false
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/ws/lib/buffer-util.js
aws/aiHintGeneration/node_modules/ws/lib/buffer-util.js
'use strict'; const { EMPTY_BUFFER } = require('./constants'); const FastBuffer = Buffer[Symbol.species]; /** * Merges an array of buffers into a new buffer. * * @param {Buffer[]} list The array of buffers to concat * @param {Number} totalLength The total length of buffers in the list * @return {Buffer} The res...
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
false
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/ws/lib/receiver.js
aws/aiHintGeneration/node_modules/ws/lib/receiver.js
'use strict'; const { Writable } = require('stream'); const PerMessageDeflate = require('./permessage-deflate'); const { BINARY_TYPES, EMPTY_BUFFER, kStatusCode, kWebSocket } = require('./constants'); const { concat, toArrayBuffer, unmask } = require('./buffer-util'); const { isValidStatusCode, isValidUTF8 } ...
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
false
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/chalk/source/index.js
aws/aiHintGeneration/node_modules/chalk/source/index.js
import ansiStyles from '#ansi-styles'; import supportsColor from '#supports-color'; import { // eslint-disable-line import/order stringReplaceAll, stringEncaseCRLFWithFirstIndex, } from './utilities.js'; const {stdout: stdoutColor, stderr: stderrColor} = supportsColor; const GENERATOR = Symbol('GENERATOR'); const S...
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
false
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/chalk/source/utilities.js
aws/aiHintGeneration/node_modules/chalk/source/utilities.js
// TODO: When targeting Node.js 16, use `String.prototype.replaceAll`. export function stringReplaceAll(string, substring, replacer) { let index = string.indexOf(substring); if (index === -1) { return string; } const substringLength = substring.length; let endIndex = 0; let returnValue = ''; do { returnValu...
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
false
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/chalk/source/vendor/supports-color/index.js
aws/aiHintGeneration/node_modules/chalk/source/vendor/supports-color/index.js
import process from 'node:process'; import os from 'node:os'; import tty from 'node:tty'; // From: https://github.com/sindresorhus/has-flag/blob/main/index.js /// function hasFlag(flag, argv = globalThis.Deno?.args ?? process.argv) { function hasFlag(flag, argv = globalThis.Deno ? globalThis.Deno.args : process.argv) ...
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
false
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/chalk/source/vendor/supports-color/browser.js
aws/aiHintGeneration/node_modules/chalk/source/vendor/supports-color/browser.js
/* eslint-env browser */ const level = (() => { if (navigator.userAgentData) { const brand = navigator.userAgentData.brands.find(({brand}) => brand === 'Chromium'); if (brand && brand.version > 93) { return 3; } } if (/\b(Chrome|Chromium)\//.test(navigator.userAgent)) { return 1; } return 0; })(); c...
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
false
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/chalk/source/vendor/ansi-styles/index.js
aws/aiHintGeneration/node_modules/chalk/source/vendor/ansi-styles/index.js
const ANSI_BACKGROUND_OFFSET = 10; const wrapAnsi16 = (offset = 0) => code => `\u001B[${code + offset}m`; const wrapAnsi256 = (offset = 0) => code => `\u001B[${38 + offset};5;${code}m`; const wrapAnsi16m = (offset = 0) => (red, green, blue) => `\u001B[${38 + offset};2;${red};${green};${blue}m`; const styles = { mo...
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
false
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/event-target-shim/dist/event-target-shim.umd.js
aws/aiHintGeneration/node_modules/event-target-shim/dist/event-target-shim.umd.js
/** * @author Toru Nagashima <https://github.com/mysticatea> * @copyright 2015 Toru Nagashima. All rights reserved. * See LICENSE file in root directory for full license. */(function(a,b){"object"==typeof exports&&"undefined"!=typeof module?b(exports):"function"==typeof define&&define.amd?define(["exports"],b):(a=a...
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
false
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/event-target-shim/dist/event-target-shim.js
aws/aiHintGeneration/node_modules/event-target-shim/dist/event-target-shim.js
/** * @author Toru Nagashima <https://github.com/mysticatea> * @copyright 2015 Toru Nagashima. All rights reserved. * See LICENSE file in root directory for full license. */ 'use strict'; Object.defineProperty(exports, '__esModule', { value: true }); /** * @typedef {object} PrivateData * @property {EventTarget}...
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
false
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/events/events.js
aws/aiHintGeneration/node_modules/events/events.js
// Copyright Joyent, Inc. and other Node contributors. // // Permission is hereby granted, free of charge, to any person obtaining a // copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use, copy, modi...
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
false
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/events/tests/max-listeners.js
aws/aiHintGeneration/node_modules/events/tests/max-listeners.js
// Copyright Joyent, Inc. and other Node contributors. // // Permission is hereby granted, free of charge, to any person obtaining a // copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use, copy, modi...
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
false
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/events/tests/once.js
aws/aiHintGeneration/node_modules/events/tests/once.js
// Copyright Joyent, Inc. and other Node contributors. // // Permission is hereby granted, free of charge, to any person obtaining a // copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use, copy, modi...
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
false
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/events/tests/num-args.js
aws/aiHintGeneration/node_modules/events/tests/num-args.js
// Copyright Joyent, Inc. and other Node contributors. // // Permission is hereby granted, free of charge, to any person obtaining a // copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use, copy, modi...
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
false
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/events/tests/index.js
aws/aiHintGeneration/node_modules/events/tests/index.js
require('./legacy-compat'); // we do this to easily wrap each file in a mocha test // and also have browserify be able to statically analyze this file var orig_require = require; var require = function(file) { test(file, function() { orig_require(file); }); } require('./add-listeners.js'); require('....
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
false
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/events/tests/listeners.js
aws/aiHintGeneration/node_modules/events/tests/listeners.js
// Copyright Joyent, Inc. and other Node contributors. // // Permission is hereby granted, free of charge, to any person obtaining a // copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use, copy, mod...
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
false
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/events/tests/listeners-side-effects.js
aws/aiHintGeneration/node_modules/events/tests/listeners-side-effects.js
// Copyright Joyent, Inc. and other Node contributors. // // Permission is hereby granted, free of charge, to any person obtaining a // copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use, copy, mod...
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
false
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/events/tests/add-listeners.js
aws/aiHintGeneration/node_modules/events/tests/add-listeners.js
// Copyright Joyent, Inc. and other Node contributors. // // Permission is hereby granted, free of charge, to any person obtaining a // copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use, copy, modi...
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
false
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/events/tests/common.js
aws/aiHintGeneration/node_modules/events/tests/common.js
var assert = require('assert'); var mustCallChecks = []; function runCallChecks() { var failed_count = 0; for (var i=0 ; i< mustCallChecks.length; ++i) { var context = mustCallChecks[i]; if (context.actual === context.expected) { continue; } failed_count++; console.log('Mismatched %s fu...
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
false
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/events/tests/remove-listeners.js
aws/aiHintGeneration/node_modules/events/tests/remove-listeners.js
// Copyright Joyent, Inc. and other Node contributors. // // Permission is hereby granted, free of charge, to any person obtaining a // copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use, copy, modi...
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
false
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/events/tests/listener-count.js
aws/aiHintGeneration/node_modules/events/tests/listener-count.js
// Copyright Joyent, Inc. and other Node contributors. // // Permission is hereby granted, free of charge, to any person obtaining a // copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use, copy, modi...
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
false
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/events/tests/legacy-compat.js
aws/aiHintGeneration/node_modules/events/tests/legacy-compat.js
// sigh... life is hard if (!global.console) { console = {} } var fns = ['log', 'error', 'trace']; for (var i=0 ; i<fns.length ; ++i) { var fn = fns[i]; if (!console[fn]) { console[fn] = function() {}; } } if (!Array.isArray) { Array.isArray = function(arr) { return Object.prototyp...
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
false
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/events/tests/modify-in-emit.js
aws/aiHintGeneration/node_modules/events/tests/modify-in-emit.js
// Copyright Joyent, Inc. and other Node contributors. // // Permission is hereby granted, free of charge, to any person obtaining a // copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use, copy, modi...
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
false
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/events/tests/subclass.js
aws/aiHintGeneration/node_modules/events/tests/subclass.js
// Copyright Joyent, Inc. and other Node contributors. // // Permission is hereby granted, free of charge, to any person obtaining a // copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use, copy, modi...
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
false
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/events/tests/check-listener-leaks.js
aws/aiHintGeneration/node_modules/events/tests/check-listener-leaks.js
// Copyright Joyent, Inc. and other Node contributors. // // Permission is hereby granted, free of charge, to any person obtaining a // copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use, copy, modi...
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
false
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/events/tests/set-max-listeners-side-effects.js
aws/aiHintGeneration/node_modules/events/tests/set-max-listeners-side-effects.js
// Copyright Joyent, Inc. and other Node contributors. // // Permission is hereby granted, free of charge, to any person obtaining a // copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use, copy, modi...
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
false
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/events/tests/remove-all-listeners.js
aws/aiHintGeneration/node_modules/events/tests/remove-all-listeners.js
// Copyright Joyent, Inc. and other Node contributors. // // Permission is hereby granted, free of charge, to any person obtaining a // copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use, copy, modi...
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
false
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/brace-expansion/index.js
aws/aiHintGeneration/node_modules/brace-expansion/index.js
var balanced = require('balanced-match'); module.exports = expandTop; var escSlash = '\0SLASH'+Math.random()+'\0'; var escOpen = '\0OPEN'+Math.random()+'\0'; var escClose = '\0CLOSE'+Math.random()+'\0'; var escComma = '\0COMMA'+Math.random()+'\0'; var escPeriod = '\0PERIOD'+Math.random()+'\0'; function numeric(str) ...
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
false
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/aws-lambda/lib/main.js
aws/aiHintGeneration/node_modules/aws-lambda/lib/main.js
"use strict"; var exec = require( "child_process" ).exec var fs = require( "fs" ) var os = require( "os" ) var path = require( "path" ) var yaml = require('js-yaml') var buildYamlSchema = require('./schema') const spawn = require('child_process').spawn var Watchpack = require("watchpack"); var Lambda = function( o )...
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
false
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/aws-lambda/lib/schema.js
aws/aiHintGeneration/node_modules/aws-lambda/lib/schema.js
var yaml = require('js-yaml'); module.exports = function buildYamlSchema() { var types = ['scalar', 'mapping', 'sequence']; function functionTag(functionName) { var splitFunctionName = functionName.split('::'); return splitFunctionName[splitFunctionName.length - 1]; } function buildYamlType(fnName, type) { ...
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
false
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/balanced-match/index.js
aws/aiHintGeneration/node_modules/balanced-match/index.js
'use strict'; module.exports = balanced; function balanced(a, b, str) { if (a instanceof RegExp) a = maybeMatch(a, str); if (b instanceof RegExp) b = maybeMatch(b, str); var r = range(a, b, str); return r && { start: r[0], end: r[1], pre: str.slice(0, r[0]), body: str.slice(r[0] + a.length, r[...
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
false
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/jszip/.eslintrc.js
aws/aiHintGeneration/node_modules/jszip/.eslintrc.js
"use strict"; module.exports = { "env": { "browser": true, "commonjs": true, "es2021": true, "node": true }, "extends": "eslint:recommended", "parserOptions": { "ecmaVersion": "latest" }, "ignorePatterns": ["vendor/*.js", "dist/*.js", "test/jquery-1.8.3.m...
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
false
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/jszip/deps.js
aws/aiHintGeneration/node_modules/jszip/deps.js
"use strict"; const madge = require("madge"); const path = require("path"); const ts = require("typescript"); const DIR = "./lib"; async function main() { const tsconfigPath = ts.findConfigFile("./", ts.sys.fileExists); const tsconfig = ts.readConfigFile(tsconfigPath, ts.sys.readFile).config; const parse...
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
false
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/jszip/vendor/FileSaver.js
aws/aiHintGeneration/node_modules/jszip/vendor/FileSaver.js
/*! FileSaver.js * A saveAs() FileSaver implementation. * 2014-01-24 * * By Eli Grey, http://eligrey.com * License: X11/MIT * See LICENSE.md */ /*global self */ /*jslint bitwise: true, indent: 4, laxbreak: true, laxcomma: true, smarttabs: true, plusplus: true */ /*! @source http://purl.eligrey.com/githu...
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
false
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/jszip/lib/base64.js
aws/aiHintGeneration/node_modules/jszip/lib/base64.js
"use strict"; var utils = require("./utils"); var support = require("./support"); // private property var _keyStr = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="; // public method for encoding exports.encode = function(input) { var output = []; var chr1, chr2, chr3, enc1, enc2, enc3, enc...
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
false
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/jszip/lib/crc32.js
aws/aiHintGeneration/node_modules/jszip/lib/crc32.js
"use strict"; var utils = require("./utils"); /** * The following functions come from pako, from pako/lib/zlib/crc32.js * released under the MIT license, see pako https://github.com/nodeca/pako/ */ // Use ordinary array, since untyped makes no boost here function makeTable() { var c, table = []; for(var ...
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
false
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/jszip/lib/readable-stream-browser.js
aws/aiHintGeneration/node_modules/jszip/lib/readable-stream-browser.js
"use strict"; /* * This file is used by module bundlers (browserify/webpack/etc) when * including a stream implementation. We use "readable-stream" to get a * consistent behavior between nodejs versions but bundlers often have a shim * for "stream". Using this shim greatly improve the compatibility and greatly * r...
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
false
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/jszip/lib/support.js
aws/aiHintGeneration/node_modules/jszip/lib/support.js
"use strict"; exports.base64 = true; exports.array = true; exports.string = true; exports.arraybuffer = typeof ArrayBuffer !== "undefined" && typeof Uint8Array !== "undefined"; exports.nodebuffer = typeof Buffer !== "undefined"; // contains true if JSZip can read/generate Uint8Array, false otherwise. exports.uint8arra...
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
false
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/jszip/lib/flate.js
aws/aiHintGeneration/node_modules/jszip/lib/flate.js
"use strict"; var USE_TYPEDARRAY = (typeof Uint8Array !== "undefined") && (typeof Uint16Array !== "undefined") && (typeof Uint32Array !== "undefined"); var pako = require("pako"); var utils = require("./utils"); var GenericWorker = require("./stream/GenericWorker"); var ARRAY_TYPE = USE_TYPEDARRAY ? "uint8array" : "a...
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
false
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/jszip/lib/license_header.js
aws/aiHintGeneration/node_modules/jszip/lib/license_header.js
/*! JSZip v__VERSION__ - A JavaScript class for generating and reading zip files <http://stuartk.com/jszip> (c) 2009-2016 Stuart Knightley <stuart [at] stuartk.com> Dual licenced under the MIT license or GPLv3. See https://raw.github.com/Stuk/jszip/main/LICENSE.markdown. JSZip uses the library pako released under th...
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
false
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/jszip/lib/index.js
aws/aiHintGeneration/node_modules/jszip/lib/index.js
"use strict"; /** * Representation a of zip file in js * @constructor */ function JSZip() { // if this constructor is used without `new`, it adds `new` before itself: if(!(this instanceof JSZip)) { return new JSZip(); } if(arguments.length) { throw new Error("The constructor with pa...
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
false
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/jszip/lib/utf8.js
aws/aiHintGeneration/node_modules/jszip/lib/utf8.js
"use strict"; var utils = require("./utils"); var support = require("./support"); var nodejsUtils = require("./nodejsUtils"); var GenericWorker = require("./stream/GenericWorker"); /** * The following functions come from pako, from pako/lib/utils/strings * released under the MIT license, see pako https://github.com...
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
false
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/jszip/lib/zipEntry.js
aws/aiHintGeneration/node_modules/jszip/lib/zipEntry.js
"use strict"; var readerFor = require("./reader/readerFor"); var utils = require("./utils"); var CompressedObject = require("./compressedObject"); var crc32fn = require("./crc32"); var utf8 = require("./utf8"); var compressions = require("./compressions"); var support = require("./support"); var MADE_BY_DOS = 0x00; va...
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
false
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/jszip/lib/object.js
aws/aiHintGeneration/node_modules/jszip/lib/object.js
"use strict"; var utf8 = require("./utf8"); var utils = require("./utils"); var GenericWorker = require("./stream/GenericWorker"); var StreamHelper = require("./stream/StreamHelper"); var defaults = require("./defaults"); var CompressedObject = require("./compressedObject"); var ZipObject = require("./zipObject"); var ...
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
false
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/jszip/lib/nodejsUtils.js
aws/aiHintGeneration/node_modules/jszip/lib/nodejsUtils.js
"use strict"; module.exports = { /** * True if this is running in Nodejs, will be undefined in a browser. * In a browser, browserify won't include this file and the whole module * will be resolved an empty object. */ isNode : typeof Buffer !== "undefined", /** * Create a new nodejs...
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
false
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/jszip/lib/defaults.js
aws/aiHintGeneration/node_modules/jszip/lib/defaults.js
"use strict"; exports.base64 = false; exports.binary = false; exports.dir = false; exports.createFolders = true; exports.date = null; exports.compression = null; exports.compressionOptions = null; exports.comment = null; exports.unixPermissions = null; exports.dosPermissions = null;
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
false
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/jszip/lib/compressions.js
aws/aiHintGeneration/node_modules/jszip/lib/compressions.js
"use strict"; var GenericWorker = require("./stream/GenericWorker"); exports.STORE = { magic: "\x00\x00", compressWorker : function () { return new GenericWorker("STORE compression"); }, uncompressWorker : function () { return new GenericWorker("STORE decompression"); } }; exports....
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
false
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/jszip/lib/zipObject.js
aws/aiHintGeneration/node_modules/jszip/lib/zipObject.js
"use strict"; var StreamHelper = require("./stream/StreamHelper"); var DataWorker = require("./stream/DataWorker"); var utf8 = require("./utf8"); var CompressedObject = require("./compressedObject"); var GenericWorker = require("./stream/GenericWorker"); /** * A simple object representing a file in the zip file. * ...
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
false
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/jszip/lib/external.js
aws/aiHintGeneration/node_modules/jszip/lib/external.js
"use strict"; // load the global object first: // - it should be better integrated in the system (unhandledRejection in node) // - the environment may have a custom Promise implementation (see zone.js) var ES6Promise = null; if (typeof Promise !== "undefined") { ES6Promise = Promise; } else { ES6Promise = requ...
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
false
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/jszip/lib/zipEntries.js
aws/aiHintGeneration/node_modules/jszip/lib/zipEntries.js
"use strict"; var readerFor = require("./reader/readerFor"); var utils = require("./utils"); var sig = require("./signature"); var ZipEntry = require("./zipEntry"); var support = require("./support"); // class ZipEntries {{{ /** * All the entries in the zip file. * @constructor * @param {Object} loadOptions Options...
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
false
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/jszip/lib/utils.js
aws/aiHintGeneration/node_modules/jszip/lib/utils.js
"use strict"; var support = require("./support"); var base64 = require("./base64"); var nodejsUtils = require("./nodejsUtils"); var external = require("./external"); require("setimmediate"); /** * Convert a string that pass as a "binary string": it should represent a byte * array but may have > 255 char codes. Be ...
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
false
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/jszip/lib/load.js
aws/aiHintGeneration/node_modules/jszip/lib/load.js
"use strict"; var utils = require("./utils"); var external = require("./external"); var utf8 = require("./utf8"); var ZipEntries = require("./zipEntries"); var Crc32Probe = require("./stream/Crc32Probe"); var nodejsUtils = require("./nodejsUtils"); /** * Check the CRC32 of an entry. * @param {ZipEntry} zipEntry the ...
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
false
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/jszip/lib/signature.js
aws/aiHintGeneration/node_modules/jszip/lib/signature.js
"use strict"; exports.LOCAL_FILE_HEADER = "PK\x03\x04"; exports.CENTRAL_FILE_HEADER = "PK\x01\x02"; exports.CENTRAL_DIRECTORY_END = "PK\x05\x06"; exports.ZIP64_CENTRAL_DIRECTORY_LOCATOR = "PK\x06\x07"; exports.ZIP64_CENTRAL_DIRECTORY_END = "PK\x06\x06"; exports.DATA_DESCRIPTOR = "PK\x07\x08";
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
false
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/jszip/lib/compressedObject.js
aws/aiHintGeneration/node_modules/jszip/lib/compressedObject.js
"use strict"; var external = require("./external"); var DataWorker = require("./stream/DataWorker"); var Crc32Probe = require("./stream/Crc32Probe"); var DataLengthProbe = require("./stream/DataLengthProbe"); /** * Represent a compressed object, with everything needed to decompress it. * @constructor * @param {num...
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
false
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/jszip/lib/generate/index.js
aws/aiHintGeneration/node_modules/jszip/lib/generate/index.js
"use strict"; var compressions = require("../compressions"); var ZipFileWorker = require("./ZipFileWorker"); /** * Find the compression to use. * @param {String} fileCompression the compression defined at the file level, if any. * @param {String} zipCompression the compression defined at the load() level. * @retu...
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
false
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/jszip/lib/generate/ZipFileWorker.js
aws/aiHintGeneration/node_modules/jszip/lib/generate/ZipFileWorker.js
"use strict"; var utils = require("../utils"); var GenericWorker = require("../stream/GenericWorker"); var utf8 = require("../utf8"); var crc32 = require("../crc32"); var signature = require("../signature"); /** * Transform an integer into a string in hexadecimal. * @private * @param {number} dec the number to con...
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
false
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/jszip/lib/stream/DataLengthProbe.js
aws/aiHintGeneration/node_modules/jszip/lib/stream/DataLengthProbe.js
"use strict"; var utils = require("../utils"); var GenericWorker = require("./GenericWorker"); /** * A worker which calculate the total length of the data flowing through. * @constructor * @param {String} propName the name used to expose the length */ function DataLengthProbe(propName) { GenericWorker.call(th...
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
false
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/jszip/lib/stream/StreamHelper.js
aws/aiHintGeneration/node_modules/jszip/lib/stream/StreamHelper.js
"use strict"; var utils = require("../utils"); var ConvertWorker = require("./ConvertWorker"); var GenericWorker = require("./GenericWorker"); var base64 = require("../base64"); var support = require("../support"); var external = require("../external"); var NodejsStreamOutputAdapter = null; if (support.nodestream) { ...
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
false
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/jszip/lib/stream/GenericWorker.js
aws/aiHintGeneration/node_modules/jszip/lib/stream/GenericWorker.js
"use strict"; /** * A worker that does nothing but passing chunks to the next one. This is like * a nodejs stream but with some differences. On the good side : * - it works on IE 6-9 without any issue / polyfill * - it weights less than the full dependencies bundled with browserify * - it forwards errors (no need...
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
false
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/jszip/lib/stream/ConvertWorker.js
aws/aiHintGeneration/node_modules/jszip/lib/stream/ConvertWorker.js
"use strict"; var GenericWorker = require("./GenericWorker"); var utils = require("../utils"); /** * A worker which convert chunks to a specified type. * @constructor * @param {String} destType the destination type. */ function ConvertWorker(destType) { GenericWorker.call(this, "ConvertWorker to " + destType)...
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
false
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/jszip/lib/stream/Crc32Probe.js
aws/aiHintGeneration/node_modules/jszip/lib/stream/Crc32Probe.js
"use strict"; var GenericWorker = require("./GenericWorker"); var crc32 = require("../crc32"); var utils = require("../utils"); /** * A worker which calculate the crc32 of the data flowing through. * @constructor */ function Crc32Probe() { GenericWorker.call(this, "Crc32Probe"); this.withStreamInfo("crc32"...
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
false
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/jszip/lib/stream/DataWorker.js
aws/aiHintGeneration/node_modules/jszip/lib/stream/DataWorker.js
"use strict"; var utils = require("../utils"); var GenericWorker = require("./GenericWorker"); // the size of the generated chunks // TODO expose this as a public variable var DEFAULT_BLOCK_SIZE = 16 * 1024; /** * A worker that reads a content and emits chunks. * @constructor * @param {Promise} dataP the promise ...
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
false
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/jszip/lib/nodejs/NodejsStreamOutputAdapter.js
aws/aiHintGeneration/node_modules/jszip/lib/nodejs/NodejsStreamOutputAdapter.js
"use strict"; var Readable = require("readable-stream").Readable; var utils = require("../utils"); utils.inherits(NodejsStreamOutputAdapter, Readable); /** * A nodejs stream using a worker as source. * @see the SourceWrapper in http://nodejs.org/api/stream.html * @constructor * @param {StreamHelper} helper the helpe...
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
false
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/jszip/lib/nodejs/NodejsStreamInputAdapter.js
aws/aiHintGeneration/node_modules/jszip/lib/nodejs/NodejsStreamInputAdapter.js
"use strict"; var utils = require("../utils"); var GenericWorker = require("../stream/GenericWorker"); /** * A worker that use a nodejs stream as source. * @constructor * @param {String} filename the name of the file entry for this stream. * @param {Readable} stream the nodejs stream. */ function NodejsStreamInp...
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
false
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/jszip/lib/reader/readerFor.js
aws/aiHintGeneration/node_modules/jszip/lib/reader/readerFor.js
"use strict"; var utils = require("../utils"); var support = require("../support"); var ArrayReader = require("./ArrayReader"); var StringReader = require("./StringReader"); var NodeBufferReader = require("./NodeBufferReader"); var Uint8ArrayReader = require("./Uint8ArrayReader"); /** * Create a reader adapted to th...
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
false
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/jszip/lib/reader/Uint8ArrayReader.js
aws/aiHintGeneration/node_modules/jszip/lib/reader/Uint8ArrayReader.js
"use strict"; var ArrayReader = require("./ArrayReader"); var utils = require("../utils"); function Uint8ArrayReader(data) { ArrayReader.call(this, data); } utils.inherits(Uint8ArrayReader, ArrayReader); /** * @see DataReader.readData */ Uint8ArrayReader.prototype.readData = function(size) { this.checkOffset...
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
false
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/jszip/lib/reader/NodeBufferReader.js
aws/aiHintGeneration/node_modules/jszip/lib/reader/NodeBufferReader.js
"use strict"; var Uint8ArrayReader = require("./Uint8ArrayReader"); var utils = require("../utils"); function NodeBufferReader(data) { Uint8ArrayReader.call(this, data); } utils.inherits(NodeBufferReader, Uint8ArrayReader); /** * @see DataReader.readData */ NodeBufferReader.prototype.readData = function(size) {...
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
false
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/jszip/lib/reader/ArrayReader.js
aws/aiHintGeneration/node_modules/jszip/lib/reader/ArrayReader.js
"use strict"; var DataReader = require("./DataReader"); var utils = require("../utils"); function ArrayReader(data) { DataReader.call(this, data); for(var i = 0; i < this.data.length; i++) { data[i] = data[i] & 0xFF; } } utils.inherits(ArrayReader, DataReader); /** * @see DataReader.byteAt */ Arr...
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
false
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/jszip/lib/reader/DataReader.js
aws/aiHintGeneration/node_modules/jszip/lib/reader/DataReader.js
"use strict"; var utils = require("../utils"); function DataReader(data) { this.data = data; // type : see implementation this.length = data.length; this.index = 0; this.zero = 0; } DataReader.prototype = { /** * Check that the offset will not go too far. * @param {string} offset the addi...
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
false
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/jszip/lib/reader/StringReader.js
aws/aiHintGeneration/node_modules/jszip/lib/reader/StringReader.js
"use strict"; var DataReader = require("./DataReader"); var utils = require("../utils"); function StringReader(data) { DataReader.call(this, data); } utils.inherits(StringReader, DataReader); /** * @see DataReader.byteAt */ StringReader.prototype.byteAt = function(i) { return this.data.charCodeAt(this.zero +...
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
false
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/jszip/dist/jszip.min.js
aws/aiHintGeneration/node_modules/jszip/dist/jszip.min.js
/*! JSZip v3.10.1 - A JavaScript class for generating and reading zip files <http://stuartk.com/jszip> (c) 2009-2016 Stuart Knightley <stuart [at] stuartk.com> Dual licenced under the MIT license or GPLv3. See https://raw.github.com/Stuk/jszip/main/LICENSE.markdown. JSZip uses the library pako released under the MIT...
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
true
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/jszip/dist/jszip.js
aws/aiHintGeneration/node_modules/jszip/dist/jszip.js
/*! JSZip v3.10.1 - A JavaScript class for generating and reading zip files <http://stuartk.com/jszip> (c) 2009-2016 Stuart Knightley <stuart [at] stuartk.com> Dual licenced under the MIT license or GPLv3. See https://raw.github.com/Stuk/jszip/main/LICENSE.markdown. JSZip uses the library pako released under the MIT...
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
true
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/immediate/lib/index.js
aws/aiHintGeneration/node_modules/immediate/lib/index.js
'use strict'; var Mutation = global.MutationObserver || global.WebKitMutationObserver; var scheduleDrain; if (process.browser) { if (Mutation) { var called = 0; var observer = new Mutation(nextTick); var element = global.document.createTextNode(''); observer.observe(element, { characterData: t...
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
false
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/immediate/lib/browser.js
aws/aiHintGeneration/node_modules/immediate/lib/browser.js
'use strict'; var Mutation = global.MutationObserver || global.WebKitMutationObserver; var scheduleDrain; { if (Mutation) { var called = 0; var observer = new Mutation(nextTick); var element = global.document.createTextNode(''); observer.observe(element, { characterData: true }); sched...
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
false
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/immediate/dist/immediate.min.js
aws/aiHintGeneration/node_modules/immediate/dist/immediate.min.js
!function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var n;n="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this,n.immediate=e()}}(function(){return function e(n,t,o){fun...
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
false
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/immediate/dist/immediate.js
aws/aiHintGeneration/node_modules/immediate/dist/immediate.js
(function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.immediate = f(...
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
false
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/array-unflat-js/dist/unflat.js
aws/aiHintGeneration/node_modules/array-unflat-js/dist/unflat.js
const { isArray } = Array; const { floor } = Math; export default function unflat(value, size = 2, fill) { if (!isArray(value)) { throw new Error(`value must be an array.`); } if (typeof size !== 'number') { throw new Error(`size must be a number.`); } if (size < 1) { return ...
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
false