Ignore:
Timestamp:
01/21/25 03:08:24 (3 days ago)
Author:
stefan toskovski <stefantoska84@…>
Branches:
main
Parents:
0c6b92a
Message:

F4 Finalna Verzija

File:
1 edited

Legend:

Unmodified
Added
Removed
  • imaps-frontend/node_modules/es-abstract/helpers/OwnPropertyKeys.js

    r0c6b92a r79a0317  
    11'use strict';
    22
    3 var GetIntrinsic = require('get-intrinsic');
    4 
    5 var callBind = require('call-bind');
    6 var callBound = require('call-bind/callBound');
    7 
    8 var $ownKeys = GetIntrinsic('%Reflect.ownKeys%', true);
    9 var $pushApply = callBind.apply(GetIntrinsic('%Array.prototype.push%'));
    10 var $SymbolValueOf = callBound('Symbol.prototype.valueOf', true);
    11 var $gOPN = GetIntrinsic('%Object.getOwnPropertyNames%', true);
    12 var $gOPS = $SymbolValueOf ? GetIntrinsic('%Object.getOwnPropertySymbols%') : null;
    13 
    14 var keys = require('object-keys');
    15 
    16 module.exports = $ownKeys || function OwnPropertyKeys(source) {
    17         var ownKeys = ($gOPN || keys)(source);
    18         if ($gOPS) {
    19                 $pushApply(ownKeys, $gOPS(source));
    20         }
    21         return ownKeys;
    22 };
     3// TODO, semver-major: remove
     4module.exports = require('own-keys');
Note: See TracChangeset for help on using the changeset viewer.