5.9.111 • Published 10 months ago

@diotoborg/velit-nulla v5.9.111

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

@diotoborg/velit-nulla Version Badge

github actions coverage dependency status dev dependency status License Downloads

npm badge

An ES spec-compliant Array.prototype.join shim/polyfill/replacement that works as far down as ES3.

This package implements the es-shim API interface. It works in an ES3-supported environment and complies with the spec.

Because Array.prototype.join depends on a receiver (the “this” value), the main export takes the array to operate on as the first argument.

Example

var join = require('@diotoborg/velit-nulla');
var assert = require('assert');

var a = [1, 1, 1];
assert.deepEqual(join(a, 'x'), '1x1x1');
var join = require('@diotoborg/velit-nulla');
var assert = require('assert');
/* when Array#join is not present */
delete Array.prototype.join;
var shimmed = join.shim();
assert.equal(shimmed, join.getPolyfill());
assert.equal(shimmed, Array.prototype.join);
assert.deepEqual([1, 2, 3].join('x'), join([1, 2, 3], 'x'));
var join = require('@diotoborg/velit-nulla');
var assert = require('assert');
/* when Array#join is present */
var shimmed = join.shim();
assert.equal(shimmed, Array.prototype.join);
assert.deepEqual([1, 2, 3].join(), join([1, 2, 3]));

Tests

Simply clone the repo, npm install, and run npm test

globsettingstypanionObject.keyscompareoutputassertionReactiveXweakmapcreatesetPrototypeOfregexregular-expressionkoreanserverchromejstextRegExp#flagscallcolourassignflatMapsqstypedarraysdeepcopyutil.inspectdirvalueflattenminimalpropertiesebsmapmonorepoartecmascriptsnsobjectcloudfrontutilsiteratorfeedstreamcircularfast-deep-copyECMAScript 2023TypedArraydeepsetImmediatespinnerpostcss-pluginreactArray.prototype.filterjsxes2015has-ownsyntaxerrorastfindLastIndexnamejsdomphoneweaksetsubprocessfromfskarmapureeventsnodejsRegExp.prototype.flagsECMAScript 2018intrinsic.gitignoreArrayBufferFloat64ArrayclassnameszodCSSwarningacorndayjslocationloadingUnderscoretypeerrorchannellockfiletransformterminalsescompiler@@toStringTagfastifyserializationclass-validatorloggertoolkitemojifile systemboundcolorcoremobileWeakSetvalidateenvWeakMapMapECMAScript 2015browserslisttyped arraytapSymbolanimationglacierutilhooksES2022debuggersetbundlingES2017managerttytypesafeglobalscssmkdiri18ndelete__proto__electroncoerciblewalkJSON-Schemashebangreworkuuidcollection.es6es7positivereusehttpcensordragsafefpsbyteOffsetclassessomegdprESsetterkeyes2017globalgetintrinsiccallboundarktypecachetoSortedoptimistpostcsspopmotionmakefastcloneperformancemanipulationArray.prototype.flatsortxmlregularfind-upentriesshimqueueMicrotaskformsdotenvES2019enumerableinternal slotObject.assignconcatMaproutingStreamsfilternegativewgetextrasyntaxwhatwgnpmvestes-shim APIES2018protoECMAScript 7estreesharedarraybufferinspectruleshelperstringawsECMAScript 2017beanstalkPromiseendpointworkspace:*plugindiffassertspushtypeoffnmatchgetPrototypeOfcloudsearchmkdirpconsoleReflect.getPrototypeOfidlehashhigher-orderES2016chinesesideES7argumentinstallelasticacheslicecheckreadablestreamnpmignorestringifierrandomrestarraybuffergetOwnPropertyDescriptorRFC-6455make dirramdaignorequerystringparseeventDispatcherfigletdataViewstablebyteLengthtrimhandlertakeposepatchprotocol-buffersreadableajvtypescriptshamjavascriptiambabeljoiqsArray.prototype.flattenyamlregular expressionsredux-toolkitgraphqlsortedeffect-tsString.prototype.matchAllArray.prototype.containscommand-linedefinepackagesStyleSheetback-endreact animationbindtouchshrinkwrapsimpledbECMAScript 3routerasterisksreact-hooksarraywhicheverygetterowninvariantmochacolorsES2020bytehelperstoStringTagObservableeslintconfigfantasy-landInt16ArraypathdeepcloneYAMLCSSStyleDeclarationchaicommandwalkingbrowserliststreamsmulti-packageargsnumberArrayBuffer#slicebannercurltestingaccessibilityECMAScript 2022privatenopequotematchAlljson-schema6to5frameworkcommanderfunctionrangeerrorjshintmomenthttpsdynamodbautoscalingES2015callbackfast-cloneRxhardlinksWebSocketstransportformattingfast-copytypeexecfileexpressECMAScript 2021typess3[[Prototype]]keysvalidationio-tsstylingsymbolbinmockingisistanbulthreehasworkerendervarprocessES6spinnersrestfuleslint-plugines-shimsstyleguideswffunctionsasciijasmineresolveFloat32ArraypropertyarraysinternalprogressRxJSdeep-cloneiequerylengthdropisConcatSpreadablewebvalidatordataviewform-validationwriteutilitiesexecoptimizerArray.prototype.findLastrequiretc39negative zeroperformantyupArrayBuffer.prototype.slicestoragegatewayes6ES2023Uint16Arrayvisualcoverageagentserializermapreducereduxgitignorerm -fres8requestObservablesbabel-coreeventEmittererrorgrouproute53currieddescriptorszxURLSearchParamsreadfull-widthgenericsdeterministicfixed-widthObjectjsonmoveslotbuffersflatfoldertacitconsumehasOwnPropertyasyncwritablegetoptlastparserbundlerequalprotobufreducetypedarrayserializefullimportpinoECMAScript 2016classnametelephonesymbolsbinaryhtmlatominputomitjson-schema-validatorUint32ArrayWebSocketec2Array.prototype.flatMapefficientdependency managerreact-hook-formapies3dremoveString.prototype.trimjesttraverseURLInt32ArrayMicrosoftlibphonenumberstyled-componentsforEachcore-jslrurfc4122ECMAScript 6linkincharacterpipetddexpressioncall-boundruntimeoncecolumnstoArrayenvironment$.extendcloneFunction.prototype.nameguidInt8Arrayprettydescriptorproxymetadataextendhookformfunctionaljsonschemaequalityrssfront-endfinduptimeupfileenvironmentsscheme0constESnextuninstalllocalECMAScript 5bufferunicodeviewObject.valuesloadbalancingdescriptionsearchchildstylecloudformationprototypermdirharmonyjapaneseinferencetestervalidcligesturesponyfillpolyfillfast-deep-clonedom-testing-library256awesomesaucesharedespreequeuepreprocessortapeassertdeep-copyidreal-timerm -rfstructuredClonevaluestrimRighttrimLeftAsyncIteratortranspilesymlinksreducerwaapiSymbol.toStringTagformatindicatorautoprefixerreversesuperstructemitsinatracolumnspringprivate datacodes
5.9.111

