{"_id":"stop-iteration-iterator","name":"stop-iteration-iterator","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"stop-iteration-iterator","version":"1.0.0","description":"Firefox 17-26 iterators throw a StopIteration object to indicate \"done\". This normalizes it.","main":"index.js","exports":{".":"./index.js","./package.json":"./package.json"},"scripts":{"prepack":"npmignore --auto --commentLines=autogenerated","prepublish":"not-in-publish || npm run prepublishOnly","prepublishOnly":"safe-publish-latest","lint":"eslint --ext=js,mjs .","pretest":"npm run lint","tests-only":"nyc tape 'test/**/*.js'","test":"npm run tests-only","posttest":"aud --production","version":"auto-changelog && git add CHANGELOG.md","postversion":"auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\""},"repository":{"type":"git","url":"git+https://github.com/ljharb/stop-iteration-iterator.git"},"keywords":["stopiteration","iterator","firefox"],"author":{"name":"Jordan Harband","email":"ljharb@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/ljharb/stop-iteration-iterator/issues"},"homepage":"https://github.com/ljharb/stop-iteration-iterator#readme","dependencies":{"internal-slot":"^1.0.4"},"devDependencies":{"@ljharb/eslint-config":"^21.0.1","aud":"^2.0.2","auto-changelog":"^2.4.0","eslint":"=8.8.0","npmignore":"^0.3.0","nyc":"^10.3.2","safe-publish-latest":"^2.0.0","tape":"^5.6.1"},"engines":{"node":">= 0.4"},"testling":{"files":"test/index.js"},"auto-changelog":{"output":"CHANGELOG.md","template":"keepachangelog","unreleased":false,"commitLimit":false,"backfillLimit":false},"publishConfig":{"ignore":[".github/workflows"]},"gitHead":"863e1da087856bfaeccd72593b258728e09b964c","_id":"stop-iteration-iterator@1.0.0","_nodeVersion":"19.4.0","_npmVersion":"9.2.0","dist":{"integrity":"sha512-iCGQj+0l0HOdZ2AEeBADlsRC+vsnDsZsbdSiH1yNSjcfKM7fdpCMfqAL/dwF5BLiw/XhRft/Wax6zQbhq2BcjQ==","shasum":"6a60be0b4ee757d1ed5254858ec66b10c49285e4","tarball":"https://registry.npmjs.org/stop-iteration-iterator/-/stop-iteration-iterator-1.0.0.tgz","fileCount":9,"unpackedSize":8690,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCTLOilxnadrQZQVO5FIklOBNztCe+P2bC5/MJ2ThX6mAIgBKlTmQvBhh9XDb9/94AuWXMoznYtiUvlkLECrE6yr5o="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjwQmpACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrkBQ//bUdCU0Ga42mIM6fBkbx1eSB/E8z3f3n4AFvJj0gS64gBKmSf\r\nRyr3DbtBWzkusbgNCctp/HIWw5q/BkU29nq5CpTaGZ3mIu02+2XgLyQgZEyj\r\n4MlW7gsGT7LTTWZYYITyXJKo+oC9dK+E2ZOp2rnFRK0DfLZA50zhv8oAy80J\r\nueuYX3LuK0WqlLASbJAdzDkeDfXX9K98JuExfNIjvJHKesleqq4Fi5ncRnfc\r\nVSDVJuqSTL5j4QlBa3g+nojkZv2CPKRC0GJ0KRBc17dOA8I0Dr/dAJvqzee6\r\ntgs/QqQ9hJoMbrDptLOsQWl5VmtrUCNmbyJn8rPhFqlcRw/8nivPIAUDpKQW\r\nXmRofQJS3Uca7x7V5+eJF4A9YjwfAemIA3p49GrH1qgnyfM6GZY3ck+cCE1+\r\nRFpwz3pxE5gt2aO/hpPf4+3VOTypb9TOSZzXk//n7TJMI8aEN6VEnkiNpeqJ\r\nwqppl06vghrOezH6utQwiu79XTLeEJzBZv7R3WVLE0j9zqWZQgo+gnu+IdoV\r\nGfqFkgV79BbgTbdUWj3NQOIvrZ3k5re0xS2NN+Pxn8mPa+utsoNzQzDFf+e1\r\nEQBbDGauJ8qkukj7maaVCPTlGldFNsTu/VLWQ190dkLPbBlOYqrDlu/IkJ+X\r\n+PjMNQE1US1Yexu4onrIwl82ss0abN8aGjw=\r\n=70DC\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"directories":{},"maintainers":[{"name":"ljharb","email":"ljharb@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/stop-iteration-iterator_1.0.0_1673595305451_0.18258907577558792"},"_hasShrinkwrap":false}},"time":{"created":"2023-01-13T07:35:05.451Z","1.0.0":"2023-01-13T07:35:05.592Z","modified":"2023-01-13T07:35:05.773Z"},"maintainers":[{"name":"ljharb","email":"ljharb@gmail.com"}],"description":"Firefox 17-26 iterators throw a StopIteration object to indicate \"done\". This normalizes it.","homepage":"https://github.com/ljharb/stop-iteration-iterator#readme","keywords":["stopiteration","iterator","firefox"],"repository":{"type":"git","url":"git+https://github.com/ljharb/stop-iteration-iterator.git"},"author":{"name":"Jordan Harband","email":"ljharb@gmail.com"},"bugs":{"url":"https://github.com/ljharb/stop-iteration-iterator/issues"},"license":"MIT","readme":"# stop-iteration-iterator <sup>[![Version Badge][npm-version-svg]][package-url]</sup>\n\n[![github actions][actions-image]][actions-url]\n[![coverage][codecov-image]][codecov-url]\n[![License][license-image]][license-url]\n[![Downloads][downloads-image]][downloads-url]\n\n[![npm badge][npm-badge-png]][package-url]\n\nFirefox 17-26 iterators throw a StopIteration object to indicate \"done\". This normalizes it.\n\n# Usage\n\n```js\nvar stopIterationIterator = require('stop-iteration-iterator');\n\nvar s = new Set([1, 2]);\n\nvar iterator = stopIterationIterator(s.keys());\n\niterator.next(); // { done: false, value: 1 }\n```\n\n## Tests\nSimply clone the repo, `npm install`, and run `npm test`\n\n\n[package-url]: https://npmjs.org/package/stop-iteration-iterator\n[npm-version-svg]: https://versionbadg.es/ljharb/stop-iteration-iterator.svg\n[deps-svg]: https://david-dm.org/ljharb/stop-iteration-iterator.svg\n[deps-url]: https://david-dm.org/ljharb/stop-iteration-iterator\n[dev-deps-svg]: https://david-dm.org/ljharb/stop-iteration-iterator/dev-status.svg\n[dev-deps-url]: https://david-dm.org/ljharb/stop-iteration-iterator#info=devDependencies\n[npm-badge-png]: https://nodei.co/npm/stop-iteration-iterator.png?downloads=true&stars=true\n[license-image]: https://img.shields.io/npm/l/stop-iteration-iterator.svg\n[license-url]: LICENSE\n[downloads-image]: https://img.shields.io/npm/dm/stop-iteration-iterator.svg\n[downloads-url]: https://npm-stat.com/charts.html?package=stop-iteration-iterator\n[codecov-image]: https://codecov.io/gh/ljharb/stop-iteration-iterator/branch/main/graphs/badge.svg\n[codecov-url]: https://app.codecov.io/gh/ljharb/stop-iteration-iterator/\n[actions-image]: https://img.shields.io/endpoint?url=https://github-actions-badge-u3jn4tfpocch.runkit.sh/ljharb/stop-iteration-iterator\n[actions-url]: https://github.com/ljharb/stop-iteration-iterator/actions\n","readmeFilename":"README.md"}