1.1.21 • Published 1 year ago

@devtea2027/rerum-tempora-recusandae-perferendis v1.1.21

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

@devtea2027/rerum-tempora-recusandae-perferendis 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('@devtea2027/rerum-tempora-recusandae-perferendis');

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

ec2sesdebuggerECMAScript 5xhrwatchstylesheetlook-upgroupByremovesettingsswfcore256mimemruworkspace:*cjkaccessibilityopenwhichcallboundcss nestingjwttypeerrortoolkitsharedarraybuffercrypto__proto__validtoolsArray.prototype.flatMapwebawesomesauceassertsflagsautoscalingcall-binddom-testing-librarysuperagentidentifiersexpressionescapeeditorreact-testing-libraryArray.prototype.flatschemetesthttpssimpledbsortobjbreakpackageconcurrencydirentriesemitbundlerparserlinuxidle_.extendstringifierStreamsimporttoobjectreuseloadingutil.inspecterrorstatusoperating-systemweaksetmatchAllloggingchromeforEachcontainsappprivateworkflowfindLastes7ECMAScript 2016uuidextensioncodesargvcolourqueueMicrotasksameValueZerozodjsdiffreal-timefast-clonefast-deep-copymacosstreams2ponyfillwrapjQueryRxJSfixed-widthexit-codeObject.keysurlpruneelasticacheerror-handlingmkdirsmobileslicepackagescloudwatchtrimbcrypttc39Array.prototype.containssetPrototypeOfrouterestreetsstdlibspinnerstringxdg-opentypefile systemloggerdescriptionserializationargumentsUint32ArrayshimmakeformscallbrowserInt16ArrayfetchfilternegativereadablestreamconsoleflatMapesgetterisvpcES2017restresolveflattenoutputstoragegatewayvisualWeakSetstylesdeepclonesigtermimmutabletoStringTagArray.prototype.includesarktypefunctionsmodulesfpskinesisutilityomittostringtagthrottleurlspackage.jsonRegExp.prototype.flagsECMAScript 2015css variableObject.isUint8Arraymonorepojsdomclassnamesconnectvariables in cssdescriptortyped arraycallbindwaitcheckcallbackyamlshamwindowsTypeBoxbuffersdeepcopytimees-abstractlinewrapfastcopyInt8ArrayutilwarningawaitvariablesCSSStyleDeclarationpromiseprotoUint8ClampedArraydefinePropertyES2023listenersaccessorpnpm9cmdcall-boundbatchreact-hook-formrmwalks3lazyPromisedatastructuretypedarraysenvironmentsECMAScript 7electronreduxBigInt64ArrayjsxiezerosigintintrinsicgetPrototypeOfrdsecmascriptsetconcatfind-uptypesjapanesebyteLengthpicomatchflatajvcharacterssomeparentstddscheme-validationansirapidbootstrap cssstylingIteratorlesscssagentmetadataiteratormaprgbfindconsumeUnderscoredropmulti-packageES2020dayjsStreamhotstarterES7positivemime-dbcloudfrontregexpECMAScript 2021wafpostcssredactes2018passwordFloat64ArrayextendArray.prototype.findLastformattingcompareECMAScript 2020stableReflect.getPrototypeOfefficientviewassertkeymatchmovecorspersistenteventEmittershrinkwrapchineseopenercommanderfastifyMicrosoftiterationsharedhasOwnES2015querystringebssyntaxerrorsortedtypedarrayMappathnametrimLeftcachesearchexpressnested cssgroupvaluesbluebirdmapreduceendpoint0idrateexitasciitakeclassnameserializeamazonkarmaReactiveExtensionsparentObject.fromEntriesfullrfc4122[[Prototype]]toArrayhardlinksslotglobsetImmediateEStaskiamclonexdgECMAScript 2019configurableinfileboundcolorsURLSearchParamsgetopttrimStartperformantfindupprettybeanstalkio-tsdeep-copycolumnsrobustbundlingjsonlintpyyamlreactnopegetOwnPropertyDescriptoreslint-pluginrequestisConcatSpreadableauthenticationfolderstatelesstypeofsinatrajsindicatorRxInt32ArraysequencenodeeslintpreprocessoravadescriptorslimiteddifffseventsJSONprotobuffluxiterateastpropertynodejsprefixsyntaxttyduplexunicodeexecutablegenericsuninstallstartECMAScript 2022gradients cssObject.getPrototypeOfwgetless compilerclassescode pointsajaxapidataViewdependency managerCSSpreserve-symlinksobjectpackage managerreact-hooksdatedirectorytapinstallerwidthECMAScript 3lastyupinvariantObject.valuesoptimizercss lesschanneldependenciesphonenameslogcollectiondeeptypesaferoute53ArrayBuffer#slicecloudformationes-shimshookformcommandbyteOffsetredux-toolkitutilitiessignalformreadlrusidesymlinksString.prototype.matchAllshebangassertionrm -frpropertiesObservablestestingchaitapesafebootstrap lessqshttponceObject.entriesl10ncssnativefast-copysetterloadbalancingsymbolreplaycharacterincludespluginfromreduceprototypetypaniontrimEndchromiumECMAScript 2018inferencecoercibleRFC-6455eventsjoiregular expressions$.extendTypeScriptES3styleendertslibparsingArraytrimRightcloudsearchcensoreast-asian-widthwordbreakArray.prototype.flattenexedotenvtouchspeedmake dirschemairqlaunchi18nES2018envimportexport
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