From 49d1a28c8165893febfec3a9867e169bb860fd73 Mon Sep 17 00:00:00 2001 From: Ali Mihandoost Date: Tue, 24 Oct 2023 01:46:28 +0330 Subject: [PATCH] fix(math): compatible with new logger api --- packages/math/src/math.ts | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/packages/math/src/math.ts b/packages/math/src/math.ts index 0fb216b..46b1dd6 100644 --- a/packages/math/src/math.ts +++ b/packages/math/src/math.ts @@ -1,12 +1,9 @@ -import {globalAlwatr} from '@alwatr/logger'; +import {definePackage} from '@alwatr/logger'; import type {TransformRangeOptions} from './type.js'; export {UnicodeDigits, type UnicodeLangKeys} from './unicode-digits.js'; -globalAlwatr.registeredList.push({ - name: '@alwatr/math', - version: _ALWATR_VERSION_, -}); +definePackage('math', '1.x'); /** * Number.isFinite simple polyfill