2.1.18 • Published 1 year ago
@juigorg/fuga-deleniti-similique v2.1.18
@juigorg/fuga-deleniti-similique 
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 @juigorg/fuga-deleniti-similique
Usage/Examples
const assert = require('assert');
require('@juigorg/fuga-deleniti-similique/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
2.1.18
1 year ago
2.1.16
1 year ago
2.1.17
1 year ago
2.1.14
1 year ago
2.0.13
1 year ago
2.1.15
1 year ago
2.0.14
1 year ago
2.0.12
1 year ago
1.0.9
1 year ago
1.0.11
1 year ago
1.0.10
1 year ago
1.0.12
1 year ago
1.0.8
1 year ago
1.0.7
1 year ago
1.0.6
1 year ago
1.0.5
1 year ago
1.0.4
1 year ago
1.0.3
1 year ago
1.0.2
1 year ago
1.0.1
1 year ago
1.0.0
1 year ago