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 |
|---|---|---|---|---|---|---|---|---|
makesmatheasy/makesmatheasy | https://github.com/makesmatheasy/makesmatheasy/blob/eaae3ecee438c6e264cc2d1985775cb06465e6eb/appjs/index.js | appjs/index.js | var a0 = 0, a = 0, b = 0, c = 0, d = 0, e = 0, f = 0, g = 0, h = 0, i = 0, j = 0;
function removeall(elid) {
if (document.getElementById(elid).innerHTML != "") {
var r = document.getElementById(elid);
while (r.firstChild) {
r.removeChild(r.lastChild);
}
}
}
function changeI... | javascript | MIT | eaae3ecee438c6e264cc2d1985775cb06465e6eb | 2026-01-05T03:42:53.483733Z | false |
makesmatheasy/makesmatheasy | https://github.com/makesmatheasy/makesmatheasy/blob/eaae3ecee438c6e264cc2d1985775cb06465e6eb/appjs/simplecallogic.js | appjs/simplecallogic.js | function back(vlu) {
var newstr;
if (document.getElementById("txt").value == "Invalid Expression") {
newStr = "";
} else {
newStr = vlu.slice(0, -1);
}
document.getElementById("txt").value = newStr;
}
function replaceAll(string, search, replace) {
return string.split(search).join(replace);
}
//Inv... | javascript | MIT | eaae3ecee438c6e264cc2d1985775cb06465e6eb | 2026-01-05T03:42:53.483733Z | false |
makesmatheasy/makesmatheasy | https://github.com/makesmatheasy/makesmatheasy/blob/eaae3ecee438c6e264cc2d1985775cb06465e6eb/appjs/working.js | appjs/working.js | var toggle = false
function opencal() {
$('#cal').slideToggle(function () {
toggle = !toggle
});
if (!toggle) {
$('#cal')[0].scrollIntoView({ behavior: 'smooth', block: 'center' })
}
}
$("#clock").click(function () {
openit("#clocks");
closenav();
});
$("#specialbtn").click(fun... | javascript | MIT | eaae3ecee438c6e264cc2d1985775cb06465e6eb | 2026-01-05T03:42:53.483733Z | true |
makesmatheasy/makesmatheasy | https://github.com/makesmatheasy/makesmatheasy/blob/eaae3ecee438c6e264cc2d1985775cb06465e6eb/library/operations_on_fraction.js | library/operations_on_fraction.js | function display_fractions(){
document.getElementById('fractions').style.display = 'block';
}
function additon(){
var n1 = parseInt(document.getElementById('one_add').value);
var d1 = parseInt(document.getElementById('two_add').value);
var n2 = parseInt(document.getElementById('three_add').value)... | javascript | MIT | eaae3ecee438c6e264cc2d1985775cb06465e6eb | 2026-01-05T03:42:53.483733Z | false |
makesmatheasy/makesmatheasy | https://github.com/makesmatheasy/makesmatheasy/blob/eaae3ecee438c6e264cc2d1985775cb06465e6eb/library/matrixlogic.js | library/matrixlogic.js |
function sumofmatrix(matrix1, matrix2, row2, col2) {
var summ = [];
var sumexplanation = '';
for (var i = 0; i < row2; i++) {
summ[i] = [];
sumexplanation += "<div style='border-radius:50px;padding:20px;min-width:900px;' class='bi'>"
for (var j = 0; j < col2; j++) {
sume... | javascript | MIT | eaae3ecee438c6e264cc2d1985775cb06465e6eb | 2026-01-05T03:42:53.483733Z | true |
makesmatheasy/makesmatheasy | https://github.com/makesmatheasy/makesmatheasy/blob/eaae3ecee438c6e264cc2d1985775cb06465e6eb/library/logicjavascript.js | library/logicjavascript.js | function convertkatex(element, value) {
var x = nerdamer(value);
var value = x.toTeX();
katex.render(value, element, {
throwOnError: false,
});
}
function searchgoogle(value) {
if (value != "") {
value = encodeURIComponent(value);
window.open("https://www.google.com/search?q... | javascript | MIT | eaae3ecee438c6e264cc2d1985775cb06465e6eb | 2026-01-05T03:42:53.483733Z | true |
makesmatheasy/makesmatheasy | https://github.com/makesmatheasy/makesmatheasy/blob/eaae3ecee438c6e264cc2d1985775cb06465e6eb/library/complexlogic.js | library/complexlogic.js | function Complex(real, imaginary) {
this.real = 0;
this.imaginary = 0;
this.real = (typeof real === 'undefined') ? this.real : parseFloat(real);
this.imaginary = (typeof imaginary === 'undefined') ? this.imaginary : parseFloat(imaginary);
}
Complex.transform = function(num) {
var complex;
complex = (typeof ... | javascript | MIT | eaae3ecee438c6e264cc2d1985775cb06465e6eb | 2026-01-05T03:42:53.483733Z | true |
makesmatheasy/makesmatheasy | https://github.com/makesmatheasy/makesmatheasy/blob/eaae3ecee438c6e264cc2d1985775cb06465e6eb/library/conicSolve.js | library/conicSolve.js | function cal_func_parabola_y()
{
var number = document.getElementById('a-number').value;
// console.log(typeof(number))
if(number=="")
{
document.getElementById('result_cal_func_parabola_y').innerHTML = "";
}
else {
number = parseInt(number);
// console.log(typeof(number... | javascript | MIT | eaae3ecee438c6e264cc2d1985775cb06465e6eb | 2026-01-05T03:42:53.483733Z | false |
makesmatheasy/makesmatheasy | https://github.com/makesmatheasy/makesmatheasy/blob/eaae3ecee438c6e264cc2d1985775cb06465e6eb/library/logValue.js | library/logValue.js |
function display_log(){
document.getElementById('log_values').style.display = 'block';
}
function cal_log(){
var number1 = document.getElementById('x-number').value;
var base =document.getElementById('log-base').value;
var work = document.getElementById('work');
var result = document.get... | javascript | MIT | eaae3ecee438c6e264cc2d1985775cb06465e6eb | 2026-01-05T03:42:53.483733Z | false |
makesmatheasy/makesmatheasy | https://github.com/makesmatheasy/makesmatheasy/blob/eaae3ecee438c6e264cc2d1985775cb06465e6eb/katex/katex.min.js | katex/katex.min.js | !function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.katex=e():t.katex=e()}("undefined"!=typeof self?self:this,function(){return function(t){var e={};function r(a){if(e[a])return e[a].exports;var n=e[a]={i... | javascript | MIT | eaae3ecee438c6e264cc2d1985775cb06465e6eb | 2026-01-05T03:42:53.483733Z | true |
makesmatheasy/makesmatheasy | https://github.com/makesmatheasy/makesmatheasy/blob/eaae3ecee438c6e264cc2d1985775cb06465e6eb/katex/contrib/copy-tex.js | katex/contrib/copy-tex.js | (function webpackUniversalModuleDefinition(root, factory) {
if(typeof exports === 'object' && typeof module === 'object')
module.exports = factory();
else if(typeof define === 'function' && define.amd)
define([], factory);
else {
var a = factory();
for(var i in a) (typeof exports === 'object' ? exports : roo... | javascript | MIT | eaae3ecee438c6e264cc2d1985775cb06465e6eb | 2026-01-05T03:42:53.483733Z | false |
makesmatheasy/makesmatheasy | https://github.com/makesmatheasy/makesmatheasy/blob/eaae3ecee438c6e264cc2d1985775cb06465e6eb/katex/contrib/mathtex-script-type.min.js | katex/contrib/mathtex-script-type.min.js | !function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("katex"));else if("function"==typeof define&&define.amd)define(["katex"],t);else{var r="object"==typeof exports?t(require("katex")):t(e.katex);for(var n in r)("object"==typeof exports?exports:e)[n]=r[n]}}("undefined"!=typeof se... | javascript | MIT | eaae3ecee438c6e264cc2d1985775cb06465e6eb | 2026-01-05T03:42:53.483733Z | false |
makesmatheasy/makesmatheasy | https://github.com/makesmatheasy/makesmatheasy/blob/eaae3ecee438c6e264cc2d1985775cb06465e6eb/katex/contrib/auto-render.js | katex/contrib/auto-render.js | (function webpackUniversalModuleDefinition(root, factory) {
if(typeof exports === 'object' && typeof module === 'object')
module.exports = factory(require("katex"));
else if(typeof define === 'function' && define.amd)
define(["katex"], factory);
else if(typeof exports === 'object')
exports["renderMathInElement... | javascript | MIT | eaae3ecee438c6e264cc2d1985775cb06465e6eb | 2026-01-05T03:42:53.483733Z | false |
makesmatheasy/makesmatheasy | https://github.com/makesmatheasy/makesmatheasy/blob/eaae3ecee438c6e264cc2d1985775cb06465e6eb/katex/contrib/render-a11y-string.js | katex/contrib/render-a11y-string.js | (function webpackUniversalModuleDefinition(root, factory) {
if(typeof exports === 'object' && typeof module === 'object')
module.exports = factory(require("katex"));
else if(typeof define === 'function' && define.amd)
define(["katex"], factory);
else {
var a = typeof exports === 'object' ? factory(require("kat... | javascript | MIT | eaae3ecee438c6e264cc2d1985775cb06465e6eb | 2026-01-05T03:42:53.483733Z | false |
makesmatheasy/makesmatheasy | https://github.com/makesmatheasy/makesmatheasy/blob/eaae3ecee438c6e264cc2d1985775cb06465e6eb/katex/contrib/mhchem.js | katex/contrib/mhchem.js | (function webpackUniversalModuleDefinition(root, factory) {
if(typeof exports === 'object' && typeof module === 'object')
module.exports = factory(require("katex"));
else if(typeof define === 'function' && define.amd)
define(["katex"], factory);
else {
var a = typeof exports === 'object' ? factory(require("kat... | javascript | MIT | eaae3ecee438c6e264cc2d1985775cb06465e6eb | 2026-01-05T03:42:53.483733Z | true |
makesmatheasy/makesmatheasy | https://github.com/makesmatheasy/makesmatheasy/blob/eaae3ecee438c6e264cc2d1985775cb06465e6eb/katex/contrib/mhchem.min.js | katex/contrib/mhchem.min.js | !function(t,e){if("object"==typeof exports&&"object"==typeof module)module.exports=e(require("katex"));else if("function"==typeof define&&define.amd)define(["katex"],e);else{var n="object"==typeof exports?e(require("katex")):e(t.katex);for(var o in n)("object"==typeof exports?exports:t)[o]=n[o]}}("undefined"!=typeof se... | javascript | MIT | eaae3ecee438c6e264cc2d1985775cb06465e6eb | 2026-01-05T03:42:53.483733Z | true |
makesmatheasy/makesmatheasy | https://github.com/makesmatheasy/makesmatheasy/blob/eaae3ecee438c6e264cc2d1985775cb06465e6eb/katex/contrib/auto-render.min.js | katex/contrib/auto-render.min.js | !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("katex")):"function"==typeof define&&define.amd?define(["katex"],t):"object"==typeof exports?exports.renderMathInElement=t(require("katex")):e.renderMathInElement=t(e.katex)}("undefined"!=typeof self?self:this,function(e){return f... | javascript | MIT | eaae3ecee438c6e264cc2d1985775cb06465e6eb | 2026-01-05T03:42:53.483733Z | false |
makesmatheasy/makesmatheasy | https://github.com/makesmatheasy/makesmatheasy/blob/eaae3ecee438c6e264cc2d1985775cb06465e6eb/katex/contrib/copy-tex.min.js | katex/contrib/copy-tex.min.js | !function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var n=t();for(var r in n)("object"==typeof exports?exports:e)[r]=n[r]}}("undefined"!=typeof self?self:this,function(){return function(e){var t={};function n(r){if(t[r])r... | javascript | MIT | eaae3ecee438c6e264cc2d1985775cb06465e6eb | 2026-01-05T03:42:53.483733Z | false |
makesmatheasy/makesmatheasy | https://github.com/makesmatheasy/makesmatheasy/blob/eaae3ecee438c6e264cc2d1985775cb06465e6eb/katex/contrib/render-a11y-string.min.js | katex/contrib/render-a11y-string.min.js | !function(e,r){if("object"==typeof exports&&"object"==typeof module)module.exports=r(require("katex"));else if("function"==typeof define&&define.amd)define(["katex"],r);else{var t="object"==typeof exports?r(require("katex")):r(e.katex);for(var a in t)("object"==typeof exports?exports:e)[a]=t[a]}}("undefined"!=typeof se... | javascript | MIT | eaae3ecee438c6e264cc2d1985775cb06465e6eb | 2026-01-05T03:42:53.483733Z | false |
makesmatheasy/makesmatheasy | https://github.com/makesmatheasy/makesmatheasy/blob/eaae3ecee438c6e264cc2d1985775cb06465e6eb/katex/contrib/mathtex-script-type.js | katex/contrib/mathtex-script-type.js | (function webpackUniversalModuleDefinition(root, factory) {
if(typeof exports === 'object' && typeof module === 'object')
module.exports = factory(require("katex"));
else if(typeof define === 'function' && define.amd)
define(["katex"], factory);
else {
var a = typeof exports === 'object' ? factory(require("kat... | javascript | MIT | eaae3ecee438c6e264cc2d1985775cb06465e6eb | 2026-01-05T03:42:53.483733Z | false |
makesmatheasy/makesmatheasy | https://github.com/makesmatheasy/makesmatheasy/blob/eaae3ecee438c6e264cc2d1985775cb06465e6eb/js/jquery.min.js | js/jquery.min.js | /*! jQuery v3.4.1 | (c) JS Foundation and other contributors | jquery.org/license */
| javascript | MIT | eaae3ecee438c6e264cc2d1985775cb06465e6eb | 2026-01-05T03:42:53.483733Z | true |
makesmatheasy/makesmatheasy | https://github.com/makesmatheasy/makesmatheasy/blob/eaae3ecee438c6e264cc2d1985775cb06465e6eb/js/popper.min.js | js/popper.min.js | /*
Copyright (C) Federico Zivolo 2019
Distributed under the MIT License (license terms are at http://opensource.org/licenses/MIT).
*/(function(e,t){'object'==typeof exports&&'undefined'!=typeof module?module.exports=t():'function'==typeof define&&define.amd?define(t):e.Popper=t()})(this,function(){'use strict';funct... | javascript | MIT | eaae3ecee438c6e264cc2d1985775cb06465e6eb | 2026-01-05T03:42:53.483733Z | false |
makesmatheasy/makesmatheasy | https://github.com/makesmatheasy/makesmatheasy/blob/eaae3ecee438c6e264cc2d1985775cb06465e6eb/js/math.min.js | js/math.min.js | /**
* math.js
* https://github.com/josdejong/mathjs
*
* Math.js is an extensive math library for JavaScript and Node.js,
* It features real and complex numbers, units, matrices, a large set of
* mathematical functions, and a flexible expression parser.
*
* @version 7.6.0
* @date 2020-11-02
*
* @license
*... | javascript | MIT | eaae3ecee438c6e264cc2d1985775cb06465e6eb | 2026-01-05T03:42:53.483733Z | true |
makesmatheasy/makesmatheasy | https://github.com/makesmatheasy/makesmatheasy/blob/eaae3ecee438c6e264cc2d1985775cb06465e6eb/js/materialize.min.js | js/materialize.min.js | /*!
* Materialize v1.0.0 (http://materializecss.com)
* Copyright 2014-2017 Materialize
* MIT License (https://raw.githubusercontent.com/Dogfalo/materialize/master/LICENSE)
*/
var _get = function get(object, property, receiver) { if (object === null) object = Function.prototype; var desc = Object.getOwnPropertyDescr... | javascript | MIT | eaae3ecee438c6e264cc2d1985775cb06465e6eb | 2026-01-05T03:42:53.483733Z | true |
makesmatheasy/makesmatheasy | https://github.com/makesmatheasy/makesmatheasy/blob/eaae3ecee438c6e264cc2d1985775cb06465e6eb/js/bootstrap.min.js | js/bootstrap.min.js | /*!
* Bootstrap v4.3.1 (https://getbootstrap.com/)
* Copyright 2011-2019 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
*/
| javascript | MIT | eaae3ecee438c6e264cc2d1985775cb06465e6eb | 2026-01-05T03:42:53.483733Z | true |
makesmatheasy/makesmatheasy | https://github.com/makesmatheasy/makesmatheasy/blob/eaae3ecee438c6e264cc2d1985775cb06465e6eb/js/plotly-1.35.2.min.js | js/plotly-1.35.2.min.js | /**
* plotly.js v1.35.2
* Copyright 2012-2018, Plotly, Inc.
* All rights reserved.
* Licensed under the MIT license
*/
| javascript | MIT | eaae3ecee438c6e264cc2d1985775cb06465e6eb | 2026-01-05T03:42:53.483733Z | true |
makesmatheasy/makesmatheasy | https://github.com/makesmatheasy/makesmatheasy/blob/eaae3ecee438c6e264cc2d1985775cb06465e6eb/nerdamer/Extra.js | nerdamer/Extra.js | /*
* Author : Martin Donk
* Website : http://www.nerdamer.com
* Email : martin.r.donk@gmail.com
* License : MIT
* Source : https://github.com/jiggzson/nerdamer
*/
/* global module */
if ((typeof module) !== 'undefined') {
var nerdamer = require('./nerdamer.core.js');
require('./Calculus');
require('... | javascript | MIT | eaae3ecee438c6e264cc2d1985775cb06465e6eb | 2026-01-05T03:42:53.483733Z | false |
makesmatheasy/makesmatheasy | https://github.com/makesmatheasy/makesmatheasy/blob/eaae3ecee438c6e264cc2d1985775cb06465e6eb/nerdamer/Algebra.js | nerdamer/Algebra.js | /*
* Author : Martin Donk
* Website : http://www.nerdamer.com
* Email : martin.r.donk@gmail.com
* License : MIT
* Source : https://github.com/jiggzson/nerdamer
*/
/* global module */
if((typeof module) !== 'undefined') {
var nerdamer = require('./nerdamer.core.js');
require('./Calculus.js');
}
(function() {
... | javascript | MIT | eaae3ecee438c6e264cc2d1985775cb06465e6eb | 2026-01-05T03:42:53.483733Z | true |
makesmatheasy/makesmatheasy | https://github.com/makesmatheasy/makesmatheasy/blob/eaae3ecee438c6e264cc2d1985775cb06465e6eb/nerdamer/nerdamer.core.js | nerdamer/nerdamer.core.js | /*
* Author : Martin Donk
* Website : http://www.nerdamer.com
* Email : martin.r.donk@gmail.com
* Source : https://github.com/jiggzson/nerdamer
*/
/* global trig, trigh, Infinity, define, arguments2Array, NaN */
//externals ====================================================================
/* BigInterger.js v1.... | javascript | MIT | eaae3ecee438c6e264cc2d1985775cb06465e6eb | 2026-01-05T03:42:53.483733Z | true |
makesmatheasy/makesmatheasy | https://github.com/makesmatheasy/makesmatheasy/blob/eaae3ecee438c6e264cc2d1985775cb06465e6eb/nerdamer/Calculus.js | nerdamer/Calculus.js | /* global module */
/*
* Author : Martin Donk
* Website : http://www.nerdamer.com
* Email : martin.r.donk@gmail.com
* Source : https://github.com/jiggzson/nerdamer
*/
if((typeof module) !== 'undefined' && typeof nerdamer === 'undefined') {
var nerdamer = require('./nerdamer.core.js');
require('./Algebra.js');... | javascript | MIT | eaae3ecee438c6e264cc2d1985775cb06465e6eb | 2026-01-05T03:42:53.483733Z | true |
makesmatheasy/makesmatheasy | https://github.com/makesmatheasy/makesmatheasy/blob/eaae3ecee438c6e264cc2d1985775cb06465e6eb/nerdamer/Solve.js | nerdamer/Solve.js | /*
* Author : Martin Donk
* Website : http://www.nerdamer.com
* Email : martin.r.donk@gmail.com
* Source : https://github.com/jiggzson/nerdamer
*/
/* global module */
if ((typeof module) !== 'undefined') {
var nerdamer = require('./nerdamer.core.js');
require('./Calculus.js');
require('./Algebra.js');... | javascript | MIT | eaae3ecee438c6e264cc2d1985775cb06465e6eb | 2026-01-05T03:42:53.483733Z | true |
sergeyt/meteor-typeahead | https://github.com/sergeyt/meteor-typeahead/blob/6c2dedca93083822e14d01a4c0d042e1543d6b0e/index.js | index.js | var global = this || window;
function identity(x) { return x; }
// String.trim polyfill
if (!String.prototype.trim) {
String.prototype.trim = function () {
return this.replace(/^\s+|\s+$/g, '');
};
}
var typeaheadEvents = [
"active",
"idle",
"open",
"close",
"change",
"render",
"select",
"autocomplete",
... | javascript | MIT | 6c2dedca93083822e14d01a4c0d042e1543d6b0e | 2026-01-05T03:43:15.283287Z | false |
sergeyt/meteor-typeahead | https://github.com/sergeyt/meteor-typeahead/blob/6c2dedca93083822e14d01a4c0d042e1543d6b0e/package.js | package.js | Package.describe({
name: "sergeyt:typeahead",
summary: "Autocomplete package for meteor powered by twitter typeahead.js",
git: "https://github.com/sergeyt/meteor-typeahead.git",
version: "3.1.0"
});
Package.onUse(function(api) {
api.versionsFrom(['2.8.1', '3.0']);
api.use(['jquery@3.0.2', 'blaze@2.9.0||3.0.0'], ... | javascript | MIT | 6c2dedca93083822e14d01a4c0d042e1543d6b0e | 2026-01-05T03:43:15.283287Z | false |
sergeyt/meteor-typeahead | https://github.com/sergeyt/meteor-typeahead/blob/6c2dedca93083822e14d01a4c0d042e1543d6b0e/typeahead.bundle.js | typeahead.bundle.js | /*!
* typeahead.js 1.2.0
* https://github.com/twitter/typeahead.js
* Copyright 2013-2017 Twitter, Inc. and other contributors; Licensed MIT
*/
(function(root, factory) {
if (typeof define === "function" && define.amd) {
define([ "jquery" ], function(a0) {
return root["Bloodhound"] = factory... | javascript | MIT | 6c2dedca93083822e14d01a4c0d042e1543d6b0e | 2026-01-05T03:43:15.283287Z | true |
sergeyt/meteor-typeahead | https://github.com/sergeyt/meteor-typeahead/blob/6c2dedca93083822e14d01a4c0d042e1543d6b0e/demo/demo.js | demo/demo.js | Nba = new Meteor.Collection("nba");
Nhl = new Meteor.Collection("nhl");
Repos = new Meteor.Collection("repos");
BigCollection = new Meteor.Collection('bigcollection');
if (Meteor.isServer) {
Meteor.startup(function() {
function fill(col, source, map){
col.remove({});
JSON.parse(Assets.getText(source)).forEa... | javascript | MIT | 6c2dedca93083822e14d01a4c0d042e1543d6b0e | 2026-01-05T03:43:15.283287Z | false |
sergeyt/meteor-typeahead | https://github.com/sergeyt/meteor-typeahead/blob/6c2dedca93083822e14d01a4c0d042e1543d6b0e/demo/gist.js | demo/gist.js | if (Meteor.isServer){
Meteor.methods({
gist: function(user, id){
var base = "https://gist.github.com/";
if (user) base += user + "/";
return HTTP.get(base + id + ".js");
}
});
}
if (Meteor.isClient){
// reactive data source
Meteor.Gist = {
get: function(user, id){
function evalGist(js){
/*... | javascript | MIT | 6c2dedca93083822e14d01a4c0d042e1543d6b0e | 2026-01-05T03:43:15.283287Z | false |
kphillpotts/XDtoXF | https://github.com/kphillpotts/XDtoXF/blob/897269d123ec6dc4f56e8e3eb8cb47c06eaa47d9/src/main.js | src/main.js | /*
* Sample plugin scaffolding for Adobe XD.
*
* Visit http://adobexdplatform.com/ for API docs and more sample code.
*/
const { alert, error } = require("./lib/dialogs.js");
const shell = require("uxp").shell;
var {Rectangle, Color} = require("scenegraph");
function convertTo(format, color) {
if(format == 'he... | javascript | MIT | 897269d123ec6dc4f56e8e3eb8cb47c06eaa47d9 | 2026-01-05T03:43:05.157979Z | false |
kphillpotts/XDtoXF | https://github.com/kphillpotts/XDtoXF/blob/897269d123ec6dc4f56e8e3eb8cb47c06eaa47d9/src/lib/manifest.js | src/lib/manifest.js | /*
* Copyright 2018 Adobe Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to i... | javascript | MIT | 897269d123ec6dc4f56e8e3eb8cb47c06eaa47d9 | 2026-01-05T03:43:05.157979Z | false |
kphillpotts/XDtoXF | https://github.com/kphillpotts/XDtoXF/blob/897269d123ec6dc4f56e8e3eb8cb47c06eaa47d9/src/lib/index.js | src/lib/index.js | /*
* Copyright 2018 Adobe Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to i... | javascript | MIT | 897269d123ec6dc4f56e8e3eb8cb47c06eaa47d9 | 2026-01-05T03:43:05.157979Z | false |
kphillpotts/XDtoXF | https://github.com/kphillpotts/XDtoXF/blob/897269d123ec6dc4f56e8e3eb8cb47c06eaa47d9/src/lib/dialogs.js | src/lib/dialogs.js | /*
* Copyright 2018 Adobe Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to i... | javascript | MIT | 897269d123ec6dc4f56e8e3eb8cb47c06eaa47d9 | 2026-01-05T03:43:05.157979Z | false |
DanWahlin/AngularOverlay | https://github.com/DanWahlin/AngularOverlay/blob/8ebf9c47b26981455ecb13ec5242b954d8900438/server.js | server.js | //Simple HTTP/JSON server (yes - Express could be used but wanted only core stuff for this demo)
var server = function () {
var http = require('http'),
url = require('url'),
fs = require('fs'),
start = function (port) {
var server = http.createServer(function (req, res) {
var pathName... | javascript | MIT | 8ebf9c47b26981455ecb13ec5242b954d8900438 | 2026-01-05T03:43:17.553672Z | false |
DanWahlin/AngularOverlay | https://github.com/DanWahlin/AngularOverlay/blob/8ebf9c47b26981455ecb13ec5242b954d8900438/scripts/angular-route.js | scripts/angular-route.js | /**
* @license AngularJS v1.2.0rc1
* (c) 2010-2012 Google, Inc. http://angularjs.org
* License: MIT
*/
(function (window, angular, undefined) {
'use strict';
var copy = angular.copy,
equals = angular.equals,
extend = angular.extend,
forEach = angular.forEach,
isDefined = an... | javascript | MIT | 8ebf9c47b26981455ecb13ec5242b954d8900438 | 2026-01-05T03:43:17.553672Z | true |
DanWahlin/AngularOverlay | https://github.com/DanWahlin/AngularOverlay/blob/8ebf9c47b26981455ecb13ec5242b954d8900438/scripts/angular.js | scripts/angular.js | /**
* @license AngularJS v1.2.0-rc.2
* (c) 2010-2012 Google, Inc. http://angularjs.org
* License: MIT
*/
(function (window, document, undefined) {
'use strict';
/**
* @description
*
* This object provides a utility for producing rich Error messages within
* Angular. It can be called as ... | javascript | MIT | 8ebf9c47b26981455ecb13ec5242b954d8900438 | 2026-01-05T03:43:17.553672Z | true |
DanWahlin/AngularOverlay | https://github.com/DanWahlin/AngularOverlay/blob/8ebf9c47b26981455ecb13ec5242b954d8900438/app/app.js | app/app.js | (function () {
angular.module('customersApp', ['ngRoute', 'wc.Directives'])
.config(['$routeProvider','wcOverlayConfigProvider', function ($routeProvider, wcOverlayConfigProvider) {
$routeProvider
.when('/', {
templateUrl: '/app/views/customers.html',
... | javascript | MIT | 8ebf9c47b26981455ecb13ec5242b954d8900438 | 2026-01-05T03:43:17.553672Z | false |
DanWahlin/AngularOverlay | https://github.com/DanWahlin/AngularOverlay/blob/8ebf9c47b26981455ecb13ec5242b954d8900438/app/services/customersService.js | app/services/customersService.js | (function () {
var customersService = function ($http) {
var serviceBase = '/api/dataservice/',
customersFactory = {};
customersFactory.getExistingCustomers = function () {
return $http.get(serviceBase + 'existingcustomers');
};
customersFactory.getNewCust... | javascript | MIT | 8ebf9c47b26981455ecb13ec5242b954d8900438 | 2026-01-05T03:43:17.553672Z | false |
DanWahlin/AngularOverlay | https://github.com/DanWahlin/AngularOverlay/blob/8ebf9c47b26981455ecb13ec5242b954d8900438/app/controllers/customersController.js | app/controllers/customersController.js | (function () {
var customersController = function ($scope, customersService) {
$scope.existingCustomers = [];
$scope.newCustomers = [];
init();
$scope.refreshCustomers = function () {
init();
}
function init() {
getExistingCustomers();
... | javascript | MIT | 8ebf9c47b26981455ecb13ec5242b954d8900438 | 2026-01-05T03:43:17.553672Z | false |
DanWahlin/AngularOverlay | https://github.com/DanWahlin/AngularOverlay/blob/8ebf9c47b26981455ecb13ec5242b954d8900438/app/directives/wcAngularOverlay.js | app/directives/wcAngularOverlay.js | (function () {
var getOverlayContainer = function() {
return document.getElementById('overlay-container');
}
var wcOverlayDirective = function ($q, $timeout, httpInterceptor, wcOverlayConfig, overlayDisplayService) {
return {
restrict: 'EA',
transclude: true,
... | javascript | MIT | 8ebf9c47b26981455ecb13ec5242b954d8900438 | 2026-01-05T03:43:17.553672Z | false |
fagbokforlaget/pdftohtmljs | https://github.com/fagbokforlaget/pdftohtmljs/blob/88cfd865943617ba9f55942f7bd0a7f29138de08/index.js | index.js | module.exports = process.env.PDFTOHTML_COV
? require('./lib-cov/pdftohtml')
: require('./lib/pdftohtml');
| javascript | MIT | 88cfd865943617ba9f55942f7bd0a7f29138de08 | 2026-01-05T03:43:18.364766Z | false |
fagbokforlaget/pdftohtmljs | https://github.com/fagbokforlaget/pdftohtmljs/blob/88cfd865943617ba9f55942f7bd0a7f29138de08/test/convert.test.js | test/convert.test.js | var assert = require('assert'),
fs = require('fs'),
pdftohtml = require('../index.js');
describe('pdftohtmljs', function(){
describe('add_options', function(){
it('should add options', function(){
var transcoder = new pdftohtml(__dirname + '/pdfs/invalidfile.pdf');
transcoder.add_options(['-... | javascript | MIT | 88cfd865943617ba9f55942f7bd0a7f29138de08 | 2026-01-05T03:43:18.364766Z | false |
fagbokforlaget/pdftohtmljs | https://github.com/fagbokforlaget/pdftohtmljs/blob/88cfd865943617ba9f55942f7bd0a7f29138de08/test/presets/custom.js | test/presets/custom.js | exports.load = function(pdf2htmlex) {
pdf2htmlex.add_options([
'--zoom 1.33',
'--font-format woff'
]);
return pdf2htmlex
}
| javascript | MIT | 88cfd865943617ba9f55942f7bd0a7f29138de08 | 2026-01-05T03:43:18.364766Z | false |
fagbokforlaget/pdftohtmljs | https://github.com/fagbokforlaget/pdftohtmljs/blob/88cfd865943617ba9f55942f7bd0a7f29138de08/lib/pdftohtml.js | lib/pdftohtml.js | const { spawn } = require('child_process');
function pdftohtml (filename, outfile, options) {
this.options = options || {};
this.options.additional = [filename];
if (typeof outfile !== "undefined" && outfile !== null) {
this.options.additional.push(outfile);
}
pdftohtml.prototype._preset = (preset) => ... | javascript | MIT | 88cfd865943617ba9f55942f7bd0a7f29138de08 | 2026-01-05T03:43:18.364766Z | false |
fagbokforlaget/pdftohtmljs | https://github.com/fagbokforlaget/pdftohtmljs/blob/88cfd865943617ba9f55942f7bd0a7f29138de08/lib/presets/ipad.js | lib/presets/ipad.js | exports.load = function(pdf2htmlex) {
pdf2htmlex.add_options([
'--fit-width 968',
'--font-format woff'
]);
return pdf2htmlex
}
| javascript | MIT | 88cfd865943617ba9f55942f7bd0a7f29138de08 | 2026-01-05T03:43:18.364766Z | false |
fagbokforlaget/pdftohtmljs | https://github.com/fagbokforlaget/pdftohtmljs/blob/88cfd865943617ba9f55942f7bd0a7f29138de08/lib/presets/default.js | lib/presets/default.js | exports.load = function(pdf2htmlex) {
pdf2htmlex.add_options([
'--zoom 1.33',
'--font-format woff'
]);
return pdf2htmlex
}
| javascript | MIT | 88cfd865943617ba9f55942f7bd0a7f29138de08 | 2026-01-05T03:43:18.364766Z | false |
EcomGraduates/loom-downloader | https://github.com/EcomGraduates/loom-downloader/blob/439c0dfc248241e0e4c1e48e3811bdd502805675/loom-dl.js | loom-dl.js | #!/usr/bin/env node
import axios from 'axios';
import cliProgress from 'cli-progress';
import fs, { promises as fsPromises } from 'fs';
import https from 'https';
import path, { dirname } from 'path';
import { fileURLToPath } from 'url';
import yargs from 'yargs';
import { hideBin } from 'yargs/helpers';
const __filen... | javascript | MIT | 439c0dfc248241e0e4c1e48e3811bdd502805675 | 2026-01-05T03:42:38.755656Z | false |
GabrielBB/xvfb-action | https://github.com/GabrielBB/xvfb-action/blob/5bcda06da84ba084708898801da79736b88e00a9/index.js | index.js | /**
* Author: Gabriel Basilio
*/
const core = require("@actions/core");
const exec = require("@actions/exec");
async function main() {
try {
if (process.platform == "linux") {
await exec.exec("sudo apt-get update");
await exec.exec("sudo apt-get install -y xvfb x11-xserver-utils");
}
const... | javascript | MIT | 5bcda06da84ba084708898801da79736b88e00a9 | 2026-01-05T03:43:18.407050Z | false |
GabrielBB/xvfb-action | https://github.com/GabrielBB/xvfb-action/blob/5bcda06da84ba084708898801da79736b88e00a9/node_modules/tunnel/index.js | node_modules/tunnel/index.js | module.exports = require('./lib/tunnel');
| javascript | MIT | 5bcda06da84ba084708898801da79736b88e00a9 | 2026-01-05T03:43:18.407050Z | false |
GabrielBB/xvfb-action | https://github.com/GabrielBB/xvfb-action/blob/5bcda06da84ba084708898801da79736b88e00a9/node_modules/tunnel/lib/tunnel.js | node_modules/tunnel/lib/tunnel.js | 'use strict';
var net = require('net');
var tls = require('tls');
var http = require('http');
var https = require('https');
var events = require('events');
var assert = require('assert');
var util = require('util');
exports.httpOverHttp = httpOverHttp;
exports.httpsOverHttp = httpsOverHttp;
exports.httpOverHttps = h... | javascript | MIT | 5bcda06da84ba084708898801da79736b88e00a9 | 2026-01-05T03:43:18.407050Z | false |
GabrielBB/xvfb-action | https://github.com/GabrielBB/xvfb-action/blob/5bcda06da84ba084708898801da79736b88e00a9/node_modules/undici/index.js | node_modules/undici/index.js | 'use strict'
const Client = require('./lib/client')
const Dispatcher = require('./lib/dispatcher')
const errors = require('./lib/core/errors')
const Pool = require('./lib/pool')
const BalancedPool = require('./lib/balanced-pool')
const Agent = require('./lib/agent')
const util = require('./lib/core/util')
const { Inva... | javascript | MIT | 5bcda06da84ba084708898801da79736b88e00a9 | 2026-01-05T03:43:18.407050Z | false |
GabrielBB/xvfb-action | https://github.com/GabrielBB/xvfb-action/blob/5bcda06da84ba084708898801da79736b88e00a9/node_modules/undici/index-fetch.js | node_modules/undici/index-fetch.js | 'use strict'
const fetchImpl = require('./lib/fetch').fetch
module.exports.fetch = function fetch (resource, init = undefined) {
return fetchImpl(resource, init).catch((err) => {
Error.captureStackTrace(err, this)
throw err
})
}
module.exports.FormData = require('./lib/fetch/formdata').FormData
module.exp... | javascript | MIT | 5bcda06da84ba084708898801da79736b88e00a9 | 2026-01-05T03:43:18.407050Z | false |
GabrielBB/xvfb-action | https://github.com/GabrielBB/xvfb-action/blob/5bcda06da84ba084708898801da79736b88e00a9/node_modules/undici/lib/dispatcher.js | node_modules/undici/lib/dispatcher.js | 'use strict'
const EventEmitter = require('events')
class Dispatcher extends EventEmitter {
dispatch () {
throw new Error('not implemented')
}
close () {
throw new Error('not implemented')
}
destroy () {
throw new Error('not implemented')
}
}
module.exports = Dispatcher
| javascript | MIT | 5bcda06da84ba084708898801da79736b88e00a9 | 2026-01-05T03:43:18.407050Z | false |
GabrielBB/xvfb-action | https://github.com/GabrielBB/xvfb-action/blob/5bcda06da84ba084708898801da79736b88e00a9/node_modules/undici/lib/global.js | node_modules/undici/lib/global.js | 'use strict'
// We include a version number for the Dispatcher API. In case of breaking changes,
// this version number must be increased to avoid conflicts.
const globalDispatcher = Symbol.for('undici.globalDispatcher.1')
const { InvalidArgumentError } = require('./core/errors')
const Agent = require('./agent')
if (... | javascript | MIT | 5bcda06da84ba084708898801da79736b88e00a9 | 2026-01-05T03:43:18.407050Z | false |
GabrielBB/xvfb-action | https://github.com/GabrielBB/xvfb-action/blob/5bcda06da84ba084708898801da79736b88e00a9/node_modules/undici/lib/pool.js | node_modules/undici/lib/pool.js | 'use strict'
const {
PoolBase,
kClients,
kNeedDrain,
kAddClient,
kGetDispatcher
} = require('./pool-base')
const Client = require('./client')
const {
InvalidArgumentError
} = require('./core/errors')
const util = require('./core/util')
const { kUrl, kInterceptors } = require('./core/symbols')
const buildCo... | javascript | MIT | 5bcda06da84ba084708898801da79736b88e00a9 | 2026-01-05T03:43:18.407050Z | false |
GabrielBB/xvfb-action | https://github.com/GabrielBB/xvfb-action/blob/5bcda06da84ba084708898801da79736b88e00a9/node_modules/undici/lib/agent.js | node_modules/undici/lib/agent.js | 'use strict'
const { InvalidArgumentError } = require('./core/errors')
const { kClients, kRunning, kClose, kDestroy, kDispatch, kInterceptors } = require('./core/symbols')
const DispatcherBase = require('./dispatcher-base')
const Pool = require('./pool')
const Client = require('./client')
const util = require('./core/... | javascript | MIT | 5bcda06da84ba084708898801da79736b88e00a9 | 2026-01-05T03:43:18.407050Z | false |
GabrielBB/xvfb-action | https://github.com/GabrielBB/xvfb-action/blob/5bcda06da84ba084708898801da79736b88e00a9/node_modules/undici/lib/pool-stats.js | node_modules/undici/lib/pool-stats.js | const { kFree, kConnected, kPending, kQueued, kRunning, kSize } = require('./core/symbols')
const kPool = Symbol('pool')
class PoolStats {
constructor (pool) {
this[kPool] = pool
}
get connected () {
return this[kPool][kConnected]
}
get free () {
return this[kPool][kFree]
}
get pending () ... | javascript | MIT | 5bcda06da84ba084708898801da79736b88e00a9 | 2026-01-05T03:43:18.407050Z | false |
GabrielBB/xvfb-action | https://github.com/GabrielBB/xvfb-action/blob/5bcda06da84ba084708898801da79736b88e00a9/node_modules/undici/lib/pool-base.js | node_modules/undici/lib/pool-base.js | 'use strict'
const DispatcherBase = require('./dispatcher-base')
const FixedQueue = require('./node/fixed-queue')
const { kConnected, kSize, kRunning, kPending, kQueued, kBusy, kFree, kUrl, kClose, kDestroy, kDispatch } = require('./core/symbols')
const PoolStats = require('./pool-stats')
const kClients = Symbol('cli... | javascript | MIT | 5bcda06da84ba084708898801da79736b88e00a9 | 2026-01-05T03:43:18.407050Z | false |
GabrielBB/xvfb-action | https://github.com/GabrielBB/xvfb-action/blob/5bcda06da84ba084708898801da79736b88e00a9/node_modules/undici/lib/balanced-pool.js | node_modules/undici/lib/balanced-pool.js | 'use strict'
const {
BalancedPoolMissingUpstreamError,
InvalidArgumentError
} = require('./core/errors')
const {
PoolBase,
kClients,
kNeedDrain,
kAddClient,
kRemoveClient,
kGetDispatcher
} = require('./pool-base')
const Pool = require('./pool')
const { kUrl, kInterceptors } = require('./core/symbols')
... | javascript | MIT | 5bcda06da84ba084708898801da79736b88e00a9 | 2026-01-05T03:43:18.407050Z | false |
GabrielBB/xvfb-action | https://github.com/GabrielBB/xvfb-action/blob/5bcda06da84ba084708898801da79736b88e00a9/node_modules/undici/lib/proxy-agent.js | node_modules/undici/lib/proxy-agent.js | 'use strict'
const { kProxy, kClose, kDestroy, kInterceptors } = require('./core/symbols')
const { URL } = require('url')
const Agent = require('./agent')
const Pool = require('./pool')
const DispatcherBase = require('./dispatcher-base')
const { InvalidArgumentError, RequestAbortedError } = require('./core/errors')
co... | javascript | MIT | 5bcda06da84ba084708898801da79736b88e00a9 | 2026-01-05T03:43:18.407050Z | false |
GabrielBB/xvfb-action | https://github.com/GabrielBB/xvfb-action/blob/5bcda06da84ba084708898801da79736b88e00a9/node_modules/undici/lib/dispatcher-base.js | node_modules/undici/lib/dispatcher-base.js | 'use strict'
const Dispatcher = require('./dispatcher')
const {
ClientDestroyedError,
ClientClosedError,
InvalidArgumentError
} = require('./core/errors')
const { kDestroy, kClose, kDispatch, kInterceptors } = require('./core/symbols')
const kDestroyed = Symbol('destroyed')
const kClosed = Symbol('closed')
cons... | javascript | MIT | 5bcda06da84ba084708898801da79736b88e00a9 | 2026-01-05T03:43:18.407050Z | false |
GabrielBB/xvfb-action | https://github.com/GabrielBB/xvfb-action/blob/5bcda06da84ba084708898801da79736b88e00a9/node_modules/undici/lib/client.js | node_modules/undici/lib/client.js | // @ts-check
'use strict'
/* global WebAssembly */
const assert = require('assert')
const net = require('net')
const http = require('http')
const { pipeline } = require('stream')
const util = require('./core/util')
const timers = require('./timers')
const Request = require('./core/request')
const DispatcherBase = re... | javascript | MIT | 5bcda06da84ba084708898801da79736b88e00a9 | 2026-01-05T03:43:18.407050Z | true |
GabrielBB/xvfb-action | https://github.com/GabrielBB/xvfb-action/blob/5bcda06da84ba084708898801da79736b88e00a9/node_modules/undici/lib/timers.js | node_modules/undici/lib/timers.js | 'use strict'
let fastNow = Date.now()
let fastNowTimeout
const fastTimers = []
function onTimeout () {
fastNow = Date.now()
let len = fastTimers.length
let idx = 0
while (idx < len) {
const timer = fastTimers[idx]
if (timer.state === 0) {
timer.state = fastNow + timer.delay
} else if (tim... | javascript | MIT | 5bcda06da84ba084708898801da79736b88e00a9 | 2026-01-05T03:43:18.407050Z | false |
GabrielBB/xvfb-action | https://github.com/GabrielBB/xvfb-action/blob/5bcda06da84ba084708898801da79736b88e00a9/node_modules/undici/lib/compat/dispatcher-weakref.js | node_modules/undici/lib/compat/dispatcher-weakref.js | 'use strict'
/* istanbul ignore file: only for Node 12 */
const { kConnected, kSize } = require('../core/symbols')
class CompatWeakRef {
constructor (value) {
this.value = value
}
deref () {
return this.value[kConnected] === 0 && this.value[kSize] === 0
? undefined
: this.value
}
}
clas... | javascript | MIT | 5bcda06da84ba084708898801da79736b88e00a9 | 2026-01-05T03:43:18.407050Z | false |
GabrielBB/xvfb-action | https://github.com/GabrielBB/xvfb-action/blob/5bcda06da84ba084708898801da79736b88e00a9/node_modules/undici/lib/cache/symbols.js | node_modules/undici/lib/cache/symbols.js | 'use strict'
module.exports = {
kConstruct: require('../core/symbols').kConstruct
}
| javascript | MIT | 5bcda06da84ba084708898801da79736b88e00a9 | 2026-01-05T03:43:18.407050Z | false |
GabrielBB/xvfb-action | https://github.com/GabrielBB/xvfb-action/blob/5bcda06da84ba084708898801da79736b88e00a9/node_modules/undici/lib/cache/cache.js | node_modules/undici/lib/cache/cache.js | 'use strict'
const { kConstruct } = require('./symbols')
const { urlEquals, fieldValues: getFieldValues } = require('./util')
const { kEnumerableProperty, isDisturbed } = require('../core/util')
const { kHeadersList } = require('../core/symbols')
const { webidl } = require('../fetch/webidl')
const { Response, cloneRes... | javascript | MIT | 5bcda06da84ba084708898801da79736b88e00a9 | 2026-01-05T03:43:18.407050Z | false |
GabrielBB/xvfb-action | https://github.com/GabrielBB/xvfb-action/blob/5bcda06da84ba084708898801da79736b88e00a9/node_modules/undici/lib/cache/util.js | node_modules/undici/lib/cache/util.js | 'use strict'
const assert = require('assert')
const { URLSerializer } = require('../fetch/dataURL')
const { isValidHeaderName } = require('../fetch/util')
/**
* @see https://url.spec.whatwg.org/#concept-url-equals
* @param {URL} A
* @param {URL} B
* @param {boolean | undefined} excludeFragment
* @returns {boolea... | javascript | MIT | 5bcda06da84ba084708898801da79736b88e00a9 | 2026-01-05T03:43:18.407050Z | false |
GabrielBB/xvfb-action | https://github.com/GabrielBB/xvfb-action/blob/5bcda06da84ba084708898801da79736b88e00a9/node_modules/undici/lib/cache/cachestorage.js | node_modules/undici/lib/cache/cachestorage.js | 'use strict'
const { kConstruct } = require('./symbols')
const { Cache } = require('./cache')
const { webidl } = require('../fetch/webidl')
const { kEnumerableProperty } = require('../core/util')
class CacheStorage {
/**
* @see https://w3c.github.io/ServiceWorker/#dfn-relevant-name-to-cache-map
* @type {Map<s... | javascript | MIT | 5bcda06da84ba084708898801da79736b88e00a9 | 2026-01-05T03:43:18.407050Z | false |
GabrielBB/xvfb-action | https://github.com/GabrielBB/xvfb-action/blob/5bcda06da84ba084708898801da79736b88e00a9/node_modules/undici/lib/cookies/index.js | node_modules/undici/lib/cookies/index.js | 'use strict'
const { parseSetCookie } = require('./parse')
const { stringify, getHeadersList } = require('./util')
const { webidl } = require('../fetch/webidl')
const { Headers } = require('../fetch/headers')
/**
* @typedef {Object} Cookie
* @property {string} name
* @property {string} value
* @property {Date|num... | javascript | MIT | 5bcda06da84ba084708898801da79736b88e00a9 | 2026-01-05T03:43:18.407050Z | false |
GabrielBB/xvfb-action | https://github.com/GabrielBB/xvfb-action/blob/5bcda06da84ba084708898801da79736b88e00a9/node_modules/undici/lib/cookies/parse.js | node_modules/undici/lib/cookies/parse.js | 'use strict'
const { maxNameValuePairSize, maxAttributeValueSize } = require('./constants')
const { isCTLExcludingHtab } = require('./util')
const { collectASequenceOfCodePointsFast } = require('../fetch/dataURL')
const assert = require('assert')
/**
* @description Parses the field-value attributes of a set-cookie h... | javascript | MIT | 5bcda06da84ba084708898801da79736b88e00a9 | 2026-01-05T03:43:18.407050Z | false |
GabrielBB/xvfb-action | https://github.com/GabrielBB/xvfb-action/blob/5bcda06da84ba084708898801da79736b88e00a9/node_modules/undici/lib/cookies/constants.js | node_modules/undici/lib/cookies/constants.js | 'use strict'
// https://wicg.github.io/cookie-store/#cookie-maximum-attribute-value-size
const maxAttributeValueSize = 1024
// https://wicg.github.io/cookie-store/#cookie-maximum-name-value-pair-size
const maxNameValuePairSize = 4096
module.exports = {
maxAttributeValueSize,
maxNameValuePairSize
}
| javascript | MIT | 5bcda06da84ba084708898801da79736b88e00a9 | 2026-01-05T03:43:18.407050Z | false |
GabrielBB/xvfb-action | https://github.com/GabrielBB/xvfb-action/blob/5bcda06da84ba084708898801da79736b88e00a9/node_modules/undici/lib/cookies/util.js | node_modules/undici/lib/cookies/util.js | 'use strict'
const assert = require('assert')
const { kHeadersList } = require('../core/symbols')
function isCTLExcludingHtab (value) {
if (value.length === 0) {
return false
}
for (const char of value) {
const code = char.charCodeAt(0)
if (
(code >= 0x00 || code <= 0x08) ||
(code >= 0... | javascript | MIT | 5bcda06da84ba084708898801da79736b88e00a9 | 2026-01-05T03:43:18.407050Z | false |
GabrielBB/xvfb-action | https://github.com/GabrielBB/xvfb-action/blob/5bcda06da84ba084708898801da79736b88e00a9/node_modules/undici/lib/node/fixed-queue.js | node_modules/undici/lib/node/fixed-queue.js | /* eslint-disable */
'use strict'
// Extracted from node/lib/internal/fixed_queue.js
// Currently optimal queue size, tested on V8 6.0 - 6.6. Must be power of two.
const kSize = 2048;
const kMask = kSize - 1;
// The FixedQueue is implemented as a singly-linked list of fixed-size
// circular buffers. It looks someth... | javascript | MIT | 5bcda06da84ba084708898801da79736b88e00a9 | 2026-01-05T03:43:18.407050Z | false |
GabrielBB/xvfb-action | https://github.com/GabrielBB/xvfb-action/blob/5bcda06da84ba084708898801da79736b88e00a9/node_modules/undici/lib/llhttp/llhttp_simd-wasm.js | node_modules/undici/lib/llhttp/llhttp_simd-wasm.js | module.exports = 'AGFzbQEAAAABMAhgAX8Bf2ADf39/AX9gBH9/f38Bf2AAAGADf39/AGABfwBgAn9/AGAGf39/f39/AALLAQgDZW52GHdhc21fb25faGVhZGVyc19jb21wbGV0ZQACA2VudhV3YXNtX29uX21lc3NhZ2VfYmVnaW4AAANlbnYLd2FzbV9vbl91cmwAAQNlbnYOd2FzbV9vbl9zdGF0dXMAAQNlbnYUd2FzbV9vbl9oZWFkZXJfZmllbGQAAQNlbnYUd2FzbV9vbl9oZWFkZXJfdmFsdWUAAQNlbnYMd2FzbV9vbl... | javascript | MIT | 5bcda06da84ba084708898801da79736b88e00a9 | 2026-01-05T03:43:18.407050Z | true |
GabrielBB/xvfb-action | https://github.com/GabrielBB/xvfb-action/blob/5bcda06da84ba084708898801da79736b88e00a9/node_modules/undici/lib/llhttp/llhttp-wasm.js | node_modules/undici/lib/llhttp/llhttp-wasm.js | module.exports = 'AGFzbQEAAAABMAhgAX8Bf2ADf39/AX9gBH9/f38Bf2AAAGADf39/AGABfwBgAn9/AGAGf39/f39/AALLAQgDZW52GHdhc21fb25faGVhZGVyc19jb21wbGV0ZQACA2VudhV3YXNtX29uX21lc3NhZ2VfYmVnaW4AAANlbnYLd2FzbV9vbl91cmwAAQNlbnYOd2FzbV9vbl9zdGF0dXMAAQNlbnYUd2FzbV9vbl9oZWFkZXJfZmllbGQAAQNlbnYUd2FzbV9vbl9oZWFkZXJfdmFsdWUAAQNlbnYMd2FzbV9vbl... | javascript | MIT | 5bcda06da84ba084708898801da79736b88e00a9 | 2026-01-05T03:43:18.407050Z | true |
GabrielBB/xvfb-action | https://github.com/GabrielBB/xvfb-action/blob/5bcda06da84ba084708898801da79736b88e00a9/node_modules/undici/lib/llhttp/constants.js | node_modules/undici/lib/llhttp/constants.js | "use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.SPECIAL_HEADERS = exports.HEADER_STATE = exports.MINOR = exports.MAJOR = exports.CONNECTION_TOKEN_CHARS = exports.HEADER_CHARS = exports.TOKEN = exports.STRICT_TOKEN = exports.HEX = exports.URL_CHAR = exports.STRICT_URL_CHAR = exports.... | javascript | MIT | 5bcda06da84ba084708898801da79736b88e00a9 | 2026-01-05T03:43:18.407050Z | false |
GabrielBB/xvfb-action | https://github.com/GabrielBB/xvfb-action/blob/5bcda06da84ba084708898801da79736b88e00a9/node_modules/undici/lib/llhttp/utils.js | node_modules/undici/lib/llhttp/utils.js | "use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.enumToMap = void 0;
function enumToMap(obj) {
const res = {};
Object.keys(obj).forEach((key) => {
const value = obj[key];
if (typeof value === 'number') {
res[key] = value;
}
});
retu... | javascript | MIT | 5bcda06da84ba084708898801da79736b88e00a9 | 2026-01-05T03:43:18.407050Z | false |
GabrielBB/xvfb-action | https://github.com/GabrielBB/xvfb-action/blob/5bcda06da84ba084708898801da79736b88e00a9/node_modules/undici/lib/mock/mock-client.js | node_modules/undici/lib/mock/mock-client.js | 'use strict'
const { promisify } = require('util')
const Client = require('../client')
const { buildMockDispatch } = require('./mock-utils')
const {
kDispatches,
kMockAgent,
kClose,
kOriginalClose,
kOrigin,
kOriginalDispatch,
kConnected
} = require('./mock-symbols')
const { MockInterceptor } = require('.... | javascript | MIT | 5bcda06da84ba084708898801da79736b88e00a9 | 2026-01-05T03:43:18.407050Z | false |
GabrielBB/xvfb-action | https://github.com/GabrielBB/xvfb-action/blob/5bcda06da84ba084708898801da79736b88e00a9/node_modules/undici/lib/mock/mock-pool.js | node_modules/undici/lib/mock/mock-pool.js | 'use strict'
const { promisify } = require('util')
const Pool = require('../pool')
const { buildMockDispatch } = require('./mock-utils')
const {
kDispatches,
kMockAgent,
kClose,
kOriginalClose,
kOrigin,
kOriginalDispatch,
kConnected
} = require('./mock-symbols')
const { MockInterceptor } = require('./moc... | javascript | MIT | 5bcda06da84ba084708898801da79736b88e00a9 | 2026-01-05T03:43:18.407050Z | false |
GabrielBB/xvfb-action | https://github.com/GabrielBB/xvfb-action/blob/5bcda06da84ba084708898801da79736b88e00a9/node_modules/undici/lib/mock/pending-interceptors-formatter.js | node_modules/undici/lib/mock/pending-interceptors-formatter.js | 'use strict'
const { Transform } = require('stream')
const { Console } = require('console')
/**
* Gets the output of `console.table(…)` as a string.
*/
module.exports = class PendingInterceptorsFormatter {
constructor ({ disableColors } = {}) {
this.transform = new Transform({
transform (chunk, _enc, cb... | javascript | MIT | 5bcda06da84ba084708898801da79736b88e00a9 | 2026-01-05T03:43:18.407050Z | false |
GabrielBB/xvfb-action | https://github.com/GabrielBB/xvfb-action/blob/5bcda06da84ba084708898801da79736b88e00a9/node_modules/undici/lib/mock/mock-agent.js | node_modules/undici/lib/mock/mock-agent.js | 'use strict'
const { kClients } = require('../core/symbols')
const Agent = require('../agent')
const {
kAgent,
kMockAgentSet,
kMockAgentGet,
kDispatches,
kIsMockActive,
kNetConnect,
kGetNetConnect,
kOptions,
kFactory
} = require('./mock-symbols')
const MockClient = require('./mock-client')
const Mock... | javascript | MIT | 5bcda06da84ba084708898801da79736b88e00a9 | 2026-01-05T03:43:18.407050Z | false |
GabrielBB/xvfb-action | https://github.com/GabrielBB/xvfb-action/blob/5bcda06da84ba084708898801da79736b88e00a9/node_modules/undici/lib/mock/pluralizer.js | node_modules/undici/lib/mock/pluralizer.js | 'use strict'
const singulars = {
pronoun: 'it',
is: 'is',
was: 'was',
this: 'this'
}
const plurals = {
pronoun: 'they',
is: 'are',
was: 'were',
this: 'these'
}
module.exports = class Pluralizer {
constructor (singular, plural) {
this.singular = singular
this.plural = plural
}
pluralize... | javascript | MIT | 5bcda06da84ba084708898801da79736b88e00a9 | 2026-01-05T03:43:18.407050Z | false |
GabrielBB/xvfb-action | https://github.com/GabrielBB/xvfb-action/blob/5bcda06da84ba084708898801da79736b88e00a9/node_modules/undici/lib/mock/mock-interceptor.js | node_modules/undici/lib/mock/mock-interceptor.js | 'use strict'
const { getResponseData, buildKey, addMockDispatch } = require('./mock-utils')
const {
kDispatches,
kDispatchKey,
kDefaultHeaders,
kDefaultTrailers,
kContentLength,
kMockDispatch
} = require('./mock-symbols')
const { InvalidArgumentError } = require('../core/errors')
const { buildURL } = requi... | javascript | MIT | 5bcda06da84ba084708898801da79736b88e00a9 | 2026-01-05T03:43:18.407050Z | false |
GabrielBB/xvfb-action | https://github.com/GabrielBB/xvfb-action/blob/5bcda06da84ba084708898801da79736b88e00a9/node_modules/undici/lib/mock/mock-errors.js | node_modules/undici/lib/mock/mock-errors.js | 'use strict'
const { UndiciError } = require('../core/errors')
class MockNotMatchedError extends UndiciError {
constructor (message) {
super(message)
Error.captureStackTrace(this, MockNotMatchedError)
this.name = 'MockNotMatchedError'
this.message = message || 'The request does not match any registe... | javascript | MIT | 5bcda06da84ba084708898801da79736b88e00a9 | 2026-01-05T03:43:18.407050Z | false |
GabrielBB/xvfb-action | https://github.com/GabrielBB/xvfb-action/blob/5bcda06da84ba084708898801da79736b88e00a9/node_modules/undici/lib/mock/mock-symbols.js | node_modules/undici/lib/mock/mock-symbols.js | 'use strict'
module.exports = {
kAgent: Symbol('agent'),
kOptions: Symbol('options'),
kFactory: Symbol('factory'),
kDispatches: Symbol('dispatches'),
kDispatchKey: Symbol('dispatch key'),
kDefaultHeaders: Symbol('default headers'),
kDefaultTrailers: Symbol('default trailers'),
kContentLength: Symbol('c... | javascript | MIT | 5bcda06da84ba084708898801da79736b88e00a9 | 2026-01-05T03:43:18.407050Z | false |
GabrielBB/xvfb-action | https://github.com/GabrielBB/xvfb-action/blob/5bcda06da84ba084708898801da79736b88e00a9/node_modules/undici/lib/mock/mock-utils.js | node_modules/undici/lib/mock/mock-utils.js | 'use strict'
const { MockNotMatchedError } = require('./mock-errors')
const {
kDispatches,
kMockAgent,
kOriginalDispatch,
kOrigin,
kGetNetConnect
} = require('./mock-symbols')
const { buildURL, nop } = require('../core/util')
const { STATUS_CODES } = require('http')
const {
types: {
isPromise
}
} = r... | javascript | MIT | 5bcda06da84ba084708898801da79736b88e00a9 | 2026-01-05T03:43:18.407050Z | false |
GabrielBB/xvfb-action | https://github.com/GabrielBB/xvfb-action/blob/5bcda06da84ba084708898801da79736b88e00a9/node_modules/undici/lib/api/readable.js | node_modules/undici/lib/api/readable.js | // Ported from https://github.com/nodejs/undici/pull/907
'use strict'
const assert = require('assert')
const { Readable } = require('stream')
const { RequestAbortedError, NotSupportedError, InvalidArgumentError } = require('../core/errors')
const util = require('../core/util')
const { ReadableStreamFrom, toUSVString ... | javascript | MIT | 5bcda06da84ba084708898801da79736b88e00a9 | 2026-01-05T03:43:18.407050Z | false |
GabrielBB/xvfb-action | https://github.com/GabrielBB/xvfb-action/blob/5bcda06da84ba084708898801da79736b88e00a9/node_modules/undici/lib/api/api-request.js | node_modules/undici/lib/api/api-request.js | 'use strict'
const Readable = require('./readable')
const {
InvalidArgumentError,
RequestAbortedError
} = require('../core/errors')
const util = require('../core/util')
const { getResolveErrorBodyCallback } = require('./util')
const { AsyncResource } = require('async_hooks')
const { addSignal, removeSignal } = req... | javascript | MIT | 5bcda06da84ba084708898801da79736b88e00a9 | 2026-01-05T03:43:18.407050Z | false |
GabrielBB/xvfb-action | https://github.com/GabrielBB/xvfb-action/blob/5bcda06da84ba084708898801da79736b88e00a9/node_modules/undici/lib/api/api-stream.js | node_modules/undici/lib/api/api-stream.js | 'use strict'
const { finished, PassThrough } = require('stream')
const {
InvalidArgumentError,
InvalidReturnValueError,
RequestAbortedError
} = require('../core/errors')
const util = require('../core/util')
const { getResolveErrorBodyCallback } = require('./util')
const { AsyncResource } = require('async_hooks')... | javascript | MIT | 5bcda06da84ba084708898801da79736b88e00a9 | 2026-01-05T03:43:18.407050Z | false |
GabrielBB/xvfb-action | https://github.com/GabrielBB/xvfb-action/blob/5bcda06da84ba084708898801da79736b88e00a9/node_modules/undici/lib/api/api-upgrade.js | node_modules/undici/lib/api/api-upgrade.js | 'use strict'
const { InvalidArgumentError, RequestAbortedError, SocketError } = require('../core/errors')
const { AsyncResource } = require('async_hooks')
const util = require('../core/util')
const { addSignal, removeSignal } = require('./abort-signal')
const assert = require('assert')
class UpgradeHandler extends As... | javascript | MIT | 5bcda06da84ba084708898801da79736b88e00a9 | 2026-01-05T03:43:18.407050Z | false |
GabrielBB/xvfb-action | https://github.com/GabrielBB/xvfb-action/blob/5bcda06da84ba084708898801da79736b88e00a9/node_modules/undici/lib/api/index.js | node_modules/undici/lib/api/index.js | 'use strict'
module.exports.request = require('./api-request')
module.exports.stream = require('./api-stream')
module.exports.pipeline = require('./api-pipeline')
module.exports.upgrade = require('./api-upgrade')
module.exports.connect = require('./api-connect')
| javascript | MIT | 5bcda06da84ba084708898801da79736b88e00a9 | 2026-01-05T03:43:18.407050Z | false |
GabrielBB/xvfb-action | https://github.com/GabrielBB/xvfb-action/blob/5bcda06da84ba084708898801da79736b88e00a9/node_modules/undici/lib/api/api-pipeline.js | node_modules/undici/lib/api/api-pipeline.js | 'use strict'
const {
Readable,
Duplex,
PassThrough
} = require('stream')
const {
InvalidArgumentError,
InvalidReturnValueError,
RequestAbortedError
} = require('../core/errors')
const util = require('../core/util')
const { AsyncResource } = require('async_hooks')
const { addSignal, removeSignal } = require... | javascript | MIT | 5bcda06da84ba084708898801da79736b88e00a9 | 2026-01-05T03:43:18.407050Z | false |
GabrielBB/xvfb-action | https://github.com/GabrielBB/xvfb-action/blob/5bcda06da84ba084708898801da79736b88e00a9/node_modules/undici/lib/api/util.js | node_modules/undici/lib/api/util.js | const assert = require('assert')
const {
ResponseStatusCodeError
} = require('../core/errors')
const { toUSVString } = require('../core/util')
async function getResolveErrorBodyCallback ({ callback, body, contentType, statusCode, statusMessage, headers }) {
assert(body)
let chunks = []
let limit = 0
for aw... | javascript | MIT | 5bcda06da84ba084708898801da79736b88e00a9 | 2026-01-05T03:43:18.407050Z | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.