mirror of
https://github.com/idanoo/GoScrobble.git
synced 2024-11-25 09:55:15 +00:00
1 line
2.7 KiB
JSON
1 line
2.7 KiB
JSON
|
{"ast":null,"code":"import isObject from './isObject.js';\nimport isPrototype from './_isPrototype.js';\nimport nativeKeysIn from './_nativeKeysIn.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 `_.keysIn` 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 baseKeysIn(object) {\n if (!isObject(object)) {\n return nativeKeysIn(object);\n }\n\n var isProto = isPrototype(object),\n result = [];\n\n for (var key in object) {\n if (!(key == 'constructor' && (isProto || !hasOwnProperty.call(object, key)))) {\n result.push(key);\n }\n }\n\n return result;\n}\n\nexport default baseKeysIn;","map":{"version":3,"sources":["/app/node_modules/lodash-es/_baseKeysIn.js"],"names":["isObject","isPrototype","nativeKeysIn","objectProto","Object","prototype","hasOwnProperty","baseKeysIn","object","isProto","result","key","call","push"],"mappings":"AAAA,OAAOA,QAAP,MAAqB,eAArB;AACA,OAAOC,WAAP,MAAwB,mBAAxB;AACA,OAAOC,YAAP,MAAyB,oBAAzB;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,UAAT,CAAoBC,MAApB,EAA4B;AAC1B,MAAI,CAACR,QAAQ,CAACQ,MAAD,CAAb,EAAuB;AACrB,WAAON,YAAY,CAACM,MAAD,CAAnB;AACD;;AACD,MAAIC,OAAO,GAAGR,WAAW,CAACO,MAAD,CAAzB;AAAA,MACIE,MAAM,GAAG,EADb;;AAGA,OAAK,IAAIC,GAAT,IAAgBH,MAAhB,EAAwB;AACtB,QAAI,EAAEG,GAAG,IAAI,aAAP,KAAyBF,OAAO,IAAI,CAACH,cAAc,CAACM,IAAf,CAAoBJ,MAApB,EAA4BG,GAA5B,CAArC,CAAF,CAAJ,EAA+E;AAC7ED,MAAAA,MAAM,CAACG,IAAP,CAAYF,GAAZ;AACD;AACF;;AACD,SAAOD,MAAP;AACD;;AAED,eAAeH,UAAf","sourcesContent":["import isObject from './isObject.js';\nimport isPrototype from './_isPrototype.js';\nimport nativeKeysIn from './_nativeKeysIn.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 `_.keysIn` 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 baseKeysIn(object) {\n if (!isObject(object)) {\n return nativeKeysIn(object);\n }\n var isProto = isPrototype(object),\n result = [];\n\n for (var key in object) {\n if (!(key == 'constructor' && (isProto || !hasOwnProperty.call(object, key)))) {\n result.push(key);\n }\n }\n return result;\n}\n\nexport default baseKeysIn;\n"]},"metadata":{},"sourceType":"module"}
|