PHP 8.2.30
Preview: index.js Size: 821 B
/home/byroehnu/easepay.easetack.com/node_modules/get-proto/index.js

'use strict';

var reflectGetProto = require('./Reflect.getPrototypeOf');
var originalGetProto = require('./Object.getPrototypeOf');

var getDunderProto = require('dunder-proto/get');

/** @type {import('.')} */
module.exports = reflectGetProto
	? function getProto(O) {
		// @ts-expect-error TS can't narrow inside a closure, for some reason
		return reflectGetProto(O);
	}
	: originalGetProto
		? function getProto(O) {
			if (!O || (typeof O !== 'object' && typeof O !== 'function')) {
				throw new TypeError('getProto: not an object');
			}
			// @ts-expect-error TS can't narrow inside a closure, for some reason
			return originalGetProto(O);
		}
		: getDunderProto
			? function getProto(O) {
				// @ts-expect-error TS can't narrow inside a closure, for some reason
				return getDunderProto(O);
			}
			: null;

Directory Contents

Dirs: 2 × Files: 14

Name Size Perms Modified Actions
.github DIR
- drwxr-xr-x 2026-03-14 01:49:08
Edit Download
test DIR
- drwxr-xr-x 2026-03-14 01:49:08
Edit Download
104 B lrw-r--r-- 2026-02-03 15:06:12
Edit Download
127 B lr--r--r-- 2026-03-14 01:49:08
Edit Download
139 B lrw-r--r-- 2026-02-03 15:06:12
Edit Download
1.03 KB lrw-r--r-- 2026-02-03 15:06:16
Edit Download
126 B lrw-r--r-- 2026-02-03 15:06:18
Edit Download
821 B lrw-r--r-- 2026-02-03 15:06:14
Edit Download
1.05 KB lrw-r--r-- 2026-02-03 15:06:12
Edit Download
125 B lrw-r--r-- 2026-02-03 15:06:18
Edit Download
156 B lrw-r--r-- 2026-02-03 15:06:14
Edit Download
2.13 KB lrw-r--r-- 2026-02-03 15:06:16
Edit Download
1.75 KB lrw-r--r-- 2026-02-03 15:06:18
Edit Download
67 B lrw-r--r-- 2026-02-03 15:06:18
Edit Download
150 B lrw-r--r-- 2026-02-03 15:06:14
Edit Download
118 B lrw-r--r-- 2026-02-03 15:06:16
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).