Detalhes do pacote

stop-iteration-iterator

ljharb39.5mMIT1.1.0

Firefox 17-26 iterators throw a StopIteration object to indicate "done". This normalizes it.

stopiteration, iterator, firefox

readme (leia-me)

stop-iteration-iterator Version Badge

github actions coverage License Downloads

npm badge

Firefox 17-26 iterators throw a StopIteration object to indicate "done". This normalizes it.

Usage

var stopIterationIterator = require('stop-iteration-iterator');

var s = new Set([1, 2]);

var iterator = stopIterationIterator(s.keys());

iterator.next(); // { done: false, value: 1 }

Tests

Simply clone the repo, npm install, and run npm test

changelog (log de mudanças)

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog and this project adheres to Semantic Versioning.

v1.1.0 - 2024-12-13

Commits

  • [New] add types f0ee985
  • [actions] split out node 10-20, and 20+ b49d910
  • [Dev Deps] update @ljharb/eslint-config, auto-changelog, npmignore, tape 2bdaff7
  • [types] clean up tsconfig c275b15
  • [meta] clean up changelog a3eeb9a
  • [Robustness] use es-errors ca51cb8
  • [Tests] replace aud with npm audit d4b8df0
  • [Deps] update internal-slot 61ca626
  • [Deps] update internal-slot cdabf84
  • [meta] add sideEffects flag a5f6cb6
  • [Dev Deps] add missing peer dep 6f6496e

v1.0.0 - 2023-01-12

Commits