5.6.116 • Published 12 months ago

@devtea2026/quia-ducimus-placeat-minima v5.6.116

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

@devtea2026/quia-ducimus-placeat-minima Version Badge

github actions coverage dependency status dev dependency status License Downloads

npm badge

An ES2015 mostly-spec-compliant Reflect.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('@devtea2026/quia-ducimus-placeat-minima');
var assert = require('assert');

assert.throws(() => getPrototypeOf(true));
assert.throws(() => getPrototypeOf(42));
assert.throws(() => getPrototypeOf(''));
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('@devtea2026/quia-ducimus-placeat-minima');
var assert = require('assert');
/* when Reflect or Reflect.getPrototypeOf is not present */
if (typeof Reflect === 'object') { delete Reflect.getPrototypeOf; }
delete globalThis.Reflect;
var shimmed = getPrototypeOf.shim();
assert.equal(shimmed, getPrototypeOf.getPolyfill());

assert.throws(() => Reflect.getPrototypeOf(true));
assert.throws(() => Reflect.getPrototypeOf(42));
assert.throws(() => Reflect.getPrototypeOf(''));
assert.equal(Reflect.getPrototypeOf(/a/g), RegExp.prototype);
assert.equal(Reflect.getPrototypeOf(new Date()), Date.prototype);
assert.equal(Reflect.getPrototypeOf(function () {}), Function.prototype);
assert.equal(Reflect.getPrototypeOf([]), Array.prototype);
assert.equal(Reflect.getPrototypeOf({}), Object.prototype);
var getPrototypeOf = require('@devtea2026/quia-ducimus-placeat-minima');
var assert = require('assert');
/* when Reflect.getPrototypeOf is present */
var shimmedGetPrototypeOf = getPrototypeOf.shim();
assert.equal(shimmedGetPrototypeOf, Reflect.getPrototypeOf);
assert.equal(Reflect.getPrototypeOf([]), Array.prototype);

Tests

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

