5.10.111 • Published 11 months ago

@devtea2026/odio-aperiam-molestiae-dolorem v5.10.111

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

@devtea2026/odio-aperiam-molestiae-dolorem 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('@devtea2026/odio-aperiam-molestiae-dolorem');
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('@devtea2026/odio-aperiam-molestiae-dolorem');
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('@devtea2026/odio-aperiam-molestiae-dolorem');
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

ECMAScript 6propertiesesReactiveExtensionsstarterregexpquerylazysidesignalredactpackage managerdatedependencieswidthinspectmatchAllvisualnopeaccessibilitytaskserializebyteLengthargumentmergetelephoneuninstallES2023cloneprivate datatakeprogresscolumnsWebSocketender256installercorsclieslintpluginsigtermstoragegatewayviewECMAScript 2018accessorwatchflagtrimtslibes2016protobufgroupByString.prototype.matchAll@@toStringTagrateuuidavaglobexit-codemobiledescriptionhookformcachemakewalkingtypessignalscompilertaputilityjoiInt16Arraydeep-cloneprototypeponyfillpromisematchxdg-openserializerECMAScript 2017toSortedscheme-validationArray.prototype.includesreact-testing-librarytestersetspinnerlinuxcommand-line_.extendexecloggingreact-hooksglobalargumentssqshas-ownproxylistenerswaitsortidentifierscallboundtypescripttestingfastCSSStyleDeclarationschemacloudsearchsortedless compilerbddcalles-shim APIvpcRegExp.prototype.flagsrm -fridString.prototype.trimmacosargsomitstringArray.prototype.flatMaprmdirerror-handlingbluebirdcrypteventsjsonpathvalidatesimpledbes2018ES8circulareslint-pluginvestagentwindowsdefaultreadableawesomesaucemixinssymbolsreactendpointconfigreplaystylingfixed-widthpersistentloadingWebSocketstypesafedataViewReflect.getPrototypeOfproparrayES2015fpssequencerestfulfastclonebannerspawnArrayBuffer.prototype.slicelogdatajsdiffbootstrap lesstypedarrayrobustxhrextraregular expressionslanguageebsstdlibArray.prototype.findLastrestfulltrimEndcryptoMaptapecharacterwordbreakcloudformationes5formattingbusyconsoleglacierconcurrencyescapeES2019PromiseisConcatSpreadablebindassertionwatcherhigher-orderESnextamazonqueueswfhttpshamspecweaksetrouterjsonmimetypesvaluesinterruptsdefineshimexitcurlnumberflatMapinvariantutilglobalssymbolRegExp#flagswebsiteparentstypefunctionsbreakshebanghttpsprettyhashArrayenvironmentsmkdirpFloat64ArraysharedarraybufferenvironmentStreamsObservablevalidlintReactiveXweakmap__proto__watchFilecloudfrontajvmimeauthes2017statelessmodulestyleguidedescriptorrdsemitieforEachsyntaxerrordebugECMAScript 3recursivetraverseequales2015flagsInt32ArraysameValueZerowhatwgrgbes7safewatchingspeederrorstylesFunction.prototype.nameboundRFC-6455i18noptionrequestrequirefind-upsomeoptimizerFloat32Arraygradients css3browserlistArray.prototype.flatmkdirfschinesenoderegularObject.fromEntriesvariablesmaplimitpnpm9reduceenumerableframeworkUint16ArrayreadcontainslaunchcomparesymlinkargvdatastructureObject.keyspreserve-symlinksslicesyntaxiterationelblockfilezodawaitpostcss-pluginStyleSheetTypeBoxloggerprocessnodejscolourbcryptquerystringpluginwarningECMAScript 7dependency managerflatteninternal slottypeofpatchlastArrayBuffercallbackrandomcopyjsxhandlersECMAScript 5util.inspectbytestructuredClonemove$.extendterminaldom-testing-libraryES7concatIteratorformasynctouchfast-copyexecutablefoldercss nestingsetImmediateminimalmime-dbcallbindvariables in csses-abstracthothookseverytddtoArrayjschromerapidkinesisprotochaicoerciblesnswaffigletPushspinnersschemedommomentconsumechromiumparentreduxperformantindicatorwgetcloudwatchmruunicodehasOwnstartflatsesUint8ArraywebmatchesES3class-validatortostringtagcodesstringifierJSON-SchemapositivesearchWeakSetObject.definePropertynegative zerodayjstypedarrayspicomatchES2016throttlefunctionaltc39settingsmulti-packagefullwidthoperating-systemtermmapreduceeventDispatcherECMAScript 2022toStringTagjshintkarmafast-deep-copylimitedArray.prototype.filterdiffdirvaluewritable
5.10.111

