4.5.88 • Published 12 months ago

@taktikorg/accusantium-ut v4.5.88

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

@taktikorg/accusantium-ut Version Badge

github actions coverage dependency status dev dependency status License Downloads

npm badge

An ES2017 spec-compliant Object.values shim. Invoke its "shim" method to shim Object.values 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 values = require('@taktikorg/accusantium-ut');

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

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

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

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

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

Tests

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

indicatorhelpervalidateframerESmomentpruneenvironmentvaluekeybinariesidentifierslengthspeedstoragegatewayredirectArray.prototype.filterserializertypanionphoneajvES2023superagentgetterenumerablesignalcertificatesi18nvalidationclassesspectypetoobjectclassnamesreact-hookstermkinesisdefinePropertyramdafastifymergetc39cloudfrontbyteLengthpackagesRegExp.prototype.flagsimportObject.keysbabel-corea11ybinURLSearchParamswindowsfullieutilsObjecthashECMAScript 2015TypeBoxdayjsfast-copypersistentinspectenderquerystringnopeprivate datamixinspyyamlparsegenericsimmerhardlinkstoolsReactiveExtensionsbddgitignorecolumnsglobales-abstractregular-expressionspawnfull-widthArrayWeakSetpipeassertfastdiffreplaypathcommand-linecacheconfigurablestableconfigvarsgetOwnPropertyDescriptorpreserve-symlinksmkdirpdependency manageres-shim APIpredictableredacttyped array_.extendBigUint64ArraystreamPushassignstylingrecursivesyntaxerrorelbyamlform-validationsetterlinkcloudsearch3dtypesES2020logpackage.jsondeepcss variablehasvestless.jsstringifycallbindsharedarraybufferreadvisualfsutil.inspectidleiamcallboundwhatwgcolormapxtermnegative zeroterminalomitttyfpprivateendpointsymbolsString.prototype.trimtouchargsIteratorsetImmediateamazonnodejsuser-streamsrequiredatabrowserlistelectroncomputed-typespreprocessortoArraygradients css3loadbalancingWebSocket6to5deep-clonecreatedomqsdeleteArray.prototype.findLaststylemodulevalidatorzerojsdifftslibrgbObject.isparserexecfileestreechildajaxRFC-6455JSON-Schemaelmfunctionsreact posekoreanTypedArrayreact animationhooksiteratorglacierunicodetypedarraythreejsdomponyfillemitinputvarbannersescss nestingUnderscoreObservablesfindLastBigInt64Arrayyupeslint-pluginFloat64ArraynumbercallcollectionbusyObject.valuespromisejavascriptarrayAsyncIteratorsomefiledirectoryjsxsafe0ebsfullwidthutilECMAScriptredux-toolkitECMAScript 6isopenssluploadconsolepackage managerESnext.envio-tsSymbol.toStringTagstylesreact-testing-libraryFloat32Arraytesterhandlerperformantsideeventsutilitiesgetintrinsicposestyled-componentsclistarterdescriptorsreducerquerystringinvariantmatcheselasticacheemrfpsprotobuftoSortedefficientlockfileprogressrdsformdropmkdirsauthbeanstalkharmonytddcollection.es6importexportes7functionalinferenceInt16ArrayfindLastIndexlocationECMAScript 5letgradients csstypescripttextentriesaccessorPromiseES3ECMAScript 2017CSSStyleDeclarationvariableseslintdataviewextraexitaccessibilitygetoptslotES6offsetroute53sameValueZeroECMAScript 2022lintargvsignedcurlairbnbapiescapeECMAScript 2020es2018routingkeysstructuredClonecall-boundcompile lessautoprefixerES8Uint32ArrayHyBipureargumentespreearraysapolloWeakMapasttypedfixed-widthcoercibletrimRightglobquoteSeterror-handlingfetchshellReflect.getPrototypeOfgraphqlschemawalkinternal slotoutputbootstrap lessbrowserslistdotenvtakeshamfast-deep-copyes8json-schema-validationqueueES5spinnersecmascriptremoveRxJSArray.prototype.flatMapglobal this valuetypeofObservableinstallerreusewarningsnsselfglobal objectweaksetRxjapaneseautoscalingdeepclonehasOwnPropertycensorauthenticationtranspilespinnerES2016l10nfastcloneTypeScriptreal-timenamespnpm9regexES2019ArrayBuffertoStringTagArray.prototype.flattenownES2017Array.prototype.includesless compilerperformancestyleguideschemehigher-ordergetPrototypeOfMaptypesafe.gitignorepropcloudwatchhttpsfile systemsequence
4.5.88

12 months ago

4.5.87

12 months ago

4.5.86

12 months ago

4.5.85

12 months ago

4.5.84

12 months ago

4.5.83

12 months ago

4.4.83

12 months ago

4.4.82

12 months ago

4.4.81

12 months ago

4.4.80

1 year ago

4.4.79

1 year ago

4.4.78

1 year ago

4.4.77

1 year ago

4.4.76

1 year ago

4.4.75

1 year ago

4.4.74

1 year ago

4.4.73

1 year ago

4.4.72

1 year ago

4.4.71

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.3.62

1 year ago

4.3.61

1 year ago

4.3.60

1 year ago

4.3.59

1 year ago

4.3.58

1 year ago

4.3.57

1 year ago

4.3.56

1 year ago

4.3.55

1 year ago

3.3.55

1 year ago

2.3.55

1 year ago

2.3.54

1 year ago

2.3.53

1 year ago

2.3.52

1 year ago

2.3.51

1 year ago

2.3.50

1 year ago

2.3.49

1 year ago

2.3.48

1 year ago

2.3.47

1 year ago

2.3.46

1 year ago

2.3.45

1 year ago

2.3.44

1 year ago

2.3.43

1 year ago

2.3.42

1 year ago

2.3.41

1 year ago

2.3.40

1 year ago

2.3.39

1 year ago

2.3.38

1 year ago

2.3.37

1 year ago

2.3.36

1 year ago

2.3.35

1 year ago

2.3.34

1 year ago

2.3.33

1 year ago

2.3.32

1 year ago

1.3.32

1 year ago

1.3.31

1 year ago

1.3.30

1 year ago

1.2.30

1 year ago

1.2.29

1 year ago

1.2.28

1 year ago

1.2.27

1 year ago

1.2.26

1 year ago

1.2.25

1 year ago

1.2.24

1 year ago

1.2.23

1 year ago

1.2.22

1 year ago

1.2.21

1 year ago

1.1.21

1 year ago

1.1.20

1 year ago

1.0.20

1 year ago

1.0.19

1 year ago

1.0.18

1 year ago

1.0.17

1 year ago

1.0.16

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