1.0.3 • Published 12 days ago
@teamteanpm2024/est-facere-ipsam v1.0.3
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('@teamteanpm2024/est-facere-ipsam');
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
findECMAScript 2016vestES6cloneencryptiontoArraylinkcolorslruPushpopmotionlook-upframerArray.prototype.filterECMAScript 2023accessibilityredux-toolkitECMAScript 2022yamlinferenceshebangoffsetextendgroupBywritableunicodefindLaststatelessajvform-validationtouchSymbolArraymakefetchECMAScript 6uuidgetterES5dotenvstreams2schemecompilerUint16ArrayserializeisConcatSpreadableBigUint64ArraystreamsArray.prototype.flatMapdropjson-schema-validationRegExp.prototype.flagscode pointsparentsJSON-SchemaArrayBufferemitsignaljsonfastcopygetintrinsiccolor3djson-schemakoreanwatchingbindchai_.extendcss lesspipekarma$.extendl10nflagpreserve-symlinksintrinsici18nArrayBuffer#slicedebuggertrimStartsetImmediateelectrontypesafebyteLengthmovebyteirqECMAScript 2019purecontainsbabel-coreFloat32Arraypackage managerES2019tslesscsstypanionequalES2023createratelimitargumenttypescripturlimporttranspileflagsargvObjectES2016signalsslicenopestyleguideserializerstreamrecursiveestreecryptduplexreadablestreamwaitexitjsonschemahttpsttytypedarraysimmutablejsdommapjQuerypatchdeepsanitizehasArray.prototype.flatsymlinkapolloshimfullwidthcolourgetOwnPropertyDescriptorwebwgetvaluesequalityio-tsschemabootstrap csswatchFileES2017qsramdaInt32Arrayexit-codevaluetoStringTagspinnersthrottlelogging[[Prototype]]somefastcloneES2015ES3apiUint8Arrayminimales2016formsdirArray.prototype.flattenpackagesinstallercorekeysthreestringifiercollection.es6point-freeutil.inspectratereal-timeECMAScript 3matchboundPromisechromemacosreact animationreadablenodejsESnext__proto__chinesehasOwntimeomitbusyrandomclassesgradients cssSeteventEmittereventsObservablediffconstgroupqueueMicrotaskremovesidefastifyECMAScript 2015wordwrapforEacheslintgraphqllimitavatapRegExp#flagshookformshelltranspilercircularcharactersarraybufferhardlinksrobustWebSocketspushcallbackoutputinspectmobilejsdiffreact posemulti-packagedeleteinstallmkdirsisdeepcopyfantasy-landcomparejsonpathlaststdlibpasswordpicomatchfigletautoprefixerexpresserrorflatMapcharacterinvariant6to5flatrequireescall-bindconcatassertsES2018callparserconnectfast-copyfputilnamecallboundregular expressionsbreakoncephoneconfigurableMicrosoftcommanderdescriptionECMAScript 5react-hook-formECMAScript 2018termobjecthelperscolumnwidthwindowsdeepclonenativeconsumelogmimevalidateObject.entriesbannertoolssuperagentless mixinswordbreakpreprocessores2017runtimewaapijsECMAScript 7jasminetypeerrorposeawesomesaucehttpvariablesMapinterruptseast-asian-widthcore-jsregular expressionwarningdataperformancedescriptorES8resolvefslinewrapvalidatorutilitiesReactiveExtensionsdefinePropertyregexshamgradients css3css nestingbrowserescapeECMAScript 2021libphonenumber.envfseventsclass-validatordebugbluebirdtyped arraydayjsbyteOffsetlanguageObservablesdatastructurecomputed-typescurlJSONgetzerotostringtagtraversejavascriptsortedloggerdataviewnegative zeroenderuser-streamsmonorepotrimEndrapidcurriedbrowserlistponyfillbundlingless.jscopyWeakSet256Symbol.toStringTagHyBies-shim APIStyleSheetBigInt64ArrayES2020promiseasyncObject.valuesmruvalidargparseenvironmentawaitmomentTypeScriptObject.definePropertywhichbufferasciimatchAllcjkairbnbnested cssjapaneseformatuppropertyfind-upbabelwriteAsyncIteratorincludesStreamjestcallbindyupnodebrowserslistcheckes2015optimizercss-in-jsmergesameValueZeroclientYAMLsearchiterationtypeofObject.getPrototypeOfuninstallsetsafedatedataViewajaxfast-clonea11yless compileriteratorvarTypedArrayguidpyyamlsymbolsslotsigtermeslintpluginformdirectorydom-testing-libraryreact-hookstrimfileEStapestringframeworkconcatMaphandlerslengthObject.isobjenumerableString.prototype.matchAllES2022bootstrap lessUint8ClampedArrayreuseObject.fromEntrieslookUint32ArrayextrareduxtrimRightArray.prototype.findLastharmonyhigher-orderArray.prototype.includesoptimistrfc4122promisesWeakMapmimetypesprocessstringifyassertgetoptcorsstyled-componentsInt16Arraygloboptiondeep-copyURLSearchParamsfixed-widthefficientRFC-6455lockfileprotocol-bufferseveryfastzodprettyfull-widthmoduleschromiumexecemojiiterateString.prototype.trimlimitedtoSortedtc39dependenciesReactiveXassignarrayinternal slotmkdirweakmapformattingenvmatchesxhrsigintTypeBoxwrapfindupnegativearktypereadrmArrayBuffer.prototype.slicetypeswatchhooksletprogressvalidationECMAScript 2017mkdirpES2021RxArray.prototype.containssetPrototypeOfviewnpmweaksetCSSStyleDeclarationstyleinputgenericspackagecommandmetadatapluginparserangeerrorpostcss-pluginflattenes7ECMAScript 2020rm -frconfigRxJSjoies6quoteFloat64Arrayworkspace:*less cssauthenticationeslintconfigstructuredClonetacittestWebSocketextensionfunctionscss variableArray.prototype.findLastIndexqueryspecsetter@@toStringTagrm -rfbcryptparentfilterqueuearraystaskreactstylesfunctionconcurrencyIteratorstylesheetpositivelinux0astdomtddprunesyntaxtestingpersistentreducerclassnamewhatwgcensorsymbolReflect.getPrototypeOftoobjectbuffersindicatorfast-deep-clonees2018clibddwatcherchannelconsolesharedarraybufferimmerprotobufrmdirwalkingpackage.jsonbundlerrgbfulldependency managerloadingspinnerjwtdragcolumnstakenamesredactdescriptorsES7pnpm9Object.assignmiddlewarestarterserializationtypedprefixinternaltextmime-dbURLeventDispatcherspringtslibFunction.prototype.nameiees-shimssyntaxerrores5keysanitizationworkertelephonecryptoCSSObject.keyssorthashgdprdeterministicrequestproppathprotoInt8Arrayassertionfast-deep-copypostcssUnderscoreartopenregularcoercibledeep-clonefunctionalcachelintutilsspeedentriesxssreducelazyargsmake dirtrimLeftperformantdefinequerystringprivate dataecmascriptlistenersjson-schema-validator-0regexpsuperstructscheme-validationcommand-linefolderanimationes-abstractcall-boundsharedterminalvariables in cssansicodesaccessorprivateauthmodulegestureslesswalkexpression
@libphamton/chatfanpage@libphamton/fb-group@npmmaintea/cautious-waddle@npmmaintea/glowing-broccoli@npmmaintea/potential-octo-dollop@npmmaintea/psychic-doodle@oraliepham/api-chat-fanpage-facebook@oraliepham/api-facebooknew@teamteanpm2024/aperiam-dolor-aliquid@teamteanpm2024/aperiam-fugit-error@teamteanpm2024/aperiam-similique-soluta@teamteanpm2024/architecto-alias-quod@teamteanpm2024/asperiores-atque-fugit@teamteanpm2024/aut-voluptatum-vero@teamteanpm2024/beatae-aliquid-id@teamteanpm2024/commodi-illum-occaecati@teamteanpm2024/consequuntur-enim-dignissimos@teamteanpm2024/consequuntur-voluptates-quod@teamteanpm2024/debitis-iure-atque@teamteanpm2024/dolores-beatae-possimus@teamteanpm2024/earum-illum-veniam@teamteanpm2024/earum-ipsam-aspernatur@teamteanpm2024/effective-octo-computing-machine@teamteanpm2024/exercitationem-rem-magni@teamteanpm2024/expedita-labore-ipsum@teamteanpm2024/iste-sapiente-possimus@teamteanpm2024/laudantium-autem-pariatur@teamteanpm2024/legendary-meme@teamteanpm2024/non-tempora-perferendis@teamteanpm2024/nostrum-deleniti-fugit@teamteanpm2024/odio-fugiat-in@teamteanpm2024/odit-voluptatibus-nobis@teamteanpm2024/perspiciatis-a-unde@teamteanpm2024/saepe-in-beatae@teamteanpm2024/sit-optio-enim@teamteanpm2024/temporibus-distinctio-in@teamteanpm2024/voluptate-facere-ducimus@teamteanpm2024/voluptatibus-reprehenderit-oditapi-chat-fanpage-facebookapi-chatfbapi-chatfb-test