mirror of
https://github.com/pezkuwichain/pezkuwi-mobile-app.git
synced 2026-05-30 14:31:02 +00:00
1 line
14 KiB
Plaintext
1 line
14 KiB
Plaintext
{"dependencies":[{"name":"@polkadot/x-global","data":{"asyncType":null,"isESMImport":true,"locs":[{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":45,"index":45}}],"key":"PYu8VlTe0834YhVn6dAxSOA534w=","exportNames":["*"],"imports":1}},{"name":"./is/function.js","data":{"asyncType":null,"isESMImport":true,"locs":[{"start":{"line":2,"column":0,"index":46},"end":{"line":2,"column":46,"index":92}}],"key":"zFzQbG/5AVUER6wk5cSYtPcSudE=","exportNames":["*"],"imports":1}}],"output":[{"data":{"code":"__d(function (global, require, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {\n \"use strict\";\n\n Object.defineProperty(exports, '__esModule', {\n value: true\n });\n Object.defineProperty(exports, \"POLKADOTJS_DISABLE_ESM_CJS_WARNING_FLAG\", {\n enumerable: true,\n get: function () {\n return POLKADOTJS_DISABLE_ESM_CJS_WARNING_FLAG;\n }\n });\n exports.detectPackage = detectPackage;\n var _polkadotXGlobal = require(_dependencyMap[0], \"@polkadot/x-global\");\n var _isFunctionJs = require(_dependencyMap[1], \"./is/function.js\");\n const DEDUPE = 'Either remove and explicitly install matching versions or dedupe using your package manager.\\nThe following conflicting packages were found:';\n const POLKADOTJS_DISABLE_ESM_CJS_WARNING_FLAG = 'POLKADOTJS_DISABLE_ESM_CJS_WARNING';\n /** @internal */\n function getEntry(name) {\n const _global = _polkadotXGlobal.xglobal;\n if (!_global.__polkadotjs) {\n _global.__polkadotjs = {};\n }\n if (!_global.__polkadotjs[name]) {\n _global.__polkadotjs[name] = [];\n }\n return _global.__polkadotjs[name];\n }\n /** @internal */\n function formatDisplay(all, fmt) {\n let max = 0;\n for (let i = 0, count = all.length; i < count; i++) {\n max = Math.max(max, all[i].version.length);\n }\n return all.map(d => `\\t${fmt(d.version.padEnd(max), d).join('\\t')}`).join('\\n');\n }\n /** @internal */\n function formatInfo(version, {\n name\n }) {\n return [version, name];\n }\n /** @internal */\n function formatVersion(version, {\n path,\n type\n }) {\n let extracted;\n if (path && path.length >= 5) {\n const nmIndex = path.indexOf('node_modules');\n extracted = nmIndex === -1 ? path : path.substring(nmIndex);\n } else {\n extracted = '<unknown>';\n }\n return [`${`${type || ''}`.padStart(3)} ${version}`, extracted];\n }\n /** @internal */\n function getPath(infoPath, pathOrFn) {\n if (infoPath) {\n return infoPath;\n } else if ((0, _isFunctionJs.isFunction)(pathOrFn)) {\n try {\n return pathOrFn() || '';\n } catch {\n return '';\n }\n }\n return pathOrFn || '';\n }\n /** @internal */\n function warn(pre, all, fmt) {\n console.warn(`${pre}\\n${DEDUPE}\\n${formatDisplay(all, fmt)}`);\n }\n /**\n * @name detectPackage\n * @summary Checks that a specific package is only imported once\n * @description A `@polkadot/*` version detection utility, checking for one occurrence of a package in addition to checking for dependency versions.\n */\n function detectPackage({\n name,\n path,\n type,\n version\n }, pathOrFn, deps = []) {\n if (!name.startsWith('@polkadot')) {\n throw new Error(`Invalid package descriptor ${name}`);\n }\n const entry = getEntry(name);\n entry.push({\n path: getPath(path, pathOrFn),\n type,\n version\n });\n // if we have more than one entry at DIFFERENT version types then warn. If there is\n // more than one entry at the same version and ESM/CJS dual warnings are disabled,\n // then do not display warnings\n const entriesSameVersion = entry.every(e => e.version === version);\n const esmCjsWarningDisabled = _polkadotXGlobal.xglobal.process?.env?.[POLKADOTJS_DISABLE_ESM_CJS_WARNING_FLAG] === '1';\n const multipleEntries = entry.length !== 1;\n const disableWarnings = esmCjsWarningDisabled && entriesSameVersion;\n if (multipleEntries && !disableWarnings) {\n warn(`${name} has multiple versions, ensure that there is only one installed.`, entry, formatVersion);\n } else {\n const mismatches = deps.filter(d => d && d.version !== version);\n if (mismatches.length) {\n warn(`${name} requires direct dependencies exactly matching version ${version}.`, mismatches, formatInfo);\n }\n }\n }\n});","lineCount":110,"map":[[7,2,4,0,"Object"],[7,8,4,0],[7,9,4,0,"defineProperty"],[7,23,4,0],[7,24,4,0,"exports"],[7,31,4,0],[8,4,4,0,"enumerable"],[8,14,4,0],[9,4,4,0,"get"],[9,7,4,0],[9,18,4,0,"get"],[9,19,4,0],[10,6,4,0],[10,13,4,0,"POLKADOTJS_DISABLE_ESM_CJS_WARNING_FLAG"],[10,52,4,0],[11,4,4,0],[12,2,4,0],[13,2,74,0,"exports"],[13,9,74,0],[13,10,74,0,"detectPackage"],[13,23,74,0],[13,26,74,0,"detectPackage"],[13,39,74,0],[14,2,1,0],[14,6,1,0,"_polkadotXGlobal"],[14,22,1,0],[14,25,1,0,"require"],[14,32,1,0],[14,33,1,0,"_dependencyMap"],[14,47,1,0],[15,2,2,0],[15,6,2,0,"_isFunctionJs"],[15,19,2,0],[15,22,2,0,"require"],[15,29,2,0],[15,30,2,0,"_dependencyMap"],[15,44,2,0],[16,2,3,0],[16,8,3,6,"DEDUPE"],[16,14,3,12],[16,17,3,15],[16,159,3,157],[17,2,4,7],[17,8,4,13,"POLKADOTJS_DISABLE_ESM_CJS_WARNING_FLAG"],[17,47,4,52],[17,50,4,55],[17,86,4,91],[18,2,5,0],[19,2,6,0],[19,11,6,9,"getEntry"],[19,19,6,17,"getEntry"],[19,20,6,18,"name"],[19,24,6,22],[19,26,6,24],[20,4,7,4],[20,10,7,10,"_global"],[20,17,7,17],[20,20,7,20,"xglobal"],[20,36,7,27],[20,37,7,27,"xglobal"],[20,44,7,27],[21,4,8,4],[21,8,8,8],[21,9,8,9,"_global"],[21,16,8,16],[21,17,8,17,"__polkadotjs"],[21,29,8,29],[21,31,8,31],[22,6,9,8,"_global"],[22,13,9,15],[22,14,9,16,"__polkadotjs"],[22,26,9,28],[22,29,9,31],[22,30,9,32],[22,31,9,33],[23,4,10,4],[24,4,11,4],[24,8,11,8],[24,9,11,9,"_global"],[24,16,11,16],[24,17,11,17,"__polkadotjs"],[24,29,11,29],[24,30,11,30,"name"],[24,34,11,34],[24,35,11,35],[24,37,11,37],[25,6,12,8,"_global"],[25,13,12,15],[25,14,12,16,"__polkadotjs"],[25,26,12,28],[25,27,12,29,"name"],[25,31,12,33],[25,32,12,34],[25,35,12,37],[25,37,12,39],[26,4,13,4],[27,4,14,4],[27,11,14,11,"_global"],[27,18,14,18],[27,19,14,19,"__polkadotjs"],[27,31,14,31],[27,32,14,32,"name"],[27,36,14,36],[27,37,14,37],[28,2,15,0],[29,2,16,0],[30,2,17,0],[30,11,17,9,"formatDisplay"],[30,24,17,22,"formatDisplay"],[30,25,17,23,"all"],[30,28,17,26],[30,30,17,28,"fmt"],[30,33,17,31],[30,35,17,33],[31,4,18,4],[31,8,18,8,"max"],[31,11,18,11],[31,14,18,14],[31,15,18,15],[32,4,19,4],[32,9,19,9],[32,13,19,13,"i"],[32,14,19,14],[32,17,19,17],[32,18,19,18],[32,20,19,20,"count"],[32,25,19,25],[32,28,19,28,"all"],[32,31,19,31],[32,32,19,32,"length"],[32,38,19,38],[32,40,19,40,"i"],[32,41,19,41],[32,44,19,44,"count"],[32,49,19,49],[32,51,19,51,"i"],[32,52,19,52],[32,54,19,54],[32,56,19,56],[33,6,20,8,"max"],[33,9,20,11],[33,12,20,14,"Math"],[33,16,20,18],[33,17,20,19,"max"],[33,20,20,22],[33,21,20,23,"max"],[33,24,20,26],[33,26,20,28,"all"],[33,29,20,31],[33,30,20,32,"i"],[33,31,20,33],[33,32,20,34],[33,33,20,35,"version"],[33,40,20,42],[33,41,20,43,"length"],[33,47,20,49],[33,48,20,50],[34,4,21,4],[35,4,22,4],[35,11,22,11,"all"],[35,14,22,14],[35,15,23,9,"map"],[35,18,23,12],[35,19,23,14,"d"],[35,20,23,15],[35,24,23,20],[35,29,23,25,"fmt"],[35,32,23,28],[35,33,23,29,"d"],[35,34,23,30],[35,35,23,31,"version"],[35,42,23,38],[35,43,23,39,"padEnd"],[35,49,23,45],[35,50,23,46,"max"],[35,53,23,49],[35,54,23,50],[35,56,23,52,"d"],[35,57,23,53],[35,58,23,54],[35,59,23,55,"join"],[35,63,23,59],[35,64,23,60],[35,68,23,64],[35,69,23,65],[35,71,23,67],[35,72,23,68],[35,73,24,9,"join"],[35,77,24,13],[35,78,24,14],[35,82,24,18],[35,83,24,19],[36,2,25,0],[37,2,26,0],[38,2,27,0],[38,11,27,9,"formatInfo"],[38,21,27,19,"formatInfo"],[38,22,27,20,"version"],[38,29,27,27],[38,31,27,29],[39,4,27,31,"name"],[40,2,27,36],[40,3,27,37],[40,5,27,39],[41,4,28,4],[41,11,28,11],[41,12,29,8,"version"],[41,19,29,15],[41,21,30,8,"name"],[41,25,30,12],[41,26,31,5],[42,2,32,0],[43,2,33,0],[44,2,34,0],[44,11,34,9,"formatVersion"],[44,24,34,22,"formatVersion"],[44,25,34,23,"version"],[44,32,34,30],[44,34,34,32],[45,4,34,34,"path"],[45,8,34,38],[46,4,34,40,"type"],[47,2,34,45],[47,3,34,46],[47,5,34,48],[48,4,35,4],[48,8,35,8,"extracted"],[48,17,35,17],[49,4,36,4],[49,8,36,8,"path"],[49,12,36,12],[49,16,36,16,"path"],[49,20,36,20],[49,21,36,21,"length"],[49,27,36,27],[49,31,36,31],[49,32,36,32],[49,34,36,34],[50,6,37,8],[50,12,37,14,"nmIndex"],[50,19,37,21],[50,22,37,24,"path"],[50,26,37,28],[50,27,37,29,"indexOf"],[50,34,37,36],[50,35,37,37],[50,49,37,51],[50,50,37,52],[51,6,38,8,"extracted"],[51,15,38,17],[51,18,38,20,"nmIndex"],[51,25,38,27],[51,30,38,32],[51,31,38,33],[51,32,38,34],[51,35,39,14,"path"],[51,39,39,18],[51,42,40,14,"path"],[51,46,40,18],[51,47,40,19,"substring"],[51,56,40,28],[51,57,40,29,"nmIndex"],[51,64,40,36],[51,65,40,37],[52,4,41,4],[52,5,41,5],[52,11,42,9],[53,6,43,8,"extracted"],[53,15,43,17],[53,18,43,20],[53,29,43,31],[54,4,44,4],[55,4,45,4],[55,11,45,11],[55,12,46,8],[55,15,46,11],[55,18,46,14,"type"],[55,22,46,18],[55,26,46,22],[55,28,46,24],[55,30,46,26],[55,31,46,27,"padStart"],[55,39,46,35],[55,40,46,36],[55,41,46,37],[55,42,46,38],[55,46,46,42,"version"],[55,53,46,49],[55,55,46,51],[55,57,47,8,"extracted"],[55,66,47,17],[55,67,48,5],[56,2,49,0],[57,2,50,0],[58,2,51,0],[58,11,51,9,"getPath"],[58,18,51,16,"getPath"],[58,19,51,17,"infoPath"],[58,27,51,25],[58,29,51,27,"pathOrFn"],[58,37,51,35],[58,39,51,37],[59,4,52,4],[59,8,52,8,"infoPath"],[59,16,52,16],[59,18,52,18],[60,6,53,8],[60,13,53,15,"infoPath"],[60,21,53,23],[61,4,54,4],[61,5,54,5],[61,11,55,9],[61,15,55,13],[61,19,55,13,"isFunction"],[61,32,55,23],[61,33,55,23,"isFunction"],[61,43,55,23],[61,45,55,24,"pathOrFn"],[61,53,55,32],[61,54,55,33],[61,56,55,35],[62,6,56,8],[62,10,56,12],[63,8,57,12],[63,15,57,19,"pathOrFn"],[63,23,57,27],[63,24,57,28],[63,25,57,29],[63,29,57,33],[63,31,57,35],[64,6,58,8],[64,7,58,9],[64,8,59,8],[64,14,59,14],[65,8,60,12],[65,15,60,19],[65,17,60,21],[66,6,61,8],[67,4,62,4],[68,4,63,4],[68,11,63,11,"pathOrFn"],[68,19,63,19],[68,23,63,23],[68,25,63,25],[69,2,64,0],[70,2,65,0],[71,2,66,0],[71,11,66,9,"warn"],[71,15,66,13,"warn"],[71,16,66,14,"pre"],[71,19,66,17],[71,21,66,19,"all"],[71,24,66,22],[71,26,66,24,"fmt"],[71,29,66,27],[71,31,66,29],[72,4,67,4,"console"],[72,11,67,11],[72,12,67,12,"warn"],[72,16,67,16],[72,17,67,17],[72,20,67,20,"pre"],[72,23,67,23],[72,28,67,28,"DEDUPE"],[72,34,67,34],[72,39,67,39,"formatDisplay"],[72,52,67,52],[72,53,67,53,"all"],[72,56,67,56],[72,58,67,58,"fmt"],[72,61,67,61],[72,62,67,62],[72,64,67,64],[72,65,67,65],[73,2,68,0],[74,2,69,0],[75,0,70,0],[76,0,71,0],[77,0,72,0],[78,0,73,0],[79,2,74,7],[79,11,74,16,"detectPackage"],[79,24,74,29,"detectPackage"],[79,25,74,30],[80,4,74,32,"name"],[80,8,74,36],[81,4,74,38,"path"],[81,8,74,42],[82,4,74,44,"type"],[82,8,74,48],[83,4,74,50,"version"],[84,2,74,58],[84,3,74,59],[84,5,74,61,"pathOrFn"],[84,13,74,69],[84,15,74,71,"deps"],[84,19,74,75],[84,22,74,78],[84,24,74,80],[84,26,74,82],[85,4,75,4],[85,8,75,8],[85,9,75,9,"name"],[85,13,75,13],[85,14,75,14,"startsWith"],[85,24,75,24],[85,25,75,25],[85,36,75,36],[85,37,75,37],[85,39,75,39],[86,6,76,8],[86,12,76,14],[86,16,76,18,"Error"],[86,21,76,23],[86,22,76,24],[86,52,76,54,"name"],[86,56,76,58],[86,58,76,60],[86,59,76,61],[87,4,77,4],[88,4,78,4],[88,10,78,10,"entry"],[88,15,78,15],[88,18,78,18,"getEntry"],[88,26,78,26],[88,27,78,27,"name"],[88,31,78,31],[88,32,78,32],[89,4,79,4,"entry"],[89,9,79,9],[89,10,79,10,"push"],[89,14,79,14],[89,15,79,15],[90,6,79,17,"path"],[90,10,79,21],[90,12,79,23,"getPath"],[90,19,79,30],[90,20,79,31,"path"],[90,24,79,35],[90,26,79,37,"pathOrFn"],[90,34,79,45],[90,35,79,46],[91,6,79,48,"type"],[91,10,79,52],[92,6,79,54,"version"],[93,4,79,62],[93,5,79,63],[93,6,79,64],[94,4,80,4],[95,4,81,4],[96,4,82,4],[97,4,83,4],[97,10,83,10,"entriesSameVersion"],[97,28,83,28],[97,31,83,31,"entry"],[97,36,83,36],[97,37,83,37,"every"],[97,42,83,42],[97,43,83,44,"e"],[97,44,83,45],[97,48,83,50,"e"],[97,49,83,51],[97,50,83,52,"version"],[97,57,83,59],[97,62,83,64,"version"],[97,69,83,71],[97,70,83,72],[98,4,84,4],[98,10,84,10,"esmCjsWarningDisabled"],[98,31,84,31],[98,34,84,34,"xglobal"],[98,50,84,41],[98,51,84,41,"xglobal"],[98,58,84,41],[98,59,84,42,"process"],[98,66,84,49],[98,68,84,51,"env"],[98,71,84,54],[98,74,84,57,"POLKADOTJS_DISABLE_ESM_CJS_WARNING_FLAG"],[98,113,84,96],[98,114,84,97],[98,119,84,102],[98,122,84,105],[99,4,85,4],[99,10,85,10,"multipleEntries"],[99,25,85,25],[99,28,85,28,"entry"],[99,33,85,33],[99,34,85,34,"length"],[99,40,85,40],[99,45,85,45],[99,46,85,46],[100,4,86,4],[100,10,86,10,"disableWarnings"],[100,25,86,25],[100,28,86,28,"esmCjsWarningDisabled"],[100,49,86,49],[100,53,86,53,"entriesSameVersion"],[100,71,86,71],[101,4,87,4],[101,8,87,8,"multipleEntries"],[101,23,87,23],[101,27,87,27],[101,28,87,28,"disableWarnings"],[101,43,87,43],[101,45,87,45],[102,6,88,8,"warn"],[102,10,88,12],[102,11,88,13],[102,14,88,16,"name"],[102,18,88,20],[102,84,88,86],[102,86,88,88,"entry"],[102,91,88,93],[102,93,88,95,"formatVersion"],[102,106,88,108],[102,107,88,109],[103,4,89,4],[103,5,89,5],[103,11,90,9],[104,6,91,8],[104,12,91,14,"mismatches"],[104,22,91,24],[104,25,91,27,"deps"],[104,29,91,31],[104,30,91,32,"filter"],[104,36,91,38],[104,37,91,40,"d"],[104,38,91,41],[104,42,91,46,"d"],[104,43,91,47],[104,47,91,51,"d"],[104,48,91,52],[104,49,91,53,"version"],[104,56,91,60],[104,61,91,65,"version"],[104,68,91,72],[104,69,91,73],[105,6,92,8],[105,10,92,12,"mismatches"],[105,20,92,22],[105,21,92,23,"length"],[105,27,92,29],[105,29,92,31],[106,8,93,12,"warn"],[106,12,93,16],[106,13,93,17],[106,16,93,20,"name"],[106,20,93,24],[106,78,93,82,"version"],[106,85,93,89],[106,88,93,92],[106,90,93,94,"mismatches"],[106,100,93,104],[106,102,93,106,"formatInfo"],[106,112,93,116],[106,113,93,117],[107,6,94,8],[108,4,95,4],[109,2,96,0],[110,0,96,1],[110,3]],"functionMap":{"names":["<global>","getEntry","formatDisplay","all.map$argument_0","formatInfo","formatVersion","getPath","warn","detectPackage","entry.every$argument_0","deps.filter$argument_0"],"mappings":"AAA;ACK;CDS;AEE;aCM,sDD;CFE;AIE;CJK;AKE;CLe;AME;CNa;AOE;CPE;OQM;2CCS,4BD;uCEQ,iCF;CRK"},"hasCjsExports":false},"type":"js/module"}]} |