1.0.15 • Published 1 month ago

@erboladaiorg/velit-fugit-harum v1.0.15

Weekly downloads
-
License
MIT
Repository
github
Last release
1 month ago

@erboladaiorg/velit-fugit-harum Version Badge

github actions coverage License Downloads

npm badge

An ESnext spec-compliant sync iterator helpers shim/polyfill/replacement that works as far down as ES3.

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

Because the Iterator.prototype methods depend on a receiver (the this value), the main export in each subdirectory takes the string to operate on as the first argument.

The main export of the package itself is simply an array of the available directory names. It’s sole intended use is for build tooling and testing.

Supported things

Environments where this is needed

  • node v22, Chrome >= v122: has a bug
  • node < v22, Chrome < v122, Safari <= v17.1, Firefox <= v125: not implemented

Getting started

npm install --save @erboladaiorg/velit-fugit-harum

Usage/Examples

const map = require('@erboladaiorg/velit-fugit-harum/Iterator.prototype.map');
const toArray = require('@erboladaiorg/velit-fugit-harum/Iterator.prototype.toArray');
const assert = require('assert');

const iterator = [1, 2, 3].values();

const mapped = map(iterator, (x) => x + 10);
assert.deepEqual(
	mapped.next(),
    {
        done: false,
        value: 11,
    }
);
assert.deepEqual(
    toArray(mapped),
    [12, 13]
);
require('./auto'); // shim all of the methods

require('./Iterator.prototype.map/auto'); // shim the “map” method

Tests

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

