diff --git a/.vscode/settings.json b/.vscode/settings.json index 74dfd5b2..8d3460fe 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -20,23 +20,13 @@ "*.njk": "html", "ssh-config": "ssh_config" }, - "markdownlint.ignore": [ - "**/CHANGELOG.md" - ], + "markdownlint.ignore": ["**/CHANGELOG.md"], "cSpell.language": "en,fa,fa-IR", - "cSpell.words": [ - "Alwatr" - ], + "cSpell.words": ["Alwatr"], "typescript.tsdk": ".yarn/sdks/typescript/lib", "git.autoStash": true, - "git.branchProtection": [ - "main", - "next" - ], - "githubPullRequests.ignoredPullRequestBranches": [ - "main", - "next" - ], + "git.branchProtection": ["main", "next"], + "githubPullRequests.ignoredPullRequestBranches": ["main", "next"], "search.exclude": { "**/.yarn": true, "**/.pnp.*": true diff --git a/.yarn/sdks/prettier/bin/prettier.cjs b/.yarn/sdks/prettier/bin/prettier.cjs index 5efad688..2ab31a70 100755 --- a/.yarn/sdks/prettier/bin/prettier.cjs +++ b/.yarn/sdks/prettier/bin/prettier.cjs @@ -4,7 +4,7 @@ const {existsSync} = require(`fs`); const {createRequire} = require(`module`); const {resolve} = require(`path`); -const relPnpApiPath = "../../../../.pnp.cjs"; +const relPnpApiPath = '../../../../.pnp.cjs'; const absPnpApiPath = resolve(__dirname, relPnpApiPath); const absRequire = createRequire(absPnpApiPath); diff --git a/.yarn/sdks/prettier/index.cjs b/.yarn/sdks/prettier/index.cjs index 8758e367..31206a7f 100644 --- a/.yarn/sdks/prettier/index.cjs +++ b/.yarn/sdks/prettier/index.cjs @@ -4,7 +4,7 @@ const {existsSync} = require(`fs`); const {createRequire} = require(`module`); const {resolve} = require(`path`); -const relPnpApiPath = "../../../.pnp.cjs"; +const relPnpApiPath = '../../../.pnp.cjs'; const absPnpApiPath = resolve(__dirname, relPnpApiPath); const absRequire = createRequire(absPnpApiPath); diff --git a/core/storage-client/CHANGELOG.md b/core/storage-client/CHANGELOG.md deleted file mode 100644 index 65f8355e..00000000 --- a/core/storage-client/CHANGELOG.md +++ /dev/null @@ -1,204 +0,0 @@ -# Change Log - -All notable changes to this project will be documented in this file. -See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. - -## [1.1.2](https://github.com/AliMD/alwatr/compare/@alwatr/storage-client@1.1.1...@alwatr/storage-client@1.1.2) (2023-09-12) - -**Note:** Version bump only for package @alwatr/storage-client - -## [1.1.1](https://github.com/AliMD/alwatr/compare/@alwatr/storage-client@1.1.0...@alwatr/storage-client@1.1.1) (2023-09-12) - -**Note:** Version bump only for package @alwatr/storage-client - -# 1.1.0 (2023-09-12) - -# 1.0.0 (2023-06-14) - -# 0.32.0 (2023-05-27) - -### Bug Fixes - -* **storage-client:** `get` return type ([dfe9728](https://github.com/AliMD/alwatr/commit/dfe9728b033d74f25891cab02fc19a153f760896)) -* **storage-client:** remove some extra types ([017b8ed](https://github.com/AliMD/alwatr/commit/017b8ed262cf009a7ce3eeb9c141761d3d32ba81)) - -### Features - -* **storage-client:** compatibel with new storage server response types ([9b88472](https://github.com/AliMD/alwatr/commit/9b88472ce4f037010c291f5e15b2a480a8439fdf)) - -# 0.31.0 (2023-05-08) - -### Bug Fixes - -* logger new api ([fd86f32](https://github.com/AliMD/alwatr/commit/fd86f324b98dc1d22654f4597a033e8ff10c4dad)) -* new logger api ([9d83a7d](https://github.com/AliMD/alwatr/commit/9d83a7dc5c103bc3bb4282dacfd85fa998915300)) -* **storage-client:** serviceRequest type ([66758e1](https://github.com/AliMD/alwatr/commit/66758e12a6da369f9d2ff90b57a470ff08413f7b)) - -### Features - -* **storage-client:** `cacheApiResponse` method ([4d6ca79](https://github.com/AliMD/alwatr/commit/4d6ca793ef46f1eabed7ed5e07a2fa3234811a1b)) -* **storage-client:** `link` method ([25e2250](https://github.com/AliMD/alwatr/commit/25e22507004d230f809884bbb88d02410571db53)) -* **storage-client:** add touch method ([5a347b3](https://github.com/AliMD/alwatr/commit/5a347b316408c53ed3f5947fed9c1fff41c0c13c)) - -# 0.30.0 (2023-03-06) - -# 0.29.0 (2023-02-10) - -# 0.28.0 (2023-01-20) - -### Bug Fixes - -* **storage-client:** export AlwatrStorageClientConfig ([9d626c2](https://github.com/AliMD/alwatr/commit/9d626c28898c7d97776896317d246b8483ecbe5e)) - -# 0.27.0 (2022-12-29) - -### Bug Fixes - -* review issue ([e5d192c](https://github.com/AliMD/alwatr/commit/e5d192cbee6917c2de01146cf8bd026895724ab8)) - -### Features - -* **type:** define alwatrRegistredList ([25406c2](https://github.com/AliMD/alwatr/commit/25406c268f39cf3e055ea05c9fc7b50bd3dd0a17)) - -# 0.26.0 (2022-12-22) - -### Bug Fixes - -* set correct path ([d01ce6f](https://github.com/AliMD/alwatr/commit/d01ce6ffa749a5e3e0e11e35b4ed61d75d61fec9)) -* **storage-client:** build issue ([20df110](https://github.com/AliMD/alwatr/commit/20df1106f8fad4dc916d44467584000cace07541)) -* **storage-client:** getStorage queryParameters ([441c2f8](https://github.com/AliMD/alwatr/commit/441c2f88719d0fd98eb70d26aa4ea79a47acd6b9)) -* **storage-client:** import type ([c1ef85d](https://github.com/AliMD/alwatr/commit/c1ef85d74be28998f5b5ce6b55bb92a6c40fcd89)) -* tsconfig ([e96dcd3](https://github.com/AliMD/alwatr/commit/e96dcd30774a9f06f7d051e0504192cbbe019e35)) - -### Features - -* improve error debugging ([1fba504](https://github.com/AliMD/alwatr/commit/1fba50400a1e8ececc10bbe8ea11cc8dcea2289c)) -* **storage-client:** error codes ([fc5fe8a](https://github.com/AliMD/alwatr/commit/fc5fe8a650d881b224c9421da3bb34565e1e3fee)) -* **storage-client:** more data validate on get ([4a8200c](https://github.com/AliMD/alwatr/commit/4a8200c42da20fe21dbdf198ef1c3708186e23cc)) - -# [1.0.0](https://github.com/AliMD/alwatr/compare/v0.32.0...v1.0.0) (2023-06-14) - -**Note:** Version bump only for package @alwatr/storage-client - -# [0.32.0](https://github.com/AliMD/alwatr/compare/v0.31.0...v0.32.0) (2023-05-27) - -### Bug Fixes - -- **storage-client:** `get` return type ([dfe9728](https://github.com/AliMD/alwatr/commit/dfe9728b033d74f25891cab02fc19a153f760896)) -- **storage-client:** remove some extra types ([017b8ed](https://github.com/AliMD/alwatr/commit/017b8ed262cf009a7ce3eeb9c141761d3d32ba81)) - -### Features - -- **storage-client:** compatibel with new storage server response types ([9b88472](https://github.com/AliMD/alwatr/commit/9b88472ce4f037010c291f5e15b2a480a8439fdf)) - -# [0.31.0](https://github.com/AliMD/alwatr/compare/v0.30.0...v0.31.0) (2023-05-08) - -### Bug Fixes - -- logger new api ([fd86f32](https://github.com/AliMD/alwatr/commit/fd86f324b98dc1d22654f4597a033e8ff10c4dad)) -- new logger api ([9d83a7d](https://github.com/AliMD/alwatr/commit/9d83a7dc5c103bc3bb4282dacfd85fa998915300)) -- **storage-client:** serviceRequest type ([66758e1](https://github.com/AliMD/alwatr/commit/66758e12a6da369f9d2ff90b57a470ff08413f7b)) - -### Features - -- **storage-client:** `cacheApiResponse` method ([4d6ca79](https://github.com/AliMD/alwatr/commit/4d6ca793ef46f1eabed7ed5e07a2fa3234811a1b)) -- **storage-client:** `link` method ([25e2250](https://github.com/AliMD/alwatr/commit/25e22507004d230f809884bbb88d02410571db53)) -- **storage-client:** add touch method ([5a347b3](https://github.com/AliMD/alwatr/commit/5a347b316408c53ed3f5947fed9c1fff41c0c13c)) - -# [0.30.0](https://github.com/AliMD/alwatr/compare/v0.29.0...v0.30.0) (2023-03-06) - -**Note:** Version bump only for package @alwatr/storage-client - -# [0.29.0](https://github.com/AliMD/alwatr/compare/v0.28.0...v0.29.0) (2023-02-10) - -**Note:** Version bump only for package @alwatr/storage-client - -# [0.28.0](https://github.com/AliMD/alwatr/compare/v0.27.0...v0.28.0) (2023-01-20) - -### Bug Fixes - -- review issue ([e5d192c](https://github.com/AliMD/alwatr/commit/e5d192cbee6917c2de01146cf8bd026895724ab8)) -- **storage-client:** export AlwatrStorageClientConfig ([9d626c2](https://github.com/AliMD/alwatr/commit/9d626c28898c7d97776896317d246b8483ecbe5e)) - -### Features - -- **type:** define alwatrRegistredList ([25406c2](https://github.com/AliMD/alwatr/commit/25406c268f39cf3e055ea05c9fc7b50bd3dd0a17)) - -# [0.27.0](https://github.com/AliMD/alwatr/compare/v0.26.0...v0.27.0) (2022-12-29) - -**Note:** Version bump only for package @alwatr/storage-client - -# [0.26.0](https://github.com/AliMD/alwatr/compare/v0.25.0...v0.26.0) (2022-12-22) - -### Bug Fixes - -- set correct path ([d01ce6f](https://github.com/AliMD/alwatr/commit/d01ce6ffa749a5e3e0e11e35b4ed61d75d61fec9)) -- **storage-client:** build issue ([20df110](https://github.com/AliMD/alwatr/commit/20df1106f8fad4dc916d44467584000cace07541)) -- **storage-client:** getStorage queryParameters ([441c2f8](https://github.com/AliMD/alwatr/commit/441c2f88719d0fd98eb70d26aa4ea79a47acd6b9)) -- **storage-client:** import type ([c1ef85d](https://github.com/AliMD/alwatr/commit/c1ef85d74be28998f5b5ce6b55bb92a6c40fcd89)) -- tsconfig ([e96dcd3](https://github.com/AliMD/alwatr/commit/e96dcd30774a9f06f7d051e0504192cbbe019e35)) - -### Features - -- improve error debugging ([1fba504](https://github.com/AliMD/alwatr/commit/1fba50400a1e8ececc10bbe8ea11cc8dcea2289c)) -- **storage-client:** error codes ([fc5fe8a](https://github.com/AliMD/alwatr/commit/fc5fe8a650d881b224c9421da3bb34565e1e3fee)) -- **storage-client:** more data validate on get ([4a8200c](https://github.com/AliMD/alwatr/commit/4a8200c42da20fe21dbdf198ef1c3708186e23cc)) - -# [0.25.0](https://github.com/AliMD/alwatr/compare/v0.24.1...v0.25.0) (2022-12-07) - -### Features - -- **storage-client:** dynamic storage name ([07cf5fb](https://github.com/AliMD/alwatr/commit/07cf5fb2086d1f8ad0f731470a5dfb313038b51c)) -- **storage-client:** dynamic storage name ([2f0ca5b](https://github.com/AliMD/alwatr/commit/2f0ca5b85241c2298efc503e5f14f994a35be484)) - -## [0.24.1](https://github.com/AliMD/alwatr/compare/v0.24.0...v0.24.1) (2022-12-01) - -**Note:** Version bump only for package @alwatr/storage-client - -# [0.24.0](https://github.com/AliMD/alwatr/compare/v0.23.0...v0.24.0) (2022-11-28) - -### Bug Fixes - -- remove \_updatedBy ([d8d5c83](https://github.com/AliMD/alwatr/commit/d8d5c83884bbd30566001ff84faf9e840503471c)) -- update types ([44cc57f](https://github.com/AliMD/alwatr/commit/44cc57f97a99ed810dae3fde39c9525bd0e8ff3c)) -- use ~ for package version ([4e027ff](https://github.com/AliMD/alwatr/commit/4e027ff63875e03b088ebcdc1bdf2495f4494eec)) - -### Features - -- **storage-client:** use document object from fetch ([1ab7f5d](https://github.com/AliMD/alwatr/commit/1ab7f5da462975bc3b765663d9e3ff97c214a4e3)) - -# [0.23.0](https://github.com/AliMD/alwatr/compare/v0.22.1...v0.23.0) (2022-11-23) - -**Note:** Version bump only for package @alwatr/storage-client - -## [0.22.1](https://github.com/AliMD/alwatr/compare/v0.22.0...v0.22.1) (2022-11-21) - -### Bug Fixes - -- **storage-client:** types issues ([c083bd0](https://github.com/AliMD/alwatr/commit/c083bd08cd2364bc64ebd1e60c668f37784d8502)) - -# [0.22.0](https://github.com/AliMD/alwatr/compare/v0.21.0...v0.22.0) (2022-11-20) - -### Bug Fixes - -- **storage-client:** fetch in has method ([a6f9098](https://github.com/AliMD/alwatr/commit/a6f909821510c8da2fe9ab7340d3f010165a84c8)) -- **storage-client:** nodejs memory leak issue ([d5e0cde](https://github.com/AliMD/alwatr/commit/d5e0cde091b8eba450a443ceba737aa1cac4fd3e)) -- **storage-client:** remove all null as value ([6fbc6e5](https://github.com/AliMD/alwatr/commit/6fbc6e52e4b3d64ee5f347df6dc92673ce79e7ed)) -- **storage-client:** return array of string in keys ([b838f1f](https://github.com/AliMD/alwatr/commit/b838f1f0161b3b76edc855e227161851bebaf3be)) -- **storage-client:** return boolean has in method ([68123cd](https://github.com/AliMD/alwatr/commit/68123cd92d2ec085dc72d948a163c26796b27adc)) -- **storage-client:** review!!!!! ([c803991](https://github.com/AliMD/alwatr/commit/c8039914aed6b1ad98d60de8b39122542811121b)) -- **storage-client:** types ([f277771](https://github.com/AliMD/alwatr/commit/f277771973908d280b1879e96e77446c9f88bbe9)) -- **storage-client:** use dynamic token ([3c68806](https://github.com/AliMD/alwatr/commit/3c68806762c027af7a2d5e019d08de6a8b079661)) - -### Features - -- **storage-client:** AlwatrStorageClient class structure ([164f44e](https://github.com/AliMD/alwatr/commit/164f44e1028b325941d1b90be670b8f4194bfc75)) -- **storage-client:** forAll method ([40f802a](https://github.com/AliMD/alwatr/commit/40f802aa02b02d8d9341822b36708fc81f16cbce)) -- **storage-client:** get method ([3f2d1a6](https://github.com/AliMD/alwatr/commit/3f2d1a6363daa006a38c40f95d9b528937d38896)) -- **storage-client:** get, set, delete, getAll, keys methods ([2da68ba](https://github.com/AliMD/alwatr/commit/2da68ba81ed5b18fba1c5a63a7e22cbcd98dda47)) -- **storage-client:** has method ([ba64195](https://github.com/AliMD/alwatr/commit/ba6419512b75f3bd17a7d86fc2d41a41d8179d8d)) -- **storage-client:** new package ([cfe72da](https://github.com/AliMD/alwatr/commit/cfe72da75f49f66c4d03875b0cb7c29966bb1c84)) - -### Performance Improvements - -- **storage-client:** refactor for perf improve and keep alive ([ed0b743](https://github.com/AliMD/alwatr/commit/ed0b743a8936602b63d92c216d2d65f6a31d74cf)) diff --git a/core/storage-engine/CHANGELOG.md b/core/storage-engine/CHANGELOG.md deleted file mode 100644 index f6f3be84..00000000 --- a/core/storage-engine/CHANGELOG.md +++ /dev/null @@ -1,242 +0,0 @@ -# Change Log - -All notable changes to this project will be documented in this file. -See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. - -## [1.1.2](https://github.com/AliMD/alwatr/compare/@alwatr/storage-engine@1.1.1...@alwatr/storage-engine@1.1.2) (2023-09-12) - -**Note:** Version bump only for package @alwatr/storage-engine - -## [1.1.1](https://github.com/AliMD/alwatr/compare/@alwatr/storage-engine@1.1.0...@alwatr/storage-engine@1.1.1) (2023-09-12) - -**Note:** Version bump only for package @alwatr/storage-engine - -# 1.1.0 (2023-09-12) - -# 1.0.0 (2023-06-14) - -# 0.32.0 (2023-05-27) - -### Bug Fixes - -* import util/node ([ca9e995](https://github.com/AliMD/alwatr/commit/ca9e995567ad267c1730e1c98f9dbbd03ab90331)) - -# 0.31.0 (2023-05-08) - -### Bug Fixes - -* logger new api ([fd86f32](https://github.com/AliMD/alwatr/commit/fd86f324b98dc1d22654f4597a033e8ff10c4dad)) -* new logger api ([9d83a7d](https://github.com/AliMD/alwatr/commit/9d83a7dc5c103bc3bb4282dacfd85fa998915300)) -* **storage-engine:** dev mode ([65491ce](https://github.com/AliMD/alwatr/commit/65491ce7b7ff0756d8e475442d175b880b9894db)) -* **storage-engine:** new _$save method ([21cdf51](https://github.com/AliMD/alwatr/commit/21cdf5138bfced0177af4538d80f88fe2d415f67)) - -### Features - -* **storage-engine:** none blocking save storage ([f668ba0](https://github.com/AliMD/alwatr/commit/f668ba0232c0b3372ee14c40d35b1f7e577b15c7)) -* **storage-engine:** save new empty storage after open ([85bb855](https://github.com/AliMD/alwatr/commit/85bb8551e2dfe976d191d7c7243c29fe71433e54)) - -# 0.30.0 (2023-03-06) - -# 0.29.0 (2023-02-10) - -# 0.28.0 (2023-01-20) - -### Bug Fixes - -* version in package.json ([403baa5](https://github.com/AliMD/alwatr/commit/403baa53159db2a0fff5b3651769b85e66b13191)) - -### Features - -* **storage-engine:** migrate old storages ([10fc378](https://github.com/AliMD/alwatr/commit/10fc3785ee22bf397dd1448cf0c1568be65fb8cb)) -* **type:** id in storage meta type ([146b9eb](https://github.com/AliMD/alwatr/commit/146b9eb4ebc748eda852988328b88abb75651945)) - -# 0.27.0 (2022-12-29) - -### Bug Fixes - -* review issue ([e5d192c](https://github.com/AliMD/alwatr/commit/e5d192cbee6917c2de01146cf8bd026895724ab8)) - -# 0.26.0 (2022-12-22) - -### Bug Fixes - -* set correct path ([d01ce6f](https://github.com/AliMD/alwatr/commit/d01ce6ffa749a5e3e0e11e35b4ed61d75d61fec9)) -* **storage-engine:** AlwatrDocumentStorage ([ca9a7bf](https://github.com/AliMD/alwatr/commit/ca9a7bf5e17b333538e749ada5d481a06c847101)) -* **storage-engine:** export type ([4dbd79f](https://github.com/AliMD/alwatr/commit/4dbd79f746484c870f877b98d556930e9c35b3f9)) -* **storage-engine:** work with new types ([e86c9cd](https://github.com/AliMD/alwatr/commit/e86c9cd8de6fb6b73f3b5e185b4cc7a7afe81a83)) -* tsconfig ([e96dcd3](https://github.com/AliMD/alwatr/commit/e96dcd30774a9f06f7d051e0504192cbbe019e35)) - -# [1.0.0](https://github.com/AliMD/alwatr/compare/v0.32.0...v1.0.0) (2023-06-14) - -**Note:** Version bump only for package @alwatr/storage-engine - -# [0.32.0](https://github.com/AliMD/alwatr/compare/v0.31.0...v0.32.0) (2023-05-27) - -### Bug Fixes - -- import util/node ([ca9e995](https://github.com/AliMD/alwatr/commit/ca9e995567ad267c1730e1c98f9dbbd03ab90331)) - -# [0.31.0](https://github.com/AliMD/alwatr/compare/v0.30.0...v0.31.0) (2023-05-08) - -### Bug Fixes - -- logger new api ([fd86f32](https://github.com/AliMD/alwatr/commit/fd86f324b98dc1d22654f4597a033e8ff10c4dad)) -- new logger api ([9d83a7d](https://github.com/AliMD/alwatr/commit/9d83a7dc5c103bc3bb4282dacfd85fa998915300)) -- **storage-engine:** dev mode ([65491ce](https://github.com/AliMD/alwatr/commit/65491ce7b7ff0756d8e475442d175b880b9894db)) -- **storage-engine:** new \_$save method ([21cdf51](https://github.com/AliMD/alwatr/commit/21cdf5138bfced0177af4538d80f88fe2d415f67)) - -### Features - -- **storage-engine:** none blocking save storage ([f668ba0](https://github.com/AliMD/alwatr/commit/f668ba0232c0b3372ee14c40d35b1f7e577b15c7)) -- **storage-engine:** save new empty storage after open ([85bb855](https://github.com/AliMD/alwatr/commit/85bb8551e2dfe976d191d7c7243c29fe71433e54)) - -# [0.30.0](https://github.com/AliMD/alwatr/compare/v0.29.0...v0.30.0) (2023-03-06) - -**Note:** Version bump only for package @alwatr/storage-engine - -# [0.29.0](https://github.com/AliMD/alwatr/compare/v0.28.0...v0.29.0) (2023-02-10) - -**Note:** Version bump only for package @alwatr/storage-engine - -# [0.28.0](https://github.com/AliMD/alwatr/compare/v0.27.0...v0.28.0) (2023-01-20) - -### Bug Fixes - -- review issue ([e5d192c](https://github.com/AliMD/alwatr/commit/e5d192cbee6917c2de01146cf8bd026895724ab8)) -- version in package.json ([403baa5](https://github.com/AliMD/alwatr/commit/403baa53159db2a0fff5b3651769b85e66b13191)) - -### Features - -- **storage-engine:** migrate old storages ([10fc378](https://github.com/AliMD/alwatr/commit/10fc3785ee22bf397dd1448cf0c1568be65fb8cb)) -- **type:** id in storage meta type ([146b9eb](https://github.com/AliMD/alwatr/commit/146b9eb4ebc748eda852988328b88abb75651945)) - -# [0.27.0](https://github.com/AliMD/alwatr/compare/v0.26.0...v0.27.0) (2022-12-29) - -**Note:** Version bump only for package @alwatr/storage-engine - -# [0.26.0](https://github.com/AliMD/alwatr/compare/v0.25.0...v0.26.0) (2022-12-22) - -### Bug Fixes - -- set correct path ([d01ce6f](https://github.com/AliMD/alwatr/commit/d01ce6ffa749a5e3e0e11e35b4ed61d75d61fec9)) -- **storage-engine:** AlwatrDocumentStorage ([ca9a7bf](https://github.com/AliMD/alwatr/commit/ca9a7bf5e17b333538e749ada5d481a06c847101)) -- **storage-engine:** export type ([4dbd79f](https://github.com/AliMD/alwatr/commit/4dbd79f746484c870f877b98d556930e9c35b3f9)) -- **storage-engine:** work with new types ([e86c9cd](https://github.com/AliMD/alwatr/commit/e86c9cd8de6fb6b73f3b5e185b4cc7a7afe81a83)) -- tsconfig ([e96dcd3](https://github.com/AliMD/alwatr/commit/e96dcd30774a9f06f7d051e0504192cbbe019e35)) - -# [0.25.0](https://github.com/AliMD/alwatr/compare/v0.24.1...v0.25.0) (2022-12-07) - -**Note:** Version bump only for package @alwatr/storage-engine - -## [0.24.1](https://github.com/AliMD/alwatr/compare/v0.24.0...v0.24.1) (2022-12-01) - -**Note:** Version bump only for package @alwatr/storage-engine - -# [0.24.0](https://github.com/AliMD/alwatr/compare/v0.23.0...v0.24.0) (2022-11-28) - -### Bug Fixes - -- remove \_updatedBy ([d8d5c83](https://github.com/AliMD/alwatr/commit/d8d5c83884bbd30566001ff84faf9e840503471c)) -- **storage-engine:** generic get type ([a287362](https://github.com/AliMD/alwatr/commit/a2873624fe2fd8071944528dba2e0c1d4dd006cc)) -- **storage-engine:** update types ([26bc0ae](https://github.com/AliMD/alwatr/commit/26bc0ae48b0b41cc2a9d18d3bb2883fafb447ede)) -- **storage-engine:** util types ([41f97fd](https://github.com/AliMD/alwatr/commit/41f97fdbd4c902dc11b82b230a805bbf7b77ec81)) -- update types ([44cc57f](https://github.com/AliMD/alwatr/commit/44cc57f97a99ed810dae3fde39c9525bd0e8ff3c)) -- use ~ for package version ([4e027ff](https://github.com/AliMD/alwatr/commit/4e027ff63875e03b088ebcdc1bdf2495f4494eec)) - -### Features - -- **storage-engine:** improve provider debug ([c9cfc8f](https://github.com/AliMD/alwatr/commit/c9cfc8f4914887d4861e67f5a39670a646e9900a)) - -# [0.23.0](https://github.com/AliMD/alwatr/compare/v0.22.1...v0.23.0) (2022-11-23) - -**Note:** Version bump only for package @alwatr/storage-engine - -## [0.22.1](https://github.com/AliMD/alwatr/compare/v0.22.0...v0.22.1) (2022-11-21) - -### Bug Fixes - -- **storage-engine:** auto_increment issue ([ff7bdca](https://github.com/AliMD/alwatr/commit/ff7bdca2138398a3f69551e8235c3d1a9a0fae60)) - -# [0.22.0](https://github.com/AliMD/alwatr/compare/v0.21.0...v0.22.0) (2022-11-20) - -### Features - -- **storage-engine:** storage meta and auto_increment id ([3726947](https://github.com/AliMD/alwatr/commit/37269479e483e3108f3b8ef6706ea1d701290222)) - -# [0.21.0](https://github.com/AliMD/alwatr/compare/v0.20.0...v0.21.0) (2022-11-13) - -**Note:** Version bump only for package @alwatr/storage-engine - -# [0.20.0](https://github.com/AliMD/alwatr/compare/v0.19.0...v0.20.0) (2022-11-05) - -### Bug Fixes - -- **storage:** clear cached keys ([fa2c4be](https://github.com/AliMD/alwatr/commit/fa2c4bed8e2fd84c5eeca57f8f2ff8b87030a58b)) -- **storage:** export DocumentListStorage type ([ea6cc7d](https://github.com/AliMD/alwatr/commit/ea6cc7dd996e6cacba85b71c8448ac22965b8c1b)) - -# [0.19.0](https://github.com/AliMD/alwatr/compare/v0.18.0...v0.19.0) (2022-11-01) - -### Bug Fixes - -- Import error in webpack ([1a52f67](https://github.com/AliMD/alwatr/commit/1a52f67ff2788c51abd13126f34353c26aa669c3)) - -# [0.18.0](https://github.com/AliMD/alwatr/compare/v0.17.0...v0.18.0) (2022-10-22) - -**Note:** Version bump only for package @alwatr/storage-engine - -# [0.17.0](https://github.com/AliMD/alwatr/compare/v0.16.1...v0.17.0) (2022-10-21) - -### Bug Fixes - -- **storage:** \_last ket ([a1c452a](https://github.com/AliMD/alwatr/commit/a1c452a50c7b53b03765bf37556264a64ac3ed55)) - -## [0.16.1](https://github.com/AliMD/alwatr/compare/v0.16.0...v0.16.1) (2022-09-10) - -### Bug Fixes - -- **storage:** import exitHook ([c371381](https://github.com/AliMD/alwatr/commit/c37138121f7882239d7ecd38e3496f17919845a2)) -- **storage:** update AlwatrStorageProviderConfig ([bd33e36](https://github.com/AliMD/alwatr/commit/bd33e367c04cf0b7b11e803709da210a75318767)) - -### Features - -- **storage:** force save abd exist hook to prevent data lost ([e327d65](https://github.com/AliMD/alwatr/commit/e327d657217d2e814b007e69eeca4f5c42758979)) - -# [0.16.0](https://github.com/AliMD/alwatr/compare/v0.15.0...v0.16.0) (2022-09-08) - -### Bug Fixes - -- **storage:** Clear cached keys on new docId ([2aa648c](https://github.com/AliMD/alwatr/commit/2aa648c4543cfef016b55d8389796445a118c73f)) - -### Features - -- **storage:** forEach ([cc26999](https://github.com/AliMD/alwatr/commit/cc26999e4303c54cdd18c79c4b4515ac50480a6d)) - -### Performance Improvements - -- **storage:** silent get ([c2cbd88](https://github.com/AliMD/alwatr/commit/c2cbd887f20031f86392aec6537bfd699a36480b)) - -# [0.15.0](https://github.com/AliMD/alwatr/compare/v0.14.0...v0.15.0) (2022-09-01) - -**Note:** Version bump only for package @alwatr/storage-engine - -# [0.14.0](https://github.com/AliMD/alwatr/compare/v0.13.0...v0.14.0) (2022-08-19) - -**Note:** Version bump only for package @alwatr/storage-engine - -# [0.13.0](https://github.com/AliMD/alwatr/compare/v0.12.0...v0.13.0) (2022-08-06) - -### Bug Fixes - -- **storage:** imports ([8d86a73](https://github.com/AliMD/alwatr/commit/8d86a73c85c117416e2ae0f4c9b879bfbc2d8a7c)) -- **storage:** provider config ([4497dda](https://github.com/AliMD/alwatr/commit/4497ddae726fce45b9d94a600fa19a07d2d6d298)) - -### Features - -- **provider:** show mwmory usage on new data loaded ([1a24df3](https://github.com/AliMD/alwatr/commit/1a24df32d057cfdc91a1c8d47c3a0346065b9a40)) -- **storage:** add \_createdBy and \_updatedBy ([1a70945](https://github.com/AliMD/alwatr/commit/1a70945bc61921f13d839adde25fdfe9fb37eaad)) -- **storage:** improve process and add has, storagePath, keys and length ([4e323ad](https://github.com/AliMD/alwatr/commit/4e323ad10ee0630cfa02edd191167b69e14743ff)) -- **storage:** provider ([92df9f3](https://github.com/AliMD/alwatr/commit/92df9f33a1c5b044d95e2efed51281eb08556c94)) - -# [0.12.0](https://github.com/AliMD/alwatr/compare/v0.11.0...v0.12.0) (2022-07-22) - -**Note:** Version bump only for package @alwatr/storage-engine diff --git a/demo/CHANGELOG.md b/demo/CHANGELOG.md index 4cc6becf..3b5d1d65 100644 --- a/demo/CHANGELOG.md +++ b/demo/CHANGELOG.md @@ -3,292 +3,292 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. -# [0.32.0](https://github.com/AliMD/alwatr/compare/v0.31.0...v0.32.0) (2023-05-27) +# [0.32.0](https://github.com/Alwatr/storage/compare/v0.31.0...v0.32.0) (2023-05-27) ### Bug Fixes -- import util/node ([ca9e995](https://github.com/AliMD/alwatr/commit/ca9e995567ad267c1730e1c98f9dbbd03ab90331)) +- import util/node ([ca9e995](https://github.com/Alwatr/storage/commit/ca9e995567ad267c1730e1c98f9dbbd03ab90331)) ### Features -- **es-bench:** enhance with optional count and warning ([0d21ee7](https://github.com/AliMD/alwatr/commit/0d21ee79210cf86b6b94904afdac09d5698c3cec)) -- **es-bench:** test flatStr ([961fe4e](https://github.com/AliMD/alwatr/commit/961fe4edb9bb686cc5da8325726eb19099149173)) +- **es-bench:** enhance with optional count and warning ([0d21ee7](https://github.com/Alwatr/storage/commit/0d21ee79210cf86b6b94904afdac09d5698c3cec)) +- **es-bench:** test flatStr ([961fe4e](https://github.com/Alwatr/storage/commit/961fe4edb9bb686cc5da8325726eb19099149173)) -# [0.31.0](https://github.com/AliMD/alwatr/compare/v0.30.0...v0.31.0) (2023-05-08) +# [0.31.0](https://github.com/Alwatr/storage/compare/v0.30.0...v0.31.0) (2023-05-08) ### Bug Fixes -- build issues ([e1060bc](https://github.com/AliMD/alwatr/commit/e1060bccbfe3c775c32b85e9b8eb601e48b2998c)) -- **demo/crypto:** `logger`s & `token` ([3a777fb](https://github.com/AliMD/alwatr/commit/3a777fb8c7d4deba682c1a84c472c502604f1d2b)) -- **demo/crypto:** log ([0e12cfd](https://github.com/AliMD/alwatr/commit/0e12cfd5fc97a4099353bc12a32d1db179be4720)) -- **demo/crypto:** revert last demo ([8a350a5](https://github.com/AliMD/alwatr/commit/8a350a5554907329cf2c6efc61ea8fef23a0a548)) -- **demo/crypto:** use all token status ([66ae2b7](https://github.com/AliMD/alwatr/commit/66ae2b7286bd8b422e31296f2c17fc477656ab29)) -- **demo/fsm:** new demo for new fsm ([32fa215](https://github.com/AliMD/alwatr/commit/32fa2155d73be3c1328b4926273176ee47505c39)) -- **demo/icon:** remove preloadIcon in demo ([72fe224](https://github.com/AliMD/alwatr/commit/72fe224aeebe4abd6508d0132e4f1943efbd9123)) -- **demo/storage-engine:** use save ([b21408f](https://github.com/AliMD/alwatr/commit/b21408f430608249bb82c418fcaf08b35f4d166e)) -- **demo/token:** import type ([046403a](https://github.com/AliMD/alwatr/commit/046403ab5e3a01642e9a171e2953f087d35c15c5)) -- **demo:** fix demo based on latest `fsm`s changes ([551e5fe](https://github.com/AliMD/alwatr/commit/551e5fe75fa106bc3252bbbbf108a68bf0dc19e7)) -- **demo:** token ([ad03a19](https://github.com/AliMD/alwatr/commit/ad03a19fc4970c01c39ac1b40e8d933a8d0539a0)) -- **es-bench:** logger dev mode ([c2d6cf3](https://github.com/AliMD/alwatr/commit/c2d6cf3753d28cd3c760ab9cd34efa3d3cc50232)) -- **es-bench:** remove `stat` ([9dc52c7](https://github.com/AliMD/alwatr/commit/9dc52c7801cde62d90e962c69635162c416e55ee)) -- **fsm/demo:** signalList ([d53202c](https://github.com/AliMD/alwatr/commit/d53202c7daf3f55682e47e78f9a8a1b8bc70441d)) -- **lint:** ignore es-bench ([a6f59e4](https://github.com/AliMD/alwatr/commit/a6f59e433f6104b934b24ae90676fd0273eea3e8)) -- new logger api ([9d83a7d](https://github.com/AliMD/alwatr/commit/9d83a7dc5c103bc3bb4282dacfd85fa998915300)) -- **storage-engine:** dev mode ([65491ce](https://github.com/AliMD/alwatr/commit/65491ce7b7ff0756d8e475442d175b880b9894db)) +- build issues ([e1060bc](https://github.com/Alwatr/storage/commit/e1060bccbfe3c775c32b85e9b8eb601e48b2998c)) +- **demo/crypto:** `logger`s & `token` ([3a777fb](https://github.com/Alwatr/storage/commit/3a777fb8c7d4deba682c1a84c472c502604f1d2b)) +- **demo/crypto:** log ([0e12cfd](https://github.com/Alwatr/storage/commit/0e12cfd5fc97a4099353bc12a32d1db179be4720)) +- **demo/crypto:** revert last demo ([8a350a5](https://github.com/Alwatr/storage/commit/8a350a5554907329cf2c6efc61ea8fef23a0a548)) +- **demo/crypto:** use all token status ([66ae2b7](https://github.com/Alwatr/storage/commit/66ae2b7286bd8b422e31296f2c17fc477656ab29)) +- **demo/fsm:** new demo for new fsm ([32fa215](https://github.com/Alwatr/storage/commit/32fa2155d73be3c1328b4926273176ee47505c39)) +- **demo/icon:** remove preloadIcon in demo ([72fe224](https://github.com/Alwatr/storage/commit/72fe224aeebe4abd6508d0132e4f1943efbd9123)) +- **demo/storage-engine:** use save ([b21408f](https://github.com/Alwatr/storage/commit/b21408f430608249bb82c418fcaf08b35f4d166e)) +- **demo/token:** import type ([046403a](https://github.com/Alwatr/storage/commit/046403ab5e3a01642e9a171e2953f087d35c15c5)) +- **demo:** fix demo based on latest `fsm`s changes ([551e5fe](https://github.com/Alwatr/storage/commit/551e5fe75fa106bc3252bbbbf108a68bf0dc19e7)) +- **demo:** token ([ad03a19](https://github.com/Alwatr/storage/commit/ad03a19fc4970c01c39ac1b40e8d933a8d0539a0)) +- **es-bench:** logger dev mode ([c2d6cf3](https://github.com/Alwatr/storage/commit/c2d6cf3753d28cd3c760ab9cd34efa3d3cc50232)) +- **es-bench:** remove `stat` ([9dc52c7](https://github.com/Alwatr/storage/commit/9dc52c7801cde62d90e962c69635162c416e55ee)) +- **fsm/demo:** signalList ([d53202c](https://github.com/Alwatr/storage/commit/d53202c7daf3f55682e47e78f9a8a1b8bc70441d)) +- **lint:** ignore es-bench ([a6f59e4](https://github.com/Alwatr/storage/commit/a6f59e433f6104b934b24ae90676fd0273eea3e8)) +- new logger api ([9d83a7d](https://github.com/Alwatr/storage/commit/9d83a7dc5c103bc3bb4282dacfd85fa998915300)) +- **storage-engine:** dev mode ([65491ce](https://github.com/Alwatr/storage/commit/65491ce7b7ff0756d8e475442d175b880b9894db)) ### Features -- **bench:** improve bench mark logs ([8d3121b](https://github.com/AliMD/alwatr/commit/8d3121be52493440906c9788a90c69e4c8d05789)) -- **bench:** test logger benchmark impact ([8ed98d8](https://github.com/AliMD/alwatr/commit/8ed98d8764834431c6806545660ba3a77eadc9c6)) -- **bench:** test object vs map ([f60a9fc](https://github.com/AliMD/alwatr/commit/f60a9fce1ca9491e3916fd40fb7a1443927f9d65)) -- **com-pwa/sign-in:** use simple hash for phoneNumber ([4b88494](https://github.com/AliMD/alwatr/commit/4b884940a536f02928692fbf8686c5ca04dea23a)) -- **crypto/hash:** new crc length strategy ([7a6c27e](https://github.com/AliMD/alwatr/commit/7a6c27e2f1b78df4aaa03a764f1b57477f1220fc)) -- **crypto:** add `user factory` demo ([94236c8](https://github.com/AliMD/alwatr/commit/94236c8ece66a1ced6cbf3f35603d2716ab1d5c1)) -- **demo/crypto:** random ([d820445](https://github.com/AliMD/alwatr/commit/d8204451e356c60572df3862edbdb02c06bf6b9f)) -- **demo/fsm:** new demo for state machine ([136b563](https://github.com/AliMD/alwatr/commit/136b563220310d8ec637b4e776c48c1d3bb62ecc)) -- **demo/fsm:** update ([6080469](https://github.com/AliMD/alwatr/commit/60804694ccab53b5c22ea636992f54ef1dde6a4b)) -- **demo/fsm:** update with new api ([9170694](https://github.com/AliMD/alwatr/commit/917069457630eecfa24c6fe83b7d34fb281a9d2d)) -- **demo:** crypto hash ([445b865](https://github.com/AliMD/alwatr/commit/445b8650a1abd98696b7fe954bcfca23f76afba8)) -- **es-bench:** compare `bind` vs `class` ([b949f87](https://github.com/AliMD/alwatr/commit/b949f87234353cd7238730aa26c353422fb06951)) -- **es-bench:** date locale ([7591331](https://github.com/AliMD/alwatr/commit/7591331f08adf1cad855cfcaeca98122d3045009)) -- **es-bench:** new bench model ([3ef68b0](https://github.com/AliMD/alwatr/commit/3ef68b034562a96a927d969d35a54966997aff6e)) -- **es-bench:** test node exist methods ([73bb495](https://github.com/AliMD/alwatr/commit/73bb495deea5df537e42f7c604ab262dba17026a)) -- **fsm:** custom signal callback ([47c22e9](https://github.com/AliMD/alwatr/commit/47c22e92a8a8085148b44b316d649b695ff8071a)) -- **validator:** add `phone` validation ([e5c19ca](https://github.com/AliMD/alwatr/commit/e5c19ca67e7c804cf3e63841890e68c11620d796)) - -# [0.30.0](https://github.com/AliMD/alwatr/compare/v0.29.0...v0.30.0) (2023-03-06) +- **bench:** improve bench mark logs ([8d3121b](https://github.com/Alwatr/storage/commit/8d3121be52493440906c9788a90c69e4c8d05789)) +- **bench:** test logger benchmark impact ([8ed98d8](https://github.com/Alwatr/storage/commit/8ed98d8764834431c6806545660ba3a77eadc9c6)) +- **bench:** test object vs map ([f60a9fc](https://github.com/Alwatr/storage/commit/f60a9fce1ca9491e3916fd40fb7a1443927f9d65)) +- **com-pwa/sign-in:** use simple hash for phoneNumber ([4b88494](https://github.com/Alwatr/storage/commit/4b884940a536f02928692fbf8686c5ca04dea23a)) +- **crypto/hash:** new crc length strategy ([7a6c27e](https://github.com/Alwatr/storage/commit/7a6c27e2f1b78df4aaa03a764f1b57477f1220fc)) +- **crypto:** add `user factory` demo ([94236c8](https://github.com/Alwatr/storage/commit/94236c8ece66a1ced6cbf3f35603d2716ab1d5c1)) +- **demo/crypto:** random ([d820445](https://github.com/Alwatr/storage/commit/d8204451e356c60572df3862edbdb02c06bf6b9f)) +- **demo/fsm:** new demo for state machine ([136b563](https://github.com/Alwatr/storage/commit/136b563220310d8ec637b4e776c48c1d3bb62ecc)) +- **demo/fsm:** update ([6080469](https://github.com/Alwatr/storage/commit/60804694ccab53b5c22ea636992f54ef1dde6a4b)) +- **demo/fsm:** update with new api ([9170694](https://github.com/Alwatr/storage/commit/917069457630eecfa24c6fe83b7d34fb281a9d2d)) +- **demo:** crypto hash ([445b865](https://github.com/Alwatr/storage/commit/445b8650a1abd98696b7fe954bcfca23f76afba8)) +- **es-bench:** compare `bind` vs `class` ([b949f87](https://github.com/Alwatr/storage/commit/b949f87234353cd7238730aa26c353422fb06951)) +- **es-bench:** date locale ([7591331](https://github.com/Alwatr/storage/commit/7591331f08adf1cad855cfcaeca98122d3045009)) +- **es-bench:** new bench model ([3ef68b0](https://github.com/Alwatr/storage/commit/3ef68b034562a96a927d969d35a54966997aff6e)) +- **es-bench:** test node exist methods ([73bb495](https://github.com/Alwatr/storage/commit/73bb495deea5df537e42f7c604ab262dba17026a)) +- **fsm:** custom signal callback ([47c22e9](https://github.com/Alwatr/storage/commit/47c22e92a8a8085148b44b316d649b695ff8071a)) +- **validator:** add `phone` validation ([e5c19ca](https://github.com/Alwatr/storage/commit/e5c19ca67e7c804cf3e63841890e68c11620d796)) + +# [0.30.0](https://github.com/Alwatr/storage/compare/v0.29.0...v0.30.0) (2023-03-06) ### Bug Fixes -- **demo/fsm:** context object ([1fa8aac](https://github.com/AliMD/alwatr/commit/1fa8aac30ca6b1e15fd29309384466962b4b9f64)) -- **demo/math:** remove getClientId ([8be5a4a](https://github.com/AliMD/alwatr/commit/8be5a4a5c85c1129387667f4f6ceab56ebfb97e6)) -- **fsm:** demo ([079abf9](https://github.com/AliMD/alwatr/commit/079abf9b46bd0a271a30b942dcb0405993010be6)) -- **fsm:** every signal mather ([0dc504d](https://github.com/AliMD/alwatr/commit/0dc504dacbb1ec68f154244619d644ff8e43cc04)) +- **demo/fsm:** context object ([1fa8aac](https://github.com/Alwatr/storage/commit/1fa8aac30ca6b1e15fd29309384466962b4b9f64)) +- **demo/math:** remove getClientId ([8be5a4a](https://github.com/Alwatr/storage/commit/8be5a4a5c85c1129387667f4f6ceab56ebfb97e6)) +- **fsm:** demo ([079abf9](https://github.com/Alwatr/storage/commit/079abf9b46bd0a271a30b942dcb0405993010be6)) +- **fsm:** every signal mather ([0dc504d](https://github.com/Alwatr/storage/commit/0dc504dacbb1ec68f154244619d644ff8e43cc04)) ### Features -- Alwatr Finite State Machines ([d5900b4](https://github.com/AliMD/alwatr/commit/d5900b4ee8685b120188888871405853f5a69417)) -- **demo:** fsm light machine ([fe168e3](https://github.com/AliMD/alwatr/commit/fe168e373fa0463124acb5f9b3bf971d1d64a596)) -- es bench ([a6ec86b](https://github.com/AliMD/alwatr/commit/a6ec86bc71dba2aec4dc6c4b42a64af75bb2b012)) -- **fsm:** $all and $self state ([69adf41](https://github.com/AliMD/alwatr/commit/69adf41064ca0f55497484c50e298ebc26c42dcc)) -- **fsm:** enhance types ([3b13046](https://github.com/AliMD/alwatr/commit/3b130463a102f59c38603b0de470be5c87ee88c9)) -- **fsm:** share state events ([de42522](https://github.com/AliMD/alwatr/commit/de42522a97fdf6be8bee73d91a35820e2a5e6efb)) +- Alwatr Finite State Machines ([d5900b4](https://github.com/Alwatr/storage/commit/d5900b4ee8685b120188888871405853f5a69417)) +- **demo:** fsm light machine ([fe168e3](https://github.com/Alwatr/storage/commit/fe168e373fa0463124acb5f9b3bf971d1d64a596)) +- es bench ([a6ec86b](https://github.com/Alwatr/storage/commit/a6ec86bc71dba2aec4dc6c4b42a64af75bb2b012)) +- **fsm:** $all and $self state ([69adf41](https://github.com/Alwatr/storage/commit/69adf41064ca0f55497484c50e298ebc26c42dcc)) +- **fsm:** enhance types ([3b13046](https://github.com/Alwatr/storage/commit/3b130463a102f59c38603b0de470be5c87ee88c9)) +- **fsm:** share state events ([de42522](https://github.com/Alwatr/storage/commit/de42522a97fdf6be8bee73d91a35820e2a5e6efb)) -# [0.29.0](https://github.com/AliMD/alwatr/compare/v0.28.0...v0.29.0) (2023-02-10) +# [0.29.0](https://github.com/Alwatr/storage/compare/v0.28.0...v0.29.0) (2023-02-10) ### Features -- **demo/router:** enhance demo ([3595b83](https://github.com/AliMD/alwatr/commit/3595b83b49e34b9d3d7b172bd12509b258839d0b)) -- **i18n:** add replaceNumber and auto detect setLocale from html ([3413471](https://github.com/AliMD/alwatr/commit/341347149f8685bc259034f5593048aa7db0b927)) -- **math:** getDeviceUuid ([946dad3](https://github.com/AliMD/alwatr/commit/946dad3544f2741462ff239edab8b4a9ea323bd6)) -- **math:** rename deviceId to clientId ([b211fd4](https://github.com/AliMD/alwatr/commit/b211fd42245d51d7109186ddb2f41574d0f0b786)) -- review ([53726b7](https://github.com/AliMD/alwatr/commit/53726b77274be429c87b2fd322fe2d939b048c77)) -- **signal:** new demo ([10ffc20](https://github.com/AliMD/alwatr/commit/10ffc2061a463b980da0dcd65d4afb2f850e2553)) +- **demo/router:** enhance demo ([3595b83](https://github.com/Alwatr/storage/commit/3595b83b49e34b9d3d7b172bd12509b258839d0b)) +- **i18n:** add replaceNumber and auto detect setLocale from html ([3413471](https://github.com/Alwatr/storage/commit/341347149f8685bc259034f5593048aa7db0b927)) +- **math:** getDeviceUuid ([946dad3](https://github.com/Alwatr/storage/commit/946dad3544f2741462ff239edab8b4a9ea323bd6)) +- **math:** rename deviceId to clientId ([b211fd4](https://github.com/Alwatr/storage/commit/b211fd42245d51d7109186ddb2f41574d0f0b786)) +- review ([53726b7](https://github.com/Alwatr/storage/commit/53726b77274be429c87b2fd322fe2d939b048c77)) +- **signal:** new demo ([10ffc20](https://github.com/Alwatr/storage/commit/10ffc2061a463b980da0dcd65d4afb2f850e2553)) -# [0.28.0](https://github.com/AliMD/alwatr/compare/v0.27.0...v0.28.0) (2023-01-20) +# [0.28.0](https://github.com/Alwatr/storage/compare/v0.27.0...v0.28.0) (2023-01-20) ### Bug Fixes -- review issue ([e5d192c](https://github.com/AliMD/alwatr/commit/e5d192cbee6917c2de01146cf8bd026895724ab8)) -- **validator:** remove extra trim ([ee9b601](https://github.com/AliMD/alwatr/commit/ee9b601198ea8dded43497df6824e09f65be86b3)) -- **validator:** validate boolean ([c0cfdc2](https://github.com/AliMD/alwatr/commit/c0cfdc21a99cf02bb4d56c00ba186429e72d3aa2)) +- review issue ([e5d192c](https://github.com/Alwatr/storage/commit/e5d192cbee6917c2de01146cf8bd026895724ab8)) +- **validator:** remove extra trim ([ee9b601](https://github.com/Alwatr/storage/commit/ee9b601198ea8dded43497df6824e09f65be86b3)) +- **validator:** validate boolean ([c0cfdc2](https://github.com/Alwatr/storage/commit/c0cfdc21a99cf02bb4d56c00ba186429e72d3aa2)) ### Features -- **validator:** demo ([9e577ca](https://github.com/AliMD/alwatr/commit/9e577cad18be45942d36d633932ef0aa2c2ec512)) -- **validator:** demo ([b48a30b](https://github.com/AliMD/alwatr/commit/b48a30bac9f02f0b7edb3b4069c324f835f6d49b)) -- **validator:** update demo ([d49929f](https://github.com/AliMD/alwatr/commit/d49929fca0007aa94482010b7a6245f0bb360bc0)) -- **validator:** update demo ([cc21a90](https://github.com/AliMD/alwatr/commit/cc21a906b371f51696c3619fc0df0f392be99dee)) -- **validator:** update demo ([4f11b61](https://github.com/AliMD/alwatr/commit/4f11b61af433f348cc4a4bd5f837848c6c1298a4)) +- **validator:** demo ([9e577ca](https://github.com/Alwatr/storage/commit/9e577cad18be45942d36d633932ef0aa2c2ec512)) +- **validator:** demo ([b48a30b](https://github.com/Alwatr/storage/commit/b48a30bac9f02f0b7edb3b4069c324f835f6d49b)) +- **validator:** update demo ([d49929f](https://github.com/Alwatr/storage/commit/d49929fca0007aa94482010b7a6245f0bb360bc0)) +- **validator:** update demo ([cc21a90](https://github.com/Alwatr/storage/commit/cc21a906b371f51696c3619fc0df0f392be99dee)) +- **validator:** update demo ([4f11b61](https://github.com/Alwatr/storage/commit/4f11b61af433f348cc4a4bd5f837848c6c1298a4)) -# [0.27.0](https://github.com/AliMD/alwatr/compare/v0.26.0...v0.27.0) (2022-12-29) +# [0.27.0](https://github.com/Alwatr/storage/compare/v0.26.0...v0.27.0) (2022-12-29) **Note:** Version bump only for package @alwatr/demo -# [0.26.0](https://github.com/AliMD/alwatr/compare/v0.25.0...v0.26.0) (2022-12-22) +# [0.26.0](https://github.com/Alwatr/storage/compare/v0.25.0...v0.26.0) (2022-12-22) ### Bug Fixes -- **demo/storage-client:** getStorage ([21b2361](https://github.com/AliMD/alwatr/commit/21b2361a2de49097a5e70ff5282a3df0d393e3d2)) -- set correct path ([d01ce6f](https://github.com/AliMD/alwatr/commit/d01ce6ffa749a5e3e0e11e35b4ed61d75d61fec9)) -- tsconfig ([e96dcd3](https://github.com/AliMD/alwatr/commit/e96dcd30774a9f06f7d051e0504192cbbe019e35)) -- tsconfig path ([02a1fdf](https://github.com/AliMD/alwatr/commit/02a1fdfc8491e0fade218f00c6790e1409fafcaa)) -- **ui/\*:** package path in refrences ([841d86d](https://github.com/AliMD/alwatr/commit/841d86dc2555fdc86a950b490ea2eb9fffe4df2d)) +- **demo/storage-client:** getStorage ([21b2361](https://github.com/Alwatr/storage/commit/21b2361a2de49097a5e70ff5282a3df0d393e3d2)) +- set correct path ([d01ce6f](https://github.com/Alwatr/storage/commit/d01ce6ffa749a5e3e0e11e35b4ed61d75d61fec9)) +- tsconfig ([e96dcd3](https://github.com/Alwatr/storage/commit/e96dcd30774a9f06f7d051e0504192cbbe019e35)) +- tsconfig path ([02a1fdf](https://github.com/Alwatr/storage/commit/02a1fdfc8491e0fade218f00c6790e1409fafcaa)) +- **ui/\*:** package path in refrences ([841d86d](https://github.com/Alwatr/storage/commit/841d86dc2555fdc86a950b490ea2eb9fffe4df2d)) ### Features -- improve error debugging ([1fba504](https://github.com/AliMD/alwatr/commit/1fba50400a1e8ececc10bbe8ea11cc8dcea2289c)) +- improve error debugging ([1fba504](https://github.com/Alwatr/storage/commit/1fba50400a1e8ececc10bbe8ea11cc8dcea2289c)) -# [0.25.0](https://github.com/AliMD/alwatr/compare/v0.24.1...v0.25.0) (2022-12-07) +# [0.25.0](https://github.com/Alwatr/storage/compare/v0.24.1...v0.25.0) (2022-12-07) **Note:** Version bump only for package @alwatr/demo -## [0.24.1](https://github.com/AliMD/alwatr/compare/v0.24.0...v0.24.1) (2022-12-01) +## [0.24.1](https://github.com/Alwatr/storage/compare/v0.24.0...v0.24.1) (2022-12-01) **Note:** Version bump only for package @alwatr/demo -# [0.24.0](https://github.com/AliMD/alwatr/compare/v0.23.0...v0.24.0) (2022-11-28) +# [0.24.0](https://github.com/Alwatr/storage/compare/v0.23.0...v0.24.0) (2022-11-28) ### Bug Fixes -- **demo/storage-client:** set default token ([f7a8962](https://github.com/AliMD/alwatr/commit/f7a896202e4a6acd2c248904cdc32dae2773550b)) -- **demo/storage-client:** update config ([2c71396](https://github.com/AliMD/alwatr/commit/2c71396f628942e776814a8bc08705bac679e5ab)) -- **demo:** update types ([010b123](https://github.com/AliMD/alwatr/commit/010b123075d073c8583f557608a9781064d7cc5c)) -- remove \_updatedBy ([d8d5c83](https://github.com/AliMD/alwatr/commit/d8d5c83884bbd30566001ff84faf9e840503471c)) -- update types ([44cc57f](https://github.com/AliMD/alwatr/commit/44cc57f97a99ed810dae3fde39c9525bd0e8ff3c)) -- use ~ for package version ([4e027ff](https://github.com/AliMD/alwatr/commit/4e027ff63875e03b088ebcdc1bdf2495f4494eec)) +- **demo/storage-client:** set default token ([f7a8962](https://github.com/Alwatr/storage/commit/f7a896202e4a6acd2c248904cdc32dae2773550b)) +- **demo/storage-client:** update config ([2c71396](https://github.com/Alwatr/storage/commit/2c71396f628942e776814a8bc08705bac679e5ab)) +- **demo:** update types ([010b123](https://github.com/Alwatr/storage/commit/010b123075d073c8583f557608a9781064d7cc5c)) +- remove \_updatedBy ([d8d5c83](https://github.com/Alwatr/storage/commit/d8d5c83884bbd30566001ff84faf9e840503471c)) +- update types ([44cc57f](https://github.com/Alwatr/storage/commit/44cc57f97a99ed810dae3fde39c9525bd0e8ff3c)) +- use ~ for package version ([4e027ff](https://github.com/Alwatr/storage/commit/4e027ff63875e03b088ebcdc1bdf2495f4494eec)) -# [0.23.0](https://github.com/AliMD/alwatr/compare/v0.22.1...v0.23.0) (2022-11-23) +# [0.23.0](https://github.com/Alwatr/storage/compare/v0.22.1...v0.23.0) (2022-11-23) **Note:** Version bump only for package @alwatr/demo -## [0.22.1](https://github.com/AliMD/alwatr/compare/v0.22.0...v0.22.1) (2022-11-21) +## [0.22.1](https://github.com/Alwatr/storage/compare/v0.22.0...v0.22.1) (2022-11-21) **Note:** Version bump only for package @alwatr/demo -# [0.22.0](https://github.com/AliMD/alwatr/compare/v0.21.0...v0.22.0) (2022-11-20) +# [0.22.0](https://github.com/Alwatr/storage/compare/v0.21.0...v0.22.0) (2022-11-20) ### Bug Fixes -- **demo/storage-client:** handle document not found ([fb73532](https://github.com/AliMD/alwatr/commit/fb73532fd1a1b52552d0b79f97847db059444785)) -- **demo/storage-client:** use host in config ([f3bd04d](https://github.com/AliMD/alwatr/commit/f3bd04dd047afebd99650f57fe6a2715b014dfb2)) -- **storage-client:** demo ([83fa9d0](https://github.com/AliMD/alwatr/commit/83fa9d0bde2a65a02c225bcb9829a87667606fb6)) -- **storage-client:** demo get not found ([5070912](https://github.com/AliMD/alwatr/commit/507091267f06a8f854833ccac5b9a3f77c46ae70)) -- **storage-client:** demo security issue ([85a71d4](https://github.com/AliMD/alwatr/commit/85a71d496bd9e62863ce85c5abb994648f69a36c)) -- **storage-client:** handle 404 in benchmark ([b149c85](https://github.com/AliMD/alwatr/commit/b149c857ae8ec46ae854eb5fd3893395945d5da2)) -- **storage:** performance demo test ([17b2c1a](https://github.com/AliMD/alwatr/commit/17b2c1a54132b524b2389976fb2e21f84e20e9c1)) -- **tsconfig:** rename storage to storage-engine ([229dd77](https://github.com/AliMD/alwatr/commit/229dd77a0aa928013f93ac43514309e163631a29)) +- **demo/storage-client:** handle document not found ([fb73532](https://github.com/Alwatr/storage/commit/fb73532fd1a1b52552d0b79f97847db059444785)) +- **demo/storage-client:** use host in config ([f3bd04d](https://github.com/Alwatr/storage/commit/f3bd04dd047afebd99650f57fe6a2715b014dfb2)) +- **storage-client:** demo ([83fa9d0](https://github.com/Alwatr/storage/commit/83fa9d0bde2a65a02c225bcb9829a87667606fb6)) +- **storage-client:** demo get not found ([5070912](https://github.com/Alwatr/storage/commit/507091267f06a8f854833ccac5b9a3f77c46ae70)) +- **storage-client:** demo security issue ([85a71d4](https://github.com/Alwatr/storage/commit/85a71d496bd9e62863ce85c5abb994648f69a36c)) +- **storage-client:** handle 404 in benchmark ([b149c85](https://github.com/Alwatr/storage/commit/b149c857ae8ec46ae854eb5fd3893395945d5da2)) +- **storage:** performance demo test ([17b2c1a](https://github.com/Alwatr/storage/commit/17b2c1a54132b524b2389976fb2e21f84e20e9c1)) +- **tsconfig:** rename storage to storage-engine ([229dd77](https://github.com/Alwatr/storage/commit/229dd77a0aa928013f93ac43514309e163631a29)) ### Features -- **demo:** forAll storage-client ([a856099](https://github.com/AliMD/alwatr/commit/a856099f5644a0b059fd0ff25521376d5f9b97eb)) -- **demo:** storage-client ([e19abc4](https://github.com/AliMD/alwatr/commit/e19abc4ecd59200204be7f26ce0021157a26e262)) -- **fetch:** support nodejs ([2ed2ef4](https://github.com/AliMD/alwatr/commit/2ed2ef42e9f204d4896ada4e20b839cfabdc7284)) -- **storage-client:** benchmark test ([7c0fc92](https://github.com/AliMD/alwatr/commit/7c0fc92fa910168775459dc2be484844a6a178cb)) -- **storage-client:** performance demo ([186832c](https://github.com/AliMD/alwatr/commit/186832cfea21b02aa6f7c9ec3eba768fa0ea64ed)) +- **demo:** forAll storage-client ([a856099](https://github.com/Alwatr/storage/commit/a856099f5644a0b059fd0ff25521376d5f9b97eb)) +- **demo:** storage-client ([e19abc4](https://github.com/Alwatr/storage/commit/e19abc4ecd59200204be7f26ce0021157a26e262)) +- **fetch:** support nodejs ([2ed2ef4](https://github.com/Alwatr/storage/commit/2ed2ef42e9f204d4896ada4e20b839cfabdc7284)) +- **storage-client:** benchmark test ([7c0fc92](https://github.com/Alwatr/storage/commit/7c0fc92fa910168775459dc2be484844a6a178cb)) +- **storage-client:** performance demo ([186832c](https://github.com/Alwatr/storage/commit/186832cfea21b02aa6f7c9ec3eba768fa0ea64ed)) ### Performance Improvements -- **storage-client:** refactor for perf improve and keep alive ([ed0b743](https://github.com/AliMD/alwatr/commit/ed0b743a8936602b63d92c216d2d65f6a31d74cf)) +- **storage-client:** refactor for perf improve and keep alive ([ed0b743](https://github.com/Alwatr/storage/commit/ed0b743a8936602b63d92c216d2d65f6a31d74cf)) -# [0.21.0](https://github.com/AliMD/alwatr/compare/v0.20.0...v0.21.0) (2022-11-13) +# [0.21.0](https://github.com/Alwatr/storage/compare/v0.20.0...v0.21.0) (2022-11-13) **Note:** Version bump only for package @alwatr/demo -# [0.20.0](https://github.com/AliMD/alwatr/compare/v0.19.0...v0.20.0) (2022-11-05) +# [0.20.0](https://github.com/Alwatr/storage/compare/v0.19.0...v0.20.0) (2022-11-05) ### Features -- **`alwatr-icon`:** icon component ([4a24cdc](https://github.com/AliMD/alwatr/commit/4a24cdcfbb55bdc3928dd39ca9e6372caec386b2)) -- **demo:** dynamic icon demo ([f9c57f5](https://github.com/AliMD/alwatr/commit/f9c57f52bb8ebcbe5f2d26d2aa3287cda48df5c5)) -- **demo:** fetch revalidateCallback ([55a58b7](https://github.com/AliMD/alwatr/commit/55a58b7174065bc01b52de32816505e189cbdf34)) -- **fetch:** update demo ([441c084](https://github.com/AliMD/alwatr/commit/441c08418c67283cf192ca192bfd5f0e238ecdc5)) +- **`alwatr-icon`:** icon component ([4a24cdc](https://github.com/Alwatr/storage/commit/4a24cdcfbb55bdc3928dd39ca9e6372caec386b2)) +- **demo:** dynamic icon demo ([f9c57f5](https://github.com/Alwatr/storage/commit/f9c57f52bb8ebcbe5f2d26d2aa3287cda48df5c5)) +- **demo:** fetch revalidateCallback ([55a58b7](https://github.com/Alwatr/storage/commit/55a58b7174065bc01b52de32816505e189cbdf34)) +- **fetch:** update demo ([441c084](https://github.com/Alwatr/storage/commit/441c08418c67283cf192ca192bfd5f0e238ecdc5)) -# [0.19.0](https://github.com/AliMD/alwatr/compare/v0.18.0...v0.19.0) (2022-11-01) +# [0.19.0](https://github.com/Alwatr/storage/compare/v0.18.0...v0.19.0) (2022-11-01) ### Bug Fixes -- **font:** review ([a371bf2](https://github.com/AliMD/alwatr/commit/a371bf2bcf6477487ceeadeaa596919066f5c468)) +- **font:** review ([a371bf2](https://github.com/Alwatr/storage/commit/a371bf2bcf6477487ceeadeaa596919066f5c468)) ### Features -- **`demo`:** improve icon demo ([6519f6f](https://github.com/AliMD/alwatr/commit/6519f6f05567b8a4ce3db0bd3a442139902a01d4)) -- **demo:** improve demo dark mode ([b89217e](https://github.com/AliMD/alwatr/commit/b89217eb2bd271e1d62ebe29b41ac2599852d7da)) -- **demo:** seprate fonts ([222e014](https://github.com/AliMD/alwatr/commit/222e014d488416042bf1d8575bfc0eb84d6009e8)) +- **`demo`:** improve icon demo ([6519f6f](https://github.com/Alwatr/storage/commit/6519f6f05567b8a4ce3db0bd3a442139902a01d4)) +- **demo:** improve demo dark mode ([b89217e](https://github.com/Alwatr/storage/commit/b89217eb2bd271e1d62ebe29b41ac2599852d7da)) +- **demo:** seprate fonts ([222e014](https://github.com/Alwatr/storage/commit/222e014d488416042bf1d8575bfc0eb84d6009e8)) -# [0.18.0](https://github.com/AliMD/alwatr/compare/v0.17.0...v0.18.0) (2022-10-22) +# [0.18.0](https://github.com/Alwatr/storage/compare/v0.17.0...v0.18.0) (2022-10-22) ### Features -- **fetch:** cache strategy ([106eabd](https://github.com/AliMD/alwatr/commit/106eabdd10574b24f9919049d0b509ae40168a9a)) -- **fetch:** cache strategy demo ([47dd239](https://github.com/AliMD/alwatr/commit/47dd2391cd1d760cfec8b0f54a249d05b83b4c33)) -- **fetch:** improve demo ([638830f](https://github.com/AliMD/alwatr/commit/638830f817923a71ce0900776622a858e4905cad)) +- **fetch:** cache strategy ([106eabd](https://github.com/Alwatr/storage/commit/106eabdd10574b24f9919049d0b509ae40168a9a)) +- **fetch:** cache strategy demo ([47dd239](https://github.com/Alwatr/storage/commit/47dd2391cd1d760cfec8b0f54a249d05b83b4c33)) +- **fetch:** improve demo ([638830f](https://github.com/Alwatr/storage/commit/638830f817923a71ce0900776622a858e4905cad)) -# [0.17.0](https://github.com/AliMD/alwatr/compare/v0.16.1...v0.17.0) (2022-10-21) +# [0.17.0](https://github.com/Alwatr/storage/compare/v0.16.1...v0.17.0) (2022-10-21) ### Bug Fixes -- **storage:** \_last ket ([a1c452a](https://github.com/AliMD/alwatr/commit/a1c452a50c7b53b03765bf37556264a64ac3ed55)) +- **storage:** \_last ket ([a1c452a](https://github.com/Alwatr/storage/commit/a1c452a50c7b53b03765bf37556264a64ac3ed55)) ### Features -- add math demo ([7a92dc2](https://github.com/AliMD/alwatr/commit/7a92dc22ab323ddea9ed166e597ea1924cf368e9)) -- **demo:** fetch ([2bf7a69](https://github.com/AliMD/alwatr/commit/2bf7a694f53921b3096b4092f85bd212ec32881b)) -- **fetch:** docs & pattern ([459ad1c](https://github.com/AliMD/alwatr/commit/459ad1c5996f851769306639136d79c0f7270770)) -- **Math:** translateUnicodeDigits ([996c507](https://github.com/AliMD/alwatr/commit/996c507abb4708b9ef32377eb4045efb8a3f0939)) +- add math demo ([7a92dc2](https://github.com/Alwatr/storage/commit/7a92dc22ab323ddea9ed166e597ea1924cf368e9)) +- **demo:** fetch ([2bf7a69](https://github.com/Alwatr/storage/commit/2bf7a694f53921b3096b4092f85bd212ec32881b)) +- **fetch:** docs & pattern ([459ad1c](https://github.com/Alwatr/storage/commit/459ad1c5996f851769306639136d79c0f7270770)) +- **Math:** translateUnicodeDigits ([996c507](https://github.com/Alwatr/storage/commit/996c507abb4708b9ef32377eb4045efb8a3f0939)) -# [0.16.0](https://github.com/AliMD/alwatr/compare/v0.15.0...v0.16.0) (2022-09-08) +# [0.16.0](https://github.com/Alwatr/storage/compare/v0.15.0...v0.16.0) (2022-09-08) **Note:** Version bump only for package @alwatr/demo -# [0.15.0](https://github.com/AliMD/alwatr/compare/v0.14.0...v0.15.0) (2022-09-01) +# [0.15.0](https://github.com/Alwatr/storage/compare/v0.14.0...v0.15.0) (2022-09-01) **Note:** Version bump only for package @alwatr/demo -# [0.14.0](https://github.com/AliMD/alwatr/compare/v0.13.0...v0.14.0) (2022-08-19) +# [0.14.0](https://github.com/Alwatr/storage/compare/v0.13.0...v0.14.0) (2022-08-19) **Note:** Version bump only for package @alwatr/demo -# [0.13.0](https://github.com/AliMD/alwatr/compare/v0.12.0...v0.13.0) (2022-08-06) +# [0.13.0](https://github.com/Alwatr/storage/compare/v0.12.0...v0.13.0) (2022-08-06) ### Bug Fixes -- **token:** calc benchs ([f1240cc](https://github.com/AliMD/alwatr/commit/f1240cce9247c6fb53dd63a940bd95123ba628d1)) +- **token:** calc benchs ([f1240cc](https://github.com/Alwatr/storage/commit/f1240cce9247c6fb53dd63a940bd95123ba628d1)) ### Features -- **storage:** add \_createdBy and \_updatedBy ([1a70945](https://github.com/AliMD/alwatr/commit/1a70945bc61921f13d839adde25fdfe9fb37eaad)) -- **storage:** improve process and add has, storagePath, keys and length ([4e323ad](https://github.com/AliMD/alwatr/commit/4e323ad10ee0630cfa02edd191167b69e14743ff)) -- **token:** generate and verify HOTP tpkens ([d0372f8](https://github.com/AliMD/alwatr/commit/d0372f805a45d6fd6571b50821529068cec7d424)) -- **token:** new package files ([fe620e0](https://github.com/AliMD/alwatr/commit/fe620e0d9f84c4e6d8e0eed47d6b398e218429ad)) +- **storage:** add \_createdBy and \_updatedBy ([1a70945](https://github.com/Alwatr/storage/commit/1a70945bc61921f13d839adde25fdfe9fb37eaad)) +- **storage:** improve process and add has, storagePath, keys and length ([4e323ad](https://github.com/Alwatr/storage/commit/4e323ad10ee0630cfa02edd191167b69e14743ff)) +- **token:** generate and verify HOTP tpkens ([d0372f8](https://github.com/Alwatr/storage/commit/d0372f805a45d6fd6571b50821529068cec7d424)) +- **token:** new package files ([fe620e0](https://github.com/Alwatr/storage/commit/fe620e0d9f84c4e6d8e0eed47d6b398e218429ad)) -# [0.12.0](https://github.com/AliMD/alwatr/compare/v0.11.0...v0.12.0) (2022-07-22) +# [0.12.0](https://github.com/Alwatr/storage/compare/v0.11.0...v0.12.0) (2022-07-22) ### Bug Fixes -- all package refrences ([11b027d](https://github.com/AliMD/alwatr/commit/11b027d4cdbe142e1f5ef6c6f87c1812fbb2d94b)) +- all package refrences ([11b027d](https://github.com/Alwatr/storage/commit/11b027d4cdbe142e1f5ef6c6f87c1812fbb2d94b)) ### Features -- **font:** demo for sahel ([bb087ef](https://github.com/AliMD/alwatr/commit/bb087eff880aceaedfb253494581d1f363632573)) -- **jatabase:** demo ([17beb7e](https://github.com/AliMD/alwatr/commit/17beb7ecdf3e89b0ffee43f4365f3b2dc4950f99)) -- **logger:** node coloring support ([2b4aab6](https://github.com/AliMD/alwatr/commit/2b4aab655bc0707761587a7439de98bbd4ad0e08)) +- **font:** demo for sahel ([bb087ef](https://github.com/Alwatr/storage/commit/bb087eff880aceaedfb253494581d1f363632573)) +- **jatabase:** demo ([17beb7e](https://github.com/Alwatr/storage/commit/17beb7ecdf3e89b0ffee43f4365f3b2dc4950f99)) +- **logger:** node coloring support ([2b4aab6](https://github.com/Alwatr/storage/commit/2b4aab655bc0707761587a7439de98bbd4ad0e08)) -# [0.11.0](https://github.com/AliMD/alwatr/compare/v0.10.1...v0.11.0) (2022-04-16) +# [0.11.0](https://github.com/Alwatr/storage/compare/v0.10.1...v0.11.0) (2022-04-16) **Note:** Version bump only for package @alwatr/demo -# [0.10.0](https://github.com/AliMD/alwatr/compare/v0.9.0...v0.10.0) (2022-04-02) +# [0.10.0](https://github.com/Alwatr/storage/compare/v0.9.0...v0.10.0) (2022-04-02) ### Bug Fixes -- **font:** cleanup ([cdd4ee1](https://github.com/AliMD/alwatr/commit/cdd4ee15332cb9f1ec19bf34ec02cb1f5999cad5)) -- try to fix typescript importer in eslint ([ceb508c](https://github.com/AliMD/alwatr/commit/ceb508c9d8152aba4f3833b1c1f4930828e2014d)) +- **font:** cleanup ([cdd4ee1](https://github.com/Alwatr/storage/commit/cdd4ee15332cb9f1ec19bf34ec02cb1f5999cad5)) +- try to fix typescript importer in eslint ([ceb508c](https://github.com/Alwatr/storage/commit/ceb508c9d8152aba4f3833b1c1f4930828e2014d)) ### Features -- **demo:** add font demo ([33f3825](https://github.com/AliMD/alwatr/commit/33f3825a7e23b86281d047dd3be3b2f8eb862b8d)) -- **demo:** font ([8035d73](https://github.com/AliMD/alwatr/commit/8035d73dc99d4ff9c8eec0f70bec43b97b80320c)) +- **demo:** add font demo ([33f3825](https://github.com/Alwatr/storage/commit/33f3825a7e23b86281d047dd3be3b2f8eb862b8d)) +- **demo:** font ([8035d73](https://github.com/Alwatr/storage/commit/8035d73dc99d4ff9c8eec0f70bec43b97b80320c)) -# [0.9.0](https://github.com/AliMD/alwatr/compare/v0.8.0...v0.9.0) (2022-03-22) +# [0.9.0](https://github.com/Alwatr/storage/compare/v0.8.0...v0.9.0) (2022-03-22) **Note:** Version bump only for package @alwatr/demo -# [0.8.0](https://github.com/AliMD/alwatr/compare/v0.7.2...v0.8.0) (2022-03-14) +# [0.8.0](https://github.com/Alwatr/storage/compare/v0.7.2...v0.8.0) (2022-03-14) ### Features -- **demo:** router outlet demo ([54576f0](https://github.com/AliMD/alwatr/commit/54576f0397df1d1471467564529a01b4e75335bf)) -- **router:** improve demo for test signal! ([59a1017](https://github.com/AliMD/alwatr/commit/59a1017f3ed323fea8e9e798f612f0f54b74b399)) -- **router:** simple demo ([884359a](https://github.com/AliMD/alwatr/commit/884359ac2c77a306c2410d6fd351382b416c36fe)) +- **demo:** router outlet demo ([54576f0](https://github.com/Alwatr/storage/commit/54576f0397df1d1471467564529a01b4e75335bf)) +- **router:** improve demo for test signal! ([59a1017](https://github.com/Alwatr/storage/commit/59a1017f3ed323fea8e9e798f612f0f54b74b399)) +- **router:** simple demo ([884359a](https://github.com/Alwatr/storage/commit/884359ac2c77a306c2410d6fd351382b416c36fe)) -## [0.7.2](https://github.com/AliMD/alwatr/compare/v0.7.1...v0.7.2) (2022-03-12) +## [0.7.2](https://github.com/Alwatr/storage/compare/v0.7.1...v0.7.2) (2022-03-12) ### Features -- **signal:** demo as test ([fc3f9fd](https://github.com/AliMD/alwatr/commit/fc3f9fdd8c76c6bc5117f3ee894480500f81cc80)) +- **signal:** demo as test ([fc3f9fd](https://github.com/Alwatr/storage/commit/fc3f9fdd8c76c6bc5117f3ee894480500f81cc80)) -# [0.7.0](https://github.com/AliMD/alwatr/compare/v0.6.1...v0.7.0) (2022-03-12) +# [0.7.0](https://github.com/Alwatr/storage/compare/v0.6.1...v0.7.0) (2022-03-12) **Note:** Version bump only for package @alwatr/demo @@ -299,36 +299,36 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline - **demo:** package ([c2b2339](https://github.com/AliMD/vatr/commit/c2b2339f1ca08207ae0d0f8f0d7fff9c98a822ce)) - old One repo links ([1156b07](https://github.com/AliMD/vatr/commit/1156b077e0abc4712207183e01896fe86f7a05f6)) -# [0.5.0](https://github.com/AliMD/alwatr/compare/v0.4.0...v0.5.0) (2022-03-11) +# [0.5.0](https://github.com/Alwatr/storage/compare/v0.4.0...v0.5.0) (2022-03-11) **Note:** Version bump only for package @alwatr/demo -# [0.4.0](https://github.com/AliMD/alwatr/compare/v0.3.0...v0.4.0) (2022-03-11) +# [0.4.0](https://github.com/Alwatr/storage/compare/v0.3.0...v0.4.0) (2022-03-11) ### Features -- **logger:** add logProperty, logMethodFull ([8b0317d](https://github.com/AliMD/alwatr/commit/8b0317db88ed73604a27935a3a30cd5c31cb0804)) -- **logger:** complete refactor the logger with new API and fix show correct line number ([7efe8cf](https://github.com/AliMD/alwatr/commit/7efe8cf0f566e148406f38fdd60fa3d747c9bc51)) +- **logger:** add logProperty, logMethodFull ([8b0317d](https://github.com/Alwatr/storage/commit/8b0317db88ed73604a27935a3a30cd5c31cb0804)) +- **logger:** complete refactor the logger with new API and fix show correct line number ([7efe8cf](https://github.com/Alwatr/storage/commit/7efe8cf0f566e148406f38fdd60fa3d747c9bc51)) -# [0.3.0](https://github.com/AliMD/alwatr/compare/v0.2.1...v0.3.0) (2022-03-06) +# [0.3.0](https://github.com/Alwatr/storage/compare/v0.2.1...v0.3.0) (2022-03-06) **Note:** Version bump only for package @alwatr/demo -## [0.2.1](https://github.com/AliMD/alwatr/compare/v0.2.0...v0.2.1) (2022-03-05) +## [0.2.1](https://github.com/Alwatr/storage/compare/v0.2.0...v0.2.1) (2022-03-05) **Note:** Version bump only for package @alwatr/demo -# [0.2.0](https://github.com/AliMD/alwatr/compare/v0.1.2...v0.2.0) (2022-03-05) +# [0.2.0](https://github.com/Alwatr/storage/compare/v0.1.2...v0.2.0) (2022-03-05) ### Bug Fixes -- **util:** remove package ([b337d9a](https://github.com/AliMD/alwatr/commit/b337d9a97c8f73c2a87e722b23a50718321d1648)) +- **util:** remove package ([b337d9a](https://github.com/Alwatr/storage/commit/b337d9a97c8f73c2a87e722b23a50718321d1648)) -## [0.1.2](https://github.com/AliMD/alwatr/compare/v0.1.1...v0.1.2) (2022-03-03) +## [0.1.2](https://github.com/Alwatr/storage/compare/v0.1.1...v0.1.2) (2022-03-03) **Note:** Version bump only for package @alwatr/demo -## [0.1.1](https://github.com/AliMD/alwatr/compare/v0.1.0...v0.1.1) (2022-03-03) +## [0.1.1](https://github.com/Alwatr/storage/compare/v0.1.0...v0.1.1) (2022-03-03) **Note:** Version bump only for package @alwatr/demo @@ -336,18 +336,18 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline ### Bug Fixes -- add type module ([2649798](https://github.com/AliMD/alwatr/commit/2649798c752138742cbdd14ee78768daa26f5b5a)) -- **bug:** rootDir `src` to `.` ([4ad87ee](https://github.com/AliMD/alwatr/commit/4ad87ee4a84b80afe563db5d42671ec9624ffce3)) -- change all [@one](https://github.com/one) to [@alwatr](https://github.com/alwatr) ([e0573bf](https://github.com/AliMD/alwatr/commit/e0573bf8b55c9e25bad3f7b407cc2c3d509f36d3)) -- fix import module ([38dff29](https://github.com/AliMD/alwatr/commit/38dff29a99e21f75f35be31bc11fb84e1f9d4a55)) -- remove `src` and move all content to `root` ([3323322](https://github.com/AliMD/alwatr/commit/33233220ed576f30249aa1197105219b62c65945)) +- add type module ([2649798](https://github.com/Alwatr/storage/commit/2649798c752138742cbdd14ee78768daa26f5b5a)) +- **bug:** rootDir `src` to `.` ([4ad87ee](https://github.com/Alwatr/storage/commit/4ad87ee4a84b80afe563db5d42671ec9624ffce3)) +- change all [@one](https://github.com/one) to [@alwatr](https://github.com/alwatr) ([e0573bf](https://github.com/Alwatr/storage/commit/e0573bf8b55c9e25bad3f7b407cc2c3d509f36d3)) +- fix import module ([38dff29](https://github.com/Alwatr/storage/commit/38dff29a99e21f75f35be31bc11fb84e1f9d4a55)) +- remove `src` and move all content to `root` ([3323322](https://github.com/Alwatr/storage/commit/33233220ed576f30249aa1197105219b62c65945)) ### Features -- build demo ([e50b310](https://github.com/AliMD/alwatr/commit/e50b3106f428a2a11cc0d960970017d564caa017)) -- build index ([93b604f](https://github.com/AliMD/alwatr/commit/93b604f44d43eedec5df1dd47ad84b96a99ed9b7)) -- demo html ([de43204](https://github.com/AliMD/alwatr/commit/de432043c1b46f2c8f0d9c4f46580b31f3eee066)) -- **demo:** add error and force sample ([0aa2edd](https://github.com/AliMD/alwatr/commit/0aa2edd896b417ea79a249f3332ad629e80a17fa)) -- **demo:** add alwatr logger demo ([f759a06](https://github.com/AliMD/alwatr/commit/f759a06f65545d3589a136f2b9a553dfdb1f2af2)) -- **demo:** alwatr logger demo ([302c6f4](https://github.com/AliMD/alwatr/commit/302c6f46fcc00796e6c030c6fe98a6c2b9f21d04)) -- **svg-icon:** init svg-icon package (ionicons) ([#14](https://github.com/AliMD/alwatr/issues/14)) ([5b3a8f6](https://github.com/AliMD/alwatr/commit/5b3a8f67f5676e0a2139cfa30b60666190c991cf)) +- build demo ([e50b310](https://github.com/Alwatr/storage/commit/e50b3106f428a2a11cc0d960970017d564caa017)) +- build index ([93b604f](https://github.com/Alwatr/storage/commit/93b604f44d43eedec5df1dd47ad84b96a99ed9b7)) +- demo html ([de43204](https://github.com/Alwatr/storage/commit/de432043c1b46f2c8f0d9c4f46580b31f3eee066)) +- **demo:** add error and force sample ([0aa2edd](https://github.com/Alwatr/storage/commit/0aa2edd896b417ea79a249f3332ad629e80a17fa)) +- **demo:** add alwatr logger demo ([f759a06](https://github.com/Alwatr/storage/commit/f759a06f65545d3589a136f2b9a553dfdb1f2af2)) +- **demo:** alwatr logger demo ([302c6f4](https://github.com/Alwatr/storage/commit/302c6f46fcc00796e6c030c6fe98a6c2b9f21d04)) +- **svg-icon:** init svg-icon package (ionicons) ([#14](https://github.com/Alwatr/storage/issues/14)) ([5b3a8f6](https://github.com/Alwatr/storage/commit/5b3a8f67f5676e0a2139cfa30b60666190c991cf)) diff --git a/demo/es-bench/bench.ts b/demo/es-bench/bench.ts deleted file mode 100644 index 184e74cb..00000000 --- a/demo/es-bench/bench.ts +++ /dev/null @@ -1,25 +0,0 @@ -if (globalThis.process && (globalThis.process?.env.NODE_ENV !== 'production' || typeof globalThis.gc !== 'function')) { - console.warn('Please run node in production with `--expose-gc` for benchmark\nNODE_ENV=production node --expose-gc demo/...'); -} - -export const bench = (name: string, func: () => void, count = 1_000_000): void => { - globalThis.gc?.(); - let i = count; - const startMemory = globalThis.process?.memoryUsage.rss() ?? 0; - const startTime = performance.now(); - - while (i--) { - func(); - } - - const duration = performance.now() - startTime; - const runPerSec = Math.ceil((count / duration) * 1000); - const memoryUsage = Math.round(((globalThis.process?.memoryUsage.rss() ?? 0) - startMemory) / 10) / 100; - - console.log( - `run ${name} ${runPerSec.toLocaleString()}/s with ${ - globalThis.process?.memoryUsage.rss !== undefined ? memoryUsage.toLocaleString() : '?' - }kb` - ); - globalThis.gc?.(); -}; diff --git a/demo/es-bench/compare.ts b/demo/es-bench/compare.ts deleted file mode 100644 index 97ba890f..00000000 --- a/demo/es-bench/compare.ts +++ /dev/null @@ -1,28 +0,0 @@ -import {bench} from './bench.js'; - -const value = undefined; - -function test_1(): boolean { - if (value === true) { - return true; - } - else { - return false; - } -} - -function test_2(): boolean { - if (value) { - return true; - } - else { - return false; - } -} - - -bench('test_1', test_1); -bench('test_2', test_2); - -bench('test_1', test_1); -bench('test_2', test_2); diff --git a/demo/es-bench/date-locale.ts b/demo/es-bench/date-locale.ts deleted file mode 100644 index 63c222e9..00000000 --- a/demo/es-bench/date-locale.ts +++ /dev/null @@ -1,42 +0,0 @@ -import {bench} from './bench.js'; - -// 18,303,355/s with 44,597.25kb -bench('date_now', () => { - Date.now(); -}); - -// 12,177,203/s with 51,511.3kb -bench('new_date', () => { - new Date(); -}); - -// 677,056/s with 52,559.87kb -const dateTimeFormat = Intl.DateTimeFormat('fa'); -bench('date_time_format_new', () => { - dateTimeFormat.format(new Date()); -}); - -// 9,770/s with 2,381,545.47kb -bench('new_date_time_format_new', () => { - const dateTimeFormat = Intl.DateTimeFormat('fa'); - dateTimeFormat.format(new Date()); -}); - -// 766,025/s with 2,227,060.74kb -bench('date_time_format_now', () => { - dateTimeFormat.format(Date.now()); -}); - -// 9,616/s with 1,784,446.98kb -bench('new_date_time_format_now', () => { - const dateTimeFormat = Intl.DateTimeFormat('fa'); - dateTimeFormat.format(Date.now()); -}); - -// 757,297/s with 1,626,062.85kb -bench('to_locale_date_string', () => { - const time = Date.now(); - new Date(time).toLocaleDateString('fa'); -}); - -globalThis.document?.body.append(' Done. Check the console.'); diff --git a/demo/es-bench/flat-str.ts b/demo/es-bench/flat-str.ts deleted file mode 100644 index 1d1c6e03..00000000 --- a/demo/es-bench/flat-str.ts +++ /dev/null @@ -1,40 +0,0 @@ -import {bench} from './bench.js'; - -function flatstr (s: string) { - // @ts-ignore - s | 0 - return s -} - -let temp = ''; - -function test_1(): void { - let s = ''; - let n = 1_000_000; - while(n--) { - s += 'ali'; - } - temp = s; -} - -function test_2(): void { - let s = ''; - let n = 1_000_000; - while(n--) { - s += 'ali'; - } - temp = flatstr(s); -} - - -bench('test_1', test_1, 10); -bench('test_2', test_2, 10); - -bench('test_1', test_1, 10); -bench('test_2', test_2, 10); - -bench('test_1', test_1, 10); -bench('test_2', test_2, 10); - - -console.log(temp.length) diff --git a/demo/es-bench/for-in-vs-of.ts b/demo/es-bench/for-in-vs-of.ts deleted file mode 100644 index 2a596125..00000000 --- a/demo/es-bench/for-in-vs-of.ts +++ /dev/null @@ -1,80 +0,0 @@ -import {random} from '@alwatr/math'; - -import {bench} from './bench.js'; - -const obj: Record> = {}; -let userName = ''; -console.log(userName); - -function prepare(): void { - for (let i = 100; i; i--) { - obj[i] = { - id: 'user_' + i, - fname: random.string(4, 16), - lname: random.string(4, 32), - email: random.string(8, 32), - token: random.string(16), - }; - } -} - -function test_for_in(): void { - for (const key in obj) { - if (!Object.prototype.hasOwnProperty.call(obj, key)) continue; - userName = obj[key].id; - } -} - -function test_for_of_values(): void { - for (const item of Object.values(obj)) { - userName = item.id; - } -} - -function test_for_of_keys(): void { - for (const key of Object.keys(obj)) { - userName = obj[key].id; - } -} - -prepare(); - -bench('for-of-values', test_for_of_values); -bench('for-of-keys', test_for_of_keys); -bench('for-in', test_for_in); - -globalThis.document?.body.append(' Done. Check the console.'); - -/* -1000 items, key is numberString (obj[i]) - for-of-values: 1s - for-of-keys: 3s - for-in: 6s - -1000 items, if key is string (obj['user_'+i]) - for-of-keys: 11s - for-in: 15s - for-of-values: 26s - - -100 items, key is numberString (obj[i]) - for-of-values: 139ms - for-of-keys: 342ms - for-in: 599ms - -100 items, if key is string (obj['user_'+i]) - for-of-keys: 651ms - for-in: 960ms - for-of-values: 2159ms - - -10 items, key is numberString (obj[i]) - for-of-values: 54ms - for-of-keys: 70ms - for-in: 107ms - -10 items, if key is string (obj['user_'+i]) - for-in: 28ms - for-of-values: 35ms - for-of-keys: 53ms -*/ diff --git a/demo/es-bench/import-tmp.ts b/demo/es-bench/import-tmp.ts deleted file mode 100644 index a8ada091..00000000 --- a/demo/es-bench/import-tmp.ts +++ /dev/null @@ -1,3 +0,0 @@ -export {} - -console.log('test'); diff --git a/demo/es-bench/import.ts b/demo/es-bench/import.ts deleted file mode 100644 index b4d1a438..00000000 --- a/demo/es-bench/import.ts +++ /dev/null @@ -1,17 +0,0 @@ -import {bench} from './bench.js'; - -const a = await import('./import-tmp.js'); - -function test_1(): unknown { - return a; -} - -function test_2(): unknown { - return import('./import-tmp.js'); -} - -bench('test_1', test_1); -bench('test_2', test_2); -bench('test_1', test_1); - -globalThis.document?.body.append(' Done. Check the console.'); diff --git a/demo/es-bench/index.html b/demo/es-bench/index.html deleted file mode 100644 index b0c1e779..00000000 --- a/demo/es-bench/index.html +++ /dev/null @@ -1,28 +0,0 @@ - - - - - ES Bench - - - - - Waiting... -
- - diff --git a/demo/es-bench/logger.ts b/demo/es-bench/logger.ts deleted file mode 100644 index 150e7da3..00000000 --- a/demo/es-bench/logger.ts +++ /dev/null @@ -1,39 +0,0 @@ -import {createLogger} from '@alwatr/logger'; -// import {delay} from '@alwatr/util'; - -import {bench} from './bench.js'; - -const logger = createLogger('logger-bench', false); - -const getUserList = (): Record> => { - const userList: Record> = {}; - for (let i = 10; i; i--) { - const userId = 'user_' + i; - userList[userId] = { - user: userId, - fname: 'ali', - lname: 'md', - email: 'i@ali.md', - token: '1234abcd', - }; - } - return userList; -}; - -function test_without_logger(obj: Record): number { - return Object.values(obj).length; -} - -function test_with_logger(obj: Record): number { - logger.logMethodArgs?.('test_with_logger', obj); - return Object.values(obj).length; -} - -bench('test_with_logger 1st', () => test_with_logger(getUserList())); -bench('test_without_logger 1st', () => test_without_logger(getUserList())); - -bench('test_with_logger 2nd', () => test_with_logger(getUserList())); -bench('test_without_logger 2nd', () => test_without_logger(getUserList())); - - -globalThis.document?.body.append(' Done. Check the console.'); diff --git a/demo/es-bench/many-bind.ts b/demo/es-bench/many-bind.ts deleted file mode 100644 index f5c070d9..00000000 --- a/demo/es-bench/many-bind.ts +++ /dev/null @@ -1,53 +0,0 @@ -import {bench} from './bench.js'; - -function test1(id: string): void { - console.log(id); -} -function test2(id: string): void { - console.log(id); -} -function test3(id: string): void { - console.log(id); -} - -const bind = (id: string) => ({ - id, - test1: test1.bind(null, id), - test2: test2.bind(null, id), - test3: test3.bind(null, id), -} as const); - -class MyClass { - constructor(public id: string) { - } - - test1(): void { - console.log(this.id); - } - test2(): void { - console.log(this.id); - } - test3(): void { - console.log(this.id); - } -} - -function test_bind(): string { - const a = bind('123'); - return a.id; -} - -function test_class(): string { - const a = new MyClass('123'); - return a.id; -} - -test_class(); -test_bind(); - -bench('test_bind', test_bind); -bench('test_class', test_class); -bench('test_bind', test_bind); -bench('test_class', test_class); - -globalThis.document?.body.append(' Done. Check the console.'); diff --git a/demo/es-bench/memory-arrow-func.ts b/demo/es-bench/memory-arrow-func.ts deleted file mode 100644 index 95681019..00000000 --- a/demo/es-bench/memory-arrow-func.ts +++ /dev/null @@ -1,31 +0,0 @@ -import {random} from '@alwatr/math'; - -export function heavyObject() { - const obj: Record> = {}; - for (let i = 100_000; i; i--) { - const id = 'user_' + i; - obj[id] = { - id, - fname: random.string(4, 16), - lname: random.string(4, 32), - email: random.string(8, 32), - token: random.string(16), - }; - } - return obj; -} - -(() => { - // @ts-ignore - const temp = heavyObject(); - window.addEventListener('click', () => { - console.log(1); - }); -})(); - -/** - * Empty html: 3.1MB - * Simple event: 3.3MB - * Use heavyObject: 64MB - * Make heavyObject but don`t use it: 3.3MB (برگام!) - */ diff --git a/demo/es-bench/memory-many-func.js b/demo/es-bench/memory-many-func.js deleted file mode 100644 index 0eab094d..00000000 --- a/demo/es-bench/memory-many-func.js +++ /dev/null @@ -1,39 +0,0 @@ -class test1 { -} - -for(let i=0; i<1000; i++) { - test1.prototype['method' + i] = function (a) { - a++; - return a; - } -} - -console.time('bench'); -const a1 = new test1(); -let n1=0; -for(let i=0; i<1000; i++) { - n1 += a1.method500(i); -} -console.timeEnd('bench'); - - -/// -- - - -class test2 { -} - -test2.prototype.methodN = function() { - return function (a) { - a++; - return a; - } -} - -console.time('bench'); -const a2 = new test2(); -let n2=0; -for(let i=0; i<1000; i++) { - n2 += a2.methodN()(i); -} -console.timeEnd('bench'); diff --git a/demo/es-bench/node-exist.ts b/demo/es-bench/node-exist.ts deleted file mode 100644 index 539d0adc..00000000 --- a/demo/es-bench/node-exist.ts +++ /dev/null @@ -1,23 +0,0 @@ -import {accessSync, existsSync, constants} from 'node:fs'; -import { bench } from './bench.js'; - -const filePath = './temp-file.txt'; -function exist(): boolean { - return existsSync(filePath); -} - -function access(): boolean { - try { - accessSync(filePath, constants.F_OK); - return true; - } - catch { - return false - } -} - -console.log('exist(%s) => %s', filePath, exist()) -console.log('access(%s) => %s', filePath, access()) - -bench('exist', exist); -bench('access', access); diff --git a/demo/es-bench/object-vs-map.ts b/demo/es-bench/object-vs-map.ts deleted file mode 100644 index b4ea2416..00000000 --- a/demo/es-bench/object-vs-map.ts +++ /dev/null @@ -1,56 +0,0 @@ -import {bench} from './bench.js'; - -const size = 1_000; - -let userListRecord: Record> = {}; -let userListMap = new Map>(); - -function test_make_map() { - userListMap = new Map>(); - for (let i = size; i; i--) { - const userId = 'user_' + i; - - const user = new Map(); - user.set('user', userId); - user.set('fname', 'ali'); - user.set('lname', 'md'); - user.set('email', 'i@ali.md'); - user.set('token', '1234abcd'); - - userListMap.set(userId, user); - } -} - -function test_make_obj() { - userListRecord = {}; - for (let i = size; i; i--) { - const userId = 'user_' + i; - userListRecord[userId] = { - user: userId, - fname: 'ali', - lname: 'md', - email: 'i@ali.md', - token: '1234abcd', - }; - } -} - -function test_access_map() { - if (userListMap.get('user_' + size / 2)!.get('user') !== 'user_' + size / 2) throw new Error('not_match'); -} - -function test_access_obj() { - if (userListRecord['user_' + size / 2]['user'] !== 'user_' + size / 2) throw new Error('not_match'); -} - -bench('test_make_map_1st', test_make_map, 10_000); -bench('test_make_obj_1st', test_make_obj, 10_000); -bench('test_access_map_1st', test_access_map, 10_000); -bench('test_access_obj_1st', test_access_obj, 10_000); - -bench('test_make_map_2nd', test_make_map, 10_000); -bench('test_make_obj_2nd', test_make_obj, 10_000); -bench('test_access_map_2nd', test_access_map, 10_000); -bench('test_access_obj_2nd', test_access_obj, 10_000); - -globalThis.document?.body.append(' Done. Check the console.'); diff --git a/demo/es-bench/reg-cost.ts b/demo/es-bench/reg-cost.ts deleted file mode 100644 index 0233f5cc..00000000 --- a/demo/es-bench/reg-cost.ts +++ /dev/null @@ -1,26 +0,0 @@ -import {bench} from './bench.js'; - -function test_1(input = 'ali'): string { - return input.replace(/[l i]/g, ''); -} - -const regex = /[l i]/g; -function test_2(input = 'ali'): string { - return input.replace(regex, ''); -} - -function test_3(input = 'ali'): string { - return input.replace(new RegExp('[l i]', 'g'), ''); -} - -const regex2 = new RegExp('[l i]', 'g'); -function test_4(input = 'ali'): string { - return input.replace(regex2, ''); -} - -bench('test_1', test_1); -bench('test_2', test_2); -bench('test_3', test_3); -bench('test_4', test_4); - -globalThis.document?.body.append(' Done. Check the console.'); diff --git a/demo/storage-client/index.ts b/demo/storage-client/index.ts index 0cec5b24..200f2c59 100644 --- a/demo/storage-client/index.ts +++ b/demo/storage-client/index.ts @@ -23,7 +23,7 @@ let ali: User | null; try { ali = await db.get('alimd'); - if (ali == null ) { + if (ali == null) { console.log('ali not found'); const ali = { id: 'alimd', @@ -50,7 +50,7 @@ await db.set({ token: Math.random().toString(36).substring(2, 15), }); -console.log('has \'alimd\': %o', await db.has('alimd')); +console.log("has 'alimd': %o", await db.has('alimd')); console.log('keys: %o', await db.keys()); console.log('getAll: %o', await db.getStorage()); await db.delete('alimd'); diff --git a/demo/tsconfig.json b/demo/tsconfig.json index c46e2519..9056254d 100644 --- a/demo/tsconfig.json +++ b/demo/tsconfig.json @@ -9,8 +9,5 @@ "include": ["**/*.ts"], "exclude": ["*.d.ts", "node_modules"], - "references": [ - {"path": "../core/storage-client"}, - {"path": "../core/storage-engine"} - ] + "references": [{"path": "../packages/client"}, {"path": "../packages/engine"}] } diff --git a/lerna.json b/lerna.json index e93e4ecf..1bc37344 100644 --- a/lerna.json +++ b/lerna.json @@ -1,8 +1,8 @@ { "$schema": "node_modules/@lerna-lite/cli/schemas/lerna-schema.json", - "version": "independent", + "version": "v4.0.0-rc", "npmClient": "yarn", - "packages": ["core/*", "services/*"], + "packages": ["packages/*", "demo"], "loglevel": "verbose", "command": { "version": { diff --git a/packages/client/CHANGELOG.md b/packages/client/CHANGELOG.md new file mode 100644 index 00000000..5160cd44 --- /dev/null +++ b/packages/client/CHANGELOG.md @@ -0,0 +1,204 @@ +# Change Log + +All notable changes to this project will be documented in this file. +See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. + +## [1.1.2](https://github.com/Alwatr/storage/compare/@alwatr/storage-client@1.1.1...@alwatr/storage-client@1.1.2) (2023-09-12) + +**Note:** Version bump only for package @alwatr/storage-client + +## [1.1.1](https://github.com/Alwatr/storage/compare/@alwatr/storage-client@1.1.0...@alwatr/storage-client@1.1.1) (2023-09-12) + +**Note:** Version bump only for package @alwatr/storage-client + +# 1.1.0 (2023-09-12) + +# 1.0.0 (2023-06-14) + +# 0.32.0 (2023-05-27) + +### Bug Fixes + +- **storage-client:** `get` return type ([dfe9728](https://github.com/Alwatr/storage/commit/dfe9728b033d74f25891cab02fc19a153f760896)) +- **storage-client:** remove some extra types ([017b8ed](https://github.com/Alwatr/storage/commit/017b8ed262cf009a7ce3eeb9c141761d3d32ba81)) + +### Features + +- **storage-client:** compatibel with new storage server response types ([9b88472](https://github.com/Alwatr/storage/commit/9b88472ce4f037010c291f5e15b2a480a8439fdf)) + +# 0.31.0 (2023-05-08) + +### Bug Fixes + +- logger new api ([fd86f32](https://github.com/Alwatr/storage/commit/fd86f324b98dc1d22654f4597a033e8ff10c4dad)) +- new logger api ([9d83a7d](https://github.com/Alwatr/storage/commit/9d83a7dc5c103bc3bb4282dacfd85fa998915300)) +- **storage-client:** serviceRequest type ([66758e1](https://github.com/Alwatr/storage/commit/66758e12a6da369f9d2ff90b57a470ff08413f7b)) + +### Features + +- **storage-client:** `cacheApiResponse` method ([4d6ca79](https://github.com/Alwatr/storage/commit/4d6ca793ef46f1eabed7ed5e07a2fa3234811a1b)) +- **storage-client:** `link` method ([25e2250](https://github.com/Alwatr/storage/commit/25e22507004d230f809884bbb88d02410571db53)) +- **storage-client:** add touch method ([5a347b3](https://github.com/Alwatr/storage/commit/5a347b316408c53ed3f5947fed9c1fff41c0c13c)) + +# 0.30.0 (2023-03-06) + +# 0.29.0 (2023-02-10) + +# 0.28.0 (2023-01-20) + +### Bug Fixes + +- **storage-client:** export AlwatrStorageClientConfig ([9d626c2](https://github.com/Alwatr/storage/commit/9d626c28898c7d97776896317d246b8483ecbe5e)) + +# 0.27.0 (2022-12-29) + +### Bug Fixes + +- review issue ([e5d192c](https://github.com/Alwatr/storage/commit/e5d192cbee6917c2de01146cf8bd026895724ab8)) + +### Features + +- **type:** define alwatrRegistredList ([25406c2](https://github.com/Alwatr/storage/commit/25406c268f39cf3e055ea05c9fc7b50bd3dd0a17)) + +# 0.26.0 (2022-12-22) + +### Bug Fixes + +- set correct path ([d01ce6f](https://github.com/Alwatr/storage/commit/d01ce6ffa749a5e3e0e11e35b4ed61d75d61fec9)) +- **storage-client:** build issue ([20df110](https://github.com/Alwatr/storage/commit/20df1106f8fad4dc916d44467584000cace07541)) +- **storage-client:** getStorage queryParameters ([441c2f8](https://github.com/Alwatr/storage/commit/441c2f88719d0fd98eb70d26aa4ea79a47acd6b9)) +- **storage-client:** import type ([c1ef85d](https://github.com/Alwatr/storage/commit/c1ef85d74be28998f5b5ce6b55bb92a6c40fcd89)) +- tsconfig ([e96dcd3](https://github.com/Alwatr/storage/commit/e96dcd30774a9f06f7d051e0504192cbbe019e35)) + +### Features + +- improve error debugging ([1fba504](https://github.com/Alwatr/storage/commit/1fba50400a1e8ececc10bbe8ea11cc8dcea2289c)) +- **storage-client:** error codes ([fc5fe8a](https://github.com/Alwatr/storage/commit/fc5fe8a650d881b224c9421da3bb34565e1e3fee)) +- **storage-client:** more data validate on get ([4a8200c](https://github.com/Alwatr/storage/commit/4a8200c42da20fe21dbdf198ef1c3708186e23cc)) + +# [1.0.0](https://github.com/Alwatr/storage/compare/v0.32.0...v1.0.0) (2023-06-14) + +**Note:** Version bump only for package @alwatr/storage-client + +# [0.32.0](https://github.com/Alwatr/storage/compare/v0.31.0...v0.32.0) (2023-05-27) + +### Bug Fixes + +- **storage-client:** `get` return type ([dfe9728](https://github.com/Alwatr/storage/commit/dfe9728b033d74f25891cab02fc19a153f760896)) +- **storage-client:** remove some extra types ([017b8ed](https://github.com/Alwatr/storage/commit/017b8ed262cf009a7ce3eeb9c141761d3d32ba81)) + +### Features + +- **storage-client:** compatibel with new storage server response types ([9b88472](https://github.com/Alwatr/storage/commit/9b88472ce4f037010c291f5e15b2a480a8439fdf)) + +# [0.31.0](https://github.com/Alwatr/storage/compare/v0.30.0...v0.31.0) (2023-05-08) + +### Bug Fixes + +- logger new api ([fd86f32](https://github.com/Alwatr/storage/commit/fd86f324b98dc1d22654f4597a033e8ff10c4dad)) +- new logger api ([9d83a7d](https://github.com/Alwatr/storage/commit/9d83a7dc5c103bc3bb4282dacfd85fa998915300)) +- **storage-client:** serviceRequest type ([66758e1](https://github.com/Alwatr/storage/commit/66758e12a6da369f9d2ff90b57a470ff08413f7b)) + +### Features + +- **storage-client:** `cacheApiResponse` method ([4d6ca79](https://github.com/Alwatr/storage/commit/4d6ca793ef46f1eabed7ed5e07a2fa3234811a1b)) +- **storage-client:** `link` method ([25e2250](https://github.com/Alwatr/storage/commit/25e22507004d230f809884bbb88d02410571db53)) +- **storage-client:** add touch method ([5a347b3](https://github.com/Alwatr/storage/commit/5a347b316408c53ed3f5947fed9c1fff41c0c13c)) + +# [0.30.0](https://github.com/Alwatr/storage/compare/v0.29.0...v0.30.0) (2023-03-06) + +**Note:** Version bump only for package @alwatr/storage-client + +# [0.29.0](https://github.com/Alwatr/storage/compare/v0.28.0...v0.29.0) (2023-02-10) + +**Note:** Version bump only for package @alwatr/storage-client + +# [0.28.0](https://github.com/Alwatr/storage/compare/v0.27.0...v0.28.0) (2023-01-20) + +### Bug Fixes + +- review issue ([e5d192c](https://github.com/Alwatr/storage/commit/e5d192cbee6917c2de01146cf8bd026895724ab8)) +- **storage-client:** export AlwatrStorageClientConfig ([9d626c2](https://github.com/Alwatr/storage/commit/9d626c28898c7d97776896317d246b8483ecbe5e)) + +### Features + +- **type:** define alwatrRegistredList ([25406c2](https://github.com/Alwatr/storage/commit/25406c268f39cf3e055ea05c9fc7b50bd3dd0a17)) + +# [0.27.0](https://github.com/Alwatr/storage/compare/v0.26.0...v0.27.0) (2022-12-29) + +**Note:** Version bump only for package @alwatr/storage-client + +# [0.26.0](https://github.com/Alwatr/storage/compare/v0.25.0...v0.26.0) (2022-12-22) + +### Bug Fixes + +- set correct path ([d01ce6f](https://github.com/Alwatr/storage/commit/d01ce6ffa749a5e3e0e11e35b4ed61d75d61fec9)) +- **storage-client:** build issue ([20df110](https://github.com/Alwatr/storage/commit/20df1106f8fad4dc916d44467584000cace07541)) +- **storage-client:** getStorage queryParameters ([441c2f8](https://github.com/Alwatr/storage/commit/441c2f88719d0fd98eb70d26aa4ea79a47acd6b9)) +- **storage-client:** import type ([c1ef85d](https://github.com/Alwatr/storage/commit/c1ef85d74be28998f5b5ce6b55bb92a6c40fcd89)) +- tsconfig ([e96dcd3](https://github.com/Alwatr/storage/commit/e96dcd30774a9f06f7d051e0504192cbbe019e35)) + +### Features + +- improve error debugging ([1fba504](https://github.com/Alwatr/storage/commit/1fba50400a1e8ececc10bbe8ea11cc8dcea2289c)) +- **storage-client:** error codes ([fc5fe8a](https://github.com/Alwatr/storage/commit/fc5fe8a650d881b224c9421da3bb34565e1e3fee)) +- **storage-client:** more data validate on get ([4a8200c](https://github.com/Alwatr/storage/commit/4a8200c42da20fe21dbdf198ef1c3708186e23cc)) + +# [0.25.0](https://github.com/Alwatr/storage/compare/v0.24.1...v0.25.0) (2022-12-07) + +### Features + +- **storage-client:** dynamic storage name ([07cf5fb](https://github.com/Alwatr/storage/commit/07cf5fb2086d1f8ad0f731470a5dfb313038b51c)) +- **storage-client:** dynamic storage name ([2f0ca5b](https://github.com/Alwatr/storage/commit/2f0ca5b85241c2298efc503e5f14f994a35be484)) + +## [0.24.1](https://github.com/Alwatr/storage/compare/v0.24.0...v0.24.1) (2022-12-01) + +**Note:** Version bump only for package @alwatr/storage-client + +# [0.24.0](https://github.com/Alwatr/storage/compare/v0.23.0...v0.24.0) (2022-11-28) + +### Bug Fixes + +- remove \_updatedBy ([d8d5c83](https://github.com/Alwatr/storage/commit/d8d5c83884bbd30566001ff84faf9e840503471c)) +- update types ([44cc57f](https://github.com/Alwatr/storage/commit/44cc57f97a99ed810dae3fde39c9525bd0e8ff3c)) +- use ~ for package version ([4e027ff](https://github.com/Alwatr/storage/commit/4e027ff63875e03b088ebcdc1bdf2495f4494eec)) + +### Features + +- **storage-client:** use document object from fetch ([1ab7f5d](https://github.com/Alwatr/storage/commit/1ab7f5da462975bc3b765663d9e3ff97c214a4e3)) + +# [0.23.0](https://github.com/Alwatr/storage/compare/v0.22.1...v0.23.0) (2022-11-23) + +**Note:** Version bump only for package @alwatr/storage-client + +## [0.22.1](https://github.com/Alwatr/storage/compare/v0.22.0...v0.22.1) (2022-11-21) + +### Bug Fixes + +- **storage-client:** types issues ([c083bd0](https://github.com/Alwatr/storage/commit/c083bd08cd2364bc64ebd1e60c668f37784d8502)) + +# [0.22.0](https://github.com/Alwatr/storage/compare/v0.21.0...v0.22.0) (2022-11-20) + +### Bug Fixes + +- **storage-client:** fetch in has method ([a6f9098](https://github.com/Alwatr/storage/commit/a6f909821510c8da2fe9ab7340d3f010165a84c8)) +- **storage-client:** nodejs memory leak issue ([d5e0cde](https://github.com/Alwatr/storage/commit/d5e0cde091b8eba450a443ceba737aa1cac4fd3e)) +- **storage-client:** remove all null as value ([6fbc6e5](https://github.com/Alwatr/storage/commit/6fbc6e52e4b3d64ee5f347df6dc92673ce79e7ed)) +- **storage-client:** return array of string in keys ([b838f1f](https://github.com/Alwatr/storage/commit/b838f1f0161b3b76edc855e227161851bebaf3be)) +- **storage-client:** return boolean has in method ([68123cd](https://github.com/Alwatr/storage/commit/68123cd92d2ec085dc72d948a163c26796b27adc)) +- **storage-client:** review!!!!! ([c803991](https://github.com/Alwatr/storage/commit/c8039914aed6b1ad98d60de8b39122542811121b)) +- **storage-client:** types ([f277771](https://github.com/Alwatr/storage/commit/f277771973908d280b1879e96e77446c9f88bbe9)) +- **storage-client:** use dynamic token ([3c68806](https://github.com/Alwatr/storage/commit/3c68806762c027af7a2d5e019d08de6a8b079661)) + +### Features + +- **storage-client:** AlwatrStorageClient class structure ([164f44e](https://github.com/Alwatr/storage/commit/164f44e1028b325941d1b90be670b8f4194bfc75)) +- **storage-client:** forAll method ([40f802a](https://github.com/Alwatr/storage/commit/40f802aa02b02d8d9341822b36708fc81f16cbce)) +- **storage-client:** get method ([3f2d1a6](https://github.com/Alwatr/storage/commit/3f2d1a6363daa006a38c40f95d9b528937d38896)) +- **storage-client:** get, set, delete, getAll, keys methods ([2da68ba](https://github.com/Alwatr/storage/commit/2da68ba81ed5b18fba1c5a63a7e22cbcd98dda47)) +- **storage-client:** has method ([ba64195](https://github.com/Alwatr/storage/commit/ba6419512b75f3bd17a7d86fc2d41a41d8179d8d)) +- **storage-client:** new package ([cfe72da](https://github.com/Alwatr/storage/commit/cfe72da75f49f66c4d03875b0cb7c29966bb1c84)) + +### Performance Improvements + +- **storage-client:** refactor for perf improve and keep alive ([ed0b743](https://github.com/Alwatr/storage/commit/ed0b743a8936602b63d92c216d2d65f6a31d74cf)) diff --git a/core/storage-client/README.md b/packages/client/README.md similarity index 100% rename from core/storage-client/README.md rename to packages/client/README.md diff --git a/core/storage-client/package.json b/packages/client/package.json similarity index 80% rename from core/storage-client/package.json rename to packages/client/package.json index 65b8a31e..12d644b4 100644 --- a/core/storage-client/package.json +++ b/packages/client/package.json @@ -28,12 +28,12 @@ }, "repository": { "type": "git", - "url": "https://github.com/AliMD/alwatr", - "directory": "core/storage-client" + "url": "https://github.com/Alwatr/storage", + "directory": "packages/client" }, - "homepage": "https://github.com/AliMD/alwatr/tree/main/core/storage-client#readme", + "homepage": "https://github.com/Alwatr/storage/tree/next/packages/client#readme", "bugs": { - "url": "https://github.com/AliMD/alwatr/issues" + "url": "https://github.com/Alwatr/storage/issues" }, "dependencies": { "@alwatr/fetch": "^1.1.2", diff --git a/core/storage-client/src/storage-client.ts b/packages/client/src/storage-client.ts similarity index 90% rename from core/storage-client/src/storage-client.ts rename to packages/client/src/storage-client.ts index 8acf918d..5212da09 100644 --- a/core/storage-client/src/storage-client.ts +++ b/packages/client/src/storage-client.ts @@ -66,8 +66,8 @@ globalAlwatr.registeredList.push({ */ export class AlwatrStorageClient { protected _logger = createLogger( - 'alwatr/storage-client' + (this.config.name == null ? '' : ':' + this.config.name), - this.config.devMode, + 'alwatr/storage-client' + (this.config.name == null ? '' : ':' + this.config.name), + this.config.devMode, ); /** @@ -110,10 +110,7 @@ export class AlwatrStorageClient( - documentId: string, - storage = this.config.name, - ): Promise { + async get(documentId: string, storage = this.config.name): Promise { this._logger.logMethodArgs?.('get', {storage, documentId}); if (storage == null) throw new Error('storage_not_defined'); @@ -175,10 +172,7 @@ export class AlwatrStorageClient( - documentObject: T, - storage = this.config.name, - ): Promise { + async set(documentObject: T, storage = this.config.name): Promise { this._logger.logMethodArgs?.('set', {storage, documentId: documentObject.id}); if (storage == null) throw new Error('storage_not_defined'); @@ -256,10 +250,7 @@ export class AlwatrStorageClient( - path: string, - data: T, - ): Promise { + async cacheApiResponse(path: string, data: T): Promise { this._logger.logMethodArgs?.('cacheApiResponse', {path, data}); await serviceRequest({ @@ -282,10 +273,7 @@ export class AlwatrStorageClient { + async delete(documentId: string, storage = this.config.name): Promise { this._logger.logMethodArgs?.('delete', {storage, documentId}); if (storage == null) { throw new Error('storage_not_defined'); @@ -317,9 +305,7 @@ export class AlwatrStorageClient( - name = this.config.name, - ): Promise> { + async getStorage(name = this.config.name): Promise> { this._logger.logMethodArgs?.('getStorage', {name}); if (name == null) { throw new Error('storage_not_defined'); @@ -335,13 +321,8 @@ export class AlwatrStorageClient( - config: AlwatrStorageEngineConfig, + config: AlwatrStorageEngineConfig, ): AlwatrStorageEngine { this._logger.logMethodArgs?.('get', {name: config.name}); if (!this._list[config.name]) { diff --git a/core/storage-engine/src/storage-engine.ts b/packages/engine/src/storage-engine.ts similarity index 99% rename from core/storage-engine/src/storage-engine.ts rename to packages/engine/src/storage-engine.ts index 5c3ec92c..cc554853 100644 --- a/core/storage-engine/src/storage-engine.ts +++ b/packages/engine/src/storage-engine.ts @@ -340,7 +340,7 @@ export class AlwatrStorageEngine { + *allObject(): Generator { for (const documentId of this.keys) { const documentObject = this.get(documentId); if (documentObject != null) yield documentObject; diff --git a/core/storage-engine/src/type.ts b/packages/engine/src/type.ts similarity index 100% rename from core/storage-engine/src/type.ts rename to packages/engine/src/type.ts diff --git a/core/storage-engine/tsconfig.json b/packages/engine/tsconfig.json similarity index 100% rename from core/storage-engine/tsconfig.json rename to packages/engine/tsconfig.json diff --git a/packages/server/CHANGELOG.md b/packages/server/CHANGELOG.md new file mode 100644 index 00000000..ac2ec630 --- /dev/null +++ b/packages/server/CHANGELOG.md @@ -0,0 +1,215 @@ +# Change Log + +All notable changes to this project will be documented in this file. +See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. + +## [1.0.1](https://github.com/Alwatr/storage/compare/v1.0.0...v1.0.1) (2023-06-21) + +**Note:** Version bump only for package @alwatr/storage-server + +# [1.0.0](https://github.com/Alwatr/storage/compare/v0.32.0...v1.0.0) (2023-06-14) + +### Bug Fixes + +- **storage-server/link:** make dest folder if not exist ([b71acb4](https://github.com/Alwatr/storage/commit/b71acb40e1ac07668a825703253b5c205f106bb4)) +- **storage-server:** remove json extension ([8d70704](https://github.com/Alwatr/storage/commit/8d707046aeb35e4ebcfc0ea0e257ea29653fad34)) +- **storage-server:** rollback json extension as correct way ([47e6bc2](https://github.com/Alwatr/storage/commit/47e6bc22076fd4835a1604370318792985472233)) + +# [0.32.0](https://github.com/Alwatr/storage/compare/v0.31.0...v0.32.0) (2023-05-27) + +### Bug Fixes + +- import util/node ([ca9e995](https://github.com/Alwatr/storage/commit/ca9e995567ad267c1730e1c98f9dbbd03ab90331)) +- **storage-server:** link delay issue ([6498852](https://github.com/Alwatr/storage/commit/6498852e406252b387f7e8ecaea1c9e74501f53d)) +- **storage-server:** return value ([6e31502](https://github.com/Alwatr/storage/commit/6e3150296af8b0e6f45969686c21fba6c5a98d80)) + +### Features + +- **storage-server:** nre api response types ([8bb9408](https://github.com/Alwatr/storage/commit/8bb94085584acf6b6a86b0a9bd82e060ae5b7f33)) + +# [0.31.0](https://github.com/Alwatr/storage/compare/v0.30.0...v0.31.0) (2023-05-08) + +### Bug Fixes + +- new logger api ([9d83a7d](https://github.com/Alwatr/storage/commit/9d83a7dc5c103bc3bb4282dacfd85fa998915300)) +- **storage-server/cache-api-response:** resolve path ([dba3a76](https://github.com/Alwatr/storage/commit/dba3a76bdcb4ec1732d71fb1ca7e94e44e3458fb)) +- **storage-server/cache-api-response:** resolve path ([ae10ebd](https://github.com/Alwatr/storage/commit/ae10ebd584ff0047508aa175b3dc46e1cfc585e1)) +- **storage-server/cache-api-response:** resolve path and check not outside of base ([5f80d61](https://github.com/Alwatr/storage/commit/5f80d6128d55fea52c2a5a28debfe8039ebd0e44)) +- **storage-server/link:** resolve and security check paths ([c4db8f4](https://github.com/Alwatr/storage/commit/c4db8f4f0aabb7a83a6081776e992bc75a34f5f7)) +- **storage-server/touch:** remove id query params ([f6c9671](https://github.com/Alwatr/storage/commit/f6c96719b00d8d6014a566396e06cfd6ef950454)) +- **storage-server:** import cache-api-response ([1ffa5b3](https://github.com/Alwatr/storage/commit/1ffa5b3b8fb276b2af99af41af8270182f7de0b0)) +- **storage-server:** import route ([78fff6e](https://github.com/Alwatr/storage/commit/78fff6e464535cadcd28411f82b1a8e0b370fa2e)) +- **storage-server:** routes ([3e162d1](https://github.com/Alwatr/storage/commit/3e162d10daabdfbe91f4273bdc032031bd87cdf9)) + +### Features + +- **service:** `link` route ([eeb3275](https://github.com/Alwatr/storage/commit/eeb3275160df0f5a307aa21d3406930d3ec24506)) +- **storage-server/cache-api-response:** demo ([8ad9193](https://github.com/Alwatr/storage/commit/8ad9193cdacf7806486ead9e00da1bf0c199b932)) +- **storage-server/link:** make dest folder if not exist ([a68a442](https://github.com/Alwatr/storage/commit/a68a442423e42dd1820c7e95140c05581accf380)) +- **storage-server:** `cache-api-response` route ([666b255](https://github.com/Alwatr/storage/commit/666b2557aaccc256c7f8e89f117207fa1da21b81)) +- **storage-server:** add touch method ([a99ae5d](https://github.com/Alwatr/storage/commit/a99ae5df13f909eba4ad5cbf6d7d04cb2a98b6f6)) +- **storage-server:** demo for link and touch ([4a59530](https://github.com/Alwatr/storage/commit/4a595305bfde7127f32ee8096479d55c9d3b4490)) + +# [0.30.0](https://github.com/Alwatr/storage/compare/v0.29.0...v0.30.0) (2023-03-06) + +### Features + +- **storage:** design new batch api in demo.http ([9a0e655](https://github.com/Alwatr/storage/commit/9a0e65562a9781f732491bb5935d5ae98afe4e80)) + +# [0.29.0](https://github.com/Alwatr/storage/compare/v0.28.0...v0.29.0) (2023-02-10) + +### Bug Fixes + +- **storage-server:** type ([5e033d7](https://github.com/Alwatr/storage/commit/5e033d75d158a3b634a0d05da741241ff76f58d9)) +- **typescript:** rollback to 4.9.5 ([cc30f85](https://github.com/Alwatr/storage/commit/cc30f8502bf95868ff41ba986120b2842acba36b)) + +# [0.28.0](https://github.com/Alwatr/storage/compare/v0.27.0...v0.28.0) (2023-01-20) + +### Bug Fixes + +- **services:** app name in home page ([6feab58](https://github.com/Alwatr/storage/commit/6feab58b5655c7a09150ec83adf9f3bd8fe976b4)) +- **services:** service name in first log ([879f87f](https://github.com/Alwatr/storage/commit/879f87fd4d4b47454d608a5b71d70e47601c7cd7)) +- version in package.json ([403baa5](https://github.com/Alwatr/storage/commit/403baa53159db2a0fff5b3651769b85e66b13191)) + +# [0.27.0](https://github.com/Alwatr/storage/compare/v0.26.0...v0.27.0) (2022-12-29) + +**Note:** Version bump only for package @alwatr/storage-server + +# [0.26.0](https://github.com/Alwatr/storage/compare/v0.25.0...v0.26.0) (2022-12-22) + +### Bug Fixes + +- clean command ([14bafbb](https://github.com/Alwatr/storage/commit/14bafbb01b3c92ccf516346a4e5117f1893c32e9)) +- config ([893ba7c](https://github.com/Alwatr/storage/commit/893ba7c92002a01d802ee945b65a7c3accc244bb)) +- package.json script ([e633a8c](https://github.com/Alwatr/storage/commit/e633a8c4355bec0d2fc044f073f7f639c0fd1976)) +- remove lint dependencies from services ([f047a5b](https://github.com/Alwatr/storage/commit/f047a5bb0d1e8277f48b55969e18dc3582d9a234)) +- services serve script ([3c62e06](https://github.com/Alwatr/storage/commit/3c62e06ec594ec7da171fc39ec77787e3bd29a0c)) +- **storage-server:** prevent to modify storage by reply ([5baecda](https://github.com/Alwatr/storage/commit/5baecda57b78ac984a5e92108d12acdd22ac0d44)) +- tsconfig ([e96dcd3](https://github.com/Alwatr/storage/commit/e96dcd30774a9f06f7d051e0504192cbbe019e35)) +- update reply nano-server ([5a2d0e5](https://github.com/Alwatr/storage/commit/5a2d0e5698b16cffcc5393ee4a44ffda66702425)) + +### Features + +- esbuild (: ([43c7269](https://github.com/Alwatr/storage/commit/43c7269333cf71b142e26da1456446d42fb3f8e0)) +- improve error debugging ([1fba504](https://github.com/Alwatr/storage/commit/1fba50400a1e8ececc10bbe8ea11cc8dcea2289c)) +- move some depndencies to devDependencies ([4e9576e](https://github.com/Alwatr/storage/commit/4e9576e6fd55f361e08a54230931ad45832131d9)) +- new build process ([aa23ed2](https://github.com/Alwatr/storage/commit/aa23ed256824b9b4409e51a3213d6e67f2aeb8a3)) +- **publish-services:** synamic dockerfile for all services ([a900ae3](https://github.com/Alwatr/storage/commit/a900ae3f795392031d8e0410fc57b136927aa53a)) +- **storage-server:** SAVE_DEBOUNCE config ([6997e12](https://github.com/Alwatr/storage/commit/6997e1295cf82fcc3b043bbdd1199a70b6144df5)) + +# [0.25.0](https://github.com/Alwatr/storage/compare/v0.24.1...v0.25.0) (2022-12-07) + +### Bug Fixes + +- **deps:** typescipt version ([5b6d98c](https://github.com/Alwatr/storage/commit/5b6d98c82350eef6df30f420e550dd4cf356b974)) + +## [0.24.1](https://github.com/Alwatr/storage/compare/v0.24.0...v0.24.1) (2022-12-01) + +### Bug Fixes + +- **services/storage-server:** Dockerfile CMD ([1823e56](https://github.com/Alwatr/storage/commit/1823e56229eccaba86325344011fb54804f66496)) +- **services:** dockerfile copy issue ([d2cf4bc](https://github.com/Alwatr/storage/commit/d2cf4bccc0f5cdc034dbce9d17262d17b0df1198)) +- **services:** dockerfile copy issue ([0fa5bba](https://github.com/Alwatr/storage/commit/0fa5bba017124221cfcfe75ad9ac1ad402faedef)) + +# [0.24.0](https://github.com/Alwatr/storage/compare/v0.23.0...v0.24.0) (2022-11-28) + +### Bug Fixes + +- remove \_updatedBy ([d8d5c83](https://github.com/Alwatr/storage/commit/d8d5c83884bbd30566001ff84faf9e840503471c)) +- **services/storage-server:** dockerfile syntaxt ([42ba235](https://github.com/Alwatr/storage/commit/42ba235371de46f6ef9a0ea5554afa41fe9001fa)) +- **storage-server:** dockerfile ([5fc7c9a](https://github.com/Alwatr/storage/commit/5fc7c9a018ebcc6acefb0c6c6740759a7f7f8bd4)) +- **storage-server:** dockerfile args ([7777ca4](https://github.com/Alwatr/storage/commit/7777ca4f1c7a33a21753b52205fcca0540d5eea2)) +- **storage-server:** dockerfile copy path ([a3021af](https://github.com/Alwatr/storage/commit/a3021af0cdb35a25271e2a9e447a39426e634645)) +- **storage-server:** dockerfile from ([af63854](https://github.com/Alwatr/storage/commit/af63854b24da6fa75108fe962a278fc107070102)) +- **storage-server:** types ([3f3d98a](https://github.com/Alwatr/storage/commit/3f3d98a3dcd51340f888ab3db10c624e4e1ecd4b)) +- update types ([44cc57f](https://github.com/Alwatr/storage/commit/44cc57f97a99ed810dae3fde39c9525bd0e8ff3c)) +- use ~ for package version ([4e027ff](https://github.com/Alwatr/storage/commit/4e027ff63875e03b088ebcdc1bdf2495f4494eec)) + +### Features + +- **services/storage-server:** dockerignore ([530d342](https://github.com/Alwatr/storage/commit/530d342e6f9fcd5c9ec4638b1a714fb3ac08c083)) +- **storage-server:** dockerfile ([aa80d6e](https://github.com/Alwatr/storage/commit/aa80d6ec431e3b62beb26dba0fcc220ad27aaaf0)) +- **storage-server:** remove deps to fetch ([93d0c24](https://github.com/Alwatr/storage/commit/93d0c244b9b943e4fd4ec982086574cd413fde11)) + +# [0.23.0](https://github.com/Alwatr/storage/compare/v0.22.1...v0.23.0) (2022-11-23) + +**Note:** Version bump only for package @alwatr/storage-server + +## [0.22.1](https://github.com/Alwatr/storage/compare/v0.22.0...v0.22.1) (2022-11-21) + +### Bug Fixes + +- **service:** update package.json ([31dc122](https://github.com/Alwatr/storage/commit/31dc122cd4050167ece17e53800b3844b5c99c16)) + +# [0.22.0](https://github.com/Alwatr/storage/compare/v0.21.0...v0.22.0) (2022-11-20) + +### Bug Fixes + +- **storage-client:** return boolean has in method ([68123cd](https://github.com/Alwatr/storage/commit/68123cd92d2ec085dc72d948a163c26796b27adc)) +- **storage-server:** add host ([0f1d126](https://github.com/Alwatr/storage/commit/0f1d126094cb816e947d9926088e93d556573c40)) +- **storage-server:** DocumentObject type ([cf8cf3e](https://github.com/Alwatr/storage/commit/cf8cf3e128ddce690d5a7ad044007d7e76b3f6f9)) +- **storage-server:** path DocumentObject issue ([83ba54c](https://github.com/Alwatr/storage/commit/83ba54cb73ba8efb5b395c0772d37601e997175e)) +- **storage-server:** use new storage-engine ([48bd4eb](https://github.com/Alwatr/storage/commit/48bd4eb2e010d7ba1a29816b30dadb0a8247e0f0)) + +### Features + +- **services/storage-server:** has route ([7254393](https://github.com/Alwatr/storage/commit/72543932408f5ffc24df79d577d3de8f97fb0358)) + +### Performance Improvements + +- **storage-server:** debug --trace-gc ([8f6adf4](https://github.com/Alwatr/storage/commit/8f6adf4d6547c57f62e105ce83eef014360b3ca3)) + +# [0.21.0](https://github.com/Alwatr/storage/compare/v0.20.0...v0.21.0) (2022-11-13) + +**Note:** Version bump only for package alwatr-storage-nanoservice + +# [0.20.0](https://github.com/Alwatr/storage/compare/v0.19.0...v0.20.0) (2022-11-05) + +**Note:** Version bump only for package alwatr-storage-nanoservice + +# [0.19.0](https://github.com/Alwatr/storage/compare/v0.18.0...v0.19.0) (2022-11-01) + +**Note:** Version bump only for package alwatr-storage-nanoservice + +# [0.18.0](https://github.com/Alwatr/storage/compare/v0.17.0...v0.18.0) (2022-10-22) + +**Note:** Version bump only for package alwatr-storage-nanoservice + +# [0.17.0](https://github.com/Alwatr/storage/compare/v0.16.1...v0.17.0) (2022-10-21) + +**Note:** Version bump only for package alwatr-storage-nanoservice + +## [0.16.1](https://github.com/Alwatr/storage/compare/v0.16.0...v0.16.1) (2022-09-10) + +**Note:** Version bump only for package alwatr-storage-nanoservice + +# [0.16.0](https://github.com/Alwatr/storage/compare/v0.15.0...v0.16.0) (2022-09-08) + +**Note:** Version bump only for package alwatr-storage-nanoservice + +# [0.15.0](https://github.com/Alwatr/storage/compare/v0.14.0...v0.15.0) (2022-09-01) + +**Note:** Version bump only for package alwatr-storage-nanoservice + +# [0.14.0](https://github.com/Alwatr/storage/compare/v0.13.0...v0.14.0) (2022-08-19) + +**Note:** Version bump only for package alwatr-storage-nanoservice + +# [0.13.0](https://github.com/Alwatr/storage/compare/v0.12.0...v0.13.0) (2022-08-06) + +### Bug Fixes + +- **storage:** first log ([76a32d0](https://github.com/Alwatr/storage/commit/76a32d071b22b3a5b96a880d386bb3408ebe29ad)) +- **storage:** imports ([8d86a73](https://github.com/Alwatr/storage/commit/8d86a73c85c117416e2ae0f4c9b879bfbc2d8a7c)) +- **storage:** review and test ([adc1d0b](https://github.com/Alwatr/storage/commit/adc1d0b2ebd9cce4df946b21745c1a61172e66bb)) + +### Features + +- **services/storage:** base config ([75ae7d2](https://github.com/Alwatr/storage/commit/75ae7d27dc3d910a2f45cf92e63bbd5115cc8fca)) +- **services/storage:** updateDocument route ([723c795](https://github.com/Alwatr/storage/commit/723c795d573635653ee4246fb91dfe096a414cb2)) +- **services/storage:** extract and validate token ([dd4ffc4](https://github.com/Alwatr/storage/commit/dd4ffc44b05ba0496b530a4a69164d595b72c081)) +- **services/storage:** make base types ([fb26b7a](https://github.com/Alwatr/storage/commit/fb26b7a4f7646e17f4b1c6a5b2c4b51d666752a0)) +- **services/storage:** storage privider ([9b9c07f](https://github.com/Alwatr/storage/commit/9b9c07f53725fb7eb2a92706d4f3392675d8aad2)) +- **services/storage:** test and demo ([22e8ad4](https://github.com/Alwatr/storage/commit/22e8ad44cb39cacdb99f7535befed1a736aec773)) +- **storage:** docker ([a78f784](https://github.com/Alwatr/storage/commit/a78f7845aaaf4faace6de92dae57763299ee7d10)) +- **storage:** get method ([0b04f12](https://github.com/Alwatr/storage/commit/0b04f1209d7f865e2ef0e884a293587cfcd72420)) diff --git a/services/storage-server/README.md b/packages/server/README.md similarity index 100% rename from services/storage-server/README.md rename to packages/server/README.md diff --git a/services/storage-server/demo.http b/packages/server/demo.http similarity index 100% rename from services/storage-server/demo.http rename to packages/server/demo.http diff --git a/services/storage-server/package.json b/packages/server/package.json similarity index 84% rename from services/storage-server/package.json rename to packages/server/package.json index 42f5286a..945eede1 100644 --- a/services/storage-server/package.json +++ b/packages/server/package.json @@ -22,17 +22,17 @@ "license": "MIT", "private": true, "engines": { - "node": ">=18.13.0", - "npm": ">=8.0.0" + "node": ">=18.16.0", + "yarn": ">=4.0.0" }, "repository": { "type": "git", - "url": "https://github.com/AliMD/alwatr", - "directory": "services/storage-server" + "url": "https://github.com/Alwatr/storage", + "directory": "packages/server" }, - "homepage": "https://github.com/AliMD/alwatr/tree/main/services/storage-server#readme", + "homepage": "https://github.com/Alwatr/storage#readme", "bugs": { - "url": "https://github.com/AliMD/alwatr/issues" + "url": "https://github.com/Alwatr/storage/issues" }, "scripts": { "b": "yarn run build", @@ -41,7 +41,7 @@ "s": "yarn run start", "w": "yarn run watch", "start": "NODE_OPTIONS=--enable-source-maps run-s clean build serve", - "build": "yarn run build:es --analyze=verbose", + "build": "yarn run build:ts", "build:ts": "tsc --build", "build:es": "esbuild src/index.ts --platform=node --target=node19 --bundle --format=esm --minify --sourcemap --outdir=dist --out-extension:.js=.mjs", "clean": "rm -rf dist build .tsbuildinfo", diff --git a/services/storage-server/src/config.ts b/packages/server/src/config.ts similarity index 100% rename from services/storage-server/src/config.ts rename to packages/server/src/config.ts diff --git a/services/storage-server/src/index.ts b/packages/server/src/index.ts similarity index 100% rename from services/storage-server/src/index.ts rename to packages/server/src/index.ts diff --git a/services/storage-server/src/lib/nano-server.ts b/packages/server/src/lib/nano-server.ts similarity index 100% rename from services/storage-server/src/lib/nano-server.ts rename to packages/server/src/lib/nano-server.ts diff --git a/services/storage-server/src/lib/storage-provider.ts b/packages/server/src/lib/storage-provider.ts similarity index 100% rename from services/storage-server/src/lib/storage-provider.ts rename to packages/server/src/lib/storage-provider.ts diff --git a/services/storage-server/src/route/cache-api-response.ts b/packages/server/src/route/cache-api-response.ts similarity index 89% rename from services/storage-server/src/route/cache-api-response.ts rename to packages/server/src/route/cache-api-response.ts index 4f76fc52..153f1db0 100644 --- a/services/storage-server/src/route/cache-api-response.ts +++ b/packages/server/src/route/cache-api-response.ts @@ -12,7 +12,7 @@ nanoServer.route>('PUT', '/cache-api-response', async (con connection.requireToken(config.nanoServer.accessToken); - const bodyJson = await connection.requireJsonBody<{ path: string; data: StringifyableRecord }>(); + const bodyJson = await connection.requireJsonBody<{path: string; data: StringifyableRecord}>(); const base = config.storage.path; const path = resolve(base, bodyJson.path + '.json'); diff --git a/services/storage-server/src/route/delete.ts b/packages/server/src/route/delete.ts similarity index 100% rename from services/storage-server/src/route/delete.ts rename to packages/server/src/route/delete.ts diff --git a/services/storage-server/src/route/get.ts b/packages/server/src/route/get.ts similarity index 100% rename from services/storage-server/src/route/get.ts rename to packages/server/src/route/get.ts diff --git a/services/storage-server/src/route/has.ts b/packages/server/src/route/has.ts similarity index 100% rename from services/storage-server/src/route/has.ts rename to packages/server/src/route/has.ts diff --git a/services/storage-server/src/route/keys.ts b/packages/server/src/route/keys.ts similarity index 100% rename from services/storage-server/src/route/keys.ts rename to packages/server/src/route/keys.ts diff --git a/services/storage-server/src/route/link.ts b/packages/server/src/route/link.ts similarity index 100% rename from services/storage-server/src/route/link.ts rename to packages/server/src/route/link.ts diff --git a/services/storage-server/src/route/patch.ts b/packages/server/src/route/patch.ts similarity index 100% rename from services/storage-server/src/route/patch.ts rename to packages/server/src/route/patch.ts diff --git a/services/storage-server/src/route/storage.ts b/packages/server/src/route/storage.ts similarity index 100% rename from services/storage-server/src/route/storage.ts rename to packages/server/src/route/storage.ts diff --git a/services/storage-server/src/route/touch.ts b/packages/server/src/route/touch.ts similarity index 100% rename from services/storage-server/src/route/touch.ts rename to packages/server/src/route/touch.ts diff --git a/services/storage-server/tsconfig.json b/packages/server/tsconfig.json similarity index 80% rename from services/storage-server/tsconfig.json rename to packages/server/tsconfig.json index 214750a5..70b279eb 100644 --- a/services/storage-server/tsconfig.json +++ b/packages/server/tsconfig.json @@ -11,7 +11,5 @@ "include": ["src/**/*.ts"], "exclude": [], - "references": [ - {"path": "../../core/storage-engine"}, - ] + "references": [{"path": "../engine"}] } diff --git a/services/storage-server/CHANGELOG.md b/services/storage-server/CHANGELOG.md deleted file mode 100644 index 8fddb3a2..00000000 --- a/services/storage-server/CHANGELOG.md +++ /dev/null @@ -1,215 +0,0 @@ -# Change Log - -All notable changes to this project will be documented in this file. -See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. - -## [1.0.1](https://github.com/AliMD/alwatr/compare/v1.0.0...v1.0.1) (2023-06-21) - -**Note:** Version bump only for package @alwatr/storage-server - -# [1.0.0](https://github.com/AliMD/alwatr/compare/v0.32.0...v1.0.0) (2023-06-14) - -### Bug Fixes - -- **storage-server/link:** make dest folder if not exist ([b71acb4](https://github.com/AliMD/alwatr/commit/b71acb40e1ac07668a825703253b5c205f106bb4)) -- **storage-server:** remove json extension ([8d70704](https://github.com/AliMD/alwatr/commit/8d707046aeb35e4ebcfc0ea0e257ea29653fad34)) -- **storage-server:** rollback json extension as correct way ([47e6bc2](https://github.com/AliMD/alwatr/commit/47e6bc22076fd4835a1604370318792985472233)) - -# [0.32.0](https://github.com/AliMD/alwatr/compare/v0.31.0...v0.32.0) (2023-05-27) - -### Bug Fixes - -- import util/node ([ca9e995](https://github.com/AliMD/alwatr/commit/ca9e995567ad267c1730e1c98f9dbbd03ab90331)) -- **storage-server:** link delay issue ([6498852](https://github.com/AliMD/alwatr/commit/6498852e406252b387f7e8ecaea1c9e74501f53d)) -- **storage-server:** return value ([6e31502](https://github.com/AliMD/alwatr/commit/6e3150296af8b0e6f45969686c21fba6c5a98d80)) - -### Features - -- **storage-server:** nre api response types ([8bb9408](https://github.com/AliMD/alwatr/commit/8bb94085584acf6b6a86b0a9bd82e060ae5b7f33)) - -# [0.31.0](https://github.com/AliMD/alwatr/compare/v0.30.0...v0.31.0) (2023-05-08) - -### Bug Fixes - -- new logger api ([9d83a7d](https://github.com/AliMD/alwatr/commit/9d83a7dc5c103bc3bb4282dacfd85fa998915300)) -- **storage-server/cache-api-response:** resolve path ([dba3a76](https://github.com/AliMD/alwatr/commit/dba3a76bdcb4ec1732d71fb1ca7e94e44e3458fb)) -- **storage-server/cache-api-response:** resolve path ([ae10ebd](https://github.com/AliMD/alwatr/commit/ae10ebd584ff0047508aa175b3dc46e1cfc585e1)) -- **storage-server/cache-api-response:** resolve path and check not outside of base ([5f80d61](https://github.com/AliMD/alwatr/commit/5f80d6128d55fea52c2a5a28debfe8039ebd0e44)) -- **storage-server/link:** resolve and security check paths ([c4db8f4](https://github.com/AliMD/alwatr/commit/c4db8f4f0aabb7a83a6081776e992bc75a34f5f7)) -- **storage-server/touch:** remove id query params ([f6c9671](https://github.com/AliMD/alwatr/commit/f6c96719b00d8d6014a566396e06cfd6ef950454)) -- **storage-server:** import cache-api-response ([1ffa5b3](https://github.com/AliMD/alwatr/commit/1ffa5b3b8fb276b2af99af41af8270182f7de0b0)) -- **storage-server:** import route ([78fff6e](https://github.com/AliMD/alwatr/commit/78fff6e464535cadcd28411f82b1a8e0b370fa2e)) -- **storage-server:** routes ([3e162d1](https://github.com/AliMD/alwatr/commit/3e162d10daabdfbe91f4273bdc032031bd87cdf9)) - -### Features - -- **service:** `link` route ([eeb3275](https://github.com/AliMD/alwatr/commit/eeb3275160df0f5a307aa21d3406930d3ec24506)) -- **storage-server/cache-api-response:** demo ([8ad9193](https://github.com/AliMD/alwatr/commit/8ad9193cdacf7806486ead9e00da1bf0c199b932)) -- **storage-server/link:** make dest folder if not exist ([a68a442](https://github.com/AliMD/alwatr/commit/a68a442423e42dd1820c7e95140c05581accf380)) -- **storage-server:** `cache-api-response` route ([666b255](https://github.com/AliMD/alwatr/commit/666b2557aaccc256c7f8e89f117207fa1da21b81)) -- **storage-server:** add touch method ([a99ae5d](https://github.com/AliMD/alwatr/commit/a99ae5df13f909eba4ad5cbf6d7d04cb2a98b6f6)) -- **storage-server:** demo for link and touch ([4a59530](https://github.com/AliMD/alwatr/commit/4a595305bfde7127f32ee8096479d55c9d3b4490)) - -# [0.30.0](https://github.com/AliMD/alwatr/compare/v0.29.0...v0.30.0) (2023-03-06) - -### Features - -- **storage:** design new batch api in demo.http ([9a0e655](https://github.com/AliMD/alwatr/commit/9a0e65562a9781f732491bb5935d5ae98afe4e80)) - -# [0.29.0](https://github.com/AliMD/alwatr/compare/v0.28.0...v0.29.0) (2023-02-10) - -### Bug Fixes - -- **storage-server:** type ([5e033d7](https://github.com/AliMD/alwatr/commit/5e033d75d158a3b634a0d05da741241ff76f58d9)) -- **typescript:** rollback to 4.9.5 ([cc30f85](https://github.com/AliMD/alwatr/commit/cc30f8502bf95868ff41ba986120b2842acba36b)) - -# [0.28.0](https://github.com/AliMD/alwatr/compare/v0.27.0...v0.28.0) (2023-01-20) - -### Bug Fixes - -- **services:** app name in home page ([6feab58](https://github.com/AliMD/alwatr/commit/6feab58b5655c7a09150ec83adf9f3bd8fe976b4)) -- **services:** service name in first log ([879f87f](https://github.com/AliMD/alwatr/commit/879f87fd4d4b47454d608a5b71d70e47601c7cd7)) -- version in package.json ([403baa5](https://github.com/AliMD/alwatr/commit/403baa53159db2a0fff5b3651769b85e66b13191)) - -# [0.27.0](https://github.com/AliMD/alwatr/compare/v0.26.0...v0.27.0) (2022-12-29) - -**Note:** Version bump only for package @alwatr/storage-server - -# [0.26.0](https://github.com/AliMD/alwatr/compare/v0.25.0...v0.26.0) (2022-12-22) - -### Bug Fixes - -- clean command ([14bafbb](https://github.com/AliMD/alwatr/commit/14bafbb01b3c92ccf516346a4e5117f1893c32e9)) -- config ([893ba7c](https://github.com/AliMD/alwatr/commit/893ba7c92002a01d802ee945b65a7c3accc244bb)) -- package.json script ([e633a8c](https://github.com/AliMD/alwatr/commit/e633a8c4355bec0d2fc044f073f7f639c0fd1976)) -- remove lint dependencies from services ([f047a5b](https://github.com/AliMD/alwatr/commit/f047a5bb0d1e8277f48b55969e18dc3582d9a234)) -- services serve script ([3c62e06](https://github.com/AliMD/alwatr/commit/3c62e06ec594ec7da171fc39ec77787e3bd29a0c)) -- **storage-server:** prevent to modify storage by reply ([5baecda](https://github.com/AliMD/alwatr/commit/5baecda57b78ac984a5e92108d12acdd22ac0d44)) -- tsconfig ([e96dcd3](https://github.com/AliMD/alwatr/commit/e96dcd30774a9f06f7d051e0504192cbbe019e35)) -- update reply nano-server ([5a2d0e5](https://github.com/AliMD/alwatr/commit/5a2d0e5698b16cffcc5393ee4a44ffda66702425)) - -### Features - -- esbuild (: ([43c7269](https://github.com/AliMD/alwatr/commit/43c7269333cf71b142e26da1456446d42fb3f8e0)) -- improve error debugging ([1fba504](https://github.com/AliMD/alwatr/commit/1fba50400a1e8ececc10bbe8ea11cc8dcea2289c)) -- move some depndencies to devDependencies ([4e9576e](https://github.com/AliMD/alwatr/commit/4e9576e6fd55f361e08a54230931ad45832131d9)) -- new build process ([aa23ed2](https://github.com/AliMD/alwatr/commit/aa23ed256824b9b4409e51a3213d6e67f2aeb8a3)) -- **publish-services:** synamic dockerfile for all services ([a900ae3](https://github.com/AliMD/alwatr/commit/a900ae3f795392031d8e0410fc57b136927aa53a)) -- **storage-server:** SAVE_DEBOUNCE config ([6997e12](https://github.com/AliMD/alwatr/commit/6997e1295cf82fcc3b043bbdd1199a70b6144df5)) - -# [0.25.0](https://github.com/AliMD/alwatr/compare/v0.24.1...v0.25.0) (2022-12-07) - -### Bug Fixes - -- **deps:** typescipt version ([5b6d98c](https://github.com/AliMD/alwatr/commit/5b6d98c82350eef6df30f420e550dd4cf356b974)) - -## [0.24.1](https://github.com/AliMD/alwatr/compare/v0.24.0...v0.24.1) (2022-12-01) - -### Bug Fixes - -- **services/storage-server:** Dockerfile CMD ([1823e56](https://github.com/AliMD/alwatr/commit/1823e56229eccaba86325344011fb54804f66496)) -- **services:** dockerfile copy issue ([d2cf4bc](https://github.com/AliMD/alwatr/commit/d2cf4bccc0f5cdc034dbce9d17262d17b0df1198)) -- **services:** dockerfile copy issue ([0fa5bba](https://github.com/AliMD/alwatr/commit/0fa5bba017124221cfcfe75ad9ac1ad402faedef)) - -# [0.24.0](https://github.com/AliMD/alwatr/compare/v0.23.0...v0.24.0) (2022-11-28) - -### Bug Fixes - -- remove \_updatedBy ([d8d5c83](https://github.com/AliMD/alwatr/commit/d8d5c83884bbd30566001ff84faf9e840503471c)) -- **services/storage-server:** dockerfile syntaxt ([42ba235](https://github.com/AliMD/alwatr/commit/42ba235371de46f6ef9a0ea5554afa41fe9001fa)) -- **storage-server:** dockerfile ([5fc7c9a](https://github.com/AliMD/alwatr/commit/5fc7c9a018ebcc6acefb0c6c6740759a7f7f8bd4)) -- **storage-server:** dockerfile args ([7777ca4](https://github.com/AliMD/alwatr/commit/7777ca4f1c7a33a21753b52205fcca0540d5eea2)) -- **storage-server:** dockerfile copy path ([a3021af](https://github.com/AliMD/alwatr/commit/a3021af0cdb35a25271e2a9e447a39426e634645)) -- **storage-server:** dockerfile from ([af63854](https://github.com/AliMD/alwatr/commit/af63854b24da6fa75108fe962a278fc107070102)) -- **storage-server:** types ([3f3d98a](https://github.com/AliMD/alwatr/commit/3f3d98a3dcd51340f888ab3db10c624e4e1ecd4b)) -- update types ([44cc57f](https://github.com/AliMD/alwatr/commit/44cc57f97a99ed810dae3fde39c9525bd0e8ff3c)) -- use ~ for package version ([4e027ff](https://github.com/AliMD/alwatr/commit/4e027ff63875e03b088ebcdc1bdf2495f4494eec)) - -### Features - -- **services/storage-server:** dockerignore ([530d342](https://github.com/AliMD/alwatr/commit/530d342e6f9fcd5c9ec4638b1a714fb3ac08c083)) -- **storage-server:** dockerfile ([aa80d6e](https://github.com/AliMD/alwatr/commit/aa80d6ec431e3b62beb26dba0fcc220ad27aaaf0)) -- **storage-server:** remove deps to fetch ([93d0c24](https://github.com/AliMD/alwatr/commit/93d0c244b9b943e4fd4ec982086574cd413fde11)) - -# [0.23.0](https://github.com/AliMD/alwatr/compare/v0.22.1...v0.23.0) (2022-11-23) - -**Note:** Version bump only for package @alwatr/storage-server - -## [0.22.1](https://github.com/AliMD/alwatr/compare/v0.22.0...v0.22.1) (2022-11-21) - -### Bug Fixes - -- **service:** update package.json ([31dc122](https://github.com/AliMD/alwatr/commit/31dc122cd4050167ece17e53800b3844b5c99c16)) - -# [0.22.0](https://github.com/AliMD/alwatr/compare/v0.21.0...v0.22.0) (2022-11-20) - -### Bug Fixes - -- **storage-client:** return boolean has in method ([68123cd](https://github.com/AliMD/alwatr/commit/68123cd92d2ec085dc72d948a163c26796b27adc)) -- **storage-server:** add host ([0f1d126](https://github.com/AliMD/alwatr/commit/0f1d126094cb816e947d9926088e93d556573c40)) -- **storage-server:** DocumentObject type ([cf8cf3e](https://github.com/AliMD/alwatr/commit/cf8cf3e128ddce690d5a7ad044007d7e76b3f6f9)) -- **storage-server:** path DocumentObject issue ([83ba54c](https://github.com/AliMD/alwatr/commit/83ba54cb73ba8efb5b395c0772d37601e997175e)) -- **storage-server:** use new storage-engine ([48bd4eb](https://github.com/AliMD/alwatr/commit/48bd4eb2e010d7ba1a29816b30dadb0a8247e0f0)) - -### Features - -- **services/storage-server:** has route ([7254393](https://github.com/AliMD/alwatr/commit/72543932408f5ffc24df79d577d3de8f97fb0358)) - -### Performance Improvements - -- **storage-server:** debug --trace-gc ([8f6adf4](https://github.com/AliMD/alwatr/commit/8f6adf4d6547c57f62e105ce83eef014360b3ca3)) - -# [0.21.0](https://github.com/AliMD/alwatr/compare/v0.20.0...v0.21.0) (2022-11-13) - -**Note:** Version bump only for package alwatr-storage-nanoservice - -# [0.20.0](https://github.com/AliMD/alwatr/compare/v0.19.0...v0.20.0) (2022-11-05) - -**Note:** Version bump only for package alwatr-storage-nanoservice - -# [0.19.0](https://github.com/AliMD/alwatr/compare/v0.18.0...v0.19.0) (2022-11-01) - -**Note:** Version bump only for package alwatr-storage-nanoservice - -# [0.18.0](https://github.com/AliMD/alwatr/compare/v0.17.0...v0.18.0) (2022-10-22) - -**Note:** Version bump only for package alwatr-storage-nanoservice - -# [0.17.0](https://github.com/AliMD/alwatr/compare/v0.16.1...v0.17.0) (2022-10-21) - -**Note:** Version bump only for package alwatr-storage-nanoservice - -## [0.16.1](https://github.com/AliMD/alwatr/compare/v0.16.0...v0.16.1) (2022-09-10) - -**Note:** Version bump only for package alwatr-storage-nanoservice - -# [0.16.0](https://github.com/AliMD/alwatr/compare/v0.15.0...v0.16.0) (2022-09-08) - -**Note:** Version bump only for package alwatr-storage-nanoservice - -# [0.15.0](https://github.com/AliMD/alwatr/compare/v0.14.0...v0.15.0) (2022-09-01) - -**Note:** Version bump only for package alwatr-storage-nanoservice - -# [0.14.0](https://github.com/AliMD/alwatr/compare/v0.13.0...v0.14.0) (2022-08-19) - -**Note:** Version bump only for package alwatr-storage-nanoservice - -# [0.13.0](https://github.com/AliMD/alwatr/compare/v0.12.0...v0.13.0) (2022-08-06) - -### Bug Fixes - -- **storage:** first log ([76a32d0](https://github.com/AliMD/alwatr/commit/76a32d071b22b3a5b96a880d386bb3408ebe29ad)) -- **storage:** imports ([8d86a73](https://github.com/AliMD/alwatr/commit/8d86a73c85c117416e2ae0f4c9b879bfbc2d8a7c)) -- **storage:** review and test ([adc1d0b](https://github.com/AliMD/alwatr/commit/adc1d0b2ebd9cce4df946b21745c1a61172e66bb)) - -### Features - -- **services/storage:** base config ([75ae7d2](https://github.com/AliMD/alwatr/commit/75ae7d27dc3d910a2f45cf92e63bbd5115cc8fca)) -- **services/storage:** updateDocument route ([723c795](https://github.com/AliMD/alwatr/commit/723c795d573635653ee4246fb91dfe096a414cb2)) -- **services/storage:** extract and validate token ([dd4ffc4](https://github.com/AliMD/alwatr/commit/dd4ffc44b05ba0496b530a4a69164d595b72c081)) -- **services/storage:** make base types ([fb26b7a](https://github.com/AliMD/alwatr/commit/fb26b7a4f7646e17f4b1c6a5b2c4b51d666752a0)) -- **services/storage:** storage privider ([9b9c07f](https://github.com/AliMD/alwatr/commit/9b9c07f53725fb7eb2a92706d4f3392675d8aad2)) -- **services/storage:** test and demo ([22e8ad4](https://github.com/AliMD/alwatr/commit/22e8ad44cb39cacdb99f7535befed1a736aec773)) -- **storage:** docker ([a78f784](https://github.com/AliMD/alwatr/commit/a78f7845aaaf4faace6de92dae57763299ee7d10)) -- **storage:** get method ([0b04f12](https://github.com/AliMD/alwatr/commit/0b04f1209d7f865e2ef0e884a293587cfcd72420)) diff --git a/tsconfig.json b/tsconfig.json index af48e240..8c824af2 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -5,14 +5,14 @@ "compilerOptions": { "composite": true, "tsBuildInfoFile": ".tsbuildinfo", - "plugins": [], + "plugins": [] }, "files": [], "exclude": [], "references": [ - {"path": "./core/storage-engine"}, - {"path": "./core/storage-client"}, - {"path": "./demo"}, - {"path": "./services/storage-server"}, + {"path": "./packages/engine"}, + {"path": "./packages/client"}, + {"path": "./packages/server"}, + {"path": "./demo"} ] } diff --git a/yarn.lock b/yarn.lock index 0a51111d..353c8e05 100644 --- a/yarn.lock +++ b/yarn.lock @@ -79,6 +79,17 @@ __metadata: languageName: node linkType: hard +"@alwatr/nano-server@npm:^1.1.12": + version: 1.1.12 + resolution: "@alwatr/nano-server@npm:1.1.12" + dependencies: + "@alwatr/logger": "npm:^2.1.3" + "@alwatr/math": "npm:^1.1.12" + tslib: "npm:^2.6.2" + checksum: aa1850ad58f5b2b8ba26e1a06060ca3e24b5cd9805fe7a26bc3fa4954271b80b54f97c615b98976ef43e58f2bcbded80ac8eab3cb103f7367407e39fe0ff4c3e + languageName: node + linkType: hard + "@alwatr/signal@npm:^1.0.0, @alwatr/signal@npm:^1.1.2": version: 1.1.2 resolution: "@alwatr/signal@npm:1.1.2" @@ -102,6 +113,18 @@ __metadata: languageName: node linkType: hard +"@alwatr/storage-client@workspace:packages/client": + version: 0.0.0-use.local + resolution: "@alwatr/storage-client@workspace:packages/client" + dependencies: + "@alwatr/fetch": "npm:^1.1.2" + "@alwatr/logger": "npm:^1.1.2" + "@alwatr/type": "npm:^1.1.5" + "@types/node": "npm:^20.9.0" + tslib: "npm:^2.6.2" + languageName: unknown + linkType: soft + "@alwatr/storage-engine@npm:^1.0.0": version: 1.1.2 resolution: "@alwatr/storage-engine@npm:1.1.2" @@ -114,6 +137,33 @@ __metadata: languageName: node linkType: hard +"@alwatr/storage-engine@workspace:^, @alwatr/storage-engine@workspace:packages/engine": + version: 0.0.0-use.local + resolution: "@alwatr/storage-engine@workspace:packages/engine" + dependencies: + "@alwatr/logger": "npm:^1.1.2" + "@alwatr/type": "npm:^1.1.5" + "@alwatr/util": "npm:^1.2.0" + "@types/node": "npm:^20.9.0" + exit-hook: "npm:^4.0.0" + tslib: "npm:^2.6.2" + languageName: unknown + linkType: soft + +"@alwatr/storage-server@workspace:packages/server": + version: 0.0.0-use.local + resolution: "@alwatr/storage-server@workspace:packages/server" + dependencies: + "@alwatr/logger": "npm:^2.1.3" + "@alwatr/nano-server": "npm:^1.1.12" + "@alwatr/storage-engine": "workspace:^" + "@alwatr/type": "npm:^1.1.5" + "@alwatr/util": "npm:^1.2.10" + "@types/node": "npm:^20.9.0" + esbuild: "npm:^0.19.5" + languageName: unknown + linkType: soft + "@alwatr/type@npm:^1.0.0, @alwatr/type@npm:^1.1.1, @alwatr/type@npm:^1.1.4, @alwatr/type@npm:^1.1.5": version: 1.1.5 resolution: "@alwatr/type@npm:1.1.5" @@ -121,7 +171,7 @@ __metadata: languageName: node linkType: hard -"@alwatr/util@npm:^1.0.0, @alwatr/util@npm:^1.2.0, @alwatr/util@npm:^1.2.1": +"@alwatr/util@npm:^1.0.0, @alwatr/util@npm:^1.2.0, @alwatr/util@npm:^1.2.1, @alwatr/util@npm:^1.2.10": version: 1.2.10 resolution: "@alwatr/util@npm:1.2.10" dependencies: @@ -160,6 +210,160 @@ __metadata: languageName: node linkType: hard +"@esbuild/android-arm64@npm:0.19.5": + version: 0.19.5 + resolution: "@esbuild/android-arm64@npm:0.19.5" + conditions: os=android & cpu=arm64 + languageName: node + linkType: hard + +"@esbuild/android-arm@npm:0.19.5": + version: 0.19.5 + resolution: "@esbuild/android-arm@npm:0.19.5" + conditions: os=android & cpu=arm + languageName: node + linkType: hard + +"@esbuild/android-x64@npm:0.19.5": + version: 0.19.5 + resolution: "@esbuild/android-x64@npm:0.19.5" + conditions: os=android & cpu=x64 + languageName: node + linkType: hard + +"@esbuild/darwin-arm64@npm:0.19.5": + version: 0.19.5 + resolution: "@esbuild/darwin-arm64@npm:0.19.5" + conditions: os=darwin & cpu=arm64 + languageName: node + linkType: hard + +"@esbuild/darwin-x64@npm:0.19.5": + version: 0.19.5 + resolution: "@esbuild/darwin-x64@npm:0.19.5" + conditions: os=darwin & cpu=x64 + languageName: node + linkType: hard + +"@esbuild/freebsd-arm64@npm:0.19.5": + version: 0.19.5 + resolution: "@esbuild/freebsd-arm64@npm:0.19.5" + conditions: os=freebsd & cpu=arm64 + languageName: node + linkType: hard + +"@esbuild/freebsd-x64@npm:0.19.5": + version: 0.19.5 + resolution: "@esbuild/freebsd-x64@npm:0.19.5" + conditions: os=freebsd & cpu=x64 + languageName: node + linkType: hard + +"@esbuild/linux-arm64@npm:0.19.5": + version: 0.19.5 + resolution: "@esbuild/linux-arm64@npm:0.19.5" + conditions: os=linux & cpu=arm64 + languageName: node + linkType: hard + +"@esbuild/linux-arm@npm:0.19.5": + version: 0.19.5 + resolution: "@esbuild/linux-arm@npm:0.19.5" + conditions: os=linux & cpu=arm + languageName: node + linkType: hard + +"@esbuild/linux-ia32@npm:0.19.5": + version: 0.19.5 + resolution: "@esbuild/linux-ia32@npm:0.19.5" + conditions: os=linux & cpu=ia32 + languageName: node + linkType: hard + +"@esbuild/linux-loong64@npm:0.19.5": + version: 0.19.5 + resolution: "@esbuild/linux-loong64@npm:0.19.5" + conditions: os=linux & cpu=loong64 + languageName: node + linkType: hard + +"@esbuild/linux-mips64el@npm:0.19.5": + version: 0.19.5 + resolution: "@esbuild/linux-mips64el@npm:0.19.5" + conditions: os=linux & cpu=mips64el + languageName: node + linkType: hard + +"@esbuild/linux-ppc64@npm:0.19.5": + version: 0.19.5 + resolution: "@esbuild/linux-ppc64@npm:0.19.5" + conditions: os=linux & cpu=ppc64 + languageName: node + linkType: hard + +"@esbuild/linux-riscv64@npm:0.19.5": + version: 0.19.5 + resolution: "@esbuild/linux-riscv64@npm:0.19.5" + conditions: os=linux & cpu=riscv64 + languageName: node + linkType: hard + +"@esbuild/linux-s390x@npm:0.19.5": + version: 0.19.5 + resolution: "@esbuild/linux-s390x@npm:0.19.5" + conditions: os=linux & cpu=s390x + languageName: node + linkType: hard + +"@esbuild/linux-x64@npm:0.19.5": + version: 0.19.5 + resolution: "@esbuild/linux-x64@npm:0.19.5" + conditions: os=linux & cpu=x64 + languageName: node + linkType: hard + +"@esbuild/netbsd-x64@npm:0.19.5": + version: 0.19.5 + resolution: "@esbuild/netbsd-x64@npm:0.19.5" + conditions: os=netbsd & cpu=x64 + languageName: node + linkType: hard + +"@esbuild/openbsd-x64@npm:0.19.5": + version: 0.19.5 + resolution: "@esbuild/openbsd-x64@npm:0.19.5" + conditions: os=openbsd & cpu=x64 + languageName: node + linkType: hard + +"@esbuild/sunos-x64@npm:0.19.5": + version: 0.19.5 + resolution: "@esbuild/sunos-x64@npm:0.19.5" + conditions: os=sunos & cpu=x64 + languageName: node + linkType: hard + +"@esbuild/win32-arm64@npm:0.19.5": + version: 0.19.5 + resolution: "@esbuild/win32-arm64@npm:0.19.5" + conditions: os=win32 & cpu=arm64 + languageName: node + linkType: hard + +"@esbuild/win32-ia32@npm:0.19.5": + version: 0.19.5 + resolution: "@esbuild/win32-ia32@npm:0.19.5" + conditions: os=win32 & cpu=ia32 + languageName: node + linkType: hard + +"@esbuild/win32-x64@npm:0.19.5": + version: 0.19.5 + resolution: "@esbuild/win32-x64@npm:0.19.5" + conditions: os=win32 & cpu=x64 + languageName: node + linkType: hard + "@eslint-community/eslint-utils@npm:^4.2.0, @eslint-community/eslint-utils@npm:^4.4.0": version: 4.4.0 resolution: "@eslint-community/eslint-utils@npm:4.4.0" @@ -2940,6 +3144,83 @@ __metadata: languageName: node linkType: hard +"esbuild@npm:^0.19.5": + version: 0.19.5 + resolution: "esbuild@npm:0.19.5" + dependencies: + "@esbuild/android-arm": "npm:0.19.5" + "@esbuild/android-arm64": "npm:0.19.5" + "@esbuild/android-x64": "npm:0.19.5" + "@esbuild/darwin-arm64": "npm:0.19.5" + "@esbuild/darwin-x64": "npm:0.19.5" + "@esbuild/freebsd-arm64": "npm:0.19.5" + "@esbuild/freebsd-x64": "npm:0.19.5" + "@esbuild/linux-arm": "npm:0.19.5" + "@esbuild/linux-arm64": "npm:0.19.5" + "@esbuild/linux-ia32": "npm:0.19.5" + "@esbuild/linux-loong64": "npm:0.19.5" + "@esbuild/linux-mips64el": "npm:0.19.5" + "@esbuild/linux-ppc64": "npm:0.19.5" + "@esbuild/linux-riscv64": "npm:0.19.5" + "@esbuild/linux-s390x": "npm:0.19.5" + "@esbuild/linux-x64": "npm:0.19.5" + "@esbuild/netbsd-x64": "npm:0.19.5" + "@esbuild/openbsd-x64": "npm:0.19.5" + "@esbuild/sunos-x64": "npm:0.19.5" + "@esbuild/win32-arm64": "npm:0.19.5" + "@esbuild/win32-ia32": "npm:0.19.5" + "@esbuild/win32-x64": "npm:0.19.5" + dependenciesMeta: + "@esbuild/android-arm": + optional: true + "@esbuild/android-arm64": + optional: true + "@esbuild/android-x64": + optional: true + "@esbuild/darwin-arm64": + optional: true + "@esbuild/darwin-x64": + optional: true + "@esbuild/freebsd-arm64": + optional: true + "@esbuild/freebsd-x64": + optional: true + "@esbuild/linux-arm": + optional: true + "@esbuild/linux-arm64": + optional: true + "@esbuild/linux-ia32": + optional: true + "@esbuild/linux-loong64": + optional: true + "@esbuild/linux-mips64el": + optional: true + "@esbuild/linux-ppc64": + optional: true + "@esbuild/linux-riscv64": + optional: true + "@esbuild/linux-s390x": + optional: true + "@esbuild/linux-x64": + optional: true + "@esbuild/netbsd-x64": + optional: true + "@esbuild/openbsd-x64": + optional: true + "@esbuild/sunos-x64": + optional: true + "@esbuild/win32-arm64": + optional: true + "@esbuild/win32-ia32": + optional: true + "@esbuild/win32-x64": + optional: true + bin: + esbuild: bin/esbuild + checksum: 401e6da33bf6f2c4bbfa0aa8f37ddc6eb41c9d8ddf6b32c9922aabeef3f1886ed792eb03e778859e7e61467c765c78245f88216bc1a59050413ce7a513dd675f + languageName: node + linkType: hard + "escalade@npm:^3.1.1": version: 3.1.1 resolution: "escalade@npm:3.1.1"