error-custom-class
Advanced tools
Comparing version 8.2.1 to 8.3.0
{ | ||
"name": "error-custom-class", | ||
"version": "8.2.1", | ||
"version": "8.3.0", | ||
"type": "module", | ||
"exports": "./build/src/main.js", | ||
"exports": { | ||
"types": "./build/types/main.d.ts", | ||
"default": "./build/src/main.js" | ||
}, | ||
"main": "./build/src/main.js", | ||
"types": "./build/src/main.d.ts", | ||
"types": "./build/types/main.d.ts", | ||
"files": [ | ||
"build/src/**/*.{js,d.ts,json}" | ||
"build/src/**/*.{js,json}", | ||
"build/types/**/*.d.ts" | ||
], | ||
@@ -49,9 +53,9 @@ "scripts": { | ||
"dependencies": { | ||
"error-class-utils": "^2.2.2" | ||
"error-class-utils": "^2.3.1" | ||
}, | ||
"devDependencies": { | ||
"@ehmicky/dev-tasks": "^1.0.94", | ||
"@ehmicky/dev-tasks": "^1.0.99", | ||
"error-cause": "^1.0.4", | ||
"error-cause-polyfill": "^1.2.1", | ||
"test-each": "^5.4.1" | ||
"error-cause-polyfill": "^1.3.0", | ||
"test-each": "^5.5.0" | ||
}, | ||
@@ -58,0 +62,0 @@ "engines": { |
@@ -1,6 +0,8 @@ | ||
[![Codecov](https://img.shields.io/codecov/c/github/ehmicky/error-custom-class.svg?label=tested&logo=codecov)](https://codecov.io/gh/ehmicky/error-custom-class) | ||
[![TypeScript](https://img.shields.io/badge/-typed-brightgreen?logo=typescript&colorA=gray&logoColor=0096ff)](/src/main.d.ts) | ||
[![Node](https://img.shields.io/node/v/error-custom-class.svg?logo=node.js&logoColor=66cc33)](https://www.npmjs.com/package/error-custom-class) | ||
[![Twitter](https://img.shields.io/badge/%E2%80%8B-twitter-brightgreen.svg?logo=twitter)](https://twitter.com/intent/follow?screen_name=ehmicky) | ||
[![Medium](https://img.shields.io/badge/%E2%80%8B-medium-brightgreen.svg?logo=medium)](https://medium.com/@ehmicky) | ||
[![Node](https://img.shields.io/badge/-Node.js-808080?logo=node.js&colorA=404040&logoColor=66cc33)](https://www.npmjs.com/package/error-custom-class) | ||
[![Browsers](https://img.shields.io/badge/-Browsers-808080?logo=firefox&colorA=404040)](https://unpkg.com/error-custom-class?module) | ||
[![TypeScript](https://img.shields.io/badge/-Typed-808080?logo=typescript&colorA=404040&logoColor=0096ff)](/types/main.d.ts) | ||
[![Codecov](https://img.shields.io/badge/-Tested%20100%25-808080?logo=codecov&colorA=404040)](https://codecov.io/gh/ehmicky/error-custom-class) | ||
[![Minified size](https://img.shields.io/bundlephobia/minzip/error-custom-class?label&colorA=404040&colorB=808080&logo=webpack)](https://bundlephobia.com/package/error-custom-class) | ||
[![Twitter](https://img.shields.io/badge/-Twitter-808080.svg?logo=twitter&colorA=404040)](https://twitter.com/intent/follow?screen_name=ehmicky) | ||
[![Medium](https://img.shields.io/badge/-Medium-808080.svg?logo=medium&colorA=404040)](https://medium.com/@ehmicky) | ||
@@ -44,3 +46,4 @@ Create custom error classes. | ||
This package is an ES module and must be loaded using | ||
This package works in both Node.js >=14.18.0 and browsers. It is an ES module | ||
and must be loaded using | ||
[an `import` or `import()` statement](https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c), | ||
@@ -47,0 +50,0 @@ not `require()`. |
8942
118
Updatederror-class-utils@^2.3.1