4.6.99 • Published 12 months ago

@kollorg/hic-laudantium v4.6.99

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

@kollorg/hic-laudantium Version Badge

github actions coverage dependency status dev dependency status License Downloads

npm badge

An ES2017 spec-compliant Object.entries shim. Invoke its "shim" method to shim Object.entries if it is unavailable or noncompliant.

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

Most common usage:

var assert = require('assert');
var entries = require('@kollorg/hic-laudantium');

var obj = { a: 1, b: 2, c: 3 };
var expected = [['a', 1], ['b', 2], ['c', 3]];

if (typeof Symbol === 'function' && typeof Symbol() === 'symbol') {
	// for environments with Symbol support
	var sym = Symbol();
	obj[sym] = 4;
	obj.d = sym;
	expected.push(['d', sym]);
}

assert.deepEqual(entries(obj), expected);

if (!Object.entries) {
	entries.shim();
}

assert.deepEqual(Object.entries(obj), expected);

Tests

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

typeerrorobjshebangtsjapanesejasmineelbObject.getPrototypeOfFunction.prototype.namebinmodulegesturesreversehashrapidrgbartECMAScript 2018isiteratorzxatomcommandergroupBytransportexpressurlES2022animationdataviewemitfilter$.extendtouchECMAScript 2019beanstalk.gitignoreassertionjsxintrinsicpurelintfsidentifiersprivateshimespreeexecuteuser-streamsexechardlinksfigletparsereacthtmlrm -fres-shimsprogressmkdirpcodesfixed-widthfeedbinarytoolsES2018descriptorredactnumberdotenvArray.prototype.flatES6ttyworkspace:*sidetoArraycommand-lineStreamsdeepcopyquoterequirefast-deep-cloneinternal slotredirectsnsaccessibilityio-tscolourframerincludescollection.es6deterministicES2017real-timematchregular expressionjsonprotogetReflect.getPrototypeOfsqsnpmECMAScript 2017mkdirreact-hookspropertieswebreadablestreamlanguageschemeObject.entriesignorebufferJSONreact-hook-formpropomitebsbundlerarraystddcallcheckflatMapes5searchsinatradragmatchesdeep-clonebrowserlrudataViewtestingWeakSetpipefile systemframeworkgenericses7expressionsameValueZeromobilepoint-freeregular expressionsimportexportpinobannerguiddynamodbpostcssfindappmomentrestboundprefixcharactersdayjspropertybrowserslistperformanthasOwnPropertyObject.fromEntriescoercibleArraycloudwatchtyped arrayconsoleIteratorpushlocationpolyfillschemaYAMLtranspilerlinkforkarraybufferStyleSheetenvironmentECMAScript 2015assignglobal this valueargumentajvinESnextString.prototype.trimWebSocketconcatrssjsonschemaairbnbtslibsettingsforEachReactiveXentriesconstreduceelectronsetterstylesyupimmutablereusepopmotionrouter.envMicrosoftdescriptorsjsdomcode pointsrmcacheutil.inspectendpointpackagesesagentcloudformationparentsextendrdsjavascriptapollofastclonepackage managerbrowserlistAsyncIteratorhelpers6to5stringifyajaxparentES2015loggercloudfrontemrescapecryptobddloggingstarterspinnerSystem.globalsyntaxerrorcomparecall-bindoutputes2016yamlfantasy-landTypeScriptcore-jschaifunctionformsenumerablearrayInt32ArrayvalidatorlengthgettertoReversedinvariantrfc4122whatwgwritablel10nkarmaArray.prototype.flattenES2023unicodeeventEmittercurlidleReactiveExtensionsUnderscoreieTypeBoxupdomstringutilitytimetranspileserializersomefast-copystreamproxydropstoragegatewaysetImmediatedatesymbolseast-asian-widthasterisksfetchdatarangeerror
4.6.99

12 months ago

4.6.96

12 months ago

4.6.97

12 months ago

4.6.98

12 months ago

4.6.95

12 months ago

4.6.93

1 year ago

4.6.94

12 months ago

4.6.92

1 year ago

4.6.91

1 year ago

4.6.90

1 year ago

4.6.89

1 year ago

4.6.88

1 year ago

4.6.87

1 year ago

4.6.86

1 year ago

4.6.85

1 year ago

4.6.84

1 year ago

4.6.83

1 year ago

4.6.82

1 year ago

4.6.81

1 year ago

4.6.80

1 year ago

4.6.79

1 year ago

4.6.78

1 year ago

4.6.77

1 year ago

4.6.76

1 year ago

4.6.75

1 year ago

4.6.74

1 year ago

4.5.74

1 year ago

4.5.73

1 year ago

4.5.72

1 year ago

4.5.71

1 year ago

4.5.70

1 year ago

4.4.70

1 year ago

4.4.69

1 year ago

4.4.68

1 year ago

4.4.67

1 year ago

4.4.66

1 year ago

4.4.65

1 year ago

4.4.64

1 year ago

4.4.63

1 year ago

4.4.62

1 year ago

4.4.61

1 year ago

4.4.60

1 year ago

4.3.60

1 year ago

4.3.59

1 year ago

3.3.59

1 year ago

3.2.59

1 year ago

3.2.58

1 year ago

3.2.57

1 year ago

3.2.56

1 year ago

3.2.55

1 year ago

3.2.54

1 year ago

3.2.53

1 year ago

3.2.52

1 year ago

3.2.51

1 year ago

3.2.50

1 year ago

3.2.49

1 year ago

3.2.48

1 year ago

3.2.47

1 year ago

3.2.46

1 year ago

3.2.45

1 year ago

3.2.44

1 year ago

3.2.43

1 year ago

3.2.42

1 year ago

3.2.41

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

3.2.35

1 year ago

3.2.34

1 year ago

3.2.33

1 year ago

3.2.32

1 year ago

3.2.31

1 year ago

3.2.30

1 year ago

3.2.29

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

2.2.22

1 year ago

2.2.21

1 year ago

2.2.20

1 year ago

2.2.19

1 year ago

2.2.18

1 year ago

2.2.17

1 year ago

2.2.16

1 year ago

2.2.15

1 year ago

2.2.14

1 year ago

2.2.13

1 year ago

2.1.13

1 year ago

2.1.12

1 year ago

1.1.12

1 year ago

1.1.11

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