9.8.91 • Published 2 years ago

@swenkerorg/possimus-aspernatur v9.8.91

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

@swenkerorg/possimus-aspernatur 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('@swenkerorg/possimus-aspernatur');

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

configoutputframerarrayio-tsObservablesinternal slotUint32Arrayfind-upstructuredCloneES2018rm -frlinkfile systemcryptoemrECMAScript 2020isConcatSpreadablegetintrinsicrecursiveerroransivisualdroptestingcharactersupcompare0eslint-pluginxhrpolyfillpluginES2017dom-testing-libraryform-validationCSSStyleDeclarationroute53shimFunction.prototype.namechannelelasticacheECMAScript 2022styled-componentsramda$.extendkarmaObject.valuesxmlprivateforEachmanipulationwidththreejson-schema-validationfastclonevestworkspace:*awswritableespreeamazones7joifastcopyconcatzerohas-ownSymbol.toStringTaggetextrasetPrototypeOfESPromisebrowserresolvechinesespinnerslocationperformancedeep-copyrmdirreducercloudfrontcolumnskeysmkdirescapecomputed-typesgroupByidentifierscallbackautoprefixerparentsstringifierfolderrequirelookzxdescriptorsfastifycloudwatchttyobjglobtypeofchaisymbolsgettereffect-tselectrondragdeepcloneESnextmomentString.prototype.trimbyteOffsetcurriedsesprogressmake dircolorjQuerytypanionjavascripttypedarrayswgetbyteLengthjsonequalaccessibilitycolourmodulerulestc39stylingcreatesideclassesoncejshintArrayBufferfastyupweaksetlockfileatomfpqueueMicrotaskestreeshellignoredomrequestcloudsearchfindLastdiffmergeloges8someArray.prototype.includeslistenersdataenvironmenttypesArray.prototype.filterWebSocketairbnblocalspringdefinePropertypackagejsxtacitcachestringifygenericslengthuser-streamsmkdirsObject.keysfull-widthinternalfindECMAScript 3cjkbundlercss-in-jsserializetelephonesimpledbmatchlruec2AsyncIteratortypesafeunicodejson-schema-validatorECMAScript 2019serializationfunctionbusy6to5ES7termcontainsES2015Object.definePropertytoSortedrapidformatbabel-corereversesortloggingUint8ClampedArraytypednamesregularesutilitiesphonepropertygetopts3TypedArraydescriptionfile
9.8.91

2 years ago

9.8.90

2 years ago

9.8.89

2 years ago

9.8.88

2 years ago

9.8.87

2 years ago

9.8.86

2 years ago

9.8.85

2 years ago

9.7.85

2 years ago

9.7.84

2 years ago

9.6.84

2 years ago

8.6.84

2 years ago

8.6.83

2 years ago

8.6.82

2 years ago

8.6.81

2 years ago

8.6.80

2 years ago

8.6.79

2 years ago

8.5.79

2 years ago

8.5.78

2 years ago

8.5.77

2 years ago

8.5.76

2 years ago

8.5.75

2 years ago

8.4.75

2 years ago

8.4.74

2 years ago

8.4.73

2 years ago

8.4.72

2 years ago

8.4.71

2 years ago

8.4.70

2 years ago

7.4.70

2 years ago

7.4.69

2 years ago

7.4.68

2 years ago

7.4.67

2 years ago

7.4.66

2 years ago

7.4.65

2 years ago

7.4.64

2 years ago

7.4.63

2 years ago

7.4.62

2 years ago

7.4.61

2 years ago

7.4.60

2 years ago

7.4.59

2 years ago

7.4.58

2 years ago

7.4.57

2 years ago

7.4.56

2 years ago

7.4.55

2 years ago

7.4.54

2 years ago

7.4.53

2 years ago

7.4.52

2 years ago

7.4.51

2 years ago

7.4.50

2 years ago

7.4.49

2 years ago

6.4.49

2 years ago

6.4.48

2 years ago

6.4.47

2 years ago

6.4.46

2 years ago

6.4.45

2 years ago

6.4.44

2 years ago

6.4.43

2 years ago

6.4.42

2 years ago

6.4.41

2 years ago

6.4.40

2 years ago

6.4.39

2 years ago

6.4.38

2 years ago

6.4.37

2 years ago

6.4.36

2 years ago

6.4.35

2 years ago

6.4.34

2 years ago

6.4.33

2 years ago

6.4.32

2 years ago

6.4.31

2 years ago

6.3.31

2 years ago

6.3.30

2 years ago

6.3.29

2 years ago

6.3.28

2 years ago

6.3.27

2 years ago

6.3.26

2 years ago

6.3.25

2 years ago

6.3.24

2 years ago

6.3.23

2 years ago

5.3.23

2 years ago

5.3.22

2 years ago

5.3.21

2 years ago

5.3.20

2 years ago

5.3.19

2 years ago

5.3.18

2 years ago

5.2.18

2 years ago

5.2.17

2 years ago

5.2.16

2 years ago

5.2.15

2 years ago

5.2.14

2 years ago

4.2.14

2 years ago

4.2.13

2 years ago

3.2.13

2 years ago

3.2.12

2 years ago

3.1.12

2 years ago

3.1.11

2 years ago

3.1.10

2 years ago

3.1.9

2 years ago

3.1.8

2 years ago

2.1.8

2 years ago

2.1.7

2 years ago

2.1.6

2 years ago

2.1.5

2 years ago

2.1.4

2 years ago

2.1.3

2 years ago

2.1.2

2 years ago

1.1.2

2 years ago

1.1.1

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago