@king-3/file-kit 1.0.0-beta.3 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/cli.js +3 -3
  2. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -225,7 +225,7 @@ async function base64ToFile(archiveData, outputDir = ".") {
225
225
  //#endregion
226
226
  //#region src/config/defaults.ts
227
227
  const CLI_NAME = "File Kit";
228
- const CLI_VERSION = "1.0.0";
228
+ const CLI_VERSION = "1.0.1";
229
229
  const CLI_ALIAS = "fkt";
230
230
  /**
231
231
  * 默认配置
@@ -344,7 +344,7 @@ async function getPassword(providedPwd) {
344
344
  let userPwd = providedPwd;
345
345
  if (!userPwd) {
346
346
  userPwd = await password$1({
347
- message: "请输入加密密码:",
347
+ message: "请输入密码:",
348
348
  validate: (value) => {
349
349
  if (!value) return "密码不能为空";
350
350
  if (value.length < 6) return "密码长度至少 6 位";
@@ -601,7 +601,7 @@ var encrypt_default = defineCommand({
601
601
  password: {
602
602
  type: "string",
603
603
  alias: "p",
604
- description: "加密密钥"
604
+ description: "加密密码"
605
605
  }
606
606
  },
607
607
  async run({ args, rawArgs }) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@king-3/file-kit",
3
- "version": "1.0.0-beta.3",
3
+ "version": "1.0.1",
4
4
  "description": "多功能文件工具箱(Base64 转换 · 视频转音频 · 加密/解密)",
5
5
  "type": "module",
6
6
  "keywords": [