ReactiveExtensionslogvalidwgetSetchaischemezodfigletrestpackage.jsonincludesES2016YAMLdomWeakSetMapamazonclassnamesmacosphonewalkiteratorgenericsdataViewrmdirnegative zerofullnested cssemrmoduledynamodbJSON-Schemadependency managerlinewrapes5accessibilityfromdatedeepcloneless compilertyped arraytrimStartsethashtrimRightimmutablespinnerECMAScript 2019ECMAScript 2021regularcodesless csstypeerrornativeimportjwtdataviewieprogressjsdomlengtharraybufferrmes7mkdirpstyled-componentsmapreducetypeshttpsarraydirstringifyform-validationInt32Arrayvaluerangeerrorfast-copypromiseswrapguideslint-pluginmkdirsreplayjshintweakmapdebuglistenersstreams2flagsfpssymbolstructuredClonelanguagesliceArray.prototype.findLastIndexArrayredactcircularwhichlookpathwaitnopewafcryptelasticachegetzeroArrayBuffer#sliceECMAScript 7utildebuggerreact-hook-formpropertiesStreamsratelimit__proto__regular expressionestreexhrjasminewatchFilefseventscommandervariablesES2015shebangauthenticationoutputUint16ArrayUint8Arraybluebirdfind-upschemabyteOffsetresolvees2017hardlinksstylingprivateES2019assertajaxspeccore-jsserializerinferencestyleguideprocessecmascriptmatcheslintpluginURLSearchParamsString.prototype.trimsafeinpututilityargumentlockfileforEachclassesFloat32Arrayparentreadablestreamconfigurableemojifast-deep-copytapeoptimizercloudformationinstallencryptioncode pointsexpressionutil.inspectinterruptsparsercurlless mixinsapolloObservabledirectoryspeedPushfastarktypeStyleSheetrouterSymbolcss-in-jsgradients csstelephoneformsstatelessl10nstoragegatewaypostcssfastcloneworkersesdefinedependenciesjoikinesis.enveventsdayjsECMAScript 2015commandWebSocketoptionmakeemitObject.islazypromisebundlingtrimconsumewidthfunctionsObject.valuesObject.fromEntriesWebSocketsyupsetImmediatemobileObject.keysi18ntoolkitawaittypepackagemonoreposharedarraybufferremovestreamstestingparsewarninghasOwnpropertycall-bindtypedmochaconnectfetchmrustatuscallboundexecxtermcoreproxysqskeysformargspredictableloggersimpledbconcatMapgroupBy@@toStringTagbootstrap lesscollectionupqueueMicrotaskstablepolyfillpipeserializeairbnblessinreadableregexpcolumnInt16ArrayminimalglobalhotvarsInt8ArrayRxJSperformanceterminalsyntaxerrorruntimeargvRegExp.prototype.flagsfindupprefixfluxstylesheetbundlervesteslintjsUint8ClampedArrayreact-testing-libraryObject.assignjsdiffjQueryES3Array.prototype.flatMapkoreanObject.getPrototypeOfES2021symlinkstringspinnersArrayBuffer.prototype.slicebuffertoSortedappRFC-6455touchwritablesome
@devtea2026/in-doloribus-neque-omnis@devtea2026/inventore-expedita-earum-iusto@devtea2026/ipsa-natus-tenetur-id@devtea2026/itaque-error-beatae-tempore@devtea2026/itaque-repellat-doloribus-aspernatur@devtea2026/laudantium-atque-similique-neque@devtea2026/nisi-ab-voluptatibus-quia@devtea2026/nihil-iusto-possimus-consequatur@devtea2026/nesciunt-cum-tenetur-repudiandae@devtea2026/nisi-officiis-et-fuga@devtea2026/nemo-similique-occaecati-labore@devtea2026/nisi-labore-pariatur-sunt@devtea2026/neque-aut-rerum-odit@devtea2026/nulla-hic-dicta-voluptatibus@devtea2026/nulla-quod-repellat-distinctio@devtea2026/nostrum-quae-debitis-eum@devtea2026/ipsa-ut-deleniti-nihil@devtea2026/iure-nihil-deserunt-enim@devtea2026/iure-rerum-eveniet-voluptatibus@devtea2026/labore-consequatur-laboriosam-soluta@devtea2026/laborum-beatae-sit-deleniti@devtea2026/laborum-laborum-fuga-consectetur@devtea2026/minus-praesentium-occaecati-odit@devtea2026/mollitia-odio-quisquam-rem@devtea2026/modi-voluptatum-dolore-veniam@devtea2026/minima-facere-ab-harum@devtea2026/molestiae-dicta-pariatur-sequi@devtea2026/maxime-non-saepe-et@devtea2026/maxime-non-ab-asperiores@devtea2026/maxime-vero-quaerat-dignissimos@devtea2026/nam-fuga-eos-laborum@devtea2026/necessitatibus-sequi-eius-aliquam@devtea2026/nemo-debitis-vel-ut@devtea2026/natus-quod-dolorem-molestiae@devtea2026/necessitatibus-asperiores-omnis-similique@devtea2026/iste-eaque-voluptates-itaque@devtea2026/iusto-modi-eaque-aliquid@devtea2026/laboriosam-itaque-corrupti-quisquam@devtea2026/laudantium-odio-iste-eum@devtea2026/ipsam-aspernatur-illum-recusandae@devtea2026/iusto-amet-ad-dolorum@devtea2026/iusto-dolores-deserunt-perferendis@devtea2026/iusto-pariatur-error-impedit@devtea2026/iusto-quas-a-amet@devtea2026/labore-excepturi-quam-a@devtea2026/labore-iste-dolorem-quos@devtea2026/laudantium-asperiores-at-natus@devtea2026/nostrum-dolorem-labore-dolore@devtea2026/in-nam-corporis-quis@devtea2026/inventore-odit-sapiente-ipsam@devtea2026/magnam-facere-repudiandae-rem@devtea2026/maiores-a-est-odio@devtea2026/maiores-asperiores-tempora-nulla@devtea2026/maxime-culpa-ducimus-illo@devtea2026/magni-ipsum-dolorum-facere@devtea2026/non-eligendi-nihil-quos@devtea2026/odio-a-perferendis-unde@devtea2026/numquam-voluptas-sint-tempora@devtea2026/quibusdam-consequatur-blanditiis-quam@devtea2026/quis-recusandae-natus-distinctio@devtea2026/quis-voluptates-incidunt-recusandae@devtea2026/quisquam-ea-vero-temporibus@devtea2026/quo-aspernatur-nemo-error@devtea2026/quo-odio-nobis-labore@devtea2026/quo-odit-ea-eum@devtea2026/quo-recusandae-unde-ipsum@devtea2026/quos-debitis-ut-quidem@devtea2026/quos-nostrum-fugiat-facilis@devtea2026/odio-corrupti-illo-delectus@devtea2026/optio-quos-deserunt-commodi@devtea2026/pariatur-dolorem-repudiandae-dolor@devtea2026/perferendis-repellendus-voluptatum-nam@devtea2026/possimus-exercitationem-ea-quam@devtea2026/quae-cupiditate-quisquam-qui@devtea2026/quae-eaque-nesciunt-necessitatibus@devtea2026/quas-doloribus-facere-inventore@devtea2026/odio-ipsum-cumque-asperiores@devtea2026/officiis-expedita-accusantium-minima@devtea2026/pariatur-eius-veniam-necessitatibus@devtea2026/porro-incidunt-labore-modi@devtea2026/quam-quae-tempora-libero@devtea2026/quas-minima-vero-amet@devtea2026/qui-ex-magnam-debitis@devtea2026/qui-totam-atque-quod@devtea2026/officia-dolore-repellat-unde@devtea2026/officia-est-fuga-corrupti@devtea2026/perferendis-ea-quos-molestiae@devtea2026/provident-quasi-voluptatum-facere@devtea2026/quae-maiores-maiores-sunt@devtea2026/quaerat-atque-itaque-ullam@devtea2026/quas-aliquid-reiciendis-dolore@devtea2026/odio-aperiam-molestiae-dolorem@devtea2026/odit-voluptas-rerum-ea@devtea2026/omnis-nesciunt-illo-accusantium@devtea2026/perspiciatis-voluptatem-officia-suscipit@devtea2026/placeat-repellat-earum-hic@devtea2026/quas-incidunt-aliquam-ut@devtea2026/quos-provident-minima-odit@devtea2026/ratione-nobis-quasi-possimus@devtea2026/ratione-numquam-itaque-soluta
5.6.116

