Initial system import

This commit is contained in:
2025-12-25 23:08:06 +01:00
commit 4beb5806eb
4623 changed files with 682363 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
'use strict';
var callBind = require('call-bind');
var gOPD = require('gopd');
// eslint-disable-next-line no-extra-parens, no-proto
var hasProto = /** @type {{ __proto__?: typeof Array.prototype }} */ ([]).__proto__ === Array.prototype;
// eslint-disable-next-line no-extra-parens
var dunderGetter = hasProto && gOPD && gOPD(Object.prototype, /** @type {keyof typeof Object.prototype} */ ('__proto__'));
module.exports = dunderGetter && dunderGetter.get && callBind(dunderGetter.get);
+9
View File
@@ -0,0 +1,9 @@
'use strict';
var callBind = require('call-bind');
var gOPD = require('gopd');
// @ts-expect-error TS can't handle dunder proto
var desc = gOPD && gOPD(Object.prototype, '__proto__');
module.exports = !!desc && !!desc.set && callBind(desc.set);