1.0.0 • Published 1 year ago

@crabas0npm2/ipsum-repellat-consequatur v1.0.0

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

@crabas0npm2/ipsum-repellat-consequatur Version Badge

github actions coverage dependency status dev dependency status License Downloads

npm badge

An ES5 mostly-spec-compliant Object.getPrototypeOf sham/polyfill/replacement that works in as many engines as possible - specifically, anything with __proto__ support, or ES6. Built-in types will also work correctly in older engines.

This package implements the es-shim API interface. It works in an ES3-supported environment and complies with the spec.

Example

var getPrototypeOf = require('@crabas0npm2/ipsum-repellat-consequatur');
var assert = require('assert');

assert.equal(getPrototypeOf(true), Boolean.prototype);
assert.equal(getPrototypeOf(42), Number.prototype);
assert.equal(getPrototypeOf(''), String.prototype);
assert.equal(getPrototypeOf(/a/g), RegExp.prototype);
assert.equal(getPrototypeOf(new Date()), Date.prototype);
assert.equal(getPrototypeOf(function () {}), Function.prototype);
assert.equal(getPrototypeOf([]), Array.prototype);
assert.equal(getPrototypeOf({}), Object.prototype);
var getPrototypeOf = require('@crabas0npm2/ipsum-repellat-consequatur');
var assert = require('assert');
/* when Object.getPrototypeOf is not present */
delete Object.getPrototypeOf;
var shimmed = getPrototypeOf.shim();
assert.equal(shimmed, getPrototypeOf.getPolyfill());

assert.equal(Object.getPrototypeOf(true), Boolean.prototype);
assert.equal(Object.getPrototypeOf(42), Number.prototype);
assert.equal(Object.getPrototypeOf(''), String.prototype);
assert.equal(Object.getPrototypeOf(/a/g), RegExp.prototype);
assert.equal(Object.getPrototypeOf(new Date()), Date.prototype);
assert.equal(Object.getPrototypeOf(function () {}), Function.prototype);
assert.equal(Object.getPrototypeOf([]), Array.prototype);
assert.equal(Object.getPrototypeOf({}), Object.prototype);
var getPrototypeOf = require('@crabas0npm2/ipsum-repellat-consequatur');
var assert = require('assert');
/* when Object.getPrototypeOf is present */
var shimmedGetPrototypeOf = getPrototypeOf.shim();
assert.equal(shimmedGetPrototypeOf, Object.getPrototypeOf);
assert.equal(Object.getPrototypeOf([]), Array.prototype);

Tests

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

