From c1f1afabfbac9130f6d30db6f0ade90aafc30fb3 Mon Sep 17 00:00:00 2001 From: ruby Date: Wed, 29 Jan 2025 17:27:50 +0100 Subject: [PATCH 1/3] =?UTF-8?q?build(=F0=9F=93=A6):=20add=20tsconfig.dts.j?= =?UTF-8?q?son=20to=20.npmignore?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .npmignore | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.npmignore b/.npmignore index 52a9fc3..b4690b3 100644 --- a/.npmignore +++ b/.npmignore @@ -7,7 +7,6 @@ # === Archives and build-related files === *.tgz - # === Bundler configuration files === bundler.ts CHANGELOG.md @@ -34,4 +33,5 @@ test/ # === Core project files === README.md tsconfig.json +tsconfig.dts.json translate.json From d476b621f3df42341518f7ca257249a63787cbbb Mon Sep 17 00:00:00 2001 From: ruby Date: Wed, 29 Jan 2025 17:31:13 +0100 Subject: [PATCH 2/3] =?UTF-8?q?refactor(=F0=9F=A7=B9):=20update=20error=20?= =?UTF-8?q?message=20keys=20for=20basalt-helper=20localization?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- source/error/key/coreDataKeyError.ts | 4 ++-- source/error/key/coreSecurityKeyError.ts | 6 +++--- source/error/key/coreUtilKeyError.ts | 4 ++-- source/i18n/ar.json | 4 ++-- source/i18n/de.json | 4 ++-- source/i18n/en.json | 4 ++-- source/i18n/es.json | 4 ++-- source/i18n/fr.json | 4 ++-- source/i18n/it.json | 4 ++-- source/i18n/ja.json | 4 ++-- source/i18n/ko.json | 4 ++-- test/core/data/basaltData.spec.ts | 16 ++++++++-------- test/core/util/singletonManager.spec.ts | 6 +++--- translate.json | 4 ++-- 14 files changed, 36 insertions(+), 36 deletions(-) diff --git a/source/error/key/coreDataKeyError.ts b/source/error/key/coreDataKeyError.ts index b016fbb..7dc8c00 100644 --- a/source/error/key/coreDataKeyError.ts +++ b/source/error/key/coreDataKeyError.ts @@ -2,6 +2,6 @@ * Core data key error is a list of errors in the data context. */ export const CORE_DATA_KEY_ERROR = { - DATA_MUST_BE_OBJECT: ['error.basalt-helper.data_must_be_object', 500], - DATA_IS_NULL: ['error.basalt-helper.data_is_null', 500] + DATA_MUST_BE_OBJECT: ['basalt-helper.error.data_must_be_object', 500], + DATA_IS_NULL: ['basalt-helper.error.data_is_null', 500] } as const; \ No newline at end of file diff --git a/source/error/key/coreSecurityKeyError.ts b/source/error/key/coreSecurityKeyError.ts index 4d320b0..38a907b 100644 --- a/source/error/key/coreSecurityKeyError.ts +++ b/source/error/key/coreSecurityKeyError.ts @@ -2,7 +2,7 @@ * Core security key error is a list of errors in the security context. */ export const CORE_SECURITY_KEY_ERROR = { - PASSWORD_EMPTY: ['error.basalt-helper.password_empty', 500], - PASSWORD_HASHING_FAILED: ['error.basalt-helper.password_hashing_failed', 500], - PASSWORD_VERIFICATION_FAILED: ['error.basalt-helper.password_verification_failed', 500] + PASSWORD_EMPTY: ['basalt-helper.error.password_empty', 500], + PASSWORD_HASHING_FAILED: ['basalt-helper.error.password_hashing_failed', 500], + PASSWORD_VERIFICATION_FAILED: ['basalt-helper.error.password_verification_failed', 500] } as const; \ No newline at end of file diff --git a/source/error/key/coreUtilKeyError.ts b/source/error/key/coreUtilKeyError.ts index da18cdb..6fe890e 100644 --- a/source/error/key/coreUtilKeyError.ts +++ b/source/error/key/coreUtilKeyError.ts @@ -6,10 +6,10 @@ export const CORE_UTIL_KEY_ERROR = { * Interpolation : * - name: The name of the class. */ - CLASS_CONSTRUCTOR_ALREADY_REGISTERED: ['error.basalt-helper.class_constructor_already_registered', 500], + CLASS_CONSTRUCTOR_ALREADY_REGISTERED: ['basalt-helper.error.class_constructor_already_registered', 500], /** * Interpolation : * - name: The name of the class. */ - CLASS_CONSTRUCTOR_NOT_REGISTERED: ['error.basalt-helper.class_constructor_not_registered', 500] + CLASS_CONSTRUCTOR_NOT_REGISTERED: ['basalt-helper.error.class_constructor_not_registered', 500] } as const; \ No newline at end of file diff --git a/source/i18n/ar.json b/source/i18n/ar.json index 6bd683a..9faaa97 100644 --- a/source/i18n/ar.json +++ b/source/i18n/ar.json @@ -1,6 +1,6 @@ { - "error": { - "basalt-helper": { + "basalt-helper": { + "error": { "class_constructor_already_registered": "تم تسجيل بناء الفئة بالفعل", "class_constructor_not_registered": "لم يتم تسجيل بناء الفئة", "data_is_null": "البيانات فارغة", diff --git a/source/i18n/de.json b/source/i18n/de.json index 252fdbb..dc71d0e 100644 --- a/source/i18n/de.json +++ b/source/i18n/de.json @@ -1,6 +1,6 @@ { - "error": { - "basalt-helper": { + "basalt-helper": { + "error": { "class_constructor_already_registered": "Klassenkonstruktor bereits registriert", "class_constructor_not_registered": "Klassenkonstruktor nicht registriert", "data_is_null": "Daten sind leer", diff --git a/source/i18n/en.json b/source/i18n/en.json index 9dbf5c9..ec17760 100644 --- a/source/i18n/en.json +++ b/source/i18n/en.json @@ -1,6 +1,6 @@ { - "error": { - "basalt-helper": { + "basalt-helper": { + "error": { "class_constructor_already_registered": "Class constructor already registered", "class_constructor_not_registered": "Class constructor not registered", "data_is_null": "Data is null", diff --git a/source/i18n/es.json b/source/i18n/es.json index 1756724..4832d47 100644 --- a/source/i18n/es.json +++ b/source/i18n/es.json @@ -1,6 +1,6 @@ { - "error": { - "basalt-helper": { + "basalt-helper": { + "error": { "class_constructor_already_registered": "Constructor de clase ya registrado", "class_constructor_not_registered": "Constructor de clase no registrado", "data_is_null": "Los datos son nulos", diff --git a/source/i18n/fr.json b/source/i18n/fr.json index f2922e4..487dae5 100644 --- a/source/i18n/fr.json +++ b/source/i18n/fr.json @@ -1,6 +1,6 @@ { - "error": { - "basalt-helper": { + "basalt-helper": { + "error": { "class_constructor_already_registered": "Constructeur de classe déjà enregistré", "class_constructor_not_registered": "Constructeur de classe non enregistré", "data_is_null": "Les données sont nulles", diff --git a/source/i18n/it.json b/source/i18n/it.json index f7165f0..e8dad41 100644 --- a/source/i18n/it.json +++ b/source/i18n/it.json @@ -1,6 +1,6 @@ { - "error": { - "basalt-helper": { + "basalt-helper": { + "error": { "class_constructor_already_registered": "Costruttore di classe già registrato", "class_constructor_not_registered": "Costruttore di classe non registrato", "data_is_null": "I dati sono nulli", diff --git a/source/i18n/ja.json b/source/i18n/ja.json index 306f0c7..1ea1dea 100644 --- a/source/i18n/ja.json +++ b/source/i18n/ja.json @@ -1,6 +1,6 @@ { - "error": { - "basalt-helper": { + "basalt-helper": { + "error": { "class_constructor_already_registered": "クラスコンストラクタはすでに登録されています", "class_constructor_not_registered": "クラスコンストラクタは登録されていません", "data_is_null": "データはヌルです", diff --git a/source/i18n/ko.json b/source/i18n/ko.json index a7991e0..186e355 100644 --- a/source/i18n/ko.json +++ b/source/i18n/ko.json @@ -1,6 +1,6 @@ { - "error": { - "basalt-helper": { + "basalt-helper": { + "error": { "class_constructor_already_registered": "클래스 생성자가 이미 등록되었습니다", "class_constructor_not_registered": "클래스 생성자가 등록되지 않았습니다", "data_is_null": "데이터가 널입니다", diff --git a/test/core/data/basaltData.spec.ts b/test/core/data/basaltData.spec.ts index 97548ad..f3e21dd 100644 --- a/test/core/data/basaltData.spec.ts +++ b/test/core/data/basaltData.spec.ts @@ -26,12 +26,12 @@ describe('Filter By Key Exclusion', () => { test('should throw an error when data is null', () => { const object = null as unknown as Record; - expect(() => filterByKeyExclusion(object, [])).toThrowError('error.basalt-helper.data_is_null'); + expect(() => filterByKeyExclusion(object, [])).toThrowError('basalt-helper.error.data_is_null'); }); test('should throw an error when data is not a plain object', () => { const object = 2 as unknown as Record; - expect(() => filterByKeyExclusion(object, [])).toThrowError('error.basalt-helper.data_must_be_object'); + expect(() => filterByKeyExclusion(object, [])).toThrowError('basalt-helper.error.data_must_be_object'); }); test('should return original object when keys are empty', () => { @@ -74,12 +74,12 @@ describe('Filter By Key Inclusion', () => { test('should throw an error when data is null', () => { const object = null as unknown as Record; - expect(() => filterByKeyInclusion(object, [])).toThrowError('error.basalt-helper.data_is_null'); + expect(() => filterByKeyInclusion(object, [])).toThrowError('basalt-helper.error.data_is_null'); }); test('should throw an error when data is not a plain object', () => { const object = 2 as unknown as Record; - expect(() => filterByKeyInclusion(object, [])).toThrowError('error.basalt-helper.data_must_be_object'); + expect(() => filterByKeyInclusion(object, [])).toThrowError('basalt-helper.error.data_must_be_object'); }); test('should return empty object when keys are empty', () => { @@ -110,12 +110,12 @@ describe('Filter By Value', () => { test('should throw an error when data is null', () => { const object = null as unknown as Record; - expect(() => filterByValue(object, () => true)).toThrowError('error.basalt-helper.data_is_null'); + expect(() => filterByValue(object, () => true)).toThrowError('basalt-helper.error.data_is_null'); }); test('should throw an error when data is not a plain object', () => { const object = 2 as unknown as Record; - expect(() => filterByValue(object, () => true)).toThrowError('error.basalt-helper.data_must_be_object'); + expect(() => filterByValue(object, () => true)).toThrowError('basalt-helper.error.data_must_be_object'); }); test('should return empty object when predicate does not match', () => { @@ -152,12 +152,12 @@ describe('Transform Keys', () => { test('should throw an error when data is null', () => { const object = null as unknown as Record; - expect(() => transformKeys(object, new BasaltCamelCaseTransformer())).toThrowError('error.basalt-helper.data_is_null'); + expect(() => transformKeys(object, new BasaltCamelCaseTransformer())).toThrowError('basalt-helper.error.data_is_null'); }); test('should throw an error when data is not a plain object', () => { const object = 2 as unknown as Record; - expect(() => transformKeys(object, new BasaltCamelCaseTransformer())).toThrowError('error.basalt-helper.data_must_be_object'); + expect(() => transformKeys(object, new BasaltCamelCaseTransformer())).toThrowError('basalt-helper.error.data_must_be_object'); }); }); diff --git a/test/core/util/singletonManager.spec.ts b/test/core/util/singletonManager.spec.ts index 45e4591..c78297a 100644 --- a/test/core/util/singletonManager.spec.ts +++ b/test/core/util/singletonManager.spec.ts @@ -69,14 +69,14 @@ describe('SingletonManager', () => { }); test('should throw an error when class constructor is not registered', () => { - expect(() => SingletonManager.get('ExampleSingleton4')).toThrow('error.basalt-helper.class_constructor_not_registered'); + expect(() => SingletonManager.get('ExampleSingleton4')).toThrow('basalt-helper.error.class_constructor_not_registered'); }); test('should throw an error when class constructor is already registered', () => { SingletonManager.register('ExampleSingleton', ExampleSingleton); expect( () => SingletonManager.register('ExampleSingleton', ExampleSingleton) - ).toThrow('error.basalt-helper.class_constructor_already_registered'); + ).toThrow('basalt-helper.error.class_constructor_already_registered'); }); }); @@ -90,7 +90,7 @@ describe('SingletonManager', () => { test('should throw an error when class constructor is not registered', () => { expect(() => { SingletonManager.unregister('ExampleSingleton'); - }).toThrow('error.basalt-helper.class_constructor_not_registered'); + }).toThrow('basalt-helper.error.class_constructor_not_registered'); }); }); diff --git a/translate.json b/translate.json index 996d31c..813c0b1 100644 --- a/translate.json +++ b/translate.json @@ -9,8 +9,8 @@ "ja", "ko" ], - "error": { - "basalt-helper": { + "basalt-helper": { + "error": { "class_constructor_already_registered": { "lang:ar": "تم تسجيل بناء الفئة بالفعل", "lang:de": "Klassenkonstruktor bereits registriert", From eacabde77e826e74eba140cd934e8452039b7117 Mon Sep 17 00:00:00 2001 From: ruby Date: Wed, 29 Jan 2025 17:35:08 +0100 Subject: [PATCH 3/3] =?UTF-8?q?build(=F0=9F=93=A6):=20update=20dependencie?= =?UTF-8?q?s?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bun.lock | 72 ++++------------------------------------------------ package.json | 2 +- 2 files changed, 6 insertions(+), 68 deletions(-) diff --git a/bun.lock b/bun.lock index cc291b4..dbdaba0 100644 --- a/bun.lock +++ b/bun.lock @@ -62,7 +62,7 @@ "@shikijs/vscode-textmate": ["@shikijs/vscode-textmate@10.0.1", "", {}, "sha512-fTIQwLF+Qhuws31iw7Ncl1R3HUDtGwIipiJ9iU+UsDUwMhegFcQKQHd51nZjb7CArq0MvON8rbgCGQYWHUKAdg=="], - "@stylistic/eslint-plugin": ["@stylistic/eslint-plugin@3.0.0", "", { "dependencies": { "@typescript-eslint/utils": "8.13.0", "eslint-visitor-keys": "^4.2.0", "espree": "^10.3.0", "estraverse": "^5.3.0", "picomatch": "^4.0.2" }, "peerDependencies": { "eslint": ">=8.40.0" } }, "sha512-9GJI6iBtGjOqSsyCKUvE6Vn7qDT52hbQaoq/SwxH6A1bciymZfvBfHIIrD3E7Koi2sjzOa/MNQ2XOguHtVJOyw=="], + "@stylistic/eslint-plugin": ["@stylistic/eslint-plugin@3.0.1", "", { "dependencies": { "@typescript-eslint/utils": "^8.13.0", "eslint-visitor-keys": "^4.2.0", "espree": "^10.3.0", "estraverse": "^5.3.0", "picomatch": "^4.0.2" }, "peerDependencies": { "eslint": ">=8.40.0" } }, "sha512-rQ3tcT5N2cynofJfbjUsnL4seoewTaOVBLyUEwtNldo7iNMPo3h/GUQk+Cl3iHEWwRxjq2wuH6q0FufQrbVL1A=="], "@types/bun": ["@types/bun@1.2.1", "", { "dependencies": { "bun-types": "1.2.1" } }, "sha512-iiCeMAKMkft8EPQJxSbpVRD0DKqrh91w40zunNajce3nMNNFd/LnAquVisSZC+UpTMjDwtcdyzbWct08IvEqRA=="], @@ -82,15 +82,15 @@ "@typescript-eslint/parser": ["@typescript-eslint/parser@8.22.0", "", { "dependencies": { "@typescript-eslint/scope-manager": "8.22.0", "@typescript-eslint/types": "8.22.0", "@typescript-eslint/typescript-estree": "8.22.0", "@typescript-eslint/visitor-keys": "8.22.0", "debug": "^4.3.4" }, "peerDependencies": { "eslint": "^8.57.0 || ^9.0.0", "typescript": ">=4.8.4 <5.8.0" } }, "sha512-MqtmbdNEdoNxTPzpWiWnqNac54h8JDAmkWtJExBVVnSrSmi9z+sZUt0LfKqk9rjqmKOIeRhO4fHHJ1nQIjduIQ=="], - "@typescript-eslint/scope-manager": ["@typescript-eslint/scope-manager@8.13.0", "", { "dependencies": { "@typescript-eslint/types": "8.13.0", "@typescript-eslint/visitor-keys": "8.13.0" } }, "sha512-XsGWww0odcUT0gJoBZ1DeulY1+jkaHUciUq4jKNv4cpInbvvrtDoyBH9rE/n2V29wQJPk8iCH1wipra9BhmiMA=="], + "@typescript-eslint/scope-manager": ["@typescript-eslint/scope-manager@8.22.0", "", { "dependencies": { "@typescript-eslint/types": "8.22.0", "@typescript-eslint/visitor-keys": "8.22.0" } }, "sha512-/lwVV0UYgkj7wPSw0o8URy6YI64QmcOdwHuGuxWIYznO6d45ER0wXUbksr9pYdViAofpUCNJx/tAzNukgvaaiQ=="], "@typescript-eslint/type-utils": ["@typescript-eslint/type-utils@8.22.0", "", { "dependencies": { "@typescript-eslint/typescript-estree": "8.22.0", "@typescript-eslint/utils": "8.22.0", "debug": "^4.3.4", "ts-api-utils": "^2.0.0" }, "peerDependencies": { "eslint": "^8.57.0 || ^9.0.0", "typescript": ">=4.8.4 <5.8.0" } }, "sha512-NzE3aB62fDEaGjaAYZE4LH7I1MUwHooQ98Byq0G0y3kkibPJQIXVUspzlFOmOfHhiDLwKzMlWxaNv+/qcZurJA=="], - "@typescript-eslint/types": ["@typescript-eslint/types@8.13.0", "", {}, "sha512-4cyFErJetFLckcThRUFdReWJjVsPCqyBlJTi6IDEpc1GWCIIZRFxVppjWLIMcQhNGhdWJJRYFHpHoDWvMlDzng=="], + "@typescript-eslint/types": ["@typescript-eslint/types@8.22.0", "", {}, "sha512-0S4M4baNzp612zwpD4YOieP3VowOARgK2EkN/GBn95hpyF8E2fbMT55sRHWBq+Huaqk3b3XK+rxxlM8sPgGM6A=="], - "@typescript-eslint/typescript-estree": ["@typescript-eslint/typescript-estree@8.13.0", "", { "dependencies": { "@typescript-eslint/types": "8.13.0", "@typescript-eslint/visitor-keys": "8.13.0", "debug": "^4.3.4", "fast-glob": "^3.3.2", "is-glob": "^4.0.3", "minimatch": "^9.0.4", "semver": "^7.6.0", "ts-api-utils": "^1.3.0" } }, "sha512-v7SCIGmVsRK2Cy/LTLGN22uea6SaUIlpBcO/gnMGT/7zPtxp90bphcGf4fyrCQl3ZtiBKqVTG32hb668oIYy1g=="], + "@typescript-eslint/typescript-estree": ["@typescript-eslint/typescript-estree@8.22.0", "", { "dependencies": { "@typescript-eslint/types": "8.22.0", "@typescript-eslint/visitor-keys": "8.22.0", "debug": "^4.3.4", "fast-glob": "^3.3.2", "is-glob": "^4.0.3", "minimatch": "^9.0.4", "semver": "^7.6.0", "ts-api-utils": "^2.0.0" }, "peerDependencies": { "typescript": ">=4.8.4 <5.8.0" } }, "sha512-SJX99NAS2ugGOzpyhMza/tX+zDwjvwAtQFLsBo3GQxiGcvaKlqGBkmZ+Y1IdiSi9h4Q0Lr5ey+Cp9CGWNY/F/w=="], - "@typescript-eslint/utils": ["@typescript-eslint/utils@8.13.0", "", { "dependencies": { "@eslint-community/eslint-utils": "^4.4.0", "@typescript-eslint/scope-manager": "8.13.0", "@typescript-eslint/types": "8.13.0", "@typescript-eslint/typescript-estree": "8.13.0" }, "peerDependencies": { "eslint": "^8.57.0 || ^9.0.0" } }, "sha512-A1EeYOND6Uv250nybnLZapeXpYMl8tkzYUxqmoKAWnI4sei3ihf2XdZVd+vVOmHGcp3t+P7yRrNsyyiXTvShFQ=="], + "@typescript-eslint/utils": ["@typescript-eslint/utils@8.22.0", "", { "dependencies": { "@eslint-community/eslint-utils": "^4.4.0", "@typescript-eslint/scope-manager": "8.22.0", "@typescript-eslint/types": "8.22.0", "@typescript-eslint/typescript-estree": "8.22.0" }, "peerDependencies": { "eslint": "^8.57.0 || ^9.0.0", "typescript": ">=4.8.4 <5.8.0" } }, "sha512-T8oc1MbF8L+Bk2msAvCUzjxVB2Z2f+vXYfcucE2wOmYs7ZUwco5Ep0fYZw8quNwOiw9K8GYVL+Kgc2pETNTLOg=="], "@typescript-eslint/visitor-keys": ["@typescript-eslint/visitor-keys@8.22.0", "", { "dependencies": { "@typescript-eslint/types": "8.22.0", "eslint-visitor-keys": "^4.2.0" } }, "sha512-AWpYAXnUgvLNabGTy3uBylkgZoosva/miNd1I8Bz3SjotmQPbVqhO4Cczo8AsZ44XVErEBPr/CRSgaj8sG7g0w=="], @@ -348,30 +348,8 @@ "@microsoft/tsdoc-config/ajv": ["ajv@8.12.0", "", { "dependencies": { "fast-deep-equal": "^3.1.1", "json-schema-traverse": "^1.0.0", "require-from-string": "^2.0.2", "uri-js": "^4.2.2" } }, "sha512-sRu1kpcO9yLtYxBKvqfTeh9KzZEwO3STyX1HT+4CaDzC6HpTGYhIhPIzj9XuKU7KYDwnaeh5hcOwjy1QuJzBPA=="], - "@typescript-eslint/eslint-plugin/@typescript-eslint/scope-manager": ["@typescript-eslint/scope-manager@8.22.0", "", { "dependencies": { "@typescript-eslint/types": "8.22.0", "@typescript-eslint/visitor-keys": "8.22.0" } }, "sha512-/lwVV0UYgkj7wPSw0o8URy6YI64QmcOdwHuGuxWIYznO6d45ER0wXUbksr9pYdViAofpUCNJx/tAzNukgvaaiQ=="], - - "@typescript-eslint/eslint-plugin/@typescript-eslint/utils": ["@typescript-eslint/utils@8.22.0", "", { "dependencies": { "@eslint-community/eslint-utils": "^4.4.0", "@typescript-eslint/scope-manager": "8.22.0", "@typescript-eslint/types": "8.22.0", "@typescript-eslint/typescript-estree": "8.22.0" }, "peerDependencies": { "eslint": "^8.57.0 || ^9.0.0", "typescript": ">=4.8.4 <5.8.0" } }, "sha512-T8oc1MbF8L+Bk2msAvCUzjxVB2Z2f+vXYfcucE2wOmYs7ZUwco5Ep0fYZw8quNwOiw9K8GYVL+Kgc2pETNTLOg=="], - - "@typescript-eslint/parser/@typescript-eslint/scope-manager": ["@typescript-eslint/scope-manager@8.22.0", "", { "dependencies": { "@typescript-eslint/types": "8.22.0", "@typescript-eslint/visitor-keys": "8.22.0" } }, "sha512-/lwVV0UYgkj7wPSw0o8URy6YI64QmcOdwHuGuxWIYznO6d45ER0wXUbksr9pYdViAofpUCNJx/tAzNukgvaaiQ=="], - - "@typescript-eslint/parser/@typescript-eslint/types": ["@typescript-eslint/types@8.22.0", "", {}, "sha512-0S4M4baNzp612zwpD4YOieP3VowOARgK2EkN/GBn95hpyF8E2fbMT55sRHWBq+Huaqk3b3XK+rxxlM8sPgGM6A=="], - - "@typescript-eslint/parser/@typescript-eslint/typescript-estree": ["@typescript-eslint/typescript-estree@8.22.0", "", { "dependencies": { "@typescript-eslint/types": "8.22.0", "@typescript-eslint/visitor-keys": "8.22.0", "debug": "^4.3.4", "fast-glob": "^3.3.2", "is-glob": "^4.0.3", "minimatch": "^9.0.4", "semver": "^7.6.0", "ts-api-utils": "^2.0.0" }, "peerDependencies": { "typescript": ">=4.8.4 <5.8.0" } }, "sha512-SJX99NAS2ugGOzpyhMza/tX+zDwjvwAtQFLsBo3GQxiGcvaKlqGBkmZ+Y1IdiSi9h4Q0Lr5ey+Cp9CGWNY/F/w=="], - - "@typescript-eslint/scope-manager/@typescript-eslint/visitor-keys": ["@typescript-eslint/visitor-keys@8.13.0", "", { "dependencies": { "@typescript-eslint/types": "8.13.0", "eslint-visitor-keys": "^3.4.3" } }, "sha512-7N/+lztJqH4Mrf0lb10R/CbI1EaAMMGyF5y0oJvFoAhafwgiRA7TXyd8TFn8FC8k5y2dTsYogg238qavRGNnlw=="], - - "@typescript-eslint/type-utils/@typescript-eslint/typescript-estree": ["@typescript-eslint/typescript-estree@8.22.0", "", { "dependencies": { "@typescript-eslint/types": "8.22.0", "@typescript-eslint/visitor-keys": "8.22.0", "debug": "^4.3.4", "fast-glob": "^3.3.2", "is-glob": "^4.0.3", "minimatch": "^9.0.4", "semver": "^7.6.0", "ts-api-utils": "^2.0.0" }, "peerDependencies": { "typescript": ">=4.8.4 <5.8.0" } }, "sha512-SJX99NAS2ugGOzpyhMza/tX+zDwjvwAtQFLsBo3GQxiGcvaKlqGBkmZ+Y1IdiSi9h4Q0Lr5ey+Cp9CGWNY/F/w=="], - - "@typescript-eslint/type-utils/@typescript-eslint/utils": ["@typescript-eslint/utils@8.22.0", "", { "dependencies": { "@eslint-community/eslint-utils": "^4.4.0", "@typescript-eslint/scope-manager": "8.22.0", "@typescript-eslint/types": "8.22.0", "@typescript-eslint/typescript-estree": "8.22.0" }, "peerDependencies": { "eslint": "^8.57.0 || ^9.0.0", "typescript": ">=4.8.4 <5.8.0" } }, "sha512-T8oc1MbF8L+Bk2msAvCUzjxVB2Z2f+vXYfcucE2wOmYs7ZUwco5Ep0fYZw8quNwOiw9K8GYVL+Kgc2pETNTLOg=="], - - "@typescript-eslint/typescript-estree/@typescript-eslint/visitor-keys": ["@typescript-eslint/visitor-keys@8.13.0", "", { "dependencies": { "@typescript-eslint/types": "8.13.0", "eslint-visitor-keys": "^3.4.3" } }, "sha512-7N/+lztJqH4Mrf0lb10R/CbI1EaAMMGyF5y0oJvFoAhafwgiRA7TXyd8TFn8FC8k5y2dTsYogg238qavRGNnlw=="], - "@typescript-eslint/typescript-estree/minimatch": ["minimatch@9.0.5", "", { "dependencies": { "brace-expansion": "^2.0.1" } }, "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow=="], - "@typescript-eslint/typescript-estree/ts-api-utils": ["ts-api-utils@1.4.3", "", { "peerDependencies": { "typescript": ">=4.2.0" } }, "sha512-i3eMG77UTMD0hZhgRS562pv83RC6ukSAC2GMNWc+9dieh/+jDM5u5YG+NHX6VNDRHQcHwmsTHctP9LhbC3WxVw=="], - - "@typescript-eslint/visitor-keys/@typescript-eslint/types": ["@typescript-eslint/types@8.22.0", "", {}, "sha512-0S4M4baNzp612zwpD4YOieP3VowOARgK2EkN/GBn95hpyF8E2fbMT55sRHWBq+Huaqk3b3XK+rxxlM8sPgGM6A=="], - "anymatch/picomatch": ["picomatch@2.3.1", "", {}, "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA=="], "chokidar/glob-parent": ["glob-parent@5.1.2", "", { "dependencies": { "is-glob": "^4.0.1" } }, "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow=="], @@ -384,50 +362,10 @@ "typedoc/minimatch": ["minimatch@9.0.5", "", { "dependencies": { "brace-expansion": "^2.0.1" } }, "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow=="], - "typescript-eslint/@typescript-eslint/utils": ["@typescript-eslint/utils@8.22.0", "", { "dependencies": { "@eslint-community/eslint-utils": "^4.4.0", "@typescript-eslint/scope-manager": "8.22.0", "@typescript-eslint/types": "8.22.0", "@typescript-eslint/typescript-estree": "8.22.0" }, "peerDependencies": { "eslint": "^8.57.0 || ^9.0.0", "typescript": ">=4.8.4 <5.8.0" } }, "sha512-T8oc1MbF8L+Bk2msAvCUzjxVB2Z2f+vXYfcucE2wOmYs7ZUwco5Ep0fYZw8quNwOiw9K8GYVL+Kgc2pETNTLOg=="], - "@microsoft/tsdoc-config/ajv/json-schema-traverse": ["json-schema-traverse@1.0.0", "", {}, "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug=="], - "@typescript-eslint/eslint-plugin/@typescript-eslint/scope-manager/@typescript-eslint/types": ["@typescript-eslint/types@8.22.0", "", {}, "sha512-0S4M4baNzp612zwpD4YOieP3VowOARgK2EkN/GBn95hpyF8E2fbMT55sRHWBq+Huaqk3b3XK+rxxlM8sPgGM6A=="], - - "@typescript-eslint/eslint-plugin/@typescript-eslint/utils/@typescript-eslint/types": ["@typescript-eslint/types@8.22.0", "", {}, "sha512-0S4M4baNzp612zwpD4YOieP3VowOARgK2EkN/GBn95hpyF8E2fbMT55sRHWBq+Huaqk3b3XK+rxxlM8sPgGM6A=="], - - "@typescript-eslint/eslint-plugin/@typescript-eslint/utils/@typescript-eslint/typescript-estree": ["@typescript-eslint/typescript-estree@8.22.0", "", { "dependencies": { "@typescript-eslint/types": "8.22.0", "@typescript-eslint/visitor-keys": "8.22.0", "debug": "^4.3.4", "fast-glob": "^3.3.2", "is-glob": "^4.0.3", "minimatch": "^9.0.4", "semver": "^7.6.0", "ts-api-utils": "^2.0.0" }, "peerDependencies": { "typescript": ">=4.8.4 <5.8.0" } }, "sha512-SJX99NAS2ugGOzpyhMza/tX+zDwjvwAtQFLsBo3GQxiGcvaKlqGBkmZ+Y1IdiSi9h4Q0Lr5ey+Cp9CGWNY/F/w=="], - - "@typescript-eslint/parser/@typescript-eslint/typescript-estree/minimatch": ["minimatch@9.0.5", "", { "dependencies": { "brace-expansion": "^2.0.1" } }, "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow=="], - - "@typescript-eslint/scope-manager/@typescript-eslint/visitor-keys/eslint-visitor-keys": ["eslint-visitor-keys@3.4.3", "", {}, "sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag=="], - - "@typescript-eslint/type-utils/@typescript-eslint/typescript-estree/@typescript-eslint/types": ["@typescript-eslint/types@8.22.0", "", {}, "sha512-0S4M4baNzp612zwpD4YOieP3VowOARgK2EkN/GBn95hpyF8E2fbMT55sRHWBq+Huaqk3b3XK+rxxlM8sPgGM6A=="], - - "@typescript-eslint/type-utils/@typescript-eslint/typescript-estree/minimatch": ["minimatch@9.0.5", "", { "dependencies": { "brace-expansion": "^2.0.1" } }, "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow=="], - - "@typescript-eslint/type-utils/@typescript-eslint/utils/@typescript-eslint/scope-manager": ["@typescript-eslint/scope-manager@8.22.0", "", { "dependencies": { "@typescript-eslint/types": "8.22.0", "@typescript-eslint/visitor-keys": "8.22.0" } }, "sha512-/lwVV0UYgkj7wPSw0o8URy6YI64QmcOdwHuGuxWIYznO6d45ER0wXUbksr9pYdViAofpUCNJx/tAzNukgvaaiQ=="], - - "@typescript-eslint/type-utils/@typescript-eslint/utils/@typescript-eslint/types": ["@typescript-eslint/types@8.22.0", "", {}, "sha512-0S4M4baNzp612zwpD4YOieP3VowOARgK2EkN/GBn95hpyF8E2fbMT55sRHWBq+Huaqk3b3XK+rxxlM8sPgGM6A=="], - - "@typescript-eslint/typescript-estree/@typescript-eslint/visitor-keys/eslint-visitor-keys": ["eslint-visitor-keys@3.4.3", "", {}, "sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag=="], - "@typescript-eslint/typescript-estree/minimatch/brace-expansion": ["brace-expansion@2.0.1", "", { "dependencies": { "balanced-match": "^1.0.0" } }, "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA=="], "typedoc/minimatch/brace-expansion": ["brace-expansion@2.0.1", "", { "dependencies": { "balanced-match": "^1.0.0" } }, "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA=="], - - "typescript-eslint/@typescript-eslint/utils/@typescript-eslint/scope-manager": ["@typescript-eslint/scope-manager@8.22.0", "", { "dependencies": { "@typescript-eslint/types": "8.22.0", "@typescript-eslint/visitor-keys": "8.22.0" } }, "sha512-/lwVV0UYgkj7wPSw0o8URy6YI64QmcOdwHuGuxWIYznO6d45ER0wXUbksr9pYdViAofpUCNJx/tAzNukgvaaiQ=="], - - "typescript-eslint/@typescript-eslint/utils/@typescript-eslint/types": ["@typescript-eslint/types@8.22.0", "", {}, "sha512-0S4M4baNzp612zwpD4YOieP3VowOARgK2EkN/GBn95hpyF8E2fbMT55sRHWBq+Huaqk3b3XK+rxxlM8sPgGM6A=="], - - "typescript-eslint/@typescript-eslint/utils/@typescript-eslint/typescript-estree": ["@typescript-eslint/typescript-estree@8.22.0", "", { "dependencies": { "@typescript-eslint/types": "8.22.0", "@typescript-eslint/visitor-keys": "8.22.0", "debug": "^4.3.4", "fast-glob": "^3.3.2", "is-glob": "^4.0.3", "minimatch": "^9.0.4", "semver": "^7.6.0", "ts-api-utils": "^2.0.0" }, "peerDependencies": { "typescript": ">=4.8.4 <5.8.0" } }, "sha512-SJX99NAS2ugGOzpyhMza/tX+zDwjvwAtQFLsBo3GQxiGcvaKlqGBkmZ+Y1IdiSi9h4Q0Lr5ey+Cp9CGWNY/F/w=="], - - "@typescript-eslint/eslint-plugin/@typescript-eslint/utils/@typescript-eslint/typescript-estree/minimatch": ["minimatch@9.0.5", "", { "dependencies": { "brace-expansion": "^2.0.1" } }, "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow=="], - - "@typescript-eslint/parser/@typescript-eslint/typescript-estree/minimatch/brace-expansion": ["brace-expansion@2.0.1", "", { "dependencies": { "balanced-match": "^1.0.0" } }, "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA=="], - - "@typescript-eslint/type-utils/@typescript-eslint/typescript-estree/minimatch/brace-expansion": ["brace-expansion@2.0.1", "", { "dependencies": { "balanced-match": "^1.0.0" } }, "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA=="], - - "typescript-eslint/@typescript-eslint/utils/@typescript-eslint/typescript-estree/minimatch": ["minimatch@9.0.5", "", { "dependencies": { "brace-expansion": "^2.0.1" } }, "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow=="], - - "@typescript-eslint/eslint-plugin/@typescript-eslint/utils/@typescript-eslint/typescript-estree/minimatch/brace-expansion": ["brace-expansion@2.0.1", "", { "dependencies": { "balanced-match": "^1.0.0" } }, "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA=="], - - "typescript-eslint/@typescript-eslint/utils/@typescript-eslint/typescript-estree/minimatch/brace-expansion": ["brace-expansion@2.0.1", "", { "dependencies": { "balanced-match": "^1.0.0" } }, "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA=="], } } diff --git a/package.json b/package.json index 1c30685..d54896a 100644 --- a/package.json +++ b/package.json @@ -43,7 +43,7 @@ }, "devDependencies": { "@eslint/js": "^9.19.0", - "@stylistic/eslint-plugin": "^3.0.0", + "@stylistic/eslint-plugin": "^3.0.1", "@types/bun": "^1.2.1", "eslint": "^9.19.0", "eslint-plugin-tsdoc": "^0.4.0",