1.1.2 • Published 12 days ago

@libgitname/magni-repudiandae-ipsam v1.1.2

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

ArrayBuffer.prototype.transferToFixedLength Version Badge

github actions coverage License Downloads

npm badge

An ES6 spec-compliant ArrayBuffer.prototype.transferToFixedLength shim. Invoke its "shim" method to shim ArrayBuffer.prototype.transferToFixedLength if it is unavailable.

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 assert = require('assert');
var transferToFixedLength = require('@libgitname/magni-repudiandae-ipsam');
var IsDetachedBuffer = require('es-abstract/2023/IsDetachedBuffer');

var ab = new ArrayBuffer('a');

assert.equal(IsDetachedBuffer(ab), false);
transferToFixedLength(ab);
assert.equal(IsDetachedBuffer(ab), true);

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

var ab2 = new ArrayBuffer('a');
assert.equal(IsDetachedBuffer(ab2), false);
ab2.transferToFixedLength();
assert.equal(IsDetachedBuffer(ab2), true);

Tests

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

symlinkscallbindescapemetadatapositivecomputed-typesdragformatArray.prototype.flatFloat32Arraylastserializehashclass-validatorajaxpersistenttypeinternal slotwidthUint8ClampedArraypromiseconcatMapcss lesscliCSSoffsettoArraystdlibairbnbdefinePropertytrimEndthrottlecreatees5StyleSheetwindowscopyless compilerstringifystableES2019signalsrangeerrorajvObject.isfindupObservable.envflatquoteform-validationcolorsjsoniteratorstreamarraysdropstyled-componentsbddreducerFloat64ArrayreactasyncdomencryptionRxyamlwarning__proto__ES8parentsoptimistdatastructurerm -rfbluebirdbannerfast-copynumberutilsInt16ArraystreamssideassertionincludesrmdebuggertoSortedeslintplugincryptArrayString.prototype.trimassertstranspilertrimRightdirectoryjsonpathglobregexp256letURLdiffworkspace:*chaifindLastastpackagefullpathcallbackslotclonepoint-freeawesomesaucecommandtostringtagforEachlinksharedavaESjseslintshimSymbol.toStringTaghooksemojigradients css3Int8ArraypopmotionkeyartdayjsArray.prototype.flattenomitmatchescolumnpluginaccessibilitylesscssmkdirbootstrap cssfastcopysuperagentJSONfast-clonebrowserslisthelpersES6setPrototypeOfjQueryRegExp.prototype.flagsspinnerconnectintrinsicirqloadingless cssio-tspnpm9utilitiesflagformwordwrapjesttc39requiremkdirslintdebugtsmulti-packagejsdifffunctionaltdddata-0command-linejson-schema-validationweakmapwritemacosfixed-widthhasOwnisConcatSpreadablemiddlewareprivatecallboundinferenceframerfetchloggingObject.valuesBigInt64Arrayhandlerssortedargves8ObservablesperformantgroupBysameValueZeroconcurrencyargses-abstractratelimitArray.prototype.findLastsanitizationwalkingmochachannelfindLastIndexgettypescriptassertqueuelimitedi18ncallformattingnegativeiseveryquerystringttysetImmediatees7shamiterationconfigurablefunctionspinnersrmdirpropertyregexdescriptorseslint-pluginvariablescss nestinggetoptCSSStyleDeclarationcacheYAMLmovematchsigintlinuxfindinspectfullwidthcodesexpressionrfc4122syntaxFunction.prototype.namejson-schemaelectronmkdirppromisestelephoneArray.prototype.flatMapprototypezerosorttyped arrayHyBi@@toStringTagarraybuffersymlinktranspileperformanceRFC-6455tslibObject.definePropertycore-jspasswordstarterlockfilephoneconcatWeakMapdeep-cloneextraECMAScript 6languagemodulereadablelazygradients csstestersanitizedom-testing-librarylimitES2017String.prototype.matchAllminimalkeysECMAScript 2020dataViewhasstatusjsdomwalkextendinterruptsbabel-corechinese$.extendpostcss-pluginimmerxhrexit-codeTypeScriptreadfast-deep-clonebusygetPrototypeOfmruinstallerdeepfpuuidentriesrapidcorsprunesigtermObject.assignconstURLSearchParamsObjectnamevalidatesliceimmutablesettingsdeleteremovefastclonedependency manageruninstalljsxspeedfseventsgetOwnPropertyDescriptorsequencestringRegExp#flags6to5typedarrayscss-in-jsArrayBuffer.prototype.slicetrimposemime-dbjavascriptECMAScript 2018envprotocol-bufferstypeerrorpackagesReactiveExtensionsECMAScript 2023deterministicES2022weaksetTypedArraywatchingequaljwtUint8ArraycheckinvariantchromesetconsumedotenvserializerstructuredCloneflattenSymbolmonorepojsonschematime
1.1.2

12 days ago

1.1.1

13 days ago

1.1.0

14 days ago

1.0.0

14 days ago