5.10.79 • Published 10 months ago

@erboladaiorg/libero-illo-temporibus v5.10.79

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

@erboladaiorg/libero-illo-temporibus 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 @erboladaiorg/libero-illo-temporibus

Usage/Examples

var groupBy = require('@erboladaiorg/libero-illo-temporibus');
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('@erboladaiorg/libero-illo-temporibus');
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('@erboladaiorg/libero-illo-temporibus');
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

authwaapijestbusymergeESnextcharactertimeArray.prototype.containsutil.inspectprototypegesturesstylinges2016regexletloadbalancingelbgetOwnPropertyDescriptordescriptor[[Prototype]]core-jssigintsigtermStyleSheetreact-testing-librarySymbolharmonyhasOwnPropertyroute53react-componentcssstreamPromiserobustebstrimEndautoscalingtypetextarraysflattenfast-deep-copyxterminstallsameValueZerodynamodbconfigUint8ArrayspinnersgdprloggingenumerablebyteLengthECMAScript 3eslint-plugincommand-linedefineshamsomecolorsfunctionalgetinterruptshandlersvariablescollectionassignstringifierArraypicomatchUint8ClampedArraytranspile@@toStringTagintrinsicrecursivehotpromisepyyamlreversedtrimStartES5minimales5offsetestreemixinsCSSStyleDeclarationInt16Arraysharedarraybuffertranspileri18ncopyArray.prototype.flatfnmatchutilwindowcliregexpqueueMicrotaskcommanderproxygetoptuser-streamsvalidateenvironmentstarterlastanimationmetadatawhichmkdirdataViewjapaneseprotobuftrimRightphoneprogressbufferstypeoftoReversedfindLastIndexendersqsES2016optionrandomfunction.lengthsortzodcryptextendfluxECMAScript 2020String.prototype.matchAllidlefetchexecfiledeterministiccoerciblerapidapiutilsCSSforkdeepcloneES2023WeakMapTypedArrayjsonschemacallbindinternal slotexecutecompile lesscloudwatchexecformsefficientes2015parsingsignedclass-validatorcolumnsec2positivehasOwnwaffunctiontestlazyfunctionstacitcensorwriteserializerkeyconcatMapsignalsvalidatoropensslargsstablehashprotogetPrototypeOfvalidcjkcompilerECMAScript 2017prefixhttpsreduceurlArrayBufferBigInt64Arrayarraybufferbabel-coreignoregitignoreagentcurlvisualflatdominspectemitencryptionredactframer6to5sortednodeautoprefixerownES2021immutablepathECMAScript 2016HyBieventDispatchernativenpmignorewritablehookformtypesqsReactiveExtensionsshrinkwrapregular expressionyupstyleasciijson-schema-validationimportexportfpstyped arrayindicatorprettybinariesform-validationfigletjstddstructuredClonereuseArrayBuffer.prototype.slicereadablestreamtestingelmUint32ArrayfastcloneeslintconfigtouchES7make dirsnsshimArray.prototype.findLastIndexObservableskeyssyntaxerrorpostcss-pluginvpconcemodulesdropMaphardlinksscheme-validationclassnamereadablepoint-freehelperArray.prototype.filterexit-codeesString.prototype.trimttyjshintWeakSettelephonefast-deep-cloneECMAScript 6colourflagJSON-Schemacheckfile systemRFC-6455toArrayreact animationSymbol.toStringTagrfc9562warningStreamgraphqlcryptovestmrusuperagentmomentbabelcloudformationdescriptors.envdotenvposebindextraAsyncIteratorutilitiesESWebSocketsworkflowruntimeArray.prototype.flatMapObject.isarktypeiamInt32ArraysubprocessbrowserES6glaciernegative zerocomparepredictableweakseteventEmitterformathas-own3dfindLast-0formattingUint16ArrayboundflatMapmakeobjectrequestnegativematchesdragemrreplayconstserializereact-hooksstylesheetisConcatSpreadableRxjsdiffajvbrowserslistsequenceuninstallreduxjsonmatchchromiumhelpersawsglobalseventses8Object.valuesreversetc39removereact-hook-formconcatpinoObject.keyscall-boundfullwidthiterationloadingfilematchAlliesettingsimportSetArray.prototype.findLastdescriptionvaluestostringtagdeepcopyproptypanionprivate dataoptimizermulti-packagegroupBydeleteRxJSObject.fromEntriescss nestingECMAScript 2021languagevarclassesreactlistenersxhrstatelessasyncdependenciestraversechineselockfilePushspinnernodejscontainstypesafegroupwindowses6symbolsescapepurenested csschromeequalitytransportformserializationuploadreadArrayBuffer#sliceauthenticationbootstrap lessbinoutputshebangglobal objectexpressbannercloudfrontbddreal-timegenericsIteratortrimsharedansirgbnopeguidterminalpasswordtoobjecteveryresolvejoiparsershellassertssesfullcommandeslinttypeerrorspringECMAScript 2018assertioneast-asian-widthmanagerinstallerObject.definePropertydefinePropertychildargvglobalcss variablesetPrototypeOfdependency managerchannellesscssenvironmentscoreECMAScript 2019globalThispackage.jsonjsdomyamllessInt8Arrayvalidationcallboundgetintrinsicparseiteratedayjsbyteperformantcomputed-typeshttpeffect-tsdeep-copyzxartapolloes2017io-tsstringifypolyfillcss lessloggerECMAScriptuuidECMAScript 5Object.assignschemastyled-componentslrupropertyObservableperformancequeuebuffernamedatastructurefastcopyreact posesaferangeerrorlogponyfillfsamazoncolumnUnderscoreflagsSystem.globalpruneworkerinvariantES2022fastifyless cssasterisksreducerpatchliveYAMLlengthprocess256rfc4122package managercallenvcreatecertificateselasticacheprivatediffECMAScript 2022dataviewunicodezerodir
5.10.79

