Sha256: 9fba46688b6057f3835a922db38fd7c7230ce55d46c789769e9e7d83a0895708

Contents?: true

Size: 1.58 KB

Versions: 13

Compression:

Stored size: 1.58 KB

Contents

{"version":3,"names":["_arrayLikeToArray","require","_unsupportedIterableToArray","o","minLen","arrayLikeToArray","name","Object","prototype","toString","call","slice","constructor","Array","from","test"],"sources":["../../src/helpers/unsupportedIterableToArray.ts"],"sourcesContent":["/* @minVersion 7.9.0 */\n\nimport arrayLikeToArray from \"./arrayLikeToArray.ts\";\n\nexport default function _unsupportedIterableToArray<T>(\n  o: any,\n  minLen?: number | null,\n): T[] | string[] | undefined {\n  if (!o) return;\n  if (typeof o === \"string\") return arrayLikeToArray<string>(o, minLen);\n  var name = Object.prototype.toString.call(o).slice(8, -1);\n  if (name === \"Object\" && o.constructor) name = o.constructor.name;\n  if (name === \"Map\" || name === \"Set\") return Array.from<T>(o);\n  if (\n    name === \"Arguments\" ||\n    /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(name)\n  ) {\n    return arrayLikeToArray<T>(o, minLen);\n  }\n}\n"],"mappings":";;;;;;AAEA,IAAAA,iBAAA,GAAAC,OAAA;AAEe,SAASC,2BAA2BA,CACjDC,CAAM,EACNC,MAAsB,EACM;EAC5B,IAAI,CAACD,CAAC,EAAE;EACR,IAAI,OAAOA,CAAC,KAAK,QAAQ,EAAE,OAAO,IAAAE,yBAAgB,EAASF,CAAC,EAAEC,MAAM,CAAC;EACrE,IAAIE,IAAI,GAAGC,MAAM,CAACC,SAAS,CAACC,QAAQ,CAACC,IAAI,CAACP,CAAC,CAAC,CAACQ,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;EACzD,IAAIL,IAAI,KAAK,QAAQ,IAAIH,CAAC,CAACS,WAAW,EAAEN,IAAI,GAAGH,CAAC,CAACS,WAAW,CAACN,IAAI;EACjE,IAAIA,IAAI,KAAK,KAAK,IAAIA,IAAI,KAAK,KAAK,EAAE,OAAOO,KAAK,CAACC,IAAI,CAAIX,CAAC,CAAC;EAC7D,IACEG,IAAI,KAAK,WAAW,IACpB,0CAA0C,CAACS,IAAI,CAACT,IAAI,CAAC,EACrD;IACA,OAAO,IAAAD,yBAAgB,EAAIF,CAAC,EAAEC,MAAM,CAAC;EACvC;AACF","ignoreList":[]}

Version data entries

13 entries across 13 versions & 2 rubygems

Version Path
immosquare-cleaner-0.1.51 node_modules/jscodeshift/node_modules/@babel/core/node_modules/@babel/helpers/lib/helpers/unsupportedIterableToArray.js.map
immosquare-cleaner-0.1.50 node_modules/jscodeshift/node_modules/@babel/core/node_modules/@babel/helpers/lib/helpers/unsupportedIterableToArray.js.map
immosquare-cleaner-0.1.49 node_modules/jscodeshift/node_modules/@babel/core/node_modules/@babel/helpers/lib/helpers/unsupportedIterableToArray.js.map
immosquare-cleaner-0.1.48 node_modules/jscodeshift/node_modules/@babel/core/node_modules/@babel/helpers/lib/helpers/unsupportedIterableToArray.js.map
immosquare-cleaner-0.1.47 node_modules/@babel/helpers/lib/helpers/unsupportedIterableToArray.js.map
immosquare-cleaner-0.1.46 node_modules/@babel/helpers/lib/helpers/unsupportedIterableToArray.js.map
immosquare-cleaner-0.1.45 node_modules/@babel/helpers/lib/helpers/unsupportedIterableToArray.js.map
immosquare-cleaner-0.1.44 node_modules/@babel/helpers/lib/helpers/unsupportedIterableToArray.js.map
immosquare-cleaner-0.1.43 node_modules/@babel/helpers/lib/helpers/unsupportedIterableToArray.js.map
immosquare-cleaner-0.1.42 node_modules/@babel/helpers/lib/helpers/unsupportedIterableToArray.js.map
immosquare-cleaner-0.1.41 node_modules/@babel/helpers/lib/helpers/unsupportedIterableToArray.js.map
immosquare-cleaner-0.1.40 node_modules/@babel/helpers/lib/helpers/unsupportedIterableToArray.js.map
wice_grid-7.1.0 node_modules/@babel/helpers/lib/helpers/unsupportedIterableToArray.js.map