1.0.0 • Published 18 days ago

@wemnyelezxnpm/aspernatur-atque-eum v1.0.0

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

ArrayBuffer.prototype.slice Version Badge

github actions coverage License Downloads

npm badge

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

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

Most common usage:

var assert = require('assert');
var slice = require('@wemnyelezxnpm/aspernatur-atque-eum');

var ab = new ArrayBuffer(1);
var arr = new Uint8Array(ab);
arr[0] = 123;

var ab2 = slice(ab);

var arr2 = new Uint8Array(ab2);
arr2[0] = 234;

assert.deepEqual(arr, new Uint8Array([123]));
assert.deepEqual(arr2, new Uint8Array([234]));

if (!ArrayBuffer.prototype.transfer) {
	slice.shim();
}

var ab2 = ab.slice();

var arr2 = new Uint8Array(ab2);
arr2[0] = 234;

assert.deepEqual(arr, new Uint8Array([123]));
assert.deepEqual(arr2, new Uint8Array([234]));

Tests

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

extensionencryptionenumerableefficientprotobufframer.enves-abstractwordwrapfoldersignalartArray.prototype.flatshampatchwhichinstallpiperm -froptionarktypeString.prototype.trimReflect.getPrototypeOflook-upgroupByfileschemapackageformatjestECMAScript 6MicrosoftsetImmediatejsupeslint-pluginparsersomemake dirspecwalkingmergewebchildwritablegetbundlerWebSocketproplibphonenumberprotocol-buffersdayjsquerystringrecursivedescriptordropObject.assignarraydescriptorsformsfsparsereact posefast-deep-clonedefaultjson-schemaES2019timeoptimistsigintbatchimmutableutilityidlepostcsstelephonetypesafefastifycommanderrmdirInt8ArraynodebrowserslistObservable_.extendgetoptobjecttoobjectweaksetconfigurablebuffervariables in cssprivate datareadablestreamWeakSetopenernegativeECMAScript 2023css-in-jsyupdeepcopycryptopushpreprocessor-0TypedArrayformattingdeep-clonegradients cssArrayBuffertypedarraydomtrimEnd$.extendenvnopetrimStartless mixinsawesomesaucecallcryptterminalsetpurematchAllless.jsairbnbHyBiTypeBoxequalityvalidatormomentbannerspringeslintconfigomitrandomStreamoffsetECMAScript 3constcontainsconsumebyteLengthexpressiongetterfile systemcss lessecmascriptthrottleshebangreducepasswordbundlingxtermdifftoArrayIteratordirectorycompilertapjoiES5pruneRegExp.prototype.flagsnumbercomputed-typesfastcssfindconcatMapmacosawaitposelogcjkString.prototype.matchAlleditorglobentriesmetadataBigUint64ArraylruemitAsyncIteratorauthsameValueZerowatcherponyfillECMAScript 2022a11yECMAScript 2018core-jsjsdompropertiesmodulesideflagwindowsRFC-6455visualpackage.jsonFunction.prototype.nameObject.getPrototypeOfrm -rfcurriedassertionuuidtc39yamlduplextaskfiltermulti-packageargviteratorassertPromisewaiterror-handlingurlStreamsdescriptionBigInt64ArraycheckclonetypanionmiddlewareMapcomparespinnerreusejson-schema-validationsettingspromiseflathigher-ordertypeofspinnersoncefantasy-landStyleSheetsuperstructArray.prototype.flatMapredux-toolkitbcryptjavascriptequalECMAScript 2020lookECMAScript 2021exitcolumnsdependency managerweakmapstatusECMAScript 2015avashimstyled-componentsirqstatelesssloteslintl10nSeteventEmitternested cssbusyisConcatSpreadablesearchcallbindYAMLArray.prototype.containskarmaschemevariablesajaxutilitiestypeaccessorlesssetterreadsanitizationinstalleres2016limitjasmineuser-streamsmkdirpcharacterUint16ArrayeventsflatMappreserve-symlinksshrinkwraptestinges6Object.entriesserializationcall-bindObservablessharedminimalmovemakereact animationpropertyapiless compilerviewxdgspeedcollectionstructuredClonepluginvaluessequenceFloat64Arraykeyconsolecoreclilaunchreact-hooksajvsymboltyped arraybreakprogresscall-boundi18nrapidrequireObject.istesterlesscssquerypoint-freeES2023parentESnextlimiteddebugjsdiffchinesetddvalidatesyntaxchannelES2016tapeECMAScript 5mruenderbluebirdwebsiteFloat32Arraybootstrap cssconnectcoercibleletstdlibvalidcachees5loggerflagsObject.fromEntrieswgetestreeinvariantdatastructurezerojson-schema-validatorArrayBuffer.prototype.slicefindLastreduxdeleteObject.valuesnpmUint32Array[[Prototype]]react-hook-formreadable__proto__hasOwn3dtrimvarbyteOffsetremoveargsargumentJSON-SchemaargumentspathimportconcatdataresolveArray.prototype.flattensigtermmonorepobabelfromrobustsymlinkttymime-dbwhatwgObjectECMAScript 2017deepserializeforEachsignalsObject.keysbindjsonpathpromisesregular expressionshandlerscodes0intrinsicsetPrototypeOfformstreams2dom-testing-libraryeslintpluginratelimitelectronfetcharraystypeerrorURLinspecthelperscompile lessdeterministicreal-timekoreanramdahasbyteTypeScripttraverseArray.prototype.filteraccessibilitytypescriptes-shim APIsafeobjlinewraptermfseventstouchtoolscmdmochaECMAScript 2019argparseless cssdataviewloggingstylesReactiveXsliceUnderscoretranspilefast-clonegetintrinsicdependenciesInt32ArrayvalidationmimetypesES2018ES2017Array.prototype.findLastutilstoolkitfigletwarningpnpm9picomatchcopydragregexprocessgroupreact-testing-librarymatchurlsclassesES2022mimeassertsxhrcollection.es6fast-copyregexpvestqueueMicrotaskextrastylesheetworkerrangeerrorprivatelinuxfindLastIndexwalkgetOwnPropertyDescriptorCSSStyleDeclarationmatchesloadinglanguageemojibrowserlistfindupcommand-linefastcopystreamescapestyleguidefull-widthEScharacterses2017fixed-widthwidththroatmkdirqueueform-validationReactiveExtensionsArray.prototype.includesserializerdirapollotypedarraysrmfunctionscreateArrayBuffer#sliceRegExp#flagshttpes-shimstakeuninstallscheme-validationnativeexpress6to5mobilecolourchromiumunicodeECMAScript 2016exit-codearraybufferES8prefixstreamststranspilerjQueryerrordebuggertacitArrayES2015es2015reducerbddframeworkchrometslibiterationES2021ratejsonharmonyenvironmentlazyesmixinsfullwidthstartcolumnpyyamlcommandUint8ArraycircularWeakMapdotenvutil.inspectfunctionalopenxssfind-upopensautoprefixerclassnamesio-tsgesturestestpolyfillJSONcolorfunctionjsxCSSpositiveprototypedataViewcorsasyncfulloutputoperating-systemdeep-copyassigntoSortedmkdirsclass-validatorclassnamelisteners256symbolsRxJStrimLeftexecinternalphonecurljwtflattenreactcallbackregularObject.definePropertybufferszodshelles7RxnamesInt16Arrayconcurrencymap
1.0.0

18 days ago