handle-cli-error
Advanced tools
Comparing version 3.0.1 to 3.1.0
@@ -1,2 +0,2 @@ | ||
import process from"process"; | ||
import process from"node:process"; | ||
@@ -3,0 +3,0 @@ import{handleInvalidOpts}from"./options/invalid.js"; |
@@ -1,2 +0,2 @@ | ||
import{stderr}from"process"; | ||
import{stderr}from"node:process"; | ||
@@ -3,0 +3,0 @@ import chalkString from"chalk-string"; |
@@ -1,2 +0,2 @@ | ||
import{inspect}from"util"; | ||
import{inspect}from"node:util"; | ||
@@ -3,0 +3,0 @@ import{getColors}from"./colors.js"; |
{ | ||
"name": "handle-cli-error", | ||
"version": "3.0.1", | ||
"version": "3.1.0", | ||
"type": "module", | ||
@@ -15,2 +15,3 @@ "exports": { | ||
], | ||
"sideEffects": false, | ||
"scripts": { | ||
@@ -54,9 +55,9 @@ "test": "gulp test" | ||
"devDependencies": { | ||
"@ehmicky/dev-tasks": "^1.0.98", | ||
"@ehmicky/dev-tasks": "^1.0.102", | ||
"@sinonjs/fake-timers": "^9.1.2", | ||
"error-serializer": "^3.5.1", | ||
"error-serializer": "^3.7.0", | ||
"execa": "^6.1.0", | ||
"has-ansi": "^5.0.1", | ||
"sinon": "^14.0.1", | ||
"test-each": "^5.4.1" | ||
"test-each": "^5.5.0" | ||
}, | ||
@@ -67,10 +68,10 @@ "engines": { | ||
"dependencies": { | ||
"chalk-string": "^1.1.0", | ||
"chalk-string": "^1.2.0", | ||
"figures": "^5.0.0", | ||
"filter-obj": "^5.1.0", | ||
"is-error-instance": "^1.1.0", | ||
"is-error-instance": "^1.3.0", | ||
"is-plain-obj": "^4.1.0", | ||
"normalize-exception": "^2.9.0", | ||
"normalize-exception": "^2.11.0", | ||
"strip-ansi": "^7.0.1" | ||
} | ||
} |
@@ -6,7 +6,7 @@ <picture> | ||
[![Codecov](https://img.shields.io/codecov/c/github/ehmicky/handle-cli-error.svg?label=tested&logo=codecov)](https://codecov.io/gh/ehmicky/handle-cli-error) | ||
[![TypeScript](https://img.shields.io/badge/-typed-brightgreen?logo=typescript&colorA=gray&logoColor=0096ff)](/types/main.d.ts) | ||
[![Node](https://img.shields.io/node/v/handle-cli-error.svg?logo=node.js&logoColor=66cc33)](https://www.npmjs.com/package/handle-cli-error) | ||
[![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/handle-cli-error) | ||
[![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/handle-cli-error) | ||
[![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) | ||
@@ -66,3 +66,4 @@ Error handler for CLI applications. | ||
This package is an ES module and must be loaded using | ||
This package works in Node.js >=14.18.0. It is an ES module and must be loaded | ||
using | ||
[an `import` or `import()` statement](https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c), | ||
@@ -69,0 +70,0 @@ not `require()`. |
26670
231
Updatedchalk-string@^1.2.0
Updatedis-error-instance@^1.3.0
Updatednormalize-exception@^2.11.0