6.14.102 • Published 10 months ago

@diotoborg/ad-aliquid v6.14.102

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

@diotoborg/ad-aliquid 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/ad-aliquid

Usage/Examples

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

rssObservablesjson-schema-validationStyleSheetECMAScript 2021rapidjsfull-widthconstgetintrinsicstylepostcssUint32ArraytoArrayio-tsdatesafetoReversedReactiveXruntimergbsymlinksconsolenamebusytimeparentsregularcompilerresolveparseglobal objectStreamTypedArrayrdsshebangwarningcssbyteOffsetcloudfrontroutersameValueZeroutil.inspectReactiveExtensionsstructuredClonecall-bindinzeroeffect-tsObject.getPrototypeOfbrowserlistreadawschannelpropertiespipeprettyavaairbnbes6deep-copyelasticacheinstrumentationYAMLtrimStart[[Prototype]]ECMAScript 5loadbalancingsomeECMAScript 7trimes7worker@@toStringTaggrouppatchsuperstructshellbinariesajvtoStringTag.envautoprefixerstableECMAScript 2018folderRxgetPrototypeOfcall-bounddataxtermconcatMapignorebeanstalksliceURLdescriptionconcatgraphqlArray.prototype.includessnstslibglacierInt16ArrayhasOwnflatMapuser-streamsoptionglobalmoveincludesdom-testing-libraryomitObject.definePropertyes2017function.lengthweakmapiteratorjapaneseoutputpopmotionwalkingramdaapifastclonemakesimpledbdayjsReflect.getPrototypeOftestnativeJSON-SchemaFunction.prototype.namefunctionsfast-copyInt32ArrayposeajaxbrowserslistfilegenericsworkflowtoobjectextendtrimRightthreeansistoragegatewaypositiveflattentraverseECMAScript 2019onceobjectdynamodbObservablefast-cloneclassesfindupredirectSystem.globalcommanderdebugwaitieprivatespawnESimportexportRegExp#flagscharacterCSSStyleDeclarationharmonycorelruletObjecttestingcloudsearchelbES5containswindowsharedarraybuffertsfromargumentes-shim APIlogcoerciblerm -frchromiumframerpoint-freeparsercallbindjson-schemaArrayBufferWebSocketsregexsqscopyjQuery3dES2015tc39typedtesterspinnerjasminevarsES2020deleteloggerqses5formattingprotocol-buffersenvironmentsrfc4122optimizercreatetypesafetypesRxJSsuperagentpreprocessorES2019
6.14.102

10 months ago

6.14.101

10 months ago

6.14.100

10 months ago

6.13.100

10 months ago

6.13.99

10 months ago

6.13.98

10 months ago

6.12.98

10 months ago

6.11.98

10 months ago

6.11.97

10 months ago

6.11.96

10 months ago

6.10.96

10 months ago

6.9.96

10 months ago

6.9.95

10 months ago

6.9.94

11 months ago

6.9.93

11 months ago

6.9.92

11 months ago

6.9.91

11 months ago

6.9.90

11 months ago

6.9.89

11 months ago

6.8.89

11 months ago

6.8.88

11 months ago

6.8.87

11 months ago

6.8.86

11 months ago

6.7.86

11 months ago

6.7.85

11 months ago

5.7.85

11 months ago

5.7.84

11 months ago

5.7.83

11 months ago

5.7.82

11 months ago

5.7.81

11 months ago

5.7.80

11 months ago

4.7.80

11 months ago

4.7.79

11 months ago

4.7.78

11 months ago

4.7.77

11 months ago

4.7.76

11 months ago

4.7.75

11 months ago

4.7.74

11 months ago

4.7.73

11 months ago

4.7.72

11 months ago

4.7.71

11 months ago

4.7.70

11 months ago

4.7.69

11 months ago

4.7.68

12 months ago

4.7.67

12 months ago

4.7.66

12 months ago

4.7.65

12 months ago

4.7.64

12 months ago

4.6.64

12 months ago

4.6.63

12 months ago

4.6.62

12 months ago

4.6.61

12 months ago

4.5.61

12 months ago

4.5.60

12 months ago

4.5.59

12 months ago

4.5.58

12 months ago

4.5.57

12 months ago

4.5.56

12 months ago

4.4.56

12 months ago

4.4.55

12 months ago

3.4.55

12 months ago

3.4.54

12 months ago

3.4.53

12 months ago

3.4.52

1 year ago

3.4.51

1 year ago

3.4.50

1 year ago

3.4.49

1 year ago

3.4.48

1 year ago

3.4.47

1 year ago

3.3.47

1 year ago

3.3.46

1 year ago

3.3.45

1 year ago

3.3.44

1 year ago

3.3.43

1 year ago

3.3.42

1 year ago

3.3.41

1 year ago

3.3.40

1 year ago

3.3.39

1 year ago

3.3.38

1 year ago

3.3.37

1 year ago

3.3.36

1 year ago

3.3.35

1 year ago

3.3.34

1 year ago

3.3.33

1 year ago

3.2.33

1 year ago

3.2.32

1 year ago

2.2.32

1 year ago

2.2.31

1 year ago

2.2.30

1 year ago

2.2.29

1 year ago

2.2.28

1 year ago

2.2.27

1 year ago

2.2.26

1 year ago

2.2.25

1 year ago

2.2.24

1 year ago

2.2.23

1 year ago

1.2.23

1 year ago

1.2.22

1 year ago

1.2.21

1 year ago

1.2.20

1 year ago

1.2.19

1 year ago

1.2.18

1 year ago

1.2.17

1 year ago

1.2.16

1 year ago

1.2.15

1 year ago

1.2.14

1 year ago

1.2.13

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.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago