1.0.0 • Published 1 year ago

@rabiepenpm/cum-sunt-dolorem v1.0.0

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

@rabiepenpm/cum-sunt-dolorem Version Badge

github actions coverage License Downloads

npm badge

A simple cache for a few of the JS Error constructors.

Example

const assert = require('assert');

const Base = require('@rabiepenpm/cum-sunt-dolorem');
const Eval = require('@rabiepenpm/cum-sunt-dolorem/eval');
const Range = require('@rabiepenpm/cum-sunt-dolorem/range');
const Ref = require('@rabiepenpm/cum-sunt-dolorem/ref');
const Syntax = require('@rabiepenpm/cum-sunt-dolorem/syntax');
const Type = require('@rabiepenpm/cum-sunt-dolorem/type');
const URI = require('@rabiepenpm/cum-sunt-dolorem/uri');

assert.equal(Base, Error);
assert.equal(Eval, EvalError);
assert.equal(Range, RangeError);
assert.equal(Ref, ReferenceError);
assert.equal(Syntax, SyntaxError);
assert.equal(Type, TypeError);
assert.equal(URI, URIError);

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.

autoscalingtexttslibguidviewbufferimmutableES2023ArrayBuffer.prototype.slicesideduplextestweakmapbusystreamfpsfoldersafediffkeysschemasqsserializer.envcolumnsbcryptobjconcatMapparentprivateieinternal slotvalidationoptimizerjsdomfast-deep-cloneidentifierspackage.jsonimportexportassertioninterruptsexit-codeObservablesjapaneseeslintpluginargumentArray.prototype.includescomputed-types0bundlerMaplockfiletrimRightsetauthforEachreactes-abstractcliESnextInt16ArrayqueueMicrotaskconsoleInt8ArraypostcssAsyncIteratorebscorsprefixes5joisignalprotocol-buffersfast-clonematchAllcharactercloudfrontelectronsameValueZerocommandpushio-tswarninggenericsimmernodelessasciitimeES2019mochaaccessorrouterstructuredCloneframeworkfunctionsfilteres6cloudsearchgroupBybyteregular expressiontraversegradients css3yupArray.prototype.flatMapincludeskeytoobjectfunctionalECMAScript 2017helpersnativestatelessxtermthroatjshintlook-updataviewwatchinglazyclientchannelglobfastcopypredictablecode pointsRxJSoutputrequestfulldeepmkdirpWebSocketregexpArrayBufferreduceJSON-SchemagetquerythrottlebrowserlistratelimitbyteOffsethigher-ordergetintrinsicECMAScript 3installerequalityserialize[[Prototype]]JSONObject.definePropertycollection.es6karmaeventEmitterECMAScript 2023WeakMaptoSortedarraybufferformshaslinklooktoArrayelbshebanginputpackage manageroptimistweb@@toStringTagminimalcolumnfile systemformreact-hook-formrangeerrorjasmineextraspinnersnopetypeautoprefixerdescriptorpolyfillcolorsarrayssyntaxwhatwgtrimLefttsemitbrowsercryptodeepclonesequencenameStyleSheetObject.keyspreserve-symlinksformattingreadflatproxyclassestypedarraysparserpnpm9ES6deep-copyWebSocketsowntoolkitdropvariables in csseslintsetPrototypeOfmetadatajsonpathtypesafebyteLengthjsonfast-deep-copypromisecss nestingequalphoneelmshimarrayeslintconfigCSSStyleDeclarationfunctionyamlwordbreakestreefixed-widthdatafullwidthsymlinkawslruswftoStringTag__proto__clonedirvalidtyped arrayruntimeansipipeCSStesterjsES3intrinsicmaptypeofTypeScriptstdlibutilitysuperstructdeleteglobalskoreanbatchcsserror-handlingdeepcopybindgraphql-0Rxendpointpreprocessoreslint-pluginregexstablehardlinksfinduprmnumberinternaleverysearchfromtostringtagjsdiffbuffersec2dom-testing-librarypostcss-pluginxhrPushtypedcharactersnpmrateurlcss lessboundECMAScript 2021MicrosoftwatcherclassnameseventDispatchermomentstreamsmoveglacierartassertsArraypasswordgettermake dirvariablesgetoptcjkiterationes2018flatMaprequiredebuggerperformances3prunesymlinksexpressSymbol.toStringTaginstallECMAScript 2018typesUint8ClampedArrayirqastbeanstalkrandoml10nisreplaysetImmediateString.prototype.trimmobilemimetypessnspyyamlpackagehttpecmascriptbootstrap lessECMAScript 7Array.prototype.flattenvarsentriesjsxslotcloudwatchloggeriddataViewdefinePropertyPromisehttpsamazonless csstrimStartsigterm256WeakSetfetchrestwalkingUnderscoreaccessibilityidlewrapECMAScript 2016parsemkdirsworkerqueueIteratoragentapiterminalES2015hasOwnvaluescheckshellfastifyavastatusES2017iteratereal-timeECMAScript 2019collectionRFC-6455whichvisualObject.valuestapeObservableBigUint64ArrayprogresstakesyntaxerrorregularArray.prototype.findLastcallpropertyassigncircularfindLastIndexsigintinferencedomgloballogsignalstestingimportdotenvcoerciblewatchrfc4122consumepropstylingsimpledbsomemime-dbstylesbrowserslisthookscompilerencryptionzodObjectoncespinnernegativedescriptionhasOwnPropertyString.prototype.matchAlles2016cachepersistentprototyperemovetddcurlstreams2findreact-hooksinspectenderprotobufargsArray.prototype.containsutil.inspectajaxmonorepotrimEndregular expressionsdependenciesindefinepatchexitoffset
1.0.0

1 year ago