concurrencyroutingrequiresettingspatchWebSocketsformattingcliio-tspromiseredux-toolkitlogger[[Prototype]]intrinsicvariableswarningcall-boundcloudtrailgetdynamodbMapregular expressionsjsdomyupObject.keyssequencesymbolreaddataViewgradients cssserializestreamshas-ownwidthfastclonedebugsearchSymbol.toStringTagcloudsearchSetcollection.es6randomhasspinneres2015chromiumnegative zeroregular expressionflatteneventEmitterprivate dataObservablelesstoobjectapirouteRxJSdependency managerincludeshookformawesomesauceespreechannelmapreducejsmkdirsconfigthrottlefastcopyfpsdayjsexpressionglobES2023rm -frpolyfilloptimistfind$.extendtestinguninstalldeterministiclengthstyleguideECMAScript 2016vestsesgetPrototypeOfstarterdefinePropertymodulesrateReactiveXUnderscoreoptiontouchpostcss-pluginendpointasyncObject.valuesshimgraphqlarraysgetoptsqsES2021deepwatchglacierweakmapRFC-6455termMicrosofttypescriptCSSenumerablewalkfolderinjapaneseformspromisesttyscheme-validationextendqueueMicrotaskperformancesymlinksTypedArraywatchFilesetterPromisedomcssStyleSheetURLless mixinsRegExp#flagsinternalassertionroute53AsyncIteratorcompile lessclass-validatorcommandwebtostringtagWebSocketbufferwhatwgoncesortedArray.prototype.findLastIndexinspectlesscssES2016groupByless.jstslibInt8Arrayajvpnpm9Object.definePropertyhashlook-upString.prototype.matchAllcall-bindArrayBuffer#slice0arktypewatchertrimLeftcurlbannerfunctionalpersistentterminalmochasuperagentES2022isPushInt32ArraysetImmediatepackage managersuperstructnamereadablestreamES3callfetchkoreanECMAScript 2023stableboundobjargumentdeep-copytypanionequalitycallboundoffsettesterrfc4122jsonpathutilitiesclassesdebuggerreal-timenpmstringifierReactiveExtensionseslint-pluginpushcopytoStringTagECMAScript 2022matchesguidresolveeverycss-in-jsfast-deep-cloneless compilerpreprocessorcachestyled-componentsmimecss nestingi18nvisualartidlees8outputdeleteECMAScript 2021configurablesetinstallrequestdropBigUint64Arraymixinses2016typedinvariantstoragegatewayslot-0dom-testing-libraryECMAScript 2017watchingtoolkitcolorsdotenveventslistenersemrwgetsymlinkexecmime-dbpreserve-symlinkscallbindloadbalancingbyteOffsetxhrreduceruuidecmascriptairbnbimmerfindupcryptframeworktsargsmulti-packageobjectprettyimportexportinstallerkeydependenciesvariables in cssl10nwalkingtypeofinternal slotmonorepolocationreusees6qsspecbcryptArray.prototype.filterpackagefind-upcss lessiterationArray.prototype.containsfast-cloneloadingpropertiesmatchprototypeemitcreateenvironmentregexpStreamsfast-deep-copyforEachfindLastIndexextraargparsefunctionObject.assignsameValueZerocollectioncloneduplexsliceES5StreamtextCSSStyleDeclarationcloudwatchfastdeepcloneclassnamebundlingFloat64Arrayjestes-abstractdescriptorslastconcattrimRightgdpreast-asian-widthimmutableiearraybuffermimetypeschromejsdiffproxyiamString.prototype.trimmapUint8ArrayWeakMapcircularvalidationcolorreplaysomeprefixinputqueuergbstreams2isConcatSpreadableauthenticationES2018typeerrortrimStartec2groupcheckrmdirmatchAllowntimemergepipelogdescriptionflatMaptapelivefunctionsObject.entriesjsongenericsArrayBuffer.prototype.sliceextensionbuffersstringifyflatObjects3bundlerhasOwnPropertybddzerokarmadifftypeselbregularquerystringfsformatwhicheslintpluginredirectreact-hooksInt16Arraygradients css3protoopen_.extendparentfullautoscalingES2017arrayconsolefile systemfull-widthpackage.jsonparentsObject.fromEntriesa11ynodezodastfixed-widthgetOwnPropertyDescriptorhotcloudfrontfastifyUint8ClampedArrayUint32ArrayomitentriesObservablesqueryfindLastvaluevpcdeepcopymake dirworkflowclassnamesescapeES7taskArraymetadataajaxagentReflect.getPrototypeOfwordbreakansiiteratorcode pointssortHyBihttprangeerrorArray.prototype.flatMapshrinkwrapmobiletestdescriptorlockfileaccessorsyntaxindicatornativebrowserslistbyteLengthbootstrap lessautoprefixerdatecharactersES2015cjkstreamcorsfilelimitedwafvalidECMAScript 2020compareIteratortoolsmomentes-shim APIpositiveJSON-SchemaJSONwordwrapdatafast-copylrutaploggingstylingshelleslintconfigwaitjavascriptform-validationequaljwtconnectpostcssupremovestringcontainslibphonenumberratelimitstdlibebsfromargveslinttddlimittypedarraysyntaxerrorschemeECMAScript 5styletypesafepathrmasciirapidcryptolinkapollobindECMAScript 2015stylesheetcss variabletc39browserlistes-shimspredictablecodesWeakSetObject.isauthwritablehookscommanderawsmkdirpspinnersponyfillpropertyworkspace:*ECMAScript 2019ArrayBufferArray.prototype.includesArray.prototype.findLastlazyjoiiteratemoveserializationassigncharacterObject.getPrototypeOfES2019throates2018encryptionfilterelasticachevalidatecoremakereducejQueryidclientelectrontakefseventsminimalsharedflagcore-jsdefinestateECMAScript 2018shebangES2020phonetraversetelephonetoArraykeysmrucommand-lineutilitystatelessbreakdeep-clonestructuredClonefigletrobustes5expressxtermRegExp.prototype.flagsless cssswfelmamazonES6YAMLchineseenderestreemiddlewarewritespeedworkerESnextUint16ArrayBigInt64ArrayurlsideenveventDispatcherjsxnegativees2017
@erboladaiorg/ad-exercitationem-ducimus@erboladaiorg/alias-reprehenderit-culpa@erboladaiorg/aliquid-deserunt-adipisci@erboladaiorg/adipisci-repellendus-corporis@erboladaiorg/tenetur-architecto-dolore@erboladaiorg/temporibus-adipisci-fugit@erboladaiorg/tenetur-magni-ab@erboladaiorg/ullam-amet-aliquid@erboladaiorg/tempora-nihil-hic@erboladaiorg/tempora-molestiae-exercitationem@erboladaiorg/ut-dignissimos-laborum@erboladaiorg/vitae-voluptas-consectetur@erboladaiorg/quaerat-voluptates-quis@erboladaiorg/sint-soluta-dolores@erboladaiorg/suscipit-consectetur-perspiciatis@erboladaiorg/sint-deleniti-dolorem@erboladaiorg/sit-nesciunt-amet@erboladaiorg/sit-nobis-maiores@erboladaiorg/soluta-adipisci-accusantium@erboladaiorg/tempora-eum-iusto@erboladaiorg/provident-vel-quam@erboladaiorg/repellendus-facere-totam@erboladaiorg/qui-nostrum-quo@erboladaiorg/quia-iure-eum@erboladaiorg/quibusdam-itaque-tempora@erboladaiorg/perspiciatis-magni-ut@erboladaiorg/quaerat-natus-deleniti@erboladaiorg/provident-quod-error@erboladaiorg/quae-in-veniam@erboladaiorg/quidem-magni-commodi@erboladaiorg/quod-explicabo-neque@erboladaiorg/quod-nemo-exercitationem@erboladaiorg/rem-quisquam-quasi@erboladaiorg/quaerat-mollitia-adipisci@erboladaiorg/distinctio-tempora-quis@erboladaiorg/dolore-optio-rem@erboladaiorg/doloremque-labore-quo@erboladaiorg/distinctio-illum-harum@erboladaiorg/doloribus-necessitatibus-explicabo@erboladaiorg/ducimus-illum-aspernatur@erboladaiorg/ducimus-necessitatibus-omnis@erboladaiorg/cum-commodi-consequatur@erboladaiorg/distinctio-corrupti-quas@erboladaiorg/dicta-modi-eum@erboladaiorg/dignissimos-possimus-a@erboladaiorg/cupiditate-consectetur-porro@erboladaiorg/cupiditate-pariatur-optio@erboladaiorg/delectus-repellat-aspernatur@erboladaiorg/error-atque-ea@erboladaiorg/esse-ipsa-numquam@erboladaiorg/excepturi-quaerat-molestias@erboladaiorg/excepturi-repellat-sint@erboladaiorg/ex-quas-quod@erboladaiorg/eum-doloribus-delectus@erboladaiorg/ex-hic-molestias@erboladaiorg/aperiam-vero-error@erboladaiorg/architecto-quaerat-non@erboladaiorg/asperiores-fuga-sint@erboladaiorg/asperiores-earum-quaerat@erboladaiorg/beatae-repellat-numquam@erboladaiorg/consectetur-ab-officiis@erboladaiorg/consequuntur-dolorum-excepturi@erboladaiorg/autem-dolores-ipsam@erboladaiorg/aut-ad-officia@erboladaiorg/asperiores-nam-adipisci@erboladaiorg/asperiores-tempora-laboriosam@erboladaiorg/at-fugit-odit@erboladaiorg/nemo-eligendi-consequuntur@erboladaiorg/nesciunt-quas-saepe@erboladaiorg/numquam-rem-deleniti@erboladaiorg/ipsa-ratione-harum@erboladaiorg/labore-impedit-vero@erboladaiorg/in-accusamus-architecto@erboladaiorg/incidunt-dicta-magnam@erboladaiorg/id-blanditiis-inventore@erboladaiorg/illo-dolor-ipsam@erboladaiorg/impedit-ratione-quasi@erboladaiorg/inventore-voluptates-suscipit@erboladaiorg/ipsa-deserunt-eaque@erboladaiorg/inventore-distinctio-sunt@erboladaiorg/explicabo-eius-adipisci@erboladaiorg/facere-aliquid-natus@erboladaiorg/fugiat-nobis-repellendus@erboladaiorg/laboriosam-inventore-natus@erboladaiorg/necessitatibus-sit-aperiam@erboladaiorg/molestiae-voluptatibus-perferendis@erboladaiorg/maiores-nesciunt-molestias@erboladaiorg/molestias-nulla-dolor@erboladaiorg/mollitia-deserunt-laborum@erboladaiorg/nemo-accusantium-quas@erboladaiorg/magni-perspiciatis-nesciunt@erboladaiorg/officiis-quos-impedit@erboladaiorg/perspiciatis-error-reprehenderit@erboladaiorg/nisi-id-consequatur@erboladaiorg/nostrum-aperiam-repudiandae@erboladaiorg/odit-mollitia-quis@erboladaiorg/officia-illum-aperiam@erboladaiorg/nisi-aliquam-esse@erboladaiorg/nisi-culpa-cum
1.0.15

1 month ago

1.0.11

1 month ago

1.0.14

1 month ago

1.0.13

1 month ago

1.0.12

1 month ago

1.0.10

1 month ago

1.0.9

1 month ago

1.0.8

1 month ago

1.0.7

1 month ago

1.0.6

2 months ago

1.0.5

2 months ago

1.0.4

2 months ago

1.0.3

2 months ago

1.0.2

2 months ago

1.0.1

2 months ago

1.0.0

2 months ago