3.5.63 • Published 12 months ago

@zitterorg/velit-dicta v3.5.63

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

@zitterorg/velit-dicta 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 @zitterorg/velit-dicta

Usage/Examples

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

stylerobustjapanesecryptozod__proto___.extendWebSocketscacheregular expressionsArrayBuffershamfilehas-ownprefixlintespreeESnextenumerabletypedarraysES2017schemepluginReactiveExtensionsformelbloadingbinariesObject.assignargumentECMAScript 2015loggerfigletutilsgetintrinsicjson-schemalengthsetImmediateendpointglobal this valueextraio-tsinspectfull-widthqueuebrowserlistjavascriptmodulesstreamwindowsymlinksshrinkwrapUint16ArrayECMAScript 2023envnegative zeropatchtraversematchAlloptionUint8ClampedArrayflaghasOwnforEachmetadatanegativevaluebinsideglacierhigher-orderserializationpropertyidentifierswaapiutil.inspectavanamestrimtesttypeofredux-toolkittestingbundlingdeepclonestreamscommandervarnodejselectrontypespinnerregexec2gesturesreduxshimsyntaxfunctionalomitcreatesnsajaxcall-bindlocalhelperES2022es6airbnbruntimedependency manageriterateharmonylookincludesutilitymkdirsindicatorjsdomcallbackcircularbabel-coreartwritableinternal slotcensorawsdirflatstructuredClonetesterfast-copyprivate dataObject.keysparentstypesbindconstinferencediffwafes-abstractignoresymbolstoragegatewayzxObjectsuperagentatomgetOwnPropertyDescriptorstyled-components[[Prototype]]cliarktypesubprocessgetoptsharedarraybuffernameasciipuregroupBySymboltyped arrayESonceenvironmenttacittelephonecallboundrdsexpressfnmatchastRegExp#flagsloadbalancingrouterrestfulES2016bytedescriptorsutils3entriesfindupwhatwgobjectcloudformationdataTypedArrayflattenES2021deep-clonequeryObject.entriestostringtages2018vestinputthreemonorepodomacornRFC-6455karmaECMAScript 5east-asian-widthpopmotionminimalflatMapfiltercolumnsgdprcharacterTypeBoxcss-in-jsmkdirserializerl10ni18nuprmdires2016validsource mapimportexporta11ycolorArrayBuffer.prototype.slicesyntaxerrorautoprefixerexpressionmake dirsqsECMAScript 2018dragjoiInt8ArraydeletemomentdefinePropertybrowserslistdataviewlastequalcloudsearchlruassertmobileerrorcall-boundBigUint64Arraypackage.jsonconcatMapschemaInt32Arraytypedes-shimsWebSocketchinesepackageidleperformantsimpledbdynamodbkeysreadcore-jsmergeUint8ArraylocationloggingArray.prototype.findLastIndexgetPrototypeOfpackage managertakerequirelibphonenumberurlhttproute53beanstalkspeedrecursiveURLSearchParamsworkerphoneprotoObject.getPrototypeOfReactiveXtoArrayclassnamesfastifycodeschildiewebtoolsreadablestreamStreamsfolderfunctionshardlinksrm -frfeedcjktouchcorelook-uprestoptimistECMAScript 2021fpwhichArray.prototype.containsapollolistenerses2017dropes8HyBihooksstarterfast-deep-copycommand-linebyteLengthtddfastcopytrimLeftprotocol-buffersenvironmentsargvmatchesreal-timeconsumeecmascriptformstoSortedcompilerRxlockfilecoveragehelpersdependenciesYAMLrssspecawesomesauceselfarrayargsECMAScript 2016mapreducemruarraysponyfillunicodeimmeryupJSONwritesearchenderqueueMicrotaskprocesspicomatchttycollectionArray.prototype.flattenES7xhr
3.5.63

12 months ago

3.5.59

12 months ago

3.5.62

12 months ago

3.5.61

12 months ago

3.5.60

12 months ago

3.5.58

12 months ago

3.4.58

12 months ago

3.4.57

12 months ago

3.4.54

12 months ago

3.4.55

12 months ago

3.4.56

12 months ago

3.4.50

12 months ago

3.4.51

12 months ago

3.4.52

12 months ago

3.4.53

12 months ago

3.4.48

12 months ago

3.4.49

12 months ago

3.1.14

1 year ago

3.3.39

1 year ago

3.1.16

1 year ago

3.1.15

1 year ago

3.1.18

1 year ago

3.1.17

1 year ago

3.3.46

1 year ago

3.2.35

1 year ago

3.1.23

1 year ago

3.3.47

12 months ago

3.2.34

1 year ago

3.1.22

1 year ago

3.3.48

12 months ago

3.2.37

1 year ago

3.1.25

1 year ago

3.2.36

1 year ago

3.1.24

1 year ago

3.2.39

1 year ago

3.1.27

1 year ago

3.2.38

1 year ago

3.1.26

1 year ago

3.1.29

1 year ago

3.1.28

1 year ago

3.3.40

1 year ago

3.3.41

1 year ago

3.3.42

1 year ago

3.3.43

1 year ago

3.3.44

1 year ago

3.1.21

1 year ago

3.3.45

1 year ago

3.1.20

1 year ago

3.1.19

1 year ago

3.1.34

1 year ago

3.1.33

1 year ago

3.1.30

1 year ago

3.1.32

1 year ago

3.1.31

1 year ago

3.1.13

1 year ago

2.1.12

1 year ago

2.1.13

1 year ago

2.1.10

1 year ago

2.1.11

1 year ago

2.1.9

1 year ago

2.1.8

1 year ago

2.1.7

1 year ago

2.1.6

1 year ago

2.1.5

1 year ago

2.1.4

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