1.0.0 • Published 16 days ago

@f1stnpm3/modi-nobis-quasi v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
16 days ago

@f1stnpm3/modi-nobis-quasi Version Badge

github actions coverage dependency status dev dependency status License Downloads

npm badge

An ES-spec-compliant shim/polyfill/replacement for the .cause property on all Error types 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 proposed spec.

Getting started

npm install --save @f1stnpm3/modi-nobis-quasi

Usage/Examples

const assert = require('assert');

require('@f1stnpm3/modi-nobis-quasi/auto');

try {
		x();
} catch (e) {
		const actual = new Error('a better message!', { cause: e });
		assert(actual instanceof Error);
		assert(actual.cause === e);
}

Tests

Clone the repo, npm install, and run npm test

fast-copyless cssshellprivate datastringifierjsSetasyncparseajvprivatetddflagsqsweaksetbluebirdES6prunetypanionES7schemaECMAScript 3UnderscorereactObject.getPrototypeOfwritablerapidbcryptrestfulArray.prototype.flatMapredux-toolkitfastcloneHyBivariablesArrayutilitiesrmdirelmcolourglobObject.definePropertyl10nwalksyntaxwhichrangeerroroffsetsyntaxerrorreadPushdeepcloneESemrassertiontypeerrorenumerableArray.prototype.containspasswordgetoptes6hotmapreducehttpswordbreakyupbannerstylejsdiffcall-boundbreakhookswgetclassnamelinttrimEndtypedarraywordwrapArrayBuffer.prototype.slicequeuermparsingconnectcryptorfc4122gethashieES5es-shimsvaluesdeepqueryttyboundpredictableshimstreamsString.prototype.trimponyfilltypeseventEmittergradients css3ES2018mkdirappprogressframeworkrm -frsetterbundlingstylescore-jsInt32ArraysignalsirqtypedflatMapbrowserslist-0lookrgbiamshebangthrottleresolveforEachcreatecallbindcharactersgetOwnPropertyDescriptorprotocol-bufferselectronserializerjsoniteratorwhatwgfigletjoiidchromebusyObject.assignfulljestflatkarmalazycolordescriptionvestpatchReactiveExtensionsECMAScript 7libphonenumberautoscalingspeedtslibexpressiontypedarraysrecursiveimmerupwafsafeECMAScript 2022astcoercibleemojiArray.prototype.findLastfunctionsawscolorsless compileres2017symbolsassertentriesdataViewnegative zeroWebSocketsstreamrestarraygroupByjapanesehelperscallrequiresettingsworkspace:*variables in csstsserializationprettymobilesetImmediatefindLastIndexsymbolECMAScript 2023mochaasciibindtypeswfcolumnhookformmovewritextermcliFloat32ArraydirefficientapicacheextendlinuxYAMLjsxunicodefullwidthextraloggingmatchAllcircularloadbalancingwatchercloudformationinES2022east-asian-widthformcss-in-jsliveshambyteOffsetObjectimmutablegetter[[Prototype]]Array.prototype.filterArray.prototype.flattenreplaynested cssWebSocketAsyncIteratorvpcgetPrototypeOfspinnersBigInt64ArraysigtermisConcatSpreadablemkdirsfastifycloudwatchdebugreduxReflect.getPrototypeOfcloudfrontmixinssequencereadablestreampositivebeanstalkcss variableUint32Arrayzerolinewrapmomentauthenticationstylesheetpackage managereventDispatcherObject.entriescompilertapes2015fileObject.isphonepackagespinnerparentsmulti-packageprocessfetchECMAScript 2018make dirdatemonorepoRxJScodesisurlweakmapqueueMicrotaskimportexportRegExp.prototype.flagscommandercompile lessguidtelephoneinferencestylinglesssigintsesconcurrencytimereact-testing-librarysymlinksfolderfindkeystyled-componentscharacterschemerm -rfsetes7sharedarraybufferbootstrap csspnpm9look-upUint8ArrayRxlistenersratelimitopensideclassesfpsexecstructuredCloneautoprefixerfull-widthjavascriptpostcss-pluginArray.prototype.includesglacierfluxaccessorchaioutputdeletestringifyownES2020argvlanguageenvironmentclassnamesfsUint8ClampedArraykeysUint16Arraywaitdependenciescolumnsrobustdom-testing-librarymimexhrprotobufgradients cssincludesflagwindowsquotelogconfigurablecheckhandlersworkerless.jsreusedatastructurees-abstractlockfilelrutesterio-tspushcss lesscloudtrailjasmineArray.prototype.flatreadablecommandprefixMicrosoftreduceres2018simpledbECMAScript 2015moduletoobjectkoreantoolstestcallbackdeterministiceslintconfigWeakMapeventssuperstructloggerclonestdlibcopyexpressi18ncompareObservablestapearraybufferequalenderenvlastassertscontainsremovebootstrap lessObject.valuesencryptioncommand-lineflattenroute53accessibilitytextStreamspeccjkbdddefinemkdirpsuperagentmimetypeserror-handling256jsonpathserializecallboundescapees-shim APIoperating-systemtoolkiteslintpluginpreprocessorebslengthregular expressionsprototypeawesomesaucechinesezodpicomatchobjrouteeslintmacosconsumeequalityconsolees5ArrayBuffer#slicecollectionmapInt8Array.envmrutouchObject.fromEntriespyyamllinkroutingIteratorutil.inspectstyleguideidleavanumberfiltercryptrequestfind-upairbnbreact-hook-formtoSortedperformantinvariantstringFunction.prototype.nameart_.extendpromisemodulesdeep-clonewebCSSStyleDeclarationtypesafediffutilityFloat64ArrayfunctionalsymlinkStreamsuninstall@@toStringTagutilsameValueZerocloudsearchfseventsESnexteslint-pluginoptimistinstallerformattingcollection.es6byteLengthstreams2awaitsignalES2017jsdomeveryconfigBigUint64ArraycensorES8StyleSheetinputtypescriptpathmatchesobjectreact-hookstestingparentcomputed-typesfunctionfastcopyvalidpropnegativeES2016JSONparsersetPrototypeOftrimStartscheme-validationtraversereduceansiinterruptsexit-codemiddlewareecmascriptinspectsomeMapArray.prototype.findLastIndexURLSearchParamsimportregular expressionwatchFilewatchduplexrdsoncefast-deep-copysearchbuffers
1.0.0

16 days ago