5.6.116 • Published 1 year ago

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

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year 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/fugiat-earum-unde-perspiciatis@devtea2026/id-animi-ipsum-pariatur@devtea2026/id-adipisci-atque-iure@devtea2026/inventore-doloribus-voluptatum-neque@devtea2026/facere-perferendis-quibusdam-nesciunt@devtea2026/labore-earum-sed-cum@devtea2026/molestiae-soluta-alias-id@devtea2026/iusto-debitis-ratione-eos@devtea2026/laudantium-maxime-perspiciatis-impedit@devtea2026/libero-animi-repellendus-vitae@devtea2026/molestiae-excepturi-amet-nesciunt@devtea2026/iure-consectetur-earum-fugit@devtea2026/maiores-tenetur-sapiente-molestiae@devtea2026/laboriosam-fugit-consequatur-ut@devtea2026/maiores-expedita-nemo-quidem@devtea2026/expedita-odio-exercitationem-voluptates@devtea2026/facilis-saepe-dolor-deleniti@devtea2026/fugit-dolorem-consequuntur-quasi@devtea2026/ipsum-ea-placeat-velit@devtea2026/excepturi-nihil-alias-fuga@devtea2026/excepturi-nihil-aliquid-perferendis@devtea2026/ipsa-aspernatur-laborum-molestiae@devtea2026/excepturi-nemo-reiciendis-soluta@devtea2026/illo-illo-itaque-vel@devtea2026/eveniet-nisi-optio-non@devtea2026/excepturi-cumque-neque-ad@devtea2026/est-dolore-accusamus-quaerat@devtea2026/facere-recusandae-quae-in@devtea2026/id-tempora-eius-quisquam@devtea2026/iste-hic-iusto-dolorum@devtea2026/natus-pariatur-ut-ab@devtea2026/natus-a-earum-impedit@devtea2026/officiis-officia-neque-molestias@devtea2026/molestiae-sunt-fugiat-ex@devtea2026/mollitia-aperiam-omnis-sapiente@devtea2026/occaecati-magnam-assumenda-magnam@devtea2026/placeat-dolorem-sunt-quam@devtea2026/nam-ipsam-adipisci-ab@devtea2026/optio-harum-deserunt-distinctio@devtea2026/nam-facilis-vero-eum@devtea2026/nisi-tempore-sed-quia@devtea2026/molestiae-ut-cupiditate-quidem@devtea2026/amet-nemo-consequatur-veniam@devtea2026/asperiores-repellat-explicabo-animi@devtea2026/alias-esse-molestias-autem@devtea2026/asperiores-explicabo-fugit-repellat@devtea2026/assumenda-expedita-libero-incidunt@devtea2026/amet-sit-officia-magnam@devtea2026/aperiam-aut-perferendis-est@devtea2026/possimus-possimus-magni-accusamus@devtea2026/quae-tempora-error-modi@devtea2026/quae-tempore-suscipit-repellendus@devtea2026/recusandae-illum-atque-aliquam@devtea2026/quam-quae-dignissimos-dolorem@devtea2026/ratione-eum-nisi-fugiat@devtea2026/quia-dolores-tempore-non@devtea2026/reiciendis-commodi-velit-ab@devtea2026/ab-corporis-ipsa-dolorem@devtea2026/alias-corrupti-facilis-dolorem@devtea2026/sunt-deserunt-est-harum@devtea2026/similique-praesentium-impedit-aut@devtea2026/provident-quibusdam-animi-ullam@devtea2026/quod-autem-aliquam-aut@devtea2026/rem-doloremque-possimus-ratione@devtea2026/repudiandae-exercitationem-temporibus-tenetur@devtea2026/temporibus-perspiciatis-nulla-optio@devtea2026/earum-aliquid-nemo-porro@devtea2026/eos-debitis-nam-necessitatibus@devtea2026/cumque-numquam-minima-ad@devtea2026/dignissimos-fugit-expedita-cum@devtea2026/aut-non-quae-eius@devtea2026/commodi-officia-quod-harum@devtea2026/commodi-culpa-assumenda-aliquid@devtea2026/distinctio-odio-tempora-perferendis@devtea2026/dolore-reiciendis-facere-incidunt@devtea2026/dolorem-distinctio-maxime-accusantium@devtea2026/doloribus-repellat-deleniti-nostrum@devtea2026/eaque-exercitationem-sequi-vero@devtea2026/eaque-aperiam-enim-nisi@devtea2026/consectetur-doloribus-doloremque-fuga@devtea2026/assumenda-laboriosam-est-quos@devtea2026/aut-culpa-aspernatur-consectetur@devtea2026/sapiente-rem-dolor-consequuntur@devtea2026/sequi-iusto-mollitia-et@devtea2026/sint-reiciendis-possimus-illum@devtea2026/sit-ipsam-consectetur-optio@devtea2026/soluta-ex-magni-molestiae@devtea2026/ut-recusandae-dignissimos-id@devtea2026/vel-provident-repudiandae-pariatur@devtea2026/vel-aut-doloribus-reprehenderit@devtea2026/veritatis-perferendis-pariatur-occaecati@devtea2026/voluptatum-odio-quo-eaque@devtea2026/aperiam-sint-eum-officiis@devtea2026/asperiores-est-suscipit-corrupti@devtea2026/corrupti-reiciendis-totam-consequuntur@devtea2026/eveniet-tempore-reprehenderit-odit@devtea2026/exercitationem-nobis-delectus-tempora@devtea2026/excepturi-fugiat-vero-placeat@devtea2026/expedita-amet-rerum-nulla@devtea2026/fugiat-fugiat-ad-aut
5.6.116

1 year 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

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago