This commit is contained in:
2024-12-02 02:16:00 +05:00
commit 2debea82f9
693 changed files with 103427 additions and 0 deletions

15
noviews/node_modules/has-proto/index.js generated vendored Normal file
View File

@ -0,0 +1,15 @@
'use strict';
var test = {
__proto__: null,
foo: {}
};
var $Object = Object;
/** @type {import('.')} */
module.exports = function hasProto() {
// @ts-expect-error: TS errors on an inherited property for some reason
return { __proto__: test }.foo === test.foo
&& !(test instanceof $Object);
};