404

[ Avaa Bypassed ]




Upload:

Command:

botdev@18.116.21.127: ~ $
'use strict';

var define = require('define-properties');
var getPolyfill = require('./polyfill');

module.exports = function shimGlobal() {
	var polyfill = getPolyfill();
	if (define.supportsDescriptors) {
		var descriptor = Object.getOwnPropertyDescriptor(polyfill, 'globalThis');
		if (!descriptor || (descriptor.configurable && (descriptor.enumerable || !descriptor.writable || globalThis !== polyfill))) { // eslint-disable-line max-len
			Object.defineProperty(polyfill, 'globalThis', {
				configurable: true,
				enumerable: false,
				value: polyfill,
				writable: true
			});
		}
	} else if (typeof globalThis !== 'object' || globalThis !== polyfill) {
		polyfill.globalThis = polyfill;
	}
	return polyfill;
};

Filemanager

Name Type Size Permission Actions
test Folder 0755
.eslintrc File 192 B 0644
.nycrc File 149 B 0644
CHANGELOG.md File 10.39 KB 0644
LICENSE File 1.06 KB 0644
README.md File 2.65 KB 0644
auto.js File 36 B 0644
implementation.browser.js File 254 B 0644
implementation.js File 40 B 0644
index.js File 408 B 0644
package.json File 2.36 KB 0644
polyfill.js File 251 B 0644
shim.js File 722 B 0644