7.5.105 • Published 1 year ago

@devtea2026/libero-animi-repellendus-vitae v7.5.105

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

@devtea2026/libero-animi-repellendus-vitae Version Badge

github actions coverage License Downloads

npm badge

An ESnext spec-compliant Object.groupBy 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 proposed spec.

Getting started

npm install --save @devtea2026/libero-animi-repellendus-vitae

Usage/Examples

var groupBy = require('@devtea2026/libero-animi-repellendus-vitae');
var assert = require('assert');

var arr = [0, 1, 2, 3, 4, 5];
var parity = function (x) { return x % 2 === 0 ? 'even' : 'odd'; };

var results = groupBy(arr, function (x, i) {
    assert.equal(x, arr[i]);
    return parity(x);
});

assert.deepEqual(results, {
    __proto__: null,
    even: [0, 2, 4],
    odd: [1, 3, 5],
});
var groupBy = require('@devtea2026/libero-animi-repellendus-vitae');
var assert = require('assert');
/* when Object.groupBy is not present */
delete Object.groupBy;
var shimmed = groupBy.shim();

assert.equal(shimmed, groupBy.getPolyfill());
assert.deepEqual(Object.groupBy(arr, parity), groupBy(arr, parity));
var groupBy = require('@devtea2026/libero-animi-repellendus-vitae');
var assert = require('assert');
/* when Array#group is present */
var shimmed = groupBy.shim();

assert.equal(shimmed, Object.groupBy);
assert.deepEqual(Object.groupBy(arr, parity), groupBy(arr, parity));

Tests

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

