{"versions":{"1.5.0":{"name":"fetch-ie8","version":"1.5.0","main":"fetch.js","repository":{"type":"git","url":"git+https://github.com/camsong/fetch.git"},"license":"MIT","devDependencies":{"browserify":"^9.0.8","es6-promise":"^2.1.1","isarray":"0.0.1","jshint":"2.5.2","mocha":"2.1.0"},"files":["LICENSE","fetch.js"],"gitHead":"44ce416c7bf110812b8fe73ca35ad9af89e9b67c","description":"**This fork supports IE8 with es5-shim, es5-sham and es6-promise.**","bugs":{"url":"https://github.com/camsong/fetch/issues"},"homepage":"https://github.com/camsong/fetch#readme","_id":"fetch-ie8@1.5.0","scripts":{},"_shasum":"f1141c3f96cbc8937aa31b0fbc1a770220fbc15b","_from":".","_npmVersion":"4.1.2","_nodeVersion":"5.12.0","_npmUser":{"name":"anonymous","email":"neosoyn@gmail.com"},"dist":{"shasum":"f1141c3f96cbc8937aa31b0fbc1a770220fbc15b","size":6074,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/fetch-ie8/-/fetch-ie8-1.5.0.tgz","integrity":"sha512-j9f6UPdgWOuhvZKQ/W/tkDm7e7Qi4HpfNN6CV1aZopAq7aItd9sl6pMXPPkrNpap7goqxzXmhgiekYIJhqRfbQ=="},"maintainers":[{"name":"anonymous","email":"neosoyn@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/fetch-ie8-1.5.0.tgz_1488253330456_0.32290793815627694"},"directories":{},"publish_time":1488253330715,"_hasShrinkwrap":false,"_cnpm_publish_time":1488253330715,"_cnpmcore_publish_time":"2021-12-17T03:41:14.033Z","contributors":[]},"1.4.3":{"name":"fetch-ie8","version":"1.4.3","main":"fetch.js","repository":{"type":"git","url":"git+https://github.com/camsong/fetch.git"},"license":"MIT","devDependencies":{"browserify":"^9.0.8","es6-promise":"^2.1.1","isarray":"0.0.1","jshint":"2.5.2","mocha":"2.1.0"},"files":["LICENSE","fetch.js"],"gitHead":"63d1f42fcd3266b1a505f15b1e6f9031a8e179b9","description":"**This fork supports IE8 with es5-shim, es5-sham and es6-promise.**","bugs":{"url":"https://github.com/camsong/fetch/issues"},"homepage":"https://github.com/camsong/fetch#readme","_id":"fetch-ie8@1.4.3","scripts":{},"_shasum":"bd33220cc9a25f2d973b389798c0f69eb847cd55","_from":".","_npmVersion":"3.6.0","_nodeVersion":"5.7.1","_npmUser":{"name":"anonymous","email":"neosoyn@gmail.com"},"dist":{"shasum":"bd33220cc9a25f2d973b389798c0f69eb847cd55","size":5981,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/fetch-ie8/-/fetch-ie8-1.4.3.tgz","integrity":"sha512-oYv32s32t6YLIPMs7rLlDujn+woYgeOw9jv4NdB6C7wSm8blKj39jcCVRXR2nWsRbEkUwhPwaEyjCdf1JM6O6A=="},"maintainers":[{"name":"anonymous","email":"neosoyn@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/fetch-ie8-1.4.3.tgz_1466579359548_0.6037631200160831"},"directories":{},"publish_time":1466579361581,"_hasShrinkwrap":false,"_cnpm_publish_time":1466579361581,"_cnpmcore_publish_time":"2021-12-17T03:41:14.257Z","contributors":[]},"1.4.2":{"name":"fetch-ie8","version":"1.4.2","main":"fetch.js","repository":{"type":"git","url":"git+https://github.com/camsong/fetch.git"},"license":"MIT","devDependencies":{"browserify":"^9.0.8","es6-promise":"^2.1.1","isarray":"0.0.1","jshint":"2.5.2","mocha":"2.1.0"},"files":["LICENSE","fetch.js"],"gitHead":"582588faa0d12e9f7c276dcb8dcafc98cc8f01d2","description":"**This fork supports IE8 with es5-shim, es5-sham and es6-promise.**","bugs":{"url":"https://github.com/camsong/fetch/issues"},"homepage":"https://github.com/camsong/fetch#readme","_id":"fetch-ie8@1.4.2","scripts":{},"_shasum":"6c02911a9265be12521d0464f98416fcddc0af2a","_from":".","_npmVersion":"3.4.1","_nodeVersion":"5.0.0","_npmUser":{"name":"anonymous","email":"neosoyn@gmail.com"},"dist":{"shasum":"6c02911a9265be12521d0464f98416fcddc0af2a","size":5940,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/fetch-ie8/-/fetch-ie8-1.4.2.tgz","integrity":"sha512-jDWLMouOYBo4WYG+jTLW+dld8OyBbxPgXIMHiHyjc9tl2GXQbl+MfGTRmFAYVgtMJBqtxL/UGfjcUzIex+8O3w=="},"maintainers":[{"name":"anonymous","email":"neosoyn@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/fetch-ie8-1.4.2.tgz_1457880951397_0.6864045474212617"},"directories":{},"publish_time":1457880953936,"_hasShrinkwrap":false,"_cnpm_publish_time":1457880953936,"_cnpmcore_publish_time":"2021-12-17T03:41:14.523Z","contributors":[]},"1.4.1":{"name":"fetch-ie8","version":"1.4.1","main":"fetch.js","repository":{"type":"git","url":"git+https://github.com/camsong/fetch.git"},"license":"MIT","devDependencies":{"browserify":"^9.0.8","es6-promise":"^2.1.1","isarray":"0.0.1","jshint":"2.5.2","mocha":"2.1.0"},"files":["LICENSE","fetch.js"],"gitHead":"1460852f5bf0fbe9a5134e67a211fa9307abed32","description":"**This fork supports IE8 with es5-shim, es5-sham and es6-promise.**","bugs":{"url":"https://github.com/camsong/fetch/issues"},"homepage":"https://github.com/camsong/fetch#readme","_id":"fetch-ie8@1.4.1","scripts":{},"_shasum":"4d765c6b39bff91db6bf18db81bf68f36a121b7e","_from":".","_npmVersion":"3.4.1","_nodeVersion":"5.0.0","_npmUser":{"name":"anonymous","email":"neosoyn@gmail.com"},"dist":{"shasum":"4d765c6b39bff91db6bf18db81bf68f36a121b7e","size":5840,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/fetch-ie8/-/fetch-ie8-1.4.1.tgz","integrity":"sha512-dUq/3YUObXMv++AOXjES/Gtx8NNPf7NND9VR74S5sLBoHvp+ZzO0CS8RIvxeEibd0r5aCmDm9yXipPCZKjv44Q=="},"maintainers":[{"name":"anonymous","email":"neosoyn@gmail.com"}],"directories":{},"publish_time":1453297524247,"_hasShrinkwrap":false,"_cnpm_publish_time":1453297524247,"_cnpmcore_publish_time":"2021-12-17T03:41:14.755Z","contributors":[]},"1.4.0":{"name":"fetch-ie8","version":"1.4.0","main":"fetch.js","repository":{"type":"git","url":"git+https://github.com/camsong/fetch.git"},"license":"MIT","devDependencies":{"browserify":"^9.0.8","es6-promise":"^2.1.1","isarray":"0.0.1","jshint":"2.5.2","mocha":"2.1.0"},"files":["LICENSE","fetch.js"],"gitHead":"c629e939d8446ec5b4d66f07ab37979847654f73","description":"**This fork supports IE8 with es5-shim, es5-sham and es6-promise.**","bugs":{"url":"https://github.com/camsong/fetch/issues"},"homepage":"https://github.com/camsong/fetch#readme","_id":"fetch-ie8@1.4.0","scripts":{},"_shasum":"31664f6c33851758043df916a6335e8c77ddc47a","_from":".","_npmVersion":"3.4.1","_nodeVersion":"5.0.0","_npmUser":{"name":"anonymous","email":"neosoyn@gmail.com"},"dist":{"shasum":"31664f6c33851758043df916a6335e8c77ddc47a","size":5762,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/fetch-ie8/-/fetch-ie8-1.4.0.tgz","integrity":"sha512-9CUCESKEsYh8KcEq/Q05ukeV8lng+HqftJ8w5G9NsHSfOsKHjepASSzluiu2FYblYsBlGkJXze25yUtjgk/esg=="},"maintainers":[{"name":"anonymous","email":"neosoyn@gmail.com"}],"directories":{},"publish_time":1449666223127,"_hasShrinkwrap":false,"_cnpm_publish_time":1449666223127,"_cnpmcore_publish_time":"2021-12-17T03:41:14.954Z","contributors":[]},"1.3.1":{"name":"fetch-ie8","version":"1.3.1","main":"fetch.js","repository":{"type":"git","url":"git+https://github.com/camsong/fetch.git"},"license":"MIT","devDependencies":{"browserify":"^9.0.8","es6-promise":"^2.1.1","isarray":"0.0.1","jshint":"2.5.2","mocha":"2.1.0"},"files":["LICENSE","fetch.js"],"gitHead":"74742b246026253b0f3bd0deb9ce7411ab646f28","description":"**This fork supports IE8 with es5-shim, es5-sham and es6-promise.**","bugs":{"url":"https://github.com/camsong/fetch/issues"},"homepage":"https://github.com/camsong/fetch#readme","_id":"fetch-ie8@1.3.1","scripts":{},"_shasum":"bfc2de10b378310272046b5b4c7d9c3b379dc34f","_from":".","_npmVersion":"2.13.4","_nodeVersion":"2.5.0","_npmUser":{"name":"anonymous","email":"neosoyn@gmail.com"},"dist":{"shasum":"bfc2de10b378310272046b5b4c7d9c3b379dc34f","size":5433,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/fetch-ie8/-/fetch-ie8-1.3.1.tgz","integrity":"sha512-TtEQYevMkT0fRUIoqGsZ9Wm2kx+rLe3Ey1T/fA648zVVX1xDy6Ubg8N4Yr6I4VYbN/QObpkqtSAWbEcyPMx8TQ=="},"maintainers":[{"name":"anonymous","email":"neosoyn@gmail.com"}],"directories":{},"publish_time":1441720287036,"_hasShrinkwrap":false,"_cnpm_publish_time":1441720287036,"_cnpmcore_publish_time":"2021-12-17T03:41:15.154Z","contributors":[]},"1.3.0":{"name":"fetch-ie8","version":"1.3.0","main":"fetch.js","repository":{"type":"git","url":"git+https://github.com/camsong/fetch.git"},"license":"MIT","devDependencies":{"browserify":"^9.0.8","es6-promise":"^2.1.1","isarray":"0.0.1","jshint":"2.5.2","mocha":"2.1.0"},"files":["LICENSE","fetch.js"],"gitHead":"21506b16cc2620ebfefb6716ca042a8094be6a6d","description":"**This fork supports IE8 with es5-shim, es5-sham and es6-promise.**","bugs":{"url":"https://github.com/camsong/fetch/issues"},"homepage":"https://github.com/camsong/fetch#readme","_id":"fetch-ie8@1.3.0","scripts":{},"_shasum":"4a7e1cce9b52886e0145d576c41975a8f231b4b3","_from":".","_npmVersion":"2.13.4","_nodeVersion":"2.5.0","_npmUser":{"name":"anonymous","email":"neosoyn@gmail.com"},"dist":{"shasum":"4a7e1cce9b52886e0145d576c41975a8f231b4b3","size":5334,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/fetch-ie8/-/fetch-ie8-1.3.0.tgz","integrity":"sha512-WdjlT5ofbKQzkqi3BbIVXiPb3bTE0D+8DNRhxk4fekw3mdMeLyxUZGTU79i5FuTPXlT2uqVS4zW6Id8ALWzw7g=="},"maintainers":[{"name":"anonymous","email":"neosoyn@gmail.com"}],"directories":{},"publish_time":1440384668240,"_hasShrinkwrap":false,"_cnpm_publish_time":1440384668240,"_cnpmcore_publish_time":"2021-12-17T03:41:15.378Z","contributors":[]},"1.2.0":{"name":"fetch-ie8","version":"1.2.0","main":"fetch.js","repository":{"type":"git","url":"git+https://github.com/camsong/fetch.git"},"license":"MIT","devDependencies":{"browserify":"^9.0.8","es6-promise":"^2.1.1","isarray":"0.0.1","jshint":"2.5.2","mocha":"2.1.0"},"files":["LICENSE","fetch.js"],"gitHead":"408edd6e1ad3ec5cb136338bc8033384eb8fc4be","description":"**This fork supports IE8 with es5-shim, es5-sham and es6-promise.**","bugs":{"url":"https://github.com/camsong/fetch/issues"},"homepage":"https://github.com/camsong/fetch#readme","_id":"fetch-ie8@1.2.0","scripts":{},"_shasum":"dea9ce6647a5835032f51d48f2996d2d091c7650","_from":".","_npmVersion":"2.13.4","_nodeVersion":"2.5.0","_npmUser":{"name":"anonymous","email":"neosoyn@gmail.com"},"dist":{"shasum":"dea9ce6647a5835032f51d48f2996d2d091c7650","size":5202,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/fetch-ie8/-/fetch-ie8-1.2.0.tgz","integrity":"sha512-jUUMZbhtai/4gUFjD+xAnxrYDYTweHov6mx4G2M7W1S2LN5+0gh0r3auktQK6bkNniCp6VvQh+25YA29VS+vyw=="},"maintainers":[{"name":"anonymous","email":"neosoyn@gmail.com"}],"directories":{},"publish_time":1439542018959,"_hasShrinkwrap":false,"_cnpm_publish_time":1439542018959,"_cnpmcore_publish_time":"2021-12-17T03:41:15.620Z","contributors":[]},"1.1.0":{"name":"fetch-ie8","version":"1.1.0","main":"fetch.js","repository":{"type":"git","url":"git+https://github.com/camsong/fetch.git"},"license":"MIT","devDependencies":{"browserify":"^9.0.8","es6-promise":"^2.1.1","isarray":"0.0.1","jshint":"2.5.2","mocha":"2.1.0"},"files":["LICENSE","fetch.js"],"gitHead":"c9a4799fea5024a9b69b7c52e91c109b89ad59c0","description":"**This fork supports IE8 with es5-shim, es5-sham and es6-promise.**","bugs":{"url":"https://github.com/camsong/fetch/issues"},"homepage":"https://github.com/camsong/fetch#readme","_id":"fetch-ie8@1.1.0","scripts":{},"_shasum":"ecedfd7618a6368694bdd883a48161ff5767ff5b","_from":".","_npmVersion":"2.13.4","_nodeVersion":"2.5.0","_npmUser":{"name":"anonymous","email":"neosoyn@gmail.com"},"dist":{"shasum":"ecedfd7618a6368694bdd883a48161ff5767ff5b","size":5382,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/fetch-ie8/-/fetch-ie8-1.1.0.tgz","integrity":"sha512-2ZxCC0LJziOYCCa0mwujGftLzpui8Aac4omYO+PRO+rOa80h+nKr0eeCkdYuktqbZrOqZtjS1XW7kaGHV+Kmnw=="},"maintainers":[{"name":"anonymous","email":"neosoyn@gmail.com"}],"directories":{},"publish_time":1439473972534,"_hasShrinkwrap":false,"_cnpm_publish_time":1439473972534,"_cnpmcore_publish_time":"2021-12-17T03:41:15.812Z","contributors":[]},"1.0.0":{"name":"fetch-ie8","version":"1.0.0","main":"fetch.js","repository":{"type":"git","url":"git+https://github.com/camsong/fetch.git"},"license":"MIT","devDependencies":{"browserify":"^9.0.8","es6-promise":"^2.1.1","isarray":"0.0.1","jshint":"2.5.2","mocha":"2.1.0"},"files":["LICENSE","fetch.js"],"gitHead":"92679c7933fe5c5e49fd4369379e17848b9bf105","description":"**This fork supports IE8 with es5-shim, es5-sham and es6-promise** **If you need to support JSONP, checkout [fetch-jsonp](https://github.com/camsong/fetch-jsonp)**","bugs":{"url":"https://github.com/camsong/fetch/issues"},"homepage":"https://github.com/camsong/fetch#readme","_id":"fetch-ie8@1.0.0","scripts":{},"_shasum":"9ca9c2933a77f413257bd5e643430275c61f8728","_from":".","_npmVersion":"2.13.4","_nodeVersion":"2.5.0","_npmUser":{"name":"anonymous","email":"neosoyn@gmail.com"},"dist":{"shasum":"9ca9c2933a77f413257bd5e643430275c61f8728","size":5222,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/fetch-ie8/-/fetch-ie8-1.0.0.tgz","integrity":"sha512-n4QLso6Px2qr8uLG0sMNG6oL5hlEkX9P0zWWHgrJ3XtphGjq0/2NDJS7gsOjxkQkNlEs0oId14ZxB2Y9r/7xxQ=="},"maintainers":[{"name":"anonymous","email":"neosoyn@gmail.com"}],"directories":{},"publish_time":1439277531550,"_hasShrinkwrap":false,"_cnpm_publish_time":1439277531550,"_cnpmcore_publish_time":"2021-12-17T03:41:16.020Z","contributors":[]}},"dist-tags":{"latest":"1.5.0"},"name":"fetch-ie8","time":{"created":"2022-01-26T16:56:37.345Z","modified":"2023-08-01T06:39:44.738Z","1.5.0":"2017-02-28T03:42:10.715Z","1.4.3":"2016-06-22T07:09:21.581Z","1.4.2":"2016-03-13T14:55:53.936Z","1.4.1":"2016-01-20T13:45:24.247Z","1.4.0":"2015-12-09T13:03:43.127Z","1.3.1":"2015-09-08T13:51:27.036Z","1.3.0":"2015-08-24T02:51:08.240Z","1.2.0":"2015-08-14T08:46:58.959Z","1.1.0":"2015-08-13T13:52:52.534Z","1.0.0":"2015-08-11T07:18:51.550Z"},"readme":"# window.fetch polyfill\n\n**This fork supports IE8 with es5-shim, es5-sham and es6-promise.**\n\n**If you also use JSONP, checkout [fetch-jsonp](https://github.com/camsong/fetch-jsonp).**\n\n**Fetch API is still very new and not fully supported in some browsers, so you may\nneed to check browser verson as well as if `window.fetch` exists. In this case,\nyou can set `window.__disableNativeFetch = true` to use AJAX polyfill always.**\n\nThe global `fetch` function is an easier way to make web requests and handle\nresponses than using an XMLHttpRequest. This polyfill is written as closely as\npossible to the standard Fetch specification at https://fetch.spec.whatwg.org.\n\n## Installation\n\n```sh\n$ npm install fetch-ie8 --save\n```\n\nYou'll also need a Promise polyfill for older browsers.\n\n```sh\n$ npm install es6-promise\n```\n\nRun this to polyfill the global environment at the beginning of your application.\n```js\nrequire('es6-promise').polyfill();\n```\n\n(For a node.js implementation, try [node-fetch](https://github.com/bitinn/node-fetch))\n\n## Usage\n\nThe `fetch` function supports any HTTP method. We'll focus on GET and POST\nexample requests.\n\n### HTML\n\n```javascript\nfetch('/users.html')\n  .then(function(response) {\n    return response.text()\n  }).then(function(body) {\n    document.body.innerHTML = body\n  })\n```\n\n### JSON\n\n```javascript\nfetch('/users.json')\n  .then(function(response) {\n    return response.json()\n  }).then(function(json) {\n    console.log('parsed json', json)\n  }).catch(function(ex) {\n    console.log('parsing failed', ex)\n  })\n```\n\n### Response metadata\n\n```javascript\nfetch('/users.json').then(function(response) {\n  console.log(response.headers.get('Content-Type'))\n  console.log(response.headers.get('Date'))\n  console.log(response.status)\n  console.log(response.statusText)\n})\n```\n\n### Post form\n\n```javascript\nvar form = document.querySelector('form')\n\nfetch('/query', {\n  method: 'post',\n  body: new FormData(form)\n})\n```\n\n### Post JSON\n\n```javascript\nfetch('/users', {\n  method: 'post',\n  headers: {\n    'Accept': 'application/json',\n    'Content-Type': 'application/json'\n  },\n  body: JSON.stringify({\n    name: 'Hubot',\n    login: 'hubot',\n  })\n})\n```\n\n### File upload\n\n```javascript\nvar input = document.querySelector('input[type=\"file\"]')\n\nvar form = new FormData()\nform.append('file', input.files[0])\nform.append('user', 'hubot')\n\nfetch('/avatars', {\n  method: 'post',\n  body: form\n})\n```\n\n### Success and error handlers\n\nThis causes `fetch` to behave like jQuery's `$.ajax` by rejecting the `Promise`\non HTTP failure status codes like 404, 500, etc. The response `Promise` is\nresolved only on successful, 200 level, status codes.\n\n```javascript\nfunction status(response) {\n  if (response.status >= 200 && response.status < 300) {\n    return response\n  }\n  throw new Error(response.statusText)\n}\n\nfunction json(response) {\n  return response.json()\n}\n\nfetch('/users')\n  .then(status)\n  .then(json)\n  .then(function(json) {\n    console.log('request succeeded with json response', json)\n  }).catch(function(error) {\n    console.log('request failed', error)\n  })\n```\n\n### Response URL caveat\n\nThe `Response` object has a URL attribute for the final responded resource.\nUsually this is the same as the `Request` url, but in the case of a redirect,\nits all transparent. Newer versions of XHR include a `responseURL` attribute\nthat returns this value. But not every browser supports this. The compromise\nrequires setting a special server side header to tell the browser what URL it\njust requested (yeah, I know browsers).\n\n``` ruby\nresponse.headers['X-Request-URL'] = request.url\n```\n\nIf you want `response.url` to be reliable, you'll want to set this header. The\nday that you ditch this polyfill and use native fetch only, you can remove the\nheader hack.\n\n## Browser Support\n\n![Chrome](https://raw.github.com/alrra/browser-logos/master/src/chrome/chrome_48x48.png) | ![Firefox](https://raw.github.com/alrra/browser-logos/master/src/firefox/firefox_48x48.png) | ![IE](https://raw.github.com/alrra/browser-logos/master/src/archive/internet-explorer_7-8/internet-explorer_7-8_48x48.png) | ![Opera](https://raw.github.com/alrra/browser-logos/master/src/opera/opera_48x48.png) | ![Safari](https://raw.github.com/alrra/browser-logos/master/src/safari/safari_48x48.png)\n--- | --- | --- | --- | --- |\nLatest ✔ | Latest ✔ | 8+ ✔ | Latest ✔ | 6.1+ ✔ |","users":{}}