6.10.109 • Published 2 years ago

@diotoborg/distinctio-vel v6.10.109

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years 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

2 years ago

6.10.109

2 years ago

5.10.108

2 years ago

5.10.107

2 years ago

5.10.106

2 years ago

5.10.105

2 years ago

5.10.104

2 years ago

5.10.103

2 years ago

4.10.103

2 years ago

3.10.103

2 years ago

3.10.102

2 years ago

3.9.102

2 years ago

3.9.101

2 years ago

3.8.101

2 years ago

3.8.100

2 years ago

3.8.99

2 years ago

3.8.98

2 years ago

3.8.97

2 years ago

3.8.96

2 years ago

3.8.95

2 years ago

3.8.94

2 years ago

3.8.93

2 years ago

3.8.92

2 years ago

3.8.91

2 years ago

3.8.90

2 years ago

3.8.89

2 years ago

3.8.88

2 years ago

2.8.88

2 years ago

2.8.87

2 years ago

2.8.86

2 years ago

2.8.85

2 years ago

2.8.84

2 years ago

2.8.83

2 years ago

2.8.82

2 years ago

2.8.81

2 years ago

2.8.80

2 years ago

2.8.79

2 years ago

2.8.78

2 years ago

2.8.77

2 years ago

2.8.76

2 years ago

2.8.75

2 years ago

2.8.74

2 years ago

2.8.73

2 years ago

2.8.72

2 years ago

2.8.71

2 years ago

2.8.70

2 years ago

2.8.69

2 years ago

2.8.68

2 years ago

2.8.67

2 years ago

2.8.66

2 years ago

2.8.65

2 years ago

2.8.64

2 years ago

2.8.63

2 years ago

2.8.62

2 years ago

2.8.61

2 years ago

2.8.60

2 years ago

2.8.59

2 years ago

2.8.58

2 years ago

2.8.57

2 years ago

2.8.56

2 years ago

2.8.55

2 years ago

2.8.54

2 years ago

2.8.53

2 years ago

2.8.52

2 years ago

2.8.51

2 years ago

2.8.50

2 years ago

2.8.49

2 years ago

2.8.48

2 years ago

2.8.47

2 years ago

2.7.47

2 years ago

2.7.46

2 years ago

2.7.45

2 years ago

2.7.44

2 years ago

2.7.43

2 years ago

2.7.42

2 years ago

2.7.41

2 years ago

2.7.40

2 years ago

2.7.39

2 years ago

2.6.39

2 years ago

2.6.38

2 years ago

2.6.37

2 years ago

2.6.36

2 years ago

2.6.35

2 years ago

2.6.34

2 years ago

2.6.33

2 years ago

2.6.32

2 years ago

2.6.31

2 years ago

1.6.31

2 years ago

1.5.31

2 years ago

1.5.30

2 years ago

1.5.29

2 years ago

1.5.28

2 years ago

1.4.28

2 years ago

1.4.27

2 years ago

1.4.26

2 years ago

1.4.25

2 years ago

1.4.24

2 years ago

1.4.23

2 years ago

1.4.22

2 years ago

1.4.21

2 years ago

1.3.21

2 years ago

1.2.21

2 years ago

1.2.20

2 years ago

1.1.20

2 years ago

1.1.19

2 years ago

1.1.18

2 years ago

1.1.17

2 years ago

1.1.16

2 years ago

1.1.15

2 years ago

1.0.15

2 years ago

1.0.14

2 years ago

1.0.13

2 years ago

1.0.12

2 years ago

1.0.11

2 years ago

1.0.10

2 years ago

1.0.9

2 years ago

1.0.8

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago