{"_id":"stop-iteration-iterator","_rev":"1-8f3756af7309ed8f53ddd32d61c1b941","name":"stop-iteration-iterator","dist-tags":{"latest":"1.1.0"},"versions":{"1.0.0":{"name":"stop-iteration-iterator","version":"1.0.0","keywords":["stopiteration","iterator","firefox"],"author":{"name":"Jordan Harband","email":"ljharb@gmail.com"},"license":"MIT","_id":"stop-iteration-iterator@1.0.0","maintainers":[{"name":"ljharb","email":"ljharb@gmail.com"}],"homepage":"https://github.com/ljharb/stop-iteration-iterator#readme","bugs":{"url":"https://github.com/ljharb/stop-iteration-iterator/issues"},"dist":{"shasum":"6a60be0b4ee757d1ed5254858ec66b10c49285e4","tarball":"https://registry.npmjs.org/stop-iteration-iterator/-/stop-iteration-iterator-1.0.0.tgz","fileCount":9,"integrity":"sha512-iCGQj+0l0HOdZ2AEeBADlsRC+vsnDsZsbdSiH1yNSjcfKM7fdpCMfqAL/dwF5BLiw/XhRft/Wax6zQbhq2BcjQ==","signatures":[{"sig":"MEUCIQCTLOilxnadrQZQVO5FIklOBNztCe+P2bC5/MJ2ThX6mAIgBKlTmQvBhh9XDb9/94AuWXMoznYtiUvlkLECrE6yr5o=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8690,"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"},"main":"index.js","engines":{"node":">= 0.4"},"exports":{".":"./index.js","./package.json":"./package.json"},"gitHead":"863e1da087856bfaeccd72593b258728e09b964c","scripts":{"lint":"eslint --ext=js,mjs .","test":"npm run tests-only","prepack":"npmignore --auto --commentLines=autogenerated","pretest":"npm run lint","version":"auto-changelog && git add CHANGELOG.md","posttest":"aud --production","prepublish":"not-in-publish || npm run prepublishOnly","tests-only":"nyc tape 'test/**/*.js'","postversion":"auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\"","prepublishOnly":"safe-publish-latest"},"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"testling":{"files":"test/index.js"},"repository":{"url":"git+https://github.com/ljharb/stop-iteration-iterator.git","type":"git"},"_npmVersion":"9.2.0","description":"Firefox 17-26 iterators throw a StopIteration object to indicate \"done\". This normalizes it.","directories":{},"_nodeVersion":"19.4.0","dependencies":{"internal-slot":"^1.0.4"},"publishConfig":{"ignore":[".github/workflows"]},"_hasShrinkwrap":false,"auto-changelog":{"output":"CHANGELOG.md","template":"keepachangelog","unreleased":false,"commitLimit":false,"backfillLimit":false},"devDependencies":{"aud":"^2.0.2","nyc":"^10.3.2","tape":"^5.6.1","eslint":"=8.8.0","npmignore":"^0.3.0","auto-changelog":"^2.4.0","safe-publish-latest":"^2.0.0","@ljharb/eslint-config":"^21.0.1"},"_npmOperationalInternal":{"tmp":"tmp/stop-iteration-iterator_1.0.0_1673595305451_0.18258907577558792","host":"s3://npm-registry-packages"}},"1.1.0":{"name":"stop-iteration-iterator","version":"1.1.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"},"sideEffects":false,"scripts":{"prepack":"npmignore --auto --commentLines=autogenerated","prepublish":"not-in-publish || npm run prepublishOnly","prepublishOnly":"safe-publish-latest","lint":"eslint --ext=js,mjs .","postlint":"tsc && attw -P","pretest":"npm run lint","tests-only":"nyc tape 'test/**/*.js'","test":"npm run tests-only","posttest":"npx npm@'>= 10.2' audit --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":{"es-errors":"^1.3.0","internal-slot":"^1.1.0"},"devDependencies":{"@arethetypeswrong/cli":"^0.17.1","@ljharb/eslint-config":"^21.1.1","@ljharb/tsconfig":"^0.2.2","@types/tape":"^5.6.5","auto-changelog":"^2.5.0","encoding":"^0.1.13","eslint":"=8.8.0","in-publish":"^2.0.1","npmignore":"^0.3.1","nyc":"^10.3.2","safe-publish-latest":"^2.0.0","tape":"^5.9.0","typescript":"next"},"engines":{"node":">= 0.4"},"testling":{"files":"test/index.js"},"auto-changelog":{"output":"CHANGELOG.md","template":"keepachangelog","unreleased":false,"commitLimit":false,"backfillLimit":false,"hideCredit":true},"publishConfig":{"ignore":[".github/workflows"]},"_id":"stop-iteration-iterator@1.1.0","gitHead":"8bd657987cf89d59ac9909a01a1a24b17e6171be","types":"./index.d.ts","_nodeVersion":"23.4.0","_npmVersion":"10.9.2","dist":{"integrity":"sha512-eLoXW/DHyl62zxY4SCaIgnRhuMr6ri4juEYARS8E6sCEqzKpOiE521Ucofdx+KnDZl5xmvGYaaKCk5FEOxJCoQ==","shasum":"f481ff70a548f6124d0312c3aa14cbfa7aa542ad","tarball":"https://registry.npmjs.org/stop-iteration-iterator/-/stop-iteration-iterator-1.1.0.tgz","fileCount":11,"unpackedSize":11646,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCcQnGGvxXU/pYBmHNx+H5CoWSZ1wSTMLcg/UYu7PkM9AIgbYMgDgO/Q1vjN7x8XNY/PScK3H4YQbsHZA/2WfB0JF0="}]},"_npmUser":{"name":"ljharb","email":"ljharb@gmail.com"},"directories":{},"maintainers":[{"name":"ljharb","email":"ljharb@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/stop-iteration-iterator_1.1.0_1734129211880_0.005453605802572925"},"_hasShrinkwrap":false}},"time":{"created":"2023-01-13T07:35:05.451Z","modified":"2024-12-13T22:33:32.261Z","1.0.0":"2023-01-13T07:35:05.592Z","1.1.0":"2024-12-13T22:33:32.077Z"},"bugs":{"url":"https://github.com/ljharb/stop-iteration-iterator/issues"},"author":{"name":"Jordan Harband","email":"ljharb@gmail.com"},"license":"MIT","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"},"description":"Firefox 17-26 iterators throw a StopIteration object to indicate \"done\". This normalizes it.","maintainers":[{"name":"ljharb","email":"ljharb@gmail.com"}],"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"}