1.1.2 • Published 11 days ago
@teamteanpm2024/reprehenderit-impedit-perspiciatis v1.1.2
@teamteanpm2024/reprehenderit-impedit-perspiciatis
Get the ArrayBuffer out of a DataView, robustly.
This will work in node <= 0.10 and < 0.11.4, where there's no prototype accessor, only a nonconfigurable own property.
It will also work in modern engines where DataView.prototype.buffer
has been deleted after this module has loaded.
Example
const dataViewBuffer = require('@teamteanpm2024/reprehenderit-impedit-perspiciatis');
const assert = require('assert');
const ab = new ArrayBuffer(0);
const dv = new DataView(ab);
assert.equal(dataViewBuffer(dv), ab);
Tests
Simply clone the repo, npm install
, and run npm test
call-bindrfc4122pushwindowsless compilerECMAScript 2018rm -rfwritablemime-dbspawnsuperstructnegativeECMAScript 7assignprocessaccessortypedarraylintapolloeslintconfigtacitreact posewebsiteES2020tddclass-validatorfixed-widthformkeyvalueObject.isRxJSelectronCSSStyleDeclarationfigletprivatewaitdeterministicinvariantfunctionscall-boundopenerreal-timeArrayBuffer.prototype.sliceInt32Arraydeepclassnamesfastclonefile systeminspectsyntaxlessIteratorreadintrinsicfpgroupBygettypesafenativeArrayqueueMicrotaskPromisecurriedsortedvariableswritejoishamoperating-systemisflatMapcommandgradients css3fast-deep-copyprettyrm -frdomReactiveExtensionsBigInt64ArrayimmutableWebSocketsreact-hook-formxsspoint-freeairbnbuuides5bootstrap csssymlinksCSSconcatMapnodejsRFC-6455regular expressionsredux-toolkitstyleio-tsdataviewutilutilitiesString.prototype.matchAllclonecoerciblefast-clonemakeboundInt16ArrayeventEmittermkdirsoptimizerserializertrimpositivetesterdataViewmoveponyfillbyteLengtharraygetOwnPropertyDescriptorjQuerymoduleslimitedtypescriptsetPrototypeOffastcopycommanderbrowserlistURL@@toStringTagtoArrayfetchbuffersprotocol-buffersanimationObject.definePropertyhasOwnfsvalidfseventsmkdirunicodenamesinternalUnderscorebrowserslisttoobjectes-shim APImkdirptaskeventDispatcherimportresolvetouchmochastreamsES2016hardlinksopenreduxURLSearchParamsobjectmatchmulti-packageentriescallbindsortAsyncIteratorcurles7reduceruntimebufferbundlerexecslotvestqueuebannertapestreampropES7sharedauthmapenderprototypeES2017findES2018ECMAScript 2015fastify6to5randomlimititerationoptionYAMLStreamscallbackglobdiffduplexinstallObject.getPrototypeOfspeedcss lesswatchinga11ynpmpropertiesmergebabel-corelinuxregularrapidES2022datastructureshrinkwrapobjsettingsformatterminalfast-copyidlelesscssstylingsyntaxerrorfunctionopensrmcompile lessECMAScript 5consolestartECMAScript 2021String.prototype.trimfind-upcallasciiarktypeJSONfindLasttoolsuninstallObject.fromEntriesbootstrap lessbatchreuseenvserializationwgetsanitizationthrottlesignalrgbObject.keysregexsanitizeES5flatreactpathargumentjson-schemaES2021transpilelogUint32ArrayutilsgenericsstatuswaapipropertyzerojsonfoldersidehttpsWeakMapredacttypedoutput.envECMAScript 2019parsersomereact animationjapaneseinputdebugnamesharedarraybufferlook-uptc39ansiupvariables in cssjschromiumjson-schema-validatorgradients csspostcss-plugin_.extendapistringifyRegExp.prototype.flagsstableawesomesaucestatelessfilterflagpromisesstarterPushlibphonenumberconcurrencyjson-schema-validationregexpcopyeveryqstypeerrorBigUint64Arraywidthpersistentchinesegetterextrakarmaprivate dataposeECMAScript 2022avamake dirfullSymbol.toStringTagtostringtagemitflattenchailess mixinseventsajaxhandlersclienthttpstylesclassesloadingiterateemojies-shimsdirform-validationttyArray.prototype.includescollection.es6breakxdg-openi18nyupeslint-pluginloggingdependencieslaunchlinkWebSocketspringimmerUint8ClampedArraycheckgetintrinsicECMAScript 2017symbolvalidatorcodesgraphqlvalidationUint16Arrayurlsstyled-componentstypeofcallboundfullwidthsequencemixinswhatwgtoolkitStyleSheetbcryptpackagesworkspace:*requestpackage managerparseexit-codetimermdirconfigurableES8argparselruperformancefasterror-handlingstreams2interruptsTypeBoxmomentmatchestraverselistenersSymboltrimRightdirectoryclassnameFloat64Arrayidarraybufferfunctionalgroupprune-0validateSetmacostoSortedObservableWeakSetchildphoneauthenticationwordbreakReactiveXjsxprotoes8util.inspecthashjsonschemaECMAScript 2020weblengthfinduphookskoreanfantasy-landstyleguidepopmotiondeep-copyaccessibilitylastcreatejsdomuser-streamsshelllinewraprecursivesuperagentpnpm9pureassertionbabelexpressionthroatES3Array.prototype.flatcharactersbundlingnode3dvaluesspinnersiecircularmonorepoencryptionpicomatchcliprogressargumentsdependency managertextcolorsframeworkassertchannelmimehelpersyamlwatchwalkingmatchAllletjwtObject.assigncompareramdaextendsymlinkpackage.jsonenumerablebusyhaswatcherurlerrorObjecttypedarraystrimLeftcode pointsArray.prototype.flattenESquerystringES2015trimEndenvironmentjsdiffwhichvardeep-cloneratelimitObservablesomitworkerTypeScriptparentconnectes2018packagetermcensorcrypto$.extendsetImmediateincludesjesteslintpluginfindLastIndexquoteschemasymbolsweaksetgesturesformattingnumbercjkcomputed-typesstringObject.valuestypeefficientl10nthreepostcssArray.prototype.containsnopebyteOffsetrangeerrorinferencespinnerxtermdayjstslibviewMicrosoftmodulebindes2016columnstoStringTagwordwrapcompilerECMAScript 3arraystestecmascriptdom-testing-librarytrimStartremoveoncelookinternal slotqueryInt8Arraycss-in-jslanguagestylesheetflagsdefaultmetadataastawaitassertsexitMapshimcorepyyamlxdgbddFunction.prototype.namereact-testing-librarygetPrototypeOfsigtermes6scheme-validationparentscharacterxhrdefinePropertytypanionArray.prototype.findLastmiddlewarepasswordArrayBuffer#sliceconcatexpressiteratorslicemruweakmapregular expressiones2015zodargsformsdatecommand-linereadabledeletedotenvserializeArray.prototype.filtersearchperformantpreprocessortestingcacheRxpromisepreserve-symlinksES2023colorStreampolyfillsigintbytewarningES2019columnfrom__proto__css variable
@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