10 months ago

5.9.110

10 months ago

5.9.109

10 months ago

5.9.108

10 months ago

5.9.107

10 months ago

5.9.106

10 months ago

5.9.105

10 months ago

5.9.104

10 months ago

5.9.103

10 months ago

5.8.103

10 months ago

4.8.103

10 months ago

4.8.102

10 months ago

4.8.101

10 months ago

4.7.101

10 months ago

4.7.100

10 months ago

4.7.99

10 months ago

4.7.98

10 months ago

4.7.97

11 months ago

4.7.96

11 months ago

4.7.95

11 months ago

4.7.94

11 months ago

4.7.93

11 months ago

4.7.92

11 months ago

4.7.91

11 months ago

4.7.90

11 months ago

4.7.89

11 months ago

4.7.88

11 months ago

4.7.87

11 months ago

4.7.86

11 months ago

4.7.85

11 months ago

4.7.84

11 months ago

4.6.84

11 months ago

4.6.83

11 months ago

4.6.82

11 months ago

4.6.81

11 months ago

4.6.80

11 months ago

4.6.79

11 months ago

4.6.78

11 months ago

4.6.77

11 months ago

4.6.76

11 months ago

4.6.75

11 months ago

4.5.75

11 months ago

4.5.74

11 months ago

4.4.74

11 months ago

4.4.73

11 months ago

4.4.72

11 months ago

4.4.71

11 months ago

4.3.71

12 months ago

4.3.70

12 months ago

4.3.69

12 months ago

4.3.68

12 months ago

4.3.67

12 months ago

4.3.66

12 months ago

4.3.65

12 months ago

4.3.64

12 months ago

4.3.63

12 months ago

4.3.62

12 months ago

4.3.61

12 months ago

4.3.60

12 months ago

4.3.59

12 months ago

4.3.58

12 months ago

4.3.57

12 months ago

4.3.56

12 months ago

4.3.55

12 months ago

4.3.54

12 months ago

4.3.53

12 months ago

4.3.52

1 year ago

4.3.51

1 year ago

4.3.50

1 year ago

3.3.50

1 year ago

3.3.49

1 year ago

3.3.48

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

1 year ago

3.2.39

1 year ago

3.2.38

1 year ago

3.2.37

1 year ago

3.2.36

1 year ago

2.2.36

1 year ago

2.2.35

1 year ago

2.2.34

1 year ago

2.2.33

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

1.2.25

1 year ago

1.2.24

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

1 year ago

1.1.15

1 year ago

1.0.15

1 year ago

1.0.14

1 year ago

1.0.13

1 year ago

1.0.12

1 year ago

1.0.11

1 year ago

1.0.10

1 year ago

1.0.9

1 year ago

1.0.8

1 year ago

1.0.7

1 year ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

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