3.14.110 • Published 10 months ago

@diotoborg/maiores-natus v3.14.110

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

@diotoborg/maiores-natus 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/maiores-natus

Usage/Examples

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

shamreact-testing-libraryqueueMicrotaskargsObservablesenvpropertiesposemoveaccessorownconcatMapcoerciblecss-in-jsCSSsuperstructs3idleUint8ClampedArrayparentfindLastIndexhashdynamodbparserwaapiinstallspawnfastifyrm -rfhandlerrangeerrorgetterruntimesymbolArray.prototype.findLastIndexjswaflookiamtddsetPrototypeOfscheme-validationsetterproxypuremake dirtypedconfigurableReactiveExtensionsstringifyzerokoreanhookformObservablevaluesprototypematchjapanesebeanstalkchildsqskarmastringifiercallcontainsArray.prototype.flatansinamesasynccloudfronteslintmapArray.prototype.containszodrouterSymbol.toStringTagtypeerrorresolvecurriedget6to5io-tsArrayoutputfoldersearchTypeBoxidmonorepofileregexconsumeECMAScript 3ECMAScript 7deepautoprefixernumberexecreworkinstrumentationnamereact animationprunemochaECMAScript 2023testercloudformationinferencelockfileUint32ArrayinvariantpusheventEmittereslintpluginrulesflagsharmonyintrinsicbusycryptobundlingObject.getPrototypeOfconcatRegExp#flagsframerstreamReactiveXdescriptorsimportgetoptfind-uptransportenvironmentcompilerWebSocketsclassesprotomodulesemitreact posequoteterminal_.extendmulti-packagechromeutilitymockingapolloURLSearchParamsspringdependenciestrimStartarraybuffertypejasminecolumnpinomruutilFloat64ArrayframeworkInt32ArrayinincludesloadingeventssetinputnodejsapptoStringTagvpcinstallerstyleguidesameValueZeroqsjsonschemadefinecircularflatrgb.envrequireclientcode pointsStreamnodedependency managergroupminimalpolyfillmatchesES2016picomatchwalkObject.assignl10njsdomWeakMapshareddirdescriptoremrmanipulationCSSStyleDeclarationform.gitignoremkdirsparsehelperbinariesgroupBybabelYAMLtoReversedInt8Arrayreversedsnsprivatenegative zerotsequal@@toStringTagRFC-6455chaireverseIteratorfetchES7Uint8ArrayapiindicatorbyteLengthformsconfigsortrfc4122ttyfunctionalreal-timeexpressionloadbalancingvarstylingloggingexpressfinduptimekeyses2015Symbolforkeslintconfigvaluemobilecloudwatchsubprocessformatclassnameperformantdirectoryspinnerfantasy-landchannelassertionutil.inspectes-abstractInt16Arrayfullwidthvestes2017coverageobjectprefixkeyfunctionsistransformtermanimationreusestylesesJSON-SchemaxmlECMAScript 6definePropertynegativelastglobisConcatSpreadabletranspilereadablemapreducepyyamlreact-hook-formspeedgetOwnPropertyDescriptorObject.valuesteststableflagcloudtrailrandomuuidES8dataregular expressionstacitcolourgetintrinsicArray.prototype.includesboundglobalsserializerTypeScriptpopmotionfront-endbintoolsfindLastcodesStreamsprotobufwalkingequality256HyBiamazonstreamssymbolszxwhatwgString.prototype.matchAllfixed-widthbddserializebuffershasOwnforEachjoiprivate datatypanionsettingses8manageri18ntoobjectastfunctionpostcss-pluginjsdiffshrinkwraptc39performancereact-hooksstarterrequestgenericswarningES2019nativeform-validationfast-deep-copytypedarraysstylesassertprocessFunction.prototype.namecommanderStyleSheetglobaltraversebinaryshimcjkjshintfunction.lengthmodulesomeavaa11yreadablestreamArrayBufferbufferpromiseclilogArray.prototype.filterpathflatMapagentclassnamesguidimmutablebundlerECMAScript 2020esescapePushString.prototype.trimasterisksdeep-copyespreeidentifiers$.extendcacheexecfileponyfillobjoptimizerasciicollectionargvcallbackpropertybabel-coreflattenmkdirpwaitECMAScript 2017Object.entries
3.14.110

