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/has-symbols/shams.js
aws/aiHintGeneration/node_modules/has-symbols/shams.js
'use strict'; /* eslint complexity: [2, 18], max-statements: [2, 33] */ module.exports = function hasSymbols() { if (typeof Symbol !== 'function' || typeof Object.getOwnPropertySymbols !== 'function') { return false; } if (typeof Symbol.iterator === 'symbol') { return true; } var obj = {}; var sym = Symbol('test'...
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
false
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/has-symbols/test/index.js
aws/aiHintGeneration/node_modules/has-symbols/test/index.js
'use strict'; var test = require('tape'); var hasSymbols = require('../'); var runSymbolTests = require('./tests'); test('interface', function (t) { t.equal(typeof hasSymbols, 'function', 'is a function'); t.equal(typeof hasSymbols(), 'boolean', 'returns a boolean'); t.end(); }); test('Symbols are supported', { s...
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
false
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/has-symbols/test/tests.js
aws/aiHintGeneration/node_modules/has-symbols/test/tests.js
'use strict'; // eslint-disable-next-line consistent-return module.exports = function runSymbolTests(t) { t.equal(typeof Symbol, 'function', 'global Symbol is a function'); if (typeof Symbol !== 'function') { return false; } t.notEqual(Symbol(), Symbol(), 'two symbols are not equal'); /* t.equal( Symbol.prot...
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
false
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/has-symbols/test/shams/get-own-property-symbols.js
aws/aiHintGeneration/node_modules/has-symbols/test/shams/get-own-property-symbols.js
'use strict'; var test = require('tape'); if (typeof Symbol === 'function' && typeof Symbol() === 'symbol') { test('has native Symbol support', function (t) { t.equal(typeof Symbol, 'function'); t.equal(typeof Symbol(), 'symbol'); t.end(); }); return; } var hasSymbols = require('../../shams'); test('polyfi...
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
false
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/has-symbols/test/shams/core-js.js
aws/aiHintGeneration/node_modules/has-symbols/test/shams/core-js.js
'use strict'; var test = require('tape'); if (typeof Symbol === 'function' && typeof Symbol() === 'symbol') { test('has native Symbol support', function (t) { t.equal(typeof Symbol, 'function'); t.equal(typeof Symbol(), 'symbol'); t.end(); }); return; } var hasSymbols = require('../../shams'); test('polyfi...
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
false
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/lru-cache/dist/commonjs/index.js
aws/aiHintGeneration/node_modules/lru-cache/dist/commonjs/index.js
"use strict"; /** * @module LRUCache */ Object.defineProperty(exports, "__esModule", { value: true }); exports.LRUCache = void 0; const perf = typeof performance === 'object' && performance && typeof performance.now === 'function' ? performance : Date; const warned = new Set(); /* c8 ignore start */ c...
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
true
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/lru-cache/dist/commonjs/index.min.js
aws/aiHintGeneration/node_modules/lru-cache/dist/commonjs/index.min.js
"use strict";var G=(l,t,e)=>{if(!t.has(l))throw TypeError("Cannot "+e)};var j=(l,t,e)=>(G(l,t,"read from private field"),e?e.call(l):t.get(l)),I=(l,t,e)=>{if(t.has(l))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(l):t.set(l,e)},x=(l,t,e,i)=>(G(l,t,"write to private fiel...
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
false
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/lru-cache/dist/esm/index.js
aws/aiHintGeneration/node_modules/lru-cache/dist/esm/index.js
/** * @module LRUCache */ const perf = typeof performance === 'object' && performance && typeof performance.now === 'function' ? performance : Date; const warned = new Set(); /* c8 ignore start */ const PROCESS = (typeof process === 'object' && !!process ? process : {}); /* c8 ignore start */ const em...
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
true
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/lru-cache/dist/esm/index.min.js
aws/aiHintGeneration/node_modules/lru-cache/dist/esm/index.min.js
var G=(l,t,e)=>{if(!t.has(l))throw TypeError("Cannot "+e)};var I=(l,t,e)=>(G(l,t,"read from private field"),e?e.call(l):t.get(l)),j=(l,t,e)=>{if(t.has(l))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(l):t.set(l,e)},x=(l,t,e,i)=>(G(l,t,"write to private field"),i?i.call(...
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
false
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/is-wsl/index.js
aws/aiHintGeneration/node_modules/is-wsl/index.js
import process from 'node:process'; import os from 'node:os'; import fs from 'node:fs'; import isInsideContainer from 'is-inside-container'; const isWsl = () => { if (process.platform !== 'linux') { return false; } if (os.release().toLowerCase().includes('microsoft')) { if (isInsideContainer()) { return fal...
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
false
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/webidl-conversions/lib/index.js
aws/aiHintGeneration/node_modules/webidl-conversions/lib/index.js
"use strict"; var conversions = {}; module.exports = conversions; function sign(x) { return x < 0 ? -1 : 1; } function evenRound(x) { // Round x to the nearest integer, choosing the even integer if it lies halfway between two. if ((x % 1) === 0.5 && (x & 1) === 0) { // [even number].5; round down (i.e. f...
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
false
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/strip-ansi/index.js
aws/aiHintGeneration/node_modules/strip-ansi/index.js
import ansiRegex from 'ansi-regex'; const regex = ansiRegex(); export default function stripAnsi(string) { if (typeof string !== 'string') { throw new TypeError(`Expected a \`string\`, got \`${typeof string}\``); } // Even though the regex is global, we don't need to reset the `.lastIndex` // because unlike `....
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
false
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/fast-xml-parser/src/fxp.js
aws/aiHintGeneration/node_modules/fast-xml-parser/src/fxp.js
'use strict'; const validator = require('./validator'); const XMLParser = require('./xmlparser/XMLParser'); const XMLBuilder = require('./xmlbuilder/json2xml'); module.exports = { XMLParser: XMLParser, XMLValidator: validator, XMLBuilder: XMLBuilder }
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
false
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/fast-xml-parser/src/util.js
aws/aiHintGeneration/node_modules/fast-xml-parser/src/util.js
'use strict'; const nameStartChar = ':A-Za-z_\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD'; const nameChar = nameStartChar + '\\-.\\d\\u00B7\\u0300-\\u036F\\u203F-\\u2040'; const nameRegexp = '[' + ...
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
false
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/fast-xml-parser/src/validator.js
aws/aiHintGeneration/node_modules/fast-xml-parser/src/validator.js
'use strict'; const util = require('./util'); const defaultOptions = { allowBooleanAttributes: false, //A tag can have attributes without any value unpairedTags: [] }; //const tagsPattern = new RegExp("<\\/?([\\w:\\-_\.]+)\\s*\/?>","g"); exports.validate = function (xmlData, options) { options = Object.assign(...
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
false
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/fast-xml-parser/src/xmlparser/XMLParser.js
aws/aiHintGeneration/node_modules/fast-xml-parser/src/xmlparser/XMLParser.js
const { buildOptions} = require("./OptionsBuilder"); const OrderedObjParser = require("./OrderedObjParser"); const { prettify} = require("./node2json"); const validator = require('../validator'); class XMLParser{ constructor(options){ this.externalEntities = {}; this.options = buildOptions(opt...
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
false
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/fast-xml-parser/src/xmlparser/xmlNode.js
aws/aiHintGeneration/node_modules/fast-xml-parser/src/xmlparser/xmlNode.js
'use strict'; class XmlNode{ constructor(tagname) { this.tagname = tagname; this.child = []; //nested tags, text, cdata, comments in order this[":@"] = {}; //attributes map } add(key,val){ // this.child.push( {name : key, val: val, isCdata: isCdata }); if(key === "__proto__") key = "#__proto_...
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
false
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/fast-xml-parser/src/xmlparser/OrderedObjParser.js
aws/aiHintGeneration/node_modules/fast-xml-parser/src/xmlparser/OrderedObjParser.js
'use strict'; ///@ts-check const util = require('../util'); const xmlNode = require('./xmlNode'); const readDocType = require("./DocTypeReader"); const toNumber = require("strnum"); // const regx = // '<((!\\[CDATA\\[([\\s\\S]*?)(]]>))|((NAME:)?(NAME))([^>]*)>|((\\/)(NAME)\\s*>))([^<]*)' // .replace(/NAME/g, util...
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
false
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/fast-xml-parser/src/xmlparser/node2json.js
aws/aiHintGeneration/node_modules/fast-xml-parser/src/xmlparser/node2json.js
'use strict'; /** * * @param {array} node * @param {any} options * @returns */ function prettify(node, options){ return compress( node, options); } /** * * @param {array} arr * @param {object} options * @param {string} jPath * @returns object */ function compress(arr, options, jPath){ let text;...
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
false
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/fast-xml-parser/src/xmlparser/OptionsBuilder.js
aws/aiHintGeneration/node_modules/fast-xml-parser/src/xmlparser/OptionsBuilder.js
const defaultOptions = { preserveOrder: false, attributeNamePrefix: '@_', attributesGroupName: false, textNodeName: '#text', ignoreAttributes: true, removeNSPrefix: false, // remove NS from tag name or attribute name if true allowBooleanAttributes: false, //a tag can have attributes without...
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
false
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/fast-xml-parser/src/xmlparser/DocTypeReader.js
aws/aiHintGeneration/node_modules/fast-xml-parser/src/xmlparser/DocTypeReader.js
const util = require('../util'); //TODO: handle comments function readDocType(xmlData, i){ const entities = {}; if( xmlData[i + 3] === 'O' && xmlData[i + 4] === 'C' && xmlData[i + 5] === 'T' && xmlData[i + 6] === 'Y' && xmlData[i + 7] === 'P' && xmlData[i + 8] ...
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
false
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/fast-xml-parser/src/v5/XMLParser.js
aws/aiHintGeneration/node_modules/fast-xml-parser/src/v5/XMLParser.js
const { buildOptions} = require("./OptionsBuilder"); const Xml2JsParser = require("./Xml2JsParser"); class XMLParser{ constructor(options){ this.externalEntities = {}; this.options = buildOptions(options); // console.log(this.options) } /** * Parse XML data string to JS ob...
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
false
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/fast-xml-parser/src/v5/TagPath.js
aws/aiHintGeneration/node_modules/fast-xml-parser/src/v5/TagPath.js
class TagPath{ constructor(pathStr){ let text = ""; let tName = ""; let pos; let aName = ""; let aVal = ""; this.stack = [] for (let i = 0; i < pathStr.length; i++) { let ch = pathStr[i]; if(ch === " ") { if(text.length === 0) continue; tName = text; te...
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
false
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/fast-xml-parser/src/v5/TagPathMatcher.js
aws/aiHintGeneration/node_modules/fast-xml-parser/src/v5/TagPathMatcher.js
const TagPath = require("./TagPath"); class TagPathMatcher{ constructor(stack,node){ this.stack = stack; this.node= node; } match(path){ const tagPath = new TagPath(path); return tagPath.match(this.stack, this.node); } } module.exports = TagPathMatcher;
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
false
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/fast-xml-parser/src/v5/XmlSpecialTagsReader.js
aws/aiHintGeneration/node_modules/fast-xml-parser/src/v5/XmlSpecialTagsReader.js
const {readPiExp} = require("./XmlPartReader"); function readCdata(parser){ //<![ are already read till this point let str = parser.source.readStr(6); //CDATA[ parser.source.updateBufferBoundary(6); if(str !== "CDATA[") throw new Error(`Invalid CDATA expression at ${parser.source.line}:${parser.source.cols}`)...
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
false
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/fast-xml-parser/src/v5/OptionsBuilder.js
aws/aiHintGeneration/node_modules/fast-xml-parser/src/v5/OptionsBuilder.js
const JsObjOutputBuilder = require("./OutputBuilders/JsObjBuilder"); const defaultOptions = { preserveOrder: false, removeNSPrefix: false, // remove NS from tag name or attribute name if true //ignoreRootElement : false, stopNodes: [], //nested tags will not be parsed even for errors // isArray: () => false...
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
false
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/fast-xml-parser/src/v5/CharsSymbol.js
aws/aiHintGeneration/node_modules/fast-xml-parser/src/v5/CharsSymbol.js
modules.export = { "<" : "<", //tag start ">" : ">", //tag end "/" : "/", //close tag "!" : "!", //comment or docttype "!--" : "!--", //comment "-->" : "-->", //comment end "?" : "?", //pi "?>" : "?>", //pi end "?xml" : "?xml", //pi end "![" : "![", //cdata "]]>" : "]]>", //cdata end "[" : "[", ...
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
false
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/fast-xml-parser/src/v5/Xml2JsParser.js
aws/aiHintGeneration/node_modules/fast-xml-parser/src/v5/Xml2JsParser.js
const StringSource = require("./inputSource/StringSource"); const BufferSource = require("./inputSource/BufferSource"); const {readTagExp,readClosingTagName} = require("./XmlPartReader"); const {readComment, readCdata,readDocType,readPiTag} = require("./XmlSpecialTagsReader"); const TagPath = require("./TagPath"); cons...
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
false
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/fast-xml-parser/src/v5/Report.js
aws/aiHintGeneration/node_modules/fast-xml-parser/src/v5/Report.js
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
false
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/fast-xml-parser/src/v5/EntitiesParser.js
aws/aiHintGeneration/node_modules/fast-xml-parser/src/v5/EntitiesParser.js
const ampEntity = { regex: /&(amp|#38|#x26);/g, val : "&"}; const htmlEntities = { "space": { regex: /&(nbsp|#160);/g, val: " " }, // "lt" : { regex: /&(lt|#60);/g, val: "<" }, // "gt" : { regex: /&(gt|#62);/g, val: ">" }, // "amp" : { regex: /&(amp|#38);/g, val: "&" }, // "quot" : { regex: /&(quot|...
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
false
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/fast-xml-parser/src/v5/XmlPartReader.js
aws/aiHintGeneration/node_modules/fast-xml-parser/src/v5/XmlPartReader.js
'use strict'; /** * find paired tag for a stop node * @param {string} xmlDoc * @param {string} tagName * @param {number} i : start index */ function readStopNode(xmlDoc, tagName, i){ const startIndex = i; // Starting at 1 since we already have an open tag let openTagCount = 1; for (; i < xmlD...
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
false
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/fast-xml-parser/src/v5/valueParsers/trim.js
aws/aiHintGeneration/node_modules/fast-xml-parser/src/v5/valueParsers/trim.js
class trimmer{ parse(val){ if(typeof val === "string") return val.trim(); else return val; } } module.exports = trimmer;
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
false
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/fast-xml-parser/src/v5/valueParsers/join.js
aws/aiHintGeneration/node_modules/fast-xml-parser/src/v5/valueParsers/join.js
/** * * @param {array} val * @param {string} by * @returns */ function join(val, by=" "){ if(isArray(val)){ val.join(by) } return val; } module.exports = join;
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
false
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/fast-xml-parser/src/v5/valueParsers/number.js
aws/aiHintGeneration/node_modules/fast-xml-parser/src/v5/valueParsers/number.js
const toNumber = require("strnum"); class numParser{ constructor(options){ this.options = options; } parse(val){ if (typeof val === 'string') { val = toNumber(val,this.options); } return val; } } module.exports = numParser;
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
false
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/fast-xml-parser/src/v5/valueParsers/EntitiesParser.js
aws/aiHintGeneration/node_modules/fast-xml-parser/src/v5/valueParsers/EntitiesParser.js
const ampEntity = { regex: /&(amp|#38|#x26);/g, val : "&"}; const htmlEntities = { "space": { regex: /&(nbsp|#160);/g, val: " " }, // "lt" : { regex: /&(lt|#60);/g, val: "<" }, // "gt" : { regex: /&(gt|#62);/g, val: ">" }, // "amp" : { regex: /&(amp|#38);/g, val: "&" }, // "quot" : { regex: /&(quot|...
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
false
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/fast-xml-parser/src/v5/valueParsers/currency.js
aws/aiHintGeneration/node_modules/fast-xml-parser/src/v5/valueParsers/currency.js
const defaultOptions = { maxLength: 200, // locale: "en-IN" } const localeMap = { "$":"en-US", "€":"de-DE", "£":"en-GB", "¥":"ja-JP", "₹":"en-IN", } const sign = "(?:-|\+)?"; const digitsAndSeparator = "(?:\d+|\d{1,3}(?:,\d{3})+)"; const decimalPart = "(?:\.\d{1,2})?"; const symbol = "(?:\$|...
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
false
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/fast-xml-parser/src/v5/valueParsers/booleanParser.js
aws/aiHintGeneration/node_modules/fast-xml-parser/src/v5/valueParsers/booleanParser.js
class boolParser{ constructor(trueList, falseList){ if(trueList) this.trueList = trueList; else this.trueList = ["true"]; if(falseList) this.falseList = falseList; else this.falseList = ["false"]; } parse(val){ ...
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
false
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/fast-xml-parser/src/v5/valueParsers/booleanParserExt.js
aws/aiHintGeneration/node_modules/fast-xml-parser/src/v5/valueParsers/booleanParserExt.js
function boolParserExt(val){ if(isArray(val)){ for (let i = 0; i < val.length; i++) { val[i] = parse(val[i]) } }else{ val = parse(val) } return val; } function parse(val){ if (typeof val === 'string') { const temp = val.toLowerCase(); if(temp === ...
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
false
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/fast-xml-parser/src/v5/inputSource/BufferSource.js
aws/aiHintGeneration/node_modules/fast-xml-parser/src/v5/inputSource/BufferSource.js
const Constants = { space: 32, tab: 9 } class BufferSource{ constructor(bytesArr){ this.line = 1; this.cols = 0; this.buffer = bytesArr; this.startIndex = 0; } readCh() { return String.fromCharCode(this.buffer[this.startIndex++]); } readChAt(index) { return String.fromCharCode(...
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
false
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/fast-xml-parser/src/v5/inputSource/StringSource.js
aws/aiHintGeneration/node_modules/fast-xml-parser/src/v5/inputSource/StringSource.js
const whiteSpaces = [" ", "\n", "\t"]; class StringSource{ constructor(str){ this.line = 1; this.cols = 0; this.buffer = str; //a boundary pointer to indicate where from the buffer dat should be read // data before this pointer can be deleted to free the memory this.startIndex = 0; } re...
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
false
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/fast-xml-parser/src/v5/OutputBuilders/ParserOptionsBuilder.js
aws/aiHintGeneration/node_modules/fast-xml-parser/src/v5/OutputBuilders/ParserOptionsBuilder.js
const trimParser = require("../valueParsers/trim") const booleanParser = require("../valueParsers/booleanParser") const currencyParser = require("../valueParsers/currency") const numberParser = require("../valueParsers/number") const defaultOptions={ nameFor:{ text: "#text", comment: "", cdata: "", }, ...
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
false
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/fast-xml-parser/src/v5/OutputBuilders/JsMinArrBuilder.js
aws/aiHintGeneration/node_modules/fast-xml-parser/src/v5/OutputBuilders/JsMinArrBuilder.js
const {buildOptions,registerCommonValueParsers} = require("./ParserOptionsBuilder"); class OutputBuilder{ constructor(options){ this.options = buildOptions(options); this.registeredParsers = registerCommonValueParsers(this.options); } registerValueParser(name,parserInstance){//existing name wi...
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
false
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/fast-xml-parser/src/v5/OutputBuilders/JsArrBuilder.js
aws/aiHintGeneration/node_modules/fast-xml-parser/src/v5/OutputBuilders/JsArrBuilder.js
const {buildOptions,registerCommonValueParsers} = require("./ParserOptionsBuilder"); class OutputBuilder{ constructor(options){ this.options = buildOptions(options); this.registeredParsers = registerCommonValueParsers(this.options); } registerValueParser(name,parserInstance){//existing name wi...
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
false
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/fast-xml-parser/src/v5/OutputBuilders/BaseOutputBuilder.js
aws/aiHintGeneration/node_modules/fast-xml-parser/src/v5/OutputBuilders/BaseOutputBuilder.js
class BaseOutputBuilder{ constructor(){ // this.attributes = {}; } addAttribute(name, value){ if(this.options.onAttribute){ //TODO: better to pass tag path const v = this.options.onAttribute(name, value, this.tagName); if(v) this.attributes[v.name] = v.value; }else{ name = thi...
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
false
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/fast-xml-parser/src/v5/OutputBuilders/JsObjBuilder.js
aws/aiHintGeneration/node_modules/fast-xml-parser/src/v5/OutputBuilders/JsObjBuilder.js
const {buildOptions,registerCommonValueParsers} = require("./ParserOptionsBuilder"); class OutputBuilder{ constructor(builderOptions){ this.options = buildOptions(builderOptions); this.registeredParsers = registerCommonValueParsers(this.options); } registerValueParser(name,parserInstance){//existi...
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
false
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/fast-xml-parser/src/xmlbuilder/prettifyJs2Xml.js
aws/aiHintGeneration/node_modules/fast-xml-parser/src/xmlbuilder/prettifyJs2Xml.js
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
false
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/fast-xml-parser/src/xmlbuilder/orderedJs2Xml.js
aws/aiHintGeneration/node_modules/fast-xml-parser/src/xmlbuilder/orderedJs2Xml.js
const EOL = "\n"; /** * * @param {array} jArray * @param {any} options * @returns */ function toXml(jArray, options) { let indentation = ""; if (options.format && options.indentBy.length > 0) { indentation = EOL; } return arrToStr(jArray, options, "", indentation); } function arrToStr...
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
false
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/fast-xml-parser/src/xmlbuilder/json2xml.js
aws/aiHintGeneration/node_modules/fast-xml-parser/src/xmlbuilder/json2xml.js
'use strict'; //parse Empty Node as self closing node const buildFromOrderedJs = require('./orderedJs2Xml'); const defaultOptions = { attributeNamePrefix: '@_', attributesGroupName: false, textNodeName: '#text', ignoreAttributes: true, cdataPropName: false, format: false, indentBy: ' ', suppressEmptyN...
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
false
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/fast-xml-parser/src/cli/cli.js
aws/aiHintGeneration/node_modules/fast-xml-parser/src/cli/cli.js
#!/usr/bin/env node 'use strict'; /*eslint-disable no-console*/ const fs = require('fs'); const path = require('path'); const {XMLParser, XMLValidator} = require("../fxp"); const readToEnd = require('./read').readToEnd; const version = require('./../../package.json').version; if (process.argv[2] === '--help' || proces...
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
false
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/fast-xml-parser/src/cli/man.js
aws/aiHintGeneration/node_modules/fast-xml-parser/src/cli/man.js
module.exports = `Fast XML Parser 4.0.0 ---------------- $ fxparser [-ns|-a|-c|-v|-V] <filename> [-o outputfile.json] $ cat xmlfile.xml | fxparser [-ns|-a|-c|-v|-V] [-o outputfile.json] Options ---------------- -ns: remove namespace from tag and atrribute name. -a: don't parse attributes. -c: parse values to premitive...
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
false
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/fast-xml-parser/src/cli/read.js
aws/aiHintGeneration/node_modules/fast-xml-parser/src/cli/read.js
'use strict'; // Copyright 2013 Timothy J Fontaine <tjfontaine@gmail.com> // // 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 /...
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
false
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/node-schedule/index.js
aws/aiHintGeneration/node_modules/node-schedule/index.js
'use strict'; const { cancelJob, rescheduleJob, scheduledJobs, scheduleJob, gracefulShutdown} = require('./lib/schedule') const { Invocation, RecurrenceRule, Range} = require('./lib/Invocation') const { Job } = require('./lib/Job') module.exports = { Job, Invocation, Range, RecurrenceRule, cancelJob, resc...
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
false
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/node-schedule/lib/Invocation.js
aws/aiHintGeneration/node_modules/node-schedule/lib/Invocation.js
'use strict'; const lt = require('long-timeout') const CronDate = require('cron-parser/lib/date') const sorted = require('sorted-array-functions') const invocations = []; let currentInvocation = null; /* DoesntRecur rule */ const DoesntRecur = new RecurrenceRule(); DoesntRecur.recurs = false; /* Invocation object *...
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
false
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/node-schedule/lib/Job.js
aws/aiHintGeneration/node_modules/node-schedule/lib/Job.js
'use strict'; const events = require('events') const cronParser = require('cron-parser') const CronDate = require('cron-parser/lib/date') const sorted = require('sorted-array-functions') const { scheduleNextRecurrence, scheduleInvocation, cancelInvocation, RecurrenceRule, sorter, Invocation } = require('./Invocation'...
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
false
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/node-schedule/lib/schedule.js
aws/aiHintGeneration/node_modules/node-schedule/lib/schedule.js
'use strict'; /* node-schedule A cron-like and not-cron-like job scheduler for Node. */ const { Job, scheduledJobs } = require('./Job') /* API invoke() runOnDate(date) schedule(date || recurrenceRule || cronstring) cancel(reschedule = false) cancelNext(reschedule = true) Property constraints name...
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
false
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/node-schedule/lib/utils/dateUtils.js
aws/aiHintGeneration/node_modules/node-schedule/lib/utils/dateUtils.js
'use strict'; function isValidDate(date) { // Taken from http://stackoverflow.com/a/12372720/1562178 // If getTime() returns NaN it'll return false anyway return date.getTime() === date.getTime(); } module.exports = { isValidDate }
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
false
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/string_decoder/node_modules/safe-buffer/index.js
aws/aiHintGeneration/node_modules/string_decoder/node_modules/safe-buffer/index.js
/* eslint-disable node/no-deprecated-api */ var buffer = require('buffer') var Buffer = buffer.Buffer // alternative to using Object.keys for old browsers function copyProps (src, dst) { for (var key in src) { dst[key] = src[key] } } if (Buffer.from && Buffer.alloc && Buffer.allocUnsafe && Buffer.allocUnsafeSl...
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
false
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/string_decoder/lib/string_decoder.js
aws/aiHintGeneration/node_modules/string_decoder/lib/string_decoder.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/java-invoke-local/lib/cli.js
aws/aiHintGeneration/node_modules/java-invoke-local/lib/cli.js
#!/usr/bin/env node 'use strict'; const args = process.argv.slice(2) const { invokeJavaLocal } = require('./index') console.log(invokeJavaLocal(args))
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
false
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/java-invoke-local/lib/index.js
aws/aiHintGeneration/node_modules/java-invoke-local/lib/index.js
'use strict'; const {spawnSync} = require("child_process") const invokerJar = `${__dirname}/../build/libs/java-invoke-local-all.jar` const invokeJavaLocal = (args, env) => { const environment = {...process.env, ...env} const version = getJavaVersion() const vmArgs = [] if (!version.startsWith('1.8')) { vm...
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
false
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/luxon/src/interval.js
aws/aiHintGeneration/node_modules/luxon/src/interval.js
import DateTime, { friendlyDateTime } from "./datetime.js"; import Duration from "./duration.js"; import Settings from "./settings.js"; import { InvalidArgumentError, InvalidIntervalError } from "./errors.js"; import Invalid from "./impl/invalid.js"; import Formatter from "./impl/formatter.js"; import * as Formats from...
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
false
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/luxon/src/info.js
aws/aiHintGeneration/node_modules/luxon/src/info.js
import DateTime from "./datetime.js"; import Settings from "./settings.js"; import Locale from "./impl/locale.js"; import IANAZone from "./zones/IANAZone.js"; import { normalizeZone } from "./impl/zoneUtil.js"; import { hasLocaleWeekInfo, hasRelative } from "./impl/util.js"; /** * The Info class contains static meth...
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
false
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/luxon/src/datetime.js
aws/aiHintGeneration/node_modules/luxon/src/datetime.js
import Duration from "./duration.js"; import Interval from "./interval.js"; import Settings from "./settings.js"; import Info from "./info.js"; import Formatter from "./impl/formatter.js"; import FixedOffsetZone from "./zones/fixedOffsetZone.js"; import Locale from "./impl/locale.js"; import { isUndefined, maybeArr...
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
true
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/luxon/src/luxon.js
aws/aiHintGeneration/node_modules/luxon/src/luxon.js
import DateTime from "./datetime.js"; import Duration from "./duration.js"; import Interval from "./interval.js"; import Info from "./info.js"; import Zone from "./zone.js"; import FixedOffsetZone from "./zones/fixedOffsetZone.js"; import IANAZone from "./zones/IANAZone.js"; import InvalidZone from "./zones/invalidZone...
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
false
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/luxon/src/duration.js
aws/aiHintGeneration/node_modules/luxon/src/duration.js
import { InvalidArgumentError, InvalidDurationError, InvalidUnitError } from "./errors.js"; import Formatter from "./impl/formatter.js"; import Invalid from "./impl/invalid.js"; import Locale from "./impl/locale.js"; import { parseISODuration, parseISOTimeOnly } from "./impl/regexParser.js"; import { asNumber, hasO...
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
true
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/luxon/src/settings.js
aws/aiHintGeneration/node_modules/luxon/src/settings.js
import SystemZone from "./zones/systemZone.js"; import IANAZone from "./zones/IANAZone.js"; import Locale from "./impl/locale.js"; import DateTime from "./datetime.js"; import { normalizeZone } from "./impl/zoneUtil.js"; import { validateWeekSettings } from "./impl/util.js"; import { resetDigitRegexCache } from "./imp...
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
false
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/luxon/src/errors.js
aws/aiHintGeneration/node_modules/luxon/src/errors.js
// these aren't really private, but nor are they really useful to document /** * @private */ class LuxonError extends Error {} /** * @private */ export class InvalidDateTimeError extends LuxonError { constructor(reason) { super(`Invalid DateTime: ${reason.toMessage()}`); } } /** * @private */ export cl...
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
false
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/luxon/src/zone.js
aws/aiHintGeneration/node_modules/luxon/src/zone.js
import { ZoneIsAbstractError } from "./errors.js"; /** * @interface */ export default class Zone { /** * The type of zone * @abstract * @type {string} */ get type() { throw new ZoneIsAbstractError(); } /** * The name of this zone. * @abstract * @type {string} */ get name() { ...
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
false
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/luxon/src/impl/locale.js
aws/aiHintGeneration/node_modules/luxon/src/impl/locale.js
import { hasLocaleWeekInfo, hasRelative, padStart, roundTo, validateWeekSettings } from "./util.js"; import * as English from "./english.js"; import Settings from "../settings.js"; import DateTime from "../datetime.js"; import IANAZone from "../zones/IANAZone.js"; // todo - remap caching let intlLFCache = {}; functio...
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
false
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/luxon/src/impl/tokenParser.js
aws/aiHintGeneration/node_modules/luxon/src/impl/tokenParser.js
import { parseMillis, isUndefined, untruncateYear, signedOffset, hasOwnProperty } from "./util.js"; import Formatter from "./formatter.js"; import FixedOffsetZone from "../zones/fixedOffsetZone.js"; import IANAZone from "../zones/IANAZone.js"; import DateTime from "../datetime.js"; import { digitRegex, parseDigits } fr...
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
false
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/luxon/src/impl/zoneUtil.js
aws/aiHintGeneration/node_modules/luxon/src/impl/zoneUtil.js
/** * @private */ import Zone from "../zone.js"; import IANAZone from "../zones/IANAZone.js"; import FixedOffsetZone from "../zones/fixedOffsetZone.js"; import InvalidZone from "../zones/invalidZone.js"; import { isUndefined, isString, isNumber } from "./util.js"; import SystemZone from "../zones/systemZone.js"; e...
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
false
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/luxon/src/impl/english.js
aws/aiHintGeneration/node_modules/luxon/src/impl/english.js
import * as Formats from "./formats.js"; import { pick } from "./util.js"; function stringify(obj) { return JSON.stringify(obj, Object.keys(obj).sort()); } /** * @private */ export const monthsLong = [ "January", "February", "March", "April", "May", "June", "July", "August", "September", "Oct...
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
false
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/luxon/src/impl/digits.js
aws/aiHintGeneration/node_modules/luxon/src/impl/digits.js
const numberingSystems = { arab: "[\u0660-\u0669]", arabext: "[\u06F0-\u06F9]", bali: "[\u1B50-\u1B59]", beng: "[\u09E6-\u09EF]", deva: "[\u0966-\u096F]", fullwide: "[\uFF10-\uFF19]", gujr: "[\u0AE6-\u0AEF]", hanidec: "[〇|一|二|三|四|五|六|七|八|九]", khmr: "[\u17E0-\u17E9]", knda: "[\u0CE6-\u0CEF]", laoo:...
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
false
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/luxon/src/impl/invalid.js
aws/aiHintGeneration/node_modules/luxon/src/impl/invalid.js
export default class Invalid { constructor(reason, explanation) { this.reason = reason; this.explanation = explanation; } toMessage() { if (this.explanation) { return `${this.reason}: ${this.explanation}`; } else { return this.reason; } } }
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
false
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/luxon/src/impl/diff.js
aws/aiHintGeneration/node_modules/luxon/src/impl/diff.js
import Duration from "../duration.js"; function dayDiff(earlier, later) { const utcDayStart = (dt) => dt.toUTC(0, { keepLocalTime: true }).startOf("day").valueOf(), ms = utcDayStart(later) - utcDayStart(earlier); return Math.floor(Duration.fromMillis(ms).as("days")); } function highOrderDiffs(cursor, later, u...
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
false
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/luxon/src/impl/conversions.js
aws/aiHintGeneration/node_modules/luxon/src/impl/conversions.js
import { integerBetween, isLeapYear, timeObject, daysInYear, daysInMonth, weeksInWeekYear, isInteger, isUndefined, } from "./util.js"; import Invalid from "./invalid.js"; import { ConflictingSpecificationError } from "../errors.js"; const nonLeapLadder = [0, 31, 59, 90, 120, 151, 181, 212, 243, 273, 30...
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
false
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/luxon/src/impl/regexParser.js
aws/aiHintGeneration/node_modules/luxon/src/impl/regexParser.js
import { untruncateYear, signedOffset, parseInteger, parseMillis, isUndefined, parseFloating, } from "./util.js"; import * as English from "./english.js"; import FixedOffsetZone from "../zones/fixedOffsetZone.js"; import IANAZone from "../zones/IANAZone.js"; /* * This file handles parsing for well-specifi...
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
false
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/luxon/src/impl/formatter.js
aws/aiHintGeneration/node_modules/luxon/src/impl/formatter.js
import * as English from "./english.js"; import * as Formats from "./formats.js"; import { padStart } from "./util.js"; function stringifyTokens(splits, tokenToString) { let s = ""; for (const token of splits) { if (token.literal) { s += token.val; } else { s += tokenToString(token.val); } ...
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
false
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/luxon/src/impl/formats.js
aws/aiHintGeneration/node_modules/luxon/src/impl/formats.js
/** * @private */ const n = "numeric", s = "short", l = "long"; export const DATE_SHORT = { year: n, month: n, day: n, }; export const DATE_MED = { year: n, month: s, day: n, }; export const DATE_MED_WITH_WEEKDAY = { year: n, month: s, day: n, weekday: s, }; export const DATE_FULL = { y...
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
false
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/luxon/src/impl/util.js
aws/aiHintGeneration/node_modules/luxon/src/impl/util.js
/* This is just a junk drawer, containing anything used across multiple classes. Because Luxon is small(ish), this should stay small and we won't worry about splitting it up into, say, parsingUtil.js and basicUtil.js and so on. But they are divided up by feature area. */ import { InvalidArgumentError } from "../...
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
false
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/luxon/src/zones/invalidZone.js
aws/aiHintGeneration/node_modules/luxon/src/zones/invalidZone.js
import Zone from "../zone.js"; /** * A zone that failed to parse. You should never need to instantiate this. * @implements {Zone} */ export default class InvalidZone extends Zone { constructor(zoneName) { super(); /** @private */ this.zoneName = zoneName; } /** @override **/ get type() { r...
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
false
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/luxon/src/zones/systemZone.js
aws/aiHintGeneration/node_modules/luxon/src/zones/systemZone.js
import { formatOffset, parseZoneInfo } from "../impl/util.js"; import Zone from "../zone.js"; let singleton = null; /** * Represents the local zone for this JavaScript environment. * @implements {Zone} */ export default class SystemZone extends Zone { /** * Get a singleton instance of the local zone * @ret...
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
false
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/luxon/src/zones/IANAZone.js
aws/aiHintGeneration/node_modules/luxon/src/zones/IANAZone.js
import { formatOffset, parseZoneInfo, isUndefined, objToLocalTS } from "../impl/util.js"; import Zone from "../zone.js"; let dtfCache = {}; function makeDTF(zone) { if (!dtfCache[zone]) { dtfCache[zone] = new Intl.DateTimeFormat("en-US", { hour12: false, timeZone: zone, year: "numeric", m...
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
false
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/luxon/src/zones/fixedOffsetZone.js
aws/aiHintGeneration/node_modules/luxon/src/zones/fixedOffsetZone.js
import { formatOffset, signedOffset } from "../impl/util.js"; import Zone from "../zone.js"; let singleton = null; /** * A zone with a fixed offset (meaning no DST) * @implements {Zone} */ export default class FixedOffsetZone extends Zone { /** * Get a singleton instance of UTC * @return {FixedOffsetZone} ...
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
false
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/luxon/build/es6/luxon.js
aws/aiHintGeneration/node_modules/luxon/build/es6/luxon.js
// these aren't really private, but nor are they really useful to document /** * @private */ class LuxonError extends Error {} /** * @private */ class InvalidDateTimeError extends LuxonError { constructor(reason) { super(`Invalid DateTime: ${reason.toMessage()}`); } } /** * @private */ class InvalidInt...
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
true
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/luxon/build/amd/luxon.js
aws/aiHintGeneration/node_modules/luxon/build/amd/luxon.js
define(['exports'], (function (exports) { 'use strict'; function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descri...
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
true
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/luxon/build/global/luxon.min.js
aws/aiHintGeneration/node_modules/luxon/build/global/luxon.min.js
var luxon=function(e){"use strict";function L(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,function(e){e=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0===n)return("string"===...
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
true
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/luxon/build/global/luxon.js
aws/aiHintGeneration/node_modules/luxon/build/global/luxon.js
var luxon = (function (exports) { 'use strict'; function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.w...
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
true
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/luxon/build/node/luxon.js
aws/aiHintGeneration/node_modules/luxon/build/node/luxon.js
'use strict'; Object.defineProperty(exports, '__esModule', { value: true }); // these aren't really private, but nor are they really useful to document /** * @private */ class LuxonError extends Error {} /** * @private */ class InvalidDateTimeError extends LuxonError { constructor(reason) { super(`Invalid...
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
true
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/luxon/build/cjs-browser/luxon.js
aws/aiHintGeneration/node_modules/luxon/build/cjs-browser/luxon.js
'use strict'; Object.defineProperty(exports, '__esModule', { value: true }); function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descript...
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
true
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/tslib/tslib.js
aws/aiHintGeneration/node_modules/tslib/tslib.js
/****************************************************************************** Copyright (c) Microsoft Corporation. Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted. THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REG...
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
false
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/tslib/tslib.es6.js
aws/aiHintGeneration/node_modules/tslib/tslib.es6.js
/****************************************************************************** Copyright (c) Microsoft Corporation. Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted. THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REG...
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
false
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/tslib/modules/index.js
aws/aiHintGeneration/node_modules/tslib/modules/index.js
import tslib from '../tslib.js'; const { __extends, __assign, __rest, __decorate, __param, __esDecorate, __runInitializers, __propKey, __setFunctionName, __metadata, __awaiter, __generator, __exportStar, __createBinding, __values, __read, __spread, ...
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
false
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/base64-js/base64js.min.js
aws/aiHintGeneration/node_modules/base64-js/base64js.min.js
(function(a){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=a();else if("function"==typeof define&&define.amd)define([],a);else{var b;b="undefined"==typeof window?"undefined"==typeof global?"undefined"==typeof self?this:self:global:window,b.base64js=a()}})(function(){return function(){function b...
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
false
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/base64-js/index.js
aws/aiHintGeneration/node_modules/base64-js/index.js
'use strict' exports.byteLength = byteLength exports.toByteArray = toByteArray exports.fromByteArray = fromByteArray var lookup = [] var revLookup = [] var Arr = typeof Uint8Array !== 'undefined' ? Uint8Array : Array var code = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/' for (var i = 0, len = ...
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
false
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/js-yaml/index.js
aws/aiHintGeneration/node_modules/js-yaml/index.js
'use strict'; var yaml = require('./lib/js-yaml.js'); module.exports = yaml;
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
false
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/js-yaml/bin/js-yaml.js
aws/aiHintGeneration/node_modules/js-yaml/bin/js-yaml.js
#!/usr/bin/env node 'use strict'; /*eslint-disable no-console*/ // stdlib var fs = require('fs'); // 3rd-party var argparse = require('argparse'); // internal var yaml = require('..'); //////////////////////////////////////////////////////////////////////////////// var cli = new argparse.ArgumentParser(...
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
false
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/js-yaml/lib/js-yaml.js
aws/aiHintGeneration/node_modules/js-yaml/lib/js-yaml.js
'use strict'; var loader = require('./js-yaml/loader'); var dumper = require('./js-yaml/dumper'); function deprecated(name) { return function () { throw new Error('Function ' + name + ' is deprecated and cannot be used.'); }; } module.exports.Type = require('./js-yaml/type'); module.exports...
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
false
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/js-yaml/lib/js-yaml/type.js
aws/aiHintGeneration/node_modules/js-yaml/lib/js-yaml/type.js
'use strict'; var YAMLException = require('./exception'); var TYPE_CONSTRUCTOR_OPTIONS = [ 'kind', 'resolve', 'construct', 'instanceOf', 'predicate', 'represent', 'defaultStyle', 'styleAliases' ]; var YAML_NODE_KINDS = [ 'scalar', 'sequence', 'mapping' ]; function compileStyleAliases(map) { ...
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
false
CAHLR/OATutor
https://github.com/CAHLR/OATutor/blob/10a5baf153a505267af8045b05c217b4be6bd8b4/aws/aiHintGeneration/node_modules/js-yaml/lib/js-yaml/loader.js
aws/aiHintGeneration/node_modules/js-yaml/lib/js-yaml/loader.js
'use strict'; /*eslint-disable max-len,no-use-before-define*/ var common = require('./common'); var YAMLException = require('./exception'); var Mark = require('./mark'); var DEFAULT_SAFE_SCHEMA = require('./schema/default_safe'); var DEFAULT_FULL_SCHEMA = require('./schema/default_fu...
javascript
MIT
10a5baf153a505267af8045b05c217b4be6bd8b4
2026-01-05T03:39:09.711315Z
true