1.0.0 • Published 1 year ago

@berufungirnpm/exercitationem-animi-animi v1.0.0

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

@berufungirnpm/exercitationem-animi-animi Version Badge

github actions coverage dependency status dev dependency status License Downloads

npm badge

Helper package to shim a method into Array.prototype[Symbol.unscopables]

Example

const assert = require('assert');

const shimUnscopables = require('@berufungirnpm/exercitationem-animi-animi');

let copyWithin;
let concat;
with ([]) {
    assert.equal(concat, Array.prototype.concat);
    assert.notEqual(copyWithin, Array.prototype.copyWithin);
}

shimUnscopables('concat');

with ([]) {
    assert.notEqual(concat, Array.prototype.concat);
    assert.notEqual(copyWithin, Array.prototype.copyWithin);
}

Tests

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

Security

Please email @ljharb or see https://tidelift.com/security if you have a potential security vulnerability to report.

linewrapperformantinstallnamesclassnameArrayBuffer.prototype.sliceerrorpolyfillwordwrapstreams2Array.prototype.flatMapcryptinternaldeep-copywatchpersistentxhrTypeBoxreact-testing-libraryratelessUint32Arraylook-upsyntaxunicodedotenvscheme-validationsimpledbhardlinksRFC-6455check0slicehttpspackage.jsonphonetypanionregexshebangdatastructurerangeerrorutilsearchrequestdirectoryemojicss variableindicatorcloudtrailES3css-in-jsloggingES2023Object.valuesStreamsasciimomentArray.prototype.flatvaluesutil.inspectresolveUint8ClampedArrayreact-hook-formstdlibformsObservablesenderkoreanpasswordMapmkdirsbootstrap cssES2022someargsisConcatSpreadabletrimLeftsymlinksincludesoncesidefsgradients cssautoscalingglacierpostcss-pluginliveRegExp#flagsdataviewJSONprototypeofshamobjectfetchgetOwnPropertyDescriptorspecansiassertswatchFiletoolsReactiveXjasmineserializationnativeflagruntimeECMAScript 2016HyBiecmascriptchannelfast-deep-clonepatchECMAScript 2019slotieArray.prototype.findLastnegative zeroless cssworkspace:*ES2017superagent$.extendcreateextraregularcolourformattingutilitiesURLcommanderWeakSetparentimportexportgradients css3comparelazybrowserslistcss nestingownmkdirptypescriptArray.prototype.includesObject.definePropertyguidformatfindwebdeletepathes8prefixautoprefixerlintinstallerUnderscorebusyuuidnodejs__proto__requiremochastreamsmakeweaksetECMAScript 2021querystylesheetECMAScript 6chinesecolorcloudwatchArray.prototype.filterhttpidexpresshashregular expressionString.prototype.trimprivatefindLastIndexstylesreplaysequencetestingentriesjavascriptexecajaxdayjsframeworkspinnertesterES2019iscss lessnameuninstalljsnumberStreamtermauthenticationmiddlewarelastcurlamazonbufferObject.assignsameValueZerosortwidthformdeterministicestreeoptimistcomputed-typesfastcopyminimala11yparsecall-bindserializergbPushconfigurable_.extendwhatwgawsnodeec2consoleless.jsclicore-jsjoireadablesqspropertiesTypedArrayhigher-orderarraywritablecompile lessfunctionsregular expressionsl10nprettyconcurrencyInt32ArrayendpointtoSortedargvcolumnsafeforEachPromiseTypeScriptnoperemovees-shim APIflattenmime-dbeventsclonejwtvalidbundlingstyled-componentsupsettoArrayregexpinternal slotUint16ArraystreambyteOffsettypedFloat64Arraycsselectronprotocol-bufferscallboundawaitfpses7datejesteast-asian-widthiteratepackagespackage managermatchesswfform-validationagentredactECMAScript 3fastclonefseventsflagsstringifierjsxjQuerystyleInt8ArraybufferseventDispatcherfixed-widthfilees2016StyleSheetpostcsscollection.es6iteratorperformancedires2018boundzodlanguagereact-hookslockfilecjkes6debuggerequalcloudfrontcloudformationterminalshellstatemruES6vpckinesiskarmacalllistenersshrinkwrapfast-deep-copyconsumextermcaches3immutableartlocationSymbol.toStringTagdropsettingsschemerfc4122duplexlimitextendredirectrobustmixinsURLSearchParamsargparsedescriptiongetintrinsicvariablesreducerprogress-0bddsesrmdirsyntaxerrorArray.prototype.containsqueueeventEmitterrecursiveRegExp.prototype.flags@@toStringTagpositivewordbreakfindLastJSON-Schemaredux-toolkitstylingjsdomtddsymbolfile systeminpropmulti-packagepromisesObject.isiamECMAScript 2020Int16Arraystyleguidecharactersyupjapanesechromiumtypedarrayreduceiterationimporttypeerrorhelpersponyfillstatelesskeysapistringifyintrinsicvariables in cssdatamobilevalidationfullastconcatMapdom-testing-librarysharedECMAScript 2022accessibility256storagegatewaycorecharacterlengtharraysstablereusecircularbrowserfunctionES2020compilerjsonpathassertelmsymbolsespreeexpressionnpmbreakObject.entriesmatchAllarraybuffertelephoneeveryinspectRxeslint-pluginwalkingcryptopreserve-symlinksenvironmenthas-owncensortslibtypestouchtrimfolderutilitymergeclassnamesArray.prototype.flattenfull-widthstarterextensioncall-boundwgetdeepfind-upESchaifastifyratelimitfullwidthmoveObjectdynamodbcolorsfrommodulecollectionIteratorparserhasOwnhotflatMapebscallbackttywrapgetPrototypeOfmapreduceReflect.getPrototypeOfreadablestreamcontainslimitedtapArraytimeeslintpluginoutputtypesetterenumerableasyncsnsdescriptorsECMAScript 2017code pointsapollofilterECMAScript 5ESnextawesomesauceemrrandomUint8ArraycallbindsharedarraybufferwatchinglogObject.fromEntriesES7eslintCSSStyleDeclarationpluginloadingcorsjson.envmimetypesfast-copyshimdescriptorarktypebannerproxygraphqlbrowserlistmimeescaperm -froffsetfigletReactiveExtensionses2017rdsurlwarningajvtyped arrayworkerlookpropertyless compilerAsyncIteratorio-tsassertionCSSparentsmatchrapidviewpushargumentimmeres-abstractECMAScript 2023inputtrimRightcloudsearchgdprSymbolmkdirreal-timefluxbeanstalklruvisualgroupByclientstringES2015bootstrap lessobjtrimStartconcatesgetsortedvestaccessorreadkeyspeeddifffindupMicrosoftroute53hookformtsString.prototype.matchAlljsdiffquotedataViewES2021codesairbnbtoStringTagwhichbindweakmapclassesWebSocketdefinePropertyloggertostringtagdebuglesscsstc39byteLengthinvariantflatthrottleautheslintconfigavatrimEndfast-clonethroatdependencies
1.0.0

1 year ago