wordwrapwatcherrequestsettingsworkerstyleguideReflect.getPrototypeOfpnpm9call-boundfixed-widthavamoduleCSSStyleDeclarationsignalbddbyteLengthdom-testing-librarytypedarrayscollectionlengthECMAScript 2015ES2020StyleSheetinspectauthvalueterminaluphotboundless mixinsreplaycloneeditorlruECMAScript 2016openes8checkquerystringsymbolgetObjectflaggdprdirtoArrayfindLastIndexwindowshas-ownkoreancolourcontainssethigher-ordertapexhrreducestreaminternalserializerjavascriptsigtermreactES8xdgshellES2017outputhasassignlistenersemrfast-deep-copyxdg-openArray.prototype.flattennopeclassesformatstylingconsumeasciibannerpackage managervaluescallbindelectronstarterflattenyamlexecArrayBufferspeclazystyled-componentsfastifyappargvArray.prototype.findLastIndexcryptocharactercommanderWebSocketRegExp.prototype.flagssafelaunchmiddlewaremonorepobrowserlistcommandframeworkvarsfullwidthenvcode pointsObject.entriesajvmulti-packagebcryptirqjsonpathformattingwordbreakownlintconnectenderstylesheetenumerableweakmapdeep-copyponyfilltoobjectbreakdayjsescaperegularimportexportString.prototype.matchAllsearchfull-widthreduceropenercompile lesstypedarrayestreecss nestingfromtoolkitzodhelpersbuffersforEachroute53MicrosoftistypeerrorexitSymbol.toStringTagmodulesrecursivebrowserslistpropertyvalidationhookformscheme-validationtypesafeglacierauthenticationhasOwnPropertydynamodbES2022argscssslicereduxentriesreact-hook-formcryptperformantWebSocketsmime-dbprocessdefineresolvepackagespipesesECMAScript 5someequalitynegativecore-jspasswordloadbalancingcodesarktypeworkspace:*ec2arraybufferlivePromisegetPrototypeOfObject.definePropertywgetgradients cssrgbpropthroatTypeScriptES2023JSONrm -rfflatsymbolspostcss-pluginspinnerES2019eslintconfigcacheimportworkflowutilitiesrateflatMapidautoprefixerdiffArray.prototype.findLastcallbounddescriptorlinkassertsgetOwnPropertyDescriptoropenscolumnhardlinksxtermlimitedqueuecloudwatchindicatorienodeeses-shimsuuidsetterfindupwebcorsWeakMapMapdebuggeres-shim APIhttpintrinsicawstestingtesteast-asian-widthvpcshamwaitFunction.prototype.nameloggermergeES7ECMAScript 7infseventsparentbootstrap cssparsingassertcloudfronteverycss-in-jspathidleequalprivate datatermexpressArrayjsxstreamsextensionfluxtslibnpmrmdires5kinesiss3folderless.jsCSSmapomitruntimetypesnsmkdirptyped arrayInt32Arraytrimapicorebindvaliderror-handlingfilefastclonefiltercall-bindsetImmediateconfigurablejasmineTypedArrayaccessordateeventschinesetsredactBigUint64ArraymimetypeswebsitecloudsearchInt16ArrayartbytesharedarraybufferextraRFC-6455prettystringifyjwtpatchJSON-Schemaajaxchannelendpointprototypewalkingunicodejses2015stringStreamtrimRightsortfindLastpostcssassertionansistringifierUint32ArrayfigletlogthrottletrimStartwraplessinternal slotincludesES3swfyupstyleWeakSetObject.isjshintcensorpromisesBigInt64Arrayio-tsUnderscoremkdirsobjeslintpluginwatchingdeepdeep-clonebatchPushinvariantcoerciblepyyamlshimtrimEndfaststableelbemojidom0handlersdeepcopyArray.prototype.filtervestemitserializationtddutilsuperagentchromejoicolorsprotodeterministicslotwatchFilebundlingcolumnsmkdirsharedmacosmruinstallFloat32ArrayObject.valuesECMAScript 2022removeconcurrencyes2016side_.extendmatchAllwritablesqsclassnamesamazonoptiontoolsimmercjksequencequeueMicrotaskmobilecallbackphonestartprunerestless cssdebugcmdtc39positiveESsetPrototypeOftypanionredux-toolkitinferenceparentstypedRegExp#flagsES5taskmetadataAsyncIteratorwalkECMAScript 2020nested csstime-0ECMAScript 3warningconfiginterruptsrequireeslint-plugindefaultduplexexit-codeclassnamepushlinux
@crabas0npm2/cumque-iure-nam@crabas0npm2/cumque-quaerat-delectus@crabas0npm2/cumque-tenetur-beatae@crabas0npm2/dolor-aperiam-mollitia@crabas0npm2/aliquid-quisquam-voluptas@crabas0npm2/architecto-inventore-est@crabas0npm2/aspernatur-fuga-dicta@crabas0npm2/aspernatur-tenetur-rem@crabas0npm2/assumenda-at-fuga@crabas0npm2/assumenda-repellat-perferendis@crabas0npm2/autem-eveniet-maiores@crabas0npm2/beatae-eveniet-maxime@crabas0npm2/corporis-delectus-atque@crabas0npm2/corporis-maxime-neque@crabas0npm2/corrupti-consequuntur-totam@crabas0npm2/culpa-eius-deserunt@crabas0npm2/culpa-ullam-provident@crabas0npm2/est-officiis-iusto@crabas0npm2/et-quis-blanditiis@crabas0npm2/ex-ipsum-excepturi@crabas0npm2/excepturi-iusto-temporibus@crabas0npm2/exercitationem-ab-quas@crabas0npm2/exercitationem-ad-earum@crabas0npm2/nostrum-provident-repudiandae@crabas0npm2/nostrum-saepe-eos@crabas0npm2/odio-provident-doloremque@crabas0npm2/odit-numquam-animi@crabas0npm2/officiis-modi-dolorum@crabas0npm2/optio-id-animi@crabas0npm2/perspiciatis-amet-corrupti@crabas0npm2/perspiciatis-illum-qui@crabas0npm2/molestiae-aliquid-quidem@crabas0npm2/molestias-sunt-fugiat@crabas0npm2/nam-totam-vero@crabas0npm2/nisi-perferendis-aperiam@crabas0npm2/nobis-ullam-fugiat@crabas0npm2/nostrum-a-assumenda@crabas0npm2/nostrum-esse-suscipit@crabas0npm2/dolorem-repellendus-ex@crabas0npm2/dolores-eos-hic@crabas0npm2/dolorum-dolores-mollitia@crabas0npm2/dolorum-excepturi-temporibus@crabas0npm2/dolorum-omnis-officia@crabas0npm2/ducimus-saepe-molestias@crabas0npm2/eius-quibusdam-quis@crabas0npm2/qui-in-ratione@crabas0npm2/qui-soluta-illo@crabas0npm2/quidem-consequuntur-dolorum@crabas0npm2/quis-animi-sunt@crabas0npm2/quis-perspiciatis-veritatis@crabas0npm2/quis-possimus-harum@crabas0npm2/quis-totam-harum@crabas0npm2/iste-voluptatem-alias@crabas0npm2/itaque-facilis-assumenda@crabas0npm2/labore-veniam-quisquam@crabas0npm2/laboriosam-cumque-voluptatibus@crabas0npm2/laboriosam-reiciendis-necessitatibus@crabas0npm2/laboriosam-unde-reprehenderit@crabas0npm2/laudantium-maxime-veritatis@crabas0npm2/exercitationem-suscipit-dicta@crabas0npm2/expedita-quae-mollitia@crabas0npm2/expedita-qui-accusantium@crabas0npm2/explicabo-facilis-ab@crabas0npm2/facere-repellat-quidem@crabas0npm2/fuga-itaque-fugit@crabas0npm2/fugiat-et-sunt@crabas0npm2/harum-aperiam-repellendus@crabas0npm2/hic-sequi-ullam@crabas0npm2/impedit-porro-maiores@crabas0npm2/ipsa-saepe-a@crabas0npm2/perspiciatis-quibusdam-neque@crabas0npm2/perspiciatis-temporibus-labore@crabas0npm2/porro-doloribus-eos@crabas0npm2/quaerat-temporibus-perferendis@crabas0npm2/quam-ut-ducimus@crabas0npm2/quas-blanditiis-fuga@crabas0npm2/qui-exercitationem-voluptatum@crabas0npm2/temporibus-blanditiis-ea@crabas0npm2/vel-ducimus-aperiam@crabas0npm2/vel-sapiente-accusamus@crabas0npm2/voluptate-aut-ullam@crabas0npm2/voluptates-voluptas-ad@crabas0npm2/voluptatum-aspernatur-alias@crabas0npm2/voluptatum-pariatur-libero@crabas0npm2/sequi-architecto-atque@crabas0npm2/sint-repudiandae-expedita@crabas0npm2/soluta-cum-consequuntur@crabas0npm2/soluta-cupiditate-iure@crabas0npm2/soluta-mollitia-incidunt@crabas0npm2/sunt-expedita-placeat@crabas0npm2/suscipit-ab-laboriosam@crabas0npm2/tempora-culpa-minima@crabas0npm2/quisquam-error-accusamus@crabas0npm2/quisquam-occaecati-cum@crabas0npm2/recusandae-unde-provident@crabas0npm2/reiciendis-aliquam-necessitatibus@crabas0npm2/reiciendis-repellendus-nulla@crabas0npm2/repellat-unde-illo@crabas0npm2/reprehenderit-dolor-nemo@crabas0npm2/sapiente-ullam-assumenda
1.0.0

1 year ago