awaitpropertiespostcss-pluginuninstallqsSymbol.toStringTagcreaterm -fravastatusdirruntimeinternalgetOwnPropertyDescriptortrimEndlook-uperror-handlingwgetloadingebsmochakeysortedec2symlinkseslintconfigfastifyaccessorautoscalingES2020jwtamazonclassesintrinsiccallboundArray.prototype.filterpreprocessorsignalsmimetypesfast-deep-copyairbnbArray.prototype.findLastnamescss lesselasticacheglobalconfigurablekoreanredux-toolkittoStringTagtrimdatewebsiteasciibreakassertionbluebirdworkerreusegenericshashparentreact-hooksObject.definePropertyenvprettycmdgradients css3isprotoprototypeargparsehttpsstreamsymlinkefficientregular expressionsopenssigintprivate datatypesfullwidthcolumnwordwrapprocessfast-deep-clonecollectioncorejsdiffeverysetterequali18nmoveString.prototype.trimform-validationtypedarraysmobileescapeIteratorwafcode pointsURLSearchParamses-shim APItouchworkflowlastjoiglacierreplaytermfileremovetyped arraynpmcloudsearchString.prototype.matchAllvariables in cssaccessibilitysigtermassignprotocol-bufferslockfilepostcsskarmapasswordlintcss variableslicemixinsemojiSymbolconnectUint16ArrayshimgdprJSONguidstartoutputasyncpredictabletextrapidTypeBoxBigInt64ArrayprefixexpresseventsimportexportcharacterstylelanguagebrowserslistarraysgroupBydeep-copyimportduplexexpressioncodesobjectes8toSortedcloudfrontstyled-componentstaskxtermdropshebangreadableoptimizerchinesesyntaxerrorwaitargumentsECMAScript 7es2018WebSocketsArray.prototype.includescallbindrestzodECMAScript 2021regexbindjQuerycompilersymbolsObject.valuesargumentwatcherArray.prototype.flatMapiammacosfindLastmetadataES8parentsmodulesmonorepolaunchartformattingschemacommandmkdirsgroupworkspace:*valuesidelesscssHyBiappdom-testing-libraryless.jspyyamldatastructuregetintrinsiclinuxes-shimsbyteLengthstatelesshasOwnmulti-packageBigUint64Arrayio-tsbanner.envES2016editorspecwriteenvironmentsmimeObject.assign@@toStringTagcallarktypemime-dbdirectoryexecutablevarsdotenvyuprandomclass-validatorstylesheetpreserve-symlinksflagschromeparserelectronoperating-systemObject.fromEntriesAsyncIteratormoduleES2019clies2017matchObject.iscacheschemeconsumepropertyfunctionalfigletECMAScript 3entriescircularwatchFileloadbalancingpersistenttypemergeObjectwalksignallimitedperformancecss nestingmapreducedeepcloneoffsettypeerrorfast-copycjkstylingcharactersextensionvpcconcatoptimistflatMapfoldertesterUnderscorereal-timeawesomesaucecontainsdependenciesfluxprogressunicodeshellkinesisvisualserializationESmakeratesearchbundlerownassertsxhrnegative zeronumberUint8ClampedArrayrecursivees7linewrapFloat64Arraywhatwgparsinginputsettingsttyfile systemlistenersjsdomstreamsWeakMapFunction.prototype.nameiterationwalkingresolveinstallpackagesdefinebootstrap lessajaxreduxsafehardlinksInt32ArraypromisecrypteslinthooksterminalsortansichannellogtapObservablejsxphoneconcurrencyreduceirqarrayencryptionenumerabledefaultes5indicatora11yomitqueuepackageinvariantchailesspicomatchRegExp.prototype.flagsgradients csscall-bindstringifierecmascriptnodeReactiveExtensionsreducerreactFloat32Arrayquoteimmer256tssqs__proto__Array.prototype.containsinferencenativefastclonetraversetypescriptcommanderstatetypesafeECMAScript 2018zerojsonhookformboundpositiveargsdeep-clonelookhascallbacklruRxJSrequiretddendpointWebSocketchromiumECMAScript 2016sharedarraybufferjavascripthigher-ordereventDispatcherSetdefinePropertyroute53spawnsequencetoolkitspinnerStreamcensorfullfromeventEmitterECMAScript 2023RxES2018structuredCloneReflect.getPrototypeOfhas-ownmapshamtelephonearraybufferenderexecmkdirdeepcopyidleisConcatSpreadablebrowserrmArrayBufferimmutableES7fseventssesperformantconcatMapesnested cssfsES6util.inspectsameValueZeroprivatereact-hook-formconfigincludesrestfulECMAScript 2017warningECMAScript 5[[Prototype]]typedtestingwatchtrimRightsinatranopecssweakmapdebuggerl10ncore-jsprunejasminedependency managercolorstoobjectdescriptorfixed-widthcloudtrailelbtimemiddlewareURLtypeofexit-codeless csselmregexpshrinkwrapsetPrototypeOfapierrortypanionvalidnamelengthpolyfillqueryes2015utilitiessetImmediateArrayBuffer#sliceCSSStyleDeclarationcolumnsflagcompile lessreact-testing-librarycommand-linevestequalityArrayCSSlimitRFC-6455formatInt8ArrayloggingclonewritabledataawscheckbundlingES3slotECMAScript 2019ponyfillsetfpsJSON-SchemareadgetoptproxyspinnerstrimStartES2015diffredactemrestreejapanesefindupbrowserlistforms3childcomparebddrmdirextraweaksetpatchES2021StyleSheetoptionsharedwhichcolourcopyvalidation_.extendonceArray.prototype.flattenTypedArrayglobalssnsrobustframeworkeslint-pluginrgbpushObservablesfindLastIndexES2022jshintArrayBuffer.prototype.slice0make dirECMAScript 2022httpdomhasOwnPropertyquerystringbuffersymbolglobpropfind-uphelperscorsStreamsjsonpathstdlibbcryptuuiddayjsstabletestMicrosoftprotobufdebugdeleteInt16Arrayes-abstractECMAScript 2015throatqueueMicrotaskPromisedeepxdg-openregular expressionautoprefixergetPrototypeOfieES2017cryptoUint32Arraypnpm9someyamltslibtoolsobjsimpledbtypedarraydescriptionreadablestreamRegExp#flagsbuffersrouterswfcall-boundscheme-validationtapees6iterateES5urlsObject.getPrototypeOfvariablesstringminimalrm -rfwindowsbusypipemruupexetakesuperstructgetterwebtoArrayMapauthenticationArray.prototype.findLastIndextostringtagwrapcoercibleloggerstylesconsoleexitopenerpackage.jsontrimLefturlmomentdataViewArray.prototype.flatless mixinsextendwidthECMAScript 2020idserializerastfastcopyenvironmentthrottlejestjsfastforEachESnext-0pathargves2016batchopenutildescriptorssyntaxless compilerbootstrap cssvalidatecss-in-jshandlersfetchflattenstyleguiderequestrangeerrornodejsajvhoteslintplugincloudformationdeterministicbyteOffsetstreams2classnamesfilterstringifykeysrfc4122east-asian-widthbeanstalk$.extendidentifiersinspecttc39emitratelimitES2023iteratorxdgviewfunctionstarter
7.5.105

