4.9.82 • Published 10 months ago

@erboladaiorg/accusantium-dolorem-nesciunt v4.9.82

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

globalThis Version Badge

github actions coverage dependency status dev dependency status License Downloads

npm badge

An ECMAScript spec-compliant polyfill/shim for globalThis. Invoke its "shim" method to shim globalThis if it is unavailable.

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

Most common usage:

var globalThis = require('@erboladaiorg/accusantium-dolorem-nesciunt')(); // returns native globalThis if compliant
	/* or */
var globalThis = require('@erboladaiorg/accusantium-dolorem-nesciunt/polyfill')(); // returns native globalThis if compliant

Example

var assert = require('assert');

// the below function is not CSP-compliant, but reliably gets the
// global object in sloppy mode in every engine.
var getGlobal = Function('return this');

assert.equal(globalThis, getGlobal());
/* when `globalThis` is not present */
var shimmedGlobal = require('@erboladaiorg/accusantium-dolorem-nesciunt').shim();
	/* or */
var shimmedGlobal = require('@erboladaiorg/accusantium-dolorem-nesciunt/shim')();

assert.equal(shimmedGlobal, globalThis);
assert.equal(shimmedGlobal, getGlobal());
/* when `globalThis` is present */
var shimmedGlobal = require('@erboladaiorg/accusantium-dolorem-nesciunt').shim();

assert.equal(shimmedGlobal, globalThis);
assert.equal(shimmedGlobal, getGlobal());

Tests

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

transpilephoneECMAScript 2016windowsCSSparserimmutablestylinglistenershigher-ordernumberfindtoArrayprogressrecursivefast-deep-clonedataViewcryptoclientgetPrototypeOfnodejscloudformationFunction.prototype.nameObject.fromEntriesInt16ArraydragforEachslotposesettercreatelocalclonepipefrombinariesquoteviewES8reactiterateexecutevestwgetagentcommand-linefpsrequireidentifiersES2020iteratorconsumeshamformattinghelperstacitgradients css3typeerrorobjjestconfigreducebabelpostcssdeleteendpointcommandersetreadES2022findLastIndexcss nestingmomentlengthbinaryidlehasio-tscommandnpmignoreRegExp.prototype.flagstestpasswordfantasy-landtostringtagmovesettingsrobustmacoscircularmulti-packagecloudfrontES2015inspecttrimStartconfigurableIteratorcss lesscurlmobileES3deterministicselfmixinsES2019internalexecfileflagStyleSheetless.jsObject.isindicatorspeedes-shimsgetoptUnderscorefastcopyhasOwnPropertysetPrototypeOfnamesenderjson-schemaschemeemitapiObject.entriesargumentfast-clonecall-bounddom-testing-librarytoolkitglobalsstringifierpicomatchpositivecryptutilWeakMapboundmkdirincludesclireduxECMAScript 2023.envjsisConcatSpreadablejavascriptRegExp#flagsglobal objectgenericsprivateUint8ClampedArraysqsclassnamesprefixfluxlivehandlersqses7filecurriedtypedarrayomitinferencekinesisECMAScript 2017scheme-validationtoReversedvariablesfunctionschemagetterchinesetypeofnegative zeromatchAllPromisesimpledbvalidationcallFloat64ArrayuninstallserializerqueueMicrotaskprocessdeep-clonecolumnsreact animationrouteglobalshimterminaldescriptionObject.valuesremoveoptimistregular expressioniamtoobjectpoint-freei18nbrowserlistsignedhelperhotcallbacktimelibphonenumberYAMLsymbolsfastclonepatch_.extenddirES2018coerciblebcryptstreamoutputswfcolumnString.prototype.trimhookformES2021pluginbuffersmake6to5zxMapspringqueuediffartObjectvaluedeepgroupproxyworkerstreamsietypedarraysECMAScript 2015JSONTypeBoxECMAScript 5fstestingchromiumzodjsdomES5arraycore-jsfetchcloudsearchirqlazystylesmkdirses-shim APIoffsetpinoescapecsseslint-plugincollection.es6rangeerrorStreams3statelessdeepcloneECMAScript 7256loadingcheckes2015animationnopeeslintconfigresolveregexp$.extendArray.prototype.flattenmerge[[Prototype]]preserve-symlinksquerystringcodesexit-codeerrordependenciesgradients csstypedhasOwncallboundairbnbstringifyspecspawnReactiveExtensionsconcatlastenvfunctionaltoolsmatchObject.keysdateloggingvalidjsdiffsuperagentdescriptorrgbstarterregularbrowserslistelbstyleexitmapreducejson-schema-validationspinnersextendwaapitoStringTagfilterstoragegatewaymoduleglobal this valueoptimizerwhatwgbootstrap lessflatMapES2017flatCSSStyleDeclarationinvariantSymbol.toStringTaghardlinksuuidtypesafewindowebsinterruptsfpserializesymlinkeventDispatcherfunctionsperformanceeveryauthvalueswritablemanagerutilitiesemrequalenumerablefastdependency managerArray.prototype.filtercolorsfullwidthregular-expressionsigtermflagsawesomesauceJSON-SchemaSetglobalThises6trimRightArray.prototype.includesjsonschemafindLastfile systemperformantsuperstructsidecensorfnmatchcachetranspilervariables in cssframerfast-copyarktypettywidthpersistentforkmatchesReactiveXreact posebinaccessortelephoneautoprefixeres2018testershrinkwraptypesworkspace:*Int8Arraythreetypescriptinutilsfunction.lengtharraybufferwritecallbindtslibsubprocessharmonyfigletdataviewredactapollojapanesedayjskeycloudwatchObject.getPrototypeOfelasticachetexterror-handlinglockfileansijshintsharedarraybuffercolourmetadataextraargvArray.prototype.findLastobjectdatatyped arrayestreelint.gitignoresortedsharedwhichtrimLeftwaitprotokoreanreverseObject.assignfull-width3dloggerastesyamlArrayBuffer#sliceeslintpluginiterationnativezeroyupintrinsicparsingassignECMAScript 3deepcopydotenvreducerexpressionhas-ownchildimmerURLECMAScript 2022oncedatastructureStreamsArray.prototype.containssafeelectrongdprfastifyutilitybeanstalkrfc4122certificatessymboluploadlinkinstallvarsnested cssfixed-widthvpcreadableECMAScriptequalityeffect-tsconsolereact-componentweakmapES7replayhttpspreprocessorECMAScript 6environmentcall-bindless mixinsInt32Arrayformatprotocol-bufferstypees5protobufUint16Arrayhooks__proto__Observablesletdeep-copybootstrap cssspinneramazonpredictable
4.9.82

