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