From 097ae161490da97865da1eaa643e5e6b39b322f8 Mon Sep 17 00:00:00 2001 From: ajaxzheng <894103554@qq.com> Date: Wed, 26 Mar 2025 11:36:19 +0800 Subject: [PATCH] chore(crop): [crop] update cropperjs dependency version to 1.6.2 to solve the overdue dependency problem (#3178) --- package.json | 4 ++-- packages/vue/src/crop/package.json | 20 ++++++++++---------- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/package.json b/package.json index 623ed227e..0d4acaa5f 100644 --- a/package.json +++ b/package.json @@ -104,7 +104,7 @@ "dependencies": { "@vue/composition-api": "1.7.2", "color": "^4.2.3", - "cropperjs": "1.5.12", + "cropperjs": "~1.6.2", "echarts": "5.4.1", "echarts-liquidfill": "3.1.0", "echarts-wordcloud": "2.0.0", @@ -160,7 +160,7 @@ "@vue/runtime-core@3": "3.4.38", "@vue/runtime-dom@3": "3.4.38", "@vue/shared@3": "3.4.38", - "cropperjs": "1.5.12", + "cropperjs": "1.6.2", "echarts": "5.4.1", "follow-redirects": "1.14.8", "regenerator-runtime": "0.13.9", diff --git a/packages/vue/src/crop/package.json b/packages/vue/src/crop/package.json index a01c732c9..1a2403237 100644 --- a/packages/vue/src/crop/package.json +++ b/packages/vue/src/crop/package.json @@ -1,25 +1,25 @@ { "name": "@opentiny/vue-crop", + "type": "module", "version": "3.22.0", "description": "", + "license": "MIT", + "sideEffects": false, "main": "lib/index.js", "module": "index.ts", - "sideEffects": false, - "type": "module", - "devDependencies": { - "@opentiny-internal/vue-test-utils": "workspace:*", - "vitest": "catalog:" - }, "scripts": { "build": "pnpm -w build:ui $npm_package_name", "//postversion": "pnpm build" }, "dependencies": { "@opentiny/vue-common": "workspace:~", - "@opentiny/vue-renderless": "workspace:~", "@opentiny/vue-icon": "workspace:~", - "cropperjs": "1.5.7", - "@opentiny/vue-theme": "workspace:~" + "@opentiny/vue-renderless": "workspace:~", + "@opentiny/vue-theme": "workspace:~", + "cropperjs": "~1.6.2" }, - "license": "MIT" + "devDependencies": { + "@opentiny-internal/vue-test-utils": "workspace:*", + "vitest": "catalog:" + } }