initial commit

This commit is contained in:
Zoe
2023-01-03 09:29:04 -06:00
commit 7851137d88
12889 changed files with 2557443 additions and 0 deletions
+3
View File
@@ -0,0 +1,3 @@
"use strict";
require("node-fetch-native/polyfill");
+1
View File
@@ -0,0 +1 @@
import "node-fetch-native/polyfill";
+1
View File
@@ -0,0 +1 @@
import "node-fetch-native/polyfill";
+25
View File
@@ -0,0 +1,25 @@
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
module.exports = void 0;
var _globalThis = _interopRequireDefault(require("./globalThis.cjs"));
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
try {
const _defineOpts = {
enumerable: false,
value: _globalThis.default
};
Object.defineProperties(_globalThis.default, {
self: _defineOpts,
window: _defineOpts,
global: _defineOpts
});
} catch {}
var _default = _globalThis.default;
module.exports = _default;
+2
View File
@@ -0,0 +1,2 @@
declare const _default: typeof globalThis;
export default _default;
+11
View File
@@ -0,0 +1,11 @@
import _global from "./globalThis.mjs";
try {
const _defineOpts = { enumerable: false, value: _global };
Object.defineProperties(_global, {
self: _defineOpts,
window: _defineOpts,
global: _defineOpts
});
} catch {
}
export default _global;
+30
View File
@@ -0,0 +1,30 @@
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
module.exports = void 0;
function getGlobal() {
if (typeof globalThis !== "undefined") {
return globalThis;
}
if (typeof self !== "undefined") {
return self;
}
if (typeof window !== "undefined") {
return window;
}
if (typeof global !== "undefined") {
return global;
}
return {};
}
var _default = getGlobal();
module.exports = _default;
+2
View File
@@ -0,0 +1,2 @@
declare const _default: typeof globalThis;
export default _default;
+16
View File
@@ -0,0 +1,16 @@
function getGlobal() {
if (typeof globalThis !== "undefined") {
return globalThis;
}
if (typeof self !== "undefined") {
return self;
}
if (typeof window !== "undefined") {
return window;
}
if (typeof global !== "undefined") {
return global;
}
return {};
}
export default getGlobal();
+16
View File
@@ -0,0 +1,16 @@
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
module.exports = void 0;
var _index = _interopRequireDefault(require("../node/process/index.cjs"));
var _globalThis = _interopRequireDefault(require("./globalThis.cjs"));
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
_globalThis.default.process = _globalThis.default.process || _index.default;
var _default = _globalThis.default.process;
module.exports = _default;
+3
View File
@@ -0,0 +1,3 @@
/// <reference types="node" />
declare const _default: NodeJS.Process;
export default _default;
+4
View File
@@ -0,0 +1,4 @@
import _process from "../node/process/index.mjs";
import _global from "./globalThis.mjs";
_global.process = _global.process || _process;
export default _global.process;