mirror of
https://github.com/idanoo/GoScrobble.git
synced 2024-11-25 09:55:15 +00:00
1 line
1.6 KiB
JSON
1 line
1.6 KiB
JSON
{"ast":null,"code":"import getMapData from './_getMapData.js';\n/**\n * Sets the map `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf MapCache\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the map cache instance.\n */\n\nfunction mapCacheSet(key, value) {\n var data = getMapData(this, key),\n size = data.size;\n data.set(key, value);\n this.size += data.size == size ? 0 : 1;\n return this;\n}\n\nexport default mapCacheSet;","map":{"version":3,"sources":["/app/node_modules/lodash-es/_mapCacheSet.js"],"names":["getMapData","mapCacheSet","key","value","data","size","set"],"mappings":"AAAA,OAAOA,UAAP,MAAuB,kBAAvB;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AACA,SAASC,WAAT,CAAqBC,GAArB,EAA0BC,KAA1B,EAAiC;AAC/B,MAAIC,IAAI,GAAGJ,UAAU,CAAC,IAAD,EAAOE,GAAP,CAArB;AAAA,MACIG,IAAI,GAAGD,IAAI,CAACC,IADhB;AAGAD,EAAAA,IAAI,CAACE,GAAL,CAASJ,GAAT,EAAcC,KAAd;AACA,OAAKE,IAAL,IAAaD,IAAI,CAACC,IAAL,IAAaA,IAAb,GAAoB,CAApB,GAAwB,CAArC;AACA,SAAO,IAAP;AACD;;AAED,eAAeJ,WAAf","sourcesContent":["import getMapData from './_getMapData.js';\n\n/**\n * Sets the map `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf MapCache\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the map cache instance.\n */\nfunction mapCacheSet(key, value) {\n var data = getMapData(this, key),\n size = data.size;\n\n data.set(key, value);\n this.size += data.size == size ? 0 : 1;\n return this;\n}\n\nexport default mapCacheSet;\n"]},"metadata":{},"sourceType":"module"} |