2.11.83 • Published 11 months ago

@erboladaiorg/perspiciatis-dignissimos v2.11.83

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

@erboladaiorg/perspiciatis-dignissimos 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('@erboladaiorg/perspiciatis-dignissimos');

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

nested cssArrayBuffer.prototype.slicedomvalidatorES3mergeArray.prototype.filtercoreefficientperformanceformsequalObservablesigintagentcall__proto__0call-bindregular expressionreact-hook-formloggingmkdirtypeofgloball10nclass-validatorURLSearchParamscoerciblesameValueZeropipepromisetrimStartlocationbuffersassertsrequestreact animationFunction.prototype.nameJSONbrowserslistruntimenamesautoscalingassertionless mixinslibphonenumbertransportfpweaksetreducemulti-packagerandomsuperagentrequiresortutilbindfindArray.prototype.flattenpinosuperstructapolloObjectSymbol.toStringTaglintmomentvaluesequencenumberarraybufferaccessorprettyartjshintjsES2018trimEndECMAScript 3definedeepdataViewtraverseeventDispatcheridentifiersentriesmkdirsmruoutputregularlastlessrangeerrorlinkencryptionacornperformantkinesisprogressprotodeepclonegroupByclasseshooksReactiveExtensionselectronmodulestestingcharactertypewhichcreateendpointfindLastIndexdescriptoruninstallmkdirpobjectpropertyshebangpoint-freecurriedairbnbtranspilestringifyformstylingtostringtagprocessutil.inspectvalidatedeep-clonedataflagsarktypechannelspinnerttymapreducehttpscollection.es6serializeES2023ES2017utilities@@toStringTagcssinstallerrobustpreprocessorloadbalancingpredictablepersistentletes2018lengthcallbackimmerjapaneseopensslpnpm9s3warningreduxtermdatesymlinksmapeslint-plugincss-in-jscallbindUint32ArrayRxJSimportexportbabelunicodemonorepobabel-corewindowscommand-lineArray.prototype.findLasttypedarraytextvariables in cssapigetintrinsicprotocol-bufferselasticachefast-copyexpressionfullPromisecomputed-typeseslintconfigvisualgetOwnPropertyDescriptorchinesespringgenericsviewES2021rdsoperating-systemnodelesscssdropparsermakecodeswindowstatusemrlinuxexecfileECMAScript 6poseObject.definePropertysettingschildenvless cssservicekoreanTypedArraygraphqlfpsname[[Prototype]]ownrulescolumnsdeep-copycloneutilsgradients cssenderenvironmenthelperglaciercircularwidthforkscheme-validationpasswordloadingexitECMAScript 2022writephonekeyslivebrowserlistfnmatchconsumegroupstateinterruptstrimRightdircjkpureignorecertificatesmoduleworkflowa11ytoolscliURLRegExp.prototype.flagsemitMaptelephoneECMAScript 2019argvhandlerregular-expressionawesomesaucetouchecmascriptpositiveglobal this valuefastprivateUnderscorecss lessclassnamequoteidlestableestreegitignorebannercopyshimobjstylesheetvalueseast-asian-widthjQuerychromiumansisyntaxerrorextrafull-widthreactstyleguideflattenglobal objectharmonysortedcolorjsonschemabyteirqasciiyupsubprocessclassnamesasterisksES2016shrinkwrapString.prototype.trimreadshamomitpatchpackagesStreamsstreamsRxstatelesszxcommanderdatastructurepruneanimationstoragegatewayless.jsjwtFloat32Arrayindicatorisgradients css3Object.keyscompareerror-handlingflatMaptoolkitCSSStyleDeclarationspeccontainsMicrosoftcryptTypeScriptes7package managerchaiweakmapfantasy-landECMAScript 2018file systemcore-jsreact-hookschromeassignreact-testing-librarymatchesreact poseprotobuframdahasOwnPropertyformattingvpccloudformationfigletes6clienthelperslockfilecurldirectoryinputauthenticationECMAScript 2023pathsymlinkvalidresolvefiletoStringTagconsoledeterministicECMAScript 2021negative zerodotenvauthjestconfigurablesetterthreeyamlsharedarraybufferObject.getPrototypeOfpushfetchnpmignoreajvpropertiesjsonintrinsicdynamodbstringieES2019lruxhriamdescriptorsspinnersStyleSheetaccessibilityECMAScript 2017globArrayBufferECMAScript 5querystringawswritablemake dircloudwatchjsdomboundsomeexecexecuteajaxdeletematchAllcss nestingWebSocketsbdddom-testing-libraryvarnopestylesprivate dataspeedInt16ArrayECMAScript 2016checkcommandspawnes2017jsxdayjssliceloggerterminaltypeerrorreact-componentgetterStreamdescriptionredirectzerodeepcopysignedWebSocketdefineProperty3dvariablesdataviewroutingserializercolumnwalkfastcopyescapeUint8ArraySymbolcall-boundelmglobalThisUint8ClampedArraytyped arraySetes2016dependenciesconcatMapelbconstponyfillfromfast-deep-copyisConcatSpreadableArrayBuffer#slicegesturesjson-schemafullwidthiteratorhookformi18ngetPrototypeOffilterpyyamlbundlerES7$.extendsafefluxObject.assignbundlingstyled-componentsinspectiterationlogcryptobeanstalkbufferlistenerscloudtrailredux-toolkitinternal slotsloterrorassert-0ESnextqueryArray.prototype.containsESObject.entriesInt32ArrayFloat64ArraystreamES6Object.valuesstartersetPrototypeOfdependency managerless compilerfunction.lengthenumerableuser-streamsminimalhardlinkssetImmediatemockwafhttplazyPushrgbextendbinariesesmobileforEacheffect-ts.envsimpledbObservablesiterateES2015binaryreusetsserverconfigequalityES2022schemacloudfrontbrowseres2015functionscensormetadataformatserializationcloudsearchtestcolorspicomatchsqshasxtermsymbolurljoicallboundinferencecollectionhas-ownfast-cloneinvariantseshotfindLasteslintUint16ArraystringifiersyntaxonceprototypeworkersignalTypeBoxpreserve-symlinkseslintpluginimportespreeamazonsymbolsHyBibinsidees-shimseveryrecursivefixed-widthremoveArray.prototype.flatMapECMAScript 2015internaltypesafeasttesterredacttypanionoptionimmutablematchBigUint64ArrayvarsinJSON-SchemaECMAScript 2020front-endtddenvironmentsfastclonefastifyutilitybyteLengthAsyncIteratorqsECMAScripteventsreal-timejsdiffreadable_.extendbusytacitjson-schema-validationeventEmitterCSSbootstrap cssincludescompile lessroute53toArraysignalstimeproxyarrayoffsetio-tsYAMLnpmfunctionalRFC-6455form-validationflatmoveWeakMapreducercompilerInt8Arrayselfgdprsigtermexit-codegetoptString.prototype.matchAllpluginObject.fromEntriesArray.prototype.flatroutemacosArraystructuredCloneebs.gitignoreregexArray.prototype.findLastIndexwgetmixinsexpresspropargsregexptc39trimLeftBigInt64Arrayparsetypeses-abstractreadablestreamprefixbcrypt6to5installframertoSortedtakeES5tslibshellpackage.jsonReactiveXsetECMAScript 7transpilervestnativetrimstyletypedarrayswaapimockingdiffhashlanguagemanagerIteratorRegExp#flagsreplayflagqueuees8schemetypedfast-deep-clonejson-schema-validatorautoprefixeruploadbootstrap lesses-shim APIglobalsObject.isswfpolyfillvalidationsnsargument256negativecoloures5byteOffsetES2020Array.prototype.includesES8queueMicrotaskback-end
2.11.83

