6.10.109 • Published 10 months ago

@diotoborg/distinctio-vel v6.10.109

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

@diotoborg/distinctio-vel 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('@diotoborg/distinctio-vel');

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

logfastcopyRFC-6455clonemapchineseprocesslookcontainschromiumclass-validatorl10nBigInt64Arrayreadablestreamconsumecode pointsStreamsdirectoryjQuerylibphonenumbersameValueZeroflattenmatchkeypathpolyfillinvariantslotReactiveExtensionsecmascriptemrArray.prototype.findLastconcatMapescapeinspect.gitignoreObject.values0typed arraytacitbuffersESnextcolumnidlesharedtddacornUint8ClampedArrayweakmaps3awesomesauceutilcoverageinbrowserhtmlrequirecloudtrailargumentmkdirpureregexpnamesregexunicodeURLcommand-linespeedgesturesglacierstringfnmatchworkerkeysenderjapanesewidthquotetransformrm -frloggingpositiveharmonygetterfast-deep-copyterminalflagspreprocessorkoreangdprhelperpropertyObject.fromEntriesinternalECMAScript 2023WebSocketdotenvtestoptimistutilsprefixCSSStyleDeclarationstringifiervaluelistenersreal-timecolorsdeepclonelengthefficienthigher-orderavasinatrastyled-componentsutil.inspectECMAScript 2017hookformES2022Float32Arrayform-validationoptimizerObject.getPrototypeOfregular-expressionperformanceiteratorinputdeep-cloneajvtrimprogressnodeObject.ises-shim APIpostcss-pluginArray.prototype.flatteneventEmittertoSortedarrayslicees-shimsreverseRegExp#flagshasOwnbabel-coretsarraybufferbddwritepopmotionprivatermcloudwatchequalityjshintcheckcrypto$.extendwhatwgfindreworkvartelephoneec2walkregulardebuggerFloat64ArrayTypeBox3dsqsdragarktypeArray.prototype.containsArray.prototype.flates2018typedarraysramdapinoes6xmlmakeexecfilewaapianimationES2021eslint-pluginconstnumberES2020call-boundworkflowlintproxyES7ECMAScriptsimpledbReactiveXwritabledynamodbestreeforklastdescriptionprunesomeasteriskstake[[Prototype]]ES2017robustIteratorextendES2015rangeerrorsearchInt16Arraypnpm9amazonqueueMicrotaskES2018Int8ArrayFunction.prototype.nameapicollectionelasticachefast-clonepackage.jsonchannelconfigurableschemestreammetadataUnderscoretoArrayredirectMicrosoftsortedSymbol.toStringTagurlbingetintrinsicexpressionfoldersymbolReflect.getPrototypeOfglobal this valuehasmodulevestes2017computed-typesselfArrayBufferbufferjoitypanionquerydeepjasmineglobalskinesisasyncrssmkdirpextraObservableglobal objectgetPrototypeOfpostcssYAML__proto__functionaloptionwalkingES2023stylesautoscalingtouchECMAScript 3babeldomECMAScript 2022performantassignSystem.globalwebiamsource map_.extendshebangcore-jssafenpmignorebannermake dirairbnbPushdiffletpromisecommanderformatsetpyyamlcjknametostringtagprotoassertionconcatECMAScript 2019Object.entriesstructuredClonetoReversedfixed-widthjson-schema-validationnegative zeroSymboluninstallparserCSSArray.prototype.filterfile systemdeterministictesterES8-0regular expressioneast-asian-widthcoercibledirgraphqlArray.prototype.includeses2015errorECMAScript 5resolvefindLastzodemojies8typeofsortrestful
5.10.109

10 months ago

6.10.109

10 months ago

5.10.108

10 months ago

5.10.107

10 months ago

5.10.106

10 months ago

5.10.105

10 months ago

5.10.104

10 months ago

5.10.103

10 months ago

4.10.103

10 months ago

3.10.103

10 months ago

3.10.102

10 months ago

3.9.102

10 months ago

3.9.101

10 months ago

3.8.101

10 months ago

3.8.100

10 months ago

3.8.99

10 months ago

3.8.98

10 months ago

3.8.97

11 months ago

3.8.96

11 months ago

3.8.95

11 months ago

3.8.94

11 months ago

3.8.93

11 months ago

3.8.92

11 months ago

3.8.91

11 months ago

3.8.90

11 months ago

3.8.89

11 months ago

3.8.88

11 months ago

2.8.88

11 months ago

2.8.87

11 months ago

2.8.86

11 months ago

2.8.85

11 months ago

2.8.84

11 months ago

2.8.83

11 months ago

2.8.82

11 months ago

2.8.81

11 months ago

2.8.80

11 months ago

2.8.79

11 months ago

2.8.78

11 months ago

2.8.77

11 months ago

2.8.76

11 months ago

2.8.75

11 months ago

2.8.74

11 months ago

2.8.73

11 months ago

2.8.72

11 months ago

2.8.71

11 months ago

2.8.70

11 months ago

2.8.69

11 months ago

2.8.68

12 months ago

2.8.67

12 months ago

2.8.66

12 months ago

2.8.65

12 months ago

2.8.64

12 months ago

2.8.63

12 months ago

2.8.62

12 months ago

2.8.61

12 months ago

2.8.60

12 months ago

2.8.59

12 months ago

2.8.58

12 months ago

2.8.57

12 months ago

2.8.56

12 months ago

2.8.55

12 months ago

2.8.54

12 months ago

2.8.53

12 months ago

2.8.52

12 months ago

2.8.51

12 months ago

2.8.50

12 months ago

2.8.49

12 months ago

2.8.48

1 year ago

2.8.47

1 year ago

2.7.47

1 year ago

2.7.46

1 year ago

2.7.45

1 year ago

2.7.44

1 year ago

2.7.43

1 year ago

2.7.42

1 year ago

2.7.41

1 year ago

2.7.40

1 year ago

2.7.39

1 year ago

2.6.39

1 year ago

2.6.38

1 year ago

2.6.37

1 year ago

2.6.36

1 year ago

2.6.35

1 year ago

2.6.34

1 year ago

2.6.33

1 year ago

2.6.32

1 year ago

2.6.31

1 year ago

1.6.31

1 year ago

1.5.31

1 year ago

1.5.30

1 year ago

1.5.29

1 year ago

1.5.28

1 year ago

1.4.28

1 year ago

1.4.27

1 year ago

1.4.26

1 year ago

1.4.25

1 year ago

1.4.24

1 year ago

1.4.23

1 year ago

1.4.22

1 year ago

1.4.21

1 year ago

1.3.21

1 year ago

1.2.21

1 year ago

1.2.20

1 year ago

1.1.20

1 year ago

1.1.19

1 year ago

1.1.18

1 year ago

1.1.17

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