UNPKG

@dillonkearns/elm-graphql

Version:

<img src="https://cdn.jsdelivr.net/gh/martimatix/logo-graphqelm/logo.svg" alt="dillonearns/elm-graphql logo" width="40%" align="right">

1 lines 1.7 kB
{"id":"u8Kr","dependencies":[{"name":"/home/travis/build/dillonkearns/elm-graphql/package.json","includedInParent":true,"mtime":1558740283663},{"name":"/home/travis/build/dillonkearns/elm-graphql/node_modules/iconv-lite/package.json","includedInParent":true,"mtime":1534968147000},{"name":"safer-buffer","loc":{"line":2,"column":21},"parent":"/home/travis/build/dillonkearns/elm-graphql/node_modules/iconv-lite/encodings/sbcs-codec.js","resolved":"/home/travis/build/dillonkearns/elm-graphql/node_modules/safer-buffer/safer.js"}],"generated":{"js":"\"use strict\";var e=require(\"safer-buffer\").Buffer;function r(r,t){if(!r)throw new Error(\"SBCS codec is called without the data.\");if(!r.chars||128!==r.chars.length&&256!==r.chars.length)throw new Error(\"Encoding '\"+r.type+\"' has incorrect 'chars' (must be of len 128 or 256)\");if(128===r.chars.length){for(var o=\"\",c=0;c<128;c++)o+=String.fromCharCode(c);r.chars=o+r.chars}this.decodeBuf=e.from(r.chars,\"ucs2\");var n=e.alloc(65536,t.defaultCharSingleByte.charCodeAt(0));for(c=0;c<r.chars.length;c++)n[r.chars.charCodeAt(c)]=c;this.encodeBuf=n}function t(e,r){this.encodeBuf=r.encodeBuf}function o(e,r){this.decodeBuf=r.decodeBuf}exports._sbcs=r,r.prototype.encoder=t,r.prototype.decoder=o,t.prototype.write=function(r){for(var t=e.alloc(r.length),o=0;o<r.length;o++)t[o]=this.encodeBuf[r.charCodeAt(o)];return t},t.prototype.end=function(){},o.prototype.write=function(r){for(var t=this.decodeBuf,o=e.alloc(2*r.length),c=0,n=0,h=0;h<r.length;h++)c=2*r[h],o[n=2*h]=t[c],o[n+1]=t[c+1];return o.toString(\"ucs2\")},o.prototype.end=function(){};"},"sourceMaps":null,"error":null,"hash":"8a247552f92e0f2ab0c2a63943a30f19","cacheData":{"env":{}}}