10 months ago

5.10.78

10 months ago

5.10.77

10 months ago

5.10.76

10 months ago

5.10.75

10 months ago

5.10.74

11 months ago

5.10.73

11 months ago

5.10.72

11 months ago

5.10.71

11 months ago

5.9.71

11 months ago

5.9.70

11 months ago

5.9.69

11 months ago

5.9.68

11 months ago

5.9.67

11 months ago

5.8.67

11 months ago

5.8.66

11 months ago

5.8.65

11 months ago

5.8.64

11 months ago

5.8.63

11 months ago

5.8.62

11 months ago

5.8.61

11 months ago

5.8.60

11 months ago

5.8.59

11 months ago

5.8.58

11 months ago

5.8.57

11 months ago

5.8.56

11 months ago

5.8.55

11 months ago

5.8.54

11 months ago

5.7.54

11 months ago

5.7.53

11 months ago

5.7.52

11 months ago

4.7.52

11 months ago

4.7.51

11 months ago

4.7.50

11 months ago

4.7.49

11 months ago

4.7.48

12 months ago

4.7.47

12 months ago

4.7.46

12 months ago

4.7.45

12 months ago

4.7.44

12 months ago

4.7.43

12 months ago

4.7.42

12 months ago

4.7.41

12 months ago

4.6.41

12 months ago

4.6.40

12 months ago

4.6.39

12 months ago

4.6.38

12 months ago

4.6.37

12 months ago

4.5.37

12 months ago

4.4.37

12 months ago

4.4.36

12 months ago

4.4.35

12 months ago

4.4.34

12 months ago

4.4.33

12 months ago

4.4.32

12 months ago

4.4.31

1 year ago

4.4.30

1 year ago

4.4.29

1 year ago

4.4.28

1 year ago

3.4.28

1 year ago

3.4.27

1 year ago

3.4.26

1 year ago

3.4.25

1 year ago

3.4.24

1 year ago

3.4.23

1 year ago

3.3.23

1 year ago

3.3.22

1 year ago

3.3.21

1 year ago

3.2.21

1 year ago

3.2.20

1 year ago

3.2.19

1 year ago

2.2.19

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

1 year ago

1.2.11

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

1 year ago

1.2.1

1 year ago

1.1.1

1 year ago

1.1.0

1 year ago

1.0.0

1 year ago