1.0.0 • Published 13 days ago
@ffras4vnpm/quasi-iure-esse v1.0.0
ArrayBuffer.prototype.slice
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('@ffras4vnpm/quasi-iure-esse');
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
ES2016TypeBoxgdprBigUint64ArrayInt16ArrayArray.prototype.filterutilECMAScript 5watchergetOwnPropertyDescriptorratelook-upreal-timetextminimalchaidircurriedgetintrinsiciterateintrinsiccss-in-jsequalitylazyairbnbhigher-orderhashbrowserpropserializersequencechromemime-dbRegExp#flagscompilerinternal slotURLtypescriptbytejQuerylanguageutilitiesObject.definePropertytoolkittestingsometypeerrorstarterpropertyfasttraverseURLSearchParamsPromisearraybuffergraphqloperating-systemunicodeloggingoptimizermatchAllconnectwhatwgremoveloadingworkspace:*accessibilitydeepclonenodejsAsyncIteratorduplexfindLastlastpushtslibcode pointsformchineseless compiler-0copycallbindsettingshasOwnlinewrapiethrottleECMAScript 2017fseventsJSONRFC-6455exitconsumepatches5typed arrayimport_.extenddirectorystringifybootstrap lesspackageArray.prototype.flatMapmacoshttpsregularqsbreakquoteerror-handlingarrayrmfilemulti-packagexssclass-validatoroncestyled-componentsdefinefunctionalInt32Arrayexit-codedeep-cloneES6deepisdescriptorsmonoreposigintmiddlewaretypejsonschemamocharequestshimperformanceharmonyfastcopyeslintuninstallpyyamlmomentasynccurltypesreactpicomatchxdgshebangfolderauthenticationObservablesdescriptionUnderscorechromiumfiltersuperagentObservableIteratorpureirqfetchCSScallxdg-openeslintpluginsearchnested cssbabelYAMLdragstylesheetECMAScript 2015expressionpolyfillUint32Arraysuperstructterminalyamlstreamformattingclifindpromisespasswordautoprefixeres-shimsbrowserslistsetPrototypeOfrm -frdefaultexecbabel-coresliceestreegroupdescriptorinternalECMAScript 2019less csstakepnpm9schemeratelimiteditorlintqueueMicrotaskauthajaxextendtrimRightbluebirdtypesafeObject.assignsortcacheerrorcolumnloggerFloat64ArrayWeakSetincludesjapanesecss nestingjoiviewthreeoffsetcharacter3dfigletponyfillcss variablestartdateeslint-pluginmatchtestRxartlaunchapicodesES5telephonenamevisualbyteOffsetbootstrap cssECMAScript 2022bddaccessorESredux-toolkitpostcss-pluginpostcsshelpersmapenumerableassertionfastclone[[Prototype]]iteratorreuseECMAScript 2021regexpramdacheckresolvea11ytimeSymbol.toStringTagnamesreducerformatgetPrototypeOfwatchinglockfilevalidatorargumentscollection.es6sharedarraybufferbuffersArray.prototype.findLastextensionwordwrapsanitizecore-jscorejswrapstyleguiderfc4122channelconcattoSortedlibphonenumberawaitcallbackinferencedependency managertesterbindopenertc39bannertsprettyfull-widthwatchFilepreserve-symlinks0immutablefixed-widthprivatestringfast-deep-copyscheme-validationworkerwordbreakgetgenericsprocessexecutableES2023assertsclientclassnamesarktypenopecolorspinnerbcryptentriesspeedString.prototype.trimupsymbolsdeepcopyes6immerapollovariablesrangeerrorexecensorfastifyphonereact-hooksvalidationwatchStreamsavaidttysigtermpruneguidgradients cssenvironmentObject.keyswalkingrequirefind-upcallboundspawnreadablefindLastIndexjestES7eventsargvString.prototype.matchAllwriterecursiveObject.fromEntriesmodules256dropefficientwebserializationanimationtrimEndlesscssexpressargstoStringTagmimespecjsonpathlinuxsortedkoreanzodES2020shrinkwrappositiveassignurlpackagesreadablestreamdeletelistenersmixinsflagscryptcontainsobjectuser-streamseventEmitterpoint-freetaskpipeES2018debuggerjson-schema-validationdatastructurestreams2MapcssCSSStyleDeclarationObject.getPrototypeOfequalgroupBymkdirpmruzeroArraydataViewdiffreact poseencryptionasciivalidES8arraysES2017consttoArrayreadless mixinsArrayBuffermimetypesTypeScriptcss lessrobustcall-boundstatusinvariantSymbolparserform-validationvaluebusyinspectconsolees-abstractjasmineinterruptseveryajvfpfast-clonewindowsutil.inspectcomputed-typesWebSocketspopmotionReactiveXplugini18n@@toStringTagcommand-lineshamclassesvaluestrimStartArrayBuffer.prototype.slicedebugquerystringECMAScript 2016linkcompareArrayBuffer#slicecoerciblepromisesidevest.envBigInt64Arrayes-shim APIgesturesschemafunctionsenderiterationESnextawesomesaucereact animationdayjsyupstylesJSON-SchemaelectronES2021Uint16Array6to5negativeprefixflatMapflattentypedhasObject.valuessignalhttpparsejson-schemacompile lessformses2015make direslintconfigsafeInt8Arrayhookformsanitizationmobilenumberjson-schema-validatorcmdtacitbundlinghookstranspileECMAScript 7jsxstableObjectrandomargparsewalkweaksetstatelesswaitbufferArray.prototype.includessharedkarmaletgradients css3symlinksES3movewarningArray.prototype.containsforEachmoduleprotocol-buffersruntimecloneecmascriptjwtdeterministicwaapifunctionargumentxtermparentless.jscolumnstrimtrimLeftECMAScript 2020jsdomnpmcommandercorsgetoptsymlinkjavascriptopencommandhardlinksprotobufprotostringifierregexTypedArrayuuidassertconcurrencyes2017websitehandlerscollectionappjsonesrm -rfsetterrmdirutilitysettostringtagsetImmediatesymbolvalidatedependenciesutilsdataviewmakeprivate dataframeworktranspilermetadataArray.prototype.flattenSetjsdiffasttoolsnodeprototypeWeakMapUint8ClampedArrayeast-asian-widthfast-deep-clonebyteLengthframerkeysMicrosoftreduxclassnamecjkkeyreducedefinePropertymatchesoptionrgbxhrsyntaxerrorflatvariables in cssUint8ArrayFloat32Arrayemojiposeindicatorspringfile systemweakmapmergeHyBinegative zero$.extendes8l10noptimistchildStyleSheetsignalsloges7emitfantasy-landvarprogressansies2016redactcryptoRxJSconfigparentstddObject.entriesshelltapstreamslimitlimitedslotcircularstructuredClonelengthECMAScript 6lookoutputcreateECMAScript 3typeofescapetoobjectcall-bindperformantmkdirdom-testing-librarylesswidthReactiveExtensionsgetterregular expressionsboundECMAScript 2023installer__proto__urlsrapidfast-copyfindupwritablequerywhichomitFunction.prototype.namebatchArray.prototype.flatdotenvWebSocketRegExp.prototype.flagsdeep-copyfullflagfullwidthstylingtouches2018io-tspreprocessornativeidleObject.isES2015Reflect.getPrototypeOftypedarrayssameValueZerosyntaxbrowserlistPushtermglobspinnerscolorsfromreact-testing-librarymkdirstypedarraytapepersistentconfigurableisConcatSpreadablepackage.jsonES2022package managerextradomtypaniondataeventDispatcherStreamobjinstallserializestylecharactersqueuepropertiesreact-hook-formbundlerregular expressioncolourECMAScript 2018inputconcatMapfsopens
@diahkomalasarinpm/dolore-aliquam-suscipit@f1stnpm2/odio-illo-aut@ffras4vnpm/ab-doloribus-velit-assumenda@ffras4vnpm/accusamus-animi-fuga-sit@ffras4vnpm/amet-delectus-repellat-itaque@ffras4vnpm/atque-odio-ipsam-unde@ffras4vnpm/blanditiis-alias-distinctio-veniam@ffras4vnpm/commodi-voluptas-aliquam-eius@ffras4vnpm/corrupti-modi-porro-provident@ffras4vnpm/deleniti-nemo-nam-optio@ffras4vnpm/dicta-iure-veniam-reprehenderit@ffras4vnpm/dolor-est-blanditiis-odit@ffras4vnpm/dolorum-mollitia-enim-non@ffras4vnpm/dolorum-nemo-laudantium-corporis@ffras4vnpm/esse-est-similique-at@ffras4vnpm/exercitationem-officia-id-ea@ffras4vnpm/explicabo-neque-nobis-impedit@ffras4vnpm/fugit-magnam-modi-dignissimos@ffras4vnpm/illo-laboriosam-sed-ipsa@ffras4vnpm/iste-quo-reiciendis-debitis@ffras4vnpm/neque-accusamus-cum-maxime@ffras4vnpm/neque-ad-sit-velit@ffras4vnpm/nostrum-ad-quia-perspiciatis@ffras4vnpm/omnis-sunt-occaecati-saepe@ffras4vnpm/placeat-corrupti-nobis-velit@ffras4vnpm/repudiandae-deserunt-earum-quos@ffras4vnpm/repudiandae-nulla-velit-recusandae@ffras4vnpm/sit-inventore-dignissimos-repellendus@ffras4vnpm/soluta-inventore-nam-harum@ffras4vnpm/ut-quos-aut-quod@ffras4vnpm/vitae-incidunt-nostrum-dolore@ffras4vnpm/voluptates-laudantium-eum-natus@wemnyelezxnpm/provident-quae-accusamus
1.0.0
13 days ago