12 months ago

5.6.115

1 year ago

5.6.114

1 year ago

5.6.113

1 year ago

5.6.112

1 year ago

5.6.111

1 year ago

5.6.110

1 year ago

5.6.109

1 year ago

2.2.59

1 year ago

5.5.103

1 year ago

2.2.57

1 year ago

5.5.104

1 year ago

2.2.58

1 year ago

5.5.101

1 year ago

2.2.55

1 year ago

5.5.102

1 year ago

2.2.56

1 year ago

2.2.53

1 year ago

2.2.54

1 year ago

2.2.51

1 year ago

2.2.52

1 year ago

2.2.50

1 year ago

2.2.62

1 year ago

2.2.60

1 year ago

2.2.61

1 year ago

2.1.27

1 year ago

2.1.28

1 year ago

2.1.25

1 year ago

2.1.26

1 year ago

2.1.23

1 year ago

2.1.24

1 year ago

2.1.21

1 year ago

2.1.22

1 year ago

2.1.20

1 year ago

5.5.95

1 year ago

5.5.96

1 year ago

5.5.93

1 year ago

5.5.94

1 year ago

5.5.91

1 year ago

5.5.92

1 year ago

5.5.90

1 year ago

5.5.100

1 year ago

2.1.29

1 year ago

3.3.67

1 year ago

2.1.30

1 year ago

5.5.99

1 year ago

5.5.97

1 year ago

5.5.98

1 year ago

5.6.108

1 year ago

5.5.84

1 year ago

5.5.85

1 year ago

5.5.82

1 year ago

5.5.83

1 year ago

5.5.81

1 year ago

5.6.104

1 year ago

5.6.105

1 year ago

5.6.106

1 year ago

5.6.107

1 year ago

3.4.80

1 year ago

2.3.67

1 year ago

3.4.81

1 year ago

2.3.64

1 year ago

2.3.63

1 year ago

2.3.66

1 year ago

2.3.65

1 year ago

5.5.88

1 year ago

5.5.89

1 year ago

5.5.86

1 year ago

2.3.62

1 year ago

5.5.87

1 year ago

3.4.69

1 year ago

4.4.81

1 year ago

3.4.67

1 year ago

3.4.68

1 year ago

2.2.39

1 year ago

2.2.37

1 year ago

2.2.38

1 year ago

2.2.35

1 year ago

2.2.36

1 year ago

2.2.33

1 year ago

2.2.34

1 year ago

2.2.31

1 year ago

2.2.32

1 year ago

2.2.30

1 year ago

5.4.81

1 year ago

3.4.72

1 year ago

3.4.73

1 year ago

3.4.74

1 year ago

3.4.75

1 year ago

3.4.76

1 year ago

3.4.77

1 year ago

3.4.78

1 year ago

3.4.79

1 year ago

2.2.48

1 year ago

2.2.49

1 year ago

2.2.46

1 year ago

2.2.47

1 year ago

3.4.70

1 year ago

2.2.44

1 year ago

3.4.71

1 year ago

2.2.45

1 year ago

2.2.42

1 year ago

2.2.43

1 year ago

2.2.40

1 year ago

2.2.41

1 year ago

2.1.19

1 year ago

2.1.18

1 year ago

2.1.16

1 year ago

2.1.17

1 year ago

2.1.15

1 year ago

2.0.15

1 year ago

2.0.14

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