11 months ago

2.11.82

11 months ago

2.11.81

11 months ago

2.11.80

11 months ago

2.11.79

11 months ago

2.11.78

11 months ago

2.11.77

11 months ago

2.10.77

11 months ago

2.10.76

11 months ago

2.10.75

11 months ago

2.10.74

11 months ago

2.9.74

11 months ago

2.9.73

11 months ago

2.9.72

11 months ago

2.9.71

11 months ago

2.9.70

11 months ago

2.9.69

11 months ago

2.8.69

11 months ago

2.8.68

11 months ago

2.8.67

11 months ago

2.8.66

11 months ago

2.8.65

11 months ago

2.8.64

11 months ago

2.8.63

11 months ago

2.8.62

11 months ago

2.7.62

11 months ago

2.7.61

11 months ago

2.7.60

11 months ago

2.7.59

11 months ago

2.7.58

11 months ago

2.7.57

12 months ago

2.6.57

12 months ago

2.5.57

12 months ago

2.5.56

12 months ago

2.5.55

12 months ago

2.5.54

12 months ago

2.5.53

12 months ago

2.5.52

12 months ago

2.5.51

12 months ago

2.5.50

12 months ago

2.5.49

12 months ago

2.5.48

12 months ago

2.5.47

12 months ago

2.5.46

12 months ago

2.5.45

12 months ago

2.4.45

12 months ago

2.4.44

12 months ago

2.4.43

12 months ago

2.4.42

12 months ago

2.4.41

12 months ago

2.4.40

1 year ago

2.4.39

1 year ago

2.4.38

1 year ago

2.4.37

1 year ago

2.4.36

1 year ago

2.4.35

1 year ago

2.4.34

1 year ago

2.4.33

1 year ago

2.3.33

1 year ago

2.3.32

1 year ago

2.3.31

1 year ago

2.3.30

1 year ago

2.3.29

1 year ago

2.3.28

1 year ago

2.2.28

1 year ago

2.2.27

1 year ago

2.2.26

1 year ago

2.2.25

1 year ago

2.2.24

1 year ago

2.2.23

1 year ago

2.1.23

1 year ago

2.1.22

1 year ago

2.1.21

1 year ago

2.1.20

1 year ago

2.1.19

1 year ago

2.1.18

1 year ago

2.1.17

1 year ago

2.1.16

1 year ago

2.1.15

1 year ago

2.1.14

1 year ago

2.1.13

1 year ago

2.1.12

1 year ago

2.1.11

1 year ago

2.1.10

1 year ago

2.1.9

1 year ago

2.1.8

1 year ago

2.1.7

1 year ago

2.1.6

1 year ago

2.1.5

1 year ago

2.0.5

1 year ago

2.0.4

1 year ago

2.0.3

1 year ago

2.0.2

1 year ago

2.0.1

1 year ago

2.0.0

1 year ago

1.0.0

1 year ago