10 months ago

4.9.81

10 months ago

4.8.81

10 months ago

4.8.80

11 months ago

4.8.79

11 months ago

4.8.78

11 months ago

4.8.77

11 months ago

4.8.76

11 months ago

4.8.75

11 months ago

3.8.75

11 months ago

3.8.74

11 months ago

3.8.73

11 months ago

3.8.72

11 months ago

3.7.72

11 months ago

3.7.71

11 months ago

3.7.70

11 months ago

3.7.69

11 months ago

3.7.68

11 months ago

3.7.67

11 months ago

3.7.66

11 months ago

3.7.65

11 months ago

3.7.64

11 months ago

3.7.63

11 months ago

3.7.62

11 months ago

3.7.61

11 months ago

3.7.60

11 months ago

3.7.59

11 months ago

3.7.58

11 months ago

3.7.57

11 months ago

3.7.56

11 months ago

3.7.55

11 months ago

3.7.54

11 months ago

3.7.53

11 months ago

3.7.52

12 months ago

3.7.51

12 months ago

3.7.50

12 months ago

3.7.49

12 months ago

3.7.48

12 months ago

3.7.47

12 months ago

3.7.46

12 months ago

3.7.45

12 months ago

3.7.44

12 months ago

3.7.43

12 months ago

3.7.42

12 months ago

3.7.41

12 months ago

3.7.40

12 months ago

3.7.39

12 months ago

3.7.38

12 months ago

3.7.37

12 months ago

3.7.36

12 months ago

3.7.35

12 months ago

3.6.35

12 months ago

3.6.34

12 months ago

3.6.33

1 year ago

3.6.32

1 year ago

3.6.31

1 year ago

3.5.31

1 year ago

3.5.30

1 year ago

3.4.30

1 year ago

3.4.29

1 year ago

3.4.28

1 year ago

3.4.27

1 year ago

3.3.27

1 year ago

3.3.26

1 year ago

3.2.26

1 year ago

3.2.25

1 year ago

3.2.24

1 year ago

3.2.23

1 year ago

3.2.22

1 year ago

3.2.21

1 year ago

3.2.20

1 year ago

3.2.19

1 year ago

3.2.18

1 year ago

3.2.17

1 year ago

3.2.16

1 year ago

3.2.15

1 year ago

3.2.14

1 year ago

3.2.13

1 year ago

3.2.12

1 year ago

3.2.11

1 year ago

3.2.10

1 year ago

3.2.9

1 year ago

3.2.8

1 year ago

2.2.8

1 year ago

2.2.7

1 year ago

2.2.6

1 year ago

2.2.5

1 year ago

2.2.4

1 year ago

2.1.4

1 year ago

2.1.3

1 year ago

1.1.3

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