2.1.19 • Published 4 days ago

@devtea2026/quos-debitis-ut-quidem v2.1.19

Weekly downloads
-
License
MIT
Repository
github
Last release
4 days ago

@devtea2026/quos-debitis-ut-quidem Version Badge

github actions coverage dependency status dev dependency status License Downloads

npm badge

An ES spec-compliant Object.hasOwn shim. Invoke its "shim" method to shim Object.hasOwn 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 hasOwn = require('@devtea2026/quos-debitis-ut-quidem');

var obj = { a: 1, b: 2 };

assert(hasOwn(obj, 'a'));
assert(hasOwn(obj, 'b'));
assert('toString' in obj && !hasOwn(obj, 'toString'));

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

assert.deepEqual(Object.hasOwn(obj, 'a'), hasOwn(obj, 'a'));

Tests

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

reuseequalityvalueenvECMAScript 2020lockfileassertsSetjsxES2016inferenceajvdataasyncstatusquerystringawsyuppackage managerflatfiltertostringtagemitHyBiworkerchecktouchfastifyperformanceECMAScript 6statelessReactiveExtensionslookspeedtimetraversestarterwebcall-boundcallbindworkflowavaarraysefficientexititerationprotocol-bufferslimitedjsdomlibphonenumberregular expressiondescriptoroptimistsimpledbPushruntimesymlinkurlsflagtddtypescriptcss lessprivate datahardlinkstyped arraygetviewflatMapfluxworkspace:*globObjectxhrcolorseast-asian-widthremovehasJSONwatchinghigher-orderform-validationmetadataless mixinsassertionstdlibttyemojiECMAScript 2019Int16Arrayprocessratebootstrap cssdirectoryvalidtypedarraysrecursivegradients csschineseloadingcloudfrontsinatramonorepomiddlewareObject.keysendpointmkdirs$.extendcmdhandlersfile0i18nutilitiesexpressbcryptextrakinesiskeyfulljQuerycolumnpreprocessorshimhookformStreamsconfigxdg-openzodObject.getPrototypeOfconfigurablees2017outputObservablessigintsharedArrayBuffer#slicejssyntaxerrorprettyESbindrfc4122testslotfast-clonechromegetPrototypeOfsafehasOwnPropertyfunctionssortedObject.fromEntriesbusyES2017Iteratorfast-deep-clonedayjslistenersassertimmutableless cssthroatkoreanfseventEmitterstylingless compilerECMAScript 2015folderregular expressionslastansihotdebugcallbackjsonpathnodejshasOwnredactdatastructuredeletewalkingreadableeslint-pluginES2021operating-systemvalidategdprappbannerstreambluebirdprototoobjectinterruptses2018ES8tapECMAScript 7utilityescapeperformantcharactersbufferscollection.es6deterministicjsonarktypees-shim APIomitFloat32Arrayduplexstylesclass-validatorbeanstalkrestcssdescriptionCSSStyleDeclarationdiffsyntaxinternal slotrmdirwatcherStreamtrimStarthttpsgradients css3mime-dbelmyamlbatchec2inputES2020negative zeroURLSearchParamsparsingbyteLengthreactpersistentwritablecommandercall-bindmimecryptoerrorkarmaenderes2015Int8Arraylaunchmatchclassnamexdgobjnamesapistylesheetreducetesterfrombrowsersliststyleguidefind-uproute53fastcloneconnectextensionbundlerequaldeepECMAScript 5calltoolkitstringifymulti-packagefunctionparentinvariantArray.prototype.flatfindfindLastcss variabledescriptorsbrowserlistpropertyup.envoptionmobilechaiwebsite-0esTypeScriptObject.ises-abstractprefixPromisetoSortedsqssignalnopedebuggerformsrgbUint8Arrayinspectmatchesfast-copycryptfindLastIndexlazy[[Prototype]]ES3classnamescore-jsimportexportredux-toolkitfile systemschemacolorintrinsicjwtReflect.getPrototypeOfidleregexrequirewatchstyled-componentsObject.entriesflattenECMAScript 2018mapreduceelasticacheunicodecensornumberratelimitMicrosoftes2016termsettingsa11yArray.prototype.filterString.prototype.matchAllcloudformationlintentriesencryptioncommand-linesameValueZerofast-deep-copyconcatconcatMaploggingstableidgetoptvisualthrottlecallboundlook-upsuperstructjasmineloadbalancingwhichtypeofmkdirpargsObject.valuesbytestringifierstructuredClonelinkArray.prototype.flattenstatetestingqueueMicrotaskpackage.jsonl10nstartio-tsWeakSetregexpmovecircularstreamsexecutableecmascriptmruObject.definePropertyquoteargumentsurlRegExp.prototype.flagsphoneminimalopensassignargumentwarningArrayBuffertypesreact-hooksreadfullwidthcopyWeakMapspawnpropprotobuf256oncetoolssequencerequestes8japanesepropertiestrimLeftirqprogressECMAScript 2016Array.prototype.includesgrouptypedES7positivecomparedeep-copybundlingcloudsearchRxJSindicatorBigInt64Arraynested cssES2015ArrayresolvecharactermergestyleautoscalingreadablestreamRegExp#flagsopenerReactiveXpredictableES2018mochaprototypeeditorformatpyyamlqueueauthentication
2.1.19

4 days ago

2.1.18

5 days ago

2.0.17

7 days ago

2.1.17

6 days ago

2.0.16

8 days ago

2.0.15

9 days ago

2.0.14

10 days ago

2.0.13

11 days ago

2.0.12

12 days ago

2.0.11

13 days ago

2.0.10

14 days ago

2.0.9

15 days ago

2.0.8

16 days ago

2.0.7

17 days ago

2.0.6

18 days ago

2.0.5

19 days ago