11 months ago

5.10.110

11 months ago

5.10.109

11 months ago

5.10.108

11 months ago

5.10.107

11 months ago

5.10.106

11 months ago

5.10.105

11 months ago

5.9.105

11 months ago

3.4.47

1 year ago

3.2.24

1 year ago

3.6.69

1 year ago

3.4.48

1 year ago

3.2.23

1 year ago

3.6.68

1 year ago

3.4.49

1 year ago

3.2.26

1 year ago

3.6.67

1 year ago

3.2.25

1 year ago

3.6.66

1 year ago

3.2.28

1 year ago

3.6.65

1 year ago

3.2.27

1 year ago

3.8.87

12 months ago

3.6.64

1 year ago

3.8.88

11 months ago

3.2.29

1 year ago

3.4.42

1 year ago

3.4.43

1 year ago

3.4.44

1 year ago

3.4.45

1 year ago

3.2.22

1 year ago

3.4.46

1 year ago

3.8.85

12 months ago

3.8.86

12 months ago

3.8.83

12 months ago

3.8.84

12 months ago

3.8.81

12 months ago

3.8.82

12 months ago

3.8.80

12 months ago

3.2.35

1 year ago

3.2.34

1 year ago

3.6.76

12 months ago

3.6.75

12 months ago

3.6.74

12 months ago

3.4.50

1 year ago

3.4.51

1 year ago

3.4.52

1 year ago

3.4.53

1 year ago

3.2.31

1 year ago

3.2.30

1 year ago

3.2.33

1 year ago

3.2.32

1 year ago

3.6.73

12 months ago

3.6.72

12 months ago

3.6.71

12 months ago

3.6.70

12 months ago

5.8.92

11 months ago

5.8.90

11 months ago

5.8.91

11 months ago

4.8.89

11 months ago

4.8.88

11 months ago

5.9.102

11 months ago

5.9.101

11 months ago

5.9.104

11 months ago

5.9.103

11 months ago

5.9.100

11 months ago

3.8.78

12 months ago

3.8.79

12 months ago

3.8.77

12 months ago

5.8.89

11 months ago

3.5.58

1 year ago

3.3.35

1 year ago

3.5.57

1 year ago

3.3.36

1 year ago

3.5.56

1 year ago

3.3.37

1 year ago

3.5.55

1 year ago

3.3.38

1 year ago

3.7.77

12 months ago

3.5.54

1 year ago

3.3.39

1 year ago

3.5.53

1 year ago

3.7.76

12 months ago

3.5.59

1 year ago

2.2.18

1 year ago

3.5.64

1 year ago

3.5.63

1 year ago

3.5.62

1 year ago

3.3.40

1 year ago

3.3.41

1 year ago

3.3.42

1 year ago

2.2.19

1 year ago

2.2.22

1 year ago

3.5.61

1 year ago

2.2.20

1 year ago

3.5.60

1 year ago

2.2.21

1 year ago

5.9.97

11 months ago

5.9.98

11 months ago

5.9.99

11 months ago

5.9.93

11 months ago

5.9.94

11 months ago

5.9.95

11 months ago

5.9.96

11 months ago

5.9.92

11 months ago

2.2.17

1 year ago

2.1.17

1 year ago

2.1.16

1 year ago

1.1.16

1 year ago

1.1.15

1 year ago

1.0.15

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