From 93ad4e198dd8d13c083a4d8438079ff49e9433dd Mon Sep 17 00:00:00 2001 From: Ulad Kasach Date: Thu, 26 Dec 2024 00:26:55 -0800 Subject: [PATCH] fix(deps): bump from error-fns to helpful-errors --- package-lock.json | 105 +++++++++++++++++- package.json | 3 +- .../src/utils/config/Config.ts.declapract.ts | 2 +- .../errors/best-practice/package.json | 2 +- .../lint/best-practice/.depcheckrc.yml | 2 +- 5 files changed, 109 insertions(+), 5 deletions(-) diff --git a/package-lock.json b/package-lock.json index 319976b..15d7e4e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -12,7 +12,8 @@ "dependencies": { "domain-objects": "0.22.1", "expect": "29.4.2", - "flat": "5.0.2" + "flat": "5.0.2", + "helpful-errors": "1.3.8" }, "devDependencies": { "@commitlint/cli": "19.3.0", @@ -7797,6 +7798,63 @@ "tslib": "^2.0.3" } }, + "node_modules/helpful-errors": { + "version": "1.3.8", + "resolved": "https://registry.npmjs.org/helpful-errors/-/helpful-errors-1.3.8.tgz", + "integrity": "sha512-iGdxmyiOcGPWmAPZf6bNmHLlh2eNOoTTNO90SbUfh0Kz80/AO3JugQxMI9PZwLCYlF5ivS6SS/5pxm8p3xZnqQ==", + "hasInstallScript": true, + "dependencies": { + "type-fns": "1.17.0" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "node_modules/helpful-errors/node_modules/@ehmpathy/error-fns": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/@ehmpathy/error-fns/-/error-fns-1.0.2.tgz", + "integrity": "sha512-v3aJIqUvD9a3drx1pyS8La+9u9WTTvNE35NksiD4Oo3VanNe8Rmue/atRHPg4nNYQ/xPv4+RoqC+OBj6cAY8VA==", + "hasInstallScript": true, + "dependencies": { + "type-fns": "0.9.0" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "node_modules/helpful-errors/node_modules/@ehmpathy/error-fns/node_modules/type-fns": { + "version": "0.9.0", + "resolved": "https://registry.npmjs.org/type-fns/-/type-fns-0.9.0.tgz", + "integrity": "sha512-ndhY4JBIbKix0LuGA5smh/XhFFnbeudnih++WxVoGTfdrITsZe/s3qje9GZNdWwsO+YWGyQkNXwAjnWyM/dipw==", + "engines": { + "node": ">=8.0.0" + } + }, + "node_modules/helpful-errors/node_modules/type-fns": { + "version": "1.17.0", + "resolved": "https://registry.npmjs.org/type-fns/-/type-fns-1.17.0.tgz", + "integrity": "sha512-zscRD2lGbnD2Ktyvb79cZ7R1kGm0OBnfisG3g3LdFS9C9pR8YKdXtUojDStvgQtaqyb/a77E5gYTsBY3jrZMsA==", + "hasInstallScript": true, + "dependencies": { + "@ehmpathy/error-fns": "1.0.2", + "type-fns": "1.16.0", + "uuid": "9.0.0" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "node_modules/helpful-errors/node_modules/type-fns/node_modules/type-fns": { + "version": "1.16.0", + "resolved": "https://registry.npmjs.org/type-fns/-/type-fns-1.16.0.tgz", + "integrity": "sha512-4erPa91wW979ZHH/zVI340b3s4HQGFYUMH5rBUUP0tyqPGzpZJddUpZXBliu8KF/oXEMOq3Elydb7OgdgKpung==", + "dependencies": { + "@ehmpathy/error-fns": "1.0.2" + }, + "engines": { + "node": ">=8.0.0" + } + }, "node_modules/homedir-polyfill": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/homedir-polyfill/-/homedir-polyfill-1.0.3.tgz", @@ -20376,6 +20434,51 @@ "tslib": "^2.0.3" } }, + "helpful-errors": { + "version": "1.3.8", + "resolved": "https://registry.npmjs.org/helpful-errors/-/helpful-errors-1.3.8.tgz", + "integrity": "sha512-iGdxmyiOcGPWmAPZf6bNmHLlh2eNOoTTNO90SbUfh0Kz80/AO3JugQxMI9PZwLCYlF5ivS6SS/5pxm8p3xZnqQ==", + "requires": { + "type-fns": "1.17.0" + }, + "dependencies": { + "@ehmpathy/error-fns": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/@ehmpathy/error-fns/-/error-fns-1.0.2.tgz", + "integrity": "sha512-v3aJIqUvD9a3drx1pyS8La+9u9WTTvNE35NksiD4Oo3VanNe8Rmue/atRHPg4nNYQ/xPv4+RoqC+OBj6cAY8VA==", + "requires": { + "type-fns": "0.9.0" + }, + "dependencies": { + "type-fns": { + "version": "0.9.0", + "resolved": "https://registry.npmjs.org/type-fns/-/type-fns-0.9.0.tgz", + "integrity": "sha512-ndhY4JBIbKix0LuGA5smh/XhFFnbeudnih++WxVoGTfdrITsZe/s3qje9GZNdWwsO+YWGyQkNXwAjnWyM/dipw==" + } + } + }, + "type-fns": { + "version": "1.17.0", + "resolved": "https://registry.npmjs.org/type-fns/-/type-fns-1.17.0.tgz", + "integrity": "sha512-zscRD2lGbnD2Ktyvb79cZ7R1kGm0OBnfisG3g3LdFS9C9pR8YKdXtUojDStvgQtaqyb/a77E5gYTsBY3jrZMsA==", + "requires": { + "@ehmpathy/error-fns": "1.0.2", + "type-fns": "1.16.0", + "uuid": "9.0.0" + }, + "dependencies": { + "type-fns": { + "version": "1.16.0", + "resolved": "https://registry.npmjs.org/type-fns/-/type-fns-1.16.0.tgz", + "integrity": "sha512-4erPa91wW979ZHH/zVI340b3s4HQGFYUMH5rBUUP0tyqPGzpZJddUpZXBliu8KF/oXEMOq3Elydb7OgdgKpung==", + "requires": { + "@ehmpathy/error-fns": "1.0.2" + } + } + } + } + } + }, "homedir-polyfill": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/homedir-polyfill/-/homedir-polyfill-1.0.3.tgz", diff --git a/package.json b/package.json index 250ea8a..6dccea4 100644 --- a/package.json +++ b/package.json @@ -43,7 +43,8 @@ "dependencies": { "domain-objects": "0.22.1", "expect": "29.4.2", - "flat": "5.0.2" + "flat": "5.0.2", + "helpful-errors": "1.3.8" }, "peerDependencies": { "declapract": ">=0.11.5" diff --git a/src/practices/config/best-practice/src/utils/config/Config.ts.declapract.ts b/src/practices/config/best-practice/src/utils/config/Config.ts.declapract.ts index 2aca570..bce189d 100644 --- a/src/practices/config/best-practice/src/utils/config/Config.ts.declapract.ts +++ b/src/practices/config/best-practice/src/utils/config/Config.ts.declapract.ts @@ -1,5 +1,5 @@ -import { UnexpectedCodePathError } from '@ehmpathy/error-fns'; import { FileCheckType, FileFixFunction } from 'declapract'; +import { UnexpectedCodePathError } from 'helpful-errors'; export const check = FileCheckType.CONTAINS; diff --git a/src/practices/errors/best-practice/package.json b/src/practices/errors/best-practice/package.json index 8e13a02..1f336b9 100644 --- a/src/practices/errors/best-practice/package.json +++ b/src/practices/errors/best-practice/package.json @@ -1,5 +1,5 @@ { "dependencies": { - "@ehmpathy/error-fns": "@declapract{check.minVersion('1.3.7')}" + "helpful-errors": "@declapract{check.minVersion('1.3.8')}" } } diff --git a/src/practices/lint/best-practice/.depcheckrc.yml b/src/practices/lint/best-practice/.depcheckrc.yml index df215f7..2fa250f 100644 --- a/src/practices/lint/best-practice/.depcheckrc.yml +++ b/src/practices/lint/best-practice/.depcheckrc.yml @@ -9,6 +9,6 @@ ignores: - ts-jest - ts-node - test-fns - - '@ehmpathy/error-fns' + - helpful-errors - husky - if-env