10 months ago

3.14.109

10 months ago

3.14.108

10 months ago

3.14.107

10 months ago

3.14.106

10 months ago

3.14.105

10 months ago

3.14.104

10 months ago

3.13.104

10 months ago

3.13.103

10 months ago

3.13.102

10 months ago

3.13.101

10 months ago

3.13.100

10 months ago

3.13.99

10 months ago

3.13.98

10 months ago

3.13.97

10 months ago

3.13.96

10 months ago

3.13.95

10 months ago

3.13.94

10 months ago

3.13.93

11 months ago

3.13.92

11 months ago

3.13.91

11 months ago

3.13.90

11 months ago

3.13.89

11 months ago

3.13.88

11 months ago

3.13.87

11 months ago

3.13.86

11 months ago

3.13.85

11 months ago

3.13.84

11 months ago

3.13.83

11 months ago

3.13.82

11 months ago

3.12.82

11 months ago

3.12.81

11 months ago

3.12.80

11 months ago

3.12.79

11 months ago

3.12.78

11 months ago

3.12.77

11 months ago

3.12.76

11 months ago

3.12.75

11 months ago

3.12.74

11 months ago

3.11.74

11 months ago

3.11.73

11 months ago

3.10.73

11 months ago

3.10.72

11 months ago

3.10.71

11 months ago

3.10.70

11 months ago

3.10.69

11 months ago

2.10.69

11 months ago

2.10.68

11 months ago

2.10.67

12 months ago

2.9.67

12 months ago

2.9.66

12 months ago

2.9.65

12 months ago

2.9.64

12 months ago

2.9.63

12 months ago

2.9.62

12 months ago

2.9.61

12 months ago

2.8.61

12 months ago

2.8.60

12 months ago

2.8.59

12 months ago

2.8.58

12 months ago

2.8.57

12 months ago

2.8.56

12 months ago

2.8.55

12 months ago

2.7.55

12 months ago

2.7.54

12 months ago

2.7.53

12 months ago

2.7.52

12 months ago

2.7.51

12 months ago

2.7.50

1 year ago

2.7.49

1 year ago

2.7.48

1 year ago

2.7.47

1 year ago

2.7.46

1 year ago

2.6.46

1 year ago

2.6.45

1 year ago

2.6.44

1 year ago

2.6.43

1 year ago

2.6.42

1 year ago

2.6.41

1 year ago

2.6.40

1 year ago

1.6.40

1 year ago

1.6.39

1 year ago

1.6.38

1 year ago

1.5.38

1 year ago

1.5.37

1 year ago

1.5.36

1 year ago

1.5.35

1 year ago

1.5.34

1 year ago

1.5.33

1 year ago

1.5.32

1 year ago

1.5.31

1 year ago

1.5.30

1 year ago

1.5.29

1 year ago

1.5.28

1 year ago

1.5.27

1 year ago

1.5.26

1 year ago

1.5.25

1 year ago

1.5.24

1 year ago

1.5.23

1 year ago

1.5.22

1 year ago

1.5.21

1 year ago

1.5.20

1 year ago

1.4.20

1 year ago

1.4.19

1 year ago

1.4.18

1 year ago

1.4.17

1 year ago

1.3.17

1 year ago

1.3.16

1 year ago

1.3.15

1 year ago

1.3.14

1 year ago

1.3.13

1 year ago

1.3.12

1 year ago

1.3.11

1 year ago

1.3.10

1 year ago

1.2.10

1 year ago

1.2.9

1 year ago

1.2.8

1 year ago

1.2.7

1 year ago

1.2.6

1 year ago

1.2.5

1 year ago

1.2.4

1 year ago

1.2.3

1 year ago

1.1.3

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