From 13343dc857953173eb2d773f37f6c87ff5d777a3 Mon Sep 17 00:00:00 2001 From: Mohammad Honarvar Date: Thu, 10 Oct 2024 16:20:16 +0330 Subject: [PATCH 1/6] deps(.yarn/sdk): update --- .yarn/sdks/typescript/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.yarn/sdks/typescript/package.json b/.yarn/sdks/typescript/package.json index 31a62a80..a9c9401b 100644 --- a/.yarn/sdks/typescript/package.json +++ b/.yarn/sdks/typescript/package.json @@ -1,6 +1,6 @@ { "name": "typescript", - "version": "5.6.2-sdk", + "version": "5.6.3-sdk", "main": "./lib/typescript.js", "type": "commonjs", "bin": { From be2b9459d1b51621b5cf314c18cc512018c90ced Mon Sep 17 00:00:00 2001 From: Mohammad Honarvar Date: Thu, 10 Oct 2024 16:20:27 +0330 Subject: [PATCH 2/6] deps: update --- yarn.lock | 41 ++++++++++++++++------------------------- 1 file changed, 16 insertions(+), 25 deletions(-) diff --git a/yarn.lock b/yarn.lock index 284dc0bb..7abe8345 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2151,16 +2151,7 @@ __metadata: languageName: node linkType: hard -"@types/node@npm:*": - version: 22.7.4 - resolution: "@types/node@npm:22.7.4" - dependencies: - undici-types: "npm:~6.19.2" - checksum: 10c0/c22bf54515c78ff3170142c1e718b90e2a0003419dc2d55f79c9c9362edd590a6ab1450deb09ff6e1b32d1b4698da407930b16285e8be3a009ea6cd2695cac01 - languageName: node - linkType: hard - -"@types/node@npm:^22.7.5": +"@types/node@npm:*, @types/node@npm:^22.7.5": version: 22.7.5 resolution: "@types/node@npm:22.7.5" dependencies: @@ -2854,9 +2845,9 @@ __metadata: linkType: hard "caniuse-lite@npm:^1.0.30001663": - version: 1.0.30001664 - resolution: "caniuse-lite@npm:1.0.30001664" - checksum: 10c0/db2b431aba41a585191ab1e4d40da0ad349ff32400edac2a167bf6bf92dbf9c704eab03dc60fb89e882ce02478d61c3036b2b1bdce8edf9b2aabda5608bae05e + version: 1.0.30001667 + resolution: "caniuse-lite@npm:1.0.30001667" + checksum: 10c0/6bc8555a47603e1e76eaef9b185d6fdeeca7d9c20a283f7c32c971eb1b52ea3a80e6ec086920f088f06abe619240f1023a2d3a08b5b1f2f11df1475695e9f71c languageName: node linkType: hard @@ -3317,9 +3308,9 @@ __metadata: linkType: hard "deepmerge-ts@npm:^7.1.0": - version: 7.1.0 - resolution: "deepmerge-ts@npm:7.1.0" - checksum: 10c0/50e98ca9995e721b2d85b8984a175322369f56fd68b1d915873816e672105d2a22b3be42acc7832954a0ea07c2b0762ecca40eb7886369af33cce8f799baf39e + version: 7.1.3 + resolution: "deepmerge-ts@npm:7.1.3" + checksum: 10c0/c9cfe7742a2c8f785302378b004381e1b831e3307ffe0c17be4b98fd87f347cb52a550aa9ff9ee0608b97f25400972ab79484f3836d77ec733828b10c8dcc522 languageName: node linkType: hard @@ -3440,9 +3431,9 @@ __metadata: linkType: hard "electron-to-chromium@npm:^1.5.28": - version: 1.5.29 - resolution: "electron-to-chromium@npm:1.5.29" - checksum: 10c0/ae4849f1fe8d756d30c6f5f992803d8550a98b38a30aecc7d9776858cf229ad05b12cb9f7675f0a89330a077d16e28388cfe394fdd9d0828ffe860c8568c95c2 + version: 1.5.35 + resolution: "electron-to-chromium@npm:1.5.35" + checksum: 10c0/49f7921dbdee725284898728a0ba4a786ab27a145a871057b7085f5643df51d7be3ece5374a105cc621417abb1bca780365a058a0531083d0252347b75cf0f3f languageName: node linkType: hard @@ -6927,14 +6918,14 @@ __metadata: linkType: hard "regexp.prototype.flags@npm:^1.5.2": - version: 1.5.2 - resolution: "regexp.prototype.flags@npm:1.5.2" + version: 1.5.3 + resolution: "regexp.prototype.flags@npm:1.5.3" dependencies: - call-bind: "npm:^1.0.6" + call-bind: "npm:^1.0.7" define-properties: "npm:^1.2.1" es-errors: "npm:^1.3.0" - set-function-name: "npm:^2.0.1" - checksum: 10c0/0f3fc4f580d9c349f8b560b012725eb9c002f36daa0041b3fbf6f4238cb05932191a4d7d5db3b5e2caa336d5150ad0402ed2be81f711f9308fe7e1a9bf9bd552 + set-function-name: "npm:^2.0.2" + checksum: 10c0/e1a7c7dc42cc91abf73e47a269c4b3a8f225321b7f617baa25821f6a123a91d23a73b5152f21872c566e699207e1135d075d2251cd3e84cc96d82a910adf6020 languageName: node linkType: hard @@ -7111,7 +7102,7 @@ __metadata: languageName: node linkType: hard -"set-function-name@npm:^2.0.1": +"set-function-name@npm:^2.0.2": version: 2.0.2 resolution: "set-function-name@npm:2.0.2" dependencies: From b9052881b7549207c01b0eef92dc459d44b56ac0 Mon Sep 17 00:00:00 2001 From: Mohammad Honarvar Date: Thu, 10 Oct 2024 17:06:06 +0330 Subject: [PATCH 3/6] refactor: update `import`s & packages based on the latest changes of `nanolib` --- .vscode/settings.json | 1 + packages/context/package.json | 2 +- packages/context/src/main.ts | 10 +++------- packages/context/tsconfig.json | 1 + packages/fetch-state-machine/package.json | 3 +-- packages/fetch-state-machine/src/base.ts | 16 +++++++++------- packages/fetch-state-machine/src/jfsm-base.ts | 2 -- packages/fetch-state-machine/src/jfsm.ts | 1 - packages/fetch-state-machine/tsconfig.json | 1 + packages/fsm/package.json | 5 ++--- packages/fsm/src/base.ts | 7 ++----- packages/fsm/src/type.ts | 2 -- packages/fsm/tsconfig.json | 1 + packages/observable/package.json | 2 +- packages/observable/src/observable.ts | 8 +++----- packages/observable/src/type.ts | 8 +++----- packages/observable/tsconfig.json | 1 + packages/remote-context/package.json | 2 +- packages/remote-context/src/base.ts | 2 -- packages/remote-context/src/remote-context.ts | 3 +-- packages/remote-context/tsconfig.json | 1 + packages/signal/package.json | 2 +- packages/signal/src/logger.ts | 6 ++---- packages/signal/src/signal.ts | 6 ++---- packages/signal/src/trigger.ts | 2 +- packages/signal/tsconfig.json | 1 + 26 files changed, 40 insertions(+), 56 deletions(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index 3e5d007b..7fb41db7 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -49,6 +49,7 @@ "Exir", "jfsm", "Mihandoost", + "nanolib", "tsbuildinfo" ] } diff --git a/packages/context/package.json b/packages/context/package.json index 17e1d101..dbaa4a7b 100644 --- a/packages/context/package.json +++ b/packages/context/package.json @@ -56,7 +56,7 @@ "clean": "rm -rfv dist *.tsbuildinfo" }, "dependencies": { - "@alwatr/logger": "^4.0.3", + "@alwatr/nanolib": "^1.0.2", "@alwatr/observable": "workspace:^" }, "devDependencies": { diff --git a/packages/context/src/main.ts b/packages/context/src/main.ts index 80db4613..769ca5ee 100644 --- a/packages/context/src/main.ts +++ b/packages/context/src/main.ts @@ -1,16 +1,12 @@ -import {definePackage} from '@alwatr/logger'; +import {packageTracer} from '@alwatr/nanolib'; import {AlwatrObservable, type AlwatrObservableConfig} from '@alwatr/observable'; -import type {} from '@alwatr/nano-build'; -import type {Dictionary} from '@alwatr/type-helper'; - - -definePackage('@alwatr/context', __package_version__); +packageTracer.add(__package_name__, __package_version__); /** * Alwatr Context. */ -export class AlwatrContext extends AlwatrObservable { +export class AlwatrContext extends AlwatrObservable { constructor(config: AlwatrObservableConfig) { config.loggerPrefix ??= 'context-signal'; super(config); diff --git a/packages/context/tsconfig.json b/packages/context/tsconfig.json index 7a6305b5..573c911c 100644 --- a/packages/context/tsconfig.json +++ b/packages/context/tsconfig.json @@ -5,6 +5,7 @@ "outDir": "dist", "emitDeclarationOnly": true, "composite": true, + "types": ["@alwatr/nano-build", "@alwatr/type-helper"] }, "include": ["src/**/*.ts"], "references": [{"path": "../observable"}], diff --git a/packages/fetch-state-machine/package.json b/packages/fetch-state-machine/package.json index e03e1c62..22d9da95 100644 --- a/packages/fetch-state-machine/package.json +++ b/packages/fetch-state-machine/package.json @@ -57,9 +57,8 @@ "clean": "rm -rfv dist *.tsbuildinfo" }, "dependencies": { - "@alwatr/fetch": "^4.1.3", "@alwatr/fsm": "workspace:^", - "@alwatr/logger": "^4.0.3" + "@alwatr/nanolib": "^1.0.2" }, "devDependencies": { "@alwatr/nano-build": "^2.0.0", diff --git a/packages/fetch-state-machine/src/base.ts b/packages/fetch-state-machine/src/base.ts index 0eea5814..8a2d412c 100644 --- a/packages/fetch-state-machine/src/base.ts +++ b/packages/fetch-state-machine/src/base.ts @@ -1,10 +1,12 @@ -import {fetch, type FetchOptions} from '@alwatr/fetch'; -import {AlwatrFluxStateMachineBase, type StateRecord, type ActionRecord, type AlwatrFluxStateMachineConfig} from '@alwatr/fsm'; -import {definePackage} from '@alwatr/logger'; - -import type {} from '@alwatr/nano-build'; - -definePackage('@alwatr/fetch-state-machine', __package_version__); +import { + AlwatrFluxStateMachineBase, + type StateRecord, + type ActionRecord, + type AlwatrFluxStateMachineConfig +} from '@alwatr/fsm'; +import {packageTracer, fetch, type FetchOptions} from '@alwatr/nanolib'; + +packageTracer.add(__package_name__, __package_version__); export type ServerRequestState = 'initial' | 'loading' | 'failed' | 'complete'; export type ServerRequestEvent = 'request' | 'requestFailed' | 'requestSucceeded'; diff --git a/packages/fetch-state-machine/src/jfsm-base.ts b/packages/fetch-state-machine/src/jfsm-base.ts index 143f5b63..28528189 100644 --- a/packages/fetch-state-machine/src/jfsm-base.ts +++ b/packages/fetch-state-machine/src/jfsm-base.ts @@ -1,7 +1,5 @@ import {AlwatrFetchStateMachineBase, type FetchOptions} from './base.js'; -import type {Json} from '@alwatr/type-helper'; - export abstract class AlwatrJsonFetchStateMachineBase< T extends Json = Json, ExtraState extends string = never, diff --git a/packages/fetch-state-machine/src/jfsm.ts b/packages/fetch-state-machine/src/jfsm.ts index 5314c373..ec4d0219 100644 --- a/packages/fetch-state-machine/src/jfsm.ts +++ b/packages/fetch-state-machine/src/jfsm.ts @@ -1,7 +1,6 @@ import {AlwatrJsonFetchStateMachineBase} from './jfsm-base.js'; import type {FetchOptions, ServerRequestState} from './base.js'; -import type {Json} from '@alwatr/type-helper'; export class AlwatrJsonFetchStateMachine extends AlwatrJsonFetchStateMachineBase { /** diff --git a/packages/fetch-state-machine/tsconfig.json b/packages/fetch-state-machine/tsconfig.json index 94f210c7..36040fc2 100644 --- a/packages/fetch-state-machine/tsconfig.json +++ b/packages/fetch-state-machine/tsconfig.json @@ -5,6 +5,7 @@ "outDir": "dist", "emitDeclarationOnly": true, "composite": true, + "types": ["@alwatr/nano-build", "@alwatr/type-helper"] }, "include": ["src/**/*.ts"], "references": [{"path": "../fsm"}] diff --git a/packages/fsm/package.json b/packages/fsm/package.json index 3d550480..67d68203 100644 --- a/packages/fsm/package.json +++ b/packages/fsm/package.json @@ -58,9 +58,8 @@ "clean": "rm -rfv dist *.tsbuildinfo" }, "dependencies": { - "@alwatr/logger": "^4.0.3", - "@alwatr/observable": "workspace:^", - "@alwatr/polyfill-has-own": "^1.1.3" + "@alwatr/nanolib": "^1.0.2", + "@alwatr/observable": "workspace:^" }, "devDependencies": { "@alwatr/nano-build": "^2.0.0", diff --git a/packages/fsm/src/base.ts b/packages/fsm/src/base.ts index 91b45fc0..e7a36049 100644 --- a/packages/fsm/src/base.ts +++ b/packages/fsm/src/base.ts @@ -1,12 +1,9 @@ -import {definePackage} from '@alwatr/logger'; +import {packageTracer} from '@alwatr/nanolib'; import {AlwatrObservable, type AlwatrObservableConfig} from '@alwatr/observable'; -import '@alwatr/polyfill-has-own'; import type {ActionName, ActionRecord, StateEventDetail, StateRecord} from './type.js'; -import type {} from '@alwatr/nano-build'; -import type {MaybePromise} from '@alwatr/type-helper'; -definePackage('@alwatr/fsm', __package_version__); +packageTracer.add(__package_name__, __package_version__); export interface AlwatrFluxStateMachineConfig extends AlwatrObservableConfig { initialState: S; diff --git a/packages/fsm/src/type.ts b/packages/fsm/src/type.ts index 70094e7c..110f63f5 100644 --- a/packages/fsm/src/type.ts +++ b/packages/fsm/src/type.ts @@ -1,5 +1,3 @@ -import type {MaybePromise} from '@alwatr/type-helper'; - export interface StateEventDetail { from: S; event: E; diff --git a/packages/fsm/tsconfig.json b/packages/fsm/tsconfig.json index 7a6305b5..573c911c 100644 --- a/packages/fsm/tsconfig.json +++ b/packages/fsm/tsconfig.json @@ -5,6 +5,7 @@ "outDir": "dist", "emitDeclarationOnly": true, "composite": true, + "types": ["@alwatr/nano-build", "@alwatr/type-helper"] }, "include": ["src/**/*.ts"], "references": [{"path": "../observable"}], diff --git a/packages/observable/package.json b/packages/observable/package.json index 3144e3bc..63c228d3 100644 --- a/packages/observable/package.json +++ b/packages/observable/package.json @@ -56,7 +56,7 @@ "clean": "rm -rfv dist *.tsbuildinfo" }, "dependencies": { - "@alwatr/logger": "^4.0.3" + "@alwatr/nanolib": "^1.0.2" }, "devDependencies": { "@alwatr/nano-build": "^2.0.0", diff --git a/packages/observable/src/observable.ts b/packages/observable/src/observable.ts index 9a89d2be..e1907443 100644 --- a/packages/observable/src/observable.ts +++ b/packages/observable/src/observable.ts @@ -1,17 +1,15 @@ -import {createLogger, definePackage} from '@alwatr/logger'; +import {createLogger, packageTracer} from '@alwatr/nanolib'; import type {SubscribeOptions, ListenerCallback, Observer, SubscribeResult, AlwatrObservableInterface} from './type.js'; -import type {} from '@alwatr/nano-build'; -import type {Dictionary} from '@alwatr/type-helper'; -definePackage('@alwatr/observable', __package_version__); +packageTracer.add(__package_name__, __package_version__); export interface AlwatrObservableConfig { name: string; loggerPrefix?: string; } -export abstract class AlwatrObservable implements AlwatrObservableInterface { +export abstract class AlwatrObservable implements AlwatrObservableInterface { protected name_; protected logger_; protected message_?: T; diff --git a/packages/observable/src/type.ts b/packages/observable/src/type.ts index 703af4da..b03392e2 100644 --- a/packages/observable/src/type.ts +++ b/packages/observable/src/type.ts @@ -1,5 +1,3 @@ -import type {Dictionary, MaybePromise} from '@alwatr/type-helper'; - /** * Subscribe options type. */ @@ -30,9 +28,9 @@ export interface SubscribeOptions { // debounce?: 'AnimationFrame' | number; } -export type ListenerCallback = (this: T, message: M) => MaybePromise; +export type ListenerCallback = (this: T, message: M) => MaybePromise; -export interface Observer { +export interface Observer { callback: ListenerCallback; options: SubscribeOptions; } @@ -41,7 +39,7 @@ export interface SubscribeResult { unsubscribe: () => void; } -export interface AlwatrObservableInterface { +export interface AlwatrObservableInterface { subscribe(listenerCallback: ListenerCallback, options?: SubscribeOptions): SubscribeResult; unsubscribe(listenerCallback: ListenerCallback): void; } diff --git a/packages/observable/tsconfig.json b/packages/observable/tsconfig.json index 9bea7a7a..55ae3d4d 100644 --- a/packages/observable/tsconfig.json +++ b/packages/observable/tsconfig.json @@ -5,6 +5,7 @@ "outDir": "dist", "emitDeclarationOnly": true, "composite": true, + "types": ["@alwatr/nano-build", "@alwatr/type-helper"] }, "include": ["src/**/*.ts"], "references": [], diff --git a/packages/remote-context/package.json b/packages/remote-context/package.json index 3bab994a..f3d9c9ce 100644 --- a/packages/remote-context/package.json +++ b/packages/remote-context/package.json @@ -60,7 +60,7 @@ }, "dependencies": { "@alwatr/fetch-state-machine": "workspace:^", - "@alwatr/logger": "^4.0.3" + "@alwatr/nanolib": "^1.0.2" }, "devDependencies": { "@alwatr/nano-build": "^2.0.0", diff --git a/packages/remote-context/src/base.ts b/packages/remote-context/src/base.ts index aab5120b..2b3d4029 100644 --- a/packages/remote-context/src/base.ts +++ b/packages/remote-context/src/base.ts @@ -5,8 +5,6 @@ import { type ServerRequestState, } from '@alwatr/fetch-state-machine'; -import type {Json} from '@alwatr/type-helper'; - type ExtraState = 'offlineCheck' | 'reloading' | 'reloadingFailed'; export type ServerContextState = ServerRequestState | ExtraState; diff --git a/packages/remote-context/src/remote-context.ts b/packages/remote-context/src/remote-context.ts index 8ef62c0f..bfdbf008 100644 --- a/packages/remote-context/src/remote-context.ts +++ b/packages/remote-context/src/remote-context.ts @@ -1,7 +1,6 @@ import {AlwatrRemoteContextStateMachineBase, type ServerContextState} from './base.js'; -import type {FetchOptions} from '@alwatr/fetch-state-machine'; -import type {Json} from '@alwatr/type-helper'; +import type {FetchOptions} from '@alwatr/nanolib'; export class AlwatrRemoteContextStateMachine extends AlwatrRemoteContextStateMachineBase { /** diff --git a/packages/remote-context/tsconfig.json b/packages/remote-context/tsconfig.json index 664b3bdb..1ad29fa0 100644 --- a/packages/remote-context/tsconfig.json +++ b/packages/remote-context/tsconfig.json @@ -5,6 +5,7 @@ "outDir": "dist", "emitDeclarationOnly": true, "composite": true, + "types": ["@alwatr/nano-build", "@alwatr/type-helper"] }, "include": ["src/**/*.ts"], "references": [{"path": "../fetch-state-machine"}] diff --git a/packages/signal/package.json b/packages/signal/package.json index a896753a..01f1eb84 100644 --- a/packages/signal/package.json +++ b/packages/signal/package.json @@ -56,7 +56,7 @@ "clean": "rm -rfv dist *.tsbuildinfo" }, "dependencies": { - "@alwatr/logger": "^4.0.3", + "@alwatr/nanolib": "^1.0.2", "@alwatr/observable": "workspace:^" }, "devDependencies": { diff --git a/packages/signal/src/logger.ts b/packages/signal/src/logger.ts index 435fdeaa..dff36d9a 100644 --- a/packages/signal/src/logger.ts +++ b/packages/signal/src/logger.ts @@ -1,5 +1,3 @@ -import {definePackage} from '@alwatr/logger'; +import {createLogger} from '@alwatr/nanolib'; -import type {} from '@alwatr/nano-build'; - -export const logger = definePackage('@alwatr/signal', __package_version__); +export const logger = createLogger(__package_name__); diff --git a/packages/signal/src/signal.ts b/packages/signal/src/signal.ts index 23b86f5a..f5971e1a 100644 --- a/packages/signal/src/signal.ts +++ b/packages/signal/src/signal.ts @@ -2,14 +2,12 @@ import {AlwatrObservable, type AlwatrObservableConfig} from '@alwatr/observable' import {logger} from './logger.js'; -import type {Dictionary} from '@alwatr/type-helper'; - -logger.logModule?.('signal'); +logger.logFileModule?.('signal'); /** * Alwatr event signal with special message (event detail). */ -export class AlwatrSignal extends AlwatrObservable { +export class AlwatrSignal extends AlwatrObservable { constructor(config: AlwatrObservableConfig) { config.loggerPrefix ??= 'signal'; super(config); diff --git a/packages/signal/src/trigger.ts b/packages/signal/src/trigger.ts index 1e713034..2f854340 100644 --- a/packages/signal/src/trigger.ts +++ b/packages/signal/src/trigger.ts @@ -2,7 +2,7 @@ import {AlwatrObservable, type AlwatrObservableConfig} from '@alwatr/observable' import {logger} from './logger.js'; -logger.logModule?.('trigger'); +logger.logFileModule?.('trigger'); /** * Alwatr event signal without any message (no event detail). diff --git a/packages/signal/tsconfig.json b/packages/signal/tsconfig.json index 7a6305b5..573c911c 100644 --- a/packages/signal/tsconfig.json +++ b/packages/signal/tsconfig.json @@ -5,6 +5,7 @@ "outDir": "dist", "emitDeclarationOnly": true, "composite": true, + "types": ["@alwatr/nano-build", "@alwatr/type-helper"] }, "include": ["src/**/*.ts"], "references": [{"path": "../observable"}], From f8891e22d58335ba3acc7e75ddd4b6810c7c4e09 Mon Sep 17 00:00:00 2001 From: Mohammad Honarvar Date: Thu, 10 Oct 2024 17:06:16 +0330 Subject: [PATCH 4/6] deps: update --- yarn.lock | 207 ++++++++++++++++++++++++++++++++++++++---------------- 1 file changed, 147 insertions(+), 60 deletions(-) diff --git a/yarn.lock b/yarn.lock index 7abe8345..95324e6b 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5,12 +5,22 @@ __metadata: version: 8 cacheKey: 10c0 +"@alwatr/async-queue@npm:^1.3.2": + version: 1.3.2 + resolution: "@alwatr/async-queue@npm:1.3.2" + dependencies: + "@alwatr/flatomise": "npm:^1.2.2" + "@alwatr/package-tracer": "npm:^1.0.2" + checksum: 10c0/f8c4e4e317280318c46aada5438975df87b7f62f83d1fa0811f7a1685dd457c8a2d0b2d7ee625bb24f8148e43977855e012c2aa4626b8292636ef00fe9bae4ce + languageName: node + linkType: hard + "@alwatr/context@workspace:^, @alwatr/context@workspace:packages/context": version: 0.0.0-use.local resolution: "@alwatr/context@workspace:packages/context" dependencies: - "@alwatr/logger": "npm:^4.0.3" "@alwatr/nano-build": "npm:^2.0.0" + "@alwatr/nanolib": "npm:^1.0.2" "@alwatr/observable": "workspace:^" "@alwatr/prettier-config": "npm:^1.0.5" "@alwatr/tsconfig-base": "npm:^1.3.1" @@ -21,14 +31,34 @@ __metadata: languageName: unknown linkType: soft -"@alwatr/delay@npm:^1.0.3": - version: 1.0.3 - resolution: "@alwatr/delay@npm:1.0.3" +"@alwatr/dedupe@npm:^1.1.2": + version: 1.1.2 + resolution: "@alwatr/dedupe@npm:1.1.2" dependencies: - "@alwatr/global-scope": "npm:^1.1.25" - "@alwatr/package-tracer": "npm:^1.0.3" - "@alwatr/parse-duration": "npm:^1.1.3" - checksum: 10c0/9bafe72f324c946ecfd899771d315b190dffa5c561be4c5737fa69ab0d736fcf1aede65c3b80cf6876144b9dabf1dd4695f58d9022e939c75044f27c68ee6062 + "@alwatr/global-scope": "npm:^1.1.24" + "@alwatr/package-tracer": "npm:^1.0.2" + "@alwatr/polyfill-has-own": "npm:^1.1.2" + checksum: 10c0/2f53bbd475568ad388d8364cd76206c958ee6145a8f817d5c8dc4b8502e9f280e79d9cbf21ee499013a9b4c71c5c3a156305e3d12087288f816cabc17949b5b8 + languageName: node + linkType: hard + +"@alwatr/deep-clone@npm:^1.1.2": + version: 1.1.2 + resolution: "@alwatr/deep-clone@npm:1.1.2" + dependencies: + "@alwatr/package-tracer": "npm:^1.0.2" + checksum: 10c0/679373e380742c151f3615128c849349850ff5681be27f392baa89b2b7810bd10937cc8dd556f277bb925b3a671362a30c840668e380463617d38633d1a94c88 + languageName: node + linkType: hard + +"@alwatr/delay@npm:^1.0.2": + version: 1.0.2 + resolution: "@alwatr/delay@npm:1.0.2" + dependencies: + "@alwatr/global-scope": "npm:^1.1.24" + "@alwatr/package-tracer": "npm:^1.0.2" + "@alwatr/parse-duration": "npm:^1.1.2" + checksum: 10c0/e8e69a757919b9679d3642004f6cfd43ff116716b9205bcdc4681e5ec7432017a97d63065145230e34be6b04be8aad4ea1d5531f45840317ba6edf8b82a30795 languageName: node linkType: hard @@ -52,10 +82,9 @@ __metadata: version: 0.0.0-use.local resolution: "@alwatr/fetch-state-machine@workspace:packages/fetch-state-machine" dependencies: - "@alwatr/fetch": "npm:^4.1.3" "@alwatr/fsm": "workspace:^" - "@alwatr/logger": "npm:^4.0.3" "@alwatr/nano-build": "npm:^2.0.0" + "@alwatr/nanolib": "npm:^1.0.2" "@alwatr/prettier-config": "npm:^1.0.5" "@alwatr/tsconfig-base": "npm:^1.3.1" "@alwatr/type-helper": "npm:^2.0.1" @@ -65,16 +94,34 @@ __metadata: languageName: unknown linkType: soft -"@alwatr/fetch@npm:^4.1.3": - version: 4.1.3 - resolution: "@alwatr/fetch@npm:4.1.3" +"@alwatr/fetch@npm:^4.1.2": + version: 4.1.2 + resolution: "@alwatr/fetch@npm:4.1.2" + dependencies: + "@alwatr/delay": "npm:^1.0.2" + "@alwatr/global-scope": "npm:^1.1.24" + "@alwatr/logger": "npm:^4.0.2" + "@alwatr/package-tracer": "npm:^1.0.2" + "@alwatr/parse-duration": "npm:^1.1.2" + checksum: 10c0/f5f3c8839e878ad947810c6ce9516faf28a531279f89544ab9b06a3da7313ebabb8f0c9584c4c0f5ae0fb1828e1b6c1739f56cbbb020763b3213cba085f9c56d + languageName: node + linkType: hard + +"@alwatr/flat-string@npm:^1.1.2": + version: 1.1.2 + resolution: "@alwatr/flat-string@npm:1.1.2" + dependencies: + "@alwatr/package-tracer": "npm:^1.0.2" + checksum: 10c0/f5f47224eb587e1b8174026eb20d2ff9d8f4e7069f896aecd86752f81ff01463195e2cb35dd7102e37bfe391ea87ba930bab1799479c1eaaa8800171a665c5df + languageName: node + linkType: hard + +"@alwatr/flatomise@npm:^1.2.2": + version: 1.2.2 + resolution: "@alwatr/flatomise@npm:1.2.2" dependencies: - "@alwatr/delay": "npm:^1.0.3" - "@alwatr/global-scope": "npm:^1.1.25" - "@alwatr/logger": "npm:^4.0.3" - "@alwatr/package-tracer": "npm:^1.0.3" - "@alwatr/parse-duration": "npm:^1.1.3" - checksum: 10c0/e66cf76ee2c92b9dd65e53596b2612637d759e6e9cd3245db4d5c782564cbc9e10e93ba54936b5d253cdfdbe0307cee433ddb0ff1b6160910643d64fc287729a + "@alwatr/package-tracer": "npm:^1.0.2" + checksum: 10c0/a97acb58023ad57c27619dbc65fc24e70c2b790fc05dfa03d46874ec51b0de3d9080dd2a7aee13548819461d4b919595bb5b60a41110fab19d6290da1308c9b4 languageName: node linkType: hard @@ -102,10 +149,9 @@ __metadata: version: 0.0.0-use.local resolution: "@alwatr/fsm@workspace:packages/fsm" dependencies: - "@alwatr/logger": "npm:^4.0.3" "@alwatr/nano-build": "npm:^2.0.0" + "@alwatr/nanolib": "npm:^1.0.2" "@alwatr/observable": "workspace:^" - "@alwatr/polyfill-has-own": "npm:^1.1.3" "@alwatr/prettier-config": "npm:^1.0.5" "@alwatr/tsconfig-base": "npm:^1.3.1" "@alwatr/type-helper": "npm:^2.0.1" @@ -115,31 +161,40 @@ __metadata: languageName: unknown linkType: soft -"@alwatr/global-scope@npm:^1.1.25": - version: 1.1.25 - resolution: "@alwatr/global-scope@npm:1.1.25" +"@alwatr/global-scope@npm:^1.1.24": + version: 1.1.24 + resolution: "@alwatr/global-scope@npm:1.1.24" dependencies: - "@alwatr/package-tracer": "npm:^1.0.3" - checksum: 10c0/a62b5d2c929525dcc2d5d6246c991279e42ea5c36c3bc34ee5a1dcbe5e5295f3c1243a8f6ae249abb189ccc75657573819768db1c69ddaefaa0853b846aaeb44 + "@alwatr/package-tracer": "npm:^1.0.2" + checksum: 10c0/37e6864e9077ae8b5419e8a8126c2c7f280011c71c7a9fbb7d2f1e54e72925ec1a4852fd5d166c42138e82bc017abdcfb6c952703232d8bfb48adf7f049f5926 languageName: node linkType: hard -"@alwatr/is-number@npm:^1.1.3": - version: 1.1.3 - resolution: "@alwatr/is-number@npm:1.1.3" +"@alwatr/is-number@npm:^1.1.2": + version: 1.1.2 + resolution: "@alwatr/is-number@npm:1.1.2" dependencies: - "@alwatr/package-tracer": "npm:^1.0.3" - checksum: 10c0/948dffb5acddd2dbb38a8f94e7df40ec2d76a33fcf7b55e32a0eaf298399a69c66c2d00ef38182c45245efae903a81718054190690bc45754eafb10f94a34352 + "@alwatr/package-tracer": "npm:^1.0.2" + checksum: 10c0/a48c2f2fe17712c9a26ba37ab1b36266beee00d154089dd254ac3783da3e321a272e441403f192df38bb58aa728388b14d37f1ccb94dee48c8bcfedaba7e41ea languageName: node linkType: hard -"@alwatr/logger@npm:^4.0.3": - version: 4.0.3 - resolution: "@alwatr/logger@npm:4.0.3" +"@alwatr/local-storage@npm:^1.1.2": + version: 1.1.2 + resolution: "@alwatr/local-storage@npm:1.1.2" + dependencies: + "@alwatr/package-tracer": "npm:^1.0.2" + checksum: 10c0/24a7210ef7d14f81710735fd1f8d77a11805bc181e5405b597bc1d584f73821c4293c64c0d1791db0f495944c51832b77808dcaa1e41021b0c6532314725e106 + languageName: node + linkType: hard + +"@alwatr/logger@npm:^4.0.2": + version: 4.0.2 + resolution: "@alwatr/logger@npm:4.0.2" dependencies: - "@alwatr/package-tracer": "npm:^1.0.3" - "@alwatr/platform-info": "npm:^1.2.3" - checksum: 10c0/a7e73de3f9b57e4bff1ed54fede055ab702384568f13ef60f45ef0ffe274b8eefd6eb9aadfc18ea80e35c272d6f62dde496a7f9612c91ca4c547e1cb834e0563 + "@alwatr/package-tracer": "npm:^1.0.2" + "@alwatr/platform-info": "npm:^1.2.2" + checksum: 10c0/aa1b9a6cce2d7d48d2b4a444e5e2b3a3c87d49303c2ce3540032ed9f4c0bb6c5ed2f57b5b7648f7ee8e87e0dd5dffe0ee830eea18cc3be71b2f73f6bda287b8c languageName: node linkType: hard @@ -154,12 +209,34 @@ __metadata: languageName: node linkType: hard +"@alwatr/nanolib@npm:^1.0.2": + version: 1.0.2 + resolution: "@alwatr/nanolib@npm:1.0.2" + dependencies: + "@alwatr/async-queue": "npm:^1.3.2" + "@alwatr/dedupe": "npm:^1.1.2" + "@alwatr/deep-clone": "npm:^1.1.2" + "@alwatr/delay": "npm:^1.0.2" + "@alwatr/fetch": "npm:^4.1.2" + "@alwatr/flat-string": "npm:^1.1.2" + "@alwatr/flatomise": "npm:^1.2.2" + "@alwatr/is-number": "npm:^1.1.2" + "@alwatr/local-storage": "npm:^1.1.2" + "@alwatr/logger": "npm:^4.0.2" + "@alwatr/package-tracer": "npm:^1.0.2" + "@alwatr/parse-duration": "npm:^1.1.2" + "@alwatr/platform-info": "npm:^1.2.2" + "@alwatr/render-state": "npm:^1.0.2" + checksum: 10c0/5cbc89cdaa1aeea9aa5528917bd6963eca0b7cdfd89cef3b3f7d92ed0ca49a48c6cff8e0ad59ef9504c15ade0b562c7e2b5eb59f228b09439ec61ce9d73525bb + languageName: node + linkType: hard + "@alwatr/observable@workspace:^, @alwatr/observable@workspace:packages/observable": version: 0.0.0-use.local resolution: "@alwatr/observable@workspace:packages/observable" dependencies: - "@alwatr/logger": "npm:^4.0.3" "@alwatr/nano-build": "npm:^2.0.0" + "@alwatr/nanolib": "npm:^1.0.2" "@alwatr/prettier-config": "npm:^1.0.5" "@alwatr/tsconfig-base": "npm:^1.3.1" "@alwatr/type-helper": "npm:^2.0.1" @@ -169,38 +246,38 @@ __metadata: languageName: unknown linkType: soft -"@alwatr/package-tracer@npm:^1.0.3": - version: 1.0.3 - resolution: "@alwatr/package-tracer@npm:1.0.3" - checksum: 10c0/a8ec32cc4d51805c24d13e05ac5624e75401d819a83939bb8c8972699aab39895f9cb3ade167ff362e8d2d8f6a382b0cc524a021308a89e84e11929fda176b1c +"@alwatr/package-tracer@npm:^1.0.2": + version: 1.0.2 + resolution: "@alwatr/package-tracer@npm:1.0.2" + checksum: 10c0/72700e5fd4e38356c4b87f13f98b815e457babea957616a5df69d97b46f1834f81753869250fe744ac7bc1c2a7d66366799d22c3db3e77e3f1ccbc925dfddbc5 languageName: node linkType: hard -"@alwatr/parse-duration@npm:^1.1.3": - version: 1.1.3 - resolution: "@alwatr/parse-duration@npm:1.1.3" +"@alwatr/parse-duration@npm:^1.1.2": + version: 1.1.2 + resolution: "@alwatr/parse-duration@npm:1.1.2" dependencies: - "@alwatr/is-number": "npm:^1.1.3" - "@alwatr/package-tracer": "npm:^1.0.3" - checksum: 10c0/4d2eb0b7f055c7cc22b5ee5396567dcac5090e5f66c849f9d5f1b5495c6d44a3f5f32c145bf0a50f5ef4c0708352cce899fd82a5110ff3694bfbba1b9c9c3de7 + "@alwatr/is-number": "npm:^1.1.2" + "@alwatr/package-tracer": "npm:^1.0.2" + checksum: 10c0/6a33369e8e5590966f87e7c587daec846683debfc6d6778568df09d057ecc1060af3a36601d74e3e5123d991e7d211ccea6fb469a3f26e96bed5fb229076ca2e languageName: node linkType: hard -"@alwatr/platform-info@npm:^1.2.3": - version: 1.2.3 - resolution: "@alwatr/platform-info@npm:1.2.3" +"@alwatr/platform-info@npm:^1.2.2": + version: 1.2.2 + resolution: "@alwatr/platform-info@npm:1.2.2" dependencies: - "@alwatr/package-tracer": "npm:^1.0.3" - checksum: 10c0/f19f32608163585ecd4f0c5ffa8e45c4beb2dbfcc7482f59b6694d833e022f6384e2ecfaa93f4a265c48d3947b92fdca3f76349c2eb7a16318fb6278c54168da + "@alwatr/package-tracer": "npm:^1.0.2" + checksum: 10c0/a0180d5a1681f0e2b947ae43b7c190b079a7661ef3ad0321d24acae055ba38c6df0845472f2007454b16178e369d5dbc88ffb7afeaeb1bbd04a93c4bcedc5101 languageName: node linkType: hard -"@alwatr/polyfill-has-own@npm:^1.1.3": - version: 1.1.3 - resolution: "@alwatr/polyfill-has-own@npm:1.1.3" +"@alwatr/polyfill-has-own@npm:^1.1.2": + version: 1.1.2 + resolution: "@alwatr/polyfill-has-own@npm:1.1.2" dependencies: - "@alwatr/package-tracer": "npm:^1.0.3" - checksum: 10c0/546e330a10a1c72ce9fb8fe30cc189f52fbc01d8c58384eb071b391928ba7384151d33eb6581758ac57d3d08598b7374818c2095e01f2a97883c90f2391efa22 + "@alwatr/package-tracer": "npm:^1.0.2" + checksum: 10c0/e5d3f854470927e783f232f9397e083dddad49e9ab5740e6fc03c523ed489b7b373c81bf6374e127222233ce2dd0018a8731c7a2364c1b0b7d2b3ed87bf53db1 languageName: node linkType: hard @@ -216,8 +293,8 @@ __metadata: resolution: "@alwatr/remote-context@workspace:packages/remote-context" dependencies: "@alwatr/fetch-state-machine": "workspace:^" - "@alwatr/logger": "npm:^4.0.3" "@alwatr/nano-build": "npm:^2.0.0" + "@alwatr/nanolib": "npm:^1.0.2" "@alwatr/prettier-config": "npm:^1.0.5" "@alwatr/tsconfig-base": "npm:^1.3.1" "@alwatr/type-helper": "npm:^2.0.1" @@ -227,12 +304,22 @@ __metadata: languageName: unknown linkType: soft +"@alwatr/render-state@npm:^1.0.2": + version: 1.0.2 + resolution: "@alwatr/render-state@npm:1.0.2" + dependencies: + "@alwatr/logger": "npm:^4.0.2" + "@alwatr/package-tracer": "npm:^1.0.2" + checksum: 10c0/4d3d352b786ebc4dd3e5d117db2c83398212ccc95722deeb8ad636a49ff173bb08abbe58360fd89e2bd2ed3190bfe61489429c8f012404d537c73a7b9daeed94 + languageName: node + linkType: hard + "@alwatr/signal@workspace:^, @alwatr/signal@workspace:packages/signal": version: 0.0.0-use.local resolution: "@alwatr/signal@workspace:packages/signal" dependencies: - "@alwatr/logger": "npm:^4.0.3" "@alwatr/nano-build": "npm:^2.0.0" + "@alwatr/nanolib": "npm:^1.0.2" "@alwatr/observable": "workspace:^" "@alwatr/prettier-config": "npm:^1.0.5" "@alwatr/tsconfig-base": "npm:^1.3.1" From fbc7a9f21898e3a96f28ce4a105460af0cf513eb Mon Sep 17 00:00:00 2001 From: Mohammad Honarvar Date: Fri, 11 Oct 2024 19:22:38 +0330 Subject: [PATCH 5/6] fix: prevent `sideeffects` from `build` result --- packages/context/src/main.ts | 2 +- packages/fetch-state-machine/src/base.ts | 2 +- packages/fsm/src/base.ts | 2 +- packages/observable/src/observable.ts | 2 +- packages/remote-context/src/base.ts | 3 +++ packages/signal/src/logger.ts | 2 +- packages/signal/src/signal.ts | 2 +- packages/signal/src/trigger.ts | 2 +- 8 files changed, 10 insertions(+), 7 deletions(-) diff --git a/packages/context/src/main.ts b/packages/context/src/main.ts index 769ca5ee..f04a0ba9 100644 --- a/packages/context/src/main.ts +++ b/packages/context/src/main.ts @@ -1,7 +1,7 @@ import {packageTracer} from '@alwatr/nanolib'; import {AlwatrObservable, type AlwatrObservableConfig} from '@alwatr/observable'; -packageTracer.add(__package_name__, __package_version__); +__dev_mode__: packageTracer.add(__package_name__, __package_version__); /** * Alwatr Context. diff --git a/packages/fetch-state-machine/src/base.ts b/packages/fetch-state-machine/src/base.ts index 8a2d412c..5cd19a55 100644 --- a/packages/fetch-state-machine/src/base.ts +++ b/packages/fetch-state-machine/src/base.ts @@ -6,7 +6,7 @@ import { } from '@alwatr/fsm'; import {packageTracer, fetch, type FetchOptions} from '@alwatr/nanolib'; -packageTracer.add(__package_name__, __package_version__); +__dev_mode__: packageTracer.add(__package_name__, __package_version__); export type ServerRequestState = 'initial' | 'loading' | 'failed' | 'complete'; export type ServerRequestEvent = 'request' | 'requestFailed' | 'requestSucceeded'; diff --git a/packages/fsm/src/base.ts b/packages/fsm/src/base.ts index e7a36049..4fbb064e 100644 --- a/packages/fsm/src/base.ts +++ b/packages/fsm/src/base.ts @@ -3,7 +3,7 @@ import {AlwatrObservable, type AlwatrObservableConfig} from '@alwatr/observable' import type {ActionName, ActionRecord, StateEventDetail, StateRecord} from './type.js'; -packageTracer.add(__package_name__, __package_version__); +__dev_mode__: packageTracer.add(__package_name__, __package_version__); export interface AlwatrFluxStateMachineConfig extends AlwatrObservableConfig { initialState: S; diff --git a/packages/observable/src/observable.ts b/packages/observable/src/observable.ts index e1907443..ad568ed3 100644 --- a/packages/observable/src/observable.ts +++ b/packages/observable/src/observable.ts @@ -2,7 +2,7 @@ import {createLogger, packageTracer} from '@alwatr/nanolib'; import type {SubscribeOptions, ListenerCallback, Observer, SubscribeResult, AlwatrObservableInterface} from './type.js'; -packageTracer.add(__package_name__, __package_version__); +__dev_mode__: packageTracer.add(__package_name__, __package_version__); export interface AlwatrObservableConfig { name: string; diff --git a/packages/remote-context/src/base.ts b/packages/remote-context/src/base.ts index 2b3d4029..99d619d5 100644 --- a/packages/remote-context/src/base.ts +++ b/packages/remote-context/src/base.ts @@ -4,6 +4,9 @@ import { type ServerRequestEvent, type ServerRequestState, } from '@alwatr/fetch-state-machine'; +import {packageTracer} from '@alwatr/nanolib'; + +__dev_mode__: packageTracer.add(__package_name__, __package_version__); type ExtraState = 'offlineCheck' | 'reloading' | 'reloadingFailed'; export type ServerContextState = ServerRequestState | ExtraState; diff --git a/packages/signal/src/logger.ts b/packages/signal/src/logger.ts index dff36d9a..0edafefd 100644 --- a/packages/signal/src/logger.ts +++ b/packages/signal/src/logger.ts @@ -1,3 +1,3 @@ import {createLogger} from '@alwatr/nanolib'; -export const logger = createLogger(__package_name__); +export const logger = /* #__PURE__ */ createLogger(__package_name__); diff --git a/packages/signal/src/signal.ts b/packages/signal/src/signal.ts index f5971e1a..c3e5a2c8 100644 --- a/packages/signal/src/signal.ts +++ b/packages/signal/src/signal.ts @@ -2,7 +2,7 @@ import {AlwatrObservable, type AlwatrObservableConfig} from '@alwatr/observable' import {logger} from './logger.js'; -logger.logFileModule?.('signal'); +__dev_mode__: logger.logFileModule?.('signal'); /** * Alwatr event signal with special message (event detail). diff --git a/packages/signal/src/trigger.ts b/packages/signal/src/trigger.ts index 2f854340..1261d525 100644 --- a/packages/signal/src/trigger.ts +++ b/packages/signal/src/trigger.ts @@ -2,7 +2,7 @@ import {AlwatrObservable, type AlwatrObservableConfig} from '@alwatr/observable' import {logger} from './logger.js'; -logger.logFileModule?.('trigger'); +__dev_mode__: logger.logFileModule?.('trigger'); /** * Alwatr event signal without any message (no event detail). From 4dc21b2bf01d7176aea6e0d81cdc3e1f77b97e0f Mon Sep 17 00:00:00 2001 From: Mohammad Honarvar Date: Fri, 11 Oct 2024 21:21:20 +0330 Subject: [PATCH 6/6] deps: update --- package.json | 2 +- packages/context/package.json | 10 +- packages/fetch-state-machine/package.json | 10 +- packages/flux/package.json | 8 +- packages/fsm/package.json | 10 +- packages/observable/package.json | 10 +- packages/remote-context/package.json | 10 +- packages/signal/package.json | 10 +- yarn.lock | 355 ++++++++++++---------- 9 files changed, 229 insertions(+), 196 deletions(-) diff --git a/package.json b/package.json index fce8bf29..3ced0b87 100644 --- a/package.json +++ b/package.json @@ -40,7 +40,7 @@ }, "devDependencies": { "@alwatr/eslint-config": "^1.2.9", - "@alwatr/prettier-config": "^1.0.5", + "@alwatr/prettier-config": "^1.0.6", "@lerna-lite/changed": "^3.9.3", "@lerna-lite/cli": "^3.9.3", "@lerna-lite/diff": "^3.9.3", diff --git a/packages/context/package.json b/packages/context/package.json index dbaa4a7b..ad6e3107 100644 --- a/packages/context/package.json +++ b/packages/context/package.json @@ -56,14 +56,14 @@ "clean": "rm -rfv dist *.tsbuildinfo" }, "dependencies": { - "@alwatr/nanolib": "^1.0.2", + "@alwatr/nanolib": "^1.2.0", "@alwatr/observable": "workspace:^" }, "devDependencies": { - "@alwatr/nano-build": "^2.0.0", - "@alwatr/prettier-config": "^1.0.5", - "@alwatr/tsconfig-base": "^1.3.1", - "@alwatr/type-helper": "^2.0.1", + "@alwatr/nano-build": "^2.0.1", + "@alwatr/prettier-config": "^1.0.6", + "@alwatr/tsconfig-base": "^1.3.2", + "@alwatr/type-helper": "^2.0.2", "@types/node": "^22.7.5", "jest": "^29.7.0", "typescript": "^5.6.3" diff --git a/packages/fetch-state-machine/package.json b/packages/fetch-state-machine/package.json index 22d9da95..dea1bf4a 100644 --- a/packages/fetch-state-machine/package.json +++ b/packages/fetch-state-machine/package.json @@ -58,13 +58,13 @@ }, "dependencies": { "@alwatr/fsm": "workspace:^", - "@alwatr/nanolib": "^1.0.2" + "@alwatr/nanolib": "^1.2.0" }, "devDependencies": { - "@alwatr/nano-build": "^2.0.0", - "@alwatr/prettier-config": "^1.0.5", - "@alwatr/tsconfig-base": "^1.3.1", - "@alwatr/type-helper": "^2.0.1", + "@alwatr/nano-build": "^2.0.1", + "@alwatr/prettier-config": "^1.0.6", + "@alwatr/tsconfig-base": "^1.3.2", + "@alwatr/type-helper": "^2.0.2", "@types/node": "^22.7.5", "jest": "^29.7.0", "typescript": "^5.6.3" diff --git a/packages/flux/package.json b/packages/flux/package.json index 3d4df4bf..f626db6b 100644 --- a/packages/flux/package.json +++ b/packages/flux/package.json @@ -64,10 +64,10 @@ "@alwatr/signal": "workspace:^" }, "devDependencies": { - "@alwatr/nano-build": "^2.0.0", - "@alwatr/prettier-config": "^1.0.5", - "@alwatr/tsconfig-base": "^1.3.1", - "@alwatr/type-helper": "^2.0.1", + "@alwatr/nano-build": "^2.0.1", + "@alwatr/prettier-config": "^1.0.6", + "@alwatr/tsconfig-base": "^1.3.2", + "@alwatr/type-helper": "^2.0.2", "@types/node": "^22.7.5", "jest": "^29.7.0", "typescript": "^5.6.3" diff --git a/packages/fsm/package.json b/packages/fsm/package.json index 67d68203..ff1135a0 100644 --- a/packages/fsm/package.json +++ b/packages/fsm/package.json @@ -58,14 +58,14 @@ "clean": "rm -rfv dist *.tsbuildinfo" }, "dependencies": { - "@alwatr/nanolib": "^1.0.2", + "@alwatr/nanolib": "^1.2.0", "@alwatr/observable": "workspace:^" }, "devDependencies": { - "@alwatr/nano-build": "^2.0.0", - "@alwatr/prettier-config": "^1.0.5", - "@alwatr/tsconfig-base": "^1.3.1", - "@alwatr/type-helper": "^2.0.1", + "@alwatr/nano-build": "^2.0.1", + "@alwatr/prettier-config": "^1.0.6", + "@alwatr/tsconfig-base": "^1.3.2", + "@alwatr/type-helper": "^2.0.2", "@types/node": "^22.7.5", "jest": "^29.7.0", "typescript": "^5.6.3" diff --git a/packages/observable/package.json b/packages/observable/package.json index 63c228d3..f6974628 100644 --- a/packages/observable/package.json +++ b/packages/observable/package.json @@ -56,13 +56,13 @@ "clean": "rm -rfv dist *.tsbuildinfo" }, "dependencies": { - "@alwatr/nanolib": "^1.0.2" + "@alwatr/nanolib": "^1.2.0" }, "devDependencies": { - "@alwatr/nano-build": "^2.0.0", - "@alwatr/prettier-config": "^1.0.5", - "@alwatr/tsconfig-base": "^1.3.1", - "@alwatr/type-helper": "^2.0.1", + "@alwatr/nano-build": "^2.0.1", + "@alwatr/prettier-config": "^1.0.6", + "@alwatr/tsconfig-base": "^1.3.2", + "@alwatr/type-helper": "^2.0.2", "@types/node": "^22.7.5", "jest": "^29.7.0", "typescript": "^5.6.3" diff --git a/packages/remote-context/package.json b/packages/remote-context/package.json index f3d9c9ce..169accc6 100644 --- a/packages/remote-context/package.json +++ b/packages/remote-context/package.json @@ -60,13 +60,13 @@ }, "dependencies": { "@alwatr/fetch-state-machine": "workspace:^", - "@alwatr/nanolib": "^1.0.2" + "@alwatr/nanolib": "^1.2.0" }, "devDependencies": { - "@alwatr/nano-build": "^2.0.0", - "@alwatr/prettier-config": "^1.0.5", - "@alwatr/tsconfig-base": "^1.3.1", - "@alwatr/type-helper": "^2.0.1", + "@alwatr/nano-build": "^2.0.1", + "@alwatr/prettier-config": "^1.0.6", + "@alwatr/tsconfig-base": "^1.3.2", + "@alwatr/type-helper": "^2.0.2", "@types/node": "^22.7.5", "jest": "^29.7.0", "typescript": "^5.6.3" diff --git a/packages/signal/package.json b/packages/signal/package.json index 01f1eb84..b53a20b8 100644 --- a/packages/signal/package.json +++ b/packages/signal/package.json @@ -56,14 +56,14 @@ "clean": "rm -rfv dist *.tsbuildinfo" }, "dependencies": { - "@alwatr/nanolib": "^1.0.2", + "@alwatr/nanolib": "^1.2.0", "@alwatr/observable": "workspace:^" }, "devDependencies": { - "@alwatr/nano-build": "^2.0.0", - "@alwatr/prettier-config": "^1.0.5", - "@alwatr/tsconfig-base": "^1.3.1", - "@alwatr/type-helper": "^2.0.1", + "@alwatr/nano-build": "^2.0.1", + "@alwatr/prettier-config": "^1.0.6", + "@alwatr/tsconfig-base": "^1.3.2", + "@alwatr/type-helper": "^2.0.2", "@types/node": "^22.7.5", "jest": "^29.7.0", "typescript": "^5.6.3" diff --git a/yarn.lock b/yarn.lock index 95324e6b..8982e005 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5,13 +5,13 @@ __metadata: version: 8 cacheKey: 10c0 -"@alwatr/async-queue@npm:^1.3.2": - version: 1.3.2 - resolution: "@alwatr/async-queue@npm:1.3.2" +"@alwatr/async-queue@npm:^1.3.5": + version: 1.3.5 + resolution: "@alwatr/async-queue@npm:1.3.5" dependencies: - "@alwatr/flatomise": "npm:^1.2.2" - "@alwatr/package-tracer": "npm:^1.0.2" - checksum: 10c0/f8c4e4e317280318c46aada5438975df87b7f62f83d1fa0811f7a1685dd457c8a2d0b2d7ee625bb24f8148e43977855e012c2aa4626b8292636ef00fe9bae4ce + "@alwatr/flatomise": "npm:^1.2.5" + "@alwatr/package-tracer": "npm:^1.0.5" + checksum: 10c0/0ed46f3ff07c54a8a67d1824a994436148ff88c53f90a3392ef55ef76434b658da7aedf094d65ef08511fd4fdad06121470dff0e7d0b87bfd81a820bea451f53 languageName: node linkType: hard @@ -19,46 +19,46 @@ __metadata: version: 0.0.0-use.local resolution: "@alwatr/context@workspace:packages/context" dependencies: - "@alwatr/nano-build": "npm:^2.0.0" - "@alwatr/nanolib": "npm:^1.0.2" + "@alwatr/nano-build": "npm:^2.0.1" + "@alwatr/nanolib": "npm:^1.2.0" "@alwatr/observable": "workspace:^" - "@alwatr/prettier-config": "npm:^1.0.5" - "@alwatr/tsconfig-base": "npm:^1.3.1" - "@alwatr/type-helper": "npm:^2.0.1" + "@alwatr/prettier-config": "npm:^1.0.6" + "@alwatr/tsconfig-base": "npm:^1.3.2" + "@alwatr/type-helper": "npm:^2.0.2" "@types/node": "npm:^22.7.5" jest: "npm:^29.7.0" typescript: "npm:^5.6.3" languageName: unknown linkType: soft -"@alwatr/dedupe@npm:^1.1.2": - version: 1.1.2 - resolution: "@alwatr/dedupe@npm:1.1.2" +"@alwatr/dedupe@npm:^1.1.5": + version: 1.1.5 + resolution: "@alwatr/dedupe@npm:1.1.5" dependencies: - "@alwatr/global-scope": "npm:^1.1.24" - "@alwatr/package-tracer": "npm:^1.0.2" - "@alwatr/polyfill-has-own": "npm:^1.1.2" - checksum: 10c0/2f53bbd475568ad388d8364cd76206c958ee6145a8f817d5c8dc4b8502e9f280e79d9cbf21ee499013a9b4c71c5c3a156305e3d12087288f816cabc17949b5b8 + "@alwatr/global-this": "npm:^1.0.0" + "@alwatr/package-tracer": "npm:^1.0.5" + "@alwatr/polyfill-has-own": "npm:^1.1.5" + checksum: 10c0/c4e07e978e66a0f013a76336f370d753d716707e738dc6ac4230e18fcd18333eb93ca8bb78ab80f29266ae0c27cd5b053bff4b8d600bf74933917c2654afde2d languageName: node linkType: hard -"@alwatr/deep-clone@npm:^1.1.2": - version: 1.1.2 - resolution: "@alwatr/deep-clone@npm:1.1.2" +"@alwatr/deep-clone@npm:^1.1.5": + version: 1.1.5 + resolution: "@alwatr/deep-clone@npm:1.1.5" dependencies: - "@alwatr/package-tracer": "npm:^1.0.2" - checksum: 10c0/679373e380742c151f3615128c849349850ff5681be27f392baa89b2b7810bd10937cc8dd556f277bb925b3a671362a30c840668e380463617d38633d1a94c88 + "@alwatr/package-tracer": "npm:^1.0.5" + checksum: 10c0/fac2afae0c53f25d1807ffabf94795e923ffd6f4078a3f5b856aab35858f4c46829d5c2d634402f4339b932413700411c63155a5b520b78aa74f502c3fb8e996 languageName: node linkType: hard -"@alwatr/delay@npm:^1.0.2": - version: 1.0.2 - resolution: "@alwatr/delay@npm:1.0.2" +"@alwatr/delay@npm:^1.0.5": + version: 1.0.5 + resolution: "@alwatr/delay@npm:1.0.5" dependencies: - "@alwatr/global-scope": "npm:^1.1.24" - "@alwatr/package-tracer": "npm:^1.0.2" - "@alwatr/parse-duration": "npm:^1.1.2" - checksum: 10c0/e8e69a757919b9679d3642004f6cfd43ff116716b9205bcdc4681e5ec7432017a97d63065145230e34be6b04be8aad4ea1d5531f45840317ba6edf8b82a30795 + "@alwatr/global-this": "npm:^1.0.0" + "@alwatr/package-tracer": "npm:^1.0.5" + "@alwatr/parse-duration": "npm:^1.1.5" + checksum: 10c0/e0cea457818eca33bbb8fbc7cfa63d8f19b5dacf730db07599c3f157eba911375bcdcf2cfcaf2a57db516c6a3607f8286bdd6dba8769eb81ef1dfac91d0c010d languageName: node linkType: hard @@ -78,50 +78,59 @@ __metadata: languageName: node linkType: hard +"@alwatr/exit-hook@npm:^1.1.5": + version: 1.1.5 + resolution: "@alwatr/exit-hook@npm:1.1.5" + dependencies: + "@alwatr/package-tracer": "npm:^1.0.5" + checksum: 10c0/15394623348558f568b02b6e1af58c375c10c3f551808272b201da63d54639e0e7fb69debeb8771b45322d5a3ea3a5091fe3083a557695a75d5fb7eccbab7b59 + languageName: node + linkType: hard + "@alwatr/fetch-state-machine@workspace:^, @alwatr/fetch-state-machine@workspace:packages/fetch-state-machine": version: 0.0.0-use.local resolution: "@alwatr/fetch-state-machine@workspace:packages/fetch-state-machine" dependencies: "@alwatr/fsm": "workspace:^" - "@alwatr/nano-build": "npm:^2.0.0" - "@alwatr/nanolib": "npm:^1.0.2" - "@alwatr/prettier-config": "npm:^1.0.5" - "@alwatr/tsconfig-base": "npm:^1.3.1" - "@alwatr/type-helper": "npm:^2.0.1" + "@alwatr/nano-build": "npm:^2.0.1" + "@alwatr/nanolib": "npm:^1.2.0" + "@alwatr/prettier-config": "npm:^1.0.6" + "@alwatr/tsconfig-base": "npm:^1.3.2" + "@alwatr/type-helper": "npm:^2.0.2" "@types/node": "npm:^22.7.5" jest: "npm:^29.7.0" typescript: "npm:^5.6.3" languageName: unknown linkType: soft -"@alwatr/fetch@npm:^4.1.2": - version: 4.1.2 - resolution: "@alwatr/fetch@npm:4.1.2" +"@alwatr/fetch@npm:^4.1.5": + version: 4.1.5 + resolution: "@alwatr/fetch@npm:4.1.5" dependencies: - "@alwatr/delay": "npm:^1.0.2" - "@alwatr/global-scope": "npm:^1.1.24" - "@alwatr/logger": "npm:^4.0.2" - "@alwatr/package-tracer": "npm:^1.0.2" - "@alwatr/parse-duration": "npm:^1.1.2" - checksum: 10c0/f5f3c8839e878ad947810c6ce9516faf28a531279f89544ab9b06a3da7313ebabb8f0c9584c4c0f5ae0fb1828e1b6c1739f56cbbb020763b3213cba085f9c56d + "@alwatr/delay": "npm:^1.0.5" + "@alwatr/global-this": "npm:^1.0.0" + "@alwatr/logger": "npm:^4.0.5" + "@alwatr/package-tracer": "npm:^1.0.5" + "@alwatr/parse-duration": "npm:^1.1.5" + checksum: 10c0/d265ccd8ecca0c712defc25ad33a2d363fb2ac8b4e8a0778d756b9a6d8ab1bb3f558dba698c219c5a2ee0e899be5dc6512382321ab1dbed38ffccf77a6842bc2 languageName: node linkType: hard -"@alwatr/flat-string@npm:^1.1.2": - version: 1.1.2 - resolution: "@alwatr/flat-string@npm:1.1.2" +"@alwatr/flat-string@npm:^1.1.5": + version: 1.1.5 + resolution: "@alwatr/flat-string@npm:1.1.5" dependencies: - "@alwatr/package-tracer": "npm:^1.0.2" - checksum: 10c0/f5f47224eb587e1b8174026eb20d2ff9d8f4e7069f896aecd86752f81ff01463195e2cb35dd7102e37bfe391ea87ba930bab1799479c1eaaa8800171a665c5df + "@alwatr/package-tracer": "npm:^1.0.5" + checksum: 10c0/184e7ff1dd23ca4894b4a4f640ad33d05db38b26b3995ee31b22353677cf878b0d55861d4913e80b2ce7cd2d118f5241c338596ec7681fbaf8fa278907529b00 languageName: node linkType: hard -"@alwatr/flatomise@npm:^1.2.2": - version: 1.2.2 - resolution: "@alwatr/flatomise@npm:1.2.2" +"@alwatr/flatomise@npm:^1.2.5": + version: 1.2.5 + resolution: "@alwatr/flatomise@npm:1.2.5" dependencies: - "@alwatr/package-tracer": "npm:^1.0.2" - checksum: 10c0/a97acb58023ad57c27619dbc65fc24e70c2b790fc05dfa03d46874ec51b0de3d9080dd2a7aee13548819461d4b919595bb5b60a41110fab19d6290da1308c9b4 + "@alwatr/package-tracer": "npm:^1.0.5" + checksum: 10c0/3beea11b243b9b14e005648472773f042a9463931b0c0fddb3da6ff9e1abb28d3d992c81d992bccd3b7441d9aa76204780180aee0c083e5da31284dc0f0411e5 languageName: node linkType: hard @@ -132,13 +141,13 @@ __metadata: "@alwatr/context": "workspace:^" "@alwatr/fetch-state-machine": "workspace:^" "@alwatr/fsm": "workspace:^" - "@alwatr/nano-build": "npm:^2.0.0" + "@alwatr/nano-build": "npm:^2.0.1" "@alwatr/observable": "workspace:^" - "@alwatr/prettier-config": "npm:^1.0.5" + "@alwatr/prettier-config": "npm:^1.0.6" "@alwatr/remote-context": "workspace:^" "@alwatr/signal": "workspace:^" - "@alwatr/tsconfig-base": "npm:^1.3.1" - "@alwatr/type-helper": "npm:^2.0.1" + "@alwatr/tsconfig-base": "npm:^1.3.2" + "@alwatr/type-helper": "npm:^2.0.2" "@types/node": "npm:^22.7.5" jest: "npm:^29.7.0" typescript: "npm:^5.6.3" @@ -149,85 +158,100 @@ __metadata: version: 0.0.0-use.local resolution: "@alwatr/fsm@workspace:packages/fsm" dependencies: - "@alwatr/nano-build": "npm:^2.0.0" - "@alwatr/nanolib": "npm:^1.0.2" + "@alwatr/nano-build": "npm:^2.0.1" + "@alwatr/nanolib": "npm:^1.2.0" "@alwatr/observable": "workspace:^" - "@alwatr/prettier-config": "npm:^1.0.5" - "@alwatr/tsconfig-base": "npm:^1.3.1" - "@alwatr/type-helper": "npm:^2.0.1" + "@alwatr/prettier-config": "npm:^1.0.6" + "@alwatr/tsconfig-base": "npm:^1.3.2" + "@alwatr/type-helper": "npm:^2.0.2" "@types/node": "npm:^22.7.5" jest: "npm:^29.7.0" typescript: "npm:^5.6.3" languageName: unknown linkType: soft -"@alwatr/global-scope@npm:^1.1.24": - version: 1.1.24 - resolution: "@alwatr/global-scope@npm:1.1.24" +"@alwatr/global-this@npm:^1.0.0": + version: 1.0.0 + resolution: "@alwatr/global-this@npm:1.0.0" dependencies: - "@alwatr/package-tracer": "npm:^1.0.2" - checksum: 10c0/37e6864e9077ae8b5419e8a8126c2c7f280011c71c7a9fbb7d2f1e54e72925ec1a4852fd5d166c42138e82bc017abdcfb6c952703232d8bfb48adf7f049f5926 + "@alwatr/package-tracer": "npm:^1.0.5" + checksum: 10c0/9972f49c5aea76dd1b79171e3c3f8d2c2176e9c6d5e3ed3838fce27aa18b8542b20749d1ab2b7eeae2a9d00d7893559313281a609eb94db69c061f1f3d6b714d languageName: node linkType: hard -"@alwatr/is-number@npm:^1.1.2": - version: 1.1.2 - resolution: "@alwatr/is-number@npm:1.1.2" +"@alwatr/is-number@npm:^1.1.5": + version: 1.1.5 + resolution: "@alwatr/is-number@npm:1.1.5" dependencies: - "@alwatr/package-tracer": "npm:^1.0.2" - checksum: 10c0/a48c2f2fe17712c9a26ba37ab1b36266beee00d154089dd254ac3783da3e321a272e441403f192df38bb58aa728388b14d37f1ccb94dee48c8bcfedaba7e41ea + "@alwatr/package-tracer": "npm:^1.0.5" + checksum: 10c0/3ddee47146963487ecd03da929f7c5dff396182070c6b09d4586f067842e2483583f51e34dc110dff5882ac4d0a528ff8bfd690ccba9004e815f491cc9bfb715 languageName: node linkType: hard -"@alwatr/local-storage@npm:^1.1.2": - version: 1.1.2 - resolution: "@alwatr/local-storage@npm:1.1.2" +"@alwatr/local-storage@npm:^1.1.5": + version: 1.1.5 + resolution: "@alwatr/local-storage@npm:1.1.5" dependencies: - "@alwatr/package-tracer": "npm:^1.0.2" - checksum: 10c0/24a7210ef7d14f81710735fd1f8d77a11805bc181e5405b597bc1d584f73821c4293c64c0d1791db0f495944c51832b77808dcaa1e41021b0c6532314725e106 + "@alwatr/package-tracer": "npm:^1.0.5" + checksum: 10c0/7e0d089ea5fd8e2b506f751e05f0a8de78dd3438300aa59996bde58c868b13c06fa8f4ba61820ed5612eee87ee3179f9b847cbe75f97c6cb79fbaced09f8c0be languageName: node linkType: hard -"@alwatr/logger@npm:^4.0.2": - version: 4.0.2 - resolution: "@alwatr/logger@npm:4.0.2" +"@alwatr/logger@npm:^4.0.5": + version: 4.0.5 + resolution: "@alwatr/logger@npm:4.0.5" dependencies: - "@alwatr/package-tracer": "npm:^1.0.2" - "@alwatr/platform-info": "npm:^1.2.2" - checksum: 10c0/aa1b9a6cce2d7d48d2b4a444e5e2b3a3c87d49303c2ce3540032ed9f4c0bb6c5ed2f57b5b7648f7ee8e87e0dd5dffe0ee830eea18cc3be71b2f73f6bda287b8c + "@alwatr/package-tracer": "npm:^1.0.5" + "@alwatr/platform-info": "npm:^1.2.5" + checksum: 10c0/028fdc67a6b02cdb8c50693337dccaf405314dc7c619cc2b99faf1c275e22d905c95e3d9860966435f9b33f7bfe221d824a11419e1f83c3cec1daf83179a8a86 languageName: node linkType: hard -"@alwatr/nano-build@npm:^2.0.0": - version: 2.0.0 - resolution: "@alwatr/nano-build@npm:2.0.0" +"@alwatr/nano-build@npm:^2.0.1": + version: 2.0.1 + resolution: "@alwatr/nano-build@npm:2.0.1" dependencies: esbuild: "npm:^0.24.0" bin: nano-build: ./nano-build.cjs - checksum: 10c0/3955646d4a3c3f88fd5a37e86afb1934a870686bad9dc4aecc005d2aac4d3e74b22a765b41c9c528c2e1f151e4f25943bfc14765ee09c05cbc34886afabee4fc + checksum: 10c0/9fdf1e89431fcb5623e561475293f54485fdb6daa855dae28e934af4dcd59efbb2b1abcce6e805cc9999be12f5685fbfb9b32cc7c8c207a4f64ea1e2b0dd1c9c languageName: node linkType: hard -"@alwatr/nanolib@npm:^1.0.2": - version: 1.0.2 - resolution: "@alwatr/nanolib@npm:1.0.2" - dependencies: - "@alwatr/async-queue": "npm:^1.3.2" - "@alwatr/dedupe": "npm:^1.1.2" - "@alwatr/deep-clone": "npm:^1.1.2" - "@alwatr/delay": "npm:^1.0.2" - "@alwatr/fetch": "npm:^4.1.2" - "@alwatr/flat-string": "npm:^1.1.2" - "@alwatr/flatomise": "npm:^1.2.2" - "@alwatr/is-number": "npm:^1.1.2" - "@alwatr/local-storage": "npm:^1.1.2" - "@alwatr/logger": "npm:^4.0.2" - "@alwatr/package-tracer": "npm:^1.0.2" - "@alwatr/parse-duration": "npm:^1.1.2" - "@alwatr/platform-info": "npm:^1.2.2" - "@alwatr/render-state": "npm:^1.0.2" - checksum: 10c0/5cbc89cdaa1aeea9aa5528917bd6963eca0b7cdfd89cef3b3f7d92ed0ca49a48c6cff8e0ad59ef9504c15ade0b562c7e2b5eb59f228b09439ec61ce9d73525bb +"@alwatr/nanolib@npm:^1.2.0": + version: 1.2.0 + resolution: "@alwatr/nanolib@npm:1.2.0" + dependencies: + "@alwatr/async-queue": "npm:^1.3.5" + "@alwatr/dedupe": "npm:^1.1.5" + "@alwatr/deep-clone": "npm:^1.1.5" + "@alwatr/delay": "npm:^1.0.5" + "@alwatr/exit-hook": "npm:^1.1.5" + "@alwatr/fetch": "npm:^4.1.5" + "@alwatr/flat-string": "npm:^1.1.5" + "@alwatr/flatomise": "npm:^1.2.5" + "@alwatr/is-number": "npm:^1.1.5" + "@alwatr/local-storage": "npm:^1.1.5" + "@alwatr/logger": "npm:^4.0.5" + "@alwatr/node-fs": "npm:^1.1.5" + "@alwatr/package-tracer": "npm:^1.0.5" + "@alwatr/parse-duration": "npm:^1.1.5" + "@alwatr/platform-info": "npm:^1.2.5" + "@alwatr/render-state": "npm:^1.0.5" + "@alwatr/unicode-digits": "npm:^1.1.0" + checksum: 10c0/0784418c4414f03d3d2f58ec5eb981b53e9d75a7977096a3d70222cf7327c28e54f8f6b1e431092f6e87c1cfae84609d5ed405d7161ab4e5838bc510f1714e14 + languageName: node + linkType: hard + +"@alwatr/node-fs@npm:^1.1.5": + version: 1.1.5 + resolution: "@alwatr/node-fs@npm:1.1.5" + dependencies: + "@alwatr/async-queue": "npm:^1.3.5" + "@alwatr/flat-string": "npm:^1.1.5" + "@alwatr/logger": "npm:^4.0.5" + "@alwatr/package-tracer": "npm:^1.0.5" + checksum: 10c0/0dfa6ee3cd67ef786cdfb9c3ab48a4748899db50abde1a10d322eade196e100e1b39ed355724474e49b8f3da3d5062f3f22a68ff4f27591d3da0df776655e797 languageName: node linkType: hard @@ -235,56 +259,56 @@ __metadata: version: 0.0.0-use.local resolution: "@alwatr/observable@workspace:packages/observable" dependencies: - "@alwatr/nano-build": "npm:^2.0.0" - "@alwatr/nanolib": "npm:^1.0.2" - "@alwatr/prettier-config": "npm:^1.0.5" - "@alwatr/tsconfig-base": "npm:^1.3.1" - "@alwatr/type-helper": "npm:^2.0.1" + "@alwatr/nano-build": "npm:^2.0.1" + "@alwatr/nanolib": "npm:^1.2.0" + "@alwatr/prettier-config": "npm:^1.0.6" + "@alwatr/tsconfig-base": "npm:^1.3.2" + "@alwatr/type-helper": "npm:^2.0.2" "@types/node": "npm:^22.7.5" jest: "npm:^29.7.0" typescript: "npm:^5.6.3" languageName: unknown linkType: soft -"@alwatr/package-tracer@npm:^1.0.2": - version: 1.0.2 - resolution: "@alwatr/package-tracer@npm:1.0.2" - checksum: 10c0/72700e5fd4e38356c4b87f13f98b815e457babea957616a5df69d97b46f1834f81753869250fe744ac7bc1c2a7d66366799d22c3db3e77e3f1ccbc925dfddbc5 +"@alwatr/package-tracer@npm:^1.0.5": + version: 1.0.5 + resolution: "@alwatr/package-tracer@npm:1.0.5" + checksum: 10c0/4ade05b1e46046eec097e79d896bdd59f0ae9014be8ef16a888b9f94ef4138621bc80ebcd7a8cdaee7ce5591fbc1a452f8876459bd7c2ab4c622c84715551e9a languageName: node linkType: hard -"@alwatr/parse-duration@npm:^1.1.2": - version: 1.1.2 - resolution: "@alwatr/parse-duration@npm:1.1.2" +"@alwatr/parse-duration@npm:^1.1.5": + version: 1.1.5 + resolution: "@alwatr/parse-duration@npm:1.1.5" dependencies: - "@alwatr/is-number": "npm:^1.1.2" - "@alwatr/package-tracer": "npm:^1.0.2" - checksum: 10c0/6a33369e8e5590966f87e7c587daec846683debfc6d6778568df09d057ecc1060af3a36601d74e3e5123d991e7d211ccea6fb469a3f26e96bed5fb229076ca2e + "@alwatr/is-number": "npm:^1.1.5" + "@alwatr/package-tracer": "npm:^1.0.5" + checksum: 10c0/d95343483db43e9ef00885a4cfc2bec03374b4e16ff26e360cd7df6a8193d14508dc1fc8a055906a6a5a7d7b2b35ec5096da67bd5878721993fe5d14fb243c3d languageName: node linkType: hard -"@alwatr/platform-info@npm:^1.2.2": - version: 1.2.2 - resolution: "@alwatr/platform-info@npm:1.2.2" +"@alwatr/platform-info@npm:^1.2.5": + version: 1.2.5 + resolution: "@alwatr/platform-info@npm:1.2.5" dependencies: - "@alwatr/package-tracer": "npm:^1.0.2" - checksum: 10c0/a0180d5a1681f0e2b947ae43b7c190b079a7661ef3ad0321d24acae055ba38c6df0845472f2007454b16178e369d5dbc88ffb7afeaeb1bbd04a93c4bcedc5101 + "@alwatr/package-tracer": "npm:^1.0.5" + checksum: 10c0/a9d0cfff43d00d1a6d349c96b70297907111c5d305e5c0936e58e28b1f7f6ba28d4de4ca21c6d2e5f73dc3c2836e3b69633bc20e57d26095018b17f41a374711 languageName: node linkType: hard -"@alwatr/polyfill-has-own@npm:^1.1.2": - version: 1.1.2 - resolution: "@alwatr/polyfill-has-own@npm:1.1.2" +"@alwatr/polyfill-has-own@npm:^1.1.5": + version: 1.1.5 + resolution: "@alwatr/polyfill-has-own@npm:1.1.5" dependencies: - "@alwatr/package-tracer": "npm:^1.0.2" - checksum: 10c0/e5d3f854470927e783f232f9397e083dddad49e9ab5740e6fc03c523ed489b7b373c81bf6374e127222233ce2dd0018a8731c7a2364c1b0b7d2b3ed87bf53db1 + "@alwatr/package-tracer": "npm:^1.0.5" + checksum: 10c0/943d9d1a3c20d50cfdf3fc08dd4186ae31b364fea270a755a29852452d6400f8ee0ef6bc5217a0d5d9e1072d38e3cbfc3762b8db04ef39285f916bdce2fc96fb languageName: node linkType: hard -"@alwatr/prettier-config@npm:^1.0.5": - version: 1.0.5 - resolution: "@alwatr/prettier-config@npm:1.0.5" - checksum: 10c0/577b5aa9cfb23137e870eaea7aec6b1409dedac5bbba37f771bfedecbb0dae497f83e59bd0b6146db9868b38f8d54643aeee3917fd6dd9ce83a64aa9b2155ff3 +"@alwatr/prettier-config@npm:^1.0.6": + version: 1.0.6 + resolution: "@alwatr/prettier-config@npm:1.0.6" + checksum: 10c0/f1e04e2414dafe8c6dc3576c5f709d81eca57a4fe7b35518da08376dfe5e045061bc4e5cfeba16f6063ace45f177b23fb3063a337c8e263b1e79da682d49aa87 languageName: node linkType: hard @@ -293,24 +317,24 @@ __metadata: resolution: "@alwatr/remote-context@workspace:packages/remote-context" dependencies: "@alwatr/fetch-state-machine": "workspace:^" - "@alwatr/nano-build": "npm:^2.0.0" - "@alwatr/nanolib": "npm:^1.0.2" - "@alwatr/prettier-config": "npm:^1.0.5" - "@alwatr/tsconfig-base": "npm:^1.3.1" - "@alwatr/type-helper": "npm:^2.0.1" + "@alwatr/nano-build": "npm:^2.0.1" + "@alwatr/nanolib": "npm:^1.2.0" + "@alwatr/prettier-config": "npm:^1.0.6" + "@alwatr/tsconfig-base": "npm:^1.3.2" + "@alwatr/type-helper": "npm:^2.0.2" "@types/node": "npm:^22.7.5" jest: "npm:^29.7.0" typescript: "npm:^5.6.3" languageName: unknown linkType: soft -"@alwatr/render-state@npm:^1.0.2": - version: 1.0.2 - resolution: "@alwatr/render-state@npm:1.0.2" +"@alwatr/render-state@npm:^1.0.5": + version: 1.0.5 + resolution: "@alwatr/render-state@npm:1.0.5" dependencies: - "@alwatr/logger": "npm:^4.0.2" - "@alwatr/package-tracer": "npm:^1.0.2" - checksum: 10c0/4d3d352b786ebc4dd3e5d117db2c83398212ccc95722deeb8ad636a49ff173bb08abbe58360fd89e2bd2ed3190bfe61489429c8f012404d537c73a7b9daeed94 + "@alwatr/logger": "npm:^4.0.5" + "@alwatr/package-tracer": "npm:^1.0.5" + checksum: 10c0/7e6dee8e98baac15549e7d1708016590784011cdcb224676ec4189d65b4d904b58912c1c476942f189f2181f781e87c697d4699373aa19d978de45e168de88d9 languageName: node linkType: hard @@ -318,29 +342,38 @@ __metadata: version: 0.0.0-use.local resolution: "@alwatr/signal@workspace:packages/signal" dependencies: - "@alwatr/nano-build": "npm:^2.0.0" - "@alwatr/nanolib": "npm:^1.0.2" + "@alwatr/nano-build": "npm:^2.0.1" + "@alwatr/nanolib": "npm:^1.2.0" "@alwatr/observable": "workspace:^" - "@alwatr/prettier-config": "npm:^1.0.5" - "@alwatr/tsconfig-base": "npm:^1.3.1" - "@alwatr/type-helper": "npm:^2.0.1" + "@alwatr/prettier-config": "npm:^1.0.6" + "@alwatr/tsconfig-base": "npm:^1.3.2" + "@alwatr/type-helper": "npm:^2.0.2" "@types/node": "npm:^22.7.5" jest: "npm:^29.7.0" typescript: "npm:^5.6.3" languageName: unknown linkType: soft -"@alwatr/tsconfig-base@npm:^1.3.1": - version: 1.3.1 - resolution: "@alwatr/tsconfig-base@npm:1.3.1" - checksum: 10c0/72be717fe0697e607d2175e590b01fe5e0b4d8b90d4896c63e09394132b3f57a4c0393d511533ee293ce9e0f1b292a93e9fa03c3c1683fcc2c156b0b6a421d58 +"@alwatr/tsconfig-base@npm:^1.3.2": + version: 1.3.2 + resolution: "@alwatr/tsconfig-base@npm:1.3.2" + checksum: 10c0/d92d80881d380502249a4febfd78dc8051f0b77ce92069f7f31e091cfbb504e58dce1c456ce2a3b069d5773238dcfe1ee912623a954c48a6d6df0385d4048cd2 languageName: node linkType: hard -"@alwatr/type-helper@npm:^2.0.1": - version: 2.0.1 - resolution: "@alwatr/type-helper@npm:2.0.1" - checksum: 10c0/a7cefd250cd0c3a0e1e1b9033d2fbd30708673db8155386c8aea10953054d2ad168efd9e799ee201ebdf3be86352ac898904f7687d8375c9ce8d073e18c78990 +"@alwatr/type-helper@npm:^2.0.2": + version: 2.0.2 + resolution: "@alwatr/type-helper@npm:2.0.2" + checksum: 10c0/0ea8ac7b531737d3e832c447dc62e2ff74f79e856f8d98790ee34a57fcd88db81a05eb1306a54a9a4f805eee9059a7721a3b543ea10fc27f7ee29b5c732ec207 + languageName: node + linkType: hard + +"@alwatr/unicode-digits@npm:^1.1.0": + version: 1.1.0 + resolution: "@alwatr/unicode-digits@npm:1.1.0" + dependencies: + "@alwatr/package-tracer": "npm:^1.0.5" + checksum: 10c0/f4eba6fecd4cc83a938e9be37caf2395cedd66229d8992985e6fccfef186e8e6d7ca5420bd5dd2c6c7848303027557cb0a9b2927daa1535fe15b06a02ede47a5 languageName: node linkType: hard @@ -2482,7 +2515,7 @@ __metadata: resolution: "alwatr-flux@workspace:." dependencies: "@alwatr/eslint-config": "npm:^1.2.9" - "@alwatr/prettier-config": "npm:^1.0.5" + "@alwatr/prettier-config": "npm:^1.0.6" "@lerna-lite/changed": "npm:^3.9.3" "@lerna-lite/cli": "npm:^3.9.3" "@lerna-lite/diff": "npm:^3.9.3"