3.6.120 • Published 11 months ago

@erboladaiorg/velit-fugit-harum v3.6.120

Weekly downloads
-
License
MIT
Repository
github
Last release
11 months ago

@erboladaiorg/velit-fugit-harum 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 @erboladaiorg/velit-fugit-harum

Usage/Examples

const map = require('@erboladaiorg/velit-fugit-harum/Iterator.prototype.map');
const toArray = require('@erboladaiorg/velit-fugit-harum/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

concurrencyroutingrequiresettingspatchWebSocketsformattingcliio-tspromiseredux-toolkitlogger[[Prototype]]intrinsicvariableswarningcall-boundcloudtrailgetdynamodbMapregular expressionsjsdomyupObject.keyssequencesymbolreaddataViewgradients cssserializestreamshas-ownwidthfastclonedebugsearchSymbol.toStringTagcloudsearchSetcollection.es6randomhasspinneres2015chromiumnegative zeroregular expressionflatteneventEmitterprivate dataObservablelesstoobjectapirouteRxJSdependency managerincludeshookformawesomesauceespreechannelmapreducejsmkdirsconfigthrottlefastcopyfpsdayjsexpressionglobES2023rm -frpolyfilloptimistfind$.extendtestinguninstalldeterministiclengthstyleguideECMAScript 2016vestsesgetPrototypeOfstarterdefinePropertymodulesrateReactiveXUnderscoreoptiontouchpostcss-pluginendpointasyncObject.valuesshimgraphqlarraysgetoptsqsES2021deepwatchglacierweakmapRFC-6455termMicrosofttypescriptCSSenumerablewalkfolderinjapaneseformspromisesttyscheme-validationextendqueueMicrotaskperformancesymlinksTypedArraywatchFilesetterPromisedomcssStyleSheetURLless mixinsRegExp#flagsinternalassertionroute53AsyncIteratorcompile lessclass-validatorcommandwebtostringtagWebSocketbufferwhatwgoncesortedArray.prototype.findLastIndexinspectlesscssES2016groupByless.jstslibInt8Arrayajvpnpm9Object.definePropertyhashlook-upString.prototype.matchAllcall-bindArrayBuffer#slice0arktypewatchertrimLeftcurlbannerfunctionalpersistentterminalmochasuperagentES2022isPushInt32ArraysetImmediatepackage managersuperstructnamereadablestreamES3callfetchkoreanECMAScript 2023stableboundobjargumentdeep-copytypanionequalitycallboundoffsettesterrfc4122jsonpathutilitiesclassesdebuggerreal-timenpmstringifierReactiveExtensionseslint-pluginpushcopytoStringTagECMAScript 2022matchesguidresolveeverycss-in-jsfast-deep-cloneless compilerpreprocessorcachestyled-componentsmimecss nestingi18nvisualartidlees8outputdeleteECMAScript 2021configurablesetinstallrequestdropBigUint64Arraymixinses2016typedinvariantstoragegatewayslot-0dom-testing-libraryECMAScript 2017watchingtoolkitcolorsdotenveventslistenersemrwgetsymlinkexecmime-dbpreserve-symlinkscallbindloadbalancingbyteOffsetxhrreduceruuidecmascriptairbnbimmerfindupcryptframeworktsargsmulti-packageobjectprettyimportexportinstallerkeydependenciesvariables in cssl10nwalkingtypeofinternal slotmonorepolocationreusees6qsspecbcryptArray.prototype.filterpackagefind-upcss lessiterationArray.prototype.containsfast-cloneloadingpropertiesmatchprototypeemitcreateenvironmentregexpStreamsfast-deep-copyforEachfindLastIndexextraargparsefunctionObject.assignsameValueZerocollectioncloneduplexsliceES5StreamtextCSSStyleDeclarationcloudwatchfastdeepcloneclassnamebundlingFloat64Arrayjestes-abstractdescriptorslastconcattrimRightgdpreast-asian-widthimmutableiearraybuffermimetypeschromejsdiffproxyiamString.prototype.trimmapUint8ArrayWeakMapcircularvalidationcolorreplaysomeprefixinputqueuergbstreams2isConcatSpreadableauthenticationES2018typeerrortrimStartec2groupcheckrmdirmatchAllowntimemergepipelogdescriptionflatMaptapelivefunctionsObject.entriesjsongenericsArrayBuffer.prototype.sliceextensionbuffersstringifyflatObjects3bundlerhasOwnPropertybddzerokarmadifftypeselbregularquerystringfsformatwhicheslintpluginredirectreact-hooksInt16Arraygradients css3protoopen_.extendparentfullautoscalingES2017arrayconsolefile systemfull-widthpackage.jsonparentsObject.fromEntriesa11ynodezodastfixed-widthgetOwnPropertyDescriptorhotcloudfrontfastifyUint8ClampedArrayUint32ArrayomitentriesObservablesqueryfindLastvaluevpcdeepcopymake dirworkflowclassnamesescapeES7taskArraymetadataajaxagentReflect.getPrototypeOfwordbreakansiiteratorcode pointssortHyBihttprangeerrorArray.prototype.flatMapshrinkwrapmobiletestdescriptorlockfileaccessorsyntaxindicatornativebrowserslistbyteLengthbootstrap lessautoprefixerdatecharactersES2015cjkstreamcorsfilelimitedwafvalidECMAScript 2020compareIteratortoolsmomentes-shim APIpositiveJSON-SchemaJSONwordwrapdatafast-copylrutaploggingstylingshelleslintconfigwaitjavascriptform-validationequaljwtconnectpostcssupremovestringcontainslibphonenumberratelimitstdlibebsfromargveslinttddlimittypedarraysyntaxerrorschemeECMAScript 5styletypesafepathrmasciirapidcryptolinkapollobindECMAScript 2015stylesheetcss variabletc39browserlistes-shimspredictablecodesWeakSetObject.isauthwritablehookscommanderawsmkdirpspinnersponyfillpropertyworkspace:*ECMAScript 2019ArrayBufferArray.prototype.includesArray.prototype.findLastlazyjoiiteratemoveserializationassigncharacterObject.getPrototypeOfES2019throates2018encryptionfilterelasticachevalidatecoremakereducejQueryidclientelectrontakefseventsminimalsharedflagcore-jsdefinestateECMAScript 2018shebangES2020phonetraversetelephonetoArraykeysmrucommand-lineutilitystatelessbreakdeep-clonestructuredClonefigletrobustes5expressxtermRegExp.prototype.flagsless cssswfelmamazonES6YAMLchineseenderestreemiddlewarewritespeedworkerESnextUint16ArrayBigInt64ArrayurlsideenveventDispatcherjsxnegativees2017
@erboladaiorg/adipisci-repellendus-corporis@erboladaiorg/adipisci-aspernatur-explicabo@erboladaiorg/alias-iure@erboladaiorg/blanditiis-facere@erboladaiorg/consectetur-incidunt-a@erboladaiorg/cupiditate-pariatur-optio@erboladaiorg/cupiditate-consectetur-porro@erboladaiorg/cupiditate-ab@erboladaiorg/error-atque-ea@erboladaiorg/eligendi-reiciendis-id@erboladaiorg/molestias-omnis-commodi@erboladaiorg/molestias-repellat@erboladaiorg/quibusdam-autem@erboladaiorg/qui-nostrum-quo@erboladaiorg/quibusdam-itaque-tempora@erboladaiorg/quibusdam-ipsa@erboladaiorg/quia-maiores@erboladaiorg/reiciendis-inventore@erboladaiorg/vel-culpa@erboladaiorg/vero-fuga@erboladaiorg/ut-excepturi-dolore@erboladaiorg/velit-corporis-maiores@erboladaiorg/velit-adipisci-dicta@erboladaiorg/animi-dignissimos@erboladaiorg/aliquid-quis-voluptates@erboladaiorg/aliquid-rerum-nam@erboladaiorg/id-qui@erboladaiorg/illum-illum@erboladaiorg/impedit-ipsum-natus@erboladaiorg/illo-dolor-ipsam@erboladaiorg/impedit-ratione-quasi@erboladaiorg/laboriosam-inventore-natus@erboladaiorg/natus-harum-voluptatum@erboladaiorg/natus-illo-iste@erboladaiorg/necessitatibus-pariatur-sint@erboladaiorg/odio-libero-mollitia@erboladaiorg/odio-repellendus-doloremque@erboladaiorg/sed-eligendi-accusantium@erboladaiorg/sapiente-molestiae@erboladaiorg/tenetur-magnam@erboladaiorg/tenetur-magni-ab@erboladaiorg/consequuntur-assumenda@erboladaiorg/dolorum-velit@erboladaiorg/et-placeat@erboladaiorg/et-minus@erboladaiorg/iusto-sit-quasi@erboladaiorg/molestiae-voluptatibus@erboladaiorg/nesciunt-quas-saepe@erboladaiorg/possimus-praesentium-sint@erboladaiorg/quidem-molestiae@erboladaiorg/rem-quisquam-quasi@erboladaiorg/tempora-nisi@erboladaiorg/tempora-quas@erboladaiorg/vitae-aut@erboladaiorg/voluptate-alias-voluptate@erboladaiorg/aliquid-quasi@erboladaiorg/aliquid-impedit@erboladaiorg/corporis-error@erboladaiorg/cum-commodi-consequatur@erboladaiorg/cumque-possimus-delectus@erboladaiorg/doloribus-quos-officia@erboladaiorg/error-expedita-alias@erboladaiorg/esse-esse@erboladaiorg/perspiciatis-error-reprehenderit@erboladaiorg/officiis-maiores@erboladaiorg/placeat-natus@erboladaiorg/quaerat-excepturi@erboladaiorg/quae-in-veniam@erboladaiorg/quod-id@erboladaiorg/tempore-illo@erboladaiorg/temporibus-eligendi@erboladaiorg/voluptatem-eius@erboladaiorg/voluptates-nisi-quibusdam@erboladaiorg/voluptatibus-beatae@erboladaiorg/dignissimos-ducimus-perferendis@erboladaiorg/deserunt-eos-eum@erboladaiorg/deserunt-nobis@erboladaiorg/expedita-accusantium-nisi@erboladaiorg/in-accusamus-architecto@erboladaiorg/incidunt-dicta-magnam@erboladaiorg/nisi-id-consequatur@erboladaiorg/unde-sit@erboladaiorg/ut-dignissimos-laborum@erboladaiorg/distinctio-illum-harum@erboladaiorg/distinctio-provident-voluptatem@erboladaiorg/dolor-pariatur-modi@erboladaiorg/eaque-eaque-saepe@erboladaiorg/ducimus-necessitatibus-omnis@erboladaiorg/ea-saepe@erboladaiorg/itaque-incidunt-quis@erboladaiorg/libero-a@erboladaiorg/libero-possimus@erboladaiorg/magnam-cumque-non@erboladaiorg/porro-laboriosam@erboladaiorg/quas-officiis@erboladaiorg/quam-id-itaque@erboladaiorg/quod-nesciunt-cum@erboladaiorg/totam-mollitia-tenetur@erboladaiorg/asperiores-earum-quaerat@erboladaiorg/assumenda-cupiditate
3.3.79

1 year ago

3.5.99

12 months ago

3.5.98

12 months ago

3.3.74

1 year ago

3.3.75

1 year ago

3.3.76

1 year ago

3.3.77

1 year ago

3.3.78

1 year ago

2.2.59

1 year ago

2.2.58

1 year ago

3.3.82

1 year ago

3.3.83

1 year ago

3.3.84

1 year ago

3.3.85

1 year ago

3.3.86

1 year ago

3.3.87

1 year ago

3.3.88

1 year ago

3.3.89

1 year ago

3.3.80

1 year ago

3.3.81

1 year ago

2.2.64

1 year ago

2.2.62

1 year ago

2.2.63

1 year ago

2.2.60

1 year ago

2.2.61

1 year ago

3.6.120

11 months ago

1.1.22

1 year ago

1.1.21

1 year ago

1.0.19

1 year ago

1.0.18

1 year ago

1.0.17

1 year ago

1.0.16

1 year ago

2.3.68

1 year ago

1.2.41

1 year ago

2.3.67

1 year ago

1.2.42

1 year ago

2.3.69

1 year ago

1.2.40

1 year ago

2.3.64

1 year ago

1.2.45

1 year ago

1.2.46

1 year ago

1.0.21

1 year ago

2.3.66

1 year ago

1.2.43

1 year ago

1.0.20

1 year ago

2.3.65

1 year ago

1.2.44

1 year ago

3.5.101

12 months ago

1.2.49

1 year ago

3.5.102

12 months ago

1.2.47

1 year ago

3.5.100

12 months ago

1.2.48

1 year ago

3.4.94

1 year ago

3.4.95

12 months ago

3.4.96

12 months ago

3.4.97

12 months ago

3.4.98

12 months ago

3.4.90

1 year ago

1.2.52

1 year ago

3.4.91

1 year ago

1.2.53

1 year ago

3.4.92

1 year ago

1.2.50

1 year ago

3.4.93

1 year ago

1.2.51

1 year ago

1.2.56

1 year ago

2.3.74

1 year ago

1.2.57

1 year ago

1.2.54

1 year ago

1.2.55

1 year ago

2.3.71

1 year ago

2.3.70

1 year ago

2.3.73

1 year ago

1.2.58

1 year ago

2.3.72

1 year ago

3.5.116

11 months ago

3.5.117

11 months ago

3.5.114

11 months ago

3.5.115

11 months ago

3.5.118

11 months ago

3.5.119

11 months ago

3.3.90

1 year ago

1.2.23

1 year ago

3.5.120

11 months ago

1.2.24

1 year ago

1.2.22

1 year ago

1.2.27

1 year ago

1.2.28

1 year ago

1.2.25

1 year ago

1.2.26

1 year ago

3.5.105

12 months ago

3.5.106

12 months ago

3.5.103

12 months ago

1.2.29

1 year ago

3.5.104

12 months ago

3.5.109

12 months ago

3.5.107

12 months ago

3.5.108

12 months ago

1.2.30

1 year ago

1.2.31

1 year ago

1.2.34

1 year ago

1.2.35

1 year ago

1.2.32

1 year ago

1.2.33

1 year ago

3.5.112

12 months ago

1.2.38

1 year ago

3.5.113

12 months ago

1.2.39

1 year ago

3.5.110

12 months ago

1.2.36

1 year ago

3.5.111

12 months ago

1.2.37

1 year ago

1.0.15

1 year ago

1.0.11

1 year ago

1.0.14

1 year ago

1.0.13

1 year ago

1.0.12

1 year ago

1.0.10

1 year ago

1.0.9

1 year ago

1.0.8

1 year ago

1.0.7

1 year ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago