mirror of
https://github.com/idanoo/GoScrobble.git
synced 2024-11-25 09:55:15 +00:00
1 line
2.4 KiB
JSON
1 line
2.4 KiB
JSON
{"ast":null,"code":"import isPrototype from './_isPrototype.js';\nimport nativeKeys from './_nativeKeys.js';\n/** Used for built-in method references. */\n\nvar objectProto = Object.prototype;\n/** Used to check objects for own properties. */\n\nvar hasOwnProperty = objectProto.hasOwnProperty;\n/**\n * The base implementation of `_.keys` which doesn't treat sparse arrays as dense.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n */\n\nfunction baseKeys(object) {\n if (!isPrototype(object)) {\n return nativeKeys(object);\n }\n\n var result = [];\n\n for (var key in Object(object)) {\n if (hasOwnProperty.call(object, key) && key != 'constructor') {\n result.push(key);\n }\n }\n\n return result;\n}\n\nexport default baseKeys;","map":{"version":3,"sources":["/app/node_modules/lodash-es/_baseKeys.js"],"names":["isPrototype","nativeKeys","objectProto","Object","prototype","hasOwnProperty","baseKeys","object","result","key","call","push"],"mappings":"AAAA,OAAOA,WAAP,MAAwB,mBAAxB;AACA,OAAOC,UAAP,MAAuB,kBAAvB;AAEA;;AACA,IAAIC,WAAW,GAAGC,MAAM,CAACC,SAAzB;AAEA;;AACA,IAAIC,cAAc,GAAGH,WAAW,CAACG,cAAjC;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AACA,SAASC,QAAT,CAAkBC,MAAlB,EAA0B;AACxB,MAAI,CAACP,WAAW,CAACO,MAAD,CAAhB,EAA0B;AACxB,WAAON,UAAU,CAACM,MAAD,CAAjB;AACD;;AACD,MAAIC,MAAM,GAAG,EAAb;;AACA,OAAK,IAAIC,GAAT,IAAgBN,MAAM,CAACI,MAAD,CAAtB,EAAgC;AAC9B,QAAIF,cAAc,CAACK,IAAf,CAAoBH,MAApB,EAA4BE,GAA5B,KAAoCA,GAAG,IAAI,aAA/C,EAA8D;AAC5DD,MAAAA,MAAM,CAACG,IAAP,CAAYF,GAAZ;AACD;AACF;;AACD,SAAOD,MAAP;AACD;;AAED,eAAeF,QAAf","sourcesContent":["import isPrototype from './_isPrototype.js';\nimport nativeKeys from './_nativeKeys.js';\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * The base implementation of `_.keys` which doesn't treat sparse arrays as dense.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n */\nfunction baseKeys(object) {\n if (!isPrototype(object)) {\n return nativeKeys(object);\n }\n var result = [];\n for (var key in Object(object)) {\n if (hasOwnProperty.call(object, key) && key != 'constructor') {\n result.push(key);\n }\n }\n return result;\n}\n\nexport default baseKeys;\n"]},"metadata":{},"sourceType":"module"} |