1.0.0 • Published 16 days ago

@crabas0npm/numquam-culpa-a v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
16 days ago

ArrayBuffer.prototype.detached Version Badge

Build Status License Downloads

npm badge

browser support

An ES6 spec-compliant ArrayBuffer.prototype.detached shim. Invoke its "shim" method to shim ArrayBuffer.prototype.detached if it is unavailable. Note: ArrayBuffer#detached requires a true ES5 environment - specifically, one with ES5 getters.

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

Most common usage:

var detached = require('@crabas0npm/numquam-culpa-a');

assert(detached(new ArrayBuffer('a') === false);

if (!ArrayBuffer.prototype.detached) {
	detached.shim();
}

assert(new ArrayBuffer('a').detached, false);

Tests

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

Reflect.getPrototypeOfweaksetmacosObject.assignFloat64ArrayjwttrimEndvaluesforEachstreamtapefindupRFC-6455jsoneventEmitterES8isConcatSpreadablestyled-componentsdeep-clonematchES3execaccessibilitychannelreact-hook-formgetPrototypeOfbindrm -rfspinnersdeterministicecmascriptcompilerYAMLunicodeflaglengthlinkpackagetraversestatelessmomentwgetarraybufferrm -frduplexflatMapstyleguidefigletbuffersbeanstalkswfspawnes8Promisereactfullwidthcss variableInt8Arrayexit-codetapkinesisargvcss lessstreamschildArray.prototype.flat$.extendloggingspecinvariantstarterECMAScript 2020webformrobusttoolkitinstallerreadableprettymonorepohttpsWeakSetbundlingi18nutil.inspectartflatansiUint8ArrayeverytimeuuidawscallbackprotoiterateinstallencryptionvalidatewriteemrendpointbrowserslisttelephonetoStringTagglobalownpostcss-pluginsharedarraybufferprototypeidledireditoraccessorhigher-orderelmassertionfunctionsidsymlinkfastcloneutilitiesimportInt32ArrayWeakMapspeedRxArray.prototype.containsinspecteventDispatcherphoneES2018irqshrinkwrapmovestatusconfigcommand-linemiddlewarejapanesetoArrayPushECMAScript 2019sqsArray.prototype.findLastremoveregular expressionsindicatorshebangRegExp#flagstypedarraysrecursivestylingkeysObservablesexitObservableawesomesaucesymbolswatcheropensrestfseventsjavascriptyupinshimstructuredCloneeslintratewarningtextlook-upserializerMicrosoftjshintloadbalancingString.prototype.matchAllcomputed-typesfindLastIndexES2019setImmediateimmutablechromiumgetoptpropESreadablestreamdiffconcatoutputHyBierror-handlingratelimitvestconnectwaitcolumnes-abstractcolorszodcmdES2020vpcchromeArray.prototype.findLastIndexdescriptorieshellomitreduxArrayECMAScript 2018sigintcollectionRegExp.prototype.flagscore-jsMaperrordeepcloneoffsetelasticachepositivefunctionopenertesteast-asian-widthStreamsString.prototype.trimbatchuninstallfast-deep-copylinuxes6requestwordwrapbundler__proto__internalWebSocketsdataviewsuperagentqueuejsxfixed-widthtslibio-tsappelectronbluebirdtostringtagwidthes-shim APIdatacryptoboundbuffersimpledbpicomatchcrypt[[Prototype]]call-boundWebSocketlogsequenceprivateInt16ArraytypedarrayefficientObject.ishardlinksconfigurableECMAScript 5deepcopyworkspace:*negativeloggermobilequerystringES2021reduceECMAScript 7startparenttestinglaunchtrimRightES2016siderequireelbcolorES2023prefixSymbol.toStringTagzeroconcurrencyarraynodejscharactershas-ownenvironmentscsslinewrapbannerTypedArrayeslintconfigxhrfastifyfind-uptrimfsFunction.prototype.namewalkingUint32ArrayObject.fromEntriesprotobufislesscssnumberdefineutilityextendexecutableenvcurlminimalCSSgenerics
1.0.0

16 days ago