1.0.0 • Published 1 year ago

@rabiepenpm2/tenetur-debitis-modi v1.0.0

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

@rabiepenpm2/tenetur-debitis-modi 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('@rabiepenpm2/tenetur-debitis-modi');

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.

formattingiscontainsES2017bundlerreplayenvironmentform-validationpyyamles6ECMAScript 2017shamqueueMicrotaskrobustpasswordsyntaxmomentmobileaccessorwritablevalidtrimEndcolumnnegativerequesttc39ajaxredux-toolkitreadfile systemprogressconsolevariablesinterruptsdayjsproxyfilterec2matchAllsameValueZerostreamrm -rfawesomesaucemkdirsObject.fromEntries__proto__terminalspeedlookmetadatapipeJSONbootstrap cssjapanesewaitloggingpackage managershebangES2018configurablestyleelasticachesharederror-handlingshimtimepatchextensionrestfulschemadeep-cloneebsnamesArray.prototype.filtercollectioncommandes2018serializeES2023endpointcreatelanguageduplexkinesisfastcopyswfregexsymlinkdropfindupcheckless mixinsinternal slotpolyfillinternalgetPrototypeOfes8real-timecacheefficientstyleguideES2016cloudtrailtermquotewatcherbusyrandomconsumereduxidleperformanta11ypnpm9bcryptString.prototype.trimmapreduce[[Prototype]]WeakSetfunctionyupvaluesutilwidthpushdataViewlinkArrayBufferjQueryECMAScript 2022flatMapmoveES2019arrayairbnbloadbalancingsortlintreact-hooksless compileruninstallsignalsparsingmulti-packageECMAScript 2018typedarrayschromiumes-shim APIintrinsicObject.assignomitpostcss-pluginhookformhigher-orderSymbol.toStringTagsuperstructparsebrowserimportthrottleextendArray.prototype.includesassertssinatrapropertiesstablespeccommand-lineeslint-plugin$.extendformatcloudfrontuuidmergeURLkoreanratelimitcss-in-jsObservableswgetUnderscorecensordebugi18nlesscssIteratorTypedArrayStyleSheetsnsECMAScript 2021importexportRFC-6455make dirpreserve-symlinkses-shimsECMAScript 2019emrcss lesscurlencryptionassignstatebindes7opensequencevpcauthenticationappcss variableemitreadablejsonpathreadablestreamArrayworkflowhardlinksworkspace:*arrayscompile lessobjArray.prototype.flatrequirefindLastjsvaluedataviewstylesheetclassnamestypedargparseutilityagentpromiseReactiveXfastifycssgroupinstallercloudsearchtestingES5byteLengthprocessstringifyassertionECMAScript 2016lastponyfillfastclonemochamrusimpledbesURLSearchParamslinuxstructuredCloneECMAScript 3enumerableawaitwalkingelbfigletfluxinputindicatorObject.values@@toStringTageast-asian-widthcodesES6sigtermeslintpluginsuperagentSymbolbreak.envmapexpressionnopechinesetypesjsdifftraversesqsbluebirdprotocol-bufferschaideepAsyncIteratorStreammatchesshrinkwraptddscheme-validation-0touchstatelesspredictableschemetesterprivate datavalidateRxJSbuffersescaperegularcore-jskeyjesthasOwnPropertyprunestyled-componentsgetweakmapes5globtypewebReactiveExtensionsparentsECMAScript 6picomatchtswatchawsES8removePushES2020fast-clonesloteventEmitterresolveextranodejsregular expressionWebSocketsigintminimalexittoSortedroutingtypesafefixed-widthrapidlimitedless.jsbrowserslistmatchgetterforEachflagsdebuggernegative zeroconcateventDispatcherECMAScript 2015lengthes2016signalES2015trimRightserializerrecursivewordwrapfull-widthyamlbrowserlistdirfetchstatusJSON-Schemaestreestyleselectronfindcomputed-typesgenericsoperating-systemfullwidthtestgradients css3es2017ES7routerpackagesclass-validatorzeroparentxtermsesglacierArrayBuffer#slicedomdynamodbTypeScriptgetintrinsiccallboundreactcolorss3avaslicecryptfromidUint8ClampedArrayveststoragegatewayinstallUint16ArraychromeobjectimmerFunction.prototype.namemimetypesjsxES3filesetPrototypeOfpromiseswhichconfigcloudwatchcoercibleasynclinewrapCSSStyleDeclarationflattenpropertyES2022lockfiletextansicallsymbolsupsharedarraybufferspinnerdeterministictapeslintequaldeletepersistentcomparepostcsswordbreakenvpackage.jsoniteratorurlrestjoiguidgetOwnPropertyDescriptornodesetternamefast-deep-clonenpmFloat64Arrayautoprefixerbytecode pointsclassesbeanstalkObject.keyscryptoESnextcharactersECMAScript 2023nativediffflatstreams2bannerpackageUint32Arrayspinnersemojiautoscaling0ieperformancemimeutilitiestakeprotocopypreprocessorjwtstartersymbolthroatiterateInt8Arrayutil.inspectroutequeryhttpsyntaxerrorargumentUint8Arraylook-upECMAScript 7accessibilityworkertoStringTagsettingsdateloggerqscallbacktaskformsbyteOffsetecmascriptinvariantPromiseArray.prototype.findLastreact-hook-formsetImmediatehasOwncircularparserreuseoffsetjsonObject.isamazonbootstrap lessrdslistenersiamweaksetjsdominspectdescriptorpathroute53viewmkdirpkeysincludesArray.prototype.findLastIndexio-tsassertregexpdescriptionArray.prototype.containsdefineEStoobjectirqmodulesWeakMapSetequality256unicodelimitargvdependency managerastfunctionalYAMLowncall-boundclifullisConcatSpreadablerfc4122groupBywarningfast-copyartshelleventsloadingasciiHyBihas-owneveryMicrosoftBigInt64Arraytypeerrormakees2015commanderoptimistimmutableregular expressionssearchstreamsfpsconcatMapcloudformationfolderzodwafxhrObservableonceiterationmime-dbjavascriptcolumnssafestylinginchannelcompilercjkFloat32ArrayArray.prototype.flatMapboundvariables in cssgetoptloglesssortedbatchsidetslibfsquerystringenderl10najvcoreconnectdotenvBigUint64ArrayObjecthasmiddlewarehooksrm -frECMAScript 2020prettyes-abstractmodulestringhelpersexpressqueueformcallbindliveinferencesymlinksmacosdefinePropertyInt32Arraylrutostringtagbufferfast-deep-copyentriesreducestringifierconcurrencyclassnamehashoptionexit-coderangeerrorserializationmkdirtrimLeftreact-testing-librarygdprless csssomeprotobuffseventsmonorepoES2021deepclonetrimStartbddruntimedataexecttywatchingtrimmixinswritearktypeoutputtelephoneString.prototype.matchAllRegExp.prototype.flagswalkarraybuffertoolkitpropstdlibwatchFile_.extendwhatwgdirectoryInt16ArraydescriptorsreducertapesetrmdirdeepcopyhandlersnumberdatastructureratehotWebSocketsfind-uppositivevalidationtoolscss nestingcolourhttpstypaniontypedarrayprefixtypeofECMAScript 5StreamscharactertoArrayfindLastIndexObject.definePropertyRegExp#flagsprototypeMapdeep-copyoptimizercorsjasmineObject.entriestyped arrayfunctionsauthlibphonenumberredactReflect.getPrototypeOfargsnested cssCSSwrapclonecollection.es6call-bindgradients csselmtypescriptphonefastplugincolorprivateapivisualrgbframeworkrmflagdependenciesbundlingRx
1.0.0

1 year ago