3.6.77 • Published 11 months ago

@diotoborg/recusandae-omnis v3.6.77

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

@diotoborg/recusandae-omnis 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 iterator 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 @diotoborg/recusandae-omnis

Usage/Examples

const map = require('@diotoborg/recusandae-omnis/Iterator.prototype.map');
const toArray = require('@diotoborg/recusandae-omnis/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

route53preprocessorshimform-validationisbusyenvironmentsflattenwarningeveryECMAScript 2015io-tslocalimmerentriesfindoptimistES2019arktypetermexpressjoiec2ECMAScriptfputildifffast-copybyteOffsettextminimalStyleSheetformscallbindshamnpmignoreendpointhelperlesscssarraysObservablesArray.prototype.filter$.extendtestwindowssignalAsyncIteratorvalidYAMLchildponyfillautoscalinges6enumerableutilityincludesfromjavascriptsuperagentwhichECMAScript 2020accessibilityconfigpurecolourmake dirRxJSBigInt64Arrayfastbrowserlistgitignoreglaciertshotsigint[[Prototype]]viewTypeScriptPushES2021consoleimportexportlivezeroajaxsymlinksBigUint64ArrayflatcurriedsimpledbbeanstalkArray.prototype.findLastIndexstreamdeletekoreanzxtoobjectextendclientecmascriptinstallerpropertyserializeiteratornopevarposefast-clonetrimEndhardlinksiterationvpcairbnbtoSorteddropcollection.es6xhrgloballazyyupinmockingtypecachejson-schema-validatoroperating-systemignorearraybufferwritableunicodefile system.gitignorenodejsboundfindLastIndexartastsomehandlerscopyaccessorlrureadablestreamvalidationharmonyescapeJSON-Schema.envresolvefindLastoptiontypescripttoolkitRegExp#flagsfunctionspecxtermvariables in cssgradients css3colorgetterstreamsmanagerintrinsicredactisConcatSpreadableWeakMaproutecss-in-jsagentArraysameValueZeroconstpropcorenegativees2016fast-deep-clonecss nestingcssespreetoStringTagUint8ArrayhasOwnPropertystylereact-hooksa11yexecutesyntaxerrortoolsterminalweaksetreusecloudtrailpinonodeeslintpluginObject.valuesprocessbcryptrdsrequest_.extendInt32ArrayproxyCSSStyleDeclarationArray.prototype.flattenjsdiffkeyconcatspawnECMAScript 2016transportexecargsString.prototype.trimgetoptstringifierpositivethreeswfES2022postcssSystem.globalECMAScript 7TypeBoxfantasy-landchinesefastclonespinnerSeteffect-tsperformantreact-componentfiledescriptionFunction.prototype.nameshrinkwrapelmidleobjweakmaproutingECMAScript 2023Symbolcomputed-typesdeterministicelasticacheprunecallArray.prototype.containscompile lessstyled-componentsregular expressioncolumnoffsetphoneuser-streamsstarterfilterstylesheetmacosacornstoragegatewaycall-bindflagObject.getPrototypeOftouchl10ntslibpluginclass-validatordescriptorWeakSetjsxconsumefunction.lengthsortedelbwidthuninstallstablepreserve-symlinksprivatefastcopyFloat64Arrayless csspicomatchjsdomebsfunctionalstringifypostcss-pluginpushgesturesRegExp.prototype.flagsprototypedataViewtesterworkspace:*readsetloggingapolloES2020dataviewArrayBuffer#sliceECMAScript 3wgetmobiletestingsignedcolorsdirectorybootstrap lessframerfunctionseslintconfigless compilershellObservableglobal this valuebyteLengthreducereactfront-enddatenumbertypeofsortprogressbinariesUint16ArrayECMAScript 2017movebabel-corewindowECMAScript 5es2018animationreduxECMAScript 2021deep-copyconcatMapmakeArrayBufferiteratedataownhooksString.prototype.matchAllgdprprivate datareact animationgetpopmotionlistenerscompilermkdirrobustgetintrinsictypanionsess3descriptorserrorserveroncesyntaxcallbackurlhandlerutil.inspecttrimStartes-shim APIserializerbootstrap cssdeepcopyURLpyyamlglobquerywafjsonschemaargumentjsondircommandObject.definePropertypatchchannelcss variablehasutilscertificatesworkersettingsutilitiesrandomesfnmatchpackage.jsonfixed-widthbannerawesomesaucefpsglobalThislocationgroupBychromeinvariantES2016sigtermInt8ArraycollectioneventDispatchercommanderbabeltypeerrorformatquerystringgetOwnPropertyDescriptorscheme-validationtypesafenamesmkdirsInt16ArrayasterisksassignESnextECMAScript 2019trimajvsnstypedarrayfullwidthenvironmentgenericsstatelessstructuredCloneforklessmomentUint8ClampedArrayUnderscorecheckrgbbundlerstyleguideassertionirqpersistentvisuales7stylescirculartranspilerparserreal-timelastascii
3.6.77

11 months ago

3.6.76

11 months ago

3.6.75

11 months ago

3.6.74

11 months ago

3.6.73

11 months ago

3.6.72

11 months ago

3.6.71

11 months ago

3.5.71

11 months ago

3.5.70

11 months ago

3.5.69

11 months ago

3.5.68

11 months ago

3.4.68

11 months ago

3.4.67

11 months ago

3.4.66

11 months ago

3.4.65

11 months ago

3.4.64

11 months ago

3.4.63

11 months ago

3.4.62

11 months ago

3.4.61

11 months ago

3.4.60

11 months ago

3.4.59

12 months ago

3.4.58

12 months ago

3.4.57

12 months ago

2.4.57

12 months ago

2.4.56

12 months ago

2.4.55

12 months ago

2.4.54

12 months ago

2.4.53

12 months ago

2.4.52

12 months ago

2.4.51

12 months ago

2.4.50

12 months ago

2.4.49

12 months ago

2.4.48

12 months ago

2.4.47

12 months ago

2.4.46

12 months ago

2.4.45

12 months ago

2.4.44

12 months ago

2.4.43

12 months ago

2.4.42

12 months ago

2.4.41

12 months ago

2.4.40

1 year ago

2.4.39

1 year ago

2.4.38

1 year ago

2.4.37

1 year ago

2.4.36

1 year ago

2.3.36

1 year ago

2.2.36

1 year ago

2.2.35

1 year ago

2.2.34

1 year ago

2.1.34

1 year ago

2.1.33

1 year ago

2.1.32

1 year ago

2.1.31

1 year ago

2.1.30

1 year ago

2.1.29

1 year ago

2.1.28

1 year ago

2.1.27

1 year ago

2.1.26

1 year ago

1.1.26

1 year ago

1.1.25

1 year ago

1.1.24

1 year ago

1.1.23

1 year ago

1.1.22

1 year ago

1.1.21

1 year ago

1.1.20

1 year ago

1.1.19

1 year ago

1.1.18

1 year ago

1.1.17

1 year ago

1.1.16

1 year ago

1.1.15

1 year ago

1.1.14

1 year ago

1.1.13

1 year ago

1.1.12

1 year ago

1.1.11

1 year ago

1.1.10

1 year ago

1.1.9

1 year ago

1.1.8

1 year ago

1.1.7

1 year ago

1.1.6

1 year ago

1.1.5

1 year ago

1.1.4

1 year ago

1.1.3

1 year ago

1.1.2

1 year ago

1.1.1

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago