/home/techb158/balavpn.abdallabala.com/node_modules/globalthis
NameSizeModeActions
test/-0777rm
.eslintrc1920666editdlrm
.nycrc1490666editdlrm
auto.js360666editdlrm
CHANGELOG.md118850666editdlrm
implementation.browser.js2540666editdlrm
implementation.js400666editdlrm
index.js4080666editdlrm
LICENSE10810666editdlrm
package.json24630666editdlrm
polyfill.js2510666editdlrm
README.md27160666editdlrm
shim.js7150666editdlrm
Edit: /home/techb158/balavpn.abdallabala.com/node_modules/globalthis/shim.js (715B)
'use strict'; var define = require('define-properties'); var gOPD = require('gopd'); var getPolyfill = require('./polyfill'); module.exports = function shimGlobal() { var polyfill = getPolyfill(); if (define.supportsDescriptors) { var descriptor = gOPD(polyfill, 'globalThis'); if ( !descriptor || ( descriptor.configurable && (descriptor.enumerable || !descriptor.writable || globalThis !== polyfill) ) ) { Object.defineProperty(polyfill, 'globalThis', { configurable: true, enumerable: false, value: polyfill, writable: true }); } } else if (typeof globalThis !== 'object' || globalThis !== polyfill) { polyfill.globalThis = polyfill; } return polyfill; };