Legend:
- Unmodified
- Added
- Removed
-
imaps-frontend/node_modules/es-abstract/helpers/getProto.js
r0c6b92a r79a0317 1 1 'use strict'; 2 2 3 var GetIntrinsic = require('get-intrinsic'); 4 5 var originalGetProto = GetIntrinsic('%Object.getPrototypeOf%', true); 6 7 var hasProto = require('has-proto')(); 8 9 module.exports = originalGetProto || ( 10 hasProto 11 ? function (O) { 12 return O.__proto__; // eslint-disable-line no-proto 13 } 14 : null 15 ); 3 // TODO, semver-major: remove 4 module.exports = require('get-proto');
Note:
See TracChangeset
for help on using the changeset viewer.