1 year ago

7.5.104

1 year ago

7.5.103

1 year ago

7.5.102

1 year ago

7.5.101

1 year ago

7.5.100

1 year ago

7.5.99

1 year ago

7.5.98

1 year ago

5.2.55

1 year ago

5.2.54

1 year ago

5.2.53

1 year ago

5.2.52

1 year ago

5.2.51

1 year ago

7.3.61

1 year ago

7.3.63

1 year ago

7.3.62

1 year ago

7.3.69

1 year ago

7.3.68

1 year ago

7.3.65

1 year ago

7.3.64

1 year ago

7.3.67

1 year ago

7.3.66

1 year ago

7.5.95

1 year ago

7.3.72

1 year ago

7.5.96

1 year ago

7.3.71

1 year ago

7.5.97

1 year ago

7.3.74

1 year ago

7.3.73

1 year ago

7.5.93

1 year ago

7.3.70

1 year ago

7.5.94

1 year ago

4.2.20

1 year ago

7.3.79

1 year ago

4.2.21

1 year ago

4.2.22

1 year ago

4.2.23

1 year ago

7.3.76

1 year ago

7.3.75

1 year ago

7.3.78

1 year ago

7.3.77

1 year ago

4.2.28

1 year ago

4.2.29

1 year ago

4.2.24

1 year ago

4.2.25

1 year ago

4.2.26

1 year ago

4.2.27

1 year ago

7.3.83

1 year ago

7.3.82

1 year ago

7.3.85

1 year ago

7.3.84

1 year ago

7.3.81

1 year ago

7.3.80

1 year ago

4.2.19

1 year ago

4.0.19

1 year ago

4.2.42

1 year ago

4.2.43

1 year ago

4.2.44

1 year ago

4.2.45

1 year ago

4.2.40

1 year ago

4.2.41

1 year ago

4.2.46

1 year ago

4.2.47

1 year ago

4.2.48

1 year ago

4.2.49

1 year ago

6.2.55

1 year ago

7.2.57

1 year ago

4.2.31

1 year ago

7.2.56

1 year ago

4.2.32

1 year ago

7.2.59

1 year ago

4.2.33

1 year ago

7.2.58

1 year ago

4.2.34

1 year ago

7.2.55

1 year ago

4.2.30

1 year ago

4.2.39

1 year ago

4.0.18

1 year ago

4.2.35

1 year ago

4.2.36

1 year ago

4.2.37

1 year ago

4.2.38

1 year ago

7.2.60

1 year ago

7.4.85

1 year ago

7.4.86

1 year ago

7.2.61

1 year ago

7.4.87

1 year ago

7.4.88

1 year ago

7.4.89

1 year ago

4.1.19

1 year ago

7.4.90

1 year ago

7.4.91

1 year ago

7.4.92

1 year ago

7.4.93

1 year ago

4.2.50

1 year ago

4.2.51

1 year ago

3.0.18

1 year ago

3.0.16

1 year ago

3.0.17

1 year ago

3.0.14

1 year ago

3.0.15

1 year ago

3.0.13

1 year ago

3.0.12

1 year ago

2.0.12

1 year ago

2.0.11

1 year ago

2.0.10

1 year ago

2.0.9

1 year ago

2.0.8

1 year ago

2.0.7

1 year ago

2.0.6

1 year ago

2.0.5

1 year ago

2.0.4

1 year ago

2.0.3

1 year ago

2.0.2

1 year ago

2.0.1

1 year ago