Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@firanorg/mollitia-molestias-accusamus

firanorg40.9kMIT10.13.142

[![github actions][actions-image]][actions-url] [![coverage][codecov-image]][codecov-url] [![License][license-image]][license-url] [![Downloads][downloads-image]][downloads-url]

fast, functional, consume, uuid, Array.prototype.flatten, slice, hasOwn, text, object, compiler, rds, read, guid, WebSockets, es-abstract, east-asian-width, extend, characters, arrays, robust, classes, fast-clone, pipe, HyBi, sham, Streams, ava, performance, preprocessor, fastcopy, testing, es-shim API, ansi, sigint, qs, redux, full-width, typeerror, ES6, installer, datastructure, Symbol.toStringTag, flags, formatting, Function.prototype.name, i18n, settings, toobject, ReactiveX, npm, mime-db, vpc, Set, buffer, sorted, WeakMap, mime, bdd, protocol-buffers, shebang, stringifier, bootstrap css, rest, picomatch, jest, elb, deterministic, macos, fs, clone, gradients css, escape, open, serialize, cloudfront, rm -rf, invariant, moment, coercible, omit, contains, ES2021, debug, groupBy, environments, superagent, walking, compile less, zero, gdpr, regular expressions, postcss-plugin, link, descriptors, iam, __proto__, workspace:*, duplex, estree, es2017, rapid, ArrayBuffer.prototype.slice, workflow, values, less compiler, flatten, minimal, Float64Array, protobuf, variables, es7, getter, tap, value, module, starter, obj, rm -fr, some, make dir, rate, group, URLSearchParams, flag, gradients css3, Float32Array, cache, dependencies, api, typed, ascii, request, require, config, iteration, get, findLastIndex, aws, react-hooks, hash, throat, redux-toolkit, typedarrays, readable, symbols, browserslist, autoscaling, bootstrap less, safe, hooks, is, Push, make, take, reuse, eslintconfig, name, promise, signal, watch, buffers, env, deep-copy, format, figlet, async, ES, js, byteOffset, vest, amazon, callbound, console, color, asserts, cors, dir, watcher, debugger, ts, bundling, korean, Array.prototype.findLast, joi, eventEmitter, bluebird, serialization, loading, check, signals, multi-package, assert, https, wordwrap, worker, validate, walk, fetch, form-validation, batch, file system, nodejs, chinese, sharedarraybuffer, streams2, matchAll, jsx, channel, array, ES8, time, concatMap, reducer, command, has-own, structuredClone, symlinks, [[Prototype]], framework, negative zero, String.prototype.matchAll, TypeBox, cloudformation, internal slot, optimist, emoji, endpoint, own, ecmascript, matches, patch, Array.prototype.findLastIndex, karma, copy, arraybuffer, busy, typedarray, exit, deep-clone, json, electron, css nesting, Map, core, css, match, private, nested css, spinner, Promise, shim, Uint8ClampedArray, ES2015, Int32Array, drop, rmdir, random, valid, date, forms, Object.assign, lint, move, css less, xterm, function, reduce, beanstalk, deep, prune, WeakSet, style, ratelimit, mkdirs, ECMAScript 2019, circular, higher-order, immutable, findLast, iterate, react-hook-form, toolkit, Object.entries, RFC-6455, fastify, whatwg, utility, route, limited, ECMAScript 2018, dotenv, JSON-Schema, warning, css variable, censor, deepclone, ebs, ES2022, prefix, Array, ArrayBuffer#slice, less, events, break, accessor, limit, l10n, ECMAScript 2015, typanion, validation, es5, importexport, isConcatSpreadable, view, arktype, once, argument, test, names, length, flat, properties, predictable, tools, has, nope, URL, ES7, fast-deep-clone, lazy, argv, look, jwt, state, flux, parse, proxy, fps, xhr, number, mkdir, art, log, agent, variables in css, positive, irq, defineProperty, term, find, byteLength, sigterm, map, bind, loadbalancing, assertion, Object.values, restful, hookform, bcrypt, visual, sequence, rangeerror, routing, readablestream, mru, accessibility, call, fixed-width, output, less css, package manager, commander, trimRight, TypedArray, deepcopy, ES2020, glob, waf, ECMAScript 7, utilities, crypto, less mixins, es2018, listeners, handlers, ec2, autoprefixer, setPrototypeOf, ES2016, fast-deep-copy, toSorted, stringify, look-up, ECMAScript 2020, ast, jQuery, folder, trimStart, command-line, typesafe, callbind, call-bound, call-bind, Array.prototype.flat, chrome, ajv, traverse

readme

@firanorg/mollitia-molestias-accusamus Version Badge

github actions coverage License Downloads

npm badge

An ESnext spec-compliant sync iterator helpers shim/polyfill/replacement that works as far down as ES3.

This package implements the es-shim API “multi” interface. It works in an ES3-supported environment and complies with the spec.

Because the Iterator.prototype methods depend on a receiver (the this value), the main export in each subdirectory takes the string to operate on as the first argument.

The main export of the package itself is simply an array of the available directory names. It’s sole intended use is for build tooling and testing.

Supported things

Environments where this is needed

  • node v22, Chrome >= v122: has a bug
  • node < v22, Chrome < v122, Safari <= v17.1, Firefox <= v125: not implemented

Getting started

npm install --save @firanorg/mollitia-molestias-accusamus

Usage/Examples

const map = require('@firanorg/mollitia-molestias-accusamus/Iterator.prototype.map');
const toArray = require('@firanorg/mollitia-molestias-accusamus/Iterator.prototype.toArray');
const assert = require('assert');

const iterator = [1, 2, 3].values();

const mapped = map(iterator, (x) => x + 10);
assert.deepEqual(
    mapped.next(),
    {
        done: false,
        value: 11,
    }
);
assert.deepEqual(
    toArray(mapped),
    [12, 13]
);
require('./auto'); // shim all of the methods

require('./Iterator.prototype.map/auto'); // shim the “map” method

Tests

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