diff --git a/blocklets/image-bin/CHANGELOG.md b/CHANGELOG.md similarity index 99% rename from blocklets/image-bin/CHANGELOG.md rename to CHANGELOG.md index 4dad836d..752c79ae 100644 --- a/blocklets/image-bin/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## 0.14.20 (2026-1-7) + +- feat: change bundle method + ## 0.14.19 (January 04, 2026) - chore: update deps @@ -89,7 +93,7 @@ ## 0.13.31 (September 30, 2025) -fix: enhance XSS filtering with recursive sanitization +- fix: enhance XSS filtering with recursive sanitization ## 0.13.30 (September 29, 2025) @@ -122,7 +126,7 @@ fix: enhance XSS filtering with recursive sanitization ## 0.13.23 (September 05, 2025) -chore: bump deps to fix csrf token mismatch v2 +- chore: bump deps to fix csrf token mismatch v2 ## 0.13.22 (September 02, 2025) @@ -233,7 +237,7 @@ chore: bump deps to fix csrf token mismatch v2 ## 0.12.5 (June 24, 2025) -fix: fix image paste upload issue in Safari +- fix: fix image paste upload issue in Safari ## 0.12.4 (June 06, 2025) diff --git a/blocklets/image-bin/blocklet.yml b/blocklets/image-bin/blocklet.yml index a6ed7377..3ab07453 100644 --- a/blocklets/image-bin/blocklet.yml +++ b/blocklets/image-bin/blocklet.yml @@ -1,8 +1,9 @@ name: image-bin -version: 0.14.19 +version: 0.14.20 title: Media Kit -description: Self-hosted media management that replaces expensive cloud services - while keeping you in complete control of your digital assets. +description: >- + Self-hosted media management that replaces expensive cloud services while + keeping you in complete control of your digital assets. keywords: - blocklet - react @@ -29,7 +30,7 @@ interfaces: - type: web name: publicUrl path: / - prefix: "*" + prefix: '*' port: BLOCKLET_PORT protocol: http cacheable: @@ -49,19 +50,20 @@ interfaces: - avatar allowSwitchProfile: true blockUnauthorized: false + proxyBehavior: service community: https://community.arcblock.io documentation: https://developer.blocklet.io homepage: https://store.blocklet.dev -license: "" +license: '' payment: price: [] share: [] timeout: start: 60 requirements: - server: ">=1.6.29" - os: "*" - cpu: "*" + server: '>=1.6.29' + os: '*' + cpu: '*' scripts: preStart: node api/hooks/pre-start.js preConfig: node api/hooks/pre-config.js @@ -70,19 +72,19 @@ environments: - name: CDN_HOST description: Use CDN Host for image load speed required: false - default: "" + default: '' secure: false shared: true - name: UNSPLASH_KEY description: The Unsplash API key, you can get on https://unsplash.com/developers required: false - default: "" + default: '' secure: false shared: true - name: UNSPLASH_SECRET description: The Unsplash API secret, you can get on https://unsplash.com/developers required: false - default: "" + default: '' secure: true shared: false capabilities: @@ -116,3 +118,4 @@ resource: types: - type: imgpack description: A collection of media assets that can be served by the Media Kit +egress: true diff --git a/blocklets/image-bin/package.json b/blocklets/image-bin/package.json index 7421a1de..eac149e9 100644 --- a/blocklets/image-bin/package.json +++ b/blocklets/image-bin/package.json @@ -1,6 +1,6 @@ { "name": "image-bin", - "version": "0.14.19", + "version": "0.14.20", "private": true, "scripts": { "dev": "blocklet dev", diff --git a/package.json b/package.json index b4cd7261..297223e7 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "image-bin", - "version": "0.0.1", + "version": "0.14.20", "private": true, "scripts": { "lint": "pnpm -r lint", @@ -21,7 +21,7 @@ "license": "Apache-2.0", "devDependencies": { "@arcblock/eslint-config": "0.3.3", - "bumpp": "^7.2.0", + "bumpp": "^10.3.2", "eslint": "^8.57.1", "husky": "^8.0.3", "prettier": "^2.8.8", diff --git a/packages/uploader-server/CHANGELOG.md b/packages/uploader-server/CHANGELOG.md deleted file mode 100644 index 17ff5942..00000000 --- a/packages/uploader-server/CHANGELOG.md +++ /dev/null @@ -1,368 +0,0 @@ -## 0.3.19 (January 04, 2026) - -- chore: update deps - -## 0.3.18 (December 22, 2025) - -- feat(uploader): add headless API for programmatic control - -## 0.3.16 (December 17, 2025) - -- fix(uploader): improve runtime path handling and EXIF removal logic - -## 0.3.15 (December 15, 2025) - -- chore: bump deps to latest - -## 0.3.14 (December 05, 2025) - -- fix: add prompt adapter for AI image generation - -## 0.3.13 (November 28, 2025) - -- chore: bump deps to latest - -## 0.3.12 (November 24, 2025) - -- chore: update deps - -## 0.3.11 (November 14, 2025) - -- chore: bump deps to latest - -## 0.3.10 (November 13, 2025) - -- chore: bump deps to latest - -## 0.3.9 (November 10, 2025) - -- chore: update dependencies - -## 0.3.8 (November 07, 2025) - -- chore: bump deps to latest - -## 0.3.7 (November 06, 2025) - -- chore: update deps - -## 0.3.6 (November 06, 2025) - -- chore: update deps - -## 0.3.5 (November 05, 2025) - -- chore: bump deps to latest - -## 0.3.4 (November 04, 2025) - -- chore: bump deps to latest - -## 0.3.3 (October 30, 2025) - -- chore: bump deps to latest - -## 0.3.2 (October 29, 2025) - -- chore: update deps - -## 0.3.1 (October 28, 2025) - -- chore: update deps - -## 0.3.0 (October 27, 2025) - -- feat: use a more secure signature mechanism - -## 0.2.15 (October 11, 2025) - -- chore: update blocklet sdk to latest -- Revert "chore: update deps (#459)" - -## 0.2.13 (October 09, 2025) - -- chore: update deps - -## 0.2.12 (September 23, 2025) - -- chore: update deps - -## 0.2.11 (September 16, 2025) - -- chore: update deps - -## 0.2.10 (September 05, 2025) - -- chore: bump version - -## 0.2.9 (September 05, 2025) - -chore: bump deps to fix csrf token mismatch v2 - -## 0.2.8 (September 02, 2025) - -- chore: update version - -## 0.2.7 (August 16, 2025) - -- chore: remove useless code - -## 0.2.6 (August 15, 2025) - -- chore: polish checkTrustedReferer logic - -## 0.2.5 (August 09, 2025) - -- chore: bump deps to latest - -## 0.2.4 (August 08, 2025) - -- chore: bump deps to latest - -## 0.2.3 (August 01, 2025) - -- chore: update deps - -## 0.2.2 (July 08, 2025) - -- chore: update deps - -## 0.2.1 (July 07, 2025) - -- chore: update deps - -## 0.2.0 (June 27, 2025) - -- chore(deps): optimize bundle size -- fix(lint): fix lint error -- chore(deps): mui codemod -- chore(deps): update mui & ux -- chore(deps): remove-forward-ref -- chore(deps): replace-default-props -- chore(deps): update react & vite - -## 0.1.102 (June 24, 2025) - -- feat: remove EXIF after upload - -## 0.1.101 (June 06, 2025) - -- chore: update deps - -## 0.1.100 (May 30, 2025) - -- feat: support VirtualPlugin in uploader - -## 0.1.99 (May 20, 2025) - -- chore: update deps - -## 0.1.98 (May 12, 2025) - -- chore: update deps - -## 0.1.97 (May 07, 2025) - -- chore: update deps - -## 0.1.96 (April 28, 2025) - -- chore: update deps - -## 0.1.95 (April 18, 2025) - -- chore: update deps - -## 0.1.94 (April 03, 2025) - -- chore: revert getCanUseResources function - -## 0.1.93 (April 01, 2025) - -- chore: update deps - -## 0.1.92 (March 26, 2025) - -- feat: add initDynamicResourceMiddleware middleware - -## 0.1.91 (March 25, 2025) - -- refactor: polish initStaticResourceMiddleware logic - -## 0.1.90 (March 16, 2025) - -- chore: update deps - -## 0.1.89 (March 16, 2025) - -- chore: update deps - -## 0.1.88 (March 16, 2025) - -- chore: update deps - -## 0.1.87 (March 13, 2025) - -- chore: update deps - -## 0.1.86 (March 06, 2025) - -- chore: polish initStaticResourceMiddleware fileName logic - -## 0.1.85 (February 26, 2025) - -- chore: update deps - -## 0.1.84 (February 20, 2025) - -- fix: resolve the bug of initLogger - -## 0.1.83 (February 19, 2025) - -- chore: re-bump version - -## 0.1.82 (February 19, 2025) - -- fix: resolve the bug of uploader-server logger import - -## 0.1.81 (February 19, 2025) - -- chore: update deps -- refactor: polish require to import middlewares - -## 0.1.80 (February 19, 2025) - -- chore: update deps - -## 0.1.79 (February 17, 2025) - -- chore: upload deps - -## 0.1.78 (February 08, 2025) - -- chore: modify the reference to the logger -- chore: add logger fallback logic to console - -## 0.1.77 (February 06, 2025) - -- chore: use native crypto from node.js - -## 0.1.76 (January 26, 2025) - -- chore: update deps - -## 0.1.75 (January 23, 2025) - -- fix: resolve the bug of safari can't play video - -## 0.1.74 (January 14, 2025) - -- chore: polish sdk logic to receive more options - -## 0.1.73 (January 13, 2025) - -- chore: update deps - -## 0.1.72 (January 10, 2025) - -- fix: resolve the bug of req.url not match file - -## 0.1.71 (January 10, 2025) - -- chore: polish middleware to support 304 httpStatus - -## 0.1.70 (January 10, 2025) - -- fix: resolve the bug of error proxy - -## 0.1.69 (January 10, 2025) - -- fix: resolve the bug of middleware no response - -## 0.1.68 (January 10, 2025) - -- feat: polish initStaticResourceMiddleware and initProxyToMediaKitUploadsMiddleware logic - -## 0.1.67 (January 09, 2025) - -- chore: update deps - -## 0.1.66 (January 02, 2025) - -- refactor: enhancing security - -## 0.1.65 (December 30, 2024) - -- chore: update deps - -## 0.1.64 (December 23, 2024) - -- chore: update deps - -## 0.1.63 (December 22, 2024) - -- chore: bump deps to latest - -## 0.1.62 (December 13, 2024) - -- chore: update deps - -## 0.1.61 (December 11, 2024) - -- chore: update deps - -## 0.1.60 (December 04, 2024) - -- fix: use process.env instead of sdk to avoid server crash - -## 0.1.59 (December 02, 2024) - -- fix: polish @blocklet/uploader-server import bug - -## 0.1.58 (December 02, 2024) - -- chore: polish ci node version - -## 0.1.57 (December 02, 2024) - -- chore: update sdk lib version - -## 0.1.56 (November 28, 2024) - -- chore: update deps - -## 0.1.55 (November 27, 2024) - -- chore: polish checkReferer logic - -## 0.1.54 (November 26, 2024) - -- chore: enhanced security against xss attacks - -## 0.1.53 (November 21, 2024) - -- fix: remove README typo - -## 0.1.52 (November 21, 2024) - -- chore: update deps - -## 0.1.51 (November 21, 2024) - -- chore: polish initProxyToMediaKitUploadsMiddleware logic - -## 0.1.50 (October 30, 2024) - -- chore: remove useless deps - -## 0.1.49 (October 30, 2024) - -- chore: re-bump version - -## 0.1.48 (October 30, 2024) - -- chore: split @blocklet/uploader lib - -## 0.1.47 (October 29, 2024) - -- feat: initial release diff --git a/packages/uploader-server/package.json b/packages/uploader-server/package.json index 7efe8920..7873e8c4 100644 --- a/packages/uploader-server/package.json +++ b/packages/uploader-server/package.json @@ -1,6 +1,6 @@ { "name": "@blocklet/uploader-server", - "version": "0.3.19", + "version": "0.14.20", "description": "blocklet upload server", "publishConfig": { "access": "public" diff --git a/packages/uploader/CHANGELOG.md b/packages/uploader/CHANGELOG.md deleted file mode 100644 index dea8d257..00000000 --- a/packages/uploader/CHANGELOG.md +++ /dev/null @@ -1,863 +0,0 @@ -## 0.3.19 (January 04, 2026) - -- chore: update deps - -## 0.3.18 (December 22, 2025) - - -- feat(uploader): add headless API for programmatic control - -## 0.3.16 (December 17, 2025) - -- fix(uploader): improve runtime path handling and EXIF removal logic - -## 0.3.15 (December 15, 2025) - -- chore: bump deps to latest - -## 0.3.14 (December 05, 2025) - -- fix: add prompt adapter for AI image generation - -## 0.3.13 (November 28, 2025) - -- chore: bump deps to latest - -## 0.3.12 (November 24, 2025) - -- chore: update deps - -## 0.3.11 (November 14, 2025) - -- chore: bump deps to latest - -## 0.3.10 (November 13, 2025) - -- chore: bump deps to latest - -## 0.3.9 (November 10, 2025) - -- chore: update dependencies - -## 0.3.8 (November 07, 2025) - -- chore: bump deps to latest - -## 0.3.7 (November 06, 2025) - -- chore: update deps - -## 0.3.6 (November 06, 2025) - -- chore: update deps - -## 0.3.5 (November 05, 2025) - -- chore: bump deps to latest - -## 0.3.4 (November 04, 2025) - -- chore: bump deps to latest - -## 0.3.3 (October 30, 2025) - -- chore: bump deps to latest - -## 0.3.2 (October 29, 2025) - -- chore: update deps - -## 0.3.1 (October 28, 2025) - -- chore: update deps - -## 0.3.0 (October 27, 2025) - -- feat: use a more secure signature mechanism - -## 0.2.15 (October 11, 2025) - -- chore: update blocklet sdk to latest -- Revert "chore: update deps (#459)" - -## 0.2.13 (October 09, 2025) - -- chore: update deps - -## 0.2.12 (September 23, 2025) - -- fix(i18n): add support for japanese and traditional chinese -- chore: update deps - -## 0.2.11 (September 16, 2025) - -- chore: update deps - -## 0.2.10 (September 05, 2025) - -- chore: bump version - -## 0.2.9 (September 03, 2025) - -- fix: replace radio buttons with select dropdown for model selection - -## 0.2.8 (September 02, 2025) - -- chore: update version - -## 0.2.7 (August 09, 2025) - -- chore: bump deps to latest - -## 0.2.6 (August 08, 2025) - -- chore: bump deps to latest - -## 0.2.5 (August 01, 2025) - -- chore: update deps - -## 0.2.4 (July 08, 2025) - -- chore: update deps - -## 0.2.3 (July 07, 2025) - -- chore: update deps - -## 0.2.2 (July 03, 2025) - -- fix: uploader missing export - -## 0.2.1 (June 27, 2025) - -- feat: add error tip in uploader when Media Kit is not running normally -- fix: resolve the bug of prevent svg xss attack clean error - -## 0.2.0 (June 27, 2025) - -- chore(deps): optimize bundle size -- fix(lint): fix lint error -- chore(deps): mui codemod -- chore(deps): update mui & ux -- chore(deps): remove-forward-ref -- chore(deps): replace-default-props -- chore(deps): update react & vite - -## 0.1.97 (June 24, 2025) - -- fix: resolve the bug of upload video error - -## 0.1.96 (June 24, 2025) - -fix: fix image paste upload issue in Safari - -## 0.1.95 (May 31, 2025) - -- feat: improve virtual-plugin in uploader - -## 0.1.94 (May 30, 2025) - -- feat: support VirtualPlugin in uploader - -## 0.1.93 (May 23, 2025) - -- fix: resolve the bug of mock response missing file - -## 0.1.92 (May 20, 2025) - -- chore: update deps - -## 0.1.91 (May 15, 2025) - -- chore: update deps -- chore: add mock complete event in uploaded / resources plugin - -## 0.1.90 (May 12, 2025) - -- chore: update deps - -## 0.1.89 (May 09, 2025) - -- chore: add animation style in uploader - -## 0.1.88 (May 09, 2025) - -- refactor: remove useless code and use Modal to render uploader - -## 0.1.87 (May 08, 2025) - -- feat: add TrapFocus to uploader - -## 0.1.86 (May 08, 2025) - -- refactor: polish uploader auto focus logic - -## 0.1.85 (May 07, 2025) - -- chore: update deps -- feat: support dark mode in uploader - -## 0.1.84 (April 28, 2025) - -- chore: polish lottie json files import logic - -## 0.1.83 (April 18, 2025) - -- chore: update deps -- chore: support match `*` allowedFileTypes and generate exts note - -## 0.1.82 (April 01, 2025) - -- chore: update deps - -## 0.1.81 (March 25, 2025) - -- chore: update deps - -## 0.1.80 (March 25, 2025) - -- chore: update deps - -## 0.1.79 (March 19, 2025) - -- chore: update deps - -## 0.1.78 (March 16, 2025) - -- chore: update deps - -## 0.1.77 (March 16, 2025) - -- chore: update deps - -## 0.1.76 (March 15, 2025) - -- chore: polish ci - -## 0.1.75 (March 15, 2025) - -- fix: resolve the bug of json stringify in ci - -## 0.1.74 (March 15, 2025) - -- fix: ci stringify bug - -## 0.1.73 (March 15, 2025) - -- chore: update deps and polish ci - -## 0.1.72 (March 13, 2025) - -- chore: update deps - -## 0.1.71 (February 26, 2025) - -- chore: update deps - -## 0.1.70 (February 20, 2025) - -- chore: polish uploader types - -## 0.1.69 (February 19, 2025) - -- chore: update deps -- fix: resolve the bug of download remote image - -## 0.1.68 (February 19, 2025) - -- chore: update deps -- refactor: using spark-md5 to get file hash - -## 0.1.67 (February 17, 2025) - -- chore: upload deps -- feat: add image exifr logic to rotate image - -## 0.1.66 (February 05, 2025) - -- chore: polish zip bomb logic - -## 0.1.65 (January 26, 2025) - -- chore: update deps -- feat: add strict svg clean logic -- fix: resolve the bug of note typo - -## 0.1.64 (January 13, 2025) - -- chore: update deps - -## 0.1.63 (January 09, 2025) - -- chore: update deps - -## 0.1.62 (January 02, 2025) - -- refactor: enhancing security - -## 0.1.61 (December 30, 2024) - -- chore: update deps - -## 0.1.60 (December 23, 2024) - -- chore: update deps - -## 0.1.59 (December 22, 2024) - -- chore: bump deps to latest - -## 0.1.58 (December 12, 2024) - -- feat: add apiPathProps.disableMediaKitStatus to uploader - -## 0.1.57 (December 11, 2024) - -- chore: update deps - -## 0.1.56 (December 03, 2024) - -- fix: resolve the bug of selecting folder miss relativePath - -## 0.1.55 (December 02, 2024) - -- chore: polish ci node version - -## 0.1.54 (December 02, 2024) - -- chore: update sdk lib version - -## 0.1.53 (November 26, 2024) - -- chore: enhanced security against xss attacks -- chore: add underline to uploader button - -## 0.1.52 (November 21, 2024) - -- chore: update deps - -## 0.1.51 (October 31, 2024) - -- chore: polish dep bundle size - -## 0.1.50 (October 30, 2024) - -- chore: remove useless deps - -## 0.1.49 (October 30, 2024) - -- chore: re-bump version - -## 0.1.48 (October 30, 2024) - -- chore: split @blocklet/uploader lib - -## 0.1.47 (October 29, 2024) - -- feat: support aspect ratio before upload -- feat: support image editor props - -## 0.1.46 (October 22, 2024) - -- chore: update deps - -## 0.1.45 (October 15, 2024) - -- chore: re-bump version - -## 0.1.44 (October 15, 2024) - -- chore: lock sdk version to beta - -## 0.1.43 (October 09, 2024) - -- chore: update deps and add csrf middleware - -## 0.1.42 (October 08, 2024) - -- fix: polish clear svg logic - -## 0.1.41 (September 27, 2024) - -- chore: polish uploader logic - -## 0.1.40 (September 20, 2024) - -- fix: polish loading status bug - -## 0.1.39 (September 20, 2024) - -- fix: polish uploader get endpoint url logic - -## 0.1.38 (September 20, 2024) - -- fix: polish status api component did logic - -## 0.1.37 (September 20, 2024) - -- chore: enhancing the integration experience - -## 0.1.36 (September 14, 2024) - -- chore: add x-csrf-token into request headers - -## 0.1.35 (September 13, 2024) - -- chore: add peer-deps to deps - -## 0.1.34 (September 11, 2024) - -- chore: add uploader responseResult in sdk - -## 0.1.33 (September 11, 2024) - -- chore: polish CHANGELOG date i18n - -## 0.1.32 (September 11, 2024) - -- refactor: polish checking exist file logic - -## 0.1.31 (September 09, 2024) - -- chore: remove useless close button when popup is false - -## 0.1.30 (September 09, 2024) - -- fix: resolve the bug of setPrefixPath not working - -## 0.1.29 (September 04, 2024) - -- feat: support to prevent zip bomb attack in uploader - -## 0.1.28 (August 29, 2024) - -- chore: bump deps to latest - -## 0.1.27 (August 24, 2024) - -- chore(ci): polish github action to avoid ci stop - -## 0.1.26 (August 24, 2024) - -- chore: polish ci - -## 0.1.25 (August 24, 2024) - -- feat: add ignoreTagList to xss lib - -## 0.1.24 (August 23, 2024) - -- feat: add @blocklet/xss lib - -## 0.1.23 (August 22, 2024) - -- feat: support disableAutoPrefix in uploader - -## 0.1.22 (August 22, 2024) - -- fix: polish local storage logic to avoid xss attack - -## 0.1.21 (August 20, 2024) - -- fix: polish uploader logic to prevent xss attack - -## 0.1.20 (July 19, 2024) - -- fix(uploader): disable componentInstaller while uploader is hidden - -## 0.1.19 (July 02, 2024) - -- fix: polish uploader onBeforeFileAdded logic to resolve window error mime - -## 0.1.18 (July 01, 2024) - -- chore: polish FileStore remove logic - -## 0.1.17 (June 30, 2024) - -- chore: polish error logging for uploader handler - -## 0.1.16 (June 28, 2024) - -- fix(core): error handling for upload cleanup job - -## 0.1.15 (June 26, 2024) - -- chore: add initProxyToMediaKitUploadsMiddleware to lib - -## 0.1.14 (June 26, 2024) - -- chore: remove symlink logic to avoid asset permission bug - -## 0.1.13 (June 26, 2024) - -- chore: re-bump version - -## 0.1.12 (June 26, 2024) - -- fix: polish restrictions logic - -## 0.1.11 (June 19, 2024) - -- fix(core): use native fs instead of fs-extra - -## 0.1.10 (June 17, 2024) - -- chore: remove useless lib - -## 0.1.9 (June 13, 2024) - -- feat: support webcam using environment facingmode - -## 0.1.8 (June 12, 2024) - -- chore: polish ci pnpm version to 9 - -## 0.1.7 (June 12, 2024) - -- chore: update deps - -## 0.1.6 (May 09, 2024) - -- chore: trigger CI logic - -## 0.1.5 (May 09, 2024) - -- chore: re-bump version - -## 0.1.5 (May 09, 2024) - -- chore: lock @uppy/provider-views lib - -## 0.1.4 (May 09, 2024) - -- chore: add resolutions into uploader - -## 0.1.3 (May 09, 2024) - -- fix: uploader error logic - -## 0.1.2 (May 07, 2024) - -- fix: polish sdk logic & remove prefs required - -## 0.1.1 (May 06, 2024) - -- chore: update deps -- refactor: uploader and uploader service - -## 0.1.0 (April 29, 2024) - -- chore: update deps - -## 0.0.78 (April 18, 2024) - -- chore: update deps - -## 0.0.77 (April 10, 2024) - -- chore: update deps and lock preact version - -## 0.0.76 (April 07, 2024) - -- chore: update deps - -## 0.0.75 (March 21, 2024) - -- chore: update deps - -## 0.0.74 (February 28, 2024) - -- feat: add download image logic - -## 0.0.73 (February 07, 2024) - -- chore: add private in Media Kit - -## 0.0.72 (February 07, 2024) - -- chore: update deps - -## 0.0.71 (February 03, 2024) - -- fix(uploader): fix release pkg - -## 0.0.70 (February 03, 2024) - -- chore(deps): update deps -- feat(uploader): build use unbundle mode - -## 0.0.69 (January 31, 2024) - -- feat: uploader add component-installer - -## 0.0.68 (January 29, 2024) - -- chore: polish @blocklet/logger to console - -## 0.0.67 (January 25, 2024) - -- chore: update deps - -## 0.0.66 (January 24, 2024) - -- chore: polish logger logic to fix server bug - -## 0.0.65 (January 18, 2024) - -- chore: polish skipRunningCheck logic - -## 0.0.64 (January 09, 2024) - -- chore: update deps - -## 0.0.63 (January 08, 2024) - -- chore: adjust new version getResources - -## 0.0.62 (January 05, 2024) - -- chore: lock @uppy/provider-views version - -## 0.0.61 (January 05, 2024) - -- chore: rebuild deps - -## 0.0.60 (January 05, 2024) - -- chore: polish resources middleware - -## 0.0.59 (January 03, 2024) - -- chore(resource): update resource export folder and Blocklet SDK - -## 0.0.58 (December 29, 2023) - -- chore: polish uploader default maxFileSize to infinity - -## 0.0.57 (December 29, 2023) - -- chore: add body-parser and pnpm dedupe - -## 0.0.56 (December 27, 2023) - -- fix: use MAX_UPLOAD_SIZE of image-bin - -## 0.0.55 (December 21, 2023) - -- fix: resolve the bug of paste image - -## 0.0.54 (December 21, 2023) - -- chore: update deps -- chore: adjust uploader provider to use createPortal - -## 0.0.53 (December 14, 2023) - -- feat: add remove sdk - -## 0.0.52 (December 05, 2023) - -- chore: update deps - -## 0.0.51 (December 03, 2023) - -- chore: update deps - -## 0.0.50 (December 01, 2023) - -- chore: update deps - -## 0.0.49 (December 01, 2023) - -- fix: end 404 res - -## 0.0.48 (December 01, 2023) - -- fix: polish uploaded plugin png background to grid - -## 0.0.47 (November 29, 2023) - -- fix: add grid background to adjust png - -## 0.0.46 (November 29, 2023) - -- chore: update deps - -## 0.0.45 (November 20, 2023) - -- chore: set generate image number in dall-e 3 - -## 0.0.44 (November 20, 2023) - -- chore: support select model - -## 0.0.42 (November 17, 2023) - -- feat: support dynamic resource dir assets - -## 0.0.41 (November 16, 2023) - -- chore: update deps - -## 0.0.40 (November 15, 2023) - -- chore: support dalle3 - -## 0.0.39 (November 14, 2023) - -- chore: lock q-queue lib - -## 0.0.38 (November 10, 2023) - -- chore: update deps - -## 0.0.37 (November 09, 2023) - -- fix: resolve the bug of chinese decoding error - -## 0.0.36 (November 09, 2023) - -- fix: resolve the bug of json file upload fail - -## 0.0.35 (November 06, 2023) - -- chore: update deps, for better login & logout experience - -## 0.0.34 (November 03, 2023) - -- chore: polish some error logic - -## 0.0.33 (October 29, 2023) - -- chore: update deps - -## 0.0.32 (October 17, 2023) - -- feat: support uploadedProps.params to filter images - -## 0.0.31 (October 17, 2023) - -- fix: resolve the bug of missing window.blocklet - -## 0.0.30 (October 13, 2023) - -- feat: support open plugin in uploaded - -## 0.0.29 (October 13, 2023) - -- chore: polish auto clear logic - -## 0.0.28 (October 13, 2023) - -- fix: resolve the bug of uploader ts - -## 0.0.27 (October 13, 2023) - -- chore: update uploader and sdk to support AI Studio - -## 0.0.26 (October 08, 2023) - -- chore: add i18n to Media Kit and Uploader - -## 0.0.25 (October 07, 2023) - -- fix: resolve the bug of uploader metadata stringify - -## 0.0.24 (September 28, 2023) - -- fix: resolve the bug of uploaderProvider - -## 0.0.23 (September 27, 2023) - -- fix: polish uploaded plugin x-component-did error bug - -## 0.0.22 (September 27, 2023) - -- chore: update lib package.json author - -## 0.0.21 (September 26, 2023) - -- fix: polish the logic of exist file - -## 0.0.20 (September 26, 2023) - -- chore: support Drop Target in uploader - -## 0.0.19 (September 22, 2023) - -- feat: support dynamic providerOptions for uploader - -## 0.0.18 (September 21, 2023) - -- chore: improve the user experience - -## 0.0.17 (September 19, 2023) - -- chore: update deps - -## 0.0.16 (September 18, 2023) - -- chore: polish the suggestions about bug bash - -## 0.0.15 (September 18, 2023) - -- feat: adjust folder logic in Media Kit - -## 0.0.14 (September 16, 2023) - -- chore: bump deps to latest - -## 0.0.13 (September 16, 2023) - -- feat: polish the uploader listener logic - -## 0.0.12 (September 15, 2023) - -- fix: resolve the bug of uploaded plugin can not scroll - -## 0.0.11 (September 14, 2023) - -- feat: polish @blocklet/uploader logic - -## 0.0.10 (September 13, 2023) - -- fix: resolve the bug of icon import - -## 0.0.9 (September 13, 2023) - -- feat: support AI Image in uploader - -## 0.0.8 (September 12, 2023) - -- feat: support symlink to other dir after upload - -## 0.0.7 (September 12, 2023) - -- chore: update deps - -## 0.0.6 (September 07, 2023) - -- fix: resolve the bug of window.blocklet not exist - -## 0.0.5 (September 06, 2023) - -- chore: update deps -- chore: polish companion params 'tempPath' to 'path' - -## 0.0.4 (September 05, 2023) - -- fix: CI missing prepublish script before publish to npm.js - -## 0.0.3 (September 05, 2023) - -- feat: support uploaded component in dashboard - -## 0.0.2 (September 04, 2023) - -- fix: resolve the bug of CI missing @blocklet/uploader lib - -## 0.0.2 (September 01, 2023) - -- chore: refactor image-bin uploader diff --git a/packages/uploader/package.json b/packages/uploader/package.json index 8cb6ebd1..0edf2637 100644 --- a/packages/uploader/package.json +++ b/packages/uploader/package.json @@ -1,6 +1,6 @@ { "name": "@blocklet/uploader", - "version": "0.3.19", + "version": "0.14.20", "description": "blocklet upload component", "publishConfig": { "access": "public" diff --git a/packages/xss/CHANGELOG.md b/packages/xss/CHANGELOG.md deleted file mode 100644 index a7d5f91b..00000000 --- a/packages/xss/CHANGELOG.md +++ /dev/null @@ -1,266 +0,0 @@ -## 0.3.16 (January 04, 2026) - -- chore: update deps - -## 0.3.15 (December 22, 2025) - -- feat(uploader): add headless API for programmatic control - -## 0.3.14 (December 17, 2025) - -- fix(uploader): improve runtime path handling and EXIF removal logic - -## 0.3.13 (December 15, 2025) - -- chore: bump deps to latest - -## 0.3.12 (December 05, 2025) - -- fix: add prompt adapter for AI image generation - -## 0.3.11 (November 28, 2025) - -- chore: bump deps to latest - -## 0.3.10 (November 24, 2025) - -- chore: update deps - -## 0.3.9 (November 14, 2025) - -- chore: bump deps to latest - -## 0.3.8 (November 13, 2025) - -- chore: bump deps to latest - -## 0.3.7 (November 10, 2025) - -- chore: update dependencies - -## 0.3.6 (November 06, 2025) - -- chore: update deps - -## 0.3.5 (November 06, 2025) - -- chore: update deps - -## 0.3.4 (November 04, 2025) - -- chore: bump deps to latest - -## 0.3.3 (October 30, 2025) - -- chore: bump deps to latest - -## 0.3.2 (October 29, 2025) - -- chore: update deps - -## 0.3.1 (October 28, 2025) - -- chore: update deps - -## 0.3.0 (October 27, 2025) - -- feat: use a more secure signature mechanism - -## 0.2.12 (October 11, 2025) - -- chore: update blocklet sdk to latest -- Revert "chore: update deps (#459)" - -## 0.2.10 (October 09, 2025) - -- chore: update deps - -## 0.2.9 (September 30, 2025) - -- fix: enhance XSS filtering with recursive sanitization - -## 0.2.8 (September 29, 2025) - -- fix: preserve SVG tag and attribute case sensitivity - -## 0.2.7 (September 05, 2025) - -- chore: bump version - -## 0.2.6 (September 02, 2025) - -- chore: update version - -## 0.2.5 (August 09, 2025) - -- chore: bump deps to latest - -## 0.2.4 (August 08, 2025) - -- chore: bump deps to latest - -## 0.2.3 (August 01, 2025) - -- chore: update deps - -## 0.2.2 (July 08, 2025) - -- chore: update deps - -## 0.2.1 (July 07, 2025) - -- chore: update deps - -## 0.2.0 (June 27, 2025) - -- chore(deps): optimize bundle size -- fix(lint): fix lint error -- chore(deps): mui codemod -- chore(deps): update mui & ux -- chore(deps): remove-forward-ref -- chore(deps): replace-default-props -- chore(deps): update react & vite - -## 0.1.36 (May 20, 2025) - -- chore: update deps - -## 0.1.35 (May 12, 2025) - -- chore: update deps - -## 0.1.34 (May 07, 2025) - -- chore: update deps - -## 0.1.33 (April 28, 2025) - -- chore: update deps - -## 0.1.32 (April 18, 2025) - -- chore: update deps - -## 0.1.31 (April 01, 2025) - -- chore: update deps - -## 0.1.30 (March 16, 2025) - -- chore: update deps - -## 0.1.29 (March 16, 2025) - -- chore: update deps - -## 0.1.28 (March 13, 2025) - -- chore: update deps - -## 0.1.27 (March 03, 2025) - -- feat: add xss prevent attack logic in sdk - -## 0.1.26 (February 26, 2025) - -- chore: update deps - -## 0.1.25 (February 19, 2025) - -- chore: update deps - -## 0.1.24 (February 19, 2025) - -- chore: update deps - -## 0.1.23 (February 17, 2025) - -- chore: upload deps - -## 0.1.22 (January 26, 2025) - -- chore: update deps - -## 0.1.21 (January 13, 2025) - -- chore: update deps - -## 0.1.20 (January 09, 2025) - -- chore: update deps - -## 0.1.19 (January 02, 2025) - -- refactor: enhancing security - -## 0.1.18 (December 30, 2024) - -- chore: update deps - -## 0.1.17 (December 23, 2024) - -- chore: update deps - -## 0.1.16 (December 22, 2024) - -- chore: bump deps to latest - -## 0.1.15 (December 11, 2024) - -- chore: update deps - -## 0.1.14 (December 02, 2024) - -- chore: polish ci node version - -## 0.1.13 (December 02, 2024) - -- chore: update sdk lib version - -## 0.1.12 (October 22, 2024) - -- chore: update deps - -## 0.1.11 (October 15, 2024) - -- chore: re-bump version - -## 0.1.10 (October 15, 2024) - -- chore: lock sdk version to beta - -## 0.1.9 (October 09, 2024) - -- chore: update deps and add csrf middleware - -## 0.1.8 (September 27, 2024) - -- chore: polish uploader logic - -## 0.1.7 (September 11, 2024) - -- chore: polish CHANGELOG date i18n - -## 0.1.6 (September 11, 2024) - -- refactor: polish checking exist file logic - -## 0.1.5 (August 25, 2024) - -- chore: remove useless code - -## 0.1.4 (August 24, 2024) - -- chore(ci): polish github action to avoid ci stop - -## 0.1.3 (August 24, 2024) - -- chore: polish ci - -## 0.1.2 (August 24, 2024) - -- feat: add ignoreTagList to xss lib - -## 0.1.1 (August 23, 2024) - -- feat: add @blocklet/xss lib diff --git a/packages/xss/package.json b/packages/xss/package.json index 8ccd66bd..1a2a0b56 100644 --- a/packages/xss/package.json +++ b/packages/xss/package.json @@ -1,6 +1,6 @@ { "name": "@blocklet/xss", - "version": "0.3.16", + "version": "0.14.20", "description": "blocklet prevent xss attack", "publishConfig": { "access": "public" diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index a60b45cb..3ae1ba02 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -60,8 +60,8 @@ importers: specifier: 0.3.3 version: 0.3.3(@typescript-eslint/eslint-plugin@7.18.0(@typescript-eslint/parser@7.18.0(eslint@8.57.1)(typescript@5.7.2))(eslint@8.57.1)(typescript@5.7.2))(@typescript-eslint/parser@7.18.0(eslint@8.57.1)(typescript@5.7.2))(eslint@8.57.1)(jest@29.7.0(@types/node@22.10.1)(babel-plugin-macros@3.1.0))(prettier@2.8.8)(react@19.1.0)(typescript@5.7.2) bumpp: - specifier: ^7.2.0 - version: 7.2.0 + specifier: ^10.3.2 + version: 10.3.2 eslint: specifier: ^8.57.1 version: 8.57.1 @@ -206,7 +206,7 @@ importers: version: 11.14.1(@emotion/react@11.14.0(@types/react@18.3.12)(react@19.1.0))(@types/react@18.3.12)(react@19.1.0) '@vitejs/plugin-react': specifier: ^4.6.0 - version: 4.6.0(vite@7.0.0(@types/node@22.10.1)(jiti@2.4.1)(tsx@4.19.2)(yaml@2.8.1)) + version: 4.6.0(vite@7.0.0(@types/node@22.10.1)(jiti@2.6.1)(tsx@4.19.2)(yaml@2.8.1)) ahooks: specifier: ^3.8.1 version: 3.8.5(react@19.1.0) @@ -263,13 +263,13 @@ importers: version: 4.0.2 vite: specifier: ^7.0.0 - version: 7.0.0(@types/node@22.10.1)(jiti@2.4.1)(tsx@4.19.2)(yaml@2.8.1) + version: 7.0.0(@types/node@22.10.1)(jiti@2.6.1)(tsx@4.19.2)(yaml@2.8.1) vite-plugin-blocklet: specifier: ^0.12.3 - version: 0.12.3(encoding@0.1.13)(rollup@4.44.1)(vite@7.0.0(@types/node@22.10.1)(jiti@2.4.1)(tsx@4.19.2)(yaml@2.8.1)) + version: 0.12.3(encoding@0.1.13)(rollup@4.44.1)(vite@7.0.0(@types/node@22.10.1)(jiti@2.6.1)(tsx@4.19.2)(yaml@2.8.1)) vite-plugin-svgr: specifier: ^4.3.0 - version: 4.3.0(rollup@4.44.1)(typescript@5.7.2)(vite@7.0.0(@types/node@22.10.1)(jiti@2.4.1)(tsx@4.19.2)(yaml@2.8.1)) + version: 4.3.0(rollup@4.44.1)(typescript@5.7.2)(vite@7.0.0(@types/node@22.10.1)(jiti@2.6.1)(tsx@4.19.2)(yaml@2.8.1)) wolfy87-eventemitter: specifier: ^5.2.9 version: 5.2.9 @@ -411,7 +411,7 @@ importers: version: 4.0.3 '@vitest/coverage-c8': specifier: ^0.33.0 - version: 0.33.0(vitest@3.2.4(@types/debug@4.1.12)(@types/node@20.17.9)(jiti@2.4.1)(jsdom@22.1.0)(tsx@4.19.2)(yaml@2.8.1)) + version: 0.33.0(vitest@3.2.4(@types/debug@4.1.12)(@types/node@20.17.9)(jiti@2.6.1)(jsdom@22.1.0)(tsx@4.19.2)(yaml@2.8.1)) jsdom: specifier: ^22.1.0 version: 22.1.0 @@ -423,10 +423,10 @@ importers: version: 2.0.0(typescript@5.7.2) vitest: specifier: ^3.2.4 - version: 3.2.4(@types/debug@4.1.12)(@types/node@20.17.9)(jiti@2.4.1)(jsdom@22.1.0)(tsx@4.19.2)(yaml@2.8.1) + version: 3.2.4(@types/debug@4.1.12)(@types/node@20.17.9)(jiti@2.6.1)(jsdom@22.1.0)(tsx@4.19.2)(yaml@2.8.1) vitest-fetch-mock: specifier: ^0.4.5 - version: 0.4.5(vitest@3.2.4(@types/debug@4.1.12)(@types/node@20.17.9)(jiti@2.4.1)(jsdom@22.1.0)(tsx@4.19.2)(yaml@2.8.1)) + version: 0.4.5(vitest@3.2.4(@types/debug@4.1.12)(@types/node@20.17.9)(jiti@2.6.1)(jsdom@22.1.0)(tsx@4.19.2)(yaml@2.8.1)) packages/uploader-server: dependencies: @@ -505,7 +505,7 @@ importers: version: 4.0.3 '@vitest/coverage-c8': specifier: ^0.33.0 - version: 0.33.0(vitest@3.2.4(@types/debug@4.1.12)(@types/node@20.17.9)(jiti@2.4.1)(jsdom@22.1.0)(tsx@4.19.2)(yaml@2.8.1)) + version: 0.33.0(vitest@3.2.4(@types/debug@4.1.12)(@types/node@20.17.9)(jiti@2.6.1)(jsdom@22.1.0)(tsx@4.19.2)(yaml@2.8.1)) typescript: specifier: ^5.7.2 version: 5.7.2 @@ -514,10 +514,10 @@ importers: version: 2.0.0(typescript@5.7.2) vitest: specifier: ^3.2.4 - version: 3.2.4(@types/debug@4.1.12)(@types/node@20.17.9)(jiti@2.4.1)(jsdom@22.1.0)(tsx@4.19.2)(yaml@2.8.1) + version: 3.2.4(@types/debug@4.1.12)(@types/node@20.17.9)(jiti@2.6.1)(jsdom@22.1.0)(tsx@4.19.2)(yaml@2.8.1) vitest-fetch-mock: specifier: ^0.4.5 - version: 0.4.5(vitest@3.2.4(@types/debug@4.1.12)(@types/node@20.17.9)(jiti@2.4.1)(jsdom@22.1.0)(tsx@4.19.2)(yaml@2.8.1)) + version: 0.4.5(vitest@3.2.4(@types/debug@4.1.12)(@types/node@20.17.9)(jiti@2.6.1)(jsdom@22.1.0)(tsx@4.19.2)(yaml@2.8.1)) packages/xss: dependencies: @@ -4434,6 +4434,10 @@ packages: resolution: {integrity: sha512-BRrU0Bo1X9dFGw6KgGz6hWrqQuOlVEDOzkb0QSLZY9sXHqA7pNj7yHPVJRz7y/rj4EOJ3d/D5uxH+ee9leYgsg==} engines: {node: '>=10'} + ansis@4.2.0: + resolution: {integrity: sha512-HqZ5rWlFjGiV0tDm3UxxgNRqsOTniqoKZu0pIAfh7TZQMGuZK+hH0drySty0si0QXj1ieop4+SkSfPZBPPkHig==} + engines: {node: '>=14'} + any-promise@1.3.0: resolution: {integrity: sha512-7UvmKalWRt1wgjL1RrGxoSJW/0QZFIegpeGvZG9kjp8vrRu55XTHbwnqq2GpXm9uLbcuhxm3IqX9OB4MZR1b2A==} @@ -4472,14 +4476,13 @@ packages: argparse@2.0.1: resolution: {integrity: sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==} + args-tokenizer@0.3.0: + resolution: {integrity: sha512-xXAd7G2Mll5W8uo37GETpQ2VrE84M181Z7ugHFGQnJZ50M2mbOv0osSZ9VsSgPfJQ+LVG0prSi0th+ELMsno7Q==} + aria-query@5.3.2: resolution: {integrity: sha512-COROpnaoap1E2F000S62r6A60uHZnmlvomhfyT2DlTcrY1OrBKn2UhH7qn5wTC9zMvD0AY7csdPSNwKP+7WiQw==} engines: {node: '>= 0.4'} - array-back@3.1.0: - resolution: {integrity: sha512-TkuxA4UCOvxuDK6NZYXCalszEzj+TLszyASooky+i742l9TqsOdYCMJJupxRic61hwquNtppB3hgcuq9SVSH1Q==} - engines: {node: '>=6'} - array-buffer-byte-length@1.0.1: resolution: {integrity: sha512-ahC5W1xgou+KTXix4sAO8Ki12Q+jf4i0+tmk3sC+zgcynshkHxzpXdImBehiUYKKKDwvfFiJl1tZt6ewscS1Mg==} engines: {node: '>= 0.4'} @@ -4836,9 +4839,9 @@ packages: builtins@1.0.3: resolution: {integrity: sha512-uYBjakWipfaO/bXI7E8rq6kpwHRZK5cNYrUv2OzZSI/FvmdMyXJ2tG9dKcjEC5YHmHpUAwsargWIZNWdxb/bnQ==} - bumpp@7.2.0: - resolution: {integrity: sha512-vQxdpWe7VzdpV4dVjpWoGwTDrKZn4eqKVmjIYUlDgrmjesXAqJnWhu+VFxazoE4pLs1q5NwDhgzK1xAFL0K+Jg==} - engines: {node: '>=10'} + bumpp@10.3.2: + resolution: {integrity: sha512-yUUkVx5zpTywLNX97MlrqtpanI7eMMwFwLntWR2EBVDw3/Pm3aRIzCoDEGHATLIiHK9PuJC7xWI4XNWqXItSPg==} + engines: {node: '>=18'} hasBin: true bundle-require@5.0.0: @@ -4855,6 +4858,14 @@ packages: resolution: {integrity: sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg==} engines: {node: '>= 0.8'} + c12@3.3.3: + resolution: {integrity: sha512-750hTRvgBy5kcMNPdh95Qo+XUBeGo8C7nsKSmedDmaQI+E0r82DwHeM6vBewDe4rGFbnxoa4V9pw+sPh5+Iz8Q==} + peerDependencies: + magicast: '*' + peerDependenciesMeta: + magicast: + optional: true + c8@7.14.0: resolution: {integrity: sha512-i04rtkkcNcCf7zsQcSv/T9EbUn4RXQ6mropeMcjFOsQXQ0iGLAr/xT6TImQg4+U9hmNpN9XdvPkjUL1IzbgxJw==} engines: {node: '>=10.12.0'} @@ -4963,6 +4974,10 @@ packages: resolution: {integrity: sha512-7VT13fmjotKpGipCW9JEQAusEPE+Ei8nl6/g4FBAmIm0GOOLMua9NDDo/DWp0ZAxCr3cPq5ZpBqmPAQgDda2Pw==} engines: {node: '>= 8.10.0'} + chokidar@5.0.0: + resolution: {integrity: sha512-TQMmc3w+5AxjpL8iIiwebF73dRDF4fBIieAqGn9RGCWaEVwQ6Fb2cGe31Yns0RRIzii5goJ1Y7xbMwo1TxMplw==} + engines: {node: '>= 20.19.0'} + chownr@1.1.4: resolution: {integrity: sha512-jJ0bqzaylmJtVnNgzTeSOs8DPavpbYgEr/b0YL8/2GO3xJEhInFmhKMUnEJQjZumK7KXGFhUy89PrsJWlakBVg==} @@ -5109,10 +5124,6 @@ packages: resolution: {integrity: sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==} engines: {node: '>= 0.8'} - command-line-args@5.2.1: - resolution: {integrity: sha512-H4UfQhZyakIjC74I9d34fGYDwk3XpSr17QhEd0Q3I9Xq1CETHo4Hcuo87WyWHpAF1aSLjLRf5lD9ZGX2qStUvg==} - engines: {node: '>=4.0.0'} - commander@11.0.0: resolution: {integrity: sha512-9HMlXtt/BNoYr8ooyjjNRdIilOTkVJXB+GhxMTtOKwk0R4j4lS4NpjuqmRxroBfnfTSHQIHQB7wryHhXarNjmQ==} engines: {node: '>=16'} @@ -5167,6 +5178,9 @@ packages: confbox@0.1.8: resolution: {integrity: sha512-RMtmw0iFkeR4YV+fUOSucriAQNb9g8zFR52MWCtl+cCZOFRNL6zeB395vPzFhEjjn4fMxXudmELnl/KF/WrK6w==} + confbox@0.2.2: + resolution: {integrity: sha512-1NB+BKqhtNipMsov4xI/NnhCKp9XG9NamYp5PVm9klAT0fsrNPjaFICsCFhNhwZJKNh7zB/3q8qXz0E9oaMNtQ==} + configurable@0.0.1: resolution: {integrity: sha512-OcGvB6vM11aQlbtNBxN23uqRAGzpbIiKzn4tgT49nF3QPocQ2N3TODH9901HxKNv+eYupA7TCrtRNY1jm/sK8Q==} @@ -5183,6 +5197,10 @@ packages: resolution: {integrity: sha512-I5qxpzLv+sJhTVEoLYNcTW+bThDCPsit0vLNKShZx6rLtpilNpmmeTPaeqJb9ZE9dV3DGaeby6Vuhrw38WjeyQ==} engines: {node: ^14.18.0 || >=16.10.0} + consola@3.4.2: + resolution: {integrity: sha512-5IKcdX0nnYavi6G7TtOhwkYzyjfJlatbjMjuLSfE2kYT5pMDOilZ4OvMhi637CcDICTmz3wARPoyhqyX1Y+XvA==} + engines: {node: ^14.18.0 || >=16.10.0} + console-browserify@1.2.0: resolution: {integrity: sha512-ZMkYO/LkF17QvCPqM0gxw8yUzigAOZOSWSHg91FH6orS7vcEj5dVZTidN2fQ14yBSdg97RqhSNwLUXInd52OTA==} @@ -5604,6 +5622,9 @@ packages: des.js@1.1.0: resolution: {integrity: sha512-r17GxjhUCjSRy8aiJpr8/UadFIzMzJGexI3Nmz4ADi9LYSFx4gTBp80+NaX/YsXWWLhpZ7v/v/ubEc/bCNfKwg==} + destr@2.0.5: + resolution: {integrity: sha512-ugFTXCtDZunbzasqBxrK93Ik/DRYsO6S/fedkWEMKqt04xZ4csmnmwGDBAb07QWNaGMAmnTIemsYZCksjATwsA==} + destroy@1.2.0: resolution: {integrity: sha512-2sJGJTaXIIaR1w4iJSNoN0hnMY7Gpc/n8D4qSCJw8QqFWXf7cuAgnEHxBpweaVcPevC2l3KpjYCx3NypQQgaJg==} engines: {node: '>= 0.8', npm: 1.2.8000 || >= 1.4.16} @@ -5706,6 +5727,10 @@ packages: resolution: {integrity: sha512-uBq4egWHTcTt33a72vpSG0z3HnPuIl6NqYcTrKEg2azoEyl2hpW0zqlxysq2pK9HlDIHyHyakeYaYnSAwd8bow==} engines: {node: '>=12'} + dotenv@17.2.3: + resolution: {integrity: sha512-JVUnt+DUIzu87TABbhPmNfVdBDt18BLOWjMUFJMSi/Qqg7NTYtabbvSNJGOJ7afbRuv9D/lngizHtP7QyLQ+9w==} + engines: {node: '>=12'} + dotenv@8.6.0: resolution: {integrity: sha512-IrPdXQsk2BbzvCBGBOTmmSH5SodmqZNt4ERAZDmW4CT+tL8VtvinqywuANaFu4bOMWki16nqf0e4oC0QIaDr/g==} engines: {node: '>=10'} @@ -6284,6 +6309,9 @@ packages: resolution: {integrity: sha512-DT9ck5YIRU+8GYzzU5kT3eHGA5iL+1Zd0EutOmTE9Dtk+Tvuzd23VBU+ec7HPNSTxXYO55gPV/hq4pSBJDjFpA==} engines: {node: '>= 18'} + exsolve@1.0.8: + resolution: {integrity: sha512-LmDxfWXwcTArk8fUEnOfSZpHOJ6zOMUJKOtFLFqJLoKJetuQG874Uc7/Kki7zFLzYybmZhp1M7+98pfMqeX8yA==} + extend@3.0.2: resolution: {integrity: sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==} @@ -6360,6 +6388,15 @@ packages: picomatch: optional: true + fdir@6.5.0: + resolution: {integrity: sha512-tIbYtZbucOs0BRGqPJkshJUYdL+SDH7dVM8gjy+ERp3WAUjLEFJE+02kanyHtwjWOnwrKYBiwAmM0p4kLJAnXg==} + engines: {node: '>=12.0.0'} + peerDependencies: + picomatch: ^3 || ^4 + peerDependenciesMeta: + picomatch: + optional: true + fecha@4.2.3: resolution: {integrity: sha512-OP2IUU6HeYKJi3i0z4A19kHMQoLVs4Hc+DPqqxI2h/DPZHTm/vjsfC6P0b4jCMy14XizLBqvndQ+UilD7707Jw==} @@ -6408,10 +6445,6 @@ packages: resolution: {integrity: sha512-/t88Ty3d5JWQbWYgaOGCCYfXRwV1+be02WqYYlL6h0lEiUAMPM8o8qKGO01YIkOHzka2up08wvgYD0mDiI+q3Q==} engines: {node: '>= 0.8'} - find-replace@3.0.0: - resolution: {integrity: sha512-6Tb2myMioCAgv5kfvP5/PkZZ/ntTpVK39fHY7WkWBgvbeE+VHd/tZuZ4mrC+bxh4cfOZeYKVPaJIZtZXV7GNCQ==} - engines: {node: '>=4.0.0'} - find-root@1.1.0: resolution: {integrity: sha512-NKfW6bec6GfKc0SGx1e07QZY9PE99u0Bft/0rzSD5k3sO/vwkVUpDUKVm5Gpp5Ue3YfShPFTX2070tDs5kB9Ng==} @@ -6618,6 +6651,10 @@ packages: resolution: {integrity: sha512-BzUrJBS9EcUb4cFol8r4W3v1cPsSyajLSthNkz5BxbpDcHN5tIrM10E2eNvfnvBn3DaT3DUgx0OpsBKkaOpanw==} engines: {node: '>= 14'} + giget@2.0.0: + resolution: {integrity: sha512-L5bGsVkxJbJgdnwyuheIunkGatUF/zssUoxxjACCseZYAVbaqdh9Tsmmlkl8vYan09H7sbvKt4pS8GqKLBrEzA==} + hasBin: true + git-node-fs@1.0.0: resolution: {integrity: sha512-bLQypt14llVXBg0S0u8q8HmU7g9p3ysH+NvVlae5vILuUvs759665HvmR5+wb04KjHyjFcDRxdYb4kyNnluMUQ==} peerDependencies: @@ -7430,6 +7467,10 @@ packages: resolution: {integrity: sha512-yPBThwecp1wS9DmoA4x4KR2h3QoslacnDR8ypuFM962kI4/456Iy1oHx2RAgh4jfZNdn0bctsdadceiBUgpU1g==} hasBin: true + jiti@2.6.1: + resolution: {integrity: sha512-ekilCSN1jwRvIbgeg/57YFh8qQDNbwDb9xT/qu2DAHbFFZUicIl4ygVaAvzveMhMVr3LnpSKTNnwt8PoOfmKhQ==} + hasBin: true + jju@1.4.0: resolution: {integrity: sha512-8wb9Yw966OSxApiCt0K3yNJL8pnNeIv+OEq2YMidz4FKP6nonSRoOXc80iXY4JaN2FC11B9qsNmDsm+ZOfMROA==} @@ -7544,6 +7585,9 @@ packages: resolution: {integrity: sha512-OCzaRMK8HobtX8fp37uIVmL8CY1IGc/a6gLsDqz3quExFR09/U78HUzWYr7T31UEB6+Eu0/8dkVD5fFDOl9a8w==} engines: {node: '>= 8'} + jsonc-parser@3.3.1: + resolution: {integrity: sha512-HUgH65KyejrUFPvHFPbqOY0rsFip3Bo5wb4ngvdi1EpCYWUQDC5V+Y7mZws+DLkr4M//zQJoanu1SP+87Dv1oQ==} + jsonfile@6.1.0: resolution: {integrity: sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==} @@ -8199,6 +8243,9 @@ packages: engines: {node: '>=10.5.0'} deprecated: Use your platform's native DOMException instead + node-fetch-native@1.6.7: + resolution: {integrity: sha512-g9yhqoedzIUm0nTnTqAQvueMPVOuIY16bqgAJJC8XOOubYFNwz6IER9qs0Gq2Xd0+CecCKFjtdDTMA4u4xG06Q==} + node-fetch@2.7.0: resolution: {integrity: sha512-c4FRfUm/dbcWZ7U+1Wq0AwCyFL+3nt2bEw05wfxSz+DWpWsitgmSgYmy2dQdWyKC1694ELPqMs/YzUSNozLt8A==} engines: {node: 4.x || >=6.0.0} @@ -8324,6 +8371,11 @@ packages: nwsapi@2.2.16: resolution: {integrity: sha512-F1I/bimDpj3ncaNDhfyMWuFqmQDBwDB0Fogc2qpL3BWvkQteFD/8BzWuIRl83rq0DXfm8SGt/HFhLXZyljTXcQ==} + nypm@0.6.2: + resolution: {integrity: sha512-7eM+hpOtrKrBDCh7Ypu2lJ9Z7PNZBdi/8AT3AX8xoCj43BBVHD0hPSTEvMtkMpfs8FCqBGhxB+uToIQimA111g==} + engines: {node: ^14.16.0 || >=16.10.0} + hasBin: true + oauth-sign@0.9.0: resolution: {integrity: sha512-fexhUFFPTGV8ybAtSIGbV6gOkSv8UtRbDBnAyLQw4QPKkgNlsH2ByPGtMUqdWkos6YCRmAqViwgZrJc/mRDzZQ==} @@ -8370,6 +8422,9 @@ packages: oblivious-set@1.1.1: resolution: {integrity: sha512-Oh+8fK09mgGmAshFdH6hSVco6KZmd1tTwNFWj35OvzdmJTMZtAkbn05zar2iG3v6sDs1JLEtOiBGNb6BHwkb2w==} + ohash@2.0.11: + resolution: {integrity: sha512-RdR9FQrFwNBNXAr4GixM8YaRZRJ5PUWbKYbE5eOsrwAjJW0q2REGcf79oYPsLyskQCZG1PLN+S/K1V00joZAoQ==} + on-finished@2.3.0: resolution: {integrity: sha512-ikqdkGAAyf/X/gPhXGvfgAytDZtDbr+bkNUJ0N9h5MI/dmdgCs3l6hoHrcUv41sRKew3jIwrp4qQDXiK99Utww==} engines: {node: '>= 0.8'} @@ -8511,6 +8566,9 @@ packages: package-json-from-dist@1.0.1: resolution: {integrity: sha512-UEZIS3/by4OC8vL3P2dTXRETpebLI2NiI5vIrjaD/5UtrkFX/tNbwjTSRAGC/+7CAo2pIcBaRgWmcBBHcsaCIw==} + package-manager-detector@1.6.0: + resolution: {integrity: sha512-61A5ThoTiDG/C8s8UMZwSorAGwMJ0ERVGj2OjoW5pAalsNOg15+iQiPzrLJ4jhZ1HJzmC2PIHT2oEiH3R5fzNA==} + pako@0.2.9: resolution: {integrity: sha512-NUcwaKxUxWrZLpDG+z/xZaCgQITkA/Dv4V/T6bw7VON6l1Xz/VnrBqrYjZQ12TamKHzITTfOEIYUj48y2KXImA==} @@ -8624,6 +8682,9 @@ packages: pend@1.2.0: resolution: {integrity: sha512-F3asv42UuXchdzt+xXqfW1OGlVBe+mxa2mqI0pg5yAHZPvFmY3Y6drSf/GQ1A86WgWEN9Kzh/WrgKa6iGcHXLg==} + perfect-debounce@2.0.0: + resolution: {integrity: sha512-fkEH/OBiKrqqI/yIgjR92lMfs2K8105zt/VT6+7eTjNwisrsh47CeIED9z58zI7DfKdH3uHAn25ziRZn3kgAow==} + performance-now@2.1.0: resolution: {integrity: sha512-7EAHlyLHI56VEIdK57uwHdHKIaAGbnXPiw0yWbarQZOKaKpvUIgW0jWRVLiatnM+XXlSwsanIBH/hzGMJulMow==} @@ -8644,6 +8705,10 @@ packages: resolution: {integrity: sha512-M7BAV6Rlcy5u+m6oPhAPFgJTzAioX/6B0DxyvDlo9l8+T3nLKbrczg2WLUyzd45L8RqfUMyGPzekbMvX2Ldkwg==} engines: {node: '>=12'} + picomatch@4.0.3: + resolution: {integrity: sha512-5gTmgEY/sqK6gFXLIsQNH19lWb4ebPDLA4SdLP7dsWkIXHWlG66oPuVvXSGFPppYZz8ZDZq0dYYrbHfBCVUb1Q==} + engines: {node: '>=12'} + pid-port@0.1.1: resolution: {integrity: sha512-boqPJtSgZC6KOgXKNPC+/XR3xwVtpOtaLa7JLcdf8jfVe0ZM2TwllBXxxLUO8GQbOLJ4/hEtf2+L1QCKbaoHUg==} engines: {node: '>=10'} @@ -8701,6 +8766,9 @@ packages: pkg-types@1.3.1: resolution: {integrity: sha512-/Jm5M4RvtBFVkKWRu2BLUTNP8/M2a+UwuAX+ae4770q1qVGtfjG+WTCupoZixokjmHiry8uI+dlY8KXYV5HVVQ==} + pkg-types@2.3.0: + resolution: {integrity: sha512-SIqCzDRg0s9npO5XQ3tNZioRY1uK06lA41ynBC1YmFTmnY6FjUjVt6s4LoADmwoig1qqD0oK8h1p/8mlMx8Oig==} + pluralize@8.0.0: resolution: {integrity: sha512-Nc3IT5yHzflTfbjgqWcCPpo7DaKy4FnpB0l/zCAW0Tc7jxAiuqSxHasntB3D7887LSrA93kDJ9IXovxJYxyLCA==} engines: {node: '>=4'} @@ -9145,6 +9213,9 @@ packages: resolution: {integrity: sha512-9G8cA+tuMS75+6G/TzW8OtLzmBDMo8p1JRxN5AZ+LAp8uxGA8V8GZm4GQ4/N5QNQEnLmg6SS7wyuSmbKepiKqA==} engines: {node: '>= 0.10'} + rc9@2.1.2: + resolution: {integrity: sha512-btXCnMmRIBINM2LDZoEmOogIZU7Qe7zn4BpomSKZ/ykbLObuBdvG+mFq11DL6fjH1DRwHhrlgtYWG96bJiC7Cg==} + rc@1.2.8: resolution: {integrity: sha512-y3bGgqKj3QBdxLbLkomlohkvsA8gdAiUQlSBJnBhfn+BPxg4bc62d8TcBW15wavDfgexCgccckhcZvywyQYPOw==} hasBin: true @@ -9374,6 +9445,10 @@ packages: resolution: {integrity: sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==} engines: {node: '>=8.10.0'} + readdirp@5.0.0: + resolution: {integrity: sha512-9u/XQ1pvrQtYyMpZe7DXKv2p5CNvyVwzUB6uhLAnQwHMSgKMBR62lc7AHljaeteeHXn11XTAaLLUVZYVZyuRBQ==} + engines: {node: '>= 20.19.0'} + rebound@0.1.0: resolution: {integrity: sha512-pKCVuoHvyKPr0tWS+CTCbJcUgifaH3K0bcZlHZpUS7GdNK/m78QgndlZH6+JpvXzuTwbUKZCiHgix0sce433uw==} @@ -9632,6 +9707,11 @@ packages: engines: {node: '>=10'} hasBin: true + semver@7.7.3: + resolution: {integrity: sha512-SdsKMrI9TdgjdweUSR9MweHA4EJ8YxHn8DFaDisvhVlUOe4BF1tLD7GAj0lIqWVl+dPb/rExr0Btby5loQm20Q==} + engines: {node: '>=10'} + hasBin: true + send@0.18.0: resolution: {integrity: sha512-qqWzuOjSFOuqPjFe4NOsMLafToQQwBSOEpS+FwEt3A2V3vKubTquT3vmLTQpFgMXp8AlFWFuP1qKaJZOtPpVXg==} engines: {node: '>= 0.8.0'} @@ -10231,10 +10311,18 @@ packages: tinyexec@0.3.2: resolution: {integrity: sha512-KQQR9yN7R5+OSwaK0XQoj22pwHoTlgYqmUscPYoknOoWCWfj/5/ABTMRi69FrKU5ffPVh5QcFikpWJI/P1ocHA==} + tinyexec@1.0.2: + resolution: {integrity: sha512-W/KYk+NFhkmsYpuHq5JykngiOCnxeVL8v8dFnqxSD8qEEdRfXk1SDM6JzNqcERbcGYj9tMrDQBYV9cjgnunFIg==} + engines: {node: '>=18'} + tinyglobby@0.2.14: resolution: {integrity: sha512-tX5e7OM1HnYr2+a2C/4V0htOcSQcoSTH9KgJnVvNm5zm/cyEWKJ7j7YutsH9CxMdtOkkLFy2AHrMci9IM8IPZQ==} engines: {node: '>=12.0.0'} + tinyglobby@0.2.15: + resolution: {integrity: sha512-j2Zq4NyQYG5XMST4cbs02Ak8iJUdxRM0XI5QyxXuZOzKOINmWurp3smXu3y5wDcJrptwpSjgXHzIQxR0omXljQ==} + engines: {node: '>=12.0.0'} + tinypool@1.1.1: resolution: {integrity: sha512-Zba82s87IFq9A9XmjiX5uZA/ARWDrB03OHlq+Vw1fSdt0I+4/Kutwy8BP4Y/y/aORMo61FQ0vIb5j44vSo5Pkg==} engines: {node: ^18.0.0 || >=20.0.0} @@ -10473,10 +10561,6 @@ packages: engines: {node: '>=14.17'} hasBin: true - typical@4.0.0: - resolution: {integrity: sha512-VAH4IvQ7BDFYglMd7BPRDfLgxZZX4O4TFcRDA6EN5X7erNJJq+McIEp8np9aVtxrCJ6qx4GTYVfOWNjcqwZgRw==} - engines: {node: '>=8'} - ua-parser-js@1.0.40: resolution: {integrity: sha512-z6PJ8Lml+v3ichVojCiB8toQJBuwR42ySM4ezjXIqXK3M0HczmKQ3LF4rhU55PfD99KEEXQG6yb7iOMyvYuHew==} hasBin: true @@ -17211,7 +17295,7 @@ snapshots: is-mobile: 3.1.1 preact: 10.20.1 - '@vitejs/plugin-react@4.6.0(vite@7.0.0(@types/node@22.10.1)(jiti@2.4.1)(tsx@4.19.2)(yaml@2.8.1))': + '@vitejs/plugin-react@4.6.0(vite@7.0.0(@types/node@22.10.1)(jiti@2.6.1)(tsx@4.19.2)(yaml@2.8.1))': dependencies: '@babel/core': 7.27.7 '@babel/plugin-transform-react-jsx-self': 7.27.1(@babel/core@7.27.7) @@ -17219,18 +17303,18 @@ snapshots: '@rolldown/pluginutils': 1.0.0-beta.19 '@types/babel__core': 7.20.5 react-refresh: 0.17.0 - vite: 7.0.0(@types/node@22.10.1)(jiti@2.4.1)(tsx@4.19.2)(yaml@2.8.1) + vite: 7.0.0(@types/node@22.10.1)(jiti@2.6.1)(tsx@4.19.2)(yaml@2.8.1) transitivePeerDependencies: - supports-color - '@vitest/coverage-c8@0.33.0(vitest@3.2.4(@types/debug@4.1.12)(@types/node@20.17.9)(jiti@2.4.1)(jsdom@22.1.0)(tsx@4.19.2)(yaml@2.8.1))': + '@vitest/coverage-c8@0.33.0(vitest@3.2.4(@types/debug@4.1.12)(@types/node@20.17.9)(jiti@2.6.1)(jsdom@22.1.0)(tsx@4.19.2)(yaml@2.8.1))': dependencies: '@ampproject/remapping': 2.3.0 c8: 7.14.0 magic-string: 0.30.17 picocolors: 1.1.1 std-env: 3.9.0 - vitest: 3.2.4(@types/debug@4.1.12)(@types/node@20.17.9)(jiti@2.4.1)(jsdom@22.1.0)(tsx@4.19.2)(yaml@2.8.1) + vitest: 3.2.4(@types/debug@4.1.12)(@types/node@20.17.9)(jiti@2.6.1)(jsdom@22.1.0)(tsx@4.19.2)(yaml@2.8.1) '@vitest/expect@3.2.4': dependencies: @@ -17240,13 +17324,13 @@ snapshots: chai: 5.2.0 tinyrainbow: 2.0.0 - '@vitest/mocker@3.2.4(vite@7.0.0(@types/node@20.17.9)(jiti@2.4.1)(tsx@4.19.2)(yaml@2.8.1))': + '@vitest/mocker@3.2.4(vite@7.0.0(@types/node@20.17.9)(jiti@2.6.1)(tsx@4.19.2)(yaml@2.8.1))': dependencies: '@vitest/spy': 3.2.4 estree-walker: 3.0.3 magic-string: 0.30.17 optionalDependencies: - vite: 7.0.0(@types/node@20.17.9)(jiti@2.4.1)(tsx@4.19.2)(yaml@2.8.1) + vite: 7.0.0(@types/node@20.17.9)(jiti@2.6.1)(tsx@4.19.2)(yaml@2.8.1) '@vitest/pretty-format@3.2.4': dependencies: @@ -17437,6 +17521,8 @@ snapshots: ansis@4.0.0-node10: {} + ansis@4.2.0: {} + any-promise@1.3.0: {} anymatch@3.1.3: @@ -17485,9 +17571,9 @@ snapshots: argparse@2.0.1: {} - aria-query@5.3.2: {} + args-tokenizer@0.3.0: {} - array-back@3.1.0: {} + aria-query@5.3.2: {} array-buffer-byte-length@1.0.1: dependencies: @@ -18009,14 +18095,21 @@ snapshots: builtins@1.0.3: {} - bumpp@7.2.0: + bumpp@10.3.2: dependencies: - '@jsdevtools/ez-spawn': 3.0.4 - chalk: 4.1.2 - command-line-args: 5.2.1 - globby: 11.1.0 - prompts: 2.4.2 - semver: 7.7.2 + ansis: 4.2.0 + args-tokenizer: 0.3.0 + c12: 3.3.3 + cac: 6.7.14 + escalade: 3.2.0 + jsonc-parser: 3.3.1 + package-manager-detector: 1.6.0 + semver: 7.7.3 + tinyexec: 1.0.2 + tinyglobby: 0.2.15 + yaml: 2.8.1 + transitivePeerDependencies: + - magicast bundle-require@5.0.0(esbuild@0.20.2): dependencies: @@ -18029,6 +18122,21 @@ snapshots: bytes@3.1.2: {} + c12@3.3.3: + dependencies: + chokidar: 5.0.0 + confbox: 0.2.2 + defu: 6.1.4 + dotenv: 17.2.3 + exsolve: 1.0.8 + giget: 2.0.0 + jiti: 2.6.1 + ohash: 2.0.11 + pathe: 2.0.3 + perfect-debounce: 2.0.0 + pkg-types: 2.3.0 + rc9: 2.1.2 + c8@7.14.0: dependencies: '@bcoe/v8-coverage': 0.2.3 @@ -18182,6 +18290,10 @@ snapshots: optionalDependencies: fsevents: 2.3.3 + chokidar@5.0.0: + dependencies: + readdirp: 5.0.0 + chownr@1.1.4: {} chownr@2.0.0: {} @@ -18333,13 +18445,6 @@ snapshots: dependencies: delayed-stream: 1.0.0 - command-line-args@5.2.1: - dependencies: - array-back: 3.1.0 - find-replace: 3.0.0 - lodash.camelcase: 4.3.0 - typical: 4.0.0 - commander@11.0.0: {} commander@2.15.1: {} @@ -18393,6 +18498,8 @@ snapshots: confbox@0.1.8: {} + confbox@0.2.2: {} + configurable@0.0.1: {} confusing-browser-globals@1.0.11: {} @@ -18403,6 +18510,8 @@ snapshots: consola@3.2.3: {} + consola@3.4.2: {} + console-browserify@1.2.0: {} console-control-strings@1.1.0: @@ -18868,6 +18977,8 @@ snapshots: inherits: 2.0.4 minimalistic-assert: 1.0.1 + destr@2.0.5: {} + destroy@1.2.0: {} detect-indent@7.0.1: {} @@ -18967,6 +19078,8 @@ snapshots: dotenv@16.6.1: {} + dotenv@17.2.3: {} + dotenv@8.6.0: {} dottie@2.0.6: {} @@ -19849,6 +19962,8 @@ snapshots: transitivePeerDependencies: - supports-color + exsolve@1.0.8: {} + extend@3.0.2: {} extrareqp2@1.0.0(debug@4.3.7): @@ -19922,6 +20037,10 @@ snapshots: optionalDependencies: picomatch: 4.0.2 + fdir@6.5.0(picomatch@4.0.3): + optionalDependencies: + picomatch: 4.0.3 + fecha@4.2.3: {} fetch-blob@3.2.0: @@ -19986,10 +20105,6 @@ snapshots: transitivePeerDependencies: - supports-color - find-replace@3.0.0: - dependencies: - array-back: 3.1.0 - find-root@1.1.0: {} find-up@4.1.0: @@ -20226,6 +20341,15 @@ snapshots: transitivePeerDependencies: - supports-color + giget@2.0.0: + dependencies: + citty: 0.1.6 + consola: 3.4.2 + defu: 6.1.4 + node-fetch-native: 1.6.7 + nypm: 0.6.2 + pathe: 2.0.3 + git-node-fs@1.0.0(js-git@0.7.8): optionalDependencies: js-git: 0.7.8 @@ -21351,6 +21475,8 @@ snapshots: jiti@2.4.1: {} + jiti@2.6.1: {} + jju@1.4.0: {} joi-extension-semver@5.0.0(joi@17.12.2): @@ -21479,6 +21605,8 @@ snapshots: jsonata@2.1.0: {} + jsonc-parser@3.3.1: {} + jsonfile@6.1.0: dependencies: universalify: 2.0.1 @@ -22154,6 +22282,8 @@ snapshots: node-domexception@1.0.0: {} + node-fetch-native@1.6.7: {} + node-fetch@2.7.0(encoding@0.1.13): dependencies: whatwg-url: 5.0.0 @@ -22323,6 +22453,14 @@ snapshots: nwsapi@2.2.16: {} + nypm@0.6.2: + dependencies: + citty: 0.1.6 + consola: 3.4.2 + pathe: 2.0.3 + pkg-types: 2.3.0 + tinyexec: 1.0.2 + oauth-sign@0.9.0: {} object-assign@4.1.1: {} @@ -22372,6 +22510,8 @@ snapshots: oblivious-set@1.1.1: {} + ohash@2.0.11: {} + on-finished@2.3.0: dependencies: ee-first: 1.1.1 @@ -22505,6 +22645,8 @@ snapshots: package-json-from-dist@1.0.1: {} + package-manager-detector@1.6.0: {} + pako@0.2.9: {} pako@1.0.11: {} @@ -22610,6 +22752,8 @@ snapshots: pend@1.2.0: {} + perfect-debounce@2.0.0: {} + performance-now@2.1.0: {} pg-connection-string@2.7.0: {} @@ -22622,6 +22766,8 @@ snapshots: picomatch@4.0.2: {} + picomatch@4.0.3: {} + pid-port@0.1.1: dependencies: execa: 5.1.1 @@ -22667,6 +22813,12 @@ snapshots: mlly: 1.7.4 pathe: 2.0.3 + pkg-types@2.3.0: + dependencies: + confbox: 0.2.2 + exsolve: 1.0.8 + pathe: 2.0.3 + pluralize@8.0.0: {} pm2-axon-rpc@0.7.1: @@ -23145,6 +23297,11 @@ snapshots: iconv-lite: 0.7.0 unpipe: 1.0.0 + rc9@2.1.2: + dependencies: + defu: 6.1.4 + destr: 2.0.5 + rc@1.2.8: dependencies: deep-extend: 0.6.0 @@ -23449,6 +23606,8 @@ snapshots: dependencies: picomatch: 2.3.1 + readdirp@5.0.0: {} + rebound@0.1.0: {} rechoir@0.6.2: @@ -23725,6 +23884,8 @@ snapshots: semver@7.7.2: {} + semver@7.7.3: {} + send@0.18.0: dependencies: debug: 2.6.9 @@ -24449,11 +24610,18 @@ snapshots: tinyexec@0.3.2: {} + tinyexec@1.0.2: {} + tinyglobby@0.2.14: dependencies: fdir: 6.4.6(picomatch@4.0.2) picomatch: 4.0.2 + tinyglobby@0.2.15: + dependencies: + fdir: 6.5.0(picomatch@4.0.3) + picomatch: 4.0.3 + tinypool@1.1.1: {} tinyrainbow@2.0.0: {} @@ -24680,8 +24848,6 @@ snapshots: typescript@5.7.2: {} - typical@4.0.0: {} - ua-parser-js@1.0.40: {} ufo@1.6.1: {} @@ -24875,13 +25041,13 @@ snapshots: versor@0.0.4: {} - vite-node@3.2.4(@types/node@20.17.9)(jiti@2.4.1)(tsx@4.19.2)(yaml@2.8.1): + vite-node@3.2.4(@types/node@20.17.9)(jiti@2.6.1)(tsx@4.19.2)(yaml@2.8.1): dependencies: cac: 6.7.14 debug: 4.4.3 es-module-lexer: 1.7.0 pathe: 2.0.3 - vite: 7.0.0(@types/node@20.17.9)(jiti@2.4.1)(tsx@4.19.2)(yaml@2.8.1) + vite: 7.0.0(@types/node@20.17.9)(jiti@2.6.1)(tsx@4.19.2)(yaml@2.8.1) transitivePeerDependencies: - '@types/node' - jiti @@ -24896,7 +25062,7 @@ snapshots: - tsx - yaml - vite-plugin-blocklet@0.12.3(encoding@0.1.13)(rollup@4.44.1)(vite@7.0.0(@types/node@22.10.1)(jiti@2.4.1)(tsx@4.19.2)(yaml@2.8.1)): + vite-plugin-blocklet@0.12.3(encoding@0.1.13)(rollup@4.44.1)(vite@7.0.0(@types/node@22.10.1)(jiti@2.6.1)(tsx@4.19.2)(yaml@2.8.1)): dependencies: '@arcblock/did': 1.27.16(encoding@0.1.13) '@ocap/mcrypto': 1.27.16(encoding@0.1.13) @@ -24910,34 +25076,34 @@ snapshots: rollup-plugin-external-globals: 0.12.1(rollup@4.44.1) semver: 7.7.2 ufo: 1.6.1 - vite: 7.0.0(@types/node@22.10.1)(jiti@2.4.1)(tsx@4.19.2)(yaml@2.8.1) - vite-plugin-node-polyfills: 0.23.0(rollup@4.44.1)(vite@7.0.0(@types/node@22.10.1)(jiti@2.4.1)(tsx@4.19.2)(yaml@2.8.1)) + vite: 7.0.0(@types/node@22.10.1)(jiti@2.6.1)(tsx@4.19.2)(yaml@2.8.1) + vite-plugin-node-polyfills: 0.23.0(rollup@4.44.1)(vite@7.0.0(@types/node@22.10.1)(jiti@2.6.1)(tsx@4.19.2)(yaml@2.8.1)) yaml: 2.8.1 transitivePeerDependencies: - encoding - rollup - supports-color - vite-plugin-node-polyfills@0.23.0(rollup@4.44.1)(vite@7.0.0(@types/node@22.10.1)(jiti@2.4.1)(tsx@4.19.2)(yaml@2.8.1)): + vite-plugin-node-polyfills@0.23.0(rollup@4.44.1)(vite@7.0.0(@types/node@22.10.1)(jiti@2.6.1)(tsx@4.19.2)(yaml@2.8.1)): dependencies: '@rollup/plugin-inject': 5.0.5(rollup@4.44.1) node-stdlib-browser: 1.3.0 - vite: 7.0.0(@types/node@22.10.1)(jiti@2.4.1)(tsx@4.19.2)(yaml@2.8.1) + vite: 7.0.0(@types/node@22.10.1)(jiti@2.6.1)(tsx@4.19.2)(yaml@2.8.1) transitivePeerDependencies: - rollup - vite-plugin-svgr@4.3.0(rollup@4.44.1)(typescript@5.7.2)(vite@7.0.0(@types/node@22.10.1)(jiti@2.4.1)(tsx@4.19.2)(yaml@2.8.1)): + vite-plugin-svgr@4.3.0(rollup@4.44.1)(typescript@5.7.2)(vite@7.0.0(@types/node@22.10.1)(jiti@2.6.1)(tsx@4.19.2)(yaml@2.8.1)): dependencies: '@rollup/pluginutils': 5.1.3(rollup@4.44.1) '@svgr/core': 8.1.0(typescript@5.7.2) '@svgr/plugin-jsx': 8.1.0(@svgr/core@8.1.0(typescript@5.7.2)) - vite: 7.0.0(@types/node@22.10.1)(jiti@2.4.1)(tsx@4.19.2)(yaml@2.8.1) + vite: 7.0.0(@types/node@22.10.1)(jiti@2.6.1)(tsx@4.19.2)(yaml@2.8.1) transitivePeerDependencies: - rollup - supports-color - typescript - vite@7.0.0(@types/node@20.17.9)(jiti@2.4.1)(tsx@4.19.2)(yaml@2.8.1): + vite@7.0.0(@types/node@20.17.9)(jiti@2.6.1)(tsx@4.19.2)(yaml@2.8.1): dependencies: esbuild: 0.25.5 fdir: 6.4.6(picomatch@4.0.2) @@ -24948,11 +25114,11 @@ snapshots: optionalDependencies: '@types/node': 20.17.9 fsevents: 2.3.3 - jiti: 2.4.1 + jiti: 2.6.1 tsx: 4.19.2 yaml: 2.8.1 - vite@7.0.0(@types/node@22.10.1)(jiti@2.4.1)(tsx@4.19.2)(yaml@2.8.1): + vite@7.0.0(@types/node@22.10.1)(jiti@2.6.1)(tsx@4.19.2)(yaml@2.8.1): dependencies: esbuild: 0.25.5 fdir: 6.4.6(picomatch@4.0.2) @@ -24963,19 +25129,19 @@ snapshots: optionalDependencies: '@types/node': 22.10.1 fsevents: 2.3.3 - jiti: 2.4.1 + jiti: 2.6.1 tsx: 4.19.2 yaml: 2.8.1 - vitest-fetch-mock@0.4.5(vitest@3.2.4(@types/debug@4.1.12)(@types/node@20.17.9)(jiti@2.4.1)(jsdom@22.1.0)(tsx@4.19.2)(yaml@2.8.1)): + vitest-fetch-mock@0.4.5(vitest@3.2.4(@types/debug@4.1.12)(@types/node@20.17.9)(jiti@2.6.1)(jsdom@22.1.0)(tsx@4.19.2)(yaml@2.8.1)): dependencies: - vitest: 3.2.4(@types/debug@4.1.12)(@types/node@20.17.9)(jiti@2.4.1)(jsdom@22.1.0)(tsx@4.19.2)(yaml@2.8.1) + vitest: 3.2.4(@types/debug@4.1.12)(@types/node@20.17.9)(jiti@2.6.1)(jsdom@22.1.0)(tsx@4.19.2)(yaml@2.8.1) - vitest@3.2.4(@types/debug@4.1.12)(@types/node@20.17.9)(jiti@2.4.1)(jsdom@22.1.0)(tsx@4.19.2)(yaml@2.8.1): + vitest@3.2.4(@types/debug@4.1.12)(@types/node@20.17.9)(jiti@2.6.1)(jsdom@22.1.0)(tsx@4.19.2)(yaml@2.8.1): dependencies: '@types/chai': 5.2.2 '@vitest/expect': 3.2.4 - '@vitest/mocker': 3.2.4(vite@7.0.0(@types/node@20.17.9)(jiti@2.4.1)(tsx@4.19.2)(yaml@2.8.1)) + '@vitest/mocker': 3.2.4(vite@7.0.0(@types/node@20.17.9)(jiti@2.6.1)(tsx@4.19.2)(yaml@2.8.1)) '@vitest/pretty-format': 3.2.4 '@vitest/runner': 3.2.4 '@vitest/snapshot': 3.2.4 @@ -24993,8 +25159,8 @@ snapshots: tinyglobby: 0.2.14 tinypool: 1.1.1 tinyrainbow: 2.0.0 - vite: 7.0.0(@types/node@20.17.9)(jiti@2.4.1)(tsx@4.19.2)(yaml@2.8.1) - vite-node: 3.2.4(@types/node@20.17.9)(jiti@2.4.1)(tsx@4.19.2)(yaml@2.8.1) + vite: 7.0.0(@types/node@20.17.9)(jiti@2.6.1)(tsx@4.19.2)(yaml@2.8.1) + vite-node: 3.2.4(@types/node@20.17.9)(jiti@2.6.1)(tsx@4.19.2)(yaml@2.8.1) why-is-node-running: 2.3.0 optionalDependencies: '@types/debug': 4.1.12 diff --git a/scripts/bump-version.mjs b/scripts/bump-version.mjs index 9ea70e8e..2dbf46f9 100644 --- a/scripts/bump-version.mjs +++ b/scripts/bump-version.mjs @@ -1,128 +1,55 @@ /* eslint-disable no-console */ -import { execSync } from "child_process"; -import { $, chalk, fs, path, YAML } from "zx"; -import prompts from "prompts"; - -const monthMap = { - 一月: "January", - 二月: "February", - 三月: "March", - 四月: "April", - 五月: "May", - 六月: "June", - 七月: "July", - 八月: "August", - 九月: "September", - 十月: "October", - 十一月: "November", - 十二月: "December", -}; - -const toEnglishDate = (log) => - log.replace(/[\u4e00-\u9fa5]+月/g, (match) => monthMap[match]); - -const file = fs.readFileSync("pnpm-workspace.yaml", "utf8"); -const data = YAML.parse(file); -const dirs = []; -for (const pattern of data.packages) { - const prefix = pattern.replace("/**", ""); - try { - const folders = fs - .readdirSync(prefix) - .map((folder) => { - if (folder.startsWith(".")) { - return; - } - return `${prefix}/${folder}`; - }) - .filter(Boolean); - - dirs.push(...folders); - } catch (error) { - // ignore error +/* eslint-disable import/no-extraneous-dependencies */ +import { execSync } from 'child_process'; +import path from 'path'; +import { $, chalk, fs } from 'zx'; + +execSync( + 'bumpp --no-tag --no-commit --no-push package.json blocklets/*/package.json packages/*/package.json frameworks/*/package.json', + { + stdio: 'inherit', } -} - -const canSelectDirs = dirs.map((item) => { - return { - title: item, - value: item, - }; +); + +const { version } = await fs.readJSON('package.json'); +await fs.writeFileSync('version', version); + +console.log(chalk.greenBright(`[info]: start to modify blocklets version to ${version}`)); +const dirPath = path.join(__dirname, '../blocklets'); +let pathList = await fs.readdirSync(dirPath); +// Filter out .DS_Store and other non-directory files +pathList = pathList.filter((item) => { + const fullPath = `${dirPath}/${item}`; + return fs.statSync(fullPath).isDirectory(); }); +pathList = pathList.map((item) => `${dirPath}/${item}`); -// select dir -const dirResponse = await prompts({ - type: "multiselect", - name: "value", - message: "Pick a directory to bump version: ", - choices: canSelectDirs, -}); - -const dateRes = await $`export LANG="en_US.UTF-8" && date +'%B %d, %Y'`; -const date = dateRes.stdout.trim(); - -let newChangelog = ""; +let newChangelog = ''; +const now = new Date(); +const currentDate = `${now.getFullYear()}-${now.getMonth() + 1}-${now.getDate()}`; +const title = `## ${version} (${currentDate})`; try { - const gitRes = await $`git log --pretty=format:"- %s" "origin/master"...HEAD`; + const gitRes = await $`git log --pretty=format:"- %s" "master"...HEAD`; newChangelog = gitRes.stdout.trim(); } catch { - console.error( - chalk.redBright("Could not get git log, please write CHANGELOG.md.") - ); + console.error(chalk.redBright('Could not get git log, please write changelog manually.')); } -async function updateSelectedDir(selectedDir) { - const packageJsonPath = path.join(selectedDir, "package.json"); - const ymlPath = path.join(selectedDir, "blocklet.yml"); - const changelogPath = path.join(selectedDir, "CHANGELOG.md"); - const versionPath = path.join(selectedDir, "version"); - - // write changelog - const changelogResponse = await prompts({ - type: "text", - name: "value", - message: "Please write changelog:", - initial: newChangelog, - }); - - execSync(`bumpp ${packageJsonPath}`, { - stdio: "inherit", - }); - - console.log(chalk.greenBright(`[info]: ${packageJsonPath} modified.`)); - - const { version } = await fs.readJSON(packageJsonPath); - - try { - const blockletYaml = await fs.readFileSync(ymlPath, "utf8"); - const yamlConfig = YAML.parse(blockletYaml); - yamlConfig.version = version; - fs.writeFileSync(ymlPath, YAML.stringify(yamlConfig, 2)); - console.log(chalk.greenBright(`[info]: ${ymlPath} modified.`)); - } catch (error) { - console.error(chalk.yellowBright(`[warn]: Could not find ${ymlPath}.`)); - } - - const title = `## ${version} (${date})`; - - await fs.ensureFile(changelogPath); - const oldChangelog = await fs.readFile(changelogPath, "utf8"); - const changelog = [title, changelogResponse.value, oldChangelog] - .filter((item) => !!item) - .join("\n\n"); - - await fs.writeFile(changelogPath, toEnglishDate(changelog)); - console.log(chalk.greenBright(`[info]: ${changelogPath} modified.`)); - - await fs.writeFileSync(versionPath, version); - console.log(chalk.greenBright(`[info]: ${versionPath} modified.`)); - - // execSync(`code ${changelogPath}`, { - // stdio: "inherit", - // }); +for (const ymlDir of pathList) { + // eslint-disable-next-line no-await-in-loop + await $`cd ${ymlDir} && blocklet version ${version}`; } -const selectedDirList = dirResponse.value; +const rootPath = process.cwd(); +await fs.ensureFile(`${rootPath}/CHANGELOG.md`); +const oldChangelog = await fs.readFile(`${rootPath}/CHANGELOG.md`, 'utf8'); +const changelog = [title, newChangelog, oldChangelog].filter((item) => !!item).join('\n\n'); +await fs.writeFile(`${rootPath}/CHANGELOG.md`, changelog); +console.log(`\nNow you can make adjustments to ${chalk.cyan('CHANGELOG.md')}. Then press enter to continue.`); + +console.log(chalk.greenBright('[info]: all blocklets version modified.')); -Promise.all(selectedDirList.map(updateSelectedDir)); +process?.stdin?.setRawMode(true); +process?.stdin?.resume(); +process?.stdin?.on('data', process.exit.bind(process, 0)); \ No newline at end of file diff --git a/version b/version new file mode 100644 index 00000000..eaebb624 --- /dev/null +++ b/version @@ -0,0 +1 @@ +0.14.20 \ No newline at end of file