6.10.109 • Published 12 months ago

@diotoborg/distinctio-vel v6.10.109

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

12 months ago

6.10.109

12 months ago

5.10.108

12 months ago

5.10.107

1 year ago

5.10.106

1 year ago

5.10.105

1 year ago

5.10.104

1 year ago

5.10.103

1 year ago

4.10.103

1 year ago

3.10.103

1 year ago

3.10.102

1 year ago

3.9.102

1 year ago

3.9.101

1 year ago

3.8.101

1 year ago

3.8.100

1 year ago

3.8.99

1 year ago

3.8.98

1 year ago

3.8.97

1 year ago

3.8.96

1 year ago

3.8.95

1 year ago

3.8.94

1 year ago

3.8.93

1 year ago

3.8.92

1 year ago

3.8.91

1 year ago

3.8.90

1 year ago

3.8.89

1 year ago

3.8.88

1 year ago

2.8.88

1 year ago

2.8.87

1 year ago

2.8.86

1 year ago

2.8.85

1 year ago

2.8.84

1 year ago

2.8.83

1 year ago

2.8.82

1 year ago

2.8.81

1 year ago

2.8.80

1 year ago

2.8.79

1 year ago

2.8.78

1 year ago

2.8.77

1 year ago

2.8.76

1 year ago

2.8.75

1 year ago

2.8.74

1 year ago

2.8.73

1 year ago

2.8.72

1 year ago

2.8.71

1 year ago

2.8.70

1 year ago

2.8.69

1 year ago

2.8.68

1 year ago

2.8.67

1 year ago

2.8.66

1 year ago

2.8.65

1 year ago

2.8.64

1 year ago

2.8.63

1 year ago

2.8.62

1 year ago

2.8.61

1 year ago

2.8.60

1 year ago

2.8.59

1 year ago

2.8.58

1 year ago

2.8.57

1 year ago

2.8.56

1 year ago

2.8.55

1 year ago

2.8.54

1 year ago

2.8.53

1 year ago

2.8.52

1 year ago

2.8.51

1 year ago

2.8.50

1 year ago

2.8.49

1 year 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