mirror of
https://github.com/idanoo/GoScrobble.git
synced 2024-11-24 09:25:15 +00:00
1 line
1.6 KiB
JSON
1 line
1.6 KiB
JSON
{"ast":null,"code":"'use strict';\n\nvar GetIntrinsic = require('get-intrinsic');\n\nvar callBind = require('./');\n\nvar $indexOf = callBind(GetIntrinsic('String.prototype.indexOf'));\n\nmodule.exports = function callBoundIntrinsic(name, allowMissing) {\n var intrinsic = GetIntrinsic(name, !!allowMissing);\n\n if (typeof intrinsic === 'function' && $indexOf(name, '.prototype.') > -1) {\n return callBind(intrinsic);\n }\n\n return intrinsic;\n};","map":{"version":3,"sources":["/app/node_modules/call-bind/callBound.js"],"names":["GetIntrinsic","require","callBind","$indexOf","module","exports","callBoundIntrinsic","name","allowMissing","intrinsic"],"mappings":"AAAA;;AAEA,IAAIA,YAAY,GAAGC,OAAO,CAAC,eAAD,CAA1B;;AAEA,IAAIC,QAAQ,GAAGD,OAAO,CAAC,IAAD,CAAtB;;AAEA,IAAIE,QAAQ,GAAGD,QAAQ,CAACF,YAAY,CAAC,0BAAD,CAAb,CAAvB;;AAEAI,MAAM,CAACC,OAAP,GAAiB,SAASC,kBAAT,CAA4BC,IAA5B,EAAkCC,YAAlC,EAAgD;AAChE,MAAIC,SAAS,GAAGT,YAAY,CAACO,IAAD,EAAO,CAAC,CAACC,YAAT,CAA5B;;AACA,MAAI,OAAOC,SAAP,KAAqB,UAArB,IAAmCN,QAAQ,CAACI,IAAD,EAAO,aAAP,CAAR,GAAgC,CAAC,CAAxE,EAA2E;AAC1E,WAAOL,QAAQ,CAACO,SAAD,CAAf;AACA;;AACD,SAAOA,SAAP;AACA,CAND","sourcesContent":["'use strict';\n\nvar GetIntrinsic = require('get-intrinsic');\n\nvar callBind = require('./');\n\nvar $indexOf = callBind(GetIntrinsic('String.prototype.indexOf'));\n\nmodule.exports = function callBoundIntrinsic(name, allowMissing) {\n\tvar intrinsic = GetIntrinsic(name, !!allowMissing);\n\tif (typeof intrinsic === 'function' && $indexOf(name, '.prototype.') > -1) {\n\t\treturn callBind(intrinsic);\n\t}\n\treturn intrinsic;\n};\n"]},"metadata":{},"sourceType":"script"} |