mirror of
https://github.com/JamesIves/github-pages-deploy-action.git
synced 2023-12-15 20:03:39 +08:00
12 lines
616 B
JavaScript
12 lines
616 B
JavaScript
|
var getBuiltIn = require('../internals/get-built-in');
|
||
|
var getOwnPropertyNamesModule = require('../internals/object-get-own-property-names');
|
||
|
var getOwnPropertySymbolsModule = require('../internals/object-get-own-property-symbols');
|
||
|
var anObject = require('../internals/an-object');
|
||
|
|
||
|
// all object keys, includes non-enumerable and symbols
|
||
|
module.exports = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) {
|
||
|
var keys = getOwnPropertyNamesModule.f(anObject(it));
|
||
|
var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;
|
||
|
return getOwnPropertySymbols ? keys.concat(getOwnPropertySymbols(it)) : keys;
|
||
|
};
|