1.11.68 • Published 5 months ago

@dramaorg/explicabo-quo v1.11.68

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

@dramaorg/explicabo-quo 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 @dramaorg/explicabo-quo

Usage/Examples

const map = require('@dramaorg/explicabo-quo/Iterator.prototype.map');
const toArray = require('@dramaorg/explicabo-quo/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

consumeJSONserializationbannerroute53rulesYAMLshamimportclientes6symbolsserializerPushmkdirprgbtrimStarttoReversedprefixxmlECMAScript 2018climruprogresses5json-schema-validatorcjkArray.prototype.containsfindnpmrapidcompilerprocessspawnisObject.entriesatomcollection.es6containstddviewimportexportWeakMapperformantobjectpatchrfc4122WebSocketzodautoprefixerfsRFC-6455robustcurriedgroupBydependency managertrimRightsharedarraybufferdragconcatpropertydescriptionwarninggetopt@@toStringTagincludesmovetstypesafeargsfull-widthes2018accessibilityterminalspinnerskoreanexecfilel10nvpcECMAScript 5sesswfhttpfpstacitgrouphasdataclassnamesRegExp.prototype.flagstraverseString.prototype.matchAllmanagerReactiveExtensionsES2020configreducetaketermeslintfindupjson-schemasubprocessenderajaxcharacterstyled-componentspolyfillprivate dataInt8ArrayramdahtmlxhrnamesBigUint64Arraycss-in-jspathnegative zeroassertionrequirehasOwndeep-copyflagemojilinksomeES2017nopestoragegatewayarraybuffercloudsearchlockfileformspackagefunctionaltelephonesharedshebangES8utilloadingspeedpackage managerreworkcryptosinatraredactposelanguagemapreduceglobalThisfindLastIndexapolloharmonyasciiweaksethooksECMAScript 2015json-schema-validationqsreactpostcssshimtestingmulti-packageoffsetkinesisreact poseloadbalancing3dAsyncIteratorReflect.getPrototypeOfinternaltimeenumerablehashwebhigher-ordergitignorejQueryECMAScript 2019es-abstractarktypebinariesfast-copyequalyupworkspace:*censorelasticachewhatwgsqsastbrowserslistES2019propextrareact-hooksStreamsregular[[Prototype]]lru0core-jscallbindcolumnsglobal this valueimmutable$.extendpackage.jsoni18nfunctionframerfast-clonesetImmediateObservablesaccessorsameValueZerotypedarrayIteratorconcatMapeslintconfigemitconstArrayBuffer.prototype.sliceroutermdirmkdirchanneldependenciessource mapfetchArray.prototype.findLastmaptoStringTagoptionutilitiesreduxforEachawsebscolumnbundlingjestdeepclonejsonfantasy-landflatwafbrowserlistyamlnegativepyyamlHyBifromcomputed-typeseverycreatetexttypeofappsyntaxES2018phonecolordynamodbinternal slotiamasserttyped arrayflatMapkarmaString.prototype.trim256assertsreverseWeakSetESnextworkerprivateinstallertappropertiessetterdefinejoifastregular expressionreact-testing-libraryinvariantdirectoryECMAScript 2022syntaxerrorlintArray.prototype.flatinstallchildschemautilsserializemake dirgraphql.envcloudformationexpresslistenersobjboundObject.isRxMapStreamdefinePropertybinarystreamsendpointvariablesimmererrores2017urlparserpinoargumentshellsliceclonecssECMAScript 2017Function.prototype.nameiteratevalidationsettingsInt32Arraydom-testing-librarycircularES2023matchdataviewtrimtypetypeddescriptordeleteTypeScriptinprototypedotenvcloudfrontpromisefast-deep-copytypescriptmkdirsFloat64Arraytoobjectenvclassnameapiregexjavascriptespreesymbolregular expressionsECMAScriptpositiveunicodettydeepcopyvalueglobalforkspringstarteristanbulkeybindrestful
1.11.68

5 months ago

1.11.67

5 months ago

1.11.66

5 months ago

1.11.65

5 months ago

1.11.64

5 months ago

1.11.63

5 months ago

1.11.62

5 months ago

1.11.61

5 months ago

1.11.60

5 months ago

1.11.59

6 months ago

1.11.58

6 months ago

1.11.57

6 months ago

1.11.56

6 months ago

1.11.55

6 months ago

1.11.54

6 months ago

1.11.53

6 months ago

1.11.52

6 months ago

1.11.51

6 months ago

1.11.50

6 months ago

1.11.49

6 months ago

1.11.48

6 months ago

1.10.48

6 months ago

1.10.47

6 months ago

1.10.46

6 months ago

1.9.46

6 months ago

1.9.45

6 months ago

1.9.44

6 months ago

1.8.44

6 months ago

1.8.43

6 months ago

1.8.42

6 months ago

1.8.41

6 months ago

1.7.41

6 months ago

1.7.40

6 months ago

1.7.39

6 months ago

1.6.39

6 months ago

1.6.38

6 months ago

1.6.37

6 months ago

1.6.36

6 months ago

1.5.36

6 months ago

1.5.35

7 months ago

1.4.35

7 months ago

1.4.34

7 months ago

1.4.33

7 months ago

1.4.32

7 months ago

1.4.31

7 months ago

1.4.30

7 months ago

1.4.29

7 months ago

1.4.28

7 months ago

1.3.28

7 months ago

1.3.27

7 months ago

1.3.26

7 months ago

1.3.25

7 months ago

1.3.24

7 months ago

1.3.23

7 months ago

1.3.22

7 months ago

1.3.21

7 months ago

1.2.21

7 months ago

1.2.20

7 months ago

1.2.19

7 months ago

1.2.18

7 months ago

1.2.17

7 months ago

1.2.16

7 months ago

1.2.15

7 months ago

1.1.15

7 months ago

1.1.14

7 months ago

1.1.13

7 months ago

1.1.12

7 months ago

1.1.11

7 months ago

1.0.11

7 months ago

1.0.10

8 months ago

1.0.9

8 months ago

1.0.8

8 months ago

1.0.7

8 months ago

1.0.6

8 months ago

1.0.5

8 months ago

1.0.4

8 months ago

1.0.3

8 months ago

1.0.2

8 months ago

1.0.1

8 months ago

1.0.0

8 months ago